diff --git a/.github/workflows/deploy-webgl-preview.yml b/.github/workflows/deploy-webgl-preview.yml deleted file mode 100644 index 8e2a75cfb..000000000 --- a/.github/workflows/deploy-webgl-preview.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Deploy WebGL Preview - -on: - push: - branches: - - main - paths: - - "Preview/**" - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - persist-credentials: false - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: gh-pages - folder: Preview - clean: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index a207b2ff1..000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,219 +0,0 @@ -name: Unity Cross-Platform Test Workflow - -on: - push: - branches: ["main"] - pull_request: - types: [opened, synchronize] - -jobs: - buildAndTestForLinuxBasedPlatforms: - name: Test for ${{ matrix.targetPlatform }} - runs-on: ubuntu-latest-32 - concurrency: - group: Unity-Test-${{ matrix.targetPlatform }}-${{ github.ref }} - cancel-in-progress: true - strategy: - fail-fast: false - matrix: - projectPath: - - "." - unityVersion: - - 2022.3.17f1 - targetPlatform: - - StandaloneLinux64 # Build a Linux 64-bit standalone. - - iOS # Build an iOS player. - - Android # Build an Android player. - - WebGL # WebGL. - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - lfs: false - - - uses: actions/cache@v3 - with: - path: ${{ matrix.projectPath }}/Library - key: - Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{ - hashFiles(matrix.projectPath) }} - restore-keys: | - Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}- - Library-${{ matrix.projectPath }}- - Library- - - - name: Setup Config - env: - CLIENT_ID: ${{ secrets.CLIENT_ID }} - run: | - mkdir -p Assets/Tests/Resources - echo '{"clientId": "${{ secrets.CLIENT_ID }}"}' > Assets/Tests/Resources/config.json - shell: bash - - - name: Run Tests - uses: game-ci/unity-test-runner@v4 - id: testRunner - env: - UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} - with: - artifactsPath: Artifacts/${{ matrix.targetPlatform }} - projectPath: ${{ matrix.projectPath }} - unityVersion: ${{ matrix.unityVersion }} - githubToken: ${{ secrets.GITHUB_TOKEN }} - testMode: PlayMode # Run PlayMode tests. - - - name: Upload Test Results - uses: actions/upload-artifact@v3 - if: always() - with: - name: TestResults-${{ matrix.targetPlatform }}-${{ github.run_number }} - path: ${{ steps.testRunner.outputs.artifactsPath }} - - - name: Download Test Results - uses: actions/download-artifact@v3 - if: always() - with: - name: TestResults-${{ matrix.targetPlatform }}-${{ github.run_number }} - path: ${{ matrix.projectPath }}/TestResults-${{ matrix.targetPlatform }} - - - name: Publish Test Results - uses: EnricoMi/publish-unit-test-result-action@v2 - if: always() - with: - files: ${{ matrix.projectPath }}/TestResults-${{ matrix.targetPlatform }}/**/*.xml - check_name: "Test Results for ${{ matrix.targetPlatform }}" - comment_title: "Test Results for ${{ matrix.targetPlatform }}" - - # - uses: jlumbroso/free-disk-space@v1.3.1 - - # - uses: game-ci/unity-builder@v4 - # env: - # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - # UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - # UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} - # with: - # projectPath: ${{ matrix.projectPath }} - # unityVersion: ${{ matrix.unityVersion }} - # targetPlatform: ${{ matrix.targetPlatform }} - # allowDirtyBuild: true - - # - uses: actions/upload-artifact@v3 - # with: - # name: Build-${{ matrix.targetPlatform }}-${{ github.run_number }} - # path: build - - # deploy-webgl-to-gh-pages: - # needs: buildAndTestForLinuxBasedPlatforms - # runs-on: ubuntu-latest - # if: github.ref == 'refs/heads/main' - # steps: - # - name: Checkout - # uses: actions/checkout@v4 - - # - name: Download WebGL Build Artifact - # uses: actions/download-artifact@v3 - # with: - # name: Build-WebGL-${{ github.run_number }} - # path: webgl-build - - # - name: Deploy to GitHub Pages - # uses: JamesIves/github-pages-deploy-action@4.5.0 - # with: - # branch: main - # folder: webgl-build - # target-folder: docs - # clean: true - # commit-message: "Deploy WebGL build to GitHub Pages" - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # buildForWindowsBasedPlatforms: - # name: Build for ${{ matrix.targetPlatform }} - # runs-on: windows-2022 - # strategy: - # fail-fast: false - # matrix: - # projectPath: - # - "" - # unityVersion: - # - 2022.3.17f1 - # targetPlatform: - # - StandaloneWindows64 # Build a Windows 64-bit standalone. - - # steps: - # - uses: actions/checkout@v4 - # with: - # # fetch-depth: 0 - # lfs: false - # - uses: actions/cache@v3 - # with: - # path: ${{ matrix.projectPath }}/Library - # key: - # Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{ - # hashFiles(matrix.projectPath) }} - # restore-keys: | - # Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}- - # Library-${{ matrix.projectPath }}- - # Library- - # - uses: game-ci/unity-builder@v4 - # env: - # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - # UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - # UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} - # with: - # projectPath: ${{ matrix.projectPath }} - # unityVersion: ${{ matrix.unityVersion }} - # targetPlatform: ${{ matrix.targetPlatform }} - # allowDirtyBuild: true - # - uses: actions/upload-artifact@v3 - # with: - # name: Build-${{ matrix.targetPlatform }}-${{ github.run_number }} - # path: build - - # buildForMacOSBasedPlatforms: - # name: Build for ${{ matrix.targetPlatform }} - # runs-on: macos-latest - # strategy: - # fail-fast: false - # matrix: - # projectPath: - # - "" - # unityVersion: - # - 2022.3.17f1 - # targetPlatform: - # - StandaloneOSX # Build a macOS standalone. - - # steps: - # - uses: actions/checkout@v4 - # with: - # # fetch-depth: 0 - # lfs: false - - # - uses: actions/cache@v3 - # with: - # path: ${{ matrix.projectPath }}/Library - # key: - # Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{ - # hashFiles(matrix.projectPath) }} - # restore-keys: | - # Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}- - # Library-${{ matrix.projectPath }}- - # Library- - - # - uses: game-ci/unity-builder@v4 - # env: - # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} - # UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - # UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} - # with: - # projectPath: ${{ matrix.projectPath }} - # unityVersion: ${{ matrix.unityVersion }} - # targetPlatform: ${{ matrix.targetPlatform }} - # allowDirtyBuild: true - - # - uses: actions/upload-artifact@v3 - # with: - # name: Build-${{ matrix.targetPlatform }}-${{ github.run_number }} - # path: build diff --git a/Assets/Tests.meta b/Assets/Tests.meta deleted file mode 100644 index fb111d5b5..000000000 --- a/Assets/Tests.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 110ec0d043e86114ca96ebd6128496c2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ConfigManager.cs b/Assets/Tests/ConfigManager.cs deleted file mode 100644 index de45105ec..000000000 --- a/Assets/Tests/ConfigManager.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.IO; -using UnityEngine; - -public class ConfigManager -{ - [System.Serializable] - private class ConfigData - { - public string clientId; - } - - private ConfigData _config; - - internal string GetClientId() - { - if (_config != null) - return _config.clientId; - - try - { - string jsonContents = Resources.Load("config").text; - _config = JsonUtility.FromJson(jsonContents); - return _config?.clientId; - } - catch (System.Exception e) - { - throw new System.Exception("Failed to load config file from Resources: " + e.Message); - } - } -} diff --git a/Assets/Tests/ConfigManager.cs.meta b/Assets/Tests/ConfigManager.cs.meta deleted file mode 100644 index 04f437dbd..000000000 --- a/Assets/Tests/ConfigManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1795d504344f63d418a1fbdb32226897 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/CustomReadTests.cs b/Assets/Tests/CustomReadTests.cs deleted file mode 100644 index bb2be4915..000000000 --- a/Assets/Tests/CustomReadTests.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class CustomReadTests : ConfigManager -{ - private GameObject _go; - private string _dropErc20Address = "0xEBB8a39D865465F289fa349A67B3391d8f910da9"; - private string _dropErc20Abi = - "[{\"type\": \"constructor\",\"name\": \"\",\"inputs\": [],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"event\",\"name\": \"Approval\",\"inputs\": [{\"type\": \"address\",\"name\": \"owner\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"spender\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"value\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"ClaimConditionsUpdated\",\"inputs\": [{\"type\": \"tuple[]\",\"name\": \"claimConditions\",\"components\": [{\"type\": \"uint256\",\"name\": \"startTimestamp\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"maxClaimableSupply\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"supplyClaimed\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"quantityLimitPerWallet\",\"internalType\": \"uint256\"},{\"type\": \"bytes32\",\"name\": \"merkleRoot\",\"internalType\": \"bytes32\"},{\"type\": \"uint256\",\"name\": \"pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"currency\",\"internalType\": \"address\"},{\"type\": \"string\",\"name\": \"metadata\",\"internalType\": \"string\"}],\"indexed\": false,\"internalType\": \"struct IClaimCondition.ClaimCondition[]\"},{\"type\": \"bool\",\"name\": \"resetEligibility\",\"indexed\": false,\"internalType\": \"bool\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"ContractURIUpdated\",\"inputs\": [{\"type\": \"string\",\"name\": \"prevURI\",\"indexed\": false,\"internalType\": \"string\"},{\"type\": \"string\",\"name\": \"newURI\",\"indexed\": false,\"internalType\": \"string\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"DelegateChanged\",\"inputs\": [{\"type\": \"address\",\"name\": \"delegator\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"fromDelegate\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"toDelegate\",\"indexed\": true,\"internalType\": \"address\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"DelegateVotesChanged\",\"inputs\": [{\"type\": \"address\",\"name\": \"delegate\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"previousBalance\",\"indexed\": false,\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"newBalance\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"EIP712DomainChanged\",\"inputs\": [],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"FlatPlatformFeeUpdated\",\"inputs\": [{\"type\": \"address\",\"name\": \"platformFeeRecipient\",\"indexed\": false,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"flatFee\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"Initialized\",\"inputs\": [{\"type\": \"uint8\",\"name\": \"version\",\"indexed\": false,\"internalType\": \"uint8\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"MaxTotalSupplyUpdated\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"maxTotalSupply\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"PlatformFeeInfoUpdated\",\"inputs\": [{\"type\": \"address\",\"name\": \"platformFeeRecipient\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"platformFeeBps\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"PlatformFeeTypeUpdated\",\"inputs\": [{\"type\": \"uint8\",\"name\": \"feeType\",\"indexed\": false,\"internalType\": \"enum IPlatformFee.PlatformFeeType\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"PrimarySaleRecipientUpdated\",\"inputs\": [{\"type\": \"address\",\"name\": \"recipient\",\"indexed\": true,\"internalType\": \"address\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"RoleAdminChanged\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"indexed\": true,\"internalType\": \"bytes32\"},{\"type\": \"bytes32\",\"name\": \"previousAdminRole\",\"indexed\": true,\"internalType\": \"bytes32\"},{\"type\": \"bytes32\",\"name\": \"newAdminRole\",\"indexed\": true,\"internalType\": \"bytes32\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"RoleGranted\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"indexed\": true,\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"sender\",\"indexed\": true,\"internalType\": \"address\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"RoleRevoked\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"indexed\": true,\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"sender\",\"indexed\": true,\"internalType\": \"address\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"TokensClaimed\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"claimConditionIndex\",\"indexed\": true,\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"claimer\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"receiver\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"startTokenId\",\"indexed\": false,\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"quantityClaimed\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"event\",\"name\": \"Transfer\",\"inputs\": [{\"type\": \"address\",\"name\": \"from\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"to\",\"indexed\": true,\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"value\",\"indexed\": false,\"internalType\": \"uint256\"}],\"outputs\": [],\"anonymous\": false},{\"type\": \"function\",\"name\": \"CLOCK_MODE\",\"inputs\": [],\"outputs\": [{\"type\": \"string\",\"name\": \"\",\"internalType\": \"string\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"DEFAULT_ADMIN_ROLE\",\"inputs\": [],\"outputs\": [{\"type\": \"bytes32\",\"name\": \"\",\"internalType\": \"bytes32\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"DOMAIN_SEPARATOR\",\"inputs\": [],\"outputs\": [{\"type\": \"bytes32\",\"name\": \"\",\"internalType\": \"bytes32\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"allowance\",\"inputs\": [{\"type\": \"address\",\"name\": \"owner\",\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"spender\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"approve\",\"inputs\": [{\"type\": \"address\",\"name\": \"spender\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"amount\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"balanceOf\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"burn\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"amount\",\"internalType\": \"uint256\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"burnFrom\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"amount\",\"internalType\": \"uint256\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"checkpoints\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"},{\"type\": \"uint32\",\"name\": \"pos\",\"internalType\": \"uint32\"}],\"outputs\": [{\"type\": \"tuple\",\"name\": \"\",\"components\": [{\"type\": \"uint32\",\"name\": \"fromBlock\",\"internalType\": \"uint32\"},{\"type\": \"uint224\",\"name\": \"votes\",\"internalType\": \"uint224\"}],\"internalType\": \"struct ERC20VotesUpgradeable.Checkpoint\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"claim\",\"inputs\": [{\"type\": \"address\",\"name\": \"_receiver\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_quantity\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"_currency\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"tuple\",\"name\": \"_allowlistProof\",\"components\": [{\"type\": \"bytes32[]\",\"name\": \"proof\",\"internalType\": \"bytes32[]\"},{\"type\": \"uint256\",\"name\": \"quantityLimitPerWallet\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"currency\",\"internalType\": \"address\"}],\"internalType\": \"struct IDrop.AllowlistProof\"},{\"type\": \"bytes\",\"name\": \"_data\",\"internalType\": \"bytes\"}],\"outputs\": [],\"stateMutability\": \"payable\"},{\"type\": \"function\",\"name\": \"claimCondition\",\"inputs\": [],\"outputs\": [{\"type\": \"uint256\",\"name\": \"currentStartId\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"count\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"clock\",\"inputs\": [],\"outputs\": [{\"type\": \"uint48\",\"name\": \"\",\"internalType\": \"uint48\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"contractType\",\"inputs\": [],\"outputs\": [{\"type\": \"bytes32\",\"name\": \"\",\"internalType\": \"bytes32\"}],\"stateMutability\": \"pure\"},{\"type\": \"function\",\"name\": \"contractURI\",\"inputs\": [],\"outputs\": [{\"type\": \"string\",\"name\": \"\",\"internalType\": \"string\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"contractVersion\",\"inputs\": [],\"outputs\": [{\"type\": \"uint8\",\"name\": \"\",\"internalType\": \"uint8\"}],\"stateMutability\": \"pure\"},{\"type\": \"function\",\"name\": \"decimals\",\"inputs\": [],\"outputs\": [{\"type\": \"uint8\",\"name\": \"\",\"internalType\": \"uint8\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"decreaseAllowance\",\"inputs\": [{\"type\": \"address\",\"name\": \"spender\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"subtractedValue\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"delegate\",\"inputs\": [{\"type\": \"address\",\"name\": \"delegatee\",\"internalType\": \"address\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"delegateBySig\",\"inputs\": [{\"type\": \"address\",\"name\": \"delegatee\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"nonce\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"expiry\",\"internalType\": \"uint256\"},{\"type\": \"uint8\",\"name\": \"v\",\"internalType\": \"uint8\"},{\"type\": \"bytes32\",\"name\": \"r\",\"internalType\": \"bytes32\"},{\"type\": \"bytes32\",\"name\": \"s\",\"internalType\": \"bytes32\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"delegates\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"address\",\"name\": \"\",\"internalType\": \"address\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"eip712Domain\",\"inputs\": [],\"outputs\": [{\"type\": \"bytes1\",\"name\": \"fields\",\"internalType\": \"bytes1\"},{\"type\": \"string\",\"name\": \"name\",\"internalType\": \"string\"},{\"type\": \"string\",\"name\": \"version\",\"internalType\": \"string\"},{\"type\": \"uint256\",\"name\": \"chainId\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"verifyingContract\",\"internalType\": \"address\"},{\"type\": \"bytes32\",\"name\": \"salt\",\"internalType\": \"bytes32\"},{\"type\": \"uint256[]\",\"name\": \"extensions\",\"internalType\": \"uint256[]\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getActiveClaimConditionId\",\"inputs\": [],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getClaimConditionById\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"_conditionId\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"tuple\",\"name\": \"condition\",\"components\": [{\"type\": \"uint256\",\"name\": \"startTimestamp\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"maxClaimableSupply\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"supplyClaimed\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"quantityLimitPerWallet\",\"internalType\": \"uint256\"},{\"type\": \"bytes32\",\"name\": \"merkleRoot\",\"internalType\": \"bytes32\"},{\"type\": \"uint256\",\"name\": \"pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"currency\",\"internalType\": \"address\"},{\"type\": \"string\",\"name\": \"metadata\",\"internalType\": \"string\"}],\"internalType\": \"struct IClaimCondition.ClaimCondition\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getFlatPlatformFeeInfo\",\"inputs\": [],\"outputs\": [{\"type\": \"address\",\"name\": \"\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getPastTotalSupply\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"timepoint\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getPastVotes\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"timepoint\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getPlatformFeeInfo\",\"inputs\": [],\"outputs\": [{\"type\": \"address\",\"name\": \"\",\"internalType\": \"address\"},{\"type\": \"uint16\",\"name\": \"\",\"internalType\": \"uint16\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getPlatformFeeType\",\"inputs\": [],\"outputs\": [{\"type\": \"uint8\",\"name\": \"\",\"internalType\": \"enum IPlatformFee.PlatformFeeType\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getRoleAdmin\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"}],\"outputs\": [{\"type\": \"bytes32\",\"name\": \"\",\"internalType\": \"bytes32\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getRoleMember\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"uint256\",\"name\": \"index\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"address\",\"name\": \"member\",\"internalType\": \"address\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getRoleMemberCount\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"count\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getSupplyClaimedByWallet\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"_conditionId\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"_claimer\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"supplyClaimedByWallet\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"getVotes\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"grantRole\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"hasRole\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"hasRoleWithSwitch\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"increaseAllowance\",\"inputs\": [{\"type\": \"address\",\"name\": \"spender\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"addedValue\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"initialize\",\"inputs\": [{\"type\": \"address\",\"name\": \"_defaultAdmin\",\"internalType\": \"address\"},{\"type\": \"string\",\"name\": \"_name\",\"internalType\": \"string\"},{\"type\": \"string\",\"name\": \"_symbol\",\"internalType\": \"string\"},{\"type\": \"string\",\"name\": \"_contractURI\",\"internalType\": \"string\"},{\"type\": \"address[]\",\"name\": \"_trustedForwarders\",\"internalType\": \"address[]\"},{\"type\": \"address\",\"name\": \"_saleRecipient\",\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"_platformFeeRecipient\",\"internalType\": \"address\"},{\"type\": \"uint128\",\"name\": \"_platformFeeBps\",\"internalType\": \"uint128\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"isTrustedForwarder\",\"inputs\": [{\"type\": \"address\",\"name\": \"forwarder\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"maxTotalSupply\",\"inputs\": [],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"multicall\",\"inputs\": [{\"type\": \"bytes[]\",\"name\": \"data\",\"internalType\": \"bytes[]\"}],\"outputs\": [{\"type\": \"bytes[]\",\"name\": \"results\",\"internalType\": \"bytes[]\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"name\",\"inputs\": [],\"outputs\": [{\"type\": \"string\",\"name\": \"\",\"internalType\": \"string\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"nonces\",\"inputs\": [{\"type\": \"address\",\"name\": \"owner\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"numCheckpoints\",\"inputs\": [{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [{\"type\": \"uint32\",\"name\": \"\",\"internalType\": \"uint32\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"permit\",\"inputs\": [{\"type\": \"address\",\"name\": \"owner\",\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"spender\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"value\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"deadline\",\"internalType\": \"uint256\"},{\"type\": \"uint8\",\"name\": \"v\",\"internalType\": \"uint8\"},{\"type\": \"bytes32\",\"name\": \"r\",\"internalType\": \"bytes32\"},{\"type\": \"bytes32\",\"name\": \"s\",\"internalType\": \"bytes32\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"primarySaleRecipient\",\"inputs\": [],\"outputs\": [{\"type\": \"address\",\"name\": \"\",\"internalType\": \"address\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"renounceRole\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"revokeRole\",\"inputs\": [{\"type\": \"bytes32\",\"name\": \"role\",\"internalType\": \"bytes32\"},{\"type\": \"address\",\"name\": \"account\",\"internalType\": \"address\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setClaimConditions\",\"inputs\": [{\"type\": \"tuple[]\",\"name\": \"_conditions\",\"components\": [{\"type\": \"uint256\",\"name\": \"startTimestamp\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"maxClaimableSupply\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"supplyClaimed\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"quantityLimitPerWallet\",\"internalType\": \"uint256\"},{\"type\": \"bytes32\",\"name\": \"merkleRoot\",\"internalType\": \"bytes32\"},{\"type\": \"uint256\",\"name\": \"pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"currency\",\"internalType\": \"address\"},{\"type\": \"string\",\"name\": \"metadata\",\"internalType\": \"string\"}],\"internalType\": \"struct IClaimCondition.ClaimCondition[]\"},{\"type\": \"bool\",\"name\": \"_resetClaimEligibility\",\"internalType\": \"bool\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setContractURI\",\"inputs\": [{\"type\": \"string\",\"name\": \"_uri\",\"internalType\": \"string\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setFlatPlatformFeeInfo\",\"inputs\": [{\"type\": \"address\",\"name\": \"_platformFeeRecipient\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_flatFee\",\"internalType\": \"uint256\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setMaxTotalSupply\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"_maxTotalSupply\",\"internalType\": \"uint256\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setPlatformFeeInfo\",\"inputs\": [{\"type\": \"address\",\"name\": \"_platformFeeRecipient\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_platformFeeBps\",\"internalType\": \"uint256\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setPlatformFeeType\",\"inputs\": [{\"type\": \"uint8\",\"name\": \"_feeType\",\"internalType\": \"enum IPlatformFee.PlatformFeeType\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"setPrimarySaleRecipient\",\"inputs\": [{\"type\": \"address\",\"name\": \"_saleRecipient\",\"internalType\": \"address\"}],\"outputs\": [],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"symbol\",\"inputs\": [],\"outputs\": [{\"type\": \"string\",\"name\": \"\",\"internalType\": \"string\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"totalSupply\",\"inputs\": [],\"outputs\": [{\"type\": \"uint256\",\"name\": \"\",\"internalType\": \"uint256\"}],\"stateMutability\": \"view\"},{\"type\": \"function\",\"name\": \"transfer\",\"inputs\": [{\"type\": \"address\",\"name\": \"to\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"amount\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"transferFrom\",\"inputs\": [{\"type\": \"address\",\"name\": \"from\",\"internalType\": \"address\"},{\"type\": \"address\",\"name\": \"to\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"amount\",\"internalType\": \"uint256\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"\",\"internalType\": \"bool\"}],\"stateMutability\": \"nonpayable\"},{\"type\": \"function\",\"name\": \"verifyClaim\",\"inputs\": [{\"type\": \"uint256\",\"name\": \"_conditionId\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"_claimer\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_quantity\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"_currency\",\"internalType\": \"address\"},{\"type\": \"uint256\",\"name\": \"_pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"tuple\",\"name\": \"_allowlistProof\",\"components\": [{\"type\": \"bytes32[]\",\"name\": \"proof\",\"internalType\": \"bytes32[]\"},{\"type\": \"uint256\",\"name\": \"quantityLimitPerWallet\",\"internalType\": \"uint256\"},{\"type\": \"uint256\",\"name\": \"pricePerToken\",\"internalType\": \"uint256\"},{\"type\": \"address\",\"name\": \"currency\",\"internalType\": \"address\"}],\"internalType\": \"struct IDrop.AllowlistProof\"}],\"outputs\": [{\"type\": \"bool\",\"name\": \"isOverride\",\"internalType\": \"bool\"}],\"stateMutability\": \"view\"}]"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetContract_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract("0x"); - Assert.IsNotNull(contract); - Assert.AreEqual("0x", contract.Address); - yield return null; - } - - [UnityTest] - public IEnumerator Custom_WithoutAbi_Fetch() - { - var abiTask = Contract.FetchAbi(_dropErc20Address, 421614); - yield return new WaitUntil(() => abiTask.IsCompleted); - if (abiTask.IsFaulted) - throw abiTask.Exception; - Assert.IsTrue(abiTask.IsCompletedSuccessfully); - Assert.NotNull(abiTask.Result); - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address, abiTask.Result); - var readTask = contract.Read("balanceOf", _dropErc20Address); - yield return new WaitUntil(() => readTask.IsCompleted); - if (readTask.IsFaulted) - throw readTask.Exception; - Assert.IsTrue(readTask.IsCompletedSuccessfully); - Assert.NotNull(readTask.Result); - } - - [UnityTest] - public IEnumerator Custom_WithAbi_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address, _dropErc20Abi); - var readTask = contract.Read("balanceOf", _dropErc20Address); - yield return new WaitUntil(() => readTask.IsCompleted); - if (readTask.IsFaulted) - throw readTask.Exception; - Assert.IsTrue(readTask.IsCompletedSuccessfully); - Assert.NotNull(readTask.Result); - } - - [UnityTest] - public IEnumerator Custom_WithString_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address, _dropErc20Abi); - var readTask = contract.Read("symbol"); - yield return new WaitUntil(() => readTask.IsCompleted); - if (readTask.IsFaulted) - throw readTask.Exception; - Assert.IsTrue(readTask.IsCompletedSuccessfully); - Assert.NotNull(readTask.Result); - } -} diff --git a/Assets/Tests/CustomReadTests.cs.meta b/Assets/Tests/CustomReadTests.cs.meta deleted file mode 100644 index 7065efa14..000000000 --- a/Assets/Tests/CustomReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e519aba843f5a5540856f4b5bb8833bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC1155ReadTests.cs b/Assets/Tests/ERC1155ReadTests.cs deleted file mode 100644 index 60be97132..000000000 --- a/Assets/Tests/ERC1155ReadTests.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC1155ReadTests : ConfigManager -{ - private GameObject _go; - private string _dropErc1155Address = "0x6A7a26c9a595E6893C255C9dF0b593e77518e0c3"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetContract_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - Assert.IsNotNull(contract); - Assert.AreEqual(_dropErc1155Address, contract.Address); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_Get_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var currencyInfoTask = contract.ERC1155.Get("1"); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.AreEqual("1", currencyInfoTask.Result.metadata.id); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_GetAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var currencyInfoTask = contract.ERC1155.GetAll(); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.GreaterOrEqual(currencyInfoTask.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_GetOwned_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var currencyInfoTask = contract.ERC1155.GetOwned(_dropErc1155Address); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.GreaterOrEqual(currencyInfoTask.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_BalanceOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var balanceTask = contract.ERC1155.BalanceOf(_dropErc1155Address, "1"); - yield return new WaitUntil(() => balanceTask.IsCompleted); - if (balanceTask.IsFaulted) - throw balanceTask.Exception; - Assert.IsTrue(balanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(balanceTask.Result); - Assert.GreaterOrEqual(balanceTask.Result, BigInteger.Zero); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_IsApprovedForAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var allowanceTask = contract.ERC1155.IsApprovedForAll(_dropErc1155Address, _dropErc1155Address); - yield return new WaitUntil(() => allowanceTask.IsCompleted); - if (allowanceTask.IsFaulted) - throw allowanceTask.Exception; - Assert.IsTrue(allowanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(allowanceTask.Result); - Assert.IsTrue(allowanceTask.Result == true || allowanceTask.Result == false); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_TotalCount_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var totalSupplyTask = contract.ERC1155.TotalCount(); - yield return new WaitUntil(() => totalSupplyTask.IsCompleted); - if (totalSupplyTask.IsFaulted) - throw totalSupplyTask.Exception; - Assert.IsTrue(totalSupplyTask.IsCompletedSuccessfully); - Assert.IsNotNull(totalSupplyTask.Result); - Assert.GreaterOrEqual(totalSupplyTask.Result, BigInteger.Zero); - yield return null; - } - - [UnityTest] - public IEnumerator ERC1155_TotalSupply_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var totalSupplyTask = contract.ERC1155.TotalSupply("1"); - yield return new WaitUntil(() => totalSupplyTask.IsCompleted); - if (totalSupplyTask.IsFaulted) - throw totalSupplyTask.Exception; - Assert.IsTrue(totalSupplyTask.IsCompletedSuccessfully); - Assert.IsNotNull(totalSupplyTask.Result); - Assert.GreaterOrEqual(totalSupplyTask.Result, BigInteger.Zero); - yield return null; - } -} diff --git a/Assets/Tests/ERC1155ReadTests.cs.meta b/Assets/Tests/ERC1155ReadTests.cs.meta deleted file mode 100644 index 07ab0303c..000000000 --- a/Assets/Tests/ERC1155ReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9d435e3fb45bfe4e8a3e2dffbc263d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC1155WriteTests.cs b/Assets/Tests/ERC1155WriteTests.cs deleted file mode 100644 index 9e98cb14d..000000000 --- a/Assets/Tests/ERC1155WriteTests.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC1155WriteTests : ConfigManager -{ - private GameObject _go; - private string _dropErc1155Address = "0x6A7a26c9a595E6893C255C9dF0b593e77518e0c3"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.factoryAddress = "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052"; // ManagedAccountFactory - ThirdwebManager.Instance.gasless = true; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - private IEnumerator ConnectSmartWallet() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - } - - [UnityTest] - public IEnumerator ERC1155_SetApprovalForAll_Success() - { - yield return ConnectSmartWallet(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var task = contract.ERC1155.SetApprovalForAll(_dropErc1155Address, true); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC1155_Claim_Success() - { - yield return ConnectSmartWallet(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var task = contract.ERC1155.Claim("1", 1); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC1155_Transfer_Success() - { - yield return ERC1155_Claim_Success(); - - var addressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - yield return new WaitUntil(() => addressTask.IsCompleted); - if (addressTask.IsFaulted) - throw addressTask.Exception; - Assert.IsTrue(addressTask.IsCompletedSuccessfully); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var task = contract.ERC1155.Transfer(addressTask.Result, "1", 1); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC1155_Burn_Success() - { - yield return ERC1155_Claim_Success(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc1155Address); - var task = contract.ERC1155.Burn("1", 1); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } -} diff --git a/Assets/Tests/ERC1155WriteTests.cs.meta b/Assets/Tests/ERC1155WriteTests.cs.meta deleted file mode 100644 index 1f3d1a2f2..000000000 --- a/Assets/Tests/ERC1155WriteTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 053e32d04d7ca4c4ba8f1090943c2a90 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC20ReadTests.cs b/Assets/Tests/ERC20ReadTests.cs deleted file mode 100644 index c664c5da3..000000000 --- a/Assets/Tests/ERC20ReadTests.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC20ReadTests : ConfigManager -{ - private GameObject _go; - private string _dropErc20Address = "0xEBB8a39D865465F289fa349A67B3391d8f910da9"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetContract_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - Assert.IsNotNull(contract); - Assert.AreEqual(_dropErc20Address, contract.Address); - yield return null; - } - - [UnityTest] - public IEnumerator ERC20_Get_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var currencyInfoTask = contract.ERC20.Get(); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.AreEqual("18", currencyInfoTask.Result.decimals); - yield return null; - } - - [UnityTest] - public IEnumerator ERC20_BalanceOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var balanceTask = contract.ERC20.BalanceOf(_dropErc20Address); - yield return new WaitUntil(() => balanceTask.IsCompleted); - if (balanceTask.IsFaulted) - throw balanceTask.Exception; - Assert.IsTrue(balanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(balanceTask.Result); - Assert.IsNotNull(balanceTask.Result.value); - Assert.GreaterOrEqual(BigInteger.Parse(balanceTask.Result.value), BigInteger.Zero); - yield return null; - } - - [UnityTest] - public IEnumerator ERC20_AllowanceOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var allowanceTask = contract.ERC20.AllowanceOf(_dropErc20Address, _dropErc20Address); - yield return new WaitUntil(() => allowanceTask.IsCompleted); - if (allowanceTask.IsFaulted) - throw allowanceTask.Exception; - Assert.IsTrue(allowanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(allowanceTask.Result); - Assert.IsNotNull(allowanceTask.Result.value); - Assert.GreaterOrEqual(BigInteger.Parse(allowanceTask.Result.value), BigInteger.Zero); - yield return null; - } - - [UnityTest] - public IEnumerator ERC20_TotalSupply_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var totalSupplyTask = contract.ERC20.TotalSupply(); - yield return new WaitUntil(() => totalSupplyTask.IsCompleted); - if (totalSupplyTask.IsFaulted) - throw totalSupplyTask.Exception; - Assert.IsTrue(totalSupplyTask.IsCompletedSuccessfully); - Assert.IsNotNull(totalSupplyTask.Result); - Assert.IsNotNull(totalSupplyTask.Result.value); - Assert.GreaterOrEqual(BigInteger.Parse(totalSupplyTask.Result.value), BigInteger.Zero); - yield return null; - } -} diff --git a/Assets/Tests/ERC20ReadTests.cs.meta b/Assets/Tests/ERC20ReadTests.cs.meta deleted file mode 100644 index 9aa6b99da..000000000 --- a/Assets/Tests/ERC20ReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 27d03dc46e25a134aa055653971dd174 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC20WriteTests.cs b/Assets/Tests/ERC20WriteTests.cs deleted file mode 100644 index f5ad2f485..000000000 --- a/Assets/Tests/ERC20WriteTests.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC20WriteTests : ConfigManager -{ - private GameObject _go; - private string _dropErc20Address = "0xEBB8a39D865465F289fa349A67B3391d8f910da9"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.factoryAddress = "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052"; // ManagedAccountFactory - ThirdwebManager.Instance.gasless = true; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - private IEnumerator ConnectSmartWallet() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - } - - [UnityTest] - public IEnumerator ERC20_SetAllowance_Success() - { - yield return ConnectSmartWallet(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var task = contract.ERC20.SetAllowance(_dropErc20Address, "42"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC20_Claim_Success() - { - yield return ConnectSmartWallet(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var task = contract.ERC20.Claim("42"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC20_Transfer_Success() - { - yield return ERC20_Claim_Success(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var task = contract.ERC20.Transfer(_dropErc20Address, "4.2"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator ERC20_Burn_Success() - { - yield return ERC20_Claim_Success(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc20Address); - var task = contract.ERC20.Burn("4.2"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } -} diff --git a/Assets/Tests/ERC20WriteTests.cs.meta b/Assets/Tests/ERC20WriteTests.cs.meta deleted file mode 100644 index 8dbcce42a..000000000 --- a/Assets/Tests/ERC20WriteTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 853b7145382b16c4f897e504442da63a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC721ReadTests.cs b/Assets/Tests/ERC721ReadTests.cs deleted file mode 100644 index 0dd0807fa..000000000 --- a/Assets/Tests/ERC721ReadTests.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC721ReadTests : ConfigManager -{ - private GameObject _go; - private string _dropErc721Address = "0xD811CB13169C175b64bf8897e2Fd6a69C6343f5C"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetContract_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - Assert.IsNotNull(contract); - Assert.AreEqual(_dropErc721Address, contract.Address); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_Get_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var currencyInfoTask = contract.ERC721.Get("1"); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.AreEqual("1", currencyInfoTask.Result.metadata.id); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_GetAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var currencyInfoTask = contract.ERC721.GetAll(); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.GreaterOrEqual(currencyInfoTask.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_GetOwned_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var currencyInfoTask = contract.ERC721.GetOwned(_dropErc721Address); - yield return new WaitUntil(() => currencyInfoTask.IsCompleted); - if (currencyInfoTask.IsFaulted) - throw currencyInfoTask.Exception; - Assert.IsTrue(currencyInfoTask.IsCompletedSuccessfully); - Assert.IsNotNull(currencyInfoTask.Result); - Assert.GreaterOrEqual(currencyInfoTask.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_OwnerOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var ownerTask = contract.ERC721.OwnerOf("1"); - yield return new WaitUntil(() => ownerTask.IsCompleted); - if (ownerTask.IsFaulted) - throw ownerTask.Exception; - Assert.IsTrue(ownerTask.IsCompletedSuccessfully); - Assert.IsNotNull(ownerTask.Result); - Assert.IsTrue(ownerTask.Result.Length == 42); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_BalanceOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var balanceTask = contract.ERC721.BalanceOf(_dropErc721Address); - yield return new WaitUntil(() => balanceTask.IsCompleted); - if (balanceTask.IsFaulted) - throw balanceTask.Exception; - Assert.IsTrue(balanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(balanceTask.Result); - Assert.GreaterOrEqual(balanceTask.Result, BigInteger.Zero); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_IsApprovedForAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var allowanceTask = contract.ERC721.IsApprovedForAll(_dropErc721Address, _dropErc721Address); - yield return new WaitUntil(() => allowanceTask.IsCompleted); - if (allowanceTask.IsFaulted) - throw allowanceTask.Exception; - Assert.IsTrue(allowanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(allowanceTask.Result); - Assert.IsTrue(allowanceTask.Result == true || allowanceTask.Result == false); - yield return null; - } - - [UnityTest] - public IEnumerator ERC721_TotalCount_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - var totalSupplyTask = contract.ERC721.TotalCount(); - yield return new WaitUntil(() => totalSupplyTask.IsCompleted); - if (totalSupplyTask.IsFaulted) - throw totalSupplyTask.Exception; - Assert.IsTrue(totalSupplyTask.IsCompletedSuccessfully); - Assert.IsNotNull(totalSupplyTask.Result); - Assert.GreaterOrEqual(totalSupplyTask.Result, BigInteger.Zero); - yield return null; - } -} diff --git a/Assets/Tests/ERC721ReadTests.cs.meta b/Assets/Tests/ERC721ReadTests.cs.meta deleted file mode 100644 index 180a95a07..000000000 --- a/Assets/Tests/ERC721ReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 09deaad635943c248bd33603253162a7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ERC721WriteTests.cs b/Assets/Tests/ERC721WriteTests.cs deleted file mode 100644 index 8c2fc4d07..000000000 --- a/Assets/Tests/ERC721WriteTests.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ERC721WriteTests : ConfigManager -{ - private GameObject _go; - private string _dropErc712Address = "0xD811CB13169C175b64bf8897e2Fd6a69C6343f5C"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.factoryAddress = "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052"; // ManagedAccountFactory - ThirdwebManager.Instance.gasless = true; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - private IEnumerator ConnectSmartWallet() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - } - - [UnityTest] - public IEnumerator ERC721_SetApprovalForAll_Success() - { - yield return ConnectSmartWallet(); - - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc712Address); - var task = contract.ERC721.SetApprovalForAll(_dropErc712Address, false); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - // [UnityTest] - // public IEnumerator ERC721_Claim_Success() - // { - // yield return ConnectSmartWallet(); - - // var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc712Address); - // var task = contract.ERC721.Claim(1); - // yield return new WaitUntil(() => task.IsCompleted); - // if (task.IsFaulted) - // throw task.Exception; - // Assert.IsTrue(task.IsCompletedSuccessfully); - // Assert.IsNotNull(task.Result); - // Assert.IsTrue(task.Result[0].receipt.transactionHash.Length == 66); - // } - - // [UnityTest] - // public IEnumerator ERC721_Transfer_Success() - // { - // yield return ERC721_Claim_Success(); - - // var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc712Address); - - // var addressTask = ThirdwebManager.Instance.SDK.wallet.GetAddress(); - // yield return new WaitUntil(() => addressTask.IsCompleted); - // if (addressTask.IsFaulted) - // throw addressTask.Exception; - // Assert.IsTrue(addressTask.IsCompletedSuccessfully); - - // var latestTokenIdTask = contract.ERC721.TotalCount(); - // yield return new WaitUntil(() => latestTokenIdTask.IsCompleted); - // if (latestTokenIdTask.IsFaulted) - // throw latestTokenIdTask.Exception; - // Assert.IsTrue(latestTokenIdTask.IsCompletedSuccessfully); - // Assert.IsNotNull(latestTokenIdTask.Result); - // var latestTokenId = latestTokenIdTask.Result - 1; - - // var task = contract.ERC721.Transfer(addressTask.Result, latestTokenId.ToString()); - // yield return new WaitUntil(() => task.IsCompleted); - // if (task.IsFaulted) - // throw task.Exception; - // Assert.IsTrue(task.IsCompletedSuccessfully); - // Assert.IsNotNull(task.Result); - // Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - // } - - // [UnityTest] - // public IEnumerator ERC721_Burn_Success() - // { - // yield return ERC721_Claim_Success(); - - // var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc712Address); - - // var latestTokenIdTask = contract.ERC721.TotalCount(); - // yield return new WaitUntil(() => latestTokenIdTask.IsCompleted); - // if (latestTokenIdTask.IsFaulted) - // throw latestTokenIdTask.Exception; - // Assert.IsTrue(latestTokenIdTask.IsCompletedSuccessfully); - // Assert.IsNotNull(latestTokenIdTask.Result); - // var latestTokenId = latestTokenIdTask.Result - 1; - - // var task = contract.ERC721.Burn(latestTokenId.ToString()); - // yield return new WaitUntil(() => task.IsCompleted); - // if (task.IsFaulted) - // throw task.Exception; - // Assert.IsTrue(task.IsCompletedSuccessfully); - // Assert.IsNotNull(task.Result); - // Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - // } -} diff --git a/Assets/Tests/ERC721WriteTests.cs.meta b/Assets/Tests/ERC721WriteTests.cs.meta deleted file mode 100644 index e311795b9..000000000 --- a/Assets/Tests/ERC721WriteTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5fe18cf51bac6684482735a3c1cb6daa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/EventsTests.cs b/Assets/Tests/EventsTests.cs deleted file mode 100644 index cc4ec33a3..000000000 --- a/Assets/Tests/EventsTests.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System.Collections; -using System.Numerics; -using Nethereum.ABI.FunctionEncoding.Attributes; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class EventsTests : ConfigManager -{ - [Event("Transfer")] - public class TransferEventDTO : IEventDTO - { - [Parameter("address", "from", 1, true)] - public string From { get; set; } - - [Parameter("address", "to", 2, true)] - public string To { get; set; } - - [Parameter("uint256", "tokenId", 3, true)] - public BigInteger TokenId { get; set; } - } - - public struct TransferEvent - { - public string from; - public string to; - public string tokenId; - } - - private GameObject _go; - private string _dropErc721Address = "0xD811CB13169C175b64bf8897e2Fd6a69C6343f5C"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetEventLogs_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_dropErc721Address); - if (Utils.IsWebGLBuild()) - { - var transferEvents = contract.Events.Get("Transfer"); - yield return new WaitUntil(() => transferEvents.IsCompleted); - if (transferEvents.IsFaulted) - throw transferEvents.Exception; - Assert.IsTrue(transferEvents.IsCompletedSuccessfully); - Assert.IsNotNull(transferEvents.Result); - Assert.Greater(transferEvents.Result.Count, 0); - yield return null; - } - else - { - var transferEvents = contract.GetEventLogs(); - yield return new WaitUntil(() => transferEvents.IsCompleted); - if (transferEvents.IsFaulted) - throw transferEvents.Exception; - Assert.IsTrue(transferEvents.IsCompletedSuccessfully); - Assert.IsNotNull(transferEvents.Result); - Assert.Greater(transferEvents.Result.Count, 0); - yield return null; - } - } -} diff --git a/Assets/Tests/EventsTests.cs.meta b/Assets/Tests/EventsTests.cs.meta deleted file mode 100644 index 94ddb407c..000000000 --- a/Assets/Tests/EventsTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 446f5754bcd0bd746b336f56d719e046 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/MarketplaceReadTests.cs b/Assets/Tests/MarketplaceReadTests.cs deleted file mode 100644 index 64bc9d7d5..000000000 --- a/Assets/Tests/MarketplaceReadTests.cs +++ /dev/null @@ -1,293 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class MarketplaceReadTests : ConfigManager -{ - private GameObject _go; - private string _marketplaceAddress = "0xc9671F631E8313D53ec0b5358e1a499c574fCe6A"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator GetContract_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - Assert.IsNotNull(contract); - Assert.AreEqual(_marketplaceAddress, contract.Address); - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_GetAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.GetAll(); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_GetAllValid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.GetAllValid(); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.GreaterOrEqual(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_GetListing_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.GetListing("1"); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_GetTotalCount_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.GetTotalCount(); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(int.Parse(result.Result), 0); - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_IsBuyerApprovedForListing_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.IsBuyerApprovedForListing("1", _marketplaceAddress); - yield return new WaitUntil(() => result.IsCompleted); - if (Utils.IsWebGLBuild()) - { - Assert.IsTrue(result.IsFaulted); - } - else - { - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - } - yield return null; - } - - [UnityTest] - public IEnumerator DirectListings_IsCurrencyApprovedForListing_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.DirectListings.IsCurrencyApprovedForListing("1", _marketplaceAddress); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetAll(); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetAllValid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetAllValid(); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.GreaterOrEqual(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetAuction_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetAuction("0"); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetBidBufferBps_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetBidBufferBps("0"); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetMinimumNextBid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetMinimumNextBid("0"); - yield return new WaitUntil(() => result.IsCompleted); - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetTotalCount_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetTotalCount(); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(int.Parse(result.Result), 0); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetWinner_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetWinner("0"); - yield return new WaitUntil(() => result.IsCompleted); - if (Utils.IsWebGLBuild()) - { - Assert.IsTrue(result.IsFaulted); - } - else - { - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - } - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_GetWinningBid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.GetWinningBid("0"); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator EnglishAuctions_IsWinningBid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.EnglishAuctions.IsWinningBid("0", "1"); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator Offers_GetAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.Offers.GetAll(); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator Offers_GetAllValid_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.Offers.GetAllValid(); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.GreaterOrEqual(result.Result.Count, 0); - yield return null; - } - - [UnityTest] - public IEnumerator Offers_GetOffer_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.Offers.GetOffer("0"); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - yield return null; - } - - [UnityTest] - public IEnumerator Offers_GetTotalCount_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_marketplaceAddress); - var result = contract.Marketplace.Offers.GetTotalCount(); - yield return new WaitUntil(() => result.IsCompleted); - if (result.IsFaulted) - throw result.Exception; - Assert.IsTrue(result.IsCompletedSuccessfully); - Assert.IsNotNull(result.Result); - Assert.Greater(int.Parse(result.Result), 0); - yield return null; - } -} diff --git a/Assets/Tests/MarketplaceReadTests.cs.meta b/Assets/Tests/MarketplaceReadTests.cs.meta deleted file mode 100644 index 65c5fe9fc..000000000 --- a/Assets/Tests/MarketplaceReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cc2db92e25fbf764288457a631a76ef4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/PackReadTests.cs b/Assets/Tests/PackReadTests.cs deleted file mode 100644 index de0737175..000000000 --- a/Assets/Tests/PackReadTests.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class PackReadTests : ConfigManager -{ - private GameObject _go; - private string _packAddress = "0xE33653ce510Ee767d8824b5EcDeD27125D49889D"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator Get_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_packAddress); - var packTask = contract.Pack.Get("0"); - yield return new WaitUntil(() => packTask.IsCompleted); - Assert.IsTrue(packTask.IsCompletedSuccessfully); - Assert.IsNotNull(packTask.Result); - } - - [UnityTest] - public IEnumerator BalanceOf_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_packAddress); - var packTask = contract.Pack.BalanceOf(_packAddress, "0"); - yield return new WaitUntil(() => packTask.IsCompleted); - Assert.IsTrue(packTask.IsCompletedSuccessfully); - Assert.IsNotNull(packTask.Result); - } - - [UnityTest] - public IEnumerator IsApprovedForAll_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_packAddress); - var packTask = contract.Pack.IsApprovedForAll(_packAddress, _packAddress); - yield return new WaitUntil(() => packTask.IsCompleted); - Assert.IsTrue(packTask.IsCompletedSuccessfully); - Assert.IsNotNull(packTask.Result); - } - - [UnityTest] - public IEnumerator TotalSupply_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_packAddress); - var packTask = contract.Pack.TotalSupply("0"); - yield return new WaitUntil(() => packTask.IsCompleted); - Assert.IsTrue(packTask.IsCompletedSuccessfully); - Assert.IsNotNull(packTask.Result); - Assert.GreaterOrEqual(packTask.Result, BigInteger.Zero); - } - - [UnityTest] - public IEnumerator GetPackContents_Success() - { - var contract = ThirdwebManager.Instance.SDK.GetContract(_packAddress); - var packTask = contract.Pack.GetPackContents("0"); - yield return new WaitUntil(() => packTask.IsCompleted); - Assert.IsTrue(packTask.IsCompletedSuccessfully); - Assert.IsNotNull(packTask.Result); - Assert.IsNotNull(packTask.Result.erc20Rewards); - Assert.IsNotNull(packTask.Result.erc721Rewards); - Assert.IsNotNull(packTask.Result.erc1155Rewards); - Assert.GreaterOrEqual(packTask.Result.erc20Rewards.Count, 0); - Assert.GreaterOrEqual(packTask.Result.erc721Rewards.Count, 0); - Assert.GreaterOrEqual(packTask.Result.erc1155Rewards.Count, 0); - } -} diff --git a/Assets/Tests/PackReadTests.cs.meta b/Assets/Tests/PackReadTests.cs.meta deleted file mode 100644 index c0cbb7f47..000000000 --- a/Assets/Tests/PackReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 59574a1c274814d49bb683870842320d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/SmartWalletTests.cs b/Assets/Tests/SmartWalletTests.cs deleted file mode 100644 index 5c2bf77dc..000000000 --- a/Assets/Tests/SmartWalletTests.cs +++ /dev/null @@ -1,156 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class SmartWalletTests : ConfigManager -{ - private GameObject _go; - private string _managedAccountFactory = "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052"; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator Connect_WithGaslessManagedAccountFactory_Success() - { - Utils.DeleteLocalAccount(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.factoryAddress = _managedAccountFactory; - ThirdwebManager.Instance.gasless = true; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - } - - [UnityTest] - public IEnumerator Deploy_WithSign_Success() - { - yield return Connect_WithGaslessManagedAccountFactory_Success(); - - var task = ThirdwebManager.Instance.SDK.Wallet.Sign("Hello World"); - yield return new WaitUntil(() => task.IsCompleted); - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.Length == 132); - } - - [UnityTest] - public IEnumerator CreateSessionKey_WithValidSignerCheck_Success() - { - yield return Connect_WithGaslessManagedAccountFactory_Success(); - - var task = ThirdwebManager.Instance.SDK.Wallet.CreateSessionKey( - signerAddress: "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c", - approvedTargets: new List() { "0x450b943729Ddba196Ab58b589Cea545551DF71CC" }, - nativeTokenLimitPerTransactionInWei: "0", - permissionStartTimestamp: "0", - permissionEndTimestamp: (Utils.GetUnixTimeStampNow() + 86400).ToString(), - reqValidityStartTimestamp: "0", - reqValidityEndTimestamp: Utils.GetUnixTimeStampIn10Years().ToString() - ); - yield return new WaitUntil(() => task.IsCompleted); - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - - var getAllActiveSignersTask = ThirdwebManager.Instance.SDK.Wallet.GetAllActiveSigners(); - yield return new WaitUntil(() => getAllActiveSignersTask.IsCompleted); - Assert.IsTrue(getAllActiveSignersTask.IsCompletedSuccessfully); - Assert.IsNotNull(getAllActiveSignersTask.Result); - Assert.IsTrue(getAllActiveSignersTask.Result.Count > 0); - - bool exists = false; - foreach (var signer in getAllActiveSignersTask.Result) - { - if (signer.signer == "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c") - { - exists = true; - break; - } - } - Assert.IsTrue(exists); - - // Also check if admin is in here - exists = false; - var adminTask = ThirdwebManager.Instance.SDK.Wallet.GetSignerAddress(); - yield return new WaitUntil(() => adminTask.IsCompleted); - Assert.IsTrue(adminTask.IsCompletedSuccessfully); - Assert.IsNotNull(adminTask.Result); - var admin = adminTask.Result; - foreach (var signer in getAllActiveSignersTask.Result) - { - if (signer.signer == admin) - { - exists = true; - Assert.IsTrue(signer.isAdmin); - break; - } - } - Assert.IsTrue(exists); - } - - [UnityTest] - public IEnumerator RevokeSessionKey_WithValidSignerCheck_Success() - { - yield return CreateSessionKey_WithValidSignerCheck_Success(); - - var task = ThirdwebManager.Instance.SDK.Wallet.RevokeSessionKey(signerAddress: "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c"); - yield return new WaitUntil(() => task.IsCompleted); - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - - var getAllActiveSignersTask = ThirdwebManager.Instance.SDK.Wallet.GetAllActiveSigners(); - yield return new WaitUntil(() => getAllActiveSignersTask.IsCompleted); - Assert.IsTrue(getAllActiveSignersTask.IsCompletedSuccessfully); - Assert.IsNotNull(getAllActiveSignersTask.Result); - - bool exists = false; - foreach (var signer in getAllActiveSignersTask.Result) - { - if (signer.signer == "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c") - { - exists = true; - break; - } - } - Assert.IsFalse(exists); - } - - [UnityTest] - public IEnumerator IsDeployed_Success() - { - yield return Deploy_WithSign_Success(); - - var task = ThirdwebManager.Instance.SDK.Wallet.IsDeployed(); - yield return new WaitUntil(() => task.IsCompleted); - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsTrue(task.Result); - } -} diff --git a/Assets/Tests/SmartWalletTests.cs.meta b/Assets/Tests/SmartWalletTests.cs.meta deleted file mode 100644 index 69d848047..000000000 --- a/Assets/Tests/SmartWalletTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1ca0b4d50a497b7468bcd0961703d3de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/StorageTests.cs b/Assets/Tests/StorageTests.cs deleted file mode 100644 index d10e0d822..000000000 --- a/Assets/Tests/StorageTests.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System.Collections; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class StorageTests : ConfigManager -{ - private GameObject _go; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator Gateway_WithoutClientId_Success() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Storage); - Assert.AreEqual(ThirdwebManager.Instance.SDK.Storage.IPFSGateway, "https://cloudflare-ipfs.com/ipfs/"); - - string testIpfsRawUrl = "ipfs://Qblabla"; - Assert.AreEqual(Utils.ReplaceIPFS(testIpfsRawUrl, ThirdwebManager.Instance.SDK.Storage.IPFSGateway), "https://cloudflare-ipfs.com/ipfs/Qblabla"); - - yield return null; - } - - [UnityTest] - public IEnumerator Gateway_WithClientId_Success() - { - string clientId = "hello"; - ThirdwebManager.Instance.clientId = clientId; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Storage); - Assert.AreEqual(ThirdwebManager.Instance.SDK.Storage.IPFSGateway, $"https://{clientId}.ipfscdn.io/ipfs/"); - - string testIpfsRawUrl = "ipfs://Qblabla"; - Assert.AreEqual(Utils.ReplaceIPFS(testIpfsRawUrl, ThirdwebManager.Instance.SDK.Storage.IPFSGateway), $"https://{clientId}.ipfscdn.io/ipfs/Qblabla"); - - yield return null; - } - - [UnityTest] - public IEnumerator Gateway_WithOverride_Success() - { - string ipfsGatewayUrl = "https://ipfs.io/ipfs/"; - ThirdwebManager.Instance.storageIpfsGatewayUrl = ipfsGatewayUrl; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Storage); - Assert.AreEqual(ThirdwebManager.Instance.SDK.Storage.IPFSGateway, ipfsGatewayUrl); - - string testIpfsRawUrl = "ipfs://Qblabla"; - Assert.AreEqual(Utils.ReplaceIPFS(testIpfsRawUrl, ThirdwebManager.Instance.SDK.Storage.IPFSGateway), "https://ipfs.io/ipfs/Qblabla"); - - yield return null; - } - - [UnityTest] - public IEnumerator DownloadText_WithoutIPFS_Success() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string url = "https://www.gutenberg.org/files/11/11-0.txt"; - if (Utils.IsWebGLBuild()) - url = "https://thingproxy.freeboard.io/fetch/" + url; - - var downloadTask = ThirdwebManager.Instance.SDK.Storage.DownloadText(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.IsTrue(downloadTask.Result.Length > 0); - Assert.IsTrue(downloadTask.Result.Contains("*** START OF THE PROJECT GUTENBERG EBOOK")); - } - - [UnityTest] - public IEnumerator DownloadImage_WithoutIPFS_Success() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string url = "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"; - - var downloadTask = ThirdwebManager.Instance.SDK.Storage.DownloadImage(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.IsTrue(downloadTask.Result.texture.width > 0); - Assert.IsTrue(downloadTask.Result.texture.height > 0); - } - - [UnityTest] - public IEnumerator DownloadText_WithIPFS_Success() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string url = "ipfs://QmNQ2djT2u4my5xpKPgJMnQEpoNjYZE8ugpLndvgEJBb3X"; - - var downloadTask = ThirdwebManager.Instance.SDK.Storage.DownloadText(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.IsTrue(downloadTask.Result.Length > 0); - Assert.IsTrue(downloadTask.Result.StartsWith("{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\"")); - } - - [UnityTest] - public IEnumerator DownloadImage_WithIPFS_Success() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string url = "ipfs://QmfNyxShuV6Nrt3CLLdgaBPXfVr5MAbeWTHFCt8TZFsxgW/6.png"; - - var downloadTask = ThirdwebManager.Instance.SDK.Storage.DownloadImage(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.IsTrue(downloadTask.Result.texture.width > 0); - Assert.IsTrue(downloadTask.Result.texture.height > 0); - } - - [UnityTest] - public IEnumerator UploadText_WithoutClientId_Fail() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string text = "Hello World!"; - var uploadTask = ThirdwebManager.Instance.SDK.Storage.UploadText(text); - yield return new WaitUntil(() => uploadTask.IsCompleted); - Assert.IsTrue(uploadTask.IsFaulted); - } - - [UnityTest] - public IEnumerator UploadText_WithClientId_Success() - { - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string text = "Hello World!"; - var uploadTask = ThirdwebManager.Instance.SDK.Storage.UploadText(text); - yield return new WaitUntil(() => uploadTask.IsCompleted); - Assert.IsTrue(uploadTask.IsCompletedSuccessfully); - Assert.IsNotNull(uploadTask.Result); - Assert.IsNotNull(uploadTask.Result.IpfsHash); - - string url = "ipfs://" + uploadTask.Result.IpfsHash; - var downloadTask = ThirdwebManager.Instance.SDK.Storage.DownloadText(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.AreEqual(downloadTask.Result, text); - } - - [UnityTest] - public IEnumerator UploadFromPath_WithoutClientId_Fail() - { - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string path = Application.persistentDataPath + "/myObject.json"; - if (System.IO.File.Exists(path)) - System.IO.File.Delete(path); - System.IO.File.WriteAllText(path, "{\"name\":\"John Doe\",\"age\":30,\"city\":\"New York\"}"); - - yield return new WaitForSeconds(3f); - - var uploadTask = ThirdwebManager.Instance.SDK.Storage.UploadFromPath(path); - yield return new WaitUntil(() => uploadTask.IsCompleted); - Assert.IsTrue(uploadTask.IsFaulted); - } - - [UnityTest] - public IEnumerator UploadFromPath_WithClientId_Success() - { - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - - string path = Application.persistentDataPath + "/myObject.json"; - if (System.IO.File.Exists(path)) - System.IO.File.Delete(path); - System.IO.File.WriteAllText(path, "{\"name\":\"John Doe\",\"age\":30,\"city\":\"New York\"}"); - - var uploadTask = ThirdwebManager.Instance.SDK.Storage.UploadFromPath(path); - yield return new WaitUntil(() => uploadTask.IsCompleted); - Assert.IsTrue(uploadTask.IsCompletedSuccessfully); - Assert.IsNotNull(uploadTask.Result); - Assert.IsNotNull(uploadTask.Result.IpfsHash); - } -} diff --git a/Assets/Tests/StorageTests.cs.meta b/Assets/Tests/StorageTests.cs.meta deleted file mode 100644 index 7ce16edb3..000000000 --- a/Assets/Tests/StorageTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d66ce0994e30438439de11ed8635105d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/Thirdweb.Test.asmdef b/Assets/Tests/Thirdweb.Test.asmdef deleted file mode 100644 index fa66fd9be..000000000 --- a/Assets/Tests/Thirdweb.Test.asmdef +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Thirdweb.Test", - "rootNamespace": "Thirdweb.Test", - "references": [ - "UnityEngine.TestRunner", - "UnityEditor.TestRunner", - "Thirdweb.Core" - ], - "includePlatforms": [], - "excludePlatforms": [], - "allowUnsafeCode": false, - "overrideReferences": true, - "precompiledReferences": [ - "nunit.framework.dll", - "Nethereum.ABI.dll", - "Nethereum.Contracts.dll" - ], - "autoReferenced": false, - "defineConstraints": [ - "UNITY_INCLUDE_TESTS" - ], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file diff --git a/Assets/Tests/Thirdweb.Test.asmdef.meta b/Assets/Tests/Thirdweb.Test.asmdef.meta deleted file mode 100644 index 297e8987f..000000000 --- a/Assets/Tests/Thirdweb.Test.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d4ebc967d146d1a4f9344bfc46aeab76 -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ThirdwebManagerTests.cs b/Assets/Tests/ThirdwebManagerTests.cs deleted file mode 100644 index b6bb9db73..000000000 --- a/Assets/Tests/ThirdwebManagerTests.cs +++ /dev/null @@ -1,199 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ThirdwebManagerTests : ConfigManager -{ - private GameObject _go; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator SingletonPattern_Enforcement_Success() - { - var go2 = new GameObject("ThirdwebManagerSecond"); - go2.AddComponent(); - yield return null; - - Assert.IsTrue(go2 == null || go2.Equals(null)); - Assert.IsNotNull(ThirdwebManager.Instance); - } - - [UnityTest] - public IEnumerator Initialization_HappyPath() - { - Assert.IsNotNull(ThirdwebManager.Instance); - Assert.IsNull(ThirdwebManager.Instance.SDK); - - string chain = "Arbitrum Sepolia"; - BigInteger chainId = 421614; - string chainIdHex = chainId.BigIntToHex(); - string rpc = null; - ThirdwebManager.Instance.supportedChains = new List { new(chain, chainId.ToString(), rpc), }; - ThirdwebManager.Instance.Initialize(chain); - yield return null; - - string expectedRpc = $"https://{chainId}.rpc.thirdweb.com/"; - Assert.IsNotNull(ThirdwebManager.Instance.SDK); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.Options); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.ChainId); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.RPC); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.CurrentChainData); - - Assert.IsNull(ThirdwebManager.Instance.SDK.Session.ActiveWallet); - Assert.GreaterOrEqual(ThirdwebSession.Nonce, 0); - - Assert.AreEqual(chainId, ThirdwebManager.Instance.SDK.Session.ChainId); - Assert.AreEqual(chainIdHex, ThirdwebManager.Instance.SDK.Session.CurrentChainData.chainId); - - Assert.AreEqual(expectedRpc, ThirdwebManager.Instance.SDK.Session.RPC); - Assert.AreEqual(expectedRpc, ThirdwebManager.Instance.SDK.Session.CurrentChainData.rpcUrls[0]); - - Assert.AreEqual(chain, ThirdwebManager.Instance.SDK.Session.CurrentChainData.chainName); - } - - [UnityTest] - public IEnumerator Initialization_WithDefaultChain_Success() - { - ThirdwebManager.Instance.Initialize(ThirdwebManager.Instance.activeChain); - yield return null; - - Assert.IsNotNull(ThirdwebManager.Instance.SDK); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.Options); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.ChainId); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.RPC); - Assert.IsNotNull(ThirdwebManager.Instance.SDK.Session.CurrentChainData); - Assert.IsNull(ThirdwebManager.Instance.SDK.Session.ActiveWallet); - - var chainData = ThirdwebManager.Instance.supportedChains.Find(c => c.identifier == ThirdwebManager.Instance.activeChain); - Assert.AreEqual(chainData.chainId, ThirdwebManager.Instance.SDK.Session.ChainId.ToString()); - Assert.AreEqual(BigInteger.Parse(chainData.chainId).BigIntToHex(), ThirdwebManager.Instance.SDK.Session.CurrentChainData.chainId); - } - - [UnityTest] - public IEnumerator Initialization_WithRpcOverride_AppliesCorrectly() - { - string chain = "ethereum"; - string customRpc = "https://custom.rpc.url/"; - ThirdwebManager.Instance.supportedChains = new List { new ChainData(chain, "1", customRpc), }; - ThirdwebManager.Instance.Initialize(chain); - yield return null; - - Assert.AreEqual(customRpc, ThirdwebManager.Instance.SDK.Session.RPC); - Assert.AreEqual(customRpc, ThirdwebManager.Instance.SDK.Session.CurrentChainData.rpcUrls[0]); - } - - [UnityTest] - public IEnumerator Initialization_WithUnsupportedActiveChain_Throws() - { - string unsupportedChain = "unsupported-chain"; - Exception caughtException = null; - - try - { - ThirdwebManager.Instance.Initialize(unsupportedChain); - } - catch (Exception ex) - { - caughtException = ex; - } - - Assert.IsNotNull(caughtException); - Assert.IsInstanceOf(caughtException); - Assert.AreEqual(caughtException.Message, "Please add your active chain to the supported chains list! See https://thirdweb.com/dashboard/rpc for a list of supported chains."); - yield return null; - } - - [UnityTest] - public IEnumerator Initialization_WithUnknownChain_ConnectsButFails() - { - string chain = "Invalid Chain"; - BigInteger chainId = 1928347172371129831; - ThirdwebManager.Instance.supportedChains = new List { new(chain, chainId.ToString(), null), }; - ThirdwebManager.Instance.Initialize(chain); - Assert.IsTrue(ThirdwebManager.Instance.SDK.Session.CurrentChainData.chainName.Contains("Unknown Chain")); - - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(new WalletConnection(provider: WalletProvider.LocalWallet, chainId: chainId)); - yield return new WaitUntil(() => connectTask.IsCompleted); - Assert.IsTrue(Utils.IsWebGLBuild() ? connectTask.IsFaulted : connectTask.IsCompletedSuccessfully); - - var rpcTask = ThirdwebManager.Instance.SDK.Wallet.GetBalance(); - yield return new WaitUntil(() => rpcTask.IsCompleted); - Assert.IsTrue(rpcTask.IsFaulted); - } - - [UnityTest] - public IEnumerator Initialization_WithClientIdNoBundleIdOverride_AppliesCorrectly() - { - ThirdwebManager.Instance.clientId = "testClientId"; - Assert.IsNull(ThirdwebManager.Instance.bundleIdOverride); - - string bundleId = Application.identifier.ToLower(); - Assert.IsNotNull(bundleId); - - ThirdwebManager.Instance.supportedChains = new List { new("arbitrum-sepolia", "421614", null), }; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - yield return null; - - Assert.AreEqual(ThirdwebManager.Instance.clientId, ThirdwebManager.Instance.SDK.Session.Options.clientId); - Assert.AreEqual(bundleId, ThirdwebManager.Instance.SDK.Session.Options.bundleId); - if (Utils.IsWebGLBuild()) - { - Assert.AreEqual(ThirdwebManager.Instance.SDK.Session.RPC, $"https://421614.rpc.thirdweb.com/{ThirdwebManager.Instance.clientId}"); - } - else - { - Assert.AreEqual(ThirdwebManager.Instance.SDK.Session.RPC, $"https://421614.rpc.thirdweb.com/{ThirdwebManager.Instance.clientId}?bundleId={bundleId}"); - } - } - - [UnityTest] - public IEnumerator Initialization_WithClientIdAndBundleIdOverride_AppliesCorrectly() - { - ThirdwebManager.Instance.clientId = "testClientId"; - ThirdwebManager.Instance.bundleIdOverride = "com.example.test"; - - ThirdwebManager.Instance.supportedChains = new List { new("arbitrum-sepolia", "421614", null), }; - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - yield return null; - - // Validate that the SDK session has correctly applied clientId and bundleId - Assert.AreEqual(ThirdwebManager.Instance.clientId, ThirdwebManager.Instance.SDK.Session.Options.clientId); - Assert.AreEqual("com.example.test", ThirdwebManager.Instance.SDK.Session.Options.bundleId); - - if (Utils.IsWebGLBuild()) - { - Assert.AreEqual(ThirdwebManager.Instance.SDK.Session.RPC, $"https://421614.rpc.thirdweb.com/{ThirdwebManager.Instance.clientId}"); - } - else - { - Assert.AreEqual(ThirdwebManager.Instance.SDK.Session.RPC, $"https://421614.rpc.thirdweb.com/{ThirdwebManager.Instance.clientId}?bundleId={ThirdwebManager.Instance.bundleIdOverride}"); - } - } -} diff --git a/Assets/Tests/ThirdwebManagerTests.cs.meta b/Assets/Tests/ThirdwebManagerTests.cs.meta deleted file mode 100644 index 4784e08fd..000000000 --- a/Assets/Tests/ThirdwebManagerTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8385e785f9f77e04687fd39d3133b0f9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/ThirdwebSDKTests.cs b/Assets/Tests/ThirdwebSDKTests.cs deleted file mode 100644 index 3e82cd738..000000000 --- a/Assets/Tests/ThirdwebSDKTests.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class ThirdwebSDKTests : ConfigManager -{ - private ThirdwebSDK _sdk; - private readonly string _dropErc20Address = "0xEBB8a39D865465F289fa349A67B3391d8f910da9"; - - [SetUp] - public void SetUp() - { - var chainId = 421614; - var clientId = GetClientId(); - var bundleId = Application.identifier.ToLower(); - var options = new ThirdwebSDK.Options() - { - clientId = clientId, - bundleId = bundleId, - supportedChains = new ThirdwebChainData[] { ThirdwebSession.FetchChainData(chainId) }, - smartWalletConfig = new ThirdwebSDK.SmartWalletConfig() - { - factoryAddress = Thirdweb.AccountAbstraction.Constants.DEFAULT_FACTORY_ADDRESS, - gasless = true, - bundlerUrl = $"https://{chainId}.bundler.thirdweb.com", - paymasterUrl = $"https://{chainId}.bundler.thirdweb.com", - entryPointAddress = Thirdweb.AccountAbstraction.Constants.DEFAULT_ENTRYPOINT_ADDRESS, - } - }; - _sdk = new ThirdwebSDK($"https://{chainId}.rpc.thirdweb.com/{clientId}&bundleId={bundleId}", 421614, options); - } - - [TearDown] - public void TearDown() - { - _sdk = null; - } - - [UnityTest] - public IEnumerator Initialization_Success() - { - Assert.IsNotNull(_sdk); - Assert.AreEqual(_sdk.Session.Options.clientId, GetClientId()); - Assert.AreEqual(_sdk.Session.Options.bundleId, Application.identifier.ToLower()); - yield return null; - } - - [UnityTest] - public IEnumerator ContractRead_Success() - { - var contract = _sdk.GetContract(_dropErc20Address); - var readTask = contract.ERC20.BalanceOf(_dropErc20Address); - yield return new WaitUntil(() => readTask.IsCompleted); - if (readTask.IsFaulted) - throw readTask.Exception; - Assert.IsTrue(readTask.IsCompletedSuccessfully); - Assert.NotNull(readTask.Result); - } - - [UnityTest] - public IEnumerator ContractWrite_Success() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = _sdk.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - - var contract = _sdk.GetContract(_dropErc20Address); - var task = contract.ERC20.SetAllowance(_dropErc20Address, "0"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator CustomContractRead_Success() - { - var contract = _sdk.GetContract(_dropErc20Address); - var readTask = contract.Read("balanceOf", _dropErc20Address); - yield return new WaitUntil(() => readTask.IsCompleted); - if (readTask.IsFaulted) - throw readTask.Exception; - Assert.IsTrue(readTask.IsCompletedSuccessfully); - Assert.NotNull(readTask.Result); - } - - [UnityTest] - public IEnumerator CustomContractWrite_Success() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.SmartWallet, chainId: 421614, personalWallet: WalletProvider.LocalWallet); - var connectTask = _sdk.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - - var contract = _sdk.GetContract(_dropErc20Address); - var task = contract.ERC20.SetAllowance(_dropErc20Address, "0"); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsTrue(task.Result.receipt.transactionHash.Length == 66); - } - - [UnityTest] - public IEnumerator WalletSignMessage_Success() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.LocalWallet, chainId: 421614); - var connectTask = _sdk.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - if (connectTask.IsFaulted) - throw connectTask.Exception; - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - - var message = "Hello, World!"; - var task = _sdk.Wallet.Sign(message); - yield return new WaitUntil(() => task.IsCompleted); - if (task.IsFaulted) - throw task.Exception; - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - } - - [UnityTest] - public IEnumerator IPFSDownload_Success() - { - string url = "ipfs://QmNQ2djT2u4my5xpKPgJMnQEpoNjYZE8ugpLndvgEJBb3X"; - - var downloadTask = _sdk.Storage.DownloadText(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.IsTrue(downloadTask.Result.Length > 0); - Assert.IsTrue(downloadTask.Result.StartsWith("{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\"")); - } - - [UnityTest] - public IEnumerator IPFSUpload_Success() - { - string text = "Hello World!"; - var uploadTask = _sdk.Storage.UploadText(text); - yield return new WaitUntil(() => uploadTask.IsCompleted); - Assert.IsTrue(uploadTask.IsCompletedSuccessfully); - Assert.IsNotNull(uploadTask.Result); - Assert.IsNotNull(uploadTask.Result.IpfsHash); - - string url = "ipfs://" + uploadTask.Result.IpfsHash; - var downloadTask = _sdk.Storage.DownloadText(url); - yield return new WaitUntil(() => downloadTask.IsCompleted); - Assert.IsTrue(downloadTask.IsCompletedSuccessfully); - Assert.IsNotNull(downloadTask.Result); - Assert.AreEqual(downloadTask.Result, text); - } -} diff --git a/Assets/Tests/ThirdwebSDKTests.cs.meta b/Assets/Tests/ThirdwebSDKTests.cs.meta deleted file mode 100644 index f894d13b4..000000000 --- a/Assets/Tests/ThirdwebSDKTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 970ed4231e3a1c14a8ab5750d72aa7c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/TransactionReadTests.cs b/Assets/Tests/TransactionReadTests.cs deleted file mode 100644 index 789ec99d4..000000000 --- a/Assets/Tests/TransactionReadTests.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System.Collections; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class TransactionReadTests : ConfigManager -{ - private GameObject _go; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize("arbitrum-sepolia"); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator Static_WaitForTransactionResult_Success() - { - string txHash = "0x52b79681f549d7b01b12b8be5fa9dd88f7fee1411f965cbe7ec6e157ccb48af1"; - var task = Transaction.WaitForTransactionResult(txHash, ThirdwebManager.Instance.SDK.Session.ChainId); - yield return new WaitUntil(() => task.IsCompleted); - Assert.IsTrue(task.IsCompletedSuccessfully); - Assert.IsNotNull(task.Result); - Assert.IsNotNull(task.Result.receipt.blockNumber); - Assert.Greater(task.Result.receipt.blockNumber, BigInteger.Zero); - } -} diff --git a/Assets/Tests/TransactionReadTests.cs.meta b/Assets/Tests/TransactionReadTests.cs.meta deleted file mode 100644 index 0a9feb8c6..000000000 --- a/Assets/Tests/TransactionReadTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05e167cd9e2be604e9d5028059e7142a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Tests/WalletTests.cs b/Assets/Tests/WalletTests.cs deleted file mode 100644 index 5b2bb801a..000000000 --- a/Assets/Tests/WalletTests.cs +++ /dev/null @@ -1,244 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Numerics; -using NUnit.Framework; -using Thirdweb; -using UnityEngine; -using UnityEngine.TestTools; - -public class WalletTests : ConfigManager -{ - private GameObject _go; - private string _chain = "arbitrum-sepolia"; - private BigInteger _chainId = 421614; - - [SetUp] - public void SetUp() - { - var existingManager = GameObject.FindObjectOfType(); - if (existingManager != null) - GameObject.DestroyImmediate(existingManager.gameObject); - - _go = new GameObject("ThirdwebManager"); - _go.AddComponent(); - - ThirdwebManager.Instance.clientId = GetClientId(); - ThirdwebManager.Instance.Initialize(_chain); - } - - [TearDown] - public void TearDown() - { - if (_go != null) - { - GameObject.DestroyImmediate(_go); - _go = null; - } - } - - [UnityTest] - public IEnumerator Connect_WithLocalWallet_Success() - { - Utils.DeleteLocalAccount(); - var connection = new WalletConnection(provider: WalletProvider.LocalWallet, chainId: _chainId, password: null); // device uid - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - Assert.IsTrue(connectTask.IsCompletedSuccessfully); - Assert.IsNotNull(connectTask.Result); - Assert.IsTrue(connectTask.Result.Length == 42); - } - - [UnityTest] - public IEnumerator Connect_WithLocalWallet_Fail() - { - yield return Connect_WithLocalWallet_Success(); - - var disconnectTask = ThirdwebManager.Instance.SDK.Wallet.Disconnect(); - yield return new WaitUntil(() => disconnectTask.IsCompleted); - if (disconnectTask.IsFaulted) - throw disconnectTask.Exception; - Assert.IsTrue(disconnectTask.IsCompletedSuccessfully); - - var connection = new WalletConnection(provider: WalletProvider.LocalWallet, chainId: _chainId, password: "wrongpassword"); - var connectTask = ThirdwebManager.Instance.SDK.Wallet.Connect(connection); - yield return new WaitUntil(() => connectTask.IsCompleted); - Assert.IsTrue(connectTask.IsFaulted); - } - - [UnityTest] - public IEnumerator Disconnect_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var disconnectTask = ThirdwebManager.Instance.SDK.Wallet.Disconnect(); - yield return new WaitUntil(() => disconnectTask.IsCompleted); - Assert.IsTrue(disconnectTask.IsCompletedSuccessfully); - - var getAddressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - yield return new WaitUntil(() => getAddressTask.IsCompleted); - Assert.IsTrue(getAddressTask.IsFaulted); - } - - [UnityTest] - public IEnumerator Export_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var exportTask = ThirdwebManager.Instance.SDK.Wallet.Export(null); - yield return new WaitUntil(() => exportTask.IsCompleted); - Assert.IsTrue(exportTask.IsCompletedSuccessfully); - Assert.IsNotNull(exportTask.Result); - Assert.IsTrue(exportTask.Result.Length > 0); - } - - // [UnityTest] - // public IEnumerator Authenticate_WithLocalWallet_Success() - // { - // yield return Connect_WithLocalWallet_Success(); - - // var authenticateTask = ThirdwebManager.Instance.SDK.Wallet.Authenticate("example.com"); - // yield return new WaitUntil(() => authenticateTask.IsCompleted); - // Assert.IsTrue(authenticateTask.IsCompletedSuccessfully); - // Assert.IsNotNull(authenticateTask.Result); - // Assert.IsTrue(authenticateTask.Result.signature.Length == 132); - // } - - // [UnityTest] - // public IEnumerator Verify_WithLocalWallet_Success() - // { - // yield return Connect_WithLocalWallet_Success(); - - // var authenticateTask = ThirdwebManager.Instance.SDK.Wallet.Authenticate("example.com"); - // yield return new WaitUntil(() => authenticateTask.IsCompleted); - // Assert.IsTrue(authenticateTask.IsCompletedSuccessfully); - // Assert.IsNotNull(authenticateTask.Result); - // Assert.IsTrue(authenticateTask.Result.signature.Length == 132); - - // var verifyTask = ThirdwebManager.Instance.SDK.Wallet.Verify(authenticateTask.Result); - // yield return new WaitUntil(() => verifyTask.IsCompleted); - // Assert.IsTrue(verifyTask.IsCompletedSuccessfully); - - // var getAddressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - // yield return new WaitUntil(() => getAddressTask.IsCompleted); - // Assert.IsTrue(getAddressTask.IsCompletedSuccessfully); - // Assert.AreEqual(verifyTask.Result, getAddressTask.Result); - // } - - [UnityTest] - public IEnumerator GetBalance_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var getBalanceTask = ThirdwebManager.Instance.SDK.Wallet.GetBalance(); - yield return new WaitUntil(() => getBalanceTask.IsCompleted); - Assert.IsTrue(getBalanceTask.IsCompletedSuccessfully); - Assert.IsNotNull(getBalanceTask.Result); - Assert.IsTrue(getBalanceTask.Result.value == "0"); - } - - [UnityTest] - public IEnumerator GetAddress_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var getAddressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - yield return new WaitUntil(() => getAddressTask.IsCompleted); - Assert.IsTrue(getAddressTask.IsCompletedSuccessfully); - Assert.IsNotNull(getAddressTask.Result); - Assert.IsTrue(getAddressTask.Result.Length == 42); - } - - [UnityTest] - public IEnumerator GetAddress_WithLocalWallet_Fail() - { - yield return Connect_WithLocalWallet_Success(); - - var disconnectTask = ThirdwebManager.Instance.SDK.Wallet.Disconnect(); - yield return new WaitUntil(() => disconnectTask.IsCompleted); - Assert.IsTrue(disconnectTask.IsCompletedSuccessfully); - - var getAddressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - yield return new WaitUntil(() => getAddressTask.IsCompleted); - Assert.IsTrue(getAddressTask.IsFaulted); - } - - [UnityTest] - public IEnumerator IsConnected_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var isConnectedTask = ThirdwebManager.Instance.SDK.Wallet.IsConnected(); - yield return new WaitUntil(() => isConnectedTask.IsCompleted); - Assert.IsTrue(isConnectedTask.IsCompletedSuccessfully); - Assert.IsTrue(isConnectedTask.Result); - } - - [UnityTest] - public IEnumerator IsConnected_WithLocalWallet_Fail() - { - var isConnectedTask = ThirdwebManager.Instance.SDK.Wallet.IsConnected(); - yield return new WaitUntil(() => isConnectedTask.IsCompleted); - Assert.IsTrue(isConnectedTask.IsCompletedSuccessfully); - Assert.IsFalse(isConnectedTask.Result); - } - - [UnityTest] - public IEnumerator GetChainId_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var getChainIdTask = ThirdwebManager.Instance.SDK.Wallet.GetChainId(); - yield return new WaitUntil(() => getChainIdTask.IsCompleted); - Assert.IsTrue(getChainIdTask.IsCompletedSuccessfully); - Assert.AreEqual(getChainIdTask.Result, _chainId); - } - - [UnityTest] - public IEnumerator Transfer_WithLocalWallet_Fail() - { - yield return Connect_WithLocalWallet_Success(); - - var randomAddress = "0x0C741CBb712708b866764C82096dDfA7976B8e0c"; - var transferTask = ThirdwebManager.Instance.SDK.Wallet.Transfer(to: randomAddress, amount: "0"); - yield return new WaitUntil(() => transferTask.IsCompleted); - Assert.IsTrue(transferTask.IsFaulted); - } - - [UnityTest] - public IEnumerator Sign_WithLocalWallet_Success() - { - yield return Connect_WithLocalWallet_Success(); - - var message = "Hello World!"; - var signTask = ThirdwebManager.Instance.SDK.Wallet.Sign(message); - yield return new WaitUntil(() => signTask.IsCompleted); - Assert.IsTrue(signTask.IsCompletedSuccessfully); - Assert.IsNotNull(signTask.Result); - Assert.IsTrue(signTask.Result.Length == 132); - } - - [UnityTest] - public IEnumerator SendRawTransaction_WithLocalWallet_Fail() - { - yield return Connect_WithLocalWallet_Success(); - - var randomAddress = "0x0C741CBb712708b866764C82096dDfA7976B8e0c"; - - var addressTask = ThirdwebManager.Instance.SDK.Wallet.GetAddress(); - yield return new WaitUntil(() => addressTask.IsCompleted); - Assert.IsTrue(addressTask.IsCompletedSuccessfully); - - var sendRawTransactionTask = ThirdwebManager.Instance.SDK.Wallet.SendRawTransaction( - new TransactionRequest() - { - from = addressTask.Result, - to = randomAddress, - data = "0x", - value = "0", - gasLimit = "0", - } - ); - yield return new WaitUntil(() => sendRawTransactionTask.IsCompleted); - Assert.IsTrue(sendRawTransactionTask.IsFaulted); - } -} diff --git a/Assets/Tests/WalletTests.cs.meta b/Assets/Tests/WalletTests.cs.meta deleted file mode 100644 index d848e2596..000000000 --- a/Assets/Tests/WalletTests.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bd1dfbb369a90584387d11fafa572fab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugin/thirdweb.jslib b/Assets/Thirdweb/Core/Plugin/thirdweb.jslib index 8e499dbe7..ea9a6ac19 100644 --- a/Assets/Thirdweb/Core/Plugin/thirdweb.jslib +++ b/Assets/Thirdweb/Core/Plugin/thirdweb.jslib @@ -461,6 +461,29 @@ var plugin = { dynCall_viii(cb, idPtr, null, buffer); }); }, + ThirdwebGetNonce: async function (taskId, address, blockTag, cb) { + // convert taskId from pointer to str and allocate it to keep in memory + var id = UTF8ToString(taskId); + var idSize = lengthBytesUTF8(id) + 1; + var idPtr = _malloc(idSize); + stringToUTF8(id, idPtr, idSize); + // execute bridge call + window.bridge + .getNonce(UTF8ToString(address), UTF8ToString(blockTag)) + .then((returnStr) => { + var bufferSize = lengthBytesUTF8(returnStr) + 1; + var buffer = _malloc(bufferSize); + stringToUTF8(returnStr, buffer, bufferSize); + dynCall_viii(cb, idPtr, buffer, null); + }) + .catch((err) => { + var msg = err.message; + var bufferSize = lengthBytesUTF8(msg) + 1; + var buffer = _malloc(bufferSize); + stringToUTF8(msg, buffer, bufferSize); + dynCall_viii(cb, idPtr, null, buffer); + }); + }, ThirdwebResolveENSFromAddress: async function (taskId, address, cb) { // convert taskId from pointer to str and allocate it to keep in memory var id = UTF8ToString(taskId); diff --git a/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll b/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll index 6a2515c8a..fee2effb5 100644 Binary files a/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll and b/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll differ diff --git a/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll.meta b/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll.meta index 866ca1efa..d4aaef4fb 100644 --- a/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll.meta +++ b/Assets/Thirdweb/Core/Plugins/InAppWallet/embedded-wallet.dll.meta @@ -9,8 +9,28 @@ PluginImporter: isPreloaded: 0 isOverridable: 0 isExplicitlyReferenced: 0 - validateReferences: 1 + validateReferences: 0 platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Android: 0 + Exclude Editor: 0 + Exclude Linux64: 0 + Exclude OSXUniversal: 0 + Exclude WebGL: 0 + Exclude Win: 0 + Exclude Win64: 0 + Exclude iOS: 0 + - first: + Android: Android + second: + enabled: 1 + settings: + AndroidSharedLibraryType: Executable + CPU: ARMv7 - first: Any: second: @@ -19,15 +39,55 @@ PluginImporter: - first: Editor: Editor second: - enabled: 0 + enabled: 1 settings: + CPU: AnyCPU DefaultValueInitialized: true + OS: AnyOS + - first: + Standalone: Linux64 + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + Standalone: OSXUniversal + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + Standalone: Win + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + Standalone: Win64 + second: + enabled: 1 + settings: + CPU: AnyCPU + - first: + WebGL: WebGL + second: + enabled: 1 + settings: {} - first: Windows Store Apps: WindowsStoreApps second: enabled: 0 settings: CPU: AnyCPU + - first: + iPhone: iOS + second: + enabled: 1 + settings: + AddToEmbeddedBinaries: false + CPU: AnyCPU + CompileFlags: + FrameworkDependencies: userData: assetBundleName: assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask.NEthereum/MetaMaskClient.cs b/Assets/Thirdweb/Core/Plugins/MetaMask.NEthereum/MetaMaskClient.cs index 724a18f1a..9f8a892b1 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask.NEthereum/MetaMaskClient.cs +++ b/Assets/Thirdweb/Core/Plugins/MetaMask.NEthereum/MetaMaskClient.cs @@ -18,10 +18,9 @@ public MetaMaskClient(MetaMaskWallet metaMask) { this._metaMask = metaMask; } - + private static readonly Random rng = new Random(); - private static readonly DateTime UnixEpoch = - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); + private static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public static long GenerateRpcId() { @@ -38,18 +37,26 @@ protected override async Task SendAsync(RpcRequestMessage me var arrayParameters = message.RawParameters as object[]; var rawParameters = message.RawParameters; - var rpcRequestMessage = mapParameters != null - ? new RpcRequestMessage(id, message.Method, mapParameters) - : arrayParameters != null - ? new RpcRequestMessage(id, message.Method, arrayParameters) - : new RpcRequestMessage(id, message.Method, rawParameters); - - var response = await _metaMask.Request(new MetaMaskEthereumRequest() + var rpcRequestMessage = + mapParameters != null + ? new RpcRequestMessage(id, message.Method, mapParameters) + : arrayParameters != null + ? new RpcRequestMessage(id, message.Method, arrayParameters) + : new RpcRequestMessage(id, message.Method, rawParameters); + + var response = await _metaMask.Request( + new MetaMaskEthereumRequest() + { + Id = rpcRequestMessage.Id.ToString(), + Method = rpcRequestMessage.Method, + Parameters = rpcRequestMessage.RawParameters + } + ); + + if (response == null || string.IsNullOrEmpty(response.ToString())) { - Id = rpcRequestMessage.Id.ToString(), - Method = rpcRequestMessage.Method, - Parameters = rpcRequestMessage.RawParameters - }); + return new RpcResponseMessage(rpcRequestMessage.Id, result: new JObject()); + } try { @@ -72,4 +79,4 @@ protected override Task SendAsync(RpcRequestMessage[] requ return Task.WhenAll(requests.Select(r => SendAsync(r))); } } -} \ No newline at end of file +} diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Editor/MetaMaskDependencies.xml b/Assets/Thirdweb/Core/Plugins/MetaMask/Editor/MetaMaskDependencies.xml index 2cfd57e60..647d1004f 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Editor/MetaMaskDependencies.xml +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Editor/MetaMaskDependencies.xml @@ -40,7 +40,7 @@ - + - \ No newline at end of file + diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Installer/Packages/main.unitypackage b/Assets/Thirdweb/Core/Plugins/MetaMask/Installer/Packages/main.unitypackage index 3fe5132d2..f8089c393 100644 Binary files a/Assets/Thirdweb/Core/Plugins/MetaMask/Installer/Packages/main.unitypackage and b/Assets/Thirdweb/Core/Plugins/MetaMask/Installer/Packages/main.unitypackage differ diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.0/evm.net.dll b/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.0/evm.net.dll index be2f1b5f3..ee1a39123 100644 Binary files a/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.0/evm.net.dll and b/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.0/evm.net.dll differ diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.1/evm.net.dll b/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.1/evm.net.dll index 6e9501b2a..8c8a98338 100644 Binary files a/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.1/evm.net.dll and b/Assets/Thirdweb/Core/Plugins/MetaMask/Plugins/Libraries/evm.net/Runtime/netstandard2.1/evm.net.dll differ diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab deleted file mode 100644 index 9a9d927de..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab +++ /dev/null @@ -1,6805 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &4546866092825550465 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092825550464} - m_Layer: 5 - m_Name: 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092825550464 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092825550465} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093213280429} - m_Father: {fileID: 4546866093515423457} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -555, y: -315} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092830642509 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092830642508} - - component: {fileID: 4546866092830642497} - - component: {fileID: 4546866092830642498} - - component: {fileID: 4546866092830642499} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092830642508 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092830642509} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093890418361} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092830642497 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092830642509} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092830642498 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092830642509} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.74509805, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866092830642499 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092830642509} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866092855311774 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092855311773} - m_Layer: 5 - m_Name: 4 (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092855311773 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092855311774} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094480606033} - m_Father: {fileID: 4546866093515423457} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -95, y: -834} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092859501289 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092859501288} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092859501288 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092859501289} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094843542114} - m_Father: {fileID: 4546866094467994608} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -1286, y: -449} - m_SizeDelta: {x: 98.406006, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092897421564 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092897421555} - m_Layer: 5 - m_Name: 3 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092897421555 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092897421564} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093311010988} - m_Father: {fileID: 4546866094438820944} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 30, y: -567} - m_SizeDelta: {x: 98.40599, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092902249689 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092902249688} - - component: {fileID: 4546866092902249693} - - component: {fileID: 4546866092902249694} - - component: {fileID: 4546866092902249695} - m_Layer: 5 - m_Name: Image (8) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092902249688 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092902249689} - m_LocalRotation: {x: -0, y: -0, z: 0.88863325, w: -0.4586187} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.11030334, y: 0.11030334, z: 0.11030334} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093586311344} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 234.59601} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 683.45184, y: 599} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092902249693 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092902249689} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092902249694 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092902249689} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 453405934, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866092902249695 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092902249689} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.8 - degreesPerSecond: 0.5 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866092915687486 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092915687485} - - component: {fileID: 4546866092915687474} - - component: {fileID: 4546866092915687475} - - component: {fileID: 4546866092915687484} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092915687485 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092915687486} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092939546065} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092915687474 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092915687486} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092915687475 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092915687486} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.65 - degreesPerSecond: 0.1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!114 &4546866092915687484 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092915687486} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.6039216} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866092928958635 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092928958634} - - component: {fileID: 4546866092928958639} - - component: {fileID: 4546866092928958632} - - component: {fileID: 4546866092928958633} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092928958634 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092928958635} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094131646374} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000061035156} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092928958639 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092928958635} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092928958632 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092928958635} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866092928958633 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092928958635} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.26 - degreesPerSecond: 3 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 25, y: 34, z: 40} ---- !u!1 &4546866092939546066 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092939546065} - m_Layer: 5 - m_Name: 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092939546065 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092939546066} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5130893, y: 0.5130893, z: 0.5130893} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092915687485} - m_Father: {fileID: 4546866094232599994} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -355, y: -28.000017} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092959340370 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092959340369} - - component: {fileID: 4546866092959340374} - - component: {fileID: 4546866092959340375} - - component: {fileID: 4546866092959340368} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092959340369 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092959340370} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094642229085} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092959340374 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092959340370} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092959340375 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092959340370} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.65 - degreesPerSecond: 0.1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!114 &4546866092959340368 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092959340370} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.6039216} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866092974547346 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092974547345} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092974547345 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092974547346} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.3322814, y: 0.3322814, z: 0.3322814} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093405349185} - m_Father: {fileID: 4546866093485270242} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 316, y: -531} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866092982100612 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866092982100603} - - component: {fileID: 4546866092982100601} - - component: {fileID: 4546866092982100602} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866092982100603 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092982100612} - m_LocalRotation: {x: 1, y: 0, z: 0, w: 0} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094512971818} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 180, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -910} - m_SizeDelta: {x: 1674, y: 912} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866092982100601 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092982100612} - m_CullTransparentMesh: 1 ---- !u!114 &4546866092982100602 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866092982100612} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.9176471, g: 0.96470594, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: f148bf16f6894aa41a406846c4e6e623, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866093000299454 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093000299453} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093000299453 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093000299454} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.3322814, y: 0.3322814, z: 0.3322814} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093517096562} - m_Father: {fileID: 4546866094232599994} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 316, y: -531} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093068510595 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093068510594} - m_Layer: 5 - m_Name: 4 (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093068510594 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093068510595} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093385366272} - m_Father: {fileID: 4546866094232599994} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -95, y: -834} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093091804282 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093091804281} - - component: {fileID: 4546866093091804287} - - component: {fileID: 4546866093091804280} - - component: {fileID: 4546866093091804286} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093091804281 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093091804282} - m_LocalRotation: {x: -0.20248653, y: -0.0042414838, z: -0.020508386, w: 0.9790611} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.8399999, y: 2, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093758487717} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: -23.37, y: 0, z: -2.4} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0.000022888184, y: 912.0001} - m_SizeDelta: {x: 1674, y: 912} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093091804287 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093091804282} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093091804280 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093091804282} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.9176471, g: 0.96470594, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: f148bf16f6894aa41a406846c4e6e623, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093091804286 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093091804282} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.1 - degreesPerSecond: 1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 0, y: 0, z: 0} ---- !u!1 &4546866093100620763 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093100620762} - m_Layer: 5 - m_Name: 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093100620762 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093100620763} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5130893, y: 0.5130893, z: 0.5130893} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094217034982} - m_Father: {fileID: 4546866093515423457} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -355, y: -28.000017} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093122383449 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093122383448} - m_Layer: 5 - m_Name: 4 (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093122383448 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093122383449} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093863321101} - m_Father: {fileID: 4546866094232599994} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 379, y: -107} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093146366869 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093146366868} - - component: {fileID: 4546866093146366857} - - component: {fileID: 4546866093146366858} - - component: {fileID: 4546866093146366859} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093146366868 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093146366869} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094613400438} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 300, y: 300} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093146366857 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093146366869} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093146366858 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093146366869} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.6, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -81369497, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093146366859 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093146366869} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.05 - degreesPerSecond: 0.05 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 0, y: 0, z: 0} ---- !u!1 &4546866093213280430 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093213280429} - - component: {fileID: 4546866093213280419} - - component: {fileID: 4546866093213280428} - - component: {fileID: 4546866093213280418} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093213280429 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093213280430} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092825550464} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093213280419 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093213280430} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093213280428 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093213280430} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093213280418 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093213280430} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093231652936 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093231652943} - - component: {fileID: 4546866093231652940} - - component: {fileID: 4546866093231652941} - - component: {fileID: 4546866093231652942} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093231652943 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093231652936} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094240909476} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093231652940 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093231652936} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093231652941 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093231652936} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093231652942 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093231652936} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093245680730 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093245680729} - - component: {fileID: 4546866093245680734} - - component: {fileID: 4546866093245680735} - - component: {fileID: 4546866093245680728} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093245680729 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093245680730} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094902820447} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093245680734 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093245680730} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093245680735 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093245680730} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.74509805, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093245680728 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093245680730} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093285360639 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093285360638} - - component: {fileID: 4546866093285360627} - - component: {fileID: 4546866093285360636} - - component: {fileID: 4546866093285360637} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093285360638 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093285360639} - m_LocalRotation: {x: -0, y: -0, z: 0.1826808, w: 0.9831723} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.4316052, y: 0.4316052, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093417100504} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 21.052} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093285360627 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093285360639} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093285360636 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093285360639} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093285360637 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093285360639} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.34 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866093311010989 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093311010988} - - component: {fileID: 4546866093311010977} - - component: {fileID: 4546866093311010978} - - component: {fileID: 4546866093311010979} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093311010988 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093311010989} - m_LocalRotation: {x: -0, y: -0, z: 0.1826808, w: 0.9831723} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.4316052, y: 0.4316052, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092897421555} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 21.052} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093311010977 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093311010989} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093311010978 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093311010989} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093311010979 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093311010989} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.34 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866093385366273 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093385366272} - - component: {fileID: 4546866093385366277} - - component: {fileID: 4546866093385366278} - - component: {fileID: 4546866093385366279} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093385366272 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093385366273} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093068510594} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093385366277 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093385366273} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093385366278 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093385366273} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.98823535, g: 0.654902, b: 0.54509807, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093385366279 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093385366273} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093405349186 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093405349185} - - component: {fileID: 4546866093405349190} - - component: {fileID: 4546866093405349191} - - component: {fileID: 4546866093405349184} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093405349185 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093405349186} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092974547345} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000061035156} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093405349190 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093405349186} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093405349191 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093405349186} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093405349184 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093405349186} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.26 - degreesPerSecond: 3 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 25, y: 34, z: 40} ---- !u!1 &4546866093417100505 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093417100504} - m_Layer: 5 - m_Name: 3 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093417100504 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093417100505} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093285360638} - m_Father: {fileID: 4546866094467994608} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 30, y: -567} - m_SizeDelta: {x: 98.40599, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093417677127 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093417677126} - - component: {fileID: 4546866093417677115} - - component: {fileID: 4546866093417677124} - - component: {fileID: 4546866093417677125} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093417677126 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093417677127} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094540567397} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093417677115 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093417677127} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093417677124 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093417677127} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.98823535, g: 0.654902, b: 0.54509807, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093417677125 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093417677127} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093422621753 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093422621752} - m_Layer: 5 - m_Name: Circle (4) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093422621752 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093422621753} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094642229085} - - {fileID: 4546866094131646374} - - {fileID: 4546866093524521342} - - {fileID: 4546866093890418361} - - {fileID: 4546866093518206213} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 11 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 1214, y: -38} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093435542081 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093435542080} - m_Layer: 5 - m_Name: GameObject (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093435542080 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093435542081} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093872836070} - m_Father: {fileID: 4546866093513562880} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 495, y: -244} - m_SizeDelta: {x: 87.803314, y: 76.953735} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093447792938 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093447792937} - m_Layer: 5 - m_Name: 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093447792937 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093447792938} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5130893, y: 0.5130893, z: 0.5130893} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093810624622} - m_Father: {fileID: 4546866093485270242} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -355, y: -28.000017} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093451569932 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093451569923} - m_Layer: 5 - m_Name: 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093451569923 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093451569932} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094662382775} - m_Father: {fileID: 4546866093485270242} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -555, y: -315} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093466153986 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093466153985} - m_Layer: 5 - m_Name: Spahes Move - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093466153985 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093466153986} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094002075912} - - {fileID: 4546866094815387589} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 632, y: 246} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093485270243 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093485270242} - m_Layer: 5 - m_Name: Circle (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093485270242 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093485270243} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093447792937} - - {fileID: 4546866092974547345} - - {fileID: 4546866093451569923} - - {fileID: 4546866094415741954} - - {fileID: 4546866094439179297} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -1513} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093513155649 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093513155648} - m_Layer: 5 - m_Name: CircleUnfilled - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093513155648 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093513155649} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094888791805} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093513562881 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093513562880} - m_Layer: 5 - m_Name: Traingle - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093513562880 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093513562881} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093435542080} - - {fileID: 4546866094965814293} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093515423458 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093515423457} - m_Layer: 5 - m_Name: Circle - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093515423457 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093515423458} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093100620762} - - {fileID: 4546866094361506142} - - {fileID: 4546866092825550464} - - {fileID: 4546866094902820447} - - {fileID: 4546866092855311773} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093517096563 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093517096562} - - component: {fileID: 4546866093517096567} - - component: {fileID: 4546866093517096560} - - component: {fileID: 4546866093517096561} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093517096562 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093517096563} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093000299453} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000061035156} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093517096567 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093517096563} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093517096560 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093517096563} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093517096561 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093517096563} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.26 - degreesPerSecond: 3 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 25, y: 34, z: 40} ---- !u!1 &4546866093518206214 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093518206213} - m_Layer: 5 - m_Name: 4 (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093518206213 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093518206214} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094535643726} - m_Father: {fileID: 4546866093422621752} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -95, y: -834} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093524521343 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093524521342} - m_Layer: 5 - m_Name: 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093524521342 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093524521343} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094710918772} - m_Father: {fileID: 4546866093422621752} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -555, y: -315} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093581424177 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093581424176} - - component: {fileID: 1588944691690074812} - m_Layer: 5 - m_Name: Dynamic Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093581424176 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093581424177} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094312012755} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!225 &1588944691690074812 -CanvasGroup: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093581424177} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!1 &4546866093586311345 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093586311344} - m_Layer: 5 - m_Name: GameObject (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093586311344 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093586311345} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092902249688} - m_Father: {fileID: 4546866094067886503} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -661, y: -577} - m_SizeDelta: {x: 75.387024, y: 66.07172} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093594374737 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093594374736} - - component: {fileID: 4546866093594374741} - - component: {fileID: 4546866093594374742} - - component: {fileID: 4546866093594374743} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093594374736 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093594374737} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094389357507} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093594374741 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093594374737} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093594374742 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093594374737} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.65 - degreesPerSecond: 0.1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!114 &4546866093594374743 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093594374737} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.6039216} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866093754571320 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093754571327} - m_Layer: 5 - m_Name: 4 (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093754571327 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093754571320} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094711302004} - m_Father: {fileID: 4546866094205990837} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 379, y: -107} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093758487718 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093758487717} - m_Layer: 5 - m_Name: GameObject - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &4546866093758487717 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093758487718} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093091804281} - m_Father: {fileID: 4546866094312012755} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -126.82001, y: -315.02002} - m_SizeDelta: {x: 3080.1602, y: 1824} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093810624623 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093810624622} - - component: {fileID: 4546866093810624611} - - component: {fileID: 4546866093810624620} - - component: {fileID: 4546866093810624621} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093810624622 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093810624623} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093447792937} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093810624611 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093810624623} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093810624620 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093810624623} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.65 - degreesPerSecond: 0.1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!114 &4546866093810624621 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093810624623} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.6039216} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866093816614578 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093816614577} - - component: {fileID: 4546866093816614583} - - component: {fileID: 4546866093816614576} - - component: {fileID: 4546866093816614582} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093816614577 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093816614578} - m_LocalRotation: {x: -0, y: -0, z: -0.5064099, w: 0.86229295} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.43160525, y: 0.43160525, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094002075912} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: -60.85} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093816614583 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093816614578} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093816614576 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093816614578} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.54509807, b: 0.8000001, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093816614582 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093816614578} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.45 - degreesPerSecond: 0.41 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866093863321102 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093863321101} - - component: {fileID: 4546866093863321090} - - component: {fileID: 4546866093863321091} - - component: {fileID: 4546866093863321100} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093863321101 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093863321102} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093122383448} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093863321090 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093863321102} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093863321091 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093863321102} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.74509805, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093863321100 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093863321102} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093872836071 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093872836070} - - component: {fileID: 4546866093872836068} - - component: {fileID: 4546866093872836069} - - component: {fileID: 4546866093872836059} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093872836070 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093872836071} - m_LocalRotation: {x: -0, y: -0, z: 0.9769368, w: 0.21352896} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.12847033, y: 0.12847033, z: 0.12847033} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093435542080} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 155.342} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -0.000022888184} - m_SizeDelta: {x: 683.45184, y: 599} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093872836068 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093872836071} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093872836069 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093872836071} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 453405934, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093872836059 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093872836071} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.5 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866093883565173 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093883565172} - - component: {fileID: 4546866093883565161} - - component: {fileID: 4546866093883565162} - - component: {fileID: 4546866093883565163} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093883565172 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093883565173} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094415741954} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093883565161 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093883565173} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093883565162 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093883565173} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.74509805, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093883565163 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093883565173} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866093890418362 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093890418361} - m_Layer: 5 - m_Name: 4 (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093890418361 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093890418362} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092830642508} - m_Father: {fileID: 4546866093422621752} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 379, y: -107} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093920642056 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093920642063} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093920642063 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093920642056} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094421402615} - m_Father: {fileID: 4546866094438820944} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -1286, y: -449} - m_SizeDelta: {x: 98.406006, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093927668585 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093927668584} - m_Layer: 5 - m_Name: 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093927668584 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093927668585} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094296565230} - m_Father: {fileID: 4546866094205990837} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -555, y: -315} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093938887035 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093938887034} - - component: {fileID: 4546866093938887039} - - component: {fileID: 4546866093938887032} - - component: {fileID: 4546866093938887033} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093938887034 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093938887035} - m_LocalRotation: {x: -0, y: -0, z: 0.9769368, w: 0.21352896} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.12847033, y: 0.12847033, z: 0.12847033} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093979228231} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 155.342} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -0.000022888184} - m_SizeDelta: {x: 683.45184, y: 599} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093938887039 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093938887035} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093938887032 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093938887035} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 453405934, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093938887033 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093938887035} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.5 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866093979228224 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093979228231} - m_Layer: 5 - m_Name: GameObject (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093979228231 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093979228224} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093938887034} - m_Father: {fileID: 4546866094067886503} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 495, y: -244} - m_SizeDelta: {x: 87.803314, y: 76.953735} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093989379476 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093989379467} - m_Layer: 5 - m_Name: CircleUnfilled (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &4546866093989379467 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093989379476} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094613400438} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 1228, y: -1513} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866093994900252 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866093994900243} - - component: {fileID: 4546866093994900241} - - component: {fileID: 4546866093994900242} - - component: {fileID: 4546866093994900240} - m_Layer: 5 - m_Name: Image (8) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866093994900243 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093994900252} - m_LocalRotation: {x: -0, y: -0, z: 0.88863325, w: -0.4586187} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.11030334, y: 0.11030334, z: 0.11030334} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094965814293} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 234.59601} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 683.45184, y: 599} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866093994900241 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093994900252} - m_CullTransparentMesh: 1 ---- !u!114 &4546866093994900242 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093994900252} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 453405934, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866093994900240 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866093994900252} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.8 - degreesPerSecond: 0.5 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866094002075913 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094002075912} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094002075912 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094002075913} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093816614577} - m_Father: {fileID: 4546866093466153985} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -1286, y: -449} - m_SizeDelta: {x: 98.406006, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094067886496 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094067886503} - m_Layer: 5 - m_Name: Traingle (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094067886503 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094067886496} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093979228231} - - {fileID: 4546866093586311344} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 7 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -1513} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094131646375 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094131646374} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094131646374 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094131646375} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.3322814, y: 0.3322814, z: 0.3322814} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092928958634} - m_Father: {fileID: 4546866093422621752} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 316, y: -531} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094189182792 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094189182799} - - component: {fileID: 4546866094189182796} - - component: {fileID: 4546866094189182797} - - component: {fileID: 4546866094189182798} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094189182799 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094189182792} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094439179297} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094189182796 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094189182792} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094189182797 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094189182792} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.98823535, g: 0.654902, b: 0.54509807, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094189182798 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094189182792} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094191985370 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094191985369} - m_Layer: 5 - m_Name: Accent Shape - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094191985369 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094191985370} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094512971818} - m_Father: {fileID: 4546866094312012755} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 2290} - m_SizeDelta: {x: 3080.1602, y: 1824} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094205990838 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094205990837} - m_Layer: 5 - m_Name: Circle (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094205990837 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094205990838} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094389357507} - - {fileID: 4546866094226390445} - - {fileID: 4546866093927668584} - - {fileID: 4546866093754571327} - - {fileID: 4546866094540567397} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 10 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 1178, y: -828} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094217034983 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094217034982} - - component: {fileID: 4546866094217034980} - - component: {fileID: 4546866094217034971} - - component: {fileID: 4546866094217034981} - m_Layer: 5 - m_Name: Image (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094217034982 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094217034983} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093100620762} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094217034980 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094217034983} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094217034971 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094217034983} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.65 - degreesPerSecond: 0.1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!114 &4546866094217034981 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094217034983} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.6039216} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4546866094226390446 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094226390445} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094226390445 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094226390446} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.3322814, y: 0.3322814, z: 0.3322814} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094353103095} - m_Father: {fileID: 4546866094205990837} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 316, y: -531} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094232599995 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094232599994} - m_Layer: 5 - m_Name: Circle (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094232599994 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094232599995} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092939546065} - - {fileID: 4546866093000299453} - - {fileID: 4546866094240909476} - - {fileID: 4546866093122383448} - - {fileID: 4546866093068510594} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 9 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -887, y: -600} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094240909477 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094240909476} - m_Layer: 5 - m_Name: 4 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094240909476 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094240909477} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093231652943} - m_Father: {fileID: 4546866094232599994} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -555, y: -315} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094285231893 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094285231892} - - component: {fileID: 4546866094285231882} - - component: {fileID: 4546866094285231883} - - component: {fileID: 4546866094285231881} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094285231892 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094285231893} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094361506142} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000061035156} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094285231882 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094285231893} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094285231883 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094285231893} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094285231881 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094285231893} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.26 - degreesPerSecond: 3 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 25, y: 34, z: 40} ---- !u!1 &4546866094296565231 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094296565230} - - component: {fileID: 4546866094296565219} - - component: {fileID: 4546866094296565228} - - component: {fileID: 4546866094296565229} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094296565230 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094296565231} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093927668584} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094296565219 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094296565231} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094296565228 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094296565231} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094296565229 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094296565231} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094305569982 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094305569981} - - component: {fileID: 4546866094305569980} - - component: {fileID: 4546866094305569971} - m_Layer: 5 - m_Name: Shapes - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094305569981 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094305569982} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093515423457} - - {fileID: 4546866093513155648} - - {fileID: 4546866093466153985} - - {fileID: 4546866093513562880} - - {fileID: 4546866093485270242} - - {fileID: 4546866093989379467} - - {fileID: 4546866094438820944} - - {fileID: 4546866094067886503} - - {fileID: 4546866094467994608} - - {fileID: 4546866094232599994} - - {fileID: 4546866094205990837} - - {fileID: 4546866093422621752} - m_Father: {fileID: 4546866094312012755} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &4546866094305569980 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094305569982} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d4a9fdc8af767aa41839bfb6771cff6f, type: 3} - m_Name: - m_EditorClassIdentifier: - cube: {fileID: 4546866094305569982} - scale: 1920 - onlyScaleMobile: 0 ---- !u!223 &4546866094305569971 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094305569982} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 2 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 1 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 1 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 0 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!1 &4546866094312012764 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094312012755} - - component: {fileID: 4546866094312012753} - - component: {fileID: 4546866094312012759} - m_Layer: 5 - m_Name: BG - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094312012755 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094312012764} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 109} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093758487717} - - {fileID: 4546866094305569981} - - {fileID: 4546866094191985369} - m_Father: {fileID: 4546866093581424176} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 7680, y: 4320} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094312012753 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094312012764} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094312012759 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094312012764} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Texture: {fileID: 0} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!1 &4546866094353103088 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094353103095} - - component: {fileID: 4546866094353103092} - - component: {fileID: 4546866094353103093} - - component: {fileID: 4546866094353103094} - m_Layer: 5 - m_Name: Image (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094353103095 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094353103088} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094226390445} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000061035156, y: -0.000061035156} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094353103092 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094353103088} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094353103093 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094353103088} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.5137255, g: 0.9960785, b: 0.7254902, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094353103094 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094353103088} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.26 - degreesPerSecond: 3 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 25, y: 34, z: 40} ---- !u!1 &4546866094361506143 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094361506142} - m_Layer: 5 - m_Name: 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094361506142 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094361506143} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.3322814, y: 0.3322814, z: 0.3322814} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094285231892} - m_Father: {fileID: 4546866093515423457} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 316, y: -531} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094377284535 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094377284534} - - component: {fileID: 4546866094377284532} - - component: {fileID: 4546866094377284533} - - component: {fileID: 4546866094377284523} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094377284534 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094377284535} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094888791805} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 300, y: 300} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094377284532 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094377284535} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094377284533 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094377284535} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.6, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -81369497, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094377284523 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094377284535} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.05 - degreesPerSecond: 0.05 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 0, y: 0, z: 0} ---- !u!1 &4546866094389357516 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094389357507} - m_Layer: 5 - m_Name: 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094389357507 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094389357516} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5130893, y: 0.5130893, z: 0.5130893} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093594374736} - m_Father: {fileID: 4546866094205990837} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -355, y: -28.000017} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094415741955 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094415741954} - m_Layer: 5 - m_Name: 4 (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094415741954 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094415741955} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093883565172} - m_Father: {fileID: 4546866093485270242} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 379, y: -107} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094421402608 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094421402615} - - component: {fileID: 4546866094421402612} - - component: {fileID: 4546866094421402613} - - component: {fileID: 4546866094421402614} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094421402615 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094421402608} - m_LocalRotation: {x: -0, y: -0, z: -0.5064099, w: 0.86229295} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.43160525, y: 0.43160525, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093920642063} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: -60.85} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094421402612 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094421402608} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094421402613 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094421402608} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.54509807, b: 0.8000001, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094421402614 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094421402608} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.45 - degreesPerSecond: 0.41 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866094423762677 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094423762676} - - component: {fileID: 4546866094423762666} - - component: {fileID: 4546866094423762667} - - component: {fileID: 4546866094423762665} - m_Layer: 5 - m_Name: Image (6) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094423762676 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094423762677} - m_LocalRotation: {x: -0, y: -0, z: 0.1826808, w: 0.9831723} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.4316052, y: 0.4316052, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866094815387589} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 21.052} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094423762666 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094423762677} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094423762667 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094423762677} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094423762665 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094423762677} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.34 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866094438820945 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094438820944} - m_Layer: 5 - m_Name: Spahes Move (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094438820944 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094438820945} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093920642063} - - {fileID: 4546866092897421555} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 6 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 632, y: -1267} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094439179298 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094439179297} - m_Layer: 5 - m_Name: 4 (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094439179297 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094439179298} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094189182799} - m_Father: {fileID: 4546866093485270242} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -95, y: -834} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094467994609 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094467994608} - m_Layer: 5 - m_Name: Spahes Move (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094467994608 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094467994609} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092859501288} - - {fileID: 4546866093417100504} - m_Father: {fileID: 4546866094305569981} - m_RootOrder: 8 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -97, y: -1159} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094480606034 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094480606033} - - component: {fileID: 4546866094480606038} - - component: {fileID: 4546866094480606039} - - component: {fileID: 4546866094480606032} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094480606033 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094480606034} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092855311773} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094480606038 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094480606034} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094480606039 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094480606034} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.98823535, g: 0.654902, b: 0.54509807, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094480606032 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094480606034} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094512971819 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094512971818} - - component: {fileID: 4546866094512971823} - - component: {fileID: 4546866094512971816} - - component: {fileID: 4546866094512971817} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094512971818 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094512971819} - m_LocalRotation: {x: -0.20248653, y: -0.0042414838, z: -0.020508386, w: 0.9790611} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.8399999, y: 2, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092982100603} - m_Father: {fileID: 4546866094191985369} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: -23.37, y: 0, z: -2.4} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -282, y: 163.75} - m_SizeDelta: {x: 1674, y: 912} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094512971823 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094512971819} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094512971816 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094512971819} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.9176471, g: 0.96470594, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: f148bf16f6894aa41a406846c4e6e623, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094512971817 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094512971819} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.1 - degreesPerSecond: 1 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: -500, z: 0} - FinalPosition: {x: 0, y: -550, z: 0} - Rotation: {x: 0, y: 0, z: 0} ---- !u!1 &4546866094535643727 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094535643726} - - component: {fileID: 4546866094535643715} - - component: {fileID: 4546866094535643724} - - component: {fileID: 4546866094535643725} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094535643726 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094535643727} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093518206213} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094535643715 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094535643727} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094535643724 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094535643727} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.98823535, g: 0.654902, b: 0.54509807, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094535643725 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094535643727} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.25 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094540567398 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094540567397} - m_Layer: 5 - m_Name: 4 (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094540567397 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094540567398} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093417677126} - m_Father: {fileID: 4546866094205990837} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -95, y: -834} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094613400439 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094613400438} - m_Layer: 5 - m_Name: 7 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094613400438 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094613400439} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.8485, y: 1.8485, z: 1.8485} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093146366868} - m_Father: {fileID: 4546866093989379467} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -827, y: -1069.4} - m_SizeDelta: {x: 300, y: 300} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094642229086 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094642229085} - m_Layer: 5 - m_Name: 1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094642229085 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094642229086} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5130893, y: 0.5130893, z: 0.5130893} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866092959340369} - m_Father: {fileID: 4546866093422621752} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -355, y: -28.000017} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094662382768 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094662382775} - - component: {fileID: 4546866094662382772} - - component: {fileID: 4546866094662382773} - - component: {fileID: 4546866094662382774} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094662382775 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094662382768} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093451569923} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094662382772 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094662382768} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094662382773 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094662382768} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094662382774 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094662382768} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094710918773 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094710918772} - - component: {fileID: 4546866094710918761} - - component: {fileID: 4546866094710918762} - - component: {fileID: 4546866094710918763} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094710918772 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094710918773} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093524521342} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094710918761 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094710918773} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094710918762 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094710918773} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.7254902, g: 0.87843144, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094710918763 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094710918773} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094711302005 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094711302004} - - component: {fileID: 4546866094711301993} - - component: {fileID: 4546866094711301994} - - component: {fileID: 4546866094711301995} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094711302004 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094711302005} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.31372672, y: 0.31372672, z: 0.31372672} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866093754571327} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094711301993 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094711302005} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094711301994 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094711302005} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.8862746, b: 0.74509805, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: -2072618194, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094711301995 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094711302005} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.5 - degreesPerSecond: 0.4 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 58, y: 84, z: 34} ---- !u!1 &4546866094815387590 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094815387589} - m_Layer: 5 - m_Name: 3 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094815387589 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094815387590} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094423762676} - m_Father: {fileID: 4546866093466153985} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 30, y: -567} - m_SizeDelta: {x: 98.40599, y: 61.287964} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094843542115 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094843542114} - - component: {fileID: 4546866094843542119} - - component: {fileID: 4546866094843542112} - - component: {fileID: 4546866094843542113} - m_Layer: 5 - m_Name: Image (5) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094843542114 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094843542115} - m_LocalRotation: {x: -0, y: -0, z: -0.5064099, w: 0.86229295} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.43160525, y: 0.43160525, z: 0.43160522} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4546866092859501288} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: -60.85} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 228, y: 142} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4546866094843542119 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094843542115} - m_CullTransparentMesh: 1 ---- !u!114 &4546866094843542112 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094843542115} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0.54509807, b: 0.8000001, a: 0.34901962} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 1758506076, guid: 64f4af66c4f6a02428e72182a3fd6a80, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4546866094843542113 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094843542115} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a38f4a78fe660a84a8bf065c05b0c8c3, type: 3} - m_Name: - m_EditorClassIdentifier: - speed: 0.45 - degreesPerSecond: 0.41 - curveX: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - InitialPosition: {x: 0, y: 0, z: 0} - FinalPosition: {x: 0, y: 0, z: 0} - Rotation: {x: 50, y: 65, z: 50} ---- !u!1 &4546866094888791806 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094888791805} - m_Layer: 5 - m_Name: 7 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094888791805 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094888791806} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.8485, y: 1.8485, z: 1.8485} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866094377284534} - m_Father: {fileID: 4546866093513155648} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -827, y: -1069.4} - m_SizeDelta: {x: 300, y: 300} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094902820440 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094902820447} - m_Layer: 5 - m_Name: 4 (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094902820447 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094902820440} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093245680729} - m_Father: {fileID: 4546866093515423457} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 379, y: -107} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &4546866094965814294 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4546866094965814293} - m_Layer: 5 - m_Name: GameObject (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4546866094965814293 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4546866094965814294} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4546866093994900243} - m_Father: {fileID: 4546866093513562880} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -661, y: -577} - m_SizeDelta: {x: 75.387024, y: 66.07172} - m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab.meta deleted file mode 100644 index ba652052c..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/Dynamic Background.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d2073171fdaa259469d91f20b9b6cf17 -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab deleted file mode 100644 index 3a25e02c6..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab +++ /dev/null @@ -1,1136 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &377211283740429879 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6534412299432871727} - - component: {fileID: 7045671062346391518} - - component: {fileID: 5840703379983740305} - m_Layer: 5 - m_Name: BG - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6534412299432871727 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8368185024531543926} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.00052643, y: -0.00122} - m_SizeDelta: {x: 510.8092, y: 515.88} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7045671062346391518 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_CullTransparentMesh: 1 ---- !u!114 &5840703379983740305 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.8396226, g: 0.8396226, b: 0.8396226, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 822f988632a8d1e4eaf8c48a64f114fd, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1585872074127001833 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8153481091150003373} - - component: {fileID: 7541521060975267945} - - component: {fileID: 1184473691834264988} - - component: {fileID: 3908739046322989221} - m_Layer: 5 - m_Name: Mask - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8153481091150003373 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5865748283406482728} - m_Father: {fileID: 8368185024531543926} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.00052261, y: -0.0000019073486} - m_SizeDelta: {x: 492.5164, y: 479.8882} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7541521060975267945 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_CullTransparentMesh: 1 ---- !u!114 &1184473691834264988 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 822f988632a8d1e4eaf8c48a64f114fd, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3908739046322989221 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ShowMaskGraphic: 0 ---- !u!1 &1850004062007021657 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8788168392122667522} - m_Layer: 5 - m_Name: QR Panel - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &8788168392122667522 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1850004062007021657} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4909953034281529766} - - {fileID: 8368185024531543926} - m_Father: {fileID: 8076574866014554358} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &2203544183764163577 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3969316956470800944} - - component: {fileID: 7867820992885372941} - - component: {fileID: 8359460640924354667} - m_Layer: 5 - m_Name: Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3969316956470800944 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2203544183764163577} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8076574866014554358} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 7.3758, y: -32.0097} - m_SizeDelta: {x: 4078.4844, y: 2366.4902} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7867820992885372941 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2203544183764163577} - m_CullTransparentMesh: 1 ---- !u!114 &8359460640924354667 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2203544183764163577} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3215529119228226055 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4909953034281529766} - - component: {fileID: 1003101488116295666} - - component: {fileID: 7939425065484314893} - m_Layer: 5 - m_Name: Header - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4909953034281529766 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7089558685279630760} - m_Father: {fileID: 8788168392122667522} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: 658.9868} - m_SizeDelta: {x: 850, y: 67.2016} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1003101488116295666 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_CullTransparentMesh: 1 ---- !u!114 &7939425065484314893 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Connect Wallet - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4293519849 - m_fontColor: {r: 0.9150943, g: 0.9150943, b: 0.9150943, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 52 - m_fontSizeBase: 52 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5455918590097035912 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8368185024531543926} - - component: {fileID: 2268755768774888843} - - component: {fileID: 213471189368337058} - m_Layer: 5 - m_Name: QR Code - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8368185024531543926 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6534412299432871727} - - {fileID: 8153481091150003373} - m_Father: {fileID: 8788168392122667522} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 577.7642, y: 515.8825} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!225 &2268755768774888843 -CanvasGroup: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!114 &213471189368337058 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 884edae6b9577c74dab2373fd7d1a8b1, type: 3} - m_Name: - m_EditorClassIdentifier: - audioClip: {fileID: 0} - playAudio: 0 - tweenInOnStart: 1 - tweenInTime: 1 ---- !u!1 &6439922646294248678 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8076574866014554358} - - component: {fileID: 2704016860542296127} - - component: {fileID: 6832460214055734638} - - component: {fileID: 7374580453394333779} - - component: {fileID: 7163004371329352223} - m_Layer: 5 - m_Name: MetaMask UI with Colored Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8076574866014554358 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3969316956470800944} - - {fileID: 8788168392122667522} - - {fileID: 293841021509110826} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!223 &2704016860542296127 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!114 &6832460214055734638 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 3840, y: 2160} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0.5 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!114 &7374580453394333779 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &7163004371329352223 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 395050cd8374dbf4f8c3a0932f61ff05, type: 3} - m_Name: - m_EditorClassIdentifier: - canvasGroup: {fileID: 2268755768774888843} - qrCodePanel: {fileID: 1850004062007021657} - isOpen: 0 - qrImage: {fileID: 3950203764407014509} - otpPanel: {fileID: 4990485137583038978} - background: {fileID: 2203544183764163577} - fadeDuration: 0.5 - description: {fileID: 5504587220700742623} ---- !u!1 &8801738631881413888 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7089558685279630760} - - component: {fileID: 4015458628874823836} - - component: {fileID: 5504587220700742623} - m_Layer: 5 - m_Name: Description - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7089558685279630760 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4909953034281529766} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -94.620735} - m_SizeDelta: {x: 938.8752, y: 58.6008} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4015458628874823836 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_CullTransparentMesh: 1 ---- !u!114 &5504587220700742623 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Scan the QR code in your metamask app - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4290822336 - m_fontColor: {r: 0.754717, g: 0.754717, b: 0.754717, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 41 - m_fontSizeBase: 41 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1001 &2573899431427174588 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 8153481091150003373} - m_Modifications: - - target: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: width - value: 384 - objectReference: {fileID: 0} - - target: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: height - value: 384 - objectReference: {fileID: 0} - - target: {fileID: 1901893919355684761, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Texture - value: - objectReference: {fileID: 2800000, guid: 717e217158e3e694eb447a4a5910fbbd, type: 3} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMax.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMin.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_SizeDelta.x - value: 481.6911 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_SizeDelta.y - value: 481.6911 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0.000023842 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0.000025749 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8739125453532968868, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Name - value: MetaMask QR RawImage - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} ---- !u!114 &3950203764407014509 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - m_PrefabInstance: {fileID: 2573899431427174588} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b56c620f6012af6429dc1ce97ea5aeb4, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!224 &5865748283406482728 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - m_PrefabInstance: {fileID: 2573899431427174588} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &5035838325572611500 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 8076574866014554358} - m_Modifications: - - target: {fileID: 856985863518395958, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: -0.000061035 - objectReference: {fileID: 0} - - target: {fileID: 856985863518395958, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: -254 - objectReference: {fileID: 0} - - target: {fileID: 1183405676231325757, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2714734313992310095, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3312588479195484562, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 530.7941 - objectReference: {fileID: 0} - - target: {fileID: 3312588479195484562, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 101.4302 - objectReference: {fileID: 0} - - target: {fileID: 3312588479195484562, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: -63 - objectReference: {fileID: 0} - - target: {fileID: 3312588479195484562, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: 60 - objectReference: {fileID: 0} - - target: {fileID: 4332644768163851999, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SortingLayer - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMax.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMin.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 1227.1284 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 828.3267 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 5777876816244660639, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: 164.23 - objectReference: {fileID: 0} - - target: {fileID: 5777876816244660639, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: -100 - objectReference: {fileID: 0} - - target: {fileID: 6015860287890676222, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 472.8123 - objectReference: {fileID: 0} - - target: {fileID: 6015860287890676222, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 4.8314 - objectReference: {fileID: 0} - - target: {fileID: 6015860287890676222, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: 209.50778 - objectReference: {fileID: 0} - - target: {fileID: 6015860287890676222, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: -98.77954 - objectReference: {fileID: 0} - - target: {fileID: 6021340919975947382, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 6217051989118167513, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 462.0877 - objectReference: {fileID: 0} - - target: {fileID: 6217051989118167513, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 3.6583 - objectReference: {fileID: 0} - - target: {fileID: 6217051989118167513, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: -343.93167 - objectReference: {fileID: 0} - - target: {fileID: 6217051989118167513, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: -99.36609 - objectReference: {fileID: 0} - - target: {fileID: 6255381356743835954, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_fontSize - value: 34 - objectReference: {fileID: 0} - - target: {fileID: 6255381356743835954, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_fontSizeBase - value: 34 - objectReference: {fileID: 0} - - target: {fileID: 6679804656875098759, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Name - value: OTP Panel - objectReference: {fileID: 0} - - target: {fileID: 6679804656875098759, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6747737215282434016, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 1109.6 - objectReference: {fileID: 0} - - target: {fileID: 6747737215282434016, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 334.2201 - objectReference: {fileID: 0} - - target: {fileID: 6747737215282434016, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: -158.42 - objectReference: {fileID: 0} - - target: {fileID: 6747737215282434016, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: -86.8465 - objectReference: {fileID: 0} - - target: {fileID: 6794275300617282617, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_fontSize - value: 38 - objectReference: {fileID: 0} - - target: {fileID: 6794275300617282617, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_fontSizeBase - value: 38 - objectReference: {fileID: 0} - - target: {fileID: 6954974079852138370, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 527.0477 - objectReference: {fileID: 0} - - target: {fileID: 6954974079852138370, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 98.2162 - objectReference: {fileID: 0} - - target: {fileID: 6954974079852138370, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0.000015259 - objectReference: {fileID: 0} - - target: {fileID: 6954974079852138370, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: 270 - objectReference: {fileID: 0} - - target: {fileID: 7631325021668220152, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SortingLayer - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8423982654817606664, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 1109.1364 - objectReference: {fileID: 0} - - target: {fileID: 8423982654817606664, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 420.542 - objectReference: {fileID: 0} - - target: {fileID: 8423982654817606664, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: -158.67487 - objectReference: {fileID: 0} - - target: {fileID: 8423982654817606664, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: 289.12238 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} ---- !u!224 &293841021509110826 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - m_PrefabInstance: {fileID: 5035838325572611500} - m_PrefabAsset: {fileID: 0} ---- !u!114 &4990485137583038978 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 45923903797546926, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - m_PrefabInstance: {fileID: 5035838325572611500} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4478478a417d48d3b21628f5a664e86e, type: 3} - m_Name: - m_EditorClassIdentifier: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab.meta deleted file mode 100644 index d0bbbc869..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Colored Background.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9e03dfd5b166cc246ae7bbe9c62d6baf -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab deleted file mode 100644 index 4f698fd40..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab +++ /dev/null @@ -1,1050 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &377211283740429879 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6534412299432871727} - - component: {fileID: 7045671062346391518} - - component: {fileID: 5840703379983740305} - m_Layer: 5 - m_Name: BG - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6534412299432871727 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8368185024531543926} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -0.00046192} - m_SizeDelta: {x: 362.7412, y: 359.41} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7045671062346391518 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_CullTransparentMesh: 1 ---- !u!114 &5840703379983740305 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 377211283740429879} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.8396226, g: 0.8396226, b: 0.8396226, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 822f988632a8d1e4eaf8c48a64f114fd, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1585872074127001833 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8153481091150003373} - - component: {fileID: 7541521060975267945} - - component: {fileID: 1184473691834264988} - - component: {fileID: 3908739046322989221} - m_Layer: 5 - m_Name: Mask - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8153481091150003373 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5865748283406482728} - m_Father: {fileID: 8368185024531543926} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.000030518, y: -0.00047684} - m_SizeDelta: {x: 347.1757, y: 335.1969} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7541521060975267945 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_CullTransparentMesh: 1 ---- !u!114 &1184473691834264988 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 822f988632a8d1e4eaf8c48a64f114fd, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3908739046322989221 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1585872074127001833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} - m_Name: - m_EditorClassIdentifier: - m_ShowMaskGraphic: 0 ---- !u!1 &1850004062007021657 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8788168392122667522} - m_Layer: 5 - m_Name: QR Panel - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &8788168392122667522 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1850004062007021657} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4909953034281529766} - - {fileID: 7089558685279630760} - - {fileID: 8368185024531543926} - m_Father: {fileID: 8076574866014554358} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &3215529119228226055 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4909953034281529766} - - component: {fileID: 1003101488116295666} - - component: {fileID: 7939425065484314893} - m_Layer: 5 - m_Name: Header - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4909953034281529766 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8788168392122667522} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -7.0000305, y: 364.42538} - m_SizeDelta: {x: 850, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1003101488116295666 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_CullTransparentMesh: 1 ---- !u!114 &7939425065484314893 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3215529119228226055} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Connect Wallet - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4283256141 - m_fontColor: {r: 0.3019608, g: 0.3019608, b: 0.3019608, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 38 - m_fontSizeBase: 38 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5455918590097035912 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8368185024531543926} - - component: {fileID: 2268755768774888843} - - component: {fileID: 213471189368337058} - m_Layer: 5 - m_Name: QR Code - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8368185024531543926 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6534412299432871727} - - {fileID: 8153481091150003373} - m_Father: {fileID: 8788168392122667522} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -7.0001, y: -35} - m_SizeDelta: {x: 402.52, y: 359.4079} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!225 &2268755768774888843 -CanvasGroup: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!114 &213471189368337058 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5455918590097035912} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 884edae6b9577c74dab2373fd7d1a8b1, type: 3} - m_Name: - m_EditorClassIdentifier: - audioClip: {fileID: 0} - playAudio: 0 - tweenInOnStart: 1 - tweenInTime: 1 ---- !u!1 &6439922646294248678 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8076574866014554358} - - component: {fileID: 2704016860542296127} - - component: {fileID: 6832460214055734638} - - component: {fileID: 7374580453394333779} - - component: {fileID: 7163004371329352223} - m_Layer: 5 - m_Name: MetaMask UI with Dynamic Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8076574866014554358 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 8693613688436065263} - - {fileID: 8788168392122667522} - - {fileID: 6313998725518230372} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!223 &2704016860542296127 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_AdditionalShaderChannelsFlag: 25 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!114 &6832460214055734638 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 1920, y: 1080} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0.5 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!114 &7374580453394333779 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &7163004371329352223 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6439922646294248678} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 395050cd8374dbf4f8c3a0932f61ff05, type: 3} - m_Name: - m_EditorClassIdentifier: - canvasGroup: {fileID: 2268755768774888843} - qrCodePanel: {fileID: 1850004062007021657} - isOpen: 0 - qrImage: {fileID: 3950203764407014509} - otpPanel: {fileID: 1643243715054366028} - background: {fileID: 8693613688436065262} - fadeDuration: 0.5 ---- !u!1 &8801738631881413888 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7089558685279630760} - - component: {fileID: 4015458628874823836} - - component: {fileID: 5504587220700742623} - m_Layer: 5 - m_Name: Description - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7089558685279630760 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8788168392122667522} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: -7, y: 258} - m_SizeDelta: {x: 850, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4015458628874823836 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_CullTransparentMesh: 1 ---- !u!114 &5504587220700742623 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8801738631881413888} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Scan the QR code in your metamask app - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4287072135 - m_fontColor: {r: 0.5294118, g: 0.5294118, b: 0.5294118, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 28 - m_fontSizeBase: 28 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1001 &1616474506555564770 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 8076574866014554358} - m_Modifications: - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMax.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchorMin.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.x - value: 755.8213 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_SizeDelta.y - value: 510.1886 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6679804656875098759, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_Name - value: OTP Panel - objectReference: {fileID: 0} - - target: {fileID: 6679804656875098759, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} ---- !u!114 &1643243715054366028 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 45923903797546926, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - m_PrefabInstance: {fileID: 1616474506555564770} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4478478a417d48d3b21628f5a664e86e, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!224 &6313998725518230372 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4751590749222510982, guid: 9fd24752cf4fec04f9071b0a3c24fd9e, type: 3} - m_PrefabInstance: {fileID: 1616474506555564770} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &2573899431427174588 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 8153481091150003373} - m_Modifications: - - target: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: width - value: 384 - objectReference: {fileID: 0} - - target: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: height - value: 384 - objectReference: {fileID: 0} - - target: {fileID: 1901893919355684761, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Texture - value: - objectReference: {fileID: 2800000, guid: 717e217158e3e694eb447a4a5910fbbd, type: 3} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMax.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchorMin.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_SizeDelta.x - value: 331.2662 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_SizeDelta.y - value: 331.2662 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchoredPosition.x - value: -0.000017166 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0.0000014305 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8739125453532968868, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - propertyPath: m_Name - value: MetaMask QR RawImage - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} ---- !u!114 &3950203764407014509 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 1542943019436598481, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - m_PrefabInstance: {fileID: 2573899431427174588} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b56c620f6012af6429dc1ce97ea5aeb4, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!224 &5865748283406482728 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 8277335847142362516, guid: f94c4f71513d37640b52f4094e97e9e3, type: 3} - m_PrefabInstance: {fileID: 2573899431427174588} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &5169108769518704095 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 8076574866014554358} - m_Modifications: - - target: {fileID: 1588944691690074812, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_Alpha - value: 0.75 - objectReference: {fileID: 0} - - target: {fileID: 1588944691690074812, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_Enabled - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1588944691690074812, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_BlocksRaycasts - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1588944691690074812, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_IgnoreParentGroups - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchorMin.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424177, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_Name - value: Background - objectReference: {fileID: 0} - - target: {fileID: 4546866093581424177, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4546866094312012764, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8470860158041936860, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 9134807210552527206, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} ---- !u!1 &8693613688436065262 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 4546866093581424177, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - m_PrefabInstance: {fileID: 5169108769518704095} - m_PrefabAsset: {fileID: 0} ---- !u!224 &8693613688436065263 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4546866093581424176, guid: d2073171fdaa259469d91f20b9b6cf17, type: 3} - m_PrefabInstance: {fileID: 5169108769518704095} - m_PrefabAsset: {fileID: 0} diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab.meta deleted file mode 100644 index ed69f3ece..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/MetaMask UI with Dynamic Background.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c363ca23f1bd00f41b758192c96d8083 -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab deleted file mode 100644 index 99da9bf19..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab +++ /dev/null @@ -1,1532 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &1183405676231325757 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 856985863518395958} - - component: {fileID: 2753398359487877976} - - component: {fileID: 606823305735616010} - - component: {fileID: 3273917818847182916} - - component: {fileID: 892906291545261737} - m_Layer: 5 - m_Name: Disconnect Button - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &856985863518395958 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183405676231325757} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 695.28906} - m_LocalScale: {x: 1.6292849, y: 1.6292849, z: 1.6292849} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1738390782584415588} - - {fileID: 4295949972570702562} - m_Father: {fileID: 4751590749222510982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 13.182556, y: -199.43} - m_SizeDelta: {x: 402.0996, y: 34.6534} - m_Pivot: {x: 0.5, y: 0} ---- !u!222 &2753398359487877976 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183405676231325757} - m_CullTransparentMesh: 1 ---- !u!114 &606823305735616010 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183405676231325757} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 008aebc663b1c0b488f40d18d26ac1bb, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 11.79 ---- !u!114 &3273917818847182916 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183405676231325757} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 0.011764707, g: 0.4901961, b: 0.83921576, a: 1} - m_HighlightedColor: {r: 0.08235294, g: 0.39607844, b: 0.7529412, a: 1} - m_PressedColor: {r: 0.011764707, g: 0.4901961, b: 0.83921576, a: 1} - m_SelectedColor: {r: 0.011764707, g: 0.4901961, b: 0.83921576, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 606823305735616010} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 45923903797546926} - m_TargetAssemblyTypeName: MetaMask.Transports.Unity.UI.MetaMaskOTPPanel, - MetaMaskUnity.Runtime - m_MethodName: OnDisconnect - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!82 &892906291545261737 -AudioSource: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183405676231325757} - m_Enabled: 1 - serializedVersion: 4 - OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 0} - m_PlayOnAwake: 0 - m_Volume: 0.449 - m_Pitch: 1 - Loop: 0 - Mute: 0 - Spatialize: 0 - SpatializePostEffects: 0 - Priority: 128 - DopplerLevel: 1 - MinDistance: 1 - MaxDistance: 500 - Pan2D: 0 - rolloffMode: 0 - BypassEffects: 0 - BypassListenerEffects: 0 - BypassReverbZones: 0 - rolloffCustomCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 1 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - panLevelCustomCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - spreadCustomCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - reverbZoneMixCustomCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 ---- !u!1 &1301874994801964035 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8423982654817606664} - - component: {fileID: 6716903020152288247} - - component: {fileID: 2411377507205221984} - m_Layer: 5 - m_Name: TopHalf - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8423982654817606664 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1301874994801964035} - m_LocalRotation: {x: 0, y: 0, z: -1, w: 0} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5777876816244660639} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: -180} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -3.5368, y: 230.3} - m_SizeDelta: {x: 798.8602, y: 302.8972} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6716903020152288247 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1301874994801964035} - m_CullTransparentMesh: 1 ---- !u!114 &2411377507205221984 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1301874994801964035} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 488de1d0461bb14438957c0d125d1a27, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 4 ---- !u!1 &1314478609664877487 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1738390782584415588} - - component: {fileID: 3007049950844289212} - - component: {fileID: 1540118461981570206} - m_Layer: 5 - m_Name: Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1738390782584415588 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1314478609664877487} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 856985863518395958} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.0000075251, y: 0.0000038146973} - m_SizeDelta: {x: 398.6467, y: 31.8439} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3007049950844289212 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1314478609664877487} - m_CullTransparentMesh: 1 ---- !u!114 &1540118461981570206 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1314478609664877487} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 008aebc663b1c0b488f40d18d26ac1bb, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 11.79 ---- !u!1 &1616153104873801725 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6015860287890676222} - - component: {fileID: 997896206343182649} - - component: {fileID: 3713565746857002617} - m_Layer: 0 - m_Name: DividerRight - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6015860287890676222 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1616153104873801725} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 411431599298750533} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 126.518524, y: -100} - m_SizeDelta: {x: 306.8338, y: 2.3905} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &997896206343182649 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1616153104873801725} - m_CullTransparentMesh: 1 ---- !u!114 &3713565746857002617 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1616153104873801725} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.83921576, g: 0.85098046, b: 0.86274517, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1754945773686993995 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5073039476282446024} - - component: {fileID: 4990645345997470863} - - component: {fileID: 6255381356743835954} - m_Layer: 0 - m_Name: OrText - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5073039476282446024 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1754945773686993995} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 411431599298750533} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -69.74957, y: -97.459076} - m_SizeDelta: {x: 700.5007, y: 67.0818} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4990645345997470863 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1754945773686993995} - m_CullTransparentMesh: 1 ---- !u!114 &6255381356743835954 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1754945773686993995} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: or - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4284570195 - m_fontColor: {r: 0.3254902, g: 0.3529412, b: 0.38039216, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 24 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2714734313992310095 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5489269269375405834} - m_Layer: 5 - m_Name: ResumeWithCode - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &5489269269375405834 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2714734313992310095} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6018523544108943553} - - {fileID: 8734063940264174270} - m_Father: {fileID: 4751590749222510982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &3604039626650330303 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6217051989118167513} - - component: {fileID: 6009874023587889946} - - component: {fileID: 6726437740761655791} - m_Layer: 0 - m_Name: DividerLeft - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6217051989118167513 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3604039626650330303} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 411431599298750533} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -266.51163, y: -100} - m_SizeDelta: {x: 307.2477, y: 2.3905} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6009874023587889946 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3604039626650330303} - m_CullTransparentMesh: 1 ---- !u!114 &6726437740761655791 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3604039626650330303} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.83921576, g: 0.85098046, b: 0.86274517, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3802800503891758670 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6954974079852138370} - - component: {fileID: 9025027281415261538} - - component: {fileID: 4949548439422005332} - m_Layer: 5 - m_Name: Logo - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6954974079852138370 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3802800503891758670} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4751590749222510982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 13.183, y: 196} - m_SizeDelta: {x: 381, y: 71} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9025027281415261538 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3802800503891758670} - m_CullTransparentMesh: 1 ---- !u!114 &4949548439422005332 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3802800503891758670} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 8d9c45869374b664b81a250f81f363ec, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &5275997198860306368 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5777876816244660639} - m_Layer: 5 - m_Name: Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5777876816244660639 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5275997198860306368} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 8423982654817606664} - - {fileID: 6747737215282434016} - m_Father: {fileID: 4751590749222510982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 11, y: -101} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &6021340919975947382 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 411431599298750533} - m_Layer: 0 - m_Name: ResumeWIthOpen - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &411431599298750533 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6021340919975947382} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 65.55328, y: 26.37143, z: -7.7266245} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3312588479195484562} - - {fileID: 6217051989118167513} - - {fileID: 5073039476282446024} - - {fileID: 6015860287890676222} - m_Father: {fileID: 4751590749222510982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &6086993058777616867 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8734063940264174270} - - component: {fileID: 1327444282835160038} - - component: {fileID: 9020589096059800127} - m_Layer: 5 - m_Name: Code - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8734063940264174270 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6086993058777616867} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5489269269375405834} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.000030517, y: -0.000013351} - m_SizeDelta: {x: 723.1039, y: 100.52} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1327444282835160038 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6086993058777616867} - m_CullTransparentMesh: 1 ---- !u!114 &9020589096059800127 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6086993058777616867} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 3045 - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 1410b767db5f2474aa7d0b0c7764db98, type: 2} - m_sharedMaterial: {fileID: -7672897273165428658, guid: 1410b767db5f2474aa7d0b0c7764db98, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4278190080 - m_fontColor: {r: 0, g: 0, b: 0, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 52 - m_fontSizeBase: 52 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6679804656875098759 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4751590749222510982} - - component: {fileID: 8290723059239505651} - - component: {fileID: 45923903797546926} - m_Layer: 5 - m_Name: OTP Panel - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &4751590749222510982 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6679804656875098759} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5777876816244660639} - - {fileID: 6954974079852138370} - - {fileID: 856985863518395958} - - {fileID: 5489269269375405834} - - {fileID: 411431599298750533} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 755.8213, y: 510.1886} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!225 &8290723059239505651 -CanvasGroup: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6679804656875098759} - m_Enabled: 1 - m_Alpha: 1 - m_Interactable: 1 - m_BlocksRaycasts: 1 - m_IgnoreParentGroups: 0 ---- !u!114 &45923903797546926 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6679804656875098759} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4478478a417d48d3b21628f5a664e86e, type: 3} - m_Name: - m_EditorClassIdentifier: - codeText: {fileID: 9020589096059800127} - otpCodeDisplay: {fileID: 2714734313992310095} - simpleTextDisplay: {fileID: 6021340919975947382} ---- !u!1 &7657022319446177028 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6018523544108943553} - - component: {fileID: 982644136101007116} - - component: {fileID: 3746593686690029166} - m_Layer: 5 - m_Name: Instructions - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6018523544108943553 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7657022319446177028} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5489269269375405834} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 8.232407, y: 79.394226} - m_SizeDelta: {x: 438.3315, y: 75.3071} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &982644136101007116 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7657022319446177028} - m_CullTransparentMesh: 1 ---- !u!114 &3746593686690029166 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7657022319446177028} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Open the MetaMask app and select the code on this screen to continue - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 25e6546b30de74641a7d135b443cf5dc, type: 2} - m_sharedMaterial: {fileID: -7581536809202965839, guid: 25e6546b30de74641a7d135b443cf5dc, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4278190080 - m_fontColor: {r: 0, g: 0, b: 0, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 24 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7974412769726595226 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3312588479195484562} - - component: {fileID: 9015314280676289531} - - component: {fileID: 6794275300617282617} - m_Layer: 5 - m_Name: Instructions - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3312588479195484562 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974412769726595226} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 7.7266245} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 411431599298750533} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -57.32086, y: 34.4} - m_SizeDelta: {x: 438.3315, y: 75.3071} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9015314280676289531 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974412769726595226} - m_CullTransparentMesh: 1 ---- !u!114 &6794275300617282617 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974412769726595226} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Open the MetaMask app to continue with your session. - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 25e6546b30de74641a7d135b443cf5dc, type: 2} - m_sharedMaterial: {fileID: -7581536809202965839, guid: 25e6546b30de74641a7d135b443cf5dc, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4278190080 - m_fontColor: {r: 0, g: 0, b: 0, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 28 - m_fontSizeBase: 28 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8924702634975910434 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6747737215282434016} - - component: {fileID: 5108756408221558749} - - component: {fileID: 6280002738903190903} - m_Layer: 5 - m_Name: BottomHalf - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6747737215282434016 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8924702634975910434} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5777876816244660639} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -3.0179, y: -40} - m_SizeDelta: {x: 798.8386, y: 240.5271} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5108756408221558749 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8924702634975910434} - m_CullTransparentMesh: 1 ---- !u!114 &6280002738903190903 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8924702634975910434} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 488de1d0461bb14438957c0d125d1a27, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 4 ---- !u!1 &8953107957574401519 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4295949972570702562} - - component: {fileID: 6176718637738143926} - - component: {fileID: 4524691777346223504} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4295949972570702562 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8953107957574401519} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 856985863518395958} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -1.9570007, y: 0.43489838} - m_SizeDelta: {x: -3.9141, y: -0.8698} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6176718637738143926 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8953107957574401519} - m_CullTransparentMesh: 1 ---- !u!114 &4524691777346223504 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8953107957574401519} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Disconnect - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 1410b767db5f2474aa7d0b0c7764db98, type: 2} - m_sharedMaterial: {fileID: -7672897273165428658, guid: 1410b767db5f2474aa7d0b0c7764db98, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4292246787 - m_fontColor: {r: 0.011764706, g: 0.49019608, b: 0.8392157, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 14 - m_fontSizeBase: 14 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 0 - m_fontSizeMax: 0 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: -6.03 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 0 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab.meta deleted file mode 100644 index 9d683a7c9..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Prefabs/UI/OTP Panel.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9fd24752cf4fec04f9071b0a3c24fd9e -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Transports/UnityUI.asset b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Transports/UnityUI.asset index 8eab5b776..0ba61337a 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Transports/UnityUI.asset +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Resources/MetaMask/Transports/UnityUI.asset @@ -12,6 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 20df40b080d9d4749ba22a363ec31ab8, type: 3} m_Name: UnityUI m_EditorClassIdentifier: - spawnCanvas: 0 + userAgent: UnityUGUITransport/1.0.0 + _useDeeplink: 1 + spawnCanvas: 1 metaMaskCanvas: {fileID: 6439922646294248678, guid: 9e03dfd5b166cc246ae7bbe9c62d6baf, type: 3} - useUniversalLinks: 0 diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.0/MetaMask.SDK.dll b/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.0/MetaMask.SDK.dll index 91b995551..ebe2f9104 100644 Binary files a/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.0/MetaMask.SDK.dll and b/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.0/MetaMask.SDK.dll differ diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.1/MetaMask.SDK.dll b/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.1/MetaMask.SDK.dll index 8a8f1cb8f..0472bebf3 100644 Binary files a/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.1/MetaMask.SDK.dll and b/Assets/Thirdweb/Core/Plugins/MetaMask/Runtime/netstandard2.1/MetaMask.SDK.dll differ diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskSDK.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskSDK.cs index 2eaca2129..ce7958d14 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskSDK.cs +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskSDK.cs @@ -17,7 +17,6 @@ using MetaMask.Providers; using MetaMask.Scripts.Utilities; using MetaMask.SocketIOClient; -using MetaMask.Sockets; using MetaMask.Transports; using MetaMask.Transports.Unity; using MetaMask.Transports.Unity.UI; @@ -29,6 +28,8 @@ using UnityEngine.Serialization; #if UNITY_WEBGL && !UNITY_EDITOR using System.Runtime.InteropServices; +#else // Add imports here that are not needed for WebGL build +using MetaMask.Providers.Sockets; #endif namespace MetaMask.Unity @@ -472,9 +473,12 @@ public void ClearSessionData() { if (this.dataManager == null) SetupDataManager(); - + if (this.dataManager != null) + { this.dataManager.Delete(EncryptedProvider.SessionId); + this.dataManager.Delete(EncryptedProvider.ChannelConfigKey); + } } } #endregion @@ -760,7 +764,10 @@ protected virtual async Task _DefaultConnect() protected async Task ConnectWithDefaultChain() { var chainData = DefaultChainInfo; - if (Blockchains.MetaMaskDefaults.Contains((long)defaultChain)) + + // If the defaultChain is "Other" (never valid), check what the chainId is in chainData + long chainId = defaultChain == ChainId.Other ? ChainInfo.ChainToId(chainData.ChainId) : (long)defaultChain; + if (Blockchains.MetaMaskDefaults.Contains(chainId)) { await _wallet.ConnectWith(RpcMethods.WalletSwitchEthereumChain, new object[] { chainData.AsSwitchChainRequest() }); @@ -788,7 +795,7 @@ public void OnConnectRequest() public void OpenConnectionDeepLink() { var url = useUniversalLinks ? this.connectionUniversalLinkUrl : this.connectionDeepLinkUrl; - Debug.Log("Opening Connection URL: " + url); + MetaMaskDebug.Log($"Opening URL: {url}"); OpenDeeplinkURL(url); } diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskUnity.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskUnity.cs index 2245e55f7..ed263bf88 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskUnity.cs +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/MetaMaskUnity.cs @@ -287,7 +287,13 @@ protected void OnApplicationQuit() public void Initialize() { var transport = _transport ? _transport : Resources.Load("MetaMask/Transports/UnityUI"); - var socket = new MetaMaskUnitySocketIO(); + +#if !UNITY_WEBGL || UNITY_EDITOR + var socket = new MetaMask.Providers.Sockets.MetaMaskUnitySocketIO(); +#else + IMetaMaskSocketWrapper socket = null; +#endif + Initialize(MetaMaskConfig, transport, socket); } @@ -296,7 +302,13 @@ public void Initialize() public void Initialize(MetaMaskConfig config) { var transport = _transport ? _transport : Resources.Load("MetaMask/Transports/UnityUI"); - var socket = new MetaMaskUnitySocketIO(); + +#if !UNITY_WEBGL || UNITY_EDITOR + var socket = new MetaMask.Providers.Sockets.MetaMaskUnitySocketIO(); +#else + IMetaMaskSocketWrapper socket = null; +#endif + Initialize(config, transport, socket); } diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Models/UnityChainInfo.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Models/UnityChainInfo.cs index 02a21ddc0..40306c363 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Models/UnityChainInfo.cs +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Models/UnityChainInfo.cs @@ -14,7 +14,7 @@ public UnityChainInfo() : base() public UnityChainInfo(ChainInfo other) : base(other) { } - + public bool IsValid() { return !string.IsNullOrWhiteSpace(ChainId) && diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/JsSDKProvider.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/JsSDKProvider.cs index 21c401112..3750920ff 100644 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/JsSDKProvider.cs +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/JsSDKProvider.cs @@ -78,12 +78,6 @@ public override void SendMessage(object data) _SendMetaMaskJS(request.Id, request.Method, json, decodedCallback, errorCallback); } - - public override void LoadOrCreateSession(IAppConfig appConfig, IEciesProvider eciesProvider) - { - // Only save the session data, but nothing else - this.Session = new MetaMaskSession(eciesProvider, new MetaMaskSessionData(appConfig)); - } public override void ClearSession() { @@ -129,6 +123,8 @@ public override void Connect(bool extendedInitAllowed = false) throw new Exception("AppName cannot be null or empty. Please set in Tools > MetaMask > Setup Window"); } + this.Session = new MetaMaskSession(new MetaMaskSessionData(_appConfig), new ChannelConfig()); + _InitMetaMaskJS(_appConfig.AppName, _appConfig.AppUrl, _appConfig.AppIcon, this._unitySdk.InfuraProjectId, JsonConvert.SerializeObject(rpcMap), walletCallback, providerCallback, errorCallback, eventCallback, extendedInitAllowed, Debug.isDebugBuild); @@ -140,6 +136,13 @@ private void OnEthereumEvent(string json) EthereumEventReceived?.Invoke(this, new JsonRpcEventArgs(payload, json)); } + protected override void OnWalletAuthorized() + { + ValidateProvider(); + + base.OnWalletAuthorized(); + } + private void ConnectCallback() { ProviderConnected?.Invoke(this, EventArgs.Empty); diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets.meta similarity index 100% rename from Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets.meta rename to Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets.meta diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets/MetaMaskUnitySocketIO.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets/MetaMaskUnitySocketIO.cs new file mode 100644 index 000000000..633e4b3dd --- /dev/null +++ b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets/MetaMaskUnitySocketIO.cs @@ -0,0 +1,165 @@ +#if !UNITY_WEBGL || UNITY_EDITOR +using System; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using System.Threading.Tasks; +using MetaMask.SocketIOClient; +using MetaMask.SocketIOClient.Transport; +using MetaMask.Sockets; +using UnityEngine.Networking; + +namespace MetaMask.Providers.Sockets +{ + + public class MetaMaskUnitySocketIO : IMetaMaskSocketWrapper + { + + /// Raised when the connection to the server is established. + public event EventHandler Connected; + + /// Raised when the socket has been disconnected. + public event EventHandler Disconnected; + + /// The socket. + protected SocketIOUnity socket; + + public SocketIO Socket => this.socket; + + /// Creates a new MetaMaskUnitySocketIO instance. + public MetaMaskUnitySocketIO() + { + } + + public async Task<(string, bool, string)> SendWebRequest(string url, string data, Dictionary headers) + { + using (var uwr = new UnityWebRequest(url, UnityWebRequest.kHttpVerbPOST, new DownloadHandlerBuffer(), + new UploadHandlerRaw(Encoding.UTF8.GetBytes(data)))) + { + if (headers != null) + { + foreach (var header in headers) + { + uwr.SetRequestHeader(header.Key, header.Value); + } + } + + await uwr.SendWebRequest(); + + return (uwr.downloadHandler.text, uwr.result == UnityWebRequest.Result.Success, uwr.error); + } + } + + /// Initializes the socket.0 + /// The URL of the socket. + /// The options for the socket. + public void Initialize(string url, MetaMaskSocketOptions options) + { + var socketOptions = new SocketIOOptions(); + socketOptions.ExtraHeaders = options.ExtraHeaders; + socketOptions.Transport = TransportProtocol.WebSocket; + socketOptions.AutoUpgrade = true; + + this.socket = new SocketIOUnity(url, socketOptions); + + this.socket.OnConnected += OnSocketConnected; + this.socket.OnDisconnected += OnSocketDisconnected; + } + + private void OnSocketDisconnected(object sender, string e) + { + Debug.Log(e); + Disconnected?.Invoke(this, EventArgs.Empty); + } + + private void OnSocketConnected(object sender, EventArgs e) + { + Connected?.Invoke(this, e); + } + + /// Connects to the server. + /// A task that represents the asynchronous connect operation. + public Task ConnectAsync() + { + this.socket.Connect(); + return Task.CompletedTask; + } + + /// Disconnects the socket. + public Task DisconnectAsync() + { + if (this.socket != null) + this.socket.Disconnect(); + return Task.CompletedTask; + } + + /// Disposes of the socket. + public void Dispose() + { + if (this.socket != null) + this.socket.Dispose(); + } + + /// Emit an event to the server. + /// The name of the event. + /// The data to send with the event. + public void Emit(string eventName, params object[] data) + { + if (this.socket != null) + this.socket.Emit(eventName, data); + } + + public async void EmitOrError(string eventName, Action onError, params object[] data) + { + if (this.socket != null) + await this.socket.EmitAsync(eventName, (response) => + { + var error = response.GetValue(0); + if (!string.IsNullOrWhiteSpace(error)) + { + onError(error); + } + }, data); + } + + public async void EmitWithResultOrError(string eventName, Action onResult, Action onError, params object[] data) + { + if (this.socket != null) + { + await this.socket.EmitAsync(eventName, (response) => + { + var error = response.GetValue(0); + if (!string.IsNullOrWhiteSpace(error)) + { + onError(error); + } + else + { + var result = response.GetValue(1); + onResult(result); + } + }, data); + } + } + + /// Registers a callback for the specified event. + /// The name of the event. + /// The callback to register. + public void On(string eventName, Action callback) + { + this.socket.On(eventName, response => + { + callback(response.ToString()); + }); + } + + /// Removes the specified callback from the list of callbacks for the specified event. + /// The name of the event. + /// The callback to remove. + public void Off(string eventName, Action callback = null) + { + this.socket.Off(eventName); + } + } +} +#endif \ No newline at end of file diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets/MetaMaskUnitySocketIO.cs.meta b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets/MetaMaskUnitySocketIO.cs.meta similarity index 100% rename from Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets/MetaMaskUnitySocketIO.cs.meta rename to Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Providers/Sockets/MetaMaskUnitySocketIO.cs.meta diff --git a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets/MetaMaskUnitySocketIO.cs b/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets/MetaMaskUnitySocketIO.cs deleted file mode 100644 index a9da83921..000000000 --- a/Assets/Thirdweb/Core/Plugins/MetaMask/Scripts/Sockets/MetaMaskUnitySocketIO.cs +++ /dev/null @@ -1,353 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using UnityEngine; -#if UNITY_WEBGL && !UNITY_EDITOR -using System.Runtime.InteropServices; -using Newtonsoft.Json; -#endif -using System.Threading.Tasks; - -using MetaMask.SocketIOClient; -using MetaMask.SocketIOClient.Transport; -using UnityEngine.Networking; - -namespace MetaMask.Sockets -{ - - public class MetaMaskUnitySocketIO : IMetaMaskSocketWrapper - { - -#if UNITY_WEBGL && !UNITY_EDITOR - /// The name of the Socket.IO game object. - private static readonly string SocketGameObjectName = "SocketIo_Ref"; -#endif - - /// The protocol version. - private static byte _protocol = 0; - /// The protocol version. - public static byte protocol - { - get - { - if (_protocol == 0) - { -#if UNITY_WEBGL && !UNITY_EDITOR - _protocol = GetProtocol(); -#else - _protocol = 5; -#endif - } - return _protocol; - } - } - -#if UNITY_WEBGL && !UNITY_EDITOR - /// Gets the socket for the given id. - /// The id of the socket. - /// The socket for the given id. - private static Dictionary EnabledSockets = new Dictionary(); -#endif - - /// Gets the next socket ID. - /// The next socket ID. - private static int LastSocketId = -1; - - /// Raised when the connection to the server is established. - public event EventHandler Connected; - - /// Raised when the socket has been disconnected. - public event EventHandler Disconnected; - - /// The socket. - protected SocketIOUnity socket; - /// The socket ID of the socket that this instance is associated with. - protected int socketId; -#if UNITY_WEBGL && !UNITY_EDITOR - private event Action Action_AnyEvents; - private Dictionary>> ActionEvents = new Dictionary>>(); -#endif - - public SocketIO Socket => this.socket; - - /// Creates a new MetaMaskUnitySocketIO instance. - public MetaMaskUnitySocketIO() - { - LastSocketId++; - this.socketId = LastSocketId; - } - - public async Task<(string, bool, string)> SendWebRequest(string url, string data, Dictionary headers) - { - using (var uwr = new UnityWebRequest(url, UnityWebRequest.kHttpVerbPOST, new DownloadHandlerBuffer(), - new UploadHandlerRaw(Encoding.UTF8.GetBytes(data)))) - { - if (headers != null) - { - foreach (var header in headers) - { - uwr.SetRequestHeader(header.Key, header.Value); - } - } - - await uwr.SendWebRequest(); - - return (uwr.downloadHandler.text, uwr.result == UnityWebRequest.Result.Success, uwr.error); - } - } - - /// Initializes the socket.0 - /// The URL of the socket. - /// The options for the socket. - public void Initialize(string url, MetaMaskSocketOptions options) - { - var socketOptions = new SocketIOOptions(); - socketOptions.ExtraHeaders = options.ExtraHeaders; - socketOptions.Transport = TransportProtocol.WebSocket; - socketOptions.AutoUpgrade = true; - - this.socket = new SocketIOUnity(url, socketOptions); - - this.socket.OnConnected += OnSocketConnected; - this.socket.OnDisconnected += OnSocketDisconnected; -#if UNITY_WEBGL && !UNITY_EDITOR - //check for gameobject - if (GameObject.Find(SocketGameObjectName) == null) - { - GameObject go = new GameObject(SocketGameObjectName); - go.AddComponent(); - - GameObject.DontDestroyOnLoad(go); - - SetupGameObjectName(SocketGameObjectName); - } - - // TODO: Pass options for WebGL socket.io - this.socketId = EstablishSocket(url, string.Empty); - - EnabledSockets.Add(this.socketId, this); -#endif - } - - private void OnSocketDisconnected(object sender, string e) - { - Debug.Log(e); - Disconnected?.Invoke(this, EventArgs.Empty); - } - - private void OnSocketConnected(object sender, EventArgs e) - { - Connected?.Invoke(this, e); - } - - /// Connects to the server. - /// A task that represents the asynchronous connect operation. - public Task ConnectAsync() - { -#if UNITY_WEBGL && !UNITY_EDITOR - Socket_Connect(this.socketId); - return Task.CompletedTask; -#else - this.socket.Connect(); - return Task.CompletedTask; -#endif - } - - /// Disconnects the socket. - public Task DisconnectAsync() - { -#if UNITY_WEBGL && !UNITY_EDITOR - Socket_Disconnect(this.socketId); - return Task.CompletedTask; -#else - if (this.socket != null) - this.socket.Disconnect(); - return Task.CompletedTask; -#endif - } - - /// Disposes of the socket. - public void Dispose() - { - if (this.socket != null) - this.socket.Dispose(); - } - - /// Emit an event to the server. - /// The name of the event. - /// The data to send with the event. - public void Emit(string eventName, params object[] data) - { -#if UNITY_WEBGL && !UNITY_EDITOR - if (data == null) - { - Socket_Emit(this.socketId, eventName, null); - } - else - { - string result; - result = JsonConvert.SerializeObject(data[0]); - Socket_Emit(this.socketId, eventName, result); - } -#else - if (this.socket != null) - this.socket.Emit(eventName, data); -#endif - } - - /// Registers a callback for the specified event. - /// The name of the event. - /// The callback to register. - public void On(string eventName, Action callback) - { -#if UNITY_WEBGL && !UNITY_EDITOR - if (!this.ActionEvents.ContainsKey(eventName)) - { - this.ActionEvents.Add(eventName, new List>()); - } - this.ActionEvents[eventName].Add(callback); -#else - this.socket.On(eventName, response => - { - callback(response.ToString()); - }); - //this.socket.OnUnityThread(eventName, response => - //{ - // callback(response.ToString()); - //}); -#endif - } - - /// Removes the specified callback from the list of callbacks for the specified event. - /// The name of the event. - /// The callback to remove. - public void Off(string eventName, Action callback = null) - { -#if UNITY_WEBGL && !UNITY_EDITOR - if (callback != null) - { - if (this.ActionEvents.TryGetValue(eventName, out List> value)) - { - value.Remove(callback); - } - } - else - { - this.ActionEvents = new Dictionary>>(); - } -#else - this.socket.Off(eventName); -#endif - } - -#if UNITY_WEBGL && !UNITY_EDITOR - /// Invokes an event. - /// The event name. - /// The event data. - public void InvokeEvent(string ev, string data) - { - Action_AnyEvents?.Invoke(data); - - if (ev == "connect") - { - Connected?.Invoke(this, EventArgs.Empty); - } - - if (ev == "disconnect") - { - //Disconnected?.Invoke(this, EventArgs.Empty); - } - - //invoke event specific events - if (this.ActionEvents.TryGetValue(ev, out List> value)) - { - foreach (Action act in value) - { - act.Invoke(data); - } - } - } - - /// Gets the protocol of the current application. - /// The protocol of the current application. - [DllImport("__Internal")] - private static extern byte GetProtocol(); - - /// Establishes a socket connection to the specified URL. - /// The URL to connect to. - /// The options to use when establishing the connection. - /// The socket ID. - [DllImport("__Internal")] - private static extern int EstablishSocket(string url, string options); - - /// Sets up the name of the game object. - /// The name of the game object. - /// The name of the game object. - [DllImport("__Internal")] - private static extern string SetupGameObjectName(string name); - - /// Determines whether the socket is connected. - /// The socket ID. - /// Whether the socket is connected. - [DllImport("__Internal")] - private static extern bool Socket_IsConnected(int id); - - /// Gets the connection ID of a socket. - /// The socket ID. - /// The connection ID of the socket. - [DllImport("__Internal")] - private static extern string Socket_Get_Conn_Id(int id); - - /// Connects to the server. - /// The socket ID. - [DllImport("__Internal")] - private static extern void Socket_Connect(int id); - - /// Disconnects the socket. - /// The socket's id. - [DllImport("__Internal")] - private static extern void Socket_Disconnect(int id); - - // [DllImport("__Internal")] - // private static extern void Socket_Send(int id, string data); - - /// Emits an event to the socket. - /// The socket ID. - /// The event name. - /// The event data. - [DllImport("__Internal")] - private static extern void Socket_Emit(int id, string ev, string data); - - //gameobject for webgl - public class SocketIoInterface : MonoBehaviour - { - /// Calls the socket event. - /// The data. - public void callSocketEvent(string data) - { - //SocketEvent ev = JsonUtility.FromJson(data); - var ev = JsonConvert.DeserializeObject(data); - if (EnabledSockets.TryGetValue(ev.SocketId, out MetaMaskUnitySocketIO soc)) - { - soc.InvokeEvent(ev.EventName, ev.JsonData); - } - else - { - throw new System.NullReferenceException("socket does not exist"); - } - } - } - - private struct SocketEvent - { - /// The Event Name. - public string EventName; - /// The Socket ID. - public int SocketId; - /// The JSON Data. - public string JsonData; - } -#endif - } - -} \ No newline at end of file diff --git a/Assets/Thirdweb/Core/Plugins/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset b/Assets/Thirdweb/Core/Plugins/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset index d584004fe..e33a9e12d 100644 --- a/Assets/Thirdweb/Core/Plugins/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset +++ b/Assets/Thirdweb/Core/Plugins/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset @@ -196,45 +196,18 @@ MonoBehaviour: m_StrikethroughOffset: 18 m_StrikethroughThickness: 6.298828 m_TabWidth: 24 - m_GlyphTable: - - m_Index: 867 - m_Metrics: - m_Width: 45 - m_Height: 47 - m_HorizontalBearingX: 3 - m_HorizontalBearingY: 46 - m_HorizontalAdvance: 50 - m_GlyphRect: - m_X: 10 - m_Y: 10 - m_Width: 45 - m_Height: 47 - m_Scale: 1 - m_AtlasIndex: 0 - m_ClassDefinitionType: 0 - m_CharacterTable: - - m_ElementType: 1 - m_Unicode: 945 - m_GlyphIndex: 867 - m_Scale: 1 + m_GlyphTable: [] + m_CharacterTable: [] m_AtlasTextures: - {fileID: 28268798066460806} m_AtlasTextureIndex: 0 m_IsMultiAtlasTexturesEnabled: 0 m_ClearDynamicDataOnBuild: 1 - m_UsedGlyphRects: - - m_X: 0 - m_Y: 0 - m_Width: 64 - m_Height: 66 + m_UsedGlyphRects: [] m_FreeGlyphRects: - m_X: 0 - m_Y: 66 - m_Width: 511 - m_Height: 445 - - m_X: 64 m_Y: 0 - m_Width: 447 + m_Width: 511 m_Height: 511 m_fontInfo: Name: Liberation Sans @@ -349,9 +322,9 @@ Texture2D: m_DownscaleFallback: 0 m_IsAlphaChannelOptional: 0 serializedVersion: 2 - m_Width: 512 - m_Height: 512 - m_CompleteImageSize: 262144 + m_Width: 0 + m_Height: 0 + m_CompleteImageSize: 0 m_MipsStripped: 0 m_TextureFormat: 1 m_MipCount: 1 @@ -376,8 +349,8 @@ Texture2D: m_LightmapFormat: 0 m_ColorSpace: 0 m_PlatformBlob: - image data: 262144 - _typelessdata: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020507080c0f101213131212100d0a06060300000000000000000102060606060606060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003090e121415181b1d1f1f201f1e1c1a1713120f0b0600000004090c0e0f131313131313120706040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050b10141a1e212225282a2b2c2c2c2b292723201f1c17110c07090f15181b1c2020202020201f1413110d070100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003090e171c1f262a2d2e32353738393939383633302d2b28221c1812141b202527282d2d2d2d2d2d2c20201d18130c0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060e141a22282d31363a3b3f4243454646454543403d3938332d29241d1e252c313435393939393939392d2c29241d160d040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080f181f262a33393b4246484b4e5052525352514f4d4a46443f38352f272730373d4142464646464646453a39352f281f160c0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008111a212a31363e44494d5355585b5d5e5f5f5f5e5c5a5653504a45403931303941484d4f535353535353524745403a31281d1307000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008111a232b333b42465055575f6165686a6b6c6c6c6b696663605b54514b433e35414b53595b6060606060605f53514b433a2f24180d01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f1a232b353d454d535a6164696e72757678797978787673706c66605d554f473f43535d65686c6c6c6c6c6c6c605d554b4035291d11040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030d18212b353d474f575f616c70767b7e8183858586858482807d78736d67615951494b55656f75797979797979786d675d5145392c201306000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009141f29333d474f5960696e767d83888b8e9091929292918f8d89847f79706b635b52515d677581868686868686867a6d6053473a2d20140700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020b1a26313b454f59606b707b838a9094989b9d9e9f9f9f9e9c9996918c847d726d635c54606d7a8692939393938d8074675d5145392c201306000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a141d2a36424d57606b707d8690949c9fa6a8a9a9a29f9e9e9fa2a19e9691877f736e635a64717e8b98a29fa096887c6f62554b4035291d110400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006111b262f3846535f69707d8692989fa6aba69f9c97979291919298999ea199938c80736d626675828e9baaaa9e9184776a5f53433a2f24180d010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b17222d3841505a616e7b859298a2aaaaa29f94908b8785848485888c92979d9f928b7e716a6c7985929eabaa998d807366584e4331281d1307000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030f1b27333f4953616c76828f97a2aaaaa298928a837e7a787778797b7f858d929f9f92867c6f6f7c8997a2ada298897c6f6356493c3223160c0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005121f2b3744505b65717e8a949fa9aea29892867e76716e686b666c6f7379808a929999908378727f8c98a9ab9f9285796d6053463a2d201307000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000613202d394653606c7883909da6b0a69f92867c716c64615e565b6062676d747e87929f958c7f75828f9ba8a89b8f8275665c5044382c1f1206000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030f1c28333f4a5463707c8995a0acab9f948a7e716a615a54524d5053555d606c717e8a929e92857a84919eabab998c7f7266544a3f34281c100300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006121f2b3844505b6674818e9ba7b1a99c9082766c61585047464144464b515a616c73808d96978d818d96a1ada499897c706356493d2e23170c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000613202d394653606c7985929eabada1978a7d70635a50463e393638394045505a606d7984919e928d929da8ac9f93867a6d6053473a2d201406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000916232f3c4956626f7c8997a2adab9e9185796d6053463e342d2a2b2f353e45515c67707d89949d9a9da4aeaa9e918477675d5145392c201306000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c1926323f4c5965727f8c98a9b3a79b8e8174665c5044382c221e1f242934404b55606b75828f9ca8a9aeb5a89b8f827568554b4035291d1104000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020f1b2835424e5b6875818e9ba8b5ab988b7e7165544a3f34281a111218232e39434f5963707d8996a0acb8b3a6998c807366594d402f24180d0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005111d2a36414c566a7784909daaafa499887b6f6255483c2e23170907121d27303d4653606c7884919daab7b1a4978b7e7164584b3e31251807000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000713202d3946525e687985929facac9f9386796d6053463a2d201306000b151f2b3744505b65727f8c98a8b2b5ab96897c6f6356493c30231609000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000714212e3a4754616d7a8798a2aeab9e918478675c5145382c1f130600030f1b27333f4953626e7b8896a0acafa399877a6e6154473b2e211408000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000915222f3c4855626f7b8895aab4a99d9083766a554b4034281c100400000b17222d3847535f6a7784919eaaac9f9286796c605346392d201306000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1623303d495663707c8996a3afa89c8f8275695c4f422e23180c00000006111b2b37424e576774818d9aa7ab9e918578665b5044382b1f1206000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1724313d4a5764707d8a97a3b0a89b8e8175685b4e4235281b07000000000e1a26313e4b5864717e8b97abaa9d9083776a544a3f33281c0f03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1724313e4a5764717d8a97a4b0a79a8d8174675a4e4134271b0e010000000915222f3c4855626f7c8899a3a99c8f8276695c4f432d22170b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1824313e4b5764717e8a97a4b1a79a8d8174675a4e4134271b0e010000000713202d3a4653606d7986929fa89b8e8275685b4f4235281c0600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1825313e4b5864717e8b97a4b1a79a8d8074675a4d4134271a0e0100000006121f2c3844515c667784919da79b8e8174685b4e4135281b0e02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1824313e4b5764717e8a97a4b1a79a8d8074675a4d4134271a0e010000000713202c3945525d687885929ea79a8d8174675a4e4134271b0800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1724313e4a5764717d8a97a4b0a79a8d8174675a4e4134271b0e010000000714212d3a4754606d7a8797a1a89b8e8175685b4e423025190d01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a1723303d4a5663707d8996a3b0a89b8e8175685b4e4235281b07000000000a1623303d495663707c8996a9a99c90837669564c41362a1e1105000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000916222f3c4955626f7c8895abb5a89c8f8275695c4f422e23180c000000030f1c28333f4a5465727f8c98a5ab9e928578685e5246392d201407000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000815212e3b4854616e7b8799a3afa99d9083766a544b4034281c1004000006121f2b3844505b6675828f9ba8ada197877a6e6154473b2e211406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000713202d3a4653606d7986929facab9e918478665c5145382c1f130600000613202d394653606c7985929eabb3a996897d7063564a3d2e23170b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006121f2c3844505c667784919eaaac9f9286796d6053463a2d2013060004101c28343f4a54636f7c8997a2adb2a6998c7f7366544a3f34281c100300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003101c28343f4a546975828f9ca8afa399887b6f6255483c2d22170b010c161f2b3844505c6673808d9aa9b3b5a99c8f8276665c5044382b1f1206000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c17232e404c5966737f8c99aab4ab978b7e7164544a3f33281c0f0d131d28313a4653606d7984919eabb8b8ab9f9285796d6053463a2d20130800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000061623303d495663707d8998a2aea79b8e8174665b5044382b221b191e242f3a43505a64707d8a96a1a9abb0ada297897c6f6256493c2f24190d010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000713202d3a4653606d7985929facab9e9185786c6053463e342b2724292f35414b55616c7683909d9f9c9fa6b0a9998c7f7266554c4135291d110400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006131f2c3845515c6775828f9ba8ada1978a7d70635a50463d37332f353a4145515d67707d8a959f948f949faba99c8f8376675d5145392c20130700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004101c2834404b5564707d8a96a1ada99c8f82766c61584f46443f4141454c515c606d7984919e968f838f9ca9ac9f92867a6d6054473a2e23180c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c18232e3a4653606d7884919ea7ab9f948a7e716a60595350494e4c52555d606e75818e969e91847c8897a1ada3998a7d7164544b4034281c100400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007121f2b3844505c66727e8b95a0aba69f92857c706b62605b535a565d60676d75808d939e968c7f7885929eabab9b8e8174665c5145382c1f130800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003101c28343f4a54606d78839199a3ada29792857d756f6c65686768686d727a818d929d9a91847975818e9babab9f9285796d6053463a3024190d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b17232e3844505c666f7c87929fa4a9a1979288817c7976747475767a7f848e939d9f93887d70717e8b99a3ada2978a7d7063564c4135291b110600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006111c28343f4a54606a727f8b929fa3a9a19a938e89858381818183868b91969e9c938c7f726b6d7a86929faca99b8e8175685d5245382d22170b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c17232e38424e58626d73808b9299a0a7a49f9b97928f8e8d8e9092999ea19e928d81746d636876828f9ca9ac9f92867a6d6053493f33271b0f0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006111c26303c46515b636e737f8790959c9fa4a9a19e9c9b9a9b9d9fa19e96918a80776c605b64717e8b97a29fa3988b7f72655b5044372b1f1205000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a151e2b343f49525c636d727c838a8f939a9a9c9e9f9f9f9e9c9997918c847e736c655b53606d798592939393939184786c605346392d20130600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030c19222d37404a525b626a6f787d83878b8e909192929291908d8a85807a716c605b53515d677480868686868686867d7063574a3d3024170a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007101b252e37404951585f656c71767b7e8183858586858483807d79736d67615a50494b55646e7479797979797979706b6155483c2f23160900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009131c252e373f464e535b6064696e71747678787978777673706d66605d5550443f43525c64676c6c6c6c6c6c6c6361594f44382c201407000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010a131c252d343c41495053575e616467696b6c6c6c6b696663605c54514c433e33414a52585a6060606060606057554f473e33281c100400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010a131b222a2f383f44464d5354585b5d5e5f5f5f5e5d5a5753514a45413a31273841474c4e535353535353534a48443e352c21160b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010910181d262d33373b4246484b4e505252535251504d4a46444039352f28262f363c3f41464646464646463d3c38332c231a10050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070b141b22272b31363a3b3e4143454546454443403d3a38342e29241e1d242b30333439393939393939302f2c28211a110800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a11171b1f252a2d2e31343638393939383633302d2c28231c1913131a1f2426272d2d2d2d2d2d2d2423201c16100800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060b0f141a1e212125282a2b2c2c2c2b2a2724201f1c18120d08080e14171a1b20202020202020171614100b050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003090e121415181b1d1f1f201f1e1d1a171312100c0700000003080b0d0e131313131313130a0907040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020507080b0e101212131211100d0a0706040000000000000000000106060606060606000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + image data: 0 + _typelessdata: m_StreamData: serializedVersion: 2 offset: 0 diff --git a/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll b/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll deleted file mode 100644 index b811138f5..000000000 Binary files a/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll and /dev/null differ diff --git a/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll.meta b/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll.meta deleted file mode 100644 index 5df3b3ca0..000000000 --- a/Assets/Thirdweb/Core/Plugins/WalletConnectUnity/com.walletconnect.core/Runtime/WalletConnectSharp/External/BouncyCastle.Crypto.dll.meta +++ /dev/null @@ -1,81 +0,0 @@ -fileFormatVersion: 2 -guid: c56ca0dd03f49184ab1a69e26dc64cef -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 1 - isExplicitlyReferenced: 0 - validateReferences: 0 - platformData: - - first: - : Any - second: - enabled: 0 - settings: - Exclude Android: 0 - Exclude Editor: 0 - Exclude Linux64: 0 - Exclude OSXUniversal: 0 - Exclude WebGL: 0 - Exclude Win: 0 - Exclude Win64: 0 - Exclude iOS: 0 - - first: - Android: Android - second: - enabled: 1 - settings: {} - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - DefaultValueInitialized: true - - first: - Standalone: Linux64 - second: - enabled: 1 - settings: {} - - first: - Standalone: OSXUniversal - second: - enabled: 1 - settings: {} - - first: - Standalone: Win - second: - enabled: 1 - settings: {} - - first: - Standalone: Win64 - second: - enabled: 1 - settings: {} - - first: - WebGL: WebGL - second: - enabled: 1 - settings: {} - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Thirdweb/Core/Scripts/Bridge.cs b/Assets/Thirdweb/Core/Scripts/Bridge.cs index 565f5f62c..254eae80c 100644 --- a/Assets/Thirdweb/Core/Scripts/Bridge.cs +++ b/Assets/Thirdweb/Core/Scripts/Bridge.cs @@ -416,6 +416,23 @@ public static async Task SmartWalletIsDeployed() return JsonConvert.DeserializeObject>(result).result; } + public static async Task GetNonce(string address, string blockTag) + { + if (!Utils.IsWebGLBuild()) + { + ThirdwebDebug.LogWarning("Interacting with the thirdweb SDK is not fully supported in the editor."); + return -1; + } + string taskId = Guid.NewGuid().ToString(); + var task = new TaskCompletionSource(); + taskMap[taskId] = task; +#if UNITY_WEBGL + ThirdwebGetNonce(taskId, address, blockTag, jsCallback); +#endif + string result = await task.Task; + return JsonConvert.DeserializeObject>(result).result; + } + public static async Task ResolveENSFromAddress(string address) { if (!Utils.IsWebGLBuild()) @@ -508,6 +525,8 @@ public static async Task CopyBuffer(string text) [DllImport("__Internal")] private static extern string ThirdwebSmartWalletIsDeployed(string taskId, Action cb); [DllImport("__Internal")] + private static extern string ThirdwebGetNonce(string taskId, string address, string blockTag, Action cb); + [DllImport("__Internal")] private static extern string ThirdwebResolveENSFromAddress(string taskId, string address, Action cb); [DllImport("__Internal")] private static extern string ThirdwebResolveAddressFromENS(string taskId, string ens, Action cb); diff --git a/Assets/Thirdweb/Core/Scripts/Contract.cs b/Assets/Thirdweb/Core/Scripts/Contract.cs index 1ceeb2934..b2ef75961 100644 --- a/Assets/Thirdweb/Core/Scripts/Contract.cs +++ b/Assets/Thirdweb/Core/Scripts/Contract.cs @@ -104,36 +104,11 @@ public async Task GetBalance() /// A object representing the prepared transaction. public async Task Prepare(string functionName, params object[] args) { - return await Prepare(functionName, null, args); - } - - /// - /// Prepare a transaction by creating a object. - /// - /// The name of the contract function. - /// The address to send the transaction from. - /// Optional function arguments. - /// A object representing the prepared transaction. - public async Task Prepare(string functionName, string from = null, params object[] args) - { - var initialInput = new TransactionInput(); - if (Utils.IsWebGLBuild()) - { - initialInput.From = from ?? await _sdk.Wallet.GetAddress(); - initialInput.To = Address; - } - else - { - if (this.ABI == null) - this.ABI = await FetchAbi(this.Address, await _sdk.Wallet.GetChainId()); - - var web3 = Utils.GetWeb3(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId); - var contract = web3.Eth.GetContract(this.ABI, this.Address); - var function = Utils.GetFunctionMatchSignature(contract, functionName, args); - var fromAddress = from ?? await _sdk.Wallet.GetAddress(); - initialInput = function.CreateTransactionInput(fromAddress, args); - } - + this.ABI ??= await FetchAbi(this.Address, await _sdk.Wallet.GetChainId()); + var contract = new Nethereum.Contracts.Contract(null, this.ABI, this.Address); + var function = Utils.GetFunctionMatchSignature(contract, functionName, args); + var fromAddress = await _sdk.Wallet.GetAddress(); + var initialInput = function.CreateTransactionInput(fromAddress, args); return new Transaction(this, initialInput, functionName, args); } diff --git a/Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs b/Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs index c1d309868..e312d1265 100644 --- a/Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs +++ b/Assets/Thirdweb/Core/Scripts/ThirdwebInterceptor.cs @@ -29,17 +29,7 @@ public override async Task InterceptSendRequestAsync(Func /// Create an instance of the Thirdweb SDK. diff --git a/Assets/Thirdweb/Core/Scripts/Transaction.cs b/Assets/Thirdweb/Core/Scripts/Transaction.cs index 105aeda43..f49e9d1db 100644 --- a/Assets/Thirdweb/Core/Scripts/Transaction.cs +++ b/Assets/Thirdweb/Core/Scripts/Transaction.cs @@ -75,7 +75,21 @@ public Transaction(ThirdwebSDK sdk, TransactionInput txInput) /// The JSON string representation of the transaction input. public override string ToString() { - return JsonConvert.SerializeObject(Input); + var readableInput = new + { + from = Input.From, + to = Input.To, + value = Input.Value?.Value.ToString(), + gas = Input.Gas?.Value.ToString(), + gasPrice = Input.GasPrice?.Value.ToString(), + data = Input.Data, + nonce = Input.Nonce?.Value.ToString(), + chainId = Input.ChainId?.Value.ToString(), + maxFeePerGas = Input.MaxFeePerGas?.Value.ToString(), + maxPriorityFeePerGas = Input.MaxPriorityFeePerGas?.Value.ToString(), + type = Input.Type?.Value.ToString() + }; + return JsonConvert.SerializeObject(readableInput); } /// @@ -206,17 +220,10 @@ public Transaction SetNonce(string nonce) /// The modified object. public Transaction SetArgs(params object[] args) { - if (Utils.IsWebGLBuild()) - { - this.FunctionArgs = args; - } - else - { - var web3 = Utils.GetWeb3(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId); - var contract = web3.Eth.GetContract(Contract.ABI, Contract.Address); - var function = Utils.GetFunctionMatchSignature(contract, FunctionName, args); - Input.Data = function.GetData(args); - } + this.FunctionArgs = args; + var contract = new Nethereum.Contracts.Contract(null, Contract.ABI, Contract.Address); + var function = Utils.GetFunctionMatchSignature(contract, FunctionName, args); + Input.Data = function.GetData(args); return this; } @@ -237,6 +244,18 @@ public async Task GetGasPrice() } } + public async Task GetGasFees() + { + if (Utils.IsWebGLBuild()) + { + return await Bridge.InvokeRoute(GetTxBuilderRoute("getGasFees"), Utils.ToJsonStringArray(Input, FunctionName, FunctionArgs)); + } + else + { + return await Utils.GetGasPriceAsync(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId); + } + } + /// /// Estimates the gas limit for the transaction asynchronously. /// @@ -328,34 +347,56 @@ public async Task Sign() } /// - /// Sends the transaction asynchronously. + /// Populates the transaction asynchronously, setting the gas limit, gas price, nonce, and other parameters. /// - /// Specifies whether to send the transaction as a gasless transaction. Default is null (uses gasless if set up). - /// The transaction hash as a string. - public async Task Send(bool? gasless = null) + /// The prepared object. + /// There is no guarantee the gas and nonce values will be preserved when using Account Abstraction. + public async Task Populate() { - if (Utils.IsWebGLBuild()) + Input.Gas ??= new HexBigInteger(await EstimateGasLimit()); + + Input.Value ??= new HexBigInteger(0); + + Input.Nonce ??= new HexBigInteger(await _sdk.Wallet.GetNonce()); + + var force1559 = Input.Type != null && Input.Type.HexValue == new HexBigInteger((int)TransactionType.EIP1559).HexValue; + var supports1559 = force1559 || (Input.Type == null && Utils.Supports1559(_sdk.Session.ChainId.ToString())); + if (supports1559) { - if (gasless == null || gasless == false) - return await Send(); - else - return await SendGasless(); + if (Input.GasPrice == null) + { + var fees = await GetGasFees(); + Input.MaxFeePerGas ??= new HexBigInteger(fees.MaxFeePerGas); + Input.MaxPriorityFeePerGas ??= new HexBigInteger(fees.MaxPriorityFeePerGas); + } } else { - if (Input.Gas == null) - await EstimateAndSetGasLimitAsync(); - if (Input.Value == null) - Input.Value = new HexBigInteger(0); - bool isGaslessSetup = _sdk.Session.Options.gasless.HasValue && !string.IsNullOrEmpty(_sdk.Session.Options.gasless?.engine.relayerUrl); - if (gasless != null && gasless.Value && !isGaslessSetup) - throw new UnityException("Gasless relayer transactions are not enabled. Please enable them in the SDK options."); - bool sendGaslessly = gasless == null ? isGaslessSetup : gasless.Value; - if (sendGaslessly) - return await SendGasless(); - else - return await Send(); + if (Input.MaxFeePerGas == null && Input.MaxPriorityFeePerGas == null) + { + ThirdwebDebug.Log("Using Legacy Gas Pricing"); + Input.GasPrice ??= new HexBigInteger(await GetGasPrice()); + } } + return this; + } + + /// + /// Sends the transaction asynchronously. + /// + /// Specifies whether to send the transaction as a gasless transaction (through thirdweb Engine relayer). Default is null (uses gasless if set up). + /// The transaction hash as a string. + public async Task Send(bool? gasless = null) + { + var tx = await Populate(); + bool isGaslessSetup = _sdk.Session.Options.gasless.HasValue && !string.IsNullOrEmpty(_sdk.Session.Options.gasless?.engine.relayerUrl); + if (gasless != null && gasless.Value && !isGaslessSetup) + throw new UnityException("Gasless relayer transactions are not enabled. Please enable them in the SDK options."); + bool sendGaslessly = gasless == null ? isGaslessSetup : gasless.Value; + if (sendGaslessly) + return await tx.SendGasless(); + else + return await tx.Send(); } /// @@ -437,35 +478,13 @@ public static async Task WaitForTransactionResultRaw(string private async Task Send() { + string hash; if (Utils.IsWebGLBuild()) { - return await Bridge.InvokeRoute(GetTxBuilderRoute("send"), Utils.ToJsonStringArray(Input, FunctionName, FunctionArgs)); + hash = await Bridge.InvokeRoute(GetTxBuilderRoute("send"), Utils.ToJsonStringArray(Input, FunctionName, FunctionArgs)); } else { - var force1559 = Input.Type != null && Input.Type.HexValue == new HexBigInteger((int)TransactionType.EIP1559).HexValue; - var supports1559 = force1559 || (Input.Type == null && Utils.Supports1559(_sdk.Session.ChainId.ToString())); - if (supports1559) - { - if (Input.GasPrice == null) - { - var fees = await Utils.GetGasPriceAsync(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId); - if (Input.MaxFeePerGas == null) - Input.MaxFeePerGas = new HexBigInteger(fees.MaxFeePerGas); - if (Input.MaxPriorityFeePerGas == null) - Input.MaxPriorityFeePerGas = new HexBigInteger(fees.MaxPriorityFeePerGas); - } - } - else - { - if (Input.MaxFeePerGas == null && Input.MaxPriorityFeePerGas == null) - { - ThirdwebDebug.Log("Using Legacy Gas Pricing"); - Input.GasPrice = new HexBigInteger(await Utils.GetLegacyGasPriceAsync(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId)); - } - } - - string hash; if (_sdk.Session.ActiveWallet.GetSignerProvider() == WalletProvider.LocalWallet && _sdk.Session.ActiveWallet.GetProvider() != WalletProvider.SmartWallet) { hash = await _sdk.Session.Web3.Eth.TransactionManager.SendTransactionAsync(Input); @@ -475,9 +494,9 @@ private async Task Send() var ethSendTx = new EthSendTransaction(_sdk.Session.Web3.Client); hash = await ethSendTx.SendRequestAsync(Input); } - ThirdwebDebug.Log($"Transaction hash: {hash}"); - return hash; } + ThirdwebDebug.Log($"Transaction hash: {hash}"); + return hash; } private async Task SendGasless() diff --git a/Assets/Thirdweb/Core/Scripts/Utils.cs b/Assets/Thirdweb/Core/Scripts/Utils.cs index 4024879c2..d4adbf5d4 100644 --- a/Assets/Thirdweb/Core/Scripts/Utils.cs +++ b/Assets/Thirdweb/Core/Scripts/Utils.cs @@ -557,6 +557,12 @@ public static bool Supports1559(string chainId) case "204": // opBNB Testnet case "5611": + // Oasys Mainnet + case "248": + // Oasys Testnet + case "9372": + // Vanar Testnet (Vanguard) + case "78600": return false; default: return true; diff --git a/Assets/Thirdweb/Core/Scripts/Wallet.cs b/Assets/Thirdweb/Core/Scripts/Wallet.cs index 910535d90..9d4185a34 100644 --- a/Assets/Thirdweb/Core/Scripts/Wallet.cs +++ b/Assets/Thirdweb/Core/Scripts/Wallet.cs @@ -13,6 +13,7 @@ using UnityEngine.Networking; using Thirdweb.Redcode.Awaiting; using Newtonsoft.Json; +using Nethereum.RPC.Eth.DTOs; #pragma warning disable CS0618 @@ -853,6 +854,28 @@ public async Task IsDeployed() } } + public async Task GetNonce(string blockTag = "pending") + { + var address = await GetAddress(); + if (Utils.IsWebGLBuild()) + { + return await Bridge.GetNonce(address, blockTag); + } + else + { + var web3 = Utils.GetWeb3(_sdk.Session.ChainId, _sdk.Session.Options.clientId, _sdk.Session.Options.bundleId); + var blockParameter = + blockTag == "pending" + ? BlockParameter.CreatePending() + : blockTag == "latest" + ? BlockParameter.CreateLatest() + : blockTag == "earliest" + ? BlockParameter.CreateEarliest() + : BlockParameter.CreatePending(); + return web3.Eth.Transactions.GetTransactionCount.SendRequestAsync(address, blockParameter).Result.Value; + } + } + /// /// Sends a raw transaction from the connected wallet. /// @@ -873,7 +896,7 @@ public async Task SendRawTransaction(TransactionRequest transactionReque transactionRequest.from ??= await GetAddress(); - var input = new Nethereum.RPC.Eth.DTOs.TransactionInput( + var input = new TransactionInput( string.IsNullOrEmpty(transactionRequest.data) ? null : transactionRequest.data, transactionRequest.to, transactionRequest.from, @@ -1046,6 +1069,11 @@ public enum AuthProvider /// /// Phone Number OTP Flow. /// - PhoneOTP + PhoneOTP, + + /// + /// Discord OAuth2 Flow. + /// + Discord } } diff --git a/Assets/Thirdweb/Core/Scripts/Wallets/ThirdwebMetamask.cs b/Assets/Thirdweb/Core/Scripts/Wallets/ThirdwebMetamask.cs index d01c9458f..14d9d28ca 100644 --- a/Assets/Thirdweb/Core/Scripts/Wallets/ThirdwebMetamask.cs +++ b/Assets/Thirdweb/Core/Scripts/Wallets/ThirdwebMetamask.cs @@ -37,7 +37,7 @@ public async Task Connect(WalletConnection walletConnection, string rpc) public Task Disconnect(bool endSession = true) { - MetaMaskUnity.Instance.Disconnect(endSession); + MetaMaskSDK.Instance.Disconnect(endSession); _web3 = null; return Task.CompletedTask; } @@ -49,7 +49,7 @@ public Account GetLocalAccount() public Task GetAddress() { - var addy = MetaMaskUnity.Instance.Wallet.SelectedAddress; + var addy = MetaMaskSDK.Instance.Wallet.SelectedAddress; if (addy != null) addy = addy.ToChecksumAddress(); return Task.FromResult(addy); diff --git a/Assets/Thirdweb/Core/Scripts/WalletsUI/InAppWalletUI.cs b/Assets/Thirdweb/Core/Scripts/WalletsUI/InAppWalletUI.cs index 3dbc6a280..31c375679 100755 --- a/Assets/Thirdweb/Core/Scripts/WalletsUI/InAppWalletUI.cs +++ b/Assets/Thirdweb/Core/Scripts/WalletsUI/InAppWalletUI.cs @@ -95,6 +95,7 @@ public virtual async Task Connect(EmbeddedWallet embeddedWallet, string em AuthProvider.Facebook => "Facebook", AuthProvider.JWT => "CustomAuth", AuthProvider.PhoneOTP => "PhoneOTP", + AuthProvider.Discord => "Discord", _ => throw new UnityException($"Unsupported auth provider: {authOptions.authProvider}"), }; return await _embeddedWallet.GetUserAsync(_email, authProvider); @@ -120,6 +121,9 @@ public virtual async Task Connect(EmbeddedWallet embeddedWallet, string em case AuthProvider.Facebook: await LoginWithOauth("Facebook"); break; + case AuthProvider.Discord: + await LoginWithOauth("Discord"); + break; case AuthProvider.JWT: await LoginWithJWT(authOptions.jwtOrPayload, authOptions.encryptionKey); break; diff --git a/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs b/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs index 78e55d7a4..0c785d81c 100644 --- a/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs +++ b/Assets/Thirdweb/Editor/ThirdwebManagerEditor.cs @@ -50,8 +50,8 @@ public class ThirdwebManagerEditor : Editor private GUIContent warningIcon; private Texture2D bannerImage; - private static readonly string ExpandedStateKey = "ThirdwebManagerEditor_ExpandedState_4.16.4"; - private static readonly string OptionalStateKey = "ThirdwebManagerEditor_OptionalState_4.16.4"; + private static readonly string ExpandedStateKey = "ThirdwebManagerEditor_ExpandedState_4.20.1"; + private static readonly string OptionalStateKey = "ThirdwebManagerEditor_OptionalState_4.20.1"; private void OnEnable() { diff --git a/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab b/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab index 527c4f408..a7557cbae 100644 --- a/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab +++ b/Assets/Thirdweb/Examples/Prefabs/Prefab_ConnectWallet.prefab @@ -1196,7 +1196,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &894485209110800966 RectTransform: m_ObjectHideFlags: 0 @@ -3187,7 +3187,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 184, y: -35} + m_AnchoredPosition: {x: 139.5, y: -35} m_SizeDelta: {x: 64, y: 64} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6269704537424175427 @@ -5578,6 +5578,138 @@ MonoBehaviour: m_FlexibleWidth: -1 m_FlexibleHeight: -1 m_LayoutPriority: 1 +--- !u!1 &4083313463333166112 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6875615241176306789} + - component: {fileID: 8135820062271620380} + - component: {fileID: 5180138749502675034} + - component: {fileID: 8243562969224426797} + m_Layer: 0 + m_Name: Button_Discord + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6875615241176306789 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4083313463333166112} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 7382193994044862325} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 317.5, y: -35} + m_SizeDelta: {x: 64, y: 64} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8135820062271620380 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4083313463333166112} + m_CullTransparentMesh: 1 +--- !u!114 &5180138749502675034 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4083313463333166112} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 9c80af6dac9a970439239692bed39438, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &8243562969224426797 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4083313463333166112} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 5180138749502675034} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 7458216348175956803} + m_TargetAssemblyTypeName: Prefab_ThirdwebConnect, Assembly-CSharp + m_MethodName: ConnectOauth + m_Mode: 5 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: Discord + m_BoolArgument: 0 + m_CallState: 2 --- !u!1 &4186138144228685886 GameObject: m_ObjectHideFlags: 0 @@ -5613,7 +5745,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 298, y: -35} + m_AnchoredPosition: {x: 228.5, y: -35} m_SizeDelta: {x: 64, y: 64} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &9026505125284111944 @@ -6179,6 +6311,7 @@ RectTransform: - {fileID: 7344276662602268453} - {fileID: 7430932642270347141} - {fileID: 5388906991946316708} + - {fileID: 6875615241176306789} m_Father: {fileID: 894485209110800966} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} @@ -6207,7 +6340,7 @@ MonoBehaviour: m_StartCorner: 0 m_StartAxis: 0 m_CellSize: {x: 64, y: 64} - m_Spacing: {x: 50, y: 25} + m_Spacing: {x: 25, y: 25} m_Constraint: 2 m_ConstraintCount: 1 --- !u!1 &5133741079066360000 @@ -6245,7 +6378,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70, y: -35} + m_AnchoredPosition: {x: 50.5, y: -35} m_SizeDelta: {x: 64, y: 64} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3794051201744159131 diff --git a/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity b/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity index 62bc337c6..d7c5d5cfe 100644 --- a/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity +++ b/Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity @@ -38,7 +38,6 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -391,10 +390,10 @@ RectTransform: - {fileID: 1773737938} - {fileID: 2063946298} - {fileID: 2775678917868836931} + - {fileID: 124541069328968337} - {fileID: 4701600027365654829} - - {fileID: 1324182571102397454} - {fileID: 3933868052681533152} - - {fileID: 124541069328968337} + - {fileID: 1324182571102397454} - {fileID: 1304050196} - {fileID: 1919283922} m_Father: {fileID: 0} @@ -490,7 +489,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 14.6 + m_fontSize: 20.7 m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 1 @@ -676,10 +675,6 @@ PrefabInstance: propertyPath: m_AnchorMax.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 7216536800389251089, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - target: {fileID: 7568917606152558407, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -1006,7 +1001,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchoredPosition.x - value: -49.99933 + value: -49.999268 objectReference: {fileID: 0} - target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3} propertyPath: m_AnchoredPosition.y @@ -2716,7 +2711,7 @@ PrefabInstance: SceneRoots: m_ObjectHideFlags: 0 m_Roots: - - {fileID: 940597156} - {fileID: 136589469} + - {fileID: 940597156} - {fileID: 574059470} - {fileID: 4404896360639781402} diff --git a/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png b/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png new file mode 100644 index 000000000..1cf142a96 Binary files /dev/null and b/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png differ diff --git a/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png.meta b/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png.meta new file mode 100644 index 000000000..4cd0f2eaf --- /dev/null +++ b/Assets/Thirdweb/Examples/Sprites/ConnectButton/Button_Discord.png.meta @@ -0,0 +1,166 @@ +fileFormatVersion: 2 +guid: 9c80af6dac9a970439239692bed39438 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Thirdweb/Resources/all_chains.json b/Assets/Thirdweb/Resources/all_chains.json index 83ee3a475..c30f2fad4 100644 --- a/Assets/Thirdweb/Resources/all_chains.json +++ b/Assets/Thirdweb/Resources/all_chains.json @@ -232,6 +232,7 @@ "shortName": "tch", "chainId": 7, "networkId": 7, + "icon": "tch", "explorers": [ { "name": "Thaichain Explorer", @@ -1115,10 +1116,7 @@ { "name": "Crab Network", "chain": "crab", - "rpc": [ - "https://crab-rpc.darwinia.network", - "https://crab-rpc.darwiniacommunitydao.xyz" - ], + "rpc": ["https://crab-rpc.darwinia.network", "https://crab-rpc.dcdao.box"], "faucets": [], "nativeCurrency": { "name": "Crab Network Native Token", @@ -1131,8 +1129,8 @@ "networkId": 44, "explorers": [ { - "name": "subscan", - "url": "https://crab.subscan.io", + "name": "blockscout", + "url": "https://crab-scan.darwinia.network", "standard": "EIP3091" } ] @@ -1167,7 +1165,7 @@ "chain": "darwinia", "rpc": [ "https://rpc.darwinia.network", - "https://darwinia-rpc.darwiniacommunitydao.xyz", + "https://darwinia-rpc.dcdao.box", "https://darwinia-rpc.dwellir.com" ], "faucets": [], @@ -1176,14 +1174,14 @@ "symbol": "RING", "decimals": 18 }, - "infoURL": "https://darwinia.network/", + "infoURL": "https://darwinia.network", "shortName": "darwinia", "chainId": 46, "networkId": 46, "explorers": [ { - "name": "subscan", - "url": "https://darwinia.subscan.io", + "name": "blockscout", + "url": "https://explorer.darwinia.network", "standard": "EIP3091" } ] @@ -2088,7 +2086,8 @@ "chain": "JOC", "rpc": [ "https://rpc-1.japanopenchain.org:8545", - "https://rpc-2.japanopenchain.org:8545" + "https://rpc-2.japanopenchain.org:8545", + "https://rpc-3.japanopenchain.org" ], "faucets": [], "nativeCurrency": { @@ -3342,7 +3341,7 @@ "name": "HashKey Chain Testnet", "title": "HashKey Chain Testnet", "chain": "HashKey Chain Testnet", - "rpc": [], + "rpc": ["https://hashkeychain-testnet.alt.technology"], "faucets": [], "nativeCurrency": { "name": "HashKey EcoPoints", @@ -3353,7 +3352,14 @@ "shortName": "HSKT", "chainId": 133, "networkId": 133, - "explorers": [], + "explorers": [ + { + "name": "blockscout", + "url": "https://hashkeychain-testnet-explorer.alt.technology", + "icon": "blockscout", + "standard": "EIP3091" + } + ], "parent": { "type": "L2", "chain": "eip155-11155111" @@ -4027,10 +4033,10 @@ "networkId": 163 }, { - "name": "Omni Testnet", + "name": "Omni Omega", "chain": "Omni", "status": "active", - "rpc": ["https://testnet.omni.network"], + "rpc": ["https://omega.omni.network", "wss://wss.omega.omni.network"], "features": [ { "name": "EIP155" @@ -4043,24 +4049,14 @@ "decimals": 18 }, "infoURL": "https://docs.omni.network", - "shortName": "omni_testnet", + "shortName": "omni_omega", "chainId": 164, "networkId": 164, "slip44": 1, "explorers": [ { - "name": "Omni X-Explorer", - "url": "https://explorer.testnet.omni.network", - "standard": "none" - }, - { - "name": "Omni EVM Explorer on Blockscout", - "url": "https://omni-testnet.blockscout.com", - "standard": "EIP3091" - }, - { - "name": "Omni EVM Explorer on Routescan", - "url": "https://testnet.omniscan.network", + "name": "Omni EVM and cross-chain Explorer", + "url": "https://omega.omniscan.network", "standard": "EIP3091" } ] @@ -4209,6 +4205,37 @@ "networkId": 170, "slip44": 1 }, + { + "name": "CO2e Ledger", + "chain": "CO2E", + "rpc": ["https://rpc.co2ledger.xyz"], + "faucets": [], + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "nativeCurrency": { + "name": "CO2e Token", + "symbol": "CO2E", + "decimals": 18 + }, + "infoURL": "https://co2ledger.xyz", + "shortName": "CO2e", + "chainId": 171, + "networkId": 171, + "icon": "co2e", + "explorers": [ + { + "name": "CO2e Explorer", + "url": "https://exp.co2ledger.xyz", + "standard": "EIP3091" + } + ] + }, { "name": "Latam-Blockchain Resil Testnet", "chain": "Resil", @@ -4251,6 +4278,60 @@ } ] }, + { + "name": "ABEY Testnet", + "chain": "ABEY", + "rpc": ["https://testrpc.abeychain.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": ["https://testnet-faucet.abeychain.com"], + "nativeCurrency": { + "name": "ABEY", + "symbol": "tABEY", + "decimals": 18 + }, + "infoURL": "https://abey.com", + "shortName": "abeyt", + "chainId": 178, + "networkId": 178, + "explorers": [ + { + "name": "abeyscan-testnet", + "url": "https://testnet.abeyscan.com", + "standard": "EIP3091" + } + ] + }, + { + "name": "ABEY Mainnet", + "chain": "ABEY", + "rpc": ["https://rpc.abeychain.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "ABEY", + "symbol": "ABEY", + "decimals": 18 + }, + "infoURL": "https://abey.com", + "shortName": "abey", + "chainId": 179, + "networkId": 179, + "explorers": [ + { + "name": "abeyscan", + "url": "https://abeyscan.com", + "standard": "EIP3091" + } + ] + }, { "name": "AME Chain Mainnet", "chain": "AME", @@ -4295,6 +4376,29 @@ "icon": "waterfall-main", "explorers": [] }, + { + "name": "Dojima Testnet", + "chain": "Dojima", + "rpc": ["https://rpc-test-d11k.dojima.network"], + "faucets": [], + "nativeCurrency": { + "name": "Dojima", + "symbol": "DOJ", + "decimals": 18 + }, + "icon": "dojima", + "infoURL": "https://www.dojima.network/", + "shortName": "dojtestnet", + "chainId": 184, + "networkId": 184, + "explorers": [ + { + "name": "Dojima Testnet Explorer", + "url": "https://explorer-test.dojima.network", + "standard": "none" + } + ] + }, { "name": "Mint Mainnet", "chain": "ETH", @@ -4345,6 +4449,29 @@ } ] }, + { + "name": "Dojima", + "chain": "Dojima", + "rpc": ["https://rpc-d11k.dojima.network"], + "faucets": [], + "nativeCurrency": { + "name": "Dojima", + "symbol": "DOJ", + "decimals": 18 + }, + "icon": "dojima", + "infoURL": "https://www.dojima.network/", + "shortName": "dojima", + "chainId": 187, + "networkId": 187, + "explorers": [ + { + "name": "Dojima Explorer", + "url": "https://explorer.dojima.network", + "standard": "none" + } + ] + }, { "name": "BMC Mainnet", "chain": "BMC", @@ -4390,6 +4517,28 @@ } ] }, + { + "name": "CMDAO BBQ Chain", + "chain": "Underchain 1", + "rpc": ["https://bbqchain-rpc.commudao.xyz"], + "faucets": [], + "nativeCurrency": { + "name": "CommuDAO", + "symbol": "CMD", + "decimals": 18 + }, + "infoURL": "https://commudao.xyz", + "shortName": "cmdao-bbq-chain", + "chainId": 190, + "networkId": 190, + "explorers": [ + { + "name": "bbqchain-explorer", + "url": "https://bbqchain-exp.commudao.xyz", + "standard": "EIP3091" + } + ] + }, { "name": "FileFileGo", "chain": "FFG", @@ -4668,6 +4817,23 @@ } ] }, + { + "name": "EKAASH", + "chain": "EKAASH", + "rpc": ["https://mainnet.ekaash.biz"], + "faucets": [], + "nativeCurrency": { + "name": "Global Mobile Money Gateway", + "symbol": "$EKH", + "decimals": 18 + }, + "infoURL": "https://ekaash.biz", + "shortName": "ekaash", + "chainId": 205, + "networkId": 205, + "slip44": 1, + "explorers": [] + }, { "name": "VinuChain Testnet", "chain": "VinuChain Testnet", @@ -4905,6 +5071,28 @@ } ] }, + { + "name": "BlockEx Mainnet", + "chain": "BlockEx", + "rpc": ["https://rpc.blockex.biz"], + "faucets": [], + "nativeCurrency": { + "name": "BlockEx", + "symbol": "XBE", + "decimals": 18 + }, + "infoURL": "https://blockex.biz", + "shortName": "BlockEx", + "chainId": 221, + "networkId": 221, + "explorers": [ + { + "name": "BlockEx Scan", + "url": "http://explorer.blockex.biz", + "standard": "EIP3091" + } + ] + }, { "name": "Permission", "chain": "ASK", @@ -4930,7 +5118,8 @@ "https://mainnet.b2-rpc.com", "https://rpc.bsquared.network", "https://b2-mainnet.alt.technology", - "https://b2-mainnet-public.s.chainbase.com" + "https://b2-mainnet-public.s.chainbase.com", + "https://rpc.ankr.com/b2" ], "faucets": [], "nativeCurrency": { @@ -5076,6 +5265,28 @@ } ] }, + { + "name": "Ethernity Testnet", + "chain": "Ethernity", + "rpc": ["https://testnet.ethernitychain.io"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.ethernity.io", + "shortName": "ethernity-testnet", + "chainId": 233, + "networkId": 233, + "explorers": [ + { + "name": "Ethernity Testnet Explorer", + "url": "https://testnet.ernscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "ProtoJumbo Testnet", "chain": "Jumbo", @@ -5285,6 +5496,28 @@ ], "status": "active" }, + { + "name": "Swan Chain Mainnet", + "chain": "SWAN", + "rpc": ["https://mainnet-rpc01.swanchain.io"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://swanchain.io/", + "shortName": "Swan", + "chainId": 254, + "networkId": 254, + "explorers": [ + { + "name": "Swanchain Explorer", + "url": "https://swanscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "Kroma", "chain": "ETH", @@ -5375,6 +5608,37 @@ } ] }, + { + "name": "Guru Network Testnet", + "chain": "tGURU", + "icon": "GuruNetwork", + "rpc": ["https://rpc.gurunetwork.ai/archive/261"], + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "faucets": ["https://v2.dex.guru/season-pass/faucet"], + "nativeCurrency": { + "name": "testGURU", + "symbol": "tGURU", + "decimals": 18 + }, + "infoURL": "https://gurunetwork.ai", + "shortName": "tguru", + "chainId": 261, + "networkId": 261, + "explorers": [ + { + "name": "guruscan", + "url": "https://scan.gurunetwork.ai", + "standard": "EIP3091" + } + ] + }, { "name": "SUR Blockchain Network", "chain": "SUR", @@ -6357,6 +6621,40 @@ ] } }, + { + "name": "GRVT Mainnet", + "chain": "ETH", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://grvt.io/", + "shortName": "grvt", + "chainId": 325, + "networkId": 325, + "icon": "grvt", + "explorers": [] + }, + { + "name": "GRVT Sepolia Testnet", + "chain": "ETH", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://grvt.io/", + "shortName": "grvt-sepolia", + "chainId": 326, + "networkId": 326, + "icon": "grvt", + "explorers": [] + }, { "name": "Web3Q Mainnet", "chain": "Web3Q", @@ -6492,6 +6790,22 @@ } ] }, + { + "name": "Shape", + "chain": "ETH", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://shape.us", + "shortName": "shape", + "chainId": 360, + "networkId": 360, + "status": "incubating" + }, { "name": "Theta Mainnet", "chain": "Theta", @@ -6739,6 +7053,28 @@ "chainId": 385, "networkId": 385 }, + { + "name": "Cronos zkEVM Mainnet", + "chain": "CronosZkEVMMainnet", + "rpc": ["https://mainnet.zkevm.cronos.org"], + "faucets": [], + "nativeCurrency": { + "name": "Cronos zkEVM CRO", + "symbol": "zkCRO", + "decimals": 18 + }, + "infoURL": "https://cronos.org/zkevm", + "shortName": "zkCRO", + "chainId": 388, + "networkId": 388, + "explorers": [ + { + "name": "Cronos zkEVM (Mainnet) Chain Explorer", + "url": "https://explorer.zkevm.cronos.org", + "standard": "none" + } + ] + }, { "name": "CamDL Testnet", "chain": "CADL", @@ -7319,6 +7655,22 @@ } ] }, + { + "name": "World Chain", + "chain": "ETH", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://worldcoin.org", + "shortName": "wc", + "chainId": 480, + "networkId": 480, + "status": "incubating" + }, { "name": "Rupaya", "chain": "RUPX", @@ -7620,9 +7972,9 @@ "icon": "flowevm", "explorers": [ { - "name": "Flow Diver", - "url": "https://testnet.flowdiver.io", - "standard": "none" + "name": "FlowScan: Testnet", + "url": "https://evm-testnet.flowscan.io", + "standard": "EIP3091" } ] }, @@ -7998,6 +8350,30 @@ } ] }, + { + "name": "Darwin Devnet", + "chain": "Darwin", + "rpc": ["https://devnet-rpc.darwinchain.ai"], + "faucets": ["https://devnet-rpc.darwinchain.ai/faucet"], + "nativeCurrency": { + "name": "Darwin Devnet token", + "symbol": "DNA", + "decimals": 18 + }, + "infoURL": "https://darwinchain.ai", + "shortName": "darwin-devnet", + "chainId": 610, + "networkId": 610, + "icon": "darwin", + "explorers": [ + { + "name": "Darwin Explorer", + "url": "https://explorer.darwinchain.ai", + "icon": "darwin", + "standard": "none" + } + ] + }, { "name": "EIOB Mainnet", "chain": "EIOB", @@ -8043,6 +8419,50 @@ } ] }, + { + "name": "Binary Mainnet", + "chain": "The Binary Holdings", + "rpc": ["https://rpc.zero.thebinaryholdings.com"], + "faucets": [], + "nativeCurrency": { + "name": "Binary Token", + "symbol": "BNRY", + "decimals": 18 + }, + "infoURL": "", + "shortName": "thebinaryholdings-mainnet", + "chainId": 624, + "networkId": 624, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://explorer.thebinaryholdings.com", + "standard": "none" + } + ] + }, + { + "name": "Binary Sepolia", + "chain": "The Binary Holdings", + "rpc": ["https://rpc.testnet.thebinaryholdings.com"], + "faucets": [], + "nativeCurrency": { + "name": "Test BNRY", + "symbol": "BNRY", + "decimals": 18 + }, + "infoURL": "", + "shortName": "thebinaryholdings-sepolia", + "chainId": 625, + "networkId": 625, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://explorer.sepolia.thebinaryholdings.com", + "standard": "none" + } + ] + }, { "name": "Avocado", "chain": "Avocado", @@ -8084,9 +8504,9 @@ "icon": "flowevm", "explorers": [ { - "name": "Flow Diver", - "url": "https://previewnet.flowdiver.io", - "standard": "none" + "name": "EVM on Flow Block Explorer (PreviewNet)", + "url": "https://eth.flowscan.io", + "standard": "EIP3091" } ] }, @@ -9216,6 +9636,28 @@ } ] }, + { + "name": "HongKong Mainnet", + "chain": "HONGKONG", + "rpc": ["https://eth.jegotrip.net"], + "faucets": [], + "nativeCurrency": { + "name": "HongKong", + "symbol": "HK", + "decimals": 18 + }, + "infoURL": "https://www.cmi.chinamobile.com/", + "shortName": "HongKong", + "chainId": 852, + "networkId": 852, + "explorers": [ + { + "name": "HongKong Mainnet Explorer", + "url": "http://47.238.205.52", + "standard": "none" + } + ] + }, { "name": "Zeeth Chain Dev", "chain": "ZeethChainDev", @@ -9349,7 +9791,16 @@ "shortName": "wan", "chainId": 888, "networkId": 888, - "slip44": 5718350 + "slip44": 5718350, + "icon": "wanchain", + "explorers": [ + { + "name": "wanscan", + "icon": "wanchain", + "url": "https://wanscan.org", + "standard": "EIP3091" + } + ] }, { "name": "MAXI Chain Testnet", @@ -9939,6 +10390,29 @@ } ] }, + { + "name": "Palm Smart Chain", + "title": "Palm Smart Chain", + "chain": "Palm", + "rpc": ["https://rpc.palmsmartchain.io"], + "faucets": [], + "nativeCurrency": { + "name": "PALM", + "symbol": "PALM", + "decimals": 18 + }, + "infoURL": "https://palmsmartchain.io", + "shortName": "PalmChain", + "chainId": 973, + "networkId": 973, + "explorers": [ + { + "name": "Palm Smart Chain Explorer", + "url": "https://explorer.palmsmartchain.io", + "standard": "EIP3091" + } + ] + }, { "name": "Nepal Blockchain Network", "chain": "YETI", @@ -10030,6 +10504,29 @@ } ] }, + { + "name": "BinaryChain Mainnet", + "chain": "BinaryChain", + "icon": "binary", + "rpc": ["https://rpc.binarychain.org"], + "faucets": [], + "nativeCurrency": { + "name": "BINARY", + "symbol": "BNRY", + "decimals": 18 + }, + "infoURL": "https://binarychain.org", + "shortName": "binary", + "chainId": 987, + "networkId": 987, + "explorers": [ + { + "name": "BinaryChain Explorer", + "url": "https://explorer.binarychain.org", + "standard": "EIP3091" + } + ] + }, { "name": "TOP Mainnet", "chain": "TOP", @@ -10077,17 +10574,57 @@ ] }, { - "name": "5ireChain Thunder", + "name": "5ireChain Mainnet", "chain": "5ireChain", - "rpc": ["https://rpc-testnet.5ire.network"], - "faucets": ["https://explorer.5ire.network/faucet"], + "rpc": ["https://rpc.5ire.network"], + "faucets": [], "nativeCurrency": { "name": "5ire Token", - "symbol": "5ire", + "symbol": "5IRE", "decimals": 18 }, "infoURL": "https://5ire.org", "shortName": "5ire", + "chainId": 995, + "networkId": 995, + "icon": "5ireChain", + "explorers": [ + { + "name": "5ireChain Explorer", + "url": "https://5irescan.io", + "standard": "none", + "icon": "5ireChain" + } + ] + }, + { + "name": "Bifrost Polkadot Mainnet", + "chain": "Bifrost", + "rpc": ["https://hk.p.bifrost-rpc.liebi.com"], + "faucets": [], + "nativeCurrency": { + "name": "Wrapped ETH", + "symbol": "WETH", + "decimals": 18 + }, + "infoURL": "https://bifrost.io/", + "shortName": "bnc", + "chainId": 996, + "networkId": 996, + "icon": "bifrost-polkadot" + }, + { + "name": "5ireChain Thunder", + "chain": "5ireChain Testnet", + "rpc": ["https://rpc-testnet.5ire.network"], + "faucets": ["https://explorer.5ire.network/faucet"], + "nativeCurrency": { + "name": "5ire Testnet Token", + "symbol": "T5IRE", + "decimals": 18 + }, + "infoURL": "https://5ire.org", + "shortName": "T5ire", "chainId": 997, "networkId": 997, "icon": "5ireChain", @@ -10146,7 +10683,16 @@ "shortName": "twan", "chainId": 999, "networkId": 999, - "slip44": 1 + "slip44": 1, + "icon": "wanchain", + "explorers": [ + { + "name": "wanscan", + "icon": "wanchain", + "url": "https://testnet.wanscan.org", + "standard": "EIP3091" + } + ] }, { "name": "GTON Mainnet", @@ -10175,20 +10721,17 @@ } }, { - "name": "Klaytn Testnet Baobab", - "chain": "KLAY", - "rpc": [ - "https://public-en-baobab.klaytn.net", - "https://api.baobab.klaytn.net:8651" - ], - "faucets": ["https://baobab.wallet.klaytn.com/access?next=faucet"], + "name": "Kaia Testnet Kairos", + "chain": "KAIA", + "rpc": ["https://public-en.kairos.node.kaia.io"], + "faucets": ["https://faucet.kaia.io"], "nativeCurrency": { - "name": "KLAY", + "name": "KAIA", "symbol": "KLAY", "decimals": 18 }, - "infoURL": "https://klaytn.foundation", - "shortName": "Baobab", + "infoURL": "https://kaia.io/", + "shortName": "kaia-kairos", "chainId": 1001, "networkId": 1001, "slip44": 1, @@ -11069,7 +11612,11 @@ "name": "B2 Testnet", "title": "B2 Testnet", "chain": "Habitat", - "rpc": ["https://b2-testnet.alt.technology"], + "rpc": [ + "https://b2-testnet.alt.technology", + "https://rpc.ankr.com/b2_testnet", + "https://testnet-rpc.bsquared.network" + ], "faucets": [], "nativeCurrency": { "name": "Bitcoin", @@ -11393,6 +11940,33 @@ } ] }, + { + "name": "Cuckoo Chain", + "title": "Cuckoo Chain", + "chain": "CuckooAI", + "icon": "cuckoo-ai", + "rpc": [ + "https://mainnet-rpc.cuckoo.network", + "wss://mainnet-rpc.cuckoo.network" + ], + "faucets": [], + "nativeCurrency": { + "name": "CuckooAI", + "symbol": "CAI", + "decimals": 18 + }, + "infoURL": "https://cuckoo.network", + "shortName": "cai", + "chainId": 1200, + "networkId": 1200, + "explorers": [ + { + "name": "Cuckoo Chain Explorer", + "url": "https://scan.cuckoo.network", + "standard": "EIP3091" + } + ] + }, { "name": "Evanesco Testnet", "chain": "Evanesco Testnet", @@ -11545,7 +12119,23 @@ "icon": "cycle" }, { - "name": "Hybrid Testnet", + "name": "Cycle Network Testnet Jellyfish", + "chain": "ETH", + "rpc": ["https://jellyfish-rpc-testnet.cyclenetwork.io"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.cyclenetwork.io/", + "shortName": "cyclej", + "chainId": 1223, + "networkId": 1223, + "icon": "cycle" + }, + { + "name": "Hybrid Testnet (Deprecated)", "chain": "HYB", "icon": "hybridIcon", "rpc": ["https://testnet-rpc.buildonhybrid.com"], @@ -11556,8 +12146,9 @@ "decimals": 18 }, "infoURL": "https://buildonhybrid.com", - "shortName": "hyb", + "shortName": "hyb_deprecated", "chainId": 1224, + "status": "deprecated", "networkId": 1224, "explorers": [ { @@ -11567,6 +12158,73 @@ } ] }, + { + "name": "Hybrid Testnet", + "chain": "HYB", + "icon": "hybridIcon", + "rpc": [ + "https://hybrid-testnet.rpc.caldera.xyz/http", + "wss://hybrid-testnet.rpc.caldera.xyz/ws" + ], + "faucets": [], + "nativeCurrency": { + "name": "Hybrid", + "symbol": "HYB", + "decimals": 18 + }, + "infoURL": "https://buildonhybrid.com", + "shortName": "hyb", + "chainId": 1225, + "networkId": 1225, + "explorers": [ + { + "name": "Hybrid Testnet", + "url": "https://explorer.buildonhybrid.com", + "standard": "EIP3091" + } + ], + "status": "active" + }, + { + "name": "Bitcoin Protocol Testnet", + "chain": "BTCP Testnet", + "icon": "btcprotocol", + "rpc": ["https://testnet-chain.btcprotocol.io/"], + "faucets": [], + "nativeCurrency": { + "name": "BTC Protocol", + "symbol": "BTCP", + "decimals": 18 + }, + "infoURL": "https://btcprotocol.io/", + "shortName": "BTCP", + "chainId": 1227, + "networkId": 1227, + "explorers": [ + { + "name": "BTCP explorer", + "url": "https://explorer.btcprotocol.io", + "standard": "EIP3091" + } + ], + "status": "active" + }, + { + "name": "Cycle Network Testnet Cuttlefish", + "chain": "ETH", + "rpc": ["https://cuttlefish-rpc-testnet.cyclenetwork.io"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.cyclenetwork.io/", + "shortName": "cyclec", + "chainId": 1228, + "networkId": 1228, + "icon": "cycle" + }, { "name": "Exzo Network Mainnet", "chain": "EXZO", @@ -12088,6 +12746,29 @@ } ] }, + { + "name": "JaiHo Chain", + "chain": "JaiHoChain", + "icon": "jaihoIcon", + "rpc": ["https://rpc.jaihochain.com"], + "faucets": [], + "nativeCurrency": { + "name": "JaiHo", + "symbol": "JaiHo", + "decimals": 18 + }, + "infoURL": "https://jaihochain.com", + "shortName": "JHC", + "chainId": 1313, + "networkId": 1313, + "explorers": [ + { + "name": "JaiHo Chain Explorer", + "url": "https://jaihochain.com", + "standard": "EIP3091" + } + ] + }, { "name": "Alyx Mainnet", "chain": "ALYX", @@ -12696,6 +13377,41 @@ } ] }, + { + "name": "ZKBase Mainnet", + "chain": "ETH", + "rpc": ["https://mainnet-rpc.zkbase.app"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://zkbase.org/", + "shortName": "zkbase", + "chainId": 1456, + "networkId": 1456, + "slip44": 1, + "icon": "zkbase", + "explorers": [ + { + "name": "ZKbase Block Explorer", + "url": "https://explorer.zkbase.app", + "icon": "zkbase", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://portal.zkbase.app/" + } + ] + }, + "redFlags": ["reusedChainId"] + }, { "name": "Vitruveo Mainnet", "title": "Vitruveo is a blockchain for Creators", @@ -12817,6 +13533,28 @@ } ] }, + { + "name": "Story Testnet", + "chain": "Story Testnet", + "rpc": ["https://testnet.storyrpc.io"], + "faucets": ["https://faucet.story.foundation"], + "chainId": 1513, + "networkId": 1513, + "nativeCurrency": { + "name": "IP", + "symbol": "IP", + "decimals": 18 + }, + "infoURL": "https://www.story.foundation", + "shortName": "Story", + "explorers": [ + { + "name": "Story Iliad Network explorer", + "url": "https://testnet.storyscan.xyz", + "standard": "EIP3091" + } + ] + }, { "name": "Beagle Messaging Chain", "chain": "BMC", @@ -12868,6 +13606,60 @@ } ] }, + { + "name": "StarCHAIN Testnet", + "chain": "StarCHAIN", + "rpc": ["https://testnet-rpc1.starworksglobal.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "STARX", + "symbol": "STARX", + "decimals": 18 + }, + "infoURL": "https://www.starworksglobal.com", + "shortName": "starchain-testnet", + "chainId": 1570, + "networkId": 1570, + "explorers": [ + { + "name": "StarCHAIN Explorer", + "url": "https://testnet.starchainscan.io", + "standard": "EIP3091" + } + ] + }, + { + "name": "StarCHAIN", + "chain": "StarCHAIN", + "rpc": ["https://rpc.starworksglobal.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "STARX", + "symbol": "STARX", + "decimals": 18 + }, + "infoURL": "https://www.starworksglobal.com", + "shortName": "starchain", + "chainId": 1578, + "networkId": 1578, + "explorers": [ + { + "name": "StarCHAIN Explorer", + "url": "https://starchainscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "Ethereum Inscription Mainnet", "chain": "ETINS", @@ -12936,7 +13728,7 @@ "faucets": [], "nativeCurrency": { "name": "Gravity", - "symbol": "G.", + "symbol": "G", "decimals": 18 }, "features": [ @@ -12972,6 +13764,28 @@ ] } }, + { + "name": "Pivotal Mainnet", + "chainId": 1648, + "networkId": 1648, + "chain": "Pivotal", + "rpc": ["https://mainnet.pivotalprotocol.com"], + "faucets": [], + "shortName": "pivotal-mainnet", + "nativeCurrency": { + "name": "Pivotal ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "http://thepivotal.xyz/", + "explorers": [ + { + "name": "Pivotal Scan", + "url": "https://pivotalscan.xyz", + "standard": "EIP3091" + } + ] + }, { "name": "Btachain", "chain": "btachain", @@ -13394,7 +14208,7 @@ "chain": "eip155-1", "bridges": [ { - "url": "https://portral.zkbase.app/" + "url": "https://portal.zkbase.app/" } ] }, @@ -13456,6 +14270,34 @@ } ] }, + { + "name": "Lif3 Chain Testnet", + "chain": "lif3chain", + "rpc": ["https://testnet-evm.lif3.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "LIF3", + "symbol": "LIF3", + "decimals": 18 + }, + "infoURL": "https://docs.lif3.com/", + "shortName": "lif3-testnet", + "icon": "lif3", + "chainId": 1811, + "networkId": 1811, + "explorers": [ + { + "name": "lif3scout", + "url": "https://testnet.lif3scout.com", + "standard": "none" + } + ] + }, { "name": "Cube Chain Mainnet", "chain": "Cube", @@ -13699,6 +14541,30 @@ } ] }, + { + "name": "ReDeFi Layer 2", + "chain": "ReDeFi", + "icon": "redefi", + "rpc": ["https://layer2.redefi.world"], + "faucets": [], + "nativeCurrency": { + "name": "RED", + "symbol": "RED", + "decimals": 18 + }, + "infoURL": "https://redefi.world", + "shortName": "red", + "chainId": 1899, + "networkId": 1899, + "slip44": 1899, + "explorers": [ + { + "name": "ReDeFi Scan", + "url": "https://scanlayer2.redefi.world", + "standard": "EIP3091" + } + ] + }, { "name": "Sports Chain Network", "chain": "SCN", @@ -13881,6 +14747,39 @@ } ] }, + { + "name": "Minato", + "shortName": "minato", + "title": "Soneium testnet Minato", + "chain": "ETH", + "icon": "minato", + "rpc": ["https://rpc.minato.soneium.org"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://soneium.org", + "chainId": 1946, + "networkId": 1946, + "explorers": [ + { + "name": "Blockscout Minato explorer", + "url": "https://explorer-testnet.soneium.org", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://bridge.soneium.org/testnet" + } + ] + } + }, { "name": "D-Chain Mainnet", "chain": "D-Chain", @@ -14257,6 +15156,29 @@ } ] }, + { + "name": "B3 Sepolia Testnet", + "chain": "B3 Sepolia Testnet", + "icon": "b3", + "rpc": ["https://sepolia.b3.fun"], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://b3.fun", + "shortName": "b3-sepolia", + "chainId": 1993, + "networkId": 1993, + "explorers": [ + { + "name": "Blockscout", + "url": "https://sepolia.explorer.b3.fun", + "standard": "EIP3091" + } + ] + }, { "name": "Ekta", "chain": "EKTA", @@ -14331,6 +15253,34 @@ } ] }, + { + "name": "Kyoto", + "chain": "KYOTO", + "rpc": ["https://rpc.kyotochain.io"], + "faucets": [], + "nativeCurrency": { + "name": "Kyoto", + "symbol": "KYOTO", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + } + ], + "infoURL": "https://kyotoprotocol.io", + "shortName": "kyoto", + "chainId": 1997, + "networkId": 1997, + "slip44": 1, + "explorers": [ + { + "name": "Kyotoscan", + "url": "https://kyotoscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "Kyoto Testnet", "chain": "KYOTO", @@ -14522,11 +15472,11 @@ "networkId": 1 }, { - "name": "NOW Chain", + "name": "NOW Chain Testnet", "chain": "NOW", "icon": "nowchain", - "rpc": ["https://rpc.nowscan.io"], - "faucets": [], + "rpc": ["https://rpc-testnet.nowscan.io"], + "faucets": ["https://faucet.nowchain.co"], "nativeCurrency": { "name": "NOW Coin", "symbol": "NOW", @@ -14539,7 +15489,7 @@ "explorers": [ { "name": "nowscan", - "url": "https://nowscan.io", + "url": "https://testnet.nowscan.io", "standard": "EIP3091" } ] @@ -14789,7 +15739,7 @@ "decimals": 18 }, "infoURL": "https://swanchain.io/", - "shortName": "swan", + "shortName": "saturn", "chainId": 2024, "networkId": 2024 }, @@ -15426,7 +16376,10 @@ { "name": "BigShortBets Testnet", "chain": "BIGSB Testnet", - "rpc": ["https://test-market.bigsb.io", "wss://test-market.bigsb.io"], + "rpc": [ + "https://test-market.bigsb.network", + "wss://test-market.bigsb.network" + ], "faucets": [], "nativeCurrency": { "name": "Dolarz", @@ -15635,6 +16588,28 @@ } ] }, + { + "name": "Animechain Testnet", + "chain": "Animechain", + "rpc": ["https://rpc.kanda.animechain.ai"], + "faucets": [], + "nativeCurrency": { + "name": "Coin", + "symbol": "COIN", + "decimals": 18 + }, + "infoURL": "https://animechain.ai", + "shortName": "animechaint", + "chainId": 2162, + "networkId": 2162, + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.kanda.animechain.ai", + "standard": "EIP3091" + } + ] + }, { "name": "Moonsama Network", "chain": "MSN", @@ -15902,6 +16877,30 @@ "explorers": [], "status": "incubating" }, + { + "name": "Chronicle Vesuvius - Lit Protocol Testnet", + "chain": "LPV", + "icon": "lit", + "rpc": ["https://vesuvius-rpc.litprotocol.com"], + "faucets": ["https://developer.litprotocol.com/support/intro"], + "nativeCurrency": { + "name": "Test LPX", + "symbol": "tstLPX", + "decimals": 18 + }, + "infoURL": "https://litprotocol.com", + "shortName": "lpv", + "chainId": 2311, + "networkId": 2311, + "explorers": [ + { + "name": "Lit Chronicle Vesuvius Explorer", + "url": "https://vesuvius-explorer.litprotocol.com", + "icon": "lit", + "standard": "EIP3091" + } + ] + }, { "name": "SOMA Network Testnet", "chain": "SOMA", @@ -16300,26 +17299,26 @@ ] }, { - "name": "King Of Legends Devnet", - "title": "King Of Legends Devnet", - "chain": "KOL", + "name": "King Of Legends Mainnet", + "title": "King Of Legends Mainnet", + "chain": "KCC", "icon": "kol", - "rpc": ["https://rpc-devnet.kinggamer.org/"], + "rpc": ["https://rpc-mainnet.kinggamer.org/"], "faucets": [], "nativeCurrency": { "name": "King Of Legends", - "symbol": "KOL", + "symbol": "KCC", "decimals": 18 }, "infoURL": "https://kingoflegends.net/", - "shortName": "kol", + "shortName": "kcc", "chainId": 2425, "networkId": 2425, "slip44": 1, "explorers": [ { - "name": "King Of Legends Devnet Explorer", - "url": "https://devnet.kingscan.org", + "name": "King Of Legends Mainnet Explorer", + "url": "https://kingscan.org", "icon": "kol", "standard": "EIP3091" } @@ -16667,6 +17666,54 @@ } ] }, + { + "name": "AILayer Testnet", + "chain": "AILayer", + "rpc": ["https://testnet-rpc.ailayer.xyz", "wss://testnet-rpc.ailayer.xyz"], + "faucets": [], + "nativeCurrency": { + "name": "BTC", + "symbol": "BTC", + "decimals": 18 + }, + "infoURL": "https://ailayer.xyz/", + "shortName": "ailayer-testnet", + "chainId": 2648, + "networkId": 2648, + "icon": "ailayer", + "explorers": [ + { + "name": "blockscout", + "url": "https://testnet-explorer.ailayer.xyz", + "icon": "ailayer", + "standard": "EIP3091" + } + ] + }, + { + "name": "AILayer Mainnet", + "chain": "AILayer", + "rpc": ["https://mainnet-rpc.ailayer.xyz", "wss://mainnet-rpc.ailayer.xyz"], + "faucets": [], + "nativeCurrency": { + "name": "BTC", + "symbol": "BTC", + "decimals": 18 + }, + "infoURL": "https://ailayer.xyz/", + "shortName": "ailayer-mainnet", + "chainId": 2649, + "networkId": 2649, + "icon": "ailayer", + "explorers": [ + { + "name": "blockscout", + "url": "https://mainnet-explorer.ailayer.xyz", + "icon": "ailayer", + "standard": "EIP3091" + } + ] + }, { "name": "APEX", "status": "incubating", @@ -16910,6 +17957,23 @@ ] } }, + { + "name": "Chips Network", + "chain": "CHIPS", + "rpc": [ + "https://node.chips.ooo/wasp/api/v1/chains/iota1pp3d3mnap3ufmgqnjsnw344sqmf5svjh26y2khnmc89sv6788y3r207a8fn/evm" + ], + "faucets": [], + "nativeCurrency": { + "name": "IOTA", + "symbol": "IOTA", + "decimals": 18 + }, + "infoURL": "https://www.chips.ooo", + "shortName": "chips", + "chainId": 2882, + "networkId": 2882 + }, { "name": "Boba Network Goerli Testnet", "chain": "ETH", @@ -17246,6 +18310,37 @@ ], "status": "incubating" }, + { + "name": "XL Network Testnet", + "chain": "XL Network Testnet", + "rpc": [ + "https://subnets.avax.network/xlnetworkt/testnet/rpc", + "wss://subnets.avax.network/xlnetworkt/testnet/ws" + ], + "features": [ + { + "name": "EIP1559" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "XLNetwork", + "symbol": "XLN", + "decimals": 18 + }, + "infoURL": "https://www.nysl.io/", + "shortName": "nysl", + "icon": "nysl", + "chainId": 3084, + "networkId": 3084, + "explorers": [ + { + "name": "XL Network Explorer", + "url": "https://subnets-test.avax.network/xlnetworkt", + "standard": "EIP3091" + } + ] + }, { "name": "Immu3 EVM", "chain": "EVMCC", @@ -17461,6 +18556,34 @@ "networkId": 3335, "slip44": 1 }, + { + "name": "peaq", + "chain": "peaq", + "icon": "peaq", + "rpc": [ + "https://peaq.api.onfinality.io/public", + "https://peaq-rpc.dwellir.com", + "https://peaq-rpc.publicnode.com", + "https://evm.peaq.network" + ], + "faucets": [], + "nativeCurrency": { + "name": "peaq", + "symbol": "PEAQ", + "decimals": 18 + }, + "infoURL": "https://www.peaq.network", + "shortName": "PEAQ", + "chainId": 3338, + "networkId": 3338, + "explorers": [ + { + "name": "Subscan", + "url": "https://peaq.subscan.io", + "standard": "none" + } + ] + }, { "name": "Paribu Net Mainnet", "chain": "PRB", @@ -17555,6 +18678,31 @@ } ] }, + { + "name": "GTCSCAN", + "chain": "GTC", + "icon": "gtc", + "rpc": ["https://gtc-dataseed.gtcscan.io/"], + "faucets": [], + "nativeCurrency": { + "name": "GTC", + "symbol": "GTC", + "decimals": 18 + }, + "infoURL": "https://gtcscan.io/", + "shortName": "gtc", + "chainId": 3490, + "networkId": 3490, + "slip44": 1, + "explorers": [ + { + "name": "GTCScan Explorer", + "url": "https://gtcscan.io", + "standard": "none", + "icon": "gtc" + } + ] + }, { "name": "Paribu Net Testnet", "chain": "PRB", @@ -17718,6 +18866,7 @@ { "name": "iChain Network", "chain": "iChain", + "icon": "iChain", "rpc": ["https://rpc.ichainscan.com"], "faucets": [], "nativeCurrency": { @@ -17737,6 +18886,29 @@ } ] }, + { + "name": "iChain Testnet", + "chain": "iChain Testnet", + "icon": "iChain", + "rpc": ["https://istanbul.ichainscan.com"], + "faucets": [], + "nativeCurrency": { + "name": "ISLAMICOIN", + "symbol": "ISLAMI", + "decimals": 18 + }, + "infoURL": "https://islamicoin.finance", + "shortName": "ISLAMIT", + "chainId": 3645, + "networkId": 3645, + "explorers": [ + { + "name": "iChainscan", + "url": "https://test.ichainscan.com", + "standard": "EIP3091" + } + ] + }, { "name": "Jouleverse Mainnet", "chain": "Jouleverse", @@ -18538,14 +19710,14 @@ } }, { - "name": "Tobe Chain", + "name": "Tobe Chain Testnet", "chain": "TBC", "icon": "tobe", - "rpc": ["https://rpc.tobescan.com"], - "faucets": [], + "rpc": ["https://rpc-testnet.tobescan.com"], + "faucets": ["https://faucet.tobescan.com/faucet"], "nativeCurrency": { "name": "Tobe Coin", - "symbol": "TBC", + "symbol": "TOBE", "decimals": 18 }, "infoURL": "https://tobechain.net", @@ -18554,8 +19726,8 @@ "networkId": 4080, "explorers": [ { - "name": "tobescan", - "url": "https://tobescan.com", + "name": "tobescan testnet", + "url": "https://testnet.tobescan.com", "standard": "EIP3091" } ] @@ -18739,6 +19911,34 @@ } ] }, + { + "name": "SX Rollup", + "chain": "SX", + "icon": "SX", + "rpc": ["https://rpc.sx-rollup.gelato.digital"], + "faucets": [], + "nativeCurrency": { + "name": "SX Network", + "symbol": "SX", + "decimals": 18 + }, + "infoURL": "https://www.sx.technology", + "shortName": "SXR", + "chainId": 4162, + "networkId": 4162, + "explorers": [ + { + "name": "SX L2 Explorer", + "url": "https://explorerl2.sx.technology", + "standard": "EIP3091", + "icon": "SX" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1" + } + }, { "name": "PHI Network V1", "chain": "PHI V1", @@ -18907,6 +20107,29 @@ } ] }, + { + "name": "Laika Testnet", + "chain": "LAIKA", + "rpc": ["https://testnetrpc1.laikachain.dog"], + "faucets": ["https://laikachain.dog/faucets"], + "nativeCurrency": { + "name": "Dogecoin", + "symbol": "DOGE", + "decimals": 18 + }, + "infoURL": "https://laikachain.dog", + "shortName": "laika-testnet", + "chainId": 4269, + "networkId": 4269, + "icon": "laika", + "explorers": [ + { + "name": "Laika Testnet Explorer", + "url": "https://testnet.laikachain.dog", + "standard": "EIP3091" + } + ] + }, { "name": "Bobafuji Testnet", "chain": "Bobafuji Testnet", @@ -19263,6 +20486,23 @@ } ] }, + { + "name": "World Chain Sepolia Testnet", + "chain": "ETH", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://worldcoin.org/", + "shortName": "wcsep", + "chainId": 4801, + "networkId": 4801, + "slip44": 1, + "explorers": [] + }, { "name": "Globel Chain", "chain": "GC", @@ -19389,6 +20629,11 @@ "chainId": 5000, "networkId": 5000, "explorers": [ + { + "name": "mantlescan", + "url": "https://mantlescan.xyz", + "standard": "EIP3091" + }, { "name": "Mantle Explorer", "url": "https://explorer.mantle.xyz", @@ -19761,6 +21006,38 @@ ], "status": "active" }, + { + "name": "MeChain Testnet", + "chain": "MeChain", + "rpc": ["https://testnet-rpc.mechain.tech"], + "faucets": ["https://faucet.mechain.tech"], + "nativeCurrency": { + "name": "ZKME", + "symbol": "ZKME", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://mechain.tech", + "shortName": "ZKME", + "chainId": 5151, + "networkId": 5151, + "icon": "mechain", + "explorers": [ + { + "name": "MeChain Scan", + "url": "https://testnet-scan.mechain.tech", + "icon": "mechain", + "standard": "EIP3091" + } + ] + }, { "name": "Bahamut", "title": "Bahamut mainnet", @@ -19967,6 +21244,30 @@ } ] }, + { + "name": "Netsbo", + "chain": "NETSBO", + "rpc": ["https://rpc1.netsbo.io", "https://rpc2.netsbo.io"], + "faucets": [], + "nativeCurrency": { + "name": "Netsbo", + "symbol": "NETS", + "decimals": 18 + }, + "infoURL": "https://netsbo.io", + "shortName": "nets", + "chainId": 5333, + "networkId": 5333, + "icon": "netsbo", + "explorers": [ + { + "name": "netsbo", + "url": "https://explorer.netsbo.io", + "icon": "netsbo", + "standard": "none" + } + ] + }, { "name": "Tritanium Testnet", "chain": "TRITANIUM", @@ -20501,6 +21802,30 @@ } ] }, + { + "name": "Chang Chain Foundation Mainnet", + "chain": "ChangChain", + "rpc": ["https://rpc.cthscan.com/"], + "faucets": [], + "nativeCurrency": { + "name": "Chang Coin Thailand", + "symbol": "CTH", + "decimals": 18 + }, + "infoURL": "https://changcoin.foundation/", + "shortName": "ChangChain", + "chainId": 5858, + "networkId": 5858, + "icon": "changchain", + "explorers": [ + { + "name": "CTH Scan", + "url": "https://cthscan.com", + "standard": "EIP3091", + "icon": "blockscout" + } + ] + }, { "name": "Wegochain Rubidium Mainnet", "chain": "RBD", @@ -20705,6 +22030,34 @@ } ] }, + { + "name": "LAOS", + "title": "LAOS Mainnet", + "chain": "LAOS", + "icon": "laosnetwork", + "rpc": [ + "https://rpc.laos.laosfoundation.io", + "wss://rpc.laos.laosfoundation.io" + ], + "faucets": [], + "nativeCurrency": { + "name": "LAOS", + "symbol": "LAOS", + "decimals": 18 + }, + "infoURL": "https://laosnetwork.io", + "shortName": "laosnetwork", + "chainId": 6283, + "networkId": 6283, + "explorers": [ + { + "name": "blockscout", + "url": "https://blockscout.laos.laosfoundation.io", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "Aura Euphoria Testnet", "chain": "Aura", @@ -20771,6 +22124,29 @@ "chainId": 6363, "networkId": 6363 }, + { + "name": "Connext Sepolia", + "chain": "Connext Sepolia", + "rpc": ["https://rpc.connext-sepolia.gelato.digital/"], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "faucets": [], + "infoURL": "", + "shortName": "connext-sepolia", + "chainId": 6398, + "networkId": 6398, + "explorers": [ + { + "name": "Connext Sepolia", + "url": "https://connext-sepolia.blockscout.com", + "icon": "connext", + "standard": "none" + } + ] + }, { "name": "Peerpay", "chain": "P2P", @@ -20787,6 +22163,28 @@ "networkId": 6502, "explorers": [] }, + { + "name": "Flamma Testnet", + "chain": "Flamma", + "rpc": ["https://testnetrpc.flamma.network"], + "faucets": [], + "nativeCurrency": { + "name": "Flamma", + "symbol": "FLA", + "decimals": 18 + }, + "infoURL": "https://flamma.network", + "shortName": "FlammaTestnet", + "chainId": 6550, + "networkId": 6550, + "explorers": [ + { + "name": "flascan", + "url": "https://testnet.flascan.net", + "standard": "EIP3091" + } + ] + }, { "name": "Scolcoin WeiChain Testnet", "chain": "SCOLWEI-testnet", @@ -20970,6 +22368,29 @@ ] } }, + { + "name": "Edge Matrix Chain", + "chain": "EMC", + "icon": "emc", + "rpc": ["https://rpc1-mainnet.emc.network"], + "faucets": [], + "nativeCurrency": { + "name": "Edge Matrix Chain Token", + "symbol": "EMC", + "decimals": 18 + }, + "infoURL": "", + "shortName": "EMC", + "chainId": 6678, + "networkId": 6678, + "explorers": [ + { + "name": "blockscout", + "url": "https://emcscan.com", + "standard": "EIP3091" + } + ] + }, { "name": "IRIShub", "chain": "IRIShub", @@ -21094,6 +22515,74 @@ } ] }, + { + "name": "RACE Mainnet", + "chain": "ETH", + "rpc": ["https://racemainnet.io/"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://race.foundation/", + "shortName": "raceeth", + "chainId": 6805, + "networkId": 6805, + "slip44": 1, + "icon": "race", + "explorers": [ + { + "name": "blockscout", + "url": "https://racescan.io", + "icon": "blockscout", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://bridge.race.foundation/" + } + ] + } + }, + { + "name": "RACE Testnet", + "chain": "ETH", + "rpc": ["https://racetestnet.io/"], + "faucets": ["https://faucet.racetestnet.io/"], + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://race.foundation/", + "shortName": "racesep", + "chainId": 6806, + "networkId": 6806, + "slip44": 1, + "icon": "race", + "explorers": [ + { + "name": "blockscout", + "url": "https://testnet.racescan.io", + "icon": "blockscout", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://testnet-bridge.race.foundation/" + } + ] + } + }, { "name": "Pools Mainnet", "chain": "Pools", @@ -21119,6 +22608,29 @@ } ] }, + { + "name": "Laika Mainnet", + "chain": "LAIKA", + "rpc": ["https://mainnetrpc.laikachain.dog"], + "faucets": ["https://laikachain.dog/faucets"], + "nativeCurrency": { + "name": "Dogecoin", + "symbol": "DOGE", + "decimals": 18 + }, + "infoURL": "https://laikachain.dog", + "shortName": "laika", + "chainId": 6942, + "networkId": 6942, + "icon": "laika", + "explorers": [ + { + "name": "Laika Mainnet Explorer", + "url": "https://explorer.laikachain.dog", + "standard": "EIP3091" + } + ] + }, { "name": "Tomb Chain Mainnet", "chain": "Tomb Chain", @@ -21175,7 +22687,10 @@ "icon": "zetachain", "rpc": [ "https://zetachain-evm.blockpi.network/v1/rpc/public", - "https://zetachain-mainnet-archive.allthatnode.com:8545" + "https://zetachain-mainnet.g.allthatnode.com/archive/evm", + "https://zeta-chain.drpc.org", + "https://zetachain-mainnet.public.blastapi.io", + "https://7000.rpc.thirdweb.com" ], "faucets": [], "nativeCurrency": { @@ -21197,34 +22712,38 @@ ] }, { - "name": "ZetaChain Athens 3 Testnet", + "name": "ZetaChain Testnet", "chain": "ZetaChain", "icon": "zetachain", "rpc": [ "https://zetachain-athens-evm.blockpi.network/v1/rpc/public", - "wss://zetachain-athens.blockpi.network/rpc/v1/public/websocket", - "https://zetachain-testnet-archive.allthatnode.com:8545" + "https://zetachain-testnet.public.blastapi.io", + "https://zetachain-athens.g.allthatnode.com/archive/evm", + "https://7001.rpc.thirdweb.com", + "https://zeta-chain-testnet.drpc.org" + ], + "faucets": [ + "https://www.zetachain.com/docs/reference/apps/get-testnet-zeta/" ], - "faucets": ["https://labs.zetachain.com/get-zeta"], "nativeCurrency": { "name": "Zeta", "symbol": "ZETA", "decimals": 18 }, "infoURL": "https://zetachain.com/docs", - "shortName": "zetachain-athens", + "shortName": "zetachain-testnet", "chainId": 7001, "networkId": 7001, "slip44": 1, "status": "active", "explorers": [ { - "name": "ZetaChain Athens Testnet Explorer", - "url": "https://athens3.explorer.zetachain.com", + "name": "ZetaScan", + "url": "https://athens.explorer.zetachain.com", "standard": "none" }, { - "name": "blockscout", + "name": "Blockscout", "url": "https://zetachain-athens-3.blockscout.com", "icon": "blockscout", "standard": "EIP3091" @@ -21388,6 +22907,64 @@ } ] }, + { + "name": "Nibiru Testnet-1", + "chain": "Nibiru", + "rpc": ["https://evm-rpc.testnet-1.nibiru.fi"], + "faucets": [], + "nativeCurrency": { + "name": "NIBI", + "symbol": "NIBI", + "decimals": 18 + }, + "infoURL": "https://nibiru.fi", + "shortName": "nibiru-testnet-1", + "chainId": 7210, + "networkId": 7210, + "icon": "nibiru", + "explorers": [] + }, + { + "name": "Nibiru Devnet-3", + "chain": "Nibiru", + "rpc": ["https://evm-rpc.devnet-3.nibiru.fi"], + "faucets": [], + "nativeCurrency": { + "name": "NIBI", + "symbol": "NIBI", + "decimals": 18 + }, + "infoURL": "https://nibiru.fi", + "shortName": "nibiru-devnet-3", + "chainId": 7222, + "networkId": 7222, + "icon": "nibiru", + "explorers": [] + }, + { + "name": "ZEUS Testnet", + "chain": "tZEUS", + "icon": "zeusicon", + "rpc": ["https://testnet-rpc.zeuschainscan.io"], + "nativeCurrency": { + "name": "The ZEUS Token", + "symbol": "ZEUS", + "decimals": 18 + }, + "infoURL": "https://testnet-explorer.zeuschainscan.io", + "shortName": "ZEUS-Testnet", + "chainId": 7244, + "networkId": 7244, + "faucets": ["https://faucet.zeuschainscan.io"], + "explorers": [ + { + "name": "ZEUS Testnet Explorer", + "url": "https://testnet-explorer.zeuschainscan.io", + "icon": "zeusicon", + "standard": "EIP3091" + } + ] + }, { "name": "XPLA Verse", "chain": "XPLA Verse", @@ -21777,6 +23354,29 @@ } ] }, + { + "name": "GDCC MAINNET", + "chain": "GDCC", + "icon": "gdcc", + "rpc": ["https://mainnet-rpc-1.gdccscan.io"], + "faucets": [], + "nativeCurrency": { + "name": "GDCC", + "symbol": "GDCC", + "decimals": 18 + }, + "infoURL": "https://gdcchain.com", + "shortName": "GdccMainnet", + "chainId": 7774, + "networkId": 7774, + "explorers": [ + { + "name": "GDCC", + "url": "https://gdccscan.io", + "standard": "none" + } + ] + }, { "name": "GDCC TESTNET", "chain": "GDCC", @@ -21800,6 +23400,28 @@ } ] }, + { + "name": "PandaSea Mainnet", + "chain": "PandaSea", + "rpc": ["https://rpc1.pandasea.io"], + "faucets": [], + "nativeCurrency": { + "name": "PandaSea Coin", + "symbol": "PANDA", + "decimals": 18 + }, + "infoURL": "", + "shortName": "pandaSea-mainnet", + "chainId": 7776, + "networkId": 7776, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://pandaseascan.com", + "standard": "none" + } + ] + }, { "name": "Rise of the Warbots Testnet", "chain": "nmactest", @@ -21908,6 +23530,60 @@ } ] }, + { + "name": "MaalChain V2", + "chain": "MAAL", + "icon": "maal", + "rpc": [ + "https://node1-mainnet-new.maalscan.io/", + "https://node2-mainnet-new.maalscan.io/", + "https://node3-mainnet-new.maalscan.io/" + ], + "faucets": [], + "nativeCurrency": { + "name": "MAAL", + "symbol": "MAAL", + "decimals": 18 + }, + "infoURL": "https://www.maalchain.com/", + "shortName": "maal-v2", + "chainId": 7862, + "networkId": 7862, + "explorers": [ + { + "name": "maalscan", + "url": "https://maalscan.io", + "standard": "EIP3091" + } + ] + }, + { + "name": "MaalChain Testnet V2", + "chain": "MaalChain Testnet V2", + "icon": "maal-test", + "rpc": [ + "https://node-testnet.maalscan.io/", + "https://node2-testnet.maalscan.io/" + ], + "faucets": ["https://faucet-new-testnet.maalscan.io/"], + "nativeCurrency": { + "name": "MAAL", + "symbol": "MAAL", + "decimals": 18 + }, + "infoURL": "https://www.maalchain.com/", + "shortName": "maal-test-v2", + "chainId": 7863, + "networkId": 7863, + "slip44": 1, + "explorers": [ + { + "name": "maalscan testnet", + "url": "https://new-testnet.maalscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "Hazlor Testnet", "chain": "SCAS", @@ -22116,6 +23792,30 @@ } ] }, + { + "name": "Polynomial", + "chain": "Polynomial", + "rpc": ["https://rpc.polynomial.fi"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://polynomial.fi", + "shortName": "polynomial", + "chainId": 8008, + "networkId": 8008, + "icon": "polynomial", + "explorers": [ + { + "name": "Polynomial Explorer", + "url": "https://polynomialscan.io", + "standard": "none", + "icon": "polynomial" + } + ] + }, { "name": "MDGL Testnet", "chain": "MDGL", @@ -22496,17 +24196,17 @@ ] }, { - "name": "Klaytn Mainnet Cypress", - "chain": "KLAY", - "rpc": ["https://public-en-cypress.klaytn.net"], + "name": "Kaia Mainnet", + "chain": "KAIA", + "rpc": ["https://public-en.node.kaia.io"], "faucets": [], "nativeCurrency": { - "name": "KLAY", + "name": "KAIA", "symbol": "KLAY", "decimals": 18 }, - "infoURL": "https://klaytn.foundation", - "shortName": "Cypress", + "infoURL": "https://kaia.io", + "shortName": "kaia-mainnet", "chainId": 8217, "networkId": 8217, "slip44": 8217, @@ -22621,6 +24321,29 @@ } ] }, + { + "name": "B3", + "chain": "B3", + "icon": "b3", + "rpc": ["https://mainnet-rpc.b3.fun"], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://b3.fun", + "shortName": "b3", + "chainId": 8333, + "networkId": 8333, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.b3.fun", + "standard": "EIP3091" + } + ] + }, { "name": "Dracones Financial Services", "title": "The Dracones Mainnet", @@ -22682,6 +24405,22 @@ ], "status": "active" }, + { + "name": "Chakra Testnet", + "chain": "Chakra Testnet", + "rpc": ["https://rpcv1-dn-1.chakrachain.io/"], + "faucets": [], + "nativeCurrency": { + "name": "Chakra", + "symbol": "CKR", + "decimals": 18 + }, + "infoURL": "", + "shortName": "ChakraTN", + "chainId": 8545, + "networkId": 8545, + "explorers": [] + }, { "name": "Toki Network", "chain": "TOKI", @@ -22825,6 +24564,29 @@ } ] }, + { + "name": "Bullions Smart Chain", + "chain": "Bullions", + "rpc": ["https://rpc.bullionsx.org"], + "faucets": [], + "nativeCurrency": { + "name": "Bullions", + "symbol": "BLN", + "decimals": 18 + }, + "infoURL": "https://www.bullionsx.io", + "shortName": "bln", + "chainId": 8732, + "networkId": 8732, + "slip44": 8732, + "explorers": [ + { + "name": "Bullionscan", + "url": "https://bullionscan.org", + "standard": "EIP3091" + } + ] + }, { "name": "Alph Network", "chain": "ALPH", @@ -22969,6 +24731,34 @@ } ] }, + { + "name": "Lif3 Chain", + "chain": "lif3chain", + "rpc": ["https://rpc.lif3.com"], + "features": [ + { + "name": "EIP155" + } + ], + "faucets": [], + "nativeCurrency": { + "name": "LIF3", + "symbol": "LIF3", + "decimals": 18 + }, + "infoURL": "https://docs.lif3.com/", + "shortName": "lif3-mainnet", + "icon": "lif3", + "chainId": 8869, + "networkId": 8869, + "explorers": [ + { + "name": "lif3scout", + "url": "https://lif3scout.com", + "standard": "none" + } + ] + }, { "name": "Unique", "icon": "unique", @@ -23083,6 +24873,34 @@ } ] }, + { + "name": "Avenium Testnet", + "chain": "AVE", + "rpc": [ + "https://eu-testnet.avenium.io/", + "https://connect-testnet.avenium.io" + ], + "faucets": ["https://faucet-testnet.avenium.io"], + "nativeCurrency": { + "name": "Ave Native Token", + "symbol": "tAVE", + "decimals": 18 + }, + "infoURL": "https://avenium.io", + "shortName": "tave", + "chainId": 8886, + "networkId": 8886, + "icon": "avenium", + "status": "incubating", + "explorers": [ + { + "name": "Avenium Explorer Testnet", + "icon": "avenium", + "url": "https://testnet.avescan.net", + "standard": "none" + } + ] + }, { "name": "XANAChain", "chain": "XANAChain", @@ -23185,7 +25003,7 @@ { "name": "JIBCHAIN L1", "chain": "JBC", - "rpc": ["https://rpc-l1.jibchain.net", "https://jib-rpc.inan.in.th"], + "rpc": ["https://rpc-l1.jibchain.net", "https://rpc-l1.inan.in.th"], "faucets": [], "icon": "jbc", "features": [ @@ -23547,6 +25365,50 @@ } ] }, + { + "name": "Apex Fusion - Nexus Mainnet", + "chain": "Nexus Mainnet", + "rpc": ["https://rpc.nexus.mainnet.apexfusion.org/"], + "faucets": [], + "nativeCurrency": { + "name": "Apex Fusion Token", + "symbol": "AP3X", + "decimals": 18 + }, + "infoURL": "https://apexfusion.org/", + "features": [ + { + "name": "EIP155" + } + ], + "shortName": "AP3X", + "chainId": 9069, + "networkId": 9069, + "icon": "apexfusion", + "explorers": [] + }, + { + "name": "Apex Fusion - Nexus testnet", + "chain": "Nexus testnet", + "rpc": ["https://rpc.nexus.testnet.apexfusion.org/"], + "faucets": [], + "nativeCurrency": { + "name": "Apex Fusion Token", + "symbol": "tAP3X", + "decimals": 18 + }, + "infoURL": "https://apexfusion.org/", + "features": [ + { + "name": "EIP155" + } + ], + "shortName": "tAP3X", + "chainId": 9070, + "networkId": 9070, + "icon": "apexfusion", + "explorers": [] + }, { "name": "Genesis Coin", "chain": "Genesis", @@ -23628,6 +25490,29 @@ } ] }, + { + "name": "Oasys Testnet", + "chain": "Oasys", + "icon": "oasys", + "rpc": ["https://rpc.testnet.oasys.games"], + "faucets": [], + "nativeCurrency": { + "name": "OAS", + "symbol": "OAS", + "decimals": 18 + }, + "infoURL": "https://oasys.games", + "shortName": "OAS_TEST", + "chainId": 9372, + "networkId": 9372, + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.testnet.oasys.games", + "standard": "EIP3091" + } + ] + }, { "name": "Dela Sepolia Testnet", "chain": "ETH", @@ -23676,6 +25561,29 @@ } ] }, + { + "name": "WeaveVM Testnet", + "chain": "WVM", + "rpc": ["https://testnet.wvm.dev", "https://testnet-rpc.wvm.dev"], + "faucets": [], + "nativeCurrency": { + "name": "Testnet WeaveVM Token", + "symbol": "tWVM", + "decimals": 18 + }, + "infoURL": "https://wvm.dev", + "shortName": "twvm", + "chainId": 9496, + "networkId": 9496, + "icon": "weavevm", + "explorers": [ + { + "name": "WeaveVM Explorer", + "url": "https://explorer.wvm.dev", + "standard": "EIP3091" + } + ] + }, { "name": "Rangers Protocol Testnet Robin", "chain": "Rangers", @@ -23995,6 +25903,29 @@ } ] }, + { + "name": "BinaryChain Testnet", + "chain": "BinaryChain", + "icon": "binary", + "rpc": ["https://rpctestnet.binarychain.org"], + "faucets": ["https://faucet.testnet.binarychain.org"], + "nativeCurrency": { + "name": "BINARY", + "symbol": "BNRY", + "decimals": 18 + }, + "infoURL": "https://binarychain.org", + "shortName": "binarytestnet", + "chainId": 9876, + "networkId": 9876, + "explorers": [ + { + "name": "BinaryChain Testnet Explorer", + "url": "https://explorer.testnet.binarychain.org", + "standard": "EIP3091" + } + ] + }, { "name": "Dogelayer Mainnet", "chain": "Dogelayer", @@ -24067,6 +25998,34 @@ } ] }, + { + "name": "UXER TESTNET NETWORK", + "chain": "UXER", + "rpc": [ + "https://dev-testnet.uxer.network", + "https://data-cloud-testnet.uxer.network" + ], + "faucets": ["https://faucet.uxer.network"], + "nativeCurrency": { + "name": "UXER", + "symbol": "tUXER", + "decimals": 18 + }, + "infoURL": "https://uxer.network", + "shortName": "uxer", + "chainId": 9966, + "networkId": 9966, + "slip44": 1, + "icon": "uxer", + "explorers": [ + { + "name": "UXER TESTNET EXPLORER", + "icon": "uxer", + "url": "https://testnet.uxer.network", + "standard": "none" + } + ] + }, { "name": "Mind Smart Chain Testnet", "chain": "tMIND", @@ -24335,7 +26294,8 @@ "chain": "JOCT", "rpc": [ "https://rpc-1.testnet.japanopenchain.org:8545", - "https://rpc-2.testnet.japanopenchain.org:8545" + "https://rpc-2.testnet.japanopenchain.org:8545", + "https://rpc-3.testnet.japanopenchain.org" ], "faucets": [], "nativeCurrency": { @@ -24371,6 +26331,34 @@ "chainId": 10086, "networkId": 10086 }, + { + "name": "MetaNova Verse", + "chain": "MNV", + "rpc": ["https://web3.metanovaverse.com"], + "faucets": [], + "nativeCurrency": { + "name": "MNV", + "symbol": "MNV", + "decimals": 18 + }, + "features": [], + "infoURL": "https://metanovaverse.com/", + "shortName": "mnv", + "chainId": 10096, + "networkId": 10096, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.metanovaverse.com", + "standard": "EIP3091" + }, + { + "name": "Cosmos Explorer (Ping)", + "url": "https://ping.metanovaverse.com/metanovaverse", + "standard": "none" + } + ] + }, { "name": "Blockchain Genesis Mainnet", "chain": "GEN", @@ -24808,6 +26796,29 @@ } ] }, + { + "name": "Shape Sepolia Testnet", + "chain": "ETH", + "rpc": ["https://sepolia.shape.network"], + "faucets": [], + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://shape.network", + "shortName": "shapesep", + "chainId": 11011, + "networkId": 11011, + "explorers": [ + { + "name": "blockscout", + "url": "https://shape-sepolia-explorer.alchemy.com", + "standard": "EIP3091" + } + ], + "slip44": 1 + }, { "name": "Astra", "chain": "Astra", @@ -24914,6 +26925,37 @@ } ] }, + { + "name": "Abstract Testnet", + "chain": "Abstract Testnet", + "rpc": ["https://api.testnet.abs.xyz"], + "faucets": ["https://faucet.triangleplatform.com/abstract/testnet"], + "chainId": 11124, + "networkId": 11124, + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://abs.xyz/", + "shortName": "Abstract", + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://portal.testnet.abs.xyz/bridge" + } + ] + }, + "explorers": [ + { + "name": "Abstract Block Explorer", + "url": "https://explorer.testnet.abs.xyz", + "standard": "none" + } + ] + }, { "name": "Shine Chain", "chain": "SC20", @@ -25063,6 +27105,29 @@ } ] }, + { + "name": "SatsChain", + "chain": "SatsChain", + "rpc": ["https://rpc-satschain-1.bevm.io"], + "faucets": [], + "nativeCurrency": { + "name": "SATS", + "symbol": "SATS", + "decimals": 18 + }, + "infoURL": "https://github.com/BTCSatsNetwork", + "shortName": "satschain", + "chainId": 11521, + "networkId": 11521, + "icon": "satschain", + "explorers": [ + { + "name": "satschain scan", + "url": "https://scan-satschain.bevm.io", + "standard": "none" + } + ] + }, { "name": "Sardis Testnet", "chain": "SRDX", @@ -25087,6 +27152,28 @@ } ] }, + { + "name": "Artela Testnet", + "chain": "Artela", + "rpc": ["https://betanet-rpc1.artela.network"], + "faucets": [], + "nativeCurrency": { + "name": "ART", + "symbol": "ART", + "decimals": 18 + }, + "infoURL": "https://artela.network/", + "shortName": "Artela", + "chainId": 11822, + "networkId": 11822, + "explorers": [ + { + "name": "ArtelaScan", + "url": "https://betanet-scan.artela.network", + "standard": "EIP3091" + } + ] + }, { "status": "deprecated", "name": "Santiment Intelligence Network DEPRECATED", @@ -25146,6 +27233,28 @@ "type": "L2" } }, + { + "name": "Fuse Testnet", + "chain": "Fuse", + "rpc": ["https://rpc.flash.fuse.io"], + "faucets": ["https://faucet.flash.fuse.io"], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "", + "shortName": "fuseZK", + "chainId": 12001, + "networkId": 12001, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.flash.fuse.io", + "standard": "none" + } + ] + }, { "name": "SatoshiChain Mainnet", "chain": "SATS", @@ -25751,7 +27860,7 @@ "faucets": [], "nativeCurrency": { "name": "Sepolia Gravity", - "symbol": "G.", + "symbol": "G", "decimals": 18 }, "features": [ @@ -26018,6 +28127,30 @@ } ] }, + { + "name": "KYMTC Mainnet", + "chain": "KYMTC", + "icon": "kymtc", + "rpc": ["https://mainnet-rpc.kymaticscan.online"], + "faucets": [], + "nativeCurrency": { + "name": "KYMTC", + "symbol": "KYMTC", + "decimals": 18 + }, + "infoURL": "https://kymaticscan.online", + "shortName": "KYMTC", + "chainId": 15430, + "networkId": 15430, + "explorers": [ + { + "name": "KYMTC Mainnet Explorer", + "url": "https://kymaticscan.online", + "icon": "kymtc", + "standard": "EIP3091" + } + ] + }, { "name": "LoopNetwork Mainnet", "chain": "LoopNetwork", @@ -26155,6 +28288,89 @@ "chain": "eip155-248" } }, + { + "name": "Cypherium Mainnet", + "chain": "CPH", + "rpc": ["https://pubnodes.cypherium.io/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "Cypherium", + "symbol": "CPH", + "decimals": 18 + }, + "infoURL": "https://www.cypherium.io/", + "shortName": "cph", + "chainId": 16166, + "networkId": 16166, + "explorers": [ + { + "name": "Testnet Block Explorer", + "url": "https://cypherium.tryethernal.com", + "standard": "EIP3091" + } + ] + }, + { + "name": "PLYR PHI", + "chain": "PLYR", + "icon": "plyr", + "rpc": ["https://subnets.avax.network/plyr/mainnet/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "PLYR", + "symbol": "PLYR", + "decimals": 18 + }, + "infoURL": "https://plyr.network", + "shortName": "plyr-phi", + "chainId": 16180, + "networkId": 16180, + "explorers": [ + { + "name": "Avalanche Subnet Explorer", + "url": "https://subnets.avax.network/plyr", + "standard": "EIP3091" + } + ] + }, + { + "name": "Incentiv Devnet", + "chain": "Incentiv", + "rpc": ["https://rpc.ankr.com/incentiv_devnet"], + "faucets": ["https://faucet.incentiv-dev.ankr.network"], + "nativeCurrency": { + "name": "Testnet INC", + "symbol": "INC", + "decimals": 18 + }, + "infoURL": "https://incentiv.net", + "shortName": "tIncentiv", + "chainId": 16350, + "networkId": 16350, + "slip44": 1 + }, + { + "name": "Pivotal Sepolia", + "chainId": 16481, + "networkId": 16481, + "chain": "Pivotal", + "rpc": ["https://sepolia.pivotalprotocol.com"], + "faucets": [], + "shortName": "pivotal-sepolia", + "nativeCurrency": { + "name": "Pivotal ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "http://thepivotal.xyz/", + "explorers": [ + { + "name": "Pivotal Scan", + "url": "https://sepolia.pivotalscan.xyz", + "standard": "EIP3091" + } + ] + }, { "name": "Genesys Mainnet", "chain": "Genesys", @@ -26178,6 +28394,29 @@ } ] }, + { + "name": "0G-Newton-Testnet", + "chain": "0G-Testnet", + "rpc": ["https://rpc-testnet.0g.ai"], + "faucets": ["https://faucet.0g.ai"], + "nativeCurrency": { + "name": "A0GI", + "symbol": "A0GI", + "decimals": 18 + }, + "infoURL": "https://0g.ai", + "shortName": "0gai-testnet", + "chainId": 16600, + "networkId": 16600, + "icon": "0gai", + "explorers": [ + { + "name": "0G Chain Explorer", + "url": "https://chainscan-newton.0g.ai", + "standard": "none" + } + ] + }, { "name": "IRIShub Testnet", "chain": "IRIShub", @@ -26366,6 +28605,34 @@ ] } }, + { + "name": "Onchain Points", + "chain": "POP", + "rpc": [ + "https://rpc.onchainpoints.xyz", + "https://rpc-onchain-points-8n0qkkpr2j.t.conduit.xyz/{CONDUIT_API_KEY}" + ], + "faucets": [], + "nativeCurrency": { + "name": "OnchainPoints.xyz", + "symbol": "POP", + "decimals": 18 + }, + "infoURL": "https://onchainpoints.xyz", + "shortName": "pop", + "chainId": 17071, + "networkId": 17071, + "icon": "pop", + "status": "incubating", + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.onchainpoints.xyz", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "DeFiVerse Testnet", "chain": "DeFiVerse Testnet", @@ -26807,6 +29074,76 @@ "chain": "eip155-248" } }, + { + "name": "BlockX Atlantis Testnet", + "chain": "blockx", + "rpc": ["https://atlantis-web3.blockxnet.com"], + "faucets": ["https://ping.blockxnet.com/blockx-atlantis-testnet/faucet"], + "nativeCurrency": { + "name": "BCX", + "symbol": "BCX", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://www.blockxnet.com/", + "shortName": "tbcx", + "chainId": 19077, + "networkId": 19077, + "explorers": [ + { + "name": "BlockX EVM Explorer (Blockscout)", + "url": "https://testnet-explorer.blockxnet.com", + "standard": "EIP3091" + }, + { + "name": "BlockX Cosmos Explorer (Ping)", + "url": "https://ping.blockxnet.com/blockx-atlantis-testnet", + "standard": "none" + } + ] + }, + { + "name": "BlockX Mainnet", + "chain": "blockx", + "rpc": ["https://web3.blockxnet.com"], + "faucets": ["https://ping.blockxnet.com/blockx/faucet"], + "nativeCurrency": { + "name": "BCX", + "symbol": "BCX", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://www.blockxnet.com/", + "shortName": "bcx", + "chainId": 19191, + "networkId": 19191, + "explorers": [ + { + "name": "BlockX EVM Explorer (Blockscout)", + "url": "https://explorer.blockxnet.com", + "standard": "EIP3091" + }, + { + "name": "BlockX Cosmos Explorer (Ping)", + "url": "https://ping.blockxnet.com/blockx", + "standard": "none" + } + ] + }, { "name": "Decentraconnect Social", "chain": "DCSM", @@ -27157,6 +29494,30 @@ } ] }, + { + "name": "Lestnet", + "chain": "LETH", + "rpc": ["https://service.lestnet.org"], + "faucets": [], + "nativeCurrency": { + "name": "Lestnet Ether", + "symbol": "LETH", + "decimals": 18 + }, + "infoURL": "https://lestnet.org", + "shortName": "leth", + "chainId": 21363, + "networkId": 21363, + "icon": "lestnet", + "explorers": [ + { + "name": "Lestnet Explorer", + "url": "https://explore.lestnet.org", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "omChain Mainnet", "chain": "OML", @@ -27498,6 +29859,30 @@ } ] }, + { + "name": "KYMTC Testnet", + "chain": "KYMTC", + "icon": "kymtc", + "rpc": ["https://testnet-rpc.kymaticscan.online"], + "faucets": ["https://faucet.kymaticscan.online"], + "nativeCurrency": { + "name": "KYMTC", + "symbol": "KYMTC", + "decimals": 18 + }, + "infoURL": "https://testnet-explorer.kymaticscan.online", + "shortName": "tKYMTC", + "chainId": 24076, + "networkId": 24076, + "explorers": [ + { + "name": "KYMTC Testnet Explorer", + "url": "https://testnet-explorer.kymaticscan.online", + "icon": "kymtc", + "standard": "EIP3091" + } + ] + }, { "name": "Webchain", "chain": "WEB", @@ -27657,6 +30042,59 @@ } ] }, + { + "name": "DucatusX Testnet", + "chain": "DUCX", + "rpc": [ + "https://ducx-testnet-node1.rocknblock.io", + "https://ducx-testnet-node2.rocknblock.io" + ], + "faucets": [], + "nativeCurrency": { + "name": "DUCX", + "symbol": "DUCX", + "decimals": 18 + }, + "infoURL": "https://www.ducatuscoins.com/ducatusx", + "shortName": "ducatusx-testnet", + "chainId": 26482, + "networkId": 26482, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer-testnet.ducatusx.com", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, + { + "name": "DucatusX", + "chain": "DUCX", + "rpc": [ + "https://ducx-mainnet-node1.rocknblock.io", + "https://ducx-mainnet-node2.rocknblock.io", + "https://ducx-mainnet-node3.rocknblock.io" + ], + "faucets": [], + "nativeCurrency": { + "name": "DUCX", + "symbol": "DUCX", + "decimals": 18 + }, + "infoURL": "https://www.ducatuscoins.com/ducatusx", + "shortName": "ducatusx", + "chainId": 26483, + "networkId": 26483, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.ducatusx.com", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "Hertz Network Mainnet", "chain": "HTZ", @@ -27957,6 +30395,31 @@ "bridges": [] } }, + { + "name": "Nexa MetaNet", + "chain": "NEXA", + "rpc": ["https://nexa.sh/metanet"], + "faucets": [], + "nativeCurrency": { + "name": "Nexa", + "symbol": "NEXA", + "decimals": 18 + }, + "infoURL": "https://nexa.sh/meta", + "shortName": "nexameta", + "chainId": 29223, + "networkId": 29223, + "slip44": 29223, + "icon": "nexameta", + "explorers": [ + { + "name": "NexaShell", + "url": "https://nexa.sh", + "standard": "none", + "icon": "nexashell" + } + ] + }, { "name": "KaiChain Testnet", "chain": "KaiChain", @@ -28140,7 +30603,7 @@ { "name": "Movement EVM Testnet", "chain": "MOVE", - "rpc": [], + "rpc": ["https://mevm.testnet.imola.movementlabs.xyz"], "faucets": [], "nativeCurrency": { "name": "Move", @@ -28155,7 +30618,7 @@ "explorers": [ { "name": "mevm explorer", - "url": "https://explorer.movementlabs.xyz", + "url": "https://explorer.testnet.imola.movementlabs.xyz", "standard": "none" } ], @@ -28551,6 +31014,52 @@ } ] }, + { + "name": "Zilliqa 2 EVM proto-testnet", + "chain": "ZIL", + "rpc": ["https://api.zq2-prototestnet.zilliqa.com"], + "faucets": ["https://faucet.zq2-prototestnet.zilliqa.com"], + "nativeCurrency": { + "name": "Zilliqa", + "symbol": "ZIL", + "decimals": 18 + }, + "infoURL": "https://www.zilliqa.com/", + "shortName": "zq2-proto-testnet", + "chainId": 33103, + "networkId": 33103, + "icon": "zilliqa", + "explorers": [ + { + "name": "Zilliqa 2 EVM proto-testnet explorer", + "url": "https://explorer.zq2-prototestnet.zilliqa.com", + "standard": "EIP3091" + } + ] + }, + { + "name": "Curtis", + "chain": "Curtis", + "rpc": ["https://rpc.curtis.apechain.com"], + "faucets": ["https://curtis.hub.caldera.xyz"], + "nativeCurrency": { + "name": "ApeCoin", + "symbol": "APE", + "decimals": 18 + }, + "infoURL": "https://curtis.hub.caldera.xyz", + "shortName": "curtis", + "chainId": 33111, + "networkId": 33111, + "icon": "curtis", + "explorers": [ + { + "name": "Curtis Explorer", + "url": "https://explorer.curtis.apechain.com", + "standard": "EIP3091" + } + ] + }, { "name": "Entangle Testnet", "chain": "NGL", @@ -28651,7 +31160,36 @@ ] }, { - "name": "Zilliqa-2 EVM Devnet", + "name": "SlingShot", + "chain": "SLING", + "rpc": ["https://rpc.slingshotdao.com"], + "faucets": [], + "nativeCurrency": { + "name": "Sling", + "symbol": "SLING", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + } + ], + "infoURL": "https://slingshotdao.com", + "shortName": "slingshot", + "chainId": 33401, + "networkId": 33401, + "icon": "slingshot", + "explorers": [ + { + "name": "SlingShot Explorer", + "url": "https://explore.slingshotdao.com", + "icon": "slingshot", + "standard": "EIP3091" + } + ] + }, + { + "name": "Zilliqa 2 EVM devnet", "chain": "ZIL", "rpc": ["https://api.zq2-devnet.zilliqa.com"], "faucets": ["https://faucet.zq2-devnet.zilliqa.com"], @@ -28677,7 +31215,10 @@ "name": "Funki", "chain": "ETH", "icon": "funki", - "rpc": [], + "rpc": [ + "https://rpc-mainnet.funkichain.com", + "wss://rpc-mainnet.funkichain.com" + ], "faucets": [], "nativeCurrency": { "name": "Ether", @@ -28689,9 +31230,14 @@ "chainId": 33979, "networkId": 33979, "explorers": [ + { + "name": "FunkiScan", + "url": "https://funkiscan.io", + "standard": "none" + }, { "name": "Funki Mainnet Explorer", - "url": "https://mainnet.funkichain.com", + "url": "https://funki.superscan.network", "standard": "none" } ] @@ -28723,6 +31269,30 @@ } ] }, + { + "name": "ZEUS Mainnet", + "chain": "ZEUS", + "icon": "zeusicon", + "rpc": ["https://mainnet-rpc.zeuschainscan.io"], + "nativeCurrency": { + "name": "The ZEUS Token", + "symbol": "ZEUS", + "decimals": 18 + }, + "infoURL": "https://zeuschainscan.io", + "shortName": "ZEUS", + "chainId": 34504, + "networkId": 34504, + "faucets": [], + "explorers": [ + { + "name": "ZEUS Mainnet Explorer", + "url": "https://zeuschainscan.io", + "icon": "zeusicon", + "standard": "EIP3091" + } + ] + }, { "name": "J2O Taro", "chain": "TARO", @@ -28912,6 +31482,33 @@ } ] }, + { + "name": "Aleph Zero EVM", + "chain": "Aleph Zero EVM", + "icon": "aleph-zero", + "rpc": [ + "https://rpc.alephzero.raas.gelato.cloud", + "wss://ws.alephzero.raas.gelato.cloud" + ], + "faucets": [], + "nativeCurrency": { + "name": "Aleph Zero", + "symbol": "AZERO", + "decimals": 18 + }, + "infoURL": "https://alephzero.org/", + "shortName": "aleph-zero", + "chainId": 41455, + "networkId": 41455, + "explorers": [ + { + "name": "Aleph Zero EVM Mainnet Explorer", + "url": "https://evm-explorer.alephzero.org", + "icon": "aleph-zero", + "standard": "none" + } + ] + }, { "name": "Opulent-X BETA", "chainId": 41500, @@ -29161,6 +31758,29 @@ } ] }, + { + "name": "AssetChain Testnet", + "chain": "RWA", + "rpc": ["https://enugu-rpc.assetchain.org"], + "faucets": ["https://faucet.assetchain.org"], + "nativeCurrency": { + "name": "Real World Asset", + "symbol": "RWA", + "decimals": 18 + }, + "infoURL": "https://docs.assetchain.org", + "shortName": "rwa", + "chainId": 42421, + "networkId": 42421, + "icon": "assetchain", + "explorers": [ + { + "name": "Asset Chain Testnet Explorer", + "url": "https://scan-testnet.assetchain.org", + "standard": "EIP3091" + } + ] + }, { "name": "ZKFair Mainnet", "title": "ZKFair Mainnet", @@ -29587,6 +32207,50 @@ } ] }, + { + "name": "Blessnet", + "chain": "ETH", + "rpc": [ + "https://blessnet.calderachain.xyz/http", + "wss://blessnet.calderachain.xyz/ws" + ], + "faucets": [], + "nativeCurrency": { + "name": "Bless", + "symbol": "BLESS", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://blessnet.io", + "shortName": "bless", + "chainId": 45513, + "networkId": 45513, + "icon": "bless", + "explorers": [ + { + "name": "blockscout", + "url": "https://blessnet.calderaexplorer.xyz", + "icon": "bless", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-42161", + "bridges": [ + { + "url": "https://blessnet.bridge.caldera.xyz" + } + ] + } + }, { "name": "Fusion Testnet", "chain": "FSN", @@ -29623,6 +32287,57 @@ } ] }, + { + "name": "Neo X Mainnet", + "chain": "Neo X", + "rpc": [ + "https://mainnet-1.rpc.banelabs.org", + "https://mainnet-2.rpc.banelabs.org" + ], + "faucets": [], + "nativeCurrency": { + "name": "Gas", + "symbol": "GAS", + "decimals": 18 + }, + "infoURL": "https://neo.org/", + "shortName": "neox-mainnet", + "chainId": 47763, + "networkId": 47763, + "icon": "neox", + "explorers": [ + { + "name": "Neo X - Explorer", + "url": "https://xexplorer.neo.org", + "standard": "EIP3091" + } + ], + "status": "active" + }, + { + "name": "ReDeFi Layer 1", + "chain": "ReDeFi", + "icon": "redefi", + "rpc": ["https://layer1.redefi.world"], + "faucets": [], + "nativeCurrency": { + "name": "BAX", + "symbol": "BAX", + "decimals": 18 + }, + "infoURL": "https://redefi.world", + "shortName": "bax", + "chainId": 47803, + "networkId": 47803, + "slip44": 47803, + "explorers": [ + { + "name": "ReDeFi Scan", + "url": "https://scanlayer1.redefi.world", + "standard": "EIP3091" + } + ] + }, { "name": "REI Network", "chain": "REI", @@ -29676,7 +32391,7 @@ "name": "Zircuit Testnet", "chain": "Zircuit Testnet", "icon": "zircuit", - "rpc": ["https://zircuit1.p2pify.com/"], + "rpc": ["http://zircuit1-testnet.p2pify.com/"], "faucets": [], "nativeCurrency": { "name": "ETH", @@ -29687,6 +32402,30 @@ "shortName": "zircuit-testnet", "chainId": 48899, "networkId": 48899, + "explorers": [ + { + "name": "Zircuit", + "url": "https://explorer.testnet.zircuit.com", + "icon": "zircuit", + "standard": "none" + } + ] + }, + { + "name": "Zircuit Mainnet", + "chain": "Zircuit Mainnet", + "icon": "zircuit", + "rpc": ["https://zircuit1-mainnet.p2pify.com/"], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.zircuit.com/", + "shortName": "zircuit-mainnet", + "chainId": 48900, + "networkId": 48900, "explorers": [ { "name": "Zircuit", @@ -30134,11 +32873,11 @@ "name": "Toronet Testnet", "chain": "Toronet", "icon": "toronet", - "rpc": ["http://testnet.toronet.org/rpc"], + "rpc": ["https://testnet.toronet.org/rpc"], "faucets": [], "nativeCurrency": { - "name": "Toro", - "symbol": "TORO", + "name": "Toroe", + "symbol": "TOROE", "decimals": 18 }, "infoURL": "https://toronet.org", @@ -30157,28 +32896,6 @@ } ] }, - { - "name": "Photon Testnet", - "chain": "Photon", - "rpc": ["https://rpc-test.photonchain.io"], - "faucets": ["https://photonchain.io/airdrop"], - "nativeCurrency": { - "name": "Photon", - "symbol": "PTON", - "decimals": 18 - }, - "infoURL": "https://photonchain.io", - "shortName": "pton", - "chainId": 54555, - "networkId": 54555, - "explorers": [ - { - "name": "photon_testnet_explorer", - "url": "https://testnet.photonchain.io", - "standard": "none" - } - ] - }, { "name": "Titan", "chain": "ETH", @@ -30204,6 +32921,28 @@ } ] }, + { + "name": "Photon Aurora Testnet", + "chain": "Photon", + "rpc": ["https://rpc-test2.photonchain.io"], + "faucets": ["https://photonchain.io/testnet2"], + "nativeCurrency": { + "name": "Photon", + "symbol": "PTON", + "decimals": 18 + }, + "infoURL": "https://photonchain.io", + "shortName": "pton", + "chainId": 55551, + "networkId": 55551, + "explorers": [ + { + "name": "photon_testnet2_explorer", + "url": "https://testnet2.photonchain.io", + "standard": "none" + } + ] + }, { "name": "REI Chain Mainnet", "chain": "REI", @@ -30251,6 +32990,28 @@ } ] }, + { + "name": "Flamma Mainnet", + "chain": "Flamma", + "rpc": ["https://rpc.flamma.network"], + "faucets": [], + "nativeCurrency": { + "name": "Flamma", + "symbol": "FLA", + "decimals": 18 + }, + "infoURL": "https://flamma.network", + "shortName": "FlammaMainnet", + "chainId": 55614, + "networkId": 55614, + "explorers": [ + { + "name": "flascan", + "url": "https://flascan.net", + "standard": "EIP3091" + } + ] + }, { "name": "Lambda Chain Mainnet", "chain": "Lambda Chain", @@ -30442,7 +33203,7 @@ "networkId": 57451, "explorers": [ { - "name": "coinsec network", + "name": "coinsecnetwork", "url": "https://explorer.coinsec.network", "standard": "EIP3091" } @@ -30489,6 +33250,39 @@ ] } }, + { + "name": "Lumoz Quidditch Testnet", + "chain": "ETH", + "rpc": ["https://quidditch-rpc.lumoz.org"], + "faucets": [], + "nativeCurrency": { + "name": "Lumoz Quidditch Testnet Token", + "symbol": "MOZ", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://lumoz.org", + "shortName": "Lumoz-Quidditch-Testnet", + "chainId": 58680, + "networkId": 58680, + "slip44": 1, + "icon": "opside-new", + "explorers": [ + { + "name": "LumozQuidditchTestnetInfo", + "url": "https://quidditch.lumoz.info", + "icon": "opside-new", + "standard": "EIP3091" + } + ] + }, { "name": "Linea Goerli", "title": "Linea Goerli Testnet", @@ -30635,6 +33429,37 @@ ], "status": "active" }, + { + "name": "Metis Sepolia Testnet", + "chain": "ETH", + "rpc": ["https://sepolia.metisdevops.link"], + "faucets": ["https://sepolia.faucet.metisdevops.link"], + "nativeCurrency": { + "name": "tMetis", + "symbol": "tMETIS", + "decimals": 18 + }, + "infoURL": "https://www.metis.io", + "shortName": "metis-sepolia", + "chainId": 59902, + "networkId": 59902, + "explorers": [ + { + "name": "blockscout", + "url": "https://sepolia-explorer.metisdevops.link", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://bridge.metis.io" + } + ] + } + }, { "name": "Genesys Code Mainnet", "chain": "GCODE", @@ -30790,6 +33615,31 @@ ] } }, + { + "name": "Orange Chain Mainnet", + "title": "Orange Chain Mainnet", + "chain": "Orange Chain", + "rpc": ["https://rpc.orangechain.xyz", "https://hk-rpc.orangechain.xyz"], + "faucets": [], + "nativeCurrency": { + "name": "BTC", + "symbol": "BTC", + "decimals": 18 + }, + "infoURL": "https://orangechain.xyz", + "shortName": "Orange-Chain-Mainnet", + "chainId": 61022, + "networkId": 61022, + "icon": "orange", + "explorers": [ + { + "name": "Blockscout", + "url": "https://scan.orangechain.xyz", + "icon": "orange", + "standard": "EIP3091" + } + ] + }, { "name": "KaiChain", "chain": "KaiChain", @@ -31071,6 +33921,33 @@ } ] }, + { + "name": "LAOS Sigma Testnet", + "title": "LAOS Sigma Testnet", + "chain": "LAOS Sigma Testnet", + "rpc": [ + "https://rpc.laossigma.laosfoundation.io", + "wss://rpc.laossigma.laosfoundation.io" + ], + "faucets": [], + "nativeCurrency": { + "name": "SIGMA", + "symbol": "SIGMA", + "decimals": 18 + }, + "infoURL": "https://laosnetwork.io", + "shortName": "laossigma", + "chainId": 62850, + "networkId": 62850, + "explorers": [ + { + "name": "blockscout", + "url": "https://sigma.explorer.laosnetwork.io", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "eCredits Mainnet", "chain": "ECS", @@ -31098,7 +33975,7 @@ { "name": "eCredits Testnet", "chain": "ECS", - "rpc": ["https://rpc.tst.ecredits.com"], + "rpc": [], "faucets": ["https://faucet.tst.ecredits.com"], "nativeCurrency": { "name": "eCredits", @@ -31106,7 +33983,7 @@ "decimals": 18 }, "infoURL": "https://ecredits.com", - "shortName": "ecs-testnet", + "shortName": "ecs-testnet-old", "chainId": 63001, "networkId": 63001, "slip44": 1, @@ -31118,6 +33995,92 @@ "icon": "ecredits", "standard": "EIP3091" } + ], + "status": "deprecated" + }, + { + "name": "eSync Network Testnet", + "title": "eSync Network Testnet", + "chain": "ECS", + "rpc": ["http://rpc.tst.esync.network"], + "faucets": ["https://faucet.tst.ecredits.com"], + "nativeCurrency": { + "name": "eCredits", + "symbol": "ECS", + "decimals": 18 + }, + "infoURL": "https://esync.network", + "shortName": "esync-testnet", + "chainId": 63002, + "networkId": 63002, + "slip44": 1, + "icon": "esync", + "explorers": [ + { + "name": "eSync Network Testnet Explorer", + "url": "https://explorer.tst.esync.network", + "icon": "esync", + "standard": "EIP3091" + } + ] + }, + { + "name": "CratD2C Testnet", + "chain": "CRATD2C", + "rpc": [ + "https://cratd2c-testnet-node1.cratd2csmartchain.io/", + "https://cratd2c-testnet-node2.cratd2csmartchain.io/" + ], + "faucets": [], + "nativeCurrency": { + "name": "CRATD2C", + "symbol": "CRAT", + "decimals": 18 + }, + "infoURL": "https://cratd2csmartchain.io", + "shortName": "cratd2c-testnet", + "chainId": 65349, + "networkId": 65349, + "icon": "cratd2c-testnet", + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer-testnet.cratd2csmartchain.io", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, + { + "name": "Vecno Mainnet", + "chain": "VE", + "rpc": ["https://rpc.vecno.org"], + "faucets": [], + "nativeCurrency": { + "name": "Vecno", + "symbol": "VE", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://vecno.org", + "shortName": "ve", + "chainId": 65357, + "networkId": 65357, + "icon": "vecno", + "explorers": [ + { + "name": "vecno", + "url": "https://explorer.vecno.org", + "icon": "blockscout", + "standard": "EIP3091" + } ] }, { @@ -31143,6 +34106,23 @@ } ] }, + { + "name": "Automata Mainnet", + "chain": "Automata Mainnet", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "ATA", + "symbol": "ATA", + "decimals": 18 + }, + "infoURL": "https://ata.network", + "shortName": "automatamainnet", + "chainId": 65536, + "networkId": 65536, + "icon": "automata", + "explorers": [] + }, { "name": "Janus Testnet", "chain": "JanusNetwork", @@ -31652,8 +34632,8 @@ "rpc": ["https://rpc.geekout-pte.com"], "faucets": [], "nativeCurrency": { - "name": "Geek", - "symbol": "GEEK", + "name": "OAS", + "symbol": "OAS", "decimals": 18 }, "infoURL": "https://www.geekout-pte.com", @@ -31674,8 +34654,8 @@ "rpc": ["https://rpc-testnet.geekout-pte.com"], "faucets": [], "nativeCurrency": { - "name": "Geek", - "symbol": "GEEK", + "name": "OAS", + "symbol": "OAS", "decimals": 18 }, "infoURL": "https://www.geekout-pte.com", @@ -31694,7 +34674,10 @@ "name": "BORAchain mainnet", "chain": "BORA", "icon": "bora", - "rpc": ["https://public-node.api.boraportal.com/bora/mainnet"], + "rpc": [ + "https://public-node.api.boraportal.com/bora/mainnet", + "https://public-node.api.boraportal.io/bora/mainnet" + ], "faucets": [], "nativeCurrency": { "name": "BORA", @@ -31761,15 +34744,31 @@ } ] }, + { + "name": "Cycle Network Mainnet Sailboat", + "chain": "ETH", + "rpc": ["https://sailboat-rpc-mainnet.cyclenetwork.io"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.cyclenetwork.io/", + "shortName": "cycles", + "chainId": 77677, + "networkId": 77677, + "icon": "cycle" + }, { "name": "Toronet Mainnet", "chain": "Toronet", "icon": "toronet", - "rpc": ["http://toronet.org/rpc"], + "rpc": ["https://www.toronet.org/rpc2/"], "faucets": [], "nativeCurrency": { - "name": "Toro", - "symbol": "TORO", + "name": "Toroe", + "symbol": "TOROE", "decimals": 18 }, "infoURL": "https://toronet.org", @@ -32033,6 +35032,58 @@ } ] }, + { + "name": "Polynomia Sepolia", + "chain": "polynomialSepolia", + "rpc": ["https://rpc.sepolia.polynomial.fi"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://polynomial.fi", + "shortName": "polynomialSepolia", + "chainId": 80008, + "networkId": 80008, + "icon": "polynomialSepolia", + "explorers": [ + { + "name": "Polynomial Sepolia Explorer", + "url": "https://sepolia.polynomialscan.io", + "standard": "none", + "icon": "polynomialSepolia" + } + ] + }, + { + "name": "Berachain bArtio", + "chain": "Berachain bArtio", + "rpc": [ + "https://bartio.rpc.berachain.com", + "https://bera-testnet.nodeinfra.com", + "https://bartio.rpc.b-harvest.io" + ], + "faucets": ["https://bartio.faucet.berachain.com"], + "nativeCurrency": { + "name": "BERA Token", + "symbol": "BERA", + "decimals": 18 + }, + "infoURL": "https://www.berachain.com", + "shortName": "berachainbArtio", + "chainId": 80084, + "networkId": 80084, + "icon": "berachain", + "explorers": [ + { + "name": "Beratrail", + "url": "https://bartio.beratrail.io", + "icon": "berachain", + "standard": "none" + } + ] + }, { "name": "Berachain Artio", "chain": "Berachain Artio", @@ -32349,6 +35400,49 @@ } ] }, + { + "name": "Xprotocol Testnet", + "chainId": 83144, + "shortName": "xprotocoltestnet", + "chain": "Xprotocol Testnet", + "networkId": 83144, + "nativeCurrency": { + "name": "KICK Testnet Token", + "symbol": "KICK", + "decimals": 18 + }, + "rpc": ["https://rpc.testnet.xprotocol.org"], + "faucets": ["https://xprotocol.org/faucets"], + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.testnet.xprotocol.org", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-84532" + }, + "infoURL": "https://xprotocol.org/" + }, + { + "name": "Esa", + "chain": "Esa", + "rpc": ["http://65.108.151.70:8545"], + "faucets": [], + "nativeCurrency": { + "name": "Esa", + "symbol": "Esa", + "decimals": 18 + }, + "infoURL": "https://esculap.us", + "shortName": "Esa", + "chainId": 83278, + "networkId": 83278, + "icon": "EsaCoins", + "explorers": [] + }, { "name": "ZEDXION", "chain": "ZEDXION", @@ -32508,24 +35602,46 @@ ] }, { - "name": "Inoai Network", + "name": "InoAi", "chain": "INOAI", "faucets": [], "rpc": ["https://inoai-network.com"], "nativeCurrency": { - "name": "Inoai", + "name": "InoAi", "symbol": "INO", "decimals": 18 }, - "infoURL": "https://inoai.info", - "shortName": "INOAI", + "infoURL": "https://docs.inoai.info/", + "shortName": "INO", "chainId": 88559, "networkId": 88559, "icon": "inoai", "explorers": [ { - "name": "inoai live", + "name": "inoai.live", "url": "https://inoai.live", + "standard": "EIP3091" + } + ] + }, + { + "name": "ZKasino Mainnet", + "chain": "ZKasino", + "rpc": ["https://rpc.zkas.zeeve.net"], + "faucets": [], + "nativeCurrency": { + "name": "ZKAS", + "symbol": "ZKAS", + "decimals": 18 + }, + "infoURL": "", + "shortName": "ZKasino", + "chainId": 88800, + "networkId": 88800, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://explorer.zkas.zeeve.net", "standard": "none" } ] @@ -32879,6 +35995,28 @@ } ] }, + { + "name": "StratoVM Testnet", + "chain": "StratoVM", + "rpc": ["https://rpc.stratovm.io"], + "faucets": [], + "nativeCurrency": { + "name": "SVM", + "symbol": "SVM", + "decimals": 18 + }, + "infoURL": "https://www.stratovm.io/", + "shortName": "stratovm", + "chainId": 93747, + "networkId": 93747, + "explorers": [ + { + "name": "StratoVM Block Explorer", + "url": "https://explorer.stratovm.io", + "standard": "none" + } + ] + }, { "name": "Mantis Testnet (Hexapod)", "chain": "Mantis", @@ -32936,6 +36074,35 @@ ], "status": "deprecated" }, + { + "name": "SlingShot Testnet", + "chain": "SLING", + "rpc": ["https://rpc-dependent-emerald-whippet-gh6kch3nen.t.conduit.xyz"], + "faucets": [], + "nativeCurrency": { + "name": "Sling Test", + "symbol": "SLINGT", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + } + ], + "infoURL": "https://slingshotdao.com", + "shortName": "sling", + "chainId": 97435, + "networkId": 97435, + "icon": "slingshot", + "explorers": [ + { + "name": "SlingShot Test Explorer", + "url": "https://explorer-dependent-emerald-whippet-gh6kch3nen.t.conduit.xyz", + "icon": "slingshot", + "standard": "EIP3091" + } + ] + }, { "name": "Green Chain Testnet", "chain": "Green Chain", @@ -33023,6 +36190,29 @@ } ] }, + { + "name": "Edge Matrix Chain Testnet", + "chain": "EMC Testnet", + "icon": "emctest", + "rpc": ["https://rpc1-testnet.emc.network"], + "faucets": [], + "nativeCurrency": { + "name": "Edge Matrix Chain Token", + "symbol": "EMC", + "decimals": 18 + }, + "infoURL": "", + "shortName": "EMCTestnet", + "chainId": 99876, + "networkId": 99876, + "explorers": [ + { + "name": "blockscout", + "url": "https://testnet.emcscan.com", + "standard": "EIP3091" + } + ] + }, { "name": "UB Smart Chain(testnet)", "chain": "USC", @@ -33304,7 +36494,7 @@ { "name": "VeChain", "chain": "VeChain", - "rpc": [], + "rpc": ["https://rpc-mainnet.vechain.energy"], "faucets": [], "nativeCurrency": { "name": "VeChain", @@ -33331,7 +36521,7 @@ { "name": "VeChain Testnet", "chain": "VeChain", - "rpc": [], + "rpc": ["https://rpc-testnet.vechain.energy"], "faucets": ["https://faucet.vecha.in"], "nativeCurrency": { "name": "VeChain", @@ -33444,6 +36634,38 @@ } ] }, + { + "name": "Creditcoin Devnet", + "chain": "CTC", + "icon": "creditcoin", + "rpc": ["https://rpc.cc3-devnet.creditcoin.network"], + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "nativeCurrency": { + "name": "Devnet CTC", + "symbol": "devCTC", + "decimals": 18 + }, + "infoURL": "https://creditcoin.org", + "shortName": "ctcdev", + "chainId": 102032, + "networkId": 102032, + "faucets": [], + "explorers": [ + { + "name": "blockscout", + "url": "https://creditcoin-devnet.blockscout.com", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "Crystaleum", "chain": "crystal", @@ -33835,6 +37057,28 @@ "chain": "eip155-110000" } }, + { + "name": "Mars Credit", + "chain": "MARS", + "rpc": [ + "https://node99-production-dd5f.up.railway.app:443", + "https://rpc.marscredit.xyz:443" + ], + "faucets": [], + "nativeCurrency": { + "name": "Mars Credit", + "symbol": "MARS", + "decimals": 18 + }, + "infoURL": "https://marscredit.xyz/", + "shortName": "mars", + "chainId": 110110, + "networkId": 110110, + "slip44": 1, + "icon": "marscredit", + "explorers": [], + "redFlags": [] + }, { "name": "Siberium Test Network", "chain": "SBR", @@ -33897,7 +37141,12 @@ "name": "re.al", "title": "re.al Real-World Assets network", "chain": "re.al", - "rpc": ["https://real.drpc.org", "wss://real.drpc.org"], + "rpc": [ + "https://tangible-real.gateway.tenderly.co", + "wss://tangible-real.gateway.tenderly.co", + "https://real.drpc.org", + "wss://real.drpc.org" + ], "nativeCurrency": { "name": "re.al Ether", "symbol": "reETH", @@ -33982,6 +37231,29 @@ } ] }, + { + "name": "Gemchain", + "chain": "Gemchain", + "rpc": ["https://evm-rpc.gemchain.org"], + "faucets": [], + "nativeCurrency": { + "name": "GEM", + "symbol": "GEM", + "decimals": 18 + }, + "infoURL": "https://gemchain.org", + "shortName": "gemchain", + "chainId": 123321, + "networkId": 123321, + "slip44": 1, + "explorers": [ + { + "name": "Gemchain Scan", + "url": "https://scan.gemchain.org", + "standard": "EIP3091" + } + ] + }, { "name": "ADIL Devnet", "chain": "ADIL", @@ -34393,6 +37665,74 @@ } ] }, + { + "name": "Fair Testnet", + "chain": "FAIR", + "rpc": ["https://rpc-testnet.xfair.ai", "wss://rpc-testnet.xfair.ai"], + "faucets": [], + "nativeCurrency": { + "name": "FAIR", + "symbol": "FAIR", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + } + ], + "infoURL": "https://xfair.ai", + "shortName": "fairt", + "chainId": 171000, + "networkId": 171000 + }, + { + "name": "Chronicle - Lit Protocol Testnet", + "chain": "LPC", + "icon": "lit", + "rpc": ["https://chain-rpc.litprotocol.com/http"], + "faucets": ["https://faucet.litprotocol.com"], + "nativeCurrency": { + "name": "Test LIT", + "symbol": "tstLIT", + "decimals": 18 + }, + "infoURL": "https://developer.litprotocol.com/v3/network/rollup", + "shortName": "lpc", + "chainId": 175177, + "networkId": 175177, + "explorers": [ + { + "name": "Lit Chronicle Explorer", + "url": "https://chain.litprotocol.com", + "icon": "lit", + "standard": "EIP3091" + } + ] + }, + { + "name": "Chronicle Yellowstone - Lit Protocol Testnet", + "chain": "LPY", + "icon": "lit", + "rpc": ["https://yellowstone-rpc.litprotocol.com"], + "faucets": ["https://developer.litprotocol.com/support/intro"], + "nativeCurrency": { + "name": "Test LPX", + "symbol": "tstLPX", + "decimals": 18 + }, + "infoURL": "https://litprotocol.com", + "shortName": "lpy", + "chainId": 175188, + "networkId": 175188, + "explorers": [ + { + "name": "Lit Chronicle Yellowstone Explorer", + "url": "https://yellowstone-explorer.litprotocol.com", + "icon": "lit", + "standard": "EIP3091" + } + ] + }, { "name": "Bitica Chain Mainnet", "chain": "BDCC", @@ -34462,6 +37802,29 @@ "chainId": 192940, "networkId": 192940 }, + { + "name": "MAZZE Testnet", + "chain": "MAZZE Testnet", + "icon": "mazze", + "rpc": ["https://testnet-rpc.mazze.io/"], + "faucets": ["https://faucet.mazze.io/"], + "nativeCurrency": { + "name": "MAZZE Testnet", + "symbol": "MAZZE", + "decimals": 18 + }, + "infoURL": "https://mazze.io/", + "shortName": "MAZZE", + "chainId": 199991, + "networkId": 199991, + "explorers": [ + { + "name": "MAZZE Testnet Explorer", + "url": "https://mazzescan.io", + "standard": "none" + } + ] + }, { "name": "xFair.AI Testnet", "chain": "FAIT", @@ -34889,6 +38252,34 @@ } ] }, + { + "name": "Litentry", + "chain": "Litentry", + "rpc": [ + "https://rpc.litentry-parachain.litentry.io", + "wss://rpc.litentry-parachain.litentry.io", + "https://litentry-rpc.dwellir.com", + "wss://litentry-rpc.dwellir.com" + ], + "faucets": [], + "nativeCurrency": { + "name": "Litentry", + "symbol": "LIT", + "decimals": 18 + }, + "infoURL": "https://litentry.com", + "shortName": "litentry", + "chainId": 212013, + "networkId": 212013, + "icon": "litentry", + "explorers": [ + { + "name": "litentry statescan", + "url": "https://litentry.statescan.io", + "standard": "none" + } + ] + }, { "name": "Mas Mainnet", "chain": "MAS", @@ -35139,6 +38530,38 @@ } ] }, + { + "name": "Abyss Protocol", + "chain": "Abyss Protocol Testnet", + "rpc": ["https://testnet.rpc.abyssprotocol.ai/"], + "faucets": ["https://faucet.abyssprotocol.ai/"], + "nativeCurrency": { + "name": "AbyssETH", + "symbol": "aETH", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://abyssprotocol.ai/", + "shortName": "abyss", + "chainId": 229772, + "networkId": 229772, + "icon": "abyss", + "explorers": [ + { + "name": "blockscout", + "url": "https://testnet.abyssprotocol.ai", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "HashKey Chain Testnet(discard)", "chain": "HashKey", @@ -35395,6 +38818,31 @@ "chain": "eip155-11155111" } }, + { + "name": "Cipherem Testnet", + "chain": "Cipherem", + "rpc": ["https://testnet.cipherem.com"], + "faucets": [], + "nativeCurrency": { + "name": "CIP", + "symbol": "CIP", + "decimals": 18 + }, + "infoURL": "https://www.cipherem.com", + "shortName": "CIP", + "chainId": 292003, + "networkId": 292003, + "slip44": 1, + "icon": "cipherem", + "explorers": [ + { + "name": "Cipherscan Testnet Explorer", + "icon": "cipherscan", + "url": "https://cipherscan.net", + "standard": "EIP3091" + } + ] + }, { "name": "One World Chain Mainnet", "chain": "One World Chain", @@ -35549,6 +38997,52 @@ } ] }, + { + "name": "WABA Chain Testnet", + "chain": "WABA Testnet", + "icon": "waba", + "rpc": ["https://rpc.wabaworld.com"], + "faucets": [], + "nativeCurrency": { + "name": "WABA", + "symbol": "WABA", + "decimals": 18 + }, + "infoURL": "https://www.wabanetwork.org", + "shortName": "waba", + "chainId": 327126, + "networkId": 327126, + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.wabaworld.com", + "standard": "none" + } + ] + }, + { + "name": "Nal Mainnet", + "chain": "ETH", + "icon": "nal", + "rpc": ["https://rpc.nal.network", "wss://wss.nal.network"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://www.nal.network", + "shortName": "nal", + "chainId": 328527, + "networkId": 328527, + "explorers": [ + { + "name": "Nal Network Explorer", + "url": "https://scan.nal.network", + "standard": "EIP3091" + } + ] + }, { "name": "TTcoin Smart Chain Mainnet", "chain": "TSC", @@ -36014,11 +39508,11 @@ "faucets": [], "nativeCurrency": { "name": "AIE", - "symbol": "tAIE", + "symbol": "AIE", "decimals": 18 }, "infoURL": "https://testnet.aiescan.io", - "shortName": "aiet", + "shortName": "aie", "chainId": 413413, "networkId": 413413, "icon": "aie", @@ -36446,6 +39940,77 @@ } ] }, + { + "name": "World Chain Sepolia Testnet Deprecated", + "status": "deprecated", + "chain": "ETH", + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://worldcoin.org/", + "shortName": "wcsep-dep", + "rpc": [], + "faucets": [], + "chainId": 484752, + "networkId": 484752, + "slip44": 1 + }, + { + "name": "Gobbl Testnet", + "chain": "Gobbl Testnet", + "rpc": ["https://rpc.gobbl.io"], + "faucets": ["https://faucet.gobbl.io"], + "nativeCurrency": { + "name": "Gobbl Token", + "symbol": "GOBBL", + "decimals": 18 + }, + "infoURL": "https://www.gobbl.io/", + "shortName": "gbl-testnet", + "chainId": 486487, + "networkId": 486487, + "icon": "gobbl", + "explorers": [ + { + "name": "Gobbl Testnet Explorer", + "url": "https://explorer.gobbl.io", + "standard": "EIP3091" + } + ] + }, + { + "name": "Autonomys Testnet Nova Domain", + "chain": "TATC", + "rpc": ["https://nova-0.gemini-3h.subspace.network/ws"], + "faucets": [], + "nativeCurrency": { + "name": "Test Auto Coin", + "symbol": "TATC", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://www.autonomys.net", + "shortName": "ATN", + "chainId": 490000, + "networkId": 490000, + "explorers": [ + { + "name": "astral", + "url": "https://nova.subspace.network", + "icon": "blockscout", + "standard": "EIP3091" + } + ] + }, { "name": "Playdapp Network", "chain": "PDA", @@ -37177,6 +40742,28 @@ } ] }, + { + "name": "Ternoa Testnet", + "chain": "Ternoa", + "rpc": ["https://rpc.zkevm.ternoa.network"], + "faucets": ["https://faucet.zkevm.ternoa.network"], + "nativeCurrency": { + "name": "Capsule Coin", + "symbol": "CAPS", + "decimals": 18 + }, + "infoURL": "", + "shortName": "ternoa", + "chainId": 752024, + "networkId": 7502024, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://explorer.zkevm.ternoa.network", + "standard": "none" + } + ] + }, { "name": "Miexs Smartchain", "chain": "MiexsSmartchain", @@ -37334,6 +40921,43 @@ } ] }, + { + "name": "BOB Sepolia", + "chain": "ETH", + "rpc": [ + "https://bob-sepolia.rpc.gobob.xyz", + "wss://bob-sepolia.rpc.gobob.xyz" + ], + "faucets": [], + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://gobob.xyz", + "shortName": "bob-sepolia", + "chainId": 808813, + "networkId": 808813, + "icon": "bob", + "explorers": [ + { + "name": "bobscout", + "url": "https://bob-sepolia.explorer.gobob.xyz", + "icon": "blockscout", + "standard": "EIP3091" + } + ], + "status": "active", + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://bob-sepolia.gobob.xyz/" + } + ] + } + }, { "name": "zkLink Nova Mainnet", "chain": "ETH", @@ -37506,6 +41130,28 @@ } ] }, + { + "name": "RUNEVM Testnet", + "chain": "RuneVM", + "rpc": ["https://rpc.runevm.io/"], + "faucets": ["https://faucet.runevm.io/"], + "nativeCurrency": { + "name": "Test Bitcoin", + "symbol": "tBTC", + "decimals": 8 + }, + "infoURL": "", + "shortName": "runevm-test", + "chainId": 840000, + "networkId": 840000, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://explorer.runevm.io", + "standard": "none" + } + ] + }, { "name": "4GoodNetwork", "chain": "4GN", @@ -38056,6 +41702,31 @@ } ] }, + { + "name": "Sharecle Mainnet", + "chain": "SHARECLE", + "icon": "sharecle", + "rpc": ["https://mainnet.sharecle.com"], + "faucets": [], + "nativeCurrency": { + "name": "SHARECLE COIN", + "symbol": "SHR", + "decimals": 18 + }, + "infoURL": "https://sharecle.com/", + "shortName": "shr", + "chainId": 1234567, + "networkId": 1234567, + "slip44": 1, + "explorers": [ + { + "name": "Etherscan", + "url": "https://etherscan.io", + "standard": "none", + "icon": "sharecle" + } + ] + }, { "name": "zKatana", "shortName": "azktn", @@ -38225,11 +41896,11 @@ { "name": "Automata Testnet", "chain": "Automata Testnet", - "rpc": [], + "rpc": ["https://automata-testnet.alt.technology"], "faucets": [], "nativeCurrency": { - "name": "Ether", - "symbol": "ETH", + "name": "ATA", + "symbol": "ATA", "decimals": 18 }, "infoURL": "https://ata.network", @@ -38237,7 +41908,13 @@ "chainId": 1398243, "networkId": 1398243, "icon": "automata", - "explorers": [] + "explorers": [ + { + "name": "Automata Testnet Explorer", + "url": "https://automata-testnet-explorer.alt.technology", + "standard": "EIP3091" + } + ] }, { "name": "PlayFi Albireo Testnet", @@ -38424,6 +42101,28 @@ "chainId": 2611555, "networkId": 2611555 }, + { + "name": "Xterio Chain", + "chain": "Xterio", + "rpc": ["https://xterio-eth.alt.technology"], + "faucets": [], + "nativeCurrency": { + "name": "ETH", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://xter.io", + "shortName": "xterio", + "chainId": 2702128, + "networkId": 2702128, + "explorers": [ + { + "name": "Xterio Chain Explorer", + "url": "https://eth.xterscan.io", + "standard": "EIP3091" + } + ] + }, { "name": "SaharaAI Network", "chain": "Sahara", @@ -38616,6 +42315,72 @@ "icon": "ethereum", "explorers": [] }, + { + "name": "Altar Testnet", + "chain": "Altar", + "rpc": ["https://altar-rpc.ceremonies.ai/"], + "faucets": ["https://sepoliafaucet.com/"], + "nativeCurrency": { + "name": "Sepolia Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://ceremonies.gitbook.io", + "shortName": "altarTestnet", + "chainId": 4444444, + "networkId": 4444444, + "slip44": 1, + "icon": "altarTestnet", + "explorers": [ + { + "name": "altar testnet explorer", + "url": "https://altar-explorer.ceremonies.ai", + "standard": "none" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://altar-testnet-yzxhzk61ck-b7590e4db247a680.testnets.rollbridge.app/" + } + ] + } + }, + { + "name": "ZERO Testnet (Sepolia)", + "chain": "ETH", + "icon": "zero-sepolia", + "rpc": ["https://rpc.zerion.io/v1/zero-sepolia"], + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://bridge.zero.network" + } + ] + }, + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://docs.zero.network", + "shortName": "zero-sepolia", + "chainId": 4457845, + "networkId": 4457845, + "slip44": 1, + "explorers": [ + { + "name": "ZERO Testnet Explorer", + "url": "https://explorer.zero.network", + "standard": "EIP3091" + } + ] + }, { "name": "NumBlock Chain", "chain": "NumBlock", @@ -39234,6 +42999,35 @@ } ] }, + { + "name": "Fluence", + "chain": "Fluence", + "rpc": [ + "https://rpc.mainnet.fluence.dev/", + "wss://ws.mainnet.fluence.dev/" + ], + "faucets": [], + "nativeCurrency": { + "name": "FLT", + "symbol": "FLT", + "decimals": 18 + }, + "infoURL": "https://fluence.network/", + "shortName": "fluence", + "chainId": 9999999, + "networkId": 9999999, + "explorers": [ + { + "name": "blockscout", + "url": "https://blockscout.mainnet.fluence.dev", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1" + } + }, { "name": "Plian Testnet Subchain 1", "chain": "Plian", @@ -39284,6 +43078,29 @@ } ] }, + { + "name": "AlienX Mainnet", + "chain": "AlienX Mainnet", + "rpc": ["https://rpc.alienxchain.io/http"], + "faucets": [], + "nativeCurrency": { + "name": "Ethereum", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://alienxchain.io/home", + "shortName": "AlienX", + "chainId": 10241024, + "networkId": 10241024, + "icon": "alienx", + "explorers": [ + { + "name": "AlienXChain Explorer", + "url": "https://explorer.alienxchain.io", + "standard": "EIP3091" + } + ] + }, { "name": "ALIENX Hal Testnet", "chain": "ALIENX Hal", @@ -39310,6 +43127,50 @@ } ] }, + { + "name": "Blessnet Sepolia", + "chain": "ETH", + "rpc": [ + "https://blessnet-sepolia-testnet.rpc.caldera.xyz/http", + "wss://blessnet-sepolia-testnet.rpc.caldera.xyz/ws" + ], + "faucets": ["https://blessnet-sepolia-testnet.hub.caldera.xyz"], + "nativeCurrency": { + "name": "Bless", + "symbol": "BLESS", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://blessnet.io", + "shortName": "bless-sepolia", + "chainId": 11145513, + "networkId": 11145513, + "icon": "bless", + "explorers": [ + { + "name": "blockscout", + "url": "https://blessnet-sepolia-testnet.explorer.caldera.xyz", + "icon": "bless", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-421614", + "bridges": [ + { + "url": "https://blessnet-sepolia-testnet.bridge.caldera.xyz" + } + ] + } + }, { "name": "Sepolia", "title": "Ethereum Testnet Sepolia", @@ -39383,6 +43244,76 @@ } ] }, + { + "name": "Memento Testnet", + "chain": "Memento", + "rpc": ["https://test-rpc.mementoblockchain.com/IRkghvI3FfEArEJMr4zC/rpc"], + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "", + "shortName": "memento-test", + "chainId": 12052024, + "networkId": 12052024, + "explorers": [ + { + "name": "Tracehawk", + "url": "https://test-explorer.mementoblockchain.com", + "standard": "none" + } + ] + }, + { + "name": "NeoX Testnet T3", + "chain": "NeoX", + "rpc": ["https://neoxseed1.ngd.network/"], + "faucets": [], + "nativeCurrency": { + "name": "Gas", + "symbol": "GAS", + "decimals": 18 + }, + "infoURL": "https://neo.org/", + "shortName": "neox", + "chainId": 12227331, + "networkId": 12227331, + "icon": "neox", + "explorers": [ + { + "name": "neox-scan", + "url": "https://testnet.scan.banelabs.org", + "standard": "EIP3091" + } + ], + "status": "deprecated" + }, + { + "name": "Neo X Testnet T4", + "chain": "Neo X", + "rpc": ["https://testnet.rpc.banelabs.org/"], + "faucets": [], + "nativeCurrency": { + "name": "Gas", + "symbol": "GAS", + "decimals": 18 + }, + "infoURL": "https://neo.org/", + "shortName": "neox-t4", + "chainId": 12227332, + "networkId": 12227332, + "icon": "neox", + "explorers": [ + { + "name": "neox-scan", + "url": "https://xt4scan.ngd.network", + "standard": "EIP3091" + } + ], + "status": "active" + }, { "name": "COTI Devnet", "title": "COTI Devnet", @@ -39493,6 +43424,30 @@ } ] }, + { + "name": "Mande Network Mainnet", + "chain": "Mande", + "rpc": ["https://mande-mainnet.public.blastapi.io"], + "faucets": [], + "nativeCurrency": { + "name": "Mand", + "symbol": "MAND", + "decimals": 18 + }, + "infoURL": "https://mande.network/", + "shortName": "Mande", + "chainId": 18071918, + "networkId": 18071918, + "icon": "mande", + "explorers": [ + { + "name": "FYI", + "url": "https://dym.fyi/r/mande", + "icon": "fyi", + "standard": "EIP3091" + } + ] + }, { "name": "IOLite", "chain": "ILT", @@ -39508,6 +43463,56 @@ "chainId": 18289463, "networkId": 18289463 }, + { + "name": "DeepBrainChain Testnet", + "chain": "DeepBrainChain", + "rpc": ["https://rpc-testnet.dbcwallet.io"], + "faucets": [], + "nativeCurrency": { + "name": "DeepBrainChain", + "symbol": "DBC", + "decimals": 18 + }, + "infoURL": "https://www.deepbrainchain.org", + "shortName": "tDBC", + "chainId": 19850818, + "icon": "dbc", + "networkId": 19850818, + "slip44": 1, + "explorers": [ + { + "name": "DeepBrainChain Testnet", + "url": "https://blockscout-testnet.dbcscan.io", + "icon": "dbc", + "standard": "EIP3091" + } + ] + }, + { + "name": "DeepBrainChain Mainnet", + "chain": "DeepBrainChain", + "rpc": ["https://rpc.dbcwallet.io"], + "faucets": [], + "nativeCurrency": { + "name": "DeepBrainChain", + "symbol": "DBC", + "decimals": 18 + }, + "infoURL": "https://www.deepbrainchain.org", + "shortName": "DBC", + "chainId": 19880818, + "networkId": 19880818, + "icon": "dbc", + "slip44": 1, + "explorers": [ + { + "name": "DeepBrainChain Mainnet", + "url": "https://blockscout.dbcscan.io", + "icon": "dbc", + "standard": "EIP3091" + } + ] + }, { "name": "Stability Testnet", "chain": "stabilityTestnet", @@ -39610,6 +43615,31 @@ } ] }, + { + "name": "Vcity Testnet", + "chain": "VCITY", + "rpc": ["https://testnet.vcity.app"], + "faucets": [], + "nativeCurrency": { + "name": "Testnet Vcity Token", + "symbol": "VCITY", + "decimals": 18 + }, + "features": [], + "infoURL": "https://vcity.app", + "shortName": "Vcity", + "chainId": 20230825, + "networkId": 20230825, + "icon": "vcity", + "explorers": [ + { + "name": "Vcity Explorer", + "url": "https://scan.vcity.app", + "icon": "vcity", + "standard": "EIP3091" + } + ] + }, { "name": "DeBank Sepolia Testnet", "chain": "DeBank", @@ -39634,6 +43664,29 @@ } ] }, + { + "name": "DBK Chain", + "chain": "DBK Chain", + "rpc": ["https://rpc.mainnet.dbkchain.io"], + "icon": "dbkchain", + "faucets": [], + "nativeCurrency": { + "name": "Ether", + "symbol": "ETH", + "decimals": 18 + }, + "infoURL": "https://docs.dbkchain.io", + "shortName": "dbkchain", + "chainId": 20240603, + "networkId": 20240603, + "explorers": [ + { + "name": "DBK Chain Explorer", + "url": "https://scan.dbkchain.io", + "standard": "EIP3091" + } + ] + }, { "name": "Swan Proxima Testnet", "chain": "SWAN", @@ -39841,6 +43894,36 @@ "slip44": 1, "explorers": [] }, + { + "name": "Toliman Suave Testnet", + "chain": "ETH", + "rpc": ["https://rpc.toliman.suave.flashbots.net"], + "faucets": ["https://faucet.toliman.suave.flashbots.net"], + "nativeCurrency": { + "name": "SUAVE Toliman Eth", + "symbol": "TEEth", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://suave-alpha.flashbots.net/toliman", + "shortName": "suave-toliman", + "chainId": 33626250, + "networkId": 33626250, + "explorers": [ + { + "name": "Blockscout", + "url": "https://explorer.toliman.suave.flashbots.net", + "standard": "EIP3091" + } + ] + }, { "name": "Joys Digital Mainnet", "chain": "JOYS", @@ -39936,6 +44019,35 @@ } ] }, + { + "name": "Fluence Testnet", + "chain": "Fluence Testnet", + "rpc": [ + "https://rpc.testnet.fluence.dev/", + "wss://ws.testnet.fluence.dev/" + ], + "faucets": [], + "nativeCurrency": { + "name": "tFLT", + "symbol": "tFLT", + "decimals": 18 + }, + "infoURL": "https://fluence.network/", + "shortName": "fluence-testnet", + "chainId": 52164803, + "networkId": 52164803, + "explorers": [ + { + "name": "blockscout", + "url": "https://blockscout.testnet.fluence.dev", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111" + } + }, { "name": "Aquachain", "chain": "AQUA", @@ -40004,6 +44116,31 @@ }, { "name": "Autonity Bakerloo (Sumida) Testnet", + "status": "deprecated", + "chain": "AUT", + "rpc": [], + "faucets": ["https://faucet.autonity.org/"], + "nativeCurrency": { + "name": "Bakerloo Auton", + "symbol": "ATN", + "decimals": 18 + }, + "infoURL": "https://autonity.org/", + "shortName": "bakerloo-02", + "chainId": 65010002, + "networkId": 65010002, + "slip44": 1, + "icon": "autonity", + "explorers": [ + { + "name": "autonity-blockscout", + "url": "https://bakerloo.autonity.org", + "standard": "EIP3091" + } + ] + }, + { + "name": "Autonity Bakerloo (Yamuna) Testnet", "chain": "AUT", "rpc": [ "https://rpc1.bakerloo.autonity.org/", @@ -40016,9 +44153,9 @@ "decimals": 18 }, "infoURL": "https://autonity.org/", - "shortName": "bakerloo-02", - "chainId": 65010002, - "networkId": 65010002, + "shortName": "bakerloo-03", + "chainId": 65010003, + "networkId": 65010003, "slip44": 1, "icon": "autonity", "explorers": [ @@ -40081,6 +44218,31 @@ }, { "name": "Autonity Piccadilly (Sumida) Testnet", + "status": "deprecated", + "chain": "AUT", + "rpc": [], + "faucets": [], + "nativeCurrency": { + "name": "Piccadilly Auton", + "symbol": "ATN", + "decimals": 18 + }, + "infoURL": "https://autonity.org/", + "shortName": "piccadilly-02", + "chainId": 65100002, + "networkId": 65100002, + "slip44": 1, + "icon": "autonity", + "explorers": [ + { + "name": "autonity-blockscout", + "url": "https://piccadilly.autonity.org", + "standard": "EIP3091" + } + ] + }, + { + "name": "Autonity Piccadilly (Yamuna) Testnet", "chain": "AUT", "rpc": [ "https://rpc1.piccadilly.autonity.org/", @@ -40093,9 +44255,9 @@ "decimals": 18 }, "infoURL": "https://autonity.org/", - "shortName": "piccadilly-02", - "chainId": 65100002, - "networkId": 65100002, + "shortName": "piccadilly-03", + "chainId": 65100003, + "networkId": 65100003, "slip44": 1, "icon": "autonity", "explorers": [ @@ -40172,6 +44334,59 @@ ] } }, + { + "name": "SX Toronto Rollup", + "chain": "SX", + "icon": "SX", + "rpc": ["https://rpc.sx-rollup-testnet.t.raas.gelato.cloud"], + "faucets": ["https://faucet.toronto.sx.technology"], + "nativeCurrency": { + "name": "SX Network", + "symbol": "SX", + "decimals": 18 + }, + "infoURL": "https://www.sx.technology", + "shortName": "SXR-Testnet", + "chainId": 79479957, + "networkId": 79479957, + "explorers": [ + { + "name": "SX Toronto L2 Explorer", + "url": "https://explorerl2.toronto.sx.technology", + "standard": "EIP3091", + "icon": "SX" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111" + } + }, + { + "name": "Backstop Testnet", + "chain": "backstopTestnet", + "icon": "backstop", + "rpc": ["https://testnet.rpc.backstop.technology"], + "faucets": [], + "nativeCurrency": { + "name": "Backstop Testnet 1", + "symbol": "ZBS", + "decimals": 18 + }, + "infoURL": "https://backstop.technology/testnet", + "shortName": "backstop-testnet", + "chainId": 88558801, + "networkId": 88558801, + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://testnet.bridge.backstop.technology" + } + ] + } + }, { "name": "T.E.A.M Blockchain", "chain": "TEAM", @@ -40257,6 +44472,38 @@ "networkId": 99415706, "slip44": 1 }, + { + "name": "Ethos", + "chain": "ETHOS", + "rpc": ["https://rpc.ethos.cool"], + "faucets": ["https://faucet.ethos.cool"], + "nativeCurrency": { + "name": "ETHOS", + "symbol": "ETHOS", + "decimals": 18 + }, + "features": [ + { + "name": "EIP155" + }, + { + "name": "EIP1559" + } + ], + "infoURL": "https://ethos.cool", + "shortName": "ETHOS", + "chainId": 100000000, + "networkId": 100000000, + "icon": "ethos", + "explorers": [ + { + "name": "ethos scan", + "url": "https://scan.ethos.cool", + "icon": "ethos", + "standard": "EIP3091" + } + ] + }, { "name": "Oraichain Mainnet", "title": "Oraichain Mainnet", @@ -40516,6 +44763,23 @@ } ] }, + { + "name": "Neon EVM Devnet Rollup", + "chain": "Solana", + "rpc": ["https://devnet.rollup.neonevm.org/"], + "faucets": [], + "icon": "neon", + "nativeCurrency": { + "name": "Neon", + "symbol": "NEON", + "decimals": 18 + }, + "infoURL": "https://neonevm.org/", + "shortName": "neonevm-devnet-rollup", + "chainId": 245022929, + "networkId": 245022929, + "explorers": [] + }, { "name": "Neon EVM Mainnet", "chain": "Solana", @@ -40756,6 +45020,39 @@ } ] }, + { + "name": "Skopje Testnet", + "chain": "Skopje Testnet", + "icon": "skopje-gpt", + "rpc": ["https://skopje-rpc.gptprotocol.io"], + "faucets": ["https://skopje-faucet.gptprotocol.io"], + "chainId": 476462898, + "networkId": 476462898, + "nativeCurrency": { + "name": "SkpGPT", + "symbol": "SkpGPT", + "decimals": 18 + }, + "infoURL": "https://gptprotocol.com", + "shortName": "Skopje", + "parent": { + "type": "L2", + "chain": "eip155-11155111", + "bridges": [ + { + "url": "https://skopje-bridge.gptprotocol.io" + } + ] + }, + "explorers": [ + { + "name": "blockscout", + "url": "https://skopje-explorer.gptprotocol.io", + "standard": "EIP3091", + "icon": "blockscout" + } + ] + }, { "name": "Gather Devnet Network", "chain": "GTH", @@ -40806,6 +45103,41 @@ } ] }, + { + "name": "Sophon Testnet", + "chain": "Sophon Testnet", + "rpc": [ + "https://rpc.testnet.sophon.xyz", + "wss://rpc.testnet.sophon.xyz/ws" + ], + "nativeCurrency": { + "name": "Sophon", + "symbol": "SOPH", + "decimals": 18 + }, + "faucets": [], + "infoURL": "", + "shortName": "sophon-testnet", + "chainId": 531050104, + "networkId": 531050104, + "explorers": [ + { + "name": "Sophon Block Explorer", + "url": "https://explorer.testnet.sophon.xyz", + "icon": "sophon-testnet", + "standard": "none" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://portal.testnet.sophon.xyz/bridge" + } + ] + } + }, { "name": "Degen Chain", "title": "Degen Chain", @@ -40824,6 +45156,33 @@ "status": "incubating", "icon": "degen" }, + { + "name": "Tron Mainnet", + "chain": "TRON", + "rpc": [ + "https://rpc.ankr.com/tron_jsonrpc", + "https://api.trongrid.io/jsonrpc" + ], + "faucets": [], + "nativeCurrency": { + "name": "Tron", + "symbol": "TRX", + "decimals": 6 + }, + "infoURL": "https://tron.network", + "shortName": "tron", + "chainId": 728126428, + "networkId": 728126428, + "icon": "tron", + "explorers": [ + { + "name": "tronscan", + "url": "https://tronscan.org", + "icon": "tron", + "standard": "none" + } + ] + }, { "name": "Ancient8", "chain": "Ancient8", @@ -41280,6 +45639,39 @@ } ] }, + { + "name": "GPT Mainnet", + "chain": "GPT Protocol", + "icon": "gpt", + "rpc": ["https://rpc.gptprotocol.io"], + "faucets": [], + "chainId": 1511670449, + "networkId": 1511670449, + "nativeCurrency": { + "name": "GPT", + "symbol": "GPT", + "decimals": 18 + }, + "infoURL": "https://gptprotocol.com", + "shortName": "GPT", + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://bridge.gptprotocol.io" + } + ] + }, + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.gptprotocol.io", + "standard": "EIP3091", + "icon": "blockscout" + } + ] + }, { "name": "Deprecated SKALE Titan Hub Testnet", "chain": "staging-aware-chief-gianfar", @@ -41550,6 +45942,37 @@ "bridges": [] } }, + { + "name": "Gemuchain Testnet", + "chain": "Gemuchain", + "rpc": ["https://gemutest-rpc.gemuchain.io"], + "faucets": ["https://faucet.gemuchain.io/"], + "nativeCurrency": { + "name": "Gemuchain", + "symbol": "GEMU", + "decimals": 18 + }, + "infoURL": "https://gemuchain.io/", + "shortName": "Gemuchain", + "chainId": 1903648807, + "networkId": 1903648807, + "explorers": [ + { + "name": "Gemuchain Explorer (Blockscout)", + "url": "https://gemutest-explorer.gemuchain.io", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-1", + "bridges": [ + { + "url": "https://gemutest-bridge.gemuchain.io/login" + } + ] + } + }, { "name": "RARI Chain Testnet", "chain": "RARI", @@ -41758,7 +46181,7 @@ "title": "GitSwarm Test Network", "chain": "ETH", "icon": "gitswarm", - "rpc": ["https://gitswarm.com:2096"], + "rpc": ["https://testnet.gitswarm.com:2096"], "faucets": [], "nativeCurrency": { "name": "GitSwarm Ether", @@ -41883,6 +46306,60 @@ } ] }, + { + "name": "Thanos Sepolia", + "chain": "ETH", + "rpc": [ + "https://rpc.thanos-sepolia.tokamak.network", + "wss://rpc.thanos-sepolia.tokamak.network" + ], + "faucets": [], + "nativeCurrency": { + "name": "Tokamak Network", + "symbol": "TON", + "decimals": 18 + }, + "infoURL": "https://tokamak.network", + "shortName": "thanos-sepolia", + "chainId": 111551119090, + "networkId": 111551119090, + "explorers": [ + { + "name": "blockscout", + "url": "https://explorer.thanos-sepolia.tokamak.network", + "standard": "EIP3091" + } + ] + }, + { + "name": "Fluence Stage", + "chain": "Fluence Stage (Testnet)", + "rpc": [ + "https://rpc-123420000220.raas-testnet.gelato.digital/", + "wss://ws-123420000220.raas-testnet.gelato.digital/" + ], + "faucets": [], + "nativeCurrency": { + "name": "tFLT", + "symbol": "tFLT", + "decimals": 18 + }, + "infoURL": "https://fluence.network/", + "shortName": "fluence-stage", + "chainId": 123420000220, + "networkId": 123420000220, + "explorers": [ + { + "name": "blockscout", + "url": "https://blockscout-123420000220.raas-testnet.gelato.digital", + "standard": "EIP3091" + } + ], + "parent": { + "type": "L2", + "chain": "eip155-11155111" + } + }, { "name": "Ntity Mainnet", "chain": "Ntity", diff --git a/Assets/Thirdweb/Resources/all_chains_additional.json b/Assets/Thirdweb/Resources/all_chains_additional.json index 7685a5d57..a25249285 100644 --- a/Assets/Thirdweb/Resources/all_chains_additional.json +++ b/Assets/Thirdweb/Resources/all_chains_additional.json @@ -192,5 +192,47 @@ } ] } + }, + { + "name": "Gemuchain Testnet", + "chain": "Gemuchain", + "rpc": ["https://gemutest-rpc.gemuchain.io/"], + "nativeCurrency": { "name": "GEMU", "symbol": "GEMU", "decimals": 18 }, + "shortName": "GEMU", + "chainId": 1903648807, + "networkId": 1903648807, + "slug": "gemuchain-testnet", + "icon": "ipfs://QmSw7QvgrkuykN1ZTr2QQZZjuxbx9CsZDuuTD1cv1hQo8G", + "features": [], + "faucets": [], + "explorers": [ + { + "name": "blockscout", + "url": "https://gemutest-explorer.gemuchain.io/", + "standard": "EIP3091" + } + ], + "testnet": true, + "redFlags": [] + }, + { + "name": "Zuraverse", + "chain": "ZURA", + "rpc": ["https://zuraverse-2712670149155000-1.jsonrpc.sagarpc.io"], + "nativeCurrency": { + "name": "ZURA", + "symbol": "ZURA", + "decimals": 18 + }, + "shortName": "ZURA", + "chainId": 2712670149155000, + "networkId": 2712670149155000, + "slug": "zuraverse", + "icon": "https://bafybeiez6za62lqpt6zoizlzs33poax4fl3czuecvze2peeknuhkrhk5om.ipfs.w3s.link/ZV_mascot_white_trans.png", + "features": [], + "faucets": [], + "explorers": [], + "testnet": false, + "redFlags": [] } ] diff --git a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js index ff97aa117..4386e6e53 100644 --- a/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js +++ b/Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js @@ -1,22 +1,22 @@ -"use strict";(()=>{var vM0=Object.create;var iC=Object.defineProperty;var wM0=Object.getOwnPropertyDescriptor;var TM0=Object.getOwnPropertyNames;var xM0=Object.getPrototypeOf,EM0=Object.prototype.hasOwnProperty;var _M0=(t,e,n)=>e in t?iC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var V5=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var oe=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G0=(t,e)=>{for(var n in e)iC(t,n,{get:e[n],enumerable:!0})},xF=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of TM0(e))!EM0.call(t,r)&&r!==n&&iC(t,r,{get:()=>e[r],enumerable:!(a=wM0(e,r))||a.enumerable});return t},$i=(t,e,n)=>(xF(t,e,"default"),n&&xF(n,e,"default")),Ee=(t,e,n)=>(n=t!=null?vM0(xM0(t)):{},xF(e||!t||!t.__esModule?iC(n,"default",{value:t,enumerable:!0}):n,t)),vn=t=>xF(iC({},"__esModule",{value:!0}),t);var ae=(t,e,n)=>(_M0(t,typeof e!="symbol"?e+"":e,n),n);var x,u=oe(()=>{x={env:"production"}});var Cve=D(EF=>{"use strict";u();p();EF.byteLength=CM0;EF.toByteArray=SM0;EF.fromByteArray=BM0;var ou=[],md=[],IM0=typeof Uint8Array<"u"?Uint8Array:Array,d0e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(iy=0,Ave=d0e.length;iy0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var a=n===e?0:4-n%4;return[n,a]}function CM0(t){var e=Ive(t),n=e[0],a=e[1];return(n+a)*3/4-a}function kM0(t,e,n){return(e+n)*3/4-n}function SM0(t){var e,n=Ive(t),a=n[0],r=n[1],f=new IM0(kM0(t,a,r)),i=0,s=r>0?a-4:a,o;for(o=0;o>16&255,f[i++]=e>>8&255,f[i++]=e&255;return r===2&&(e=md[t.charCodeAt(o)]<<2|md[t.charCodeAt(o+1)]>>4,f[i++]=e&255),r===1&&(e=md[t.charCodeAt(o)]<<10|md[t.charCodeAt(o+1)]<<4|md[t.charCodeAt(o+2)]>>2,f[i++]=e>>8&255,f[i++]=e&255),f}function RM0(t){return ou[t>>18&63]+ou[t>>12&63]+ou[t>>6&63]+ou[t&63]}function MM0(t,e,n){for(var a,r=[],f=e;fs?s:i+f));return a===1?(e=t[n-1],r.push(ou[e>>2]+ou[e<<4&63]+"==")):a===2&&(e=(t[n-2]<<8)+t[n-1],r.push(ou[e>>10]+ou[e>>4&63]+ou[e<<2&63]+"=")),r.join("")}});var kve=D(l0e=>{u();p();l0e.read=function(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)};l0e.write=function(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=k*128}});var Qf=D(zv=>{"use strict";u();p();var u0e=Cve(),Hv=kve(),Sve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;zv.Buffer=n0;zv.SlowBuffer=OM0;zv.INSPECT_MAX_BYTES=50;var _F=2147483647;zv.kMaxLength=_F;n0.TYPED_ARRAY_SUPPORT=DM0();!n0.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function DM0(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(n0.prototype,"parent",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.buffer}});Object.defineProperty(n0.prototype,"offset",{enumerable:!0,get:function(){if(n0.isBuffer(this))return this.byteOffset}});function Vp(t){if(t>_F)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,n0.prototype),e}function n0(t,e,n){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b0e(t)}return Bve(t,e,n)}n0.poolSize=8192;function Bve(t,e,n){if(typeof t=="string")return LM0(t,e);if(ArrayBuffer.isView(t))return FM0(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(cu(t,ArrayBuffer)||t&&cu(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(cu(t,SharedArrayBuffer)||t&&cu(t.buffer,SharedArrayBuffer)))return h0e(t,e,n);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=t.valueOf&&t.valueOf();if(a!=null&&a!==t)return n0.from(a,e,n);var r=NM0(t);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return n0.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}n0.from=function(t,e,n){return Bve(t,e,n)};Object.setPrototypeOf(n0.prototype,Uint8Array.prototype);Object.setPrototypeOf(n0,Uint8Array);function Dve(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function PM0(t,e,n){return Dve(t),t<=0?Vp(t):e!==void 0?typeof n=="string"?Vp(t).fill(e,n):Vp(t).fill(e):Vp(t)}n0.alloc=function(t,e,n){return PM0(t,e,n)};function b0e(t){return Dve(t),Vp(t<0?0:y0e(t)|0)}n0.allocUnsafe=function(t){return b0e(t)};n0.allocUnsafeSlow=function(t){return b0e(t)};function LM0(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!n0.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=Pve(t,e)|0,a=Vp(n),r=a.write(t,e);return r!==n&&(a=a.slice(0,r)),a}function p0e(t){for(var e=t.length<0?0:y0e(t.length)|0,n=Vp(e),a=0;a=_F)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_F.toString(16)+" bytes");return t|0}function OM0(t){return+t!=t&&(t=0),n0.alloc(+t)}n0.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==n0.prototype};n0.compare=function(e,n){if(cu(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),cu(n,Uint8Array)&&(n=n0.from(n,n.offset,n.byteLength)),!n0.isBuffer(e)||!n0.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);fr.length?n0.from(i).copy(r,f):Uint8Array.prototype.set.call(r,i,f);else if(n0.isBuffer(i))i.copy(r,f);else throw new TypeError('"list" argument must be an Array of Buffers');f+=i.length}return r};function Pve(t,e){if(n0.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||cu(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&n===0)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return m0e(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Hve(t).length;default:if(r)return a?-1:m0e(t).length;e=(""+e).toLowerCase(),r=!0}}n0.byteLength=Pve;function UM0(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return YM0(this,e,n);case"utf8":case"utf-8":return Fve(this,e,n);case"ascii":return QM0(this,e,n);case"latin1":case"binary":return VM0(this,e,n);case"base64":return GM0(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $M0(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}n0.prototype._isBuffer=!0;function sy(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}n0.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;nn&&(e+=" ... "),""};Sve&&(n0.prototype[Sve]=n0.prototype.inspect);n0.prototype.compare=function(e,n,a,r,f){if(cu(e,Uint8Array)&&(e=n0.from(e,e.offset,e.byteLength)),!n0.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;l2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,g0e(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=n0.from(e,a)),n0.isBuffer(e))return e.length===0?-1:Rve(t,e,n,a,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):Rve(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function Rve(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;a>f/2&&(a=f/2);for(var i=0;i>>0,isFinite(a)?(a=a>>>0,r===void 0&&(r="utf8")):(r=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-n;if((a===void 0||a>f)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return HM0(this,e,n,a);case"utf8":case"utf-8":return zM0(this,e,n,a);case"ascii":case"latin1":case"binary":return WM0(this,e,n,a);case"base64":return qM0(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jM0(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};n0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function GM0(t,e,n){return e===0&&n===t.length?u0e.fromByteArray(t):u0e.fromByteArray(t.slice(e,n))}function Fve(t,e,n){n=Math.min(t.length,n);for(var a=[],r=e;r239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return KM0(a)}var Mve=4096;function KM0(t){var e=t.length;if(e<=Mve)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fa&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),nn)throw new RangeError("Trying to access beyond buffer length")}n0.prototype.readUintLE=n0.prototype.readUIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||ls(e,n,this.length);for(var r=this[e],f=1,i=0;++i>>0,n=n>>>0,a||ls(e,n,this.length);for(var r=this[e+--n],f=1;n>0&&(f*=256);)r+=this[e+--n]*f;return r};n0.prototype.readUint8=n0.prototype.readUInt8=function(e,n){return e=e>>>0,n||ls(e,1,this.length),this[e]};n0.prototype.readUint16LE=n0.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]|this[e+1]<<8};n0.prototype.readUint16BE=n0.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||ls(e,2,this.length),this[e]<<8|this[e+1]};n0.prototype.readUint32LE=n0.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};n0.prototype.readUint32BE=n0.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};n0.prototype.readIntLE=function(e,n,a){e=e>>>0,n=n>>>0,a||ls(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};n0.prototype.readIntBE=function(e,n,a){e=e>>>0,n=n>>>0,a||ls(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};n0.prototype.readInt8=function(e,n){return e=e>>>0,n||ls(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};n0.prototype.readInt16LE=function(e,n){e=e>>>0,n||ls(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt16BE=function(e,n){e=e>>>0,n||ls(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};n0.prototype.readInt32LE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};n0.prototype.readInt32BE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};n0.prototype.readFloatLE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),Hv.read(this,e,!0,23,4)};n0.prototype.readFloatBE=function(e,n){return e=e>>>0,n||ls(e,4,this.length),Hv.read(this,e,!1,23,4)};n0.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Hv.read(this,e,!0,52,8)};n0.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||ls(e,8,this.length),Hv.read(this,e,!1,52,8)};function kc(t,e,n,a,r,f){if(!n0.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}n0.prototype.writeUintLE=n0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;kc(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s>>0,a=a>>>0,!r){var f=Math.pow(2,8*a)-1;kc(this,e,n,a,f,0)}var i=a-1,s=1;for(this[n+i]=e&255;--i>=0&&(s*=256);)this[n+i]=e/s&255;return n+a};n0.prototype.writeUint8=n0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,1,255,0),this[n]=e&255,n+1};n0.prototype.writeUint16LE=n0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeUint16BE=n0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeUint32LE=n0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255,n+4};n0.prototype.writeUint32BE=n0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};n0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);kc(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};n0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n>>>0,!r){var f=Math.pow(2,8*a-1);kc(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};n0.prototype.writeInt8=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};n0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};n0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};n0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,4,2147483647,-2147483648),this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4};n0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n>>>0,a||kc(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};function Nve(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ove(t,e,n,a,r){return e=+e,n=n>>>0,r||Nve(t,e,n,4,34028234663852886e22,-34028234663852886e22),Hv.write(t,e,n,a,23,4),n+4}n0.prototype.writeFloatLE=function(e,n,a){return Ove(this,e,n,!0,a)};n0.prototype.writeFloatBE=function(e,n,a){return Ove(this,e,n,!1,a)};function Uve(t,e,n,a,r){return e=+e,n=n>>>0,r||Nve(t,e,n,8,17976931348623157e292,-17976931348623157e292),Hv.write(t,e,n,a,52,8),n+8}n0.prototype.writeDoubleLE=function(e,n,a){return Uve(this,e,n,!0,a)};n0.prototype.writeDoubleBE=function(e,n,a){return Uve(this,e,n,!1,a)};n0.prototype.copy=function(e,n,a,r){if(!n0.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function ZM0(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function Hve(t){return u0e.toByteArray(XM0(t))}function AF(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function cu(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function g0e(t){return t!==t}var tB0=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var a=n*16,r=0;r<16;++r)e[a+r]=t[n]+t[r];return e}()});var Gve=D((cFn,jve)=>{u();p();var ui=jve.exports={},du,lu;function v0e(){throw new Error("setTimeout has not been defined")}function w0e(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?du=setTimeout:du=v0e}catch{du=v0e}try{typeof clearTimeout=="function"?lu=clearTimeout:lu=w0e}catch{lu=w0e}})();function zve(t){if(du===setTimeout)return setTimeout(t,0);if((du===v0e||!du)&&setTimeout)return du=setTimeout,setTimeout(t,0);try{return du(t,0)}catch{try{return du.call(null,t,0)}catch{return du.call(this,t,0)}}}function nB0(t){if(lu===clearTimeout)return clearTimeout(t);if((lu===w0e||!lu)&&clearTimeout)return lu=clearTimeout,clearTimeout(t);try{return lu(t)}catch{try{return lu.call(null,t)}catch{return lu.call(this,t)}}}var Yp=[],Wv=!1,oy,IF=-1;function aB0(){!Wv||!oy||(Wv=!1,oy.length?Yp=oy.concat(Yp):IF=-1,Yp.length&&Wve())}function Wve(){if(!Wv){var t=zve(aB0);Wv=!0;for(var e=Yp.length;e;){for(oy=Yp,Yp=[];++IF1)for(var n=1;n{_=Ee(Qf()),C=Ee(Gve()),rB0=function(t){function e(){var a=this||self;return delete t.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var n=__magic__;return n}(Object),global=rB0});function iB0(t){Vve=t}function kF(){return Vve}function ft(t,e){let n=SF({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,kF(),sC].filter(a=>!!a)});t.common.issues.push(n)}function on(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:a,description:r}=t;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:r}:{errorMap:(i,s)=>i.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:a??s.defaultError}:{message:n??s.defaultError},description:r}}function yB0(t,e){return!!((e==="v4"||!e)&&hB0.test(t)||(e==="v6"||!e)&&mB0.test(t))}function gB0(t,e){let n=(t.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,r=n>a?n:a,f=parseInt(t.toFixed(r).replace(".","")),i=parseInt(e.toFixed(r).replace(".",""));return f%i/Math.pow(10,r)}function qv(t){if(t instanceof Sc){let e={};for(let n in t.shape){let a=t.shape[n];e[n]=Y5.create(qv(a))}return new Sc({...t._def,shape:()=>e})}else return t instanceof Xp?new Xp({...t._def,type:qv(t.element)}):t instanceof Y5?Y5.create(qv(t.unwrap())):t instanceof Zp?Zp.create(qv(t.unwrap())):t instanceof uu?uu.create(t.items.map(e=>qv(e))):t}function A0e(t,e){let n=m3(t),a=m3(e);if(t===e)return{valid:!0,data:t};if(n===tt.object&&a===tt.object){let r=Ma.objectKeys(e),f=Ma.objectKeys(t).filter(s=>r.indexOf(s)!==-1),i={...t,...e};for(let s of f){let o=A0e(t[s],e[s]);if(!o.valid)return{valid:!1};i[s]=o.data}return{valid:!0,data:i}}else if(n===tt.array&&a===tt.array){if(t.length!==e.length)return{valid:!1};let r=[];for(let f=0;f{u();p();(function(t){t.assertEqual=r=>r;function e(r){}t.assertIs=e;function n(r){throw new Error}t.assertNever=n,t.arrayToEnum=r=>{let f={};for(let i of r)f[i]=i;return f},t.getValidEnumValues=r=>{let f=t.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),i={};for(let s of f)i[s]=r[s];return t.objectValues(i)},t.objectValues=r=>t.objectKeys(r).map(function(f){return r[f]}),t.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let f=[];for(let i in r)Object.prototype.hasOwnProperty.call(r,i)&&f.push(i);return f},t.find=(r,f)=>{for(let i of r)if(f(i))return i},t.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function a(r,f=" | "){return r.map(i=>typeof i=="string"?`'${i}'`:i).join(f)}t.joinValues=a,t.jsonStringifyReplacer=(r,f)=>typeof f=="bigint"?f.toString():f})(Ma||(Ma={}));(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(x0e||(x0e={}));tt=Ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),m3=t=>{switch(typeof t){case"undefined":return tt.undefined;case"string":return tt.string;case"number":return isNaN(t)?tt.nan:tt.number;case"boolean":return tt.boolean;case"function":return tt.function;case"bigint":return tt.bigint;case"symbol":return tt.symbol;case"object":return Array.isArray(t)?tt.array:t===null?tt.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?tt.promise:typeof Map<"u"&&t instanceof Map?tt.map:typeof Set<"u"&&t instanceof Set?tt.set:typeof Date<"u"&&t instanceof Date?tt.date:tt.object;default:return tt.unknown}},D0=Ma.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),fB0=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),w6=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let n=e||function(f){return f.message},a={_errors:[]},r=f=>{for(let i of f.issues)if(i.code==="invalid_union")i.unionErrors.map(r);else if(i.code==="invalid_return_type")r(i.returnTypeError);else if(i.code==="invalid_arguments")r(i.argumentsError);else if(i.path.length===0)a._errors.push(n(i));else{let s=a,o=0;for(;on.message){let n={},a=[];for(let r of this.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}};w6.create=t=>new w6(t);sC=(t,e)=>{let n;switch(t.code){case D0.invalid_type:t.received===tt.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case D0.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Ma.jsonStringifyReplacer)}`;break;case D0.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ma.joinValues(t.keys,", ")}`;break;case D0.invalid_union:n="Invalid input";break;case D0.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ma.joinValues(t.options)}`;break;case D0.invalid_enum_value:n=`Invalid enum value. Expected ${Ma.joinValues(t.options)}, received '${t.received}'`;break;case D0.invalid_arguments:n="Invalid function arguments";break;case D0.invalid_return_type:n="Invalid function return type";break;case D0.invalid_date:n="Invalid date";break;case D0.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Ma.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case D0.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case D0.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case D0.custom:n="Invalid input";break;case D0.invalid_intersection_types:n="Intersection results could not be merged";break;case D0.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case D0.not_finite:n="Number must be finite";break;default:n=e.defaultError,Ma.assertNever(t)}return{message:n}},Vve=sC;SF=t=>{let{data:e,path:n,errorMaps:a,issueData:r}=t,f=[...n,...r.path||[]],i={...r,path:f},s="",o=a.filter(c=>!!c).slice().reverse();for(let c of o)s=c(i,{data:e,defaultError:s}).message;return{...r,path:f,message:r.message||s}},sB0=[];Mo=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let a=[];for(let r of n){if(r.status==="aborted")return Qt;r.status==="dirty"&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){let a=[];for(let r of n)a.push({key:await r.key,value:await r.value});return t.mergeObjectSync(e,a)}static mergeObjectSync(e,n){let a={};for(let r of n){let{key:f,value:i}=r;if(f.status==="aborted"||i.status==="aborted")return Qt;f.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),f.value!=="__proto__"&&(typeof i.value<"u"||r.alwaysSet)&&(a[f.value]=i.value)}return{status:e.value,value:a}}},Qt=Object.freeze({status:"aborted"}),Yve=t=>({status:"dirty",value:t}),O1=t=>({status:"valid",value:t}),E0e=t=>t.status==="aborted",_0e=t=>t.status==="dirty",oC=t=>t.status==="valid",RF=t=>typeof Promise<"u"&&t instanceof Promise;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(At||(At={}));bd=class{constructor(e,n,a,r){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Kve=(t,e)=>{if(oC(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new w6(t.common.issues);return this._error=n,this._error}}};cn=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return m3(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:m3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Mo,ctx:{common:e.parent.common,data:e.data,parsedType:m3(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(RF(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;let r={common:{issues:[],async:(a=n?.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m3(e)},f=this._parseSync({data:e,path:r.path,parent:r});return Kve(r,f)}async parseAsync(e,n){let a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){let a={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m3(e)},r=this._parse({data:e,path:a.path,parent:a}),f=await(RF(r)?r:Promise.resolve(r));return Kve(a,f)}refine(e,n){let a=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,f)=>{let i=e(r),s=()=>f.addIssue({code:D0.custom,...a(r)});return typeof Promise<"u"&&i instanceof Promise?i.then(o=>o?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(e,n){return this._refinement((a,r)=>e(a)?!0:(r.addIssue(typeof n=="function"?n(a,r):n),!1))}_refinement(e){return new T6({schema:this,typeName:Lt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Y5.create(this,this._def)}nullable(){return Zp.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Xp.create(this,this._def)}promise(){return g3.create(this,this._def)}or(e){return my.create([this,e],this._def)}and(e){return by.create(this,e,this._def)}transform(e){return new T6({...on(this._def),schema:this,typeName:Lt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Ty({...on(this._def),innerType:this,defaultValue:n,typeName:Lt.ZodDefault})}brand(){return new PF({typeName:Lt.ZodBranded,type:this,...on(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Vv({...on(this._def),innerType:this,catchValue:n,typeName:Lt.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return cC.create(this,e)}readonly(){return $v.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},oB0=/^c[^\s-]{8,}$/i,cB0=/^[a-z][a-z0-9]*$/,dB0=/^[0-9A-HJKMNP-TV-Z]{26}$/,lB0=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,uB0=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,pB0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",hB0=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,mB0=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,bB0=t=>t.precision?t.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${t.precision}}Z$`):t.precision===0?t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):t.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");b3=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==tt.string){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.string,received:f.parsedType}),Qt}let a=new Mo,r;for(let f of this._def.checks)if(f.kind==="min")e.data.lengthf.value&&(r=this._getOrReturnCtx(e,r),ft(r,{code:D0.too_big,maximum:f.value,type:"string",inclusive:!0,exact:!1,message:f.message}),a.dirty());else if(f.kind==="length"){let i=e.data.length>f.value,s=e.data.lengthe.test(r),{validation:n,code:D0.invalid_string,...At.errToObj(a)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...At.errToObj(e)})}url(e){return this._addCheck({kind:"url",...At.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...At.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...At.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...At.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...At.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...At.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...At.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(n=e?.offset)!==null&&n!==void 0?n:!1,...At.errToObj(e?.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...At.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...At.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...At.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...At.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...At.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...At.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...At.errToObj(n)})}nonempty(e){return this.min(1,At.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new b3({checks:[],typeName:Lt.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};cy=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==tt.number){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.number,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="int"?Ma.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.invalid_type,expected:"integer",received:"float",message:f.message}),r.dirty()):f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.too_big,maximum:f.value,type:"number",inclusive:f.inclusive,exact:!1,message:f.message}),r.dirty()):f.kind==="multipleOf"?gB0(e.data,f.value)!==0&&(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):f.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.not_finite,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:At.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:At.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:At.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:At.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuee.kind==="int"||e.kind==="multipleOf"&&Ma.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.valuenew cy({checks:[],typeName:Lt.ZodNumber,coerce:t?.coerce||!1,...on(t)});dy=class t extends cn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==tt.bigint){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.bigint,received:f.parsedType}),Qt}let a,r=new Mo;for(let f of this._def.checks)f.kind==="min"?(f.inclusive?e.dataf.value:e.data>=f.value)&&(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.too_big,type:"bigint",maximum:f.value,inclusive:f.inclusive,message:f.message}),r.dirty()):f.kind==="multipleOf"?e.data%f.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),ft(a,{code:D0.not_multiple_of,multipleOf:f.value,message:f.message}),r.dirty()):Ma.assertNever(f);return{status:r.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,At.toString(n))}gt(e,n){return this.setLimit("min",e,!1,At.toString(n))}lte(e,n){return this.setLimit("max",e,!0,At.toString(n))}lt(e,n){return this.setLimit("max",e,!1,At.toString(n))}setLimit(e,n,a,r){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:At.toString(r)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:At.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:At.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:At.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:At.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:At.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value{var e;return new dy({checks:[],typeName:Lt.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...on(t)})};ly=class extends cn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==tt.boolean){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.boolean,received:a.parsedType}),Qt}return O1(e.data)}};ly.create=t=>new ly({typeName:Lt.ZodBoolean,coerce:t?.coerce||!1,...on(t)});uy=class t extends cn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==tt.date){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_type,expected:tt.date,received:f.parsedType}),Qt}if(isNaN(e.data.getTime())){let f=this._getOrReturnCtx(e);return ft(f,{code:D0.invalid_date}),Qt}let a=new Mo,r;for(let f of this._def.checks)f.kind==="min"?e.data.getTime()f.value&&(r=this._getOrReturnCtx(e,r),ft(r,{code:D0.too_big,message:f.message,inclusive:!0,exact:!1,maximum:f.value,type:"date"}),a.dirty()):Ma.assertNever(f);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:At.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:At.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.valuenew uy({checks:[],coerce:t?.coerce||!1,typeName:Lt.ZodDate,...on(t)});jv=class extends cn{_parse(e){if(this._getType(e)!==tt.symbol){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.symbol,received:a.parsedType}),Qt}return O1(e.data)}};jv.create=t=>new jv({typeName:Lt.ZodSymbol,...on(t)});py=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.undefined,received:a.parsedType}),Qt}return O1(e.data)}};py.create=t=>new py({typeName:Lt.ZodUndefined,...on(t)});hy=class extends cn{_parse(e){if(this._getType(e)!==tt.null){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.null,received:a.parsedType}),Qt}return O1(e.data)}};hy.create=t=>new hy({typeName:Lt.ZodNull,...on(t)});y3=class extends cn{constructor(){super(...arguments),this._any=!0}_parse(e){return O1(e.data)}};y3.create=t=>new y3({typeName:Lt.ZodAny,...on(t)});Jp=class extends cn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O1(e.data)}};Jp.create=t=>new Jp({typeName:Lt.ZodUnknown,...on(t)});$5=class extends cn{_parse(e){let n=this._getOrReturnCtx(e);return ft(n,{code:D0.invalid_type,expected:tt.never,received:n.parsedType}),Qt}};$5.create=t=>new $5({typeName:Lt.ZodNever,...on(t)});Gv=class extends cn{_parse(e){if(this._getType(e)!==tt.undefined){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.void,received:a.parsedType}),Qt}return O1(e.data)}};Gv.create=t=>new Gv({typeName:Lt.ZodVoid,...on(t)});Xp=class t extends cn{_parse(e){let{ctx:n,status:a}=this._processInputParams(e),r=this._def;if(n.parsedType!==tt.array)return ft(n,{code:D0.invalid_type,expected:tt.array,received:n.parsedType}),Qt;if(r.exactLength!==null){let i=n.data.length>r.exactLength.value,s=n.data.lengthr.maxLength.value&&(ft(n,{code:D0.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((i,s)=>r.type._parseAsync(new bd(n,i,n.path,s)))).then(i=>Mo.mergeArray(a,i));let f=[...n.data].map((i,s)=>r.type._parseSync(new bd(n,i,n.path,s)));return Mo.mergeArray(a,f)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:At.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:At.toString(n)}})}nonempty(e){return this.min(1,e)}};Xp.create=(t,e)=>new Xp({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Lt.ZodArray,...on(e)});Sc=class t extends cn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=Ma.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==tt.object){let c=this._getOrReturnCtx(e);return ft(c,{code:D0.invalid_type,expected:tt.object,received:c.parsedType}),Qt}let{status:a,ctx:r}=this._processInputParams(e),{shape:f,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof $5&&this._def.unknownKeys==="strip"))for(let c in r.data)i.includes(c)||s.push(c);let o=[];for(let c of i){let d=f[c],l=r.data[c];o.push({key:{status:"valid",value:c},value:d._parse(new bd(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof $5){let c=this._def.unknownKeys;if(c==="passthrough")for(let d of s)o.push({key:{status:"valid",value:d},value:{status:"valid",value:r.data[d]}});else if(c==="strict")s.length>0&&(ft(r,{code:D0.unrecognized_keys,keys:s}),a.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let d of s){let l=r.data[d];o.push({key:{status:"valid",value:d},value:c._parse(new bd(r,l,r.path,d)),alwaysSet:d in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let d of o){let l=await d.key;c.push({key:l,value:await d.value,alwaysSet:d.alwaysSet})}return c}).then(c=>Mo.mergeObjectSync(a,c)):Mo.mergeObjectSync(a,o)}get shape(){return this._def.shape()}strict(e){return At.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var r,f,i,s;let o=(i=(f=(r=this._def).errorMap)===null||f===void 0?void 0:f.call(r,n,a).message)!==null&&i!==void 0?i:a.defaultError;return n.code==="unrecognized_keys"?{message:(s=At.errToObj(e).message)!==null&&s!==void 0?s:o}:{message:o}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Lt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};return Ma.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}omit(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new t({...this._def,shape:()=>n})}deepPartial(){return qv(this)}partial(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{let r=this.shape[a];e&&!e[a]?n[a]=r:n[a]=r.optional()}),new t({...this._def,shape:()=>n})}required(e){let n={};return Ma.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let f=this.shape[a];for(;f instanceof Y5;)f=f._def.innerType;n[a]=f}}),new t({...this._def,shape:()=>n})}keyof(){return $ve(Ma.objectKeys(this.shape))}};Sc.create=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strip",catchall:$5.create(),typeName:Lt.ZodObject,...on(e)});Sc.strictCreate=(t,e)=>new Sc({shape:()=>t,unknownKeys:"strict",catchall:$5.create(),typeName:Lt.ZodObject,...on(e)});Sc.lazycreate=(t,e)=>new Sc({shape:t,unknownKeys:"strip",catchall:$5.create(),typeName:Lt.ZodObject,...on(e)});my=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=this._def.options;function r(f){for(let s of f)if(s.result.status==="valid")return s.result;for(let s of f)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let i=f.map(s=>new w6(s.ctx.common.issues));return ft(n,{code:D0.invalid_union,unionErrors:i}),Qt}if(n.common.async)return Promise.all(a.map(async f=>{let i={...n,common:{...n.common,issues:[]},parent:null};return{result:await f._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(r);{let f,i=[];for(let o of a){let c={...n,common:{...n.common,issues:[]},parent:null},d=o._parseSync({data:n.data,path:n.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!f&&(f={result:d,ctx:c}),c.common.issues.length&&i.push(c.common.issues)}if(f)return n.common.issues.push(...f.ctx.common.issues),f.result;let s=i.map(o=>new w6(o));return ft(n,{code:D0.invalid_union,unionErrors:s}),Qt}}get options(){return this._def.options}};my.create=(t,e)=>new my({options:t,typeName:Lt.ZodUnion,...on(e)});CF=t=>t instanceof yy?CF(t.schema):t instanceof T6?CF(t.innerType()):t instanceof gy?[t.value]:t instanceof vy?t.options:t instanceof wy?Object.keys(t.enum):t instanceof Ty?CF(t._def.innerType):t instanceof py?[void 0]:t instanceof hy?[null]:null,MF=class t extends cn{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.object)return ft(n,{code:D0.invalid_type,expected:tt.object,received:n.parsedType}),Qt;let a=this.discriminator,r=n.data[a],f=this.optionsMap.get(r);return f?n.common.async?f._parseAsync({data:n.data,path:n.path,parent:n}):f._parseSync({data:n.data,path:n.path,parent:n}):(ft(n,{code:D0.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),Qt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){let r=new Map;for(let f of n){let i=CF(f.shape[e]);if(!i)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of i){if(r.has(s))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);r.set(s,f)}}return new t({typeName:Lt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:r,...on(a)})}};by=class extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=(f,i)=>{if(E0e(f)||E0e(i))return Qt;let s=A0e(f.value,i.value);return s.valid?((_0e(f)||_0e(i))&&n.dirty(),{status:n.value,value:s.data}):(ft(a,{code:D0.invalid_intersection_types}),Qt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([f,i])=>r(f,i)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}};by.create=(t,e,n)=>new by({left:t,right:e,typeName:Lt.ZodIntersection,...on(n)});uu=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.array)return ft(a,{code:D0.invalid_type,expected:tt.array,received:a.parsedType}),Qt;if(a.data.lengththis._def.items.length&&(ft(a,{code:D0.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let f=[...a.data].map((i,s)=>{let o=this._def.items[s]||this._def.rest;return o?o._parse(new bd(a,i,a.path,s)):null}).filter(i=>!!i);return a.common.async?Promise.all(f).then(i=>Mo.mergeArray(n,i)):Mo.mergeArray(n,f)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};uu.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new uu({items:t,typeName:Lt.ZodTuple,rest:null,...on(e)})};BF=class t extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.object)return ft(a,{code:D0.invalid_type,expected:tt.object,received:a.parsedType}),Qt;let r=[],f=this._def.keyType,i=this._def.valueType;for(let s in a.data)r.push({key:f._parse(new bd(a,s,a.path,s)),value:i._parse(new bd(a,a.data[s],a.path,s))});return a.common.async?Mo.mergeObjectAsync(n,r):Mo.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof cn?new t({keyType:e,valueType:n,typeName:Lt.ZodRecord,...on(a)}):new t({keyType:b3.create(),valueType:e,typeName:Lt.ZodRecord,...on(n)})}},Kv=class extends cn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.map)return ft(a,{code:D0.invalid_type,expected:tt.map,received:a.parsedType}),Qt;let r=this._def.keyType,f=this._def.valueType,i=[...a.data.entries()].map(([s,o],c)=>({key:r._parse(new bd(a,s,a.path,[c,"key"])),value:f._parse(new bd(a,o,a.path,[c,"value"]))}));if(a.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let o of i){let c=await o.key,d=await o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let o of i){let c=o.key,d=o.value;if(c.status==="aborted"||d.status==="aborted")return Qt;(c.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(c.value,d.value)}return{status:n.value,value:s}}}};Kv.create=(t,e,n)=>new Kv({valueType:e,keyType:t,typeName:Lt.ZodMap,...on(n)});Qv=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==tt.set)return ft(a,{code:D0.invalid_type,expected:tt.set,received:a.parsedType}),Qt;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(ft(a,{code:D0.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let f=this._def.valueType;function i(o){let c=new Set;for(let d of o){if(d.status==="aborted")return Qt;d.status==="dirty"&&n.dirty(),c.add(d.value)}return{status:n.value,value:c}}let s=[...a.data.values()].map((o,c)=>f._parse(new bd(a,o,a.path,c)));return a.common.async?Promise.all(s).then(o=>i(o)):i(s)}min(e,n){return new t({...this._def,minSize:{value:e,message:At.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:At.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Qv.create=(t,e)=>new Qv({valueType:t,minSize:null,maxSize:null,typeName:Lt.ZodSet,...on(e)});DF=class t extends cn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.function)return ft(n,{code:D0.invalid_type,expected:tt.function,received:n.parsedType}),Qt;function a(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),sC].filter(c=>!!c),issueData:{code:D0.invalid_arguments,argumentsError:o}})}function r(s,o){return SF({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,kF(),sC].filter(c=>!!c),issueData:{code:D0.invalid_return_type,returnTypeError:o}})}let f={errorMap:n.common.contextualErrorMap},i=n.data;if(this._def.returns instanceof g3){let s=this;return O1(async function(...o){let c=new w6([]),d=await s._def.args.parseAsync(o,f).catch(y=>{throw c.addIssue(a(o,y)),c}),l=await Reflect.apply(i,this,d);return await s._def.returns._def.type.parseAsync(l,f).catch(y=>{throw c.addIssue(r(l,y)),c})})}else{let s=this;return O1(function(...o){let c=s._def.args.safeParse(o,f);if(!c.success)throw new w6([a(o,c.error)]);let d=Reflect.apply(i,this,c.data),l=s._def.returns.safeParse(d,f);if(!l.success)throw new w6([r(d,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:uu.create(e).rest(Jp.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new t({args:e||uu.create([]).rest(Jp.create()),returns:n||Jp.create(),typeName:Lt.ZodFunction,...on(a)})}},yy=class extends cn{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};yy.create=(t,e)=>new yy({getter:t,typeName:Lt.ZodLazy,...on(e)});gy=class extends cn{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return ft(n,{received:n.data,code:D0.invalid_literal,expected:this._def.value}),Qt}return{status:"valid",value:e.data}}get value(){return this._def.value}};gy.create=(t,e)=>new gy({value:t,typeName:Lt.ZodLiteral,...on(e)});vy=class t extends cn{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),a=this._def.values;return ft(n,{expected:Ma.joinValues(a),received:n.parsedType,code:D0.invalid_type}),Qt}if(this._def.values.indexOf(e.data)===-1){let n=this._getOrReturnCtx(e),a=this._def.values;return ft(n,{received:n.data,code:D0.invalid_enum_value,options:a}),Qt}return O1(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e){return t.create(e)}exclude(e){return t.create(this.options.filter(n=>!e.includes(n)))}};vy.create=$ve;wy=class extends cn{_parse(e){let n=Ma.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==tt.string&&a.parsedType!==tt.number){let r=Ma.objectValues(n);return ft(a,{expected:Ma.joinValues(r),received:a.parsedType,code:D0.invalid_type}),Qt}if(n.indexOf(e.data)===-1){let r=Ma.objectValues(n);return ft(a,{received:a.data,code:D0.invalid_enum_value,options:r}),Qt}return O1(e.data)}get enum(){return this._def.values}};wy.create=(t,e)=>new wy({values:t,typeName:Lt.ZodNativeEnum,...on(e)});g3=class extends cn{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==tt.promise&&n.common.async===!1)return ft(n,{code:D0.invalid_type,expected:tt.promise,received:n.parsedType}),Qt;let a=n.parsedType===tt.promise?n.data:Promise.resolve(n.data);return O1(a.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};g3.create=(t,e)=>new g3({type:t,typeName:Lt.ZodPromise,...on(e)});T6=class extends cn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:a}=this._processInputParams(e),r=this._def.effect||null,f={addIssue:i=>{ft(a,i),i.fatal?n.abort():n.dirty()},get path(){return a.path}};if(f.addIssue=f.addIssue.bind(f),r.type==="preprocess"){let i=r.transform(a.data,f);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(i).then(s=>this._def.schema._parseAsync({data:s,path:a.path,parent:a})):this._def.schema._parseSync({data:i,path:a.path,parent:a})}if(r.type==="refinement"){let i=s=>{let o=r.refinement(s,f);if(a.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(a.common.async===!1){let s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>s.status==="aborted"?Qt:(s.status==="dirty"&&n.dirty(),i(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(a.common.async===!1){let i=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!oC(i))return i;let s=r.transform(i.value,f);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(i=>oC(i)?Promise.resolve(r.transform(i.value,f)).then(s=>({status:n.value,value:s})):i);Ma.assertNever(r)}};T6.create=(t,e,n)=>new T6({schema:t,typeName:Lt.ZodEffects,effect:e,...on(n)});T6.createWithPreprocess=(t,e,n)=>new T6({schema:e,effect:{type:"preprocess",transform:t},typeName:Lt.ZodEffects,...on(n)});Y5=class extends cn{_parse(e){return this._getType(e)===tt.undefined?O1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Y5.create=(t,e)=>new Y5({innerType:t,typeName:Lt.ZodOptional,...on(e)});Zp=class extends cn{_parse(e){return this._getType(e)===tt.null?O1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Zp.create=(t,e)=>new Zp({innerType:t,typeName:Lt.ZodNullable,...on(e)});Ty=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return n.parsedType===tt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Ty.create=(t,e)=>new Ty({innerType:t,typeName:Lt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...on(e)});Vv=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return RF(r)?r.then(f=>({status:"valid",value:f.status==="valid"?f.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new w6(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};Vv.create=(t,e)=>new Vv({innerType:t,typeName:Lt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...on(e)});Yv=class extends cn{_parse(e){if(this._getType(e)!==tt.nan){let a=this._getOrReturnCtx(e);return ft(a,{code:D0.invalid_type,expected:tt.nan,received:a.parsedType}),Qt}return{status:"valid",value:e.data}}};Yv.create=t=>new Yv({typeName:Lt.ZodNaN,...on(t)});vB0=Symbol("zod_brand"),PF=class extends cn{_parse(e){let{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}},cC=class t extends cn{_parse(e){let{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{let f=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return f.status==="aborted"?Qt:f.status==="dirty"?(n.dirty(),Yve(f.value)):this._def.out._parseAsync({data:f.value,path:a.path,parent:a})})();{let r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?Qt:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(e,n){return new t({in:e,out:n,typeName:Lt.ZodPipeline})}},$v=class extends cn{_parse(e){let n=this._def.innerType._parse(e);return oC(n)&&(n.value=Object.freeze(n.value)),n}};$v.create=(t,e)=>new $v({innerType:t,typeName:Lt.ZodReadonly,...on(e)});Jve=(t,e={},n)=>t?y3.create().superRefine((a,r)=>{var f,i;if(!t(a)){let s=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,o=(i=(f=s.fatal)!==null&&f!==void 0?f:n)!==null&&i!==void 0?i:!0,c=typeof s=="string"?{message:s}:s;r.addIssue({code:"custom",...c,fatal:o})}}):y3.create(),wB0={object:Sc.lazycreate};(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Lt||(Lt={}));TB0=(t,e={message:`Input not instance of ${t.name}`})=>Jve(n=>n instanceof t,e),Xve=b3.create,Zve=cy.create,xB0=Yv.create,EB0=dy.create,ewe=ly.create,_B0=uy.create,AB0=jv.create,IB0=py.create,CB0=hy.create,kB0=y3.create,SB0=Jp.create,RB0=$5.create,MB0=Gv.create,BB0=Xp.create,DB0=Sc.create,PB0=Sc.strictCreate,LB0=my.create,FB0=MF.create,NB0=by.create,OB0=uu.create,UB0=BF.create,HB0=Kv.create,zB0=Qv.create,WB0=DF.create,qB0=yy.create,jB0=gy.create,GB0=vy.create,KB0=wy.create,QB0=g3.create,Qve=T6.create,VB0=Y5.create,YB0=Zp.create,$B0=T6.createWithPreprocess,JB0=cC.create,XB0=()=>Xve().optional(),ZB0=()=>Zve().optional(),eD0=()=>ewe().optional(),tD0={string:t=>b3.create({...t,coerce:!0}),number:t=>cy.create({...t,coerce:!0}),boolean:t=>ly.create({...t,coerce:!0}),bigint:t=>dy.create({...t,coerce:!0}),date:t=>uy.create({...t,coerce:!0})},nD0=Qt,fe=Object.freeze({__proto__:null,defaultErrorMap:sC,setErrorMap:iB0,getErrorMap:kF,makeIssue:SF,EMPTY_PATH:sB0,addIssueToContext:ft,ParseStatus:Mo,INVALID:Qt,DIRTY:Yve,OK:O1,isAborted:E0e,isDirty:_0e,isValid:oC,isAsync:RF,get util(){return Ma},get objectUtil(){return x0e},ZodParsedType:tt,getParsedType:m3,ZodType:cn,ZodString:b3,ZodNumber:cy,ZodBigInt:dy,ZodBoolean:ly,ZodDate:uy,ZodSymbol:jv,ZodUndefined:py,ZodNull:hy,ZodAny:y3,ZodUnknown:Jp,ZodNever:$5,ZodVoid:Gv,ZodArray:Xp,ZodObject:Sc,ZodUnion:my,ZodDiscriminatedUnion:MF,ZodIntersection:by,ZodTuple:uu,ZodRecord:BF,ZodMap:Kv,ZodSet:Qv,ZodFunction:DF,ZodLazy:yy,ZodLiteral:gy,ZodEnum:vy,ZodNativeEnum:wy,ZodPromise:g3,ZodEffects:T6,ZodTransformer:T6,ZodOptional:Y5,ZodNullable:Zp,ZodDefault:Ty,ZodCatch:Vv,ZodNaN:Yv,BRAND:vB0,ZodBranded:PF,ZodPipeline:cC,ZodReadonly:$v,custom:Jve,Schema:cn,ZodSchema:cn,late:wB0,get ZodFirstPartyTypeKind(){return Lt},coerce:tD0,any:kB0,array:BB0,bigint:EB0,boolean:ewe,date:_B0,discriminatedUnion:FB0,effect:Qve,enum:GB0,function:WB0,instanceof:TB0,intersection:NB0,lazy:qB0,literal:jB0,map:HB0,nan:xB0,nativeEnum:KB0,never:RB0,null:CB0,nullable:YB0,number:Zve,object:DB0,oboolean:eD0,onumber:ZB0,optional:VB0,ostring:XB0,pipeline:JB0,preprocess:$B0,promise:QB0,record:UB0,set:zB0,strictObject:PB0,string:Xve,symbol:AB0,transformer:Qve,tuple:OB0,undefined:IB0,union:LB0,unknown:SB0,void:MB0,NEVER:nD0,ZodIssueCode:D0,quotelessJson:fB0,ZodError:w6})});function I0e(){if(!LF&&(LF=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!LF))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return LF(aD0)}var LF,aD0,twe=oe(()=>{u();p();aD0=new Uint8Array(16)});function nwe(t,e=0){return $s[t[e+0]]+$s[t[e+1]]+$s[t[e+2]]+$s[t[e+3]]+"-"+$s[t[e+4]]+$s[t[e+5]]+"-"+$s[t[e+6]]+$s[t[e+7]]+"-"+$s[t[e+8]]+$s[t[e+9]]+"-"+$s[t[e+10]]+$s[t[e+11]]+$s[t[e+12]]+$s[t[e+13]]+$s[t[e+14]]+$s[t[e+15]]}var $s,awe=oe(()=>{u();p();$s=[];for(let t=0;t<256;++t)$s.push((t+256).toString(16).slice(1))});var rD0,C0e,rwe=oe(()=>{u();p();rD0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),C0e={randomUUID:rD0}});function fD0(t,e,n){if(C0e.randomUUID&&!e&&!t)return C0e.randomUUID();t=t||{};let a=t.random||(t.rng||I0e)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return nwe(a)}var Jv,fwe=oe(()=>{u();p();rwe();twe();awe();Jv=fD0});var k0e=oe(()=>{u();p();fwe()});var Va=D((iwe,S0e)=>{u();p();(function(t,e){"use strict";function n(w,b){if(!w)throw new Error(b||"Assertion failed")}function a(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function r(w,b,A){if(r.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||10,A||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Qf().Buffer}catch{}r.isBN=function(b){return b instanceof r?!0:b!==null&&typeof b=="object"&&b.constructor.wordSize===r.wordSize&&Array.isArray(b.words)},r.max=function(b,A){return b.cmp(A)>0?b:A},r.min=function(b,A){return b.cmp(A)<0?b:A},r.prototype._init=function(b,A,P){if(typeof b=="number")return this._initNumber(b,A,P);if(typeof b=="object")return this._initArray(b,A,P);A==="hex"&&(A=16),n(A===(A|0)&&A>=2&&A<=36),b=b.toString().replace(/\s+/g,"");var L=0;b[0]==="-"&&(L++,this.negative=1),L=0;L-=3)g=b[L]|b[L-1]<<8|b[L-2]<<16,this.words[E]|=g<>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);else if(P==="le")for(L=0,E=0;L>>26-B&67108863,B+=24,B>=26&&(B-=26,E++);return this._strip()};function i(w,b){var A=w.charCodeAt(b);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;n(!1,"Invalid character in "+w)}function s(w,b,A){var P=i(w,A);return A-1>=b&&(P|=i(w,A-1)<<4),P}r.prototype._parseHex=function(b,A,P){this.length=Math.ceil((b.length-A)/6),this.words=new Array(this.length);for(var L=0;L=A;L-=2)B=s(b,A,L)<=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8;else{var M=b.length-A;for(L=M%2===0?A+1:A;L=18?(E-=18,g+=1,this.words[g]|=B>>>26):E+=8}this._strip()};function o(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,n(M>=0&&E1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch{r.prototype.inspect=d}else r.prototype.inspect=d;function d(){return(this.red?""}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(b,A){b=b||10,A=A|0||1;var P;if(b===16||b==="hex"){P="";for(var L=0,E=0,g=0;g>>24-L&16777215,L+=2,L>=26&&(L-=26,g--),E!==0||g!==this.length-1?P=l[6-M.length]+M+P:P=M+P}for(E!==0&&(P=E.toString(16)+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}if(b===(b|0)&&b>=2&&b<=36){var S=h[b],q=y[b];P="";var ee=this.clone();for(ee.negative=0;!ee.isZero();){var U=ee.modrn(q).toString(b);ee=ee.idivn(q),ee.isZero()?P=U+P:P=l[S-U.length]+U+P}for(this.isZero()&&(P="0"+P);P.length%A!==0;)P="0"+P;return this.negative!==0&&(P="-"+P),P}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var b=this.words[0];return this.length===2?b+=this.words[1]*67108864:this.length===3&&this.words[2]===1?b+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-b:b},r.prototype.toJSON=function(){return this.toString(16,2)},f&&(r.prototype.toBuffer=function(b,A){return this.toArrayLike(f,b,A)}),r.prototype.toArray=function(b,A){return this.toArrayLike(Array,b,A)};var v=function(b,A){return b.allocUnsafe?b.allocUnsafe(A):new b(A)};r.prototype.toArrayLike=function(b,A,P){this._strip();var L=this.byteLength(),E=P||Math.max(1,L);n(L<=E,"byte array longer than desired length"),n(E>0,"Requested array length <= 0");var g=v(b,E),B=A==="le"?"LE":"BE";return this["_toArrayLike"+B](g,L),g},r.prototype._toArrayLikeLE=function(b,A){for(var P=0,L=0,E=0,g=0;E>8&255),P>16&255),g===6?(P>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P=0&&(b[P--]=B>>8&255),P>=0&&(b[P--]=B>>16&255),g===6?(P>=0&&(b[P--]=B>>24&255),L=0,g=0):(L=B>>>24,g+=2)}if(P>=0)for(b[P--]=L;P>=0;)b[P--]=0},Math.clz32?r.prototype._countBits=function(b){return 32-Math.clz32(b)}:r.prototype._countBits=function(b){var A=b,P=0;return A>=4096&&(P+=13,A>>>=13),A>=64&&(P+=7,A>>>=7),A>=8&&(P+=4,A>>>=4),A>=2&&(P+=2,A>>>=2),P+A},r.prototype._zeroBits=function(b){if(b===0)return 26;var A=b,P=0;return A&8191||(P+=13,A>>>=13),A&127||(P+=7,A>>>=7),A&15||(P+=4,A>>>=4),A&3||(P+=2,A>>>=2),A&1||P++,P},r.prototype.bitLength=function(){var b=this.words[this.length-1],A=this._countBits(b);return(this.length-1)*26+A};function k(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var b=0,A=0;Ab.length?this.clone().ior(b):b.clone().ior(this)},r.prototype.uor=function(b){return this.length>b.length?this.clone().iuor(b):b.clone().iuor(this)},r.prototype.iuand=function(b){var A;this.length>b.length?A=b:A=this;for(var P=0;Pb.length?this.clone().iand(b):b.clone().iand(this)},r.prototype.uand=function(b){return this.length>b.length?this.clone().iuand(b):b.clone().iuand(this)},r.prototype.iuxor=function(b){var A,P;this.length>b.length?(A=this,P=b):(A=b,P=this);for(var L=0;Lb.length?this.clone().ixor(b):b.clone().ixor(this)},r.prototype.uxor=function(b){return this.length>b.length?this.clone().iuxor(b):b.clone().iuxor(this)},r.prototype.inotn=function(b){n(typeof b=="number"&&b>=0);var A=Math.ceil(b/26)|0,P=b%26;this._expand(A),P>0&&A--;for(var L=0;L0&&(this.words[L]=~this.words[L]&67108863>>26-P),this._strip()},r.prototype.notn=function(b){return this.clone().inotn(b)},r.prototype.setn=function(b,A){n(typeof b=="number"&&b>=0);var P=b/26|0,L=b%26;return this._expand(P+1),A?this.words[P]=this.words[P]|1<b.length?(P=this,L=b):(P=b,L=this);for(var E=0,g=0;g>>26;for(;E!==0&&g>>26;if(this.length=P.length,E!==0)this.words[this.length]=E,this.length++;else if(P!==this)for(;gb.length?this.clone().iadd(b):b.clone().iadd(this)},r.prototype.isub=function(b){if(b.negative!==0){b.negative=0;var A=this.iadd(b);return b.negative=1,A._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(b),this.negative=1,this._normSign();var P=this.cmp(b);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,E;P>0?(L=this,E=b):(L=b,E=this);for(var g=0,B=0;B>26,this.words[B]=A&67108863;for(;g!==0&&B>26,this.words[B]=A&67108863;if(g===0&&B>>26,ee=M&67108863,U=Math.min(S,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+ee,q+=g/67108864|0,ee=g&67108863}A.words[S]=ee|0,M=q|0}return M!==0?A.words[S]=M|0:A.length--,A._strip()}var F=function(b,A,P){var L=b.words,E=A.words,g=P.words,B=0,M,S,q,ee=L[0]|0,U=ee&8191,J=ee>>>13,Z=L[1]|0,ne=Z&8191,ue=Z>>>13,Y=L[2]|0,re=Y&8191,ie=Y>>>13,ge=L[3]|0,de=ge&8191,Ae=ge>>>13,Ge=L[4]|0,Be=Ge&8191,c0=Ge>>>13,Ye=L[5]|0,He=Ye&8191,_0=Ye>>>13,L0=L[6]|0,Ze=L0&8191,C0=L0>>>13,pe=L[7]|0,he=pe&8191,Te=pe>>>13,Ie=L[8]|0,Se=Ie&8191,Qe=Ie>>>13,u0=L[9]|0,qe=u0&8191,v0=u0>>>13,w0=E[0]|0,Ve=w0&8191,me=w0>>>13,ye=E[1]|0,_e=ye&8191,ze=ye>>>13,je=E[2]|0,Ue=je&8191,m0=je>>>13,h0=E[3]|0,$e=h0&8191,M0=h0>>>13,P0=E[4]|0,t0=P0&8191,j0=P0>>>13,z0=E[5]|0,Ke=z0&8191,B0=z0>>>13,K0=E[6]|0,s0=K0&8191,J0=K0>>>13,Y0=E[7]|0,l0=Y0&8191,Q0=Y0>>>13,et=E[8]|0,p0=et&8191,Z0=et>>>13,Et=E[9]|0,$0=Et&8191,Tt=Et>>>13;P.negative=b.negative^A.negative,P.length=19,M=Math.imul(U,Ve),S=Math.imul(U,me),S=S+Math.imul(J,Ve)|0,q=Math.imul(J,me);var Pn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,M=Math.imul(ne,Ve),S=Math.imul(ne,me),S=S+Math.imul(ue,Ve)|0,q=Math.imul(ue,me),M=M+Math.imul(U,_e)|0,S=S+Math.imul(U,ze)|0,S=S+Math.imul(J,_e)|0,q=q+Math.imul(J,ze)|0;var Ln=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,M=Math.imul(re,Ve),S=Math.imul(re,me),S=S+Math.imul(ie,Ve)|0,q=Math.imul(ie,me),M=M+Math.imul(ne,_e)|0,S=S+Math.imul(ne,ze)|0,S=S+Math.imul(ue,_e)|0,q=q+Math.imul(ue,ze)|0,M=M+Math.imul(U,Ue)|0,S=S+Math.imul(U,m0)|0,S=S+Math.imul(J,Ue)|0,q=q+Math.imul(J,m0)|0;var Fn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,M=Math.imul(de,Ve),S=Math.imul(de,me),S=S+Math.imul(Ae,Ve)|0,q=Math.imul(Ae,me),M=M+Math.imul(re,_e)|0,S=S+Math.imul(re,ze)|0,S=S+Math.imul(ie,_e)|0,q=q+Math.imul(ie,ze)|0,M=M+Math.imul(ne,Ue)|0,S=S+Math.imul(ne,m0)|0,S=S+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,m0)|0,M=M+Math.imul(U,$e)|0,S=S+Math.imul(U,M0)|0,S=S+Math.imul(J,$e)|0,q=q+Math.imul(J,M0)|0;var Nn=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,M=Math.imul(Be,Ve),S=Math.imul(Be,me),S=S+Math.imul(c0,Ve)|0,q=Math.imul(c0,me),M=M+Math.imul(de,_e)|0,S=S+Math.imul(de,ze)|0,S=S+Math.imul(Ae,_e)|0,q=q+Math.imul(Ae,ze)|0,M=M+Math.imul(re,Ue)|0,S=S+Math.imul(re,m0)|0,S=S+Math.imul(ie,Ue)|0,q=q+Math.imul(ie,m0)|0,M=M+Math.imul(ne,$e)|0,S=S+Math.imul(ne,M0)|0,S=S+Math.imul(ue,$e)|0,q=q+Math.imul(ue,M0)|0,M=M+Math.imul(U,t0)|0,S=S+Math.imul(U,j0)|0,S=S+Math.imul(J,t0)|0,q=q+Math.imul(J,j0)|0;var On=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(On>>>26)|0,On&=67108863,M=Math.imul(He,Ve),S=Math.imul(He,me),S=S+Math.imul(_0,Ve)|0,q=Math.imul(_0,me),M=M+Math.imul(Be,_e)|0,S=S+Math.imul(Be,ze)|0,S=S+Math.imul(c0,_e)|0,q=q+Math.imul(c0,ze)|0,M=M+Math.imul(de,Ue)|0,S=S+Math.imul(de,m0)|0,S=S+Math.imul(Ae,Ue)|0,q=q+Math.imul(Ae,m0)|0,M=M+Math.imul(re,$e)|0,S=S+Math.imul(re,M0)|0,S=S+Math.imul(ie,$e)|0,q=q+Math.imul(ie,M0)|0,M=M+Math.imul(ne,t0)|0,S=S+Math.imul(ne,j0)|0,S=S+Math.imul(ue,t0)|0,q=q+Math.imul(ue,j0)|0,M=M+Math.imul(U,Ke)|0,S=S+Math.imul(U,B0)|0,S=S+Math.imul(J,Ke)|0,q=q+Math.imul(J,B0)|0;var Ha=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,M=Math.imul(Ze,Ve),S=Math.imul(Ze,me),S=S+Math.imul(C0,Ve)|0,q=Math.imul(C0,me),M=M+Math.imul(He,_e)|0,S=S+Math.imul(He,ze)|0,S=S+Math.imul(_0,_e)|0,q=q+Math.imul(_0,ze)|0,M=M+Math.imul(Be,Ue)|0,S=S+Math.imul(Be,m0)|0,S=S+Math.imul(c0,Ue)|0,q=q+Math.imul(c0,m0)|0,M=M+Math.imul(de,$e)|0,S=S+Math.imul(de,M0)|0,S=S+Math.imul(Ae,$e)|0,q=q+Math.imul(Ae,M0)|0,M=M+Math.imul(re,t0)|0,S=S+Math.imul(re,j0)|0,S=S+Math.imul(ie,t0)|0,q=q+Math.imul(ie,j0)|0,M=M+Math.imul(ne,Ke)|0,S=S+Math.imul(ne,B0)|0,S=S+Math.imul(ue,Ke)|0,q=q+Math.imul(ue,B0)|0,M=M+Math.imul(U,s0)|0,S=S+Math.imul(U,J0)|0,S=S+Math.imul(J,s0)|0,q=q+Math.imul(J,J0)|0;var pr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(he,Ve),S=Math.imul(he,me),S=S+Math.imul(Te,Ve)|0,q=Math.imul(Te,me),M=M+Math.imul(Ze,_e)|0,S=S+Math.imul(Ze,ze)|0,S=S+Math.imul(C0,_e)|0,q=q+Math.imul(C0,ze)|0,M=M+Math.imul(He,Ue)|0,S=S+Math.imul(He,m0)|0,S=S+Math.imul(_0,Ue)|0,q=q+Math.imul(_0,m0)|0,M=M+Math.imul(Be,$e)|0,S=S+Math.imul(Be,M0)|0,S=S+Math.imul(c0,$e)|0,q=q+Math.imul(c0,M0)|0,M=M+Math.imul(de,t0)|0,S=S+Math.imul(de,j0)|0,S=S+Math.imul(Ae,t0)|0,q=q+Math.imul(Ae,j0)|0,M=M+Math.imul(re,Ke)|0,S=S+Math.imul(re,B0)|0,S=S+Math.imul(ie,Ke)|0,q=q+Math.imul(ie,B0)|0,M=M+Math.imul(ne,s0)|0,S=S+Math.imul(ne,J0)|0,S=S+Math.imul(ue,s0)|0,q=q+Math.imul(ue,J0)|0,M=M+Math.imul(U,l0)|0,S=S+Math.imul(U,Q0)|0,S=S+Math.imul(J,l0)|0,q=q+Math.imul(J,Q0)|0;var za=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(za>>>26)|0,za&=67108863,M=Math.imul(Se,Ve),S=Math.imul(Se,me),S=S+Math.imul(Qe,Ve)|0,q=Math.imul(Qe,me),M=M+Math.imul(he,_e)|0,S=S+Math.imul(he,ze)|0,S=S+Math.imul(Te,_e)|0,q=q+Math.imul(Te,ze)|0,M=M+Math.imul(Ze,Ue)|0,S=S+Math.imul(Ze,m0)|0,S=S+Math.imul(C0,Ue)|0,q=q+Math.imul(C0,m0)|0,M=M+Math.imul(He,$e)|0,S=S+Math.imul(He,M0)|0,S=S+Math.imul(_0,$e)|0,q=q+Math.imul(_0,M0)|0,M=M+Math.imul(Be,t0)|0,S=S+Math.imul(Be,j0)|0,S=S+Math.imul(c0,t0)|0,q=q+Math.imul(c0,j0)|0,M=M+Math.imul(de,Ke)|0,S=S+Math.imul(de,B0)|0,S=S+Math.imul(Ae,Ke)|0,q=q+Math.imul(Ae,B0)|0,M=M+Math.imul(re,s0)|0,S=S+Math.imul(re,J0)|0,S=S+Math.imul(ie,s0)|0,q=q+Math.imul(ie,J0)|0,M=M+Math.imul(ne,l0)|0,S=S+Math.imul(ne,Q0)|0,S=S+Math.imul(ue,l0)|0,q=q+Math.imul(ue,Q0)|0,M=M+Math.imul(U,p0)|0,S=S+Math.imul(U,Z0)|0,S=S+Math.imul(J,p0)|0,q=q+Math.imul(J,Z0)|0;var hr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(hr>>>26)|0,hr&=67108863,M=Math.imul(qe,Ve),S=Math.imul(qe,me),S=S+Math.imul(v0,Ve)|0,q=Math.imul(v0,me),M=M+Math.imul(Se,_e)|0,S=S+Math.imul(Se,ze)|0,S=S+Math.imul(Qe,_e)|0,q=q+Math.imul(Qe,ze)|0,M=M+Math.imul(he,Ue)|0,S=S+Math.imul(he,m0)|0,S=S+Math.imul(Te,Ue)|0,q=q+Math.imul(Te,m0)|0,M=M+Math.imul(Ze,$e)|0,S=S+Math.imul(Ze,M0)|0,S=S+Math.imul(C0,$e)|0,q=q+Math.imul(C0,M0)|0,M=M+Math.imul(He,t0)|0,S=S+Math.imul(He,j0)|0,S=S+Math.imul(_0,t0)|0,q=q+Math.imul(_0,j0)|0,M=M+Math.imul(Be,Ke)|0,S=S+Math.imul(Be,B0)|0,S=S+Math.imul(c0,Ke)|0,q=q+Math.imul(c0,B0)|0,M=M+Math.imul(de,s0)|0,S=S+Math.imul(de,J0)|0,S=S+Math.imul(Ae,s0)|0,q=q+Math.imul(Ae,J0)|0,M=M+Math.imul(re,l0)|0,S=S+Math.imul(re,Q0)|0,S=S+Math.imul(ie,l0)|0,q=q+Math.imul(ie,Q0)|0,M=M+Math.imul(ne,p0)|0,S=S+Math.imul(ne,Z0)|0,S=S+Math.imul(ue,p0)|0,q=q+Math.imul(ue,Z0)|0,M=M+Math.imul(U,$0)|0,S=S+Math.imul(U,Tt)|0,S=S+Math.imul(J,$0)|0,q=q+Math.imul(J,Tt)|0;var ar=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(qe,_e),S=Math.imul(qe,ze),S=S+Math.imul(v0,_e)|0,q=Math.imul(v0,ze),M=M+Math.imul(Se,Ue)|0,S=S+Math.imul(Se,m0)|0,S=S+Math.imul(Qe,Ue)|0,q=q+Math.imul(Qe,m0)|0,M=M+Math.imul(he,$e)|0,S=S+Math.imul(he,M0)|0,S=S+Math.imul(Te,$e)|0,q=q+Math.imul(Te,M0)|0,M=M+Math.imul(Ze,t0)|0,S=S+Math.imul(Ze,j0)|0,S=S+Math.imul(C0,t0)|0,q=q+Math.imul(C0,j0)|0,M=M+Math.imul(He,Ke)|0,S=S+Math.imul(He,B0)|0,S=S+Math.imul(_0,Ke)|0,q=q+Math.imul(_0,B0)|0,M=M+Math.imul(Be,s0)|0,S=S+Math.imul(Be,J0)|0,S=S+Math.imul(c0,s0)|0,q=q+Math.imul(c0,J0)|0,M=M+Math.imul(de,l0)|0,S=S+Math.imul(de,Q0)|0,S=S+Math.imul(Ae,l0)|0,q=q+Math.imul(Ae,Q0)|0,M=M+Math.imul(re,p0)|0,S=S+Math.imul(re,Z0)|0,S=S+Math.imul(ie,p0)|0,q=q+Math.imul(ie,Z0)|0,M=M+Math.imul(ne,$0)|0,S=S+Math.imul(ne,Tt)|0,S=S+Math.imul(ue,$0)|0,q=q+Math.imul(ue,Tt)|0;var Ir=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,M=Math.imul(qe,Ue),S=Math.imul(qe,m0),S=S+Math.imul(v0,Ue)|0,q=Math.imul(v0,m0),M=M+Math.imul(Se,$e)|0,S=S+Math.imul(Se,M0)|0,S=S+Math.imul(Qe,$e)|0,q=q+Math.imul(Qe,M0)|0,M=M+Math.imul(he,t0)|0,S=S+Math.imul(he,j0)|0,S=S+Math.imul(Te,t0)|0,q=q+Math.imul(Te,j0)|0,M=M+Math.imul(Ze,Ke)|0,S=S+Math.imul(Ze,B0)|0,S=S+Math.imul(C0,Ke)|0,q=q+Math.imul(C0,B0)|0,M=M+Math.imul(He,s0)|0,S=S+Math.imul(He,J0)|0,S=S+Math.imul(_0,s0)|0,q=q+Math.imul(_0,J0)|0,M=M+Math.imul(Be,l0)|0,S=S+Math.imul(Be,Q0)|0,S=S+Math.imul(c0,l0)|0,q=q+Math.imul(c0,Q0)|0,M=M+Math.imul(de,p0)|0,S=S+Math.imul(de,Z0)|0,S=S+Math.imul(Ae,p0)|0,q=q+Math.imul(Ae,Z0)|0,M=M+Math.imul(re,$0)|0,S=S+Math.imul(re,Tt)|0,S=S+Math.imul(ie,$0)|0,q=q+Math.imul(ie,Tt)|0;var Jr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,M=Math.imul(qe,$e),S=Math.imul(qe,M0),S=S+Math.imul(v0,$e)|0,q=Math.imul(v0,M0),M=M+Math.imul(Se,t0)|0,S=S+Math.imul(Se,j0)|0,S=S+Math.imul(Qe,t0)|0,q=q+Math.imul(Qe,j0)|0,M=M+Math.imul(he,Ke)|0,S=S+Math.imul(he,B0)|0,S=S+Math.imul(Te,Ke)|0,q=q+Math.imul(Te,B0)|0,M=M+Math.imul(Ze,s0)|0,S=S+Math.imul(Ze,J0)|0,S=S+Math.imul(C0,s0)|0,q=q+Math.imul(C0,J0)|0,M=M+Math.imul(He,l0)|0,S=S+Math.imul(He,Q0)|0,S=S+Math.imul(_0,l0)|0,q=q+Math.imul(_0,Q0)|0,M=M+Math.imul(Be,p0)|0,S=S+Math.imul(Be,Z0)|0,S=S+Math.imul(c0,p0)|0,q=q+Math.imul(c0,Z0)|0,M=M+Math.imul(de,$0)|0,S=S+Math.imul(de,Tt)|0,S=S+Math.imul(Ae,$0)|0,q=q+Math.imul(Ae,Tt)|0;var rr=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(rr>>>26)|0,rr&=67108863,M=Math.imul(qe,t0),S=Math.imul(qe,j0),S=S+Math.imul(v0,t0)|0,q=Math.imul(v0,j0),M=M+Math.imul(Se,Ke)|0,S=S+Math.imul(Se,B0)|0,S=S+Math.imul(Qe,Ke)|0,q=q+Math.imul(Qe,B0)|0,M=M+Math.imul(he,s0)|0,S=S+Math.imul(he,J0)|0,S=S+Math.imul(Te,s0)|0,q=q+Math.imul(Te,J0)|0,M=M+Math.imul(Ze,l0)|0,S=S+Math.imul(Ze,Q0)|0,S=S+Math.imul(C0,l0)|0,q=q+Math.imul(C0,Q0)|0,M=M+Math.imul(He,p0)|0,S=S+Math.imul(He,Z0)|0,S=S+Math.imul(_0,p0)|0,q=q+Math.imul(_0,Z0)|0,M=M+Math.imul(Be,$0)|0,S=S+Math.imul(Be,Tt)|0,S=S+Math.imul(c0,$0)|0,q=q+Math.imul(c0,Tt)|0;var cf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(cf>>>26)|0,cf&=67108863,M=Math.imul(qe,Ke),S=Math.imul(qe,B0),S=S+Math.imul(v0,Ke)|0,q=Math.imul(v0,B0),M=M+Math.imul(Se,s0)|0,S=S+Math.imul(Se,J0)|0,S=S+Math.imul(Qe,s0)|0,q=q+Math.imul(Qe,J0)|0,M=M+Math.imul(he,l0)|0,S=S+Math.imul(he,Q0)|0,S=S+Math.imul(Te,l0)|0,q=q+Math.imul(Te,Q0)|0,M=M+Math.imul(Ze,p0)|0,S=S+Math.imul(Ze,Z0)|0,S=S+Math.imul(C0,p0)|0,q=q+Math.imul(C0,Z0)|0,M=M+Math.imul(He,$0)|0,S=S+Math.imul(He,Tt)|0,S=S+Math.imul(_0,$0)|0,q=q+Math.imul(_0,Tt)|0;var Gf=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,M=Math.imul(qe,s0),S=Math.imul(qe,J0),S=S+Math.imul(v0,s0)|0,q=Math.imul(v0,J0),M=M+Math.imul(Se,l0)|0,S=S+Math.imul(Se,Q0)|0,S=S+Math.imul(Qe,l0)|0,q=q+Math.imul(Qe,Q0)|0,M=M+Math.imul(he,p0)|0,S=S+Math.imul(he,Z0)|0,S=S+Math.imul(Te,p0)|0,q=q+Math.imul(Te,Z0)|0,M=M+Math.imul(Ze,$0)|0,S=S+Math.imul(Ze,Tt)|0,S=S+Math.imul(C0,$0)|0,q=q+Math.imul(C0,Tt)|0;var Qs=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,M=Math.imul(qe,l0),S=Math.imul(qe,Q0),S=S+Math.imul(v0,l0)|0,q=Math.imul(v0,Q0),M=M+Math.imul(Se,p0)|0,S=S+Math.imul(Se,Z0)|0,S=S+Math.imul(Qe,p0)|0,q=q+Math.imul(Qe,Z0)|0,M=M+Math.imul(he,$0)|0,S=S+Math.imul(he,Tt)|0,S=S+Math.imul(Te,$0)|0,q=q+Math.imul(Te,Tt)|0;var W5=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(W5>>>26)|0,W5&=67108863,M=Math.imul(qe,p0),S=Math.imul(qe,Z0),S=S+Math.imul(v0,p0)|0,q=Math.imul(v0,Z0),M=M+Math.imul(Se,$0)|0,S=S+Math.imul(Se,Tt)|0,S=S+Math.imul(Qe,$0)|0,q=q+Math.imul(Qe,Tt)|0;var q5=(B+M|0)+((S&8191)<<13)|0;B=(q+(S>>>13)|0)+(q5>>>26)|0,q5&=67108863,M=Math.imul(qe,$0),S=Math.imul(qe,Tt),S=S+Math.imul(v0,$0)|0,q=Math.imul(v0,Tt);var ru=(B+M|0)+((S&8191)<<13)|0;return B=(q+(S>>>13)|0)+(ru>>>26)|0,ru&=67108863,g[0]=Pn,g[1]=Ln,g[2]=Fn,g[3]=Nn,g[4]=On,g[5]=Ha,g[6]=pr,g[7]=za,g[8]=hr,g[9]=ar,g[10]=Ir,g[11]=Jr,g[12]=rr,g[13]=cf,g[14]=Gf,g[15]=Qs,g[16]=W5,g[17]=q5,g[18]=ru,B!==0&&(g[19]=B,P.length++),P};Math.imul||(F=O);function z(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function W(w,b,A){return z(w,b,A)}r.prototype.mulTo=function(b,A){var P,L=this.length+b.length;return this.length===10&&b.length===10?P=F(this,b,A):L<63?P=O(this,b,A):L<1024?P=z(this,b,A):P=W(this,b,A),P};function j(w,b){this.x=w,this.y=b}j.prototype.makeRBT=function(b){for(var A=new Array(b),P=r.prototype._countBits(b)-1,L=0;L>=1;return L},j.prototype.permute=function(b,A,P,L,E,g){for(var B=0;B>>1)E++;return 1<>>13,P[2*g+1]=E&8191,E=E>>>13;for(g=2*A;g>=26,P+=E/67108864|0,P+=g>>>26,this.words[L]=g&67108863}return P!==0&&(this.words[L]=P,this.length++),A?this.ineg():this},r.prototype.muln=function(b){return this.clone().imuln(b)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(b){var A=k(b);if(A.length===0)return new r(1);for(var P=this,L=0;L=0);var A=b%26,P=(b-A)/26,L=67108863>>>26-A<<26-A,E;if(A!==0){var g=0;for(E=0;E>>26-A}g&&(this.words[E]=g,this.length++)}if(P!==0){for(E=this.length-1;E>=0;E--)this.words[E+P]=this.words[E];for(E=0;E=0);var L;A?L=(A-A%26)/26:L=0;var E=b%26,g=Math.min((b-E)/26,this.length),B=67108863^67108863>>>E<g)for(this.length-=g,S=0;S=0&&(q!==0||S>=L);S--){var ee=this.words[S]|0;this.words[S]=q<<26-E|ee>>>E,q=ee&B}return M&&q!==0&&(M.words[M.length++]=q),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(b,A,P){return n(this.negative===0),this.iushrn(b,A,P)},r.prototype.shln=function(b){return this.clone().ishln(b)},r.prototype.ushln=function(b){return this.clone().iushln(b)},r.prototype.shrn=function(b){return this.clone().ishrn(b)},r.prototype.ushrn=function(b){return this.clone().iushrn(b)},r.prototype.testn=function(b){n(typeof b=="number"&&b>=0);var A=b%26,P=(b-A)/26,L=1<=0);var A=b%26,P=(b-A)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(A!==0&&P++,this.length=Math.min(P,this.length),A!==0){var L=67108863^67108863>>>A<=67108864;A++)this.words[A]-=67108864,A===this.length-1?this.words[A+1]=1:this.words[A+1]++;return this.length=Math.max(this.length,A+1),this},r.prototype.isubn=function(b){if(n(typeof b=="number"),n(b<67108864),b<0)return this.iaddn(-b);if(this.negative!==0)return this.negative=0,this.iaddn(b),this.negative=1,this;if(this.words[0]-=b,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var A=0;A>26)-(M/67108864|0),this.words[E+P]=g&67108863}for(;E>26,this.words[E+P]=g&67108863;if(B===0)return this._strip();for(n(B===-1),B=0,E=0;E>26,this.words[E]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(b,A){var P=this.length-b.length,L=this.clone(),E=b,g=E.words[E.length-1]|0,B=this._countBits(g);P=26-B,P!==0&&(E=E.ushln(P),L.iushln(P),g=E.words[E.length-1]|0);var M=L.length-E.length,S;if(A!=="mod"){S=new r(null),S.length=M+1,S.words=new Array(S.length);for(var q=0;q=0;U--){var J=(L.words[E.length+U]|0)*67108864+(L.words[E.length+U-1]|0);for(J=Math.min(J/g|0,67108863),L._ishlnsubmul(E,J,U);L.negative!==0;)J--,L.negative=0,L._ishlnsubmul(E,1,U),L.isZero()||(L.negative^=1);S&&(S.words[U]=J)}return S&&S._strip(),L._strip(),A!=="div"&&P!==0&&L.iushrn(P),{div:S||null,mod:L}},r.prototype.divmod=function(b,A,P){if(n(!b.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var L,E,g;return this.negative!==0&&b.negative===0?(g=this.neg().divmod(b,A),A!=="mod"&&(L=g.div.neg()),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.iadd(b)),{div:L,mod:E}):this.negative===0&&b.negative!==0?(g=this.divmod(b.neg(),A),A!=="mod"&&(L=g.div.neg()),{div:L,mod:g.mod}):this.negative&b.negative?(g=this.neg().divmod(b.neg(),A),A!=="div"&&(E=g.mod.neg(),P&&E.negative!==0&&E.isub(b)),{div:g.div,mod:E}):b.length>this.length||this.cmp(b)<0?{div:new r(0),mod:this}:b.length===1?A==="div"?{div:this.divn(b.words[0]),mod:null}:A==="mod"?{div:null,mod:new r(this.modrn(b.words[0]))}:{div:this.divn(b.words[0]),mod:new r(this.modrn(b.words[0]))}:this._wordDiv(b,A)},r.prototype.div=function(b){return this.divmod(b,"div",!1).div},r.prototype.mod=function(b){return this.divmod(b,"mod",!1).mod},r.prototype.umod=function(b){return this.divmod(b,"mod",!0).mod},r.prototype.divRound=function(b){var A=this.divmod(b);if(A.mod.isZero())return A.div;var P=A.div.negative!==0?A.mod.isub(b):A.mod,L=b.ushrn(1),E=b.andln(1),g=P.cmp(L);return g<0||E===1&&g===0?A.div:A.div.negative!==0?A.div.isubn(1):A.div.iaddn(1)},r.prototype.modrn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=(1<<26)%b,L=0,E=this.length-1;E>=0;E--)L=(P*L+(this.words[E]|0))%b;return A?-L:L},r.prototype.modn=function(b){return this.modrn(b)},r.prototype.idivn=function(b){var A=b<0;A&&(b=-b),n(b<=67108863);for(var P=0,L=this.length-1;L>=0;L--){var E=(this.words[L]|0)+P*67108864;this.words[L]=E/b|0,P=E%b}return this._strip(),A?this.ineg():this},r.prototype.divn=function(b){return this.clone().idivn(b)},r.prototype.egcd=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=new r(0),g=new r(0),B=new r(1),M=0;A.isEven()&&P.isEven();)A.iushrn(1),P.iushrn(1),++M;for(var S=P.clone(),q=A.clone();!A.isZero();){for(var ee=0,U=1;!(A.words[0]&U)&&ee<26;++ee,U<<=1);if(ee>0)for(A.iushrn(ee);ee-- >0;)(L.isOdd()||E.isOdd())&&(L.iadd(S),E.isub(q)),L.iushrn(1),E.iushrn(1);for(var J=0,Z=1;!(P.words[0]&Z)&&J<26;++J,Z<<=1);if(J>0)for(P.iushrn(J);J-- >0;)(g.isOdd()||B.isOdd())&&(g.iadd(S),B.isub(q)),g.iushrn(1),B.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(g),E.isub(B)):(P.isub(A),g.isub(L),B.isub(E))}return{a:g,b:B,gcd:P.iushln(M)}},r.prototype._invmp=function(b){n(b.negative===0),n(!b.isZero());var A=this,P=b.clone();A.negative!==0?A=A.umod(b):A=A.clone();for(var L=new r(1),E=new r(0),g=P.clone();A.cmpn(1)>0&&P.cmpn(1)>0;){for(var B=0,M=1;!(A.words[0]&M)&&B<26;++B,M<<=1);if(B>0)for(A.iushrn(B);B-- >0;)L.isOdd()&&L.iadd(g),L.iushrn(1);for(var S=0,q=1;!(P.words[0]&q)&&S<26;++S,q<<=1);if(S>0)for(P.iushrn(S);S-- >0;)E.isOdd()&&E.iadd(g),E.iushrn(1);A.cmp(P)>=0?(A.isub(P),L.isub(E)):(P.isub(A),E.isub(L))}var ee;return A.cmpn(1)===0?ee=L:ee=E,ee.cmpn(0)<0&&ee.iadd(b),ee},r.prototype.gcd=function(b){if(this.isZero())return b.abs();if(b.isZero())return this.abs();var A=this.clone(),P=b.clone();A.negative=0,P.negative=0;for(var L=0;A.isEven()&&P.isEven();L++)A.iushrn(1),P.iushrn(1);do{for(;A.isEven();)A.iushrn(1);for(;P.isEven();)P.iushrn(1);var E=A.cmp(P);if(E<0){var g=A;A=P,P=g}else if(E===0||P.cmpn(1)===0)break;A.isub(P)}while(!0);return P.iushln(L)},r.prototype.invm=function(b){return this.egcd(b).a.umod(b)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(b){return this.words[0]&b},r.prototype.bincn=function(b){n(typeof b=="number");var A=b%26,P=(b-A)/26,L=1<>>26,B&=67108863,this.words[g]=B}return E!==0&&(this.words[g]=E,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(b){var A=b<0;if(this.negative!==0&&!A)return-1;if(this.negative===0&&A)return 1;this._strip();var P;if(this.length>1)P=1;else{A&&(b=-b),n(b<=67108863,"Number is too big");var L=this.words[0]|0;P=L===b?0:Lb.length)return 1;if(this.length=0;P--){var L=this.words[P]|0,E=b.words[P]|0;if(L!==E){LE&&(A=1);break}}return A},r.prototype.gtn=function(b){return this.cmpn(b)===1},r.prototype.gt=function(b){return this.cmp(b)===1},r.prototype.gten=function(b){return this.cmpn(b)>=0},r.prototype.gte=function(b){return this.cmp(b)>=0},r.prototype.ltn=function(b){return this.cmpn(b)===-1},r.prototype.lt=function(b){return this.cmp(b)===-1},r.prototype.lten=function(b){return this.cmpn(b)<=0},r.prototype.lte=function(b){return this.cmp(b)<=0},r.prototype.eqn=function(b){return this.cmpn(b)===0},r.prototype.eq=function(b){return this.cmp(b)===0},r.red=function(b){return new T(b)},r.prototype.toRed=function(b){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),b.convertTo(this)._forceRed(b)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(b){return this.red=b,this},r.prototype.forceRed=function(b){return n(!this.red,"Already a number in reduction context"),this._forceRed(b)},r.prototype.redAdd=function(b){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,b)},r.prototype.redIAdd=function(b){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,b)},r.prototype.redSub=function(b){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,b)},r.prototype.redISub=function(b){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,b)},r.prototype.redShl=function(b){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,b)},r.prototype.redMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.mul(this,b)},r.prototype.redIMul=function(b){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.imul(this,b)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(b){return n(this.red&&!b.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,b)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,b){this.name=w,this.p=new r(b,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var b=new r(null);return b.words=new Array(Math.ceil(this.n/13)),b},V.prototype.ireduce=function(b){var A=b,P;do this.split(A,this.tmp),A=this.imulK(A),A=A.iadd(this.tmp),P=A.bitLength();while(P>this.n);var L=P0?A.isub(this.p):A.strip!==void 0?A.strip():A._strip(),A},V.prototype.split=function(b,A){b.iushrn(this.n,0,A)},V.prototype.imulK=function(b){return b.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(X,V),X.prototype.split=function(b,A){for(var P=4194303,L=Math.min(b.length,9),E=0;E>>22,g=B}g>>>=22,b.words[E-10]=g,g===0&&b.length>10?b.length-=10:b.length-=9},X.prototype.imulK=function(b){b.words[b.length]=0,b.words[b.length+1]=0,b.length+=2;for(var A=0,P=0;P>>=26,b.words[P]=E,A=L}return A!==0&&(b.words[b.length++]=A),b},r._prime=function(b){if(Q[b])return Q[b];var A;if(b==="k256")A=new X;else if(b==="p224")A=new K;else if(b==="p192")A=new G;else if(b==="p25519")A=new R;else throw new Error("Unknown prime "+b);return Q[b]=A,A};function T(w){if(typeof w=="string"){var b=r._prime(w);this.m=b.p,this.prime=b}else n(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(b){n(b.negative===0,"red works only with positives"),n(b.red,"red works only with red numbers")},T.prototype._verify2=function(b,A){n((b.negative|A.negative)===0,"red works only with positives"),n(b.red&&b.red===A.red,"red works only with red numbers")},T.prototype.imod=function(b){return this.prime?this.prime.ireduce(b)._forceRed(this):(c(b,b.umod(this.m)._forceRed(this)),b)},T.prototype.neg=function(b){return b.isZero()?b.clone():this.m.sub(b)._forceRed(this)},T.prototype.add=function(b,A){this._verify2(b,A);var P=b.add(A);return P.cmp(this.m)>=0&&P.isub(this.m),P._forceRed(this)},T.prototype.iadd=function(b,A){this._verify2(b,A);var P=b.iadd(A);return P.cmp(this.m)>=0&&P.isub(this.m),P},T.prototype.sub=function(b,A){this._verify2(b,A);var P=b.sub(A);return P.cmpn(0)<0&&P.iadd(this.m),P._forceRed(this)},T.prototype.isub=function(b,A){this._verify2(b,A);var P=b.isub(A);return P.cmpn(0)<0&&P.iadd(this.m),P},T.prototype.shl=function(b,A){return this._verify1(b),this.imod(b.ushln(A))},T.prototype.imul=function(b,A){return this._verify2(b,A),this.imod(b.imul(A))},T.prototype.mul=function(b,A){return this._verify2(b,A),this.imod(b.mul(A))},T.prototype.isqr=function(b){return this.imul(b,b.clone())},T.prototype.sqr=function(b){return this.mul(b,b)},T.prototype.sqrt=function(b){if(b.isZero())return b.clone();var A=this.m.andln(3);if(n(A%2===1),A===3){var P=this.m.add(new r(1)).iushrn(2);return this.pow(b,P)}for(var L=this.m.subn(1),E=0;!L.isZero()&&L.andln(1)===0;)E++,L.iushrn(1);n(!L.isZero());var g=new r(1).toRed(this),B=g.redNeg(),M=this.m.subn(1).iushrn(1),S=this.m.bitLength();for(S=new r(2*S*S).toRed(this);this.pow(S,M).cmp(B)!==0;)S.redIAdd(B);for(var q=this.pow(S,L),ee=this.pow(b,L.addn(1).iushrn(1)),U=this.pow(b,L),J=E;U.cmp(g)!==0;){for(var Z=U,ne=0;Z.cmp(g)!==0;ne++)Z=Z.redSqr();n(ne=0;E--){for(var q=A.words[E],ee=S-1;ee>=0;ee--){var U=q>>ee&1;if(g!==L[0]&&(g=this.sqr(g)),U===0&&B===0){M=0;continue}B<<=1,B|=U,M++,!(M!==P&&(E!==0||ee!==0))&&(g=this.mul(g,L[B]),M=0,B=0)}S=26}return g},T.prototype.convertTo=function(b){var A=b.umod(this.m);return A===b?A.clone():A},T.prototype.convertFrom=function(b){var A=b.clone();return A.red=null,A},r.mont=function(b){return new N(b)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(N,T),N.prototype.convertTo=function(b){return this.imod(b.ushln(this.shift))},N.prototype.convertFrom=function(b){var A=this.imod(b.mul(this.rinv));return A.red=null,A},N.prototype.imul=function(b,A){if(b.isZero()||A.isZero())return b.words[0]=0,b.length=1,b;var P=b.imul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.mul=function(b,A){if(b.isZero()||A.isZero())return new r(0)._forceRed(this);var P=b.mul(A),L=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=P.isub(L).iushrn(this.shift),g=E;return E.cmp(this.m)>=0?g=E.isub(this.m):E.cmpn(0)<0&&(g=E.iadd(this.m)),g._forceRed(this)},N.prototype.invm=function(b){var A=this.imod(b._invmp(this.m).mul(this.r2));return A._forceRed(this)}})(typeof S0e>"u"||S0e,iwe)});var swe=D(FF=>{"use strict";u();p();Object.defineProperty(FF,"__esModule",{value:!0});FF.version=void 0;FF.version="logger/5.7.0"});var Ft=D(hu=>{"use strict";u();p();Object.defineProperty(hu,"__esModule",{value:!0});hu.Logger=hu.ErrorCode=hu.LogLevel=void 0;var owe=!1,cwe=!1,NF={debug:1,default:2,info:2,warning:3,error:4,off:5},dwe=NF.default,iD0=swe(),R0e=null;function sD0(){try{var t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(e){return e.message}return null}var lwe=sD0(),pwe;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(pwe=hu.LogLevel||(hu.LogLevel={}));var pu;(function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"})(pu=hu.ErrorCode||(hu.ErrorCode={}));var uwe="0123456789abcdef",oD0=function(){function t(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return t.prototype._log=function(e,n){var a=e.toLowerCase();NF[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(dwe>NF[a])&&console.log.apply(console,n)},t.prototype.debug=function(){for(var e=[],n=0;n>4],l+=uwe[d[h]&15];r.push(c+"=Uint8Array(0x"+l+")")}else r.push(c+"="+JSON.stringify(d))}catch{r.push(c+"="+JSON.stringify(a[c].toString()))}}),r.push("code="+n),r.push("version="+this.version);var f=e,i="";switch(n){case pu.NUMERIC_FAULT:{i="NUMERIC_FAULT";var s=e;switch(s){case"overflow":case"underflow":case"division-by-zero":i+="-"+s;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case pu.CALL_EXCEPTION:case pu.INSUFFICIENT_FUNDS:case pu.MISSING_NEW:case pu.NONCE_EXPIRED:case pu.REPLACEMENT_UNDERPRICED:case pu.TRANSACTION_REPLACED:case pu.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");var o=new Error(e);return o.reason=f,o.code=n,Object.keys(a).forEach(function(c){o[c]=a[c]}),o},t.prototype.throwError=function(e,n,a){throw this.makeError(e,n,a)},t.prototype.throwArgumentError=function(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})},t.prototype.assert=function(e,n,a,r){e||this.throwError(n,a,r)},t.prototype.assertArgument=function(e,n,a,r){e||this.throwArgumentError(n,a,r)},t.prototype.checkNormalize=function(e){e==null&&(e="platform missing String.prototype.normalize"),lwe&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:lwe})},t.prototype.checkSafeUint53=function(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))},t.prototype.checkArgumentCount=function(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})},t.prototype.checkNew=function(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.prototype.checkAbstract=function(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})},t.globalLogger=function(){return R0e||(R0e=new t(iD0.version)),R0e},t.setCensorship=function(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),owe){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}cwe=!!e,owe=!!n},t.setLogLevel=function(e){var n=NF[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}dwe=n},t.from=function(e){return new t(e)},t.errors=pu,t.levels=pwe,t}();hu.Logger=oD0});var hwe=D(OF=>{"use strict";u();p();Object.defineProperty(OF,"__esModule",{value:!0});OF.version=void 0;OF.version="bytes/5.7.0"});var Vt=D(ga=>{"use strict";u();p();Object.defineProperty(ga,"__esModule",{value:!0});ga.joinSignature=ga.splitSignature=ga.hexZeroPad=ga.hexStripZeros=ga.hexValue=ga.hexConcat=ga.hexDataSlice=ga.hexDataLength=ga.hexlify=ga.isHexString=ga.zeroPad=ga.stripZeros=ga.concat=ga.arrayify=ga.isBytes=ga.isBytesLike=void 0;var cD0=Ft(),dD0=hwe(),Vf=new cD0.Logger(dD0.version);function bwe(t){return!!t.toHexString}function Xv(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return Xv(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function ywe(t){return X5(t)&&!(t.length%2)||HF(t)}ga.isBytesLike=ywe;function mwe(t){return typeof t=="number"&&t==t&&t%1===0}function HF(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!mwe(t.length)||t.length<0)return!1;for(var e=0;e=256)return!1}return!0}ga.isBytes=HF;function xy(t,e){if(e||(e={}),typeof t=="number"){Vf.checkSafeUint53(t,"invalid arrayify value");for(var n=[];t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),Xv(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),bwe(t)&&(t=t.toHexString()),X5(t)){var a=t.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Vf.throwArgumentError("hex data is odd-length","value",t));for(var n=[],r=0;re&&Vf.throwArgumentError("value out of range","value",arguments[0]);var n=new Uint8Array(e);return n.set(t,e-t.length),Xv(n)}ga.zeroPad=vwe;function X5(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}ga.isHexString=X5;var M0e="0123456789abcdef";function Bo(t,e){if(e||(e={}),typeof t=="number"){Vf.checkSafeUint53(t,"invalid hexlify value");for(var n="";t;)n=M0e[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),bwe(t))return t.toHexString();if(X5(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Vf.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(HF(t)){for(var a="0x",r=0;r>4]+M0e[f&15]}return a}return Vf.throwArgumentError("invalid hexlify value","value",t)}ga.hexlify=Bo;function uD0(t){if(typeof t!="string")t=Bo(t);else if(!X5(t)||t.length%2)return null;return(t.length-2)/2}ga.hexDataLength=uD0;function pD0(t,e,n){return typeof t!="string"?t=Bo(t):(!X5(t)||t.length%2)&&Vf.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}ga.hexDataSlice=pD0;function hD0(t){var e="0x";return t.forEach(function(n){e+=Bo(n).substring(2)}),e}ga.hexConcat=hD0;function mD0(t){var e=wwe(Bo(t,{hexPad:"left"}));return e==="0x"?"0x0":e}ga.hexValue=mD0;function wwe(t){typeof t!="string"&&(t=Bo(t)),X5(t)||Vf.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e2*e+2&&Vf.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}ga.hexZeroPad=UF;function Twe(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(ywe(t)){var n=xy(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64))):n.length===65?(e.r=Bo(n.slice(0,32)),e.s=Bo(n.slice(32,64)),e.v=n[64]):Vf.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Vf.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Bo(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){var a=vwe(xy(e._vs),32);e._vs=Bo(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Vf.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),a[0]&=127;var f=Bo(a);e.s==null?e.s=f:e.s!==f&&Vf.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Vf.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{var i=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==i&&Vf.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!X5(e.r)?Vf.throwArgumentError("signature missing or invalid r","signature",t):e.r=UF(e.r,32),e.s==null||!X5(e.s)?Vf.throwArgumentError("signature missing or invalid s","signature",t):e.s=UF(e.s,32);var s=xy(e.s);s[0]>=128&&Vf.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(s[0]|=128);var o=Bo(s);e._vs&&(X5(e._vs)||Vf.throwArgumentError("signature invalid _vs","signature",t),e._vs=UF(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Vf.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}ga.splitSignature=Twe;function bD0(t){return t=Twe(t),Bo(gwe([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}ga.joinSignature=bD0});var B0e=D(zF=>{"use strict";u();p();Object.defineProperty(zF,"__esModule",{value:!0});zF.version=void 0;zF.version="bignumber/5.7.0"});var qF=D(gd=>{"use strict";u();p();var yD0=gd&&gd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gd,"__esModule",{value:!0});gd._base16To36=gd._base36To16=gd.BigNumber=gd.isBigNumberish=void 0;var gD0=yD0(Va()),dC=gD0.default.BN,Zv=Vt(),ew=Ft(),vD0=B0e(),e8=new ew.Logger(vD0.version),D0e={},xwe=9007199254740991;function wD0(t){return t!=null&&(WF.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||(0,Zv.isHexString)(t)||typeof t=="bigint"||(0,Zv.isBytes)(t))}gd.isBigNumberish=wD0;var Ewe=!1,WF=function(){function t(e,n){e!==D0e&&e8.throwError("cannot call constructor directly; use BigNumber.from",ew.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}return t.prototype.fromTwos=function(e){return Rc(Xn(this).fromTwos(e))},t.prototype.toTwos=function(e){return Rc(Xn(this).toTwos(e))},t.prototype.abs=function(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this},t.prototype.add=function(e){return Rc(Xn(this).add(Xn(e)))},t.prototype.sub=function(e){return Rc(Xn(this).sub(Xn(e)))},t.prototype.div=function(e){var n=t.from(e);return n.isZero()&&yd("division-by-zero","div"),Rc(Xn(this).div(Xn(e)))},t.prototype.mul=function(e){return Rc(Xn(this).mul(Xn(e)))},t.prototype.mod=function(e){var n=Xn(e);return n.isNeg()&&yd("division-by-zero","mod"),Rc(Xn(this).umod(n))},t.prototype.pow=function(e){var n=Xn(e);return n.isNeg()&&yd("negative-power","pow"),Rc(Xn(this).pow(n))},t.prototype.and=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&yd("unbound-bitwise-result","and"),Rc(Xn(this).and(n))},t.prototype.or=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&yd("unbound-bitwise-result","or"),Rc(Xn(this).or(n))},t.prototype.xor=function(e){var n=Xn(e);return(this.isNegative()||n.isNeg())&&yd("unbound-bitwise-result","xor"),Rc(Xn(this).xor(n))},t.prototype.mask=function(e){return(this.isNegative()||e<0)&&yd("negative-width","mask"),Rc(Xn(this).maskn(e))},t.prototype.shl=function(e){return(this.isNegative()||e<0)&&yd("negative-width","shl"),Rc(Xn(this).shln(e))},t.prototype.shr=function(e){return(this.isNegative()||e<0)&&yd("negative-width","shr"),Rc(Xn(this).shrn(e))},t.prototype.eq=function(e){return Xn(this).eq(Xn(e))},t.prototype.lt=function(e){return Xn(this).lt(Xn(e))},t.prototype.lte=function(e){return Xn(this).lte(Xn(e))},t.prototype.gt=function(e){return Xn(this).gt(Xn(e))},t.prototype.gte=function(e){return Xn(this).gte(Xn(e))},t.prototype.isNegative=function(){return this._hex[0]==="-"},t.prototype.isZero=function(){return Xn(this).isZero()},t.prototype.toNumber=function(){try{return Xn(this).toNumber()}catch{yd("overflow","toNumber",this.toString())}return null},t.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return e8.throwError("this platform does not support BigInt",ew.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},t.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?Ewe||(Ewe=!0,e8.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?e8.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",ew.Logger.errors.UNEXPECTED_ARGUMENT,{}):e8.throwError("BigNumber.toString does not accept parameters",ew.Logger.errors.UNEXPECTED_ARGUMENT,{})),Xn(this).toString(10)},t.prototype.toHexString=function(){return this._hex},t.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},t.from=function(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(D0e,lC(e)):e.match(/^-?[0-9]+$/)?new t(D0e,lC(new dC(e))):e8.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&yd("underflow","BigNumber.from",e),(e>=xwe||e<=-xwe)&&yd("overflow","BigNumber.from",e),t.from(String(e));var n=e;if(typeof n=="bigint")return t.from(n.toString());if((0,Zv.isBytes)(n))return t.from((0,Zv.hexlify)(n));if(n)if(n.toHexString){var a=n.toHexString();if(typeof a=="string")return t.from(a)}else{var a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&((0,Zv.isHexString)(a)||a[0]==="-"&&(0,Zv.isHexString)(a.substring(1))))return t.from(a)}return e8.throwArgumentError("invalid BigNumber value","value",e)},t.isBigNumber=function(e){return!!(e&&e._isBigNumber)},t}();gd.BigNumber=WF;function lC(t){if(typeof t!="string")return lC(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&e8.throwArgumentError("invalid hex","value",t),t=lC(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function Rc(t){return WF.from(lC(t))}function Xn(t){var e=WF.from(t).toHexString();return e[0]==="-"?new dC("-"+e.substring(3),16):new dC(e.substring(2),16)}function yd(t,e,n){var a={fault:t,operation:e};return n!=null&&(a.value=n),e8.throwError(t,ew.Logger.errors.NUMERIC_FAULT,a)}function TD0(t){return new dC(t,36).toString(16)}gd._base36To16=TD0;function xD0(t){return new dC(t,16).toString(36)}gd._base16To36=xD0});var kwe=D(bu=>{"use strict";u();p();Object.defineProperty(bu,"__esModule",{value:!0});bu.FixedNumber=bu.FixedFormat=bu.parseFixed=bu.formatFixed=void 0;var jF=Vt(),hC=Ft(),ED0=B0e(),U1=new hC.Logger(ED0.version),t8=qF(),uC={},Awe=t8.BigNumber.from(0),Iwe=t8.BigNumber.from(-1);function Cwe(t,e,n,a){var r={fault:e,operation:n};return a!==void 0&&(r.value=a),U1.throwError(t,hC.Logger.errors.NUMERIC_FAULT,r)}var pC="0";for(;pC.length<256;)pC+=pC;function P0e(t){if(typeof t!="number")try{t=t8.BigNumber.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+pC.substring(0,t):U1.throwArgumentError("invalid decimal size","decimals",t)}function GF(t,e){e==null&&(e=0);var n=P0e(e);t=t8.BigNumber.from(t);var a=t.lt(Awe);a&&(t=t.mul(Iwe));for(var r=t.mod(n).toString();r.length2&&U1.throwArgumentError("too many decimal points","value",t);var f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&Cwe("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length80&&U1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(uC,n,a,r)},t}();bu.FixedFormat=KF;var L0e=function(){function t(e,n,a,r){e!==uC&&U1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",hC.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}return t.prototype._checkFormat=function(e){this.format.name!==e.format.name&&U1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},t.prototype.addUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)},t.prototype.subUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)},t.prototype.mulUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)},t.prototype.divUnsafe=function(e){this._checkFormat(e);var n=mu(this._value,this.format.decimals),a=mu(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)},t.prototype.floor=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(_we.toFormat(n.format))),n},t.prototype.ceiling=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(_we.toFormat(n.format))),n},t.prototype.round=function(e){e==null&&(e=0);var n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&U1.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;var a=t.from("1"+pC.substring(0,e),this.format),r=_D0.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)},t.prototype.isZero=function(){return this._value==="0.0"||this._value==="0"},t.prototype.isNegative=function(){return this._value[0]==="-"},t.prototype.toString=function(){return this._value},t.prototype.toHexString=function(e){if(e==null)return this._hex;e%8&&U1.throwArgumentError("invalid byte width","width",e);var n=t8.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,jF.hexZeroPad)(n,e/8)},t.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},t.prototype.toFormat=function(e){return t.fromString(this._value,e)},t.fromValue=function(e,n,a){return a==null&&n!=null&&!(0,t8.isBigNumberish)(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(GF(e,n),KF.from(a))},t.fromString=function(e,n){n==null&&(n="fixed");var a=KF.from(n),r=mu(e,a.decimals);!a.signed&&r.lt(Awe)&&Cwe("unsigned value cannot be negative","overflow","value",e);var f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=(0,jF.hexZeroPad)(f,a.width/8));var i=GF(r,a.decimals);return new t(uC,f,i,a)},t.fromBytes=function(e,n){n==null&&(n="fixed");var a=KF.from(n);if((0,jF.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=t8.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=GF(r,a.decimals);return new t(uC,f,i,a)},t.from=function(e,n){if(typeof e=="string")return t.fromString(e,n);if((0,jF.isBytes)(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==hC.Logger.errors.INVALID_ARGUMENT)throw a}return U1.throwArgumentError("invalid FixedNumber value","value",e)},t.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},t}();bu.FixedNumber=L0e;var _we=L0e.from(1),_D0=L0e.from("0.5")});var ia=D(Do=>{"use strict";u();p();Object.defineProperty(Do,"__esModule",{value:!0});Do._base36To16=Do._base16To36=Do.parseFixed=Do.FixedNumber=Do.FixedFormat=Do.formatFixed=Do.BigNumber=void 0;var AD0=qF();Object.defineProperty(Do,"BigNumber",{enumerable:!0,get:function(){return AD0.BigNumber}});var QF=kwe();Object.defineProperty(Do,"formatFixed",{enumerable:!0,get:function(){return QF.formatFixed}});Object.defineProperty(Do,"FixedFormat",{enumerable:!0,get:function(){return QF.FixedFormat}});Object.defineProperty(Do,"FixedNumber",{enumerable:!0,get:function(){return QF.FixedNumber}});Object.defineProperty(Do,"parseFixed",{enumerable:!0,get:function(){return QF.parseFixed}});var Swe=qF();Object.defineProperty(Do,"_base16To36",{enumerable:!0,get:function(){return Swe._base16To36}});Object.defineProperty(Do,"_base36To16",{enumerable:!0,get:function(){return Swe._base36To16}})});var Rwe=D(VF=>{"use strict";u();p();Object.defineProperty(VF,"__esModule",{value:!0});VF.version=void 0;VF.version="properties/5.7.0"});var Ba=D(_i=>{"use strict";u();p();var ID0=_i&&_i.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},CD0=_i&&_i.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(JF,"__esModule",{value:!0});JF.version=void 0;JF.version="abi/5.7.0"});var rN=D(Ut=>{"use strict";u();p();var tN=Ut&&Ut.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.ErrorFragment=Ut.FunctionFragment=Ut.ConstructorFragment=Ut.EventFragment=Ut.Fragment=Ut.ParamType=Ut.FormatTypes=void 0;var U0e=ia(),ND0=Ba(),nN=Ft(),OD0=tw(),sa=new nN.Logger(OD0.version),Ey={},Dwe={calldata:!0,memory:!0,storage:!0},UD0={calldata:!0,memory:!0};function XF(t,e){if(t==="bytes"||t==="string"){if(Dwe[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&UD0[e])return!0;return(Dwe[e]||e==="payable")&&sa.throwArgumentError("invalid modifier","name",e),!1}function HD0(t,e){var n=t;function a(l){sa.throwArgumentError("unexpected character at position "+l,"param",t)}t=t.replace(/\s/g," ");function r(l){var h={type:"",name:"",parent:l,state:{allowType:!0}};return e&&(h.indexed=!1),h}for(var f={type:"",name:"",state:{allowType:!0}},i=f,s=0;s2&&sa.throwArgumentError("invalid human-readable ABI signature","value",t),n[1].match(/^[0-9]+$/)||sa.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=U0e.BigNumber.from(n[1]),n[0]):t}function Fwe(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach(function(n){switch(n.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+n)}})}function Nwe(t){var e={constant:!1,payable:!0,stateMutability:"payable"};return t.stateMutability!=null?(e.stateMutability=t.stateMutability,e.constant=e.stateMutability==="view"||e.stateMutability==="pure",t.constant!=null&&!!t.constant!==e.constant&&sa.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable=e.stateMutability==="payable",t.payable!=null&&!!t.payable!==e.payable&&sa.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):t.payable!=null?(e.payable=!!t.payable,t.constant==null&&!e.payable&&t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&sa.throwArgumentError("cannot have constant payable function","value",t)):t.constant!=null?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):t.type!=="constructor"&&sa.throwArgumentError("unable to determine stateMutability","value",t),e}var eN=function(t){tN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});n===Ut.FormatTypes.sighash&&sa.throwError("cannot format a constructor for sighash",nN.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var a="constructor("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isConstructorFragment(n))return n;n.type!=="constructor"&&sa.throwArgumentError("invalid constructor object","value",n);var a=Nwe(n);a.constant&&sa.throwArgumentError("constructor cannot be constant","value",n);var r={name:null,type:n.type,inputs:n.inputs?n.inputs.map(_y.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?U0e.BigNumber.from(n.gas):null};return new e(Ey,r)},e.fromString=function(n){var a={type:"constructor"};n=Lwe(n,a);var r=n.match(yC);return(!r||r[1].trim()!=="constructor")&&sa.throwArgumentError("invalid constructor string","value",n),a.inputs=mC(r[2].trim(),!1),Fwe(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(n){return n&&n._isFragment&&n.type==="constructor"},e}(aN);Ut.ConstructorFragment=eN;var N0e=function(t){tN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))}),outputs:this.outputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="function "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",n!==Ut.FormatTypes.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "):this.constant&&(a+="view "),this.outputs&&this.outputs.length&&(a+="returns ("+this.outputs.map(function(r){return r.format(n)}).join(", ")+") "),this.gas!=null&&(a+="@"+this.gas.toString()+" ")),a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isFunctionFragment(n))return n;n.type!=="function"&&sa.throwArgumentError("invalid function object","value",n);var a=Nwe(n),r={type:n.type,name:bC(n.name),constant:a.constant,inputs:n.inputs?n.inputs.map(_y.fromObject):[],outputs:n.outputs?n.outputs.map(_y.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:n.gas?U0e.BigNumber.from(n.gas):null};return new e(Ey,r)},e.fromString=function(n){var a={type:"function"};n=Lwe(n,a);var r=n.split(" returns ");r.length>2&&sa.throwArgumentError("invalid function string","value",n);var f=r[0].match(yC);if(f||sa.throwArgumentError("invalid function signature","value",n),a.name=f[1].trim(),a.name&&bC(a.name),a.inputs=mC(f[2],!1),Fwe(f[3].trim(),a),r.length>1){var i=r[1].match(yC);(i[1].trim()!=""||i[3].trim()!="")&&sa.throwArgumentError("unexpected tokens","value",n),a.outputs=mC(i[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(n){return n&&n._isFragment&&n.type==="function"},e}(eN);Ut.FunctionFragment=N0e;function Pwe(t){var e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&sa.throwArgumentError("cannot specify user defined "+e+" error","fragment",t),t}var O0e=function(t){tN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.format=function(n){if(n||(n=Ut.FormatTypes.sighash),Ut.FormatTypes[n]||sa.throwArgumentError("invalid format type","format",n),n===Ut.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(function(r){return JSON.parse(r.format(n))})});var a="";return n!==Ut.FormatTypes.sighash&&(a+="error "),a+=this.name+"("+this.inputs.map(function(r){return r.format(n)}).join(n===Ut.FormatTypes.full?", ":",")+") ",a.trim()},e.from=function(n){return typeof n=="string"?e.fromString(n):e.fromObject(n)},e.fromObject=function(n){if(e.isErrorFragment(n))return n;n.type!=="error"&&sa.throwArgumentError("invalid error object","value",n);var a={type:n.type,name:bC(n.name),inputs:n.inputs?n.inputs.map(_y.fromObject):[]};return Pwe(new e(Ey,a))},e.fromString=function(n){var a={type:"error"},r=n.match(yC);return r||sa.throwArgumentError("invalid error signature","value",n),a.name=r[1].trim(),a.name&&bC(a.name),a.inputs=mC(r[2],!1),Pwe(e.fromObject(a))},e.isErrorFragment=function(n){return n&&n._isFragment&&n.type==="error"},e}(aN);Ut.ErrorFragment=O0e;function nw(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}var WD0=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function bC(t){return(!t||!t.match(WD0))&&sa.throwArgumentError('invalid identifier "'+t+'"',"value",t),t}var yC=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function qD0(t){t=t.trim();for(var e=[],n="",a=0,r=0;r{"use strict";u();p();Object.defineProperty(yu,"__esModule",{value:!0});yu.Reader=yu.Writer=yu.Coder=yu.checkResultErrors=void 0;var v3=Vt(),Owe=ia(),gC=Ba(),H0e=Ft(),jD0=tw(),z0e=new H0e.Logger(jD0.version);function GD0(t){var e=[],n=function(a,r){if(Array.isArray(r))for(var f in r){var i=a.slice();i.push(f);try{n(i,r[f])}catch(s){e.push({path:i,error:s})}}};return n([],t),e}yu.checkResultErrors=GD0;var KD0=function(){function t(e,n,a,r){this.name=e,this.type=n,this.localName=a,this.dynamic=r}return t.prototype._throwError=function(e,n){z0e.throwArgumentError(e,this.localName,n)},t}();yu.Coder=KD0;var QD0=function(){function t(e){(0,gC.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,v3.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),t.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},t.prototype.appendWriter=function(e){return this._writeData((0,v3.concat)(e._data))},t.prototype.writeBytes=function(e){var n=(0,v3.arrayify)(e),a=n.length%this.wordSize;return a&&(n=(0,v3.concat)([n,this._padding.slice(a)])),this._writeData(n)},t.prototype._getValue=function(e){var n=(0,v3.arrayify)(Owe.BigNumber.from(e));return n.length>this.wordSize&&z0e.throwError("value out-of-bounds",H0e.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:n.length}),n.length%this.wordSize&&(n=(0,v3.concat)([this._padding.slice(n.length%this.wordSize),n])),n},t.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},t.prototype.writeUpdatableValue=function(){var e=this,n=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(a){e._data[n]=e._getValue(a)}},t}();yu.Writer=QD0;var VD0=function(){function t(e,n,a,r){(0,gC.defineReadOnly)(this,"_data",(0,v3.arrayify)(e)),(0,gC.defineReadOnly)(this,"wordSize",n||32),(0,gC.defineReadOnly)(this,"_coerceFunc",a),(0,gC.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(t.prototype,"data",{get:function(){return(0,v3.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),t.coerce=function(e,n){var a=e.match("^u?int([0-9]+)$");return a&&parseInt(a[1])<=48&&(n=n.toNumber()),n},t.prototype.coerce=function(e,n){return this._coerceFunc?this._coerceFunc(e,n):t.coerce(e,n)},t.prototype._peekBytes=function(e,n,a){var r=Math.ceil(n/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&a&&this._offset+n<=this._data.length?r=n:z0e.throwError("data out-of-bounds",H0e.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)},t.prototype.subReader=function(e){return new t(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)},t.prototype.readBytes=function(e,n){var a=this._peekBytes(0,e,!!n);return this._offset+=a.length,a.slice(0,e)},t.prototype.readValue=function(){return Owe.BigNumber.from(this.readBytes(this.wordSize))},t}();yu.Reader=VD0});var Uwe=D((xNn,fN)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);var i=!a.JS_SHA3_NO_COMMON_JS&&typeof fN=="object"&&fN.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(a.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new S(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new S(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}S.prototype.update=function(U){if(this.finalized)throw new Error(e);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},S.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(t);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(t)}else throw new Error(t);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},S.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},S.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){S.call(this,U,J,Z)}q.prototype=new S,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),S.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,C0,pe,he,Te,Ie,Se,Qe,u0,qe,v0,w0,Ve,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,K0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,C0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,Q0=U[47]<<24|U[46]>>>8,et=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ie=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&C0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~C0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=C0^~he&Ie,U[14]=v0^~Ve&ye,U[15]=w0^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ie&He,U[16]=Ve^~ye&Se,U[17]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,U[8]=Te^~Ye&_0,U[9]=Ie^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(i)fN.exports=b;else{for(P=0;P{"use strict";u();p();var YD0=aw&&aw.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(aw,"__esModule",{value:!0});aw.keccak256=void 0;var $D0=YD0(Uwe()),JD0=Vt();function XD0(t){return"0x"+$D0.default.keccak_256((0,JD0.arrayify)(t))}aw.keccak256=XD0});var Hwe=D(iN=>{"use strict";u();p();Object.defineProperty(iN,"__esModule",{value:!0});iN.version=void 0;iN.version="rlp/5.7.0"});var vC=D(rw=>{"use strict";u();p();Object.defineProperty(rw,"__esModule",{value:!0});rw.decode=rw.encode=void 0;var Ay=Vt(),n8=Ft(),ZD0=Hwe(),gu=new n8.Logger(ZD0.version);function zwe(t){for(var e=[];t;)e.unshift(t&255),t>>=8;return e}function Wwe(t,e,n){for(var a=0,r=0;re+1+a&&gu.throwError("child data too short",n8.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function Gwe(t,e){if(t.length===0&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var n=t[e]-247;e+1+n>t.length&&gu.throwError("data short segment too short",n8.Logger.errors.BUFFER_OVERRUN,{});var a=Wwe(t,e+1,n);return e+1+n+a>t.length&&gu.throwError("data long segment too short",n8.Logger.errors.BUFFER_OVERRUN,{}),qwe(t,e,e+1+n,n+a)}else if(t[e]>=192){var r=t[e]-192;return e+1+r>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{}),qwe(t,e,e+1,r)}else if(t[e]>=184){var n=t[e]-183;e+1+n>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var f=Wwe(t,e+1,n);e+1+n+f>t.length&&gu.throwError("data array too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ay.hexlify)(t.slice(e+1+n,e+1+n+f));return{consumed:1+n+f,result:i}}else if(t[e]>=128){var s=t[e]-128;e+1+s>t.length&&gu.throwError("data too short",n8.Logger.errors.BUFFER_OVERRUN,{});var i=(0,Ay.hexlify)(t.slice(e+1,e+1+s));return{consumed:1+s,result:i}}return{consumed:1,result:(0,Ay.hexlify)(t[e])}}function tP0(t){var e=(0,Ay.arrayify)(t),n=Gwe(e,0);return n.consumed!==e.length&&gu.throwArgumentError("invalid rlp data","data",t),n.result}rw.decode=tP0});var Kwe=D(sN=>{"use strict";u();p();Object.defineProperty(sN,"__esModule",{value:!0});sN.version=void 0;sN.version="address/5.7.0"});var Po=D(wd=>{"use strict";u();p();Object.defineProperty(wd,"__esModule",{value:!0});wd.getCreate2Address=wd.getContractAddress=wd.getIcapAddress=wd.isAddress=wd.getAddress=void 0;var a8=Vt(),W0e=ia(),q0e=H1(),nP0=vC(),aP0=Ft(),rP0=Kwe(),w3=new aP0.Logger(rP0.version);function Qwe(t){(0,a8.isHexString)(t,20)||w3.throwArgumentError("invalid address","address",t),t=t.toLowerCase();for(var e=t.substring(2).split(""),n=new Uint8Array(40),a=0;a<40;a++)n[a]=e[a].charCodeAt(0);for(var r=(0,a8.arrayify)((0,q0e.keccak256)(n)),a=0;a<40;a+=2)r[a>>1]>>4>=8&&(e[a]=e[a].toUpperCase()),(r[a>>1]&15)>=8&&(e[a+1]=e[a+1].toUpperCase());return"0x"+e.join("")}var fP0=9007199254740991;function iP0(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}var j0e={};for(Z5=0;Z5<10;Z5++)j0e[String(Z5)]=String(Z5);var Z5;for(Z5=0;Z5<26;Z5++)j0e[String.fromCharCode(65+Z5)]=String(10+Z5);var Z5,Vwe=Math.floor(iP0(fP0));function Ywe(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";for(var e=t.split("").map(function(r){return j0e[r]}).join("");e.length>=Vwe;){var n=e.substring(0,Vwe);e=parseInt(n,10)%97+e.substring(n.length)}for(var a=String(98-parseInt(e,10)%97);a.length<2;)a="0"+a;return a}function Iy(t){var e=null;if(typeof t!="string"&&w3.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Qwe(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&w3.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Ywe(t)&&w3.throwArgumentError("bad icap checksum","address",t),e=(0,W0e._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=Qwe("0x"+e)}else w3.throwArgumentError("invalid address","address",t);return e}wd.getAddress=Iy;function sP0(t){try{return Iy(t),!0}catch{}return!1}wd.isAddress=sP0;function oP0(t){for(var e=(0,W0e._base16To36)(Iy(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+Ywe("XE00"+e)+e}wd.getIcapAddress=oP0;function cP0(t){var e=null;try{e=Iy(t.from)}catch{w3.throwArgumentError("missing from address","transaction",t)}var n=(0,a8.stripZeros)((0,a8.arrayify)(W0e.BigNumber.from(t.nonce).toHexString()));return Iy((0,a8.hexDataSlice)((0,q0e.keccak256)((0,nP0.encode)([e,n])),12))}wd.getContractAddress=cP0;function dP0(t,e,n){return(0,a8.hexDataLength)(e)!==32&&w3.throwArgumentError("salt must be 32 bytes","salt",e),(0,a8.hexDataLength)(n)!==32&&w3.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),Iy((0,a8.hexDataSlice)((0,q0e.keccak256)((0,a8.concat)(["0xff",Iy(t),e,n])),12))}wd.getCreate2Address=dP0});var Jwe=D(fw=>{"use strict";u();p();var lP0=fw&&fw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(fw,"__esModule",{value:!0});fw.AddressCoder=void 0;var $we=Po(),uP0=Vt(),pP0=vd(),hP0=function(t){lP0(e,t);function e(n){return t.call(this,"address","address",n,!1)||this}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},e.prototype.encode=function(n,a){try{a=(0,$we.getAddress)(a)}catch(r){this._throwError(r.message,a)}return n.writeValue(a)},e.prototype.decode=function(n){return(0,$we.getAddress)((0,uP0.hexZeroPad)(n.readValue().toHexString(),20))},e}(pP0.Coder);fw.AddressCoder=hP0});var Xwe=D(iw=>{"use strict";u();p();var mP0=iw&&iw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(iw,"__esModule",{value:!0});iw.AnonymousCoder=void 0;var bP0=vd(),yP0=function(t){mP0(e,t);function e(n){var a=t.call(this,n.name,n.type,void 0,n.dynamic)||this;return a.coder=n,a}return e.prototype.defaultValue=function(){return this.coder.defaultValue()},e.prototype.encode=function(n,a){return this.coder.encode(n,a)},e.prototype.decode=function(n){return this.coder.decode(n)},e}(bP0.Coder);iw.AnonymousCoder=yP0});var K0e=D(vu=>{"use strict";u();p();var gP0=vu&&vu.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(vu,"__esModule",{value:!0});vu.ArrayCoder=vu.unpack=vu.pack=void 0;var ow=Ft(),vP0=tw(),sw=new ow.Logger(vP0.version),G0e=vd(),wP0=Xwe();function Zwe(t,e,n){var a=null;if(Array.isArray(n))a=n;else if(n&&typeof n=="object"){var r={};a=e.map(function(c){var d=c.localName;return d||sw.throwError("cannot encode object for signature with missing names",ow.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]&&sw.throwError("cannot encode object for signature with duplicate names",ow.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:n}),r[d]=!0,n[d]})}else sw.throwArgumentError("invalid tuple value","tuple",n);e.length!==a.length&&sw.throwArgumentError("types/value length mismatch","tuple",n);var f=new G0e.Writer(t.wordSize),i=new G0e.Writer(t.wordSize),s=[];e.forEach(function(c,d){var l=a[d];if(c.dynamic){var h=i.length;c.encode(i,l);var y=f.writeUpdatableValue();s.push(function(v){y(v+h)})}else c.encode(f,l)}),s.forEach(function(c){c(f.length)});var o=t.appendWriter(f);return o+=t.appendWriter(i),o}vu.pack=Zwe;function eTe(t,e){var n=[],a=t.subReader(0);e.forEach(function(s){var o=null;if(s.dynamic){var c=t.readValue(),d=a.subReader(c.toNumber());try{o=s.decode(d)}catch(l){if(l.code===ow.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}}else try{o=s.decode(t)}catch(l){if(l.code===ow.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=s.name,o.name=s.localName,o.type=s.type}o!=null&&n.push(o)});var r=e.reduce(function(s,o){var c=o.localName;return c&&(s[c]||(s[c]=0),s[c]++),s},{});e.forEach(function(s,o){var c=s.localName;if(!(!c||r[c]!==1)&&(c==="length"&&(c="_length"),n[c]==null)){var d=n[o];d instanceof Error?Object.defineProperty(n,c,{enumerable:!0,get:function(){throw d}}):n[c]=d}});for(var f=function(s){var o=n[s];o instanceof Error&&Object.defineProperty(n,s,{enumerable:!0,get:function(){throw o}})},i=0;i=0?a:"")+"]",s=a===-1||n.dynamic;return f=t.call(this,"array",i,r,s)||this,f.coder=n,f.length=a,f}return e.prototype.defaultValue=function(){for(var n=this.coder.defaultValue(),a=[],r=0;rn._data.length&&sw.throwError("insufficient data length",ow.Logger.errors.BUFFER_OVERRUN,{length:n._data.length,count:a}));for(var r=[],f=0;f{"use strict";u();p();var xP0=cw&&cw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(cw,"__esModule",{value:!0});cw.BooleanCoder=void 0;var EP0=vd(),_P0=function(t){xP0(e,t);function e(n){return t.call(this,"bool","bool",n,!1)||this}return e.prototype.defaultValue=function(){return!1},e.prototype.encode=function(n,a){return n.writeValue(a?1:0)},e.prototype.decode=function(n){return n.coerce(this.type,!n.readValue().isZero())},e}(EP0.Coder);cw.BooleanCoder=_P0});var Q0e=D(T3=>{"use strict";u();p();var nTe=T3&&T3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(T3,"__esModule",{value:!0});T3.BytesCoder=T3.DynamicBytesCoder=void 0;var aTe=Vt(),AP0=vd(),rTe=function(t){nTe(e,t);function e(n,a){return t.call(this,n,n,a,!0)||this}return e.prototype.defaultValue=function(){return"0x"},e.prototype.encode=function(n,a){a=(0,aTe.arrayify)(a);var r=n.writeValue(a.length);return r+=n.writeBytes(a),r},e.prototype.decode=function(n){return n.readBytes(n.readValue().toNumber(),!0)},e}(AP0.Coder);T3.DynamicBytesCoder=rTe;var IP0=function(t){nTe(e,t);function e(n){return t.call(this,"bytes",n)||this}return e.prototype.decode=function(n){return n.coerce(this.name,(0,aTe.hexlify)(t.prototype.decode.call(this,n)))},e}(rTe);T3.BytesCoder=IP0});var iTe=D(dw=>{"use strict";u();p();var CP0=dw&&dw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(dw,"__esModule",{value:!0});dw.FixedBytesCoder=void 0;var fTe=Vt(),kP0=vd(),SP0=function(t){CP0(e,t);function e(n,a){var r=this,f="bytes"+String(n);return r=t.call(this,f,f,a,!1)||this,r.size=n,r}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+this.size*2)},e.prototype.encode=function(n,a){var r=(0,fTe.arrayify)(a);return r.length!==this.size&&this._throwError("incorrect data length",a),n.writeBytes(r)},e.prototype.decode=function(n){return n.coerce(this.name,(0,fTe.hexlify)(n.readBytes(this.size)))},e}(kP0.Coder);dw.FixedBytesCoder=SP0});var sTe=D(lw=>{"use strict";u();p();var RP0=lw&&lw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(lw,"__esModule",{value:!0});lw.NullCoder=void 0;var MP0=vd(),BP0=function(t){RP0(e,t);function e(n){return t.call(this,"null","",n,!1)||this}return e.prototype.defaultValue=function(){return null},e.prototype.encode=function(n,a){return a!=null&&this._throwError("not null",a),n.writeBytes([])},e.prototype.decode=function(n){return n.readBytes(0),n.coerce(this.name,null)},e}(MP0.Coder);lw.NullCoder=BP0});var oTe=D(oN=>{"use strict";u();p();Object.defineProperty(oN,"__esModule",{value:!0});oN.AddressZero=void 0;oN.AddressZero="0x0000000000000000000000000000000000000000"});var cTe=D(us=>{"use strict";u();p();Object.defineProperty(us,"__esModule",{value:!0});us.MaxInt256=us.MinInt256=us.MaxUint256=us.WeiPerEther=us.Two=us.One=us.Zero=us.NegativeOne=void 0;var x3=ia(),DP0=x3.BigNumber.from(-1);us.NegativeOne=DP0;var PP0=x3.BigNumber.from(0);us.Zero=PP0;var LP0=x3.BigNumber.from(1);us.One=LP0;var FP0=x3.BigNumber.from(2);us.Two=FP0;var NP0=x3.BigNumber.from("1000000000000000000");us.WeiPerEther=NP0;var OP0=x3.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxUint256=OP0;var UP0=x3.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");us.MinInt256=UP0;var HP0=x3.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");us.MaxInt256=HP0});var dTe=D(cN=>{"use strict";u();p();Object.defineProperty(cN,"__esModule",{value:!0});cN.HashZero=void 0;cN.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var lTe=D(dN=>{"use strict";u();p();Object.defineProperty(dN,"__esModule",{value:!0});dN.EtherSymbol=void 0;dN.EtherSymbol="\u039E"});var _3=D(lf=>{"use strict";u();p();Object.defineProperty(lf,"__esModule",{value:!0});lf.EtherSymbol=lf.HashZero=lf.MaxInt256=lf.MinInt256=lf.MaxUint256=lf.WeiPerEther=lf.Two=lf.One=lf.Zero=lf.NegativeOne=lf.AddressZero=void 0;var zP0=oTe();Object.defineProperty(lf,"AddressZero",{enumerable:!0,get:function(){return zP0.AddressZero}});var E3=cTe();Object.defineProperty(lf,"NegativeOne",{enumerable:!0,get:function(){return E3.NegativeOne}});Object.defineProperty(lf,"Zero",{enumerable:!0,get:function(){return E3.Zero}});Object.defineProperty(lf,"One",{enumerable:!0,get:function(){return E3.One}});Object.defineProperty(lf,"Two",{enumerable:!0,get:function(){return E3.Two}});Object.defineProperty(lf,"WeiPerEther",{enumerable:!0,get:function(){return E3.WeiPerEther}});Object.defineProperty(lf,"MaxUint256",{enumerable:!0,get:function(){return E3.MaxUint256}});Object.defineProperty(lf,"MinInt256",{enumerable:!0,get:function(){return E3.MinInt256}});Object.defineProperty(lf,"MaxInt256",{enumerable:!0,get:function(){return E3.MaxInt256}});var WP0=dTe();Object.defineProperty(lf,"HashZero",{enumerable:!0,get:function(){return WP0.HashZero}});var qP0=lTe();Object.defineProperty(lf,"EtherSymbol",{enumerable:!0,get:function(){return qP0.EtherSymbol}})});var uTe=D(uw=>{"use strict";u();p();var jP0=uw&&uw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(uw,"__esModule",{value:!0});uw.NumberCoder=void 0;var GP0=ia(),lN=_3(),KP0=vd(),QP0=function(t){jP0(e,t);function e(n,a,r){var f=this,i=(a?"int":"uint")+n*8;return f=t.call(this,i,i,r,!1)||this,f.size=n,f.signed=a,f}return e.prototype.defaultValue=function(){return 0},e.prototype.encode=function(n,a){var r=GP0.BigNumber.from(a),f=lN.MaxUint256.mask(n.wordSize*8);if(this.signed){var i=f.mask(this.size*8-1);(r.gt(i)||r.lt(i.add(lN.One).mul(lN.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(lN.Zero)||r.gt(f.mask(this.size*8)))&&this._throwError("value out-of-bounds",a);return r=r.toTwos(this.size*8).mask(this.size*8),this.signed&&(r=r.fromTwos(this.size*8).toTwos(8*n.wordSize)),n.writeValue(r)},e.prototype.decode=function(n){var a=n.readValue().mask(this.size*8);return this.signed&&(a=a.fromTwos(this.size*8)),n.coerce(this.name,a)},e}(KP0.Coder);uw.NumberCoder=QP0});var pTe=D(uN=>{"use strict";u();p();Object.defineProperty(uN,"__esModule",{value:!0});uN.version=void 0;uN.version="strings/5.7.0"});var hN=D(pi=>{"use strict";u();p();Object.defineProperty(pi,"__esModule",{value:!0});pi.toUtf8CodePoints=pi.toUtf8String=pi._toUtf8String=pi._toEscapedUtf8String=pi.toUtf8Bytes=pi.Utf8ErrorFuncs=pi.Utf8ErrorReason=pi.UnicodeNormalizationForm=void 0;var hTe=Vt(),VP0=Ft(),YP0=pTe(),mTe=new VP0.Logger(YP0.version),pN;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(pN=pi.UnicodeNormalizationForm||(pi.UnicodeNormalizationForm={}));var Td;(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(Td=pi.Utf8ErrorReason||(pi.Utf8ErrorReason={}));function $P0(t,e,n,a,r){return mTe.throwArgumentError("invalid codepoint at offset "+e+"; "+t,"bytes",n)}function bTe(t,e,n,a,r){if(t===Td.BAD_PREFIX||t===Td.UNEXPECTED_CONTINUE){for(var f=0,i=e+1;i>6===2;i++)f++;return f}return t===Td.OVERRUN?n.length-e-1:0}function JP0(t,e,n,a,r){return t===Td.OVERLONG?(a.push(r),0):(a.push(65533),bTe(t,e,n,a,r))}pi.Utf8ErrorFuncs=Object.freeze({error:$P0,ignore:bTe,replace:JP0});function Y0e(t,e){e==null&&(e=pi.Utf8ErrorFuncs.error),t=(0,hTe.arrayify)(t);for(var n=[],a=0;a>7)){n.push(r);continue}var f=null,i=null;if((r&224)===192)f=1,i=127;else if((r&240)===224)f=2,i=2047;else if((r&248)===240)f=3,i=65535;else{(r&192)===128?a+=e(Td.UNEXPECTED_CONTINUE,a-1,t,n):a+=e(Td.BAD_PREFIX,a-1,t,n);continue}if(a-1+f>=t.length){a+=e(Td.OVERRUN,a-1,t,n);continue}for(var s=r&(1<<8-f-1)-1,o=0;o1114111){a+=e(Td.OUT_OF_RANGE,a-1-f,t,n,s);continue}if(s>=55296&&s<=57343){a+=e(Td.UTF16_SURROGATE,a-1-f,t,n,s);continue}if(s<=i){a+=e(Td.OVERLONG,a-1-f,t,n,s);continue}n.push(s)}}return n}function yTe(t,e){e===void 0&&(e=pN.current),e!=pN.current&&(mTe.checkNormalize(),t=t.normalize(e));for(var n=[],a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;var f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");var i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return(0,hTe.arrayify)(n)}pi.toUtf8Bytes=yTe;function V0e(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function XP0(t,e){return'"'+Y0e(t,e).map(function(n){if(n<256){switch(n){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(n>=32&&n<127)return String.fromCharCode(n)}return n<=65535?V0e(n):(n-=65536,V0e((n>>10&1023)+55296)+V0e((n&1023)+56320))}).join("")+'"'}pi._toEscapedUtf8String=XP0;function gTe(t){return t.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}pi._toUtf8String=gTe;function ZP0(t,e){return gTe(Y0e(t,e))}pi.toUtf8String=ZP0;function eL0(t,e){return e===void 0&&(e=pN.current),Y0e(yTe(t,e))}pi.toUtf8CodePoints=eL0});var wTe=D(pw=>{"use strict";u();p();Object.defineProperty(pw,"__esModule",{value:!0});pw.parseBytes32String=pw.formatBytes32String=void 0;var tL0=_3(),$0e=Vt(),vTe=hN();function nL0(t){var e=(0,vTe.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,$0e.hexlify)((0,$0e.concat)([e,tL0.HashZero]).slice(0,32))}pw.formatBytes32String=nL0;function aL0(t){var e=(0,$0e.arrayify)(t);if(e.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(e[31]!==0)throw new Error("invalid bytes32 string - no null terminator");for(var n=31;e[n-1]===0;)n--;return(0,vTe.toUtf8String)(e.slice(0,n))}pw.parseBytes32String=aL0});var ATe=D(wu=>{"use strict";u();p();Object.defineProperty(wu,"__esModule",{value:!0});wu.nameprep=wu._nameprepTableC=wu._nameprepTableB2=wu._nameprepTableA1=void 0;var wC=hN();function rL0(t){if(t.length%4!==0)throw new Error("bad data");for(var e=[],n=0;n=n&&t<=n+r.h&&(t-n)%(r.d||1)===0){if(r.e&&r.e.indexOf(t-n)!==-1)continue;return r}}return null}var fL0=TTe("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),iL0="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(t){return parseInt(t,16)}),sL0=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],oL0=J0e("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),cL0=J0e("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),dL0=J0e("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",rL0),lL0=TTe("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function uL0(t){return t.reduce(function(e,n){return n.forEach(function(a){e.push(a)}),e},[])}function xTe(t){return!!X0e(t,fL0)}wu._nameprepTableA1=xTe;function ETe(t){var e=X0e(t,sL0);if(e)return[t+e.s];var n=oL0[t];if(n)return n;var a=cL0[t];if(a)return[t+a[0]];var r=dL0[t];return r||null}wu._nameprepTableB2=ETe;function _Te(t){return!!X0e(t,lL0)}wu._nameprepTableC=_Te;function pL0(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e=(0,wC.toUtf8CodePoints)(t);e=uL0(e.map(function(a){if(iL0.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=ETe(a);return r||[a]})),e=(0,wC.toUtf8CodePoints)((0,wC._toUtf8String)(e),wC.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(_Te(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(xTe(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var n=(0,wC._toUtf8String)(e);if(n.substring(0,1)==="-"||n.substring(2,4)==="--"||n.substring(n.length-1)==="-")throw new Error("invalid hyphen");return n}wu.nameprep=pL0});var Ai=D(Yf=>{"use strict";u();p();Object.defineProperty(Yf,"__esModule",{value:!0});Yf.nameprep=Yf.parseBytes32String=Yf.formatBytes32String=Yf.UnicodeNormalizationForm=Yf.Utf8ErrorReason=Yf.Utf8ErrorFuncs=Yf.toUtf8String=Yf.toUtf8CodePoints=Yf.toUtf8Bytes=Yf._toEscapedUtf8String=void 0;var ITe=wTe();Object.defineProperty(Yf,"formatBytes32String",{enumerable:!0,get:function(){return ITe.formatBytes32String}});Object.defineProperty(Yf,"parseBytes32String",{enumerable:!0,get:function(){return ITe.parseBytes32String}});var hL0=ATe();Object.defineProperty(Yf,"nameprep",{enumerable:!0,get:function(){return hL0.nameprep}});var Cy=hN();Object.defineProperty(Yf,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Cy._toEscapedUtf8String}});Object.defineProperty(Yf,"toUtf8Bytes",{enumerable:!0,get:function(){return Cy.toUtf8Bytes}});Object.defineProperty(Yf,"toUtf8CodePoints",{enumerable:!0,get:function(){return Cy.toUtf8CodePoints}});Object.defineProperty(Yf,"toUtf8String",{enumerable:!0,get:function(){return Cy.toUtf8String}});Object.defineProperty(Yf,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return Cy.UnicodeNormalizationForm}});Object.defineProperty(Yf,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Cy.Utf8ErrorFuncs}});Object.defineProperty(Yf,"Utf8ErrorReason",{enumerable:!0,get:function(){return Cy.Utf8ErrorReason}})});var kTe=D(hw=>{"use strict";u();p();var mL0=hw&&hw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(hw,"__esModule",{value:!0});hw.StringCoder=void 0;var CTe=Ai(),bL0=Q0e(),yL0=function(t){mL0(e,t);function e(n){return t.call(this,"string",n)||this}return e.prototype.defaultValue=function(){return""},e.prototype.encode=function(n,a){return t.prototype.encode.call(this,n,(0,CTe.toUtf8Bytes)(a))},e.prototype.decode=function(n){return(0,CTe.toUtf8String)(t.prototype.decode.call(this,n))},e}(bL0.DynamicBytesCoder);hw.StringCoder=yL0});var RTe=D(mw=>{"use strict";u();p();var gL0=mw&&mw.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(mw,"__esModule",{value:!0});mw.TupleCoder=void 0;var vL0=vd(),STe=K0e(),wL0=function(t){gL0(e,t);function e(n,a){var r=this,f=!1,i=[];n.forEach(function(o){o.dynamic&&(f=!0),i.push(o.type)});var s="tuple("+i.join(",")+")";return r=t.call(this,"tuple",s,a,f)||this,r.coders=n,r}return e.prototype.defaultValue=function(){var n=[];this.coders.forEach(function(r){n.push(r.defaultValue())});var a=this.coders.reduce(function(r,f){var i=f.localName;return i&&(r[i]||(r[i]=0),r[i]++),r},{});return this.coders.forEach(function(r,f){var i=r.localName;!i||a[i]!==1||(i==="length"&&(i="_length"),n[i]==null&&(n[i]=n[f]))}),Object.freeze(n)},e.prototype.encode=function(n,a){return(0,STe.pack)(n,this.coders,a)},e.prototype.decode=function(n){return n.coerce(this.name,(0,STe.unpack)(n,this.coders))},e}(vL0.Coder);mw.TupleCoder=wL0});var ete=D(bw=>{"use strict";u();p();Object.defineProperty(bw,"__esModule",{value:!0});bw.defaultAbiCoder=bw.AbiCoder=void 0;var TL0=Vt(),xL0=Ba(),BTe=Ft(),EL0=tw(),mN=new BTe.Logger(EL0.version),MTe=vd(),_L0=Jwe(),AL0=K0e(),IL0=tTe(),CL0=Q0e(),kL0=iTe(),SL0=sTe(),RL0=uTe(),ML0=kTe(),bN=RTe(),Z0e=rN(),BL0=new RegExp(/^bytes([0-9]*)$/),DL0=new RegExp(/^(u?int)([0-9]*)$/),DTe=function(){function t(e){(0,xL0.defineReadOnly)(this,"coerceFunc",e||null)}return t.prototype._getCoder=function(e){var n=this;switch(e.baseType){case"address":return new _L0.AddressCoder(e.name);case"bool":return new IL0.BooleanCoder(e.name);case"string":return new ML0.StringCoder(e.name);case"bytes":return new CL0.BytesCoder(e.name);case"array":return new AL0.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new bN.TupleCoder((e.components||[]).map(function(f){return n._getCoder(f)}),e.name);case"":return new SL0.NullCoder(e.name)}var a=e.type.match(DL0);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&mN.throwArgumentError("invalid "+a[1]+" bit length","param",e),new RL0.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(BL0),a){var r=parseInt(a[1]);return(r===0||r>32)&&mN.throwArgumentError("invalid bytes length","param",e),new kL0.FixedBytesCoder(r,e.name)}return mN.throwArgumentError("invalid type","type",e.type)},t.prototype._getWordSize=function(){return 32},t.prototype._getReader=function(e,n){return new MTe.Reader(e,this._getWordSize(),this.coerceFunc,n)},t.prototype._getWriter=function(){return new MTe.Writer(this._getWordSize())},t.prototype.getDefaultValue=function(e){var n=this,a=e.map(function(f){return n._getCoder(Z0e.ParamType.from(f))}),r=new bN.TupleCoder(a,"_");return r.defaultValue()},t.prototype.encode=function(e,n){var a=this;e.length!==n.length&&mN.throwError("types/values length mismatch",BTe.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:n.length},value:{types:e,values:n}});var r=e.map(function(s){return a._getCoder(Z0e.ParamType.from(s))}),f=new bN.TupleCoder(r,"_"),i=this._getWriter();return f.encode(i,n),i.data},t.prototype.decode=function(e,n,a){var r=this,f=e.map(function(s){return r._getCoder(Z0e.ParamType.from(s))}),i=new bN.TupleCoder(f,"_");return i.decode(this._getReader((0,TL0.arrayify)(n),a))},t}();bw.AbiCoder=DTe;bw.defaultAbiCoder=new DTe});var tte=D(yN=>{"use strict";u();p();Object.defineProperty(yN,"__esModule",{value:!0});yN.id=void 0;var PL0=H1(),LL0=Ai();function FL0(t){return(0,PL0.keccak256)((0,LL0.toUtf8Bytes)(t))}yN.id=FL0});var nte=D(gN=>{"use strict";u();p();Object.defineProperty(gN,"__esModule",{value:!0});gN.version=void 0;gN.version="hash/5.7.0"});var LTe=D(yw=>{"use strict";u();p();Object.defineProperty(yw,"__esModule",{value:!0});yw.encode=yw.decode=void 0;var PTe=Vt();function NL0(t){t=atob(t);for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(gw,"__esModule",{value:!0});gw.encode=gw.decode=void 0;var FTe=LTe();Object.defineProperty(gw,"decode",{enumerable:!0,get:function(){return FTe.decode}});Object.defineProperty(gw,"encode",{enumerable:!0,get:function(){return FTe.encode}})});var rte=D(ps=>{"use strict";u();p();Object.defineProperty(ps,"__esModule",{value:!0});ps.read_emoji_trie=ps.read_zero_terminated_array=ps.read_mapped_map=ps.read_member_array=ps.signed=ps.read_compressed_payload=ps.read_payload=ps.decode_arithmetic=void 0;function OTe(t,e){e==null&&(e=1);var n=[],a=n.forEach,r=function(f,i){a.call(f,function(s){i>0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function UL0(t){for(var e={},n=0;n>--c&1}for(var h=31,y=Math.pow(2,h),v=y>>>1,k=v>>1,O=y-1,F=0,i=0;i1;){var K=V+X>>>1;Q>>1|l(),G=G<<1^v,R=(R^v)<<1|v|1;W=G,j=1+R-G}var T=a-4;return z.map(function(N){switch(N-T){case 3:return T+65792+(t[o++]<<16|t[o++]<<8|t[o++]);case 2:return T+256+(t[o++]<<8|t[o++]);case 1:return T+t[o++];default:return N-1}})}ps.decode_arithmetic=UTe;function HTe(t){var e=0;return function(){return t[e++]}}ps.read_payload=HTe;function HL0(t){return HTe(UTe(t))}ps.read_compressed_payload=HL0;function zTe(t){return t&1?~t>>1:t>>1}ps.signed=zTe;function zL0(t,e){for(var n=Array(t),a=0;a>=1;var o=f==1,c=f==2;return{branches:a,valid:i,fe0f:s,save:o,check:c}}}ps.read_emoji_trie=KL0});var jTe=D(vN=>{"use strict";u();p();Object.defineProperty(vN,"__esModule",{value:!0});vN.getData=void 0;var QL0=TC(),VL0=rte();function YL0(){return(0,VL0.read_compressed_payload)((0,QL0.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}vN.getData=YL0});var VTe=D(vw=>{"use strict";u();p();Object.defineProperty(vw,"__esModule",{value:!0});vw.ens_normalize=vw.ens_normalize_post_check=void 0;var $L0=Ai(),JL0=jTe(),wN=(0,JL0.getData)(),TN=rte(),XL0=new Set((0,TN.read_member_array)(wN)),ZL0=new Set((0,TN.read_member_array)(wN)),eF0=(0,TN.read_mapped_map)(wN),tF0=(0,TN.read_emoji_trie)(wN),GTe=45,KTe=95;function QTe(t){return(0,$L0.toUtf8CodePoints)(t)}function nF0(t){return t.filter(function(e){return e!=65039})}function fte(t){for(var e=0,n=t.split(".");e=0;f--)if(r[f]!==KTe)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(i){return i<128})&&r[2]===GTe&&r[3]===GTe)throw new Error("invalid label extension")}catch(i){throw new Error('Invalid label "'+a+'": '+i.message)}}return t}vw.ens_normalize_post_check=fte;function aF0(t){return fte(rF0(t,nF0))}vw.ens_normalize=aF0;function rF0(t,e){for(var n=QTe(t).reverse(),a=[];n.length;){var r=iF0(n);if(r){a.push.apply(a,e(r));continue}var f=n.pop();if(XL0.has(f)){a.push(f);continue}if(!ZL0.has(f)){var i=eF0[f];if(i){a.push.apply(a,i);continue}throw new Error("Disallowed codepoint: 0x"+f.toString(16).toUpperCase())}}return fte(fF0(String.fromCodePoint.apply(String,a)))}function fF0(t){return t.normalize("NFC")}function iF0(t,e){var n,a=tF0,r,f,i=[],s=t.length;e&&(e.length=0);for(var o=function(){var d=t[--s];if(a=(n=a.branches.find(function(l){return l.set.has(d)}))===null||n===void 0?void 0:n.node,!a)return"break";if(a.save)f=d;else if(a.check&&d===f)return"break";i.push(d),a.fe0f&&(i.push(65039),s>0&&t[s-1]==65039&&s--),a.valid&&(r=i.slice(),a.valid==2&&r.splice(1,1),e&&e.push.apply(e,t.slice(s).reverse()),t.length=s)};s;){var c=o();if(c==="break")break}return r}});var ite=D(Tu=>{"use strict";u();p();Object.defineProperty(Tu,"__esModule",{value:!0});Tu.dnsEncode=Tu.namehash=Tu.isValidName=Tu.ensNormalize=void 0;var xN=Vt(),JTe=Ai(),YTe=H1(),sF0=Ft(),oF0=nte(),cF0=new sF0.Logger(oF0.version),dF0=VTe(),XTe=new Uint8Array(32);XTe.fill(0);function $Te(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function EN(t){var e=(0,JTe.toUtf8Bytes)((0,dF0.ens_normalize)(t)),n=[];if(t.length===0)return n;for(var a=0,r=0;r=e.length)throw new Error("invalid ENS name; empty component");return n.push($Te(e.slice(a))),n}function lF0(t){return EN(t).map(function(e){return(0,JTe.toUtf8String)(e)}).join(".")}Tu.ensNormalize=lF0;function uF0(t){try{return EN(t).length!==0}catch{}return!1}Tu.isValidName=uF0;function pF0(t){typeof t!="string"&&cF0.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=XTe,n=EN(t);n.length;)e=(0,YTe.keccak256)((0,xN.concat)([e,(0,YTe.keccak256)(n.pop())]));return(0,xN.hexlify)(e)}Tu.namehash=pF0;function hF0(t){return(0,xN.hexlify)((0,xN.concat)(EN(t).map(function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var n=new Uint8Array(e.length+1);return n.set(e,1),n[0]=n.length-1,n})))+"00"}Tu.dnsEncode=hF0});var ZTe=D(ky=>{"use strict";u();p();Object.defineProperty(ky,"__esModule",{value:!0});ky.hashMessage=ky.messagePrefix=void 0;var mF0=Vt(),bF0=H1(),ste=Ai();ky.messagePrefix=`Ethereum Signed Message: -`;function yF0(t){return typeof t=="string"&&(t=(0,ste.toUtf8Bytes)(t)),(0,bF0.keccak256)((0,mF0.concat)([(0,ste.toUtf8Bytes)(ky.messagePrefix),(0,ste.toUtf8Bytes)(String(t.length)),t]))}ky.hashMessage=yF0});var oxe=D(A3=>{"use strict";u();p();var gF0=A3&&A3.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},vF0=A3&&A3.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]256||e[2]&&e[2]!==String(a))&&kf.throwArgumentError("invalid numeric width","type",t);var r=EF0.mask(n?a-1:a),f=n?r.add(sxe).mul(xF0):ixe;return function(s){var o=Ry.BigNumber.from(s);return(o.lt(f)||o.gt(r))&&kf.throwArgumentError("value out-of-bounds for "+t,"value",s),(0,Js.hexZeroPad)(o.toTwos(256).toHexString(),32)}}}{var e=t.match(/^bytes(\d+)$/);if(e){var i=parseInt(e[1]);return(i===0||i>32||e[1]!==String(i))&&kf.throwArgumentError("invalid bytes width","type",t),function(o){var c=(0,Js.arrayify)(o);return c.length!==i&&kf.throwArgumentError("invalid length for "+t,"value",o),_F0(o)}}}switch(t){case"address":return function(s){return(0,Js.hexZeroPad)((0,axe.getAddress)(s),32)};case"bool":return function(s){return s?AF0:IF0};case"bytes":return function(s){return(0,ww.keccak256)(s)};case"string":return function(s){return(0,rxe.id)(s)}}return null}function nxe(t,e){return t+"("+e.map(function(n){var a=n.name,r=n.type;return r+" "+a}).join(",")+")"}var kF0=function(){function t(e){(0,Sy.defineReadOnly)(this,"types",Object.freeze((0,Sy.deepCopy)(e))),(0,Sy.defineReadOnly)(this,"_encoderCache",{}),(0,Sy.defineReadOnly)(this,"_types",{});var n={},a={},r={};Object.keys(e).forEach(function(l){n[l]={},a[l]=[],r[l]={}});var f=function(l){var h={};e[l].forEach(function(y){h[y.name]&&kf.throwArgumentError("duplicate variable name "+JSON.stringify(y.name)+" in "+JSON.stringify(l),"types",e),h[y.name]=!0;var v=y.type.match(/^([^\x5b]*)(\x5b|$)/)[1];v===l&&kf.throwArgumentError("circular type reference to "+JSON.stringify(v),"types",e);var k=cte(v);k||(a[v]||kf.throwArgumentError("unknown type "+JSON.stringify(v),"types",e),a[v].push(l),n[l][v]=!0)})};for(var i in e)f(i);var s=Object.keys(a).filter(function(l){return a[l].length===0});s.length===0?kf.throwArgumentError("missing primary type","types",e):s.length>1&&kf.throwArgumentError("ambiguous primary types or unused types: "+s.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,Sy.defineReadOnly)(this,"primaryType",s[0]);function o(l,h){h[l]&&kf.throwArgumentError("circular type reference to "+JSON.stringify(l),"types",e),h[l]=!0,Object.keys(n[l]).forEach(function(y){a[y]&&(o(y,h),Object.keys(h).forEach(function(v){r[v][y]=!0}))}),delete h[l]}o(this.primaryType,{});for(var c in r){var d=Object.keys(r[c]);d.sort(),this._types[c]=nxe(c,e[c])+d.map(function(l){return nxe(l,e[l])}).join("")}}return t.prototype.getEncoder=function(e){var n=this._encoderCache[e];return n||(n=this._encoderCache[e]=this._getEncoder(e)),n},t.prototype._getEncoder=function(e){var n=this;{var a=cte(e);if(a)return a}var r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){var f=r[1],i=this.getEncoder(f),s=parseInt(r[3]);return function(d){s>=0&&d.length!==s&&kf.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(i);return n._types[f]&&(l=l.map(ww.keccak256)),(0,ww.keccak256)((0,Js.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,rxe.id)(this._types[e]);return function(d){var l=o.map(function(h){var y=h.name,v=h.type,k=n.getEncoder(v)(d[y]);return n._types[v]?(0,ww.keccak256)(k):k});return l.unshift(c),(0,Js.hexConcat)(l)}}return kf.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.encodeType=function(e){var n=this._types[e];return n||kf.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),n},t.prototype.encodeData=function(e,n){return this.getEncoder(e)(n)},t.prototype.hashStruct=function(e,n){return(0,ww.keccak256)(this.encodeData(e,n))},t.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},t.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},t.prototype._visit=function(e,n,a){var r=this;{var f=cte(e);if(f)return a(e,n)}var i=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){var s=i[1],o=parseInt(i[3]);return o>=0&&n.length!==o&&kf.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",n),n.map(function(d){return r._visit(s,d,a)})}var c=this.types[e];return c?c.reduce(function(d,l){var h=l.name,y=l.type;return d[h]=r._visit(y,n[h],a),d},{}):kf.throwArgumentError("unknown type: "+e,"type",e)},t.prototype.visit=function(e,n){return this._visit(this.primaryType,e,n)},t.from=function(e){return new t(e)},t.getPrimaryType=function(e){return t.from(e).primaryType},t.hashStruct=function(e,n,a){return t.from(n).hashStruct(e,a)},t.hashDomain=function(e){var n=[];for(var a in e){var r=exe[a];r||kf.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),n.push({name:a,type:r})}return n.sort(function(f,i){return ote.indexOf(f.name)-ote.indexOf(i.name)}),t.hashStruct("EIP712Domain",{EIP712Domain:n},e)},t.encode=function(e,n,a){return(0,Js.hexConcat)(["0x1901",t.hashDomain(e),t.from(n).hash(a)])},t.hash=function(e,n,a){return(0,ww.keccak256)(t.encode(e,n,a))},t.resolveNames=function(e,n,a,r){return gF0(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h;return vF0(this,function(y){switch(y.label){case 0:e=(0,Sy.shallowCopy)(e),f={},e.verifyingContract&&!(0,Js.isHexString)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x"),i=t.from(n),i.visit(a,function(v,k){return v==="address"&&!(0,Js.isHexString)(k,20)&&(f[k]="0x"),k}),s=[];for(o in f)s.push(o);c=0,y.label=1;case 1:return c{"use strict";u();p();Object.defineProperty(hs,"__esModule",{value:!0});hs._TypedDataEncoder=hs.hashMessage=hs.messagePrefix=hs.ensNormalize=hs.isValidName=hs.namehash=hs.dnsEncode=hs.id=void 0;var SF0=tte();Object.defineProperty(hs,"id",{enumerable:!0,get:function(){return SF0.id}});var dte=ite();Object.defineProperty(hs,"dnsEncode",{enumerable:!0,get:function(){return dte.dnsEncode}});Object.defineProperty(hs,"isValidName",{enumerable:!0,get:function(){return dte.isValidName}});Object.defineProperty(hs,"namehash",{enumerable:!0,get:function(){return dte.namehash}});var cxe=ZTe();Object.defineProperty(hs,"hashMessage",{enumerable:!0,get:function(){return cxe.hashMessage}});Object.defineProperty(hs,"messagePrefix",{enumerable:!0,get:function(){return cxe.messagePrefix}});var RF0=ite();Object.defineProperty(hs,"ensNormalize",{enumerable:!0,get:function(){return RF0.ensNormalize}});var MF0=oxe();Object.defineProperty(hs,"_TypedDataEncoder",{enumerable:!0,get:function(){return MF0.TypedDataEncoder}})});var bxe=D(Lo=>{"use strict";u();p();var IN=Lo&&Lo.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Lo,"__esModule",{value:!0});Lo.Interface=Lo.Indexed=Lo.ErrorDescription=Lo.TransactionDescription=Lo.LogDescription=Lo.checkResultErrors=void 0;var BF0=Po(),dxe=ia(),uf=Vt(),_N=I3(),lxe=H1(),Xs=Ba(),DF0=ete(),PF0=vd();Object.defineProperty(Lo,"checkResultErrors",{enumerable:!0,get:function(){return PF0.checkResultErrors}});var r8=rN(),AN=Ft(),LF0=tw(),Sf=new AN.Logger(LF0.version),pxe=function(t){IN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.LogDescription=pxe;var hxe=function(t){IN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.TransactionDescription=hxe;var mxe=function(t){IN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Xs.Description);Lo.ErrorDescription=mxe;var lte=function(t){IN(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.isIndexed=function(n){return!!(n&&n._isIndexed)},e}(Xs.Description);Lo.Indexed=lte;var FF0={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function uxe(t,e){var n=new Error("deferred error during ABI decoding triggered accessing "+t);return n.error=e,n}var NF0=function(){function t(e){var n=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,Xs.defineReadOnly)(this,"fragments",r.map(function(f){return r8.Fragment.from(f)}).filter(function(f){return f!=null})),(0,Xs.defineReadOnly)(this,"_abiCoder",(0,Xs.getStatic)(n,"getAbiCoder")()),(0,Xs.defineReadOnly)(this,"functions",{}),(0,Xs.defineReadOnly)(this,"errors",{}),(0,Xs.defineReadOnly)(this,"events",{}),(0,Xs.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(f){var i=null;switch(f.type){case"constructor":if(a.deploy){Sf.warn("duplicate definition - constructor");return}(0,Xs.defineReadOnly)(a,"deploy",f);return;case"function":i=a.functions;break;case"event":i=a.events;break;case"error":i=a.errors;break;default:return}var s=f.format();if(i[s]){Sf.warn("duplicate definition - "+s);return}i[s]=f}),this.deploy||(0,Xs.defineReadOnly)(this,"deploy",r8.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,Xs.defineReadOnly)(this,"_isInterface",!0)}return t.prototype.format=function(e){e||(e=r8.FormatTypes.full),e===r8.FormatTypes.sighash&&Sf.throwArgumentError("interface does not support formatting sighash","format",e);var n=this.fragments.map(function(a){return a.format(e)});return e===r8.FormatTypes.json?JSON.stringify(n.map(function(a){return JSON.parse(a)})):n},t.getAbiCoder=function(){return DF0.defaultAbiCoder},t.getAddress=function(e){return(0,BF0.getAddress)(e)},t.getSighash=function(e){return(0,uf.hexDataSlice)((0,_N.id)(e.format()),0,4)},t.getEventTopic=function(e){return(0,_N.id)(e.format())},t.prototype.getFunction=function(e){if((0,uf.isHexString)(e)){for(var n in this.functions)if(e===this.getSighash(n))return this.functions[n];Sf.throwArgumentError("no matching function","sighash",e)}if(e.indexOf("(")===-1){var a=e.trim(),r=Object.keys(this.functions).filter(function(i){return i.split("(")[0]===a});return r.length===0?Sf.throwArgumentError("no matching function","name",a):r.length>1&&Sf.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var f=this.functions[r8.FunctionFragment.fromString(e).format()];return f||Sf.throwArgumentError("no matching function","signature",e),f},t.prototype.getEvent=function(e){if((0,uf.isHexString)(e)){var n=e.toLowerCase();for(var a in this.events)if(n===this.getEventTopic(a))return this.events[a];Sf.throwArgumentError("no matching event","topichash",n)}if(e.indexOf("(")===-1){var r=e.trim(),f=Object.keys(this.events).filter(function(s){return s.split("(")[0]===r});return f.length===0?Sf.throwArgumentError("no matching event","name",r):f.length>1&&Sf.throwArgumentError("multiple matching events","name",r),this.events[f[0]]}var i=this.events[r8.EventFragment.fromString(e).format()];return i||Sf.throwArgumentError("no matching event","signature",e),i},t.prototype.getError=function(e){if((0,uf.isHexString)(e)){var n=(0,Xs.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===n(r))return this.errors[a]}Sf.throwArgumentError("no matching error","sighash",e)}if(e.indexOf("(")===-1){var f=e.trim(),i=Object.keys(this.errors).filter(function(o){return o.split("(")[0]===f});return i.length===0?Sf.throwArgumentError("no matching error","name",f):i.length>1&&Sf.throwArgumentError("multiple matching errors","name",f),this.errors[i[0]]}var s=this.errors[r8.FunctionFragment.fromString(e).format()];return s||Sf.throwArgumentError("no matching error","signature",e),s},t.prototype.getSighash=function(e){if(typeof e=="string")try{e=this.getFunction(e)}catch(n){try{e=this.getError(e)}catch{throw n}}return(0,Xs.getStatic)(this.constructor,"getSighash")(e)},t.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,Xs.getStatic)(this.constructor,"getEventTopic")(e)},t.prototype._decodeParams=function(e,n){return this._abiCoder.decode(e,n)},t.prototype._encodeParams=function(e,n){return this._abiCoder.encode(e,n)},t.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},t.prototype.decodeErrorResult=function(e,n){typeof e=="string"&&(e=this.getError(e));var a=(0,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match error "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeErrorResult=function(e,n){return typeof e=="string"&&(e=this.getError(e)),(0,uf.hexlify)((0,uf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionData=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,uf.arrayify)(n);return(0,uf.hexlify)(a.slice(0,4))!==this.getSighash(e)&&Sf.throwArgumentError("data signature does not match function "+e.name+".","data",(0,uf.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},t.prototype.encodeFunctionData=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,uf.hexlify)((0,uf.concat)([this.getSighash(e),this._encodeParams(e.inputs,n||[])]))},t.prototype.decodeFunctionResult=function(e,n){typeof e=="string"&&(e=this.getFunction(e));var a=(0,uf.arrayify)(n),r=null,f="",i=null,s=null,o=null;switch(a.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,a)}catch{}break;case 4:{var c=(0,uf.hexlify)(a.slice(0,4)),d=FF0[c];if(d)i=this._abiCoder.decode(d.inputs,a.slice(4)),s=d.name,o=d.signature,d.reason&&(r=i[0]),s==="Error"?f="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(i[0]):s==="Panic"&&(f="; VM Exception while processing transaction: reverted with panic code "+i[0]);else try{var l=this.getError(c);i=this._abiCoder.decode(l.inputs,a.slice(4)),s=l.name,o=l.format()}catch{}break}}return Sf.throwError("call revert exception"+f,AN.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,uf.hexlify)(n),errorArgs:i,errorName:s,errorSignature:o,reason:r})},t.prototype.encodeFunctionResult=function(e,n){return typeof e=="string"&&(e=this.getFunction(e)),(0,uf.hexlify)(this._abiCoder.encode(e.outputs,n||[]))},t.prototype.encodeFilterTopics=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e)),n.length>e.inputs.length&&Sf.throwError("too many arguments for "+e.format(),AN.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:n});var r=[];e.anonymous||r.push(this.getEventTopic(e));var f=function(i,s){return i.type==="string"?(0,_N.id)(s):i.type==="bytes"?(0,lxe.keccak256)((0,uf.hexlify)(s)):(i.type==="bool"&&typeof s=="boolean"&&(s=s?"0x01":"0x00"),i.type.match(/^u?int/)&&(s=dxe.BigNumber.from(s).toHexString()),i.type==="address"&&a._abiCoder.encode(["address"],[s]),(0,uf.hexZeroPad)((0,uf.hexlify)(s),32))};for(n.forEach(function(i,s){var o=e.inputs[s];if(!o.indexed){i!=null&&Sf.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,i);return}i==null?r.push(null):o.baseType==="array"||o.baseType==="tuple"?Sf.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,i):Array.isArray(i)?r.push(i.map(function(c){return f(o,c)})):r.push(f(o,i))});r.length&&r[r.length-1]===null;)r.pop();return r},t.prototype.encodeEventLog=function(e,n){var a=this;typeof e=="string"&&(e=this.getEvent(e));var r=[],f=[],i=[];return e.anonymous||r.push(this.getEventTopic(e)),n.length!==e.inputs.length&&Sf.throwArgumentError("event arguments/values mismatch","values",n),e.inputs.forEach(function(s,o){var c=n[o];if(s.indexed)if(s.type==="string")r.push((0,_N.id)(c));else if(s.type==="bytes")r.push((0,lxe.keccak256)(c));else{if(s.baseType==="tuple"||s.baseType==="array")throw new Error("not implemented");r.push(a._abiCoder.encode([s.type],[c]))}else f.push(s),i.push(c)}),{data:this._abiCoder.encode(f,i),topics:r}},t.prototype.decodeEventLog=function(e,n,a){if(typeof e=="string"&&(e=this.getEvent(e)),a!=null&&!e.anonymous){var r=this.getEventTopic(e);(!(0,uf.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&Sf.throwError("fragment/topic mismatch",AN.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:r,value:a[0]}),a=a.slice(1)}var f=[],i=[],s=[];e.inputs.forEach(function(k,O){k.indexed?k.type==="string"||k.type==="bytes"||k.baseType==="tuple"||k.baseType==="array"?(f.push(r8.ParamType.fromObject({type:"bytes32",name:k.name})),s.push(!0)):(f.push(k),s.push(!1)):(i.push(k),s.push(!1))});var o=a!=null?this._abiCoder.decode(f,(0,uf.concat)(a)):null,c=this._abiCoder.decode(i,n,!0),d=[],l=0,h=0;e.inputs.forEach(function(k,O){if(k.indexed)if(o==null)d[O]=new lte({_isIndexed:!0,hash:null});else if(s[O])d[O]=new lte({_isIndexed:!0,hash:o[h++]});else try{d[O]=o[h++]}catch(z){d[O]=z}else try{d[O]=c[l++]}catch(z){d[O]=z}if(k.name&&d[k.name]==null){var F=d[O];F instanceof Error?Object.defineProperty(d,k.name,{enumerable:!0,get:function(){throw uxe("property "+JSON.stringify(k.name),F)}}):d[k.name]=F}});for(var y=function(k){var O=d[k];O instanceof Error&&Object.defineProperty(d,k,{enumerable:!0,get:function(){throw uxe("index "+k,O)}})},v=0;v{"use strict";u();p();Object.defineProperty(Ya,"__esModule",{value:!0});Ya.TransactionDescription=Ya.LogDescription=Ya.checkResultErrors=Ya.Indexed=Ya.Interface=Ya.defaultAbiCoder=Ya.AbiCoder=Ya.FormatTypes=Ya.ParamType=Ya.FunctionFragment=Ya.Fragment=Ya.EventFragment=Ya.ErrorFragment=Ya.ConstructorFragment=void 0;var My=rN();Object.defineProperty(Ya,"ConstructorFragment",{enumerable:!0,get:function(){return My.ConstructorFragment}});Object.defineProperty(Ya,"ErrorFragment",{enumerable:!0,get:function(){return My.ErrorFragment}});Object.defineProperty(Ya,"EventFragment",{enumerable:!0,get:function(){return My.EventFragment}});Object.defineProperty(Ya,"FormatTypes",{enumerable:!0,get:function(){return My.FormatTypes}});Object.defineProperty(Ya,"Fragment",{enumerable:!0,get:function(){return My.Fragment}});Object.defineProperty(Ya,"FunctionFragment",{enumerable:!0,get:function(){return My.FunctionFragment}});Object.defineProperty(Ya,"ParamType",{enumerable:!0,get:function(){return My.ParamType}});var yxe=ete();Object.defineProperty(Ya,"AbiCoder",{enumerable:!0,get:function(){return yxe.AbiCoder}});Object.defineProperty(Ya,"defaultAbiCoder",{enumerable:!0,get:function(){return yxe.defaultAbiCoder}});var xC=bxe();Object.defineProperty(Ya,"checkResultErrors",{enumerable:!0,get:function(){return xC.checkResultErrors}});Object.defineProperty(Ya,"Indexed",{enumerable:!0,get:function(){return xC.Indexed}});Object.defineProperty(Ya,"Interface",{enumerable:!0,get:function(){return xC.Interface}});Object.defineProperty(Ya,"LogDescription",{enumerable:!0,get:function(){return xC.LogDescription}});Object.defineProperty(Ya,"TransactionDescription",{enumerable:!0,get:function(){return xC.TransactionDescription}})});var gxe=D(CN=>{"use strict";u();p();Object.defineProperty(CN,"__esModule",{value:!0});CN.version=void 0;CN.version="abstract-provider/5.7.0"});var C3=D(ms=>{"use strict";u();p();var SN=ms&&ms.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),OF0=ms&&ms.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},UF0=ms&&ms.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(MN,"__esModule",{value:!0});MN.version=void 0;MN.version="abstract-signer/5.7.0"});var i8=D(Ed=>{"use strict";u();p();var QF0=Ed&&Ed.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),el=Ed&&Ed.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},tl=Ed&&Ed.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0)throw o;return xd.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f8.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:o,tx:n})})),n.chainId==null?n.chainId=this.getChainId():n.chainId=Promise.all([Promise.resolve(n.chainId),this.getChainId()]).then(function(o){return o[1]!==0&&o[0]!==o[1]&&xd.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,k3.resolveProperties)(n)];case 6:return[2,s.sent()]}})})},t.prototype._checkProvider=function(e){this.provider||xd.throwError("missing provider",f8.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},t.isSigner=function(e){return!!(e&&e._isSigner)},t}();Ed.Signer=wxe;var JF0=function(t){QF0(e,t);function e(n,a){var r=t.call(this)||this;return(0,k3.defineReadOnly)(r,"address",n),(0,k3.defineReadOnly)(r,"provider",a||null),r}return e.prototype.getAddress=function(){return Promise.resolve(this.address)},e.prototype._fail=function(n,a){return Promise.resolve().then(function(){xd.throwError(n,f8.Logger.errors.UNSUPPORTED_OPERATION,{operation:a})})},e.prototype.signMessage=function(n){return this._fail("VoidSigner cannot sign messages","signMessage")},e.prototype.signTransaction=function(n){return this._fail("VoidSigner cannot sign transactions","signTransaction")},e.prototype._signTypedData=function(n,a,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},e.prototype.connect=function(n){return new e(this.address,n)},e}(wxe);Ed.VoidSigner=JF0});var Txe=D((KUn,XF0)=>{XF0.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var kr=D((xxe,pte)=>{u();p();(function(t,e){"use strict";function n(R,T){if(!R)throw new Error(T||"Assertion failed")}function a(R,T){R.super_=T;var N=function(){};N.prototype=T.prototype,R.prototype=new N,R.prototype.constructor=R}function r(R,T,N){if(r.isBN(R))return R;this.negative=0,this.words=null,this.length=0,this.red=null,R!==null&&((T==="le"||T==="be")&&(N=T,T=10),this._init(R||0,T||10,N||"be"))}typeof t=="object"?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var f;try{typeof window<"u"&&typeof window.Buffer<"u"?f=window.Buffer:f=Qf().Buffer}catch{}r.isBN=function(T){return T instanceof r?!0:T!==null&&typeof T=="object"&&T.constructor.wordSize===r.wordSize&&Array.isArray(T.words)},r.max=function(T,N){return T.cmp(N)>0?T:N},r.min=function(T,N){return T.cmp(N)<0?T:N},r.prototype._init=function(T,N,w){if(typeof T=="number")return this._initNumber(T,N,w);if(typeof T=="object")return this._initArray(T,N,w);N==="hex"&&(N=16),n(N===(N|0)&&N>=2&&N<=36),T=T.toString().replace(/\s+/g,"");var b=0;T[0]==="-"&&(b++,this.negative=1),b=0;b-=3)P=T[b]|T[b-1]<<8|T[b-2]<<16,this.words[A]|=P<>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);else if(w==="le")for(b=0,A=0;b>>26-L&67108863,L+=24,L>=26&&(L-=26,A++);return this.strip()};function i(R,T){var N=R.charCodeAt(T);return N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:N-48&15}function s(R,T,N){var w=i(R,N);return N-1>=T&&(w|=i(R,N-1)<<4),w}r.prototype._parseHex=function(T,N,w){this.length=Math.ceil((T.length-N)/6),this.words=new Array(this.length);for(var b=0;b=N;b-=2)L=s(T,N,b)<=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8;else{var E=T.length-N;for(b=E%2===0?N+1:N;b=18?(A-=18,P+=1,this.words[P]|=L>>>26):A+=8}this.strip()};function o(R,T,N,w){for(var b=0,A=Math.min(R.length,N),P=T;P=49?b+=L-49+10:L>=17?b+=L-17+10:b+=L}return b}r.prototype._parseBase=function(T,N,w){this.words=[0],this.length=1;for(var b=0,A=1;A<=67108863;A*=N)b++;b--,A=A/N|0;for(var P=T.length-w,L=P%b,E=Math.min(P,P-L)+w,g=0,B=w;B1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(T,N){T=T||10,N=N|0||1;var w;if(T===16||T==="hex"){w="";for(var b=0,A=0,P=0;P>>24-b&16777215,A!==0||P!==this.length-1?w=c[6-E.length]+E+w:w=E+w,b+=2,b>=26&&(b-=26,P--)}for(A!==0&&(w=A.toString(16)+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(T===(T|0)&&T>=2&&T<=36){var g=d[T],B=l[T];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var S=M.modn(B).toString(T);M=M.idivn(B),M.isZero()?w=S+w:w=c[g-S.length]+S+w}for(this.isZero()&&(w="0"+w);w.length%N!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var T=this.words[0];return this.length===2?T+=this.words[1]*67108864:this.length===3&&this.words[2]===1?T+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-T:T},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(T,N){return n(typeof f<"u"),this.toArrayLike(f,T,N)},r.prototype.toArray=function(T,N){return this.toArrayLike(Array,T,N)},r.prototype.toArrayLike=function(T,N,w){var b=this.byteLength(),A=w||Math.max(1,b);n(b<=A,"byte array longer than desired length"),n(A>0,"Requested array length <= 0"),this.strip();var P=N==="le",L=new T(A),E,g,B=this.clone();if(P){for(g=0;!B.isZero();g++)E=B.andln(255),B.iushrn(8),L[g]=E;for(;g=4096&&(w+=13,N>>>=13),N>=64&&(w+=7,N>>>=7),N>=8&&(w+=4,N>>>=4),N>=2&&(w+=2,N>>>=2),w+N},r.prototype._zeroBits=function(T){if(T===0)return 26;var N=T,w=0;return N&8191||(w+=13,N>>>=13),N&127||(w+=7,N>>>=7),N&15||(w+=4,N>>>=4),N&3||(w+=2,N>>>=2),N&1||w++,w},r.prototype.bitLength=function(){var T=this.words[this.length-1],N=this._countBits(T);return(this.length-1)*26+N};function h(R){for(var T=new Array(R.bitLength()),N=0;N>>b}return T}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var T=0,N=0;NT.length?this.clone().ior(T):T.clone().ior(this)},r.prototype.uor=function(T){return this.length>T.length?this.clone().iuor(T):T.clone().iuor(this)},r.prototype.iuand=function(T){var N;this.length>T.length?N=T:N=this;for(var w=0;wT.length?this.clone().iand(T):T.clone().iand(this)},r.prototype.uand=function(T){return this.length>T.length?this.clone().iuand(T):T.clone().iuand(this)},r.prototype.iuxor=function(T){var N,w;this.length>T.length?(N=this,w=T):(N=T,w=this);for(var b=0;bT.length?this.clone().ixor(T):T.clone().ixor(this)},r.prototype.uxor=function(T){return this.length>T.length?this.clone().iuxor(T):T.clone().iuxor(this)},r.prototype.inotn=function(T){n(typeof T=="number"&&T>=0);var N=Math.ceil(T/26)|0,w=T%26;this._expand(N),w>0&&N--;for(var b=0;b0&&(this.words[b]=~this.words[b]&67108863>>26-w),this.strip()},r.prototype.notn=function(T){return this.clone().inotn(T)},r.prototype.setn=function(T,N){n(typeof T=="number"&&T>=0);var w=T/26|0,b=T%26;return this._expand(w+1),N?this.words[w]=this.words[w]|1<T.length?(w=this,b=T):(w=T,b=this);for(var A=0,P=0;P>>26;for(;A!==0&&P>>26;if(this.length=w.length,A!==0)this.words[this.length]=A,this.length++;else if(w!==this)for(;PT.length?this.clone().iadd(T):T.clone().iadd(this)},r.prototype.isub=function(T){if(T.negative!==0){T.negative=0;var N=this.iadd(T);return T.negative=1,N._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(T),this.negative=1,this._normSign();var w=this.cmp(T);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var b,A;w>0?(b=this,A=T):(b=T,A=this);for(var P=0,L=0;L>26,this.words[L]=N&67108863;for(;P!==0&&L>26,this.words[L]=N&67108863;if(P===0&&L>>26,M=E&67108863,S=Math.min(g,T.length-1),q=Math.max(0,g-R.length+1);q<=S;q++){var ee=g-q|0;b=R.words[ee]|0,A=T.words[q]|0,P=b*A+M,B+=P/67108864|0,M=P&67108863}N.words[g]=M|0,E=B|0}return E!==0?N.words[g]=E|0:N.length--,N.strip()}var v=function(T,N,w){var b=T.words,A=N.words,P=w.words,L=0,E,g,B,M=b[0]|0,S=M&8191,q=M>>>13,ee=b[1]|0,U=ee&8191,J=ee>>>13,Z=b[2]|0,ne=Z&8191,ue=Z>>>13,Y=b[3]|0,re=Y&8191,ie=Y>>>13,ge=b[4]|0,de=ge&8191,Ae=ge>>>13,Ge=b[5]|0,Be=Ge&8191,c0=Ge>>>13,Ye=b[6]|0,He=Ye&8191,_0=Ye>>>13,L0=b[7]|0,Ze=L0&8191,C0=L0>>>13,pe=b[8]|0,he=pe&8191,Te=pe>>>13,Ie=b[9]|0,Se=Ie&8191,Qe=Ie>>>13,u0=A[0]|0,qe=u0&8191,v0=u0>>>13,w0=A[1]|0,Ve=w0&8191,me=w0>>>13,ye=A[2]|0,_e=ye&8191,ze=ye>>>13,je=A[3]|0,Ue=je&8191,m0=je>>>13,h0=A[4]|0,$e=h0&8191,M0=h0>>>13,P0=A[5]|0,t0=P0&8191,j0=P0>>>13,z0=A[6]|0,Ke=z0&8191,B0=z0>>>13,K0=A[7]|0,s0=K0&8191,J0=K0>>>13,Y0=A[8]|0,l0=Y0&8191,Q0=Y0>>>13,et=A[9]|0,p0=et&8191,Z0=et>>>13;w.negative=T.negative^N.negative,w.length=19,E=Math.imul(S,qe),g=Math.imul(S,v0),g=g+Math.imul(q,qe)|0,B=Math.imul(q,v0);var Et=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Et>>>26)|0,Et&=67108863,E=Math.imul(U,qe),g=Math.imul(U,v0),g=g+Math.imul(J,qe)|0,B=Math.imul(J,v0),E=E+Math.imul(S,Ve)|0,g=g+Math.imul(S,me)|0,g=g+Math.imul(q,Ve)|0,B=B+Math.imul(q,me)|0;var $0=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+($0>>>26)|0,$0&=67108863,E=Math.imul(ne,qe),g=Math.imul(ne,v0),g=g+Math.imul(ue,qe)|0,B=Math.imul(ue,v0),E=E+Math.imul(U,Ve)|0,g=g+Math.imul(U,me)|0,g=g+Math.imul(J,Ve)|0,B=B+Math.imul(J,me)|0,E=E+Math.imul(S,_e)|0,g=g+Math.imul(S,ze)|0,g=g+Math.imul(q,_e)|0,B=B+Math.imul(q,ze)|0;var Tt=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,E=Math.imul(re,qe),g=Math.imul(re,v0),g=g+Math.imul(ie,qe)|0,B=Math.imul(ie,v0),E=E+Math.imul(ne,Ve)|0,g=g+Math.imul(ne,me)|0,g=g+Math.imul(ue,Ve)|0,B=B+Math.imul(ue,me)|0,E=E+Math.imul(U,_e)|0,g=g+Math.imul(U,ze)|0,g=g+Math.imul(J,_e)|0,B=B+Math.imul(J,ze)|0,E=E+Math.imul(S,Ue)|0,g=g+Math.imul(S,m0)|0,g=g+Math.imul(q,Ue)|0,B=B+Math.imul(q,m0)|0;var Pn=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,E=Math.imul(de,qe),g=Math.imul(de,v0),g=g+Math.imul(Ae,qe)|0,B=Math.imul(Ae,v0),E=E+Math.imul(re,Ve)|0,g=g+Math.imul(re,me)|0,g=g+Math.imul(ie,Ve)|0,B=B+Math.imul(ie,me)|0,E=E+Math.imul(ne,_e)|0,g=g+Math.imul(ne,ze)|0,g=g+Math.imul(ue,_e)|0,B=B+Math.imul(ue,ze)|0,E=E+Math.imul(U,Ue)|0,g=g+Math.imul(U,m0)|0,g=g+Math.imul(J,Ue)|0,B=B+Math.imul(J,m0)|0,E=E+Math.imul(S,$e)|0,g=g+Math.imul(S,M0)|0,g=g+Math.imul(q,$e)|0,B=B+Math.imul(q,M0)|0;var Ln=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,E=Math.imul(Be,qe),g=Math.imul(Be,v0),g=g+Math.imul(c0,qe)|0,B=Math.imul(c0,v0),E=E+Math.imul(de,Ve)|0,g=g+Math.imul(de,me)|0,g=g+Math.imul(Ae,Ve)|0,B=B+Math.imul(Ae,me)|0,E=E+Math.imul(re,_e)|0,g=g+Math.imul(re,ze)|0,g=g+Math.imul(ie,_e)|0,B=B+Math.imul(ie,ze)|0,E=E+Math.imul(ne,Ue)|0,g=g+Math.imul(ne,m0)|0,g=g+Math.imul(ue,Ue)|0,B=B+Math.imul(ue,m0)|0,E=E+Math.imul(U,$e)|0,g=g+Math.imul(U,M0)|0,g=g+Math.imul(J,$e)|0,B=B+Math.imul(J,M0)|0,E=E+Math.imul(S,t0)|0,g=g+Math.imul(S,j0)|0,g=g+Math.imul(q,t0)|0,B=B+Math.imul(q,j0)|0;var Fn=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,E=Math.imul(He,qe),g=Math.imul(He,v0),g=g+Math.imul(_0,qe)|0,B=Math.imul(_0,v0),E=E+Math.imul(Be,Ve)|0,g=g+Math.imul(Be,me)|0,g=g+Math.imul(c0,Ve)|0,B=B+Math.imul(c0,me)|0,E=E+Math.imul(de,_e)|0,g=g+Math.imul(de,ze)|0,g=g+Math.imul(Ae,_e)|0,B=B+Math.imul(Ae,ze)|0,E=E+Math.imul(re,Ue)|0,g=g+Math.imul(re,m0)|0,g=g+Math.imul(ie,Ue)|0,B=B+Math.imul(ie,m0)|0,E=E+Math.imul(ne,$e)|0,g=g+Math.imul(ne,M0)|0,g=g+Math.imul(ue,$e)|0,B=B+Math.imul(ue,M0)|0,E=E+Math.imul(U,t0)|0,g=g+Math.imul(U,j0)|0,g=g+Math.imul(J,t0)|0,B=B+Math.imul(J,j0)|0,E=E+Math.imul(S,Ke)|0,g=g+Math.imul(S,B0)|0,g=g+Math.imul(q,Ke)|0,B=B+Math.imul(q,B0)|0;var Nn=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,E=Math.imul(Ze,qe),g=Math.imul(Ze,v0),g=g+Math.imul(C0,qe)|0,B=Math.imul(C0,v0),E=E+Math.imul(He,Ve)|0,g=g+Math.imul(He,me)|0,g=g+Math.imul(_0,Ve)|0,B=B+Math.imul(_0,me)|0,E=E+Math.imul(Be,_e)|0,g=g+Math.imul(Be,ze)|0,g=g+Math.imul(c0,_e)|0,B=B+Math.imul(c0,ze)|0,E=E+Math.imul(de,Ue)|0,g=g+Math.imul(de,m0)|0,g=g+Math.imul(Ae,Ue)|0,B=B+Math.imul(Ae,m0)|0,E=E+Math.imul(re,$e)|0,g=g+Math.imul(re,M0)|0,g=g+Math.imul(ie,$e)|0,B=B+Math.imul(ie,M0)|0,E=E+Math.imul(ne,t0)|0,g=g+Math.imul(ne,j0)|0,g=g+Math.imul(ue,t0)|0,B=B+Math.imul(ue,j0)|0,E=E+Math.imul(U,Ke)|0,g=g+Math.imul(U,B0)|0,g=g+Math.imul(J,Ke)|0,B=B+Math.imul(J,B0)|0,E=E+Math.imul(S,s0)|0,g=g+Math.imul(S,J0)|0,g=g+Math.imul(q,s0)|0,B=B+Math.imul(q,J0)|0;var On=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(On>>>26)|0,On&=67108863,E=Math.imul(he,qe),g=Math.imul(he,v0),g=g+Math.imul(Te,qe)|0,B=Math.imul(Te,v0),E=E+Math.imul(Ze,Ve)|0,g=g+Math.imul(Ze,me)|0,g=g+Math.imul(C0,Ve)|0,B=B+Math.imul(C0,me)|0,E=E+Math.imul(He,_e)|0,g=g+Math.imul(He,ze)|0,g=g+Math.imul(_0,_e)|0,B=B+Math.imul(_0,ze)|0,E=E+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,m0)|0,g=g+Math.imul(c0,Ue)|0,B=B+Math.imul(c0,m0)|0,E=E+Math.imul(de,$e)|0,g=g+Math.imul(de,M0)|0,g=g+Math.imul(Ae,$e)|0,B=B+Math.imul(Ae,M0)|0,E=E+Math.imul(re,t0)|0,g=g+Math.imul(re,j0)|0,g=g+Math.imul(ie,t0)|0,B=B+Math.imul(ie,j0)|0,E=E+Math.imul(ne,Ke)|0,g=g+Math.imul(ne,B0)|0,g=g+Math.imul(ue,Ke)|0,B=B+Math.imul(ue,B0)|0,E=E+Math.imul(U,s0)|0,g=g+Math.imul(U,J0)|0,g=g+Math.imul(J,s0)|0,B=B+Math.imul(J,J0)|0,E=E+Math.imul(S,l0)|0,g=g+Math.imul(S,Q0)|0,g=g+Math.imul(q,l0)|0,B=B+Math.imul(q,Q0)|0;var Ha=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,E=Math.imul(Se,qe),g=Math.imul(Se,v0),g=g+Math.imul(Qe,qe)|0,B=Math.imul(Qe,v0),E=E+Math.imul(he,Ve)|0,g=g+Math.imul(he,me)|0,g=g+Math.imul(Te,Ve)|0,B=B+Math.imul(Te,me)|0,E=E+Math.imul(Ze,_e)|0,g=g+Math.imul(Ze,ze)|0,g=g+Math.imul(C0,_e)|0,B=B+Math.imul(C0,ze)|0,E=E+Math.imul(He,Ue)|0,g=g+Math.imul(He,m0)|0,g=g+Math.imul(_0,Ue)|0,B=B+Math.imul(_0,m0)|0,E=E+Math.imul(Be,$e)|0,g=g+Math.imul(Be,M0)|0,g=g+Math.imul(c0,$e)|0,B=B+Math.imul(c0,M0)|0,E=E+Math.imul(de,t0)|0,g=g+Math.imul(de,j0)|0,g=g+Math.imul(Ae,t0)|0,B=B+Math.imul(Ae,j0)|0,E=E+Math.imul(re,Ke)|0,g=g+Math.imul(re,B0)|0,g=g+Math.imul(ie,Ke)|0,B=B+Math.imul(ie,B0)|0,E=E+Math.imul(ne,s0)|0,g=g+Math.imul(ne,J0)|0,g=g+Math.imul(ue,s0)|0,B=B+Math.imul(ue,J0)|0,E=E+Math.imul(U,l0)|0,g=g+Math.imul(U,Q0)|0,g=g+Math.imul(J,l0)|0,B=B+Math.imul(J,Q0)|0,E=E+Math.imul(S,p0)|0,g=g+Math.imul(S,Z0)|0,g=g+Math.imul(q,p0)|0,B=B+Math.imul(q,Z0)|0;var pr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(pr>>>26)|0,pr&=67108863,E=Math.imul(Se,Ve),g=Math.imul(Se,me),g=g+Math.imul(Qe,Ve)|0,B=Math.imul(Qe,me),E=E+Math.imul(he,_e)|0,g=g+Math.imul(he,ze)|0,g=g+Math.imul(Te,_e)|0,B=B+Math.imul(Te,ze)|0,E=E+Math.imul(Ze,Ue)|0,g=g+Math.imul(Ze,m0)|0,g=g+Math.imul(C0,Ue)|0,B=B+Math.imul(C0,m0)|0,E=E+Math.imul(He,$e)|0,g=g+Math.imul(He,M0)|0,g=g+Math.imul(_0,$e)|0,B=B+Math.imul(_0,M0)|0,E=E+Math.imul(Be,t0)|0,g=g+Math.imul(Be,j0)|0,g=g+Math.imul(c0,t0)|0,B=B+Math.imul(c0,j0)|0,E=E+Math.imul(de,Ke)|0,g=g+Math.imul(de,B0)|0,g=g+Math.imul(Ae,Ke)|0,B=B+Math.imul(Ae,B0)|0,E=E+Math.imul(re,s0)|0,g=g+Math.imul(re,J0)|0,g=g+Math.imul(ie,s0)|0,B=B+Math.imul(ie,J0)|0,E=E+Math.imul(ne,l0)|0,g=g+Math.imul(ne,Q0)|0,g=g+Math.imul(ue,l0)|0,B=B+Math.imul(ue,Q0)|0,E=E+Math.imul(U,p0)|0,g=g+Math.imul(U,Z0)|0,g=g+Math.imul(J,p0)|0,B=B+Math.imul(J,Z0)|0;var za=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(za>>>26)|0,za&=67108863,E=Math.imul(Se,_e),g=Math.imul(Se,ze),g=g+Math.imul(Qe,_e)|0,B=Math.imul(Qe,ze),E=E+Math.imul(he,Ue)|0,g=g+Math.imul(he,m0)|0,g=g+Math.imul(Te,Ue)|0,B=B+Math.imul(Te,m0)|0,E=E+Math.imul(Ze,$e)|0,g=g+Math.imul(Ze,M0)|0,g=g+Math.imul(C0,$e)|0,B=B+Math.imul(C0,M0)|0,E=E+Math.imul(He,t0)|0,g=g+Math.imul(He,j0)|0,g=g+Math.imul(_0,t0)|0,B=B+Math.imul(_0,j0)|0,E=E+Math.imul(Be,Ke)|0,g=g+Math.imul(Be,B0)|0,g=g+Math.imul(c0,Ke)|0,B=B+Math.imul(c0,B0)|0,E=E+Math.imul(de,s0)|0,g=g+Math.imul(de,J0)|0,g=g+Math.imul(Ae,s0)|0,B=B+Math.imul(Ae,J0)|0,E=E+Math.imul(re,l0)|0,g=g+Math.imul(re,Q0)|0,g=g+Math.imul(ie,l0)|0,B=B+Math.imul(ie,Q0)|0,E=E+Math.imul(ne,p0)|0,g=g+Math.imul(ne,Z0)|0,g=g+Math.imul(ue,p0)|0,B=B+Math.imul(ue,Z0)|0;var hr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(hr>>>26)|0,hr&=67108863,E=Math.imul(Se,Ue),g=Math.imul(Se,m0),g=g+Math.imul(Qe,Ue)|0,B=Math.imul(Qe,m0),E=E+Math.imul(he,$e)|0,g=g+Math.imul(he,M0)|0,g=g+Math.imul(Te,$e)|0,B=B+Math.imul(Te,M0)|0,E=E+Math.imul(Ze,t0)|0,g=g+Math.imul(Ze,j0)|0,g=g+Math.imul(C0,t0)|0,B=B+Math.imul(C0,j0)|0,E=E+Math.imul(He,Ke)|0,g=g+Math.imul(He,B0)|0,g=g+Math.imul(_0,Ke)|0,B=B+Math.imul(_0,B0)|0,E=E+Math.imul(Be,s0)|0,g=g+Math.imul(Be,J0)|0,g=g+Math.imul(c0,s0)|0,B=B+Math.imul(c0,J0)|0,E=E+Math.imul(de,l0)|0,g=g+Math.imul(de,Q0)|0,g=g+Math.imul(Ae,l0)|0,B=B+Math.imul(Ae,Q0)|0,E=E+Math.imul(re,p0)|0,g=g+Math.imul(re,Z0)|0,g=g+Math.imul(ie,p0)|0,B=B+Math.imul(ie,Z0)|0;var ar=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,E=Math.imul(Se,$e),g=Math.imul(Se,M0),g=g+Math.imul(Qe,$e)|0,B=Math.imul(Qe,M0),E=E+Math.imul(he,t0)|0,g=g+Math.imul(he,j0)|0,g=g+Math.imul(Te,t0)|0,B=B+Math.imul(Te,j0)|0,E=E+Math.imul(Ze,Ke)|0,g=g+Math.imul(Ze,B0)|0,g=g+Math.imul(C0,Ke)|0,B=B+Math.imul(C0,B0)|0,E=E+Math.imul(He,s0)|0,g=g+Math.imul(He,J0)|0,g=g+Math.imul(_0,s0)|0,B=B+Math.imul(_0,J0)|0,E=E+Math.imul(Be,l0)|0,g=g+Math.imul(Be,Q0)|0,g=g+Math.imul(c0,l0)|0,B=B+Math.imul(c0,Q0)|0,E=E+Math.imul(de,p0)|0,g=g+Math.imul(de,Z0)|0,g=g+Math.imul(Ae,p0)|0,B=B+Math.imul(Ae,Z0)|0;var Ir=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,E=Math.imul(Se,t0),g=Math.imul(Se,j0),g=g+Math.imul(Qe,t0)|0,B=Math.imul(Qe,j0),E=E+Math.imul(he,Ke)|0,g=g+Math.imul(he,B0)|0,g=g+Math.imul(Te,Ke)|0,B=B+Math.imul(Te,B0)|0,E=E+Math.imul(Ze,s0)|0,g=g+Math.imul(Ze,J0)|0,g=g+Math.imul(C0,s0)|0,B=B+Math.imul(C0,J0)|0,E=E+Math.imul(He,l0)|0,g=g+Math.imul(He,Q0)|0,g=g+Math.imul(_0,l0)|0,B=B+Math.imul(_0,Q0)|0,E=E+Math.imul(Be,p0)|0,g=g+Math.imul(Be,Z0)|0,g=g+Math.imul(c0,p0)|0,B=B+Math.imul(c0,Z0)|0;var Jr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,E=Math.imul(Se,Ke),g=Math.imul(Se,B0),g=g+Math.imul(Qe,Ke)|0,B=Math.imul(Qe,B0),E=E+Math.imul(he,s0)|0,g=g+Math.imul(he,J0)|0,g=g+Math.imul(Te,s0)|0,B=B+Math.imul(Te,J0)|0,E=E+Math.imul(Ze,l0)|0,g=g+Math.imul(Ze,Q0)|0,g=g+Math.imul(C0,l0)|0,B=B+Math.imul(C0,Q0)|0,E=E+Math.imul(He,p0)|0,g=g+Math.imul(He,Z0)|0,g=g+Math.imul(_0,p0)|0,B=B+Math.imul(_0,Z0)|0;var rr=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(rr>>>26)|0,rr&=67108863,E=Math.imul(Se,s0),g=Math.imul(Se,J0),g=g+Math.imul(Qe,s0)|0,B=Math.imul(Qe,J0),E=E+Math.imul(he,l0)|0,g=g+Math.imul(he,Q0)|0,g=g+Math.imul(Te,l0)|0,B=B+Math.imul(Te,Q0)|0,E=E+Math.imul(Ze,p0)|0,g=g+Math.imul(Ze,Z0)|0,g=g+Math.imul(C0,p0)|0,B=B+Math.imul(C0,Z0)|0;var cf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(cf>>>26)|0,cf&=67108863,E=Math.imul(Se,l0),g=Math.imul(Se,Q0),g=g+Math.imul(Qe,l0)|0,B=Math.imul(Qe,Q0),E=E+Math.imul(he,p0)|0,g=g+Math.imul(he,Z0)|0,g=g+Math.imul(Te,p0)|0,B=B+Math.imul(Te,Z0)|0;var Gf=(L+E|0)+((g&8191)<<13)|0;L=(B+(g>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,E=Math.imul(Se,p0),g=Math.imul(Se,Z0),g=g+Math.imul(Qe,p0)|0,B=Math.imul(Qe,Z0);var Qs=(L+E|0)+((g&8191)<<13)|0;return L=(B+(g>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,P[0]=Et,P[1]=$0,P[2]=Tt,P[3]=Pn,P[4]=Ln,P[5]=Fn,P[6]=Nn,P[7]=On,P[8]=Ha,P[9]=pr,P[10]=za,P[11]=hr,P[12]=ar,P[13]=Ir,P[14]=Jr,P[15]=rr,P[16]=cf,P[17]=Gf,P[18]=Qs,L!==0&&(P[19]=L,w.length++),w};Math.imul||(v=y);function k(R,T,N){N.negative=T.negative^R.negative,N.length=R.length+T.length;for(var w=0,b=0,A=0;A>>26)|0,b+=P>>>26,P&=67108863}N.words[A]=L,w=P,P=b}return w!==0?N.words[A]=w:N.length--,N.strip()}function O(R,T,N){var w=new F;return w.mulp(R,T,N)}r.prototype.mulTo=function(T,N){var w,b=this.length+T.length;return this.length===10&&T.length===10?w=v(this,T,N):b<63?w=y(this,T,N):b<1024?w=k(this,T,N):w=O(this,T,N),w};function F(R,T){this.x=R,this.y=T}F.prototype.makeRBT=function(T){for(var N=new Array(T),w=r.prototype._countBits(T)-1,b=0;b>=1;return b},F.prototype.permute=function(T,N,w,b,A,P){for(var L=0;L>>1)A++;return 1<>>13,w[2*P+1]=A&8191,A=A>>>13;for(P=2*N;P>=26,N+=b/67108864|0,N+=A>>>26,this.words[w]=A&67108863}return N!==0&&(this.words[w]=N,this.length++),this},r.prototype.muln=function(T){return this.clone().imuln(T)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(T){var N=h(T);if(N.length===0)return new r(1);for(var w=this,b=0;b=0);var N=T%26,w=(T-N)/26,b=67108863>>>26-N<<26-N,A;if(N!==0){var P=0;for(A=0;A>>26-N}P&&(this.words[A]=P,this.length++)}if(w!==0){for(A=this.length-1;A>=0;A--)this.words[A+w]=this.words[A];for(A=0;A=0);var b;N?b=(N-N%26)/26:b=0;var A=T%26,P=Math.min((T-A)/26,this.length),L=67108863^67108863>>>A<P)for(this.length-=P,g=0;g=0&&(B!==0||g>=b);g--){var M=this.words[g]|0;this.words[g]=B<<26-A|M>>>A,B=M&L}return E&&B!==0&&(E.words[E.length++]=B),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(T,N,w){return n(this.negative===0),this.iushrn(T,N,w)},r.prototype.shln=function(T){return this.clone().ishln(T)},r.prototype.ushln=function(T){return this.clone().iushln(T)},r.prototype.shrn=function(T){return this.clone().ishrn(T)},r.prototype.ushrn=function(T){return this.clone().iushrn(T)},r.prototype.testn=function(T){n(typeof T=="number"&&T>=0);var N=T%26,w=(T-N)/26,b=1<=0);var N=T%26,w=(T-N)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(N!==0&&w++,this.length=Math.min(w,this.length),N!==0){var b=67108863^67108863>>>N<=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},r.prototype.isubn=function(T){if(n(typeof T=="number"),n(T<67108864),T<0)return this.iaddn(-T);if(this.negative!==0)return this.negative=0,this.iaddn(T),this.negative=1,this;if(this.words[0]-=T,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N>26)-(E/67108864|0),this.words[A+w]=P&67108863}for(;A>26,this.words[A+w]=P&67108863;if(L===0)return this.strip();for(n(L===-1),L=0,A=0;A>26,this.words[A]=P&67108863;return this.negative=1,this.strip()},r.prototype._wordDiv=function(T,N){var w=this.length-T.length,b=this.clone(),A=T,P=A.words[A.length-1]|0,L=this._countBits(P);w=26-L,w!==0&&(A=A.ushln(w),b.iushln(w),P=A.words[A.length-1]|0);var E=b.length-A.length,g;if(N!=="mod"){g=new r(null),g.length=E+1,g.words=new Array(g.length);for(var B=0;B=0;S--){var q=(b.words[A.length+S]|0)*67108864+(b.words[A.length+S-1]|0);for(q=Math.min(q/P|0,67108863),b._ishlnsubmul(A,q,S);b.negative!==0;)q--,b.negative=0,b._ishlnsubmul(A,1,S),b.isZero()||(b.negative^=1);g&&(g.words[S]=q)}return g&&g.strip(),b.strip(),N!=="div"&&w!==0&&b.iushrn(w),{div:g||null,mod:b}},r.prototype.divmod=function(T,N,w){if(n(!T.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var b,A,P;return this.negative!==0&&T.negative===0?(P=this.neg().divmod(T,N),N!=="mod"&&(b=P.div.neg()),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.iadd(T)),{div:b,mod:A}):this.negative===0&&T.negative!==0?(P=this.divmod(T.neg(),N),N!=="mod"&&(b=P.div.neg()),{div:b,mod:P.mod}):this.negative&T.negative?(P=this.neg().divmod(T.neg(),N),N!=="div"&&(A=P.mod.neg(),w&&A.negative!==0&&A.isub(T)),{div:P.div,mod:A}):T.length>this.length||this.cmp(T)<0?{div:new r(0),mod:this}:T.length===1?N==="div"?{div:this.divn(T.words[0]),mod:null}:N==="mod"?{div:null,mod:new r(this.modn(T.words[0]))}:{div:this.divn(T.words[0]),mod:new r(this.modn(T.words[0]))}:this._wordDiv(T,N)},r.prototype.div=function(T){return this.divmod(T,"div",!1).div},r.prototype.mod=function(T){return this.divmod(T,"mod",!1).mod},r.prototype.umod=function(T){return this.divmod(T,"mod",!0).mod},r.prototype.divRound=function(T){var N=this.divmod(T);if(N.mod.isZero())return N.div;var w=N.div.negative!==0?N.mod.isub(T):N.mod,b=T.ushrn(1),A=T.andln(1),P=w.cmp(b);return P<0||A===1&&P===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},r.prototype.modn=function(T){n(T<=67108863);for(var N=(1<<26)%T,w=0,b=this.length-1;b>=0;b--)w=(N*w+(this.words[b]|0))%T;return w},r.prototype.idivn=function(T){n(T<=67108863);for(var N=0,w=this.length-1;w>=0;w--){var b=(this.words[w]|0)+N*67108864;this.words[w]=b/T|0,N=b%T}return this.strip()},r.prototype.divn=function(T){return this.clone().idivn(T)},r.prototype.egcd=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var b=new r(1),A=new r(0),P=new r(0),L=new r(1),E=0;N.isEven()&&w.isEven();)N.iushrn(1),w.iushrn(1),++E;for(var g=w.clone(),B=N.clone();!N.isZero();){for(var M=0,S=1;!(N.words[0]&S)&&M<26;++M,S<<=1);if(M>0)for(N.iushrn(M);M-- >0;)(b.isOdd()||A.isOdd())&&(b.iadd(g),A.isub(B)),b.iushrn(1),A.iushrn(1);for(var q=0,ee=1;!(w.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(w.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(g),L.isub(B)),P.iushrn(1),L.iushrn(1);N.cmp(w)>=0?(N.isub(w),b.isub(P),A.isub(L)):(w.isub(N),P.isub(b),L.isub(A))}return{a:P,b:L,gcd:w.iushln(E)}},r.prototype._invmp=function(T){n(T.negative===0),n(!T.isZero());var N=this,w=T.clone();N.negative!==0?N=N.umod(T):N=N.clone();for(var b=new r(1),A=new r(0),P=w.clone();N.cmpn(1)>0&&w.cmpn(1)>0;){for(var L=0,E=1;!(N.words[0]&E)&&L<26;++L,E<<=1);if(L>0)for(N.iushrn(L);L-- >0;)b.isOdd()&&b.iadd(P),b.iushrn(1);for(var g=0,B=1;!(w.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(w.iushrn(g);g-- >0;)A.isOdd()&&A.iadd(P),A.iushrn(1);N.cmp(w)>=0?(N.isub(w),b.isub(A)):(w.isub(N),A.isub(b))}var M;return N.cmpn(1)===0?M=b:M=A,M.cmpn(0)<0&&M.iadd(T),M},r.prototype.gcd=function(T){if(this.isZero())return T.abs();if(T.isZero())return this.abs();var N=this.clone(),w=T.clone();N.negative=0,w.negative=0;for(var b=0;N.isEven()&&w.isEven();b++)N.iushrn(1),w.iushrn(1);do{for(;N.isEven();)N.iushrn(1);for(;w.isEven();)w.iushrn(1);var A=N.cmp(w);if(A<0){var P=N;N=w,w=P}else if(A===0||w.cmpn(1)===0)break;N.isub(w)}while(!0);return w.iushln(b)},r.prototype.invm=function(T){return this.egcd(T).a.umod(T)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(T){return this.words[0]&T},r.prototype.bincn=function(T){n(typeof T=="number");var N=T%26,w=(T-N)/26,b=1<>>26,L&=67108863,this.words[P]=L}return A!==0&&(this.words[P]=A,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(T){var N=T<0;if(this.negative!==0&&!N)return-1;if(this.negative===0&&N)return 1;this.strip();var w;if(this.length>1)w=1;else{N&&(T=-T),n(T<=67108863,"Number is too big");var b=this.words[0]|0;w=b===T?0:bT.length)return 1;if(this.length=0;w--){var b=this.words[w]|0,A=T.words[w]|0;if(b!==A){bA&&(N=1);break}}return N},r.prototype.gtn=function(T){return this.cmpn(T)===1},r.prototype.gt=function(T){return this.cmp(T)===1},r.prototype.gten=function(T){return this.cmpn(T)>=0},r.prototype.gte=function(T){return this.cmp(T)>=0},r.prototype.ltn=function(T){return this.cmpn(T)===-1},r.prototype.lt=function(T){return this.cmp(T)===-1},r.prototype.lten=function(T){return this.cmpn(T)<=0},r.prototype.lte=function(T){return this.cmp(T)<=0},r.prototype.eqn=function(T){return this.cmpn(T)===0},r.prototype.eq=function(T){return this.cmp(T)===0},r.red=function(T){return new K(T)},r.prototype.toRed=function(T){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),T.convertTo(this)._forceRed(T)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(T){return this.red=T,this},r.prototype.forceRed=function(T){return n(!this.red,"Already a number in reduction context"),this._forceRed(T)},r.prototype.redAdd=function(T){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,T)},r.prototype.redIAdd=function(T){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,T)},r.prototype.redSub=function(T){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,T)},r.prototype.redISub=function(T){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,T)},r.prototype.redShl=function(T){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,T)},r.prototype.redMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.mul(this,T)},r.prototype.redIMul=function(T){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,T),this.red.imul(this,T)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(T){return n(this.red&&!T.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,T)};var z={k256:null,p224:null,p192:null,p25519:null};function W(R,T){this.name=R,this.p=new r(T,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}W.prototype._tmp=function(){var T=new r(null);return T.words=new Array(Math.ceil(this.n/13)),T},W.prototype.ireduce=function(T){var N=T,w;do this.split(N,this.tmp),N=this.imulK(N),N=N.iadd(this.tmp),w=N.bitLength();while(w>this.n);var b=w0?N.isub(this.p):N.strip!==void 0?N.strip():N._strip(),N},W.prototype.split=function(T,N){T.iushrn(this.n,0,N)},W.prototype.imulK=function(T){return T.imul(this.k)};function j(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(j,W),j.prototype.split=function(T,N){for(var w=4194303,b=Math.min(T.length,9),A=0;A>>22,P=L}P>>>=22,T.words[A-10]=P,P===0&&T.length>10?T.length-=10:T.length-=9},j.prototype.imulK=function(T){T.words[T.length]=0,T.words[T.length+1]=0,T.length+=2;for(var N=0,w=0;w>>=26,T.words[w]=A,N=b}return N!==0&&(T.words[T.length++]=N),T},r._prime=function(T){if(z[T])return z[T];var N;if(T==="k256")N=new j;else if(T==="p224")N=new Q;else if(T==="p192")N=new V;else if(T==="p25519")N=new X;else throw new Error("Unknown prime "+T);return z[T]=N,N};function K(R){if(typeof R=="string"){var T=r._prime(R);this.m=T.p,this.prime=T}else n(R.gtn(1),"modulus must be greater than 1"),this.m=R,this.prime=null}K.prototype._verify1=function(T){n(T.negative===0,"red works only with positives"),n(T.red,"red works only with red numbers")},K.prototype._verify2=function(T,N){n((T.negative|N.negative)===0,"red works only with positives"),n(T.red&&T.red===N.red,"red works only with red numbers")},K.prototype.imod=function(T){return this.prime?this.prime.ireduce(T)._forceRed(this):T.umod(this.m)._forceRed(this)},K.prototype.neg=function(T){return T.isZero()?T.clone():this.m.sub(T)._forceRed(this)},K.prototype.add=function(T,N){this._verify2(T,N);var w=T.add(N);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},K.prototype.iadd=function(T,N){this._verify2(T,N);var w=T.iadd(N);return w.cmp(this.m)>=0&&w.isub(this.m),w},K.prototype.sub=function(T,N){this._verify2(T,N);var w=T.sub(N);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},K.prototype.isub=function(T,N){this._verify2(T,N);var w=T.isub(N);return w.cmpn(0)<0&&w.iadd(this.m),w},K.prototype.shl=function(T,N){return this._verify1(T),this.imod(T.ushln(N))},K.prototype.imul=function(T,N){return this._verify2(T,N),this.imod(T.imul(N))},K.prototype.mul=function(T,N){return this._verify2(T,N),this.imod(T.mul(N))},K.prototype.isqr=function(T){return this.imul(T,T.clone())},K.prototype.sqr=function(T){return this.mul(T,T)},K.prototype.sqrt=function(T){if(T.isZero())return T.clone();var N=this.m.andln(3);if(n(N%2===1),N===3){var w=this.m.add(new r(1)).iushrn(2);return this.pow(T,w)}for(var b=this.m.subn(1),A=0;!b.isZero()&&b.andln(1)===0;)A++,b.iushrn(1);n(!b.isZero());var P=new r(1).toRed(this),L=P.redNeg(),E=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,E).cmp(L)!==0;)g.redIAdd(L);for(var B=this.pow(g,b),M=this.pow(T,b.addn(1).iushrn(1)),S=this.pow(T,b),q=A;S.cmp(P)!==0;){for(var ee=S,U=0;ee.cmp(P)!==0;U++)ee=ee.redSqr();n(U=0;A--){for(var B=N.words[A],M=g-1;M>=0;M--){var S=B>>M&1;if(P!==b[0]&&(P=this.sqr(P)),S===0&&L===0){E=0;continue}L<<=1,L|=S,E++,!(E!==w&&(A!==0||M!==0))&&(P=this.mul(P,b[L]),E=0,L=0)}g=26}return P},K.prototype.convertTo=function(T){var N=T.umod(this.m);return N===T?N.clone():N},K.prototype.convertFrom=function(T){var N=T.clone();return N.red=null,N},r.mont=function(T){return new G(T)};function G(R){K.call(this,R),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(G,K),G.prototype.convertTo=function(T){return this.imod(T.ushln(this.shift))},G.prototype.convertFrom=function(T){var N=this.imod(T.mul(this.rinv));return N.red=null,N},G.prototype.imul=function(T,N){if(T.isZero()||N.isZero())return T.words[0]=0,T.length=1,T;var w=T.imul(N),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.mul=function(T,N){if(T.isZero()||N.isZero())return new r(0)._forceRed(this);var w=T.mul(N),b=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=w.isub(b).iushrn(this.shift),P=A;return A.cmp(this.m)>=0?P=A.isub(this.m):A.cmpn(0)<0&&(P=A.iadd(this.m)),P._forceRed(this)},G.prototype.invm=function(T){var N=this.imod(T._invmp(this.m).mul(this.r2));return N._forceRed(this)}})(typeof pte>"u"||pte,xxe)});var Mc=D((YUn,_xe)=>{u();p();_xe.exports=Exe;function Exe(t,e){if(!t)throw new Error(e||"Assertion failed")}Exe.equal=function(e,n,a){if(e!=n)throw new Error(a||"Assertion failed: "+e+" != "+n)}});var DN=D(Cxe=>{"use strict";u();p();var BN=Cxe;function ZF0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t!="string"){for(var a=0;a>8,i=r&255;f?n.push(f,i):n.push(i)}return n}BN.toArray=ZF0;function Axe(t){return t.length===1?"0"+t:t}BN.zero2=Axe;function Ixe(t){for(var e="",n=0;n{"use strict";u();p();var nl=kxe,eN0=kr(),tN0=Mc(),PN=DN();nl.assert=tN0;nl.toArray=PN.toArray;nl.zero2=PN.zero2;nl.toHex=PN.toHex;nl.encode=PN.encode;function nN0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1);a.fill(0);for(var r=1<(r>>1)-1?s=(r>>1)-o:s=o,f.isubn(s)):s=0,a[i]=s,f.iushrn(1)}return a}nl.getNAF=nN0;function aN0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}nl.getJSF=aN0;function rN0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}nl.cachedProperty=rN0;function fN0(t){return typeof t=="string"?nl.toArray(t,"hex"):t}nl.parseBytes=fN0;function iN0(t){return new eN0(t,"hex","le")}nl.intFromLE=iN0});var En=D((hte,Rxe)=>{u();p();var LN=Qf(),xu=LN.Buffer;function Sxe(t,e){for(var n in t)e[n]=t[n]}xu.from&&xu.alloc&&xu.allocUnsafe&&xu.allocUnsafeSlow?Rxe.exports=LN:(Sxe(LN,hte),hte.Buffer=By);function By(t,e,n){return xu(t,e,n)}By.prototype=Object.create(xu.prototype);Sxe(xu,By);By.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return xu(t,e,n)};By.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=xu(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};By.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return xu(t)};By.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return LN.SlowBuffer(t)}});var s8=D((iHn,bte)=>{"use strict";u();p();var mte=65536,sN0=4294967295;function oN0(){throw new Error(`Secure random number generation is not supported by this browser. -Use Chrome, Firefox or Internet Explorer 11`)}var cN0=En().Buffer,FN=global.crypto||global.msCrypto;FN&&FN.getRandomValues?bte.exports=dN0:bte.exports=oN0;function dN0(t,e){if(t>sN0)throw new RangeError("requested too many random bytes");var n=cN0.allocUnsafe(t);if(t>0)if(t>mte)for(var a=0;a{u();p();typeof Object.create=="function"?yte.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:yte.exports=function(e,n){if(n){e.super_=n;var a=function(){};a.prototype=n.prototype,e.prototype=new a,e.prototype.constructor=e}}});var Or=D((uHn,gte)=>{"use strict";u();p();var xw=typeof Reflect=="object"?Reflect:null,Mxe=xw&&typeof xw.apply=="function"?xw.apply:function(e,n,a){return Function.prototype.apply.call(e,n,a)},NN;xw&&typeof xw.ownKeys=="function"?NN=xw.ownKeys:Object.getOwnPropertySymbols?NN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:NN=function(e){return Object.getOwnPropertyNames(e)};function lN0(t){console&&console.warn&&console.warn(t)}var Dxe=Number.isNaN||function(e){return e!==e};function mr(){mr.init.call(this)}gte.exports=mr;gte.exports.once=mN0;mr.EventEmitter=mr;mr.prototype._events=void 0;mr.prototype._eventsCount=0;mr.prototype._maxListeners=void 0;var Bxe=10;function ON(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(mr,"defaultMaxListeners",{enumerable:!0,get:function(){return Bxe},set:function(t){if(typeof t!="number"||t<0||Dxe(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Bxe=t}});mr.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};mr.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Dxe(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Pxe(t){return t._maxListeners===void 0?mr.defaultMaxListeners:t._maxListeners}mr.prototype.getMaxListeners=function(){return Pxe(this)};mr.prototype.emit=function(e){for(var n=[],a=1;a0&&(i=n[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var o=f[e];if(o===void 0)return!1;if(typeof o=="function")Mxe(o,this,n);else for(var c=o.length,d=Uxe(o,c),a=0;a0&&i.length>r&&!i.warned){i.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=i.length,lN0(s)}return t}mr.prototype.addListener=function(e,n){return Lxe(this,e,n,!1)};mr.prototype.on=mr.prototype.addListener;mr.prototype.prependListener=function(e,n){return Lxe(this,e,n,!0)};function uN0(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Fxe(t,e,n){var a={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=uN0.bind(a);return r.listener=n,a.wrapFn=r,r}mr.prototype.once=function(e,n){return ON(n),this.on(e,Fxe(this,e,n)),this};mr.prototype.prependOnceListener=function(e,n){return ON(n),this.prependListener(e,Fxe(this,e,n)),this};mr.prototype.removeListener=function(e,n){var a,r,f,i,s;if(ON(n),r=this._events,r===void 0)return this;if(a=r[e],a===void 0)return this;if(a===n||a.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,a.listener||n));else if(typeof a!="function"){for(f=-1,i=a.length-1;i>=0;i--)if(a[i]===n||a[i].listener===n){s=a[i].listener,f=i;break}if(f<0)return this;f===0?a.shift():pN0(a,f),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};mr.prototype.off=mr.prototype.removeListener;mr.prototype.removeAllListeners=function(e){var n,a,r;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[e]),this;if(arguments.length===0){var f=Object.keys(a),i;for(r=0;r=0;r--)this.removeListener(e,n[r]);return this};function Nxe(t,e,n){var a=t._events;if(a===void 0)return[];var r=a[e];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?hN0(r):Uxe(r,r.length)}mr.prototype.listeners=function(e){return Nxe(this,e,!0)};mr.prototype.rawListeners=function(e){return Nxe(this,e,!1)};mr.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Oxe.call(t,e)};mr.prototype.listenerCount=Oxe;function Oxe(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}mr.prototype.eventNames=function(){return this._eventsCount>0?NN(this._events):[]};function Uxe(t,e){for(var n=new Array(e),a=0;a{u();p();zxe.exports=Or().EventEmitter});var UN=D((gHn,Wxe)=>{"use strict";u();p();Wxe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var r=42;e[n]=r;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var f=Object.getOwnPropertySymbols(e);if(f.length!==1||f[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,n);if(i.value!==r||i.enumerable!==!0)return!1}return!0}});var HN=D((THn,qxe)=>{"use strict";u();p();var yN0=UN();qxe.exports=function(){return yN0()&&!!Symbol.toStringTag}});var Gxe=D((_Hn,jxe)=>{"use strict";u();p();jxe.exports=Error});var Qxe=D((CHn,Kxe)=>{"use strict";u();p();Kxe.exports=EvalError});var Yxe=D((RHn,Vxe)=>{"use strict";u();p();Vxe.exports=RangeError});var Jxe=D((DHn,$xe)=>{"use strict";u();p();$xe.exports=ReferenceError});var wte=D((FHn,Xxe)=>{"use strict";u();p();Xxe.exports=SyntaxError});var _C=D((UHn,Zxe)=>{"use strict";u();p();Zxe.exports=TypeError});var tEe=D((WHn,eEe)=>{"use strict";u();p();eEe.exports=URIError});var rEe=D((GHn,aEe)=>{"use strict";u();p();var nEe=typeof Symbol<"u"&&Symbol,gN0=UN();aEe.exports=function(){return typeof nEe!="function"||typeof Symbol!="function"||typeof nEe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gN0()}});var iEe=D((VHn,fEe)=>{"use strict";u();p();var Tte={__proto__:null,foo:{}},vN0=Object;fEe.exports=function(){return{__proto__:Tte}.foo===Tte.foo&&!(Tte instanceof vN0)}});var cEe=D((JHn,oEe)=>{"use strict";u();p();var wN0="Function.prototype.bind called on incompatible ",TN0=Object.prototype.toString,xN0=Math.max,EN0="[object Function]",sEe=function(e,n){for(var a=[],r=0;r{"use strict";u();p();var IN0=cEe();dEe.exports=Function.prototype.bind||IN0});var uEe=D((azn,lEe)=>{"use strict";u();p();var CN0=Function.prototype.call,kN0=Object.prototype.hasOwnProperty,SN0=zN();lEe.exports=SN0.call(CN0,kN0)});var Cw=D((izn,yEe)=>{"use strict";u();p();var Zn,RN0=Gxe(),MN0=Qxe(),BN0=Yxe(),DN0=Jxe(),Iw=wte(),Aw=_C(),PN0=tEe(),bEe=Function,xte=function(t){try{return bEe('"use strict"; return ('+t+").constructor;")()}catch{}},Dy=Object.getOwnPropertyDescriptor;if(Dy)try{Dy({},"")}catch{Dy=null}var Ete=function(){throw new Aw},LN0=Dy?function(){try{return arguments.callee,Ete}catch{try{return Dy(arguments,"callee").get}catch{return Ete}}}():Ete,Ew=rEe()(),FN0=iEe()(),bs=Object.getPrototypeOf||(FN0?function(t){return t.__proto__}:null),_w={},NN0=typeof Uint8Array>"u"||!bs?Zn:bs(Uint8Array),Py={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Zn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Zn:ArrayBuffer,"%ArrayIteratorPrototype%":Ew&&bs?bs([][Symbol.iterator]()):Zn,"%AsyncFromSyncIteratorPrototype%":Zn,"%AsyncFunction%":_w,"%AsyncGenerator%":_w,"%AsyncGeneratorFunction%":_w,"%AsyncIteratorPrototype%":_w,"%Atomics%":typeof Atomics>"u"?Zn:Atomics,"%BigInt%":typeof BigInt>"u"?Zn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Zn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Zn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Zn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":RN0,"%eval%":eval,"%EvalError%":MN0,"%Float32Array%":typeof Float32Array>"u"?Zn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Zn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Zn:FinalizationRegistry,"%Function%":bEe,"%GeneratorFunction%":_w,"%Int8Array%":typeof Int8Array>"u"?Zn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Zn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Zn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ew&&bs?bs(bs([][Symbol.iterator]())):Zn,"%JSON%":typeof JSON=="object"?JSON:Zn,"%Map%":typeof Map>"u"?Zn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ew||!bs?Zn:bs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Zn:Promise,"%Proxy%":typeof Proxy>"u"?Zn:Proxy,"%RangeError%":BN0,"%ReferenceError%":DN0,"%Reflect%":typeof Reflect>"u"?Zn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Zn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ew||!bs?Zn:bs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Zn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ew&&bs?bs(""[Symbol.iterator]()):Zn,"%Symbol%":Ew?Symbol:Zn,"%SyntaxError%":Iw,"%ThrowTypeError%":LN0,"%TypedArray%":NN0,"%TypeError%":Aw,"%Uint8Array%":typeof Uint8Array>"u"?Zn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Zn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Zn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Zn:Uint32Array,"%URIError%":PN0,"%WeakMap%":typeof WeakMap>"u"?Zn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Zn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Zn:WeakSet};if(bs)try{null.error}catch(t){pEe=bs(bs(t)),Py["%Error.prototype%"]=pEe}var pEe,ON0=function t(e){var n;if(e==="%AsyncFunction%")n=xte("async function () {}");else if(e==="%GeneratorFunction%")n=xte("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=xte("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&bs&&(n=bs(r.prototype))}return Py[e]=n,n},hEe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},AC=zN(),WN=uEe(),UN0=AC.call(Function.call,Array.prototype.concat),HN0=AC.call(Function.apply,Array.prototype.splice),mEe=AC.call(Function.call,String.prototype.replace),qN=AC.call(Function.call,String.prototype.slice),zN0=AC.call(Function.call,RegExp.prototype.exec),WN0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qN0=/\\(\\)?/g,jN0=function(e){var n=qN(e,0,1),a=qN(e,-1);if(n==="%"&&a!=="%")throw new Iw("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&n!=="%")throw new Iw("invalid intrinsic syntax, expected opening `%`");var r=[];return mEe(e,WN0,function(f,i,s,o){r[r.length]=s?mEe(o,qN0,"$1"):i||f}),r},GN0=function(e,n){var a=e,r;if(WN(hEe,a)&&(r=hEe[a],a="%"+r[0]+"%"),WN(Py,a)){var f=Py[a];if(f===_w&&(f=ON0(a)),typeof f>"u"&&!n)throw new Aw("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:f}}throw new Iw("intrinsic "+e+" does not exist!")};yEe.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Aw("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Aw('"allowMissing" argument must be a boolean');if(zN0(/^%?[^%]*%?$/,e)===null)throw new Iw("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=jN0(e),r=a.length>0?a[0]:"",f=GN0("%"+r+"%",n),i=f.name,s=f.value,o=!1,c=f.alias;c&&(r=c[0],HN0(a,UN0([0,1],c)));for(var d=1,l=!0;d=a.length){var k=Dy(s,h);l=!!k,l&&"get"in k&&!("originalValue"in k.get)?s=k.get:s=s[h]}else l=WN(s,h),s=s[h];l&&!o&&(Py[i]=s)}}return s}});var GN=D((czn,gEe)=>{"use strict";u();p();var KN0=Cw(),jN=KN0("%Object.defineProperty%",!0)||!1;if(jN)try{jN({},"a",{value:1})}catch{jN=!1}gEe.exports=jN});var QN=D((uzn,vEe)=>{"use strict";u();p();var QN0=Cw(),KN=QN0("%Object.getOwnPropertyDescriptor%",!0);if(KN)try{KN([],"length")}catch{KN=null}vEe.exports=KN});var _te=D((mzn,xEe)=>{"use strict";u();p();var wEe=GN(),VN0=wte(),kw=_C(),TEe=QN();xEe.exports=function(e,n,a){if(!e||typeof e!="object"&&typeof e!="function")throw new kw("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new kw("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new kw("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new kw("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new kw("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new kw("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,o=!!TEe&&TEe(e,n);if(wEe)wEe(e,n,{configurable:i===null&&o?o.configurable:!i,enumerable:r===null&&o?o.enumerable:!r,value:a,writable:f===null&&o?o.writable:!f});else if(s||!r&&!f&&!i)e[n]=a;else throw new VN0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Ite=D((gzn,_Ee)=>{"use strict";u();p();var Ate=GN(),EEe=function(){return!!Ate};EEe.hasArrayLengthDefineBug=function(){if(!Ate)return null;try{return Ate([],"length",{value:1}).length!==1}catch{return!0}};_Ee.exports=EEe});var SEe=D((Tzn,kEe)=>{"use strict";u();p();var YN0=Cw(),AEe=_te(),$N0=Ite()(),IEe=QN(),CEe=_C(),JN0=YN0("%Math.floor%");kEe.exports=function(e,n){if(typeof e!="function")throw new CEe("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||JN0(n)!==n)throw new CEe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,f=!0;if("length"in e&&IEe){var i=IEe(e,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(f=!1)}return(r||f||!a)&&($N0?AEe(e,"length",n,!0,!0):AEe(e,"length",n)),e}});var IC=D((_zn,VN)=>{"use strict";u();p();var Cte=zN(),YN=Cw(),XN0=SEe(),ZN0=_C(),BEe=YN("%Function.prototype.apply%"),DEe=YN("%Function.prototype.call%"),PEe=YN("%Reflect.apply%",!0)||Cte.call(DEe,BEe),REe=GN(),eO0=YN("%Math.max%");VN.exports=function(e){if(typeof e!="function")throw new ZN0("a function is required");var n=PEe(Cte,DEe,arguments);return XN0(n,1+eO0(0,e.length-(arguments.length-1)),!0)};var MEe=function(){return PEe(Cte,BEe,arguments)};REe?REe(VN.exports,"apply",{value:MEe}):VN.exports.apply=MEe});var CC=D((Czn,NEe)=>{"use strict";u();p();var LEe=Cw(),FEe=IC(),tO0=FEe(LEe("String.prototype.indexOf"));NEe.exports=function(e,n){var a=LEe(e,!!n);return typeof a=="function"&&tO0(e,".prototype.")>-1?FEe(a):a}});var HEe=D((Rzn,UEe)=>{"use strict";u();p();var nO0=HN()(),aO0=CC(),kte=aO0("Object.prototype.toString"),$N=function(e){return nO0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:kte(e)==="[object Arguments]"},OEe=function(e){return $N(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&kte(e)!=="[object Array]"&&kte(e.callee)==="[object Function]"},rO0=function(){return $N(arguments)}();$N.isLegacyArguments=OEe;UEe.exports=rO0?$N:OEe});var qEe=D((Dzn,WEe)=>{"use strict";u();p();var fO0=Object.prototype.toString,iO0=Function.prototype.toString,sO0=/^\s*(?:function)?\*/,zEe=HN()(),Ste=Object.getPrototypeOf,oO0=function(){if(!zEe)return!1;try{return Function("return function*() {}")()}catch{}},Rte;WEe.exports=function(e){if(typeof e!="function")return!1;if(sO0.test(iO0.call(e)))return!0;if(!zEe){var n=fO0.call(e);return n==="[object GeneratorFunction]"}if(!Ste)return!1;if(typeof Rte>"u"){var a=oO0();Rte=a?Ste(a):!1}return Ste(e)===Rte}});var QEe=D((Fzn,KEe)=>{"use strict";u();p();var GEe=Function.prototype.toString,Sw=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Bte,JN;if(typeof Sw=="function"&&typeof Object.defineProperty=="function")try{Bte=Object.defineProperty({},"length",{get:function(){throw JN}}),JN={},Sw(function(){throw 42},null,Bte)}catch(t){t!==JN&&(Sw=null)}else Sw=null;var cO0=/^\s*class\b/,Dte=function(e){try{var n=GEe.call(e);return cO0.test(n)}catch{return!1}},Mte=function(e){try{return Dte(e)?!1:(GEe.call(e),!0)}catch{return!1}},XN=Object.prototype.toString,dO0="[object Object]",lO0="[object Function]",uO0="[object GeneratorFunction]",pO0="[object HTMLAllCollection]",hO0="[object HTML document.all class]",mO0="[object HTMLCollection]",bO0=typeof Symbol=="function"&&!!Symbol.toStringTag,yO0=!(0 in[,]),Pte=function(){return!1};typeof document=="object"&&(jEe=document.all,XN.call(jEe)===XN.call(document.all)&&(Pte=function(e){if((yO0||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=XN.call(e);return(n===pO0||n===hO0||n===mO0||n===dO0)&&e("")==null}catch{}return!1}));var jEe;KEe.exports=Sw?function(e){if(Pte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Sw(e,null,Bte)}catch(n){if(n!==JN)return!1}return!Dte(e)&&Mte(e)}:function(e){if(Pte(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(bO0)return Mte(e);if(Dte(e))return!1;var n=XN.call(e);return n!==lO0&&n!==uO0&&!/^\[object HTML/.test(n)?!1:Mte(e)}});var $Ee=D((Uzn,YEe)=>{"use strict";u();p();var gO0=QEe(),vO0=Object.prototype.toString,VEe=Object.prototype.hasOwnProperty,wO0=function(e,n,a){for(var r=0,f=e.length;r=3&&(r=a),vO0.call(e)==="[object Array]"?wO0(e,n,r):typeof e=="string"?TO0(e,n,r):xO0(e,n,r)};YEe.exports=EO0});var XEe=D((Wzn,JEe)=>{"use strict";u();p();JEe.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var e_e=D((Gzn,ZEe)=>{"use strict";u();p();var Lte=XEe(),_O0=typeof globalThis>"u"?global:globalThis;ZEe.exports=function(){for(var e=[],n=0;n{"use strict";u();p();var eO=$Ee(),AO0=e_e(),t_e=IC(),Ote=CC(),ZN=QN(),IO0=Ote("Object.prototype.toString"),a_e=HN()(),n_e=typeof globalThis>"u"?global:globalThis,Nte=AO0(),Ute=Ote("String.prototype.slice"),Fte=Object.getPrototypeOf,CO0=Ote("Array.prototype.indexOf",!0)||function(e,n){for(var a=0;a-1?n:n!=="Object"?!1:SO0(e)}return ZN?kO0(e):null}});var i_e=D((Jzn,f_e)=>{"use strict";u();p();var RO0=Hte();f_e.exports=function(e){return!!RO0(e)}});var w_e=D(Qn=>{"use strict";u();p();var MO0=HEe(),BO0=qEe(),al=Hte(),s_e=i_e();function Rw(t){return t.call.bind(t)}var o_e=typeof BigInt<"u",c_e=typeof Symbol<"u",_d=Rw(Object.prototype.toString),DO0=Rw(Number.prototype.valueOf),PO0=Rw(String.prototype.valueOf),LO0=Rw(Boolean.prototype.valueOf);o_e&&(d_e=Rw(BigInt.prototype.valueOf));var d_e;c_e&&(l_e=Rw(Symbol.prototype.valueOf));var l_e;function SC(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}Qn.isArgumentsObject=MO0;Qn.isGeneratorFunction=BO0;Qn.isTypedArray=s_e;function FO0(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Qn.isPromise=FO0;function NO0(t){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):s_e(t)||p_e(t)}Qn.isArrayBufferView=NO0;function OO0(t){return al(t)==="Uint8Array"}Qn.isUint8Array=OO0;function UO0(t){return al(t)==="Uint8ClampedArray"}Qn.isUint8ClampedArray=UO0;function HO0(t){return al(t)==="Uint16Array"}Qn.isUint16Array=HO0;function zO0(t){return al(t)==="Uint32Array"}Qn.isUint32Array=zO0;function WO0(t){return al(t)==="Int8Array"}Qn.isInt8Array=WO0;function qO0(t){return al(t)==="Int16Array"}Qn.isInt16Array=qO0;function jO0(t){return al(t)==="Int32Array"}Qn.isInt32Array=jO0;function GO0(t){return al(t)==="Float32Array"}Qn.isFloat32Array=GO0;function KO0(t){return al(t)==="Float64Array"}Qn.isFloat64Array=KO0;function QO0(t){return al(t)==="BigInt64Array"}Qn.isBigInt64Array=QO0;function VO0(t){return al(t)==="BigUint64Array"}Qn.isBigUint64Array=VO0;function nO(t){return _d(t)==="[object Map]"}nO.working=typeof Map<"u"&&nO(new Map);function YO0(t){return typeof Map>"u"?!1:nO.working?nO(t):t instanceof Map}Qn.isMap=YO0;function aO(t){return _d(t)==="[object Set]"}aO.working=typeof Set<"u"&&aO(new Set);function $O0(t){return typeof Set>"u"?!1:aO.working?aO(t):t instanceof Set}Qn.isSet=$O0;function rO(t){return _d(t)==="[object WeakMap]"}rO.working=typeof WeakMap<"u"&&rO(new WeakMap);function JO0(t){return typeof WeakMap>"u"?!1:rO.working?rO(t):t instanceof WeakMap}Qn.isWeakMap=JO0;function Wte(t){return _d(t)==="[object WeakSet]"}Wte.working=typeof WeakSet<"u"&&Wte(new WeakSet);function XO0(t){return Wte(t)}Qn.isWeakSet=XO0;function fO(t){return _d(t)==="[object ArrayBuffer]"}fO.working=typeof ArrayBuffer<"u"&&fO(new ArrayBuffer);function u_e(t){return typeof ArrayBuffer>"u"?!1:fO.working?fO(t):t instanceof ArrayBuffer}Qn.isArrayBuffer=u_e;function iO(t){return _d(t)==="[object DataView]"}iO.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&iO(new DataView(new ArrayBuffer(1),0,1));function p_e(t){return typeof DataView>"u"?!1:iO.working?iO(t):t instanceof DataView}Qn.isDataView=p_e;var zte=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function kC(t){return _d(t)==="[object SharedArrayBuffer]"}function h_e(t){return typeof zte>"u"?!1:(typeof kC.working>"u"&&(kC.working=kC(new zte)),kC.working?kC(t):t instanceof zte)}Qn.isSharedArrayBuffer=h_e;function ZO0(t){return _d(t)==="[object AsyncFunction]"}Qn.isAsyncFunction=ZO0;function eU0(t){return _d(t)==="[object Map Iterator]"}Qn.isMapIterator=eU0;function tU0(t){return _d(t)==="[object Set Iterator]"}Qn.isSetIterator=tU0;function nU0(t){return _d(t)==="[object Generator]"}Qn.isGeneratorObject=nU0;function aU0(t){return _d(t)==="[object WebAssembly.Module]"}Qn.isWebAssemblyCompiledModule=aU0;function m_e(t){return SC(t,DO0)}Qn.isNumberObject=m_e;function b_e(t){return SC(t,PO0)}Qn.isStringObject=b_e;function y_e(t){return SC(t,LO0)}Qn.isBooleanObject=y_e;function g_e(t){return o_e&&SC(t,d_e)}Qn.isBigIntObject=g_e;function v_e(t){return c_e&&SC(t,l_e)}Qn.isSymbolObject=v_e;function rU0(t){return m_e(t)||b_e(t)||y_e(t)||g_e(t)||v_e(t)}Qn.isBoxedPrimitive=rU0;function fU0(t){return typeof Uint8Array<"u"&&(u_e(t)||h_e(t))}Qn.isAnyArrayBuffer=fU0;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Qn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var x_e=D((aWn,T_e)=>{u();p();T_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var rl=D(Vn=>{u();p();var E_e=Object.getOwnPropertyDescriptors||function(e){for(var n=Object.keys(e),a={},r=0;r=r)return s;switch(s){case"%s":return String(a[n++]);case"%d":return Number(a[n++]);case"%j":try{return JSON.stringify(a[n++])}catch{return"[Circular]"}default:return s}}),i=a[n];n"u")return function(){return Vn.deprecate(t,e).apply(this,arguments)};var n=!1;function a(){if(!n){if(x.throwDeprecation)throw new Error(e);x.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}return a};var sO={},__e=/^$/;x.env.NODE_DEBUG&&(oO=x.env.NODE_DEBUG,oO=oO.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),__e=new RegExp("^"+oO+"$","i"));var oO;Vn.debuglog=function(t){if(t=t.toUpperCase(),!sO[t])if(__e.test(t)){var e=x.pid;sO[t]=function(){var n=Vn.format.apply(Vn,arguments);console.error("%s %d: %s",t,e,n)}}else sO[t]=function(){};return sO[t]};function S3(t,e){var n={seen:[],stylize:oU0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Kte(e)?n.showHidden=e:e&&Vn._extend(n,e),Fy(n.showHidden)&&(n.showHidden=!1),Fy(n.depth)&&(n.depth=2),Fy(n.colors)&&(n.colors=!1),Fy(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=sU0),dO(n,t,n.depth)}Vn.inspect=S3;S3.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};S3.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function sU0(t,e){var n=S3.styles[e];return n?"\x1B["+S3.colors[n][0]+"m"+t+"\x1B["+S3.colors[n][1]+"m":t}function oU0(t,e){return t}function cU0(t){var e={};return t.forEach(function(n,a){e[n]=!0}),e}function dO(t,e,n){if(t.customInspect&&e&&cO(e.inspect)&&e.inspect!==Vn.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(n,t);return pO(a)||(a=dO(t,a,n)),a}var r=dU0(t,e);if(r)return r;var f=Object.keys(e),i=cU0(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(e)),MC(e)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return qte(e);if(f.length===0){if(cO(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(RC(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(lO(e))return t.stylize(Date.prototype.toString.call(e),"date");if(MC(e))return qte(e)}var o="",c=!1,d=["{","}"];if(A_e(e)&&(c=!0,d=["[","]"]),cO(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(RC(e)&&(o=" "+RegExp.prototype.toString.call(e)),lO(e)&&(o=" "+Date.prototype.toUTCString.call(e)),MC(e)&&(o=" "+qte(e)),f.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(n<0)return RC(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var h;return c?h=lU0(t,e,n,i,f):h=f.map(function(y){return Gte(t,e,n,i,y,c)}),t.seen.pop(),uU0(h,o,d)}function dU0(t,e){if(Fy(e))return t.stylize("undefined","undefined");if(pO(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(I_e(e))return t.stylize(""+e,"number");if(Kte(e))return t.stylize(""+e,"boolean");if(uO(e))return t.stylize("null","null")}function qte(t){return"["+Error.prototype.toString.call(t)+"]"}function lU0(t,e,n,a,r){for(var f=[],i=0,s=e.length;i-1&&(f?s=s.split(` +"use strict";(()=>{var XEt=Object.create;var RE=Object.defineProperty;var ZEt=Object.getOwnPropertyDescriptor;var eDt=Object.getOwnPropertyNames;var tDt=Object.getPrototypeOf,nDt=Object.prototype.hasOwnProperty;var aDt=(n,e,t)=>e in n?RE(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Tl=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});var ce=(n,e)=>()=>(n&&(e=n(n=0)),e);var B=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),jt=(n,e)=>{for(var t in e)RE(n,t,{get:e[t],enumerable:!0})},YM=(n,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of eDt(e))!nDt.call(n,r)&&r!==t&&RE(n,r,{get:()=>e[r],enumerable:!(a=ZEt(e,r))||a.enumerable});return n},Ls=(n,e,t)=>(YM(n,e,"default"),t&&YM(t,e,"default")),Te=(n,e,t)=>(t=n!=null?XEt(tDt(n)):{},YM(e||!n||!n.__esModule?RE(t,"default",{value:n,enumerable:!0}):t,n)),yi=n=>YM(RE({},"__esModule",{value:!0}),n);var Z=(n,e,t)=>aDt(n,typeof e!="symbol"?e+"":e,t);var E,p=ce(()=>{E={env:"production"}});var H7e=B(JM=>{"use strict";p();u();JM.byteLength=sDt;JM.toByteArray=oDt;JM.fromByteArray=lDt;var Pp=[],qd=[],iDt=typeof Uint8Array<"u"?Uint8Array:Array,tZ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(pb=0,U7e=tZ.length;pb0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=e);var a=t===e?0:4-t%4;return[t,a]}function sDt(n){var e=q7e(n),t=e[0],a=e[1];return(t+a)*3/4-a}function fDt(n,e,t){return(e+t)*3/4-t}function oDt(n){var e,t=q7e(n),a=t[0],r=t[1],i=new iDt(fDt(n,a,r)),s=0,f=r>0?a-4:a,o;for(o=0;o>16&255,i[s++]=e>>8&255,i[s++]=e&255;return r===2&&(e=qd[n.charCodeAt(o)]<<2|qd[n.charCodeAt(o+1)]>>4,i[s++]=e&255),r===1&&(e=qd[n.charCodeAt(o)]<<10|qd[n.charCodeAt(o+1)]<<4|qd[n.charCodeAt(o+2)]>>2,i[s++]=e>>8&255,i[s++]=e&255),i}function cDt(n){return Pp[n>>18&63]+Pp[n>>12&63]+Pp[n>>6&63]+Pp[n&63]}function dDt(n,e,t){for(var a,r=[],i=e;if?f:s+i));return a===1?(e=n[t-1],r.push(Pp[e>>2]+Pp[e<<4&63]+"==")):a===2&&(e=(n[t-2]<<8)+n[t-1],r.push(Pp[e>>10]+Pp[e>>4&63]+Pp[e<<2&63]+"=")),r.join("")}});var z7e=B(nZ=>{p();u();nZ.read=function(n,e,t,a,r){var i,s,f=r*8-a-1,o=(1<>1,d=-7,l=t?r-1:0,y=t?-1:1,h=n[e+l];for(l+=y,i=h&(1<<-d)-1,h>>=-d,d+=f;d>0;i=i*256+n[e+l],l+=y,d-=8);for(s=i&(1<<-d)-1,i>>=-d,d+=a;d>0;s=s*256+n[e+l],l+=y,d-=8);if(i===0)i=1-c;else{if(i===o)return s?NaN:(h?-1:1)*(1/0);s=s+Math.pow(2,a),i=i-c}return(h?-1:1)*s*Math.pow(2,i-a)};nZ.write=function(n,e,t,a,r,i){var s,f,o,c=i*8-r-1,d=(1<>1,y=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=a?0:i-1,T=a?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=d):(s=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-s))<1&&(s--,o*=2),s+l>=1?e+=y/o:e+=y*Math.pow(2,1-l),e*o>=2&&(s++,o/=2),s+l>=d?(f=0,s=d):s+l>=1?(f=(e*o-1)*Math.pow(2,r),s=s+l):(f=e*Math.pow(2,l-1)*Math.pow(2,r),s=0));r>=8;n[t+h]=f&255,h+=T,f/=256,r-=8);for(s=s<0;n[t+h]=s&255,h+=T,s/=256,c-=8);n[t+h-T]|=A*128}});var ki=B(Og=>{"use strict";p();u();var aZ=H7e(),Fg=z7e(),W7e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Og.Buffer=Ke;Og.SlowBuffer=hDt;Og.INSPECT_MAX_BYTES=50;var XM=2147483647;Og.kMaxLength=XM;Ke.TYPED_ARRAY_SUPPORT=pDt();!Ke.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pDt(){try{var n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch{return!1}}Object.defineProperty(Ke.prototype,"parent",{enumerable:!0,get:function(){if(Ke.isBuffer(this))return this.buffer}});Object.defineProperty(Ke.prototype,"offset",{enumerable:!0,get:function(){if(Ke.isBuffer(this))return this.byteOffset}});function p2(n){if(n>XM)throw new RangeError('The value "'+n+'" is invalid for option "size"');var e=new Uint8Array(n);return Object.setPrototypeOf(e,Ke.prototype),e}function Ke(n,e,t){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return fZ(n)}return K7e(n,e,t)}Ke.poolSize=8192;function K7e(n,e,t){if(typeof n=="string")return yDt(n,e);if(ArrayBuffer.isView(n))return mDt(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(Rp(n,ArrayBuffer)||n&&Rp(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Rp(n,SharedArrayBuffer)||n&&Rp(n.buffer,SharedArrayBuffer)))return iZ(n,e,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=n.valueOf&&n.valueOf();if(a!=null&&a!==n)return Ke.from(a,e,t);var r=bDt(n);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return Ke.from(n[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}Ke.from=function(n,e,t){return K7e(n,e,t)};Object.setPrototypeOf(Ke.prototype,Uint8Array.prototype);Object.setPrototypeOf(Ke,Uint8Array);function Q7e(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function uDt(n,e,t){return Q7e(n),n<=0?p2(n):e!==void 0?typeof t=="string"?p2(n).fill(e,t):p2(n).fill(e):p2(n)}Ke.alloc=function(n,e,t){return uDt(n,e,t)};function fZ(n){return Q7e(n),p2(n<0?0:oZ(n)|0)}Ke.allocUnsafe=function(n){return fZ(n)};Ke.allocUnsafeSlow=function(n){return fZ(n)};function yDt(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Ke.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=Y7e(n,e)|0,a=p2(t),r=a.write(n,e);return r!==t&&(a=a.slice(0,r)),a}function rZ(n){for(var e=n.length<0?0:oZ(n.length)|0,t=p2(e),a=0;a=XM)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+XM.toString(16)+" bytes");return n|0}function hDt(n){return+n!=n&&(n=0),Ke.alloc(+n)}Ke.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==Ke.prototype};Ke.compare=function(e,t){if(Rp(e,Uint8Array)&&(e=Ke.from(e,e.offset,e.byteLength)),Rp(t,Uint8Array)&&(t=Ke.from(t,t.offset,t.byteLength)),!Ke.isBuffer(e)||!Ke.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var a=e.length,r=t.length,i=0,s=Math.min(a,r);ir.length?Ke.from(s).copy(r,i):Uint8Array.prototype.set.call(r,s,i);else if(Ke.isBuffer(s))s.copy(r,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=s.length}return r};function Y7e(n,e){if(Ke.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||Rp(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var t=n.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&t===0)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return sZ(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return n9e(n).length;default:if(r)return a?-1:sZ(n).length;e=(""+e).toLowerCase(),r=!0}}Ke.byteLength=Y7e;function gDt(n,e,t){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return SDt(this,e,t);case"utf8":case"utf-8":return X7e(this,e,t);case"ascii":return DDt(this,e,t);case"latin1":case"binary":return CDt(this,e,t);case"base64":return IDt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ADt(this,e,t);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}Ke.prototype._isBuffer=!0;function ub(n,e,t){var a=n[e];n[e]=n[t],n[t]=a}Ke.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""};W7e&&(Ke.prototype[W7e]=Ke.prototype.inspect);Ke.prototype.compare=function(e,t,a,r,i){if(Rp(e,Uint8Array)&&(e=Ke.from(e,e.offset,e.byteLength)),!Ke.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||a>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=a)return 0;if(r>=i)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var s=i-r,f=a-t,o=Math.min(s,f),c=this.slice(r,i),d=e.slice(t,a),l=0;l2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,cZ(t)&&(t=r?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(r)return-1;t=n.length-1}else if(t<0)if(r)t=0;else return-1;if(typeof e=="string"&&(e=Ke.from(e,a)),Ke.isBuffer(e))return e.length===0?-1:j7e(n,e,t,a,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):j7e(n,[e],t,a,r);throw new TypeError("val must be string, number or Buffer")}function j7e(n,e,t,a,r){var i=1,s=n.length,f=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(n.length<2||e.length<2)return-1;i=2,s/=2,f/=2,t/=2}function o(h,T){return i===1?h[T]:h.readUInt16BE(T*i)}var c;if(r){var d=-1;for(c=t;cs&&(t=s-f),c=t;c>=0;c--){for(var l=!0,y=0;yr&&(a=r)):a=r;var i=e.length;a>i/2&&(a=i/2);for(var s=0;s>>0,isFinite(a)?(a=a>>>0,r===void 0&&(r="utf8")):(r=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-t;if((a===void 0||a>i)&&(a=i),e.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return vDt(this,e,t,a);case"utf8":case"utf-8":return TDt(this,e,t,a);case"ascii":case"latin1":case"binary":return _Dt(this,e,t,a);case"base64":return wDt(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xDt(this,e,t,a);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}};Ke.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function IDt(n,e,t){return e===0&&t===n.length?aZ.fromByteArray(n):aZ.fromByteArray(n.slice(e,t))}function X7e(n,e,t){t=Math.min(n.length,t);for(var a=[],r=e;r239?4:i>223?3:i>191?2:1;if(r+f<=t){var o,c,d,l;switch(f){case 1:i<128&&(s=i);break;case 2:o=n[r+1],(o&192)===128&&(l=(i&31)<<6|o&63,l>127&&(s=l));break;case 3:o=n[r+1],c=n[r+2],(o&192)===128&&(c&192)===128&&(l=(i&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:o=n[r+1],c=n[r+2],d=n[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(i&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,f=1):s>65535&&(s-=65536,a.push(s>>>10&1023|55296),s=56320|s&1023),a.push(s),r+=f}return EDt(a)}var G7e=4096;function EDt(n){var e=n.length;if(e<=G7e)return String.fromCharCode.apply(String,n);for(var t="",a=0;aa)&&(t=a);for(var r="",i=e;ia&&(e=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),tt)throw new RangeError("Trying to access beyond buffer length")}Ke.prototype.readUintLE=Ke.prototype.readUIntLE=function(e,t,a){e=e>>>0,t=t>>>0,a||Ks(e,t,this.length);for(var r=this[e],i=1,s=0;++s>>0,t=t>>>0,a||Ks(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r};Ke.prototype.readUint8=Ke.prototype.readUInt8=function(e,t){return e=e>>>0,t||Ks(e,1,this.length),this[e]};Ke.prototype.readUint16LE=Ke.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||Ks(e,2,this.length),this[e]|this[e+1]<<8};Ke.prototype.readUint16BE=Ke.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||Ks(e,2,this.length),this[e]<<8|this[e+1]};Ke.prototype.readUint32LE=Ke.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};Ke.prototype.readUint32BE=Ke.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};Ke.prototype.readIntLE=function(e,t,a){e=e>>>0,t=t>>>0,a||Ks(e,t,this.length);for(var r=this[e],i=1,s=0;++s=i&&(r-=Math.pow(2,8*t)),r};Ke.prototype.readIntBE=function(e,t,a){e=e>>>0,t=t>>>0,a||Ks(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s};Ke.prototype.readInt8=function(e,t){return e=e>>>0,t||Ks(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};Ke.prototype.readInt16LE=function(e,t){e=e>>>0,t||Ks(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};Ke.prototype.readInt16BE=function(e,t){e=e>>>0,t||Ks(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};Ke.prototype.readInt32LE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};Ke.prototype.readInt32BE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};Ke.prototype.readFloatLE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),Fg.read(this,e,!0,23,4)};Ke.prototype.readFloatBE=function(e,t){return e=e>>>0,t||Ks(e,4,this.length),Fg.read(this,e,!1,23,4)};Ke.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||Ks(e,8,this.length),Fg.read(this,e,!0,52,8)};Ke.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||Ks(e,8,this.length),Fg.read(this,e,!1,52,8)};function sc(n,e,t,a,r,i){if(!Ke.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||en.length)throw new RangeError("Index out of range")}Ke.prototype.writeUintLE=Ke.prototype.writeUIntLE=function(e,t,a,r){if(e=+e,t=t>>>0,a=a>>>0,!r){var i=Math.pow(2,8*a)-1;sc(this,e,t,a,i,0)}var s=1,f=0;for(this[t]=e&255;++f>>0,a=a>>>0,!r){var i=Math.pow(2,8*a)-1;sc(this,e,t,a,i,0)}var s=a-1,f=1;for(this[t+s]=e&255;--s>=0&&(f*=256);)this[t+s]=e/f&255;return t+a};Ke.prototype.writeUint8=Ke.prototype.writeUInt8=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,1,255,0),this[t]=e&255,t+1};Ke.prototype.writeUint16LE=Ke.prototype.writeUInt16LE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};Ke.prototype.writeUint16BE=Ke.prototype.writeUInt16BE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};Ke.prototype.writeUint32LE=Ke.prototype.writeUInt32LE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};Ke.prototype.writeUint32BE=Ke.prototype.writeUInt32BE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};Ke.prototype.writeIntLE=function(e,t,a,r){if(e=+e,t=t>>>0,!r){var i=Math.pow(2,8*a-1);sc(this,e,t,a,i-1,-i)}var s=0,f=1,o=0;for(this[t]=e&255;++s>0)-o&255;return t+a};Ke.prototype.writeIntBE=function(e,t,a,r){if(e=+e,t=t>>>0,!r){var i=Math.pow(2,8*a-1);sc(this,e,t,a,i-1,-i)}var s=a-1,f=1,o=0;for(this[t+s]=e&255;--s>=0&&(f*=256);)e<0&&o===0&&this[t+s+1]!==0&&(o=1),this[t+s]=(e/f>>0)-o&255;return t+a};Ke.prototype.writeInt8=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};Ke.prototype.writeInt16LE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};Ke.prototype.writeInt16BE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};Ke.prototype.writeInt32LE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};Ke.prototype.writeInt32BE=function(e,t,a){return e=+e,t=t>>>0,a||sc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Z7e(n,e,t,a,r,i){if(t+a>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function e9e(n,e,t,a,r){return e=+e,t=t>>>0,r||Z7e(n,e,t,4,34028234663852886e22,-34028234663852886e22),Fg.write(n,e,t,a,23,4),t+4}Ke.prototype.writeFloatLE=function(e,t,a){return e9e(this,e,t,!0,a)};Ke.prototype.writeFloatBE=function(e,t,a){return e9e(this,e,t,!1,a)};function t9e(n,e,t,a,r){return e=+e,t=t>>>0,r||Z7e(n,e,t,8,17976931348623157e292,-17976931348623157e292),Fg.write(n,e,t,a,52,8),t+8}Ke.prototype.writeDoubleLE=function(e,t,a){return t9e(this,e,t,!0,a)};Ke.prototype.writeDoubleBE=function(e,t,a){return t9e(this,e,t,!1,a)};Ke.prototype.copy=function(e,t,a,r){if(!Ke.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(s+1===a){(e-=3)>-1&&i.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&i.push(239,191,189),r=t;continue}t=(r-55296<<10|t-56320)+65536}else r&&(e-=3)>-1&&i.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;i.push(t)}else if(t<2048){if((e-=2)<0)break;i.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;i.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;i.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return i}function RDt(n){for(var e=[],t=0;t>8,r=t%256,i.push(r),i.push(a);return i}function n9e(n){return aZ.toByteArray(PDt(n))}function ZM(n,e,t,a){for(var r=0;r=e.length||r>=n.length);++r)e[r+t]=n[r];return r}function Rp(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function cZ(n){return n!==n}var MDt=function(){for(var n="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var a=t*16,r=0;r<16;++r)e[a+r]=n[t]+n[r];return e}()});var f9e=B((bAn,s9e)=>{p();u();var Yi=s9e.exports={},Lp,Mp;function dZ(){throw new Error("setTimeout has not been defined")}function lZ(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Lp=setTimeout:Lp=dZ}catch{Lp=dZ}try{typeof clearTimeout=="function"?Mp=clearTimeout:Mp=lZ}catch{Mp=lZ}})();function a9e(n){if(Lp===setTimeout)return setTimeout(n,0);if((Lp===dZ||!Lp)&&setTimeout)return Lp=setTimeout,setTimeout(n,0);try{return Lp(n,0)}catch{try{return Lp.call(null,n,0)}catch{return Lp.call(this,n,0)}}}function BDt(n){if(Mp===clearTimeout)return clearTimeout(n);if((Mp===lZ||!Mp)&&clearTimeout)return Mp=clearTimeout,clearTimeout(n);try{return Mp(n)}catch{try{return Mp.call(null,n)}catch{return Mp.call(this,n)}}}var u2=[],Vg=!1,yb,eB=-1;function NDt(){!Vg||!yb||(Vg=!1,yb.length?u2=yb.concat(u2):eB=-1,u2.length&&r9e())}function r9e(){if(!Vg){var n=a9e(NDt);Vg=!0;for(var e=u2.length;e;){for(yb=u2,u2=[];++eB1)for(var t=1;t{D=Te(ki()),S=Te(f9e()),FDt=function(n){function e(){var a=this||self;return delete n.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return e();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object),global=FDt});function VDt(n){d9e=n}function tB(){return d9e}function Yt(n,e){let t=tB(),a=nB({issueData:e,data:n.data,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,t,t===qg?void 0:qg].filter(r=>!!r)});n.common.issues.push(a)}function aB(n,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?n!==e||!a:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(n):a?a.value:e.get(n)}function l9e(n,e,t,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?n!==e||!r:!e.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(n,t):r?r.value=t:e.set(n,t),t}function nn(n){if(!n)return{};let{errorMap:e,invalid_type_error:t,required_error:a,description:r}=n;if(e&&(t||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:r}:{errorMap:(s,f)=>{var o,c;let{message:d}=n;return s.code==="invalid_enum_value"?{message:d??f.defaultError}:typeof f.data>"u"?{message:(o=d??a)!==null&&o!==void 0?o:f.defaultError}:s.code!=="invalid_type"?{message:f.defaultError}:{message:(c=d??t)!==null&&c!==void 0?c:f.defaultError}},description:r}}function u9e(n){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return n.precision?e=`${e}\\.\\d{${n.precision}}`:n.precision==null&&(e=`${e}(\\.\\d+)?`),e}function ZDt(n){return new RegExp(`^${u9e(n)}$`)}function y9e(n){let e=`${p9e}T${u9e(n)}`,t=[];return t.push(n.local?"Z?":"Z"),n.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function eCt(n,e){return!!((e==="v4"||!e)&&QDt.test(n)||(e==="v6"||!e)&&YDt.test(n))}function tCt(n,e){let t=(n.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,r=t>a?t:a,i=parseInt(n.toFixed(r).replace(".","")),s=parseInt(e.toFixed(r).replace(".",""));return i%s/Math.pow(10,r)}function $g(n){if(n instanceof fc){let e={};for(let t in n.shape){let a=n.shape[t];e[t]=Hd.create($g(a))}return new fc({...n._def,shape:()=>e})}else return n instanceof h2?new h2({...n._def,type:$g(n.element)}):n instanceof Hd?Hd.create($g(n.unwrap())):n instanceof Np?Np.create($g(n.unwrap())):n instanceof Bp?Bp.create(n.items.map(e=>$g(e))):n}function bZ(n,e){let t=k8(n),a=k8(e);if(n===e)return{valid:!0,data:n};if(t===e0.object&&a===e0.object){let r=da.objectKeys(e),i=da.objectKeys(n).filter(f=>r.indexOf(f)!==-1),s={...n,...e};for(let f of i){let o=bZ(n[f],e[f]);if(!o.valid)return{valid:!1};s[f]=o.data}return{valid:!0,data:s}}else if(t===e0.array&&a===e0.array){if(n.length!==e.length)return{valid:!1};let r=[];for(let i=0;i{var i,s;if(!n(a)){let f=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,o=(s=(i=f.fatal)!==null&&i!==void 0?i:t)!==null&&s!==void 0?s:!0,c=typeof f=="string"?{message:f}:f;r.addIssue({code:"custom",...c,fatal:o})}}):R8.create()}var da,uZ,e0,k8,Tt,ODt,Xc,qg,d9e,nB,$Dt,mo,M0,Ug,g1,yZ,mZ,BE,NE,u0,LE,ME,zd,o9e,an,UDt,qDt,HDt,zDt,WDt,jDt,GDt,KDt,pZ,QDt,YDt,JDt,p9e,XDt,P8,mb,bb,hb,gb,Hg,vb,Tb,R8,b2,_l,zg,h2,fc,_b,m2,rB,wb,Bp,iB,Wg,jg,sB,xb,Ib,Eb,Db,L8,Zc,Hd,Np,Cb,Sb,Gg,nCt,FE,OE,Ab,aCt,P0,rCt,h9e,g9e,iCt,sCt,v9e,fCt,oCt,cCt,dCt,lCt,pCt,uCt,yCt,mCt,bCt,hCt,gCt,vCt,TCt,_Ct,wCt,xCt,ICt,ECt,DCt,CCt,SCt,ACt,kCt,c9e,PCt,RCt,LCt,MCt,BCt,NCt,FCt,OCt,VCt,re,wl=ce(()=>{p();u();(function(n){n.assertEqual=r=>r;function e(r){}n.assertIs=e;function t(r){throw new Error}n.assertNever=t,n.arrayToEnum=r=>{let i={};for(let s of r)i[s]=s;return i},n.getValidEnumValues=r=>{let i=n.objectKeys(r).filter(f=>typeof r[r[f]]!="number"),s={};for(let f of i)s[f]=r[f];return n.objectValues(s)},n.objectValues=r=>n.objectKeys(r).map(function(i){return r[i]}),n.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let i=[];for(let s in r)Object.prototype.hasOwnProperty.call(r,s)&&i.push(s);return i},n.find=(r,i)=>{for(let s of r)if(i(s))return s},n.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function a(r,i=" | "){return r.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}n.joinValues=a,n.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(da||(da={}));(function(n){n.mergeShapes=(e,t)=>({...e,...t})})(uZ||(uZ={}));e0=da.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),k8=n=>{switch(typeof n){case"undefined":return e0.undefined;case"string":return e0.string;case"number":return isNaN(n)?e0.nan:e0.number;case"boolean":return e0.boolean;case"function":return e0.function;case"bigint":return e0.bigint;case"symbol":return e0.symbol;case"object":return Array.isArray(n)?e0.array:n===null?e0.null:n.then&&typeof n.then=="function"&&n.catch&&typeof n.catch=="function"?e0.promise:typeof Map<"u"&&n instanceof Map?e0.map:typeof Set<"u"&&n instanceof Set?e0.set:typeof Date<"u"&&n instanceof Date?e0.date:e0.object;default:return e0.unknown}},Tt=da.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ODt=n=>JSON.stringify(n,null,2).replace(/"([^"]+)":/g,"$1:"),Xc=class n extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(i){return i.message},a={_errors:[]},r=i=>{for(let s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(r);else if(s.code==="invalid_return_type")r(s.returnTypeError);else if(s.code==="invalid_arguments")r(s.argumentsError);else if(s.path.length===0)a._errors.push(t(s));else{let f=a,o=0;for(;ot.message){let t={},a=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):a.push(e(r));return{formErrors:a,fieldErrors:t}}get formErrors(){return this.flatten()}};Xc.create=n=>new Xc(n);qg=(n,e)=>{let t;switch(n.code){case Tt.invalid_type:n.received===e0.undefined?t="Required":t=`Expected ${n.expected}, received ${n.received}`;break;case Tt.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(n.expected,da.jsonStringifyReplacer)}`;break;case Tt.unrecognized_keys:t=`Unrecognized key(s) in object: ${da.joinValues(n.keys,", ")}`;break;case Tt.invalid_union:t="Invalid input";break;case Tt.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${da.joinValues(n.options)}`;break;case Tt.invalid_enum_value:t=`Invalid enum value. Expected ${da.joinValues(n.options)}, received '${n.received}'`;break;case Tt.invalid_arguments:t="Invalid function arguments";break;case Tt.invalid_return_type:t="Invalid function return type";break;case Tt.invalid_date:t="Invalid date";break;case Tt.invalid_string:typeof n.validation=="object"?"includes"in n.validation?(t=`Invalid input: must include "${n.validation.includes}"`,typeof n.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${n.validation.position}`)):"startsWith"in n.validation?t=`Invalid input: must start with "${n.validation.startsWith}"`:"endsWith"in n.validation?t=`Invalid input: must end with "${n.validation.endsWith}"`:da.assertNever(n.validation):n.validation!=="regex"?t=`Invalid ${n.validation}`:t="Invalid";break;case Tt.too_small:n.type==="array"?t=`Array must contain ${n.exact?"exactly":n.inclusive?"at least":"more than"} ${n.minimum} element(s)`:n.type==="string"?t=`String must contain ${n.exact?"exactly":n.inclusive?"at least":"over"} ${n.minimum} character(s)`:n.type==="number"?t=`Number must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${n.minimum}`:n.type==="date"?t=`Date must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(n.minimum))}`:t="Invalid input";break;case Tt.too_big:n.type==="array"?t=`Array must contain ${n.exact?"exactly":n.inclusive?"at most":"less than"} ${n.maximum} element(s)`:n.type==="string"?t=`String must contain ${n.exact?"exactly":n.inclusive?"at most":"under"} ${n.maximum} character(s)`:n.type==="number"?t=`Number must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:n.type==="bigint"?t=`BigInt must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:n.type==="date"?t=`Date must be ${n.exact?"exactly":n.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(n.maximum))}`:t="Invalid input";break;case Tt.custom:t="Invalid input";break;case Tt.invalid_intersection_types:t="Intersection results could not be merged";break;case Tt.not_multiple_of:t=`Number must be a multiple of ${n.multipleOf}`;break;case Tt.not_finite:t="Number must be finite";break;default:t=e.defaultError,da.assertNever(n)}return{message:t}},d9e=qg;nB=n=>{let{data:e,path:t,errorMaps:a,issueData:r}=n,i=[...t,...r.path||[]],s={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let f="",o=a.filter(c=>!!c).slice().reverse();for(let c of o)f=c(s,{data:e,defaultError:f}).message;return{...r,path:i,message:f}},$Dt=[];mo=class n{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let a=[];for(let r of t){if(r.status==="aborted")return M0;r.status==="dirty"&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,t){let a=[];for(let r of t){let i=await r.key,s=await r.value;a.push({key:i,value:s})}return n.mergeObjectSync(e,a)}static mergeObjectSync(e,t){let a={};for(let r of t){let{key:i,value:s}=r;if(i.status==="aborted"||s.status==="aborted")return M0;i.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||r.alwaysSet)&&(a[i.value]=s.value)}return{status:e.value,value:a}}},M0=Object.freeze({status:"aborted"}),Ug=n=>({status:"dirty",value:n}),g1=n=>({status:"valid",value:n}),yZ=n=>n.status==="aborted",mZ=n=>n.status==="dirty",BE=n=>n.status==="valid",NE=n=>typeof Promise<"u"&&n instanceof Promise;(function(n){n.errToObj=e=>typeof e=="string"?{message:e}:e||{},n.toString=e=>typeof e=="string"?e:e?.message})(u0||(u0={}));zd=class{constructor(e,t,a,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=a,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},o9e=(n,e)=>{if(BE(e))return{success:!0,data:e.value};if(!n.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new Xc(n.common.issues);return this._error=t,this._error}}};an=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return k8(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:k8(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new mo,ctx:{common:e.parent.common,data:e.data,parsedType:k8(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(NE(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let a=this.safeParse(e,t);if(a.success)return a.data;throw a.error}safeParse(e,t){var a;let r={common:{issues:[],async:(a=t?.async)!==null&&a!==void 0?a:!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:k8(e)},i=this._parseSync({data:e,path:r.path,parent:r});return o9e(r,i)}async parseAsync(e,t){let a=await this.safeParseAsync(e,t);if(a.success)return a.data;throw a.error}async safeParseAsync(e,t){let a={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:k8(e)},r=this._parse({data:e,path:a.path,parent:a}),i=await(NE(r)?r:Promise.resolve(r));return o9e(a,i)}refine(e,t){let a=r=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(r):t;return this._refinement((r,i)=>{let s=e(r),f=()=>i.addIssue({code:Tt.custom,...a(r)});return typeof Promise<"u"&&s instanceof Promise?s.then(o=>o?!0:(f(),!1)):s?!0:(f(),!1)})}refinement(e,t){return this._refinement((a,r)=>e(a)?!0:(r.addIssue(typeof t=="function"?t(a,r):t),!1))}_refinement(e){return new Zc({schema:this,typeName:P0.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Hd.create(this,this._def)}nullable(){return Np.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return h2.create(this,this._def)}promise(){return L8.create(this,this._def)}or(e){return _b.create([this,e],this._def)}and(e){return wb.create(this,e,this._def)}transform(e){return new Zc({...nn(this._def),schema:this,typeName:P0.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t=typeof e=="function"?e:()=>e;return new Cb({...nn(this._def),innerType:this,defaultValue:t,typeName:P0.ZodDefault})}brand(){return new FE({typeName:P0.ZodBranded,type:this,...nn(this._def)})}catch(e){let t=typeof e=="function"?e:()=>e;return new Sb({...nn(this._def),innerType:this,catchValue:t,typeName:P0.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return OE.create(this,e)}readonly(){return Ab.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},UDt=/^c[^\s-]{8,}$/i,qDt=/^[0-9a-z]+$/,HDt=/^[0-9A-HJKMNP-TV-Z]{26}$/,zDt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,WDt=/^[a-z0-9_-]{21}$/i,jDt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,GDt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,KDt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",QDt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,YDt=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,JDt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,p9e="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",XDt=new RegExp(`^${p9e}$`);P8=class n extends an{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==e0.string){let i=this._getOrReturnCtx(e);return Yt(i,{code:Tt.invalid_type,expected:e0.string,received:i.parsedType}),M0}let a=new mo,r;for(let i of this._def.checks)if(i.kind==="min")e.data.lengthi.value&&(r=this._getOrReturnCtx(e,r),Yt(r,{code:Tt.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),a.dirty());else if(i.kind==="length"){let s=e.data.length>i.value,f=e.data.lengthe.test(r),{validation:t,code:Tt.invalid_string,...u0.errToObj(a)})}_addCheck(e){return new n({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...u0.errToObj(e)})}url(e){return this._addCheck({kind:"url",...u0.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...u0.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...u0.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...u0.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...u0.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...u0.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...u0.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...u0.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...u0.errToObj(e)})}datetime(e){var t,a;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(t=e?.offset)!==null&&t!==void 0?t:!1,local:(a=e?.local)!==null&&a!==void 0?a:!1,...u0.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...u0.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...u0.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...u0.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...u0.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...u0.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...u0.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...u0.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...u0.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...u0.errToObj(t)})}nonempty(e){return this.min(1,u0.errToObj(e))}trim(){return new n({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new n({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new n({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var e;return new P8({checks:[],typeName:P0.ZodString,coerce:(e=n?.coerce)!==null&&e!==void 0?e:!1,...nn(n)})};mb=class n extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==e0.number){let i=this._getOrReturnCtx(e);return Yt(i,{code:Tt.invalid_type,expected:e0.number,received:i.parsedType}),M0}let a,r=new mo;for(let i of this._def.checks)i.kind==="int"?da.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?e.datai.value:e.data>=i.value)&&(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?tCt(e.data,i.value)!==0&&(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.not_finite,message:i.message}),r.dirty()):da.assertNever(i);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,u0.toString(t))}gt(e,t){return this.setLimit("min",e,!1,u0.toString(t))}lte(e,t){return this.setLimit("max",e,!0,u0.toString(t))}lt(e,t){return this.setLimit("max",e,!1,u0.toString(t))}setLimit(e,t,a,r){return new n({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:a,message:u0.toString(r)}]})}_addCheck(e){return new n({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:u0.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:u0.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:u0.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:u0.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:u0.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:u0.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:u0.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:u0.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:u0.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&da.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(t===null||a.value>t)&&(t=a.value):a.kind==="max"&&(e===null||a.valuenew mb({checks:[],typeName:P0.ZodNumber,coerce:n?.coerce||!1,...nn(n)});bb=class n extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==e0.bigint){let i=this._getOrReturnCtx(e);return Yt(i,{code:Tt.invalid_type,expected:e0.bigint,received:i.parsedType}),M0}let a,r=new mo;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?e.datai.value:e.data>=i.value)&&(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?e.data%i.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Yt(a,{code:Tt.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):da.assertNever(i);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,u0.toString(t))}gt(e,t){return this.setLimit("min",e,!1,u0.toString(t))}lte(e,t){return this.setLimit("max",e,!0,u0.toString(t))}lt(e,t){return this.setLimit("max",e,!1,u0.toString(t))}setLimit(e,t,a,r){return new n({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:a,message:u0.toString(r)}]})}_addCheck(e){return new n({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:u0.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:u0.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:u0.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:u0.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:u0.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var e;return new bb({checks:[],typeName:P0.ZodBigInt,coerce:(e=n?.coerce)!==null&&e!==void 0?e:!1,...nn(n)})};hb=class extends an{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==e0.boolean){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.boolean,received:a.parsedType}),M0}return g1(e.data)}};hb.create=n=>new hb({typeName:P0.ZodBoolean,coerce:n?.coerce||!1,...nn(n)});gb=class n extends an{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==e0.date){let i=this._getOrReturnCtx(e);return Yt(i,{code:Tt.invalid_type,expected:e0.date,received:i.parsedType}),M0}if(isNaN(e.data.getTime())){let i=this._getOrReturnCtx(e);return Yt(i,{code:Tt.invalid_date}),M0}let a=new mo,r;for(let i of this._def.checks)i.kind==="min"?e.data.getTime()i.value&&(r=this._getOrReturnCtx(e,r),Yt(r,{code:Tt.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),a.dirty()):da.assertNever(i);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new n({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:u0.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:u0.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuenew gb({checks:[],coerce:n?.coerce||!1,typeName:P0.ZodDate,...nn(n)});Hg=class extends an{_parse(e){if(this._getType(e)!==e0.symbol){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.symbol,received:a.parsedType}),M0}return g1(e.data)}};Hg.create=n=>new Hg({typeName:P0.ZodSymbol,...nn(n)});vb=class extends an{_parse(e){if(this._getType(e)!==e0.undefined){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.undefined,received:a.parsedType}),M0}return g1(e.data)}};vb.create=n=>new vb({typeName:P0.ZodUndefined,...nn(n)});Tb=class extends an{_parse(e){if(this._getType(e)!==e0.null){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.null,received:a.parsedType}),M0}return g1(e.data)}};Tb.create=n=>new Tb({typeName:P0.ZodNull,...nn(n)});R8=class extends an{constructor(){super(...arguments),this._any=!0}_parse(e){return g1(e.data)}};R8.create=n=>new R8({typeName:P0.ZodAny,...nn(n)});b2=class extends an{constructor(){super(...arguments),this._unknown=!0}_parse(e){return g1(e.data)}};b2.create=n=>new b2({typeName:P0.ZodUnknown,...nn(n)});_l=class extends an{_parse(e){let t=this._getOrReturnCtx(e);return Yt(t,{code:Tt.invalid_type,expected:e0.never,received:t.parsedType}),M0}};_l.create=n=>new _l({typeName:P0.ZodNever,...nn(n)});zg=class extends an{_parse(e){if(this._getType(e)!==e0.undefined){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.void,received:a.parsedType}),M0}return g1(e.data)}};zg.create=n=>new zg({typeName:P0.ZodVoid,...nn(n)});h2=class n extends an{_parse(e){let{ctx:t,status:a}=this._processInputParams(e),r=this._def;if(t.parsedType!==e0.array)return Yt(t,{code:Tt.invalid_type,expected:e0.array,received:t.parsedType}),M0;if(r.exactLength!==null){let s=t.data.length>r.exactLength.value,f=t.data.lengthr.maxLength.value&&(Yt(t,{code:Tt.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),t.common.async)return Promise.all([...t.data].map((s,f)=>r.type._parseAsync(new zd(t,s,t.path,f)))).then(s=>mo.mergeArray(a,s));let i=[...t.data].map((s,f)=>r.type._parseSync(new zd(t,s,t.path,f)));return mo.mergeArray(a,i)}get element(){return this._def.type}min(e,t){return new n({...this._def,minLength:{value:e,message:u0.toString(t)}})}max(e,t){return new n({...this._def,maxLength:{value:e,message:u0.toString(t)}})}length(e,t){return new n({...this._def,exactLength:{value:e,message:u0.toString(t)}})}nonempty(e){return this.min(1,e)}};h2.create=(n,e)=>new h2({type:n,minLength:null,maxLength:null,exactLength:null,typeName:P0.ZodArray,...nn(e)});fc=class n extends an{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=da.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==e0.object){let c=this._getOrReturnCtx(e);return Yt(c,{code:Tt.invalid_type,expected:e0.object,received:c.parsedType}),M0}let{status:a,ctx:r}=this._processInputParams(e),{shape:i,keys:s}=this._getCached(),f=[];if(!(this._def.catchall instanceof _l&&this._def.unknownKeys==="strip"))for(let c in r.data)s.includes(c)||f.push(c);let o=[];for(let c of s){let d=i[c],l=r.data[c];o.push({key:{status:"valid",value:c},value:d._parse(new zd(r,l,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof _l){let c=this._def.unknownKeys;if(c==="passthrough")for(let d of f)o.push({key:{status:"valid",value:d},value:{status:"valid",value:r.data[d]}});else if(c==="strict")f.length>0&&(Yt(r,{code:Tt.unrecognized_keys,keys:f}),a.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let d of f){let l=r.data[d];o.push({key:{status:"valid",value:d},value:c._parse(new zd(r,l,r.path,d)),alwaysSet:d in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let d of o){let l=await d.key,y=await d.value;c.push({key:l,value:y,alwaysSet:d.alwaysSet})}return c}).then(c=>mo.mergeObjectSync(a,c)):mo.mergeObjectSync(a,o)}get shape(){return this._def.shape()}strict(e){return u0.errToObj,new n({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,a)=>{var r,i,s,f;let o=(s=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,t,a).message)!==null&&s!==void 0?s:a.defaultError;return t.code==="unrecognized_keys"?{message:(f=u0.errToObj(e).message)!==null&&f!==void 0?f:o}:{message:o}}}:{}})}strip(){return new n({...this._def,unknownKeys:"strip"})}passthrough(){return new n({...this._def,unknownKeys:"passthrough"})}extend(e){return new n({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new n({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:P0.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new n({...this._def,catchall:e})}pick(e){let t={};return da.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(t[a]=this.shape[a])}),new n({...this._def,shape:()=>t})}omit(e){let t={};return da.objectKeys(this.shape).forEach(a=>{e[a]||(t[a]=this.shape[a])}),new n({...this._def,shape:()=>t})}deepPartial(){return $g(this)}partial(e){let t={};return da.objectKeys(this.shape).forEach(a=>{let r=this.shape[a];e&&!e[a]?t[a]=r:t[a]=r.optional()}),new n({...this._def,shape:()=>t})}required(e){let t={};return da.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])t[a]=this.shape[a];else{let i=this.shape[a];for(;i instanceof Hd;)i=i._def.innerType;t[a]=i}}),new n({...this._def,shape:()=>t})}keyof(){return m9e(da.objectKeys(this.shape))}};fc.create=(n,e)=>new fc({shape:()=>n,unknownKeys:"strip",catchall:_l.create(),typeName:P0.ZodObject,...nn(e)});fc.strictCreate=(n,e)=>new fc({shape:()=>n,unknownKeys:"strict",catchall:_l.create(),typeName:P0.ZodObject,...nn(e)});fc.lazycreate=(n,e)=>new fc({shape:n,unknownKeys:"strip",catchall:_l.create(),typeName:P0.ZodObject,...nn(e)});_b=class extends an{_parse(e){let{ctx:t}=this._processInputParams(e),a=this._def.options;function r(i){for(let f of i)if(f.result.status==="valid")return f.result;for(let f of i)if(f.result.status==="dirty")return t.common.issues.push(...f.ctx.common.issues),f.result;let s=i.map(f=>new Xc(f.ctx.common.issues));return Yt(t,{code:Tt.invalid_union,unionErrors:s}),M0}if(t.common.async)return Promise.all(a.map(async i=>{let s={...t,common:{...t.common,issues:[]},parent:null};return{result:await i._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}})).then(r);{let i,s=[];for(let o of a){let c={...t,common:{...t.common,issues:[]},parent:null},d=o._parseSync({data:t.data,path:t.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(i)return t.common.issues.push(...i.ctx.common.issues),i.result;let f=s.map(o=>new Xc(o));return Yt(t,{code:Tt.invalid_union,unionErrors:f}),M0}}get options(){return this._def.options}};_b.create=(n,e)=>new _b({options:n,typeName:P0.ZodUnion,...nn(e)});m2=n=>n instanceof xb?m2(n.schema):n instanceof Zc?m2(n.innerType()):n instanceof Ib?[n.value]:n instanceof Eb?n.options:n instanceof Db?da.objectValues(n.enum):n instanceof Cb?m2(n._def.innerType):n instanceof vb?[void 0]:n instanceof Tb?[null]:n instanceof Hd?[void 0,...m2(n.unwrap())]:n instanceof Np?[null,...m2(n.unwrap())]:n instanceof FE||n instanceof Ab?m2(n.unwrap()):n instanceof Sb?m2(n._def.innerType):[],rB=class n extends an{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==e0.object)return Yt(t,{code:Tt.invalid_type,expected:e0.object,received:t.parsedType}),M0;let a=this.discriminator,r=t.data[a],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(Yt(t,{code:Tt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),M0)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,a){let r=new Map;for(let i of t){let s=m2(i.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let f of s){if(r.has(f))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(f)}`);r.set(f,i)}}return new n({typeName:P0.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...nn(a)})}};wb=class extends an{_parse(e){let{status:t,ctx:a}=this._processInputParams(e),r=(i,s)=>{if(yZ(i)||yZ(s))return M0;let f=bZ(i.value,s.value);return f.valid?((mZ(i)||mZ(s))&&t.dirty(),{status:t.value,value:f.data}):(Yt(a,{code:Tt.invalid_intersection_types}),M0)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([i,s])=>r(i,s)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}};wb.create=(n,e,t)=>new wb({left:n,right:e,typeName:P0.ZodIntersection,...nn(t)});Bp=class n extends an{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==e0.array)return Yt(a,{code:Tt.invalid_type,expected:e0.array,received:a.parsedType}),M0;if(a.data.lengththis._def.items.length&&(Yt(a,{code:Tt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let i=[...a.data].map((s,f)=>{let o=this._def.items[f]||this._def.rest;return o?o._parse(new zd(a,s,a.path,f)):null}).filter(s=>!!s);return a.common.async?Promise.all(i).then(s=>mo.mergeArray(t,s)):mo.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new n({...this._def,rest:e})}};Bp.create=(n,e)=>{if(!Array.isArray(n))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Bp({items:n,typeName:P0.ZodTuple,rest:null,...nn(e)})};iB=class n extends an{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==e0.object)return Yt(a,{code:Tt.invalid_type,expected:e0.object,received:a.parsedType}),M0;let r=[],i=this._def.keyType,s=this._def.valueType;for(let f in a.data)r.push({key:i._parse(new zd(a,f,a.path,f)),value:s._parse(new zd(a,a.data[f],a.path,f)),alwaysSet:f in a.data});return a.common.async?mo.mergeObjectAsync(t,r):mo.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,a){return t instanceof an?new n({keyType:e,valueType:t,typeName:P0.ZodRecord,...nn(a)}):new n({keyType:P8.create(),valueType:e,typeName:P0.ZodRecord,...nn(t)})}},Wg=class extends an{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==e0.map)return Yt(a,{code:Tt.invalid_type,expected:e0.map,received:a.parsedType}),M0;let r=this._def.keyType,i=this._def.valueType,s=[...a.data.entries()].map(([f,o],c)=>({key:r._parse(new zd(a,f,a.path,[c,"key"])),value:i._parse(new zd(a,o,a.path,[c,"value"]))}));if(a.common.async){let f=new Map;return Promise.resolve().then(async()=>{for(let o of s){let c=await o.key,d=await o.value;if(c.status==="aborted"||d.status==="aborted")return M0;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),f.set(c.value,d.value)}return{status:t.value,value:f}})}else{let f=new Map;for(let o of s){let c=o.key,d=o.value;if(c.status==="aborted"||d.status==="aborted")return M0;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),f.set(c.value,d.value)}return{status:t.value,value:f}}}};Wg.create=(n,e,t)=>new Wg({valueType:e,keyType:n,typeName:P0.ZodMap,...nn(t)});jg=class n extends an{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==e0.set)return Yt(a,{code:Tt.invalid_type,expected:e0.set,received:a.parsedType}),M0;let r=this._def;r.minSize!==null&&a.data.sizer.maxSize.value&&(Yt(a,{code:Tt.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function s(o){let c=new Set;for(let d of o){if(d.status==="aborted")return M0;d.status==="dirty"&&t.dirty(),c.add(d.value)}return{status:t.value,value:c}}let f=[...a.data.values()].map((o,c)=>i._parse(new zd(a,o,a.path,c)));return a.common.async?Promise.all(f).then(o=>s(o)):s(f)}min(e,t){return new n({...this._def,minSize:{value:e,message:u0.toString(t)}})}max(e,t){return new n({...this._def,maxSize:{value:e,message:u0.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};jg.create=(n,e)=>new jg({valueType:n,minSize:null,maxSize:null,typeName:P0.ZodSet,...nn(e)});sB=class n extends an{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==e0.function)return Yt(t,{code:Tt.invalid_type,expected:e0.function,received:t.parsedType}),M0;function a(f,o){return nB({data:f,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,tB(),qg].filter(c=>!!c),issueData:{code:Tt.invalid_arguments,argumentsError:o}})}function r(f,o){return nB({data:f,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,tB(),qg].filter(c=>!!c),issueData:{code:Tt.invalid_return_type,returnTypeError:o}})}let i={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof L8){let f=this;return g1(async function(...o){let c=new Xc([]),d=await f._def.args.parseAsync(o,i).catch(h=>{throw c.addIssue(a(o,h)),c}),l=await Reflect.apply(s,this,d);return await f._def.returns._def.type.parseAsync(l,i).catch(h=>{throw c.addIssue(r(l,h)),c})})}else{let f=this;return g1(function(...o){let c=f._def.args.safeParse(o,i);if(!c.success)throw new Xc([a(o,c.error)]);let d=Reflect.apply(s,this,c.data),l=f._def.returns.safeParse(d,i);if(!l.success)throw new Xc([r(d,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new n({...this._def,args:Bp.create(e).rest(b2.create())})}returns(e){return new n({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,a){return new n({args:e||Bp.create([]).rest(b2.create()),returns:t||b2.create(),typeName:P0.ZodFunction,...nn(a)})}},xb=class extends an{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};xb.create=(n,e)=>new xb({getter:n,typeName:P0.ZodLazy,...nn(e)});Ib=class extends an{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return Yt(t,{received:t.data,code:Tt.invalid_literal,expected:this._def.value}),M0}return{status:"valid",value:e.data}}get value(){return this._def.value}};Ib.create=(n,e)=>new Ib({value:n,typeName:P0.ZodLiteral,...nn(e)});Eb=class n extends an{constructor(){super(...arguments),LE.set(this,void 0)}_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),a=this._def.values;return Yt(t,{expected:da.joinValues(a),received:t.parsedType,code:Tt.invalid_type}),M0}if(aB(this,LE,"f")||l9e(this,LE,new Set(this._def.values),"f"),!aB(this,LE,"f").has(e.data)){let t=this._getOrReturnCtx(e),a=this._def.values;return Yt(t,{received:t.data,code:Tt.invalid_enum_value,options:a}),M0}return g1(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return n.create(e,{...this._def,...t})}exclude(e,t=this._def){return n.create(this.options.filter(a=>!e.includes(a)),{...this._def,...t})}};LE=new WeakMap;Eb.create=m9e;Db=class extends an{constructor(){super(...arguments),ME.set(this,void 0)}_parse(e){let t=da.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==e0.string&&a.parsedType!==e0.number){let r=da.objectValues(t);return Yt(a,{expected:da.joinValues(r),received:a.parsedType,code:Tt.invalid_type}),M0}if(aB(this,ME,"f")||l9e(this,ME,new Set(da.getValidEnumValues(this._def.values)),"f"),!aB(this,ME,"f").has(e.data)){let r=da.objectValues(t);return Yt(a,{received:a.data,code:Tt.invalid_enum_value,options:r}),M0}return g1(e.data)}get enum(){return this._def.values}};ME=new WeakMap;Db.create=(n,e)=>new Db({values:n,typeName:P0.ZodNativeEnum,...nn(e)});L8=class extends an{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==e0.promise&&t.common.async===!1)return Yt(t,{code:Tt.invalid_type,expected:e0.promise,received:t.parsedType}),M0;let a=t.parsedType===e0.promise?t.data:Promise.resolve(t.data);return g1(a.then(r=>this._def.type.parseAsync(r,{path:t.path,errorMap:t.common.contextualErrorMap})))}};L8.create=(n,e)=>new L8({type:n,typeName:P0.ZodPromise,...nn(e)});Zc=class extends an{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===P0.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:a}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:s=>{Yt(a,s),s.fatal?t.abort():t.dirty()},get path(){return a.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){let s=r.transform(a.data,i);if(a.common.async)return Promise.resolve(s).then(async f=>{if(t.value==="aborted")return M0;let o=await this._def.schema._parseAsync({data:f,path:a.path,parent:a});return o.status==="aborted"?M0:o.status==="dirty"||t.value==="dirty"?Ug(o.value):o});{if(t.value==="aborted")return M0;let f=this._def.schema._parseSync({data:s,path:a.path,parent:a});return f.status==="aborted"?M0:f.status==="dirty"||t.value==="dirty"?Ug(f.value):f}}if(r.type==="refinement"){let s=f=>{let o=r.refinement(f,i);if(a.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return f};if(a.common.async===!1){let f=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return f.status==="aborted"?M0:(f.status==="dirty"&&t.dirty(),s(f.value),{status:t.value,value:f.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(f=>f.status==="aborted"?M0:(f.status==="dirty"&&t.dirty(),s(f.value).then(()=>({status:t.value,value:f.value}))))}if(r.type==="transform")if(a.common.async===!1){let s=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!BE(s))return s;let f=r.transform(s.value,i);if(f instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:f}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(s=>BE(s)?Promise.resolve(r.transform(s.value,i)).then(f=>({status:t.value,value:f})):s);da.assertNever(r)}};Zc.create=(n,e,t)=>new Zc({schema:n,typeName:P0.ZodEffects,effect:e,...nn(t)});Zc.createWithPreprocess=(n,e,t)=>new Zc({schema:e,effect:{type:"preprocess",transform:n},typeName:P0.ZodEffects,...nn(t)});Hd=class extends an{_parse(e){return this._getType(e)===e0.undefined?g1(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Hd.create=(n,e)=>new Hd({innerType:n,typeName:P0.ZodOptional,...nn(e)});Np=class extends an{_parse(e){return this._getType(e)===e0.null?g1(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Np.create=(n,e)=>new Np({innerType:n,typeName:P0.ZodNullable,...nn(e)});Cb=class extends an{_parse(e){let{ctx:t}=this._processInputParams(e),a=t.data;return t.parsedType===e0.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};Cb.create=(n,e)=>new Cb({innerType:n,typeName:P0.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...nn(e)});Sb=class extends an{_parse(e){let{ctx:t}=this._processInputParams(e),a={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return NE(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Xc(a.common.issues)},input:a.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new Xc(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}};Sb.create=(n,e)=>new Sb({innerType:n,typeName:P0.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...nn(e)});Gg=class extends an{_parse(e){if(this._getType(e)!==e0.nan){let a=this._getOrReturnCtx(e);return Yt(a,{code:Tt.invalid_type,expected:e0.nan,received:a.parsedType}),M0}return{status:"valid",value:e.data}}};Gg.create=n=>new Gg({typeName:P0.ZodNaN,...nn(n)});nCt=Symbol("zod_brand"),FE=class extends an{_parse(e){let{ctx:t}=this._processInputParams(e),a=t.data;return this._def.type._parse({data:a,path:t.path,parent:t})}unwrap(){return this._def.type}},OE=class n extends an{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return i.status==="aborted"?M0:i.status==="dirty"?(t.dirty(),Ug(i.value)):this._def.out._parseAsync({data:i.value,path:a.path,parent:a})})();{let r=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return r.status==="aborted"?M0:r.status==="dirty"?(t.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:a.path,parent:a})}}static create(e,t){return new n({in:e,out:t,typeName:P0.ZodPipeline})}},Ab=class extends an{_parse(e){let t=this._def.innerType._parse(e),a=r=>(BE(r)&&(r.value=Object.freeze(r.value)),r);return NE(t)?t.then(r=>a(r)):a(t)}unwrap(){return this._def.innerType}};Ab.create=(n,e)=>new Ab({innerType:n,typeName:P0.ZodReadonly,...nn(e)});aCt={object:fc.lazycreate};(function(n){n.ZodString="ZodString",n.ZodNumber="ZodNumber",n.ZodNaN="ZodNaN",n.ZodBigInt="ZodBigInt",n.ZodBoolean="ZodBoolean",n.ZodDate="ZodDate",n.ZodSymbol="ZodSymbol",n.ZodUndefined="ZodUndefined",n.ZodNull="ZodNull",n.ZodAny="ZodAny",n.ZodUnknown="ZodUnknown",n.ZodNever="ZodNever",n.ZodVoid="ZodVoid",n.ZodArray="ZodArray",n.ZodObject="ZodObject",n.ZodUnion="ZodUnion",n.ZodDiscriminatedUnion="ZodDiscriminatedUnion",n.ZodIntersection="ZodIntersection",n.ZodTuple="ZodTuple",n.ZodRecord="ZodRecord",n.ZodMap="ZodMap",n.ZodSet="ZodSet",n.ZodFunction="ZodFunction",n.ZodLazy="ZodLazy",n.ZodLiteral="ZodLiteral",n.ZodEnum="ZodEnum",n.ZodEffects="ZodEffects",n.ZodNativeEnum="ZodNativeEnum",n.ZodOptional="ZodOptional",n.ZodNullable="ZodNullable",n.ZodDefault="ZodDefault",n.ZodCatch="ZodCatch",n.ZodPromise="ZodPromise",n.ZodBranded="ZodBranded",n.ZodPipeline="ZodPipeline",n.ZodReadonly="ZodReadonly"})(P0||(P0={}));rCt=(n,e={message:`Input not instance of ${n.name}`})=>b9e(t=>t instanceof n,e),h9e=P8.create,g9e=mb.create,iCt=Gg.create,sCt=bb.create,v9e=hb.create,fCt=gb.create,oCt=Hg.create,cCt=vb.create,dCt=Tb.create,lCt=R8.create,pCt=b2.create,uCt=_l.create,yCt=zg.create,mCt=h2.create,bCt=fc.create,hCt=fc.strictCreate,gCt=_b.create,vCt=rB.create,TCt=wb.create,_Ct=Bp.create,wCt=iB.create,xCt=Wg.create,ICt=jg.create,ECt=sB.create,DCt=xb.create,CCt=Ib.create,SCt=Eb.create,ACt=Db.create,kCt=L8.create,c9e=Zc.create,PCt=Hd.create,RCt=Np.create,LCt=Zc.createWithPreprocess,MCt=OE.create,BCt=()=>h9e().optional(),NCt=()=>g9e().optional(),FCt=()=>v9e().optional(),OCt={string:n=>P8.create({...n,coerce:!0}),number:n=>mb.create({...n,coerce:!0}),boolean:n=>hb.create({...n,coerce:!0}),bigint:n=>bb.create({...n,coerce:!0}),date:n=>gb.create({...n,coerce:!0})},VCt=M0,re=Object.freeze({__proto__:null,defaultErrorMap:qg,setErrorMap:VDt,getErrorMap:tB,makeIssue:nB,EMPTY_PATH:$Dt,addIssueToContext:Yt,ParseStatus:mo,INVALID:M0,DIRTY:Ug,OK:g1,isAborted:yZ,isDirty:mZ,isValid:BE,isAsync:NE,get util(){return da},get objectUtil(){return uZ},ZodParsedType:e0,getParsedType:k8,ZodType:an,datetimeRegex:y9e,ZodString:P8,ZodNumber:mb,ZodBigInt:bb,ZodBoolean:hb,ZodDate:gb,ZodSymbol:Hg,ZodUndefined:vb,ZodNull:Tb,ZodAny:R8,ZodUnknown:b2,ZodNever:_l,ZodVoid:zg,ZodArray:h2,ZodObject:fc,ZodUnion:_b,ZodDiscriminatedUnion:rB,ZodIntersection:wb,ZodTuple:Bp,ZodRecord:iB,ZodMap:Wg,ZodSet:jg,ZodFunction:sB,ZodLazy:xb,ZodLiteral:Ib,ZodEnum:Eb,ZodNativeEnum:Db,ZodPromise:L8,ZodEffects:Zc,ZodTransformer:Zc,ZodOptional:Hd,ZodNullable:Np,ZodDefault:Cb,ZodCatch:Sb,ZodNaN:Gg,BRAND:nCt,ZodBranded:FE,ZodPipeline:OE,ZodReadonly:Ab,custom:b9e,Schema:an,ZodSchema:an,late:aCt,get ZodFirstPartyTypeKind(){return P0},coerce:OCt,any:lCt,array:mCt,bigint:sCt,boolean:v9e,date:fCt,discriminatedUnion:vCt,effect:c9e,enum:SCt,function:ECt,instanceof:rCt,intersection:TCt,lazy:DCt,literal:CCt,map:xCt,nan:iCt,nativeEnum:ACt,never:uCt,null:dCt,nullable:RCt,number:g9e,object:bCt,oboolean:FCt,onumber:NCt,optional:PCt,ostring:BCt,pipeline:MCt,preprocess:LCt,promise:kCt,record:wCt,set:ICt,strictObject:hCt,string:h9e,symbol:oCt,transformer:c9e,tuple:_Ct,undefined:cCt,union:gCt,unknown:pCt,void:yCt,NEVER:VCt,ZodIssueCode:Tt,quotelessJson:ODt,ZodError:Xc})});function hZ(){if(!fB&&(fB=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!fB))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return fB($Ct)}var fB,$Ct,T9e=ce(()=>{p();u();$Ct=new Uint8Array(16)});function _9e(n,e=0){return Mf[n[e+0]]+Mf[n[e+1]]+Mf[n[e+2]]+Mf[n[e+3]]+"-"+Mf[n[e+4]]+Mf[n[e+5]]+"-"+Mf[n[e+6]]+Mf[n[e+7]]+"-"+Mf[n[e+8]]+Mf[n[e+9]]+"-"+Mf[n[e+10]]+Mf[n[e+11]]+Mf[n[e+12]]+Mf[n[e+13]]+Mf[n[e+14]]+Mf[n[e+15]]}var Mf,w9e=ce(()=>{p();u();Mf=[];for(let n=0;n<256;++n)Mf.push((n+256).toString(16).slice(1))});var UCt,gZ,x9e=ce(()=>{p();u();UCt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),gZ={randomUUID:UCt}});function qCt(n,e,t){if(gZ.randomUUID&&!e&&!n)return gZ.randomUUID();n=n||{};let a=n.random||(n.rng||hZ)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){t=t||0;for(let r=0;r<16;++r)e[t+r]=a[r];return e}return _9e(a)}var Kg,I9e=ce(()=>{p();u();x9e();T9e();w9e();Kg=qCt});var vZ=ce(()=>{p();u();I9e()});var Dr=B((E9e,TZ)=>{p();u();(function(n,e){"use strict";function t(v,b){if(!v)throw new Error(b||"Assertion failed")}function a(v,b){v.super_=b;var x=function(){};x.prototype=b.prototype,v.prototype=new x,v.prototype.constructor=v}function r(v,b,x){if(r.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&((b==="le"||b==="be")&&(x=b,b=10),this._init(v||0,b||10,x||"be"))}typeof n=="object"?n.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var i;try{typeof window<"u"&&typeof window.Buffer<"u"?i=window.Buffer:i=ki().Buffer}catch{}r.isBN=function(b){return b instanceof r?!0:b!==null&&typeof b=="object"&&b.constructor.wordSize===r.wordSize&&Array.isArray(b.words)},r.max=function(b,x){return b.cmp(x)>0?b:x},r.min=function(b,x){return b.cmp(x)<0?b:x},r.prototype._init=function(b,x,L){if(typeof b=="number")return this._initNumber(b,x,L);if(typeof b=="object")return this._initArray(b,x,L);x==="hex"&&(x=16),t(x===(x|0)&&x>=2&&x<=36),b=b.toString().replace(/\s+/g,"");var M=0;b[0]==="-"&&(M++,this.negative=1),M=0;M-=3)g=b[M]|b[M-1]<<8|b[M-2]<<16,this.words[w]|=g<>>26-R&67108863,R+=24,R>=26&&(R-=26,w++);else if(L==="le")for(M=0,w=0;M>>26-R&67108863,R+=24,R>=26&&(R-=26,w++);return this._strip()};function s(v,b){var x=v.charCodeAt(b);if(x>=48&&x<=57)return x-48;if(x>=65&&x<=70)return x-55;if(x>=97&&x<=102)return x-87;t(!1,"Invalid character in "+v)}function f(v,b,x){var L=s(v,x);return x-1>=b&&(L|=s(v,x-1)<<4),L}r.prototype._parseHex=function(b,x,L){this.length=Math.ceil((b.length-x)/6),this.words=new Array(this.length);for(var M=0;M=x;M-=2)R=f(b,x,M)<=18?(w-=18,g+=1,this.words[g]|=R>>>26):w+=8;else{var k=b.length-x;for(M=k%2===0?x+1:x;M=18?(w-=18,g+=1,this.words[g]|=R>>>26):w+=8}this._strip()};function o(v,b,x,L){for(var M=0,w=0,g=Math.min(v.length,x),R=b;R=49?w=k-49+10:k>=17?w=k-17+10:w=k,t(k>=0&&w1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch{r.prototype.inspect=d}else r.prototype.inspect=d;function d(){return(this.red?""}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(b,x){b=b||10,x=x|0||1;var L;if(b===16||b==="hex"){L="";for(var M=0,w=0,g=0;g>>24-M&16777215,M+=2,M>=26&&(M-=26,g--),w!==0||g!==this.length-1?L=l[6-k.length]+k+L:L=k+L}for(w!==0&&(L=w.toString(16)+L);L.length%x!==0;)L="0"+L;return this.negative!==0&&(L="-"+L),L}if(b===(b|0)&&b>=2&&b<=36){var C=y[b],H=h[b];L="";var te=this.clone();for(te.negative=0;!te.isZero();){var V=te.modrn(H).toString(b);te=te.idivn(H),te.isZero()?L=V+L:L=l[C-V.length]+V+L}for(this.isZero()&&(L="0"+L);L.length%x!==0;)L="0"+L;return this.negative!==0&&(L="-"+L),L}t(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var b=this.words[0];return this.length===2?b+=this.words[1]*67108864:this.length===3&&this.words[2]===1?b+=4503599627370496+this.words[1]*67108864:this.length>2&&t(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-b:b},r.prototype.toJSON=function(){return this.toString(16,2)},i&&(r.prototype.toBuffer=function(b,x){return this.toArrayLike(i,b,x)}),r.prototype.toArray=function(b,x){return this.toArrayLike(Array,b,x)};var T=function(b,x){return b.allocUnsafe?b.allocUnsafe(x):new b(x)};r.prototype.toArrayLike=function(b,x,L){this._strip();var M=this.byteLength(),w=L||Math.max(1,M);t(M<=w,"byte array longer than desired length"),t(w>0,"Requested array length <= 0");var g=T(b,w),R=x==="le"?"LE":"BE";return this["_toArrayLike"+R](g,M),g},r.prototype._toArrayLikeLE=function(b,x){for(var L=0,M=0,w=0,g=0;w>8&255),L>16&255),g===6?(L>24&255),M=0,g=0):(M=R>>>24,g+=2)}if(L=0&&(b[L--]=R>>8&255),L>=0&&(b[L--]=R>>16&255),g===6?(L>=0&&(b[L--]=R>>24&255),M=0,g=0):(M=R>>>24,g+=2)}if(L>=0)for(b[L--]=M;L>=0;)b[L--]=0},Math.clz32?r.prototype._countBits=function(b){return 32-Math.clz32(b)}:r.prototype._countBits=function(b){var x=b,L=0;return x>=4096&&(L+=13,x>>>=13),x>=64&&(L+=7,x>>>=7),x>=8&&(L+=4,x>>>=4),x>=2&&(L+=2,x>>>=2),L+x},r.prototype._zeroBits=function(b){if(b===0)return 26;var x=b,L=0;return x&8191||(L+=13,x>>>=13),x&127||(L+=7,x>>>=7),x&15||(L+=4,x>>>=4),x&3||(L+=2,x>>>=2),x&1||L++,L},r.prototype.bitLength=function(){var b=this.words[this.length-1],x=this._countBits(b);return(this.length-1)*26+x};function A(v){for(var b=new Array(v.bitLength()),x=0;x>>M&1}return b}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var b=0,x=0;xb.length?this.clone().ior(b):b.clone().ior(this)},r.prototype.uor=function(b){return this.length>b.length?this.clone().iuor(b):b.clone().iuor(this)},r.prototype.iuand=function(b){var x;this.length>b.length?x=b:x=this;for(var L=0;Lb.length?this.clone().iand(b):b.clone().iand(this)},r.prototype.uand=function(b){return this.length>b.length?this.clone().iuand(b):b.clone().iuand(this)},r.prototype.iuxor=function(b){var x,L;this.length>b.length?(x=this,L=b):(x=b,L=this);for(var M=0;Mb.length?this.clone().ixor(b):b.clone().ixor(this)},r.prototype.uxor=function(b){return this.length>b.length?this.clone().iuxor(b):b.clone().iuxor(this)},r.prototype.inotn=function(b){t(typeof b=="number"&&b>=0);var x=Math.ceil(b/26)|0,L=b%26;this._expand(x),L>0&&x--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-L),this._strip()},r.prototype.notn=function(b){return this.clone().inotn(b)},r.prototype.setn=function(b,x){t(typeof b=="number"&&b>=0);var L=b/26|0,M=b%26;return this._expand(L+1),x?this.words[L]=this.words[L]|1<b.length?(L=this,M=b):(L=b,M=this);for(var w=0,g=0;g>>26;for(;w!==0&&g>>26;if(this.length=L.length,w!==0)this.words[this.length]=w,this.length++;else if(L!==this)for(;gb.length?this.clone().iadd(b):b.clone().iadd(this)},r.prototype.isub=function(b){if(b.negative!==0){b.negative=0;var x=this.iadd(b);return b.negative=1,x._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(b),this.negative=1,this._normSign();var L=this.cmp(b);if(L===0)return this.negative=0,this.length=1,this.words[0]=0,this;var M,w;L>0?(M=this,w=b):(M=b,w=this);for(var g=0,R=0;R>26,this.words[R]=x&67108863;for(;g!==0&&R>26,this.words[R]=x&67108863;if(g===0&&R>>26,te=k&67108863,V=Math.min(C,b.length-1),Y=Math.max(0,C-v.length+1);Y<=V;Y++){var ee=C-Y|0;M=v.words[ee]|0,w=b.words[Y]|0,g=M*w+te,H+=g/67108864|0,te=g&67108863}x.words[C]=te|0,k=H|0}return k!==0?x.words[C]=k|0:x.length--,x._strip()}var N=function(b,x,L){var M=b.words,w=x.words,g=L.words,R=0,k,C,H,te=M[0]|0,V=te&8191,Y=te>>>13,ee=M[1]|0,ae=ee&8191,pe=ee>>>13,Q=M[2]|0,ie=Q&8191,se=Q>>>13,be=M[3]|0,de=be&8191,we=be>>>13,Oe=M[4]|0,Se=Oe&8191,it=Oe>>>13,qe=M[5]|0,Me=qe&8191,mt=qe>>>13,kt=M[6]|0,je=kt&8191,Et=kt>>>13,Ct=M[7]|0,rt=Ct&8191,Pt=Ct>>>13,Dt=M[8]|0,We=Dt&8191,Lt=Dt>>>13,$t=M[9]|0,Qe=$t&8191,Ft=$t>>>13,Ut=w[0]|0,et=Ut&8191,ue=Ut>>>13,me=w[1]|0,_e=me&8191,Be=me>>>13,Fe=w[2]|0,Le=Fe&8191,ct=Fe>>>13,ot=w[3]|0,$e=ot&8191,wt=ot>>>13,It=w[4]|0,Ge=It&8191,qt=It>>>13,Nt=w[5]|0,Ve=Nt&8191,xt=Nt>>>13,Ht=w[6]|0,tt=Ht&8191,Qt=Ht>>>13,Gt=w[7]|0,st=Gt&8191,zt=Gt>>>13,Zt=w[8]|0,ft=Zt&8191,Xt=Zt>>>13,_0=w[9]|0,Kt=_0&8191,v0=_0>>>13;L.negative=b.negative^x.negative,L.length=19,k=Math.imul(V,et),C=Math.imul(V,ue),C=C+Math.imul(Y,et)|0,H=Math.imul(Y,ue);var Cn=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,k=Math.imul(ae,et),C=Math.imul(ae,ue),C=C+Math.imul(pe,et)|0,H=Math.imul(pe,ue),k=k+Math.imul(V,_e)|0,C=C+Math.imul(V,Be)|0,C=C+Math.imul(Y,_e)|0,H=H+Math.imul(Y,Be)|0;var Sn=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,k=Math.imul(ie,et),C=Math.imul(ie,ue),C=C+Math.imul(se,et)|0,H=Math.imul(se,ue),k=k+Math.imul(ae,_e)|0,C=C+Math.imul(ae,Be)|0,C=C+Math.imul(pe,_e)|0,H=H+Math.imul(pe,Be)|0,k=k+Math.imul(V,Le)|0,C=C+Math.imul(V,ct)|0,C=C+Math.imul(Y,Le)|0,H=H+Math.imul(Y,ct)|0;var An=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(An>>>26)|0,An&=67108863,k=Math.imul(de,et),C=Math.imul(de,ue),C=C+Math.imul(we,et)|0,H=Math.imul(we,ue),k=k+Math.imul(ie,_e)|0,C=C+Math.imul(ie,Be)|0,C=C+Math.imul(se,_e)|0,H=H+Math.imul(se,Be)|0,k=k+Math.imul(ae,Le)|0,C=C+Math.imul(ae,ct)|0,C=C+Math.imul(pe,Le)|0,H=H+Math.imul(pe,ct)|0,k=k+Math.imul(V,$e)|0,C=C+Math.imul(V,wt)|0,C=C+Math.imul(Y,$e)|0,H=H+Math.imul(Y,wt)|0;var kn=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(kn>>>26)|0,kn&=67108863,k=Math.imul(Se,et),C=Math.imul(Se,ue),C=C+Math.imul(it,et)|0,H=Math.imul(it,ue),k=k+Math.imul(de,_e)|0,C=C+Math.imul(de,Be)|0,C=C+Math.imul(we,_e)|0,H=H+Math.imul(we,Be)|0,k=k+Math.imul(ie,Le)|0,C=C+Math.imul(ie,ct)|0,C=C+Math.imul(se,Le)|0,H=H+Math.imul(se,ct)|0,k=k+Math.imul(ae,$e)|0,C=C+Math.imul(ae,wt)|0,C=C+Math.imul(pe,$e)|0,H=H+Math.imul(pe,wt)|0,k=k+Math.imul(V,Ge)|0,C=C+Math.imul(V,qt)|0,C=C+Math.imul(Y,Ge)|0,H=H+Math.imul(Y,qt)|0;var Pn=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,k=Math.imul(Me,et),C=Math.imul(Me,ue),C=C+Math.imul(mt,et)|0,H=Math.imul(mt,ue),k=k+Math.imul(Se,_e)|0,C=C+Math.imul(Se,Be)|0,C=C+Math.imul(it,_e)|0,H=H+Math.imul(it,Be)|0,k=k+Math.imul(de,Le)|0,C=C+Math.imul(de,ct)|0,C=C+Math.imul(we,Le)|0,H=H+Math.imul(we,ct)|0,k=k+Math.imul(ie,$e)|0,C=C+Math.imul(ie,wt)|0,C=C+Math.imul(se,$e)|0,H=H+Math.imul(se,wt)|0,k=k+Math.imul(ae,Ge)|0,C=C+Math.imul(ae,qt)|0,C=C+Math.imul(pe,Ge)|0,H=H+Math.imul(pe,qt)|0,k=k+Math.imul(V,Ve)|0,C=C+Math.imul(V,xt)|0,C=C+Math.imul(Y,Ve)|0,H=H+Math.imul(Y,xt)|0;var ka=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(ka>>>26)|0,ka&=67108863,k=Math.imul(je,et),C=Math.imul(je,ue),C=C+Math.imul(Et,et)|0,H=Math.imul(Et,ue),k=k+Math.imul(Me,_e)|0,C=C+Math.imul(Me,Be)|0,C=C+Math.imul(mt,_e)|0,H=H+Math.imul(mt,Be)|0,k=k+Math.imul(Se,Le)|0,C=C+Math.imul(Se,ct)|0,C=C+Math.imul(it,Le)|0,H=H+Math.imul(it,ct)|0,k=k+Math.imul(de,$e)|0,C=C+Math.imul(de,wt)|0,C=C+Math.imul(we,$e)|0,H=H+Math.imul(we,wt)|0,k=k+Math.imul(ie,Ge)|0,C=C+Math.imul(ie,qt)|0,C=C+Math.imul(se,Ge)|0,H=H+Math.imul(se,qt)|0,k=k+Math.imul(ae,Ve)|0,C=C+Math.imul(ae,xt)|0,C=C+Math.imul(pe,Ve)|0,H=H+Math.imul(pe,xt)|0,k=k+Math.imul(V,tt)|0,C=C+Math.imul(V,Qt)|0,C=C+Math.imul(Y,tt)|0,H=H+Math.imul(Y,Qt)|0;var nr=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(nr>>>26)|0,nr&=67108863,k=Math.imul(rt,et),C=Math.imul(rt,ue),C=C+Math.imul(Pt,et)|0,H=Math.imul(Pt,ue),k=k+Math.imul(je,_e)|0,C=C+Math.imul(je,Be)|0,C=C+Math.imul(Et,_e)|0,H=H+Math.imul(Et,Be)|0,k=k+Math.imul(Me,Le)|0,C=C+Math.imul(Me,ct)|0,C=C+Math.imul(mt,Le)|0,H=H+Math.imul(mt,ct)|0,k=k+Math.imul(Se,$e)|0,C=C+Math.imul(Se,wt)|0,C=C+Math.imul(it,$e)|0,H=H+Math.imul(it,wt)|0,k=k+Math.imul(de,Ge)|0,C=C+Math.imul(de,qt)|0,C=C+Math.imul(we,Ge)|0,H=H+Math.imul(we,qt)|0,k=k+Math.imul(ie,Ve)|0,C=C+Math.imul(ie,xt)|0,C=C+Math.imul(se,Ve)|0,H=H+Math.imul(se,xt)|0,k=k+Math.imul(ae,tt)|0,C=C+Math.imul(ae,Qt)|0,C=C+Math.imul(pe,tt)|0,H=H+Math.imul(pe,Qt)|0,k=k+Math.imul(V,st)|0,C=C+Math.imul(V,zt)|0,C=C+Math.imul(Y,st)|0,H=H+Math.imul(Y,zt)|0;var Pa=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Pa>>>26)|0,Pa&=67108863,k=Math.imul(We,et),C=Math.imul(We,ue),C=C+Math.imul(Lt,et)|0,H=Math.imul(Lt,ue),k=k+Math.imul(rt,_e)|0,C=C+Math.imul(rt,Be)|0,C=C+Math.imul(Pt,_e)|0,H=H+Math.imul(Pt,Be)|0,k=k+Math.imul(je,Le)|0,C=C+Math.imul(je,ct)|0,C=C+Math.imul(Et,Le)|0,H=H+Math.imul(Et,ct)|0,k=k+Math.imul(Me,$e)|0,C=C+Math.imul(Me,wt)|0,C=C+Math.imul(mt,$e)|0,H=H+Math.imul(mt,wt)|0,k=k+Math.imul(Se,Ge)|0,C=C+Math.imul(Se,qt)|0,C=C+Math.imul(it,Ge)|0,H=H+Math.imul(it,qt)|0,k=k+Math.imul(de,Ve)|0,C=C+Math.imul(de,xt)|0,C=C+Math.imul(we,Ve)|0,H=H+Math.imul(we,xt)|0,k=k+Math.imul(ie,tt)|0,C=C+Math.imul(ie,Qt)|0,C=C+Math.imul(se,tt)|0,H=H+Math.imul(se,Qt)|0,k=k+Math.imul(ae,st)|0,C=C+Math.imul(ae,zt)|0,C=C+Math.imul(pe,st)|0,H=H+Math.imul(pe,zt)|0,k=k+Math.imul(V,ft)|0,C=C+Math.imul(V,Xt)|0,C=C+Math.imul(Y,ft)|0,H=H+Math.imul(Y,Xt)|0;var ar=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(ar>>>26)|0,ar&=67108863,k=Math.imul(Qe,et),C=Math.imul(Qe,ue),C=C+Math.imul(Ft,et)|0,H=Math.imul(Ft,ue),k=k+Math.imul(We,_e)|0,C=C+Math.imul(We,Be)|0,C=C+Math.imul(Lt,_e)|0,H=H+Math.imul(Lt,Be)|0,k=k+Math.imul(rt,Le)|0,C=C+Math.imul(rt,ct)|0,C=C+Math.imul(Pt,Le)|0,H=H+Math.imul(Pt,ct)|0,k=k+Math.imul(je,$e)|0,C=C+Math.imul(je,wt)|0,C=C+Math.imul(Et,$e)|0,H=H+Math.imul(Et,wt)|0,k=k+Math.imul(Me,Ge)|0,C=C+Math.imul(Me,qt)|0,C=C+Math.imul(mt,Ge)|0,H=H+Math.imul(mt,qt)|0,k=k+Math.imul(Se,Ve)|0,C=C+Math.imul(Se,xt)|0,C=C+Math.imul(it,Ve)|0,H=H+Math.imul(it,xt)|0,k=k+Math.imul(de,tt)|0,C=C+Math.imul(de,Qt)|0,C=C+Math.imul(we,tt)|0,H=H+Math.imul(we,Qt)|0,k=k+Math.imul(ie,st)|0,C=C+Math.imul(ie,zt)|0,C=C+Math.imul(se,st)|0,H=H+Math.imul(se,zt)|0,k=k+Math.imul(ae,ft)|0,C=C+Math.imul(ae,Xt)|0,C=C+Math.imul(pe,ft)|0,H=H+Math.imul(pe,Xt)|0,k=k+Math.imul(V,Kt)|0,C=C+Math.imul(V,v0)|0,C=C+Math.imul(Y,Kt)|0,H=H+Math.imul(Y,v0)|0;var za=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(za>>>26)|0,za&=67108863,k=Math.imul(Qe,_e),C=Math.imul(Qe,Be),C=C+Math.imul(Ft,_e)|0,H=Math.imul(Ft,Be),k=k+Math.imul(We,Le)|0,C=C+Math.imul(We,ct)|0,C=C+Math.imul(Lt,Le)|0,H=H+Math.imul(Lt,ct)|0,k=k+Math.imul(rt,$e)|0,C=C+Math.imul(rt,wt)|0,C=C+Math.imul(Pt,$e)|0,H=H+Math.imul(Pt,wt)|0,k=k+Math.imul(je,Ge)|0,C=C+Math.imul(je,qt)|0,C=C+Math.imul(Et,Ge)|0,H=H+Math.imul(Et,qt)|0,k=k+Math.imul(Me,Ve)|0,C=C+Math.imul(Me,xt)|0,C=C+Math.imul(mt,Ve)|0,H=H+Math.imul(mt,xt)|0,k=k+Math.imul(Se,tt)|0,C=C+Math.imul(Se,Qt)|0,C=C+Math.imul(it,tt)|0,H=H+Math.imul(it,Qt)|0,k=k+Math.imul(de,st)|0,C=C+Math.imul(de,zt)|0,C=C+Math.imul(we,st)|0,H=H+Math.imul(we,zt)|0,k=k+Math.imul(ie,ft)|0,C=C+Math.imul(ie,Xt)|0,C=C+Math.imul(se,ft)|0,H=H+Math.imul(se,Xt)|0,k=k+Math.imul(ae,Kt)|0,C=C+Math.imul(ae,v0)|0,C=C+Math.imul(pe,Kt)|0,H=H+Math.imul(pe,v0)|0;var mr=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(mr>>>26)|0,mr&=67108863,k=Math.imul(Qe,Le),C=Math.imul(Qe,ct),C=C+Math.imul(Ft,Le)|0,H=Math.imul(Ft,ct),k=k+Math.imul(We,$e)|0,C=C+Math.imul(We,wt)|0,C=C+Math.imul(Lt,$e)|0,H=H+Math.imul(Lt,wt)|0,k=k+Math.imul(rt,Ge)|0,C=C+Math.imul(rt,qt)|0,C=C+Math.imul(Pt,Ge)|0,H=H+Math.imul(Pt,qt)|0,k=k+Math.imul(je,Ve)|0,C=C+Math.imul(je,xt)|0,C=C+Math.imul(Et,Ve)|0,H=H+Math.imul(Et,xt)|0,k=k+Math.imul(Me,tt)|0,C=C+Math.imul(Me,Qt)|0,C=C+Math.imul(mt,tt)|0,H=H+Math.imul(mt,Qt)|0,k=k+Math.imul(Se,st)|0,C=C+Math.imul(Se,zt)|0,C=C+Math.imul(it,st)|0,H=H+Math.imul(it,zt)|0,k=k+Math.imul(de,ft)|0,C=C+Math.imul(de,Xt)|0,C=C+Math.imul(we,ft)|0,H=H+Math.imul(we,Xt)|0,k=k+Math.imul(ie,Kt)|0,C=C+Math.imul(ie,v0)|0,C=C+Math.imul(se,Kt)|0,H=H+Math.imul(se,v0)|0;var $r=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+($r>>>26)|0,$r&=67108863,k=Math.imul(Qe,$e),C=Math.imul(Qe,wt),C=C+Math.imul(Ft,$e)|0,H=Math.imul(Ft,wt),k=k+Math.imul(We,Ge)|0,C=C+Math.imul(We,qt)|0,C=C+Math.imul(Lt,Ge)|0,H=H+Math.imul(Lt,qt)|0,k=k+Math.imul(rt,Ve)|0,C=C+Math.imul(rt,xt)|0,C=C+Math.imul(Pt,Ve)|0,H=H+Math.imul(Pt,xt)|0,k=k+Math.imul(je,tt)|0,C=C+Math.imul(je,Qt)|0,C=C+Math.imul(Et,tt)|0,H=H+Math.imul(Et,Qt)|0,k=k+Math.imul(Me,st)|0,C=C+Math.imul(Me,zt)|0,C=C+Math.imul(mt,st)|0,H=H+Math.imul(mt,zt)|0,k=k+Math.imul(Se,ft)|0,C=C+Math.imul(Se,Xt)|0,C=C+Math.imul(it,ft)|0,H=H+Math.imul(it,Xt)|0,k=k+Math.imul(de,Kt)|0,C=C+Math.imul(de,v0)|0,C=C+Math.imul(we,Kt)|0,H=H+Math.imul(we,v0)|0;var Wa=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Wa>>>26)|0,Wa&=67108863,k=Math.imul(Qe,Ge),C=Math.imul(Qe,qt),C=C+Math.imul(Ft,Ge)|0,H=Math.imul(Ft,qt),k=k+Math.imul(We,Ve)|0,C=C+Math.imul(We,xt)|0,C=C+Math.imul(Lt,Ve)|0,H=H+Math.imul(Lt,xt)|0,k=k+Math.imul(rt,tt)|0,C=C+Math.imul(rt,Qt)|0,C=C+Math.imul(Pt,tt)|0,H=H+Math.imul(Pt,Qt)|0,k=k+Math.imul(je,st)|0,C=C+Math.imul(je,zt)|0,C=C+Math.imul(Et,st)|0,H=H+Math.imul(Et,zt)|0,k=k+Math.imul(Me,ft)|0,C=C+Math.imul(Me,Xt)|0,C=C+Math.imul(mt,ft)|0,H=H+Math.imul(mt,Xt)|0,k=k+Math.imul(Se,Kt)|0,C=C+Math.imul(Se,v0)|0,C=C+Math.imul(it,Kt)|0,H=H+Math.imul(it,v0)|0;var Jr=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,k=Math.imul(Qe,Ve),C=Math.imul(Qe,xt),C=C+Math.imul(Ft,Ve)|0,H=Math.imul(Ft,xt),k=k+Math.imul(We,tt)|0,C=C+Math.imul(We,Qt)|0,C=C+Math.imul(Lt,tt)|0,H=H+Math.imul(Lt,Qt)|0,k=k+Math.imul(rt,st)|0,C=C+Math.imul(rt,zt)|0,C=C+Math.imul(Pt,st)|0,H=H+Math.imul(Pt,zt)|0,k=k+Math.imul(je,ft)|0,C=C+Math.imul(je,Xt)|0,C=C+Math.imul(Et,ft)|0,H=H+Math.imul(Et,Xt)|0,k=k+Math.imul(Me,Kt)|0,C=C+Math.imul(Me,v0)|0,C=C+Math.imul(mt,Kt)|0,H=H+Math.imul(mt,v0)|0;var Si=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Si>>>26)|0,Si&=67108863,k=Math.imul(Qe,tt),C=Math.imul(Qe,Qt),C=C+Math.imul(Ft,tt)|0,H=Math.imul(Ft,Qt),k=k+Math.imul(We,st)|0,C=C+Math.imul(We,zt)|0,C=C+Math.imul(Lt,st)|0,H=H+Math.imul(Lt,zt)|0,k=k+Math.imul(rt,ft)|0,C=C+Math.imul(rt,Xt)|0,C=C+Math.imul(Pt,ft)|0,H=H+Math.imul(Pt,Xt)|0,k=k+Math.imul(je,Kt)|0,C=C+Math.imul(je,v0)|0,C=C+Math.imul(Et,Kt)|0,H=H+Math.imul(Et,v0)|0;var Pf=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(Pf>>>26)|0,Pf&=67108863,k=Math.imul(Qe,st),C=Math.imul(Qe,zt),C=C+Math.imul(Ft,st)|0,H=Math.imul(Ft,zt),k=k+Math.imul(We,ft)|0,C=C+Math.imul(We,Xt)|0,C=C+Math.imul(Lt,ft)|0,H=H+Math.imul(Lt,Xt)|0,k=k+Math.imul(rt,Kt)|0,C=C+Math.imul(rt,v0)|0,C=C+Math.imul(Pt,Kt)|0,H=H+Math.imul(Pt,v0)|0;var yl=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(yl>>>26)|0,yl&=67108863,k=Math.imul(Qe,ft),C=Math.imul(Qe,Xt),C=C+Math.imul(Ft,ft)|0,H=Math.imul(Ft,Xt),k=k+Math.imul(We,Kt)|0,C=C+Math.imul(We,v0)|0,C=C+Math.imul(Lt,Kt)|0,H=H+Math.imul(Lt,v0)|0;var ml=(R+k|0)+((C&8191)<<13)|0;R=(H+(C>>>13)|0)+(ml>>>26)|0,ml&=67108863,k=Math.imul(Qe,Kt),C=Math.imul(Qe,v0),C=C+Math.imul(Ft,Kt)|0,H=Math.imul(Ft,v0);var Cp=(R+k|0)+((C&8191)<<13)|0;return R=(H+(C>>>13)|0)+(Cp>>>26)|0,Cp&=67108863,g[0]=Cn,g[1]=Sn,g[2]=An,g[3]=kn,g[4]=Pn,g[5]=ka,g[6]=nr,g[7]=Pa,g[8]=ar,g[9]=za,g[10]=mr,g[11]=$r,g[12]=Wa,g[13]=Jr,g[14]=Si,g[15]=Pf,g[16]=yl,g[17]=ml,g[18]=Cp,R!==0&&(g[19]=R,L.length++),L};Math.imul||(N=O);function U(v,b,x){x.negative=b.negative^v.negative,x.length=v.length+b.length;for(var L=0,M=0,w=0;w>>26)|0,M+=g>>>26,g&=67108863}x.words[w]=R,L=g,g=M}return L!==0?x.words[w]=L:x.length--,x._strip()}function q(v,b,x){return U(v,b,x)}r.prototype.mulTo=function(b,x){var L,M=this.length+b.length;return this.length===10&&b.length===10?L=N(this,b,x):M<63?L=O(this,b,x):M<1024?L=U(this,b,x):L=q(this,b,x),L};function W(v,b){this.x=v,this.y=b}W.prototype.makeRBT=function(b){for(var x=new Array(b),L=r.prototype._countBits(b)-1,M=0;M>=1;return M},W.prototype.permute=function(b,x,L,M,w,g){for(var R=0;R>>1)w++;return 1<>>13,L[2*g+1]=w&8191,w=w>>>13;for(g=2*x;g>=26,L+=w/67108864|0,L+=g>>>26,this.words[M]=g&67108863}return L!==0&&(this.words[M]=L,this.length++),x?this.ineg():this},r.prototype.muln=function(b){return this.clone().imuln(b)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(b){var x=A(b);if(x.length===0)return new r(1);for(var L=this,M=0;M=0);var x=b%26,L=(b-x)/26,M=67108863>>>26-x<<26-x,w;if(x!==0){var g=0;for(w=0;w>>26-x}g&&(this.words[w]=g,this.length++)}if(L!==0){for(w=this.length-1;w>=0;w--)this.words[w+L]=this.words[w];for(w=0;w=0);var M;x?M=(x-x%26)/26:M=0;var w=b%26,g=Math.min((b-w)/26,this.length),R=67108863^67108863>>>w<g)for(this.length-=g,C=0;C=0&&(H!==0||C>=M);C--){var te=this.words[C]|0;this.words[C]=H<<26-w|te>>>w,H=te&R}return k&&H!==0&&(k.words[k.length++]=H),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(b,x,L){return t(this.negative===0),this.iushrn(b,x,L)},r.prototype.shln=function(b){return this.clone().ishln(b)},r.prototype.ushln=function(b){return this.clone().iushln(b)},r.prototype.shrn=function(b){return this.clone().ishrn(b)},r.prototype.ushrn=function(b){return this.clone().iushrn(b)},r.prototype.testn=function(b){t(typeof b=="number"&&b>=0);var x=b%26,L=(b-x)/26,M=1<=0);var x=b%26,L=(b-x)/26;if(t(this.negative===0,"imaskn works only with positive numbers"),this.length<=L)return this;if(x!==0&&L++,this.length=Math.min(L,this.length),x!==0){var M=67108863^67108863>>>x<=67108864;x++)this.words[x]-=67108864,x===this.length-1?this.words[x+1]=1:this.words[x+1]++;return this.length=Math.max(this.length,x+1),this},r.prototype.isubn=function(b){if(t(typeof b=="number"),t(b<67108864),b<0)return this.iaddn(-b);if(this.negative!==0)return this.negative=0,this.iaddn(b),this.negative=1,this;if(this.words[0]-=b,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var x=0;x>26)-(k/67108864|0),this.words[w+L]=g&67108863}for(;w>26,this.words[w+L]=g&67108863;if(R===0)return this._strip();for(t(R===-1),R=0,w=0;w>26,this.words[w]=g&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(b,x){var L=this.length-b.length,M=this.clone(),w=b,g=w.words[w.length-1]|0,R=this._countBits(g);L=26-R,L!==0&&(w=w.ushln(L),M.iushln(L),g=w.words[w.length-1]|0);var k=M.length-w.length,C;if(x!=="mod"){C=new r(null),C.length=k+1,C.words=new Array(C.length);for(var H=0;H=0;V--){var Y=(M.words[w.length+V]|0)*67108864+(M.words[w.length+V-1]|0);for(Y=Math.min(Y/g|0,67108863),M._ishlnsubmul(w,Y,V);M.negative!==0;)Y--,M.negative=0,M._ishlnsubmul(w,1,V),M.isZero()||(M.negative^=1);C&&(C.words[V]=Y)}return C&&C._strip(),M._strip(),x!=="div"&&L!==0&&M.iushrn(L),{div:C||null,mod:M}},r.prototype.divmod=function(b,x,L){if(t(!b.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var M,w,g;return this.negative!==0&&b.negative===0?(g=this.neg().divmod(b,x),x!=="mod"&&(M=g.div.neg()),x!=="div"&&(w=g.mod.neg(),L&&w.negative!==0&&w.iadd(b)),{div:M,mod:w}):this.negative===0&&b.negative!==0?(g=this.divmod(b.neg(),x),x!=="mod"&&(M=g.div.neg()),{div:M,mod:g.mod}):this.negative&b.negative?(g=this.neg().divmod(b.neg(),x),x!=="div"&&(w=g.mod.neg(),L&&w.negative!==0&&w.isub(b)),{div:g.div,mod:w}):b.length>this.length||this.cmp(b)<0?{div:new r(0),mod:this}:b.length===1?x==="div"?{div:this.divn(b.words[0]),mod:null}:x==="mod"?{div:null,mod:new r(this.modrn(b.words[0]))}:{div:this.divn(b.words[0]),mod:new r(this.modrn(b.words[0]))}:this._wordDiv(b,x)},r.prototype.div=function(b){return this.divmod(b,"div",!1).div},r.prototype.mod=function(b){return this.divmod(b,"mod",!1).mod},r.prototype.umod=function(b){return this.divmod(b,"mod",!0).mod},r.prototype.divRound=function(b){var x=this.divmod(b);if(x.mod.isZero())return x.div;var L=x.div.negative!==0?x.mod.isub(b):x.mod,M=b.ushrn(1),w=b.andln(1),g=L.cmp(M);return g<0||w===1&&g===0?x.div:x.div.negative!==0?x.div.isubn(1):x.div.iaddn(1)},r.prototype.modrn=function(b){var x=b<0;x&&(b=-b),t(b<=67108863);for(var L=(1<<26)%b,M=0,w=this.length-1;w>=0;w--)M=(L*M+(this.words[w]|0))%b;return x?-M:M},r.prototype.modn=function(b){return this.modrn(b)},r.prototype.idivn=function(b){var x=b<0;x&&(b=-b),t(b<=67108863);for(var L=0,M=this.length-1;M>=0;M--){var w=(this.words[M]|0)+L*67108864;this.words[M]=w/b|0,L=w%b}return this._strip(),x?this.ineg():this},r.prototype.divn=function(b){return this.clone().idivn(b)},r.prototype.egcd=function(b){t(b.negative===0),t(!b.isZero());var x=this,L=b.clone();x.negative!==0?x=x.umod(b):x=x.clone();for(var M=new r(1),w=new r(0),g=new r(0),R=new r(1),k=0;x.isEven()&&L.isEven();)x.iushrn(1),L.iushrn(1),++k;for(var C=L.clone(),H=x.clone();!x.isZero();){for(var te=0,V=1;!(x.words[0]&V)&&te<26;++te,V<<=1);if(te>0)for(x.iushrn(te);te-- >0;)(M.isOdd()||w.isOdd())&&(M.iadd(C),w.isub(H)),M.iushrn(1),w.iushrn(1);for(var Y=0,ee=1;!(L.words[0]&ee)&&Y<26;++Y,ee<<=1);if(Y>0)for(L.iushrn(Y);Y-- >0;)(g.isOdd()||R.isOdd())&&(g.iadd(C),R.isub(H)),g.iushrn(1),R.iushrn(1);x.cmp(L)>=0?(x.isub(L),M.isub(g),w.isub(R)):(L.isub(x),g.isub(M),R.isub(w))}return{a:g,b:R,gcd:L.iushln(k)}},r.prototype._invmp=function(b){t(b.negative===0),t(!b.isZero());var x=this,L=b.clone();x.negative!==0?x=x.umod(b):x=x.clone();for(var M=new r(1),w=new r(0),g=L.clone();x.cmpn(1)>0&&L.cmpn(1)>0;){for(var R=0,k=1;!(x.words[0]&k)&&R<26;++R,k<<=1);if(R>0)for(x.iushrn(R);R-- >0;)M.isOdd()&&M.iadd(g),M.iushrn(1);for(var C=0,H=1;!(L.words[0]&H)&&C<26;++C,H<<=1);if(C>0)for(L.iushrn(C);C-- >0;)w.isOdd()&&w.iadd(g),w.iushrn(1);x.cmp(L)>=0?(x.isub(L),M.isub(w)):(L.isub(x),w.isub(M))}var te;return x.cmpn(1)===0?te=M:te=w,te.cmpn(0)<0&&te.iadd(b),te},r.prototype.gcd=function(b){if(this.isZero())return b.abs();if(b.isZero())return this.abs();var x=this.clone(),L=b.clone();x.negative=0,L.negative=0;for(var M=0;x.isEven()&&L.isEven();M++)x.iushrn(1),L.iushrn(1);do{for(;x.isEven();)x.iushrn(1);for(;L.isEven();)L.iushrn(1);var w=x.cmp(L);if(w<0){var g=x;x=L,L=g}else if(w===0||L.cmpn(1)===0)break;x.isub(L)}while(!0);return L.iushln(M)},r.prototype.invm=function(b){return this.egcd(b).a.umod(b)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(b){return this.words[0]&b},r.prototype.bincn=function(b){t(typeof b=="number");var x=b%26,L=(b-x)/26,M=1<>>26,R&=67108863,this.words[g]=R}return w!==0&&(this.words[g]=w,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(b){var x=b<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;this._strip();var L;if(this.length>1)L=1;else{x&&(b=-b),t(b<=67108863,"Number is too big");var M=this.words[0]|0;L=M===b?0:Mb.length)return 1;if(this.length=0;L--){var M=this.words[L]|0,w=b.words[L]|0;if(M!==w){Mw&&(x=1);break}}return x},r.prototype.gtn=function(b){return this.cmpn(b)===1},r.prototype.gt=function(b){return this.cmp(b)===1},r.prototype.gten=function(b){return this.cmpn(b)>=0},r.prototype.gte=function(b){return this.cmp(b)>=0},r.prototype.ltn=function(b){return this.cmpn(b)===-1},r.prototype.lt=function(b){return this.cmp(b)===-1},r.prototype.lten=function(b){return this.cmpn(b)<=0},r.prototype.lte=function(b){return this.cmp(b)<=0},r.prototype.eqn=function(b){return this.cmpn(b)===0},r.prototype.eq=function(b){return this.cmp(b)===0},r.red=function(b){return new _(b)},r.prototype.toRed=function(b){return t(!this.red,"Already a number in reduction context"),t(this.negative===0,"red works only with positives"),b.convertTo(this)._forceRed(b)},r.prototype.fromRed=function(){return t(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(b){return this.red=b,this},r.prototype.forceRed=function(b){return t(!this.red,"Already a number in reduction context"),this._forceRed(b)},r.prototype.redAdd=function(b){return t(this.red,"redAdd works only with red numbers"),this.red.add(this,b)},r.prototype.redIAdd=function(b){return t(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,b)},r.prototype.redSub=function(b){return t(this.red,"redSub works only with red numbers"),this.red.sub(this,b)},r.prototype.redISub=function(b){return t(this.red,"redISub works only with red numbers"),this.red.isub(this,b)},r.prototype.redShl=function(b){return t(this.red,"redShl works only with red numbers"),this.red.shl(this,b)},r.prototype.redMul=function(b){return t(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.mul(this,b)},r.prototype.redIMul=function(b){return t(this.red,"redMul works only with red numbers"),this.red._verify2(this,b),this.red.imul(this,b)},r.prototype.redSqr=function(){return t(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return t(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return t(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return t(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return t(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(b){return t(this.red&&!b.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,b)};var G={k256:null,p224:null,p192:null,p25519:null};function X(v,b){this.name=v,this.p=new r(b,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}X.prototype._tmp=function(){var b=new r(null);return b.words=new Array(Math.ceil(this.n/13)),b},X.prototype.ireduce=function(b){var x=b,L;do this.split(x,this.tmp),x=this.imulK(x),x=x.iadd(this.tmp),L=x.bitLength();while(L>this.n);var M=L0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},X.prototype.split=function(b,x){b.iushrn(this.n,0,x)},X.prototype.imulK=function(b){return b.imul(this.k)};function J(){X.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(J,X),J.prototype.split=function(b,x){for(var L=4194303,M=Math.min(b.length,9),w=0;w>>22,g=R}g>>>=22,b.words[w-10]=g,g===0&&b.length>10?b.length-=10:b.length-=9},J.prototype.imulK=function(b){b.words[b.length]=0,b.words[b.length+1]=0,b.length+=2;for(var x=0,L=0;L>>=26,b.words[L]=w,x=M}return x!==0&&(b.words[b.length++]=x),b},r._prime=function(b){if(G[b])return G[b];var x;if(b==="k256")x=new J;else if(b==="p224")x=new j;else if(b==="p192")x=new z;else if(b==="p25519")x=new P;else throw new Error("Unknown prime "+b);return G[b]=x,x};function _(v){if(typeof v=="string"){var b=r._prime(v);this.m=b.p,this.prime=b}else t(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}_.prototype._verify1=function(b){t(b.negative===0,"red works only with positives"),t(b.red,"red works only with red numbers")},_.prototype._verify2=function(b,x){t((b.negative|x.negative)===0,"red works only with positives"),t(b.red&&b.red===x.red,"red works only with red numbers")},_.prototype.imod=function(b){return this.prime?this.prime.ireduce(b)._forceRed(this):(c(b,b.umod(this.m)._forceRed(this)),b)},_.prototype.neg=function(b){return b.isZero()?b.clone():this.m.sub(b)._forceRed(this)},_.prototype.add=function(b,x){this._verify2(b,x);var L=b.add(x);return L.cmp(this.m)>=0&&L.isub(this.m),L._forceRed(this)},_.prototype.iadd=function(b,x){this._verify2(b,x);var L=b.iadd(x);return L.cmp(this.m)>=0&&L.isub(this.m),L},_.prototype.sub=function(b,x){this._verify2(b,x);var L=b.sub(x);return L.cmpn(0)<0&&L.iadd(this.m),L._forceRed(this)},_.prototype.isub=function(b,x){this._verify2(b,x);var L=b.isub(x);return L.cmpn(0)<0&&L.iadd(this.m),L},_.prototype.shl=function(b,x){return this._verify1(b),this.imod(b.ushln(x))},_.prototype.imul=function(b,x){return this._verify2(b,x),this.imod(b.imul(x))},_.prototype.mul=function(b,x){return this._verify2(b,x),this.imod(b.mul(x))},_.prototype.isqr=function(b){return this.imul(b,b.clone())},_.prototype.sqr=function(b){return this.mul(b,b)},_.prototype.sqrt=function(b){if(b.isZero())return b.clone();var x=this.m.andln(3);if(t(x%2===1),x===3){var L=this.m.add(new r(1)).iushrn(2);return this.pow(b,L)}for(var M=this.m.subn(1),w=0;!M.isZero()&&M.andln(1)===0;)w++,M.iushrn(1);t(!M.isZero());var g=new r(1).toRed(this),R=g.redNeg(),k=this.m.subn(1).iushrn(1),C=this.m.bitLength();for(C=new r(2*C*C).toRed(this);this.pow(C,k).cmp(R)!==0;)C.redIAdd(R);for(var H=this.pow(C,M),te=this.pow(b,M.addn(1).iushrn(1)),V=this.pow(b,M),Y=w;V.cmp(g)!==0;){for(var ee=V,ae=0;ee.cmp(g)!==0;ae++)ee=ee.redSqr();t(ae=0;w--){for(var H=x.words[w],te=C-1;te>=0;te--){var V=H>>te&1;if(g!==M[0]&&(g=this.sqr(g)),V===0&&R===0){k=0;continue}R<<=1,R|=V,k++,!(k!==L&&(w!==0||te!==0))&&(g=this.mul(g,M[R]),k=0,R=0)}C=26}return g},_.prototype.convertTo=function(b){var x=b.umod(this.m);return x===b?x.clone():x},_.prototype.convertFrom=function(b){var x=b.clone();return x.red=null,x},r.mont=function(b){return new F(b)};function F(v){_.call(this,v),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(F,_),F.prototype.convertTo=function(b){return this.imod(b.ushln(this.shift))},F.prototype.convertFrom=function(b){var x=this.imod(b.mul(this.rinv));return x.red=null,x},F.prototype.imul=function(b,x){if(b.isZero()||x.isZero())return b.words[0]=0,b.length=1,b;var L=b.imul(x),M=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=L.isub(M).iushrn(this.shift),g=w;return w.cmp(this.m)>=0?g=w.isub(this.m):w.cmpn(0)<0&&(g=w.iadd(this.m)),g._forceRed(this)},F.prototype.mul=function(b,x){if(b.isZero()||x.isZero())return new r(0)._forceRed(this);var L=b.mul(x),M=L.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=L.isub(M).iushrn(this.shift),g=w;return w.cmp(this.m)>=0?g=w.isub(this.m):w.cmpn(0)<0&&(g=w.iadd(this.m)),g._forceRed(this)},F.prototype.invm=function(b){var x=this.imod(b._invmp(this.m).mul(this.r2));return x._forceRed(this)}})(typeof TZ>"u"||TZ,E9e)});var D9e=B(oB=>{"use strict";p();u();Object.defineProperty(oB,"__esModule",{value:!0});oB.version=void 0;oB.version="logger/5.7.0"});var R0=B(Op=>{"use strict";p();u();Object.defineProperty(Op,"__esModule",{value:!0});Op.Logger=Op.ErrorCode=Op.LogLevel=void 0;var C9e=!1,S9e=!1,cB={debug:1,default:2,info:2,warning:3,error:4,off:5},A9e=cB.default,HCt=D9e(),_Z=null;function zCt(){try{var n=[];if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{n.push(e)}}),n.length)throw new Error("missing "+n.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(e){return e.message}return null}var k9e=zCt(),R9e;(function(n){n.DEBUG="DEBUG",n.INFO="INFO",n.WARNING="WARNING",n.ERROR="ERROR",n.OFF="OFF"})(R9e=Op.LogLevel||(Op.LogLevel={}));var Fp;(function(n){n.UNKNOWN_ERROR="UNKNOWN_ERROR",n.NOT_IMPLEMENTED="NOT_IMPLEMENTED",n.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",n.NETWORK_ERROR="NETWORK_ERROR",n.SERVER_ERROR="SERVER_ERROR",n.TIMEOUT="TIMEOUT",n.BUFFER_OVERRUN="BUFFER_OVERRUN",n.NUMERIC_FAULT="NUMERIC_FAULT",n.MISSING_NEW="MISSING_NEW",n.INVALID_ARGUMENT="INVALID_ARGUMENT",n.MISSING_ARGUMENT="MISSING_ARGUMENT",n.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",n.CALL_EXCEPTION="CALL_EXCEPTION",n.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",n.NONCE_EXPIRED="NONCE_EXPIRED",n.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",n.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",n.TRANSACTION_REPLACED="TRANSACTION_REPLACED",n.ACTION_REJECTED="ACTION_REJECTED"})(Fp=Op.ErrorCode||(Op.ErrorCode={}));var P9e="0123456789abcdef",WCt=function(){function n(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return n.prototype._log=function(e,t){var a=e.toLowerCase();cB[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(A9e>cB[a])&&console.log.apply(console,t)},n.prototype.debug=function(){for(var e=[],t=0;t>4],l+=P9e[d[y]&15];r.push(c+"=Uint8Array(0x"+l+")")}else r.push(c+"="+JSON.stringify(d))}catch{r.push(c+"="+JSON.stringify(a[c].toString()))}}),r.push("code="+t),r.push("version="+this.version);var i=e,s="";switch(t){case Fp.NUMERIC_FAULT:{s="NUMERIC_FAULT";var f=e;switch(f){case"overflow":case"underflow":case"division-by-zero":s+="-"+f;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case Fp.CALL_EXCEPTION:case Fp.INSUFFICIENT_FUNDS:case Fp.MISSING_NEW:case Fp.NONCE_EXPIRED:case Fp.REPLACEMENT_UNDERPRICED:case Fp.TRANSACTION_REPLACED:case Fp.UNPREDICTABLE_GAS_LIMIT:s=t;break}s&&(e+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),r.length&&(e+=" ("+r.join(", ")+")");var o=new Error(e);return o.reason=i,o.code=t,Object.keys(a).forEach(function(c){o[c]=a[c]}),o},n.prototype.throwError=function(e,t,a){throw this.makeError(e,t,a)},n.prototype.throwArgumentError=function(e,t,a){return this.throwError(e,n.errors.INVALID_ARGUMENT,{argument:t,value:a})},n.prototype.assert=function(e,t,a,r){e||this.throwError(t,a,r)},n.prototype.assertArgument=function(e,t,a,r){e||this.throwArgumentError(t,a,r)},n.prototype.checkNormalize=function(e){e==null&&(e="platform missing String.prototype.normalize"),k9e&&this.throwError("platform missing String.prototype.normalize",n.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:k9e})},n.prototype.checkSafeUint53=function(e,t){typeof e=="number"&&(t==null&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,n.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,n.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))},n.prototype.checkArgumentCount=function(e,t,a){a?a=": "+a:a="",et&&this.throwError("too many arguments"+a,n.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})},n.prototype.checkNew=function(e,t){(e===Object||e==null)&&this.throwError("missing new",n.errors.MISSING_NEW,{name:t.name})},n.prototype.checkAbstract=function(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",n.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",n.errors.MISSING_NEW,{name:t.name})},n.globalLogger=function(){return _Z||(_Z=new n(HCt.version)),_Z},n.setCensorship=function(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",n.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),C9e){if(!e)return;this.globalLogger().throwError("error censorship permanent",n.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}S9e=!!e,C9e=!!t},n.setLogLevel=function(e){var t=cB[e.toLowerCase()];if(t==null){n.globalLogger().warn("invalid log level - "+e);return}A9e=t},n.from=function(e){return new n(e)},n.errors=Fp,n.levels=R9e,n}();Op.Logger=WCt});var L9e=B(dB=>{"use strict";p();u();Object.defineProperty(dB,"__esModule",{value:!0});dB.version=void 0;dB.version="bytes/5.7.0"});var H0=B(la=>{"use strict";p();u();Object.defineProperty(la,"__esModule",{value:!0});la.joinSignature=la.splitSignature=la.hexZeroPad=la.hexStripZeros=la.hexValue=la.hexConcat=la.hexDataSlice=la.hexDataLength=la.hexlify=la.isHexString=la.zeroPad=la.stripZeros=la.concat=la.arrayify=la.isBytes=la.isBytesLike=void 0;var jCt=R0(),GCt=L9e(),Pi=new jCt.Logger(GCt.version);function B9e(n){return!!n.toHexString}function Qg(n){return n.slice||(n.slice=function(){var e=Array.prototype.slice.call(arguments);return Qg(new Uint8Array(Array.prototype.slice.apply(n,e)))}),n}function N9e(n){return xl(n)&&!(n.length%2)||pB(n)}la.isBytesLike=N9e;function M9e(n){return typeof n=="number"&&n==n&&n%1===0}function pB(n){if(n==null)return!1;if(n.constructor===Uint8Array)return!0;if(typeof n=="string"||!M9e(n.length)||n.length<0)return!1;for(var e=0;e=256)return!1}return!0}la.isBytes=pB;function kb(n,e){if(e||(e={}),typeof n=="number"){Pi.checkSafeUint53(n,"invalid arrayify value");for(var t=[];n;)t.unshift(n&255),n=parseInt(String(n/256));return t.length===0&&t.push(0),Qg(new Uint8Array(t))}if(e.allowMissingPrefix&&typeof n=="string"&&n.substring(0,2)!=="0x"&&(n="0x"+n),B9e(n)&&(n=n.toHexString()),xl(n)){var a=n.substring(2);a.length%2&&(e.hexPad==="left"?a="0"+a:e.hexPad==="right"?a+="0":Pi.throwArgumentError("hex data is odd-length","value",n));for(var t=[],r=0;re&&Pi.throwArgumentError("value out of range","value",arguments[0]);var t=new Uint8Array(e);return t.set(n,e-n.length),Qg(t)}la.zeroPad=O9e;function xl(n,e){return!(typeof n!="string"||!n.match(/^0x[0-9A-Fa-f]*$/)||e&&n.length!==2+2*e)}la.isHexString=xl;var wZ="0123456789abcdef";function bo(n,e){if(e||(e={}),typeof n=="number"){Pi.checkSafeUint53(n,"invalid hexlify value");for(var t="";n;)t=wZ[n&15]+t,n=Math.floor(n/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if(typeof n=="bigint")return n=n.toString(16),n.length%2?"0x0"+n:"0x"+n;if(e.allowMissingPrefix&&typeof n=="string"&&n.substring(0,2)!=="0x"&&(n="0x"+n),B9e(n))return n.toHexString();if(xl(n))return n.length%2&&(e.hexPad==="left"?n="0x0"+n.substring(2):e.hexPad==="right"?n+="0":Pi.throwArgumentError("hex data is odd-length","value",n)),n.toLowerCase();if(pB(n)){for(var a="0x",r=0;r>4]+wZ[i&15]}return a}return Pi.throwArgumentError("invalid hexlify value","value",n)}la.hexlify=bo;function QCt(n){if(typeof n!="string")n=bo(n);else if(!xl(n)||n.length%2)return null;return(n.length-2)/2}la.hexDataLength=QCt;function YCt(n,e,t){return typeof n!="string"?n=bo(n):(!xl(n)||n.length%2)&&Pi.throwArgumentError("invalid hexData","value",n),e=2+2*e,t!=null?"0x"+n.substring(e,2+2*t):"0x"+n.substring(e)}la.hexDataSlice=YCt;function JCt(n){var e="0x";return n.forEach(function(t){e+=bo(t).substring(2)}),e}la.hexConcat=JCt;function XCt(n){var e=V9e(bo(n,{hexPad:"left"}));return e==="0x"?"0x0":e}la.hexValue=XCt;function V9e(n){typeof n!="string"&&(n=bo(n)),xl(n)||Pi.throwArgumentError("invalid hex string","value",n),n=n.substring(2);for(var e=0;e2*e+2&&Pi.throwArgumentError("value out of range","value",arguments[1]);n.length<2*e+2;)n="0x0"+n.substring(2);return n}la.hexZeroPad=lB;function $9e(n){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(N9e(n)){var t=kb(n);t.length===64?(e.v=27+(t[32]>>7),t[32]&=127,e.r=bo(t.slice(0,32)),e.s=bo(t.slice(32,64))):t.length===65?(e.r=bo(t.slice(0,32)),e.s=bo(t.slice(32,64)),e.v=t[64]):Pi.throwArgumentError("invalid signature string","signature",n),e.v<27&&(e.v===0||e.v===1?e.v+=27:Pi.throwArgumentError("signature invalid v byte","signature",n)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(t[32]|=128),e._vs=bo(t.slice(32,64))}else{if(e.r=n.r,e.s=n.s,e.v=n.v,e.recoveryParam=n.recoveryParam,e._vs=n._vs,e._vs!=null){var a=O9e(kb(e._vs),32);e._vs=bo(a);var r=a[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=r:e.recoveryParam!==r&&Pi.throwArgumentError("signature recoveryParam mismatch _vs","signature",n),a[0]&=127;var i=bo(a);e.s==null?e.s=i:e.s!==i&&Pi.throwArgumentError("signature v mismatch _vs","signature",n)}if(e.recoveryParam==null)e.v==null?Pi.throwArgumentError("signature missing v and recoveryParam","signature",n):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{var s=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==s&&Pi.throwArgumentError("signature recoveryParam mismatch v","signature",n)}e.r==null||!xl(e.r)?Pi.throwArgumentError("signature missing or invalid r","signature",n):e.r=lB(e.r,32),e.s==null||!xl(e.s)?Pi.throwArgumentError("signature missing or invalid s","signature",n):e.s=lB(e.s,32);var f=kb(e.s);f[0]>=128&&Pi.throwArgumentError("signature s out of range","signature",n),e.recoveryParam&&(f[0]|=128);var o=bo(f);e._vs&&(xl(e._vs)||Pi.throwArgumentError("signature invalid _vs","signature",n),e._vs=lB(e._vs,32)),e._vs==null?e._vs=o:e._vs!==o&&Pi.throwArgumentError("signature _vs mismatch v and s","signature",n)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}la.splitSignature=$9e;function ZCt(n){return n=$9e(n),bo(F9e([n.r,n.s,n.recoveryParam?"0x1c":"0x1b"]))}la.joinSignature=ZCt});var xZ=B(uB=>{"use strict";p();u();Object.defineProperty(uB,"__esModule",{value:!0});uB.version=void 0;uB.version="bignumber/5.7.0"});var mB=B(jd=>{"use strict";p();u();var eSt=jd&&jd.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(jd,"__esModule",{value:!0});jd._base16To36=jd._base36To16=jd.BigNumber=jd.isBigNumberish=void 0;var tSt=eSt(Dr()),VE=tSt.default.BN,Yg=H0(),Jg=R0(),nSt=xZ(),g2=new Jg.Logger(nSt.version),IZ={},U9e=9007199254740991;function aSt(n){return n!=null&&(yB.isBigNumber(n)||typeof n=="number"&&n%1===0||typeof n=="string"&&!!n.match(/^-?[0-9]+$/)||(0,Yg.isHexString)(n)||typeof n=="bigint"||(0,Yg.isBytes)(n))}jd.isBigNumberish=aSt;var q9e=!1,yB=function(){function n(e,t){e!==IZ&&g2.throwError("cannot call constructor directly; use BigNumber.from",Jg.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}return n.prototype.fromTwos=function(e){return oc(zn(this).fromTwos(e))},n.prototype.toTwos=function(e){return oc(zn(this).toTwos(e))},n.prototype.abs=function(){return this._hex[0]==="-"?n.from(this._hex.substring(1)):this},n.prototype.add=function(e){return oc(zn(this).add(zn(e)))},n.prototype.sub=function(e){return oc(zn(this).sub(zn(e)))},n.prototype.div=function(e){var t=n.from(e);return t.isZero()&&Wd("division-by-zero","div"),oc(zn(this).div(zn(e)))},n.prototype.mul=function(e){return oc(zn(this).mul(zn(e)))},n.prototype.mod=function(e){var t=zn(e);return t.isNeg()&&Wd("division-by-zero","mod"),oc(zn(this).umod(t))},n.prototype.pow=function(e){var t=zn(e);return t.isNeg()&&Wd("negative-power","pow"),oc(zn(this).pow(t))},n.prototype.and=function(e){var t=zn(e);return(this.isNegative()||t.isNeg())&&Wd("unbound-bitwise-result","and"),oc(zn(this).and(t))},n.prototype.or=function(e){var t=zn(e);return(this.isNegative()||t.isNeg())&&Wd("unbound-bitwise-result","or"),oc(zn(this).or(t))},n.prototype.xor=function(e){var t=zn(e);return(this.isNegative()||t.isNeg())&&Wd("unbound-bitwise-result","xor"),oc(zn(this).xor(t))},n.prototype.mask=function(e){return(this.isNegative()||e<0)&&Wd("negative-width","mask"),oc(zn(this).maskn(e))},n.prototype.shl=function(e){return(this.isNegative()||e<0)&&Wd("negative-width","shl"),oc(zn(this).shln(e))},n.prototype.shr=function(e){return(this.isNegative()||e<0)&&Wd("negative-width","shr"),oc(zn(this).shrn(e))},n.prototype.eq=function(e){return zn(this).eq(zn(e))},n.prototype.lt=function(e){return zn(this).lt(zn(e))},n.prototype.lte=function(e){return zn(this).lte(zn(e))},n.prototype.gt=function(e){return zn(this).gt(zn(e))},n.prototype.gte=function(e){return zn(this).gte(zn(e))},n.prototype.isNegative=function(){return this._hex[0]==="-"},n.prototype.isZero=function(){return zn(this).isZero()},n.prototype.toNumber=function(){try{return zn(this).toNumber()}catch{Wd("overflow","toNumber",this.toString())}return null},n.prototype.toBigInt=function(){try{return BigInt(this.toString())}catch{}return g2.throwError("this platform does not support BigInt",Jg.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})},n.prototype.toString=function(){return arguments.length>0&&(arguments[0]===10?q9e||(q9e=!0,g2.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?g2.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Jg.Logger.errors.UNEXPECTED_ARGUMENT,{}):g2.throwError("BigNumber.toString does not accept parameters",Jg.Logger.errors.UNEXPECTED_ARGUMENT,{})),zn(this).toString(10)},n.prototype.toHexString=function(){return this._hex},n.prototype.toJSON=function(e){return{type:"BigNumber",hex:this.toHexString()}},n.from=function(e){if(e instanceof n)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new n(IZ,$E(e)):e.match(/^-?[0-9]+$/)?new n(IZ,$E(new VE(e))):g2.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&Wd("underflow","BigNumber.from",e),(e>=U9e||e<=-U9e)&&Wd("overflow","BigNumber.from",e),n.from(String(e));var t=e;if(typeof t=="bigint")return n.from(t.toString());if((0,Yg.isBytes)(t))return n.from((0,Yg.hexlify)(t));if(t)if(t.toHexString){var a=t.toHexString();if(typeof a=="string")return n.from(a)}else{var a=t._hex;if(a==null&&t.type==="BigNumber"&&(a=t.hex),typeof a=="string"&&((0,Yg.isHexString)(a)||a[0]==="-"&&(0,Yg.isHexString)(a.substring(1))))return n.from(a)}return g2.throwArgumentError("invalid BigNumber value","value",e)},n.isBigNumber=function(e){return!!(e&&e._isBigNumber)},n}();jd.BigNumber=yB;function $E(n){if(typeof n!="string")return $E(n.toString(16));if(n[0]==="-")return n=n.substring(1),n[0]==="-"&&g2.throwArgumentError("invalid hex","value",n),n=$E(n),n==="0x00"?n:"-"+n;if(n.substring(0,2)!=="0x"&&(n="0x"+n),n==="0x")return"0x00";for(n.length%2&&(n="0x0"+n.substring(2));n.length>4&&n.substring(0,4)==="0x00";)n="0x"+n.substring(4);return n}function oc(n){return yB.from($E(n))}function zn(n){var e=yB.from(n).toHexString();return e[0]==="-"?new VE("-"+e.substring(3),16):new VE(e.substring(2),16)}function Wd(n,e,t){var a={fault:n,operation:e};return t!=null&&(a.value=t),g2.throwError(n,Jg.Logger.errors.NUMERIC_FAULT,a)}function rSt(n){return new VE(n,36).toString(16)}jd._base36To16=rSt;function iSt(n){return new VE(n,16).toString(36)}jd._base16To36=iSt});var G9e=B($p=>{"use strict";p();u();Object.defineProperty($p,"__esModule",{value:!0});$p.FixedNumber=$p.FixedFormat=$p.parseFixed=$p.formatFixed=void 0;var bB=H0(),HE=R0(),sSt=xZ(),v1=new HE.Logger(sSt.version),v2=mB(),UE={},z9e=v2.BigNumber.from(0),W9e=v2.BigNumber.from(-1);function j9e(n,e,t,a){var r={fault:e,operation:t};return a!==void 0&&(r.value=a),v1.throwError(n,HE.Logger.errors.NUMERIC_FAULT,r)}var qE="0";for(;qE.length<256;)qE+=qE;function EZ(n){if(typeof n!="number")try{n=v2.BigNumber.from(n).toNumber()}catch{}return typeof n=="number"&&n>=0&&n<=256&&!(n%1)?"1"+qE.substring(0,n):v1.throwArgumentError("invalid decimal size","decimals",n)}function hB(n,e){e==null&&(e=0);var t=EZ(e);n=v2.BigNumber.from(n);var a=n.lt(z9e);a&&(n=n.mul(W9e));for(var r=n.mod(t).toString();r.length2&&v1.throwArgumentError("too many decimal points","value",n);var i=r[0],s=r[1];for(i||(i="0"),s||(s="0");s[s.length-1]==="0";)s=s.substring(0,s.length-1);for(s.length>t.length-1&&j9e("fractional component exceeds decimals","underflow","parseFixed"),s===""&&(s="0");s.length80&&v1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new n(UE,t,a,r)},n}();$p.FixedFormat=gB;var DZ=function(){function n(e,t,a,r){e!==UE&&v1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",HE.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=t,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}return n.prototype._checkFormat=function(e){this.format.name!==e.format.name&&v1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)},n.prototype.addUnsafe=function(e){this._checkFormat(e);var t=Vp(this._value,this.format.decimals),a=Vp(e._value,e.format.decimals);return n.fromValue(t.add(a),this.format.decimals,this.format)},n.prototype.subUnsafe=function(e){this._checkFormat(e);var t=Vp(this._value,this.format.decimals),a=Vp(e._value,e.format.decimals);return n.fromValue(t.sub(a),this.format.decimals,this.format)},n.prototype.mulUnsafe=function(e){this._checkFormat(e);var t=Vp(this._value,this.format.decimals),a=Vp(e._value,e.format.decimals);return n.fromValue(t.mul(a).div(this.format._multiplier),this.format.decimals,this.format)},n.prototype.divUnsafe=function(e){this._checkFormat(e);var t=Vp(this._value,this.format.decimals),a=Vp(e._value,e.format.decimals);return n.fromValue(t.mul(this.format._multiplier).div(a),this.format.decimals,this.format)},n.prototype.floor=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var t=n.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(t=t.subUnsafe(H9e.toFormat(t.format))),t},n.prototype.ceiling=function(){var e=this.toString().split(".");e.length===1&&e.push("0");var t=n.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(t=t.addUnsafe(H9e.toFormat(t.format))),t},n.prototype.round=function(e){e==null&&(e=0);var t=this.toString().split(".");if(t.length===1&&t.push("0"),(e<0||e>80||e%1)&&v1.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;var a=n.from("1"+qE.substring(0,e),this.format),r=fSt.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)},n.prototype.isZero=function(){return this._value==="0.0"||this._value==="0"},n.prototype.isNegative=function(){return this._value[0]==="-"},n.prototype.toString=function(){return this._value},n.prototype.toHexString=function(e){if(e==null)return this._hex;e%8&&v1.throwArgumentError("invalid byte width","width",e);var t=v2.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,bB.hexZeroPad)(t,e/8)},n.prototype.toUnsafeFloat=function(){return parseFloat(this.toString())},n.prototype.toFormat=function(e){return n.fromString(this._value,e)},n.fromValue=function(e,t,a){return a==null&&t!=null&&!(0,v2.isBigNumberish)(t)&&(a=t,t=null),t==null&&(t=0),a==null&&(a="fixed"),n.fromString(hB(e,t),gB.from(a))},n.fromString=function(e,t){t==null&&(t="fixed");var a=gB.from(t),r=Vp(e,a.decimals);!a.signed&&r.lt(z9e)&&j9e("unsigned value cannot be negative","overflow","value",e);var i=null;a.signed?i=r.toTwos(a.width).toHexString():(i=r.toHexString(),i=(0,bB.hexZeroPad)(i,a.width/8));var s=hB(r,a.decimals);return new n(UE,i,s,a)},n.fromBytes=function(e,t){t==null&&(t="fixed");var a=gB.from(t);if((0,bB.arrayify)(e).length>a.width/8)throw new Error("overflow");var r=v2.BigNumber.from(e);a.signed&&(r=r.fromTwos(a.width));var i=r.toTwos((a.signed?0:1)+a.width).toHexString(),s=hB(r,a.decimals);return new n(UE,i,s,a)},n.from=function(e,t){if(typeof e=="string")return n.fromString(e,t);if((0,bB.isBytes)(e))return n.fromBytes(e,t);try{return n.fromValue(e,0,t)}catch(a){if(a.code!==HE.Logger.errors.INVALID_ARGUMENT)throw a}return v1.throwArgumentError("invalid FixedNumber value","value",e)},n.isFixedNumber=function(e){return!!(e&&e._isFixedNumber)},n}();$p.FixedNumber=DZ;var H9e=DZ.from(1),fSt=DZ.from("0.5")});var Zn=B(ho=>{"use strict";p();u();Object.defineProperty(ho,"__esModule",{value:!0});ho._base36To16=ho._base16To36=ho.parseFixed=ho.FixedNumber=ho.FixedFormat=ho.formatFixed=ho.BigNumber=void 0;var oSt=mB();Object.defineProperty(ho,"BigNumber",{enumerable:!0,get:function(){return oSt.BigNumber}});var vB=G9e();Object.defineProperty(ho,"formatFixed",{enumerable:!0,get:function(){return vB.formatFixed}});Object.defineProperty(ho,"FixedFormat",{enumerable:!0,get:function(){return vB.FixedFormat}});Object.defineProperty(ho,"FixedNumber",{enumerable:!0,get:function(){return vB.FixedNumber}});Object.defineProperty(ho,"parseFixed",{enumerable:!0,get:function(){return vB.parseFixed}});var K9e=mB();Object.defineProperty(ho,"_base16To36",{enumerable:!0,get:function(){return K9e._base16To36}});Object.defineProperty(ho,"_base36To16",{enumerable:!0,get:function(){return K9e._base36To16}})});var Q9e=B(TB=>{"use strict";p();u();Object.defineProperty(TB,"__esModule",{value:!0});TB.version=void 0;TB.version="properties/5.7.0"});var xa=B(cs=>{"use strict";p();u();var cSt=cs&&cs.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},dSt=cs&&cs.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();Object.defineProperty(xB,"__esModule",{value:!0});xB.version=void 0;xB.version="abi/5.7.0"});var kB=B(F0=>{"use strict";p();u();var CB=F0&&F0.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(F0,"__esModule",{value:!0});F0.ErrorFragment=F0.FunctionFragment=F0.ConstructorFragment=F0.EventFragment=F0.Fragment=F0.ParamType=F0.FormatTypes=void 0;var kZ=Zn(),TSt=xa(),SB=R0(),_St=Xg(),ea=new SB.Logger(_St.version),Pb={},X9e={calldata:!0,memory:!0,storage:!0},wSt={calldata:!0,memory:!0};function IB(n,e){if(n==="bytes"||n==="string"){if(X9e[e])return!0}else if(n==="address"){if(e==="payable")return!0}else if((n.indexOf("[")>=0||n==="tuple")&&wSt[e])return!0;return(X9e[e]||e==="payable")&&ea.throwArgumentError("invalid modifier","name",e),!1}function xSt(n,e){var t=n;function a(l){ea.throwArgumentError("unexpected character at position "+l,"param",n)}n=n.replace(/\s/g," ");function r(l){var y={type:"",name:"",parent:l,state:{allowType:!0}};return e&&(y.indexed=!1),y}for(var i={type:"",name:"",state:{allowType:!0}},s=i,f=0;f2&&ea.throwArgumentError("invalid human-readable ABI signature","value",n),t[1].match(/^[0-9]+$/)||ea.throwArgumentError("invalid human-readable ABI signature gas","value",n),e.gas=kZ.BigNumber.from(t[1]),t[0]):n}function tge(n,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",n.split(" ").forEach(function(t){switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}})}function nge(n){var e={constant:!1,payable:!0,stateMutability:"payable"};return n.stateMutability!=null?(e.stateMutability=n.stateMutability,e.constant=e.stateMutability==="view"||e.stateMutability==="pure",n.constant!=null&&!!n.constant!==e.constant&&ea.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",n),e.payable=e.stateMutability==="payable",n.payable!=null&&!!n.payable!==e.payable&&ea.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",n)):n.payable!=null?(e.payable=!!n.payable,n.constant==null&&!e.payable&&n.type!=="constructor"&&ea.throwArgumentError("unable to determine stateMutability","value",n),e.constant=!!n.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&ea.throwArgumentError("cannot have constant payable function","value",n)):n.constant!=null?(e.constant=!!n.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):n.type!=="constructor"&&ea.throwArgumentError("unable to determine stateMutability","value",n),e}var DB=function(n){CB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.format=function(t){if(t||(t=F0.FormatTypes.sighash),F0.FormatTypes[t]||ea.throwArgumentError("invalid format type","format",t),t===F0.FormatTypes.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(t))})});t===F0.FormatTypes.sighash&&ea.throwError("cannot format a constructor for sighash",SB.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var a="constructor("+this.inputs.map(function(r){return r.format(t)}).join(t===F0.FormatTypes.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "),a.trim()},e.from=function(t){return typeof t=="string"?e.fromString(t):e.fromObject(t)},e.fromObject=function(t){if(e.isConstructorFragment(t))return t;t.type!=="constructor"&&ea.throwArgumentError("invalid constructor object","value",t);var a=nge(t);a.constant&&ea.throwArgumentError("constructor cannot be constant","value",t);var r={name:null,type:t.type,inputs:t.inputs?t.inputs.map(Rb.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:t.gas?kZ.BigNumber.from(t.gas):null};return new e(Pb,r)},e.fromString=function(t){var a={type:"constructor"};t=ege(t,a);var r=t.match(jE);return(!r||r[1].trim()!=="constructor")&&ea.throwArgumentError("invalid constructor string","value",t),a.inputs=zE(r[2].trim(),!1),tge(r[3].trim(),a),e.fromObject(a)},e.isConstructorFragment=function(t){return t&&t._isFragment&&t.type==="constructor"},e}(AB);F0.ConstructorFragment=DB;var SZ=function(n){CB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.format=function(t){if(t||(t=F0.FormatTypes.sighash),F0.FormatTypes[t]||ea.throwArgumentError("invalid format type","format",t),t===F0.FormatTypes.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(function(r){return JSON.parse(r.format(t))}),outputs:this.outputs.map(function(r){return JSON.parse(r.format(t))})});var a="";return t!==F0.FormatTypes.sighash&&(a+="function "),a+=this.name+"("+this.inputs.map(function(r){return r.format(t)}).join(t===F0.FormatTypes.full?", ":",")+") ",t!==F0.FormatTypes.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(a+=this.stateMutability+" "):this.constant&&(a+="view "),this.outputs&&this.outputs.length&&(a+="returns ("+this.outputs.map(function(r){return r.format(t)}).join(", ")+") "),this.gas!=null&&(a+="@"+this.gas.toString()+" ")),a.trim()},e.from=function(t){return typeof t=="string"?e.fromString(t):e.fromObject(t)},e.fromObject=function(t){if(e.isFunctionFragment(t))return t;t.type!=="function"&&ea.throwArgumentError("invalid function object","value",t);var a=nge(t),r={type:t.type,name:WE(t.name),constant:a.constant,inputs:t.inputs?t.inputs.map(Rb.fromObject):[],outputs:t.outputs?t.outputs.map(Rb.fromObject):[],payable:a.payable,stateMutability:a.stateMutability,gas:t.gas?kZ.BigNumber.from(t.gas):null};return new e(Pb,r)},e.fromString=function(t){var a={type:"function"};t=ege(t,a);var r=t.split(" returns ");r.length>2&&ea.throwArgumentError("invalid function string","value",t);var i=r[0].match(jE);if(i||ea.throwArgumentError("invalid function signature","value",t),a.name=i[1].trim(),a.name&&WE(a.name),a.inputs=zE(i[2],!1),tge(i[3].trim(),a),r.length>1){var s=r[1].match(jE);(s[1].trim()!=""||s[3].trim()!="")&&ea.throwArgumentError("unexpected tokens","value",t),a.outputs=zE(s[2],!1)}else a.outputs=[];return e.fromObject(a)},e.isFunctionFragment=function(t){return t&&t._isFragment&&t.type==="function"},e}(DB);F0.FunctionFragment=SZ;function Z9e(n){var e=n.format();return(e==="Error(string)"||e==="Panic(uint256)")&&ea.throwArgumentError("cannot specify user defined "+e+" error","fragment",n),n}var AZ=function(n){CB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.format=function(t){if(t||(t=F0.FormatTypes.sighash),F0.FormatTypes[t]||ea.throwArgumentError("invalid format type","format",t),t===F0.FormatTypes.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(function(r){return JSON.parse(r.format(t))})});var a="";return t!==F0.FormatTypes.sighash&&(a+="error "),a+=this.name+"("+this.inputs.map(function(r){return r.format(t)}).join(t===F0.FormatTypes.full?", ":",")+") ",a.trim()},e.from=function(t){return typeof t=="string"?e.fromString(t):e.fromObject(t)},e.fromObject=function(t){if(e.isErrorFragment(t))return t;t.type!=="error"&&ea.throwArgumentError("invalid error object","value",t);var a={type:t.type,name:WE(t.name),inputs:t.inputs?t.inputs.map(Rb.fromObject):[]};return Z9e(new e(Pb,a))},e.fromString=function(t){var a={type:"error"},r=t.match(jE);return r||ea.throwArgumentError("invalid error signature","value",t),a.name=r[1].trim(),a.name&&WE(a.name),a.inputs=zE(r[2],!1),Z9e(e.fromObject(a))},e.isErrorFragment=function(t){return t&&t._isFragment&&t.type==="error"},e}(AB);F0.ErrorFragment=AZ;function Zg(n){return n.match(/^uint($|[^1-9])/)?n="uint256"+n.substring(4):n.match(/^int($|[^1-9])/)&&(n="int256"+n.substring(3)),n}var ESt=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function WE(n){return(!n||!n.match(ESt))&&ea.throwArgumentError('invalid identifier "'+n+'"',"value",n),n}var jE=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function DSt(n){n=n.trim();for(var e=[],t="",a=0,r=0;r{"use strict";p();u();Object.defineProperty(Up,"__esModule",{value:!0});Up.Reader=Up.Writer=Up.Coder=Up.checkResultErrors=void 0;var M8=H0(),age=Zn(),GE=xa(),PZ=R0(),CSt=Xg(),RZ=new PZ.Logger(CSt.version);function SSt(n){var e=[],t=function(a,r){if(Array.isArray(r))for(var i in r){var s=a.slice();s.push(i);try{t(s,r[i])}catch(f){e.push({path:s,error:f})}}};return t([],n),e}Up.checkResultErrors=SSt;var ASt=function(){function n(e,t,a,r){this.name=e,this.type=t,this.localName=a,this.dynamic=r}return n.prototype._throwError=function(e,t){RZ.throwArgumentError(e,this.localName,t)},n}();Up.Coder=ASt;var kSt=function(){function n(e){(0,GE.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return Object.defineProperty(n.prototype,"data",{get:function(){return(0,M8.hexConcat)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this._dataLength},enumerable:!1,configurable:!0}),n.prototype._writeData=function(e){return this._data.push(e),this._dataLength+=e.length,e.length},n.prototype.appendWriter=function(e){return this._writeData((0,M8.concat)(e._data))},n.prototype.writeBytes=function(e){var t=(0,M8.arrayify)(e),a=t.length%this.wordSize;return a&&(t=(0,M8.concat)([t,this._padding.slice(a)])),this._writeData(t)},n.prototype._getValue=function(e){var t=(0,M8.arrayify)(age.BigNumber.from(e));return t.length>this.wordSize&&RZ.throwError("value out-of-bounds",PZ.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=(0,M8.concat)([this._padding.slice(t.length%this.wordSize),t])),t},n.prototype.writeValue=function(e){return this._writeData(this._getValue(e))},n.prototype.writeUpdatableValue=function(){var e=this,t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(a){e._data[t]=e._getValue(a)}},n}();Up.Writer=kSt;var PSt=function(){function n(e,t,a,r){(0,GE.defineReadOnly)(this,"_data",(0,M8.arrayify)(e)),(0,GE.defineReadOnly)(this,"wordSize",t||32),(0,GE.defineReadOnly)(this,"_coerceFunc",a),(0,GE.defineReadOnly)(this,"allowLoose",r),this._offset=0}return Object.defineProperty(n.prototype,"data",{get:function(){return(0,M8.hexlify)(this._data)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"consumed",{get:function(){return this._offset},enumerable:!1,configurable:!0}),n.coerce=function(e,t){var a=e.match("^u?int([0-9]+)$");return a&&parseInt(a[1])<=48&&(t=t.toNumber()),t},n.prototype.coerce=function(e,t){return this._coerceFunc?this._coerceFunc(e,t):n.coerce(e,t)},n.prototype._peekBytes=function(e,t,a){var r=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&a&&this._offset+t<=this._data.length?r=t:RZ.throwError("data out-of-bounds",PZ.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)},n.prototype.subReader=function(e){return new n(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)},n.prototype.readBytes=function(e,t){var a=this._peekBytes(0,e,!!t);return this._offset+=a.length,a.slice(0,e)},n.prototype.readValue=function(){return age.BigNumber.from(this.readBytes(this.wordSize))},n}();Up.Reader=PSt});var rge=B((Akn,PB)=>{p();u();(function(){"use strict";var n="input is invalid type",e="finalize already called",t=typeof window=="object",a=t?window:{};a.JS_SHA3_NO_WINDOW&&(t=!1);var r=!t&&typeof self=="object",i=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;i?a=global:r&&(a=self);var s=!a.JS_SHA3_NO_COMMON_JS&&typeof PB=="object"&&PB.exports,f=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],y=[1,256,65536,16777216],h=[6,1536,393216,100663296],T=[0,8,16,24],A=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],N=[128,256],U=["hex","buffer","arrayBuffer","array","digest"],q={128:168,256:136};(a.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(V){return Object.prototype.toString.call(V)==="[object Array]"}),o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(V){return typeof V=="object"&&V.buffer&&V.buffer.constructor===ArrayBuffer});for(var W=function(V,Y,ee){return function(ae){return new C(V,Y,V).update(ae)[ee]()}},G=function(V,Y,ee){return function(ae,pe){return new C(V,Y,pe).update(ae)[ee]()}},X=function(V,Y,ee){return function(ae,pe,Q,ie){return b["cshake"+V].update(ae,pe,Q,ie)[ee]()}},J=function(V,Y,ee){return function(ae,pe,Q,ie){return b["kmac"+V].update(ae,pe,Q,ie)[ee]()}},j=function(V,Y,ee,ae){for(var pe=0;pe>5,this.byteCount=this.blockCount<<2,this.outputBlocks=ee>>5,this.extraBytes=(ee&31)>>3;for(var ae=0;ae<50;++ae)this.s[ae]=0}C.prototype.update=function(V){if(this.finalized)throw new Error(e);var Y,ee=typeof V;if(ee!=="string"){if(ee==="object"){if(V===null)throw new Error(n);if(o&&V.constructor===ArrayBuffer)V=new Uint8Array(V);else if(!Array.isArray(V)&&(!o||!ArrayBuffer.isView(V)))throw new Error(n)}else throw new Error(n);Y=!0}for(var ae=this.blocks,pe=this.byteCount,Q=V.length,ie=this.blockCount,se=0,be=this.s,de,we;se>2]|=V[se]<>2]|=we<>2]|=(192|we>>6)<>2]|=(128|we&63)<=57344?(ae[de>>2]|=(224|we>>12)<>2]|=(128|we>>6&63)<>2]|=(128|we&63)<>2]|=(240|we>>18)<>2]|=(128|we>>12&63)<>2]|=(128|we>>6&63)<>2]|=(128|we&63)<=pe){for(this.start=de-pe,this.block=ae[ie],de=0;de>8,ee=V&255;ee>0;)pe.unshift(ee),V=V>>8,ee=V&255,++ae;return Y?pe.push(ae):pe.unshift(ae),this.update(pe),pe.length},C.prototype.encodeString=function(V){var Y,ee=typeof V;if(ee!=="string"){if(ee==="object"){if(V===null)throw new Error(n);if(o&&V.constructor===ArrayBuffer)V=new Uint8Array(V);else if(!Array.isArray(V)&&(!o||!ArrayBuffer.isView(V)))throw new Error(n)}else throw new Error(n);Y=!0}var ae=0,pe=V.length;if(Y)ae=pe;else for(var Q=0;Q=57344?ae+=3:(ie=65536+((ie&1023)<<10|V.charCodeAt(++Q)&1023),ae+=4)}return ae+=this.encode(ae*8),this.update(V),ae},C.prototype.bytepad=function(V,Y){for(var ee=this.encode(Y),ae=0;ae>2]|=this.padding[Y&3],this.lastByteIndex===this.byteCount)for(V[0]=V[ee],Y=1;Y>4&15]+c[se&15]+c[se>>12&15]+c[se>>8&15]+c[se>>20&15]+c[se>>16&15]+c[se>>28&15]+c[se>>24&15];Q%V===0&&(te(Y),pe=0)}return ae&&(se=Y[pe],ie+=c[se>>4&15]+c[se&15],ae>1&&(ie+=c[se>>12&15]+c[se>>8&15]),ae>2&&(ie+=c[se>>20&15]+c[se>>16&15])),ie},C.prototype.arrayBuffer=function(){this.finalize();var V=this.blockCount,Y=this.s,ee=this.outputBlocks,ae=this.extraBytes,pe=0,Q=0,ie=this.outputBits>>3,se;ae?se=new ArrayBuffer(ee+1<<2):se=new ArrayBuffer(ie);for(var be=new Uint32Array(se);Q>8&255,ie[se+2]=be>>16&255,ie[se+3]=be>>24&255;Q%V===0&&te(Y)}return ae&&(se=Q<<2,be=Y[pe],ie[se]=be&255,ae>1&&(ie[se+1]=be>>8&255),ae>2&&(ie[se+2]=be>>16&255)),ie};function H(V,Y,ee){C.call(this,V,Y,ee)}H.prototype=new C,H.prototype.finalize=function(){return this.encode(this.outputBits,!0),C.prototype.finalize.call(this)};var te=function(V){var Y,ee,ae,pe,Q,ie,se,be,de,we,Oe,Se,it,qe,Me,mt,kt,je,Et,Ct,rt,Pt,Dt,We,Lt,$t,Qe,Ft,Ut,et,ue,me,_e,Be,Fe,Le,ct,ot,$e,wt,It,Ge,qt,Nt,Ve,xt,Ht,tt,Qt,Gt,st,zt,Zt,ft,Xt,_0,Kt,v0,Cn,Sn,An,kn,Pn;for(ae=0;ae<48;ae+=2)pe=V[0]^V[10]^V[20]^V[30]^V[40],Q=V[1]^V[11]^V[21]^V[31]^V[41],ie=V[2]^V[12]^V[22]^V[32]^V[42],se=V[3]^V[13]^V[23]^V[33]^V[43],be=V[4]^V[14]^V[24]^V[34]^V[44],de=V[5]^V[15]^V[25]^V[35]^V[45],we=V[6]^V[16]^V[26]^V[36]^V[46],Oe=V[7]^V[17]^V[27]^V[37]^V[47],Se=V[8]^V[18]^V[28]^V[38]^V[48],it=V[9]^V[19]^V[29]^V[39]^V[49],Y=Se^(ie<<1|se>>>31),ee=it^(se<<1|ie>>>31),V[0]^=Y,V[1]^=ee,V[10]^=Y,V[11]^=ee,V[20]^=Y,V[21]^=ee,V[30]^=Y,V[31]^=ee,V[40]^=Y,V[41]^=ee,Y=pe^(be<<1|de>>>31),ee=Q^(de<<1|be>>>31),V[2]^=Y,V[3]^=ee,V[12]^=Y,V[13]^=ee,V[22]^=Y,V[23]^=ee,V[32]^=Y,V[33]^=ee,V[42]^=Y,V[43]^=ee,Y=ie^(we<<1|Oe>>>31),ee=se^(Oe<<1|we>>>31),V[4]^=Y,V[5]^=ee,V[14]^=Y,V[15]^=ee,V[24]^=Y,V[25]^=ee,V[34]^=Y,V[35]^=ee,V[44]^=Y,V[45]^=ee,Y=be^(Se<<1|it>>>31),ee=de^(it<<1|Se>>>31),V[6]^=Y,V[7]^=ee,V[16]^=Y,V[17]^=ee,V[26]^=Y,V[27]^=ee,V[36]^=Y,V[37]^=ee,V[46]^=Y,V[47]^=ee,Y=we^(pe<<1|Q>>>31),ee=Oe^(Q<<1|pe>>>31),V[8]^=Y,V[9]^=ee,V[18]^=Y,V[19]^=ee,V[28]^=Y,V[29]^=ee,V[38]^=Y,V[39]^=ee,V[48]^=Y,V[49]^=ee,qe=V[0],Me=V[1],xt=V[11]<<4|V[10]>>>28,Ht=V[10]<<4|V[11]>>>28,Ft=V[20]<<3|V[21]>>>29,Ut=V[21]<<3|V[20]>>>29,Sn=V[31]<<9|V[30]>>>23,An=V[30]<<9|V[31]>>>23,Ge=V[40]<<18|V[41]>>>14,qt=V[41]<<18|V[40]>>>14,Be=V[2]<<1|V[3]>>>31,Fe=V[3]<<1|V[2]>>>31,mt=V[13]<<12|V[12]>>>20,kt=V[12]<<12|V[13]>>>20,tt=V[22]<<10|V[23]>>>22,Qt=V[23]<<10|V[22]>>>22,et=V[33]<<13|V[32]>>>19,ue=V[32]<<13|V[33]>>>19,kn=V[42]<<2|V[43]>>>30,Pn=V[43]<<2|V[42]>>>30,ft=V[5]<<30|V[4]>>>2,Xt=V[4]<<30|V[5]>>>2,Le=V[14]<<6|V[15]>>>26,ct=V[15]<<6|V[14]>>>26,je=V[25]<<11|V[24]>>>21,Et=V[24]<<11|V[25]>>>21,Gt=V[34]<<15|V[35]>>>17,st=V[35]<<15|V[34]>>>17,me=V[45]<<29|V[44]>>>3,_e=V[44]<<29|V[45]>>>3,We=V[6]<<28|V[7]>>>4,Lt=V[7]<<28|V[6]>>>4,_0=V[17]<<23|V[16]>>>9,Kt=V[16]<<23|V[17]>>>9,ot=V[26]<<25|V[27]>>>7,$e=V[27]<<25|V[26]>>>7,Ct=V[36]<<21|V[37]>>>11,rt=V[37]<<21|V[36]>>>11,zt=V[47]<<24|V[46]>>>8,Zt=V[46]<<24|V[47]>>>8,Nt=V[8]<<27|V[9]>>>5,Ve=V[9]<<27|V[8]>>>5,$t=V[18]<<20|V[19]>>>12,Qe=V[19]<<20|V[18]>>>12,v0=V[29]<<7|V[28]>>>25,Cn=V[28]<<7|V[29]>>>25,wt=V[38]<<8|V[39]>>>24,It=V[39]<<8|V[38]>>>24,Pt=V[48]<<14|V[49]>>>18,Dt=V[49]<<14|V[48]>>>18,V[0]=qe^~mt&je,V[1]=Me^~kt&Et,V[10]=We^~$t&Ft,V[11]=Lt^~Qe&Ut,V[20]=Be^~Le&ot,V[21]=Fe^~ct&$e,V[30]=Nt^~xt&tt,V[31]=Ve^~Ht&Qt,V[40]=ft^~_0&v0,V[41]=Xt^~Kt&Cn,V[2]=mt^~je&Ct,V[3]=kt^~Et&rt,V[12]=$t^~Ft&et,V[13]=Qe^~Ut&ue,V[22]=Le^~ot&wt,V[23]=ct^~$e&It,V[32]=xt^~tt&Gt,V[33]=Ht^~Qt&st,V[42]=_0^~v0&Sn,V[43]=Kt^~Cn&An,V[4]=je^~Ct&Pt,V[5]=Et^~rt&Dt,V[14]=Ft^~et&me,V[15]=Ut^~ue&_e,V[24]=ot^~wt&Ge,V[25]=$e^~It&qt,V[34]=tt^~Gt&zt,V[35]=Qt^~st&Zt,V[44]=v0^~Sn&kn,V[45]=Cn^~An&Pn,V[6]=Ct^~Pt&qe,V[7]=rt^~Dt&Me,V[16]=et^~me&We,V[17]=ue^~_e&Lt,V[26]=wt^~Ge&Be,V[27]=It^~qt&Fe,V[36]=Gt^~zt&Nt,V[37]=st^~Zt&Ve,V[46]=Sn^~kn&ft,V[47]=An^~Pn&Xt,V[8]=Pt^~qe&mt,V[9]=Dt^~Me&kt,V[18]=me^~We&$t,V[19]=_e^~Lt&Qe,V[28]=Ge^~Be&Le,V[29]=qt^~Fe&ct,V[38]=zt^~Nt&xt,V[39]=Zt^~Ve&Ht,V[48]=kn^~ft&_0,V[49]=Pn^~Xt&Kt,V[0]^=A[ae],V[1]^=A[ae+1]};if(s)PB.exports=b;else{for(L=0;L{"use strict";p();u();var RSt=ev&&ev.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ev,"__esModule",{value:!0});ev.keccak256=void 0;var LSt=RSt(rge()),MSt=H0();function BSt(n){return"0x"+LSt.default.keccak_256((0,MSt.arrayify)(n))}ev.keccak256=BSt});var ige=B(RB=>{"use strict";p();u();Object.defineProperty(RB,"__esModule",{value:!0});RB.version=void 0;RB.version="rlp/5.7.0"});var KE=B(tv=>{"use strict";p();u();Object.defineProperty(tv,"__esModule",{value:!0});tv.decode=tv.encode=void 0;var Lb=H0(),T2=R0(),NSt=ige(),qp=new T2.Logger(NSt.version);function sge(n){for(var e=[];n;)e.unshift(n&255),n>>=8;return e}function fge(n,e,t){for(var a=0,r=0;re+1+a&&qp.throwError("child data too short",T2.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:r}}function dge(n,e){if(n.length===0&&qp.throwError("data too short",T2.Logger.errors.BUFFER_OVERRUN,{}),n[e]>=248){var t=n[e]-247;e+1+t>n.length&&qp.throwError("data short segment too short",T2.Logger.errors.BUFFER_OVERRUN,{});var a=fge(n,e+1,t);return e+1+t+a>n.length&&qp.throwError("data long segment too short",T2.Logger.errors.BUFFER_OVERRUN,{}),oge(n,e,e+1+t,t+a)}else if(n[e]>=192){var r=n[e]-192;return e+1+r>n.length&&qp.throwError("data array too short",T2.Logger.errors.BUFFER_OVERRUN,{}),oge(n,e,e+1,r)}else if(n[e]>=184){var t=n[e]-183;e+1+t>n.length&&qp.throwError("data array too short",T2.Logger.errors.BUFFER_OVERRUN,{});var i=fge(n,e+1,t);e+1+t+i>n.length&&qp.throwError("data array too short",T2.Logger.errors.BUFFER_OVERRUN,{});var s=(0,Lb.hexlify)(n.slice(e+1+t,e+1+t+i));return{consumed:1+t+i,result:s}}else if(n[e]>=128){var f=n[e]-128;e+1+f>n.length&&qp.throwError("data too short",T2.Logger.errors.BUFFER_OVERRUN,{});var s=(0,Lb.hexlify)(n.slice(e+1,e+1+f));return{consumed:1+f,result:s}}return{consumed:1,result:(0,Lb.hexlify)(n[e])}}function OSt(n){var e=(0,Lb.arrayify)(n),t=dge(e,0);return t.consumed!==e.length&&qp.throwArgumentError("invalid rlp data","data",n),t.result}tv.decode=OSt});var lge=B(LB=>{"use strict";p();u();Object.defineProperty(LB,"__esModule",{value:!0});LB.version=void 0;LB.version="address/5.7.0"});var go=B(Kd=>{"use strict";p();u();Object.defineProperty(Kd,"__esModule",{value:!0});Kd.getCreate2Address=Kd.getContractAddress=Kd.getIcapAddress=Kd.isAddress=Kd.getAddress=void 0;var _2=H0(),LZ=Zn(),MZ=T1(),VSt=KE(),$St=R0(),USt=lge(),B8=new $St.Logger(USt.version);function pge(n){(0,_2.isHexString)(n,20)||B8.throwArgumentError("invalid address","address",n),n=n.toLowerCase();for(var e=n.substring(2).split(""),t=new Uint8Array(40),a=0;a<40;a++)t[a]=e[a].charCodeAt(0);for(var r=(0,_2.arrayify)((0,MZ.keccak256)(t)),a=0;a<40;a+=2)r[a>>1]>>4>=8&&(e[a]=e[a].toUpperCase()),(r[a>>1]&15)>=8&&(e[a+1]=e[a+1].toUpperCase());return"0x"+e.join("")}var qSt=9007199254740991;function HSt(n){return Math.log10?Math.log10(n):Math.log(n)/Math.LN10}var BZ={};for(Il=0;Il<10;Il++)BZ[String(Il)]=String(Il);var Il;for(Il=0;Il<26;Il++)BZ[String.fromCharCode(65+Il)]=String(10+Il);var Il,uge=Math.floor(HSt(qSt));function yge(n){n=n.toUpperCase(),n=n.substring(4)+n.substring(0,2)+"00";for(var e=n.split("").map(function(r){return BZ[r]}).join("");e.length>=uge;){var t=e.substring(0,uge);e=parseInt(t,10)%97+e.substring(t.length)}for(var a=String(98-parseInt(e,10)%97);a.length<2;)a="0"+a;return a}function Mb(n){var e=null;if(typeof n!="string"&&B8.throwArgumentError("invalid address","address",n),n.match(/^(0x)?[0-9a-fA-F]{40}$/))n.substring(0,2)!=="0x"&&(n="0x"+n),e=pge(n),n.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==n&&B8.throwArgumentError("bad address checksum","address",n);else if(n.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(n.substring(2,4)!==yge(n)&&B8.throwArgumentError("bad icap checksum","address",n),e=(0,LZ._base36To16)(n.substring(4));e.length<40;)e="0"+e;e=pge("0x"+e)}else B8.throwArgumentError("invalid address","address",n);return e}Kd.getAddress=Mb;function zSt(n){try{return Mb(n),!0}catch{}return!1}Kd.isAddress=zSt;function WSt(n){for(var e=(0,LZ._base16To36)(Mb(n).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+yge("XE00"+e)+e}Kd.getIcapAddress=WSt;function jSt(n){var e=null;try{e=Mb(n.from)}catch{B8.throwArgumentError("missing from address","transaction",n)}var t=(0,_2.stripZeros)((0,_2.arrayify)(LZ.BigNumber.from(n.nonce).toHexString()));return Mb((0,_2.hexDataSlice)((0,MZ.keccak256)((0,VSt.encode)([e,t])),12))}Kd.getContractAddress=jSt;function GSt(n,e,t){return(0,_2.hexDataLength)(e)!==32&&B8.throwArgumentError("salt must be 32 bytes","salt",e),(0,_2.hexDataLength)(t)!==32&&B8.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",t),Mb((0,_2.hexDataSlice)((0,MZ.keccak256)((0,_2.concat)(["0xff",Mb(n),e,t])),12))}Kd.getCreate2Address=GSt});var bge=B(nv=>{"use strict";p();u();var KSt=nv&&nv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(nv,"__esModule",{value:!0});nv.AddressCoder=void 0;var mge=go(),QSt=H0(),YSt=Gd(),JSt=function(n){KSt(e,n);function e(t){return n.call(this,"address","address",t,!1)||this}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000"},e.prototype.encode=function(t,a){try{a=(0,mge.getAddress)(a)}catch(r){this._throwError(r.message,a)}return t.writeValue(a)},e.prototype.decode=function(t){return(0,mge.getAddress)((0,QSt.hexZeroPad)(t.readValue().toHexString(),20))},e}(YSt.Coder);nv.AddressCoder=JSt});var hge=B(av=>{"use strict";p();u();var XSt=av&&av.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(av,"__esModule",{value:!0});av.AnonymousCoder=void 0;var ZSt=Gd(),eAt=function(n){XSt(e,n);function e(t){var a=n.call(this,t.name,t.type,void 0,t.dynamic)||this;return a.coder=t,a}return e.prototype.defaultValue=function(){return this.coder.defaultValue()},e.prototype.encode=function(t,a){return this.coder.encode(t,a)},e.prototype.decode=function(t){return this.coder.decode(t)},e}(ZSt.Coder);av.AnonymousCoder=eAt});var FZ=B(Hp=>{"use strict";p();u();var tAt=Hp&&Hp.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(Hp,"__esModule",{value:!0});Hp.ArrayCoder=Hp.unpack=Hp.pack=void 0;var iv=R0(),nAt=Xg(),rv=new iv.Logger(nAt.version),NZ=Gd(),aAt=hge();function gge(n,e,t){var a=null;if(Array.isArray(t))a=t;else if(t&&typeof t=="object"){var r={};a=e.map(function(c){var d=c.localName;return d||rv.throwError("cannot encode object for signature with missing names",iv.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:t}),r[d]&&rv.throwError("cannot encode object for signature with duplicate names",iv.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:c,value:t}),r[d]=!0,t[d]})}else rv.throwArgumentError("invalid tuple value","tuple",t);e.length!==a.length&&rv.throwArgumentError("types/value length mismatch","tuple",t);var i=new NZ.Writer(n.wordSize),s=new NZ.Writer(n.wordSize),f=[];e.forEach(function(c,d){var l=a[d];if(c.dynamic){var y=s.length;c.encode(s,l);var h=i.writeUpdatableValue();f.push(function(T){h(T+y)})}else c.encode(i,l)}),f.forEach(function(c){c(i.length)});var o=n.appendWriter(i);return o+=n.appendWriter(s),o}Hp.pack=gge;function vge(n,e){var t=[],a=n.subReader(0);e.forEach(function(f){var o=null;if(f.dynamic){var c=n.readValue(),d=a.subReader(c.toNumber());try{o=f.decode(d)}catch(l){if(l.code===iv.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=f.name,o.name=f.localName,o.type=f.type}}else try{o=f.decode(n)}catch(l){if(l.code===iv.Logger.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=f.name,o.name=f.localName,o.type=f.type}o!=null&&t.push(o)});var r=e.reduce(function(f,o){var c=o.localName;return c&&(f[c]||(f[c]=0),f[c]++),f},{});e.forEach(function(f,o){var c=f.localName;if(!(!c||r[c]!==1)&&(c==="length"&&(c="_length"),t[c]==null)){var d=t[o];d instanceof Error?Object.defineProperty(t,c,{enumerable:!0,get:function(){throw d}}):t[c]=d}});for(var i=function(f){var o=t[f];o instanceof Error&&Object.defineProperty(t,f,{enumerable:!0,get:function(){throw o}})},s=0;s=0?a:"")+"]",f=a===-1||t.dynamic;return i=n.call(this,"array",s,r,f)||this,i.coder=t,i.length=a,i}return e.prototype.defaultValue=function(){for(var t=this.coder.defaultValue(),a=[],r=0;rt._data.length&&rv.throwError("insufficient data length",iv.Logger.errors.BUFFER_OVERRUN,{length:t._data.length,count:a}));for(var r=[],i=0;i{"use strict";p();u();var iAt=sv&&sv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(sv,"__esModule",{value:!0});sv.BooleanCoder=void 0;var sAt=Gd(),fAt=function(n){iAt(e,n);function e(t){return n.call(this,"bool","bool",t,!1)||this}return e.prototype.defaultValue=function(){return!1},e.prototype.encode=function(t,a){return t.writeValue(a?1:0)},e.prototype.decode=function(t){return t.coerce(this.type,!t.readValue().isZero())},e}(sAt.Coder);sv.BooleanCoder=fAt});var OZ=B(N8=>{"use strict";p();u();var _ge=N8&&N8.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(N8,"__esModule",{value:!0});N8.BytesCoder=N8.DynamicBytesCoder=void 0;var wge=H0(),oAt=Gd(),xge=function(n){_ge(e,n);function e(t,a){return n.call(this,t,t,a,!0)||this}return e.prototype.defaultValue=function(){return"0x"},e.prototype.encode=function(t,a){a=(0,wge.arrayify)(a);var r=t.writeValue(a.length);return r+=t.writeBytes(a),r},e.prototype.decode=function(t){return t.readBytes(t.readValue().toNumber(),!0)},e}(oAt.Coder);N8.DynamicBytesCoder=xge;var cAt=function(n){_ge(e,n);function e(t){return n.call(this,"bytes",t)||this}return e.prototype.decode=function(t){return t.coerce(this.name,(0,wge.hexlify)(n.prototype.decode.call(this,t)))},e}(xge);N8.BytesCoder=cAt});var Ege=B(fv=>{"use strict";p();u();var dAt=fv&&fv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(fv,"__esModule",{value:!0});fv.FixedBytesCoder=void 0;var Ige=H0(),lAt=Gd(),pAt=function(n){dAt(e,n);function e(t,a){var r=this,i="bytes"+String(t);return r=n.call(this,i,i,a,!1)||this,r.size=t,r}return e.prototype.defaultValue=function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+this.size*2)},e.prototype.encode=function(t,a){var r=(0,Ige.arrayify)(a);return r.length!==this.size&&this._throwError("incorrect data length",a),t.writeBytes(r)},e.prototype.decode=function(t){return t.coerce(this.name,(0,Ige.hexlify)(t.readBytes(this.size)))},e}(lAt.Coder);fv.FixedBytesCoder=pAt});var Dge=B(ov=>{"use strict";p();u();var uAt=ov&&ov.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(ov,"__esModule",{value:!0});ov.NullCoder=void 0;var yAt=Gd(),mAt=function(n){uAt(e,n);function e(t){return n.call(this,"null","",t,!1)||this}return e.prototype.defaultValue=function(){return null},e.prototype.encode=function(t,a){return a!=null&&this._throwError("not null",a),t.writeBytes([])},e.prototype.decode=function(t){return t.readBytes(0),t.coerce(this.name,null)},e}(yAt.Coder);ov.NullCoder=mAt});var Cge=B(MB=>{"use strict";p();u();Object.defineProperty(MB,"__esModule",{value:!0});MB.AddressZero=void 0;MB.AddressZero="0x0000000000000000000000000000000000000000"});var Sge=B(Qs=>{"use strict";p();u();Object.defineProperty(Qs,"__esModule",{value:!0});Qs.MaxInt256=Qs.MinInt256=Qs.MaxUint256=Qs.WeiPerEther=Qs.Two=Qs.One=Qs.Zero=Qs.NegativeOne=void 0;var F8=Zn(),bAt=F8.BigNumber.from(-1);Qs.NegativeOne=bAt;var hAt=F8.BigNumber.from(0);Qs.Zero=hAt;var gAt=F8.BigNumber.from(1);Qs.One=gAt;var vAt=F8.BigNumber.from(2);Qs.Two=vAt;var TAt=F8.BigNumber.from("1000000000000000000");Qs.WeiPerEther=TAt;var _At=F8.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");Qs.MaxUint256=_At;var wAt=F8.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");Qs.MinInt256=wAt;var xAt=F8.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");Qs.MaxInt256=xAt});var Age=B(BB=>{"use strict";p();u();Object.defineProperty(BB,"__esModule",{value:!0});BB.HashZero=void 0;BB.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"});var kge=B(NB=>{"use strict";p();u();Object.defineProperty(NB,"__esModule",{value:!0});NB.EtherSymbol=void 0;NB.EtherSymbol="\u039E"});var V8=B(Zr=>{"use strict";p();u();Object.defineProperty(Zr,"__esModule",{value:!0});Zr.EtherSymbol=Zr.HashZero=Zr.MaxInt256=Zr.MinInt256=Zr.MaxUint256=Zr.WeiPerEther=Zr.Two=Zr.One=Zr.Zero=Zr.NegativeOne=Zr.AddressZero=void 0;var IAt=Cge();Object.defineProperty(Zr,"AddressZero",{enumerable:!0,get:function(){return IAt.AddressZero}});var O8=Sge();Object.defineProperty(Zr,"NegativeOne",{enumerable:!0,get:function(){return O8.NegativeOne}});Object.defineProperty(Zr,"Zero",{enumerable:!0,get:function(){return O8.Zero}});Object.defineProperty(Zr,"One",{enumerable:!0,get:function(){return O8.One}});Object.defineProperty(Zr,"Two",{enumerable:!0,get:function(){return O8.Two}});Object.defineProperty(Zr,"WeiPerEther",{enumerable:!0,get:function(){return O8.WeiPerEther}});Object.defineProperty(Zr,"MaxUint256",{enumerable:!0,get:function(){return O8.MaxUint256}});Object.defineProperty(Zr,"MinInt256",{enumerable:!0,get:function(){return O8.MinInt256}});Object.defineProperty(Zr,"MaxInt256",{enumerable:!0,get:function(){return O8.MaxInt256}});var EAt=Age();Object.defineProperty(Zr,"HashZero",{enumerable:!0,get:function(){return EAt.HashZero}});var DAt=kge();Object.defineProperty(Zr,"EtherSymbol",{enumerable:!0,get:function(){return DAt.EtherSymbol}})});var Pge=B(cv=>{"use strict";p();u();var CAt=cv&&cv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(cv,"__esModule",{value:!0});cv.NumberCoder=void 0;var SAt=Zn(),FB=V8(),AAt=Gd(),kAt=function(n){CAt(e,n);function e(t,a,r){var i=this,s=(a?"int":"uint")+t*8;return i=n.call(this,s,s,r,!1)||this,i.size=t,i.signed=a,i}return e.prototype.defaultValue=function(){return 0},e.prototype.encode=function(t,a){var r=SAt.BigNumber.from(a),i=FB.MaxUint256.mask(t.wordSize*8);if(this.signed){var s=i.mask(this.size*8-1);(r.gt(s)||r.lt(s.add(FB.One).mul(FB.NegativeOne)))&&this._throwError("value out-of-bounds",a)}else(r.lt(FB.Zero)||r.gt(i.mask(this.size*8)))&&this._throwError("value out-of-bounds",a);return r=r.toTwos(this.size*8).mask(this.size*8),this.signed&&(r=r.fromTwos(this.size*8).toTwos(8*t.wordSize)),t.writeValue(r)},e.prototype.decode=function(t){var a=t.readValue().mask(this.size*8);return this.signed&&(a=a.fromTwos(this.size*8)),t.coerce(this.name,a)},e}(AAt.Coder);cv.NumberCoder=kAt});var Rge=B(OB=>{"use strict";p();u();Object.defineProperty(OB,"__esModule",{value:!0});OB.version=void 0;OB.version="strings/5.7.0"});var $B=B(Ji=>{"use strict";p();u();Object.defineProperty(Ji,"__esModule",{value:!0});Ji.toUtf8CodePoints=Ji.toUtf8String=Ji._toUtf8String=Ji._toEscapedUtf8String=Ji.toUtf8Bytes=Ji.Utf8ErrorFuncs=Ji.Utf8ErrorReason=Ji.UnicodeNormalizationForm=void 0;var Lge=H0(),PAt=R0(),RAt=Rge(),Mge=new PAt.Logger(RAt.version),VB;(function(n){n.current="",n.NFC="NFC",n.NFD="NFD",n.NFKC="NFKC",n.NFKD="NFKD"})(VB=Ji.UnicodeNormalizationForm||(Ji.UnicodeNormalizationForm={}));var Qd;(function(n){n.UNEXPECTED_CONTINUE="unexpected continuation byte",n.BAD_PREFIX="bad codepoint prefix",n.OVERRUN="string overrun",n.MISSING_CONTINUE="missing continuation byte",n.OUT_OF_RANGE="out of UTF-8 range",n.UTF16_SURROGATE="UTF-16 surrogate",n.OVERLONG="overlong representation"})(Qd=Ji.Utf8ErrorReason||(Ji.Utf8ErrorReason={}));function LAt(n,e,t,a,r){return Mge.throwArgumentError("invalid codepoint at offset "+e+"; "+n,"bytes",t)}function Bge(n,e,t,a,r){if(n===Qd.BAD_PREFIX||n===Qd.UNEXPECTED_CONTINUE){for(var i=0,s=e+1;s>6===2;s++)i++;return i}return n===Qd.OVERRUN?t.length-e-1:0}function MAt(n,e,t,a,r){return n===Qd.OVERLONG?(a.push(r),0):(a.push(65533),Bge(n,e,t,a,r))}Ji.Utf8ErrorFuncs=Object.freeze({error:LAt,ignore:Bge,replace:MAt});function $Z(n,e){e==null&&(e=Ji.Utf8ErrorFuncs.error),n=(0,Lge.arrayify)(n);for(var t=[],a=0;a>7)){t.push(r);continue}var i=null,s=null;if((r&224)===192)i=1,s=127;else if((r&240)===224)i=2,s=2047;else if((r&248)===240)i=3,s=65535;else{(r&192)===128?a+=e(Qd.UNEXPECTED_CONTINUE,a-1,n,t):a+=e(Qd.BAD_PREFIX,a-1,n,t);continue}if(a-1+i>=n.length){a+=e(Qd.OVERRUN,a-1,n,t);continue}for(var f=r&(1<<8-i-1)-1,o=0;o1114111){a+=e(Qd.OUT_OF_RANGE,a-1-i,n,t,f);continue}if(f>=55296&&f<=57343){a+=e(Qd.UTF16_SURROGATE,a-1-i,n,t,f);continue}if(f<=s){a+=e(Qd.OVERLONG,a-1-i,n,t,f);continue}t.push(f)}}return t}function Nge(n,e){e===void 0&&(e=VB.current),e!=VB.current&&(Mge.checkNormalize(),n=n.normalize(e));for(var t=[],a=0;a>6|192),t.push(r&63|128);else if((r&64512)==55296){a++;var i=n.charCodeAt(a);if(a>=n.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");var s=65536+((r&1023)<<10)+(i&1023);t.push(s>>18|240),t.push(s>>12&63|128),t.push(s>>6&63|128),t.push(s&63|128)}else t.push(r>>12|224),t.push(r>>6&63|128),t.push(r&63|128)}return(0,Lge.arrayify)(t)}Ji.toUtf8Bytes=Nge;function VZ(n){var e="0000"+n.toString(16);return"\\u"+e.substring(e.length-4)}function BAt(n,e){return'"'+$Z(n,e).map(function(t){if(t<256){switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(t>=32&&t<127)return String.fromCharCode(t)}return t<=65535?VZ(t):(t-=65536,VZ((t>>10&1023)+55296)+VZ((t&1023)+56320))}).join("")+'"'}Ji._toEscapedUtf8String=BAt;function Fge(n){return n.map(function(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))}).join("")}Ji._toUtf8String=Fge;function NAt(n,e){return Fge($Z(n,e))}Ji.toUtf8String=NAt;function FAt(n,e){return e===void 0&&(e=VB.current),$Z(Nge(n,e))}Ji.toUtf8CodePoints=FAt});var Vge=B(dv=>{"use strict";p();u();Object.defineProperty(dv,"__esModule",{value:!0});dv.parseBytes32String=dv.formatBytes32String=void 0;var OAt=V8(),UZ=H0(),Oge=$B();function VAt(n){var e=(0,Oge.toUtf8Bytes)(n);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,UZ.hexlify)((0,UZ.concat)([e,OAt.HashZero]).slice(0,32))}dv.formatBytes32String=VAt;function $At(n){var e=(0,UZ.arrayify)(n);if(e.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(e[31]!==0)throw new Error("invalid bytes32 string - no null terminator");for(var t=31;e[t-1]===0;)t--;return(0,Oge.toUtf8String)(e.slice(0,t))}dv.parseBytes32String=$At});var zge=B(zp=>{"use strict";p();u();Object.defineProperty(zp,"__esModule",{value:!0});zp.nameprep=zp._nameprepTableC=zp._nameprepTableB2=zp._nameprepTableA1=void 0;var QE=$B();function UAt(n){if(n.length%4!==0)throw new Error("bad data");for(var e=[],t=0;t=t&&n<=t+r.h&&(n-t)%(r.d||1)===0){if(r.e&&r.e.indexOf(n-t)!==-1)continue;return r}}return null}var qAt=$ge("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),HAt="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(n){return parseInt(n,16)}),zAt=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],WAt=qZ("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),jAt=qZ("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),GAt=qZ("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",UAt),KAt=$ge("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function QAt(n){return n.reduce(function(e,t){return t.forEach(function(a){e.push(a)}),e},[])}function Uge(n){return!!HZ(n,qAt)}zp._nameprepTableA1=Uge;function qge(n){var e=HZ(n,zAt);if(e)return[n+e.s];var t=WAt[n];if(t)return t;var a=jAt[n];if(a)return[n+a[0]];var r=GAt[n];return r||null}zp._nameprepTableB2=qge;function Hge(n){return!!HZ(n,KAt)}zp._nameprepTableC=Hge;function YAt(n){if(n.match(/^[a-z0-9-]*$/i)&&n.length<=59)return n.toLowerCase();var e=(0,QE.toUtf8CodePoints)(n);e=QAt(e.map(function(a){if(HAt.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];var r=qge(a);return r||[a]})),e=(0,QE.toUtf8CodePoints)((0,QE._toUtf8String)(e),QE.UnicodeNormalizationForm.NFKC),e.forEach(function(a){if(Hge(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(function(a){if(Uge(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});var t=(0,QE._toUtf8String)(e);if(t.substring(0,1)==="-"||t.substring(2,4)==="--"||t.substring(t.length-1)==="-")throw new Error("invalid hyphen");return t}zp.nameprep=YAt});var ds=B(Ri=>{"use strict";p();u();Object.defineProperty(Ri,"__esModule",{value:!0});Ri.nameprep=Ri.parseBytes32String=Ri.formatBytes32String=Ri.UnicodeNormalizationForm=Ri.Utf8ErrorReason=Ri.Utf8ErrorFuncs=Ri.toUtf8String=Ri.toUtf8CodePoints=Ri.toUtf8Bytes=Ri._toEscapedUtf8String=void 0;var Wge=Vge();Object.defineProperty(Ri,"formatBytes32String",{enumerable:!0,get:function(){return Wge.formatBytes32String}});Object.defineProperty(Ri,"parseBytes32String",{enumerable:!0,get:function(){return Wge.parseBytes32String}});var JAt=zge();Object.defineProperty(Ri,"nameprep",{enumerable:!0,get:function(){return JAt.nameprep}});var Bb=$B();Object.defineProperty(Ri,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Bb._toEscapedUtf8String}});Object.defineProperty(Ri,"toUtf8Bytes",{enumerable:!0,get:function(){return Bb.toUtf8Bytes}});Object.defineProperty(Ri,"toUtf8CodePoints",{enumerable:!0,get:function(){return Bb.toUtf8CodePoints}});Object.defineProperty(Ri,"toUtf8String",{enumerable:!0,get:function(){return Bb.toUtf8String}});Object.defineProperty(Ri,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return Bb.UnicodeNormalizationForm}});Object.defineProperty(Ri,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Bb.Utf8ErrorFuncs}});Object.defineProperty(Ri,"Utf8ErrorReason",{enumerable:!0,get:function(){return Bb.Utf8ErrorReason}})});var Gge=B(lv=>{"use strict";p();u();var XAt=lv&&lv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(lv,"__esModule",{value:!0});lv.StringCoder=void 0;var jge=ds(),ZAt=OZ(),ekt=function(n){XAt(e,n);function e(t){return n.call(this,"string",t)||this}return e.prototype.defaultValue=function(){return""},e.prototype.encode=function(t,a){return n.prototype.encode.call(this,t,(0,jge.toUtf8Bytes)(a))},e.prototype.decode=function(t){return(0,jge.toUtf8String)(n.prototype.decode.call(this,t))},e}(ZAt.DynamicBytesCoder);lv.StringCoder=ekt});var Qge=B(pv=>{"use strict";p();u();var tkt=pv&&pv.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(pv,"__esModule",{value:!0});pv.TupleCoder=void 0;var nkt=Gd(),Kge=FZ(),akt=function(n){tkt(e,n);function e(t,a){var r=this,i=!1,s=[];t.forEach(function(o){o.dynamic&&(i=!0),s.push(o.type)});var f="tuple("+s.join(",")+")";return r=n.call(this,"tuple",f,a,i)||this,r.coders=t,r}return e.prototype.defaultValue=function(){var t=[];this.coders.forEach(function(r){t.push(r.defaultValue())});var a=this.coders.reduce(function(r,i){var s=i.localName;return s&&(r[s]||(r[s]=0),r[s]++),r},{});return this.coders.forEach(function(r,i){var s=r.localName;!s||a[s]!==1||(s==="length"&&(s="_length"),t[s]==null&&(t[s]=t[i]))}),Object.freeze(t)},e.prototype.encode=function(t,a){return(0,Kge.pack)(t,this.coders,a)},e.prototype.decode=function(t){return t.coerce(this.name,(0,Kge.unpack)(t,this.coders))},e}(nkt.Coder);pv.TupleCoder=akt});var WZ=B(uv=>{"use strict";p();u();Object.defineProperty(uv,"__esModule",{value:!0});uv.defaultAbiCoder=uv.AbiCoder=void 0;var rkt=H0(),ikt=xa(),Jge=R0(),skt=Xg(),UB=new Jge.Logger(skt.version),Yge=Gd(),fkt=bge(),okt=FZ(),ckt=Tge(),dkt=OZ(),lkt=Ege(),pkt=Dge(),ukt=Pge(),ykt=Gge(),qB=Qge(),zZ=kB(),mkt=new RegExp(/^bytes([0-9]*)$/),bkt=new RegExp(/^(u?int)([0-9]*)$/),Xge=function(){function n(e){(0,ikt.defineReadOnly)(this,"coerceFunc",e||null)}return n.prototype._getCoder=function(e){var t=this;switch(e.baseType){case"address":return new fkt.AddressCoder(e.name);case"bool":return new ckt.BooleanCoder(e.name);case"string":return new ykt.StringCoder(e.name);case"bytes":return new dkt.BytesCoder(e.name);case"array":return new okt.ArrayCoder(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new qB.TupleCoder((e.components||[]).map(function(i){return t._getCoder(i)}),e.name);case"":return new pkt.NullCoder(e.name)}var a=e.type.match(bkt);if(a){var r=parseInt(a[2]||"256");return(r===0||r>256||r%8!==0)&&UB.throwArgumentError("invalid "+a[1]+" bit length","param",e),new ukt.NumberCoder(r/8,a[1]==="int",e.name)}if(a=e.type.match(mkt),a){var r=parseInt(a[1]);return(r===0||r>32)&&UB.throwArgumentError("invalid bytes length","param",e),new lkt.FixedBytesCoder(r,e.name)}return UB.throwArgumentError("invalid type","type",e.type)},n.prototype._getWordSize=function(){return 32},n.prototype._getReader=function(e,t){return new Yge.Reader(e,this._getWordSize(),this.coerceFunc,t)},n.prototype._getWriter=function(){return new Yge.Writer(this._getWordSize())},n.prototype.getDefaultValue=function(e){var t=this,a=e.map(function(i){return t._getCoder(zZ.ParamType.from(i))}),r=new qB.TupleCoder(a,"_");return r.defaultValue()},n.prototype.encode=function(e,t){var a=this;e.length!==t.length&&UB.throwError("types/values length mismatch",Jge.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var r=e.map(function(f){return a._getCoder(zZ.ParamType.from(f))}),i=new qB.TupleCoder(r,"_"),s=this._getWriter();return i.encode(s,t),s.data},n.prototype.decode=function(e,t,a){var r=this,i=e.map(function(f){return r._getCoder(zZ.ParamType.from(f))}),s=new qB.TupleCoder(i,"_");return s.decode(this._getReader((0,rkt.arrayify)(t),a))},n}();uv.AbiCoder=Xge;uv.defaultAbiCoder=new Xge});var jZ=B(HB=>{"use strict";p();u();Object.defineProperty(HB,"__esModule",{value:!0});HB.id=void 0;var hkt=T1(),gkt=ds();function vkt(n){return(0,hkt.keccak256)((0,gkt.toUtf8Bytes)(n))}HB.id=vkt});var GZ=B(zB=>{"use strict";p();u();Object.defineProperty(zB,"__esModule",{value:!0});zB.version=void 0;zB.version="hash/5.7.0"});var eve=B(yv=>{"use strict";p();u();Object.defineProperty(yv,"__esModule",{value:!0});yv.encode=yv.decode=void 0;var Zge=H0();function Tkt(n){n=atob(n);for(var e=[],t=0;t{"use strict";p();u();Object.defineProperty(mv,"__esModule",{value:!0});mv.encode=mv.decode=void 0;var tve=eve();Object.defineProperty(mv,"decode",{enumerable:!0,get:function(){return tve.decode}});Object.defineProperty(mv,"encode",{enumerable:!0,get:function(){return tve.encode}})});var QZ=B(Ys=>{"use strict";p();u();Object.defineProperty(Ys,"__esModule",{value:!0});Ys.read_emoji_trie=Ys.read_zero_terminated_array=Ys.read_mapped_map=Ys.read_member_array=Ys.signed=Ys.read_compressed_payload=Ys.read_payload=Ys.decode_arithmetic=void 0;function ave(n,e){e==null&&(e=1);var t=[],a=t.forEach,r=function(i,s){a.call(i,function(f){s>0&&Array.isArray(f)?r(f,s-1):t.push(f)})};return r(n,e),t}function wkt(n){for(var e={},t=0;t>--c&1}for(var y=31,h=Math.pow(2,y),T=h>>>1,A=T>>1,O=h-1,N=0,s=0;s1;){var j=X+J>>>1;G>>1|l(),z=z<<1^T,P=(P^T)<<1|T|1;q=z,W=1+P-z}var _=a-4;return U.map(function(F){switch(F-_){case 3:return _+65792+(n[o++]<<16|n[o++]<<8|n[o++]);case 2:return _+256+(n[o++]<<8|n[o++]);case 1:return _+n[o++];default:return F-1}})}Ys.decode_arithmetic=rve;function ive(n){var e=0;return function(){return n[e++]}}Ys.read_payload=ive;function xkt(n){return ive(rve(n))}Ys.read_compressed_payload=xkt;function sve(n){return n&1?~n>>1:n>>1}Ys.signed=sve;function Ikt(n,e){for(var t=Array(n),a=0;a>=1;var o=i==1,c=i==2;return{branches:a,valid:s,fe0f:f,save:o,check:c}}}Ys.read_emoji_trie=Akt});var cve=B(WB=>{"use strict";p();u();Object.defineProperty(WB,"__esModule",{value:!0});WB.getData=void 0;var kkt=YE(),Pkt=QZ();function Rkt(){return(0,Pkt.read_compressed_payload)((0,kkt.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}WB.getData=Rkt});var uve=B(bv=>{"use strict";p();u();Object.defineProperty(bv,"__esModule",{value:!0});bv.ens_normalize=bv.ens_normalize_post_check=void 0;var Lkt=ds(),Mkt=cve(),jB=(0,Mkt.getData)(),GB=QZ(),Bkt=new Set((0,GB.read_member_array)(jB)),Nkt=new Set((0,GB.read_member_array)(jB)),Fkt=(0,GB.read_mapped_map)(jB),Okt=(0,GB.read_emoji_trie)(jB),dve=45,lve=95;function pve(n){return(0,Lkt.toUtf8CodePoints)(n)}function Vkt(n){return n.filter(function(e){return e!=65039})}function YZ(n){for(var e=0,t=n.split(".");e=0;i--)if(r[i]!==lve)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(function(s){return s<128})&&r[2]===dve&&r[3]===dve)throw new Error("invalid label extension")}catch(s){throw new Error('Invalid label "'+a+'": '+s.message)}}return n}bv.ens_normalize_post_check=YZ;function $kt(n){return YZ(Ukt(n,Vkt))}bv.ens_normalize=$kt;function Ukt(n,e){for(var t=pve(n).reverse(),a=[];t.length;){var r=Hkt(t);if(r){a.push.apply(a,e(r));continue}var i=t.pop();if(Bkt.has(i)){a.push(i);continue}if(!Nkt.has(i)){var s=Fkt[i];if(s){a.push.apply(a,s);continue}throw new Error("Disallowed codepoint: 0x"+i.toString(16).toUpperCase())}}return YZ(qkt(String.fromCodePoint.apply(String,a)))}function qkt(n){return n.normalize("NFC")}function Hkt(n,e){var t,a=Okt,r,i,s=[],f=n.length;e&&(e.length=0);for(var o=function(){var d=n[--f];if(a=(t=a.branches.find(function(l){return l.set.has(d)}))===null||t===void 0?void 0:t.node,!a)return"break";if(a.save)i=d;else if(a.check&&d===i)return"break";s.push(d),a.fe0f&&(s.push(65039),f>0&&n[f-1]==65039&&f--),a.valid&&(r=s.slice(),a.valid==2&&r.splice(1,1),e&&e.push.apply(e,n.slice(f).reverse()),n.length=f)};f;){var c=o();if(c==="break")break}return r}});var JZ=B(Wp=>{"use strict";p();u();Object.defineProperty(Wp,"__esModule",{value:!0});Wp.dnsEncode=Wp.namehash=Wp.isValidName=Wp.ensNormalize=void 0;var KB=H0(),bve=ds(),yve=T1(),zkt=R0(),Wkt=GZ(),jkt=new zkt.Logger(Wkt.version),Gkt=uve(),hve=new Uint8Array(32);hve.fill(0);function mve(n){if(n.length===0)throw new Error("invalid ENS name; empty component");return n}function QB(n){var e=(0,bve.toUtf8Bytes)((0,Gkt.ens_normalize)(n)),t=[];if(n.length===0)return t;for(var a=0,r=0;r=e.length)throw new Error("invalid ENS name; empty component");return t.push(mve(e.slice(a))),t}function Kkt(n){return QB(n).map(function(e){return(0,bve.toUtf8String)(e)}).join(".")}Wp.ensNormalize=Kkt;function Qkt(n){try{return QB(n).length!==0}catch{}return!1}Wp.isValidName=Qkt;function Ykt(n){typeof n!="string"&&jkt.throwArgumentError("invalid ENS name; not a string","name",n);for(var e=hve,t=QB(n);t.length;)e=(0,yve.keccak256)((0,KB.concat)([e,(0,yve.keccak256)(t.pop())]));return(0,KB.hexlify)(e)}Wp.namehash=Ykt;function Jkt(n){return(0,KB.hexlify)((0,KB.concat)(QB(n).map(function(e){if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var t=new Uint8Array(e.length+1);return t.set(e,1),t[0]=t.length-1,t})))+"00"}Wp.dnsEncode=Jkt});var gve=B(Nb=>{"use strict";p();u();Object.defineProperty(Nb,"__esModule",{value:!0});Nb.hashMessage=Nb.messagePrefix=void 0;var Xkt=H0(),Zkt=T1(),XZ=ds();Nb.messagePrefix=`Ethereum Signed Message: +`;function ePt(n){return typeof n=="string"&&(n=(0,XZ.toUtf8Bytes)(n)),(0,Zkt.keccak256)((0,Xkt.concat)([(0,XZ.toUtf8Bytes)(Nb.messagePrefix),(0,XZ.toUtf8Bytes)(String(n.length)),n]))}Nb.hashMessage=ePt});var Cve=B($8=>{"use strict";p();u();var tPt=$8&&$8.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},nPt=$8&&$8.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]256||e[2]&&e[2]!==String(a))&&mi.throwArgumentError("invalid numeric width","type",n);var r=sPt.mask(t?a-1:a),i=t?r.add(Dve).mul(iPt):Eve;return function(f){var o=Ob.BigNumber.from(f);return(o.lt(i)||o.gt(r))&&mi.throwArgumentError("value out-of-bounds for "+n,"value",f),(0,Bf.hexZeroPad)(o.toTwos(256).toHexString(),32)}}}{var e=n.match(/^bytes(\d+)$/);if(e){var s=parseInt(e[1]);return(s===0||s>32||e[1]!==String(s))&&mi.throwArgumentError("invalid bytes width","type",n),function(o){var c=(0,Bf.arrayify)(o);return c.length!==s&&mi.throwArgumentError("invalid length for "+n,"value",o),fPt(o)}}}switch(n){case"address":return function(f){return(0,Bf.hexZeroPad)((0,wve.getAddress)(f),32)};case"bool":return function(f){return f?oPt:cPt};case"bytes":return function(f){return(0,hv.keccak256)(f)};case"string":return function(f){return(0,xve.id)(f)}}return null}function _ve(n,e){return n+"("+e.map(function(t){var a=t.name,r=t.type;return r+" "+a}).join(",")+")"}var lPt=function(){function n(e){(0,Fb.defineReadOnly)(this,"types",Object.freeze((0,Fb.deepCopy)(e))),(0,Fb.defineReadOnly)(this,"_encoderCache",{}),(0,Fb.defineReadOnly)(this,"_types",{});var t={},a={},r={};Object.keys(e).forEach(function(l){t[l]={},a[l]=[],r[l]={}});var i=function(l){var y={};e[l].forEach(function(h){y[h.name]&&mi.throwArgumentError("duplicate variable name "+JSON.stringify(h.name)+" in "+JSON.stringify(l),"types",e),y[h.name]=!0;var T=h.type.match(/^([^\x5b]*)(\x5b|$)/)[1];T===l&&mi.throwArgumentError("circular type reference to "+JSON.stringify(T),"types",e);var A=eee(T);A||(a[T]||mi.throwArgumentError("unknown type "+JSON.stringify(T),"types",e),a[T].push(l),t[l][T]=!0)})};for(var s in e)i(s);var f=Object.keys(a).filter(function(l){return a[l].length===0});f.length===0?mi.throwArgumentError("missing primary type","types",e):f.length>1&&mi.throwArgumentError("ambiguous primary types or unused types: "+f.map(function(l){return JSON.stringify(l)}).join(", "),"types",e),(0,Fb.defineReadOnly)(this,"primaryType",f[0]);function o(l,y){y[l]&&mi.throwArgumentError("circular type reference to "+JSON.stringify(l),"types",e),y[l]=!0,Object.keys(t[l]).forEach(function(h){a[h]&&(o(h,y),Object.keys(y).forEach(function(T){r[T][h]=!0}))}),delete y[l]}o(this.primaryType,{});for(var c in r){var d=Object.keys(r[c]);d.sort(),this._types[c]=_ve(c,e[c])+d.map(function(l){return _ve(l,e[l])}).join("")}}return n.prototype.getEncoder=function(e){var t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t},n.prototype._getEncoder=function(e){var t=this;{var a=eee(e);if(a)return a}var r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){var i=r[1],s=this.getEncoder(i),f=parseInt(r[3]);return function(d){f>=0&&d.length!==f&&mi.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",d);var l=d.map(s);return t._types[i]&&(l=l.map(hv.keccak256)),(0,hv.keccak256)((0,Bf.hexConcat)(l))}}var o=this.types[e];if(o){var c=(0,xve.id)(this._types[e]);return function(d){var l=o.map(function(y){var h=y.name,T=y.type,A=t.getEncoder(T)(d[h]);return t._types[T]?(0,hv.keccak256)(A):A});return l.unshift(c),(0,Bf.hexConcat)(l)}}return mi.throwArgumentError("unknown type: "+e,"type",e)},n.prototype.encodeType=function(e){var t=this._types[e];return t||mi.throwArgumentError("unknown type: "+JSON.stringify(e),"name",e),t},n.prototype.encodeData=function(e,t){return this.getEncoder(e)(t)},n.prototype.hashStruct=function(e,t){return(0,hv.keccak256)(this.encodeData(e,t))},n.prototype.encode=function(e){return this.encodeData(this.primaryType,e)},n.prototype.hash=function(e){return this.hashStruct(this.primaryType,e)},n.prototype._visit=function(e,t,a){var r=this;{var i=eee(e);if(i)return a(e,t)}var s=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(s){var f=s[1],o=parseInt(s[3]);return o>=0&&t.length!==o&&mi.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map(function(d){return r._visit(f,d,a)})}var c=this.types[e];return c?c.reduce(function(d,l){var y=l.name,h=l.type;return d[y]=r._visit(h,t[y],a),d},{}):mi.throwArgumentError("unknown type: "+e,"type",e)},n.prototype.visit=function(e,t){return this._visit(this.primaryType,e,t)},n.from=function(e){return new n(e)},n.getPrimaryType=function(e){return n.from(e).primaryType},n.hashStruct=function(e,t,a){return n.from(t).hashStruct(e,a)},n.hashDomain=function(e){var t=[];for(var a in e){var r=vve[a];r||mi.throwArgumentError("invalid typed-data domain key: "+JSON.stringify(a),"domain",e),t.push({name:a,type:r})}return t.sort(function(i,s){return ZZ.indexOf(i.name)-ZZ.indexOf(s.name)}),n.hashStruct("EIP712Domain",{EIP712Domain:t},e)},n.encode=function(e,t,a){return(0,Bf.hexConcat)(["0x1901",n.hashDomain(e),n.from(t).hash(a)])},n.hash=function(e,t,a){return(0,hv.keccak256)(n.encode(e,t,a))},n.resolveNames=function(e,t,a,r){return tPt(this,void 0,void 0,function(){var i,s,f,o,c,d,l,y;return nPt(this,function(h){switch(h.label){case 0:e=(0,Fb.shallowCopy)(e),i={},e.verifyingContract&&!(0,Bf.isHexString)(e.verifyingContract,20)&&(i[e.verifyingContract]="0x"),s=n.from(t),s.visit(a,function(T,A){return T==="address"&&!(0,Bf.isHexString)(A,20)&&(i[A]="0x"),A}),f=[];for(o in i)f.push(o);c=0,h.label=1;case 1:return c{"use strict";p();u();Object.defineProperty(Js,"__esModule",{value:!0});Js._TypedDataEncoder=Js.hashMessage=Js.messagePrefix=Js.ensNormalize=Js.isValidName=Js.namehash=Js.dnsEncode=Js.id=void 0;var pPt=jZ();Object.defineProperty(Js,"id",{enumerable:!0,get:function(){return pPt.id}});var tee=JZ();Object.defineProperty(Js,"dnsEncode",{enumerable:!0,get:function(){return tee.dnsEncode}});Object.defineProperty(Js,"isValidName",{enumerable:!0,get:function(){return tee.isValidName}});Object.defineProperty(Js,"namehash",{enumerable:!0,get:function(){return tee.namehash}});var Sve=gve();Object.defineProperty(Js,"hashMessage",{enumerable:!0,get:function(){return Sve.hashMessage}});Object.defineProperty(Js,"messagePrefix",{enumerable:!0,get:function(){return Sve.messagePrefix}});var uPt=JZ();Object.defineProperty(Js,"ensNormalize",{enumerable:!0,get:function(){return uPt.ensNormalize}});var yPt=Cve();Object.defineProperty(Js,"_TypedDataEncoder",{enumerable:!0,get:function(){return yPt.TypedDataEncoder}})});var Bve=B(vo=>{"use strict";p();u();var XB=vo&&vo.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(vo,"__esModule",{value:!0});vo.Interface=vo.Indexed=vo.ErrorDescription=vo.TransactionDescription=vo.LogDescription=vo.checkResultErrors=void 0;var mPt=go(),Ave=Zn(),ei=H0(),YB=U8(),kve=T1(),Nf=xa(),bPt=WZ(),hPt=Gd();Object.defineProperty(vo,"checkResultErrors",{enumerable:!0,get:function(){return hPt.checkResultErrors}});var w2=kB(),JB=R0(),gPt=Xg(),bi=new JB.Logger(gPt.version),Rve=function(n){XB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e}(Nf.Description);vo.LogDescription=Rve;var Lve=function(n){XB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e}(Nf.Description);vo.TransactionDescription=Lve;var Mve=function(n){XB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e}(Nf.Description);vo.ErrorDescription=Mve;var nee=function(n){XB(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.isIndexed=function(t){return!!(t&&t._isIndexed)},e}(Nf.Description);vo.Indexed=nee;var vPt={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function Pve(n,e){var t=new Error("deferred error during ABI decoding triggered accessing "+n);return t.error=e,t}var TPt=function(){function n(e){var t=this.constructor,a=this,r=[];typeof e=="string"?r=JSON.parse(e):r=e,(0,Nf.defineReadOnly)(this,"fragments",r.map(function(i){return w2.Fragment.from(i)}).filter(function(i){return i!=null})),(0,Nf.defineReadOnly)(this,"_abiCoder",(0,Nf.getStatic)(t,"getAbiCoder")()),(0,Nf.defineReadOnly)(this,"functions",{}),(0,Nf.defineReadOnly)(this,"errors",{}),(0,Nf.defineReadOnly)(this,"events",{}),(0,Nf.defineReadOnly)(this,"structs",{}),this.fragments.forEach(function(i){var s=null;switch(i.type){case"constructor":if(a.deploy){bi.warn("duplicate definition - constructor");return}(0,Nf.defineReadOnly)(a,"deploy",i);return;case"function":s=a.functions;break;case"event":s=a.events;break;case"error":s=a.errors;break;default:return}var f=i.format();if(s[f]){bi.warn("duplicate definition - "+f);return}s[f]=i}),this.deploy||(0,Nf.defineReadOnly)(this,"deploy",w2.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,Nf.defineReadOnly)(this,"_isInterface",!0)}return n.prototype.format=function(e){e||(e=w2.FormatTypes.full),e===w2.FormatTypes.sighash&&bi.throwArgumentError("interface does not support formatting sighash","format",e);var t=this.fragments.map(function(a){return a.format(e)});return e===w2.FormatTypes.json?JSON.stringify(t.map(function(a){return JSON.parse(a)})):t},n.getAbiCoder=function(){return bPt.defaultAbiCoder},n.getAddress=function(e){return(0,mPt.getAddress)(e)},n.getSighash=function(e){return(0,ei.hexDataSlice)((0,YB.id)(e.format()),0,4)},n.getEventTopic=function(e){return(0,YB.id)(e.format())},n.prototype.getFunction=function(e){if((0,ei.isHexString)(e)){for(var t in this.functions)if(e===this.getSighash(t))return this.functions[t];bi.throwArgumentError("no matching function","sighash",e)}if(e.indexOf("(")===-1){var a=e.trim(),r=Object.keys(this.functions).filter(function(s){return s.split("(")[0]===a});return r.length===0?bi.throwArgumentError("no matching function","name",a):r.length>1&&bi.throwArgumentError("multiple matching functions","name",a),this.functions[r[0]]}var i=this.functions[w2.FunctionFragment.fromString(e).format()];return i||bi.throwArgumentError("no matching function","signature",e),i},n.prototype.getEvent=function(e){if((0,ei.isHexString)(e)){var t=e.toLowerCase();for(var a in this.events)if(t===this.getEventTopic(a))return this.events[a];bi.throwArgumentError("no matching event","topichash",t)}if(e.indexOf("(")===-1){var r=e.trim(),i=Object.keys(this.events).filter(function(f){return f.split("(")[0]===r});return i.length===0?bi.throwArgumentError("no matching event","name",r):i.length>1&&bi.throwArgumentError("multiple matching events","name",r),this.events[i[0]]}var s=this.events[w2.EventFragment.fromString(e).format()];return s||bi.throwArgumentError("no matching event","signature",e),s},n.prototype.getError=function(e){if((0,ei.isHexString)(e)){var t=(0,Nf.getStatic)(this.constructor,"getSighash");for(var a in this.errors){var r=this.errors[a];if(e===t(r))return this.errors[a]}bi.throwArgumentError("no matching error","sighash",e)}if(e.indexOf("(")===-1){var i=e.trim(),s=Object.keys(this.errors).filter(function(o){return o.split("(")[0]===i});return s.length===0?bi.throwArgumentError("no matching error","name",i):s.length>1&&bi.throwArgumentError("multiple matching errors","name",i),this.errors[s[0]]}var f=this.errors[w2.FunctionFragment.fromString(e).format()];return f||bi.throwArgumentError("no matching error","signature",e),f},n.prototype.getSighash=function(e){if(typeof e=="string")try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch{throw t}}return(0,Nf.getStatic)(this.constructor,"getSighash")(e)},n.prototype.getEventTopic=function(e){return typeof e=="string"&&(e=this.getEvent(e)),(0,Nf.getStatic)(this.constructor,"getEventTopic")(e)},n.prototype._decodeParams=function(e,t){return this._abiCoder.decode(e,t)},n.prototype._encodeParams=function(e,t){return this._abiCoder.encode(e,t)},n.prototype.encodeDeploy=function(e){return this._encodeParams(this.deploy.inputs,e||[])},n.prototype.decodeErrorResult=function(e,t){typeof e=="string"&&(e=this.getError(e));var a=(0,ei.arrayify)(t);return(0,ei.hexlify)(a.slice(0,4))!==this.getSighash(e)&&bi.throwArgumentError("data signature does not match error "+e.name+".","data",(0,ei.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},n.prototype.encodeErrorResult=function(e,t){return typeof e=="string"&&(e=this.getError(e)),(0,ei.hexlify)((0,ei.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},n.prototype.decodeFunctionData=function(e,t){typeof e=="string"&&(e=this.getFunction(e));var a=(0,ei.arrayify)(t);return(0,ei.hexlify)(a.slice(0,4))!==this.getSighash(e)&&bi.throwArgumentError("data signature does not match function "+e.name+".","data",(0,ei.hexlify)(a)),this._decodeParams(e.inputs,a.slice(4))},n.prototype.encodeFunctionData=function(e,t){return typeof e=="string"&&(e=this.getFunction(e)),(0,ei.hexlify)((0,ei.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))},n.prototype.decodeFunctionResult=function(e,t){typeof e=="string"&&(e=this.getFunction(e));var a=(0,ei.arrayify)(t),r=null,i="",s=null,f=null,o=null;switch(a.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,a)}catch{}break;case 4:{var c=(0,ei.hexlify)(a.slice(0,4)),d=vPt[c];if(d)s=this._abiCoder.decode(d.inputs,a.slice(4)),f=d.name,o=d.signature,d.reason&&(r=s[0]),f==="Error"?i="; VM Exception while processing transaction: reverted with reason string "+JSON.stringify(s[0]):f==="Panic"&&(i="; VM Exception while processing transaction: reverted with panic code "+s[0]);else try{var l=this.getError(c);s=this._abiCoder.decode(l.inputs,a.slice(4)),f=l.name,o=l.format()}catch{}break}}return bi.throwError("call revert exception"+i,JB.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,ei.hexlify)(t),errorArgs:s,errorName:f,errorSignature:o,reason:r})},n.prototype.encodeFunctionResult=function(e,t){return typeof e=="string"&&(e=this.getFunction(e)),(0,ei.hexlify)(this._abiCoder.encode(e.outputs,t||[]))},n.prototype.encodeFilterTopics=function(e,t){var a=this;typeof e=="string"&&(e=this.getEvent(e)),t.length>e.inputs.length&&bi.throwError("too many arguments for "+e.format(),JB.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});var r=[];e.anonymous||r.push(this.getEventTopic(e));var i=function(s,f){return s.type==="string"?(0,YB.id)(f):s.type==="bytes"?(0,kve.keccak256)((0,ei.hexlify)(f)):(s.type==="bool"&&typeof f=="boolean"&&(f=f?"0x01":"0x00"),s.type.match(/^u?int/)&&(f=Ave.BigNumber.from(f).toHexString()),s.type==="address"&&a._abiCoder.encode(["address"],[f]),(0,ei.hexZeroPad)((0,ei.hexlify)(f),32))};for(t.forEach(function(s,f){var o=e.inputs[f];if(!o.indexed){s!=null&&bi.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,s);return}s==null?r.push(null):o.baseType==="array"||o.baseType==="tuple"?bi.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,s):Array.isArray(s)?r.push(s.map(function(c){return i(o,c)})):r.push(i(o,s))});r.length&&r[r.length-1]===null;)r.pop();return r},n.prototype.encodeEventLog=function(e,t){var a=this;typeof e=="string"&&(e=this.getEvent(e));var r=[],i=[],s=[];return e.anonymous||r.push(this.getEventTopic(e)),t.length!==e.inputs.length&&bi.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach(function(f,o){var c=t[o];if(f.indexed)if(f.type==="string")r.push((0,YB.id)(c));else if(f.type==="bytes")r.push((0,kve.keccak256)(c));else{if(f.baseType==="tuple"||f.baseType==="array")throw new Error("not implemented");r.push(a._abiCoder.encode([f.type],[c]))}else i.push(f),s.push(c)}),{data:this._abiCoder.encode(i,s),topics:r}},n.prototype.decodeEventLog=function(e,t,a){if(typeof e=="string"&&(e=this.getEvent(e)),a!=null&&!e.anonymous){var r=this.getEventTopic(e);(!(0,ei.isHexString)(a[0],32)||a[0].toLowerCase()!==r)&&bi.throwError("fragment/topic mismatch",JB.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:r,value:a[0]}),a=a.slice(1)}var i=[],s=[],f=[];e.inputs.forEach(function(A,O){A.indexed?A.type==="string"||A.type==="bytes"||A.baseType==="tuple"||A.baseType==="array"?(i.push(w2.ParamType.fromObject({type:"bytes32",name:A.name})),f.push(!0)):(i.push(A),f.push(!1)):(s.push(A),f.push(!1))});var o=a!=null?this._abiCoder.decode(i,(0,ei.concat)(a)):null,c=this._abiCoder.decode(s,t,!0),d=[],l=0,y=0;e.inputs.forEach(function(A,O){if(A.indexed)if(o==null)d[O]=new nee({_isIndexed:!0,hash:null});else if(f[O])d[O]=new nee({_isIndexed:!0,hash:o[y++]});else try{d[O]=o[y++]}catch(U){d[O]=U}else try{d[O]=c[l++]}catch(U){d[O]=U}if(A.name&&d[A.name]==null){var N=d[O];N instanceof Error?Object.defineProperty(d,A.name,{enumerable:!0,get:function(){throw Pve("property "+JSON.stringify(A.name),N)}}):d[A.name]=N}});for(var h=function(A){var O=d[A];O instanceof Error&&Object.defineProperty(d,A,{enumerable:!0,get:function(){throw Pve("index "+A,O)}})},T=0;T{"use strict";p();u();Object.defineProperty(Fa,"__esModule",{value:!0});Fa.TransactionDescription=Fa.LogDescription=Fa.checkResultErrors=Fa.Indexed=Fa.Interface=Fa.defaultAbiCoder=Fa.AbiCoder=Fa.FormatTypes=Fa.ParamType=Fa.FunctionFragment=Fa.Fragment=Fa.EventFragment=Fa.ErrorFragment=Fa.ConstructorFragment=void 0;var Vb=kB();Object.defineProperty(Fa,"ConstructorFragment",{enumerable:!0,get:function(){return Vb.ConstructorFragment}});Object.defineProperty(Fa,"ErrorFragment",{enumerable:!0,get:function(){return Vb.ErrorFragment}});Object.defineProperty(Fa,"EventFragment",{enumerable:!0,get:function(){return Vb.EventFragment}});Object.defineProperty(Fa,"FormatTypes",{enumerable:!0,get:function(){return Vb.FormatTypes}});Object.defineProperty(Fa,"Fragment",{enumerable:!0,get:function(){return Vb.Fragment}});Object.defineProperty(Fa,"FunctionFragment",{enumerable:!0,get:function(){return Vb.FunctionFragment}});Object.defineProperty(Fa,"ParamType",{enumerable:!0,get:function(){return Vb.ParamType}});var Nve=WZ();Object.defineProperty(Fa,"AbiCoder",{enumerable:!0,get:function(){return Nve.AbiCoder}});Object.defineProperty(Fa,"defaultAbiCoder",{enumerable:!0,get:function(){return Nve.defaultAbiCoder}});var JE=Bve();Object.defineProperty(Fa,"checkResultErrors",{enumerable:!0,get:function(){return JE.checkResultErrors}});Object.defineProperty(Fa,"Indexed",{enumerable:!0,get:function(){return JE.Indexed}});Object.defineProperty(Fa,"Interface",{enumerable:!0,get:function(){return JE.Interface}});Object.defineProperty(Fa,"LogDescription",{enumerable:!0,get:function(){return JE.LogDescription}});Object.defineProperty(Fa,"TransactionDescription",{enumerable:!0,get:function(){return JE.TransactionDescription}})});var Fve=B(ZB=>{"use strict";p();u();Object.defineProperty(ZB,"__esModule",{value:!0});ZB.version=void 0;ZB.version="abstract-provider/5.7.0"});var q8=B(Xs=>{"use strict";p();u();var tN=Xs&&Xs.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),_Pt=Xs&&Xs.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},wPt=Xs&&Xs.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();Object.defineProperty(aN,"__esModule",{value:!0});aN.version=void 0;aN.version="abstract-signer/5.7.0"});var I2=B(Jd=>{"use strict";p();u();var kPt=Jd&&Jd.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),El=Jd&&Jd.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},Dl=Jd&&Jd.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=0)throw o;return Yd.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",x2.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:o,tx:t})})),t.chainId==null?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then(function(o){return o[1]!==0&&o[0]!==o[1]&&Yd.throwArgumentError("chainId address mismatch","transaction",e),o[0]}),[4,(0,H8.resolveProperties)(t)];case 6:return[2,f.sent()]}})})},n.prototype._checkProvider=function(e){this.provider||Yd.throwError("missing provider",x2.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})},n.isSigner=function(e){return!!(e&&e._isSigner)},n}();Jd.Signer=Vve;var MPt=function(n){kPt(e,n);function e(t,a){var r=n.call(this)||this;return(0,H8.defineReadOnly)(r,"address",t),(0,H8.defineReadOnly)(r,"provider",a||null),r}return e.prototype.getAddress=function(){return Promise.resolve(this.address)},e.prototype._fail=function(t,a){return Promise.resolve().then(function(){Yd.throwError(t,x2.Logger.errors.UNSUPPORTED_OPERATION,{operation:a})})},e.prototype.signMessage=function(t){return this._fail("VoidSigner cannot sign messages","signMessage")},e.prototype.signTransaction=function(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")},e.prototype._signTypedData=function(t,a,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")},e.prototype.connect=function(t){return new e(this.address,t)},e}(Vve);Jd.VoidSigner=MPt});var $ve=B((ZRn,BPt)=>{BPt.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var hr=B((Uve,ree)=>{p();u();(function(n,e){"use strict";function t(P,_){if(!P)throw new Error(_||"Assertion failed")}function a(P,_){P.super_=_;var F=function(){};F.prototype=_.prototype,P.prototype=new F,P.prototype.constructor=P}function r(P,_,F){if(r.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&&((_==="le"||_==="be")&&(F=_,_=10),this._init(P||0,_||10,F||"be"))}typeof n=="object"?n.exports=r:e.BN=r,r.BN=r,r.wordSize=26;var i;try{typeof window<"u"&&typeof window.Buffer<"u"?i=window.Buffer:i=ki().Buffer}catch{}r.isBN=function(_){return _ instanceof r?!0:_!==null&&typeof _=="object"&&_.constructor.wordSize===r.wordSize&&Array.isArray(_.words)},r.max=function(_,F){return _.cmp(F)>0?_:F},r.min=function(_,F){return _.cmp(F)<0?_:F},r.prototype._init=function(_,F,v){if(typeof _=="number")return this._initNumber(_,F,v);if(typeof _=="object")return this._initArray(_,F,v);F==="hex"&&(F=16),t(F===(F|0)&&F>=2&&F<=36),_=_.toString().replace(/\s+/g,"");var b=0;_[0]==="-"&&(b++,this.negative=1),b<_.length&&(F===16?this._parseHex(_,b,v):(this._parseBase(_,F,b),v==="le"&&this._initArray(this.toArray(),F,v)))},r.prototype._initNumber=function(_,F,v){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[_&67108863],this.length=1):_<4503599627370496?(this.words=[_&67108863,_/67108864&67108863],this.length=2):(t(_<9007199254740992),this.words=[_&67108863,_/67108864&67108863,1],this.length=3),v==="le"&&this._initArray(this.toArray(),F,v)},r.prototype._initArray=function(_,F,v){if(t(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var b=0;b=0;b-=3)L=_[b]|_[b-1]<<8|_[b-2]<<16,this.words[x]|=L<>>26-M&67108863,M+=24,M>=26&&(M-=26,x++);else if(v==="le")for(b=0,x=0;b<_.length;b+=3)L=_[b]|_[b+1]<<8|_[b+2]<<16,this.words[x]|=L<>>26-M&67108863,M+=24,M>=26&&(M-=26,x++);return this.strip()};function s(P,_){var F=P.charCodeAt(_);return F>=65&&F<=70?F-55:F>=97&&F<=102?F-87:F-48&15}function f(P,_,F){var v=s(P,F);return F-1>=_&&(v|=s(P,F-1)<<4),v}r.prototype._parseHex=function(_,F,v){this.length=Math.ceil((_.length-F)/6),this.words=new Array(this.length);for(var b=0;b=F;b-=2)M=f(_,F,b)<=18?(x-=18,L+=1,this.words[L]|=M>>>26):x+=8;else{var w=_.length-F;for(b=w%2===0?F+1:F;b<_.length;b+=2)M=f(_,F,b)<=18?(x-=18,L+=1,this.words[L]|=M>>>26):x+=8}this.strip()};function o(P,_,F,v){for(var b=0,x=Math.min(P.length,F),L=_;L=49?b+=M-49+10:M>=17?b+=M-17+10:b+=M}return b}r.prototype._parseBase=function(_,F,v){this.words=[0],this.length=1;for(var b=0,x=1;x<=67108863;x*=F)b++;b--,x=x/F|0;for(var L=_.length-v,M=L%b,w=Math.min(L,L-M)+v,g=0,R=v;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],l=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(_,F){_=_||10,F=F|0||1;var v;if(_===16||_==="hex"){v="";for(var b=0,x=0,L=0;L>>24-b&16777215,x!==0||L!==this.length-1?v=c[6-w.length]+w+v:v=w+v,b+=2,b>=26&&(b-=26,L--)}for(x!==0&&(v=x.toString(16)+v);v.length%F!==0;)v="0"+v;return this.negative!==0&&(v="-"+v),v}if(_===(_|0)&&_>=2&&_<=36){var g=d[_],R=l[_];v="";var k=this.clone();for(k.negative=0;!k.isZero();){var C=k.modn(R).toString(_);k=k.idivn(R),k.isZero()?v=C+v:v=c[g-C.length]+C+v}for(this.isZero()&&(v="0"+v);v.length%F!==0;)v="0"+v;return this.negative!==0&&(v="-"+v),v}t(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=this.words[1]*67108864:this.length===3&&this.words[2]===1?_+=4503599627370496+this.words[1]*67108864:this.length>2&&t(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(_,F){return t(typeof i<"u"),this.toArrayLike(i,_,F)},r.prototype.toArray=function(_,F){return this.toArrayLike(Array,_,F)},r.prototype.toArrayLike=function(_,F,v){var b=this.byteLength(),x=v||Math.max(1,b);t(b<=x,"byte array longer than desired length"),t(x>0,"Requested array length <= 0"),this.strip();var L=F==="le",M=new _(x),w,g,R=this.clone();if(L){for(g=0;!R.isZero();g++)w=R.andln(255),R.iushrn(8),M[g]=w;for(;g=4096&&(v+=13,F>>>=13),F>=64&&(v+=7,F>>>=7),F>=8&&(v+=4,F>>>=4),F>=2&&(v+=2,F>>>=2),v+F},r.prototype._zeroBits=function(_){if(_===0)return 26;var F=_,v=0;return F&8191||(v+=13,F>>>=13),F&127||(v+=7,F>>>=7),F&15||(v+=4,F>>>=4),F&3||(v+=2,F>>>=2),F&1||v++,v},r.prototype.bitLength=function(){var _=this.words[this.length-1],F=this._countBits(_);return(this.length-1)*26+F};function y(P){for(var _=new Array(P.bitLength()),F=0;F<_.length;F++){var v=F/26|0,b=F%26;_[F]=(P.words[v]&1<>>b}return _}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,F=0;F_.length?this.clone().ior(_):_.clone().ior(this)},r.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},r.prototype.iuand=function(_){var F;this.length>_.length?F=_:F=this;for(var v=0;v_.length?this.clone().iand(_):_.clone().iand(this)},r.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},r.prototype.iuxor=function(_){var F,v;this.length>_.length?(F=this,v=_):(F=_,v=this);for(var b=0;b_.length?this.clone().ixor(_):_.clone().ixor(this)},r.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},r.prototype.inotn=function(_){t(typeof _=="number"&&_>=0);var F=Math.ceil(_/26)|0,v=_%26;this._expand(F),v>0&&F--;for(var b=0;b0&&(this.words[b]=~this.words[b]&67108863>>26-v),this.strip()},r.prototype.notn=function(_){return this.clone().inotn(_)},r.prototype.setn=function(_,F){t(typeof _=="number"&&_>=0);var v=_/26|0,b=_%26;return this._expand(v+1),F?this.words[v]=this.words[v]|1<_.length?(v=this,b=_):(v=_,b=this);for(var x=0,L=0;L>>26;for(;x!==0&&L>>26;if(this.length=v.length,x!==0)this.words[this.length]=x,this.length++;else if(v!==this)for(;L_.length?this.clone().iadd(_):_.clone().iadd(this)},r.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var F=this.iadd(_);return _.negative=1,F._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var v=this.cmp(_);if(v===0)return this.negative=0,this.length=1,this.words[0]=0,this;var b,x;v>0?(b=this,x=_):(b=_,x=this);for(var L=0,M=0;M>26,this.words[M]=F&67108863;for(;L!==0&&M>26,this.words[M]=F&67108863;if(L===0&&M>>26,k=w&67108863,C=Math.min(g,_.length-1),H=Math.max(0,g-P.length+1);H<=C;H++){var te=g-H|0;b=P.words[te]|0,x=_.words[H]|0,L=b*x+k,R+=L/67108864|0,k=L&67108863}F.words[g]=k|0,w=R|0}return w!==0?F.words[g]=w|0:F.length--,F.strip()}var T=function(_,F,v){var b=_.words,x=F.words,L=v.words,M=0,w,g,R,k=b[0]|0,C=k&8191,H=k>>>13,te=b[1]|0,V=te&8191,Y=te>>>13,ee=b[2]|0,ae=ee&8191,pe=ee>>>13,Q=b[3]|0,ie=Q&8191,se=Q>>>13,be=b[4]|0,de=be&8191,we=be>>>13,Oe=b[5]|0,Se=Oe&8191,it=Oe>>>13,qe=b[6]|0,Me=qe&8191,mt=qe>>>13,kt=b[7]|0,je=kt&8191,Et=kt>>>13,Ct=b[8]|0,rt=Ct&8191,Pt=Ct>>>13,Dt=b[9]|0,We=Dt&8191,Lt=Dt>>>13,$t=x[0]|0,Qe=$t&8191,Ft=$t>>>13,Ut=x[1]|0,et=Ut&8191,ue=Ut>>>13,me=x[2]|0,_e=me&8191,Be=me>>>13,Fe=x[3]|0,Le=Fe&8191,ct=Fe>>>13,ot=x[4]|0,$e=ot&8191,wt=ot>>>13,It=x[5]|0,Ge=It&8191,qt=It>>>13,Nt=x[6]|0,Ve=Nt&8191,xt=Nt>>>13,Ht=x[7]|0,tt=Ht&8191,Qt=Ht>>>13,Gt=x[8]|0,st=Gt&8191,zt=Gt>>>13,Zt=x[9]|0,ft=Zt&8191,Xt=Zt>>>13;v.negative=_.negative^F.negative,v.length=19,w=Math.imul(C,Qe),g=Math.imul(C,Ft),g=g+Math.imul(H,Qe)|0,R=Math.imul(H,Ft);var _0=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(_0>>>26)|0,_0&=67108863,w=Math.imul(V,Qe),g=Math.imul(V,Ft),g=g+Math.imul(Y,Qe)|0,R=Math.imul(Y,Ft),w=w+Math.imul(C,et)|0,g=g+Math.imul(C,ue)|0,g=g+Math.imul(H,et)|0,R=R+Math.imul(H,ue)|0;var Kt=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,w=Math.imul(ae,Qe),g=Math.imul(ae,Ft),g=g+Math.imul(pe,Qe)|0,R=Math.imul(pe,Ft),w=w+Math.imul(V,et)|0,g=g+Math.imul(V,ue)|0,g=g+Math.imul(Y,et)|0,R=R+Math.imul(Y,ue)|0,w=w+Math.imul(C,_e)|0,g=g+Math.imul(C,Be)|0,g=g+Math.imul(H,_e)|0,R=R+Math.imul(H,Be)|0;var v0=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(v0>>>26)|0,v0&=67108863,w=Math.imul(ie,Qe),g=Math.imul(ie,Ft),g=g+Math.imul(se,Qe)|0,R=Math.imul(se,Ft),w=w+Math.imul(ae,et)|0,g=g+Math.imul(ae,ue)|0,g=g+Math.imul(pe,et)|0,R=R+Math.imul(pe,ue)|0,w=w+Math.imul(V,_e)|0,g=g+Math.imul(V,Be)|0,g=g+Math.imul(Y,_e)|0,R=R+Math.imul(Y,Be)|0,w=w+Math.imul(C,Le)|0,g=g+Math.imul(C,ct)|0,g=g+Math.imul(H,Le)|0,R=R+Math.imul(H,ct)|0;var Cn=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,w=Math.imul(de,Qe),g=Math.imul(de,Ft),g=g+Math.imul(we,Qe)|0,R=Math.imul(we,Ft),w=w+Math.imul(ie,et)|0,g=g+Math.imul(ie,ue)|0,g=g+Math.imul(se,et)|0,R=R+Math.imul(se,ue)|0,w=w+Math.imul(ae,_e)|0,g=g+Math.imul(ae,Be)|0,g=g+Math.imul(pe,_e)|0,R=R+Math.imul(pe,Be)|0,w=w+Math.imul(V,Le)|0,g=g+Math.imul(V,ct)|0,g=g+Math.imul(Y,Le)|0,R=R+Math.imul(Y,ct)|0,w=w+Math.imul(C,$e)|0,g=g+Math.imul(C,wt)|0,g=g+Math.imul(H,$e)|0,R=R+Math.imul(H,wt)|0;var Sn=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,w=Math.imul(Se,Qe),g=Math.imul(Se,Ft),g=g+Math.imul(it,Qe)|0,R=Math.imul(it,Ft),w=w+Math.imul(de,et)|0,g=g+Math.imul(de,ue)|0,g=g+Math.imul(we,et)|0,R=R+Math.imul(we,ue)|0,w=w+Math.imul(ie,_e)|0,g=g+Math.imul(ie,Be)|0,g=g+Math.imul(se,_e)|0,R=R+Math.imul(se,Be)|0,w=w+Math.imul(ae,Le)|0,g=g+Math.imul(ae,ct)|0,g=g+Math.imul(pe,Le)|0,R=R+Math.imul(pe,ct)|0,w=w+Math.imul(V,$e)|0,g=g+Math.imul(V,wt)|0,g=g+Math.imul(Y,$e)|0,R=R+Math.imul(Y,wt)|0,w=w+Math.imul(C,Ge)|0,g=g+Math.imul(C,qt)|0,g=g+Math.imul(H,Ge)|0,R=R+Math.imul(H,qt)|0;var An=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(An>>>26)|0,An&=67108863,w=Math.imul(Me,Qe),g=Math.imul(Me,Ft),g=g+Math.imul(mt,Qe)|0,R=Math.imul(mt,Ft),w=w+Math.imul(Se,et)|0,g=g+Math.imul(Se,ue)|0,g=g+Math.imul(it,et)|0,R=R+Math.imul(it,ue)|0,w=w+Math.imul(de,_e)|0,g=g+Math.imul(de,Be)|0,g=g+Math.imul(we,_e)|0,R=R+Math.imul(we,Be)|0,w=w+Math.imul(ie,Le)|0,g=g+Math.imul(ie,ct)|0,g=g+Math.imul(se,Le)|0,R=R+Math.imul(se,ct)|0,w=w+Math.imul(ae,$e)|0,g=g+Math.imul(ae,wt)|0,g=g+Math.imul(pe,$e)|0,R=R+Math.imul(pe,wt)|0,w=w+Math.imul(V,Ge)|0,g=g+Math.imul(V,qt)|0,g=g+Math.imul(Y,Ge)|0,R=R+Math.imul(Y,qt)|0,w=w+Math.imul(C,Ve)|0,g=g+Math.imul(C,xt)|0,g=g+Math.imul(H,Ve)|0,R=R+Math.imul(H,xt)|0;var kn=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(kn>>>26)|0,kn&=67108863,w=Math.imul(je,Qe),g=Math.imul(je,Ft),g=g+Math.imul(Et,Qe)|0,R=Math.imul(Et,Ft),w=w+Math.imul(Me,et)|0,g=g+Math.imul(Me,ue)|0,g=g+Math.imul(mt,et)|0,R=R+Math.imul(mt,ue)|0,w=w+Math.imul(Se,_e)|0,g=g+Math.imul(Se,Be)|0,g=g+Math.imul(it,_e)|0,R=R+Math.imul(it,Be)|0,w=w+Math.imul(de,Le)|0,g=g+Math.imul(de,ct)|0,g=g+Math.imul(we,Le)|0,R=R+Math.imul(we,ct)|0,w=w+Math.imul(ie,$e)|0,g=g+Math.imul(ie,wt)|0,g=g+Math.imul(se,$e)|0,R=R+Math.imul(se,wt)|0,w=w+Math.imul(ae,Ge)|0,g=g+Math.imul(ae,qt)|0,g=g+Math.imul(pe,Ge)|0,R=R+Math.imul(pe,qt)|0,w=w+Math.imul(V,Ve)|0,g=g+Math.imul(V,xt)|0,g=g+Math.imul(Y,Ve)|0,R=R+Math.imul(Y,xt)|0,w=w+Math.imul(C,tt)|0,g=g+Math.imul(C,Qt)|0,g=g+Math.imul(H,tt)|0,R=R+Math.imul(H,Qt)|0;var Pn=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,w=Math.imul(rt,Qe),g=Math.imul(rt,Ft),g=g+Math.imul(Pt,Qe)|0,R=Math.imul(Pt,Ft),w=w+Math.imul(je,et)|0,g=g+Math.imul(je,ue)|0,g=g+Math.imul(Et,et)|0,R=R+Math.imul(Et,ue)|0,w=w+Math.imul(Me,_e)|0,g=g+Math.imul(Me,Be)|0,g=g+Math.imul(mt,_e)|0,R=R+Math.imul(mt,Be)|0,w=w+Math.imul(Se,Le)|0,g=g+Math.imul(Se,ct)|0,g=g+Math.imul(it,Le)|0,R=R+Math.imul(it,ct)|0,w=w+Math.imul(de,$e)|0,g=g+Math.imul(de,wt)|0,g=g+Math.imul(we,$e)|0,R=R+Math.imul(we,wt)|0,w=w+Math.imul(ie,Ge)|0,g=g+Math.imul(ie,qt)|0,g=g+Math.imul(se,Ge)|0,R=R+Math.imul(se,qt)|0,w=w+Math.imul(ae,Ve)|0,g=g+Math.imul(ae,xt)|0,g=g+Math.imul(pe,Ve)|0,R=R+Math.imul(pe,xt)|0,w=w+Math.imul(V,tt)|0,g=g+Math.imul(V,Qt)|0,g=g+Math.imul(Y,tt)|0,R=R+Math.imul(Y,Qt)|0,w=w+Math.imul(C,st)|0,g=g+Math.imul(C,zt)|0,g=g+Math.imul(H,st)|0,R=R+Math.imul(H,zt)|0;var ka=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(ka>>>26)|0,ka&=67108863,w=Math.imul(We,Qe),g=Math.imul(We,Ft),g=g+Math.imul(Lt,Qe)|0,R=Math.imul(Lt,Ft),w=w+Math.imul(rt,et)|0,g=g+Math.imul(rt,ue)|0,g=g+Math.imul(Pt,et)|0,R=R+Math.imul(Pt,ue)|0,w=w+Math.imul(je,_e)|0,g=g+Math.imul(je,Be)|0,g=g+Math.imul(Et,_e)|0,R=R+Math.imul(Et,Be)|0,w=w+Math.imul(Me,Le)|0,g=g+Math.imul(Me,ct)|0,g=g+Math.imul(mt,Le)|0,R=R+Math.imul(mt,ct)|0,w=w+Math.imul(Se,$e)|0,g=g+Math.imul(Se,wt)|0,g=g+Math.imul(it,$e)|0,R=R+Math.imul(it,wt)|0,w=w+Math.imul(de,Ge)|0,g=g+Math.imul(de,qt)|0,g=g+Math.imul(we,Ge)|0,R=R+Math.imul(we,qt)|0,w=w+Math.imul(ie,Ve)|0,g=g+Math.imul(ie,xt)|0,g=g+Math.imul(se,Ve)|0,R=R+Math.imul(se,xt)|0,w=w+Math.imul(ae,tt)|0,g=g+Math.imul(ae,Qt)|0,g=g+Math.imul(pe,tt)|0,R=R+Math.imul(pe,Qt)|0,w=w+Math.imul(V,st)|0,g=g+Math.imul(V,zt)|0,g=g+Math.imul(Y,st)|0,R=R+Math.imul(Y,zt)|0,w=w+Math.imul(C,ft)|0,g=g+Math.imul(C,Xt)|0,g=g+Math.imul(H,ft)|0,R=R+Math.imul(H,Xt)|0;var nr=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(nr>>>26)|0,nr&=67108863,w=Math.imul(We,et),g=Math.imul(We,ue),g=g+Math.imul(Lt,et)|0,R=Math.imul(Lt,ue),w=w+Math.imul(rt,_e)|0,g=g+Math.imul(rt,Be)|0,g=g+Math.imul(Pt,_e)|0,R=R+Math.imul(Pt,Be)|0,w=w+Math.imul(je,Le)|0,g=g+Math.imul(je,ct)|0,g=g+Math.imul(Et,Le)|0,R=R+Math.imul(Et,ct)|0,w=w+Math.imul(Me,$e)|0,g=g+Math.imul(Me,wt)|0,g=g+Math.imul(mt,$e)|0,R=R+Math.imul(mt,wt)|0,w=w+Math.imul(Se,Ge)|0,g=g+Math.imul(Se,qt)|0,g=g+Math.imul(it,Ge)|0,R=R+Math.imul(it,qt)|0,w=w+Math.imul(de,Ve)|0,g=g+Math.imul(de,xt)|0,g=g+Math.imul(we,Ve)|0,R=R+Math.imul(we,xt)|0,w=w+Math.imul(ie,tt)|0,g=g+Math.imul(ie,Qt)|0,g=g+Math.imul(se,tt)|0,R=R+Math.imul(se,Qt)|0,w=w+Math.imul(ae,st)|0,g=g+Math.imul(ae,zt)|0,g=g+Math.imul(pe,st)|0,R=R+Math.imul(pe,zt)|0,w=w+Math.imul(V,ft)|0,g=g+Math.imul(V,Xt)|0,g=g+Math.imul(Y,ft)|0,R=R+Math.imul(Y,Xt)|0;var Pa=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Pa>>>26)|0,Pa&=67108863,w=Math.imul(We,_e),g=Math.imul(We,Be),g=g+Math.imul(Lt,_e)|0,R=Math.imul(Lt,Be),w=w+Math.imul(rt,Le)|0,g=g+Math.imul(rt,ct)|0,g=g+Math.imul(Pt,Le)|0,R=R+Math.imul(Pt,ct)|0,w=w+Math.imul(je,$e)|0,g=g+Math.imul(je,wt)|0,g=g+Math.imul(Et,$e)|0,R=R+Math.imul(Et,wt)|0,w=w+Math.imul(Me,Ge)|0,g=g+Math.imul(Me,qt)|0,g=g+Math.imul(mt,Ge)|0,R=R+Math.imul(mt,qt)|0,w=w+Math.imul(Se,Ve)|0,g=g+Math.imul(Se,xt)|0,g=g+Math.imul(it,Ve)|0,R=R+Math.imul(it,xt)|0,w=w+Math.imul(de,tt)|0,g=g+Math.imul(de,Qt)|0,g=g+Math.imul(we,tt)|0,R=R+Math.imul(we,Qt)|0,w=w+Math.imul(ie,st)|0,g=g+Math.imul(ie,zt)|0,g=g+Math.imul(se,st)|0,R=R+Math.imul(se,zt)|0,w=w+Math.imul(ae,ft)|0,g=g+Math.imul(ae,Xt)|0,g=g+Math.imul(pe,ft)|0,R=R+Math.imul(pe,Xt)|0;var ar=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(We,Le),g=Math.imul(We,ct),g=g+Math.imul(Lt,Le)|0,R=Math.imul(Lt,ct),w=w+Math.imul(rt,$e)|0,g=g+Math.imul(rt,wt)|0,g=g+Math.imul(Pt,$e)|0,R=R+Math.imul(Pt,wt)|0,w=w+Math.imul(je,Ge)|0,g=g+Math.imul(je,qt)|0,g=g+Math.imul(Et,Ge)|0,R=R+Math.imul(Et,qt)|0,w=w+Math.imul(Me,Ve)|0,g=g+Math.imul(Me,xt)|0,g=g+Math.imul(mt,Ve)|0,R=R+Math.imul(mt,xt)|0,w=w+Math.imul(Se,tt)|0,g=g+Math.imul(Se,Qt)|0,g=g+Math.imul(it,tt)|0,R=R+Math.imul(it,Qt)|0,w=w+Math.imul(de,st)|0,g=g+Math.imul(de,zt)|0,g=g+Math.imul(we,st)|0,R=R+Math.imul(we,zt)|0,w=w+Math.imul(ie,ft)|0,g=g+Math.imul(ie,Xt)|0,g=g+Math.imul(se,ft)|0,R=R+Math.imul(se,Xt)|0;var za=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(za>>>26)|0,za&=67108863,w=Math.imul(We,$e),g=Math.imul(We,wt),g=g+Math.imul(Lt,$e)|0,R=Math.imul(Lt,wt),w=w+Math.imul(rt,Ge)|0,g=g+Math.imul(rt,qt)|0,g=g+Math.imul(Pt,Ge)|0,R=R+Math.imul(Pt,qt)|0,w=w+Math.imul(je,Ve)|0,g=g+Math.imul(je,xt)|0,g=g+Math.imul(Et,Ve)|0,R=R+Math.imul(Et,xt)|0,w=w+Math.imul(Me,tt)|0,g=g+Math.imul(Me,Qt)|0,g=g+Math.imul(mt,tt)|0,R=R+Math.imul(mt,Qt)|0,w=w+Math.imul(Se,st)|0,g=g+Math.imul(Se,zt)|0,g=g+Math.imul(it,st)|0,R=R+Math.imul(it,zt)|0,w=w+Math.imul(de,ft)|0,g=g+Math.imul(de,Xt)|0,g=g+Math.imul(we,ft)|0,R=R+Math.imul(we,Xt)|0;var mr=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(mr>>>26)|0,mr&=67108863,w=Math.imul(We,Ge),g=Math.imul(We,qt),g=g+Math.imul(Lt,Ge)|0,R=Math.imul(Lt,qt),w=w+Math.imul(rt,Ve)|0,g=g+Math.imul(rt,xt)|0,g=g+Math.imul(Pt,Ve)|0,R=R+Math.imul(Pt,xt)|0,w=w+Math.imul(je,tt)|0,g=g+Math.imul(je,Qt)|0,g=g+Math.imul(Et,tt)|0,R=R+Math.imul(Et,Qt)|0,w=w+Math.imul(Me,st)|0,g=g+Math.imul(Me,zt)|0,g=g+Math.imul(mt,st)|0,R=R+Math.imul(mt,zt)|0,w=w+Math.imul(Se,ft)|0,g=g+Math.imul(Se,Xt)|0,g=g+Math.imul(it,ft)|0,R=R+Math.imul(it,Xt)|0;var $r=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+($r>>>26)|0,$r&=67108863,w=Math.imul(We,Ve),g=Math.imul(We,xt),g=g+Math.imul(Lt,Ve)|0,R=Math.imul(Lt,xt),w=w+Math.imul(rt,tt)|0,g=g+Math.imul(rt,Qt)|0,g=g+Math.imul(Pt,tt)|0,R=R+Math.imul(Pt,Qt)|0,w=w+Math.imul(je,st)|0,g=g+Math.imul(je,zt)|0,g=g+Math.imul(Et,st)|0,R=R+Math.imul(Et,zt)|0,w=w+Math.imul(Me,ft)|0,g=g+Math.imul(Me,Xt)|0,g=g+Math.imul(mt,ft)|0,R=R+Math.imul(mt,Xt)|0;var Wa=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Wa>>>26)|0,Wa&=67108863,w=Math.imul(We,tt),g=Math.imul(We,Qt),g=g+Math.imul(Lt,tt)|0,R=Math.imul(Lt,Qt),w=w+Math.imul(rt,st)|0,g=g+Math.imul(rt,zt)|0,g=g+Math.imul(Pt,st)|0,R=R+Math.imul(Pt,zt)|0,w=w+Math.imul(je,ft)|0,g=g+Math.imul(je,Xt)|0,g=g+Math.imul(Et,ft)|0,R=R+Math.imul(Et,Xt)|0;var Jr=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,w=Math.imul(We,st),g=Math.imul(We,zt),g=g+Math.imul(Lt,st)|0,R=Math.imul(Lt,zt),w=w+Math.imul(rt,ft)|0,g=g+Math.imul(rt,Xt)|0,g=g+Math.imul(Pt,ft)|0,R=R+Math.imul(Pt,Xt)|0;var Si=(M+w|0)+((g&8191)<<13)|0;M=(R+(g>>>13)|0)+(Si>>>26)|0,Si&=67108863,w=Math.imul(We,ft),g=Math.imul(We,Xt),g=g+Math.imul(Lt,ft)|0,R=Math.imul(Lt,Xt);var Pf=(M+w|0)+((g&8191)<<13)|0;return M=(R+(g>>>13)|0)+(Pf>>>26)|0,Pf&=67108863,L[0]=_0,L[1]=Kt,L[2]=v0,L[3]=Cn,L[4]=Sn,L[5]=An,L[6]=kn,L[7]=Pn,L[8]=ka,L[9]=nr,L[10]=Pa,L[11]=ar,L[12]=za,L[13]=mr,L[14]=$r,L[15]=Wa,L[16]=Jr,L[17]=Si,L[18]=Pf,M!==0&&(L[19]=M,v.length++),v};Math.imul||(T=h);function A(P,_,F){F.negative=_.negative^P.negative,F.length=P.length+_.length;for(var v=0,b=0,x=0;x>>26)|0,b+=L>>>26,L&=67108863}F.words[x]=M,v=L,L=b}return v!==0?F.words[x]=v:F.length--,F.strip()}function O(P,_,F){var v=new N;return v.mulp(P,_,F)}r.prototype.mulTo=function(_,F){var v,b=this.length+_.length;return this.length===10&&_.length===10?v=T(this,_,F):b<63?v=h(this,_,F):b<1024?v=A(this,_,F):v=O(this,_,F),v};function N(P,_){this.x=P,this.y=_}N.prototype.makeRBT=function(_){for(var F=new Array(_),v=r.prototype._countBits(_)-1,b=0;b<_;b++)F[b]=this.revBin(b,v,_);return F},N.prototype.revBin=function(_,F,v){if(_===0||_===v-1)return _;for(var b=0,x=0;x>=1;return b},N.prototype.permute=function(_,F,v,b,x,L){for(var M=0;M>>1)x++;return 1<>>13,v[2*L+1]=x&8191,x=x>>>13;for(L=2*F;L>=26,F+=b/67108864|0,F+=x>>>26,this.words[v]=x&67108863}return F!==0&&(this.words[v]=F,this.length++),this},r.prototype.muln=function(_){return this.clone().imuln(_)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(_){var F=y(_);if(F.length===0)return new r(1);for(var v=this,b=0;b=0);var F=_%26,v=(_-F)/26,b=67108863>>>26-F<<26-F,x;if(F!==0){var L=0;for(x=0;x>>26-F}L&&(this.words[x]=L,this.length++)}if(v!==0){for(x=this.length-1;x>=0;x--)this.words[x+v]=this.words[x];for(x=0;x=0);var b;F?b=(F-F%26)/26:b=0;var x=_%26,L=Math.min((_-x)/26,this.length),M=67108863^67108863>>>x<L)for(this.length-=L,g=0;g=0&&(R!==0||g>=b);g--){var k=this.words[g]|0;this.words[g]=R<<26-x|k>>>x,R=k&M}return w&&R!==0&&(w.words[w.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(_,F,v){return t(this.negative===0),this.iushrn(_,F,v)},r.prototype.shln=function(_){return this.clone().ishln(_)},r.prototype.ushln=function(_){return this.clone().iushln(_)},r.prototype.shrn=function(_){return this.clone().ishrn(_)},r.prototype.ushrn=function(_){return this.clone().iushrn(_)},r.prototype.testn=function(_){t(typeof _=="number"&&_>=0);var F=_%26,v=(_-F)/26,b=1<=0);var F=_%26,v=(_-F)/26;if(t(this.negative===0,"imaskn works only with positive numbers"),this.length<=v)return this;if(F!==0&&v++,this.length=Math.min(v,this.length),F!==0){var b=67108863^67108863>>>F<=67108864;F++)this.words[F]-=67108864,F===this.length-1?this.words[F+1]=1:this.words[F+1]++;return this.length=Math.max(this.length,F+1),this},r.prototype.isubn=function(_){if(t(typeof _=="number"),t(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var F=0;F>26)-(w/67108864|0),this.words[x+v]=L&67108863}for(;x>26,this.words[x+v]=L&67108863;if(M===0)return this.strip();for(t(M===-1),M=0,x=0;x>26,this.words[x]=L&67108863;return this.negative=1,this.strip()},r.prototype._wordDiv=function(_,F){var v=this.length-_.length,b=this.clone(),x=_,L=x.words[x.length-1]|0,M=this._countBits(L);v=26-M,v!==0&&(x=x.ushln(v),b.iushln(v),L=x.words[x.length-1]|0);var w=b.length-x.length,g;if(F!=="mod"){g=new r(null),g.length=w+1,g.words=new Array(g.length);for(var R=0;R=0;C--){var H=(b.words[x.length+C]|0)*67108864+(b.words[x.length+C-1]|0);for(H=Math.min(H/L|0,67108863),b._ishlnsubmul(x,H,C);b.negative!==0;)H--,b.negative=0,b._ishlnsubmul(x,1,C),b.isZero()||(b.negative^=1);g&&(g.words[C]=H)}return g&&g.strip(),b.strip(),F!=="div"&&v!==0&&b.iushrn(v),{div:g||null,mod:b}},r.prototype.divmod=function(_,F,v){if(t(!_.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var b,x,L;return this.negative!==0&&_.negative===0?(L=this.neg().divmod(_,F),F!=="mod"&&(b=L.div.neg()),F!=="div"&&(x=L.mod.neg(),v&&x.negative!==0&&x.iadd(_)),{div:b,mod:x}):this.negative===0&&_.negative!==0?(L=this.divmod(_.neg(),F),F!=="mod"&&(b=L.div.neg()),{div:b,mod:L.mod}):this.negative&_.negative?(L=this.neg().divmod(_.neg(),F),F!=="div"&&(x=L.mod.neg(),v&&x.negative!==0&&x.isub(_)),{div:L.div,mod:x}):_.length>this.length||this.cmp(_)<0?{div:new r(0),mod:this}:_.length===1?F==="div"?{div:this.divn(_.words[0]),mod:null}:F==="mod"?{div:null,mod:new r(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new r(this.modn(_.words[0]))}:this._wordDiv(_,F)},r.prototype.div=function(_){return this.divmod(_,"div",!1).div},r.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},r.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},r.prototype.divRound=function(_){var F=this.divmod(_);if(F.mod.isZero())return F.div;var v=F.div.negative!==0?F.mod.isub(_):F.mod,b=_.ushrn(1),x=_.andln(1),L=v.cmp(b);return L<0||x===1&&L===0?F.div:F.div.negative!==0?F.div.isubn(1):F.div.iaddn(1)},r.prototype.modn=function(_){t(_<=67108863);for(var F=(1<<26)%_,v=0,b=this.length-1;b>=0;b--)v=(F*v+(this.words[b]|0))%_;return v},r.prototype.idivn=function(_){t(_<=67108863);for(var F=0,v=this.length-1;v>=0;v--){var b=(this.words[v]|0)+F*67108864;this.words[v]=b/_|0,F=b%_}return this.strip()},r.prototype.divn=function(_){return this.clone().idivn(_)},r.prototype.egcd=function(_){t(_.negative===0),t(!_.isZero());var F=this,v=_.clone();F.negative!==0?F=F.umod(_):F=F.clone();for(var b=new r(1),x=new r(0),L=new r(0),M=new r(1),w=0;F.isEven()&&v.isEven();)F.iushrn(1),v.iushrn(1),++w;for(var g=v.clone(),R=F.clone();!F.isZero();){for(var k=0,C=1;!(F.words[0]&C)&&k<26;++k,C<<=1);if(k>0)for(F.iushrn(k);k-- >0;)(b.isOdd()||x.isOdd())&&(b.iadd(g),x.isub(R)),b.iushrn(1),x.iushrn(1);for(var H=0,te=1;!(v.words[0]&te)&&H<26;++H,te<<=1);if(H>0)for(v.iushrn(H);H-- >0;)(L.isOdd()||M.isOdd())&&(L.iadd(g),M.isub(R)),L.iushrn(1),M.iushrn(1);F.cmp(v)>=0?(F.isub(v),b.isub(L),x.isub(M)):(v.isub(F),L.isub(b),M.isub(x))}return{a:L,b:M,gcd:v.iushln(w)}},r.prototype._invmp=function(_){t(_.negative===0),t(!_.isZero());var F=this,v=_.clone();F.negative!==0?F=F.umod(_):F=F.clone();for(var b=new r(1),x=new r(0),L=v.clone();F.cmpn(1)>0&&v.cmpn(1)>0;){for(var M=0,w=1;!(F.words[0]&w)&&M<26;++M,w<<=1);if(M>0)for(F.iushrn(M);M-- >0;)b.isOdd()&&b.iadd(L),b.iushrn(1);for(var g=0,R=1;!(v.words[0]&R)&&g<26;++g,R<<=1);if(g>0)for(v.iushrn(g);g-- >0;)x.isOdd()&&x.iadd(L),x.iushrn(1);F.cmp(v)>=0?(F.isub(v),b.isub(x)):(v.isub(F),x.isub(b))}var k;return F.cmpn(1)===0?k=b:k=x,k.cmpn(0)<0&&k.iadd(_),k},r.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var F=this.clone(),v=_.clone();F.negative=0,v.negative=0;for(var b=0;F.isEven()&&v.isEven();b++)F.iushrn(1),v.iushrn(1);do{for(;F.isEven();)F.iushrn(1);for(;v.isEven();)v.iushrn(1);var x=F.cmp(v);if(x<0){var L=F;F=v,v=L}else if(x===0||v.cmpn(1)===0)break;F.isub(v)}while(!0);return v.iushln(b)},r.prototype.invm=function(_){return this.egcd(_).a.umod(_)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(_){return this.words[0]&_},r.prototype.bincn=function(_){t(typeof _=="number");var F=_%26,v=(_-F)/26,b=1<>>26,M&=67108863,this.words[L]=M}return x!==0&&(this.words[L]=x,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(_){var F=_<0;if(this.negative!==0&&!F)return-1;if(this.negative===0&&F)return 1;this.strip();var v;if(this.length>1)v=1;else{F&&(_=-_),t(_<=67108863,"Number is too big");var b=this.words[0]|0;v=b===_?0:b<_?-1:1}return this.negative!==0?-v|0:v},r.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var F=this.ucmp(_);return this.negative!==0?-F|0:F},r.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var F=0,v=this.length-1;v>=0;v--){var b=this.words[v]|0,x=_.words[v]|0;if(b!==x){bx&&(F=1);break}}return F},r.prototype.gtn=function(_){return this.cmpn(_)===1},r.prototype.gt=function(_){return this.cmp(_)===1},r.prototype.gten=function(_){return this.cmpn(_)>=0},r.prototype.gte=function(_){return this.cmp(_)>=0},r.prototype.ltn=function(_){return this.cmpn(_)===-1},r.prototype.lt=function(_){return this.cmp(_)===-1},r.prototype.lten=function(_){return this.cmpn(_)<=0},r.prototype.lte=function(_){return this.cmp(_)<=0},r.prototype.eqn=function(_){return this.cmpn(_)===0},r.prototype.eq=function(_){return this.cmp(_)===0},r.red=function(_){return new j(_)},r.prototype.toRed=function(_){return t(!this.red,"Already a number in reduction context"),t(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},r.prototype.fromRed=function(){return t(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(_){return this.red=_,this},r.prototype.forceRed=function(_){return t(!this.red,"Already a number in reduction context"),this._forceRed(_)},r.prototype.redAdd=function(_){return t(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},r.prototype.redIAdd=function(_){return t(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},r.prototype.redSub=function(_){return t(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},r.prototype.redISub=function(_){return t(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},r.prototype.redShl=function(_){return t(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},r.prototype.redMul=function(_){return t(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},r.prototype.redIMul=function(_){return t(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},r.prototype.redSqr=function(){return t(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return t(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return t(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return t(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return t(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(_){return t(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var U={k256:null,p224:null,p192:null,p25519:null};function q(P,_){this.name=P,this.p=new r(_,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}q.prototype._tmp=function(){var _=new r(null);return _.words=new Array(Math.ceil(this.n/13)),_},q.prototype.ireduce=function(_){var F=_,v;do this.split(F,this.tmp),F=this.imulK(F),F=F.iadd(this.tmp),v=F.bitLength();while(v>this.n);var b=v0?F.isub(this.p):F.strip!==void 0?F.strip():F._strip(),F},q.prototype.split=function(_,F){_.iushrn(this.n,0,F)},q.prototype.imulK=function(_){return _.imul(this.k)};function W(){q.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}a(W,q),W.prototype.split=function(_,F){for(var v=4194303,b=Math.min(_.length,9),x=0;x>>22,L=M}L>>>=22,_.words[x-10]=L,L===0&&_.length>10?_.length-=10:_.length-=9},W.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var F=0,v=0;v<_.length;v++){var b=_.words[v]|0;F+=b*977,_.words[v]=F&67108863,F=b*64+(F/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_};function G(){q.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}a(G,q);function X(){q.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}a(X,q);function J(){q.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}a(J,q),J.prototype.imulK=function(_){for(var F=0,v=0;v<_.length;v++){var b=(_.words[v]|0)*19+F,x=b&67108863;b>>>=26,_.words[v]=x,F=b}return F!==0&&(_.words[_.length++]=F),_},r._prime=function(_){if(U[_])return U[_];var F;if(_==="k256")F=new W;else if(_==="p224")F=new G;else if(_==="p192")F=new X;else if(_==="p25519")F=new J;else throw new Error("Unknown prime "+_);return U[_]=F,F};function j(P){if(typeof P=="string"){var _=r._prime(P);this.m=_.p,this.prime=_}else t(P.gtn(1),"modulus must be greater than 1"),this.m=P,this.prime=null}j.prototype._verify1=function(_){t(_.negative===0,"red works only with positives"),t(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,F){t((_.negative|F.negative)===0,"red works only with positives"),t(_.red&&_.red===F.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,F){this._verify2(_,F);var v=_.add(F);return v.cmp(this.m)>=0&&v.isub(this.m),v._forceRed(this)},j.prototype.iadd=function(_,F){this._verify2(_,F);var v=_.iadd(F);return v.cmp(this.m)>=0&&v.isub(this.m),v},j.prototype.sub=function(_,F){this._verify2(_,F);var v=_.sub(F);return v.cmpn(0)<0&&v.iadd(this.m),v._forceRed(this)},j.prototype.isub=function(_,F){this._verify2(_,F);var v=_.isub(F);return v.cmpn(0)<0&&v.iadd(this.m),v},j.prototype.shl=function(_,F){return this._verify1(_),this.imod(_.ushln(F))},j.prototype.imul=function(_,F){return this._verify2(_,F),this.imod(_.imul(F))},j.prototype.mul=function(_,F){return this._verify2(_,F),this.imod(_.mul(F))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var F=this.m.andln(3);if(t(F%2===1),F===3){var v=this.m.add(new r(1)).iushrn(2);return this.pow(_,v)}for(var b=this.m.subn(1),x=0;!b.isZero()&&b.andln(1)===0;)x++,b.iushrn(1);t(!b.isZero());var L=new r(1).toRed(this),M=L.redNeg(),w=this.m.subn(1).iushrn(1),g=this.m.bitLength();for(g=new r(2*g*g).toRed(this);this.pow(g,w).cmp(M)!==0;)g.redIAdd(M);for(var R=this.pow(g,b),k=this.pow(_,b.addn(1).iushrn(1)),C=this.pow(_,b),H=x;C.cmp(L)!==0;){for(var te=C,V=0;te.cmp(L)!==0;V++)te=te.redSqr();t(V=0;x--){for(var R=F.words[x],k=g-1;k>=0;k--){var C=R>>k&1;if(L!==b[0]&&(L=this.sqr(L)),C===0&&M===0){w=0;continue}M<<=1,M|=C,w++,!(w!==v&&(x!==0||k!==0))&&(L=this.mul(L,b[M]),w=0,M=0)}g=26}return L},j.prototype.convertTo=function(_){var F=_.umod(this.m);return F===_?F.clone():F},j.prototype.convertFrom=function(_){var F=_.clone();return F.red=null,F},r.mont=function(_){return new z(_)};function z(P){j.call(this,P),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}a(z,j),z.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},z.prototype.convertFrom=function(_){var F=this.imod(_.mul(this.rinv));return F.red=null,F},z.prototype.imul=function(_,F){if(_.isZero()||F.isZero())return _.words[0]=0,_.length=1,_;var v=_.imul(F),b=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=v.isub(b).iushrn(this.shift),L=x;return x.cmp(this.m)>=0?L=x.isub(this.m):x.cmpn(0)<0&&(L=x.iadd(this.m)),L._forceRed(this)},z.prototype.mul=function(_,F){if(_.isZero()||F.isZero())return new r(0)._forceRed(this);var v=_.mul(F),b=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=v.isub(b).iushrn(this.shift),L=x;return x.cmp(this.m)>=0?L=x.isub(this.m):x.cmpn(0)<0&&(L=x.iadd(this.m)),L._forceRed(this)},z.prototype.invm=function(_){var F=this.imod(_._invmp(this.m).mul(this.r2));return F._forceRed(this)}})(typeof ree>"u"||ree,Uve)});var cc=B((nLn,Hve)=>{p();u();Hve.exports=qve;function qve(n,e){if(!n)throw new Error(e||"Assertion failed")}qve.equal=function(e,t,a){if(e!=t)throw new Error(a||"Assertion failed: "+e+" != "+t)}});var iN=B(jve=>{"use strict";p();u();var rN=jve;function NPt(n,e){if(Array.isArray(n))return n.slice();if(!n)return[];var t=[];if(typeof n!="string"){for(var a=0;a>8,s=r&255;i?t.push(i,s):t.push(s)}return t}rN.toArray=NPt;function zve(n){return n.length===1?"0"+n:n}rN.zero2=zve;function Wve(n){for(var e="",t=0;t{"use strict";p();u();var Cl=Gve,FPt=hr(),OPt=cc(),sN=iN();Cl.assert=OPt;Cl.toArray=sN.toArray;Cl.zero2=sN.zero2;Cl.toHex=sN.toHex;Cl.encode=sN.encode;function VPt(n,e,t){var a=new Array(Math.max(n.bitLength(),t)+1);a.fill(0);for(var r=1<(r>>1)-1?f=(r>>1)-o:f=o,i.isubn(f)):f=0,a[s]=f,i.iushrn(1)}return a}Cl.getNAF=VPt;function $Pt(n,e){var t=[[],[]];n=n.clone(),e=e.clone();for(var a=0,r=0,i;n.cmpn(-a)>0||e.cmpn(-r)>0;){var s=n.andln(3)+a&3,f=e.andln(3)+r&3;s===3&&(s=-1),f===3&&(f=-1);var o;s&1?(i=n.andln(7)+a&7,(i===3||i===5)&&f===2?o=-s:o=s):o=0,t[0].push(o);var c;f&1?(i=e.andln(7)+r&7,(i===3||i===5)&&s===2?c=-f:c=f):c=0,t[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),n.iushrn(1),e.iushrn(1)}return t}Cl.getJSF=$Pt;function UPt(n,e,t){var a="_"+e;n.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=t.call(this)}}Cl.cachedProperty=UPt;function qPt(n){return typeof n=="string"?Cl.toArray(n,"hex"):n}Cl.parseBytes=qPt;function HPt(n){return new FPt(n,"hex","le")}Cl.intFromLE=HPt});var hn=B((iee,Qve)=>{p();u();var fN=ki(),jp=fN.Buffer;function Kve(n,e){for(var t in n)e[t]=n[t]}jp.from&&jp.alloc&&jp.allocUnsafe&&jp.allocUnsafeSlow?Qve.exports=fN:(Kve(fN,iee),iee.Buffer=$b);function $b(n,e,t){return jp(n,e,t)}$b.prototype=Object.create(jp.prototype);Kve(jp,$b);$b.from=function(n,e,t){if(typeof n=="number")throw new TypeError("Argument must not be a number");return jp(n,e,t)};$b.alloc=function(n,e,t){if(typeof n!="number")throw new TypeError("Argument must be a number");var a=jp(n);return e!==void 0?typeof t=="string"?a.fill(e,t):a.fill(e):a.fill(0),a};$b.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return jp(n)};$b.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return fN.SlowBuffer(n)}});var E2=B((uLn,fee)=>{"use strict";p();u();var see=65536,zPt=4294967295;function WPt(){throw new Error(`Secure random number generation is not supported by this browser. +Use Chrome, Firefox or Internet Explorer 11`)}var jPt=hn().Buffer,oN=global.crypto||global.msCrypto;oN&&oN.getRandomValues?fee.exports=GPt:fee.exports=WPt;function GPt(n,e){if(n>zPt)throw new RangeError("requested too many random bytes");var t=jPt.allocUnsafe(n);if(n>0)if(n>see)for(var a=0;a{p();u();typeof Object.create=="function"?oee.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:oee.exports=function(e,t){if(t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}}});var ti=B((vLn,cee)=>{"use strict";p();u();var vv=typeof Reflect=="object"?Reflect:null,Yve=vv&&typeof vv.apply=="function"?vv.apply:function(e,t,a){return Function.prototype.apply.call(e,t,a)},cN;vv&&typeof vv.ownKeys=="function"?cN=vv.ownKeys:Object.getOwnPropertySymbols?cN=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:cN=function(e){return Object.getOwnPropertyNames(e)};function KPt(n){console&&console.warn&&console.warn(n)}var Xve=Number.isNaN||function(e){return e!==e};function rr(){rr.init.call(this)}cee.exports=rr;cee.exports.once=XPt;rr.EventEmitter=rr;rr.prototype._events=void 0;rr.prototype._eventsCount=0;rr.prototype._maxListeners=void 0;var Jve=10;function dN(n){if(typeof n!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}Object.defineProperty(rr,"defaultMaxListeners",{enumerable:!0,get:function(){return Jve},set:function(n){if(typeof n!="number"||n<0||Xve(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");Jve=n}});rr.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};rr.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Xve(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Zve(n){return n._maxListeners===void 0?rr.defaultMaxListeners:n._maxListeners}rr.prototype.getMaxListeners=function(){return Zve(this)};rr.prototype.emit=function(e){for(var t=[],a=1;a0&&(s=t[0]),s instanceof Error)throw s;var f=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw f.context=s,f}var o=i[e];if(o===void 0)return!1;if(typeof o=="function")Yve(o,this,t);else for(var c=o.length,d=rTe(o,c),a=0;a0&&s.length>r&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=n,f.type=e,f.count=s.length,KPt(f)}return n}rr.prototype.addListener=function(e,t){return eTe(this,e,t,!1)};rr.prototype.on=rr.prototype.addListener;rr.prototype.prependListener=function(e,t){return eTe(this,e,t,!0)};function QPt(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function tTe(n,e,t){var a={fired:!1,wrapFn:void 0,target:n,type:e,listener:t},r=QPt.bind(a);return r.listener=t,a.wrapFn=r,r}rr.prototype.once=function(e,t){return dN(t),this.on(e,tTe(this,e,t)),this};rr.prototype.prependOnceListener=function(e,t){return dN(t),this.prependListener(e,tTe(this,e,t)),this};rr.prototype.removeListener=function(e,t){var a,r,i,s,f;if(dN(t),r=this._events,r===void 0)return this;if(a=r[e],a===void 0)return this;if(a===t||a.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,a.listener||t));else if(typeof a!="function"){for(i=-1,s=a.length-1;s>=0;s--)if(a[s]===t||a[s].listener===t){f=a[s].listener,i=s;break}if(i<0)return this;i===0?a.shift():YPt(a,i),a.length===1&&(r[e]=a[0]),r.removeListener!==void 0&&this.emit("removeListener",e,f||t)}return this};rr.prototype.off=rr.prototype.removeListener;rr.prototype.removeAllListeners=function(e){var t,a,r;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[e]),this;if(arguments.length===0){var i=Object.keys(a),s;for(r=0;r=0;r--)this.removeListener(e,t[r]);return this};function nTe(n,e,t){var a=n._events;if(a===void 0)return[];var r=a[e];return r===void 0?[]:typeof r=="function"?t?[r.listener||r]:[r]:t?JPt(r):rTe(r,r.length)}rr.prototype.listeners=function(e){return nTe(this,e,!0)};rr.prototype.rawListeners=function(e){return nTe(this,e,!1)};rr.listenerCount=function(n,e){return typeof n.listenerCount=="function"?n.listenerCount(e):aTe.call(n,e)};rr.prototype.listenerCount=aTe;function aTe(n){var e=this._events;if(e!==void 0){var t=e[n];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}rr.prototype.eventNames=function(){return this._eventsCount>0?cN(this._events):[]};function rTe(n,e){for(var t=new Array(e),a=0;a{p();u();sTe.exports=ti().EventEmitter});var lN=B((ELn,fTe)=>{"use strict";p();u();fTe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),a=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==r||s.enumerable!==!0)return!1}return!0}});var pN=B((SLn,oTe)=>{"use strict";p();u();var eRt=lN();oTe.exports=function(){return eRt()&&!!Symbol.toStringTag}});var dTe=B((PLn,cTe)=>{"use strict";p();u();cTe.exports=Error});var pTe=B((MLn,lTe)=>{"use strict";p();u();lTe.exports=EvalError});var yTe=B((FLn,uTe)=>{"use strict";p();u();uTe.exports=RangeError});var bTe=B(($Ln,mTe)=>{"use strict";p();u();mTe.exports=ReferenceError});var lee=B((HLn,hTe)=>{"use strict";p();u();hTe.exports=SyntaxError});var ZE=B((jLn,gTe)=>{"use strict";p();u();gTe.exports=TypeError});var TTe=B((QLn,vTe)=>{"use strict";p();u();vTe.exports=URIError});var xTe=B((XLn,wTe)=>{"use strict";p();u();var _Te=typeof Symbol<"u"&&Symbol,tRt=lN();wTe.exports=function(){return typeof _Te!="function"||typeof Symbol!="function"||typeof _Te("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:tRt()}});var ETe=B((tMn,ITe)=>{"use strict";p();u();var pee={__proto__:null,foo:{}},nRt=Object;ITe.exports=function(){return{__proto__:pee}.foo===pee.foo&&!(pee instanceof nRt)}});var STe=B((rMn,CTe)=>{"use strict";p();u();var aRt="Function.prototype.bind called on incompatible ",rRt=Object.prototype.toString,iRt=Math.max,sRt="[object Function]",DTe=function(e,t){for(var a=[],r=0;r{"use strict";p();u();var cRt=STe();ATe.exports=Function.prototype.bind||cRt});var PTe=B((dMn,kTe)=>{"use strict";p();u();var dRt=Function.prototype.call,lRt=Object.prototype.hasOwnProperty,pRt=uN();kTe.exports=pRt.call(dRt,lRt)});var Iv=B((uMn,NTe)=>{"use strict";p();u();var Wn,uRt=dTe(),yRt=pTe(),mRt=yTe(),bRt=bTe(),xv=lee(),wv=ZE(),hRt=TTe(),BTe=Function,uee=function(n){try{return BTe('"use strict"; return ('+n+").constructor;")()}catch{}},Ub=Object.getOwnPropertyDescriptor;if(Ub)try{Ub({},"")}catch{Ub=null}var yee=function(){throw new wv},gRt=Ub?function(){try{return arguments.callee,yee}catch{try{return Ub(arguments,"callee").get}catch{return yee}}}():yee,Tv=xTe()(),vRt=ETe()(),Zs=Object.getPrototypeOf||(vRt?function(n){return n.__proto__}:null),_v={},TRt=typeof Uint8Array>"u"||!Zs?Wn:Zs(Uint8Array),qb={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Wn:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Wn:ArrayBuffer,"%ArrayIteratorPrototype%":Tv&&Zs?Zs([][Symbol.iterator]()):Wn,"%AsyncFromSyncIteratorPrototype%":Wn,"%AsyncFunction%":_v,"%AsyncGenerator%":_v,"%AsyncGeneratorFunction%":_v,"%AsyncIteratorPrototype%":_v,"%Atomics%":typeof Atomics>"u"?Wn:Atomics,"%BigInt%":typeof BigInt>"u"?Wn:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Wn:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Wn:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Wn:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":uRt,"%eval%":eval,"%EvalError%":yRt,"%Float32Array%":typeof Float32Array>"u"?Wn:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Wn:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Wn:FinalizationRegistry,"%Function%":BTe,"%GeneratorFunction%":_v,"%Int8Array%":typeof Int8Array>"u"?Wn:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Wn:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Wn:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tv&&Zs?Zs(Zs([][Symbol.iterator]())):Wn,"%JSON%":typeof JSON=="object"?JSON:Wn,"%Map%":typeof Map>"u"?Wn:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Tv||!Zs?Wn:Zs(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Wn:Promise,"%Proxy%":typeof Proxy>"u"?Wn:Proxy,"%RangeError%":mRt,"%ReferenceError%":bRt,"%Reflect%":typeof Reflect>"u"?Wn:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Wn:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Tv||!Zs?Wn:Zs(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Wn:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tv&&Zs?Zs(""[Symbol.iterator]()):Wn,"%Symbol%":Tv?Symbol:Wn,"%SyntaxError%":xv,"%ThrowTypeError%":gRt,"%TypedArray%":TRt,"%TypeError%":wv,"%Uint8Array%":typeof Uint8Array>"u"?Wn:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Wn:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Wn:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Wn:Uint32Array,"%URIError%":hRt,"%WeakMap%":typeof WeakMap>"u"?Wn:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Wn:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Wn:WeakSet};if(Zs)try{null.error}catch(n){RTe=Zs(Zs(n)),qb["%Error.prototype%"]=RTe}var RTe,_Rt=function n(e){var t;if(e==="%AsyncFunction%")t=uee("async function () {}");else if(e==="%GeneratorFunction%")t=uee("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=uee("async function* () {}");else if(e==="%AsyncGenerator%"){var a=n("%AsyncGeneratorFunction%");a&&(t=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=n("%AsyncGenerator%");r&&Zs&&(t=Zs(r.prototype))}return qb[e]=t,t},LTe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},eD=uN(),yN=PTe(),wRt=eD.call(Function.call,Array.prototype.concat),xRt=eD.call(Function.apply,Array.prototype.splice),MTe=eD.call(Function.call,String.prototype.replace),mN=eD.call(Function.call,String.prototype.slice),IRt=eD.call(Function.call,RegExp.prototype.exec),ERt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,DRt=/\\(\\)?/g,CRt=function(e){var t=mN(e,0,1),a=mN(e,-1);if(t==="%"&&a!=="%")throw new xv("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&t!=="%")throw new xv("invalid intrinsic syntax, expected opening `%`");var r=[];return MTe(e,ERt,function(i,s,f,o){r[r.length]=f?MTe(o,DRt,"$1"):s||i}),r},SRt=function(e,t){var a=e,r;if(yN(LTe,a)&&(r=LTe[a],a="%"+r[0]+"%"),yN(qb,a)){var i=qb[a];if(i===_v&&(i=_Rt(a)),typeof i>"u"&&!t)throw new wv("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:i}}throw new xv("intrinsic "+e+" does not exist!")};NTe.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new wv("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new wv('"allowMissing" argument must be a boolean');if(IRt(/^%?[^%]*%?$/,e)===null)throw new xv("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=CRt(e),r=a.length>0?a[0]:"",i=SRt("%"+r+"%",t),s=i.name,f=i.value,o=!1,c=i.alias;c&&(r=c[0],xRt(a,wRt([0,1],c)));for(var d=1,l=!0;d=a.length){var A=Ub(f,y);l=!!A,l&&"get"in A&&!("originalValue"in A.get)?f=A.get:f=f[y]}else l=yN(f,y),f=f[y];l&&!o&&(qb[s]=f)}}return f}});var hN=B((bMn,FTe)=>{"use strict";p();u();var ARt=Iv(),bN=ARt("%Object.defineProperty%",!0)||!1;if(bN)try{bN({},"a",{value:1})}catch{bN=!1}FTe.exports=bN});var vN=B((vMn,OTe)=>{"use strict";p();u();var kRt=Iv(),gN=kRt("%Object.getOwnPropertyDescriptor%",!0);if(gN)try{gN([],"length")}catch{gN=null}OTe.exports=gN});var mee=B((wMn,UTe)=>{"use strict";p();u();var VTe=hN(),PRt=lee(),Ev=ZE(),$Te=vN();UTe.exports=function(e,t,a){if(!e||typeof e!="object"&&typeof e!="function")throw new Ev("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Ev("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ev("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ev("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ev("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ev("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,o=!!$Te&&$Te(e,t);if(VTe)VTe(e,t,{configurable:s===null&&o?o.configurable:!s,enumerable:r===null&&o?o.enumerable:!r,value:a,writable:i===null&&o?o.writable:!i});else if(f||!r&&!i&&!s)e[t]=a;else throw new PRt("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var hee=B((EMn,HTe)=>{"use strict";p();u();var bee=hN(),qTe=function(){return!!bee};qTe.hasArrayLengthDefineBug=function(){if(!bee)return null;try{return bee([],"length",{value:1}).length!==1}catch{return!0}};HTe.exports=qTe});var KTe=B((SMn,GTe)=>{"use strict";p();u();var RRt=Iv(),zTe=mee(),LRt=hee()(),WTe=vN(),jTe=ZE(),MRt=RRt("%Math.floor%");GTe.exports=function(e,t){if(typeof e!="function")throw new jTe("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||MRt(t)!==t)throw new jTe("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],r=!0,i=!0;if("length"in e&&WTe){var s=WTe(e,"length");s&&!s.configurable&&(r=!1),s&&!s.writable&&(i=!1)}return(r||i||!a)&&(LRt?zTe(e,"length",t,!0,!0):zTe(e,"length",t)),e}});var tD=B((PMn,TN)=>{"use strict";p();u();var gee=uN(),_N=Iv(),BRt=KTe(),NRt=ZE(),JTe=_N("%Function.prototype.apply%"),XTe=_N("%Function.prototype.call%"),ZTe=_N("%Reflect.apply%",!0)||gee.call(XTe,JTe),QTe=hN(),FRt=_N("%Math.max%");TN.exports=function(e){if(typeof e!="function")throw new NRt("a function is required");var t=ZTe(gee,XTe,arguments);return BRt(t,1+FRt(0,e.length-(arguments.length-1)),!0)};var YTe=function(){return ZTe(gee,JTe,arguments)};QTe?QTe(TN.exports,"apply",{value:YTe}):TN.exports.apply=YTe});var nD=B((MMn,n_e)=>{"use strict";p();u();var e_e=Iv(),t_e=tD(),ORt=t_e(e_e("String.prototype.indexOf"));n_e.exports=function(e,t){var a=e_e(e,!!t);return typeof a=="function"&&ORt(e,".prototype.")>-1?t_e(a):a}});var i_e=B((FMn,r_e)=>{"use strict";p();u();var VRt=pN()(),$Rt=nD(),vee=$Rt("Object.prototype.toString"),wN=function(e){return VRt&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:vee(e)==="[object Arguments]"},a_e=function(e){return wN(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&vee(e)!=="[object Array]"&&vee(e.callee)==="[object Function]"},URt=function(){return wN(arguments)}();wN.isLegacyArguments=a_e;r_e.exports=URt?wN:a_e});var o_e=B(($Mn,f_e)=>{"use strict";p();u();var qRt=Object.prototype.toString,HRt=Function.prototype.toString,zRt=/^\s*(?:function)?\*/,s_e=pN()(),Tee=Object.getPrototypeOf,WRt=function(){if(!s_e)return!1;try{return Function("return function*() {}")()}catch{}},_ee;f_e.exports=function(e){if(typeof e!="function")return!1;if(zRt.test(HRt.call(e)))return!0;if(!s_e){var t=qRt.call(e);return t==="[object GeneratorFunction]"}if(!Tee)return!1;if(typeof _ee>"u"){var a=WRt();_ee=a?Tee(a):!1}return Tee(e)===_ee}});var p_e=B((HMn,l_e)=>{"use strict";p();u();var d_e=Function.prototype.toString,Dv=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,xee,xN;if(typeof Dv=="function"&&typeof Object.defineProperty=="function")try{xee=Object.defineProperty({},"length",{get:function(){throw xN}}),xN={},Dv(function(){throw 42},null,xee)}catch(n){n!==xN&&(Dv=null)}else Dv=null;var jRt=/^\s*class\b/,Iee=function(e){try{var t=d_e.call(e);return jRt.test(t)}catch{return!1}},wee=function(e){try{return Iee(e)?!1:(d_e.call(e),!0)}catch{return!1}},IN=Object.prototype.toString,GRt="[object Object]",KRt="[object Function]",QRt="[object GeneratorFunction]",YRt="[object HTMLAllCollection]",JRt="[object HTML document.all class]",XRt="[object HTMLCollection]",ZRt=typeof Symbol=="function"&&!!Symbol.toStringTag,eLt=!(0 in[,]),Eee=function(){return!1};typeof document=="object"&&(c_e=document.all,IN.call(c_e)===IN.call(document.all)&&(Eee=function(e){if((eLt||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=IN.call(e);return(t===YRt||t===JRt||t===XRt||t===GRt)&&e("")==null}catch{}return!1}));var c_e;l_e.exports=Dv?function(e){if(Eee(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Dv(e,null,xee)}catch(t){if(t!==xN)return!1}return!Iee(e)&&wee(e)}:function(e){if(Eee(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(ZRt)return wee(e);if(Iee(e))return!1;var t=IN.call(e);return t!==KRt&&t!==QRt&&!/^\[object HTML/.test(t)?!1:wee(e)}});var m_e=B((jMn,y_e)=>{"use strict";p();u();var tLt=p_e(),nLt=Object.prototype.toString,u_e=Object.prototype.hasOwnProperty,aLt=function(e,t,a){for(var r=0,i=e.length;r=3&&(r=a),nLt.call(e)==="[object Array]"?aLt(e,t,r):typeof e=="string"?rLt(e,t,r):iLt(e,t,r)};y_e.exports=sLt});var h_e=B((QMn,b_e)=>{"use strict";p();u();b_e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]});var v_e=B((XMn,g_e)=>{"use strict";p();u();var Dee=h_e(),fLt=typeof globalThis>"u"?global:globalThis;g_e.exports=function(){for(var e=[],t=0;t{"use strict";p();u();var DN=m_e(),oLt=v_e(),T_e=tD(),Aee=nD(),EN=vN(),cLt=Aee("Object.prototype.toString"),w_e=pN()(),__e=typeof globalThis>"u"?global:globalThis,See=oLt(),kee=Aee("String.prototype.slice"),Cee=Object.getPrototypeOf,dLt=Aee("Array.prototype.indexOf",!0)||function(e,t){for(var a=0;a-1?t:t!=="Object"?!1:pLt(e)}return EN?lLt(e):null}});var E_e=B((rBn,I_e)=>{"use strict";p();u();var uLt=Pee();I_e.exports=function(e){return!!uLt(e)}});var V_e=B(Vn=>{"use strict";p();u();var yLt=i_e(),mLt=o_e(),Sl=Pee(),D_e=E_e();function Cv(n){return n.call.bind(n)}var C_e=typeof BigInt<"u",S_e=typeof Symbol<"u",Xd=Cv(Object.prototype.toString),bLt=Cv(Number.prototype.valueOf),hLt=Cv(String.prototype.valueOf),gLt=Cv(Boolean.prototype.valueOf);C_e&&(A_e=Cv(BigInt.prototype.valueOf));var A_e;S_e&&(k_e=Cv(Symbol.prototype.valueOf));var k_e;function rD(n,e){if(typeof n!="object")return!1;try{return e(n),!0}catch{return!1}}Vn.isArgumentsObject=yLt;Vn.isGeneratorFunction=mLt;Vn.isTypedArray=D_e;function vLt(n){return typeof Promise<"u"&&n instanceof Promise||n!==null&&typeof n=="object"&&typeof n.then=="function"&&typeof n.catch=="function"}Vn.isPromise=vLt;function TLt(n){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(n):D_e(n)||R_e(n)}Vn.isArrayBufferView=TLt;function _Lt(n){return Sl(n)==="Uint8Array"}Vn.isUint8Array=_Lt;function wLt(n){return Sl(n)==="Uint8ClampedArray"}Vn.isUint8ClampedArray=wLt;function xLt(n){return Sl(n)==="Uint16Array"}Vn.isUint16Array=xLt;function ILt(n){return Sl(n)==="Uint32Array"}Vn.isUint32Array=ILt;function ELt(n){return Sl(n)==="Int8Array"}Vn.isInt8Array=ELt;function DLt(n){return Sl(n)==="Int16Array"}Vn.isInt16Array=DLt;function CLt(n){return Sl(n)==="Int32Array"}Vn.isInt32Array=CLt;function SLt(n){return Sl(n)==="Float32Array"}Vn.isFloat32Array=SLt;function ALt(n){return Sl(n)==="Float64Array"}Vn.isFloat64Array=ALt;function kLt(n){return Sl(n)==="BigInt64Array"}Vn.isBigInt64Array=kLt;function PLt(n){return Sl(n)==="BigUint64Array"}Vn.isBigUint64Array=PLt;function SN(n){return Xd(n)==="[object Map]"}SN.working=typeof Map<"u"&&SN(new Map);function RLt(n){return typeof Map>"u"?!1:SN.working?SN(n):n instanceof Map}Vn.isMap=RLt;function AN(n){return Xd(n)==="[object Set]"}AN.working=typeof Set<"u"&&AN(new Set);function LLt(n){return typeof Set>"u"?!1:AN.working?AN(n):n instanceof Set}Vn.isSet=LLt;function kN(n){return Xd(n)==="[object WeakMap]"}kN.working=typeof WeakMap<"u"&&kN(new WeakMap);function MLt(n){return typeof WeakMap>"u"?!1:kN.working?kN(n):n instanceof WeakMap}Vn.isWeakMap=MLt;function Lee(n){return Xd(n)==="[object WeakSet]"}Lee.working=typeof WeakSet<"u"&&Lee(new WeakSet);function BLt(n){return Lee(n)}Vn.isWeakSet=BLt;function PN(n){return Xd(n)==="[object ArrayBuffer]"}PN.working=typeof ArrayBuffer<"u"&&PN(new ArrayBuffer);function P_e(n){return typeof ArrayBuffer>"u"?!1:PN.working?PN(n):n instanceof ArrayBuffer}Vn.isArrayBuffer=P_e;function RN(n){return Xd(n)==="[object DataView]"}RN.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&RN(new DataView(new ArrayBuffer(1),0,1));function R_e(n){return typeof DataView>"u"?!1:RN.working?RN(n):n instanceof DataView}Vn.isDataView=R_e;var Ree=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function aD(n){return Xd(n)==="[object SharedArrayBuffer]"}function L_e(n){return typeof Ree>"u"?!1:(typeof aD.working>"u"&&(aD.working=aD(new Ree)),aD.working?aD(n):n instanceof Ree)}Vn.isSharedArrayBuffer=L_e;function NLt(n){return Xd(n)==="[object AsyncFunction]"}Vn.isAsyncFunction=NLt;function FLt(n){return Xd(n)==="[object Map Iterator]"}Vn.isMapIterator=FLt;function OLt(n){return Xd(n)==="[object Set Iterator]"}Vn.isSetIterator=OLt;function VLt(n){return Xd(n)==="[object Generator]"}Vn.isGeneratorObject=VLt;function $Lt(n){return Xd(n)==="[object WebAssembly.Module]"}Vn.isWebAssemblyCompiledModule=$Lt;function M_e(n){return rD(n,bLt)}Vn.isNumberObject=M_e;function B_e(n){return rD(n,hLt)}Vn.isStringObject=B_e;function N_e(n){return rD(n,gLt)}Vn.isBooleanObject=N_e;function F_e(n){return C_e&&rD(n,A_e)}Vn.isBigIntObject=F_e;function O_e(n){return S_e&&rD(n,k_e)}Vn.isSymbolObject=O_e;function ULt(n){return M_e(n)||B_e(n)||N_e(n)||F_e(n)||O_e(n)}Vn.isBoxedPrimitive=ULt;function qLt(n){return typeof Uint8Array<"u"&&(P_e(n)||L_e(n))}Vn.isAnyArrayBuffer=qLt;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(n){Object.defineProperty(Vn,n,{enumerable:!1,value:function(){throw new Error(n+" is not supported in userland")}})})});var U_e=B((dBn,$_e)=>{p();u();$_e.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}});var Al=B($n=>{p();u();var q_e=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),a={},r=0;r=r)return f;switch(f){case"%s":return String(a[t++]);case"%d":return Number(a[t++]);case"%j":try{return JSON.stringify(a[t++])}catch{return"[Circular]"}default:return f}}),s=a[t];t"u")return function(){return $n.deprecate(n,e).apply(this,arguments)};var t=!1;function a(){if(!t){if(E.throwDeprecation)throw new Error(e);E.traceDeprecation?console.trace(e):console.error(e),t=!0}return n.apply(this,arguments)}return a};var LN={},H_e=/^$/;E.env.NODE_DEBUG&&(MN=E.env.NODE_DEBUG,MN=MN.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),H_e=new RegExp("^"+MN+"$","i"));var MN;$n.debuglog=function(n){if(n=n.toUpperCase(),!LN[n])if(H_e.test(n)){var e=E.pid;LN[n]=function(){var t=$n.format.apply($n,arguments);console.error("%s %d: %s",n,e,t)}}else LN[n]=function(){};return LN[n]};function z8(n,e){var t={seen:[],stylize:WLt};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Fee(e)?t.showHidden=e:e&&$n._extend(t,e),zb(t.showHidden)&&(t.showHidden=!1),zb(t.depth)&&(t.depth=2),zb(t.colors)&&(t.colors=!1),zb(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=zLt),NN(t,n,t.depth)}$n.inspect=z8;z8.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};z8.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function zLt(n,e){var t=z8.styles[e];return t?"\x1B["+z8.colors[t][0]+"m"+n+"\x1B["+z8.colors[t][1]+"m":n}function WLt(n,e){return n}function jLt(n){var e={};return n.forEach(function(t,a){e[t]=!0}),e}function NN(n,e,t){if(n.customInspect&&e&&BN(e.inspect)&&e.inspect!==$n.inspect&&!(e.constructor&&e.constructor.prototype===e)){var a=e.inspect(t,n);return VN(a)||(a=NN(n,a,t)),a}var r=GLt(n,e);if(r)return r;var i=Object.keys(e),s=jLt(i);if(n.showHidden&&(i=Object.getOwnPropertyNames(e)),sD(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return Mee(e);if(i.length===0){if(BN(e)){var f=e.name?": "+e.name:"";return n.stylize("[Function"+f+"]","special")}if(iD(e))return n.stylize(RegExp.prototype.toString.call(e),"regexp");if(FN(e))return n.stylize(Date.prototype.toString.call(e),"date");if(sD(e))return Mee(e)}var o="",c=!1,d=["{","}"];if(z_e(e)&&(c=!0,d=["[","]"]),BN(e)){var l=e.name?": "+e.name:"";o=" [Function"+l+"]"}if(iD(e)&&(o=" "+RegExp.prototype.toString.call(e)),FN(e)&&(o=" "+Date.prototype.toUTCString.call(e)),sD(e)&&(o=" "+Mee(e)),i.length===0&&(!c||e.length==0))return d[0]+o+d[1];if(t<0)return iD(e)?n.stylize(RegExp.prototype.toString.call(e),"regexp"):n.stylize("[Object]","special");n.seen.push(e);var y;return c?y=KLt(n,e,t,s,i):y=i.map(function(h){return Nee(n,e,t,s,h,c)}),n.seen.pop(),QLt(y,o,d)}function GLt(n,e){if(zb(e))return n.stylize("undefined","undefined");if(VN(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,"string")}if(W_e(e))return n.stylize(""+e,"number");if(Fee(e))return n.stylize(""+e,"boolean");if(ON(e))return n.stylize("null","null")}function Mee(n){return"["+Error.prototype.toString.call(n)+"]"}function KLt(n,e,t,a,r){for(var i=[],s=0,f=e.length;s-1&&(i?f=f.split(` `).map(function(c){return" "+c}).join(` -`).slice(2):s=` -`+s.split(` +`).slice(2):f=` +`+f.split(` `).map(function(c){return" "+c}).join(` -`))):s=t.stylize("[Circular]","special")),Fy(i)){if(f&&r.match(/^\d+$/))return s;i=JSON.stringify(""+r),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+s}function uU0(t,e,n){var a=0,r=t.reduce(function(f,i){return a++,i.indexOf(` -`)>=0&&a++,f+i.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?n[0]+(e===""?"":e+` - `)+" "+t.join(`, - `)+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}Vn.types=w_e();function A_e(t){return Array.isArray(t)}Vn.isArray=A_e;function Kte(t){return typeof t=="boolean"}Vn.isBoolean=Kte;function uO(t){return t===null}Vn.isNull=uO;function pU0(t){return t==null}Vn.isNullOrUndefined=pU0;function I_e(t){return typeof t=="number"}Vn.isNumber=I_e;function pO(t){return typeof t=="string"}Vn.isString=pO;function hU0(t){return typeof t=="symbol"}Vn.isSymbol=hU0;function Fy(t){return t===void 0}Vn.isUndefined=Fy;function RC(t){return Mw(t)&&Qte(t)==="[object RegExp]"}Vn.isRegExp=RC;Vn.types.isRegExp=RC;function Mw(t){return typeof t=="object"&&t!==null}Vn.isObject=Mw;function lO(t){return Mw(t)&&Qte(t)==="[object Date]"}Vn.isDate=lO;Vn.types.isDate=lO;function MC(t){return Mw(t)&&(Qte(t)==="[object Error]"||t instanceof Error)}Vn.isError=MC;Vn.types.isNativeError=MC;function cO(t){return typeof t=="function"}Vn.isFunction=cO;function mU0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Vn.isPrimitive=mU0;Vn.isBuffer=x_e();function Qte(t){return Object.prototype.toString.call(t)}function jte(t){return t<10?"0"+t.toString(10):t.toString(10)}var bU0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function yU0(){var t=new Date,e=[jte(t.getHours()),jte(t.getMinutes()),jte(t.getSeconds())].join(":");return[t.getDate(),bU0[t.getMonth()],e].join(" ")}Vn.log=function(){console.log("%s - %s",yU0(),Vn.format.apply(Vn,arguments))};Vn.inherits=Nt();Vn._extend=function(t,e){if(!e||!Mw(e))return t;for(var n=Object.keys(e),a=n.length;a--;)t[n[a]]=e[n[a]];return t};function C_e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ly=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Vn.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Ly&&e[Ly]){var n=e[Ly];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,Ly,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var a,r,f=new Promise(function(o,c){a=o,r=c}),i=[],s=0;s{"use strict";u();p();function k_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function S_e(t){for(var e=1;e0?this.tail.next=a:this.head=a,this.tail=a,++this.length}},{key:"unshift",value:function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length}},{key:"shift",value:function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r}},{key:"concat",value:function(n){if(this.length===0)return hO.alloc(0);for(var a=hO.allocUnsafe(n>>>0),r=this.head,f=0;r;)CU0(r.data,a,f),f+=r.data.length,r=r.next;return a}},{key:"consume",value:function(n,a){var r;return ni.length?i.length:n;if(s===i.length?f+=i:f+=i.slice(0,n),n-=s,n===0){s===i.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=i.slice(s));break}++r}return this.length-=r,f}},{key:"_getBuffer",value:function(n){var a=hO.allocUnsafe(n),r=this.head,f=1;for(r.data.copy(a),n-=r.data.length;r=r.next;){var i=r.data,s=n>i.length?i.length:n;if(i.copy(a,a.length-n,0,s),n-=s,n===0){s===i.length?(++f,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s));break}++f}return this.length-=f,a}},{key:IU0,value:function(n,a){return Vte(this,S_e(S_e({},a),{},{depth:0,customInspect:!1}))}}]),t}()});var $te=D((uWn,L_e)=>{"use strict";u();p();function kU0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,x.nextTick(Yte,this,t)):x.nextTick(Yte,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted?x.nextTick(mO,n):(n._writableState.errorEmitted=!0,x.nextTick(P_e,n,f)):x.nextTick(P_e,n,f):e?(x.nextTick(mO,n),e(f)):x.nextTick(mO,n)}),this)}function P_e(t,e){Yte(t,e),mO(t)}function mO(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function SU0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Yte(t,e){t.emit("error",e)}function RU0(t,e){var n=t._readableState,a=t._writableState;n&&n.autoDestroy||a&&a.autoDestroy?t.destroy(e):t.emit("error",e)}L_e.exports={destroy:kU0,undestroy:SU0,errorOrDestroy:RU0}});var Ny=D((mWn,O_e)=>{"use strict";u();p();function MU0(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var N_e={};function Ad(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){MU0(i,f);function i(s,o,c){return f.call(this,a(s,o,c))||this}return i}(n);r.prototype.name=n.name,r.prototype.code=t,N_e[t]=r}function F_e(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function BU0(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function DU0(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function PU0(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}Ad("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);Ad("ERR_INVALID_ARG_TYPE",function(t,e,n){var a;typeof e=="string"&&BU0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(DU0(t," argument"))r="The ".concat(t," ").concat(a," ").concat(F_e(e,"type"));else{var f=PU0(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(F_e(e,"type"))}return r+=". Received type ".concat(typeof n),r},TypeError);Ad("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Ad("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});Ad("ERR_STREAM_PREMATURE_CLOSE","Premature close");Ad("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});Ad("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Ad("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Ad("ERR_STREAM_WRITE_AFTER_END","write after end");Ad("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Ad("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);Ad("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");O_e.exports.codes=N_e});var Jte=D((gWn,U_e)=>{"use strict";u();p();var LU0=Ny().codes.ERR_INVALID_OPT_VALUE;function FU0(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function NU0(t,e,n,a){var r=FU0(e,a,n);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var f=a?n:"highWaterMark";throw new LU0(f,r)}return Math.floor(r)}return t.objectMode?16:16*1024}U_e.exports={getHighWaterMark:NU0}});var Zte=D((TWn,H_e)=>{u();p();H_e.exports=OU0;function OU0(t,e){if(Xte("noDeprecation"))return t;var n=!1;function a(){if(!n){if(Xte("throwDeprecation"))throw new Error(e);Xte("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return a}function Xte(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var gO=D((_Wn,K_e)=>{"use strict";u();p();K_e.exports=$f;function W_e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){lH0(e,t)}}var Bw;$f.WritableState=DC;var UU0={deprecate:Zte()},q_e=vte(),yO=Qf().Buffer,HU0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zU0(t){return yO.from(t)}function WU0(t){return yO.isBuffer(t)||t instanceof HU0}var tne=$te(),qU0=Jte(),jU0=qU0.getHighWaterMark,R3=Ny().codes,GU0=R3.ERR_INVALID_ARG_TYPE,KU0=R3.ERR_METHOD_NOT_IMPLEMENTED,QU0=R3.ERR_MULTIPLE_CALLBACK,VU0=R3.ERR_STREAM_CANNOT_PIPE,YU0=R3.ERR_STREAM_DESTROYED,$U0=R3.ERR_STREAM_NULL_VALUES,JU0=R3.ERR_STREAM_WRITE_AFTER_END,XU0=R3.ERR_UNKNOWN_ENCODING,Dw=tne.errorOrDestroy;Nt()($f,q_e);function ZU0(){}function DC(t,e,n){Bw=Bw||M3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Bw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=jU0(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(r){iH0(e,r)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new W_e(this)}DC.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(DC.prototype,"buffer",{get:UU0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var bO;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(bO=Function.prototype[Symbol.hasInstance],Object.defineProperty($f,Symbol.hasInstance,{value:function(e){return bO.call(this,e)?!0:this!==$f?!1:e&&e._writableState instanceof DC}})):bO=function(e){return e instanceof this};function $f(t){Bw=Bw||M3();var e=this instanceof Bw;if(!e&&!bO.call($f,this))return new $f(t);this._writableState=new DC(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),q_e.call(this)}$f.prototype.pipe=function(){Dw(this,new VU0)};function eH0(t,e){var n=new JU0;Dw(t,n),x.nextTick(e,n)}function tH0(t,e,n,a){var r;return n===null?r=new $U0:typeof n!="string"&&!e.objectMode&&(r=new GU0("chunk",["string","Buffer"],n)),r?(Dw(t,r),x.nextTick(a,r),!1):!0}$f.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&WU0(t);return f&&!yO.isBuffer(t)&&(t=zU0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=ZU0),a.ending?eH0(this,n):(f||tH0(this,a,t,n))&&(a.pendingcb++,r=aH0(this,a,f,t,e,n)),r};$f.prototype.cork=function(){this._writableState.corked++};$f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&j_e(this,t))};$f.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new XU0(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty($f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function nH0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=yO.from(e,n)),e}Object.defineProperty($f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function aH0(t,e,n,a,r,f){if(!n){var i=nH0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var uH0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};V_e.exports=Eu;var Q_e=TO(),ane=gO();Nt()(Eu,Q_e);for(nne=uH0(ane.prototype),vO=0;vO{"use strict";u();p();var fne=En().Buffer,Y_e=fne.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function mH0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function bH0(t){var e=mH0(t);if(typeof e!="string"&&(fne.isEncoding===Y_e||!Y_e(t)))throw new Error("Unknown encoding: "+t);return e||t}$_e.StringDecoder=PC;function PC(t){this.encoding=bH0(t);var e;switch(this.encoding){case"utf16le":this.text=xH0,this.end=EH0,e=4;break;case"utf8":this.fillLast=vH0,e=4;break;case"base64":this.text=_H0,this.end=AH0,e=3;break;default:this.write=IH0,this.end=CH0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fne.allocUnsafe(e)}PC.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function yH0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function gH0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function vH0(t){var e=this.lastTotal-this.lastNeed,n=gH0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function wH0(t,e){var n=yH0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function TH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function xH0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function EH0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function _H0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function AH0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function IH0(t){return t.toString(this.encoding)}function CH0(t){return t&&t.length?this.write(t):""}});var LC=D((DWn,Z_e)=>{"use strict";u();p();var J_e=Ny().codes.ERR_STREAM_PREMATURE_CLOSE;function kH0(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,a=new Array(n),r=0;r{"use strict";u();p();var EO;function B3(t,e,n){return e=MH0(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function MH0(t){var e=BH0(t,"string");return typeof e=="symbol"?e:String(e)}function BH0(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var DH0=LC(),D3=Symbol("lastResolve"),Oy=Symbol("lastReject"),FC=Symbol("error"),_O=Symbol("ended"),Uy=Symbol("lastPromise"),ine=Symbol("handlePromise"),Hy=Symbol("stream");function P3(t,e){return{value:t,done:e}}function PH0(t){var e=t[D3];if(e!==null){var n=t[Hy].read();n!==null&&(t[Uy]=null,t[D3]=null,t[Oy]=null,e(P3(n,!1)))}}function LH0(t){x.nextTick(PH0,t)}function FH0(t,e){return function(n,a){t.then(function(){if(e[_O]){n(P3(void 0,!0));return}e[ine](n,a)},a)}}var NH0=Object.getPrototypeOf(function(){}),OH0=Object.setPrototypeOf((EO={get stream(){return this[Hy]},next:function(){var e=this,n=this[FC];if(n!==null)return Promise.reject(n);if(this[_O])return Promise.resolve(P3(void 0,!0));if(this[Hy].destroyed)return new Promise(function(i,s){x.nextTick(function(){e[FC]?s(e[FC]):i(P3(void 0,!0))})});var a=this[Uy],r;if(a)r=new Promise(FH0(a,this));else{var f=this[Hy].read();if(f!==null)return Promise.resolve(P3(f,!1));r=new Promise(this[ine])}return this[Uy]=r,r}},B3(EO,Symbol.asyncIterator,function(){return this}),B3(EO,"return",function(){var e=this;return new Promise(function(n,a){e[Hy].destroy(null,function(r){if(r){a(r);return}n(P3(void 0,!0))})})}),EO),NH0),UH0=function(e){var n,a=Object.create(OH0,(n={},B3(n,Hy,{value:e,writable:!0}),B3(n,D3,{value:null,writable:!0}),B3(n,Oy,{value:null,writable:!0}),B3(n,FC,{value:null,writable:!0}),B3(n,_O,{value:e._readableState.endEmitted,writable:!0}),B3(n,ine,{value:function(f,i){var s=a[Hy].read();s?(a[Uy]=null,a[D3]=null,a[Oy]=null,f(P3(s,!1))):(a[D3]=f,a[Oy]=i)},writable:!0}),n));return a[Uy]=null,DH0(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var f=a[Oy];f!==null&&(a[Uy]=null,a[D3]=null,a[Oy]=null,f(r)),a[FC]=r;return}var i=a[D3];i!==null&&(a[Uy]=null,a[D3]=null,a[Oy]=null,i(P3(void 0,!0))),a[_O]=!0}),e.on("readable",LH0.bind(null,a)),a};eAe.exports=UH0});var aAe=D((UWn,nAe)=>{u();p();nAe.exports=function(){throw new Error("Readable.from is not available in the browser")}});var TO=D((qWn,pAe)=>{"use strict";u();p();pAe.exports=Ea;var Pw;Ea.ReadableState=sAe;var WWn=Or().EventEmitter,iAe=function(e,n){return e.listeners(n).length},OC=vte(),AO=Qf().Buffer,HH0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function zH0(t){return AO.from(t)}function WH0(t){return AO.isBuffer(t)||t instanceof HH0}var sne=rl(),Un;sne&&sne.debuglog?Un=sne.debuglog("stream"):Un=function(){};var qH0=D_e(),hne=$te(),jH0=Jte(),GH0=jH0.getHighWaterMark,IO=Ny().codes,KH0=IO.ERR_INVALID_ARG_TYPE,QH0=IO.ERR_STREAM_PUSH_AFTER_EOF,VH0=IO.ERR_METHOD_NOT_IMPLEMENTED,YH0=IO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Lw,one,cne;Nt()(Ea,OC);var NC=hne.errorOrDestroy,dne=["error","close","destroy","pause","resume"];function $H0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function sAe(t,e,n){Pw=Pw||M3(),t=t||{},typeof n!="boolean"&&(n=e instanceof Pw),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=GH0(this,t,"readableHighWaterMark",n),this.buffer=new qH0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Lw||(Lw=xO().StringDecoder),this.decoder=new Lw(t.encoding),this.encoding=t.encoding)}function Ea(t){if(Pw=Pw||M3(),!(this instanceof Ea))return new Ea(t);var e=this instanceof Pw;this._readableState=new sAe(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),OC.call(this)}Object.defineProperty(Ea.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Ea.prototype.destroy=hne.destroy;Ea.prototype._undestroy=hne.undestroy;Ea.prototype._destroy=function(t,e){e(t)};Ea.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=AO.from(t,e),e=""),a=!0),oAe(this,t,e,!1,a)};Ea.prototype.unshift=function(t){return oAe(this,t,null,!0,!1)};function oAe(t,e,n,a,r){Un("readableAddChunk",e);var f=t._readableState;if(e===null)f.reading=!1,ZH0(t,f);else{var i;if(r||(i=JH0(f,e)),i)NC(t,i);else if(f.objectMode||e&&e.length>0)if(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==AO.prototype&&(e=zH0(e)),a)f.endEmitted?NC(t,new YH0):lne(t,f,e,!0);else if(f.ended)NC(t,new QH0);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?lne(t,f,e,!1):pne(t,f)):lne(t,f,e,!1)}else a||(f.reading=!1,pne(t,f))}return!f.ended&&(f.length=rAe?t=rAe:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function fAe(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=XH0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}Ea.prototype.read=function(t){Un("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Un("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?une(this):CO(this),null;if(t=fAe(t,e),t===0&&e.ended)return e.length===0&&une(this),null;var a=e.needReadable;Un("need readable",a),(e.length===0||e.length-t0?r=lAe(t,e):r=null,r===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&une(this)),r!==null&&this.emit("data",r),r};function ZH0(t,e){if(Un("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?CO(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,cAe(t)))}}function CO(t){var e=t._readableState;Un("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Un("emitReadable",e.flowing),e.emittedReadable=!0,x.nextTick(cAe,t))}function cAe(t){var e=t._readableState;Un("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,mne(t)}function pne(t,e){e.readingMore||(e.readingMore=!0,x.nextTick(ez0,t,e))}function ez0(t,e){for(;!e.reading&&!e.ended&&(e.length1&&uAe(a.pipes,t)!==-1)&&!c&&(Un("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function h(O){Un("onerror",O),k(),t.removeListener("error",h),iAe(t,"error")===0&&NC(t,O)}$H0(t,"error",h);function y(){t.removeListener("finish",v),k()}t.once("close",y);function v(){Un("onfinish"),t.removeListener("close",y),k()}t.once("finish",v);function k(){Un("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(Un("pipe resume"),n.resume()),t};function tz0(t){return function(){var n=t._readableState;Un("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&iAe(t,"data")&&(n.flowing=!0,mne(t))}}Ea.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f0,a.flowing!==!1&&this.resume()):t==="readable"&&!a.endEmitted&&!a.readableListening&&(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,Un("on readable",a.length,a.reading),a.length?CO(this):a.reading||x.nextTick(nz0,this)),n};Ea.prototype.addListener=Ea.prototype.on;Ea.prototype.removeListener=function(t,e){var n=OC.prototype.removeListener.call(this,t,e);return t==="readable"&&x.nextTick(dAe,this),n};Ea.prototype.removeAllListeners=function(t){var e=OC.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&x.nextTick(dAe,this),e};function dAe(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function nz0(t){Un("readable nexttick read 0"),t.read(0)}Ea.prototype.resume=function(){var t=this._readableState;return t.flowing||(Un("resume"),t.flowing=!t.readableListening,az0(this,t)),t.paused=!1,this};function az0(t,e){e.resumeScheduled||(e.resumeScheduled=!0,x.nextTick(rz0,t,e))}function rz0(t,e){Un("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),mne(t),e.flowing&&!e.reading&&t.read(0)}Ea.prototype.pause=function(){return Un("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Un("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function mne(t){var e=t._readableState;for(Un("flow",e.flowing);e.flowing&&t.read()!==null;);}Ea.prototype.wrap=function(t){var e=this,n=this._readableState,a=!1;t.on("end",function(){if(Un("wrapped end"),n.decoder&&!n.ended){var i=n.decoder.end();i&&i.length&&e.push(i)}e.push(null)}),t.on("data",function(i){if(Un("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&!(!n.objectMode&&(!i||!i.length))){var s=e.push(i);s||(a=!0,t.pause())}});for(var r in t)this[r]===void 0&&typeof t[r]=="function"&&(this[r]=function(s){return function(){return t[s].apply(t,arguments)}}(r));for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.first():n=e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n}function une(t){var e=t._readableState;Un("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,x.nextTick(fz0,e,t))}function fz0(t,e){if(Un("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(Ea.from=function(t,e){return cne===void 0&&(cne=aAe()),cne(Ea,t,e)});function uAe(t,e){for(var n=0,a=t.length;n{"use strict";u();p();mAe.exports=o8;var kO=Ny().codes,iz0=kO.ERR_METHOD_NOT_IMPLEMENTED,sz0=kO.ERR_MULTIPLE_CALLBACK,oz0=kO.ERR_TRANSFORM_ALREADY_TRANSFORMING,cz0=kO.ERR_TRANSFORM_WITH_LENGTH_0,SO=M3();Nt()(o8,SO);function dz0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(a===null)return this.emit("error",new sz0);n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();yAe.exports=UC;var bAe=RO();Nt()(UC,bAe);function UC(t){if(!(this instanceof UC))return new UC(t);bAe.call(this,t)}UC.prototype._transform=function(t,e,n){n(null,t)}});var gne=D((XWn,TAe)=>{"use strict";u();p();var yne;function uz0(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var wAe=Ny().codes,pz0=wAe.ERR_MISSING_ARGS,hz0=wAe.ERR_STREAM_DESTROYED;function gAe(t){if(t)throw t}function mz0(t){return t.setHeader&&typeof t.abort=="function"}function bz0(t,e,n,a){a=uz0(a);var r=!1;t.on("close",function(){r=!0}),yne===void 0&&(yne=LC()),yne(t,{readable:e,writable:n},function(i){if(i)return a(i);r=!0,a()});var f=!1;return function(i){if(!r&&!f){if(f=!0,mz0(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();a(i||new hz0("pipe"))}}}function vAe(t){t()}function yz0(t,e){return t.pipe(e)}function gz0(t){return!t.length||typeof t[t.length-1]!="function"?gAe:t.pop()}function vz0(){for(var t=arguments.length,e=new Array(t),n=0;n0;return bz0(i,o,c,function(d){r||(r=d),d&&f.forEach(vAe),!o&&(f.forEach(vAe),a(r))})});return e.reduce(yz0)}TAe.exports=vz0});var MO=D((Id,xAe)=>{u();p();Id=xAe.exports=TO();Id.Stream=Id;Id.Readable=Id;Id.Writable=gO();Id.Duplex=M3();Id.Transform=RO();Id.PassThrough=bne();Id.finished=LC();Id.pipeline=gne()});var vne=D((aqn,_Ae)=>{"use strict";u();p();var BO=En().Buffer,EAe=MO().Transform,wz0=Nt();function Tz0(t,e){if(!BO.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function L3(t){EAe.call(this),this._block=BO.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}wz0(L3,EAe);L3.prototype._transform=function(t,e,n){var a=null;try{this.update(t,e)}catch(r){a=r}n(a)};L3.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)};L3.prototype.update=function(t,e){if(Tz0(t,"Data"),this._finalized)throw new Error("Digest already called");BO.isBuffer(t)||(t=BO.from(t,e));for(var n=this._block,a=0;this._blockOffset+t.length-a>=this._blockSize;){for(var r=this._blockOffset;r0;++f)this._length[f]+=i,i=this._length[f]/4294967296|0,i>0&&(this._length[f]-=4294967296*i);return this};L3.prototype._update=function(){throw new Error("_update is not implemented")};L3.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();t!==void 0&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e};L3.prototype._digest=function(){throw new Error("_digest is not implemented")};_Ae.exports=L3});var LO=D((iqn,IAe)=>{"use strict";u();p();var xz0=Nt(),AAe=vne(),Ez0=En().Buffer,_z0=new Array(16);function DO(){AAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}xz0(DO,AAe);DO.prototype._update=function(){for(var t=_z0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);var n=this._a,a=this._b,r=this._c,f=this._d;n=Fo(n,a,r,f,t[0],3614090360,7),f=Fo(f,n,a,r,t[1],3905402710,12),r=Fo(r,f,n,a,t[2],606105819,17),a=Fo(a,r,f,n,t[3],3250441966,22),n=Fo(n,a,r,f,t[4],4118548399,7),f=Fo(f,n,a,r,t[5],1200080426,12),r=Fo(r,f,n,a,t[6],2821735955,17),a=Fo(a,r,f,n,t[7],4249261313,22),n=Fo(n,a,r,f,t[8],1770035416,7),f=Fo(f,n,a,r,t[9],2336552879,12),r=Fo(r,f,n,a,t[10],4294925233,17),a=Fo(a,r,f,n,t[11],2304563134,22),n=Fo(n,a,r,f,t[12],1804603682,7),f=Fo(f,n,a,r,t[13],4254626195,12),r=Fo(r,f,n,a,t[14],2792965006,17),a=Fo(a,r,f,n,t[15],1236535329,22),n=No(n,a,r,f,t[1],4129170786,5),f=No(f,n,a,r,t[6],3225465664,9),r=No(r,f,n,a,t[11],643717713,14),a=No(a,r,f,n,t[0],3921069994,20),n=No(n,a,r,f,t[5],3593408605,5),f=No(f,n,a,r,t[10],38016083,9),r=No(r,f,n,a,t[15],3634488961,14),a=No(a,r,f,n,t[4],3889429448,20),n=No(n,a,r,f,t[9],568446438,5),f=No(f,n,a,r,t[14],3275163606,9),r=No(r,f,n,a,t[3],4107603335,14),a=No(a,r,f,n,t[8],1163531501,20),n=No(n,a,r,f,t[13],2850285829,5),f=No(f,n,a,r,t[2],4243563512,9),r=No(r,f,n,a,t[7],1735328473,14),a=No(a,r,f,n,t[12],2368359562,20),n=Oo(n,a,r,f,t[5],4294588738,4),f=Oo(f,n,a,r,t[8],2272392833,11),r=Oo(r,f,n,a,t[11],1839030562,16),a=Oo(a,r,f,n,t[14],4259657740,23),n=Oo(n,a,r,f,t[1],2763975236,4),f=Oo(f,n,a,r,t[4],1272893353,11),r=Oo(r,f,n,a,t[7],4139469664,16),a=Oo(a,r,f,n,t[10],3200236656,23),n=Oo(n,a,r,f,t[13],681279174,4),f=Oo(f,n,a,r,t[0],3936430074,11),r=Oo(r,f,n,a,t[3],3572445317,16),a=Oo(a,r,f,n,t[6],76029189,23),n=Oo(n,a,r,f,t[9],3654602809,4),f=Oo(f,n,a,r,t[12],3873151461,11),r=Oo(r,f,n,a,t[15],530742520,16),a=Oo(a,r,f,n,t[2],3299628645,23),n=Uo(n,a,r,f,t[0],4096336452,6),f=Uo(f,n,a,r,t[7],1126891415,10),r=Uo(r,f,n,a,t[14],2878612391,15),a=Uo(a,r,f,n,t[5],4237533241,21),n=Uo(n,a,r,f,t[12],1700485571,6),f=Uo(f,n,a,r,t[3],2399980690,10),r=Uo(r,f,n,a,t[10],4293915773,15),a=Uo(a,r,f,n,t[1],2240044497,21),n=Uo(n,a,r,f,t[8],1873313359,6),f=Uo(f,n,a,r,t[15],4264355552,10),r=Uo(r,f,n,a,t[6],2734768916,15),a=Uo(a,r,f,n,t[13],1309151649,21),n=Uo(n,a,r,f,t[4],4149444226,6),f=Uo(f,n,a,r,t[11],3174756917,10),r=Uo(r,f,n,a,t[2],718787259,15),a=Uo(a,r,f,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+a|0,this._c=this._c+r|0,this._d=this._d+f|0};DO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=Ez0.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t};function PO(t,e){return t<>>32-e}function Fo(t,e,n,a,r,f,i){return PO(t+(e&n|~e&a)+r+f|0,i)+e|0}function No(t,e,n,a,r,f,i){return PO(t+(e&a|n&~a)+r+f|0,i)+e|0}function Oo(t,e,n,a,r,f,i){return PO(t+(e^n^a)+r+f|0,i)+e|0}function Uo(t,e,n,a,r,f,i){return PO(t+(n^(e|~a))+r+f|0,i)+e|0}IAe.exports=DO});var NO=D((cqn,DAe)=>{"use strict";u();p();var wne=Qf().Buffer,Az0=Nt(),BAe=vne(),Iz0=new Array(16),HC=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],zC=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],WC=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],qC=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],jC=[0,1518500249,1859775393,2400959708,2840853838],GC=[1352829926,1548603684,1836072691,2053994217,0];function FO(){BAe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}Az0(FO,BAe);FO.prototype._update=function(){for(var t=Iz0,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);for(var n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._a|0,o=this._b|0,c=this._c|0,d=this._d|0,l=this._e|0,h=0;h<80;h+=1){var y,v;h<16?(y=CAe(n,a,r,f,i,t[HC[h]],jC[0],WC[h]),v=MAe(s,o,c,d,l,t[zC[h]],GC[0],qC[h])):h<32?(y=kAe(n,a,r,f,i,t[HC[h]],jC[1],WC[h]),v=RAe(s,o,c,d,l,t[zC[h]],GC[1],qC[h])):h<48?(y=SAe(n,a,r,f,i,t[HC[h]],jC[2],WC[h]),v=SAe(s,o,c,d,l,t[zC[h]],GC[2],qC[h])):h<64?(y=RAe(n,a,r,f,i,t[HC[h]],jC[3],WC[h]),v=kAe(s,o,c,d,l,t[zC[h]],GC[3],qC[h])):(y=MAe(n,a,r,f,i,t[HC[h]],jC[4],WC[h]),v=CAe(s,o,c,d,l,t[zC[h]],GC[4],qC[h])),n=i,i=f,f=zy(r,10),r=a,a=y,s=l,l=d,d=zy(c,10),c=o,o=v}var k=this._b+r+d|0;this._b=this._c+f+l|0,this._c=this._d+i+s|0,this._d=this._e+n+o|0,this._e=this._a+a+c|0,this._a=k};FO.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=wne.alloc?wne.alloc(20):new wne(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t};function zy(t,e){return t<>>32-e}function CAe(t,e,n,a,r,f,i,s){return zy(t+(e^n^a)+f+i|0,s)+r|0}function kAe(t,e,n,a,r,f,i,s){return zy(t+(e&n|~e&a)+f+i|0,s)+r|0}function SAe(t,e,n,a,r,f,i,s){return zy(t+((e|~n)^a)+f+i|0,s)+r|0}function RAe(t,e,n,a,r,f,i,s){return zy(t+(e&a|n&~a)+f+i|0,s)+r|0}function MAe(t,e,n,a,r,f,i,s){return zy(t+(e^(n|~a))+f+i|0,s)+r|0}DAe.exports=FO});var Wy=D((uqn,LAe)=>{u();p();var PAe=En().Buffer;function OO(t,e){this._block=PAe.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}OO.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=PAe.from(t,e));for(var n=this._block,a=this._blockSize,r=t.length,f=this._len,i=0;i=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=this._len*8;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var a=(n&4294967295)>>>0,r=(n-a)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var f=this._hash();return t?f.toString(t):f};OO.prototype._update=function(){throw new Error("_update must be implemented by subclass")};LAe.exports=OO});var OAe=D((mqn,NAe)=>{u();p();var Cz0=Nt(),FAe=Wy(),kz0=En().Buffer,Sz0=[1518500249,1859775393,-1894007588,-899497514],Rz0=new Array(80);function KC(){this.init(),this._w=Rz0,FAe.call(this,64,56)}Cz0(KC,FAe);KC.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Mz0(t){return t<<5|t>>>27}function Bz0(t){return t<<30|t>>>2}function Dz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}KC.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=e[s-3]^e[s-8]^e[s-14]^e[s-16];for(var o=0;o<80;++o){var c=~~(o/20),d=Mz0(n)+Dz0(c,a,r,f)+i+e[o]+Sz0[c]|0;i=f,f=r,r=Bz0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};KC.prototype._hash=function(){var t=kz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};NAe.exports=KC});var zAe=D((gqn,HAe)=>{u();p();var Pz0=Nt(),UAe=Wy(),Lz0=En().Buffer,Fz0=[1518500249,1859775393,-1894007588,-899497514],Nz0=new Array(80);function QC(){this.init(),this._w=Nz0,UAe.call(this,64,56)}Pz0(QC,UAe);QC.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Oz0(t){return t<<1|t>>>31}function Uz0(t){return t<<5|t>>>27}function Hz0(t){return t<<30|t>>>2}function zz0(t,e,n,a){return t===0?e&n|~e&a:t===2?e&n|e&a|n&a:e^n^a}QC.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=0;s<16;++s)e[s]=t.readInt32BE(s*4);for(;s<80;++s)e[s]=Oz0(e[s-3]^e[s-8]^e[s-14]^e[s-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=Uz0(n)+zz0(c,a,r,f)+i+e[o]+Fz0[c]|0;i=f,f=r,r=Hz0(a),a=n,n=d}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0};QC.prototype._hash=function(){var t=Lz0.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};HAe.exports=QC});var Tne=D((Tqn,qAe)=>{u();p();var Wz0=Nt(),WAe=Wy(),qz0=En().Buffer,jz0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Gz0=new Array(64);function VC(){this.init(),this._w=Gz0,WAe.call(this,64,56)}Wz0(VC,WAe);VC.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function Kz0(t,e,n){return n^t&(e^n)}function Qz0(t,e,n){return t&e|n&(t|e)}function Vz0(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function Yz0(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function $z0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function Jz0(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}VC.prototype._update=function(t){for(var e=this._w,n=this._a|0,a=this._b|0,r=this._c|0,f=this._d|0,i=this._e|0,s=this._f|0,o=this._g|0,c=this._h|0,d=0;d<16;++d)e[d]=t.readInt32BE(d*4);for(;d<64;++d)e[d]=Jz0(e[d-2])+e[d-7]+$z0(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var h=c+Yz0(i)+Kz0(i,s,o)+jz0[l]+e[l]|0,y=Vz0(n)+Qz0(n,a,r)|0;c=o,o=s,s=i,i=f+h|0,f=r,r=a,a=n,n=h+y|0}this._a=n+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=f+this._d|0,this._e=i+this._e|0,this._f=s+this._f|0,this._g=o+this._g|0,this._h=c+this._h|0};VC.prototype._hash=function(){var t=qz0.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};qAe.exports=VC});var GAe=D((_qn,jAe)=>{u();p();var Xz0=Nt(),Zz0=Tne(),eW0=Wy(),tW0=En().Buffer,nW0=new Array(64);function UO(){this.init(),this._w=nW0,eW0.call(this,64,56)}Xz0(UO,Zz0);UO.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};UO.prototype._hash=function(){var t=tW0.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};jAe.exports=UO});var xne=D((Cqn,XAe)=>{u();p();var aW0=Nt(),JAe=Wy(),rW0=En().Buffer,KAe=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],fW0=new Array(160);function YC(){this.init(),this._w=fW0,JAe.call(this,128,112)}aW0(YC,JAe);YC.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function QAe(t,e,n){return n^t&(e^n)}function VAe(t,e,n){return t&e|n&(t|e)}function YAe(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function $Ae(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function iW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function sW0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function oW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function cW0(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function ys(t,e){return t>>>0>>0?1:0}YC.prototype._update=function(t){for(var e=this._w,n=this._ah|0,a=this._bh|0,r=this._ch|0,f=this._dh|0,i=this._eh|0,s=this._fh|0,o=this._gh|0,c=this._hh|0,d=this._al|0,l=this._bl|0,h=this._cl|0,y=this._dl|0,v=this._el|0,k=this._fl|0,O=this._gl|0,F=this._hl|0,z=0;z<32;z+=2)e[z]=t.readInt32BE(z*4),e[z+1]=t.readInt32BE(z*4+4);for(;z<160;z+=2){var W=e[z-30],j=e[z-15*2+1],Q=iW0(W,j),V=sW0(j,W);W=e[z-2*2],j=e[z-2*2+1];var X=oW0(W,j),K=cW0(j,W),G=e[z-7*2],R=e[z-7*2+1],T=e[z-16*2],N=e[z-16*2+1],w=V+R|0,b=Q+G+ys(w,V)|0;w=w+K|0,b=b+X+ys(w,K)|0,w=w+N|0,b=b+T+ys(w,N)|0,e[z]=b,e[z+1]=w}for(var A=0;A<160;A+=2){b=e[A],w=e[A+1];var P=VAe(n,a,r),L=VAe(d,l,h),E=YAe(n,d),g=YAe(d,n),B=$Ae(i,v),M=$Ae(v,i),S=KAe[A],q=KAe[A+1],ee=QAe(i,s,o),U=QAe(v,k,O),J=F+M|0,Z=c+B+ys(J,F)|0;J=J+U|0,Z=Z+ee+ys(J,U)|0,J=J+q|0,Z=Z+S+ys(J,q)|0,J=J+w|0,Z=Z+b+ys(J,w)|0;var ne=g+L|0,ue=E+P+ys(ne,g)|0;c=o,F=O,o=s,O=k,s=i,k=v,v=y+J|0,i=f+Z+ys(v,y)|0,f=r,y=h,r=a,h=l,a=n,l=d,d=J+ne|0,n=Z+ue+ys(d,J)|0}this._al=this._al+d|0,this._bl=this._bl+l|0,this._cl=this._cl+h|0,this._dl=this._dl+y|0,this._el=this._el+v|0,this._fl=this._fl+k|0,this._gl=this._gl+O|0,this._hl=this._hl+F|0,this._ah=this._ah+n+ys(this._al,d)|0,this._bh=this._bh+a+ys(this._bl,l)|0,this._ch=this._ch+r+ys(this._cl,h)|0,this._dh=this._dh+f+ys(this._dl,y)|0,this._eh=this._eh+i+ys(this._el,v)|0,this._fh=this._fh+s+ys(this._fl,k)|0,this._gh=this._gh+o+ys(this._gl,O)|0,this._hh=this._hh+c+ys(this._hl,F)|0};YC.prototype._hash=function(){var t=rW0.allocUnsafe(64);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t};XAe.exports=YC});var eIe=D((Rqn,ZAe)=>{u();p();var dW0=Nt(),lW0=xne(),uW0=Wy(),pW0=En().Buffer,hW0=new Array(160);function HO(){this.init(),this._w=hW0,uW0.call(this,128,112)}dW0(HO,lW0);HO.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};HO.prototype._hash=function(){var t=pW0.allocUnsafe(48);function e(n,a,r){t.writeInt32BE(n,r),t.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t};ZAe.exports=HO});var $C=D((c8,tIe)=>{u();p();var c8=tIe.exports=function(e){e=e.toLowerCase();var n=c8[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};c8.sha=OAe();c8.sha1=zAe();c8.sha224=GAe();c8.sha256=Tne();c8.sha384=eIe();c8.sha512=xne()});var aIe=D((Lqn,nIe)=>{u();p();nIe.exports=Cd;var Ene=Or().EventEmitter,mW0=Nt();mW0(Cd,Ene);Cd.Readable=TO();Cd.Writable=gO();Cd.Duplex=M3();Cd.Transform=RO();Cd.PassThrough=bne();Cd.finished=LC();Cd.pipeline=gne();Cd.Stream=Cd;function Cd(){Ene.call(this)}Cd.prototype.pipe=function(t,e){var n=this;function a(d){t.writable&&t.write(d)===!1&&n.pause&&n.pause()}n.on("data",a);function r(){n.readable&&n.resume&&n.resume()}t.on("drain",r),!t._isStdio&&(!e||e.end!==!1)&&(n.on("end",i),n.on("close",s));var f=!1;function i(){f||(f=!0,t.end())}function s(){f||(f=!0,typeof t.destroy=="function"&&t.destroy())}function o(d){if(c(),Ene.listenerCount(this,"error")===0)throw d}n.on("error",o),t.on("error",o);function c(){n.removeListener("data",a),t.removeListener("drain",r),n.removeListener("end",i),n.removeListener("close",s),n.removeListener("error",o),t.removeListener("error",o),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}});var d8=D((Oqn,iIe)=>{u();p();var rIe=En().Buffer,fIe=aIe().Transform,bW0=xO().StringDecoder,yW0=Nt();function fl(t){fIe.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}yW0(fl,fIe);fl.prototype.update=function(t,e,n){typeof t=="string"&&(t=rIe.from(t,e));var a=this._update(t);return this.hashMode?this:(n&&(a=this._toString(a,n)),a)};fl.prototype.setAutoPadding=function(){};fl.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};fl.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};fl.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};fl.prototype._transform=function(t,e,n){var a;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(r){a=r}finally{n(a)}};fl.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)};fl.prototype._finalOrDigest=function(t){var e=this.__final()||rIe.alloc(0);return t&&(e=this._toString(e,t,!0)),e};fl.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new bW0(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var a=this._decoder.write(t);return n&&(a+=this._decoder.end()),a};iIe.exports=fl});var qy=D((zqn,oIe)=>{"use strict";u();p();var gW0=Nt(),vW0=LO(),wW0=NO(),TW0=$C(),sIe=d8();function zO(t){sIe.call(this,"digest"),this._hash=t}gW0(zO,sIe);zO.prototype._update=function(t){this._hash.update(t)};zO.prototype._final=function(){return this._hash.digest()};oIe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new vW0:e==="rmd160"||e==="ripemd160"?new wW0:new zO(TW0(e))}});var lIe=D((jqn,dIe)=>{"use strict";u();p();var xW0=Nt(),jy=En().Buffer,cIe=d8(),EW0=jy.alloc(128),Fw=64;function WO(t,e){cIe.call(this,"digest"),typeof e=="string"&&(e=jy.from(e)),this._alg=t,this._key=e,e.length>Fw?e=t(e):e.length{u();p();var _W0=LO();uIe.exports=function(t){return new _W0().update(t).digest()}});var Cne=D(($qn,hIe)=>{"use strict";u();p();var AW0=Nt(),IW0=lIe(),pIe=d8(),JC=En().Buffer,CW0=_ne(),Ane=NO(),Ine=$C(),kW0=JC.alloc(128);function XC(t,e){pIe.call(this,"digest"),typeof e=="string"&&(e=JC.from(e));var n=t==="sha512"||t==="sha384"?128:64;if(this._alg=t,this._key=e,e.length>n){var a=t==="rmd160"?new Ane:Ine(t);e=a.update(e).digest()}else e.length{SW0.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}});var bIe=D((ejn,mIe)=>{"use strict";u();p();mIe.exports=kne()});var Sne=D((ajn,yIe)=>{u();p();var RW0=Math.pow(2,30)-1;yIe.exports=function(t,e){if(typeof t!="number")throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>RW0||e!==e)throw new TypeError("Bad key length")}});var Rne=D((ijn,vIe)=>{u();p();var qO;global.process&&global.process.browser?qO="utf-8":global.process&&global.process.version?(gIe=parseInt(x.version.split(".")[0].slice(1),10),qO=gIe>=6?"utf-8":"binary"):qO="utf-8";var gIe;vIe.exports=qO});var Bne=D((cjn,wIe)=>{u();p();var Mne=En().Buffer;wIe.exports=function(t,e,n){if(Mne.isBuffer(t))return t;if(typeof t=="string")return Mne.from(t,e);if(ArrayBuffer.isView(t))return Mne.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}});var Dne=D((ujn,_Ie)=>{u();p();var MW0=_ne(),BW0=NO(),DW0=$C(),Gy=En().Buffer,PW0=Sne(),TIe=Rne(),xIe=Bne(),LW0=Gy.alloc(128),jO={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function EIe(t,e,n){var a=FW0(t),r=t==="sha512"||t==="sha384"?128:64;e.length>r?e=a(e):e.length{u();p();var kIe=En().Buffer,OW0=Sne(),AIe=Rne(),IIe=Dne(),CIe=Bne(),GO,ZC=global.crypto&&global.crypto.subtle,UW0={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},Pne=[];function HW0(t){if(global.process&&!global.process.browser||!ZC||!ZC.importKey||!ZC.deriveBits)return Promise.resolve(!1);if(Pne[t]!==void 0)return Pne[t];GO=GO||kIe.alloc(8);var e=SIe(GO,GO,10,128,t).then(function(){return!0}).catch(function(){return!1});return Pne[t]=e,e}var Ky;function Lne(){return Ky||(global.process&&global.process.nextTick?Ky=global.process.nextTick:global.queueMicrotask?Ky=global.queueMicrotask:global.setImmediate?Ky=global.setImmediate:Ky=global.setTimeout,Ky)}function SIe(t,e,n,a,r){return ZC.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(f){return ZC.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},f,a<<3)}).then(function(f){return kIe.from(f)})}function zW0(t,e){t.then(function(n){Lne()(function(){e(null,n)})},function(n){Lne()(function(){e(n)})})}RIe.exports=function(t,e,n,a,r,f){typeof r=="function"&&(f=r,r=void 0),r=r||"sha1";var i=UW0[r.toLowerCase()];if(!i||typeof global.Promise!="function"){Lne()(function(){var s;try{s=IIe(t,e,n,a,r)}catch(o){return f(o)}f(null,s)});return}if(OW0(n,a),t=CIe(t,AIe,"Password"),e=CIe(e,AIe,"Salt"),typeof f!="function")throw new Error("No callback provided to pbkdf2");zW0(HW0(i).then(function(s){return s?SIe(t,e,n,a,i):IIe(t,e,n,a,r)}),f)}});var Nne=D(Fne=>{u();p();Fne.pbkdf2=MIe();Fne.pbkdf2Sync=Dne()});var One=D(kd=>{"use strict";u();p();kd.readUInt32BE=function(e,n){var a=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return a>>>0};kd.writeUInt32BE=function(e,n,a){e[0+a]=n>>>24,e[1+a]=n>>>16&255,e[2+a]=n>>>8&255,e[3+a]=n&255};kd.ip=function(e,n,a,r){for(var f=0,i=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>>o+s&1}for(var s=6;s>=0;s-=2){for(var o=1;o<=25;o+=8)i<<=1,i|=n>>>o+s&1;for(var o=1;o<=25;o+=8)i<<=1,i|=e>>>o+s&1}a[r+0]=f>>>0,a[r+1]=i>>>0};kd.rip=function(e,n,a,r){for(var f=0,i=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)f<<=1,f|=n>>>o+s&1,f<<=1,f|=e>>>o+s&1;for(var s=4;s<8;s++)for(var o=24;o>=0;o-=8)i<<=1,i|=n>>>o+s&1,i<<=1,i|=e>>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};kd.pc1=function(e,n,a,r){for(var f=0,i=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var o=0;o<=24;o+=8)f<<=1,f|=e>>o+s&1}for(var o=0;o<=24;o+=8)f<<=1,f|=n>>o+s&1;for(var s=1;s<=3;s++){for(var o=0;o<=24;o+=8)i<<=1,i|=n>>o+s&1;for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1}for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1;a[r+0]=f>>>0,a[r+1]=i>>>0};kd.r28shl=function(e,n){return e<>>28-n};var KO=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];kd.pc2=function(e,n,a,r){for(var f=0,i=0,s=KO.length>>>1,o=0;o>>KO[o]&1;for(var o=s;o>>KO[o]&1;a[r+0]=f>>>0,a[r+1]=i>>>0};kd.expand=function(e,n,a){var r=0,f=0;r=(e&1)<<5|e>>>27;for(var i=23;i>=15;i-=4)r<<=6,r|=e>>>i&63;for(var i=11;i>=3;i-=4)f|=e>>>i&63,f<<=6;f|=(e&31)<<1|e>>>31,n[a+0]=r>>>0,n[a+1]=f>>>0};var BIe=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];kd.substitute=function(e,n){for(var a=0,r=0;r<4;r++){var f=e>>>18-r*6&63,i=BIe[r*64+f];a<<=4,a|=i}for(var r=0;r<4;r++){var f=n>>>18-r*6&63,i=BIe[4*64+r*64+f];a<<=4,a|=i}return a>>>0};var DIe=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];kd.permute=function(e){for(var n=0,a=0;a>>DIe[a]&1;return n>>>0};kd.padSplit=function(e,n,a){for(var r=e.toString(2);r.length{"use strict";u();p();var WW0=Mc();function Sd(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=t.padding!==!1}PIe.exports=Sd;Sd.prototype._init=function(){};Sd.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};Sd.prototype._buffer=function(e,n){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-n),r=0;r0;r--)n+=this._buffer(e,n),a+=this._flushBuffer(f,a);return n+=this._buffer(e,n),f};Sd.prototype.final=function(e){var n;e&&(n=this.update(e));var a;return this.type==="encrypt"?a=this._finalEncrypt():a=this._finalDecrypt(),n?n.concat(a):a};Sd.prototype._pad=function(e,n){if(n===0)return!1;for(;n{"use strict";u();p();var LIe=Mc(),qW0=Nt(),Ji=One(),FIe=QO();function jW0(){this.tmp=new Array(2),this.keys=null}function _u(t){FIe.call(this,t);var e=new jW0;this._desState=e,this.deriveKeys(e,t.key)}qW0(_u,FIe);NIe.exports=_u;_u.create=function(e){return new _u(e)};var GW0=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];_u.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),LIe.equal(n.length,this.blockSize,"Invalid key length");var a=Ji.readUInt32BE(n,0),r=Ji.readUInt32BE(n,4);Ji.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var f=0;f>>1];a=Ji.r28shl(a,i),r=Ji.r28shl(r,i),Ji.pc2(a,r,e.keys,f)}};_u.prototype._update=function(e,n,a,r){var f=this._desState,i=Ji.readUInt32BE(e,n),s=Ji.readUInt32BE(e,n+4);Ji.ip(i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],this.type==="encrypt"?this._encrypt(f,i,s,f.tmp,0):this._decrypt(f,i,s,f.tmp,0),i=f.tmp[0],s=f.tmp[1],Ji.writeUInt32BE(a,i,r),Ji.writeUInt32BE(a,s,r+4)};_u.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var a=e.length-n,r=n;r>>0,i=y}Ji.rip(s,i,r,f)};_u.prototype._decrypt=function(e,n,a,r,f){for(var i=a,s=n,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],d=e.keys[o+1];Ji.expand(i,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Ji.substitute(c,d),h=Ji.permute(l),y=i;i=(s^h)>>>0,s=y}Ji.rip(i,s,r,f)}});var UIe=D(OIe=>{"use strict";u();p();var KW0=Mc(),QW0=Nt(),VO={};function VW0(t){KW0.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";u();p();var $W0=Mc(),JW0=Nt(),HIe=QO(),F3=Une();function XW0(t,e){$W0.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),a=e.slice(8,16),r=e.slice(16,24);t==="encrypt"?this.ciphers=[F3.create({type:"encrypt",key:n}),F3.create({type:"decrypt",key:a}),F3.create({type:"encrypt",key:r})]:this.ciphers=[F3.create({type:"decrypt",key:r}),F3.create({type:"encrypt",key:a}),F3.create({type:"decrypt",key:n})]}function Qy(t){HIe.call(this,t);var e=new XW0(this.type,this.options.key);this._edeState=e}JW0(Qy,HIe);zIe.exports=Qy;Qy.create=function(e){return new Qy(e)};Qy.prototype._update=function(e,n,a,r){var f=this._edeState;f.ciphers[0]._update(e,n,a,r),f.ciphers[1]._update(a,r,a,r),f.ciphers[2]._update(a,r,a,r)};Qy.prototype._pad=F3.prototype._pad;Qy.prototype._unpad=F3.prototype._unpad});var qIe=D(Nw=>{"use strict";u();p();Nw.utils=One();Nw.Cipher=QO();Nw.DES=Une();Nw.CBC=UIe();Nw.EDE=WIe()});var KIe=D((Ujn,GIe)=>{u();p();var jIe=d8(),l8=qIe(),ZW0=Nt(),Vy=En().Buffer,ek={"des-ede3-cbc":l8.CBC.instantiate(l8.EDE),"des-ede3":l8.EDE,"des-ede-cbc":l8.CBC.instantiate(l8.EDE),"des-ede":l8.EDE,"des-cbc":l8.CBC.instantiate(l8.DES),"des-ecb":l8.DES};ek.des=ek["des-cbc"];ek.des3=ek["des-ede3-cbc"];GIe.exports=YO;ZW0(YO,jIe);function YO(t){jIe.call(this);var e=t.mode.toLowerCase(),n=ek[e],a;t.decrypt?a="decrypt":a="encrypt";var r=t.key;Vy.isBuffer(r)||(r=Vy.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=Vy.concat([r,r.slice(0,8)]));var f=t.iv;Vy.isBuffer(f)||(f=Vy.from(f)),this._des=n.create({key:r,iv:f,type:a})}YO.prototype._update=function(t){return Vy.from(this._des.update(t))};YO.prototype._final=function(){return Vy.from(this._des.final())}});var QIe=D(Hne=>{u();p();Hne.encrypt=function(t,e){return t._cipher.encryptBlock(e)};Hne.decrypt=function(t,e){return t._cipher.decryptBlock(e)}});var Ow=D((Gjn,VIe)=>{u();p();VIe.exports=function(e,n){for(var a=Math.min(e.length,n.length),r=new _.Buffer(a),f=0;f{u();p();var YIe=Ow();zne.encrypt=function(t,e){var n=YIe(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev};zne.decrypt=function(t,e){var n=t._prev;t._prev=e;var a=t._cipher.decryptBlock(e);return YIe(a,n)}});var ZIe=D(XIe=>{u();p();var tk=En().Buffer,eq0=Ow();function JIe(t,e,n){var a=e.length,r=eq0(e,t._cache);return t._cache=t._cache.slice(a),t._prev=tk.concat([t._prev,n?e:r]),r}XIe.encrypt=function(t,e,n){for(var a=tk.allocUnsafe(0),r;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=tk.allocUnsafe(0)),t._cache.length<=e.length)r=t._cache.length,a=tk.concat([a,JIe(t,e.slice(0,r),n)]),e=e.slice(r);else{a=tk.concat([a,JIe(t,e,n)]);break}return a}});var tCe=D(eCe=>{u();p();var Wne=En().Buffer;function tq0(t,e,n){var a=t._cipher.encryptBlock(t._prev),r=a[0]^e;return t._prev=Wne.concat([t._prev.slice(1),Wne.from([n?e:r])]),r}eCe.encrypt=function(t,e,n){for(var a=e.length,r=Wne.allocUnsafe(a),f=-1;++f{u();p();var $O=En().Buffer;function nq0(t,e,n){for(var a,r=-1,f=8,i=0,s,o;++r>r%8,t._prev=aq0(t._prev,n?s:o);return i}function aq0(t,e){var n=t.length,a=-1,r=$O.allocUnsafe(t.length);for(t=$O.concat([t,$O.from([e])]);++a>7;return r}nCe.encrypt=function(t,e,n){for(var a=e.length,r=$O.allocUnsafe(a),f=-1;++f{u();p();var rq0=Ow();function fq0(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}rCe.encrypt=function(t,e){for(;t._cache.length{u();p();function iq0(t){for(var e=t.length,n;e--;)if(n=t.readUInt8(e),n===255)t.writeUInt8(0,e);else{n++,t.writeUInt8(n,e);break}}iCe.exports=iq0});var Gne=D(oCe=>{u();p();var sq0=Ow(),sCe=En().Buffer,oq0=qne();function cq0(t){var e=t._cipher.encryptBlockRaw(t._prev);return oq0(t._prev),e}var jne=16;oCe.encrypt=function(t,e){var n=Math.ceil(e.length/jne),a=t._cache.length;t._cache=sCe.concat([t._cache,sCe.allocUnsafe(n*jne)]);for(var r=0;r{dq0.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}});var XO=D((bGn,cCe)=>{u();p();var lq0={ECB:QIe(),CBC:$Ie(),CFB:ZIe(),CFB8:tCe(),CFB1:aCe(),OFB:fCe(),CTR:Gne(),GCM:Gne()},JO=Kne();for(Qne in JO)JO[Qne].module=lq0[JO[Qne].mode];var Qne;cCe.exports=JO});var nk=D((vGn,lCe)=>{u();p();var ZO=En().Buffer;function Yne(t){ZO.isBuffer(t)||(t=ZO.from(t));for(var e=t.length/4|0,n=new Array(e),a=0;a>>24]^i[d>>>16&255]^s[l>>>8&255]^o[h&255]^e[F++],v=f[d>>>24]^i[l>>>16&255]^s[h>>>8&255]^o[c&255]^e[F++],k=f[l>>>24]^i[h>>>16&255]^s[c>>>8&255]^o[d&255]^e[F++],O=f[h>>>24]^i[c>>>16&255]^s[d>>>8&255]^o[l&255]^e[F++],c=y,d=v,l=k,h=O;return y=(a[c>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[h&255])^e[F++],v=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[c&255])^e[F++],k=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[d&255])^e[F++],O=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[d>>>8&255]<<8|a[l&255])^e[F++],y=y>>>0,v=v>>>0,k=k>>>0,O=O>>>0,[y,v,k,O]}var uq0=[0,1,2,4,8,16,32,64,128,27,54],Ii=function(){for(var t=new Array(256),e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=[],a=[],r=[[],[],[],[]],f=[[],[],[],[]],i=0,s=0,o=0;o<256;++o){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^c&255^99,n[i]=c,a[c]=i;var d=t[i],l=t[d],h=t[l],y=t[c]*257^c*16843008;r[0][i]=y<<24|y>>>8,r[1][i]=y<<16|y>>>16,r[2][i]=y<<8|y>>>24,r[3][i]=y,y=h*16843009^l*65537^d*257^i*16843008,f[0][c]=y<<24|y>>>8,f[1][c]=y<<16|y>>>16,f[2][c]=y<<8|y>>>24,f[3][c]=y,i===0?i=s=1:(i=d^t[t[t[h^d]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:a,SUB_MIX:r,INV_SUB_MIX:f}}();function Rd(t){this._key=Yne(t),this._reset()}Rd.blockSize=4*4;Rd.keySize=256/8;Rd.prototype.blockSize=Rd.blockSize;Rd.prototype.keySize=Rd.keySize;Rd.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,a=(n+1)*4,r=[],f=0;f>>24,i=Ii.SBOX[i>>>24]<<24|Ii.SBOX[i>>>16&255]<<16|Ii.SBOX[i>>>8&255]<<8|Ii.SBOX[i&255],i^=uq0[f/e|0]<<24):e>6&&f%e===4&&(i=Ii.SBOX[i>>>24]<<24|Ii.SBOX[i>>>16&255]<<16|Ii.SBOX[i>>>8&255]<<8|Ii.SBOX[i&255]),r[f]=r[f-e]^i}for(var s=[],o=0;o>>24]]^Ii.INV_SUB_MIX[1][Ii.SBOX[d>>>16&255]]^Ii.INV_SUB_MIX[2][Ii.SBOX[d>>>8&255]]^Ii.INV_SUB_MIX[3][Ii.SBOX[d&255]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=s};Rd.prototype.encryptBlockRaw=function(t){return t=Yne(t),dCe(t,this._keySchedule,Ii.SUB_MIX,Ii.SBOX,this._nRounds)};Rd.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=ZO.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n};Rd.prototype.decryptBlock=function(t){t=Yne(t);var e=t[1];t[1]=t[3],t[3]=e;var n=dCe(t,this._invKeySchedule,Ii.INV_SUB_MIX,Ii.INV_SBOX,this._nRounds),a=ZO.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a};Rd.prototype.scrub=function(){Vne(this._keySchedule),Vne(this._invKeySchedule),Vne(this._key)};lCe.exports.AES=Rd});var hCe=D((xGn,pCe)=>{u();p();var Uw=En().Buffer,pq0=Uw.alloc(16,0);function hq0(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function uCe(t){var e=Uw.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function ak(t){this.h=t,this.state=Uw.alloc(16,0),this.cache=Uw.allocUnsafe(0)}ak.prototype.ghash=function(t){for(var e=-1;++e0;n--)t[n]=t[n]>>>1|(t[n-1]&1)<<31;t[0]=t[0]>>>1,r&&(t[0]=t[0]^225<<24)}this.state=uCe(e)};ak.prototype.update=function(t){this.cache=Uw.concat([this.cache,t]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)};ak.prototype.final=function(t,e){return this.cache.length&&this.ghash(Uw.concat([this.cache,pq0],16)),this.ghash(uCe([0,t,0,e])),this.state};pCe.exports=ak});var $ne=D((AGn,yCe)=>{u();p();var mq0=nk(),Bc=En().Buffer,mCe=d8(),bq0=Nt(),bCe=hCe(),yq0=Ow(),gq0=qne();function vq0(t,e){var n=0;t.length!==e.length&&n++;for(var a=Math.min(t.length,e.length),r=0;r{u();p();var Tq0=nk(),Jne=En().Buffer,gCe=d8(),xq0=Nt();function eU(t,e,n,a){gCe.call(this),this._cipher=new Tq0.AES(e),this._prev=Jne.from(n),this._cache=Jne.allocUnsafe(0),this._secCache=Jne.allocUnsafe(0),this._decrypt=a,this._mode=t}xq0(eU,gCe);eU.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)};eU.prototype._final=function(){this._cipher.scrub()};vCe.exports=eU});var rk=D((MGn,wCe)=>{u();p();var $y=En().Buffer,Eq0=LO();function _q0(t,e,n,a){if($y.isBuffer(t)||(t=$y.from(t,"binary")),e&&($y.isBuffer(e)||(e=$y.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=n/8,f=$y.alloc(r),i=$y.alloc(a||0),s=$y.alloc(0);r>0||a>0;){var o=new Eq0;o.update(s),o.update(t),e&&o.update(e),s=o.digest();var c=0;if(r>0){var d=f.length-r;c=Math.min(r,s.length),s.copy(f,d,0,c),r-=c}if(c0){var l=i.length-a,h=Math.min(a,s.length-c);s.copy(i,l,c,c+h),a-=h}}return s.fill(0),{key:f,iv:i}}wCe.exports=_q0});var _Ce=D(Zne=>{u();p();var TCe=XO(),Aq0=$ne(),u8=En().Buffer,Iq0=Xne(),xCe=d8(),Cq0=nk(),kq0=rk(),Sq0=Nt();function fk(t,e,n){xCe.call(this),this._cache=new tU,this._cipher=new Cq0.AES(e),this._prev=u8.from(n),this._mode=t,this._autopadding=!0}Sq0(fk,xCe);fk.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get();)n=this._mode.encrypt(this,e),a.push(n);return u8.concat(a)};var Rq0=u8.alloc(16,16);fk.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(Rq0))throw this._cipher.scrub(),new Error("data not multiple of block length")};fk.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function tU(){this.cache=u8.allocUnsafe(0)}tU.prototype.add=function(t){this.cache=u8.concat([this.cache,t])};tU.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null};tU.prototype.flush=function(){for(var t=16-this.cache.length,e=u8.allocUnsafe(t),n=-1;++n{u();p();var Bq0=$ne(),Hw=En().Buffer,ACe=XO(),Dq0=Xne(),ICe=d8(),Pq0=nk(),Lq0=rk(),Fq0=Nt();function ik(t,e,n){ICe.call(this),this._cache=new nU,this._last=void 0,this._cipher=new Pq0.AES(e),this._prev=Hw.from(n),this._mode=t,this._autopadding=!0}Fq0(ik,ICe);ik.prototype._update=function(t){this._cache.add(t);for(var e,n,a=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),a.push(n);return Hw.concat(a)};ik.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return Nq0(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")};ik.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function nU(){this.cache=Hw.allocUnsafe(0)}nU.prototype.add=function(t){this.cache=Hw.concat([this.cache,t])};nU.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null};nU.prototype.flush=function(){if(this.cache.length)return this.cache};function Nq0(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n{u();p();var SCe=_Ce(),RCe=kCe(),Uq0=Kne();function Hq0(){return Object.keys(Uq0)}il.createCipher=il.Cipher=SCe.createCipher;il.createCipheriv=il.Cipheriv=SCe.createCipheriv;il.createDecipher=il.Decipher=RCe.createDecipher;il.createDecipheriv=il.Decipheriv=RCe.createDecipheriv;il.listCiphers=il.getCiphers=Hq0});var MCe=D(p8=>{u();p();p8["des-ecb"]={key:8,iv:0};p8["des-cbc"]=p8.des={key:8,iv:8};p8["des-ede3-cbc"]=p8.des3={key:24,iv:8};p8["des-ede3"]={key:24,iv:0};p8["des-ede-cbc"]={key:16,iv:8};p8["des-ede"]={key:16,iv:0}});var FCe=D(sl=>{u();p();var BCe=KIe(),tae=aU(),N3=XO(),h8=MCe(),DCe=rk();function zq0(t,e){t=t.toLowerCase();var n,a;if(N3[t])n=N3[t].key,a=N3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=DCe(e,!1,n,a);return PCe(t,r.key,r.iv)}function Wq0(t,e){t=t.toLowerCase();var n,a;if(N3[t])n=N3[t].key,a=N3[t].iv;else if(h8[t])n=h8[t].key*8,a=h8[t].iv;else throw new TypeError("invalid suite type");var r=DCe(e,!1,n,a);return LCe(t,r.key,r.iv)}function PCe(t,e,n){if(t=t.toLowerCase(),N3[t])return tae.createCipheriv(t,e,n);if(h8[t])return new BCe({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function LCe(t,e,n){if(t=t.toLowerCase(),N3[t])return tae.createDecipheriv(t,e,n);if(h8[t])return new BCe({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function qq0(){return Object.keys(h8).concat(tae.getCiphers())}sl.createCipher=sl.Cipher=zq0;sl.createCipheriv=sl.Cipheriv=PCe;sl.createDecipher=sl.Decipher=Wq0;sl.createDecipheriv=sl.Decipheriv=LCe;sl.listCiphers=sl.getCiphers=qq0});var nae=D((YGn,NCe)=>{u();p();var Jy=kr(),jq0=zw();function Xy(t){this.rand=t||new jq0.Rand}NCe.exports=Xy;Xy.create=function(e){return new Xy(e)};Xy.prototype._randbelow=function(e){var n=e.bitLength(),a=Math.ceil(n/8);do var r=new Jy(this.rand.generate(a));while(r.cmp(e)>=0);return r};Xy.prototype._randrange=function(e,n){var a=n.sub(e);return e.add(this._randbelow(a))};Xy.prototype.test=function(e,n,a){var r=e.bitLength(),f=Jy.mont(e),i=new Jy(1).toRed(f);n||(n=Math.max(1,r/48|0));for(var s=e.subn(1),o=0;!s.testn(o);o++);for(var c=e.shrn(o),d=s.toRed(f),l=!0;n>0;n--){var h=this._randrange(new Jy(2),s);a&&a(h);var y=h.toRed(f).redPow(c);if(!(y.cmp(i)===0||y.cmp(d)===0)){for(var v=1;v0;n--){var d=this._randrange(new Jy(2),i),l=e.gcd(d);if(l.cmpn(1)!==0)return l;var h=d.toRed(r).redPow(o);if(!(h.cmp(f)===0||h.cmp(c)===0)){for(var y=1;y{u();p();var Gq0=s8();HCe.exports=sae;sae.simpleSieve=fae;sae.fermatTest=iae;var Zs=kr(),Kq0=new Zs(24),Qq0=nae(),OCe=new Qq0,Vq0=new Zs(1),rae=new Zs(2),Yq0=new Zs(5),XGn=new Zs(16),ZGn=new Zs(8),$q0=new Zs(10),Jq0=new Zs(3),eKn=new Zs(7),Xq0=new Zs(11),UCe=new Zs(4),tKn=new Zs(12),aae=null;function Zq0(){if(aae!==null)return aae;var t=1048576,e=[];e[0]=2;for(var n=1,a=3;at;)n.ishrn(1);if(n.isEven()&&n.iadd(Vq0),n.testn(1)||n.iadd(rae),e.cmp(rae)){if(!e.cmp(Yq0))for(;n.mod($q0).cmp(Jq0);)n.iadd(UCe)}else for(;n.mod(Kq0).cmp(Xq0);)n.iadd(UCe);if(a=n.shrn(1),fae(a)&&fae(n)&&iae(a)&&iae(n)&&OCe.test(a)&&OCe.test(n))return n}}});var zCe=D((fKn,ej0)=>{ej0.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}});var GCe=D((iKn,jCe)=>{u();p();var Md=kr(),tj0=nae(),WCe=new tj0,nj0=new Md(24),aj0=new Md(11),rj0=new Md(10),fj0=new Md(3),ij0=new Md(7),qCe=oae(),sj0=s8();jCe.exports=m8;function oj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._pub=new Md(t),this}function cj0(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this._priv=new Md(t),this}var rU={};function dj0(t,e){var n=e.toString("hex"),a=[n,t.toString(16)].join("_");if(a in rU)return rU[a];var r=0;if(t.isEven()||!qCe.simpleSieve||!qCe.fermatTest(t)||!WCe.test(t))return r+=1,n==="02"||n==="05"?r+=8:r+=4,rU[a]=r,r;WCe.test(t.shrn(1))||(r+=2);var f;switch(n){case"02":t.mod(nj0).cmp(aj0)&&(r+=8);break;case"05":f=t.mod(rj0),f.cmp(fj0)&&f.cmp(ij0)&&(r+=8);break;default:r+=4}return rU[a]=r,r}function m8(t,e,n){this.setGenerator(e),this.__prime=new Md(t),this._prime=Md.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=oj0,this.setPrivateKey=cj0):this._primeCode=8}Object.defineProperty(m8.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=dj0(this.__prime,this.__gen)),this._primeCode}});m8.prototype.generateKeys=function(){return this._priv||(this._priv=new Md(sj0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};m8.prototype.computeSecret=function(t){t=new Md(t),t=t.toRed(this._prime);var e=t.redPow(this._priv).fromRed(),n=new _.Buffer(e.toArray()),a=this.getPrime();if(n.length{u();p();var lj0=oae(),KCe=zCe(),cae=GCe();function uj0(t){var e=new _.Buffer(KCe[t].prime,"hex"),n=new _.Buffer(KCe[t].gen,"hex");return new cae(e,n)}var pj0={binary:!0,hex:!0,base64:!0};function QCe(t,e,n,a){return _.Buffer.isBuffer(e)||pj0[e]===void 0?QCe(t,"binary",e,n):(e=e||"binary",a=a||"binary",n=n||new _.Buffer([2]),_.Buffer.isBuffer(n)||(n=new _.Buffer(n,a)),typeof t=="number"?new cae(lj0(t,n),n,!0):(_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),new cae(t,n,!0)))}Ww.DiffieHellmanGroup=Ww.createDiffieHellmanGroup=Ww.getDiffieHellman=uj0;Ww.createDiffieHellman=Ww.DiffieHellman=QCe});var sk=D((uKn,dae)=>{"use strict";u();p();typeof x>"u"||!x.version||x.version.indexOf("v0.")===0||x.version.indexOf("v1.")===0&&x.version.indexOf("v1.8.")!==0?dae.exports={nextTick:hj0}:dae.exports=x;function hj0(t,e,n,a){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,f,i;switch(r){case 0:case 1:return x.nextTick(t);case 2:return x.nextTick(function(){t.call(null,e)});case 3:return x.nextTick(function(){t.call(null,e,n)});case 4:return x.nextTick(function(){t.call(null,e,n,a)});default:for(f=new Array(r-1),i=0;i{u();p();var mj0={}.toString;YCe.exports=Array.isArray||function(t){return mj0.call(t)=="[object Array]"}});var lae=D((gKn,JCe)=>{u();p();JCe.exports=Or().EventEmitter});var ok=D((uae,ZCe)=>{u();p();var iU=Qf(),b8=iU.Buffer;function XCe(t,e){for(var n in t)e[n]=t[n]}b8.from&&b8.alloc&&b8.allocUnsafe&&b8.allocUnsafeSlow?ZCe.exports=iU:(XCe(iU,uae),uae.Buffer=qw);function qw(t,e,n){return b8(t,e,n)}XCe(b8,qw);qw.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return b8(t,e,n)};qw.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var a=b8(t);return e!==void 0?typeof n=="string"?a.fill(e,n):a.fill(e):a.fill(0),a};qw.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return b8(t)};qw.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return iU.SlowBuffer(t)}});var jw=D(Ho=>{u();p();function bj0(t){return Array.isArray?Array.isArray(t):sU(t)==="[object Array]"}Ho.isArray=bj0;function yj0(t){return typeof t=="boolean"}Ho.isBoolean=yj0;function gj0(t){return t===null}Ho.isNull=gj0;function vj0(t){return t==null}Ho.isNullOrUndefined=vj0;function wj0(t){return typeof t=="number"}Ho.isNumber=wj0;function Tj0(t){return typeof t=="string"}Ho.isString=Tj0;function xj0(t){return typeof t=="symbol"}Ho.isSymbol=xj0;function Ej0(t){return t===void 0}Ho.isUndefined=Ej0;function _j0(t){return sU(t)==="[object RegExp]"}Ho.isRegExp=_j0;function Aj0(t){return typeof t=="object"&&t!==null}Ho.isObject=Aj0;function Ij0(t){return sU(t)==="[object Date]"}Ho.isDate=Ij0;function Cj0(t){return sU(t)==="[object Error]"||t instanceof Error}Ho.isError=Cj0;function kj0(t){return typeof t=="function"}Ho.isFunction=kj0;function Sj0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}Ho.isPrimitive=Sj0;Ho.isBuffer=Qf().Buffer.isBuffer;function sU(t){return Object.prototype.toString.call(t)}});var tke=D((IKn,pae)=>{"use strict";u();p();function Rj0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var eke=ok().Buffer,ck=rl();function Mj0(t,e,n){t.copy(e,n)}pae.exports=function(){function t(){Rj0(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(n){var a={data:n,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},t.prototype.unshift=function(n){var a={data:n,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},t.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(n){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=n+a.data;return r},t.prototype.concat=function(n){if(this.length===0)return eke.alloc(0);for(var a=eke.allocUnsafe(n>>>0),r=this.head,f=0;r;)Mj0(r.data,a,f),f+=r.data.length,r=r.next;return a},t}();ck&&ck.inspect&&ck.inspect.custom&&(pae.exports.prototype[ck.inspect.custom]=function(){var t=ck.inspect({length:this.length});return this.constructor.name+" "+t})});var hae=D((SKn,nke)=>{"use strict";u();p();var oU=sk();function Bj0(t,e){var n=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oU.nextTick(cU,this,t)):oU.nextTick(cU,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(f){!e&&f?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,oU.nextTick(cU,n,f)):oU.nextTick(cU,n,f):e&&e(f)}),this)}function Dj0(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function cU(t,e){t.emit("error",e)}nke.exports={destroy:Bj0,undestroy:Dj0}});var bae=D((BKn,dke)=>{"use strict";u();p();var Zy=sk();dke.exports=Ci;function rke(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Jj0(e,t)}}var Pj0=!x.browser&&["v0.10","v0.9."].indexOf(x.version.slice(0,5))>-1?setImmediate:Zy.nextTick,Gw;Ci.WritableState=lk;var fke=Object.create(jw());fke.inherits=Nt();var Lj0={deprecate:Zte()},ike=lae(),lU=ok().Buffer,Fj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Nj0(t){return lU.from(t)}function Oj0(t){return lU.isBuffer(t)||t instanceof Fj0}var ske=hae();fke.inherits(Ci,ike);function Uj0(){}function lk(t,e){Gw=Gw||e7(),t=t||{};var n=e instanceof Gw;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var a=t.highWaterMark,r=t.writableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=t.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(s){Kj0(e,s)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new rke(this)}lk.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(lk.prototype,"buffer",{get:Lj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var dU;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(dU=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ci,Symbol.hasInstance,{value:function(t){return dU.call(this,t)?!0:this!==Ci?!1:t&&t._writableState instanceof lk}})):dU=function(t){return t instanceof this};function Ci(t){if(Gw=Gw||e7(),!dU.call(Ci,this)&&!(this instanceof Gw))return new Ci(t);this._writableState=new lk(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),ike.call(this)}Ci.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Hj0(t,e){var n=new Error("write after end");t.emit("error",n),Zy.nextTick(e,n)}function zj0(t,e,n,a){var r=!0,f=!1;return n===null?f=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!e.objectMode&&(f=new TypeError("Invalid non-string/buffer chunk")),f&&(t.emit("error",f),Zy.nextTick(a,f),r=!1),r}Ci.prototype.write=function(t,e,n){var a=this._writableState,r=!1,f=!a.objectMode&&Oj0(t);return f&&!lU.isBuffer(t)&&(t=Nj0(t)),typeof e=="function"&&(n=e,e=null),f?e="buffer":e||(e=a.defaultEncoding),typeof n!="function"&&(n=Uj0),a.ended?Hj0(this,n):(f||zj0(this,a,t,n))&&(a.pendingcb++,r=qj0(this,a,f,t,e,n)),r};Ci.prototype.cork=function(){var t=this._writableState;t.corked++};Ci.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&oke(this,t))};Ci.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function Wj0(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=lU.from(e,n)),e}Object.defineProperty(Ci.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function qj0(t,e,n,a,r,f){if(!n){var i=Wj0(e,a,r);a!==i&&(n=!0,r="buffer",a=i)}var s=e.objectMode?1:a.length;e.length+=s;var o=e.length{"use strict";u();p();var lke=sk(),Xj0=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};hke.exports=y8;var uke=Object.create(jw());uke.inherits=Nt();var pke=vae(),gae=bae();uke.inherits(y8,pke);for(yae=Xj0(gae.prototype),uU=0;uU{"use strict";u();p();var Tae=ok().Buffer,mke=Tae.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function tG0(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function nG0(t){var e=tG0(t);if(typeof e!="string"&&(Tae.isEncoding===mke||!mke(t)))throw new Error("Unknown encoding: "+t);return e||t}bke.StringDecoder=uk;function uk(t){this.encoding=nG0(t);var e;switch(this.encoding){case"utf16le":this.text=oG0,this.end=cG0,e=4;break;case"utf8":this.fillLast=fG0,e=4;break;case"base64":this.text=dG0,this.end=lG0,e=3;break;default:this.write=uG0,this.end=pG0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Tae.allocUnsafe(e)}uk.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function aG0(t,e,n){var a=e.length-1;if(a=0?(r>0&&(t.lastNeed=r-1),r):--a=0?(r>0&&(t.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:t.lastNeed=r-3),r):0))}function rG0(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function fG0(t){var e=this.lastTotal-this.lastNeed,n=rG0(this,t,e);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function iG0(t,e){var n=aG0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var a=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)}function sG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function oG0(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function cG0(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function dG0(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function lG0(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function uG0(t){return t.toString(this.encoding)}function pG0(t){return t&&t.length?this.write(t):""}});var vae=D((WKn,kke)=>{"use strict";u();p();var Qw=sk();kke.exports=ef;var hG0=$Ce(),pk;ef.ReadableState=Eke;var zKn=Or().EventEmitter,wke=function(t,e){return t.listeners(e).length},Cae=lae(),hk=ok().Buffer,mG0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function bG0(t){return hk.from(t)}function yG0(t){return hk.isBuffer(t)||t instanceof mG0}var Tke=Object.create(jw());Tke.inherits=Nt();var Eae=rl(),qa=void 0;Eae&&Eae.debuglog?qa=Eae.debuglog("stream"):qa=function(){};var gG0=tke(),xke=hae(),Kw;Tke.inherits(ef,Cae);var _ae=["error","close","destroy","pause","resume"];function vG0(t,e,n){if(typeof t.prependListener=="function")return t.prependListener(e,n);!t._events||!t._events[e]?t.on(e,n):hG0(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]}function Eke(t,e){pk=pk||e7(),t=t||{};var n=e instanceof pk;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var a=t.highWaterMark,r=t.readableHighWaterMark,f=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=f,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new gG0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(Kw||(Kw=xae().StringDecoder),this.decoder=new Kw(t.encoding),this.encoding=t.encoding)}function ef(t){if(pk=pk||e7(),!(this instanceof ef))return new ef(t);this._readableState=new Eke(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Cae.call(this)}Object.defineProperty(ef.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});ef.prototype.destroy=xke.destroy;ef.prototype._undestroy=xke.undestroy;ef.prototype._destroy=function(t,e){this.push(null),e(t)};ef.prototype.push=function(t,e){var n=this._readableState,a;return n.objectMode?a=!0:typeof t=="string"&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=hk.from(t,e),e=""),a=!0),_ke(this,t,e,!1,a)};ef.prototype.unshift=function(t){return _ke(this,t,null,!0,!1)};function _ke(t,e,n,a,r){var f=t._readableState;if(e===null)f.reading=!1,EG0(t,f);else{var i;r||(i=wG0(f,e)),i?t.emit("error",i):f.objectMode||e&&e.length>0?(typeof e!="string"&&!f.objectMode&&Object.getPrototypeOf(e)!==hk.prototype&&(e=bG0(e)),a?f.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):Aae(t,f,e,!0):f.ended?t.emit("error",new Error("stream.push() after EOF")):(f.reading=!1,f.decoder&&!n?(e=f.decoder.write(e),f.objectMode||e.length!==0?Aae(t,f,e,!1):Ake(t,f)):Aae(t,f,e,!1))):a||(f.reading=!1)}return TG0(f)}function Aae(t,e,n,a){e.flowing&&e.length===0&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,a?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&hU(t)),Ake(t,e)}function wG0(t,e){var n;return!yG0(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function TG0(t){return!t.ended&&(t.needReadable||t.length=yke?t=yke:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function gke(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=xG0(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}ef.prototype.read=function(t){qa("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return qa("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Iae(this):hU(this),null;if(t=gke(t,e),t===0&&e.ended)return e.length===0&&Iae(this),null;var a=e.needReadable;qa("need readable",a),(e.length===0||e.length-t0?r=Ike(t,e):r=null,r===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&Iae(this)),r!==null&&this.emit("data",r),r};function EG0(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,hU(t)}}function hU(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(qa("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Qw.nextTick(vke,t):vke(t))}function vke(t){qa("emit readable"),t.emit("readable"),kae(t)}function Ake(t,e){e.readingMore||(e.readingMore=!0,Qw.nextTick(_G0,t,e))}function _G0(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&Cke(a.pipes,t)!==-1)&&!c&&(qa("false write response, pause",a.awaitDrain),a.awaitDrain++,l=!0),n.pause())}function y(F){qa("onerror",F),O(),t.removeListener("error",y),wke(t,"error")===0&&t.emit("error",F)}vG0(t,"error",y);function v(){t.removeListener("finish",k),O()}t.once("close",v);function k(){qa("onfinish"),t.removeListener("close",v),O()}t.once("finish",k);function O(){qa("unpipe"),n.unpipe(t)}return t.emit("pipe",n),a.flowing||(qa("pipe resume"),n.resume()),t};function AG0(t){return function(){var e=t._readableState;qa("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&wke(t,"data")&&(e.flowing=!0,kae(t))}}ef.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var f=0;f=e.length?(e.decoder?n=e.buffer.join(""):e.buffer.length===1?n=e.buffer.head.data:n=e.buffer.concat(e.length),e.buffer.clear()):n=SG0(t,e.buffer,e.decoder),n}function SG0(t,e,n){var a;return tf.length?f.length:t;if(i===f.length?r+=f:r+=f.slice(0,t),t-=i,t===0){i===f.length?(++a,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=f.slice(i));break}++a}return e.length-=a,r}function MG0(t,e){var n=hk.allocUnsafe(t),a=e.head,r=1;for(a.data.copy(n),t-=a.data.length;a=a.next;){var f=a.data,i=t>f.length?f.length:t;if(f.copy(n,n.length-t,0,i),t-=i,t===0){i===f.length?(++r,a.next?e.head=a.next:e.head=e.tail=null):(e.head=a,a.data=f.slice(i));break}++r}return e.length-=r,n}function Iae(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Qw.nextTick(BG0,e,t))}function BG0(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function Cke(t,e){for(var n=0,a=t.length;n{"use strict";u();p();Mke.exports=g8;var mU=e7(),Rke=Object.create(jw());Rke.inherits=Nt();Rke.inherits(g8,mU);function DG0(t,e){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,e!=null&&this.push(e),a(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";u();p();Pke.exports=mk;var Bke=Sae(),Dke=Object.create(jw());Dke.inherits=Nt();Dke.inherits(mk,Bke);function mk(t){if(!(this instanceof mk))return new mk(t);Bke.call(this,t)}mk.prototype._transform=function(t,e,n){n(null,t)}});var Nke=D((Au,Fke)=>{u();p();Au=Fke.exports=vae();Au.Stream=Au;Au.Readable=Au;Au.Writable=bae();Au.Duplex=e7();Au.Transform=Sae();Au.PassThrough=Lke()});var bU=D((ZKn,Hke)=>{u();p();var Vw=Va(),LG0=s8();function FG0(t){var e=Oke(t),n=e.toRed(Vw.mont(t.modulus)).redPow(new Vw(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function Oke(t){var e=t.modulus.byteLength(),n;do n=new Vw(LG0(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function Uke(t,e){var n=FG0(e),a=e.modulus.byteLength(),r=new Vw(t).mul(n.blinder).umod(e.modulus),f=r.toRed(Vw.mont(e.prime1)),i=r.toRed(Vw.mont(e.prime2)),s=e.coefficient,o=e.prime1,c=e.prime2,d=f.redPow(e.exponent1).fromRed(),l=i.redPow(e.exponent2).fromRed(),h=d.isub(l).imul(s).umod(o).imul(c);return l.iadd(h).imul(n.unblinder).umod(e.modulus).toArrayLike(_.Buffer,"be",a)}Uke.getr=Oke;Hke.exports=Uke});var zke=D((nQn,NG0)=>{NG0.exports={name:"elliptic",version:"6.5.5",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var E6=D(Wke=>{"use strict";u();p();var ol=Wke,OG0=kr(),UG0=Mc(),yU=DN();ol.assert=UG0;ol.toArray=yU.toArray;ol.zero2=yU.zero2;ol.toHex=yU.toHex;ol.encode=yU.encode;function HG0(t,e,n){var a=new Array(Math.max(t.bitLength(),n)+1),r;for(r=0;r(f>>1)-1?s=(f>>1)-o:s=o,i.isubn(s)):s=0,a[r]=s,i.iushrn(1)}return a}ol.getNAF=HG0;function zG0(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var a=0,r=0,f;t.cmpn(-a)>0||e.cmpn(-r)>0;){var i=t.andln(3)+a&3,s=e.andln(3)+r&3;i===3&&(i=-1),s===3&&(s=-1);var o;i&1?(f=t.andln(7)+a&7,(f===3||f===5)&&s===2?o=-i:o=i):o=0,n[0].push(o);var c;s&1?(f=e.andln(7)+r&7,(f===3||f===5)&&i===2?c=-s:c=s):c=0,n[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n}ol.getJSF=zG0;function WG0(t,e,n){var a="_"+e;t.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=n.call(this)}}ol.cachedProperty=WG0;function qG0(t){return typeof t=="string"?ol.toArray(t,"hex"):t}ol.parseBytes=qG0;function jG0(t){return new OG0(t,"hex","le")}ol.intFromLE=jG0});var yk=D((iQn,qke)=>{"use strict";u();p();var t7=kr(),bk=E6(),gU=bk.getNAF,GG0=bk.getJSF,vU=bk.assert;function O3(t,e){this.type=t,this.p=new t7(e.p,16),this.red=e.prime?t7.red(e.prime):t7.mont(this.p),this.zero=new t7(0).toRed(this.red),this.one=new t7(1).toRed(this.red),this.two=new t7(2).toRed(this.red),this.n=e.n&&new t7(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}qke.exports=O3;O3.prototype.point=function(){throw new Error("Not implemented")};O3.prototype.validate=function(){throw new Error("Not implemented")};O3.prototype._fixedNafMul=function(e,n){vU(e.precomputed);var a=e._getDoubles(),r=gU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];vU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};O3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,k=d;if(i[v]!==1||i[k]!==1){o[v]=gU(a[v],i[v],this._bitLength),o[k]=gU(a[k],i[k],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[k].length,c);continue}var O=[n[v],null,null,n[k]];n[v].y.cmp(n[k].y)===0?(O[1]=n[v].add(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg())):n[v].y.cmp(n[k].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].add(n[k].neg())):(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=GG0(a[v],a[k]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[k]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};Bd.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var KG0=E6(),Jf=kr(),Rae=Nt(),Yw=yk(),QG0=KG0.assert;function Dd(t){Yw.call(this,"short",t),this.a=new Jf(t.a,16).toRed(this.red),this.b=new Jf(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}Rae(Dd,Yw);jke.exports=Dd;Dd.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Jf(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new Jf(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],QG0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new Jf(s.a,16),b:new Jf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};Dd.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Jf.mont(e),a=new Jf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Jf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};Dd.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Jf(1),i=new Jf(0),s=new Jf(0),o=new Jf(1),c,d,l,h,y,v,k,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=k.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;k=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};Dd.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};Dd.prototype.pointFromX=function(e,n){e=new Jf(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};Dd.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};Dd.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};gs.prototype.isInfinity=function(){return this.inf};gs.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};gs.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};gs.prototype.getX=function(){return this.x.fromRed()};gs.prototype.getY=function(){return this.y.fromRed()};gs.prototype.mul=function(e){return e=new Jf(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};gs.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};gs.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};gs.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};gs.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};gs.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function eo(t,e,n,a){Yw.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Jf(0)):(this.x=new Jf(e,16),this.y=new Jf(n,16),this.z=new Jf(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}Rae(eo,Yw.BasePoint);Dd.prototype.jpoint=function(e,n,a){return new eo(this,e,n,a)};eo.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};eo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};eo.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),k=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,k)};eo.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};eo.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};eo.prototype.inspect=function(){return this.isInfinity()?"":""};eo.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var Vke=D((uQn,Qke)=>{"use strict";u();p();var $w=kr(),Kke=Nt(),wU=yk(),VG0=E6();function Jw(t){wU.call(this,"mont",t),this.a=new $w(t.a,16).toRed(this.red),this.b=new $w(t.b,16).toRed(this.red),this.i4=new $w(4).toRed(this.red).redInvm(),this.two=new $w(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}Kke(Jw,wU);Qke.exports=Jw;Jw.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function vs(t,e,n){wU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new $w(e,16),this.z=new $w(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}Kke(vs,wU.BasePoint);Jw.prototype.decodePoint=function(e,n){return this.point(VG0.toArray(e,n),1)};Jw.prototype.point=function(e,n){return new vs(this,e,n)};Jw.prototype.pointFromJSON=function(e){return vs.fromJSON(this,e)};vs.prototype.precompute=function(){};vs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};vs.fromJSON=function(e,n){return new vs(e,n[0],n[1]||e.one)};vs.prototype.inspect=function(){return this.isInfinity()?"":""};vs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};vs.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};vs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};vs.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};vs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};vs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};vs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};vs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var Jke=D((mQn,$ke)=>{"use strict";u();p();var YG0=E6(),v8=kr(),Yke=Nt(),TU=yk(),$G0=YG0.assert;function Iu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,TU.call(this,"edwards",t),this.a=new v8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new v8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new v8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),$G0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}Yke(Iu,TU);$ke.exports=Iu;Iu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Iu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Iu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Iu.prototype.pointFromX=function(e,n){e=new v8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};Iu.prototype.pointFromY=function(e,n){e=new v8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};Iu.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Ur(t,e,n,a,r){TU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new v8(e,16),this.y=new v8(n,16),this.z=a?new v8(a,16):this.curve.one,this.t=r&&new v8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}Yke(Ur,TU.BasePoint);Iu.prototype.pointFromJSON=function(e){return Ur.fromJSON(this,e)};Iu.prototype.point=function(e,n,a,r){return new Ur(this,e,n,a,r)};Ur.fromJSON=function(e,n){return new Ur(e,n[0],n[1],n[2])};Ur.prototype.inspect=function(){return this.isInfinity()?"":""};Ur.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Ur.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Ur.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Ur.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Ur.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Ur.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Ur.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Ur.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Ur.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Ur.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Ur.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Ur.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Ur.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Ur.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Ur.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Ur.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Ur.prototype.toP=Ur.prototype.normalize;Ur.prototype.mixedAdd=Ur.prototype.add});var Mae=D(Xke=>{"use strict";u();p();var xU=Xke;xU.base=yk();xU.short=Gke();xU.mont=Vke();xU.edwards=Jke()});var cl=D(Sr=>{"use strict";u();p();var JG0=Mc(),XG0=Nt();Sr.inherits=XG0;function ZG0(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function eK0(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):ZG0(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}Sr.htonl=Zke;function nK0(t,e){for(var n="",a=0;a>>0}return f}Sr.join32=aK0;function rK0(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}Sr.split32=rK0;function fK0(t,e){return t>>>e|t<<32-e}Sr.rotr32=fK0;function iK0(t,e){return t<>>32-e}Sr.rotl32=iK0;function sK0(t,e){return t+e>>>0}Sr.sum32=sK0;function oK0(t,e,n){return t+e+n>>>0}Sr.sum32_3=oK0;function cK0(t,e,n,a){return t+e+n+a>>>0}Sr.sum32_4=cK0;function dK0(t,e,n,a,r){return t+e+n+a+r>>>0}Sr.sum32_5=dK0;function lK0(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}Sr.sum64=lK0;function uK0(t,e,n,a){var r=e+a>>>0,f=(r>>0}Sr.sum64_hi=uK0;function pK0(t,e,n,a){var r=e+a;return r>>>0}Sr.sum64_lo=pK0;function hK0(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}Sr.sum64_4_hi=hK0;function mK0(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}Sr.sum64_4_lo=mK0;function bK0(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}Sr.sum64_5_hi=bK0;function yK0(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}Sr.sum64_5_lo=yK0;function gK0(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}Sr.rotr64_hi=gK0;function vK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.rotr64_lo=vK0;function wK0(t,e,n){return t>>>n}Sr.shr64_hi=wK0;function TK0(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}Sr.shr64_lo=TK0});var Xw=D(aSe=>{"use strict";u();p();var nSe=cl(),xK0=Mc();function EU(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}aSe.BlockHash=EU;EU.prototype.update=function(e,n){if(e=nSe.toArray(e,n),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var a=e.length%this._delta8;this.pending=e.slice(e.length-a,e.length),this.pending.length===0&&(this.pending=null),e=nSe.join32(e,0,e.length-a,this.endian);for(var r=0;r>>24&255,r[f++]=e>>>16&255,r[f++]=e>>>8&255,r[f++]=e&255}else for(r[f++]=e&255,r[f++]=e>>>8&255,r[f++]=e>>>16&255,r[f++]=e>>>24&255,r[f++]=0,r[f++]=0,r[f++]=0,r[f++]=0,i=8;i{"use strict";u();p();var EK0=cl(),Cu=EK0.rotr32;function _K0(t,e,n,a){if(t===0)return rSe(e,n,a);if(t===1||t===3)return iSe(e,n,a);if(t===2)return fSe(e,n,a)}w8.ft_1=_K0;function rSe(t,e,n){return t&e^~t&n}w8.ch32=rSe;function fSe(t,e,n){return t&e^t&n^e&n}w8.maj32=fSe;function iSe(t,e,n){return t^e^n}w8.p32=iSe;function AK0(t){return Cu(t,2)^Cu(t,13)^Cu(t,22)}w8.s0_256=AK0;function IK0(t){return Cu(t,6)^Cu(t,11)^Cu(t,25)}w8.s1_256=IK0;function CK0(t){return Cu(t,7)^Cu(t,18)^t>>>3}w8.g0_256=CK0;function kK0(t){return Cu(t,17)^Cu(t,19)^t>>>10}w8.g1_256=kK0});var cSe=D((RQn,oSe)=>{"use strict";u();p();var Zw=cl(),SK0=Xw(),RK0=Bae(),Dae=Zw.rotl32,gk=Zw.sum32,MK0=Zw.sum32_5,BK0=RK0.ft_1,sSe=SK0.BlockHash,DK0=[1518500249,1859775393,2400959708,3395469782];function ku(){if(!(this instanceof ku))return new ku;sSe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Zw.inherits(ku,sSe);oSe.exports=ku;ku.blockSize=512;ku.outSize=160;ku.hmacStrength=80;ku.padLength=64;ku.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var eT=cl(),PK0=Xw(),tT=Bae(),LK0=Mc(),dl=eT.sum32,FK0=eT.sum32_4,NK0=eT.sum32_5,OK0=tT.ch32,UK0=tT.maj32,HK0=tT.s0_256,zK0=tT.s1_256,WK0=tT.g0_256,qK0=tT.g1_256,dSe=PK0.BlockHash,jK0=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Su(){if(!(this instanceof Su))return new Su;dSe.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=jK0,this.W=new Array(64)}eT.inherits(Su,dSe);lSe.exports=Su;Su.blockSize=512;Su.outSize=256;Su.hmacStrength=192;Su.padLength=64;Su.prototype._update=function(e,n){for(var a=this.W,r=0;r<16;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Lae=cl(),uSe=Pae();function T8(){if(!(this instanceof T8))return new T8;uSe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Lae.inherits(T8,uSe);pSe.exports=T8;T8.blockSize=512;T8.outSize=224;T8.hmacStrength=192;T8.padLength=64;T8.prototype._digest=function(e){return e==="hex"?Lae.toHex32(this.h.slice(0,7),"big"):Lae.split32(this.h.slice(0,7),"big")}});var Oae=D((UQn,gSe)=>{"use strict";u();p();var Dc=cl(),GK0=Xw(),KK0=Mc(),Ru=Dc.rotr64_hi,Mu=Dc.rotr64_lo,mSe=Dc.shr64_hi,bSe=Dc.shr64_lo,U3=Dc.sum64,Fae=Dc.sum64_hi,Nae=Dc.sum64_lo,QK0=Dc.sum64_4_hi,VK0=Dc.sum64_4_lo,YK0=Dc.sum64_5_hi,$K0=Dc.sum64_5_lo,ySe=GK0.BlockHash,JK0=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function ll(){if(!(this instanceof ll))return new ll;ySe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=JK0,this.W=new Array(160)}Dc.inherits(ll,ySe);gSe.exports=ll;ll.blockSize=1024;ll.outSize=512;ll.hmacStrength=192;ll.padLength=128;ll.prototype._prepareBlock=function(e,n){for(var a=this.W,r=0;r<32;r++)a[r]=e[n+r];for(;r{"use strict";u();p();var Uae=cl(),vSe=Oae();function x8(){if(!(this instanceof x8))return new x8;vSe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Uae.inherits(x8,vSe);wSe.exports=x8;x8.blockSize=1024;x8.outSize=384;x8.hmacStrength=192;x8.padLength=128;x8.prototype._digest=function(e){return e==="hex"?Uae.toHex32(this.h.slice(0,12),"big"):Uae.split32(this.h.slice(0,12),"big")}});var xSe=D(nT=>{"use strict";u();p();nT.sha1=cSe();nT.sha224=hSe();nT.sha256=Pae();nT.sha384=TSe();nT.sha512=Oae()});var kSe=D(CSe=>{"use strict";u();p();var n7=cl(),dQ0=Xw(),_U=n7.rotl32,ESe=n7.sum32,vk=n7.sum32_3,_Se=n7.sum32_4,ISe=dQ0.BlockHash;function Bu(){if(!(this instanceof Bu))return new Bu;ISe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}n7.inherits(Bu,ISe);CSe.ripemd160=Bu;Bu.blockSize=512;Bu.outSize=160;Bu.hmacStrength=192;Bu.padLength=64;Bu.prototype._update=function(e,n){for(var a=this.h[0],r=this.h[1],f=this.h[2],i=this.h[3],s=this.h[4],o=a,c=r,d=f,l=i,h=s,y=0;y<80;y++){var v=ESe(_U(_Se(a,ASe(y,r,f,i),e[pQ0[y]+n],lQ0(y)),mQ0[y]),s);a=s,s=i,i=_U(f,10),f=r,r=v,v=ESe(_U(_Se(o,ASe(79-y,c,d,l),e[hQ0[y]+n],uQ0(y)),bQ0[y]),h),o=h,h=l,l=_U(d,10),d=c,c=v}v=vk(this.h[1],f,l),this.h[1]=vk(this.h[2],i,h),this.h[2]=vk(this.h[3],s,o),this.h[3]=vk(this.h[4],a,c),this.h[4]=vk(this.h[0],r,d),this.h[0]=v};Bu.prototype._digest=function(e){return e==="hex"?n7.toHex32(this.h,"little"):n7.split32(this.h,"little")};function ASe(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function lQ0(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function uQ0(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var pQ0=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],hQ0=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],mQ0=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],bQ0=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]});var RSe=D((JQn,SSe)=>{"use strict";u();p();var yQ0=cl(),gQ0=Mc();function aT(t,e,n){if(!(this instanceof aT))return new aT(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(yQ0.toArray(e,n))}SSe.exports=aT;aT.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),gQ0(e.length<=this.blockSize);for(var n=e.length;n{u();p();var to=MSe;to.utils=cl();to.common=Xw();to.sha=xSe();to.ripemd=kSe();to.hmac=RSe();to.sha1=to.sha.sha1;to.sha256=to.sha.sha256;to.sha224=to.sha.sha224;to.sha384=to.sha.sha384;to.sha512=to.sha.sha512;to.ripemd160=to.ripemd.ripemd160});var DSe=D((aVn,BSe)=>{u();p();BSe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var AU=D(FSe=>{"use strict";u();p();var zae=FSe,H3=a7(),Hae=Mae(),vQ0=E6(),PSe=vQ0.assert;function LSe(t){t.type==="short"?this.curve=new Hae.short(t):t.type==="edwards"?this.curve=new Hae.edwards(t):this.curve=new Hae.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,PSe(this.g.validate(),"Invalid curve"),PSe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}zae.PresetCurve=LSe;function z3(t,e){Object.defineProperty(zae,t,{configurable:!0,enumerable:!0,get:function(){var n=new LSe(e);return Object.defineProperty(zae,t,{configurable:!0,enumerable:!0,value:n}),n}})}z3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:H3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});z3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:H3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});z3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:H3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});z3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:H3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});z3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:H3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});z3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:H3.sha256,gRed:!1,g:["9"]});z3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:H3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var Wae;try{Wae=DSe()}catch{Wae=void 0}z3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:H3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",Wae]})});var qae=D((cVn,OSe)=>{"use strict";u();p();var wQ0=a7(),r7=DN(),NSe=Mc();function W3(t){if(!(this instanceof W3))return new W3(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=r7.toArray(t.entropy,t.entropyEnc||"hex"),n=r7.toArray(t.nonce,t.nonceEnc||"hex"),a=r7.toArray(t.pers,t.persEnc||"hex");NSe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}OSe.exports=W3;W3.prototype._init=function(e,n,a){var r=e.concat(n).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var f=0;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1};W3.prototype.generate=function(e,n,a,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof n!="string"&&(r=a,a=n,n=null),a&&(a=r7.toArray(a,r||"hex"),this._update(a));for(var f=[];f.length{"use strict";u();p();var TQ0=kr(),xQ0=E6(),jae=xQ0.assert;function zo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}USe.exports=zo;zo.fromPublic=function(e,n,a){return n instanceof zo?n:new zo(e,{pub:n,pubEnc:a})};zo.fromPrivate=function(e,n,a){return n instanceof zo?n:new zo(e,{priv:n,privEnc:a})};zo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};zo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};zo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};zo.prototype._importPrivate=function(e,n){this.priv=new TQ0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};zo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?jae(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&jae(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};zo.prototype.derive=function(e){return e.validate()||jae(e.validate(),"public point not validated"),e.mul(this.priv).getX()};zo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};zo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};zo.prototype.inspect=function(){return""}});var qSe=D((mVn,WSe)=>{"use strict";u();p();var IU=kr(),Qae=E6(),EQ0=Qae.assert;function CU(t,e){if(t instanceof CU)return t;this._importDER(t,e)||(EQ0(t.r&&t.s,"Signature without r or s"),this.r=new IU(t.r,16),this.s=new IU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}WSe.exports=CU;function _Q0(){this.place=0}function Gae(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function zSe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}CU.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=zSe(n),a=zSe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Kae(r,n.length),r=r.concat(n),r.push(2),Kae(r,a.length);var f=r.concat(a),i=[48];return Kae(i,f.length),i=i.concat(f),Qae.encode(i,e)}});var QSe=D((gVn,KSe)=>{"use strict";u();p();var f7=kr(),jSe=qae(),AQ0=E6(),Vae=AU(),IQ0=zw(),GSe=AQ0.assert,Yae=HSe(),kU=qSe();function Pd(t){if(!(this instanceof Pd))return new Pd(t);typeof t=="string"&&(GSe(Object.prototype.hasOwnProperty.call(Vae,t),"Unknown curve "+t),t=Vae[t]),t instanceof Vae.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}KSe.exports=Pd;Pd.prototype.keyPair=function(e){return new Yae(this,e)};Pd.prototype.keyFromPrivate=function(e,n){return Yae.fromPrivate(this,e,n)};Pd.prototype.keyFromPublic=function(e,n){return Yae.fromPublic(this,e,n)};Pd.prototype.genKeyPair=function(e){e||(e={});for(var n=new jSe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||IQ0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new f7(2));;){var f=new f7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};Pd.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};Pd.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new f7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new jSe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new f7(1)),d=0;;d++){var l=r.k?r.k(d):new f7(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var k=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(k=k.umod(this.n),k.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&k.cmp(this.nh)>0&&(k=this.n.sub(k),O^=1),new kU({r:v,s:k,recoveryParam:O})}}}}}};Pd.prototype.verify=function(e,n,a,r){e=this._truncateToN(new f7(e,16)),a=this.keyFromPublic(a,r),n=new kU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};Pd.prototype.recoverPubKey=function(t,e,n,a){GSe((3&n)===n,"The recovery param is more than two bits"),e=new kU(e,a);var r=this.n,f=new f7(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};Pd.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new kU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var JSe=D((TVn,$Se)=>{"use strict";u();p();var wk=E6(),YSe=wk.assert,VSe=wk.parseBytes,rT=wk.cachedProperty;function ws(t,e){this.eddsa=t,this._secret=VSe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=VSe(e.pub)}ws.fromPublic=function(e,n){return n instanceof ws?n:new ws(e,{pub:n})};ws.fromSecret=function(e,n){return n instanceof ws?n:new ws(e,{secret:n})};ws.prototype.secret=function(){return this._secret};rT(ws,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});rT(ws,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});rT(ws,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});rT(ws,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});rT(ws,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});rT(ws,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});ws.prototype.sign=function(e){return YSe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};ws.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};ws.prototype.getSecret=function(e){return YSe(this._secret,"KeyPair is public only"),wk.encode(this.secret(),e)};ws.prototype.getPublic=function(e){return wk.encode(this.pubBytes(),e)};$Se.exports=ws});var ZSe=D((_Vn,XSe)=>{"use strict";u();p();var CQ0=kr(),SU=E6(),kQ0=SU.assert,RU=SU.cachedProperty,SQ0=SU.parseBytes;function i7(t,e){this.eddsa=t,typeof e!="object"&&(e=SQ0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),kQ0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof CQ0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}RU(i7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});RU(i7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});RU(i7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});RU(i7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});i7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};i7.prototype.toHex=function(){return SU.encode(this.toBytes(),"hex").toUpperCase()};XSe.exports=i7});var rRe=D((CVn,aRe)=>{"use strict";u();p();var RQ0=a7(),MQ0=AU(),fT=E6(),BQ0=fT.assert,tRe=fT.parseBytes,nRe=JSe(),eRe=ZSe();function Pc(t){if(BQ0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Pc))return new Pc(t);t=MQ0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=RQ0.sha512}aRe.exports=Pc;Pc.prototype.sign=function(e,n){e=tRe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Pc.prototype.verify=function(e,n,a){e=tRe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Pc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var s7=fRe;s7.version=zke().version;s7.utils=E6();s7.rand=zw();s7.curve=Mae();s7.curves=AU();s7.ec=QSe();s7.eddsa=rRe()});var iRe=D((exports,module)=>{u();p();var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n{u();p();var sRe=sT(),DQ0=Nt(),PQ0=oRe;PQ0.define=function(e,n){return new iT(e,n)};function iT(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}iT.prototype._createNamed=function(e){var n;try{n=iRe().runInThisContext("(function "+this.name+`(entity) { +`))):f=n.stylize("[Circular]","special")),zb(s)){if(i&&r.match(/^\d+$/))return f;s=JSON.stringify(""+r),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=n.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=n.stylize(s,"string"))}return s+": "+f}function QLt(n,e,t){var a=0,r=n.reduce(function(i,s){return a++,s.indexOf(` +`)>=0&&a++,i+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return r>60?t[0]+(e===""?"":e+` + `)+" "+n.join(`, + `)+" "+t[1]:t[0]+e+" "+n.join(", ")+" "+t[1]}$n.types=V_e();function z_e(n){return Array.isArray(n)}$n.isArray=z_e;function Fee(n){return typeof n=="boolean"}$n.isBoolean=Fee;function ON(n){return n===null}$n.isNull=ON;function YLt(n){return n==null}$n.isNullOrUndefined=YLt;function W_e(n){return typeof n=="number"}$n.isNumber=W_e;function VN(n){return typeof n=="string"}$n.isString=VN;function JLt(n){return typeof n=="symbol"}$n.isSymbol=JLt;function zb(n){return n===void 0}$n.isUndefined=zb;function iD(n){return Sv(n)&&Oee(n)==="[object RegExp]"}$n.isRegExp=iD;$n.types.isRegExp=iD;function Sv(n){return typeof n=="object"&&n!==null}$n.isObject=Sv;function FN(n){return Sv(n)&&Oee(n)==="[object Date]"}$n.isDate=FN;$n.types.isDate=FN;function sD(n){return Sv(n)&&(Oee(n)==="[object Error]"||n instanceof Error)}$n.isError=sD;$n.types.isNativeError=sD;function BN(n){return typeof n=="function"}$n.isFunction=BN;function XLt(n){return n===null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||typeof n=="symbol"||typeof n>"u"}$n.isPrimitive=XLt;$n.isBuffer=U_e();function Oee(n){return Object.prototype.toString.call(n)}function Bee(n){return n<10?"0"+n.toString(10):n.toString(10)}var ZLt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eMt(){var n=new Date,e=[Bee(n.getHours()),Bee(n.getMinutes()),Bee(n.getSeconds())].join(":");return[n.getDate(),ZLt[n.getMonth()],e].join(" ")}$n.log=function(){console.log("%s - %s",eMt(),$n.format.apply($n,arguments))};$n.inherits=L0();$n._extend=function(n,e){if(!e||!Sv(e))return n;for(var t=Object.keys(e),a=t.length;a--;)n[t[a]]=e[t[a]];return n};function j_e(n,e){return Object.prototype.hasOwnProperty.call(n,e)}var Hb=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;$n.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Hb&&e[Hb]){var t=e[Hb];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Hb,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var a,r,i=new Promise(function(o,c){a=o,r=c}),s=[],f=0;f{"use strict";p();u();function G_e(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function K_e(n){for(var e=1;e0?this.tail.next=a:this.head=a,this.tail=a,++this.length}},{key:"unshift",value:function(t){var a={data:t,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length}},{key:"shift",value:function(){if(this.length!==0){var t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=t+a.data;return r}},{key:"concat",value:function(t){if(this.length===0)return $N.alloc(0);for(var a=$N.allocUnsafe(t>>>0),r=this.head,i=0;r;)dMt(r.data,a,i),i+=r.data.length,r=r.next;return a}},{key:"consume",value:function(t,a){var r;return ts.length?s.length:t;if(f===s.length?i+=s:i+=s.slice(0,t),t-=f,t===0){f===s.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=s.slice(f));break}++r}return this.length-=r,i}},{key:"_getBuffer",value:function(t){var a=$N.allocUnsafe(t),r=this.head,i=1;for(r.data.copy(a),t-=r.data.length;r=r.next;){var s=r.data,f=t>s.length?s.length:t;if(s.copy(a,a.length-t,0,f),t-=f,t===0){f===s.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=s.slice(f));break}++i}return this.length-=i,a}},{key:cMt,value:function(t,a){return Vee(this,K_e(K_e({},a),{},{depth:0,customInspect:!1}))}}]),n}()});var Uee=B((vBn,ewe)=>{"use strict";p();u();function lMt(n,e){var t=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,E.nextTick($ee,this,n)):E.nextTick($ee,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(i){!e&&i?t._writableState?t._writableState.errorEmitted?E.nextTick(UN,t):(t._writableState.errorEmitted=!0,E.nextTick(Z_e,t,i)):E.nextTick(Z_e,t,i):e?(E.nextTick(UN,t),e(i)):E.nextTick(UN,t)}),this)}function Z_e(n,e){$ee(n,e),UN(n)}function UN(n){n._writableState&&!n._writableState.emitClose||n._readableState&&!n._readableState.emitClose||n.emit("close")}function pMt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function $ee(n,e){n.emit("error",e)}function uMt(n,e){var t=n._readableState,a=n._writableState;t&&t.autoDestroy||a&&a.autoDestroy?n.destroy(e):n.emit("error",e)}ewe.exports={destroy:lMt,undestroy:pMt,errorOrDestroy:uMt}});var Wb=B((wBn,awe)=>{"use strict";p();u();function yMt(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}var nwe={};function Zd(n,e,t){t||(t=Error);function a(i,s,f){return typeof e=="string"?e:e(i,s,f)}var r=function(i){yMt(s,i);function s(f,o,c){return i.call(this,a(f,o,c))||this}return s}(t);r.prototype.name=t.name,r.prototype.code=n,nwe[n]=r}function twe(n,e){if(Array.isArray(n)){var t=n.length;return n=n.map(function(a){return String(a)}),t>2?"one of ".concat(e," ").concat(n.slice(0,t-1).join(", "),", or ")+n[t-1]:t===2?"one of ".concat(e," ").concat(n[0]," or ").concat(n[1]):"of ".concat(e," ").concat(n[0])}else return"of ".concat(e," ").concat(String(n))}function mMt(n,e,t){return n.substr(!t||t<0?0:+t,e.length)===e}function bMt(n,e,t){return(t===void 0||t>n.length)&&(t=n.length),n.substring(t-e.length,t)===e}function hMt(n,e,t){return typeof t!="number"&&(t=0),t+e.length>n.length?!1:n.indexOf(e,t)!==-1}Zd("ERR_INVALID_OPT_VALUE",function(n,e){return'The value "'+e+'" is invalid for option "'+n+'"'},TypeError);Zd("ERR_INVALID_ARG_TYPE",function(n,e,t){var a;typeof e=="string"&&mMt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(bMt(n," argument"))r="The ".concat(n," ").concat(a," ").concat(twe(e,"type"));else{var i=hMt(n,".")?"property":"argument";r='The "'.concat(n,'" ').concat(i," ").concat(a," ").concat(twe(e,"type"))}return r+=". Received type ".concat(typeof t),r},TypeError);Zd("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Zd("ERR_METHOD_NOT_IMPLEMENTED",function(n){return"The "+n+" method is not implemented"});Zd("ERR_STREAM_PREMATURE_CLOSE","Premature close");Zd("ERR_STREAM_DESTROYED",function(n){return"Cannot call "+n+" after a stream was destroyed"});Zd("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Zd("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Zd("ERR_STREAM_WRITE_AFTER_END","write after end");Zd("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Zd("ERR_UNKNOWN_ENCODING",function(n){return"Unknown encoding: "+n},TypeError);Zd("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");awe.exports.codes=nwe});var qee=B((EBn,rwe)=>{"use strict";p();u();var gMt=Wb().codes.ERR_INVALID_OPT_VALUE;function vMt(n,e,t){return n.highWaterMark!=null?n.highWaterMark:e?n[t]:null}function TMt(n,e,t,a){var r=vMt(e,a,t);if(r!=null){if(!(isFinite(r)&&Math.floor(r)===r)||r<0){var i=a?t:"highWaterMark";throw new gMt(i,r)}return Math.floor(r)}return n.objectMode?16:16*1024}rwe.exports={getHighWaterMark:TMt}});var zee=B((SBn,iwe)=>{p();u();iwe.exports=_Mt;function _Mt(n,e){if(Hee("noDeprecation"))return n;var t=!1;function a(){if(!t){if(Hee("throwDeprecation"))throw new Error(e);Hee("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return n.apply(this,arguments)}return a}function Hee(n){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[n];return e==null?!1:String(e).toLowerCase()==="true"}});var zN=B((PBn,lwe)=>{"use strict";p();u();lwe.exports=Li;function fwe(n){var e=this;this.next=null,this.entry=null,this.finish=function(){KMt(e,n)}}var Av;Li.WritableState=oD;var wMt={deprecate:zee()},owe=dee(),HN=ki().Buffer,xMt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function IMt(n){return HN.from(n)}function EMt(n){return HN.isBuffer(n)||n instanceof xMt}var jee=Uee(),DMt=qee(),CMt=DMt.getHighWaterMark,W8=Wb().codes,SMt=W8.ERR_INVALID_ARG_TYPE,AMt=W8.ERR_METHOD_NOT_IMPLEMENTED,kMt=W8.ERR_MULTIPLE_CALLBACK,PMt=W8.ERR_STREAM_CANNOT_PIPE,RMt=W8.ERR_STREAM_DESTROYED,LMt=W8.ERR_STREAM_NULL_VALUES,MMt=W8.ERR_STREAM_WRITE_AFTER_END,BMt=W8.ERR_UNKNOWN_ENCODING,kv=jee.errorOrDestroy;L0()(Li,owe);function NMt(){}function oD(n,e,t){Av=Av||j8(),n=n||{},typeof t!="boolean"&&(t=e instanceof Av),this.objectMode=!!n.objectMode,t&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=CMt(this,n,"writableHighWaterMark",t),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=n.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(r){HMt(e,r)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=n.emitClose!==!1,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new fwe(this)}oD.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};(function(){try{Object.defineProperty(oD.prototype,"buffer",{get:wMt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var qN;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(qN=Function.prototype[Symbol.hasInstance],Object.defineProperty(Li,Symbol.hasInstance,{value:function(e){return qN.call(this,e)?!0:this!==Li?!1:e&&e._writableState instanceof oD}})):qN=function(e){return e instanceof this};function Li(n){Av=Av||j8();var e=this instanceof Av;if(!e&&!qN.call(Li,this))return new Li(n);this._writableState=new oD(n,this,e),this.writable=!0,n&&(typeof n.write=="function"&&(this._write=n.write),typeof n.writev=="function"&&(this._writev=n.writev),typeof n.destroy=="function"&&(this._destroy=n.destroy),typeof n.final=="function"&&(this._final=n.final)),owe.call(this)}Li.prototype.pipe=function(){kv(this,new PMt)};function FMt(n,e){var t=new MMt;kv(n,t),E.nextTick(e,t)}function OMt(n,e,t,a){var r;return t===null?r=new LMt:typeof t!="string"&&!e.objectMode&&(r=new SMt("chunk",["string","Buffer"],t)),r?(kv(n,r),E.nextTick(a,r),!1):!0}Li.prototype.write=function(n,e,t){var a=this._writableState,r=!1,i=!a.objectMode&&EMt(n);return i&&!HN.isBuffer(n)&&(n=IMt(n)),typeof e=="function"&&(t=e,e=null),i?e="buffer":e||(e=a.defaultEncoding),typeof t!="function"&&(t=NMt),a.ending?FMt(this,t):(i||OMt(this,a,n,t))&&(a.pendingcb++,r=$Mt(this,a,i,n,e,t)),r};Li.prototype.cork=function(){this._writableState.corked++};Li.prototype.uncork=function(){var n=this._writableState;n.corked&&(n.corked--,!n.writing&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&cwe(this,n))};Li.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new BMt(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(Li.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function VMt(n,e,t){return!n.objectMode&&n.decodeStrings!==!1&&typeof e=="string"&&(e=HN.from(e,t)),e}Object.defineProperty(Li.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function $Mt(n,e,t,a,r,i){if(!t){var s=VMt(e,a,r);a!==s&&(t=!0,r="buffer",a=s)}var f=e.objectMode?1:a.length;e.length+=f;var o=e.length{"use strict";p();u();var QMt=Object.keys||function(n){var e=[];for(var t in n)e.push(t);return e};uwe.exports=Gp;var pwe=GN(),Kee=zN();L0()(Gp,pwe);for(Gee=QMt(Kee.prototype),WN=0;WN{"use strict";p();u();var Yee=hn().Buffer,ywe=Yee.isEncoding||function(n){switch(n=""+n,n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function XMt(n){if(!n)return"utf8";for(var e;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(e)return;n=(""+n).toLowerCase(),e=!0}}function ZMt(n){var e=XMt(n);if(typeof e!="string"&&(Yee.isEncoding===ywe||!ywe(n)))throw new Error("Unknown encoding: "+n);return e||n}mwe.StringDecoder=cD;function cD(n){this.encoding=ZMt(n);var e;switch(this.encoding){case"utf16le":this.text=iBt,this.end=sBt,e=4;break;case"utf8":this.fillLast=nBt,e=4;break;case"base64":this.text=fBt,this.end=oBt,e=3;break;default:this.write=cBt,this.end=dBt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yee.allocUnsafe(e)}cD.prototype.write=function(n){if(n.length===0)return"";var e,t;if(this.lastNeed){if(e=this.fillLast(n),e===void 0)return"";t=this.lastNeed,this.lastNeed=0}else t=0;return t>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function eBt(n,e,t){var a=e.length-1;if(a=0?(r>0&&(n.lastNeed=r-1),r):--a=0?(r>0&&(n.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:n.lastNeed=r-3),r):0))}function tBt(n,e,t){if((e[0]&192)!==128)return n.lastNeed=0,"\uFFFD";if(n.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return n.lastNeed=1,"\uFFFD";if(n.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return n.lastNeed=2,"\uFFFD"}}function nBt(n){var e=this.lastTotal-this.lastNeed,t=tBt(this,n,e);if(t!==void 0)return t;if(this.lastNeed<=n.length)return n.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,e,0,n.length),this.lastNeed-=n.length}function aBt(n,e){var t=eBt(this,n,e);if(!this.lastNeed)return n.toString("utf8",e);this.lastTotal=t;var a=n.length-(t-this.lastNeed);return n.copy(this.lastChar,0,a),n.toString("utf8",e,a)}function rBt(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+"\uFFFD":e}function iBt(n,e){if((n.length-e)%2===0){var t=n.toString("utf16le",e);if(t){var a=t.charCodeAt(t.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",e,n.length-1)}function sBt(n){var e=n&&n.length?this.write(n):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function fBt(n,e){var t=(n.length-e)%3;return t===0?n.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",e,n.length-t))}function oBt(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function cBt(n){return n.toString(this.encoding)}function dBt(n){return n&&n.length?this.write(n):""}});var dD=B(($Bn,gwe)=>{"use strict";p();u();var bwe=Wb().codes.ERR_STREAM_PREMATURE_CLOSE;function lBt(n){var e=!1;return function(){if(!e){e=!0;for(var t=arguments.length,a=new Array(t),r=0;r{"use strict";p();u();var QN;function G8(n,e,t){return e=yBt(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function yBt(n){var e=mBt(n,"string");return typeof e=="symbol"?e:String(e)}function mBt(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var a=t.call(n,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}var bBt=dD(),K8=Symbol("lastResolve"),jb=Symbol("lastReject"),lD=Symbol("error"),YN=Symbol("ended"),Gb=Symbol("lastPromise"),Jee=Symbol("handlePromise"),Kb=Symbol("stream");function Q8(n,e){return{value:n,done:e}}function hBt(n){var e=n[K8];if(e!==null){var t=n[Kb].read();t!==null&&(n[Gb]=null,n[K8]=null,n[jb]=null,e(Q8(t,!1)))}}function gBt(n){E.nextTick(hBt,n)}function vBt(n,e){return function(t,a){n.then(function(){if(e[YN]){t(Q8(void 0,!0));return}e[Jee](t,a)},a)}}var TBt=Object.getPrototypeOf(function(){}),_Bt=Object.setPrototypeOf((QN={get stream(){return this[Kb]},next:function(){var e=this,t=this[lD];if(t!==null)return Promise.reject(t);if(this[YN])return Promise.resolve(Q8(void 0,!0));if(this[Kb].destroyed)return new Promise(function(s,f){E.nextTick(function(){e[lD]?f(e[lD]):s(Q8(void 0,!0))})});var a=this[Gb],r;if(a)r=new Promise(vBt(a,this));else{var i=this[Kb].read();if(i!==null)return Promise.resolve(Q8(i,!1));r=new Promise(this[Jee])}return this[Gb]=r,r}},G8(QN,Symbol.asyncIterator,function(){return this}),G8(QN,"return",function(){var e=this;return new Promise(function(t,a){e[Kb].destroy(null,function(r){if(r){a(r);return}t(Q8(void 0,!0))})})}),QN),TBt),wBt=function(e){var t,a=Object.create(_Bt,(t={},G8(t,Kb,{value:e,writable:!0}),G8(t,K8,{value:null,writable:!0}),G8(t,jb,{value:null,writable:!0}),G8(t,lD,{value:null,writable:!0}),G8(t,YN,{value:e._readableState.endEmitted,writable:!0}),G8(t,Jee,{value:function(i,s){var f=a[Kb].read();f?(a[Gb]=null,a[K8]=null,a[jb]=null,i(Q8(f,!1))):(a[K8]=i,a[jb]=s)},writable:!0}),t));return a[Gb]=null,bBt(e,function(r){if(r&&r.code!=="ERR_STREAM_PREMATURE_CLOSE"){var i=a[jb];i!==null&&(a[Gb]=null,a[K8]=null,a[jb]=null,i(r)),a[lD]=r;return}var s=a[K8];s!==null&&(a[Gb]=null,a[K8]=null,a[jb]=null,s(Q8(void 0,!0))),a[YN]=!0}),e.on("readable",gBt.bind(null,a)),a};vwe.exports=wBt});var wwe=B((jBn,_we)=>{p();u();_we.exports=function(){throw new Error("Readable.from is not available in the browser")}});var GN=B((YBn,Rwe)=>{"use strict";p();u();Rwe.exports=ha;var Pv;ha.ReadableState=Dwe;var QBn=ti().EventEmitter,Ewe=function(e,t){return e.listeners(t).length},uD=dee(),JN=ki().Buffer,xBt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function IBt(n){return JN.from(n)}function EBt(n){return JN.isBuffer(n)||n instanceof xBt}var Xee=Al(),Rn;Xee&&Xee.debuglog?Rn=Xee.debuglog("stream"):Rn=function(){};var DBt=X_e(),ite=Uee(),CBt=qee(),SBt=CBt.getHighWaterMark,XN=Wb().codes,ABt=XN.ERR_INVALID_ARG_TYPE,kBt=XN.ERR_STREAM_PUSH_AFTER_EOF,PBt=XN.ERR_METHOD_NOT_IMPLEMENTED,RBt=XN.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Rv,Zee,ete;L0()(ha,uD);var pD=ite.errorOrDestroy,tte=["error","close","destroy","pause","resume"];function LBt(n,e,t){if(typeof n.prependListener=="function")return n.prependListener(e,t);!n._events||!n._events[e]?n.on(e,t):Array.isArray(n._events[e])?n._events[e].unshift(t):n._events[e]=[t,n._events[e]]}function Dwe(n,e,t){Pv=Pv||j8(),n=n||{},typeof t!="boolean"&&(t=e instanceof Pv),this.objectMode=!!n.objectMode,t&&(this.objectMode=this.objectMode||!!n.readableObjectMode),this.highWaterMark=SBt(this,n,"readableHighWaterMark",t),this.buffer=new DBt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=n.emitClose!==!1,this.autoDestroy=!!n.autoDestroy,this.destroyed=!1,this.defaultEncoding=n.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,n.encoding&&(Rv||(Rv=KN().StringDecoder),this.decoder=new Rv(n.encoding),this.encoding=n.encoding)}function ha(n){if(Pv=Pv||j8(),!(this instanceof ha))return new ha(n);var e=this instanceof Pv;this._readableState=new Dwe(n,this,e),this.readable=!0,n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy)),uD.call(this)}Object.defineProperty(ha.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});ha.prototype.destroy=ite.destroy;ha.prototype._undestroy=ite.undestroy;ha.prototype._destroy=function(n,e){e(n)};ha.prototype.push=function(n,e){var t=this._readableState,a;return t.objectMode?a=!0:typeof n=="string"&&(e=e||t.defaultEncoding,e!==t.encoding&&(n=JN.from(n,e),e=""),a=!0),Cwe(this,n,e,!1,a)};ha.prototype.unshift=function(n){return Cwe(this,n,null,!0,!1)};function Cwe(n,e,t,a,r){Rn("readableAddChunk",e);var i=n._readableState;if(e===null)i.reading=!1,NBt(n,i);else{var s;if(r||(s=MBt(i,e)),s)pD(n,s);else if(i.objectMode||e&&e.length>0)if(typeof e!="string"&&!i.objectMode&&Object.getPrototypeOf(e)!==JN.prototype&&(e=IBt(e)),a)i.endEmitted?pD(n,new RBt):nte(n,i,e,!0);else if(i.ended)pD(n,new kBt);else{if(i.destroyed)return!1;i.reading=!1,i.decoder&&!t?(e=i.decoder.write(e),i.objectMode||e.length!==0?nte(n,i,e,!1):rte(n,i)):nte(n,i,e,!1)}else a||(i.reading=!1,rte(n,i))}return!i.ended&&(i.length=xwe?n=xwe:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function Iwe(n,e){return n<=0||e.length===0&&e.ended?0:e.objectMode?1:n!==n?e.flowing&&e.length?e.buffer.head.data.length:e.length:(n>e.highWaterMark&&(e.highWaterMark=BBt(n)),n<=e.length?n:e.ended?e.length:(e.needReadable=!0,0))}ha.prototype.read=function(n){Rn("read",n),n=parseInt(n,10);var e=this._readableState,t=n;if(n!==0&&(e.emittedReadable=!1),n===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return Rn("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?ate(this):ZN(this),null;if(n=Iwe(n,e),n===0&&e.ended)return e.length===0&&ate(this),null;var a=e.needReadable;Rn("need readable",a),(e.length===0||e.length-n0?r=kwe(n,e):r=null,r===null?(e.needReadable=e.length<=e.highWaterMark,n=0):(e.length-=n,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),t!==n&&e.ended&&ate(this)),r!==null&&this.emit("data",r),r};function NBt(n,e){if(Rn("onEofChunk"),!e.ended){if(e.decoder){var t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length)}e.ended=!0,e.sync?ZN(n):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,Swe(n)))}}function ZN(n){var e=n._readableState;Rn("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(Rn("emitReadable",e.flowing),e.emittedReadable=!0,E.nextTick(Swe,n))}function Swe(n){var e=n._readableState;Rn("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(n.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,ste(n)}function rte(n,e){e.readingMore||(e.readingMore=!0,E.nextTick(FBt,n,e))}function FBt(n,e){for(;!e.reading&&!e.ended&&(e.length1&&Pwe(a.pipes,n)!==-1)&&!c&&(Rn("false write response, pause",a.awaitDrain),a.awaitDrain++),t.pause())}function y(O){Rn("onerror",O),A(),n.removeListener("error",y),Ewe(n,"error")===0&&pD(n,O)}LBt(n,"error",y);function h(){n.removeListener("finish",T),A()}n.once("close",h);function T(){Rn("onfinish"),n.removeListener("close",h),A()}n.once("finish",T);function A(){Rn("unpipe"),t.unpipe(n)}return n.emit("pipe",t),a.flowing||(Rn("pipe resume"),t.resume()),n};function OBt(n){return function(){var t=n._readableState;Rn("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&Ewe(n,"data")&&(t.flowing=!0,ste(n))}}ha.prototype.unpipe=function(n){var e=this._readableState,t={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return n&&n!==e.pipes?this:(n||(n=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,n&&n.emit("unpipe",this,t),this);if(!n){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i0,a.flowing!==!1&&this.resume()):n==="readable"&&!a.endEmitted&&!a.readableListening&&(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,Rn("on readable",a.length,a.reading),a.length?ZN(this):a.reading||E.nextTick(VBt,this)),t};ha.prototype.addListener=ha.prototype.on;ha.prototype.removeListener=function(n,e){var t=uD.prototype.removeListener.call(this,n,e);return n==="readable"&&E.nextTick(Awe,this),t};ha.prototype.removeAllListeners=function(n){var e=uD.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&E.nextTick(Awe,this),e};function Awe(n){var e=n._readableState;e.readableListening=n.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:n.listenerCount("data")>0&&n.resume()}function VBt(n){Rn("readable nexttick read 0"),n.read(0)}ha.prototype.resume=function(){var n=this._readableState;return n.flowing||(Rn("resume"),n.flowing=!n.readableListening,$Bt(this,n)),n.paused=!1,this};function $Bt(n,e){e.resumeScheduled||(e.resumeScheduled=!0,E.nextTick(UBt,n,e))}function UBt(n,e){Rn("resume",e.reading),e.reading||n.read(0),e.resumeScheduled=!1,n.emit("resume"),ste(n),e.flowing&&!e.reading&&n.read(0)}ha.prototype.pause=function(){return Rn("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Rn("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ste(n){var e=n._readableState;for(Rn("flow",e.flowing);e.flowing&&n.read()!==null;);}ha.prototype.wrap=function(n){var e=this,t=this._readableState,a=!1;n.on("end",function(){if(Rn("wrapped end"),t.decoder&&!t.ended){var s=t.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),n.on("data",function(s){if(Rn("wrapped data"),t.decoder&&(s=t.decoder.write(s)),!(t.objectMode&&s==null)&&!(!t.objectMode&&(!s||!s.length))){var f=e.push(s);f||(a=!0,n.pause())}});for(var r in n)this[r]===void 0&&typeof n[r]=="function"&&(this[r]=function(f){return function(){return n[f].apply(n,arguments)}}(r));for(var i=0;i=e.length?(e.decoder?t=e.buffer.join(""):e.buffer.length===1?t=e.buffer.first():t=e.buffer.concat(e.length),e.buffer.clear()):t=e.buffer.consume(n,e.decoder),t}function ate(n){var e=n._readableState;Rn("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,E.nextTick(qBt,e,n))}function qBt(n,e){if(Rn("endReadableNT",n.endEmitted,n.length),!n.endEmitted&&n.length===0&&(n.endEmitted=!0,e.readable=!1,e.emit("end"),n.autoDestroy)){var t=e._writableState;(!t||t.autoDestroy&&t.finished)&&e.destroy()}}typeof Symbol=="function"&&(ha.from=function(n,e){return ete===void 0&&(ete=wwe()),ete(ha,n,e)});function Pwe(n,e){for(var t=0,a=n.length;t{"use strict";p();u();Mwe.exports=D2;var eF=Wb().codes,HBt=eF.ERR_METHOD_NOT_IMPLEMENTED,zBt=eF.ERR_MULTIPLE_CALLBACK,WBt=eF.ERR_TRANSFORM_ALREADY_TRANSFORMING,jBt=eF.ERR_TRANSFORM_WITH_LENGTH_0,tF=j8();L0()(D2,tF);function GBt(n,e){var t=this._transformState;t.transforming=!1;var a=t.writecb;if(a===null)return this.emit("error",new zBt);t.writechunk=null,t.writecb=null,e!=null&&this.push(e),a(n);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";p();u();Nwe.exports=yD;var Bwe=nF();L0()(yD,Bwe);function yD(n){if(!(this instanceof yD))return new yD(n);Bwe.call(this,n)}yD.prototype._transform=function(n,e,t){t(null,n)}});var cte=B((iNn,$we)=>{"use strict";p();u();var ote;function QBt(n){var e=!1;return function(){e||(e=!0,n.apply(void 0,arguments))}}var Vwe=Wb().codes,YBt=Vwe.ERR_MISSING_ARGS,JBt=Vwe.ERR_STREAM_DESTROYED;function Fwe(n){if(n)throw n}function XBt(n){return n.setHeader&&typeof n.abort=="function"}function ZBt(n,e,t,a){a=QBt(a);var r=!1;n.on("close",function(){r=!0}),ote===void 0&&(ote=dD()),ote(n,{readable:e,writable:t},function(s){if(s)return a(s);r=!0,a()});var i=!1;return function(s){if(!r&&!i){if(i=!0,XBt(n))return n.abort();if(typeof n.destroy=="function")return n.destroy();a(s||new JBt("pipe"))}}}function Owe(n){n()}function eNt(n,e){return n.pipe(e)}function tNt(n){return!n.length||typeof n[n.length-1]!="function"?Fwe:n.pop()}function nNt(){for(var n=arguments.length,e=new Array(n),t=0;t0;return ZBt(s,o,c,function(d){r||(r=d),d&&i.forEach(Owe),!o&&(i.forEach(Owe),a(r))})});return e.reduce(eNt)}$we.exports=nNt});var aF=B((e6,Uwe)=>{p();u();e6=Uwe.exports=GN();e6.Stream=e6;e6.Readable=e6;e6.Writable=zN();e6.Duplex=j8();e6.Transform=nF();e6.PassThrough=fte();e6.finished=dD();e6.pipeline=cte()});var dte=B((dNn,Hwe)=>{"use strict";p();u();var rF=hn().Buffer,qwe=aF().Transform,aNt=L0();function rNt(n,e){if(!rF.isBuffer(n)&&typeof n!="string")throw new TypeError(e+" must be a string or a buffer")}function Y8(n){qwe.call(this),this._block=rF.allocUnsafe(n),this._blockSize=n,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}aNt(Y8,qwe);Y8.prototype._transform=function(n,e,t){var a=null;try{this.update(n,e)}catch(r){a=r}t(a)};Y8.prototype._flush=function(n){var e=null;try{this.push(this.digest())}catch(t){e=t}n(e)};Y8.prototype.update=function(n,e){if(rNt(n,"Data"),this._finalized)throw new Error("Digest already called");rF.isBuffer(n)||(n=rF.from(n,e));for(var t=this._block,a=0;this._blockOffset+n.length-a>=this._blockSize;){for(var r=this._blockOffset;r0;++i)this._length[i]+=s,s=this._length[i]/4294967296|0,s>0&&(this._length[i]-=4294967296*s);return this};Y8.prototype._update=function(){throw new Error("_update is not implemented")};Y8.prototype.digest=function(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();n!==void 0&&(e=e.toString(n)),this._block.fill(0),this._blockOffset=0;for(var t=0;t<4;++t)this._length[t]=0;return e};Y8.prototype._digest=function(){throw new Error("_digest is not implemented")};Hwe.exports=Y8});var fF=B((uNn,Wwe)=>{"use strict";p();u();var iNt=L0(),zwe=dte(),sNt=hn().Buffer,fNt=new Array(16);function iF(){zwe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}iNt(iF,zwe);iF.prototype._update=function(){for(var n=fNt,e=0;e<16;++e)n[e]=this._block.readInt32LE(e*4);var t=this._a,a=this._b,r=this._c,i=this._d;t=To(t,a,r,i,n[0],3614090360,7),i=To(i,t,a,r,n[1],3905402710,12),r=To(r,i,t,a,n[2],606105819,17),a=To(a,r,i,t,n[3],3250441966,22),t=To(t,a,r,i,n[4],4118548399,7),i=To(i,t,a,r,n[5],1200080426,12),r=To(r,i,t,a,n[6],2821735955,17),a=To(a,r,i,t,n[7],4249261313,22),t=To(t,a,r,i,n[8],1770035416,7),i=To(i,t,a,r,n[9],2336552879,12),r=To(r,i,t,a,n[10],4294925233,17),a=To(a,r,i,t,n[11],2304563134,22),t=To(t,a,r,i,n[12],1804603682,7),i=To(i,t,a,r,n[13],4254626195,12),r=To(r,i,t,a,n[14],2792965006,17),a=To(a,r,i,t,n[15],1236535329,22),t=_o(t,a,r,i,n[1],4129170786,5),i=_o(i,t,a,r,n[6],3225465664,9),r=_o(r,i,t,a,n[11],643717713,14),a=_o(a,r,i,t,n[0],3921069994,20),t=_o(t,a,r,i,n[5],3593408605,5),i=_o(i,t,a,r,n[10],38016083,9),r=_o(r,i,t,a,n[15],3634488961,14),a=_o(a,r,i,t,n[4],3889429448,20),t=_o(t,a,r,i,n[9],568446438,5),i=_o(i,t,a,r,n[14],3275163606,9),r=_o(r,i,t,a,n[3],4107603335,14),a=_o(a,r,i,t,n[8],1163531501,20),t=_o(t,a,r,i,n[13],2850285829,5),i=_o(i,t,a,r,n[2],4243563512,9),r=_o(r,i,t,a,n[7],1735328473,14),a=_o(a,r,i,t,n[12],2368359562,20),t=wo(t,a,r,i,n[5],4294588738,4),i=wo(i,t,a,r,n[8],2272392833,11),r=wo(r,i,t,a,n[11],1839030562,16),a=wo(a,r,i,t,n[14],4259657740,23),t=wo(t,a,r,i,n[1],2763975236,4),i=wo(i,t,a,r,n[4],1272893353,11),r=wo(r,i,t,a,n[7],4139469664,16),a=wo(a,r,i,t,n[10],3200236656,23),t=wo(t,a,r,i,n[13],681279174,4),i=wo(i,t,a,r,n[0],3936430074,11),r=wo(r,i,t,a,n[3],3572445317,16),a=wo(a,r,i,t,n[6],76029189,23),t=wo(t,a,r,i,n[9],3654602809,4),i=wo(i,t,a,r,n[12],3873151461,11),r=wo(r,i,t,a,n[15],530742520,16),a=wo(a,r,i,t,n[2],3299628645,23),t=xo(t,a,r,i,n[0],4096336452,6),i=xo(i,t,a,r,n[7],1126891415,10),r=xo(r,i,t,a,n[14],2878612391,15),a=xo(a,r,i,t,n[5],4237533241,21),t=xo(t,a,r,i,n[12],1700485571,6),i=xo(i,t,a,r,n[3],2399980690,10),r=xo(r,i,t,a,n[10],4293915773,15),a=xo(a,r,i,t,n[1],2240044497,21),t=xo(t,a,r,i,n[8],1873313359,6),i=xo(i,t,a,r,n[15],4264355552,10),r=xo(r,i,t,a,n[6],2734768916,15),a=xo(a,r,i,t,n[13],1309151649,21),t=xo(t,a,r,i,n[4],4149444226,6),i=xo(i,t,a,r,n[11],3174756917,10),r=xo(r,i,t,a,n[2],718787259,15),a=xo(a,r,i,t,n[9],3951481745,21),this._a=this._a+t|0,this._b=this._b+a|0,this._c=this._c+r|0,this._d=this._d+i|0};iF.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var n=sNt.allocUnsafe(16);return n.writeInt32LE(this._a,0),n.writeInt32LE(this._b,4),n.writeInt32LE(this._c,8),n.writeInt32LE(this._d,12),n};function sF(n,e){return n<>>32-e}function To(n,e,t,a,r,i,s){return sF(n+(e&t|~e&a)+r+i|0,s)+e|0}function _o(n,e,t,a,r,i,s){return sF(n+(e&a|t&~a)+r+i|0,s)+e|0}function wo(n,e,t,a,r,i,s){return sF(n+(e^t^a)+r+i|0,s)+e|0}function xo(n,e,t,a,r,i,s){return sF(n+(t^(e|~a))+r+i|0,s)+e|0}Wwe.exports=iF});var cF=B((bNn,Xwe)=>{"use strict";p();u();var lte=ki().Buffer,oNt=L0(),Jwe=dte(),cNt=new Array(16),mD=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],bD=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],hD=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],gD=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],vD=[0,1518500249,1859775393,2400959708,2840853838],TD=[1352829926,1548603684,1836072691,2053994217,0];function oF(){Jwe.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}oNt(oF,Jwe);oF.prototype._update=function(){for(var n=cNt,e=0;e<16;++e)n[e]=this._block.readInt32LE(e*4);for(var t=this._a|0,a=this._b|0,r=this._c|0,i=this._d|0,s=this._e|0,f=this._a|0,o=this._b|0,c=this._c|0,d=this._d|0,l=this._e|0,y=0;y<80;y+=1){var h,T;y<16?(h=jwe(t,a,r,i,s,n[mD[y]],vD[0],hD[y]),T=Ywe(f,o,c,d,l,n[bD[y]],TD[0],gD[y])):y<32?(h=Gwe(t,a,r,i,s,n[mD[y]],vD[1],hD[y]),T=Qwe(f,o,c,d,l,n[bD[y]],TD[1],gD[y])):y<48?(h=Kwe(t,a,r,i,s,n[mD[y]],vD[2],hD[y]),T=Kwe(f,o,c,d,l,n[bD[y]],TD[2],gD[y])):y<64?(h=Qwe(t,a,r,i,s,n[mD[y]],vD[3],hD[y]),T=Gwe(f,o,c,d,l,n[bD[y]],TD[3],gD[y])):(h=Ywe(t,a,r,i,s,n[mD[y]],vD[4],hD[y]),T=jwe(f,o,c,d,l,n[bD[y]],TD[4],gD[y])),t=s,s=i,i=Qb(r,10),r=a,a=h,f=l,l=d,d=Qb(c,10),c=o,o=T}var A=this._b+r+d|0;this._b=this._c+i+l|0,this._c=this._d+s+f|0,this._d=this._e+t+o|0,this._e=this._a+a+c|0,this._a=A};oF.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var n=lte.alloc?lte.alloc(20):new lte(20);return n.writeInt32LE(this._a,0),n.writeInt32LE(this._b,4),n.writeInt32LE(this._c,8),n.writeInt32LE(this._d,12),n.writeInt32LE(this._e,16),n};function Qb(n,e){return n<>>32-e}function jwe(n,e,t,a,r,i,s,f){return Qb(n+(e^t^a)+i+s|0,f)+r|0}function Gwe(n,e,t,a,r,i,s,f){return Qb(n+(e&t|~e&a)+i+s|0,f)+r|0}function Kwe(n,e,t,a,r,i,s,f){return Qb(n+((e|~t)^a)+i+s|0,f)+r|0}function Qwe(n,e,t,a,r,i,s,f){return Qb(n+(e&a|t&~a)+i+s|0,f)+r|0}function Ywe(n,e,t,a,r,i,s,f){return Qb(n+(e^(t|~a))+i+s|0,f)+r|0}Xwe.exports=oF});var Yb=B((vNn,exe)=>{p();u();var Zwe=hn().Buffer;function dF(n,e){this._block=Zwe.alloc(n),this._finalSize=e,this._blockSize=n,this._len=0}dF.prototype.update=function(n,e){typeof n=="string"&&(e=e||"utf8",n=Zwe.from(n,e));for(var t=this._block,a=this._blockSize,r=n.length,i=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var t=this._len*8;if(t<=4294967295)this._block.writeUInt32BE(t,this._blockSize-4);else{var a=(t&4294967295)>>>0,r=(t-a)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(a,this._blockSize-4)}this._update(this._block);var i=this._hash();return n?i.toString(n):i};dF.prototype._update=function(){throw new Error("_update must be implemented by subclass")};exe.exports=dF});var axe=B((wNn,nxe)=>{p();u();var dNt=L0(),txe=Yb(),lNt=hn().Buffer,pNt=[1518500249,1859775393,-1894007588,-899497514],uNt=new Array(80);function _D(){this.init(),this._w=uNt,txe.call(this,64,56)}dNt(_D,txe);_D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function yNt(n){return n<<5|n>>>27}function mNt(n){return n<<30|n>>>2}function bNt(n,e,t,a){return n===0?e&t|~e&a:n===2?e&t|e&a|t&a:e^t^a}_D.prototype._update=function(n){for(var e=this._w,t=this._a|0,a=this._b|0,r=this._c|0,i=this._d|0,s=this._e|0,f=0;f<16;++f)e[f]=n.readInt32BE(f*4);for(;f<80;++f)e[f]=e[f-3]^e[f-8]^e[f-14]^e[f-16];for(var o=0;o<80;++o){var c=~~(o/20),d=yNt(t)+bNt(c,a,r,i)+s+e[o]+pNt[c]|0;s=i,i=r,r=mNt(a),a=t,t=d}this._a=t+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0};_D.prototype._hash=function(){var n=lNt.allocUnsafe(20);return n.writeInt32BE(this._a|0,0),n.writeInt32BE(this._b|0,4),n.writeInt32BE(this._c|0,8),n.writeInt32BE(this._d|0,12),n.writeInt32BE(this._e|0,16),n};nxe.exports=_D});var sxe=B((ENn,ixe)=>{p();u();var hNt=L0(),rxe=Yb(),gNt=hn().Buffer,vNt=[1518500249,1859775393,-1894007588,-899497514],TNt=new Array(80);function wD(){this.init(),this._w=TNt,rxe.call(this,64,56)}hNt(wD,rxe);wD.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function _Nt(n){return n<<1|n>>>31}function wNt(n){return n<<5|n>>>27}function xNt(n){return n<<30|n>>>2}function INt(n,e,t,a){return n===0?e&t|~e&a:n===2?e&t|e&a|t&a:e^t^a}wD.prototype._update=function(n){for(var e=this._w,t=this._a|0,a=this._b|0,r=this._c|0,i=this._d|0,s=this._e|0,f=0;f<16;++f)e[f]=n.readInt32BE(f*4);for(;f<80;++f)e[f]=_Nt(e[f-3]^e[f-8]^e[f-14]^e[f-16]);for(var o=0;o<80;++o){var c=~~(o/20),d=wNt(t)+INt(c,a,r,i)+s+e[o]+vNt[c]|0;s=i,i=r,r=xNt(a),a=t,t=d}this._a=t+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0};wD.prototype._hash=function(){var n=gNt.allocUnsafe(20);return n.writeInt32BE(this._a|0,0),n.writeInt32BE(this._b|0,4),n.writeInt32BE(this._c|0,8),n.writeInt32BE(this._d|0,12),n.writeInt32BE(this._e|0,16),n};ixe.exports=wD});var pte=B((SNn,oxe)=>{p();u();var ENt=L0(),fxe=Yb(),DNt=hn().Buffer,CNt=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],SNt=new Array(64);function xD(){this.init(),this._w=SNt,fxe.call(this,64,56)}ENt(xD,fxe);xD.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ANt(n,e,t){return t^n&(e^t)}function kNt(n,e,t){return n&e|t&(n|e)}function PNt(n){return(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10)}function RNt(n){return(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7)}function LNt(n){return(n>>>7|n<<25)^(n>>>18|n<<14)^n>>>3}function MNt(n){return(n>>>17|n<<15)^(n>>>19|n<<13)^n>>>10}xD.prototype._update=function(n){for(var e=this._w,t=this._a|0,a=this._b|0,r=this._c|0,i=this._d|0,s=this._e|0,f=this._f|0,o=this._g|0,c=this._h|0,d=0;d<16;++d)e[d]=n.readInt32BE(d*4);for(;d<64;++d)e[d]=MNt(e[d-2])+e[d-7]+LNt(e[d-15])+e[d-16]|0;for(var l=0;l<64;++l){var y=c+RNt(s)+ANt(s,f,o)+CNt[l]+e[l]|0,h=PNt(t)+kNt(t,a,r)|0;c=o,o=f,f=s,s=i+y|0,i=r,r=a,a=t,t=y+h|0}this._a=t+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0,this._f=f+this._f|0,this._g=o+this._g|0,this._h=c+this._h|0};xD.prototype._hash=function(){var n=DNt.allocUnsafe(32);return n.writeInt32BE(this._a,0),n.writeInt32BE(this._b,4),n.writeInt32BE(this._c,8),n.writeInt32BE(this._d,12),n.writeInt32BE(this._e,16),n.writeInt32BE(this._f,20),n.writeInt32BE(this._g,24),n.writeInt32BE(this._h,28),n};oxe.exports=xD});var dxe=B((PNn,cxe)=>{p();u();var BNt=L0(),NNt=pte(),FNt=Yb(),ONt=hn().Buffer,VNt=new Array(64);function lF(){this.init(),this._w=VNt,FNt.call(this,64,56)}BNt(lF,NNt);lF.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};lF.prototype._hash=function(){var n=ONt.allocUnsafe(28);return n.writeInt32BE(this._a,0),n.writeInt32BE(this._b,4),n.writeInt32BE(this._c,8),n.writeInt32BE(this._d,12),n.writeInt32BE(this._e,16),n.writeInt32BE(this._f,20),n.writeInt32BE(this._g,24),n};cxe.exports=lF});var ute=B((MNn,hxe)=>{p();u();var $Nt=L0(),bxe=Yb(),UNt=hn().Buffer,lxe=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],qNt=new Array(160);function ID(){this.init(),this._w=qNt,bxe.call(this,128,112)}$Nt(ID,bxe);ID.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function pxe(n,e,t){return t^n&(e^t)}function uxe(n,e,t){return n&e|t&(n|e)}function yxe(n,e){return(n>>>28|e<<4)^(e>>>2|n<<30)^(e>>>7|n<<25)}function mxe(n,e){return(n>>>14|e<<18)^(n>>>18|e<<14)^(e>>>9|n<<23)}function HNt(n,e){return(n>>>1|e<<31)^(n>>>8|e<<24)^n>>>7}function zNt(n,e){return(n>>>1|e<<31)^(n>>>8|e<<24)^(n>>>7|e<<25)}function WNt(n,e){return(n>>>19|e<<13)^(e>>>29|n<<3)^n>>>6}function jNt(n,e){return(n>>>19|e<<13)^(e>>>29|n<<3)^(n>>>6|e<<26)}function ef(n,e){return n>>>0>>0?1:0}ID.prototype._update=function(n){for(var e=this._w,t=this._ah|0,a=this._bh|0,r=this._ch|0,i=this._dh|0,s=this._eh|0,f=this._fh|0,o=this._gh|0,c=this._hh|0,d=this._al|0,l=this._bl|0,y=this._cl|0,h=this._dl|0,T=this._el|0,A=this._fl|0,O=this._gl|0,N=this._hl|0,U=0;U<32;U+=2)e[U]=n.readInt32BE(U*4),e[U+1]=n.readInt32BE(U*4+4);for(;U<160;U+=2){var q=e[U-30],W=e[U-15*2+1],G=HNt(q,W),X=zNt(W,q);q=e[U-2*2],W=e[U-2*2+1];var J=WNt(q,W),j=jNt(W,q),z=e[U-7*2],P=e[U-7*2+1],_=e[U-16*2],F=e[U-16*2+1],v=X+P|0,b=G+z+ef(v,X)|0;v=v+j|0,b=b+J+ef(v,j)|0,v=v+F|0,b=b+_+ef(v,F)|0,e[U]=b,e[U+1]=v}for(var x=0;x<160;x+=2){b=e[x],v=e[x+1];var L=uxe(t,a,r),M=uxe(d,l,y),w=yxe(t,d),g=yxe(d,t),R=mxe(s,T),k=mxe(T,s),C=lxe[x],H=lxe[x+1],te=pxe(s,f,o),V=pxe(T,A,O),Y=N+k|0,ee=c+R+ef(Y,N)|0;Y=Y+V|0,ee=ee+te+ef(Y,V)|0,Y=Y+H|0,ee=ee+C+ef(Y,H)|0,Y=Y+v|0,ee=ee+b+ef(Y,v)|0;var ae=g+M|0,pe=w+L+ef(ae,g)|0;c=o,N=O,o=f,O=A,f=s,A=T,T=h+Y|0,s=i+ee+ef(T,h)|0,i=r,h=y,r=a,y=l,a=t,l=d,d=Y+ae|0,t=ee+pe+ef(d,Y)|0}this._al=this._al+d|0,this._bl=this._bl+l|0,this._cl=this._cl+y|0,this._dl=this._dl+h|0,this._el=this._el+T|0,this._fl=this._fl+A|0,this._gl=this._gl+O|0,this._hl=this._hl+N|0,this._ah=this._ah+t+ef(this._al,d)|0,this._bh=this._bh+a+ef(this._bl,l)|0,this._ch=this._ch+r+ef(this._cl,y)|0,this._dh=this._dh+i+ef(this._dl,h)|0,this._eh=this._eh+s+ef(this._el,T)|0,this._fh=this._fh+f+ef(this._fl,A)|0,this._gh=this._gh+o+ef(this._gl,O)|0,this._hh=this._hh+c+ef(this._hl,N)|0};ID.prototype._hash=function(){var n=UNt.allocUnsafe(64);function e(t,a,r){n.writeInt32BE(t,r),n.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),n};hxe.exports=ID});var vxe=B((FNn,gxe)=>{p();u();var GNt=L0(),KNt=ute(),QNt=Yb(),YNt=hn().Buffer,JNt=new Array(160);function pF(){this.init(),this._w=JNt,QNt.call(this,128,112)}GNt(pF,KNt);pF.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};pF.prototype._hash=function(){var n=YNt.allocUnsafe(48);function e(t,a,r){n.writeInt32BE(t,r),n.writeInt32BE(a,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),n};gxe.exports=pF});var ED=B((C2,Txe)=>{p();u();var C2=Txe.exports=function(e){e=e.toLowerCase();var t=C2[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};C2.sha=axe();C2.sha1=sxe();C2.sha224=dxe();C2.sha256=pte();C2.sha384=vxe();C2.sha512=ute()});var wxe=B((qNn,_xe)=>{p();u();_xe.exports=t6;var yte=ti().EventEmitter,XNt=L0();XNt(t6,yte);t6.Readable=GN();t6.Writable=zN();t6.Duplex=j8();t6.Transform=nF();t6.PassThrough=fte();t6.finished=dD();t6.pipeline=cte();t6.Stream=t6;function t6(){yte.call(this)}t6.prototype.pipe=function(n,e){var t=this;function a(d){n.writable&&n.write(d)===!1&&t.pause&&t.pause()}t.on("data",a);function r(){t.readable&&t.resume&&t.resume()}n.on("drain",r),!n._isStdio&&(!e||e.end!==!1)&&(t.on("end",s),t.on("close",f));var i=!1;function s(){i||(i=!0,n.end())}function f(){i||(i=!0,typeof n.destroy=="function"&&n.destroy())}function o(d){if(c(),yte.listenerCount(this,"error")===0)throw d}t.on("error",o),n.on("error",o);function c(){t.removeListener("data",a),n.removeListener("drain",r),t.removeListener("end",s),t.removeListener("close",f),t.removeListener("error",o),n.removeListener("error",o),t.removeListener("end",c),t.removeListener("close",c),n.removeListener("close",c)}return t.on("end",c),t.on("close",c),n.on("close",c),n.emit("pipe",t),n}});var S2=B((WNn,Exe)=>{p();u();var xxe=hn().Buffer,Ixe=wxe().Transform,ZNt=KN().StringDecoder,eFt=L0();function kl(n){Ixe.call(this),this.hashMode=typeof n=="string",this.hashMode?this[n]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}eFt(kl,Ixe);kl.prototype.update=function(n,e,t){typeof n=="string"&&(n=xxe.from(n,e));var a=this._update(n);return this.hashMode?this:(t&&(a=this._toString(a,t)),a)};kl.prototype.setAutoPadding=function(){};kl.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};kl.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};kl.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};kl.prototype._transform=function(n,e,t){var a;try{this.hashMode?this._update(n):this.push(this._update(n))}catch(r){a=r}finally{t(a)}};kl.prototype._flush=function(n){var e;try{this.push(this.__final())}catch(t){e=t}n(e)};kl.prototype._finalOrDigest=function(n){var e=this.__final()||xxe.alloc(0);return n&&(e=this._toString(e,n,!0)),e};kl.prototype._toString=function(n,e,t){if(this._decoder||(this._decoder=new ZNt(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var a=this._decoder.write(n);return t&&(a+=this._decoder.end()),a};Exe.exports=kl});var Jb=B((KNn,Cxe)=>{"use strict";p();u();var tFt=L0(),nFt=fF(),aFt=cF(),rFt=ED(),Dxe=S2();function uF(n){Dxe.call(this,"digest"),this._hash=n}tFt(uF,Dxe);uF.prototype._update=function(n){this._hash.update(n)};uF.prototype._final=function(){return this._hash.digest()};Cxe.exports=function(e){return e=e.toLowerCase(),e==="md5"?new nFt:e==="rmd160"||e==="ripemd160"?new aFt:new uF(rFt(e))}});var kxe=B((JNn,Axe)=>{"use strict";p();u();var iFt=L0(),Xb=hn().Buffer,Sxe=S2(),sFt=Xb.alloc(128),Lv=64;function yF(n,e){Sxe.call(this,"digest"),typeof e=="string"&&(e=Xb.from(e)),this._alg=n,this._key=e,e.length>Lv?e=n(e):e.length{p();u();var fFt=fF();Pxe.exports=function(n){return new fFt().update(n).digest()}});var gte=B((aFn,Lxe)=>{"use strict";p();u();var oFt=L0(),cFt=kxe(),Rxe=S2(),DD=hn().Buffer,dFt=mte(),bte=cF(),hte=ED(),lFt=DD.alloc(128);function CD(n,e){Rxe.call(this,"digest"),typeof e=="string"&&(e=DD.from(e));var t=n==="sha512"||n==="sha384"?128:64;if(this._alg=n,this._key=e,e.length>t){var a=n==="rmd160"?new bte:hte(n);e=a.update(e).digest()}else e.length{pFt.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}});var Bxe=B((fFn,Mxe)=>{"use strict";p();u();Mxe.exports=vte()});var Tte=B((dFn,Nxe)=>{p();u();var uFt=Math.pow(2,30)-1;Nxe.exports=function(n,e){if(typeof n!="number")throw new TypeError("Iterations not a number");if(n<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>uFt||e!==e)throw new TypeError("Bad key length")}});var _te=B((uFn,Oxe)=>{p();u();var mF;global.process&&global.process.browser?mF="utf-8":global.process&&global.process.version?(Fxe=parseInt(E.version.split(".")[0].slice(1),10),mF=Fxe>=6?"utf-8":"binary"):mF="utf-8";var Fxe;Oxe.exports=mF});var xte=B((bFn,Vxe)=>{p();u();var wte=hn().Buffer;Vxe.exports=function(n,e,t){if(wte.isBuffer(n))return n;if(typeof n=="string")return wte.from(n,e);if(ArrayBuffer.isView(n))return wte.from(n.buffer);throw new TypeError(t+" must be a string, a Buffer, a typed array or a DataView")}});var Ite=B((vFn,Hxe)=>{p();u();var yFt=mte(),mFt=cF(),bFt=ED(),Zb=hn().Buffer,hFt=Tte(),$xe=_te(),Uxe=xte(),gFt=Zb.alloc(128),bF={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function qxe(n,e,t){var a=vFt(n),r=n==="sha512"||n==="sha384"?128:64;e.length>r?e=a(e):e.length{p();u();var Gxe=hn().Buffer,_Ft=Tte(),zxe=_te(),Wxe=Ite(),jxe=xte(),hF,SD=global.crypto&&global.crypto.subtle,wFt={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},Ete=[];function xFt(n){if(global.process&&!global.process.browser||!SD||!SD.importKey||!SD.deriveBits)return Promise.resolve(!1);if(Ete[n]!==void 0)return Ete[n];hF=hF||Gxe.alloc(8);var e=Kxe(hF,hF,10,128,n).then(function(){return!0}).catch(function(){return!1});return Ete[n]=e,e}var eh;function Dte(){return eh||(global.process&&global.process.nextTick?eh=global.process.nextTick:global.queueMicrotask?eh=global.queueMicrotask:global.setImmediate?eh=global.setImmediate:eh=global.setTimeout,eh)}function Kxe(n,e,t,a,r){return SD.importKey("raw",n,{name:"PBKDF2"},!1,["deriveBits"]).then(function(i){return SD.deriveBits({name:"PBKDF2",salt:e,iterations:t,hash:{name:r}},i,a<<3)}).then(function(i){return Gxe.from(i)})}function IFt(n,e){n.then(function(t){Dte()(function(){e(null,t)})},function(t){Dte()(function(){e(t)})})}Qxe.exports=function(n,e,t,a,r,i){typeof r=="function"&&(i=r,r=void 0),r=r||"sha1";var s=wFt[r.toLowerCase()];if(!s||typeof global.Promise!="function"){Dte()(function(){var f;try{f=Wxe(n,e,t,a,r)}catch(o){return i(o)}i(null,f)});return}if(_Ft(t,a),n=jxe(n,zxe,"Password"),e=jxe(e,zxe,"Salt"),typeof i!="function")throw new Error("No callback provided to pbkdf2");IFt(xFt(s).then(function(f){return f?Kxe(n,e,t,a,s):Wxe(n,e,t,a,r)}),i)}});var Ste=B(Cte=>{p();u();Cte.pbkdf2=Yxe();Cte.pbkdf2Sync=Ite()});var Ate=B(n6=>{"use strict";p();u();n6.readUInt32BE=function(e,t){var a=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return a>>>0};n6.writeUInt32BE=function(e,t,a){e[0+a]=t>>>24,e[1+a]=t>>>16&255,e[2+a]=t>>>8&255,e[3+a]=t&255};n6.ip=function(e,t,a,r){for(var i=0,s=0,f=6;f>=0;f-=2){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>>o+f&1;for(var o=0;o<=24;o+=8)i<<=1,i|=e>>>o+f&1}for(var f=6;f>=0;f-=2){for(var o=1;o<=25;o+=8)s<<=1,s|=t>>>o+f&1;for(var o=1;o<=25;o+=8)s<<=1,s|=e>>>o+f&1}a[r+0]=i>>>0,a[r+1]=s>>>0};n6.rip=function(e,t,a,r){for(var i=0,s=0,f=0;f<4;f++)for(var o=24;o>=0;o-=8)i<<=1,i|=t>>>o+f&1,i<<=1,i|=e>>>o+f&1;for(var f=4;f<8;f++)for(var o=24;o>=0;o-=8)s<<=1,s|=t>>>o+f&1,s<<=1,s|=e>>>o+f&1;a[r+0]=i>>>0,a[r+1]=s>>>0};n6.pc1=function(e,t,a,r){for(var i=0,s=0,f=7;f>=5;f--){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>o+f&1;for(var o=0;o<=24;o+=8)i<<=1,i|=e>>o+f&1}for(var o=0;o<=24;o+=8)i<<=1,i|=t>>o+f&1;for(var f=1;f<=3;f++){for(var o=0;o<=24;o+=8)s<<=1,s|=t>>o+f&1;for(var o=0;o<=24;o+=8)s<<=1,s|=e>>o+f&1}for(var o=0;o<=24;o+=8)s<<=1,s|=e>>o+f&1;a[r+0]=i>>>0,a[r+1]=s>>>0};n6.r28shl=function(e,t){return e<>>28-t};var gF=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];n6.pc2=function(e,t,a,r){for(var i=0,s=0,f=gF.length>>>1,o=0;o>>gF[o]&1;for(var o=f;o>>gF[o]&1;a[r+0]=i>>>0,a[r+1]=s>>>0};n6.expand=function(e,t,a){var r=0,i=0;r=(e&1)<<5|e>>>27;for(var s=23;s>=15;s-=4)r<<=6,r|=e>>>s&63;for(var s=11;s>=3;s-=4)i|=e>>>s&63,i<<=6;i|=(e&31)<<1|e>>>31,t[a+0]=r>>>0,t[a+1]=i>>>0};var Jxe=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];n6.substitute=function(e,t){for(var a=0,r=0;r<4;r++){var i=e>>>18-r*6&63,s=Jxe[r*64+i];a<<=4,a|=s}for(var r=0;r<4;r++){var i=t>>>18-r*6&63,s=Jxe[4*64+r*64+i];a<<=4,a|=s}return a>>>0};var Xxe=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];n6.permute=function(e){for(var t=0,a=0;a>>Xxe[a]&1;return t>>>0};n6.padSplit=function(e,t,a){for(var r=e.toString(2);r.length{"use strict";p();u();var EFt=cc();function a6(n){this.options=n,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=n.padding!==!1}Zxe.exports=a6;a6.prototype._init=function(){};a6.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)};a6.prototype._buffer=function(e,t){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),a+=this._flushBuffer(i,a);return t+=this._buffer(e,t),i};a6.prototype.final=function(e){var t;e&&(t=this.update(e));var a;return this.type==="encrypt"?a=this._finalEncrypt():a=this._finalDecrypt(),t?t.concat(a):a};a6.prototype._pad=function(e,t){if(t===0)return!1;for(;t{"use strict";p();u();var eIe=cc(),DFt=L0(),Ms=Ate(),tIe=vF();function CFt(){this.tmp=new Array(2),this.keys=null}function Kp(n){tIe.call(this,n);var e=new CFt;this._desState=e,this.deriveKeys(e,n.key)}DFt(Kp,tIe);nIe.exports=Kp;Kp.create=function(e){return new Kp(e)};var SFt=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];Kp.prototype.deriveKeys=function(e,t){e.keys=new Array(16*2),eIe.equal(t.length,this.blockSize,"Invalid key length");var a=Ms.readUInt32BE(t,0),r=Ms.readUInt32BE(t,4);Ms.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var i=0;i>>1];a=Ms.r28shl(a,s),r=Ms.r28shl(r,s),Ms.pc2(a,r,e.keys,i)}};Kp.prototype._update=function(e,t,a,r){var i=this._desState,s=Ms.readUInt32BE(e,t),f=Ms.readUInt32BE(e,t+4);Ms.ip(s,f,i.tmp,0),s=i.tmp[0],f=i.tmp[1],this.type==="encrypt"?this._encrypt(i,s,f,i.tmp,0):this._decrypt(i,s,f,i.tmp,0),s=i.tmp[0],f=i.tmp[1],Ms.writeUInt32BE(a,s,r),Ms.writeUInt32BE(a,f,r+4)};Kp.prototype._pad=function(e,t){if(this.padding===!1)return!1;for(var a=e.length-t,r=t;r>>0,s=h}Ms.rip(f,s,r,i)};Kp.prototype._decrypt=function(e,t,a,r,i){for(var s=a,f=t,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],d=e.keys[o+1];Ms.expand(s,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var l=Ms.substitute(c,d),y=Ms.permute(l),h=s;s=(f^y)>>>0,f=h}Ms.rip(s,f,r,i)}});var rIe=B(aIe=>{"use strict";p();u();var AFt=cc(),kFt=L0(),TF={};function PFt(n){AFt.equal(n.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e{"use strict";p();u();var LFt=cc(),MFt=L0(),iIe=vF(),J8=kte();function BFt(n,e){LFt.equal(e.length,24,"Invalid key length");var t=e.slice(0,8),a=e.slice(8,16),r=e.slice(16,24);n==="encrypt"?this.ciphers=[J8.create({type:"encrypt",key:t}),J8.create({type:"decrypt",key:a}),J8.create({type:"encrypt",key:r})]:this.ciphers=[J8.create({type:"decrypt",key:r}),J8.create({type:"encrypt",key:a}),J8.create({type:"decrypt",key:t})]}function th(n){iIe.call(this,n);var e=new BFt(this.type,this.options.key);this._edeState=e}MFt(th,iIe);sIe.exports=th;th.create=function(e){return new th(e)};th.prototype._update=function(e,t,a,r){var i=this._edeState;i.ciphers[0]._update(e,t,a,r),i.ciphers[1]._update(a,r,a,r),i.ciphers[2]._update(a,r,a,r)};th.prototype._pad=J8.prototype._pad;th.prototype._unpad=J8.prototype._unpad});var oIe=B(Mv=>{"use strict";p();u();Mv.utils=Ate();Mv.Cipher=vF();Mv.DES=kte();Mv.CBC=rIe();Mv.EDE=fIe()});var lIe=B((jFn,dIe)=>{p();u();var cIe=S2(),A2=oIe(),NFt=L0(),nh=hn().Buffer,AD={"des-ede3-cbc":A2.CBC.instantiate(A2.EDE),"des-ede3":A2.EDE,"des-ede-cbc":A2.CBC.instantiate(A2.EDE),"des-ede":A2.EDE,"des-cbc":A2.CBC.instantiate(A2.DES),"des-ecb":A2.DES};AD.des=AD["des-cbc"];AD.des3=AD["des-ede3-cbc"];dIe.exports=_F;NFt(_F,cIe);function _F(n){cIe.call(this);var e=n.mode.toLowerCase(),t=AD[e],a;n.decrypt?a="decrypt":a="encrypt";var r=n.key;nh.isBuffer(r)||(r=nh.from(r)),(e==="des-ede"||e==="des-ede-cbc")&&(r=nh.concat([r,r.slice(0,8)]));var i=n.iv;nh.isBuffer(i)||(i=nh.from(i)),this._des=t.create({key:r,iv:i,type:a})}_F.prototype._update=function(n){return nh.from(this._des.update(n))};_F.prototype._final=function(){return nh.from(this._des.final())}});var pIe=B(Pte=>{p();u();Pte.encrypt=function(n,e){return n._cipher.encryptBlock(e)};Pte.decrypt=function(n,e){return n._cipher.decryptBlock(e)}});var Bv=B((XFn,uIe)=>{p();u();uIe.exports=function(e,t){for(var a=Math.min(e.length,t.length),r=new D.Buffer(a),i=0;i{p();u();var yIe=Bv();Rte.encrypt=function(n,e){var t=yIe(e,n._prev);return n._prev=n._cipher.encryptBlock(t),n._prev};Rte.decrypt=function(n,e){var t=n._prev;n._prev=e;var a=n._cipher.decryptBlock(e);return yIe(a,t)}});var gIe=B(hIe=>{p();u();var kD=hn().Buffer,FFt=Bv();function bIe(n,e,t){var a=e.length,r=FFt(e,n._cache);return n._cache=n._cache.slice(a),n._prev=kD.concat([n._prev,t?e:r]),r}hIe.encrypt=function(n,e,t){for(var a=kD.allocUnsafe(0),r;e.length;)if(n._cache.length===0&&(n._cache=n._cipher.encryptBlock(n._prev),n._prev=kD.allocUnsafe(0)),n._cache.length<=e.length)r=n._cache.length,a=kD.concat([a,bIe(n,e.slice(0,r),t)]),e=e.slice(r);else{a=kD.concat([a,bIe(n,e,t)]);break}return a}});var TIe=B(vIe=>{p();u();var Lte=hn().Buffer;function OFt(n,e,t){var a=n._cipher.encryptBlock(n._prev),r=a[0]^e;return n._prev=Lte.concat([n._prev.slice(1),Lte.from([t?e:r])]),r}vIe.encrypt=function(n,e,t){for(var a=e.length,r=Lte.allocUnsafe(a),i=-1;++i{p();u();var wF=hn().Buffer;function VFt(n,e,t){for(var a,r=-1,i=8,s=0,f,o;++r>r%8,n._prev=$Ft(n._prev,t?f:o);return s}function $Ft(n,e){var t=n.length,a=-1,r=wF.allocUnsafe(n.length);for(n=wF.concat([n,wF.from([e])]);++a>7;return r}_Ie.encrypt=function(n,e,t){for(var a=e.length,r=wF.allocUnsafe(a),i=-1;++i{p();u();var UFt=Bv();function qFt(n){return n._prev=n._cipher.encryptBlock(n._prev),n._prev}xIe.encrypt=function(n,e){for(;n._cache.length{p();u();function HFt(n){for(var e=n.length,t;e--;)if(t=n.readUInt8(e),t===255)n.writeUInt8(0,e);else{t++,n.writeUInt8(t,e);break}}EIe.exports=HFt});var Nte=B(CIe=>{p();u();var zFt=Bv(),DIe=hn().Buffer,WFt=Mte();function jFt(n){var e=n._cipher.encryptBlockRaw(n._prev);return WFt(n._prev),e}var Bte=16;CIe.encrypt=function(n,e){var t=Math.ceil(e.length/Bte),a=n._cache.length;n._cache=DIe.concat([n._cache,DIe.allocUnsafe(t*Bte)]);for(var r=0;r{GFt.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}});var IF=B((xOn,SIe)=>{p();u();var KFt={ECB:pIe(),CBC:mIe(),CFB:gIe(),CFB8:TIe(),CFB1:wIe(),OFB:IIe(),CTR:Nte(),GCM:Nte()},xF=Fte();for(Ote in xF)xF[Ote].module=KFt[xF[Ote].mode];var Ote;SIe.exports=xF});var PD=B((DOn,kIe)=>{p();u();var EF=hn().Buffer;function $te(n){EF.isBuffer(n)||(n=EF.from(n));for(var e=n.length/4|0,t=new Array(e),a=0;a>>24]^s[d>>>16&255]^f[l>>>8&255]^o[y&255]^e[N++],T=i[d>>>24]^s[l>>>16&255]^f[y>>>8&255]^o[c&255]^e[N++],A=i[l>>>24]^s[y>>>16&255]^f[c>>>8&255]^o[d&255]^e[N++],O=i[y>>>24]^s[c>>>16&255]^f[d>>>8&255]^o[l&255]^e[N++],c=h,d=T,l=A,y=O;return h=(a[c>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[y&255])^e[N++],T=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[y>>>8&255]<<8|a[c&255])^e[N++],A=(a[l>>>24]<<24|a[y>>>16&255]<<16|a[c>>>8&255]<<8|a[d&255])^e[N++],O=(a[y>>>24]<<24|a[c>>>16&255]<<16|a[d>>>8&255]<<8|a[l&255])^e[N++],h=h>>>0,T=T>>>0,A=A>>>0,O=O>>>0,[h,T,A,O]}var QFt=[0,1,2,4,8,16,32,64,128,27,54],ls=function(){for(var n=new Array(256),e=0;e<256;e++)e<128?n[e]=e<<1:n[e]=e<<1^283;for(var t=[],a=[],r=[[],[],[],[]],i=[[],[],[],[]],s=0,f=0,o=0;o<256;++o){var c=f^f<<1^f<<2^f<<3^f<<4;c=c>>>8^c&255^99,t[s]=c,a[c]=s;var d=n[s],l=n[d],y=n[l],h=n[c]*257^c*16843008;r[0][s]=h<<24|h>>>8,r[1][s]=h<<16|h>>>16,r[2][s]=h<<8|h>>>24,r[3][s]=h,h=y*16843009^l*65537^d*257^s*16843008,i[0][c]=h<<24|h>>>8,i[1][c]=h<<16|h>>>16,i[2][c]=h<<8|h>>>24,i[3][c]=h,s===0?s=f=1:(s=d^n[n[n[y^d]]],f^=n[n[f]])}return{SBOX:t,INV_SBOX:a,SUB_MIX:r,INV_SUB_MIX:i}}();function r6(n){this._key=$te(n),this._reset()}r6.blockSize=4*4;r6.keySize=256/8;r6.prototype.blockSize=r6.blockSize;r6.prototype.keySize=r6.keySize;r6.prototype._reset=function(){for(var n=this._key,e=n.length,t=e+6,a=(t+1)*4,r=[],i=0;i>>24,s=ls.SBOX[s>>>24]<<24|ls.SBOX[s>>>16&255]<<16|ls.SBOX[s>>>8&255]<<8|ls.SBOX[s&255],s^=QFt[i/e|0]<<24):e>6&&i%e===4&&(s=ls.SBOX[s>>>24]<<24|ls.SBOX[s>>>16&255]<<16|ls.SBOX[s>>>8&255]<<8|ls.SBOX[s&255]),r[i]=r[i-e]^s}for(var f=[],o=0;o>>24]]^ls.INV_SUB_MIX[1][ls.SBOX[d>>>16&255]]^ls.INV_SUB_MIX[2][ls.SBOX[d>>>8&255]]^ls.INV_SUB_MIX[3][ls.SBOX[d&255]]}this._nRounds=t,this._keySchedule=r,this._invKeySchedule=f};r6.prototype.encryptBlockRaw=function(n){return n=$te(n),AIe(n,this._keySchedule,ls.SUB_MIX,ls.SBOX,this._nRounds)};r6.prototype.encryptBlock=function(n){var e=this.encryptBlockRaw(n),t=EF.allocUnsafe(16);return t.writeUInt32BE(e[0],0),t.writeUInt32BE(e[1],4),t.writeUInt32BE(e[2],8),t.writeUInt32BE(e[3],12),t};r6.prototype.decryptBlock=function(n){n=$te(n);var e=n[1];n[1]=n[3],n[3]=e;var t=AIe(n,this._invKeySchedule,ls.INV_SUB_MIX,ls.INV_SBOX,this._nRounds),a=EF.allocUnsafe(16);return a.writeUInt32BE(t[0],0),a.writeUInt32BE(t[3],4),a.writeUInt32BE(t[2],8),a.writeUInt32BE(t[1],12),a};r6.prototype.scrub=function(){Vte(this._keySchedule),Vte(this._invKeySchedule),Vte(this._key)};kIe.exports.AES=r6});var LIe=B((AOn,RIe)=>{p();u();var Nv=hn().Buffer,YFt=Nv.alloc(16,0);function JFt(n){return[n.readUInt32BE(0),n.readUInt32BE(4),n.readUInt32BE(8),n.readUInt32BE(12)]}function PIe(n){var e=Nv.allocUnsafe(16);return e.writeUInt32BE(n[0]>>>0,0),e.writeUInt32BE(n[1]>>>0,4),e.writeUInt32BE(n[2]>>>0,8),e.writeUInt32BE(n[3]>>>0,12),e}function RD(n){this.h=n,this.state=Nv.alloc(16,0),this.cache=Nv.allocUnsafe(0)}RD.prototype.ghash=function(n){for(var e=-1;++e0;t--)n[t]=n[t]>>>1|(n[t-1]&1)<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=PIe(e)};RD.prototype.update=function(n){this.cache=Nv.concat([this.cache,n]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)};RD.prototype.final=function(n,e){return this.cache.length&&this.ghash(Nv.concat([this.cache,YFt],16)),this.ghash(PIe([0,n,0,e])),this.state};RIe.exports=RD});var Ute=B((ROn,NIe)=>{p();u();var XFt=PD(),dc=hn().Buffer,MIe=S2(),ZFt=L0(),BIe=LIe(),eOt=Bv(),tOt=Mte();function nOt(n,e){var t=0;n.length!==e.length&&t++;for(var a=Math.min(n.length,e.length),r=0;r{p();u();var rOt=PD(),qte=hn().Buffer,FIe=S2(),iOt=L0();function DF(n,e,t,a){FIe.call(this),this._cipher=new rOt.AES(e),this._prev=qte.from(t),this._cache=qte.allocUnsafe(0),this._secCache=qte.allocUnsafe(0),this._decrypt=a,this._mode=n}iOt(DF,FIe);DF.prototype._update=function(n){return this._mode.encrypt(this,n,this._decrypt)};DF.prototype._final=function(){this._cipher.scrub()};OIe.exports=DF});var LD=B((OOn,VIe)=>{p();u();var rh=hn().Buffer,sOt=fF();function fOt(n,e,t,a){if(rh.isBuffer(n)||(n=rh.from(n,"binary")),e&&(rh.isBuffer(e)||(e=rh.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var r=t/8,i=rh.alloc(r),s=rh.alloc(a||0),f=rh.alloc(0);r>0||a>0;){var o=new sOt;o.update(f),o.update(n),e&&o.update(e),f=o.digest();var c=0;if(r>0){var d=i.length-r;c=Math.min(r,f.length),f.copy(i,d,0,c),r-=c}if(c0){var l=s.length-a,y=Math.min(a,f.length-c);f.copy(s,l,c,c+y),a-=y}}return f.fill(0),{key:i,iv:s}}VIe.exports=fOt});var HIe=B(zte=>{p();u();var $Ie=IF(),oOt=Ute(),k2=hn().Buffer,cOt=Hte(),UIe=S2(),dOt=PD(),lOt=LD(),pOt=L0();function MD(n,e,t){UIe.call(this),this._cache=new CF,this._cipher=new dOt.AES(e),this._prev=k2.from(t),this._mode=n,this._autopadding=!0}pOt(MD,UIe);MD.prototype._update=function(n){this._cache.add(n);for(var e,t,a=[];e=this._cache.get();)t=this._mode.encrypt(this,e),a.push(t);return k2.concat(a)};var uOt=k2.alloc(16,16);MD.prototype._final=function(){var n=this._cache.flush();if(this._autopadding)return n=this._mode.encrypt(this,n),this._cipher.scrub(),n;if(!n.equals(uOt))throw this._cipher.scrub(),new Error("data not multiple of block length")};MD.prototype.setAutoPadding=function(n){return this._autopadding=!!n,this};function CF(){this.cache=k2.allocUnsafe(0)}CF.prototype.add=function(n){this.cache=k2.concat([this.cache,n])};CF.prototype.get=function(){if(this.cache.length>15){var n=this.cache.slice(0,16);return this.cache=this.cache.slice(16),n}return null};CF.prototype.flush=function(){for(var n=16-this.cache.length,e=k2.allocUnsafe(n),t=-1;++t{p();u();var mOt=Ute(),Fv=hn().Buffer,zIe=IF(),bOt=Hte(),WIe=S2(),hOt=PD(),gOt=LD(),vOt=L0();function BD(n,e,t){WIe.call(this),this._cache=new SF,this._last=void 0,this._cipher=new hOt.AES(e),this._prev=Fv.from(t),this._mode=n,this._autopadding=!0}vOt(BD,WIe);BD.prototype._update=function(n){this._cache.add(n);for(var e,t,a=[];e=this._cache.get(this._autopadding);)t=this._mode.decrypt(this,e),a.push(t);return Fv.concat(a)};BD.prototype._final=function(){var n=this._cache.flush();if(this._autopadding)return TOt(this._mode.decrypt(this,n));if(n)throw new Error("data not multiple of block length")};BD.prototype.setAutoPadding=function(n){return this._autopadding=!!n,this};function SF(){this.cache=Fv.allocUnsafe(0)}SF.prototype.add=function(n){this.cache=Fv.concat([this.cache,n])};SF.prototype.get=function(n){var e;if(n){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null};SF.prototype.flush=function(){if(this.cache.length)return this.cache};function TOt(n){var e=n[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var t=-1;++t{p();u();var KIe=HIe(),QIe=GIe(),wOt=Fte();function xOt(){return Object.keys(wOt)}Pl.createCipher=Pl.Cipher=KIe.createCipher;Pl.createCipheriv=Pl.Cipheriv=KIe.createCipheriv;Pl.createDecipher=Pl.Decipher=QIe.createDecipher;Pl.createDecipheriv=Pl.Decipheriv=QIe.createDecipheriv;Pl.listCiphers=Pl.getCiphers=xOt});var YIe=B(P2=>{p();u();P2["des-ecb"]={key:8,iv:0};P2["des-cbc"]=P2.des={key:8,iv:8};P2["des-ede3-cbc"]=P2.des3={key:24,iv:8};P2["des-ede3"]={key:24,iv:0};P2["des-ede-cbc"]={key:16,iv:8};P2["des-ede"]={key:16,iv:0}});var tEe=B(Rl=>{p();u();var JIe=lIe(),jte=AF(),X8=IF(),R2=YIe(),XIe=LD();function IOt(n,e){n=n.toLowerCase();var t,a;if(X8[n])t=X8[n].key,a=X8[n].iv;else if(R2[n])t=R2[n].key*8,a=R2[n].iv;else throw new TypeError("invalid suite type");var r=XIe(e,!1,t,a);return ZIe(n,r.key,r.iv)}function EOt(n,e){n=n.toLowerCase();var t,a;if(X8[n])t=X8[n].key,a=X8[n].iv;else if(R2[n])t=R2[n].key*8,a=R2[n].iv;else throw new TypeError("invalid suite type");var r=XIe(e,!1,t,a);return eEe(n,r.key,r.iv)}function ZIe(n,e,t){if(n=n.toLowerCase(),X8[n])return jte.createCipheriv(n,e,t);if(R2[n])return new JIe({key:e,iv:t,mode:n});throw new TypeError("invalid suite type")}function eEe(n,e,t){if(n=n.toLowerCase(),X8[n])return jte.createDecipheriv(n,e,t);if(R2[n])return new JIe({key:e,iv:t,mode:n,decrypt:!0});throw new TypeError("invalid suite type")}function DOt(){return Object.keys(R2).concat(jte.getCiphers())}Rl.createCipher=Rl.Cipher=IOt;Rl.createCipheriv=Rl.Cipheriv=ZIe;Rl.createDecipher=Rl.Decipher=EOt;Rl.createDecipheriv=Rl.Decipheriv=eEe;Rl.listCiphers=Rl.getCiphers=DOt});var Gte=B((nVn,nEe)=>{p();u();var ih=hr(),COt=Ov();function sh(n){this.rand=n||new COt.Rand}nEe.exports=sh;sh.create=function(e){return new sh(e)};sh.prototype._randbelow=function(e){var t=e.bitLength(),a=Math.ceil(t/8);do var r=new ih(this.rand.generate(a));while(r.cmp(e)>=0);return r};sh.prototype._randrange=function(e,t){var a=t.sub(e);return e.add(this._randbelow(a))};sh.prototype.test=function(e,t,a){var r=e.bitLength(),i=ih.mont(e),s=new ih(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var f=e.subn(1),o=0;!f.testn(o);o++);for(var c=e.shrn(o),d=f.toRed(i),l=!0;t>0;t--){var y=this._randrange(new ih(2),f);a&&a(y);var h=y.toRed(i).redPow(c);if(!(h.cmp(s)===0||h.cmp(d)===0)){for(var T=1;T0;t--){var d=this._randrange(new ih(2),s),l=e.gcd(d);if(l.cmpn(1)!==0)return l;var y=d.toRed(r).redPow(o);if(!(y.cmp(i)===0||y.cmp(c)===0)){for(var h=1;h{p();u();var SOt=E2();iEe.exports=Xte;Xte.simpleSieve=Yte;Xte.fermatTest=Jte;var Ff=hr(),AOt=new Ff(24),kOt=Gte(),aEe=new kOt,POt=new Ff(1),Qte=new Ff(2),ROt=new Ff(5),iVn=new Ff(16),sVn=new Ff(8),LOt=new Ff(10),MOt=new Ff(3),fVn=new Ff(7),BOt=new Ff(11),rEe=new Ff(4),oVn=new Ff(12),Kte=null;function NOt(){if(Kte!==null)return Kte;var n=1048576,e=[];e[0]=2;for(var t=1,a=3;an;)t.ishrn(1);if(t.isEven()&&t.iadd(POt),t.testn(1)||t.iadd(Qte),e.cmp(Qte)){if(!e.cmp(ROt))for(;t.mod(LOt).cmp(MOt);)t.iadd(rEe)}else for(;t.mod(AOt).cmp(BOt);)t.iadd(rEe);if(a=t.shrn(1),Yte(a)&&Yte(t)&&Jte(a)&&Jte(t)&&aEe.test(a)&&aEe.test(t))return t}}});var sEe=B((pVn,FOt)=>{FOt.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}});var dEe=B((uVn,cEe)=>{p();u();var i6=hr(),OOt=Gte(),fEe=new OOt,VOt=new i6(24),$Ot=new i6(11),UOt=new i6(10),qOt=new i6(3),HOt=new i6(7),oEe=Zte(),zOt=E2();cEe.exports=L2;function WOt(n,e){return e=e||"utf8",D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e)),this._pub=new i6(n),this}function jOt(n,e){return e=e||"utf8",D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e)),this._priv=new i6(n),this}var kF={};function GOt(n,e){var t=e.toString("hex"),a=[t,n.toString(16)].join("_");if(a in kF)return kF[a];var r=0;if(n.isEven()||!oEe.simpleSieve||!oEe.fermatTest(n)||!fEe.test(n))return r+=1,t==="02"||t==="05"?r+=8:r+=4,kF[a]=r,r;fEe.test(n.shrn(1))||(r+=2);var i;switch(t){case"02":n.mod(VOt).cmp($Ot)&&(r+=8);break;case"05":i=n.mod(UOt),i.cmp(qOt)&&i.cmp(HOt)&&(r+=8);break;default:r+=4}return kF[a]=r,r}function L2(n,e,t){this.setGenerator(e),this.__prime=new i6(n),this._prime=i6.mont(this.__prime),this._primeLen=n.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,t?(this.setPublicKey=WOt,this.setPrivateKey=jOt):this._primeCode=8}Object.defineProperty(L2.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=GOt(this.__prime,this.__gen)),this._primeCode}});L2.prototype.generateKeys=function(){return this._priv||(this._priv=new i6(zOt(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()};L2.prototype.computeSecret=function(n){n=new i6(n),n=n.toRed(this._prime);var e=n.redPow(this._priv).fromRed(),t=new D.Buffer(e.toArray()),a=this.getPrime();if(t.length{p();u();var KOt=Zte(),lEe=sEe(),e0e=dEe();function QOt(n){var e=new D.Buffer(lEe[n].prime,"hex"),t=new D.Buffer(lEe[n].gen,"hex");return new e0e(e,t)}var YOt={binary:!0,hex:!0,base64:!0};function pEe(n,e,t,a){return D.Buffer.isBuffer(e)||YOt[e]===void 0?pEe(n,"binary",e,t):(e=e||"binary",a=a||"binary",t=t||new D.Buffer([2]),D.Buffer.isBuffer(t)||(t=new D.Buffer(t,a)),typeof n=="number"?new e0e(KOt(n,t),t,!0):(D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e)),new e0e(n,t,!0)))}Vv.DiffieHellmanGroup=Vv.createDiffieHellmanGroup=Vv.getDiffieHellman=QOt;Vv.createDiffieHellman=Vv.DiffieHellman=pEe});var ND=B((vVn,t0e)=>{"use strict";p();u();typeof E>"u"||!E.version||E.version.indexOf("v0.")===0||E.version.indexOf("v1.")===0&&E.version.indexOf("v1.8.")!==0?t0e.exports={nextTick:JOt}:t0e.exports=E;function JOt(n,e,t,a){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,i,s;switch(r){case 0:case 1:return E.nextTick(n);case 2:return E.nextTick(function(){n.call(null,e)});case 3:return E.nextTick(function(){n.call(null,e,t)});case 4:return E.nextTick(function(){n.call(null,e,t,a)});default:for(i=new Array(r-1),s=0;s{p();u();var XOt={}.toString;yEe.exports=Array.isArray||function(n){return XOt.call(n)=="[object Array]"}});var n0e=B((EVn,bEe)=>{p();u();bEe.exports=ti().EventEmitter});var FD=B((a0e,gEe)=>{p();u();var RF=ki(),M2=RF.Buffer;function hEe(n,e){for(var t in n)e[t]=n[t]}M2.from&&M2.alloc&&M2.allocUnsafe&&M2.allocUnsafeSlow?gEe.exports=RF:(hEe(RF,a0e),a0e.Buffer=$v);function $v(n,e,t){return M2(n,e,t)}hEe(M2,$v);$v.from=function(n,e,t){if(typeof n=="number")throw new TypeError("Argument must not be a number");return M2(n,e,t)};$v.alloc=function(n,e,t){if(typeof n!="number")throw new TypeError("Argument must be a number");var a=M2(n);return e!==void 0?typeof t=="string"?a.fill(e,t):a.fill(e):a.fill(0),a};$v.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return M2(n)};$v.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return RF.SlowBuffer(n)}});var Uv=B(Io=>{p();u();function ZOt(n){return Array.isArray?Array.isArray(n):LF(n)==="[object Array]"}Io.isArray=ZOt;function eVt(n){return typeof n=="boolean"}Io.isBoolean=eVt;function tVt(n){return n===null}Io.isNull=tVt;function nVt(n){return n==null}Io.isNullOrUndefined=nVt;function aVt(n){return typeof n=="number"}Io.isNumber=aVt;function rVt(n){return typeof n=="string"}Io.isString=rVt;function iVt(n){return typeof n=="symbol"}Io.isSymbol=iVt;function sVt(n){return n===void 0}Io.isUndefined=sVt;function fVt(n){return LF(n)==="[object RegExp]"}Io.isRegExp=fVt;function oVt(n){return typeof n=="object"&&n!==null}Io.isObject=oVt;function cVt(n){return LF(n)==="[object Date]"}Io.isDate=cVt;function dVt(n){return LF(n)==="[object Error]"||n instanceof Error}Io.isError=dVt;function lVt(n){return typeof n=="function"}Io.isFunction=lVt;function pVt(n){return n===null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||typeof n=="symbol"||typeof n>"u"}Io.isPrimitive=pVt;Io.isBuffer=ki().Buffer.isBuffer;function LF(n){return Object.prototype.toString.call(n)}});var TEe=B((LVn,r0e)=>{"use strict";p();u();function uVt(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}var vEe=FD().Buffer,OD=Al();function yVt(n,e,t){n.copy(e,t)}r0e.exports=function(){function n(){uVt(this,n),this.head=null,this.tail=null,this.length=0}return n.prototype.push=function(t){var a={data:t,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},n.prototype.unshift=function(t){var a={data:t,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},n.prototype.shift=function(){if(this.length!==0){var t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},n.prototype.clear=function(){this.head=this.tail=null,this.length=0},n.prototype.join=function(t){if(this.length===0)return"";for(var a=this.head,r=""+a.data;a=a.next;)r+=t+a.data;return r},n.prototype.concat=function(t){if(this.length===0)return vEe.alloc(0);for(var a=vEe.allocUnsafe(t>>>0),r=this.head,i=0;r;)yVt(r.data,a,i),i+=r.data.length,r=r.next;return a},n}();OD&&OD.inspect&&OD.inspect.custom&&(r0e.exports.prototype[OD.inspect.custom]=function(){var n=OD.inspect({length:this.length});return this.constructor.name+" "+n})});var i0e=B((NVn,_Ee)=>{"use strict";p();u();var MF=ND();function mVt(n,e){var t=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(e?e(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,MF.nextTick(BF,this,n)):MF.nextTick(BF,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(i){!e&&i?t._writableState?t._writableState.errorEmitted||(t._writableState.errorEmitted=!0,MF.nextTick(BF,t,i)):MF.nextTick(BF,t,i):e&&e(i)}),this)}function bVt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function BF(n,e){n.emit("error",e)}_Ee.exports={destroy:mVt,undestroy:bVt}});var f0e=B((VVn,AEe)=>{"use strict";p();u();var fh=ND();AEe.exports=ps;function xEe(n){var e=this;this.next=null,this.entry=null,this.finish=function(){MVt(e,n)}}var hVt=!E.browser&&["v0.10","v0.9."].indexOf(E.version.slice(0,5))>-1?setImmediate:fh.nextTick,qv;ps.WritableState=$D;var IEe=Object.create(Uv());IEe.inherits=L0();var gVt={deprecate:zee()},EEe=n0e(),FF=FD().Buffer,vVt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function TVt(n){return FF.from(n)}function _Vt(n){return FF.isBuffer(n)||n instanceof vVt}var DEe=i0e();IEe.inherits(ps,EEe);function wVt(){}function $D(n,e){qv=qv||oh(),n=n||{};var t=e instanceof qv;this.objectMode=!!n.objectMode,t&&(this.objectMode=this.objectMode||!!n.writableObjectMode);var a=n.highWaterMark,r=n.writableHighWaterMark,i=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:t&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=n.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(f){AVt(e,f)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new xEe(this)}$D.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};(function(){try{Object.defineProperty($D.prototype,"buffer",{get:gVt.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var NF;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(NF=Function.prototype[Symbol.hasInstance],Object.defineProperty(ps,Symbol.hasInstance,{value:function(n){return NF.call(this,n)?!0:this!==ps?!1:n&&n._writableState instanceof $D}})):NF=function(n){return n instanceof this};function ps(n){if(qv=qv||oh(),!NF.call(ps,this)&&!(this instanceof qv))return new ps(n);this._writableState=new $D(n,this),this.writable=!0,n&&(typeof n.write=="function"&&(this._write=n.write),typeof n.writev=="function"&&(this._writev=n.writev),typeof n.destroy=="function"&&(this._destroy=n.destroy),typeof n.final=="function"&&(this._final=n.final)),EEe.call(this)}ps.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function xVt(n,e){var t=new Error("write after end");n.emit("error",t),fh.nextTick(e,t)}function IVt(n,e,t,a){var r=!0,i=!1;return t===null?i=new TypeError("May not write null values to stream"):typeof t!="string"&&t!==void 0&&!e.objectMode&&(i=new TypeError("Invalid non-string/buffer chunk")),i&&(n.emit("error",i),fh.nextTick(a,i),r=!1),r}ps.prototype.write=function(n,e,t){var a=this._writableState,r=!1,i=!a.objectMode&&_Vt(n);return i&&!FF.isBuffer(n)&&(n=TVt(n)),typeof e=="function"&&(t=e,e=null),i?e="buffer":e||(e=a.defaultEncoding),typeof t!="function"&&(t=wVt),a.ended?xVt(this,t):(i||IVt(this,a,n,t))&&(a.pendingcb++,r=DVt(this,a,i,n,e,t)),r};ps.prototype.cork=function(){var n=this._writableState;n.corked++};ps.prototype.uncork=function(){var n=this._writableState;n.corked&&(n.corked--,!n.writing&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&CEe(this,n))};ps.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function EVt(n,e,t){return!n.objectMode&&n.decodeStrings!==!1&&typeof e=="string"&&(e=FF.from(e,t)),e}Object.defineProperty(ps.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function DVt(n,e,t,a,r,i){if(!t){var s=EVt(e,a,r);a!==s&&(t=!0,r="buffer",a=s)}var f=e.objectMode?1:a.length;e.length+=f;var o=e.length{"use strict";p();u();var kEe=ND(),BVt=Object.keys||function(n){var e=[];for(var t in n)e.push(t);return e};LEe.exports=B2;var PEe=Object.create(Uv());PEe.inherits=L0();var REe=d0e(),c0e=f0e();PEe.inherits(B2,REe);for(o0e=BVt(c0e.prototype),OF=0;OF{"use strict";p();u();var p0e=FD().Buffer,MEe=p0e.isEncoding||function(n){switch(n=""+n,n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function OVt(n){if(!n)return"utf8";for(var e;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(e)return;n=(""+n).toLowerCase(),e=!0}}function VVt(n){var e=OVt(n);if(typeof e!="string"&&(p0e.isEncoding===MEe||!MEe(n)))throw new Error("Unknown encoding: "+n);return e||n}BEe.StringDecoder=UD;function UD(n){this.encoding=VVt(n);var e;switch(this.encoding){case"utf16le":this.text=WVt,this.end=jVt,e=4;break;case"utf8":this.fillLast=qVt,e=4;break;case"base64":this.text=GVt,this.end=KVt,e=3;break;default:this.write=QVt,this.end=YVt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p0e.allocUnsafe(e)}UD.prototype.write=function(n){if(n.length===0)return"";var e,t;if(this.lastNeed){if(e=this.fillLast(n),e===void 0)return"";t=this.lastNeed,this.lastNeed=0}else t=0;return t>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function $Vt(n,e,t){var a=e.length-1;if(a=0?(r>0&&(n.lastNeed=r-1),r):--a=0?(r>0&&(n.lastNeed=r-2),r):--a=0?(r>0&&(r===2?r=0:n.lastNeed=r-3),r):0))}function UVt(n,e,t){if((e[0]&192)!==128)return n.lastNeed=0,"\uFFFD";if(n.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return n.lastNeed=1,"\uFFFD";if(n.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return n.lastNeed=2,"\uFFFD"}}function qVt(n){var e=this.lastTotal-this.lastNeed,t=UVt(this,n,e);if(t!==void 0)return t;if(this.lastNeed<=n.length)return n.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,e,0,n.length),this.lastNeed-=n.length}function HVt(n,e){var t=$Vt(this,n,e);if(!this.lastNeed)return n.toString("utf8",e);this.lastTotal=t;var a=n.length-(t-this.lastNeed);return n.copy(this.lastChar,0,a),n.toString("utf8",e,a)}function zVt(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+"\uFFFD":e}function WVt(n,e){if((n.length-e)%2===0){var t=n.toString("utf16le",e);if(t){var a=t.charCodeAt(t.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",e,n.length-1)}function jVt(n){var e=n&&n.length?this.write(n):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function GVt(n,e){var t=(n.length-e)%3;return t===0?n.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",e,n.length-t))}function KVt(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function QVt(n){return n.toString(this.encoding)}function YVt(n){return n&&n.length?this.write(n):""}});var d0e=B((QVn,GEe)=>{"use strict";p();u();var zv=ND();GEe.exports=Hr;var JVt=mEe(),qD;Hr.ReadableState=qEe;var KVn=ti().EventEmitter,VEe=function(n,e){return n.listeners(e).length},g0e=n0e(),HD=FD().Buffer,XVt=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ZVt(n){return HD.from(n)}function e$t(n){return HD.isBuffer(n)||n instanceof XVt}var $Ee=Object.create(Uv());$Ee.inherits=L0();var y0e=Al(),La=void 0;y0e&&y0e.debuglog?La=y0e.debuglog("stream"):La=function(){};var t$t=TEe(),UEe=i0e(),Hv;$Ee.inherits(Hr,g0e);var m0e=["error","close","destroy","pause","resume"];function n$t(n,e,t){if(typeof n.prependListener=="function")return n.prependListener(e,t);!n._events||!n._events[e]?n.on(e,t):JVt(n._events[e])?n._events[e].unshift(t):n._events[e]=[t,n._events[e]]}function qEe(n,e){qD=qD||oh(),n=n||{};var t=e instanceof qD;this.objectMode=!!n.objectMode,t&&(this.objectMode=this.objectMode||!!n.readableObjectMode);var a=n.highWaterMark,r=n.readableHighWaterMark,i=this.objectMode?16:16*1024;a||a===0?this.highWaterMark=a:t&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new t$t,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=n.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,n.encoding&&(Hv||(Hv=u0e().StringDecoder),this.decoder=new Hv(n.encoding),this.encoding=n.encoding)}function Hr(n){if(qD=qD||oh(),!(this instanceof Hr))return new Hr(n);this._readableState=new qEe(n,this),this.readable=!0,n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy)),g0e.call(this)}Object.defineProperty(Hr.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(n){this._readableState&&(this._readableState.destroyed=n)}});Hr.prototype.destroy=UEe.destroy;Hr.prototype._undestroy=UEe.undestroy;Hr.prototype._destroy=function(n,e){this.push(null),e(n)};Hr.prototype.push=function(n,e){var t=this._readableState,a;return t.objectMode?a=!0:typeof n=="string"&&(e=e||t.defaultEncoding,e!==t.encoding&&(n=HD.from(n,e),e=""),a=!0),HEe(this,n,e,!1,a)};Hr.prototype.unshift=function(n){return HEe(this,n,null,!0,!1)};function HEe(n,e,t,a,r){var i=n._readableState;if(e===null)i.reading=!1,s$t(n,i);else{var s;r||(s=a$t(i,e)),s?n.emit("error",s):i.objectMode||e&&e.length>0?(typeof e!="string"&&!i.objectMode&&Object.getPrototypeOf(e)!==HD.prototype&&(e=ZVt(e)),a?i.endEmitted?n.emit("error",new Error("stream.unshift() after end event")):b0e(n,i,e,!0):i.ended?n.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!t?(e=i.decoder.write(e),i.objectMode||e.length!==0?b0e(n,i,e,!1):zEe(n,i)):b0e(n,i,e,!1))):a||(i.reading=!1)}return r$t(i)}function b0e(n,e,t,a){e.flowing&&e.length===0&&!e.sync?(n.emit("data",t),n.read(0)):(e.length+=e.objectMode?1:t.length,a?e.buffer.unshift(t):e.buffer.push(t),e.needReadable&&$F(n)),zEe(n,e)}function a$t(n,e){var t;return!e$t(e)&&typeof e!="string"&&e!==void 0&&!n.objectMode&&(t=new TypeError("Invalid non-string/buffer chunk")),t}function r$t(n){return!n.ended&&(n.needReadable||n.length=NEe?n=NEe:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function FEe(n,e){return n<=0||e.length===0&&e.ended?0:e.objectMode?1:n!==n?e.flowing&&e.length?e.buffer.head.data.length:e.length:(n>e.highWaterMark&&(e.highWaterMark=i$t(n)),n<=e.length?n:e.ended?e.length:(e.needReadable=!0,0))}Hr.prototype.read=function(n){La("read",n),n=parseInt(n,10);var e=this._readableState,t=n;if(n!==0&&(e.emittedReadable=!1),n===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return La("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?h0e(this):$F(this),null;if(n=FEe(n,e),n===0&&e.ended)return e.length===0&&h0e(this),null;var a=e.needReadable;La("need readable",a),(e.length===0||e.length-n0?r=WEe(n,e):r=null,r===null?(e.needReadable=!0,n=0):e.length-=n,e.length===0&&(e.ended||(e.needReadable=!0),t!==n&&e.ended&&h0e(this)),r!==null&&this.emit("data",r),r};function s$t(n,e){if(!e.ended){if(e.decoder){var t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length)}e.ended=!0,$F(n)}}function $F(n){var e=n._readableState;e.needReadable=!1,e.emittedReadable||(La("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?zv.nextTick(OEe,n):OEe(n))}function OEe(n){La("emit readable"),n.emit("readable"),v0e(n)}function zEe(n,e){e.readingMore||(e.readingMore=!0,zv.nextTick(f$t,n,e))}function f$t(n,e){for(var t=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length1&&jEe(a.pipes,n)!==-1)&&!c&&(La("false write response, pause",a.awaitDrain),a.awaitDrain++,l=!0),t.pause())}function h(N){La("onerror",N),O(),n.removeListener("error",h),VEe(n,"error")===0&&n.emit("error",N)}n$t(n,"error",h);function T(){n.removeListener("finish",A),O()}n.once("close",T);function A(){La("onfinish"),n.removeListener("close",T),O()}n.once("finish",A);function O(){La("unpipe"),t.unpipe(n)}return n.emit("pipe",t),a.flowing||(La("pipe resume"),t.resume()),n};function o$t(n){return function(){var e=n._readableState;La("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&VEe(n,"data")&&(e.flowing=!0,v0e(n))}}Hr.prototype.unpipe=function(n){var e=this._readableState,t={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return n&&n!==e.pipes?this:(n||(n=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,n&&n.emit("unpipe",this,t),this);if(!n){var a=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i=e.length?(e.decoder?t=e.buffer.join(""):e.buffer.length===1?t=e.buffer.head.data:t=e.buffer.concat(e.length),e.buffer.clear()):t=p$t(n,e.buffer,e.decoder),t}function p$t(n,e,t){var a;return ni.length?i.length:n;if(s===i.length?r+=i:r+=i.slice(0,n),n-=s,n===0){s===i.length?(++a,t.next?e.head=t.next:e.head=e.tail=null):(e.head=t,t.data=i.slice(s));break}++a}return e.length-=a,r}function y$t(n,e){var t=HD.allocUnsafe(n),a=e.head,r=1;for(a.data.copy(t),n-=a.data.length;a=a.next;){var i=a.data,s=n>i.length?i.length:n;if(i.copy(t,t.length-n,0,s),n-=s,n===0){s===i.length?(++r,a.next?e.head=a.next:e.head=e.tail=null):(e.head=a,a.data=i.slice(s));break}++r}return e.length-=r,t}function h0e(n){var e=n._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,zv.nextTick(m$t,e,n))}function m$t(n,e){!n.endEmitted&&n.length===0&&(n.endEmitted=!0,e.readable=!1,e.emit("end"))}function jEe(n,e){for(var t=0,a=n.length;t{"use strict";p();u();YEe.exports=N2;var UF=oh(),QEe=Object.create(Uv());QEe.inherits=L0();QEe.inherits(N2,UF);function b$t(n,e){var t=this._transformState;t.transforming=!1;var a=t.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));t.writechunk=null,t.writecb=null,e!=null&&this.push(e),a(n);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{"use strict";p();u();ZEe.exports=zD;var JEe=T0e(),XEe=Object.create(Uv());XEe.inherits=L0();XEe.inherits(zD,JEe);function zD(n){if(!(this instanceof zD))return new zD(n);JEe.call(this,n)}zD.prototype._transform=function(n,e,t){t(null,n)}});var nDe=B((Qp,tDe)=>{p();u();Qp=tDe.exports=d0e();Qp.Stream=Qp;Qp.Readable=Qp;Qp.Writable=f0e();Qp.Duplex=oh();Qp.Transform=T0e();Qp.PassThrough=eDe()});var qF=B((s$n,iDe)=>{p();u();var Wv=Dr(),g$t=E2();function v$t(n){var e=aDe(n),t=e.toRed(Wv.mont(n.modulus)).redPow(new Wv(n.publicExponent)).fromRed();return{blinder:t,unblinder:e.invm(n.modulus)}}function aDe(n){var e=n.modulus.byteLength(),t;do t=new Wv(g$t(e));while(t.cmp(n.modulus)>=0||!t.umod(n.prime1)||!t.umod(n.prime2));return t}function rDe(n,e){var t=v$t(e),a=e.modulus.byteLength(),r=new Wv(n).mul(t.blinder).umod(e.modulus),i=r.toRed(Wv.mont(e.prime1)),s=r.toRed(Wv.mont(e.prime2)),f=e.coefficient,o=e.prime1,c=e.prime2,d=i.redPow(e.exponent1).fromRed(),l=s.redPow(e.exponent2).fromRed(),y=d.isub(l).imul(f).umod(o).imul(c);return l.iadd(y).imul(t.unblinder).umod(e.modulus).toArrayLike(D.Buffer,"be",a)}rDe.getr=aDe;iDe.exports=rDe});var sDe=B((c$n,T$t)=>{T$t.exports={name:"elliptic",version:"6.5.5",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny ",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}});var td=B(fDe=>{"use strict";p();u();var Ll=fDe,_$t=hr(),w$t=cc(),HF=iN();Ll.assert=w$t;Ll.toArray=HF.toArray;Ll.zero2=HF.zero2;Ll.toHex=HF.toHex;Ll.encode=HF.encode;function x$t(n,e,t){var a=new Array(Math.max(n.bitLength(),t)+1),r;for(r=0;r(i>>1)-1?f=(i>>1)-o:f=o,s.isubn(f)):f=0,a[r]=f,s.iushrn(1)}return a}Ll.getNAF=x$t;function I$t(n,e){var t=[[],[]];n=n.clone(),e=e.clone();for(var a=0,r=0,i;n.cmpn(-a)>0||e.cmpn(-r)>0;){var s=n.andln(3)+a&3,f=e.andln(3)+r&3;s===3&&(s=-1),f===3&&(f=-1);var o;s&1?(i=n.andln(7)+a&7,(i===3||i===5)&&f===2?o=-s:o=s):o=0,t[0].push(o);var c;f&1?(i=e.andln(7)+r&7,(i===3||i===5)&&s===2?c=-f:c=f):c=0,t[1].push(c),2*a===o+1&&(a=1-a),2*r===c+1&&(r=1-r),n.iushrn(1),e.iushrn(1)}return t}Ll.getJSF=I$t;function E$t(n,e,t){var a="_"+e;n.prototype[e]=function(){return this[a]!==void 0?this[a]:this[a]=t.call(this)}}Ll.cachedProperty=E$t;function D$t(n){return typeof n=="string"?Ll.toArray(n,"hex"):n}Ll.parseBytes=D$t;function C$t(n){return new _$t(n,"hex","le")}Ll.intFromLE=C$t});var jD=B((u$n,oDe)=>{"use strict";p();u();var ch=hr(),WD=td(),zF=WD.getNAF,S$t=WD.getJSF,WF=WD.assert;function Z8(n,e){this.type=n,this.p=new ch(e.p,16),this.red=e.prime?ch.red(e.prime):ch.mont(this.p),this.zero=new ch(0).toRed(this.red),this.one=new ch(1).toRed(this.red),this.two=new ch(2).toRed(this.red),this.n=e.n&&new ch(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}oDe.exports=Z8;Z8.prototype.point=function(){throw new Error("Not implemented")};Z8.prototype.validate=function(){throw new Error("Not implemented")};Z8.prototype._fixedNafMul=function(e,t){WF(e.precomputed);var a=e._getDoubles(),r=zF(t,1,this._bitLength),i=(1<=f;c--)o=(o<<1)+r[c];s.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),y=i;y>0;y--){for(f=0;f=0;o--){for(var c=0;o>=0&&s[o]===0;o--)c++;if(o>=0&&c++,f=f.dblp(c),o<0)break;var d=s[o];WF(d!==0),e.type==="affine"?d>0?f=f.mixedAdd(i[d-1>>1]):f=f.mixedAdd(i[-d-1>>1].neg()):d>0?f=f.add(i[d-1>>1]):f=f.add(i[-d-1>>1].neg())}return e.type==="affine"?f.toP():f};Z8.prototype._wnafMulAdd=function(e,t,a,r,i){var s=this._wnafT1,f=this._wnafT2,o=this._wnafT3,c=0,d,l,y;for(d=0;d=1;d-=2){var T=d-1,A=d;if(s[T]!==1||s[A]!==1){o[T]=zF(a[T],s[T],this._bitLength),o[A]=zF(a[A],s[A],this._bitLength),c=Math.max(o[T].length,c),c=Math.max(o[A].length,c);continue}var O=[t[T],null,null,t[A]];t[T].y.cmp(t[A].y)===0?(O[1]=t[T].add(t[A]),O[2]=t[T].toJ().mixedAdd(t[A].neg())):t[T].y.cmp(t[A].y.redNeg())===0?(O[1]=t[T].toJ().mixedAdd(t[A]),O[2]=t[T].add(t[A].neg())):(O[1]=t[T].toJ().mixedAdd(t[A]),O[2]=t[T].toJ().mixedAdd(t[A].neg()));var N=[-3,-1,-5,-7,0,7,5,1,3],U=S$t(a[T],a[A]);for(c=Math.max(U[0].length,c),o[T]=new Array(c),o[A]=new Array(c),l=0;l=0;d--){for(var J=0;d>=0;){var j=!0;for(l=0;l=0&&J++,G=G.dblp(J),d<0)break;for(l=0;l0?y=f[l][z-1>>1]:z<0&&(y=f[l][-z-1>>1].neg()),y.type==="affine"?G=G.mixedAdd(y):G=G.add(y))}}for(d=0;d=Math.ceil((e.bitLength()+1)/t.step):!1};s6.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,i=0;i{"use strict";p();u();var A$t=td(),Mi=hr(),_0e=L0(),jv=jD(),k$t=A$t.assert;function f6(n){jv.call(this,"short",n),this.a=new Mi(n.a,16).toRed(this.red),this.b=new Mi(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}_0e(f6,jv);cDe.exports=f6;f6.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var t,a;if(e.beta)t=new Mi(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=r[0].cmp(r[1])<0?r[0]:r[1],t=t.toRed(this.red)}if(e.lambda)a=new Mi(e.lambda,16);else{var i=this._getEndoRoots(this.n);this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))===0?a=i[0]:(a=i[1],k$t(this.g.mul(a).x.cmp(this.g.x.redMul(t))===0))}var s;return e.basis?s=e.basis.map(function(f){return{a:new Mi(f.a,16),b:new Mi(f.b,16)}}):s=this._getEndoBasis(a),{beta:t,lambda:a,basis:s}}};f6.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:Mi.mont(e),a=new Mi(2).toRed(t).redInvm(),r=a.redNeg(),i=new Mi(3).toRed(t).redNeg().redSqrt().redMul(a),s=r.redAdd(i).fromRed(),f=r.redSub(i).fromRed();return[s,f]};f6.prototype._getEndoBasis=function(e){for(var t=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),i=new Mi(1),s=new Mi(0),f=new Mi(0),o=new Mi(1),c,d,l,y,h,T,A,O=0,N,U;a.cmpn(0)!==0;){var q=r.div(a);N=r.sub(q.mul(a)),U=f.sub(q.mul(i));var W=o.sub(q.mul(s));if(!l&&N.cmp(t)<0)c=A.neg(),d=i,l=N.neg(),y=U;else if(l&&++O===2)break;A=N,r=a,a=N,f=i,i=U,o=s,s=W}h=N.neg(),T=U;var G=l.sqr().add(y.sqr()),X=h.sqr().add(T.sqr());return X.cmp(G)>=0&&(h=c,T=d),l.negative&&(l=l.neg(),y=y.neg()),h.negative&&(h=h.neg(),T=T.neg()),[{a:l,b:y},{a:h,b:T}]};f6.prototype._endoSplit=function(e){var t=this.endo.basis,a=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),s=a.b.neg().mul(e).divRound(this.n),f=i.mul(a.a),o=s.mul(r.a),c=i.mul(a.b),d=s.mul(r.b),l=e.sub(f).sub(o),y=c.add(d).neg();return{k1:l,k2:y}};f6.prototype.pointFromX=function(e,t){e=new Mi(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)};f6.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,a=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(i).cmpn(0)===0};f6.prototype._endoWnafMulAdd=function(e,t,a){for(var r=this._endoWnafT1,i=this._endoWnafT2,s=0;s":""};tf.prototype.isInfinity=function(){return this.inf};tf.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var t=this.y.redSub(e.y);t.cmpn(0)!==0&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var a=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};tf.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var t=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),i=a.redAdd(a).redIAdd(a).redIAdd(t).redMul(r),s=i.redSqr().redISub(this.x.redAdd(this.x)),f=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,f)};tf.prototype.getX=function(){return this.x.fromRed()};tf.prototype.getY=function(){return this.y.fromRed()};tf.prototype.mul=function(e){return e=new Mi(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};tf.prototype.mulAdd=function(e,t,a){var r=[this,t],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)};tf.prototype.jmulAdd=function(e,t,a){var r=[this,t],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)};tf.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};tf.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(i){return i.neg()};t.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return t};tf.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function Of(n,e,t,a){jv.BasePoint.call(this,n,"jacobian"),e===null&&t===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Mi(0)):(this.x=new Mi(e,16),this.y=new Mi(t,16),this.z=new Mi(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}_0e(Of,jv.BasePoint);f6.prototype.jpoint=function(e,t,a){return new Of(this,e,t,a)};Of.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),a=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(a,r)};Of.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};Of.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(a),s=this.y.redMul(t.redMul(e.z)),f=e.y.redMul(a.redMul(this.z)),o=r.redSub(i),c=s.redSub(f);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),y=r.redMul(d),h=c.redSqr().redIAdd(l).redISub(y).redISub(y),T=c.redMul(y.redISub(h)).redISub(s.redMul(l)),A=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,T,A)};Of.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),a=this.x,r=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),f=a.redSub(r),o=i.redSub(s);if(f.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=f.redSqr(),d=c.redMul(f),l=a.redMul(c),y=o.redSqr().redIAdd(d).redISub(l).redISub(l),h=o.redMul(l.redISub(y)).redISub(i.redMul(d)),T=this.z.redMul(f);return this.curve.jpoint(y,h,T)};Of.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var a=this;for(t=0;t=0)return!1;if(a.redIAdd(i),this.x.cmp(a)===0)return!0}};Of.prototype.inspect=function(){return this.isInfinity()?"":""};Of.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var uDe=B((v$n,pDe)=>{"use strict";p();u();var Gv=hr(),lDe=L0(),jF=jD(),P$t=td();function Kv(n){jF.call(this,"mont",n),this.a=new Gv(n.a,16).toRed(this.red),this.b=new Gv(n.b,16).toRed(this.red),this.i4=new Gv(4).toRed(this.red).redInvm(),this.two=new Gv(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}lDe(Kv,jF);pDe.exports=Kv;Kv.prototype.validate=function(e){var t=e.normalize().x,a=t.redSqr(),r=a.redMul(t).redAdd(a.redMul(this.a)).redAdd(t),i=r.redSqrt();return i.redSqr().cmp(r)===0};function nf(n,e,t){jF.BasePoint.call(this,n,"projective"),e===null&&t===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new Gv(e,16),this.z=new Gv(t,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}lDe(nf,jF.BasePoint);Kv.prototype.decodePoint=function(e,t){return this.point(P$t.toArray(e,t),1)};Kv.prototype.point=function(e,t){return new nf(this,e,t)};Kv.prototype.pointFromJSON=function(e){return nf.fromJSON(this,e)};nf.prototype.precompute=function(){};nf.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};nf.fromJSON=function(e,t){return new nf(e,t[0],t[1]||e.one)};nf.prototype.inspect=function(){return this.isInfinity()?"":""};nf.prototype.isInfinity=function(){return this.z.cmpn(0)===0};nf.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),i=t.redSub(r),s=t.redMul(r),f=i.redMul(r.redAdd(this.curve.a24.redMul(i)));return this.curve.point(s,f)};nf.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};nf.prototype.diffAdd=function(e,t){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z),f=s.redMul(a),o=i.redMul(r),c=t.z.redMul(f.redAdd(o).redSqr()),d=t.x.redMul(f.redISub(o).redSqr());return this.curve.point(c,d)};nf.prototype.mul=function(e){for(var t=e.clone(),a=this,r=this.curve.point(null,null),i=this,s=[];t.cmpn(0)!==0;t.iushrn(1))s.push(t.andln(1));for(var f=s.length-1;f>=0;f--)s[f]===0?(a=a.diffAdd(r,i),r=r.dbl()):(r=a.diffAdd(r,i),a=a.dbl());return r};nf.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};nf.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};nf.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};nf.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};nf.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var bDe=B((w$n,mDe)=>{"use strict";p();u();var R$t=td(),F2=hr(),yDe=L0(),GF=jD(),L$t=R$t.assert;function Yp(n){this.twisted=(n.a|0)!==1,this.mOneA=this.twisted&&(n.a|0)===-1,this.extended=this.mOneA,GF.call(this,"edwards",n),this.a=new F2(n.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new F2(n.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new F2(n.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),L$t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(n.c|0)===1}yDe(Yp,GF);mDe.exports=Yp;Yp.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Yp.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Yp.prototype.jpoint=function(e,t,a,r){return this.point(e,t,a,r)};Yp.prototype.pointFromX=function(e,t){e=new F2(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),i=this.one.redSub(this.c2.redMul(this.d).redMul(a)),s=r.redMul(i.redInvm()),f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");var o=f.fromRed().isOdd();return(t&&!o||!t&&o)&&(f=f.redNeg()),this.point(e,f)};Yp.prototype.pointFromY=function(e,t){e=new F2(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),i=a.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(i.redInvm());if(s.cmp(this.zero)===0){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");return f.fromRed().isOdd()!==t&&(f=f.redNeg()),this.point(f,e)};Yp.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),a=e.y.redSqr(),r=t.redMul(this.a).redAdd(a),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(a)));return r.cmp(i)===0};function Cr(n,e,t,a,r){GF.BasePoint.call(this,n,"projective"),e===null&&t===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new F2(e,16),this.y=new F2(t,16),this.z=a?new F2(a,16):this.curve.one,this.t=r&&new F2(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}yDe(Cr,GF.BasePoint);Yp.prototype.pointFromJSON=function(e){return Cr.fromJSON(this,e)};Yp.prototype.point=function(e,t,a,r){return new Cr(this,e,t,a,r)};Cr.fromJSON=function(e,t){return new Cr(e,t[0],t[1],t[2])};Cr.prototype.inspect=function(){return this.isInfinity()?"":""};Cr.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Cr.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=r.redAdd(t),f=s.redSub(a),o=r.redSub(t),c=i.redMul(f),d=s.redMul(o),l=i.redMul(o),y=f.redMul(s);return this.curve.point(c,d,y,l)};Cr.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),t=this.x.redSqr(),a=this.y.redSqr(),r,i,s,f,o,c;if(this.curve.twisted){f=this.curve._mulA(t);var d=f.redAdd(a);this.zOne?(r=e.redSub(t).redSub(a).redMul(d.redSub(this.curve.two)),i=d.redMul(f.redSub(a)),s=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(t).redISub(a).redMul(c),i=d.redMul(f.redSub(a)),s=d.redMul(c))}else f=t.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=f.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(f)).redMul(c),i=this.curve._mulC(f).redMul(t.redISub(a)),s=f.redMul(c);return this.curve.point(r,i,s)};Cr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Cr.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=a.redSub(t),f=i.redSub(r),o=i.redAdd(r),c=a.redAdd(t),d=s.redMul(f),l=o.redMul(c),y=s.redMul(c),h=f.redMul(o);return this.curve.point(d,l,h,y)};Cr.prototype._projAdd=function(e){var t=this.z.redMul(e.z),a=t.redSqr(),r=this.x.redMul(e.x),i=this.y.redMul(e.y),s=this.curve.d.redMul(r).redMul(i),f=a.redSub(s),o=a.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(i),d=t.redMul(f).redMul(c),l,y;return this.curve.twisted?(l=t.redMul(o).redMul(i.redSub(this.curve._mulA(r))),y=f.redMul(o)):(l=t.redMul(o).redMul(i.redSub(r)),y=this.curve._mulC(f).redMul(o)),this.curve.point(d,l,y)};Cr.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Cr.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Cr.prototype.mulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!1)};Cr.prototype.jmulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!0)};Cr.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Cr.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Cr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Cr.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Cr.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Cr.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(t)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),this.x.cmp(t)===0)return!0}};Cr.prototype.toP=Cr.prototype.normalize;Cr.prototype.mixedAdd=Cr.prototype.add});var w0e=B(hDe=>{"use strict";p();u();var KF=hDe;KF.base=jD();KF.short=dDe();KF.mont=uDe();KF.edwards=bDe()});var Ml=B(gr=>{"use strict";p();u();var M$t=cc(),B$t=L0();gr.inherits=B$t;function N$t(n,e){return(n.charCodeAt(e)&64512)!==55296||e<0||e+1>=n.length?!1:(n.charCodeAt(e+1)&64512)===56320}function F$t(n,e){if(Array.isArray(n))return n.slice();if(!n)return[];var t=[];if(typeof n=="string")if(e){if(e==="hex")for(n=n.replace(/[^a-z0-9]+/ig,""),n.length%2!==0&&(n="0"+n),r=0;r>6|192,t[a++]=i&63|128):N$t(n,r)?(i=65536+((i&1023)<<10)+(n.charCodeAt(++r)&1023),t[a++]=i>>18|240,t[a++]=i>>12&63|128,t[a++]=i>>6&63|128,t[a++]=i&63|128):(t[a++]=i>>12|224,t[a++]=i>>6&63|128,t[a++]=i&63|128)}else for(r=0;r>>24|n>>>8&65280|n<<8&16711680|(n&255)<<24;return e>>>0}gr.htonl=gDe;function V$t(n,e){for(var t="",a=0;a>>0}return i}gr.join32=$$t;function U$t(n,e){for(var t=new Array(n.length*4),a=0,r=0;a>>24,t[r+1]=i>>>16&255,t[r+2]=i>>>8&255,t[r+3]=i&255):(t[r+3]=i>>>24,t[r+2]=i>>>16&255,t[r+1]=i>>>8&255,t[r]=i&255)}return t}gr.split32=U$t;function q$t(n,e){return n>>>e|n<<32-e}gr.rotr32=q$t;function H$t(n,e){return n<>>32-e}gr.rotl32=H$t;function z$t(n,e){return n+e>>>0}gr.sum32=z$t;function W$t(n,e,t){return n+e+t>>>0}gr.sum32_3=W$t;function j$t(n,e,t,a){return n+e+t+a>>>0}gr.sum32_4=j$t;function G$t(n,e,t,a,r){return n+e+t+a+r>>>0}gr.sum32_5=G$t;function K$t(n,e,t,a){var r=n[e],i=n[e+1],s=a+i>>>0,f=(s>>0,n[e+1]=s}gr.sum64=K$t;function Q$t(n,e,t,a){var r=e+a>>>0,i=(r>>0}gr.sum64_hi=Q$t;function Y$t(n,e,t,a){var r=e+a;return r>>>0}gr.sum64_lo=Y$t;function J$t(n,e,t,a,r,i,s,f){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}gr.sum64_4_hi=J$t;function X$t(n,e,t,a,r,i,s,f){var o=e+a+i+f;return o>>>0}gr.sum64_4_lo=X$t;function Z$t(n,e,t,a,r,i,s,f,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}gr.sum64_5_hi=Z$t;function eUt(n,e,t,a,r,i,s,f,o,c){var d=e+a+i+f+c;return d>>>0}gr.sum64_5_lo=eUt;function tUt(n,e,t){var a=e<<32-t|n>>>t;return a>>>0}gr.rotr64_hi=tUt;function nUt(n,e,t){var a=n<<32-t|e>>>t;return a>>>0}gr.rotr64_lo=nUt;function aUt(n,e,t){return n>>>t}gr.shr64_hi=aUt;function rUt(n,e,t){var a=n<<32-t|e>>>t;return a>>>0}gr.shr64_lo=rUt});var Qv=B(wDe=>{"use strict";p();u();var _De=Ml(),iUt=cc();function QF(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}wDe.BlockHash=QF;QF.prototype.update=function(e,t){if(e=_De.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var a=e.length%this._delta8;this.pending=e.slice(e.length-a,e.length),this.pending.length===0&&(this.pending=null),e=_De.join32(e,0,e.length-a,this.endian);for(var r=0;r>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=e&255}else for(r[i++]=e&255,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,s=8;s{"use strict";p();u();var sUt=Ml(),Jp=sUt.rotr32;function fUt(n,e,t,a){if(n===0)return xDe(e,t,a);if(n===1||n===3)return EDe(e,t,a);if(n===2)return IDe(e,t,a)}O2.ft_1=fUt;function xDe(n,e,t){return n&e^~n&t}O2.ch32=xDe;function IDe(n,e,t){return n&e^n&t^e&t}O2.maj32=IDe;function EDe(n,e,t){return n^e^t}O2.p32=EDe;function oUt(n){return Jp(n,2)^Jp(n,13)^Jp(n,22)}O2.s0_256=oUt;function cUt(n){return Jp(n,6)^Jp(n,11)^Jp(n,25)}O2.s1_256=cUt;function dUt(n){return Jp(n,7)^Jp(n,18)^n>>>3}O2.g0_256=dUt;function lUt(n){return Jp(n,17)^Jp(n,19)^n>>>10}O2.g1_256=lUt});var SDe=B((F$n,CDe)=>{"use strict";p();u();var Yv=Ml(),pUt=Qv(),uUt=x0e(),I0e=Yv.rotl32,GD=Yv.sum32,yUt=Yv.sum32_5,mUt=uUt.ft_1,DDe=pUt.BlockHash,bUt=[1518500249,1859775393,2400959708,3395469782];function Xp(){if(!(this instanceof Xp))return new Xp;DDe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Yv.inherits(Xp,DDe);CDe.exports=Xp;Xp.blockSize=512;Xp.outSize=160;Xp.hmacStrength=80;Xp.padLength=64;Xp.prototype._update=function(e,t){for(var a=this.W,r=0;r<16;r++)a[r]=e[t+r];for(;r{"use strict";p();u();var Jv=Ml(),hUt=Qv(),Xv=x0e(),gUt=cc(),Bl=Jv.sum32,vUt=Jv.sum32_4,TUt=Jv.sum32_5,_Ut=Xv.ch32,wUt=Xv.maj32,xUt=Xv.s0_256,IUt=Xv.s1_256,EUt=Xv.g0_256,DUt=Xv.g1_256,ADe=hUt.BlockHash,CUt=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Zp(){if(!(this instanceof Zp))return new Zp;ADe.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=CUt,this.W=new Array(64)}Jv.inherits(Zp,ADe);kDe.exports=Zp;Zp.blockSize=512;Zp.outSize=256;Zp.hmacStrength=192;Zp.padLength=64;Zp.prototype._update=function(e,t){for(var a=this.W,r=0;r<16;r++)a[r]=e[t+r];for(;r{"use strict";p();u();var D0e=Ml(),PDe=E0e();function V2(){if(!(this instanceof V2))return new V2;PDe.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}D0e.inherits(V2,PDe);RDe.exports=V2;V2.blockSize=512;V2.outSize=224;V2.hmacStrength=192;V2.padLength=64;V2.prototype._digest=function(e){return e==="hex"?D0e.toHex32(this.h.slice(0,7),"big"):D0e.split32(this.h.slice(0,7),"big")}});var A0e=B((j$n,FDe)=>{"use strict";p();u();var lc=Ml(),SUt=Qv(),AUt=cc(),e5=lc.rotr64_hi,t5=lc.rotr64_lo,MDe=lc.shr64_hi,BDe=lc.shr64_lo,em=lc.sum64,C0e=lc.sum64_hi,S0e=lc.sum64_lo,kUt=lc.sum64_4_hi,PUt=lc.sum64_4_lo,RUt=lc.sum64_5_hi,LUt=lc.sum64_5_lo,NDe=SUt.BlockHash,MUt=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Nl(){if(!(this instanceof Nl))return new Nl;NDe.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=MUt,this.W=new Array(160)}lc.inherits(Nl,NDe);FDe.exports=Nl;Nl.blockSize=1024;Nl.outSize=512;Nl.hmacStrength=192;Nl.padLength=128;Nl.prototype._prepareBlock=function(e,t){for(var a=this.W,r=0;r<32;r++)a[r]=e[t+r];for(;r{"use strict";p();u();var k0e=Ml(),ODe=A0e();function $2(){if(!(this instanceof $2))return new $2;ODe.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}k0e.inherits($2,ODe);VDe.exports=$2;$2.blockSize=1024;$2.outSize=384;$2.hmacStrength=192;$2.padLength=128;$2.prototype._digest=function(e){return e==="hex"?k0e.toHex32(this.h.slice(0,12),"big"):k0e.split32(this.h.slice(0,12),"big")}});var UDe=B(Zv=>{"use strict";p();u();Zv.sha1=SDe();Zv.sha224=LDe();Zv.sha256=E0e();Zv.sha384=$De();Zv.sha512=A0e()});var GDe=B(jDe=>{"use strict";p();u();var dh=Ml(),GUt=Qv(),YF=dh.rotl32,qDe=dh.sum32,KD=dh.sum32_3,HDe=dh.sum32_4,WDe=GUt.BlockHash;function n5(){if(!(this instanceof n5))return new n5;WDe.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}dh.inherits(n5,WDe);jDe.ripemd160=n5;n5.blockSize=512;n5.outSize=160;n5.hmacStrength=192;n5.padLength=64;n5.prototype._update=function(e,t){for(var a=this.h[0],r=this.h[1],i=this.h[2],s=this.h[3],f=this.h[4],o=a,c=r,d=i,l=s,y=f,h=0;h<80;h++){var T=qDe(YF(HDe(a,zDe(h,r,i,s),e[YUt[h]+t],KUt(h)),XUt[h]),f);a=f,f=s,s=YF(i,10),i=r,r=T,T=qDe(YF(HDe(o,zDe(79-h,c,d,l),e[JUt[h]+t],QUt(h)),ZUt[h]),y),o=y,y=l,l=YF(d,10),d=c,c=T}T=KD(this.h[1],i,l),this.h[1]=KD(this.h[2],s,y),this.h[2]=KD(this.h[3],f,o),this.h[3]=KD(this.h[4],a,c),this.h[4]=KD(this.h[0],r,d),this.h[0]=T};n5.prototype._digest=function(e){return e==="hex"?dh.toHex32(this.h,"little"):dh.split32(this.h,"little")};function zDe(n,e,t,a){return n<=15?e^t^a:n<=31?e&t|~e&a:n<=47?(e|~t)^a:n<=63?e&a|t&~a:e^(t|~a)}function KUt(n){return n<=15?0:n<=31?1518500249:n<=47?1859775393:n<=63?2400959708:2840853838}function QUt(n){return n<=15?1352829926:n<=31?1548603684:n<=47?1836072691:n<=63?2053994217:0}var YUt=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],JUt=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],XUt=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],ZUt=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]});var QDe=B((rUn,KDe)=>{"use strict";p();u();var eqt=Ml(),tqt=cc();function eT(n,e,t){if(!(this instanceof eT))return new eT(n,e,t);this.Hash=n,this.blockSize=n.blockSize/8,this.outSize=n.outSize/8,this.inner=null,this.outer=null,this._init(eqt.toArray(e,t))}KDe.exports=eT;eT.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),tqt(e.length<=this.blockSize);for(var t=e.length;t{p();u();var Vf=YDe;Vf.utils=Ml();Vf.common=Qv();Vf.sha=UDe();Vf.ripemd=GDe();Vf.hmac=QDe();Vf.sha1=Vf.sha.sha1;Vf.sha256=Vf.sha.sha256;Vf.sha224=Vf.sha.sha224;Vf.sha384=Vf.sha.sha384;Vf.sha512=Vf.sha.sha512;Vf.ripemd160=Vf.ripemd.ripemd160});var XDe=B((dUn,JDe)=>{p();u();JDe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var JF=B(tCe=>{"use strict";p();u();var R0e=tCe,tm=lh(),P0e=w0e(),nqt=td(),ZDe=nqt.assert;function eCe(n){n.type==="short"?this.curve=new P0e.short(n):n.type==="edwards"?this.curve=new P0e.edwards(n):this.curve=new P0e.mont(n),this.g=this.curve.g,this.n=this.curve.n,this.hash=n.hash,ZDe(this.g.validate(),"Invalid curve"),ZDe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}R0e.PresetCurve=eCe;function nm(n,e){Object.defineProperty(R0e,n,{configurable:!0,enumerable:!0,get:function(){var t=new eCe(e);return Object.defineProperty(R0e,n,{configurable:!0,enumerable:!0,value:t}),t}})}nm("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:tm.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});nm("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:tm.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});nm("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:tm.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});nm("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:tm.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});nm("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:tm.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});nm("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:tm.sha256,gRed:!1,g:["9"]});nm("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:tm.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var L0e;try{L0e=XDe()}catch{L0e=void 0}nm("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:tm.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",L0e]})});var M0e=B((bUn,aCe)=>{"use strict";p();u();var aqt=lh(),ph=iN(),nCe=cc();function am(n){if(!(this instanceof am))return new am(n);this.hash=n.hash,this.predResist=!!n.predResist,this.outLen=this.hash.outSize,this.minEntropy=n.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=ph.toArray(n.entropy,n.entropyEnc||"hex"),t=ph.toArray(n.nonce,n.nonceEnc||"hex"),a=ph.toArray(n.pers,n.persEnc||"hex");nCe(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,t,a)}aCe.exports=am;am.prototype._init=function(e,t,a){var r=e.concat(t).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1};am.prototype.generate=function(e,t,a,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof t!="string"&&(r=a,a=t,t=null),a&&(a=ph.toArray(a,r||"hex"),this._update(a));for(var i=[];i.length{"use strict";p();u();var rqt=hr(),iqt=td(),B0e=iqt.assert;function Eo(n,e){this.ec=n,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}rCe.exports=Eo;Eo.fromPublic=function(e,t,a){return t instanceof Eo?t:new Eo(e,{pub:t,pubEnc:a})};Eo.fromPrivate=function(e,t,a){return t instanceof Eo?t:new Eo(e,{priv:t,privEnc:a})};Eo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};Eo.prototype.getPublic=function(e,t){return typeof e=="string"&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub};Eo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};Eo.prototype._importPrivate=function(e,t){this.priv=new rqt(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)};Eo.prototype._importPublic=function(e,t){if(e.x||e.y){this.ec.curve.type==="mont"?B0e(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&B0e(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)};Eo.prototype.derive=function(e){return e.validate()||B0e(e.validate(),"public point not validated"),e.mul(this.priv).getX()};Eo.prototype.sign=function(e,t,a){return this.ec.sign(e,this,t,a)};Eo.prototype.verify=function(e,t){return this.ec.verify(e,t,this)};Eo.prototype.inspect=function(){return""}});var oCe=B((wUn,fCe)=>{"use strict";p();u();var XF=hr(),O0e=td(),sqt=O0e.assert;function ZF(n,e){if(n instanceof ZF)return n;this._importDER(n,e)||(sqt(n.r&&n.s,"Signature without r or s"),this.r=new XF(n.r,16),this.s=new XF(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}fCe.exports=ZF;function fqt(){this.place=0}function N0e(n,e){var t=n[e.place++];if(!(t&128))return t;var a=t&15;if(a===0||a>4)return!1;for(var r=0,i=0,s=e.place;i>>=0;return r<=127?!1:(e.place=s,r)}function sCe(n){for(var e=0,t=n.length-1;!n[e]&&!(n[e+1]&128)&&e>>3);for(n.push(t|128);--t;)n.push(e>>>(t<<3)&255);n.push(e)}ZF.prototype.toDER=function(e){var t=this.r.toArray(),a=this.s.toArray();for(t[0]&128&&(t=[0].concat(t)),a[0]&128&&(a=[0].concat(a)),t=sCe(t),a=sCe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];F0e(r,t.length),r=r.concat(t),r.push(2),F0e(r,a.length);var i=r.concat(a),s=[48];return F0e(s,i.length),s=s.concat(i),O0e.encode(s,e)}});var pCe=B((EUn,lCe)=>{"use strict";p();u();var uh=hr(),cCe=M0e(),oqt=td(),V0e=JF(),cqt=Ov(),dCe=oqt.assert,$0e=iCe(),eO=oCe();function o6(n){if(!(this instanceof o6))return new o6(n);typeof n=="string"&&(dCe(Object.prototype.hasOwnProperty.call(V0e,n),"Unknown curve "+n),n=V0e[n]),n instanceof V0e.PresetCurve&&(n={curve:n}),this.curve=n.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=n.curve.g,this.g.precompute(n.curve.n.bitLength()+1),this.hash=n.hash||n.curve.hash}lCe.exports=o6;o6.prototype.keyPair=function(e){return new $0e(this,e)};o6.prototype.keyFromPrivate=function(e,t){return $0e.fromPrivate(this,e,t)};o6.prototype.keyFromPublic=function(e,t){return $0e.fromPublic(this,e,t)};o6.prototype.genKeyPair=function(e){e||(e={});for(var t=new cCe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||cqt(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new uh(2));;){var i=new uh(t.generate(a));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}};o6.prototype._truncateToN=function(e,t){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e};o6.prototype.sign=function(e,t,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),t=this.keyFromPrivate(t,a),e=this._truncateToN(new uh(e,16));for(var i=this.n.byteLength(),s=t.getPrivate().toArray("be",i),f=e.toArray("be",i),o=new cCe({hash:this.hash,entropy:s,nonce:f,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new uh(1)),d=0;;d++){var l=r.k?r.k(d):new uh(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var y=this.g.mul(l);if(!y.isInfinity()){var h=y.getX(),T=h.umod(this.n);if(T.cmpn(0)!==0){var A=l.invm(this.n).mul(T.mul(t.getPrivate()).iadd(e));if(A=A.umod(this.n),A.cmpn(0)!==0){var O=(y.getY().isOdd()?1:0)|(h.cmp(T)!==0?2:0);return r.canonical&&A.cmp(this.nh)>0&&(A=this.n.sub(A),O^=1),new eO({r:T,s:A,recoveryParam:O})}}}}}};o6.prototype.verify=function(e,t,a,r){e=this._truncateToN(new uh(e,16)),a=this.keyFromPublic(a,r),t=new eO(t,"hex");var i=t.r,s=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0||s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var f=s.invm(this.n),o=f.mul(e).umod(this.n),c=f.mul(i).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(i)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(i)===0)};o6.prototype.recoverPubKey=function(n,e,t,a){dCe((3&t)===t,"The recovery param is more than two bits"),e=new eO(e,a);var r=this.n,i=new uh(n),s=e.r,f=e.s,o=t&1,c=t>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?s=this.curve.pointFromX(s.add(this.curve.n),o):s=this.curve.pointFromX(s,o);var d=e.r.invm(r),l=r.sub(i).mul(d).umod(r),y=f.mul(d).umod(r);return this.g.mulAdd(l,s,y)};o6.prototype.getKeyRecoveryParam=function(n,e,t,a){if(e=new eO(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var i;try{i=this.recoverPubKey(n,e,r)}catch{continue}if(i.eq(t))return r}throw new Error("Unable to find valid recovery factor")}});var bCe=B((SUn,mCe)=>{"use strict";p();u();var QD=td(),yCe=QD.assert,uCe=QD.parseBytes,tT=QD.cachedProperty;function af(n,e){this.eddsa=n,this._secret=uCe(e.secret),n.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=uCe(e.pub)}af.fromPublic=function(e,t){return t instanceof af?t:new af(e,{pub:t})};af.fromSecret=function(e,t){return t instanceof af?t:new af(e,{secret:t})};af.prototype.secret=function(){return this._secret};tT(af,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});tT(af,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});tT(af,"privBytes",function(){var e=this.eddsa,t=this.hash(),a=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});tT(af,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});tT(af,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});tT(af,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});af.prototype.sign=function(e){return yCe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};af.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)};af.prototype.getSecret=function(e){return yCe(this._secret,"KeyPair is public only"),QD.encode(this.secret(),e)};af.prototype.getPublic=function(e){return QD.encode(this.pubBytes(),e)};mCe.exports=af});var gCe=B((PUn,hCe)=>{"use strict";p();u();var dqt=hr(),tO=td(),lqt=tO.assert,nO=tO.cachedProperty,pqt=tO.parseBytes;function yh(n,e){this.eddsa=n,typeof e!="object"&&(e=pqt(e)),Array.isArray(e)&&(e={R:e.slice(0,n.encodingLength),S:e.slice(n.encodingLength)}),lqt(e.R&&e.S,"Signature without R or S"),n.isPoint(e.R)&&(this._R=e.R),e.S instanceof dqt&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}nO(yh,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});nO(yh,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});nO(yh,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});nO(yh,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});yh.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};yh.prototype.toHex=function(){return tO.encode(this.toBytes(),"hex").toUpperCase()};hCe.exports=yh});var xCe=B((MUn,wCe)=>{"use strict";p();u();var uqt=lh(),yqt=JF(),nT=td(),mqt=nT.assert,TCe=nT.parseBytes,_Ce=bCe(),vCe=gCe();function pc(n){if(mqt(n==="ed25519","only tested with ed25519 so far"),!(this instanceof pc))return new pc(n);n=yqt[n].curve,this.curve=n,this.g=n.g,this.g.precompute(n.n.bitLength()+1),this.pointClass=n.point().constructor,this.encodingLength=Math.ceil(n.n.bitLength()/8),this.hash=uqt.sha512}wCe.exports=pc;pc.prototype.sign=function(e,t){e=TCe(e);var a=this.keyFromSecret(t),r=this.hashInt(a.messagePrefix(),e),i=this.g.mul(r),s=this.encodePoint(i),f=this.hashInt(s,a.pubBytes(),e).mul(a.priv()),o=r.add(f).umod(this.curve.n);return this.makeSignature({R:i,S:o,Rencoded:s})};pc.prototype.verify=function(e,t,a){e=TCe(e),t=this.makeSignature(t);var r=this.keyFromPublic(a),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),s=this.g.mul(t.S()),f=t.R().add(r.pub().mul(i));return f.eq(s)};pc.prototype.hashInt=function(){for(var e=this.hash(),t=0;t{"use strict";p();u();var mh=ICe;mh.version=sDe().version;mh.utils=td();mh.rand=Ov();mh.curve=w0e();mh.curves=JF();mh.ec=pCe();mh.eddsa=xCe()});var ECe=B((exports,module)=>{p();u();var indexOf=function(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0;t{p();u();var DCe=rT(),bqt=L0(),hqt=CCe;hqt.define=function(e,t){return new aT(e,t)};function aT(n,e){this.name=n,this.body=e,this.decoders={},this.encoders={}}aT.prototype._createNamed=function(e){var t;try{t=ECe().runInThisContext("(function "+this.name+`(entity) { this._initNamed(entity); -})`)}catch{n=function(r){this._initNamed(r)}}return DQ0(n,e),n.prototype._initNamed=function(r){e.call(this,r)},new n(this)};iT.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(sRe.decoders[e])),this.decoders[e]};iT.prototype.decode=function(e,n,a){return this._getDecoder(n).decode(e,a)};iT.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(sRe.encoders[e])),this.encoders[e]};iT.prototype.encode=function(e,n,a){return this._getEncoder(n).encode(e,a)}});var lRe=D(dRe=>{u();p();var LQ0=Nt();function Ld(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}dRe.Reporter=Ld;Ld.prototype.isError=function(e){return e instanceof oT};Ld.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};Ld.prototype.restore=function(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)};Ld.prototype.enterKey=function(e){return this._reporterState.path.push(e)};Ld.prototype.exitKey=function(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)};Ld.prototype.leaveKey=function(e,n,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[n]=a)};Ld.prototype.path=function(){return this._reporterState.path.join("/")};Ld.prototype.enterObject=function(){var e=this._reporterState,n=e.obj;return e.obj={},n};Ld.prototype.leaveObject=function(e){var n=this._reporterState,a=n.obj;return n.obj=e,a};Ld.prototype.error=function(e){var n,a=this._reporterState,r=e instanceof oT;if(r?n=e:n=new oT(a.path.map(function(f){return"["+JSON.stringify(f)+"]"}).join(""),e.message||e,e.stack),!a.options.partial)throw n;return r||a.errors.push(n),n};Ld.prototype.wrapResult=function(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function oT(t,e){this.path=t,this.rethrow(e)}LQ0(oT,Error);oT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,oT),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this}});var Jae=D($ae=>{u();p();var FQ0=Nt(),BU=cT().Reporter,xk=Qf().Buffer;function Du(t,e){if(BU.call(this,e),!xk.isBuffer(t)){this.error("Input not Buffer");return}this.base=t,this.offset=0,this.length=t.length}FQ0(Du,BU);$ae.DecoderBuffer=Du;Du.prototype.save=function(){return{offset:this.offset,reporter:BU.prototype.save.call(this)}};Du.prototype.restore=function(e){var n=new Du(this.base);return n.offset=e.offset,n.length=this.offset,this.offset=e.offset,BU.prototype.restore.call(this,e.reporter),n};Du.prototype.isEmpty=function(){return this.offset===this.length};Du.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};Du.prototype.skip=function(e,n){if(!(this.offset+e<=this.length))return this.error(n||"DecoderBuffer overrun");var a=new Du(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};Du.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function MU(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(n){return n instanceof MU||(n=new MU(n,e)),this.length+=n.length,n},this);else if(typeof t=="number"){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if(typeof t=="string")this.value=t,this.length=xk.byteLength(t);else if(xk.isBuffer(t))this.value=t,this.length=t.length;else return e.error("Unsupported type: "+typeof t)}$ae.EncoderBuffer=MU;MU.prototype.join=function(e,n){return e||(e=new xk(this.length)),n||(n=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(a){a.join(e,n),n+=a.length}):(typeof this.value=="number"?e[n]=this.value:typeof this.value=="string"?e.write(this.value,n):xk.isBuffer(this.value)&&this.value.copy(e,n),n+=this.length)),e}});var hRe=D((jVn,pRe)=>{u();p();var NQ0=cT().Reporter,OQ0=cT().EncoderBuffer,UQ0=cT().DecoderBuffer,z1=Mc(),uRe=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],HQ0=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(uRe),zQ0=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function br(t,e){var n={};this._baseState=n,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}pRe.exports=br;var WQ0=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];br.prototype.clone=function(){var e=this._baseState,n={};WQ0.forEach(function(r){n[r]=e[r]});var a=new this.constructor(n.parent);return a._baseState=n,a};br.prototype._wrap=function(){var e=this._baseState;HQ0.forEach(function(n){this[n]=function(){var r=new this.constructor(this);return e.children.push(r),r[n].apply(r,arguments)}},this)};br.prototype._init=function(e){var n=this._baseState;z1(n.parent===null),e.call(this),n.children=n.children.filter(function(a){return a._baseState.parent===this},this),z1.equal(n.children.length,1,"Root node can have only one child")};br.prototype._useArgs=function(e){var n=this._baseState,a=e.filter(function(r){return r instanceof this.constructor},this);e=e.filter(function(r){return!(r instanceof this.constructor)},this),a.length!==0&&(z1(n.children===null),n.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(z1(n.args===null),n.args=e,n.reverseArgs=e.map(function(r){if(typeof r!="object"||r.constructor!==Object)return r;var f={};return Object.keys(r).forEach(function(i){i==(i|0)&&(i|=0);var s=r[i];f[s]=i}),f}))};zQ0.forEach(function(t){br.prototype[t]=function(){var n=this._baseState;throw new Error(t+" not implemented for encoding: "+n.enc)}});uRe.forEach(function(t){br.prototype[t]=function(){var n=this._baseState,a=Array.prototype.slice.call(arguments);return z1(n.tag===null),n.tag=t,this._useArgs(a),this}});br.prototype.use=function(e){z1(e);var n=this._baseState;return z1(n.use===null),n.use=e,this};br.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};br.prototype.def=function(e){var n=this._baseState;return z1(n.default===null),n.default=e,n.optional=!0,this};br.prototype.explicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.explicit=e,this};br.prototype.implicit=function(e){var n=this._baseState;return z1(n.explicit===null&&n.implicit===null),n.implicit=e,this};br.prototype.obj=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return e.obj=!0,n.length!==0&&this._useArgs(n),this};br.prototype.key=function(e){var n=this._baseState;return z1(n.key===null),n.key=e,this};br.prototype.any=function(){var e=this._baseState;return e.any=!0,this};br.prototype.choice=function(e){var n=this._baseState;return z1(n.choice===null),n.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};br.prototype.contains=function(e){var n=this._baseState;return z1(n.use===null),n.contains=e,this};br.prototype._decode=function(e,n){var a=this._baseState;if(a.parent===null)return e.wrapResult(a.children[0]._decode(e,n));var r=a.default,f=!0,i=null;if(a.key!==null&&(i=e.enterKey(a.key)),a.optional){var s=null;if(a.explicit!==null?s=a.explicit:a.implicit!==null?s=a.implicit:a.tag!==null&&(s=a.tag),s===null&&!a.any){var o=e.save();try{a.choice===null?this._decodeGeneric(a.tag,e,n):this._decodeChoice(e,n),f=!0}catch{f=!1}e.restore(o)}else if(f=this._peekTag(e,s,a.any),e.isError(f))return f}var c;if(a.obj&&f&&(c=e.enterObject()),f){if(a.explicit!==null){var d=this._decodeTag(e,a.explicit);if(e.isError(d))return d;e=d}var l=e.offset;if(a.use===null&&a.choice===null){if(a.any)var o=e.save();var h=this._decodeTag(e,a.implicit!==null?a.implicit:a.tag,a.any);if(e.isError(h))return h;a.any?r=e.raw(o):e=h}if(n&&n.track&&a.tag!==null&&n.track(e.path(),l,e.length,"tagged"),n&&n.track&&a.tag!==null&&n.track(e.path(),e.offset,e.length,"content"),a.any?r=r:a.choice===null?r=this._decodeGeneric(a.tag,e,n):r=this._decodeChoice(e,n),e.isError(r))return r;if(!a.any&&a.choice===null&&a.children!==null&&a.children.forEach(function(k){k._decode(e,n)}),a.contains&&(a.tag==="octstr"||a.tag==="bitstr")){var y=new UQ0(r);r=this._getUse(a.contains,e._reporterState.obj)._decode(y,n)}}return a.obj&&f&&(r=e.leaveObject(c)),a.key!==null&&(r!==null||f===!0)?e.leaveKey(i,a.key,r):i!==null&&e.exitKey(i),r};br.prototype._decodeGeneric=function(e,n,a){var r=this._baseState;return e==="seq"||e==="set"?null:e==="seqof"||e==="setof"?this._decodeList(n,e,r.args[0],a):/str$/.test(e)?this._decodeStr(n,e,a):e==="objid"&&r.args?this._decodeObjid(n,r.args[0],r.args[1],a):e==="objid"?this._decodeObjid(n,null,null,a):e==="gentime"||e==="utctime"?this._decodeTime(n,e,a):e==="null_"?this._decodeNull(n,a):e==="bool"?this._decodeBool(n,a):e==="objDesc"?this._decodeStr(n,e,a):e==="int"||e==="enum"?this._decodeInt(n,r.args&&r.args[0],a):r.use!==null?this._getUse(r.use,n._reporterState.obj)._decode(n,a):n.error("unknown tag: "+e)};br.prototype._getUse=function(e,n){var a=this._baseState;return a.useDecoder=this._use(e,n),z1(a.useDecoder._baseState.parent===null),a.useDecoder=a.useDecoder._baseState.children[0],a.implicit!==a.useDecoder._baseState.implicit&&(a.useDecoder=a.useDecoder.clone(),a.useDecoder._baseState.implicit=a.implicit),a.useDecoder};br.prototype._decodeChoice=function(e,n){var a=this._baseState,r=null,f=!1;return Object.keys(a.choice).some(function(i){var s=e.save(),o=a.choice[i];try{var c=o._decode(e,n);if(e.isError(c))return!1;r={type:i,value:c},f=!0}catch{return e.restore(s),!1}return!0},this),f?r:e.error("Choice not matched")};br.prototype._createEncoderBuffer=function(e){return new OQ0(e,this.reporter)};br.prototype._encode=function(e,n,a){var r=this._baseState;if(!(r.default!==null&&r.default===e)){var f=this._encodeValue(e,n,a);if(f!==void 0&&!this._skipDefault(f,n,a))return f}};br.prototype._encodeValue=function(e,n,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,n||new NQ0);var o=null;if(this.reporter=n,r.optional&&e===void 0)if(r.default!==null)e=r.default;else return;var f=null,i=!1;if(r.any)o=this._createEncoderBuffer(e);else if(r.choice)o=this._encodeChoice(e,n);else if(r.contains)f=this._getUse(r.contains,a)._encode(e,n),i=!0;else if(r.children)f=r.children.map(function(l){if(l._baseState.tag==="null_")return l._encode(null,n,e);if(l._baseState.key===null)return n.error("Child should have a key");var h=n.enterKey(l._baseState.key);if(typeof e!="object")return n.error("Child expected, but input is not object");var y=l._encode(e[l._baseState.key],n,e);return n.leaveKey(h),y},this).filter(function(l){return l}),f=this._createEncoderBuffer(f);else if(r.tag==="seqof"||r.tag==="setof"){if(!(r.args&&r.args.length===1))return n.error("Too many args for : "+r.tag);if(!Array.isArray(e))return n.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,f=this._createEncoderBuffer(e.map(function(l){var h=this._baseState;return this._getUse(h.args[0],e)._encode(l,n)},s))}else r.use!==null?o=this._getUse(r.use,a)._encode(e,n):(f=this._encodePrimitive(r.tag,e),i=!0);var o;if(!r.any&&r.choice===null){var c=r.implicit!==null?r.implicit:r.tag,d=r.implicit===null?"universal":"context";c===null?r.use===null&&n.error("Tag could be omitted only for .use()"):r.use===null&&(o=this._encodeComposite(c,i,d,f))}return r.explicit!==null&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o};br.prototype._encodeChoice=function(e,n){var a=this._baseState,r=a.choice[e.type];return r||z1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,n)};br.prototype._encodePrimitive=function(e,n){var a=this._baseState;if(/str$/.test(e))return this._encodeStr(n,e);if(e==="objid"&&a.args)return this._encodeObjid(n,a.reverseArgs[0],a.args[1]);if(e==="objid")return this._encodeObjid(n,null,null);if(e==="gentime"||e==="utctime")return this._encodeTime(n,e);if(e==="null_")return this._encodeNull();if(e==="int"||e==="enum")return this._encodeInt(n,a.args&&a.reverseArgs[0]);if(e==="bool")return this._encodeBool(n);if(e==="objDesc")return this._encodeStr(n,e);throw new Error("Unsupported tag: "+e)};br.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};br.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var cT=D(mRe=>{u();p();var DU=mRe;DU.Reporter=lRe().Reporter;DU.DecoderBuffer=Jae().DecoderBuffer;DU.EncoderBuffer=Jae().EncoderBuffer;DU.Node=hRe()});var yRe=D(o7=>{u();p();var bRe=Xae();o7.tagClass={0:"universal",1:"application",2:"context",3:"private"};o7.tagClassByName=bRe._reverse(o7.tagClass);o7.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};o7.tagByName=bRe._reverse(o7.tag)});var Xae=D(vRe=>{u();p();var gRe=vRe;gRe._reverse=function(e){var n={};return Object.keys(e).forEach(function(a){(a|0)==a&&(a=a|0);var r=e[a];n[r]=a}),n};gRe.der=yRe()});var tre=D((nYn,ERe)=>{u();p();var qQ0=Nt(),Zae=sT(),PU=Zae.base,jQ0=Zae.bignum,wRe=Zae.constants.der;function TRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new _6,this.tree._init(t.body)}ERe.exports=TRe;TRe.prototype.decode=function(e,n){return e instanceof PU.DecoderBuffer||(e=new PU.DecoderBuffer(e,n)),this.tree._decode(e,n)};function _6(t){PU.Node.call(this,"der",t)}qQ0(_6,PU.Node);_6.prototype._peekTag=function(e,n,a){if(e.isEmpty())return!1;var r=e.save(),f=ere(e,'Failed to peek tag: "'+n+'"');return e.isError(f)?f:(e.restore(r),f.tag===n||f.tagStr===n||f.tagStr+"of"===n||a)};_6.prototype._decodeTag=function(e,n,a){var r=ere(e,'Failed to decode tag of "'+n+'"');if(e.isError(r))return r;var f=xRe(e,r.primitive,'Failed to get length of "'+n+'"');if(e.isError(f))return f;if(!a&&r.tag!==n&&r.tagStr!==n&&r.tagStr+"of"!==n)return e.error('Failed to match tag: "'+n+'"');if(r.primitive||f!==null)return e.skip(f,'Failed to match body of: "'+n+'"');var i=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(f=e.offset-i.offset,e.restore(i),e.skip(f,'Failed to match body of: "'+n+'"'))};_6.prototype._skipUntilEnd=function(e,n){for(;;){var a=ere(e,n);if(e.isError(a))return a;var r=xRe(e,a.primitive,n);if(e.isError(r))return r;var f;if(a.primitive||r!==null?f=e.skip(r):f=this._skipUntilEnd(e,n),e.isError(f))return f;if(a.tagStr==="end")break}};_6.prototype._decodeList=function(e,n,a,r){for(var f=[];!e.isEmpty();){var i=this._peekTag(e,"end");if(e.isError(i))return i;var s=a.decode(e,"der",r);if(e.isError(s)&&i)break;f.push(s)}return f};_6.prototype._decodeStr=function(e,n){if(n==="bitstr"){var a=e.readUInt8();return e.isError(a)?a:{unused:a,data:e.raw()}}else if(n==="bmpstr"){var r=e.raw();if(r.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var f="",i=0;i>6],r=(n&32)===0;if((n&31)===31){var f=n;for(n=0;(f&128)===128;){if(f=t.readUInt8(e),t.isError(f))return f;n<<=7,n|=f&127}}else n&=31;var i=wRe.tag[n];return{cls:a,primitive:r,tag:n,tagStr:i}}function xRe(t,e,n){var a=t.readUInt8(n);if(t.isError(a))return a;if(!e&&a===128)return null;if(!(a&128))return a;var r=a&127;if(r>4)return t.error("length octect is too long");a=0;for(var f=0;f{u();p();var GQ0=Nt(),KQ0=Qf().Buffer,nre=tre();function are(t){nre.call(this,t),this.enc="pem"}GQ0(are,nre);_Re.exports=are;are.prototype.decode=function(e,n){for(var a=e.toString().split(/[\r\n]+/g),r=n.label.toUpperCase(),f=/^-----(BEGIN|END) ([^-]+)-----$/,i=-1,s=-1,o=0;o{u();p();var IRe=CRe;IRe.der=tre();IRe.pem=ARe()});var fre=D((lYn,BRe)=>{u();p();var QQ0=Nt(),E8=Qf().Buffer,SRe=sT(),RRe=SRe.base,rre=SRe.constants.der;function MRe(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new ul,this.tree._init(t.body)}BRe.exports=MRe;MRe.prototype.encode=function(e,n){return this.tree._encode(e,n).join()};function ul(t){RRe.Node.call(this,"der",t)}QQ0(ul,RRe.Node);ul.prototype._encodeComposite=function(e,n,a,r){var f=VQ0(e,n,a,this.reporter);if(r.length<128){var o=new E8(2);return o[0]=f,o[1]=r.length,this._createEncoderBuffer([o,r])}for(var i=1,s=r.length;s>=256;s>>=8)i++;var o=new E8(2+i);o[0]=f,o[1]=128|i;for(var s=1+i,c=r.length;c>0;s--,c>>=8)o[s]=c&255;return this._createEncoderBuffer([o,r])};ul.prototype._encodeStr=function(e,n){if(n==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(n==="bmpstr"){for(var a=new E8(e.length*2),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,e[0]*40+e[1])}for(var f=0,r=0;r=128;i>>=7)f++}for(var s=new E8(f),o=s.length-1,r=e.length-1;r>=0;r--){var i=e[r];for(s[o--]=i&127;(i>>=7)>0;)s[o--]=128|i&127}return this._createEncoderBuffer(s)};function Fd(t){return t<10?"0"+t:t}ul.prototype._encodeTime=function(e,n){var a,r=new Date(e);return n==="gentime"?a=[Fd(r.getFullYear()),Fd(r.getUTCMonth()+1),Fd(r.getUTCDate()),Fd(r.getUTCHours()),Fd(r.getUTCMinutes()),Fd(r.getUTCSeconds()),"Z"].join(""):n==="utctime"?a=[Fd(r.getFullYear()%100),Fd(r.getUTCMonth()+1),Fd(r.getUTCDate()),Fd(r.getUTCHours()),Fd(r.getUTCMinutes()),Fd(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+n+" time is not supported yet"),this._encodeStr(a,"octstr")};ul.prototype._encodeNull=function(){return this._createEncoderBuffer("")};ul.prototype._encodeInt=function(e,n){if(typeof e=="string"){if(!n)return this.reporter.error("String int or enum given, but no values map");if(!n.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=n[e]}if(typeof e!="number"&&!E8.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new E8(a)}if(E8.isBuffer(e)){var r=e.length;e.length===0&&r++;var i=new E8(r);return e.copy(i),e.length===0&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,f=e;f>=256;f>>=8)r++;for(var i=new Array(r),f=i.length-1;f>=0;f--)i[f]=e&255,e>>=8;return i[0]&128&&i.unshift(0),this._createEncoderBuffer(new E8(i))};ul.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};ul.prototype._use=function(e,n){return typeof e=="function"&&(e=e(n)),e._getEncoder("der").tree};ul.prototype._skipDefault=function(e,n,a){var r=this._baseState,f;if(r.default===null)return!1;var i=e.join();if(r.defaultBuffer===void 0&&(r.defaultBuffer=this._encodeValue(r.default,n,a).join()),i.length!==r.defaultBuffer.length)return!1;for(f=0;f=31?a.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=rre.tagClassByName[n||"universal"]<<6,r)}});var PRe=D((hYn,DRe)=>{u();p();var YQ0=Nt(),ire=fre();function sre(t){ire.call(this,t),this.enc="pem"}YQ0(sre,ire);DRe.exports=sre;sre.prototype.encode=function(e,n){for(var a=ire.prototype.encode.call(this,e),r=a.toString("base64"),f=["-----BEGIN "+n.label+"-----"],i=0;i{u();p();var LRe=FRe;LRe.der=fre();LRe.pem=PRe()});var sT=D(ORe=>{u();p();var dT=ORe;dT.bignum=kr();dT.define=cRe().define;dT.base=cT();dT.constants=Xae();dT.decoders=kRe();dT.encoders=NRe()});var WRe=D((EYn,zRe)=>{"use strict";u();p();var pl=sT(),URe=pl.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),$Q0=pl.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),ore=pl.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),JQ0=pl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(ore),this.key("subjectPublicKey").bitstr())}),XQ0=pl.define("RelativeDistinguishedName",function(){this.setof($Q0)}),ZQ0=pl.define("RDNSequence",function(){this.seqof(XQ0)}),HRe=pl.define("Name",function(){this.choice({rdnSequence:this.use(ZQ0)})}),eV0=pl.define("Validity",function(){this.seq().obj(this.key("notBefore").use(URe),this.key("notAfter").use(URe))}),tV0=pl.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),nV0=pl.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(ore),this.key("issuer").use(HRe),this.key("validity").use(eV0),this.key("subject").use(HRe),this.key("subjectPublicKeyInfo").use(JQ0),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(tV0).optional())}),aV0=pl.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(nV0),this.key("signatureAlgorithm").use(ore),this.key("signatureValue").bitstr())});zRe.exports=aV0});var jRe=D(ml=>{"use strict";u();p();var hl=sT();ml.certificate=WRe();var rV0=hl.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ml.RSAPrivateKey=rV0;var fV0=hl.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ml.RSAPublicKey=fV0;var qRe=hl.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),iV0=hl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(qRe),this.key("subjectPublicKey").bitstr())});ml.PublicKey=iV0;var sV0=hl.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(qRe),this.key("subjectPrivateKey").octstr())});ml.PrivateKey=sV0;var oV0=hl.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ml.EncryptedPrivateKey=oV0;var cV0=hl.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ml.DSAPrivateKey=cV0;ml.DSAparam=hl.define("DSAparam",function(){this.int()});var dV0=hl.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),lV0=hl.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(dV0),this.key("publicKey").optional().explicit(1).bitstr())});ml.ECPrivateKey=lV0;ml.signature=hl.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var GRe=D((SYn,uV0)=>{uV0.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}});var QRe=D((RYn,KRe)=>{"use strict";u();p();var pV0=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,hV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,mV0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,bV0=rk(),yV0=aU(),LU=En().Buffer;KRe.exports=function(t,e){var n=t.toString(),a=n.match(pV0),r;if(a){var i="aes"+a[1],s=LU.from(a[2],"hex"),o=LU.from(a[3].replace(/[\r\n]/g,""),"base64"),c=bV0(e,s.slice(0,8),parseInt(a[1],10)).key,d=[],l=yV0.createDecipheriv(i,c,s);d.push(l.update(o)),d.push(l.final()),r=LU.concat(d)}else{var f=n.match(mV0);r=LU.from(f[2].replace(/[\r\n]/g,""),"base64")}var h=n.match(hV0)[1];return{tag:h,data:r}}});var Ek=D((DYn,YRe)=>{"use strict";u();p();var Lc=jRe(),gV0=GRe(),vV0=QRe(),wV0=aU(),TV0=Nne(),cre=En().Buffer;function xV0(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=gV0[t.algorithm.decrypt.cipher.algo.join(".")],f=t.algorithm.decrypt.cipher.iv,i=t.subjectPrivateKey,s=parseInt(r.split("-")[1],10)/8,o=TV0.pbkdf2Sync(e,n,a,s,"sha1"),c=wV0.createDecipheriv(r,o,f),d=[];return d.push(c.update(i)),d.push(c.final()),cre.concat(d)}function VRe(t){var e;typeof t=="object"&&!cre.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=cre.from(t));var n=vV0(t,e),a=n.tag,r=n.data,f,i;switch(a){case"CERTIFICATE":i=Lc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=Lc.PublicKey.decode(r,"der")),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=Lc.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"ENCRYPTED PRIVATE KEY":r=Lc.EncryptedPrivateKey.decode(r,"der"),r=xV0(r,e);case"PRIVATE KEY":switch(i=Lc.PrivateKey.decode(r,"der"),f=i.algorithm.algorithm.join("."),f){case"1.2.840.113549.1.1.1":return Lc.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:Lc.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=Lc.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return Lc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return Lc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Lc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=Lc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}VRe.signature=Lc.signature;YRe.exports=VRe});var dre=D((FYn,EV0)=>{EV0.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}});var XRe=D((NYn,NU)=>{"use strict";u();p();var Wo=En().Buffer,c7=Cne(),_V0=bU(),AV0=Tk().ec,FU=Va(),IV0=Ek(),CV0=dre(),kV0=1;function SV0(t,e,n,a,r){var f=IV0(e);if(f.curve){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");return RV0(t,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong private key type");return MV0(t,f,n)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");if(e.padding!==void 0&&e.padding!==kV0)throw new Error("illegal or unsupported padding mode");t=Wo.concat([r,t]);for(var i=f.modulus.byteLength(),s=[0,1];t.length+s.length+10&&n.ishrn(a),n}function DV0(t,e){t=lre(t,e),t=t.mod(e);var n=Wo.from(t.toArray());if(n.length{"use strict";u();p();var ure=En().Buffer,_k=Va(),LV0=Tk().ec,eMe=Ek(),FV0=dre();function NV0(t,e,n,a,r){var f=eMe(n);if(f.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return OV0(t,e,f)}else if(f.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return UV0(t,e,f)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=ure.concat([r,e]);for(var i=f.modulus.byteLength(),s=[1],o=0;e.length+s.length+2=0)throw new Error("invalid sig")}tMe.exports=NV0});var oMe=D((qYn,sMe)=>{"use strict";u();p();var OU=En().Buffer,fMe=qy(),UU=Nke(),iMe=Nt(),HV0=XRe(),zV0=nMe(),d7=kne();Object.keys(d7).forEach(function(t){d7[t].id=OU.from(d7[t].id,"hex"),d7[t.toLowerCase()]=d7[t]});function Ak(t){UU.Writable.call(this);var e=d7[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=fMe(e.hash),this._tag=e.id,this._signType=e.sign}iMe(Ak,UU.Writable);Ak.prototype._write=function(e,n,a){this._hash.update(e),a()};Ak.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};Ak.prototype.sign=function(e,n){this.end();var a=this._hash.digest(),r=HV0(a,e,this._hashType,this._signType,this._tag);return n?r.toString(n):r};function Ik(t){UU.Writable.call(this);var e=d7[t];if(!e)throw new Error("Unknown message digest");this._hash=fMe(e.hash),this._tag=e.id,this._signType=e.sign}iMe(Ik,UU.Writable);Ik.prototype._write=function(e,n,a){this._hash.update(e),a()};Ik.prototype.update=function(e,n){return this._hash.update(typeof e=="string"?OU.from(e,n):e),this};Ik.prototype.verify=function(e,n,a){var r=typeof n=="string"?OU.from(n,a):n;this.end();var f=this._hash.digest();return zV0(r,f,e,this._signType,this._tag)};function aMe(t){return new Ak(t)}function rMe(t){return new Ik(t)}sMe.exports={Sign:aMe,Verify:rMe,createSign:aMe,createVerify:rMe}});var dMe=D((KYn,cMe)=>{u();p();var WV0=Tk(),qV0=kr();cMe.exports=function(e){return new l7(e)};var A6={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};A6.p224=A6.secp224r1;A6.p256=A6.secp256r1=A6.prime256v1;A6.p192=A6.secp192r1=A6.prime192v1;A6.p384=A6.secp384r1;A6.p521=A6.secp521r1;function l7(t){this.curveType=A6[t],this.curveType||(this.curveType={name:t}),this.curve=new WV0.ec(this.curveType.name),this.keys=void 0}l7.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)};l7.prototype.computeSecret=function(t,e,n){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var a=this.curve.keyFromPublic(t).getPublic(),r=a.mul(this.keys.getPrivate()).getX();return pre(r,n,this.curveType.byteLength)};l7.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic(e==="compressed",!0);return e==="hybrid"&&(n[n.length-1]%2?n[0]=7:n[0]=6),pre(n,t)};l7.prototype.getPrivateKey=function(t){return pre(this.keys.getPrivate(),t)};l7.prototype.setPublicKey=function(t,e){return e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e)),this.keys._importPublic(t),this};l7.prototype.setPrivateKey=function(t,e){e=e||"utf8",_.Buffer.isBuffer(t)||(t=new _.Buffer(t,e));var n=new qV0(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function pre(t,e,n){Array.isArray(t)||(t=t.toArray());var a=new _.Buffer(t);if(n&&a.length{u();p();var jV0=qy(),hre=En().Buffer;lMe.exports=function(t,e){for(var n=hre.alloc(0),a=0,r;n.length{u();p();uMe.exports=function(e,n){for(var a=e.length,r=-1;++r{u();p();var pMe=kr(),KV0=En().Buffer;function QV0(t,e){return KV0.from(t.toRed(pMe.mont(e.modulus)).redPow(new pMe(e.publicExponent)).fromRed().toArray())}hMe.exports=QV0});var gMe=D((r$n,yMe)=>{u();p();var VV0=Ek(),gre=s8(),YV0=qy(),mMe=mre(),bMe=bre(),vre=kr(),$V0=yre(),JV0=bU(),bl=En().Buffer;yMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=VV0(e),i;if(r===4)i=XV0(f,n);else if(r===1)i=ZV0(f,n,a);else if(r===3){if(i=new vre(n),i.cmp(f.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?JV0(i,f):$V0(i,f)};function XV0(t,e){var n=t.modulus.byteLength(),a=e.length,r=YV0("sha1").update(bl.alloc(0)).digest(),f=r.length,i=2*f;if(a>n-i-2)throw new Error("message too long");var s=bl.alloc(n-a-i-2),o=n-f-1,c=gre(f),d=bMe(bl.concat([r,s,bl.alloc(1,1),e],o),mMe(c,o)),l=bMe(c,mMe(d,f));return new vre(bl.concat([bl.alloc(1),l,d],n))}function ZV0(t,e,n){var a=e.length,r=t.modulus.byteLength();if(a>r-11)throw new Error("message too long");var f;return n?f=bl.alloc(r-a-3,255):f=eY0(r-a-3),new vre(bl.concat([bl.from([0,n?1:2]),f,bl.alloc(1),e],r))}function eY0(t){for(var e=bl.allocUnsafe(t),n=0,a=gre(t*2),r=0,f;n{u();p();var tY0=Ek(),vMe=mre(),wMe=bre(),TMe=kr(),nY0=bU(),aY0=qy(),rY0=yre(),Ck=En().Buffer;xMe.exports=function(e,n,a){var r;e.padding?r=e.padding:a?r=1:r=4;var f=tY0(e),i=f.modulus.byteLength();if(n.length>i||new TMe(n).cmp(f.modulus)>=0)throw new Error("decryption error");var s;a?s=rY0(new TMe(n),f):s=nY0(n,f);var o=Ck.alloc(i-s.length);if(s=Ck.concat([o,s],i),r===4)return fY0(f,s);if(r===1)return iY0(f,s,a);if(r===3)return s;throw new Error("unknown padding")};function fY0(t,e){var n=t.modulus.byteLength(),a=aY0("sha1").update(Ck.alloc(0)).digest(),r=a.length;if(e[0]!==0)throw new Error("decryption error");var f=e.slice(1,r+1),i=e.slice(r+1),s=wMe(f,vMe(i,r)),o=wMe(i,vMe(s,n-r-1));if(sY0(a,o.slice(0,r)))throw new Error("decryption error");for(var c=r;o[c]===0;)c++;if(o[c++]!==1)throw new Error("decryption error");return o.slice(c)}function iY0(t,e,n){for(var a=e.slice(0,2),r=2,f=0;e[r++]!==0;)if(r>=e.length){f++;break}var i=e.slice(2,r-1);if((a.toString("hex")!=="0002"&&!n||a.toString("hex")!=="0001"&&n)&&f++,i.length<8&&f++,f)throw new Error("decryption error");return e.slice(r)}function sY0(t,e){t=Ck.from(t),e=Ck.from(e);var n=0,a=t.length;t.length!==e.length&&(n++,a=Math.min(t.length,e.length));for(var r=-1;++r{u();p();u7.publicEncrypt=gMe();u7.privateDecrypt=EMe();u7.privateEncrypt=function(e,n){return u7.publicEncrypt(e,n,!0)};u7.publicDecrypt=function(e,n){return u7.privateDecrypt(e,n,!0)}});var PMe=D(kk=>{"use strict";u();p();function AMe(){throw new Error(`secure random number generation not supported by this browser -use chrome, FireFox or Internet Explorer 11`)}var CMe=En(),IMe=s8(),kMe=CMe.Buffer,SMe=CMe.kMaxLength,wre=global.crypto||global.msCrypto,RMe=Math.pow(2,32)-1;function MMe(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>RMe||t<0)throw new TypeError("offset must be a uint32");if(t>SMe||t>e)throw new RangeError("offset out of range")}function BMe(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>RMe||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>SMe)throw new RangeError("buffer too small")}wre&&wre.getRandomValues||!x.browser?(kk.randomFill=oY0,kk.randomFillSync=cY0):(kk.randomFill=AMe,kk.randomFillSync=AMe);function oY0(t,e,n,a){if(!kMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")a=e,e=0,n=t.length;else if(typeof n=="function")a=n,n=t.length-e;else if(typeof a!="function")throw new TypeError('"cb" argument must be a function');return MMe(e,t.length),BMe(n,e,t.length),DMe(t,e,n,a)}function DMe(t,e,n,a){if(x.browser){var r=t.buffer,f=new Uint8Array(r,e,n);if(wre.getRandomValues(f),a){x.nextTick(function(){a(null,t)});return}return t}if(a){IMe(n,function(s,o){if(s)return a(s);o.copy(t,e),a(null,t)});return}var i=IMe(n);return i.copy(t,e),t}function cY0(t,e,n){if(typeof e>"u"&&(e=0),!kMe.isBuffer(t)&&!(t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return MMe(e,t.length),n===void 0&&(n=t.length-e),BMe(n,e,t.length),DMe(t,e,n)}});var WU=D(_n=>{"use strict";u();p();_n.randomBytes=_n.rng=_n.pseudoRandomBytes=_n.prng=s8();_n.createHash=_n.Hash=qy();_n.createHmac=_n.Hmac=Cne();var dY0=bIe(),lY0=Object.keys(dY0),uY0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(lY0);_n.getHashes=function(){return uY0};var LMe=Nne();_n.pbkdf2=LMe.pbkdf2;_n.pbkdf2Sync=LMe.pbkdf2Sync;var Pu=FCe();_n.Cipher=Pu.Cipher;_n.createCipher=Pu.createCipher;_n.Cipheriv=Pu.Cipheriv;_n.createCipheriv=Pu.createCipheriv;_n.Decipher=Pu.Decipher;_n.createDecipher=Pu.createDecipher;_n.Decipheriv=Pu.Decipheriv;_n.createDecipheriv=Pu.createDecipheriv;_n.getCiphers=Pu.getCiphers;_n.listCiphers=Pu.listCiphers;var Sk=VCe();_n.DiffieHellmanGroup=Sk.DiffieHellmanGroup;_n.createDiffieHellmanGroup=Sk.createDiffieHellmanGroup;_n.getDiffieHellman=Sk.getDiffieHellman;_n.createDiffieHellman=Sk.createDiffieHellman;_n.DiffieHellman=Sk.DiffieHellman;var HU=oMe();_n.createSign=HU.createSign;_n.Sign=HU.Sign;_n.createVerify=HU.createVerify;_n.Verify=HU.Verify;_n.createECDH=dMe();var zU=_Me();_n.publicEncrypt=zU.publicEncrypt;_n.privateEncrypt=zU.privateEncrypt;_n.publicDecrypt=zU.publicDecrypt;_n.privateDecrypt=zU.privateDecrypt;var FMe=PMe();_n.randomFill=FMe.randomFill;_n.randomFillSync=FMe.randomFillSync;_n.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(` -`))};_n.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}});var zw=D((v$n,Ere)=>{u();p();var Tre;Ere.exports=function(e){return Tre||(Tre=new q3(null)),Tre.generate(e)};function q3(t){this.rand=t}Ere.exports.Rand=q3;q3.prototype.generate=function(e){return this._rand(e)};q3.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();var p7=kr(),Rk=x6(),qU=Rk.getNAF,pY0=Rk.getJSF,jU=Rk.assert;function j3(t,e){this.type=t,this.p=new p7(e.p,16),this.red=e.prime?p7.red(e.prime):p7.mont(this.p),this.zero=new p7(0).toRed(this.red),this.one=new p7(1).toRed(this.red),this.two=new p7(2).toRed(this.red),this.n=e.n&&new p7(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}NMe.exports=j3;j3.prototype.point=function(){throw new Error("Not implemented")};j3.prototype.validate=function(){throw new Error("Not implemented")};j3.prototype._fixedNafMul=function(e,n){jU(e.precomputed);var a=e._getDoubles(),r=qU(n,1,this._bitLength),f=(1<=s;c--)o=(o<<1)+r[c];i.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=f;h>0;h--){for(s=0;s=0;o--){for(var c=0;o>=0&&i[o]===0;o--)c++;if(o>=0&&c++,s=s.dblp(c),o<0)break;var d=i[o];jU(d!==0),e.type==="affine"?d>0?s=s.mixedAdd(f[d-1>>1]):s=s.mixedAdd(f[-d-1>>1].neg()):d>0?s=s.add(f[d-1>>1]):s=s.add(f[-d-1>>1].neg())}return e.type==="affine"?s.toP():s};j3.prototype._wnafMulAdd=function(e,n,a,r,f){var i=this._wnafT1,s=this._wnafT2,o=this._wnafT3,c=0,d,l,h;for(d=0;d=1;d-=2){var v=d-1,k=d;if(i[v]!==1||i[k]!==1){o[v]=qU(a[v],i[v],this._bitLength),o[k]=qU(a[k],i[k],this._bitLength),c=Math.max(o[v].length,c),c=Math.max(o[k].length,c);continue}var O=[n[v],null,null,n[k]];n[v].y.cmp(n[k].y)===0?(O[1]=n[v].add(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg())):n[v].y.cmp(n[k].y.redNeg())===0?(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].add(n[k].neg())):(O[1]=n[v].toJ().mixedAdd(n[k]),O[2]=n[v].toJ().mixedAdd(n[k].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],z=pY0(a[v],a[k]);for(c=Math.max(z[0].length,c),o[v]=new Array(c),o[k]=new Array(c),l=0;l=0;d--){for(var X=0;d>=0;){var K=!0;for(l=0;l=0&&X++,Q=Q.dblp(X),d<0)break;for(l=0;l0?h=s[l][G-1>>1]:G<0&&(h=s[l][-G-1>>1].neg()),h.type==="affine"?Q=Q.mixedAdd(h):Q=Q.add(h))}}for(d=0;d=Math.ceil((e.bitLength()+1)/n.step):!1};Nd.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,f=0;f{"use strict";u();p();var hY0=x6(),Xf=kr(),_re=Nt(),lT=Mk(),mY0=hY0.assert;function Od(t){lT.call(this,"short",t),this.a=new Xf(t.a,16).toRed(this.red),this.b=new Xf(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}_re(Od,lT);OMe.exports=Od;Od.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,a;if(e.beta)n=new Xf(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);n=r[0].cmp(r[1])<0?r[0]:r[1],n=n.toRed(this.red)}if(e.lambda)a=new Xf(e.lambda,16);else{var f=this._getEndoRoots(this.n);this.g.mul(f[0]).x.cmp(this.g.x.redMul(n))===0?a=f[0]:(a=f[1],mY0(this.g.mul(a).x.cmp(this.g.x.redMul(n))===0))}var i;return e.basis?i=e.basis.map(function(s){return{a:new Xf(s.a,16),b:new Xf(s.b,16)}}):i=this._getEndoBasis(a),{beta:n,lambda:a,basis:i}}};Od.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:Xf.mont(e),a=new Xf(2).toRed(n).redInvm(),r=a.redNeg(),f=new Xf(3).toRed(n).redNeg().redSqrt().redMul(a),i=r.redAdd(f).fromRed(),s=r.redSub(f).fromRed();return[i,s]};Od.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),f=new Xf(1),i=new Xf(0),s=new Xf(0),o=new Xf(1),c,d,l,h,y,v,k,O=0,F,z;a.cmpn(0)!==0;){var W=r.div(a);F=r.sub(W.mul(a)),z=s.sub(W.mul(f));var j=o.sub(W.mul(i));if(!l&&F.cmp(n)<0)c=k.neg(),d=f,l=F.neg(),h=z;else if(l&&++O===2)break;k=F,r=a,a=F,s=f,f=z,o=i,i=j}y=F.neg(),v=z;var Q=l.sqr().add(h.sqr()),V=y.sqr().add(v.sqr());return V.cmp(Q)>=0&&(y=c,v=d),l.negative&&(l=l.neg(),h=h.neg()),y.negative&&(y=y.neg(),v=v.neg()),[{a:l,b:h},{a:y,b:v}]};Od.prototype._endoSplit=function(e){var n=this.endo.basis,a=n[0],r=n[1],f=r.b.mul(e).divRound(this.n),i=a.b.neg().mul(e).divRound(this.n),s=f.mul(a.a),o=i.mul(r.a),c=f.mul(a.b),d=i.mul(r.b),l=e.sub(s).sub(o),h=c.add(d).neg();return{k1:l,k2:h}};Od.prototype.pointFromX=function(e,n){e=new Xf(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var f=r.fromRed().isOdd();return(n&&!f||!n&&f)&&(r=r.redNeg()),this.point(e,r)};Od.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,a=e.y,r=this.a.redMul(n),f=n.redSqr().redMul(n).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(f).cmpn(0)===0};Od.prototype._endoWnafMulAdd=function(e,n,a){for(var r=this._endoWnafT1,f=this._endoWnafT2,i=0;i":""};Ts.prototype.isInfinity=function(){return this.inf};Ts.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var a=n.redSqr().redISub(this.x).redISub(e.x),r=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};Ts.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),f=a.redAdd(a).redIAdd(a).redIAdd(n).redMul(r),i=f.redSqr().redISub(this.x.redAdd(this.x)),s=f.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)};Ts.prototype.getX=function(){return this.x.fromRed()};Ts.prototype.getY=function(){return this.y.fromRed()};Ts.prototype.mul=function(e){return e=new Xf(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};Ts.prototype.mulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f):this.curve._wnafMulAdd(1,r,f,2)};Ts.prototype.jmulAdd=function(e,n,a){var r=[this,n],f=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,f,!0):this.curve._wnafMulAdd(1,r,f,2,!0)};Ts.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};Ts.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(f){return f.neg()};n.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return n};Ts.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function no(t,e,n,a){lT.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Xf(0)):(this.x=new Xf(e,16),this.y=new Xf(n,16),this.z=new Xf(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}_re(no,lT.BasePoint);Od.prototype.jpoint=function(e,n,a){return new no(this,e,n,a)};no.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),a=this.x.redMul(n),r=this.y.redMul(n).redMul(e);return this.curve.point(a,r)};no.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};no.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(n),f=e.x.redMul(a),i=this.y.redMul(n.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),o=r.redSub(f),c=i.redSub(s);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),h=r.redMul(d),y=c.redSqr().redIAdd(l).redISub(h).redISub(h),v=c.redMul(h.redISub(y)).redISub(i.redMul(l)),k=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(y,v,k)};no.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),a=this.x,r=e.x.redMul(n),f=this.y,i=e.y.redMul(n).redMul(this.z),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(s);return this.curve.jpoint(h,y,v)};no.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var a=this;for(n=0;n=0)return!1;if(a.redIAdd(f),this.x.cmp(a)===0)return!0}};no.prototype.inspect=function(){return this.isInfinity()?"":""};no.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var WMe=D((k$n,zMe)=>{"use strict";u();p();var uT=kr(),HMe=Nt(),GU=Mk(),bY0=x6();function pT(t){GU.call(this,"mont",t),this.a=new uT(t.a,16).toRed(this.red),this.b=new uT(t.b,16).toRed(this.red),this.i4=new uT(4).toRed(this.red).redInvm(),this.two=new uT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}HMe(pT,GU);zMe.exports=pT;pT.prototype.validate=function(e){var n=e.normalize().x,a=n.redSqr(),r=a.redMul(n).redAdd(a.redMul(this.a)).redAdd(n),f=r.redSqrt();return f.redSqr().cmp(r)===0};function xs(t,e,n){GU.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new uT(e,16),this.z=new uT(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}HMe(xs,GU.BasePoint);pT.prototype.decodePoint=function(e,n){return this.point(bY0.toArray(e,n),1)};pT.prototype.point=function(e,n){return new xs(this,e,n)};pT.prototype.pointFromJSON=function(e){return xs.fromJSON(this,e)};xs.prototype.precompute=function(){};xs.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};xs.fromJSON=function(e,n){return new xs(e,n[0],n[1]||e.one)};xs.prototype.inspect=function(){return this.isInfinity()?"":""};xs.prototype.isInfinity=function(){return this.z.cmpn(0)===0};xs.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),f=n.redSub(r),i=n.redMul(r),s=f.redMul(r.redAdd(this.curve.a24.redMul(f)));return this.curve.point(i,s)};xs.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.diffAdd=function(e,n){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),f=e.x.redAdd(e.z),i=e.x.redSub(e.z),s=i.redMul(a),o=f.redMul(r),c=n.z.redMul(s.redAdd(o).redSqr()),d=n.x.redMul(s.redISub(o).redSqr());return this.curve.point(c,d)};xs.prototype.mul=function(e){for(var n=e.clone(),a=this,r=this.curve.point(null,null),f=this,i=[];n.cmpn(0)!==0;n.iushrn(1))i.push(n.andln(1));for(var s=i.length-1;s>=0;s--)i[s]===0?(a=a.diffAdd(r,f),r=r.dbl()):(r=a.diffAdd(r,f),a=a.dbl());return r};xs.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};xs.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};xs.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};xs.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var GMe=D((M$n,jMe)=>{"use strict";u();p();var yY0=x6(),_8=kr(),qMe=Nt(),KU=Mk(),gY0=yY0.assert;function Lu(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,KU.call(this,"edwards",t),this.a=new _8(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new _8(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new _8(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),gY0(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}qMe(Lu,KU);jMe.exports=Lu;Lu.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};Lu.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};Lu.prototype.jpoint=function(e,n,a,r){return this.point(e,n,a,r)};Lu.prototype.pointFromX=function(e,n){e=new _8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),f=this.one.redSub(this.c2.redMul(this.d).redMul(a)),i=r.redMul(f.redInvm()),s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");var o=s.fromRed().isOdd();return(n&&!o||!n&&o)&&(s=s.redNeg()),this.point(e,s)};Lu.prototype.pointFromY=function(e,n){e=new _8(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),f=a.redMul(this.d).redMul(this.c2).redSub(this.a),i=r.redMul(f.redInvm());if(i.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var s=i.redSqrt();if(s.redSqr().redSub(i).cmp(this.zero)!==0)throw new Error("invalid point");return s.fromRed().isOdd()!==n&&(s=s.redNeg()),this.point(s,e)};Lu.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),a=e.y.redSqr(),r=n.redMul(this.a).redAdd(a),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(a)));return r.cmp(f)===0};function Hr(t,e,n,a,r){KU.BasePoint.call(this,t,"projective"),e===null&&n===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new _8(e,16),this.y=new _8(n,16),this.z=a?new _8(a,16):this.curve.one,this.t=r&&new _8(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}qMe(Hr,KU.BasePoint);Lu.prototype.pointFromJSON=function(e){return Hr.fromJSON(this,e)};Lu.prototype.point=function(e,n,a,r){return new Hr(this,e,n,a,r)};Hr.fromJSON=function(e,n){return new Hr(e,n[0],n[1],n[2])};Hr.prototype.inspect=function(){return this.isInfinity()?"":""};Hr.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Hr.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),f=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),i=r.redAdd(n),s=i.redSub(a),o=r.redSub(n),c=f.redMul(s),d=i.redMul(o),l=f.redMul(o),h=s.redMul(i);return this.curve.point(c,d,h,l)};Hr.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr(),r,f,i,s,o,c;if(this.curve.twisted){s=this.curve._mulA(n);var d=s.redAdd(a);this.zOne?(r=e.redSub(n).redSub(a).redMul(d.redSub(this.curve.two)),f=d.redMul(s.redSub(a)),i=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(n).redISub(a).redMul(c),f=d.redMul(s.redSub(a)),i=d.redMul(c))}else s=n.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(s)).redMul(c),f=this.curve._mulC(s).redMul(n.redISub(a)),i=s.redMul(c);return this.curve.point(r,f,i)};Hr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Hr.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),f=this.z.redMul(e.z.redAdd(e.z)),i=a.redSub(n),s=f.redSub(r),o=f.redAdd(r),c=a.redAdd(n),d=i.redMul(s),l=o.redMul(c),h=i.redMul(c),y=s.redMul(o);return this.curve.point(d,l,y,h)};Hr.prototype._projAdd=function(e){var n=this.z.redMul(e.z),a=n.redSqr(),r=this.x.redMul(e.x),f=this.y.redMul(e.y),i=this.curve.d.redMul(r).redMul(f),s=a.redSub(i),o=a.redAdd(i),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(f),d=n.redMul(s).redMul(c),l,h;return this.curve.twisted?(l=n.redMul(o).redMul(f.redSub(this.curve._mulA(r))),h=s.redMul(o)):(l=n.redMul(o).redMul(f.redSub(r)),h=this.curve._mulC(s).redMul(o)),this.curve.point(d,l,h)};Hr.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Hr.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Hr.prototype.mulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!1)};Hr.prototype.jmulAdd=function(e,n,a){return this.curve._wnafMulAdd(1,[this,n],[e,a],2,!0)};Hr.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Hr.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Hr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Hr.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Hr.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Hr.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}};Hr.prototype.toP=Hr.prototype.normalize;Hr.prototype.mixedAdd=Hr.prototype.add});var Are=D(KMe=>{"use strict";u();p();var QU=KMe;QU.base=Mk();QU.short=UMe();QU.mont=WMe();QU.edwards=GMe()});var VMe=D((N$n,QMe)=>{u();p();QMe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var VU=D(JMe=>{"use strict";u();p();var Cre=JMe,G3=a7(),Ire=Are(),vY0=x6(),YMe=vY0.assert;function $Me(t){t.type==="short"?this.curve=new Ire.short(t):t.type==="edwards"?this.curve=new Ire.edwards(t):this.curve=new Ire.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,YMe(this.g.validate(),"Invalid curve"),YMe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}Cre.PresetCurve=$Me;function K3(t,e){Object.defineProperty(Cre,t,{configurable:!0,enumerable:!0,get:function(){var n=new $Me(e);return Object.defineProperty(Cre,t,{configurable:!0,enumerable:!0,value:n}),n}})}K3("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:G3.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});K3("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:G3.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});K3("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:G3.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});K3("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:G3.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});K3("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:G3.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});K3("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:G3.sha256,gRed:!1,g:["9"]});K3("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:G3.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var kre;try{kre=VMe()}catch{kre=void 0}K3("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:G3.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",kre]})});var ZMe=D((q$n,XMe)=>{"use strict";u();p();var wY0=kr(),TY0=x6(),Sre=TY0.assert;function qo(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}XMe.exports=qo;qo.fromPublic=function(e,n,a){return n instanceof qo?n:new qo(e,{pub:n,pubEnc:a})};qo.fromPrivate=function(e,n,a){return n instanceof qo?n:new qo(e,{priv:n,privEnc:a})};qo.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};qo.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub};qo.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};qo.prototype._importPrivate=function(e,n){this.priv=new wY0(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)};qo.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?Sre(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Sre(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)};qo.prototype.derive=function(e){return e.validate()||Sre(e.validate(),"public point not validated"),e.mul(this.priv).getX()};qo.prototype.sign=function(e,n,a){return this.ec.sign(e,this,n,a)};qo.prototype.verify=function(e,n){return this.ec.verify(e,n,this)};qo.prototype.inspect=function(){return""}});var nBe=D((K$n,tBe)=>{"use strict";u();p();var YU=kr(),Bre=x6(),xY0=Bre.assert;function $U(t,e){if(t instanceof $U)return t;this._importDER(t,e)||(xY0(t.r&&t.s,"Signature without r or s"),this.r=new YU(t.r,16),this.s=new YU(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}tBe.exports=$U;function EY0(){this.place=0}function Rre(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function eBe(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}$U.prototype.toDER=function(e){var n=this.r.toArray(),a=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),a[0]&128&&(a=[0].concat(a)),n=eBe(n),a=eBe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];Mre(r,n.length),r=r.concat(n),r.push(2),Mre(r,a.length);var f=r.concat(a),i=[48];return Mre(i,f.length),i=i.concat(f),Bre.encode(i,e)}});var iBe=D((Y$n,fBe)=>{"use strict";u();p();var h7=kr(),aBe=qae(),_Y0=x6(),Dre=VU(),AY0=zw(),rBe=_Y0.assert,Pre=ZMe(),JU=nBe();function Ud(t){if(!(this instanceof Ud))return new Ud(t);typeof t=="string"&&(rBe(Object.prototype.hasOwnProperty.call(Dre,t),"Unknown curve "+t),t=Dre[t]),t instanceof Dre.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}fBe.exports=Ud;Ud.prototype.keyPair=function(e){return new Pre(this,e)};Ud.prototype.keyFromPrivate=function(e,n){return Pre.fromPrivate(this,e,n)};Ud.prototype.keyFromPublic=function(e,n){return Pre.fromPublic(this,e,n)};Ud.prototype.genKeyPair=function(e){e||(e={});for(var n=new aBe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||AY0(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new h7(2));;){var f=new h7(n.generate(a));if(!(f.cmp(r)>0))return f.iaddn(1),this.keyFromPrivate(f)}};Ud.prototype._truncateToN=function(e,n){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!n&&e.cmp(this.n)>=0?e.sub(this.n):e};Ud.prototype.sign=function(e,n,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),n=this.keyFromPrivate(n,a),e=this._truncateToN(new h7(e,16));for(var f=this.n.byteLength(),i=n.getPrivate().toArray("be",f),s=e.toArray("be",f),o=new aBe({hash:this.hash,entropy:i,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new h7(1)),d=0;;d++){var l=r.k?r.k(d):new h7(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var y=h.getX(),v=y.umod(this.n);if(v.cmpn(0)!==0){var k=l.invm(this.n).mul(v.mul(n.getPrivate()).iadd(e));if(k=k.umod(this.n),k.cmpn(0)!==0){var O=(h.getY().isOdd()?1:0)|(y.cmp(v)!==0?2:0);return r.canonical&&k.cmp(this.nh)>0&&(k=this.n.sub(k),O^=1),new JU({r:v,s:k,recoveryParam:O})}}}}}};Ud.prototype.verify=function(e,n,a,r){e=this._truncateToN(new h7(e,16)),a=this.keyFromPublic(a,r),n=new JU(n,"hex");var f=n.r,i=n.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),o=s.mul(e).umod(this.n),c=s.mul(f).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(f)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(f)===0)};Ud.prototype.recoverPubKey=function(t,e,n,a){rBe((3&n)===n,"The recovery param is more than two bits"),e=new JU(e,a);var r=this.n,f=new h7(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)};Ud.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new JU(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")}});var dBe=D((X$n,cBe)=>{"use strict";u();p();var Bk=x6(),oBe=Bk.assert,sBe=Bk.parseBytes,hT=Bk.cachedProperty;function Es(t,e){this.eddsa=t,this._secret=sBe(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=sBe(e.pub)}Es.fromPublic=function(e,n){return n instanceof Es?n:new Es(e,{pub:n})};Es.fromSecret=function(e,n){return n instanceof Es?n:new Es(e,{secret:n})};Es.prototype.secret=function(){return this._secret};hT(Es,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});hT(Es,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});hT(Es,"privBytes",function(){var e=this.eddsa,n=this.hash(),a=e.encodingLength-1,r=n.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});hT(Es,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});hT(Es,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});hT(Es,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});Es.prototype.sign=function(e){return oBe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};Es.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)};Es.prototype.getSecret=function(e){return oBe(this._secret,"KeyPair is public only"),Bk.encode(this.secret(),e)};Es.prototype.getPublic=function(e){return Bk.encode(this.pubBytes(),e)};cBe.exports=Es});var uBe=D((tJn,lBe)=>{"use strict";u();p();var IY0=kr(),XU=x6(),CY0=XU.assert,ZU=XU.cachedProperty,kY0=XU.parseBytes;function m7(t,e){this.eddsa=t,typeof e!="object"&&(e=kY0(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),CY0(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof IY0&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}ZU(m7,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});ZU(m7,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});ZU(m7,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});ZU(m7,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});m7.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};m7.prototype.toHex=function(){return XU.encode(this.toBytes(),"hex").toUpperCase()};lBe.exports=m7});var yBe=D((rJn,bBe)=>{"use strict";u();p();var SY0=a7(),RY0=VU(),mT=x6(),MY0=mT.assert,hBe=mT.parseBytes,mBe=dBe(),pBe=uBe();function Fc(t){if(MY0(t==="ed25519","only tested with ed25519 so far"),!(this instanceof Fc))return new Fc(t);t=RY0[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=SY0.sha512}bBe.exports=Fc;Fc.prototype.sign=function(e,n){e=hBe(e);var a=this.keyFromSecret(n),r=this.hashInt(a.messagePrefix(),e),f=this.g.mul(r),i=this.encodePoint(f),s=this.hashInt(i,a.pubBytes(),e).mul(a.priv()),o=r.add(s).umod(this.curve.n);return this.makeSignature({R:f,S:o,Rencoded:i})};Fc.prototype.verify=function(e,n,a){e=hBe(e),n=this.makeSignature(n);var r=this.keyFromPublic(a),f=this.hashInt(n.Rencoded(),r.pubBytes(),e),i=this.g.mul(n.S()),s=n.R().add(r.pub().mul(f));return s.eq(i)};Fc.prototype.hashInt=function(){for(var e=this.hash(),n=0;n{"use strict";u();p();var b7=gBe;b7.version=Txe().version;b7.utils=x6();b7.rand=zw();b7.curve=Are();b7.curves=VU();b7.ec=iBe();b7.eddsa=yBe()});var wBe=D(bT=>{"use strict";u();p();var BY0=bT&&bT.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bT,"__esModule",{value:!0});bT.EC=void 0;var DY0=BY0(vBe()),PY0=DY0.default.ec;bT.EC=PY0});var TBe=D(eH=>{"use strict";u();p();Object.defineProperty(eH,"__esModule",{value:!0});eH.version=void 0;eH.version="signing-key/5.7.0"});var Pk=D(Q3=>{"use strict";u();p();Object.defineProperty(Q3,"__esModule",{value:!0});Q3.computePublicKey=Q3.recoverPublicKey=Q3.SigningKey=void 0;var LY0=wBe(),ki=Vt(),Dk=Ba(),FY0=Ft(),NY0=TBe(),Fre=new FY0.Logger(NY0.version),Lre=null;function Fu(){return Lre||(Lre=new LY0.EC("secp256k1")),Lre}var xBe=function(){function t(e){(0,Dk.defineReadOnly)(this,"curve","secp256k1"),(0,Dk.defineReadOnly)(this,"privateKey",(0,ki.hexlify)(e)),(0,ki.hexDataLength)(this.privateKey)!==32&&Fre.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey));(0,Dk.defineReadOnly)(this,"publicKey","0x"+n.getPublic(!1,"hex")),(0,Dk.defineReadOnly)(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),(0,Dk.defineReadOnly)(this,"_isSigningKey",!0)}return t.prototype._addPoint=function(e){var n=Fu().keyFromPublic((0,ki.arrayify)(this.publicKey)),a=Fu().keyFromPublic((0,ki.arrayify)(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")},t.prototype.signDigest=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=(0,ki.arrayify)(e);a.length!==32&&Fre.throwArgumentError("bad digest length","digest",e);var r=n.sign(a,{canonical:!0});return(0,ki.splitSignature)({recoveryParam:r.recoveryParam,r:(0,ki.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,ki.hexZeroPad)("0x"+r.s.toString(16),32)})},t.prototype.computeSharedSecret=function(e){var n=Fu().keyFromPrivate((0,ki.arrayify)(this.privateKey)),a=Fu().keyFromPublic((0,ki.arrayify)(EBe(e)));return(0,ki.hexZeroPad)("0x"+n.derive(a.getPublic()).toString(16),32)},t.isSigningKey=function(e){return!!(e&&e._isSigningKey)},t}();Q3.SigningKey=xBe;function OY0(t,e){var n=(0,ki.splitSignature)(e),a={r:(0,ki.arrayify)(n.r),s:(0,ki.arrayify)(n.s)};return"0x"+Fu().recoverPubKey((0,ki.arrayify)(t),a,n.recoveryParam).encode("hex",!1)}Q3.recoverPublicKey=OY0;function EBe(t,e){var n=(0,ki.arrayify)(t);if(n.length===32){var a=new xBe(n);return e?"0x"+Fu().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?(0,ki.hexlify)(n):"0x"+Fu().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+Fu().keyFromPublic(n).getPublic(!0,"hex"):(0,ki.hexlify)(n)}return Fre.throwArgumentError("invalid public or private key","key","[REDACTED]")}Q3.computePublicKey=EBe});var _Be=D(tH=>{"use strict";u();p();Object.defineProperty(tH,"__esModule",{value:!0});tH.version=void 0;tH.version="transactions/5.7.0"});var Nu=D(hi=>{"use strict";u();p();var UY0=hi&&hi.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),HY0=hi&&hi.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),zY0=hi&&hi.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&UY0(e,t,n);return HY0(e,t),e};Object.defineProperty(hi,"__esModule",{value:!0});hi.parse=hi.serialize=hi.accessListify=hi.recoverAddress=hi.computeAddress=hi.TransactionTypes=void 0;var Lk=Po(),y7=ia(),oa=Vt(),WY0=_3(),yT=H1(),qY0=Ba(),V3=zY0(vC()),ABe=Pk(),Ore=Ft(),jY0=_Be(),Go=new Ore.Logger(jY0.version),GY0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(GY0=hi.TransactionTypes||(hi.TransactionTypes={}));function Ure(t){return t==="0x"?null:(0,Lk.getAddress)(t)}function jo(t){return t==="0x"?WY0.Zero:y7.BigNumber.from(t)}var KY0=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],QY0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function IBe(t){var e=(0,ABe.computePublicKey)(t);return(0,Lk.getAddress)((0,oa.hexDataSlice)((0,yT.keccak256)((0,oa.hexDataSlice)(e,1)),12))}hi.computeAddress=IBe;function Hre(t,e){return IBe((0,ABe.recoverPublicKey)((0,oa.arrayify)(t),e))}hi.recoverAddress=Hre;function I6(t,e){var n=(0,oa.stripZeros)(y7.BigNumber.from(t).toHexString());return n.length>32&&Go.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function Nre(t,e){return{address:(0,Lk.getAddress)(t),storageKeys:(e||[]).map(function(n,a){return(0,oa.hexDataLength)(n)!==32&&Go.throwArgumentError("invalid access list storageKey","accessList["+t+":"+a+"]",n),n.toLowerCase()})}}function nH(t){if(Array.isArray(t))return t.map(function(n,a){return Array.isArray(n)?(n.length>2&&Go.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",n),Nre(n[0],n[1])):Nre(n.address,n.storageKeys)});var e=Object.keys(t).map(function(n){var a=t[n].reduce(function(r,f){return r[f]=!0,r},{});return Nre(n,Object.keys(a).sort())});return e.sort(function(n,a){return n.address.localeCompare(a.address)}),e}hi.accessListify=nH;function CBe(t){return nH(t).map(function(e){return[e.address,e.storageKeys]})}function kBe(t,e){if(t.gasPrice!=null){var n=y7.BigNumber.from(t.gasPrice),a=y7.BigNumber.from(t.maxFeePerGas||0);n.eq(a)||Go.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:n,maxFeePerGas:a})}var r=[I6(t.chainId||0,"chainId"),I6(t.nonce||0,"nonce"),I6(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),I6(t.maxFeePerGas||0,"maxFeePerGas"),I6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Lk.getAddress)(t.to):"0x",I6(t.value||0,"value"),t.data||"0x",CBe(t.accessList||[])];if(e){var f=(0,oa.splitSignature)(e);r.push(I6(f.recoveryParam,"recoveryParam")),r.push((0,oa.stripZeros)(f.r)),r.push((0,oa.stripZeros)(f.s))}return(0,oa.hexConcat)(["0x02",V3.encode(r)])}function SBe(t,e){var n=[I6(t.chainId||0,"chainId"),I6(t.nonce||0,"nonce"),I6(t.gasPrice||0,"gasPrice"),I6(t.gasLimit||0,"gasLimit"),t.to!=null?(0,Lk.getAddress)(t.to):"0x",I6(t.value||0,"value"),t.data||"0x",CBe(t.accessList||[])];if(e){var a=(0,oa.splitSignature)(e);n.push(I6(a.recoveryParam,"recoveryParam")),n.push((0,oa.stripZeros)(a.r)),n.push((0,oa.stripZeros)(a.s))}return(0,oa.hexConcat)(["0x01",V3.encode(n)])}function VY0(t,e){(0,qY0.checkProperties)(t,QY0);var n=[];KY0.forEach(function(i){var s=t[i.name]||[],o={};i.numeric&&(o.hexPad="left"),s=(0,oa.arrayify)((0,oa.hexlify)(s,o)),i.length&&s.length!==i.length&&s.length>0&&Go.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s),i.maxLength&&(s=(0,oa.stripZeros)(s),s.length>i.maxLength&&Go.throwArgumentError("invalid length for "+i.name,"transaction:"+i.name,s)),n.push((0,oa.hexlify)(s))});var a=0;if(t.chainId!=null?(a=t.chainId,typeof a!="number"&&Go.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!(0,oa.isBytesLike)(e)&&e.v>28&&(a=Math.floor((e.v-35)/2)),a!==0&&(n.push((0,oa.hexlify)(a)),n.push("0x"),n.push("0x")),!e)return V3.encode(n);var r=(0,oa.splitSignature)(e),f=27+r.recoveryParam;return a!==0?(n.pop(),n.pop(),n.pop(),f+=a*2+8,r.v>28&&r.v!==f&&Go.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==f&&Go.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),n.push((0,oa.hexlify)(f)),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.r))),n.push((0,oa.stripZeros)((0,oa.arrayify)(r.s))),V3.encode(n)}function YY0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&Go.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),VY0(t,e);switch(t.type){case 1:return SBe(t,e);case 2:return kBe(t,e);default:break}return Go.throwError("unsupported transaction type: "+t.type,Ore.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}hi.serialize=YY0;function RBe(t,e,n){try{var a=jo(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{Go.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=(0,oa.hexZeroPad)(e[1],32),t.s=(0,oa.hexZeroPad)(e[2],32);try{var r=(0,yT.keccak256)(n(t));t.from=Hre(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function $Y0(t){var e=V3.decode(t.slice(1));e.length!==9&&e.length!==12&&Go.throwArgumentError("invalid component count for transaction type: 2","payload",(0,oa.hexlify)(t));var n=jo(e[2]),a=jo(e[3]),r={type:2,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:a,gasPrice:null,gasLimit:jo(e[4]),to:Ure(e[5]),value:jo(e[6]),data:e[7],accessList:nH(e[8])};return e.length===9||(r.hash=(0,yT.keccak256)(t),RBe(r,e.slice(9),kBe)),r}function JY0(t){var e=V3.decode(t.slice(1));e.length!==8&&e.length!==11&&Go.throwArgumentError("invalid component count for transaction type: 1","payload",(0,oa.hexlify)(t));var n={type:1,chainId:jo(e[0]).toNumber(),nonce:jo(e[1]).toNumber(),gasPrice:jo(e[2]),gasLimit:jo(e[3]),to:Ure(e[4]),value:jo(e[5]),data:e[6],accessList:nH(e[7])};return e.length===8||(n.hash=(0,yT.keccak256)(t),RBe(n,e.slice(8),SBe)),n}function XY0(t){var e=V3.decode(t);e.length!==9&&e.length!==6&&Go.throwArgumentError("invalid raw transaction","rawTransaction",t);var n={nonce:jo(e[0]).toNumber(),gasPrice:jo(e[1]),gasLimit:jo(e[2]),to:Ure(e[3]),value:jo(e[4]),data:e[5],chainId:0};if(e.length===6)return n;try{n.v=y7.BigNumber.from(e[6]).toNumber()}catch{return n}if(n.r=(0,oa.hexZeroPad)(e[7],32),n.s=(0,oa.hexZeroPad)(e[8],32),y7.BigNumber.from(n.r).isZero()&&y7.BigNumber.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);var a=n.v-27,r=e.slice(0,6);n.chainId!==0&&(r.push((0,oa.hexlify)(n.chainId)),r.push("0x"),r.push("0x"),a-=n.chainId*2+8);var f=(0,yT.keccak256)(V3.encode(r));try{n.from=Hre(f,{r:(0,oa.hexlify)(n.r),s:(0,oa.hexlify)(n.s),recoveryParam:a})}catch{}n.hash=(0,yT.keccak256)(t)}return n.type=null,n}function ZY0(t){var e=(0,oa.arrayify)(t);if(e[0]>127)return XY0(e);switch(e[0]){case 1:return JY0(e);case 2:return $Y0(e);default:break}return Go.throwError("unsupported transaction type: "+e[0],Ore.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}hi.parse=ZY0});var MBe=D(aH=>{"use strict";u();p();Object.defineProperty(aH,"__esModule",{value:!0});aH.version=void 0;aH.version="contracts/5.7.0"});var UBe=D(Ko=>{"use strict";u();p();var iH=Ko&&Ko.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),$3=Ko&&Ko.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},J3=Ko&&Ko.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]1)){c=c.substring(1);var l=d[0];try{f[c]==null&&(0,mt.defineReadOnly)(f,c,f[l])}catch{}f.functions[c]==null&&(0,mt.defineReadOnly)(f.functions,c,f.functions[l]),f.callStatic[c]==null&&(0,mt.defineReadOnly)(f.callStatic,c,f.callStatic[l]),f.populateTransaction[c]==null&&(0,mt.defineReadOnly)(f.populateTransaction,c,f.populateTransaction[l]),f.estimateGas[c]==null&&(0,mt.defineReadOnly)(f.estimateGas,c,f.estimateGas[l])}})}return t.getContractAddress=function(e){return(0,Nk.getContractAddress)(e)},t.getInterface=function(e){return rH.Interface.isInterface(e)?e:new rH.Interface(e)},t.prototype.deployed=function(){return this._deployed()},t.prototype._deployed=function(e){var n=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(function(){return n}):this._deployedPromise=this.provider.getCode(this.address,e).then(function(a){return a==="0x"&&yr.throwError("contract not deployed",ao.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:n.address,operation:"getDeployed"}),n})),this._deployedPromise},t.prototype.fallback=function(e){var n=this;this.signer||yr.throwError("sending a transactions require a signer",ao.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var a=(0,mt.shallowCopy)(e||{});return["from","to"].forEach(function(r){a[r]!=null&&yr.throwError("cannot override "+r,ao.Logger.errors.UNSUPPORTED_OPERATION,{operation:r})}),a.to=this.resolvedAddress,this.deployed().then(function(){return n.signer.sendTransaction(a)})},t.prototype.connect=function(e){typeof e=="string"&&(e=new zre.VoidSigner(e,this.provider));var n=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,mt.defineReadOnly)(n,"deployTransaction",this.deployTransaction),n},t.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},t.isIndexed=function(e){return rH.Indexed.isIndexed(e)},t.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},t.prototype._getRunningEvent=function(e){if(typeof e=="string"){if(e==="error")return this._normalizeRunningEvent(new o$0);if(e==="event")return this._normalizeRunningEvent(new Ok("event",null));if(e==="*")return this._normalizeRunningEvent(new PBe(this.address,this.interface));var n=this.interface.getEvent(e);return this._normalizeRunningEvent(new DBe(this.address,this.interface,n))}if(e.topics&&e.topics.length>0){try{var a=e.topics[0];if(typeof a!="string")throw new Error("invalid topic");var n=this.interface.getEvent(a);return this._normalizeRunningEvent(new DBe(this.address,this.interface,n,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new Ok(NBe(r),r))}return this._normalizeRunningEvent(new PBe(this.address,this.interface))},t.prototype._checkRunningEvents=function(e){if(e.listenerCount()===0){delete this._runningEvents[e.tag];var n=this._wrappedEmits[e.tag];n&&e.filter&&(this.provider.off(e.filter,n),delete this._wrappedEmits[e.tag])}},t.prototype._wrapEvent=function(e,n,a){var r=this,f=(0,mt.deepCopy)(n);return f.removeListener=function(){a&&(e.removeListener(a),r._checkRunningEvents(e))},f.getBlock=function(){return r.provider.getBlock(n.blockHash)},f.getTransaction=function(){return r.provider.getTransaction(n.transactionHash)},f.getTransactionReceipt=function(){return r.provider.getTransactionReceipt(n.transactionHash)},e.prepareEvent(f),f},t.prototype._addEventListener=function(e,n,a){var r=this;if(this.provider||yr.throwError("events require a provider or a signer with a provider",ao.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(n,a),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var f=function(i){var s=r._wrapEvent(e,i,n);if(s.decodeError==null)try{var o=e.getEmit(s);r.emit.apply(r,e$0([e.filter],o,!1))}catch(c){s.decodeError=c.error}e.filter!=null&&r.emit("event",s),s.decodeError!=null&&r.emit("error",s.decodeError,s)};this._wrappedEmits[e.tag]=f,e.filter!=null&&this.provider.on(e.filter,f)}},t.prototype.queryFilter=function(e,n,a){var r=this,f=this._getRunningEvent(e),i=(0,mt.shallowCopy)(f.filter);return typeof n=="string"&&(0,g7.isHexString)(n,32)?(a!=null&&yr.throwArgumentError("cannot specify toBlock with blockhash","toBlock",a),i.blockHash=n):(i.fromBlock=n??0,i.toBlock=a??"latest"),this.provider.getLogs(i).then(function(s){return s.map(function(o){return r._wrapEvent(f,o,null)})})},t.prototype.on=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!1),this},t.prototype.once=function(e,n){return this._addEventListener(this._getRunningEvent(e),n,!0),this},t.prototype.emit=function(e){for(var n=[],a=1;a0;return this._checkRunningEvents(r),f},t.prototype.listenerCount=function(e){var n=this;return this.provider?e==null?Object.keys(this._runningEvents).reduce(function(a,r){return a+n._runningEvents[r].listenerCount()},0):this._getRunningEvent(e).listenerCount():0},t.prototype.listeners=function(e){if(!this.provider)return[];if(e==null){var n=[];for(var a in this._runningEvents)this._runningEvents[a].listeners().forEach(function(r){n.push(r)});return n}return this._getRunningEvent(e).listeners()},t.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(e==null){for(var n in this._runningEvents){var a=this._runningEvents[n];a.removeAllListeners(),this._checkRunningEvents(a)}return this}var r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this},t.prototype.off=function(e,n){if(!this.provider)return this;var a=this._getRunningEvent(e);return a.removeListener(n),this._checkRunningEvents(a),this},t.prototype.removeListener=function(e,n){return this.off(e,n)},t}();Ko.BaseContract=OBe;var Wre=function(t){iH(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(OBe);Ko.Contract=Wre;var c$0=function(){function t(e,n,a){var r=this.constructor,f=null;typeof n=="string"?f=n:(0,g7.isBytes)(n)?f=(0,g7.hexlify)(n):n&&typeof n.object=="string"?f=n.object:f="!",f.substring(0,2)!=="0x"&&(f="0x"+f),(!(0,g7.isHexString)(f)||f.length%2)&&yr.throwArgumentError("invalid bytecode","bytecode",n),a&&!zre.Signer.isSigner(a)&&yr.throwArgumentError("invalid signer","signer",a),(0,mt.defineReadOnly)(this,"bytecode",f),(0,mt.defineReadOnly)(this,"interface",(0,mt.getStatic)(r,"getInterface")(e)),(0,mt.defineReadOnly)(this,"signer",a||null)}return t.prototype.getDeployTransaction=function(){for(var e=[],n=0;n{"use strict";u();p();Object.defineProperty(X3,"__esModule",{value:!0});X3.Base58=X3.Base32=X3.BaseX=void 0;var HBe=Vt(),oH=Ba(),qre=function(){function t(e){(0,oH.defineReadOnly)(this,"alphabet",e),(0,oH.defineReadOnly)(this,"base",e.length),(0,oH.defineReadOnly)(this,"_alphabetMap",{}),(0,oH.defineReadOnly)(this,"_leader",e.charAt(0));for(var n=0;n0;)a.push(f%this.base),f=f/this.base|0}for(var s="",o=0;n[o]===0&&o=0;--c)s+=this.alphabet[a[c]];return s},t.prototype.decode=function(e){if(typeof e!="string")throw new TypeError("Expected String");var n=[];if(e.length===0)return new Uint8Array(n);n.push(0);for(var a=0;a>=8;for(;f>0;)n.push(f&255),f>>=8}for(var s=0;e[s]===this._leader&&s{"use strict";u();p();Object.defineProperty(Uk,"__esModule",{value:!0});Uk.SupportedAlgorithm=void 0;var u$0;(function(t){t.sha256="sha256",t.sha512="sha512"})(u$0=Uk.SupportedAlgorithm||(Uk.SupportedAlgorithm={}))});var zBe=D(dH=>{"use strict";u();p();Object.defineProperty(dH,"__esModule",{value:!0});dH.version=void 0;dH.version="sha2/5.7.0"});var qBe=D(Hd=>{"use strict";u();p();var p$0=Hd&&Hd.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hd,"__esModule",{value:!0});Hd.computeHmac=Hd.sha512=Hd.sha256=Hd.ripemd160=void 0;var Hk=p$0(a7()),zk=Vt(),h$0=jre(),WBe=Ft(),m$0=zBe(),b$0=new WBe.Logger(m$0.version);function y$0(t){return"0x"+Hk.default.ripemd160().update((0,zk.arrayify)(t)).digest("hex")}Hd.ripemd160=y$0;function g$0(t){return"0x"+Hk.default.sha256().update((0,zk.arrayify)(t)).digest("hex")}Hd.sha256=g$0;function v$0(t){return"0x"+Hk.default.sha512().update((0,zk.arrayify)(t)).digest("hex")}Hd.sha512=v$0;function w$0(t,e,n){return h$0.SupportedAlgorithm[t]||b$0.throwError("unsupported algorithm "+t,WBe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+Hk.default.hmac(Hk.default[t],(0,zk.arrayify)(e)).update((0,zk.arrayify)(n)).digest("hex")}Hd.computeHmac=w$0});var v7=D(zd=>{"use strict";u();p();Object.defineProperty(zd,"__esModule",{value:!0});zd.SupportedAlgorithm=zd.sha512=zd.sha256=zd.ripemd160=zd.computeHmac=void 0;var lH=qBe();Object.defineProperty(zd,"computeHmac",{enumerable:!0,get:function(){return lH.computeHmac}});Object.defineProperty(zd,"ripemd160",{enumerable:!0,get:function(){return lH.ripemd160}});Object.defineProperty(zd,"sha256",{enumerable:!0,get:function(){return lH.sha256}});Object.defineProperty(zd,"sha512",{enumerable:!0,get:function(){return lH.sha512}});var T$0=jre();Object.defineProperty(zd,"SupportedAlgorithm",{enumerable:!0,get:function(){return T$0.SupportedAlgorithm}})});var GBe=D(uH=>{"use strict";u();p();Object.defineProperty(uH,"__esModule",{value:!0});uH.pbkdf2=void 0;var gT=Vt(),jBe=v7();function x$0(t,e,n,a,r){t=(0,gT.arrayify)(t),e=(0,gT.arrayify)(e);var f,i=1,s=new Uint8Array(a),o=new Uint8Array(e.length+4);o.set(e);for(var c,d,l=1;l<=i;l++){o[e.length]=l>>24&255,o[e.length+1]=l>>16&255,o[e.length+2]=l>>8&255,o[e.length+3]=l&255;var h=(0,gT.arrayify)((0,jBe.computeHmac)(r,t,o));f||(f=h.length,d=new Uint8Array(f),i=Math.ceil(a/f),c=a-(i-1)*f),d.set(h);for(var y=1;y{"use strict";u();p();Object.defineProperty(pH,"__esModule",{value:!0});pH.pbkdf2=void 0;var E$0=GBe();Object.defineProperty(pH,"pbkdf2",{enumerable:!0,get:function(){return E$0.pbkdf2}})});var KBe=D(mH=>{"use strict";u();p();Object.defineProperty(mH,"__esModule",{value:!0});mH.version=void 0;mH.version="wordlists/5.7.0"});var Ou=D(w7=>{"use strict";u();p();Object.defineProperty(w7,"__esModule",{value:!0});w7.Wordlist=w7.logger=void 0;var _$0=!1,A$0=I3(),QBe=Ba(),I$0=Ft(),C$0=KBe();w7.logger=new I$0.Logger(C$0.version);var k$0=function(){function t(e){var n=this.constructor;w7.logger.checkAbstract(n,t),(0,QBe.defineReadOnly)(this,"locale",e)}return t.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},t.prototype.join=function(e){return e.join(" ")},t.check=function(e){for(var n=[],a=0;a<2048;a++){var r=e.getWord(a);if(a!==e.getWordIndex(r))return"0x";n.push(r)}return(0,A$0.id)(n.join(` +})`)}catch{t=function(r){this._initNamed(r)}}return bqt(t,e),t.prototype._initNamed=function(r){e.call(this,r)},new t(this)};aT.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(DCe.decoders[e])),this.decoders[e]};aT.prototype.decode=function(e,t,a){return this._getDecoder(t).decode(e,a)};aT.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(DCe.encoders[e])),this.encoders[e]};aT.prototype.encode=function(e,t,a){return this._getEncoder(t).encode(e,a)}});var kCe=B(ACe=>{p();u();var gqt=L0();function c6(n){this._reporterState={obj:null,path:[],options:n||{},errors:[]}}ACe.Reporter=c6;c6.prototype.isError=function(e){return e instanceof iT};c6.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};c6.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)};c6.prototype.enterKey=function(e){return this._reporterState.path.push(e)};c6.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)};c6.prototype.leaveKey=function(e,t,a){var r=this._reporterState;this.exitKey(e),r.obj!==null&&(r.obj[t]=a)};c6.prototype.path=function(){return this._reporterState.path.join("/")};c6.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t};c6.prototype.leaveObject=function(e){var t=this._reporterState,a=t.obj;return t.obj=e,a};c6.prototype.error=function(e){var t,a=this._reporterState,r=e instanceof iT;if(r?t=e:t=new iT(a.path.map(function(i){return"["+JSON.stringify(i)+"]"}).join(""),e.message||e,e.stack),!a.options.partial)throw t;return r||a.errors.push(t),t};c6.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e};function iT(n,e){this.path=n,this.rethrow(e)}gqt(iT,Error);iT.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,iT),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}});var q0e=B(U0e=>{p();u();var vqt=L0(),rO=sT().Reporter,JD=ki().Buffer;function a5(n,e){if(rO.call(this,e),!JD.isBuffer(n)){this.error("Input not Buffer");return}this.base=n,this.offset=0,this.length=n.length}vqt(a5,rO);U0e.DecoderBuffer=a5;a5.prototype.save=function(){return{offset:this.offset,reporter:rO.prototype.save.call(this)}};a5.prototype.restore=function(e){var t=new a5(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,rO.prototype.restore.call(this,e.reporter),t};a5.prototype.isEmpty=function(){return this.offset===this.length};a5.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")};a5.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var a=new a5(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a};a5.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)};function aO(n,e){if(Array.isArray(n))this.length=0,this.value=n.map(function(t){return t instanceof aO||(t=new aO(t,e)),this.length+=t.length,t},this);else if(typeof n=="number"){if(!(0<=n&&n<=255))return e.error("non-byte EncoderBuffer value");this.value=n,this.length=1}else if(typeof n=="string")this.value=n,this.length=JD.byteLength(n);else if(JD.isBuffer(n))this.value=n,this.length=n.length;else return e.error("Unsupported type: "+typeof n)}U0e.EncoderBuffer=aO;aO.prototype.join=function(e,t){return e||(e=new JD(this.length)),t||(t=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(a){a.join(e,t),t+=a.length}):(typeof this.value=="number"?e[t]=this.value:typeof this.value=="string"?e.write(this.value,t):JD.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}});var LCe=B((JUn,RCe)=>{p();u();var Tqt=sT().Reporter,_qt=sT().EncoderBuffer,wqt=sT().DecoderBuffer,_1=cc(),PCe=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],xqt=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(PCe),Iqt=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function ir(n,e){var t={};this._baseState=t,t.enc=n,t.parent=e||null,t.children=null,t.tag=null,t.args=null,t.reverseArgs=null,t.choice=null,t.optional=!1,t.any=!1,t.obj=!1,t.use=null,t.useDecoder=null,t.key=null,t.default=null,t.explicit=null,t.implicit=null,t.contains=null,t.parent||(t.children=[],this._wrap())}RCe.exports=ir;var Eqt=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];ir.prototype.clone=function(){var e=this._baseState,t={};Eqt.forEach(function(r){t[r]=e[r]});var a=new this.constructor(t.parent);return a._baseState=t,a};ir.prototype._wrap=function(){var e=this._baseState;xqt.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)};ir.prototype._init=function(e){var t=this._baseState;_1(t.parent===null),e.call(this),t.children=t.children.filter(function(a){return a._baseState.parent===this},this),_1.equal(t.children.length,1,"Root node can have only one child")};ir.prototype._useArgs=function(e){var t=this._baseState,a=e.filter(function(r){return r instanceof this.constructor},this);e=e.filter(function(r){return!(r instanceof this.constructor)},this),a.length!==0&&(_1(t.children===null),t.children=a,a.forEach(function(r){r._baseState.parent=this},this)),e.length!==0&&(_1(t.args===null),t.args=e,t.reverseArgs=e.map(function(r){if(typeof r!="object"||r.constructor!==Object)return r;var i={};return Object.keys(r).forEach(function(s){s==(s|0)&&(s|=0);var f=r[s];i[f]=s}),i}))};Iqt.forEach(function(n){ir.prototype[n]=function(){var t=this._baseState;throw new Error(n+" not implemented for encoding: "+t.enc)}});PCe.forEach(function(n){ir.prototype[n]=function(){var t=this._baseState,a=Array.prototype.slice.call(arguments);return _1(t.tag===null),t.tag=n,this._useArgs(a),this}});ir.prototype.use=function(e){_1(e);var t=this._baseState;return _1(t.use===null),t.use=e,this};ir.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this};ir.prototype.def=function(e){var t=this._baseState;return _1(t.default===null),t.default=e,t.optional=!0,this};ir.prototype.explicit=function(e){var t=this._baseState;return _1(t.explicit===null&&t.implicit===null),t.explicit=e,this};ir.prototype.implicit=function(e){var t=this._baseState;return _1(t.explicit===null&&t.implicit===null),t.implicit=e,this};ir.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,t.length!==0&&this._useArgs(t),this};ir.prototype.key=function(e){var t=this._baseState;return _1(t.key===null),t.key=e,this};ir.prototype.any=function(){var e=this._baseState;return e.any=!0,this};ir.prototype.choice=function(e){var t=this._baseState;return _1(t.choice===null),t.choice=e,this._useArgs(Object.keys(e).map(function(a){return e[a]})),this};ir.prototype.contains=function(e){var t=this._baseState;return _1(t.use===null),t.contains=e,this};ir.prototype._decode=function(e,t){var a=this._baseState;if(a.parent===null)return e.wrapResult(a.children[0]._decode(e,t));var r=a.default,i=!0,s=null;if(a.key!==null&&(s=e.enterKey(a.key)),a.optional){var f=null;if(a.explicit!==null?f=a.explicit:a.implicit!==null?f=a.implicit:a.tag!==null&&(f=a.tag),f===null&&!a.any){var o=e.save();try{a.choice===null?this._decodeGeneric(a.tag,e,t):this._decodeChoice(e,t),i=!0}catch{i=!1}e.restore(o)}else if(i=this._peekTag(e,f,a.any),e.isError(i))return i}var c;if(a.obj&&i&&(c=e.enterObject()),i){if(a.explicit!==null){var d=this._decodeTag(e,a.explicit);if(e.isError(d))return d;e=d}var l=e.offset;if(a.use===null&&a.choice===null){if(a.any)var o=e.save();var y=this._decodeTag(e,a.implicit!==null?a.implicit:a.tag,a.any);if(e.isError(y))return y;a.any?r=e.raw(o):e=y}if(t&&t.track&&a.tag!==null&&t.track(e.path(),l,e.length,"tagged"),t&&t.track&&a.tag!==null&&t.track(e.path(),e.offset,e.length,"content"),a.any?r=r:a.choice===null?r=this._decodeGeneric(a.tag,e,t):r=this._decodeChoice(e,t),e.isError(r))return r;if(!a.any&&a.choice===null&&a.children!==null&&a.children.forEach(function(A){A._decode(e,t)}),a.contains&&(a.tag==="octstr"||a.tag==="bitstr")){var h=new wqt(r);r=this._getUse(a.contains,e._reporterState.obj)._decode(h,t)}}return a.obj&&i&&(r=e.leaveObject(c)),a.key!==null&&(r!==null||i===!0)?e.leaveKey(s,a.key,r):s!==null&&e.exitKey(s),r};ir.prototype._decodeGeneric=function(e,t,a){var r=this._baseState;return e==="seq"||e==="set"?null:e==="seqof"||e==="setof"?this._decodeList(t,e,r.args[0],a):/str$/.test(e)?this._decodeStr(t,e,a):e==="objid"&&r.args?this._decodeObjid(t,r.args[0],r.args[1],a):e==="objid"?this._decodeObjid(t,null,null,a):e==="gentime"||e==="utctime"?this._decodeTime(t,e,a):e==="null_"?this._decodeNull(t,a):e==="bool"?this._decodeBool(t,a):e==="objDesc"?this._decodeStr(t,e,a):e==="int"||e==="enum"?this._decodeInt(t,r.args&&r.args[0],a):r.use!==null?this._getUse(r.use,t._reporterState.obj)._decode(t,a):t.error("unknown tag: "+e)};ir.prototype._getUse=function(e,t){var a=this._baseState;return a.useDecoder=this._use(e,t),_1(a.useDecoder._baseState.parent===null),a.useDecoder=a.useDecoder._baseState.children[0],a.implicit!==a.useDecoder._baseState.implicit&&(a.useDecoder=a.useDecoder.clone(),a.useDecoder._baseState.implicit=a.implicit),a.useDecoder};ir.prototype._decodeChoice=function(e,t){var a=this._baseState,r=null,i=!1;return Object.keys(a.choice).some(function(s){var f=e.save(),o=a.choice[s];try{var c=o._decode(e,t);if(e.isError(c))return!1;r={type:s,value:c},i=!0}catch{return e.restore(f),!1}return!0},this),i?r:e.error("Choice not matched")};ir.prototype._createEncoderBuffer=function(e){return new _qt(e,this.reporter)};ir.prototype._encode=function(e,t,a){var r=this._baseState;if(!(r.default!==null&&r.default===e)){var i=this._encodeValue(e,t,a);if(i!==void 0&&!this._skipDefault(i,t,a))return i}};ir.prototype._encodeValue=function(e,t,a){var r=this._baseState;if(r.parent===null)return r.children[0]._encode(e,t||new Tqt);var o=null;if(this.reporter=t,r.optional&&e===void 0)if(r.default!==null)e=r.default;else return;var i=null,s=!1;if(r.any)o=this._createEncoderBuffer(e);else if(r.choice)o=this._encodeChoice(e,t);else if(r.contains)i=this._getUse(r.contains,a)._encode(e,t),s=!0;else if(r.children)i=r.children.map(function(l){if(l._baseState.tag==="null_")return l._encode(null,t,e);if(l._baseState.key===null)return t.error("Child should have a key");var y=t.enterKey(l._baseState.key);if(typeof e!="object")return t.error("Child expected, but input is not object");var h=l._encode(e[l._baseState.key],t,e);return t.leaveKey(y),h},this).filter(function(l){return l}),i=this._createEncoderBuffer(i);else if(r.tag==="seqof"||r.tag==="setof"){if(!(r.args&&r.args.length===1))return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var f=this.clone();f._baseState.implicit=null,i=this._createEncoderBuffer(e.map(function(l){var y=this._baseState;return this._getUse(y.args[0],e)._encode(l,t)},f))}else r.use!==null?o=this._getUse(r.use,a)._encode(e,t):(i=this._encodePrimitive(r.tag,e),s=!0);var o;if(!r.any&&r.choice===null){var c=r.implicit!==null?r.implicit:r.tag,d=r.implicit===null?"universal":"context";c===null?r.use===null&&t.error("Tag could be omitted only for .use()"):r.use===null&&(o=this._encodeComposite(c,s,d,i))}return r.explicit!==null&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o};ir.prototype._encodeChoice=function(e,t){var a=this._baseState,r=a.choice[e.type];return r||_1(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),r._encode(e.value,t)};ir.prototype._encodePrimitive=function(e,t){var a=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if(e==="objid"&&a.args)return this._encodeObjid(t,a.reverseArgs[0],a.args[1]);if(e==="objid")return this._encodeObjid(t,null,null);if(e==="gentime"||e==="utctime")return this._encodeTime(t,e);if(e==="null_")return this._encodeNull();if(e==="int"||e==="enum")return this._encodeInt(t,a.args&&a.reverseArgs[0]);if(e==="bool")return this._encodeBool(t);if(e==="objDesc")return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)};ir.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)};ir.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}});var sT=B(MCe=>{p();u();var iO=MCe;iO.Reporter=kCe().Reporter;iO.DecoderBuffer=q0e().DecoderBuffer;iO.EncoderBuffer=q0e().EncoderBuffer;iO.Node=LCe()});var NCe=B(bh=>{p();u();var BCe=H0e();bh.tagClass={0:"universal",1:"application",2:"context",3:"private"};bh.tagClassByName=BCe._reverse(bh.tagClass);bh.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};bh.tagByName=BCe._reverse(bh.tag)});var H0e=B(OCe=>{p();u();var FCe=OCe;FCe._reverse=function(e){var t={};return Object.keys(e).forEach(function(a){(a|0)==a&&(a=a|0);var r=e[a];t[r]=a}),t};FCe.der=NCe()});var j0e=B((cqn,qCe)=>{p();u();var Dqt=L0(),z0e=rT(),sO=z0e.base,Cqt=z0e.bignum,VCe=z0e.constants.der;function $Ce(n){this.enc="der",this.name=n.name,this.entity=n,this.tree=new nd,this.tree._init(n.body)}qCe.exports=$Ce;$Ce.prototype.decode=function(e,t){return e instanceof sO.DecoderBuffer||(e=new sO.DecoderBuffer(e,t)),this.tree._decode(e,t)};function nd(n){sO.Node.call(this,"der",n)}Dqt(nd,sO.Node);nd.prototype._peekTag=function(e,t,a){if(e.isEmpty())return!1;var r=e.save(),i=W0e(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||a)};nd.prototype._decodeTag=function(e,t,a){var r=W0e(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=UCe(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!a&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||i!==null)return e.skip(i,'Failed to match body of: "'+t+'"');var s=e.save(),f=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(f)?f:(i=e.offset-s.offset,e.restore(s),e.skip(i,'Failed to match body of: "'+t+'"'))};nd.prototype._skipUntilEnd=function(e,t){for(;;){var a=W0e(e,t);if(e.isError(a))return a;var r=UCe(e,a.primitive,t);if(e.isError(r))return r;var i;if(a.primitive||r!==null?i=e.skip(r):i=this._skipUntilEnd(e,t),e.isError(i))return i;if(a.tagStr==="end")break}};nd.prototype._decodeList=function(e,t,a,r){for(var i=[];!e.isEmpty();){var s=this._peekTag(e,"end");if(e.isError(s))return s;var f=a.decode(e,"der",r);if(e.isError(f)&&s)break;i.push(f)}return i};nd.prototype._decodeStr=function(e,t){if(t==="bitstr"){var a=e.readUInt8();return e.isError(a)?a:{unused:a,data:e.raw()}}else if(t==="bmpstr"){var r=e.raw();if(r.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",s=0;s>6],r=(t&32)===0;if((t&31)===31){var i=t;for(t=0;(i&128)===128;){if(i=n.readUInt8(e),n.isError(i))return i;t<<=7,t|=i&127}}else t&=31;var s=VCe.tag[t];return{cls:a,primitive:r,tag:t,tagStr:s}}function UCe(n,e,t){var a=n.readUInt8(t);if(n.isError(a))return a;if(!e&&a===128)return null;if(!(a&128))return a;var r=a&127;if(r>4)return n.error("length octect is too long");a=0;for(var i=0;i{p();u();var Sqt=L0(),Aqt=ki().Buffer,G0e=j0e();function K0e(n){G0e.call(this,n),this.enc="pem"}Sqt(K0e,G0e);HCe.exports=K0e;K0e.prototype.decode=function(e,t){for(var a=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,f=-1,o=0;o{p();u();var WCe=jCe;WCe.der=j0e();WCe.pem=zCe()});var Y0e=B((gqn,JCe)=>{p();u();var kqt=L0(),U2=ki().Buffer,KCe=rT(),QCe=KCe.base,Q0e=KCe.constants.der;function YCe(n){this.enc="der",this.name=n.name,this.entity=n,this.tree=new Fl,this.tree._init(n.body)}JCe.exports=YCe;YCe.prototype.encode=function(e,t){return this.tree._encode(e,t).join()};function Fl(n){QCe.Node.call(this,"der",n)}kqt(Fl,QCe.Node);Fl.prototype._encodeComposite=function(e,t,a,r){var i=Pqt(e,t,a,this.reporter);if(r.length<128){var o=new U2(2);return o[0]=i,o[1]=r.length,this._createEncoderBuffer([o,r])}for(var s=1,f=r.length;f>=256;f>>=8)s++;var o=new U2(2+s);o[0]=i,o[1]=128|s;for(var f=1+s,c=r.length;c>0;f--,c>>=8)o[f]=c&255;return this._createEncoderBuffer([o,r])};Fl.prototype._encodeStr=function(e,t){if(t==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(t==="bmpstr"){for(var a=new U2(e.length*2),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,e[0]*40+e[1])}for(var i=0,r=0;r=128;s>>=7)i++}for(var f=new U2(i),o=f.length-1,r=e.length-1;r>=0;r--){var s=e[r];for(f[o--]=s&127;(s>>=7)>0;)f[o--]=128|s&127}return this._createEncoderBuffer(f)};function d6(n){return n<10?"0"+n:n}Fl.prototype._encodeTime=function(e,t){var a,r=new Date(e);return t==="gentime"?a=[d6(r.getFullYear()),d6(r.getUTCMonth()+1),d6(r.getUTCDate()),d6(r.getUTCHours()),d6(r.getUTCMinutes()),d6(r.getUTCSeconds()),"Z"].join(""):t==="utctime"?a=[d6(r.getFullYear()%100),d6(r.getUTCMonth()+1),d6(r.getUTCDate()),d6(r.getUTCHours()),d6(r.getUTCMinutes()),d6(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(a,"octstr")};Fl.prototype._encodeNull=function(){return this._createEncoderBuffer("")};Fl.prototype._encodeInt=function(e,t){if(typeof e=="string"){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if(typeof e!="number"&&!U2.isBuffer(e)){var a=e.toArray();!e.sign&&a[0]&128&&a.unshift(0),e=new U2(a)}if(U2.isBuffer(e)){var r=e.length;e.length===0&&r++;var s=new U2(r);return e.copy(s),e.length===0&&(s[0]=0),this._createEncoderBuffer(s)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,i=e;i>=256;i>>=8)r++;for(var s=new Array(r),i=s.length-1;i>=0;i--)s[i]=e&255,e>>=8;return s[0]&128&&s.unshift(0),this._createEncoderBuffer(new U2(s))};Fl.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)};Fl.prototype._use=function(e,t){return typeof e=="function"&&(e=e(t)),e._getEncoder("der").tree};Fl.prototype._skipDefault=function(e,t,a){var r=this._baseState,i;if(r.default===null)return!1;var s=e.join();if(r.defaultBuffer===void 0&&(r.defaultBuffer=this._encodeValue(r.default,t,a).join()),s.length!==r.defaultBuffer.length)return!1;for(i=0;i=31?a.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=Q0e.tagClassByName[t||"universal"]<<6,r)}});var ZCe=B((_qn,XCe)=>{p();u();var Rqt=L0(),J0e=Y0e();function X0e(n){J0e.call(this,n),this.enc="pem"}Rqt(X0e,J0e);XCe.exports=X0e;X0e.prototype.encode=function(e,t){for(var a=J0e.prototype.encode.call(this,e),r=a.toString("base64"),i=["-----BEGIN "+t.label+"-----"],s=0;s{p();u();var eSe=tSe;eSe.der=Y0e();eSe.pem=ZCe()});var rT=B(aSe=>{p();u();var fT=aSe;fT.bignum=hr();fT.define=SCe().define;fT.base=sT();fT.constants=H0e();fT.decoders=GCe();fT.encoders=nSe()});var fSe=B((kqn,sSe)=>{"use strict";p();u();var Ol=rT(),rSe=Ol.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),Lqt=Ol.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),Z0e=Ol.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Mqt=Ol.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(Z0e),this.key("subjectPublicKey").bitstr())}),Bqt=Ol.define("RelativeDistinguishedName",function(){this.setof(Lqt)}),Nqt=Ol.define("RDNSequence",function(){this.seqof(Bqt)}),iSe=Ol.define("Name",function(){this.choice({rdnSequence:this.use(Nqt)})}),Fqt=Ol.define("Validity",function(){this.seq().obj(this.key("notBefore").use(rSe),this.key("notAfter").use(rSe))}),Oqt=Ol.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),Vqt=Ol.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(Z0e),this.key("issuer").use(iSe),this.key("validity").use(Fqt),this.key("subject").use(iSe),this.key("subjectPublicKeyInfo").use(Mqt),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Oqt).optional())}),$qt=Ol.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(Vqt),this.key("signatureAlgorithm").use(Z0e),this.key("signatureValue").bitstr())});sSe.exports=$qt});var cSe=B($l=>{"use strict";p();u();var Vl=rT();$l.certificate=fSe();var Uqt=Vl.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});$l.RSAPrivateKey=Uqt;var qqt=Vl.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});$l.RSAPublicKey=qqt;var oSe=Vl.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),Hqt=Vl.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(oSe),this.key("subjectPublicKey").bitstr())});$l.PublicKey=Hqt;var zqt=Vl.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(oSe),this.key("subjectPrivateKey").octstr())});$l.PrivateKey=zqt;var Wqt=Vl.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});$l.EncryptedPrivateKey=Wqt;var jqt=Vl.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});$l.DSAPrivateKey=jqt;$l.DSAparam=Vl.define("DSAparam",function(){this.int()});var Gqt=Vl.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),Kqt=Vl.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(Gqt),this.key("publicKey").optional().explicit(1).bitstr())});$l.ECPrivateKey=Kqt;$l.signature=Vl.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})});var dSe=B((Nqn,Qqt)=>{Qqt.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}});var pSe=B((Fqn,lSe)=>{"use strict";p();u();var Yqt=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,Jqt=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,Xqt=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,Zqt=LD(),eHt=AF(),fO=hn().Buffer;lSe.exports=function(n,e){var t=n.toString(),a=t.match(Yqt),r;if(a){var s="aes"+a[1],f=fO.from(a[2],"hex"),o=fO.from(a[3].replace(/[\r\n]/g,""),"base64"),c=Zqt(e,f.slice(0,8),parseInt(a[1],10)).key,d=[],l=eHt.createDecipheriv(s,c,f);d.push(l.update(o)),d.push(l.final()),r=fO.concat(d)}else{var i=t.match(Xqt);r=fO.from(i[2].replace(/[\r\n]/g,""),"base64")}var y=t.match(Jqt)[1];return{tag:y,data:r}}});var XD=B(($qn,ySe)=>{"use strict";p();u();var uc=cSe(),tHt=dSe(),nHt=pSe(),aHt=AF(),rHt=Ste(),ene=hn().Buffer;function iHt(n,e){var t=n.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(n.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=tHt[n.algorithm.decrypt.cipher.algo.join(".")],i=n.algorithm.decrypt.cipher.iv,s=n.subjectPrivateKey,f=parseInt(r.split("-")[1],10)/8,o=rHt.pbkdf2Sync(e,t,a,f,"sha1"),c=aHt.createDecipheriv(r,o,i),d=[];return d.push(c.update(s)),d.push(c.final()),ene.concat(d)}function uSe(n){var e;typeof n=="object"&&!ene.isBuffer(n)&&(e=n.passphrase,n=n.key),typeof n=="string"&&(n=ene.from(n));var t=nHt(n,e),a=t.tag,r=t.data,i,s;switch(a){case"CERTIFICATE":s=uc.certificate.decode(r,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(s||(s=uc.PublicKey.decode(r,"der")),i=s.algorithm.algorithm.join("."),i){case"1.2.840.113549.1.1.1":return uc.RSAPublicKey.decode(s.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return s.subjectPrivateKey=s.subjectPublicKey,{type:"ec",data:s};case"1.2.840.10040.4.1":return s.algorithm.params.pub_key=uc.DSAparam.decode(s.subjectPublicKey.data,"der"),{type:"dsa",data:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":r=uc.EncryptedPrivateKey.decode(r,"der"),r=iHt(r,e);case"PRIVATE KEY":switch(s=uc.PrivateKey.decode(r,"der"),i=s.algorithm.algorithm.join("."),i){case"1.2.840.113549.1.1.1":return uc.RSAPrivateKey.decode(s.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:s.algorithm.curve,privateKey:uc.ECPrivateKey.decode(s.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return s.algorithm.params.priv_key=uc.DSAparam.decode(s.subjectPrivateKey,"der"),{type:"dsa",params:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"RSA PUBLIC KEY":return uc.RSAPublicKey.decode(r,"der");case"RSA PRIVATE KEY":return uc.RSAPrivateKey.decode(r,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:uc.DSAPrivateKey.decode(r,"der")};case"EC PRIVATE KEY":return r=uc.ECPrivateKey.decode(r,"der"),{curve:r.parameters.value,privateKey:r.privateKey};default:throw new Error("unknown key type "+a)}}uSe.signature=uc.signature;ySe.exports=uSe});var tne=B((Hqn,sHt)=>{sHt.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}});var hSe=B((zqn,cO)=>{"use strict";p();u();var Do=hn().Buffer,hh=gte(),fHt=qF(),oHt=YD().ec,oO=Dr(),cHt=XD(),dHt=tne(),lHt=1;function pHt(n,e,t,a,r){var i=cHt(e);if(i.curve){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");return uHt(n,i)}else if(i.type==="dsa"){if(a!=="dsa")throw new Error("wrong private key type");return yHt(n,i,t)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong private key type");if(e.padding!==void 0&&e.padding!==lHt)throw new Error("illegal or unsupported padding mode");n=Do.concat([r,n]);for(var s=i.modulus.byteLength(),f=[0,1];n.length+f.length+10&&t.ishrn(a),t}function bHt(n,e){n=nne(n,e),n=n.mod(e);var t=Do.from(n.toArray());if(t.length{"use strict";p();u();var ane=hn().Buffer,ZD=Dr(),gHt=YD().ec,vSe=XD(),vHt=tne();function THt(n,e,t,a,r){var i=vSe(t);if(i.type==="ec"){if(a!=="ecdsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");return _Ht(n,e,i)}else if(i.type==="dsa"){if(a!=="dsa")throw new Error("wrong public key type");return wHt(n,e,i)}if(a!=="rsa"&&a!=="ecdsa/rsa")throw new Error("wrong public key type");e=ane.concat([r,e]);for(var s=i.modulus.byteLength(),f=[1],o=0;e.length+f.length+2=0)throw new Error("invalid sig")}TSe.exports=THt});var CSe=B((Yqn,DSe)=>{"use strict";p();u();var dO=hn().Buffer,ISe=Jb(),lO=nDe(),ESe=L0(),xHt=hSe(),IHt=_Se(),gh=vte();Object.keys(gh).forEach(function(n){gh[n].id=dO.from(gh[n].id,"hex"),gh[n.toLowerCase()]=gh[n]});function eC(n){lO.Writable.call(this);var e=gh[n];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=ISe(e.hash),this._tag=e.id,this._signType=e.sign}ESe(eC,lO.Writable);eC.prototype._write=function(e,t,a){this._hash.update(e),a()};eC.prototype.update=function(e,t){return this._hash.update(typeof e=="string"?dO.from(e,t):e),this};eC.prototype.sign=function(e,t){this.end();var a=this._hash.digest(),r=xHt(a,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r};function tC(n){lO.Writable.call(this);var e=gh[n];if(!e)throw new Error("Unknown message digest");this._hash=ISe(e.hash),this._tag=e.id,this._signType=e.sign}ESe(tC,lO.Writable);tC.prototype._write=function(e,t,a){this._hash.update(e),a()};tC.prototype.update=function(e,t){return this._hash.update(typeof e=="string"?dO.from(e,t):e),this};tC.prototype.verify=function(e,t,a){var r=typeof t=="string"?dO.from(t,a):t;this.end();var i=this._hash.digest();return IHt(r,i,e,this._signType,this._tag)};function wSe(n){return new eC(n)}function xSe(n){return new tC(n)}DSe.exports={Sign:wSe,Verify:xSe,createSign:wSe,createVerify:xSe}});var ASe=B((Zqn,SSe)=>{p();u();var EHt=YD(),DHt=hr();SSe.exports=function(e){return new vh(e)};var ad={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};ad.p224=ad.secp224r1;ad.p256=ad.secp256r1=ad.prime256v1;ad.p192=ad.secp192r1=ad.prime192v1;ad.p384=ad.secp384r1;ad.p521=ad.secp521r1;function vh(n){this.curveType=ad[n],this.curveType||(this.curveType={name:n}),this.curve=new EHt.ec(this.curveType.name),this.keys=void 0}vh.prototype.generateKeys=function(n,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(n,e)};vh.prototype.computeSecret=function(n,e,t){e=e||"utf8",D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e));var a=this.curve.keyFromPublic(n).getPublic(),r=a.mul(this.keys.getPrivate()).getX();return rne(r,t,this.curveType.byteLength)};vh.prototype.getPublicKey=function(n,e){var t=this.keys.getPublic(e==="compressed",!0);return e==="hybrid"&&(t[t.length-1]%2?t[0]=7:t[0]=6),rne(t,n)};vh.prototype.getPrivateKey=function(n){return rne(this.keys.getPrivate(),n)};vh.prototype.setPublicKey=function(n,e){return e=e||"utf8",D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e)),this.keys._importPublic(n),this};vh.prototype.setPrivateKey=function(n,e){e=e||"utf8",D.Buffer.isBuffer(n)||(n=new D.Buffer(n,e));var t=new DHt(n);return t=t.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(t),this};function rne(n,e,t){Array.isArray(n)||(n=n.toArray());var a=new D.Buffer(n);if(t&&a.length{p();u();var CHt=Jb(),ine=hn().Buffer;kSe.exports=function(n,e){for(var t=ine.alloc(0),a=0,r;t.length{p();u();PSe.exports=function(e,t){for(var a=e.length,r=-1;++r{p();u();var RSe=hr(),AHt=hn().Buffer;function kHt(n,e){return AHt.from(n.toRed(RSe.mont(e.modulus)).redPow(new RSe(e.publicExponent)).fromRed().toArray())}LSe.exports=kHt});var FSe=B((lHn,NSe)=>{p();u();var PHt=XD(),cne=E2(),RHt=Jb(),MSe=sne(),BSe=fne(),dne=hr(),LHt=one(),MHt=qF(),Ul=hn().Buffer;NSe.exports=function(e,t,a){var r;e.padding?r=e.padding:a?r=1:r=4;var i=PHt(e),s;if(r===4)s=BHt(i,t);else if(r===1)s=NHt(i,t,a);else if(r===3){if(s=new dne(t),s.cmp(i.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return a?MHt(s,i):LHt(s,i)};function BHt(n,e){var t=n.modulus.byteLength(),a=e.length,r=RHt("sha1").update(Ul.alloc(0)).digest(),i=r.length,s=2*i;if(a>t-s-2)throw new Error("message too long");var f=Ul.alloc(t-a-s-2),o=t-i-1,c=cne(i),d=BSe(Ul.concat([r,f,Ul.alloc(1,1),e],o),MSe(c,o)),l=BSe(c,MSe(d,i));return new dne(Ul.concat([Ul.alloc(1),l,d],t))}function NHt(n,e,t){var a=e.length,r=n.modulus.byteLength();if(a>r-11)throw new Error("message too long");var i;return t?i=Ul.alloc(r-a-3,255):i=FHt(r-a-3),new dne(Ul.concat([Ul.from([0,t?1:2]),i,Ul.alloc(1),e],r))}function FHt(n){for(var e=Ul.allocUnsafe(n),t=0,a=cne(n*2),r=0,i;t{p();u();var OHt=XD(),OSe=sne(),VSe=fne(),$Se=hr(),VHt=qF(),$Ht=Jb(),UHt=one(),nC=hn().Buffer;USe.exports=function(e,t,a){var r;e.padding?r=e.padding:a?r=1:r=4;var i=OHt(e),s=i.modulus.byteLength();if(t.length>s||new $Se(t).cmp(i.modulus)>=0)throw new Error("decryption error");var f;a?f=UHt(new $Se(t),i):f=VHt(t,i);var o=nC.alloc(s-f.length);if(f=nC.concat([o,f],s),r===4)return qHt(i,f);if(r===1)return HHt(i,f,a);if(r===3)return f;throw new Error("unknown padding")};function qHt(n,e){var t=n.modulus.byteLength(),a=$Ht("sha1").update(nC.alloc(0)).digest(),r=a.length;if(e[0]!==0)throw new Error("decryption error");var i=e.slice(1,r+1),s=e.slice(r+1),f=VSe(i,OSe(s,r)),o=VSe(s,OSe(f,t-r-1));if(zHt(a,o.slice(0,r)))throw new Error("decryption error");for(var c=r;o[c]===0;)c++;if(o[c++]!==1)throw new Error("decryption error");return o.slice(c)}function HHt(n,e,t){for(var a=e.slice(0,2),r=2,i=0;e[r++]!==0;)if(r>=e.length){i++;break}var s=e.slice(2,r-1);if((a.toString("hex")!=="0002"&&!t||a.toString("hex")!=="0001"&&t)&&i++,s.length<8&&i++,i)throw new Error("decryption error");return e.slice(r)}function zHt(n,e){n=nC.from(n),e=nC.from(e);var t=0,a=n.length;n.length!==e.length&&(t++,a=Math.min(n.length,e.length));for(var r=-1;++r{p();u();Th.publicEncrypt=FSe();Th.privateDecrypt=qSe();Th.privateEncrypt=function(e,t){return Th.publicEncrypt(e,t,!0)};Th.publicDecrypt=function(e,t){return Th.privateDecrypt(e,t,!0)}});var ZSe=B(aC=>{"use strict";p();u();function zSe(){throw new Error(`secure random number generation not supported by this browser +use chrome, FireFox or Internet Explorer 11`)}var jSe=hn(),WSe=E2(),GSe=jSe.Buffer,KSe=jSe.kMaxLength,lne=global.crypto||global.msCrypto,QSe=Math.pow(2,32)-1;function YSe(n,e){if(typeof n!="number"||n!==n)throw new TypeError("offset must be a number");if(n>QSe||n<0)throw new TypeError("offset must be a uint32");if(n>KSe||n>e)throw new RangeError("offset out of range")}function JSe(n,e,t){if(typeof n!="number"||n!==n)throw new TypeError("size must be a number");if(n>QSe||n<0)throw new TypeError("size must be a uint32");if(n+e>t||n>KSe)throw new RangeError("buffer too small")}lne&&lne.getRandomValues||!E.browser?(aC.randomFill=WHt,aC.randomFillSync=jHt):(aC.randomFill=zSe,aC.randomFillSync=zSe);function WHt(n,e,t,a){if(!GSe.isBuffer(n)&&!(n instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")a=e,e=0,t=n.length;else if(typeof t=="function")a=t,t=n.length-e;else if(typeof a!="function")throw new TypeError('"cb" argument must be a function');return YSe(e,n.length),JSe(t,e,n.length),XSe(n,e,t,a)}function XSe(n,e,t,a){if(E.browser){var r=n.buffer,i=new Uint8Array(r,e,t);if(lne.getRandomValues(i),a){E.nextTick(function(){a(null,n)});return}return n}if(a){WSe(t,function(f,o){if(f)return a(f);o.copy(n,e),a(null,n)});return}var s=WSe(t);return s.copy(n,e),n}function jHt(n,e,t){if(typeof e>"u"&&(e=0),!GSe.isBuffer(n)&&!(n instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return YSe(e,n.length),t===void 0&&(t=n.length-e),JSe(t,e,n.length),XSe(n,e,t)}});var yO=B(gn=>{"use strict";p();u();gn.randomBytes=gn.rng=gn.pseudoRandomBytes=gn.prng=E2();gn.createHash=gn.Hash=Jb();gn.createHmac=gn.Hmac=gte();var GHt=Bxe(),KHt=Object.keys(GHt),QHt=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(KHt);gn.getHashes=function(){return QHt};var eAe=Ste();gn.pbkdf2=eAe.pbkdf2;gn.pbkdf2Sync=eAe.pbkdf2Sync;var r5=tEe();gn.Cipher=r5.Cipher;gn.createCipher=r5.createCipher;gn.Cipheriv=r5.Cipheriv;gn.createCipheriv=r5.createCipheriv;gn.Decipher=r5.Decipher;gn.createDecipher=r5.createDecipher;gn.Decipheriv=r5.Decipheriv;gn.createDecipheriv=r5.createDecipheriv;gn.getCiphers=r5.getCiphers;gn.listCiphers=r5.listCiphers;var rC=uEe();gn.DiffieHellmanGroup=rC.DiffieHellmanGroup;gn.createDiffieHellmanGroup=rC.createDiffieHellmanGroup;gn.getDiffieHellman=rC.getDiffieHellman;gn.createDiffieHellman=rC.createDiffieHellman;gn.DiffieHellman=rC.DiffieHellman;var pO=CSe();gn.createSign=pO.createSign;gn.Sign=pO.Sign;gn.createVerify=pO.createVerify;gn.Verify=pO.Verify;gn.createECDH=ASe();var uO=HSe();gn.publicEncrypt=uO.publicEncrypt;gn.privateEncrypt=uO.privateEncrypt;gn.publicDecrypt=uO.publicDecrypt;gn.privateDecrypt=uO.privateDecrypt;var tAe=ZSe();gn.randomFill=tAe.randomFill;gn.randomFillSync=tAe.randomFillSync;gn.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(` +`))};gn.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}});var Ov=B((DHn,yne)=>{p();u();var pne;yne.exports=function(e){return pne||(pne=new rm(null)),pne.generate(e)};function rm(n){this.rand=n}yne.exports.Rand=rm;rm.prototype.generate=function(e){return this._rand(e)};rm.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),a=0;a{"use strict";p();u();var _h=hr(),iC=ed(),mO=iC.getNAF,YHt=iC.getJSF,bO=iC.assert;function im(n,e){this.type=n,this.p=new _h(e.p,16),this.red=e.prime?_h.red(e.prime):_h.mont(this.p),this.zero=new _h(0).toRed(this.red),this.one=new _h(1).toRed(this.red),this.two=new _h(2).toRed(this.red),this.n=e.n&&new _h(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}nAe.exports=im;im.prototype.point=function(){throw new Error("Not implemented")};im.prototype.validate=function(){throw new Error("Not implemented")};im.prototype._fixedNafMul=function(e,t){bO(e.precomputed);var a=e._getDoubles(),r=mO(t,1,this._bitLength),i=(1<=f;c--)o=(o<<1)+r[c];s.push(o)}for(var d=this.jpoint(null,null,null),l=this.jpoint(null,null,null),y=i;y>0;y--){for(f=0;f=0;o--){for(var c=0;o>=0&&s[o]===0;o--)c++;if(o>=0&&c++,f=f.dblp(c),o<0)break;var d=s[o];bO(d!==0),e.type==="affine"?d>0?f=f.mixedAdd(i[d-1>>1]):f=f.mixedAdd(i[-d-1>>1].neg()):d>0?f=f.add(i[d-1>>1]):f=f.add(i[-d-1>>1].neg())}return e.type==="affine"?f.toP():f};im.prototype._wnafMulAdd=function(e,t,a,r,i){var s=this._wnafT1,f=this._wnafT2,o=this._wnafT3,c=0,d,l,y;for(d=0;d=1;d-=2){var T=d-1,A=d;if(s[T]!==1||s[A]!==1){o[T]=mO(a[T],s[T],this._bitLength),o[A]=mO(a[A],s[A],this._bitLength),c=Math.max(o[T].length,c),c=Math.max(o[A].length,c);continue}var O=[t[T],null,null,t[A]];t[T].y.cmp(t[A].y)===0?(O[1]=t[T].add(t[A]),O[2]=t[T].toJ().mixedAdd(t[A].neg())):t[T].y.cmp(t[A].y.redNeg())===0?(O[1]=t[T].toJ().mixedAdd(t[A]),O[2]=t[T].add(t[A].neg())):(O[1]=t[T].toJ().mixedAdd(t[A]),O[2]=t[T].toJ().mixedAdd(t[A].neg()));var N=[-3,-1,-5,-7,0,7,5,1,3],U=YHt(a[T],a[A]);for(c=Math.max(U[0].length,c),o[T]=new Array(c),o[A]=new Array(c),l=0;l=0;d--){for(var J=0;d>=0;){var j=!0;for(l=0;l=0&&J++,G=G.dblp(J),d<0)break;for(l=0;l0?y=f[l][z-1>>1]:z<0&&(y=f[l][-z-1>>1].neg()),y.type==="affine"?G=G.mixedAdd(y):G=G.add(y))}}for(d=0;d=Math.ceil((e.bitLength()+1)/t.step):!1};l6.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],r=this,i=0;i{"use strict";p();u();var JHt=ed(),Bi=hr(),mne=L0(),oT=sC(),XHt=JHt.assert;function p6(n){oT.call(this,"short",n),this.a=new Bi(n.a,16).toRed(this.red),this.b=new Bi(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}mne(p6,oT);aAe.exports=p6;p6.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var t,a;if(e.beta)t=new Bi(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=r[0].cmp(r[1])<0?r[0]:r[1],t=t.toRed(this.red)}if(e.lambda)a=new Bi(e.lambda,16);else{var i=this._getEndoRoots(this.n);this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))===0?a=i[0]:(a=i[1],XHt(this.g.mul(a).x.cmp(this.g.x.redMul(t))===0))}var s;return e.basis?s=e.basis.map(function(f){return{a:new Bi(f.a,16),b:new Bi(f.b,16)}}):s=this._getEndoBasis(a),{beta:t,lambda:a,basis:s}}};p6.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:Bi.mont(e),a=new Bi(2).toRed(t).redInvm(),r=a.redNeg(),i=new Bi(3).toRed(t).redNeg().redSqrt().redMul(a),s=r.redAdd(i).fromRed(),f=r.redSub(i).fromRed();return[s,f]};p6.prototype._getEndoBasis=function(e){for(var t=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,r=this.n.clone(),i=new Bi(1),s=new Bi(0),f=new Bi(0),o=new Bi(1),c,d,l,y,h,T,A,O=0,N,U;a.cmpn(0)!==0;){var q=r.div(a);N=r.sub(q.mul(a)),U=f.sub(q.mul(i));var W=o.sub(q.mul(s));if(!l&&N.cmp(t)<0)c=A.neg(),d=i,l=N.neg(),y=U;else if(l&&++O===2)break;A=N,r=a,a=N,f=i,i=U,o=s,s=W}h=N.neg(),T=U;var G=l.sqr().add(y.sqr()),X=h.sqr().add(T.sqr());return X.cmp(G)>=0&&(h=c,T=d),l.negative&&(l=l.neg(),y=y.neg()),h.negative&&(h=h.neg(),T=T.neg()),[{a:l,b:y},{a:h,b:T}]};p6.prototype._endoSplit=function(e){var t=this.endo.basis,a=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),s=a.b.neg().mul(e).divRound(this.n),f=i.mul(a.a),o=s.mul(r.a),c=i.mul(a.b),d=s.mul(r.b),l=e.sub(f).sub(o),y=c.add(d).neg();return{k1:l,k2:y}};p6.prototype.pointFromX=function(e,t){e=new Bi(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=a.redSqrt();if(r.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)};p6.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,a=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return a.redSqr().redISub(i).cmpn(0)===0};p6.prototype._endoWnafMulAdd=function(e,t,a){for(var r=this._endoWnafT1,i=this._endoWnafT2,s=0;s":""};rf.prototype.isInfinity=function(){return this.inf};rf.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var t=this.y.redSub(e.y);t.cmpn(0)!==0&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var a=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,r)};rf.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var t=this.curve.a,a=this.x.redSqr(),r=e.redInvm(),i=a.redAdd(a).redIAdd(a).redIAdd(t).redMul(r),s=i.redSqr().redISub(this.x.redAdd(this.x)),f=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,f)};rf.prototype.getX=function(){return this.x.fromRed()};rf.prototype.getY=function(){return this.y.fromRed()};rf.prototype.mul=function(e){return e=new Bi(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};rf.prototype.mulAdd=function(e,t,a){var r=[this,t],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)};rf.prototype.jmulAdd=function(e,t,a){var r=[this,t],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)};rf.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};rf.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,r=function(i){return i.neg()};t.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(r)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(r)}}}return t};rf.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function $f(n,e,t,a){oT.BasePoint.call(this,n,"jacobian"),e===null&&t===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Bi(0)):(this.x=new Bi(e,16),this.y=new Bi(t,16),this.z=new Bi(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}mne($f,oT.BasePoint);p6.prototype.jpoint=function(e,t,a){return new $f(this,e,t,a)};$f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),a=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(a,r)};$f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};$f.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),a=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(a),s=this.y.redMul(t.redMul(e.z)),f=e.y.redMul(a.redMul(this.z)),o=r.redSub(i),c=s.redSub(f);if(o.cmpn(0)===0)return c.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var d=o.redSqr(),l=d.redMul(o),y=r.redMul(d),h=c.redSqr().redIAdd(l).redISub(y).redISub(y),T=c.redMul(y.redISub(h)).redISub(s.redMul(l)),A=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,T,A)};$f.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),a=this.x,r=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),f=a.redSub(r),o=i.redSub(s);if(f.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=f.redSqr(),d=c.redMul(f),l=a.redMul(c),y=o.redSqr().redIAdd(d).redISub(l).redISub(l),h=o.redMul(l.redISub(y)).redISub(i.redMul(d)),T=this.z.redMul(f);return this.curve.jpoint(y,h,T)};$f.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var a=this;for(t=0;t=0)return!1;if(a.redIAdd(i),this.x.cmp(a)===0)return!0}};$f.prototype.inspect=function(){return this.isInfinity()?"":""};$f.prototype.isInfinity=function(){return this.z.cmpn(0)===0}});var fAe=B((BHn,sAe)=>{"use strict";p();u();var cT=hr(),iAe=L0(),hO=sC(),ZHt=ed();function dT(n){hO.call(this,"mont",n),this.a=new cT(n.a,16).toRed(this.red),this.b=new cT(n.b,16).toRed(this.red),this.i4=new cT(4).toRed(this.red).redInvm(),this.two=new cT(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}iAe(dT,hO);sAe.exports=dT;dT.prototype.validate=function(e){var t=e.normalize().x,a=t.redSqr(),r=a.redMul(t).redAdd(a.redMul(this.a)).redAdd(t),i=r.redSqrt();return i.redSqr().cmp(r)===0};function sf(n,e,t){hO.BasePoint.call(this,n,"projective"),e===null&&t===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new cT(e,16),this.z=new cT(t,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}iAe(sf,hO.BasePoint);dT.prototype.decodePoint=function(e,t){return this.point(ZHt.toArray(e,t),1)};dT.prototype.point=function(e,t){return new sf(this,e,t)};dT.prototype.pointFromJSON=function(e){return sf.fromJSON(this,e)};sf.prototype.precompute=function(){};sf.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())};sf.fromJSON=function(e,t){return new sf(e,t[0],t[1]||e.one)};sf.prototype.inspect=function(){return this.isInfinity()?"":""};sf.prototype.isInfinity=function(){return this.z.cmpn(0)===0};sf.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),a=this.x.redSub(this.z),r=a.redSqr(),i=t.redSub(r),s=t.redMul(r),f=i.redMul(r.redAdd(this.curve.a24.redMul(i)));return this.curve.point(s,f)};sf.prototype.add=function(){throw new Error("Not supported on Montgomery curve")};sf.prototype.diffAdd=function(e,t){var a=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z),f=s.redMul(a),o=i.redMul(r),c=t.z.redMul(f.redAdd(o).redSqr()),d=t.x.redMul(f.redISub(o).redSqr());return this.curve.point(c,d)};sf.prototype.mul=function(e){for(var t=e.clone(),a=this,r=this.curve.point(null,null),i=this,s=[];t.cmpn(0)!==0;t.iushrn(1))s.push(t.andln(1));for(var f=s.length-1;f>=0;f--)s[f]===0?(a=a.diffAdd(r,i),r=r.dbl()):(r=a.diffAdd(r,i),a=a.dbl());return r};sf.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")};sf.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")};sf.prototype.eq=function(e){return this.getX().cmp(e.getX())===0};sf.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this};sf.prototype.getX=function(){return this.normalize(),this.x.fromRed()}});var dAe=B((OHn,cAe)=>{"use strict";p();u();var ezt=ed(),q2=hr(),oAe=L0(),gO=sC(),tzt=ezt.assert;function i5(n){this.twisted=(n.a|0)!==1,this.mOneA=this.twisted&&(n.a|0)===-1,this.extended=this.mOneA,gO.call(this,"edwards",n),this.a=new q2(n.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new q2(n.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new q2(n.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),tzt(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(n.c|0)===1}oAe(i5,gO);cAe.exports=i5;i5.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)};i5.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)};i5.prototype.jpoint=function(e,t,a,r){return this.point(e,t,a,r)};i5.prototype.pointFromX=function(e,t){e=new q2(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=this.c2.redSub(this.a.redMul(a)),i=this.one.redSub(this.c2.redMul(this.d).redMul(a)),s=r.redMul(i.redInvm()),f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");var o=f.fromRed().isOdd();return(t&&!o||!t&&o)&&(f=f.redNeg()),this.point(e,f)};i5.prototype.pointFromY=function(e,t){e=new q2(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr(),r=a.redSub(this.c2),i=a.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(i.redInvm());if(s.cmp(this.zero)===0){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");return f.fromRed().isOdd()!==t&&(f=f.redNeg()),this.point(f,e)};i5.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),a=e.y.redSqr(),r=t.redMul(this.a).redAdd(a),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(a)));return r.cmp(i)===0};function Sr(n,e,t,a,r){gO.BasePoint.call(this,n,"projective"),e===null&&t===null&&a===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new q2(e,16),this.y=new q2(t,16),this.z=a?new q2(a,16):this.curve.one,this.t=r&&new q2(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}oAe(Sr,gO.BasePoint);i5.prototype.pointFromJSON=function(e){return Sr.fromJSON(this,e)};i5.prototype.point=function(e,t,a,r){return new Sr(this,e,t,a,r)};Sr.fromJSON=function(e,t){return new Sr(e,t[0],t[1],t[2])};Sr.prototype.inspect=function(){return this.isInfinity()?"":""};Sr.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Sr.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=r.redAdd(t),f=s.redSub(a),o=r.redSub(t),c=i.redMul(f),d=s.redMul(o),l=i.redMul(o),y=f.redMul(s);return this.curve.point(c,d,y,l)};Sr.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),t=this.x.redSqr(),a=this.y.redSqr(),r,i,s,f,o,c;if(this.curve.twisted){f=this.curve._mulA(t);var d=f.redAdd(a);this.zOne?(r=e.redSub(t).redSub(a).redMul(d.redSub(this.curve.two)),i=d.redMul(f.redSub(a)),s=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),c=d.redSub(o).redISub(o),r=e.redSub(t).redISub(a).redMul(c),i=d.redMul(f.redSub(a)),s=d.redMul(c))}else f=t.redAdd(a),o=this.curve._mulC(this.z).redSqr(),c=f.redSub(o).redSub(o),r=this.curve._mulC(e.redISub(f)).redMul(c),i=this.curve._mulC(f).redMul(t.redISub(a)),s=f.redMul(c);return this.curve.point(r,i,s)};Sr.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()};Sr.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=a.redSub(t),f=i.redSub(r),o=i.redAdd(r),c=a.redAdd(t),d=s.redMul(f),l=o.redMul(c),y=s.redMul(c),h=f.redMul(o);return this.curve.point(d,l,h,y)};Sr.prototype._projAdd=function(e){var t=this.z.redMul(e.z),a=t.redSqr(),r=this.x.redMul(e.x),i=this.y.redMul(e.y),s=this.curve.d.redMul(r).redMul(i),f=a.redSub(s),o=a.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(i),d=t.redMul(f).redMul(c),l,y;return this.curve.twisted?(l=t.redMul(o).redMul(i.redSub(this.curve._mulA(r))),y=f.redMul(o)):(l=t.redMul(o).redMul(i.redSub(r)),y=this.curve._mulC(f).redMul(o)),this.curve.point(d,l,y)};Sr.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)};Sr.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)};Sr.prototype.mulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!1)};Sr.prototype.jmulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!0)};Sr.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this};Sr.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Sr.prototype.getX=function(){return this.normalize(),this.x.fromRed()};Sr.prototype.getY=function(){return this.normalize(),this.y.fromRed()};Sr.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0};Sr.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(t)===0)return!0;for(var a=e.clone(),r=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),this.x.cmp(t)===0)return!0}};Sr.prototype.toP=Sr.prototype.normalize;Sr.prototype.mixedAdd=Sr.prototype.add});var bne=B(lAe=>{"use strict";p();u();var vO=lAe;vO.base=sC();vO.short=rAe();vO.mont=fAe();vO.edwards=dAe()});var uAe=B((zHn,pAe)=>{p();u();pAe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}});var TO=B(bAe=>{"use strict";p();u();var gne=bAe,sm=lh(),hne=bne(),nzt=ed(),yAe=nzt.assert;function mAe(n){n.type==="short"?this.curve=new hne.short(n):n.type==="edwards"?this.curve=new hne.edwards(n):this.curve=new hne.mont(n),this.g=this.curve.g,this.n=this.curve.n,this.hash=n.hash,yAe(this.g.validate(),"Invalid curve"),yAe(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}gne.PresetCurve=mAe;function fm(n,e){Object.defineProperty(gne,n,{configurable:!0,enumerable:!0,get:function(){var t=new mAe(e);return Object.defineProperty(gne,n,{configurable:!0,enumerable:!0,value:t}),t}})}fm("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:sm.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});fm("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:sm.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});fm("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:sm.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});fm("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:sm.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]});fm("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:sm.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]});fm("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:sm.sha256,gRed:!1,g:["9"]});fm("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:sm.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var vne;try{vne=uAe()}catch{vne=void 0}fm("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:sm.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",vne]})});var gAe=B((YHn,hAe)=>{"use strict";p();u();var azt=hr(),rzt=ed(),Tne=rzt.assert;function Co(n,e){this.ec=n,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}hAe.exports=Co;Co.fromPublic=function(e,t,a){return t instanceof Co?t:new Co(e,{pub:t,pubEnc:a})};Co.fromPrivate=function(e,t,a){return t instanceof Co?t:new Co(e,{priv:t,privEnc:a})};Co.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};Co.prototype.getPublic=function(e,t){return typeof e=="string"&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub};Co.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};Co.prototype._importPrivate=function(e,t){this.priv=new azt(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)};Co.prototype._importPublic=function(e,t){if(e.x||e.y){this.ec.curve.type==="mont"?Tne(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&Tne(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)};Co.prototype.derive=function(e){return e.validate()||Tne(e.validate(),"public point not validated"),e.mul(this.priv).getX()};Co.prototype.sign=function(e,t,a){return this.ec.sign(e,this,t,a)};Co.prototype.verify=function(e,t){return this.ec.verify(e,t,this)};Co.prototype.inspect=function(){return""}});var _Ae=B((ZHn,TAe)=>{"use strict";p();u();var _O=hr(),xne=ed(),izt=xne.assert;function wO(n,e){if(n instanceof wO)return n;this._importDER(n,e)||(izt(n.r&&n.s,"Signature without r or s"),this.r=new _O(n.r,16),this.s=new _O(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}TAe.exports=wO;function szt(){this.place=0}function _ne(n,e){var t=n[e.place++];if(!(t&128))return t;var a=t&15;if(a===0||a>4)return!1;for(var r=0,i=0,s=e.place;i>>=0;return r<=127?!1:(e.place=s,r)}function vAe(n){for(var e=0,t=n.length-1;!n[e]&&!(n[e+1]&128)&&e>>3);for(n.push(t|128);--t;)n.push(e>>>(t<<3)&255);n.push(e)}wO.prototype.toDER=function(e){var t=this.r.toArray(),a=this.s.toArray();for(t[0]&128&&(t=[0].concat(t)),a[0]&128&&(a=[0].concat(a)),t=vAe(t),a=vAe(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var r=[2];wne(r,t.length),r=r.concat(t),r.push(2),wne(r,a.length);var i=r.concat(a),s=[48];return wne(s,i.length),s=s.concat(i),xne.encode(s,e)}});var EAe=B((nzn,IAe)=>{"use strict";p();u();var wh=hr(),wAe=M0e(),fzt=ed(),Ine=TO(),ozt=Ov(),xAe=fzt.assert,Ene=gAe(),xO=_Ae();function u6(n){if(!(this instanceof u6))return new u6(n);typeof n=="string"&&(xAe(Object.prototype.hasOwnProperty.call(Ine,n),"Unknown curve "+n),n=Ine[n]),n instanceof Ine.PresetCurve&&(n={curve:n}),this.curve=n.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=n.curve.g,this.g.precompute(n.curve.n.bitLength()+1),this.hash=n.hash||n.curve.hash}IAe.exports=u6;u6.prototype.keyPair=function(e){return new Ene(this,e)};u6.prototype.keyFromPrivate=function(e,t){return Ene.fromPrivate(this,e,t)};u6.prototype.keyFromPublic=function(e,t){return Ene.fromPublic(this,e,t)};u6.prototype.genKeyPair=function(e){e||(e={});for(var t=new wAe({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ozt(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),r=this.n.sub(new wh(2));;){var i=new wh(t.generate(a));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}};u6.prototype._truncateToN=function(e,t){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e};u6.prototype.sign=function(e,t,a,r){typeof a=="object"&&(r=a,a=null),r||(r={}),t=this.keyFromPrivate(t,a),e=this._truncateToN(new wh(e,16));for(var i=this.n.byteLength(),s=t.getPrivate().toArray("be",i),f=e.toArray("be",i),o=new wAe({hash:this.hash,entropy:s,nonce:f,pers:r.pers,persEnc:r.persEnc||"utf8"}),c=this.n.sub(new wh(1)),d=0;;d++){var l=r.k?r.k(d):new wh(o.generate(this.n.byteLength()));if(l=this._truncateToN(l,!0),!(l.cmpn(1)<=0||l.cmp(c)>=0)){var y=this.g.mul(l);if(!y.isInfinity()){var h=y.getX(),T=h.umod(this.n);if(T.cmpn(0)!==0){var A=l.invm(this.n).mul(T.mul(t.getPrivate()).iadd(e));if(A=A.umod(this.n),A.cmpn(0)!==0){var O=(y.getY().isOdd()?1:0)|(h.cmp(T)!==0?2:0);return r.canonical&&A.cmp(this.nh)>0&&(A=this.n.sub(A),O^=1),new xO({r:T,s:A,recoveryParam:O})}}}}}};u6.prototype.verify=function(e,t,a,r){e=this._truncateToN(new wh(e,16)),a=this.keyFromPublic(a,r),t=new xO(t,"hex");var i=t.r,s=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0||s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var f=s.invm(this.n),o=f.mul(e).umod(this.n),c=f.mul(i).umod(this.n),d;return this.curve._maxwellTrick?(d=this.g.jmulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.eqXToP(i)):(d=this.g.mulAdd(o,a.getPublic(),c),d.isInfinity()?!1:d.getX().umod(this.n).cmp(i)===0)};u6.prototype.recoverPubKey=function(n,e,t,a){xAe((3&t)===t,"The recovery param is more than two bits"),e=new xO(e,a);var r=this.n,i=new wh(n),s=e.r,f=e.s,o=t&1,c=t>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?s=this.curve.pointFromX(s.add(this.curve.n),o):s=this.curve.pointFromX(s,o);var d=e.r.invm(r),l=r.sub(i).mul(d).umod(r),y=f.mul(d).umod(r);return this.g.mulAdd(l,s,y)};u6.prototype.getKeyRecoveryParam=function(n,e,t,a){if(e=new xO(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var i;try{i=this.recoverPubKey(n,e,r)}catch{continue}if(i.eq(t))return r}throw new Error("Unable to find valid recovery factor")}});var AAe=B((izn,SAe)=>{"use strict";p();u();var fC=ed(),CAe=fC.assert,DAe=fC.parseBytes,lT=fC.cachedProperty;function ff(n,e){this.eddsa=n,this._secret=DAe(e.secret),n.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=DAe(e.pub)}ff.fromPublic=function(e,t){return t instanceof ff?t:new ff(e,{pub:t})};ff.fromSecret=function(e,t){return t instanceof ff?t:new ff(e,{secret:t})};ff.prototype.secret=function(){return this._secret};lT(ff,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())});lT(ff,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())});lT(ff,"privBytes",function(){var e=this.eddsa,t=this.hash(),a=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[a]&=127,r[a]|=64,r});lT(ff,"priv",function(){return this.eddsa.decodeInt(this.privBytes())});lT(ff,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()});lT(ff,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)});ff.prototype.sign=function(e){return CAe(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)};ff.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)};ff.prototype.getSecret=function(e){return CAe(this._secret,"KeyPair is public only"),fC.encode(this.secret(),e)};ff.prototype.getPublic=function(e){return fC.encode(this.pubBytes(),e)};SAe.exports=ff});var PAe=B((ozn,kAe)=>{"use strict";p();u();var czt=hr(),IO=ed(),dzt=IO.assert,EO=IO.cachedProperty,lzt=IO.parseBytes;function xh(n,e){this.eddsa=n,typeof e!="object"&&(e=lzt(e)),Array.isArray(e)&&(e={R:e.slice(0,n.encodingLength),S:e.slice(n.encodingLength)}),dzt(e.R&&e.S,"Signature without R or S"),n.isPoint(e.R)&&(this._R=e.R),e.S instanceof czt&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}EO(xh,"S",function(){return this.eddsa.decodeInt(this.Sencoded())});EO(xh,"R",function(){return this.eddsa.decodePoint(this.Rencoded())});EO(xh,"Rencoded",function(){return this.eddsa.encodePoint(this.R())});EO(xh,"Sencoded",function(){return this.eddsa.encodeInt(this.S())});xh.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())};xh.prototype.toHex=function(){return IO.encode(this.toBytes(),"hex").toUpperCase()};kAe.exports=xh});var NAe=B((lzn,BAe)=>{"use strict";p();u();var pzt=lh(),uzt=TO(),pT=ed(),yzt=pT.assert,LAe=pT.parseBytes,MAe=AAe(),RAe=PAe();function yc(n){if(yzt(n==="ed25519","only tested with ed25519 so far"),!(this instanceof yc))return new yc(n);n=uzt[n].curve,this.curve=n,this.g=n.g,this.g.precompute(n.n.bitLength()+1),this.pointClass=n.point().constructor,this.encodingLength=Math.ceil(n.n.bitLength()/8),this.hash=pzt.sha512}BAe.exports=yc;yc.prototype.sign=function(e,t){e=LAe(e);var a=this.keyFromSecret(t),r=this.hashInt(a.messagePrefix(),e),i=this.g.mul(r),s=this.encodePoint(i),f=this.hashInt(s,a.pubBytes(),e).mul(a.priv()),o=r.add(f).umod(this.curve.n);return this.makeSignature({R:i,S:o,Rencoded:s})};yc.prototype.verify=function(e,t,a){e=LAe(e),t=this.makeSignature(t);var r=this.keyFromPublic(a),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),s=this.g.mul(t.S()),f=t.R().add(r.pub().mul(i));return f.eq(s)};yc.prototype.hashInt=function(){for(var e=this.hash(),t=0;t{"use strict";p();u();var Ih=FAe;Ih.version=$ve().version;Ih.utils=ed();Ih.rand=Ov();Ih.curve=bne();Ih.curves=TO();Ih.ec=EAe();Ih.eddsa=NAe()});var VAe=B(uT=>{"use strict";p();u();var mzt=uT&&uT.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(uT,"__esModule",{value:!0});uT.EC=void 0;var bzt=mzt(OAe()),hzt=bzt.default.ec;uT.EC=hzt});var $Ae=B(DO=>{"use strict";p();u();Object.defineProperty(DO,"__esModule",{value:!0});DO.version=void 0;DO.version="signing-key/5.7.0"});var cC=B(om=>{"use strict";p();u();Object.defineProperty(om,"__esModule",{value:!0});om.computePublicKey=om.recoverPublicKey=om.SigningKey=void 0;var gzt=VAe(),us=H0(),oC=xa(),vzt=R0(),Tzt=$Ae(),Cne=new vzt.Logger(Tzt.version),Dne=null;function s5(){return Dne||(Dne=new gzt.EC("secp256k1")),Dne}var UAe=function(){function n(e){(0,oC.defineReadOnly)(this,"curve","secp256k1"),(0,oC.defineReadOnly)(this,"privateKey",(0,us.hexlify)(e)),(0,us.hexDataLength)(this.privateKey)!==32&&Cne.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var t=s5().keyFromPrivate((0,us.arrayify)(this.privateKey));(0,oC.defineReadOnly)(this,"publicKey","0x"+t.getPublic(!1,"hex")),(0,oC.defineReadOnly)(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),(0,oC.defineReadOnly)(this,"_isSigningKey",!0)}return n.prototype._addPoint=function(e){var t=s5().keyFromPublic((0,us.arrayify)(this.publicKey)),a=s5().keyFromPublic((0,us.arrayify)(e));return"0x"+t.pub.add(a.pub).encodeCompressed("hex")},n.prototype.signDigest=function(e){var t=s5().keyFromPrivate((0,us.arrayify)(this.privateKey)),a=(0,us.arrayify)(e);a.length!==32&&Cne.throwArgumentError("bad digest length","digest",e);var r=t.sign(a,{canonical:!0});return(0,us.splitSignature)({recoveryParam:r.recoveryParam,r:(0,us.hexZeroPad)("0x"+r.r.toString(16),32),s:(0,us.hexZeroPad)("0x"+r.s.toString(16),32)})},n.prototype.computeSharedSecret=function(e){var t=s5().keyFromPrivate((0,us.arrayify)(this.privateKey)),a=s5().keyFromPublic((0,us.arrayify)(qAe(e)));return(0,us.hexZeroPad)("0x"+t.derive(a.getPublic()).toString(16),32)},n.isSigningKey=function(e){return!!(e&&e._isSigningKey)},n}();om.SigningKey=UAe;function _zt(n,e){var t=(0,us.splitSignature)(e),a={r:(0,us.arrayify)(t.r),s:(0,us.arrayify)(t.s)};return"0x"+s5().recoverPubKey((0,us.arrayify)(n),a,t.recoveryParam).encode("hex",!1)}om.recoverPublicKey=_zt;function qAe(n,e){var t=(0,us.arrayify)(n);if(t.length===32){var a=new UAe(t);return e?"0x"+s5().keyFromPrivate(t).getPublic(!0,"hex"):a.publicKey}else{if(t.length===33)return e?(0,us.hexlify)(t):"0x"+s5().keyFromPublic(t).getPublic(!1,"hex");if(t.length===65)return e?"0x"+s5().keyFromPublic(t).getPublic(!0,"hex"):(0,us.hexlify)(t)}return Cne.throwArgumentError("invalid public or private key","key","[REDACTED]")}om.computePublicKey=qAe});var HAe=B(CO=>{"use strict";p();u();Object.defineProperty(CO,"__esModule",{value:!0});CO.version=void 0;CO.version="transactions/5.7.0"});var f5=B(Xi=>{"use strict";p();u();var wzt=Xi&&Xi.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t),Object.defineProperty(n,a,{enumerable:!0,get:function(){return e[t]}})}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),xzt=Xi&&Xi.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),Izt=Xi&&Xi.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&wzt(e,n,t);return xzt(e,n),e};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.parse=Xi.serialize=Xi.accessListify=Xi.recoverAddress=Xi.computeAddress=Xi.TransactionTypes=void 0;var dC=go(),Eh=Zn(),ta=H0(),Ezt=V8(),yT=T1(),Dzt=xa(),cm=Izt(KE()),zAe=cC(),Ane=R0(),Czt=HAe(),Ao=new Ane.Logger(Czt.version),Szt;(function(n){n[n.legacy=0]="legacy",n[n.eip2930=1]="eip2930",n[n.eip1559=2]="eip1559"})(Szt=Xi.TransactionTypes||(Xi.TransactionTypes={}));function kne(n){return n==="0x"?null:(0,dC.getAddress)(n)}function So(n){return n==="0x"?Ezt.Zero:Eh.BigNumber.from(n)}var Azt=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],kzt={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function WAe(n){var e=(0,zAe.computePublicKey)(n);return(0,dC.getAddress)((0,ta.hexDataSlice)((0,yT.keccak256)((0,ta.hexDataSlice)(e,1)),12))}Xi.computeAddress=WAe;function Pne(n,e){return WAe((0,zAe.recoverPublicKey)((0,ta.arrayify)(n),e))}Xi.recoverAddress=Pne;function rd(n,e){var t=(0,ta.stripZeros)(Eh.BigNumber.from(n).toHexString());return t.length>32&&Ao.throwArgumentError("invalid length for "+e,"transaction:"+e,n),t}function Sne(n,e){return{address:(0,dC.getAddress)(n),storageKeys:(e||[]).map(function(t,a){return(0,ta.hexDataLength)(t)!==32&&Ao.throwArgumentError("invalid access list storageKey","accessList["+n+":"+a+"]",t),t.toLowerCase()})}}function SO(n){if(Array.isArray(n))return n.map(function(t,a){return Array.isArray(t)?(t.length>2&&Ao.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value["+a+"]",t),Sne(t[0],t[1])):Sne(t.address,t.storageKeys)});var e=Object.keys(n).map(function(t){var a=n[t].reduce(function(r,i){return r[i]=!0,r},{});return Sne(t,Object.keys(a).sort())});return e.sort(function(t,a){return t.address.localeCompare(a.address)}),e}Xi.accessListify=SO;function jAe(n){return SO(n).map(function(e){return[e.address,e.storageKeys]})}function GAe(n,e){if(n.gasPrice!=null){var t=Eh.BigNumber.from(n.gasPrice),a=Eh.BigNumber.from(n.maxFeePerGas||0);t.eq(a)||Ao.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:t,maxFeePerGas:a})}var r=[rd(n.chainId||0,"chainId"),rd(n.nonce||0,"nonce"),rd(n.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),rd(n.maxFeePerGas||0,"maxFeePerGas"),rd(n.gasLimit||0,"gasLimit"),n.to!=null?(0,dC.getAddress)(n.to):"0x",rd(n.value||0,"value"),n.data||"0x",jAe(n.accessList||[])];if(e){var i=(0,ta.splitSignature)(e);r.push(rd(i.recoveryParam,"recoveryParam")),r.push((0,ta.stripZeros)(i.r)),r.push((0,ta.stripZeros)(i.s))}return(0,ta.hexConcat)(["0x02",cm.encode(r)])}function KAe(n,e){var t=[rd(n.chainId||0,"chainId"),rd(n.nonce||0,"nonce"),rd(n.gasPrice||0,"gasPrice"),rd(n.gasLimit||0,"gasLimit"),n.to!=null?(0,dC.getAddress)(n.to):"0x",rd(n.value||0,"value"),n.data||"0x",jAe(n.accessList||[])];if(e){var a=(0,ta.splitSignature)(e);t.push(rd(a.recoveryParam,"recoveryParam")),t.push((0,ta.stripZeros)(a.r)),t.push((0,ta.stripZeros)(a.s))}return(0,ta.hexConcat)(["0x01",cm.encode(t)])}function Pzt(n,e){(0,Dzt.checkProperties)(n,kzt);var t=[];Azt.forEach(function(s){var f=n[s.name]||[],o={};s.numeric&&(o.hexPad="left"),f=(0,ta.arrayify)((0,ta.hexlify)(f,o)),s.length&&f.length!==s.length&&f.length>0&&Ao.throwArgumentError("invalid length for "+s.name,"transaction:"+s.name,f),s.maxLength&&(f=(0,ta.stripZeros)(f),f.length>s.maxLength&&Ao.throwArgumentError("invalid length for "+s.name,"transaction:"+s.name,f)),t.push((0,ta.hexlify)(f))});var a=0;if(n.chainId!=null?(a=n.chainId,typeof a!="number"&&Ao.throwArgumentError("invalid transaction.chainId","transaction",n)):e&&!(0,ta.isBytesLike)(e)&&e.v>28&&(a=Math.floor((e.v-35)/2)),a!==0&&(t.push((0,ta.hexlify)(a)),t.push("0x"),t.push("0x")),!e)return cm.encode(t);var r=(0,ta.splitSignature)(e),i=27+r.recoveryParam;return a!==0?(t.pop(),t.pop(),t.pop(),i+=a*2+8,r.v>28&&r.v!==i&&Ao.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):r.v!==i&&Ao.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),t.push((0,ta.hexlify)(i)),t.push((0,ta.stripZeros)((0,ta.arrayify)(r.r))),t.push((0,ta.stripZeros)((0,ta.arrayify)(r.s))),cm.encode(t)}function Rzt(n,e){if(n.type==null||n.type===0)return n.accessList!=null&&Ao.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",n),Pzt(n,e);switch(n.type){case 1:return KAe(n,e);case 2:return GAe(n,e);default:break}return Ao.throwError("unsupported transaction type: "+n.type,Ane.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:n.type})}Xi.serialize=Rzt;function QAe(n,e,t){try{var a=So(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");n.v=a}catch{Ao.throwArgumentError("invalid v for transaction type: 1","v",e[0])}n.r=(0,ta.hexZeroPad)(e[1],32),n.s=(0,ta.hexZeroPad)(e[2],32);try{var r=(0,yT.keccak256)(t(n));n.from=Pne(r,{r:n.r,s:n.s,recoveryParam:n.v})}catch{}}function Lzt(n){var e=cm.decode(n.slice(1));e.length!==9&&e.length!==12&&Ao.throwArgumentError("invalid component count for transaction type: 2","payload",(0,ta.hexlify)(n));var t=So(e[2]),a=So(e[3]),r={type:2,chainId:So(e[0]).toNumber(),nonce:So(e[1]).toNumber(),maxPriorityFeePerGas:t,maxFeePerGas:a,gasPrice:null,gasLimit:So(e[4]),to:kne(e[5]),value:So(e[6]),data:e[7],accessList:SO(e[8])};return e.length===9||(r.hash=(0,yT.keccak256)(n),QAe(r,e.slice(9),GAe)),r}function Mzt(n){var e=cm.decode(n.slice(1));e.length!==8&&e.length!==11&&Ao.throwArgumentError("invalid component count for transaction type: 1","payload",(0,ta.hexlify)(n));var t={type:1,chainId:So(e[0]).toNumber(),nonce:So(e[1]).toNumber(),gasPrice:So(e[2]),gasLimit:So(e[3]),to:kne(e[4]),value:So(e[5]),data:e[6],accessList:SO(e[7])};return e.length===8||(t.hash=(0,yT.keccak256)(n),QAe(t,e.slice(8),KAe)),t}function Bzt(n){var e=cm.decode(n);e.length!==9&&e.length!==6&&Ao.throwArgumentError("invalid raw transaction","rawTransaction",n);var t={nonce:So(e[0]).toNumber(),gasPrice:So(e[1]),gasLimit:So(e[2]),to:kne(e[3]),value:So(e[4]),data:e[5],chainId:0};if(e.length===6)return t;try{t.v=Eh.BigNumber.from(e[6]).toNumber()}catch{return t}if(t.r=(0,ta.hexZeroPad)(e[7],32),t.s=(0,ta.hexZeroPad)(e[8],32),Eh.BigNumber.from(t.r).isZero()&&Eh.BigNumber.from(t.s).isZero())t.chainId=t.v,t.v=0;else{t.chainId=Math.floor((t.v-35)/2),t.chainId<0&&(t.chainId=0);var a=t.v-27,r=e.slice(0,6);t.chainId!==0&&(r.push((0,ta.hexlify)(t.chainId)),r.push("0x"),r.push("0x"),a-=t.chainId*2+8);var i=(0,yT.keccak256)(cm.encode(r));try{t.from=Pne(i,{r:(0,ta.hexlify)(t.r),s:(0,ta.hexlify)(t.s),recoveryParam:a})}catch{}t.hash=(0,yT.keccak256)(n)}return t.type=null,t}function Nzt(n){var e=(0,ta.arrayify)(n);if(e[0]>127)return Bzt(e);switch(e[0]){case 1:return Mzt(e);case 2:return Lzt(e);default:break}return Ao.throwError("unsupported transaction type: "+e[0],Ane.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}Xi.parse=Nzt});var YAe=B(AO=>{"use strict";p();u();Object.defineProperty(AO,"__esModule",{value:!0});AO.version=void 0;AO.version="contracts/5.7.0"});var rke=B(ko=>{"use strict";p();u();var RO=ko&&ko.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),lm=ko&&ko.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},pm=ko&&ko.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]1)){c=c.substring(1);var l=d[0];try{i[c]==null&&(0,y0.defineReadOnly)(i,c,i[l])}catch{}i.functions[c]==null&&(0,y0.defineReadOnly)(i.functions,c,i.functions[l]),i.callStatic[c]==null&&(0,y0.defineReadOnly)(i.callStatic,c,i.callStatic[l]),i.populateTransaction[c]==null&&(0,y0.defineReadOnly)(i.populateTransaction,c,i.populateTransaction[l]),i.estimateGas[c]==null&&(0,y0.defineReadOnly)(i.estimateGas,c,i.estimateGas[l])}})}return n.getContractAddress=function(e){return(0,pC.getContractAddress)(e)},n.getInterface=function(e){return kO.Interface.isInterface(e)?e:new kO.Interface(e)},n.prototype.deployed=function(){return this._deployed()},n.prototype._deployed=function(e){var t=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(function(){return t}):this._deployedPromise=this.provider.getCode(this.address,e).then(function(a){return a==="0x"&&sr.throwError("contract not deployed",Uf.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:t.address,operation:"getDeployed"}),t})),this._deployedPromise},n.prototype.fallback=function(e){var t=this;this.signer||sr.throwError("sending a transactions require a signer",Uf.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var a=(0,y0.shallowCopy)(e||{});return["from","to"].forEach(function(r){a[r]!=null&&sr.throwError("cannot override "+r,Uf.Logger.errors.UNSUPPORTED_OPERATION,{operation:r})}),a.to=this.resolvedAddress,this.deployed().then(function(){return t.signer.sendTransaction(a)})},n.prototype.connect=function(e){typeof e=="string"&&(e=new Rne.VoidSigner(e,this.provider));var t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,y0.defineReadOnly)(t,"deployTransaction",this.deployTransaction),t},n.prototype.attach=function(e){return new this.constructor(e,this.interface,this.signer||this.provider)},n.isIndexed=function(e){return kO.Indexed.isIndexed(e)},n.prototype._normalizeRunningEvent=function(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e},n.prototype._getRunningEvent=function(e){if(typeof e=="string"){if(e==="error")return this._normalizeRunningEvent(new Wzt);if(e==="event")return this._normalizeRunningEvent(new uC("event",null));if(e==="*")return this._normalizeRunningEvent(new ZAe(this.address,this.interface));var t=this.interface.getEvent(e);return this._normalizeRunningEvent(new XAe(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{var a=e.topics[0];if(typeof a!="string")throw new Error("invalid topic");var t=this.interface.getEvent(a);return this._normalizeRunningEvent(new XAe(this.address,this.interface,t,e.topics))}catch{}var r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new uC(nke(r),r))}return this._normalizeRunningEvent(new ZAe(this.address,this.interface))},n.prototype._checkRunningEvents=function(e){if(e.listenerCount()===0){delete this._runningEvents[e.tag];var t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}},n.prototype._wrapEvent=function(e,t,a){var r=this,i=(0,y0.deepCopy)(t);return i.removeListener=function(){a&&(e.removeListener(a),r._checkRunningEvents(e))},i.getBlock=function(){return r.provider.getBlock(t.blockHash)},i.getTransaction=function(){return r.provider.getTransaction(t.transactionHash)},i.getTransactionReceipt=function(){return r.provider.getTransactionReceipt(t.transactionHash)},e.prepareEvent(i),i},n.prototype._addEventListener=function(e,t,a){var r=this;if(this.provider||sr.throwError("events require a provider or a signer with a provider",Uf.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,a),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){var i=function(s){var f=r._wrapEvent(e,s,t);if(f.decodeError==null)try{var o=e.getEmit(f);r.emit.apply(r,Fzt([e.filter],o,!1))}catch(c){f.decodeError=c.error}e.filter!=null&&r.emit("event",f),f.decodeError!=null&&r.emit("error",f.decodeError,f)};this._wrappedEmits[e.tag]=i,e.filter!=null&&this.provider.on(e.filter,i)}},n.prototype.queryFilter=function(e,t,a){var r=this,i=this._getRunningEvent(e),s=(0,y0.shallowCopy)(i.filter);return typeof t=="string"&&(0,Dh.isHexString)(t,32)?(a!=null&&sr.throwArgumentError("cannot specify toBlock with blockhash","toBlock",a),s.blockHash=t):(s.fromBlock=t??0,s.toBlock=a??"latest"),this.provider.getLogs(s).then(function(f){return f.map(function(o){return r._wrapEvent(i,o,null)})})},n.prototype.on=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this},n.prototype.once=function(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this},n.prototype.emit=function(e){for(var t=[],a=1;a0;return this._checkRunningEvents(r),i},n.prototype.listenerCount=function(e){var t=this;return this.provider?e==null?Object.keys(this._runningEvents).reduce(function(a,r){return a+t._runningEvents[r].listenerCount()},0):this._getRunningEvent(e).listenerCount():0},n.prototype.listeners=function(e){if(!this.provider)return[];if(e==null){var t=[];for(var a in this._runningEvents)this._runningEvents[a].listeners().forEach(function(r){t.push(r)});return t}return this._getRunningEvent(e).listeners()},n.prototype.removeAllListeners=function(e){if(!this.provider)return this;if(e==null){for(var t in this._runningEvents){var a=this._runningEvents[t];a.removeAllListeners(),this._checkRunningEvents(a)}return this}var r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this},n.prototype.off=function(e,t){if(!this.provider)return this;var a=this._getRunningEvent(e);return a.removeListener(t),this._checkRunningEvents(a),this},n.prototype.removeListener=function(e,t){return this.off(e,t)},n}();ko.BaseContract=ake;var Lne=function(n){RO(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e}(ake);ko.Contract=Lne;var jzt=function(){function n(e,t,a){var r=this.constructor,i=null;typeof t=="string"?i=t:(0,Dh.isBytes)(t)?i=(0,Dh.hexlify)(t):t&&typeof t.object=="string"?i=t.object:i="!",i.substring(0,2)!=="0x"&&(i="0x"+i),(!(0,Dh.isHexString)(i)||i.length%2)&&sr.throwArgumentError("invalid bytecode","bytecode",t),a&&!Rne.Signer.isSigner(a)&&sr.throwArgumentError("invalid signer","signer",a),(0,y0.defineReadOnly)(this,"bytecode",i),(0,y0.defineReadOnly)(this,"interface",(0,y0.getStatic)(r,"getInterface")(e)),(0,y0.defineReadOnly)(this,"signer",a||null)}return n.prototype.getDeployTransaction=function(){for(var e=[],t=0;t{"use strict";p();u();Object.defineProperty(um,"__esModule",{value:!0});um.Base58=um.Base32=um.BaseX=void 0;var ike=H0(),MO=xa(),Mne=function(){function n(e){(0,MO.defineReadOnly)(this,"alphabet",e),(0,MO.defineReadOnly)(this,"base",e.length),(0,MO.defineReadOnly)(this,"_alphabetMap",{}),(0,MO.defineReadOnly)(this,"_leader",e.charAt(0));for(var t=0;t0;)a.push(i%this.base),i=i/this.base|0}for(var f="",o=0;t[o]===0&&o=0;--c)f+=this.alphabet[a[c]];return f},n.prototype.decode=function(e){if(typeof e!="string")throw new TypeError("Expected String");var t=[];if(e.length===0)return new Uint8Array(t);t.push(0);for(var a=0;a>=8;for(;i>0;)t.push(i&255),i>>=8}for(var f=0;e[f]===this._leader&&f{"use strict";p();u();Object.defineProperty(yC,"__esModule",{value:!0});yC.SupportedAlgorithm=void 0;var Qzt;(function(n){n.sha256="sha256",n.sha512="sha512"})(Qzt=yC.SupportedAlgorithm||(yC.SupportedAlgorithm={}))});var ske=B(NO=>{"use strict";p();u();Object.defineProperty(NO,"__esModule",{value:!0});NO.version=void 0;NO.version="sha2/5.7.0"});var oke=B(y6=>{"use strict";p();u();var Yzt=y6&&y6.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(y6,"__esModule",{value:!0});y6.computeHmac=y6.sha512=y6.sha256=y6.ripemd160=void 0;var mC=Yzt(lh()),bC=H0(),Jzt=Bne(),fke=R0(),Xzt=ske(),Zzt=new fke.Logger(Xzt.version);function eWt(n){return"0x"+mC.default.ripemd160().update((0,bC.arrayify)(n)).digest("hex")}y6.ripemd160=eWt;function tWt(n){return"0x"+mC.default.sha256().update((0,bC.arrayify)(n)).digest("hex")}y6.sha256=tWt;function nWt(n){return"0x"+mC.default.sha512().update((0,bC.arrayify)(n)).digest("hex")}y6.sha512=nWt;function aWt(n,e,t){return Jzt.SupportedAlgorithm[n]||Zzt.throwError("unsupported algorithm "+n,fke.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:n}),"0x"+mC.default.hmac(mC.default[n],(0,bC.arrayify)(e)).update((0,bC.arrayify)(t)).digest("hex")}y6.computeHmac=aWt});var Ch=B(m6=>{"use strict";p();u();Object.defineProperty(m6,"__esModule",{value:!0});m6.SupportedAlgorithm=m6.sha512=m6.sha256=m6.ripemd160=m6.computeHmac=void 0;var FO=oke();Object.defineProperty(m6,"computeHmac",{enumerable:!0,get:function(){return FO.computeHmac}});Object.defineProperty(m6,"ripemd160",{enumerable:!0,get:function(){return FO.ripemd160}});Object.defineProperty(m6,"sha256",{enumerable:!0,get:function(){return FO.sha256}});Object.defineProperty(m6,"sha512",{enumerable:!0,get:function(){return FO.sha512}});var rWt=Bne();Object.defineProperty(m6,"SupportedAlgorithm",{enumerable:!0,get:function(){return rWt.SupportedAlgorithm}})});var dke=B(OO=>{"use strict";p();u();Object.defineProperty(OO,"__esModule",{value:!0});OO.pbkdf2=void 0;var mT=H0(),cke=Ch();function iWt(n,e,t,a,r){n=(0,mT.arrayify)(n),e=(0,mT.arrayify)(e);var i,s=1,f=new Uint8Array(a),o=new Uint8Array(e.length+4);o.set(e);for(var c,d,l=1;l<=s;l++){o[e.length]=l>>24&255,o[e.length+1]=l>>16&255,o[e.length+2]=l>>8&255,o[e.length+3]=l&255;var y=(0,mT.arrayify)((0,cke.computeHmac)(r,n,o));i||(i=y.length,d=new Uint8Array(i),s=Math.ceil(a/i),c=a-(s-1)*i),d.set(y);for(var h=1;h{"use strict";p();u();Object.defineProperty(VO,"__esModule",{value:!0});VO.pbkdf2=void 0;var sWt=dke();Object.defineProperty(VO,"pbkdf2",{enumerable:!0,get:function(){return sWt.pbkdf2}})});var lke=B(UO=>{"use strict";p();u();Object.defineProperty(UO,"__esModule",{value:!0});UO.version=void 0;UO.version="wordlists/5.7.0"});var o5=B(Sh=>{"use strict";p();u();Object.defineProperty(Sh,"__esModule",{value:!0});Sh.Wordlist=Sh.logger=void 0;var fWt=!1,oWt=U8(),pke=xa(),cWt=R0(),dWt=lke();Sh.logger=new cWt.Logger(dWt.version);var lWt=function(){function n(e){var t=this.constructor;Sh.logger.checkAbstract(t,n),(0,pke.defineReadOnly)(this,"locale",e)}return n.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},n.prototype.join=function(e){return e.join(" ")},n.check=function(e){for(var t=[],a=0;a<2048;a++){var r=e.getWord(a);if(a!==e.getWordIndex(r))return"0x";t.push(r)}return(0,oWt.id)(t.join(` `)+` -`)},t.register=function(e,n){if(n||(n=e.locale),_$0)try{var a=window;a._ethers&&a._ethers.wordlists&&(a._ethers.wordlists[n]||(0,QBe.defineReadOnly)(a._ethers.wordlists,n,e))}catch{}},t}();w7.Wordlist=k$0});var $Be=D(vT=>{"use strict";u();p();var S$0=vT&&vT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(vT,"__esModule",{value:!0});vT.langCz=void 0;var Gre=Ou(),R$0="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",Wk=null;function VBe(t){if(Wk==null&&(Wk=R$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Gre.Wordlist.check(t)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw Wk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var M$0=function(t){S$0(e,t);function e(){return t.call(this,"cz")||this}return e.prototype.getWord=function(n){return VBe(this),Wk[n]},e.prototype.getWordIndex=function(n){return VBe(this),Wk.indexOf(n)},e}(Gre.Wordlist),YBe=new M$0;vT.langCz=YBe;Gre.Wordlist.register(YBe)});var ZBe=D(wT=>{"use strict";u();p();var B$0=wT&&wT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(wT,"__esModule",{value:!0});wT.langEn=void 0;var Kre=Ou(),D$0="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",qk=null;function JBe(t){if(qk==null&&(qk=D$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Kre.Wordlist.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw qk=null,new Error("BIP39 Wordlist for en (English) FAILED")}var P$0=function(t){B$0(e,t);function e(){return t.call(this,"en")||this}return e.prototype.getWord=function(n){return JBe(this),qk[n]},e.prototype.getWordIndex=function(n){return JBe(this),qk.indexOf(n)},e}(Kre.Wordlist),XBe=new P$0;wT.langEn=XBe;Kre.Wordlist.register(XBe)});var rDe=D(TT=>{"use strict";u();p();var L$0=TT&&TT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(TT,"__esModule",{value:!0});TT.langEs=void 0;var bH=Ai(),yH=Ou(),F$0="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo",tDe={},jk=null;function nDe(t){return yH.logger.checkNormalize(),(0,bH.toUtf8String)(Array.prototype.filter.call((0,bH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function N$0(t){var e=[];return Array.prototype.forEach.call((0,bH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===126?(e.push(110),e.push(204),e.push(131)):e.push(n)}),(0,bH.toUtf8String)(e)}function eDe(t){if(jk==null&&(jk=F$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return N$0(e)}),jk.forEach(function(e,n){tDe[nDe(e)]=n}),yH.Wordlist.check(t)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw jk=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var O$0=function(t){L$0(e,t);function e(){return t.call(this,"es")||this}return e.prototype.getWord=function(n){return eDe(this),jk[n]},e.prototype.getWordIndex=function(n){return eDe(this),tDe[nDe(n)]},e}(yH.Wordlist),aDe=new O$0;TT.langEs=aDe;yH.Wordlist.register(aDe)});var cDe=D(xT=>{"use strict";u();p();var U$0=xT&&xT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(xT,"__esModule",{value:!0});xT.langFr=void 0;var gH=Ai(),vH=Ou(),H$0="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie",Gk=null,iDe={};function sDe(t){return vH.logger.checkNormalize(),(0,gH.toUtf8String)(Array.prototype.filter.call((0,gH.toUtf8Bytes)(t.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function z$0(t){var e=[];return Array.prototype.forEach.call((0,gH.toUtf8Bytes)(t),function(n){n===47?(e.push(204),e.push(129)):n===45?(e.push(204),e.push(128)):e.push(n)}),(0,gH.toUtf8String)(e)}function fDe(t){if(Gk==null&&(Gk=H$0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return z$0(e)}),Gk.forEach(function(e,n){iDe[sDe(e)]=n}),vH.Wordlist.check(t)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw Gk=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var W$0=function(t){U$0(e,t);function e(){return t.call(this,"fr")||this}return e.prototype.getWord=function(n){return fDe(this),Gk[n]},e.prototype.getWordIndex=function(n){return fDe(this),iDe[sDe(n)]},e}(vH.Wordlist),oDe=new W$0;xT.langFr=oDe;vH.Wordlist.register(oDe)});var pDe=D(ET=>{"use strict";u();p();var q$0=ET&&ET.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(ET,"__esModule",{value:!0});ET.langJa=void 0;var j$0=Vt(),Wd=Ai(),wH=Ou(),G$0=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],K$0="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt",C6=null;function dDe(t){return(0,j$0.hexlify)((0,Wd.toUtf8Bytes)(t))}var Q$0="0xe3818de38284e3818f",V$0="0xe3818de38283e3818f";function lDe(t){if(C6!==null)return;C6=[];var e={};e[(0,Wd.toUtf8String)([227,130,154])]=!1,e[(0,Wd.toUtf8String)([227,130,153])]=!1,e[(0,Wd.toUtf8String)([227,130,133])]=(0,Wd.toUtf8String)([227,130,134]),e[(0,Wd.toUtf8String)([227,129,163])]=(0,Wd.toUtf8String)([227,129,164]),e[(0,Wd.toUtf8String)([227,130,131])]=(0,Wd.toUtf8String)([227,130,132]),e[(0,Wd.toUtf8String)([227,130,135])]=(0,Wd.toUtf8String)([227,130,136]);function n(l){for(var h="",y=0;yh?1:0}for(var r=3;r<=9;r++)for(var f=G$0[r-3],i=0;i{"use strict";u();p();var $$0=_T&&_T.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(_T,"__esModule",{value:!0});_T.langKo=void 0;var J$0=Ai(),Qre=Ou(),X$0=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"],Z$0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function eJ0(t){return t>=40?t=t+168-40:t>=19&&(t=t+97-19),(0,J$0.toUtf8String)([225,(t>>6)+132,(t&63)+128])}var T7=null;function hDe(t){if(T7==null&&(T7=[],X$0.forEach(function(e,n){n+=4;for(var a=0;a{"use strict";u();p();var nJ0=AT&&AT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(AT,"__esModule",{value:!0});AT.langIt=void 0;var Vre=Ou(),aJ0="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",Kk=null;function yDe(t){if(Kk==null&&(Kk=aJ0.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Vre.Wordlist.check(t)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw Kk=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var rJ0=function(t){nJ0(e,t);function e(){return t.call(this,"it")||this}return e.prototype.getWord=function(n){return yDe(this),Kk[n]},e.prototype.getWordIndex=function(n){return yDe(this),Kk.indexOf(n)},e}(Vre.Wordlist),gDe=new rJ0;AT.langIt=gDe;Vre.Wordlist.register(gDe)});var EDe=D(Z3=>{"use strict";u();p();var fJ0=Z3&&Z3.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(Z3,"__esModule",{value:!0});Z3.langZhTw=Z3.langZhCn=void 0;var iJ0=Ai(),Qk=Ou(),Yre="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN?";function wDe(t){if(IT[t.locale]===null){IT[t.locale]=[];for(var e=0,n=0;n<2048;n++){var a=cJ0.indexOf(Yre[n*3]),r=[228+(a>>2),128+$re.indexOf(Yre[n*3+1]),128+$re.indexOf(Yre[n*3+2])];if(t.locale==="zh_tw")for(var f=a%4,i=f;i<3;i++)r[i]=$re.indexOf(sJ0[e++])+(i==0?228:128);IT[t.locale].push((0,iJ0.toUtf8String)(r))}if(Qk.Wordlist.check(t)!==oJ0[t.locale])throw IT[t.locale]=null,new Error("BIP39 Wordlist for "+t.locale+" (Chinese) FAILED")}}var TDe=function(t){fJ0(e,t);function e(n){return t.call(this,"zh_"+n)||this}return e.prototype.getWord=function(n){return wDe(this),IT[this.locale][n]},e.prototype.getWordIndex=function(n){return wDe(this),IT[this.locale].indexOf(n)},e.prototype.split=function(n){return n=n.replace(/(?:\u3000| )+/g,""),n.split("")},e}(Qk.Wordlist),Jre=new TDe("cn");Z3.langZhCn=Jre;Qk.Wordlist.register(Jre);Qk.Wordlist.register(Jre,"zh");var xDe=new TDe("tw");Z3.langZhTw=xDe;Qk.Wordlist.register(xDe)});var _De=D(TH=>{"use strict";u();p();Object.defineProperty(TH,"__esModule",{value:!0});TH.wordlists=void 0;var dJ0=$Be(),lJ0=ZBe(),uJ0=rDe(),pJ0=cDe(),hJ0=pDe(),mJ0=bDe(),bJ0=vDe(),Xre=EDe();TH.wordlists={cz:dJ0.langCz,en:lJ0.langEn,es:uJ0.langEs,fr:pJ0.langFr,it:bJ0.langIt,ja:hJ0.langJa,ko:mJ0.langKo,zh:Xre.langZhCn,zh_cn:Xre.langZhCn,zh_tw:Xre.langZhTw}});var Zre=D(em=>{"use strict";u();p();Object.defineProperty(em,"__esModule",{value:!0});em.wordlists=em.Wordlist=em.logger=void 0;var ADe=Ou();Object.defineProperty(em,"logger",{enumerable:!0,get:function(){return ADe.logger}});Object.defineProperty(em,"Wordlist",{enumerable:!0,get:function(){return ADe.Wordlist}});var yJ0=_De();Object.defineProperty(em,"wordlists",{enumerable:!0,get:function(){return yJ0.wordlists}})});var IDe=D(xH=>{"use strict";u();p();Object.defineProperty(xH,"__esModule",{value:!0});xH.version=void 0;xH.version="hdnode/5.7.0"});var _H=D(Vo=>{"use strict";u();p();Object.defineProperty(Vo,"__esModule",{value:!0});Vo.getAccountPath=Vo.isValidMnemonic=Vo.entropyToMnemonic=Vo.mnemonicToEntropy=Vo.mnemonicToSeed=Vo.HDNode=Vo.defaultPath=void 0;var RDe=cH(),gr=Vt(),MDe=ia(),Vk=Ai(),gJ0=hH(),Qo=Ba(),CDe=Pk(),Uu=v7(),vJ0=Nu(),kDe=Zre(),wJ0=Ft(),TJ0=IDe(),Yk=new wJ0.Logger(TJ0.version),xJ0=MDe.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),EJ0=(0,Vk.toUtf8Bytes)("Bitcoin seed"),kT=2147483648;function BDe(t){return(1<=256)throw new Error("Depth too large!");return SDe((0,gr.concat)([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",(0,gr.hexlify)(this.depth),this.parentFingerprint,(0,gr.hexZeroPad)((0,gr.hexlify)(this.index),4),this.chainCode,this.privateKey!=null?(0,gr.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),t.prototype.neuter=function(){return new t(CT,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},t.prototype._derive=function(e){if(e>4294967295)throw new Error("invalid index - "+String(e));var n=this.path;n&&(n+="/"+(e&~kT));var a=new Uint8Array(37);if(e&kT){if(!this.privateKey)throw new Error("cannot derive child of neutered node");a.set((0,gr.arrayify)(this.privateKey),1),n&&(n+="'")}else a.set((0,gr.arrayify)(this.publicKey));for(var r=24;r>=0;r-=8)a[33+(r>>3)]=e>>24-r&255;var f=(0,gr.arrayify)((0,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,this.chainCode,a)),i=f.slice(0,32),s=f.slice(32),o=null,c=null;if(this.privateKey)o=EH(MDe.BigNumber.from(i).add(this.privateKey).mod(xJ0));else{var d=new CDe.SigningKey((0,gr.hexlify)(i));c=d._addPoint(this.publicKey)}var l=n,h=this.mnemonic;return h&&(l=Object.freeze({phrase:h.phrase,path:n,locale:h.locale||"en"})),new t(CT,o,c,this.fingerprint,EH(s),e,this.depth+1,l)},t.prototype.derivePath=function(e){var n=e.split("/");if(n.length===0||n[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);n[0]==="m"&&n.shift();for(var a=this,r=0;r=kT)throw new Error("invalid path index - "+f);a=a._derive(kT+i)}else if(f.match(/^[0-9]+$/)){var i=parseInt(f);if(i>=kT)throw new Error("invalid path index - "+f);a=a._derive(i)}else throw new Error("invalid path component - "+f)}return a},t._fromSeed=function(e,n){var a=(0,gr.arrayify)(e);if(a.length<16||a.length>64)throw new Error("invalid seed");var r=(0,gr.arrayify)((0,Uu.computeHmac)(Uu.SupportedAlgorithm.sha512,EJ0,a));return new t(CT,EH(r.slice(0,32)),null,"0x00000000",EH(r.slice(32)),0,0,n)},t.fromMnemonic=function(e,n,a){return a=efe(a),e=PDe(tfe(e,a),a),t._fromSeed(DDe(e,n),{phrase:e,path:"m",locale:a.locale})},t.fromSeed=function(e){return t._fromSeed(e,null)},t.fromExtendedKey=function(e){var n=RDe.Base58.decode(e);(n.length!==82||SDe(n.slice(0,78))!==e)&&Yk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var a=n[4],r=(0,gr.hexlify)(n.slice(5,9)),f=parseInt((0,gr.hexlify)(n.slice(9,13)).substring(2),16),i=(0,gr.hexlify)(n.slice(13,45)),s=n.slice(45,78);switch((0,gr.hexlify)(n.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new t(CT,null,(0,gr.hexlify)(s),r,i,f,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new t(CT,(0,gr.hexlify)(s.slice(1)),null,r,i,f,a,null)}return Yk.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},t}();Vo.HDNode=AJ0;function DDe(t,e){e||(e="");var n=(0,Vk.toUtf8Bytes)("mnemonic"+e,Vk.UnicodeNormalizationForm.NFKD);return(0,gJ0.pbkdf2)((0,Vk.toUtf8Bytes)(t,Vk.UnicodeNormalizationForm.NFKD),n,2048,64,"sha512")}Vo.mnemonicToSeed=DDe;function tfe(t,e){e=efe(e),Yk.checkNormalize();var n=e.split(t);if(n.length%3!==0)throw new Error("invalid mnemonic");for(var a=(0,gr.arrayify)(new Uint8Array(Math.ceil(11*n.length/8))),r=0,f=0;f>3]|=1<<7-r%8),r++}var o=32*n.length/3,c=n.length/3,d=BDe(c),l=(0,gr.arrayify)((0,Uu.sha256)(a.slice(0,o/8)))[0]&d;if(l!==(a[a.length-1]&d))throw new Error("invalid checksum");return(0,gr.hexlify)(a.slice(0,o/8))}Vo.mnemonicToEntropy=tfe;function PDe(t,e){if(e=efe(e),t=(0,gr.arrayify)(t),t.length%4!==0||t.length<16||t.length>32)throw new Error("invalid entropy");for(var n=[0],a=11,r=0;r8?(n[n.length-1]<<=8,n[n.length-1]|=t[r],a-=8):(n[n.length-1]<<=a,n[n.length-1]|=t[r]>>8-a,n.push(t[r]&_J0(8-a)),a+=3);var f=t.length/4,i=(0,gr.arrayify)((0,Uu.sha256)(t))[0]&BDe(f);return n[n.length-1]<<=f,n[n.length-1]|=i>>8-f,e.join(n.map(function(s){return e.getWord(s)}))}Vo.entropyToMnemonic=PDe;function IJ0(t,e){try{return tfe(t,e),!0}catch{}return!1}Vo.isValidMnemonic=IJ0;function CJ0(t){return(typeof t!="number"||t<0||t>=kT||t%1)&&Yk.throwArgumentError("invalid account index","index",t),"m/44'/60'/"+t+"'/0/0"}Vo.getAccountPath=CJ0});var LDe=D(AH=>{"use strict";u();p();Object.defineProperty(AH,"__esModule",{value:!0});AH.version=void 0;AH.version="random/5.7.0"});var ODe=D(CH=>{"use strict";u();p();Object.defineProperty(CH,"__esModule",{value:!0});CH.randomBytes=void 0;var kJ0=Vt(),NDe=Ft(),SJ0=LDe(),nfe=new NDe.Logger(SJ0.version);function RJ0(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}var FDe=RJ0(),IH=FDe.crypto||FDe.msCrypto;(!IH||!IH.getRandomValues)&&(nfe.warn("WARNING: Missing strong random number source"),IH={getRandomValues:function(t){return nfe.throwError("no secure random source avaialble",NDe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function MJ0(t){(t<=0||t>1024||t%1||t!=t)&&nfe.throwArgumentError("invalid length","length",t);var e=new Uint8Array(t);return IH.getRandomValues(e),(0,kJ0.arrayify)(e)}CH.randomBytes=MJ0});var UDe=D(kH=>{"use strict";u();p();Object.defineProperty(kH,"__esModule",{value:!0});kH.shuffled=void 0;function BJ0(t){t=t.slice();for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),a=t[e];t[e]=t[n],t[n]=a}return t}kH.shuffled=BJ0});var $k=D(ST=>{"use strict";u();p();Object.defineProperty(ST,"__esModule",{value:!0});ST.shuffled=ST.randomBytes=void 0;var DJ0=ODe();Object.defineProperty(ST,"randomBytes",{enumerable:!0,get:function(){return DJ0.randomBytes}});var PJ0=UDe();Object.defineProperty(ST,"shuffled",{enumerable:!0,get:function(){return PJ0.shuffled}})});var rfe=D((afe,HDe)=>{"use strict";u();p();(function(t){function e(g){return parseInt(g)===g}function n(g){if(!e(g.length))return!1;for(var B=0;B255)return!1;return!0}function a(g,B){if(g.buffer&&ArrayBuffer.isView(g)&&g.name==="Uint8Array")return B&&(g.slice?g=g.slice():g=Array.prototype.slice.call(g)),g;if(Array.isArray(g)){if(!n(g))throw new Error("Array contains invalid value: "+g);return new Uint8Array(g)}if(e(g.length)&&n(g))return new Uint8Array(g);throw new Error("unsupported array-like object")}function r(g){return new Uint8Array(g)}function f(g,B,M,S,q){(S!=null||q!=null)&&(g.slice?g=g.slice(S,q):g=Array.prototype.slice.call(g,S,q)),B.set(g,M)}var i=function(){function g(M){var S=[],q=0;for(M=encodeURI(M);q191&&ee<224?(S.push(String.fromCharCode((ee&31)<<6|M[q+1]&63)),q+=2):(S.push(String.fromCharCode((ee&15)<<12|(M[q+1]&63)<<6|M[q+2]&63)),q+=3)}return S.join("")}return{toBytes:g,fromBytes:B}}(),s=function(){function g(S){for(var q=[],ee=0;ee>4]+B[U&15])}return q.join("")}return{toBytes:g,fromBytes:M}}(),o={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],l=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],y=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],v=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],k=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],O=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],F=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],z=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],W=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],j=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Q=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],V=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],X=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function K(g){for(var B=[],M=0;M>2,this._Ke[ee][B%4]=q[B],this._Kd[g-ee][B%4]=q[B];for(var U=0,J=S,Z;J>16&255]<<24^d[Z>>8&255]<<16^d[Z&255]<<8^d[Z>>24&255]^c[U]<<24,U+=1,S!=8)for(var B=1;B>8&255]<<8^d[Z>>16&255]<<16^d[Z>>24&255]<<24;for(var B=S/2+1;B>2,ue=J%4,this._Ke[ne][ue]=q[B],this._Kd[g-ne][ue]=q[B++],J++}for(var ne=1;ne>24&255]^Q[Z>>16&255]^V[Z>>8&255]^X[Z&255]},G.prototype.encrypt=function(g){if(g.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var B=this._Ke.length-1,M=[0,0,0,0],S=K(g),q=0;q<4;q++)S[q]^=this._Ke[0][q];for(var ee=1;ee>24&255]^y[S[(q+1)%4]>>16&255]^v[S[(q+2)%4]>>8&255]^k[S[(q+3)%4]&255]^this._Ke[ee][q];S=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Ke[B][q],U[4*q]=(d[S[q]>>24&255]^J>>24)&255,U[4*q+1]=(d[S[(q+1)%4]>>16&255]^J>>16)&255,U[4*q+2]=(d[S[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(d[S[(q+3)%4]&255]^J)&255;return U},G.prototype.decrypt=function(g){if(g.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var B=this._Kd.length-1,M=[0,0,0,0],S=K(g),q=0;q<4;q++)S[q]^=this._Kd[0][q];for(var ee=1;ee>24&255]^F[S[(q+3)%4]>>16&255]^z[S[(q+2)%4]>>8&255]^W[S[(q+1)%4]&255]^this._Kd[ee][q];S=M.slice()}for(var U=r(16),J,q=0;q<4;q++)J=this._Kd[B][q],U[4*q]=(l[S[q]>>24&255]^J>>24)&255,U[4*q+1]=(l[S[(q+3)%4]>>16&255]^J>>16)&255,U[4*q+2]=(l[S[(q+2)%4]>>8&255]^J>>8)&255,U[4*q+3]=(l[S[(q+1)%4]&255]^J)&255;return U};var R=function(g){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new G(g)};R.prototype.encrypt=function(g){if(g=a(g),g.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var B=r(g.length),M=r(16),S=0;S=0;--B)this._counter[B]=g%256,g=g>>8},b.prototype.setBytes=function(g){if(g=a(g,!0),g.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=g},b.prototype.increment=function(){for(var g=15;g>=0;g--)if(this._counter[g]===255)this._counter[g]=0;else{this._counter[g]++;break}};var A=function(g,B){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",B instanceof b||(B=new b(B)),this._counter=B,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new G(g)};A.prototype.encrypt=function(g){for(var B=a(g,!0),M=0;M16)throw new Error("PKCS#7 padding byte out of range");for(var M=g.length-B,S=0;S{"use strict";u();p();Object.defineProperty(SH,"__esModule",{value:!0});SH.version=void 0;SH.version="json-wallets/5.7.0"});var ife=D(qd=>{"use strict";u();p();Object.defineProperty(qd,"__esModule",{value:!0});qd.uuidV4=qd.searchPath=qd.getPassword=qd.zpad=qd.looseArrayify=void 0;var RH=Vt(),zDe=Ai();function LJ0(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),(0,RH.arrayify)(t)}qd.looseArrayify=LJ0;function FJ0(t,e){for(t=String(t);t.length{"use strict";u();p();var HJ0=Hu&&Hu.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),zJ0=Hu&&Hu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.decrypt=Hu.CrowdsaleAccount=void 0;var WDe=zJ0(rfe()),WJ0=Po(),qDe=Vt(),qJ0=H1(),jJ0=hH(),GJ0=Ai(),KJ0=Ba(),QJ0=Ft(),VJ0=ffe(),YJ0=new QJ0.Logger(VJ0.version),MH=ife(),jDe=function(t){HJ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(n){return!!(n&&n._isCrowdsaleAccount)},e}(KJ0.Description);Hu.CrowdsaleAccount=jDe;function $J0(t,e){var n=JSON.parse(t);e=(0,MH.getPassword)(e);var a=(0,WJ0.getAddress)((0,MH.searchPath)(n,"ethaddr")),r=(0,MH.looseArrayify)((0,MH.searchPath)(n,"encseed"));(!r||r.length%16!==0)&&YJ0.throwArgumentError("invalid encseed","json",t);for(var f=(0,qDe.arrayify)((0,jJ0.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),s=r.slice(16),o=new WDe.default.ModeOfOperation.cbc(f,i),c=WDe.default.padding.pkcs7.strip((0,qDe.arrayify)(o.decrypt(s))),d="",l=0;l{"use strict";u();p();Object.defineProperty(tm,"__esModule",{value:!0});tm.getJsonWalletAddress=tm.isKeystoreWallet=tm.isCrowdsaleWallet=void 0;var KDe=Po();function QDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}tm.isCrowdsaleWallet=QDe;function VDe(t){var e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}tm.isKeystoreWallet=VDe;function JJ0(t){if(QDe(t))try{return(0,KDe.getAddress)(JSON.parse(t).ethaddr)}catch{return null}if(VDe(t))try{return(0,KDe.getAddress)(JSON.parse(t).address)}catch{return null}return null}tm.getJsonWalletAddress=JJ0});var JDe=D((sfe,$De)=>{"use strict";u();p();(function(t){function n(y){let v=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),k=1779033703,O=3144134277,F=1013904242,z=2773480762,W=1359893119,j=2600822924,Q=528734635,V=1541459225,X=new Uint32Array(64);function K(A){let P=0,L=A.length;for(;L>=64;){let E=k,g=O,B=F,M=z,S=W,q=j,ee=Q,U=V,J,Z,ne,ue,Y;for(Z=0;Z<16;Z++)ne=P+Z*4,X[Z]=(A[ne]&255)<<24|(A[ne+1]&255)<<16|(A[ne+2]&255)<<8|A[ne+3]&255;for(Z=16;Z<64;Z++)J=X[Z-2],ue=(J>>>17|J<<15)^(J>>>19|J<<13)^J>>>10,J=X[Z-15],Y=(J>>>7|J<<25)^(J>>>18|J<<14)^J>>>3,X[Z]=(ue+X[Z-7]|0)+(Y+X[Z-16]|0)|0;for(Z=0;Z<64;Z++)ue=(((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&q^~S&ee)|0)+(U+(v[Z]+X[Z]|0)|0)|0,Y=((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+(E&g^E&B^g&B)|0,U=ee,ee=q,q=S,S=M+ue|0,M=B,B=g,g=E,E=ue+Y|0;k=k+E|0,O=O+g|0,F=F+B|0,z=z+M|0,W=W+S|0,j=j+q|0,Q=Q+ee|0,V=V+U|0,P+=64,L-=64}}K(y);let G,R=y.length%64,T=y.length/536870912|0,N=y.length<<3,w=R<56?56:120,b=y.slice(y.length-R,y.length);for(b.push(128),G=R+1;G>>24&255),b.push(T>>>16&255),b.push(T>>>8&255),b.push(T>>>0&255),b.push(N>>>24&255),b.push(N>>>16&255),b.push(N>>>8&255),b.push(N>>>0&255),K(b),[k>>>24&255,k>>>16&255,k>>>8&255,k>>>0&255,O>>>24&255,O>>>16&255,O>>>8&255,O>>>0&255,F>>>24&255,F>>>16&255,F>>>8&255,F>>>0&255,z>>>24&255,z>>>16&255,z>>>8&255,z>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q>>>0&255,V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255]}function a(y,v,k){y=y.length<=64?y:n(y);let O=64+v.length+4,F=new Array(O),z=new Array(64),W,j=[];for(W=0;W<64;W++)F[W]=54;for(W=0;W=O-4;V--){if(F[V]++,F[V]<=255)return;F[V]=0}}for(;k>=32;)Q(),j=j.concat(n(z.concat(n(F)))),k-=32;return k>0&&(Q(),j=j.concat(n(z.concat(n(F))).slice(0,k))),j}function r(y,v,k,O,F){let z;for(o(y,(2*k-1)*16,F,0,16),z=0;z<2*k;z++)s(y,z*16,F,16),i(F,O),o(F,0,y,v+z*16,16);for(z=0;z>>32-v}function i(y,v){o(y,0,v,0,16);for(let k=8;k>0;k-=2)v[4]^=f(v[0]+v[12],7),v[8]^=f(v[4]+v[0],9),v[12]^=f(v[8]+v[4],13),v[0]^=f(v[12]+v[8],18),v[9]^=f(v[5]+v[1],7),v[13]^=f(v[9]+v[5],9),v[1]^=f(v[13]+v[9],13),v[5]^=f(v[1]+v[13],18),v[14]^=f(v[10]+v[6],7),v[2]^=f(v[14]+v[10],9),v[6]^=f(v[2]+v[14],13),v[10]^=f(v[6]+v[2],18),v[3]^=f(v[15]+v[11],7),v[7]^=f(v[3]+v[15],9),v[11]^=f(v[7]+v[3],13),v[15]^=f(v[11]+v[7],18),v[1]^=f(v[0]+v[3],7),v[2]^=f(v[1]+v[0],9),v[3]^=f(v[2]+v[1],13),v[0]^=f(v[3]+v[2],18),v[6]^=f(v[5]+v[4],7),v[7]^=f(v[6]+v[5],9),v[4]^=f(v[7]+v[6],13),v[5]^=f(v[4]+v[7],18),v[11]^=f(v[10]+v[9],7),v[8]^=f(v[11]+v[10],9),v[9]^=f(v[8]+v[11],13),v[10]^=f(v[9]+v[8],18),v[12]^=f(v[15]+v[14],7),v[13]^=f(v[12]+v[15],9),v[14]^=f(v[13]+v[12],13),v[15]^=f(v[14]+v[13],18);for(let k=0;k<16;++k)y[k]+=v[k]}function s(y,v,k,O){for(let F=0;F=256)return!1}return!0}function d(y,v){if(typeof y!="number"||y%1)throw new Error("invalid "+v);return y}function l(y,v,k,O,F,z,W){if(k=d(k,"N"),O=d(O,"r"),F=d(F,"p"),z=d(z,"dkLen"),k===0||k&k-1)throw new Error("N must be power of 2");if(k>2147483647/128/O)throw new Error("N too large");if(O>2147483647/128/F)throw new Error("r too large");if(!c(y))throw new Error("password must be an array or buffer");if(y=Array.prototype.slice.call(y),!c(v))throw new Error("salt must be an array or buffer");v=Array.prototype.slice.call(v);let j=a(y,v,F*128*O),Q=new Uint32Array(F*32*O);for(let S=0;Sg&&(S=g);for(let ee=0;eeg&&(S=g);for(let ee=0;ee>0&255),j.push(Q[ee]>>8&255),j.push(Q[ee]>>16&255),j.push(Q[ee]>>24&255);let q=a(y,j,z);return W&&W(null,1,q),q}W&&B(M)};if(!W)for(;;){let S=M();if(S!=null)return S}M()}let h={scrypt:function(y,v,k,O,F,z,W){return new Promise(function(j,Q){let V=0;W&&W(0),l(y,v,k,O,F,z,function(X,K,G){if(X)Q(X);else if(G)W&&V!==1&&W(1),j(new Uint8Array(G));else if(W&&K!==V)return V=K,W(K)})})},syncScrypt:function(y,v,k,O,F,z){return new Uint8Array(l(y,v,k,O,F,z))}};typeof sfe<"u"?$De.exports=h:typeof define=="function"&&define.amd?define(h):t&&(t.scrypt&&(t._scrypt=t.scrypt),t.scrypt=h)})(sfe)});var sPe=D(_s=>{"use strict";u();p();var XJ0=_s&&_s.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),ZJ0=_s&&_s.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},eX0=_s&&_s.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(Ri,"__esModule",{value:!0});Ri.decryptJsonWalletSync=Ri.decryptJsonWallet=Ri.getJsonWalletAddress=Ri.isKeystoreWallet=Ri.isCrowdsaleWallet=Ri.encryptKeystore=Ri.decryptKeystoreSync=Ri.decryptKeystore=Ri.decryptCrowdsale=void 0;var lfe=GDe();Object.defineProperty(Ri,"decryptCrowdsale",{enumerable:!0,get:function(){return lfe.decrypt}});var E7=YDe();Object.defineProperty(Ri,"getJsonWalletAddress",{enumerable:!0,get:function(){return E7.getJsonWalletAddress}});Object.defineProperty(Ri,"isCrowdsaleWallet",{enumerable:!0,get:function(){return E7.isCrowdsaleWallet}});Object.defineProperty(Ri,"isKeystoreWallet",{enumerable:!0,get:function(){return E7.isKeystoreWallet}});var Jk=sPe();Object.defineProperty(Ri,"decryptKeystore",{enumerable:!0,get:function(){return Jk.decrypt}});Object.defineProperty(Ri,"decryptKeystoreSync",{enumerable:!0,get:function(){return Jk.decryptSync}});Object.defineProperty(Ri,"encryptKeystore",{enumerable:!0,get:function(){return Jk.encrypt}});function cX0(t,e,n){if((0,E7.isCrowdsaleWallet)(t)){n&&n(0);var a=(0,lfe.decrypt)(t,e);return n&&n(1),Promise.resolve(a)}return(0,E7.isKeystoreWallet)(t)?(0,Jk.decrypt)(t,e,n):Promise.reject(new Error("invalid JSON wallet"))}Ri.decryptJsonWallet=cX0;function dX0(t,e){if((0,E7.isCrowdsaleWallet)(t))return(0,lfe.decrypt)(t,e);if((0,E7.isKeystoreWallet)(t))return(0,Jk.decryptSync)(t,e);throw new Error("invalid JSON wallet")}Ri.decryptJsonWalletSync=dX0});var oPe=D(DH=>{"use strict";u();p();Object.defineProperty(DH,"__esModule",{value:!0});DH.version=void 0;DH.version="wallet/5.7.0"});var mfe=D(Nc=>{"use strict";u();p();var lX0=Nc&&Nc.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),cPe=Nc&&Nc.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},dPe=Nc&&Nc.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();Object.defineProperty(PH,"__esModule",{value:!0});PH.version=void 0;PH.version="networks/5.7.1"});var bfe=D(NH=>{"use strict";u();p();Object.defineProperty(NH,"__esModule",{value:!0});NH.getNetwork=void 0;var TX0=Ft(),xX0=hPe(),mPe=new TX0.Logger(xX0.version);function EX0(t){return t&&typeof t.renetwork=="function"}function A8(t){var e=function(n,a){a==null&&(a={});var r=[];if(n.InfuraProvider&&a.infura!=="-")try{r.push(new n.InfuraProvider(t,a.infura))}catch{}if(n.EtherscanProvider&&a.etherscan!=="-")try{r.push(new n.EtherscanProvider(t,a.etherscan))}catch{}if(n.AlchemyProvider&&a.alchemy!=="-")try{r.push(new n.AlchemyProvider(t,a.alchemy))}catch{}if(n.PocketProvider&&a.pocket!=="-"){var f=["goerli","ropsten","rinkeby","sepolia"];try{var i=new n.PocketProvider(t,a.pocket);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}}if(n.CloudflareProvider&&a.cloudflare!=="-")try{r.push(new n.CloudflareProvider(t))}catch{}if(n.AnkrProvider&&a.ankr!=="-")try{var f=["ropsten"],i=new n.AnkrProvider(t,a.ankr);i.network&&f.indexOf(i.network.name)===-1&&r.push(i)}catch{}if(r.length===0)return null;if(n.FallbackProvider){var s=1;return a.quorum!=null?s=a.quorum:t==="homestead"&&(s=2),new n.FallbackProvider(r,s)}return r[0]};return e.renetwork=function(n){return A8(n)},e}function FH(t,e){var n=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return n.renetwork=function(a){return FH(t,a)},n}var bPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:A8("homestead")},yPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:A8("ropsten")},gPe={chainId:63,name:"classicMordor",_defaultProvider:FH("https://www.ethercluster.com/mordor","classicMordor")},LH={unspecified:{chainId:0,name:"unspecified"},homestead:bPe,mainnet:bPe,morden:{chainId:2,name:"morden"},ropsten:yPe,testnet:yPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:A8("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:A8("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:A8("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:A8("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:FH("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:gPe,classicTestnet:gPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:FH("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:A8("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:A8("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function _X0(t){if(t==null)return null;if(typeof t=="number"){for(var e in LH){var n=LH[e];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if(typeof t=="string"){var a=LH[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=LH[t.name];if(!r)return typeof t.chainId!="number"&&mPe.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==r.chainId&&mPe.throwArgumentError("network chainId mismatch","network",t);var f=t._defaultProvider||null;return f==null&&r._defaultProvider&&(EX0(r._defaultProvider)?f=r._defaultProvider.renetwork(t):f=r._defaultProvider),{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:f}}NH.getNetwork=_X0});var vPe=D(OH=>{"use strict";u();p();Object.defineProperty(OH,"__esModule",{value:!0});OH.version=void 0;OH.version="web/5.7.1"});var wPe=D(am=>{"use strict";u();p();var AX0=am&&am.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},IX0=am&&am.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var SX0=jd&&jd.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},RX0=jd&&jd.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&a%1===0,"invalid connection throttle limit","connection.throttleLimit",a);var r=typeof t=="object"?t.throttleCallback:null,f=typeof t=="object"&&typeof t.throttleSlotInterval=="number"?t.throttleSlotInterval:100;yl.assertArgument(f>0&&f%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",f);var i=typeof t=="object"?!!t.errorPassThrough:!1,s={},o=null,c={method:"GET"},d=!1,l=2*60*1e3;if(typeof t=="string")o=t;else if(typeof t=="object"){if((t==null||t.url==null)&&yl.throwArgumentError("missing URL","connection.url",t),o=t.url,typeof t.timeout=="number"&&t.timeout>0&&(l=t.timeout),t.headers)for(var h in t.headers)s[h.toLowerCase()]={key:h,value:String(t.headers[h])},["if-none-match","if-modified-since"].indexOf(h.toLowerCase())>=0&&(d=!0);if(c.allowGzip=!!t.allowGzip,t.user!=null&&t.password!=null){o.substring(0,6)!=="https:"&&t.allowInsecureAuthentication!==!0&&yl.throwError("basic authentication requires a secure https url",I8.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:o,user:t.user,password:"[REDACTED]"});var y=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+(0,TPe.encode)((0,eS.toUtf8Bytes)(y))}}t.skipFetchSetup!=null&&(c.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(c.fetchOptions=(0,UH.shallowCopy)(t.fetchOptions))}var v=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),k=o?o.match(v):null;if(k)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":k[1]||"text/plain"},body:k[2]?(0,TPe.decode)(k[3]):DX0(k[3])},F=O.body;return n&&(F=n(O.body,O)),Promise.resolve(F)}catch(Q){yl.throwError("processing response error",I8.Logger.errors.SERVER_ERROR,{body:rm(k[1],k[2]),error:Q,requestBody:null,requestMethod:"GET",url:o})}e&&(c.method="POST",c.body=e,s["content-type"]==null&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),s["content-length"]==null&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));var z={};Object.keys(s).forEach(function(Q){var V=s[Q];z[V.key]=V.value}),c.headers=z;var W=function(){var Q=null,V=new Promise(function(K,G){l&&(Q=setTimeout(function(){Q!=null&&(Q=null,G(yl.makeError("timeout",I8.Logger.errors.TIMEOUT,{requestBody:rm(c.body,z["content-type"]),requestMethod:c.method,timeout:l,url:o})))},l))}),X=function(){Q!=null&&(clearTimeout(Q),Q=null)};return{promise:V,cancel:X}}(),j=function(){return SX0(this,void 0,void 0,function(){var Q,V,X,b,K,G,R,T,N,w,b,A;return RX0(this,function(P){switch(P.label){case 0:Q=0,P.label=1;case 1:if(!(Q=300)&&(W.cancel(),yl.throwError("bad response",I8.Logger.errors.SERVER_ERROR,{status:V.statusCode,headers:V.headers,body:rm(T,V.headers?V.headers["content-type"]:null),requestBody:rm(c.body,z["content-type"]),requestMethod:c.method,url:o})),!n)return[3,18];P.label=11;case 11:return P.trys.push([11,13,,18]),[4,n(T,V)];case 12:return N=P.sent(),W.cancel(),[2,N];case 13:return w=P.sent(),w.throttleRetry&&Qs){i()&&a(new Error("retry limit reached"));return}var l=e.interval*parseInt(String(Math.random()*Math.pow(2,o)));le.ceiling&&(l=e.ceiling),setTimeout(c,l)}return null},function(d){i()&&a(d)})}c()})}jd.poll=LX0});var kPe=D((zZn,CPe)=>{"use strict";u();p();var zH="qpzry9x8gf2tvdw0s3jn54khce6mua7l",yfe={};for(tS=0;tS>25;return(t&33554431)<<5^-(e>>0&1)&996825010^-(e>>1&1)&642813549^-(e>>2&1)&513874426^-(e>>3&1)&1027748829^-(e>>4&1)&705979059}function APe(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=BT(e)^a>>5}for(e=BT(e),n=0;nn)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=APe(t);if(typeof a=="string")throw new Error(a);for(var r=t+"1",f=0;f>5)throw new Error("Non 5-bit word");a=BT(a)^i,r+=zH.charAt(i)}for(f=0;f<6;++f)a=BT(a);for(a^=1,f=0;f<6;++f){var s=a>>(5-f)*5&31;r+=zH.charAt(s)}return r}function IPe(t,e){if(e=e||90,t.length<8)return t+" too short";if(t.length>e)return"Exceeds length limit";var n=t.toLowerCase(),a=t.toUpperCase();if(t!==n&&t!==a)return"Mixed-case string "+t;t=n;var r=t.lastIndexOf("1");if(r===-1)return"No separator character for "+t;if(r===0)return"Missing prefix for "+t;var f=t.slice(0,r),i=t.slice(r+1);if(i.length<6)return"Data too short";var s=APe(f);if(typeof s=="string")return s;for(var o=[],c=0;c=i.length)&&o.push(l)}return s!==1?"Invalid checksum for "+t:{prefix:f,words:o}}function NX0(){var t=IPe.apply(null,arguments);if(typeof t=="object")return t}function OX0(t){var e=IPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function WH(t,e,n,a){for(var r=0,f=0,i=(1<=n;)f-=n,s.push(r>>f&i);if(a)f>0&&s.push(r<=e)return"Excess padding";if(r<{"use strict";u();p();Object.defineProperty(qH,"__esModule",{value:!0});qH.version=void 0;qH.version="providers/5.7.2"});var fm=D(qu=>{"use strict";u();p();Object.defineProperty(qu,"__esModule",{value:!0});qu.showThrottleMessage=qu.isCommunityResource=qu.isCommunityResourcable=qu.Formatter=void 0;var gfe=Po(),k8=ia(),Wu=Vt(),qX0=_3(),jX0=Ba(),SPe=Nu(),GX0=Ft(),KX0=ro(),nS=new GX0.Logger(KX0.version),QX0=function(){function t(){this.formats=this.getDefaultFormats()}return t.prototype.getDefaultFormats=function(){var e=this,n={},a=this.address.bind(this),r=this.bigNumber.bind(this),f=this.blockTag.bind(this),i=this.data.bind(this),s=this.hash.bind(this),o=this.hex.bind(this),c=this.number.bind(this),d=this.type.bind(this),l=function(h){return e.data(h,!0)};return n.transaction={hash:s,type:d,accessList:t.allowNull(this.accessList.bind(this),null),blockHash:t.allowNull(s,null),blockNumber:t.allowNull(c,null),transactionIndex:t.allowNull(c,null),confirmations:t.allowNull(c,null),from:a,gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),gasLimit:r,to:t.allowNull(a,null),value:r,nonce:c,data:i,r:t.allowNull(this.uint256),s:t.allowNull(this.uint256),v:t.allowNull(c),creates:t.allowNull(a,null),raw:t.allowNull(i)},n.transactionRequest={from:t.allowNull(a),nonce:t.allowNull(c),gasLimit:t.allowNull(r),gasPrice:t.allowNull(r),maxPriorityFeePerGas:t.allowNull(r),maxFeePerGas:t.allowNull(r),to:t.allowNull(a),value:t.allowNull(r),data:t.allowNull(l),type:t.allowNull(c),accessList:t.allowNull(this.accessList.bind(this),null)},n.receiptLog={transactionIndex:c,blockNumber:c,transactionHash:s,address:a,topics:t.arrayOf(s),data:i,logIndex:c,blockHash:s},n.receipt={to:t.allowNull(this.address,null),from:t.allowNull(this.address,null),contractAddress:t.allowNull(a,null),transactionIndex:c,root:t.allowNull(o),gasUsed:r,logsBloom:t.allowNull(i),blockHash:s,transactionHash:s,logs:t.arrayOf(this.receiptLog.bind(this)),blockNumber:c,confirmations:t.allowNull(c,null),cumulativeGasUsed:r,effectiveGasPrice:t.allowNull(r),status:t.allowNull(c),type:d},n.block={hash:t.allowNull(s),parentHash:s,number:c,timestamp:c,nonce:t.allowNull(o),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:t.allowNull(a),extraData:i,transactions:t.allowNull(t.arrayOf(s)),baseFeePerGas:t.allowNull(r)},n.blockWithTransactions=(0,jX0.shallowCopy)(n.block),n.blockWithTransactions.transactions=t.allowNull(t.arrayOf(this.transactionResponse.bind(this))),n.filter={fromBlock:t.allowNull(f,void 0),toBlock:t.allowNull(f,void 0),blockHash:t.allowNull(s,void 0),address:t.allowNull(a,void 0),topics:t.allowNull(this.topics.bind(this),void 0)},n.filterLog={blockNumber:t.allowNull(c),blockHash:t.allowNull(s),transactionIndex:c,removed:t.allowNull(this.boolean.bind(this)),address:a,data:t.allowFalsish(i,"0x"),topics:t.arrayOf(s),transactionHash:s,logIndex:c},n},t.prototype.accessList=function(e){return(0,SPe.accessListify)(e||[])},t.prototype.number=function(e){return e==="0x"?0:k8.BigNumber.from(e).toNumber()},t.prototype.type=function(e){return e==="0x"||e==null?0:k8.BigNumber.from(e).toNumber()},t.prototype.bigNumber=function(e){return k8.BigNumber.from(e)},t.prototype.boolean=function(e){if(typeof e=="boolean")return e;if(typeof e=="string"){if(e=e.toLowerCase(),e==="true")return!0;if(e==="false")return!1}throw new Error("invalid boolean - "+e)},t.prototype.hex=function(e,n){return typeof e=="string"&&(!n&&e.substring(0,2)!=="0x"&&(e="0x"+e),(0,Wu.isHexString)(e))?e.toLowerCase():nS.throwArgumentError("invalid hash","value",e)},t.prototype.data=function(e,n){var a=this.hex(e,n);if(a.length%2!==0)throw new Error("invalid data; odd-length - "+e);return a},t.prototype.address=function(e){return(0,gfe.getAddress)(e)},t.prototype.callAddress=function(e){if(!(0,Wu.isHexString)(e,32))return null;var n=(0,gfe.getAddress)((0,Wu.hexDataSlice)(e,12));return n===qX0.AddressZero?null:n},t.prototype.contractAddress=function(e){return(0,gfe.getContractAddress)(e)},t.prototype.blockTag=function(e){if(e==null)return"latest";if(e==="earliest")return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if(typeof e=="number"||(0,Wu.isHexString)(e))return(0,Wu.hexValue)(e);throw new Error("invalid blockTag")},t.prototype.hash=function(e,n){var a=this.hex(e,n);return(0,Wu.hexDataLength)(a)!==32?nS.throwArgumentError("invalid hash","value",e):a},t.prototype.difficulty=function(e){if(e==null)return null;var n=k8.BigNumber.from(e);try{return n.toNumber()}catch{}return null},t.prototype.uint256=function(e){if(!(0,Wu.isHexString)(e))throw new Error("invalid uint256");return(0,Wu.hexZeroPad)(e,32)},t.prototype._block=function(e,n){e.author!=null&&e.miner==null&&(e.miner=e.author);var a=e._difficulty!=null?e._difficulty:e.difficulty,r=t.check(n,e);return r._difficulty=a==null?null:k8.BigNumber.from(a),r},t.prototype.block=function(e){return this._block(e,this.formats.block)},t.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},t.prototype.transactionRequest=function(e){return t.check(this.formats.transactionRequest,e)},t.prototype.transactionResponse=function(e){e.gas!=null&&e.gasLimit==null&&(e.gasLimit=e.gas),e.to&&k8.BigNumber.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),e.input!=null&&e.data==null&&(e.data=e.input),e.to==null&&e.creates==null&&(e.creates=this.contractAddress(e)),(e.type===1||e.type===2)&&e.accessList==null&&(e.accessList=[]);var n=t.check(this.formats.transaction,e);if(e.chainId!=null){var a=e.chainId;(0,Wu.isHexString)(a)&&(a=k8.BigNumber.from(a).toNumber()),n.chainId=a}else{var a=e.networkId;a==null&&n.v==null&&(a=e.chainId),(0,Wu.isHexString)(a)&&(a=k8.BigNumber.from(a).toNumber()),typeof a!="number"&&n.v!=null&&(a=(n.v-35)/2,a<0&&(a=0),a=parseInt(a)),typeof a!="number"&&(a=0),n.chainId=a}return n.blockHash&&n.blockHash.replace(/0/g,"")==="x"&&(n.blockHash=null),n},t.prototype.transaction=function(e){return(0,SPe.parse)(e)},t.prototype.receiptLog=function(e){return t.check(this.formats.receiptLog,e)},t.prototype.receipt=function(e){var n=t.check(this.formats.receipt,e);if(n.root!=null)if(n.root.length<=4){var a=k8.BigNumber.from(n.root).toNumber();a===0||a===1?(n.status!=null&&n.status!==a&&nS.throwArgumentError("alt-root-status/status mismatch","value",{root:n.root,status:n.status}),n.status=a,delete n.root):nS.throwArgumentError("invalid alt-root-status","value.root",n.root)}else n.root.length!==66&&nS.throwArgumentError("invalid root hash","value.root",n.root);return n.status!=null&&(n.byzantium=!0),n},t.prototype.topics=function(e){var n=this;return Array.isArray(e)?e.map(function(a){return n.topics(a)}):e!=null?this.hash(e,!0):null},t.prototype.filter=function(e){return t.check(this.formats.filter,e)},t.prototype.filterLog=function(e){return t.check(this.formats.filterLog,e)},t.check=function(e,n){var a={};for(var r in e)try{var f=e[r](n[r]);f!==void 0&&(a[r]=f)}catch(i){throw i.checkKey=r,i.checkValue=n[r],i}return a},t.allowNull=function(e,n){return function(a){return a==null?n:e(a)}},t.allowFalsish=function(e,n){return function(a){return a?e(a):n}},t.arrayOf=function(e){return function(n){if(!Array.isArray(n))throw new Error("not an array");var a=[];return n.forEach(function(r){a.push(e(r))}),a}},t}();qu.Formatter=QX0;function MPe(t){return t&&typeof t.isCommunityResource=="function"}qu.isCommunityResourcable=MPe;function VX0(t){return MPe(t)&&t.isCommunityResource()}qu.isCommunityResource=VX0;var RPe=!1;function YX0(){RPe||(RPe=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}qu.showThrottleMessage=YX0});var iS=D($o=>{"use strict";u();p();var $X0=$o&&$o.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Yt=$o&&$o.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},$t=$o&&$o.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]0&&t[t.length-1]==null;)t.pop();return t.map(function(e){if(Array.isArray(e)){var n={};e.forEach(function(r){n[LPe(r)]=!0});var a=Object.keys(n);return a.sort(),a.join("|")}else return LPe(e)}).join("&")}function aZ0(t){return t===""?[]:t.split(/&/g).map(function(e){if(e==="")return[];var n=e.split("|").map(function(a){return a==="null"?null:a});return n.length===1?n[0]:n})}function DT(t){if(typeof t=="string"){if(t=t.toLowerCase(),(0,jt.hexDataLength)(t)===32)return"tx:"+t;if(t.indexOf(":")===-1)return t}else{if(Array.isArray(t))return"filter:*:"+FPe(t);if(zPe.ForkEvent.isForkEvent(t))throw Hn.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+FPe(t.topics||[])}throw new Error("invalid event - "+t)}function aS(){return new Date().getTime()}function NPe(t){return new Promise(function(e){setTimeout(e,t)})}var rZ0=["block","network","pending","poll"],WPe=function(){function t(e,n,a){(0,mi.defineReadOnly)(this,"tag",e),(0,mi.defineReadOnly)(this,"listener",n),(0,mi.defineReadOnly)(this,"once",a),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(t.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){var e=this.tag.split(":");return e[0]!=="tx"?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filter",{get:function(){var e=this.tag.split(":");if(e[0]!=="filter")return null;var n=e[1],a=aZ0(e[2]),r={};return a.length>0&&(r.topics=a),n&&n!=="*"&&(r.address=n),r},enumerable:!1,configurable:!0}),t.prototype.pollable=function(){return this.tag.indexOf(":")>=0||rZ0.indexOf(this.tag)>=0},t}();$o.Event=WPe;var fZ0={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function vfe(t){return(0,jt.hexZeroPad)(Yo.BigNumber.from(t).toHexString(),32)}function OPe(t){return xfe.Base58.encode((0,jt.concat)([t,(0,jt.hexDataSlice)((0,BPe.sha256)((0,BPe.sha256)(t)),0,4)]))}var qPe=new RegExp("^(ipfs)://(.*)$","i"),UPe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),qPe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function jH(t,e){try{return(0,Efe.toUtf8String)(fS(t,e))}catch{}return null}function fS(t,e){if(t==="0x")return null;var n=Yo.BigNumber.from((0,jt.hexDataSlice)(t,e,e+32)).toNumber(),a=Yo.BigNumber.from((0,jt.hexDataSlice)(t,n,n+32)).toNumber();return(0,jt.hexDataSlice)(t,n+32,n+32+a)}function wfe(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Hn.throwArgumentError("unsupported IPFS format","link",t),"https://gateway.ipfs.io/ipfs/"+t}function HPe(t){var e=(0,jt.arrayify)(t);if(e.length>32)throw new Error("internal; should not happen");var n=new Uint8Array(32);return n.set(e,32-e.length),n}function iZ0(t){if(t.length%32===0)return t;var e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function jPe(t){for(var e=[],n=0,a=0;a=1&&i<=75)return OPe((0,jt.concat)([[a.p2pkh],"0x"+f[2]]))}}if(a.p2sh!=null){var s=n.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(s){var o=parseInt(s[1],16);if(s[2].length===o*2&&o>=1&&o<=75)return OPe((0,jt.concat)([[a.p2sh],"0x"+s[2]]))}}if(a.prefix!=null){var c=r[1],d=r[0];if(d===0?c!==20&&c!==32&&(d=-1):d=-1,d>=0&&r.length===2+c&&c>=1&&c<=75){var l=DPe.default.toWords(r.slice(2));return l.unshift(d),DPe.default.encode(a.prefix,l)}}return null},t.prototype.getAddress=function(e){return Yt(this,void 0,void 0,function(){var n,a,r,f;return $t(this,function(i){switch(i.label){case 0:if(e==null&&(e=60),e!==60)return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return n=i.sent(),n==="0x"||n===ZX0.HashZero?[2,null]:[2,this.provider.formatter.callAddress(n)];case 3:if(a=i.sent(),a.code===Yn.Logger.errors.CALL_EXCEPTION)return[2,null];throw a;case 4:return[4,this._fetchBytes("0xf1cb7e06",vfe(e))];case 5:return r=i.sent(),r==null||r==="0x"?[2,null]:(f=this._getAddress(e,r),f==null&&Hn.throwError("invalid or unsupported coin data",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:r}),[2,f])}})})},t.prototype.getAvatar=function(){return Yt(this,void 0,void 0,function(){var e,n,a,r,f,i,s,o,c,d,l,h,y,v,k,O,F,z,W,j,Q,V,X,K,G;return $t(this,function(R){switch(R.label){case 0:e=[{type:"name",content:this.name}],R.label=1;case 1:return R.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(n=R.sent(),n==null)return[2,null];a=0,R.label=3;case 3:if(!(a=0?null:JSON.stringify({data:i,sender:f}),[4,(0,PT.fetchJson)({url:d,errorPassThrough:!0},l,function(k,O){return k.status=O.statusCode,k})]):[3,4];case 2:if(h=v.sent(),h.data)return[2,h.data];if(y=h.message||"unknown error",h.status>=400&&h.status<500)return[2,Hn.throwError("response not found during CCIP fetch: "+y,Yn.Logger.errors.SERVER_ERROR,{url:c,errorMessage:y})];s.push(y),v.label=3;case 3:return o++,[3,1];case 4:return[2,Hn.throwError("error encountered during CCIP fetch: "+s.map(function(k){return JSON.stringify(k)}).join(", "),Yn.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:s})]}})})},e.prototype._getInternalBlockNumber=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s,o=this;return $t(this,function(c){switch(c.label){case 0:return[4,this._ready()];case 1:if(c.sent(),!(n>0))return[3,7];c.label=2;case 2:if(!this._internalBlockNumber)return[3,7];a=this._internalBlockNumber,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,a];case 4:return r=c.sent(),aS()-r.respTime<=n?[2,r.blockNumber]:[3,7];case 5:return f=c.sent(),this._internalBlockNumber===a?[3,7]:[3,6];case 6:return[3,2];case 7:return i=aS(),s=(0,mi.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(function(d){return null},function(d){return d})}).then(function(d){var l=d.blockNumber,h=d.networkError;if(h)throw o._internalBlockNumber===s&&(o._internalBlockNumber=null),h;var y=aS();return l=Yo.BigNumber.from(l).toNumber(),l1e3)Hn.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",Hn.makeError("network block skew detected",Yn.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(i=this._emitted.block+1;i<=r;i++)this.emit("block",i);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach(function(c){if(c!=="block"){var d=s._emitted[c];d!=="pending"&&r-d>12&&delete s._emitted[c]}})),this._lastBlockNumber===-2&&(this._lastBlockNumber=r-1),this._events.forEach(function(c){switch(c.type){case"tx":{var d=c.hash,l=s.getTransactionReceipt(d).then(function(v){return!v||v.blockNumber==null||(s._emitted["t:"+d]=v.blockNumber,s.emit(d,v)),null}).catch(function(v){s.emit("error",v)});a.push(l);break}case"filter":{if(!c._inflight){c._inflight=!0,c._lastBlockNumber===-2&&(c._lastBlockNumber=r-1);var h=c.filter;h.fromBlock=c._lastBlockNumber+1,h.toBlock=r;var y=h.toBlock-s._maxFilterBlockRange;y>h.fromBlock&&(h.fromBlock=y),h.fromBlock<0&&(h.fromBlock=0);var l=s.getLogs(h).then(function(k){c._inflight=!1,k.length!==0&&k.forEach(function(O){O.blockNumber>c._lastBlockNumber&&(c._lastBlockNumber=O.blockNumber),s._emitted["b:"+O.blockHash]=O.blockNumber,s._emitted["t:"+O.transactionHash]=O.blockNumber,s.emit(h,O)})}).catch(function(k){s.emit("error",k),c._inflight=!1});a.push(l)}break}}}),this._lastBlockNumber=r,Promise.all(a).then(function(){s.emit("didPoll",n)}).catch(function(c){s.emit("error",c)}),[2]}})})},e.prototype.resetEventsBlock=function(n){this._lastBlockNumber=n-1,this.polling&&this.poll()},Object.defineProperty(e.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),e.prototype.detectNetwork=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,Hn.throwError("provider does not support network detection",Yn.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]})})},e.prototype.getNetwork=function(){return Yt(this,void 0,void 0,function(){var n,a,r;return $t(this,function(f){switch(f.label){case 0:return[4,this._ready()];case 1:return n=f.sent(),[4,this.detectNetwork()];case 2:return a=f.sent(),n.chainId===a.chainId?[3,5]:this.anyNetwork?(this._network=a,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",a,n),[4,NPe(0)]):[3,4];case 3:return f.sent(),[2,this._network];case 4:throw r=Hn.makeError("underlying network changed",Yn.Logger.errors.NETWORK_ERROR,{event:"changed",network:n,detectedNetwork:a}),this.emit("error",r),r;case 5:return[2,n]}})})},Object.defineProperty(e.prototype,"blockNumber",{get:function(){var n=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then(function(a){n._setFastBlockNumber(a)},function(a){}),this._fastBlockNumber!=null?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"polling",{get:function(){return this._poller!=null},set:function(n){var a=this;n&&!this._poller?(this._poller=setInterval(function(){a.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(function(){a.poll(),a._bootstrapPoll=setTimeout(function(){a._poller||a.poll(),a._bootstrapPoll=null},a.pollingInterval)},0))):!n&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(n){var a=this;if(typeof n!="number"||n<=0||parseInt(String(n))!=n)throw new Error("invalid polling interval");this._pollingInterval=n,this._poller&&(clearInterval(this._poller),this._poller=setInterval(function(){a.poll()},this._pollingInterval))},enumerable:!1,configurable:!0}),e.prototype._getFastBlockNumber=function(){var n=this,a=aS();return a-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=a,this._fastBlockNumberPromise=this.getBlockNumber().then(function(r){return(n._fastBlockNumber==null||r>n._fastBlockNumber)&&(n._fastBlockNumber=r),n._fastBlockNumber})),this._fastBlockNumberPromise},e.prototype._setFastBlockNumber=function(n){this._fastBlockNumber!=null&&nthis._fastBlockNumber)&&(this._fastBlockNumber=n,this._fastBlockNumberPromise=Promise.resolve(n)))},e.prototype.waitForTransaction=function(n,a,r){return Yt(this,void 0,void 0,function(){return $t(this,function(f){return[2,this._waitForTransaction(n,a??1,r||0,null)]})})},e.prototype._waitForTransaction=function(n,a,r,f){return Yt(this,void 0,void 0,function(){var i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,this.getTransactionReceipt(n)];case 1:return i=o.sent(),(i?i.confirmations:0)>=a?[2,i]:[2,new Promise(function(c,d){var l=[],h=!1,y=function(){return h?!0:(h=!0,l.forEach(function(W){W()}),!1)},v=function(W){W.confirmations0){var z=setTimeout(function(){y()||d(Hn.makeError("timeout exceeded",Yn.Logger.errors.TIMEOUT,{timeout:r}))},r);z.unref&&z.unref(),l.push(function(){clearTimeout(z)})}})]}})})},e.prototype.getBlockNumber=function(){return Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,this._getInternalBlockNumber(0)]})})},e.prototype.getGasPrice=function(){return Yt(this,void 0,void 0,function(){var n;return $t(this,function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,this.perform("getGasPrice",{})];case 2:n=a.sent();try{return[2,Yo.BigNumber.from(n)]}catch(r){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:n,error:r})]}return[2]}})})},e.prototype.getBalance=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,mi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getBalance",r)];case 3:f=i.sent();try{return[2,Yo.BigNumber.from(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getTransactionCount=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,mi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getTransactionCount",r)];case 3:f=i.sent();try{return[2,Yo.BigNumber.from(f).toNumber()]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getCode=function(n,a){return Yt(this,void 0,void 0,function(){var r,f;return $t(this,function(i){switch(i.label){case 0:return[4,this.getNetwork()];case 1:return i.sent(),[4,(0,mi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(a)})];case 2:return r=i.sent(),[4,this.perform("getCode",r)];case 3:f=i.sent();try{return[2,(0,jt.hexlify)(f)]}catch(s){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:f,error:s})]}return[2]}})})},e.prototype.getStorageAt=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i;return $t(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,mi.resolveProperties)({address:this._getAddress(n),blockTag:this._getBlockTag(r),position:Promise.resolve(a).then(function(o){return(0,jt.hexValue)(o)})})];case 2:return f=s.sent(),[4,this.perform("getStorageAt",f)];case 3:i=s.sent();try{return[2,(0,jt.hexlify)(i)]}catch(o){return[2,Hn.throwError("bad result from backend",Yn.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:f,result:i,error:o})]}return[2]}})})},e.prototype._wrapTransaction=function(n,a,r){var f=this;if(a!=null&&(0,jt.hexDataLength)(a)!==32)throw new Error("invalid response - sendTransaction");var i=n;return a!=null&&n.hash!==a&&Hn.throwError("Transaction hash mismatch from Provider.sendTransaction.",Yn.Logger.errors.UNKNOWN_ERROR,{expectedHash:n.hash,returnedHash:a}),i.wait=function(s,o){return Yt(f,void 0,void 0,function(){var c,d;return $t(this,function(l){switch(l.label){case 0:return s==null&&(s=1),o==null&&(o=0),c=void 0,s!==0&&r!=null&&(c={data:n.data,from:n.from,nonce:n.nonce,to:n.to,value:n.value,startBlock:r}),[4,this._waitForTransaction(n.hash,s,o,c)];case 1:return d=l.sent(),d==null&&s===0?[2,null]:(this._emitted["t:"+n.hash]=d.blockNumber,d.status===0&&Hn.throwError("transaction failed",Yn.Logger.errors.CALL_EXCEPTION,{transactionHash:n.hash,transaction:n,receipt:d}),[2,d])}})})},i},e.prototype.sendTransaction=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s;return $t(this,function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,Promise.resolve(n).then(function(c){return(0,jt.hexlify)(c)})];case 2:return a=o.sent(),r=this.formatter.transaction(n),r.confirmations==null&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:f=o.sent(),o.label=4;case 4:return o.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:a})];case 5:return i=o.sent(),[2,this._wrapTransaction(r,i,f)];case 6:throw s=o.sent(),s.transaction=r,s.transactionHash=r.hash,s;case 7:return[2]}})})},e.prototype._getTransactionRequest=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i,s=this;return $t(this,function(o){switch(o.label){case 0:return[4,n];case 1:return a=o.sent(),r={},["from","to"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?s._getAddress(d):null}))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?Yo.BigNumber.from(d):null}))}),["type"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d??null}))}),a.accessList&&(r.accessList=this.formatter.accessList(a.accessList)),["data"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?(0,jt.hexlify)(d):null}))}),i=(f=this.formatter).transactionRequest,[4,(0,mi.resolveProperties)(r)];case 2:return[2,i.apply(f,[o.sent()])]}})})},e.prototype._getFilter=function(n){return Yt(this,void 0,void 0,function(){var a,r,f,i=this;return $t(this,function(s){switch(s.label){case 0:return[4,n];case 1:return n=s.sent(),a={},n.address!=null&&(a.address=this._getAddress(n.address)),["blockHash","topics"].forEach(function(o){n[o]!=null&&(a[o]=n[o])}),["fromBlock","toBlock"].forEach(function(o){n[o]!=null&&(a[o]=i._getBlockTag(n[o]))}),f=(r=this.formatter).filter,[4,(0,mi.resolveProperties)(a)];case 2:return[2,f.apply(r,[s.sent()])]}})})},e.prototype._call=function(n,a,r){return Yt(this,void 0,void 0,function(){var f,i,s,o,c,d,l,h,y,v,k,O,F,z,W,j;return $t(this,function(Q){switch(Q.label){case 0:return r>=nZ0&&Hn.throwError("CCIP read exceeded maximum redirections",Yn.Logger.errors.SERVER_ERROR,{redirects:r,transaction:n}),f=n.to,[4,this.perform("call",{transaction:n,blockTag:a})];case 1:if(i=Q.sent(),!(r>=0&&a==="latest"&&f!=null&&i.substring(0,10)==="0x556f1830"&&(0,jt.hexDataLength)(i)%32===4))return[3,5];Q.label=2;case 2:for(Q.trys.push([2,4,,5]),s=(0,jt.hexDataSlice)(i,4),o=(0,jt.hexDataSlice)(s,0,32),Yo.BigNumber.from(o).eq(f)||Hn.throwError("CCIP Read sender did not match",Yn.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:n,data:i}),c=[],d=Yo.BigNumber.from((0,jt.hexDataSlice)(s,32,64)).toNumber(),l=Yo.BigNumber.from((0,jt.hexDataSlice)(s,d,d+32)).toNumber(),h=(0,jt.hexDataSlice)(s,d+32),y=0;ythis._emitted.block?[2,null]:[2,void 0];if(!a)return[3,8];l=null,h=0,F.label=2;case 2:return h0},e.prototype._stopEvent=function(n){this.polling=this._events.filter(function(a){return a.pollable()}).length>0},e.prototype._addEventListener=function(n,a,r){var f=new WPe(DT(n),a,r);return this._events.push(f),this._startEvent(f),this},e.prototype.on=function(n,a){return this._addEventListener(n,a,!1)},e.prototype.once=function(n,a){return this._addEventListener(n,a,!0)},e.prototype.emit=function(n){for(var a=this,r=[],f=1;f{"use strict";u();p();var Cfe=Gd&&Gd.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),S8=Gd&&Gd.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},R8=Gd&&Gd.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&f.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&Mi.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Xi.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function QPe(t){return new Promise(function(e){setTimeout(e,t)})}function hZ0(t){if(t.error){var e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function sS(t){return t&&t.toLowerCase()}var Ife={},kfe=function(t){Cfe(e,t);function e(n,a,r){var f=t.call(this)||this;if(n!==Ife)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,bi.defineReadOnly)(f,"provider",a),r==null&&(r=0),typeof r=="string"?((0,bi.defineReadOnly)(f,"_address",f.provider.formatter.address(r)),(0,bi.defineReadOnly)(f,"_index",null)):typeof r=="number"?((0,bi.defineReadOnly)(f,"_index",r),(0,bi.defineReadOnly)(f,"_address",null)):Mi.throwArgumentError("invalid address or index","addressOrIndex",r),f}return e.prototype.connect=function(n){return Mi.throwError("cannot alter JSON-RPC Signer connection",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new mZ0(Ife,this.provider,this._address||this._index)},e.prototype.getAddress=function(){var n=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(function(a){return a.length<=n._index&&Mi.throwError("unknown account #"+n._index,Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),n.provider.formatter.address(a[n._index])})},e.prototype.sendUncheckedTransaction=function(n){var a=this;n=(0,bi.shallowCopy)(n);var r=this.getAddress().then(function(i){return i&&(i=i.toLowerCase()),i});if(n.gasLimit==null){var f=(0,bi.shallowCopy)(n);f.from=r,n.gasLimit=this.provider.estimateGas(f)}return n.to!=null&&(n.to=Promise.resolve(n.to).then(function(i){return S8(a,void 0,void 0,function(){var s;return R8(this,function(o){switch(o.label){case 0:return i==null?[2,null]:[4,this.provider.resolveName(i)];case 1:return s=o.sent(),s==null&&Mi.throwArgumentError("provided ENS name resolves to null","tx.to",i),[2,s]}})})})),(0,bi.resolveProperties)({tx:(0,bi.resolveProperties)(n),sender:r}).then(function(i){var s=i.tx,o=i.sender;s.from!=null?s.from.toLowerCase()!==o&&Mi.throwArgumentError("from address mismatch","transaction",n):s.from=o;var c=a.provider.constructor.hexlifyTransaction(s,{from:!0});return a.provider.send("eth_sendTransaction",[c]).then(function(d){return d},function(d){return typeof d.message=="string"&&d.message.match(/user denied/i)&&Mi.throwError("user rejected transaction",Xi.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:s}),YPe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(n){return Mi.throwError("signing transactions is unsupported",Xi.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(n){return S8(this,void 0,void 0,function(){var a,r,f,i=this;return R8(this,function(s){switch(s.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return a=s.sent(),[4,this.sendUncheckedTransaction(n)];case 2:r=s.sent(),s.label=3;case 3:return s.trys.push([3,5,,6]),[4,(0,VPe.poll)(function(){return S8(i,void 0,void 0,function(){var o;return R8(this,function(c){switch(c.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return o=c.sent(),o===null?[2,void 0]:[2,this.provider._wrapTransaction(o,r,a)]}})})},{oncePoll:this.provider})];case 4:return[2,s.sent()];case 5:throw f=s.sent(),f.transactionHash=r,f;case 6:return[2]}})})},e.prototype.signMessage=function(n){return S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,KPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,LT.hexlify)(a),r.toLowerCase()])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._legacySignMessage=function(n){return S8(this,void 0,void 0,function(){var a,r,f;return R8(this,function(i){switch(i.label){case 0:return a=typeof n=="string"?(0,KPe.toUtf8Bytes)(n):n,[4,this.getAddress()];case 1:r=i.sent(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,LT.hexlify)(a)])];case 3:return[2,i.sent()];case 4:throw f=i.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:n}),f;case 5:return[2]}})})},e.prototype._signTypedData=function(n,a,r){return S8(this,void 0,void 0,function(){var f,i,s,o=this;return R8(this,function(c){switch(c.label){case 0:return[4,GPe._TypedDataEncoder.resolveNames(n,a,r,function(d){return o.provider.resolveName(d)})];case 1:return f=c.sent(),[4,this.getAddress()];case 2:i=c.sent(),c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(GPe._TypedDataEncoder.getPayload(f.domain,a,f.value))])];case 4:return[2,c.sent()];case 5:throw s=c.sent(),typeof s.message=="string"&&s.message.match(/user denied/i)&&Mi.throwError("user rejected signing",Xi.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:f.domain,types:a,value:f.value}}),s;case 6:return[2]}})})},e.prototype.unlock=function(n){return S8(this,void 0,void 0,function(){var a,r;return R8(this,function(f){switch(f.label){case 0:return a=this.provider,[4,this.getAddress()];case 1:return r=f.sent(),[2,a.send("personal_unlockAccount",[r.toLowerCase(),n,null])]}})})},e}(cZ0.Signer);Gd.JsonRpcSigner=kfe;var mZ0=function(t){Cfe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sendTransaction=function(n){var a=this;return this.sendUncheckedTransaction(n).then(function(r){return{hash:r,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(f){return a.provider.waitForTransaction(r,f)}}})},e}(kfe),bZ0={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},yZ0=function(t){Cfe(e,t);function e(n,a){var r=this,f=a;return f==null&&(f=new Promise(function(i,s){setTimeout(function(){r.detectNetwork().then(function(o){i(o)},function(o){s(o)})},0)})),r=t.call(this,f)||this,n||(n=(0,bi.getStatic)(r.constructor,"defaultUrl")()),typeof n=="string"?(0,bi.defineReadOnly)(r,"connection",Object.freeze({url:n})):(0,bi.defineReadOnly)(r,"connection",Object.freeze((0,bi.shallowCopy)(n))),r._nextId=42,r}return Object.defineProperty(e.prototype,"_cache",{get:function(){return this._eventLoopCache==null&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),e.defaultUrl=function(){return"http://localhost:8545"},e.prototype.detectNetwork=function(){var n=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(function(){n._cache.detectNetwork=null},0)),this._cache.detectNetwork},e.prototype._uncachedDetectNetwork=function(){return S8(this,void 0,void 0,function(){var n,a,r,f;return R8(this,function(i){switch(i.label){case 0:return[4,QPe(0)];case 1:i.sent(),n=null,i.label=2;case 2:return i.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return n=i.sent(),[3,9];case 4:a=i.sent(),i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return n=i.sent(),[3,8];case 7:return r=i.sent(),[3,8];case 8:return[3,9];case 9:if(n!=null){f=(0,bi.getStatic)(this.constructor,"getNetwork");try{return[2,f(Afe.BigNumber.from(n).toNumber())]}catch(s){return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{chainId:n,event:"invalidNetwork",serverError:s})]}}return[2,Mi.throwError("could not detect network",Xi.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(n){return new kfe(Ife,this,n)},e.prototype.getUncheckedSigner=function(n){return this.getSigner(n).connectUnchecked()},e.prototype.listAccounts=function(){var n=this;return this.send("eth_accounts",[]).then(function(a){return a.map(function(r){return n.formatter.address(r)})})},e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,bi.deepCopy)(f),provider:this});var i=["eth_chainId","eth_blockNumber"].indexOf(n)>=0;if(i&&this._cache[n])return this._cache[n];var s=(0,VPe.fetchJson)(this.connection,JSON.stringify(f),hZ0).then(function(o){return r.emit("debug",{action:"response",request:f,response:o,provider:r}),o},function(o){throw r.emit("debug",{action:"response",error:o,request:f,provider:r}),o});return i&&(this._cache[n]=s,setTimeout(function(){r._cache[n]=null},0)),s},e.prototype.prepareRequest=function(n,a){switch(n){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[sS(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[sS(a.address),a.blockTag]];case"getCode":return["eth_getCode",[sS(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[sS(a.address),(0,LT.hexZeroPad)(a.position,32),a.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[a.signedTransaction]];case"getBlock":return a.blockTag?["eth_getBlockByNumber",[a.blockTag,!!a.includeTransactions]]:a.blockHash?["eth_getBlockByHash",[a.blockHash,!!a.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[a.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[a.transactionHash]];case"call":{var r=(0,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,bi.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=sS(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(n,a){return S8(this,void 0,void 0,function(){var r,f,i,s;return R8(this,function(o){switch(o.label){case 0:return n==="call"||n==="estimateGas"?(r=a.transaction,r&&r.type!=null&&Afe.BigNumber.from(r.type).isZero()?r.maxFeePerGas==null&&r.maxPriorityFeePerGas==null?[4,this.getFeeData()]:[3,2]:[3,2]):[3,2];case 1:f=o.sent(),f.maxFeePerGas==null&&f.maxPriorityFeePerGas==null&&(a=(0,bi.shallowCopy)(a),a.transaction=(0,bi.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:i=this.prepareRequest(n,a),i==null&&Mi.throwError(n+" not implemented",Xi.Logger.errors.NOT_IMPLEMENTED,{operation:n}),o.label=3;case 3:return o.trys.push([3,5,,6]),[4,this.send(i[0],i[1])];case 4:return[2,o.sent()];case 5:return s=o.sent(),[2,YPe(n,s,a)];case 6:return[2]}})})},e.prototype._startEvent=function(n){n.tag==="pending"&&this._startPending(),t.prototype._startEvent.call(this,n)},e.prototype._startPending=function(){if(this._pendingFilter==null){var n=this,a=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=a,a.then(function(r){function f(){n.send("eth_getFilterChanges",[r]).then(function(i){if(n._pendingFilter!=a)return null;var s=Promise.resolve();return i.forEach(function(o){n._emitted["t:"+o.toLowerCase()]="pending",s=s.then(function(){return n.getTransaction(o).then(function(c){return n.emit("pending",c),null})})}),s.then(function(){return QPe(1e3)})}).then(function(){if(n._pendingFilter!=a){n.send("eth_uninstallFilter",[r]);return}return setTimeout(function(){f()},0),null}).catch(function(i){})}return f(),r}).catch(function(r){})}},e.prototype._stopEvent=function(n){n.tag==="pending"&&this.listenerCount("pending")===0&&(this._pendingFilter=null),t.prototype._stopEvent.call(this,n)},e.hexlifyTransaction=function(n,a){var r=(0,bi.shallowCopy)(bZ0);if(a)for(var f in a)a[f]&&(r[f]=!0);(0,bi.checkProperties)(n,r);var i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(s){if(n[s]!=null){var o=(0,LT.hexValue)(Afe.BigNumber.from(n[s]));s==="gasLimit"&&(s="gas"),i[s]=o}}),["from","to","data"].forEach(function(s){n[s]!=null&&(i[s]=(0,LT.hexlify)(n[s]))}),n.accessList&&(i.accessList=(0,dZ0.accessListify)(n.accessList)),i},e}(uZ0.BaseProvider);Gd.JsonRpcProvider=yZ0});var XPe=D(NT=>{"use strict";u();p();Object.defineProperty(NT,"__esModule",{value:!0});NT.WebSocket=void 0;var $Pe=Ft(),gZ0=ro(),GH=null;NT.WebSocket=GH;try{if(NT.WebSocket=GH=WebSocket,GH==null)throw new Error("inject please")}catch{JPe=new $Pe.Logger(gZ0.version),NT.WebSocket=GH=function(){JPe.throwError("WebSockets not supported in this environment",$Pe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var JPe});var QH=D(ju=>{"use strict";u();p();var vZ0=ju&&ju.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Sfe=ju&&ju.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},Rfe=ju&&ju.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var eLe=Kd&&Kd.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),AZ0=Kd&&Kd.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},IZ0=Kd&&Kd.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var aLe=om&&om.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(om,"__esModule",{value:!0});om.AlchemyProvider=om.AlchemyWebSocketProvider=void 0;var RZ0=Ba(),MZ0=fm(),BZ0=QH(),DZ0=Ft(),PZ0=ro(),nLe=new DZ0.Logger(PZ0.version),LZ0=sm(),YH="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",rLe=function(t){aLe(e,t);function e(n,a){var r=this,f=new fLe(n,a),i=f.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return r=t.call(this,i,f.network)||this,(0,RZ0.defineReadOnly)(r,"apiKey",f.apiKey),r}return e.prototype.isCommunityResource=function(){return this.apiKey===YH},e}(BZ0.WebSocketProvider);om.AlchemyWebSocketProvider=rLe;var fLe=function(t){aLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new rLe(n,a)},e.getApiKey=function(n){return n==null?YH:(n&&typeof n!="string"&&nLe.throwArgumentError("invalid apiKey","apiKey",n),n)},e.getUrl=function(n,a){var r=null;switch(n.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:nLe.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(f,i){return a===YH&&(0,MZ0.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===YH},e}(LZ0.UrlJsonRpcProvider);om.AlchemyProvider=fLe});var sLe=D(UT=>{"use strict";u();p();var FZ0=UT&&UT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(UT,"__esModule",{value:!0});UT.AnkrProvider=void 0;var NZ0=fm(),OZ0=sm(),UZ0=Ft(),HZ0=ro(),zZ0=new UZ0.Logger(HZ0.version),$H="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function WZ0(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return zZ0.throwArgumentError("unsupported network","name",t)}var qZ0=function(t){FZ0(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===$H},e.getApiKey=function(n){return n??$H},e.getUrl=function(n,a){a==null&&(a=$H);var r={allowGzip:!0,url:"https://"+WZ0(n.name)+a,throttleCallback:function(f,i){return a.apiKey===$H&&(0,NZ0.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(OZ0.UrlJsonRpcProvider);UT.AnkrProvider=qZ0});var cLe=D(Gu=>{"use strict";u();p();var jZ0=Gu&&Gu.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),GZ0=Gu&&Gu.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},KZ0=Gu&&Gu.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]{"use strict";u();p();var JZ0=Qu&&Qu.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),JH=Qu&&Qu.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},XH=Qu&&Qu.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=0&&(e.throttleRetry=!0),e}return t.result}function lLe(t){if(t&&t.status==0&&t.message=="NOTOK"&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){var e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if(t.jsonrpc!="2.0"){var e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){var e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function uLe(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Bfe(t,e,n){if(t==="call"&&e.code===Ku.Logger.errors.SERVER_ERROR){var a=e.error;if(a&&(a.message.match(/reverted/i)||a.message.match(/VM execution error/i))){var r=a.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),(0,ZH.isHexString)(r))return r;cm.throwError("missing revert data in call exception",Ku.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var f=e.message;throw e.code===Ku.Logger.errors.SERVER_ERROR&&(e.error&&typeof e.error.message=="string"?f=e.error.message:typeof e.body=="string"?f=e.body:typeof e.responseText=="string"&&(f=e.responseText)),f=(f||"").toLowerCase(),f.match(/insufficient funds/)&&cm.throwError("insufficient funds for intrinsic transaction cost",Ku.Logger.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),f.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&cm.throwError("nonce has already been used",Ku.Logger.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),f.match(/another transaction with same nonce/)&&cm.throwError("replacement fee too low",Ku.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),f.match(/execution failed due to an exception|execution reverted/)&&cm.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Ku.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}var ret=function(t){JZ0(e,t);function e(n,a){var r=t.call(this,n)||this;return(0,Mfe.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,Mfe.defineReadOnly)(r,"apiKey",a||null),r}return e.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io";default:}return cm.throwArgumentError("unsupported network","network",this.network.name)},e.prototype.getUrl=function(n,a){var r=Object.keys(a).reduce(function(i,s){var o=a[s];return o!=null&&(i+="&"+s+"="+o),i},""),f=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+n+r+f},e.prototype.getPostUrl=function(){return this.baseUrl+"/api"},e.prototype.getPostData=function(n,a){return a.module=n,a.apikey=this.apiKey,a},e.prototype.fetch=function(n,a,r){return JH(this,void 0,void 0,function(){var f,i,s,o,c,d,l=this;return XH(this,function(h){switch(h.label){case 0:return f=r?this.getPostUrl():this.getUrl(n,a),i=r?this.getPostData(n,a):null,s=n==="proxy"?lLe:aet,this.emit("debug",{action:"request",request:f,provider:this}),o={url:f,throttleSlotInterval:1e3,throttleCallback:function(y,v){return l.isCommunityResource()&&(0,eet.showThrottleMessage)(),Promise.resolve(!0)}},c=null,i&&(o.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},c=Object.keys(i).map(function(y){return y+"="+i[y]}).join("&")),[4,(0,ZZ0.fetchJson)(o,c,s||lLe)];case 1:return d=h.sent(),this.emit("debug",{action:"response",request:f,response:(0,Mfe.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return JH(this,void 0,void 0,function(){return XH(this,function(n){return[2,this.network]})})},e.prototype.perform=function(n,a){return JH(this,void 0,void 0,function(){var r,i,f,i,s,o,c,d,l,h,y,v,k;return XH(this,function(O){switch(O.label){case 0:switch(r=n,r){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:a.address,tag:a.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:a.address,tag:a.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:a.address,tag:a.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:a.address,position:a.position,tag:a.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:a.signedTransaction},!0).catch(function(F){return Bfe("sendTransaction",F,a.signedTransaction)})];case 8:if(a.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:a.blockTag,boolean:a.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:a.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:a.transactionHash})];case 11:if(a.blockTag!=="latest")throw new Error("EtherscanProvider does not support blockTag for call");i=dLe(a.transaction),i.module="proxy",i.action="eth_call",O.label=12;case 12:return O.trys.push([12,14,,15]),[4,this.fetch("proxy",i,!0)];case 13:return[2,O.sent()];case 14:return f=O.sent(),[2,Bfe("call",f,a.transaction)];case 15:i=dLe(a.transaction),i.module="proxy",i.action="eth_estimateGas",O.label=16;case 16:return O.trys.push([16,18,,19]),[4,this.fetch("proxy",i,!0)];case 17:return[2,O.sent()];case 18:return s=O.sent(),[2,Bfe("estimateGas",s,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=uLe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=uLe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&cm.throwError("unsupported topic count",Ku.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&cm.throwError("unsupported topic format",Ku.Logger.errors.UNSUPPORTED_OPERATION,{topic0:c}),o.topic0=c)),[4,this.fetch("logs",o)];case 20:d=O.sent(),l={},h=0,O.label=21;case 21:return h{"use strict";u();p();var fet=Yu&&Yu.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),nz=Yu&&Yu.__awaiter||function(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})},uS=Yu&&Yu.__generator||function(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]e?null:(a+r)/2}function zT(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(set.BigNumber.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(function(n){return zT(n)}));if(typeof t=="object"){var e=Object.keys(t);return e.sort(),"{"+e.map(function(n){var a=t[n];return typeof a=="function"?a="[function]":a=zT(a),JSON.stringify(n)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}var pet=1;function yLe(t){var e=null,n=null,a=new Promise(function(i){e=function(){n&&(clearTimeout(n),n=null),i()},n=setTimeout(e,t)}),r=function(i){return a=a.then(i),a};function f(){return a}return{cancel:e,getPromise:f,wait:r}}var het=[dm.Logger.errors.CALL_EXCEPTION,dm.Logger.errors.INSUFFICIENT_FUNDS,dm.Logger.errors.NONCE_EXPIRED,dm.Logger.errors.REPLACEMENT_UNDERPRICED,dm.Logger.errors.UNPREDICTABLE_GAS_LIMIT],met=["address","args","errorArgs","errorSignature","method","transaction"];function tz(t,e){var n={weight:t.weight};return Object.defineProperty(n,"provider",{get:function(){return t.provider}}),t.start&&(n.start=t.start),e&&(n.duration=e-t.start),t.done&&(t.error?n.error=t.error:n.result=t.result||null),n}function bet(t,e){return function(n){var a={};n.forEach(function(s){var o=t(s.result);a[o]||(a[o]={count:0,result:s.result}),a[o].count++});for(var r=Object.keys(a),f=0;f=e)return i.result}}}function yet(t,e,n){var a=zT;switch(e){case"getBlockNumber":return function(r){var f=r.map(function(s){return s.result}),i=bLe(r.map(function(s){return s.result}),2);if(i!=null)return i=Math.ceil(i),f.indexOf(i+1)>=0&&i++,i>=t._highestBlockNumber&&(t._highestBlockNumber=i),t._highestBlockNumber};case"getGasPrice":return function(r){var f=r.map(function(i){return i.result});return f.sort(),f[Math.floor(f.length/2)]};case"getEtherPrice":return function(r){return bLe(r.map(function(f){return f.result}))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(r){return r==null?null:(r=(0,Vu.shallowCopy)(r),r.confirmations=-1,zT(r))};break;case"getBlock":n.includeTransactions?a=function(r){return r==null?null:(r=(0,Vu.shallowCopy)(r),r.transactions=r.transactions.map(function(f){return f=(0,Vu.shallowCopy)(f),f.confirmations=-1,f}),zT(r))}:a=function(r){return r==null?null:zT(r)};break;default:throw new Error("unknown method: "+e)}return bet(a,t.quorum)}function lS(t,e){return nz(this,void 0,void 0,function(){var n;return uS(this,function(a){return n=t.provider,n.blockNumber!=null&&n.blockNumber>=e||e===-1?[2,n]:[2,(0,cet.poll)(function(){return new Promise(function(r,f){setTimeout(function(){return n.blockNumber>=e?r(n):t.cancelled?r(null):r(void 0)},0)})},{oncePoll:n})]})})}function get(t,e,n,a){return nz(this,void 0,void 0,function(){var r,f,i;return uS(this,function(s){switch(s.label){case 0:switch(r=t.provider,f=n,f){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,1];case"getEtherPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,3];case"getCode":return[3,3];case"getStorageAt":return[3,6];case"getBlock":return[3,9];case"call":return[3,12];case"estimateGas":return[3,12];case"getTransaction":return[3,15];case"getTransactionReceipt":return[3,15];case"getLogs":return[3,16]}return[3,19];case 1:return[2,r[n]()];case 2:return r.getEtherPrice?[2,r.getEtherPrice()]:[3,19];case 3:return a.blockTag&&(0,HT.isHexString)(a.blockTag)?[4,lS(t,e)]:[3,5];case 4:r=s.sent(),s.label=5;case 5:return[2,r[n](a.address,a.blockTag||"latest")];case 6:return a.blockTag&&(0,HT.isHexString)(a.blockTag)?[4,lS(t,e)]:[3,8];case 7:r=s.sent(),s.label=8;case 8:return[2,r.getStorageAt(a.address,a.position,a.blockTag||"latest")];case 9:return a.blockTag&&(0,HT.isHexString)(a.blockTag)?[4,lS(t,e)]:[3,11];case 10:r=s.sent(),s.label=11;case 11:return[2,r[a.includeTransactions?"getBlockWithTransactions":"getBlock"](a.blockTag||a.blockHash)];case 12:return a.blockTag&&(0,HT.isHexString)(a.blockTag)?[4,lS(t,e)]:[3,14];case 13:r=s.sent(),s.label=14;case 14:return n==="call"&&a.blockTag?[2,r[n](a.transaction,a.blockTag)]:[2,r[n](a.transaction)];case 15:return[2,r[n](a.transactionHash)];case 16:return i=a.filter,i.fromBlock&&(0,HT.isHexString)(i.fromBlock)||i.toBlock&&(0,HT.isHexString)(i.toBlock)?[4,lS(t,e)]:[3,18];case 17:r=s.sent(),s.label=18;case 18:return[2,r.getLogs(i)];case 19:return[2,A7.throwError("unknown method error",dm.Logger.errors.UNKNOWN_ERROR,{method:n,params:a})]}})})}var vet=function(t){fet(e,t);function e(n,a){var r=this;n.length===0&&A7.throwArgumentError("missing providers","providers",n);var f=n.map(function(o,c){if(iet.Provider.isProvider(o)){var d=(0,hLe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var h=(0,Vu.shallowCopy)(o);h.priority==null&&(h.priority=1),h.stallTimeout==null&&(h.stallTimeout=(0,hLe.isCommunityResource)(o)?2e3:750),h.weight==null&&(h.weight=1);var y=h.weight;return(y%1||y>512||y<1)&&A7.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+c+"].weight",y),Object.freeze(h)}),i=f.reduce(function(o,c){return o+c.weight},0);a==null?a=i/2:a>i&&A7.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var s=mLe(f.map(function(o){return o.provider.network}));return s==null&&(s=new Promise(function(o,c){setTimeout(function(){r.detectNetwork().then(o,c)},0)})),r=t.call(this,s)||this,(0,Vu.defineReadOnly)(r,"providerConfigs",Object.freeze(f)),(0,Vu.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return nz(this,void 0,void 0,function(){var n;return uS(this,function(a){switch(a.label){case 0:return[4,Promise.all(this.providerConfigs.map(function(r){return r.provider.getNetwork()}))];case 1:return n=a.sent(),[2,mLe(n)]}})})},e.prototype.perform=function(n,a){return nz(this,void 0,void 0,function(){var r,f,i,s,o,c,d,l,h,y,v,k=this;return uS(this,function(O){switch(O.label){case 0:return n!=="sendTransaction"?[3,2]:[4,Promise.all(this.providerConfigs.map(function(F){return F.provider.sendTransaction(a.signedTransaction).then(function(z){return z.hash},function(z){return z})}))];case 1:for(r=O.sent(),f=0;f=y.quorum?(V=s(Q),V!==void 0?(o.forEach(function(G){G.staller&&G.staller.cancel(),G.cancelled=!0}),[2,{value:V}]):l?[3,4]:[4,yLe(100).getPromise()]):[3,5];case 3:K.sent(),K.label=4;case 4:l=!1,K.label=5;case 5:return X=o.reduce(function(G,R){if(!R.done||R.error==null)return G;var T=R.error.code;return het.indexOf(T)>=0&&(G[T]||(G[T]={error:R.error,weight:0}),G[T].weight+=R.weight),G},{}),Object.keys(X).forEach(function(G){var R=X[G];if(!(R.weight{"use strict";u();p();Object.defineProperty(az,"__esModule",{value:!0});az.IpcProvider=void 0;var wet=null;az.IpcProvider=wet});var ELe=D(lm=>{"use strict";u();p();var wLe=lm&&lm.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(lm,"__esModule",{value:!0});lm.InfuraProvider=lm.InfuraWebSocketProvider=void 0;var Dfe=Ba(),Tet=QH(),xet=fm(),Pfe=Ft(),Eet=ro(),rz=new Pfe.Logger(Eet.version),_et=sm(),pS="84842078b09946638c03157f83405213",TLe=function(t){wLe(e,t);function e(n,a){var r=this,f=new xLe(n,a),i=f.connection;i.password&&rz.throwError("INFURA WebSocket project secrets unsupported",Pfe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var s=i.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return r=t.call(this,s,n)||this,(0,Dfe.defineReadOnly)(r,"apiKey",f.projectId),(0,Dfe.defineReadOnly)(r,"projectId",f.projectId),(0,Dfe.defineReadOnly)(r,"projectSecret",f.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===pS},e}(Tet.WebSocketProvider);lm.InfuraWebSocketProvider=TLe;var xLe=function(t){wLe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getWebSocketProvider=function(n,a){return new TLe(n,a)},e.getApiKey=function(n){var a={apiKey:pS,projectId:pS,projectSecret:null};return n==null||(typeof n=="string"?a.projectId=n:n.projectSecret!=null?(rz.assertArgument(typeof n.projectId=="string","projectSecret requires a projectId","projectId",n.projectId),rz.assertArgument(typeof n.projectSecret=="string","invalid projectSecret","projectSecret","[REDACTED]"),a.projectId=n.projectId,a.projectSecret=n.projectSecret):n.projectId&&(a.projectId=n.projectId),a.apiKey=a.projectId),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:rz.throwError("unsupported network",Pfe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f={allowGzip:!0,url:"https://"+r+"/v3/"+a.projectId,throttleCallback:function(i,s){return a.projectId===pS&&(0,xet.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(f.user="",f.password=a.projectSecret),f},e.prototype.isCommunityResource=function(){return this.projectId===pS},e}(_et.UrlJsonRpcProvider);lm.InfuraProvider=xLe});var _Le=D(WT=>{"use strict";u();p();var Aet=WT&&WT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(WT,"__esModule",{value:!0});WT.JsonRpcBatchProvider=void 0;var Iet=Ba(),Cet=C8(),ket=FT(),Ret=function(t){Aet(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.send=function(n,a){var r=this,f={method:n,params:a,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch==null&&(this._pendingBatch=[]);var i={request:f,resolve:null,reject:null},s=new Promise(function(o,c){i.resolve=o,i.reject=c});return this._pendingBatch.push(i),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(function(){var o=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var c=o.map(function(d){return d.request});return r.emit("debug",{action:"requestBatch",request:(0,Iet.deepCopy)(c),provider:r}),(0,Cet.fetchJson)(r.connection,JSON.stringify(c)).then(function(d){r.emit("debug",{action:"response",request:c,response:d,provider:r}),o.forEach(function(l,h){var y=d[h];if(y.error){var v=new Error(y.error.message);v.code=y.error.code,v.data=y.error.data,l.reject(v)}else l.resolve(y.result)})},function(d){r.emit("debug",{action:"response",error:d,request:c,provider:r}),o.forEach(function(l){l.reject(d)})})},10)),s},e}(ket.JsonRpcProvider);WT.JsonRpcBatchProvider=Ret});var ALe=D(qT=>{"use strict";u();p();var Met=qT&&qT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(qT,"__esModule",{value:!0});qT.NodesmithProvider=void 0;var Bet=sm(),Det=Ft(),Pet=ro(),Lfe=new Det.Logger(Pet.version),Let="ETHERS_JS_SHARED",Fet=function(t){Met(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){return n&&typeof n!="string"&&Lfe.throwArgumentError("invalid apiKey","apiKey",n),n||Let},e.getUrl=function(n,a){Lfe.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(n.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Lfe.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(Bet.UrlJsonRpcProvider);qT.NodesmithProvider=Fet});var SLe=D(jT=>{"use strict";u();p();var Net=jT&&jT.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(jT,"__esModule",{value:!0});jT.PocketProvider=void 0;var kLe=Ft(),Oet=ro(),ILe=new kLe.Logger(Oet.version),Uet=sm(),CLe="62e1ad51b37b8e00394bda3b",Het=function(t){Net(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getApiKey=function(n){var a={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return n==null?a.applicationId=CLe:typeof n=="string"?a.applicationId=n:n.applicationSecretKey!=null?(a.applicationId=n.applicationId,a.applicationSecretKey=n.applicationSecretKey):n.applicationId?a.applicationId=n.applicationId:ILe.throwArgumentError("unsupported PocketProvider apiKey","apiKey",n),a},e.getUrl=function(n,a){var r=null;switch(n?n.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:ILe.throwError("unsupported network",kLe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:n})}var f="https://"+r+"/v1/lb/"+a.applicationId,i={headers:{},url:f};return a.applicationSecretKey!=null&&(i.user="",i.password=a.applicationSecretKey),i},e.prototype.isCommunityResource=function(){return this.applicationId===CLe},e}(Uet.UrlJsonRpcProvider);jT.PocketProvider=Het});var BLe=D(GT=>{"use strict";u();p();var zet=GT&>.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(GT,"__esModule",{value:!0});GT.Web3Provider=void 0;var fz=Ba(),Wet=Ft(),qet=ro(),RLe=new Wet.Logger(qet.version),jet=FT(),Get=1;function MLe(t,e){var n="Web3LegacyFetcher";return function(a,r){var f=this,i={method:a,params:r,id:Get++,jsonrpc:"2.0"};return new Promise(function(s,o){f.emit("debug",{action:"request",fetcher:n,request:(0,fz.deepCopy)(i),provider:f}),e(i,function(c,d){if(c)return f.emit("debug",{action:"response",fetcher:n,error:c,request:i,provider:f}),o(c);if(f.emit("debug",{action:"response",fetcher:n,request:i,response:d,provider:f}),d.error){var l=new Error(d.error.message);return l.code=d.error.code,l.data=d.error.data,o(l)}s(d.result)})})}}function Ket(t){return function(e,n){var a=this;n==null&&(n=[]);var r={method:e,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,fz.deepCopy)(r),provider:this}),t.request(r).then(function(f){return a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:f,provider:a}),f},function(f){throw a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:f,provider:a}),f})}}var Qet=function(t){zet(e,t);function e(n,a){var r=this;n==null&&RLe.throwArgumentError("missing provider","provider",n);var f=null,i=null,s=null;return typeof n=="function"?(f="unknown:",i=n):(f=n.host||n.path||"",!f&&n.isMetaMask&&(f="metamask"),s=n,n.request?(f===""&&(f="eip-1193:"),i=Ket(n)):n.sendAsync?i=MLe(n,n.sendAsync.bind(n)):n.send?i=MLe(n,n.send.bind(n)):RLe.throwArgumentError("unsupported provider","provider",n),f||(f="unknown:")),r=t.call(this,f,a)||this,(0,fz.defineReadOnly)(r,"jsonRpcFetchFunc",i),(0,fz.defineReadOnly)(r,"provider",s),r}return e.prototype.send=function(n,a){return this.jsonRpcFetchFunc(n,a)},e}(jet.JsonRpcProvider);GT.Web3Provider=Qet});var oz=D(bt=>{"use strict";u();p();Object.defineProperty(bt,"__esModule",{value:!0});bt.Formatter=bt.showThrottleMessage=bt.isCommunityResourcable=bt.isCommunityResource=bt.getNetwork=bt.getDefaultProvider=bt.JsonRpcSigner=bt.IpcProvider=bt.WebSocketProvider=bt.Web3Provider=bt.StaticJsonRpcProvider=bt.PocketProvider=bt.NodesmithProvider=bt.JsonRpcBatchProvider=bt.JsonRpcProvider=bt.InfuraWebSocketProvider=bt.InfuraProvider=bt.EtherscanProvider=bt.CloudflareProvider=bt.AnkrProvider=bt.AlchemyWebSocketProvider=bt.AlchemyProvider=bt.FallbackProvider=bt.UrlJsonRpcProvider=bt.Resolver=bt.BaseProvider=bt.Provider=void 0;var Vet=C3();Object.defineProperty(bt,"Provider",{enumerable:!0,get:function(){return Vet.Provider}});var PLe=bfe();Object.defineProperty(bt,"getNetwork",{enumerable:!0,get:function(){return PLe.getNetwork}});var LLe=iS();Object.defineProperty(bt,"BaseProvider",{enumerable:!0,get:function(){return LLe.BaseProvider}});Object.defineProperty(bt,"Resolver",{enumerable:!0,get:function(){return LLe.Resolver}});var Ffe=iLe();Object.defineProperty(bt,"AlchemyProvider",{enumerable:!0,get:function(){return Ffe.AlchemyProvider}});Object.defineProperty(bt,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Ffe.AlchemyWebSocketProvider}});var FLe=sLe();Object.defineProperty(bt,"AnkrProvider",{enumerable:!0,get:function(){return FLe.AnkrProvider}});var NLe=cLe();Object.defineProperty(bt,"CloudflareProvider",{enumerable:!0,get:function(){return NLe.CloudflareProvider}});var OLe=pLe();Object.defineProperty(bt,"EtherscanProvider",{enumerable:!0,get:function(){return OLe.EtherscanProvider}});var ULe=gLe();Object.defineProperty(bt,"FallbackProvider",{enumerable:!0,get:function(){return ULe.FallbackProvider}});var HLe=vLe();Object.defineProperty(bt,"IpcProvider",{enumerable:!0,get:function(){return HLe.IpcProvider}});var Nfe=ELe();Object.defineProperty(bt,"InfuraProvider",{enumerable:!0,get:function(){return Nfe.InfuraProvider}});Object.defineProperty(bt,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Nfe.InfuraWebSocketProvider}});var iz=FT();Object.defineProperty(bt,"JsonRpcProvider",{enumerable:!0,get:function(){return iz.JsonRpcProvider}});Object.defineProperty(bt,"JsonRpcSigner",{enumerable:!0,get:function(){return iz.JsonRpcSigner}});var Yet=_Le();Object.defineProperty(bt,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return Yet.JsonRpcBatchProvider}});var zLe=ALe();Object.defineProperty(bt,"NodesmithProvider",{enumerable:!0,get:function(){return zLe.NodesmithProvider}});var WLe=SLe();Object.defineProperty(bt,"PocketProvider",{enumerable:!0,get:function(){return WLe.PocketProvider}});var qLe=sm();Object.defineProperty(bt,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return qLe.StaticJsonRpcProvider}});Object.defineProperty(bt,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return qLe.UrlJsonRpcProvider}});var jLe=BLe();Object.defineProperty(bt,"Web3Provider",{enumerable:!0,get:function(){return jLe.Web3Provider}});var GLe=QH();Object.defineProperty(bt,"WebSocketProvider",{enumerable:!0,get:function(){return GLe.WebSocketProvider}});var sz=fm();Object.defineProperty(bt,"Formatter",{enumerable:!0,get:function(){return sz.Formatter}});Object.defineProperty(bt,"isCommunityResourcable",{enumerable:!0,get:function(){return sz.isCommunityResourcable}});Object.defineProperty(bt,"isCommunityResource",{enumerable:!0,get:function(){return sz.isCommunityResource}});Object.defineProperty(bt,"showThrottleMessage",{enumerable:!0,get:function(){return sz.showThrottleMessage}});var KLe=Ft(),$et=ro(),DLe=new KLe.Logger($et.version);function Jet(t,e){if(t==null&&(t="homestead"),typeof t=="string"){var n=t.match(/^(ws|http)s?:/i);if(n)switch(n[1].toLowerCase()){case"http":case"https":return new iz.JsonRpcProvider(t);case"ws":case"wss":return new GLe.WebSocketProvider(t);default:DLe.throwArgumentError("unsupported URL scheme","network",t)}}var a=(0,PLe.getNetwork)(t);return(!a||!a._defaultProvider)&&DLe.throwError("unsupported getDefaultProvider network",KLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),a._defaultProvider({FallbackProvider:ULe.FallbackProvider,AlchemyProvider:Ffe.AlchemyProvider,AnkrProvider:FLe.AnkrProvider,CloudflareProvider:NLe.CloudflareProvider,EtherscanProvider:OLe.EtherscanProvider,InfuraProvider:Nfe.InfuraProvider,JsonRpcProvider:iz.JsonRpcProvider,NodesmithProvider:zLe.NodesmithProvider,PocketProvider:WLe.PocketProvider,Web3Provider:jLe.Web3Provider,IpcProvider:HLe.IpcProvider},e)}bt.getDefaultProvider=Jet});var QLe=D(cz=>{"use strict";u();p();Object.defineProperty(cz,"__esModule",{value:!0});cz.version=void 0;cz.version="solidity/5.7.0"});var Ufe=D(um=>{"use strict";u();p();Object.defineProperty(um,"__esModule",{value:!0});um.sha256=um.keccak256=um.pack=void 0;var Xet=ia(),gl=Vt(),Zet=H1(),e0t=v7(),t0t=Ai(),n0t=new RegExp("^bytes([0-9]+)$"),a0t=new RegExp("^(u?int)([0-9]*)$"),r0t=new RegExp("^(.*)\\[([0-9]*)\\]$"),f0t="0000000000000000000000000000000000000000000000000000000000000000",i0t=Ft(),s0t=QLe(),KT=new i0t.Logger(s0t.version);function VLe(t,e,n){switch(t){case"address":return n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e);case"string":return(0,t0t.toUtf8Bytes)(e);case"bytes":return(0,gl.arrayify)(e);case"bool":return e=e?"0x01":"0x00",n?(0,gl.zeroPad)(e,32):(0,gl.arrayify)(e)}var a=t.match(a0t);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&KT.throwArgumentError("invalid number type","type",t),n&&(r=256),e=Xet.BigNumber.from(e).toTwos(r),(0,gl.zeroPad)(e,r/8)}if(a=t.match(n0t),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&KT.throwArgumentError("invalid bytes type","type",t),(0,gl.arrayify)(e).byteLength!==r&&KT.throwArgumentError("invalid value for "+t,"value",e),n?(0,gl.arrayify)((e+f0t).substring(0,66)):e}if(a=t.match(r0t),a&&Array.isArray(e)){var f=a[1],i=parseInt(a[2]||String(e.length));i!=e.length&&KT.throwArgumentError("invalid array length for "+t,"value",e);var s=[];return e.forEach(function(o){s.push(VLe(f,o,!0))}),(0,gl.concat)(s)}return KT.throwArgumentError("invalid type","type",t)}function Ofe(t,e){t.length!=e.length&&KT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var n=[];return t.forEach(function(a,r){n.push(VLe(a,e[r]))}),(0,gl.hexlify)((0,gl.concat)(n))}um.pack=Ofe;function o0t(t,e){return(0,Zet.keccak256)(Ofe(t,e))}um.keccak256=o0t;function c0t(t,e){return(0,e0t.sha256)(Ofe(t,e))}um.sha256=c0t});var YLe=D(dz=>{"use strict";u();p();Object.defineProperty(dz,"__esModule",{value:!0});dz.version=void 0;dz.version="units/5.7.0"});var tFe=D(Qd=>{"use strict";u();p();Object.defineProperty(Qd,"__esModule",{value:!0});Qd.parseEther=Qd.formatEther=Qd.parseUnits=Qd.formatUnits=Qd.commify=void 0;var $Le=ia(),d0t=Ft(),l0t=YLe(),JLe=new d0t.Logger(l0t.version),XLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function u0t(t){var e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&JLe.throwArgumentError("invalid value","value",t);var n=e[0],a="";for(n.substring(0,1)==="-"&&(a="-",n=n.substring(1));n.substring(0,1)==="0";)n=n.substring(1);n===""&&(n="0");var r="";for(e.length===2&&(r="."+(e[1]||"0"));r.length>2&&r[r.length-1]==="0";)r=r.substring(0,r.length-1);for(var f=[];n.length;)if(n.length<=3){f.unshift(n);break}else{var i=n.length-3;f.unshift(n.substring(i)),n=n.substring(0,i)}return a+f.join(",")+r}Qd.commify=u0t;function ZLe(t,e){if(typeof e=="string"){var n=XLe.indexOf(e);n!==-1&&(e=3*n)}return(0,$Le.formatFixed)(t,e??18)}Qd.formatUnits=ZLe;function eFe(t,e){if(typeof t!="string"&&JLe.throwArgumentError("value must be a string","value",t),typeof e=="string"){var n=XLe.indexOf(e);n!==-1&&(e=3*n)}return(0,$Le.parseFixed)(t,e??18)}Qd.parseUnits=eFe;function p0t(t){return ZLe(t,18)}Qd.formatEther=p0t;function h0t(t){return eFe(t,18)}Qd.parseEther=h0t});var C7=D(ke=>{"use strict";u();p();var m0t=ke&&ke.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),b0t=ke&&ke.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nFe=ke&&ke.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&m0t(e,t,n);return b0t(e,t),e};Object.defineProperty(ke,"__esModule",{value:!0});ke.formatBytes32String=ke.Utf8ErrorFuncs=ke.toUtf8String=ke.toUtf8CodePoints=ke.toUtf8Bytes=ke._toEscapedUtf8String=ke.nameprep=ke.hexDataSlice=ke.hexDataLength=ke.hexZeroPad=ke.hexValue=ke.hexStripZeros=ke.hexConcat=ke.isHexString=ke.hexlify=ke.base64=ke.base58=ke.TransactionDescription=ke.LogDescription=ke.Interface=ke.SigningKey=ke.HDNode=ke.defaultPath=ke.isBytesLike=ke.isBytes=ke.zeroPad=ke.stripZeros=ke.concat=ke.arrayify=ke.shallowCopy=ke.resolveProperties=ke.getStatic=ke.defineReadOnly=ke.deepCopy=ke.checkProperties=ke.poll=ke.fetchJson=ke._fetchData=ke.RLP=ke.Logger=ke.checkResultErrors=ke.FormatTypes=ke.ParamType=ke.FunctionFragment=ke.EventFragment=ke.ErrorFragment=ke.ConstructorFragment=ke.Fragment=ke.defaultAbiCoder=ke.AbiCoder=void 0;ke.Indexed=ke.Utf8ErrorReason=ke.UnicodeNormalizationForm=ke.SupportedAlgorithm=ke.mnemonicToSeed=ke.isValidMnemonic=ke.entropyToMnemonic=ke.mnemonicToEntropy=ke.getAccountPath=ke.verifyTypedData=ke.verifyMessage=ke.recoverPublicKey=ke.computePublicKey=ke.recoverAddress=ke.computeAddress=ke.getJsonWalletAddress=ke.TransactionTypes=ke.serializeTransaction=ke.parseTransaction=ke.accessListify=ke.joinSignature=ke.splitSignature=ke.soliditySha256=ke.solidityKeccak256=ke.solidityPack=ke.shuffled=ke.randomBytes=ke.sha512=ke.sha256=ke.ripemd160=ke.keccak256=ke.computeHmac=ke.commify=ke.parseUnits=ke.formatUnits=ke.parseEther=ke.formatEther=ke.isAddress=ke.getCreate2Address=ke.getContractAddress=ke.getIcapAddress=ke.getAddress=ke._TypedDataEncoder=ke.id=ke.isValidName=ke.namehash=ke.hashMessage=ke.dnsEncode=ke.parseBytes32String=void 0;var Oc=Tw();Object.defineProperty(ke,"AbiCoder",{enumerable:!0,get:function(){return Oc.AbiCoder}});Object.defineProperty(ke,"checkResultErrors",{enumerable:!0,get:function(){return Oc.checkResultErrors}});Object.defineProperty(ke,"ConstructorFragment",{enumerable:!0,get:function(){return Oc.ConstructorFragment}});Object.defineProperty(ke,"defaultAbiCoder",{enumerable:!0,get:function(){return Oc.defaultAbiCoder}});Object.defineProperty(ke,"ErrorFragment",{enumerable:!0,get:function(){return Oc.ErrorFragment}});Object.defineProperty(ke,"EventFragment",{enumerable:!0,get:function(){return Oc.EventFragment}});Object.defineProperty(ke,"FormatTypes",{enumerable:!0,get:function(){return Oc.FormatTypes}});Object.defineProperty(ke,"Fragment",{enumerable:!0,get:function(){return Oc.Fragment}});Object.defineProperty(ke,"FunctionFragment",{enumerable:!0,get:function(){return Oc.FunctionFragment}});Object.defineProperty(ke,"Indexed",{enumerable:!0,get:function(){return Oc.Indexed}});Object.defineProperty(ke,"Interface",{enumerable:!0,get:function(){return Oc.Interface}});Object.defineProperty(ke,"LogDescription",{enumerable:!0,get:function(){return Oc.LogDescription}});Object.defineProperty(ke,"ParamType",{enumerable:!0,get:function(){return Oc.ParamType}});Object.defineProperty(ke,"TransactionDescription",{enumerable:!0,get:function(){return Oc.TransactionDescription}});var hS=Po();Object.defineProperty(ke,"getAddress",{enumerable:!0,get:function(){return hS.getAddress}});Object.defineProperty(ke,"getCreate2Address",{enumerable:!0,get:function(){return hS.getCreate2Address}});Object.defineProperty(ke,"getContractAddress",{enumerable:!0,get:function(){return hS.getContractAddress}});Object.defineProperty(ke,"getIcapAddress",{enumerable:!0,get:function(){return hS.getIcapAddress}});Object.defineProperty(ke,"isAddress",{enumerable:!0,get:function(){return hS.isAddress}});var y0t=nFe(TC());ke.base64=y0t;var g0t=cH();Object.defineProperty(ke,"base58",{enumerable:!0,get:function(){return g0t.Base58}});var Jo=Vt();Object.defineProperty(ke,"arrayify",{enumerable:!0,get:function(){return Jo.arrayify}});Object.defineProperty(ke,"concat",{enumerable:!0,get:function(){return Jo.concat}});Object.defineProperty(ke,"hexConcat",{enumerable:!0,get:function(){return Jo.hexConcat}});Object.defineProperty(ke,"hexDataSlice",{enumerable:!0,get:function(){return Jo.hexDataSlice}});Object.defineProperty(ke,"hexDataLength",{enumerable:!0,get:function(){return Jo.hexDataLength}});Object.defineProperty(ke,"hexlify",{enumerable:!0,get:function(){return Jo.hexlify}});Object.defineProperty(ke,"hexStripZeros",{enumerable:!0,get:function(){return Jo.hexStripZeros}});Object.defineProperty(ke,"hexValue",{enumerable:!0,get:function(){return Jo.hexValue}});Object.defineProperty(ke,"hexZeroPad",{enumerable:!0,get:function(){return Jo.hexZeroPad}});Object.defineProperty(ke,"isBytes",{enumerable:!0,get:function(){return Jo.isBytes}});Object.defineProperty(ke,"isBytesLike",{enumerable:!0,get:function(){return Jo.isBytesLike}});Object.defineProperty(ke,"isHexString",{enumerable:!0,get:function(){return Jo.isHexString}});Object.defineProperty(ke,"joinSignature",{enumerable:!0,get:function(){return Jo.joinSignature}});Object.defineProperty(ke,"zeroPad",{enumerable:!0,get:function(){return Jo.zeroPad}});Object.defineProperty(ke,"splitSignature",{enumerable:!0,get:function(){return Jo.splitSignature}});Object.defineProperty(ke,"stripZeros",{enumerable:!0,get:function(){return Jo.stripZeros}});var QT=I3();Object.defineProperty(ke,"_TypedDataEncoder",{enumerable:!0,get:function(){return QT._TypedDataEncoder}});Object.defineProperty(ke,"dnsEncode",{enumerable:!0,get:function(){return QT.dnsEncode}});Object.defineProperty(ke,"hashMessage",{enumerable:!0,get:function(){return QT.hashMessage}});Object.defineProperty(ke,"id",{enumerable:!0,get:function(){return QT.id}});Object.defineProperty(ke,"isValidName",{enumerable:!0,get:function(){return QT.isValidName}});Object.defineProperty(ke,"namehash",{enumerable:!0,get:function(){return QT.namehash}});var I7=_H();Object.defineProperty(ke,"defaultPath",{enumerable:!0,get:function(){return I7.defaultPath}});Object.defineProperty(ke,"entropyToMnemonic",{enumerable:!0,get:function(){return I7.entropyToMnemonic}});Object.defineProperty(ke,"getAccountPath",{enumerable:!0,get:function(){return I7.getAccountPath}});Object.defineProperty(ke,"HDNode",{enumerable:!0,get:function(){return I7.HDNode}});Object.defineProperty(ke,"isValidMnemonic",{enumerable:!0,get:function(){return I7.isValidMnemonic}});Object.defineProperty(ke,"mnemonicToEntropy",{enumerable:!0,get:function(){return I7.mnemonicToEntropy}});Object.defineProperty(ke,"mnemonicToSeed",{enumerable:!0,get:function(){return I7.mnemonicToSeed}});var v0t=ufe();Object.defineProperty(ke,"getJsonWalletAddress",{enumerable:!0,get:function(){return v0t.getJsonWalletAddress}});var w0t=H1();Object.defineProperty(ke,"keccak256",{enumerable:!0,get:function(){return w0t.keccak256}});var T0t=Ft();Object.defineProperty(ke,"Logger",{enumerable:!0,get:function(){return T0t.Logger}});var lz=v7();Object.defineProperty(ke,"computeHmac",{enumerable:!0,get:function(){return lz.computeHmac}});Object.defineProperty(ke,"ripemd160",{enumerable:!0,get:function(){return lz.ripemd160}});Object.defineProperty(ke,"sha256",{enumerable:!0,get:function(){return lz.sha256}});Object.defineProperty(ke,"sha512",{enumerable:!0,get:function(){return lz.sha512}});var Hfe=Ufe();Object.defineProperty(ke,"solidityKeccak256",{enumerable:!0,get:function(){return Hfe.keccak256}});Object.defineProperty(ke,"solidityPack",{enumerable:!0,get:function(){return Hfe.pack}});Object.defineProperty(ke,"soliditySha256",{enumerable:!0,get:function(){return Hfe.sha256}});var aFe=$k();Object.defineProperty(ke,"randomBytes",{enumerable:!0,get:function(){return aFe.randomBytes}});Object.defineProperty(ke,"shuffled",{enumerable:!0,get:function(){return aFe.shuffled}});var VT=Ba();Object.defineProperty(ke,"checkProperties",{enumerable:!0,get:function(){return VT.checkProperties}});Object.defineProperty(ke,"deepCopy",{enumerable:!0,get:function(){return VT.deepCopy}});Object.defineProperty(ke,"defineReadOnly",{enumerable:!0,get:function(){return VT.defineReadOnly}});Object.defineProperty(ke,"getStatic",{enumerable:!0,get:function(){return VT.getStatic}});Object.defineProperty(ke,"resolveProperties",{enumerable:!0,get:function(){return VT.resolveProperties}});Object.defineProperty(ke,"shallowCopy",{enumerable:!0,get:function(){return VT.shallowCopy}});var x0t=nFe(vC());ke.RLP=x0t;var zfe=Pk();Object.defineProperty(ke,"computePublicKey",{enumerable:!0,get:function(){return zfe.computePublicKey}});Object.defineProperty(ke,"recoverPublicKey",{enumerable:!0,get:function(){return zfe.recoverPublicKey}});Object.defineProperty(ke,"SigningKey",{enumerable:!0,get:function(){return zfe.SigningKey}});var pm=Ai();Object.defineProperty(ke,"formatBytes32String",{enumerable:!0,get:function(){return pm.formatBytes32String}});Object.defineProperty(ke,"nameprep",{enumerable:!0,get:function(){return pm.nameprep}});Object.defineProperty(ke,"parseBytes32String",{enumerable:!0,get:function(){return pm.parseBytes32String}});Object.defineProperty(ke,"_toEscapedUtf8String",{enumerable:!0,get:function(){return pm._toEscapedUtf8String}});Object.defineProperty(ke,"toUtf8Bytes",{enumerable:!0,get:function(){return pm.toUtf8Bytes}});Object.defineProperty(ke,"toUtf8CodePoints",{enumerable:!0,get:function(){return pm.toUtf8CodePoints}});Object.defineProperty(ke,"toUtf8String",{enumerable:!0,get:function(){return pm.toUtf8String}});Object.defineProperty(ke,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return pm.Utf8ErrorFuncs}});var YT=Nu();Object.defineProperty(ke,"accessListify",{enumerable:!0,get:function(){return YT.accessListify}});Object.defineProperty(ke,"computeAddress",{enumerable:!0,get:function(){return YT.computeAddress}});Object.defineProperty(ke,"parseTransaction",{enumerable:!0,get:function(){return YT.parse}});Object.defineProperty(ke,"recoverAddress",{enumerable:!0,get:function(){return YT.recoverAddress}});Object.defineProperty(ke,"serializeTransaction",{enumerable:!0,get:function(){return YT.serialize}});Object.defineProperty(ke,"TransactionTypes",{enumerable:!0,get:function(){return YT.TransactionTypes}});var mS=tFe();Object.defineProperty(ke,"commify",{enumerable:!0,get:function(){return mS.commify}});Object.defineProperty(ke,"formatEther",{enumerable:!0,get:function(){return mS.formatEther}});Object.defineProperty(ke,"parseEther",{enumerable:!0,get:function(){return mS.parseEther}});Object.defineProperty(ke,"formatUnits",{enumerable:!0,get:function(){return mS.formatUnits}});Object.defineProperty(ke,"parseUnits",{enumerable:!0,get:function(){return mS.parseUnits}});var rFe=mfe();Object.defineProperty(ke,"verifyMessage",{enumerable:!0,get:function(){return rFe.verifyMessage}});Object.defineProperty(ke,"verifyTypedData",{enumerable:!0,get:function(){return rFe.verifyTypedData}});var Wfe=C8();Object.defineProperty(ke,"_fetchData",{enumerable:!0,get:function(){return Wfe._fetchData}});Object.defineProperty(ke,"fetchJson",{enumerable:!0,get:function(){return Wfe.fetchJson}});Object.defineProperty(ke,"poll",{enumerable:!0,get:function(){return Wfe.poll}});var E0t=v7();Object.defineProperty(ke,"SupportedAlgorithm",{enumerable:!0,get:function(){return E0t.SupportedAlgorithm}});var fFe=Ai();Object.defineProperty(ke,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return fFe.UnicodeNormalizationForm}});Object.defineProperty(ke,"Utf8ErrorReason",{enumerable:!0,get:function(){return fFe.Utf8ErrorReason}})});var iFe=D(uz=>{"use strict";u();p();Object.defineProperty(uz,"__esModule",{value:!0});uz.version=void 0;uz.version="ethers/5.7.2"});var Gfe=D(dn=>{"use strict";u();p();var _0t=dn&&dn.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),A0t=dn&&dn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qfe=dn&&dn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&_0t(e,t,n);return A0t(e,t),e};Object.defineProperty(dn,"__esModule",{value:!0});dn.Wordlist=dn.version=dn.wordlists=dn.utils=dn.logger=dn.errors=dn.constants=dn.FixedNumber=dn.BigNumber=dn.ContractFactory=dn.Contract=dn.BaseContract=dn.providers=dn.getDefaultProvider=dn.VoidSigner=dn.Wallet=dn.Signer=void 0;var jfe=UBe();Object.defineProperty(dn,"BaseContract",{enumerable:!0,get:function(){return jfe.BaseContract}});Object.defineProperty(dn,"Contract",{enumerable:!0,get:function(){return jfe.Contract}});Object.defineProperty(dn,"ContractFactory",{enumerable:!0,get:function(){return jfe.ContractFactory}});var sFe=ia();Object.defineProperty(dn,"BigNumber",{enumerable:!0,get:function(){return sFe.BigNumber}});Object.defineProperty(dn,"FixedNumber",{enumerable:!0,get:function(){return sFe.FixedNumber}});var oFe=i8();Object.defineProperty(dn,"Signer",{enumerable:!0,get:function(){return oFe.Signer}});Object.defineProperty(dn,"VoidSigner",{enumerable:!0,get:function(){return oFe.VoidSigner}});var I0t=mfe();Object.defineProperty(dn,"Wallet",{enumerable:!0,get:function(){return I0t.Wallet}});var C0t=qfe(_3());dn.constants=C0t;var k0t=qfe(oz());dn.providers=k0t;var S0t=oz();Object.defineProperty(dn,"getDefaultProvider",{enumerable:!0,get:function(){return S0t.getDefaultProvider}});var cFe=Zre();Object.defineProperty(dn,"Wordlist",{enumerable:!0,get:function(){return cFe.Wordlist}});Object.defineProperty(dn,"wordlists",{enumerable:!0,get:function(){return cFe.wordlists}});var R0t=qfe(C7());dn.utils=R0t;var dFe=Ft();Object.defineProperty(dn,"errors",{enumerable:!0,get:function(){return dFe.ErrorCode}});var lFe=iFe();Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return lFe.version}});var M0t=new dFe.Logger(lFe.version);dn.logger=M0t});var Je=D(Jt=>{"use strict";u();p();var B0t=Jt&&Jt.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),D0t=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),P0t=Jt&&Jt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&B0t(e,t,n);return D0t(e,t),e};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.Wordlist=Jt.version=Jt.wordlists=Jt.utils=Jt.logger=Jt.errors=Jt.constants=Jt.FixedNumber=Jt.BigNumber=Jt.ContractFactory=Jt.Contract=Jt.BaseContract=Jt.providers=Jt.getDefaultProvider=Jt.VoidSigner=Jt.Wallet=Jt.Signer=Jt.ethers=void 0;var uFe=P0t(Gfe());Jt.ethers=uFe;try{Kfe=window,Kfe._ethers==null&&(Kfe._ethers=uFe)}catch{}var Kfe,fo=Gfe();Object.defineProperty(Jt,"Signer",{enumerable:!0,get:function(){return fo.Signer}});Object.defineProperty(Jt,"Wallet",{enumerable:!0,get:function(){return fo.Wallet}});Object.defineProperty(Jt,"VoidSigner",{enumerable:!0,get:function(){return fo.VoidSigner}});Object.defineProperty(Jt,"getDefaultProvider",{enumerable:!0,get:function(){return fo.getDefaultProvider}});Object.defineProperty(Jt,"providers",{enumerable:!0,get:function(){return fo.providers}});Object.defineProperty(Jt,"BaseContract",{enumerable:!0,get:function(){return fo.BaseContract}});Object.defineProperty(Jt,"Contract",{enumerable:!0,get:function(){return fo.Contract}});Object.defineProperty(Jt,"ContractFactory",{enumerable:!0,get:function(){return fo.ContractFactory}});Object.defineProperty(Jt,"BigNumber",{enumerable:!0,get:function(){return fo.BigNumber}});Object.defineProperty(Jt,"FixedNumber",{enumerable:!0,get:function(){return fo.FixedNumber}});Object.defineProperty(Jt,"constants",{enumerable:!0,get:function(){return fo.constants}});Object.defineProperty(Jt,"errors",{enumerable:!0,get:function(){return fo.errors}});Object.defineProperty(Jt,"logger",{enumerable:!0,get:function(){return fo.logger}});Object.defineProperty(Jt,"utils",{enumerable:!0,get:function(){return fo.utils}});Object.defineProperty(Jt,"wordlists",{enumerable:!0,get:function(){return fo.wordlists}});Object.defineProperty(Jt,"version",{enumerable:!0,get:function(){return fo.version}});Object.defineProperty(Jt,"Wordlist",{enumerable:!0,get:function(){return fo.Wordlist}})});function O0t(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){U0t(t);return}return e}function U0t(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function bS(t,e={}){if(typeof t!="string")return t;let n=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){let a=n.toLowerCase();if(a==="true")return!0;if(a==="false")return!1;if(a==="undefined")return;if(a==="null")return null;if(a==="nan")return Number.NaN;if(a==="infinity")return Number.POSITIVE_INFINITY;if(a==="-infinity")return Number.NEGATIVE_INFINITY}if(!N0t.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(L0t.test(t)||F0t.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,O0t)}return JSON.parse(t)}catch(a){if(e.strict)throw a;return t}}var L0t,F0t,N0t,pFe=oe(()=>{u();p();L0t=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,F0t=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,N0t=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function H0t(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Zi(t,...e){try{return H0t(t(...e))}catch(n){return Promise.reject(n)}}function z0t(t){let e=typeof t;return t===null||e!=="object"&&e!=="function"}function W0t(t){let e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function yS(t){if(z0t(t))return String(t);if(W0t(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return yS(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function hFe(){if(typeof _.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function mFe(t){if(typeof t=="string")return t;hFe();let e=_.Buffer.from(t).toString("base64");return Qfe+e}function bFe(t){return typeof t!="string"||!t.startsWith(Qfe)?t:(hFe(),_.Buffer.from(t.slice(Qfe.length),"base64"))}function W1(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function yFe(...t){return W1(t.join(":"))}function gS(t){return t=W1(t),t?t+":":""}var Qfe,gFe=oe(()=>{u();p();Qfe="base64:"});function TFe(t={}){let e={mounts:{"":t.driver||j0t()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=c=>{for(let d of e.mountpoints)if(c.startsWith(d))return{base:d,relativeKey:c.slice(d.length),driver:e.mounts[d]};return{base:"",relativeKey:c,driver:e.mounts[""]}},a=(c,d)=>e.mountpoints.filter(l=>l.startsWith(c)||d&&c.startsWith(l)).map(l=>({relativeBase:c.length>l.length?c.slice(l.length):void 0,mountpoint:l,driver:e.mounts[l]})),r=(c,d)=>{if(e.watching){d=W1(d);for(let l of e.watchListeners)l(c,d)}},f=async()=>{if(!e.watching){e.watching=!0;for(let c in e.mounts)e.unwatch[c]=await vFe(e.mounts[c],r,c)}},i=async()=>{if(e.watching){for(let c in e.unwatch)await e.unwatch[c]();e.unwatch={},e.watching=!1}},s=(c,d,l)=>{let h=new Map,y=v=>{let k=h.get(v.base);return k||(k={driver:v.driver,base:v.base,items:[]},h.set(v.base,k)),k};for(let v of c){let k=typeof v=="string",O=W1(k?v:v.key),F=k?void 0:v.value,z=k||!v.options?d:{...d,...v.options},W=n(O);y(W).items.push({key:O,value:F,relativeKey:W.relativeKey,options:z})}return Promise.all([...h.values()].map(v=>l(v))).then(v=>v.flat())},o={hasItem(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.hasItem,l,d)},getItem(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return Zi(h.getItem,l,d).then(y=>bS(y))},getItems(c,d){return s(c,d,l=>l.driver.getItems?Zi(l.driver.getItems,l.items.map(h=>({key:h.relativeKey,options:h.options})),d).then(h=>h.map(y=>({key:yFe(l.base,y.key),value:bS(y.value)}))):Promise.all(l.items.map(h=>Zi(l.driver.getItem,h.relativeKey,h.options).then(y=>({key:h.key,value:bS(y)})))))},getItemRaw(c,d={}){c=W1(c);let{relativeKey:l,driver:h}=n(c);return h.getItemRaw?Zi(h.getItemRaw,l,d):Zi(h.getItem,l,d).then(y=>bFe(y))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=W1(c);let{relativeKey:h,driver:y}=n(c);y.setItem&&(await Zi(y.setItem,h,yS(d),l),y.watch||r("update",c))},async setItems(c,d){await s(c,d,async l=>{if(l.driver.setItems)return Zi(l.driver.setItems,l.items.map(h=>({key:h.relativeKey,value:yS(h.value),options:h.options})),d);l.driver.setItem&&await Promise.all(l.items.map(h=>Zi(l.driver.setItem,h.relativeKey,yS(h.value),h.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=W1(c);let{relativeKey:h,driver:y}=n(c);if(y.setItemRaw)await Zi(y.setItemRaw,h,d,l);else if(y.setItem)await Zi(y.setItem,h,mFe(d),l);else return;y.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c);h.removeItem&&(await Zi(h.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Zi(h.removeItem,l+"$",d),h.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=W1(c);let{relativeKey:l,driver:h}=n(c),y=Object.create(null);if(h.getMeta&&Object.assign(y,await Zi(h.getMeta,l,d)),!d.nativeOnly){let v=await Zi(h.getItem,l+"$",d).then(k=>bS(k));v&&typeof v=="object"&&(typeof v.atime=="string"&&(v.atime=new Date(v.atime)),typeof v.mtime=="string"&&(v.mtime=new Date(v.mtime)),Object.assign(y,v))}return y},setMeta(c,d,l={}){return this.setItem(c+"$",d,l)},removeMeta(c,d={}){return this.removeItem(c+"$",d)},async getKeys(c,d={}){c=gS(c);let l=a(c,!0),h=[],y=[];for(let v of l){let O=(await Zi(v.driver.getKeys,v.relativeBase,d)).map(F=>v.mountpoint+W1(F)).filter(F=>!h.some(z=>F.startsWith(z)));y.push(...O),h=[v.mountpoint,...h.filter(F=>!F.startsWith(v.mountpoint))]}return c?y.filter(v=>v.startsWith(c)&&!v.endsWith("$")):y.filter(v=>!v.endsWith("$"))},async clear(c,d={}){c=gS(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Zi(l.driver.clear,l.relativeBase,d);if(l.driver.removeItem){let h=await l.driver.getKeys(l.relativeBase||"",d);return Promise.all(h.map(y=>l.driver.removeItem(y,d)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(c=>wFe(c)))},async watch(c){return await f(),e.watchListeners.push(c),async()=>{e.watchListeners=e.watchListeners.filter(d=>d!==c),e.watchListeners.length===0&&await i()}},async unwatch(){e.watchListeners=[],await i()},mount(c,d){if(c=gS(c),c&&e.mounts[c])throw new Error(`already mounted at ${c}`);return c&&(e.mountpoints.push(c),e.mountpoints.sort((l,h)=>h.length-l.length)),e.mounts[c]=d,e.watching&&Promise.resolve(vFe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=gS(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await wFe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=W1(c)+":";let d=n(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=W1(c),a(c,d.parents).map(h=>({driver:h.driver,base:h.mountpoint}))}};return o}function vFe(t,e,n){return t.watch?t.watch((a,r)=>e(a,n+r)):()=>{}}async function wFe(t){typeof t.dispose=="function"&&await Zi(t.dispose)}var q0t,j0t,xFe=oe(()=>{u();p();pFe();gFe();q0t="memory",j0t=()=>{let t=new Map;return{name:q0t,options:{},hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}}});function k7(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Yfe(t,e){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);let a=k7(n);return(r,f)=>a.then(i=>f(i.transaction(e,r).objectStore(e)))}function vS(){return Vfe||(Vfe=Yfe("keyval-store","keyval")),Vfe}function $fe(t,e=vS()){return e("readonly",n=>k7(n.get(t)))}function EFe(t,e,n=vS()){return n("readwrite",a=>(a.put(e,t),k7(a.transaction)))}function _Fe(t,e=vS()){return e("readwrite",n=>(n.delete(t),k7(n.transaction)))}function AFe(t=vS()){return t("readwrite",e=>(e.clear(),k7(e.transaction)))}function G0t(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},k7(t.transaction)}function IFe(t=vS()){return t("readonly",e=>{if(e.getAllKeys)return k7(e.getAllKeys());let n=[];return G0t(e,a=>n.push(a.key)).then(()=>n)})}var Vfe,CFe=oe(()=>{u();p()});function $u(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return Q0t(t)}catch{return t}}function q1(t){return typeof t=="string"?t:K0t(t)||""}var K0t,Q0t,S7=oe(()=>{u();p();K0t=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),Q0t=t=>{let e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(a,r)=>typeof r=="string"&&r.match(/^\d+n$/)?BigInt(r.substring(0,r.length-1)):r)}});function X0t(t){var e;return[t[0],$u((e=t[1])!=null?e:"")]}var V0t,Y0t,$0t,J0t,Xfe,Jfe,pz,Zfe,Z0t,kFe,ett,ttt,hz,SFe=oe(()=>{u();p();xFe();CFe();S7();V0t="idb-keyval",Y0t=(t={})=>{let e=t.base&&t.base.length>0?`${t.base}:`:"",n=r=>e+r,a;return t.dbName&&t.storeName&&(a=Yfe(t.dbName,t.storeName)),{name:V0t,options:t,async hasItem(r){return!(typeof await $fe(n(r),a)>"u")},async getItem(r){return await $fe(n(r),a)??null},setItem(r,f){return EFe(n(r),f,a)},removeItem(r){return _Fe(n(r),a)},getKeys(){return IFe(a)},clear(){return AFe(a)}}},$0t="WALLET_CONNECT_V2_INDEXED_DB",J0t="keyvaluestorage",Xfe=class{constructor(){this.indexedDb=TFe({driver:Y0t({dbName:$0t,storeName:J0t})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){let n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,q1(n))}async removeItem(e){await this.indexedDb.removeItem(e)}},Jfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pz={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,a){this[n]=String(a)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){let n=this;Object.keys(n).forEach(function(a){n[a]=void 0,delete n[a]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof Jfe<"u"&&Jfe.localStorage?pz.exports=Jfe.localStorage:typeof window<"u"&&window.localStorage?pz.exports=window.localStorage:pz.exports=new e})();Zfe=class{constructor(){this.localStorage=pz.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(X0t)}async getItem(e){let n=this.localStorage.getItem(e);if(n!==null)return $u(n)}async setItem(e,n){this.localStorage.setItem(e,q1(n))}async removeItem(e){this.localStorage.removeItem(e)}},Z0t="wc_storage_version",kFe=1,ett=async(t,e,n)=>{let a=Z0t,r=await e.getItem(a);if(r&&r>=kFe){n(e);return}let f=await t.getKeys();if(!f.length){n(e);return}let i=[];for(;f.length;){let s=f.shift();if(!s)continue;let o=s.toLowerCase();if(o.includes("wc@")||o.includes("walletconnect")||o.includes("wc_")||o.includes("wallet_connect")){let c=await t.getItem(s);await e.setItem(s,c),i.push(s)}}await e.setItem(a,kFe),n(e),ttt(t,i)},ttt=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})},hz=class{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};let e=new Zfe;this.storage=e;try{let n=new Xfe;ett(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{let n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}});var Ju={};G0(Ju,{__assign:()=>tie,__asyncDelegator:()=>htt,__asyncGenerator:()=>ptt,__asyncValues:()=>mtt,__await:()=>wS,__awaiter:()=>stt,__classPrivateFieldGet:()=>vtt,__classPrivateFieldSet:()=>wtt,__createBinding:()=>ctt,__decorate:()=>rtt,__exportStar:()=>dtt,__extends:()=>ntt,__generator:()=>ott,__importDefault:()=>gtt,__importStar:()=>ytt,__makeTemplateObject:()=>btt,__metadata:()=>itt,__param:()=>ftt,__read:()=>RFe,__rest:()=>att,__spread:()=>ltt,__spreadArrays:()=>utt,__values:()=>nie});function ntt(t,e){eie(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function att(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function ftt(t,e){return function(n,a){e(n,a,t)}}function itt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function stt(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function ott(t,e){var n={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},a,r,f,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(f=c[0]&2?r.return:c[0]?r.throw||((f=r.return)&&f.call(r),0):r.next)&&!(f=f.call(r,c[1])).done)return f;switch(r=0,f&&(c=[c[0]&2,f.value]),c[0]){case 0:case 1:f=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(f=n.trys,!(f=f.length>0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function RFe(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function ltt(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof wS?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function htt(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:wS(t[r](i)),done:r==="return"}:f?f(i):i}:f}}function mtt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof nie=="function"?nie(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function btt(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ytt(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function gtt(t){return t&&t.__esModule?t:{default:t}}function vtt(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function wtt(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var eie,tie,Xu=oe(()=>{u();p();eie=function(t,e){return eie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)a.hasOwnProperty(r)&&(n[r]=a[r])},eie(t,e)};tie=function(){return tie=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{"use strict";u();p();Object.defineProperty(mz,"__esModule",{value:!0});mz.delay=void 0;function Ttt(t){return new Promise(e=>{setTimeout(()=>{e(!0)},t)})}mz.delay=Ttt});var BFe=D($T=>{"use strict";u();p();Object.defineProperty($T,"__esModule",{value:!0});$T.ONE_THOUSAND=$T.ONE_HUNDRED=void 0;$T.ONE_HUNDRED=100;$T.ONE_THOUSAND=1e3});var DFe=D(X0=>{"use strict";u();p();Object.defineProperty(X0,"__esModule",{value:!0});X0.ONE_YEAR=X0.FOUR_WEEKS=X0.THREE_WEEKS=X0.TWO_WEEKS=X0.ONE_WEEK=X0.THIRTY_DAYS=X0.SEVEN_DAYS=X0.FIVE_DAYS=X0.THREE_DAYS=X0.ONE_DAY=X0.TWENTY_FOUR_HOURS=X0.TWELVE_HOURS=X0.SIX_HOURS=X0.THREE_HOURS=X0.ONE_HOUR=X0.SIXTY_MINUTES=X0.THIRTY_MINUTES=X0.TEN_MINUTES=X0.FIVE_MINUTES=X0.ONE_MINUTE=X0.SIXTY_SECONDS=X0.THIRTY_SECONDS=X0.TEN_SECONDS=X0.FIVE_SECONDS=X0.ONE_SECOND=void 0;X0.ONE_SECOND=1;X0.FIVE_SECONDS=5;X0.TEN_SECONDS=10;X0.THIRTY_SECONDS=30;X0.SIXTY_SECONDS=60;X0.ONE_MINUTE=X0.SIXTY_SECONDS;X0.FIVE_MINUTES=X0.ONE_MINUTE*5;X0.TEN_MINUTES=X0.ONE_MINUTE*10;X0.THIRTY_MINUTES=X0.ONE_MINUTE*30;X0.SIXTY_MINUTES=X0.ONE_MINUTE*60;X0.ONE_HOUR=X0.SIXTY_MINUTES;X0.THREE_HOURS=X0.ONE_HOUR*3;X0.SIX_HOURS=X0.ONE_HOUR*6;X0.TWELVE_HOURS=X0.ONE_HOUR*12;X0.TWENTY_FOUR_HOURS=X0.ONE_HOUR*24;X0.ONE_DAY=X0.TWENTY_FOUR_HOURS;X0.THREE_DAYS=X0.ONE_DAY*3;X0.FIVE_DAYS=X0.ONE_DAY*5;X0.SEVEN_DAYS=X0.ONE_DAY*7;X0.THIRTY_DAYS=X0.ONE_DAY*30;X0.ONE_WEEK=X0.SEVEN_DAYS;X0.TWO_WEEKS=X0.ONE_WEEK*2;X0.THREE_WEEKS=X0.ONE_WEEK*3;X0.FOUR_WEEKS=X0.ONE_WEEK*4;X0.ONE_YEAR=X0.ONE_DAY*365});var aie=D(bz=>{"use strict";u();p();Object.defineProperty(bz,"__esModule",{value:!0});var PFe=(Xu(),vn(Ju));PFe.__exportStar(BFe(),bz);PFe.__exportStar(DFe(),bz)});var FFe=D(JT=>{"use strict";u();p();Object.defineProperty(JT,"__esModule",{value:!0});JT.fromMiliseconds=JT.toMiliseconds=void 0;var LFe=aie();function xtt(t){return t*LFe.ONE_THOUSAND}JT.toMiliseconds=xtt;function Ett(t){return Math.floor(t/LFe.ONE_THOUSAND)}JT.fromMiliseconds=Ett});var OFe=D(yz=>{"use strict";u();p();Object.defineProperty(yz,"__esModule",{value:!0});var NFe=(Xu(),vn(Ju));NFe.__exportStar(MFe(),yz);NFe.__exportStar(FFe(),yz)});var UFe=D(TS=>{"use strict";u();p();Object.defineProperty(TS,"__esModule",{value:!0});TS.Watch=void 0;var gz=class{constructor(){this.timestamps=new Map}start(e){if(this.timestamps.has(e))throw new Error(`Watch already started for label: ${e}`);this.timestamps.set(e,{started:Date.now()})}stop(e){let n=this.get(e);if(typeof n.elapsed<"u")throw new Error(`Watch already stopped for label: ${e}`);let a=Date.now()-n.started;this.timestamps.set(e,{started:n.started,elapsed:a})}get(e){let n=this.timestamps.get(e);if(typeof n>"u")throw new Error(`No timestamp found for label: ${e}`);return n}elapsed(e){let n=this.get(e);return n.elapsed||Date.now()-n.started}};TS.Watch=gz;TS.default=gz});var HFe=D(vz=>{"use strict";u();p();Object.defineProperty(vz,"__esModule",{value:!0});vz.IWatch=void 0;var rie=class{};vz.IWatch=rie});var zFe=D(fie=>{"use strict";u();p();Object.defineProperty(fie,"__esModule",{value:!0});var _tt=(Xu(),vn(Ju));_tt.__exportStar(HFe(),fie)});var R7=D(XT=>{"use strict";u();p();Object.defineProperty(XT,"__esModule",{value:!0});var wz=(Xu(),vn(Ju));wz.__exportStar(OFe(),XT);wz.__exportStar(UFe(),XT);wz.__exportStar(zFe(),XT);wz.__exportStar(aie(),XT)});var Zu,WFe=oe(()=>{u();p();Zu=class{}});var qFe={};G0(qFe,{IEvents:()=>Zu});var iie=oe(()=>{u();p();WFe()});var GFe=D((_ta,jFe)=>{"use strict";u();p();function Att(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}jFe.exports=Itt;function Itt(t,e,n){var a=n&&n.stringify||Att,r=1;if(typeof t=="object"&&t!==null){var f=e.length+r;if(f===1)return t;var i=new Array(f);i[0]=a(t);for(var s=1;s-1?l:0,t.charCodeAt(y+1)){case 100:case 102:if(d>=o||e[d]==null)break;l=o||e[d]==null)break;l=o||e[d]===void 0)break;l",l=y+2,y++;break}c+=a(e[d]),l=y+2,y++;break;case 115:if(d>=o)break;l{"use strict";u();p();var KFe=GFe();YFe.exports=e2;var xS=Ftt().console||{},Ctt={mapHttpRequest:Tz,mapHttpResponse:Tz,wrapRequestSerializer:sie,wrapResponseSerializer:sie,wrapErrorSerializer:sie,req:Tz,res:Tz,err:Btt};function ktt(t,e){return Array.isArray(t)?t.filter(function(a){return a!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function e2(t){t=t||{},t.browser=t.browser||{};let e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");let n=t.browser.write||xS;t.browser.write&&(t.browser.asObject=!0);let a=t.serializers||{},r=ktt(t.browser.serialize,a),f=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(f=!1);let i=["error","fatal","warn","info","debug","trace"];typeof n=="function"&&(n.error=n.fatal=n.warn=n.info=n.debug=n.trace=n),t.enabled===!1&&(t.level="silent");let s=t.level||"info",o=Object.create(n);o.log||(o.log=ES),Object.defineProperty(o,"levelVal",{get:d}),Object.defineProperty(o,"level",{get:l,set:h});let c={transmit:e,serialize:r,asObject:t.browser.asObject,levels:i,timestamp:Dtt(t)};o.levels=e2.levels,o.level=s,o.setMaxListeners=o.getMaxListeners=o.emit=o.addListener=o.on=o.prependListener=o.once=o.prependOnceListener=o.removeListener=o.removeAllListeners=o.listeners=o.listenerCount=o.eventNames=o.write=o.flush=ES,o.serializers=a,o._serialize=r,o._stdErrSerialize=f,o.child=y,e&&(o._logEvent=oie());function d(){return this.level==="silent"?1/0:this.levels.values[this.level]}function l(){return this._level}function h(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,ZT(c,o,"error","log"),ZT(c,o,"fatal","error"),ZT(c,o,"warn","error"),ZT(c,o,"info","log"),ZT(c,o,"debug","log"),ZT(c,o,"trace","log")}function y(v,k){if(!v)throw new Error("missing bindings for child Pino");k=k||{},r&&v.serializers&&(k.serializers=v.serializers);let O=k.serializers;if(r&&O){var F=Object.assign({},a,O),z=t.browser.serialize===!0?Object.keys(F):r;delete v.serializers,xz([v],z,F,this._stdErrSerialize)}function W(j){this._childLevel=(j._childLevel|0)+1,this.error=ex(j,v,"error"),this.fatal=ex(j,v,"fatal"),this.warn=ex(j,v,"warn"),this.info=ex(j,v,"info"),this.debug=ex(j,v,"debug"),this.trace=ex(j,v,"trace"),F&&(this.serializers=F,this._serialize=z),e&&(this._logEvent=oie([].concat(j._logEvent.bindings,v)))}return W.prototype=this,new W(this)}return o}e2.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};e2.stdSerializers=Ctt;e2.stdTimeFunctions=Object.assign({},{nullTime:QFe,epochTime:VFe,unixTime:Ptt,isoTime:Ltt});function ZT(t,e,n,a){let r=Object.getPrototypeOf(e);e[n]=e.levelVal>e.levels.values[n]?ES:r[n]?r[n]:xS[n]||xS[a]||ES,Stt(t,e,n)}function Stt(t,e,n){!t.transmit&&e[n]===ES||(e[n]=function(a){return function(){let f=t.timestamp(),i=new Array(arguments.length),s=Object.getPrototypeOf&&Object.getPrototypeOf(this)===xS?xS:this;for(var o=0;o-1&&f in n&&(t[r][f]=n[f](t[r][f]))}function ex(t,e,n){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?n=qtt(t,e):n=t.bindings().context||"",n}function Gtt(t,e,n=_S){let a=Xo(t,n);return a.trim()?`${a}/${e}`:e}function Zo(t,e,n=_S){let a=Gtt(t,e,n),r=t.child({context:a});return jtt(r,a,n)}function Ktt(t){var e,n;let a=new lie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Iz(Az({},t.opts),{level:"trace",browser:Iz(Az({},(n=t.opts)==null?void 0:n.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function Qtt(t){var e;let n=new uie((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:(0,M8.default)(Iz(Az({},t.opts),{level:"trace"}),n),chunkLoggerController:n}}function XFe(t){return typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string"?{logger:t.loggerOverride,chunkLoggerController:null}:typeof window<"u"?Ktt(t):Qtt(t)}var M8,M7,Ntt,_S,pie,die,Ez,_z,lie,uie,Ott,Utt,Htt,$Fe,ztt,Wtt,JFe,Az,Iz,Cz=oe(()=>{u();p();M8=Ee(cie()),M7=Ee(cie());S7();Ntt={level:"info"},_S="custom_context",pie=1e3*1024,die=class{constructor(e){this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}},Ez=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let n=new die(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;let e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){let e=[],n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};let n=e.value;return e=e.next,{done:!1,value:n}}}}},_z=class{constructor(e,n=pie){this.level=e??"error",this.levelValue=M8.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new Ez(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===M8.levels.values.error?console.error(e):n===M8.levels.values.warn?console.warn(e):n===M8.levels.values.debug?console.debug(e):n===M8.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(q1({timestamp:new Date().toISOString(),log:e}));let n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new Ez(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let n=this.getLogArray();return n.push(q1({extraMetadata:e})),new Blob(n,{type:"application/json"})}},lie=class{constructor(e,n=pie){this.baseChunkLogger=new _z(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){let n=URL.createObjectURL(this.logsToBlob(e)),a=document.createElement("a");a.href=n,a.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(n)}},uie=class{constructor(e,n=pie){this.baseChunkLogger=new _z(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}},Ott=Object.defineProperty,Utt=Object.defineProperties,Htt=Object.getOwnPropertyDescriptors,$Fe=Object.getOwnPropertySymbols,ztt=Object.prototype.hasOwnProperty,Wtt=Object.prototype.propertyIsEnumerable,JFe=(t,e,n)=>e in t?Ott(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Az=(t,e)=>{for(var n in e||(e={}))ztt.call(e,n)&&JFe(t,n,e[n]);if($Fe)for(var n of $Fe(e))Wtt.call(e,n)&&JFe(t,n,e[n]);return t},Iz=(t,e)=>Utt(t,Htt(e))});var eNe=D(kz=>{"use strict";u();p();Object.defineProperty(kz,"__esModule",{value:!0});kz.BrowserRandomSource=void 0;var ZFe=65536,hie=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let e=typeof self<"u"?self.crypto||self.msCrypto:null;e&&e.getRandomValues!==void 0&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let n=new Uint8Array(e);for(let a=0;a{"use strict";u();p();Object.defineProperty(mie,"__esModule",{value:!0});function Vtt(t){for(var e=0;e{"use strict";u();p();Object.defineProperty(Sz,"__esModule",{value:!0});Sz.NodeRandomSource=void 0;var Ytt=Vd(),bie=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof V5<"u"){let e=WU();e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let n=this._crypto.randomBytes(e);if(n.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");let a=new Uint8Array(e);for(let r=0;r{"use strict";u();p();Object.defineProperty(Rz,"__esModule",{value:!0});Rz.SystemRandomSource=void 0;var $tt=eNe(),Jtt=tNe(),yie=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new $tt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new Jtt.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}};Rz.SystemRandomSource=yie});var aNe=D(k6=>{"use strict";u();p();Object.defineProperty(k6,"__esModule",{value:!0});function Xtt(t,e){var n=t>>>16&65535,a=t&65535,r=e>>>16&65535,f=e&65535;return a*f+(n*f+a*r<<16>>>0)|0}k6.mul=Math.imul||Xtt;function Ztt(t,e){return t+e|0}k6.add=Ztt;function ent(t,e){return t-e|0}k6.sub=ent;function tnt(t,e){return t<>>32-e}k6.rotl=tnt;function nnt(t,e){return t<<32-e|t>>>e}k6.rotr=nnt;function ant(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}k6.isInteger=Number.isInteger||ant;k6.MAX_SAFE_INTEGER=9007199254740991;k6.isSafeInteger=function(t){return k6.isInteger(t)&&t>=-k6.MAX_SAFE_INTEGER&&t<=k6.MAX_SAFE_INTEGER}});var tx=D(zn=>{"use strict";u();p();Object.defineProperty(zn,"__esModule",{value:!0});var rNe=aNe();function rnt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])<<16>>16}zn.readInt16BE=rnt;function fnt(t,e){return e===void 0&&(e=0),(t[e+0]<<8|t[e+1])>>>0}zn.readUint16BE=fnt;function int(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])<<16>>16}zn.readInt16LE=int;function snt(t,e){return e===void 0&&(e=0),(t[e+1]<<8|t[e])>>>0}zn.readUint16LE=snt;function fNe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>8,e[n+1]=t>>>0,e}zn.writeUint16BE=fNe;zn.writeInt16BE=fNe;function iNe(t,e,n){return e===void 0&&(e=new Uint8Array(2)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e}zn.writeUint16LE=iNe;zn.writeInt16LE=iNe;function gie(t,e){return e===void 0&&(e=0),t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}zn.readInt32BE=gie;function vie(t,e){return e===void 0&&(e=0),(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}zn.readUint32BE=vie;function wie(t,e){return e===void 0&&(e=0),t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}zn.readInt32LE=wie;function Tie(t,e){return e===void 0&&(e=0),(t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e])>>>0}zn.readUint32LE=Tie;function Mz(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>24,e[n+1]=t>>>16,e[n+2]=t>>>8,e[n+3]=t>>>0,e}zn.writeUint32BE=Mz;zn.writeInt32BE=Mz;function Bz(t,e,n){return e===void 0&&(e=new Uint8Array(4)),n===void 0&&(n=0),e[n+0]=t>>>0,e[n+1]=t>>>8,e[n+2]=t>>>16,e[n+3]=t>>>24,e}zn.writeUint32LE=Bz;zn.writeInt32LE=Bz;function ont(t,e){e===void 0&&(e=0);var n=gie(t,e),a=gie(t,e+4);return n*4294967296+a-(a>>31)*4294967296}zn.readInt64BE=ont;function cnt(t,e){e===void 0&&(e=0);var n=vie(t,e),a=vie(t,e+4);return n*4294967296+a}zn.readUint64BE=cnt;function dnt(t,e){e===void 0&&(e=0);var n=wie(t,e),a=wie(t,e+4);return a*4294967296+n-(n>>31)*4294967296}zn.readInt64LE=dnt;function lnt(t,e){e===void 0&&(e=0);var n=Tie(t,e),a=Tie(t,e+4);return a*4294967296+n}zn.readUint64LE=lnt;function sNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Mz(t/4294967296>>>0,e,n),Mz(t>>>0,e,n+4),e}zn.writeUint64BE=sNe;zn.writeInt64BE=sNe;function oNe(t,e,n){return e===void 0&&(e=new Uint8Array(8)),n===void 0&&(n=0),Bz(t>>>0,e,n),Bz(t/4294967296>>>0,e,n+4),e}zn.writeUint64LE=oNe;zn.writeInt64LE=oNe;function unt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintBE: array is too short for the given bitLength");for(var a=0,r=1,f=t/8+n-1;f>=n;f--)a+=e[f]*r,r*=256;return a}zn.readUintBE=unt;function pnt(t,e,n){if(n===void 0&&(n=0),t%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(t/8>e.length-n)throw new Error("readUintLE: array is too short for the given bitLength");for(var a=0,r=1,f=n;f=a;f--)n[f]=e/r&255,r*=256;return n}zn.writeUintBE=hnt;function mnt(t,e,n,a){if(n===void 0&&(n=new Uint8Array(t/8)),a===void 0&&(a=0),t%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!rNe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,f=a;f{"use strict";u();p();Object.defineProperty(e1,"__esModule",{value:!0});e1.randomStringForEntropy=e1.randomString=e1.randomUint32=e1.randomBytes=e1.defaultRandomSource=void 0;var _nt=nNe(),Ant=tx(),cNe=Vd();e1.defaultRandomSource=new _nt.SystemRandomSource;function xie(t,e=e1.defaultRandomSource){return e.randomBytes(t)}e1.randomBytes=xie;function Int(t=e1.defaultRandomSource){let e=xie(4,t),n=(0,Ant.readUint32LE)(e);return(0,cNe.wipe)(e),n}e1.randomUint32=Int;var dNe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function lNe(t,e=dNe,n=e1.defaultRandomSource){if(e.length<2)throw new Error("randomString charset is too short");if(e.length>256)throw new Error("randomString charset is too long");let a="",r=e.length,f=256-256%r;for(;t>0;){let i=xie(Math.ceil(t*256/f),n);for(let s=0;s0;s++){let o=i[s];o{"use strict";u();p();Object.defineProperty(B8,"__esModule",{value:!0});var ax=tx(),nx=Vd();B8.DIGEST_LENGTH=64;B8.BLOCK_SIZE=128;var pNe=function(){function t(){this.digestLength=B8.DIGEST_LENGTH,this.blockSize=B8.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){nx.wipe(this._buffer),nx.wipe(this._tempHi),nx.wipe(this._tempLo),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(Eie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=Eie(this._tempHi,this._tempLo,this._stateHi,this._stateLo,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%128<112?128:256;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){nx.wipe(e.stateHi),nx.wipe(e.stateLo),e.buffer&&nx.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();B8.SHA512=pNe;var uNe=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function Eie(t,e,n,a,r,f,i){for(var s=n[0],o=n[1],c=n[2],d=n[3],l=n[4],h=n[5],y=n[6],v=n[7],k=a[0],O=a[1],F=a[2],z=a[3],W=a[4],j=a[5],Q=a[6],V=a[7],X,K,G,R,T,N,w,b;i>=128;){for(var A=0;A<16;A++){var P=8*A+f;t[A]=ax.readUint32BE(r,P),e[A]=ax.readUint32BE(r,P+4)}for(var A=0;A<80;A++){var L=s,E=o,g=c,B=d,M=l,S=h,q=y,ee=v,U=k,J=O,Z=F,ne=z,ue=W,Y=j,re=Q,ie=V;if(X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=(l>>>14|W<<18)^(l>>>18|W<<14)^(W>>>9|l<<23),K=(W>>>14|l<<18)^(W>>>18|l<<14)^(l>>>9|W<<23),T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=l&h^~l&y,K=W&j^~W&Q,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=uNe[A*2],K=uNe[A*2+1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=t[A%16],K=e[A%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,G=w&65535|b<<16,R=T&65535|N<<16,X=G,K=R,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=(s>>>28|k<<4)^(k>>>2|s<<30)^(k>>>7|s<<25),K=(k>>>28|s<<4)^(s>>>2|k<<30)^(s>>>7|k<<25),T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,X=s&o^s&c^o&c,K=k&O^k&F^O&F,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,ee=w&65535|b<<16,ie=T&65535|N<<16,X=B,K=ne,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=G,K=R,T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,B=w&65535|b<<16,ne=T&65535|N<<16,o=L,c=E,d=g,l=B,h=M,y=S,v=q,s=ee,O=U,F=J,z=Z,W=ne,j=ue,Q=Y,V=re,k=ie,A%16===15)for(var P=0;P<16;P++)X=t[P],K=e[P],T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=t[(P+9)%16],K=e[(P+9)%16],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,G=t[(P+1)%16],R=e[(P+1)%16],X=(G>>>1|R<<31)^(G>>>8|R<<24)^G>>>7,K=(R>>>1|G<<31)^(R>>>8|G<<24)^(R>>>7|G<<25),T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,G=t[(P+14)%16],R=e[(P+14)%16],X=(G>>>19|R<<13)^(R>>>29|G<<3)^G>>>6,K=(R>>>19|G<<13)^(G>>>29|R<<3)^(R>>>6|G<<26),T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,t[P]=w&65535|b<<16,e[P]=T&65535|N<<16}X=s,K=k,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[0],K=a[0],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[0]=s=w&65535|b<<16,a[0]=k=T&65535|N<<16,X=o,K=O,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[1],K=a[1],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[1]=o=w&65535|b<<16,a[1]=O=T&65535|N<<16,X=c,K=F,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[2],K=a[2],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[2]=c=w&65535|b<<16,a[2]=F=T&65535|N<<16,X=d,K=z,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[3],K=a[3],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[3]=d=w&65535|b<<16,a[3]=z=T&65535|N<<16,X=l,K=W,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[4],K=a[4],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[4]=l=w&65535|b<<16,a[4]=W=T&65535|N<<16,X=h,K=j,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[5],K=a[5],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[5]=h=w&65535|b<<16,a[5]=j=T&65535|N<<16,X=y,K=Q,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[6],K=a[6],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[6]=y=w&65535|b<<16,a[6]=Q=T&65535|N<<16,X=v,K=V,T=K&65535,N=K>>>16,w=X&65535,b=X>>>16,X=n[7],K=a[7],T+=K&65535,N+=K>>>16,w+=X&65535,b+=X>>>16,N+=T>>>16,w+=N>>>16,b+=w>>>16,n[7]=v=w&65535|b<<16,a[7]=V=T&65535|N<<16,f+=128,i-=128}return f}function knt(t){var e=new pNe;e.update(t);var n=e.digest();return e.clean(),n}B8.hash=knt});var kNe=D($a=>{"use strict";u();p();Object.defineProperty($a,"__esModule",{value:!0});$a.convertSecretKeyToX25519=$a.convertPublicKeyToX25519=$a.verify=$a.sign=$a.extractPublicKeyFromSecretKey=$a.generateKeyPair=$a.generateKeyPairFromSeed=$a.SEED_LENGTH=$a.SECRET_KEY_LENGTH=$a.PUBLIC_KEY_LENGTH=$a.SIGNATURE_LENGTH=void 0;var Snt=AS(),IS=hNe(),vNe=Vd();$a.SIGNATURE_LENGTH=64;$a.PUBLIC_KEY_LENGTH=32;$a.SECRET_KEY_LENGTH=64;$a.SEED_LENGTH=32;function yt(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,wNe(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function TNe(t,e){let n=0;for(let a=0;a<32;a++)n|=t[a]^e[a];return(1&n-1>>>8)-1}function yNe(t,e){let n=new Uint8Array(32),a=new Uint8Array(32);return CS(n,t),CS(a,e),TNe(n,a)}function xNe(t){let e=new Uint8Array(32);return CS(e,t),e[0]&1}function Pnt(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function D7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function L7(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function vr(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,k=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,b=0,A=0,P=0,L=0,E=0,g=0,B=n[0],M=n[1],S=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*S,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,k+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*S,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,k+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*S,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,k+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*S,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,k+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*S,h+=a*q,y+=a*ee,v+=a*U,k+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*S,y+=a*q,v+=a*ee,k+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*S,v+=a*q,k+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*S,k+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,k+=a*S,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,k+=a*M,O+=a*S,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],k+=a*B,O+=a*M,F+=a*S,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,b+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*S,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,b+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*S,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,b+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*S,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,b+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*S,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*S,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=k,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function P7(t,e){vr(t,e,e)}function ENe(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=253;a>=0;a--)P7(n,n),a!==2&&a!==4&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Lnt(t,e){let n=yt(),a;for(a=0;a<16;a++)n[a]=e[a];for(a=250;a>=0;a--)P7(n,n),a!==1&&vr(n,n,e);for(a=0;a<16;a++)t[a]=n[a]}function Cie(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt(),c=yt(),d=yt();L7(n,t[1],t[0]),L7(d,e[1],e[0]),vr(n,n,d),D7(a,t[0],t[1]),D7(d,e[0],e[1]),vr(a,a,d),vr(r,t[3],e[3]),vr(r,r,Bnt),vr(f,t[2],e[2]),D7(f,f,f),L7(i,a,n),L7(s,f,r),D7(o,f,r),D7(c,a,n),vr(t[0],i,s),vr(t[1],c,o),vr(t[2],o,s),vr(t[3],i,c)}function gNe(t,e,n){for(let a=0;a<4;a++)wNe(t[a],e[a],n)}function Sie(t,e){let n=yt(),a=yt(),r=yt();ENe(r,e[2]),vr(n,e[0],r),vr(a,e[1],r),CS(t,a),t[31]^=xNe(n)<<7}function _Ne(t,e,n){hm(t[0],Iie),hm(t[1],rx),hm(t[2],rx),hm(t[3],Iie);for(let a=255;a>=0;--a){let r=n[a/8|0]>>(a&7)&1;gNe(t,e,r),Cie(e,t),Cie(t,t),gNe(t,e,r)}}function Rie(t,e){let n=[yt(),yt(),yt(),yt()];hm(n[0],mNe),hm(n[1],bNe),hm(n[2],rx),vr(n[3],mNe,bNe),_Ne(t,n,e)}function ANe(t){if(t.length!==$a.SEED_LENGTH)throw new Error(`ed25519: seed must be ${$a.SEED_LENGTH} bytes`);let e=(0,IS.hash)(t);e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(32),a=[yt(),yt(),yt(),yt()];Rie(a,e),Sie(n,a);let r=new Uint8Array(64);return r.set(t),r.set(n,32),{publicKey:n,secretKey:r}}$a.generateKeyPairFromSeed=ANe;function Fnt(t){let e=(0,Snt.randomBytes)(32,t),n=ANe(e);return(0,vNe.wipe)(e),n}$a.generateKeyPair=Fnt;function Nnt(t){if(t.length!==$a.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${$a.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(t.subarray(32))}$a.extractPublicKeyFromSecretKey=Nnt;var Aie=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function INe(t,e){let n,a,r,f;for(a=63;a>=32;--a){for(n=0,r=a-32,f=a-12;r>4)*Aie[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*Aie[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,t[a]=e[a]&255}function kie(t){let e=new Float64Array(64);for(let n=0;n<64;n++)e[n]=t[n];for(let n=0;n<64;n++)t[n]=0;INe(t,e)}function Ont(t,e){let n=new Float64Array(64),a=[yt(),yt(),yt(),yt()],r=(0,IS.hash)(t.subarray(0,32));r[0]&=248,r[31]&=127,r[31]|=64;let f=new Uint8Array(64);f.set(r.subarray(32),32);let i=new IS.SHA512;i.update(f.subarray(32)),i.update(e);let s=i.digest();i.clean(),kie(s),Rie(a,s),Sie(f,a),i.reset(),i.update(f.subarray(0,32)),i.update(t.subarray(32)),i.update(e);let o=i.digest();kie(o);for(let c=0;c<32;c++)n[c]=s[c];for(let c=0;c<32;c++)for(let d=0;d<32;d++)n[c+d]+=o[c]*r[d];return INe(f.subarray(32),n),f}$a.sign=Ont;function CNe(t,e){let n=yt(),a=yt(),r=yt(),f=yt(),i=yt(),s=yt(),o=yt();return hm(t[2],rx),Pnt(t[1],e),P7(r,t[1]),vr(f,r,Mnt),L7(r,r,t[2]),D7(f,t[2],f),P7(i,f),P7(s,i),vr(o,s,i),vr(n,o,r),vr(n,n,f),Lnt(n,n),vr(n,n,r),vr(n,n,f),vr(n,n,f),vr(t[0],n,f),P7(a,t[0]),vr(a,a,f),yNe(a,r)&&vr(t[0],t[0],Dnt),P7(a,t[0]),vr(a,a,f),yNe(a,r)?-1:(xNe(t[0])===e[31]>>7&&L7(t[0],Iie,t[0]),vr(t[3],t[0],t[1]),0)}function Unt(t,e,n){let a=new Uint8Array(32),r=[yt(),yt(),yt(),yt()],f=[yt(),yt(),yt(),yt()];if(n.length!==$a.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${$a.SIGNATURE_LENGTH} bytes`);if(CNe(f,t))return!1;let i=new IS.SHA512;i.update(n.subarray(0,32)),i.update(t),i.update(e);let s=i.digest();return kie(s),_Ne(r,f,s),Rie(f,n.subarray(32)),Cie(r,f),Sie(a,r),!TNe(n,a)}$a.verify=Unt;function Hnt(t){let e=[yt(),yt(),yt(),yt()];if(CNe(e,t))throw new Error("Ed25519: invalid public key");let n=yt(),a=yt(),r=e[1];D7(n,rx,r),L7(a,rx,r),ENe(a,a),vr(n,n,a);let f=new Uint8Array(32);return CS(f,n),f}$a.convertPublicKeyToX25519=Hnt;function znt(t){let e=(0,IS.hash)(t.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let n=new Uint8Array(e.subarray(0,32));return(0,vNe.wipe)(e),n}$a.convertSecretKeyToX25519=znt});var SNe,RNe,Mie,Bie,MNe,BNe,DNe,PNe,LNe,Die,FNe,NNe,Dz=oe(()=>{u();p();SNe="EdDSA",RNe="JWT",Mie=".",Bie="base64url",MNe="utf8",BNe="utf8",DNe=":",PNe="did",LNe="key",Die="base58btc",FNe="z",NNe="K36"});function F7(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}var kS=oe(()=>{u();p()});function SS(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?F7(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}var Pz=oe(()=>{u();p();kS()});var Lz={};G0(Lz,{concat:()=>N7});function N7(t,e){e||(e=t.reduce((r,f)=>r+f.length,0));let n=SS(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return F7(n)}var fx=oe(()=>{u();p();Pz();kS()});function Wnt(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(k);K>>0,W=new Uint8Array(z);v[k];){var j=n[v.charCodeAt(k)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,k++}if(v[k]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var k=h(v);if(k)return k;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}var qnt,jnt,ONe,UNe=oe(()=>{u();p();qnt=Wnt,jnt=qnt,ONe=jnt});var Fz={};G0(Fz,{coerce:()=>Yd,empty:()=>HNe,equals:()=>Pie,fromHex:()=>Knt,fromString:()=>Lie,isBinary:()=>Qnt,toHex:()=>Gnt,toString:()=>Fie});var HNe,Gnt,Knt,Pie,Yd,Qnt,Lie,Fie,mm=oe(()=>{u();p();HNe=new Uint8Array(0),Gnt=t=>t.reduce((e,n)=>e+n.toString(16).padStart(2,"0"),""),Knt=t=>{let e=t.match(/../g);return e?new Uint8Array(e.map(n=>parseInt(n,16))):HNe},Pie=(t,e)=>{if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},Qnt=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),Lie=t=>new TextEncoder().encode(t),Fie=t=>new TextDecoder().decode(t)});var Nie,Oie,Uie,zNe,Hie,ix,bm,Vnt,Ynt,Zf,vl=oe(()=>{u();p();UNe();mm();Nie=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},Oie=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return zNe(this,e)}},Uie=class{constructor(e){this.decoders=e}or(e){return zNe(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},zNe=(t,e)=>new Uie({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),Hie=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new Nie(e,n,a),this.decoder=new Oie(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},ix=({name:t,prefix:e,encode:n,decode:a})=>new Hie(t,e,n,a),bm=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=ONe(n,e);return ix({prefix:t,name:e,encode:a,decode:f=>Yd(r(f))})},Vnt=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},Ynt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<ix({prefix:e,name:t,encode(r){return Ynt(r,a,n)},decode(r){return Vnt(r,a,n,t)}})});var zie={};G0(zie,{identity:()=>$nt});var $nt,WNe=oe(()=>{u();p();vl();mm();$nt=ix({prefix:"\0",name:"identity",encode:t=>Fie(t),decode:t=>Lie(t)})});var Wie={};G0(Wie,{base2:()=>Jnt});var Jnt,qNe=oe(()=>{u();p();vl();Jnt=Zf({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var qie={};G0(qie,{base8:()=>Xnt});var Xnt,jNe=oe(()=>{u();p();vl();Xnt=Zf({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var jie={};G0(jie,{base10:()=>Znt});var Znt,GNe=oe(()=>{u();p();vl();Znt=bm({prefix:"9",name:"base10",alphabet:"0123456789"})});var Gie={};G0(Gie,{base16:()=>eat,base16upper:()=>tat});var eat,tat,KNe=oe(()=>{u();p();vl();eat=Zf({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),tat=Zf({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Kie={};G0(Kie,{base32:()=>sx,base32hex:()=>fat,base32hexpad:()=>sat,base32hexpadupper:()=>oat,base32hexupper:()=>iat,base32pad:()=>aat,base32padupper:()=>rat,base32upper:()=>nat,base32z:()=>cat});var sx,nat,aat,rat,fat,iat,sat,oat,cat,Qie=oe(()=>{u();p();vl();sx=Zf({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),nat=Zf({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),aat=Zf({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),rat=Zf({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),fat=Zf({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),iat=Zf({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),sat=Zf({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),oat=Zf({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),cat=Zf({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Vie={};G0(Vie,{base36:()=>dat,base36upper:()=>lat});var dat,lat,QNe=oe(()=>{u();p();vl();dat=bm({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),lat=bm({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var Yie={};G0(Yie,{base58btc:()=>t2,base58flickr:()=>uat});var t2,uat,$ie=oe(()=>{u();p();vl();t2=bm({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),uat=bm({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var Jie={};G0(Jie,{base64:()=>pat,base64pad:()=>hat,base64url:()=>mat,base64urlpad:()=>bat});var pat,hat,mat,bat,VNe=oe(()=>{u();p();vl();pat=Zf({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),hat=Zf({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),mat=Zf({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),bat=Zf({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Xie={};G0(Xie,{base256emoji:()=>Tat});function vat(t){return t.reduce((e,n)=>(e+=yat[n],e),"")}function wat(t){let e=[];for(let n of t){let a=gat[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}var YNe,yat,gat,Tat,$Ne=oe(()=>{u();p();vl();YNe=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),yat=YNe.reduce((t,e,n)=>(t[n]=e,t),[]),gat=YNe.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);Tat=ix({prefix:"\u{1F680}",name:"base256emoji",encode:vat,decode:wat})});function ZNe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=Aat;)e[n++]=t&255|JNe,t/=128;for(;t&_at;)e[n++]=t&255|JNe,t>>>=7;return e[n]=t|0,ZNe.bytes=n-a+1,e}function Zie(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw Zie.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&XNe)<=Cat);return Zie.bytes=f-a,n}var xat,JNe,Eat,_at,Aat,Iat,Cat,XNe,kat,Sat,Rat,Mat,Bat,Dat,Pat,Lat,Fat,Nat,Oat,Uat,RS,eOe=oe(()=>{u();p();xat=ZNe,JNe=128,Eat=127,_at=~Eat,Aat=Math.pow(2,31);Iat=Zie,Cat=128,XNe=127;kat=Math.pow(2,7),Sat=Math.pow(2,14),Rat=Math.pow(2,21),Mat=Math.pow(2,28),Bat=Math.pow(2,35),Dat=Math.pow(2,42),Pat=Math.pow(2,49),Lat=Math.pow(2,56),Fat=Math.pow(2,63),Nat=function(t){return tox,encodeTo:()=>O7,encodingLength:()=>U7});var ox,O7,U7,Nz=oe(()=>{u();p();eOe();ox=(t,e=0)=>[RS.decode(t,e),RS.decode.bytes],O7=(t,e,n=0)=>(RS.encode(t,e,n),e),U7=t=>RS.encodingLength(t)});var z7={};G0(z7,{Digest:()=>H7,create:()=>ym,decode:()=>ese,equals:()=>tse});var ym,ese,tse,H7,MS=oe(()=>{u();p();mm();Nz();ym=(t,e)=>{let n=e.byteLength,a=U7(t),r=a+U7(n),f=new Uint8Array(r+n);return O7(t,f,0),O7(n,f,a),f.set(e,r),new H7(t,n,e,f)},ese=t=>{let e=Yd(t),[n,a]=ox(e),[r,f]=ox(e.subarray(a)),i=e.subarray(a+f);if(i.byteLength!==r)throw new Error("Incorrect length");return new H7(n,r,i,e)},tse=(t,e)=>t===e?!0:t.code===e.code&&t.size===e.size&&Pie(t.bytes,e.bytes),H7=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}}});var Hz={};G0(Hz,{Hasher:()=>Oz,from:()=>Uz});var Uz,Oz,nse=oe(()=>{u();p();MS();Uz=({name:t,code:e,encode:n})=>new Oz(t,e,n),Oz=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?ym(this.code,n):n.then(a=>ym(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var ase={};G0(ase,{sha256:()=>Hat,sha512:()=>zat});var tOe,Hat,zat,nOe=oe(()=>{u();p();nse();tOe=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),Hat=Uz({name:"sha2-256",code:18,encode:tOe("SHA-256")}),zat=Uz({name:"sha2-512",code:19,encode:tOe("SHA-512")})});var rse={};G0(rse,{identity:()=>jat});var aOe,Wat,rOe,qat,jat,fOe=oe(()=>{u();p();mm();MS();aOe=0,Wat="identity",rOe=Yd,qat=t=>ym(aOe,rOe(t)),jat={code:aOe,name:Wat,encode:rOe,digest:qat}});var fse={};G0(fse,{code:()=>Kat,decode:()=>Vat,encode:()=>Qat,name:()=>Gat});var Gat,Kat,Qat,Vat,iOe=oe(()=>{u();p();mm();Gat="raw",Kat=85,Qat=t=>Yd(t),Vat=t=>Yd(t)});var ise={};G0(ise,{code:()=>Xat,decode:()=>ert,encode:()=>Zat,name:()=>Jat});var Yat,$at,Jat,Xat,Zat,ert,sOe=oe(()=>{u();p();Yat=new TextEncoder,$at=new TextDecoder,Jat="json",Xat=512,Zat=t=>Yat.encode(JSON.stringify(t)),ert=t=>JSON.parse($at.decode(t))});var DS,trt,nrt,art,BS,rrt,oOe,cOe,zz,Wz,frt,irt,srt,dOe=oe(()=>{u();p();Nz();MS();$ie();Qie();mm();DS=class t{constructor(e,n,a,r){this.code=n,this.version=e,this.multihash=a,this.bytes=r,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:Wz,byteLength:Wz,code:zz,version:zz,multihash:zz,bytes:zz,_baseCache:Wz,asCID:Wz})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:n}=this;if(e!==BS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(n.code!==rrt)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return t.createV0(n)}}}toV1(){switch(this.version){case 0:{let{code:e,digest:n}=this.multihash,a=ym(e,n);return t.createV1(this.code,a)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&tse(this.multihash,e.multihash)}toString(e){let{bytes:n,version:a,_baseCache:r}=this;switch(a){case 0:return nrt(n,r,e||t2.encoder);default:return art(n,r,e||sx.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return irt(/^0\.0/,srt),!!(e&&(e[cOe]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof t)return e;if(e!=null&&e.asCID===e){let{version:n,code:a,multihash:r,bytes:f}=e;return new t(n,a,r,f||oOe(n,a,r.bytes))}else if(e!=null&&e[cOe]===!0){let{version:n,multihash:a,code:r}=e,f=ese(a);return t.create(n,r,f)}else return null}static create(e,n,a){if(typeof n!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(n!==BS)throw new Error(`Version 0 CID must use dag-pb (code: ${BS}) block encoding`);return new t(e,n,a,a.bytes)}case 1:{let r=oOe(e,n,a.bytes);return new t(e,n,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return t.create(0,BS,e)}static createV1(e,n){return t.create(1,e,n)}static decode(e){let[n,a]=t.decodeFirst(e);if(a.length)throw new Error("Incorrect length");return n}static decodeFirst(e){let n=t.inspectBytes(e),a=n.size-n.multihashSize,r=Yd(e.subarray(a,a+n.multihashSize));if(r.byteLength!==n.multihashSize)throw new Error("Incorrect length");let f=r.subarray(n.multihashSize-n.digestSize),i=new H7(n.multihashCode,n.digestSize,f,r);return[n.version===0?t.createV0(i):t.createV1(n.codec,i),e.subarray(n.size)]}static inspectBytes(e){let n=0,a=()=>{let[l,h]=ox(e.subarray(n));return n+=h,l},r=a(),f=BS;if(r===18?(r=0,n=0):r===1&&(f=a()),r!==0&&r!==1)throw new RangeError(`Invalid CID version ${r}`);let i=n,s=a(),o=a(),c=n+o,d=c-i;return{version:r,codec:f,multihashCode:s,digestSize:o,multihashSize:d,size:c}}static parse(e,n){let[a,r]=trt(e,n),f=t.decode(r);return f._baseCache.set(a,e),f}},trt=(t,e)=>{switch(t[0]){case"Q":{let n=e||t2;return[t2.prefix,n.decode(`${t2.prefix}${t}`)]}case t2.prefix:{let n=e||t2;return[t2.prefix,n.decode(t)]}case sx.prefix:{let n=e||sx;return[sx.prefix,n.decode(t)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],e.decode(t)]}}},nrt=(t,e,n)=>{let{prefix:a}=n;if(a!==t2.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);let r=e.get(a);if(r==null){let f=n.encode(t).slice(1);return e.set(a,f),f}else return r},art=(t,e,n)=>{let{prefix:a}=n,r=e.get(a);if(r==null){let f=n.encode(t);return e.set(a,f),f}else return r},BS=112,rrt=18,oOe=(t,e,n)=>{let a=U7(t),r=a+U7(e),f=new Uint8Array(r+n.byteLength);return O7(t,f,0),O7(e,f,a),f.set(n,r),f},cOe=Symbol.for("@ipld/js-cid/CID"),zz={writable:!1,configurable:!1,enumerable:!0},Wz={writable:!1,enumerable:!1,configurable:!1},frt="0.0.0-dev",irt=(t,e)=>{if(t.test(frt))console.warn(e);else throw new Error(e)},srt=`CID.isCID(v) is deprecated and will be removed in the next major release. +`)},n.register=function(e,t){if(t||(t=e.locale),fWt)try{var a=window;a._ethers&&a._ethers.wordlists&&(a._ethers.wordlists[t]||(0,pke.defineReadOnly)(a._ethers.wordlists,t,e))}catch{}},n}();Sh.Wordlist=lWt});var mke=B(bT=>{"use strict";p();u();var pWt=bT&&bT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(bT,"__esModule",{value:!0});bT.langCz=void 0;var Nne=o5(),uWt="AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk",hC=null;function uke(n){if(hC==null&&(hC=uWt.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Nne.Wordlist.check(n)!=="0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a"))throw hC=null,new Error("BIP39 Wordlist for en (English) FAILED")}var yWt=function(n){pWt(e,n);function e(){return n.call(this,"cz")||this}return e.prototype.getWord=function(t){return uke(this),hC[t]},e.prototype.getWordIndex=function(t){return uke(this),hC.indexOf(t)},e}(Nne.Wordlist),yke=new yWt;bT.langCz=yke;Nne.Wordlist.register(yke)});var gke=B(hT=>{"use strict";p();u();var mWt=hT&&hT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(hT,"__esModule",{value:!0});hT.langEn=void 0;var Fne=o5(),bWt="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo",gC=null;function bke(n){if(gC==null&&(gC=bWt.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Fne.Wordlist.check(n)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw gC=null,new Error("BIP39 Wordlist for en (English) FAILED")}var hWt=function(n){mWt(e,n);function e(){return n.call(this,"en")||this}return e.prototype.getWord=function(t){return bke(this),gC[t]},e.prototype.getWordIndex=function(t){return bke(this),gC.indexOf(t)},e}(Fne.Wordlist),hke=new hWt;hT.langEn=hke;Fne.Wordlist.register(hke)});var xke=B(gT=>{"use strict";p();u();var gWt=gT&&gT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(gT,"__esModule",{value:!0});gT.langEs=void 0;var qO=ds(),HO=o5(),vWt="A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo",Tke={},vC=null;function _ke(n){return HO.logger.checkNormalize(),(0,qO.toUtf8String)(Array.prototype.filter.call((0,qO.toUtf8Bytes)(n.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function TWt(n){var e=[];return Array.prototype.forEach.call((0,qO.toUtf8Bytes)(n),function(t){t===47?(e.push(204),e.push(129)):t===126?(e.push(110),e.push(204),e.push(131)):e.push(t)}),(0,qO.toUtf8String)(e)}function vke(n){if(vC==null&&(vC=vWt.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return TWt(e)}),vC.forEach(function(e,t){Tke[_ke(e)]=t}),HO.Wordlist.check(n)!=="0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300"))throw vC=null,new Error("BIP39 Wordlist for es (Spanish) FAILED")}var _Wt=function(n){gWt(e,n);function e(){return n.call(this,"es")||this}return e.prototype.getWord=function(t){return vke(this),vC[t]},e.prototype.getWordIndex=function(t){return vke(this),Tke[_ke(t)]},e}(HO.Wordlist),wke=new _Wt;gT.langEs=wke;HO.Wordlist.register(wke)});var Ske=B(vT=>{"use strict";p();u();var wWt=vT&&vT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(vT,"__esModule",{value:!0});vT.langFr=void 0;var zO=ds(),WO=o5(),xWt="AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie",TC=null,Eke={};function Dke(n){return WO.logger.checkNormalize(),(0,zO.toUtf8String)(Array.prototype.filter.call((0,zO.toUtf8Bytes)(n.normalize("NFD").toLowerCase()),function(e){return e>=65&&e<=90||e>=97&&e<=123}))}function IWt(n){var e=[];return Array.prototype.forEach.call((0,zO.toUtf8Bytes)(n),function(t){t===47?(e.push(204),e.push(129)):t===45?(e.push(204),e.push(128)):e.push(t)}),(0,zO.toUtf8String)(e)}function Ike(n){if(TC==null&&(TC=xWt.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" ").map(function(e){return IWt(e)}),TC.forEach(function(e,t){Eke[Dke(e)]=t}),WO.Wordlist.check(n)!=="0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045"))throw TC=null,new Error("BIP39 Wordlist for fr (French) FAILED")}var EWt=function(n){wWt(e,n);function e(){return n.call(this,"fr")||this}return e.prototype.getWord=function(t){return Ike(this),TC[t]},e.prototype.getWordIndex=function(t){return Ike(this),Eke[Dke(t)]},e}(WO.Wordlist),Cke=new EWt;vT.langFr=Cke;WO.Wordlist.register(Cke)});var Rke=B(TT=>{"use strict";p();u();var DWt=TT&&TT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(TT,"__esModule",{value:!0});TT.langJa=void 0;var CWt=H0(),b6=ds(),jO=o5(),SWt=["AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR","ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR","AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm","ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC","BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD","QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD","IJBEJqXZJ"],AWt="~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt",id=null;function Ake(n){return(0,CWt.hexlify)((0,b6.toUtf8Bytes)(n))}var kWt="0xe3818de38284e3818f",PWt="0xe3818de38283e3818f";function kke(n){if(id!==null)return;id=[];var e={};e[(0,b6.toUtf8String)([227,130,154])]=!1,e[(0,b6.toUtf8String)([227,130,153])]=!1,e[(0,b6.toUtf8String)([227,130,133])]=(0,b6.toUtf8String)([227,130,134]),e[(0,b6.toUtf8String)([227,129,163])]=(0,b6.toUtf8String)([227,129,164]),e[(0,b6.toUtf8String)([227,130,131])]=(0,b6.toUtf8String)([227,130,132]),e[(0,b6.toUtf8String)([227,130,135])]=(0,b6.toUtf8String)([227,130,136]);function t(l){for(var y="",h=0;hy?1:0}for(var r=3;r<=9;r++)for(var i=SWt[r-3],s=0;s{"use strict";p();u();var LWt=_T&&_T.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(_T,"__esModule",{value:!0});_T.langKo=void 0;var MWt=ds(),One=o5(),BWt=["OYAa","ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8","ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6","ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv","AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo","AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg","HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb","AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl"],NWt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*";function FWt(n){return n>=40?n=n+168-40:n>=19&&(n=n+97-19),(0,MWt.toUtf8String)([225,(n>>6)+132,(n&63)+128])}var Ah=null;function Lke(n){if(Ah==null&&(Ah=[],BWt.forEach(function(e,t){t+=4;for(var a=0;a{"use strict";p();u();var VWt=wT&&wT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(wT,"__esModule",{value:!0});wT.langIt=void 0;var Vne=o5(),$Wt="AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa",_C=null;function Nke(n){if(_C==null&&(_C=$Wt.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Vne.Wordlist.check(n)!=="0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620"))throw _C=null,new Error("BIP39 Wordlist for it (Italian) FAILED")}var UWt=function(n){VWt(e,n);function e(){return n.call(this,"it")||this}return e.prototype.getWord=function(t){return Nke(this),_C[t]},e.prototype.getWordIndex=function(t){return Nke(this),_C.indexOf(t)},e}(Vne.Wordlist),Fke=new UWt;wT.langIt=Fke;Vne.Wordlist.register(Fke)});var qke=B(ym=>{"use strict";p();u();var qWt=ym&&ym.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(ym,"__esModule",{value:!0});ym.langZhTw=ym.langZhCn=void 0;var HWt=ds(),wC=o5(),$ne="}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN?";function Vke(n){if(xT[n.locale]===null){xT[n.locale]=[];for(var e=0,t=0;t<2048;t++){var a=jWt.indexOf($ne[t*3]),r=[228+(a>>2),128+Une.indexOf($ne[t*3+1]),128+Une.indexOf($ne[t*3+2])];if(n.locale==="zh_tw")for(var i=a%4,s=i;s<3;s++)r[s]=Une.indexOf(zWt[e++])+(s==0?228:128);xT[n.locale].push((0,HWt.toUtf8String)(r))}if(wC.Wordlist.check(n)!==WWt[n.locale])throw xT[n.locale]=null,new Error("BIP39 Wordlist for "+n.locale+" (Chinese) FAILED")}}var $ke=function(n){qWt(e,n);function e(t){return n.call(this,"zh_"+t)||this}return e.prototype.getWord=function(t){return Vke(this),xT[this.locale][t]},e.prototype.getWordIndex=function(t){return Vke(this),xT[this.locale].indexOf(t)},e.prototype.split=function(t){return t=t.replace(/(?:\u3000| )+/g,""),t.split("")},e}(wC.Wordlist),qne=new $ke("cn");ym.langZhCn=qne;wC.Wordlist.register(qne);wC.Wordlist.register(qne,"zh");var Uke=new $ke("tw");ym.langZhTw=Uke;wC.Wordlist.register(Uke)});var Hke=B(GO=>{"use strict";p();u();Object.defineProperty(GO,"__esModule",{value:!0});GO.wordlists=void 0;var GWt=mke(),KWt=gke(),QWt=xke(),YWt=Ske(),JWt=Rke(),XWt=Bke(),ZWt=Oke(),Hne=qke();GO.wordlists={cz:GWt.langCz,en:KWt.langEn,es:QWt.langEs,fr:YWt.langFr,it:ZWt.langIt,ja:JWt.langJa,ko:XWt.langKo,zh:Hne.langZhCn,zh_cn:Hne.langZhCn,zh_tw:Hne.langZhTw}});var zne=B(mm=>{"use strict";p();u();Object.defineProperty(mm,"__esModule",{value:!0});mm.wordlists=mm.Wordlist=mm.logger=void 0;var zke=o5();Object.defineProperty(mm,"logger",{enumerable:!0,get:function(){return zke.logger}});Object.defineProperty(mm,"Wordlist",{enumerable:!0,get:function(){return zke.Wordlist}});var ejt=Hke();Object.defineProperty(mm,"wordlists",{enumerable:!0,get:function(){return ejt.wordlists}})});var Wke=B(KO=>{"use strict";p();u();Object.defineProperty(KO,"__esModule",{value:!0});KO.version=void 0;KO.version="hdnode/5.7.0"});var YO=B(Ro=>{"use strict";p();u();Object.defineProperty(Ro,"__esModule",{value:!0});Ro.getAccountPath=Ro.isValidMnemonic=Ro.entropyToMnemonic=Ro.mnemonicToEntropy=Ro.mnemonicToSeed=Ro.HDNode=Ro.defaultPath=void 0;var Qke=BO(),fr=H0(),Yke=Zn(),xC=ds(),tjt=$O(),Po=xa(),jke=cC(),c5=Ch(),njt=f5(),Gke=zne(),ajt=R0(),rjt=Wke(),IC=new ajt.Logger(rjt.version),ijt=Yke.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),sjt=(0,xC.toUtf8Bytes)("Bitcoin seed"),ET=2147483648;function Jke(n){return(1<=256)throw new Error("Depth too large!");return Kke((0,fr.concat)([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",(0,fr.hexlify)(this.depth),this.parentFingerprint,(0,fr.hexZeroPad)((0,fr.hexlify)(this.index),4),this.chainCode,this.privateKey!=null?(0,fr.concat)(["0x00",this.privateKey]):this.publicKey]))},enumerable:!1,configurable:!0}),n.prototype.neuter=function(){return new n(IT,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)},n.prototype._derive=function(e){if(e>4294967295)throw new Error("invalid index - "+String(e));var t=this.path;t&&(t+="/"+(e&~ET));var a=new Uint8Array(37);if(e&ET){if(!this.privateKey)throw new Error("cannot derive child of neutered node");a.set((0,fr.arrayify)(this.privateKey),1),t&&(t+="'")}else a.set((0,fr.arrayify)(this.publicKey));for(var r=24;r>=0;r-=8)a[33+(r>>3)]=e>>24-r&255;var i=(0,fr.arrayify)((0,c5.computeHmac)(c5.SupportedAlgorithm.sha512,this.chainCode,a)),s=i.slice(0,32),f=i.slice(32),o=null,c=null;if(this.privateKey)o=QO(Yke.BigNumber.from(s).add(this.privateKey).mod(ijt));else{var d=new jke.SigningKey((0,fr.hexlify)(s));c=d._addPoint(this.publicKey)}var l=t,y=this.mnemonic;return y&&(l=Object.freeze({phrase:y.phrase,path:t,locale:y.locale||"en"})),new n(IT,o,c,this.fingerprint,QO(f),e,this.depth+1,l)},n.prototype.derivePath=function(e){var t=e.split("/");if(t.length===0||t[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);t[0]==="m"&&t.shift();for(var a=this,r=0;r=ET)throw new Error("invalid path index - "+i);a=a._derive(ET+s)}else if(i.match(/^[0-9]+$/)){var s=parseInt(i);if(s>=ET)throw new Error("invalid path index - "+i);a=a._derive(s)}else throw new Error("invalid path component - "+i)}return a},n._fromSeed=function(e,t){var a=(0,fr.arrayify)(e);if(a.length<16||a.length>64)throw new Error("invalid seed");var r=(0,fr.arrayify)((0,c5.computeHmac)(c5.SupportedAlgorithm.sha512,sjt,a));return new n(IT,QO(r.slice(0,32)),null,"0x00000000",QO(r.slice(32)),0,0,t)},n.fromMnemonic=function(e,t,a){return a=Wne(a),e=Zke(jne(e,a),a),n._fromSeed(Xke(e,t),{phrase:e,path:"m",locale:a.locale})},n.fromSeed=function(e){return n._fromSeed(e,null)},n.fromExtendedKey=function(e){var t=Qke.Base58.decode(e);(t.length!==82||Kke(t.slice(0,78))!==e)&&IC.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");var a=t[4],r=(0,fr.hexlify)(t.slice(5,9)),i=parseInt((0,fr.hexlify)(t.slice(9,13)).substring(2),16),s=(0,fr.hexlify)(t.slice(13,45)),f=t.slice(45,78);switch((0,fr.hexlify)(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new n(IT,null,(0,fr.hexlify)(f),r,s,i,a,null);case"0x0488ade4":case"0x04358394 ":if(f[0]!==0)break;return new n(IT,(0,fr.hexlify)(f.slice(1)),null,r,s,i,a,null)}return IC.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")},n}();Ro.HDNode=ojt;function Xke(n,e){e||(e="");var t=(0,xC.toUtf8Bytes)("mnemonic"+e,xC.UnicodeNormalizationForm.NFKD);return(0,tjt.pbkdf2)((0,xC.toUtf8Bytes)(n,xC.UnicodeNormalizationForm.NFKD),t,2048,64,"sha512")}Ro.mnemonicToSeed=Xke;function jne(n,e){e=Wne(e),IC.checkNormalize();var t=e.split(n);if(t.length%3!==0)throw new Error("invalid mnemonic");for(var a=(0,fr.arrayify)(new Uint8Array(Math.ceil(11*t.length/8))),r=0,i=0;i>3]|=1<<7-r%8),r++}var o=32*t.length/3,c=t.length/3,d=Jke(c),l=(0,fr.arrayify)((0,c5.sha256)(a.slice(0,o/8)))[0]&d;if(l!==(a[a.length-1]&d))throw new Error("invalid checksum");return(0,fr.hexlify)(a.slice(0,o/8))}Ro.mnemonicToEntropy=jne;function Zke(n,e){if(e=Wne(e),n=(0,fr.arrayify)(n),n.length%4!==0||n.length<16||n.length>32)throw new Error("invalid entropy");for(var t=[0],a=11,r=0;r8?(t[t.length-1]<<=8,t[t.length-1]|=n[r],a-=8):(t[t.length-1]<<=a,t[t.length-1]|=n[r]>>8-a,t.push(n[r]&fjt(8-a)),a+=3);var i=n.length/4,s=(0,fr.arrayify)((0,c5.sha256)(n))[0]&Jke(i);return t[t.length-1]<<=i,t[t.length-1]|=s>>8-i,e.join(t.map(function(f){return e.getWord(f)}))}Ro.entropyToMnemonic=Zke;function cjt(n,e){try{return jne(n,e),!0}catch{}return!1}Ro.isValidMnemonic=cjt;function djt(n){return(typeof n!="number"||n<0||n>=ET||n%1)&&IC.throwArgumentError("invalid account index","index",n),"m/44'/60'/"+n+"'/0/0"}Ro.getAccountPath=djt});var ePe=B(JO=>{"use strict";p();u();Object.defineProperty(JO,"__esModule",{value:!0});JO.version=void 0;JO.version="random/5.7.0"});var aPe=B(ZO=>{"use strict";p();u();Object.defineProperty(ZO,"__esModule",{value:!0});ZO.randomBytes=void 0;var ljt=H0(),nPe=R0(),pjt=ePe(),Gne=new nPe.Logger(pjt.version);function ujt(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}var tPe=ujt(),XO=tPe.crypto||tPe.msCrypto;(!XO||!XO.getRandomValues)&&(Gne.warn("WARNING: Missing strong random number source"),XO={getRandomValues:function(n){return Gne.throwError("no secure random source avaialble",nPe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function yjt(n){(n<=0||n>1024||n%1||n!=n)&&Gne.throwArgumentError("invalid length","length",n);var e=new Uint8Array(n);return XO.getRandomValues(e),(0,ljt.arrayify)(e)}ZO.randomBytes=yjt});var rPe=B(eV=>{"use strict";p();u();Object.defineProperty(eV,"__esModule",{value:!0});eV.shuffled=void 0;function mjt(n){n=n.slice();for(var e=n.length-1;e>0;e--){var t=Math.floor(Math.random()*(e+1)),a=n[e];n[e]=n[t],n[t]=a}return n}eV.shuffled=mjt});var EC=B(DT=>{"use strict";p();u();Object.defineProperty(DT,"__esModule",{value:!0});DT.shuffled=DT.randomBytes=void 0;var bjt=aPe();Object.defineProperty(DT,"randomBytes",{enumerable:!0,get:function(){return bjt.randomBytes}});var hjt=rPe();Object.defineProperty(DT,"shuffled",{enumerable:!0,get:function(){return hjt.shuffled}})});var Qne=B((Kne,iPe)=>{"use strict";p();u();(function(n){function e(g){return parseInt(g)===g}function t(g){if(!e(g.length))return!1;for(var R=0;R255)return!1;return!0}function a(g,R){if(g.buffer&&ArrayBuffer.isView(g)&&g.name==="Uint8Array")return R&&(g.slice?g=g.slice():g=Array.prototype.slice.call(g)),g;if(Array.isArray(g)){if(!t(g))throw new Error("Array contains invalid value: "+g);return new Uint8Array(g)}if(e(g.length)&&t(g))return new Uint8Array(g);throw new Error("unsupported array-like object")}function r(g){return new Uint8Array(g)}function i(g,R,k,C,H){(C!=null||H!=null)&&(g.slice?g=g.slice(C,H):g=Array.prototype.slice.call(g,C,H)),R.set(g,k)}var s=function(){function g(k){var C=[],H=0;for(k=encodeURI(k);H191&&te<224?(C.push(String.fromCharCode((te&31)<<6|k[H+1]&63)),H+=2):(C.push(String.fromCharCode((te&15)<<12|(k[H+1]&63)<<6|k[H+2]&63)),H+=3)}return C.join("")}return{toBytes:g,fromBytes:R}}(),f=function(){function g(C){for(var H=[],te=0;te>4]+R[V&15])}return H.join("")}return{toBytes:g,fromBytes:k}}(),o={16:10,24:12,32:14},c=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],l=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],y=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],h=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],T=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],A=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],O=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],N=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],U=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],q=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],W=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],G=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],X=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],J=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function j(g){for(var R=[],k=0;k>2,this._Ke[te][R%4]=H[R],this._Kd[g-te][R%4]=H[R];for(var V=0,Y=C,ee;Y>16&255]<<24^d[ee>>8&255]<<16^d[ee&255]<<8^d[ee>>24&255]^c[V]<<24,V+=1,C!=8)for(var R=1;R>8&255]<<8^d[ee>>16&255]<<16^d[ee>>24&255]<<24;for(var R=C/2+1;R>2,pe=Y%4,this._Ke[ae][pe]=H[R],this._Kd[g-ae][pe]=H[R++],Y++}for(var ae=1;ae>24&255]^G[ee>>16&255]^X[ee>>8&255]^J[ee&255]},z.prototype.encrypt=function(g){if(g.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var R=this._Ke.length-1,k=[0,0,0,0],C=j(g),H=0;H<4;H++)C[H]^=this._Ke[0][H];for(var te=1;te>24&255]^h[C[(H+1)%4]>>16&255]^T[C[(H+2)%4]>>8&255]^A[C[(H+3)%4]&255]^this._Ke[te][H];C=k.slice()}for(var V=r(16),Y,H=0;H<4;H++)Y=this._Ke[R][H],V[4*H]=(d[C[H]>>24&255]^Y>>24)&255,V[4*H+1]=(d[C[(H+1)%4]>>16&255]^Y>>16)&255,V[4*H+2]=(d[C[(H+2)%4]>>8&255]^Y>>8)&255,V[4*H+3]=(d[C[(H+3)%4]&255]^Y)&255;return V},z.prototype.decrypt=function(g){if(g.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var R=this._Kd.length-1,k=[0,0,0,0],C=j(g),H=0;H<4;H++)C[H]^=this._Kd[0][H];for(var te=1;te>24&255]^N[C[(H+3)%4]>>16&255]^U[C[(H+2)%4]>>8&255]^q[C[(H+1)%4]&255]^this._Kd[te][H];C=k.slice()}for(var V=r(16),Y,H=0;H<4;H++)Y=this._Kd[R][H],V[4*H]=(l[C[H]>>24&255]^Y>>24)&255,V[4*H+1]=(l[C[(H+3)%4]>>16&255]^Y>>16)&255,V[4*H+2]=(l[C[(H+2)%4]>>8&255]^Y>>8)&255,V[4*H+3]=(l[C[(H+1)%4]&255]^Y)&255;return V};var P=function(g){if(!(this instanceof P))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new z(g)};P.prototype.encrypt=function(g){if(g=a(g),g.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var R=r(g.length),k=r(16),C=0;C=0;--R)this._counter[R]=g%256,g=g>>8},b.prototype.setBytes=function(g){if(g=a(g,!0),g.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=g},b.prototype.increment=function(){for(var g=15;g>=0;g--)if(this._counter[g]===255)this._counter[g]=0;else{this._counter[g]++;break}};var x=function(g,R){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",R instanceof b||(R=new b(R)),this._counter=R,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new z(g)};x.prototype.encrypt=function(g){for(var R=a(g,!0),k=0;k16)throw new Error("PKCS#7 padding byte out of range");for(var k=g.length-R,C=0;C{"use strict";p();u();Object.defineProperty(tV,"__esModule",{value:!0});tV.version=void 0;tV.version="json-wallets/5.7.0"});var Jne=B(h6=>{"use strict";p();u();Object.defineProperty(h6,"__esModule",{value:!0});h6.uuidV4=h6.searchPath=h6.getPassword=h6.zpad=h6.looseArrayify=void 0;var nV=H0(),sPe=ds();function gjt(n){return typeof n=="string"&&n.substring(0,2)!=="0x"&&(n="0x"+n),(0,nV.arrayify)(n)}h6.looseArrayify=gjt;function vjt(n,e){for(n=String(n);n.length{"use strict";p();u();var xjt=d5&&d5.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),Ijt=d5&&d5.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(d5,"__esModule",{value:!0});d5.decrypt=d5.CrowdsaleAccount=void 0;var fPe=Ijt(Qne()),Ejt=go(),oPe=H0(),Djt=T1(),Cjt=$O(),Sjt=ds(),Ajt=xa(),kjt=R0(),Pjt=Yne(),Rjt=new kjt.Logger(Pjt.version),aV=Jne(),cPe=function(n){xjt(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.isCrowdsaleAccount=function(t){return!!(t&&t._isCrowdsaleAccount)},e}(Ajt.Description);d5.CrowdsaleAccount=cPe;function Ljt(n,e){var t=JSON.parse(n);e=(0,aV.getPassword)(e);var a=(0,Ejt.getAddress)((0,aV.searchPath)(t,"ethaddr")),r=(0,aV.looseArrayify)((0,aV.searchPath)(t,"encseed"));(!r||r.length%16!==0)&&Rjt.throwArgumentError("invalid encseed","json",n);for(var i=(0,oPe.arrayify)((0,Cjt.pbkdf2)(e,e,2e3,32,"sha256")).slice(0,16),s=r.slice(0,16),f=r.slice(16),o=new fPe.default.ModeOfOperation.cbc(i,s),c=fPe.default.padding.pkcs7.strip((0,oPe.arrayify)(o.decrypt(f))),d="",l=0;l{"use strict";p();u();Object.defineProperty(bm,"__esModule",{value:!0});bm.getJsonWalletAddress=bm.isKeystoreWallet=bm.isCrowdsaleWallet=void 0;var lPe=go();function pPe(n){var e=null;try{e=JSON.parse(n)}catch{return!1}return e.encseed&&e.ethaddr}bm.isCrowdsaleWallet=pPe;function uPe(n){var e=null;try{e=JSON.parse(n)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}bm.isKeystoreWallet=uPe;function Mjt(n){if(pPe(n))try{return(0,lPe.getAddress)(JSON.parse(n).ethaddr)}catch{return null}if(uPe(n))try{return(0,lPe.getAddress)(JSON.parse(n).address)}catch{return null}return null}bm.getJsonWalletAddress=Mjt});var bPe=B((Xne,mPe)=>{"use strict";p();u();(function(n){function t(h){let T=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),A=1779033703,O=3144134277,N=1013904242,U=2773480762,q=1359893119,W=2600822924,G=528734635,X=1541459225,J=new Uint32Array(64);function j(x){let L=0,M=x.length;for(;M>=64;){let w=A,g=O,R=N,k=U,C=q,H=W,te=G,V=X,Y,ee,ae,pe,Q;for(ee=0;ee<16;ee++)ae=L+ee*4,J[ee]=(x[ae]&255)<<24|(x[ae+1]&255)<<16|(x[ae+2]&255)<<8|x[ae+3]&255;for(ee=16;ee<64;ee++)Y=J[ee-2],pe=(Y>>>17|Y<<15)^(Y>>>19|Y<<13)^Y>>>10,Y=J[ee-15],Q=(Y>>>7|Y<<25)^(Y>>>18|Y<<14)^Y>>>3,J[ee]=(pe+J[ee-7]|0)+(Q+J[ee-16]|0)|0;for(ee=0;ee<64;ee++)pe=(((C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7))+(C&H^~C&te)|0)+(V+(T[ee]+J[ee]|0)|0)|0,Q=((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+(w&g^w&R^g&R)|0,V=te,te=H,H=C,C=k+pe|0,k=R,R=g,g=w,w=pe+Q|0;A=A+w|0,O=O+g|0,N=N+R|0,U=U+k|0,q=q+C|0,W=W+H|0,G=G+te|0,X=X+V|0,L+=64,M-=64}}j(h);let z,P=h.length%64,_=h.length/536870912|0,F=h.length<<3,v=P<56?56:120,b=h.slice(h.length-P,h.length);for(b.push(128),z=P+1;z>>24&255),b.push(_>>>16&255),b.push(_>>>8&255),b.push(_>>>0&255),b.push(F>>>24&255),b.push(F>>>16&255),b.push(F>>>8&255),b.push(F>>>0&255),j(b),[A>>>24&255,A>>>16&255,A>>>8&255,A>>>0&255,O>>>24&255,O>>>16&255,O>>>8&255,O>>>0&255,N>>>24&255,N>>>16&255,N>>>8&255,N>>>0&255,U>>>24&255,U>>>16&255,U>>>8&255,U>>>0&255,q>>>24&255,q>>>16&255,q>>>8&255,q>>>0&255,W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255,G>>>24&255,G>>>16&255,G>>>8&255,G>>>0&255,X>>>24&255,X>>>16&255,X>>>8&255,X>>>0&255]}function a(h,T,A){h=h.length<=64?h:t(h);let O=64+T.length+4,N=new Array(O),U=new Array(64),q,W=[];for(q=0;q<64;q++)N[q]=54;for(q=0;q=O-4;X--){if(N[X]++,N[X]<=255)return;N[X]=0}}for(;A>=32;)G(),W=W.concat(t(U.concat(t(N)))),A-=32;return A>0&&(G(),W=W.concat(t(U.concat(t(N))).slice(0,A))),W}function r(h,T,A,O,N){let U;for(o(h,(2*A-1)*16,N,0,16),U=0;U<2*A;U++)f(h,U*16,N,16),s(N,O),o(N,0,h,T+U*16,16);for(U=0;U>>32-T}function s(h,T){o(h,0,T,0,16);for(let A=8;A>0;A-=2)T[4]^=i(T[0]+T[12],7),T[8]^=i(T[4]+T[0],9),T[12]^=i(T[8]+T[4],13),T[0]^=i(T[12]+T[8],18),T[9]^=i(T[5]+T[1],7),T[13]^=i(T[9]+T[5],9),T[1]^=i(T[13]+T[9],13),T[5]^=i(T[1]+T[13],18),T[14]^=i(T[10]+T[6],7),T[2]^=i(T[14]+T[10],9),T[6]^=i(T[2]+T[14],13),T[10]^=i(T[6]+T[2],18),T[3]^=i(T[15]+T[11],7),T[7]^=i(T[3]+T[15],9),T[11]^=i(T[7]+T[3],13),T[15]^=i(T[11]+T[7],18),T[1]^=i(T[0]+T[3],7),T[2]^=i(T[1]+T[0],9),T[3]^=i(T[2]+T[1],13),T[0]^=i(T[3]+T[2],18),T[6]^=i(T[5]+T[4],7),T[7]^=i(T[6]+T[5],9),T[4]^=i(T[7]+T[6],13),T[5]^=i(T[4]+T[7],18),T[11]^=i(T[10]+T[9],7),T[8]^=i(T[11]+T[10],9),T[9]^=i(T[8]+T[11],13),T[10]^=i(T[9]+T[8],18),T[12]^=i(T[15]+T[14],7),T[13]^=i(T[12]+T[15],9),T[14]^=i(T[13]+T[12],13),T[15]^=i(T[14]+T[13],18);for(let A=0;A<16;++A)h[A]+=T[A]}function f(h,T,A,O){for(let N=0;N=256)return!1}return!0}function d(h,T){if(typeof h!="number"||h%1)throw new Error("invalid "+T);return h}function l(h,T,A,O,N,U,q){if(A=d(A,"N"),O=d(O,"r"),N=d(N,"p"),U=d(U,"dkLen"),A===0||A&A-1)throw new Error("N must be power of 2");if(A>2147483647/128/O)throw new Error("N too large");if(O>2147483647/128/N)throw new Error("r too large");if(!c(h))throw new Error("password must be an array or buffer");if(h=Array.prototype.slice.call(h),!c(T))throw new Error("salt must be an array or buffer");T=Array.prototype.slice.call(T);let W=a(h,T,N*128*O),G=new Uint32Array(N*32*O);for(let C=0;Cg&&(C=g);for(let te=0;teg&&(C=g);for(let te=0;te>0&255),W.push(G[te]>>8&255),W.push(G[te]>>16&255),W.push(G[te]>>24&255);let H=a(h,W,U);return q&&q(null,1,H),H}q&&R(k)};if(!q)for(;;){let C=k();if(C!=null)return C}k()}let y={scrypt:function(h,T,A,O,N,U,q){return new Promise(function(W,G){let X=0;q&&q(0),l(h,T,A,O,N,U,function(J,j,z){if(J)G(J);else if(z)q&&X!==1&&q(1),W(new Uint8Array(z));else if(q&&j!==X)return X=j,q(j)})})},syncScrypt:function(h,T,A,O,N,U){return new Uint8Array(l(h,T,A,O,N,U))}};typeof Xne<"u"?mPe.exports=y:typeof define=="function"&&define.amd?define(y):n&&(n.scrypt&&(n._scrypt=n.scrypt),n.scrypt=y)})(Xne)});var DPe=B(of=>{"use strict";p();u();var Bjt=of&&of.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),Njt=of&&of.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},Fjt=of&&of.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();Object.defineProperty(ms,"__esModule",{value:!0});ms.decryptJsonWalletSync=ms.decryptJsonWallet=ms.getJsonWalletAddress=ms.isKeystoreWallet=ms.isCrowdsaleWallet=ms.encryptKeystore=ms.decryptKeystoreSync=ms.decryptKeystore=ms.decryptCrowdsale=void 0;var nae=dPe();Object.defineProperty(ms,"decryptCrowdsale",{enumerable:!0,get:function(){return nae.decrypt}});var Ph=yPe();Object.defineProperty(ms,"getJsonWalletAddress",{enumerable:!0,get:function(){return Ph.getJsonWalletAddress}});Object.defineProperty(ms,"isCrowdsaleWallet",{enumerable:!0,get:function(){return Ph.isCrowdsaleWallet}});Object.defineProperty(ms,"isKeystoreWallet",{enumerable:!0,get:function(){return Ph.isKeystoreWallet}});var DC=DPe();Object.defineProperty(ms,"decryptKeystore",{enumerable:!0,get:function(){return DC.decrypt}});Object.defineProperty(ms,"decryptKeystoreSync",{enumerable:!0,get:function(){return DC.decryptSync}});Object.defineProperty(ms,"encryptKeystore",{enumerable:!0,get:function(){return DC.encrypt}});function jjt(n,e,t){if((0,Ph.isCrowdsaleWallet)(n)){t&&t(0);var a=(0,nae.decrypt)(n,e);return t&&t(1),Promise.resolve(a)}return(0,Ph.isKeystoreWallet)(n)?(0,DC.decrypt)(n,e,t):Promise.reject(new Error("invalid JSON wallet"))}ms.decryptJsonWallet=jjt;function Gjt(n,e){if((0,Ph.isCrowdsaleWallet)(n))return(0,nae.decrypt)(n,e);if((0,Ph.isKeystoreWallet)(n))return(0,DC.decryptSync)(n,e);throw new Error("invalid JSON wallet")}ms.decryptJsonWalletSync=Gjt});var CPe=B(iV=>{"use strict";p();u();Object.defineProperty(iV,"__esModule",{value:!0});iV.version=void 0;iV.version="wallet/5.7.0"});var sae=B(mc=>{"use strict";p();u();var Kjt=mc&&mc.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),SPe=mc&&mc.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},APe=mc&&mc.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();Object.defineProperty(sV,"__esModule",{value:!0});sV.version=void 0;sV.version="networks/5.7.1"});var fae=B(cV=>{"use strict";p();u();Object.defineProperty(cV,"__esModule",{value:!0});cV.getNetwork=void 0;var rGt=R0(),iGt=LPe(),MPe=new rGt.Logger(iGt.version);function sGt(n){return n&&typeof n.renetwork=="function"}function H2(n){var e=function(t,a){a==null&&(a={});var r=[];if(t.InfuraProvider&&a.infura!=="-")try{r.push(new t.InfuraProvider(n,a.infura))}catch{}if(t.EtherscanProvider&&a.etherscan!=="-")try{r.push(new t.EtherscanProvider(n,a.etherscan))}catch{}if(t.AlchemyProvider&&a.alchemy!=="-")try{r.push(new t.AlchemyProvider(n,a.alchemy))}catch{}if(t.PocketProvider&&a.pocket!=="-"){var i=["goerli","ropsten","rinkeby","sepolia"];try{var s=new t.PocketProvider(n,a.pocket);s.network&&i.indexOf(s.network.name)===-1&&r.push(s)}catch{}}if(t.CloudflareProvider&&a.cloudflare!=="-")try{r.push(new t.CloudflareProvider(n))}catch{}if(t.AnkrProvider&&a.ankr!=="-")try{var i=["ropsten"],s=new t.AnkrProvider(n,a.ankr);s.network&&i.indexOf(s.network.name)===-1&&r.push(s)}catch{}if(r.length===0)return null;if(t.FallbackProvider){var f=1;return a.quorum!=null?f=a.quorum:n==="homestead"&&(f=2),new t.FallbackProvider(r,f)}return r[0]};return e.renetwork=function(t){return H2(t)},e}function oV(n,e){var t=function(a,r){return a.JsonRpcProvider?new a.JsonRpcProvider(n,e):null};return t.renetwork=function(a){return oV(n,a)},t}var BPe={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:H2("homestead")},NPe={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:H2("ropsten")},FPe={chainId:63,name:"classicMordor",_defaultProvider:oV("https://www.ethercluster.com/mordor","classicMordor")},fV={unspecified:{chainId:0,name:"unspecified"},homestead:BPe,mainnet:BPe,morden:{chainId:2,name:"morden"},ropsten:NPe,testnet:NPe,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:H2("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:H2("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:H2("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:H2("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:oV("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:FPe,classicTestnet:FPe,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:oV("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:H2("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:H2("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function fGt(n){if(n==null)return null;if(typeof n=="number"){for(var e in fV){var t=fV[e];if(t.chainId===n)return{name:t.name,chainId:t.chainId,ensAddress:t.ensAddress||null,_defaultProvider:t._defaultProvider||null}}return{chainId:n,name:"unknown"}}if(typeof n=="string"){var a=fV[n];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}var r=fV[n.name];if(!r)return typeof n.chainId!="number"&&MPe.throwArgumentError("invalid network chainId","network",n),n;n.chainId!==0&&n.chainId!==r.chainId&&MPe.throwArgumentError("network chainId mismatch","network",n);var i=n._defaultProvider||null;return i==null&&r._defaultProvider&&(sGt(r._defaultProvider)?i=r._defaultProvider.renetwork(n):i=r._defaultProvider),{name:n.name,chainId:r.chainId,ensAddress:n.ensAddress||r.ensAddress||null,_defaultProvider:i}}cV.getNetwork=fGt});var OPe=B(dV=>{"use strict";p();u();Object.defineProperty(dV,"__esModule",{value:!0});dV.version=void 0;dV.version="web/5.7.1"});var VPe=B(gm=>{"use strict";p();u();var oGt=gm&&gm.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},cGt=gm&&gm.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();var pGt=g6&&g6.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},uGt=g6&&g6.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]0&&a%1===0,"invalid connection throttle limit","connection.throttleLimit",a);var r=typeof n=="object"?n.throttleCallback:null,i=typeof n=="object"&&typeof n.throttleSlotInterval=="number"?n.throttleSlotInterval:100;ql.assertArgument(i>0&&i%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",i);var s=typeof n=="object"?!!n.errorPassThrough:!1,f={},o=null,c={method:"GET"},d=!1,l=2*60*1e3;if(typeof n=="string")o=n;else if(typeof n=="object"){if((n==null||n.url==null)&&ql.throwArgumentError("missing URL","connection.url",n),o=n.url,typeof n.timeout=="number"&&n.timeout>0&&(l=n.timeout),n.headers)for(var y in n.headers)f[y.toLowerCase()]={key:y,value:String(n.headers[y])},["if-none-match","if-modified-since"].indexOf(y.toLowerCase())>=0&&(d=!0);if(c.allowGzip=!!n.allowGzip,n.user!=null&&n.password!=null){o.substring(0,6)!=="https:"&&n.allowInsecureAuthentication!==!0&&ql.throwError("basic authentication requires a secure https url",z2.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:o,user:n.user,password:"[REDACTED]"});var h=n.user+":"+n.password;f.authorization={key:"Authorization",value:"Basic "+(0,$Pe.encode)((0,AC.toUtf8Bytes)(h))}}n.skipFetchSetup!=null&&(c.skipFetchSetup=!!n.skipFetchSetup),n.fetchOptions!=null&&(c.fetchOptions=(0,lV.shallowCopy)(n.fetchOptions))}var T=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),A=o?o.match(T):null;if(A)try{var O={statusCode:200,statusMessage:"OK",headers:{"content-type":A[1]||"text/plain"},body:A[2]?(0,$Pe.decode)(A[3]):bGt(A[3])},N=O.body;return t&&(N=t(O.body,O)),Promise.resolve(N)}catch(G){ql.throwError("processing response error",z2.Logger.errors.SERVER_ERROR,{body:vm(A[1],A[2]),error:G,requestBody:null,requestMethod:"GET",url:o})}e&&(c.method="POST",c.body=e,f["content-type"]==null&&(f["content-type"]={key:"Content-Type",value:"application/octet-stream"}),f["content-length"]==null&&(f["content-length"]={key:"Content-Length",value:String(e.length)}));var U={};Object.keys(f).forEach(function(G){var X=f[G];U[X.key]=X.value}),c.headers=U;var q=function(){var G=null,X=new Promise(function(j,z){l&&(G=setTimeout(function(){G!=null&&(G=null,z(ql.makeError("timeout",z2.Logger.errors.TIMEOUT,{requestBody:vm(c.body,U["content-type"]),requestMethod:c.method,timeout:l,url:o})))},l))}),J=function(){G!=null&&(clearTimeout(G),G=null)};return{promise:X,cancel:J}}(),W=function(){return pGt(this,void 0,void 0,function(){var G,X,J,b,j,z,P,_,F,v,b,x;return uGt(this,function(L){switch(L.label){case 0:G=0,L.label=1;case 1:if(!(G=300)&&(q.cancel(),ql.throwError("bad response",z2.Logger.errors.SERVER_ERROR,{status:X.statusCode,headers:X.headers,body:vm(_,X.headers?X.headers["content-type"]:null),requestBody:vm(c.body,U["content-type"]),requestMethod:c.method,url:o})),!t)return[3,18];L.label=11;case 11:return L.trys.push([11,13,,18]),[4,t(_,X)];case 12:return F=L.sent(),q.cancel(),[2,F];case 13:return v=L.sent(),v.throttleRetry&&Gf){s()&&a(new Error("retry limit reached"));return}var l=e.interval*parseInt(String(Math.random()*Math.pow(2,o)));le.ceiling&&(l=e.ceiling),setTimeout(c,l)}return null},function(d){s()&&a(d)})}c()})}g6.poll=gGt});var GPe=B((Kjn,jPe)=>{"use strict";p();u();var uV="qpzry9x8gf2tvdw0s3jn54khce6mua7l",oae={};for(kC=0;kC>25;return(n&33554431)<<5^-(e>>0&1)&996825010^-(e>>1&1)&642813549^-(e>>2&1)&513874426^-(e>>3&1)&1027748829^-(e>>4&1)&705979059}function zPe(n){for(var e=1,t=0;t126)return"Invalid prefix ("+n+")";e=AT(e)^a>>5}for(e=AT(e),t=0;tt)throw new TypeError("Exceeds length limit");n=n.toLowerCase();var a=zPe(n);if(typeof a=="string")throw new Error(a);for(var r=n+"1",i=0;i>5)throw new Error("Non 5-bit word");a=AT(a)^s,r+=uV.charAt(s)}for(i=0;i<6;++i)a=AT(a);for(a^=1,i=0;i<6;++i){var f=a>>(5-i)*5&31;r+=uV.charAt(f)}return r}function WPe(n,e){if(e=e||90,n.length<8)return n+" too short";if(n.length>e)return"Exceeds length limit";var t=n.toLowerCase(),a=n.toUpperCase();if(n!==t&&n!==a)return"Mixed-case string "+n;n=t;var r=n.lastIndexOf("1");if(r===-1)return"No separator character for "+n;if(r===0)return"Missing prefix for "+n;var i=n.slice(0,r),s=n.slice(r+1);if(s.length<6)return"Data too short";var f=zPe(i);if(typeof f=="string")return f;for(var o=[],c=0;c=s.length)&&o.push(l)}return f!==1?"Invalid checksum for "+n:{prefix:i,words:o}}function TGt(){var n=WPe.apply(null,arguments);if(typeof n=="object")return n}function _Gt(n){var e=WPe.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function yV(n,e,t,a){for(var r=0,i=0,s=(1<=t;)i-=t,f.push(r>>i&s);if(a)i>0&&f.push(r<=e)return"Excess padding";if(r<{"use strict";p();u();Object.defineProperty(mV,"__esModule",{value:!0});mV.version=void 0;mV.version="providers/5.7.2"});var Tm=B(u5=>{"use strict";p();u();Object.defineProperty(u5,"__esModule",{value:!0});u5.showThrottleMessage=u5.isCommunityResource=u5.isCommunityResourcable=u5.Formatter=void 0;var cae=go(),j2=Zn(),p5=H0(),DGt=V8(),CGt=xa(),KPe=f5(),SGt=R0(),AGt=qf(),PC=new SGt.Logger(AGt.version),kGt=function(){function n(){this.formats=this.getDefaultFormats()}return n.prototype.getDefaultFormats=function(){var e=this,t={},a=this.address.bind(this),r=this.bigNumber.bind(this),i=this.blockTag.bind(this),s=this.data.bind(this),f=this.hash.bind(this),o=this.hex.bind(this),c=this.number.bind(this),d=this.type.bind(this),l=function(y){return e.data(y,!0)};return t.transaction={hash:f,type:d,accessList:n.allowNull(this.accessList.bind(this),null),blockHash:n.allowNull(f,null),blockNumber:n.allowNull(c,null),transactionIndex:n.allowNull(c,null),confirmations:n.allowNull(c,null),from:a,gasPrice:n.allowNull(r),maxPriorityFeePerGas:n.allowNull(r),maxFeePerGas:n.allowNull(r),gasLimit:r,to:n.allowNull(a,null),value:r,nonce:c,data:s,r:n.allowNull(this.uint256),s:n.allowNull(this.uint256),v:n.allowNull(c),creates:n.allowNull(a,null),raw:n.allowNull(s)},t.transactionRequest={from:n.allowNull(a),nonce:n.allowNull(c),gasLimit:n.allowNull(r),gasPrice:n.allowNull(r),maxPriorityFeePerGas:n.allowNull(r),maxFeePerGas:n.allowNull(r),to:n.allowNull(a),value:n.allowNull(r),data:n.allowNull(l),type:n.allowNull(c),accessList:n.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:c,blockNumber:c,transactionHash:f,address:a,topics:n.arrayOf(f),data:s,logIndex:c,blockHash:f},t.receipt={to:n.allowNull(this.address,null),from:n.allowNull(this.address,null),contractAddress:n.allowNull(a,null),transactionIndex:c,root:n.allowNull(o),gasUsed:r,logsBloom:n.allowNull(s),blockHash:f,transactionHash:f,logs:n.arrayOf(this.receiptLog.bind(this)),blockNumber:c,confirmations:n.allowNull(c,null),cumulativeGasUsed:r,effectiveGasPrice:n.allowNull(r),status:n.allowNull(c),type:d},t.block={hash:n.allowNull(f),parentHash:f,number:c,timestamp:c,nonce:n.allowNull(o),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:n.allowNull(a),extraData:s,transactions:n.allowNull(n.arrayOf(f)),baseFeePerGas:n.allowNull(r)},t.blockWithTransactions=(0,CGt.shallowCopy)(t.block),t.blockWithTransactions.transactions=n.allowNull(n.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:n.allowNull(i,void 0),toBlock:n.allowNull(i,void 0),blockHash:n.allowNull(f,void 0),address:n.allowNull(a,void 0),topics:n.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:n.allowNull(c),blockHash:n.allowNull(f),transactionIndex:c,removed:n.allowNull(this.boolean.bind(this)),address:a,data:n.allowFalsish(s,"0x"),topics:n.arrayOf(f),transactionHash:f,logIndex:c},t},n.prototype.accessList=function(e){return(0,KPe.accessListify)(e||[])},n.prototype.number=function(e){return e==="0x"?0:j2.BigNumber.from(e).toNumber()},n.prototype.type=function(e){return e==="0x"||e==null?0:j2.BigNumber.from(e).toNumber()},n.prototype.bigNumber=function(e){return j2.BigNumber.from(e)},n.prototype.boolean=function(e){if(typeof e=="boolean")return e;if(typeof e=="string"){if(e=e.toLowerCase(),e==="true")return!0;if(e==="false")return!1}throw new Error("invalid boolean - "+e)},n.prototype.hex=function(e,t){return typeof e=="string"&&(!t&&e.substring(0,2)!=="0x"&&(e="0x"+e),(0,p5.isHexString)(e))?e.toLowerCase():PC.throwArgumentError("invalid hash","value",e)},n.prototype.data=function(e,t){var a=this.hex(e,t);if(a.length%2!==0)throw new Error("invalid data; odd-length - "+e);return a},n.prototype.address=function(e){return(0,cae.getAddress)(e)},n.prototype.callAddress=function(e){if(!(0,p5.isHexString)(e,32))return null;var t=(0,cae.getAddress)((0,p5.hexDataSlice)(e,12));return t===DGt.AddressZero?null:t},n.prototype.contractAddress=function(e){return(0,cae.getContractAddress)(e)},n.prototype.blockTag=function(e){if(e==null)return"latest";if(e==="earliest")return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if(typeof e=="number"||(0,p5.isHexString)(e))return(0,p5.hexValue)(e);throw new Error("invalid blockTag")},n.prototype.hash=function(e,t){var a=this.hex(e,t);return(0,p5.hexDataLength)(a)!==32?PC.throwArgumentError("invalid hash","value",e):a},n.prototype.difficulty=function(e){if(e==null)return null;var t=j2.BigNumber.from(e);try{return t.toNumber()}catch{}return null},n.prototype.uint256=function(e){if(!(0,p5.isHexString)(e))throw new Error("invalid uint256");return(0,p5.hexZeroPad)(e,32)},n.prototype._block=function(e,t){e.author!=null&&e.miner==null&&(e.miner=e.author);var a=e._difficulty!=null?e._difficulty:e.difficulty,r=n.check(t,e);return r._difficulty=a==null?null:j2.BigNumber.from(a),r},n.prototype.block=function(e){return this._block(e,this.formats.block)},n.prototype.blockWithTransactions=function(e){return this._block(e,this.formats.blockWithTransactions)},n.prototype.transactionRequest=function(e){return n.check(this.formats.transactionRequest,e)},n.prototype.transactionResponse=function(e){e.gas!=null&&e.gasLimit==null&&(e.gasLimit=e.gas),e.to&&j2.BigNumber.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),e.input!=null&&e.data==null&&(e.data=e.input),e.to==null&&e.creates==null&&(e.creates=this.contractAddress(e)),(e.type===1||e.type===2)&&e.accessList==null&&(e.accessList=[]);var t=n.check(this.formats.transaction,e);if(e.chainId!=null){var a=e.chainId;(0,p5.isHexString)(a)&&(a=j2.BigNumber.from(a).toNumber()),t.chainId=a}else{var a=e.networkId;a==null&&t.v==null&&(a=e.chainId),(0,p5.isHexString)(a)&&(a=j2.BigNumber.from(a).toNumber()),typeof a!="number"&&t.v!=null&&(a=(t.v-35)/2,a<0&&(a=0),a=parseInt(a)),typeof a!="number"&&(a=0),t.chainId=a}return t.blockHash&&t.blockHash.replace(/0/g,"")==="x"&&(t.blockHash=null),t},n.prototype.transaction=function(e){return(0,KPe.parse)(e)},n.prototype.receiptLog=function(e){return n.check(this.formats.receiptLog,e)},n.prototype.receipt=function(e){var t=n.check(this.formats.receipt,e);if(t.root!=null)if(t.root.length<=4){var a=j2.BigNumber.from(t.root).toNumber();a===0||a===1?(t.status!=null&&t.status!==a&&PC.throwArgumentError("alt-root-status/status mismatch","value",{root:t.root,status:t.status}),t.status=a,delete t.root):PC.throwArgumentError("invalid alt-root-status","value.root",t.root)}else t.root.length!==66&&PC.throwArgumentError("invalid root hash","value.root",t.root);return t.status!=null&&(t.byzantium=!0),t},n.prototype.topics=function(e){var t=this;return Array.isArray(e)?e.map(function(a){return t.topics(a)}):e!=null?this.hash(e,!0):null},n.prototype.filter=function(e){return n.check(this.formats.filter,e)},n.prototype.filterLog=function(e){return n.check(this.formats.filterLog,e)},n.check=function(e,t){var a={};for(var r in e)try{var i=e[r](t[r]);i!==void 0&&(a[r]=i)}catch(s){throw s.checkKey=r,s.checkValue=t[r],s}return a},n.allowNull=function(e,t){return function(a){return a==null?t:e(a)}},n.allowFalsish=function(e,t){return function(a){return a?e(a):t}},n.arrayOf=function(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var a=[];return t.forEach(function(r){a.push(e(r))}),a}},n}();u5.Formatter=kGt;function YPe(n){return n&&typeof n.isCommunityResource=="function"}u5.isCommunityResourcable=YPe;function PGt(n){return YPe(n)&&n.isCommunityResource()}u5.isCommunityResource=PGt;var QPe=!1;function RGt(){QPe||(QPe=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}u5.showThrottleMessage=RGt});var BC=B(Mo=>{"use strict";p();u();var LGt=Mo&&Mo.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),z0=Mo&&Mo.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},W0=Mo&&Mo.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]0&&n[n.length-1]==null;)n.pop();return n.map(function(e){if(Array.isArray(e)){var t={};e.forEach(function(r){t[eRe(r)]=!0});var a=Object.keys(t);return a.sort(),a.join("|")}else return eRe(e)}).join("&")}function $Gt(n){return n===""?[]:n.split(/&/g).map(function(e){if(e==="")return[];var t=e.split("|").map(function(a){return a==="null"?null:a});return t.length===1?t[0]:t})}function kT(n){if(typeof n=="string"){if(n=n.toLowerCase(),(0,U0.hexDataLength)(n)===32)return"tx:"+n;if(n.indexOf(":")===-1)return n}else{if(Array.isArray(n))return"filter:*:"+tRe(n);if(sRe.ForkEvent.isForkEvent(n))throw Ln.warn("not implemented"),new Error("not implemented");if(n&&typeof n=="object")return"filter:"+(n.address||"*")+":"+tRe(n.topics||[])}throw new Error("invalid event - "+n)}function RC(){return new Date().getTime()}function nRe(n){return new Promise(function(e){setTimeout(e,n)})}var UGt=["block","network","pending","poll"],fRe=function(){function n(e,t,a){(0,Zi.defineReadOnly)(this,"tag",e),(0,Zi.defineReadOnly)(this,"listener",t),(0,Zi.defineReadOnly)(this,"once",a),this._lastBlockNumber=-2,this._inflight=!1}return Object.defineProperty(n.prototype,"event",{get:function(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"type",{get:function(){return this.tag.split(":")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hash",{get:function(){var e=this.tag.split(":");return e[0]!=="tx"?null:e[1]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"filter",{get:function(){var e=this.tag.split(":");if(e[0]!=="filter")return null;var t=e[1],a=$Gt(e[2]),r={};return a.length>0&&(r.topics=a),t&&t!=="*"&&(r.address=t),r},enumerable:!1,configurable:!0}),n.prototype.pollable=function(){return this.tag.indexOf(":")>=0||UGt.indexOf(this.tag)>=0},n}();Mo.Event=fRe;var qGt={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function dae(n){return(0,U0.hexZeroPad)(Lo.BigNumber.from(n).toHexString(),32)}function aRe(n){return uae.Base58.encode((0,U0.concat)([n,(0,U0.hexDataSlice)((0,JPe.sha256)((0,JPe.sha256)(n)),0,4)]))}var oRe=new RegExp("^(ipfs)://(.*)$","i"),rRe=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),oRe,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function bV(n,e){try{return(0,yae.toUtf8String)(MC(n,e))}catch{}return null}function MC(n,e){if(n==="0x")return null;var t=Lo.BigNumber.from((0,U0.hexDataSlice)(n,e,e+32)).toNumber(),a=Lo.BigNumber.from((0,U0.hexDataSlice)(n,t,t+32)).toNumber();return(0,U0.hexDataSlice)(n,t+32,t+32+a)}function lae(n){return n.match(/^ipfs:\/\/ipfs\//i)?n=n.substring(12):n.match(/^ipfs:\/\//i)?n=n.substring(7):Ln.throwArgumentError("unsupported IPFS format","link",n),"https://gateway.ipfs.io/ipfs/"+n}function iRe(n){var e=(0,U0.arrayify)(n);if(e.length>32)throw new Error("internal; should not happen");var t=new Uint8Array(32);return t.set(e,32-e.length),t}function HGt(n){if(n.length%32===0)return n;var e=new Uint8Array(Math.ceil(n.length/32)*32);return e.set(n),e}function cRe(n){for(var e=[],t=0,a=0;a=1&&s<=75)return aRe((0,U0.concat)([[a.p2pkh],"0x"+i[2]]))}}if(a.p2sh!=null){var f=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(f){var o=parseInt(f[1],16);if(f[2].length===o*2&&o>=1&&o<=75)return aRe((0,U0.concat)([[a.p2sh],"0x"+f[2]]))}}if(a.prefix!=null){var c=r[1],d=r[0];if(d===0?c!==20&&c!==32&&(d=-1):d=-1,d>=0&&r.length===2+c&&c>=1&&c<=75){var l=XPe.default.toWords(r.slice(2));return l.unshift(d),XPe.default.encode(a.prefix,l)}}return null},n.prototype.getAddress=function(e){return z0(this,void 0,void 0,function(){var t,a,r,i;return W0(this,function(s){switch(s.label){case 0:if(e==null&&(e=60),e!==60)return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this._fetch("0x3b3b57de")];case 2:return t=s.sent(),t==="0x"||t===NGt.HashZero?[2,null]:[2,this.provider.formatter.callAddress(t)];case 3:if(a=s.sent(),a.code===Un.Logger.errors.CALL_EXCEPTION)return[2,null];throw a;case 4:return[4,this._fetchBytes("0xf1cb7e06",dae(e))];case 5:return r=s.sent(),r==null||r==="0x"?[2,null]:(i=this._getAddress(e,r),i==null&&Ln.throwError("invalid or unsupported coin data",Un.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress("+e+")",coinType:e,data:r}),[2,i])}})})},n.prototype.getAvatar=function(){return z0(this,void 0,void 0,function(){var e,t,a,r,i,s,f,o,c,d,l,y,h,T,A,O,N,U,q,W,G,X,J,j,z;return W0(this,function(P){switch(P.label){case 0:e=[{type:"name",content:this.name}],P.label=1;case 1:return P.trys.push([1,19,,20]),[4,this.getText("avatar")];case 2:if(t=P.sent(),t==null)return[2,null];a=0,P.label=3;case 3:if(!(a=0?null:JSON.stringify({data:s,sender:i}),[4,(0,PT.fetchJson)({url:d,errorPassThrough:!0},l,function(A,O){return A.status=O.statusCode,A})]):[3,4];case 2:if(y=T.sent(),y.data)return[2,y.data];if(h=y.message||"unknown error",y.status>=400&&y.status<500)return[2,Ln.throwError("response not found during CCIP fetch: "+h,Un.Logger.errors.SERVER_ERROR,{url:c,errorMessage:h})];f.push(h),T.label=3;case 3:return o++,[3,1];case 4:return[2,Ln.throwError("error encountered during CCIP fetch: "+f.map(function(A){return JSON.stringify(A)}).join(", "),Un.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:f})]}})})},e.prototype._getInternalBlockNumber=function(t){return z0(this,void 0,void 0,function(){var a,r,i,s,f,o=this;return W0(this,function(c){switch(c.label){case 0:return[4,this._ready()];case 1:if(c.sent(),!(t>0))return[3,7];c.label=2;case 2:if(!this._internalBlockNumber)return[3,7];a=this._internalBlockNumber,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,a];case 4:return r=c.sent(),RC()-r.respTime<=t?[2,r.blockNumber]:[3,7];case 5:return i=c.sent(),this._internalBlockNumber===a?[3,7]:[3,6];case 6:return[3,2];case 7:return s=RC(),f=(0,Zi.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(function(d){return null},function(d){return d})}).then(function(d){var l=d.blockNumber,y=d.networkError;if(y)throw o._internalBlockNumber===f&&(o._internalBlockNumber=null),y;var h=RC();return l=Lo.BigNumber.from(l).toNumber(),l1e3)Ln.warn("network block skew detected; skipping block events (emitted="+this._emitted.block+" blockNumber"+r+")"),this.emit("error",Ln.makeError("network block skew detected",Un.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(s=this._emitted.block+1;s<=r;s++)this.emit("block",s);return this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach(function(c){if(c!=="block"){var d=f._emitted[c];d!=="pending"&&r-d>12&&delete f._emitted[c]}})),this._lastBlockNumber===-2&&(this._lastBlockNumber=r-1),this._events.forEach(function(c){switch(c.type){case"tx":{var d=c.hash,l=f.getTransactionReceipt(d).then(function(T){return!T||T.blockNumber==null||(f._emitted["t:"+d]=T.blockNumber,f.emit(d,T)),null}).catch(function(T){f.emit("error",T)});a.push(l);break}case"filter":{if(!c._inflight){c._inflight=!0,c._lastBlockNumber===-2&&(c._lastBlockNumber=r-1);var y=c.filter;y.fromBlock=c._lastBlockNumber+1,y.toBlock=r;var h=y.toBlock-f._maxFilterBlockRange;h>y.fromBlock&&(y.fromBlock=h),y.fromBlock<0&&(y.fromBlock=0);var l=f.getLogs(y).then(function(A){c._inflight=!1,A.length!==0&&A.forEach(function(O){O.blockNumber>c._lastBlockNumber&&(c._lastBlockNumber=O.blockNumber),f._emitted["b:"+O.blockHash]=O.blockNumber,f._emitted["t:"+O.transactionHash]=O.blockNumber,f.emit(y,O)})}).catch(function(A){f.emit("error",A),c._inflight=!1});a.push(l)}break}}}),this._lastBlockNumber=r,Promise.all(a).then(function(){f.emit("didPoll",t)}).catch(function(c){f.emit("error",c)}),[2]}})})},e.prototype.resetEventsBlock=function(t){this._lastBlockNumber=t-1,this.polling&&this.poll()},Object.defineProperty(e.prototype,"network",{get:function(){return this._network},enumerable:!1,configurable:!0}),e.prototype.detectNetwork=function(){return z0(this,void 0,void 0,function(){return W0(this,function(t){return[2,Ln.throwError("provider does not support network detection",Un.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})]})})},e.prototype.getNetwork=function(){return z0(this,void 0,void 0,function(){var t,a,r;return W0(this,function(i){switch(i.label){case 0:return[4,this._ready()];case 1:return t=i.sent(),[4,this.detectNetwork()];case 2:return a=i.sent(),t.chainId===a.chainId?[3,5]:this.anyNetwork?(this._network=a,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",a,t),[4,nRe(0)]):[3,4];case 3:return i.sent(),[2,this._network];case 4:throw r=Ln.makeError("underlying network changed",Un.Logger.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:a}),this.emit("error",r),r;case 5:return[2,t]}})})},Object.defineProperty(e.prototype,"blockNumber",{get:function(){var t=this;return this._getInternalBlockNumber(100+this.pollingInterval/2).then(function(a){t._setFastBlockNumber(a)},function(a){}),this._fastBlockNumber!=null?this._fastBlockNumber:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"polling",{get:function(){return this._poller!=null},set:function(t){var a=this;t&&!this._poller?(this._poller=setInterval(function(){a.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(function(){a.poll(),a._bootstrapPoll=setTimeout(function(){a._poller||a.poll(),a._bootstrapPoll=null},a.pollingInterval)},0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(t){var a=this;if(typeof t!="number"||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval(function(){a.poll()},this._pollingInterval))},enumerable:!1,configurable:!0}),e.prototype._getFastBlockNumber=function(){var t=this,a=RC();return a-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=a,this._fastBlockNumberPromise=this.getBlockNumber().then(function(r){return(t._fastBlockNumber==null||r>t._fastBlockNumber)&&(t._fastBlockNumber=r),t._fastBlockNumber})),this._fastBlockNumberPromise},e.prototype._setFastBlockNumber=function(t){this._fastBlockNumber!=null&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))},e.prototype.waitForTransaction=function(t,a,r){return z0(this,void 0,void 0,function(){return W0(this,function(i){return[2,this._waitForTransaction(t,a??1,r||0,null)]})})},e.prototype._waitForTransaction=function(t,a,r,i){return z0(this,void 0,void 0,function(){var s,f=this;return W0(this,function(o){switch(o.label){case 0:return[4,this.getTransactionReceipt(t)];case 1:return s=o.sent(),(s?s.confirmations:0)>=a?[2,s]:[2,new Promise(function(c,d){var l=[],y=!1,h=function(){return y?!0:(y=!0,l.forEach(function(q){q()}),!1)},T=function(q){q.confirmations0){var U=setTimeout(function(){h()||d(Ln.makeError("timeout exceeded",Un.Logger.errors.TIMEOUT,{timeout:r}))},r);U.unref&&U.unref(),l.push(function(){clearTimeout(U)})}})]}})})},e.prototype.getBlockNumber=function(){return z0(this,void 0,void 0,function(){return W0(this,function(t){return[2,this._getInternalBlockNumber(0)]})})},e.prototype.getGasPrice=function(){return z0(this,void 0,void 0,function(){var t;return W0(this,function(a){switch(a.label){case 0:return[4,this.getNetwork()];case 1:return a.sent(),[4,this.perform("getGasPrice",{})];case 2:t=a.sent();try{return[2,Lo.BigNumber.from(t)]}catch(r){return[2,Ln.throwError("bad result from backend",Un.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:r})]}return[2]}})})},e.prototype.getBalance=function(t,a){return z0(this,void 0,void 0,function(){var r,i;return W0(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,Zi.resolveProperties)({address:this._getAddress(t),blockTag:this._getBlockTag(a)})];case 2:return r=s.sent(),[4,this.perform("getBalance",r)];case 3:i=s.sent();try{return[2,Lo.BigNumber.from(i)]}catch(f){return[2,Ln.throwError("bad result from backend",Un.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:i,error:f})]}return[2]}})})},e.prototype.getTransactionCount=function(t,a){return z0(this,void 0,void 0,function(){var r,i;return W0(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,Zi.resolveProperties)({address:this._getAddress(t),blockTag:this._getBlockTag(a)})];case 2:return r=s.sent(),[4,this.perform("getTransactionCount",r)];case 3:i=s.sent();try{return[2,Lo.BigNumber.from(i).toNumber()]}catch(f){return[2,Ln.throwError("bad result from backend",Un.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:i,error:f})]}return[2]}})})},e.prototype.getCode=function(t,a){return z0(this,void 0,void 0,function(){var r,i;return W0(this,function(s){switch(s.label){case 0:return[4,this.getNetwork()];case 1:return s.sent(),[4,(0,Zi.resolveProperties)({address:this._getAddress(t),blockTag:this._getBlockTag(a)})];case 2:return r=s.sent(),[4,this.perform("getCode",r)];case 3:i=s.sent();try{return[2,(0,U0.hexlify)(i)]}catch(f){return[2,Ln.throwError("bad result from backend",Un.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:i,error:f})]}return[2]}})})},e.prototype.getStorageAt=function(t,a,r){return z0(this,void 0,void 0,function(){var i,s;return W0(this,function(f){switch(f.label){case 0:return[4,this.getNetwork()];case 1:return f.sent(),[4,(0,Zi.resolveProperties)({address:this._getAddress(t),blockTag:this._getBlockTag(r),position:Promise.resolve(a).then(function(o){return(0,U0.hexValue)(o)})})];case 2:return i=f.sent(),[4,this.perform("getStorageAt",i)];case 3:s=f.sent();try{return[2,(0,U0.hexlify)(s)]}catch(o){return[2,Ln.throwError("bad result from backend",Un.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:i,result:s,error:o})]}return[2]}})})},e.prototype._wrapTransaction=function(t,a,r){var i=this;if(a!=null&&(0,U0.hexDataLength)(a)!==32)throw new Error("invalid response - sendTransaction");var s=t;return a!=null&&t.hash!==a&&Ln.throwError("Transaction hash mismatch from Provider.sendTransaction.",Un.Logger.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:a}),s.wait=function(f,o){return z0(i,void 0,void 0,function(){var c,d;return W0(this,function(l){switch(l.label){case 0:return f==null&&(f=1),o==null&&(o=0),c=void 0,f!==0&&r!=null&&(c={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:r}),[4,this._waitForTransaction(t.hash,f,o,c)];case 1:return d=l.sent(),d==null&&f===0?[2,null]:(this._emitted["t:"+t.hash]=d.blockNumber,d.status===0&&Ln.throwError("transaction failed",Un.Logger.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:d}),[2,d])}})})},s},e.prototype.sendTransaction=function(t){return z0(this,void 0,void 0,function(){var a,r,i,s,f;return W0(this,function(o){switch(o.label){case 0:return[4,this.getNetwork()];case 1:return o.sent(),[4,Promise.resolve(t).then(function(c){return(0,U0.hexlify)(c)})];case 2:return a=o.sent(),r=this.formatter.transaction(t),r.confirmations==null&&(r.confirmations=0),[4,this._getInternalBlockNumber(100+2*this.pollingInterval)];case 3:i=o.sent(),o.label=4;case 4:return o.trys.push([4,6,,7]),[4,this.perform("sendTransaction",{signedTransaction:a})];case 5:return s=o.sent(),[2,this._wrapTransaction(r,s,i)];case 6:throw f=o.sent(),f.transaction=r,f.transactionHash=r.hash,f;case 7:return[2]}})})},e.prototype._getTransactionRequest=function(t){return z0(this,void 0,void 0,function(){var a,r,i,s,f=this;return W0(this,function(o){switch(o.label){case 0:return[4,t];case 1:return a=o.sent(),r={},["from","to"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?f._getAddress(d):null}))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?Lo.BigNumber.from(d):null}))}),["type"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d??null}))}),a.accessList&&(r.accessList=this.formatter.accessList(a.accessList)),["data"].forEach(function(c){a[c]!=null&&(r[c]=Promise.resolve(a[c]).then(function(d){return d?(0,U0.hexlify)(d):null}))}),s=(i=this.formatter).transactionRequest,[4,(0,Zi.resolveProperties)(r)];case 2:return[2,s.apply(i,[o.sent()])]}})})},e.prototype._getFilter=function(t){return z0(this,void 0,void 0,function(){var a,r,i,s=this;return W0(this,function(f){switch(f.label){case 0:return[4,t];case 1:return t=f.sent(),a={},t.address!=null&&(a.address=this._getAddress(t.address)),["blockHash","topics"].forEach(function(o){t[o]!=null&&(a[o]=t[o])}),["fromBlock","toBlock"].forEach(function(o){t[o]!=null&&(a[o]=s._getBlockTag(t[o]))}),i=(r=this.formatter).filter,[4,(0,Zi.resolveProperties)(a)];case 2:return[2,i.apply(r,[f.sent()])]}})})},e.prototype._call=function(t,a,r){return z0(this,void 0,void 0,function(){var i,s,f,o,c,d,l,y,h,T,A,O,N,U,q,W;return W0(this,function(G){switch(G.label){case 0:return r>=VGt&&Ln.throwError("CCIP read exceeded maximum redirections",Un.Logger.errors.SERVER_ERROR,{redirects:r,transaction:t}),i=t.to,[4,this.perform("call",{transaction:t,blockTag:a})];case 1:if(s=G.sent(),!(r>=0&&a==="latest"&&i!=null&&s.substring(0,10)==="0x556f1830"&&(0,U0.hexDataLength)(s)%32===4))return[3,5];G.label=2;case 2:for(G.trys.push([2,4,,5]),f=(0,U0.hexDataSlice)(s,4),o=(0,U0.hexDataSlice)(f,0,32),Lo.BigNumber.from(o).eq(i)||Ln.throwError("CCIP Read sender did not match",Un.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:s}),c=[],d=Lo.BigNumber.from((0,U0.hexDataSlice)(f,32,64)).toNumber(),l=Lo.BigNumber.from((0,U0.hexDataSlice)(f,d,d+32)).toNumber(),y=(0,U0.hexDataSlice)(f,d+32),h=0;hthis._emitted.block?[2,null]:[2,void 0];if(!a)return[3,8];l=null,y=0,N.label=2;case 2:return y0},e.prototype._stopEvent=function(t){this.polling=this._events.filter(function(a){return a.pollable()}).length>0},e.prototype._addEventListener=function(t,a,r){var i=new fRe(kT(t),a,r);return this._events.push(i),this._startEvent(i),this},e.prototype.on=function(t,a){return this._addEventListener(t,a,!1)},e.prototype.once=function(t,a){return this._addEventListener(t,a,!0)},e.prototype.emit=function(t){for(var a=this,r=[],i=1;i{"use strict";p();u();var gae=v6&&v6.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),G2=v6&&v6.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},K2=v6&&v6.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&bs.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Bs.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:n,transaction:a}),e}function pRe(n){return new Promise(function(e){setTimeout(e,n)})}function JGt(n){if(n.error){var e=new Error(n.error.message);throw e.code=n.error.code,e.data=n.error.data,e}return n.result}function NC(n){return n&&n.toLowerCase()}var hae={},vae=function(n){gae(e,n);function e(t,a,r){var i=n.call(this)||this;if(t!==hae)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return(0,es.defineReadOnly)(i,"provider",a),r==null&&(r=0),typeof r=="string"?((0,es.defineReadOnly)(i,"_address",i.provider.formatter.address(r)),(0,es.defineReadOnly)(i,"_index",null)):typeof r=="number"?((0,es.defineReadOnly)(i,"_index",r),(0,es.defineReadOnly)(i,"_address",null)):bs.throwArgumentError("invalid address or index","addressOrIndex",r),i}return e.prototype.connect=function(t){return bs.throwError("cannot alter JSON-RPC Signer connection",Bs.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})},e.prototype.connectUnchecked=function(){return new XGt(hae,this.provider,this._address||this._index)},e.prototype.getAddress=function(){var t=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(function(a){return a.length<=t._index&&bs.throwError("unknown account #"+t._index,Bs.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),t.provider.formatter.address(a[t._index])})},e.prototype.sendUncheckedTransaction=function(t){var a=this;t=(0,es.shallowCopy)(t);var r=this.getAddress().then(function(s){return s&&(s=s.toLowerCase()),s});if(t.gasLimit==null){var i=(0,es.shallowCopy)(t);i.from=r,t.gasLimit=this.provider.estimateGas(i)}return t.to!=null&&(t.to=Promise.resolve(t.to).then(function(s){return G2(a,void 0,void 0,function(){var f;return K2(this,function(o){switch(o.label){case 0:return s==null?[2,null]:[4,this.provider.resolveName(s)];case 1:return f=o.sent(),f==null&&bs.throwArgumentError("provided ENS name resolves to null","tx.to",s),[2,f]}})})})),(0,es.resolveProperties)({tx:(0,es.resolveProperties)(t),sender:r}).then(function(s){var f=s.tx,o=s.sender;f.from!=null?f.from.toLowerCase()!==o&&bs.throwArgumentError("from address mismatch","transaction",t):f.from=o;var c=a.provider.constructor.hexlifyTransaction(f,{from:!0});return a.provider.send("eth_sendTransaction",[c]).then(function(d){return d},function(d){return typeof d.message=="string"&&d.message.match(/user denied/i)&&bs.throwError("user rejected transaction",Bs.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:f}),yRe("sendTransaction",d,c)})})},e.prototype.signTransaction=function(t){return bs.throwError("signing transactions is unsupported",Bs.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})},e.prototype.sendTransaction=function(t){return G2(this,void 0,void 0,function(){var a,r,i,s=this;return K2(this,function(f){switch(f.label){case 0:return[4,this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval)];case 1:return a=f.sent(),[4,this.sendUncheckedTransaction(t)];case 2:r=f.sent(),f.label=3;case 3:return f.trys.push([3,5,,6]),[4,(0,uRe.poll)(function(){return G2(s,void 0,void 0,function(){var o;return K2(this,function(c){switch(c.label){case 0:return[4,this.provider.getTransaction(r)];case 1:return o=c.sent(),o===null?[2,void 0]:[2,this.provider._wrapTransaction(o,r,a)]}})})},{oncePoll:this.provider})];case 4:return[2,f.sent()];case 5:throw i=f.sent(),i.transactionHash=r,i;case 6:return[2]}})})},e.prototype.signMessage=function(t){return G2(this,void 0,void 0,function(){var a,r,i;return K2(this,function(s){switch(s.label){case 0:return a=typeof t=="string"?(0,lRe.toUtf8Bytes)(t):t,[4,this.getAddress()];case 1:r=s.sent(),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.provider.send("personal_sign",[(0,RT.hexlify)(a),r.toLowerCase()])];case 3:return[2,s.sent()];case 4:throw i=s.sent(),typeof i.message=="string"&&i.message.match(/user denied/i)&&bs.throwError("user rejected signing",Bs.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:t}),i;case 5:return[2]}})})},e.prototype._legacySignMessage=function(t){return G2(this,void 0,void 0,function(){var a,r,i;return K2(this,function(s){switch(s.label){case 0:return a=typeof t=="string"?(0,lRe.toUtf8Bytes)(t):t,[4,this.getAddress()];case 1:r=s.sent(),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.provider.send("eth_sign",[r.toLowerCase(),(0,RT.hexlify)(a)])];case 3:return[2,s.sent()];case 4:throw i=s.sent(),typeof i.message=="string"&&i.message.match(/user denied/i)&&bs.throwError("user rejected signing",Bs.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:t}),i;case 5:return[2]}})})},e.prototype._signTypedData=function(t,a,r){return G2(this,void 0,void 0,function(){var i,s,f,o=this;return K2(this,function(c){switch(c.label){case 0:return[4,dRe._TypedDataEncoder.resolveNames(t,a,r,function(d){return o.provider.resolveName(d)})];case 1:return i=c.sent(),[4,this.getAddress()];case 2:s=c.sent(),c.label=3;case 3:return c.trys.push([3,5,,6]),[4,this.provider.send("eth_signTypedData_v4",[s.toLowerCase(),JSON.stringify(dRe._TypedDataEncoder.getPayload(i.domain,a,i.value))])];case 4:return[2,c.sent()];case 5:throw f=c.sent(),typeof f.message=="string"&&f.message.match(/user denied/i)&&bs.throwError("user rejected signing",Bs.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:s,messageData:{domain:i.domain,types:a,value:i.value}}),f;case 6:return[2]}})})},e.prototype.unlock=function(t){return G2(this,void 0,void 0,function(){var a,r;return K2(this,function(i){switch(i.label){case 0:return a=this.provider,[4,this.getAddress()];case 1:return r=i.sent(),[2,a.send("personal_unlockAccount",[r.toLowerCase(),t,null])]}})})},e}(jGt.Signer);v6.JsonRpcSigner=vae;var XGt=function(n){gae(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.sendTransaction=function(t){var a=this;return this.sendUncheckedTransaction(t).then(function(r){return{hash:r,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:function(i){return a.provider.waitForTransaction(r,i)}}})},e}(vae),ZGt={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0},eKt=function(n){gae(e,n);function e(t,a){var r=this,i=a;return i==null&&(i=new Promise(function(s,f){setTimeout(function(){r.detectNetwork().then(function(o){s(o)},function(o){f(o)})},0)})),r=n.call(this,i)||this,t||(t=(0,es.getStatic)(r.constructor,"defaultUrl")()),typeof t=="string"?(0,es.defineReadOnly)(r,"connection",Object.freeze({url:t})):(0,es.defineReadOnly)(r,"connection",Object.freeze((0,es.shallowCopy)(t))),r._nextId=42,r}return Object.defineProperty(e.prototype,"_cache",{get:function(){return this._eventLoopCache==null&&(this._eventLoopCache={}),this._eventLoopCache},enumerable:!1,configurable:!0}),e.defaultUrl=function(){return"http://localhost:8545"},e.prototype.detectNetwork=function(){var t=this;return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(function(){t._cache.detectNetwork=null},0)),this._cache.detectNetwork},e.prototype._uncachedDetectNetwork=function(){return G2(this,void 0,void 0,function(){var t,a,r,i;return K2(this,function(s){switch(s.label){case 0:return[4,pRe(0)];case 1:s.sent(),t=null,s.label=2;case 2:return s.trys.push([2,4,,9]),[4,this.send("eth_chainId",[])];case 3:return t=s.sent(),[3,9];case 4:a=s.sent(),s.label=5;case 5:return s.trys.push([5,7,,8]),[4,this.send("net_version",[])];case 6:return t=s.sent(),[3,8];case 7:return r=s.sent(),[3,8];case 8:return[3,9];case 9:if(t!=null){i=(0,es.getStatic)(this.constructor,"getNetwork");try{return[2,i(bae.BigNumber.from(t).toNumber())]}catch(f){return[2,bs.throwError("could not detect network",Bs.Logger.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:f})]}}return[2,bs.throwError("could not detect network",Bs.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})]}})})},e.prototype.getSigner=function(t){return new vae(hae,this,t)},e.prototype.getUncheckedSigner=function(t){return this.getSigner(t).connectUnchecked()},e.prototype.listAccounts=function(){var t=this;return this.send("eth_accounts",[]).then(function(a){return a.map(function(r){return t.formatter.address(r)})})},e.prototype.send=function(t,a){var r=this,i={method:t,params:a,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,es.deepCopy)(i),provider:this});var s=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(s&&this._cache[t])return this._cache[t];var f=(0,uRe.fetchJson)(this.connection,JSON.stringify(i),JGt).then(function(o){return r.emit("debug",{action:"response",request:i,response:o,provider:r}),o},function(o){throw r.emit("debug",{action:"response",error:o,request:i,provider:r}),o});return s&&(this._cache[t]=f,setTimeout(function(){r._cache[t]=null},0)),f},e.prototype.prepareRequest=function(t,a){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[NC(a.address),a.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[NC(a.address),a.blockTag]];case"getCode":return["eth_getCode",[NC(a.address),a.blockTag]];case"getStorageAt":return["eth_getStorageAt",[NC(a.address),(0,RT.hexZeroPad)(a.position,32),a.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[a.signedTransaction]];case"getBlock":return a.blockTag?["eth_getBlockByNumber",[a.blockTag,!!a.includeTransactions]]:a.blockHash?["eth_getBlockByHash",[a.blockHash,!!a.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[a.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[a.transactionHash]];case"call":{var r=(0,es.getStatic)(this.constructor,"hexlifyTransaction");return["eth_call",[r(a.transaction,{from:!0}),a.blockTag]]}case"estimateGas":{var r=(0,es.getStatic)(this.constructor,"hexlifyTransaction");return["eth_estimateGas",[r(a.transaction,{from:!0})]]}case"getLogs":return a.filter&&a.filter.address!=null&&(a.filter.address=NC(a.filter.address)),["eth_getLogs",[a.filter]];default:break}return null},e.prototype.perform=function(t,a){return G2(this,void 0,void 0,function(){var r,i,s,f;return K2(this,function(o){switch(o.label){case 0:return t==="call"||t==="estimateGas"?(r=a.transaction,r&&r.type!=null&&bae.BigNumber.from(r.type).isZero()?r.maxFeePerGas==null&&r.maxPriorityFeePerGas==null?[4,this.getFeeData()]:[3,2]:[3,2]):[3,2];case 1:i=o.sent(),i.maxFeePerGas==null&&i.maxPriorityFeePerGas==null&&(a=(0,es.shallowCopy)(a),a.transaction=(0,es.shallowCopy)(r),delete a.transaction.type),o.label=2;case 2:s=this.prepareRequest(t,a),s==null&&bs.throwError(t+" not implemented",Bs.Logger.errors.NOT_IMPLEMENTED,{operation:t}),o.label=3;case 3:return o.trys.push([3,5,,6]),[4,this.send(s[0],s[1])];case 4:return[2,o.sent()];case 5:return f=o.sent(),[2,yRe(t,f,a)];case 6:return[2]}})})},e.prototype._startEvent=function(t){t.tag==="pending"&&this._startPending(),n.prototype._startEvent.call(this,t)},e.prototype._startPending=function(){if(this._pendingFilter==null){var t=this,a=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=a,a.then(function(r){function i(){t.send("eth_getFilterChanges",[r]).then(function(s){if(t._pendingFilter!=a)return null;var f=Promise.resolve();return s.forEach(function(o){t._emitted["t:"+o.toLowerCase()]="pending",f=f.then(function(){return t.getTransaction(o).then(function(c){return t.emit("pending",c),null})})}),f.then(function(){return pRe(1e3)})}).then(function(){if(t._pendingFilter!=a){t.send("eth_uninstallFilter",[r]);return}return setTimeout(function(){i()},0),null}).catch(function(s){})}return i(),r}).catch(function(r){})}},e.prototype._stopEvent=function(t){t.tag==="pending"&&this.listenerCount("pending")===0&&(this._pendingFilter=null),n.prototype._stopEvent.call(this,t)},e.hexlifyTransaction=function(t,a){var r=(0,es.shallowCopy)(ZGt);if(a)for(var i in a)a[i]&&(r[i]=!0);(0,es.checkProperties)(t,r);var s={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(f){if(t[f]!=null){var o=(0,RT.hexValue)(bae.BigNumber.from(t[f]));f==="gasLimit"&&(f="gas"),s[f]=o}}),["from","to","data"].forEach(function(f){t[f]!=null&&(s[f]=(0,RT.hexlify)(t[f]))}),t.accessList&&(s.accessList=(0,GGt.accessListify)(t.accessList)),s},e}(QGt.BaseProvider);v6.JsonRpcProvider=eKt});var hRe=B(MT=>{"use strict";p();u();Object.defineProperty(MT,"__esModule",{value:!0});MT.WebSocket=void 0;var mRe=R0(),tKt=qf(),hV=null;MT.WebSocket=hV;try{if(MT.WebSocket=hV=WebSocket,hV==null)throw new Error("inject please")}catch{bRe=new mRe.Logger(tKt.version),MT.WebSocket=hV=function(){bRe.throwError("WebSockets not supported in this environment",mRe.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var bRe});var vV=B(y5=>{"use strict";p();u();var nKt=y5&&y5.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),Tae=y5&&y5.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},_ae=y5&&y5.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();var vRe=T6&&T6.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),oKt=T6&&T6.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},cKt=T6&&T6.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();var wRe=xm&&xm.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(xm,"__esModule",{value:!0});xm.AlchemyProvider=xm.AlchemyWebSocketProvider=void 0;var uKt=xa(),yKt=Tm(),mKt=vV(),bKt=R0(),hKt=qf(),_Re=new bKt.Logger(hKt.version),gKt=wm(),_V="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC",xRe=function(n){wRe(e,n);function e(t,a){var r=this,i=new IRe(t,a),s=i.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");return r=n.call(this,s,i.network)||this,(0,uKt.defineReadOnly)(r,"apiKey",i.apiKey),r}return e.prototype.isCommunityResource=function(){return this.apiKey===_V},e}(mKt.WebSocketProvider);xm.AlchemyWebSocketProvider=xRe;var IRe=function(n){wRe(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.getWebSocketProvider=function(t,a){return new xRe(t,a)},e.getApiKey=function(t){return t==null?_V:(t&&typeof t!="string"&&_Re.throwArgumentError("invalid apiKey","apiKey",t),t)},e.getUrl=function(t,a){var r=null;switch(t.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:_Re.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+a,throttleCallback:function(i,s){return a===_V&&(0,yKt.showThrottleMessage)(),Promise.resolve(!0)}}},e.prototype.isCommunityResource=function(){return this.apiKey===_V},e}(gKt.UrlJsonRpcProvider);xm.AlchemyProvider=IRe});var DRe=B(NT=>{"use strict";p();u();var vKt=NT&&NT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(NT,"__esModule",{value:!0});NT.AnkrProvider=void 0;var TKt=Tm(),_Kt=wm(),wKt=R0(),xKt=qf(),IKt=new wKt.Logger(xKt.version),wV="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function EKt(n){switch(n){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return IKt.throwArgumentError("unsupported network","name",n)}var DKt=function(n){vKt(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.isCommunityResource=function(){return this.apiKey===wV},e.getApiKey=function(t){return t??wV},e.getUrl=function(t,a){a==null&&(a=wV);var r={allowGzip:!0,url:"https://"+EKt(t.name)+a,throttleCallback:function(i,s){return a.apiKey===wV&&(0,TKt.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(r.user="",r.password=a.projectSecret),r},e}(_Kt.UrlJsonRpcProvider);NT.AnkrProvider=DKt});var SRe=B(m5=>{"use strict";p();u();var CKt=m5&&m5.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),SKt=m5&&m5.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},AKt=m5&&m5.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]{"use strict";p();u();var MKt=h5&&h5.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),xV=h5&&h5.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},IV=h5&&h5.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=0&&(e.throttleRetry=!0),e}return n.result}function kRe(n){if(n&&n.status==0&&n.message=="NOTOK"&&(n.result||"").toLowerCase().indexOf("rate limit")>=0){var e=new Error("throttled response");throw e.result=JSON.stringify(n),e.throttleRetry=!0,e}if(n.jsonrpc!="2.0"){var e=new Error("invalid response");throw e.result=JSON.stringify(n),e}if(n.error){var e=new Error(n.error.message||"unknown error");throw n.error.code&&(e.code=n.error.code),n.error.data&&(e.data=n.error.data),e}return n.result}function PRe(n){if(n==="pending")throw new Error("pending not supported");return n==="latest"?n:parseInt(n.substring(2),16)}function xae(n,e,t){if(n==="call"&&e.code===b5.Logger.errors.SERVER_ERROR){var a=e.error;if(a&&(a.message.match(/reverted/i)||a.message.match(/VM execution error/i))){var r=a.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),(0,EV.isHexString)(r))return r;Im.throwError("missing revert data in call exception",b5.Logger.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}var i=e.message;throw e.code===b5.Logger.errors.SERVER_ERROR&&(e.error&&typeof e.error.message=="string"?i=e.error.message:typeof e.body=="string"?i=e.body:typeof e.responseText=="string"&&(i=e.responseText)),i=(i||"").toLowerCase(),i.match(/insufficient funds/)&&Im.throwError("insufficient funds for intrinsic transaction cost",b5.Logger.errors.INSUFFICIENT_FUNDS,{error:e,method:n,transaction:t}),i.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Im.throwError("nonce has already been used",b5.Logger.errors.NONCE_EXPIRED,{error:e,method:n,transaction:t}),i.match(/another transaction with same nonce/)&&Im.throwError("replacement fee too low",b5.Logger.errors.REPLACEMENT_UNDERPRICED,{error:e,method:n,transaction:t}),i.match(/execution failed due to an exception|execution reverted/)&&Im.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",b5.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:n,transaction:t}),e}var UKt=function(n){MKt(e,n);function e(t,a){var r=n.call(this,t)||this;return(0,wae.defineReadOnly)(r,"baseUrl",r.getBaseUrl()),(0,wae.defineReadOnly)(r,"apiKey",a||null),r}return e.prototype.getBaseUrl=function(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io";default:}return Im.throwArgumentError("unsupported network","network",this.network.name)},e.prototype.getUrl=function(t,a){var r=Object.keys(a).reduce(function(s,f){var o=a[f];return o!=null&&(s+="&"+f+"="+o),s},""),i=this.apiKey?"&apikey="+this.apiKey:"";return this.baseUrl+"/api?module="+t+r+i},e.prototype.getPostUrl=function(){return this.baseUrl+"/api"},e.prototype.getPostData=function(t,a){return a.module=t,a.apikey=this.apiKey,a},e.prototype.fetch=function(t,a,r){return xV(this,void 0,void 0,function(){var i,s,f,o,c,d,l=this;return IV(this,function(y){switch(y.label){case 0:return i=r?this.getPostUrl():this.getUrl(t,a),s=r?this.getPostData(t,a):null,f=t==="proxy"?kRe:$Kt,this.emit("debug",{action:"request",request:i,provider:this}),o={url:i,throttleSlotInterval:1e3,throttleCallback:function(h,T){return l.isCommunityResource()&&(0,FKt.showThrottleMessage)(),Promise.resolve(!0)}},c=null,s&&(o.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},c=Object.keys(s).map(function(h){return h+"="+s[h]}).join("&")),[4,(0,NKt.fetchJson)(o,c,f||kRe)];case 1:return d=y.sent(),this.emit("debug",{action:"response",request:i,response:(0,wae.deepCopy)(d),provider:this}),[2,d]}})})},e.prototype.detectNetwork=function(){return xV(this,void 0,void 0,function(){return IV(this,function(t){return[2,this.network]})})},e.prototype.perform=function(t,a){return xV(this,void 0,void 0,function(){var r,s,i,s,f,o,c,d,l,y,h,T,A;return IV(this,function(O){switch(O.label){case 0:switch(r=t,r){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,4];case"getCode":return[3,5];case"getStorageAt":return[3,6];case"sendTransaction":return[3,7];case"getBlock":return[3,8];case"getTransaction":return[3,9];case"getTransactionReceipt":return[3,10];case"call":return[3,11];case"estimateGas":return[3,15];case"getLogs":return[3,19];case"getEtherPrice":return[3,26]}return[3,28];case 1:return[2,this.fetch("proxy",{action:"eth_blockNumber"})];case 2:return[2,this.fetch("proxy",{action:"eth_gasPrice"})];case 3:return[2,this.fetch("account",{action:"balance",address:a.address,tag:a.blockTag})];case 4:return[2,this.fetch("proxy",{action:"eth_getTransactionCount",address:a.address,tag:a.blockTag})];case 5:return[2,this.fetch("proxy",{action:"eth_getCode",address:a.address,tag:a.blockTag})];case 6:return[2,this.fetch("proxy",{action:"eth_getStorageAt",address:a.address,position:a.position,tag:a.blockTag})];case 7:return[2,this.fetch("proxy",{action:"eth_sendRawTransaction",hex:a.signedTransaction},!0).catch(function(N){return xae("sendTransaction",N,a.signedTransaction)})];case 8:if(a.blockTag)return[2,this.fetch("proxy",{action:"eth_getBlockByNumber",tag:a.blockTag,boolean:a.includeTransactions?"true":"false"})];throw new Error("getBlock by blockHash not implemented");case 9:return[2,this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:a.transactionHash})];case 10:return[2,this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:a.transactionHash})];case 11:if(a.blockTag!=="latest")throw new Error("EtherscanProvider does not support blockTag for call");s=ARe(a.transaction),s.module="proxy",s.action="eth_call",O.label=12;case 12:return O.trys.push([12,14,,15]),[4,this.fetch("proxy",s,!0)];case 13:return[2,O.sent()];case 14:return i=O.sent(),[2,xae("call",i,a.transaction)];case 15:s=ARe(a.transaction),s.module="proxy",s.action="eth_estimateGas",O.label=16;case 16:return O.trys.push([16,18,,19]),[4,this.fetch("proxy",s,!0)];case 17:return[2,O.sent()];case 18:return f=O.sent(),[2,xae("estimateGas",f,a.transaction)];case 19:return o={action:"getLogs"},a.filter.fromBlock&&(o.fromBlock=PRe(a.filter.fromBlock)),a.filter.toBlock&&(o.toBlock=PRe(a.filter.toBlock)),a.filter.address&&(o.address=a.filter.address),a.filter.topics&&a.filter.topics.length>0&&(a.filter.topics.length>1&&Im.throwError("unsupported topic count",b5.Logger.errors.UNSUPPORTED_OPERATION,{topics:a.filter.topics}),a.filter.topics.length===1&&(c=a.filter.topics[0],(typeof c!="string"||c.length!==66)&&Im.throwError("unsupported topic format",b5.Logger.errors.UNSUPPORTED_OPERATION,{topic0:c}),o.topic0=c)),[4,this.fetch("logs",o)];case 20:d=O.sent(),l={},y=0,O.label=21;case 21:return y{"use strict";p();u();var qKt=v5&&v5.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),SV=v5&&v5.__awaiter||function(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})},UC=v5&&v5.__generator||function(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]e?null:(a+r)/2}function OT(n){if(n===null)return"null";if(typeof n=="number"||typeof n=="boolean")return JSON.stringify(n);if(typeof n=="string")return n;if(zKt.BigNumber.isBigNumber(n))return n.toString();if(Array.isArray(n))return JSON.stringify(n.map(function(t){return OT(t)}));if(typeof n=="object"){var e=Object.keys(n);return e.sort(),"{"+e.map(function(t){var a=n[t];return typeof a=="function"?a="[function]":a=OT(a),JSON.stringify(t)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof n)}var QKt=1;function NRe(n){var e=null,t=null,a=new Promise(function(s){e=function(){t&&(clearTimeout(t),t=null),s()},t=setTimeout(e,n)}),r=function(s){return a=a.then(s),a};function i(){return a}return{cancel:e,getPromise:i,wait:r}}var YKt=[Em.Logger.errors.CALL_EXCEPTION,Em.Logger.errors.INSUFFICIENT_FUNDS,Em.Logger.errors.NONCE_EXPIRED,Em.Logger.errors.REPLACEMENT_UNDERPRICED,Em.Logger.errors.UNPREDICTABLE_GAS_LIMIT],JKt=["address","args","errorArgs","errorSignature","method","transaction"];function CV(n,e){var t={weight:n.weight};return Object.defineProperty(t,"provider",{get:function(){return n.provider}}),n.start&&(t.start=n.start),e&&(t.duration=e-n.start),n.done&&(n.error?t.error=n.error:t.result=n.result||null),t}function XKt(n,e){return function(t){var a={};t.forEach(function(f){var o=n(f.result);a[o]||(a[o]={count:0,result:f.result}),a[o].count++});for(var r=Object.keys(a),i=0;i=e)return s.result}}}function ZKt(n,e,t){var a=OT;switch(e){case"getBlockNumber":return function(r){var i=r.map(function(f){return f.result}),s=BRe(r.map(function(f){return f.result}),2);if(s!=null)return s=Math.ceil(s),i.indexOf(s+1)>=0&&s++,s>=n._highestBlockNumber&&(n._highestBlockNumber=s),n._highestBlockNumber};case"getGasPrice":return function(r){var i=r.map(function(s){return s.result});return i.sort(),i[Math.floor(i.length/2)]};case"getEtherPrice":return function(r){return BRe(r.map(function(i){return i.result}))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(r){return r==null?null:(r=(0,g5.shallowCopy)(r),r.confirmations=-1,OT(r))};break;case"getBlock":t.includeTransactions?a=function(r){return r==null?null:(r=(0,g5.shallowCopy)(r),r.transactions=r.transactions.map(function(i){return i=(0,g5.shallowCopy)(i),i.confirmations=-1,i}),OT(r))}:a=function(r){return r==null?null:OT(r)};break;default:throw new Error("unknown method: "+e)}return XKt(a,n.quorum)}function $C(n,e){return SV(this,void 0,void 0,function(){var t;return UC(this,function(a){return t=n.provider,t.blockNumber!=null&&t.blockNumber>=e||e===-1?[2,t]:[2,(0,jKt.poll)(function(){return new Promise(function(r,i){setTimeout(function(){return t.blockNumber>=e?r(t):n.cancelled?r(null):r(void 0)},0)})},{oncePoll:t})]})})}function eQt(n,e,t,a){return SV(this,void 0,void 0,function(){var r,i,s;return UC(this,function(f){switch(f.label){case 0:switch(r=n.provider,i=t,i){case"getBlockNumber":return[3,1];case"getGasPrice":return[3,1];case"getEtherPrice":return[3,2];case"getBalance":return[3,3];case"getTransactionCount":return[3,3];case"getCode":return[3,3];case"getStorageAt":return[3,6];case"getBlock":return[3,9];case"call":return[3,12];case"estimateGas":return[3,12];case"getTransaction":return[3,15];case"getTransactionReceipt":return[3,15];case"getLogs":return[3,16]}return[3,19];case 1:return[2,r[t]()];case 2:return r.getEtherPrice?[2,r.getEtherPrice()]:[3,19];case 3:return a.blockTag&&(0,FT.isHexString)(a.blockTag)?[4,$C(n,e)]:[3,5];case 4:r=f.sent(),f.label=5;case 5:return[2,r[t](a.address,a.blockTag||"latest")];case 6:return a.blockTag&&(0,FT.isHexString)(a.blockTag)?[4,$C(n,e)]:[3,8];case 7:r=f.sent(),f.label=8;case 8:return[2,r.getStorageAt(a.address,a.position,a.blockTag||"latest")];case 9:return a.blockTag&&(0,FT.isHexString)(a.blockTag)?[4,$C(n,e)]:[3,11];case 10:r=f.sent(),f.label=11;case 11:return[2,r[a.includeTransactions?"getBlockWithTransactions":"getBlock"](a.blockTag||a.blockHash)];case 12:return a.blockTag&&(0,FT.isHexString)(a.blockTag)?[4,$C(n,e)]:[3,14];case 13:r=f.sent(),f.label=14;case 14:return t==="call"&&a.blockTag?[2,r[t](a.transaction,a.blockTag)]:[2,r[t](a.transaction)];case 15:return[2,r[t](a.transactionHash)];case 16:return s=a.filter,s.fromBlock&&(0,FT.isHexString)(s.fromBlock)||s.toBlock&&(0,FT.isHexString)(s.toBlock)?[4,$C(n,e)]:[3,18];case 17:r=f.sent(),f.label=18;case 18:return[2,r.getLogs(s)];case 19:return[2,Lh.throwError("unknown method error",Em.Logger.errors.UNKNOWN_ERROR,{method:t,params:a})]}})})}var tQt=function(n){qKt(e,n);function e(t,a){var r=this;t.length===0&&Lh.throwArgumentError("missing providers","providers",t);var i=t.map(function(o,c){if(HKt.Provider.isProvider(o)){var d=(0,LRe.isCommunityResource)(o)?2e3:750,l=1;return Object.freeze({provider:o,weight:1,stallTimeout:d,priority:l})}var y=(0,g5.shallowCopy)(o);y.priority==null&&(y.priority=1),y.stallTimeout==null&&(y.stallTimeout=(0,LRe.isCommunityResource)(o)?2e3:750),y.weight==null&&(y.weight=1);var h=y.weight;return(h%1||h>512||h<1)&&Lh.throwArgumentError("invalid weight; must be integer in [1, 512]","providers["+c+"].weight",h),Object.freeze(y)}),s=i.reduce(function(o,c){return o+c.weight},0);a==null?a=s/2:a>s&&Lh.throwArgumentError("quorum will always fail; larger than total weight","quorum",a);var f=MRe(i.map(function(o){return o.provider.network}));return f==null&&(f=new Promise(function(o,c){setTimeout(function(){r.detectNetwork().then(o,c)},0)})),r=n.call(this,f)||this,(0,g5.defineReadOnly)(r,"providerConfigs",Object.freeze(i)),(0,g5.defineReadOnly)(r,"quorum",a),r._highestBlockNumber=-1,r}return e.prototype.detectNetwork=function(){return SV(this,void 0,void 0,function(){var t;return UC(this,function(a){switch(a.label){case 0:return[4,Promise.all(this.providerConfigs.map(function(r){return r.provider.getNetwork()}))];case 1:return t=a.sent(),[2,MRe(t)]}})})},e.prototype.perform=function(t,a){return SV(this,void 0,void 0,function(){var r,i,s,f,o,c,d,l,y,h,T,A=this;return UC(this,function(O){switch(O.label){case 0:return t!=="sendTransaction"?[3,2]:[4,Promise.all(this.providerConfigs.map(function(N){return N.provider.sendTransaction(a.signedTransaction).then(function(U){return U.hash},function(U){return U})}))];case 1:for(r=O.sent(),i=0;i=h.quorum?(X=f(G),X!==void 0?(o.forEach(function(z){z.staller&&z.staller.cancel(),z.cancelled=!0}),[2,{value:X}]):l?[3,4]:[4,NRe(100).getPromise()]):[3,5];case 3:j.sent(),j.label=4;case 4:l=!1,j.label=5;case 5:return J=o.reduce(function(z,P){if(!P.done||P.error==null)return z;var _=P.error.code;return YKt.indexOf(_)>=0&&(z[_]||(z[_]={error:P.error,weight:0}),z[_].weight+=P.weight),z},{}),Object.keys(J).forEach(function(z){var P=J[z];if(!(P.weight{"use strict";p();u();Object.defineProperty(AV,"__esModule",{value:!0});AV.IpcProvider=void 0;var nQt=null;AV.IpcProvider=nQt});var qRe=B(Dm=>{"use strict";p();u();var VRe=Dm&&Dm.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(Dm,"__esModule",{value:!0});Dm.InfuraProvider=Dm.InfuraWebSocketProvider=void 0;var Iae=xa(),aQt=vV(),rQt=Tm(),Eae=R0(),iQt=qf(),kV=new Eae.Logger(iQt.version),sQt=wm(),qC="84842078b09946638c03157f83405213",$Re=function(n){VRe(e,n);function e(t,a){var r=this,i=new URe(t,a),s=i.connection;s.password&&kV.throwError("INFURA WebSocket project secrets unsupported",Eae.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});var f=s.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");return r=n.call(this,f,t)||this,(0,Iae.defineReadOnly)(r,"apiKey",i.projectId),(0,Iae.defineReadOnly)(r,"projectId",i.projectId),(0,Iae.defineReadOnly)(r,"projectSecret",i.projectSecret),r}return e.prototype.isCommunityResource=function(){return this.projectId===qC},e}(aQt.WebSocketProvider);Dm.InfuraWebSocketProvider=$Re;var URe=function(n){VRe(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.getWebSocketProvider=function(t,a){return new $Re(t,a)},e.getApiKey=function(t){var a={apiKey:qC,projectId:qC,projectSecret:null};return t==null||(typeof t=="string"?a.projectId=t:t.projectSecret!=null?(kV.assertArgument(typeof t.projectId=="string","projectSecret requires a projectId","projectId",t.projectId),kV.assertArgument(typeof t.projectSecret=="string","invalid projectSecret","projectSecret","[REDACTED]"),a.projectId=t.projectId,a.projectSecret=t.projectSecret):t.projectId&&(a.projectId=t.projectId),a.apiKey=a.projectId),a},e.getUrl=function(t,a){var r=null;switch(t?t.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:kV.throwError("unsupported network",Eae.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:t})}var i={allowGzip:!0,url:"https://"+r+"/v3/"+a.projectId,throttleCallback:function(s,f){return a.projectId===qC&&(0,rQt.showThrottleMessage)(),Promise.resolve(!0)}};return a.projectSecret!=null&&(i.user="",i.password=a.projectSecret),i},e.prototype.isCommunityResource=function(){return this.projectId===qC},e}(sQt.UrlJsonRpcProvider);Dm.InfuraProvider=URe});var HRe=B(VT=>{"use strict";p();u();var fQt=VT&&VT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(VT,"__esModule",{value:!0});VT.JsonRpcBatchProvider=void 0;var oQt=xa(),cQt=W2(),dQt=LT(),lQt=function(n){fQt(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.send=function(t,a){var r=this,i={method:t,params:a,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch==null&&(this._pendingBatch=[]);var s={request:i,resolve:null,reject:null},f=new Promise(function(o,c){s.resolve=o,s.reject=c});return this._pendingBatch.push(s),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(function(){var o=r._pendingBatch;r._pendingBatch=null,r._pendingBatchAggregator=null;var c=o.map(function(d){return d.request});return r.emit("debug",{action:"requestBatch",request:(0,oQt.deepCopy)(c),provider:r}),(0,cQt.fetchJson)(r.connection,JSON.stringify(c)).then(function(d){r.emit("debug",{action:"response",request:c,response:d,provider:r}),o.forEach(function(l,y){var h=d[y];if(h.error){var T=new Error(h.error.message);T.code=h.error.code,T.data=h.error.data,l.reject(T)}else l.resolve(h.result)})},function(d){r.emit("debug",{action:"response",error:d,request:c,provider:r}),o.forEach(function(l){l.reject(d)})})},10)),f},e}(dQt.JsonRpcProvider);VT.JsonRpcBatchProvider=lQt});var zRe=B($T=>{"use strict";p();u();var pQt=$T&&$T.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty($T,"__esModule",{value:!0});$T.NodesmithProvider=void 0;var uQt=wm(),yQt=R0(),mQt=qf(),Dae=new yQt.Logger(mQt.version),bQt="ETHERS_JS_SHARED",hQt=function(n){pQt(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.getApiKey=function(t){return t&&typeof t!="string"&&Dae.throwArgumentError("invalid apiKey","apiKey",t),t||bQt},e.getUrl=function(t,a){Dae.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");var r=null;switch(t.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Dae.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+a},e}(uQt.UrlJsonRpcProvider);$T.NodesmithProvider=hQt});var KRe=B(UT=>{"use strict";p();u();var gQt=UT&&UT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(UT,"__esModule",{value:!0});UT.PocketProvider=void 0;var GRe=R0(),vQt=qf(),WRe=new GRe.Logger(vQt.version),TQt=wm(),jRe="62e1ad51b37b8e00394bda3b",_Qt=function(n){gQt(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.getApiKey=function(t){var a={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return t==null?a.applicationId=jRe:typeof t=="string"?a.applicationId=t:t.applicationSecretKey!=null?(a.applicationId=t.applicationId,a.applicationSecretKey=t.applicationSecretKey):t.applicationId?a.applicationId=t.applicationId:WRe.throwArgumentError("unsupported PocketProvider apiKey","apiKey",t),a},e.getUrl=function(t,a){var r=null;switch(t?t.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:WRe.throwError("unsupported network",GRe.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:t})}var i="https://"+r+"/v1/lb/"+a.applicationId,s={headers:{},url:i};return a.applicationSecretKey!=null&&(s.user="",s.password=a.applicationSecretKey),s},e.prototype.isCommunityResource=function(){return this.applicationId===jRe},e}(TQt.UrlJsonRpcProvider);UT.PocketProvider=_Qt});var JRe=B(qT=>{"use strict";p();u();var wQt=qT&&qT.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Object.defineProperty(qT,"__esModule",{value:!0});qT.Web3Provider=void 0;var PV=xa(),xQt=R0(),IQt=qf(),QRe=new xQt.Logger(IQt.version),EQt=LT(),DQt=1;function YRe(n,e){var t="Web3LegacyFetcher";return function(a,r){var i=this,s={method:a,params:r,id:DQt++,jsonrpc:"2.0"};return new Promise(function(f,o){i.emit("debug",{action:"request",fetcher:t,request:(0,PV.deepCopy)(s),provider:i}),e(s,function(c,d){if(c)return i.emit("debug",{action:"response",fetcher:t,error:c,request:s,provider:i}),o(c);if(i.emit("debug",{action:"response",fetcher:t,request:s,response:d,provider:i}),d.error){var l=new Error(d.error.message);return l.code=d.error.code,l.data=d.error.data,o(l)}f(d.result)})})}}function CQt(n){return function(e,t){var a=this;t==null&&(t=[]);var r={method:e,params:t};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,PV.deepCopy)(r),provider:this}),n.request(r).then(function(i){return a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:i,provider:a}),i},function(i){throw a.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:i,provider:a}),i})}}var SQt=function(n){wQt(e,n);function e(t,a){var r=this;t==null&&QRe.throwArgumentError("missing provider","provider",t);var i=null,s=null,f=null;return typeof t=="function"?(i="unknown:",s=t):(i=t.host||t.path||"",!i&&t.isMetaMask&&(i="metamask"),f=t,t.request?(i===""&&(i="eip-1193:"),s=CQt(t)):t.sendAsync?s=YRe(t,t.sendAsync.bind(t)):t.send?s=YRe(t,t.send.bind(t)):QRe.throwArgumentError("unsupported provider","provider",t),i||(i="unknown:")),r=n.call(this,i,a)||this,(0,PV.defineReadOnly)(r,"jsonRpcFetchFunc",s),(0,PV.defineReadOnly)(r,"provider",f),r}return e.prototype.send=function(t,a){return this.jsonRpcFetchFunc(t,a)},e}(EQt.JsonRpcProvider);qT.Web3Provider=SQt});var MV=B(m0=>{"use strict";p();u();Object.defineProperty(m0,"__esModule",{value:!0});m0.Formatter=m0.showThrottleMessage=m0.isCommunityResourcable=m0.isCommunityResource=m0.getNetwork=m0.getDefaultProvider=m0.JsonRpcSigner=m0.IpcProvider=m0.WebSocketProvider=m0.Web3Provider=m0.StaticJsonRpcProvider=m0.PocketProvider=m0.NodesmithProvider=m0.JsonRpcBatchProvider=m0.JsonRpcProvider=m0.InfuraWebSocketProvider=m0.InfuraProvider=m0.EtherscanProvider=m0.CloudflareProvider=m0.AnkrProvider=m0.AlchemyWebSocketProvider=m0.AlchemyProvider=m0.FallbackProvider=m0.UrlJsonRpcProvider=m0.Resolver=m0.BaseProvider=m0.Provider=void 0;var AQt=q8();Object.defineProperty(m0,"Provider",{enumerable:!0,get:function(){return AQt.Provider}});var ZRe=fae();Object.defineProperty(m0,"getNetwork",{enumerable:!0,get:function(){return ZRe.getNetwork}});var eLe=BC();Object.defineProperty(m0,"BaseProvider",{enumerable:!0,get:function(){return eLe.BaseProvider}});Object.defineProperty(m0,"Resolver",{enumerable:!0,get:function(){return eLe.Resolver}});var Cae=ERe();Object.defineProperty(m0,"AlchemyProvider",{enumerable:!0,get:function(){return Cae.AlchemyProvider}});Object.defineProperty(m0,"AlchemyWebSocketProvider",{enumerable:!0,get:function(){return Cae.AlchemyWebSocketProvider}});var tLe=DRe();Object.defineProperty(m0,"AnkrProvider",{enumerable:!0,get:function(){return tLe.AnkrProvider}});var nLe=SRe();Object.defineProperty(m0,"CloudflareProvider",{enumerable:!0,get:function(){return nLe.CloudflareProvider}});var aLe=RRe();Object.defineProperty(m0,"EtherscanProvider",{enumerable:!0,get:function(){return aLe.EtherscanProvider}});var rLe=FRe();Object.defineProperty(m0,"FallbackProvider",{enumerable:!0,get:function(){return rLe.FallbackProvider}});var iLe=ORe();Object.defineProperty(m0,"IpcProvider",{enumerable:!0,get:function(){return iLe.IpcProvider}});var Sae=qRe();Object.defineProperty(m0,"InfuraProvider",{enumerable:!0,get:function(){return Sae.InfuraProvider}});Object.defineProperty(m0,"InfuraWebSocketProvider",{enumerable:!0,get:function(){return Sae.InfuraWebSocketProvider}});var RV=LT();Object.defineProperty(m0,"JsonRpcProvider",{enumerable:!0,get:function(){return RV.JsonRpcProvider}});Object.defineProperty(m0,"JsonRpcSigner",{enumerable:!0,get:function(){return RV.JsonRpcSigner}});var kQt=HRe();Object.defineProperty(m0,"JsonRpcBatchProvider",{enumerable:!0,get:function(){return kQt.JsonRpcBatchProvider}});var sLe=zRe();Object.defineProperty(m0,"NodesmithProvider",{enumerable:!0,get:function(){return sLe.NodesmithProvider}});var fLe=KRe();Object.defineProperty(m0,"PocketProvider",{enumerable:!0,get:function(){return fLe.PocketProvider}});var oLe=wm();Object.defineProperty(m0,"StaticJsonRpcProvider",{enumerable:!0,get:function(){return oLe.StaticJsonRpcProvider}});Object.defineProperty(m0,"UrlJsonRpcProvider",{enumerable:!0,get:function(){return oLe.UrlJsonRpcProvider}});var cLe=JRe();Object.defineProperty(m0,"Web3Provider",{enumerable:!0,get:function(){return cLe.Web3Provider}});var dLe=vV();Object.defineProperty(m0,"WebSocketProvider",{enumerable:!0,get:function(){return dLe.WebSocketProvider}});var LV=Tm();Object.defineProperty(m0,"Formatter",{enumerable:!0,get:function(){return LV.Formatter}});Object.defineProperty(m0,"isCommunityResourcable",{enumerable:!0,get:function(){return LV.isCommunityResourcable}});Object.defineProperty(m0,"isCommunityResource",{enumerable:!0,get:function(){return LV.isCommunityResource}});Object.defineProperty(m0,"showThrottleMessage",{enumerable:!0,get:function(){return LV.showThrottleMessage}});var lLe=R0(),PQt=qf(),XRe=new lLe.Logger(PQt.version);function RQt(n,e){if(n==null&&(n="homestead"),typeof n=="string"){var t=n.match(/^(ws|http)s?:/i);if(t)switch(t[1].toLowerCase()){case"http":case"https":return new RV.JsonRpcProvider(n);case"ws":case"wss":return new dLe.WebSocketProvider(n);default:XRe.throwArgumentError("unsupported URL scheme","network",n)}}var a=(0,ZRe.getNetwork)(n);return(!a||!a._defaultProvider)&&XRe.throwError("unsupported getDefaultProvider network",lLe.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:n}),a._defaultProvider({FallbackProvider:rLe.FallbackProvider,AlchemyProvider:Cae.AlchemyProvider,AnkrProvider:tLe.AnkrProvider,CloudflareProvider:nLe.CloudflareProvider,EtherscanProvider:aLe.EtherscanProvider,InfuraProvider:Sae.InfuraProvider,JsonRpcProvider:RV.JsonRpcProvider,NodesmithProvider:sLe.NodesmithProvider,PocketProvider:fLe.PocketProvider,Web3Provider:cLe.Web3Provider,IpcProvider:iLe.IpcProvider},e)}m0.getDefaultProvider=RQt});var pLe=B(BV=>{"use strict";p();u();Object.defineProperty(BV,"__esModule",{value:!0});BV.version=void 0;BV.version="solidity/5.7.0"});var kae=B(Cm=>{"use strict";p();u();Object.defineProperty(Cm,"__esModule",{value:!0});Cm.sha256=Cm.keccak256=Cm.pack=void 0;var LQt=Zn(),Hl=H0(),MQt=T1(),BQt=Ch(),NQt=ds(),FQt=new RegExp("^bytes([0-9]+)$"),OQt=new RegExp("^(u?int)([0-9]*)$"),VQt=new RegExp("^(.*)\\[([0-9]*)\\]$"),$Qt="0000000000000000000000000000000000000000000000000000000000000000",UQt=R0(),qQt=pLe(),HT=new UQt.Logger(qQt.version);function uLe(n,e,t){switch(n){case"address":return t?(0,Hl.zeroPad)(e,32):(0,Hl.arrayify)(e);case"string":return(0,NQt.toUtf8Bytes)(e);case"bytes":return(0,Hl.arrayify)(e);case"bool":return e=e?"0x01":"0x00",t?(0,Hl.zeroPad)(e,32):(0,Hl.arrayify)(e)}var a=n.match(OQt);if(a){var r=parseInt(a[2]||"256");return(a[2]&&String(r)!==a[2]||r%8!==0||r===0||r>256)&&HT.throwArgumentError("invalid number type","type",n),t&&(r=256),e=LQt.BigNumber.from(e).toTwos(r),(0,Hl.zeroPad)(e,r/8)}if(a=n.match(FQt),a){var r=parseInt(a[1]);return(String(r)!==a[1]||r===0||r>32)&&HT.throwArgumentError("invalid bytes type","type",n),(0,Hl.arrayify)(e).byteLength!==r&&HT.throwArgumentError("invalid value for "+n,"value",e),t?(0,Hl.arrayify)((e+$Qt).substring(0,66)):e}if(a=n.match(VQt),a&&Array.isArray(e)){var i=a[1],s=parseInt(a[2]||String(e.length));s!=e.length&&HT.throwArgumentError("invalid array length for "+n,"value",e);var f=[];return e.forEach(function(o){f.push(uLe(i,o,!0))}),(0,Hl.concat)(f)}return HT.throwArgumentError("invalid type","type",n)}function Aae(n,e){n.length!=e.length&&HT.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);var t=[];return n.forEach(function(a,r){t.push(uLe(a,e[r]))}),(0,Hl.hexlify)((0,Hl.concat)(t))}Cm.pack=Aae;function HQt(n,e){return(0,MQt.keccak256)(Aae(n,e))}Cm.keccak256=HQt;function zQt(n,e){return(0,BQt.sha256)(Aae(n,e))}Cm.sha256=zQt});var yLe=B(NV=>{"use strict";p();u();Object.defineProperty(NV,"__esModule",{value:!0});NV.version=void 0;NV.version="units/5.7.0"});var TLe=B(_6=>{"use strict";p();u();Object.defineProperty(_6,"__esModule",{value:!0});_6.parseEther=_6.formatEther=_6.parseUnits=_6.formatUnits=_6.commify=void 0;var mLe=Zn(),WQt=R0(),jQt=yLe(),bLe=new WQt.Logger(jQt.version),hLe=["wei","kwei","mwei","gwei","szabo","finney","ether"];function GQt(n){var e=String(n).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||n==="."||n==="-.")&&bLe.throwArgumentError("invalid value","value",n);var t=e[0],a="";for(t.substring(0,1)==="-"&&(a="-",t=t.substring(1));t.substring(0,1)==="0";)t=t.substring(1);t===""&&(t="0");var r="";for(e.length===2&&(r="."+(e[1]||"0"));r.length>2&&r[r.length-1]==="0";)r=r.substring(0,r.length-1);for(var i=[];t.length;)if(t.length<=3){i.unshift(t);break}else{var s=t.length-3;i.unshift(t.substring(s)),t=t.substring(0,s)}return a+i.join(",")+r}_6.commify=GQt;function gLe(n,e){if(typeof e=="string"){var t=hLe.indexOf(e);t!==-1&&(e=3*t)}return(0,mLe.formatFixed)(n,e??18)}_6.formatUnits=gLe;function vLe(n,e){if(typeof n!="string"&&bLe.throwArgumentError("value must be a string","value",n),typeof e=="string"){var t=hLe.indexOf(e);t!==-1&&(e=3*t)}return(0,mLe.parseFixed)(n,e??18)}_6.parseUnits=vLe;function KQt(n){return gLe(n,18)}_6.formatEther=KQt;function QQt(n){return vLe(n,18)}_6.parseEther=QQt});var Bh=B(Ie=>{"use strict";p();u();var YQt=Ie&&Ie.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t),Object.defineProperty(n,a,{enumerable:!0,get:function(){return e[t]}})}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),JQt=Ie&&Ie.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),_Le=Ie&&Ie.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&YQt(e,n,t);return JQt(e,n),e};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.formatBytes32String=Ie.Utf8ErrorFuncs=Ie.toUtf8String=Ie.toUtf8CodePoints=Ie.toUtf8Bytes=Ie._toEscapedUtf8String=Ie.nameprep=Ie.hexDataSlice=Ie.hexDataLength=Ie.hexZeroPad=Ie.hexValue=Ie.hexStripZeros=Ie.hexConcat=Ie.isHexString=Ie.hexlify=Ie.base64=Ie.base58=Ie.TransactionDescription=Ie.LogDescription=Ie.Interface=Ie.SigningKey=Ie.HDNode=Ie.defaultPath=Ie.isBytesLike=Ie.isBytes=Ie.zeroPad=Ie.stripZeros=Ie.concat=Ie.arrayify=Ie.shallowCopy=Ie.resolveProperties=Ie.getStatic=Ie.defineReadOnly=Ie.deepCopy=Ie.checkProperties=Ie.poll=Ie.fetchJson=Ie._fetchData=Ie.RLP=Ie.Logger=Ie.checkResultErrors=Ie.FormatTypes=Ie.ParamType=Ie.FunctionFragment=Ie.EventFragment=Ie.ErrorFragment=Ie.ConstructorFragment=Ie.Fragment=Ie.defaultAbiCoder=Ie.AbiCoder=void 0;Ie.Indexed=Ie.Utf8ErrorReason=Ie.UnicodeNormalizationForm=Ie.SupportedAlgorithm=Ie.mnemonicToSeed=Ie.isValidMnemonic=Ie.entropyToMnemonic=Ie.mnemonicToEntropy=Ie.getAccountPath=Ie.verifyTypedData=Ie.verifyMessage=Ie.recoverPublicKey=Ie.computePublicKey=Ie.recoverAddress=Ie.computeAddress=Ie.getJsonWalletAddress=Ie.TransactionTypes=Ie.serializeTransaction=Ie.parseTransaction=Ie.accessListify=Ie.joinSignature=Ie.splitSignature=Ie.soliditySha256=Ie.solidityKeccak256=Ie.solidityPack=Ie.shuffled=Ie.randomBytes=Ie.sha512=Ie.sha256=Ie.ripemd160=Ie.keccak256=Ie.computeHmac=Ie.commify=Ie.parseUnits=Ie.formatUnits=Ie.parseEther=Ie.formatEther=Ie.isAddress=Ie.getCreate2Address=Ie.getContractAddress=Ie.getIcapAddress=Ie.getAddress=Ie._TypedDataEncoder=Ie.id=Ie.isValidName=Ie.namehash=Ie.hashMessage=Ie.dnsEncode=Ie.parseBytes32String=void 0;var bc=gv();Object.defineProperty(Ie,"AbiCoder",{enumerable:!0,get:function(){return bc.AbiCoder}});Object.defineProperty(Ie,"checkResultErrors",{enumerable:!0,get:function(){return bc.checkResultErrors}});Object.defineProperty(Ie,"ConstructorFragment",{enumerable:!0,get:function(){return bc.ConstructorFragment}});Object.defineProperty(Ie,"defaultAbiCoder",{enumerable:!0,get:function(){return bc.defaultAbiCoder}});Object.defineProperty(Ie,"ErrorFragment",{enumerable:!0,get:function(){return bc.ErrorFragment}});Object.defineProperty(Ie,"EventFragment",{enumerable:!0,get:function(){return bc.EventFragment}});Object.defineProperty(Ie,"FormatTypes",{enumerable:!0,get:function(){return bc.FormatTypes}});Object.defineProperty(Ie,"Fragment",{enumerable:!0,get:function(){return bc.Fragment}});Object.defineProperty(Ie,"FunctionFragment",{enumerable:!0,get:function(){return bc.FunctionFragment}});Object.defineProperty(Ie,"Indexed",{enumerable:!0,get:function(){return bc.Indexed}});Object.defineProperty(Ie,"Interface",{enumerable:!0,get:function(){return bc.Interface}});Object.defineProperty(Ie,"LogDescription",{enumerable:!0,get:function(){return bc.LogDescription}});Object.defineProperty(Ie,"ParamType",{enumerable:!0,get:function(){return bc.ParamType}});Object.defineProperty(Ie,"TransactionDescription",{enumerable:!0,get:function(){return bc.TransactionDescription}});var HC=go();Object.defineProperty(Ie,"getAddress",{enumerable:!0,get:function(){return HC.getAddress}});Object.defineProperty(Ie,"getCreate2Address",{enumerable:!0,get:function(){return HC.getCreate2Address}});Object.defineProperty(Ie,"getContractAddress",{enumerable:!0,get:function(){return HC.getContractAddress}});Object.defineProperty(Ie,"getIcapAddress",{enumerable:!0,get:function(){return HC.getIcapAddress}});Object.defineProperty(Ie,"isAddress",{enumerable:!0,get:function(){return HC.isAddress}});var XQt=_Le(YE());Ie.base64=XQt;var ZQt=BO();Object.defineProperty(Ie,"base58",{enumerable:!0,get:function(){return ZQt.Base58}});var Bo=H0();Object.defineProperty(Ie,"arrayify",{enumerable:!0,get:function(){return Bo.arrayify}});Object.defineProperty(Ie,"concat",{enumerable:!0,get:function(){return Bo.concat}});Object.defineProperty(Ie,"hexConcat",{enumerable:!0,get:function(){return Bo.hexConcat}});Object.defineProperty(Ie,"hexDataSlice",{enumerable:!0,get:function(){return Bo.hexDataSlice}});Object.defineProperty(Ie,"hexDataLength",{enumerable:!0,get:function(){return Bo.hexDataLength}});Object.defineProperty(Ie,"hexlify",{enumerable:!0,get:function(){return Bo.hexlify}});Object.defineProperty(Ie,"hexStripZeros",{enumerable:!0,get:function(){return Bo.hexStripZeros}});Object.defineProperty(Ie,"hexValue",{enumerable:!0,get:function(){return Bo.hexValue}});Object.defineProperty(Ie,"hexZeroPad",{enumerable:!0,get:function(){return Bo.hexZeroPad}});Object.defineProperty(Ie,"isBytes",{enumerable:!0,get:function(){return Bo.isBytes}});Object.defineProperty(Ie,"isBytesLike",{enumerable:!0,get:function(){return Bo.isBytesLike}});Object.defineProperty(Ie,"isHexString",{enumerable:!0,get:function(){return Bo.isHexString}});Object.defineProperty(Ie,"joinSignature",{enumerable:!0,get:function(){return Bo.joinSignature}});Object.defineProperty(Ie,"zeroPad",{enumerable:!0,get:function(){return Bo.zeroPad}});Object.defineProperty(Ie,"splitSignature",{enumerable:!0,get:function(){return Bo.splitSignature}});Object.defineProperty(Ie,"stripZeros",{enumerable:!0,get:function(){return Bo.stripZeros}});var zT=U8();Object.defineProperty(Ie,"_TypedDataEncoder",{enumerable:!0,get:function(){return zT._TypedDataEncoder}});Object.defineProperty(Ie,"dnsEncode",{enumerable:!0,get:function(){return zT.dnsEncode}});Object.defineProperty(Ie,"hashMessage",{enumerable:!0,get:function(){return zT.hashMessage}});Object.defineProperty(Ie,"id",{enumerable:!0,get:function(){return zT.id}});Object.defineProperty(Ie,"isValidName",{enumerable:!0,get:function(){return zT.isValidName}});Object.defineProperty(Ie,"namehash",{enumerable:!0,get:function(){return zT.namehash}});var Mh=YO();Object.defineProperty(Ie,"defaultPath",{enumerable:!0,get:function(){return Mh.defaultPath}});Object.defineProperty(Ie,"entropyToMnemonic",{enumerable:!0,get:function(){return Mh.entropyToMnemonic}});Object.defineProperty(Ie,"getAccountPath",{enumerable:!0,get:function(){return Mh.getAccountPath}});Object.defineProperty(Ie,"HDNode",{enumerable:!0,get:function(){return Mh.HDNode}});Object.defineProperty(Ie,"isValidMnemonic",{enumerable:!0,get:function(){return Mh.isValidMnemonic}});Object.defineProperty(Ie,"mnemonicToEntropy",{enumerable:!0,get:function(){return Mh.mnemonicToEntropy}});Object.defineProperty(Ie,"mnemonicToSeed",{enumerable:!0,get:function(){return Mh.mnemonicToSeed}});var eYt=aae();Object.defineProperty(Ie,"getJsonWalletAddress",{enumerable:!0,get:function(){return eYt.getJsonWalletAddress}});var tYt=T1();Object.defineProperty(Ie,"keccak256",{enumerable:!0,get:function(){return tYt.keccak256}});var nYt=R0();Object.defineProperty(Ie,"Logger",{enumerable:!0,get:function(){return nYt.Logger}});var FV=Ch();Object.defineProperty(Ie,"computeHmac",{enumerable:!0,get:function(){return FV.computeHmac}});Object.defineProperty(Ie,"ripemd160",{enumerable:!0,get:function(){return FV.ripemd160}});Object.defineProperty(Ie,"sha256",{enumerable:!0,get:function(){return FV.sha256}});Object.defineProperty(Ie,"sha512",{enumerable:!0,get:function(){return FV.sha512}});var Pae=kae();Object.defineProperty(Ie,"solidityKeccak256",{enumerable:!0,get:function(){return Pae.keccak256}});Object.defineProperty(Ie,"solidityPack",{enumerable:!0,get:function(){return Pae.pack}});Object.defineProperty(Ie,"soliditySha256",{enumerable:!0,get:function(){return Pae.sha256}});var wLe=EC();Object.defineProperty(Ie,"randomBytes",{enumerable:!0,get:function(){return wLe.randomBytes}});Object.defineProperty(Ie,"shuffled",{enumerable:!0,get:function(){return wLe.shuffled}});var WT=xa();Object.defineProperty(Ie,"checkProperties",{enumerable:!0,get:function(){return WT.checkProperties}});Object.defineProperty(Ie,"deepCopy",{enumerable:!0,get:function(){return WT.deepCopy}});Object.defineProperty(Ie,"defineReadOnly",{enumerable:!0,get:function(){return WT.defineReadOnly}});Object.defineProperty(Ie,"getStatic",{enumerable:!0,get:function(){return WT.getStatic}});Object.defineProperty(Ie,"resolveProperties",{enumerable:!0,get:function(){return WT.resolveProperties}});Object.defineProperty(Ie,"shallowCopy",{enumerable:!0,get:function(){return WT.shallowCopy}});var aYt=_Le(KE());Ie.RLP=aYt;var Rae=cC();Object.defineProperty(Ie,"computePublicKey",{enumerable:!0,get:function(){return Rae.computePublicKey}});Object.defineProperty(Ie,"recoverPublicKey",{enumerable:!0,get:function(){return Rae.recoverPublicKey}});Object.defineProperty(Ie,"SigningKey",{enumerable:!0,get:function(){return Rae.SigningKey}});var Sm=ds();Object.defineProperty(Ie,"formatBytes32String",{enumerable:!0,get:function(){return Sm.formatBytes32String}});Object.defineProperty(Ie,"nameprep",{enumerable:!0,get:function(){return Sm.nameprep}});Object.defineProperty(Ie,"parseBytes32String",{enumerable:!0,get:function(){return Sm.parseBytes32String}});Object.defineProperty(Ie,"_toEscapedUtf8String",{enumerable:!0,get:function(){return Sm._toEscapedUtf8String}});Object.defineProperty(Ie,"toUtf8Bytes",{enumerable:!0,get:function(){return Sm.toUtf8Bytes}});Object.defineProperty(Ie,"toUtf8CodePoints",{enumerable:!0,get:function(){return Sm.toUtf8CodePoints}});Object.defineProperty(Ie,"toUtf8String",{enumerable:!0,get:function(){return Sm.toUtf8String}});Object.defineProperty(Ie,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return Sm.Utf8ErrorFuncs}});var jT=f5();Object.defineProperty(Ie,"accessListify",{enumerable:!0,get:function(){return jT.accessListify}});Object.defineProperty(Ie,"computeAddress",{enumerable:!0,get:function(){return jT.computeAddress}});Object.defineProperty(Ie,"parseTransaction",{enumerable:!0,get:function(){return jT.parse}});Object.defineProperty(Ie,"recoverAddress",{enumerable:!0,get:function(){return jT.recoverAddress}});Object.defineProperty(Ie,"serializeTransaction",{enumerable:!0,get:function(){return jT.serialize}});Object.defineProperty(Ie,"TransactionTypes",{enumerable:!0,get:function(){return jT.TransactionTypes}});var zC=TLe();Object.defineProperty(Ie,"commify",{enumerable:!0,get:function(){return zC.commify}});Object.defineProperty(Ie,"formatEther",{enumerable:!0,get:function(){return zC.formatEther}});Object.defineProperty(Ie,"parseEther",{enumerable:!0,get:function(){return zC.parseEther}});Object.defineProperty(Ie,"formatUnits",{enumerable:!0,get:function(){return zC.formatUnits}});Object.defineProperty(Ie,"parseUnits",{enumerable:!0,get:function(){return zC.parseUnits}});var xLe=sae();Object.defineProperty(Ie,"verifyMessage",{enumerable:!0,get:function(){return xLe.verifyMessage}});Object.defineProperty(Ie,"verifyTypedData",{enumerable:!0,get:function(){return xLe.verifyTypedData}});var Lae=W2();Object.defineProperty(Ie,"_fetchData",{enumerable:!0,get:function(){return Lae._fetchData}});Object.defineProperty(Ie,"fetchJson",{enumerable:!0,get:function(){return Lae.fetchJson}});Object.defineProperty(Ie,"poll",{enumerable:!0,get:function(){return Lae.poll}});var rYt=Ch();Object.defineProperty(Ie,"SupportedAlgorithm",{enumerable:!0,get:function(){return rYt.SupportedAlgorithm}});var ILe=ds();Object.defineProperty(Ie,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return ILe.UnicodeNormalizationForm}});Object.defineProperty(Ie,"Utf8ErrorReason",{enumerable:!0,get:function(){return ILe.Utf8ErrorReason}})});var ELe=B(OV=>{"use strict";p();u();Object.defineProperty(OV,"__esModule",{value:!0});OV.version=void 0;OV.version="ethers/5.7.2"});var Nae=B(rn=>{"use strict";p();u();var iYt=rn&&rn.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t),Object.defineProperty(n,a,{enumerable:!0,get:function(){return e[t]}})}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),sYt=rn&&rn.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),Mae=rn&&rn.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&iYt(e,n,t);return sYt(e,n),e};Object.defineProperty(rn,"__esModule",{value:!0});rn.Wordlist=rn.version=rn.wordlists=rn.utils=rn.logger=rn.errors=rn.constants=rn.FixedNumber=rn.BigNumber=rn.ContractFactory=rn.Contract=rn.BaseContract=rn.providers=rn.getDefaultProvider=rn.VoidSigner=rn.Wallet=rn.Signer=void 0;var Bae=rke();Object.defineProperty(rn,"BaseContract",{enumerable:!0,get:function(){return Bae.BaseContract}});Object.defineProperty(rn,"Contract",{enumerable:!0,get:function(){return Bae.Contract}});Object.defineProperty(rn,"ContractFactory",{enumerable:!0,get:function(){return Bae.ContractFactory}});var DLe=Zn();Object.defineProperty(rn,"BigNumber",{enumerable:!0,get:function(){return DLe.BigNumber}});Object.defineProperty(rn,"FixedNumber",{enumerable:!0,get:function(){return DLe.FixedNumber}});var CLe=I2();Object.defineProperty(rn,"Signer",{enumerable:!0,get:function(){return CLe.Signer}});Object.defineProperty(rn,"VoidSigner",{enumerable:!0,get:function(){return CLe.VoidSigner}});var fYt=sae();Object.defineProperty(rn,"Wallet",{enumerable:!0,get:function(){return fYt.Wallet}});var oYt=Mae(V8());rn.constants=oYt;var cYt=Mae(MV());rn.providers=cYt;var dYt=MV();Object.defineProperty(rn,"getDefaultProvider",{enumerable:!0,get:function(){return dYt.getDefaultProvider}});var SLe=zne();Object.defineProperty(rn,"Wordlist",{enumerable:!0,get:function(){return SLe.Wordlist}});Object.defineProperty(rn,"wordlists",{enumerable:!0,get:function(){return SLe.wordlists}});var lYt=Mae(Bh());rn.utils=lYt;var ALe=R0();Object.defineProperty(rn,"errors",{enumerable:!0,get:function(){return ALe.ErrorCode}});var kLe=ELe();Object.defineProperty(rn,"version",{enumerable:!0,get:function(){return kLe.version}});var pYt=new ALe.Logger(kLe.version);rn.logger=pYt});var Ue=B(j0=>{"use strict";p();u();var uYt=j0&&j0.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t),Object.defineProperty(n,a,{enumerable:!0,get:function(){return e[t]}})}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),yYt=j0&&j0.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),mYt=j0&&j0.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&uYt(e,n,t);return yYt(e,n),e};Object.defineProperty(j0,"__esModule",{value:!0});j0.Wordlist=j0.version=j0.wordlists=j0.utils=j0.logger=j0.errors=j0.constants=j0.FixedNumber=j0.BigNumber=j0.ContractFactory=j0.Contract=j0.BaseContract=j0.providers=j0.getDefaultProvider=j0.VoidSigner=j0.Wallet=j0.Signer=j0.ethers=void 0;var PLe=mYt(Nae());j0.ethers=PLe;try{Fae=window,Fae._ethers==null&&(Fae._ethers=PLe)}catch{}var Fae,Hf=Nae();Object.defineProperty(j0,"Signer",{enumerable:!0,get:function(){return Hf.Signer}});Object.defineProperty(j0,"Wallet",{enumerable:!0,get:function(){return Hf.Wallet}});Object.defineProperty(j0,"VoidSigner",{enumerable:!0,get:function(){return Hf.VoidSigner}});Object.defineProperty(j0,"getDefaultProvider",{enumerable:!0,get:function(){return Hf.getDefaultProvider}});Object.defineProperty(j0,"providers",{enumerable:!0,get:function(){return Hf.providers}});Object.defineProperty(j0,"BaseContract",{enumerable:!0,get:function(){return Hf.BaseContract}});Object.defineProperty(j0,"Contract",{enumerable:!0,get:function(){return Hf.Contract}});Object.defineProperty(j0,"ContractFactory",{enumerable:!0,get:function(){return Hf.ContractFactory}});Object.defineProperty(j0,"BigNumber",{enumerable:!0,get:function(){return Hf.BigNumber}});Object.defineProperty(j0,"FixedNumber",{enumerable:!0,get:function(){return Hf.FixedNumber}});Object.defineProperty(j0,"constants",{enumerable:!0,get:function(){return Hf.constants}});Object.defineProperty(j0,"errors",{enumerable:!0,get:function(){return Hf.errors}});Object.defineProperty(j0,"logger",{enumerable:!0,get:function(){return Hf.logger}});Object.defineProperty(j0,"utils",{enumerable:!0,get:function(){return Hf.utils}});Object.defineProperty(j0,"wordlists",{enumerable:!0,get:function(){return Hf.wordlists}});Object.defineProperty(j0,"version",{enumerable:!0,get:function(){return Hf.version}});Object.defineProperty(j0,"Wordlist",{enumerable:!0,get:function(){return Hf.Wordlist}})});function vYt(n,e){if(n==="__proto__"||n==="constructor"&&e&&typeof e=="object"&&"prototype"in e){TYt(n);return}return e}function TYt(n){console.warn(`[destr] Dropping "${n}" key to prevent prototype pollution.`)}function WC(n,e={}){if(typeof n!="string")return n;let t=n.trim();if(n[0]==='"'&&n.endsWith('"')&&!n.includes("\\"))return t.slice(1,-1);if(t.length<=9){let a=t.toLowerCase();if(a==="true")return!0;if(a==="false")return!1;if(a==="undefined")return;if(a==="null")return null;if(a==="nan")return Number.NaN;if(a==="infinity")return Number.POSITIVE_INFINITY;if(a==="-infinity")return Number.NEGATIVE_INFINITY}if(!gYt.test(n)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return n}try{if(bYt.test(n)||hYt.test(n)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(n,vYt)}return JSON.parse(n)}catch(a){if(e.strict)throw a;return n}}var bYt,hYt,gYt,RLe=ce(()=>{p();u();bYt=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,hYt=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,gYt=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function _Yt(n){return!n||typeof n.then!="function"?Promise.resolve(n):n}function Ns(n,...e){try{return _Yt(n(...e))}catch(t){return Promise.reject(t)}}function wYt(n){let e=typeof n;return n===null||e!=="object"&&e!=="function"}function xYt(n){let e=Object.getPrototypeOf(n);return!e||e.isPrototypeOf(Object)}function jC(n){if(wYt(n))return String(n);if(xYt(n)||Array.isArray(n))return JSON.stringify(n);if(typeof n.toJSON=="function")return jC(n.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function LLe(){if(typeof D.Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}function MLe(n){if(typeof n=="string")return n;LLe();let e=D.Buffer.from(n).toString("base64");return Oae+e}function BLe(n){return typeof n!="string"||!n.startsWith(Oae)?n:(LLe(),D.Buffer.from(n.slice(Oae.length),"base64"))}function w1(n){return n?n.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function NLe(...n){return w1(n.join(":"))}function GC(n){return n=w1(n),n?n+":":""}var Oae,FLe=ce(()=>{p();u();Oae="base64:"});function $Le(n={}){let e={mounts:{"":n.driver||EYt()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},t=c=>{for(let d of e.mountpoints)if(c.startsWith(d))return{base:d,relativeKey:c.slice(d.length),driver:e.mounts[d]};return{base:"",relativeKey:c,driver:e.mounts[""]}},a=(c,d)=>e.mountpoints.filter(l=>l.startsWith(c)||d&&c.startsWith(l)).map(l=>({relativeBase:c.length>l.length?c.slice(l.length):void 0,mountpoint:l,driver:e.mounts[l]})),r=(c,d)=>{if(e.watching){d=w1(d);for(let l of e.watchListeners)l(c,d)}},i=async()=>{if(!e.watching){e.watching=!0;for(let c in e.mounts)e.unwatch[c]=await OLe(e.mounts[c],r,c)}},s=async()=>{if(e.watching){for(let c in e.unwatch)await e.unwatch[c]();e.unwatch={},e.watching=!1}},f=(c,d,l)=>{let y=new Map,h=T=>{let A=y.get(T.base);return A||(A={driver:T.driver,base:T.base,items:[]},y.set(T.base,A)),A};for(let T of c){let A=typeof T=="string",O=w1(A?T:T.key),N=A?void 0:T.value,U=A||!T.options?d:{...d,...T.options},q=t(O);h(q).items.push({key:O,value:N,relativeKey:q.relativeKey,options:U})}return Promise.all([...y.values()].map(T=>l(T))).then(T=>T.flat())},o={hasItem(c,d={}){c=w1(c);let{relativeKey:l,driver:y}=t(c);return Ns(y.hasItem,l,d)},getItem(c,d={}){c=w1(c);let{relativeKey:l,driver:y}=t(c);return Ns(y.getItem,l,d).then(h=>WC(h))},getItems(c,d){return f(c,d,l=>l.driver.getItems?Ns(l.driver.getItems,l.items.map(y=>({key:y.relativeKey,options:y.options})),d).then(y=>y.map(h=>({key:NLe(l.base,h.key),value:WC(h.value)}))):Promise.all(l.items.map(y=>Ns(l.driver.getItem,y.relativeKey,y.options).then(h=>({key:y.key,value:WC(h)})))))},getItemRaw(c,d={}){c=w1(c);let{relativeKey:l,driver:y}=t(c);return y.getItemRaw?Ns(y.getItemRaw,l,d):Ns(y.getItem,l,d).then(h=>BLe(h))},async setItem(c,d,l={}){if(d===void 0)return o.removeItem(c);c=w1(c);let{relativeKey:y,driver:h}=t(c);h.setItem&&(await Ns(h.setItem,y,jC(d),l),h.watch||r("update",c))},async setItems(c,d){await f(c,d,async l=>{if(l.driver.setItems)return Ns(l.driver.setItems,l.items.map(y=>({key:y.relativeKey,value:jC(y.value),options:y.options})),d);l.driver.setItem&&await Promise.all(l.items.map(y=>Ns(l.driver.setItem,y.relativeKey,jC(y.value),y.options)))})},async setItemRaw(c,d,l={}){if(d===void 0)return o.removeItem(c,l);c=w1(c);let{relativeKey:y,driver:h}=t(c);if(h.setItemRaw)await Ns(h.setItemRaw,y,d,l);else if(h.setItem)await Ns(h.setItem,y,MLe(d),l);else return;h.watch||r("update",c)},async removeItem(c,d={}){typeof d=="boolean"&&(d={removeMeta:d}),c=w1(c);let{relativeKey:l,driver:y}=t(c);y.removeItem&&(await Ns(y.removeItem,l,d),(d.removeMeta||d.removeMata)&&await Ns(y.removeItem,l+"$",d),y.watch||r("remove",c))},async getMeta(c,d={}){typeof d=="boolean"&&(d={nativeOnly:d}),c=w1(c);let{relativeKey:l,driver:y}=t(c),h=Object.create(null);if(y.getMeta&&Object.assign(h,await Ns(y.getMeta,l,d)),!d.nativeOnly){let T=await Ns(y.getItem,l+"$",d).then(A=>WC(A));T&&typeof T=="object"&&(typeof T.atime=="string"&&(T.atime=new Date(T.atime)),typeof T.mtime=="string"&&(T.mtime=new Date(T.mtime)),Object.assign(h,T))}return h},setMeta(c,d,l={}){return this.setItem(c+"$",d,l)},removeMeta(c,d={}){return this.removeItem(c+"$",d)},async getKeys(c,d={}){c=GC(c);let l=a(c,!0),y=[],h=[];for(let T of l){let O=(await Ns(T.driver.getKeys,T.relativeBase,d)).map(N=>T.mountpoint+w1(N)).filter(N=>!y.some(U=>N.startsWith(U)));h.push(...O),y=[T.mountpoint,...y.filter(N=>!N.startsWith(T.mountpoint))]}return c?h.filter(T=>T.startsWith(c)&&!T.endsWith("$")):h.filter(T=>!T.endsWith("$"))},async clear(c,d={}){c=GC(c),await Promise.all(a(c,!1).map(async l=>{if(l.driver.clear)return Ns(l.driver.clear,l.relativeBase,d);if(l.driver.removeItem){let y=await l.driver.getKeys(l.relativeBase||"",d);return Promise.all(y.map(h=>l.driver.removeItem(h,d)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(c=>VLe(c)))},async watch(c){return await i(),e.watchListeners.push(c),async()=>{e.watchListeners=e.watchListeners.filter(d=>d!==c),e.watchListeners.length===0&&await s()}},async unwatch(){e.watchListeners=[],await s()},mount(c,d){if(c=GC(c),c&&e.mounts[c])throw new Error(`already mounted at ${c}`);return c&&(e.mountpoints.push(c),e.mountpoints.sort((l,y)=>y.length-l.length)),e.mounts[c]=d,e.watching&&Promise.resolve(OLe(d,r,c)).then(l=>{e.unwatch[c]=l}).catch(console.error),o},async unmount(c,d=!0){c=GC(c),!(!c||!e.mounts[c])&&(e.watching&&c in e.unwatch&&(e.unwatch[c](),delete e.unwatch[c]),d&&await VLe(e.mounts[c]),e.mountpoints=e.mountpoints.filter(l=>l!==c),delete e.mounts[c])},getMount(c=""){c=w1(c)+":";let d=t(c);return{driver:d.driver,base:d.base}},getMounts(c="",d={}){return c=w1(c),a(c,d.parents).map(y=>({driver:y.driver,base:y.mountpoint}))}};return o}function OLe(n,e,t){return n.watch?n.watch((a,r)=>e(a,t+r)):()=>{}}async function VLe(n){typeof n.dispose=="function"&&await Ns(n.dispose)}var IYt,EYt,ULe=ce(()=>{p();u();RLe();FLe();IYt="memory",EYt=()=>{let n=new Map;return{name:IYt,options:{},hasItem(e){return n.has(e)},getItem(e){return n.get(e)??null},getItemRaw(e){return n.get(e)??null},setItem(e,t){n.set(e,t)},setItemRaw(e,t){n.set(e,t)},removeItem(e){n.delete(e)},getKeys(){return Array.from(n.keys())},clear(){n.clear()},dispose(){n.clear()}}}});function Nh(n){return new Promise((e,t)=>{n.oncomplete=n.onsuccess=()=>e(n.result),n.onabort=n.onerror=()=>t(n.error)})}function $ae(n,e){let t=indexedDB.open(n);t.onupgradeneeded=()=>t.result.createObjectStore(e);let a=Nh(t);return(r,i)=>a.then(s=>i(s.transaction(e,r).objectStore(e)))}function KC(){return Vae||(Vae=$ae("keyval-store","keyval")),Vae}function Uae(n,e=KC()){return e("readonly",t=>Nh(t.get(n)))}function qLe(n,e,t=KC()){return t("readwrite",a=>(a.put(e,n),Nh(a.transaction)))}function HLe(n,e=KC()){return e("readwrite",t=>(t.delete(n),Nh(t.transaction)))}function zLe(n=KC()){return n("readwrite",e=>(e.clear(),Nh(e.transaction)))}function DYt(n,e){return n.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},Nh(n.transaction)}function WLe(n=KC()){return n("readonly",e=>{if(e.getAllKeys)return Nh(e.getAllKeys());let t=[];return DYt(e,a=>t.push(a.key)).then(()=>t)})}var Vae,jLe=ce(()=>{p();u()});function T5(n){if(typeof n!="string")throw new Error(`Cannot safe json parse value of type ${typeof n}`);try{return SYt(n)}catch{return n}}function x1(n){return typeof n=="string"?n:CYt(n)||""}var CYt,SYt,Fh=ce(()=>{p();u();CYt=n=>JSON.stringify(n,(e,t)=>typeof t=="bigint"?t.toString()+"n":t),SYt=n=>{let e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,t=n.replace(e,'$1"$2n"$3');return JSON.parse(t,(a,r)=>typeof r=="string"&&r.match(/^\d+n$/)?BigInt(r.substring(0,r.length-1)):r)}});function LYt(n){var e;return[n[0],T5((e=n[1])!=null?e:"")]}var AYt,kYt,PYt,RYt,Hae,qae,VV,zae,MYt,GLe,BYt,NYt,$V,KLe=ce(()=>{p();u();ULe();jLe();Fh();AYt="idb-keyval",kYt=(n={})=>{let e=n.base&&n.base.length>0?`${n.base}:`:"",t=r=>e+r,a;return n.dbName&&n.storeName&&(a=$ae(n.dbName,n.storeName)),{name:AYt,options:n,async hasItem(r){return!(typeof await Uae(t(r),a)>"u")},async getItem(r){return await Uae(t(r),a)??null},setItem(r,i){return qLe(t(r),i,a)},removeItem(r){return HLe(t(r),a)},getKeys(){return WLe(a)},clear(){return zLe(a)}}},PYt="WALLET_CONNECT_V2_INDEXED_DB",RYt="keyvaluestorage",Hae=class{constructor(){this.indexedDb=$Le({driver:kYt({dbName:PYt,storeName:RYt})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){let t=await this.indexedDb.getItem(e);if(t!==null)return t}async setItem(e,t){await this.indexedDb.setItem(e,x1(t))}async removeItem(e){await this.indexedDb.removeItem(e)}},qae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},VV={exports:{}};(function(){let n;function e(){}n=e,n.prototype.getItem=function(t){return this.hasOwnProperty(t)?String(this[t]):null},n.prototype.setItem=function(t,a){this[t]=String(a)},n.prototype.removeItem=function(t){delete this[t]},n.prototype.clear=function(){let t=this;Object.keys(t).forEach(function(a){t[a]=void 0,delete t[a]})},n.prototype.key=function(t){return t=t||0,Object.keys(this)[t]},n.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof qae<"u"&&qae.localStorage?VV.exports=qae.localStorage:typeof window<"u"&&window.localStorage?VV.exports=window.localStorage:VV.exports=new e})();zae=class{constructor(){this.localStorage=VV.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(LYt)}async getItem(e){let t=this.localStorage.getItem(e);if(t!==null)return T5(t)}async setItem(e,t){this.localStorage.setItem(e,x1(t))}async removeItem(e){this.localStorage.removeItem(e)}},MYt="wc_storage_version",GLe=1,BYt=async(n,e,t)=>{let a=MYt,r=await e.getItem(a);if(r&&r>=GLe){t(e);return}let i=await n.getKeys();if(!i.length){t(e);return}let s=[];for(;i.length;){let f=i.shift();if(!f)continue;let o=f.toLowerCase();if(o.includes("wc@")||o.includes("walletconnect")||o.includes("wc_")||o.includes("wallet_connect")){let c=await n.getItem(f);await e.setItem(f,c),s.push(f)}}await e.setItem(a,GLe),t(e),NYt(n,s)},NYt=async(n,e)=>{e.length&&e.forEach(async t=>{await n.removeItem(t)})},$V=class{constructor(){this.initialized=!1,this.setInitialized=t=>{this.storage=t,this.initialized=!0};let e=new zae;this.storage=e;try{let t=new Hae;BYt(e,t,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,t){return await this.initialize(),this.storage.setItem(e,t)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{let t=setInterval(()=>{this.initialized&&(clearInterval(t),e())},20)})}}});var _5={};jt(_5,{__assign:()=>jae,__asyncDelegator:()=>QYt,__asyncGenerator:()=>KYt,__asyncValues:()=>YYt,__await:()=>QC,__awaiter:()=>qYt,__classPrivateFieldGet:()=>eJt,__classPrivateFieldSet:()=>tJt,__createBinding:()=>zYt,__decorate:()=>VYt,__exportStar:()=>WYt,__extends:()=>FYt,__generator:()=>HYt,__importDefault:()=>ZYt,__importStar:()=>XYt,__makeTemplateObject:()=>JYt,__metadata:()=>UYt,__param:()=>$Yt,__read:()=>QLe,__rest:()=>OYt,__spread:()=>jYt,__spreadArrays:()=>GYt,__values:()=>Gae});function FYt(n,e){Wae(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function OYt(n,e){var t={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&e.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(n);r=0;f--)(s=n[f])&&(i=(r<3?s(i):r>3?s(e,t,i):s(e,t))||i);return r>3&&i&&Object.defineProperty(e,t,i),i}function $Yt(n,e){return function(t,a){e(t,a,n)}}function UYt(n,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,e)}function qYt(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})}function HYt(n,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(c){return function(d){return o([c,d])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,r=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function QLe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var a=t.call(n),r,i=[],s;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(f){s={error:f}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(s)throw s.error}}return i}function jYt(){for(var n=[],e=0;e1||f(y,h)})})}function f(y,h){try{o(a[y](h))}catch(T){l(i[0][3],T)}}function o(y){y.value instanceof QC?Promise.resolve(y.value.v).then(c,d):l(i[0][2],y)}function c(y){f("next",y)}function d(y){f("throw",y)}function l(y,h){y(h),i.shift(),i.length&&f(i[0][0],i[0][1])}}function QYt(n){var e,t;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,i){e[r]=n[r]?function(s){return(t=!t)?{value:QC(n[r](s)),done:r==="return"}:i?i(s):s}:i}}function YYt(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],t;return e?e.call(n):(n=typeof Gae=="function"?Gae(n):n[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(i){t[i]=n[i]&&function(s){return new Promise(function(f,o){s=n[i](s),r(f,o,s.done,s.value)})}}function r(i,s,f,o){Promise.resolve(o).then(function(c){i({value:c,done:f})},s)}}function JYt(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}function XYt(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)Object.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}function ZYt(n){return n&&n.__esModule?n:{default:n}}function eJt(n,e){if(!e.has(n))throw new TypeError("attempted to get private field on non-instance");return e.get(n)}function tJt(n,e,t){if(!e.has(n))throw new TypeError("attempted to set private field on non-instance");return e.set(n,t),t}var Wae,jae,w5=ce(()=>{p();u();Wae=function(n,e){return Wae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])},Wae(n,e)};jae=function(){return jae=Object.assign||function(e){for(var t,a=1,r=arguments.length;a{"use strict";p();u();Object.defineProperty(UV,"__esModule",{value:!0});UV.delay=void 0;function nJt(n){return new Promise(e=>{setTimeout(()=>{e(!0)},n)})}UV.delay=nJt});var JLe=B(GT=>{"use strict";p();u();Object.defineProperty(GT,"__esModule",{value:!0});GT.ONE_THOUSAND=GT.ONE_HUNDRED=void 0;GT.ONE_HUNDRED=100;GT.ONE_THOUSAND=1e3});var XLe=B(Jt=>{"use strict";p();u();Object.defineProperty(Jt,"__esModule",{value:!0});Jt.ONE_YEAR=Jt.FOUR_WEEKS=Jt.THREE_WEEKS=Jt.TWO_WEEKS=Jt.ONE_WEEK=Jt.THIRTY_DAYS=Jt.SEVEN_DAYS=Jt.FIVE_DAYS=Jt.THREE_DAYS=Jt.ONE_DAY=Jt.TWENTY_FOUR_HOURS=Jt.TWELVE_HOURS=Jt.SIX_HOURS=Jt.THREE_HOURS=Jt.ONE_HOUR=Jt.SIXTY_MINUTES=Jt.THIRTY_MINUTES=Jt.TEN_MINUTES=Jt.FIVE_MINUTES=Jt.ONE_MINUTE=Jt.SIXTY_SECONDS=Jt.THIRTY_SECONDS=Jt.TEN_SECONDS=Jt.FIVE_SECONDS=Jt.ONE_SECOND=void 0;Jt.ONE_SECOND=1;Jt.FIVE_SECONDS=5;Jt.TEN_SECONDS=10;Jt.THIRTY_SECONDS=30;Jt.SIXTY_SECONDS=60;Jt.ONE_MINUTE=Jt.SIXTY_SECONDS;Jt.FIVE_MINUTES=Jt.ONE_MINUTE*5;Jt.TEN_MINUTES=Jt.ONE_MINUTE*10;Jt.THIRTY_MINUTES=Jt.ONE_MINUTE*30;Jt.SIXTY_MINUTES=Jt.ONE_MINUTE*60;Jt.ONE_HOUR=Jt.SIXTY_MINUTES;Jt.THREE_HOURS=Jt.ONE_HOUR*3;Jt.SIX_HOURS=Jt.ONE_HOUR*6;Jt.TWELVE_HOURS=Jt.ONE_HOUR*12;Jt.TWENTY_FOUR_HOURS=Jt.ONE_HOUR*24;Jt.ONE_DAY=Jt.TWENTY_FOUR_HOURS;Jt.THREE_DAYS=Jt.ONE_DAY*3;Jt.FIVE_DAYS=Jt.ONE_DAY*5;Jt.SEVEN_DAYS=Jt.ONE_DAY*7;Jt.THIRTY_DAYS=Jt.ONE_DAY*30;Jt.ONE_WEEK=Jt.SEVEN_DAYS;Jt.TWO_WEEKS=Jt.ONE_WEEK*2;Jt.THREE_WEEKS=Jt.ONE_WEEK*3;Jt.FOUR_WEEKS=Jt.ONE_WEEK*4;Jt.ONE_YEAR=Jt.ONE_DAY*365});var Kae=B(qV=>{"use strict";p();u();Object.defineProperty(qV,"__esModule",{value:!0});var ZLe=(w5(),yi(_5));ZLe.__exportStar(JLe(),qV);ZLe.__exportStar(XLe(),qV)});var tMe=B(KT=>{"use strict";p();u();Object.defineProperty(KT,"__esModule",{value:!0});KT.fromMiliseconds=KT.toMiliseconds=void 0;var eMe=Kae();function aJt(n){return n*eMe.ONE_THOUSAND}KT.toMiliseconds=aJt;function rJt(n){return Math.floor(n/eMe.ONE_THOUSAND)}KT.fromMiliseconds=rJt});var aMe=B(HV=>{"use strict";p();u();Object.defineProperty(HV,"__esModule",{value:!0});var nMe=(w5(),yi(_5));nMe.__exportStar(YLe(),HV);nMe.__exportStar(tMe(),HV)});var rMe=B(YC=>{"use strict";p();u();Object.defineProperty(YC,"__esModule",{value:!0});YC.Watch=void 0;var zV=class{constructor(){this.timestamps=new Map}start(e){if(this.timestamps.has(e))throw new Error(`Watch already started for label: ${e}`);this.timestamps.set(e,{started:Date.now()})}stop(e){let t=this.get(e);if(typeof t.elapsed<"u")throw new Error(`Watch already stopped for label: ${e}`);let a=Date.now()-t.started;this.timestamps.set(e,{started:t.started,elapsed:a})}get(e){let t=this.timestamps.get(e);if(typeof t>"u")throw new Error(`No timestamp found for label: ${e}`);return t}elapsed(e){let t=this.get(e);return t.elapsed||Date.now()-t.started}};YC.Watch=zV;YC.default=zV});var iMe=B(WV=>{"use strict";p();u();Object.defineProperty(WV,"__esModule",{value:!0});WV.IWatch=void 0;var Qae=class{};WV.IWatch=Qae});var sMe=B(Yae=>{"use strict";p();u();Object.defineProperty(Yae,"__esModule",{value:!0});var iJt=(w5(),yi(_5));iJt.__exportStar(iMe(),Yae)});var Oh=B(QT=>{"use strict";p();u();Object.defineProperty(QT,"__esModule",{value:!0});var jV=(w5(),yi(_5));jV.__exportStar(aMe(),QT);jV.__exportStar(rMe(),QT);jV.__exportStar(sMe(),QT);jV.__exportStar(Kae(),QT)});var x5,fMe=ce(()=>{p();u();x5=class{}});var oMe={};jt(oMe,{IEvents:()=>x5});var Jae=ce(()=>{p();u();fMe()});var dMe=B((PQn,cMe)=>{"use strict";p();u();function sJt(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}cMe.exports=fJt;function fJt(n,e,t){var a=t&&t.stringify||sJt,r=1;if(typeof n=="object"&&n!==null){var i=e.length+r;if(i===1)return n;var s=new Array(i);s[0]=a(n);for(var f=1;f-1?l:0,n.charCodeAt(h+1)){case 100:case 102:if(d>=o||e[d]==null)break;l=o||e[d]==null)break;l=o||e[d]===void 0)break;l",l=h+2,h++;break}c+=a(e[d]),l=h+2,h++;break;case 115:if(d>=o)break;l{"use strict";p();u();var lMe=dMe();yMe.exports=I5;var JC=hJt().console||{},oJt={mapHttpRequest:GV,mapHttpResponse:GV,wrapRequestSerializer:Xae,wrapResponseSerializer:Xae,wrapErrorSerializer:Xae,req:GV,res:GV,err:uJt};function cJt(n,e){return Array.isArray(n)?n.filter(function(a){return a!=="!stdSerializers.err"}):n===!0?Object.keys(e):!1}function I5(n){n=n||{},n.browser=n.browser||{};let e=n.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");let t=n.browser.write||JC;n.browser.write&&(n.browser.asObject=!0);let a=n.serializers||{},r=cJt(n.browser.serialize,a),i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);let s=["error","fatal","warn","info","debug","trace"];typeof t=="function"&&(t.error=t.fatal=t.warn=t.info=t.debug=t.trace=t),n.enabled===!1&&(n.level="silent");let f=n.level||"info",o=Object.create(t);o.log||(o.log=XC),Object.defineProperty(o,"levelVal",{get:d}),Object.defineProperty(o,"level",{get:l,set:y});let c={transmit:e,serialize:r,asObject:n.browser.asObject,levels:s,timestamp:yJt(n)};o.levels=I5.levels,o.level=f,o.setMaxListeners=o.getMaxListeners=o.emit=o.addListener=o.on=o.prependListener=o.once=o.prependOnceListener=o.removeListener=o.removeAllListeners=o.listeners=o.listenerCount=o.eventNames=o.write=o.flush=XC,o.serializers=a,o._serialize=r,o._stdErrSerialize=i,o.child=h,e&&(o._logEvent=Zae());function d(){return this.level==="silent"?1/0:this.levels.values[this.level]}function l(){return this._level}function y(T){if(T!=="silent"&&!this.levels.values[T])throw Error("unknown level "+T);this._level=T,YT(c,o,"error","log"),YT(c,o,"fatal","error"),YT(c,o,"warn","error"),YT(c,o,"info","log"),YT(c,o,"debug","log"),YT(c,o,"trace","log")}function h(T,A){if(!T)throw new Error("missing bindings for child Pino");A=A||{},r&&T.serializers&&(A.serializers=T.serializers);let O=A.serializers;if(r&&O){var N=Object.assign({},a,O),U=n.browser.serialize===!0?Object.keys(N):r;delete T.serializers,KV([T],U,N,this._stdErrSerialize)}function q(W){this._childLevel=(W._childLevel|0)+1,this.error=JT(W,T,"error"),this.fatal=JT(W,T,"fatal"),this.warn=JT(W,T,"warn"),this.info=JT(W,T,"info"),this.debug=JT(W,T,"debug"),this.trace=JT(W,T,"trace"),N&&(this.serializers=N,this._serialize=U),e&&(this._logEvent=Zae([].concat(W._logEvent.bindings,T)))}return q.prototype=this,new q(this)}return o}I5.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};I5.stdSerializers=oJt;I5.stdTimeFunctions=Object.assign({},{nullTime:pMe,epochTime:uMe,unixTime:mJt,isoTime:bJt});function YT(n,e,t,a){let r=Object.getPrototypeOf(e);e[t]=e.levelVal>e.levels.values[t]?XC:r[t]?r[t]:JC[t]||JC[a]||XC,dJt(n,e,t)}function dJt(n,e,t){!n.transmit&&e[t]===XC||(e[t]=function(a){return function(){let i=n.timestamp(),s=new Array(arguments.length),f=Object.getPrototypeOf&&Object.getPrototypeOf(this)===JC?JC:this;for(var o=0;o-1&&i in t&&(n[r][i]=t[i](n[r][i]))}function JT(n,e,t){return function(){let a=new Array(1+arguments.length);a[0]=e;for(var r=1;r"u"?t=IJt(n,e):t=n.bindings().context||"",t}function DJt(n,e,t=ZC){let a=No(n,t);return a.trim()?`${a}/${e}`:e}function Fo(n,e,t=ZC){let a=DJt(n,e,t),r=n.child({context:a});return EJt(r,a,t)}function CJt(n){var e,t;let a=new nre((e=n.opts)==null?void 0:e.level,n.maxSizeInBytes);return{logger:(0,Q2.default)(XV(JV({},n.opts),{level:"trace",browser:XV(JV({},(t=n.opts)==null?void 0:t.browser),{write:r=>a.write(r)})})),chunkLoggerController:a}}function SJt(n){var e;let t=new are((e=n.opts)==null?void 0:e.level,n.maxSizeInBytes);return{logger:(0,Q2.default)(XV(JV({},n.opts),{level:"trace"}),t),chunkLoggerController:t}}function hMe(n){return typeof n.loggerOverride<"u"&&typeof n.loggerOverride!="string"?{logger:n.loggerOverride,chunkLoggerController:null}:typeof window<"u"?CJt(n):SJt(n)}var Q2,Vh,gJt,ZC,rre,tre,QV,YV,nre,are,vJt,TJt,_Jt,mMe,wJt,xJt,bMe,JV,XV,ZV=ce(()=>{p();u();Q2=Te(ere()),Vh=Te(ere());Fh();gJt={level:"info"},ZC="custom_context",rre=1e3*1024,tre=class{constructor(e){this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}},QV=class{constructor(e){this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let t=new tre(e);if(t.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${t.size}`);for(;this.size+t.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=t),this.tail=t):(this.head=t,this.tail=t),this.lengthInNodes++,this.sizeInBytes+=t.size}shift(){if(!this.head)return;let e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){let e=[],t=this.head;for(;t!==null;)e.push(t.value),t=t.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};let t=e.value;return e=e.next,{done:!1,value:t}}}}},YV=class{constructor(e,t=rre){this.level=e??"error",this.levelValue=Q2.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=t,this.logs=new QV(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,t){t===Q2.levels.values.error?console.error(e):t===Q2.levels.values.warn?console.warn(e):t===Q2.levels.values.debug?console.debug(e):t===Q2.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(x1({timestamp:new Date().toISOString(),log:e}));let t=typeof e=="string"?JSON.parse(e).level:e.level;t>=this.levelValue&&this.forwardToConsole(e,t)}getLogs(){return this.logs}clearLogs(){this.logs=new QV(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let t=this.getLogArray();return t.push(x1({extraMetadata:e})),new Blob(t,{type:"application/json"})}},nre=class{constructor(e,t=rre){this.baseChunkLogger=new YV(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){let t=URL.createObjectURL(this.logsToBlob(e)),a=document.createElement("a");a.href=t,a.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(t)}},are=class{constructor(e,t=rre){this.baseChunkLogger=new YV(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}},vJt=Object.defineProperty,TJt=Object.defineProperties,_Jt=Object.getOwnPropertyDescriptors,mMe=Object.getOwnPropertySymbols,wJt=Object.prototype.hasOwnProperty,xJt=Object.prototype.propertyIsEnumerable,bMe=(n,e,t)=>e in n?vJt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,JV=(n,e)=>{for(var t in e||(e={}))wJt.call(e,t)&&bMe(n,t,e[t]);if(mMe)for(var t of mMe(e))xJt.call(e,t)&&bMe(n,t,e[t]);return n},XV=(n,e)=>TJt(n,_Jt(e))});var vMe=B(e$=>{"use strict";p();u();Object.defineProperty(e$,"__esModule",{value:!0});e$.BrowserRandomSource=void 0;var gMe=65536,ire=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let e=typeof self<"u"?self.crypto||self.msCrypto:null;e&&e.getRandomValues!==void 0&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let t=new Uint8Array(e);for(let a=0;a{"use strict";p();u();Object.defineProperty(sre,"__esModule",{value:!0});function AJt(n){for(var e=0;e{"use strict";p();u();Object.defineProperty(t$,"__esModule",{value:!0});t$.NodeRandomSource=void 0;var kJt=w6(),fre=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof Tl<"u"){let e=yO();e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let t=this._crypto.randomBytes(e);if(t.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");let a=new Uint8Array(e);for(let r=0;r{"use strict";p();u();Object.defineProperty(n$,"__esModule",{value:!0});n$.SystemRandomSource=void 0;var PJt=vMe(),RJt=TMe(),ore=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new PJt.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new RJt.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}};n$.SystemRandomSource=ore});var wMe=B(sd=>{"use strict";p();u();Object.defineProperty(sd,"__esModule",{value:!0});function LJt(n,e){var t=n>>>16&65535,a=n&65535,r=e>>>16&65535,i=e&65535;return a*i+(t*i+a*r<<16>>>0)|0}sd.mul=Math.imul||LJt;function MJt(n,e){return n+e|0}sd.add=MJt;function BJt(n,e){return n-e|0}sd.sub=BJt;function NJt(n,e){return n<>>32-e}sd.rotl=NJt;function FJt(n,e){return n<<32-e|n>>>e}sd.rotr=FJt;function OJt(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n}sd.isInteger=Number.isInteger||OJt;sd.MAX_SAFE_INTEGER=9007199254740991;sd.isSafeInteger=function(n){return sd.isInteger(n)&&n>=-sd.MAX_SAFE_INTEGER&&n<=sd.MAX_SAFE_INTEGER}});var XT=B(Mn=>{"use strict";p();u();Object.defineProperty(Mn,"__esModule",{value:!0});var xMe=wMe();function VJt(n,e){return e===void 0&&(e=0),(n[e+0]<<8|n[e+1])<<16>>16}Mn.readInt16BE=VJt;function $Jt(n,e){return e===void 0&&(e=0),(n[e+0]<<8|n[e+1])>>>0}Mn.readUint16BE=$Jt;function UJt(n,e){return e===void 0&&(e=0),(n[e+1]<<8|n[e])<<16>>16}Mn.readInt16LE=UJt;function qJt(n,e){return e===void 0&&(e=0),(n[e+1]<<8|n[e])>>>0}Mn.readUint16LE=qJt;function IMe(n,e,t){return e===void 0&&(e=new Uint8Array(2)),t===void 0&&(t=0),e[t+0]=n>>>8,e[t+1]=n>>>0,e}Mn.writeUint16BE=IMe;Mn.writeInt16BE=IMe;function EMe(n,e,t){return e===void 0&&(e=new Uint8Array(2)),t===void 0&&(t=0),e[t+0]=n>>>0,e[t+1]=n>>>8,e}Mn.writeUint16LE=EMe;Mn.writeInt16LE=EMe;function cre(n,e){return e===void 0&&(e=0),n[e]<<24|n[e+1]<<16|n[e+2]<<8|n[e+3]}Mn.readInt32BE=cre;function dre(n,e){return e===void 0&&(e=0),(n[e]<<24|n[e+1]<<16|n[e+2]<<8|n[e+3])>>>0}Mn.readUint32BE=dre;function lre(n,e){return e===void 0&&(e=0),n[e+3]<<24|n[e+2]<<16|n[e+1]<<8|n[e]}Mn.readInt32LE=lre;function pre(n,e){return e===void 0&&(e=0),(n[e+3]<<24|n[e+2]<<16|n[e+1]<<8|n[e])>>>0}Mn.readUint32LE=pre;function a$(n,e,t){return e===void 0&&(e=new Uint8Array(4)),t===void 0&&(t=0),e[t+0]=n>>>24,e[t+1]=n>>>16,e[t+2]=n>>>8,e[t+3]=n>>>0,e}Mn.writeUint32BE=a$;Mn.writeInt32BE=a$;function r$(n,e,t){return e===void 0&&(e=new Uint8Array(4)),t===void 0&&(t=0),e[t+0]=n>>>0,e[t+1]=n>>>8,e[t+2]=n>>>16,e[t+3]=n>>>24,e}Mn.writeUint32LE=r$;Mn.writeInt32LE=r$;function HJt(n,e){e===void 0&&(e=0);var t=cre(n,e),a=cre(n,e+4);return t*4294967296+a-(a>>31)*4294967296}Mn.readInt64BE=HJt;function zJt(n,e){e===void 0&&(e=0);var t=dre(n,e),a=dre(n,e+4);return t*4294967296+a}Mn.readUint64BE=zJt;function WJt(n,e){e===void 0&&(e=0);var t=lre(n,e),a=lre(n,e+4);return a*4294967296+t-(t>>31)*4294967296}Mn.readInt64LE=WJt;function jJt(n,e){e===void 0&&(e=0);var t=pre(n,e),a=pre(n,e+4);return a*4294967296+t}Mn.readUint64LE=jJt;function DMe(n,e,t){return e===void 0&&(e=new Uint8Array(8)),t===void 0&&(t=0),a$(n/4294967296>>>0,e,t),a$(n>>>0,e,t+4),e}Mn.writeUint64BE=DMe;Mn.writeInt64BE=DMe;function CMe(n,e,t){return e===void 0&&(e=new Uint8Array(8)),t===void 0&&(t=0),r$(n>>>0,e,t),r$(n/4294967296>>>0,e,t+4),e}Mn.writeUint64LE=CMe;Mn.writeInt64LE=CMe;function GJt(n,e,t){if(t===void 0&&(t=0),n%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(n/8>e.length-t)throw new Error("readUintBE: array is too short for the given bitLength");for(var a=0,r=1,i=n/8+t-1;i>=t;i--)a+=e[i]*r,r*=256;return a}Mn.readUintBE=GJt;function KJt(n,e,t){if(t===void 0&&(t=0),n%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(n/8>e.length-t)throw new Error("readUintLE: array is too short for the given bitLength");for(var a=0,r=1,i=t;i=a;i--)t[i]=e/r&255,r*=256;return t}Mn.writeUintBE=QJt;function YJt(n,e,t,a){if(t===void 0&&(t=new Uint8Array(n/8)),a===void 0&&(a=0),n%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!xMe.isSafeInteger(e))throw new Error("writeUintLE value must be an integer");for(var r=1,i=a;i{"use strict";p();u();Object.defineProperty(Oo,"__esModule",{value:!0});Oo.randomStringForEntropy=Oo.randomString=Oo.randomUint32=Oo.randomBytes=Oo.defaultRandomSource=void 0;var iXt=_Me(),sXt=XT(),SMe=w6();Oo.defaultRandomSource=new iXt.SystemRandomSource;function ure(n,e=Oo.defaultRandomSource){return e.randomBytes(n)}Oo.randomBytes=ure;function fXt(n=Oo.defaultRandomSource){let e=ure(4,n),t=(0,sXt.readUint32LE)(e);return(0,SMe.wipe)(e),t}Oo.randomUint32=fXt;var AMe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function kMe(n,e=AMe,t=Oo.defaultRandomSource){if(e.length<2)throw new Error("randomString charset is too short");if(e.length>256)throw new Error("randomString charset is too long");let a="",r=e.length,i=256-256%r;for(;n>0;){let s=ure(Math.ceil(n*256/i),t);for(let f=0;f0;f++){let o=s[f];o{"use strict";p();u();Object.defineProperty(Y2,"__esModule",{value:!0});var e_=XT(),ZT=w6();Y2.DIGEST_LENGTH=64;Y2.BLOCK_SIZE=128;var RMe=function(){function n(){this.digestLength=Y2.DIGEST_LENGTH,this.blockSize=Y2.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return n.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},n.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},n.prototype.clean=function(){ZT.wipe(this._buffer),ZT.wipe(this._tempHi),ZT.wipe(this._tempLo),this.reset()},n.prototype.update=function(e,t){if(t===void 0&&(t=e.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var a=0;if(this._bytesHashed+=t,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],t--;this._bufferLength===this.blockSize&&(yre(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(t>=this.blockSize&&(a=yre(this._tempHi,this._tempLo,this._stateHi,this._stateLo,e,a,t),t%=this.blockSize);t>0;)this._buffer[this._bufferLength++]=e[a++],t--;return this},n.prototype.finish=function(e){if(!this._finished){var t=this._bytesHashed,a=this._bufferLength,r=t/536870912|0,i=t<<3,s=t%128<112?128:256;this._buffer[a]=128;for(var f=a+1;f0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},n.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},n.prototype.cleanSavedState=function(e){ZT.wipe(e.stateHi),ZT.wipe(e.stateLo),e.buffer&&ZT.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},n}();Y2.SHA512=RMe;var PMe=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function yre(n,e,t,a,r,i,s){for(var f=t[0],o=t[1],c=t[2],d=t[3],l=t[4],y=t[5],h=t[6],T=t[7],A=a[0],O=a[1],N=a[2],U=a[3],q=a[4],W=a[5],G=a[6],X=a[7],J,j,z,P,_,F,v,b;s>=128;){for(var x=0;x<16;x++){var L=8*x+i;n[x]=e_.readUint32BE(r,L),e[x]=e_.readUint32BE(r,L+4)}for(var x=0;x<80;x++){var M=f,w=o,g=c,R=d,k=l,C=y,H=h,te=T,V=A,Y=O,ee=N,ae=U,pe=q,Q=W,ie=G,se=X;if(J=T,j=X,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=(l>>>14|q<<18)^(l>>>18|q<<14)^(q>>>9|l<<23),j=(q>>>14|l<<18)^(q>>>18|l<<14)^(l>>>9|q<<23),_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,J=l&y^~l&h,j=q&W^~q&G,_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,J=PMe[x*2],j=PMe[x*2+1],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,J=n[x%16],j=e[x%16],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,z=v&65535|b<<16,P=_&65535|F<<16,J=z,j=P,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=(f>>>28|A<<4)^(A>>>2|f<<30)^(A>>>7|f<<25),j=(A>>>28|f<<4)^(f>>>2|A<<30)^(f>>>7|A<<25),_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,J=f&o^f&c^o&c,j=A&O^A&N^O&N,_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,te=v&65535|b<<16,se=_&65535|F<<16,J=R,j=ae,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=z,j=P,_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,R=v&65535|b<<16,ae=_&65535|F<<16,o=M,c=w,d=g,l=R,y=k,h=C,T=H,f=te,O=V,N=Y,U=ee,q=ae,W=pe,G=Q,X=ie,A=se,x%16===15)for(var L=0;L<16;L++)J=n[L],j=e[L],_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=n[(L+9)%16],j=e[(L+9)%16],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,z=n[(L+1)%16],P=e[(L+1)%16],J=(z>>>1|P<<31)^(z>>>8|P<<24)^z>>>7,j=(P>>>1|z<<31)^(P>>>8|z<<24)^(P>>>7|z<<25),_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,z=n[(L+14)%16],P=e[(L+14)%16],J=(z>>>19|P<<13)^(P>>>29|z<<3)^z>>>6,j=(P>>>19|z<<13)^(z>>>29|P<<3)^(P>>>6|z<<26),_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,n[L]=v&65535|b<<16,e[L]=_&65535|F<<16}J=f,j=A,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[0],j=a[0],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[0]=f=v&65535|b<<16,a[0]=A=_&65535|F<<16,J=o,j=O,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[1],j=a[1],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[1]=o=v&65535|b<<16,a[1]=O=_&65535|F<<16,J=c,j=N,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[2],j=a[2],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[2]=c=v&65535|b<<16,a[2]=N=_&65535|F<<16,J=d,j=U,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[3],j=a[3],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[3]=d=v&65535|b<<16,a[3]=U=_&65535|F<<16,J=l,j=q,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[4],j=a[4],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[4]=l=v&65535|b<<16,a[4]=q=_&65535|F<<16,J=y,j=W,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[5],j=a[5],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[5]=y=v&65535|b<<16,a[5]=W=_&65535|F<<16,J=h,j=G,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[6],j=a[6],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[6]=h=v&65535|b<<16,a[6]=G=_&65535|F<<16,J=T,j=X,_=j&65535,F=j>>>16,v=J&65535,b=J>>>16,J=t[7],j=a[7],_+=j&65535,F+=j>>>16,v+=J&65535,b+=J>>>16,F+=_>>>16,v+=F>>>16,b+=v>>>16,t[7]=T=v&65535|b<<16,a[7]=X=_&65535|F<<16,i+=128,s-=128}return i}function cXt(n){var e=new RMe;e.update(n);var t=e.digest();return e.clean(),t}Y2.hash=cXt});var GMe=B(Oa=>{"use strict";p();u();Object.defineProperty(Oa,"__esModule",{value:!0});Oa.convertSecretKeyToX25519=Oa.convertPublicKeyToX25519=Oa.verify=Oa.sign=Oa.extractPublicKeyFromSecretKey=Oa.generateKeyPair=Oa.generateKeyPairFromSeed=Oa.SEED_LENGTH=Oa.SECRET_KEY_LENGTH=Oa.PUBLIC_KEY_LENGTH=Oa.SIGNATURE_LENGTH=void 0;var dXt=eS(),tS=LMe(),OMe=w6();Oa.SIGNATURE_LENGTH=64;Oa.PUBLIC_KEY_LENGTH=32;Oa.SECRET_KEY_LENGTH=64;Oa.SEED_LENGTH=32;function b0(n){let e=new Float64Array(16);if(n)for(let t=0;t>16&1),t[s-1]&=65535;t[15]=a[15]-32767-(t[14]>>16&1);let i=t[15]>>16&1;t[14]&=65535,VMe(a,t,1-i)}for(let r=0;r<16;r++)n[2*r]=a[r]&255,n[2*r+1]=a[r]>>8}function $Me(n,e){let t=0;for(let a=0;a<32;a++)t|=n[a]^e[a];return(1&t-1>>>8)-1}function NMe(n,e){let t=new Uint8Array(32),a=new Uint8Array(32);return nS(t,n),nS(a,e),$Me(t,a)}function UMe(n){let e=new Uint8Array(32);return nS(e,n),e[0]&1}function mXt(n,e){for(let t=0;t<16;t++)n[t]=e[2*t]+(e[2*t+1]<<8);n[15]&=32767}function Uh(n,e,t){for(let a=0;a<16;a++)n[a]=e[a]+t[a]}function Hh(n,e,t){for(let a=0;a<16;a++)n[a]=e[a]-t[a]}function or(n,e,t){let a,r,i=0,s=0,f=0,o=0,c=0,d=0,l=0,y=0,h=0,T=0,A=0,O=0,N=0,U=0,q=0,W=0,G=0,X=0,J=0,j=0,z=0,P=0,_=0,F=0,v=0,b=0,x=0,L=0,M=0,w=0,g=0,R=t[0],k=t[1],C=t[2],H=t[3],te=t[4],V=t[5],Y=t[6],ee=t[7],ae=t[8],pe=t[9],Q=t[10],ie=t[11],se=t[12],be=t[13],de=t[14],we=t[15];a=e[0],i+=a*R,s+=a*k,f+=a*C,o+=a*H,c+=a*te,d+=a*V,l+=a*Y,y+=a*ee,h+=a*ae,T+=a*pe,A+=a*Q,O+=a*ie,N+=a*se,U+=a*be,q+=a*de,W+=a*we,a=e[1],s+=a*R,f+=a*k,o+=a*C,c+=a*H,d+=a*te,l+=a*V,y+=a*Y,h+=a*ee,T+=a*ae,A+=a*pe,O+=a*Q,N+=a*ie,U+=a*se,q+=a*be,W+=a*de,G+=a*we,a=e[2],f+=a*R,o+=a*k,c+=a*C,d+=a*H,l+=a*te,y+=a*V,h+=a*Y,T+=a*ee,A+=a*ae,O+=a*pe,N+=a*Q,U+=a*ie,q+=a*se,W+=a*be,G+=a*de,X+=a*we,a=e[3],o+=a*R,c+=a*k,d+=a*C,l+=a*H,y+=a*te,h+=a*V,T+=a*Y,A+=a*ee,O+=a*ae,N+=a*pe,U+=a*Q,q+=a*ie,W+=a*se,G+=a*be,X+=a*de,J+=a*we,a=e[4],c+=a*R,d+=a*k,l+=a*C,y+=a*H,h+=a*te,T+=a*V,A+=a*Y,O+=a*ee,N+=a*ae,U+=a*pe,q+=a*Q,W+=a*ie,G+=a*se,X+=a*be,J+=a*de,j+=a*we,a=e[5],d+=a*R,l+=a*k,y+=a*C,h+=a*H,T+=a*te,A+=a*V,O+=a*Y,N+=a*ee,U+=a*ae,q+=a*pe,W+=a*Q,G+=a*ie,X+=a*se,J+=a*be,j+=a*de,z+=a*we,a=e[6],l+=a*R,y+=a*k,h+=a*C,T+=a*H,A+=a*te,O+=a*V,N+=a*Y,U+=a*ee,q+=a*ae,W+=a*pe,G+=a*Q,X+=a*ie,J+=a*se,j+=a*be,z+=a*de,P+=a*we,a=e[7],y+=a*R,h+=a*k,T+=a*C,A+=a*H,O+=a*te,N+=a*V,U+=a*Y,q+=a*ee,W+=a*ae,G+=a*pe,X+=a*Q,J+=a*ie,j+=a*se,z+=a*be,P+=a*de,_+=a*we,a=e[8],h+=a*R,T+=a*k,A+=a*C,O+=a*H,N+=a*te,U+=a*V,q+=a*Y,W+=a*ee,G+=a*ae,X+=a*pe,J+=a*Q,j+=a*ie,z+=a*se,P+=a*be,_+=a*de,F+=a*we,a=e[9],T+=a*R,A+=a*k,O+=a*C,N+=a*H,U+=a*te,q+=a*V,W+=a*Y,G+=a*ee,X+=a*ae,J+=a*pe,j+=a*Q,z+=a*ie,P+=a*se,_+=a*be,F+=a*de,v+=a*we,a=e[10],A+=a*R,O+=a*k,N+=a*C,U+=a*H,q+=a*te,W+=a*V,G+=a*Y,X+=a*ee,J+=a*ae,j+=a*pe,z+=a*Q,P+=a*ie,_+=a*se,F+=a*be,v+=a*de,b+=a*we,a=e[11],O+=a*R,N+=a*k,U+=a*C,q+=a*H,W+=a*te,G+=a*V,X+=a*Y,J+=a*ee,j+=a*ae,z+=a*pe,P+=a*Q,_+=a*ie,F+=a*se,v+=a*be,b+=a*de,x+=a*we,a=e[12],N+=a*R,U+=a*k,q+=a*C,W+=a*H,G+=a*te,X+=a*V,J+=a*Y,j+=a*ee,z+=a*ae,P+=a*pe,_+=a*Q,F+=a*ie,v+=a*se,b+=a*be,x+=a*de,L+=a*we,a=e[13],U+=a*R,q+=a*k,W+=a*C,G+=a*H,X+=a*te,J+=a*V,j+=a*Y,z+=a*ee,P+=a*ae,_+=a*pe,F+=a*Q,v+=a*ie,b+=a*se,x+=a*be,L+=a*de,M+=a*we,a=e[14],q+=a*R,W+=a*k,G+=a*C,X+=a*H,J+=a*te,j+=a*V,z+=a*Y,P+=a*ee,_+=a*ae,F+=a*pe,v+=a*Q,b+=a*ie,x+=a*se,L+=a*be,M+=a*de,w+=a*we,a=e[15],W+=a*R,G+=a*k,X+=a*C,J+=a*H,j+=a*te,z+=a*V,P+=a*Y,_+=a*ee,F+=a*ae,v+=a*pe,b+=a*Q,x+=a*ie,L+=a*se,M+=a*be,w+=a*de,g+=a*we,i+=38*G,s+=38*X,f+=38*J,o+=38*j,c+=38*z,d+=38*P,l+=38*_,y+=38*F,h+=38*v,T+=38*b,A+=38*x,O+=38*L,N+=38*M,U+=38*w,q+=38*g,r=1,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=T+r+65535,r=Math.floor(a/65536),T=a-r*65536,a=A+r+65535,r=Math.floor(a/65536),A=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=N+r+65535,r=Math.floor(a/65536),N=a-r*65536,a=U+r+65535,r=Math.floor(a/65536),U=a-r*65536,a=q+r+65535,r=Math.floor(a/65536),q=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,i+=r-1+37*(r-1),r=1,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=T+r+65535,r=Math.floor(a/65536),T=a-r*65536,a=A+r+65535,r=Math.floor(a/65536),A=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=N+r+65535,r=Math.floor(a/65536),N=a-r*65536,a=U+r+65535,r=Math.floor(a/65536),U=a-r*65536,a=q+r+65535,r=Math.floor(a/65536),q=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,i+=r-1+37*(r-1),n[0]=i,n[1]=s,n[2]=f,n[3]=o,n[4]=c,n[5]=d,n[6]=l,n[7]=y,n[8]=h,n[9]=T,n[10]=A,n[11]=O,n[12]=N,n[13]=U,n[14]=q,n[15]=W}function qh(n,e){or(n,e,e)}function qMe(n,e){let t=b0(),a;for(a=0;a<16;a++)t[a]=e[a];for(a=253;a>=0;a--)qh(t,t),a!==2&&a!==4&&or(t,t,e);for(a=0;a<16;a++)n[a]=t[a]}function bXt(n,e){let t=b0(),a;for(a=0;a<16;a++)t[a]=e[a];for(a=250;a>=0;a--)qh(t,t),a!==1&&or(t,t,e);for(a=0;a<16;a++)n[a]=t[a]}function gre(n,e){let t=b0(),a=b0(),r=b0(),i=b0(),s=b0(),f=b0(),o=b0(),c=b0(),d=b0();Hh(t,n[1],n[0]),Hh(d,e[1],e[0]),or(t,t,d),Uh(a,n[0],n[1]),Uh(d,e[0],e[1]),or(a,a,d),or(r,n[3],e[3]),or(r,r,uXt),or(i,n[2],e[2]),Uh(i,i,i),Hh(s,a,t),Hh(f,i,r),Uh(o,i,r),Uh(c,a,t),or(n[0],s,f),or(n[1],c,o),or(n[2],o,f),or(n[3],s,c)}function FMe(n,e,t){for(let a=0;a<4;a++)VMe(n[a],e[a],t)}function Tre(n,e){let t=b0(),a=b0(),r=b0();qMe(r,e[2]),or(t,e[0],r),or(a,e[1],r),nS(n,a),n[31]^=UMe(t)<<7}function HMe(n,e,t){Am(n[0],hre),Am(n[1],t_),Am(n[2],t_),Am(n[3],hre);for(let a=255;a>=0;--a){let r=t[a/8|0]>>(a&7)&1;FMe(n,e,r),gre(e,n),gre(n,n),FMe(n,e,r)}}function _re(n,e){let t=[b0(),b0(),b0(),b0()];Am(t[0],MMe),Am(t[1],BMe),Am(t[2],t_),or(t[3],MMe,BMe),HMe(n,t,e)}function zMe(n){if(n.length!==Oa.SEED_LENGTH)throw new Error(`ed25519: seed must be ${Oa.SEED_LENGTH} bytes`);let e=(0,tS.hash)(n);e[0]&=248,e[31]&=127,e[31]|=64;let t=new Uint8Array(32),a=[b0(),b0(),b0(),b0()];_re(a,e),Tre(t,a);let r=new Uint8Array(64);return r.set(n),r.set(t,32),{publicKey:t,secretKey:r}}Oa.generateKeyPairFromSeed=zMe;function hXt(n){let e=(0,dXt.randomBytes)(32,n),t=zMe(e);return(0,OMe.wipe)(e),t}Oa.generateKeyPair=hXt;function gXt(n){if(n.length!==Oa.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${Oa.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(n.subarray(32))}Oa.extractPublicKeyFromSecretKey=gXt;var bre=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function WMe(n,e){let t,a,r,i;for(a=63;a>=32;--a){for(t=0,r=a-32,i=a-12;r>4)*bre[r],t=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=t*bre[r];for(a=0;a<32;a++)e[a+1]+=e[a]>>8,n[a]=e[a]&255}function vre(n){let e=new Float64Array(64);for(let t=0;t<64;t++)e[t]=n[t];for(let t=0;t<64;t++)n[t]=0;WMe(n,e)}function vXt(n,e){let t=new Float64Array(64),a=[b0(),b0(),b0(),b0()],r=(0,tS.hash)(n.subarray(0,32));r[0]&=248,r[31]&=127,r[31]|=64;let i=new Uint8Array(64);i.set(r.subarray(32),32);let s=new tS.SHA512;s.update(i.subarray(32)),s.update(e);let f=s.digest();s.clean(),vre(f),_re(a,f),Tre(i,a),s.reset(),s.update(i.subarray(0,32)),s.update(n.subarray(32)),s.update(e);let o=s.digest();vre(o);for(let c=0;c<32;c++)t[c]=f[c];for(let c=0;c<32;c++)for(let d=0;d<32;d++)t[c+d]+=o[c]*r[d];return WMe(i.subarray(32),t),i}Oa.sign=vXt;function jMe(n,e){let t=b0(),a=b0(),r=b0(),i=b0(),s=b0(),f=b0(),o=b0();return Am(n[2],t_),mXt(n[1],e),qh(r,n[1]),or(i,r,pXt),Hh(r,r,n[2]),Uh(i,n[2],i),qh(s,i),qh(f,s),or(o,f,s),or(t,o,r),or(t,t,i),bXt(t,t),or(t,t,r),or(t,t,i),or(t,t,i),or(n[0],t,i),qh(a,n[0]),or(a,a,i),NMe(a,r)&&or(n[0],n[0],yXt),qh(a,n[0]),or(a,a,i),NMe(a,r)?-1:(UMe(n[0])===e[31]>>7&&Hh(n[0],hre,n[0]),or(n[3],n[0],n[1]),0)}function TXt(n,e,t){let a=new Uint8Array(32),r=[b0(),b0(),b0(),b0()],i=[b0(),b0(),b0(),b0()];if(t.length!==Oa.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${Oa.SIGNATURE_LENGTH} bytes`);if(jMe(i,n))return!1;let s=new tS.SHA512;s.update(t.subarray(0,32)),s.update(n),s.update(e);let f=s.digest();return vre(f),HMe(r,i,f),_re(i,t.subarray(32)),gre(r,i),Tre(a,r),!$Me(t,a)}Oa.verify=TXt;function _Xt(n){let e=[b0(),b0(),b0(),b0()];if(jMe(e,n))throw new Error("Ed25519: invalid public key");let t=b0(),a=b0(),r=e[1];Uh(t,t_,r),Hh(a,t_,r),qMe(a,a),or(t,t,a);let i=new Uint8Array(32);return nS(i,t),i}Oa.convertPublicKeyToX25519=_Xt;function wXt(n){let e=(0,tS.hash)(n.subarray(0,32));e[0]&=248,e[31]&=127,e[31]|=64;let t=new Uint8Array(e.subarray(0,32));return(0,OMe.wipe)(e),t}Oa.convertSecretKeyToX25519=wXt});var KMe,QMe,wre,xre,YMe,JMe,XMe,ZMe,eBe,Ire,tBe,nBe,i$=ce(()=>{p();u();KMe="EdDSA",QMe="JWT",wre=".",xre="base64url",YMe="utf8",JMe="utf8",XMe=":",ZMe="did",eBe="key",Ire="base58btc",tBe="z",nBe="K36"});function zh(n){return globalThis.Buffer!=null?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):n}var aS=ce(()=>{p();u()});function rS(n=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?zh(globalThis.Buffer.allocUnsafe(n)):new Uint8Array(n)}var s$=ce(()=>{p();u();aS()});var f$={};jt(f$,{concat:()=>Wh});function Wh(n,e){e||(e=n.reduce((r,i)=>r+i.length,0));let t=rS(e),a=0;for(let r of n)t.set(r,a),a+=r.length;return zh(t)}var n_=ce(()=>{p();u();s$();aS()});function xXt(n,e){if(n.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),a=0;a>>0,W=new Uint8Array(q);N!==U;){for(var G=T[N],X=0,J=q-1;(G!==0||X>>0,W[J]=G%f>>>0,G=G/f>>>0;if(G!==0)throw new Error("Non-zero carry");O=X,N++}for(var j=q-O;j!==q&&W[j]===0;)j++;for(var z=o.repeat(A);j>>0,q=new Uint8Array(U);T[A];){var W=t[T.charCodeAt(A)];if(W===255)return;for(var G=0,X=U-1;(W!==0||G>>0,q[X]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");N=G,A++}if(T[A]!==" "){for(var J=U-N;J!==U&&q[J]===0;)J++;for(var j=new Uint8Array(O+(U-J)),z=O;J!==U;)j[z++]=q[J++];return j}}}function h(T){var A=y(T);if(A)return A;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:y,decode:h}}var IXt,EXt,aBe,rBe=ce(()=>{p();u();IXt=xXt,EXt=IXt,aBe=EXt});var o$={};jt(o$,{coerce:()=>x6,empty:()=>iBe,equals:()=>Ere,fromHex:()=>CXt,fromString:()=>Dre,isBinary:()=>SXt,toHex:()=>DXt,toString:()=>Cre});var iBe,DXt,CXt,Ere,x6,SXt,Dre,Cre,km=ce(()=>{p();u();iBe=new Uint8Array(0),DXt=n=>n.reduce((e,t)=>e+t.toString(16).padStart(2,"0"),""),CXt=n=>{let e=n.match(/../g);return e?new Uint8Array(e.map(t=>parseInt(t,16))):iBe},Ere=(n,e)=>{if(n===e)return!0;if(n.byteLength!==e.byteLength)return!1;for(let t=0;t{if(n instanceof Uint8Array&&n.constructor.name==="Uint8Array")return n;if(n instanceof ArrayBuffer)return new Uint8Array(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength);throw new Error("Unknown type, must be binary type")},SXt=n=>n instanceof ArrayBuffer||ArrayBuffer.isView(n),Dre=n=>new TextEncoder().encode(n),Cre=n=>new TextDecoder().decode(n)});var Sre,Are,kre,sBe,Pre,a_,Pm,AXt,kXt,Ni,zl=ce(()=>{p();u();rBe();km();Sre=class{constructor(e,t,a){this.name=e,this.prefix=t,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},Are=class{constructor(e,t,a){if(this.name=e,this.prefix=t,t.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return sBe(this,e)}},kre=class{constructor(e){this.decoders=e}or(e){return sBe(this,e)}decode(e){let t=e[0],a=this.decoders[t];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},sBe=(n,e)=>new kre({...n.decoders||{[n.prefix]:n},...e.decoders||{[e.prefix]:e}}),Pre=class{constructor(e,t,a,r){this.name=e,this.prefix=t,this.baseEncode=a,this.baseDecode=r,this.encoder=new Sre(e,t,a),this.decoder=new Are(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},a_=({name:n,prefix:e,encode:t,decode:a})=>new Pre(n,e,t,a),Pm=({prefix:n,name:e,alphabet:t})=>{let{encode:a,decode:r}=aBe(t,e);return a_({prefix:n,name:e,encode:a,decode:i=>x6(r(i))})},AXt=(n,e,t,a)=>{let r={};for(let d=0;d=8&&(f-=8,s[c++]=255&o>>f)}if(f>=t||255&o<<8-f)throw new SyntaxError("Unexpected end of data");return s},kXt=(n,e,t)=>{let a=e[e.length-1]==="=",r=(1<t;)s-=t,i+=e[r&f>>s];if(s&&(i+=e[r&f<a_({prefix:e,name:n,encode(r){return kXt(r,a,t)},decode(r){return AXt(r,a,t,n)}})});var Rre={};jt(Rre,{identity:()=>PXt});var PXt,fBe=ce(()=>{p();u();zl();km();PXt=a_({prefix:"\0",name:"identity",encode:n=>Cre(n),decode:n=>Dre(n)})});var Lre={};jt(Lre,{base2:()=>RXt});var RXt,oBe=ce(()=>{p();u();zl();RXt=Ni({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})});var Mre={};jt(Mre,{base8:()=>LXt});var LXt,cBe=ce(()=>{p();u();zl();LXt=Ni({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})});var Bre={};jt(Bre,{base10:()=>MXt});var MXt,dBe=ce(()=>{p();u();zl();MXt=Pm({prefix:"9",name:"base10",alphabet:"0123456789"})});var Nre={};jt(Nre,{base16:()=>BXt,base16upper:()=>NXt});var BXt,NXt,lBe=ce(()=>{p();u();zl();BXt=Ni({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),NXt=Ni({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})});var Fre={};jt(Fre,{base32:()=>r_,base32hex:()=>$Xt,base32hexpad:()=>qXt,base32hexpadupper:()=>HXt,base32hexupper:()=>UXt,base32pad:()=>OXt,base32padupper:()=>VXt,base32upper:()=>FXt,base32z:()=>zXt});var r_,FXt,OXt,VXt,$Xt,UXt,qXt,HXt,zXt,Ore=ce(()=>{p();u();zl();r_=Ni({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),FXt=Ni({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),OXt=Ni({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),VXt=Ni({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),$Xt=Ni({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),UXt=Ni({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),qXt=Ni({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),HXt=Ni({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),zXt=Ni({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})});var Vre={};jt(Vre,{base36:()=>WXt,base36upper:()=>jXt});var WXt,jXt,pBe=ce(()=>{p();u();zl();WXt=Pm({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),jXt=Pm({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})});var $re={};jt($re,{base58btc:()=>E5,base58flickr:()=>GXt});var E5,GXt,Ure=ce(()=>{p();u();zl();E5=Pm({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),GXt=Pm({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})});var qre={};jt(qre,{base64:()=>KXt,base64pad:()=>QXt,base64url:()=>YXt,base64urlpad:()=>JXt});var KXt,QXt,YXt,JXt,uBe=ce(()=>{p();u();zl();KXt=Ni({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),QXt=Ni({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),YXt=Ni({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),JXt=Ni({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})});var Hre={};jt(Hre,{base256emoji:()=>nZt});function eZt(n){return n.reduce((e,t)=>(e+=XXt[t],e),"")}function tZt(n){let e=[];for(let t of n){let a=ZXt[t.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${t}`);e.push(a)}return new Uint8Array(e)}var yBe,XXt,ZXt,nZt,mBe=ce(()=>{p();u();zl();yBe=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),XXt=yBe.reduce((n,e,t)=>(n[t]=e,n),[]),ZXt=yBe.reduce((n,e,t)=>(n[e.codePointAt(0)]=t,n),[]);nZt=a_({prefix:"\u{1F680}",name:"base256emoji",encode:eZt,decode:tZt})});function gBe(n,e,t){e=e||[],t=t||0;for(var a=t;n>=sZt;)e[t++]=n&255|bBe,n/=128;for(;n&iZt;)e[t++]=n&255|bBe,n>>>=7;return e[t]=n|0,gBe.bytes=t-a+1,e}function zre(n,a){var t=0,a=a||0,r=0,i=a,s,f=n.length;do{if(i>=f)throw zre.bytes=0,new RangeError("Could not decode varint");s=n[i++],t+=r<28?(s&hBe)<=oZt);return zre.bytes=i-a,t}var aZt,bBe,rZt,iZt,sZt,fZt,oZt,hBe,cZt,dZt,lZt,pZt,uZt,yZt,mZt,bZt,hZt,gZt,vZt,TZt,iS,vBe=ce(()=>{p();u();aZt=gBe,bBe=128,rZt=127,iZt=~rZt,sZt=Math.pow(2,31);fZt=zre,oZt=128,hBe=127;cZt=Math.pow(2,7),dZt=Math.pow(2,14),lZt=Math.pow(2,21),pZt=Math.pow(2,28),uZt=Math.pow(2,35),yZt=Math.pow(2,42),mZt=Math.pow(2,49),bZt=Math.pow(2,56),hZt=Math.pow(2,63),gZt=function(n){return ni_,encodeTo:()=>jh,encodingLength:()=>Gh});var i_,jh,Gh,c$=ce(()=>{p();u();vBe();i_=(n,e=0)=>[iS.decode(n,e),iS.decode.bytes],jh=(n,e,t=0)=>(iS.encode(n,e,t),e),Gh=n=>iS.encodingLength(n)});var Qh={};jt(Qh,{Digest:()=>Kh,create:()=>Rm,decode:()=>Wre,equals:()=>jre});var Rm,Wre,jre,Kh,sS=ce(()=>{p();u();km();c$();Rm=(n,e)=>{let t=e.byteLength,a=Gh(n),r=a+Gh(t),i=new Uint8Array(r+t);return jh(n,i,0),jh(t,i,a),i.set(e,r),new Kh(n,t,e,i)},Wre=n=>{let e=x6(n),[t,a]=i_(e),[r,i]=i_(e.subarray(a)),s=e.subarray(a+i);if(s.byteLength!==r)throw new Error("Incorrect length");return new Kh(t,r,s,e)},jre=(n,e)=>n===e?!0:n.code===e.code&&n.size===e.size&&Ere(n.bytes,e.bytes),Kh=class{constructor(e,t,a,r){this.code=e,this.size=t,this.digest=a,this.bytes=r}}});var p$={};jt(p$,{Hasher:()=>d$,from:()=>l$});var l$,d$,Gre=ce(()=>{p();u();sS();l$=({name:n,code:e,encode:t})=>new d$(n,e,t),d$=class{constructor(e,t,a){this.name=e,this.code=t,this.encode=a}digest(e){if(e instanceof Uint8Array){let t=this.encode(e);return t instanceof Uint8Array?Rm(this.code,t):t.then(a=>Rm(this.code,a))}else throw Error("Unknown type, must be binary type")}}});var Kre={};jt(Kre,{sha256:()=>_Zt,sha512:()=>wZt});var TBe,_Zt,wZt,_Be=ce(()=>{p();u();Gre();TBe=n=>async e=>new Uint8Array(await crypto.subtle.digest(n,e)),_Zt=l$({name:"sha2-256",code:18,encode:TBe("SHA-256")}),wZt=l$({name:"sha2-512",code:19,encode:TBe("SHA-512")})});var Qre={};jt(Qre,{identity:()=>EZt});var wBe,xZt,xBe,IZt,EZt,IBe=ce(()=>{p();u();km();sS();wBe=0,xZt="identity",xBe=x6,IZt=n=>Rm(wBe,xBe(n)),EZt={code:wBe,name:xZt,encode:xBe,digest:IZt}});var Yre={};jt(Yre,{code:()=>CZt,decode:()=>AZt,encode:()=>SZt,name:()=>DZt});var DZt,CZt,SZt,AZt,EBe=ce(()=>{p();u();km();DZt="raw",CZt=85,SZt=n=>x6(n),AZt=n=>x6(n)});var Jre={};jt(Jre,{code:()=>LZt,decode:()=>BZt,encode:()=>MZt,name:()=>RZt});var kZt,PZt,RZt,LZt,MZt,BZt,DBe=ce(()=>{p();u();kZt=new TextEncoder,PZt=new TextDecoder,RZt="json",LZt=512,MZt=n=>kZt.encode(JSON.stringify(n)),BZt=n=>JSON.parse(PZt.decode(n))});var oS,NZt,FZt,OZt,fS,VZt,CBe,SBe,u$,y$,$Zt,UZt,qZt,ABe=ce(()=>{p();u();c$();sS();Ure();Ore();km();oS=class n{constructor(e,t,a,r){this.code=t,this.version=e,this.multihash=a,this.bytes=r,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:y$,byteLength:y$,code:u$,version:u$,multihash:u$,bytes:u$,_baseCache:y$,asCID:y$})}toV0(){switch(this.version){case 0:return this;default:{let{code:e,multihash:t}=this;if(e!==fS)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(t.code!==VZt)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return n.createV0(t)}}}toV1(){switch(this.version){case 0:{let{code:e,digest:t}=this.multihash,a=Rm(e,t);return n.createV1(this.code,a)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&jre(this.multihash,e.multihash)}toString(e){let{bytes:t,version:a,_baseCache:r}=this;switch(a){case 0:return FZt(t,r,e||E5.encoder);default:return OZt(t,r,e||r_.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return UZt(/^0\.0/,qZt),!!(e&&(e[SBe]||e.asCID===e))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(e){if(e instanceof n)return e;if(e!=null&&e.asCID===e){let{version:t,code:a,multihash:r,bytes:i}=e;return new n(t,a,r,i||CBe(t,a,r.bytes))}else if(e!=null&&e[SBe]===!0){let{version:t,multihash:a,code:r}=e,i=Wre(a);return n.create(t,r,i)}else return null}static create(e,t,a){if(typeof t!="number")throw new Error("String codecs are no longer supported");switch(e){case 0:{if(t!==fS)throw new Error(`Version 0 CID must use dag-pb (code: ${fS}) block encoding`);return new n(e,t,a,a.bytes)}case 1:{let r=CBe(e,t,a.bytes);return new n(e,t,a,r)}default:throw new Error("Invalid version")}}static createV0(e){return n.create(0,fS,e)}static createV1(e,t){return n.create(1,e,t)}static decode(e){let[t,a]=n.decodeFirst(e);if(a.length)throw new Error("Incorrect length");return t}static decodeFirst(e){let t=n.inspectBytes(e),a=t.size-t.multihashSize,r=x6(e.subarray(a,a+t.multihashSize));if(r.byteLength!==t.multihashSize)throw new Error("Incorrect length");let i=r.subarray(t.multihashSize-t.digestSize),s=new Kh(t.multihashCode,t.digestSize,i,r);return[t.version===0?n.createV0(s):n.createV1(t.codec,s),e.subarray(t.size)]}static inspectBytes(e){let t=0,a=()=>{let[l,y]=i_(e.subarray(t));return t+=y,l},r=a(),i=fS;if(r===18?(r=0,t=0):r===1&&(i=a()),r!==0&&r!==1)throw new RangeError(`Invalid CID version ${r}`);let s=t,f=a(),o=a(),c=t+o,d=c-s;return{version:r,codec:i,multihashCode:f,digestSize:o,multihashSize:d,size:c}}static parse(e,t){let[a,r]=NZt(e,t),i=n.decode(r);return i._baseCache.set(a,e),i}},NZt=(n,e)=>{switch(n[0]){case"Q":{let t=e||E5;return[E5.prefix,t.decode(`${E5.prefix}${n}`)]}case E5.prefix:{let t=e||E5;return[E5.prefix,t.decode(n)]}case r_.prefix:{let t=e||r_;return[r_.prefix,t.decode(n)]}default:{if(e==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[n[0],e.decode(n)]}}},FZt=(n,e,t)=>{let{prefix:a}=t;if(a!==E5.prefix)throw Error(`Cannot string encode V0 in ${t.name} encoding`);let r=e.get(a);if(r==null){let i=t.encode(n).slice(1);return e.set(a,i),i}else return r},OZt=(n,e,t)=>{let{prefix:a}=t,r=e.get(a);if(r==null){let i=t.encode(n);return e.set(a,i),i}else return r},fS=112,VZt=18,CBe=(n,e,t)=>{let a=Gh(n),r=a+Gh(e),i=new Uint8Array(r+t.byteLength);return jh(n,i,0),jh(e,i,a),i.set(t,r),i},SBe=Symbol.for("@ipld/js-cid/CID"),u$={writable:!1,configurable:!1,enumerable:!0},y$={writable:!1,enumerable:!1,configurable:!1},$Zt="0.0.0-dev",UZt=(n,e)=>{if(n.test($Zt))console.warn(e);else throw new Error(e)},qZt=`CID.isCID(v) is deprecated and will be removed in the next major release. Following code pattern: if (CID.isCID(value)) { @@ -30,130 +30,772 @@ if (cid) { // Make sure to use cid instead of value doSomethingWithCID(cid) } -`});var lOe=oe(()=>{u();p();dOe();Nz();mm();nse();MS()});var uOe={};G0(uOe,{CID:()=>DS,bases:()=>qz,bytes:()=>Fz,codecs:()=>crt,digest:()=>z7,hasher:()=>Hz,hashes:()=>ort,varint:()=>cx});var qz,ort,crt,sse=oe(()=>{u();p();WNe();qNe();jNe();GNe();KNe();Qie();QNe();$ie();VNe();$Ne();nOe();fOe();iOe();sOe();lOe();qz={...zie,...Wie,...qie,...jie,...Gie,...Kie,...Vie,...Yie,...Jie,...Xie},ort={...ase,...rse},crt={raw:fse,json:ise}});function hOe(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var pOe,ose,drt,jz,cse=oe(()=>{u();p();sse();Pz();pOe=hOe("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ose=hOe("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=SS(t.length);for(let n=0;nBi});function Bi(t,e="utf8"){let n=jz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}var dx=oe(()=>{u();p();cse()});var dse={};G0(dse,{fromString:()=>As});function As(t,e="utf8"){let n=jz[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?F7(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var PS=oe(()=>{u();p();cse();kS()});function Kz(t){return Bi(As(q1(t),MNe),Bie)}function Qz(t){let e=As(NNe,Die),n=FNe+Bi(N7([e,t]),Die);return[PNe,LNe,n].join(DNe)}function lrt(t){return Bi(t,Bie)}function mOe(t){return As([Kz(t.header),Kz(t.payload)].join(Mie),BNe)}function bOe(t){return[Kz(t.header),Kz(t.payload),lrt(t.signature)].join(Mie)}var lse=oe(()=>{u();p();fx();dx();PS();S7();Dz()});function use(t=(0,yOe.randomBytes)(32)){return LS.generateKeyPairFromSeed(t)}async function vOe(t,e,n,a,r=(0,gOe.fromMiliseconds)(Date.now())){let f={alg:SNe,typ:RNe},i=Qz(a.publicKey),s=r+n,o={iss:i,sub:t,aud:e,iat:r,exp:s},c=mOe({header:f,payload:o}),d=LS.sign(a.secretKey,c);return bOe({header:f,payload:o,signature:d})}var LS,yOe,gOe,wOe=oe(()=>{u();p();LS=Ee(kNe()),yOe=Ee(AS()),gOe=Ee(R7());Dz();lse()});var TOe=oe(()=>{u();p()});var xOe=oe(()=>{u();p();wOe();Dz();TOe();lse()});function Vz(t){return t?IOe(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new grt:typeof navigator<"u"?IOe(navigator.userAgent):_rt()}function xrt(t){return t!==""&&Trt.reduce(function(e,n){var a=n[0],r=n[1];if(e)return e;var f=r.exec(t);return!!f&&[a,f]},!1)}function IOe(t){var e=xrt(t);if(!e)return null;var n=e[0],a=e[1];if(n==="searchbot")return new yrt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length<_Oe&&(r=EOe(EOe([],r,!0),Art(_Oe-r.length),!0)):r=[];var f=r.join("."),i=Ert(t),s=wrt.exec(t);return s&&s[1]?new brt(n,f,i,s[1]):new hrt(n,f,i)}function Ert(t){for(var e=0,n=AOe.length;e{u();p();EOe=function(t,e,n){if(n||arguments.length===2)for(var a=0,r=e.length,f;a{"use strict";u();p();Object.defineProperty(zr,"__esModule",{value:!0});zr.getLocalStorage=zr.getLocalStorageOrThrow=zr.getCrypto=zr.getCryptoOrThrow=zr.getLocation=zr.getLocationOrThrow=zr.getNavigator=zr.getNavigatorOrThrow=zr.getDocument=zr.getDocumentOrThrow=zr.getFromWindowOrThrow=zr.getFromWindow=void 0;function W7(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}zr.getFromWindow=W7;function lx(t){let e=W7(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}zr.getFromWindowOrThrow=lx;function Irt(){return lx("document")}zr.getDocumentOrThrow=Irt;function Crt(){return W7("document")}zr.getDocument=Crt;function krt(){return lx("navigator")}zr.getNavigatorOrThrow=krt;function Srt(){return W7("navigator")}zr.getNavigator=Srt;function Rrt(){return lx("location")}zr.getLocationOrThrow=Rrt;function Mrt(){return W7("location")}zr.getLocation=Mrt;function Brt(){return lx("crypto")}zr.getCryptoOrThrow=Brt;function Drt(){return W7("crypto")}zr.getCrypto=Drt;function Prt(){return lx("localStorage")}zr.getLocalStorageOrThrow=Prt;function Lrt(){return W7("localStorage")}zr.getLocalStorage=Lrt});var kOe=D(Yz=>{"use strict";u();p();Object.defineProperty(Yz,"__esModule",{value:!0});Yz.getWindowMetadata=void 0;var COe=hse();function Frt(){let t,e;try{t=COe.getDocumentOrThrow(),e=COe.getLocationOrThrow()}catch{return null}function n(){let l=t.getElementsByTagName("link"),h=[];for(let y=0;y-1){let O=v.getAttribute("href");if(O)if(O.toLowerCase().indexOf("https:")===-1&&O.toLowerCase().indexOf("http:")===-1&&O.indexOf("//")!==0){let F=e.protocol+"//"+e.host;if(O.indexOf("/")===0)F+=O;else{let z=e.pathname.split("/");z.pop();let W=z.join("/");F+=W+"/"+O}h.push(F)}else if(O.indexOf("//")===0){let F=e.protocol+O;h.push(F)}else h.push(O)}}return h}function a(...l){let h=t.getElementsByTagName("meta");for(let y=0;yv.getAttribute(O)).filter(O=>O?l.includes(O):!1);if(k.length&&k){let O=v.getAttribute("content");if(O)return O}}return""}function r(){let l=a("name","og:site_name","og:title","twitter:title");return l||(l=t.title),l}function f(){return a("description","og:description","twitter:description","keywords")}let i=r(),s=f(),o=e.origin,c=n();return{description:s,url:o,icons:c,name:i}}Yz.getWindowMetadata=Frt});var ROe=D((Lra,SOe)=>{"use strict";u();p();SOe.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var LOe=D((Ora,POe)=>{"use strict";u();p();var DOe="%[a-f0-9]{2}",MOe=new RegExp("("+DOe+")|([^%]+?)","gi"),BOe=new RegExp("("+DOe+")+","gi");function mse(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;e=e||1;var n=t.slice(0,e),a=t.slice(e);return Array.prototype.concat.call([],mse(n),mse(a))}function Nrt(t){try{return decodeURIComponent(t)}catch{for(var e=t.match(MOe)||[],n=1;n{"use strict";u();p();FOe.exports=(t,e)=>{if(!(typeof t=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[t];let n=t.indexOf(e);return n===-1?[t]:[t.slice(0,n),t.slice(n+e.length)]}});var UOe=D((jra,OOe)=>{"use strict";u();p();OOe.exports=function(t,e){for(var n={},a=Object.keys(t),r=Array.isArray(e),f=0;f{"use strict";u();p();var Urt=ROe(),Hrt=LOe(),zOe=NOe(),zrt=UOe(),Wrt=t=>t==null,bse=Symbol("encodeFragmentIdentifier");function qrt(t){switch(t.arrayFormat){case"index":return e=>(n,a)=>{let r=n.length;return a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[yi(e,t),"[",r,"]"].join("")]:[...n,[yi(e,t),"[",yi(r,t),"]=",yi(a,t)].join("")]};case"bracket":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[yi(e,t),"[]"].join("")]:[...n,[yi(e,t),"[]=",yi(a,t)].join("")];case"colon-list-separator":return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,[yi(e,t),":list="].join("")]:[...n,[yi(e,t),":list=",yi(a,t)].join("")];case"comma":case"separator":case"bracket-separator":{let e=t.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(a,r)=>r===void 0||t.skipNull&&r===null||t.skipEmptyString&&r===""?a:(r=r===null?"":r,a.length===0?[[yi(n,t),e,yi(r,t)].join("")]:[[a,yi(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,a)=>a===void 0||t.skipNull&&a===null||t.skipEmptyString&&a===""?n:a===null?[...n,yi(e,t)]:[...n,[yi(e,t),"=",yi(a,t)].join("")]}}function jrt(t){let e;switch(t.arrayFormat){case"index":return(n,a,r)=>{if(e=/\[(\d*)\]$/.exec(n),n=n.replace(/\[\d*\]$/,""),!e){r[n]=a;return}r[n]===void 0&&(r[n]={}),r[n][e[1]]=a};case"bracket":return(n,a,r)=>{if(e=/(\[\])$/.exec(n),n=n.replace(/\[\]$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"colon-list-separator":return(n,a,r)=>{if(e=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!e){r[n]=a;return}if(r[n]===void 0){r[n]=[a];return}r[n]=[].concat(r[n],a)};case"comma":case"separator":return(n,a,r)=>{let f=typeof a=="string"&&a.includes(t.arrayFormatSeparator),i=typeof a=="string"&&!f&&D8(a,t).includes(t.arrayFormatSeparator);a=i?D8(a,t):a;let s=f||i?a.split(t.arrayFormatSeparator).map(o=>D8(o,t)):a===null?a:D8(a,t);r[n]=s};case"bracket-separator":return(n,a,r)=>{let f=/(\[\])$/.test(n);if(n=n.replace(/\[\]$/,""),!f){r[n]=a&&D8(a,t);return}let i=a===null?[]:a.split(t.arrayFormatSeparator).map(s=>D8(s,t));if(r[n]===void 0){r[n]=i;return}r[n]=[].concat(r[n],i)};default:return(n,a,r)=>{if(r[n]===void 0){r[n]=a;return}r[n]=[].concat(r[n],a)}}}function WOe(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function yi(t,e){return e.encode?e.strict?Urt(t):encodeURIComponent(t):t}function D8(t,e){return e.decode?Hrt(t):t}function qOe(t){return Array.isArray(t)?t.sort():typeof t=="object"?qOe(Object.keys(t)).sort((e,n)=>Number(e)-Number(n)).map(e=>t[e]):t}function jOe(t){let e=t.indexOf("#");return e!==-1&&(t=t.slice(0,e)),t}function Grt(t){let e="",n=t.indexOf("#");return n!==-1&&(e=t.slice(n)),e}function GOe(t){t=jOe(t);let e=t.indexOf("?");return e===-1?"":t.slice(e+1)}function HOe(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?t=Number(t):e.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")&&(t=t.toLowerCase()==="true"),t}function KOe(t,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),WOe(e.arrayFormatSeparator);let n=jrt(e),a=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t))return a;for(let r of t.split("&")){if(r==="")continue;let[f,i]=zOe(e.decode?r.replace(/\+/g," "):r,"=");i=i===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:D8(i,e),n(D8(f,e),i,a)}for(let r of Object.keys(a)){let f=a[r];if(typeof f=="object"&&f!==null)for(let i of Object.keys(f))f[i]=HOe(f[i],e);else a[r]=HOe(f,e)}return e.sort===!1?a:(e.sort===!0?Object.keys(a).sort():Object.keys(a).sort(e.sort)).reduce((r,f)=>{let i=a[f];return i&&typeof i=="object"&&!Array.isArray(i)?r[f]=qOe(i):r[f]=i,r},Object.create(null))}Uc.extract=GOe;Uc.parse=KOe;Uc.stringify=(t,e)=>{if(!t)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),WOe(e.arrayFormatSeparator);let n=i=>e.skipNull&&Wrt(t[i])||e.skipEmptyString&&t[i]==="",a=qrt(e),r={};for(let i of Object.keys(t))n(i)||(r[i]=t[i]);let f=Object.keys(r);return e.sort!==!1&&f.sort(e.sort),f.map(i=>{let s=t[i];return s===void 0?"":s===null?yi(i,e):Array.isArray(s)?s.length===0&&e.arrayFormat==="bracket-separator"?yi(i,e)+"[]":s.reduce(a(i),[]).join("&"):yi(i,e)+"="+yi(s,e)}).filter(i=>i.length>0).join("&")};Uc.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);let[n,a]=zOe(t,"#");return Object.assign({url:n.split("?")[0]||"",query:KOe(GOe(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:D8(a,e)}:{})};Uc.stringifyUrl=(t,e)=>{e=Object.assign({encode:!0,strict:!0,[bse]:!0},e);let n=jOe(t.url).split("?")[0]||"",a=Uc.extract(t.url),r=Uc.parse(a,{sort:!1}),f=Object.assign(r,t.query),i=Uc.stringify(f,e);i&&(i=`?${i}`);let s=Grt(t.url);return t.fragmentIdentifier&&(s=`#${e[bse]?yi(t.fragmentIdentifier,e):t.fragmentIdentifier}`),`${n}${i}${s}`};Uc.pick=(t,e,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[bse]:!1},n);let{url:a,query:r,fragmentIdentifier:f}=Uc.parseUrl(t,n);return Uc.stringifyUrl({url:a,query:zrt(r,e),fragmentIdentifier:f},n)};Uc.exclude=(t,e,n)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,f)=>!e(r,f);return Uc.pick(t,a,n)}});var YOe=D($z=>{"use strict";u();p();Object.defineProperty($z,"__esModule",{value:!0});var t1=tx(),yse=Vd(),Krt=20;function Qrt(t,e,n){for(var a=1634760805,r=857760878,f=2036477234,i=1797285236,s=n[3]<<24|n[2]<<16|n[1]<<8|n[0],o=n[7]<<24|n[6]<<16|n[5]<<8|n[4],c=n[11]<<24|n[10]<<16|n[9]<<8|n[8],d=n[15]<<24|n[14]<<16|n[13]<<8|n[12],l=n[19]<<24|n[18]<<16|n[17]<<8|n[16],h=n[23]<<24|n[22]<<16|n[21]<<8|n[20],y=n[27]<<24|n[26]<<16|n[25]<<8|n[24],v=n[31]<<24|n[30]<<16|n[29]<<8|n[28],k=e[3]<<24|e[2]<<16|e[1]<<8|e[0],O=e[7]<<24|e[6]<<16|e[5]<<8|e[4],F=e[11]<<24|e[10]<<16|e[9]<<8|e[8],z=e[15]<<24|e[14]<<16|e[13]<<8|e[12],W=a,j=r,Q=f,V=i,X=s,K=o,G=c,R=d,T=l,N=h,w=y,b=v,A=k,P=O,L=F,E=z,g=0;g>>16|A<<16,T=T+A|0,X^=T,X=X>>>20|X<<12,j=j+K|0,P^=j,P=P>>>16|P<<16,N=N+P|0,K^=N,K=K>>>20|K<<12,Q=Q+G|0,L^=Q,L=L>>>16|L<<16,w=w+L|0,G^=w,G=G>>>20|G<<12,V=V+R|0,E^=V,E=E>>>16|E<<16,b=b+E|0,R^=b,R=R>>>20|R<<12,Q=Q+G|0,L^=Q,L=L>>>24|L<<8,w=w+L|0,G^=w,G=G>>>25|G<<7,V=V+R|0,E^=V,E=E>>>24|E<<8,b=b+E|0,R^=b,R=R>>>25|R<<7,j=j+K|0,P^=j,P=P>>>24|P<<8,N=N+P|0,K^=N,K=K>>>25|K<<7,W=W+X|0,A^=W,A=A>>>24|A<<8,T=T+A|0,X^=T,X=X>>>25|X<<7,W=W+K|0,E^=W,E=E>>>16|E<<16,w=w+E|0,K^=w,K=K>>>20|K<<12,j=j+G|0,A^=j,A=A>>>16|A<<16,b=b+A|0,G^=b,G=G>>>20|G<<12,Q=Q+R|0,P^=Q,P=P>>>16|P<<16,T=T+P|0,R^=T,R=R>>>20|R<<12,V=V+X|0,L^=V,L=L>>>16|L<<16,N=N+L|0,X^=N,X=X>>>20|X<<12,Q=Q+R|0,P^=Q,P=P>>>24|P<<8,T=T+P|0,R^=T,R=R>>>25|R<<7,V=V+X|0,L^=V,L=L>>>24|L<<8,N=N+L|0,X^=N,X=X>>>25|X<<7,j=j+G|0,A^=j,A=A>>>24|A<<8,b=b+A|0,G^=b,G=G>>>25|G<<7,W=W+K|0,E^=W,E=E>>>24|E<<8,w=w+E|0,K^=w,K=K>>>25|K<<7;t1.writeUint32LE(W+a|0,t,0),t1.writeUint32LE(j+r|0,t,4),t1.writeUint32LE(Q+f|0,t,8),t1.writeUint32LE(V+i|0,t,12),t1.writeUint32LE(X+s|0,t,16),t1.writeUint32LE(K+o|0,t,20),t1.writeUint32LE(G+c|0,t,24),t1.writeUint32LE(R+d|0,t,28),t1.writeUint32LE(T+l|0,t,32),t1.writeUint32LE(N+h|0,t,36),t1.writeUint32LE(w+y|0,t,40),t1.writeUint32LE(b+v|0,t,44),t1.writeUint32LE(A+k|0,t,48),t1.writeUint32LE(P+O|0,t,52),t1.writeUint32LE(L+F|0,t,56),t1.writeUint32LE(E+z|0,t,60)}function VOe(t,e,n,a,r){if(r===void 0&&(r=0),t.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(a.length>>=8,e++;if(a>0)throw new Error("ChaCha: counter overflow")}});var Jz=D(ux=>{"use strict";u();p();Object.defineProperty(ux,"__esModule",{value:!0});function $rt(t,e,n){return~(t-1)&e|t-1&n}ux.select=$rt;function Jrt(t,e){return(t|0)-(e|0)-1>>>31&1}ux.lessOrEqual=Jrt;function $Oe(t,e){if(t.length!==e.length)return 0;for(var n=0,a=0;a>>8}ux.compare=$Oe;function Xrt(t,e){return t.length===0||e.length===0?!1:$Oe(t,e)!==0}ux.equal=Xrt});var XOe=D(P8=>{"use strict";u();p();Object.defineProperty(P8,"__esModule",{value:!0});var Zrt=Jz(),Xz=Vd();P8.DIGEST_LENGTH=16;var JOe=function(){function t(e){this.digestLength=P8.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var n=e[0]|e[1]<<8;this._r[0]=n&8191;var a=e[2]|e[3]<<8;this._r[1]=(n>>>13|a<<3)&8191;var r=e[4]|e[5]<<8;this._r[2]=(a>>>10|r<<6)&7939;var f=e[6]|e[7]<<8;this._r[3]=(r>>>7|f<<9)&8191;var i=e[8]|e[9]<<8;this._r[4]=(f>>>4|i<<12)&255,this._r[5]=i>>>1&8190;var s=e[10]|e[11]<<8;this._r[6]=(i>>>14|s<<2)&8191;var o=e[12]|e[13]<<8;this._r[7]=(s>>>11|o<<5)&8065;var c=e[14]|e[15]<<8;this._r[8]=(o>>>8|c<<8)&8191,this._r[9]=c>>>5&127,this._pad[0]=e[16]|e[17]<<8,this._pad[1]=e[18]|e[19]<<8,this._pad[2]=e[20]|e[21]<<8,this._pad[3]=e[22]|e[23]<<8,this._pad[4]=e[24]|e[25]<<8,this._pad[5]=e[26]|e[27]<<8,this._pad[6]=e[28]|e[29]<<8,this._pad[7]=e[30]|e[31]<<8}return t.prototype._blocks=function(e,n,a){for(var r=this._fin?0:2048,f=this._h[0],i=this._h[1],s=this._h[2],o=this._h[3],c=this._h[4],d=this._h[5],l=this._h[6],h=this._h[7],y=this._h[8],v=this._h[9],k=this._r[0],O=this._r[1],F=this._r[2],z=this._r[3],W=this._r[4],j=this._r[5],Q=this._r[6],V=this._r[7],X=this._r[8],K=this._r[9];a>=16;){var G=e[n+0]|e[n+1]<<8;f+=G&8191;var R=e[n+2]|e[n+3]<<8;i+=(G>>>13|R<<3)&8191;var T=e[n+4]|e[n+5]<<8;s+=(R>>>10|T<<6)&8191;var N=e[n+6]|e[n+7]<<8;o+=(T>>>7|N<<9)&8191;var w=e[n+8]|e[n+9]<<8;c+=(N>>>4|w<<12)&8191,d+=w>>>1&8191;var b=e[n+10]|e[n+11]<<8;l+=(w>>>14|b<<2)&8191;var A=e[n+12]|e[n+13]<<8;h+=(b>>>11|A<<5)&8191;var P=e[n+14]|e[n+15]<<8;y+=(A>>>8|P<<8)&8191,v+=P>>>5|r;var L=0,E=L;E+=f*k,E+=i*(5*K),E+=s*(5*X),E+=o*(5*V),E+=c*(5*Q),L=E>>>13,E&=8191,E+=d*(5*j),E+=l*(5*W),E+=h*(5*z),E+=y*(5*F),E+=v*(5*O),L+=E>>>13,E&=8191;var g=L;g+=f*O,g+=i*k,g+=s*(5*K),g+=o*(5*X),g+=c*(5*V),L=g>>>13,g&=8191,g+=d*(5*Q),g+=l*(5*j),g+=h*(5*W),g+=y*(5*z),g+=v*(5*F),L+=g>>>13,g&=8191;var B=L;B+=f*F,B+=i*O,B+=s*k,B+=o*(5*K),B+=c*(5*X),L=B>>>13,B&=8191,B+=d*(5*V),B+=l*(5*Q),B+=h*(5*j),B+=y*(5*W),B+=v*(5*z),L+=B>>>13,B&=8191;var M=L;M+=f*z,M+=i*F,M+=s*O,M+=o*k,M+=c*(5*K),L=M>>>13,M&=8191,M+=d*(5*X),M+=l*(5*V),M+=h*(5*Q),M+=y*(5*j),M+=v*(5*W),L+=M>>>13,M&=8191;var S=L;S+=f*W,S+=i*z,S+=s*F,S+=o*O,S+=c*k,L=S>>>13,S&=8191,S+=d*(5*K),S+=l*(5*X),S+=h*(5*V),S+=y*(5*Q),S+=v*(5*j),L+=S>>>13,S&=8191;var q=L;q+=f*j,q+=i*W,q+=s*z,q+=o*F,q+=c*O,L=q>>>13,q&=8191,q+=d*k,q+=l*(5*K),q+=h*(5*X),q+=y*(5*V),q+=v*(5*Q),L+=q>>>13,q&=8191;var ee=L;ee+=f*Q,ee+=i*j,ee+=s*W,ee+=o*z,ee+=c*F,L=ee>>>13,ee&=8191,ee+=d*O,ee+=l*k,ee+=h*(5*K),ee+=y*(5*X),ee+=v*(5*V),L+=ee>>>13,ee&=8191;var U=L;U+=f*V,U+=i*Q,U+=s*j,U+=o*W,U+=c*z,L=U>>>13,U&=8191,U+=d*F,U+=l*O,U+=h*k,U+=y*(5*K),U+=v*(5*X),L+=U>>>13,U&=8191;var J=L;J+=f*X,J+=i*V,J+=s*Q,J+=o*j,J+=c*W,L=J>>>13,J&=8191,J+=d*z,J+=l*F,J+=h*O,J+=y*k,J+=v*(5*K),L+=J>>>13,J&=8191;var Z=L;Z+=f*K,Z+=i*X,Z+=s*V,Z+=o*Q,Z+=c*j,L=Z>>>13,Z&=8191,Z+=d*W,Z+=l*z,Z+=h*F,Z+=y*O,Z+=v*k,L+=Z>>>13,Z&=8191,L=(L<<2)+L|0,L=L+E|0,E=L&8191,L=L>>>13,g+=L,f=E,i=g,s=B,o=M,c=S,d=q,l=ee,h=U,y=J,v=Z,n+=16,a-=16}this._h[0]=f,this._h[1]=i,this._h[2]=s,this._h[3]=o,this._h[4]=c,this._h[5]=d,this._h[6]=l,this._h[7]=h,this._h[8]=y,this._h[9]=v},t.prototype.finish=function(e,n){n===void 0&&(n=0);var a=new Uint16Array(10),r,f,i,s;if(this._leftover){for(s=this._leftover,this._buffer[s++]=1;s<16;s++)this._buffer[s]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(r=this._h[1]>>>13,this._h[1]&=8191,s=2;s<10;s++)this._h[s]+=r,r=this._h[s]>>>13,this._h[s]&=8191;for(this._h[0]+=r*5,r=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=r,r=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=r,a[0]=this._h[0]+5,r=a[0]>>>13,a[0]&=8191,s=1;s<10;s++)a[s]=this._h[s]+r,r=a[s]>>>13,a[s]&=8191;for(a[9]-=8192,f=(r^1)-1,s=0;s<10;s++)a[s]&=f;for(f=~f,s=0;s<10;s++)this._h[s]=this._h[s]&f|a[s];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,i=this._h[0]+this._pad[0],this._h[0]=i&65535,s=1;s<8;s++)i=(this._h[s]+this._pad[s]|0)+(i>>>16)|0,this._h[s]=i&65535;return e[n+0]=this._h[0]>>>0,e[n+1]=this._h[0]>>>8,e[n+2]=this._h[1]>>>0,e[n+3]=this._h[1]>>>8,e[n+4]=this._h[2]>>>0,e[n+5]=this._h[2]>>>8,e[n+6]=this._h[3]>>>0,e[n+7]=this._h[3]>>>8,e[n+8]=this._h[4]>>>0,e[n+9]=this._h[4]>>>8,e[n+10]=this._h[5]>>>0,e[n+11]=this._h[5]>>>8,e[n+12]=this._h[6]>>>0,e[n+13]=this._h[6]>>>8,e[n+14]=this._h[7]>>>0,e[n+15]=this._h[7]>>>8,this._finished=!0,this},t.prototype.update=function(e){var n=0,a=e.length,r;if(this._leftover){r=16-this._leftover,r>a&&(r=a);for(var f=0;f=16&&(r=a-a%16,this._blocks(e,n,r),n+=r,a-=r),a){for(var f=0;f{"use strict";u();p();Object.defineProperty(L8,"__esModule",{value:!0});var Zz=YOe(),nft=XOe(),FS=Vd(),ZOe=tx(),aft=Jz();L8.KEY_LENGTH=32;L8.NONCE_LENGTH=12;L8.TAG_LENGTH=16;var eUe=new Uint8Array(16),rft=function(){function t(e){if(this.nonceLength=L8.NONCE_LENGTH,this.tagLength=L8.TAG_LENGTH,e.length!==L8.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(e)}return t.prototype.seal=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var f=new Uint8Array(16);f.set(e,f.length-e.length);var i=new Uint8Array(32);Zz.stream(this._key,f,i,4);var s=n.length+this.tagLength,o;if(r){if(r.length!==s)throw new Error("ChaCha20Poly1305: incorrect destination length");o=r}else o=new Uint8Array(s);return Zz.streamXOR(this._key,f,n,o,4),this._authenticate(o.subarray(o.length-this.tagLength,o.length),i,o.subarray(0,o.length-this.tagLength),a),FS.wipe(f),o},t.prototype.open=function(e,n,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(n.length0&&f.update(eUe.subarray(r.length%16))),f.update(a),a.length%16>0&&f.update(eUe.subarray(a.length%16));var i=new Uint8Array(8);r&&ZOe.writeUint64LE(r.length,i),f.update(i),ZOe.writeUint64LE(a.length,i),f.update(i);for(var s=f.digest(),o=0;o{"use strict";u();p();Object.defineProperty(gse,"__esModule",{value:!0});function fft(t){return typeof t.saveState<"u"&&typeof t.restoreState<"u"&&typeof t.cleanSavedState<"u"}gse.isSerializableHash=fft});var rUe=D(NS=>{"use strict";u();p();Object.defineProperty(NS,"__esModule",{value:!0});var n2=nUe(),ift=Jz(),sft=Vd(),aUe=function(){function t(e,n){this._finished=!1,this._inner=new e,this._outer=new e,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var a=new Uint8Array(this.blockSize);n.length>this.blockSize?this._inner.update(n).finish(a).clean():a.set(n);for(var r=0;r{"use strict";u();p();Object.defineProperty(vse,"__esModule",{value:!0});var fUe=rUe(),iUe=Vd(),cft=function(){function t(e,n,a,r){a===void 0&&(a=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=e,this._info=r;var f=fUe.hmac(this._hash,a,n);this._hmac=new fUe.HMAC(e,f),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return t.prototype._fillBuffer=function(){this._counter[0]++;var e=this._counter[0];if(e===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),e>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},t.prototype.expand=function(e){for(var n=new Uint8Array(e),a=0;a{"use strict";u();p();Object.defineProperty(gm,"__esModule",{value:!0});var tW=tx(),eW=Vd();gm.DIGEST_LENGTH=32;gm.BLOCK_SIZE=64;var oUe=function(){function t(){this.digestLength=gm.DIGEST_LENGTH,this.blockSize=gm.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return t.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},t.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},t.prototype.clean=function(){eW.wipe(this._buffer),eW.wipe(this._temp),this.reset()},t.prototype.update=function(e,n){if(n===void 0&&(n=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=n,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],n--;this._bufferLength===this.blockSize&&(wse(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(n>=this.blockSize&&(a=wse(this._temp,this._state,e,a,n),n%=this.blockSize);n>0;)this._buffer[this._bufferLength++]=e[a++],n--;return this},t.prototype.finish=function(e){if(!this._finished){var n=this._bytesHashed,a=this._bufferLength,r=n/536870912|0,f=n<<3,i=n%64<56?64:128;this._buffer[a]=128;for(var s=a+1;s0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},t.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},t.prototype.cleanSavedState=function(e){eW.wipe(e.state),e.buffer&&eW.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},t}();gm.SHA256=oUe;var dft=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function wse(t,e,n,a,r){for(;r>=64;){for(var f=e[0],i=e[1],s=e[2],o=e[3],c=e[4],d=e[5],l=e[6],h=e[7],y=0;y<16;y++){var v=a+y*4;t[y]=tW.readUint32BE(n,v)}for(var y=16;y<64;y++){var k=t[y-2],O=(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10;k=t[y-15];var F=(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3;t[y]=(O+t[y-7]|0)+(F+t[y-16]|0)}for(var y=0;y<64;y++){var O=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&l)|0)+(h+(dft[y]+t[y]|0)|0)|0,F=((f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10))+(f&i^f&s^i&s)|0;h=l,l=d,d=c,c=o+O|0,o=s,s=i,i=f,f=O+F|0}e[0]+=f,e[1]+=i,e[2]+=s,e[3]+=o,e[4]+=c,e[5]+=d,e[6]+=l,e[7]+=h,a+=64,r-=64}return a}function lft(t){var e=new oUe;e.update(t);var n=e.digest();return e.clean(),n}gm.hash=lft});var pUe=D(ei=>{"use strict";u();p();Object.defineProperty(ei,"__esModule",{value:!0});ei.sharedKey=ei.generateKeyPair=ei.generateKeyPairFromSeed=ei.scalarMultBase=ei.scalarMult=ei.SHARED_KEY_LENGTH=ei.SECRET_KEY_LENGTH=ei.PUBLIC_KEY_LENGTH=void 0;var uft=AS(),pft=Vd();ei.PUBLIC_KEY_LENGTH=32;ei.SECRET_KEY_LENGTH=32;ei.SHARED_KEY_LENGTH=32;function a2(t){let e=new Float64Array(16);if(t)for(let n=0;n>16&1),n[i-1]&=65535;n[15]=a[15]-32767-(n[14]>>16&1);let f=n[15]>>16&1;n[14]&=65535,OS(a,n,1-f)}for(let r=0;r<16;r++)t[2*r]=a[r]&255,t[2*r+1]=a[r]>>8}function bft(t,e){for(let n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function nW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]+n[a]}function aW(t,e,n){for(let a=0;a<16;a++)t[a]=e[a]-n[a]}function F8(t,e,n){let a,r,f=0,i=0,s=0,o=0,c=0,d=0,l=0,h=0,y=0,v=0,k=0,O=0,F=0,z=0,W=0,j=0,Q=0,V=0,X=0,K=0,G=0,R=0,T=0,N=0,w=0,b=0,A=0,P=0,L=0,E=0,g=0,B=n[0],M=n[1],S=n[2],q=n[3],ee=n[4],U=n[5],J=n[6],Z=n[7],ne=n[8],ue=n[9],Y=n[10],re=n[11],ie=n[12],ge=n[13],de=n[14],Ae=n[15];a=e[0],f+=a*B,i+=a*M,s+=a*S,o+=a*q,c+=a*ee,d+=a*U,l+=a*J,h+=a*Z,y+=a*ne,v+=a*ue,k+=a*Y,O+=a*re,F+=a*ie,z+=a*ge,W+=a*de,j+=a*Ae,a=e[1],i+=a*B,s+=a*M,o+=a*S,c+=a*q,d+=a*ee,l+=a*U,h+=a*J,y+=a*Z,v+=a*ne,k+=a*ue,O+=a*Y,F+=a*re,z+=a*ie,W+=a*ge,j+=a*de,Q+=a*Ae,a=e[2],s+=a*B,o+=a*M,c+=a*S,d+=a*q,l+=a*ee,h+=a*U,y+=a*J,v+=a*Z,k+=a*ne,O+=a*ue,F+=a*Y,z+=a*re,W+=a*ie,j+=a*ge,Q+=a*de,V+=a*Ae,a=e[3],o+=a*B,c+=a*M,d+=a*S,l+=a*q,h+=a*ee,y+=a*U,v+=a*J,k+=a*Z,O+=a*ne,F+=a*ue,z+=a*Y,W+=a*re,j+=a*ie,Q+=a*ge,V+=a*de,X+=a*Ae,a=e[4],c+=a*B,d+=a*M,l+=a*S,h+=a*q,y+=a*ee,v+=a*U,k+=a*J,O+=a*Z,F+=a*ne,z+=a*ue,W+=a*Y,j+=a*re,Q+=a*ie,V+=a*ge,X+=a*de,K+=a*Ae,a=e[5],d+=a*B,l+=a*M,h+=a*S,y+=a*q,v+=a*ee,k+=a*U,O+=a*J,F+=a*Z,z+=a*ne,W+=a*ue,j+=a*Y,Q+=a*re,V+=a*ie,X+=a*ge,K+=a*de,G+=a*Ae,a=e[6],l+=a*B,h+=a*M,y+=a*S,v+=a*q,k+=a*ee,O+=a*U,F+=a*J,z+=a*Z,W+=a*ne,j+=a*ue,Q+=a*Y,V+=a*re,X+=a*ie,K+=a*ge,G+=a*de,R+=a*Ae,a=e[7],h+=a*B,y+=a*M,v+=a*S,k+=a*q,O+=a*ee,F+=a*U,z+=a*J,W+=a*Z,j+=a*ne,Q+=a*ue,V+=a*Y,X+=a*re,K+=a*ie,G+=a*ge,R+=a*de,T+=a*Ae,a=e[8],y+=a*B,v+=a*M,k+=a*S,O+=a*q,F+=a*ee,z+=a*U,W+=a*J,j+=a*Z,Q+=a*ne,V+=a*ue,X+=a*Y,K+=a*re,G+=a*ie,R+=a*ge,T+=a*de,N+=a*Ae,a=e[9],v+=a*B,k+=a*M,O+=a*S,F+=a*q,z+=a*ee,W+=a*U,j+=a*J,Q+=a*Z,V+=a*ne,X+=a*ue,K+=a*Y,G+=a*re,R+=a*ie,T+=a*ge,N+=a*de,w+=a*Ae,a=e[10],k+=a*B,O+=a*M,F+=a*S,z+=a*q,W+=a*ee,j+=a*U,Q+=a*J,V+=a*Z,X+=a*ne,K+=a*ue,G+=a*Y,R+=a*re,T+=a*ie,N+=a*ge,w+=a*de,b+=a*Ae,a=e[11],O+=a*B,F+=a*M,z+=a*S,W+=a*q,j+=a*ee,Q+=a*U,V+=a*J,X+=a*Z,K+=a*ne,G+=a*ue,R+=a*Y,T+=a*re,N+=a*ie,w+=a*ge,b+=a*de,A+=a*Ae,a=e[12],F+=a*B,z+=a*M,W+=a*S,j+=a*q,Q+=a*ee,V+=a*U,X+=a*J,K+=a*Z,G+=a*ne,R+=a*ue,T+=a*Y,N+=a*re,w+=a*ie,b+=a*ge,A+=a*de,P+=a*Ae,a=e[13],z+=a*B,W+=a*M,j+=a*S,Q+=a*q,V+=a*ee,X+=a*U,K+=a*J,G+=a*Z,R+=a*ne,T+=a*ue,N+=a*Y,w+=a*re,b+=a*ie,A+=a*ge,P+=a*de,L+=a*Ae,a=e[14],W+=a*B,j+=a*M,Q+=a*S,V+=a*q,X+=a*ee,K+=a*U,G+=a*J,R+=a*Z,T+=a*ne,N+=a*ue,w+=a*Y,b+=a*re,A+=a*ie,P+=a*ge,L+=a*de,E+=a*Ae,a=e[15],j+=a*B,Q+=a*M,V+=a*S,X+=a*q,K+=a*ee,G+=a*U,R+=a*J,T+=a*Z,N+=a*ne,w+=a*ue,b+=a*Y,A+=a*re,P+=a*ie,L+=a*ge,E+=a*de,g+=a*Ae,f+=38*Q,i+=38*V,s+=38*X,o+=38*K,c+=38*G,d+=38*R,l+=38*T,h+=38*N,y+=38*w,v+=38*b,k+=38*A,O+=38*P,F+=38*L,z+=38*E,W+=38*g,r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),r=1,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=v+r+65535,r=Math.floor(a/65536),v=a-r*65536,a=k+r+65535,r=Math.floor(a/65536),k=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=F+r+65535,r=Math.floor(a/65536),F=a-r*65536,a=z+r+65535,r=Math.floor(a/65536),z=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,a=j+r+65535,r=Math.floor(a/65536),j=a-r*65536,f+=r-1+37*(r-1),t[0]=f,t[1]=i,t[2]=s,t[3]=o,t[4]=c,t[5]=d,t[6]=l,t[7]=h,t[8]=y,t[9]=v,t[10]=k,t[11]=O,t[12]=F,t[13]=z,t[14]=W,t[15]=j}function US(t,e){F8(t,e,e)}function yft(t,e){let n=a2();for(let a=0;a<16;a++)n[a]=e[a];for(let a=253;a>=0;a--)US(n,n),a!==2&&a!==4&&F8(n,n,e);for(let a=0;a<16;a++)t[a]=n[a]}function xse(t,e){let n=new Uint8Array(32),a=new Float64Array(80),r=a2(),f=a2(),i=a2(),s=a2(),o=a2(),c=a2();for(let y=0;y<31;y++)n[y]=t[y];n[31]=t[31]&127|64,n[0]&=248,bft(a,e);for(let y=0;y<16;y++)f[y]=a[y];r[0]=s[0]=1;for(let y=254;y>=0;--y){let v=n[y>>>3]>>>(y&7)&1;OS(r,f,v),OS(i,s,v),nW(o,r,i),aW(r,r,i),nW(i,f,s),aW(f,f,s),US(s,o),US(c,r),F8(r,i,r),F8(i,f,o),nW(o,r,i),aW(r,r,i),US(f,r),aW(i,s,c),F8(r,i,hft),nW(r,r,s),F8(i,i,r),F8(r,s,c),F8(s,f,a),US(f,o),OS(r,f,v),OS(i,s,v)}for(let y=0;y<16;y++)a[y+16]=r[y],a[y+32]=i[y],a[y+48]=f[y],a[y+64]=s[y];let d=a.subarray(32),l=a.subarray(16);yft(d,d),F8(l,l,d);let h=new Uint8Array(32);return mft(h,l),h}ei.scalarMult=xse;function lUe(t){return xse(t,dUe)}ei.scalarMultBase=lUe;function uUe(t){if(t.length!==ei.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${ei.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(t);return{publicKey:lUe(e),secretKey:e}}ei.generateKeyPairFromSeed=uUe;function gft(t){let e=(0,uft.randomBytes)(32,t),n=uUe(e);return(0,pft.wipe)(e),n}ei.generateKeyPair=gft;function vft(t,e,n=!1){if(t.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==ei.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=xse(t,e);if(n){let r=0;for(let f=0;f{u();p();hUe={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}}});var bUe,yUe,gUe,vUe,rW,HS,Ese,fW,vm,zS,iW=oe(()=>{u();p();bUe="PARSE_ERROR",yUe="INVALID_REQUEST",gUe="METHOD_NOT_FOUND",vUe="INVALID_PARAMS",rW="INTERNAL_ERROR",HS="SERVER_ERROR",Ese=[-32700,-32600,-32601,-32602,-32603],fW=[-32e3,-32099],vm={[bUe]:{code:-32700,message:"Parse error"},[yUe]:{code:-32600,message:"Invalid Request"},[gUe]:{code:-32601,message:"Method not found"},[vUe]:{code:-32602,message:"Invalid params"},[rW]:{code:-32603,message:"Internal error"},[HS]:{code:-32e3,message:"Server error"}},zS=HS});function wft(t){return t<=fW[0]&&t>=fW[1]}function sW(t){return Ese.includes(t)}function wUe(t){return typeof t=="number"}function oW(t){return Object.keys(vm).includes(t)?vm[t]:vm[zS]}function cW(t){let e=Object.values(vm).find(n=>n.code===t);return e||vm[zS]}function Tft(t){if(typeof t.error.code>"u")return{valid:!1,error:"Missing code for JSON-RPC error"};if(typeof t.error.message>"u")return{valid:!1,error:"Missing message for JSON-RPC error"};if(!wUe(t.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${t.error.code}`};if(sW(t.error.code)){let e=cW(t.error.code);if(e.message!==vm[zS].message&&t.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${t.error.code}`}}return{valid:!0}}function WS(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var _se=oe(()=>{u();p();iW()});var xUe=D(wm=>{"use strict";u();p();Object.defineProperty(wm,"__esModule",{value:!0});wm.isBrowserCryptoAvailable=wm.getSubtleCrypto=wm.getBrowerCrypto=void 0;function Ase(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}wm.getBrowerCrypto=Ase;function TUe(){let t=Ase();return t.subtle||t.webkitSubtle}wm.getSubtleCrypto=TUe;function xft(){return!!Ase()&&!!TUe()}wm.isBrowserCryptoAvailable=xft});var AUe=D(Tm=>{"use strict";u();p();Object.defineProperty(Tm,"__esModule",{value:!0});Tm.isBrowser=Tm.isNode=Tm.isReactNative=void 0;function EUe(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}Tm.isReactNative=EUe;function _Ue(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}Tm.isNode=_Ue;function Eft(){return!EUe()&&!_Ue()}Tm.isBrowser=Eft});var Ise=D(dW=>{"use strict";u();p();Object.defineProperty(dW,"__esModule",{value:!0});var IUe=(Xu(),vn(Ju));IUe.__exportStar(xUe(),dW);IUe.__exportStar(AUe(),dW)});var Di={};G0(Di,{isNodeJs:()=>kUe});var CUe,kUe,SUe=oe(()=>{u();p();CUe=Ee(Ise());$i(Di,Ee(Ise()));kUe=CUe.isNode});function r2(t=3){let e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function wl(t=6){return BigInt(r2(t))}function f2(t,e,n){return{id:n||r2(),jsonrpc:"2.0",method:t,params:e}}function N8(t,e){return{id:t,jsonrpc:"2.0",result:e}}function O8(t,e,n){return{id:t,jsonrpc:"2.0",error:RUe(e,n)}}function RUe(t,e){return typeof t>"u"?oW(rW):(typeof t=="string"&&(t=Object.assign(Object.assign({},oW(HS)),{message:t})),typeof e<"u"&&(t.data=e),sW(t.code)&&(t=cW(t.code)),t)}var MUe=oe(()=>{u();p();_se();iW()});function _ft(t){return t.includes("*")?uW(t):!/\W/g.test(t)}function lW(t){return t==="*"}function uW(t){return lW(t)?!0:!(!t.includes("*")||t.split("*").length!==2||t.split("*").filter(e=>e.trim()==="").length!==1)}function Aft(t){return!lW(t)&&uW(t)&&!t.split("*")[0].trim()}function Ift(t){return!lW(t)&&uW(t)&&!t.split("*")[1].trim()}var BUe=oe(()=>{u();p()});var qS,Cse,pW,jS,DUe=oe(()=>{u();p();qS=class{},Cse=class extends qS{constructor(e){super()}},pW=class extends qS{constructor(){super()}},jS=class extends pW{constructor(e){super()}}});var PUe=oe(()=>{u();p();DUe()});function Sft(t){let e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function LUe(t,e){let n=Sft(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function hW(t){return LUe(t,Cft)}function mW(t){return LUe(t,kft)}function kse(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}var Cft,kft,FUe=oe(()=>{u();p();Cft="^https?:",kft="^wss?:"});function Sse(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function px(t){return Sse(t)&&"method"in t}function xm(t){return Sse(t)&&(S6(t)||n1(t))}function S6(t){return"result"in t}function n1(t){return"error"in t}function Rft(t){return"error"in t&&t.valid===!1}var NUe=oe(()=>{u();p()});var j1={};G0(j1,{DEFAULT_ERROR:()=>zS,IBaseJsonRpcProvider:()=>pW,IEvents:()=>qS,IJsonRpcConnection:()=>Cse,IJsonRpcProvider:()=>jS,INTERNAL_ERROR:()=>rW,INVALID_PARAMS:()=>vUe,INVALID_REQUEST:()=>yUe,METHOD_NOT_FOUND:()=>gUe,PARSE_ERROR:()=>bUe,RESERVED_ERROR_CODES:()=>Ese,SERVER_ERROR:()=>HS,SERVER_ERROR_CODE_RANGE:()=>fW,STANDARD_ERROR_MAP:()=>vm,formatErrorMessage:()=>RUe,formatJsonRpcError:()=>O8,formatJsonRpcRequest:()=>f2,formatJsonRpcResult:()=>N8,getBigIntRpcId:()=>wl,getError:()=>oW,getErrorByCode:()=>cW,isHttpUrl:()=>hW,isJsonRpcError:()=>n1,isJsonRpcPayload:()=>Sse,isJsonRpcRequest:()=>px,isJsonRpcResponse:()=>xm,isJsonRpcResult:()=>S6,isJsonRpcValidationInvalid:()=>Rft,isLocalhostUrl:()=>kse,isNodeJs:()=>kUe,isReservedErrorCode:()=>sW,isServerErrorCode:()=>wft,isValidDefaultRoute:()=>lW,isValidErrorCode:()=>wUe,isValidLeadingWildcardRoute:()=>Aft,isValidRoute:()=>_ft,isValidTrailingWildcardRoute:()=>Ift,isValidWildcardRoute:()=>uW,isWsUrl:()=>mW,parseConnectionError:()=>WS,payloadId:()=>r2,validateJsonRpcError:()=>Tft});var Em=oe(()=>{u();p();iW();_se();SUe();$i(j1,Di);MUe();BUe();PUe();FUe();NUe()});var UUe=D((xia,OUe)=>{"use strict";u();p();OUe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var WUe,Mft,Bft,HUe,zUe,Dft,bW,qUe=oe(()=>{u();p();WUe=Ee(Or());S7();Em();Mft=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:UUe(),Bft=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",HUe=t=>t.split("?")[0],zUe=10,Dft=Mft(),bW=class{constructor(e){if(this.url=e,this.events=new WUe.EventEmitter,this.registering=!1,!mW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=a=>{this.onClose(a),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(q1(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!mW(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return r(new Error("WebSocket connection is missing or invalid"));a(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,a)=>{let r=new URLSearchParams(e).get("origin"),f=(0,j1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!kse(e)},i=new Dft(e,[],f);Bft()?i.onerror=s=>{let o=s;a(this.emitError(o.error))}:i.on("error",s=>{a(this.emitError(s))}),i.onopen=()=>{this.onOpen(i),n(i)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return WS(e,HUe(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>zUe&&this.events.setMaxListeners(zUe)}emitError(e){let n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${HUe(this.url)}`));return this.events.emit("register_error",n),n}}});var _He=D((GS,mx)=>{u();p();var Pft=200,Hse="__lodash_hash_undefined__",_W=1,tHe=2,nHe=9007199254740991,yW="[object Arguments]",Dse="[object Array]",Lft="[object AsyncFunction]",aHe="[object Boolean]",rHe="[object Date]",fHe="[object Error]",iHe="[object Function]",Fft="[object GeneratorFunction]",gW="[object Map]",sHe="[object Number]",Nft="[object Null]",hx="[object Object]",jUe="[object Promise]",Oft="[object Proxy]",oHe="[object RegExp]",vW="[object Set]",cHe="[object String]",Uft="[object Symbol]",Hft="[object Undefined]",Pse="[object WeakMap]",dHe="[object ArrayBuffer]",wW="[object DataView]",zft="[object Float32Array]",Wft="[object Float64Array]",qft="[object Int8Array]",jft="[object Int16Array]",Gft="[object Int32Array]",Kft="[object Uint8Array]",Qft="[object Uint8ClampedArray]",Vft="[object Uint16Array]",Yft="[object Uint32Array]",$ft=/[\\^$.*+?()[\]{}|]/g,Jft=/^\[object .+?Constructor\]$/,Xft=/^(?:0|[1-9]\d*)$/,tf={};tf[zft]=tf[Wft]=tf[qft]=tf[jft]=tf[Gft]=tf[Kft]=tf[Qft]=tf[Vft]=tf[Yft]=!0;tf[yW]=tf[Dse]=tf[dHe]=tf[aHe]=tf[wW]=tf[rHe]=tf[fHe]=tf[iHe]=tf[gW]=tf[sHe]=tf[hx]=tf[oHe]=tf[vW]=tf[cHe]=tf[Pse]=!1;var lHe=typeof global=="object"&&global&&global.Object===Object&&global,Zft=typeof self=="object"&&self&&self.Object===Object&&self,U8=lHe||Zft||Function("return this")(),uHe=typeof GS=="object"&&GS&&!GS.nodeType&&GS,GUe=uHe&&typeof mx=="object"&&mx&&!mx.nodeType&&mx,pHe=GUe&&GUe.exports===uHe,Rse=pHe&&lHe.process,KUe=function(){try{return Rse&&Rse.binding&&Rse.binding("util")}catch{}}(),QUe=KUe&&KUe.isTypedArray;function eit(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n-1}function Rit(t,e){var n=this.__data__,a=IW(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}H8.prototype.clear=Iit;H8.prototype.delete=Cit;H8.prototype.get=kit;H8.prototype.has=Sit;H8.prototype.set=Rit;function G7(t){var e=-1,n=t==null?0:t.length;for(this.clear();++es))return!1;var c=f.get(t);if(c&&f.get(e))return c==e;var d=-1,l=!0,h=n&tHe?new xW:void 0;for(f.set(t,e),f.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=nHe}function xHe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function VS(t){return t!=null&&typeof t=="object"}var EHe=QUe?rit(QUe):Qit;function sst(t){return fst(t)?qit(t):Vit(t)}function ost(){return[]}function cst(){return!1}mx.exports=ist});var zse=D((Bia,AHe)=>{u();p();AHe.exports=function(t,e){return e=e||{},new Promise(function(n,a){var r=new XMLHttpRequest,f=[],i=[],s={},o=function(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:o,headers:{keys:function(){return f},entries:function(){return i},get:function(d){return s[d.toLowerCase()]},has:function(d){return d.toLowerCase()in s}}}};for(var c in r.open(e.method||"get",t,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,l,h){f.push(l=l.toLowerCase()),i.push([l,h]),s[l]=s[l]?s[l]+","+h:h}),n(o())},r.onerror=a,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(c,e.headers[c]);r.send(e.body||null)})}});var CHe=D((Lia,IHe)=>{u();p();IHe.exports=self.fetch||(self.fetch=zse().default||zse())});var qse=D((Oia,Wse)=>{"use strict";u();p();var dst=Object.prototype.hasOwnProperty,G1="~";function $S(){}Object.create&&($S.prototype=Object.create(null),new $S().__proto__||(G1=!1));function lst(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function kHe(t,e,n,a,r){if(typeof n!="function")throw new TypeError("The listener must be a function");var f=new lst(n,a||t,r),i=G1?G1+e:e;return t._events[i]?t._events[i].fn?t._events[i]=[t._events[i],f]:t._events[i].push(f):(t._events[i]=f,t._eventsCount++),t}function kW(t,e){--t._eventsCount===0?t._events=new $S:delete t._events[e]}function a1(){this._events=new $S,this._eventsCount=0}a1.prototype.eventNames=function(){var e=[],n,a;if(this._eventsCount===0)return e;for(a in n=this._events)dst.call(n,a)&&e.push(G1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(n)):e};a1.prototype.listeners=function(e){var n=G1?G1+e:e,a=this._events[n];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,f=a.length,i=new Array(f);r{u();p();SHe=Ee(qse(),1),R6=SHe.default});function Tl(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"http",a=[];if(t.rpc.forEach(r=>{if(!(n==="http"&&!r.startsWith("http"))&&!(n==="ws"&&!r.startsWith("ws")))if(r.includes("${THIRDWEB_API_KEY}"))e?a.push(r.replace("${THIRDWEB_API_KEY}",e)+(typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`/?bundleId=${globalThis.APP_BUNDLE_ID}`:"")):a.push(r.replace("${THIRDWEB_API_KEY}",""));else{if(r.includes("${"))return;a.push(r)}}),a.length===0)throw new Error(`No RPC available for chainId "${t.chainId}" with mode ${n}`);return a}function z8(t,e){try{return{...t,rpc:Tl(t,e)}}catch{return t}}function HHe(){return JS||(JS={},TFt.forEach(t=>{JS[t.chainId]=t}),JS)}function xFt(t){let e=HHe();return t in e}function zHe(t){if(xFt(t))return HHe()[t];throw new Error(`Chain with chainId "${t}" not found`)}var M6,ust,pst,hst,mst,bst,yst,gst,vst,SW,wst,Tst,xst,Est,_st,Ast,Ist,Cst,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,RHe,lot,uot,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Iot,Cot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,MHe,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,I1t,C1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,Q7,L1t,F1t,N1t,O1t,U1t,H1t,z1t,jse,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,mct,bct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Ict,Cct,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,BHe,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,I6t,C6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,mdt,bdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Idt,Cdt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,m5t,b5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,I5t,C5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,mlt,blt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Ilt,Clt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Gse,wut,Tut,xut,Eut,_ut,Aut,Iut,Cut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,e2t,t2t,n2t,a2t,r2t,DHe,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,I2t,C2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Ipt,Cpt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,m8t,b8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,I8t,C8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,mht,bht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Iht,Cht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,I3t,C3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,PHe,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Imt,Cmt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,mbt,bbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Ibt,Cbt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,I4t,C4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,myt,byt,yyt,gyt,vyt,wyt,Tyt,RW,xyt,Eyt,_yt,Ayt,Iyt,Cyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,m7t,b7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,I7t,C7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,m9t,b9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,I9t,C9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,mgt,bgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Igt,Cgt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,mvt,bvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Ivt,Cvt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,mwt,bwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Iwt,Cwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,ITt,CTt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,mxt,LHe,bxt,XS,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Ixt,Cxt,FHe,NHe,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,ZS,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,mEt,bEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,IEt,CEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,m_t,b_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,I_t,C_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Kse,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,IAt,CAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,mIt,bIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,IIt,CIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,MW,QIt,VIt,YIt,$It,JIt,XIt,ZIt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,ICt,BW,CCt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,mkt,bkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ikt,Ckt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,mSt,bSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,ISt,CSt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,uRt,pRt,hRt,mRt,bRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,IRt,CRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,mMt,bMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,IMt,CMt,kMt,SMt,RMt,MMt,OHe,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,mBt,bBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,IBt,CBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,IDt,CDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,Qse,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,yPt,gPt,vPt,wPt,UHe,DW,TPt,xPt,EPt,_Pt,APt,IPt,CPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt,GPt,KPt,QPt,VPt,YPt,$Pt,JPt,XPt,ZPt,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,uLt,pLt,hLt,mLt,bLt,yLt,gLt,vLt,wLt,TLt,xLt,ELt,_Lt,ALt,ILt,Vse,CLt,kLt,SLt,RLt,MLt,BLt,DLt,PLt,LLt,FLt,NLt,OLt,ULt,HLt,zLt,WLt,qLt,jLt,GLt,KLt,QLt,VLt,YLt,$Lt,JLt,XLt,ZLt,eFt,tFt,nFt,aFt,rFt,fFt,iFt,sFt,oFt,cFt,dFt,lFt,uFt,pFt,hFt,mFt,bFt,yFt,gFt,vFt,wFt,r1,TFt,JS,Hc=oe(()=>{"use strict";u();p();M6={chain:"ETH",chainId:1,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"etherscan",url:"https://etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://eth.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://ethereum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://ethereum.org",name:"Ethereum Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,redFlags:[],rpc:["https://1.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.infura.io/v3/${INFURA_API_KEY}","wss://mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://api.mycryptoapi.com/eth","https://cloudflare-eth.com","https://ethereum-rpc.publicnode.com","wss://ethereum-rpc.publicnode.com","https://mainnet.gateway.tenderly.co","wss://mainnet.gateway.tenderly.co","https://rpc.blocknative.com/boost","https://rpc.flashbots.net","https://rpc.flashbots.net/fast","https://rpc.mevblocker.io","https://rpc.mevblocker.io/fast","https://rpc.mevblocker.io/noreverts","https://rpc.mevblocker.io/fullprivacy","https://eth.drpc.org","wss://eth.drpc.org"],shortName:"eth",slip44:60,slug:"ethereum",testnet:!1},ust={chain:"EXP",chainId:2,explorers:[],faucets:[],infoURL:"https://expanse.tech",name:"Expanse Network",nativeCurrency:{name:"Expanse Network Ether",symbol:"EXP",decimals:18},networkId:1,rpc:["https://2.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.expanse.tech"],shortName:"exp",slip44:40,slug:"expanse-network",testnet:!1},pst={chain:"ETH",chainId:3,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan",url:"https://ropsten.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=3&address=${ADDRESS}","https://faucet.ropsten.be?${ADDRESS}"],features:[],infoURL:"https://github.com/ethereum/ropsten",name:"Ropsten",nativeCurrency:{name:"Ropsten Ether",symbol:"ETH",decimals:18},networkId:3,redFlags:[],rpc:["https://3.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ropsten.infura.io/v3/${INFURA_API_KEY}","wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rop",slip44:1,slug:"ropsten",status:"deprecated",testnet:!1,title:"Ethereum Testnet Ropsten"},hst={chain:"ETH",chainId:4,ens:{registry:"0xe7410170f87102df0055eb195163a03b7f2bff4a"},explorers:[{name:"etherscan-rinkeby",url:"https://rinkeby.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=4&address=${ADDRESS}","https://faucet.rinkeby.io"],features:[],infoURL:"https://www.rinkeby.io",name:"Rinkeby",nativeCurrency:{name:"Rinkeby Ether",symbol:"ETH",decimals:18},networkId:4,redFlags:[],rpc:["https://4.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.infura.io/v3/${INFURA_API_KEY}","wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rin",slip44:1,slug:"rinkeby",status:"deprecated",testnet:!0,title:"Ethereum Testnet Rinkeby"},mst={chain:"ETH",chainId:5,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan-goerli",url:"https://goerli.etherscan.io",standard:"EIP3091"},{name:"blockscout-goerli",url:"https://eth-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["http://fauceth.komputing.org?chain=5&address=${ADDRESS}","https://goerli-faucet.slock.it?address=${ADDRESS}","https://faucet.goerli.mudit.blog"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://goerli.net/#about",name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:5,redFlags:[],rpc:["https://5.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.infura.io/v3/${INFURA_API_KEY}","wss://goerli.infura.io/v3/${INFURA_API_KEY}","https://rpc.goerli.mudit.blog/","https://ethereum-goerli-rpc.publicnode.com","wss://ethereum-goerli-rpc.publicnode.com","https://goerli.gateway.tenderly.co","wss://goerli.gateway.tenderly.co"],shortName:"gor",slip44:1,slug:"goerli",status:"deprecated",testnet:!0,title:"Ethereum Testnet Goerli"},bst={chain:"ETC",chainId:6,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Kotti Testnet",nativeCurrency:{name:"Kotti Ether",symbol:"KOT",decimals:18},networkId:6,rpc:[],shortName:"kot",slip44:1,slug:"kotti-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Kotti Testnet"},yst={chain:"TCH",chainId:7,explorers:[{name:"Thaichain Explorer",url:"https://exp.thaichain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://thaichain.io",name:"ThaiChain",nativeCurrency:{name:"ThaiChain Ether",symbol:"TCH",decimals:18},networkId:7,rpc:["https://7.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dome.cloud","https://rpc.thaichain.org"],shortName:"tch",slug:"thaichain",testnet:!1},gst={chain:"UBQ",chainId:8,explorers:[{name:"ubiqscan",url:"https://ubiqscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ubiqsmart.com",name:"Ubiq",nativeCurrency:{name:"Ubiq Ether",symbol:"UBQ",decimals:18},networkId:8,rpc:["https://8.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octano.dev","https://pyrus2.ubiqscan.io"],shortName:"ubq",slip44:108,slug:"ubiq",testnet:!1},vst={chain:"UBQ",chainId:9,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ubiq Network Testnet",nativeCurrency:{name:"Ubiq Testnet Ether",symbol:"TUBQ",decimals:18},networkId:2,rpc:[],shortName:"tubq",slip44:1,slug:"ubiq-network-testnet",testnet:!0},SW={chain:"ETH",chainId:10,explorers:[{name:"etherscan",url:"https://optimistic.etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://optimism.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://optimism.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10,redFlags:[],rpc:["https://10.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://optimism-mainnet.infura.io/v3/${INFURA_API_KEY}","https://mainnet.optimism.io","https://optimism.publicnode.com","wss://optimism.publicnode.com","https://optimism.gateway.tenderly.co","wss://optimism.gateway.tenderly.co","https://optimism-rpc.publicnode.com","wss://optimism-rpc.publicnode.com","https://optimism.drpc.org","wss://optimism.drpc.org"],shortName:"oeth",slug:"optimism",testnet:!1},wst={chain:"META",chainId:11,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Mainnet",nativeCurrency:{name:"Metadium Mainnet Ether",symbol:"META",decimals:18},networkId:11,rpc:["https://11.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/prod"],shortName:"meta",slip44:916,slug:"metadium",testnet:!1},Tst={chain:"META",chainId:12,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Testnet",nativeCurrency:{name:"Metadium Testnet Ether",symbol:"KAL",decimals:18},networkId:12,rpc:["https://12.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/dev"],shortName:"kal",slip44:1,slug:"metadium-testnet",testnet:!0},xst={chain:"DIODE",chainId:13,explorers:[],faucets:[],infoURL:"https://diode.io/staging",name:"Diode Testnet Staging",nativeCurrency:{name:"Staging Diodes",symbol:"sDIODE",decimals:18},networkId:13,rpc:["https://13.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging.diode.io:8443/","wss://staging.diode.io:8443/ws"],shortName:"dstg",slip44:1,slug:"diode-testnet-staging",testnet:!0},Est={chain:"FLR",chainId:14,explorers:[{name:"blockscout",url:"https://flare-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://mainnet.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmbT52cCx4h1rcz6nXGfUPFdRyw1VfFMU8kKpY7YCtvUjs",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Mainnet",nativeCurrency:{name:"Flare",symbol:"FLR",decimals:18},networkId:14,rpc:["https://14.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flare-api.flare.network/ext/C/rpc","https://flare-bundler.etherspot.io","https://rpc.ankr.com/flare","https://01-gravelines-003-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-003-02.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/flare","https://flare.enosys.global/ext/C/rpc","https://flare.solidifi.app/ext/C/rpc"],shortName:"flr",slug:"flare",testnet:!1},_st={chain:"DIODE",chainId:15,explorers:[],faucets:[],infoURL:"https://diode.io/prenet",name:"Diode Prenet",nativeCurrency:{name:"Diodes",symbol:"DIODE",decimals:18},networkId:15,rpc:["https://15.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prenet.diode.io:8443/","wss://prenet.diode.io:8443/ws"],shortName:"diode",slug:"diode-prenet",testnet:!1},Ast={chain:"SGB",chainId:16,explorers:[{name:"blockscout",url:"https://coston-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmV5PVhxaT3ePRHYsH3aryEHin2c49W18xW3Xg4o171iYE",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Testnet Coston",nativeCurrency:{name:"Coston Flare",symbol:"CFLR",decimals:18},networkId:16,rpc:["https://16.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston-api.flare.network/ext/C/rpc","https://01-gravelines-004-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-004-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-004-03.rpc.tatum.io/ext/bc/C/rpc","https://coston.enosys.global/ext/C/rpc"],shortName:"cflr",slip44:1,slug:"songbird-testnet-coston",testnet:!0},Ist={chain:"TCH",chainId:17,explorers:[],faucets:[],infoURL:"https://exp.thaifi.com",name:"ThaiChain 2.0 ThaiFi",nativeCurrency:{name:"Thaifi Ether",symbol:"TFI",decimals:18},networkId:17,rpc:["https://17.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.thaifi.com"],shortName:"tfi",slug:"thaichain-2-0-thaifi",testnet:!1},Cst={chain:"TST",chainId:18,explorers:[{name:"thundercore-blockscout-testnet",url:"https://explorer-testnet.thundercore.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.thundercore.com"],infoURL:"https://thundercore.com",name:"ThunderCore Testnet",nativeCurrency:{name:"ThunderCore Testnet Token",symbol:"TST",decimals:18},networkId:18,rpc:["https://18.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.thundercore.com","https://thundercore-testnet.drpc.org","wss://thundercore-testnet.drpc.org"],shortName:"TST",slip44:1,slug:"thundercore-testnet",testnet:!0},kst={chain:"SGB",chainId:19,explorers:[{name:"blockscout",url:"https://songbird-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://songbird.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdpaH9pEFDXB4tUPxcqAHfB3Sfx3BQufz6EAzBWhHH6Ka",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Canary-Network",nativeCurrency:{name:"Songbird",symbol:"SGB",decimals:18},networkId:19,rpc:["https://19.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://songbird-api.flare.network/ext/C/rpc","https://01-gravelines-006-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-006-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-006-03.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/songbird","https://songbird.enosys.global/ext/C/rpc","https://songbird.solidifi.app/ext/C/rpc"],shortName:"sgb",slug:"songbird-canary-network",testnet:!1},Sst={chain:"ETH",chainId:20,explorers:[{name:"elastos esc explorer",url:"https://esc.elastos.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:20,rpc:["https://20.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.elastos.io/eth"],shortName:"esc",slug:"elastos-smart-chain",testnet:!1},Rst={chain:"ETH",chainId:21,explorers:[{name:"elastos esc explorer",url:"https://esc-testnet.elastos.io",standard:"EIP3091"}],faucets:["https://esc-faucet.elastos.io/"],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:21,rpc:["https://21.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-testnet.elastos.io/eth"],shortName:"esct",slug:"elastos-smart-chain-testnet",testnet:!0},Mst={chain:"ETH",chainId:22,explorers:[],faucets:[],infoURL:"https://www.elastos.org/",name:"ELA-DID-Sidechain Mainnet",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:22,rpc:[],shortName:"eladid",slug:"ela-did-sidechain",testnet:!1},Bst={chain:"ETH",chainId:23,explorers:[],faucets:[],infoURL:"https://elaeth.io/",name:"ELA-DID-Sidechain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:23,rpc:[],shortName:"eladidt",slip44:1,slug:"ela-did-sidechain-testnet",testnet:!0},Dst={chain:"KAI",chainId:24,explorers:[],faucets:[],icon:{url:"ipfs://QmXoHaZXJevc59GuzEgBhwRSH6kio1agMRvL8bD93pARRV",width:297,height:297,format:"png"},infoURL:"https://kardiachain.io",name:"KardiaChain Mainnet",nativeCurrency:{name:"KardiaChain",symbol:"KAI",decimals:18},networkId:0,redFlags:["reusedChainId"],rpc:["https://24.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kardiachain.io"],shortName:"kardiachain",slug:"kardiachain",testnet:!1},Pst={chain:"CRO",chainId:25,explorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org",standard:"none"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://cronos.org/",name:"Cronos Mainnet",nativeCurrency:{name:"Cronos",symbol:"CRO",decimals:18},networkId:25,redFlags:[],rpc:["https://25.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cronos.drpc.org","wss://cronos.drpc.org","https://cronos-evm-rpc.publicnode.com","wss://cronos-evm-rpc.publicnode.com","https://cronos.blockpi.network/v1/rpc/public","https://evm.cronos.org"],shortName:"cro",slug:"cronos",testnet:!1},Lst={chain:"genesis",chainId:26,explorers:[{name:"Genesis L1 testnet explorer",url:"https://testnet.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1 testnet",nativeCurrency:{name:"L1 testcoin",symbol:"L1test",decimals:18},networkId:26,rpc:["https://26.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.genesisl1.org"],shortName:"L1test",slip44:1,slug:"genesis-l1-testnet",testnet:!0},Fst={chain:"SHIB",chainId:27,explorers:[{name:"Shiba Explorer",url:"https://exp.shibchain.org",standard:"none"}],faucets:[],infoURL:"https://shibchain.org",name:"ShibaChain",nativeCurrency:{name:"SHIBA INU COIN",symbol:"SHIB",decimals:18},networkId:27,rpc:["https://27.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibchain.org"],shortName:"shib",slug:"shibachain",testnet:!1},Nst={chain:"ETH",chainId:28,explorers:[{name:"Blockscout",url:"https://blockexplorer.rinkeby.boba.network",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Rinkeby Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://gateway.rinkeby.boba.network"}]},redFlags:[],rpc:["https://28.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.boba.network/"],shortName:"BobaRinkeby",slip44:1,slug:"boba-network-rinkeby-testnet",status:"deprecated",testnet:!0},Ost={chain:"genesis",chainId:29,explorers:[{name:"Genesis L1 blockchain explorer",url:"https://explorer.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1",nativeCurrency:{name:"L1 coin",symbol:"L1",decimals:18},networkId:29,rpc:["https://29.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesisl1.org"],shortName:"L1",slug:"genesis-l1",testnet:!1},Ust={chain:"Rootstock",chainId:30,explorers:[{name:"blockscout",url:"https://rootstock.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"Rootstock Explorer",url:"https://explorer.rsk.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Mainnet",nativeCurrency:{name:"Smart Bitcoin",symbol:"RBTC",decimals:18},networkId:30,rpc:["https://30.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.rsk.co","https://mycrypto.rsk.co"],shortName:"rsk",slip44:137,slug:"rootstock",testnet:!1},Hst={chain:"Rootstock",chainId:31,explorers:[{name:"RSK Testnet Explorer",url:"https://explorer.testnet.rsk.co",standard:"EIP3091"}],faucets:["https://faucet.rsk.co/"],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Testnet",nativeCurrency:{name:"Testnet Smart Bitcoin",symbol:"tRBTC",decimals:18},networkId:31,rpc:["https://31.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.testnet.rsk.co","https://mycrypto.testnet.rsk.co"],shortName:"trsk",slip44:1,slug:"rootstock-testnet",testnet:!0},zst={chain:"GooD",chainId:32,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Testnet",nativeCurrency:{name:"GoodData Testnet Ether",symbol:"GooD",decimals:18},networkId:32,rpc:["https://32.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.goodata.io"],shortName:"GooDT",slip44:1,slug:"gooddata-testnet",testnet:!0},Wst={chain:"GooD",chainId:33,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Mainnet",nativeCurrency:{name:"GoodData Mainnet Ether",symbol:"GooD",decimals:18},networkId:33,rpc:["https://33.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.goodata.io"],shortName:"GooD",slug:"gooddata",testnet:!1},qst={chain:"SCAI",chainId:34,explorers:[{name:"SecureChain Mainnet",url:"https://explorer.securechain.ai",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Mainnet",nativeCurrency:{name:"SecureChain",symbol:"SCAI",decimals:18},networkId:34,redFlags:["reusedChainId"],rpc:["https://34.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scai.network"],shortName:"scai",slug:"securechain",testnet:!1},jst={chain:"TBWG",chainId:35,explorers:[],faucets:[],infoURL:"https://tbwg.io",name:"TBWG Chain",nativeCurrency:{name:"TBWG Ether",symbol:"TBG",decimals:18},networkId:35,rpc:["https://35.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tbwg.io"],shortName:"tbwg",slug:"tbwg-chain",testnet:!1},Gst={chain:"Dxchain",chainId:36,explorers:[{name:"dxscan",url:"https://dxscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYBup5bWoBfkaHntbcgW8Ji7ncad7f53deJ4Q55z4PNQs",width:128,height:128,format:"png"},infoURL:"https://www.dxchain.com/",name:"Dxchain Mainnet",nativeCurrency:{name:"Dxchain",symbol:"DX",decimals:18},networkId:36,rpc:["https://36.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.dxchain.com"],shortName:"dx",slug:"dxchain",testnet:!1},Kst={chain:"XPLA",chainId:37,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/mainnet",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Mainnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:37,redFlags:["reusedChainId"],rpc:["https://37.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-evm-rpc.xpla.dev"],shortName:"xpla",slug:"xpla",testnet:!1},Qst={chain:"VAL",chainId:38,explorers:[],faucets:[],infoURL:"https://valorbit.com",name:"Valorbit",nativeCurrency:{name:"Valorbit",symbol:"VAL",decimals:18},networkId:38,rpc:["https://38.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.valorbit.com/v2"],shortName:"val",slip44:538,slug:"valorbit",testnet:!1},Vst={chain:"u2u",chainId:39,explorers:[{name:"U2U Explorer",url:"https://u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"U2U Solaris Mainnet",nativeCurrency:{name:"Unicorn Ultra",symbol:"U2U",decimals:18},networkId:39,rpc:["https://39.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.uniultra.xyz"],shortName:"u2u",slug:"u2u-solaris",testnet:!1},Yst={chain:"TLOS",chainId:40,explorers:[{name:"teloscan",url:"https://teloscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Mainnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:40,redFlags:[],rpc:["https://40.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.telos.net/evm","https://telos.drpc.org","wss://telos.drpc.org"],shortName:"TelosEVM",slug:"telos-evm",testnet:!1},$st={chain:"TLOS",chainId:41,explorers:[{name:"teloscan",url:"https://testnet.teloscan.io",standard:"EIP3091"}],faucets:["https://app.telos.net/testnet/developers"],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Testnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:41,redFlags:[],rpc:["https://41.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.telos.net/evm","https://telos-testnet.drpc.org","wss://telos-testnet.drpc.org"],shortName:"TelosEVMTestnet",slip44:1,slug:"telos-evm-testnet",testnet:!0},Jst={chain:"LUKSO",chainId:42,explorers:[{name:"Blockscout",url:"https://explorer.execution.mainnet.lukso.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Mainnet",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},networkId:42,redFlags:["reusedChainId"],rpc:["https://42.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.lukso.network","wss://ws-rpc.mainnet.lukso.network"],shortName:"lukso",slug:"lukso",testnet:!1},Xst={chain:"pangolin",chainId:43,explorers:[{name:"subscan",url:"https://pangolin.subscan.io",standard:"EIP3091"}],faucets:["https://docs.darwinia.network/pangolin-testnet-1e9ac8b09e874e8abd6a7f18c096ca6a"],infoURL:"https://darwinia.network/",name:"Darwinia Pangolin Testnet",nativeCurrency:{name:"Pangolin Network Native Token",symbol:"PRING",decimals:18},networkId:43,rpc:["https://43.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangolin-rpc.darwinia.network"],shortName:"pangolin",slip44:1,slug:"darwinia-pangolin-testnet",testnet:!0},Zst={chain:"crab",chainId:44,explorers:[{name:"subscan",url:"https://crab.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://crab.network/",name:"Crab Network",nativeCurrency:{name:"Crab Network Native Token",symbol:"CRAB",decimals:18},networkId:44,rpc:["https://44.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://crab-rpc.darwinia.network","https://crab-rpc.darwiniacommunitydao.xyz"],shortName:"crab",slug:"crab-network",testnet:!1},eot={chain:"pangoro",chainId:45,explorers:[{name:"subscan",url:"https://pangoro.subscan.io",standard:"none"}],faucets:["https://docs.darwinia.network/pangoro-testnet-70cfec5dc9ca42759959ba3803edaec2"],infoURL:"https://darwinia.network/",name:"Darwinia Pangoro Testnet",nativeCurrency:{name:"Pangoro Network Native Token",symbol:"ORING",decimals:18},networkId:45,rpc:["https://45.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangoro-rpc.darwinia.network"],shortName:"pangoro",slip44:1,slug:"darwinia-pangoro-testnet",testnet:!0},tot={chain:"darwinia",chainId:46,explorers:[{name:"subscan",url:"https://darwinia.subscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://darwinia.network/",name:"Darwinia Network",nativeCurrency:{name:"Darwinia Network Native Token",symbol:"RING",decimals:18},networkId:46,rpc:["https://46.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.darwinia.network","https://darwinia-rpc.darwiniacommunitydao.xyz","https://darwinia-rpc.dwellir.com"],shortName:"darwinia",slug:"darwinia-network",testnet:!1},not={chain:"XPLA",chainId:47,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/testnet",standard:"none"}],faucets:["https://faucet.xpla.io/"],features:[],icon:{url:"ipfs://QmbvEAKZfgJckEziU3mpCwz6jqMeWRcLgd8TNsWA7g8sD9/xpla.png",width:512,height:512,format:"png"},infoURL:"https://xpla.io/",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:47,redFlags:["reusedChainId"],rpc:["https://47.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cube-evm-rpc.xpla.dev"],shortName:"xpla-test",slug:"xpla-testnet",testnet:!0},aot={chain:"ETMP",chainId:48,explorers:[{name:"etmpscan",url:"https://etmscan.network",standard:"EIP3091",icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Mainnet Proterozoic",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:48,rpc:["https://48.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etm.network"],shortName:"etmp",slug:"ennothem-proterozoic",testnet:!1},rot={chain:"ETMP",chainId:49,explorers:[{name:"etmp",url:"https://pioneer.etmscan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Testnet Pioneer",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:49,rpc:["https://49.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pioneer.etm.network"],shortName:"etmpTest",slip44:1,slug:"ennothem-testnet-pioneer",testnet:!0},fot={chain:"XDC",chainId:50,explorers:[{name:"xdcscan",url:"https://xdcscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://xdc.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Network",nativeCurrency:{name:"XinFin",symbol:"XDC",decimals:18},networkId:50,rpc:["https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc.xinfin.network","https://rpc.xinfin.network","https://rpc1.xinfin.network","https://rpc-xdc.icecreamswap.com"],shortName:"xdc",slug:"xdc-network",testnet:!1},iot={chain:"XDC",chainId:51,explorers:[{name:"xdcscan",url:"https://apothem.xinfinscan.com",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://apothem.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:["https://faucet.apothem.network"],features:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Apothem Network",nativeCurrency:{name:"XinFin",symbol:"TXDC",decimals:18},networkId:51,redFlags:[],rpc:["https://51.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apothem.xdcrpc.com","https://rpc.apothem.network","https://erpc.apothem.network"],shortName:"txdc",slug:"xdc-apothem-network",testnet:!1},sot={chain:"CSC",chainId:52,explorers:[{name:"coinexscan",url:"https://www.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Mainnet",nativeCurrency:{name:"CoinEx Chain Native Token",symbol:"cet",decimals:18},networkId:52,rpc:["https://52.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coinex.net"],shortName:"cet",slug:"coinex-smart-chain",testnet:!1},oot={chain:"CSC",chainId:53,explorers:[{name:"coinexscan",url:"https://testnet.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Testnet",nativeCurrency:{name:"CoinEx Chain Test Native Token",symbol:"cett",decimals:18},networkId:53,rpc:["https://53.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.coinex.net/"],shortName:"tcet",slip44:1,slug:"coinex-smart-chain-testnet",testnet:!0},cot={chain:"OPENPIECE",chainId:54,explorers:[{name:"Belly Scan",url:"https://bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Mainnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:54,rpc:["https://54.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.openpiece.io"],shortName:"OP",slug:"openpiece",testnet:!1},dot={chain:"ZYX",chainId:55,explorers:[{name:"zyxscan",url:"https://zyxscan.com",standard:"none"}],faucets:[],infoURL:"https://zyx.network/",name:"Zyx Mainnet",nativeCurrency:{name:"Zyx",symbol:"ZYX",decimals:18},networkId:55,rpc:["https://55.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.zyx.network/","https://rpc-2.zyx.network/","https://rpc-3.zyx.network/","https://rpc-4.zyx.network/","https://rpc-5.zyx.network/","https://rpc-6.zyx.network/"],shortName:"ZYX",slug:"zyx",testnet:!1},RHe={chain:"BSC",chainId:56,explorers:[{name:"bscscan",url:"https://bscscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://bnb.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:56,redFlags:[],rpc:["https://56.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bsc-dataseed1.bnbchain.org","https://bsc-dataseed2.bnbchain.org","https://bsc-dataseed3.bnbchain.org","https://bsc-dataseed4.bnbchain.org","https://bsc-dataseed1.defibit.io","https://bsc-dataseed2.defibit.io","https://bsc-dataseed3.defibit.io","https://bsc-dataseed4.defibit.io","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed2.ninicoin.io","https://bsc-dataseed3.ninicoin.io","https://bsc-dataseed4.ninicoin.io","https://bsc-rpc.publicnode.com","wss://bsc-rpc.publicnode.com","wss://bsc-ws-node.nariox.org"],shortName:"bnb",slip44:714,slug:"binance",testnet:!1},lot={chain:"SYS",chainId:57,explorers:[{name:"Syscoin Block Explorer",url:"https://explorer.syscoin.org",standard:"EIP3091"}],faucets:["https://faucet.syscoin.org"],infoURL:"https://www.syscoin.org",name:"Syscoin Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:57,rpc:["https://57.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syscoin.org","https://rpc.ankr.com/syscoin/${ANKR_API_KEY}","https://syscoin.public-rpc.com","wss://rpc.syscoin.org/wss","https://syscoin-evm.publicnode.com","wss://syscoin-evm.publicnode.com"],shortName:"sys",slug:"syscoin",testnet:!1},uot={chain:"Ontology",chainId:58,explorers:[{name:"explorer",url:"https://explorer.ont.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Mainnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:58,rpc:["https://58.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://dappnode1.ont.io:20339","http://dappnode2.ont.io:20339","http://dappnode3.ont.io:20339","http://dappnode4.ont.io:20339","https://dappnode1.ont.io:10339","https://dappnode2.ont.io:10339","https://dappnode3.ont.io:10339","https://dappnode4.ont.io:10339"],shortName:"OntologyMainnet",slug:"ontology",testnet:!1},pot={chain:"EOS",chainId:59,explorers:[],faucets:[],infoURL:"https://eosargentina.io",name:"EOS EVM Legacy",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:59,rpc:["https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.eosargentina.io"],shortName:"eos-legacy",slug:"eos-evm-legacy",status:"deprecated",testnet:!1},hot={chain:"GO",chainId:60,explorers:[{name:"GoChain Explorer",url:"https://explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain",nativeCurrency:{name:"GoChain Ether",symbol:"GO",decimals:18},networkId:60,rpc:["https://60.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gochain.io"],shortName:"go",slip44:6060,slug:"gochain",testnet:!1},mot={chain:"ETC",chainId:61,explorers:[{name:"etcnetworkinfo-blockscout-ethereum-classic",url:"https://explorer-blockscout.etc-network.info",standard:"none"},{name:"etcnetworkinfo-alethio-ethereum-classic",url:"https://explorer-alethio.etc-network.info",standard:"none"},{name:"etcnetworkinfo-expedition-ethereum-classic",url:"https://explorer-expedition.etc-network.info",standard:"none"},{name:"hebeblock-ethereum-classic",url:"https://etcerscan.com",standard:"EIP3091"},{name:"oklink-ethereum-classic",url:"https://www.oklink.com/etc",standard:"EIP3091"},{name:"tokenview-ethereum-classic",url:"https://etc.tokenview.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qme7PT7gidTzRuf3T2JdxQ64JeZPgFH7yNBB8mYoMPbpTe",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org",name:"Ethereum Classic",nativeCurrency:{name:"Ether",symbol:"ETC",decimals:18},networkId:61,redFlags:[],rpc:["https://61.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://etc.etcdesktop.com","https://etc.rivet.link","https://besu-at.etc-network.info","https://geth-at.etc-network.info","https://etc.mytokenpocket.vip"],shortName:"etc",slip44:61,slug:"ethereum-classic",status:"active",testnet:!1,title:"Ethereum Classic Mainnet"},bot={chain:"ETC",chainId:62,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Morden Testnet",nativeCurrency:{name:"Morden Ether",symbol:"TETC",decimals:18},networkId:2,rpc:[],shortName:"tetc",slip44:1,slug:"morden-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Morden Testnet"},yot={chain:"ETC",chainId:63,explorers:[{name:"blockscout-mordor",url:"https://etc-mordor.blockscout.com",standard:"EIP3091"},{name:"etcnetworkinfo-expedition-mordor",url:"https://explorer-expedition.etc-network.info/?network=Ethereum+Classic+at+etc-network.info+GETH+Mordor",standard:"none"}],faucets:["https://easy.hebeswap.com/#/faucet","https://faucet.mordortest.net"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Mordor Testnet",nativeCurrency:{name:"Mordor Ether",symbol:"METC",decimals:18},networkId:7,rpc:["https://63.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mordor.etccooperative.org","https://geth-mordor.etc-network.info"],shortName:"metc",slip44:1,slug:"mordor-testnet",status:"active",testnet:!0,title:"Ethereum Classic Mordor Testnet"},got={chain:"ELLA",chainId:64,explorers:[],faucets:[],infoURL:"https://ellaism.org",name:"Ellaism",nativeCurrency:{name:"Ellaism Ether",symbol:"ELLA",decimals:18},networkId:64,rpc:["https://64.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.ellaism.org"],shortName:"ellaism",slip44:163,slug:"ellaism",testnet:!1},vot={chain:"okexchain",chainId:65,explorers:[{name:"OKLink",url:"https://www.oklink.com/okexchain-test",standard:"EIP3091"}],faucets:["https://www.okex.com/drawdex"],infoURL:"https://www.okex.com/okexchain",name:"OKExChain Testnet",nativeCurrency:{name:"OKExChain Global Utility Token in testnet",symbol:"OKT",decimals:18},networkId:65,rpc:["https://65.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchaintestrpc.okex.org"],shortName:"tokt",slip44:1,slug:"okexchain-testnet",testnet:!0},wot={chain:"okxchain",chainId:66,explorers:[{name:"OKLink",url:"https://www.oklink.com/en/okc",standard:"EIP3091"}],faucets:[],infoURL:"https://www.okex.com/okc",name:"OKXChain Mainnet",nativeCurrency:{name:"OKXChain Global Utility Token",symbol:"OKT",decimals:18},networkId:66,rpc:["https://66.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchainrpc.okex.org","https://okc-mainnet.gateway.pokt.network/v1/lb/6275309bea1b320039c893ff"],shortName:"okt",slug:"okxchain",testnet:!1},Tot={chain:"DBM",chainId:67,explorers:[],faucets:[],infoURL:"http://test.dbmbp.com",name:"DBChain Testnet",nativeCurrency:{name:"DBChain Testnet",symbol:"DBM",decimals:18},networkId:67,rpc:["https://67.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://test-rpc.dbmbp.com"],shortName:"dbm",slip44:1,slug:"dbchain-testnet",testnet:!0},xot={chain:"SOTER",chainId:68,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:68,rpc:["https://68.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1",slug:"soterone",testnet:!1},Eot={chain:"ETH",chainId:69,explorers:[{name:"etherscan",url:"https://kovan-optimistic.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=69&address=${ADDRESS}"],infoURL:"https://optimism.io",name:"Optimism Kovan",nativeCurrency:{name:"Kovan Ether",symbol:"ETH",decimals:18},networkId:69,rpc:["https://69.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kovan.optimism.io/"],shortName:"okov",slip44:1,slug:"optimism-kovan",testnet:!0,title:"Optimism Testnet Kovan"},_ot={chain:"HSC",chainId:70,explorers:[{name:"hooscan",url:"https://www.hooscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hoosmartchain.com",name:"Hoo Smart Chain",nativeCurrency:{name:"Hoo Smart Chain Native Token",symbol:"HOO",decimals:18},networkId:70,rpc:["https://70.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hoosmartchain.com","https://http-mainnet2.hoosmartchain.com","wss://ws-mainnet.hoosmartchain.com","wss://ws-mainnet2.hoosmartchain.com"],shortName:"hsc",slip44:1170,slug:"hoo-smart-chain",testnet:!1},Aot={chain:"Conflux",chainId:71,explorers:[{name:"Conflux Scan",url:"https://evmtestnet.confluxscan.net",standard:"none"}],faucets:["https://faucet.confluxnetwork.org"],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace (Testnet)",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:71,rpc:["https://71.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmtestnet.confluxrpc.com"],shortName:"cfxtest",slug:"conflux-espace-testnet",testnet:!0},Iot={chain:"DxChain",chainId:72,explorers:[],faucets:["https://faucet.dxscan.io"],infoURL:"https://testnet.dxscan.io/",name:"DxChain Testnet",nativeCurrency:{name:"DxChain Testnet",symbol:"DX",decimals:18},networkId:72,rpc:["https://72.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-http.dxchain.com"],shortName:"dxc",slip44:1,slug:"dxchain-testnet",testnet:!0},Cot={chain:"FNCY",chainId:73,explorers:[{name:"fncy scan",url:"https://fncyscan.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan.fncy.world",name:"FNCY",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:73,rpc:["https://73.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-seed1.fncy.world"],shortName:"FNCY",slug:"fncy",testnet:!0},kot={chain:"IDChain",chainId:74,explorers:[{name:"explorer",url:"https://explorer.idchain.one",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZVwsY6HPXScKqZCA9SWNrr4jrQAHkPhVhMWi6Fj1DsrJ",width:162,height:129,format:"png"},infoURL:"https://idchain.one/begin/",name:"IDChain Mainnet",nativeCurrency:{name:"EIDI",symbol:"EIDI",decimals:18},networkId:74,rpc:["https://74.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://idchain.one/rpc/","wss://idchain.one/ws/"],shortName:"idchain",slug:"idchain",testnet:!1},Sot={chain:"DSC",chainId:75,explorers:[{name:"DSC Explorer Mainnet",url:"https://explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Mainnet",nativeCurrency:{name:"Decimal",symbol:"DEL",decimals:18},networkId:75,rpc:["https://75.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.decimalchain.com/web3/","https://node1-mainnet.decimalchain.com/web3/","https://node2-mainnet.decimalchain.com/web3/","https://node3-mainnet.decimalchain.com/web3/","https://node4-mainnet.decimalchain.com/web3/"],shortName:"DSC",slug:"decimal-smart-chain",testnet:!1},Rot={chain:"MIX",chainId:76,explorers:[],faucets:[],infoURL:"https://mix-blockchain.org",name:"Mix",nativeCurrency:{name:"Mix Ether",symbol:"MIX",decimals:18},networkId:76,rpc:["https://76.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.mix-blockchain.org:8647"],shortName:"mix",slip44:76,slug:"mix",testnet:!1},Mot={chain:"POA",chainId:77,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/sokol",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Sokol",nativeCurrency:{name:"POA Sokol Ether",symbol:"SPOA",decimals:18},networkId:77,rpc:["https://77.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sokol.poa.network","wss://sokol.poa.network/wss","ws://sokol.poa.network:8546"],shortName:"spoa",slug:"poa-network-sokol",testnet:!1},Bot={chain:"PC",chainId:78,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"PrimusChain mainnet",nativeCurrency:{name:"Primus Ether",symbol:"PETH",decimals:18},networkId:78,rpc:["https://78.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/mainnet"],shortName:"primuschain",slug:"primuschain",testnet:!1},Dot={chain:"Zenith",chainId:79,explorers:[{name:"zenith scan",url:"https://scan.zenithchain.co",standard:"EIP3091"}],faucets:[],infoURL:"https://www.zenithchain.co/",name:"Zenith Mainnet",nativeCurrency:{name:"ZENITH",symbol:"ZENITH",decimals:18},networkId:79,rpc:["https://79.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataserver-us-1.zenithchain.co/","https://dataserver-asia-3.zenithchain.co/","https://dataserver-asia-4.zenithchain.co/","https://dataserver-asia-2.zenithchain.co/","https://dataserver-asia-5.zenithchain.co/","https://dataserver-asia-6.zenithchain.co/","https://dataserver-asia-7.zenithchain.co/"],shortName:"zenith",slug:"zenith",testnet:!1},Pot={chain:"GeneChain",chainId:80,explorers:[{name:"GeneChain Scan",url:"https://scan.genechain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scan.genechain.io/",name:"GeneChain",nativeCurrency:{name:"RNA",symbol:"RNA",decimals:18},networkId:80,rpc:["https://80.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genechain.io"],shortName:"GeneChain",slug:"genechain",testnet:!1},Lot={chain:"JOC",chainId:81,explorers:[{name:"Block Explorer",url:"https://explorer.japanopenchain.org",standard:"EIP3091",icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"},infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Mainnet",nativeCurrency:{name:"Japan Open Chain Token",symbol:"JOC",decimals:18},networkId:81,redFlags:["reusedChainId"],rpc:["https://81.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.japanopenchain.org:8545","https://rpc-2.japanopenchain.org:8545"],shortName:"joc",slug:"japan-open-chain",testnet:!1},Fot={chain:"METER",chainId:82,explorers:[{name:"Meter Mainnet Scan",url:"https://scan.meter.io",standard:"EIP3091"}],faucets:["https://faucet.meter.io"],infoURL:"https://www.meter.io",name:"Meter Mainnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:82,rpc:["https://82.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meter.io"],shortName:"Meter",slug:"meter",testnet:!1},Not={chain:"METER Testnet",chainId:83,explorers:[{name:"Meter Testnet Scan",url:"https://scan-warringstakes.meter.io",standard:"EIP3091"}],faucets:["https://faucet-warringstakes.meter.io"],infoURL:"https://www.meter.io",name:"Meter Testnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:83,rpc:["https://83.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.meter.io"],shortName:"MeterTest",slip44:1,slug:"meter-testnet",testnet:!0},Oot={chain:"LNQ",chainId:84,explorers:[{name:"Linqto Devnet Explorer",url:"https://explorer.linqto-dev.com",standard:"EIP3091"}],faucets:[],infoURL:"https://linqto.com",name:"Linqto Devnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:84,rpc:["https://84.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linqto-dev.com"],shortName:"linqto-devnet",slug:"linqto-devnet",testnet:!1},Uot={chain:"GTTEST",chainId:85,explorers:[{name:"GateScan",url:"https://www.gatescan.org/testnet",standard:"EIP3091"}],faucets:["https://www.gatescan.org/testnet/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Testnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:85,rpc:["https://85.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gatenode.cc"],shortName:"gttest",slip44:1,slug:"gatechain-testnet",testnet:!0},Hot={chain:"GT",chainId:86,explorers:[{name:"GateScan",url:"https://www.gatescan.org",standard:"EIP3091"}],faucets:["https://www.gatescan.org/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Mainnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:86,rpc:["https://86.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.gatenode.cc"],shortName:"gt",slug:"gatechain",testnet:!1},zot={chain:"NNW",chainId:87,explorers:[{name:"novanetwork",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTTamJ55YGQwMboq4aqf3JjTEy5WDtjo4GBRQ5VdsWA6U",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nova Network",nativeCurrency:{name:"Supernova",symbol:"SNT",decimals:18},networkId:87,rpc:["https://87.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.novanetwork.io","https://0x57.redjackstudio.com","https://rpc.novanetwork.io:9070"],shortName:"nnw",slug:"nova-network",testnet:!1},Wot={chain:"Viction",chainId:88,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:88,rpc:["https://88.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.viction.xyz"],shortName:"vic",slip44:889,slug:"viction",testnet:!1},qot={chain:"Viction",chainId:89,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction Testnet",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:89,rpc:["https://89.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.viction.xyz"],shortName:"vict",slip44:1,slug:"viction-testnet",testnet:!0},jot={chain:"GAR",chainId:90,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:90,rpc:["https://90.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0.garizon.net/rpc"],shortName:"gar-s0",slug:"garizon-stage0",testnet:!1},Got={chain:"GAR",chainId:91,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:91,parent:{type:"shard",chain:"eip155-90"},rpc:["https://91.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1.garizon.net/rpc"],shortName:"gar-s1",slug:"garizon-stage1",testnet:!1},Kot={chain:"GAR",chainId:92,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:92,parent:{type:"shard",chain:"eip155-90"},rpc:["https://92.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.garizon.net/rpc"],shortName:"gar-s2",slug:"garizon-stage2",testnet:!1},Qot={chain:"GAR",chainId:93,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:93,parent:{type:"shard",chain:"eip155-90"},rpc:["https://93.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3.garizon.net/rpc"],shortName:"gar-s3",slug:"garizon-stage3",testnet:!1},Vot={chain:"SDLT",chainId:94,explorers:[{name:"SwissDLT Explorer",url:"https://explorer.swissdlt.ch",standard:"EIP3091",icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"},infoURL:"https://bcts.ch",name:"SwissDLT",nativeCurrency:{name:"BCTS",symbol:"BCTS",decimals:18},networkId:94,rpc:["https://94.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swissdlt.ch"],shortName:"sdlt",slug:"swissdlt",testnet:!1},Yot={chain:"CADL",chainId:95,explorers:[{name:"CamDL Block Explorer",url:"https://explorer.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Mainnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:95,redFlags:["reusedChainId"],rpc:["https://95.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.camdl.gov.kh/"],shortName:"camdl",slug:"camdl",status:"active",testnet:!1},$ot={chain:"BKC",chainId:96,explorers:[{name:"Bitkub Chain Explorer",url:"https://bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain",nativeCurrency:{name:"Bitkub Coin",symbol:"KUB",decimals:18},networkId:96,redFlags:["reusedChainId"],rpc:["https://96.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitkubchain.io","wss://wss.bitkubchain.io"],shortName:"bkc",slug:"bitkub-chain",testnet:!1},MHe={chain:"BSC",chainId:97,explorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:97,redFlags:[],rpc:["https://97.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-seed-prebsc-1-s1.bnbchain.org:8545","https://data-seed-prebsc-2-s1.bnbchain.org:8545","https://data-seed-prebsc-1-s2.bnbchain.org:8545","https://data-seed-prebsc-2-s2.bnbchain.org:8545","https://data-seed-prebsc-1-s3.bnbchain.org:8545","https://data-seed-prebsc-2-s3.bnbchain.org:8545","https://bsc-testnet-rpc.publicnode.com","wss://bsc-testnet-rpc.publicnode.com"],shortName:"bnbt",slip44:1,slug:"binance-testnet",testnet:!0},Jot={chain:"SIXNET",chainId:98,explorers:[{name:"SIX Scan",url:"https://sixscan.io/sixnet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol",nativeCurrency:{name:"SIX evm token",symbol:"SIX",decimals:18},networkId:98,rpc:["https://98.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sixnet-rpc-evm.sixprotocol.net"],shortName:"six",slug:"six-protocol",testnet:!1},Xot={chain:"POA",chainId:99,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/core",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Core",nativeCurrency:{name:"POA Network Core Ether",symbol:"POA",decimals:18},networkId:99,rpc:["https://99.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.poa.network"],shortName:"poa",slip44:178,slug:"poa-network-core",testnet:!1},Zot={chain:"GNO",chainId:100,explorers:[{name:"blockscout",url:"https://gnosis.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"gnosisscan",url:"https://gnosisscan.io",standard:"EIP3091"},{name:"dexguru",url:"https://gnosis.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://gnosisfaucet.com","https://stakely.io/faucet/gnosis-chain-xdai","https://faucet.prussia.dev/xdai"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis",nativeCurrency:{name:"xDAI",symbol:"XDAI",decimals:18},networkId:100,rpc:["https://100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gnosischain.com","https://rpc.gnosis.gateway.fm","https://rpc.ankr.com/gnosis","https://gnosischain-rpc.gateway.pokt.network","https://gnosis-mainnet.public.blastapi.io","https://gnosis.api.onfinality.io/public","https://gnosis.blockpi.network/v1/rpc/public","https://web3endpoints.com/gnosischain-mainnet","https://gnosis.oat.farm","wss://rpc.gnosischain.com/wss","https://gnosis-rpc.publicnode.com","wss://gnosis-rpc.publicnode.com"],shortName:"gno",slip44:700,slug:"gnosis",testnet:!1},e1t={chain:"ETI",chainId:101,explorers:[],faucets:[],infoURL:"https://einc.io",name:"EtherInc",nativeCurrency:{name:"EtherInc Ether",symbol:"ETI",decimals:18},networkId:1,rpc:["https://101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.einc.io/jsonrpc/mainnet"],shortName:"eti",slip44:464,slug:"etherinc",testnet:!1},t1t={chain:"Web3Games",chainId:102,explorers:[],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Testnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:102,rpc:["https://102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc-0.web3games.org/evm","https://testnet-rpc-1.web3games.org/evm","https://testnet-rpc-2.web3games.org/evm"],shortName:"tw3g",slip44:1,slug:"web3games-testnet",testnet:!0},n1t={chain:"Worldland",chainId:103,explorers:[{name:"Worldland Explorer",url:"https://scan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Mainnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:103,rpc:["https://103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seoul.worldland.foundation","https://seoul2.worldland.foundation"],shortName:"WLC",slug:"worldland",testnet:!1},a1t={chain:"tKLC",chainId:104,explorers:[{name:"kaibascan",url:"https://kaibascan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"},infoURL:"https://kaibadefi.com",name:"Kaiba Lightning Chain Testnet",nativeCurrency:{name:"Kaiba Testnet Token",symbol:"tKAIBA",decimals:18},networkId:104,rpc:["https://104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://klc.live/"],shortName:"tklc",slip44:1,slug:"kaiba-lightning-chain-testnet",testnet:!0},r1t={chain:"Web3Games",chainId:105,explorers:[{name:"Web3Games Explorer",url:"https://explorer-devnet.web3games.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Devnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:105,rpc:["https://105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.web3games.org/evm"],shortName:"dw3g",slug:"web3games-devnet",testnet:!1},f1t={chain:"Velas",chainId:106,explorers:[{name:"Velas Explorer",url:"https://evmexplorer.velas.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNXiCXJxEeBd7ZYGYjPSMTSdbDd2nfodLC677gUfk9ku5",width:924,height:800,format:"png"},infoURL:"https://velas.com",name:"Velas EVM Mainnet",nativeCurrency:{name:"Velas",symbol:"VLX",decimals:18},networkId:106,rpc:["https://106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],shortName:"vlx",slug:"velas-evm",testnet:!1},i1t={chain:"NTN",chainId:107,explorers:[{name:"nebulatestnet",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:["https://faucet.novanetwork.io"],icon:{url:"ipfs://QmeFaJtQqTKKuXQR7ysS53bLFPasFBcZw445cvYJ2HGeTo",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nebula Testnet",nativeCurrency:{name:"Nebula X",symbol:"NBX",decimals:18},networkId:107,rpc:["https://107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.novanetwork.io"],shortName:"ntn",slip44:1,slug:"nebula-testnet",testnet:!0},s1t={chain:"TT",chainId:108,explorers:[{name:"thundercore-viewblock",url:"https://viewblock.io/thundercore",standard:"EIP3091"}],faucets:[],infoURL:"https://thundercore.com",name:"ThunderCore Mainnet",nativeCurrency:{name:"ThunderCore Token",symbol:"TT",decimals:18},networkId:108,rpc:["https://108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.thundercore.com","https://mainnet-rpc.thundertoken.net","https://mainnet-rpc.thundercore.io"],shortName:"TT",slip44:1001,slug:"thundercore",testnet:!1},o1t={chain:"Shibarium",chainId:109,explorers:[{name:"Shibariumscan",url:"https://www.shibariumscan.io",standard:"EIP3091",icon:{url:"https://www.shibariumscan.io/assets/configs/network_icon_dark.png",width:360,height:360,format:"png"}}],faucets:[],features:[],icon:{url:"https://chewyswap.dog/images/chains/109.png",width:200,height:200,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,redFlags:[],rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibrpc.com","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},c1t={chain:"XPR",chainId:110,explorers:[],faucets:[],infoURL:"https://protonchain.com",name:"Proton Testnet",nativeCurrency:{name:"Proton",symbol:"XPR",decimals:4},networkId:110,rpc:["https://110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://protontestnet.greymass.com/"],shortName:"xpr",slip44:1,slug:"proton-testnet",testnet:!0},d1t={chain:"ETL",chainId:111,explorers:[],faucets:["https://etherlite.org/faucets"],icon:{url:"ipfs://QmbNAai1KnBnw4SPQKgrf6vBddifPCQTg2PePry1bmmZYy",width:88,height:88,format:"png"},infoURL:"https://etherlite.org",name:"EtherLite Chain",nativeCurrency:{name:"EtherLite",symbol:"ETL",decimals:18},networkId:111,rpc:["https://111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etherlite.org"],shortName:"ETL",slug:"etherlite-chain",testnet:!1},l1t={chain:"Coinbit",chainId:112,explorers:[{name:"blockscout",url:"https://coinbit-explorer.chain.sbcrypto.app",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdaQRUbAXJGfHeJ8jaB8WVh8CCmHExq8VjvAfXpLWWQEo",width:760,height:760,format:"png"},infoURL:"https://crypto.stockbit.com/",name:"Coinbit Mainnet",nativeCurrency:{name:"Gas IDR",symbol:"GIDR",decimals:18},networkId:112,rpc:["https://112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coinbit-rpc-mainnet.chain.sbcrypto.app"],shortName:"coinbit",slug:"coinbit",testnet:!1},u1t={chain:"Dehvo",chainId:113,explorers:[{name:"Dehvo Explorer",url:"https://explorer.dehvo.com",standard:"EIP3091"}],faucets:["https://buy.dehvo.com"],infoURL:"https://dehvo.com",name:"Dehvo",nativeCurrency:{name:"Dehvo",symbol:"Deh",decimals:18},networkId:113,rpc:["https://113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.dehvo.com","https://rpc.dehvo.com","https://rpc1.dehvo.com","https://rpc2.dehvo.com"],shortName:"deh",slip44:714,slug:"dehvo",testnet:!1},p1t={chain:"FLR",chainId:114,explorers:[{name:"blockscout",url:"https://coston2-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston2.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSmXY36oXCLmTp1u3Z2MSrBstBFVFyQv3aGKLKf1hxB6u",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Testnet Coston2",nativeCurrency:{name:"Coston2 Flare",symbol:"C2FLR",decimals:18},networkId:114,rpc:["https://114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston2-api.flare.network/ext/C/rpc","https://flaretestnet-bundler.etherspot.io","https://01-gravelines-005-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-005-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-005-03.rpc.tatum.io/ext/bc/C/rpc","https://coston2.enosys.global/ext/C/rpc"],shortName:"c2flr",slip44:1,slug:"flare-testnet-coston2",testnet:!0},h1t={chain:"DeBank",chainId:115,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet(Deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:115,rpc:[],shortName:"debank-testnet",slip44:1,slug:"debank-testnet-deprecated",status:"deprecated",testnet:!0},m1t={chain:"DeBank",chainId:116,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:116,rpc:[],shortName:"debank-mainnet",slug:"debank",status:"deprecated",testnet:!1},b1t={chain:"Uptick",chainId:117,explorers:[{name:"Uptick Explorer",url:"https://evm-explorer.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Uptick Mainnet",nativeCurrency:{name:"Uptick",symbol:"UPTICK",decimals:18},networkId:117,rpc:["https://117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.uptick.network"],shortName:"auptick",slug:"uptick",testnet:!1},y1t={chain:"Arcology",chainId:118,explorers:[{name:"arcology",url:"https://testnet.arcology.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmRD7itMvaZutfBjyA7V9xkMGDtsZiJSagPwd3ijqka8kE",width:288,height:288,format:"png"},infoURL:"https://arcology.network/",name:"Arcology Testnet",nativeCurrency:{name:"Arcology Coin",symbol:"Acol",decimals:18},networkId:118,rpc:["https://118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.arcology.network/rpc"],shortName:"arcology",slip44:1,slug:"arcology-testnet",testnet:!0},g1t={chain:"ENULS",chainId:119,explorers:[{name:"enulsscan",url:"https://evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Mainnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:119,rpc:["https://119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmapi.nuls.io","https://evmapi2.nuls.io"],shortName:"enuls",slug:"enuls",testnet:!1},v1t={chain:"ENULS",chainId:120,explorers:[{name:"enulsscan",url:"https://beta.evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:["http://faucet.nuls.io"],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Testnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:120,rpc:["https://120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.evmapi.nuls.io","https://beta.evmapi2.nuls.io"],shortName:"enulst",slip44:1,slug:"enuls-testnet",testnet:!0},w1t={chain:"REAL",chainId:121,explorers:[{name:"realscan",url:"https://rclscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.rclsidechain.com/",name:"Realchain Mainnet",nativeCurrency:{name:"Realchain",symbol:"REAL",decimals:18},networkId:121,rpc:["https://121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rcl-dataseed1.rclsidechain.com","https://rcl-dataseed2.rclsidechain.com","https://rcl-dataseed3.rclsidechain.com","https://rcl-dataseed4.rclsidechain.com","wss://rcl-dataseed1.rclsidechain.com/v1/","wss://rcl-dataseed2.rclsidechain.com/v1/","wss://rcl-dataseed3.rclsidechain.com/v1/","wss://rcl-dataseed4.rclsidechain.com/v1/"],shortName:"REAL",slip44:714,slug:"realchain",testnet:!1},T1t={chain:"FUSE",chainId:122,explorers:[{name:"blockscout",url:"https://explorer.fuse.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://fuse.io/",name:"Fuse Mainnet",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},networkId:122,redFlags:[],rpc:["https://122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fuse.io","https://fuse.drpc.org","wss://fuse.drpc.org"],shortName:"fuse",slug:"fuse",testnet:!1},x1t={chain:"fuse",chainId:123,explorers:[],faucets:["https://get.fusespark.io"],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://docs.fuse.io/general/fuse-network-blockchain/fuse-testnet",name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},networkId:123,redFlags:[],rpc:["https://123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fusespark.io"],shortName:"spark",slug:"fuse-sparknet",testnet:!0},E1t={chain:"DWU",chainId:124,explorers:[],faucets:[],infoURL:"https://decentralized-web.tech/dw_chain.php",name:"Decentralized Web Mainnet",nativeCurrency:{name:"Decentralized Web Utility",symbol:"DWU",decimals:18},networkId:124,rpc:["https://124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://decentralized-web.tech/dw_rpc.php"],shortName:"dwu",slug:"decentralized-web",testnet:!1},_1t={chain:"OYchain",chainId:125,explorers:[{name:"OYchain Testnet Explorer",url:"https://explorer.testnet.oychain.io",standard:"none"}],faucets:["https://faucet.oychain.io"],infoURL:"https://www.oychain.io",name:"OYchain Testnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:125,rpc:["https://125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oychain.io"],shortName:"OYchainTestnet",slip44:1,slug:"oychain-testnet",testnet:!0},A1t={chain:"OYchain",chainId:126,explorers:[{name:"OYchain Mainnet Explorer",url:"https://explorer.oychain.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXW5T2MaGHznXUmQEXoyJjcdmX7dhLbj5fnqvZZKqeKzA",width:677,height:237,format:"png"},infoURL:"https://www.oychain.io",name:"OYchain Mainnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:126,rpc:["https://126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oychain.io"],shortName:"OYchainMainnet",slip44:126,slug:"oychain",testnet:!1},I1t={chain:"FETH",chainId:127,explorers:[],faucets:[],infoURL:"https://www.factory127.com",name:"Factory 127 Mainnet",nativeCurrency:{name:"Factory 127 Token",symbol:"FETH",decimals:18},networkId:127,rpc:[],shortName:"feth",slip44:127,slug:"factory-127",testnet:!1},C1t={chain:"Heco",chainId:128,explorers:[{name:"hecoinfo",url:"https://hecoinfo.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hecochain.com",name:"Huobi ECO Chain Mainnet",nativeCurrency:{name:"Huobi ECO Chain Native Token",symbol:"HT",decimals:18},networkId:128,rpc:["https://128.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hecochain.com","wss://ws-mainnet.hecochain.com"],shortName:"heco",slip44:1010,slug:"huobi-eco-chain",testnet:!1},k1t={chain:"INNOVATOR",chainId:129,explorers:[{name:"Innovator Explorer",url:"https://evm.innovatorchain.com",standard:"none",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVJBGeFYZXMQqicNdzctMfvPN5CrtRrfZBTw3CEpkCBsS",width:1500,height:1500,format:"png"},infoURL:"https://innovatorchain.com",name:"Innovator Chain",nativeCurrency:{name:"INOV8",symbol:"INOV8",decimals:18},networkId:129,rpc:["https://129.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.innovatorchain.com"],shortName:"Innovator",slug:"innovator-chain",testnet:!1},S1t={chain:"tGRAM",chainId:131,explorers:[{name:"blockscout",url:"https://tokioscan-v2.engram.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"},infoURL:"https://engramnet.io",name:"Engram Testnet",nativeCurrency:{name:"Engram Tokio Testnet",symbol:"tGRAM",decimals:18},networkId:131,rpc:["https://131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tokioswift.engram.tech","https://tokio-archive.engram.tech"],shortName:"tgram",slug:"engram-testnet",testnet:!0},R1t={chain:"NFIC",chainId:132,explorers:[],faucets:[],infoURL:"https://namefi.io/",name:"Namefi Chain Mainnet",nativeCurrency:{name:"Namefi Coin",symbol:"NFIC",decimals:18},networkId:132,rpc:["https://132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.namefi.io"],shortName:"nfic",slug:"namefi-chain",testnet:!1},M1t={chain:"HashKey Chain Testnet",chainId:133,explorers:[],faucets:[],infoURL:"https://hashkey.cloud",name:"HashKey Chain Testnet",nativeCurrency:{name:"HashKey EcoPoints",symbol:"HSK",decimals:18},networkId:133,parent:{type:"L2",chain:"eip155-11155111"},rpc:[],shortName:"HSKT",slug:"hashkey-chain-testnet",testnet:!0,title:"HashKey Chain Testnet"},B1t={chain:"Bellecour",chainId:134,explorers:[{name:"blockscout",url:"https://blockscout.bellecour.iex.ec",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUYKpVmZL4aS3TEZLG5wbrRJ6exxLiwm1rejfGYYNicfb",width:155,height:155,format:"png"},infoURL:"https://iex.ec",name:"iExec Sidechain",nativeCurrency:{name:"xRLC",symbol:"xRLC",decimals:18},networkId:134,rpc:["https://134.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bellecour.iex.ec"],shortName:"rlc",slug:"iexec-sidechain",testnet:!1},D1t={chain:"Alyx Chain Testnet",chainId:135,explorers:[{name:"alyx testnet scan",url:"https://testnet.alyxscan.com",standard:"EIP3091"}],faucets:["https://faucet.alyxchain.com"],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Chain Testnet",nativeCurrency:{name:"Alyx Testnet Native Token",symbol:"ALYX",decimals:18},networkId:135,rpc:["https://135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alyxchain.com"],shortName:"AlyxTestnet",slip44:1,slug:"alyx-chain-testnet",testnet:!0},P1t={chain:"Deamchain",chainId:136,explorers:[{name:"Deamchain Block Explorer",url:"https://scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Mainnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:136,rpc:["https://136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.deamchain.com"],shortName:"deam",slug:"deamchain",testnet:!1},Q7={chain:"Polygon",chainId:137,explorers:[{name:"polygonscan",url:"https://polygonscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://polygon.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Mainnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:137,redFlags:[],rpc:["https://137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polygon-mainnet.infura.io/v3/${INFURA_API_KEY}","https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://polygon-rpc.com/","https://rpc-mainnet.matic.network","https://matic-mainnet.chainstacklabs.com","https://rpc-mainnet.maticvigil.com","https://rpc-mainnet.matic.quiknode.pro","https://matic-mainnet-full-rpc.bwarelabs.com","https://polygon-bor-rpc.publicnode.com","wss://polygon-bor-rpc.publicnode.com","https://polygon.gateway.tenderly.co","wss://polygon.gateway.tenderly.co","https://polygon.drpc.org","wss://polygon.drpc.org"],shortName:"matic",slip44:966,slug:"polygon",testnet:!1},L1t={chain:"dfiometa",chainId:138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Blockscout Explorer",url:"https://blockscout.defi-oracle.io",standard:"none"},{name:"Quorum Explorer",url:"https://explorer.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://info.defi-oracle.io/",name:"Defi Oracle Meta Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,rpc:["https://138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-oracle.io","wss://wss.defi-oracle.io"],shortName:"dfio-meta-main",slip44:60,slug:"defi-oracle-meta",testnet:!1},F1t={chain:"WOOP",chainId:139,explorers:[{name:"wikiwoop",url:"https://explorer.wikiwoop.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qma7LpnkGjAN1dwL6VTXUYqzySNxjLg4br7J8UE4yZWYec",width:310,height:310,format:"png"},infoURL:"https://wikiwoop.com",name:"WoopChain Mainnet",nativeCurrency:{name:"WoopCoin",symbol:"WOOC",decimals:18},networkId:139,rpc:["https://139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.woop.ai/rpc"],shortName:"woop",slug:"woopchain",testnet:!1},N1t={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"Eternal Mainnet",nativeCurrency:{name:"Eternal",symbol:"Eter",decimals:18},networkId:140,rpc:["https://140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eternalcoin.io/v1","ws://mainnet.eternalcoin.io/v1/ws"],shortName:"Eter",slug:"eternal",testnet:!1},O1t={chain:"OPENPIECE",chainId:141,explorers:[{name:"Belly Scan",url:"https://testnet.bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Testnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:141,rpc:["https://141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.openpiece.io"],shortName:"OPtest",slip44:1,slug:"openpiece-testnet",testnet:!0},U1t={chain:"DAX",chainId:142,explorers:[],faucets:[],infoURL:"https://prodax.io/",name:"DAX CHAIN",nativeCurrency:{name:"Prodax",symbol:"DAX",decimals:18},networkId:142,rpc:["https://142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.prodax.io"],shortName:"dax",slug:"dax-chain",testnet:!1},H1t={chain:"PHI",chainId:144,explorers:[{name:"Phiscan",url:"https://phiscan.com",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network v2",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:144,rpc:["https://144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.phi.network"],shortName:"PHI",slug:"phi-network-v2",testnet:!1},z1t={chain:"SETH",chainId:145,explorers:[{name:"blockscout",url:"https://explorer.soraai.bot",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://soraai.bot",name:"SoraAI Testnet",nativeCurrency:{name:"SoraETH",symbol:"SETH",decimals:18},networkId:145,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.soraai.bot"}]},rpc:["https://145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.soraai.bot"],shortName:"SETH",slip44:1,slug:"soraai-testnet",testnet:!0},jse={chain:"Flag",chainId:147,explorers:[{name:"Flag Mainnet Explorer",url:"https://flagscan.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://flagscan.xyz",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"FLAG",decimals:18},networkId:147,rpc:["https://147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.flagscan.xyz"],shortName:"FLAG",slug:"flag",testnet:!1},W1t={chain:"ShimmerEVM",chainId:148,explorers:[{name:"explorer",url:"https://explorer.evm.shimmer.network",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:148,rpc:["https://148.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.shimmer.network"],shortName:"shimmerevm",slug:"shimmerevm",testnet:!1,title:"ShimmerEVM"},q1t={chain:"FIVENET",chainId:150,explorers:[{name:"SIX Scan fivenet",url:"https://sixscan.io/fivenet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:["https://faucet.sixprotocol.net"],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol Testnet",nativeCurrency:{name:"SIX testnet evm token",symbol:"tSIX",decimals:18},networkId:150,rpc:["https://150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm.fivenet.sixprotocol.net"],shortName:"sixt",slug:"six-protocol-testnet",testnet:!0},j1t={chain:"RBN",chainId:151,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Mainnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:151,rpc:[],shortName:"rbn",slip44:824,slug:"redbelly-network",status:"incubating",testnet:!1},G1t={chain:"RBN",chainId:152,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Devnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:152,rpc:[],shortName:"rbn-devnet",slug:"redbelly-network-devnet",status:"incubating",testnet:!1},K1t={chain:"RBN",chainId:153,explorers:[{name:"Redbelly Network Testnet Explorer",url:"https://explorer.testnet.redbelly.network",standard:"none"}],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Testnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:153,rpc:["https://153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://governors.testnet.redbelly.network"],shortName:"rbn-testnet",slip44:1,slug:"redbelly-network-testnet",status:"active",testnet:!0},Q1t={chain:"RBN",chainId:154,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network TGE",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:154,rpc:[],shortName:"rbn-tge",slug:"redbelly-network-tge",testnet:!1},V1t={chain:"TENET",chainId:155,explorers:[{name:"TenetScan Testnet",url:"https://testnet.tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:["https://faucet.testnet.tenet.org"],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet Testnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:155,rpc:["https://155.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tenet.org"],shortName:"tenet-testnet",slip44:1,slug:"tenet-testnet",testnet:!0,title:"Tenet Testnet"},Y1t={chain:"OEBt",chainId:156,explorers:[{name:"OEScan explorer",url:"https://testnet.oescan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdoQUfYqtkWMfjtoPv2KWDY4MxDDSsyWgwXtCx6jfkezz",width:155,height:177,format:"png"},infoURL:"https://www.oeblock.com/",name:"OEBlock Testnet",nativeCurrency:{name:"OEBlock",symbol:"OEB",decimals:18},networkId:156,rpc:["https://156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oeblock.com"],shortName:"obe",slip44:1,slug:"oeblock-testnet",testnet:!0},$1t={chain:"Puppynet Shibarium",chainId:157,explorers:[{name:"puppyscan",url:"https://puppyscan.shib.io",standard:"none"}],faucets:["https://beta.shibariumtech.com/faucet"],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Puppynet Shibarium",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:157,rpc:["https://157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"puppynet",slug:"puppynet-shibarium",testnet:!1},J1t={chain:"RBA",chainId:158,explorers:[{name:"Rbascan Explorer",url:"https://rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Mainnet",nativeCurrency:{name:"Roburna",symbol:"RBA",decimals:18},networkId:158,rpc:["https://158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.roburna.com"],shortName:"rba",slug:"roburna",testnet:!1},X1t={chain:"RBAT",chainId:159,explorers:[{name:"Rbascan Testnet Explorer",url:"https://testnet.rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Testnet",nativeCurrency:{name:"Roburna",symbol:"RBAT",decimals:18},networkId:159,rpc:["https://159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://preseed-testnet-1.roburna.com"],shortName:"rbat",slug:"roburna-testnet",testnet:!0},Z1t={chain:"Eva",chainId:160,explorers:[],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Mainnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:160,rpc:["https://160.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evascan.io/api/eth-rpc/"],shortName:"eva",slug:"armonia-eva-chain",status:"incubating",testnet:!1},ect={chain:"Wall-e",chainId:161,explorers:[{name:"blockscout - evascan",url:"https://testnet.evascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Testnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:161,rpc:["https://161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evascan.io/api/eth-rpc/"],shortName:"wall-e",slip44:1,slug:"armonia-eva-chain-testnet",testnet:!0},tct={chain:"PHT",chainId:162,explorers:[],faucets:["https://discuss.lightstreams.network/t/request-test-tokens"],infoURL:"https://explorer.sirius.lightstreams.io",name:"Lightstreams Testnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:162,rpc:["https://162.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sirius.lightstreams.io"],shortName:"tpht",slip44:1,slug:"lightstreams-testnet",testnet:!0},nct={chain:"PHT",chainId:163,explorers:[],faucets:[],infoURL:"https://explorer.lightstreams.io",name:"Lightstreams Mainnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:163,rpc:["https://163.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.lightstreams.io"],shortName:"pht",slug:"lightstreams",testnet:!1},act={chain:"Omni",chainId:164,explorers:[{name:"Omni X-Explorer",url:"https://explorer.testnet.omni.network",standard:"none"},{name:"Omni EVM Explorer on Blockscout",url:"https://omni-testnet.blockscout.com",standard:"EIP3091"},{name:"Omni EVM Explorer on Routescan",url:"https://testnet.omniscan.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network",name:"Omni Testnet",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:164,rpc:["https://164.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.omni.network"],shortName:"omni_testnet",slip44:1,slug:"omni-testnet",status:"active",testnet:!0},rct={chain:"Omni",chainId:165,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni Testnet (Deprecated)",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:165,rpc:[],shortName:"omni_testnet_deprecated",slip44:1,slug:"omni-testnet-deprecated",status:"deprecated",testnet:!0},fct={chain:"Omni",chainId:166,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:166,rpc:[],shortName:"omni",slip44:1,slug:"omni",status:"incubating",testnet:!1},ict={chain:"ATOSHI",chainId:167,explorers:[{name:"atoshiscan",url:"https://scan.atoverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfFK6B4MFLrpSS46aLf7hjpt28poHFeTGEKEuH248Tbyj",width:200,height:200,format:"png"},infoURL:"https://atoshi.org",name:"Atoshi Testnet",nativeCurrency:{name:"ATOSHI",symbol:"ATOS",decimals:18},networkId:167,rpc:["https://167.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.atoshi.io/"],shortName:"atoshi",slip44:1,slug:"atoshi-testnet",testnet:!0},sct={chain:"AIOZ",chainId:168,explorers:[{name:"AIOZ Network Explorer",url:"https://explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network",nativeCurrency:{name:"AIOZ",symbol:"AIOZ",decimals:18},networkId:168,rpc:["https://168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-dataseed.aioz.network"],shortName:"aioz",slip44:60,slug:"aioz-network",testnet:!1},oct={chain:"Manta Pacific",chainId:169,explorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://pacific-info.manta.network",name:"Manta Pacific Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:169,rpc:["https://169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.manta.network/http","https://manta-pacific.drpc.org","wss://manta-pacific.drpc.org"],shortName:"manta",slug:"manta-pacific",testnet:!1},cct={chain:"ETH",chainId:170,explorers:[],faucets:["https://faucet-testnet.hscscan.com/"],infoURL:"https://www.hoosmartchain.com",name:"HOO Smart Chain Testnet",nativeCurrency:{name:"HOO",symbol:"HOO",decimals:18},networkId:170,rpc:["https://170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hoosmartchain.com"],shortName:"hoosmartchain",slip44:1,slug:"hoo-smart-chain-testnet",testnet:!0},dct={chain:"Resil",chainId:172,explorers:[],faucets:["https://faucet.latam-blockchain.com"],infoURL:"https://latam-blockchain.com",name:"Latam-Blockchain Resil Testnet",nativeCurrency:{name:"Latam-Blockchain Resil Test Native Token",symbol:"usd",decimals:18},networkId:172,rpc:["https://172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.latam-blockchain.com","wss://ws.latam-blockchain.com"],shortName:"resil",slip44:1,slug:"latam-blockchain-resil-testnet",testnet:!0},lct={chain:"dcchain",chainId:176,explorers:[{name:"dcscan",url:"https://exp.dcnetio.cloud",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQsNtUoaKUHWaxFMBuCQwkX9WmKHz7iNotcZTFkWo7Qgt",width:1020,height:1022,format:"png"},infoURL:"https://www.dcnetio.cloud",name:"DC Mainnet",nativeCurrency:{name:"DC Native Token",symbol:"DCT",decimals:18},networkId:176,rpc:["https://176.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcnetio.cloud","wss://ws.dcnetio.cloud"],shortName:"dcchain",slug:"dc",testnet:!1},uct={chain:"AME",chainId:180,explorers:[{name:"AME Scan",url:"https://amescan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amechain.io/",name:"AME Chain Mainnet",nativeCurrency:{name:"AME",symbol:"AME",decimals:18},networkId:180,rpc:["https://180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amechain.io/"],shortName:"ame",slug:"ame-chain",testnet:!1},pct={chain:"Waterfall Network",chainId:181,explorers:[],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:181,rpc:["https://181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.waterfall.network/"],shortName:"water",slug:"waterfall-network",testnet:!1},hct={chain:"ETH",chainId:185,explorers:[{name:"blockscout",url:"https://explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",width:96,height:96,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:185,rpc:["https://185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mintchain.io","https://global.rpc.mintchain.io","https://asia.rpc.mintchain.io"],shortName:"mint",slug:"mint",testnet:!1},mct={chain:"Seele",chainId:186,explorers:[{name:"seeleview",url:"https://seeleview.net",standard:"none"}],faucets:[],infoURL:"https://seelen.pro/",name:"Seele Mainnet",nativeCurrency:{name:"Seele",symbol:"Seele",decimals:18},networkId:186,rpc:["https://186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.seelen.pro/"],shortName:"Seele",slug:"seele",testnet:!1},bct={chain:"BMC",chainId:188,explorers:[{name:"Blockmeta",url:"https://bmc.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Mainnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:188,rpc:["https://188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bmcchain.com/"],shortName:"BMC",slug:"bmc",testnet:!1},yct={chain:"BMC",chainId:189,explorers:[{name:"Blockmeta",url:"https://bmctestnet.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Testnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:189,rpc:["https://189.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bmcchain.com"],shortName:"BMCT",slip44:1,slug:"bmc-testnet",testnet:!0},gct={chain:"FFG",chainId:191,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihsas2rwakc7lllmtb4pcgwutlel2woibmqmhd4aiin342zgtpmwy",width:512,height:512,format:"png"},infoURL:"https://filefilego.com",name:"FileFileGo",nativeCurrency:{name:"FFG",symbol:"FFG",decimals:18},networkId:191,rpc:["https://191.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filefilego.com/rpc"],shortName:"ffg",slug:"filefilego",testnet:!1},vct={chain:"CEM",chainId:193,explorers:[{name:"cemscan",url:"https://cemscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://cemblockchain.com/",name:"Crypto Emergency",nativeCurrency:{name:"Crypto Emergency",symbol:"CEM",decimals:18},networkId:193,rpc:["https://193.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cemchain.com"],shortName:"cem",slug:"crypto-emergency",testnet:!1},wct={chain:"X Layer",chainId:195,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer-test",standard:"EIP3091"}],faucets:["https://www.okx.com/xlayer/faucet"],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Testnet",nativeCurrency:{name:"X Layer Global Utility Token in testnet",symbol:"OKB",decimals:18},networkId:195,rpc:["https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.xlayer.tech","https://xlayertestrpc.okx.com"],shortName:"tokb",slip44:1,slug:"x-layer-testnet",status:"active",testnet:!0},Tct={chain:"X Layer",chainId:196,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Mainnet",nativeCurrency:{name:"X Layer Global Utility Token",symbol:"OKB",decimals:18},networkId:196,rpc:["https://196.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xlayer.tech","https://xlayerrpc.okx.com"],shortName:"okb",slug:"x-layer",status:"active",testnet:!1},xct={chain:"NEUTR",chainId:197,explorers:[{name:"blockscout",url:"https://testnet.neutrinoschain.com",standard:"EIP3091"}],faucets:["https://neutrinoschain.com/faucet"],infoURL:"https://docs.neutrinoschain.com",name:"Neutrinos TestNet",nativeCurrency:{name:"Neutrinos",symbol:"NEUTR",decimals:18},networkId:197,rpc:["https://197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.neutrinoschain.com"],shortName:"NEUTR",slip44:1,slug:"neutrinos-testnet",testnet:!0},Ect={chain:"Bit",chainId:198,explorers:[{name:"Bitchain Scan",url:"https://explorer.bitchain.biz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.bitchain.biz/",name:"Bitchain Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:198,rpc:["https://198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitchain.biz/"],shortName:"bit",slug:"bitchain",testnet:!1},_ct={chain:"BTTC",chainId:199,explorers:[{name:"BitTorrent Chain Explorer",url:"https://bttcscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bt.io",name:"BitTorrent Chain Mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:199,rpc:["https://199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bt.io","https://bittorrent.drpc.org","wss://bittorrent.drpc.org"],shortName:"BTT",slug:"bittorrent-chain",testnet:!1},Act={chain:"AOX",chainId:200,explorers:[{name:"blockscout",url:"https://blockscout.com/xdai/arbitrum",standard:"EIP3091"}],faucets:[],infoURL:"https://xdaichain.com",name:"Arbitrum on xDai",nativeCurrency:{name:"xDAI",symbol:"xDAI",decimals:18},networkId:200,parent:{type:"L2",chain:"eip155-100"},rpc:["https://200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum.xdaichain.com/"],shortName:"aox",slug:"arbitrum-on-xdai",testnet:!1},Ict={chain:"MOAC",chainId:201,explorers:[{name:"moac testnet explorer",url:"https://testnet.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC testnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:201,rpc:["https://201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.moac.io/testnet"],shortName:"moactest",slip44:1,slug:"moac-testnet",testnet:!0},Cct={chain:"EdgelessTestnet",chainId:202,explorers:[{name:"Edgeless Explorer",url:"https://testnet.explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:202,rpc:["https://202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.edgeless.network/http"],shortName:"edgeless-testnet",slug:"edgeless-testnet",testnet:!0},kct={chain:"opBNB",chainId:204,explorers:[{name:"opbnbscan",url:"https://mainnet.opbnbscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXxTwwfYzagtJqvWreUDoq4pKz3A22YmAi7c3hcgZp5Rt/bnb-bnb-logo.png",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:204,redFlags:[],rpc:["https://204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-mainnet-rpc.bnbchain.org","https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-mainnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-mainnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-rpc.publicnode.com","wss://opbnb-rpc.publicnode.com","https://opbnb.drpc.org","wss://opbnb.drpc.org"],shortName:"obnb",slip44:714,slug:"opbnb",testnet:!1},Sct={chain:"VinuChain Testnet",chainId:206,explorers:[{name:"VinuScan Testnet",url:"https://testnet.vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",width:2e3,height:392,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Testnet",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:206,rpc:["https://206.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinufoundation-rpc.com"],shortName:"VCTEST",slip44:1,slug:"vinuchain-testnet",testnet:!0},Rct={chain:"VinuChain",chainId:207,explorers:[{name:"VinuScan",url:"https://vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafybeiderli6uaaxk7eboyf7g4abnybgrkbglmqbkmf25z57ode7zdzmvy",width:613,height:613,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Network",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:207,rpc:["https://207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinuchain-rpc.com"],shortName:"VC",slug:"vinuchain-network",testnet:!1},Mct={chain:"utx",chainId:208,explorers:[],faucets:[],infoURL:"https://structx.io",name:"Structx Mainnet",nativeCurrency:{name:"Notes",symbol:"utx",decimals:18},networkId:208,rpc:["https://208.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.structx.io"],shortName:"utx",slug:"structx",testnet:!1},Bct={chain:"BTN",chainId:210,explorers:[{name:"Bitnet Explorer",url:"https://btnscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS9h3nFiCzaBLnBNw8Wot4U7vvEVK45EQfi8nxH4nvrmz",width:512,height:512,format:"png"},infoURL:"https://bitnet.money",name:"Bitnet",nativeCurrency:{name:"Bitnet",symbol:"BTN",decimals:18},networkId:210,rpc:["https://210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitnet.money","https://rpc.btnscan.com"],shortName:"BTN",slug:"bitnet",testnet:!1},Dct={chain:"EDI",chainId:211,explorers:[],faucets:["http://faucet.freight.sh"],infoURL:"https://freighttrust.com",name:"Freight Trust Network",nativeCurrency:{name:"Freight Trust Native",symbol:"0xF",decimals:18},networkId:0,rpc:["https://211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://13.57.207.168:3435","https://app.freighttrust.net/ftn/${API_KEY}"],shortName:"EDI",slug:"freight-trust-network",testnet:!1},Pct={chain:"MAPO",chainId:212,explorers:[{name:"maposcan",url:"https://testnet.maposcan.io",standard:"EIP3091"}],faucets:["https://faucet.mapprotocol.io"],infoURL:"https://mapprotocol.io/",name:"MAPO Makalu",nativeCurrency:{name:"Makalu MAPO",symbol:"MAPO",decimals:18},networkId:212,rpc:["https://212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.maplabs.io"],shortName:"makalu",slug:"mapo-makalu",testnet:!0,title:"MAPO Testnet Makalu"},Lct={chain:"B2",chainId:213,explorers:[{name:"B2 Hub Mainnet Explorer",url:"https://hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Mainnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:213,rpc:["https://213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hub-rpc.bsquared.network"],shortName:"B2Hub-mainnet",slug:"b2-hub",testnet:!1},Fct={chain:"Shinarium",chainId:214,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Mainnet",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:214,rpc:["https://214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.shinarium.org"],shortName:"shinarium",slug:"shinarium",testnet:!1},Nct={chain:"SIN2",chainId:217,explorers:[{name:"siriusnet explorer",url:"https://scan.siriusnet.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeicxuxdzrzpwsil4owqmn7wpwka2rqsohpfqmukg57pifzyxr5om2q",width:100,height:100,format:"png"},infoURL:"https://siriusnet.io",name:"SiriusNet V2",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:217,rpc:["https://217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.siriusnet.io"],shortName:"SIN2",slug:"siriusnet-v2",testnet:!1},Oct={chain:"SOTER",chainId:218,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet old",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:218,rpc:["https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1-old",slug:"soterone-old",status:"deprecated",testnet:!1},Uct={chain:"Flag",chainId:220,explorers:[{name:"flagscan",url:"https://scan.flagscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:200,height:200,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"Flag",decimals:18},networkId:220,redFlags:[],rpc:["https://220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.flagscan.io/"],shortName:"Flag",slug:"flag-flag",testnet:!1},Hct={chain:"ASK",chainId:222,explorers:[],faucets:[],infoURL:"https://permission.io/",name:"Permission",nativeCurrency:{name:"ASK",symbol:"ASK",decimals:18},networkId:2221,rpc:["https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain-api-mainnet.permission.io/rpc"],shortName:"ASK",slip44:2221,slug:"permission",status:"deprecated",testnet:!1},zct={chain:"B2",chainId:223,explorers:[{name:"blockscout",url:"https://explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:223,parent:{type:"L2",chain:"eip155-213",bridges:[{url:"https://www.bsquared.network/bridge"}]},rpc:["https://223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.b2-rpc.com","https://rpc.bsquared.network","https://b2-mainnet.alt.technology","https://b2-mainnet-public.s.chainbase.com"],shortName:"B2-mainnet",slug:"b2",testnet:!1,title:"B2 Mainnet"},Wct={chain:"VRD",chainId:224,explorers:[{name:"Viridis Testnet",url:"https://testnet.vrd.network",standard:"EIP3091"}],faucets:["https://faucet.vrd.network"],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Testnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:224,rpc:["https://224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.vrd.network"],shortName:"VRD-Testnet",slug:"viridis-testnet",testnet:!0},qct={chain:"LA",chainId:225,explorers:[{name:"blockscout",url:"https://scan.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Mainnet",nativeCurrency:{name:"LA",symbol:"LA",decimals:18},networkId:225,rpc:["https://225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.lachain.io"],shortName:"LA",slug:"lachain",testnet:!1},jct={chain:"TLA",chainId:226,explorers:[{name:"blockscout",url:"https://scan-test.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Testnet",nativeCurrency:{name:"TLA",symbol:"TLA",decimals:18},networkId:226,rpc:["https://226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.lachain.io"],shortName:"TLA",slip44:1,slug:"lachain-testnet",testnet:!0},Gct={chain:"FHE",chainId:228,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Mainnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:228,rpc:["https://228.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.mindnetwork.xyz","wss://rpc_mainnet.mindnetwork.xyz"],shortName:"fhe",slug:"mind-network",testnet:!1},Kct={chain:"SDX",chainId:230,explorers:[{name:"SwapDEX",url:"https://evm.swapdex.network",standard:"none"}],faucets:[],infoURL:"https://swapdex.network/",name:"SwapDEX",nativeCurrency:{name:"SwapDEX",symbol:"SDX",decimals:18},networkId:230,rpc:["https://230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swapdex.network","wss://ss.swapdex.network"],shortName:"SDX",slug:"swapdex",testnet:!1},Qct={chain:"Jumbo",chainId:234,explorers:[{name:"ProtoJumbo",url:"https://protojumbo.jumbochain.org",standard:"EIP3091"}],faucets:["https://protojumbo.jumbochain.org/faucet-smart"],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"ProtoJumbo Testnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:234,rpc:["https://234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.jumbochain.org"],shortName:"ProtoJumbo",slip44:1,slug:"protojumbo-testnet",testnet:!0},Vct={chain:"Deamchain",chainId:236,explorers:[{name:"Deamchain Testnet Explorer",url:"https://testnet-scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:["https://faucet.deamchain.com"],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Testnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:236,rpc:["https://236.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deamchain.com"],shortName:"deamtest",slip44:1,slug:"deamchain-testnet",testnet:!0},Yct={chain:"ETH",chainId:238,explorers:[{name:"Blast Mainnet",url:"https://scan.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:238,rpc:["https://238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blastblockchain.com"],shortName:"blast",slug:"blast",testnet:!1},$ct={chain:"Plinga",chainId:242,explorers:[{name:"plgscan",url:"https://www.plgscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibpvlod5nyev6wyuvp6pbestmgvru3ovbadsul32odpno26xwld6y",width:1039,height:1022,format:"svg"},infoURL:"https://www.plinga.technology/",name:"Plinga Mainnet",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},networkId:242,rpc:["https://242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcurl.mainnet.plgchain.com","https://rpcurl.plgchain.blockchain.evmnode.online","https://rpcurl.mainnet.plgchain.plinga.technology"],shortName:"plgchain",slug:"plinga",testnet:!1},Jct={chain:"Energy Web Chain",chainId:246,explorers:[{name:"blockscout",url:"https://explorer.energyweb.org",standard:"none"}],faucets:[],infoURL:"https://energyweb.org",name:"Energy Web Chain",nativeCurrency:{name:"Energy Web Token",symbol:"EWT",decimals:18},networkId:246,rpc:["https://246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.energyweb.org","wss://rpc.energyweb.org/ws"],shortName:"ewt",slip44:246,slug:"energy-web-chain",testnet:!1},Xct={chain:"Oasys",chainId:248,explorers:[{name:"blockscout",url:"https://explorer.oasys.games",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYcGHTPheBwLv9zoJfQAJ7NB6MCtXe2zV7XqPyiTJg3WP/Oasys_Large%20Logo%20Black.png",width:1250,height:1250,format:".png"},infoURL:"https://oasys.games",name:"Oasys Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:248,redFlags:[],rpc:["https://248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.games"],shortName:"OAS",slug:"oasys",testnet:!1},BHe={chain:"FTM",chainId:250,explorers:[{name:"ftmscan",url:"https://ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}},{name:"dexguru",url:"https://fantom.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://fantom.foundation",name:"Fantom Opera",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:250,redFlags:[],rpc:["https://250.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ftm.tools","https://fantom-rpc.publicnode.com","wss://fantom-rpc.publicnode.com","https://fantom.drpc.org","wss://fantom.drpc.org"],shortName:"ftm",slug:"fantom",testnet:!1},Zct={chain:"FRAX",chainId:252,explorers:[{name:"fraxscan",url:"https://fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://mainnet.frax.com",name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:252,redFlags:[],rpc:["https://252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.frax.com"],shortName:"fraxtal",slug:"fraxtal",status:"active",testnet:!1},e6t={chain:"ETH",chainId:255,explorers:[{name:"blockscout",url:"https://blockscout.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:255,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://kroma.network/bridge"}]},redFlags:[],rpc:["https://255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kroma.network","https://1rpc.io/kroma","https://rpc-kroma.rockx.com"],shortName:"kroma",slug:"kroma",testnet:!1},t6t={chain:"Heco",chainId:256,explorers:[],faucets:["https://scan-testnet.hecochain.com/faucet"],infoURL:"https://testnet.hecoinfo.com",name:"Huobi ECO Chain Testnet",nativeCurrency:{name:"Huobi ECO Chain Test Native Token",symbol:"htt",decimals:18},networkId:256,rpc:["https://256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hecochain.com","wss://ws-testnet.hecochain.com"],shortName:"hecot",slug:"huobi-eco-chain-testnet",testnet:!0},n6t={chain:"Setheum",chainId:258,explorers:[],faucets:[],infoURL:"https://setheum.xyz",name:"Setheum",nativeCurrency:{name:"Setheum",symbol:"SETM",decimals:18},networkId:258,rpc:[],shortName:"setm",slug:"setheum",testnet:!1},a6t={chain:"Neonlink",chainId:259,explorers:[{name:"Neon Blockchain Explorer",url:"https://scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Mainnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"NEON",decimals:18},networkId:259,rpc:["https://259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.neonlink.io"],shortName:"neon",slug:"neonlink",testnet:!1},r6t={chain:"SUR",chainId:262,explorers:[{name:"Surnet Explorer",url:"https://explorer.surnet.org",standard:"EIP3091",icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"},infoURL:"https://surnet.org",name:"SUR Blockchain Network",nativeCurrency:{name:"Suren",symbol:"SRN",decimals:18},networkId:1,rpc:["https://262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sur.nilin.org"],shortName:"SUR",slug:"sur-blockchain-network",testnet:!1},f6t={chain:"NEURA",chainId:266,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura",nativeCurrency:{name:"Ankr",symbol:"ANKR",decimals:18},networkId:266,rpc:[],shortName:"neura",slug:"neura",status:"incubating",testnet:!1,title:"Neura Mainnet"},i6t={chain:"NEURA",chainId:267,explorers:[{name:"blockscout",url:"https://explorer.neura-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ankrscan-neura",url:"https://testnet.explorer.neuraprotocol.io",standard:"EIP3091",icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"}}],faucets:["https://testnet.neuraprotocol.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Testnet",nativeCurrency:{name:"Testnet Ankr",symbol:"ANKR",decimals:18},networkId:267,rpc:["https://267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/neura_testnet"],shortName:"tneura",slip44:1,slug:"neura-testnet",status:"active",testnet:!0,title:"Neura Testnet"},s6t={chain:"NEURA",chainId:268,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Devnet",nativeCurrency:{name:"Devnet Ankr",symbol:"ANKR",decimals:18},networkId:268,rpc:[],shortName:"dneura",slip44:1,slug:"neura-devnet",status:"incubating",testnet:!1,title:"Neura Devnet"},o6t={chain:"HPB",chainId:269,explorers:[{name:"hscan",url:"https://hscan.org",standard:"EIP3091"}],faucets:["https://myhpbwallet.com/"],infoURL:"https://hpb.io",name:"High Performance Blockchain",nativeCurrency:{name:"High Performance Blockchain Ether",symbol:"HPB",decimals:18},networkId:269,rpc:["https://269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hpbnode.com","wss://ws.hpbnode.com"],shortName:"hpb",slip44:269,slug:"high-performance-blockchain",testnet:!1},c6t={chain:"EGON",chainId:271,explorers:[{name:"EgonCoin Mainnet",url:"https://egonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Mainnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271,rpc:["https://271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.egonscan.com"],shortName:"EGONm",slug:"egoncoin",testnet:!1},d6t={chain:"LaChain",chainId:274,explorers:[{name:"LaChain Explorer",url:"https://explorer.lachain.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaChain",nativeCurrency:{name:"LaCoin",symbol:"LAC",decimals:18},networkId:274,rpc:["https://274.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.mainnet.lachain.network","https://rpc2.mainnet.lachain.network","https://lachain.rpc-nodes.cedalio.dev"],shortName:"lachain",slug:"lachain-lachain",testnet:!1},l6t={chain:"FAI",chainId:278,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Mainnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:278,rpc:["https://278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.xfair.ai","wss://rpc_mainnet.xfair.ai"],shortName:"fai",slug:"xfair-ai",testnet:!1},u6t={chain:"BPX",chainId:279,explorers:[],faucets:[],icon:{url:"ipfs://bafkreiatcu42wbjlo24mr35jou4awvsqpaqys6iv4kxgkjhno3haovsiaq",width:140,height:140,format:"svg"},infoURL:"https://bpxchain.cc",name:"BPX Blockchain",nativeCurrency:{name:"BPX",symbol:"BPX",decimals:18},networkId:279,rpc:["https://279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.bpxchain.cc","https://bpx-dataseed.infinex.cc"],shortName:"bpx",slug:"bpx-blockchain",testnet:!1},p6t={chain:"ETH",chainId:280,explorers:[{name:"zkSync Era Block Explorer",url:"https://goerli.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Era Goerli Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:280,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:[],rpc:["https://280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.era.zksync.dev"],shortName:"zksync-goerli",slip44:1,slug:"zksync-era-goerli-testnet-deprecated",status:"deprecated",testnet:!0},h6t={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://explorer.zkevm.cronos.org/testnet",standard:"none"}],faucets:["https://zkevm.cronos.org/faucet"],infoURL:"https://docs-zkevm.cronos.org",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"zkTCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.zkevm.cronos.org"],shortName:"zkTCRO",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},m6t={chain:"ETH",chainId:288,explorers:[{name:"Bobascan",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:288,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.boba.network","https://replica.boba.network","https://boba-ethereum.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-ethereum","wss://boba-ethereum.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-ethereum","https://boba-eth.drpc.org","wss://boba-eth.drpc.org"],shortName:"Boba",slug:"boba-network",testnet:!1},b6t={chain:"ETH",chainId:291,explorers:[{name:"orderlyscout",url:"https://explorer.orderly.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:291,rpc:["https://291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.orderly.network","https://l2-orderly-mainnet-0.t.conduit.xyz"],shortName:"orderly",slug:"orderly",testnet:!1},y6t={chain:"Hedera",chainId:295,explorers:[{name:"HashScan",url:"https://hashscan.io/mainnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Mainnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:295,rpc:["https://295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hashio.io/api"],shortName:"hedera-mainnet",slip44:3030,slug:"hedera",testnet:!1},g6t={chain:"Hedera",chainId:296,explorers:[{name:"HashScan",url:"https://hashscan.io/testnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Testnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:296,rpc:["https://296.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashio.io/api"],shortName:"hedera-testnet",slip44:1,slug:"hedera-testnet",testnet:!0},v6t={chain:"Hedera",chainId:297,explorers:[{name:"HashScan",url:"https://hashscan.io/previewnet",standard:"EIP3091"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Previewnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:297,rpc:["https://297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.hashio.io/api"],shortName:"hedera-previewnet",slip44:3030,slug:"hedera-previewnet",testnet:!1},w6t={chain:"Hedera",chainId:298,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Localnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:298,rpc:[],shortName:"hedera-localnet",slip44:3030,slug:"hedera-localnet",testnet:!1},T6t={chain:"ETH",chainId:300,explorers:[{name:"zkSync Block Explorer",url:"https://sepolia.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:300,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:["reusedChainId"],rpc:["https://300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.era.zksync.dev","https://zksync-sepolia.drpc.org","wss://zksync-sepolia.drpc.org"],shortName:"zksync-sepolia",slip44:1,slug:"zksync-sepolia-testnet",testnet:!0},x6t={chain:"Bobaopera",chainId:301,explorers:[{name:"Bobaopera block explorer",url:"https://blockexplorer.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:301,rpc:["https://301.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobaopera.boba.network","wss://wss.bobaopera.boba.network","https://replica.bobaopera.boba.network","wss://replica-wss.bobaopera.boba.network"],shortName:"Bobaopera",slug:"bobaopera",status:"deprecated",testnet:!1},E6t={chain:"ETH",chainId:302,explorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"},infoURL:"https://zkcandy.io/",name:"zkCandy Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:302,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia.bridge.zkcandy.io/"}]},redFlags:["reusedChainId"],rpc:["https://302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zkcandy.io"],shortName:"zkcandy-sepolia",slug:"zkcandy-sepolia-testnet",testnet:!0},_6t={chain:"NCN",chainId:303,explorers:[{name:"neuroscan",url:"https://testnet.ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Testnet",nativeCurrency:{name:"Neurochain",symbol:"tNCN",decimals:18},networkId:303,rpc:["https://303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-test1.neurochain.io"],shortName:"ncnt",slip44:1,slug:"neurochain-testnet",testnet:!0},A6t={chain:"ZKSats",chainId:305,explorers:[{name:"blockscout",url:"https://explorer.zksats.io",standard:"EIP3091",icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaopiJuCSxRKZJHDkCu9w77x2HEmbNb3QeLC1SUavehEE",width:3072,height:3072,format:"png"},infoURL:"https://zksats.io",name:"ZKSats Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:305,rpc:["https://305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zksats.io"],shortName:"ZKSats-Mainnet",slug:"zksats",testnet:!1,title:"ZKSats Mainnet"},I6t={chain:"Lovely",chainId:307,explorers:[{name:"Lovely Network Testnet",url:"https://tscan.lovely.network",standard:"EIP3091"}],faucets:["https://faucet.lovely.network"],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Testnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:307,rpc:["https://307.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://trpc.lovely.network"],shortName:"LOVELY-Testnet",slug:"lovely-network-testnet",testnet:!0},C6t={chain:"FTH",chainId:308,explorers:[{name:"furthscan",url:"http://furthscan.com",standard:"EIP3091"},{name:"Furthscan Network Explorer",url:"http://furthscan.com/",standard:"standard",icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"},infoURL:"http://furthscan.com/",name:"Furtheon Network",nativeCurrency:{name:"Furtheon",symbol:"FTH",decimals:18},networkId:308,redFlags:[],rpc:["https://308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.furtheon.org/","https://rpc.furtheon.org"],shortName:"FTH",slug:"furtheon-network",testnet:!1},k6t={chain:"WYZ",chainId:309,explorers:[{name:"wyzth",url:"http://24.199.108.65:4000",standard:"EIP3091",icon:{url:"ipfs://QmT5UMzAftM4mHCtk4pWX4sqyJCki88APbqECywrhJp91Q",width:324,height:82,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeDfLgA5heAAXsU8kf5J23Y8up4uHN27uRBEAJFPMJEu7",width:48,height:48,format:"png"},infoURL:"https://wyzth.org/",name:"Wyzth Testnet",nativeCurrency:{name:"Wyzth",symbol:"WYZ",decimals:18},networkId:309,rpc:["https://309.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet3.wyzthchain.org/"],shortName:"wyz",slip44:1,slug:"wyzth-testnet",testnet:!0},S6t={chain:"OMAX Chain",chainId:311,explorers:[{name:"Omax Chain Explorer",url:"https://omaxray.com",standard:"EIP3091",icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"}}],faucets:["https://faucet.omaxray.com/"],icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"},infoURL:"https://www.omaxcoin.com/",name:"Omax Mainnet",nativeCurrency:{name:"OMAX COIN",symbol:"OMAX",decimals:18},networkId:311,rpc:["https://311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainapi.omaxray.com"],shortName:"omax",slug:"omax",testnet:!1},R6t={chain:"NCN",chainId:313,explorers:[{name:"neuroscan",url:"https://ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Mainnet",nativeCurrency:{name:"Neurochain",symbol:"NCN",decimals:18},networkId:313,rpc:["https://313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-prd1.neurochain.io","https://nc-rpc-prd2.neurochain.io"],shortName:"ncn",slug:"neurochain",testnet:!1},M6t={chain:"FIL",chainId:314,explorers:[{name:"Filfox",url:"https://filfox.info/en",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"},{name:"Glif Explorer",url:"https://explorer.glif.io",standard:"EIP3091"},{name:"Dev.storage",url:"https://dev.storage",standard:"none"},{name:"Filscan",url:"https://filscan.io",standard:"none"},{name:"Filscout",url:"https://filscout.io/en",standard:"none"}],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:314,rpc:["https://314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.node.glif.io/","https://rpc.ankr.com/filecoin","https://filecoin-mainnet.chainstacklabs.com/rpc/v1","https://filfox.info/rpc/v1","https://filecoin.drpc.org","wss://filecoin.drpc.org"],shortName:"filecoin",slip44:461,slug:"filecoin",testnet:!1},B6t={chain:"KCC",chainId:321,explorers:[{name:"KCC Explorer",url:"https://explorer.kcc.io/en",standard:"EIP3091"}],faucets:[],infoURL:"https://kcc.io",name:"KCC Mainnet",nativeCurrency:{name:"KuCoin Token",symbol:"KCS",decimals:18},networkId:321,rpc:["https://321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.kcc.network","https://kcc.mytokenpocket.vip","https://public-rpc.blockpi.io/http/kcc"],shortName:"kcs",slip44:641,slug:"kcc",testnet:!1},D6t={chain:"KCC",chainId:322,explorers:[{name:"kcc-scan-testnet",url:"https://scan-testnet.kcc.network",standard:"EIP3091"}],faucets:["https://faucet-testnet.kcc.network"],infoURL:"https://scan-testnet.kcc.network",name:"KCC Testnet",nativeCurrency:{name:"KuCoin Testnet Token",symbol:"tKCS",decimals:18},networkId:322,rpc:["https://322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.kcc.network"],shortName:"kcst",slip44:1,slug:"kcc-testnet",testnet:!0},P6t={chain:"CVM",chainId:323,explorers:[{name:"Blockscout",url:"https://explorer.cosvm.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://cosvm.network",name:"Cosvm Mainnet",nativeCurrency:{name:"Cosvm",symbol:"CVM",decimals:18},networkId:323,rpc:["https://323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cosvm.net"],shortName:"cvm",slug:"cosvm",testnet:!1},L6t={chain:"ETH",chainId:324,explorers:[{name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:324,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},rpc:["https://324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.era.zksync.io","https://zksync.drpc.org","wss://zksync.drpc.org"],shortName:"zksync",slug:"zksync",testnet:!1},F6t={chain:"Web3Q",chainId:333,explorers:[{name:"w3q-mainnet",url:"https://explorer.mainnet.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://web3q.io/home.w3q/",name:"Web3Q Mainnet",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:333,rpc:["https://333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.web3q.io:8545"],shortName:"w3q",slug:"web3q",testnet:!1},N6t={chain:"DFK",chainId:335,explorers:[{name:"ethernal",url:"https://explorer-test.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain Test",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:335,rpc:["https://335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"],shortName:"DFKTEST",slip44:1,slug:"dfk-chain-test",testnet:!0},O6t={chain:"SDN",chainId:336,explorers:[{name:"blockscout",url:"https://blockscout.com/shiden",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://shiden.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQySjAoWHgk3ou1yvBi2TrTcgH6KhfGiU7GcrLzrAeRkE",width:250,height:250,format:"png"},infoURL:"https://shiden.astar.network/",name:"Shiden",nativeCurrency:{name:"Shiden",symbol:"SDN",decimals:18},networkId:336,rpc:["https://336.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://shiden.api.onfinality.io/public","https://shiden-rpc.dwellir.com","https://shiden.public.blastapi.io","wss://shiden.api.onfinality.io/public-ws","wss://shiden.public.blastapi.io","wss://shiden-rpc.dwellir.com"],shortName:"sdn",slug:"shiden",testnet:!1},U6t={chain:"CRO",chainId:338,explorers:[{name:"Cronos Testnet Explorer",url:"https://explorer.cronos.org/testnet",standard:"none"}],faucets:["https://cronos.org/faucet"],infoURL:"https://cronos.org",name:"Cronos Testnet",nativeCurrency:{name:"Cronos Test Coin",symbol:"TCRO",decimals:18},networkId:338,rpc:["https://338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-t3.cronos.org","https://cronos-testnet.drpc.org","wss://cronos-testnet.drpc.org"],shortName:"tcro",slip44:1,slug:"cronos-testnet",testnet:!0},H6t={chain:"Trust Smart Chain",chainId:345,explorers:[{name:"tscscan",url:"https://www.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Mainnet",nativeCurrency:{name:"TAS",symbol:"TAS",decimals:18},networkId:16,rpc:["https://345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc01.trias.one"],shortName:"TSC",slug:"tsc",testnet:!1},z6t={chain:"Theta",chainId:361,explorers:[{name:"Theta Mainnet Explorer",url:"https://explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Mainnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:361,rpc:["https://361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.thetatoken.org/rpc"],shortName:"theta-mainnet",slug:"theta",testnet:!1},W6t={chain:"Theta",chainId:363,explorers:[{name:"Theta Sapphire Testnet Explorer",url:"https://guardian-testnet-sapphire-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Sapphire Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:363,rpc:["https://363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-sapphire.thetatoken.org/rpc"],shortName:"theta-sapphire",slip44:1,slug:"theta-sapphire-testnet",testnet:!0},q6t={chain:"Theta",chainId:364,explorers:[{name:"Theta Amber Testnet Explorer",url:"https://guardian-testnet-amber-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Amber Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:364,rpc:["https://364.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-amber.thetatoken.org/rpc"],shortName:"theta-amber",slip44:1,slug:"theta-amber-testnet",testnet:!0},j6t={chain:"Theta",chainId:365,explorers:[{name:"Theta Testnet Explorer",url:"https://testnet-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:365,rpc:["https://365.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-testnet.thetatoken.org/rpc"],shortName:"theta-testnet",slip44:1,slug:"theta-testnet",testnet:!0},G6t={chain:"PLS",chainId:369,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://scan.pulsechain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"otterscan",url:"https://otter.pulsechain.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://pulsechain.com/",name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},networkId:369,redFlags:[],rpc:["https://369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evex.cloud/pulserpc","https://rpc.pulsechain.com","wss://rpc.pulsechain.com","https://pulsechain-rpc.publicnode.com","wss://pulsechain-rpc.publicnode.com","https://rpc-pulsechain.g4mm4.io","wss://rpc-pulsechain.g4mm4.io"],shortName:"pls",slip44:60,slug:"pulsechain",status:"active",testnet:!1},K6t={chain:"tCNT",chainId:371,explorers:[{name:"blockscout",url:"https://explorer-testnet.theconsta.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfQ1yae6uvXgBSwnwJM4Mtp8ctH66tM6mB1Hsgu4XvsC9",width:2e3,height:2e3,format:"png"},infoURL:"http://theconsta.com",name:"Consta Testnet",nativeCurrency:{name:"tCNT",symbol:"tCNT",decimals:18},networkId:371,rpc:["https://371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.theconsta.com"],shortName:"tCNT",slip44:1,slug:"consta-testnet",testnet:!0},Q6t={chain:"FIL",chainId:380,explorers:[{name:"ZKAmoeba Test Explorer",url:"https://testnetexplorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://testnet.zkamoeba.com",name:"ZKAmoeba Testnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:380,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://testnet.zkamoeba.com/en/bridge"}]},rpc:["https://380.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.zkamoeba.com:4050/","https://rpc1.testnet.zkamoeba.com:4050/"],shortName:"zkamoeba-test",slug:"zkamoeba-testnet",testnet:!0},V6t={chain:"FIL",chainId:381,explorers:[{name:"ZKAmoeba Explorer",url:"https://explorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://www.zkamoeba.com",name:"ZKAmoeba Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:381,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://www.zkamoeba.com/en/bridge"}]},rpc:["https://381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.zkamoeba.com/rpc"],shortName:"zkamoeba",slug:"zkamoeba",testnet:!1},Y6t={chain:"CRO",chainId:385,explorers:[],faucets:["https://pipa.lisinski.online"],infoURL:"https://lisinski.online",name:"Lisinski",nativeCurrency:{name:"Lisinski Ether",symbol:"LISINS",decimals:18},networkId:385,rpc:["https://385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-bitfalls1.lisinski.online"],shortName:"lisinski",slug:"lisinski",testnet:!1},$6t={chain:"CADL",chainId:395,explorers:[{name:"CamDL Testnet Explorer",url:"https://explorer.testnet.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.testnet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Testnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:395,rpc:["https://395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.testnet.camdl.gov.kh/"],shortName:"camdl-testnet",slug:"camdl-testnet",status:"active",testnet:!0},J6t={chain:"NEAR",chainId:397,explorers:[{name:"Near Blocks",url:"https://nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://near.org/",name:"Near Mainnet",nativeCurrency:{name:"NEAR",symbol:"NEAR",decimals:18},networkId:397,rpc:[],shortName:"near",slug:"near",testnet:!1},X6t={chain:"NEAR",chainId:398,explorers:[{name:"Near blocks",url:"https://testnet.nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://aurora.dev",name:"Near Testnet",nativeCurrency:{name:"Testnet NEAR",symbol:"NEAR",decimals:18},networkId:398,rpc:[],shortName:"near-testnet",slug:"near-testnet",testnet:!0},Z6t={chain:"Nativ3",chainId:399,explorers:[{name:"N3scan",url:"https://scan.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Mainnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:399,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.nativ3.network"}]},rpc:["https://399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nativ3.network","wss://ws.nativ3.network"],shortName:"N3",slug:"nativ3",testnet:!1},edt={chain:"HPN",chainId:400,explorers:[{name:"blockscout",url:"https://testnet.hyperonchain.com",standard:"EIP3091",icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"}}],faucets:["https://faucet.hyperonchain.com"],icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"},infoURL:"https://docs.hyperonchain.com",name:"HyperonChain TestNet",nativeCurrency:{name:"HyperonChain",symbol:"HPN",decimals:18},networkId:400,rpc:["https://400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hyperonchain.com"],shortName:"hpn",slip44:1,slug:"hyperonchain-testnet",testnet:!0},tdt={chain:"OZONE",chainId:401,explorers:[{name:"OZONE Scan",url:"https://testnet.ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Testnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:401,rpc:["https://401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.ozonechain.io"],shortName:"ozo_tst",slip44:1,slug:"ozone-chain-testnet",testnet:!0},ndt={chain:"SYNDR",chainId:404,explorers:[{name:"Syndr L3 Explorer",url:"https://explorer.syndr.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibsl7iuxeibovp7uddigbus3lyse2f7n4s2lomgvf33fmgyxjwq5i",width:1e3,height:1e3,format:"png"},infoURL:"https://syndr.com",name:"Syndr L3",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:404,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.syndr.com"}]},rpc:["https://404.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syndr.com","wss://rpc.syndr.com/ws"],shortName:"syndr-l3",slug:"syndr-l3",testnet:!1,title:"Syndr L3 Rollup"},adt={chain:"OmegaNetwork",chainId:408,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafkreig676zxfhwhcx5bvvvjxedx6ftr2wq4iiznrwm3c6ozrprbc4oxwm",width:512,height:512,format:"png"},name:"Omega Mainnet",nativeCurrency:{name:"Omega Network Coin",symbol:"OMN",decimals:18},networkId:408,redFlags:[],rpc:["https://408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.omtch.com"],shortName:"OmegaNetwork",slug:"omega",testnet:!1},rdt={chain:"PC",chainId:411,explorers:[{name:"pepechain explorer",url:"https://explorer.pepe-chain.vip",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibjsc3gww3moti27za2hpyq552aevux3yv5y2ntdklksyr4v4uavy",width:512,height:512,format:"png"},infoURL:"https://pepe-chain.vip",name:"Pepe Chain Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:411,rpc:["https://411.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pepe-chain.vip"],shortName:"pepe",slug:"pepe-chain",status:"active",testnet:!1},fdt={chain:"SX",chainId:416,explorers:[{name:"SX Network Explorer",url:"https://explorer.sx.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Mainnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:416,rpc:["https://416.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sx.technology"],shortName:"SX",slug:"sx-network",testnet:!1},idt={chain:"LaTestnet",chainId:418,explorers:[{name:"LaTestnet Explorer",url:"https://testexplorer.lachain.network",standard:"EIP3091"}],faucets:["https://faucet.lachain.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaTestnet",nativeCurrency:{name:"Test LaCoin",symbol:"TLA",decimals:18},networkId:418,rpc:["https://418.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lachain.network","https://lachain-testnet.rpc-nodes.cedalio.dev"],shortName:"latestnet",slug:"latestnet",testnet:!0},sdt={chain:"ETH",chainId:420,explorers:[{name:"blockscout",url:"https://optimism-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"Optimism Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:420,redFlags:[],rpc:["https://420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.optimism.io","https://optimism-goerli-rpc.publicnode.com","wss://optimism-goerli-rpc.publicnode.com","https://optimism-goerli.gateway.tenderly.co","wss://optimism-goerli.gateway.tenderly.co","https://optimism-testnet.drpc.org","wss://optimism-testnet.drpc.org"],shortName:"ogor",slip44:1,slug:"optimism-goerli",status:"deprecated",testnet:!0},odt={chain:"VRD",chainId:422,explorers:[{name:"Viridis Mainnet",url:"https://explorer.vrd.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Mainnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:422,rpc:["https://422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vrd.network"],shortName:"vrd",slug:"viridis",testnet:!1},cdt={chain:"ETH",chainId:424,explorers:[{name:"blockscout",url:"https://explorer.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"PGN (Public Goods Network)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:424,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.publicgoods.network"}]},rpc:["https://424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicgoods.network"],shortName:"PGN",slug:"pgn-public-goods-network",testnet:!1},ddt={chain:"ZeethChain",chainId:427,explorers:[{name:"Zeeth Explorer",url:"https://explorer.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:427,rpc:["https://427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zeeth.io"],shortName:"zeeth",slug:"zeeth-chain",testnet:!1},ldt={chain:"Geso Verse",chainId:428,explorers:[{name:"Geso Verse Explorer",url:"https://explorer.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Geso Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:428,rpc:["https://428.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verse.gesoten.com/"],shortName:"GSV",slug:"geso-verse",testnet:!1},udt={chain:"BYC",chainId:434,explorers:[{name:"Boyaa explorer",url:"https://explorer.mainnet.boyaa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiapootrvggtigdlvgvk6srfseplpuowsqq3zpyup4j5yj5moxuala",width:500,height:500,format:"png"},infoURL:"https://boyaa.network",name:"Boyaa Mainnet",nativeCurrency:{name:"Boyaa mainnet native coin",symbol:"BYC",decimals:18},networkId:434,rpc:["https://434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.mainnet.boyaa.network"],shortName:"BYC",slug:"boyaa",testnet:!1},pdt={chain:"ETH",chainId:443,explorers:[{name:"Ten Sepolia Rollup Explorer",url:"https://tenscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://ten.xyz",name:"Ten Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:443,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.ten.xyz"}]},redFlags:[],rpc:["https://443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ten.xyz/v1/","https://testnet.ten.xyz"],shortName:"ten-testnet",slip44:1,slug:"ten-testnet",testnet:!0,title:"Ten Sepolia Rollup Testnet"},hdt={chain:"ETH",chainId:444,explorers:[{name:"Synapse Chain Sepolia",url:"https://sepolia.synapsescan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmX2Z71QszaZvpMppdNWeCLqmeWk8NA6KMDLMqAt5VRyVi/synapse.webp",width:720,height:720,format:"webp"},infoURL:"https://synapseprotocol.com",name:"Synapse Chain Testnet",nativeCurrency:{name:"Sepolia ETH",symbol:"ETH",decimals:18},networkId:444,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://docs.synapseprotocol.com/synapse-chain/using-synapse-chain/bridging-to-synapse-chain"}]},redFlags:["reusedChainId"],rpc:["https://444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.synapseprotocol.com"],shortName:"synapse-sepolia",slip44:1,slug:"synapse-chain-testnet",status:"active",testnet:!0},mdt={chain:"ARZIO",chainId:456,explorers:[{name:"ARZIO Scan",url:"https://scan.arzio.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUwqGWGjjQweTprn5LBirAwRjYnteTiFLCVpSNHrfMmSL",width:150,height:150,format:"png"},infoURL:"https://chain.arzio.co",name:"ARZIO Chain",nativeCurrency:{name:"ARZIO",symbol:"AZO",decimals:18},networkId:456,rpc:["https://456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.arzio.co"],shortName:"arzio",slug:"arzio-chain",testnet:!1},bdt={chain:"Areon",chainId:462,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Testnet",nativeCurrency:{name:"Areon",symbol:"TAREA",decimals:18},networkId:462,rpc:["https://462.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.areon.network","https://testnet-rpc2.areon.network","https://testnet-rpc3.areon.network","https://testnet-rpc4.areon.network","https://testnet-rpc5.areon.network"],shortName:"tarea",slip44:1,slug:"areon-network-testnet",testnet:!0},ydt={chain:"Areon",chainId:463,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Mainnet",nativeCurrency:{name:"Areon",symbol:"AREA",decimals:18},networkId:463,rpc:["https://463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.areon.network","https://mainnet-rpc2.areon.network","https://mainnet-rpc3.areon.network","https://mainnet-rpc4.areon.network","https://mainnet-rpc5.areon.network"],shortName:"area",slug:"areon-network",testnet:!1},gdt={chain:"RUPX",chainId:499,explorers:[],faucets:[],infoURL:"https://www.rupaya.io",name:"Rupaya",nativeCurrency:{name:"Rupaya",symbol:"RUPX",decimals:18},networkId:499,rpc:[],shortName:"rupx",slip44:499,slug:"rupaya",testnet:!1},vdt={chain:"CAM",chainId:500,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Camino C-Chain",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1e3,rpc:["https://500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.camino.network/ext/bc/C/rpc"],shortName:"Camino",slug:"camino-c-chain",testnet:!1},wdt={chain:"CAM",chainId:501,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Columbus Test Network",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1001,rpc:["https://501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://columbus.camino.network/ext/bc/C/rpc"],shortName:"Columbus",slip44:1,slug:"columbus-test-network",testnet:!0},Tdt={chain:"Syndicate",chainId:510,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:510,rpc:["https://510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.syndicate.io"],shortName:"syndicate-chain-mainnet",slug:"syndicate-chain",status:"incubating",testnet:!1,title:"Syndicate Chain"},xdt={chain:"AAC",chainId:512,explorers:[{name:"aacscan",url:"https://scan.acuteangle.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Mainnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:512,rpc:["https://512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.acuteangle.com"],shortName:"aac",slip44:1512,slug:"double-a-chain",testnet:!1},Edt={chain:"AAC",chainId:513,explorers:[{name:"aacscan-testnet",url:"https://scan-testnet.acuteangle.com",standard:"EIP3091"}],faucets:["https://scan-testnet.acuteangle.com/faucet"],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Testnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:513,rpc:["https://513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.acuteangle.com"],shortName:"aact",slip44:1,slug:"double-a-chain-testnet",testnet:!0},_dt={chain:"GearZero",chainId:516,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/mainnet",name:"Gear Zero Network Mainnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:516,rpc:["https://516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn.linksme.info"],shortName:"gz-mainnet",slip44:516,slug:"gear-zero-network",testnet:!1},Adt={chain:"XSC",chainId:520,explorers:[{name:"xscscan",url:"https://xscscan.pub",standard:"EIP3091"}],faucets:["https://xsc.pub/faucet"],icon:{url:"ipfs://QmNmAFgQKkjofaBR5mhB5ygE1Gna36YBVsGkgZQxrwW85s",width:98,height:96,format:"png"},infoURL:"https://xsc.pub/",name:"XT Smart Chain Mainnet",nativeCurrency:{name:"XT Smart Chain Native Token",symbol:"XT",decimals:18},networkId:1024,rpc:["https://520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://datarpc1.xsc.pub","https://datarpc2.xsc.pub","https://datarpc3.xsc.pub"],shortName:"xt",slug:"xt-smart-chain",testnet:!1},Idt={chain:"FIRE",chainId:529,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:529,rpc:["https://529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.thefirechain.com"],shortName:"fire",slug:"firechain",status:"incubating",testnet:!1},Cdt={chain:"Fxcore",chainId:530,explorers:[{name:"FunctionX Explorer",url:"https://fx-evm.functionx.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Mainnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:530,rpc:["https://530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fx-json-web3.functionx.io:8545"],shortName:"FxCore",slug:"f-x-core-network",testnet:!1},kdt={chain:"Candle",chainId:534,explorers:[{name:"candleexplorer",url:"https://candleexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://candlelabs.org/",name:"Candle",nativeCurrency:{name:"CANDLE",symbol:"CNDL",decimals:18},networkId:534,rpc:["https://534.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://candle-rpc.com/","https://rpc.cndlchain.com"],shortName:"CNDL",slip44:674,slug:"candle",testnet:!1},Sdt={chain:"OpTrust",chainId:537,explorers:[{name:"OpTrust explorer",url:"https://scan.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Mainnet",nativeCurrency:{name:"BSC",symbol:"BNB",decimals:18},networkId:537,rpc:["https://537.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optrust.io"],shortName:"optrust",slug:"optrust",testnet:!1},Rdt={chain:"PAW",chainId:542,explorers:[{name:"PAWCHAIN Testnet",url:"https://pawscan.io",standard:"none"}],faucets:[],infoURL:"https://pawchainx.com/",name:"PAWCHAIN Testnet",nativeCurrency:{name:"PAW",symbol:"PAW",decimals:18},networkId:542,rpc:["https://542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pawchainx.com/"],shortName:"PAW",slip44:1,slug:"pawchain-testnet",testnet:!0},Mdt={chain:"Flow",chainId:545,explorers:[{name:"Flow Diver",url:"https://testnet.flowdiver.io",standard:"none"}],faucets:["https://testnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Testnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:545,rpc:["https://545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evm.nodes.onflow.org"],shortName:"flow-testnet",slug:"testnet",testnet:!0},Bdt={chain:"VELA1",chainId:555,explorers:[{name:"Vela1 Chain Mainnet Explorer",url:"https://exp.velaverse.io",standard:"EIP3091"}],faucets:[],infoURL:"https://velaverse.io",name:"Vela1 Chain Mainnet",nativeCurrency:{name:"CLASS COIN",symbol:"CLASS",decimals:18},networkId:555,rpc:["https://555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.velaverse.io"],shortName:"CLASS",slug:"vela1-chain",testnet:!1},Ddt={chain:"TAO",chainId:558,explorers:[],faucets:[],infoURL:"https://tao.network",name:"Tao Network",nativeCurrency:{name:"Tao",symbol:"TAO",decimals:18},networkId:558,rpc:["https://558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tao.network","http://rpc.testnet.tao.network:8545","https://rpc.tao.network","wss://rpc.tao.network"],shortName:"tao",slug:"tao-network",testnet:!0},Pdt={chain:"DC",chainId:568,explorers:[{name:"dogechain testnet explorer",url:"https://explorer-testnet.dogechain.dog",standard:"EIP3091"}],faucets:["https://faucet.dogechain.dog"],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Testnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:568,rpc:["https://568.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.dogechain.dog"],shortName:"dct",slip44:1,slug:"dogechain-testnet",testnet:!0},Ldt={chain:"SYS",chainId:570,explorers:[{name:"Rollux Explorer",url:"https://explorer.rollux.com",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:570,rpc:["https://570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rollux.com","wss://rpc.rollux.com/wss","https://rpc.ankr.com/rollux","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},Fdt={chain:"MTC",chainId:571,explorers:[{name:"MetaExplorer",url:"https://explorer.metatime.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:571,rpc:["https://571.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com"],shortName:"metatime",slip44:571,slug:"metachain",testnet:!1},Ndt={chain:"Filenova",chainId:579,explorers:[{name:"filenova explorer",url:"https://scan.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Mainnet",nativeCurrency:{name:"Filecoin",symbol:"FIL",decimals:18},networkId:579,rpc:["https://579.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filenova.org"],shortName:"filenova",slug:"filenova",testnet:!1},Odt={chain:"ETH",chainId:588,explorers:[{name:"blockscout",url:"https://stardust-explorer.metis.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metis.io",name:"Metis Stardust Testnet",nativeCurrency:{name:"tMetis",symbol:"METIS",decimals:18},networkId:588,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.metis.io"}]},rpc:["https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://stardust.metis.io/?owner=588"],shortName:"metis-stardust",slip44:1,slug:"metis-stardust-testnet",status:"deprecated",testnet:!0},Udt={chain:"ASTR",chainId:592,explorers:[{name:"blockscout",url:"https://blockscout.com/astar",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://astar.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://Qmdvmx3p6gXBCLUMU1qivscaTNkT6h3URdhUTZCHLwKudg",width:1e3,height:1e3,format:"png"},infoURL:"https://astar.network/",name:"Astar",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},networkId:592,redFlags:[],rpc:["https://592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.astar.network","https://rpc.astar.network:8545"],shortName:"astr",slug:"astar",testnet:!1},Hdt={chain:"mACA",chainId:595,explorers:[{name:"blockscout",url:"https://blockscout.mandala.aca-staging.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Mandala Testnet TC9",nativeCurrency:{name:"Acala Mandala Token",symbol:"mACA",decimals:18},networkId:595,rpc:["https://595.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-tc9.aca-staging.network","wss://eth-rpc-tc9.aca-staging.network"],shortName:"maca",slip44:1,slug:"acala-mandala-testnet-tc9",testnet:!0},zdt={chain:"KAR",chainId:596,explorers:[{name:"blockscout",url:"https://blockscout.karura-testnet.aca-staging.network",standard:"EIP3091"}],faucets:[],infoURL:"https://karura.network",name:"Karura Network Testnet",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:596,rpc:["https://596.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura-testnet.aca-staging.network","wss://eth-rpc-karura-testnet.aca-staging.network"],shortName:"tkar",slip44:1,slug:"karura-network-testnet",testnet:!0},Wdt={chain:"ACA",chainId:597,explorers:[{name:"blockscout",url:"https://blockscout.acala-dev.aca-dev.network",standard:"EIP3091"}],faucets:[],infoURL:"https://acala.network",name:"Acala Network Testnet",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:597,rpc:["https://597.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala-testnet.aca-staging.network","wss://eth-rpc-acala-testnet.aca-staging.network"],shortName:"taca",slip44:1,slug:"acala-network-testnet",testnet:!0},qdt={chain:"ETH",chainId:599,explorers:[{name:"blockscout",url:"https://goerli.explorer.metisdevops.link",standard:"EIP3091"}],faucets:["https://goerli.faucet.metisdevops.link"],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Goerli Testnet",nativeCurrency:{name:"Goerli Metis",symbol:"METIS",decimals:18},networkId:599,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://testnet-bridge.metis.io"}]},redFlags:[],rpc:["https://599.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.gateway.metisdevops.link"],shortName:"metis-goerli",slip44:1,slug:"metis-goerli-testnet",status:"deprecated",testnet:!0},jdt={chain:"MeshTestChain",chainId:600,explorers:[],faucets:[],name:"Meshnyan testnet",nativeCurrency:{name:"Meshnyan Testnet Native Token",symbol:"MESHT",decimals:18},networkId:600,rpc:[],shortName:"mesh-chain-testnet",slip44:1,slug:"meshnyan-testnet",testnet:!0},Gdt={chain:"VINE",chainId:601,explorers:[{name:"Vine Explorer",url:"https://vne.network/rose",standard:"none",icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"}}],faucets:["https://vne.network/rose"],icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"},infoURL:"https://www.peer.inc",name:"Vine Testnet",nativeCurrency:{name:"VINE",symbol:"VNE",decimals:18},networkId:601,rpc:["https://601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.vne.network"],shortName:"VINE",slug:"vine-testnet",testnet:!0},Kdt={chain:"EIOB",chainId:612,explorers:[{name:"EIOB Explorer",url:"https://explorer.eiob.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfJLG2mXgSqKx2V3A2jzTwt4vkozvQTTXkRy3os27wEVm",width:48,height:48,format:"png"},name:"EIOB Mainnet",nativeCurrency:{name:"EIOB",symbol:"EIOB",decimals:18},networkId:612,rpc:["https://612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eiob.xyz"],shortName:"eiob",slug:"eiob",testnet:!1},Qdt={chain:"GLQ Blockchain",chainId:614,explorers:[{name:"GLQ Explorer",url:"https://explorer.graphlinq.io",standard:"none"}],faucets:[],infoURL:"https://graphlinq.io",name:"Graphlinq Blockchain Mainnet",nativeCurrency:{name:"GLQ",symbol:"GLQ",decimals:18},networkId:614,rpc:["https://614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glq-dataseed.graphlinq.io"],shortName:"glq",slug:"graphlinq-blockchain",testnet:!1},Vdt={chain:"Avocado",chainId:634,explorers:[{name:"avoscan",url:"https://avoscan.co",standard:"none",icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"}}],faucets:[],icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"},infoURL:"https://avocado.instadapp.io",name:"Avocado",nativeCurrency:{name:"USDC",symbol:"USDC",decimals:18},networkId:634,rpc:["https://634.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avocado.instadapp.io"],shortName:"avocado",slug:"avocado",testnet:!1},Ydt={chain:"Flow",chainId:646,explorers:[{name:"Flow Diver",url:"https://previewnet.flowdiver.io",standard:"none"}],faucets:["https://previewnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Previewnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:646,rpc:["https://646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.evm.nodes.onflow.org"],shortName:"flow-previewnet",slug:"previewnet",testnet:!1},$dt={chain:"SX",chainId:647,explorers:[{name:"SX Network Toronto Explorer",url:"https://explorer.toronto.sx.technology",standard:"EIP3091"}],faucets:["https://faucet.toronto.sx.technology"],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Testnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:647,rpc:["https://647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toronto.sx.technology"],shortName:"SX-Testnet",slip44:1,slug:"sx-network-testnet",testnet:!0},Jdt={chain:"ACE",chainId:648,explorers:[{name:"Endurance Scan",url:"https://explorer.endurance.fusionist.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ace.fusionist.io/",name:"Endurance Smart Chain Mainnet",nativeCurrency:{name:"Endurance Chain Native Token",symbol:"ACE",decimals:18},networkId:648,rpc:["https://648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-endurance.fusionist.io/"],shortName:"ace",slug:"endurance-smart-chain",testnet:!1},Xdt={chain:"Kalichain",chainId:653,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain Testnet",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:653,rpc:["https://653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalichain.com"],shortName:"kalichain",slug:"kalichain-testnet",testnet:!0},Zdt={chain:"Kalichain",chainId:654,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:654,rpc:["https://654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kalichain.com"],shortName:"kalichainMainnet",slug:"kalichain",testnet:!1},e5t={chain:"UltronSmartchain",chainId:662,explorers:[{name:"ultronsmartchain explorer",url:"https://scan.ultronsmartchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTns2FXAqDCq1QJsocUBGjhxsgWYK7pFfD4UrRZ9JBsF1",width:50,height:50,format:"png"},infoURL:"https://ultronsmartchain.io",name:"UltronSmartchain",nativeCurrency:{name:"ulc",symbol:"ULC",decimals:18},networkId:662,rpc:["https://662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ultronsmartchain.io"],shortName:"ultronsmartchain",slug:"ultronsmartchain",testnet:!1},t5t={chain:"PixieChain",chainId:666,explorers:[],faucets:["https://chain.pixie.xyz/faucet"],infoURL:"https://scan-testnet.chain.pixie.xyz",name:"Pixie Chain Testnet",nativeCurrency:{name:"Pixie Chain Testnet Native Token",symbol:"PCTT",decimals:18},networkId:666,rpc:["https://666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.chain.pixie.xyz","wss://ws-testnet.chain.pixie.xyz"],shortName:"pixie-chain-testnet",slip44:1,slug:"pixie-chain-testnet",testnet:!0},n5t={chain:"LAOS",chainId:667,explorers:[{name:"blockscout",url:"https://arrakis.gorengine.com",standard:"EIP3091",icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"LAOS Arrakis",nativeCurrency:{name:"LAOS",symbol:"LAOS",decimals:18},networkId:667,rpc:["https://667.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arrakis.gorengine.com/own","wss://arrakis.gorengine.com/own"],shortName:"laos",slug:"laos-arrakis",testnet:!0,title:"LAOS Testnet Arrakis"},a5t={chain:"JuncaChain",chainId:668,explorers:[{name:"JuncaScan",url:"https://scan.juncachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://junca-cash.world",name:"JuncaChain",nativeCurrency:{name:"JuncaChain Native Token",symbol:"JGC",decimals:18},networkId:668,rpc:["https://668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.juncachain.com"],shortName:"junca",slug:"juncachain",testnet:!1},r5t={chain:"JuncaChain testnet",chainId:669,explorers:[{name:"JuncaScan",url:"https://scan-testnet.juncachain.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.juncachain.com"],infoURL:"https://junca-cash.world",name:"JuncaChain testnet",nativeCurrency:{name:"JuncaChain Testnet Native Token",symbol:"JGCT",decimals:18},networkId:669,rpc:["https://669.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.juncachain.com","wss://ws-testnet.juncachain.com"],shortName:"juncat",slip44:1,slug:"juncachain-testnet",testnet:!0},f5t={chain:"KAR",chainId:686,explorers:[{name:"blockscout",url:"https://blockscout.karura.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network/karura",name:"Karura Network",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:686,rpc:["https://686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura.aca-api.network","wss://eth-rpc-karura.aca-api.network"],shortName:"kar",slip44:686,slug:"karura-network",testnet:!1},i5t={chain:"ETH",chainId:690,explorers:[{name:"blockscout",url:"https://explorer.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz",name:"Redstone",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:690,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://redstone.xyz/deposit"}]},rpc:["https://690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.redstonechain.com","wss://rpc.redstonechain.com"],shortName:"redstone",slug:"redstone",testnet:!1},s5t={chain:"SNS",chainId:700,explorers:[{name:"starscan",url:"https://avastar.info",standard:"EIP3091"}],faucets:[],infoURL:"https://info.avastar.cc",name:"Star Social Testnet",nativeCurrency:{name:"Social",symbol:"SNS",decimals:18},networkId:700,rpc:["https://700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avastar.cc/ext/bc/C/rpc"],shortName:"SNS",slip44:1,slug:"star-social-testnet",testnet:!0},o5t={chain:"BCS",chainId:707,explorers:[{name:"BlockChain Station Explorer",url:"https://explorer.bcsdev.io",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchainstation.io",name:"BlockChain Station Mainnet",nativeCurrency:{name:"BCS Token",symbol:"BCS",decimals:18},networkId:707,rpc:["https://707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.bcsdev.io","wss://rpc-ws-mainnet.bcsdev.io"],shortName:"bcs",slug:"blockchain-station",testnet:!1},c5t={chain:"BCS",chainId:708,explorers:[{name:"BlockChain Station Explorer",url:"https://testnet.bcsdev.io",standard:"EIP3091"}],faucets:["https://faucet.bcsdev.io"],infoURL:"https://blockchainstation.io",name:"BlockChain Station Testnet",nativeCurrency:{name:"BCS Testnet Token",symbol:"tBCS",decimals:18},networkId:708,rpc:["https://708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bcsdev.io","wss://rpc-ws-testnet.bcsdev.io"],shortName:"tbcs",slip44:1,slug:"blockchain-station-testnet",testnet:!0},d5t={chain:"HIGHBURY",chainId:710,explorers:[{name:"Furya EVM Explorer",url:"https://explorer.furya.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"},infoURL:"https://www.fury.black",name:"Highbury",nativeCurrency:{name:"Fury",symbol:"FURY",decimals:18},networkId:710,rpc:["https://710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://highbury.furya.io","https://rest.furya.io"],shortName:"fury",slug:"highbury",testnet:!1},l5t={chain:"VRC",chainId:713,explorers:[{name:"vrcscan",url:"https://vrcscan.com",standard:"EIP3091"},{name:"dxbscan",url:"https://dxb.vrcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmasMkZJ6m7y77fgY6SooNnrH3Y4a3vVYNDWe9T3KusxeU",width:512,height:512,format:"png"},infoURL:"https://vrccoin.com",name:"Vrcscan Mainnet",nativeCurrency:{name:"VRC Chain",symbol:"VRC",decimals:18},networkId:713,rpc:["https://713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-5.vrcscan.com","https://rpc-mainnet-6.vrcscan.com","https://rpc-mainnet-7.vrcscan.com","https://rpc-mainnet-8.vrcscan.com"],shortName:"vrc",slug:"vrcscan",testnet:!1},u5t={chain:"Shibarium",chainId:719,explorers:[{name:"shibscan",url:"https://puppyscan.shib.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://beta.shibariumtech.com",name:"Shibarium Beta",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:719,rpc:["https://719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"shibarium",slug:"shibarium-beta",testnet:!1},p5t={chain:"LYC",chainId:721,explorers:[{name:"blockscout",url:"https://explorer.lycanchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZsp3gnmHCJPw3qReiqV8P8Ct5Eidib4E5jDNfBUxYEgP",width:512,height:512,format:"png"},infoURL:"https://lycanchain.com",name:"Lycan Chain",nativeCurrency:{name:"Lycan",symbol:"LYC",decimals:18},networkId:721,rpc:["https://721.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lycanchain.com/","https://us-east.lycanchain.com","https://us-west.lycanchain.com","https://eu-north.lycanchain.com","https://eu-west.lycanchain.com","https://asia-southeast.lycanchain.com"],shortName:"LYC",slug:"lycan-chain",testnet:!1},h5t={chain:"BLU",chainId:727,explorers:[],faucets:[],infoURL:"https://www.blucrates.com",name:"Blucrates",nativeCurrency:{name:"Blucrates",symbol:"BLU",decimals:18},networkId:727,rpc:["https://727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data.bluchain.pro"],shortName:"blu",slip44:727,slug:"blucrates",testnet:!1},m5t={chain:"Lovely",chainId:730,explorers:[{name:"Lovely Network Mainnet",url:"https://scan.lovely.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Mainnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:730,rpc:["https://730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lovely.network"],shortName:"LOVELY",slug:"lovely-network",testnet:!1},b5t={chain:"Canto Tesnet",chainId:740,explorers:[{name:"Canto Tesnet Explorer (Neobase)",url:"https://testnet-explorer.canto.neobase.one",standard:"none"}],faucets:[],infoURL:"https://canto.io",name:"Canto Testnet",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:740,rpc:["https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.plexnode.wtf/"],shortName:"tcanto",slip44:1,slug:"canto-testnet",status:"deprecated",testnet:!0},y5t={chain:"VSCT",chainId:741,explorers:[{name:"ventionscan",url:"https://testnet.ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://testnet.ventionscan.io",name:"Vention Smart Chain Testnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:741,rpc:["https://741.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-testnet.vention.network"],shortName:"vsct",slip44:1,slug:"vention-smart-chain-testnet",testnet:!0},g5t={chain:"SPAY",chainId:742,explorers:[{name:"Script Explorer",url:"https://explorer.script.tv",standard:"none"}],faucets:[],infoURL:"https://token.script.tv",name:"Script Testnet",nativeCurrency:{name:"Script",symbol:"SPAY",decimals:18},networkId:742,rpc:["https://742.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testeth-rpc-api.script.tv/rpc"],shortName:"SPAY",slip44:1,slug:"script-testnet",testnet:!0},v5t={chain:"Flow",chainId:747,explorers:[{name:"Flow Diver",url:"https://flowdiver.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Mainnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:747,rpc:["https://747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.evm.nodes.onflow.org"],shortName:"flow-mainnet",slug:"flow-mainnet",testnet:!1},w5t={chain:"QOM",chainId:766,explorers:[{name:"QL1 Mainnet Explorer",url:"https://mainnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:766,rpc:["https://766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qom.one"],shortName:"qom",slug:"ql1",status:"incubating",testnet:!1},T5t={chain:"OpenChain Testnet",chainId:776,explorers:[{name:"OPEN CHAIN TESTNET",url:"https://testnet.openchain.info",standard:"none"}],faucets:["https://faucet.openchain.info/"],infoURL:"https://testnet.openchain.info/",name:"OpenChain Testnet",nativeCurrency:{name:"Openchain Testnet",symbol:"TOPC",decimals:18},networkId:776,rpc:[],shortName:"opc",slip44:1,slug:"openchain-testnet",testnet:!0},x5t={chain:"cheapETH",chainId:777,explorers:[],faucets:[],infoURL:"https://cheapeth.org/",name:"cheapETH",nativeCurrency:{name:"cTH",symbol:"cTH",decimals:18},networkId:777,rpc:["https://777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.cheapeth.org/rpc"],shortName:"cth",slug:"cheapeth",testnet:!1},E5t={chain:"MAAL",chainId:786,explorers:[{name:"maalscan",url:"https://maalscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MAAL Chain",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:786,rpc:["https://786.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1-mainnet.maalscan.io/","https://node2-mainnet.maalscan.io/","https://node3-mainnet.maalscan.io/"],shortName:"maal",slug:"maal-chain",testnet:!1},_5t={chain:"ACA",chainId:787,explorers:[{name:"blockscout",url:"https://blockscout.acala.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Network",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:787,rpc:["https://787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala.aca-api.network","wss://eth-rpc-acala.aca-api.network"],shortName:"aca",slip44:787,slug:"acala-network",testnet:!1},A5t={chain:"Aerochain",chainId:788,explorers:[{name:"aeroscan",url:"https://testnet.aeroscan.id",standard:"EIP3091"}],faucets:["https://faucet.aerochain.id/"],infoURL:"https://aerochaincoin.org/",name:"Aerochain Testnet",nativeCurrency:{name:"Aerochain Testnet",symbol:"TAero",decimals:18},networkId:788,rpc:["https://788.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.aerochain.id/"],shortName:"taero",slip44:1,slug:"aerochain-testnet",testnet:!0},I5t={chain:"ETH",chainId:789,explorers:[{name:"patexscan",url:"https://patexscan.io",standard:"EIP3091",icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"},infoURL:"https://patex.io/",name:"Patex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:789,rpc:["https://789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.patex.io/"],shortName:"peth",slug:"patex",testnet:!1},C5t={chain:"Rupaya Testnet",chainId:799,explorers:[{name:"rupayascan",url:"https://scan.testnet.rupaya.io",standard:"EIP3091"}],faucets:["https://faucet.testnet.rupaya.io"],infoURL:"https://www.rupaya.io",name:"Rupaya Testnet",nativeCurrency:{name:"Test Rupaya",symbol:"TRUPX",decimals:18},networkId:799,rpc:["https://799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rupaya.io"],shortName:"RupayaTestnet",slip44:1,slug:"rupaya-testnet",testnet:!0},k5t={chain:"Lucid",chainId:800,explorers:[{name:"Lucid Explorer",url:"https://explorer.lucidcoin.io",standard:"none"}],faucets:["https://faucet.lucidcoin.io"],icon:{url:"ipfs://bafybeigxiyyxll4vst5cjjh732mr6zhsnligxubaldyiul2xdvvi6ibktu",width:800,height:800,format:"png"},infoURL:"https://lucidcoin.io",name:"Lucid Blockchain",nativeCurrency:{name:"LUCID",symbol:"LUCID",decimals:18},networkId:800,rpc:["https://800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lucidcoin.io"],shortName:"LUCID",slug:"lucid-blockchain",testnet:!1},S5t={chain:"Haic",chainId:803,explorers:[],faucets:[],infoURL:"https://www.haichain.io/",name:"Haic",nativeCurrency:{name:"Haicoin",symbol:"HAIC",decimals:18},networkId:803,rpc:["https://803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://orig.haichain.io/"],shortName:"haic",slug:"haic",testnet:!1},R5t={chain:"PF",chainId:808,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain Test",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:808,rpc:["https://808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/portal-fantasy/testnet/rpc"],shortName:"PFTEST",slip44:1,slug:"portal-fantasy-chain-test",testnet:!0},M5t={chain:"haven1",chainId:810,explorers:[{name:"Haven1 Explorer",url:"https://testnet-explorer.haven1.org",standard:"EIP3091",icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"}}],faucets:["https://www.haven1.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"},infoURL:"https://www.haven1.org",name:"Haven1 Testnet",nativeCurrency:{name:"Haven1",symbol:"H1",decimals:18},networkId:810,rpc:["https://810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.haven1.org"],shortName:"h1",slug:"haven1-testnet",testnet:!0},B5t={chain:"MEER",chainId:813,explorers:[{name:"meerscan",url:"https://qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}},{name:"meerscan",url:"https://qng.meerscan.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mainnet",nativeCurrency:{name:"Qitmeer",symbol:"MEER",decimals:18},networkId:813,rpc:["https://813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-dataseed1.meerscan.io","https://evm-dataseed2.meerscan.io","https://evm-dataseed3.meerscan.io","https://evm-dataseed.meerscan.com","https://qng.rpc.qitmeer.io","https://mainnet.meerlabs.com","https://rpc.dimai.ai","https://rpc.woowow.io"],shortName:"meer",slip44:813,slug:"qitmeer-network",testnet:!1},D5t={chain:"Firechain",chainId:814,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:814,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://zkevm-bridge-rpc.thefirechain.com"}]},rpc:["https://814.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm.thefirechain.com"],shortName:"firechan-zkEVM",slug:"firechain-zkevm",testnet:!1,title:"Firechain zkEVM"},P5t={chain:"BOC",chainId:818,explorers:[{name:"BeOne Chain Mainnet",url:"https://beonescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://beonechain.com",name:"BeOne Chain Mainnet",nativeCurrency:{name:"BeOne Chain Mainnet",symbol:"BOC",decimals:18},networkId:818,rpc:["https://818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.beonechain.com","https://dataseed2.beonechain.com","https://dataseed-us1.beonechain.com","https://dataseed-us2.beonechain.com","https://dataseed-uk1.beonechain.com","https://dataseed-uk2.beonechain.com"],shortName:"BOC",slip44:8181,slug:"beone-chain",testnet:!1},L5t={chain:"CLO",chainId:820,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Mainnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:1,rpc:["https://820.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.callisto.network/"],shortName:"clo",slip44:820,slug:"callisto",testnet:!1},F5t={chain:"CLO",chainId:821,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Testnet Deprecated",nativeCurrency:{name:"Callisto Testnet Ether",symbol:"TCLO",decimals:18},networkId:2,rpc:[],shortName:"tclo",slip44:1,slug:"callisto-testnet-deprecated",status:"deprecated",testnet:!0},N5t={chain:"Runic",chainId:822,explorers:[{name:"RunicScan",url:"https://scan.runic.build",standard:"EIP3091",icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"}}],faucets:["https://faucet.runic.build"],icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"},infoURL:"https://runic.build",name:"Runic Chain Testnet",nativeCurrency:{name:"Bitcoin",symbol:"rBTC",decimals:18},networkId:822,rpc:["https://822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.runic.build"],shortName:"runic-testnet",slug:"runic-chain-testnet",status:"active",testnet:!0},O5t={chain:"CDT Blockchain",chainId:831,explorers:[{name:"CDT Explorer",url:"https://explorer.checkdot.io",standard:"none"}],faucets:[],infoURL:"https://checkdot.io",name:"CheckDot Blockchain Devnet",nativeCurrency:{name:"CDT",symbol:"CDT",decimals:18},networkId:831,rpc:["https://831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.checkdot.io"],shortName:"cdt",slug:"checkdot-blockchain-devnet",testnet:!1},U5t={chain:"Tara",chainId:841,explorers:[{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:841,rpc:["https://841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taraxa.io/"],shortName:"tara",slug:"taraxa",testnet:!1},H5t={chain:"Tara",chainId:842,explorers:[{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:842,rpc:["https://842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.taraxa.io/"],shortName:"taratest",slip44:1,slug:"taraxa-testnet",testnet:!0},z5t={chain:"ZeethChainDev",chainId:859,explorers:[{name:"Zeeth Explorer Dev",url:"https://explorer.dev.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain Dev",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:859,rpc:["https://859.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.zeeth.io"],shortName:"zeethdev",slug:"zeeth-chain-dev",testnet:!1},W5t={chain:"FSC",chainId:868,explorers:[{name:"FSCScan",url:"https://explorer.fantasiachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://fantasiachain.com/",name:"Fantasia Chain Mainnet",nativeCurrency:{name:"FST",symbol:"FST",decimals:18},networkId:868,rpc:["https://868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data1.fantasiachain.com/","https://mainnet-data2.fantasiachain.com/","https://mainnet-data3.fantasiachain.com/"],shortName:"FSCMainnet",slug:"fantasia-chain",testnet:!1},q5t={chain:"Bandai Namco Research Verse",chainId:876,explorers:[{name:"Bandai Namco Research Verse Explorer",url:"https://explorer.main.oasvrs.bnken.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifhetalm3vpvjrg5u5d2momkcgvkz6rhltur5co3rslltbxzpr6yq",width:2048,height:2048,format:"png"},infoURL:"https://www.bandainamco-mirai.com/en/",name:"Bandai Namco Research Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:876,parent:{type:"L2",chain:"eip155-248"},rpc:["https://876.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.oasvrs.bnken.net"],shortName:"BNKEN",slug:"bandai-namco-research-verse",testnet:!1},j5t={chain:"DXT",chainId:877,explorers:[{name:"dxtscan",url:"https://dxtscan.com",standard:"EIP3091"}],faucets:["https://faucet.dexit.network"],infoURL:"https://dexit.network",name:"Dexit Network",nativeCurrency:{name:"Dexit network",symbol:"DXT",decimals:18},networkId:877,rpc:["https://877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dxt.dexit.network"],shortName:"DXT",slug:"dexit-network",testnet:!1},G5t={chain:"ambroschain",chainId:880,explorers:[{name:"Ambros Chain Explorer",url:"https://ambrosscan.com",standard:"none"}],faucets:[],infoURL:"https://ambros.network",name:"Ambros Chain Mainnet",nativeCurrency:{name:"AMBROS",symbol:"AMBROS",decimals:18},networkId:880,rpc:["https://880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ambros.network"],shortName:"ambros",slug:"ambros-chain",testnet:!1},K5t={chain:"Hypr",chainId:881,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"PNG"},infoURL:"https://www.hypr.network",name:"Hypr Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:881,parent:{type:"OP Stack",chain:"OP",bridges:[]},redFlags:[],rpc:["https://881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypr.network"],shortName:"ether",slug:"hypr",testnet:!1},Q5t={chain:"Hypr",chainId:882,explorers:[{name:"Explorer",url:"https://explorer-testnet.hypr.network",standard:"OP Stack EVM"}],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"ONG"},name:"Hypr Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:882,redFlags:[],rpc:["https://882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hypr.network"],shortName:"eth",slug:"hypr-testnet",testnet:!0,title:"https://explorer-testnet.hypr.network"},V5t={chain:"WAN",chainId:888,explorers:[],faucets:[],infoURL:"https://www.wanscan.org",name:"Wanchain",nativeCurrency:{name:"Wancoin",symbol:"WAN",decimals:18},networkId:888,rpc:["https://888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwan-ssl.wandevs.org:56891/"],shortName:"wan",slip44:5718350,slug:"wanchain",testnet:!1},Y5t={chain:"MAXI",chainId:898,explorers:[{name:"Maxi Chain Testnet Explorer",url:"https://testnet.maxi.network",standard:"EIP3091"}],faucets:["https://faucet.maxi.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Testnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:898,rpc:["https://898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.maxi.network"],shortName:"maxi-testnet",slug:"maxi-chain-testnet",testnet:!0},$5t={chain:"MAXI",chainId:899,explorers:[{name:"Maxi Chain Mainnet Explorer",url:"https://mainnet.maxi.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Mainnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:899,rpc:["https://899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxi.network"],shortName:"maxi-mainnet",slug:"maxi-chain",testnet:!1},J5t={chain:"GAR",chainId:900,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:900,rpc:["https://900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0-testnet.garizon.net/rpc"],shortName:"gar-test-s0",slug:"garizon-testnet-stage0",testnet:!0},X5t={chain:"GAR",chainId:901,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:901,parent:{type:"shard",chain:"eip155-900"},rpc:["https://901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1-testnet.garizon.net/rpc"],shortName:"gar-test-s1",slip44:1,slug:"garizon-testnet-stage1",testnet:!0},Z5t={chain:"GAR",chainId:902,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:902,parent:{type:"shard",chain:"eip155-900"},rpc:["https://902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2-testnet.garizon.net/rpc"],shortName:"gar-test-s2",slip44:1,slug:"garizon-testnet-stage2",testnet:!0},elt={chain:"GAR",chainId:903,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:903,parent:{type:"shard",chain:"eip155-900"},rpc:["https://903.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3-testnet.garizon.net/rpc"],shortName:"gar-test-s3",slip44:1,slug:"garizon-testnet-stage3",testnet:!0},tlt={chain:"PF",chainId:909,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:909,rpc:[],shortName:"PF",slug:"portal-fantasy-chain",status:"incubating",testnet:!1},nlt={chain:"DBONE",chainId:910,explorers:[],faucets:[],infoURL:"https://decentrabone.com",name:"DecentraBone Layer1 Testnet",nativeCurrency:{name:"DecentraBone",symbol:"DBONE",decimals:18},networkId:910,rpc:["https://910.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://layer1test.decentrabone.com"],shortName:"DBONE",slip44:1,slug:"decentrabone-layer1-testnet",testnet:!0},alt={chain:"TAPROOT CHAIN",chainId:911,explorers:[{name:"TAPROOT Scan",url:"https://scan.taprootchain.io",standard:"EIP3091",icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"},infoURL:"https://taprootchain.io",name:"TAPROOT Mainnet",nativeCurrency:{name:"TBTC",symbol:"TBTC",decimals:18},networkId:911,rpc:["https://911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taprootchain.io"],shortName:"TAPROOT-Mainnet",slug:"taproot",testnet:!1,title:"TAPROOT Mainnet"},rlt={chain:"FIRE",chainId:917,explorers:[{name:"FireScan",url:"https://rinia.firescan.io",standard:"EIP3091"}],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:917,rpc:["https://917.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinia-rpc1.thefirechain.com"],shortName:"tfire",slip44:1,slug:"rinia-testnet",testnet:!0},flt={chain:"ETH",chainId:919,explorers:[{name:"modescout",url:"https://sepolia.explorer.mode.network",standard:"none"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:919,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.mode.network/"}]},rpc:["https://919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.mode.network"],shortName:"modesep",slip44:1,slug:"mode-testnet",testnet:!0},ilt={chain:"Yidark",chainId:927,explorers:[{name:"Yidarkscan",url:"https://yidarkscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdbFGqrpiLQGtAeUAyeS2NBvACfgrchEF466ni5q36fuZ",width:401,height:401,format:"png"},infoURL:"https://yidarkscan.com",name:"Yidark Chain Mainnet",nativeCurrency:{name:"Yidark",symbol:"YDK",decimals:18},networkId:927,rpc:["https://927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yidark.io"],shortName:"ydk",slug:"yidark-chain",testnet:!1},slt={chain:"tPLS",chainId:940,explorers:[],faucets:["https://faucet.v2.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:940,rpc:["https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2.testnet.pulsechain.com/","wss://rpc.v2.testnet.pulsechain.com/"],shortName:"tpls",slip44:1,slug:"pulsechain-testnet",status:"deprecated",testnet:!0},olt={chain:"t2bPLS",chainId:941,explorers:[],faucets:["https://faucet.v2b.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v2b",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:941,rpc:["https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2b.testnet.pulsechain.com/","wss://rpc.v2b.testnet.pulsechain.com/"],shortName:"t2bpls",slip44:1,slug:"pulsechain-testnet-v2b",status:"deprecated",testnet:!0},clt={chain:"t3PLS",chainId:942,explorers:[],faucets:["https://faucet.v3.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v3",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:942,rpc:["https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v3.testnet.pulsechain.com/","wss://rpc.v3.testnet.pulsechain.com/"],shortName:"t3pls",slip44:1,slug:"pulsechain-testnet-v3",status:"deprecated",testnet:!0},dlt={chain:"t4PLS",chainId:943,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://otter-testnet-pulsechain.g4mm4.io",standard:"EIP3091"}],faucets:["https://faucet.v4.testnet.pulsechain.com/"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmckj9B9F3jWDk9bv9HwoPmfjrx2Ju8J2BQSNoPFdYGduj",width:433,height:402,format:"png"},infoURL:"https://pulsechain.com",name:"PulseChain Testnet v4",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:943,rpc:["https://943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v4.testnet.pulsechain.com","wss://rpc.v4.testnet.pulsechain.com","https://pulsechain-testnet-rpc.publicnode.com","wss://pulsechain-testnet-rpc.publicnode.com","https://rpc-testnet-pulsechain.g4mm4.io","wss://rpc-testnet-pulsechain.g4mm4.io"],shortName:"t4pls",slip44:1,slug:"pulsechain-testnet-v4",status:"active",testnet:!0},llt={chain:"Avalanche",chainId:949,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s5t",nativeCurrency:{name:"QI0521s5t Token",symbol:"VTV",decimals:18},networkId:949,redFlags:[],rpc:["https://949.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s5t",slug:"qi0521s5t",testnet:!0},ult={chain:"munode",chainId:956,explorers:[],faucets:[],infoURL:"https://munode.dev/",name:"muNode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:956,rpc:[],shortName:"munode",slip44:1,slug:"munode-testnet",testnet:!0},plt={chain:"Lyra",chainId:957,explorers:[{name:"Lyra Explorer",url:"https://explorer.lyra.finance",standard:"EIP3091",icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"},infoURL:"https://lyra.finance",name:"Lyra Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:957,rpc:["https://957.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lyra.finance"],shortName:"lyra",slug:"lyra-chain",testnet:!1},hlt={chain:"BTC20",chainId:963,explorers:[{name:"blockscout",url:"https://scan.bitcoincode.technology",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRUzDpn3xqPYnjLuZvFs2Attio9VxGRUprXEjcNQDcpe5",width:375,height:456,format:"png"},infoURL:"https://bitcoincode.technology",name:"BTC20 Smart Chain",nativeCurrency:{name:"BTCC",symbol:"BTCC",decimals:18},networkId:963,rpc:["https://963.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitcoincode.technology/"],shortName:"btc20",slug:"btc20-smart-chain",testnet:!1},mlt={chain:"EthXY",chainId:969,explorers:[{name:"EthXY Network Explorer",url:"https://explorer.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:969,rpc:["https://969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethxy.com"],shortName:"sexy",slug:"ethxy",testnet:!1},blt={chain:"Oort Mainnet",chainId:970,explorers:[{name:"Oort Mainnet Explorer",url:"https://mainnet-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Mainnet",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:970,rpc:["https://970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oortech.com"],shortName:"ccn",slug:"oort",testnet:!1},ylt={chain:"Huygens",chainId:971,explorers:[],faucets:[],icon:{url:"ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",width:1043,height:1079,format:"png"},infoURL:"https://oortech.com",name:"Oort Huygens",nativeCurrency:{name:"Oort",symbol:"CCN",decimals:18},networkId:971,rpc:[],shortName:"Huygens",slug:"oort-huygens",testnet:!1},glt={chain:"Ascraeus",chainId:972,explorers:[{name:"Oort Ascraeus Explorer",url:"https://ascraeus-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Ascraeus",nativeCurrency:{name:"Oort",symbol:"CCNA",decimals:18},networkId:972,rpc:["https://972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ascraeus-rpc.oortech.com"],shortName:"Ascraeus",slug:"oort-ascraeus",testnet:!1,title:"Oort Ascraeus"},vlt={chain:"YETI",chainId:977,explorers:[],faucets:["https://faucet.nepalblockchain.network"],infoURL:"https://nepalblockchain.network",name:"Nepal Blockchain Network",nativeCurrency:{name:"Nepal Blockchain Network Ether",symbol:"YETI",decimals:18},networkId:977,rpc:["https://977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nepalblockchain.dev","https://api.nepalblockchain.network"],shortName:"yeti",slug:"nepal-blockchain-network",testnet:!1},wlt={chain:"EthXY",chainId:979,explorers:[{name:"EthXY Testnet Network Explorer",url:"https://explorer.testnet.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY Testnet",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:979,rpc:["https://979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ethxy.com"],shortName:"sexyTestnet",slug:"ethxy-testnet",testnet:!0},Tlt={chain:"TOP",chainId:980,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet EVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:0,rpc:["https://980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethapi.topnetwork.org"],shortName:"top_evm",slug:"top-evm",testnet:!1},xlt={chain:"MEMO",chainId:985,explorers:[{name:"Memo Mainnet Explorer",url:"https://scan.metamemo.one:8080",standard:"EIP3091",icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"}}],faucets:["https://faucet.metamemo.one/"],icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"},name:"Memo Smart Chain Mainnet",nativeCurrency:{name:"Memo",symbol:"CMEMO",decimals:18},networkId:985,rpc:["https://985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.metamemo.one:8501","wss://chain.metamemo.one:16801"],shortName:"memochain",slug:"memo-smart-chain",testnet:!1},Elt={chain:"Avalanche",chainId:987,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Orange Testnet",nativeCurrency:{name:"Orange Testnet Token",symbol:"JUICE",decimals:18},networkId:987,redFlags:[],rpc:["https://987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/orangetest/testnet/rpc"],shortName:"Orange Testnet",slug:"orange-testnet",testnet:!0},_lt={chain:"TOP",chainId:989,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet",nativeCurrency:{name:"TOP",symbol:"TOP",decimals:6},networkId:0,rpc:[],shortName:"top",slug:"top",testnet:!1},Alt={chain:"$EL",chainId:990,explorers:[{name:"eLiberty Mainnet",url:"https://explorer.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Mainnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:990,rpc:["https://990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eliberty.ngo"],shortName:"ELm",slug:"eliberty",testnet:!1},Ilt={chain:"5ireChain",chainId:997,explorers:[{name:"5ireChain Explorer",url:"https://explorer.5ire.network",standard:"none",icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"}}],faucets:["https://explorer.5ire.network/faucet"],icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"},infoURL:"https://5ire.org",name:"5ireChain Thunder",nativeCurrency:{name:"5ire Token",symbol:"5ire",decimals:18},networkId:997,rpc:["https://997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.5ire.network"],shortName:"5ire",slug:"5irechain-thunder",testnet:!0},Clt={chain:"LN",chainId:998,explorers:[{name:"blockscout",url:"https://explorer.luckynetwork.org",standard:"none"},{name:"expedition",url:"https://lnscan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidmvcd5i7touug55hj45mf2pgabxamy5fziva7mtx5n664s3yap6m",width:205,height:28,format:"png"},infoURL:"https://luckynetwork.org",name:"Lucky Network",nativeCurrency:{name:"Lucky",symbol:"L99",decimals:18},networkId:998,rpc:["https://998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.luckynetwork.org","wss://ws.lnscan.org","https://rpc.lnscan.org"],shortName:"ln",slug:"lucky-network",testnet:!1},klt={chain:"ETH",chainId:999,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},name:"Zora Testnet",nativeCurrency:{name:"Ether",symbol:"GETH",decimals:18},networkId:999,redFlags:["reusedChainId"],rpc:["https://999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.zora.co/"],shortName:"zora-testnet",slug:"zora-testnet",testnet:!0},Slt={chain:"GTON",chainId:1e3,explorers:[{name:"GTON Network Explorer",url:"https://explorer.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Mainnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:1e3,parent:{type:"L2",chain:"eip155-1"},rpc:["https://1000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gton.network/"],shortName:"gton",slug:"gton",testnet:!1},Rlt={chain:"KLAY",chainId:1001,explorers:[{name:"Klaytnscope",url:"https://baobab.klaytnscope.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://baobab.klaytnfinder.io",standard:"EIP3091"}],faucets:["https://baobab.wallet.klaytn.com/access?next=faucet"],features:[],infoURL:"https://klaytn.foundation",name:"Klaytn Testnet Baobab",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:1001,redFlags:[],rpc:["https://1001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-baobab.klaytn.net","https://api.baobab.klaytn.net:8651"],shortName:"Baobab",slip44:1,slug:"klaytn-testnet-baobab",testnet:!0},Mlt={chain:"TET",chainId:1003,explorers:[{name:"Tectum explorer",url:"https://explorer.tectum.io",standard:"EIP3091",icon:{url:"ipfs://QmYvFVprVdAGJH4iHUCXGEmy7pq8MMfxEjM64SuXutz9qx",width:256,height:256,format:"png"}}],faucets:[],infoURL:"https://softnote.com",name:"Tectum Emission Token",nativeCurrency:{name:"Tectum",symbol:"TET",decimals:8},networkId:1003,rpc:["https://1003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.softnote.com/"],shortName:"tet",slug:"tectum-emission-token",testnet:!1},Blt={chain:"T-EKTA",chainId:1004,explorers:[{name:"test-ektascan",url:"https://test.ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"T-EKTA",nativeCurrency:{name:"T-EKTA",symbol:"T-EKTA",decimals:18},networkId:1004,rpc:["https://1004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.ekta.io:8545"],shortName:"t-ekta",slug:"t-ekta",testnet:!0,title:"EKTA Testnet T-EKTA"},Dlt={chain:"NEW",chainId:1007,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton Testnet",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1007,rpc:["https://1007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.newchain.newtonproject.org"],shortName:"tnew",slip44:1,slug:"newton-testnet",testnet:!0},Plt={chain:"EUN",chainId:1008,explorers:[{name:"eurusexplorer",url:"https://explorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Mainnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1008,rpc:["https://1008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eurus.network/"],shortName:"eun",slug:"eurus",testnet:!1},Llt={chain:"Jumbo",chainId:1009,explorers:[{name:"Jumboscan",url:"https://jumboscan.jumbochain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"Jumbochain Mainnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:1009,rpc:["https://1009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpriv.jumbochain.org"],shortName:"Jumboscan",slip44:1,slug:"jumbochain",testnet:!1},Flt={chain:"EVC",chainId:1010,explorers:[],faucets:[],infoURL:"https://evrice.com",name:"Evrice Network",nativeCurrency:{name:"Evrice",symbol:"EVC",decimals:18},networkId:1010,rpc:["https://1010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://meta.evrice.com"],shortName:"EVC",slip44:1020,slug:"evrice-network",testnet:!1},Nlt={chain:"REBUS",chainId:1011,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://cosmos.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Mainnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:1011,rpc:["https://1011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apievm.rebuschain.com/rpc"],shortName:"rebus",slug:"rebus",testnet:!1,title:"Rebuschain Mainnet"},Olt={chain:"NEW",chainId:1012,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1012,rpc:["https://1012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://global.rpc.mainnet.newtonproject.org"],shortName:"new",slug:"newton",testnet:!1},Ult={chain:"Sakura",chainId:1022,explorers:[],faucets:[],infoURL:"https://clover.finance/sakura",name:"Sakura",nativeCurrency:{name:"Sakura",symbol:"SKU",decimals:18},networkId:1022,rpc:[],shortName:"sku",slug:"sakura",testnet:!1},Hlt={chain:"Clover",chainId:1023,explorers:[],faucets:[],infoURL:"https://clover.finance",name:"Clover Testnet",nativeCurrency:{name:"Clover",symbol:"CLV",decimals:18},networkId:1023,rpc:[],shortName:"tclv",slip44:1,slug:"clover-testnet",testnet:!0},zlt={chain:"CLV",chainId:1024,explorers:[],faucets:[],infoURL:"https://clv.org",name:"CLV Parachain",nativeCurrency:{name:"CLV",symbol:"CLV",decimals:18},networkId:1024,rpc:["https://1024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-para.clover.finance"],shortName:"clv",slug:"clv-parachain",testnet:!1},Wlt={chain:"BTTC",chainId:1028,explorers:[{name:"testbttcscan",url:"https://testscan.bittorrentchain.io",standard:"none"}],faucets:[],infoURL:"https://bittorrentchain.io/",name:"BitTorrent Chain Testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:1028,rpc:["https://1028.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.bittorrentchain.io/"],shortName:"tbtt",slip44:1,slug:"bittorrent-chain-testnet",testnet:!0},qlt={chain:"Conflux",chainId:1030,explorers:[{name:"Conflux Scan",url:"https://evm.confluxscan.net",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:1030,rpc:["https://1030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.confluxrpc.com"],shortName:"cfx",slug:"conflux-espace",testnet:!1},jlt={chain:"Proxy Network",chainId:1031,explorers:[{name:"proxy network testnet",url:"http://testnet-explorer.theproxy.network",standard:"EIP3091"}],faucets:[],infoURL:"https://theproxy.network",name:"Proxy Network Testnet",nativeCurrency:{name:"PRX",symbol:"PRX",decimals:18},networkId:1031,rpc:["https://1031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://128.199.94.183:8041"],shortName:"prx",slip44:1,slug:"proxy-network-testnet",testnet:!0},Glt={chain:"Bronos",chainId:1038,explorers:[{name:"Bronos Testnet Explorer",url:"https://tbroscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:["https://faucet.bronos.org"],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Testnet",nativeCurrency:{name:"tBRO",symbol:"tBRO",decimals:18},networkId:1038,rpc:["https://1038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.bronos.org"],shortName:"bronos-testnet",slip44:1,slug:"bronos-testnet",testnet:!0},Klt={chain:"Bronos",chainId:1039,explorers:[{name:"Bronos Explorer",url:"https://broscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Mainnet",nativeCurrency:{name:"BRO",symbol:"BRO",decimals:18},networkId:1039,rpc:[],shortName:"bronos-mainnet",slug:"bronos",testnet:!1},Qlt={chain:"ShimmerEVM",chainId:1071,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1071,rpc:[],shortName:"shimmerevm-testnet-deprecated",slip44:1,slug:"shimmerevm-testnet-deprecated",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated"},Vlt={chain:"ShimmerEVM",chainId:1072,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated 1072",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:6},networkId:1072,rpc:[],shortName:"shimmerevm-testnet-deprecated-1072",slip44:1,slug:"shimmerevm-testnet-deprecated-1072",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated 1072"},Ylt={chain:"ShimmerEVM",chainId:1073,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1073,rpc:["https://1073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.shimmer.network"],shortName:"shimmerevm-testnet",slip44:1,slug:"shimmerevm-testnet",testnet:!0,title:"ShimmerEVM Testnet"},$lt={chain:"IOTA EVM",chainId:1075,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.iotaledger.net",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.iotaledger.net"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM Testnet",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:1075,rpc:["https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.iotaledger.net"],shortName:"iotaevm-testnet",slug:"iota-evm-testnet",testnet:!0,title:"IOTA EVM Testnet"},Jlt={chain:"Mintara",chainId:1079,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Testnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1079,rpc:["https://1079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/testnet/rpc"],shortName:"mintara-testnet",slip44:1,slug:"mintara-testnet",testnet:!0,title:"Mintara Testnet"},Xlt={chain:"Mintara",chainId:1080,explorers:[{name:"explorer",url:"https://subnets.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Mainnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1080,rpc:["https://1080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/mainnet/rpc"],shortName:"mintara",slug:"mintara",testnet:!1,title:"Mintara Mainnet"},Zlt={chain:"ETH",chainId:1088,explorers:[{name:"blockscout",url:"https://andromeda-explorer.metis.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Andromeda Mainnet",nativeCurrency:{name:"Metis",symbol:"METIS",decimals:18},networkId:1088,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.metis.io"}]},redFlags:[],rpc:["https://1088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://andromeda.metis.io/?owner=1088","https://metis.drpc.org","wss://metis.drpc.org"],shortName:"metis-andromeda",slug:"metis-andromeda",testnet:!1},eut={chain:"Humans",chainId:1089,explorers:[{name:"explorer.guru",url:"https://humans.explorers.guru",standard:"none",icon:{url:"ipfs://QmU83haX3TNifDDjBx6RP6ByqES1Kg9VqeJC87X9ipKyCS",width:386,height:397,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Mainnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:1089,rpc:["https://1089.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.humans.nodestake.top","https://humans-mainnet-evm.itrocket.net","https://humans-evm-rpc.staketab.org:443","https://evm.humans.stakepool.dev.br","https://mainnet-humans-evm.konsortech.xyz","https://evm-rpc.mainnet.humans.zone","https://json-rpc.humans.bh.rocks","https://evm-rpc.humans.huginn.tech"],shortName:"humans",slug:"humans-ai",testnet:!1},tut={chain:"MOAC",chainId:1099,explorers:[{name:"moac explorer",url:"https://explorer.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC mainnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:1099,rpc:[],shortName:"moac",slip44:314,slug:"moac",testnet:!1},nut={chain:"Dymension",chainId:1100,explorers:[{name:"dym.fyi",url:"https://dym.fyi",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic4sjyqikz33xzpcctczvkiwfj44q5i3i7zslycnjiqmyx5ybc3fi",width:1200,height:1200,format:"png"},infoURL:"https://dymension.xyz",name:"Dymension",nativeCurrency:{name:"DYM",symbol:"DYM",decimals:18},networkId:1100,rpc:["https://1100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dymension-evm.blockpi.network/v1/rpc/public","https://dymension-evm-rpc.publicnode.com","wss://dymension-evm-rpc.publicnode.com"],shortName:"dymension",slug:"dymension",testnet:!1},aut={chain:"Polygon",chainId:1101,explorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1101,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zkevm-rpc.com"}]},rpc:["https://1101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zkevm-rpc.com","https://polygon-zkevm.drpc.org","wss://polygon-zkevm.drpc.org"],shortName:"zkevm",slug:"polygon-zkevm",testnet:!1,title:"Polygon zkEVM"},rut={chain:"BLXQ",chainId:1107,explorers:[{name:"BLXq Explorer",url:"https://explorer.blx.org",standard:"none",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Testnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1107,rpc:["https://1107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetq1.blx.org"],shortName:"tblxq",slip44:1,slug:"blxq-testnet",testnet:!0},fut={chain:"BLXQ",chainId:1108,explorers:[{name:"BLXq Explorer",url:"https://explorer.blxq.org",standard:"EIP3091",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Mainnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1108,rpc:["https://1108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blxq.org"],shortName:"blxq",slug:"blxq",testnet:!1},iut={chain:"WEMIX",chainId:1111,explorers:[{name:"WEMIX Block Explorer",url:"https://explorer.wemix.com",standard:"EIP3091"}],faucets:[],infoURL:"https://wemix.com",name:"WEMIX3.0 Mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},networkId:1111,rpc:["https://1111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.wemix.com","wss://ws.wemix.com"],shortName:"wemix",slug:"wemix3-0",testnet:!1},sut={chain:"TWEMIX",chainId:1112,explorers:[{name:"WEMIX Testnet Microscope",url:"https://microscope.test.wemix.com",standard:"EIP3091"}],faucets:["https://wallet.test.wemix.com/faucet"],infoURL:"https://wemix.com",name:"WEMIX3.0 Testnet",nativeCurrency:{name:"TestnetWEMIX",symbol:"tWEMIX",decimals:18},networkId:1112,rpc:["https://1112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.test.wemix.com","wss://ws.test.wemix.com"],shortName:"twemix",slip44:1,slug:"wemix3-0-testnet",testnet:!0},out={chain:"BSQ",chainId:1113,explorers:[{name:"B2 Hub Habitat Testnet Explorer",url:"https://testnet-hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Testnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:1113,rpc:["https://1113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-hub-rpc.bsquared.network"],shortName:"B2Hub-testnet",slug:"b2-hub-testnet",testnet:!0},cut={chain:"Core",chainId:1115,explorers:[{name:"Core Scan Testnet",url:"https://scan.test.btcs.network",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:["https://scan.test.btcs.network/faucet"],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Testnet",nativeCurrency:{name:"Core Blockchain Testnet Native Token",symbol:"tCORE",decimals:18},networkId:1115,rpc:["https://1115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.btcs.network/"],shortName:"tcore",slip44:1,slug:"core-blockchain-testnet",testnet:!0},dut={chain:"Core",chainId:1116,explorers:[{name:"Core Scan",url:"https://scan.coredao.org",standard:"EIP3091",icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTQaBCkpbsxNNWTpoNrMsnwnAEf1wYTcn7CiiZGfUXD2",width:200,height:217,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Mainnet",nativeCurrency:{name:"Core Blockchain Native Token",symbol:"CORE",decimals:18},networkId:1116,rpc:["https://1116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coredao.org/","https://rpc-core.icecreamswap.com","https://core.drpc.org","wss://core.drpc.org"],shortName:"core",slug:"core-blockchain",testnet:!1},lut={chain:"DOGS",chainId:1117,explorers:[{name:"Dogcoin",url:"https://explorer.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Mainnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:1117,rpc:["https://1117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.dogcoin.me"],shortName:"DOGSm",slug:"dogcoin",testnet:!1},uut={chain:"Habitat",chainId:1123,explorers:[{name:"blockscout",url:"https://testnet-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:1123,parent:{type:"L2",chain:"eip155-1113"},rpc:["https://1123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://b2-testnet.alt.technology"],shortName:"B2-testnet",slug:"b2-testnet",testnet:!0,title:"B2 Testnet"},put={chain:"defichain-evm",chainId:1130,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1130,rpc:[],shortName:"DFI",slip44:1130,slug:"defichain-evm-network",status:"incubating",testnet:!1},hut={chain:"defichain-evm-testnet",chainId:1131,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1131,rpc:[],shortName:"DFI-T",slip44:1,slug:"defichain-evm-network-testnet",status:"incubating",testnet:!0},mut={chain:"DFI",chainId:1133,explorers:[{name:"MetaScan",url:"https://meta.defiscan.live",standard:"EIP3091"}],faucets:["http://tc04.mydefichain.com/faucet"],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com",name:"DeFiMetaChain Changi Testnet",nativeCurrency:{name:"DeFiChain Token",symbol:"DFI",decimals:18},networkId:1133,rpc:["https://1133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dmc.mydefichain.com/changi","https://testnet-dmc.mydefichain.com:20551"],shortName:"changi",slug:"defimetachain-changi-testnet",testnet:!0},but={chain:"ETH",chainId:1135,explorers:[{name:"blockscout",url:"https://blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},infoURL:"https://lisk.com",name:"Lisk",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1135,rpc:["https://1135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.lisk.com"],shortName:"lisk",slip44:134,slug:"lisk",testnet:!1},yut={chain:"AmStar",chainId:1138,explorers:[{name:"amstarscan-testnet",url:"https://testnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Testnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1138,rpc:["https://1138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.amstarscan.com"],shortName:"ASARt",slip44:1,slug:"amstar-testnet",testnet:!0},gut={chain:"MATH",chainId:1139,explorers:[],faucets:[],infoURL:"https://mathchain.org",name:"MathChain",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1139,rpc:["https://1139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mathchain-asia.maiziqianbao.net/rpc","https://mathchain-us.maiziqianbao.net/rpc"],shortName:"MATH",slug:"mathchain",testnet:!1},vut={chain:"MATH",chainId:1140,explorers:[],faucets:["https://scan.boka.network/#/Galois/faucet"],infoURL:"https://mathchain.org",name:"MathChain Testnet",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1140,rpc:["https://1140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galois-hk.maiziqianbao.net/rpc"],shortName:"tMATH",slip44:1,slug:"mathchain-testnet",testnet:!0},Gse={chain:"Flag",chainId:1147,explorers:[{name:"Flag Testnet Explorer",url:"https://testnet-explorer.flagscan.xyz",standard:"EIP3091"}],faucets:["https://faucet.flagscan.xyz"],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.flagscan.xyz",name:"Flag Testnet",nativeCurrency:{name:"Flag Testnet",symbol:"FLAG",decimals:18},networkId:1147,rpc:["https://1147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.flagscan.xyz"],shortName:"tFLAG",slug:"flag-testnet",testnet:!0},wut={chain:"Plexchain",chainId:1149,explorers:[{name:"Plexchain Explorer",url:"https://explorer.plexfinance.us",standard:"EIP3091",icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"},infoURL:"https://plexfinance.us/",name:"Symplexia Smart Chain",nativeCurrency:{name:"Plex Native Token",symbol:"PLEX",decimals:18},networkId:1149,rpc:["https://1149.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://plex-rpc.plexfinance.us"],shortName:"Plexchain",slug:"symplexia-smart-chain",testnet:!1},Tut={chain:"Origin",chainId:1170,explorers:[{name:"Origin Explorer",url:"https://evm-explorer.origin.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Origin Testnet",nativeCurrency:{name:"Origin",symbol:"UOC",decimals:18},networkId:1170,rpc:["https://1170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.origin.uptick.network"],shortName:"auoc",slip44:1,slug:"origin-testnet",testnet:!0},xut={chain:"SHT",chainId:1177,explorers:[{name:"Smart Host Teknoloji TESTNET Explorer",url:"https://s2.tl.web.tr:4000",standard:"EIP3091",icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"},infoURL:"https://smart-host.com.tr",name:"Smart Host Teknoloji TESTNET",nativeCurrency:{name:"Smart Host Teknoloji TESTNET",symbol:"tSHT",decimals:18},networkId:1177,rpc:["https://1177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.tl.web.tr:4041"],shortName:"sht",slip44:1,slug:"smart-host-teknoloji-testnet",testnet:!0},Eut={chain:"MOS",chainId:1188,explorers:[{name:"mosscan",url:"https://www.mosscan.com",standard:"none",icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"}}],faucets:[],icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"},infoURL:"https://www.mosscan.com",name:"ClubMos Mainnet",nativeCurrency:{name:"ClubMos",symbol:"MOS",decimals:18},networkId:1188,rpc:["https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mosscan.com"],shortName:"MOS",slug:"clubmos",testnet:!1},_ut={chain:"IORA",chainId:1197,explorers:[{name:"ioraexplorer",url:"https://explorer.iorachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiehps5cqdhqottu2efo4jeehwpkz5rbux3cjxd75rm6rjm4sgs2wi",width:250,height:250,format:"png"},infoURL:"https://iorachain.com",name:"Iora Chain",nativeCurrency:{name:"Iora",symbol:"IORA",decimals:18},networkId:1197,rpc:["https://1197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.iorachain.com"],shortName:"iora",slug:"iora-chain",testnet:!1},Aut={chain:"Evanesco Testnet",chainId:1201,explorers:[],faucets:[],infoURL:"https://evanesco.org/",name:"Evanesco Testnet",nativeCurrency:{name:"AVIS",symbol:"AVIS",decimals:18},networkId:1201,rpc:["https://1201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed5.evanesco.org:8547"],shortName:"avis",slip44:1,slug:"evanesco-testnet",testnet:!0},Iut={chain:"WTT",chainId:1202,explorers:[{name:"WTTScout",url:"https://explorer.cadaut.com",standard:"EIP3091"}],faucets:[],infoURL:"http://www.cadaut.com",name:"World Trade Technical Chain Mainnet",nativeCurrency:{name:"World Trade Token",symbol:"WTT",decimals:18},networkId:2048,rpc:["https://1202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cadaut.com","wss://rpc.cadaut.com/ws"],shortName:"wtt",slug:"world-trade-technical-chain",testnet:!1},Cut={chain:"SaitaBlockChain(SBC)",chainId:1209,explorers:[{name:"Saitascan explorer",url:"https://saitascan.io",standard:"none",icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"},infoURL:"https://saitachain.com",name:"SaitaBlockChain(SBC)",nativeCurrency:{name:"SaitaBlockChain(SBC)",symbol:"STC",decimals:18},networkId:1209,rpc:["https://1209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.saitascan.io"],shortName:"SBC",slug:"saitablockchain-sbc",testnet:!1},kut={chain:"CuckooAI",chainId:1210,explorers:[{name:"Cuckoo Sepolia Explorer",url:"https://testnet-scan.cuckoo.network",standard:"EIP3091"}],faucets:["https://cuckoo.network/portal/faucet/"],icon:{url:"ipfs://QmZjVDfk56DjqkCPymaweJJaj9ASGjjgcwJ95XsFDzj9us",width:512,height:512,format:"png"},infoURL:"https://cuckoo.network",name:"Cuckoo Sepolia",nativeCurrency:{name:"CuckooAI",symbol:"CAI",decimals:18},networkId:1210,rpc:["https://1210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cuckoo.network","wss://testnet-rpc.cuckoo.network"],shortName:"caisepolia",slug:"cuckoo-sepolia",testnet:!0,title:"Cuckoo AI Testnet Sepolia"},Sut={chain:"POPCATEUM",chainId:1213,explorers:[{name:"popcateum explorer",url:"https://explorer.popcateum.org",standard:"none"}],faucets:[],infoURL:"https://popcateum.org",name:"Popcateum Mainnet",nativeCurrency:{name:"Popcat",symbol:"POP",decimals:18},networkId:1213,rpc:["https://1213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.popcateum.org"],shortName:"popcat",slug:"popcateum",testnet:!1},Rut={chain:"ENTER",chainId:1214,explorers:[{name:"Enter Explorer - Expenter",url:"https://explorer.entercoin.net",standard:"EIP3091",icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"},infoURL:"https://entercoin.net",name:"EnterChain Mainnet",nativeCurrency:{name:"EnterCoin",symbol:"ENTER",decimals:18},networkId:1214,rpc:["https://1214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.entercoin.net/"],shortName:"enter",slug:"enterchain",testnet:!1},Mut={chain:"1220",chainId:1220,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:3600,height:3600,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Testnet",nativeCurrency:{name:"FLAG",symbol:"FLAG",decimals:18},networkId:1220,redFlags:[],rpc:["https://1220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.flagscan.io"],shortName:"Flag",slug:"flag-testnet-flag",testnet:!0},But={chain:"ETH",chainId:1221,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1221,rpc:["https://1221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.cyclenetwork.io"],shortName:"Cycle",slug:"cycle-network-testnet",testnet:!0},Dut={chain:"HYB",chainId:1224,explorers:[{name:"Hybrid Testnet",url:"https://explorer.buildonhybrid.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGfvH9qfvbMXYKosS1nHbw3q5UtFJky4hdMDmmKDTx8Y",width:250,height:250,format:"png"},infoURL:"https://buildonhybrid.com",name:"Hybrid Testnet",nativeCurrency:{name:"Hybrid",symbol:"HYB",decimals:18},networkId:1224,rpc:["https://1224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.buildonhybrid.com"],shortName:"hyb",slug:"hybrid-testnet",testnet:!0},Put={chain:"EXZO",chainId:1229,explorers:[{name:"blockscout",url:"https://exzoscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeYpc2JfEsHa2Bh11SKRx3sgDtMeg6T8KpXNLepBEKnbJ",width:128,height:128,format:"png"},infoURL:"https://exzo.network",name:"Exzo Network Mainnet",nativeCurrency:{name:"Exzo",symbol:"XZO",decimals:18},networkId:1229,rpc:["https://1229.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.exzo.technology"],shortName:"xzo",slug:"exzo-network",testnet:!1},Lut={chain:"Ultron",chainId:1230,explorers:[{name:"Ultron Testnet Explorer",url:"https://explorer.ultron-dev.io",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Testnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1230,rpc:["https://1230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-dev.io"],shortName:"UltronTestnet",slip44:1,slug:"ultron-testnet",testnet:!0},Fut={chain:"Ultron",chainId:1231,explorers:[{name:"Ultron Explorer",url:"https://ulxscan.com",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Mainnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1231,rpc:["https://1231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-rpc.net"],shortName:"UtronMainnet",slug:"ultron",testnet:!1},Nut={chain:"STEP",chainId:1234,explorers:[{name:"StepScan",url:"https://stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Network",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:1234,parent:{type:"L2",chain:"eip155-43114",bridges:[{url:"https://bridge.step.network"}]},rpc:["https://1234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.step.network"],shortName:"step",slug:"step-network",testnet:!1,title:"Step Main Network"},Out={chain:"ITX",chainId:1235,explorers:[{name:"ITX Mainnet Explorer (Blockscout)",url:"https://explorer.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.itxchain.com",name:"ITX Mainnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:1235,rpc:["https://1235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.itxchain.com"],shortName:"itx",slug:"itx",testnet:!1},Uut={chain:"ARC",chainId:1243,explorers:[{name:"archiescan",url:"https://app.archiescan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Mainnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1243,rpc:["https://1243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main-1.archiechain.io"],shortName:"ARC",slug:"arc",testnet:!1},Hut={chain:"ARC",chainId:1244,explorers:[{name:"archiescan",url:"https://testnet.archiescan.io",standard:"none"}],faucets:["https://faucet.archiechain.io"],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Testnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1244,rpc:["https://1244.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test-1.archiechain.io"],shortName:"TARC",slip44:1,slug:"arc-testnet",testnet:!0},zut={chain:"omplatform",chainId:1246,explorers:[{name:"OMSCAN - Expenter",url:"https://omscan.omplatform.com",standard:"none"}],faucets:[],infoURL:"https://omplatform.com/",name:"OM Platform Mainnet",nativeCurrency:{name:"OMCOIN",symbol:"OM",decimals:18},networkId:1246,rpc:["https://1246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-cnx.omplatform.com/"],shortName:"om",slug:"om-platform",testnet:!1},Wut={chain:"Dogether",chainId:1248,explorers:[{name:"DogetherExplorer",url:"https://explorer.dogether.dog",standard:"EIP3091"}],faucets:[],infoURL:"https://www.dogether.dog/",name:"Dogether Mainnet",nativeCurrency:{name:"Dogether",symbol:"dogeth",decimals:18},networkId:1248,rpc:["https://1248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogether.dog/"],shortName:"Dogether",slug:"dogether",testnet:!1},qut={chain:"CICT",chainId:1252,explorers:[{name:"CICscan",url:"https://testnet.cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:["https://cicfaucet.com"],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Testnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CICT",decimals:18},networkId:1252,rpc:["https://1252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testapi.cicscan.com"],shortName:"CICT",slip44:1,slug:"cic-chain-testnet",testnet:!0},jut={chain:"HALO",chainId:1280,explorers:[{name:"HALOexplorer",url:"https://browser.halo.land",standard:"none"}],faucets:[],infoURL:"https://halo.land/#/",name:"HALO Mainnet",nativeCurrency:{name:"HALO",symbol:"HO",decimals:18},networkId:1280,rpc:["https://1280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodes.halo.land"],shortName:"HO",slug:"halo",testnet:!1},Gut={chain:"MOON",chainId:1284,explorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonbeam/",name:"Moonbeam",nativeCurrency:{name:"Glimmer",symbol:"GLMR",decimals:18},networkId:1284,rpc:["https://1284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbeam.network","wss://wss.api.moonbeam.network","https://moonbeam.public.blastapi.io","wss://moonbeam.public.blastapi.io","https://moonbeam-rpc.dwellir.com","wss://moonbeam-rpc.dwellir.com","https://moonbeam.api.onfinality.io/public","wss://moonbeam.api.onfinality.io/public-ws","https://moonbeam.unitedbloc.com","wss://moonbeam.unitedbloc.com","https://moonbeam-rpc.publicnode.com","wss://moonbeam-rpc.publicnode.com","https://moonbeam.drpc.org","wss://moonbeam.drpc.org"],shortName:"mbeam",slug:"moonbeam",testnet:!1},Kut={chain:"MOON",chainId:1285,explorers:[{name:"moonscan",url:"https://moonriver.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonriver/",name:"Moonriver",nativeCurrency:{name:"Moonriver",symbol:"MOVR",decimals:18},networkId:1285,rpc:["https://1285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonriver.moonbeam.network","wss://wss.api.moonriver.moonbeam.network","https://moonriver.public.blastapi.io","wss://moonriver.public.blastapi.io","https://moonriver-rpc.dwellir.com","wss://moonriver-rpc.dwellir.com","https://moonriver.api.onfinality.io/public","wss://moonriver.api.onfinality.io/public-ws","https://moonriver.unitedbloc.com","wss://moonriver.unitedbloc.com","https://moonriver-rpc.publicnode.com","wss://moonriver-rpc.publicnode.com","https://moonriver.drpc.org","wss://moonriver.drpc.org"],shortName:"mriver",slug:"moonriver",testnet:!1},Qut={chain:"MOON",chainId:1286,explorers:[],faucets:[],name:"Moonrock old",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1286,rpc:[],shortName:"mrock-old",slug:"moonrock-old",status:"deprecated",testnet:!1},Vut={chain:"MOON",chainId:1287,explorers:[{name:"moonscan",url:"https://moonbase.moonscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/moonbase/",name:"Moonbase Alpha",nativeCurrency:{name:"Dev",symbol:"DEV",decimals:18},networkId:1287,redFlags:[],rpc:["https://1287.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbase.moonbeam.network","wss://wss.api.moonbase.moonbeam.network","https://moonbase-alpha.public.blastapi.io","wss://moonbase-alpha.public.blastapi.io","https://moonbase-rpc.dwellir.com","wss://moonbase-rpc.dwellir.com","https://moonbeam-alpha.api.onfinality.io/public","wss://moonbeam-alpha.api.onfinality.io/public-ws","https://moonbase.unitedbloc.com","wss://moonbase.unitedbloc.com","https://moonbase-alpha.drpc.org","wss://moonbase-alpha.drpc.org"],shortName:"mbase",slip44:1,slug:"moonbase-alpha",testnet:!0},Yut={chain:"MOON",chainId:1288,explorers:[],faucets:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/overview/",name:"Moonrock",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1288,rpc:["https://1288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonrock.moonbeam.network","wss://wss.api.moonrock.moonbeam.network"],shortName:"mrock",slug:"moonrock",testnet:!1},$ut={chain:"SWTR",chainId:1291,explorers:[{name:"Swisstronik Scout",url:"https://explorer-evm.testnet.swisstronik.com",standard:"none"}],faucets:["https://faucet.testnet.swisstronik.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",width:256,height:256,format:"svg"},infoURL:"https://www.swisstronik.com",name:"Swisstronik Testnet",nativeCurrency:{name:"Swisstronik",symbol:"SWTR",decimals:18},networkId:1291,rpc:["https://1291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.testnet.swisstronik.com"],shortName:"swtr",slip44:1,slug:"swisstronik-testnet",testnet:!0},Jut={chain:"Bobabeam",chainId:1294,explorers:[{name:"Bobabeam block explorer",url:"https://blockexplorer.bobabeam.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabeam",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1294,rpc:["https://1294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabeam.boba.network","wss://wss.bobabeam.boba.network","https://replica.bobabeam.boba.network","wss://replica-wss.bobabeam.boba.network"],shortName:"Bobabeam",slug:"bobabeam",status:"deprecated",testnet:!1},Xut={chain:"Bobabase Testnet",chainId:1297,explorers:[{name:"Bobabase block explorer",url:"https://blockexplorer.bobabase.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabase Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1297,rpc:["https://1297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabase.boba.network","wss://wss.bobabase.boba.network","https://replica.bobabase.boba.network","wss://replica-wss.bobabase.boba.network"],shortName:"Bobabase",slip44:1,slug:"bobabase-testnet",status:"deprecated",testnet:!0},Zut={chain:"DOS",chainId:1311,explorers:[{name:"dos-testnet",url:"https://test.doscan.io",standard:"EIP3091"}],faucets:[],infoURL:"http://doschain.io/",name:"Dos Fuji Subnet",nativeCurrency:{name:"Dos Native Token",symbol:"DOS",decimals:18},networkId:1311,rpc:["https://1311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com/jsonrpc"],shortName:"TDOS",slug:"dos-fuji-subnet",testnet:!0},e2t={chain:"ALYX",chainId:1314,explorers:[{name:"alyxscan",url:"https://www.alyxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Mainnet",nativeCurrency:{name:"Alyx Chain Native Token",symbol:"ALYX",decimals:18},networkId:1314,rpc:["https://1314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alyxchain.com"],shortName:"alyx",slug:"alyx",testnet:!1},t2t={chain:"AIA",chainId:1319,explorers:[{name:"AIA Chain Explorer Mainnet",url:"https://aiascan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org/",name:"AIA Mainnet",nativeCurrency:{name:"AIA Mainnet",symbol:"AIA",decimals:18},networkId:1319,rpc:["https://1319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1.aiachain.org","https://aia-dataseed2.aiachain.org","https://aia-dataseed3.aiachain.org","https://aia-dataseed4.aiachain.org"],shortName:"aia",slug:"aia",testnet:!1},n2t={chain:"AIA",chainId:1320,explorers:[{name:"AIA Chain Explorer Testnet",url:"https://testnet.aiascan.com",standard:"EIP3091"}],faucets:["https://aia-faucet-testnet.aiachain.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org",name:"AIA Testnet",nativeCurrency:{name:"AIA Testnet",symbol:"AIA",decimals:18},networkId:1320,rpc:["https://1320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1-testnet.aiachain.org"],shortName:"aiatestnet",slip44:1,slug:"aia-testnet",testnet:!0},a2t={chain:"Sei",chainId:1328,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://atlantic-2.app.sei.io/faucet"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Testnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:1328,rpc:["https://1328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-testnet.sei-apis.com","wss://evm-ws-testnet.sei-apis.com"],shortName:"sei-testnet",slug:"sei-testnet",testnet:!0},r2t={chain:"Sei",chainId:1329,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"},{name:"Sei Explorer",url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",standard:"EIP3091",icon:{url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",width:231,height:231,format:"png"}}],faucets:[],features:[],icon:{url:"https://github.com/sei-protocol/sei-chain/blob/main/assets/SeiLogo.png",width:231,height:231,format:"png"},infoURL:"https://www.sei.io",name:"Sei",nativeCurrency:{name:"Sei",symbol:"Sei",decimals:18},networkId:1329,redFlags:[],rpc:["https://1329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.sei-apis.com","wss://evm-ws.sei-apis.com"],shortName:"sei",slug:"sei",testnet:!1},DHe={chain:"ETH",chainId:1337,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},name:"Localhost",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1337,redFlags:[],rpc:["http://localhost:8545"],shortName:"local",slug:"localhost",testnet:!0},f2t={chain:"Elysium",chainId:1338,explorers:[{name:"Elysium testnet explorer",url:"https://elysium-explorer.vulcanforged.com",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Testnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1338,rpc:["https://1338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elysium-test-rpc.vulcanforged.com"],shortName:"ELST",slip44:1,slug:"elysium-testnet",testnet:!0,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},i2t={chain:"Elysium",chainId:1339,explorers:[{name:"Elysium mainnet explorer",url:"https://explorer.elysiumchain.tech",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Mainnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1339,rpc:["https://1339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.elysiumchain.tech/"],shortName:"ELSM",slug:"elysium",testnet:!1,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},s2t={chain:"BLITZ",chainId:1343,explorers:[{name:"BLITZ Explorer",url:"https://subnets-test.avax.network/blitz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://blitz.gg",name:"Blitz Subnet",nativeCurrency:{name:"BLITZ GAS",symbol:"BGAS",decimals:18},networkId:1343,rpc:["https://1343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/blitz/testnet/rpc"],shortName:"blitz",slug:"blitz-subnet",testnet:!0},o2t={chain:"CIC",chainId:1353,explorers:[{name:"CICscan",url:"https://cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Mainnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CIC",decimals:18},networkId:1353,rpc:["https://1353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xapi.cicscan.com"],shortName:"CIC",slug:"cic-chain",testnet:!1},c2t={chain:"ZAFIC",chainId:1369,explorers:[{name:"zafirium-explorer",url:"https://explorer.zakumi.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZT1Wq3P4YbgKBSUmCtgbs5ijPF5d91BzaMPh7Aub8d8t",width:192,height:192,format:"png"},infoURL:"https://www.zakumi.io",name:"Zafirium Mainnet",nativeCurrency:{name:"Zakumi Chain Native Token",symbol:"ZAFIC",decimals:18},networkId:1369,rpc:["https://1369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zakumi.io"],shortName:"zafic",slug:"zafirium",testnet:!1},d2t={chain:"Ramestta",chainId:1370,explorers:[{name:"ramascan",url:"https://ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Ramestta Mainnet",nativeCurrency:{name:"Rama",symbol:"RAMA",decimals:18},networkId:1370,rpc:["https://1370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.ramestta.com","https://blockchain2.ramestta.com"],shortName:"RAMA",slug:"ramestta",testnet:!1},l2t={chain:"Pingaksha",chainId:1377,explorers:[{name:"Pingaksha",url:"https://pingaksha.ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Pingaksha testnet",nativeCurrency:{name:"Rama",symbol:"tRAMA",decimals:18},networkId:1377,rpc:["https://1377.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ramestta.com"],shortName:"tRAMA",slug:"pingaksha-testnet",testnet:!0},u2t={chain:"KLC",chainId:1379,explorers:[{name:"kalarscan",url:"https://explorer.kalarchain.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidbzzv3lrwlzquhlpl4jcmr54sifhi5ufoek6olb5kjh3h3kvktdq",width:411,height:159,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihfoy2kgf2rebaoicso7z5h7ju46z6gtr64mskkths3qbfkrtnkjm",width:190,height:170,format:"png"},infoURL:"https://kalarchain.tech",name:"Kalar Chain",nativeCurrency:{name:"Kalar",symbol:"KLC",decimals:18},networkId:1379,rpc:["https://1379.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-api.kalarchain.tech"],shortName:"KLC",slug:"kalar-chain",testnet:!1},p2t={chain:"AmStar",chainId:1388,explorers:[{name:"amstarscan",url:"https://mainnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Mainnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1388,rpc:["https://1388.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.amstarscan.com"],shortName:"ASAR",slug:"amstar",testnet:!1},h2t={chain:"Joseon",chainId:1392,explorers:[{name:"BlockExplorer",url:"https://www.blockexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQjwcNRCLXU8JBtSkPLUnbWVrpoqbnZVffpJ9Bu8rG34e",width:148,height:148,format:"svg"},infoURL:"https://www.joseon.com/",name:"Joseon Mainnet",nativeCurrency:{name:"Joseon Mun",symbol:"JSM",decimals:18},networkId:1392,rpc:["https://1392.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.modchain.net/blockchain.joseon.com/rpc"],shortName:"mun",slug:"joseon",testnet:!1},m2t={chain:"Polygon",chainId:1402,explorers:[{name:"blockscout",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet old",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1402,rpc:[],shortName:"zkevmtest",slip44:1,slug:"polygon-zkevm-testnet-old",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet"},b2t={chain:"Silicon",chainId:1414,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1414,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"silicon-sepolia-testnet",slug:"silicon-zkevm-sepolia-testnet",status:"incubating",testnet:!0,title:"Silicon zkEVM Sepolia Testnet"},y2t={chain:"Polygon",chainId:1422,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet Pre Audit-Upgraded",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1422,rpc:[],shortName:"testnet-zkEVM-mango-pre-audit-upgraded",slip44:1,slug:"polygon-zkevm-testnet-pre-audit-upgraded",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet Pre Audit-Upgraded"},g2t={chain:"Rikeza",chainId:1433,explorers:[{name:"Rikeza Blockchain explorer",url:"https://rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Mainnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:1433,rpc:["https://1433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rikscan.com"],shortName:"RIK",slug:"rikeza-network",testnet:!1,title:"Rikeza Network Mainnet"},v2t={chain:"LAS",chainId:1440,explorers:[],faucets:[],icon:{url:"ipfs://QmRidubY7BVwC737BQwGEttenP1npAXN7ZNryktE416uUW",width:500,height:500,format:"jpg"},infoURL:"https://dev.livingassets.io/",name:"Living Assets Mainnet",nativeCurrency:{name:"LAS",symbol:"LAS",decimals:18},networkId:1440,rpc:["https://1440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.mainnet.livingassets.io/rpc","https://gamma.mainnet.livingassets.io/rpc"],shortName:"LAS",slug:"living-assets",testnet:!1},w2t={chain:"Polygon",chainId:1442,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1442,redFlags:[],rpc:["https://1442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public.zkevm-test.net","https://polygon-zkevm-testnet.drpc.org","wss://polygon-zkevm-testnet.drpc.org"],shortName:"testnet-zkEVM-mango",slip44:1,slug:"polygon-zkevm-testnet",testnet:!0,title:"Polygon zkEVM Testnet"},T2t={chain:"GIL",chainId:1452,explorers:[{name:"GIL Explorer",url:"https://explorer.giltestnet.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"GIL Testnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1452,rpc:["https://1452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.giltestnet.com"],shortName:"gil",slip44:1,slug:"gil-testnet",testnet:!0},x2t={chain:"MTC",chainId:1453,explorers:[{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev",standard:"EIP3091"}],faucets:["https://istanbul-faucet.metachain.dev"],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:1453,rpc:["https://1453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://istanbul-rpc.metachain.dev"],shortName:"metatimeistanbul",slip44:1453,slug:"metachain-istanbul",testnet:!0,title:"MetaChain Testnet Istanbul"},E2t={chain:"Ctex Scan Blockchain",chainId:1455,explorers:[{name:"Ctex Scan Explorer",url:"https://ctexscan.com",standard:"none"}],faucets:["https://faucet.ctexscan.com"],icon:{url:"ipfs://bafkreid5evn4qovxo6msuekizv5zn7va62tea7w2zpdx5sskconebuhqle",width:800,height:800,format:"png"},infoURL:"https://ctextoken.io",name:"Ctex Scan Blockchain",nativeCurrency:{name:"CTEX",symbol:"CTEX",decimals:18},networkId:1455,rpc:["https://1455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ctexscan.com/"],shortName:"CTEX",slug:"ctex-scan-blockchain",testnet:!1},_2t={chain:"Vitruveo",chainId:1490,explorers:[{name:"Vitruveo Explorer",url:"https://explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Mainnet",nativeCurrency:{name:"Vitruveo Coin",symbol:"VTRU",decimals:18},networkId:1490,rpc:["https://1490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vitruveo.xyz"],shortName:"vitruveo",slug:"vitruveo",testnet:!1,title:"Vitruveo is a blockchain for Creators"},A2t={chain:"IGC",chainId:1499,explorers:[{name:"IGC-Scan",url:"https://igcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeXuzaYXCDwHgQdpuE9L55JfEChzj11P73Ngrn8vDTE9T",width:1024,height:1024,format:"png"},infoURL:"https://idosgames.com/",name:"iDos Games Chain Testnet",nativeCurrency:{name:"iDos Games Coin",symbol:"IGC",decimals:18},networkId:1499,rpc:["https://1499.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.idos.games"],shortName:"IGC",slug:"idos-games-chain-testnet",testnet:!0},I2t={chain:"ChainX",chainId:1501,explorers:[{name:"bevm canary scan",url:"https://scan-canary.bevm.io",standard:"none"}],faucets:[],features:[],icon:{url:"https://cloudflare-ipfs.com/ipfs/bafkreibvwfrow3w6q5qj2mk6n7yx5oahxzgn3pnghdr76zsyxvc3l5hh7y",width:3600,height:3600,format:"png"},infoURL:"https://chainx.org",name:"BEVM Canary",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1501,redFlags:[],rpc:["https://1501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-canary-1.bevm.io/","https://rpc-canary-2.bevm.io/"],shortName:"chainx",slug:"bevm-canary",testnet:!1},C2t={chain:"Sherpax Mainnet",chainId:1506,explorers:[{name:"Sherpax Mainnet Explorer",url:"https://evm.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Mainnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1506,rpc:["https://1506.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sherpax.io/rpc"],shortName:"Sherpax",slug:"sherpax",testnet:!1},k2t={chain:"Sherpax Testnet",chainId:1507,explorers:[{name:"Sherpax Testnet Explorer",url:"https://evm-pre.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Testnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1507,rpc:["https://1507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sherpax-testnet.chainx.org/rpc"],shortName:"SherpaxTestnet",slip44:1,slug:"sherpax-testnet",testnet:!0},S2t={chain:"BMC",chainId:1515,explorers:[{name:"Beagle Messaging Chain Explorer",url:"https://eth.beagle.chat",standard:"EIP3091"}],faucets:["https://faucet.beagle.chat/"],infoURL:"https://beagle.chat/",name:"Beagle Messaging Chain",nativeCurrency:{name:"Beagle",symbol:"BG",decimals:18},networkId:1515,rpc:["https://1515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beagle.chat/eth"],shortName:"beagle",slug:"beagle-messaging-chain",testnet:!1},R2t={chain:"TENET",chainId:1559,explorers:[{name:"TenetScan Mainnet",url:"https://tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:[],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:1559,rpc:["https://1559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tenet.org","https://tenet-evm.publicnode.com","wss://tenet-evm.publicnode.com"],shortName:"tenet",slug:"tenet",testnet:!1,title:"Tenet Mainnet"},M2t={chain:"gETH",chainId:1582,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeibfpls2ealp4e5fdeoxessfjjkldgjnrcx2erph7524pg7alskk6a/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubstestnet.com",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"gETH",decimals:18},networkId:1582,redFlags:[],rpc:[],shortName:"Bubs",slug:"bubs-testnet",status:"deprecated",testnet:!0},B2t={chain:"Avalanche",chainId:1614,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0305I1 Testnet",nativeCurrency:{name:"QI0305I1 Testnet Token",symbol:"PDC",decimals:18},networkId:1614,redFlags:[],rpc:["https://1614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0305I1 Testnet",slug:"qi0305i1-testnet",testnet:!0},D2t={chain:"ETINS",chainId:1617,explorers:[{name:"Ethereum Inscription Explorer",url:"https://explorer.etins.org",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.etins.org",name:"Ethereum Inscription Mainnet",nativeCurrency:{name:"Ethereum Inscription",symbol:"ETINS",decimals:18},networkId:1617,rpc:["https://1617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etins.org"],shortName:"etins",slug:"ethereum-inscription",testnet:!1},P2t={chain:"Catechain",chainId:1618,explorers:[],faucets:[],infoURL:"https://catechain.com",name:"Catecoin Chain Mainnet",nativeCurrency:{name:"Catecoin",symbol:"CATE",decimals:18},networkId:1618,rpc:["https://1618.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://send.catechain.com"],shortName:"cate",slug:"catecoin-chain",testnet:!1},L2t={chain:"ATH",chainId:1620,explorers:[],faucets:[],infoURL:"https://atheios.org",name:"Atheios",nativeCurrency:{name:"Atheios Ether",symbol:"ATH",decimals:18},networkId:11235813,rpc:["https://1620.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.atheios.org/"],shortName:"ath",slip44:1620,slug:"atheios",testnet:!1},F2t={chain:"Gravity",chainId:1625,explorers:[{name:"Gravity Alpha Mainnet Explorer",url:"https://explorer.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Mainnet",nativeCurrency:{name:"Gravity",symbol:"G.",decimals:18},networkId:1625,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gravity.xyz"}]},rpc:["https://1625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gravity.xyz"],shortName:"gravity",slug:"gravity-alpha",testnet:!1},N2t={chain:"btachain",chainId:1657,explorers:[],faucets:[],infoURL:"https://bitcoinasset.io/",name:"Btachain",nativeCurrency:{name:"Bitcoin Asset",symbol:"BTA",decimals:18},networkId:1657,rpc:["https://1657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.btachain.com/"],shortName:"bta",slug:"btachain",testnet:!1},O2t={chain:"LQC",chainId:1662,explorers:[{name:"Liquichain Mainnet",url:"https://mainnet.liquichain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://liquichain.io/",name:"Liquichain",nativeCurrency:{name:"Licoin",symbol:"LCN",decimals:18},networkId:1662,redFlags:["reusedChainId"],rpc:[],shortName:"Liquichain",slug:"liquichain",testnet:!1},U2t={chain:"Gobi",chainId:1663,explorers:[{name:"Gobi Testnet Block Explorer",url:"https://gobi-explorer.horizen.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:["https://faucet.horizen.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen Gobi Testnet",nativeCurrency:{name:"Testnet Zen",symbol:"tZEN",decimals:18},networkId:1663,rpc:["https://1663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gobi-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_gobi_testnet"],shortName:"Gobi",slip44:1,slug:"horizen-gobi-testnet",testnet:!0},H2t={chain:"ETH",chainId:1686,explorers:[{name:"blockscout",url:"https://testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1686,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://testnet-bridge.mintchain.io"}]},rpc:["https://1686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mintchain.io"],shortName:"minttest",slug:"mint-testnet",testnet:!0},z2t={chain:"ETH",chainId:1687,explorers:[{name:"blockscout",url:"https://sepolia-testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1687,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia-testnet-bridge.mintchain.io"}]},rpc:["https://1687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-testnet-rpc.mintchain.io"],shortName:"mintsepoliatest",slug:"mint-sepolia-testnet",testnet:!0},W2t={chain:"LUDAN",chainId:1688,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay",width:512,height:512,format:"png"},infoURL:"https://www.ludan.org/",name:"LUDAN Mainnet",nativeCurrency:{name:"LUDAN",symbol:"LUDAN",decimals:18},networkId:1688,rpc:["https://1688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ludan.org/"],shortName:"LUDAN",slug:"ludan",testnet:!1},q2t={chain:"ETH",chainId:1701,explorers:[{name:"Anytype Explorer",url:"https://explorer.anytype.io",standard:"EIP3091",icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"}}],faucets:["https://evm.anytype.io/faucet"],icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"},infoURL:"https://evm.anytype.io",name:"Anytype EVM Chain",nativeCurrency:{name:"ANY",symbol:"ANY",decimals:18},networkId:1701,rpc:["https://1701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.anytype.io"],shortName:"AnytypeChain",slug:"anytype-evm-chain",testnet:!1},j2t={chain:"TBSI",chainId:1707,explorers:[{name:"blockscout",url:"https://exp.blockchain.or.th",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchain.or.th",name:"TBSI Mainnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1707,rpc:["https://1707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blockchain.or.th"],shortName:"TBSI",slug:"tbsi",testnet:!1,title:"Thai Blockchain Service Infrastructure Mainnet"},G2t={chain:"TBSI",chainId:1708,explorers:[{name:"blockscout",url:"https://exp.testnet.blockchain.or.th",standard:"EIP3091"}],faucets:["https://faucet.blockchain.or.th"],infoURL:"https://blockchain.or.th",name:"TBSI Testnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1708,rpc:["https://1708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.blockchain.or.th"],shortName:"tTBSI",slip44:1,slug:"tbsi-testnet",testnet:!0,title:"Thai Blockchain Service Infrastructure Testnet"},K2t={chain:"DRC",chainId:1717,explorers:[{name:"Doric Explorer",url:"https://explorer.doric.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdFEozqneC8abhpfgtGpvfKpWVEbL8eMZjJKtUPuBTanK",width:988,height:901,format:"png"},infoURL:"https://doric.network",name:"Doric Network",nativeCurrency:{name:"Doric Native Token",symbol:"DRC",decimals:18},networkId:1717,rpc:["https://1717.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.doric.network"],shortName:"DRC",slug:"doric-network",testnet:!1},Q2t={chain:"PLT",chainId:1718,explorers:[{name:"Palettescan",url:"https://palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Mainnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:1718,rpc:["https://1718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-rpc.com:22000"],shortName:"PCM",slug:"palette-chain",testnet:!1},V2t={chain:"Reya",chainId:1729,explorers:[{name:"Reya Network Explorer",url:"https://explorer.reya.network",standard:"EIP3091"}],faucets:[],infoURL:"https://reya.network",name:"Reya Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1729,rpc:["https://1729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.reya.network","wss://ws.reya.network"],shortName:"reya",slug:"reya-network",testnet:!1},Y2t={chain:"Metal L2 Testnet",chainId:1740,explorers:[{name:"blockscout",url:"https://testnet.explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2 Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1740,rpc:["https://1740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.metall2.com"],shortName:"metall2-testnet",slug:"metal-l2-testnet",testnet:!0},$2t={chain:"Metal L2",chainId:1750,explorers:[{name:"blockscout",url:"https://explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1750,rpc:["https://1750.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metall2.com"],shortName:"metall2",slug:"metal-l2",testnet:!1},J2t={chain:"mainnet",chainId:1773,explorers:[{name:"PartyExplorer",url:"https://partyexplorer.co",standard:"EIP3091",icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"},name:"PartyChain",nativeCurrency:{name:"Grams",symbol:"GRAMS",decimals:18},networkId:1773,rpc:["https://1773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tea.mining4people.com/rpc","http://172.104.194.36:8545"],shortName:"TeaParty",slug:"partychain",status:"incubating",testnet:!1},X2t={chain:"Gauss",chainId:1777,explorers:[{name:"Gauss Explorer",url:"https://explorer.gaussgang.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"Gauss Mainnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1777,rpc:["https://1777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gaussgang.com"],shortName:"gauss",slug:"gauss",testnet:!1},Z2t={chain:"ETH",chainId:1789,explorers:[{name:"ZKbase Block Explorer",url:"https://sepolia-explorer.zkbase.app",standard:"EIP3091",icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"},infoURL:"https://zkbase.org/",name:"ZKBase Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1789,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portral.zkbase.app/"}]},redFlags:["reusedChainId"],rpc:["https://1789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.zkbase.app"],shortName:"zkbase-sepolia",slip44:1,slug:"zkbase-sepolia-testnet",testnet:!0},ept={chain:"CRC",chainId:1804,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/kerleano",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:["https://github.com/ethereum-pocr/kerleano/blob/main/docs/faucet.md"],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/kerleano",name:"Kerleano",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:1804,rpc:["https://1804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cacib-saturn-test.francecentral.cloudapp.azure.com","wss://cacib-saturn-test.francecentral.cloudapp.azure.com:9443"],shortName:"kerleano",slip44:1,slug:"kerleano",status:"active",testnet:!0,title:"Proof of Climate awaReness testnet"},tpt={chain:"rAna",chainId:1807,explorers:[{name:"blockscout",url:"https://rabbit.analogscan.com",standard:"none"}],faucets:["https://analogfaucet.com"],icon:{url:"ipfs://QmdfbjjF3ZzN2jTkH9REgrA8jDS6A6c21n7rbWSVbSnvQc",width:310,height:251,format:"svg"},infoURL:"https://rabbit.analogscan.com",name:"Rabbit Analog Testnet Chain",nativeCurrency:{name:"Rabbit Analog Test Chain Native Token ",symbol:"rAna",decimals:18},networkId:1807,rpc:["https://1807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rabbit.analog-rpc.com"],shortName:"rAna",slip44:1,slug:"rabbit-analog-testnet-chain",testnet:!0},npt={chain:"Cube",chainId:1818,explorers:[{name:"cube-scan",url:"https://cubescan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Mainnet",nativeCurrency:{name:"Cube Chain Native Token",symbol:"CUBE",decimals:18},networkId:1818,rpc:["https://1818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.cube.network","wss://ws-mainnet.cube.network","https://http-mainnet-sg.cube.network","wss://ws-mainnet-sg.cube.network","https://http-mainnet-us.cube.network","wss://ws-mainnet-us.cube.network"],shortName:"cube",slip44:1818,slug:"cube-chain",testnet:!1},apt={chain:"Cube",chainId:1819,explorers:[{name:"cubetest-scan",url:"https://testnet.cubescan.network",standard:"EIP3091"}],faucets:["https://faucet.cube.network"],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Testnet",nativeCurrency:{name:"Cube Chain Test Native Token",symbol:"CUBET",decimals:18},networkId:1819,rpc:["https://1819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.cube.network","wss://ws-testnet.cube.network","https://http-testnet-sg.cube.network","wss://ws-testnet-sg.cube.network","https://http-testnet-jp.cube.network","wss://ws-testnet-jp.cube.network","https://http-testnet-us.cube.network","wss://ws-testnet-us.cube.network"],shortName:"cubet",slip44:1,slug:"cube-chain-testnet",testnet:!0},rpt={chain:"RUBY",chainId:1821,explorers:[{name:"RUBY Smart Chain MAINNET Explorer",url:"https://rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain MAINNET",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"RUBY",decimals:18},networkId:1821,rpc:["https://1821.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data.rubychain.io/","https://mainnet.rubychain.io/"],shortName:"RUBY",slip44:1,slug:"ruby-smart-chain",testnet:!1},fpt={chain:"Avalanche",chainId:1838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Traderlands Testnet",nativeCurrency:{name:"Traderlands Testnet Token",symbol:"TDL3",decimals:18},networkId:1838,redFlags:[],rpc:["https://1838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/traderland/testnet/rpc"],shortName:"Traderlands Testnet",slug:"traderlands-testnet",testnet:!0},ipt={chain:"Avalanche",chainId:1853,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"HighOctane",nativeCurrency:{name:"HighOctane Token",symbol:"HO",decimals:18},networkId:1853,redFlags:[],rpc:["https://1853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/highoctane/mainnet/rpc"],shortName:"HighOctane",slug:"highoctane",testnet:!1},spt={chain:"TSF",chainId:1856,explorers:[],faucets:[],infoURL:"https://teslafunds.io",name:"Teslafunds",nativeCurrency:{name:"Teslafunds Ether",symbol:"TSF",decimals:18},networkId:1,rpc:["https://1856.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsfapi.europool.me"],shortName:"tsf",slug:"teslafunds",testnet:!1},opt={chain:"WBT",chainId:1875,explorers:[{name:"whitechain-explorer",url:"https://explorer.whitechain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:1875,rpc:["https://1875.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.whitechain.io"],shortName:"wbt",slug:"whitechain",testnet:!1},cpt={chain:"Gitshock Cartenz",chainId:1881,explorers:[{name:"blockscout",url:"https://scan.cartenz.works",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifqpj5jkjazvh24muc7wv4r22tihzzl75cevgecxhvojm4ls6mzpq",width:512,height:512,format:"png"},infoURL:"https://gitshock.com",name:"Gitshock Cartenz Testnet",nativeCurrency:{name:"Gitshock Cartenz",symbol:"tGTFX",decimals:18},networkId:1881,rpc:["https://1881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cartenz.works"],shortName:"gitshockchain",slip44:1,slug:"gitshock-cartenz-testnet",testnet:!0},dpt={chain:"Lightlink Phoenix Mainnet",chainId:1890,explorers:[{name:"phoenix",url:"https://phoenix.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Phoenix Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1890,rpc:["https://1890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.phoenix.lightlink.io/rpc/v1"],shortName:"lightlink_phoenix",slug:"lightlink-phoenix",testnet:!1},lpt={chain:"Lightlink Pegasus Testnet",chainId:1891,explorers:[{name:"pegasus",url:"https://pegasus.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:["https://faucet.pegasus.lightlink.io/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Pegasus Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1891,rpc:["https://1891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.pegasus.lightlink.io/rpc/v1"],shortName:"lightlink_pegasus",slip44:1,slug:"lightlink-pegasus-testnet",testnet:!0},upt={chain:"BON",chainId:1898,explorers:[{name:"explorer",url:"https://explorer.boyanet.org:4001",standard:"EIP3091"}],faucets:[],infoURL:"https://boyanet.org",name:"BON Network",nativeCurrency:{name:"BOYACoin",symbol:"BOY",decimals:18},networkId:1,rpc:["https://1898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.boyanet.org:8545","ws://rpc.boyanet.org:8546"],shortName:"boya",slug:"bon-network",testnet:!1},ppt={chain:"SCN",chainId:1904,explorers:[{name:"blockscout",url:"https://explorer.sportschainnetwork.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdW7XfRgeyoaHXEvXp8MaVteonankR32CxhL3K5Yc2uQM",width:345,height:321,format:"png"},infoURL:"https://sportschainnetwork.xyz",name:"Sports Chain Network",nativeCurrency:{name:"SCN",symbol:"SCN",decimals:18},networkId:1904,rpc:["https://1904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sportschainnetwork.xyz/"],shortName:"SCN",slug:"sports-chain-network",testnet:!1},hpt={chain:"BITCI",chainId:1907,explorers:[{name:"Bitci Explorer",url:"https://bitciexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Mainnet",nativeCurrency:{name:"Bitci",symbol:"BITCI",decimals:18},networkId:1907,rpc:["https://1907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitci.com"],shortName:"bitci",slug:"bitcichain",testnet:!1},mpt={chain:"TBITCI",chainId:1908,explorers:[{name:"Bitci Explorer Testnet",url:"https://testnet.bitciexplorer.com",standard:"EIP3091"}],faucets:["https://faucet.bitcichain.com"],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Testnet",nativeCurrency:{name:"Test Bitci",symbol:"TBITCI",decimals:18},networkId:1908,rpc:["https://1908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitcichain.com"],shortName:"tbitci",slip44:1,slug:"bitcichain-testnet",testnet:!0},bpt={chain:"MRK",chainId:1909,explorers:[{name:"blockscout",url:"https://merklescan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZocJpCSLoQqoYFkF1kn7uKDuAiFRNTK8P5PoVeiigDBU",width:114,height:132,format:"png"},infoURL:"https://merklescan.com",name:"Merkle Scan",nativeCurrency:{name:"Merkle",symbol:"MRK",decimals:18},networkId:1909,rpc:["https://1909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://marklechain-rpc.merklescan.com"],shortName:"MRK",slug:"merkle-scan",testnet:!1},ypt={chain:"ETH",chainId:1911,explorers:[{name:"scalind",url:"https://explorer.scalind.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmayuauUTSkYxbT1xi2AkkG5VLEMDhcMeZ18WZHiApPa9M",width:512,height:512,format:"png"},infoURL:"https://scalind.com",name:"Scalind",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1911,rpc:["https://1911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scalind.com"],shortName:"scal",slug:"scalind",testnet:!1},gpt={chain:"RUBY",chainId:1912,explorers:[{name:"RUBY Smart Chain Testnet Explorer",url:"https://testnet.rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:["https://claim-faucet.rubychain.io/"],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain Testnet",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"tRUBY",decimals:18},networkId:1912,rpc:["https://1912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rchain.rubychain.io/"],shortName:"tRUBY",slip44:1,slug:"ruby-smart-chain-testnet",testnet:!0},vpt={chain:"UPBEth",chainId:1918,explorers:[],faucets:[],infoURL:"https://mobylab.docs.crescdi.pub.ro/blog/UPB-CRESCDI-Testnet",name:"UPB CRESCDI Testnet",nativeCurrency:{name:"UPBEth",symbol:"UPBEth",decimals:18},networkId:1918,rpc:["https://1918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.crescdi.pub.ro"],shortName:"UPBEth",slug:"upb-crescdi-testnet",testnet:!0},wpt={chain:"onus",chainId:1945,explorers:[{name:"Onus explorer testnet",url:"https://explorer-testnet.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Testnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1945,rpc:["https://1945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.onuschain.io"],shortName:"onus-testnet",slip44:1,slug:"onus-chain-testnet",testnet:!0,title:"ONUS Chain Testnet"},Tpt={chain:"D-Chain",chainId:1951,explorers:[],faucets:[],icon:{url:"ipfs://QmV2vhTqS9UyrX9Q6BSCbK4JrKBnS8ErHvstMjfb2oVWaj",width:700,height:495,format:"png"},name:"D-Chain Mainnet",nativeCurrency:{name:"DOINX",symbol:"DOINX",decimals:18},networkId:1951,rpc:["https://1951.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.d-chain.network/ext/bc/2ZiR1Bro5E59siVuwdNuRFzqL95NkvkbzyLBdrsYR9BLSHV7H4/rpc"],shortName:"dchain-mainnet",slug:"d-chain",testnet:!1},xpt={chain:"tSEL",chainId:1953,explorers:[],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Testnet",nativeCurrency:{name:"Selendra",symbol:"tSEL",decimals:18},networkId:1953,rpc:["https://1953.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0-testnet.selendra.org","https://rpc1-testnet.selendra.org"],shortName:"tSEL",slug:"selendra-network-testnet",testnet:!0},Ept={chain:"Dexilla",chainId:1954,explorers:[{name:"dos-mainnet",url:"https://exp.dexilla.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUBveetVibvSEWQrjyxySgUphLuoMGSVLGmYnobt5FgEZ",width:512,height:512,format:"png"},infoURL:"https://dexilla.com",name:"Dexilla Testnet",nativeCurrency:{name:"Dexilla Native Token",symbol:"DXZ",decimals:18},networkId:1954,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.dexilla.com"}]},rpc:["https://1954.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dexilla.com"],shortName:"Dexilla",slip44:1,slug:"dexilla-testnet",testnet:!0},_pt={chain:"AIW3",chainId:1956,explorers:[{name:"aiw3 testnet scan",url:"https://scan-testnet.aiw3.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1956,rpc:["https://1956.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.aiw3.io/"],shortName:"AIW3-Testnet",slug:"aiw3-testnet",testnet:!0},Apt={chain:"SEL",chainId:1961,explorers:[{name:"Selendra Scan",url:"https://scan.selendra.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Mainnet",nativeCurrency:{name:"Selendra",symbol:"SEL",decimals:18},networkId:1961,rpc:["https://1961.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.selendra.org","https://rpc1.selendra.org"],shortName:"SEL",slug:"selendra-network",testnet:!1},Ipt={chain:"Avalanche",chainId:1962,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3295 Testnet",nativeCurrency:{name:"QaUser3295 Testnet Token",symbol:"JXA",decimals:18},networkId:1962,redFlags:[],rpc:["https://1962.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3295 Testnet",slug:"qauser3295-testnet",testnet:!0},Cpt={chain:"MTC",chainId:1967,explorers:[{name:"metaexplorer-eleanor",url:"https://explorer.metatime.com/eleanor",standard:"EIP3091"}],faucets:["https://faucet.metatime.com/eleanor"],infoURL:"https://eleanor.metatime.com",name:"Eleanor",nativeCurrency:{name:"Eleanor Metacoin",symbol:"MTC",decimals:18},networkId:1967,rpc:["https://1967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com/eleanor","wss://ws.metatime.com/eleanor"],shortName:"mtc",slip44:1,slug:"eleanor",testnet:!0,title:"Metatime Testnet Eleanor"},kpt={chain:"TSCS",chainId:1969,explorers:[{name:"blockscout",url:"https://testnetscan.scschain.com",standard:"EIP3091"}],faucets:["https://testnet.scschain.com"],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://testnet.scschain.com",name:"Super Smart Chain Testnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"TSCS",decimals:18},networkId:1969,rpc:["https://1969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.scschain.com"],shortName:"tscs",slip44:1,slug:"super-smart-chain-testnet",testnet:!0},Spt={chain:"SCS",chainId:1970,explorers:[{name:"blockscout",url:"https://scan.scschain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://scschain.com",name:"Super Smart Chain Mainnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"SCS",decimals:18},networkId:1970,rpc:["https://1970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scschain.com"],shortName:"scs",slug:"super-smart-chain",testnet:!1},Rpt={chain:"ALTR",chainId:1971,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigcquvoalec3ll2m26v4wsx5enlxwyn6nk2mgfqwncyqrgwivla5u",width:200,height:200,format:"png"},infoURL:"https://1971.network/",name:"Atelier",nativeCurrency:{name:"ATLR",symbol:"ATLR",decimals:18},networkId:1971,rpc:["https://1971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://1971.network/atlr","wss://1971.network/atlr"],shortName:"atlr",slip44:1,slug:"atelier",testnet:!0,title:"Atelier Test Network"},Mpt={chain:"REDEV2",chainId:1972,explorers:[{name:"RedeCoin Explorer",url:"https://explorer3.redecoin.eu",standard:"none"}],faucets:[],infoURL:"https://www.redecoin.eu",name:"RedeCoin",nativeCurrency:{name:"RedeCoin",symbol:"REDEV2",decimals:18},networkId:1972,rpc:["https://1972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.redecoin.eu"],shortName:"rede",slug:"redecoin",testnet:!1},Bpt={chain:"onus",chainId:1975,explorers:[{name:"Onus explorer mainnet",url:"https://explorer.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Mainnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1975,rpc:["https://1975.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onuschain.io","wss://ws.onuschain.io"],shortName:"onus-mainnet",slug:"onus-chain",testnet:!1,title:"ONUS Chain Mainnet"},Dpt={chain:"EUN",chainId:1984,explorers:[{name:"testnetexplorer",url:"https://testnetexplorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Testnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1984,rpc:["https://1984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.eurus.network"],shortName:"euntest",slip44:1,slug:"eurus-testnet",testnet:!0},Ppt={chain:"TUSHY",chainId:1985,explorers:[{name:"mainnetexplorer",url:"http://explore.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1985,rpc:["https://1985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satosh.ie"],shortName:"satoshie",slug:"satoshie",testnet:!1},Lpt={chain:"TUSHY",chainId:1986,explorers:[{name:"testnetexplorer",url:"http://explore-testnet.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE Testnet",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1986,rpc:["https://1986.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.satosh.ie"],shortName:"satoshie_testnet",slip44:1,slug:"satoshie-testnet",testnet:!0},Fpt={chain:"EGEM",chainId:1987,explorers:[],faucets:[],infoURL:"https://egem.io",name:"EtherGem",nativeCurrency:{name:"EtherGem Ether",symbol:"EGEM",decimals:18},networkId:1987,rpc:["https://1987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.egem.io/custom"],shortName:"egem",slip44:1987,slug:"ethergem",testnet:!1},Npt={chain:"Hubblenet",chainId:1992,explorers:[{name:"routescan",url:"https://explorer.hubble.exchange",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmU9t9fZaWiqpAZ9dw2ojTpJycnB8BxekLWVSCJikJVgjW",width:512,height:512,format:"png"},infoURL:"https://www.hubble.exchange",name:"Hubble Exchange",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:1992,rpc:["https://1992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hubble.exchange","wss://ws-rpc.hubble.exchange"],shortName:"hubblenet",slip44:60,slug:"hubble-exchange",testnet:!1},Opt={chain:"B3 Sepolia",chainId:1993,explorers:[],faucets:[],features:[],icon:{url:"https://cdn.b3.fun/b3_logo%40.png",width:512,height:512,format:"png"},infoURL:"https://docs.b3.fun/",name:"B3 Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1993,parent:{type:"L3",chain:"eip155-1",bridges:[{url:"https://bridge.b3.fun/"}]},redFlags:[],rpc:["https://1993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.b3.fun/http"],shortName:"b3-sepolia",slug:"b3-sepolia",testnet:!0,title:"B3 Sepolia"},Upt={chain:"EKTA",chainId:1994,explorers:[{name:"ektascan",url:"https://ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"Ekta",nativeCurrency:{name:"EKTA",symbol:"EKTA",decimals:18},networkId:1994,rpc:["https://1994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.ekta.io"],shortName:"ekta",slug:"ekta",testnet:!1},Hpt={chain:"edeXa TestNetwork",chainId:1995,explorers:[{name:"edexa-testnet",url:"https://explorer.testnet.edexa.network",standard:"EIP3091"}],faucets:["https://faucet.edexa.com/"],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Testnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:1995,rpc:["https://1995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.edexa.network/rpc","https://io-dataseed1.testnet.edexa.io-market.com/rpc"],shortName:"edx",slip44:1,slug:"edexa-testnet",testnet:!0},zpt={chain:"Sanko",chainId:1996,explorers:[{name:"Sanko Explorer",url:"https://explorer.sanko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmbwi5FoJdL6HuFmQGQu1sdyoGrSuj45H12tMNTnpRAmLw",width:795,height:792,format:"png"},infoURL:"https://sanko.xyz/",name:"Sanko",nativeCurrency:{name:"DMT",symbol:"DMT",decimals:18},networkId:1996,rpc:["https://1996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sanko.xyz"],shortName:"Sanko",slug:"sanko",testnet:!1},Wpt={chain:"KYOTO",chainId:1998,explorers:[{name:"Kyotoscan",url:"https://testnet.kyotoscan.io",standard:"EIP3091"}],faucets:["https://faucet.kyotoprotocol.io"],features:[{name:"EIP155"}],infoURL:"https://kyotoprotocol.io",name:"Kyoto Testnet",nativeCurrency:{name:"Kyoto",symbol:"KYOTO",decimals:18},networkId:1998,rpc:["https://1998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.kyotoprotocol.io:8545"],shortName:"kyoto-testnet",slip44:1,slug:"kyoto-testnet",testnet:!0},qpt={chain:"DC",chainId:2e3,explorers:[{name:"dogechain explorer",url:"https://explorer.dogechain.dog",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:2e3,rpc:["https://2000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogechain.dog","https://rpc01-sg.dogechain.dog","https://rpc.ankr.com/dogechain"],shortName:"dc",slug:"dogechain",testnet:!1},jpt={chain:"milkAda",chainId:2001,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Mainnet",nativeCurrency:{name:"milkAda",symbol:"mADA",decimals:18},networkId:2001,rpc:["https://2001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-cardano-evm.c1.milkomeda.com","wss://rpc-mainnet-cardano-evm.c1.milkomeda.com"],shortName:"milkAda",slug:"milkomeda-c1",testnet:!1},Gpt={chain:"milkALGO",chainId:2002,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Mainnet",nativeCurrency:{name:"milkALGO",symbol:"mALGO",decimals:18},networkId:2002,rpc:["https://2002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-algorand-rollup.a1.milkomeda.com","wss://rpc-mainnet-algorand-rollup.a1.milkomeda.com/ws"],shortName:"milkALGO",slug:"milkomeda-a1",testnet:!1},Kpt={chain:"MetaLink",chainId:2004,explorers:[{name:"MetaScan",url:"http://twoto3.com:3000",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfSXRkDPSwt7heQ24pDtWKN6vvervEaTJHmueyRp1mpg1",width:800,height:800,format:"jpg"},infoURL:"http://totwo3.com:3000",name:"MetaLink Network",nativeCurrency:{name:"MetaLink",symbol:"MTL",decimals:18},networkId:2004,rpc:["https://2004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://77.237.237.69:9933"],shortName:"mtl",slug:"metalink-network",testnet:!1},Qpt={chain:"CloudWalk Testnet",chainId:2008,explorers:[{name:"CloudWalk Testnet Explorer",url:"https://explorer.testnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Testnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2008,rpc:[],shortName:"cloudwalk_testnet",slip44:1,slug:"cloudwalk-testnet",testnet:!0},Vpt={chain:"CloudWalk Mainnet",chainId:2009,explorers:[{name:"CloudWalk Mainnet Explorer",url:"https://explorer.mainnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Mainnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2009,rpc:[],shortName:"cloudwalk_mainnet",slug:"cloudwalk",testnet:!1},Ypt={chain:"Panarchy",chainId:2013,explorers:[],faucets:[],infoURL:"https://polytopia.org/",name:"Panarchy",nativeCurrency:{name:"GAS",symbol:"GAS",decimals:18},networkId:1,rpc:["https://2013.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polytopia.org:8545"],shortName:"panarchy",slug:"panarchy",testnet:!1},$pt={chain:"NOW",chainId:2014,explorers:[{name:"nowscan",url:"https://nowscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSUzhRGzMyMyGwBcE3ooZ5jvHKyJ1FjVjh5SfoGHG36MX",width:512,height:512,format:"png"},infoURL:"https://nowchain.co",name:"NOW Chain",nativeCurrency:{name:"NOW Coin",symbol:"NOW",decimals:18},networkId:2014,rpc:["https://2014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nowscan.io"],shortName:"now",slug:"now-chain",testnet:!1},Jpt={chain:"NetZ",chainId:2016,explorers:[{name:"MainnetZ",url:"https://explorer.mainnetz.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://mainnetz.io",name:"MainnetZ Mainnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:2016,rpc:["https://2016.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mainnetz.io","https://eu-rpc.mainnetz.io"],shortName:"netz",slug:"z-mainnet",testnet:!1},Xpt={chain:"TEL",chainId:2017,explorers:[{name:"telscan",url:"https://telscan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"}}],faucets:["https://telcoin.network/faucet"],icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"},infoURL:"https://telcoin.network",name:"Adiri",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},networkId:2017,rpc:["https://2017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.telcoin.network","https://adiri.tel","https://node1.telcoin.network","https://node2.telcoin.network","https://node3.telcoin.network","https://node4.telcoin.network"],shortName:"tel",slip44:1,slug:"adiri",testnet:!0,title:"Telcoin Network Testnet"},Zpt={chain:"PublicMint",chainId:2018,explorers:[{name:"PublicMint Explorer",url:"https://explorer.dev.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Devnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2018,rpc:["https://2018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.publicmint.io:8545"],shortName:"pmint_dev",slip44:60,slug:"publicmint-devnet",testnet:!1,title:"Public Mint Devnet"},e8t={chain:"PublicMint",chainId:2019,explorers:[{name:"PublicMint Explorer",url:"https://explorer.tst.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Testnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2019,rpc:["https://2019.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.publicmint.io:8545"],shortName:"pmint_test",slip44:1,slug:"publicmint-testnet",testnet:!0,title:"Public Mint Testnet"},t8t={chain:"PublicMint",chainId:2020,explorers:[{name:"PublicMint Explorer",url:"https://explorer.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2020,rpc:["https://2020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicmint.io:8545"],shortName:"pmint",slip44:60,slug:"publicmint",testnet:!1,title:"Public Mint Mainnet"},n8t={chain:"EDG",chainId:2021,explorers:[{name:"Edgscan EdgeEVM explorer by Bharathcoorg",url:"https://edgscan.live",standard:"EIP3091"},{name:"Edgscan EdgeWASM explorer by Bharathcoorg",url:"https://edgscan.ink",standard:"none",icon:{url:"ipfs://QmVV7ibcq8pS44Nt77jWSLNY2RkfQooHBCZMBPSMdAfZ3d",width:88,height:88,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWCSXYLigYE6qEiese4cso2icgKQyosV3x1adtxJnRyJ9",width:88,height:76,format:"svg"},infoURL:"https://edgeware.io",name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{name:"Edgeware",symbol:"EDG",decimals:18},networkId:2021,rpc:["https://2021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgeware-evm.jelliedowl.net","https://edgeware-evm0.jelliedowl.net","https://edgeware-evm1.jelliedowl.net","https://edgeware-evm2.jelliedowl.net","https://edgeware-evm3.jelliedowl.net","wss://edgeware.jelliedowl.net","wss://edgeware-rpc0.jelliedowl.net","wss://edgeware-rpc1.jelliedowl.net","wss://edgeware-rpc2.jelliedowl.net","wss://edgeware-rpc3.jelliedowl.net"],shortName:"edg",slip44:523,slug:"edgeware-edgeevm",testnet:!1},a8t={chain:"EDG",chainId:2022,explorers:[{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",standard:"EIP3091"}],faucets:[],infoURL:"https://edgeware.io/build",name:"Beresheet BereEVM Testnet",nativeCurrency:{name:"Testnet EDG",symbol:"tEDG",decimals:18},networkId:2022,rpc:["https://2022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beresheet-evm.jelliedowl.net","wss://beresheet.jelliedowl.net"],shortName:"edgt",slip44:1,slug:"beresheet-bereevm-testnet",testnet:!0},r8t={chain:"Taycan",chainId:2023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://evmscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer",url:"https://cosmoscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:["https://ttaycan-faucet.hupayx.io/"],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan Testnet",nativeCurrency:{name:"test-Shuffle",symbol:"tSFL",decimals:18},networkId:2023,rpc:["https://2023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-taycan.hupayx.io"],shortName:"taycan-testnet",slip44:1,slug:"taycan-testnet",testnet:!0},f8t={chain:"SWAN",chainId:2024,explorers:[],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Saturn Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:2024,rpc:["https://2024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://saturn-rpc.swanchain.io"],shortName:"swan",slug:"swan-saturn-testnet",testnet:!0},i8t={chain:"Rangers",chainId:2025,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Mainnet",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"RPG",decimals:18},networkId:2025,rpc:["https://2025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rangersprotocol.com/api/jsonrpc"],shortName:"rpg",slip44:1008,slug:"rangers-protocol",testnet:!1},s8t={chain:"Edgeless",chainId:2026,explorers:[{name:"Edgeless Explorer",url:"https://explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:2026,rpc:["https://2026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.edgeless.network/http"],shortName:"edgeless",slug:"edgeless-network",testnet:!1},o8t={chain:"CFG",chainId:2031,explorers:[{name:"subscan",url:"https://centrifuge.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmedNc3WvTm66iNK2NYW6Fzu5tx5FgNa6HCBf3DTHpzQZ1",width:209,height:208,format:"svg"},infoURL:"https://centrifuge.io",name:"Centrifuge",nativeCurrency:{name:"Centrifuge",symbol:"CFG",decimals:18},networkId:2031,rpc:["https://2031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode.centrifuge.io","wss://fullnode.centrifuge.io","https://centrifuge-parachain.api.onfinality.io/public","wss://centrifuge-parachain.api.onfinality.io/public-ws","https://centrifuge-rpc.dwellir.com","wss://centrifuge-rpc.dwellir.com","https://rpc-centrifuge.luckyfriday.io","wss://rpc-centrifuge.luckyfriday.io"],shortName:"cfg",slug:"centrifuge",testnet:!1},c8t={chain:"CFG",chainId:2032,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Catalyst",nativeCurrency:{name:"Catalyst CFG",symbol:"NCFG",decimals:18},networkId:2032,rpc:["wss://fullnode.catalyst.cntrfg.com"],shortName:"ncfg",slug:"catalyst",testnet:!1},d8t={chain:"PHA",chainId:2035,explorers:[],faucets:[],infoURL:"https://phala.network",name:"Phala Network",nativeCurrency:{name:"Phala",symbol:"PHA",decimals:18},networkId:2035,rpc:[],shortName:"pha",slug:"phala-network",testnet:!1},l8t={chain:"KIWI",chainId:2037,explorers:[{name:"KIWI Explorer",url:"https://subnets-test.avax.network/kiwi",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Kiwi Subnet",nativeCurrency:{name:"Shrapgas",symbol:"SHRAP",decimals:18},networkId:2037,rpc:["https://2037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/kiwi/testnet/rpc"],shortName:"kiwi",slip44:1,slug:"kiwi-subnet",testnet:!0},u8t={chain:"SHRAPNEL",chainId:2038,explorers:[{name:"SHRAPNEL Explorer",url:"https://subnets-test.avax.network/shrapnel",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Testnet",nativeCurrency:{name:"SHRAPG",symbol:"SHRAPG",decimals:18},networkId:2038,rpc:["https://2038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/testnet/rpc"],shortName:"shraptest",slip44:1,slug:"shrapnel-testnet",testnet:!0},p8t={chain:"Aleph Zero Testnet",chainId:2039,explorers:[{name:"Aleph Zero Testnet",url:"https://test.azero.dev/#/explorer",standard:"none",icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"},infoURL:"https://testnet.alephzero.org",name:"Aleph Zero Testnet",nativeCurrency:{name:"TZERO",symbol:"TZERO",decimals:18},networkId:2039,rpc:["https://2039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alephzero-testnet.gelato.digital","wss://rpc.alephzero-testnet.gelato.digital"],shortName:"aleph",slug:"aleph-zero-testnet",testnet:!0},h8t={chain:"VANAR",chainId:2040,explorers:[{name:"Vanar Explorer",url:"https://explorer.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanar Mainnet",nativeCurrency:{name:"VANRY",symbol:"VANRY",decimals:18},networkId:2040,rpc:["https://2040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vanarchain.com","wss://ws.vanarchain.com"],shortName:"Vanar",slug:"vanar",testnet:!1,title:"Vanarchain"},m8t={chain:"NEUROWEB",chainId:2043,explorers:[],faucets:[],infoURL:"https://neuroweb.ai",name:"NeuroWeb",nativeCurrency:{name:"NeuroWeb Token",symbol:"NEURO",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"NEURO",slug:"neuroweb",testnet:!1},b8t={chain:"shrapnel",chainId:2044,explorers:[],faucets:[],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Subnet",nativeCurrency:{name:"Shrapnel Gas Token",symbol:"SHRAPG",decimals:18},networkId:2044,rpc:["https://2044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/mainnet/rpc"],shortName:"Shrapnel",slug:"shrapnel-subnet",testnet:!1},y8t={chain:"AIW3",chainId:2045,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2045,rpc:[],shortName:"AIW3",slug:"aiw3",status:"incubating",testnet:!1},g8t={chain:"STOS",chainId:2047,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer-mesos.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://big-dipper-mesos.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos Testnet",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2047,rpc:["https://2047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc-mesos.thestratos.org"],shortName:"stos-testnet",slip44:1,slug:"stratos-testnet",testnet:!0},v8t={chain:"STOS",chainId:2048,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://explorer.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2048,rpc:["https://2048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc.thestratos.org"],shortName:"stos-mainnet",slug:"stratos",testnet:!1},w8t={chain:"MOVO",chainId:2049,explorers:[{name:"movoscan",url:"https://movoscan.com",standard:"none",icon:{url:"ipfs://QmdFJMdnTvu4adiMERMP7B5ZZDwgiPmU3kU1qrUFdvHmUY",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSQGKhhBpMTM7vYpGdgMTDFyzaAN3PGG5AnmWy7KQPdSn",width:1200,height:1200,format:"png"},infoURL:"https://movo.uk",name:"Movo Smart Chain Mainnet",nativeCurrency:{name:"Movo Smart Chain",symbol:"MOVO",decimals:18},networkId:2049,rpc:["https://2049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://msc-rpc.movoscan.com","https://msc-rpc.movochain.org","https://msc-rpc.movoswap.com"],shortName:"movo",slip44:2050,slug:"movo-smart-chain",testnet:!1},T8t={chain:"Qkacoin",chainId:2077,explorers:[{name:"blockscout",url:"https://explorer.qkacoin.org",standard:"EIP3091"}],faucets:[],infoURL:"https://qkacoin.org",name:"Quokkacoin Mainnet",nativeCurrency:{name:"Qkacoin",symbol:"QKA",decimals:18},networkId:2077,rpc:["https://2077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qkacoin.org"],shortName:"QKA",slug:"quokkacoin",testnet:!1},x8t={chain:"Parodychain",chainId:2078,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmR2ovc7zeM7gdzpL6FdvWBEhLyE8dL1w8GWnooHEk9uEZ/parodychain-logo.png",width:512,height:512,format:"png"},name:"Parody Network",nativeCurrency:{name:"Parody",symbol:"PDY",decimals:18},networkId:2078,redFlags:[],rpc:["https://2078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-4392-rpc.a.stagenet.tanssi.network"],shortName:"Parody",slug:"parody-network",testnet:!0},E8t={chain:"AIR",chainId:2088,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSwqWxZ5HRdc25HMhEmVKxZkwSKapuuyGHb8kyrtuzxat",width:210,height:210,format:"svg"},infoURL:"https://centrifuge.io",name:"Altair",nativeCurrency:{name:"Altair",symbol:"AIR",decimals:18},networkId:2088,rpc:["wss://fullnode.altair.centrifuge.io","wss://altair.api.onfinality.io/public-ws"],shortName:"air",slug:"altair",testnet:!1},_8t={chain:"algol",chainId:2089,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Algol",nativeCurrency:{name:"Algol",symbol:"ALGL",decimals:18},networkId:2089,rpc:["wss://fullnode.algol.cntrfg.com"],shortName:"algl",slug:"algol",status:"deprecated",testnet:!1},A8t={chain:"ECO",chainId:2100,explorers:[{name:"Ecoball Explorer",url:"https://scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Mainnet",nativeCurrency:{name:"Ecoball Coin",symbol:"ECO",decimals:18},networkId:2100,rpc:["https://2100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/ecoball/"],shortName:"eco",slug:"ecoball",testnet:!1},I8t={chain:"ECO",chainId:2101,explorers:[{name:"Ecoball Testnet Explorer",url:"https://espuma-scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Testnet Espuma",nativeCurrency:{name:"Espuma Coin",symbol:"ECO",decimals:18},networkId:2101,rpc:["https://2101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/espuma/"],shortName:"esp",slip44:1,slug:"ecoball-testnet-espuma",testnet:!0},C8t={chain:"EXN",chainId:2109,explorers:[{name:"blockscout",url:"https://explorer.exosama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Exosama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2109,rpc:["https://2109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exosama.com","wss://rpc.exosama.com"],shortName:"exn",slip44:2109,slug:"exosama-network",testnet:!1},k8t={chain:"UCHAIN",chainId:2112,explorers:[{name:"uchain.info",url:"https://uchain.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUz6jimQbYZ43aeQBC6nSy2m7W7U6xR2qG8tCki2Jvj9k",width:344,height:342,format:"png"},infoURL:"https://u.cash/",name:"UCHAIN Mainnet",nativeCurrency:{name:"UCASH",symbol:"UCASH",decimals:18},networkId:2112,rpc:["https://2112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uchain.link/"],shortName:"uchain",slug:"uchain",testnet:!1},S8t={chain:"Avalanche",chainId:2121,explorers:[{name:"catenascan",url:"https://catenascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"M TEST 1103-2",nativeCurrency:{name:"M TEST 1103-2 Token",symbol:"RJI",decimals:18},networkId:2121,redFlags:[],rpc:["https://2121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b","https://rpc1.catenarpc.com"],shortName:"M TEST 1103-2",slug:"m-test-1103-2",testnet:!0},R8t={chain:"METAD",chainId:2122,explorers:[{name:"Metad Scan",url:"https://scan.metaplayer.one",standard:"EIP3091",icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"},infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Mainnet",nativeCurrency:{name:"METAD",symbol:"METAD",decimals:18},networkId:2122,rpc:["https://2122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metaplayer.one/"],shortName:"Metad",slug:"metaplayerone",testnet:!1},M8t={chain:"MP1 Dubai-Testnet",chainId:2124,explorers:[{name:"MP1Scan",url:"https://dubai.mp1scan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Dubai Testnet",nativeCurrency:{name:"Metaunit",symbol:"MEU",decimals:18},networkId:2124,rpc:["https://2124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dubai.mp1network.com/"],shortName:"MEU",slip44:1,slug:"metaplayerone-dubai-testnet",testnet:!0},B8t={chain:"BIGSB Testnet",chainId:2136,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://test-market.bigsb.network#/explorer",standard:"none"}],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets Testnet",nativeCurrency:{name:"Dolarz",symbol:"Dolarz",decimals:18},networkId:2136,rpc:["https://2136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-market.bigsb.io","wss://test-market.bigsb.io"],shortName:"bigsb_testnet",slug:"bigshortbets-testnet",testnet:!0},D8t={chain:"BIGSB",chainId:2137,explorers:[],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:2137,rpc:["https://2137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://market.bigsb.io","wss://market.bigsb.io"],shortName:"bigsb",slug:"bigshortbets",testnet:!1},P8t={chain:"dfiometatest",chainId:2138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Quorum Explorer",url:"https://public-2138.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://defi-oracle.io/",name:"Defi Oracle Meta Testnet",nativeCurrency:{name:"testEther",symbol:"tETH",decimals:18},networkId:21,rpc:["https://2138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public-2138.defi-oracle.io","wss://rpc.public-2138.defi-oracle.io"],shortName:"dfio-meta-test",slip44:1,slug:"defi-oracle-meta-testnet",testnet:!0},L8t={chain:"Oneness",chainId:2140,explorers:[{name:"oneness-mainnet",url:"https://scan.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness Network",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2140,rpc:["https://2140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onenesslabs.io/"],shortName:"oneness",slug:"oneness-network",testnet:!1},F8t={chain:"Oneness-Testnet",chainId:2141,explorers:[{name:"oneness-testnet",url:"https://scan.testnet.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness TestNet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2141,rpc:["https://2141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.onenesslabs.io/"],shortName:"oneness-testnet",slug:"oneness-testnet",testnet:!0},N8t={chain:"Avalanche",chainId:2144,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Test Subnet Resources",nativeCurrency:{name:"Test Subnet Resources Token",symbol:"LNV",decimals:18},networkId:2144,redFlags:[],rpc:["https://2144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testsubnet/testnet/rpc"],shortName:"Test Subnet Resources",slug:"test-subnet-resources",testnet:!0},O8t={chain:"ETH",chainId:2151,explorers:[{name:"BOASCAN",url:"https://boascan.io",standard:"EIP3091",icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"},infoURL:"https://docs.bosagora.org",name:"BOSagora Mainnet",nativeCurrency:{name:"BOSAGORA",symbol:"BOA",decimals:18},networkId:2151,rpc:["https://2151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bosagora.org","https://rpc.bosagora.org"],shortName:"boa",slug:"bosagora",testnet:!1},U8t={chain:"Findora",chainId:2152,explorers:[{name:"findorascan",url:"https://evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Mainnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2152,rpc:["https://2152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.findora.org"],shortName:"fra",slug:"findora",testnet:!1},H8t={chain:"Testnet-anvil",chainId:2153,explorers:[{name:"findorascan",url:"https://testnet-anvil.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Testnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2153,rpc:["https://2153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-testnet.prod.findora.org:8545/"],shortName:"findora-testnet",slip44:1,slug:"findora-testnet",testnet:!0},z8t={chain:"Testnet-forge",chainId:2154,explorers:[{name:"findorascan",url:"https://testnet-forge.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Forge",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2154,rpc:["https://2154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-forge.prod.findora.org:8545/"],shortName:"findora-forge",slip44:1,slug:"findora-forge",testnet:!0},W8t={chain:"MSN",chainId:2199,explorers:[{name:"blockscout",url:"https://explorer.moonsama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://multiverse.moonsama.com/faucet"],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Moonsama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2199,rpc:["https://2199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.moonsama.com","wss://rpc.moonsama.com/ws"],shortName:"msn",slip44:2199,slug:"moonsama-network",testnet:!1},q8t={chain:"ABN",chainId:2202,explorers:[{name:"Antofy Mainnet",url:"https://antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Mainnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:2202,rpc:["https://2202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.antofy.io"],shortName:"ABNm",slug:"antofy",testnet:!1},j8t={chain:"Bitcoin EVM",chainId:2203,explorers:[{name:"Explorer",url:"https://explorer.bitcoinevm.com",standard:"none",icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"},infoURL:"https://bitcoinevm.com",name:"Bitcoin EVM",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:2203,rpc:["https://2203.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bitcoinevm.com"],shortName:"BTC",slug:"bitcoin-evm",testnet:!1},G8t={chain:"EVA",chainId:2213,explorers:[{name:"Evanesco Explorer",url:"https://explorer.evanesco.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZbmGYdfbMRrWJore3c7hyD6q7B5pXHJqTSNjbZZUK6V8",width:200,height:200,format:"png"},infoURL:"https://evanesco.org/",name:"Evanesco Mainnet",nativeCurrency:{name:"EVA",symbol:"EVA",decimals:18},networkId:2213,rpc:["https://2213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed4.evanesco.org:8546"],shortName:"evanesco",slug:"evanesco",testnet:!1},K8t={chain:"KAVA",chainId:2221,explorers:[{name:"Kava Testnet Explorer",url:"http://testnet.kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:["https://faucet.kava.io"],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava Testnet",nativeCurrency:{name:"TKava",symbol:"TKAVA",decimals:18},networkId:2221,rpc:["https://2221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.testnet.kava.io","wss://wevm.testnet.kava.io","https://kava-testnet.drpc.org","wss://kava-testnet.drpc.org"],shortName:"tkava",slug:"kava-testnet",testnet:!0},Q8t={chain:"KAVA",chainId:2222,explorers:[{name:"Kava EVM Explorer",url:"https://kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},networkId:2222,redFlags:[],rpc:["https://2222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kava-evm-rpc.publicnode.com","wss://kava-evm-rpc.publicnode.com","https://evm.kava.io","wss://wevm.kava.io","https://kava-rpc.gateway.pokt.network","https://evm.kava-rpc.com","wss://wevm.kava-rpc.com","https://rpc.ankr.com/kava_evm","https://kava.drpc.org","wss://kava.drpc.org"],shortName:"kava",slug:"kava",testnet:!1},V8t={chain:"VChain",chainId:2223,explorers:[{name:"VChain Scan",url:"https://scan.vcex.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://bo.vcex.xyz/",name:"VChain Mainnet",nativeCurrency:{name:"VNDT",symbol:"VNDT",decimals:18},networkId:2223,rpc:["https://2223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bc.vcex.xyz"],shortName:"VChain",slug:"vchain",testnet:!1},Y8t={chain:"Krest",chainId:2241,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wss-krest.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://krest.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreid732273ib5at7krjdl2t7lteljlepwd3tvifqge7mu7g6naxavhe",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Krest Network",nativeCurrency:{name:"Krest",symbol:"KRST",decimals:18},networkId:2241,rpc:["https://2241.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc-krest.peaq.network","https://krest.unitedbloc.com"],shortName:"KRST",slug:"krest-network",testnet:!1},$8t={chain:"BOMB",chainId:2300,explorers:[{name:"bombscan",url:"https://bombscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombchain.com",name:"BOMB Chain",nativeCurrency:{name:"BOMB Token",symbol:"BOMB",decimals:18},networkId:2300,rpc:["https://2300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bombchain.com"],shortName:"bomb",slug:"bomb-chain",testnet:!1},J8t={chain:"ebro",chainId:2306,explorers:[],faucets:[],infoURL:"https://www.ebrochain.com",name:"Ebro Network",nativeCurrency:{name:"Ebro",symbol:"ebro",decimals:18},networkId:2306,rpc:["https://2306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://greendinoswap.com"],shortName:"ebro",slug:"ebro-network",testnet:!1},X8t={chain:"Arevia",chainId:2309,explorers:[],faucets:[],name:"Arevia",nativeCurrency:{name:"Arev",symbol:"AR\xC9V",decimals:18},networkId:2309,rpc:[],shortName:"arevia",slug:"arevia",status:"incubating",testnet:!1},Z8t={chain:"SOMA",chainId:2323,explorers:[{name:"SOMA Testnet Explorer",url:"https://testnet.somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://faucet.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Testnet",nativeCurrency:{name:"SMA",symbol:"tSMA",decimals:18},networkId:2323,rpc:["https://2323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-testnet-v1.somanetwork.io/","https://testnet-au-server-2.somanetwork.io","https://testnet-au-server-1.somanetwork.io","https://testnet-sg-server-1.somanetwork.io","https://testnet-sg-server-2.somanetwork.io"],shortName:"sma",slip44:1,slug:"soma-network-testnet",testnet:!0},eht={chain:"mainnet",chainId:2330,explorers:[{name:"expedition",url:"http://expedition.altcoinchain.org",standard:"none",icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"},infoURL:"https://altcoinchain.org",name:"Altcoinchain",nativeCurrency:{name:"Altcoin",symbol:"ALT",decimals:18},networkId:2330,rpc:["https://2330.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.altcoinchain.org/rpc"],shortName:"alt",slug:"altcoinchain",status:"active",testnet:!1},tht={chain:"RSS3",chainId:2331,explorers:[{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTE6hnMTQaGU8Fm7nQbeTqQ5Ha3kyLKHR6QTd59prP2mC",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:2331,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://explorer.testnet.rss3.io/bridge"}]},rpc:["https://2331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rss3.io"],shortName:"rss3-testnet",slug:"rss3-vsl-sepolia-testnet",testnet:!0},nht={chain:"SOMA",chainId:2332,explorers:[{name:"SOMA Explorer Mainnet",url:"https://somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://airdrop.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Mainnet",nativeCurrency:{name:"Soma Native Token",symbol:"SMA",decimals:18},networkId:2332,rpc:["https://2332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-mainnet-v1.somanetwork.io/","https://id-mainnet.somanetwork.io","https://hk-mainnet.somanetwork.io","https://sg-mainnet.somanetwork.io"],shortName:"smam",slug:"soma-network",status:"incubating",testnet:!1},aht={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Olympia Explorer",url:"https://blockscout.atleta.network",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}},{name:"Atleta Olympia Polka Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://app-olympia.atleta.network/faucet"],icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"},infoURL:"https://atleta.network",name:"Atleta Olympia",nativeCurrency:{name:"Atla",symbol:"ATLA",decimals:18},networkId:2340,rpc:["https://2340.rpc.thirdweb.com/${THIRDWEB_API_KEY}","wss://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},rht={chain:"OMNIA",chainId:2342,explorers:[{name:"OmniaVerse Explorer",url:"https://scan.omniaverse.io",standard:"EIP3091"}],faucets:["https://www.omniaverse.io"],icon:{url:"ipfs://QmdNQMFxcjB9PAP1LZVqaQmyppV5QGTqXXmbBeQyaTUpMM",width:192,height:192,format:"png"},infoURL:"https://www.omniaverse.io",name:"Omnia Chain",nativeCurrency:{name:"Omnia",symbol:"OMNIA",decimals:18},networkId:2342,rpc:["https://2342.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.omniaverse.io"],shortName:"omnia",slug:"omnia-chain",testnet:!1},fht={chain:"Silicon",chainId:2355,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2355,parent:{type:"L2",chain:"eip155-1",bridges:[]},rpc:[],shortName:"silicon-zk",slug:"silicon-zkevm",status:"incubating",testnet:!1,title:"Silicon zkEVM Mainnet"},iht={chain:"ETH",chainId:2357,explorers:[{name:"blockscout",url:"https://blockscout.sepolia-deprecated.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"(deprecated) Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2357,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia-deprecated.kroma.network"],shortName:"deprecated-kroma-sepolia",slip44:1,slug:"deprecated-kroma-sepolia",status:"deprecated",testnet:!0,title:"(deprecated) Kroma Testnet Sepolia"},sht={chain:"ETH",chainId:2358,explorers:[{name:"blockscout",url:"https://blockscout.sepolia.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2358,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia.kroma.network"],shortName:"kroma-sepolia",slip44:1,slug:"kroma-sepolia",testnet:!0,title:"Kroma Testnet Sepolia"},oht={chain:"Nexis Network",chainId:2370,explorers:[{name:"Nexis Testnet Explorer",url:"https://evm-testnet.nexscan.io",standard:"EIP3091"}],faucets:["https://evm-faucet.nexis.network"],icon:{url:"ipfs://QmdJwWuMgbhoZhgFM4zWrZne6qs5ktcL1vBLKX12VGgALM",width:1892,height:1892,format:"png"},infoURL:"https://nexis.network/",name:"Nexis Network Testnet",nativeCurrency:{name:"Nexis",symbol:"NZT",decimals:18},networkId:2370,rpc:["https://2370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.nexis.network"],shortName:"nzt",slug:"nexis-network-testnet",testnet:!0},cht={chain:"BOMB",chainId:2399,explorers:[{name:"bombscan-testnet",url:"https://explorer.bombchain-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:["https://faucet.bombchain-testnet.ankr.com/"],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombmoney.com",name:"BOMB Chain Testnet",nativeCurrency:{name:"BOMB Token",symbol:"tBOMB",decimals:18},networkId:2399,rpc:["https://2399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bombchain-testnet.ankr.com/bas_full_rpc_1"],shortName:"bombt",slip44:1,slug:"bomb-chain-testnet",testnet:!0},dht={chain:"TCG Verse",chainId:2400,explorers:[{name:"TCG Verse Explorer",url:"https://explorer.tcgverse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreidg4wpewve5mdxrofneqblydkrjl3oevtgpdf3fk3z3vjqam6ocoe",width:350,height:350,format:"png"},infoURL:"https://tcgverse.xyz/",name:"TCG Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:2400,parent:{type:"L2",chain:"eip155-248"},rpc:["https://2400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tcgverse.xyz"],shortName:"TCGV",slug:"tcg-verse",testnet:!1},lht={chain:"Karak",chainId:2410,explorers:[{name:"Karak Mainnet Explorer",url:"https://explorer.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2410,parent:{type:"L2",chain:"eip155-1"},rpc:["https://2410.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.karak.network"],shortName:"karak-mainnet",slug:"karak",testnet:!1},uht={chain:"XODEX",chainId:2415,explorers:[{name:"XODEX Explorer",url:"https://explorer.xo-dex.com",standard:"EIP3091",icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"},infoURL:"https://xo-dex.com",name:"XODEX",nativeCurrency:{name:"XODEX Native Token",symbol:"XODEX",decimals:18},networkId:10,rpc:["https://2415.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xo-dex.com/rpc","https://xo-dex.io"],shortName:"xodex",slug:"xodex",testnet:!1},pht={chain:"KOL",chainId:2425,explorers:[{name:"King Of Legends Devnet Explorer",url:"https://devnet.kingscan.org",standard:"EIP3091",icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"},infoURL:"https://kingoflegends.net/",name:"King Of Legends Devnet",nativeCurrency:{name:"King Of Legends",symbol:"KOL",decimals:18},networkId:2425,rpc:["https://2425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet.kinggamer.org/"],shortName:"kol",slip44:1,slug:"king-of-legends-devnet",testnet:!1,title:"King Of Legends Devnet"},hht={chain:"Polygon",chainId:2442,explorers:[{name:"polygonscan",url:"https://cardona-zkevm.polygonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM Cardona Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2442,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-ui.cardona.zkevm-rpc.com"}]},rpc:["https://2442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cardona.zkevm-rpc.com"],shortName:"zkevm-testnet-cardona",slug:"polygon-zkevm-cardona-testnet",testnet:!0,title:"Polygon zkEVM Cardona Testnet"},mht={chain:"HYBRID",chainId:2458,explorers:[{name:"Hybrid Chain Explorer Testnet",url:"https://testnet.hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Testnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"tHRC",decimals:18},networkId:2458,rpc:["https://2458.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hybridchain.ai/"],shortName:"thrc",slip44:1,slug:"hybrid-chain-network-testnet",testnet:!0},bht={chain:"HYBRID",chainId:2468,explorers:[{name:"Hybrid Chain Explorer Mainnet",url:"https://hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Mainnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"HRC",decimals:18},networkId:2468,rpc:["https://2468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coredata-mainnet.hybridchain.ai/","https://rpc-mainnet.hybridchain.ai"],shortName:"hrc",slug:"hybrid-chain-network",testnet:!0},yht={chain:"u2u",chainId:2484,explorers:[{name:"U2U Explorer",url:"https://testnet.u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:["https://faucet.uniultra.xyz"],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"Unicorn Ultra Nebulas Testnet",nativeCurrency:{name:"Unicorn Ultra Nebulas Testnet",symbol:"U2U",decimals:18},networkId:2484,rpc:["https://2484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nebulas-testnet.uniultra.xyz"],shortName:"u2u_nebulas",slip44:1,slug:"unicorn-ultra-nebulas-testnet",testnet:!0},ght={chain:"Karak",chainId:2511,explorers:[{name:"Karak Goerli Explorer",url:"https://goerli.scan.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Goerli",nativeCurrency:{name:"Karak",symbol:"KRK",decimals:18},networkId:2511,parent:{type:"L2",chain:"eip155-5"},rpc:["https://2511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.node1.karak.network"],shortName:"karak-goerli",slug:"karak-goerli",status:"deprecated",testnet:!1},vht={chain:"FRAX",chainId:2522,explorers:[{name:"fraxscan",url:"https://holesky.fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://testnet.frax.com",name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:2522,redFlags:[],rpc:["https://2522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frax.com"],shortName:"fraxtal-testnet",slip44:1,slug:"fraxtal-testnet",status:"active",testnet:!0},wht={chain:"inEVM",chainId:2525,explorers:[],faucets:[],icon:{url:"ipfs://QmU9KU1qgReJR7vyVxN5zwWB3nkhSs658ViArUjT7GCh4r",width:2e3,height:2e3,format:"png"},infoURL:"https://inevm.com",name:"inEVM Mainnet",nativeCurrency:{name:"Injective",symbol:"INJ",decimals:18},networkId:2525,rpc:["https://2525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.inevm.com/http"],shortName:"inevm",slug:"inevm",status:"active",testnet:!1},Tht={chain:"Kortho Chain",chainId:2559,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"Kortho Mainnet",nativeCurrency:{name:"KorthoChain",symbol:"KTO",decimals:11},networkId:2559,rpc:["https://2559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.kortho-chain.com"],shortName:"ktoc",slug:"kortho",testnet:!1},xht={chain:"TPC",chainId:2569,explorers:[{name:"tpcscan",url:"https://tpcscan.com",standard:"EIP3091",icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"},infoURL:"https://techpay.io/",name:"TechPay Mainnet",nativeCurrency:{name:"TechPay",symbol:"TPC",decimals:18},networkId:2569,rpc:["https://2569.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.techpay.io/"],shortName:"tpc",slug:"techpay",testnet:!1},Eht={chain:"CRC",chainId:2606,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/pocrnet",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/pocrnet",name:"PoCRNet",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:2606,rpc:["https://2606.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pocrnet.westeurope.cloudapp.azure.com/http","wss://pocrnet.westeurope.cloudapp.azure.com/ws"],shortName:"pocrnet",slug:"pocrnet",status:"active",testnet:!1,title:"Proof of Climate awaReness mainnet"},_ht={chain:"REDLC",chainId:2611,explorers:[{name:"REDLC Explorer",url:"https://redlightscan.finance",standard:"EIP3091"}],faucets:[],infoURL:"https://redlight.finance/",name:"Redlight Chain Mainnet",nativeCurrency:{name:"Redlight Coin",symbol:"REDLC",decimals:18},networkId:2611,rpc:["https://2611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed2.redlightscan.finance"],shortName:"REDLC",slug:"redlight-chain",testnet:!1},Aht={chain:"EZC",chainId:2612,explorers:[{name:"ezchain",url:"https://cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Mainnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2612,rpc:["https://2612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ezchain.com/ext/bc/C/rpc"],shortName:"EZChain",slug:"ezchain-c-chain",testnet:!1},Iht={chain:"EZC",chainId:2613,explorers:[{name:"ezchain",url:"https://testnet-cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.ezchain.com"],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Testnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2613,rpc:["https://2613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.ezchain.com/ext/bc/C/rpc"],shortName:"Fuji-EZChain",slip44:1,slug:"ezchain-c-chain-testnet",testnet:!0},Cht={chain:"WBT",chainId:2625,explorers:[{name:"whitechain-testnet-explorer",url:"https://testnet.whitechain.io",standard:"EIP3091"}],faucets:["https://testnet.whitechain.io/faucet"],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain Testnet",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:2625,rpc:["https://2625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.whitechain.io"],shortName:"twbt",slip44:1,slug:"whitechain-testnet",testnet:!0},kht={chain:"ETH",chainId:2662,explorers:[],faucets:[],icon:{url:"ipfs://QmTYgeN1E3GGXnMF2oa43v2ehX2bYqrHPrGQ9xbBMXy1we",width:1280,height:1280,format:"png"},infoURL:"https://apexlayer.xyz/",name:"APEX",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2662,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"apexmainnet",slug:"apex",status:"incubating",testnet:!1},Sht={chain:"ETH",chainId:2710,explorers:[{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2710,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-testnet.morphl2.io"}]},rpc:["https://2710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.morphl2.io"],shortName:"tmorph",slip44:1,slug:"morph-testnet",testnet:!0},Rht={chain:"Avalanche",chainId:2715,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3583",nativeCurrency:{name:"QaUser3583 Token",symbol:"XDR",decimals:18},networkId:2715,redFlags:[],rpc:["https://2715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3583",slug:"qauser3583",testnet:!0},Mht={chain:"K-LAOS",chainId:2718,explorers:[{name:"blockscout",url:"https://blockscout.klaos.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"K-LAOS",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:2718,rpc:["https://2718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaos.laosfoundation.io","wss://rpc.klaos.laosfoundation.io"],shortName:"k-laos",slug:"k-laos",testnet:!1,title:"K-LAOS: LAOS on Kusama"},Bht={chain:"XR Sepolia",chainId:2730,explorers:[{name:"XR Sepolia Explorer",url:"https://xr-sepolia-testnet.explorer.caldera.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",width:300,height:300,format:"png"},infoURL:"https://xr-one.gitbook.io",name:"XR Sepolia",nativeCurrency:{name:"tXR",symbol:"tXR",decimals:18},networkId:2730,parent:{type:"L2",chain:"eip155-421614",bridges:[]},redFlags:[],rpc:["https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http","https://xr-sepolia-testnet.rpc.caldera.xyz/http"],shortName:"xr-sepolia",slip44:60,slug:"xr-sepolia",status:"active",testnet:!0},Dht={chain:"Elizabeth",chainId:2731,explorers:[{name:"Time Network Explorer",url:"https://testnet-scanner.timenetwork.io",standard:"none",icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"},infoURL:"https://whitepaper.anttime.net/overview/anttime",name:"Elizabeth Testnet",nativeCurrency:{name:"TIME",symbol:"TIME",decimals:18},networkId:2731,rpc:["https://2731.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.timenetwork.io"],shortName:"TIME",slug:"elizabeth-testnet",testnet:!0},Pht={chain:"ETH",chainId:2748,explorers:[{name:"Nanon Rollup Explorer",url:"https://explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2748,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.nanon.network"}]},rpc:["https://2748.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nanon.network"],shortName:"Nanon",slip44:1,slug:"nanon",testnet:!1,title:"Nanon Rollup"},Lht={chain:"GM Network Mainnet",chainId:2777,explorers:[{name:"GM Network Mainnet Explorer",url:"https://scan.gmnetwork.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2777,rpc:["https://2777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gmnetwork.ai"],shortName:"gmnetwork-mainnet",slug:"gm-network",status:"active",testnet:!1},Fht={chain:"ETH",chainId:2810,explorers:[{name:"Morph Holesky Testnet Explorer",url:"https://explorer-holesky.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2810,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-holesky.morphl2.io"}]},rpc:["https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quicknode-holesky.morphl2.io","wss://rpc-quicknode-holesky.morphl2.io","https://rpc-holesky.morphl2.io"],shortName:"hmorph",slip44:1,slug:"morph-holesky",testnet:!0,title:"Morph Holesky Testnet"},Nht={chain:"Avalanche",chainId:2828,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan's Testnet 1",nativeCurrency:{name:"Cohan's Testnet 1 Token",symbol:"FQC",decimals:18},networkId:2828,redFlags:[],rpc:["https://2828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a6eec829-2c08-4264-b0d7-6d393997e9a6"],shortName:"Cohan's Testnet 1",slug:"cohan-s-testnet-1",testnet:!0},Oht={chain:"Avalanche",chainId:2864,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0613I1",nativeCurrency:{name:"QI0613I1 Token",symbol:"NPQ",decimals:18},networkId:2864,redFlags:[],rpc:["https://2864.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0613I1",slug:"qi0613i1",testnet:!0},Uht={chain:"ETH",chainId:2888,explorers:[{name:"Blockscout",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:2888,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},redFlags:[],rpc:["https://2888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.boba.network/","wss://wss.goerli.boba.network/"],shortName:"BobaGoerli",slip44:1,slug:"boba-network-goerli-testnet",status:"deprecated",testnet:!0},Hht={chain:"ELUX",chainId:2907,explorers:[{name:"blockscout",url:"https://eluxscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQC7LzzFj8kL71a1MXRgn3TSeRrgF1tTuVEzvWx5cQjv1",width:114,height:132,format:"png"},infoURL:"https://eluxscan.com",name:"Elux Chain",nativeCurrency:{name:"Elux Chain",symbol:"ELUX",decimals:18},networkId:2907,rpc:["https://2907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eluxscan.com"],shortName:"ELUX",slug:"elux-chain",testnet:!1},zht={chain:"2911",chainId:2911,explorers:[{name:"blockscout",url:"https://explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:2911,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.hychain.com"}]},redFlags:[],rpc:["https://2911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hychain.com/http"],shortName:"hychain",slug:"hychain",testnet:!0},Wht={chain:"XEN",chainId:2941,explorers:[{name:"Xenon testnet Explorer",url:"https://testnet.xenonchain.com",standard:"none"}],faucets:["https://xfaucet.xenonchain.com"],icon:{url:"ipfs://QmNSoxDnj6MV8mPJWiuzzLbATcbk5op11NTwMTdzcr272F",width:500,height:500,format:"png"},infoURL:"https://xenonchain.com",name:"Xenon Chain Testnet",nativeCurrency:{name:"Xenon Testnet",symbol:"tXEN",decimals:18},networkId:2941,rpc:["https://2941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-chain.xenonchain.com/","https://testnet-dev.xenonchain.com/"],shortName:"xenon",slip44:1,slug:"xenon-chain-testnet",testnet:!0},qht={chain:"BTY",chainId:2999,explorers:[{name:"BitYuan Block Chain Explorer",url:"https://mainnet.bityuan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUmJVof2m5e4HUXb3GmijWUFsLUNhrQiwwQG3CqcXEtHt",width:91,height:24,format:"png"},infoURL:"https://www.bityuan.com",name:"BitYuan Mainnet",nativeCurrency:{name:"BTY",symbol:"BTY",decimals:18},networkId:2999,rpc:["https://2999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bityuan.com/eth"],shortName:"bty",slug:"bityuan",testnet:!1},jht={chain:"CENNZnet",chainId:3e3,explorers:[],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Rata",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3e3,rpc:[],shortName:"cennz-r",slug:"cennznet-rata",testnet:!1},Ght={chain:"CENNZnet",chainId:3001,explorers:[{name:"UNcover",url:"https://www.uncoverexplorer.com/?network=Nikau",standard:"none"}],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Nikau",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3001,rpc:["https://3001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nikau.centrality.me/public"],shortName:"cennz-n",slug:"cennznet-nikau",testnet:!1},Kht={chain:"CAU",chainId:3003,explorers:[{name:"canxium explorer",url:"https://explorer.canxium.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Canxium Mainnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:3003,rpc:["https://3003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.canxium.org"],shortName:"cau",slug:"canxium",testnet:!1},Qht={chain:"3ULL",chainId:3011,explorers:[{name:"PLAYA3ULL GAMES Explorer",url:"https://3011.routescan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"},infoURL:"https://playa3ull.games",name:"PLAYA3ULL GAMES",nativeCurrency:{name:"3ULL",symbol:"3ULL",decimals:18},networkId:3011,rpc:["https://3011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnet.playa3ull.games"],shortName:"3ULL",slug:"playa3ull-games",testnet:!1},Vht={chain:"Avalanche",chainId:3026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405064 NO INTEROP PRECOMPILE",nativeCurrency:{name:"QIM2405064 NO INTEROP PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:3026,redFlags:[],rpc:["https://3026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405064 NO INTEROP PRECOMPILE",slug:"qim2405064-no-interop-precompile",testnet:!0},Yht={chain:"ORL",chainId:3031,explorers:[{name:"Orlando (ORL) Explorer",url:"https://orlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"},infoURL:"https://orlchain.com",name:"Orlando Chain",nativeCurrency:{name:"Orlando",symbol:"ORL",decimals:18},networkId:3031,rpc:["https://3031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.orlchain.com"],shortName:"ORL",slug:"orlando-chain",testnet:!0},$ht={chain:"REBUS",chainId:3033,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.testnet.rebus.money",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://testnet.rebus.money/rebustestnet",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Testnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:3033,rpc:["https://3033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rebus.money/rpc"],shortName:"rebus-testnet",slug:"rebus-testnet",testnet:!0,title:"Rebuschain Testnet"},Jht={chain:"Avalanche",chainId:3036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"QED",decimals:18},networkId:3036,redFlags:[],rpc:["https://3036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet",testnet:!0},Xht={chain:"BFC",chainId:3068,explorers:[{name:"explorer-thebifrost",url:"https://explorer.mainnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Mainnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:3068,rpc:["https://3068.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.mainnet.bifrostnetwork.com/rpc","https://public-02.mainnet.bifrostnetwork.com/rpc"],shortName:"bfc",slug:"bifrost",testnet:!1,title:"Bifrost Network Mainnet"},Zht={chain:"Avalanche",chainId:3070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9054",nativeCurrency:{name:"QaUser9054 Token",symbol:"QFE",decimals:18},networkId:3070,redFlags:[],rpc:["https://3070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9054",slug:"qauser9054",testnet:!0},e3t={chain:"MOVE",chainId:3073,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:3073,rpc:[],shortName:"move",slug:"movement-evm",status:"incubating",testnet:!1},t3t={chain:"Avalanche",chainId:3084,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XL Network Testnet",nativeCurrency:{name:"XL Network Testnet Token",symbol:"XLN",decimals:18},networkId:3084,redFlags:[],rpc:["https://3084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xlnetworkt/testnet/rpc"],shortName:"XL Network Testnet",slug:"xl-network-testnet",testnet:!0},n3t={chain:"EVMCC",chainId:3100,explorers:[],faucets:[],infoURL:"https://immu3.io",name:"Immu3 EVM",nativeCurrency:{name:"IMMU",symbol:"IMMU",decimals:18},networkId:3100,rpc:["https://3100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network","wss://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network"],shortName:"Immu3",slug:"immu3-evm",testnet:!1},a3t={chain:"VFIEVMCC",chainId:3102,explorers:[],faucets:[],infoURL:"https://vulture.finance",name:"Vulture EVM Beta",nativeCurrency:{name:"VFI",symbol:"VFI",decimals:18},networkId:3102,rpc:["https://3102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network"],shortName:"VFI",slug:"vulture-evm-beta",testnet:!1},r3t={chain:"SatoshiVM",chainId:3109,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Alpha Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3109,rpc:["https://3109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc-node-http.svmscan.io"],shortName:"SAVM",slug:"satoshivm-alpha",testnet:!1},f3t={chain:"SatoshiVM",chainId:3110,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3110,rpc:["https://3110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc-node-http.svmscan.io"],shortName:"tSAVM",slug:"satoshivm-testnet",testnet:!0},i3t={chain:"FIL",chainId:3141,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Hyperspace testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141,rpc:[],shortName:"filecoin-hyperspace",slip44:1,slug:"filecoin-hyperspace-testnet",status:"deprecated",testnet:!0},s3t={chain:"DUBX",chainId:3269,explorers:[],faucets:[],infoURL:"https://arabianchain.org",name:"Dubxcoin network",nativeCurrency:{name:"Dubxcoin mainnet",symbol:"DUBX",decimals:18},networkId:3269,rpc:["https://3269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmain.arabianchain.org"],shortName:"dubx",slug:"dubxcoin-network",testnet:!1},o3t={chain:"TESTDUBX",chainId:3270,explorers:[],faucets:["https://faucet.arabianchain.org/"],infoURL:"https://arabianchain.org",name:"Dubxcoin testnet",nativeCurrency:{name:"Dubxcoin testnet",symbol:"TDUBX",decimals:18},networkId:3270,rpc:["https://3270.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctestnet.arabianchain.org"],shortName:"testdubx",slip44:1,slug:"dubxcoin-testnet",testnet:!0},c3t={chain:"Debounce Network",chainId:3306,explorers:[{name:"Debounce Devnet Explorer",url:"https://explorer.debounce.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeib5q4hez37s7b2fx4hqt2q4ji2tuudxjhfdgnp6q3d5mqm6wsxdfq",width:256,height:256,format:"png"},infoURL:"https://debounce.network",name:"Debounce Subnet Testnet",nativeCurrency:{name:"Debounce Network",symbol:"DB",decimals:18},networkId:3306,rpc:["https://3306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.debounce.network"],shortName:"debounce-devnet",slip44:1,slug:"debounce-subnet-testnet",testnet:!0},d3t={chain:"Beach",chainId:3331,explorers:[],faucets:["https://faucet.zcore.cash"],icon:{url:"ipfs://QmQnXu13ym8W1VA3QxocaNVXGAuEPmamSCkS7bBscVk1f4",width:1050,height:1050,format:"png"},infoURL:"https://zcore.cash",name:"ZCore Testnet",nativeCurrency:{name:"ZCore",symbol:"ZCR",decimals:18},networkId:3331,rpc:["https://3331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.zcore.cash"],shortName:"zcrbeach",slip44:1,slug:"zcore-testnet",testnet:!0},l3t={chain:"EthStorage",chainId:3333,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3333,rpc:["https://3333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.ethstorage.io:9540"],shortName:"es-t",slip44:1,slug:"ethstorage-testnet",testnet:!0},u3t={chain:"Web3Q",chainId:3334,explorers:[{name:"w3q-galileo",url:"https://explorer.galileo.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://galileo.web3q.io/home.w3q/",name:"Web3Q Galileo",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:3334,rpc:["https://3334.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galileo.web3q.io:8545"],shortName:"w3q-g",slug:"web3q-galileo",testnet:!1},p3t={chain:"EthStorage",chainId:3335,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3335,rpc:["https://3335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://mainnet.ethstorage.io:9540"],shortName:"es-m",slip44:1,slug:"ethstorage",testnet:!1},h3t={chain:"PRB",chainId:3400,explorers:[{name:"Paribu Net Explorer",url:"https://explorer.paribu.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Mainnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3400,rpc:["https://3400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.paribu.network"],shortName:"prb",slug:"paribu-net",testnet:!1},m3t={chain:"EVO",chainId:3424,explorers:[{name:"Evolve Mainnet Explorer",url:"https://evoexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Mainnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:3424,rpc:["https://3424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evolveblockchain.io"],shortName:"EVOm",slug:"evolve",testnet:!1},b3t={chain:"SCAI",chainId:3434,explorers:[{name:"SecureChain",url:"https://testnet.securechain.ai",standard:"EIP3091"}],faucets:["https://faucet.securechain.ai"],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Testnet",nativeCurrency:{name:"SCAI",symbol:"SCAI",decimals:18},networkId:3434,rpc:["https://3434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.securechain.ai"],shortName:"SCAIt",slip44:1,slug:"securechain-testnet",testnet:!0},y3t={chain:"Avalanche",chainId:3454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa",nativeCurrency:{name:"Masa Token",symbol:"MASA",decimals:18},networkId:3454,redFlags:[],rpc:["https://3454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masa/mainnet/rpc"],shortName:"Masa",slug:"masa",testnet:!1},g3t={chain:"LayerEdge",chainId:3456,explorers:[{name:"LayerEdge Testnet Explorer",url:"https://testnet-explorer.layeredge.io",standard:"EIP3091",icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"}}],faucets:["https://testnet-faucet.layeredge.io"],icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"},infoURL:"https://www.layeredge.io",name:"LayerEdge testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:3456,rpc:["https://3456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.layeredge.io"],shortName:"LayerEdge-testnet",slug:"layeredge-testnet",testnet:!0},v3t={chain:"PRB",chainId:3500,explorers:[{name:"Paribu Net Testnet Explorer",url:"https://testnet.paribuscan.com",standard:"EIP3091"}],faucets:["https://faucet.paribuscan.com"],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Testnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3500,rpc:["https://3500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.paribuscan.com"],shortName:"prbtestnet",slip44:1,slug:"paribu-net-testnet",testnet:!0},w3t={chain:"JFIN",chainId:3501,explorers:[{name:"JFIN Chain Explorer",url:"https://exp.jfinchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jfinchain.com",name:"JFIN Chain",nativeCurrency:{name:"JFIN Coin",symbol:"JFIN",decimals:18},networkId:3501,rpc:["https://3501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jfinchain.com"],shortName:"JFIN",slug:"jfin-chain",testnet:!1},T3t={chain:"PandoProject",chainId:3601,explorers:[{name:"Pando Mainnet Explorer",url:"https://explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Mainnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3601,rpc:["https://3601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.pandoproject.org/rpc"],shortName:"pando-mainnet",slug:"pandoproject",testnet:!1},x3t={chain:"PandoProject",chainId:3602,explorers:[{name:"Pando Testnet Explorer",url:"https://testnet.explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Testnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3602,rpc:["https://3602.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ethrpc.pandoproject.org/rpc"],shortName:"pando-testnet",slip44:1,slug:"pandoproject-testnet",testnet:!0},E3t={chain:"TYCON",chainId:3630,explorers:[],faucets:[],name:"Tycooncoin",nativeCurrency:{name:"Tycooncoin",symbol:"TYCO",decimals:18},networkId:3630,rpc:["https://3630.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tycoscan.com"],shortName:"TYCON",slug:"tycooncoin",testnet:!1},_3t={chain:"BOTANIX",chainId:3636,explorers:[{name:"3xpl",url:"https://3xpl.com/botanix",standard:"EIP3091"},{name:"Blockscout",url:"https://blockscout.botanixlabs.dev",standard:"EIP3091"}],faucets:["https://faucet.botanixlabs.dev"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://botanixlabs.xyz",name:"Botanix Testnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3636,rpc:["https://3636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.botanixlabs.dev"],shortName:"BTNX",slip44:1,slug:"botanix-testnet",testnet:!0},A3t={chain:"BTC",chainId:3637,explorers:[{name:"Botanix",url:"https://btxtestchain.com",standard:"EIP3091"}],faucets:["https://faucet.btxtestchain.com"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://btxtestchain.com",name:"Botanix Mainnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3637,rpc:["https://3637.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.btxtestchain.com"],shortName:"BTCm",slug:"botanix",testnet:!0},I3t={chain:"iChain",chainId:3639,explorers:[{name:"iChainscan",url:"https://ichainscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://islamicoin.finance",name:"iChain Network",nativeCurrency:{name:"ISLAMICOIN",symbol:"ISLAMI",decimals:18},networkId:3639,rpc:["https://3639.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ichainscan.com"],shortName:"ISLAMI",slug:"ichain-network",testnet:!1},C3t={chain:"Jouleverse",chainId:3666,explorers:[{name:"jscan",url:"https://jscan.jnsdao.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jnsdao.com",name:"Jouleverse Mainnet",nativeCurrency:{name:"J",symbol:"J",decimals:18},networkId:3666,rpc:["https://3666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jnsdao.com:8503"],shortName:"jouleverse",slug:"jouleverse",testnet:!1},k3t={chain:"BTX",chainId:3690,explorers:[{name:"bittexscan",url:"https://bittexscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bittexscan.com",name:"Bittex Mainnet",nativeCurrency:{name:"Bittex",symbol:"BTX",decimals:18},networkId:3690,rpc:["https://3690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bittexscan.info","https://rpc2.bittexscan.info"],shortName:"btx",slug:"bittex",testnet:!1},S3t={chain:"EMPIRE",chainId:3693,explorers:[{name:"Empire Explorer",url:"https://explorer.empirenetwork.io",standard:"none"}],faucets:[],infoURL:"https://www.empirenetwork.io/",name:"Empire Network",nativeCurrency:{name:"Empire",symbol:"EMPIRE",decimals:18},networkId:3693,rpc:["https://3693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.empirenetwork.io"],shortName:"empire",slug:"empire-network",testnet:!1},R3t={chain:"SPC",chainId:3698,explorers:[{name:"SenjePowers",url:"https://testnet.senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Testnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3698,rpc:["https://3698.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.senjepowersscan.com"],shortName:"SPCt",slip44:1,slug:"senjepowers-testnet",testnet:!0},M3t={chain:"SPC",chainId:3699,explorers:[{name:"SenjePowers",url:"https://senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Mainnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3699,rpc:["https://3699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.senjepowersscan.com"],shortName:"SPCm",slug:"senjepowers",testnet:!1},B3t={chain:"XPLATest",chainId:3701,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io",standard:"none"}],faucets:["https://faucet.xpla.io"],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:3701,rpc:["https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-rpc.xpla.dev"],shortName:"xplatest",slip44:1,slug:"xpla-testnet-xplatest",status:"deprecated",testnet:!0},D3t={chain:"Crossbell",chainId:3737,explorers:[{name:"Crossbell Explorer",url:"https://scan.crossbell.io",standard:"EIP3091"}],faucets:["https://faucet.crossbell.io"],icon:{url:"ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",width:408,height:408,format:"svg"},infoURL:"https://crossbell.io",name:"Crossbell",nativeCurrency:{name:"Crossbell Token",symbol:"CSB",decimals:18},networkId:3737,rpc:["https://3737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.crossbell.io"],shortName:"csb",slug:"crossbell",testnet:!1},P3t={chain:"ETH",chainId:3776,explorers:[{name:"Blockscout Astar zkEVM explorer",url:"https://astar-zkevm.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3776,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gelato.network/bridge/astar-zkevm"}]},redFlags:[],rpc:["https://3776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/astar-zkevm"],shortName:"astarzk",slug:"astar-zkevm",testnet:!1,title:"Astar zkEVM Mainnet"},L3t={chain:"ALV",chainId:3797,explorers:[{name:"AlveyScan",url:"https://alveyscan.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Mainnet",nativeCurrency:{name:"AlveyCoin",symbol:"ALV",decimals:18},networkId:3797,rpc:["https://3797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elves-core1.alvey.io","https://elves-core2.alvey.io","https://elves-core3.alvey.io"],shortName:"alv",slug:"alveychain",testnet:!1},F3t={chain:"Tangle Testnet",chainId:3799,explorers:[{name:"ttntscan",url:"https://testnet-explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.tangle.tools"],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle Testnet",nativeCurrency:{name:"Testnet Tangle Network Token",symbol:"tTNT",decimals:18},networkId:3799,rpc:["https://3799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tangle.tools","https://testnet-rpc-archive.tangle.tools","wss://testnet-rpc.tangle.tools","wss://testnet-rpc-archive.tangle.tools"],shortName:"tTangle",slug:"tangle-testnet",testnet:!0},N3t={chain:"3839",chainId:3839,explorers:[{name:"traderlands explorer",url:"https://sepolia.arbiscan.io/",standard:"standard",icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.arbiscan.io/",name:"traderlands-sepolia",nativeCurrency:{name:"Traderlands",symbol:"TRADE",decimals:18},networkId:3839,redFlags:[],rpc:["https://3839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://traderlands-sepolia.rpc.caldera.xyz/http"],shortName:"Tradetest",slug:"traderlands-sepolia",testnet:!0},O3t={chain:"Firechain",chainId:3885,explorers:[],faucets:[],infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM Ghostrider",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3885,rpc:["https://3885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-ghostrider.thefirechain.com"],shortName:"firechain-zkEVM-testnet",slug:"firechain-zkevm-ghostrider",testnet:!0,title:"Firechain zkEVM Testnet"},U3t={chain:"KLC",chainId:3888,explorers:[{name:"KalyScan",url:"https://kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Mainnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3888,rpc:["https://3888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalychain.io/rpc"],shortName:"kalymainnet",slug:"kalychain",testnet:!1},H3t={chain:"KLC",chainId:3889,explorers:[{name:"KalyScan",url:"https://testnet.kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Testnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3889,rpc:["https://3889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.kalychain.io/rpc"],shortName:"kalytestnet",slip44:1,slug:"kalychain-testnet",testnet:!0},z3t={chain:"DRAC",chainId:3912,explorers:[{name:"DRAC_Network Scan",url:"https://www.dracscan.io",standard:"EIP3091"}],faucets:["https://www.dracscan.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbsQe7QsVFZJZdBmbZVvS6LgX9ZFoaTMBs9MiQXUzJTw",width:256,height:256,format:"png"},infoURL:"https://drac.io/",name:"DRAC Network",nativeCurrency:{name:"DRAC",symbol:"DRAC",decimals:18},networkId:3912,rpc:["https://3912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.dracscan.com/rpc"],shortName:"drac",slug:"drac-network",testnet:!1},W3t={chain:"DOS",chainId:3939,explorers:[{name:"DOScan-Test",url:"https://test.doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"http://doschain.io/",name:"DOS Tesnet",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:3939,rpc:["https://3939.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com"],shortName:"dost",slip44:1,slug:"dos-tesnet",testnet:!0},q3t={chain:"DYNO",chainId:3966,explorers:[{name:"DYNO Explorer",url:"https://dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Mainnet",nativeCurrency:{name:"DYNO Token",symbol:"DYNO",decimals:18},networkId:3966,rpc:["https://3966.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dynoprotocol.com"],shortName:"dyno",slug:"dyno",testnet:!1},j3t={chain:"DYNO",chainId:3967,explorers:[{name:"DYNO Explorer",url:"https://testnet.dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Testnet",nativeCurrency:{name:"DYNO Token",symbol:"tDYNO",decimals:18},networkId:3967,rpc:["https://3967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.dynoprotocol.com"],shortName:"tdyno",slip44:1,slug:"dyno-testnet",testnet:!0},G3t={chain:"ETH",chainId:3993,explorers:[{name:"blockscout",url:"https://exp-testnet.apexlayer.xyz",standard:"EIP3091"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://qmxhs7fvjanzwm14vjpbnmklre32gsiy9chsarrnbtfa1n",width:1280,height:1280,format:"png"},infoURL:"https://docs.apexlayer.xyz/",name:"APEX Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:3993,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://apexlayer.xyz/bridge"}]},rpc:["https://3993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.apexlayer.xyz"],shortName:"apexsep",slip44:1,slug:"apex-testnet",testnet:!0},K3t={chain:"YCC",chainId:3999,explorers:[{name:"YuanChain Explorer",url:"https://mainnet.yuan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdbPhiB5W2gbHZGkYsN7i2VTKKP9casmAN2hRnpDaL9W4",width:96,height:96,format:"png"},infoURL:"https://www.yuan.org",name:"YuanChain Mainnet",nativeCurrency:{name:"YCC",symbol:"YCC",decimals:18},networkId:3999,rpc:["https://3999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.yuan.org/eth"],shortName:"ycc",slug:"yuanchain",testnet:!1},Q3t={chain:"OZONE",chainId:4e3,explorers:[{name:"OZONE Scan",url:"https://ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Mainnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:4e3,rpc:["https://4000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.ozonechain.io"],shortName:"ozo",slug:"ozone-chain",testnet:!1},V3t={chain:"PERIUM",chainId:4001,explorers:[{name:"Peperium Chain Explorer",url:"https://scan-testnet.peperium.io",standard:"EIP3091",icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"},infoURL:"https://peperium.io",name:"Peperium Chain Testnet",nativeCurrency:{name:"Peperium Chain Testnet",symbol:"PERIUM",decimals:18},networkId:4001,rpc:["https://4001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.peperium.io"],shortName:"PERIUM",slip44:1,slug:"peperium-chain-testnet",testnet:!0},PHe={chain:"FTM",chainId:4002,explorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}}],faucets:["https://faucet.fantom.network"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://docs.fantom.foundation/quick-start/short-guide#fantom-testnet",name:"Fantom Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:4002,redFlags:[],rpc:["https://4002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fantom.network","https://fantom-testnet-rpc.publicnode.com","wss://fantom-testnet-rpc.publicnode.com","https://fantom-testnet.drpc.org","wss://fantom-testnet.drpc.org"],shortName:"tftm",slip44:1,slug:"fantom-testnet",testnet:!0},Y3t={chain:"X1",chainId:4003,explorers:[{name:"Blockscout",url:"https://explorer.x1-fastnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Fastnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:4003,rpc:["https://4003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-fastnet.xen.network"],shortName:"x1-fastnet",slip44:1,slug:"x1-fastnet",testnet:!1},$3t={chain:"CBR",chainId:4040,explorers:[{name:"Carbonium Network tesnet Explorer",url:"https://testnet.carboniumscan.com",standard:"none",icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"}}],faucets:["https://getfaucet.carbonium.network"],icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"},infoURL:"https://carbonium.network",name:"Carbonium Testnet Network",nativeCurrency:{name:"Carbonium",symbol:"tCBR",decimals:18},networkId:4040,rpc:["https://4040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev.carbonium.network/","https://server-testnet.carbonium.network"],shortName:"tcbr",slip44:1,slug:"carbonium-testnet-network",testnet:!0},J3t={chain:"GAN",chainId:4048,explorers:[{name:"ganscan",url:"https://ganscan.gpu.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTYgL4PMNJya3XchuRx99ggNzMHL9kWaZvj3wycdEwpQA",width:1248,height:1197,format:"png"},infoURL:"https://docs.gpu.net/",name:"GAN Testnet",nativeCurrency:{name:"GP Token",symbol:"GP",decimals:18},networkId:4048,rpc:["https://4048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gpu.net"],shortName:"GANTestnet",slug:"gan-testnet",testnet:!0},X3t={chain:"Bobaopera Testnet",chainId:4051,explorers:[{name:"Bobaopera Testnet block explorer",url:"https://blockexplorer.testnet.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4051,rpc:["https://4051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bobaopera.boba.network","wss://wss.testnet.bobaopera.boba.network","https://replica.testnet.bobaopera.boba.network","wss://replica-wss.testnet.bobaopera.boba.network"],shortName:"BobaoperaTestnet",slip44:1,slug:"bobaopera-testnet",status:"deprecated",testnet:!0},Z3t={chain:"Bahamut",chainId:4058,explorers:[{name:"blockscout",url:"https://ocean.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut ocean",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4058,rpc:["https://4058.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.ocean.bahamutchain.com"],shortName:"ocean",slug:"bahamut-ocean",testnet:!1,title:"Bahamut ocean"},emt={chain:"Nahmii",chainId:4061,explorers:[{name:"Nahmii 3 Mainnet Explorer",url:"https://explorer.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4061,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://accounts.nahmii.io"}]},rpc:["https://4061.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.n3.nahmii.io"],shortName:"Nahmii3Mainnet",slug:"nahmii-3",status:"active",testnet:!1},tmt={chain:"Nahmii",chainId:4062,explorers:[{name:"Nahmii 3 Testnet Explorer",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4062,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://accounts.testnet.nahmii.io"}]},rpc:["https://4062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.nahmii.io"],shortName:"Nahmii3Testnet",slip44:1,slug:"nahmii-3-testnet",status:"active",testnet:!0},nmt={chain:"Muster",chainId:4078,explorers:[{name:"Musterscan",url:"https://muster-explorer.alt.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",width:512,height:512,format:"png"},name:"Muster Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4078,parent:{type:"L2",chain:"eip155-42161",bridges:[]},rpc:["https://4078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://muster.alt.technology"],shortName:"muster",slug:"muster",testnet:!1},amt={chain:"TBC",chainId:4080,explorers:[{name:"tobescan",url:"https://tobescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXARMjJGkXEVEdjUyxkeG4ffsWvEo9vSJpVon3JwRxckS",width:512,height:512,format:"png"},infoURL:"https://tobechain.net",name:"Tobe Chain",nativeCurrency:{name:"Tobe Coin",symbol:"TBC",decimals:18},networkId:4080,rpc:["https://4080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tobescan.com"],shortName:"tbc",slug:"tobe-chain",testnet:!1},rmt={chain:"Fastex Chain (Bahamut)",chainId:4090,explorers:[{name:"blockscout",url:"https://oasis.ftnscan.com",standard:"none"}],faucets:["https://faucet.oasis.fastexchain.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://fastexchain.com",name:"Fastex Chain (Bahamut) Oasis Testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4090,rpc:["https://4090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasis.bahamutchain.com"],shortName:"Oasis",slip44:1,slug:"fastex-chain-bahamut-oasis-testnet",testnet:!0,title:"Bahamut testnet Oasis"},fmt={chain:"BNI",chainId:4096,explorers:[{name:"Bitindi",url:"https://testnet.bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Testnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4096,redFlags:[],rpc:["https://4096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitindi.org","https://testnet-rpc.bitindi.org"],shortName:"BNIt",slip44:1,slug:"bitindi-testnet",testnet:!0},imt={chain:"BNI",chainId:4099,explorers:[{name:"Bitindi",url:"https://bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Mainnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4099,redFlags:[],rpc:["https://4099.rpc.thirdweb.com/${THIRDWEB_API_KEY}"," https://rpc-mainnet.bitindi.org","https://mainnet-rpc.bitindi.org"],shortName:"BNIm",slug:"bitindi",testnet:!1},smt={chain:"AIOZ",chainId:4102,explorers:[{name:"AIOZ Network Testnet Explorer",url:"https://testnet.explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network Testnet",nativeCurrency:{name:"testAIOZ",symbol:"AIOZ",decimals:18},networkId:4102,rpc:["https://4102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-ds.testnet.aioz.network"],shortName:"aioz-testnet",slip44:1,slug:"aioz-network-testnet",testnet:!0},omt={chain:"Humans Testnet",chainId:4139,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Testnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:4139,rpc:["https://4139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.humans.zone"],shortName:"humans_testnet",slip44:1,slug:"humans-ai-testnet",testnet:!0},cmt={chain:"TPBX",chainId:4141,explorers:[{name:"Tipboxcoin",url:"https://testnet.tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Testnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:4141,rpc:["https://4141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tipboxcoin.net"],shortName:"TPBXt",slip44:1,slug:"tipboxcoin-testnet",testnet:!0},dmt={chain:"Avalanche",chainId:4145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I2",nativeCurrency:{name:"QI1212I2 Token",symbol:"HSCX",decimals:18},networkId:4145,redFlags:[],rpc:["https://4145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I2",slug:"qi1212i2",testnet:!0},lmt={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://test.xfiscan.com",standard:"EIP3091",icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"}},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"},infoURL:"https://crossfi.org",name:"CrossFi Testnet",nativeCurrency:{name:"XFI",symbol:"XFI",decimals:18},networkId:4157,redFlags:[],rpc:["https://4157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ms/","https://rpc.testnet.ms"],shortName:"XFI",slip44:1,slug:"crossfi-testnet",testnet:!0,title:"https://scan.testnet.ms/"},umt={chain:"PHI V1",chainId:4181,explorers:[{name:"PHI Explorer",url:"https://explorer.phi.network",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network V1",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:4181,rpc:["https://4181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.phi.network","https://rpc2.phi.network"],shortName:"PHIv1",slug:"phi-network-v1",testnet:!1},pmt={chain:"Merlin",chainId:4200,explorers:[{name:"L2scan",url:"https://scan.merlinchain.io",standard:"EIP3091",icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"},infoURL:"https://merlinchain.io",name:"Merlin Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:4200,rpc:["https://4200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.merlinchain.io","https://merlin-mainnet-enterprise.unifra.io","https://rpc-merlin.rockx.com"],shortName:"Merlin-Mainnet",slug:"merlin",testnet:!1,title:"Merlin Mainnet"},hmt={chain:"LUKSO Testnet",chainId:4201,explorers:[{name:"Blockscout",url:"https://explorer.execution.testnet.lukso.network",standard:"none"}],faucets:["https://faucet.testnet.lukso.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Testnet",nativeCurrency:{name:"TestLYX",symbol:"LYXt",decimals:18},networkId:4201,rpc:["https://4201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lukso.network","wss://ws-rpc.testnet.lukso.network"],shortName:"lukso-testnet",slip44:1,slug:"lukso-testnet",testnet:!0},mmt={chain:"ETH",chainId:4202,explorers:[{name:"liskscout",url:"https://sepolia-blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},infoURL:"https://lisk.com",name:"Lisk Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4202,rpc:["https://4202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia-api.lisk.com"],shortName:"lisksep",slip44:134,slug:"lisk-sepolia-testnet",testnet:!0},bmt={chain:"Nexi",chainId:4242,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi Mainnet",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},networkId:4242,rpc:["https://4242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.nexi.technology/","https://chain.nexilix.com","https://chain.nexi.evmnode.online"],shortName:"nexi",slip44:2500,slug:"nexi",testnet:!1},ymt={chain:"Nexi V2",chainId:4243,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi V2 Mainnet",nativeCurrency:{name:"NexiV2",symbol:"NEXI",decimals:18},networkId:4243,rpc:["https://4243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.nexiv2.nexilix.com","https://rpc.chainv1.nexi.technology"],shortName:"NexiV2",slip44:2500,slug:"nexi-v2",testnet:!1},gmt={chain:"Bobafuji Testnet",chainId:4328,explorers:[{name:"Bobafuji Testnet block explorer",url:"https://blockexplorer.testnet.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobafuji Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4328,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://4328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.avax.boba.network","wss://wss.testnet.avax.boba.network","https://replica.testnet.avax.boba.network"],shortName:"BobaFujiTestnet",slip44:1,slug:"bobafuji-testnet",status:"deprecated",testnet:!0},vmt={chain:"BEAM",chainId:4337,explorers:[{name:"Beam Explorer",url:"https://subnets.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:4337,rpc:["https://4337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc","wss://build.onbeam.com/ws","https://subnets.avax.network/beam/mainnet/rpc","wss://subnets.avax.network/beam/mainnet/ws"],shortName:"beam",slug:"beam",testnet:!1},wmt={chain:"CREDIT",chainId:4400,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain Mainnet",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:4400,rpc:["https://4400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"CreditEdge",slug:"credit-smart-chain",testnet:!1},Tmt={chain:"mainnet",chainId:4444,explorers:[{name:"htmlcoin",url:"https://explorer.htmlcoin.com",standard:"none",icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"}}],faucets:["https://gruvin.me/htmlcoin"],icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"},infoURL:"https://htmlcoin.com",name:"Htmlcoin Mainnet",nativeCurrency:{name:"Htmlcoin",symbol:"HTML",decimals:8},networkId:4444,rpc:["https://4444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://janus.htmlcoin.com/api/"],shortName:"html",slug:"htmlcoin",status:"active",testnet:!1},xmt={chain:"ETH",chainId:4460,explorers:[{name:"basescout",url:"https://explorerl2new-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4460,rpc:["https://4460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz"],shortName:"orderlyl2",slip44:1,slug:"orderly-sepolia-testnet",testnet:!0},Emt={chain:"HYDRA",chainId:4488,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain",nativeCurrency:{name:"Hydra",symbol:"HYDRA",decimals:18},networkId:4488,rpc:[],shortName:"HYDRA",slug:"hydra-chain",status:"incubating",testnet:!1},_mt={chain:"Emoney",chainId:4544,explorers:[{name:"EMoney ethscan",url:"https://ethscan.emoney.network",standard:"EIP3091",icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"}}],faucets:["https://faucet.emoney.network/faucet"],icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"},infoURL:"https://emoney.network/",name:"Emoney Network Testnet",nativeCurrency:{name:"Emoney Network",symbol:"EMYC",decimals:18},networkId:4544,rpc:["https://4544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emoney.network/"],shortName:"emoney",slip44:118,slug:"emoney-network-testnet",testnet:!0},Amt={chain:"VERY Mainnet",chainId:4613,explorers:[{name:"VERY explorer",url:"https://www.veryscan.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidyrvphfojaf7iev57trxk3sxbo6qikg26pdy66ke4n22dgm52wwa",width:320,height:320,format:"png"},infoURL:"https://www.verylabs.io/",name:"VERY Mainnet",nativeCurrency:{name:"VERY",symbol:"VERY",decimals:18},networkId:4613,rpc:["https://4613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verylabs.io"],shortName:"very",slug:"very",testnet:!1,title:"VERY Mainnet"},Imt={chain:"Avalanche",chainId:4638,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3387",nativeCurrency:{name:"QaUser3387 Token",symbol:"LPB",decimals:18},networkId:4638,redFlags:[],rpc:["https://4638.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3387",slug:"qauser3387",testnet:!0},Cmt={chain:"Gold",chainId:4653,explorers:[],faucets:[],icon:{url:"ipfs://QmbvuHpn8Np5uTTbVNgv4JHCj2zfHBfmSoRcVNdWbcV5Vq",width:226,height:104,format:"png"},infoURL:"https://gold.dev",name:"Gold Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4653,rpc:["https://4653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.gold.dev"],shortName:"gold",slug:"gold-chain",status:"incubating",testnet:!1,title:"Gold Chain"},kmt={chain:"iotex.io",chainId:4689,explorers:[{name:"iotexscan",url:"https://iotexscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Mainnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4689,redFlags:[],rpc:["https://4689.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/iotex","https://babel-api.mainnet.iotex.io"],shortName:"iotex-mainnet",slug:"iotex-network",testnet:!1},Smt={chain:"iotex.io",chainId:4690,explorers:[{name:"testnet iotexscan",url:"https://testnet.iotexscan.io",standard:"EIP3091"}],faucets:["https://faucet.iotex.io/"],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Testnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4690,redFlags:[],rpc:["https://4690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://babel-api.testnet.iotex.io"],shortName:"iotex-testnet",slip44:1,slug:"iotex-network-testnet",testnet:!0},Rmt={chain:"MEVerse",chainId:4759,explorers:[{name:"MEVerse Chain Testnet Explorer",url:"https://testnet.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Testnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:4759,rpc:["https://4759.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversetestnet.io"],shortName:"TESTMEV",slip44:1,slug:"meverse-chain-testnet",testnet:!0},Mmt={chain:"TBXN",chainId:4777,explorers:[{name:"blockscout",url:"https://testnet-explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},networkId:4777,rpc:["https://4777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.blackfort.network/rpc"],shortName:"TBXN",slip44:1,slug:"blackfort-exchange-network-testnet",testnet:!0},Bmt={chain:"GC",chainId:4893,explorers:[{name:"blockscout",url:"https://gcscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPRHDsVNpRZ72GoQgDbpa3R4wKENmrXCRNuYJkxocFRDb",width:306,height:293,format:"png"},infoURL:"https://gcscan.io",name:"Globel Chain",nativeCurrency:{name:"Globel Chain",symbol:"GC",decimals:18},networkId:4893,rpc:["https://4893.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gcscan.io"],shortName:"GC",slug:"globel-chain",testnet:!1},Dmt={chain:"Avalanche",chainId:4905,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"XFX",decimals:18},networkId:4905,redFlags:[],rpc:["https://4905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f4ceb0cc-0d11-4d49-888e-d744e333488a"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet",testnet:!0},Pmt={chain:"XVM",chainId:4918,explorers:[{name:"Venidium EVM Testnet Explorer",url:"https://evm-testnet.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://venidium.io",name:"Venidium Testnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4918,rpc:["https://4918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-testnet.venidium.io"],shortName:"txvm",slip44:1,slug:"venidium-testnet",testnet:!0},Lmt={chain:"XVM",chainId:4919,explorers:[{name:"Venidium Explorer",url:"https://evm.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiaplwlym5g27jm4mjhotfqq6al2cxp3fnkmzdusqjg7wnipq5wn2e",width:1e3,height:1e3,format:"png"},infoURL:"https://venidium.io",name:"Venidium Mainnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4919,rpc:["https://4919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.venidium.io"],shortName:"xvm",slug:"venidium",testnet:!1},Fmt={chain:"BXN",chainId:4999,explorers:[{name:"blockscout",url:"https://explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},networkId:4999,rpc:["https://4999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blackfort.network/rpc","https://mainnet-1.blackfort.network/rpc","https://mainnet-2.blackfort.network/rpc","https://mainnet-3.blackfort.network/rpc"],shortName:"BXN",slug:"blackfort-exchange-network",testnet:!1},Nmt={chain:"ETH",chainId:5e3,explorers:[{name:"Mantle Explorer",url:"https://explorer.mantle.xyz",standard:"EIP3091"},{name:"Mantle Explorer",url:"https://mantlescan.xyz/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYddHh5zdceSsBU7uGfQvEHg6UUtAFbzQBBaePS4whx7o",width:225,height:225,format:"png"},infoURL:"https://mantle.xyz",name:"Mantle",nativeCurrency:{name:"Mantle",symbol:"MNT",decimals:18},networkId:5e3,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.mantle.xyz"}]},redFlags:[],rpc:["https://5000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mantle.xyz","https://mantle-rpc.publicnode.com","wss://mantle-rpc.publicnode.com"],shortName:"mantle",slug:"mantle",testnet:!1},Omt={chain:"ETH",chainId:5001,explorers:[{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.testnet.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Testnet",nativeCurrency:{name:"Testnet Mantle",symbol:"MNT",decimals:18},networkId:5001,redFlags:[],rpc:["https://5001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.mantle.xyz"],shortName:"mantle-testnet",slip44:1,slug:"mantle-testnet",status:"deprecated",testnet:!0},Umt={chain:"Treasurenet Mainnet Alpha",chainId:5002,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.treasurenet.io",name:"Treasurenet Mainnet Alpha",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5002,rpc:["https://5002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.treasurenet.io","https://node1.treasurenet.io","https://node2.treasurenet.io","https://node3.treasurenet.io"],shortName:"treasurenet",slug:"treasurenet-alpha",testnet:!1},Hmt={chain:"ETH",chainId:5003,explorers:[{name:"blockscout",url:"https://explorer.sepolia.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.sepolia.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Sepolia Testnet",nativeCurrency:{name:"Sepolia Mantle",symbol:"MNT",decimals:18},networkId:5003,redFlags:[],rpc:["https://5003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.mantle.xyz"],shortName:"mnt-sep",slip44:1,slug:"mantle-sepolia-testnet",testnet:!0},zmt={chain:"Treasurenet Testnet",chainId:5005,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.testnet.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.testnet.treasurenet.io",name:"Treasurenet Testnet",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5005,rpc:["https://5005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.testnet.treasurenet.io","https://node1.testnet.treasurenet.io","https://node2.testnet.treasurenet.io","https://node3.testnet.treasurenet.io"],shortName:"tntest",slip44:1,slug:"treasurenet-testnet",testnet:!0},Wmt={chain:"ONIGIRI",chainId:5039,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets-test.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Test Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5039,rpc:["https://5039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/testnet/rpc"],shortName:"onigiritest",slug:"onigiri-test-subnet",testnet:!0},qmt={chain:"ONIGIRI",chainId:5040,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5040,rpc:["https://5040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/mainnet/rpc"],shortName:"onigiri",slug:"onigiri-subnet",testnet:!1},jmt={chain:"Avalanche",chainId:5041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5041,redFlags:[],rpc:["https://5041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/mainnet/rpc"],shortName:"OMOCHI",slug:"omochi",testnet:!1},Gmt={chain:"Avalanche",chainId:5042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5042,redFlags:[],rpc:["https://5042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/testnet/rpc"],shortName:"OMOCHI",slug:"omochi-omochi",testnet:!0},Kmt={chain:"Skatechain",chainId:5051,explorers:[{name:"Nollie Skate Chain Testnet Explorer",url:"https://nolliescan.skatechain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmdofX1W8QFt4TSDaq2wyPvYuUba9LabgD1MYcn3Hezu8h",width:600,height:875,format:"png"},name:"Nollie Skatechain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5051,rpc:["https://5051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nollie-rpc.skatechain.org/"],shortName:"nollie-testnet",slug:"nollie-skatechain-testnet",status:"active",testnet:!0},Qmt={chain:"Syndicate",chainId:5100,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Testnet",nativeCurrency:{name:"S-Ether",symbol:"ETH",decimals:18},networkId:5100,rpc:["https://5100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.syndicate.io"],shortName:"syndicate-chain-testnet",slug:"syndicate-testnet",status:"incubating",testnet:!0,title:"Syndicate Testnet"},Vmt={chain:"Syndicate Frame",chainId:5101,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Frame Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5101,rpc:["https://5101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-frame.syndicate.io"],shortName:"syndicate-chain-frame",slug:"syndicate-frame-chain",status:"incubating",testnet:!1,title:"Syndicate Frame Chain"},Ymt={chain:"SIC Testnet",chainId:5102,explorers:[{name:"blockscout",url:"https://explorerl2new-sic-testnet-zvr7tlkzsi.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.fwb.help/",name:"SIC Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5102,rpc:["https://5102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sic-testnet-zvr7tlkzsi.t.conduit.xyz"],shortName:"sic-testnet",slug:"sic-testnet",testnet:!0},$mt={chain:"Coordinape Testnet",chainId:5103,explorers:[],faucets:[],infoURL:"https://coordinape.com/",name:"Coordinape Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5103,rpc:["https://5103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-coordinape-testnet-vs9se3oc4v.t.conduit.xyz"],shortName:"coordinape-testnet",slug:"coordinape-testnet",testnet:!0},Jmt={chain:"Charmverse Testnet",chainId:5104,explorers:[],faucets:[],infoURL:"https://charmverse.io/",name:"Charmverse Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5104,rpc:["https://5104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-charmverse-testnet-g6blnaebes.t.conduit.xyz"],shortName:"charmverse-testnet",slug:"charmverse-testnet",testnet:!0},Xmt={chain:"Superloyalty Testnet",chainId:5105,explorers:[],faucets:[],infoURL:"https://www.superloyal.com/",name:"Superloyalty Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5105,rpc:["https://5105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-superloyalty-testnet-1m5gwjbsv1.t.conduit.xyz"],shortName:"superloyalty-testnet",slug:"superloyalty-testnet",testnet:!0},Zmt={chain:"Azra Testnet",chainId:5106,explorers:[{name:"blockscout",url:"https://explorerl2new-azra-testnet-6hz86owb1n.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://azragames.com",name:"Azra Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5106,rpc:["https://5106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-azra-testnet-6hz86owb1n.t.conduit.xyz"],shortName:"azra-testnet",slug:"azra-testnet",testnet:!0},ebt={chain:"Ham",chainId:5112,explorers:[{name:"blockscout",url:"https://explorer.ham.fun",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcbYVenTET9HBS7vs7SGv1MNqnRscAKVF5kaRVHaVCfvs",width:500,height:500,format:"jpg"},infoURL:"https://ham.fun",name:"Ham",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5112,rpc:["https://5112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ham.fun"],shortName:"ham",slug:"ham",status:"active",testnet:!1},tbt={chain:"Bahamut",chainId:5165,explorers:[{name:"blockscout",url:"https://ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:5165,rpc:["https://5165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bahamut.io","https://rpc2.bahamut.io","wss://ws1.sahara.bahamutchain.com","wss://ws2.sahara.bahamutchain.com","https://bahamut-rpc.publicnode.com","wss://bahamut-rpc.publicnode.com"],shortName:"ftn",slug:"bahamut",testnet:!1,title:"Bahamut mainnet"},nbt={chain:"SLN",chainId:5169,explorers:[{name:"SLN Mainnet Explorer",url:"https://explorer.main.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:5169,rpc:["https://5169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.smartlayer.network"],shortName:"SLN",slug:"smart-layer-network",testnet:!1},abt={chain:"TLC",chainId:5177,explorers:[{name:"TLChain Explorer",url:"https://explorer.tlchain.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaR5TsgnWSjLys6wGaciKUbc5qYL3Es4jtgQcosVqDWR3",width:2048,height:2048,format:"png"},infoURL:"https://tlchain.network/",name:"TLChain Network Mainnet",nativeCurrency:{name:"TLChain Network",symbol:"TLC",decimals:18},networkId:5177,rpc:["https://5177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tlxscan.com/"],shortName:"tlc",slug:"tlchain-network",testnet:!1},rbt={chain:"ESN",chainId:5197,explorers:[],faucets:[],icon:{url:"ipfs://QmV1wZ1RVXeD7216aiVBpLkbBBHWNuoTvcSzpVQsqi2uaH",width:200,height:200,format:"png"},infoURL:"https://eraswap.info/",name:"EraSwap Mainnet",nativeCurrency:{name:"EraSwap",symbol:"ES",decimals:18},networkId:5197,rpc:["https://5197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eraswap.network","https://rpc-mumbai.mainnet.eraswap.network"],shortName:"es",slug:"eraswap",testnet:!1},fbt={chain:"HMND",chainId:5234,explorers:[{name:"Subscan",url:"https://humanode.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Mainnet",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:5234,rpc:["https://5234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.mainnet.stages.humanode.io"],shortName:"hmnd",slug:"humanode",testnet:!1},ibt={chain:"FIRE",chainId:5290,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:5290,rpc:["https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc1.thefirechain.com"],shortName:"_old_fire",slug:"firechain-old",status:"deprecated",testnet:!1},sbt={chain:"UZMI",chainId:5315,explorers:[],faucets:[],infoURL:"https://uzmigames.com.br/",name:"Uzmi Network Mainnet",nativeCurrency:{name:"UZMI",symbol:"UZMI",decimals:18},networkId:5315,rpc:["https://5315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.uzmigames.com.br/"],shortName:"UZMI",slug:"uzmi-network",testnet:!1},obt={chain:"OpTrust",chainId:5317,explorers:[{name:"OpTrust Testnet explorer",url:"https://scantest.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Testnet",nativeCurrency:{name:"TestBSC",symbol:"tBNB",decimals:18},networkId:5317,rpc:["https://5317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.optrust.io"],shortName:"toptrust",slug:"optrust-testnet",testnet:!0},cbt={chain:"ITX",chainId:5321,explorers:[{name:"ITX Testnet Explorer (Blockscout)",url:"https://explorer.testnet.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.testnet.itxchain.com",name:"ITX Testnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:5321,rpc:["https://5321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.itxchain.com"],shortName:"itx-testnet",slug:"itx-testnet",testnet:!0},dbt={chain:"TRITANIUM",chainId:5353,explorers:[{name:"TRITANIUM Testnet Explorer",url:"https://testnet.tritanium.network",standard:"none",icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"}}],faucets:["https://faucet.tritanium.network"],icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"},infoURL:"https://tritanium.network",name:"Tritanium Testnet",nativeCurrency:{name:"Tritanium Native Token",symbol:"tTRN",decimals:18},networkId:5353,rpc:["https://5353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodetestnet-station-one.tritanium.network/","https://nodetestnet-station-two.tritanium.network/"],shortName:"ttrn",slip44:1,slug:"tritanium-testnet",testnet:!0},lbt={chain:"Settlus",chainId:5372,explorers:[{name:"Settlus Scan",url:"https://testnet.settlus.network",standard:"EIP3091"}],faucets:["https://faucet.settlus.io"],infoURL:"https://settlus.org",name:"Settlus Testnet",nativeCurrency:{name:"Setl",symbol:"SETL",decimals:18},networkId:5372,rpc:["https://5372.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://settlus-test-eth.settlus.io"],shortName:"settlus-testnet",slug:"settlus-testnet",testnet:!0},ubt={chain:"edeXa Network",chainId:5424,explorers:[{name:"edexa-mainnet",url:"https://explorer.edexa.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Mainnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:5424,rpc:["https://5424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.edexa.network/rpc","https://mainnet.edexa.com/rpc","https://io-dataseed1.mainnet.edexa.io-market.com/rpc"],shortName:"edeXa",slip44:1,slug:"edexa",testnet:!1},pbt={chain:"EGAX",chainId:5439,explorers:[{name:"egoscan",url:"https://egoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.egochain.org/",name:"Egochain",nativeCurrency:{name:"EGAX",symbol:"EGAX",decimals:18},networkId:5439,rpc:["https://5439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.egochain.org"],shortName:"egax",slug:"egochain",testnet:!1},hbt={chain:"vex",chainId:5522,explorers:[{name:"Vexascan-EVM-TestNet",url:"https://testnet.vexascan.com/evmexplorer",standard:"EIP3091"}],faucets:["https://t.me/vexfaucetbot"],icon:{url:"ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM",width:451,height:446,format:"png"},infoURL:"https://vexanium.com",name:"VEX EVM TESTNET",nativeCurrency:{name:"VEX EVM TESTNET",symbol:"VEX",decimals:18},networkId:5522,rpc:["https://5522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.vexascan.com/evmapi"],shortName:"VEX",slip44:1,slug:"vex-evm-testnet",testnet:!0},mbt={chain:"Nahmii",chainId:5551,explorers:[{name:"Nahmii 2 Mainnet Explorer",url:"https://explorer.n2.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5551,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://n2.bridge.nahmii.io"}]},rpc:["https://5551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.nahmii.io"],shortName:"Nahmii",slug:"nahmii-2",status:"active",testnet:!1},bbt={chain:"Nahmii",chainId:5553,explorers:[{name:"blockscout",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5553,parent:{type:"L2",chain:"eip155-3",bridges:[{url:"https://bridge.nahmii.io"}]},rpc:["https://5553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.testnet.nahmii.io"],shortName:"NahmiiTestnet",slip44:1,slug:"nahmii-2-testnet",status:"deprecated",testnet:!0},ybt={chain:"CVERSE",chainId:5555,explorers:[{name:"Chain Verse Explorer",url:"https://explorer.chainverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyJt28h4wN3QHPXUQJQYQqGiFUD77han3zibZPzHbitk",width:1e3,height:1436,format:"png"},infoURL:"https://chainverse.info",name:"Chain Verse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:5555,rpc:["https://5555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chainverse.info"],shortName:"cverse",slug:"chain-verse",testnet:!1},gbt={chain:"opBNB",chainId:5611,explorers:[{name:"bscscan-opbnb-testnet",url:"https://opbnb-testnet.bscscan.com",standard:"EIP3091"},{name:"opbnbscan",url:"https://opbnbscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],icon:{url:"ipfs://bafybeib75gwytvblyvjpfminitr3i6mpat3a624udfsqsl5nysf5vuuvie",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:5611,rpc:["https://5611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-testnet-rpc.bnbchain.org","https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-testnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-testnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-testnet-rpc.publicnode.com","wss://opbnb-testnet-rpc.publicnode.com"],shortName:"obnbt",slip44:1,slug:"opbnb-testnet",testnet:!0},vbt={chain:"Arcturus",chainId:5615,explorers:[{name:"explorer-arcturus-testnet",url:"https://testnet.arcscan.net",standard:"EIP3091"}],faucets:["https://faucet.arcturuschain.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://arcturuschain.io",name:"Arcturus Testneet",nativeCurrency:{name:"tARC",symbol:"tARC",decimals:18},networkId:5615,rpc:["https://5615.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.arcturuschain.io/"],shortName:"arcturus-testnet",slug:"arcturus-testneet",testnet:!0},wbt={chain:"ARCTURUS",chainId:5616,explorers:[],faucets:[],infoURL:"https://arcturuschain.io",name:"Arcturus Chain Testnet",nativeCurrency:{name:"Test Arct",symbol:"tARCT",decimals:18},networkId:5616,rpc:["https://5616.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://185.99.196.3:8545"],shortName:"ARCT",slip44:1,slug:"arcturus-chain-testnet",testnet:!0},Tbt={chain:"QIE",chainId:5656,explorers:[{name:"QIE Explorer",url:"https://mainnet.qiblockchain.online",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",width:600,height:600,format:"png"},infoURL:"https://qiblockchain.online/",name:"QIE Blockchain",nativeCurrency:{name:"QIE Blockchain",symbol:"QIE",decimals:18},networkId:5656,rpc:["https://5656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main1.qiblockchain.online/","https://rpc-main2.qiblockchain.online/"],shortName:"QIE",slug:"qie-blockchain",testnet:!1},xbt={chain:"Avalanche",chainId:5668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"JONO122",nativeCurrency:{name:"JONO122 Token",symbol:"JONO",decimals:18},networkId:5668,redFlags:[],rpc:["https://5668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono122/testnet/rpc"],shortName:"JONO122",slug:"jono122",testnet:!0},Ebt={chain:"Filenova",chainId:5675,explorers:[{name:"filenova testnet explorer",url:"https://scantest.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Testnet",nativeCurrency:{name:"Test Filecoin",symbol:"tFIL",decimals:18},networkId:5675,rpc:["https://5675.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.filenova.org"],shortName:"tfilenova",slug:"filenova-testnet",testnet:!0},_bt={chain:"TANGO",chainId:5678,explorers:[{name:"BlockScout",url:"https://3001-blockscout.a.dancebox.tanssi.network",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.tanssi.network/builders/tanssi-network/networks/dancebox/demo-evm-containerchain",name:"Tanssi Demo",nativeCurrency:{name:"TANGO",symbol:"TANGO",decimals:18},networkId:5678,rpc:["https://5678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network"],shortName:"tango",slug:"tanssi-demo",testnet:!1},Abt={chain:"SYS",chainId:5700,explorers:[{name:"Syscoin Testnet Block Explorer",url:"https://tanenbaum.io",standard:"EIP3091"}],faucets:["https://faucet.tanenbaum.io"],infoURL:"https://syscoin.org",name:"Syscoin Tanenbaum Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"tSYS",decimals:18},networkId:5700,rpc:["https://5700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tanenbaum.io","wss://rpc.tanenbaum.io/wss","https://syscoin-tanenbaum-evm.publicnode.com","wss://syscoin-tanenbaum-evm.publicnode.com"],shortName:"tsys",slip44:1,slug:"syscoin-tanenbaum-testnet",testnet:!0},Ibt={chain:"HIK",chainId:5729,explorers:[{name:"Hika Network Testnet Explorer",url:"https://scan-testnet.hika.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmW44FPm3CMM2JDs8BQxLNvUtykkUtrGkQkQsUDJSi3Gmp",width:350,height:84,format:"png"},infoURL:"https://hika.network/",name:"Hika Network Testnet",nativeCurrency:{name:"Hik Token",symbol:"HIK",decimals:18},networkId:5729,rpc:["https://5729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hika.network/"],shortName:"hik",slug:"hika-network-testnet",testnet:!0,title:"Hika Network Testnet"},Cbt={chain:"SATS",chainId:5758,explorers:[{name:"SatoshiChain Testnet Explorer",url:"https://testnet.satoshiscan.io",standard:"EIP3091"}],faucets:["https://faucet.satoshichain.io"],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Testnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:5758,rpc:["https://5758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.satoshichain.io"],shortName:"satst",slip44:1,slug:"satoshichain-testnet",testnet:!0},kbt={chain:"ETH",chainId:5777,explorers:[],faucets:[],icon:{url:"ipfs://Qmc9N7V8CiLB4r7FEcG7GojqfiGGsRCZqcFWCahwMohbDW",width:267,height:300,format:"png"},infoURL:"https://trufflesuite.com/ganache/",name:"Ganache",nativeCurrency:{name:"Ganache Test Ether",symbol:"ETH",decimals:18},networkId:5777,rpc:["https://5777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://127.0.0.1:7545"],shortName:"ggui",slip44:1,slug:"ganache",testnet:!0,title:"Ganache GUI Ethereum Testnet"},Sbt={chain:"Avalanche",chainId:5810,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Reg Tnet",nativeCurrency:{name:"Reg Tnet Token",symbol:"LUG",decimals:18},networkId:5810,redFlags:[],rpc:["https://5810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg Tnet",slug:"reg-tnet",testnet:!0},Rbt={chain:"Tangle",chainId:5845,explorers:[{name:"Tangle EVM Explorer",url:"https://explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle",nativeCurrency:{name:"Tangle",symbol:"TNT",decimals:18},networkId:5845,rpc:["https://5845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tangle.tools","wss://rpc.tangle.tools"],shortName:"tangle",slug:"tangle",testnet:!1},Mbt={chain:"Ontology",chainId:5851,explorers:[{name:"explorer",url:"https://explorer.ont.io/testnet",standard:"EIP3091"}],faucets:["https://developer.ont.io/"],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Testnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:5851,rpc:["https://5851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://polaris1.ont.io:20339","http://polaris2.ont.io:20339","http://polaris3.ont.io:20339","http://polaris4.ont.io:20339","https://polaris1.ont.io:10339","https://polaris2.ont.io:10339","https://polaris3.ont.io:10339","https://polaris4.ont.io:10339"],shortName:"OntologyTestnet",slip44:1,slug:"ontology-testnet",testnet:!0},Bbt={chain:"RBD",chainId:5869,explorers:[{name:"wegoscan2",url:"https://scan2.wegochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.wegochain.io",name:"Wegochain Rubidium Mainnet",nativeCurrency:{name:"Rubid",symbol:"RBD",decimals:18},networkId:5869,rpc:["https://5869.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.wegochain.io","http://wallet.wegochain.io:7764"],shortName:"rbd",slug:"wegochain-rubidium",testnet:!1},Dbt={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},infoURL:"https://bouncebit.io",name:"BounceBit Testnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6e3,rpc:["https://6000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-testnet.bouncebitapi.com/"],shortName:"bouncebit-testnet",slug:"bouncebit-testnet",testnet:!0},Pbt={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},infoURL:"https://bouncebit.io",name:"BounceBit Mainnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6001,rpc:["https://6001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-mainnet.bouncebitapi.com/"],shortName:"bouncebit-mainnet",slug:"bouncebit",testnet:!1},Lbt={chain:"TresLeches",chainId:6065,explorers:[{name:"treslechesexplorer",url:"https://explorer-test.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:["http://faucet.tresleches.finance:8080"],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Testnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6065,rpc:["https://6065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.tresleches.finance/"],shortName:"TRESTEST",slip44:1,slug:"tres-testnet",testnet:!0},Fbt={chain:"TresLeches",chainId:6066,explorers:[{name:"treslechesexplorer",url:"https://explorer.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Mainnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6066,rpc:["https://6066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tresleches.finance/","https://rpc.treschain.io/"],shortName:"TRESMAIN",slug:"tres",testnet:!1},Nbt={chain:"Cascadia",chainId:6102,explorers:[{name:"Cascadia EVM Explorer",url:"https://explorer.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}},{name:"Cascadia Cosmos Explorer",url:"https://validator.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}}],faucets:["https://www.cascadia.foundation/faucet"],icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"},infoURL:"https://www.cascadia.foundation",name:"Cascadia Testnet",nativeCurrency:{name:"CC",symbol:"tCC",decimals:18},networkId:6102,rpc:["https://6102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.cascadia.foundation"],shortName:"cascadia",slug:"cascadia-testnet",testnet:!0},Obt={chain:"UPTN",chainId:6118,explorers:[{name:"UPTN Testnet Explorer",url:"https://testnet.explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN Testnet",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6118,rpc:["https://6118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.alp.uptn.io/v1/ext/rpc"],shortName:"UPTN-TEST",slip44:1,slug:"uptn-testnet",testnet:!0},Ubt={chain:"UPTN",chainId:6119,explorers:[{name:"UPTN Explorer",url:"https://explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6119,rpc:["https://6119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.uptn.io/v1/ext/rpc"],shortName:"UPTN",slug:"uptn",testnet:!1},Hbt={chain:"Avalanche",chainId:6213,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8112",nativeCurrency:{name:"QaUser8112 Token",symbol:"PEN",decimals:18},networkId:6213,redFlags:[],rpc:["https://6213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8112",slug:"qauser8112",testnet:!0},zbt={chain:"Aura",chainId:6321,explorers:[{name:"Aurascan Explorer",url:"https://euphoria.aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:["https://aura.faucetme.pro"],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Euphoria Testnet",nativeCurrency:{name:"test-EAura",symbol:"eAura",decimals:18},networkId:6321,rpc:["https://6321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.euphoria.aura.network"],shortName:"eaura",slip44:1,slug:"aura-euphoria-testnet",testnet:!0},Wbt={chain:"Aura",chainId:6322,explorers:[{name:"Aurascan Explorer",url:"https://aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Mainnet",nativeCurrency:{name:"Aura",symbol:"AURA",decimals:18},networkId:6322,rpc:["https://6322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.aura.network"],shortName:"aura",slip44:1,slug:"aura",testnet:!1},qbt={chain:"DGS",chainId:6363,explorers:[],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:6363,rpc:["https://6363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dsc-rpc.digitsoul.co.th"],shortName:"DGS",slug:"digit-soul-smart-chain",testnet:!1},jbt={chain:"P2P",chainId:6502,explorers:[],faucets:[],infoURL:"https://peerpay.su.gy",name:"Peerpay",nativeCurrency:{name:"Peerpay",symbol:"P2P",decimals:18},networkId:6502,rpc:["https://6502.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://peerpay.su.gy/p2p"],shortName:"Peerpay",slug:"peerpay",testnet:!1},Gbt={chain:"SCOLWEI-testnet",chainId:6552,explorers:[{name:"Scolscan Testnet Explorer",url:"https://testnet-explorer.scolcoin.com",standard:"EIP3091"}],faucets:["https://faucet.scolcoin.com"],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin WeiChain Testnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:6552,rpc:["https://6552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.scolcoin.com"],shortName:"SRC-test",slip44:1,slug:"scolcoin-weichain-testnet",testnet:!0},Kbt={chain:"FOX",chainId:6565,explorers:[{name:"FOX Testnet Explorer",url:"https://testnet.foxscan.app",standard:"none",icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"}}],faucets:["https://faucet.foxchain.app"],icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"},infoURL:"https://foxchain.app",name:"Fox Testnet Network",nativeCurrency:{name:"FOX Native Token",symbol:"tFOX",decimals:18},networkId:6565,rpc:["https://6565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-v1.foxchain.app/","https://rpc2-testnet-v1.foxchain.app/","https://rpc3-testnet-v1.foxchain.app"],shortName:"fox",slip44:1,slug:"fox-testnet-network",testnet:!0},Qbt={chain:"PixieChain",chainId:6626,explorers:[{name:"blockscout",url:"https://scan.chain.pixie.xyz",standard:"none"}],faucets:[],infoURL:"https://chain.pixie.xyz",name:"Pixie Chain Mainnet",nativeCurrency:{name:"Pixie Chain Native Token",symbol:"PIX",decimals:18},networkId:6626,rpc:["https://6626.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.chain.pixie.xyz","wss://ws-mainnet.chain.pixie.xyz"],shortName:"pixie-chain",slug:"pixie-chain",testnet:!1},Vbt={chain:"LATEST",chainId:6660,explorers:[{name:"Latest Chain",url:"http://testnet.latestchain.io",standard:"EIP3091"}],faucets:["http://faucet.latestchain.io"],icon:{url:"ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",width:1115,height:1242,format:"png"},infoURL:"https://latestcoin.io",name:"Latest Chain Testnet",nativeCurrency:{name:"Latest",symbol:"LATEST",decimals:18},networkId:6660,rpc:["https://6660.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.latestcoin.io"],shortName:"LATESTt",slug:"latest-chain-testnet",testnet:!0},Ybt={chain:"CYBA",chainId:6661,explorers:[{name:"Cybria Explorer",url:"https://cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Mainnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6661,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6661.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.cybria.io"],shortName:"cyba",slug:"cybria",testnet:!1},$bt={chain:"CYBA",chainId:6666,explorers:[{name:"Cybria Explorer",url:"https://explorer.cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:["https://faucet.cybascan.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Testnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6666,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-rpc.cybascan.io"],shortName:"tcyba",slug:"cybria-testnet",testnet:!0},Jbt={chain:"IRIShub",chainId:6688,explorers:[{name:"IRISHub Cosmos Explorer (IOBScan)",url:"https://irishub.iobscan.io",standard:"none",icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:6688,rpc:["https://6688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.irishub-1.irisnet.org","https://iris-evm.publicnode.com","wss://iris-evm.publicnode.com"],shortName:"iris",slug:"irishub",testnet:!1},Xbt={chain:"PAXB",chainId:6701,explorers:[{name:"PAXB Explorer",url:"https://scan.paxb.io",standard:"EIP3091",icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"},infoURL:"https://paxb.io/",name:"PAXB Mainnet",nativeCurrency:{name:"PAXB",symbol:"PAXB",decimals:18},networkId:6701,rpc:["https://6701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.paxb.io"],shortName:"PAXB",slug:"paxb",testnet:!1},Zbt={chain:"Avalanche",chainId:6713,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7475",nativeCurrency:{name:"QaUser7475 Token",symbol:"GZR",decimals:18},networkId:6713,redFlags:[],rpc:["https://6713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7475",slug:"qauser7475",testnet:!0},e4t={chain:"CPV",chainId:6779,explorers:[{name:"cpvscan",url:"https://scan.compverse.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYbskrGpidbMwsJekTeLrr8Z6GA9q4Uxh7piS1F9BdWWv",width:256,height:256,format:"png"},infoURL:"https://compverse.io",name:"Compverse Mainnet",nativeCurrency:{name:"compverse",symbol:"CPV",decimals:18},networkId:6779,rpc:["https://6779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.compverse.io/","https://rpc-useast1.compverse.io/"],shortName:"compverse",slip44:7779,slug:"compverse",testnet:!1},t4t={chain:"STAND",chainId:6789,explorers:[{name:"Gold Smart Chain",url:"https://mainnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Mainnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:6789,rpc:["https://6789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.goldsmartchain.com"],shortName:"STANDm",slug:"gold-smart-chain",testnet:!1},n4t={chain:"Pools",chainId:6868,explorers:[{name:"poolsscan",url:"https://scan.poolsmobility.com",standard:"EIP3091",icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"},infoURL:"https://www.poolschain.org",name:"Pools Mainnet",nativeCurrency:{name:"POOLS Native Token",symbol:"POOLS",decimals:18},networkId:6868,rpc:["https://6868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poolsmobility.com"],shortName:"POOLS",slip44:6868,slug:"pools",testnet:!1},a4t={chain:"Tomb Chain",chainId:6969,explorers:[{name:"tombscout",url:"https://tombscout.com",standard:"none"}],faucets:[],infoURL:"https://tombchain.com/",name:"Tomb Chain Mainnet",nativeCurrency:{name:"Tomb",symbol:"TOMB",decimals:18},networkId:6969,parent:{type:"L2",chain:"eip155-250",bridges:[{url:"https://lif3.com/bridge"}]},rpc:["https://6969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tombchain.com/"],shortName:"tombchain",slug:"tomb-chain",testnet:!1},r4t={chain:"PSC",chainId:6999,explorers:[],faucets:[],infoURL:"https://www.polysmartchain.com/",name:"PolySmartChain",nativeCurrency:{name:"PSC",symbol:"PSC",decimals:18},networkId:6999,rpc:["https://6999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed0.polysmartchain.com/","https://seed1.polysmartchain.com/","https://seed2.polysmartchain.com/"],shortName:"psc",slug:"polysmartchain",testnet:!1},f4t={chain:"ZetaChain",chainId:7e3,explorers:[{name:"ZetaChain Mainnet Explorer",url:"https://explorer.zetachain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs/",name:"ZetaChain Mainnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7e3,rpc:["https://7000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-evm.blockpi.network/v1/rpc/public","https://zetachain-mainnet-archive.allthatnode.com:8545"],shortName:"zetachain-mainnet",slug:"zetachain",status:"active",testnet:!1},i4t={chain:"ZetaChain",chainId:7001,explorers:[{name:"blockscout",url:"https://zetachain-athens-3.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ZetaChain Athens Testnet Explorer",url:"https://athens3.explorer.zetachain.com",standard:"none"}],faucets:["https://labs.zetachain.com/get-zeta"],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs",name:"ZetaChain Athens 3 Testnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7001,rpc:["https://7001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-athens-evm.blockpi.network/v1/rpc/public","wss://zetachain-athens.blockpi.network/rpc/v1/public/websocket","https://zetachain-testnet-archive.allthatnode.com:8545"],shortName:"zetachain-athens",slip44:1,slug:"zetachain-athens-3-testnet",status:"active",testnet:!0},s4t={chain:"BSTC",chainId:7007,explorers:[{name:"blockscout",url:"https://bstscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPko9BJhR5FWTsThcwUFnnnjgLjrXVDm1n98dCuaQNW59",width:506,height:652,format:"png"},infoURL:"https://bstchain.io",name:"BST Chain",nativeCurrency:{name:"BST Chain",symbol:"BSTC",decimals:18},networkId:7007,rpc:["https://7007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bstchain.io/"],shortName:"BSTC",slug:"bst-chain",testnet:!1},o4t={chain:"ella",chainId:7027,explorers:[{name:"Ella",url:"https://ella.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVkAhSaHhH3wKoLT56Aq8dNyEH4RySPEpqPcLwsptGBDm",width:512,height:512,format:"png"},infoURL:"https://ella.network",name:"Ella the heart",nativeCurrency:{name:"Ella",symbol:"ELLA",decimals:18},networkId:7027,rpc:["https://7027.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ella.network"],shortName:"ELLA",slug:"ella-the-heart",testnet:!1},c4t={chain:"Planq",chainId:7070,explorers:[{name:"Planq EVM Explorer (Blockscout)",url:"https://evm.planq.network",standard:"none"},{name:"Planq Cosmos Explorer (BigDipper)",url:"https://explorer.planq.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Mainnet",nativeCurrency:{name:"Planq",symbol:"PLQ",decimals:18},networkId:7070,rpc:["https://7070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.planq.network"],shortName:"planq",slug:"planq",testnet:!1},d4t={chain:"Planq",chainId:7077,explorers:[],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Atlas Testnet",nativeCurrency:{name:"Planq",symbol:"tPLQ",decimals:18},networkId:7077,rpc:["https://7077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-atlas.planq.network"],shortName:"planq-atlas-testnet",slug:"planq-atlas-testnet",testnet:!0},l4t={chain:"Nume",chainId:7100,explorers:[{name:"numeexplorer",url:"https://explorer.numecrypto.com",standard:"none",icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"},infoURL:"https://numecrypto.com",name:"Nume",nativeCurrency:{name:"Dai Stablecoin",symbol:"DAI",decimals:18},networkId:7100,rpc:["https://7100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.numecrypto.com"],shortName:"nume",slug:"nume",testnet:!1,title:"Nume"},u4t={chain:"mainnet",chainId:7118,explorers:[],faucets:[],icon:{url:"ipfs://QmNR4Y3cUxefV7KGpGxMkjp5ofeJvbaUkR1GavsmTtK248",width:1e3,height:1e3,format:"png"},infoURL:"https://hth.world",name:"Help The Homeless",nativeCurrency:{name:"Help The Homeless Coin",symbol:"HTH",decimals:18},networkId:7118,rpc:[],shortName:"hth",slug:"help-the-homeless",status:"incubating",testnet:!1},p4t={chain:"Avalanche",chainId:7158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"TESTNet FirstTEST",nativeCurrency:{name:"TESTNet FirstTEST Token",symbol:"TEST",decimals:18},networkId:7158,redFlags:[],rpc:["https://7158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetfir/testnet/rpc"],shortName:"TESTNet FirstTEST",slug:"testnet-firsttest",testnet:!0},h4t={chain:"Bitrock",chainId:7171,explorers:[{name:"Bitrock Explorer",url:"https://explorer.bit-rock.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Mainnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7171,rpc:["https://7171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bit-rock.io","https://brockrpc.io"],shortName:"bitrock",slug:"bitrock",testnet:!1},m4t={chain:"Avalanche",chainId:7207,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401222",nativeCurrency:{name:"QI M 2401222 Token",symbol:"HZU",decimals:18},networkId:7207,redFlags:[],rpc:["https://7207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401222",slug:"qi-m-2401222",testnet:!0},b4t={chain:"XPLA Verse",chainId:7300,explorers:[{name:"XPLA Verse Explorer",url:"https://explorer-xpla-verse.xpla.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZvqcTNWPUoT1F3r9DTAMhdjt3zQC8eRUStvUGEF68KCt",width:857,height:132,format:"png"},infoURL:"https://www.xpla.io",name:"XPLA Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7300,parent:{type:"L2",chain:"eip155-248"},rpc:["https://7300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-xpla-verse.xpla.dev"],shortName:"XPLAVERSE",slug:"xpla-verse",testnet:!1},y4t={chain:"Avalanche",chainId:7317,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5017 Testnet",nativeCurrency:{name:"QaUser5017 Testnet Token",symbol:"IHS",decimals:18},networkId:7317,redFlags:[],rpc:["https://7317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5017 Testnet",slug:"qauser5017-testnet",testnet:!0},g4t={chain:"Avalanche",chainId:7326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2403051 Testnet",nativeCurrency:{name:"QI M 2403051 Testnet Token",symbol:"VVC",decimals:18},networkId:7326,redFlags:[],rpc:["https://7326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2403051 Testnet",slug:"qi-m-2403051-testnet",testnet:!0},v4t={chain:"KLY",chainId:7331,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmaDr9R6dKnZLsogRxojjq4dwXuXcudR8UeTZ8Nq553K4u",width:400,height:400,format:"png"},infoURL:"https://klyntar.org",name:"KLYNTAR",nativeCurrency:{name:"KLYNTAR",symbol:"KLY",decimals:18},networkId:7331,rpc:["https://7331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.klyntar.org/kly_evm_rpc","https://evm.klyntarscan.org/kly_evm_rpc"],shortName:"kly",slug:"klyntar",status:"incubating",testnet:!1},w4t={chain:"EON",chainId:7332,explorers:[{name:"Horizen EON Block Explorer",url:"https://eon-explorer.horizenlabs.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen EON Mainnet",nativeCurrency:{name:"Zencash",symbol:"ZEN",decimals:18},networkId:7332,rpc:["https://7332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eon-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_eon"],shortName:"EON",slip44:121,slug:"horizen-eon",testnet:!1},T4t={chain:"SHYFT",chainId:7341,explorers:[{name:"Shyft BX",url:"https://bx.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Mainnet",nativeCurrency:{name:"Shyft",symbol:"SHYFT",decimals:18},networkId:7341,rpc:["https://7341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shyft.network/"],shortName:"shyft",slip44:2147490989,slug:"shyft",testnet:!1},x4t={chain:"Avalanche",chainId:7366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7888",nativeCurrency:{name:"QaUser7888 Token",symbol:"NHF",decimals:18},networkId:7366,redFlags:[],rpc:["https://7366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7888",slug:"qauser7888",testnet:!0},E4t={chain:"Raba",chainId:7484,explorers:[{name:"raba",url:"https://x.raba.app/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmatP9qMHEYoXqRDyHMTyjYRQa6j6Gk7pmv1QLxQkvpGRP",width:787,height:750,format:"png"},infoURL:"https://x.raba.app/",name:"Raba Network Mainnet",nativeCurrency:{name:"Raba",symbol:"RABA",decimals:18},networkId:7484,rpc:["https://7484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.x.raba.app/","wss://rpc.x.raba.app/ws/"],shortName:"raba",slug:"raba-network",testnet:!1},_4t={chain:"Avalanche",chainId:7507,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7740 Testnet",nativeCurrency:{name:"QaUser7740 Testnet Token",symbol:"RUI",decimals:18},networkId:7507,redFlags:[],rpc:["https://7507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7740 Testnet",slug:"qauser7740-testnet",testnet:!0},A4t={chain:"MEVerse",chainId:7518,explorers:[{name:"MEVerse Chain Explorer",url:"https://www.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Mainnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:7518,rpc:["https://7518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversemainnet.io"],shortName:"MEV",slug:"meverse-chain",testnet:!1},I4t={chain:"Cyber",chainId:7560,explorers:[{name:"Cyber Mainnet Explorer",url:"https://cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7560,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://cyber.co/bridge"}]},rpc:["https://7560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber.alt.technology/","wss://cyber-ws.alt.technology/","https://rpc.cyber.co/","wss://rpc.cyber.co/"],shortName:"cyeth",slug:"cyber",testnet:!1},C4t={chain:"ADIL",chainId:7575,explorers:[{name:"ADIL Testnet Explorer",url:"https://testnet.adilchain-scan.io",standard:"EIP3091"}],faucets:["https://testnet-faucet.adil-scan.io"],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Testnet",nativeCurrency:{name:"Testnet ADIL",symbol:"ADIL",decimals:18},networkId:7575,rpc:["https://7575.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.adilchain-rpc.io"],shortName:"tadil",slip44:1,slug:"adil-testnet",testnet:!0},k4t={chain:"ADIL",chainId:7576,explorers:[{name:"ADIL Mainnet Explorer",url:"https://adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"Adil Chain V2 Mainnet",nativeCurrency:{name:"ADIL",symbol:"ADIL",decimals:18},networkId:7576,rpc:["https://7576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://adilchain-rpc.io"],shortName:"adil",slug:"adil-chain-v2",testnet:!1},S4t={chain:"Avalanche",chainId:7640,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0205I1",nativeCurrency:{name:"QI0205I1 Token",symbol:"KOA",decimals:18},networkId:7640,redFlags:[],rpc:["https://7640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0205I1",slug:"qi0205i1",testnet:!0},R4t={chain:"TRN",chainId:7668,explorers:[{name:"rootnet",url:"https://explorer.rootnet.live",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Mainnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7668,rpc:["https://7668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://root.rootnet.live/archive","wss://root.rootnet.live/archive/ws"],shortName:"trn-mainnet",slug:"the-root-network",testnet:!1},M4t={chain:"TRN",chainId:7672,explorers:[{name:"rootnet",url:"https://explorer.rootnet.cloud",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Porcini Testnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7672,rpc:["https://7672.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://porcini.rootnet.app/archive","wss://porcini.rootnet.app/archive/ws"],shortName:"trn-porcini",slip44:1,slug:"the-root-network-porcini-testnet",testnet:!0},B4t={chain:"Canto",chainId:7700,explorers:[{name:"Canto Explorer (OKLink)",url:"https://www.oklink.com/canto",standard:"EIP3091"},{name:"Canto EVM Explorer (Blockscout)",url:"https://tuber.build",standard:"EIP3091"},{name:"dexguru",url:"https://canto.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:7700,rpc:["https://7700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://canto.slingshot.finance","https://canto-rpc.ansybl.io","https://mainnode.plexnode.org:8545","https://canto.gravitychain.io/"],shortName:"canto",slug:"canto",testnet:!1},D4t={chain:"Canto",chainId:7701,explorers:[{name:"Canto Testnet EVM Explorer (Blockscout)",url:"https://testnet.tuber.build",standard:"none"},{name:"dexguru",url:"https://canto-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto Tesnet",nativeCurrency:{name:"Testnet Canto",symbol:"CANTO",decimals:18},networkId:7701,rpc:["https://7701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-archive.plexnode.wtf"],shortName:"TestnetCanto",slip44:1,slug:"canto-tesnet",testnet:!0},P4t={chain:"Bitrock",chainId:7771,explorers:[{name:"Bitrock Testnet Explorer",url:"https://testnetscan.bit-rock.io",standard:"EIP3091"}],faucets:["https://faucet.bit-rock.io"],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Testnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7771,rpc:["https://7771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bit-rock.io"],shortName:"tbitrock",slip44:1,slug:"bitrock-testnet",testnet:!0},L4t={chain:"GDCC",chainId:7775,explorers:[{name:"GDCC",url:"https://testnet.gdccscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",width:72,height:72,format:"png"},infoURL:"https://gdcchain.com",name:"GDCC TESTNET",nativeCurrency:{name:"GDCC",symbol:"GDCC",decimals:18},networkId:7775,rpc:["https://7775.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc1.gdccscan.io"],shortName:"GDCC",slug:"gdcc-testnet",testnet:!0},F4t={chain:"nmactest",chainId:7777,explorers:[{name:"avascan",url:"https://testnet.avascan.info/blockchain/2mZ9doojfwHzXN3VXDQELKnKyZYxv7833U8Yq5eTfFx3hxJtiy",standard:"none"}],faucets:[],infoURL:"https://riseofthewarbots.com/",name:"Rise of the Warbots Testnet",nativeCurrency:{name:"Nano Machines",symbol:"NMAC",decimals:18},networkId:7777,rpc:["https://7777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.riseofthewarbots.com","https://testnet2.riseofthewarbots.com","https://testnet3.riseofthewarbots.com","https://testnet4.riseofthewarbots.com","https://testnet5.riseofthewarbots.com"],shortName:"RiseOfTheWarbotsTestnet",slip44:1,slug:"rise-of-the-warbots-testnet",testnet:!0},N4t={chain:"ORE",chainId:7778,explorers:[{name:"ORE Mainnet Explorer",url:"https://oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Mainnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"ORE",decimals:18},networkId:7778,rpc:["https://7778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://validator-mainnet.orenium.org","https://rpc-oracle-mainnet.orenium.org","https://portalmainnet.orenium.org"],shortName:"ore",slip44:1,slug:"orenium-protocol",testnet:!1},O4t={chain:"OEX",chainId:7798,explorers:[{name:"OpenEX Long Testnet Explorer",url:"https://scan.long.openex.network",standard:"EIP3091",icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"}}],faucets:["https://long.hub.openex.network/faucet"],icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"},infoURL:"https://openex.network",name:"OpenEX LONG Testnet",nativeCurrency:{name:"USDT Testnet",symbol:"USDT",decimals:18},networkId:7798,rpc:["https://7798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://long.rpc.openex.network/"],shortName:"oex",slip44:1,slug:"openex-long-testnet",testnet:!0,title:"OpenEX LONG Testnet"},U4t={chain:"MaalChain Testnet",chainId:7860,explorers:[{name:"maalscan testnet",url:"https://testnet.maalscan.io",standard:"EIP3091"}],faucets:["https://faucet-testnet.maalscan.io/"],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MaalChain Testnet",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:7860,rpc:["https://7860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.maalscan.io/","https://rpc-bntest.maalscan.io/"],shortName:"maal-test",slip44:1,slug:"maalchain-testnet",testnet:!0},H4t={chain:"Avalanche",chainId:7865,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 02-07",nativeCurrency:{name:"ST 02-07 Token",symbol:"TJO",decimals:18},networkId:7865,redFlags:[],rpc:["https://7865.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 02-07",slug:"st-02-07",testnet:!0},z4t={chain:"Avalanche",chainId:7872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QAUSer4 Testnet",nativeCurrency:{name:"QAUSer4 Testnet Token",symbol:"VVC",decimals:18},networkId:7872,redFlags:[],rpc:["https://7872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QAUSer4 Testnet",slug:"qauser4-testnet",testnet:!0},W4t={chain:"SCAS",chainId:7878,explorers:[{name:"Hazlor Testnet Explorer",url:"https://explorer.hazlor.com",standard:"none"}],faucets:["https://faucet.hazlor.com"],infoURL:"https://hazlor.com",name:"Hazlor Testnet",nativeCurrency:{name:"Hazlor Test Coin",symbol:"TSCAS",decimals:18},networkId:7878,rpc:["https://7878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hatlas.rpc.hazlor.com:8545","wss://hatlas.rpc.hazlor.com:8546"],shortName:"tscas",slip44:1,slug:"hazlor-testnet",testnet:!0},q4t={chain:"Kinto Mainnet",chainId:7887,explorers:[{name:"Kinto Explorer",url:"https://explorer.kinto.xyz",standard:"EIP3091",icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"},infoURL:"https://kinto.xyz",name:"Kinto Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:7887,rpc:["https://7887.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kinto.xyz/http","https://kinto-mainnet.calderachain.xyz/http"],shortName:"kintoMainnet",slug:"kinto",testnet:!1},j4t={chain:"ATHENA",chainId:7895,explorers:[{name:"ARDENIUM Athena Explorer",url:"https://testnet.ardscan.com",standard:"none",icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"}}],faucets:["https://faucet-athena.ardescan.com/"],icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"},infoURL:"https://ardenium.org",name:"ARDENIUM Athena",nativeCurrency:{name:"ARD",symbol:"tARD",decimals:18},networkId:7895,rpc:["https://7895.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-athena.ardescan.com/"],shortName:"ard",slug:"ardenium-athena",testnet:!0},G4t={chain:"Avalanche",chainId:7909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3870 Testnet",nativeCurrency:{name:"QaUser3870 Testnet Token",symbol:"RAY",decimals:18},networkId:7909,redFlags:[],rpc:["https://7909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3870 Testnet",slug:"qauser3870-testnet",testnet:!0},K4t={chain:"DTBX",chainId:7923,explorers:[{name:"blockscout",url:"https://explorer.dotblox.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZy2TMY881ghRxXJA7VyRA8Zhj2LJJ86DpHRZs3VQZqoJ",width:53,height:53,format:"png"},infoURL:"https://explorer.dotblox.io",name:"Dot Blox",nativeCurrency:{name:"Dot Blox",symbol:"DTBX",decimals:18},networkId:7923,rpc:["https://7923.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dotblox.io"],shortName:"DTBX",slug:"dot-blox",testnet:!1},Q4t={chain:"MO",chainId:7924,explorers:[{name:"MO Explorer",url:"https://moscan.app",standard:"none"}],faucets:["https://faucet.mochain.app/"],icon:{url:"ipfs://QmfJYJiR7L8xMG3KAWroVA9CQEfRGcbprC4JmVsiVk1E4e",width:512,height:512,format:"png"},infoURL:"https://mochain.app",name:"MO Mainnet",nativeCurrency:{name:"MO",symbol:"MO",decimals:18},networkId:7924,rpc:["https://7924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mochain.app/"],shortName:"MO",slug:"mo",testnet:!1},V4t={chain:"DOS",chainId:7979,explorers:[{name:"DOScan",url:"https://doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}},{name:"DOScan",url:"https://explorer.doschain.com/",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"https://doschain.com/",name:"DOS Chain",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:7979,redFlags:[],rpc:["https://7979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.doschain.com"],shortName:"dos",slug:"dos-chain",testnet:!1},Y4t={chain:"Teleport",chainId:8e3,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8e3,rpc:["https://8000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.teleport.network"],shortName:"teleport",slug:"teleport",testnet:!1},$4t={chain:"Teleport",chainId:8001,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:["https://chain-docs.teleport.network/testnet/faucet.html"],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport Testnet",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8001,rpc:["https://8001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.teleport.network"],shortName:"teleport-testnet",slip44:1,slug:"teleport-testnet",testnet:!0},J4t={chain:"MDGL",chainId:8029,explorers:[],faucets:[],infoURL:"https://mdgl.io",name:"MDGL Testnet",nativeCurrency:{name:"MDGL Token",symbol:"MDGLT",decimals:18},networkId:8029,rpc:["https://8029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.mdgl.io"],shortName:"mdgl",slip44:1,slug:"mdgl-testnet",testnet:!0},X4t={chain:"BOAT",chainId:8047,explorers:[{name:"BOAT Mainnet Explorer",url:"https://scan.come.boats",standard:"EIP3091",icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"},infoURL:"https://come.boats",name:"BOAT Mainnet",nativeCurrency:{name:"Best Of All Time Token",symbol:"BOAT",decimals:18},networkId:8047,redFlags:[],rpc:["https://8047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.come.boats/","https://rpc0.come.boat/"],shortName:"boat",slip44:1,slug:"boat",testnet:!1,title:"BOAT Mainnet"},Z4t={chain:"Karak",chainId:8054,explorers:[{name:"Karak Sepolia Explorer",url:"https://explorer.sepolia.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8054,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://8054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.karak.network"],shortName:"karak-sepolia",slug:"karak-sepolia",testnet:!0,title:"Karak Testnet Sepolia"},eyt={chain:"Shardeum",chainId:8080,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty10.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty10.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8080,redFlags:["reusedChainId"],rpc:["https://8080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty10.shardeum.org/"],shortName:"Liberty10",slug:"shardeum-liberty-1-x",status:"deprecated",testnet:!0},tyt={chain:"Shardeum",chainId:8081,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty20.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty20.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 2.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8081,redFlags:["reusedChainId"],rpc:["https://8081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty20.shardeum.org/"],shortName:"Liberty20",slug:"shardeum-liberty-2-x",status:"deprecated",testnet:!0},nyt={chain:"Shardeum",chainId:8082,explorers:[{name:"Shardeum Scan",url:"https://explorer-sphinx.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet-sphinx.shardeum.org/"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Sphinx 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8082,redFlags:["reusedChainId"],rpc:["https://8082.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sphinx.shardeum.org/"],shortName:"Sphinx10",slug:"shardeum-sphinx-1-x",testnet:!0},ayt={chain:"BTC",chainId:8086,explorers:[],faucets:[],infoURL:"https://biteth.org",name:"Bitcoin Chain",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:8086,rpc:["https://8086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.biteth.org"],shortName:"Bitcoin",slug:"bitcoin-chain",testnet:!1},ryt={chain:"USD",chainId:8087,explorers:[],faucets:[],infoURL:"https://e-dollar.org",name:"E-Dollar",nativeCurrency:{name:"E-Dollar",symbol:"USD",decimals:18},networkId:8087,rpc:["https://8087.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.e-dollar.org"],shortName:"E-Dollar",slug:"e-dollar",testnet:!1},fyt={chain:"StreamuX",chainId:8098,explorers:[],faucets:[],infoURL:"https://www.streamux.cloud",name:"StreamuX Blockchain",nativeCurrency:{name:"StreamuX",symbol:"SmuX",decimals:18},networkId:8098,rpc:["https://8098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0ma6t6heb:KDNwOsRDGcyM2Oeui1p431Bteb4rvcWkuPgQNHwB4FM@u0xy4x6x82-u0e2mg517m-rpc.us0-aws.kaleido.io/"],shortName:"StreamuX",slug:"streamux-blockchain",testnet:!1},iyt={chain:"MEER",chainId:8131,explorers:[{name:"meerscan testnet",url:"https://testnet-qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:["https://faucet.qitmeer.io"],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Testnet",nativeCurrency:{name:"Qitmeer Testnet",symbol:"MEER-T",decimals:18},networkId:8131,rpc:["https://8131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qng.rpc.qitmeer.io","https://testnet.meerlabs.com","https://meer.testnet.meerfans.club"],shortName:"meertest",slip44:1,slug:"qitmeer-network-testnet",testnet:!0},syt={chain:"MEER",chainId:8132,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mixnet",nativeCurrency:{name:"Qitmeer Mixnet",symbol:"MEER-M",decimals:18},networkId:8132,rpc:[],shortName:"meermix",slug:"qitmeer-network-mixnet",status:"incubating",testnet:!1},oyt={chain:"MEER",chainId:8133,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Privnet",nativeCurrency:{name:"Qitmeer Privnet",symbol:"MEER-P",decimals:18},networkId:8133,rpc:[],shortName:"meerpriv",slug:"qitmeer-network-privnet",status:"incubating",testnet:!1},cyt={chain:"MEER",chainId:8134,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana",nativeCurrency:{name:"Amana Mainnet",symbol:"MEER",decimals:18},networkId:8134,rpc:[],shortName:"amana",slug:"amana",status:"incubating",testnet:!1},dyt={chain:"MEER",chainId:8135,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana",nativeCurrency:{name:"Flana Mainnet",symbol:"MEER",decimals:18},networkId:8135,rpc:[],shortName:"flana",slug:"flana",status:"incubating",testnet:!1},lyt={chain:"MEER",chainId:8136,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana",nativeCurrency:{name:"Mizana Mainnet",symbol:"MEER",decimals:18},networkId:8136,rpc:[],shortName:"mizana",slug:"mizana",status:"incubating",testnet:!1},uyt={chain:"Avalanche",chainId:8154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318sGCP",nativeCurrency:{name:"QR0318sGCP Token",symbol:"VEG",decimals:18},networkId:8154,redFlags:[],rpc:["https://8154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318sgcp/testnet/rpc"],shortName:"QR0318sGCP",slug:"qr0318sgcp",testnet:!0},pyt={chain:"tBOC",chainId:8181,explorers:[{name:"Testnet BeOne Chain",url:"https://testnet.beonescan.com",standard:"none",icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"}}],faucets:["https://testnet.beonescan.com/faucet"],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://testnet.beonescan.com",name:"Testnet BeOne Chain",nativeCurrency:{name:"Testnet BeOne Chain",symbol:"tBOC",decimals:18},networkId:8181,rpc:["https://8181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pre-boc1.beonechain.com"],shortName:"tBOC",slip44:1,slug:"testnet-beone-chain",testnet:!0},hyt={chain:"TQF",chainId:8192,explorers:[{name:"blockscout",url:"https://toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Mainnet",nativeCurrency:{name:"TQF",symbol:"TQF",decimals:18},networkId:8192,rpc:["https://8192.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toruschain.com"],shortName:"tqf",slug:"torus",testnet:!1},myt={chain:"TQF",chainId:8194,explorers:[{name:"blockscout",url:"https://testnet.toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Testnet",nativeCurrency:{name:"tTQF",symbol:"TTQF",decimals:18},networkId:8194,rpc:["https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.toruschain.com"],shortName:"ttqf",slip44:1,slug:"torus-testnet",testnet:!0},byt={chain:"KLAY",chainId:8217,explorers:[{name:"Klaytnscope",url:"https://scope.klaytn.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://klaytnfinder.io",standard:"EIP3091"},{name:"klaytnfinder",url:"https://www.klaytnfinder.io/",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://bafkreigtgdivlmfvf7trqjqy4vkz2d26xk3iif6av265v4klu5qavsugm4",width:1e3,height:1e3,format:"png"},infoURL:"https://klaytn.foundation",name:"Klaytn Mainnet Cypress",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:8217,redFlags:[],rpc:["https://8217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-cypress.klaytn.net","https://klaytn-mainnet-rpc.allthatnode.com:8551","https://klaytn.blockpi.network/v1/rpc/public"],shortName:"Cypress",slip44:8217,slug:"klaytn-cypress",testnet:!1},yyt={chain:"Avalanche",chainId:8227,explorers:[{name:"SPACE Explorer",url:"https://subnets.avax.network/space",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:8227,redFlags:[],rpc:["https://8227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/mainnet/rpc"],shortName:"Space",slug:"space",testnet:!1},gyt={chain:"Blockton Blockchain",chainId:8272,explorers:[{name:"Blockton Explorer",url:"https://blocktonscan.com",standard:"none"}],faucets:["https://faucet.blocktonscan.com/"],icon:{url:"ipfs://bafkreig3hoedafisrgc6iffdo2jcblm6kov35h72gcblc3zkmt7t4ucwhy",width:800,height:800,format:"png"},infoURL:"https://blocktoncoin.com",name:"Blockton Blockchain",nativeCurrency:{name:"BLOCKTON",symbol:"BTON",decimals:18},networkId:8272,rpc:["https://8272.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blocktonscan.com/"],shortName:"BTON",slug:"blockton-blockchain",testnet:!1},vyt={chain:"Kortho",chainId:8285,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"KorthoTest",nativeCurrency:{name:"Kortho Test",symbol:"KTO",decimals:11},networkId:8285,rpc:["https://8285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.krotho-test.net"],shortName:"Kortho",slip44:1,slug:"korthotest",testnet:!0},wyt={chain:"Lorenzo",chainId:8329,explorers:[{name:"Lorenzo Explorer",url:"https://scan.lorenzo-protocol.xyz",standard:"none",icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"},infoURL:"https://www.lorenzo-protocol.xyz/",name:"Lorenzo",nativeCurrency:{name:"Lorenzo stBTC",symbol:"stBTC",decimals:18},networkId:8329,rpc:["https://8329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lorenzo-protocol.xyz"],shortName:"lrz",slug:"lorenzo",testnet:!1},Tyt={chain:"FUCK",chainId:8387,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibpyckp65pqjvrvqhdt26wqoqk55m6anshbfgyqnaemn6l34nlwya",width:1024,height:1024,format:"png"},infoURL:"https://wolfery.com",name:"Dracones Financial Services",nativeCurrency:{name:"Functionally Universal Coin Kind",symbol:"FUCK",decimals:18},networkId:8387,rpc:["https://8387.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dracones.net/"],shortName:"fuck",slug:"dracones-financial-services",testnet:!1,title:"The Dracones Mainnet"},RW={chain:"ETH",chainId:8453,explorers:[{name:"basescan",url:"https://basescan.org",standard:"none"},{name:"basescout",url:"https://base.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8453,redFlags:[],rpc:["https://8453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co","wss://base.gateway.tenderly.co","https://base-rpc.publicnode.com","wss://base-rpc.publicnode.com"],shortName:"base",slug:"base",status:"active",testnet:!1},xyt={chain:"TOKI",chainId:8654,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Network",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8654,rpc:["https://8654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.buildwithtoki.com/v0/rpc"],shortName:"toki",slug:"toki-network",testnet:!1},Eyt={chain:"TOKI",chainId:8655,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Testnet",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8655,rpc:["https://8655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.buildwithtoki.com/v0/rpc"],shortName:"toki-testnet",slip44:1,slug:"toki-testnet",testnet:!0},_yt={chain:"Hela",chainId:8668,explorers:[{name:"Hela Official Runtime Mainnet Explorer",url:"https://mainnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Mainnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:8668,rpc:["https://8668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.helachain.com"],shortName:"hela",slug:"hela-official-runtime",testnet:!1},Ayt={chain:"OLO",chainId:8723,explorers:[{name:"OLO Block Explorer",url:"https://www.olo.network",standard:"EIP3091"}],faucets:[],infoURL:"https://ibdt.io",name:"TOOL Global Mainnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8723,rpc:["https://8723.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-web3.wolot.io"],shortName:"olo",slip44:479,slug:"tool-global",testnet:!1},Iyt={chain:"OLO",chainId:8724,explorers:[],faucets:["https://testnet-explorer.wolot.io"],infoURL:"https://testnet-explorer.wolot.io",name:"TOOL Global Testnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8724,rpc:["https://8724.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-web3.wolot.io"],shortName:"tolo",slip44:1,slug:"tool-global-testnet",testnet:!0},Cyt={chain:"Storagechain",chainId:8726,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Mainnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8726,rpc:["https://8726.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-validator.storagechain.io"],shortName:"stor",slug:"storagechain",testnet:!1},kyt={chain:"Storagechain",chainId:8727,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain%20Testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Testnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8727,rpc:["https://8727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-validator.storagechain.io"],shortName:"tstor",slug:"storagechain-testnet",testnet:!0},Syt={chain:"ALPH",chainId:8738,explorers:[{name:"alphscan",url:"https://explorer.alph.network",standard:"EIP3091"}],faucets:[],infoURL:"https://alph.network",name:"Alph Network",nativeCurrency:{name:"Alph Network",symbol:"ALPH",decimals:18},networkId:8738,rpc:["https://8738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alph.network","wss://rpc.alph.network"],shortName:"alph",slug:"alph-network",testnet:!1},Ryt={chain:"TMY",chainId:8768,explorers:[],faucets:["https://faucet.tmychain.org/"],icon:{url:"ipfs://Qmcd19ksUvNMD1XQFSC55jJhDPoF2zUzzV7woteFiugwBH",width:1024,height:1023,format:"svg"},infoURL:"https://tmychain.org/",name:"TMY Chain",nativeCurrency:{name:"TMY",symbol:"TMY",decimals:18},networkId:8768,rpc:["https://8768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.tmyblockchain.org/rpc"],shortName:"tmy",slug:"tmy-chain",testnet:!1},Myt={chain:"IOTA EVM",chainId:8822,explorers:[{name:"explorer",url:"https://explorer.evm.iota.org",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:8822,rpc:["https://8822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.iotaledger.net","https://ws.json-rpc.evm.iotaledger.net"],shortName:"iotaevm",slug:"iota-evm",testnet:!1,title:"IOTA EVM"},Byt={chain:"HYDRA",chainId:8844,explorers:[{name:"Hydra Chain Testnet explorer",url:"https://hydragon.hydrachain.org",standard:"EIP3091",icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"}}],faucets:["https://app.testnet.hydrachain.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain Testnet",nativeCurrency:{name:"tHydra",symbol:"tHYDRA",decimals:18},networkId:8844,rpc:["https://8844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.hydrachain.org"],shortName:"THYDRA",slug:"hydra-chain-testnet",testnet:!0},Dyt={chain:"MARO Blockchain",chainId:8848,explorers:[{name:"MARO Scan",url:"https://scan.ma.ro/#",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreig47k53aipns6nu3u5fxpysp7mogzk6zyvatgpbam7yut3yvtuefa",width:160,height:160,format:"png"},infoURL:"https://ma.ro/",name:"MARO Blockchain Mainnet",nativeCurrency:{name:"MARO",symbol:"MARO",decimals:18},networkId:8848,rpc:["https://8848.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.ma.ro"],shortName:"maro",slug:"maro-blockchain",testnet:!1},Pyt={chain:"SuperLumio",chainId:8866,explorers:[{name:"Lumio explorer",url:"https://explorer.lumio.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXiatdz5WBFypfsudoDsFnsLdiHzDwcD3pWcHwBovbPiZ",width:256,height:256,format:"png"},infoURL:"https://lumio.io/",name:"SuperLumio",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8866,rpc:["https://8866.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.lumio.io/"],shortName:"superlumio",slug:"superlumio",testnet:!1},Lyt={chain:"UNQ",chainId:8880,explorers:[{name:"Unique Scan",url:"https://uniquescan.io/unique",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbJ7CGZ2GxWMp7s6jy71UGzRsMe4w3KANKXDAExYWdaFR",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Unique",nativeCurrency:{name:"Unique",symbol:"UNQ",decimals:18},networkId:8880,rpc:["https://8880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unique.network","https://eu-rpc.unique.network","https://asia-rpc.unique.network","https://us-rpc.unique.network"],shortName:"unq",slug:"unique",testnet:!1},Fyt={chain:"UNQ",chainId:8881,explorers:[{name:"Unique Scan / Quartz",url:"https://uniquescan.io/quartz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaGPdccULQEFcCGxzstnmE8THfac2kSiGwvWRAiaRq4dp",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Quartz by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8881,rpc:["https://8881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quartz.unique.network","https://quartz.api.onfinality.io/public-ws","https://eu-rpc-quartz.unique.network","https://asia-rpc-quartz.unique.network","https://us-rpc-quartz.unique.network"],shortName:"qtz",slug:"quartz-by-unique",testnet:!1},Nyt={chain:"UNQ",chainId:8882,explorers:[{name:"Unique Scan / Opal",url:"https://uniquescan.io/opal",standard:"none"}],faucets:["https://t.me/unique2faucet_opal_bot"],icon:{url:"ipfs://QmYJDpmWyjDa3H6BxweFmQXk4fU8b1GU7M9EqYcaUNvXzc",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Opal testnet by Unique",nativeCurrency:{name:"Opal",symbol:"UNQ",decimals:18},networkId:8882,rpc:["https://8882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-opal.unique.network","https://us-rpc-opal.unique.network","https://eu-rpc-opal.unique.network","https://asia-rpc-opal.unique.network"],shortName:"opl",slip44:1,slug:"opal-testnet-by-unique",testnet:!0},Oyt={chain:"UNQ",chainId:8883,explorers:[{name:"Unique Scan / Sapphire",url:"https://uniquescan.io/sapphire",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmd1PGt4cDRjFbh4ihP5QKEd4XQVwN1MkebYKdF56V74pf",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Sapphire by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8883,rpc:["https://8883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sapphire.unique.network","https://us-rpc-sapphire.unique.network","https://eu-rpc-sapphire.unique.network","https://asia-rpc-sapphire.unique.network"],shortName:"sph",slug:"sapphire-by-unique",testnet:!1},Uyt={chain:"XANAChain",chainId:8888,explorers:[{name:"XANAChain",url:"https://xanachain.xana.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWGNfwJ9o2vmKD3E6fjrxpbFP8W5q45zmYzHHoXwqqAoj",width:512,height:512,format:"png"},infoURL:"https://xanachain.xana.net/",name:"XANAChain",nativeCurrency:{name:"XETA",symbol:"XETA",decimals:18},networkId:8888,redFlags:["reusedChainId"],rpc:["https://8888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xana.net/rpc"],shortName:"XANAChain",slug:"xanachain",testnet:!1},Hyt={chain:"VSC",chainId:8889,explorers:[],faucets:[],infoURL:"https://vsc-dataseed.vyvo.org",name:"Vyvo Smart Chain",nativeCurrency:{name:"VSC",symbol:"VSC",decimals:18},networkId:8889,rpc:["https://8889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vsc-dataseed.vyvo.org:8889"],shortName:"vsc",slug:"vyvo-smart-chain",testnet:!1},zyt={chain:"ORE",chainId:8890,explorers:[{name:"ORE Testnet Explorer",url:"https://testnet.oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:["https://faucetcoin.orenium.org"],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Testnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"tORE",decimals:18},networkId:8890,rpc:["https://8890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev-testnet.orenium.org/","https://rpc-testnet.orenium.org/","https://rpc-orc.oredex.finance","https://testnet-rpc.oredex.finance","https://oredex-node.oredex.finance"],shortName:"tore",slip44:1,slug:"orenium-testnet-protocol",testnet:!0},Wyt={chain:"MMT",chainId:8898,explorers:[{name:"mmtscan",url:"https://mmtscan.io",standard:"EIP3091",icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"}}],faucets:["https://faucet.mmtscan.io/"],icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"},infoURL:"https://mmtchain.io/",name:"Mammoth Mainnet",nativeCurrency:{name:"Mammoth Token",symbol:"MMT",decimals:18},networkId:8898,rpc:["https://8898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.mmtscan.io","https://dataseed1.mmtscan.io","https://dataseed2.mmtscan.io"],shortName:"mmt",slug:"mammoth",testnet:!1,title:"Mammoth Chain"},qyt={chain:"JBC",chainId:8899,explorers:[{name:"JIBCHAIN Explorer",url:"https://exp-l1.jibchain.net",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWvTUSCcQ17mDiKg3w1X5nW3q4wZGuVsZ9vwzJ8S9oCns",width:200,height:200,format:"png"},infoURL:"https://jibchain.net",name:"JIBCHAIN L1",nativeCurrency:{name:"JIBCOIN",symbol:"JBC",decimals:18},networkId:8899,rpc:["https://8899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-l1.jibchain.net","https://jib-rpc.inan.in.th"],shortName:"jbc",slug:"jibchain-l1",testnet:!1},jyt={chain:"ALG",chainId:8911,explorers:[{name:"algscan",url:"https://scan.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8911,rpc:["https://8911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.algen.network"],shortName:"alg",slug:"algen",testnet:!1},Gyt={chain:"ALG",chainId:8912,explorers:[{name:"algscan",url:"https://scan.test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8912,rpc:["https://8912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.algen.network"],shortName:"algTest",slug:"algen-testnet",testnet:!0},Kyt={chain:"ALG L2",chainId:8921,explorers:[{name:"algl2scan",url:"https://scan.alg2.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8921,parent:{type:"shard",chain:"eip155-8911"},rpc:["https://8921.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2.algen.network"],shortName:"algl2",slug:"algen-layer2",testnet:!1},Qyt={chain:"ALG L2",chainId:8922,explorers:[{name:"algl2scan",url:"https://scan.alg2-test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2 Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8922,parent:{type:"shard",chain:"eip155-8921"},rpc:["https://8922.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2-test.algen.network"],shortName:"algl2Test",slug:"algen-layer2-testnet",testnet:!0},Vyt={chain:"GMMT",chainId:8989,explorers:[{name:"gmmtscan",url:"https://scan.gmmtchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"},infoURL:"https://gmmtchain.io/",name:"Giant Mammoth Mainnet",nativeCurrency:{name:"Giant Mammoth Coin",symbol:"GMMT",decimals:18},networkId:8989,rpc:["https://8989.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-asia.gmmtchain.io"],shortName:"gmmt",slug:"giant-mammoth",testnet:!1,title:"Giant Mammoth Chain"},Yyt={chain:"bloxberg",chainId:8995,explorers:[],faucets:["https://faucet.bloxberg.org/"],infoURL:"https://bloxberg.org",name:"bloxberg",nativeCurrency:{name:"BERG",symbol:"U+25B3",decimals:18},networkId:8995,rpc:["https://8995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.bloxberg.org"],shortName:"berg",slug:"bloxberg",testnet:!1},$yt={chain:"Evmos",chainId:9e3,explorers:[{name:"Evmos Explorer (Escan)",url:"https://testnet.escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:["https://faucet.evmos.dev"],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos Testnet",nativeCurrency:{name:"test-Evmos",symbol:"tEVMOS",decimals:18},networkId:9e3,rpc:["https://9000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos-testnet.lava.build","https://eth.bd.evmos.dev:8545","https://evmos-testnet-evm-rpc.publicnode.com","wss://evmos-testnet-evm-rpc.publicnode.com"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},Jyt={chain:"Evmos",chainId:9001,explorers:[{name:"Evmos Explorer (Escan)",url:"https://escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos",nativeCurrency:{name:"Evmos",symbol:"EVMOS",decimals:18},networkId:9001,rpc:["https://9001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos.lava.build","wss://evmos.lava.build/websocket","https://evmos-evm-rpc.publicnode.com","wss://evmos-evm-rpc.publicnode.com"],shortName:"evmos",slug:"evmos",testnet:!1},Xyt={chain:"Shido Testnet",chainId:9007,explorers:[{name:"Shidoblock Testnet Explorer",url:"https://testnet.shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:["https://testnet.shidoscan.com/faucet"],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://www.nexablock.io",name:"Shido Testnet Block",nativeCurrency:{name:"Shido Testnet Token",symbol:"SHIDO",decimals:18},networkId:9007,rpc:["https://9007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.shidoscan.com","wss://wss-testnet-nodes.shidoscan.com"],shortName:"ShidoTestnet",slug:"shido-testnet-block",testnet:!0},Zyt={chain:"Shido Mainnet",chainId:9008,explorers:[{name:"Shidoblock Mainnet Explorer",url:"https://shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://shido.io",name:"Shido Mainnet Block",nativeCurrency:{name:"Shido Mainnet Token",symbol:"SHIDO",decimals:18},networkId:9008,rpc:["https://9008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.shidoscan.com","wss://wss-nodes.shidoscan.com","https://rpc-delta-nodes.shidoscan.com","wss://wss-delta-nodes.shidoscan.com"],shortName:"Shido",slug:"shido-block",testnet:!1},e7t={chain:"BRB",chainId:9012,explorers:[{name:"berylbit-explorer",url:"https://explorer.berylbit.io",standard:"EIP3091"}],faucets:["https://t.me/BerylBit"],icon:{url:"ipfs://QmeDXHkpranzqGN1BmQqZSrFp4vGXf4JfaB5iq8WHHiwDi",width:162,height:162,format:"png"},infoURL:"https://www.beryl-bit.com",name:"BerylBit Mainnet",nativeCurrency:{name:"BerylBit Chain Native Token",symbol:"BRB",decimals:18},networkId:9012,rpc:["https://9012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.berylbit.io"],shortName:"brb",slug:"berylbit",testnet:!1},t7t={chain:"Nexa Testnet",chainId:9024,explorers:[{name:"Nexablock Testnet Explorer",url:"https://testnet.nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:["https://testnet.nexablockscan.io/faucet"],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Testnet Block",nativeCurrency:{name:"Nexa Testnet Token",symbol:"NEXB",decimals:18},networkId:9024,rpc:["https://9024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.nexablockscan.io"],shortName:"NexaTestnet",slug:"nexa-testnet-block",testnet:!0},n7t={chain:"Nexa Mainnet",chainId:9025,explorers:[{name:"Nexablock Mainnet Explorer",url:"https://nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Mainnet Block",nativeCurrency:{name:"Nexa Mainnet Token",symbol:"NEXB",decimals:18},networkId:9025,rpc:["https://9025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.nexablockscan.io","wss://wss-nodes.nexablockscan.io","https://rpc-nodes-delta.nexablockscan.io"],shortName:"Nexa",slug:"nexa-block",testnet:!1},a7t={chain:"Genesis",chainId:9100,explorers:[],faucets:[],infoURL:"https://genesis-gn.com",name:"Genesis Coin",nativeCurrency:{name:"GN Coin",symbol:"GNC",decimals:18},networkId:9100,rpc:["https://9100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://genesis-gn.com","wss://genesis-gn.com"],shortName:"GENEC",slug:"genesis-coin",testnet:!1},r7t={chain:"FIRE",chainId:9170,explorers:[],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:9170,rpc:[],shortName:"_old_tfire",slip44:1,slug:"rinia-testnet-old",status:"deprecated",testnet:!0},f7t={chain:"COF",chainId:9223,explorers:[{name:"Codefin Net Explorer",url:"https://explorer.codefin.pro",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVyAuAnKKNnGEpqeYMLPRfMdysLgPBTZeEXihXbRytGhp",width:1024,height:1024,format:"png"},infoURL:"https://network.codefin.pro",name:"Codefin Mainnet",nativeCurrency:{name:"Codefin",symbol:"COF",decimals:18},networkId:9223,rpc:["https://9223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.codefin.pro"],shortName:"COF",slug:"codefin",testnet:!1},i7t={chain:"Avalanche",chainId:9294,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TQO",decimals:18},networkId:9294,redFlags:[],rpc:["https://9294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet",testnet:!0},s7t={chain:"DOGS",chainId:9339,explorers:[{name:"Dogcoin",url:"https://testnet.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Testnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:9339,rpc:["https://9339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dogcoin.me"],shortName:"DOGSt",slip44:1,slug:"dogcoin-testnet",testnet:!0},o7t={chain:"ETH",chainId:9393,explorers:[{name:"basescout",url:"https://sepolia-delascan.deperp.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZQbfJfxYez8iQyVsB65y7ZTssKbgUpMXzPTEk5xGDwQB",width:600,height:600,format:"png"},infoURL:"https://www.deperp.com/dela",name:"Dela Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:9393,rpc:["https://9393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-dela.deperp.com"],shortName:"delasep",slip44:1,slug:"dela-sepolia-testnet",testnet:!0},c7t={chain:"MTHN",chainId:9395,explorers:[{name:"Evoke SmartChain Explorer",url:"https://explorer.evokescan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://explorer.evokescan.org",name:"Evoke Mainnet",nativeCurrency:{name:"MTHN",symbol:"MTHN",decimals:18},networkId:9395,rpc:["https://9395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.evokescan.org"],shortName:"MTHN",slug:"evoke",testnet:!1},d7t={chain:"Rangers",chainId:9527,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Testnet Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"tRPG",decimals:18},networkId:9527,rpc:["https://9527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin.rangersprotocol.com/api/jsonrpc"],shortName:"trpg",slip44:1,slug:"rangers-protocol-testnet-robin",testnet:!0},l7t={chain:"QET",chainId:9528,explorers:[{name:"QEasyWeb3 Explorer",url:"https://www.qeasyweb3.com",standard:"EIP3091"}],faucets:["http://faucet.qeasyweb3.com"],infoURL:"https://www.qeasyweb3.com",name:"QEasyWeb3 Testnet",nativeCurrency:{name:"QET",symbol:"QET",decimals:18},networkId:9528,rpc:["https://9528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://qeasyweb3.com"],shortName:"QETTest",slip44:1,slug:"qeasyweb3-testnet",testnet:!0},u7t={chain:"Avalanche",chainId:9543,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4523",nativeCurrency:{name:"QaUser4523 Token",symbol:"NBW",decimals:18},networkId:9543,redFlags:[],rpc:["https://9543.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4523",slug:"qauser4523",testnet:!0},p7t={chain:"Neonlink",chainId:9559,explorers:[{name:"Neon Blockchain Explorer",url:"https://testnet-scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:["https://faucet.neonlink.io/"],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Testnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"tNEON",decimals:18},networkId:9559,rpc:["https://9559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonlink.io"],shortName:"testneon",slip44:1,slug:"neonlink-testnet",testnet:!0},h7t={chain:"MainnetDev",chainId:9700,explorers:[{name:"Oort MainnetDev Scan",url:"https://dev-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort MainnetDev",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:9700,rpc:["https://9700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.oortech.com"],shortName:"MainnetDev",slug:"oort-dev",testnet:!1,title:"Oort MainnetDev"},m7t={chain:"Boba BNB Testnet",chainId:9728,explorers:[{name:"Boba BNB Testnet block explorer",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:9728,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://9728.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bnb.boba.network","wss://wss.testnet.bnb.boba.network","https://replica.testnet.bnb.boba.network","wss://replica-wss.testnet.bnb.boba.network","https://boba-bnb-testnet.gateway.tenderly.co","wss://boba-bnb-testnet.gateway.tenderly.co"],shortName:"BobaBnbTestnet",slip44:1,slug:"boba-bnb-testnet",testnet:!0},b7t={chain:"NetZ",chainId:9768,explorers:[{name:"MainnetZ",url:"https://testnet.mainnetz.io",standard:"EIP3091"}],faucets:["https://faucet.mainnetz.io"],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://testnet.mainnetz.io",name:"MainnetZ Testnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:9768,rpc:["https://9768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mainnetz.io"],shortName:"NetZt",slip44:1,slug:"z-testnet",testnet:!0},y7t={chain:"PepeNetwork",chainId:9779,explorers:[{name:"Pepe Explorer",url:"https://explorer.pepenetwork.io",standard:"none",icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"},infoURL:"https://pepenetwork.io",name:"PepeNetwork Mainnet",nativeCurrency:{name:"Pepe",symbol:"WPEPE",decimals:18},networkId:9779,rpc:["https://9779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.pepenetwork.io"],shortName:"pn",slug:"pepenetwork",testnet:!1},g7t={chain:"ETH",chainId:9789,explorers:[{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com",standard:"none"},{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com/",standard:"EIP3091"}],faucets:["https://faucet.testnet.tabichain.com"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://www.tabichain.com",name:"Tabichain",nativeCurrency:{name:"TABI",symbol:"TABI",decimals:18},networkId:9789,redFlags:[],rpc:["https://9789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tabichain.com"],shortName:"tabichain",slug:"tabichain",testnet:!0},v7t={chain:"Carbon",chainId:9790,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9790,rpc:["https://9790.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-api.carbon.network/"],shortName:"carbon",slug:"carbon-evm",testnet:!1},w7t={chain:"Carbon",chainId:9792,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM Testnet",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9792,rpc:["https://9792.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-evm-api.carbon.network/"],shortName:"carbon-testnet",slip44:1,slug:"carbon-evm-testnet",testnet:!0},T7t={chain:"OptimusZ7",chainId:9797,explorers:[{name:"OptimusZ7 Mainnet Explorer",url:"https://explorer.optimusz7.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Mainnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:9797,rpc:["https://9797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optimusz7.com"],shortName:"OZ7m",slug:"optimusz7",testnet:!1},x7t={chain:"tIMP",chainId:9818,explorers:[{name:"IMPERIUM TESTNET Explorer",url:"https://network.impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM TESTNET",nativeCurrency:{name:"tIMP",symbol:"tIMP",decimals:18},networkId:9818,rpc:["https://9818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-testnet.imperiumchain.com","https://data-aws2-testnet.imperiumchain.com"],shortName:"tIMP",slip44:1,slug:"imperium-testnet",testnet:!0},E7t={chain:"IMP",chainId:9819,explorers:[{name:"IMPERIUM Explorer",url:"https://impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM MAINNET",nativeCurrency:{name:"IMP",symbol:"IMP",decimals:18},networkId:9819,rpc:["https://9819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-mainnet.imperiumchain.com","https://data-aws2-mainnet.imperiumchain.com"],shortName:"IMP",slug:"imperium",testnet:!1},_7t={chain:"Avalanche",chainId:9872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0507 Testnet",nativeCurrency:{name:"QaUser0507 Testnet Token",symbol:"KQA",decimals:18},networkId:9872,redFlags:[],rpc:["https://9872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0507 Testnet",slug:"qauser0507-testnet",testnet:!0},A7t={chain:"Dogelayer",chainId:9888,explorers:[{name:"Dogelayer mainnet explorer",url:"https://dl-explorer.dogelayer.org",standard:"EIP3091"}],faucets:[],infoURL:"https://dogelayer.org",name:"Dogelayer Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:9888,rpc:["https://9888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dl-rpc.dogelayer.org"],shortName:"Dogelayer",slug:"dogelayer",testnet:!1},I7t={chain:"Larissa",chainId:9898,explorers:[{name:"Larissa Scan",url:"https://scan.larissa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZTWoZ3LvivSinaJ4aSwqU8pCXw8oSZNnUCh4wwXxtAoQ",width:500,height:500,format:"png"},infoURL:"https://larissa.network",name:"Larissa Chain",nativeCurrency:{name:"Larissa",symbol:"LRS",decimals:18},networkId:1,rpc:["https://9898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.larissa.network"],shortName:"lrs",slip44:9898,slug:"larissa-chain",status:"active",testnet:!1,title:"Larissa Chain"},C7t={chain:"SPENT",chainId:9911,explorers:[{name:"escscan",url:"https://escscan.com",standard:"EIP3091",icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"},infoURL:"https://espento.network",name:"Espento Mainnet",nativeCurrency:{name:"ESPENTO",symbol:"SPENT",decimals:18},networkId:9911,rpc:["https://9911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.escscan.com/"],shortName:"spent",slug:"espento",testnet:!1},k7t={chain:"tMIND",chainId:9977,explorers:[{name:"Mind Chain explorer",url:"https://testnet.mindscan.info",standard:"EIP3091"}],faucets:["https://faucet.mindchain.info/"],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Testnet",nativeCurrency:{name:"MIND Coin",symbol:"tMIND",decimals:18},networkId:9977,rpc:["https://9977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-msc.mindchain.info/","wss://testnet-msc.mindchain.info/ws"],shortName:"tMIND",slip44:1,slug:"mind-smart-chain-testnet",testnet:!0},S7t={chain:"Combo",chainId:9980,explorers:[{name:"combotrace explorer",url:"https://combotrace.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:9980,rpc:["https://9980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.combonetwork.io"],shortName:"combo-mainnet",slug:"combo",testnet:!1},R7t={chain:"Avalanche",chainId:9981,explorers:[{name:"Volley Mainnet Explorer",url:"https://volleyscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4131",nativeCurrency:{name:"QaUser4131 Token",symbol:"SGT",decimals:18},networkId:9981,redFlags:[],rpc:["https://9981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://main-rpc.volleychain.com"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},M7t={chain:"Agung",chainId:9990,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wsspc1-qa.agung.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://agung.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreibkqdof3ztkdhgukwvkacwgrjb27e23hgz5c6mmudzu5hipyvgisa",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Agung Network",nativeCurrency:{name:"Agung",symbol:"AGNG",decimals:18},networkId:9990,rpc:["https://9990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpc1-qa.agung.peaq.network"],shortName:"AGNG",slug:"agung-network",testnet:!1},B7t={chain:"MIND",chainId:9996,explorers:[{name:"Mind Chain explorer",url:"https://mainnet.mindscan.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Mainnet",nativeCurrency:{name:"MIND Coin",symbol:"MIND",decimals:18},networkId:9996,rpc:["https://9996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-msc.mindchain.info/","https://seednode.mindchain.info","https://archive.mindchain.info/","wss://archive.mindchain.info/ws","wss://seednode.mindchain.info/ws"],shortName:"MIND",slug:"mind-smart-chain",testnet:!1},D7t={chain:"ETH",chainId:9997,explorers:[{name:"blockscout",url:"https://testnet-rollup-explorer.altlayer.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:9997,rpc:["https://9997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rollup-api.altlayer.io"],shortName:"alt-testnet",slip44:1,slug:"altlayer-testnet",testnet:!0},P7t={chain:"ZTC",chainId:9998,explorers:[],faucets:[],infoURL:"https://ztc.best",name:"Ztc Mainnet",nativeCurrency:{name:"Ztcer",symbol:"ZTC",decimals:5},networkId:9998,rpc:["https://9998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zitcoin.us"],shortName:"ZTC",slug:"ztc",testnet:!1},L7t={chain:"myOwn",chainId:9999,explorers:[],faucets:[],infoURL:"https://docs.bccloud.net/",name:"myOwn Testnet",nativeCurrency:{name:"MYN",symbol:"MYN",decimals:18},networkId:9999,rpc:["https://9999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.dev.bccloud.net"],shortName:"myn",slip44:1,slug:"myown-testnet",testnet:!0},F7t={chain:"smartBCH",chainId:1e4,explorers:[],faucets:[],infoURL:"https://smartbch.org/",name:"Smart Bitcoin Cash",nativeCurrency:{name:"Bitcoin Cash",symbol:"BCH",decimals:18},networkId:1e4,rpc:["https://10000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smartbch.greyh.at","https://rpc-mainnet.smartbch.org","https://smartbch.fountainhead.cash/mainnet","https://smartbch.devops.cash/mainnet"],shortName:"smartbch",slug:"smart-bitcoin-cash",testnet:!1},N7t={chain:"smartBCHTest",chainId:10001,explorers:[],faucets:[],infoURL:"http://smartbch.org/",name:"Smart Bitcoin Cash Testnet",nativeCurrency:{name:"Bitcoin Cash Test Token",symbol:"BCHT",decimals:18},networkId:10001,rpc:["https://10001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.smartbch.org","https://smartbch.devops.cash/testnet"],shortName:"smartbchtest",slip44:1,slug:"smart-bitcoin-cash-testnet",testnet:!0},O7t={chain:"GonChain",chainId:10024,explorers:[{name:"Gon Explorer",url:"https://gonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPtiJGaApbW3ATZhPW3pKJpw3iGVrRGsZLWhrDKF9ZK18",width:1024,height:1024,format:"png"},name:"Gon Chain",nativeCurrency:{name:"Gon Token",symbol:"GT",decimals:18},networkId:10024,rpc:["https://10024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.gaiaopen.network","https://node1.mainnet.gon.network","https://node2.mainnet.gon.network","https://node3.mainnet.gon.network","https://node4.mainnet.gon.network"],shortName:"gon",slug:"gon-chain",testnet:!0},U7t={chain:"Avalanche",chainId:10036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Mainnet",nativeCurrency:{name:"Innovo Markets Mainnet Token",symbol:"INN",decimals:18},networkId:10036,redFlags:[],rpc:["https://10036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovo/mainnet/rpc"],shortName:"Innovo Markets Mainnet",slug:"innovo-markets",testnet:!1},H7t={chain:"Avalanche",chainId:10050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0327S1D Testnet",nativeCurrency:{name:"QR0327S1D Testnet Token",symbol:"WZL",decimals:18},networkId:10050,redFlags:[],rpc:["https://10050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0327s1dt/testnet/rpc"],shortName:"QR0327S1D Testnet",slug:"qr0327s1d-testnet",testnet:!0},z7t={chain:"JOCT",chainId:10081,explorers:[{name:"Testnet Block Explorer",url:"https://explorer.testnet.japanopenchain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Testnet",nativeCurrency:{name:"Japan Open Chain Testnet Token",symbol:"JOCT",decimals:18},networkId:10081,rpc:["https://10081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.testnet.japanopenchain.org:8545","https://rpc-2.testnet.japanopenchain.org:8545"],shortName:"joct",slip44:1,slug:"japan-open-chain-testnet",testnet:!0},W7t={chain:"ETH",chainId:10086,explorers:[],faucets:[],infoURL:"https://sjis.me",name:"SJATSH",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10086,rpc:["https://10086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://geth.free.idcfengye.com"],shortName:"SJ",slug:"sjatsh",testnet:!1},q7t={chain:"GEN",chainId:10101,explorers:[],faucets:[],infoURL:"https://www.xixoio.com/",name:"Blockchain Genesis Mainnet",nativeCurrency:{name:"GEN",symbol:"GEN",decimals:18},networkId:10101,rpc:["https://10101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eu.mainnet.xixoio.com","https://us.mainnet.xixoio.com","https://asia.mainnet.xixoio.com"],shortName:"GEN",slug:"blockchain-genesis",testnet:!1},j7t={chain:"Avalanche",chainId:10154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405023 Interop",nativeCurrency:{name:"QIM2405023 Interop Token",symbol:"UZP",decimals:18},networkId:10154,redFlags:[],rpc:["https://10154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405023 Interop",slug:"qim2405023-interop",testnet:!0},G7t={chain:"GNO",chainId:10200,explorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://gnosisfaucet.com"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis Chiado Testnet",nativeCurrency:{name:"Chiado xDAI",symbol:"XDAI",decimals:18},networkId:10200,rpc:["https://10200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chiadochain.net","https://rpc.chiado.gnosis.gateway.fm","wss://rpc.chiadochain.net/wss","https://gnosis-chiado-rpc.publicnode.com","wss://gnosis-chiado-rpc.publicnode.com","https://gnosis-chiado.drpc.org","wss://gnosis-chiado.drpc.org"],shortName:"chi",slip44:1,slug:"gnosis-chiado-testnet",testnet:!0},K7t={chain:"MaxxChain",chainId:10201,explorers:[{name:"MaxxChain Block Explorer",url:"https://explorer.maxxchain.org",standard:"EIP3091"}],faucets:["https://faucet.maxxchain.org"],icon:{url:"ipfs://QmRhQG9TZrXDdbQeTzBmjg3pqgwaD5TKVZj8k4kaz8AoZx",width:1021,height:1021,format:"png"},infoURL:"https://www.maxxchain.org/",name:"MaxxChain Mainnet",nativeCurrency:{name:"Power",symbol:"PWR",decimals:18},networkId:10201,rpc:["https://10201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxxchain.org","https://rpc1.maxxchain.org","https://rpc2.maxxchain.org"],shortName:"PWR",slug:"maxxchain",testnet:!1},Q7t={chain:"GLC",chainId:10222,explorers:[{name:"GLScan Explorer",url:"https://glscan.io",standard:"none",icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"},infoURL:"https://glscan.io/",name:"GLScan",nativeCurrency:{name:"GLC",symbol:"GLC",decimals:18},networkId:10222,rpc:["https://10222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glc-dataseed.glscan.io/"],shortName:"glc",slip44:1,slug:"glscan",testnet:!1},V7t={chain:"AA",chainId:10242,explorers:[{name:"blockscout",url:"https://explorer.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net/build/developing-sc/using-hardhat",name:"Arthera Mainnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10242,rpc:["https://10242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arthera.net"],shortName:"aa",slip44:10242,slug:"arthera",testnet:!1},Y7t={chain:"AA",chainId:10243,explorers:[{name:"blockscout",url:"https://explorer-test.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.arthera.net"],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net",name:"Arthera Testnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10243,rpc:["https://10243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.arthera.net"],shortName:"aat",slip44:1,slug:"arthera-testnet",testnet:!0},$7t={chain:"0XTade Chain",chainId:10248,explorers:[{name:"0xtrade Scan",url:"https://www.0xtscan.com",standard:"none"}],faucets:[],infoURL:"https://www.0xtrade.finance/",name:"0XTade",nativeCurrency:{name:"0XT",symbol:"0XT",decimals:18},networkId:10248,rpc:["https://10248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.0xtchain.com"],shortName:"0xt",slug:"0xtade",testnet:!1},J7t={chain:"Avalanche",chainId:10255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Coqnet Testnet",nativeCurrency:{name:"Coqnet Testnet Token",symbol:"COQ",decimals:18},networkId:10255,redFlags:[],rpc:["https://10255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/coqnet/testnet/rpc"],shortName:"Coqnet Testnet",slug:"coqnet-testnet",testnet:!0},X7t={chain:"TAO EVM",chainId:10321,explorers:[{name:"TAO Mainnet Explorer",url:"https://taoscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Mainnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10321,rpc:["https://10321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taoevm.io"],shortName:"TAOm",slug:"tao-evm",testnet:!1},Z7t={chain:"TAO EVM",chainId:10324,explorers:[{name:"TAO Testnet Explorer",url:"https://testnet.taoscan.org",standard:"EIP3091"}],faucets:["https://faucet.taoevm.io"],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Testnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10324,rpc:["https://10324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.taoevm.io"],shortName:"TAOt",slug:"tao-evm-testnet",testnet:!0},e9t={chain:"Worldland",chainId:10395,explorers:[{name:"Worldland Explorer",url:"https://testscan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Testnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:10395,rpc:["https://10395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwangju.worldland.foundation"],shortName:"TWLC",slip44:1,slug:"worldland-testnet",testnet:!0},t9t={chain:"NUM",chainId:10507,explorers:[{name:"ethernal",url:"https://mainnet.num.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Mainnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10507,rpc:["https://10507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnetrpc.num.network"],shortName:"Jade",slug:"numbers",testnet:!1},n9t={chain:"NUM",chainId:10508,explorers:[{name:"ethernal",url:"https://testnet.num.network",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=num","https://faucet.num.network"],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Testnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10508,rpc:["https://10508.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.num.network"],shortName:"Snow",slip44:1,slug:"numbers-testnet",testnet:!0},a9t={chain:"Avalanche",chainId:10671,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 12131",nativeCurrency:{name:"QI M 12131 Token",symbol:"XVL",decimals:18},networkId:10671,redFlags:[],rpc:["https://10671.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"QI M 12131",slug:"qi-m-12131",testnet:!0},r9t={chain:"CCP",chainId:10823,explorers:[{name:"CCP Explorer",url:"https://cryptocoinpay.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPw1ixYYeXvTiRWoCt2jWe4YMd3B5o7TzL18SBEHXvhXX",width:200,height:200,format:"png"},infoURL:"https://www.cryptocoinpay.co",name:"CryptoCoinPay",nativeCurrency:{name:"CryptoCoinPay",symbol:"CCP",decimals:18},networkId:10823,rpc:["https://10823.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node106.cryptocoinpay.info:8545","ws://node106.cryptocoinpay.info:8546"],shortName:"CCP",slug:"cryptocoinpay",testnet:!1},f9t={chain:"Avalanche",chainId:10849,explorers:[{name:"Lamina1 Explorer",url:"https://subnets.avax.network/lamina1",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1",nativeCurrency:{name:"Lamina1 Token",symbol:"L",decimals:18},networkId:10849,redFlags:[],rpc:["https://10849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1/mainnet/rpc"],shortName:"Lamina1",slip44:1,slug:"lamina1",testnet:!1},i9t={chain:"Avalanche",chainId:10850,explorers:[{name:"Lamina1 Identity Explorer",url:"https://subnets.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity",nativeCurrency:{name:"Lamina1 Identity Token",symbol:"LID",decimals:18},networkId:10850,redFlags:[],rpc:["https://10850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/mainnet/rpc"],shortName:"Lamina1 Identity",slip44:1,slug:"lamina1-identity",testnet:!1},s9t={chain:"QDC",chainId:10946,explorers:[{name:"explorer",url:"https://explorer.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain",nativeCurrency:{name:"Quadrans Coin",symbol:"QDC",decimals:18},networkId:10946,rpc:["https://10946.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quadrans.io","https://rpcna.quadrans.io","https://rpceu.quadrans.io"],shortName:"quadrans",slug:"quadrans-blockchain",testnet:!1},o9t={chain:"tQDC",chainId:10947,explorers:[{name:"explorer",url:"https://explorer.testnet.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:["https://faucetpage.quadrans.io"],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain Testnet",nativeCurrency:{name:"Quadrans Testnet Coin",symbol:"tQDC",decimals:18},networkId:10947,rpc:["https://10947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.quadrans.io","https://rpctest2.quadrans.io"],shortName:"quadranstestnet",slip44:1,slug:"quadrans-blockchain-testnet",testnet:!0},c9t={chain:"Astra",chainId:11110,explorers:[{name:"Astra EVM Explorer (Blockscout)",url:"https://explorer.astranaut.io",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.io/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra",nativeCurrency:{name:"Astra",symbol:"ASA",decimals:18},networkId:11110,rpc:["https://11110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.io","https://rpc1.astranaut.io"],shortName:"astra",slug:"astra",testnet:!1},d9t={chain:"WAGMI",chainId:11111,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/wagmi",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=wagmi"],icon:{url:"ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4",width:1920,height:1920,format:"png"},infoURL:"https://subnets-test.avax.network/wagmi/details",name:"WAGMI",nativeCurrency:{name:"WAGMI",symbol:"WGM",decimals:18},networkId:11111,rpc:["https://11111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"],shortName:"WAGMI",slug:"wagmi",testnet:!0},l9t={chain:"Astra",chainId:11115,explorers:[{name:"Astra EVM Explorer",url:"https://explorer.astranaut.dev",standard:"EIP3091",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.dev/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:["https://faucet.astranaut.dev"],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra Testnet",nativeCurrency:{name:"test-Astra",symbol:"tASA",decimals:18},networkId:11115,rpc:["https://11115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.dev"],shortName:"astra-testnet",slip44:1,slug:"astra-testnet",testnet:!0},u9t={chain:"HBIT",chainId:11119,explorers:[{name:"hashbitscan",url:"https://explorer.hashbit.org",standard:"EIP3091"}],faucets:[],infoURL:"https://hashbit.org",name:"HashBit Mainnet",nativeCurrency:{name:"HashBit Native Token",symbol:"HBIT",decimals:18},networkId:11119,rpc:["https://11119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hashbit.org","https://rpc.hashbit.org"],shortName:"hbit",slug:"hashbit",testnet:!1},p9t={chain:"Avalanche",chainId:11198,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I2 Testnet",nativeCurrency:{name:"QI0304I2 Testnet Token",symbol:"LOD",decimals:18},networkId:11198,redFlags:[],rpc:["https://11198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I2 Testnet",slug:"qi0304i2-testnet",testnet:!0},h9t={chain:"SC20",chainId:11221,explorers:[{name:"shinescan",url:"https://shinescan.io",standard:"none",icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"},infoURL:"https://shinechain.tech",name:"Shine Chain",nativeCurrency:{name:"Shine",symbol:"SC20",decimals:18},networkId:11221,rpc:["https://11221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinescan.io"],shortName:"SC20",slug:"shine-chain",testnet:!1},m9t={chain:"Avalanche",chainId:11227,explorers:[{name:"JIRITSUTES Explorer",url:"https://subnets-test.avax.network/jiritsutes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jiritsu Testnet",nativeCurrency:{name:"Jiritsu Testnet Token",symbol:"TZW",decimals:18},networkId:11227,redFlags:[],rpc:["https://11227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jiritsutes/testnet/rpc"],shortName:"Jiritsu Testnet",slug:"jiritsu-testnet",testnet:!0},b9t={chain:"Haqq",chainId:11235,explorers:[{name:"Mainnet HAQQ Explorer",url:"https://explorer.haqq.network",standard:"EIP3091"}],faucets:[],infoURL:"https://islamiccoin.net",name:"Haqq Network",nativeCurrency:{name:"Islamic Coin",symbol:"ISLM",decimals:18},networkId:11235,rpc:["https://11235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.haqq.network","https://haqq-evm-rpc.publicnode.com","wss://haqq-evm-rpc.publicnode.com","https://haqq.drpc.org","wss://haqq.drpc.org"],shortName:"ISLM",slug:"haqq-network",testnet:!1},y9t={chain:"SHYFTT",chainId:11437,explorers:[{name:"Shyft Testnet BX",url:"https://bx.testnet.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Testnet",nativeCurrency:{name:"Shyft Test Token",symbol:"SHYFTT",decimals:18},networkId:11437,rpc:[],shortName:"shyftt",slip44:1,slug:"shyft-testnet",testnet:!0},g9t={chain:"BEVM",chainId:11501,explorers:[{name:"bevm mainnet scan",url:"https://scan-mainnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11501,rpc:["https://11501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-1.bevm.io/","https://rpc-mainnet-2.bevm.io/"],shortName:"bevm",slug:"bevm",testnet:!1},v9t={chain:"BEVM",chainId:11503,explorers:[{name:"bevm testnet scan",url:"https://scan-testnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11503,rpc:["https://11503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bevm.io/"],shortName:"bevm-test",slug:"bevm-testnet",testnet:!0},w9t={chain:"Avalanche",chainId:11516,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tenzro",nativeCurrency:{name:"Tenzro Token",symbol:"TNZO",decimals:18},networkId:11516,redFlags:[],rpc:["https://11516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tenzro/testnet/rpc"],shortName:"Tenzro",slug:"tenzro",testnet:!0},T9t={chain:"SRDX",chainId:11612,explorers:[{name:"Sardis",url:"https://testnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Testnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:11612,rpc:["https://11612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.sardisnetwork.com"],shortName:"SRDXt",slip44:1,slug:"sardis-testnet",testnet:!0},x9t={chain:"Avalanche",chainId:11625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 202402121",nativeCurrency:{name:"QI M 202402121 Token",symbol:"CYB",decimals:18},networkId:11625,redFlags:[],rpc:["https://11625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 202402121",slug:"qi-m-202402121",testnet:!0},E9t={chain:"Avalanche",chainId:11881,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2353 Testnet",nativeCurrency:{name:"QaUser2353 Testnet Token",symbol:"ODB",decimals:18},networkId:11881,redFlags:[],rpc:["https://11881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2353 Testnet",slug:"qauser2353-testnet",testnet:!0},_9t={chain:"Santiment Intelligence Network DEPRECATED",chainId:11888,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network DEPRECATED",nativeCurrency:{name:"SANold",symbol:"SANold",decimals:18},networkId:11888,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://11888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sanrchain-node.santiment.net"],shortName:"SANold",slug:"santiment-intelligence-network-deprecated",status:"deprecated",testnet:!1},A9t={chain:"Arianee",chainId:11891,explorers:[{name:"Polygon Supernet Arianee Explorer",url:"https://polygonsupernet.explorer.arianee.net",standard:"EIP3091"}],faucets:[],infoURL:"https://arianee.org",name:"Polygon Supernet Arianee",nativeCurrency:{name:"Arianee",symbol:"ARIA20",decimals:18},networkId:11891,parent:{type:"L2",chain:"eip155-1"},rpc:["https://11891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygonsupernet.public.arianee.net"],shortName:"Arianee",slug:"polygon-supernet-arianee",testnet:!1},I9t={chain:"Avalanche",chainId:12001,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mikias's Testnet",nativeCurrency:{name:"Mikias's Testnet Token",symbol:"XVL",decimals:18},networkId:12001,redFlags:[],rpc:["https://12001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"Mikias's Testnet",slug:"mikias-s-testnet",testnet:!0},C9t={chain:"SATS",chainId:12009,explorers:[{name:"SatoshiChain Explorer",url:"https://satoshiscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Mainnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:12009,rpc:["https://12009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.satoshichain.io"],shortName:"sats",slug:"satoshichain",testnet:!1},k9t={chain:"Aternos",chainId:12020,explorers:[{name:"blockscout",url:"https://explorer.aternoschain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.aternoschain.com"],icon:{url:"ipfs://QmUgfhv3rEsS6t9g6Lsf3TJ1mbnJqBrb8YUFPDiNG59QvT",width:1e3,height:1e3,format:"png"},infoURL:"https://aternoschain.com",name:"Aternos",nativeCurrency:{name:"Aternos",symbol:"ATR",decimals:18},networkId:12020,rpc:["https://12020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.aternoschain.com"],shortName:"ATR",slug:"aternos",testnet:!1},S9t={chain:"Avalanche",chainId:12035,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11272",nativeCurrency:{name:"QI M 11272 Token",symbol:"JZW",decimals:18},networkId:12035,redFlags:[],rpc:["https://12035.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 11272",slug:"qi-m-11272",testnet:!0},R9t={chain:"ZERO",chainId:12051,explorers:[{name:"zeroscan",url:"https://betaenv.singularity.gold:18002",standard:"EIP3091"}],faucets:["https://nft.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Testnet",nativeCurrency:{name:"ZERO",symbol:"tZERO",decimals:18},networkId:12051,rpc:["https://12051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://betaenv.singularity.gold:18545"],shortName:"tZERO",slip44:1,slug:"singularity-zero-testnet",testnet:!0},M9t={chain:"ZERO",chainId:12052,explorers:[{name:"zeroscan",url:"https://zeroscan.singularity.gold",standard:"EIP3091"}],faucets:["https://zeroscan.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Mainnet",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:12052,rpc:["https://12052.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zerorpc.singularity.gold"],shortName:"ZERO",slip44:621,slug:"singularity-zero",testnet:!1},B9t={chain:"Avalanche",chainId:12065,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405061 WITH INTEROPERABILITY",nativeCurrency:{name:"QIM2405061 WITH INTEROPERABILITY Token",symbol:"BLY",decimals:18},networkId:12065,redFlags:[],rpc:["https://12065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405061 WITH INTEROPERABILITY",slug:"qim2405061-with-interoperability",testnet:!0},D9t={chain:"BRC",chainId:12123,explorers:[{name:"BRC Chain Explorer",url:"https://scan.brcchain.io",standard:"EIP3091"}],faucets:["https://faucet.brcchain.io"],icon:{url:"ipfs://QmX8qGX7xoZqYUpHxA85uZwQX2fgbTHvmddE1NfseDyBED",width:512,height:512,format:"png"},infoURL:"https://bridge.brcchain.io",name:"BRC Chain Mainnet",nativeCurrency:{name:"BRC Chain mainnet native token",symbol:"BRC",decimals:18},networkId:12123,rpc:["https://12123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brcchain.io"],shortName:"BRC",slug:"brc-chain",testnet:!1},P9t={chain:"FIBO",chainId:12306,explorers:[{name:"fiboscan",url:"https://scan.fibochain.org",standard:"EIP3091"}],faucets:["https://test.fibochain.org/faucets"],icon:{url:"ipfs://bafkreidiedaz3jugxmh2ylzlc4nympbd5iwab33adhwkcnblyop6vvj25y",width:1494,height:1494,format:"png"},infoURL:"https://fibochain.org",name:"Fibonacci Mainnet",nativeCurrency:{name:"FIBONACCI UTILITY TOKEN",symbol:"FIBO",decimals:18},networkId:1230,rpc:["https://12306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.fibo-api.asia","https://node2.fibo-api.asia","https://node3.fibo-api.asia","https://node4.fibo-api.asia","https://node5.fibo-api.asia","https://node6.fibo-api.asia","https://node7.fibo-api.asia","https://node1.fibo-rpc.asia","https://node2.fibo-rpc.asia","https://node3.fibo-rpc.asia","https://node4.fibo-rpc.asia","https://node5.fibo-rpc.asia","https://node6.fibo-rpc.asia","https://node7.fibo-rpc.asia"],shortName:"fibo",slug:"fibonacci",testnet:!0},L9t={chain:"BLG",chainId:12321,explorers:[],faucets:["https://faucet.blgchain.com"],icon:{url:"ipfs://QmUN5j2cre8GHKv52JE8ag88aAnRmuHMGFxePPvKMogisC",width:512,height:512,format:"svg"},infoURL:"https://blgchain.com",name:"BLG Testnet",nativeCurrency:{name:"Blg",symbol:"BLG",decimals:18},networkId:12321,rpc:["https://12321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blgchain.com"],shortName:"blgchain",slip44:1,slug:"blg-testnet",testnet:!0},F9t={chain:"L3X",chainId:12324,explorers:[{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12324,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.l3x.com"],shortName:"l3x",slug:"l3x-protocol",testnet:!1},N9t={chain:"L3X",chainId:12325,explorers:[{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12325,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12325.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.l3x.com"],shortName:"l3x-testnet",slug:"l3x-protocol-testnet",testnet:!0},O9t={chain:"STEP",chainId:12345,explorers:[{name:"StepScan",url:"https://testnet.stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:["https://faucet.step.network"],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Testnet",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:12345,parent:{type:"L2",chain:"eip155-43113"},rpc:["https://12345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.step.network"],shortName:"steptest",slip44:1,slug:"step-testnet",testnet:!0,title:"Step Test Network"},U9t={chain:"RSS3",chainId:12553,explorers:[{name:"RSS3 VSL Scan",url:"https://scan.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZFWYnufi6G2Z54oJ25sx2yf2Skx5tseJHJJa6Hc1G34t",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:12553,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://explorer.rss3.io/bridge"}]},rpc:["https://12553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rss3.io"],shortName:"rss3",slug:"rss3-vsl",testnet:!1},H9t={chain:"Rikeza",chainId:12715,explorers:[{name:"Rikeza Blockchain explorer",url:"https://testnet.rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Testnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:12715,rpc:["https://12715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.rikscan.com"],shortName:"tRIK",slip44:1,slug:"rikeza-network-testnet",testnet:!0,title:"Rikeza Network Testnet"},z9t={chain:"Avalanche",chainId:12781,explorers:[{name:"Playdapp Testnet Explorer",url:"https://subnets-test.avax.network/playdappte",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"playdapp Testnet",nativeCurrency:{name:"playdapp Testnet Token",symbol:"PDA",decimals:18},networkId:12781,redFlags:[],rpc:["https://12781.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappte/testnet/rpc"],shortName:"playdapp Testnet",slug:"playdapp-testnet",testnet:!0},W9t={chain:"Avalanche",chainId:12885,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I3",nativeCurrency:{name:"QI0603I3 Token",symbol:"UQI",decimals:18},networkId:12885,redFlags:[],rpc:["https://12885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I3",slug:"qi0603i3",testnet:!0},q9t={chain:"tQNET",chainId:12890,explorers:[{name:"Quantum Scan Testnet",url:"https://testnet.quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Testnet",nativeCurrency:{name:"Quantum Chain",symbol:"tQNET",decimals:18},networkId:12890,rpc:["https://12890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.quantumscan.org"],shortName:"tqnet",slip44:1,slug:"quantum-chain-testnet",testnet:!0},j9t={chain:"PLAYFAIR",chainId:12898,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/letsplayfair",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNvoUp2RWiWQzHUKrZ7SnPzwF3FbCNd3jSdpGJhQdH1y5",width:256,height:256,format:"png"},infoURL:"https://letsplayfair.ai",name:"PlayFair Testnet Subnet",nativeCurrency:{name:"BTLT Token",symbol:"BTLT",decimals:18},networkId:12898,rpc:["https://12898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.letsplayfair.ai/ext/bc/2hhXFNp1jR4RuqvCmWQnBtt9CZnCmmyGr7TNTkxt7XY7pAzHMY/rpc"],shortName:"playfair",slug:"playfair-testnet-subnet",testnet:!0},G9t={chain:"SPS",chainId:13e3,explorers:[{name:"SPS Explorer",url:"http://spsscan.ssquad.games",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:13e3,rpc:["https://13000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ssquad.games"],shortName:"SPS",slug:"sps",testnet:!1},K9t={chain:"CREDIT",chainId:13308,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:13308,rpc:["https://13308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"Credit",slug:"credit-smart-chain-credit",testnet:!1},Q9t={chain:"BEAM",chainId:13337,explorers:[{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=beam","https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam Testnet",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:13337,rpc:["https://13337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc/testnet","wss://build.onbeam.com/ws/testnet","https://subnets.avax.network/beam/testnet/rpc","wss://subnets.avax.network/beam/testnet/ws"],shortName:"beam-testnet",slip44:1,slug:"beam-testnet",testnet:!0},V9t={chain:"Immutable zkEVM",chainId:13371,explorers:[{name:"Immutable explorer",url:"https://explorer.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM",nativeCurrency:{name:"IMX",symbol:"IMX",decimals:18},networkId:13371,rpc:["https://13371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.immutable.com","https://immutable-zkevm.drpc.org","wss://immutable-zkevm.drpc.org"],shortName:"imx",slug:"immutable-zkevm",testnet:!1},Y9t={chain:"Phoenix",chainId:13381,explorers:[{name:"phoenixplorer",url:"https://phoenixplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYiLMeKDXMSNuQmtxNdxm53xR588pcRXMf7zuiZLjQnc6",width:1501,height:1501,format:"png"},infoURL:"https://cryptophoenix.org/phoenix",name:"Phoenix Mainnet",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},networkId:13381,rpc:["https://13381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.phoenixplorer.com/"],shortName:"Phoenix",slug:"phoenix",testnet:!1},$9t={chain:"Avalanche",chainId:13396,explorers:[{name:"Masa Explorer",url:"https://subnets.avax.network/masa",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Network ",nativeCurrency:{name:"Masa Network Token",symbol:"MASA",decimals:18},networkId:13396,redFlags:[],rpc:["https://13396.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masanetwork/mainnet/rpc"],shortName:"Masa Network ",slug:"masa-network",testnet:!1},J9t={chain:"Immutable zkEVM",chainId:13473,explorers:[{name:"Immutable Testnet explorer",url:"https://explorer.testnet.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Testnet",nativeCurrency:{name:"Test IMX",symbol:"tIMX",decimals:18},networkId:13473,rpc:["https://13473.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.immutable.com","https://immutable-zkevm-testnet.drpc.org","wss://immutable-zkevm-testnet.drpc.org"],shortName:"imx-testnet",slip44:1,slug:"immutable-zkevm-testnet",testnet:!0},X9t={chain:"Gravity",chainId:13505,explorers:[{name:"Gravity Alpha Testnet Sepolia Explorer",url:"https://explorer-sepolia.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Testnet Sepolia",nativeCurrency:{name:"Sepolia Gravity",symbol:"G.",decimals:18},networkId:13505,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://13505.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.gravity.xyz"],shortName:"gravitysep",slug:"gravity-alpha-testnet-sepolia",testnet:!0},Z9t={chain:"KNB",chainId:13600,explorers:[{name:"qbitscan",url:"https://explorer.qbitscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"},infoURL:"https://kronobit.org",name:"Kronobit Mainnet",nativeCurrency:{name:"Kronobit",symbol:"KNB",decimals:18},networkId:13600,rpc:["https://13600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.qbitscan.com"],shortName:"KNB",slug:"kronobit",testnet:!1,title:"Kronobit Mainnet"},egt={chain:"SUS",chainId:13812,explorers:[{name:"Susono",url:"http://explorer.opn.network",standard:"none"}],faucets:[],name:"Susono",nativeCurrency:{name:"Susono",symbol:"OPN",decimals:18},networkId:13812,rpc:["https://13812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.opn.network/node/ext/bc/2VsZe5DstWw2bfgdx3YbjKcMsJnNDjni95sZorBEdk9L9Qr9Fr/rpc"],shortName:"sus",slug:"susono",testnet:!1},tgt={chain:"Avalanche",chainId:13838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XTraderlands Subnet Tesnet",nativeCurrency:{name:"XTraderlands Subnet Tesnet Token",symbol:"XTDL",decimals:18},networkId:13838,redFlags:[],rpc:["https://13838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xtraderlan/testnet/rpc"],shortName:"XTraderlands Subnet Tesnet",slug:"xtraderlands-subnet-tesnet",testnet:!0},ngt={chain:"SPS-Testnet",chainId:14e3,explorers:[{name:"SPS Test Explorer",url:"https://explorer.3sps.net",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS Testnet",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:14e3,rpc:["https://14000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.3sps.net"],shortName:"SPS-Test",slip44:1,slug:"sps-testnet",testnet:!0},agt={chain:"Avalanche",chainId:14093,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6598",nativeCurrency:{name:"QaUser6598 Token",symbol:"UQC",decimals:18},networkId:14093,redFlags:[],rpc:["https://14093.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6598",slug:"qauser6598",testnet:!0},rgt={chain:"Avalanche",chainId:14255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521S2T",nativeCurrency:{name:"QI0521S2T Token",symbol:"YFT",decimals:18},networkId:14255,redFlags:[],rpc:["https://14255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521S2T",slug:"qi0521s2t",testnet:!0},fgt={chain:"Avalanche",chainId:14299,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Diego's",nativeCurrency:{name:"Diego's Token",symbol:"VMF",decimals:18},networkId:14299,redFlags:[],rpc:["https://14299.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/diegos/testnet/rpc"],shortName:"Diego's",slug:"diego-s",testnet:!0},igt={chain:"EVO",chainId:14324,explorers:[{name:"Evolve Testnet Explorer",url:"https://testnet.evolveblockchain.io",standard:"EIP3091"}],faucets:["https://faucet.evolveblockchain.io"],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Testnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:14324,rpc:["https://14324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evolveblockchain.io"],shortName:"evo",slug:"evolve-testnet",testnet:!0},sgt={chain:"Vitruveo",chainId:14333,explorers:[{name:"Vitruveo Testnet Explorer",url:"https://test-explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.vitruveo.xyz"],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Testnet",nativeCurrency:{name:"Vitruveo Test Coin",symbol:"tVTRU",decimals:18},networkId:14333,rpc:["https://14333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.vitruveo.xyz"],shortName:"vitruveo-test",slug:"vitruveo-testnet",testnet:!0,title:"Vitruveo is a blockchain for Creators"},ogt={chain:"Satori",chainId:14801,explorers:[{name:"satoriscan",url:"https://satori.vanascan.io",standard:"EIP3091"}],faucets:["https://faucet.vana.org"],infoURL:"https://satori.vana.org",name:"Vana Satori Testnet",nativeCurrency:{name:"DAT",symbol:"DAT",decimals:18},networkId:14801,rpc:["https://14801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satori.vana.org"],shortName:"satori",slug:"vana-satori-testnet",testnet:!0},cgt={chain:"Humanode Testnet 5",chainId:14853,explorers:[],faucets:["https://t.me/HumanodeTestnet5FaucetBot"],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Testnet 5 Israfel",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:14853,rpc:["https://14853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.testnet5.stages.humanode.io"],shortName:"hmnd-t5",slip44:1,slug:"humanode-testnet-5-israfel",testnet:!0},dgt={chain:"Immutable zkEVM",chainId:15003,explorers:[{name:"Immutable Devnet explorer",url:"https://explorer.dev.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Devnet",nativeCurrency:{name:"Dev IMX",symbol:"dIMX",decimals:18},networkId:15003,rpc:["https://15003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.immutable.com"],shortName:"imx-devnet",slug:"immutable-zkevm-devnet",testnet:!1},lgt={chain:"Avalanche",chainId:15056,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402052",nativeCurrency:{name:"QI M 2402052 Token",symbol:"ACI",decimals:18},networkId:15056,redFlags:[],rpc:["https://15056.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402052",slug:"qi-m-2402052",testnet:!0},ugt={chain:"Avalanche",chainId:15104,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402054",nativeCurrency:{name:"QI M 2402054 Token",symbol:"ACI",decimals:18},networkId:15104,redFlags:[],rpc:["https://15104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402054",slug:"qi-m-2402054",testnet:!0},pgt={chain:"Poodl",chainId:15257,explorers:[{name:"Poodl Testnet Explorer",url:"https://testnet.poodl.org",standard:"EIP3091"}],faucets:["https://faucet.poodl.org"],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Testnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15257,rpc:["https://15257.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.poodl.org"],shortName:"poodlt",slug:"poodl-testnet",testnet:!0},hgt={chain:"Poodl",chainId:15259,explorers:[{name:"Poodl Mainnet Explorer",url:"https://explorer.poodl.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Mainnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15259,rpc:["https://15259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poodl.org"],shortName:"poodle",slug:"poodl",testnet:!1},mgt={chain:"Avalanche",chainId:15535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11271",nativeCurrency:{name:"QI M 11271 Token",symbol:"JZW",decimals:18},networkId:15535,redFlags:[],rpc:["https://15535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a47e1c06-fa75-4536-a900-1574d198e197"],shortName:"QI M 11271",slug:"qi-m-11271",testnet:!0},bgt={chain:"LoopNetwork",chainId:15551,explorers:[{name:"loopscan",url:"http://explorer.mainnetloop.com",standard:"none"}],faucets:[],infoURL:"http://theloopnetwork.org/",name:"LoopNetwork Mainnet",nativeCurrency:{name:"LOOP",symbol:"LOOP",decimals:18},networkId:15551,rpc:["https://15551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnetloop.com"],shortName:"loop",slug:"loopnetwork",testnet:!1},ygt={chain:"Trust EVM Testnet",chainId:15555,explorers:[{name:"Trust EVM Explorer",url:"https://trustscan.one",standard:"EIP3091"}],faucets:["https://faucet.testnet-dev.trust.one/"],infoURL:"https://www.trust.one/",name:"Trust EVM Testnet",nativeCurrency:{name:"Trust EVM",symbol:"EVM",decimals:18},networkId:15555,rpc:["https://15555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet-dev.trust.one"],shortName:"TrustTestnet",slip44:1,slug:"trust-evm-testnet",testnet:!0},ggt={chain:"EOS",chainId:15557,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network Testnet",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:15557,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.testnet.evm.eosnetwork.com"}]},rpc:["https://15557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet.evm.eosnetwork.com"],shortName:"eos-testnet",slip44:1,slug:"eos-evm-network-testnet",testnet:!0},vgt={chain:"MTT",chainId:16e3,explorers:[],faucets:[],infoURL:"https://metadot.network",name:"MetaDot Mainnet",nativeCurrency:{name:"MetaDot Token",symbol:"MTT",decimals:18},networkId:16e3,rpc:["https://16000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.metadot.network"],shortName:"mtt",slug:"metadot",testnet:!1},wgt={chain:"MTTTest",chainId:16001,explorers:[],faucets:["https://faucet.metadot.network/"],infoURL:"https://metadot.network",name:"MetaDot Testnet",nativeCurrency:{name:"MetaDot Token TestNet",symbol:"MTTest",decimals:18},networkId:16001,rpc:["https://16001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.metadot.network"],shortName:"mtttest",slip44:1,slug:"metadot-testnet",testnet:!0},Tgt={chain:"DeFiVerse",chainId:16116,explorers:[{name:"DeFiVerse Explorer",url:"https://scan.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:16116,parent:{type:"L2",chain:"eip155-248"},rpc:["https://16116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-verse.org/"],shortName:"DFV",slug:"defiverse",testnet:!1},xgt={chain:"Avalanche",chainId:16316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stripe Test",nativeCurrency:{name:"Stripe Test Token",symbol:"STR",decimals:18},networkId:16316,redFlags:[],rpc:["https://16316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Stripe Test",slug:"stripe-test",testnet:!0},Egt={chain:"Genesys",chainId:16507,explorers:[{name:"GchainExplorer",url:"https://gchainexplorer.genesys.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie6nai3yhykcdlsyshn5lbcbyba5y7zwsqg6owcfek2urhoucr6rm",width:800,height:800,format:"png"},infoURL:"https://www.genesys.network/",name:"Genesys Mainnet",nativeCurrency:{name:"Genesys",symbol:"GSYS",decimals:18},networkId:16507,rpc:["https://16507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesys.network"],shortName:"Genesys",slug:"genesys",testnet:!1},_gt={chain:"Avalanche",chainId:16587,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I1",nativeCurrency:{name:"QI0603I1 Token",symbol:"ODK",decimals:18},networkId:16587,redFlags:[],rpc:["https://16587.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I1",slug:"qi0603i1",testnet:!0},Agt={chain:"IRIShub",chainId:16688,explorers:[{name:"IRISHub Testnet Cosmos Explorer (IOBScan)",url:"https://nyancat.iobscan.io",standard:"none",icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub Testnet",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:16688,rpc:["https://16688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.nyancat.irisnet.org"],shortName:"nyancat",slip44:1,slug:"irishub-testnet",testnet:!0},Igt={chain:"ambnet",chainId:16718,explorers:[{name:"AirDAO Network Explorer",url:"https://airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://airdao.io",name:"AirDAO Mainnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:16718,rpc:["https://16718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus.io"],shortName:"airdao",slug:"airdao",testnet:!1},Cgt={chain:"IVAR",chainId:16888,explorers:[{name:"ivarscan",url:"https://testnet.ivarscan.com",standard:"EIP3091"}],faucets:["https://tfaucet.ivarex.com/"],icon:{url:"ipfs://QmV8UmSwqGF2fxrqVEBTHbkyZueahqyYtkfH2RBF5pNysM",width:519,height:519,format:"svg"},infoURL:"https://ivarex.com",name:"IVAR Chain Testnet",nativeCurrency:{name:"tIvar",symbol:"tIVAR",decimals:18},networkId:16888,rpc:["https://16888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.ivarex.com"],shortName:"tivar",slip44:1,slug:"ivar-chain-testnet",testnet:!0},kgt={chain:"ETH",chainId:17e3,explorers:[{name:"Holesky Explorer",url:"https://holesky.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"otterscan-holesky",url:"https://holesky.otterscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"Holesky Etherscan",url:"https://holesky.etherscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.holesky.ethpandaops.io","https://holesky-faucet.pk910.de"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://holesky.ethpandaops.io",name:"Holesky",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:17e3,redFlags:[],rpc:["https://17000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.ethpandaops.io","https://ethereum-holesky-rpc.publicnode.com","wss://ethereum-holesky-rpc.publicnode.com","https://holesky.drpc.org","wss://holesky.drpc.org","https://rpc-holesky.rockx.com"],shortName:"holesky",slip44:1,slug:"holesky",status:"incubating",testnet:!0,title:"Ethereum Testnet Holesky"},Sgt={chain:"ETH",chainId:17001,explorers:[{name:"Redstone Holesky Explorer",url:"https://explorer.holesky.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz/docs/network-info",name:"Redstone Holesky Testnet",nativeCurrency:{name:"Redstone Testnet Ether",symbol:"ETH",decimals:18},networkId:17001,rpc:["https://17001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.redstone.xyz"],shortName:"redstone-holesky",slip44:1,slug:"redstone-holesky-testnet",status:"deprecated",testnet:!0},Rgt={chain:"Avalanche",chainId:17026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI1204I3",nativeCurrency:{name:"QI1204I3 Token",symbol:"BHOX",decimals:18},networkId:17026,redFlags:[],rpc:["https://17026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/e7aeac38-06b2-4aaa-87b4-2c2da10fa43e"],shortName:"QI1204I3",slug:"qi1204i3",testnet:!0},Mgt={chain:"ETH",chainId:17069,explorers:[{name:"blockscout",url:"https://explorer.garnetchain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmWhHvjbjTiNNsHKpbEz9rxSt4CCL2Q5xVZjk8eQkp82B9",width:600,height:600,format:"png"},infoURL:"https://redstone.xyz",name:"Garnet Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17069,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://garnetchain.com/deposit"}]},redFlags:[],rpc:["https://17069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.garnetchain.com","wss://rpc.garnetchain.com"],shortName:"garnet",slug:"garnet-holesky",testnet:!0},Bgt={chain:"DeFiVerse Testnet",chainId:17117,explorers:[{name:"DeFiVerse Testnet Explorer",url:"https://scan-testnet.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Testnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:17117,rpc:["https://17117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.defi-verse.org/"],shortName:"DFV-testnet",slug:"defiverse-testnet",testnet:!0},Dgt={chain:"G8C",chainId:17171,explorers:[{name:"G8Chain",url:"https://mainnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Mainnet",nativeCurrency:{name:"G8Chain",symbol:"G8C",decimals:18},networkId:17171,rpc:["https://17171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneg8.network"],shortName:"G8Cm",slug:"g8chain",testnet:!1},Pgt={chain:"ECLIPSE",chainId:17172,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"http://eclipsenet.io",name:"Eclipse Subnet",nativeCurrency:{name:"Eclipse",symbol:"ECLP",decimals:16},networkId:17172,rpc:["https://17172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipse/testnet/rpc"],shortName:"eclipse",slug:"eclipse-subnet",testnet:!0},Lgt={chain:"PLT",chainId:17180,explorers:[{name:"Palettescan",url:"https://testnet.palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Testnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:17180,rpc:["https://17180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-opennet.com:22000"],shortName:"PCT",slip44:1,slug:"palette-chain-testnet",testnet:!0},Fgt={chain:"ETH",chainId:17186,explorers:[],faucets:[],features:[],name:"lazy-crimson-coral",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17186,parent:{type:"L3",chain:"Base",bridges:[{url:"https://lazy-crimson-coral-cotlv0ftqf.testnets.superbridge.app"}]},redFlags:[],rpc:["https://17186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-lazy-crimson-coral-cotlv0ftqf.t.conduit.xyz"],shortName:"lazy-crimson-coral",slug:"lazy-crimson-coral",testnet:!0},Ngt={chain:"KONET",chainId:17217,explorers:[{name:"konet-explorer",url:"https://explorer.kon-wallet.com",standard:"EIP3091"},{name:"Konetscan",url:"https://konetexplorer.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSszu2AhLPgcp8SZYiBYCQiRVwb9ueqbnGbcTx9H9CJjZ",width:1851,height:1851,format:"png"},infoURL:"https://konetmain.com",name:"KONET Mainnet",nativeCurrency:{name:"KONET",symbol:"KONET",decimals:18},networkId:17217,redFlags:[],rpc:["https://17217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kon-wallet.com"],shortName:"KONET",slip44:1,slug:"konet",testnet:!1},Ogt={chain:"Avalanche",chainId:17511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PST 1-17-24",nativeCurrency:{name:"PST 1-17-24 Token",symbol:"MUB",decimals:18},networkId:17511,redFlags:[],rpc:["https://17511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"PST 1-17-24",slug:"pst-1-17-24",testnet:!0},Ugt={chain:"EOS",chainId:17777,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:17777,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.evm.eosnetwork.com"},{url:"https://app.multichain.org"}]},rpc:["https://17777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.eosnetwork.com"],shortName:"eos",slug:"eos-evm-network",testnet:!1},Hgt={chain:"Game Network",chainId:18e3,explorers:[{name:"Game Network",url:"https://explorer.fod.games",standard:"EIP3091"}],faucets:[],infoURL:"https://goexosphere.com",name:"Frontier of Dreams Testnet",nativeCurrency:{name:"ZKST",symbol:"ZKST",decimals:18},networkId:18e3,rpc:["https://18000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fod.games/"],shortName:"ZKST",slip44:1,slug:"frontier-of-dreams-testnet",testnet:!0},zgt={chain:"Avalanche",chainId:18105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found Test",nativeCurrency:{name:"Found Test Token",symbol:"TVJ",decimals:18},networkId:18105,redFlags:[],rpc:["https://18105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found Test",slug:"found-test",testnet:!0},Wgt={chain:"Avalanche",chainId:18109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7737 Testnet",nativeCurrency:{name:"QaUser7737 Testnet Token",symbol:"XSP",decimals:18},networkId:18109,redFlags:[],rpc:["https://18109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7737 Testnet",slug:"qauser7737-testnet",testnet:!0},qgt={chain:"Smart Trade Networks",chainId:18122,explorers:[{name:"stnscan",url:"https://stnscan.com",standard:"none",icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"},infoURL:"https://www.smarttradenetworks.com",name:"Smart Trade Networks",nativeCurrency:{name:"STN",symbol:"STN",decimals:18},networkId:18122,rpc:["https://18122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beefledgerwallet.com:8544"],shortName:"STN",slug:"smart-trade-networks",testnet:!1},jgt={chain:"POM",chainId:18159,explorers:[{name:"explorer-proofofmemes",url:"https://memescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmePhfibWz9jnGUqF9Rven4x734br1h3LxrChYTEjbbQvo",width:256,height:256,format:"png"},infoURL:"https://proofofmemes.org",name:"Proof Of Memes",nativeCurrency:{name:"Proof Of Memes",symbol:"POM",decimals:18},networkId:18159,rpc:["https://18159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.memescan.io","https://mainnet-rpc2.memescan.io","https://mainnet-rpc3.memescan.io","https://mainnet-rpc4.memescan.io"],shortName:"pom",slug:"proof-of-memes",testnet:!1,title:"Proof Of Memes Mainnet"},Ggt={chain:"G8C",chainId:18181,explorers:[{name:"G8Chain",url:"https://testnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Testnet",nativeCurrency:{name:"G8Coin",symbol:"G8C",decimals:18},networkId:18181,rpc:["https://18181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneg8.network"],shortName:"G8Ct",slip44:1,slug:"g8chain-testnet",testnet:!0},Kgt={chain:"unreal",chainId:18231,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal-old",nativeCurrency:{name:"unreal Ether",symbol:"ETH",decimals:18},networkId:18231,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://18231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal.gelato.digital","wss://ws.unreal.gelato.digital"],shortName:"unreal-old",slip44:60,slug:"unreal-old",status:"deprecated",testnet:!0,title:"unreal testnet for re.al"},Qgt={chain:"unreal",chainId:18233,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal",nativeCurrency:{name:"unreal Ether",symbol:"reETH",decimals:18},networkId:18233,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://bridge.gelato.network/bridge/unreal"}]},rpc:["https://18233.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal-orbit.gelato.digital","wss://ws.unreal-orbit.gelato.digital"],shortName:"unreal",slip44:60,slug:"unreal",testnet:!0,title:"unreal testnet for re.al"},Vgt={chain:"Avalanche",chainId:18263,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528S1T",nativeCurrency:{name:"QR0528S1T Token",symbol:"STZ",decimals:18},networkId:18263,redFlags:[],rpc:["https://18263.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528s1t/testnet/rpc"],shortName:"QR0528S1T",slug:"qr0528s1t",testnet:!0},Ygt={chain:"Avalanche",chainId:18303,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Zeroone Testnet",nativeCurrency:{name:"Zeroone Testnet Token",symbol:"ZERO",decimals:18},networkId:18303,redFlags:[],rpc:["https://18303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonetes/testnet/rpc"],shortName:"Zeroone Testnet",slug:"zeroone-testnet",testnet:!0},$gt={chain:"MXC zkEVM",chainId:18686,explorers:[{name:"MXC zkEVM Moonchain",url:"https://explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"MXC zkEVM Moonchain",nativeCurrency:{name:"MXC zkEVM Moonchain",symbol:"MXC",decimals:18},networkId:18686,rpc:["https://18686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mxc.com"],shortName:"MXCzkEVM",slug:"mxc-zkevm-moonchain",testnet:!1},Jgt={chain:"Titan (TKX)",chainId:18888,explorers:[{name:"Titan Explorer",url:"https://tkxscan.io/Titan",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX)",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18888,rpc:["https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-json-rpc.titanlab.io","https://titan-json-rpc-tokyo.titanlab.io","https://titan-json-rpc-seoul.titanlab.io","https://titan-json-rpc-hongkong.titanlab.io"],shortName:"titan_tkx",slip44:1,slug:"titan-tkx",testnet:!1},Xgt={chain:"Titan (TKX)",chainId:18889,explorers:[{name:"Titan Explorer",url:"https://titan-testnet-explorer-light.titanlab.io/Titan%20Testnet",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX) Testnet",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18889,rpc:["https://18889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-testnet-json-rpc.titanlab.io","https://titan-testnet-json-rpc-1.titanlab.io","https://titan-testnet-json-rpc-2.titanlab.io"],shortName:"titan_tkx-testnet",slip44:1,slug:"titan-tkx-testnet",testnet:!0},Zgt={chain:"Avalanche",chainId:18898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"NLD",decimals:18},networkId:18898,redFlags:[],rpc:["https://18898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-18898",testnet:!0},evt={chain:"HOME Verse",chainId:19011,explorers:[{name:"HOME Verse Explorer",url:"https://explorer.oasys.homeverse.games",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeGb65zSworzoHmwK3jdkPtEsQZMUSJRxf8K8Feg56soU",width:597,height:597,format:"png"},infoURL:"https://www.homeverse.games/",name:"HOME Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:19011,parent:{type:"L2",chain:"eip155-248"},rpc:["https://19011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.homeverse.games/"],shortName:"HMV",slug:"home-verse",testnet:!1},tvt={chain:"Avalanche",chainId:19110,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s3t",nativeCurrency:{name:"QI0521s3t Token",symbol:"VTV",decimals:18},networkId:19110,redFlags:[],rpc:["https://19110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s3t",slug:"qi0521s3t",testnet:!0},nvt={chain:"Avalanche",chainId:19112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304s1 Testnet",nativeCurrency:{name:"QI0304s1 Testnet Token",symbol:"LKG",decimals:18},networkId:19112,redFlags:[],rpc:["https://19112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304s1 Testnet",slug:"qi0304s1-testnet",testnet:!0},avt={chain:"DCSM",chainId:19224,explorers:[{name:"Decentraconnect Social",url:"https://decentraconnect.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmatvJXLgMthjXwydGBVFRtga9fZXJ3qFEVJ6cMRxniFUc",width:307,height:314,format:"png"},infoURL:"https://docs.decentraconnect.io",name:"Decentraconnect Social",nativeCurrency:{name:"Decentraconnect Social",symbol:"DCSM",decimals:18},networkId:19224,rpc:["https://19224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.decentraconnect.io"],shortName:"DCSMs",slug:"decentraconnect-social",testnet:!1},rvt={chain:"Magnet",chainId:19527,explorers:[],faucets:[],infoURL:"https://magnet.magport.io/",name:"Magnet Network",nativeCurrency:{name:"Magnet Network",symbol:"DOT",decimals:18},networkId:19527,rpc:["https://19527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://magnet-rpc.magport.io/"],shortName:"mgt",slug:"magnet-network",testnet:!1},fvt={chain:"LBRY",chainId:19600,explorers:[{name:"LBRY Block Explorer",url:"https://explorer.lbry.com",standard:"none",icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"},infoURL:"https://lbry.com",name:"LBRY Mainnet",nativeCurrency:{name:"LBRY Credits",symbol:"LBC",decimals:8},networkId:19600,rpc:["https://19600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://lbry.nl/rpc"],shortName:"LBRY",slip44:140,slug:"lbry",testnet:!1},ivt={chain:"Avalanche",chainId:19683,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 12-07 V1",nativeCurrency:{name:"ST 12-07 V1 Token",symbol:"XRL",decimals:18},networkId:19683,redFlags:[],rpc:["https://19683.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d26b972e-1832-4d3a-bf7b-d0ce1f4331c2"],shortName:"ST 12-07 V1",slug:"st-12-07-v1",testnet:!0},svt={chain:"BTCIX",chainId:19845,explorers:[{name:"BTCIXScan",url:"https://btcixscan.com",standard:"none"}],faucets:[],infoURL:"https://bitcolojix.org",name:"BTCIX Network",nativeCurrency:{name:"BTCIX Network",symbol:"BTCIX",decimals:18},networkId:19845,rpc:["https://19845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.btcix.org/rpc"],shortName:"btcix",slug:"btcix-network",testnet:!1},ovt={chain:"ETHW",chainId:20001,explorers:[{name:"CamelarkScan",url:"https://scan.camelark.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeJerrsURFNt2LL7DE7TxeunjrQXiuezdfHyqmsbwX3MZ",width:128,height:128,format:"png"},infoURL:"https://www.camelark.com",name:"Camelark Mainnet",nativeCurrency:{name:"EthereumPoW",symbol:"ETHW",decimals:18},networkId:20001,rpc:["https://20001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-http-rpc.camelark.com"],shortName:"Camelark",slug:"camelark",testnet:!1},cvt={chain:"NIZA",chainId:20041,explorers:[{name:"NizaScan",url:"https://nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Mainnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20041,rpc:["https://20041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nizascan.io/rpc"],shortName:"niza",slug:"niza-chain",testnet:!1},dvt={chain:"NIZA",chainId:20073,explorers:[{name:"NizaScan",url:"https://testnet.nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Testnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20073,rpc:["https://20073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.nizascan.io/rpc"],shortName:"niza_testnet",slug:"niza-chain-testnet",testnet:!0},lvt={chain:"Avalanche",chainId:20139,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0129I1",nativeCurrency:{name:"QR0129I1 Token",symbol:"YOD",decimals:18},networkId:20139,redFlags:[],rpc:["https://20139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0129i1/testnet/rpc"],shortName:"QR0129I1",slug:"qr0129i1",testnet:!0},uvt={chain:"Avalanche",chainId:20141,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet",nativeCurrency:{name:"Shelby's Testnet Token",symbol:"FUC",decimals:18},networkId:20141,redFlags:[],rpc:["https://20141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c6fcfa18-e711-4f91-b8d4-ad59cfd30316"],shortName:"Shelby's Testnet",slug:"shelby-s-testnet",testnet:!0},pvt={chain:"Avalanche",chainId:20519,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4113 Testnet",nativeCurrency:{name:"QaUser4113 Testnet Token",symbol:"FYP",decimals:18},networkId:20519,redFlags:[],rpc:["https://20519.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4113 Testnet",slug:"qauser4113-testnet",testnet:!0},hvt={chain:"CLO",chainId:20729,explorers:[],faucets:["https://faucet.callisto.network/"],infoURL:"https://callisto.network",name:"Callisto Testnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:79,rpc:["https://20729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.callisto.network/"],shortName:"CLOTestnet",slip44:1,slug:"callisto-testnet",testnet:!0},mvt={chain:"P12",chainId:20736,explorers:[{name:"P12 Chain Explorer",url:"https://explorer.p12.games",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieiro4imoujeewc4r4thf5hxj47l56j2iwuz6d6pdj6ieb6ub3h7e",width:512,height:512,format:"png"},infoURL:"https://p12.network",name:"P12 Chain",nativeCurrency:{name:"Hooked P2",symbol:"hP2",decimals:18},networkId:20736,rpc:["https://20736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-chain.p12.games"],shortName:"p12",slug:"p12-chain",testnet:!1},bvt={chain:"JONO11",chainId:20765,explorers:[{name:"JONO11 Explorer",url:"https://subnets-test.avax.network/jono11",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono11 Subnet",nativeCurrency:{name:"Jono11 Token",symbol:"JONO",decimals:18},networkId:20765,rpc:["https://20765.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono11/testnet/rpc"],shortName:"jono11",slug:"jono11-subnet",testnet:!0},yvt={chain:"Avalanche",chainId:20948,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"GoldFever",nativeCurrency:{name:"GoldFever Token",symbol:"GFT",decimals:18},networkId:20948,redFlags:[],rpc:["https://20948.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/goldfever/testnet/rpc"],shortName:"GoldFever",slug:"goldfever",testnet:!0},gvt={chain:"C4EI",chainId:21004,explorers:[{name:"C4EI sirato",url:"https://exp.c4ei.net",standard:"none",icon:{url:"ipfs://QmNPQBLEau3DsUYczt9QCLqZd9jK488GhF5y2SbtLRSrvB",width:512,height:512,format:"png"}}],faucets:["https://play.google.com/store/apps/details?id=net.c4ei.fps2"],infoURL:"https://c4ei.net",name:"C4EI",nativeCurrency:{name:"C4EI",symbol:"C4EI",decimals:18},networkId:21004,rpc:["https://21004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ei.net"],shortName:"c4ei",slug:"c4ei",testnet:!1},vvt={chain:"AAH",chainId:21133,explorers:[{name:"AAH Blockscout",url:"https://exp.c4ex.net",standard:"EIP3091",icon:{url:"ipfs://QmY7HDEj3vnTZzCmenotr48nYyD13R2Fyd5t12R9ARu4wJ",width:256,height:256,format:"png"}}],faucets:["https://t.me/c4eiAirdrop"],infoURL:"https://c4ex.net",name:"All About Healthy",nativeCurrency:{name:"AAH",symbol:"AAH",decimals:18},networkId:21133,rpc:["https://21133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ex.net"],shortName:"aah",slug:"all-about-healthy",testnet:!1},wvt={chain:"Avalanche",chainId:21178,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I2",nativeCurrency:{name:"QI0430I2 Token",symbol:"ETI",decimals:18},networkId:21178,redFlags:[],rpc:["https://21178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I2",slug:"qi0430i2",testnet:!0},Tvt={chain:"DCpay",chainId:21223,explorers:[{name:"DCpay Mainnet Explorer",url:"https://mainnet.dcpay.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Mainnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21223,rpc:["https://21223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcpay.io"],shortName:"DCPm",slug:"dcpay",testnet:!1},xvt={chain:"DCpay",chainId:21224,explorers:[{name:"DCpay Testnet Explorer",url:"https://testnet.dcpay.io",standard:"EIP3091"}],faucets:["https://faucet.dcpay.io"],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Testnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21224,rpc:["https://21224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dcpay.io"],shortName:"DCPt",slug:"dcpay-testnet",testnet:!0},Evt={chain:"CENNZnet",chainId:21337,explorers:[{name:"UNcover",url:"https://uncoverexplorer.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Azalea",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:21337,rpc:["https://21337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cennznet.unfrastructure.io/public"],shortName:"cennz-a",slug:"cennznet-azalea",testnet:!1},_vt={chain:"Avalanche",chainId:21758,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 01-16 Multi",nativeCurrency:{name:"FST 01-16 Multi Token",symbol:"RUI",decimals:18},networkId:21758,redFlags:[],rpc:["https://21758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 01-16 Multi",slug:"fst-01-16-multi",testnet:!0},Avt={chain:"OML",chainId:21816,explorers:[{name:"omChain Explorer",url:"https://explorer.omchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQtEHaejiDbmiCvbBYw9jNQv3DLK5XHCQwLRfnLNpdN5j",width:256,height:256,format:"png"},infoURL:"https://omchain.io",name:"omChain Mainnet",nativeCurrency:{name:"omChain",symbol:"OMC",decimals:18},networkId:21816,rpc:["https://21816.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.omchain.io"],shortName:"omc",slug:"omchain",testnet:!1},Ivt={chain:"Avalanche",chainId:21825,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6991",nativeCurrency:{name:"QaUser6991 Token",symbol:"HIO",decimals:18},networkId:21825,redFlags:[],rpc:["https://21825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6991",slug:"qauser6991",testnet:!0},Cvt={chain:"BSL",chainId:21912,explorers:[{name:"BSL Mainnet Explorer",url:"https://scan.nftruth.io",standard:"EIP3091"}],faucets:[],infoURL:"https://bsquarelab.com/",name:"BSL Mainnet",nativeCurrency:{name:"Origin NFT",symbol:"ONF",decimals:18},networkId:21912,rpc:["https://21912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc-mainnet.nftruth.io:8545","ws://rpc-mainnet.nftruth.io:8645"],shortName:"onf",slug:"bsl",testnet:!1},kvt={chain:"Taycan",chainId:22023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://taycan-evmscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer(BigDipper)",url:"https://taycan-cosmoscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan",nativeCurrency:{name:"shuffle",symbol:"SFL",decimals:18},networkId:22023,rpc:["https://22023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taycan-rpc.hupayx.io:8545"],shortName:"SFL",slug:"taycan",testnet:!1},Svt={chain:"Avalanche",chainId:22039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1631",nativeCurrency:{name:"QaUser1631 Token",symbol:"UVA",decimals:18},networkId:22039,redFlags:[],rpc:["https://22039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1631",slug:"qauser1631",testnet:!0},Rvt={chain:"ambnet-test",chainId:22040,explorers:[{name:"AirDAO Network Explorer",url:"https://testnet.airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://testnet.airdao.io",name:"AirDAO Testnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:22040,rpc:["https://22040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus-test.io"],shortName:"airdao-test",slip44:1,slug:"airdao-testnet",testnet:!0},Mvt={chain:"ETH",chainId:22222,explorers:[{name:"Nautscan",url:"https://nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Mainnet",nativeCurrency:{name:"Zebec",symbol:"ZBC",decimals:18},networkId:22222,rpc:["https://22222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nautilus.nautchain.xyz"],shortName:"NAUTCHAIN",slug:"nautilus",testnet:!1},Bvt={chain:"GoldXTestnet",chainId:22324,explorers:[{name:"GoldXChain Testnet Explorer",url:"https://testnet-explorer.goldxchain.io",standard:"EIP3091"}],faucets:["https://faucet.goldxchain.io"],infoURL:"https://goldxchain.io",name:"GoldXChain Testnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:22324,rpc:["https://22324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.goldxchain.io"],shortName:"goldx-testnet",slug:"goldxchain-testnet",testnet:!0},Dvt={chain:"Avalanche",chainId:22662,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA5-03-07 Testnet",nativeCurrency:{name:"QA5-03-07 Testnet Token",symbol:"TYP",decimals:18},networkId:22662,redFlags:[],rpc:["https://22662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QA5-03-07 Testnet",slug:"qa5-03-07-testnet",testnet:!0},Pvt={chain:"MAPO",chainId:22776,explorers:[{name:"maposcan",url:"https://maposcan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcLdQ8gM4iHv3CCKA9HuxmzTxY4WhjWtepUVCc3dpzKxD",width:512,height:512,format:"png"},infoURL:"https://mapprotocol.io/",name:"MAP Protocol",nativeCurrency:{name:"MAPO",symbol:"MAPO",decimals:18},networkId:22776,rpc:["https://22776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maplabs.io"],shortName:"mapo",slip44:60,slug:"map-protocol",testnet:!1},Lvt={chain:"Avalanche",chainId:22886,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"MBM",decimals:18},networkId:22886,redFlags:[],rpc:["https://22886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet",testnet:!0},Fvt={chain:"ETH",chainId:22985,explorers:[{name:"beyond-sepolia-3wng1zu3j3 explorer",url:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",name:"Beyond Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:22985,redFlags:[],rpc:["https://22985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-sepolia-3wng1zu3j3.t.conduit.xyz"],shortName:"beyond-sepolia",slug:"beyond-sepolia",testnet:!0},Nvt={chain:"ABN",chainId:23006,explorers:[{name:"Antofy Testnet",url:"https://test.antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Testnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:23006,rpc:["https://23006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.antofy.io"],shortName:"ABNt",slip44:1,slug:"antofy-testnet",testnet:!0},Ovt={chain:"Opside",chainId:23118,explorers:[{name:"opsideInfo",url:"https://opside.info",standard:"EIP3091"}],faucets:["https://faucet.opside.network"],icon:{url:"ipfs://QmeCyZeibUoHNoYGzy1GkzH2uhxyRHKvH51PdaUMer4VTo",width:591,height:591,format:"png"},infoURL:"https://opside.network",name:"Opside Testnet",nativeCurrency:{name:"IDE",symbol:"IDE",decimals:18},networkId:23118,rpc:["https://23118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.opside.network"],shortName:"opside",slip44:1,slug:"opside-testnet",testnet:!0},Uvt={chain:"Sapphire",chainId:23294,explorers:[{name:"Oasis Sapphire Explorer",url:"https://explorer.oasis.io/mainnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},networkId:23294,rpc:["https://23294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sapphire.oasis.io","wss://sapphire.oasis.io/ws"],shortName:"sapphire",slug:"oasis-sapphire",testnet:!1},Hvt={chain:"Sapphire",chainId:23295,explorers:[{name:"Oasis Sapphire Testnet Explorer",url:"https://explorer.oasis.io/testnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire Testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},networkId:23295,rpc:["https://23295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.sapphire.oasis.io","wss://testnet.sapphire.oasis.io/ws"],shortName:"sapphire-testnet",slip44:1,slug:"oasis-sapphire-testnet",testnet:!0},zvt={chain:"Avalanche",chainId:23444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402272",nativeCurrency:{name:"QI M 2402272 Token",symbol:"OVU",decimals:18},networkId:23444,redFlags:[],rpc:["https://23444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402272",slug:"qi-m-2402272",testnet:!0},Wvt={chain:"DreyerX",chainId:23451,explorers:[{name:"drxscan",url:"https://scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23451,rpc:["https://23451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dreyerx.com"],shortName:"dreyerx",slug:"dreyerx",testnet:!1},qvt={chain:"DreyerX",chainId:23452,explorers:[{name:"drxscan",url:"https://testnet-scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Testnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23452,rpc:["https://23452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dreyerx.com"],shortName:"dreyerx-testnet",slug:"dreyerx-testnet",testnet:!0},jvt={chain:"Avalanche",chainId:23812,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"kjCohan Testnet",nativeCurrency:{name:"kjCohan Testnet Token",symbol:"DBM",decimals:18},networkId:23812,redFlags:[],rpc:["https://23812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"kjCohan Testnet",slug:"kjcohan-testnet",testnet:!0},Gvt={chain:"ETH",chainId:23888,explorers:[{name:"Blast Testnet",url:"http://testnet-explorer.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:23888,rpc:["https://23888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet-rpc.blastblockchain.com"],shortName:"blastT",slug:"blast-testnet",testnet:!0},Kvt={chain:"Avalanche",chainId:23934,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 11-16 v7 Regression",nativeCurrency:{name:"ST 11-16 v7 Regression Token",symbol:"WLA",decimals:18},networkId:23934,redFlags:[],rpc:["https://23934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 11-16 v7 Regression",slug:"st-11-16-v7-regression",testnet:!0},Qvt={chain:"Avalanche",chainId:24010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stealthnet Testing ",nativeCurrency:{name:"Stealthnet Testing Token",symbol:"AVCLDDEV",decimals:18},networkId:24010,redFlags:[],rpc:["https://24010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stealthnet/testnet/rpc"],shortName:"Stealthnet Testing ",slug:"stealthnet-testing",testnet:!0},Vvt={chain:"Avalanche",chainId:24070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0315I2 Testnet",nativeCurrency:{name:"QI0315I2 Testnet Token",symbol:"GAW",decimals:18},networkId:24070,redFlags:[],rpc:["https://24070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0315I2 Testnet",slug:"qi0315i2-testnet",testnet:!0},Yvt={chain:"Avalanche",chainId:24347,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 02-27",nativeCurrency:{name:"Tnet 02-27 Token",symbol:"TJO",decimals:18},networkId:24347,redFlags:[],rpc:["https://24347.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 02-27",slug:"tnet-02-27",testnet:!0},$vt={chain:"WEB",chainId:24484,explorers:[],faucets:[],infoURL:"https://webchain.network",name:"Webchain",nativeCurrency:{name:"Webchain Ether",symbol:"WEB",decimals:18},networkId:37129,rpc:[],shortName:"web",slip44:227,slug:"webchain",testnet:!1},Jvt={chain:"Avalanche",chainId:24538,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402133",nativeCurrency:{name:"QI M 2402133 Token",symbol:"XVL",decimals:18},networkId:24538,redFlags:[],rpc:["https://24538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402133",slug:"qi-m-2402133",testnet:!0},Xvt={chain:"Avalanche",chainId:24545,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9167 Testnet",nativeCurrency:{name:"QaUser9167 Testnet Token",symbol:"HBG",decimals:18},networkId:24545,redFlags:[],rpc:["https://24545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9167 Testnet",slug:"qauser9167-testnet",testnet:!0},Zvt={chain:"Avalanche",chainId:24668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4994 Testnet",nativeCurrency:{name:"QaUser4994 Testnet Token",symbol:"PBE",decimals:18},networkId:24668,redFlags:[],rpc:["https://24668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4994 Testnet",slug:"qauser4994-testnet",testnet:!0},ewt={chain:"MINTME",chainId:24734,explorers:[],faucets:[],infoURL:"https://www.mintme.com",name:"MintMe.com Coin",nativeCurrency:{name:"MintMe.com Coin",symbol:"MINTME",decimals:18},networkId:37480,rpc:["https://24734.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.mintme.com"],shortName:"mintme",slug:"mintme-com-coin",testnet:!1},twt={chain:"Avalanche",chainId:24867,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser45 Testnet",nativeCurrency:{name:"QaUser45 Testnet Token",symbol:"ZAG",decimals:18},networkId:24867,redFlags:[],rpc:["https://24867.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser45 Testnet",slug:"qauser45-testnet",testnet:!0},nwt={chain:"LiquidLayer",chainId:25186,explorers:[{name:"LiquidLayer Mainnet Explorer",url:"https://scan.liquidlayer.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://scan.liquidlayer.network",name:"LiquidLayer Mainnet",nativeCurrency:{name:"LiquidLayer",symbol:"LILA",decimals:18},networkId:25186,rpc:["https://25186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.liquidlayer.network"],shortName:"LILA",slug:"liquidlayer",testnet:!1},awt={chain:"Avalanche",chainId:25284,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405021",nativeCurrency:{name:"QIM2405021 Token",symbol:"UZP",decimals:18},networkId:25284,redFlags:[],rpc:["https://25284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405021",slug:"qim2405021",testnet:!0},rwt={chain:"Avalanche",chainId:25688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TD",nativeCurrency:{name:"QR0520T1TD Token",symbol:"DYH",decimals:18},networkId:25688,redFlags:[],rpc:["https://25688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1td/testnet/rpc"],shortName:"QR0520T1TD",slug:"qr0520t1td",testnet:!0},fwt={chain:"tALV",chainId:25839,explorers:[{name:"AlveyScan Testnet",url:"https://alveytestnet.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:["https://faucet.alveytestnet.com"],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Testnet",nativeCurrency:{name:"AlveyCoin Testnet",symbol:"tALV",decimals:18},networkId:25839,rpc:["https://25839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alvey.io"],shortName:"talv",slug:"alveychain-testnet",testnet:!0},iwt={chain:"HammerChain",chainId:25888,explorers:[{name:"Hammer Chain Explorer",url:"https://www.hammerchain.io",standard:"none"}],faucets:[],infoURL:"https://www.hammerchain.io",name:"Hammer Chain Mainnet",nativeCurrency:{name:"GOLDT",symbol:"GOLDT",decimals:18},networkId:25888,rpc:["https://25888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.hammerchain.io/rpc"],shortName:"GOLDT",slug:"hammer-chain",testnet:!1},swt={chain:"BKC",chainId:25925,explorers:[{name:"bkcscan-testnet",url:"https://testnet.bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.bitkubchain.com"],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain Testnet",nativeCurrency:{name:"Bitkub Coin",symbol:"tKUB",decimals:18},networkId:25925,rpc:["https://25925.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitkubchain.io","wss://wss-testnet.bitkubchain.io"],shortName:"bkct",slip44:1,slug:"bitkub-chain-testnet",testnet:!0},owt={chain:"Avalanche",chainId:25968,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5275",nativeCurrency:{name:"QaUser5275 Token",symbol:"EZL",decimals:18},networkId:25968,redFlags:[],rpc:["https://25968.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5275",slug:"qauser5275",testnet:!0},cwt={chain:"tFRM",chainId:26026,explorers:[{name:"polkadotjs",url:"https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Ftestnet.dev.svcs.ferrumnetwork.io#/explorer",standard:"none"}],faucets:["https://testnet.faucet.ferrumnetwork.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ferrum.network",name:"Ferrum Testnet",nativeCurrency:{name:"Ferrum",symbol:"tFRM",decimals:18},networkId:26026,rpc:["https://26026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.dev.svcs.ferrumnetwork.io:9933"],shortName:"frm",slip44:1,slug:"ferrum-testnet",testnet:!0},dwt={chain:"Avalanche",chainId:26031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7894 Testnet",nativeCurrency:{name:"QaUser7894 Testnet Token",symbol:"YUT",decimals:18},networkId:26031,redFlags:[],rpc:["https://26031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7894 Testnet",slug:"qauser7894-testnet",testnet:!0},lwt={chain:"Avalanche",chainId:26563,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2404261",nativeCurrency:{name:"QIM2404261 Token",symbol:"YCW",decimals:18},networkId:26563,redFlags:[],rpc:["https://26563.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2404261",slug:"qim2404261",testnet:!0},uwt={chain:"HTZ",chainId:26600,explorers:[{name:"Hertz Scan",url:"https://hertzscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"},infoURL:"https://www.hertz-network.com",name:"Hertz Network Mainnet",nativeCurrency:{name:"Hertz",symbol:"HTZ",decimals:18},networkId:26600,rpc:["https://26600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hertzscan.com"],shortName:"HTZ",slug:"hertz-network",testnet:!1},pwt={chain:"Avalanche",chainId:26730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet-AJJ",nativeCurrency:{name:"Testnet-AJJ Token",symbol:"AJJ",decimals:18},networkId:26730,redFlags:[],rpc:["https://26730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet-AJJ",slug:"testnet-ajj",testnet:!0},hwt={chain:"OasisChain",chainId:26863,explorers:[{name:"OasisChain Explorer",url:"https://scan.oasischain.io",standard:"EIP3091"}],faucets:["http://faucet.oasischain.io"],infoURL:"https://scan.oasischain.io",name:"OasisChain Mainnet",nativeCurrency:{name:"OAC",symbol:"OAC",decimals:18},networkId:26863,rpc:["https://26863.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasischain.io","https://rpc2.oasischain.io","https://rpc3.oasischain.io"],shortName:"OAC",slug:"oasischain",testnet:!1},mwt={chain:"KLAOS Nova",chainId:27181,explorers:[{name:"blockscout",url:"https://blockscout.klaosnova.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"KLAOS Nova",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:27181,rpc:["https://27181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaosnova.laosfoundation.io","wss://rpc.klaosnova.laosfoundation.io"],shortName:"klaosnova",slug:"klaos-nova",testnet:!0,title:"KLAOS Nova Test Chain"},bwt={chain:"ETH",chainId:27483,explorers:[{name:"Nanon Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:27483,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.nanon.network"}]},rpc:["https://27483.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.nanon.network"],shortName:"Nanon-Testnet",slip44:1,slug:"nanon-sepolia",testnet:!0,title:"Nanon Sepolia Rollup Testnet"},ywt={chain:"Avalanche",chainId:27550,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405065 NO INTEROP NO SIM",nativeCurrency:{name:"QIM2405065 NO INTEROP NO SIM Token",symbol:"BLY",decimals:18},networkId:27550,redFlags:[],rpc:["https://27550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim2405065/testnet/rpc"],shortName:"QIM2405065 NO INTEROP NO SIM",slug:"qim2405065-no-interop-no-sim",testnet:!0},gwt={chain:"Avalanche",chainId:27827,explorers:[{name:"ZEROONEMAI Explorer",url:"https://subnets.avax.network/zeroonemai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"zeroone Mainnet",nativeCurrency:{name:"zeroone Mainnet Token",symbol:"ZERO",decimals:18},networkId:27827,redFlags:[],rpc:["https://27827.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonemai/mainnet/rpc"],shortName:"zeroone Mainnet",slug:"zeroone",testnet:!1},vwt={chain:"Avalanche",chainId:28106,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mezzanine Testnet",nativeCurrency:{name:"Mezzanine Testnet Token",symbol:"OWQ",decimals:18},networkId:28106,redFlags:[],rpc:["https://28106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mezzaninet/testnet/rpc"],shortName:"Mezzanine Testnet",slug:"mezzanine-testnet",testnet:!0},wwt={chain:"Avalanche",chainId:28408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405062 NO INTEROP",nativeCurrency:{name:"QIM2405062 NO INTEROP Token",symbol:"BLY",decimals:18},networkId:28408,redFlags:[],rpc:["https://28408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405062 NO INTEROP",slug:"qim2405062-no-interop",testnet:!0},Twt={chain:"Vizing Testnet",chainId:28516,explorers:[{name:"blockscout",url:"https://explorer-sepolia.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28516,rpc:["https://28516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.vizing.com"],shortName:"Vizing-Testnet",slug:"vizing-testnet",testnet:!0,title:"Vizing Testnet"},xwt={chain:"Vizing Mainnet",chainId:28518,explorers:[{name:"blockscout",url:"https://explorer.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28518,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.vizing.com"}]},rpc:["https://28518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vizing.com"],shortName:"Vizing",slug:"vizing",testnet:!1,title:"Vizing Mainnet"},Ewt={chain:"ETH",chainId:28528,explorers:[{name:"blockscout",url:"https://blockscout.com/optimism/bedrock-alpha",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://community.optimism.io/docs/developers/bedrock",name:"Optimism Bedrock (Goerli Alpha Testnet)",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:28528,redFlags:[],rpc:["https://28528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-1-replica-0.bedrock-goerli.optimism.io","https://alpha-1-replica-1.bedrock-goerli.optimism.io","https://alpha-1-replica-2.bedrock-goerli.optimism.io"],shortName:"obgor",slip44:1,slug:"optimism-bedrock-goerli-alpha-testnet",status:"deprecated",testnet:!0},_wt={chain:"ETH",chainId:28882,explorers:[{name:"Bobascan",url:"https://testnet.bobascan.com",standard:"none"}],faucets:["https://www.l2faucet.com/boba"],infoURL:"https://boba.network",name:"Boba Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28882,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://28882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.boba.network","https://boba-sepolia.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-sepolia","wss://boba-sepolia.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-sepolia"],shortName:"BobaSepolia",slug:"boba-sepolia",testnet:!0},Awt={chain:"Avalanche",chainId:28982,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"RUI",decimals:18},networkId:28982,redFlags:[],rpc:["https://28982.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet",testnet:!0},Iwt={chain:"ETH",chainId:29112,explorers:[{name:"blockscout",url:"https://testnet.explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN Testnet",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:29112,parent:{type:"L2",chain:"eip155-58008",bridges:[]},redFlags:[],rpc:["https://29112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hychain.com/http"],shortName:"hychain-testnet",slug:"hychain-testnet",testnet:!0},Cwt={chain:"Avalanche",chainId:29386,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4106 Testnet",nativeCurrency:{name:"QaUser4106 Testnet Token",symbol:"BBS",decimals:18},networkId:29386,redFlags:[],rpc:["https://29386.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4106 Testnet",slug:"qauser4106-testnet",testnet:!0},kwt={chain:"Avalanche",chainId:29442,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402055",nativeCurrency:{name:"QI M 2402055 Token",symbol:"ACI",decimals:18},networkId:29442,redFlags:[],rpc:["https://29442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402055",slug:"qi-m-2402055",testnet:!0},Swt={chain:"KaiChain",chainId:29536,explorers:[{name:"KaiChain Explorer",url:"https://testnet-explorer.kaichain.net",standard:"EIP3091"}],faucets:["https://faucet.kaichain.net"],infoURL:"https://kaichain.net",name:"KaiChain Testnet",nativeCurrency:{name:"KaiChain Testnet Native Token",symbol:"KEC",decimals:18},networkId:29536,rpc:["https://29536.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.kaichain.net"],shortName:"tkec",slug:"kaichain-testnet",testnet:!0},Rwt={chain:"MCH Verse",chainId:29548,explorers:[{name:"MCH Verse Explorer",url:"https://explorer.oasys.mycryptoheroes.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZZnwR1y6cU1sare2TQmwqkNDLXQxD4GdPrmHLmUoPtbU",width:4e3,height:4e3,format:"png"},infoURL:"https://www.mycryptoheroes.net/verse",name:"MCH Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:29548,parent:{type:"L2",chain:"eip155-248"},rpc:["https://29548.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oasys.mycryptoheroes.net"],shortName:"MCHV",slug:"mch-verse",testnet:!1},Mwt={chain:"Avalanche",chainId:29645,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6355 Testnet",nativeCurrency:{name:"QaUser6355 Testnet Token",symbol:"MQO",decimals:18},networkId:29645,redFlags:[],rpc:["https://29645.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6355 Testnet",slug:"qauser6355-testnet",testnet:!0},Bwt={chain:"Avalanche",chainId:29830,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6165 Testnet",nativeCurrency:{name:"QaUser6165 Testnet Token",symbol:"TGQ",decimals:18},networkId:29830,redFlags:[],rpc:["https://29830.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6165 Testnet",slug:"qauser6165-testnet",testnet:!0},Dwt={chain:"PieceNetwork",chainId:30067,explorers:[{name:"Piece Scan",url:"https://testnet-scan.piecenetwork.com",standard:"EIP3091"}],faucets:["https://piecenetwork.com/faucet"],icon:{url:"ipfs://QmWAU39z1kcYshAqkENRH8qUjfR5CJehCxA4GiC33p3HpH",width:800,height:800,format:"png"},infoURL:"https://piecenetwork.com",name:"Piece testnet",nativeCurrency:{name:"ECE",symbol:"ECE",decimals:18},networkId:30067,rpc:["https://30067.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc0.piecenetwork.com"],shortName:"Piece",slip44:1,slug:"piece-testnet",testnet:!0},Pwt={chain:"MiYou Chain",chainId:30088,ens:{registry:"0xFEfa9B3061435977424DD947E756566cFB60473E"},explorers:[{name:"MiYou block explorer",url:"https://myscan.miyou.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfP1QDK42B7EzYWsYN2PGfjkZUQtSjm1k5gNNT52ixsKL",width:216,height:216,format:"png"},infoURL:"https://www.miyou.io",name:"MiYou Mainnet",nativeCurrency:{name:"Miyou",symbol:"MY",decimals:18},networkId:30088,rpc:["https://30088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.miyou.io","https://blockchain.miyoulab.com"],shortName:"MiYou",slip44:60,slug:"miyou",testnet:!1},Lwt={chain:"CAU",chainId:30103,explorers:[{name:"canxium explorer",url:"https://cerium-explorer.canxium.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Cerium Testnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:30103,rpc:["https://30103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cerium-rpc.canxium.net"],shortName:"ceri",slip44:1,slug:"cerium-testnet",testnet:!0},Fwt={chain:"Avalanche",chainId:30226,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"JPQ",decimals:18},networkId:30226,redFlags:[],rpc:["https://30226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-30226",testnet:!0},Nwt={chain:"Avalanche",chainId:30266,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet02-06",nativeCurrency:{name:"Tnet02-06 Token",symbol:"LFC",decimals:18},networkId:30266,redFlags:[],rpc:["https://30266.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet02-06",slug:"tnet02-06",testnet:!0},Owt={chain:"Avalanche",chainId:30289,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0528I1",nativeCurrency:{name:"QI0528I1 Token",symbol:"JQI",decimals:18},networkId:30289,redFlags:[],rpc:["https://30289.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0528I1",slug:"qi0528i1",testnet:!0},Uwt={chain:"Avalanche",chainId:30406,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MUGEN Testnet",nativeCurrency:{name:"MUGEN Testnet Token",symbol:"MGN",decimals:18},networkId:30406,redFlags:[],rpc:["https://30406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mugen/testnet/rpc"],shortName:"MUGEN Testnet",slug:"mugen-testnet",testnet:!0},Hwt={chain:"MOVE",chainId:30730,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Legacy",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30730,rpc:[],shortName:"moveleg",slug:"movement-evm-legacy",status:"incubating",testnet:!1},zwt={chain:"MOVE",chainId:30731,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Devnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30731,rpc:[],shortName:"movedev",slug:"movement-evm-devnet",status:"incubating",testnet:!1},Wwt={chain:"MOVE",chainId:30732,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Testnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30732,rpc:[],shortName:"movetest",slug:"movement-evm-testnet",status:"incubating",testnet:!0},qwt={chain:"Avalanche",chainId:30772,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0835",nativeCurrency:{name:"QaUser0835 Token",symbol:"VIG",decimals:18},networkId:30772,redFlags:[],rpc:["https://30772.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0835",slug:"qauser0835",testnet:!0},jwt={chain:"Avalanche",chainId:30891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"CXY",decimals:18},networkId:30891,redFlags:[],rpc:["https://30891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e8b04790-d50c-4bb1-89ba-7bd140b674f3"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet",testnet:!0},Gwt={chain:"Avalanche",chainId:30915,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Deboard's Testnet",nativeCurrency:{name:"Deboard's Testnet Token",symbol:"DEVAX",decimals:18},networkId:30915,redFlags:[],rpc:["https://30915.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/deboardste/testnet/rpc"],shortName:"Deboard's Testnet",slug:"deboard-s-testnet",testnet:!0},Kwt={chain:"ESN",chainId:31102,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ethersocial Network",nativeCurrency:{name:"Ethersocial Network Ether",symbol:"ESN",decimals:18},networkId:1,rpc:["https://31102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.esn.gonspool.com"],shortName:"esn",slip44:31102,slug:"ethersocial-network",testnet:!1},Qwt={chain:"CLD",chainId:31223,explorers:[{name:"cloudtxscan",url:"https://scan.cloudtx.finance",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance",name:"CloudTx Mainnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31223,rpc:["https://31223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.cloudtx.finance"],shortName:"CLDTX",slug:"cloudtx",testnet:!1},Vwt={chain:"CloudTx",chainId:31224,explorers:[{name:"cloudtxexplorer",url:"https://explorer.cloudtx.finance",standard:"EIP3091"}],faucets:["https://faucet.cloudtx.finance"],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance/",name:"CloudTx Testnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31224,rpc:["https://31224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cloudtx.finance"],shortName:"CLD",slip44:1,slug:"cloudtx-testnet",testnet:!0},Ywt={chain:"GO",chainId:31337,explorers:[{name:"GoChain Testnet Explorer",url:"https://testnet-explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain Testnet",nativeCurrency:{name:"GoChain Coin",symbol:"GO",decimals:18},networkId:31337,rpc:["https://31337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.gochain.io"],shortName:"got",slip44:1,slug:"gochain-testnet",testnet:!0},$wt={chain:"Avalanche",chainId:31338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT8 Testnet",nativeCurrency:{name:"LT8 Testnet Token",symbol:"LT",decimals:18},networkId:31338,redFlags:[],rpc:["https://31338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt8/testnet/rpc"],shortName:"LT8 Testnet",slug:"lt8-testnet",testnet:!0},Jwt={chain:"Avalanche",chainId:31339,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT9",nativeCurrency:{name:"LT9 Token",symbol:"LT",decimals:18},networkId:31339,redFlags:[],rpc:["https://31339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt9/testnet/rpc"],shortName:"LT9",slug:"lt9",testnet:!0},Xwt={chain:"Evoke",chainId:31414,explorers:[{name:"Evoke SmartChain Testnet Explorer",url:"https://testnet-explorer.evokescan.org",standard:"EIP3091"}],faucets:["https://faucet.evokescan.org"],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://testnet-explorer.evokescan.org",name:"Evoke Testnet",nativeCurrency:{name:"MTHN Testnet",symbol:"MTHN",decimals:18},networkId:31414,rpc:["https://31414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evokescan.org"],shortName:"tmthn",slug:"evoke-testnet",testnet:!0},Zwt={chain:"FIL",chainId:31415,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Wallaby testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415,rpc:[],shortName:"filecoin-wallaby",slip44:1,slug:"filecoin-wallaby-testnet",status:"deprecated",testnet:!0},eTt={chain:"Avalanche",chainId:31646,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9492 Testnet",nativeCurrency:{name:"QaUser9492 Testnet Token",symbol:"UVI",decimals:18},networkId:31646,redFlags:[],rpc:["https://31646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9492 Testnet",slug:"qauser9492-testnet",testnet:!0},tTt={chain:"Xchain",chainId:31753,explorers:[{name:"Xchain Mainnet Explorer",url:"https://xchainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchainscan.com",name:"Xchain Mainnet",nativeCurrency:{name:"Intdestcoin",symbol:"INTD",decimals:18},networkId:31753,rpc:["https://31753.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchainscan.com"],shortName:"INTD",slug:"xchain",testnet:!1},nTt={chain:"Xchain",chainId:31754,explorers:[{name:"Xchain Testnet Explorer",url:"https://xchaintest.net",standard:"EIP3091"}],faucets:["https://xchainfaucet.net"],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchaintest.net",name:"Xchain Testnet",nativeCurrency:{name:"Intdestcoin Testnet",symbol:"INTD",decimals:18},networkId:31754,rpc:["https://31754.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchaintest.net"],shortName:"tINTD",slug:"xchain-testnet",testnet:!0},aTt={chain:"ETH",chainId:31929,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmQHysdcSj7FemPm96k6ShNrc7bMcuzcqpD1gcUPY3YjA3/photo_2024-05-13%2017.19.03.jpeg",width:512,height:512,format:"jpeg"},name:"Worlds OP",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:31929,redFlags:[],rpc:["https://31929.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-worlds-hwbmpbzcnh.t.conduit.xyz/"],shortName:"WorldsOP",slug:"worlds-op",testnet:!0},rTt={chain:"ETH",chainId:32001,explorers:[{name:"W3Gamez Holesky Explorer",url:"https://w3gamez-holesky.web3games.com",standard:"EIP3091",icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQdiE7vwxKeuWCjk4nKBikcpg4XCzQkFWGrAZHmMKnrq",width:400,height:400,format:"png"},infoURL:"https://web3games.com/",name:"W3Gamez Holesky Testnet",nativeCurrency:{name:"W3Gamez Testnet Ether",symbol:"ETH",decimals:18},networkId:32001,rpc:["https://32001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-holesky.w3gamez.network"],shortName:"w3gamez",slip44:1,slug:"w3gamez-holesky-testnet",testnet:!0},fTt={chain:"Avalanche",chainId:32112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606S1T",nativeCurrency:{name:"QR0606S1T Token",symbol:"GKN",decimals:18},networkId:32112,redFlags:[],rpc:["https://32112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606s1t/testnet/rpc"],shortName:"QR0606S1T",slug:"qr0606s1t",testnet:!0},iTt={chain:"Avalanche",chainId:32277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402058",nativeCurrency:{name:"QI M 2402058 Token",symbol:"ACI",decimals:18},networkId:32277,redFlags:[],rpc:["https://32277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402058",slug:"qi-m-2402058",testnet:!0},sTt={chain:"Avalanche",chainId:32366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4578 Testnet",nativeCurrency:{name:"QaUser4578 Testnet Token",symbol:"EXP",decimals:18},networkId:32366,redFlags:[],rpc:["https://32366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4578 Testnet",slug:"qauser4578-testnet",testnet:!0},oTt={chain:"Santiment Intelligence Network",chainId:32382,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network",nativeCurrency:{name:"SANR",symbol:"SANR",decimals:18},networkId:32382,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://32382.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sanr.app"],shortName:"SANR",slug:"santiment-intelligence-network",testnet:!1},cTt={chain:"Avalanche",chainId:32517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4536 Testnet",nativeCurrency:{name:"QaUser4536 Testnet Token",symbol:"ZKJ",decimals:18},networkId:32517,redFlags:[],rpc:["https://32517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4536 Testnet",slug:"qauser4536-testnet",testnet:!0},dTt={chain:"Brise",chainId:32520,explorers:[{name:"Brise Scan",url:"https://brisescan.com",standard:"EIP3091",icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"},infoURL:"https://bitgert.com/",name:"Bitgert Mainnet",nativeCurrency:{name:"Bitrise Token",symbol:"Brise",decimals:18},networkId:32520,rpc:["https://32520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.icecreamswap.com","https://mainnet-rpc.brisescan.com","https://chainrpc.com","https://serverrpc.com"],shortName:"Brise",slug:"bitgert",testnet:!1},lTt={chain:"FSN",chainId:32659,explorers:[{name:"fsnscan",url:"https://fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Mainnet",nativeCurrency:{name:"Fusion",symbol:"FSN",decimals:18},networkId:32659,rpc:["https://32659.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.fusionnetwork.io","wss://mainnet.fusionnetwork.io"],shortName:"fsn",slip44:288,slug:"fusion",testnet:!1},uTt={chain:"ZIL",chainId:32769,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32769,rpc:["https://32769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zilliqa.com"],shortName:"zil",slug:"zilliqa-evm",testnet:!1},pTt={chain:"ZIL",chainId:32990,explorers:[{name:"Zilliqa EVM Isolated Server Explorer",url:"https://devex.zilliqa.com/?network=https://zilliqa-isolated-server.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=isolated_server"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Isolated Server",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32990,rpc:["https://32990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zilliqa-isolated-server.zilliqa.com/"],shortName:"zil-isolated-server",slug:"zilliqa-evm-isolated-server",testnet:!1},hTt={chain:"NGL",chainId:33033,explorers:[{name:"Entangle Mainnet Explorer",url:"https://explorer.entangle.fi",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Mainnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33033,rpc:["https://33033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.entangle.fi"],shortName:"ngl",slug:"entangle",testnet:!1},mTt={chain:"Avalanche",chainId:33100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7864",nativeCurrency:{name:"QaUser7864 Token",symbol:"MBP",decimals:18},networkId:33100,redFlags:[],rpc:["https://33100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7864",slug:"qauser7864",testnet:!0},bTt={chain:"ZIL",chainId:33101,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=testnet"],infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33101,rpc:["https://33101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-api.zilliqa.com"],shortName:"zil-testnet",slip44:1,slug:"zilliqa-evm-testnet",testnet:!0},yTt={chain:"NGL",chainId:33133,explorers:[],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Testnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33133,rpc:["https://33133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.entangle.fi"],shortName:"tngl",slug:"entangle-testnet",testnet:!0},gTt={chain:"CLOUDVERSE",chainId:33210,explorers:[{name:"CLOUDVERSE Explorer",url:"https://subnets.avax.network/cloudverse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://muadao.build/",name:"Cloudverse Subnet",nativeCurrency:{name:"XCLOUD",symbol:"XCLOUD",decimals:18},networkId:33210,rpc:["https://33210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/cloudverse/mainnet/rpc"],shortName:"cloudverse",slug:"cloudverse-subnet",testnet:!1},vTt={chain:"AVS",chainId:33333,explorers:[{name:"avescan",url:"https://avescan.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io",name:"Aves Mainnet",nativeCurrency:{name:"Aves",symbol:"AVS",decimals:18},networkId:33333,rpc:["https://33333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avescoin.io"],shortName:"avs",slug:"aves",testnet:!1},wTt={chain:"ZIL",chainId:33385,explorers:[{name:"Zilliqa EVM Devnet Explorer",url:"https://otterscan.devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.devnet.zilliqa.com/"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33385,rpc:["https://33385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.devnet.zilliqa.com/"],shortName:"zil-devnet",slug:"zilliqa-evm-devnet",testnet:!1},TTt={chain:"Avalanche",chainId:33448,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s2 Testnet",nativeCurrency:{name:"QI0408s2 Testnet Token",symbol:"QCE",decimals:18},networkId:33448,redFlags:[],rpc:["https://33448.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s2 Testnet",slug:"qi0408s2-testnet",testnet:!0},xTt={chain:"ZIL",chainId:33469,explorers:[{name:"Zilliqa-2 EVM Devnet Explorer",url:"https://explorer.zq2-devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.zq2-devnet.zilliqa.com"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa-2 EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33469,rpc:["https://33469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zq2-devnet.zilliqa.com"],shortName:"zq2-devnet",slug:"zilliqa-2-evm-devnet",testnet:!1},ETt={chain:"Avalanche",chainId:33795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9260",nativeCurrency:{name:"QaUser9260 Token",symbol:"SBM",decimals:18},networkId:33795,redFlags:[],rpc:["https://33795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9260",slug:"qauser9260",testnet:!0},_Tt={chain:"Avalanche",chainId:33841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422s2 Testnet",nativeCurrency:{name:"QI0422s2 Testnet Token",symbol:"HOS",decimals:18},networkId:33841,redFlags:[],rpc:["https://33841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422s2 Testnet",slug:"qi0422s2-testnet",testnet:!0},ATt={chain:"Avalanche",chainId:33909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Reg1116test",nativeCurrency:{name:"Reg1116test Token",symbol:"JUO",decimals:18},networkId:33909,redFlags:[],rpc:["https://33909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg1116test",slug:"reg1116test",testnet:!0},ITt={chain:"ETH",chainId:33979,explorers:[{name:"Funki Mainnet Explorer",url:"https://mainnet.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:33979,rpc:[],shortName:"funki",slug:"funki",testnet:!1},CTt={chain:"Avalanche",chainId:34295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402132",nativeCurrency:{name:"QI M 2402132 Token",symbol:"CYB",decimals:18},networkId:34295,redFlags:[],rpc:["https://34295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402132",slug:"qi-m-2402132",testnet:!0},kTt={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:34443,rpc:["https://34443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mode.network","https://mode.drpc.org","wss://mode.drpc.org"],shortName:"mode",slug:"mode",testnet:!1},STt={chain:"Avalanche",chainId:34851,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0235",nativeCurrency:{name:"QaUser0235 Token",symbol:"GET",decimals:18},networkId:34851,redFlags:[],rpc:["https://34851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0235",slug:"qauser0235",testnet:!0},RTt={chain:"TARO",chainId:35011,explorers:[{name:"J2O Taro Explorer",url:"https://exp.j2o.io",standard:"EIP3091",icon:{url:"ipfs://QmdUYi8fjnvdM9iFQ7dwE2YvmhDtavSB3bKhCD2GhPxPks",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://j2o.io",name:"J2O Taro",nativeCurrency:{name:"TARO Coin",symbol:"taro",decimals:18},networkId:35011,rpc:["https://35011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.j2o.io"],shortName:"j2o",slug:"j2o-taro",testnet:!1},MTt={chain:"Avalanche",chainId:35395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found 1-4-23",nativeCurrency:{name:"Found 1-4-23 Token",symbol:"TVJ",decimals:18},networkId:35395,redFlags:[],rpc:["https://35395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found 1-4-23",slug:"found-1-4-23",testnet:!0},BTt={chain:"Avalanche",chainId:35439,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401122",nativeCurrency:{name:"QI M 2401122 Token",symbol:"HZU",decimals:18},networkId:35439,redFlags:[],rpc:["https://35439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401122",slug:"qi-m-2401122",testnet:!0},DTt={chain:"Q",chainId:35441,explorers:[{name:"Q explorer",url:"https://explorer.q.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org",name:"Q Mainnet",nativeCurrency:{name:"QGOV",symbol:"QGOV",decimals:18},networkId:35441,rpc:["https://35441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.q.org"],shortName:"q",slug:"q",testnet:!1},PTt={chain:"Q",chainId:35443,explorers:[{name:"Q explorer",url:"https://explorer.qtestnet.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org/",name:"Q Testnet",nativeCurrency:{name:"Q token",symbol:"Q",decimals:18},networkId:35443,rpc:["https://35443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qtestnet.org"],shortName:"q-testnet",slip44:1,slug:"q-testnet",testnet:!0},LTt={chain:"Avalanche",chainId:35641,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3338",nativeCurrency:{name:"QaUser3338 Token",symbol:"BQL",decimals:18},networkId:35641,redFlags:[],rpc:["https://35641.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3338",slug:"qauser3338",testnet:!0},FTt={chain:"Avalanche",chainId:35730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1129I1",nativeCurrency:{name:"QR1129I1 Token",symbol:"YXAX",decimals:18},networkId:35730,redFlags:[],rpc:["https://35730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1129i1/testnet/rpc"],shortName:"QR1129I1",slug:"qr1129i1",testnet:!0},NTt={chain:"Avalanche",chainId:36530,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Super Subnet",nativeCurrency:{name:"Will's Super Subnet Token",symbol:"VRJ",decimals:18},networkId:36530,redFlags:[],rpc:["https://36530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Super Subnet",slug:"will-s-super-subnet",testnet:!0},OTt={chain:"Avalanche",chainId:36695,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Yolo Testnet",nativeCurrency:{name:"Cohan Yolo Testnet Token",symbol:"KYI",decimals:18},networkId:36695,redFlags:[],rpc:["https://36695.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c033f73a-70ff-463d-b121-81b9542e11a1"],shortName:"Cohan Yolo Testnet",slug:"cohan-yolo-testnet",testnet:!0},UTt={chain:"Avalanche",chainId:36746,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1213 Testnet",nativeCurrency:{name:"QaUser1213 Testnet Token",symbol:"ZKJ",decimals:18},networkId:36746,redFlags:[],rpc:["https://36746.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1213 Testnet",slug:"qauser1213-testnet",testnet:!0},HTt={chain:"Avalanche",chainId:36908,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1205s1",nativeCurrency:{name:"QR1205s1 Token",symbol:"MDN",decimals:18},networkId:36908,redFlags:[],rpc:["https://36908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1205s1/testnet/rpc"],shortName:"QR1205s1",slug:"qr1205s1",testnet:!0},zTt={chain:"crtr-testnet",chainId:37003,explorers:[{name:"blockscout",url:"https://explorerl2new-crtr-testnet-mev0ni0xlx.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"},name:"crtr-testnet",nativeCurrency:{name:"CRTR",symbol:"CRTR",decimals:18},networkId:37003,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-crtr-testnet-mev0ni0xlx.t.conduit.xyz"],shortName:"crtr-testnet-mev0ni0xlx",slug:"crtr-testnet",testnet:!0},WTt={chain:"Avalanche",chainId:37195,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thari",nativeCurrency:{name:"Thari Token",symbol:"THARI",decimals:18},networkId:37195,redFlags:[],rpc:["https://37195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thari/testnet/rpc"],shortName:"Thari",slug:"thari",testnet:!0},qTt={chain:"Avalanche",chainId:37375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402057",nativeCurrency:{name:"QI M 2402057 Token",symbol:"ACI",decimals:18},networkId:37375,redFlags:[],rpc:["https://37375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402057",slug:"qi-m-2402057",testnet:!0},jTt={chain:"Avalanche",chainId:37767,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 01-15",nativeCurrency:{name:"Tnet 01-15 Token",symbol:"LFC",decimals:18},networkId:37767,redFlags:[],rpc:["https://37767.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 01-15",slug:"tnet-01-15",testnet:!0},GTt={chain:"Avalanche",chainId:38085,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0227I1",nativeCurrency:{name:"QI0227I1 Token",symbol:"ULH",decimals:18},networkId:38085,redFlags:[],rpc:["https://38085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0227I1",slug:"qi0227i1",testnet:!0},KTt={chain:"Avalanche",chainId:38168,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0531S1T",nativeCurrency:{name:"QR0531S1T Token",symbol:"GKN",decimals:18},networkId:38168,redFlags:[],rpc:["https://38168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0531s1t/testnet/rpc"],shortName:"QR0531S1T",slug:"qr0531s1t",testnet:!0},QTt={chain:"Rangers",chainId:38400,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"cmRPG",decimals:18},networkId:38400,rpc:["https://38400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cm.rangersprotocol.com/api/jsonrpc"],shortName:"cmrpg",slug:"connectormanager",testnet:!1},VTt={chain:"Rangers",chainId:38401,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"ttRPG",decimals:18},networkId:38401,rpc:["https://38401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin-cm.rangersprotocol.com/api/jsonrpc"],shortName:"ttrpg",slug:"connectormanager-robin",testnet:!1},YTt={chain:"Avalanche",chainId:38904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1490 Testnet",nativeCurrency:{name:"QaUser1490 Testnet Token",symbol:"PNK",decimals:18},networkId:38904,redFlags:[],rpc:["https://38904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1490 Testnet",slug:"qauser1490-testnet",testnet:!0},$Tt={chain:"Avalanche",chainId:39098,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI 20240108",nativeCurrency:{name:"QI 20240108 Token",symbol:"COZ",decimals:18},networkId:39098,redFlags:[],rpc:["https://39098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI 20240108",slug:"qi-20240108",testnet:!0},JTt={chain:"Avalanche",chainId:39142,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST Found 1-05-24",nativeCurrency:{name:"ST Found 1-05-24 Token",symbol:"LGT",decimals:18},networkId:39142,redFlags:[],rpc:["https://39142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST Found 1-05-24",slug:"st-found-1-05-24",testnet:!0},XTt={chain:"Avalanche",chainId:39585,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5884",nativeCurrency:{name:"QaUser5884 Token",symbol:"YRO",decimals:18},networkId:39585,redFlags:[],rpc:["https://39585.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5884",slug:"qauser5884",testnet:!0},ZTt={chain:"prm",chainId:39656,explorers:[{name:"Primal Network",url:"https://prmscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Mainnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:39656,rpc:["https://39656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.prmscan.org"],shortName:"prm",slug:"prm",testnet:!1},ext={chain:"Avalanche",chainId:39747,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser41Testnet",nativeCurrency:{name:"QaUser41Testnet Token",symbol:"GYF",decimals:18},networkId:39747,redFlags:[],rpc:["https://39747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser41Testnet",slug:"qauser41testnet",testnet:!0},txt={chain:"NRG",chainId:39797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Mainnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:39797,rpc:["https://39797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.energi.network"],shortName:"nrg",slip44:39797,slug:"energi",testnet:!1},nxt={chain:"OHO",chainId:39815,explorers:[{name:"ohoscan",url:"https://ohoscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"},infoURL:"https://oho.ai",name:"OHO Mainnet",nativeCurrency:{name:"OHO",symbol:"OHO",decimals:18},networkId:39815,rpc:["https://39815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.oho.ai"],shortName:"oho",slug:"oho",testnet:!1},axt={chain:"Avalanche",chainId:40100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4426",nativeCurrency:{name:"QaUser4426 Token",symbol:"PMC",decimals:18},networkId:40100,redFlags:[],rpc:["https://40100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4426",slug:"qauser4426",testnet:!0},rxt={chain:"Avalanche",chainId:40542,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I8",nativeCurrency:{name:"QI1212I8 Token",symbol:"HSCX",decimals:18},networkId:40542,redFlags:[],rpc:["https://40542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I8",slug:"qi1212i8",testnet:!0},fxt={chain:"Avalanche",chainId:40798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0109y1p",nativeCurrency:{name:"qr0109y1p Token",symbol:"KZP",decimals:18},networkId:40798,redFlags:[],rpc:["https://40798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0109y1p/testnet/rpc"],shortName:"qr0109y1p",slug:"qr0109y1p",testnet:!0},ixt={chain:"Avalanche",chainId:40868,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5110 Testnet",nativeCurrency:{name:"QaUser5110 Testnet Token",symbol:"CRL",decimals:18},networkId:40868,redFlags:[],rpc:["https://40868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5110 Testnet",slug:"qauser5110-testnet",testnet:!0},sxt={chain:"Avalanche",chainId:41077,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:41077,redFlags:[],rpc:["https://41077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/testnet/rpc"],shortName:"REALLY",slug:"really",testnet:!0},oxt={chain:"Avalanche",chainId:41425,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205I1",nativeCurrency:{name:"QR0205I1 Token",symbol:"PVW",decimals:18},networkId:41425,redFlags:[],rpc:["https://41425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205i1/testnet/rpc"],shortName:"QR0205I1",slug:"qr0205i1",testnet:!0},cxt={chain:"Opulent-X",chainId:41500,explorers:[{name:"Opulent-X BETA Explorer",url:"https://explorer.opulent-x.com",standard:"none"}],faucets:[],infoURL:"https://beta.opulent-x.com",name:"Opulent-X BETA",nativeCurrency:{name:"Oxyn Gas",symbol:"OXYN",decimals:18},networkId:41500,rpc:["https://41500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.opulent-x.com"],shortName:"ox-beta",slug:"opulent-x-beta",testnet:!1},dxt={chain:"Avalanche",chainId:41604,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LFC",decimals:18},networkId:41604,redFlags:[],rpc:["https://41604.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-41604",testnet:!0},lxt={chain:"Avalanche",chainId:41720,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0409s1 Testnet",nativeCurrency:{name:"QR0409s1 Testnet Token",symbol:"ZSP",decimals:18},networkId:41720,redFlags:[],rpc:["https://41720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0409s1/testnet/rpc"],shortName:"QR0409s1 Testnet",slug:"qr0409s1-testnet",testnet:!0},uxt={chain:"Avalanche",chainId:41799,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's New Testnet",nativeCurrency:{name:"Will's New Testnet Token",symbol:"ZBO",decimals:18},networkId:41799,redFlags:[],rpc:["https://41799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's New Testnet",slug:"will-s-new-testnet",testnet:!0},pxt={chain:"Avalanche",chainId:41847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T3TP",nativeCurrency:{name:"QR0606T3TP Token",symbol:"HRQ",decimals:18},networkId:41847,redFlags:[],rpc:["https://41847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t3tp/testnet/rpc"],shortName:"QR0606T3TP",slug:"qr0606t3tp",testnet:!0},hxt={chain:"42069",chainId:42069,explorers:[],faucets:[],infoURL:"https://teampeggle.com",name:"pegglecoin",nativeCurrency:{name:"pegglecoin",symbol:"peggle",decimals:18},networkId:42069,rpc:[],shortName:"PC",slug:"pegglecoin",testnet:!1},mxt={chain:"AgentLayer",chainId:42072,explorers:[{name:"AgentLayer Testnet Explorer",url:"https://testnet-explorer.agentlayer.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSj6SSWmBiRjnjZQPb17kvhGDmB9xAGRkG13RwPuXLTCT",width:512,height:512,format:"png"},infoURL:"https://agentlayer.xyz/home",name:"AgentLayer Testnet",nativeCurrency:{name:"Agent",symbol:"AGENT",decimals:18},networkId:42072,rpc:["https://42072.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.agentlayer.xyz"],shortName:"agent",slug:"agentlayer-testnet",testnet:!0},LHe={chain:"ETH",chainId:42161,explorers:[{name:"Arbiscan",url:"https://arbiscan.io",standard:"EIP3091"},{name:"Arbitrum Explorer",url:"https://explorer.arbitrum.io",standard:"EIP3091"},{name:"dexguru",url:"https://arbitrum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io",name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42161,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://42161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}","https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://arb1.arbitrum.io/rpc","https://arbitrum-one.publicnode.com","wss://arbitrum-one.publicnode.com"],shortName:"arb1",slug:"arbitrum",testnet:!1},bxt={chain:"ETH",chainId:42170,explorers:[{name:"Arbitrum Nova Chain Explorer",url:"https://nova-explorer.arbitrum.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://nova.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42170,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://42170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.arbitrum.io/rpc","https://arbitrum-nova.publicnode.com","wss://arbitrum-nova.publicnode.com"],shortName:"arb-nova",slug:"arbitrum-nova",testnet:!1},XS={chain:"CELO",chainId:42220,explorers:[{name:"blockscout",url:"https://explorer.celo.org",standard:"none"},{name:"Celoscan",url:"https://celoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.celo.org/",name:"Celo Mainnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:42220,rpc:["https://42220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://forno.celo.org","wss://forno.celo.org/ws"],shortName:"celo",slug:"celo",testnet:!1},yxt={chain:"Emerald",chainId:42261,explorers:[{name:"Oasis Emerald Testnet Explorer",url:"https://explorer.oasis.io/testnet/emerald",standard:"EIP3091"}],faucets:["https://faucet.testnet.oasis.io/"],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald Testnet",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42261,rpc:["https://42261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emerald.oasis.io/","wss://testnet.emerald.oasis.io/ws"],shortName:"emerald-testnet",slip44:1,slug:"oasis-emerald-testnet",testnet:!0},gxt={chain:"Emerald",chainId:42262,explorers:[{name:"Oasis Emerald Explorer",url:"https://explorer.oasis.io/mainnet/emerald",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42262,rpc:["https://42262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://emerald.oasis.io","wss://emerald.oasis.io/ws"],shortName:"emerald",slug:"oasis-emerald",testnet:!1},vxt={chain:"GoldX",chainId:42355,explorers:[{name:"GoldXChain Explorer",url:"https://explorer.goldxchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://goldxchain.io",name:"GoldXChain Mainnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:42355,rpc:["https://42355.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.goldxchain.io"],shortName:"goldx",slug:"goldxchain",testnet:!1},wxt={chain:"Avalanche",chainId:42451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1220s1",nativeCurrency:{name:"QI1220s1 Token",symbol:"BKX",decimals:18},networkId:42451,redFlags:[],rpc:["https://42451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1220s1",slug:"qi1220s1",testnet:!0},Txt={chain:"ZKFair",chainId:42766,explorers:[{name:"blockscout",url:"https://scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Mainnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:42766,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://wallet.zkfair.io"}]},rpc:["https://42766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkfair.io"],shortName:"ZKFair-Mainnet",slug:"zkfair",testnet:!1,title:"ZKFair Mainnet"},xxt={chain:"Etherlink",chainId:42793,explorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:584,height:545,format:"png"},infoURL:"https://etherlink.com",name:"Etherlink Mainnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:42793,rpc:["https://42793.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.etherlink.com"],shortName:"etlk",slug:"etherlink",testnet:!1},Ext={chain:"Gesoten Verse",chainId:42801,explorers:[{name:"Gesoten Verse Testnet Explorer",url:"https://explorer.testnet.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Gesoten Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:42801,rpc:["https://42801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.verse.gesoten.com/"],shortName:"GST",slip44:1,slug:"gesoten-verse-testnet",testnet:!0},_xt={chain:"Avalanche",chainId:42840,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"DQX",decimals:18},networkId:42840,redFlags:[],rpc:["https://42840.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-42840",testnet:!0},Axt={chain:"ETH",chainId:42888,explorers:[{name:"kintoscan",url:"http://35.215.120.180:4000",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ethereum.org",name:"Kinto Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42888,rpc:["https://42888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://35.215.120.180:8545"],shortName:"keth",slip44:1,slug:"kinto-testnet",testnet:!0,title:"Kinto Testnet"},Ixt={chain:"ATH",chainId:43110,explorers:[],faucets:["http://athfaucet.ava.network//?address=${ADDRESS}"],infoURL:"https://athereum.ava.network",name:"Athereum",nativeCurrency:{name:"Athereum Ether",symbol:"ATH",decimals:18},networkId:43110,rpc:["https://43110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ava.network:21015/ext/evm/rpc"],shortName:"avaeth",slug:"athereum",testnet:!1},Cxt={chain:"ETH",chainId:43111,explorers:[],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:43111,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"hemi",slug:"hemi-network",status:"incubating",testnet:!1},FHe={chain:"AVAX",chainId:43113,explorers:[{name:"snowtrace",url:"https://testnet.snowtrace.io",standard:"EIP3091"}],faucets:["https://faucet.avax-test.network/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://cchain.explorer.avax-test.network",name:"Avalanche Fuji Testnet",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43113,redFlags:[],rpc:["https://43113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.avax-test.network/ext/bc/C/rpc","https://avalanche-fuji-c-chain-rpc.publicnode.com","wss://avalanche-fuji-c-chain-rpc.publicnode.com"],shortName:"Fuji",slip44:1,slug:"avalanche-fuji",testnet:!0},NHe={chain:"AVAX",chainId:43114,explorers:[{name:"snowtrace",url:"https://snowtrace.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://www.avax.network/",name:"Avalanche C-Chain",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43114,redFlags:[],rpc:["https://43114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avalanche-mainnet.infura.io/v3/${INFURA_API_KEY}","https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com","wss://avalanche-c-chain-rpc.publicnode.com"],shortName:"avax",slip44:9005,slug:"avalanche",testnet:!1},kxt={chain:"Avalanche",chainId:43125,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3950 Testnet",nativeCurrency:{name:"QaUser3950 Testnet Token",symbol:"SZL",decimals:18},networkId:43125,redFlags:[],rpc:["https://43125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3950 Testnet",slug:"qauser3950-testnet",testnet:!0},Sxt={chain:"Boba Avax",chainId:43288,explorers:[{name:"Boba Avax Explorer",url:"https://blockexplorer.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://docs.boba.network/for-developers/network-avalanche",name:"Boba Avax",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:43288,rpc:["https://43288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avax.boba.network","wss://wss.avax.boba.network","https://replica.avax.boba.network","wss://replica-wss.avax.boba.network"],shortName:"bobaavax",slug:"boba-avax",status:"deprecated",testnet:!1},Rxt={chain:"Avalanche",chainId:43593,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1596",nativeCurrency:{name:"QaUser1596 Token",symbol:"VNE",decimals:18},networkId:43593,redFlags:[],rpc:["https://43593.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1596",slug:"qauser1596",testnet:!0},Mxt={chain:"ETH",chainId:43851,explorers:[{name:"ZKFair Testnet Info",url:"https://testnet-scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Testnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:43851,rpc:["https://43851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.zkfair.io"],shortName:"ZKFair-Testnet",slip44:1,slug:"zkfair-testnet",testnet:!0},Bxt={chain:"Avalanche",chainId:43994,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T1TP",nativeCurrency:{name:"QR0606T1TP Token",symbol:"HRQ",decimals:18},networkId:43994,redFlags:[],rpc:["https://43994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t1tp/testnet/rpc"],shortName:"QR0606T1TP",slug:"qr0606t1tp",testnet:!0},Dxt={chain:"Avalanche",chainId:44044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 240530 TEST INTEROP",nativeCurrency:{name:"QIM 240530 TEST INTEROP Token",symbol:"WCC",decimals:18},networkId:44044,redFlags:[],rpc:["https://44044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim240530t/testnet/rpc"],shortName:"QIM 240530 TEST INTEROP",slug:"qim-240530-test-interop",testnet:!0},Pxt={chain:"fren",chainId:44444,explorers:[{name:"blockscout",url:"https://frenscan.io",standard:"EIP3091",icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"},infoURL:"https://frenchain.app",name:"Frenchain",nativeCurrency:{name:"FREN",symbol:"FREN",decimals:18},networkId:44444,rpc:["https://44444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-02.frenscan.io"],shortName:"FREN",slug:"frenchain",testnet:!1},Lxt={chain:"Quantum",chainId:44445,explorers:[{name:"Quantum Explorer",url:"https://qtm.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io/",name:"Quantum Network",nativeCurrency:{name:"Quantum",symbol:"QTM",decimals:18},networkId:44445,rpc:["https://44445.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcqtm.avescoin.io"],shortName:"QTM",slug:"quantum-network",testnet:!1},ZS={chain:"CELO",chainId:44787,explorers:[{name:"Alfajoresscan",url:"https://alfajores.celoscan.io",standard:"EIP3091"}],faucets:["https://celo.org/developers/faucet","https://cauldron.pretoriaresearchlab.io/alfajores-faucet"],features:[],infoURL:"https://docs.celo.org/",name:"Celo Alfajores Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:44787,redFlags:[],rpc:["https://44787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alfajores-forno.celo-testnet.org","wss://alfajores-forno.celo-testnet.org/ws"],shortName:"ALFA",slip44:1,slug:"celo-alfajores-testnet",testnet:!0},Fxt={chain:"Avalanche",chainId:44808,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"klCohan Testnet",nativeCurrency:{name:"klCohan Testnet Token",symbol:"DBM",decimals:18},networkId:44808,redFlags:[],rpc:["https://44808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"klCohan Testnet",slug:"klcohan-testnet",testnet:!0},Nxt={chain:"Avalanche",chainId:44850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"WJN",decimals:18},networkId:44850,redFlags:[],rpc:["https://44850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet",testnet:!0},Oxt={chain:"TXL",chainId:45e3,explorers:[{name:"autobahn explorer",url:"https://explorer.autobahn.network",standard:"EIP3091",icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"},infoURL:"https://autobahn.network",name:"Autobahn Network",nativeCurrency:{name:"TXL",symbol:"TXL",decimals:18},networkId:45e3,rpc:["https://45000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.autobahn.network"],shortName:"AutobahnNetwork",slug:"autobahn-network",testnet:!1},Uxt={chain:"SWP",chainId:45454,explorers:[{name:"blockscout",url:"https://swamps-explorer.tc.l2aas.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTEEgWsknzdqjLbaAvLHqCCzCtMJZh2d1SqMscxZCXBwA",width:150,height:150,format:"png"},infoURL:"https://www.swamps.fi",name:"Swamps L2",nativeCurrency:{name:"SWP",symbol:"SWP",decimals:18},networkId:45454,rpc:["https://45454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://swamps.tc.l2aas.com"],shortName:"SWP",slug:"swamps-l2",testnet:!1},Hxt={chain:"DEE",chainId:45510,explorers:[{name:"Deelance Mainnet Explorer",url:"https://deescan.com",standard:"EIP3091"}],faucets:["https://faucet.deelance.com"],icon:{url:"ipfs://Qmay2j8biuo5xLJL8NcLtrzubAEHuCWz65cdbKE1pSnGf6",width:500,height:500,format:"png"},infoURL:"https://deelance.com",name:"Deelance Mainnet",nativeCurrency:{name:"Deelance",symbol:"DEE",decimals:18},networkId:45510,rpc:["https://45510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deelance.com"],shortName:"dee",slug:"deelance",testnet:!1,title:"Deelance Network Mainnet"},zxt={chain:"Avalanche",chainId:45544,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6609 Testnet",nativeCurrency:{name:"QaUser6609 Testnet Token",symbol:"NHU",decimals:18},networkId:45544,redFlags:[],rpc:["https://45544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6609 Testnet",slug:"qauser6609-testnet",testnet:!0},Wxt={chain:"Avalanche",chainId:45979,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5277 Testnet",nativeCurrency:{name:"QaUser5277 Testnet Token",symbol:"LWR",decimals:18},networkId:45979,redFlags:[],rpc:["https://45979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5277 Testnet",slug:"qauser5277-testnet",testnet:!0},qxt={chain:"Avalanche",chainId:46092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0213I1",nativeCurrency:{name:"QI0213I1 Token",symbol:"ORR",decimals:18},networkId:46092,redFlags:[],rpc:["https://46092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/f0aae4b1-a373-43ed-9e61-ba61d42131bb"],shortName:"QI0213I1",slug:"qi0213i1",testnet:!0},jxt={chain:"Avalanche",chainId:46109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0224t1tp Testnet",nativeCurrency:{name:"qr0224t1tp Testnet Token",symbol:"CRH",decimals:18},networkId:46109,redFlags:[],rpc:["https://46109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0224t1tp/testnet/rpc"],shortName:"qr0224t1tp Testnet",slug:"qr0224t1tp-testnet",testnet:!0},Gxt={chain:"Avalanche",chainId:46145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I2",nativeCurrency:{name:"QI0520I2 Token",symbol:"YZG",decimals:18},networkId:46145,redFlags:[],rpc:["https://46145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I2",slug:"qi0520i2",testnet:!0},Kxt={chain:"Avalanche",chainId:46565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s2",nativeCurrency:{name:"QI0430s2 Token",symbol:"SWS",decimals:18},networkId:46565,redFlags:[],rpc:["https://46565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s2",slug:"qi0430s2",testnet:!0},Qxt={chain:"FSN",chainId:46688,explorers:[{name:"fsnscan",url:"https://testnet.fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Testnet",nativeCurrency:{name:"Testnet Fusion",symbol:"T-FSN",decimals:18},networkId:46688,rpc:["https://46688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.fusionnetwork.io","wss://testnet.fusionnetwork.io"],shortName:"tfsn",slip44:1,slug:"fusion-testnet",testnet:!0},Vxt={chain:"Avalanche",chainId:47157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Avaland Testnet",nativeCurrency:{name:"Avaland Testnet Token",symbol:"AVA",decimals:18},networkId:47157,redFlags:[],rpc:["https://47157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/avalandtes/testnet/rpc"],shortName:"Avaland Testnet",slug:"avaland-testnet",testnet:!0},Yxt={chain:"REI",chainId:47805,explorers:[{name:"rei-scan",url:"https://scan.rei.network",standard:"none"}],faucets:[],infoURL:"https://rei.network/",name:"REI Network",nativeCurrency:{name:"REI",symbol:"REI",decimals:18},networkId:47805,rpc:["https://47805.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rei.network","wss://rpc.rei.network"],shortName:"REI",slug:"rei-network",testnet:!1},$xt={chain:"Avalanche",chainId:47992,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2555",nativeCurrency:{name:"QaUser2555 Token",symbol:"PRY",decimals:18},networkId:47992,redFlags:[],rpc:["https://47992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2555",slug:"qauser2555",testnet:!0},Jxt={chain:"Avalanche",chainId:48137,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9608 Testnet",nativeCurrency:{name:"QaUser9608 Testnet Token",symbol:"ASI",decimals:18},networkId:48137,redFlags:[],rpc:["https://48137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9608 Testnet",slug:"qauser9608-testnet",testnet:!0},Xxt={chain:"Avalanche",chainId:48267,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I2",nativeCurrency:{name:"QI0130I2 Token",symbol:"NZY",decimals:18},networkId:48267,redFlags:[],rpc:["https://48267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I2",slug:"qi0130i2",testnet:!0},Zxt={chain:"Avalanche",chainId:48702,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LUG",decimals:18},networkId:48702,redFlags:[],rpc:["https://48702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-48702",testnet:!0},eEt={chain:"Avalanche",chainId:48795,explorers:[{name:"SPACE Explorer",url:"https://subnets-test.avax.network/space",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:48795,redFlags:[],rpc:["https://48795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/testnet/rpc"],shortName:"Space",slug:"space-space",testnet:!0},tEt={chain:"Zircuit Testnet",chainId:48899,explorers:[{name:"Zircuit",url:"https://explorer.zircuit.com",standard:"none",icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"},infoURL:"https://www.zircuit.com/",name:"Zircuit Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:48899,rpc:["https://48899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zircuit1.p2pify.com/"],shortName:"zircuit-testnet",slug:"zircuit-testnet",testnet:!0},nEt={chain:"Wireshape",chainId:49049,explorers:[{name:"Wire Explorer",url:"https://floripa-explorer.wireshape.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTAyT3YrW2654CBRqRkec2cCznv6EBsbsRc2y6WQPbvXx",width:1280,height:1280,format:"png"},infoURL:"https://wireshape.org",name:"Wireshape Floripa Testnet",nativeCurrency:{name:"WIRE",symbol:"WIRE",decimals:18},networkId:49049,rpc:["https://49049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-floripa.wireshape.org"],shortName:"floripa",slip44:1,slug:"wireshape-floripa-testnet",testnet:!0,title:"Wireshape Floripa Testnet"},aEt={chain:"Avalanche",chainId:49053,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5759 Testnet",nativeCurrency:{name:"QaUser5759 Testnet Token",symbol:"ATZ",decimals:18},networkId:49053,redFlags:[],rpc:["https://49053.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5759 Testnet",slug:"qauser5759-testnet",testnet:!0},rEt={chain:"BFC",chainId:49088,explorers:[{name:"explorer-thebifrost",url:"https://explorer.testnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Testnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:49088,rpc:["https://49088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.testnet.bifrostnetwork.com/rpc","https://public-02.testnet.bifrostnetwork.com/rpc"],shortName:"tbfc",slip44:1,slug:"bifrost-testnet",testnet:!0,title:"Bifrost Network Testnet"},fEt={chain:"tGUN",chainId:49321,explorers:[{name:"blockscout",url:"https://testnet.gunzscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5R5khFePwY9dYBGhjRA1rGtUAKaHg7Z2B7mBrbA6TiB",width:512,height:512,format:"png"},infoURL:"https://gunbygunz.com",name:"GUNZ Testnet",nativeCurrency:{name:"GUN",symbol:"GUN",decimals:18},networkId:49321,rpc:["https://49321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gunz.dev/ext/bc/ryk9vkvNuKtewME2PeCgybo9sdWXGmCkBrrx4VPuZPdVdAak8/rpc"],shortName:"Stork",slug:"gunz-testnet",testnet:!0},iEt={chain:"NRG",chainId:49797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Testnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:49797,rpc:["https://49797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.test.energi.network"],shortName:"tnrg",slip44:1,slug:"energi-testnet",testnet:!0},sEt={chain:"Avalanche",chainId:49995,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T2TP",nativeCurrency:{name:"QR0606T2TP Token",symbol:"HRQ",decimals:18},networkId:49995,redFlags:[],rpc:["https://49995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t2tp/testnet/rpc"],shortName:"QR0606T2TP",slug:"qr0606t2tp",testnet:!0},oEt={chain:"Liveplex OracleEVM Network",chainId:50001,explorers:[],faucets:[],name:"Liveplex OracleEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:50001,rpc:["https://50001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oracle.liveplex.io"],shortName:"LOE",slug:"liveplex-oracleevm",testnet:!1},cEt={chain:"Yooldo Verse",chainId:50005,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50005,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yooldo-verse.xyz/"],shortName:"YVM",slug:"yooldo-verse",testnet:!1},dEt={chain:"Yooldo Verse",chainId:50006,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.testnet.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50006,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.yooldo-verse.xyz/"],shortName:"YVT",slip44:1,slug:"yooldo-verse-testnet",testnet:!0},lEt={chain:"GTON Testnet",chainId:50021,explorers:[{name:"GTON Testnet Network Explorer",url:"https://explorer.testnet.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Testnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:50021,parent:{type:"L2",chain:"eip155-3"},rpc:["https://50021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gton.network/"],shortName:"tgton",slip44:1,slug:"gton-testnet",testnet:!0},uEt={chain:"Avalanche",chainId:50059,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"MPX",decimals:18},networkId:50059,redFlags:[],rpc:["https://50059.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet",testnet:!0},pEt={chain:"BTC",chainId:50097,explorers:[{name:"Zytron Explorer",url:"http://b2-testnet-zytron-blockscout.zypher.game/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/bafybeiaav4gyweksnce4asrkqxxjevkpcx7xol6a72kzihrhppb5p5z6aa/zytron_T_white.png",width:1420,height:400,format:"png"},name:"Zytron B2 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:50097,redFlags:[],rpc:[],shortName:"zytron-b2-testnet",slug:"zytron-b2-testnet",testnet:!0},hEt={chain:"Avalanche",chainId:50528,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9606 Testnet",nativeCurrency:{name:"QaUser9606 Testnet Token",symbol:"JTW",decimals:18},networkId:50528,redFlags:[],rpc:["https://50528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9606 Testnet",slug:"qauser9606-testnet",testnet:!0},mEt={chain:"Avalanche",chainId:51161,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I6",nativeCurrency:{name:"QI1212I6 Token",symbol:"HSCX",decimals:18},networkId:51161,redFlags:[],rpc:["https://51161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I6",slug:"qi1212i6",testnet:!0},bEt={chain:"Avalanche",chainId:51173,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1544",nativeCurrency:{name:"QaUser1544 Token",symbol:"ECX",decimals:18},networkId:51173,redFlags:[],rpc:["https://51173.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1544",slug:"qauser1544",testnet:!0},yEt={chain:"ETH",chainId:51178,explorers:[{name:"LumozTestnetInfo",url:"https://lumoz.info",standard:"EIP3091",icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"},infoURL:"https://lumoz.org",name:"Lumoz Testnet Alpha",nativeCurrency:{name:"Lumoz Test Token",symbol:"MOZ",decimals:18},networkId:51178,rpc:["https://51178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-us-http-geth.lumoz.org","https://alpha-hk-http-geth.lumoz.org"],shortName:"Lumoz-Testnet",slip44:1,slug:"lumoz-testnet-alpha",testnet:!0},gEt={chain:"Avalanche",chainId:51277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0344s1 Testne",nativeCurrency:{name:"QI0344s1 Testne Token",symbol:"LKG",decimals:18},networkId:51277,redFlags:[],rpc:["https://51277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0344s1 Testne",slug:"qi0344s1-testne",testnet:!0},vEt={chain:"Avalanche",chainId:51435,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0410s1d Testnet",nativeCurrency:{name:"QR0410s1d Testnet Token",symbol:"CWV",decimals:18},networkId:51435,redFlags:[],rpc:["https://51435.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0410s1d/testnet/rpc"],shortName:"QR0410s1d Testnet",slug:"qr0410s1d-testnet",testnet:!0},wEt={chain:"Avalanche",chainId:51440,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s4",nativeCurrency:{name:"QI0430s4 Token",symbol:"SWS",decimals:18},networkId:51440,redFlags:[],rpc:["https://51440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s4",slug:"qi0430s4",testnet:!0},TEt={chain:"SRDX",chainId:51712,explorers:[{name:"Sardis",url:"https://contract-mainnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Mainnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:51712,rpc:["https://51712.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.sardisnetwork.com"],shortName:"SRDXm",slug:"sardis",testnet:!1},xEt={chain:"Avalanche",chainId:51740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"VGW",decimals:18},networkId:51740,redFlags:[],rpc:["https://51740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet",testnet:!0},EEt={chain:"Electroneum",chainId:52014,explorers:[{name:"blockscout",url:"https://blockexplorer.electroneum.com",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Mainnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:52014,rpc:["https://52014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.electroneum.com"],shortName:"etn-mainnet",slug:"electroneum",testnet:!1},_Et={chain:"Avalanche",chainId:52146,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4359 Testnet",nativeCurrency:{name:"QaUser4359 Testnet Token",symbol:"WBP",decimals:18},networkId:52146,redFlags:[],rpc:["https://52146.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4359 Testnet",slug:"qauser4359-testnet",testnet:!0},AEt={chain:"Avalanche",chainId:52150,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I1 Testnet",nativeCurrency:{name:"QI0304I1 Testnet Token",symbol:"LOD",decimals:18},networkId:52150,redFlags:[],rpc:["https://52150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I1 Testnet",slug:"qi0304i1-testnet",testnet:!0},IEt={chain:"Avalanche",chainId:53123,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Metasky",nativeCurrency:{name:"Metasky Token",symbol:"MSK",decimals:18},networkId:53123,redFlags:[],rpc:["https://53123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/metasky/testnet/rpc"],shortName:"Metasky",slug:"metasky",testnet:!0},CEt={chain:"DOID",chainId:53277,explorers:[{name:"DOID Scan",url:"https://scan.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:53277,rpc:["https://53277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.doid.tech"],shortName:"DOID",slug:"doid",testnet:!1},kEt={chain:"Superseed Sepolia Testnet",chainId:53302,explorers:[{name:"blockscout",url:"https://sepolia-explorer.superseed.xyz",standard:"EIP3091",icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"}}],faucets:["https://sepoliafaucet.com"],features:[],icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"},infoURL:"https://www.superseed.xyz",name:"Superseed Sepolia Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:53302,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.superseed.xyz/"}]},redFlags:[],rpc:["https://53302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.superseed.xyz","wss://sepolia.superseed.xyz"],shortName:"superseed-sepolia-testnet",slip44:1,slug:"superseed-sepolia-testnet",testnet:!0},SEt={chain:"Avalanche",chainId:53383,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"GNF",decimals:18},networkId:53383,redFlags:[],rpc:["https://53383.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c37c3f83-6d95-4473-b5c7-626fad519f50"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-53383",testnet:!0},REt={chain:"Avalanche",chainId:53399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I4",nativeCurrency:{name:"QI0603I4 Token",symbol:"UQI",decimals:18},networkId:53399,redFlags:[],rpc:["https://53399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I4",slug:"qi0603i4",testnet:!0},MEt={chain:"DODOchain",chainId:53457,explorers:[{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com",standard:"EIP3091",icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"},infoURL:"https://www.dodochain.com",name:"DODOchain testnet",nativeCurrency:{name:"DODO",symbol:"DODO",decimals:18},networkId:53457,rpc:["https://53457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dodochain-testnet.alt.technology","wss://dodochain-testnet.alt.technology/ws"],shortName:"dodochain",slug:"dodochain-testnet",testnet:!0,title:"DODOchain testnet"},BEt={chain:"Avalanche",chainId:53654,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0610S1TS",nativeCurrency:{name:"QI0610S1TS Token",symbol:"TQA",decimals:18},networkId:53654,redFlags:[],rpc:["https://53654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0610S1TS",slug:"qi0610s1ts",testnet:!0},DEt={chain:"Avalanche",chainId:53687,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0409s1 Testnet",nativeCurrency:{name:"QI0409s1 Testnet Token",symbol:"QCE",decimals:18},networkId:53687,redFlags:[],rpc:["https://53687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0409s1 Testnet",slug:"qi0409s1-testnet",testnet:!0},PEt={chain:"DFK",chainId:53935,explorers:[{name:"ethernal",url:"https://explorer.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:53935,redFlags:[],rpc:["https://53935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://avax-pokt.nodies.app/ext/bc/q2aTwKuyzgs8pynF7UXBZCU7DejbZbZ6EUyHr3JQzYgwNPUPi/rpc"],shortName:"DFK",slug:"dfk-chain",testnet:!1},LEt={chain:"TestEdge2",chainId:54211,explorers:[{name:"TestEdge HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",standard:"EIP3091"}],faucets:["https://testedge2.haqq.network"],infoURL:"https://islamiccoin.net",name:"Haqq Chain Testnet",nativeCurrency:{name:"Islamic Coin",symbol:"ISLMT",decimals:18},networkId:54211,rpc:["https://54211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.testedge2.haqq.network"],shortName:"ISLMT",slip44:1,slug:"haqq-chain-testnet",testnet:!0},FEt={chain:"Toronet",chainId:54321,ens:{registry:"0x059C474f26D65B0458F9da10A649a7322aB02C09"},explorers:[{name:"toronet_explorer",url:"https://testnet.toronet.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Testnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:54321,rpc:["https://54321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.toronet.org/rpc"],shortName:"ToronetTestnet",slip44:1,slug:"toronet-testnet",testnet:!0},NEt={chain:"Avalanche",chainId:54356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"ZEG",decimals:18},networkId:54356,redFlags:[],rpc:["https://54356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e6f00b45-8486-445d-b3b8-815708aab379"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-54356",testnet:!0},OEt={chain:"Avalanche",chainId:54414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Testnet",nativeCurrency:{name:"Innovo Markets Testnet Token",symbol:"INN",decimals:18},networkId:54414,redFlags:[],rpc:["https://54414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovomark/testnet/rpc"],shortName:"Innovo Markets Testnet",slug:"innovo-markets-testnet",testnet:!0},UEt={chain:"Avalanche",chainId:54454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405063 INTEROP NO PRECOMPILE",nativeCurrency:{name:"QIM2405063 INTEROP NO PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:54454,redFlags:[],rpc:["https://54454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405063 INTEROP NO PRECOMPILE",slug:"qim2405063-interop-no-precompile",testnet:!0},HEt={chain:"Photon",chainId:54555,explorers:[{name:"photon_testnet_explorer",url:"https://testnet.photonchain.io",standard:"none"}],faucets:["https://photonchain.io/airdrop"],infoURL:"https://photonchain.io",name:"Photon Testnet",nativeCurrency:{name:"Photon",symbol:"PTON",decimals:18},networkId:54555,rpc:["https://54555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.photonchain.io"],shortName:"pton",slug:"photon-testnet",testnet:!0},zEt={chain:"Avalanche",chainId:54688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"ILF",decimals:18},networkId:54688,redFlags:[],rpc:["https://54688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1",testnet:!0},WEt={chain:"Avalanche",chainId:54763,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3051 Testnet",nativeCurrency:{name:"QaUser3051 Testnet Token",symbol:"DSX",decimals:18},networkId:54763,redFlags:[],rpc:["https://54763.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3051 Testnet",slug:"qauser3051-testnet",testnet:!0},qEt={chain:"ETH",chainId:55004,explorers:[{name:"blockscout",url:"https://explorer.titan.tokamak.network",standard:"EIP3091"}],faucets:[],infoURL:"https://tokamak.network",name:"Titan",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:55004,rpc:["https://55004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.titan.tokamak.network","wss://rpc.titan.tokamak.network"],shortName:"teth",slug:"titan",testnet:!1},jEt={chain:"Avalanche",chainId:55200,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5256",nativeCurrency:{name:"QaUser5256 Token",symbol:"UDQ",decimals:18},networkId:55200,redFlags:[],rpc:["https://55200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5256",slug:"qauser5256",testnet:!0},GEt={chain:"Avalanche",chainId:55246,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6469",nativeCurrency:{name:"QaUser6469 Token",symbol:"ZZX",decimals:18},networkId:55246,redFlags:[],rpc:["https://55246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6469",slug:"qauser6469",testnet:!0},KEt={chain:"Avalanche",chainId:55432,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM DEMO 0527",nativeCurrency:{name:"QIM DEMO 0527 Token",symbol:"WCC",decimals:18},networkId:55432,redFlags:[],rpc:["https://55432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qimdemo052/testnet/rpc"],shortName:"QIM DEMO 0527",slug:"qim-demo-0527",testnet:!0},QEt={chain:"REI",chainId:55555,explorers:[{name:"reiscan",url:"https://reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55555"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Mainnet",nativeCurrency:{name:"Rei",symbol:"REI",decimals:18},networkId:55555,rpc:["https://55555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-rpc.moonrhythm.io"],shortName:"reichain",slug:"rei-chain",testnet:!1},VEt={chain:"REI",chainId:55556,explorers:[{name:"reiscan",url:"https://testnet.reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55556"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Testnet",nativeCurrency:{name:"tRei",symbol:"tREI",decimals:18},networkId:55556,rpc:["https://55556.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-testnet-rpc.moonrhythm.io"],shortName:"trei",slip44:1,slug:"rei-chain-testnet",testnet:!0},YEt={chain:"Lambda Chain",chainId:56026,explorers:[{name:"Lambda Chain Mainnet Explorer",url:"https://scan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:56026,rpc:["https://56026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nrpc.lambda.im/"],shortName:"lambda",slip44:1,slug:"lambda-chain",testnet:!1},$Et={chain:"Avalanche",chainId:56054,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4688",nativeCurrency:{name:"QaUser4688 Token",symbol:"DPN",decimals:18},networkId:56054,redFlags:[],rpc:["https://56054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4688",slug:"qauser4688",testnet:!0},JEt={chain:"Boba BNB Mainnet",chainId:56288,explorers:[{name:"Boba BNB block explorer",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:56288,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://56288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bnb.boba.network","https://boba-bnb.gateway.tenderly.co/","https://gateway.tenderly.co/public/boba-bnb","https://replica.bnb.boba.network","wss://boba-bnb.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-bnb"],shortName:"BobaBnb",slug:"boba-bnb",testnet:!1},XEt={chain:"Avalanche",chainId:56400,explorers:[{name:"TESTNETZER Explorer",url:"https://subnets-test.avax.network/testnetzer",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet Zeroone",nativeCurrency:{name:"Testnet Zeroone Token",symbol:"ZERO",decimals:18},networkId:56400,redFlags:[],rpc:["https://56400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetzer/testnet/rpc"],shortName:"Testnet Zeroone",slug:"testnet-zeroone",testnet:!0},ZEt={chain:"Avalanche",chainId:56525,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TSQ",decimals:18},networkId:56525,redFlags:[],rpc:["https://56525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-56525",testnet:!0},e_t={chain:"Avalanche",chainId:56570,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"GYF",decimals:18},networkId:56570,redFlags:[],rpc:["https://56570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet-qauser4testnet",testnet:!0},t_t={chain:"Avalanche",chainId:56636,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0429I3",nativeCurrency:{name:"QI0429I3 Token",symbol:"IJK",decimals:18},networkId:56636,redFlags:[],rpc:["https://56636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/b6421f40-aa32-4cdc-98f2-bf22d0db7b4f"],shortName:"QI0429I3",slug:"qi0429i3",testnet:!0},n_t={chain:"NOVA chain",chainId:56789,explorers:[{name:"novascan",url:"https://novascan.velo.org",standard:"EIP3091"}],faucets:["https://nova-faucet.velo.org"],icon:{url:"ipfs://QmYqvnW2jwPEKUv8BdaV4sbL8Audcwosat6SPn4GqYtKxc",width:225,height:225,format:"png"},infoURL:"https://velo.org",name:"VELO Labs Mainnet",nativeCurrency:{name:"Nova",symbol:"NOVA",decimals:18},networkId:56789,rpc:["https://56789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.velo.org"],shortName:"VELO",slug:"velo-labs",testnet:!1},a_t={chain:"DOID",chainId:56797,explorers:[{name:"DOID Testnet Scan",url:"https://scan.testnet.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID Testnet",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:56797,rpc:["https://56797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.doid.tech"],shortName:"doidTestnet",slug:"doid-testnet",testnet:!0},r_t={chain:"Avalanche",chainId:56914,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"KK1223",nativeCurrency:{name:"KK1223 Token",symbol:"KLK",decimals:18},networkId:56914,redFlags:[],rpc:["https://56914.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/bf540c23-4601-4768-9e26-f2e5f0f89c18"],shortName:"KK1223",slug:"kk1223",testnet:!0},f_t={chain:"Avalanche",chainId:56973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0587",nativeCurrency:{name:"QaUser0587 Token",symbol:"IDZ",decimals:18},networkId:56973,redFlags:[],rpc:["https://56973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0587",slug:"qauser0587",testnet:!0},i_t={chain:"SYS",chainId:57e3,explorers:[{name:"Rollux Testnet Explorer",url:"https://rollux.tanenbaum.io",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},networkId:57e3,rpc:["https://57000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-tanenbaum.rollux.com","https://rpc.ankr.com/rollux_testnet/${ANKR_API_KEY}","wss://rpc-tanenbaum.rollux.com/wss","https://rollux.rpc.tanenbaum.io","wss://rollux.rpc.tanenbaum.io/wss"],shortName:"tsys-rollux",slip44:1,slug:"rollux-testnet",testnet:!0},s_t={chain:"Avalanche",chainId:57021,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2403061",nativeCurrency:{name:"QIM2403061 Token",symbol:"VVC",decimals:18},networkId:57021,redFlags:[],rpc:["https://57021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2403061",slug:"qim2403061",testnet:!0},o_t={chain:"coinsecnetwork",chainId:57451,explorers:[{name:"coinsec network",url:"https://explorer.coinsec.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYV6beVVg3iS9RGPno7GAASpgjyBDoKmWGUcvAKe2nXWK",width:50,height:50,format:"png"},infoURL:"https://explorer.coinsec.network/",name:"COINSEC Network",nativeCurrency:{name:"COINSEC",symbol:"SEC",decimals:18},networkId:57451,rpc:["https://57451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.coinsec.network"],shortName:"coinsecnetwork",slug:"coinsec-network",testnet:!1,title:"COINSEC Network"},c_t={chain:"Avalanche",chainId:57487,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PTNEWLO",nativeCurrency:{name:"PTNEWLO Token",symbol:"PTNL",decimals:18},networkId:57487,redFlags:[],rpc:["https://57487.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/ptnewlo/testnet/rpc"],shortName:"PTNEWLO",slug:"ptnewlo",testnet:!0},d_t={chain:"Avalanche",chainId:57522,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Test",nativeCurrency:{name:"Cohan Test Token",symbol:"NYU",decimals:18},networkId:57522,redFlags:[],rpc:["https://57522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/fc395ee3-9e2d-45ea-951a-233b4f3e367d"],shortName:"Cohan Test",slug:"cohan-test",testnet:!0},l_t={chain:"Avalanche",chainId:57822,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6586",nativeCurrency:{name:"QaUser6586 Token",symbol:"FUS",decimals:18},networkId:57822,redFlags:[],rpc:["https://57822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6586",slug:"qauser6586",testnet:!0},u_t={chain:"Avalanche",chainId:57973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5524 Testnet",nativeCurrency:{name:"QaUser5524 Testnet Token",symbol:"ADN",decimals:18},networkId:57973,redFlags:[],rpc:["https://57973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5524 Testnet",slug:"qauser5524-testnet",testnet:!0},p_t={chain:"ETH",chainId:58008,explorers:[{name:"blockscout",url:"https://explorer.sepolia.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"Sepolia PGN (Public Goods Network)",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:58008,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://pgn-bridge.vercel.app/bridge"}]},redFlags:[],rpc:["https://58008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.publicgoods.network"],shortName:"sepPGN",slug:"sepolia-pgn-public-goods-network",testnet:!0},h_t={chain:"Avalanche",chainId:58050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0417",nativeCurrency:{name:"QaUser0417 Token",symbol:"HAR",decimals:18},networkId:58050,redFlags:[],rpc:["https://58050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0417",slug:"qauser0417",testnet:!0},m_t={chain:"Avalanche",chainId:58064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I3",nativeCurrency:{name:"QI0209I3 Token",symbol:"BLOX",decimals:18},networkId:58064,redFlags:[],rpc:["https://58064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I3",slug:"qi0209i3",testnet:!0},b_t={chain:"Avalanche",chainId:58316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1943 Testnet",nativeCurrency:{name:"QaUser1943 Testnet Token",symbol:"JAI",decimals:18},networkId:58316,redFlags:[],rpc:["https://58316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1943 Testnet",slug:"qauser1943-testnet",testnet:!0},y_t={chain:"Avalanche",chainId:58474,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s4 Testnet",nativeCurrency:{name:"QI0408s4 Testnet Token",symbol:"QCE",decimals:18},networkId:58474,redFlags:[],rpc:["https://58474.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s4 Testnet",slug:"qi0408s4-testnet",testnet:!0},g_t={chain:"Avalanche",chainId:59069,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V2",nativeCurrency:{name:"ST 12-12 V2 Token",symbol:"GXE",decimals:18},networkId:59069,redFlags:[],rpc:["https://59069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V2",slug:"st-12-12-v2",testnet:!0},v_t={chain:"ETH",chainId:59140,explorers:[{name:"Etherscan",url:"https://goerli.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.goerli.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:["https://faucetlink.to/goerli"],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea Goerli",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59140,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea"}]},redFlags:[],rpc:["https://59140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-goerli.infura.io/v3/${INFURA_API_KEY}","wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.goerli.linea.build","wss://rpc.goerli.linea.build"],shortName:"linea-goerli",slip44:1,slug:"linea-goerli",status:"deprecated",testnet:!0,title:"Linea Goerli Testnet"},w_t={chain:"ETH",chainId:59141,explorers:[{name:"Etherscan",url:"https://sepolia.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.sepolia.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"blockscout",url:"https://explorer.sepolia.linea.build/",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:30,height:30,format:"svg"},infoURL:"https://linea.build",name:"Linea Sepolia",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59141,parent:{type:"L2",chain:"eip155-5",bridges:[]},redFlags:[],rpc:["https://59141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-sepolia.infura.io/v3/${INFURA_API_KEY}","wss://linea-sepolia.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.sepolia.linea.build","wss://rpc.sepolia.linea.build"],shortName:"linea-sepolia",slip44:1,slug:"linea-sepolia",status:"active",testnet:!0,title:"Linea Sepolia Testnet"},T_t={chain:"ETH",chainId:59144,explorers:[{name:"lineascan",url:"https://lineascan.build",standard:"EIP3091"},{name:"Blockscout",url:"https://explorer.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"L2scan",url:"https://linea.l2scan.co",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59144,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.linea.build"}]},redFlags:[],rpc:["https://59144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-mainnet.infura.io/v3/${INFURA_API_KEY}","wss://linea-mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.linea.build","wss://rpc.linea.build"],shortName:"linea",slug:"linea",status:"active",testnet:!1,title:"Linea Mainnet"},x_t={chain:"BEYOND",chainId:59185,explorers:[{name:"Beyond",url:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",name:"BeyondChain Testnet",nativeCurrency:{name:"BEYOND",symbol:"BEYOND",decimals:18},networkId:59185,redFlags:[],rpc:["https://59185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz"],shortName:"beyond-indigo-playground-xz87sjgmaj",slug:"beyondchain-testnet",testnet:!0},E_t={chain:"Avalanche",chainId:59932,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Insomnia Testnet",nativeCurrency:{name:"Insomnia Testnet Token",symbol:"TECH",decimals:18},networkId:59932,redFlags:[],rpc:["https://59932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/instest/testnet/rpc"],shortName:"Insomnia Testnet",slug:"insomnia-testnet",testnet:!0},__t={chain:"Avalanche",chainId:59940,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0510s1",nativeCurrency:{name:"QR0510s1 Token",symbol:"RTQ",decimals:18},networkId:59940,redFlags:[],rpc:["https://59940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0510s1/testnet/rpc"],shortName:"QR0510s1",slug:"qr0510s1",testnet:!0},A_t={chain:"Avalanche",chainId:59944,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7920 Testnet",nativeCurrency:{name:"QaUser7920 Testnet Token",symbol:"USH",decimals:18},networkId:59944,redFlags:[],rpc:["https://59944.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7920 Testnet",slug:"qauser7920-testnet",testnet:!0},I_t={chain:"GCODE",chainId:59971,explorers:[{name:"Genesys Scan",url:"https://genesysscan.io",standard:"none",icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"},infoURL:"https://genesyscode.io",name:"Genesys Code Mainnet",nativeCurrency:{name:"GenesysCode",symbol:"GCODE",decimals:18},networkId:59971,rpc:["https://59971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.genesyscode.io/"],shortName:"gcode",slug:"genesys-code",testnet:!1},C_t={chain:"Thinkium",chainId:6e4,explorers:[{name:"thinkiumscan",url:"https://test0.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:6e4,rpc:["https://60000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.thinkiumrpc.net/"],shortName:"TKM-test0",slip44:1,slug:"thinkium-testnet-chain-0",testnet:!0},k_t={chain:"Thinkium",chainId:60001,explorers:[{name:"thinkiumscan",url:"https://test1.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60001,rpc:["https://60001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test1.thinkiumrpc.net/"],shortName:"TKM-test1",slip44:1,slug:"thinkium-testnet-chain-1",testnet:!0},S_t={chain:"Thinkium",chainId:60002,explorers:[{name:"thinkiumscan",url:"https://test2.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60002,rpc:["https://60002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.thinkiumrpc.net/"],shortName:"TKM-test2",slip44:1,slug:"thinkium-testnet-chain-2",testnet:!0},R_t={chain:"Thinkium",chainId:60103,explorers:[{name:"thinkiumscan",url:"https://test103.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60103,rpc:["https://60103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test103.thinkiumrpc.net/"],shortName:"TKM-test103",slip44:1,slug:"thinkium-testnet-chain-103",testnet:!0},M_t={chain:"Avalanche",chainId:60147,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6828",nativeCurrency:{name:"QaUser6828 Token",symbol:"CLL",decimals:18},networkId:60147,redFlags:[],rpc:["https://60147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6828",slug:"qauser6828",testnet:!0},B_t={chain:"ETH",chainId:60808,explorers:[{name:"bobscout",url:"https://explorer.gobob.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaX5iqQTrJD8TBuvoT97xPMG6LYamjPCPnZUUMh12jc99",width:297,height:378,format:"png"},infoURL:"https://gobob.xyz",name:"BOB",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:60808,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.gobob.xyz"}]},rpc:["https://60808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gobob.xyz","wss://rpc.gobob.xyz","https://bob-mainnet.public.blastapi.io","wss://bob-mainnet.public.blastapi.io"],shortName:"bob",slug:"bob",status:"active",testnet:!1},D_t={chain:"Avalanche",chainId:60834,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402059",nativeCurrency:{name:"QI M 2402059 Token",symbol:"ACI",decimals:18},networkId:60834,redFlags:[],rpc:["https://60834.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402059",slug:"qi-m-2402059",testnet:!0},P_t={chain:"Avalanche",chainId:60841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:60841,redFlags:[],rpc:["https://60841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/testnet/rpc"],shortName:"SCG-K",slug:"scg-k",testnet:!0},L_t={chain:"Avalanche",chainId:61205,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6116 Testnet",nativeCurrency:{name:"QaUser6116 Testnet Token",symbol:"YLJ",decimals:18},networkId:61205,redFlags:[],rpc:["https://61205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6116 Testnet",slug:"qauser6116-testnet",testnet:!0},F_t={chain:"Avalanche",chainId:61258,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7821 Testnet",nativeCurrency:{name:"QaUser7821 Testnet Token",symbol:"WND",decimals:18},networkId:61258,redFlags:[],rpc:["https://61258.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7821 Testnet",slug:"qauser7821-testnet",testnet:!0},N_t={chain:"KEC",chainId:61406,explorers:[{name:"KaiChain Explorer",url:"https://explorer.kaichain.net",standard:"EIP3091"},{name:"KEC SCAN",url:"https://explorer.kaichain.net/",standard:"EIP3091",icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"},infoURL:"http://kaichain.net/",name:"Kaichain Mainnet",nativeCurrency:{name:"Kaichain",symbol:"KEC",decimals:18},networkId:61406,redFlags:[],rpc:["https://61406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.kaichain.net"],shortName:"Kaichain",slug:"kaichain",testnet:!1},O_t={chain:"Avalanche",chainId:61514,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI011624I1",nativeCurrency:{name:"QI011624I1 Token",symbol:"DGQ",decimals:18},networkId:61514,redFlags:[],rpc:["https://61514.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e81adde6-3c1b-46ce-8dfe-e7a689f8c7eb"],shortName:"QI011624I1",slug:"qi011624i1",testnet:!0},U_t={chain:"Avalanche",chainId:61551,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0304T1TS Testnet",nativeCurrency:{name:"QR0304T1TS Testnet Token",symbol:"OYU",decimals:18},networkId:61551,redFlags:[],rpc:["https://61551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0304t1ts/testnet/rpc"],shortName:"QR0304T1TS Testnet",slug:"qr0304t1ts-testnet",testnet:!0},H_t={chain:"AXEL",chainId:61800,explorers:[{name:"AxelChain Dev-Net Explorer",url:"https://devexplorer2.viacube.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNx8FRacfNeawhkjk5p57EKzDHkLGMaBBmK2VRL5CB2P2",width:40,height:40,format:"svg"},infoURL:"https://www.axel.org",name:"AxelChain Dev-Net",nativeCurrency:{name:"Axelium",symbol:"AIUM",decimals:18},networkId:61800,rpc:["https://61800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aium-rpc-dev.viacube.com"],shortName:"aium-dev",slug:"axelchain-dev-net",testnet:!1},z_t={chain:"Etica Protocol (ETI/EGAZ)",chainId:61803,explorers:[{name:"eticascan",url:"https://eticascan.org",standard:"EIP3091"},{name:"eticastats",url:"http://explorer.etica-stats.org",standard:"EIP3091"}],faucets:["http://faucet.etica-stats.org/"],icon:{url:"ipfs://QmYSyhUqm6ArWyALBe3G64823ZpEUmFdkzKZ93hUUhNKgU",width:360,height:361,format:"png"},infoURL:"https://eticaprotocol.org",name:"Etica Mainnet",nativeCurrency:{name:"EGAZ",symbol:"EGAZ",decimals:18},networkId:61803,rpc:["https://61803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eticamainnet.eticascan.org","https://eticamainnet.eticaprotocol.org"],shortName:"Etica",slug:"etica",testnet:!1},W_t={chain:"DoKEN Super Chain",chainId:61916,explorers:[{name:"DSC Scan",url:"https://explore.doken.dev",standard:"EIP3091",icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"},infoURL:"https://doken.dev/",name:"DoKEN Super Chain Mainnet",nativeCurrency:{name:"DoKEN",symbol:"DKN",decimals:18},networkId:61916,rpc:["https://61916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sgrpc.doken.dev","https://nyrpc.doken.dev","https://ukrpc.doken.dev"],shortName:"DoKEN",slug:"doken-super-chain",testnet:!1},q_t={chain:"Avalanche",chainId:62040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s1",nativeCurrency:{name:"QI0430s1 Token",symbol:"SWS",decimals:18},networkId:62040,redFlags:[],rpc:["https://62040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s1",slug:"qi0430s1",testnet:!0},j_t={chain:"ETH",chainId:62049,explorers:[{name:"optopia-testnet-scan",url:"https://scan-testnet.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"OPTOPIA Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62049,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge-testnet.optopia.ai"}]},rpc:["https://62049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.optopia.ai"],shortName:"OPTOPIA-Testnet",slug:"optopia-testnet",testnet:!0},G_t={chain:"ETH",chainId:62050,explorers:[{name:"optopia-scan",url:"https://scan.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"Optopia Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62050,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.optopia.ai"}]},rpc:["https://62050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.optopia.ai","https://rpc-mainnet-2.optopia.ai"],shortName:"Optopia",slug:"optopia",testnet:!1},K_t={chain:"Avalanche",chainId:62278,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qi1121i1",nativeCurrency:{name:"qi1121i1 Token",symbol:"SJOX",decimals:18},networkId:62278,redFlags:[],rpc:["https://62278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qi1121i1",slug:"qi1121i1",testnet:!0},Q_t={chain:"Avalanche",chainId:62293,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0516s1dev",nativeCurrency:{name:"QI0516s1dev Token",symbol:"OMF",decimals:18},networkId:62293,redFlags:[],rpc:["https://62293.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0516s1dev",slug:"qi0516s1dev",testnet:!0},V_t={chain:"Citrea",chainId:62298,explorers:[{name:"Citrea Devnet Explorer",url:"https://explorer.devnet.citrea.xyz",standard:"EIP3091",icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"}}],faucets:["https://citrea.xyz/bridge"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"},infoURL:"https://citrea.xyz",name:"Citrea Devnet",nativeCurrency:{name:"Citrea BTC",symbol:"cBTC",decimals:18},networkId:62298,rpc:["https://62298.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.devnet.citrea.xyz"],shortName:"citrea-devnet",slug:"citrea-devnet",testnet:!1},Kse={chain:"CELO",chainId:62320,explorers:[],faucets:["https://docs.google.com/forms/d/e/1FAIpQLSdfr1BwUTYepVmmvfVUDRCwALejZ-TUva2YujNpvrEmPAX2pg/viewform","https://cauldron.pretoriaresearchlab.io/baklava-faucet"],infoURL:"https://docs.celo.org/",name:"Celo Baklava Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:62320,rpc:["https://62320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baklava-forno.celo-testnet.org"],shortName:"BKLV",slip44:1,slug:"celo-baklava-testnet",testnet:!0},Y_t={chain:"MultiVAC",chainId:62621,explorers:[{name:"MultiVAC Explorer",url:"https://e.mtv.ac",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWb1gthhbzkiLdgcP8ccZprGbJVjFcW8Rn4uJjrw4jd3B",width:200,height:200,format:"png"},infoURL:"https://mtv.ac",name:"MultiVAC Mainnet",nativeCurrency:{name:"MultiVAC",symbol:"MTV",decimals:18},networkId:62621,rpc:["https://62621.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mtv.ac","https://rpc-eu.mtv.ac"],shortName:"mtv",slug:"multivac",testnet:!1},$_t={chain:"Avalanche",chainId:62831,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/plyr",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=plyr"],features:[],icon:{url:"https://plyr.network/plyr_logo.png",width:256,height:256,format:"png"},infoURL:"https://plyr.network",name:"PLYR TAU TESTNET",nativeCurrency:{name:"PLYR TAU TESTNET Token",symbol:"PLYR",decimals:18},networkId:62831,redFlags:[],rpc:["https://62831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/plyr/testnet/rpc"],shortName:"PLYR TAU TESTNET",slip44:1,slug:"plyr-tau-testnet",testnet:!0},J_t={chain:"ECS",chainId:63e3,explorers:[{name:"eCredits MainNet Explorer",url:"https://explorer.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:[],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Mainnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63e3,rpc:["https://63000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ecredits.com"],shortName:"ecs",slug:"ecredits",testnet:!1},X_t={chain:"ECS",chainId:63001,explorers:[{name:"eCredits TestNet Explorer",url:"https://explorer.tst.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:["https://faucet.tst.ecredits.com"],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Testnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63001,rpc:["https://63001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.ecredits.com"],shortName:"ecs-testnet",slip44:1,slug:"ecredits-testnet",testnet:!0},Z_t={chain:"Avalanche",chainId:63079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"MT 1121-2",nativeCurrency:{name:"MT 1121-2 Token",symbol:"RCE",decimals:18},networkId:63079,redFlags:[],rpc:["https://63079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d76ea66a-e423-49f6-8ef1-4355260b47f1"],shortName:"MT 1121-2",slug:"mt-1121-2",testnet:!0},eAt={chain:"Avalanche",chainId:63367,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ReSFT 1-16-24",nativeCurrency:{name:"ReSFT 1-16-24 Token",symbol:"ZAF",decimals:18},networkId:63367,redFlags:[],rpc:["https://63367.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ReSFT 1-16-24",slug:"resft-1-16-24",testnet:!0},tAt={chain:"Avalanche",chainId:63891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnetv2",nativeCurrency:{name:"Tnetv2 Token",symbol:"LFC",decimals:18},networkId:63891,redFlags:[],rpc:["https://63891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnetv2",slug:"tnetv2",testnet:!0},nAt={chain:"Avalanche",chainId:64029,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0524I1",nativeCurrency:{name:"QI0524I1 Token",symbol:"LHU",decimals:18},networkId:64029,redFlags:[],rpc:["https://64029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0524I1",slug:"qi0524i1",testnet:!0},aAt={chain:"Avalanche",chainId:64092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3186 Testnet",nativeCurrency:{name:"QaUser3186 Testnet Token",symbol:"KII",decimals:18},networkId:64092,redFlags:[],rpc:["https://64092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3186 Testnet",slug:"qauser3186-testnet",testnet:!0},rAt={chain:"FTM",chainId:64165,ens:{registry:"standard"},explorers:[{name:"Fantom Sonic Builders Testnet",url:"https://sonicscan.io/",standard:"standard",icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"}}],faucets:["https://public-sonic.fantom.network/account"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://sonicscan.io/",name:"Fantom Sonic Builders Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:64165,redFlags:[],rpc:["https://64165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sonic.fantom.network/"],shortName:"FantomTestnet",slug:"fantom-sonic-builders-testnet",testnet:!0},fAt={chain:"Avalanche",chainId:64273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:64273,redFlags:[],rpc:["https://64273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/mainnet/rpc"],shortName:"REALLY",slug:"really-really",testnet:!1},iAt={chain:"Avalanche",chainId:64326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523s1t",nativeCurrency:{name:"QI0523s1t Token",symbol:"ADN",decimals:18},networkId:64326,redFlags:[],rpc:["https://64326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523s1t",slug:"qi0523s1t",testnet:!0},sAt={chain:"Avalanche",chainId:64361,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8734 Testnet",nativeCurrency:{name:"QaUser8734 Testnet Token",symbol:"XPI",decimals:18},networkId:64361,redFlags:[],rpc:["https://64361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8734 Testnet",slug:"qauser8734-testnet",testnet:!0},oAt={chain:"Avalanche",chainId:64643,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qasim Testnet",nativeCurrency:{name:"qasim Testnet Token",symbol:"SQJ",decimals:18},networkId:64643,redFlags:[],rpc:["https://64643.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qasim Testnet",slug:"qasim-testnet",testnet:!0},cAt={chain:"Avalanche",chainId:64943,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"JIQ",decimals:18},networkId:64943,redFlags:[],rpc:["https://64943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1-qi0430i1",testnet:!0},dAt={chain:"Avalanche",chainId:64947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0604S1T",nativeCurrency:{name:"QR0604S1T Token",symbol:"GKN",decimals:18},networkId:64947,redFlags:[],rpc:["https://64947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0604s1t/testnet/rpc"],shortName:"QR0604S1T",slug:"qr0604s1t",testnet:!0},lAt={chain:"Avalanche",chainId:65044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EXR0314 Testnet",nativeCurrency:{name:"EXR0314 Testnet Token",symbol:"BPR",decimals:18},networkId:65044,redFlags:[],rpc:["https://65044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"EXR0314 Testnet",slug:"exr0314-testnet",testnet:!0},uAt={chain:"Avalanche",chainId:65174,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9821 Testnet",nativeCurrency:{name:"QaUser9821 Testnet Token",symbol:"HKL",decimals:18},networkId:65174,redFlags:[],rpc:["https://65174.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9821 Testnet",slug:"qauser9821-testnet",testnet:!0},pAt={chain:"Avalanche",chainId:65300,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser46 Testnet",nativeCurrency:{name:"QaUser46 Testnet Token",symbol:"ZAG",decimals:18},networkId:65300,redFlags:[],rpc:["https://65300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser46 Testnet",slug:"qauser46-testnet",testnet:!0},hAt={chain:"SCOLWEI",chainId:65450,explorers:[{name:"Scolscan Explorer",url:"https://explorer.scolcoin.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin Mainnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:65450,rpc:["https://65450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scolcoin.com"],shortName:"SRC",slug:"scolcoin",testnet:!1},mAt={chain:"Avalanche",chainId:65622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Live Stripe Test",nativeCurrency:{name:"Live Stripe Test Token",symbol:"LST",decimals:18},networkId:65622,redFlags:[],rpc:["https://65622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/livestripe/testnet/rpc"],shortName:"Live Stripe Test",slug:"live-stripe-test",testnet:!0},bAt={chain:"Avalanche",chainId:65842,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4143 Testnet",nativeCurrency:{name:"QaUser4143 Testnet Token",symbol:"NHU",decimals:18},networkId:65842,redFlags:[],rpc:["https://65842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4143 Testnet",slug:"qauser4143-testnet",testnet:!0},yAt={chain:"Avalanche",chainId:66042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408I1 Testnet",nativeCurrency:{name:"QI0408I1 Testnet Token",symbol:"YXE",decimals:18},networkId:66042,redFlags:[],rpc:["https://66042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408I1 Testnet",slug:"qi0408i1-testnet",testnet:!0},gAt={chain:"Avalanche",chainId:66063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3324 Testnet",nativeCurrency:{name:"QaUser3324 Testnet Token",symbol:"IYM",decimals:18},networkId:66063,redFlags:[],rpc:["https://66063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3324 Testnet",slug:"qauser3324-testnet",testnet:!0},vAt={chain:"Avalanche",chainId:66729,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0605S1T",nativeCurrency:{name:"QR0605S1T Token",symbol:"GKN",decimals:18},networkId:66729,redFlags:[],rpc:["https://66729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0605s1t/testnet/rpc"],shortName:"QR0605S1T",slug:"qr0605s1t",testnet:!0},wAt={chain:"Avalanche",chainId:66904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1335 Testnet",nativeCurrency:{name:"QaUser1335 Testnet Token",symbol:"KFZ",decimals:18},networkId:66904,redFlags:[],rpc:["https://66904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1335 Testnet",slug:"qauser1335-testnet",testnet:!0},TAt={chain:"JanusNetwork",chainId:66988,explorers:[{name:"JanusNetwork Testnet Explorer",url:"https://beta.scan.janusnetwork.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifc3vnwf4hj3bo6fg4u5qlqmjgajjgezyeg236qjcihl4ha42siuq",width:819,height:792,format:"png"},infoURL:"https://janus-network.gitbook.io/janus",name:"Janus Testnet",nativeCurrency:{name:"Janus",symbol:"JNS",decimals:18},networkId:66988,rpc:["https://66988.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.janusnetwork.io"],shortName:"janusnetwork-testnet",slip44:1,slug:"janus-testnet",status:"active",testnet:!0},xAt={chain:"SIN",chainId:67390,explorers:[{name:"siriusnetscan",url:"https://siriusnet.tryethernal.com",standard:"EIP3091"}],faucets:[],infoURL:"https://macaucasinolisboa.xyz",name:"SiriusNet",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:67390,rpc:["https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"],shortName:"mcl",slug:"siriusnet",status:"deprecated",testnet:!1},EAt={chain:"Avalanche",chainId:67451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6097 Testnet",nativeCurrency:{name:"QaUser6097 Testnet Token",symbol:"NHU",decimals:18},networkId:67451,redFlags:[],rpc:["https://67451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6097 Testnet",slug:"qauser6097-testnet",testnet:!0},_At={chain:"COSMIC",chainId:67588,explorers:[],faucets:[],infoURL:"https://cosmicchain.site",name:"Cosmic Chain",nativeCurrency:{name:"Cosmic Chain",symbol:"COSMIC",decimals:18},networkId:3344,rpc:["https://67588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cosmicchain.site:3344"],shortName:"Cosmic",slug:"cosmic-chain",testnet:!0},AAt={chain:"Avalanche",chainId:67700,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T1DT",nativeCurrency:{name:"QI0523T1DT Token",symbol:"WYI",decimals:18},networkId:67700,redFlags:[],rpc:["https://67700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T1DT",slug:"qi0523t1dt",testnet:!0},IAt={chain:"Avalanche",chainId:68007,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"infra Testnet",nativeCurrency:{name:"infra Testnet Token",symbol:"ZPO",decimals:18},networkId:68007,redFlags:[],rpc:["https://68007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/infratestn/testnet/rpc"],shortName:"infra Testnet",slug:"infra-testnet",testnet:!0},CAt={chain:"Avalanche",chainId:68042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0514s1",nativeCurrency:{name:"QI0514s1 Token",symbol:"TQA",decimals:18},networkId:68042,redFlags:[],rpc:["https://68042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0514s1",slug:"qi0514s1",testnet:!0},kAt={chain:"Avalanche",chainId:68064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3451 Testnet",nativeCurrency:{name:"QaUser3451 Testnet Token",symbol:"NKL",decimals:18},networkId:68064,redFlags:[],rpc:["https://68064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3451 Testnet",slug:"qauser3451-testnet",testnet:!0},SAt={chain:"Avalanche",chainId:68295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0116y1s",nativeCurrency:{name:"qr0116y1s Token",symbol:"ANG",decimals:18},networkId:68295,redFlags:[],rpc:["https://68295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116y1s/testnet/rpc"],shortName:"qr0116y1s",slug:"qr0116y1s",testnet:!0},RAt={chain:"Avalanche",chainId:68316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0611STS",nativeCurrency:{name:"QR0611STS Token",symbol:"NAA",decimals:18},networkId:68316,redFlags:[],rpc:["https://68316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0611sts/testnet/rpc"],shortName:"QR0611STS",slug:"qr0611sts",testnet:!0},MAt={chain:"Avalanche",chainId:68688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Haku Chain Testnet",nativeCurrency:{name:"Haku Chain Testnet Token",symbol:"HAKU",decimals:18},networkId:68688,redFlags:[],rpc:["https://68688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/hakuchain/testnet/rpc"],shortName:"Haku Chain Testnet",slug:"haku-chain-testnet",testnet:!0},BAt={chain:"DM2 Verse",chainId:68770,explorers:[{name:"DM2Verse Explorer",url:"https://explorer.dm2verse.dmm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPMqjf5XKZ4Cxa1u8qc8Zj9mmVLBoqK7N5h2zFr3Rsyzw",width:260,height:260,format:"png"},infoURL:"https://seamoon.dmm.com",name:"DM2 Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:68770,parent:{type:"L2",chain:"eip155-248"},rpc:["https://68770.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dm2verse.dmm.com"],shortName:"dm2",slug:"dm2-verse",testnet:!1},DAt={chain:"Avalanche",chainId:68976,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s1 Testnet",nativeCurrency:{name:"QI0408s1 Testnet Token",symbol:"ICV",decimals:18},networkId:68976,redFlags:[],rpc:["https://68976.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s1 Testnet",slug:"qi0408s1-testnet",testnet:!0},PAt={chain:"Avalanche",chainId:69399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0103I1",nativeCurrency:{name:"QI0103I1 Token",symbol:"AYYX",decimals:18},networkId:69399,redFlags:[],rpc:["https://69399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0103I1",slug:"qi0103i1",testnet:!0},LAt={chain:"ETH",chainId:69420,explorers:[{name:"Condrieu explorer",url:"https://explorer.condrieu.ethdevops.io",standard:"none"}],faucets:["https://faucet.condrieu.ethdevops.io"],infoURL:"https://condrieu.ethdevops.io",name:"Condrieu",nativeCurrency:{name:"Condrieu Testnet Ether",symbol:"CTE",decimals:18},networkId:69420,rpc:["https://69420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.condrieu.ethdevops.io:8545"],shortName:"cndr",slip44:1,slug:"condrieu",testnet:!0,title:"Ethereum Verkle Testnet Condrieu"},FAt={chain:"Avalanche",chainId:69740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"WLDVNT",decimals:18},networkId:69740,redFlags:[],rpc:["https://69740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-69740",testnet:!0},NAt={chain:"Avalanche",chainId:69743,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:69743,redFlags:[],rpc:["https://69743.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/mainnet/rpc"],shortName:"SCG-K",slug:"scg-k-scg-k",testnet:!1},OAt={chain:"Thinkium",chainId:7e4,explorers:[{name:"thinkiumscan",url:"https://chain0.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:7e4,rpc:["https://70000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.thinkiumrpc.net/"],shortName:"TKM0",slug:"thinkium-chain-0",testnet:!1},UAt={chain:"Thinkium",chainId:70001,explorers:[{name:"thinkiumscan",url:"https://chain1.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70001,rpc:["https://70001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy1.thinkiumrpc.net/"],shortName:"TKM1",slug:"thinkium-chain-1",testnet:!1},HAt={chain:"Thinkium",chainId:70002,explorers:[{name:"thinkiumscan",url:"https://chain2.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70002,rpc:["https://70002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy2.thinkiumrpc.net/"],shortName:"TKM2",slug:"thinkium-chain-2",testnet:!1},zAt={chain:"Avalanche",chainId:70038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"John's Testnet",nativeCurrency:{name:"John's Testnet Token",symbol:"FLG",decimals:18},networkId:70038,redFlags:[],rpc:["https://70038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"John's Testnet",slug:"john-s-testnet",testnet:!0},WAt={chain:"Thinkium",chainId:70103,explorers:[{name:"thinkiumscan",url:"https://chain103.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70103,rpc:["https://70103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy103.thinkiumrpc.net/"],shortName:"TKM103",slug:"thinkium-chain-103",testnet:!1},qAt={chain:"Avalanche",chainId:70157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"jonoperf",nativeCurrency:{name:"jonoperf Token",symbol:"JONO",decimals:18},networkId:70157,redFlags:[],rpc:["https://70157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jonoperf/testnet/rpc"],shortName:"jonoperf",slug:"jonoperf",testnet:!0},jAt={chain:"Avalanche",chainId:70341,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1957 Testnet",nativeCurrency:{name:"QaUser1957 Testnet Token",symbol:"AKI",decimals:18},networkId:70341,redFlags:[],rpc:["https://70341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1957 Testnet",slug:"qauser1957-testnet",testnet:!0},GAt={chain:"Avalanche",chainId:70408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T2TD",nativeCurrency:{name:"QI0523T2TD Token",symbol:"WYI",decimals:18},networkId:70408,redFlags:[],rpc:["https://70408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T2TD",slug:"qi0523t2td",testnet:!0},KAt={chain:"Avalanche",chainId:70457,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9604",nativeCurrency:{name:"QaUser9604 Token",symbol:"CEB",decimals:18},networkId:70457,redFlags:[],rpc:["https://70457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9604",slug:"qauser9604",testnet:!0},QAt={chain:"Avalanche",chainId:70466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan test3",nativeCurrency:{name:"Cohan test3 Token",symbol:"HYN",decimals:18},networkId:70466,redFlags:[],rpc:["https://70466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f44b72ee-0574-44d2-a10b-363a74964145"],shortName:"Cohan test3",slug:"cohan-test3",testnet:!0},VAt={chain:"ETH",chainId:70700,explorers:[{name:"Proof of Play Apex Explorer",url:"https://explorer.apex.proofofplay.com",standard:"EIP3091",icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"},infoURL:"https://proofofplay.com",name:"Proof of Play - Apex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:70700,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"},{url:"https://relay.link/bridge/apex/"}]},rpc:["https://70700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.apex.proofofplay.com"],shortName:"pop-apex",slug:"proof-of-play-apex",testnet:!1},YAt={chain:"GuapcoinX",chainId:71111,explorers:[{name:"GuapcoinX Explorer",url:"http://explorer.guapcoinx.com",standard:"none",icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"},infoURL:"https://guapcoin.org/",name:"GuapcoinX",nativeCurrency:{name:"GuapcoinX",symbol:"GuapX",decimals:18},networkId:71111,rpc:["https://71111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.guapcoinx.com/","https://rpc-mainnet-1.guapcoinx.com/","https://rpc-mainnet-2.guapcoinx.com/"],shortName:"GuapX",slug:"guapcoinx",testnet:!1},$At={chain:"Avalanche",chainId:71169,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"PJH",decimals:18},networkId:71169,redFlags:[],rpc:["https://71169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-71169",testnet:!0},JAt={chain:"CKB",chainId:71393,explorers:[],faucets:["https://faucet.nervos.org/"],icon:{url:"ipfs://QmZ5gFWUxLFqqT3DkefYfRsVksMwMTc5VvBjkbHpeFMsNe",width:1001,height:1629,format:"png"},infoURL:"https://github.com/nervosnetwork/godwoken",name:"Polyjuice Testnet",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:1,rpc:["https://71393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-rpc.ckbapp.dev","ws://godwoken-testnet-web3-rpc.ckbapp.dev/ws"],shortName:"ckb",slip44:1,slug:"polyjuice-testnet",testnet:!0},XAt={chain:"GWT",chainId:71401,explorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com",standard:"none"}],faucets:["https://testnet.bridge.godwoken.io"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet v1",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71401,rpc:["https://71401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-v1.ckbapp.dev","https://v1.testnet.godwoken.io/rpc"],shortName:"gw-testnet-v1",slip44:1,slug:"godwoken-testnet-v1",testnet:!0},ZAt={chain:"GWT",chainId:71402,explorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com",standard:"none"}],faucets:[],infoURL:"https://www.nervos.org",name:"Godwoken Mainnet",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71402,rpc:["https://71402.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://v1.mainnet.godwoken.io/rpc"],shortName:"gw-mainnet-v1",slug:"godwoken",testnet:!1},eIt={chain:"Jambon's Devnet",chainId:72605,explorers:[],faucets:[],features:[],icon:{url:"",width:256,height:256,format:".svg"},name:"Jambon's Devnet",nativeCurrency:{name:"Jambon's Devnet",symbol:"DOB",decimals:18},networkId:72605,redFlags:[],rpc:[],shortName:"Jambon's Devnet",slug:"jambon-s-devnet",testnet:!0},tIt={chain:"Avalanche",chainId:72647,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3938",nativeCurrency:{name:"QaUser3938 Token",symbol:"HTO",decimals:18},networkId:72647,redFlags:[],rpc:["https://72647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3938",slug:"qauser3938",testnet:!0},nIt={chain:"Avalanche",chainId:72709,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Dragon Testnet",nativeCurrency:{name:"Dragon Testnet Token",symbol:"BDI",decimals:18},networkId:72709,redFlags:[],rpc:["https://72709.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dragontest/testnet/rpc"],shortName:"Dragon Testnet",slug:"dragon-testnet",testnet:!0},aIt={chain:"Ankara",chainId:72778,explorers:[{name:"ankara",url:"https://explorer.ankara-cagacrypto.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmeiop9gSdzU4NNJ6GCuPk6AeYwD9pbhEFVfRdk4dXs3kJ",width:640,height:640,format:"png"},infoURL:"https://www.cagacrypto.com/",name:"CAGA crypto Ankara testnet",nativeCurrency:{name:"Caga",symbol:"CAGA",decimals:18},networkId:72778,rpc:["https://72778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.ankara-cagacrypto.com","wss://wss.ankara-cagacrypto.com"],shortName:"caga",slug:"caga-crypto-ankara-testnet",testnet:!0},rIt={chain:"Avalanche",chainId:72877,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"ZAG",decimals:18},networkId:72877,redFlags:[],rpc:["https://72877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-72877",testnet:!0},fIt={chain:"Grok",chainId:72992,explorers:[{name:"GrokScan",url:"https://mainnet-explorer.grokchain.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreicepw6yqtmubtpcthecjx47ndwgywartfqnkdhf66k3q57h2hlewm",width:512,height:512,format:"png"},infoURL:"https://grokchain.dev",name:"Grok Chain Mainnet",nativeCurrency:{name:"Groc",symbol:"GROC",decimals:18},networkId:72992,rpc:["https://72992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.grokchain.dev"],shortName:"GrokChain",slug:"grok-chain",testnet:!1},iIt={chain:"ICBT",chainId:73114,explorers:[{name:"ICB Tesnet Explorer",url:"https://testnet.icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Testnet",nativeCurrency:{name:"ICB Testnet Token",symbol:"ICBT",decimals:18},networkId:73114,rpc:["https://73114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.icbnetwork.info/","https://rpc2-testnet.icbnetwork.info/"],shortName:"ICBT",slug:"icb-testnet",testnet:!0},sIt={chain:"ICB",chainId:73115,explorers:[{name:"ICB Explorer",url:"https://icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Network",nativeCurrency:{name:"ICB Native Token",symbol:"ICBX",decimals:18},networkId:73115,rpc:["https://73115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-mainnet.icbnetwork.info/","https://rpc2-mainnet.icbnetwork.info/"],shortName:"ICBX",slug:"icb-network",testnet:!1},oIt={chain:"Avalanche",chainId:73277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9250 Testnet",nativeCurrency:{name:"QaUser9250 Testnet Token",symbol:"UDU",decimals:18},networkId:73277,redFlags:[],rpc:["https://73277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9250 Testnet",slug:"qauser9250-testnet",testnet:!0},cIt={chain:"Avalanche",chainId:73322,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7831",nativeCurrency:{name:"QaUser7831 Token",symbol:"RAN",decimals:18},networkId:73322,redFlags:[],rpc:["https://73322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7831",slug:"qauser7831",testnet:!0},dIt={chain:"Avalanche",chainId:73486,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405024 NO INTEROP",nativeCurrency:{name:"QIM2405024 NO INTEROP Token",symbol:"UZP",decimals:18},networkId:73486,redFlags:[],rpc:["https://73486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405024 NO INTEROP",slug:"qim2405024-no-interop",testnet:!0},lIt={chain:"Avalanche",chainId:73592,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5450",nativeCurrency:{name:"QaUser5450 Token",symbol:"PXB",decimals:18},networkId:73592,redFlags:[],rpc:["https://73592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5450",slug:"qauser5450",testnet:!0},uIt={chain:"Avalanche",chainId:73677,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9318 Testnet",nativeCurrency:{name:"QaUser9318 Testnet Token",symbol:"XUK",decimals:18},networkId:73677,redFlags:[],rpc:["https://73677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9318 Testnet",slug:"qauser9318-testnet",testnet:!0},pIt={chain:"Volta",chainId:73799,explorers:[],faucets:["https://voltafaucet.energyweb.org"],infoURL:"https://energyweb.org",name:"Energy Web Volta Testnet",nativeCurrency:{name:"Volta Token",symbol:"VT",decimals:18},networkId:73799,rpc:["https://73799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://volta-rpc.energyweb.org","wss://volta-rpc.energyweb.org/ws"],shortName:"vt",slip44:1,slug:"energy-web-volta-testnet",testnet:!0},hIt={chain:"Avalanche",chainId:73813,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405082",nativeCurrency:{name:"QIM2405082 Token",symbol:"WCC",decimals:18},networkId:73813,redFlags:[],rpc:["https://73813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405082",slug:"qim2405082",testnet:!0},mIt={chain:"MVM",chainId:73927,explorers:[{name:"mvmscan",url:"https://scan.mvm.dev",standard:"EIP3091",icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"},infoURL:"https://mvm.dev",name:"Mixin Virtual Machine",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:73927,rpc:["https://73927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.mvm.dev"],shortName:"mvm",slug:"mixin-virtual-machine",testnet:!1},bIt={chain:"Avalanche",chainId:74006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0219",nativeCurrency:{name:"QaUser0219 Token",symbol:"QVH",decimals:18},networkId:74006,redFlags:[],rpc:["https://74006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0219",slug:"qauser0219",testnet:!0},yIt={chain:"Avalanche",chainId:74356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"S Testnet 1-5-24",nativeCurrency:{name:"S Testnet 1-5-24 Token",symbol:"ZLQ",decimals:18},networkId:74356,redFlags:[],rpc:["https://74356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"S Testnet 1-5-24",slug:"s-testnet-1-5-24",testnet:!0},gIt={chain:"Avalanche",chainId:74444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0612T1TS",nativeCurrency:{name:"QR0612T1TS Token",symbol:"FYJ",decimals:18},networkId:74444,redFlags:[],rpc:["https://74444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0612t1ts/testnet/rpc"],shortName:"QR0612T1TS",slug:"qr0612t1ts",testnet:!0},vIt={chain:"Avalanche",chainId:74738,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"CWA",decimals:18},networkId:74738,redFlags:[],rpc:["https://74738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-74738",testnet:!0},wIt={chain:"RESIN",chainId:75e3,explorers:[{name:"ResinScan",url:"https://explorer.resincoin.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTBszPzBeWPhjozf4TxpL2ws1NkG9yJvisx9h6MFii1zb",width:460,height:460,format:"png"},infoURL:"https://resincoin.dev",name:"ResinCoin Mainnet",nativeCurrency:{name:"Ether",symbol:"RESIN",decimals:18},networkId:75e3,rpc:[],shortName:"resin",slug:"resincoin",testnet:!1},TIt={chain:"GEEK",chainId:75512,explorers:[{name:"Geek Explorer",url:"https://explorer.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Mainnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75512,rpc:["https://75512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.geekout-pte.com"],shortName:"GEEK",slug:"geek-verse",testnet:!1},xIt={chain:"GEEK Test",chainId:75513,explorers:[{name:"Geek Testnet Explorer",url:"https://explorer-testnet.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Testnet",nativeCurrency:{name:"Geek",symbol:"GEEK",decimals:18},networkId:75513,rpc:["https://75513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.geekout-pte.com"],shortName:"GEEK_Test",slug:"geek-verse-testnet",testnet:!0},EIt={chain:"Avalanche",chainId:75817,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SFT 1-8-24",nativeCurrency:{name:"SFT 1-8-24 Token",symbol:"ZAF",decimals:18},networkId:75817,redFlags:[],rpc:["https://75817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"SFT 1-8-24",slug:"sft-1-8-24",testnet:!0},_It={chain:"Avalanche",chainId:76950,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1204I2",nativeCurrency:{name:"QI1204I2 Token",symbol:"BHOX",decimals:18},networkId:76950,redFlags:[],rpc:["https://76950.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1204I2",slug:"qi1204i2",testnet:!0},AIt={chain:"BORA",chainId:77001,explorers:[{name:"BORAchainscope",url:"https://scope.boraportal.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmccGWJcCzQh3rP6ZMdRyTc7JjtusKnXkoUtGUANQgjNqR",width:48,height:48,format:"svg"},infoURL:"https://www.boraportal.com",name:"BORAchain mainnet",nativeCurrency:{name:"BORA",symbol:"BORA",decimals:18},networkId:77001,rpc:["https://77001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.api.boraportal.com/bora/mainnet"],shortName:"BORAchain",slip44:8217,slug:"borachain",testnet:!1},IIt={chain:"Avalanche",chainId:77209,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2491",nativeCurrency:{name:"QaUser2491 Token",symbol:"GCW",decimals:18},networkId:77209,redFlags:[],rpc:["https://77209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2491",slug:"qauser2491",testnet:!0},CIt={chain:"tFNC",chainId:77238,explorers:[{name:"Foundry Scan Testnet",url:"https://testnet-explorer.foundryscan.org",standard:"EIP3091"}],faucets:["https://faucet.foundryscan.org"],icon:{url:"ipfs://bafkreifx4vef7ubqz4iiaxckcvkdwjrp2hbliljwjlwu2vytlngg3r4pg4",width:192,height:192,format:"png"},infoURL:"https://foundrychain.org",name:"Foundry Chain Testnet",nativeCurrency:{name:"Foundry Chain Testnet",symbol:"tFNC",decimals:18},networkId:77238,rpc:["https://77238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.foundryscan.org/"],shortName:"fnc",slip44:1,slug:"foundry-chain-testnet",testnet:!0},kIt={chain:"Avalanche",chainId:77552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3673 Testnet",nativeCurrency:{name:"QaUser3673 Testnet Token",symbol:"YSI",decimals:18},networkId:77552,redFlags:[],rpc:["https://77552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3673 Testnet",slug:"qauser3673-testnet",testnet:!0},SIt={chain:"Avalanche",chainId:77572,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0993 Testnet",nativeCurrency:{name:"QaUser0993 Testnet Token",symbol:"JOE",decimals:18},networkId:77572,redFlags:[],rpc:["https://77572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0993 Testnet",slug:"qauser0993-testnet",testnet:!0},RIt={chain:"Avalanche",chainId:77576,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6624 Testnet",nativeCurrency:{name:"QaUser6624 Testnet Token",symbol:"WVN",decimals:18},networkId:77576,redFlags:[],rpc:["https://77576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6624 Testnet",slug:"qauser6624-testnet",testnet:!0},MIt={chain:"VSC",chainId:77612,explorers:[{name:"ventionscan",url:"https://ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://ventionscan.io",name:"Vention Smart Chain Mainnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:77612,rpc:["https://77612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vention.network"],shortName:"vscm",slug:"vention-smart-chain",testnet:!1},BIt={chain:"Toronet",chainId:77777,ens:{registry:"0x1f45a71f4aAD769E27c969c4359E0e250C67165c"},explorers:[{name:"toronet_explorer",url:"https://toronet.org/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Mainnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:77777,rpc:["https://77777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://toronet.org/rpc"],shortName:"Toronet",slug:"toronet",testnet:!1},DIt={chain:"Avalanche",chainId:77898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0517I1",nativeCurrency:{name:"QI0517I1 Token",symbol:"YGV",decimals:18},networkId:77898,redFlags:[],rpc:["https://77898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0517I1",slug:"qi0517i1",testnet:!0},PIt={chain:"ETH",chainId:78110,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"Firenze test network",nativeCurrency:{name:"Firenze Ether",symbol:"FIN",decimals:18},networkId:78110,rpc:["https://78110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/firenze"],shortName:"firenze",slip44:1,slug:"firenze-test-network",testnet:!0},LIt={chain:"Avalanche",chainId:78170,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MXS Games Testnet",nativeCurrency:{name:"MXS Games Testnet Token",symbol:"XSEED",decimals:18},networkId:78170,redFlags:[],rpc:["https://78170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mxsgameste/testnet/rpc"],shortName:"MXS Games Testnet",slug:"mxs-games-testnet",testnet:!0},FIt={chain:"Dragonfly",chainId:78281,explorers:[{name:"Dragonfly Blockscout",url:"https://blockscout.dragonfly.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPXhdPGufjcPzZ9Y6nY6QyW8MgA6793L88iPMRh1Q3gjJ",width:512,height:366,format:"png"},infoURL:"https://hexapod.network",name:"Dragonfly Mainnet (Hexapod)",nativeCurrency:{name:"Dragonfly",symbol:"DFLY",decimals:18},networkId:78281,rpc:["https://78281.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dragonfly-rpc.switch.ch","https://dragonfly-rpc.kore-technologies.ch","https://dragonfly-rpc.phoenix-systems.io","https://dragonfly-rpc.block-spirit.ch"],shortName:"dfly",slug:"dragonfly-hexapod",testnet:!1},NIt={chain:"AMPLIFY",chainId:78430,explorers:[{name:"AMPLIFY Explorer",url:"https://subnets-test.avax.network/amplify",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Amplify Subnet",nativeCurrency:{name:"AMP",symbol:"AMP",decimals:18},networkId:78430,rpc:["https://78430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/amplify/testnet/rpc"],shortName:"amplify",slip44:1,slug:"amplify-subnet",testnet:!0},OIt={chain:"BULLETIN",chainId:78431,explorers:[{name:"BULLETIN Explorer",url:"https://subnets-test.avax.network/bulletin",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Bulletin Subnet",nativeCurrency:{name:"BLT",symbol:"BLT",decimals:18},networkId:78431,rpc:["https://78431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bulletin/testnet/rpc"],shortName:"bulletin",slip44:1,slug:"bulletin-subnet",testnet:!0},UIt={chain:"CONDUIT",chainId:78432,explorers:[{name:"CONDUIT Explorer",url:"https://subnets-test.avax.network/conduit",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Conduit Subnet",nativeCurrency:{name:"CON",symbol:"CON",decimals:18},networkId:78432,rpc:["https://78432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/conduit/testnet/rpc"],shortName:"conduit",slip44:1,slug:"conduit-subnet",testnet:!0},HIt={chain:"VANAR",chainId:78600,explorers:[{name:"Vanguard Explorer",url:"https://explorer-vanguard.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.vanarchain.com"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanguard",nativeCurrency:{name:"Vanguard Vanry",symbol:"VANRY",decimals:18},networkId:78600,rpc:["https://78600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-vanguard.vanarchain.com","wss://ws-vanguard.vanarchain.com"],shortName:"vanguard",slug:"vanguard",testnet:!0,title:"Vanar Testnet Vanguard"},zIt={chain:"Avalanche",chainId:78933,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V2",nativeCurrency:{name:"FST 12-22 V2 Token",symbol:"EJJ",decimals:18},networkId:78933,redFlags:[],rpc:["https://78933.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V2",slug:"fst-12-22-v2",testnet:!0},WIt={chain:"Avalanche",chainId:79062,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s4t",nativeCurrency:{name:"QI0521s4t Token",symbol:"VTV",decimals:18},networkId:79062,redFlags:[],rpc:["https://79062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s4t",slug:"qi0521s4t",testnet:!0},qIt={chain:"Avalanche",chainId:79338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0122I1 Testnet",nativeCurrency:{name:"QR0122I1 Testnet Token",symbol:"JVTX",decimals:18},networkId:79338,redFlags:[],rpc:["https://79338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0122i1te/testnet/rpc"],shortName:"QR0122I1 Testnet",slug:"qr0122i1-testnet",testnet:!0},jIt={chain:"Avalanche",chainId:79466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0513I2",nativeCurrency:{name:"QI0513I2 Token",symbol:"YSC",decimals:18},networkId:79466,redFlags:[],rpc:["https://79466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0513I2",slug:"qi0513i2",testnet:!0},GIt={chain:"Avalanche",chainId:79490,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2672 Testnet",nativeCurrency:{name:"QaUser2672 Testnet Token",symbol:"ENU",decimals:18},networkId:79490,redFlags:[],rpc:["https://79490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2672 Testnet",slug:"qauser2672-testnet",testnet:!0},KIt={chain:"STAND",chainId:79879,explorers:[{name:"Gold Smart Chain",url:"https://testnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Testnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:79879,rpc:["https://79879.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.goldsmartchain.com"],shortName:"STANDt",slip44:1,slug:"gold-smart-chain-testnet",testnet:!0},MW={chain:"Polygon",chainId:80001,explorers:[{name:"polygonscan",url:"https://mumbai.polygonscan.com",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80001,redFlags:[],rpc:["https://80001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mumbai.maticvigil.com","https://polygon-mumbai-bor-rpc.publicnode.com","wss://polygon-mumbai-bor-rpc.publicnode.com","https://polygon-mumbai.gateway.tenderly.co","wss://polygon-mumbai.gateway.tenderly.co"],shortName:"maticmum",slip44:1,slug:"mumbai",status:"deprecated",testnet:!0,title:"Polygon Testnet Mumbai"},QIt={chain:"Polygon",chainId:80002,explorers:[{name:"polygonamoy",url:"https://www.oklink.com/amoy",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Amoy Testnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80002,redFlags:[],rpc:["https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-amoy.polygon.technology","https://polygon-amoy-bor-rpc.publicnode.com","wss://polygon-amoy-bor-rpc.publicnode.com"],shortName:"polygonamoy",slip44:1,slug:"polygon-amoy-testnet",testnet:!0,title:"Polygon Amoy Testnet"},VIt={chain:"Berachain",chainId:80084,explorers:[{name:"Beratrail",url:"https://bartio.beratrail.io",standard:"none"}],faucets:["https://bartio.faucet.berachain.com/"],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:360,height:360,format:"png"},name:"Berachain bArtio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80084,redFlags:[],rpc:["https://80084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://bartio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"Berachain",slug:"berachain-bartio",testnet:!0},YIt={chain:"Berachain",chainId:80085,explorers:[{name:"Beratrail",url:"https://artio.beratrail.io",standard:"none",icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"}}],faucets:["https://artio.faucet.berachain.com"],features:[],icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"},infoURL:"https://www.berachain.com/",name:"Berachain Artio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80085,redFlags:[],rpc:["https://80085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://artio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"bera-artio",slug:"berachain-artio",testnet:!0},$It={chain:"Avalanche",chainId:80092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4009",nativeCurrency:{name:"QaUser4009 Token",symbol:"MHP",decimals:18},networkId:80092,redFlags:[],rpc:["https://80092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4009",slug:"qauser4009",testnet:!0},JIt={chain:"HZC",chainId:80096,explorers:[{name:"blockscout",url:"https://hizoco.net:38443",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNWGj94URMQNyGZbGuAareEL4UpHjTwYWFEFBcX9utBZX",width:421,height:421,format:"png"},infoURL:"http://hizoco.net",name:"Hizoco mainnet",nativeCurrency:{name:"Hizoco",symbol:"HZC",decimals:18},networkId:80096,rpc:["https://80096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hizoco.net/rpc"],shortName:"hzc",slug:"hizoco",testnet:!1},XIt={chain:"Avalanche",chainId:80182,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 12051",nativeCurrency:{name:"QI M 12051 Token",symbol:"VTV",decimals:18},networkId:80182,redFlags:[],rpc:["https://80182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 12051",slug:"qi-m-12051",testnet:!0},ZIt={chain:"Avalanche",chainId:80375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0103y1s",nativeCurrency:{name:"qr0103y1s Token",symbol:"IJB",decimals:18},networkId:80375,redFlags:[],rpc:["https://80375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0103y1s/testnet/rpc"],shortName:"qr0103y1s",slug:"qr0103y1s",testnet:!0},eCt={chain:"Avalanche",chainId:80719,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4301 Testnet",nativeCurrency:{name:"QaUser4301 Testnet Token",symbol:"NHU",decimals:18},networkId:80719,redFlags:[],rpc:["https://80719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4301 Testnet",slug:"qauser4301-testnet",testnet:!0},tCt={chain:"Nordek",chainId:81041,explorers:[{name:"nordek",url:"https://nordekscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie45fcr2hllmej2elwqpdxmiaycxmz25tl5ymraduhtefqndhlm4q",width:222,height:306,format:"png"},infoURL:"https://nordekscan.com",name:"Nordek Mainnet",nativeCurrency:{name:"NRK",symbol:"NRK",decimals:18},networkId:81041,rpc:["https://81041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.nordekscan.com"],shortName:"nordek",slug:"nordek",testnet:!1},nCt={chain:"Avalanche",chainId:81079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 21343243",nativeCurrency:{name:"QI M 21343243 Token",symbol:"JZW",decimals:18},networkId:81079,redFlags:[],rpc:["https://81079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI M 21343243",slug:"qi-m-21343243",testnet:!0},aCt={chain:"MEER",chainId:81341,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Testnet",nativeCurrency:{name:"Amana Testnet",symbol:"MEER-T",decimals:18},networkId:81341,rpc:[],shortName:"amanatest",slip44:1,slug:"amana-testnet",status:"incubating",testnet:!0},rCt={chain:"MEER",chainId:81342,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Mixnet",nativeCurrency:{name:"Amana Mixnet",symbol:"MEER-M",decimals:18},networkId:81342,rpc:[],shortName:"amanamix",slug:"amana-mixnet",status:"incubating",testnet:!1},fCt={chain:"MEER",chainId:81343,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Privnet",nativeCurrency:{name:"Amana Privnet",symbol:"MEER-P",decimals:18},networkId:81343,rpc:[],shortName:"amanapriv",slug:"amana-privnet",status:"incubating",testnet:!1},iCt={chain:"MEER",chainId:81351,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Testnet",nativeCurrency:{name:"Flana Testnet",symbol:"MEER-T",decimals:18},networkId:81351,rpc:[],shortName:"flanatest",slip44:1,slug:"flana-testnet",status:"incubating",testnet:!0},sCt={chain:"MEER",chainId:81352,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Mixnet",nativeCurrency:{name:"Flana Mixnet",symbol:"MEER-M",decimals:18},networkId:81352,rpc:[],shortName:"flanamix",slug:"flana-mixnet",status:"incubating",testnet:!1},oCt={chain:"MEER",chainId:81353,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Privnet",nativeCurrency:{name:"Flana Privnet",symbol:"MEER-P",decimals:18},networkId:81353,rpc:[],shortName:"flanapriv",slug:"flana-privnet",status:"incubating",testnet:!1},cCt={chain:"MEER",chainId:81361,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Testnet",nativeCurrency:{name:"Mizana Testnet",symbol:"MEER-T",decimals:18},networkId:81361,rpc:[],shortName:"mizanatest",slip44:1,slug:"mizana-testnet",status:"incubating",testnet:!0},dCt={chain:"MEER",chainId:81362,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Mixnet",nativeCurrency:{name:"Mizana Mixnet",symbol:"MEER-M",decimals:18},networkId:81362,rpc:[],shortName:"mizanamix",slug:"mizana-mixnet",status:"incubating",testnet:!1},lCt={chain:"MEER",chainId:81363,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Privnet",nativeCurrency:{name:"Mizana Privnet",symbol:"MEER-P",decimals:18},networkId:81363,rpc:[],shortName:"mizanapriv",slug:"mizana-privnet",status:"incubating",testnet:!1},uCt={chain:"ETH",chainId:81457,explorers:[{name:"Blastscan",url:"https://blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}},{name:"Blast Explorer",url:"https://blastexplorer.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:81457,parent:{type:"L2",chain:"eip155-1"},redFlags:[],rpc:["https://81457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blast.io","https://rpc.ankr.com/blast","https://blast.din.dev/rpc","https://blast.blockpi.network/v1/rpc/public","https://blastl2-mainnet.public.blastapi.io","https://blast-rpc.publicnode.com"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},pCt={chain:"Avalanche",chainId:81573,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0311 Testnet",nativeCurrency:{name:"QIS0311 Testnet Token",symbol:"MVD",decimals:18},networkId:81573,redFlags:[],rpc:["https://81573.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0311 Testnet",slug:"qis0311-testnet",testnet:!0},hCt={chain:"QNET",chainId:81720,explorers:[{name:"Quantum Scan Mainnet",url:"https://quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Mainnet",nativeCurrency:{name:"Quantum Chain",symbol:"QNET",decimals:18},networkId:81720,rpc:["https://81720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quantumscan.org"],shortName:"qnet",slug:"quantum-chain",testnet:!1},mCt={chain:"Avalanche",chainId:82261,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0423s1 Testnet",nativeCurrency:{name:"QI0423s1 Testnet Token",symbol:"PUU",decimals:18},networkId:82261,redFlags:[],rpc:["https://82261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0423s1 Testnet",slug:"qi0423s1-testnet",testnet:!0},bCt={chain:"Avalanche",chainId:82368,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0116S1",nativeCurrency:{name:"QR0116S1 Token",symbol:"USJ",decimals:18},networkId:82368,redFlags:[],rpc:["https://82368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116s1/testnet/rpc"],shortName:"QR0116S1",slug:"qr0116s1",testnet:!0},yCt={chain:"SLN",chainId:82459,explorers:[{name:"SLN Testnet Explorer",url:"https://explorer.test.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network Testnet",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:82459,rpc:["https://82459.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.smartlayer.network"],shortName:"tSLN",slug:"smart-layer-network-testnet",testnet:!0},gCt={chain:"Avalanche",chainId:82529,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Test Using Resources",nativeCurrency:{name:"Test Using Resources Token",symbol:"JMH",decimals:18},networkId:82529,redFlags:[],rpc:["https://82529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testsize/testnet/rpc"],shortName:"Test Using Resources",slug:"test-using-resources",testnet:!0},vCt={chain:"Avalanche",chainId:82552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I2",nativeCurrency:{name:"QI0209I2 Token",symbol:"BLOX",decimals:18},networkId:82552,redFlags:[],rpc:["https://82552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I2",slug:"qi0209i2",testnet:!0},wCt={chain:"zFirst AvaCloud Subnet Thirdweb",chainId:82807,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"zFirst AvaCloud Subnet Thirdweb",nativeCurrency:{name:"zFirst AvaCloud Subnet Thirdweb",symbol:"YOOO",decimals:18},networkId:82807,redFlags:[],rpc:["https://82807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f2ea180d-0fda-4b06-9b2e-53a65d3fd789"],shortName:"zFirst AvaCloud Subnet Thirdweb",slug:"zfirst-avacloud-subnet-thirdweb",testnet:!0},TCt={chain:"Avalanche",chainId:83414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Q IM 2402132",nativeCurrency:{name:"Q IM 2402132 Token",symbol:"XVL",decimals:18},networkId:83414,redFlags:[],rpc:["https://83414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Q IM 2402132",slug:"q-im-2402132",testnet:!0},xCt={chain:"Avalanche",chainId:83862,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V1",nativeCurrency:{name:"ST 12-12 V1 Token",symbol:"GXE",decimals:18},networkId:83862,redFlags:[],rpc:["https://83862.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V1",slug:"st-12-12-v1",testnet:!0},ECt={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZ5DXJVxuMRvKzKstFte3TahJ4LSDsGd8DWTrYEPbSjTu",width:254,height:254,format:"png"},infoURL:"https://docs.zedscan.net",name:"ZEDXION",nativeCurrency:{name:"Zedxion",symbol:"ZEDX",decimals:9},networkId:83872,rpc:["https://83872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.zedscan.net"],shortName:"ZEDX",slug:"zedxion",testnet:!1},_Ct={chain:"Avalanche",chainId:83900,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"XTT",decimals:18},networkId:83900,redFlags:[],rpc:["https://83900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/a5f62fea-1375-4ddd-b88f-72b56b435259"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet",testnet:!0},ACt={chain:"Avalanche",chainId:84045,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jovica's Testnet",nativeCurrency:{name:"Jovica's Testnet Token",symbol:"ZQG",decimals:18},networkId:84045,redFlags:[],rpc:["https://84045.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jovicax/testnet/rpc"],shortName:"Jovica's Testnet",slug:"jovica-s-testnet",testnet:!0},ICt={chain:"ETH",chainId:84531,explorers:[{name:"basescan",url:"https://goerli.basescan.org",standard:"none"},{name:"basescout",url:"https://base-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base-goerli.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://www.coinbase.com/faucets/base-ethereum-goerli-faucet"],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:84531,redFlags:[],rpc:["https://84531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.base.org","https://base-goerli.gateway.tenderly.co","wss://base-goerli.gateway.tenderly.co","https://base-goerli-rpc.publicnode.com","wss://base-goerli-rpc.publicnode.com"],shortName:"basegor",slip44:1,slug:"base-goerli",status:"deprecated",testnet:!0},BW={chain:"ETH",chainId:84532,explorers:[{name:"basescout",url:"https://base-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv",width:1200,height:1200,format:"png"},infoURL:"https://base.org",name:"Base Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:84532,rpc:["https://84532.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.base.org","https://base-sepolia-rpc.publicnode.com","wss://base-sepolia-rpc.publicnode.com"],shortName:"basesep",slip44:1,slug:"base-sepolia-testnet",testnet:!0},CCt={chain:"Avalanche",chainId:84623,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401221",nativeCurrency:{name:"QI M 2401221 Token",symbol:"HZU",decimals:18},networkId:84623,redFlags:[],rpc:["https://84623.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401221",slug:"qi-m-2401221",testnet:!0},kCt={chain:"Avalanche",chainId:84860,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422I1 Testnet",nativeCurrency:{name:"QI0422I1 Testnet Token",symbol:"LLV",decimals:18},networkId:84860,redFlags:[],rpc:["https://84860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422I1 Testnet",slug:"qi0422i1-testnet",testnet:!0},SCt={chain:"Aerie",chainId:84886,explorers:[{name:"Aerie Explorer",url:"https://explorer.aerielab.io",standard:"EIP3091",icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"},infoURL:"https://aerielab.io/",name:"Aerie Network",nativeCurrency:{name:"Aerie",symbol:"AER",decimals:18},networkId:84886,rpc:["https://84886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aerielab.io"],shortName:"Aerie",slug:"aerie-network",testnet:!1},RCt={chain:"Avalanche",chainId:84977,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1151",nativeCurrency:{name:"QaUser1151 Token",symbol:"AWU",decimals:18},networkId:84977,redFlags:[],rpc:["https://84977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1151",slug:"qauser1151",testnet:!0},MCt={chain:"Avalanche",chainId:85023,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"NishiOgikubo Subnet",nativeCurrency:{name:"NishiOgikubo Subnet Token",symbol:"NOS",decimals:18},networkId:85023,redFlags:[],rpc:["https://85023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/nishiogiku/testnet/rpc"],shortName:"NishiOgikubo Subnet",slug:"nishiogikubo-subnet",testnet:!0},BCt={chain:"CYBER",chainId:85449,explorers:[],faucets:[],infoURL:"https://cybertrust.space",name:"CYBERTRUST",nativeCurrency:{name:"Cyber Trust",symbol:"CYBER",decimals:18},networkId:48501,rpc:["https://85449.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cybertrust.space:48501"],shortName:"Cyber",slug:"cybertrust",testnet:!0},DCt={chain:"Avalanche",chainId:85678,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"KIP",decimals:18},networkId:85678,redFlags:[],rpc:["https://85678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet-85678",testnet:!0},PCt={chain:"Avalanche",chainId:86157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0523S1T",nativeCurrency:{name:"QR0523S1T Token",symbol:"STZ",decimals:18},networkId:86157,redFlags:[],rpc:["https://86157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523s1t/testnet/rpc"],shortName:"QR0523S1T",slug:"qr0523s1t",testnet:!0},LCt={chain:"Avalanche",chainId:86663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7218 Testnet",nativeCurrency:{name:"QaUser7218 Testnet Token",symbol:"GCY",decimals:18},networkId:86663,redFlags:[],rpc:["https://86663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7218 Testnet",slug:"qauser7218-testnet",testnet:!0},FCt={chain:"Avalanche",chainId:87389,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1804",nativeCurrency:{name:"QaUser1804 Token",symbol:"UOA",decimals:18},networkId:87389,redFlags:[],rpc:["https://87389.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1804",slug:"qauser1804",testnet:!0},NCt={chain:"Avalanche",chainId:87460,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1360 Testnet",nativeCurrency:{name:"QaUser1360 Testnet Token",symbol:"KYP",decimals:18},networkId:87460,redFlags:[],rpc:["https://87460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1360 Testnet",slug:"qauser1360-testnet",testnet:!0},OCt={chain:"Avalanche",chainId:87815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402056",nativeCurrency:{name:"QI M 2402056 Token",symbol:"ACI",decimals:18},networkId:87815,redFlags:[],rpc:["https://87815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402056",slug:"qi-m-2402056",testnet:!0},UCt={chain:"ETH",chainId:88002,explorers:[{name:"Nautscan",url:"https://proteus.nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:["https://proteusfaucet.nautchain.xyz"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Proteus Testnet",nativeCurrency:{name:"Zebec Test Token",symbol:"tZBC",decimals:18},networkId:88002,rpc:["https://88002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.proteus.nautchain.xyz/solana"],shortName:"NAUTTest",slip44:1,slug:"nautilus-proteus-testnet",testnet:!0},HCt={chain:"Avalanche",chainId:88018,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402131",nativeCurrency:{name:"QI M 2402131 Token",symbol:"CYB",decimals:18},networkId:88018,redFlags:[],rpc:["https://88018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402131",slug:"qi-m-2402131",testnet:!0},zCt={chain:"INOAI",chainId:88559,explorers:[{name:"inoai live",url:"https://inoai.live",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdP8zAZEwUbf3pt8t9Ykho866ni5AMgutvkn3cBsV8gKG",width:500,height:500,format:"png"},infoURL:"https://inoai.info",name:"Inoai Network",nativeCurrency:{name:"Inoai",symbol:"INO",decimals:18},networkId:88559,rpc:["https://88559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://inoai-network.com"],shortName:"INOAI",slug:"inoai-network",testnet:!1},WCt={chain:"Avalanche",chainId:88795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8230 Testnet",nativeCurrency:{name:"QaUser8230 Testnet Token",symbol:"GRB",decimals:18},networkId:88795,redFlags:[],rpc:["https://88795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8230 Testnet",slug:"qauser8230-testnet",testnet:!0},qCt={chain:"Unit Zero",chainId:88817,explorers:[{name:"explorer-testnet",url:"https://explorer-testnet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Testnet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88817,rpc:["https://88817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.unit0.dev"],shortName:"unit0-testnet",slug:"unit-zero-testnet",testnet:!0},jCt={chain:"Unit Zero",chainId:88819,explorers:[{name:"explorer-stagenet",url:"https://explorer-stagenet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Stagenet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88819,rpc:["https://88819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-stagenet.unit0.dev"],shortName:"unit0-stagenet",slug:"unit-zero-stagenet",testnet:!1},GCt={chain:"CHZ",chainId:88880,explorers:[{name:"scoville-explorer",url:"https://scoville-explorer.chiliz.com",standard:"none"}],faucets:["https://scoville-faucet.chiliz.com"],icon:{url:"ipfs://QmYV5xUVZhHRzLy7ie9D8qZeygJHvNZZAxwnB9GXYy6EED",width:400,height:400,format:"png"},infoURL:"https://www.chiliz.com/en/chain",name:"Chiliz Scoville Testnet",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88880,rpc:["https://88880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://scoville-rpc.chiliz.com"],shortName:"chz",slip44:1,slug:"chiliz-scoville-testnet",status:"deprecated",testnet:!0},KCt={chain:"Spicy",chainId:88882,explorers:[{name:"spicy-explorer",url:"https://testnet.chiliscan.com",standard:"EIP3091"},{name:"Spicy Explorer",url:"http://spicy-explorer.chiliz.com/",standard:"none"}],faucets:["https://spicy-faucet.chiliz.com","https://tatum.io/faucets/chiliz","https://spicy-faucet.chiliz.com/"],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/",name:"Spicy Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88882,redFlags:[],rpc:["https://88882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://spicy-rpc.chiliz.com/","https://spicy-rpc.chiliz.com"],shortName:"Spicy",slip44:1,slug:"spicy-chain",testnet:!0},QCt={chain:"Avalanche",chainId:88883,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Proj Orc Testnet Alpha",nativeCurrency:{name:"Proj Orc Testnet Alpha Token",symbol:"STX",decimals:18},networkId:88883,redFlags:[],rpc:["https://88883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projorctes/testnet/rpc"],shortName:"Proj Orc Testnet Alpha",slug:"proj-orc-testnet-alpha",testnet:!0},VCt={chain:"CC2",chainId:88888,explorers:[{name:"cc2scan",url:"https://scan.chiliz.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/chiliz-chain-2-0/",name:"Chiliz Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88888,redFlags:["reusedChainId"],rpc:["https://88888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/chiliz","https://rpc.chiliz.com"],shortName:"cc2",slug:"chiliz-chain",testnet:!1},YCt={chain:"Avalanche",chainId:88945,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SwapTest",nativeCurrency:{name:"SwapTest Token",symbol:"ZQG",decimals:18},networkId:88945,redFlags:[],rpc:["https://88945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/swaptest/testnet/rpc"],shortName:"SwapTest",slug:"swaptest",testnet:!0},$Ct={chain:"Avalanche",chainId:89283,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0326 Testnet",nativeCurrency:{name:"QIS0326 Testnet Token",symbol:"AKK",decimals:18},networkId:89283,redFlags:[],rpc:["https://89283.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0326 Testnet",slug:"qis0326-testnet",testnet:!0},JCt={chain:"Avalanche",chainId:89327,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I3 Testnet",nativeCurrency:{name:"QI0304I3 Testnet Token",symbol:"ZIK",decimals:18},networkId:89327,redFlags:[],rpc:["https://89327.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I3 Testnet",slug:"qi0304i3-testnet",testnet:!0},XCt={chain:"Fxcore",chainId:90001,explorers:[],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Testnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:90001,rpc:["https://90001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-fx-json-web3.functionx.io:8545"],shortName:"dhobyghaut",slug:"f-x-core-testnet-network",testnet:!0},ZCt={chain:"ETH",chainId:90210,explorers:[{name:"Beverly Hills explorer",url:"https://explorer.beverlyhills.ethdevops.io",standard:"none"}],faucets:["https://faucet.beverlyhills.ethdevops.io"],infoURL:"https://beverlyhills.ethdevops.io",name:"Beverly Hills",nativeCurrency:{name:"Beverly Hills Testnet Ether",symbol:"BVE",decimals:18},networkId:90210,rpc:["https://90210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.beverlyhills.ethdevops.io:8545"],shortName:"bvhl",slug:"beverly-hills",status:"incubating",testnet:!0,title:"Ethereum multi-client Verkle Testnet Beverly Hills"},ekt={chain:"Avalanche",chainId:90343,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I2",nativeCurrency:{name:"QI0603I2 Token",symbol:"UQI",decimals:18},networkId:90343,redFlags:[],rpc:["https://90343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I2",slug:"qi0603i2",testnet:!0},tkt={chain:"ETH",chainId:90354,explorers:[{name:"Block Explorer",url:"https://explorerl2new-camp-network-4xje7wy105.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"}}],faucets:["https://www.campnetwork.xyz/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"},infoURL:"https://campaign-1.gitbook.io/camp-technical-docs\xE5",name:"Camp Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:90354,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://camp-testnet-bridge.vercel.app/"}]},redFlags:[],rpc:["https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-camp-network-4xje7wy105.t.conduit.xyz/","https://rpc-camp-network-4xje7wy105.t.conduit.xyz"],shortName:"campaign-l2",slip44:1,slug:"camp-network",testnet:!1},nkt={chain:"Avalanche",chainId:90663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0416s1 Testnet",nativeCurrency:{name:"QI0416s1 Testnet Token",symbol:"ZKE",decimals:18},networkId:90663,redFlags:[],rpc:["https://90663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0416s1 Testnet",slug:"qi0416s1-testnet",testnet:!0},akt={chain:"Avalanche",chainId:90871,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0426s1 Testnet",nativeCurrency:{name:"QI0426s1 Testnet Token",symbol:"WDC",decimals:18},networkId:90871,redFlags:[],rpc:["https://90871.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0426s1 Testnet",slug:"qi0426s1-testnet",testnet:!0},rkt={chain:"ETH",chainId:91002,explorers:[{name:"Nautscan",url:"https://triton.nautscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclipse.builders"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Trition Chain",nativeCurrency:{name:"Nautilus Zebec Testnet Tokens",symbol:"tZBC",decimals:18},networkId:91002,rpc:["https://91002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://triton.api.nautchain.xyz"],shortName:"NAUT",slug:"nautilus-trition-chain",testnet:!0,title:"Nautilus Trition Testnet"},fkt={chain:"WRLDS",chainId:91003,explorers:[],faucets:["https://faucet.evm.worlds.dev.eclipsenetwork.xyz/request_neon"],features:[],name:"Worlds Appchain",nativeCurrency:{name:"WRLDS",symbol:"WRLDS",decimals:18},networkId:91003,redFlags:[],rpc:["https://91003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.worlds.dev.eclipsenetwork.xyz/"],shortName:"WRLDS",slug:"worlds-appchain",testnet:!0},ikt={chain:"Avalanche",chainId:91041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"DVN",decimals:18},networkId:91041,redFlags:[],rpc:["https://91041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet-qi0318i1 testnet",testnet:!0},skt={chain:"MetaDAP",chainId:91120,explorers:[{name:"MetaDAP Enterprise Mainnet explorer",url:"https://explorer.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Mainnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:91120,rpc:["https://91120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.metadap.io","wss://rpc-ws.chain.metadap.io"],shortName:"MetaDAP",slug:"metadap-enterprise",testnet:!1,title:"MetaDAP Enterprise Mainnet"},okt={chain:"Avalanche",chainId:91132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"New Will's Testnet",nativeCurrency:{name:"New Will's Testnet Token",symbol:"MBM",decimals:18},networkId:91132,redFlags:[],rpc:["https://91132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"New Will's Testnet",slug:"new-will-s-testnet",testnet:!0},ckt={chain:"Avalanche",chainId:91399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506s1",nativeCurrency:{name:"QI0506s1 Token",symbol:"NGH",decimals:18},networkId:91399,redFlags:[],rpc:["https://91399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506s1",slug:"qi0506s1",testnet:!0},dkt={chain:"Avalanche",chainId:91513,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon Universe",nativeCurrency:{name:"Jambon Universe Token",symbol:"NIX",decimals:18},networkId:91513,redFlags:[],rpc:["https://91513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jambonuvrs/testnet/rpc"],shortName:"Jambon Universe",slug:"jambon-universe",testnet:!0},lkt={chain:"Avalanche",chainId:91558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet 1-18",nativeCurrency:{name:"Shelby's Testnet 1-18 Token",symbol:"LIE",decimals:18},networkId:91558,redFlags:[],rpc:["https://91558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Shelby's Testnet 1-18",slug:"shelby-s-testnet-1-18",testnet:!0},ukt={chain:"Combo",chainId:91715,explorers:[{name:"combotrace explorer",url:"https://combotrace-testnet.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tcBNB",decimals:18},networkId:91715,rpc:["https://91715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.combonetwork.io"],shortName:"combo-testnet",slug:"combo-testnet",testnet:!0},pkt={chain:"Avalanche",chainId:91735,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1228I2",nativeCurrency:{name:"QI1228I2 Token",symbol:"ZMY",decimals:18},networkId:91735,redFlags:[],rpc:["https://91735.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f51649a9-3420-4636-bb44-206f63998951"],shortName:"QI1228I2",slug:"qi1228i2",testnet:!0},hkt={chain:"Avalanche",chainId:91924,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I1",nativeCurrency:{name:"QI0506I1 Token",symbol:"KQA",decimals:18},networkId:91924,redFlags:[],rpc:["https://91924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I1",slug:"qi0506i1",testnet:!0},mkt={chain:"Lambda",chainId:92001,explorers:[{name:"Lambda EVM Explorer",url:"https://explorer.lambda.top",standard:"EIP3091",icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"}}],faucets:["https://faucet.lambda.top"],icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"},infoURL:"https://lambda.im",name:"Lambda Testnet",nativeCurrency:{name:"test-Lamb",symbol:"LAMB",decimals:18},networkId:92001,rpc:["https://92001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.lambda.top/"],shortName:"lambda-testnet",slip44:1,slug:"lambda-testnet",testnet:!0},bkt={chain:"Avalanche",chainId:92185,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I2",nativeCurrency:{name:"QI0506I2 Token",symbol:"EXW",decimals:18},networkId:92185,redFlags:[],rpc:["https://92185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I2",slug:"qi0506i2",testnet:!0},ykt={chain:"Avalanche",chainId:92314,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 2405081",nativeCurrency:{name:"QIM 2405081 Token",symbol:"WCC",decimals:18},networkId:92314,redFlags:[],rpc:["https://92314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f069738d-9c43-497b-96c1-9dda60d647e2"],shortName:"QIM 2405081",slug:"qim-2405081",testnet:!0},gkt={chain:"Avalanche",chainId:92496,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"OWO",decimals:18},networkId:92496,redFlags:[],rpc:["https://92496.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnet/testnet/rpc"],shortName:"Testnet",slug:"testnet-testnet-92496",testnet:!0},vkt={chain:"Avalanche",chainId:92780,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402053",nativeCurrency:{name:"QI M 2402053 Token",symbol:"ACI",decimals:18},networkId:92780,redFlags:[],rpc:["https://92780.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402053",slug:"qi-m-2402053",testnet:!0},wkt={chain:"Avalanche",chainId:92847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4251",nativeCurrency:{name:"QaUser4251 Token",symbol:"ERU",decimals:18},networkId:92847,redFlags:[],rpc:["https://92847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4251",slug:"qauser4251",testnet:!0},Tkt={chain:"Avalanche",chainId:92850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I3",nativeCurrency:{name:"QI1212I3 Token",symbol:"HSCX",decimals:18},networkId:92850,redFlags:[],rpc:["https://92850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I3",slug:"qi1212i3",testnet:!0},xkt={chain:"Avalanche",chainId:92978,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4903 Testnet",nativeCurrency:{name:"QaUser4903 Testnet Token",symbol:"CQS",decimals:18},networkId:92978,redFlags:[],rpc:["https://92978.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4903 Testnet",slug:"qauser4903-testnet",testnet:!0},Ekt={chain:"Avalanche",chainId:93017,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0313 Testnet",nativeCurrency:{name:"QIS0313 Testnet Token",symbol:"NCG",decimals:18},networkId:93017,redFlags:[],rpc:["https://93017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0313 Testnet",slug:"qis0313-testnet",testnet:!0},_kt={chain:"LILA",chainId:93572,explorers:[{name:"LiquidLayer Testnet Explorer",url:"https://testnet-scan.liquidlayer.network",standard:"EIP3091"}],faucets:["https://claim.liquidlayer.network"],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://testnet-scan.liquidlayer.network",name:"LiquidLayer Testnet",nativeCurrency:{name:"LiquidLayer Testnet",symbol:"LILA",decimals:18},networkId:93572,rpc:["https://93572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.liquidlayer.network"],shortName:"tLILA",slug:"liquidlayer-testnet",testnet:!0},Akt={chain:"Avalanche",chainId:93625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I2",nativeCurrency:{name:"QI0222I2 Token",symbol:"INK",decimals:18},networkId:93625,redFlags:[],rpc:["https://93625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I2",slug:"qi0222i2",testnet:!0},Ikt={chain:"Avalanche",chainId:93694,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401291",nativeCurrency:{name:"QI M 2401291 Token",symbol:"HZU",decimals:18},networkId:93694,redFlags:[],rpc:["https://93694.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401291",slug:"qi-m-2401291",testnet:!0},Ckt={chain:"Avalanche",chainId:93797,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8328",nativeCurrency:{name:"QaUser8328 Token",symbol:"CPY",decimals:18},networkId:93797,redFlags:[],rpc:["https://93797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8328",slug:"qauser8328",testnet:!0},kkt={chain:"Avalanche",chainId:94006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3298",nativeCurrency:{name:"QaUser3298 Token",symbol:"TPM",decimals:18},networkId:94006,redFlags:[],rpc:["https://94006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3298",slug:"qauser3298",testnet:!0},Skt={chain:"Avalanche",chainId:94158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V1",nativeCurrency:{name:"FST 12-22 V1 Token",symbol:"EJJ",decimals:18},networkId:94158,redFlags:[],rpc:["https://94158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V1",slug:"fst-12-22-v1",testnet:!0},Rkt={chain:"Avalanche",chainId:94171,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1828",nativeCurrency:{name:"QaUser1828 Token",symbol:"GGY",decimals:18},networkId:94171,redFlags:[],rpc:["https://94171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1828",slug:"qauser1828",testnet:!0},Mkt={chain:"Avalanche",chainId:94565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"T 0117",nativeCurrency:{name:"T 0117 Token",symbol:"RUI",decimals:18},networkId:94565,redFlags:[],rpc:["https://94565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"T 0117",slug:"t-0117",testnet:!0},Bkt={chain:"Avalanche",chainId:94918,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Sample Testnet",nativeCurrency:{name:"Sample Testnet Token",symbol:"INS",decimals:18},networkId:94918,redFlags:[],rpc:["https://94918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/sampletest/testnet/rpc"],shortName:"Sample Testnet",slug:"sample-testnet",testnet:!0},Dkt={chain:"Avalanche",chainId:95063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0263",nativeCurrency:{name:"QaUser0263 Token",symbol:"BDU",decimals:18},networkId:95063,redFlags:[],rpc:["https://95063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0263",slug:"qauser0263",testnet:!0},Pkt={chain:"Avalanche",chainId:95395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"MFD",decimals:18},networkId:95395,redFlags:[],rpc:["https://95395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-95395",testnet:!0},Lkt={chain:"Avalanche",chainId:95446,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s1t",nativeCurrency:{name:"QI0521s1t Token",symbol:"YFT",decimals:18},networkId:95446,redFlags:[],rpc:["https://95446.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s1t",slug:"qi0521s1t",testnet:!0},Fkt={chain:"Avalanche",chainId:95468,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528T1TS",nativeCurrency:{name:"QR0528T1TS Token",symbol:"TLK",decimals:18},networkId:95468,redFlags:[],rpc:["https://95468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528t1ts/testnet/rpc"],shortName:"QR0528T1TS",slug:"qr0528t1ts",testnet:!0},Nkt={chain:"Avalanche",chainId:95549,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Testnet Testnet",nativeCurrency:{name:"Borne Testnet Testnet Token",symbol:"BORNE",decimals:18},networkId:95549,redFlags:[],rpc:["https://95549.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/borne/testnet/rpc"],shortName:"Borne Testnet Testnet",slug:"borne-testnet-testnet",testnet:!0},Okt={chain:"Avalanche",chainId:95598,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523I1",nativeCurrency:{name:"QI0523I1 Token",symbol:"TQQ",decimals:18},networkId:95598,redFlags:[],rpc:["https://95598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523I1",slug:"qi0523i1",testnet:!0},Ukt={chain:"Avalanche",chainId:96040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FIZIT",nativeCurrency:{name:"FIZIT Token",symbol:"FIZIT",decimals:18},networkId:96040,redFlags:[],rpc:["https://96040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/fizit/testnet/rpc"],shortName:"FIZIT",slug:"fizit",testnet:!0},Hkt={chain:"Avalanche",chainId:96081,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2213 Testnet",nativeCurrency:{name:"QaUser2213 Testnet Token",symbol:"QLV",decimals:18},networkId:96081,redFlags:[],rpc:["https://96081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2213 Testnet",slug:"qauser2213-testnet",testnet:!0},zkt={chain:"Avalanche",chainId:96105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5410",nativeCurrency:{name:"QaUser5410 Token",symbol:"JIV",decimals:18},networkId:96105,redFlags:[],rpc:["https://96105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5410",slug:"qauser5410",testnet:!0},Wkt={chain:"Avalanche",chainId:96552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI032924 Testnet",nativeCurrency:{name:"QI032924 Testnet Token",symbol:"KJA",decimals:18},networkId:96552,redFlags:[],rpc:["https://96552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI032924 Testnet",slug:"qi032924-testnet",testnet:!0},qkt={chain:"Avalanche",chainId:96809,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2368 Testnet",nativeCurrency:{name:"QaUser2368 Testnet Token",symbol:"ZKJ",decimals:18},networkId:96809,redFlags:[],rpc:["https://96809.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2368 Testnet",slug:"qauser2368-testnet",testnet:!0},jkt={chain:"Mantis",chainId:96970,explorers:[{name:"Mantis Blockscout",url:"https://blockscout.mantis.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://mantis.switch.ch/faucet","https://mantis.kore-technologies.ch/faucet","https://mantis.phoenix-systems.io/faucet","https://mantis.block-spirit.ch/faucet"],icon:{url:"ipfs://Qma8dDhxSSVUyzV8Pu5bo252WaZEEikYFndRh7LVktvQEy",width:512,height:330,format:"png"},infoURL:"https://hexapod.network",name:"Mantis Testnet (Hexapod)",nativeCurrency:{name:"Mantis",symbol:"MANTIS",decimals:18},networkId:96970,rpc:["https://96970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mantis-rpc.switch.ch","https://mantis-rpc.kore-technologies.ch","https://mantis-rpc.phoenix-systems.io"],shortName:"mantis",slip44:1,slug:"mantis-testnet-hexapod",testnet:!0},Gkt={chain:"Boba BNB Mainnet",chainId:97288,explorers:[{name:"Boba BNB block explorer",url:"https://blockexplorer.bnb.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet Old",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:97288,rpc:[],shortName:"BobaBnbOld",slug:"boba-bnb-old",status:"deprecated",testnet:!1},Kkt={chain:"Avalanche",chainId:97370,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8236",nativeCurrency:{name:"QaUser8236 Token",symbol:"BPZ",decimals:18},networkId:97370,redFlags:[],rpc:["https://97370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8236",slug:"qauser8236",testnet:!0},Qkt={chain:"Green Chain",chainId:97531,explorers:[{name:"Green Chain Explorer",url:"https://explorer.greenchain.app",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNWBcc2AtknphNxt4GtTxbWF6vDkf6sh2nvkPn9wqchW6",width:519,height:518,format:"png"},infoURL:"https://www.greenchain.app",name:"Green Chain Testnet",nativeCurrency:{name:"GREEN",symbol:"GREEN",decimals:18},networkId:97531,rpc:["https://97531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.greenchain.app/rpc/"],shortName:"greenchain",slug:"green-chain-testnet",testnet:!0},Vkt={chain:"Avalanche",chainId:97590,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0527T1TD",nativeCurrency:{name:"QI0527T1TD Token",symbol:"WYI",decimals:18},networkId:97590,redFlags:[],rpc:["https://97590.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0527T1TD",slug:"qi0527t1td",testnet:!0},Ykt={chain:"Avalanche",chainId:97622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I1",nativeCurrency:{name:"QI0130I1 Token",symbol:"NZY",decimals:18},networkId:97622,redFlags:[],rpc:["https://97622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I1",slug:"qi0130i1",testnet:!0},$kt={chain:"OptimusZ7",chainId:97970,explorers:[{name:"OptimusZ7 Testnet Explorer",url:"https://testnet.optimusz7.com",standard:"EIP3091"}],faucets:["https://faucet.optimusz7.com"],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Testnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:97970,rpc:["https://97970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.optimusz7.com"],shortName:"OZ7t",slug:"optimusz7-testnet",testnet:!0},Jkt={chain:"Avalanche",chainId:98273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I1",nativeCurrency:{name:"QI0520I1 Token",symbol:"YZG",decimals:18},networkId:98273,redFlags:[],rpc:["https://98273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I1",slug:"qi0520i1",testnet:!0},Xkt={chain:"Avalanche",chainId:98540,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I5",nativeCurrency:{name:"QI1212I5 Token",symbol:"HSCX",decimals:18},networkId:98540,redFlags:[],rpc:["https://98540.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I5",slug:"qi1212i5",testnet:!0},Zkt={chain:"Avalanche",chainId:98557,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0201I1",nativeCurrency:{name:"QR0201I1 Token",symbol:"OCZ",decimals:18},networkId:98557,redFlags:[],rpc:["https://98557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0201i1/testnet/rpc"],shortName:"QR0201I1",slug:"qr0201i1",testnet:!0},eSt={chain:"Avalanche",chainId:98857,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thetan Testnet",nativeCurrency:{name:"Thetan Testnet Token",symbol:"THG",decimals:18},networkId:98857,redFlags:[],rpc:["https://98857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thetantest/testnet/rpc"],shortName:"Thetan Testnet",slug:"thetan-testnet",testnet:!0},tSt={chain:"Ebi",chainId:98881,explorers:[],faucets:[],infoURL:"https://ebi.xyz",name:"Ebi Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:98881,rpc:["https://98881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ebi.xyz"],shortName:"ebi",slug:"ebi-chain",status:"incubating",testnet:!1,title:"Ebi Chain"},nSt={chain:"$EL",chainId:99099,explorers:[{name:"eLiberty Testnet",url:"https://testnet.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Testnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:99099,rpc:["https://99099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eliberty.ngo"],shortName:"ELt",slip44:1,slug:"eliberty-testnet",testnet:!0},aSt={chain:"Avalanche",chainId:99132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I1",nativeCurrency:{name:"QI0222I1 Token",symbol:"ZKUx",decimals:18},networkId:99132,redFlags:[],rpc:["https://99132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I1",slug:"qi0222i1",testnet:!0},rSt={chain:"Avalanche",chainId:99181,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9727 Testnet",nativeCurrency:{name:"QaUser9727 Testnet Token",symbol:"PCE",decimals:18},networkId:99181,redFlags:[],rpc:["https://99181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9727 Testnet",slug:"qauser9727-testnet",testnet:!0},fSt={chain:"Avalanche",chainId:99308,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Gaming Testnet",nativeCurrency:{name:"Borne Gaming Testnet Token",symbol:"BORNE",decimals:18},networkId:99308,redFlags:[],rpc:["https://99308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bornegamin/testnet/rpc"],shortName:"Borne Gaming Testnet",slug:"borne-gaming-testnet",testnet:!0},iSt={chain:"Avalanche",chainId:99512,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0611I1",nativeCurrency:{name:"QI0611I1 Token",symbol:"IJQ",decimals:18},networkId:99512,redFlags:[],rpc:["https://99512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0611I1",slug:"qi0611i1",testnet:!0},sSt={chain:"Avalanche",chainId:99733,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6779 Testnet",nativeCurrency:{name:"QaUser6779 Testnet Token",symbol:"WAG",decimals:18},networkId:99733,redFlags:[],rpc:["https://99733.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6779 Testnet",slug:"qauser6779-testnet",testnet:!0},oSt={chain:"Avalanche",chainId:99947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402141",nativeCurrency:{name:"QI M 2402141 Token",symbol:"CYB",decimals:18},networkId:99947,redFlags:[],rpc:["https://99947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402141",slug:"qi-m-2402141",testnet:!0},cSt={chain:"USC",chainId:99998,explorers:[],faucets:[],infoURL:"https://www.ubchain.site",name:"UB Smart Chain(testnet)",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99998,rpc:["https://99998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.uschain.network"],shortName:"usctest",slip44:1,slug:"ub-smart-chain-testnet",testnet:!0},dSt={chain:"USC",chainId:99999,explorers:[],faucets:[],infoURL:"https://www.ubchain.site/",name:"UB Smart Chain",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99999,rpc:["https://99999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uschain.network"],shortName:"usc",slug:"ub-smart-chain",testnet:!1},lSt={chain:"QuarkChain",chainId:1e5,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:1e5,rpc:["https://100000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.mainnet.quarkchain.io:38391"],shortName:"qkc-r",slug:"quarkchain-root",testnet:!1},uSt={chain:"QuarkChain",chainId:100001,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100001,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s0-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39000"],shortName:"qkc-s0",slug:"quarkchain-shard-0",testnet:!1},pSt={chain:"QuarkChain",chainId:100002,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100002,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s1-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39001"],shortName:"qkc-s1",slug:"quarkchain-shard-1",testnet:!1},hSt={chain:"QuarkChain",chainId:100003,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100003,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s2-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39002"],shortName:"qkc-s2",slug:"quarkchain-shard-2",testnet:!1},mSt={chain:"QuarkChain",chainId:100004,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100004,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s3-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39003"],shortName:"qkc-s3",slug:"quarkchain-shard-3",testnet:!1},bSt={chain:"QuarkChain",chainId:100005,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100005,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s4-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39004"],shortName:"qkc-s4",slug:"quarkchain-shard-4",testnet:!1},ySt={chain:"QuarkChain",chainId:100006,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100006,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s5-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39005"],shortName:"qkc-s5",slug:"quarkchain-shard-5",testnet:!1},gSt={chain:"QuarkChain",chainId:100007,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100007,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s6-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39006"],shortName:"qkc-s6",slug:"quarkchain-shard-6",testnet:!1},vSt={chain:"QuarkChain",chainId:100008,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100008,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s7-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39007"],shortName:"qkc-s7",slug:"quarkchain-shard-7",testnet:!1},wSt={chain:"VeChain",chainId:100009,explorers:[{name:"VeChain Stats",url:"https://vechainstats.com",standard:"none"},{name:"VeChain Explorer",url:"https://explore.vechain.org",standard:"none"}],faucets:[],infoURL:"https://vechain.org",name:"VeChain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100009,rpc:[],shortName:"vechain",slug:"vechain",testnet:!1},TSt={chain:"VeChain",chainId:100010,explorers:[{name:"VeChain Explorer",url:"https://explore-testnet.vechain.org",standard:"none"}],faucets:["https://faucet.vecha.in"],infoURL:"https://vechain.org",name:"VeChain Testnet",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100010,rpc:[],shortName:"vechain-testnet",slip44:1,slug:"vechain-testnet",testnet:!0},xSt={chain:"QuarkChain",chainId:100011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Mainnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100011,parent:{type:"L2",chain:"eip155-100000"},rpc:["https://100011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2",slug:"quarkchain-l2",testnet:!1},ESt={chain:"CHI1",chainId:100100,explorers:[],faucets:[],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Deprecated CHI",nativeCurrency:{name:"Chiado xDAI",symbol:"xDAI",decimals:18},networkId:100100,rpc:[],shortName:"chi1",slug:"deprecated-chi",status:"deprecated",testnet:!1},_St={chain:"GTN",chainId:101010,explorers:[{name:"blockscout",url:"https://stability.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Global Trust Network",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:101010,redFlags:["reusedChainId"],rpc:["https://101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gtn.stabilityprotocol.com"],shortName:"stabilityprotocol",slug:"global-trust-network",testnet:!1},ASt={chain:"CTC",chainId:102031,explorers:[{name:"blockscout",url:"https://creditcoin-testnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfecECALDCy51zwVbXBSXb6TokqowCYzVLv65etahLxX",width:1024,height:1024,format:"png"},infoURL:"https://creditcoin.org",name:"Creditcoin Testnet",nativeCurrency:{name:"Testnet CTC",symbol:"tCTC",decimals:18},networkId:102031,rpc:["https://102031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cc3-testnet.creditcoin.network"],shortName:"ctctest",slug:"creditcoin-testnet",testnet:!0},ISt={chain:"crystal",chainId:103090,explorers:[{name:"blockscout",url:"https://scan.crystaleum.org",standard:"EIP3091",icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"},infoURL:"https://crystaleum.org",name:"Crystaleum",nativeCurrency:{name:"CRFI",symbol:"\u25C8",decimals:18},networkId:1,rpc:["https://103090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.cryptocurrencydevs.org","https://rpc.crystaleum.org"],shortName:"CRFI",slug:"crystaleum",testnet:!1},CSt={chain:"Avalanche",chainId:103454,explorers:[{name:"Masa Testnet Explorer",url:"https://subnets-test.avax.network/masatestnet",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Testnet",nativeCurrency:{name:"Masa Testnet Token",symbol:"tMASA",decimals:18},networkId:103454,redFlags:[],rpc:["https://103454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masatestne/testnet/rpc"],shortName:"Masa Testnet",slug:"masa-testnet",testnet:!0},kSt={chain:"KaspaClassic",chainId:104566,explorers:[{name:"KaspaClassic Explorer",url:"https://explorer.kaspaclassic.world",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",width:400,height:400,format:"png"},infoURL:"https://kaspaclassic.com/",name:"KaspaClassic Mainnet",nativeCurrency:{name:"KaspaClassic",symbol:"CAS",decimals:18},networkId:104566,rpc:["https://104566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kaspaclassic.world/","http://80.178.101.118:8000/"],shortName:"cas",slug:"kaspaclassic",testnet:!1},SSt={chain:"Stratis",chainId:105105,explorers:[{name:"Stratis Explorer",url:"https://explorer.stratisevm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWiRBqfzoZ3GC7oCbYFqbwLyF4uDHM4eYdKUUJ7LHf2EA",width:59,height:55,format:"svg"},infoURL:"https://www.stratisplatform.com",name:"Stratis Mainnet",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},networkId:105105,rpc:["https://105105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.stratisevm.com"],shortName:"stratis",slug:"stratis",testnet:!1},RSt={chain:"BRO",chainId:108801,explorers:[{name:"BROChain Explorer",url:"https://explorer.brochain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://brochain.org",name:"BROChain Mainnet",nativeCurrency:{name:"Brother",symbol:"BRO",decimals:18},networkId:108801,rpc:["https://108801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brochain.org","http://rpc.brochain.org","https://rpc.brochain.org/mainnet","http://rpc.brochain.org/mainnet"],shortName:"bro",slug:"brochain",testnet:!1},MSt={chain:"QuarkChain",chainId:11e4,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:11e4,rpc:["https://110000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.devnet.quarkchain.io:38391"],shortName:"qkc-d-r",slug:"quarkchain-devnet-root",testnet:!1},BSt={chain:"QuarkChain",chainId:110001,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110001,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s0-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39900"],shortName:"qkc-d-s0",slug:"quarkchain-devnet-shard-0",testnet:!1},DSt={chain:"QuarkChain",chainId:110002,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110002,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s1-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39901"],shortName:"qkc-d-s1",slug:"quarkchain-devnet-shard-1",testnet:!1},PSt={chain:"QuarkChain",chainId:110003,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110003,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s2-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39902"],shortName:"qkc-d-s2",slug:"quarkchain-devnet-shard-2",testnet:!1},LSt={chain:"QuarkChain",chainId:110004,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110004,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s3-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39903"],shortName:"qkc-d-s3",slug:"quarkchain-devnet-shard-3",testnet:!1},FSt={chain:"QuarkChain",chainId:110005,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110005,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s4-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39904"],shortName:"qkc-d-s4",slug:"quarkchain-devnet-shard-4",testnet:!1},NSt={chain:"QuarkChain",chainId:110006,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110006,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s5-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39905"],shortName:"qkc-d-s5",slug:"quarkchain-devnet-shard-5",testnet:!1},OSt={chain:"QuarkChain",chainId:110007,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110007,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s6-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39906"],shortName:"qkc-d-s6",slug:"quarkchain-devnet-shard-6",testnet:!1},USt={chain:"QuarkChain",chainId:110008,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110008,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s7-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39907"],shortName:"qkc-d-s7",slug:"quarkchain-devnet-shard-7",testnet:!1},HSt={chain:"QuarkChain",chainId:110011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Testnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110011,parent:{type:"L2",chain:"eip155-110000"},rpc:["https://110011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2-t",slug:"quarkchain-l2-testnet",testnet:!0},zSt={chain:"SBR",chainId:111e3,explorers:[{name:"Siberium Testnet Explorer - blockscout",url:"https://explorer.test.siberium.net",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Test Network",nativeCurrency:{name:"TestSIBR",symbol:"SIBR",decimals:18},networkId:111e3,rpc:["https://111000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.siberium.net"],shortName:"testsbr",slip44:1,slug:"siberium-test-network",testnet:!0},WSt={chain:"SBR",chainId:111111,explorers:[{name:"Siberium Mainnet Explorer - blockscout - 2",url:"https://explorer.main.siberium.net.ru",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Network",nativeCurrency:{name:"Siberium",symbol:"SIBR",decimals:18},networkId:111111,rpc:["https://111111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.siberium.net","https://rpc.main.siberium.net.ru"],shortName:"sbr",slug:"siberium-network",testnet:!1},qSt={chain:"re.al",chainId:111188,explorers:[{name:"blockscout",url:"https://explorer.re.al",standard:"EIP3091",icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"},infoURL:"https://re.al",name:"re.al",nativeCurrency:{name:"re.al Ether",symbol:"reETH",decimals:18},networkId:111188,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://re.al/bridge"},{url:"https://bridge.gelato.network/bridge/real"}]},rpc:["https://111188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://real.drpc.org","wss://real.drpc.org"],shortName:"re-al",slip44:60,slug:"re-al",testnet:!1,title:"re.al Real-World Assets network"},jSt={chain:"Avalanche",chainId:111223,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Chennai Testnet",nativeCurrency:{name:"Chennai Testnet Token",symbol:"ZOD",decimals:18},networkId:111223,redFlags:[],rpc:["https://111223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/chennai/testnet/rpc"],shortName:"Chennai Testnet",slug:"chennai-testnet",testnet:!0},GSt={chain:"METAO",chainId:112358,explorers:[{name:"blockscout",url:"https://explorer.metachain.one",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTmo2QAtX5PbhX96vewnvH4Vc5H83Ft2DJGi6tAqTcFij",width:1e3,height:981,format:"png"},infoURL:"https://metachain.one",name:"Metachain One Mainnet",nativeCurrency:{name:"Metao",symbol:"METAO",decimals:18},networkId:112358,rpc:["https://112358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metachain.one","https://rpc2.metachain.one"],shortName:"metao",slug:"metachain-one",testnet:!1},KSt={chain:"MetaDAP",chainId:119139,explorers:[{name:"MetaDAP Enterprise Testnet explorer",url:"https://explorer.testnet.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Testnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:119139,rpc:["https://119139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.chain.metadap.io","wss://rpc-ws.testnet.chain.metadap.io"],shortName:"MetaDAP-T",slug:"metadap-enterprise-testnet",testnet:!0,title:"MetaDAP Enterprise Testnet"},QSt={chain:"ADIL",chainId:123456,explorers:[{name:"ADIL Devnet Explorer",url:"https://devnet.adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Devnet",nativeCurrency:{name:"Devnet ADIL",symbol:"ADIL",decimals:18},networkId:123456,rpc:["https://123456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.adilchain-rpc.io"],shortName:"dadil",slug:"adil-devnet",testnet:!1},VSt={chain:"Etherlink",chainId:128123,explorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet-explorer.etherlink.com",standard:"EIP3091"}],faucets:["https://faucet.etherlink.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:3600,height:3600,format:"PNG"},infoURL:"https://node.ghostnet.etherlink.com",name:"Etherlink Testnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:128123,parent:{type:"Etherlink",chain:"Etherlink",bridges:[]},redFlags:[],rpc:["https://128123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.ghostnet.etherlink.com"],shortName:"etlt",slug:"etherlink-testnet",testnet:!0},YSt={chain:"DIONE",chainId:131313,explorers:[],faucets:["https://faucet.dioneprotocol.com/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmVt5Y585JqBSrkpZmYaEnX9FW7tDwfDLmUGNyDdyV2Pd2",width:48,height:48,format:"svg"},infoURL:"https://www.dioneprotocol.com/",name:"Odyssey Chain (Testnet)",nativeCurrency:{name:"DIONE",symbol:"DIONE",decimals:18},networkId:131313,rpc:["https://131313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.dioneprotocol.com/ext/bc/D/rpc"],shortName:"DIONE",slug:"odyssey-chain-testnet",testnet:!0},$St={chain:"ETND",chainId:131419,explorers:[{name:"etndscan",url:"https://scan.etnd.pro",standard:"none",icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"},infoURL:"https://www.etnd.pro",name:"ETND Chain Mainnets",nativeCurrency:{name:"ETND",symbol:"ETND",decimals:18},networkId:131419,rpc:["https://131419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.node1.etnd.pro/"],shortName:"ETND",slug:"etnd-chain-s",testnet:!1},JSt={chain:"Form",chainId:132902,explorers:[{name:"Form Testnet explorer",url:"https://testnet-explorer.form.network",standard:"EIP3091"}],faucets:["https://info.form.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreif6anuffunp3le26jsyemdrg4ydf2abensokw4qnlgvg5nc43zqbi",width:3600,height:3600,format:"PNG"},infoURL:"https://info.form.network",name:"Form Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:132902,parent:{type:"Optimism",chain:"Optimism",bridges:[]},redFlags:[],rpc:["https://132902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.form.network/http","https://testnet-rpc.form.network/http","wss://testnet-rpc.form.network/ws"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},XSt={chain:"Avalanche",chainId:141221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Xantus Testnet",nativeCurrency:{name:"Xantus Testnet Token",symbol:"XAN",decimals:18},networkId:141221,redFlags:[],rpc:["https://141221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantustest/testnet/rpc"],shortName:"Xantus Testnet",slug:"xantus-testnet",testnet:!0},ZSt={chain:"MagApe",chainId:141319,explorers:[{name:"etherscan",url:"http://testnet-api.magape.io:81",standard:"EIP3091",icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"},infoURL:"https://magape.io",name:"MagApe Testnet",nativeCurrency:{name:"MagApe",symbol:"MAG",decimals:18},networkId:141319,rpc:["https://141319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.magape.io/chain/"],shortName:"mag",slug:"magape-testnet",testnet:!0,title:"MagApeChain"},eRt={chain:"ICPlaza",chainId:142857,explorers:[{name:"ICPlaza",url:"https://browsemainnet.ic-plaza.org/index",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQpKKwpqrx77VA4SJLEWhuv9eLFMcVV9uvxRCLb6gdgCX",width:847,height:906,format:"png"},infoURL:"https://docs.ic-plaza.org/",name:"ICPlaza Mainnet",nativeCurrency:{name:"ict",symbol:"ict",decimals:18},networkId:142857,rpc:["https://142857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmainnet.ic-plaza.org/"],shortName:"ICPlaza",slug:"icplaza",testnet:!1},tRt={chain:"Avalanche",chainId:151221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Xantus",nativeCurrency:{name:"Xantus Token",symbol:"XAN",decimals:18},networkId:151221,redFlags:[],rpc:["https://151221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantus/testnet/rpc"],shortName:"Xantus",slug:"xantus",testnet:!0},nRt={chain:"PLAY",chainId:161212,explorers:[],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Mainnet",nativeCurrency:{name:"Play",symbol:"PLAY",decimals:18},networkId:161212,rpc:[],shortName:"playfi",slug:"playfi",status:"incubating",testnet:!1},aRt={chain:"Eclat",chainId:165279,explorers:[{name:"Eclat Mainnet Explorer",url:"https://eclatscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://eclatscan.com",name:"Eclat Mainnet",nativeCurrency:{name:"Eclat",symbol:"ECLAT",decimals:18},networkId:165279,rpc:["https://165279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eclatscan.com"],shortName:"ECLAT",slug:"eclat",testnet:!1},rRt={chain:"ETH",chainId:167e3,explorers:[{name:"etherscan",url:"https://taikoscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167e3,redFlags:[],rpc:["https://167000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taiko.xyz/","https://rpc.ankr.com/taiko/","https://rpc.taiko.xyz/","https://rpc.mainnet.taiko.xyz","wss://ws.mainnet.taiko.xyz"],shortName:"tko-mainnet",slug:"taiko",status:"active",testnet:!1},fRt={chain:"ETH",chainId:167004,explorers:[{name:"blockscout",url:"https://explorer.a2.taiko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko (Alpha-2 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167004,rpc:["https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.a2.taiko.xyz"],shortName:"taiko-a2",slip44:1,slug:"taiko-alpha-2-testnet",status:"deprecated",testnet:!0},iRt={chain:"ETH",chainId:167008,explorers:[{name:"blockscout",url:"https://explorer.katla.taiko.xyz",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Katla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167008,redFlags:[],rpc:["https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.katla.taiko.xyz","wss://ws.katla.taiko.xyz","https://taiko-katla.drpc.org","wss://taiko-katla.drpc.org"],shortName:"tko-katla",slug:"taiko-katla-l2",status:"deprecated",testnet:!0},sRt={chain:"ETH",chainId:167009,explorers:[{name:"blockscout",url:"https://blockscoutapi.hekla.taiko.xyz",standard:"EIP3091"},{name:"routescan",url:"https://hekla.taikoscan.network",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167009,redFlags:[],rpc:["https://167009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taiko-hekla.blockpi.network/v1/rpc/public","https://rpc.hekla.taiko.xyz","wss://ws.hekla.taiko.xyz"],shortName:"tko-hekla",slug:"taiko-hekla-l2",status:"active",testnet:!1},oRt={chain:"BDCC",chainId:188710,explorers:[{name:"Bitica DPOS Blockchain Explorer",url:"https://biticablockchain.com",standard:"none"}],faucets:[],infoURL:"https://biticablockchain.com/",name:"Bitica Chain Mainnet",nativeCurrency:{name:"Bitica Coin",symbol:"BDCC",decimals:18},networkId:188710,rpc:["https://188710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.biticablockchain.com/"],shortName:"bdcc",slug:"bitica-chain",testnet:!1},cRt={chain:"CONDOR",chainId:188881,explorers:[{name:"CondorScan",url:"https://explorer.condor.systems",standard:"none"}],faucets:["https://faucet.condor.systems"],icon:{url:"ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",width:752,height:752,format:"png"},infoURL:"https://condor.systems",name:"Condor Test Network",nativeCurrency:{name:"Condor Native Token",symbol:"CONDOR",decimals:18},networkId:188881,rpc:["https://188881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.condor.systems/rpc"],shortName:"condor",slip44:1,slug:"condor-test-network",testnet:!0},dRt={chain:"FHET",chainId:192940,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Testnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:192940,rpc:["https://192940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.mindnetwork.xyz","wss://rpc-testnet.mindnetwork.xyz"],shortName:"fhet",slug:"mind-network-testnet",testnet:!0},lRt={chain:"FAIT",chainId:2e5,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Testnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:2e5,rpc:["https://200000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_testnet.xfair.ai","wss://rpc_testnet.xfair.ai"],shortName:"fait",slug:"xfair-ai-testnet",testnet:!0},uRt={chain:"milkTAda",chainId:200101,explorers:[{name:"Blockscout",url:"https://explorer-devnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Testnet",nativeCurrency:{name:"milkTAda",symbol:"mTAda",decimals:18},networkId:200101,rpc:["https://200101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-cardano-evm.c1.milkomeda.com","wss://rpc-devnet-cardano-evm.c1.milkomeda.com"],shortName:"milkTAda",slip44:1,slug:"milkomeda-c1-testnet",testnet:!0},pRt={chain:"milkTAlgo",chainId:200202,explorers:[{name:"Blockscout",url:"https://explorer-devnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Testnet",nativeCurrency:{name:"milkTAlgo",symbol:"mTAlgo",decimals:18},networkId:200202,rpc:["https://200202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-algorand-rollup.a1.milkomeda.com"],shortName:"milkTAlgo",slip44:1,slug:"milkomeda-a1-testnet",testnet:!0},hRt={chain:"AKA",chainId:200625,explorers:[],faucets:[],infoURL:"https://akroma.io",name:"Akroma",nativeCurrency:{name:"Akroma Ether",symbol:"AKA",decimals:18},networkId:200625,rpc:["https://200625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://remote.akroma.io"],shortName:"aka",slip44:200625,slug:"akroma",testnet:!1},mRt={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet.btrscan.com",standard:"EIP3091"}],faucets:["https://www.bitlayer.org/faucet"],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200810,rpc:["https://200810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bitlayer.org","wss://testnet-ws.bitlayer.org","https://testnet-rpc.bitlayer-rpc.com","wss://testnet-ws.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer_testnet"],shortName:"btrt",slip44:1,slug:"bitlayer-testnet",testnet:!0},bRt={chain:"Bitlayer",chainId:200901,explorers:[{name:"bitlayer mainnet scan",url:"https://www.btrscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200901,rpc:["https://200901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer","https://rpc-bitlayer.rockx.com","wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"],shortName:"btr",slip44:1,slug:"bitlayer",testnet:!1},yRt={chain:"Alaya",chainId:201018,explorers:[{name:"alaya explorer",url:"https://scan.alaya.network",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Mainnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi.alaya.network/rpc","wss://openapi.alaya.network/ws"],shortName:"alaya",slug:"alaya",testnet:!1},gRt={chain:"Alaya",chainId:201030,explorers:[{name:"alaya explorer",url:"https://devnetscan.alaya.network",standard:"none"}],faucets:["https://faucet.alaya.network/faucet/?id=f93426c0887f11eb83b900163e06151c"],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Dev Testnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi.alaya.network/rpc","wss://devnetopenapi.alaya.network/ws"],shortName:"alayadev",slip44:1,slug:"alaya-dev-testnet",testnet:!0},vRt={chain:"MYTH",chainId:201804,explorers:[{name:"Mythical Chain Explorer",url:"https://explorer.mythicalgames.com",standard:"EIP3091",icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"},infoURL:"https://mythicalgames.com/",name:"Mythical Chain",nativeCurrency:{name:"Mythos",symbol:"MYTH",decimals:18},networkId:201804,rpc:["https://201804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.mythicalgames.com"],shortName:"myth",slug:"mythical-chain",testnet:!1},wRt={chain:"tDSC",chainId:202020,explorers:[{name:"DSC Explorer Testnet",url:"https://testnet.explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Testnet",nativeCurrency:{name:"Decimal",symbol:"tDEL",decimals:18},networkId:202020,rpc:["https://202020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-val.decimalchain.com/web3/"],shortName:"tDSC",slip44:1,slug:"decimal-smart-chain-testnet",testnet:!0},TRt={chain:"X1",chainId:202212,explorers:[{name:"Blockscout",url:"https://explorer.x1-devnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/x1/",name:"X1 Devnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:202212,rpc:["https://202212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-devnet.xen.network"],shortName:"x1-devnet",slug:"x1-devnet",testnet:!1},xRt={chain:"YMTECH-BESU",chainId:202401,explorers:[{name:"YMTECH-BESU Chainlens",url:"http://39.119.118.198",standard:"none"}],faucets:[],infoURL:"https://www.ymtech.co.kr",name:"YMTECH-BESU Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:202401,rpc:["https://202401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://39.119.118.216:8545"],shortName:"YMTECH-BESU",slug:"ymtech-besu-testnet",testnet:!0},ERt={chain:"ETH",chainId:202624,explorers:[{name:"Jellie Blockchain Explorer",url:"https://jellie.twala.io",standard:"EIP3091",icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"},infoURL:"https://twala.io/",name:"Jellie",nativeCurrency:{name:"Twala Coin",symbol:"TWL",decimals:18},networkId:202624,rpc:["https://202624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jellie-rpc.twala.io/","wss://jellie-rpc-wss.twala.io/"],shortName:"twl-jellie",slip44:1,slug:"jellie",testnet:!0,title:"Twala Testnet Jellie"},_Rt={chain:"X1",chainId:204005,explorers:[{name:"Blockscout",url:"https://explorer.x1-testnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Network",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:204005,rpc:["https://204005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-testnet.xen.network"],shortName:"x1-testnet",slug:"x1-network",testnet:!0},ARt={chain:"Auroria",chainId:205205,explorers:[{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com",standard:"EIP3091"}],faucets:["https://auroria.faucet.stratisevm.com"],icon:{url:"ipfs://QmbkTh6qNYUnae5yNjied3qZqVyZcb4x3hfUpJ33bGg9QY",width:800,height:800,format:"jpg"},infoURL:"https://www.stratisplatform.com",name:"Auroria Testnet",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},networkId:205205,rpc:["https://205205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://auroria.rpc.stratisevm.com"],shortName:"auroria",slug:"auroria-testnet",testnet:!0,title:"Stratis Testnet Auroria"},IRt={chain:"GitAGI",chainId:210049,explorers:[],faucets:[],infoURL:"https://gitagi.org/",name:"GitAGI Atlas Testnet",nativeCurrency:{name:"GitAGI",symbol:"tGAGI",decimals:18},networkId:210049,rpc:["https://210049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gitagi.org"],shortName:"atlas",slug:"gitagi-atlas-testnet",testnet:!0},CRt={chain:"PlatON",chainId:210425,explorers:[{name:"PlatON explorer",url:"https://scan.platon.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Mainnet",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://210425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi2.platon.network/rpc","wss://openapi2.platon.network/ws"],shortName:"platon",slug:"platon",testnet:!1},kRt={chain:"Avalanche",chainId:210815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stavax Testnet",nativeCurrency:{name:"Stavax Testnet Token",symbol:"STA",decimals:18},networkId:210815,redFlags:[],rpc:["https://210815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stavaxtest/testnet/rpc"],shortName:"Stavax Testnet",slug:"stavax-testnet",testnet:!0},SRt={chain:"MAS",chainId:220315,explorers:[{name:"explorer masnet",url:"https://explorer.masnet.ai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZ9njQhhKkpJKGnoYy6XTuDtk5CYiDFUd8atqWthqUT3Q",width:1024,height:1024,format:"png"},infoURL:"https://masterbank.org",name:"Mas Mainnet",nativeCurrency:{name:"Master Bank",symbol:"MAS",decimals:18},networkId:220315,rpc:["https://220315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node.masnet.ai:8545"],shortName:"mas",slug:"mas",testnet:!1},RRt={chain:"REAP",chainId:221230,explorers:[{name:"Reapchain Dashboard",url:"https://dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Mainnet",nativeCurrency:{name:"Reap",symbol:"REAP",decimals:18},networkId:221230,rpc:["https://221230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.reapchain.org"],shortName:"reap",slug:"reapchain",testnet:!1},MRt={chain:"REAP",chainId:221231,explorers:[{name:"Reapchain Testnet Dashboard",url:"https://test-dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:["http://faucet.reapchain.com"],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Testnet",nativeCurrency:{name:"test-Reap",symbol:"tREAP",decimals:18},networkId:221231,rpc:["https://221231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-eth.reapchain.org"],shortName:"reap-testnet",slip44:1,slug:"reapchain-testnet",testnet:!0},BRt={chain:"HDX",chainId:222222,explorers:[{name:"blockscout",url:"https://explorer.evm.hydration.cloud",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",width:400,height:400,format:"svg"},infoURL:"https://hydradx.io",name:"HydraDX",nativeCurrency:{name:"Wrapped ETH",symbol:"WETH",decimals:18},networkId:222222,rpc:["https://222222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hydradx.cloud","wss://rpc.hydradx.cloud"],shortName:"hdx",slug:"hydradx",testnet:!1},DRt={chain:"DEEPL",chainId:222555,explorers:[{name:"DeepL Mainnet Explorer",url:"https://scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Mainnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222555,rpc:["https://222555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deeplnetwork.org"],shortName:"deepl",slug:"deepl",testnet:!1},PRt={chain:"DEEPL",chainId:222666,explorers:[{name:"DeepL Testnet Explorer",url:"https://testnet-scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:["https://faucet.deeplnetwork.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Testnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222666,rpc:["https://222666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deeplnetwork.org"],shortName:"tdeepl",slug:"deepl-testnet",testnet:!0},LRt={chain:"Taf ECO Chain",chainId:224168,explorers:[{name:"Taf ECO Chain Mainnet",url:"https://ecoscan.tafchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigpxhu7glccsislhjqpl5fnsfmj2io4cy33blhky642uiuyojossy",width:400,height:400,format:"png"},infoURL:"https://www.tafchain.com",name:"Taf ECO Chain Mainnet",nativeCurrency:{name:"Taf ECO Chain Mainnet",symbol:"TAFECO",decimals:18},networkId:224168,rpc:["https://224168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.tafchain.com/v1"],shortName:"TAFECO",slug:"taf-eco-chain",testnet:!1},FRt={chain:"CONET",chainId:224422,explorers:[{name:"CONET Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Sebolia Testnet",nativeCurrency:{name:"CONET Sebolia",symbol:"CONET",decimals:18},networkId:224422,rpc:["https://224422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.conet.network"],shortName:"conet-sebolia",slip44:1,slug:"conet-sebolia-testnet",testnet:!0},NRt={chain:"CONET Holesky",chainId:224433,explorers:[{name:"CONET Holesky Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Holesky",nativeCurrency:{name:"CONET Holesky",symbol:"CONET",decimals:18},networkId:224433,rpc:["https://224433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.conet.network"],shortName:"conet-holesky",slip44:2147708081,slug:"conet-holesky",testnet:!1},ORt={chain:"HashKey",chainId:230315,explorers:[{name:"HashKey Chain Testnet Explorer",url:"https://testnet.hashkeyscan.io",standard:"none"}],faucets:["https://testnet.hashkeychain/faucet"],icon:{url:"ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",width:1440,height:448,format:"png"},infoURL:"https://www.hashkey.com",name:"HashKey Chain Testnet(discard)",nativeCurrency:{name:"HashKey Token",symbol:"tHSK",decimals:18},networkId:230315,rpc:["https://230315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashkeychain/rpc"],shortName:"hsktest",slip44:1,slug:"hashkey-chain-testnet-discard",testnet:!0},URt={chain:"Avalanche",chainId:234560,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Project Orc",nativeCurrency:{name:"Project Orc Token",symbol:"STX",decimals:18},networkId:234560,redFlags:[],rpc:["https://234560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projectorc/testnet/rpc"],shortName:"Project Orc",slug:"project-orc",testnet:!0},HRt={chain:"tHYM",chainId:234666,explorers:[],faucets:[],infoURL:"https://haymoswap.web.app/",name:"Haymo Testnet",nativeCurrency:{name:"HAYMO",symbol:"HYM",decimals:18},networkId:234666,rpc:["https://234666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.haymo.network"],shortName:"hym",slip44:1,slug:"haymo-testnet",testnet:!0},zRt={chain:"Orange Chain",chainId:240515,explorers:[{name:"Blockscout",url:"https://testnet-scan.orangechain.xyz",standard:"EIP3091",icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"},infoURL:"https://orangechain.xyz",name:"Orange Chain Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:240515,rpc:["https://240515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.orangechain.xyz"],shortName:"Orange-Chain-Testnet",slug:"orange-chain-testnet",testnet:!0,title:"Orange Chain Testnet"},WRt={chain:"ARTIS",chainId:246529,explorers:[],faucets:[],infoURL:"https://artis.eco",name:"ARTIS sigma1",nativeCurrency:{name:"ARTIS sigma1 Ether",symbol:"ATS",decimals:18},networkId:246529,rpc:["https://246529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sigma1.artis.network"],shortName:"ats",slip44:246529,slug:"artis-sigma1",testnet:!1},qRt={chain:"ARTIS",chainId:246785,explorers:[],faucets:[],infoURL:"https://artis.network",name:"ARTIS Testnet tau1",nativeCurrency:{name:"ARTIS tau1 Ether",symbol:"tATS",decimals:18},networkId:246785,rpc:["https://246785.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tau1.artis.network"],shortName:"atstau",slip44:1,slug:"artis-testnet-tau1",testnet:!0},jRt={chain:"Saakuru",chainId:247253,explorers:[{name:"saakuru-explorer-testnet",url:"https://explorer-testnet.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:247253,rpc:["https://247253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.saakuru.network"],shortName:"saakuru-testnet",slip44:1,slug:"saakuru-testnet",testnet:!0},GRt={chain:"CMP",chainId:256256,explorers:[{name:"Mainnet Scan",url:"https://mainnet.scan.caduceus.foundation",standard:"none"}],faucets:[],infoURL:"https://caduceus.foundation/",name:"CMP-Mainnet",nativeCurrency:{name:"Caduceus Token",symbol:"CMP",decimals:18},networkId:256256,rpc:["https://256256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.block.caduceus.foundation","wss://mainnet.block.caduceus.foundation"],shortName:"cmp-mainnet",slug:"cmp",testnet:!1},KRt={chain:"WP",chainId:260693,explorers:[],faucets:[],features:[],icon:{url:"ipfs://Qmd4g9i2VjndV1TuWZySYoBiNt6eVyJMEujov7YtcTyoqq/whalepass_logo_3.png",width:512,height:512,format:"png"},name:"Whalepass Testnet",nativeCurrency:{name:"Whalepass",symbol:"WP",decimals:18},networkId:260693,redFlags:[],rpc:["https://260693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network"],shortName:"wptest",slug:"whalepass-testnet",testnet:!0},QRt={chain:"Eclat",chainId:262371,explorers:[{name:"Eclat Testnet Explorer",url:"https://testnet-explorer.eclatscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclatscan.com"],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.eclatscan.com",name:"Eclat Testnet",nativeCurrency:{name:"Eclat Testnet",symbol:"ECLAT",decimals:18},networkId:262371,rpc:["https://262371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eclatscan.com"],shortName:"tECLAT",slug:"eclat-testnet",testnet:!0},VRt={chain:"GearZero",chainId:266256,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/testnet",name:"Gear Zero Network Testnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:266256,rpc:["https://266256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn-test.linksme.info"],shortName:"gz-testnet",slip44:1,slug:"gear-zero-network-testnet",testnet:!0},YRt={chain:"EGON",chainId:271271,explorers:[{name:"EgonCoin Testnet",url:"https://testnet.egonscan.com",standard:"EIP3091"}],faucets:["https://faucet.egonscan.com"],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Testnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271271,rpc:["https://271271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.egonscan.com"],shortName:"EGONt",slip44:1,slug:"egoncoin-testnet",testnet:!0},$Rt={chain:"SoChain",chainId:281121,explorers:[],faucets:[],infoURL:"https://digitalnext.business/SocialSmartChain",name:"Social Smart Chain Mainnet",nativeCurrency:{name:"SoChain",symbol:"$OC",decimals:18},networkId:281121,rpc:["https://281121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://socialsmartchain.digitalnext.business"],shortName:"SoChain",slug:"social-smart-chain",testnet:!1},JRt={chain:"ETH",chainId:282828,explorers:[{name:"zillscout",url:"https://sepolia.zillnet.io",standard:"EIP3091",icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"},infoURL:"https://zillnet.io",name:"Zillion Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:282828,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://282828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.zillnet.io/rpc"],shortName:"zillsep",slip44:1,slug:"zillion-sepolia-testnet",status:"active",testnet:!0},XRt={chain:"One World Chain",chainId:309075,explorers:[{name:"One World Chain Mainnet Explorer",url:"https://mainnet.oneworldchain.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Mainnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:309075,rpc:["https://309075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneworldchain.org"],shortName:"OWCTm",slug:"one-world-chain",testnet:!1},ZRt={chain:"Avalanche",chainId:313310,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT10",nativeCurrency:{name:"LT10 Token",symbol:"LT",decimals:18},networkId:313310,redFlags:[],rpc:["https://313310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt10/testnet/rpc"],shortName:"LT10",slug:"lt10",testnet:!0},eMt={chain:"Avalanche",chainId:313311,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT11",nativeCurrency:{name:"LT11 Token",symbol:"LT",decimals:18},networkId:313311,redFlags:[],rpc:["https://313311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt11/testnet/rpc"],shortName:"LT11",slug:"lt11",testnet:!0},tMt={chain:"Sahara",chainId:313313,explorers:[{name:"Testnet Scan",url:"https://explorer.saharaa.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Testnet",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:313313,rpc:["https://313313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.saharalabs.ai"],shortName:"saharatest",slug:"saharaai-testnet",testnet:!0},nMt={chain:"FIL",chainId:314159,explorers:[{name:"Filscan - Calibration",url:"https://calibration.filscan.io",standard:"none"},{name:"Filscout - Calibration",url:"https://calibration.filscout.com/en",standard:"none"},{name:"Filfox - Calibration",url:"https://calibration.filfox.info",standard:"none"},{name:"Glif Explorer - Calibration",url:"https://explorer.glif.io/?network=calibration",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"}],faucets:["https://faucet.calibration.fildev.network/"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Calibration testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:314159,rpc:["https://314159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.calibration.node.glif.io/rpc/v1","https://rpc.ankr.com/filecoin_testnet","https://filecoin-calibration.chainstacklabs.com/rpc/v1","https://filecoin-calibration.chainup.net/rpc/v1","https://calibration.filfox.info/rpc/v1","https://filecoin-calibration.drpc.org","wss://filecoin-calibration.drpc.org"],shortName:"filecoin-calibration",slip44:1,slug:"filecoin-calibration-testnet",testnet:!0},aMt={chain:"Parex",chainId:322202,explorers:[{name:"Parex Mainnet Explorer",url:"https://scan.parex.network",standard:"EIP3091",icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"},infoURL:"https://parex.network",name:"Parex Mainnet",nativeCurrency:{name:"PAREX",symbol:"PRX",decimals:18},networkId:322202,rpc:["https://322202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.parex.network"],shortName:"parex",slug:"parex",testnet:!1,title:"Parex Mainnet"},rMt={chain:"Bloom",chainId:323213,explorers:[{name:"Bloom Genesis Testnet",url:"https://testnet.bloomgenesis.com",standard:"EIP3091"}],faucets:["https://faucet.bloomgenesis.com"],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Testnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:323213,rpc:["https://323213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bloomgenesis.com"],shortName:"BGBC-Testnet",slug:"bloom-genesis-testnet",testnet:!0},fMt={chain:"TSC",chainId:330844,explorers:[{name:"TTcoin Smart Chain Explorer",url:"https://tscscan.com",standard:"EIP3091",icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"}}],faucets:["https://faucet.tscscan.com"],icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"},infoURL:"https://ttcoin.info/",name:"TTcoin Smart Chain Mainnet",nativeCurrency:{name:"TTcoin",symbol:"TC",decimals:18},networkId:330844,rpc:["https://330844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tscscan.com"],shortName:"tc",slug:"ttcoin-smart-chain",testnet:!1},iMt={chain:"POPTestnet",chainId:331769,explorers:[{name:"ProofOfPepe Explorer",url:"https://pepescan.app/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"ProofOfPepe Testnet",nativeCurrency:{name:"POP",symbol:"POP",decimals:18},networkId:331769,redFlags:[],rpc:["https://331769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet01.proofofpepe.tech"],shortName:"POPTestnet",slug:"proofofpepe-testnet",testnet:!0},sMt={chain:"POP",chainId:331771,explorers:[{name:"Pepescan",url:"https://pepescan.app",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"POP Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:331771,redFlags:[],rpc:["https://331771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc00.proofofpepe.tech","https://rpc01.proofofpepe.tech","https://rpc02.proofofpepe.tech"],shortName:"POP",slug:"pop",testnet:!1},oMt={chain:"Avalanche",chainId:332323,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s3dev Testnet",nativeCurrency:{name:"QI0408s3dev Testnet Token",symbol:"REQ",decimals:18},networkId:332323,redFlags:[],rpc:["https://332323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s3dev Testnet",slug:"qi0408s3dev-testnet",testnet:!0},cMt={chain:"Bloom",chainId:333313,explorers:[{name:"Bloom Genesis Mainnet",url:"https://explorer.bloomgenesis.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Mainnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:333313,rpc:["https://333313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bloomgenesis.com"],shortName:"BGBC",slug:"bloom-genesis",testnet:!1},dMt={chain:"AVST",chainId:333331,explorers:[{name:"avescan",url:"https://testnet.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://ethereum.org",name:"Aves Testnet",nativeCurrency:{name:"AvesT",symbol:"AVST",decimals:18},networkId:333331,rpc:["https://333331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.rpc.avescoin.io"],shortName:"avst",slip44:1,slug:"aves-testnet",testnet:!0},lMt={chain:"N3-Test",chainId:333333,explorers:[{name:"Nativ3 Test Explorer",url:"https://scantest.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Testnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:333333,parent:{type:"L2",chain:"eip155-421613",bridges:[{url:"https://bridgetest.nativ3.network"}]},rpc:["https://333333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.nativ3.network","wss://wstest.nativ3.network"],shortName:"N3-Test",slip44:1,slug:"nativ3-testnet",testnet:!0},uMt={chain:"OONE Testnet",chainId:333666,explorers:[{name:"blockscout",url:"https://testnet.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Testnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333666,rpc:["https://333666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oonechain.com"],shortName:"oonetest",slip44:1,slug:"oone-chain-testnet",testnet:!0},pMt={chain:"OONE Devnet",chainId:333777,explorers:[{name:"blockscout",url:"https://dev.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Devnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333777,rpc:["https://333777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.oonechain.com"],shortName:"oonedev",slug:"oone-chain-devnet",testnet:!0},hMt={chain:"Sparta",chainId:333888,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Testnet",nativeCurrency:{name:"tPolis",symbol:"tPOLIS",decimals:18},networkId:333888,rpc:["https://333888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sparta-rpc.polis.tech"],shortName:"sparta",slip44:1,slug:"polis-testnet",testnet:!0},mMt={chain:"Olympus",chainId:333999,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Mainnet",nativeCurrency:{name:"Polis",symbol:"POLIS",decimals:18},networkId:333999,rpc:["https://333999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polis.tech"],shortName:"olympus",slug:"polis",testnet:!1},bMt={chain:"UPchain",chainId:336655,explorers:[{name:"UPchain Testnet Explorer",url:"https://explorer-testnet.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:["https://faucet-testnet.uniport.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Testnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336655,rpc:["https://336655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.uniport.network"],shortName:"UPchain-testnet",slug:"upchain-testnet",testnet:!0},yMt={chain:"UPchain",chainId:336666,explorers:[{name:"UPchain Mainnet Explorer",url:"https://explorer.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Mainnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336666,rpc:["https://336666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uniport.network"],shortName:"UPchain-mainnet",slug:"upchain",testnet:!1},gMt={chain:"BFT",chainId:355110,explorers:[{name:"Bitfinity Mainnet Block Explorer",url:"https://explorer.mainnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Mainnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355110,rpc:["https://355110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bitfinity.network"],shortName:"bitfinity-mainnet",slug:"bitfinity-network",testnet:!1},vMt={chain:"BFT",chainId:355113,explorers:[{name:"Bitfinity Testnet Block Explorer",url:"https://explorer.testnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}},{name:"Bitfinity Testnet Block Explorer",url:"https://bitfinity-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://bitfinity.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Testnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355113,rpc:["https://355113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitfinity.network"],shortName:"bitfinity-testnet",slug:"bitfinity-network-testnet",testnet:!0},wMt={chain:"LAVITA",chainId:360890,explorers:[{name:"LAVITA Mainnet Explorer",url:"https://tsub360890-explorer.thetatoken.org",standard:"EIP3091",icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"},infoURL:"https://www.lavita.ai",name:"LAVITA Mainnet",nativeCurrency:{name:"vTFUEL",symbol:"vTFUEL",decimals:18},networkId:360890,rpc:["https://360890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsub360890-eth-rpc.thetatoken.org/rpc"],shortName:"lavita-mainnet",slug:"lavita",testnet:!1},TMt={chain:"DS2",chainId:363636,explorers:[{name:"Digit Soul Explorer",url:"https://dgs-exp.digitsoul.co.th",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain 2",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:363636,rpc:["https://363636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dgs-rpc.digitsoul.co.th"],shortName:"DS2",slug:"digit-soul-smart-chain-2",testnet:!1},xMt={chain:"HAPchain",chainId:373737,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout-test.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain Testnet",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:373737,rpc:["https://373737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.hap.land"],shortName:"hap-testnet",slip44:1,slug:"hapchain-testnet",testnet:!0},EMt={chain:"Metal",chainId:381931,explorers:[{name:"metalscan",url:"https://metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381931,rpc:["https://381931.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metalblockchain.org/ext/bc/C/rpc"],shortName:"metal",slip44:9005,slug:"metal-c-chain",testnet:!1},_Mt={chain:"Metal",chainId:381932,explorers:[{name:"metalscan",url:"https://tahoe.metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal Tahoe C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381932,rpc:["https://381932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tahoe.metalblockchain.org/ext/bc/C/rpc"],shortName:"Tahoe",slip44:9005,slug:"metal-tahoe-c-chain",testnet:!1},AMt={chain:"TPBX",chainId:404040,explorers:[{name:"Tipboxcoin",url:"https://tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Mainnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:404040,rpc:["https://404040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tipboxcoin.net"],shortName:"TPBXm",slug:"tipboxcoin",testnet:!1},IMt={chain:"AIE",chainId:413413,explorers:[{name:"aiescan-testnet",url:"https://testnet.aiescan.io",standard:"none",icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"},infoURL:"https://testnet.aiescan.io",name:"AIE Testnet",nativeCurrency:{name:"AIE",symbol:"tAIE",decimals:18},networkId:413413,rpc:["https://413413.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.aiechain.io"],shortName:"aiet",slug:"aie-testnet",testnet:!0},CMt={chain:"kek",chainId:420420,explorers:[{name:"blockscout",url:"https://mainnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain",nativeCurrency:{name:"KEK",symbol:"KEK",decimals:18},networkId:103090,rpc:["https://420420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kekchain.com"],shortName:"KEK",slug:"kekchain",testnet:!1},kMt={chain:"kek",chainId:420666,explorers:[{name:"blockscout",url:"https://testnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain (kektest)",nativeCurrency:{name:"tKEK",symbol:"tKEK",decimals:18},networkId:1,rpc:["https://420666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.kekchain.com"],shortName:"tKEK",slip44:1,slug:"kekchain-kektest",testnet:!0},SMt={chain:"ALT",chainId:420692,explorers:[{name:"Alterium L2 Testnet Explorer",url:"https://l2-testnet.altscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3v7ow4c4t3ljya6aouiwvqbtssb2lzmkwt2eghryk234g7yynrq",width:756,height:756,format:"png"},infoURL:"https://alteriumprotocol.org",name:"Alterium L2 Testnet",nativeCurrency:{name:"Alterium ETH",symbol:"AltETH",decimals:18},networkId:420692,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://testnet-bridge.alteriumprotocol.org"}]},rpc:["https://420692.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-testnet-rpc.altscan.org"],shortName:"alterium",slip44:1,slug:"alterium-l2-testnet",testnet:!0},RMt={chain:"ETH",chainId:421611,explorers:[{name:"arbiscan-testnet",url:"https://testnet.arbiscan.io",standard:"EIP3091"},{name:"arbitrum-rinkeby",url:"https://rinkeby-explorer.arbitrum.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=421611&address=${ADDRESS}"],features:[],infoURL:"https://arbitrum.io",name:"Arbitrum Rinkeby",nativeCurrency:{name:"Arbitrum Rinkeby Ether",symbol:"ETH",decimals:18},networkId:421611,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://421611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.arbitrum.io/rpc"],shortName:"arb-rinkeby",slip44:1,slug:"arbitrum-rinkeby",status:"deprecated",testnet:!0,title:"Arbitrum Testnet Rinkeby"},MMt={chain:"ETH",chainId:421613,explorers:[{name:"Arbitrum Goerli Arbiscan",url:"https://goerli.arbiscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io/",name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"AGOR",decimals:18},networkId:421613,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.arbitrum.io/"}]},redFlags:[],rpc:["https://421613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli-rollup.arbitrum.io/rpc","https://arbitrum-goerli.publicnode.com","wss://arbitrum-goerli.publicnode.com"],shortName:"arb-goerli",slip44:1,slug:"arbitrum-goerli",status:"deprecated",testnet:!0,title:"Arbitrum Goerli Rollup Testnet"},OHe={chain:"ETH",chainId:421614,explorers:[{name:"Arbitrum Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.arbitrum.io",standard:"EIP3091"}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:421614,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://421614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rollup.arbitrum.io/rpc","https://arbitrum-sepolia.infura.io/v3/${INFURA_API_KEY}"],shortName:"arb-sep",slip44:1,slug:"arbitrum-sepolia",testnet:!0,title:"Arbitrum Sepolia Rollup Testnet"},BMt={chain:"FTN",chainId:424242,explorers:[{name:"blockscout",url:"https://testnet.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://fastex.com",name:"Fastex Chain testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:424242,rpc:["https://424242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fastexchain.com"],shortName:"fastexTestnet",slip44:1,slug:"fastex-chain-testnet",testnet:!0,title:"Fastex Chain testnet"},DMt={chain:"Unified",chainId:431140,explorers:[],faucets:[],icon:{url:"ipfs://QmVMBTZVPawyLBD2B5VbG68dfWLfZ1CnB8V59xduBe2kwh",width:84,height:84,format:"png"},infoURL:"https://www.markr.io/",name:"Markr Go",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:431140,rpc:["https://431140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.markr.io/ext/"],shortName:"markr-go",slug:"markr-go",status:"incubating",testnet:!1},PMt={chain:"Avalanche",chainId:431188,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Foundation Testnet",nativeCurrency:{name:"Foundation Testnet Token",symbol:"TFND",decimals:18},networkId:431188,redFlags:[],rpc:["https://431188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/foundation/testnet/rpc"],shortName:"Foundation Testnet",slug:"foundation-testnet",testnet:!0},LMt={chain:"DEXALOT",chainId:432201,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/dexalot",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=dexalot"],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet Testnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432201,rpc:["https://432201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/testnet/rpc"],shortName:"dexalot-testnet",slip44:1,slug:"dexalot-subnet-testnet",testnet:!0},FMt={chain:"DEXALOT",chainId:432204,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets.avax.network/dexalot",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432204,rpc:["https://432204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/mainnet/rpc"],shortName:"dexalot",slug:"dexalot-subnet",testnet:!1},NMt={chain:"SYNDRSEPOLIA",chainId:444444,explorers:[{name:"Syndr L3 Sepolia Testnet Explorer",url:"https://sepolia-explorer.syndr.com",standard:"EIP3091"}],faucets:[],infoURL:"https://syndr.com",name:"Syndr L3 Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:444444,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://sepolia-bridge.syndr.com"}]},rpc:["https://444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.syndr.com/http","wss://sepolia.syndr.com/ws"],shortName:"syndr",slug:"syndr-l3-sepolia",testnet:!0,title:"Syndr L3 Sepolia Rollup Testnet"},OMt={chain:"WLK",chainId:444900,explorers:[{name:"weelink-testnet",url:"https://weelink.cloud/#/blockView/overview",standard:"none"}],faucets:["https://faucet.weelink.gw002.oneitfarm.com"],infoURL:"https://weelink.cloud",name:"Weelink Testnet",nativeCurrency:{name:"Weelink Chain Token",symbol:"tWLK",decimals:18},networkId:444900,rpc:["https://444900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://weelinknode1c.gw002.oneitfarm.com"],shortName:"wlkt",slip44:1,slug:"weelink-testnet",testnet:!0},UMt={chain:"ETH",chainId:471100,explorers:[],faucets:[],infoURL:"https://patex.io/",name:"Patex Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:471100,rpc:["https://471100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.patex.io/"],shortName:"psep",slip44:1,slug:"patex-sepolia-testnet",testnet:!0},HMt={chain:"ultrapro",chainId:473861,explorers:[{name:"ultraproscan",url:"https://ultraproscan.io",standard:"EIP3091",icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"},infoURL:"https://ultrapro.info",name:"Ultra Pro Mainnet",nativeCurrency:{name:"Ultra Pro",symbol:"UPRO",decimals:18},networkId:473861,rpc:["https://473861.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ultraproscan.io"],shortName:"ultrapro",slug:"ultra-pro",testnet:!1},zMt={chain:"OpenChain",chainId:474142,explorers:[{name:"SIDE SCAN",url:"https://sidescan.luniverse.io/1641349324562974539",standard:"none"}],faucets:[],infoURL:"https://www.openchain.live",name:"OpenChain Mainnet",nativeCurrency:{name:"OpenCoin",symbol:"OPC",decimals:10},networkId:474142,rpc:["https://474142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baas-rpc.luniverse.io:18545?lChainId=1641349324562974539"],shortName:"oc",slug:"openchain",testnet:!1},WMt={chain:"Avalanche",chainId:504441,explorers:[{name:"Playdapp Explorer",url:"https://subnets.avax.network/playdappne",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Playdapp Network",nativeCurrency:{name:"Playdapp Network Token",symbol:"PDA",decimals:18},networkId:504441,redFlags:[],rpc:["https://504441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappne/mainnet/rpc"],shortName:"Playdapp Network",slug:"playdapp-network",testnet:!1},qMt={chain:"CMP",chainId:512512,explorers:[{name:"Galaxy Scan",url:"https://galaxy.scan.caduceus.foundation",standard:"none"}],faucets:["https://dev.caduceus.foundation/testNetwork"],infoURL:"https://caduceus.foundation/",name:"CMP-Testnet",nativeCurrency:{name:"Caduceus Testnet Token",symbol:"CMP",decimals:18},networkId:512512,rpc:["https://512512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galaxy.block.caduceus.foundation","wss://galaxy.block.caduceus.foundation"],shortName:"cmp",slip44:1,slug:"cmp-testnet",testnet:!0},jMt={chain:"DIS",chainId:513100,explorers:[{name:"DisChain",url:"https://www.oklink.com/dis",standard:"EIP3091"}],faucets:[],infoURL:"https://dischain.xyz",name:"DisChain",nativeCurrency:{name:"DisChain",symbol:"DIS",decimals:18},networkId:513100,rpc:["https://513100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dischain.xyz"],shortName:"dis",slug:"dischain",testnet:!1},GMt={chain:"DoCoin",chainId:526916,explorers:[{name:"DoCoin Community Chain Explorer",url:"https://explorer.docoin.shop",standard:"EIP3091"}],faucets:[],infoURL:"https://docoin.network",name:"DoCoin Community Chain",nativeCurrency:{name:"DO",symbol:"DCT",decimals:18},networkId:526916,rpc:["https://526916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.docoin.shop"],shortName:"DoCoin",slug:"docoin-community-chain",testnet:!1,title:"DoCoin Community Chain"},KMt={chain:"ETH",chainId:534351,explorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534351,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia.scroll.io/bridge"}]},rpc:["https://534351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.scroll.io","https://rpc.ankr.com/scroll_sepolia_testnet","https://scroll-sepolia.chainstacklabs.com","https://scroll-testnet-public.unifra.io"],shortName:"scr-sepolia",slip44:1,slug:"scroll-sepolia-testnet",status:"active",testnet:!0},QMt={chain:"ETH",chainId:534352,explorers:[{name:"Scrollscan",url:"https://scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534352,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://scroll.io/bridge"}]},rpc:["https://534352.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scroll.io","https://rpc.ankr.com/scroll","https://scroll-mainnet.chainstacklabs.com"],shortName:"scr",slug:"scroll",status:"active",testnet:!1},VMt={chain:"ETH",chainId:534353,explorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534353,parent:{type:"L2",chain:"eip155-5",bridges:[]},rpc:["https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc.scroll.io/l2"],shortName:"scr-alpha",slip44:1,slug:"scroll-alpha-testnet",status:"deprecated",testnet:!0},YMt={chain:"ETH",chainId:534354,explorers:[],faucets:[],infoURL:"https://scroll.io",name:"Scroll Pre-Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"TSETH",decimals:18},networkId:534354,rpc:[],shortName:"scr-prealpha",slip44:1,slug:"scroll-pre-alpha-testnet",status:"deprecated",testnet:!0},$Mt={chain:"Shinarium",chainId:534849,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:["https://faucet.shinarium.org"],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Beta",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:534849,rpc:["https://534849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinarium.org"],shortName:"shi",slug:"shinarium-beta",testnet:!1},JMt={chain:"BESC",chainId:535037,explorers:[{name:"bescscan",url:"https://Bescscan.io",standard:"EIP3091"}],faucets:[],name:"BeanEco SmartChain",nativeCurrency:{name:"BeanEco SmartChain",symbol:"BESC",decimals:18},networkId:535037,rpc:["https://535037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bescscan.io"],shortName:"BESC",slug:"beaneco-smartchain",testnet:!1,title:"BESC Mainnet"},XMt={chain:"One World Chain",chainId:552981,explorers:[{name:"One World Chain Testnet Explorer",url:"https://testnet.oneworldchain.org",standard:"EIP3091"}],faucets:["https://faucet.oneworldchain.org"],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Testnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:552981,rpc:["https://552981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneworldchain.org"],shortName:"OWCTt",slug:"one-world-chain-testnet",testnet:!0},ZMt={chain:"Pentagon",chainId:555555,explorers:[{name:"Pentagon Testnet Explorer",url:"https://explorer-testnet.pentagon.games",standard:"EIP3091",icon:{url:"ipfs://QmfU7W3Tm3tGWgnHBTG9vjB4PXGMvcL7Cq8R6MaSaC33DC",width:512,height:512,format:"png"}}],faucets:["https://bridge-testnet.pentagon.games"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfU7W3Tm3tGWgnHBTG9vjB4PXGMvcL7Cq8R6MaSaC33DC",width:512,height:512,format:"png"},infoURL:"https://pentagon.games",name:"Pentagon Testnet",nativeCurrency:{name:"Pentagon",symbol:"PEN",decimals:18},networkId:555555,rpc:["https://555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.pentagon.games"],shortName:"pentagon-testnet",slug:"pentagon-testnet",testnet:!0},eBt={chain:"Avalanche",chainId:555666,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipsecha",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EclipseChain Testnet",nativeCurrency:{name:"EclipseChain Testnet Token",symbol:"ECLPS",decimals:18},networkId:555666,redFlags:[],rpc:["https://555666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipsecha/testnet/rpc"],shortName:"EclipseChain Testnet",slug:"eclipsechain-testnet",testnet:!0},tBt={chain:"HYP",chainId:622277,explorers:[{name:"hypra",url:"https://explorer.hypra.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiawlhc2trzyxgnz24vowdymxme2m446uk4vmrplgxsdd74ecpfloq",width:830,height:830,format:"png"},infoURL:"https://www.hypra.network",name:"Hypra Mainnet",nativeCurrency:{name:"Hypra",symbol:"HYP",decimals:18},networkId:622277,rpc:["https://622277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypra.network","https://rpc.rethereum.org","https://rethereum.rpc.restratagem.com","https://rpc.rthcentral.org"],shortName:"hyp",slug:"hypra",testnet:!1},nBt={chain:"ATLAS",chainId:622463,explorers:[{name:"Atlas Testnet Scan",url:"https://explorer.testnet.atl.network",standard:"EIP3091",icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"},infoURL:"https://atl.network",name:"Atlas",nativeCurrency:{name:"TON",symbol:"TON",decimals:18},networkId:622463,rpc:["https://622463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.atl.network"],shortName:"atlas-testnet",slug:"atlas",testnet:!0,title:"Atlas Testnet"},aBt={chain:"BRNKC",chainId:641230,explorers:[{name:"brnkscan",url:"https://brnkscan.bearnetwork.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Mainnet",nativeCurrency:{name:"Bear Network Chain Native Token",symbol:"BRNKC",decimals:18},networkId:641230,rpc:["https://641230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-mainnet.bearnetwork.net","https://brnkc-mainnet1.bearnetwork.net"],shortName:"BRNKC",slug:"bear-network-chain",testnet:!1},rBt={chain:"ALL",chainId:651940,explorers:[{name:"Alltra SmartChain Explorer",url:"https://alltra.global",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibqe2mgiqezi24sx272kunqt6pv7uzxhpkxuobvpbsptce3q6nn5i",width:1e3,height:1e3,format:"png"},infoURL:"https://alltra.world",name:"ALL Mainnet",nativeCurrency:{name:"ALL",symbol:"ALL",decimals:18},networkId:651940,rpc:["https://651940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.alltra.global"],shortName:"ALL",slug:"all",testnet:!1},fBt={chain:"Xai Mainnet",chainId:660279,explorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWFbhjKw7zfsK5Rd9YxZgJgS43fpySPozjhYc98ibbEV/xai-icon.png",width:1024,height:1024,format:"png"},infoURL:"https://xai.games/",name:"Xai Mainnet",nativeCurrency:{name:"XAI token",symbol:"XAI",decimals:18},networkId:660279,redFlags:[],rpc:["https://660279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xai-chain.net/rpc/xai79df8614da076af58f199126a07db","https://xai-chain.net/rpc"],shortName:"xai",slug:"xai",testnet:!1},iBt={chain:"OCASH",chainId:660868,explorers:[],faucets:[],features:[],icon:{url:"https://ipfs.io/ipfs/QmbwuoezvkfZBY9nrZ65n3iHGyhJG6yDRyhPjqE6k3uCiM",width:350,height:350,format:"PNG"},infoURL:"https://www.overline.network",name:"Ocash testnet",nativeCurrency:{name:"OCASH",symbol:"OCASH",decimals:18},networkId:660868,redFlags:[],rpc:[],shortName:"ocash",slug:"ocash-testnet",testnet:!0},sBt={chain:"Vision-Vpioneer",chainId:666666,explorers:[],faucets:["https://vpioneerfaucet.visionscan.org"],infoURL:"https://visionscan.org",name:"Vision - Vpioneer Test Chain",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:666666,rpc:["https://666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vpioneer.infragrid.v.network/ethereum/compatible"],shortName:"vpioneer",slip44:1,slug:"vision-vpioneer-test-chain",testnet:!0},oBt={chain:"Hela",chainId:666888,explorers:[{name:"Hela Official Runtime Testnet Explorer",url:"https://testnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.helachain.com"],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Testnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:666888,rpc:["https://666888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.helachain.com"],shortName:"hela-testnet",slip44:1,slug:"hela-official-runtime-testnet",testnet:!0},cBt={chain:"WON",chainId:686868,explorers:[{name:"Won Explorer",url:"https://scan.wonnetwork.org",standard:"EIP3091"}],faucets:["https://faucet.wondollars.org"],icon:{url:"ipfs://QmQ6mjKWJQ5WmFiJzcqJnuHWZK53nQYJB1SnMQZEqgr74h",width:250,height:250,format:"png"},infoURL:"https://wonnetwork.org",name:"Won Network",nativeCurrency:{name:"Won",symbol:"WON",decimals:18},networkId:686868,rpc:["https://686868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.wonnetwork.org"],shortName:"WonChain",slug:"won-network",testnet:!1},dBt={chain:"Galadriel",chainId:696969,explorers:[{name:"Galadriel Explorer",url:"https://explorer.galadriel.com",standard:"none"}],faucets:["https://docs.galadriel.com/faucet"],infoURL:"https://galadriel.com",name:"Galadriel Devnet",nativeCurrency:{name:"Galadriel Devnet token",symbol:"GAL",decimals:18},networkId:696969,rpc:["https://696969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.galadriel.com"],shortName:"galadriel-devnet",slug:"galadriel-devnet",testnet:!1},lBt={chain:"Avalanche",chainId:710420,explorers:[{name:"TILTYARD Explorer",url:"https://subnets.avax.network/tiltyard",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tiltyard",nativeCurrency:{name:"Tiltyard Token",symbol:"TILT",decimals:18},networkId:710420,redFlags:[],rpc:["https://710420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/mainnet/rpc"],shortName:"Tiltyard",slug:"tiltyard",testnet:!1},uBt={chain:"Sei",chainId:713715,explorers:[{name:"Seistream",url:"https://seistream.app",standard:"none"},{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://sei-faucet.nima.enterprises","https://sei-evm.faucetme.pro"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:713715,rpc:["https://713715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-arctic-1.sei-apis.com","https://evm-rpc.arctic-1.seinetwork.io"],shortName:"sei-devnet",slug:"sei-devnet",testnet:!1},pBt={chain:"ERAM",chainId:721529,explorers:[{name:"Eramscan",url:"https://eramscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyu82MtGVLYMwCc5rseNXDV12V3UUX7iNq8q86SyeaPh",width:258,height:258,format:"png"},infoURL:"http://doc.eramscan.com/",name:"ERAM Mainnet",nativeCurrency:{name:"ERAM",symbol:"ERAM",decimals:18},networkId:721529,rpc:["https://721529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eramscan.com"],shortName:"ERAM",slug:"eram",testnet:!1},hBt={chain:"ETH",chainId:743111,explorers:[{name:"blockscout",url:"https://testnet.explorer.hemi.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:743111,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://743111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.hemi.network/rpc"],shortName:"hemi-sep",slug:"hemi-sepolia",status:"active",testnet:!0},mBt={chain:"BRNKCTEST",chainId:751230,explorers:[{name:"brnktestscan",url:"https://brnktest-scan.bearnetwork.net",standard:"EIP3091"}],faucets:["https://faucet.bearnetwork.net"],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Testnet",nativeCurrency:{name:"Bear Network Chain Testnet Token",symbol:"tBRNKC",decimals:18},networkId:751230,rpc:["https://751230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-test.bearnetwork.net"],shortName:"BRNKCTEST",slip44:1,slug:"bear-network-chain-testnet",testnet:!0},bBt={chain:"MiexsSmartchain",chainId:761412,explorers:[{name:"Miexs Smartchain Explorer",url:"https://miexs.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic6tcc6swh5kzljwqnswj6rlemcm7n6ra7xkgttwv5v3fv7ozj5zu",width:1500,height:1500,format:"png"},infoURL:"https://miexs.com",name:"Miexs Smartchain",nativeCurrency:{name:"Miexs Coin",symbol:"MIX",decimals:18},networkId:761412,rpc:["https://761412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.miexs.com"],shortName:"Miexs",slug:"miexs-smartchain",testnet:!1},yBt={chain:"Avalanche",chainId:764984,explorers:[{name:"Lamina1 Test Explorer",url:"https://subnets-test.avax.network/lamina1tes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Testnet",nativeCurrency:{name:"Lamina1 Testnet Token",symbol:"L1T",decimals:18},networkId:764984,redFlags:[],rpc:["https://764984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1tes/testnet/rpc"],shortName:"Lamina1 Testnet",slip44:1,slug:"lamina1-testnet",testnet:!0},gBt={chain:"Avalanche",chainId:767368,explorers:[{name:"Lamina1 Identity Testnet Explorer",url:"https://subnets-test.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity Testnet",nativeCurrency:{name:"Lamina1 Identity Testnet Token",symbol:"L1IDT",decimals:18},networkId:767368,redFlags:[],rpc:["https://767368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/testnet/rpc"],shortName:"Lamina1 Identity Testnet",slip44:1,slug:"lamina1-identity-testnet",testnet:!0},vBt={chain:"EVMCC",chainId:776877,explorers:[{name:"Tanssi Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network",standard:"none"}],faucets:[],infoURL:"https://www.rmrk.app/",name:"Modularium",nativeCurrency:{name:"Modularium",symbol:"MDM",decimals:18},networkId:776877,rpc:["https://776877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network"],shortName:"mdlrm",slug:"modularium",testnet:!1},wBt={chain:"OCTA",chainId:800001,explorers:[{name:"blockscout",url:"https://explorer.octa.space",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVhezQHkqSZ5Tvtsw18giA1yBjV1URSsBQ7HenUh6p6oC",width:512,height:512,format:"png"},infoURL:"https://octa.space",name:"OctaSpace",nativeCurrency:{name:"OctaSpace",symbol:"OCTA",decimals:18},networkId:800001,rpc:["https://800001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octa.space","wss://rpc.octa.space"],shortName:"octa",slug:"octaspace",testnet:!1},TBt={chain:"BIZT Testnet",chainId:808080,explorers:[{name:"BIZ Smart Chain Testnet Explorer",url:"https://testnet.btscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmNnaDZRoMz9aoho35TGHBY5zD16P39cgPpw3z3jnkDHHB",width:104,height:104,format:"png"},infoURL:"https://www.biztoken.io/",name:"BIZ Smart Chain Testnet",nativeCurrency:{name:"tBIZT",symbol:"tBIZT",decimals:18},networkId:808080,rpc:["https://808080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bizex.io/"],shortName:"bizt-testnet",slip44:1,slug:"biz-smart-chain-testnet",testnet:!0},xBt={chain:"ETH",chainId:810180,explorers:[{name:"zkLink Nova Block Explorer",url:"https://explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810180,parent:{type:"L2",chain:"eip155-59144",bridges:[{url:"https://portal.zklink.io"}]},rpc:["https://810180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zklink.io","wss://rpc.zklink.io"],shortName:"zklink-nova",slip44:1,slug:"zklink-nova",testnet:!1},EBt={chain:"ETH",chainId:810181,explorers:[{name:"zkLink Nova Block Explorer",url:"https://sepolia.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810181,parent:{type:"L2",chain:"eip155-59141",bridges:[{url:"https://sepolia.portal.zklink.io"}]},rpc:["https://810181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zklink.io","wss://sepolia.rpc.zklink.io"],shortName:"zklink-nova-sepolia",slip44:1,slug:"zklink-nova-sepolia-testnet",testnet:!0},_Bt={chain:"ETH",chainId:810182,explorers:[{name:"zkLink Nova Block Explorer",url:"https://goerli.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Goerli Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810182,parent:{type:"L2",chain:"eip155-59140",bridges:[{url:"https://goerli.portal.zklink.io"}]},rpc:["https://810182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.rpc.zklink.io","wss://goerli.rpc.zklink.io"],shortName:"zklink-nova-goerli",slip44:1,slug:"zklink-nova-goerli-testnet",testnet:!0},ABt={chain:"Trust Smart Chain Testnet",chainId:820522,explorers:[{name:"tscscan",url:"https://testnet.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Testnet",nativeCurrency:{name:"TAS",symbol:"tTAS",decimals:18},networkId:820025,rpc:["https://820522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.tscscan.io/testrpc"],shortName:"tTSC",slug:"tsc-testnet",testnet:!0},IBt={chain:"CURVE",chainId:827431,explorers:[{name:"CURVE Mainnet",url:"https://curvescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTjV3TTR5aLb7fi7tjx8gcDvYtqBpusqhCSaznVxJ7NJg",width:150,height:150,format:"png"},infoURL:"https://curvescan.io",name:"CURVE Mainnet",nativeCurrency:{name:"Curve",symbol:"CURVE",decimals:18},networkId:827431,rpc:["https://827431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.curvescan.io"],shortName:"CURVEm",slug:"curve",testnet:!1},CBt={chain:"prm",chainId:839320,explorers:[{name:"Primal Network Testnet",url:"https://testnet-explorer.prmscan.org",standard:"EIP3091"}],faucets:["https://faucet.prmscan.org"],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Testnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:839320,rpc:["https://839320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.prmscan.org"],shortName:"prmtest",slug:"prm-testnet",testnet:!0},kBt={chain:"4GN",chainId:846e3,explorers:[],faucets:[],infoURL:"https://bloqs4good.com",name:"4GoodNetwork",nativeCurrency:{name:"APTA",symbol:"APTA",decimals:18},networkId:846e3,rpc:["https://846000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.deptofgood.com"],shortName:"bloqs4good",slug:"4goodnetwork",testnet:!1},SBt={chain:"EVMCC",chainId:855456,explorers:[{name:"Dodao Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network",standard:"EIP3091",icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"},infoURL:"https://dodao.dev/",name:"Dodao",nativeCurrency:{name:"Dodao",symbol:"DODAO",decimals:18},networkId:855456,rpc:["https://855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network"],shortName:"dodao",slug:"dodao",testnet:!1},RBt={chain:"BLX",chainId:879151,explorers:[{name:"BlocX Mainnet Explorer",url:"https://explorer.blxscan.com",standard:"none",icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"},infoURL:"https://www.blocxchain.org/",name:"BlocX Mainnet",nativeCurrency:{name:"BlocX",symbol:"BLX",decimals:18},networkId:879151,rpc:["https://879151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.blxscan.com/"],shortName:"blx",slug:"blocx",testnet:!1},MBt={chain:"REXX",chainId:888882,explorers:[{name:"REXX Mainnet Explorer",url:"https://rexxnetwork.com",standard:"EIP3091"}],faucets:[],infoURL:"https://rexxnetwork.com",name:"REXX Mainnet",nativeCurrency:{name:"REXX",symbol:"REXX",decimals:18},networkId:888882,rpc:["https://888882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rexxnetwork.com"],shortName:"REXX",slug:"rexx",testnet:!1,title:"REXX Mainnet"},BBt={chain:"Vision",chainId:888888,explorers:[{name:"Visionscan",url:"https://www.visionscan.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.v.network",name:"Vision - Mainnet",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:888888,rpc:["https://888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://infragrid.v.network/ethereum/compatible"],shortName:"vision",slip44:60,slug:"vision",testnet:!1},DBt={chain:"TWT",chainId:894538,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/thirdweb",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXDGoJKuuwQKzY1Y7ZhgULg8hcmveu6PVaDaYQzEjKwkQ/Thirdweb-Icon-Black-BG.png",width:512,height:512,format:"png"},name:"thirdweb test subnet",nativeCurrency:{name:"TWT",symbol:"TWT",decimals:18},networkId:894538,redFlags:[],rpc:["https://894538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thirdweb/testnet/rpc"],shortName:"twt",slug:"thirdweb-test-subnet",testnet:!0},PBt={chain:"PSC",chainId:9e5,explorers:[{name:"Posichain Explorer",url:"https://explorer.posichain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://posichain.org",name:"Posichain Mainnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:9e5,rpc:["https://900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.posichain.org","https://api.s0.posichain.org"],shortName:"psc-s0",slug:"posichain-shard-0",testnet:!1},LBt={chain:"PSC",chainId:91e4,explorers:[{name:"Posichain Explorer Testnet",url:"https://explorer-testnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Testnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:91e4,rpc:["https://910000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.t.posichain.org"],shortName:"psc-t-s0",slug:"posichain-testnet-shard-0",testnet:!0},FBt={chain:"RIA",chainId:912559,explorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org",standard:"EIP3091"}],faucets:["https://faucet.evm.dusk-3.devnet.astria.org/"],icon:{url:"ipfs://QmVbzZYXdVFY3uFaWQd7iSRtdM2UKWohj9fVqqEwxcw2RV",width:200,height:200,format:"png"},infoURL:"https://docs.astria.org",name:"Astria EVM Dusknet",nativeCurrency:{name:"RIA",symbol:"RIA",decimals:18},networkId:912559,rpc:["https://912559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evm.dusk-3.devnet.astria.org"],shortName:"ria-dev",slug:"astria-evm-dusknet",testnet:!1},NBt={chain:"Avalanche",chainId:914031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T1TS Testnet",nativeCurrency:{name:"QR0408T1TS Testnet Token",symbol:"HOK",decimals:18},networkId:914031,redFlags:[],rpc:["https://914031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t1ts/testnet/rpc"],shortName:"QR0408T1TS Testnet",slug:"qr0408t1ts-testnet",testnet:!0},OBt={chain:"Avalanche",chainId:918806,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0529T1TS",nativeCurrency:{name:"QR0529T1TS Token",symbol:"MCV",decimals:18},networkId:918806,redFlags:[],rpc:["https://918806.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0529t1ts/testnet/rpc"],shortName:"QR0529T1TS",slug:"qr0529t1ts",testnet:!0},UBt={chain:"Avalanche",chainId:919517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1TP",nativeCurrency:{name:"QR0508T1TP Token",symbol:"AHO",decimals:18},networkId:919517,redFlags:[],rpc:["https://919517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1tp/testnet/rpc"],shortName:"QR0508T1TP",slug:"qr0508t1tp",testnet:!0},HBt={chain:"PSC",chainId:92e4,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:92e4,rpc:["https://920000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.d.posichain.org"],shortName:"psc-d-s0",slug:"posichain-devnet-shard-0",testnet:!1},zBt={chain:"PSC",chainId:920001,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 1",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:920001,rpc:["https://920001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.d.posichain.org"],shortName:"psc-d-s1",slug:"posichain-devnet-shard-1",testnet:!1},WBt={chain:"Avalanche",chainId:922935,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0607t1ts",nativeCurrency:{name:"QR0607t1ts Token",symbol:"WAP",decimals:18},networkId:922935,redFlags:[],rpc:["https://922935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0607t1ts/testnet/rpc"],shortName:"QR0607t1ts",slug:"qr0607t1ts",testnet:!0},qBt={chain:"FNCY",chainId:923018,explorers:[{name:"fncy scan testnet",url:"https://fncyscan-testnet.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan-testnet.fncy.world",name:"FNCY Testnet",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:923018,rpc:["https://923018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-testnet-seed.fncy.world"],shortName:"tFNCY",slip44:1,slug:"fncy-testnet",testnet:!0},jBt={chain:"Avalanche",chainId:928010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T2TS Testnet",nativeCurrency:{name:"QR0408T2TS Testnet Token",symbol:"XYZ",decimals:18},networkId:928010,redFlags:[],rpc:["https://928010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t2ts/testnet/rpc"],shortName:"QR0408T2TS Testnet",slug:"qr0408t2ts-testnet",testnet:!0},GBt={chain:"Avalanche",chainId:929038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0215Y1MP",nativeCurrency:{name:"QR0215Y1MP Token",symbol:"QAT",decimals:18},networkId:929038,redFlags:[],rpc:["https://929038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0215y1mp/mainnet/rpc"],shortName:"QR0215Y1MP",slug:"qr0215y1mp",testnet:!1},KBt={chain:"Avalanche",chainId:933039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0422T1TS Testnet",nativeCurrency:{name:"QR0422T1TS Testnet Token",symbol:"DIF",decimals:18},networkId:933039,redFlags:[],rpc:["https://933039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0422t1ts/testnet/rpc"],shortName:"QR0422T1TS Testnet",slug:"qr0422t1ts-testnet",testnet:!0},QBt={chain:"Avalanche",chainId:933326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T2TS Testnet",nativeCurrency:{name:"QR0326T2TS Testnet Token",symbol:"XFT",decimals:18},networkId:933326,redFlags:[],rpc:[],shortName:"QR0326T2TS Testnet",slug:"qr0326t2ts-testnet",testnet:!0},VBt={chain:"Avalanche",chainId:934567,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0506T1TS",nativeCurrency:{name:"QR0506T1TS Token",symbol:"VPE",decimals:18},networkId:934567,redFlags:[],rpc:["https://934567.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0506t1ts/testnet/rpc"],shortName:"QR0506T1TS",slug:"qr0506t1ts",testnet:!0},YBt={chain:"Avalanche",chainId:939359,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0501T1TS",nativeCurrency:{name:"QR0501T1TS Token",symbol:"ZGM",decimals:18},networkId:939359,redFlags:[],rpc:["https://939359.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0501t1ts/testnet/rpc"],shortName:"QR0501T1TS",slug:"qr0501t1ts",testnet:!0},$Bt={chain:"Avalanche",chainId:943503,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TS",nativeCurrency:{name:"QR0520T1TS Token",symbol:"JQH",decimals:18},networkId:943503,redFlags:[],rpc:["https://943503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1ts/testnet/rpc"],shortName:"QR0520T1TS",slug:"qr0520t1ts",testnet:!0},JBt={chain:"Avalanche",chainId:946751,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0214Y1P",nativeCurrency:{name:"QR0214Y1P Token",symbol:"QAT",decimals:18},networkId:946751,redFlags:[],rpc:["https://946751.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0214y1p/testnet/rpc"],shortName:"QR0214Y1P",slug:"qr0214y1p",testnet:!0},XBt={chain:"Avalanche",chainId:950375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0209Y1S",nativeCurrency:{name:"QR0209Y1S Token",symbol:"XPU",decimals:18},networkId:950375,redFlags:[],rpc:["https://950375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0209y1s/testnet/rpc"],shortName:"QR0209Y1S",slug:"qr0209y1s",testnet:!0},ZBt={chain:"Avalanche",chainId:951083,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205Y1S",nativeCurrency:{name:"QR0205Y1S Token",symbol:"MYO",decimals:18},networkId:951083,redFlags:[],rpc:["https://951083.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205y1s/testnet/rpc"],shortName:"QR0205Y1S",slug:"qr0205y1s",testnet:!0},eDt={chain:"JONO12",chainId:955081,explorers:[{name:"JONO12 Explorer",url:"https://subnets-test.avax.network/jono12",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono12 Subnet",nativeCurrency:{name:"Jono12 Token",symbol:"JONO",decimals:18},networkId:955081,rpc:["https://955081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono12/testnet/rpc"],shortName:"jono12",slug:"jono12-subnet",testnet:!0},tDt={chain:"Eluvio",chainId:955305,explorers:[{name:"blockscout",url:"https://explorer.eluv.io",standard:"EIP3091"}],faucets:[],infoURL:"https://eluv.io",name:"Eluvio Content Fabric",nativeCurrency:{name:"ELV",symbol:"ELV",decimals:18},networkId:955305,rpc:["https://955305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://host-76-74-28-226.contentfabric.io/eth/","https://host-76-74-28-232.contentfabric.io/eth/","https://host-76-74-29-2.contentfabric.io/eth/","https://host-76-74-29-8.contentfabric.io/eth/","https://host-76-74-29-34.contentfabric.io/eth/","https://host-76-74-29-35.contentfabric.io/eth/","https://host-154-14-211-98.contentfabric.io/eth/","https://host-154-14-192-66.contentfabric.io/eth/","https://host-60-240-133-202.contentfabric.io/eth/","https://host-64-235-250-98.contentfabric.io/eth/"],shortName:"elv",slip44:1011,slug:"eluvio-content-fabric",testnet:!1},nDt={chain:"Avalanche",chainId:958798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0513T1TS",nativeCurrency:{name:"QR0513T1TS Token",symbol:"PME",decimals:18},networkId:958798,redFlags:[],rpc:["https://958798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0513t1ts/testnet/rpc"],shortName:"QR0513T1TS",slug:"qr0513t1ts",testnet:!0},aDt={chain:"Avalanche",chainId:959009,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1MP",nativeCurrency:{name:"QR0508T1MP Token",symbol:"AHO",decimals:18},networkId:959009,redFlags:[],rpc:["https://959009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1mp/mainnet/rpc"],shortName:"QR0508T1MP",slug:"qr0508t1mp",testnet:!1},rDt={chain:"Avalanche",chainId:961256,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T4TS Testnet",nativeCurrency:{name:"QR0326T4TS Testnet Token",symbol:"HTF",decimals:18},networkId:961256,redFlags:[],rpc:["https://961256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0326t4ts/testnet/rpc"],shortName:"QR0326T4TS Testnet",slug:"qr0326t4ts-testnet",testnet:!0},fDt={chain:"Avalanche",chainId:970066,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0522T1TS",nativeCurrency:{name:"QR0522T1TS Token",symbol:"BUL",decimals:18},networkId:970066,redFlags:[],rpc:["https://970066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0522t1ts/testnet/rpc"],shortName:"QR0522T1TS",slug:"qr0522t1ts",testnet:!0},iDt={chain:"Avalanche",chainId:976517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0507Y1TS",nativeCurrency:{name:"QR0507Y1TS Token",symbol:"SQR",decimals:18},networkId:976517,redFlags:[],rpc:["https://976517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0507y1ts/testnet/rpc"],shortName:"QR0507Y1TS",slug:"qr0507y1ts",testnet:!0},sDt={chain:"treasure",chainId:978657,explorers:[{name:"treasurescan",url:"https://testnet.treasurescan.io",standard:"EIP3091",icon:{url:"ipfs://Qmd532nWBVgUJy8m9ajGKwb2oaFPdnB7Xngepge2sarNBm",width:24,height:24,format:"svg"}},{name:"Treasurescan",url:"https://testnet.treasurescan.io/",standard:"EIP3091",icon:{url:"ipfs://QmbzZk23owb7grDEbEJLuxgUAqQVcHmdjsEkkCD7E9C5R9/Treasure_Primary_Icon%20-%20Karel%20Vuong.png",width:512,height:512,format:"png"}}],faucets:["https://portal.treasure.lol/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQYRpJAMyPt1DKz1iAuseX3puBZYmdGgFeaZCFDPhixXp",width:512,height:512,format:"svg"},infoURL:"https://portal.treasure.lol",name:"Treasure Ruby",nativeCurrency:{name:"Testnet MAGIC",symbol:"MAGIC",decimals:18},networkId:978657,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.treasure.lol/bridge"}]},redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slip44:1,slug:"treasure-ruby",testnet:!0},oDt={chain:"Avalanche",chainId:978993,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318T1TS Testnet",nativeCurrency:{name:"QR0318T1TS Testnet Token",symbol:"OSF",decimals:18},networkId:978993,redFlags:[],rpc:["https://978993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318t1ts/testnet/rpc"],shortName:"QR0318T1TS Testnet",slug:"qr0318t1ts-testnet",testnet:!0},cDt={chain:"Avalanche",chainId:980892,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0530T1TS",nativeCurrency:{name:"QR0530T1TS Token",symbol:"OXQ",decimals:18},networkId:980892,redFlags:[],rpc:["https://980892.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0530t1ts/testnet/rpc"],shortName:"QR0530T1TS",slug:"qr0530t1ts",testnet:!0},dDt={chain:"Avalanche",chainId:982558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0429T1TS",nativeCurrency:{name:"QR0429T1TS Token",symbol:"EXT",decimals:18},networkId:982558,redFlags:[],rpc:["https://982558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0429t1ts/testnet/rpc"],shortName:"QR0429T1TS",slug:"qr0429t1ts",testnet:!0},lDt={chain:"Forma",chainId:984122,explorers:[{name:"blockscout",url:"https://explorer.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984122,rpc:["https://984122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.forma.art"],shortName:"forma",slug:"forma",testnet:!1},uDt={chain:"Forma",chainId:984123,explorers:[{name:"blockscout",url:"https://explorer.sketchpad-1.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma Sketchpad",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984123,rpc:["https://984123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sketchpad-1.forma.art"],shortName:"sketchpad",slug:"forma-sketchpad",testnet:!1},pDt={chain:"Ecrox Chain",chainId:988207,explorers:[{name:"Ecrox Chain Explorer",url:"https://ecroxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibnqdlwgotu4hwx6oeu4ye3huobr3eaiuvv55n5tolyxya2q7edmq",width:300,height:300,format:"png"},infoURL:"https://ecroxcoin.io/",name:"Ecrox Chain Mainnet",nativeCurrency:{name:"ECROX COIN",symbol:"ECROX",decimals:18},networkId:988207,rpc:["https://988207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ecroxscan.com/"],shortName:"ecrox",slug:"ecrox-chain",testnet:!1},hDt={chain:"Avalanche",chainId:991424,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0213Y1S",nativeCurrency:{name:"QR0213Y1S Token",symbol:"GCH",decimals:18},networkId:991424,redFlags:[],rpc:["https://991424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0213y1s/testnet/rpc"],shortName:"QR0213Y1S",slug:"qr0213y1s",testnet:!0},mDt={chain:"Avalanche",chainId:993535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qr1120y1",nativeCurrency:{name:"qr1120y1 Token",symbol:"LMK",decimals:18},networkId:993535,redFlags:[],rpc:["https://993535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1120y1/testnet/rpc"],shortName:"qr1120y1",slug:"qr1120y1",testnet:!0},bDt={chain:"Avalanche",chainId:994504,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0523y1ts",nativeCurrency:{name:"qr0523y1ts Token",symbol:"QHZ",decimals:18},networkId:994504,redFlags:[],rpc:["https://994504.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523y1ts/testnet/rpc"],shortName:"qr0523y1ts",slug:"qr0523y1ts",testnet:!0},yDt={chain:"Avalanche",chainId:995201,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0426T1TS",nativeCurrency:{name:"QR0426T1TS Token",symbol:"XOF",decimals:18},networkId:995201,redFlags:[],rpc:["https://995201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0426t1ts/testnet/rpc"],shortName:"QR0426T1TS",slug:"qr0426t1ts",testnet:!0},gDt={chain:"Avalanche",chainId:996699,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0521T1TS",nativeCurrency:{name:"QR0521T1TS Token",symbol:"ATH",decimals:18},networkId:996699,redFlags:[],rpc:["https://996699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0521t1ts/testnet/rpc"],shortName:"QR0521T1TS",slug:"qr0521t1ts",testnet:!0},vDt={chain:"Supernet Testnet",chainId:998899,explorers:[{name:"supernet-testnet-explorer",url:"https://testnet-explorer.supernet.chaingames.io",standard:"EIP3091"}],faucets:["https://faucet.chaingames.io"],name:"Supernet Testnet",nativeCurrency:{name:"CHAIN",symbol:"CHAIN",decimals:18},networkId:998899,rpc:["https://998899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.supernet.chaingames.io/"],shortName:"supernetchain",slip44:1,slug:"supernet-testnet",testnet:!0,title:"Supernet Testnet"},wDt={chain:"Avalanche",chainId:999511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0227T1TS",nativeCurrency:{name:"QR0227T1TS Token",symbol:"YFL",decimals:18},networkId:999511,redFlags:[],rpc:["https://999511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0227t1ts/testnet/rpc"],shortName:"QR0227T1TS",slug:"qr0227t1ts",testnet:!0},TDt={chain:"AmChain",chainId:999999,explorers:[{name:"AMCAmChain explorer",url:"https://explorer.amchain.net",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmb6VAhhtaJmdaW1j7PAjxaLju1V24PPDFBdXtebyTSfsZ",width:200,height:200,format:"png"},infoURL:"https://hewe.io/",name:"AmChain",nativeCurrency:{name:"AMC",symbol:"AMC",decimals:18},networkId:999999,rpc:["https://999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amchain.net"],shortName:"AMC",slug:"amchain",testnet:!1,title:"AMC"},xDt={chain:"NetMind",chainId:1100789,explorers:[{name:"NetMind Testnet Explorer",url:"https://testbrower.protago-dev.com",standard:"EIP3091",icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"},infoURL:"https://netmind.ai",name:"Netmind Chain Testnet",nativeCurrency:{name:"NMT",symbol:"NMT",decimals:18},networkId:1100789,rpc:["https://1100789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testblock.protago-dev.com"],shortName:"nmtTest",slug:"netmind-chain-testnet",testnet:!0,title:"NetMind Chain Testnet"},EDt={chain:"TILTYARD",chainId:1127469,explorers:[{name:"TILTYARD Explorer",url:"http://testnet-explorer.tiltyard.gg",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Tiltyard Subnet",nativeCurrency:{name:"Tiltyard Token",symbol:"TILTG",decimals:18},networkId:1127469,rpc:["https://1127469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/testnet/rpc"],shortName:"tiltyard",slug:"tiltyard-subnet",testnet:!0},_Dt={chain:"ETH",chainId:1261120,explorers:[{name:"Blockscout zKatana chain explorer",url:"https://zkatana.blockscout.com",standard:"EIP3091"},{name:"Startale zKatana chain explorer",url:"https://zkatana.explorer.startale.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"zKatana",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1261120,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://portal.astar.network"},{url:"https://bridge.zkatana.gelato.digital"}]},rpc:["https://1261120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkatana.gelato.digital","https://rpc.startale.com/zkatana","https://astar-zkatana.drpc.org","wss://astar-zkatana.drpc.org"],shortName:"azktn",slug:"zkatana",status:"active",testnet:!0,title:"Astar zkEVM Testnet zKatana"},ADt={chain:"ETHO",chainId:1313114,explorers:[{name:"blockscout",url:"https://explorer.ethoprotocol.com",standard:"none"}],faucets:[],infoURL:"https://ethoprotocol.com",name:"Etho Protocol",nativeCurrency:{name:"Etho Protocol",symbol:"ETHO",decimals:18},networkId:1313114,rpc:["https://1313114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethoprotocol.com"],shortName:"etho",slip44:1313114,slug:"etho-protocol",testnet:!1},IDt={chain:"XERO",chainId:1313500,explorers:[],faucets:[],infoURL:"https://xerom.org",name:"Xerom",nativeCurrency:{name:"Xerom Ether",symbol:"XERO",decimals:18},networkId:1313500,rpc:["https://1313500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xerom.org"],shortName:"xero",slug:"xerom",testnet:!1},CDt={chain:"ETH",chainId:1337702,explorers:[{name:"kintsugi explorer",url:"https://explorer.kintsugi.themerge.dev",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=1337702&address=${ADDRESS}","https://faucet.kintsugi.themerge.dev"],infoURL:"https://kintsugi.themerge.dev/",name:"Kintsugi",nativeCurrency:{name:"kintsugi Ethere",symbol:"kiETH",decimals:18},networkId:1337702,rpc:["https://1337702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kintsugi.themerge.dev"],shortName:"kintsugi",slug:"kintsugi",testnet:!0,title:"Kintsugi merge testnet"},kDt={chain:"ETH",chainId:1337802,explorers:[{name:"Kiln Explorer",url:"https://explorer.kiln.themerge.dev",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.kiln.themerge.dev","https://kiln-faucet.pk910.de","https://kilnfaucet.com"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://kiln.themerge.dev/",name:"Kiln",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337802,redFlags:[],rpc:["https://1337802.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kiln.themerge.dev"],shortName:"kiln",slug:"kiln",status:"deprecated",testnet:!1},SDt={chain:"ETH",chainId:1337803,explorers:[{name:"Zhejiang Explorer",url:"https://zhejiang.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.zhejiang.ethpandaops.io","https://zhejiang-faucet.pk910.de"],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://zhejiang.ethpandaops.io",name:"Zhejiang",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337803,rpc:["https://1337803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zhejiang.ethpandaops.io"],shortName:"zhejiang",slug:"zhejiang",testnet:!0},RDt={chain:"Automata Testnet",chainId:1398243,explorers:[],faucets:[],icon:{url:"ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",width:1676,height:1600,format:"png"},infoURL:"https://ata.network",name:"Automata Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1398243,rpc:[],shortName:"automatatest",slug:"automata-testnet",testnet:!0},MDt={chain:"XRPL",chainId:1440002,explorers:[{name:"XRP Ledger Explorer",url:"https://evm-sidechain.xrpl.org/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreidmgxjwjircegjkvysgz25b2ukw6h7axoirkxv6idupzzqsdrljgy",width:780,height:680,format:"png"},name:"XRP Ledger EVM Devnet Sidechain",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:1440002,redFlags:[],rpc:["https://1440002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-sidechain.xrpl.org"],shortName:"XRPL-EVM-Devnet-Sidechain",slug:"xrp-ledger-evm-devnet-sidechain",testnet:!0},BDt={chain:"ETH",chainId:1612127,explorers:[{name:"PlayFi Block Explorer",url:"https://albireo-explorer.playfi.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Albireo Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1612127,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.playfi.ai/bridge"}]},rpc:["https://1612127.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://albireo-rpc.playfi.ai"],shortName:"alberio",slip44:1,slug:"playfi-albireo-testnet",testnet:!0},DDt={chain:"Xterio Testnet",chainId:1637450,explorers:[{name:"Xterio Testnet Explorer",url:"https://testnet.xterscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://xter.io",name:"Xterio Testnet",nativeCurrency:{name:"tBNB",symbol:"tBNB",decimals:18},networkId:1637450,rpc:["https://1637450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xterio-testnet.alt.technology"],shortName:"xteriotest",slug:"xterio-testnet",testnet:!0},PDt={chain:"ETH",chainId:1731313,explorers:[],faucets:[],name:"Turkey Demo Dev",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1731313,rpc:["https://1731313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devchain-poa.huabeizhenxuan.com"],shortName:"TDD",slug:"turkey-demo-dev",testnet:!1},LDt={chain:"DeBank",chainId:2021398,explorers:[{name:"DeBank Chain Explorer",url:"https://explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:2021398,rpc:["https://2021398.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.testnet.debank.com"],shortName:"dbk",slip44:1,slug:"debank-testnet",testnet:!0},FDt={chain:"Plian",chainId:2099156,explorers:[{name:"piscan",url:"https://piscan.plian.org/pchain",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Mainnet Main",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:2099156,rpc:["https://2099156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/pchain"],shortName:"plian-mainnet",slug:"plian-main",testnet:!1},NDt={chain:"Optimism",chainId:2125031,explorers:[{name:"Bubs Sepolia Explorer",url:"https://bubs-sepolia.explorer.caldera.xyz/",standard:"EIP1559",icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"}}],faucets:["https://bubs-sepolia.hub.caldera.xyz/"],features:[],icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubs-sepolia.hub.caldera.xyz/",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2125031,redFlags:[],rpc:["https://2125031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bubs-sepolia.rpc.caldera.xyz/http","wss://bubs-sepolia.rpc.caldera.xyz/ws"],shortName:"Bubs",slug:"bubs-testnet-bubs",testnet:!0},ODt={chain:"PlatON",chainId:2203181,explorers:[{name:"PlatON explorer",url:"https://devnetscan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet Deprecated",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi2.platon.network/rpc","wss://devnetopenapi2.platon.network/ws"],shortName:"platondev",slip44:1,slug:"platon-dev-testnet-deprecated",status:"deprecated",testnet:!0},UDt={chain:"PlatON",chainId:2206132,explorers:[{name:"PlatON explorer",url:"https://devnet2scan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet2",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2206132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet2openapi.platon.network/rpc","wss://devnet2openapi.platon.network/ws"],shortName:"platondev2",slip44:1,slug:"platon-dev-testnet2",testnet:!0},HDt={chain:"DPU",chainId:2611555,explorers:[],faucets:[],name:"DPU Chain",nativeCurrency:{name:"DGC",symbol:"DGC",decimals:18},networkId:2611555,rpc:["https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sc-rpc.dpu.ac.th"],shortName:"DPU",slug:"dpu-chain",testnet:!1},zDt={chain:"Sahara",chainId:3132023,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Network",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:3132023,rpc:["https://3132023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.saharalabs.ai"],shortName:"sahara",slug:"saharaai-network",testnet:!1},WDt={chain:"FIL",chainId:3141592,explorers:[],faucets:["https://faucet.butterfly.fildev.network"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Butterfly testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141592,rpc:[],shortName:"filecoin-butterfly",slip44:1,slug:"filecoin-butterfly-testnet",status:"incubating",testnet:!0},qDt={chain:"ETH",chainId:3397901,explorers:[{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3397901,rpc:["https://3397901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://funki-testnet.alt.technology"],shortName:"funkisepolia",slug:"funki-sepolia-sandbox",testnet:!0},jDt={chain:"Manta Pacific",chainId:3441005,explorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Testnet",nativeCurrency:{name:"Manta",symbol:"MANTA",decimals:18},networkId:3441005,rpc:["https://3441005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://manta-testnet.calderachain.xyz/http","https://manta-pacific-testnet.drpc.org","wss://manta-pacific-testnet.drpc.org"],shortName:"mantaTestnet",slip44:1,slug:"manta-pacific-testnet",testnet:!0},GDt={chain:"Manta Pacific",chainId:3441006,explorers:[{name:"manta-testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3441006,rpc:["https://3441006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.sepolia-testnet.manta.network/http"],shortName:"mantaSepoliaTestnet",slip44:1,slug:"manta-pacific-sepolia-testnet",testnet:!0},KDt={chain:"ETH",chainId:4000003,explorers:[{name:"blockscout",url:"https://zero-explorer.alt.technology",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Zero Gas Network",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:4000003,rpc:["https://4000003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zero.alt.technology"],shortName:"alt-zerogas",slug:"altlayer-zero-gas-network",testnet:!1},QDt={chain:"WCal",chainId:4281033,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://caldera.xyz/",name:"Worlds Caldera",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4281033,rpc:["https://4281033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://worlds-test.calderachain.xyz/http"],shortName:"worldscal",slug:"worlds-caldera",testnet:!0},VDt={chain:"NumBlock",chainId:5112023,explorers:[{name:"NumBlock Explorer",url:"https://mainnet.numblock.org",standard:"none",icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"},infoURL:"https://numblock.org",name:"NumBlock Chain",nativeCurrency:{name:"NUMB Token",symbol:"NUMB",decimals:18},networkId:5112023,rpc:["https://5112023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.numblock.org"],shortName:"NUMB",slug:"numblock-chain",testnet:!1},YDt={chain:"ETH",chainId:5151706,explorers:[{name:"Explorer",url:"https://explorer.lootchain.com/",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://adventuregold.org/",name:"Loot Chain Mainnet",nativeCurrency:{name:"AGLD",symbol:"AGLD",decimals:18},networkId:5151706,redFlags:[],rpc:["https://5151706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lootchain.com/http "],shortName:"AGLD",slug:"loot-chain",testnet:!0},$Dt={chain:"MXC zkEVM",chainId:5167003,explorers:[{name:"MXC Wannsee zkEVM Testnet",url:"https://wannsee-explorer.mxc.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://wannsee.mxc.com/docs/intro",name:"MXC Wannsee zkEVM Testnet",nativeCurrency:{name:"MXC Wannsee zkEVM Testnet",symbol:"MXC",decimals:18},networkId:5167003,rpc:["https://5167003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wannsee-rpc.mxc.com"],shortName:"MXCdiscontinued",slip44:1,slug:"mxc-wannsee-zkevm-testnet",testnet:!0},JDt={chain:"MXC zkEVM",chainId:5167004,explorers:[{name:"Moonchain Geneva Testnet",url:"https://geneva-explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"Moonchain Geneva Testnet",nativeCurrency:{name:"Moonchain Geneva Testnet",symbol:"MXC",decimals:18},networkId:5167004,rpc:["https://5167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geneva-rpc.moonchain.com"],shortName:"MXC",slip44:1,slug:"moonchain-geneva-testnet",testnet:!0},XDt={chain:"Electroneum",chainId:5201420,explorers:[{name:"blockscout",url:"https://blockexplorer.thesecurityteam.rocks",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Testnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:5201420,rpc:["https://5201420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.electroneum.com"],shortName:"etn-testnet",slip44:1,slug:"electroneum-testnet",testnet:!0},ZDt={chain:"REACT",chainId:5318008,explorers:[{name:"reactscan",url:"https://kopli.reactscan.net",standard:"none"}],faucets:["https://dev.reactive.network/docs/kopli-testnet#faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZewyubd3zC17pmmGbjix6gFsppYpLsP3ntu3aB7rCJmW",width:800,height:800,format:"png"},infoURL:"https://reactive.network",name:"Reactive Kopli",nativeCurrency:{name:"Kopli React",symbol:"REACT",decimals:18},networkId:5318008,rpc:["https://5318008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kopli-rpc.reactive.network","http://kopli-rpc.rkt.ink"],shortName:"kreact",slug:"reactive-kopli",testnet:!0,title:"Reactive Network Testnet Kopli"},ePt={chain:"Imversed",chainId:5555555,explorers:[{name:"Imversed EVM explorer (Blockscout)",url:"https://txe.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-c.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Mainnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555555,rpc:["https://5555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.imversed.network","https://ws-jsonrpc.imversed.network"],shortName:"imversed",slug:"imversed",testnet:!1},tPt={chain:"Imversed",chainId:5555558,explorers:[{name:"Imversed EVM Explorer (Blockscout)",url:"https://txe-test.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-t.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Testnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555558,rpc:["https://5555558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.imversed.network","https://ws-jsonrpc-test.imversed.network"],shortName:"imversed-testnet",slip44:1,slug:"imversed-testnet",testnet:!0},nPt={chain:"ETH",chainId:6038361,explorers:[{name:"Blockscout zKyoto explorer",url:"https://astar-zkyoto.blockscout.com",standard:"EIP3091"},{name:"Astar zkEVM Testnet zKyoto",url:"https://zkyoto.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zKyoto",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:6038361,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},redFlags:[],rpc:["https://6038361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/zkyoto","https://rpc.zkyoto.gelato.digital"],shortName:"azkyt",slug:"astar-zkyoto",testnet:!0,title:"Astar zkEVM Testnet zKyoto"},aPt={chain:"Safe(AnWang)",chainId:6666665,explorers:[{name:"Safe(AnWang) Explorer",url:"http://safe4.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Mainnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666665,rpc:["https://6666665.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anwang.com"],shortName:"SafeMainnet",slug:"safe-anwang",testnet:!1},rPt={chain:"Safe(AnWang)",chainId:6666666,explorers:[{name:"Safe(AnWang) Testnet Explorer",url:"http://safe4-testnet.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Testnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666666,rpc:["https://6666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.anwang.com"],shortName:"SafeTestnet",slug:"safe-anwang-testnet",testnet:!0},fPt={chain:"Saakuru",chainId:7225878,explorers:[{name:"saakuru-explorer",url:"https://explorer.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7225878,rpc:["https://7225878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.saakuru.network"],shortName:"saakuru",slug:"saakuru",testnet:!1},iPt={chain:"VSL",chainId:7355310,explorers:[{name:"openvessel-mainnet",url:"https://mainnet-explorer.openvessel.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmeknNzGCZXQK7egwfwyxQan7Lw8bLnqYsyoEgEbDNCzJX",width:600,height:529,format:"png"},infoURL:"https://www.openvessel.io",name:"OpenVessel",nativeCurrency:{name:"Vessel ETH",symbol:"VETH",decimals:18},networkId:7355310,rpc:["https://7355310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-external.openvessel.io"],shortName:"vsl",slug:"openvessel",testnet:!1},sPt={chain:"QOM",chainId:7668378,explorers:[{name:"QL1 Testnet Explorer",url:"https://testnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:["https://faucet.qom.one"],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1 Testnet",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:7668378,rpc:["https://7668378.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.qom.one"],shortName:"tqom",slip44:1,slug:"ql1-testnet",status:"incubating",testnet:!0},oPt={chain:"MUSIC",chainId:7762959,explorers:[],faucets:[],infoURL:"https://musicoin.tw",name:"Musicoin",nativeCurrency:{name:"Musicoin",symbol:"MUSIC",decimals:18},networkId:7762959,rpc:["https://7762959.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mewapi.musicoin.tw"],shortName:"music",slip44:184,slug:"musicoin",testnet:!1},Qse={chain:"ETH",chainId:7777777,explorers:[{name:"Zora Network Explorer",url:"https://explorer.zora.energy",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},infoURL:"https://zora.energy",name:"Zora",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7777777,redFlags:[],rpc:["https://7777777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zora.energy/"],shortName:"zora",slug:"zora",testnet:!1},cPt={chain:"Plian",chainId:8007736,explorers:[{name:"piscan",url:"https://piscan.plian.org/child_0",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Mainnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:8007736,parent:{type:"L2",chain:"eip155-2099156"},rpc:["https://8007736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/child_0"],shortName:"plian-mainnet-l2",slug:"plian-subchain-1",testnet:!1},dPt={chain:"tFHE",chainId:8008135,explorers:[{name:"Fhenix Helium Explorer (Blockscout)",url:"https://explorer.helium.fhenix.zone",standard:"EIP3091"}],faucets:["https://get-helium.fhenix.zone"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.fhenix.io",name:"Fhenix Helium",nativeCurrency:{name:"tFHE",symbol:"tFHE",decimals:18},networkId:8008135,rpc:["https://8008135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.helium.fhenix.zone"],shortName:"fhe-helium",slug:"fhenix-helium",testnet:!1},lPt={chain:"Hokum",chainId:8080808,explorers:[{name:"Hokum Explorer",url:"https://explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8080808,rpc:["https://8080808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hokum.gg"],shortName:"hokum",slug:"hokum",testnet:!1},uPt={chain:"Waterfall Testnet8",chainId:8601152,explorers:[],faucets:["https://faucet.testnet8.waterfall.network"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall 8 Test Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:8601152,rpc:["https://8601152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet8.waterfall.network/"],shortName:"waterfall",slug:"waterfall-8-test-network",testnet:!0},pPt={chain:"HAPchain",chainId:8794598,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:8794598,rpc:["https://8794598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.hap.land"],shortName:"hap",slug:"hapchain",testnet:!1},hPt={chain:"Quarix",chainId:8888881,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix Testnet",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888881,rpc:[],shortName:"quarix-testnet",slip44:1,slug:"quarix-testnet",status:"incubating",testnet:!0},mPt={chain:"Quarix",chainId:8888888,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888888,rpc:[],shortName:"quarix",slug:"quarix",status:"incubating",testnet:!1},bPt={chain:"XCAP",chainId:9322252,explorers:[{name:"blockscout",url:"https://xcap-mainnet.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"XCAP",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322252,rpc:["https://9322252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-mainnet.relay.xcap.network/znzvh2ueyvm2yts5fv5gnul395jbkfb2/rpc1"],shortName:"xcap",slug:"xcap",testnet:!1,title:"XCAP Mainnet"},yPt={chain:"XCAP",chainId:9322253,explorers:[{name:"blockscout",url:"https://xcap-milvine.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"Milvine",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322253,rpc:["https://9322253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-milvine.relay.xcap.network/zj5l55ftsgi027kz4nf14vs8d89inego/rpc1"],shortName:"milv",slug:"milvine",testnet:!0,title:"XCAP Testnet Milvine"},gPt={chain:"Plian",chainId:10067275,explorers:[{name:"piscan",url:"https://testnet.plian.org/child_test",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Testnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"TPI",decimals:18},networkId:10067275,parent:{type:"L2",chain:"eip155-16658437"},rpc:["https://10067275.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/child_test"],shortName:"plian-testnet-l2",slip44:1,slug:"plian-testnet-subchain-1",testnet:!0},vPt={chain:"SVRN",chainId:10101010,explorers:[{name:"Soverun",url:"https://explorer.soverun.com",standard:"EIP3091"}],faucets:["https://faucet.soverun.com"],icon:{url:"ipfs://QmTYazUzgY9Nn2mCjWwFUSLy3dG6i2PvALpwCNQvx1zXyi",width:1154,height:1154,format:"png"},infoURL:"https://soverun.com",name:"Soverun Mainnet",nativeCurrency:{name:"Soverun",symbol:"SVRN",decimals:18},networkId:10101010,rpc:["https://10101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.soverun.com"],shortName:"SVRNm",slug:"soverun",testnet:!1},wPt={chain:"ALIENX Hal",chainId:10241025,explorers:[{name:"Hal Explorer",url:"https://hal-explorer.alienxchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWAa7JayD8HCtAMXezzUNcUoi2Rikqpu2WmrHpFBmDEez",width:480,height:480,format:"png"},infoURL:"https://alienxchain.io/home",name:"ALIENX Hal Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:10241025,rpc:["https://10241025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hal-rpc.alienxchain.io/http","https://hal.rpc.caldera.xyz/http"],shortName:"ALIENXHal",slug:"alienx-hal-testnet",testnet:!0},UHe={chain:"ETH",chainId:11155111,explorers:[{name:"etherscan-sepolia",url:"https://sepolia.etherscan.io",standard:"EIP3091"},{name:"otterscan-sepolia",url:"https://sepolia.otterscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.otterscan.io",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155111,redFlags:[],rpc:["https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.infura.io/v3/${INFURA_API_KEY}","wss://sepolia.infura.io/v3/${INFURA_API_KEY}","https://rpc.sepolia.org","https://rpc2.sepolia.org","https://rpc-sepolia.rockx.com","https://rpc.sepolia.ethpandaops.io","https://sepolia.gateway.tenderly.co","wss://sepolia.gateway.tenderly.co","https://ethereum-sepolia-rpc.publicnode.com","wss://ethereum-sepolia-rpc.publicnode.com","https://sepolia.drpc.org","wss://sepolia.drpc.org"],shortName:"sep",slip44:1,slug:"sepolia",testnet:!0,title:"Ethereum Testnet Sepolia"},DW={chain:"ETH",chainId:11155420,explorers:[{name:"opscout",url:"https://optimism-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155420,redFlags:[],rpc:["https://11155420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.optimism.io","https://optimism-sepolia.drpc.org","wss://optimism-sepolia.drpc.org"],shortName:"opsep",slip44:1,slug:"op-sepolia-testnet",testnet:!0},TPt={chain:"COTI",chainId:13068200,explorers:[{name:"coti devnet explorer",url:"https://explorer-devnet.coti.io",standard:"EIP3091",icon:{url:"ipfs://QmVQidJf4ZXt6whYqZk9atCXLrmterkHrL4wYBCetZbsdj",width:200,height:200,format:"png"}}],faucets:["https://faucet.coti.io"],icon:{url:"ipfs://QmR58SroHx7ovpqEB5iRkw4PufEXmcCBAJ8AZ7mChDgTfV",width:528,height:528,format:"png"},infoURL:"https://coti.io/",name:"COTI Devnet",nativeCurrency:{name:"COTI2",symbol:"COTI2",decimals:18},networkId:13068200,rpc:["https://13068200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.coti.io/rpc"],shortName:"coti-devnet",slug:"coti-devnet",testnet:!1,title:"COTI Devnet"},xPt={chain:"PEP",chainId:13371337,explorers:[],faucets:[],infoURL:"https://pepchain.io",name:"PepChain Churchill",nativeCurrency:{name:"PepChain Churchill Ether",symbol:"TPEP",decimals:18},networkId:13371337,rpc:["https://13371337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://churchill-rpc.pepchain.io"],shortName:"tpep",slug:"pepchain-churchill",testnet:!1},EPt={chain:"anduschain",chainId:14288640,explorers:[{name:"anduschain explorer",url:"https://explorer.anduschain.io",standard:"none",icon:{url:"ipfs://bafkreiapaxokh2p4j7hg43ug2inomixiwrdhni4kpqazvqifssnez7efze",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://anduschain.io/",name:"Anduschain Mainnet",nativeCurrency:{name:"DAON",symbol:"DEB",decimals:18},networkId:14288640,rpc:["https://14288640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anduschain.io/rpc","wss://rpc.anduschain.io/ws"],shortName:"anduschain-mainnet",slug:"anduschain",testnet:!1},_Pt={chain:"Plian",chainId:16658437,explorers:[{name:"piscan",url:"https://testnet.plian.org/testnet",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Testnet Main",nativeCurrency:{name:"Plian Testnet Token",symbol:"TPI",decimals:18},networkId:16658437,rpc:["https://16658437.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/testnet"],shortName:"plian-testnet",slip44:1,slug:"plian-testnet-main",testnet:!0},APt={chain:"Lambda Chain",chainId:17000920,explorers:[{name:"Lambda Chain Testnet Explorer",url:"https://testscan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:17000920,rpc:["https://17000920.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnrpc.lambda.im/"],shortName:"tlambda",slip44:1,slug:"lambda-chain-testnet",testnet:!0},IPt={chain:"ILT",chainId:18289463,explorers:[],faucets:[],infoURL:"https://iolite.io",name:"IOLite",nativeCurrency:{name:"IOLite Ether",symbol:"ILT",decimals:18},networkId:18289463,rpc:["https://18289463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://net.iolite.io"],shortName:"ilt",slug:"iolite",testnet:!1},CPt={chain:"stabilityTestnet",chainId:20180427,explorers:[{name:"blockscout",url:"https://stability-testnet.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Stability Testnet",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:20180427,rpc:["https://20180427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://free.testnet.stabilityprotocol.com"],shortName:"stabilitytestnet",slip44:1,slug:"stability-testnet",testnet:!0},kPt={chain:"Spectrum",chainId:20180430,explorers:[{name:"spectrum",url:"https://spectrum.pub",standard:"none"}],faucets:[],infoURL:"https://smartmesh.io",name:"SmartMesh Mainnet",nativeCurrency:{name:"SmartMesh Native Token",symbol:"SMT",decimals:18},networkId:1,rpc:["https://20180430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonapi1.smartmesh.cn"],shortName:"spectrum",slug:"smartmesh",testnet:!1},SPt={chain:"QKI",chainId:20181205,explorers:[{name:"qkiscan",url:"https://qkiscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://quarkblockchain.org/",name:"quarkblockchain",nativeCurrency:{name:"quarkblockchain Native Token",symbol:"QKI",decimals:18},networkId:20181205,rpc:["https://20181205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hz.rpc.qkiscan.cn","https://jp.rpc.qkiscan.io","https://rpc1.qkiscan.io","https://rpc2.qkiscan.io","https://rpc3.qkiscan.io"],shortName:"qki",slug:"quarkblockchain",testnet:!1},RPt={chain:"PEGO",chainId:20201022,explorers:[{name:"Pego Network Explorer",url:"https://scan.pego.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",width:246,height:247,format:"png"},infoURL:"https://pego.network",name:"Pego Network",nativeCurrency:{name:"Pego Native Token",symbol:"PG",decimals:18},networkId:20201022,rpc:["https://20201022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pegorpc.com","https://node1.pegorpc.com","https://node2.pegorpc.com","https://node3.pegorpc.com"],shortName:"pg",slug:"pego-network",testnet:!1},MPt={chain:"DeBank",chainId:20240324,explorers:[{name:"DeBank Chain Explorer",url:"https://sepolia-explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Sepolia Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:20240324,rpc:["https://20240324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.testnet.debank.com"],shortName:"dbkse",slip44:1,slug:"debank-sepolia-testnet",testnet:!0},BPt={chain:"SWAN",chainId:20241133,explorers:[{name:"Swan Proxima Chain explorer",url:"https://proxima-explorer.swanchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Proxima Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:20241133,rpc:["https://20241133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-proxima.swanchain.io"],shortName:"Proxima",slug:"swan-proxima-testnet",testnet:!0},DPt={chain:"HokumTestnet",chainId:20482050,explorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:20482050,rpc:["https://20482050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hokum.gg"],shortName:"hokum-testnet",slug:"hokum-testnet",testnet:!0},PPt={chain:"XLON",chainId:22052002,explorers:[{name:"Excelon explorer",url:"https://explorer.excelon.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTV45o4jTe6ayscF1XWh1WXk5DPck4QohR5kQocSWjvQP",width:300,height:300,format:"png"},infoURL:"https://xlon.org",name:"Excelon Mainnet",nativeCurrency:{name:"Excelon",symbol:"xlon",decimals:18},networkId:22052002,rpc:["https://22052002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgewallet1.xlon.org/"],shortName:"xlon",slug:"excelon",testnet:!1},LPt={chain:"TEXL",chainId:27082017,explorers:[{name:"exlscan",url:"https://testnet-explorer.exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:["https://faucet.exlscan.com"],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Volta-Testnet",nativeCurrency:{name:"TExlcoin",symbol:"TEXL",decimals:18},networkId:27082017,rpc:["https://27082017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.exlscan.com"],shortName:"exlvolta",slip44:1,slug:"excoincial-chain-volta-testnet",testnet:!0},FPt={chain:"EXL",chainId:27082022,explorers:[{name:"exlscan",url:"https://exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Mainnet",nativeCurrency:{name:"Exlcoin",symbol:"EXL",decimals:18},networkId:27082022,rpc:["https://27082022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exlscan.com"],shortName:"exl",slug:"excoincial-chain",testnet:!1},NPt={chain:"Ancient8",chainId:28122024,explorers:[{name:"scan-testnet",url:"https://scanv2-testnet.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28122024,rpc:["https://28122024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcv2-testnet.ancient8.gg"],shortName:"a8",slip44:1,slug:"ancient8-testnet",testnet:!0},OPt={chain:"AUX",chainId:28945486,explorers:[],faucets:[],infoURL:"https://auxilium.global",name:"Auxilium Network Mainnet",nativeCurrency:{name:"Auxilium coin",symbol:"AUX",decimals:18},networkId:28945486,rpc:["https://28945486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.auxilium.global"],shortName:"auxi",slip44:344,slug:"auxilium-network",testnet:!1},UPt={chain:"FLX",chainId:29032022,explorers:[{name:"FLXExplorer",url:"https://explorer.flaexchange.top",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeiadlvc4pfiykehyt2z67nvgt5w4vlov27olu5obvmryv4xzua4tae",width:256,height:256,format:"png"},infoURL:"https://www.flaexchange.top",name:"Flachain Mainnet",nativeCurrency:{name:"Flacoin",symbol:"FLA",decimals:18},networkId:29032022,rpc:["https://29032022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flachain.flaexchange.top/"],shortName:"fla",slug:"flachain",testnet:!1},HPt={chain:"FIL",chainId:31415926,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Local testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415926,rpc:[],shortName:"filecoin-local",slip44:1,slug:"filecoin-local-testnet",status:"incubating",testnet:!0},zPt={chain:"JOYS",chainId:35855456,explorers:[],faucets:[],infoURL:"https://joys.digital",name:"Joys Digital Mainnet",nativeCurrency:{name:"JOYS",symbol:"JOYS",decimals:18},networkId:35855456,rpc:["https://35855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.joys.digital"],shortName:"JOYS",slug:"joys-digital",testnet:!1},WPt={chain:"lanky-ill-funny-testnet",chainId:37084624,explorers:[{name:"Blockscout",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:37084624,rpc:["https://37084624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet","wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"],shortName:"nebula-testnet",slip44:1,slug:"skale-nebula-hub-testnet",testnet:!0,title:"SKALE Nebula Hub Testnet"},qPt={chain:"KingdomChain",chainId:39916801,explorers:[{name:"TravelSong",url:"https://www.beastkingdom.io/travelsong",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.beastkingdom.io/",name:"Kingdom Chain",nativeCurrency:{name:"Kozi",symbol:"KOZI",decimals:18},networkId:39916801,rpc:["https://39916801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kingdomchain.observer/rpc"],shortName:"kchain",slug:"kingdom-chain",testnet:!1},jPt={chain:"MAI",chainId:43214913,explorers:[{name:"maistesntet",url:"http://174.138.9.169:3006/?network=maistesntet",standard:"none"}],faucets:[],name:"maistestsubnet",nativeCurrency:{name:"maistestsubnet",symbol:"MAI",decimals:18},networkId:43214913,rpc:["https://43214913.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://174.138.9.169:9650/ext/bc/VUKSzFZKckx4PoZF9gX5QAqLPxbLzvu1vcssPG5QuodaJtdHT/rpc"],shortName:"mais",slip44:1,slug:"maistestsubnet",testnet:!0},GPt={chain:"AQUA",chainId:61717561,explorers:[],faucets:["https://aquacha.in/faucet"],infoURL:"https://aquachain.github.io",name:"Aquachain",nativeCurrency:{name:"Aquachain Ether",symbol:"AQUA",decimals:18},networkId:61717561,rpc:["https://61717561.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://c.onical.org","https://tx.aquacha.in/api"],shortName:"aqua",slip44:61717561,slug:"aquachain",testnet:!1},KPt={chain:"AUT",chainId:6501e4,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Thames) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:6501e4,rpc:[],shortName:"bakerloo-0",slip44:1,slug:"autonity-bakerloo-thames-testnet",status:"deprecated",testnet:!0},QPt={chain:"AUT",chainId:65010001,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Barada) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010001,rpc:[],shortName:"bakerloo-01",slip44:1,slug:"autonity-bakerloo-barada-testnet",status:"deprecated",testnet:!0},VPt={chain:"AUT",chainId:65010002,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Sumida) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010002,rpc:["https://65010002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bakerloo.autonity.org/","wss://rpc1.bakerloo.autonity.org/ws/"],shortName:"bakerloo-02",slip44:1,slug:"autonity-bakerloo-sumida-testnet",testnet:!0},YPt={chain:"AUT",chainId:651e5,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Thames) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:651e5,rpc:[],shortName:"piccadilly-0",slip44:1,slug:"autonity-piccadilly-thames-testnet",status:"deprecated",testnet:!0},$Pt={chain:"AUT",chainId:65100001,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Barada) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100001,rpc:[],shortName:"piccadilly-01",slip44:1,slug:"autonity-piccadilly-barada-testnet",status:"deprecated",testnet:!0},JPt={chain:"AUT",chainId:65100002,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Sumida) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100002,rpc:["https://65100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.piccadilly.autonity.org/","wss://rpc1.piccadilly.autonity.org/ws/"],shortName:"piccadilly-02",slip44:1,slug:"autonity-piccadilly-sumida-testnet",testnet:!0},XPt={chain:"ETH",chainId:68840142,explorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz",standard:"EIP3091"},{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz/",standard:"EIP3091"}],faucets:["https://faucet.triangleplatform.com/frame/testnet","https://faucet.triangleplatform.com/frame"],features:[],icon:{url:"ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",width:512,height:512,format:"png"},infoURL:"https://frame.xyz",name:"Frame Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:68840142,redFlags:[],rpc:["https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frame.xyz/http"],shortName:"frame-test",slip44:1,slug:"frame-testnet",testnet:!0},ZPt={chain:"HETH",chainId:77787778,explorers:[{name:"blockscout",url:"https://test.0xhashscan.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://0xhash.io",name:"0xHash Testnet",nativeCurrency:{name:"0xHash",symbol:"HETH",decimals:18},networkId:77787778,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.optimism.io/bridge/deposit"}]},rpc:["https://77787778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.0xhash.io"],shortName:"HETH",slip44:1,slug:"0xhash-testnet",testnet:!0},eLt={chain:"TEAM",chainId:88888888,explorers:[{name:"teamscan",url:"https://teamblockchain.team",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcnA15BLE9uvznbugXKjqquizZs1eLPeEEkc92DSmvhmt",width:248,height:248,format:"png"},infoURL:"https://teamblockchain.team",name:"T.E.A.M Blockchain",nativeCurrency:{name:"TEAM",symbol:"$TEAM",decimals:18},networkId:88888888,rpc:["https://88888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.teamblockchain.team"],shortName:"team",slug:"t-e-a-m-blockchain",testnet:!1},tLt={chain:"ETH",chainId:94204209,explorers:[{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com/",standard:"EIP3091",icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"},infoURL:"https://raas.gelato.network/rollups/details/public/polygon-blackberry",name:"Polygon Blackberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:94204209,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/polygon-blackberry"}]},redFlags:[],rpc:["https://94204209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygon-blackberry.gelato.digital","wss://ws.polygon-blackberry.gelato.digital"],shortName:"polygon-blackberry",slip44:60,slug:"polygon-blackberry",status:"active",testnet:!0,title:"Polygon Blackberry Testnet"},nLt={chain:"TOYS",chainId:99415706,explorers:[],faucets:["https://faucet.joys.digital/"],infoURL:"https://joys.digital",name:"Joys Digital TestNet",nativeCurrency:{name:"TOYS",symbol:"TOYS",decimals:18},networkId:99415706,rpc:["https://99415706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://toys.joys.cash/"],shortName:"TOYS",slip44:1,slug:"joys-digital-testnet",testnet:!0},aLt={chain:"Oraichain",chainId:108160679,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://orai.io",name:"Oraichain Mainnet",nativeCurrency:{name:"Oraichain Token",symbol:"ORAI",decimals:18},networkId:108160679,rpc:["https://108160679.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.orai.io"],shortName:"Oraichain",slug:"oraichain",testnet:!1,title:"Oraichain Mainnet"},rLt={chain:"Cyber",chainId:111557560,explorers:[{name:"Cyber Testnet Explorer",url:"https://testnet.cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:111557560,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://cyber-testnet.testnets.rollbridge.app/"}]},rpc:["https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber-testnet.alt.technology/","wss://cyber-testnet.alt.technology/ws","https://rpc.testnet.cyber.co/","wss://rpc.testnet.cyber.co/"],shortName:"cysep",slug:"cyber-testnet",testnet:!0},fLt={chain:"ETH",chainId:123420111,explorers:[{name:"blockscout",url:"https://opcelestia-raspberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/opcelestia-raspberry",name:"OP Celestia Rasberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:123420111,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/opcelestia-raspberry"}]},redFlags:[],rpc:["https://123420111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.opcelestia-raspberry.gelato.digital","wss://ws.opcelestia-raspberry.gelato.digital"],shortName:"opcelestia-rasberry",slip44:60,slug:"op-celestia-rasberry",status:"active",testnet:!0,title:"OP Celestia Rasberry"},iLt={chain:"ETH",chainId:161221135,explorers:[{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",width:1062,height:1062,format:"png"},infoURL:"https://www.plumenetwork.xyz/",name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},networkId:161221135,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://testnet-bridge.plumenetwork.xyz"}]},rpc:["https://161221135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.plumenetwork.xyz/http","wss://testnet-rpc.plumenetwork.xyz/ws"],shortName:"plume-testnet",slip44:1,slug:"plume-testnet",testnet:!0,title:"Plume Sepolia Rollup Testnet"},sLt={chain:"ETH",chainId:168587773,explorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:["https://faucet.quicknode.com/blast/sepolia"],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:168587773,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://168587773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.blast.io","https://blast-sepolia.drpc.org","wss://blast-sepolia.drpc.org"],shortName:"blastsepolia",slug:"blast-sepolia-testnet",testnet:!0},oLt={chain:"GTH",chainId:192837465,explorers:[{name:"Blockscout",url:"https://explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Mainnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:192837465,redFlags:[],rpc:["https://192837465.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.gather.network"],shortName:"GTH",slug:"gather-network",testnet:!1},cLt={chain:"Kanazawa",chainId:222000222,explorers:[{name:"explorer",url:"https://testnet.meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets-test.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Kanazawa",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:222000222,rpc:["https://222000222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.meld.com"],shortName:"kanazawa",slip44:1,slug:"kanazawa",testnet:!0,title:"Meld Testnet Kanazawa"},dLt={chain:"Solana",chainId:245022926,explorers:[{name:"blockscout",url:"https://neon-devnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"neonscan",url:"https://devnet.neonscan.org",standard:"EIP3091"}],faucets:["https://neonfaucet.org"],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM Devnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022926,rpc:["https://245022926.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.neonevm.org","https://neon-evm-devnet.drpc.org","wss://neon-evm-devnet.drpc.org"],shortName:"neonevm-devnet",slug:"neon-evm-devnet",testnet:!1},lLt={chain:"Solana",chainId:245022934,explorers:[{name:"neonscan",url:"https://neonscan.org",standard:"EIP3091"},{name:"native",url:"https://neon.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neonevm.org",name:"Neon EVM Mainnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022934,rpc:["https://245022934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://neon-proxy-mainnet.solana.p2p.org","https://neon-evm.drpc.org","wss://neon-evm.drpc.org"],shortName:"neonevm-mainnet",slug:"neon-evm",testnet:!1},uLt={chain:"Solana",chainId:245022940,explorers:[{name:"native",url:"https://testnet.explorer.neon-labs.org",standard:"EIP3091"},{name:"neonscan",url:"https://testnet.neonscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM TestNet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022940,rpc:["https://245022940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonevm.org"],shortName:"neonevm-testnet",slip44:1,slug:"neon-evm-testnet",status:"deprecated",testnet:!0},pLt={chain:"Razor Schain",chainId:278611351,explorers:[{name:"turbulent-unique-scheat",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://faucet.razorscan.io/"],icon:{url:"ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",width:900,height:900,format:"png"},infoURL:"https://razor.network",name:"Razor Skale Chain",nativeCurrency:{name:"sFuel",symbol:"SFUEL",decimals:18},networkId:278611351,rpc:["https://278611351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],shortName:"razor",slug:"razor-skale-chain",testnet:!1},hLt={chain:"OLT",chainId:311752642,explorers:[{name:"OneLedger Block Explorer",url:"https://mainnet-explorer.oneledger.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Mainnet",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:311752642,rpc:["https://311752642.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneledger.network"],shortName:"oneledger",slug:"oneledger",testnet:!1},mLt={chain:"ETH",chainId:328527624,explorers:[{name:"Nal Sepolia Testnet Network Explorer",url:"https://testnet-scan.nal.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZLZHX18YUswejxo1JFNPx5EwMsVhUwBeBWEcd1JUHAK5",width:640,height:640,format:"png"},infoURL:"https://www.nal.network",name:"Nal Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:328527624,rpc:["https://328527624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.nal.network"],shortName:"nalsep",slug:"nal-sepolia-testnet",testnet:!0},bLt={chain:"MELD",chainId:333000333,explorers:[{name:"explorer",url:"https://meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Meld",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:333000333,rpc:["https://333000333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.meld.com"],shortName:"meld",slug:"meld",testnet:!1,title:"Meld Mainnet"},yLt={chain:"staging-utter-unripe-menkar",chainId:344106930,explorers:[{name:"Blockscout",url:"https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"Deprecated SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:344106930,rpc:["https://344106930.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"],shortName:"deprected-calypso-testnet",slip44:1,slug:"deprecated-skale-calypso-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Calypso NFT Hub Testnet"},gLt={chain:"GTH",chainId:356256156,explorers:[{name:"Blockscout",url:"https://testnet-explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:["https://testnet-faucet.gather.network/"],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Testnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:356256156,redFlags:[],rpc:["https://356256156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gather.network"],shortName:"tGTH",slip44:1,slug:"gather-testnet-network",testnet:!0},vLt={chain:"staging-legal-crazy-castor",chainId:476158412,explorers:[{name:"Blockscout",url:"https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"Deprecated SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:476158412,rpc:["https://476158412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"],shortName:"deprecated-europa-testnet",slip44:1,slug:"deprecated-skale-europa-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Europa Hub Testnet"},wLt={chain:"GTH",chainId:486217935,explorers:[{name:"Blockscout",url:"https://devnet-explorer.gather.network",standard:"none"}],faucets:[],infoURL:"https://gather.network",name:"Gather Devnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:486217935,rpc:["https://486217935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.gather.network"],shortName:"dGTH",slug:"gather-devnet-network",testnet:!1},TLt={chain:"staging-faint-slimy-achird",chainId:503129905,explorers:[{name:"Blockscout",url:"https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"Deprecated SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:503129905,rpc:["https://503129905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird","wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird"],shortName:"deprecated-nebula-testnet",slip44:1,slug:"deprecated-skale-nebula-hub-testnet",status:"deprecated",testnet:!0},xLt={chain:"Degen",chainId:666666666,explorers:[],faucets:[],icon:{url:"ipfs://Qmb6yAe4wXeBkxjfhxzoUT9TzETcmE7Vne59etm9GJaQf7",width:789,height:668,format:"svg"},infoURL:"https://degen.tips",name:"Degen Chain",nativeCurrency:{name:"DEGEN",symbol:"DEGEN",decimals:18},networkId:666666666,rpc:["https://666666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.degen.tips"],shortName:"degen-chain",slug:"degen-chain",status:"incubating",testnet:!1,title:"Degen Chain"},ELt={chain:"Ancient8",chainId:888888888,explorers:[{name:"Ancient8 Explorer",url:"https://scan.ancient8.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:888888888,rpc:["https://888888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ancient8.gg"],shortName:"ancient8",slug:"ancient8",testnet:!1},_Lt={chain:"PTCE",chainId:889910245,explorers:[{name:"PTCESCAN Testnet Explorer",url:"https://explorer-testnet.ptcscan.io",standard:"EIP3091"}],faucets:["https://faucet.ptcscan.io/"],infoURL:"https://ptcscan.io",name:"PTCESCAN Testnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910245,rpc:["https://889910245.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ptcscan.io"],shortName:"PTCE",slug:"ptcescan-testnet",testnet:!0,title:"PTCESCAN Testnet"},ALt={chain:"PTCE",chainId:889910246,explorers:[{name:"PTCESCAN Explorer",url:"https://ptcscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ptcscan.io",name:"PTCESCAN Mainnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910246,rpc:["https://889910246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ptcscan.io"],shortName:"POLYTECH",slug:"ptcescan",testnet:!1,title:"PTCESCAN Mainnet"},ILt={chain:"giant-half-dual-testnet",chainId:974399131,explorers:[{name:"Blockscout",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:974399131,rpc:["https://974399131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],shortName:"calypso-testnet",slip44:1,slug:"skale-calypso-hub-testnet",testnet:!0,title:"SKALE Calypso Hub Testnet"},Vse={chain:"ETH",chainId:999999999,explorers:[{name:"Zora Sepolia Testnet Network Explorer",url:"https://sepolia.explorer.zora.energy",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifvrly5tgd34xqeo67s4etmiu52bkroml7uy7eosizf57htf5nrzq",width:250,height:250,format:"png"},infoURL:"https://zora.energy",name:"Zora Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:999999999,rpc:["https://999999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zora.energy"],shortName:"zsep",slip44:1,slug:"zora-sepolia-testnet",testnet:!0},CLt={chain:"aware-fake-trim-testnet",chainId:1020352220,explorers:[{name:"Blockscout",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1020352220,rpc:["https://1020352220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/aware-fake-trim-testnet","wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"],shortName:"titan-testnet",slip44:1,slug:"skale-titan-hub-testnet",testnet:!0,title:"SKALE Titan Hub Testnet"},kLt={chain:"IPOS",chainId:1122334455,explorers:[],faucets:[],infoURL:"https://iposlab.com",name:"IPOS Network",nativeCurrency:{name:"IPOS Network Ether",symbol:"IPOS",decimals:18},networkId:1122334455,rpc:["https://1122334455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.iposlab.com","https://rpc2.iposlab.com"],shortName:"ipos",slug:"ipos-network",testnet:!1},SLt={chain:"cyberdeck",chainId:1146703430,explorers:[{name:"CybEthExplorer",url:"http://cybeth1.cyberdeck.eu:8000",standard:"none",icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"},infoURL:"https://cyberdeck.eu",name:"CyberdeckNet",nativeCurrency:{name:"Cyb",symbol:"CYB",decimals:18},networkId:1146703430,rpc:["https://1146703430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://cybeth1.cyberdeck.eu:8545"],shortName:"cyb",slug:"cyberdecknet",status:"active",testnet:!1},RLt={chain:"wan-red-ain",chainId:1273227453,explorers:[{name:"Blockscout",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmT5KKrpNt6duU8QfwaYw3xf4ifTBPtjahpWsMi3gsFmcS",width:440,height:600,format:"png"}}],faucets:["https://dashboard.humanprotocol.org/faucet"],infoURL:"https://www.humanprotocol.org",name:"HUMAN Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1273227453,rpc:["https://1273227453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/wan-red-ain"],shortName:"human-mainnet",slug:"human-protocol",testnet:!1,title:"HUMAN Protocol"},MLt={chain:"NEAR",chainId:1313161554,explorers:[{name:"aurorascan.dev",url:"https://aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161554,rpc:["https://1313161554.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aurora.dev","https://aurora.drpc.org","wss://aurora.drpc.org"],shortName:"aurora",slug:"aurora",testnet:!1},BLt={chain:"NEAR",chainId:1313161555,explorers:[{name:"aurorascan.dev",url:"https://testnet.aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161555,rpc:["https://1313161555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.aurora.dev/","https://aurora-testnet.drpc.org","wss://aurora-testnet.drpc.org"],shortName:"aurora-testnet",slip44:1,slug:"aurora-testnet",testnet:!0},DLt={chain:"NEAR",chainId:1313161556,explorers:[],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Betanet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161556,rpc:[],shortName:"aurora-betanet",slug:"aurora-betanet",testnet:!1},PLt={chain:"NEAR",chainId:1313161560,explorers:[{name:"PowerGold explorer",url:"https://explorer.powergold.aurora.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",width:512,height:512,format:"png"},infoURL:"https://www.powergold.tech",name:"PowerGold",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161560,rpc:["https://1313161560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://powergold.aurora.dev"],shortName:"powergold",slug:"powergold",testnet:!1},LLt={chain:"parallel-stormy-spica",chainId:1350216234,explorers:[{name:"Blockscout",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1350216234,rpc:["https://1350216234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/parallel-stormy-spica","wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"],shortName:"titan-mainnet",slug:"skale-titan-hub",testnet:!1},FLt={chain:"staging-fast-active-bellatrix",chainId:1351057110,explorers:[{name:"Blockscout",url:"https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmbYYCoU2G4LUfRr9ofGowF3eatfvWv9FiPVhqKndZeqwA",width:400,height:400,format:"png"}}],faucets:["https://sfuel.skale.network/staging/chaos"],infoURL:"https://docs.skale.network/develop/",name:"Chaos (SKALE Testnet)",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1351057110,rpc:["https://1351057110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"],shortName:"chaos-tenet",slip44:1,slug:"chaos-skale-testnet",testnet:!0,title:"Chaos Testnet"},NLt={chain:"Rari",chainId:1380012617,explorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdAX6818vZ3bAsPRv1DZGrc7qc8XTrgCnRLWrMecixhXb/RARI%20Chain%20Logomark%20Color.png",width:512,height:512,format:"png"},infoURL:"https://rari-mainnet.caldera.dev/",name:"Rari Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1380012617,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://rari.calderabridge.xyz/"}]},redFlags:[],rpc:["https://1380012617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.rarichain.org/http","https://rari.calderachain.xyz/http"],shortName:"rari",slug:"rari",testnet:!1},OLt={chain:"RPTR",chainId:1380996178,explorers:[{name:"RaptorChain Explorer",url:"https://explorer.raptorchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"},infoURL:"https://raptorchain.io",name:"RaptorChain",nativeCurrency:{name:"Raptor",symbol:"RPTR",decimals:18},networkId:1380996178,rpc:["https://1380996178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.raptorchain.io/web3"],shortName:"rptr",slug:"raptorchain",testnet:!1},ULt={chain:"juicy-low-small-testnet",chainId:1444673419,explorers:[{name:"Blockscout",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1444673419,rpc:["https://1444673419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],shortName:"europa-testnet",slip44:1,slug:"skale-europa-hub-testnet",testnet:!0,title:"SKALE Europa Hub Testnet"},HLt={chain:"green-giddy-denebola",chainId:1482601649,explorers:[{name:"Blockscout",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1482601649,rpc:["https://1482601649.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/green-giddy-denebola","wss://mainnet-proxy.skalenodes.com/v1/ws/green-giddy-denebola"],shortName:"nebula-mainnet",slug:"skale-nebula-hub",testnet:!1},zLt={chain:"staging-aware-chief-gianfar",chainId:1517929550,explorers:[{name:"Blockscout",url:"https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"Deprecated SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1517929550,rpc:["https://1517929550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar","wss://staging-v3.skalenodes.com/v1/ws/staging-aware-chief-gianfar"],shortName:"deprecated-titan-testnet",slip44:1,slug:"deprecated-skale-titan-hub-testnet",status:"deprecated",testnet:!0},WLt={chain:"honorable-steel-rasalhague",chainId:1564830818,explorers:[{name:"Blockscout",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1564830818,rpc:["https://1564830818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],shortName:"calypso-mainnet",slug:"skale-calypso-hub",testnet:!1},qLt={chain:"Harmony",chainId:16666e5,ens:{registry:"0x4cd2563118e57b19179d8dc033f2b0c5b5d69ff5"},explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one",standard:"EIP3091"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16666e5,rpc:["https://1666600000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.harmony.one","https://a.api.s0.t.hmny.io","https://api.s0.t.hmny.io","https://rpc.ankr.com/harmony","https://harmony.api.onfinality.io/public","https://1rpc.io/one","https://harmony-0.drpc.org","wss://harmony-0.drpc.org"],shortName:"hmy-s0",slip44:1023,slug:"harmony-shard-0",testnet:!1},jLt={chain:"Harmony",chainId:1666600001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/1",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600001,rpc:["https://1666600001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.t.hmny.io","https://harmony-1.drpc.org","wss://harmony-1.drpc.org"],shortName:"hmy-s1",slip44:1023,slug:"harmony-shard-1",testnet:!1},GLt={chain:"Harmony",chainId:1666600002,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/2",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 2",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600002,rpc:["https://1666600002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s2.t.hmny.io"],shortName:"hmy-s2",slip44:1023,slug:"harmony-shard-2",status:"deprecated",testnet:!1},KLt={chain:"Harmony",chainId:1666600003,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/3",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 3",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600003,rpc:["https://1666600003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s3.t.hmny.io"],shortName:"hmy-s3",slip44:1023,slug:"harmony-shard-3",status:"deprecated",testnet:!1},QLt={chain:"Harmony",chainId:16667e5,explorers:[{name:"Harmony Testnet Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"EIP3091"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16667e5,rpc:["https://1666700000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.b.hmny.io"],shortName:"hmy-b-s0",slug:"harmony-testnet-shard-0",testnet:!0},VLt={chain:"Harmony",chainId:1666700001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"none"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666700001,rpc:["https://1666700001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.b.hmny.io"],shortName:"hmy-b-s1",slug:"harmony-testnet-shard-1",testnet:!0},YLt={chain:"Harmony",chainId:16669e5,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16669e5,rpc:["https://1666900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.ps.hmny.io"],shortName:"hmy-ps-s0",slug:"harmony-devnet-shard-0",testnet:!1},$Lt={chain:"Harmony",chainId:1666900001,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666900001,rpc:["https://1666900001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.ps.hmny.io"],shortName:"hmy-ps-s1",slug:"harmony-devnet-shard-1",testnet:!1},JLt={chain:"ETH",chainId:1802203764,explorers:[{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org",standard:"EIP3091"},{name:"Kakarot Explorer",url:"https://sepolia-explorer.kakarot.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1802203764,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://1802203764.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.kakarot.org"],shortName:"kkrt-sepolia",slug:"kakarot-sepolia",testnet:!1},XLt={chain:"RARI-T",chainId:1918988905,explorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://rarichain.org/",name:"RARIchain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1918988905,redFlags:[],rpc:["https://1918988905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.rarichain.org/http"],shortName:"eth",slug:"rarichain-testnet",testnet:!0},ZLt={chain:"HOP",chainId:2021121117,explorers:[],faucets:[],infoURL:"https://www.DataHopper.com",name:"DataHopper",nativeCurrency:{name:"DataHoppers",symbol:"HOP",decimals:18},networkId:2021121117,rpc:["https://2021121117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://23.92.21.121:8545"],shortName:"hop",slug:"datahopper",testnet:!1},eFt={chain:"europa",chainId:2046399126,explorers:[{name:"Blockscout",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://ruby.exchange/faucet.html","https://sfuel.mylilius.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:2046399126,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://ruby.exchange/bridge.html"}]},rpc:["https://2046399126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/elated-tan-skat","wss://mainnet.skalenodes.com/v1/elated-tan-skat"],shortName:"europa",slug:"skale-europa-hub",testnet:!1},tFt={chain:"Ancient8",chainId:2863311531,explorers:[{name:"a8scan-testnet",url:"https://testnet.a8scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2863311531,rpc:["https://2863311531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ancient8.gg"],shortName:"a8old",slip44:1,slug:"ancient8-testnet-deprecated",status:"deprecated",testnet:!0},nFt={chain:"PIRL",chainId:3125659152,explorers:[],faucets:[],infoURL:"https://pirl.io",name:"Pirl",nativeCurrency:{name:"Pirl Ether",symbol:"PIRL",decimals:18},networkId:3125659152,rpc:["https://3125659152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wallrpc.pirl.io"],shortName:"pirl",slip44:164,slug:"pirl",testnet:!1},aFt={chain:"OLT",chainId:4216137055,explorers:[{name:"OneLedger Block Explorer",url:"https://frankenstein-explorer.oneledger.network",standard:"EIP3091"}],faucets:["https://frankenstein-faucet.oneledger.network"],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Testnet Frankenstein",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:4216137055,rpc:["https://4216137055.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://frankenstein-rpc.oneledger.network"],shortName:"frankenstein",slip44:1,slug:"oneledger-testnet-frankenstein",testnet:!0},rFt={chain:"Palm",chainId:11297108099,explorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm-testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm Testnet",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108099,rpc:["https://11297108099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-testnet.infura.io/v3/${INFURA_API_KEY}","https://palm-testnet.public.blastapi.io"],shortName:"tpalm",slip44:1,slug:"palm-testnet",testnet:!0},fFt={chain:"Palm",chainId:11297108109,explorers:[{name:"Chainlens",url:"https://palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108109,rpc:["https://11297108109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-mainnet.infura.io/v3/${INFURA_API_KEY}","https://palm-mainnet.public.blastapi.io"],shortName:"palm",slug:"palm",testnet:!1},iFt={chain:"ETH",chainId:28872323069,explorers:[],faucets:[],icon:{url:"ipfs://bafkreihdfuzytq2og65n3d3b2kzfvk6yywvqdlorrt6h76q4baz5phcvju",width:256,height:256,format:"png"},infoURL:"https://gitswarm.com/",name:"GitSwarm Test Network",nativeCurrency:{name:"GitSwarm Ether",symbol:"GS-ETH",decimals:18},networkId:28872323069,rpc:["https://28872323069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gitswarm.com:2096"],shortName:"GS-ETH",slip44:1,slug:"gitswarm-test-network",status:"incubating",testnet:!0,title:"GitSwarm Test Network"},sFt={chain:"Xai Sepolia",chainId:37714555429,explorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWFbhjKw7zfsK5Rd9YxZgJgS43fpySPozjhYc98ibbEV/xai-icon.png",width:1024,height:1024,format:"png"},infoURL:"https://xai.games",name:"Xai Sepolia",nativeCurrency:{name:"sXAI",symbol:"sXAI",decimals:18},networkId:37714555429,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37714555429.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-v2.xai-chain.net/rpc"],shortName:"xai-sepolia",slug:"xai-sepolia",testnet:!0},oFt={chain:"Xai Goerli Orbit Testnet",chainId:47279324479,explorers:[],faucets:[],features:[],infoURL:"https://xai.games/",name:"Xai Goerli Orbit",nativeCurrency:{name:"Xai Goerli Ether",symbol:"ETH",decimals:18},networkId:47279324479,redFlags:[],rpc:[],shortName:"xai-goerli",slug:"xai-goerli-orbit",status:"deprecated",testnet:!0},cFt={chain:"ETH",chainId:88153591557,explorers:[{name:"blockscout",url:"https://arb-blueberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/arb-blueberry",name:"Arbitrum Blueberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:88153591557,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.gelato.network/bridge/arb-blueberry"}]},redFlags:[],rpc:["https://88153591557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arb-blueberry.gelato.digital","wss://ws.arb-blueberry.gelato.digital"],shortName:"arb-blueberry",slip44:60,slug:"arbitrum-blueberry",status:"active",testnet:!0,title:"Arbitrum Blueberry"},dFt={chain:"ETH",chainId:107107114116,explorers:[],faucets:[],icon:{url:"ipfs://QmNTZ9nEomAXK6bLxUbMfTS1TvrsN22HU1zTtxHUpMkUhz",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia Deprecated",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:107107114116,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"kkrt-sepolia-deprecated",slug:"kakarot-sepolia-deprecated",testnet:!1},lFt={chain:"Alphabet Network",chainId:111222333444,explorers:[{name:"Alphabet Explorer",url:"https://scan.alphabetnetwork.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",width:500,height:500,format:"svg"},infoURL:"https://alphabetnetwork.org",name:"Alphabet Mainnet",nativeCurrency:{name:"ALT",symbol:"ALT",decimals:18},networkId:111222333444,rpc:["https://111222333444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://londonpublic.alphabetnetwork.org","wss://londonpublic.alphabetnetwork.org/ws/","https://main-rpc.com","wss://main-rpc.com/ws/"],shortName:"alphabet",slug:"alphabet",testnet:!1},uFt={chain:"Ntity",chainId:197710212030,explorers:[{name:"Ntity Blockscout",url:"https://blockscout.ntity.io",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Ntity Mainnet",nativeCurrency:{name:"Ntity",symbol:"NTT",decimals:18},networkId:197710212030,rpc:["https://197710212030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ntity.io"],shortName:"ntt",slug:"ntity",testnet:!1},pFt={chain:"Ntity",chainId:197710212031,explorers:[{name:"Ntity Haradev Blockscout",url:"https://blockscout.haradev.com",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Haradev Testnet",nativeCurrency:{name:"Ntity Haradev",symbol:"NTTH",decimals:18},networkId:197710212031,rpc:["https://197710212031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.haradev.com"],shortName:"ntt-haradev",slip44:1,slug:"haradev-testnet",testnet:!0},hFt={chain:"GM Network Testnet",chainId:202402181627,explorers:[{name:"gmnetwork-testnet",url:"https://gmnetwork-testnet-explorer.alt.technology",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:202402181627,rpc:["https://202402181627.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gmnetwork-testnet.alt.technology/"],shortName:"gmnetwork-testnet",slug:"gm-network-testnet",testnet:!0},mFt={chain:"ZENIQ",chainId:383414847825,explorers:[{name:"zeniq-smart-chain-explorer",url:"https://smart.zeniq.net",standard:"EIP3091"}],faucets:["https://faucet.zeniq.net/"],infoURL:"https://www.zeniq.dev/",name:"Zeniq",nativeCurrency:{name:"Zeniq",symbol:"ZENIQ",decimals:18},networkId:383414847825,rpc:["https://383414847825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smart.zeniq.network:9545"],shortName:"zeniq",slug:"zeniq",testnet:!1},bFt={chain:"IPDC",chainId:666301171999,explorers:[{name:"ipdcscan",url:"https://scan.ipdc.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ipdc.io",name:"PDC Mainnet",nativeCurrency:{name:"PDC",symbol:"PDC",decimals:18},networkId:666301171999,rpc:["https://666301171999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.ipdc.io/"],shortName:"ipdc",slug:"pdc",testnet:!1},yFt={chain:"ETH",chainId:6022140761023,explorers:[],faucets:[],infoURL:"https://github.com/Jdubedition/molereum",name:"Molereum Network",nativeCurrency:{name:"Molereum Ether",symbol:"MOLE",decimals:18},networkId:6022140761023,rpc:["https://6022140761023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://molereum.jdubedition.com"],shortName:"mole",slug:"molereum-network",testnet:!1},gFt={chain:"GWT",chainId:868455272153094,explorers:[{name:"GWScan Block Explorer",url:"https://v1.aggron.gwscan.com",standard:"none"}],faucets:["https://homura.github.io/light-godwoken"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet (V1)",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:868455272153094,rpc:["https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"],shortName:"gw-testnet-v1-deprecated",slip44:1,slug:"godwoken-testnet-v1-gw-testnet-v1-deprecated",status:"deprecated",testnet:!0},vFt={chain:"dchaint",chainId:2713017997578e3,explorers:[{name:"dchaint scan",url:"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmP2cDWvgMuPgwAAEX9KexowUEjw6q7zCUSsWcb8HdudUH",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2713017997578e3,rpc:["https://2713017997578000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"],shortName:"dchaint",slug:"dchain-testnet",testnet:!0,title:"DCHAIN Testnet"},wFt={chain:"dchainmainnet",chainId:2716446429837e3,explorers:[{name:"dchain scan",url:"https://dchain-2716446429837000-1.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmamkxtxT1uFWQGxswmzBRkoTcZuU5biM1QvdsU6SD36K6",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2716446429837e3,rpc:["https://2716446429837000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchain-2716446429837000-1.jsonrpc.sagarpc.io"],shortName:"dchainmainnet",slug:"dchain",testnet:!1,title:"DCHAIN Mainnet"};r1=[M6,UHe,RW,BW,Q7,MW,LHe,OHe,SW,DW,RHe,MHe,BHe,PHe,NHe,FHe,DHe],TFt=[M6,ust,pst,hst,mst,bst,yst,gst,vst,SW,wst,Tst,xst,Est,_st,Ast,Ist,Cst,kst,Sst,Rst,Mst,Bst,Dst,Pst,Lst,Fst,Nst,Ost,Ust,Hst,zst,Wst,qst,jst,Gst,Kst,Qst,Vst,Yst,$st,Jst,Xst,Zst,eot,tot,not,aot,rot,fot,iot,sot,oot,cot,dot,RHe,lot,uot,pot,hot,mot,bot,yot,got,vot,wot,Tot,xot,Eot,_ot,Aot,Iot,Cot,kot,Sot,Rot,Mot,Bot,Dot,Pot,Lot,Fot,Not,Oot,Uot,Hot,zot,Wot,qot,jot,Got,Kot,Qot,Vot,Yot,$ot,MHe,Jot,Xot,Zot,e1t,t1t,n1t,a1t,r1t,f1t,i1t,s1t,o1t,c1t,d1t,l1t,u1t,p1t,h1t,m1t,b1t,y1t,g1t,v1t,w1t,T1t,x1t,E1t,_1t,A1t,I1t,C1t,k1t,S1t,R1t,M1t,B1t,D1t,P1t,Q7,L1t,F1t,N1t,O1t,U1t,H1t,z1t,jse,W1t,q1t,j1t,G1t,K1t,Q1t,V1t,Y1t,$1t,J1t,X1t,Z1t,ect,tct,nct,act,rct,fct,ict,sct,oct,cct,dct,lct,uct,pct,hct,mct,bct,yct,gct,vct,wct,Tct,xct,Ect,_ct,Act,Ict,Cct,kct,Sct,Rct,Mct,Bct,Dct,Pct,Lct,Fct,Nct,Oct,Uct,Hct,zct,Wct,qct,jct,Gct,Kct,Qct,Vct,Yct,$ct,Jct,Xct,BHe,Zct,e6t,t6t,n6t,a6t,r6t,f6t,i6t,s6t,o6t,c6t,d6t,l6t,u6t,p6t,h6t,m6t,b6t,y6t,g6t,v6t,w6t,T6t,x6t,E6t,_6t,A6t,I6t,C6t,k6t,S6t,R6t,M6t,B6t,D6t,P6t,L6t,F6t,N6t,O6t,U6t,H6t,z6t,W6t,q6t,j6t,G6t,K6t,Q6t,V6t,Y6t,$6t,J6t,X6t,Z6t,edt,tdt,ndt,adt,rdt,fdt,idt,sdt,odt,cdt,ddt,ldt,udt,pdt,hdt,mdt,bdt,ydt,gdt,vdt,wdt,Tdt,xdt,Edt,_dt,Adt,Idt,Cdt,kdt,Sdt,Rdt,Mdt,Bdt,Ddt,Pdt,Ldt,Fdt,Ndt,Odt,Udt,Hdt,zdt,Wdt,qdt,jdt,Gdt,Kdt,Qdt,Vdt,Ydt,$dt,Jdt,Xdt,Zdt,e5t,t5t,n5t,a5t,r5t,f5t,i5t,s5t,o5t,c5t,d5t,l5t,u5t,p5t,h5t,m5t,b5t,y5t,g5t,v5t,w5t,T5t,x5t,E5t,_5t,A5t,I5t,C5t,k5t,S5t,R5t,M5t,B5t,D5t,P5t,L5t,F5t,N5t,O5t,U5t,H5t,z5t,W5t,q5t,j5t,G5t,K5t,Q5t,V5t,Y5t,$5t,J5t,X5t,Z5t,elt,tlt,nlt,alt,rlt,flt,ilt,slt,olt,clt,dlt,llt,ult,plt,hlt,mlt,blt,ylt,glt,vlt,wlt,Tlt,xlt,Elt,_lt,Alt,Ilt,Clt,klt,Slt,Rlt,Mlt,Blt,Dlt,Plt,Llt,Flt,Nlt,Olt,Ult,Hlt,zlt,Wlt,qlt,jlt,Glt,Klt,Qlt,Vlt,Ylt,$lt,Jlt,Xlt,Zlt,eut,tut,nut,aut,rut,fut,iut,sut,out,cut,dut,lut,uut,put,hut,mut,but,yut,gut,vut,Gse,wut,Tut,xut,Eut,_ut,Aut,Iut,Cut,kut,Sut,Rut,Mut,But,Dut,Put,Lut,Fut,Nut,Out,Uut,Hut,zut,Wut,qut,jut,Gut,Kut,Qut,Vut,Yut,$ut,Jut,Xut,Zut,e2t,t2t,n2t,a2t,r2t,DHe,f2t,i2t,s2t,o2t,c2t,d2t,l2t,u2t,p2t,h2t,m2t,b2t,y2t,g2t,v2t,w2t,T2t,x2t,E2t,_2t,A2t,I2t,C2t,k2t,S2t,R2t,M2t,B2t,D2t,P2t,L2t,F2t,N2t,O2t,U2t,H2t,z2t,W2t,q2t,j2t,G2t,K2t,Q2t,V2t,Y2t,$2t,J2t,X2t,Z2t,ept,tpt,npt,apt,rpt,fpt,ipt,spt,opt,cpt,dpt,lpt,upt,ppt,hpt,mpt,bpt,ypt,gpt,vpt,wpt,Tpt,xpt,Ept,_pt,Apt,Ipt,Cpt,kpt,Spt,Rpt,Mpt,Bpt,Dpt,Ppt,Lpt,Fpt,Npt,Opt,Upt,Hpt,zpt,Wpt,qpt,jpt,Gpt,Kpt,Qpt,Vpt,Ypt,$pt,Jpt,Xpt,Zpt,e8t,t8t,n8t,a8t,r8t,f8t,i8t,s8t,o8t,c8t,d8t,l8t,u8t,p8t,h8t,m8t,b8t,y8t,g8t,v8t,w8t,T8t,x8t,E8t,_8t,A8t,I8t,C8t,k8t,S8t,R8t,M8t,B8t,D8t,P8t,L8t,F8t,N8t,O8t,U8t,H8t,z8t,W8t,q8t,j8t,G8t,K8t,Q8t,V8t,Y8t,$8t,J8t,X8t,Z8t,eht,tht,nht,aht,rht,fht,iht,sht,oht,cht,dht,lht,uht,pht,hht,mht,bht,yht,ght,vht,wht,Tht,xht,Eht,_ht,Aht,Iht,Cht,kht,Sht,Rht,Mht,Bht,Dht,Pht,Lht,Fht,Nht,Oht,Uht,Hht,zht,Wht,qht,jht,Ght,Kht,Qht,Vht,Yht,$ht,Jht,Xht,Zht,e3t,t3t,n3t,a3t,r3t,f3t,i3t,s3t,o3t,c3t,d3t,l3t,u3t,p3t,h3t,m3t,b3t,y3t,g3t,v3t,w3t,T3t,x3t,E3t,_3t,A3t,I3t,C3t,k3t,S3t,R3t,M3t,B3t,D3t,P3t,L3t,F3t,N3t,O3t,U3t,H3t,z3t,W3t,q3t,j3t,G3t,K3t,Q3t,V3t,PHe,Y3t,$3t,J3t,X3t,Z3t,emt,tmt,nmt,amt,rmt,fmt,imt,smt,omt,cmt,dmt,lmt,umt,pmt,hmt,mmt,bmt,ymt,gmt,vmt,wmt,Tmt,xmt,Emt,_mt,Amt,Imt,Cmt,kmt,Smt,Rmt,Mmt,Bmt,Dmt,Pmt,Lmt,Fmt,Nmt,Omt,Umt,Hmt,zmt,Wmt,qmt,jmt,Gmt,Kmt,Qmt,Vmt,Ymt,$mt,Jmt,Xmt,Zmt,ebt,tbt,nbt,abt,rbt,fbt,ibt,sbt,obt,cbt,dbt,lbt,ubt,pbt,hbt,mbt,bbt,ybt,gbt,vbt,wbt,Tbt,xbt,Ebt,_bt,Abt,Ibt,Cbt,kbt,Sbt,Rbt,Mbt,Bbt,Dbt,Pbt,Lbt,Fbt,Nbt,Obt,Ubt,Hbt,zbt,Wbt,qbt,jbt,Gbt,Kbt,Qbt,Vbt,Ybt,$bt,Jbt,Xbt,Zbt,e4t,t4t,n4t,a4t,r4t,f4t,i4t,s4t,o4t,c4t,d4t,l4t,u4t,p4t,h4t,m4t,b4t,y4t,g4t,v4t,w4t,T4t,x4t,E4t,_4t,A4t,I4t,C4t,k4t,S4t,R4t,M4t,B4t,D4t,P4t,L4t,F4t,N4t,O4t,U4t,H4t,z4t,W4t,q4t,j4t,G4t,K4t,Q4t,V4t,Y4t,$4t,J4t,X4t,Z4t,eyt,tyt,nyt,ayt,ryt,fyt,iyt,syt,oyt,cyt,dyt,lyt,uyt,pyt,hyt,myt,byt,yyt,gyt,vyt,wyt,Tyt,RW,xyt,Eyt,_yt,Ayt,Iyt,Cyt,kyt,Syt,Ryt,Myt,Byt,Dyt,Pyt,Lyt,Fyt,Nyt,Oyt,Uyt,Hyt,zyt,Wyt,qyt,jyt,Gyt,Kyt,Qyt,Vyt,Yyt,$yt,Jyt,Xyt,Zyt,e7t,t7t,n7t,a7t,r7t,f7t,i7t,s7t,o7t,c7t,d7t,l7t,u7t,p7t,h7t,m7t,b7t,y7t,g7t,v7t,w7t,T7t,x7t,E7t,_7t,A7t,I7t,C7t,k7t,S7t,R7t,M7t,B7t,D7t,P7t,L7t,F7t,N7t,O7t,U7t,H7t,z7t,W7t,q7t,j7t,G7t,K7t,Q7t,V7t,Y7t,$7t,J7t,X7t,Z7t,e9t,t9t,n9t,a9t,r9t,f9t,i9t,s9t,o9t,c9t,d9t,l9t,u9t,p9t,h9t,m9t,b9t,y9t,g9t,v9t,w9t,T9t,x9t,E9t,_9t,A9t,I9t,C9t,k9t,S9t,R9t,M9t,B9t,D9t,P9t,L9t,F9t,N9t,O9t,U9t,H9t,z9t,W9t,q9t,j9t,G9t,K9t,Q9t,V9t,Y9t,$9t,J9t,X9t,Z9t,egt,tgt,ngt,agt,rgt,fgt,igt,sgt,ogt,cgt,dgt,lgt,ugt,pgt,hgt,mgt,bgt,ygt,ggt,vgt,wgt,Tgt,xgt,Egt,_gt,Agt,Igt,Cgt,kgt,Sgt,Rgt,Mgt,Bgt,Dgt,Pgt,Lgt,Fgt,Ngt,Ogt,Ugt,Hgt,zgt,Wgt,qgt,jgt,Ggt,Kgt,Qgt,Vgt,Ygt,$gt,Jgt,Xgt,Zgt,evt,tvt,nvt,avt,rvt,fvt,ivt,svt,ovt,cvt,dvt,lvt,uvt,pvt,hvt,mvt,bvt,yvt,gvt,vvt,wvt,Tvt,xvt,Evt,_vt,Avt,Ivt,Cvt,kvt,Svt,Rvt,Mvt,Bvt,Dvt,Pvt,Lvt,Fvt,Nvt,Ovt,Uvt,Hvt,zvt,Wvt,qvt,jvt,Gvt,Kvt,Qvt,Vvt,Yvt,$vt,Jvt,Xvt,Zvt,ewt,twt,nwt,awt,rwt,fwt,iwt,swt,owt,cwt,dwt,lwt,uwt,pwt,hwt,mwt,bwt,ywt,gwt,vwt,wwt,Twt,xwt,Ewt,_wt,Awt,Iwt,Cwt,kwt,Swt,Rwt,Mwt,Bwt,Dwt,Pwt,Lwt,Fwt,Nwt,Owt,Uwt,Hwt,zwt,Wwt,qwt,jwt,Gwt,Kwt,Qwt,Vwt,Ywt,$wt,Jwt,Xwt,Zwt,eTt,tTt,nTt,aTt,rTt,fTt,iTt,sTt,oTt,cTt,dTt,lTt,uTt,pTt,hTt,mTt,bTt,yTt,gTt,vTt,wTt,TTt,xTt,ETt,_Tt,ATt,ITt,CTt,kTt,STt,RTt,MTt,BTt,DTt,PTt,LTt,FTt,NTt,OTt,UTt,HTt,zTt,WTt,qTt,jTt,GTt,KTt,QTt,VTt,YTt,$Tt,JTt,XTt,ZTt,ext,txt,nxt,axt,rxt,fxt,ixt,sxt,oxt,cxt,dxt,lxt,uxt,pxt,hxt,mxt,LHe,bxt,XS,yxt,gxt,vxt,wxt,Txt,xxt,Ext,_xt,Axt,Ixt,Cxt,FHe,NHe,kxt,Sxt,Rxt,Mxt,Bxt,Dxt,Pxt,Lxt,ZS,Fxt,Nxt,Oxt,Uxt,Hxt,zxt,Wxt,qxt,jxt,Gxt,Kxt,Qxt,Vxt,Yxt,$xt,Jxt,Xxt,Zxt,eEt,tEt,nEt,aEt,rEt,fEt,iEt,sEt,oEt,cEt,dEt,lEt,uEt,pEt,hEt,mEt,bEt,yEt,gEt,vEt,wEt,TEt,xEt,EEt,_Et,AEt,IEt,CEt,kEt,SEt,REt,MEt,BEt,DEt,PEt,LEt,FEt,NEt,OEt,UEt,HEt,zEt,WEt,qEt,jEt,GEt,KEt,QEt,VEt,YEt,$Et,JEt,XEt,ZEt,e_t,t_t,n_t,a_t,r_t,f_t,i_t,s_t,o_t,c_t,d_t,l_t,u_t,p_t,h_t,m_t,b_t,y_t,g_t,v_t,w_t,T_t,x_t,E_t,__t,A_t,I_t,C_t,k_t,S_t,R_t,M_t,B_t,D_t,P_t,L_t,F_t,N_t,O_t,U_t,H_t,z_t,W_t,q_t,j_t,G_t,K_t,Q_t,V_t,Kse,Y_t,$_t,J_t,X_t,Z_t,eAt,tAt,nAt,aAt,rAt,fAt,iAt,sAt,oAt,cAt,dAt,lAt,uAt,pAt,hAt,mAt,bAt,yAt,gAt,vAt,wAt,TAt,xAt,EAt,_At,AAt,IAt,CAt,kAt,SAt,RAt,MAt,BAt,DAt,PAt,LAt,FAt,NAt,OAt,UAt,HAt,zAt,WAt,qAt,jAt,GAt,KAt,QAt,VAt,YAt,$At,JAt,XAt,ZAt,eIt,tIt,nIt,aIt,rIt,fIt,iIt,sIt,oIt,cIt,dIt,lIt,uIt,pIt,hIt,mIt,bIt,yIt,gIt,vIt,wIt,TIt,xIt,EIt,_It,AIt,IIt,CIt,kIt,SIt,RIt,MIt,BIt,DIt,PIt,LIt,FIt,NIt,OIt,UIt,HIt,zIt,WIt,qIt,jIt,GIt,KIt,MW,QIt,VIt,YIt,$It,JIt,XIt,ZIt,eCt,tCt,nCt,aCt,rCt,fCt,iCt,sCt,oCt,cCt,dCt,lCt,uCt,pCt,hCt,mCt,bCt,yCt,gCt,vCt,wCt,TCt,xCt,ECt,_Ct,ACt,ICt,BW,CCt,kCt,SCt,RCt,MCt,BCt,DCt,PCt,LCt,FCt,NCt,OCt,UCt,HCt,zCt,WCt,qCt,jCt,GCt,KCt,QCt,VCt,YCt,$Ct,JCt,XCt,ZCt,ekt,tkt,nkt,akt,rkt,fkt,ikt,skt,okt,ckt,dkt,lkt,ukt,pkt,hkt,mkt,bkt,ykt,gkt,vkt,wkt,Tkt,xkt,Ekt,_kt,Akt,Ikt,Ckt,kkt,Skt,Rkt,Mkt,Bkt,Dkt,Pkt,Lkt,Fkt,Nkt,Okt,Ukt,Hkt,zkt,Wkt,qkt,jkt,Gkt,Kkt,Qkt,Vkt,Ykt,$kt,Jkt,Xkt,Zkt,eSt,tSt,nSt,aSt,rSt,fSt,iSt,sSt,oSt,cSt,dSt,lSt,uSt,pSt,hSt,mSt,bSt,ySt,gSt,vSt,wSt,TSt,xSt,ESt,_St,ASt,ISt,CSt,kSt,SSt,RSt,MSt,BSt,DSt,PSt,LSt,FSt,NSt,OSt,USt,HSt,zSt,WSt,qSt,jSt,GSt,KSt,QSt,VSt,YSt,$St,JSt,XSt,ZSt,eRt,tRt,nRt,aRt,rRt,fRt,iRt,sRt,oRt,cRt,dRt,lRt,uRt,pRt,hRt,mRt,bRt,yRt,gRt,vRt,wRt,TRt,xRt,ERt,_Rt,ARt,IRt,CRt,kRt,SRt,RRt,MRt,BRt,DRt,PRt,LRt,FRt,NRt,ORt,URt,HRt,zRt,WRt,qRt,jRt,GRt,KRt,QRt,VRt,YRt,$Rt,JRt,XRt,ZRt,eMt,tMt,nMt,aMt,rMt,fMt,iMt,sMt,oMt,cMt,dMt,lMt,uMt,pMt,hMt,mMt,bMt,yMt,gMt,vMt,wMt,TMt,xMt,EMt,_Mt,AMt,IMt,CMt,kMt,SMt,RMt,MMt,OHe,BMt,DMt,PMt,LMt,FMt,NMt,OMt,UMt,HMt,zMt,WMt,qMt,jMt,GMt,KMt,QMt,VMt,YMt,$Mt,JMt,XMt,ZMt,eBt,tBt,nBt,aBt,rBt,fBt,iBt,sBt,oBt,cBt,dBt,lBt,uBt,pBt,hBt,mBt,bBt,yBt,gBt,vBt,wBt,TBt,xBt,EBt,_Bt,ABt,IBt,CBt,kBt,SBt,RBt,MBt,BBt,DBt,PBt,LBt,FBt,NBt,OBt,UBt,HBt,zBt,WBt,qBt,jBt,GBt,KBt,QBt,VBt,YBt,$Bt,JBt,XBt,ZBt,eDt,tDt,nDt,aDt,rDt,fDt,iDt,sDt,oDt,cDt,dDt,lDt,uDt,pDt,hDt,mDt,bDt,yDt,gDt,vDt,wDt,TDt,xDt,EDt,_Dt,ADt,IDt,CDt,kDt,SDt,RDt,MDt,BDt,DDt,PDt,LDt,FDt,NDt,ODt,UDt,HDt,zDt,WDt,qDt,jDt,GDt,KDt,QDt,VDt,YDt,$Dt,JDt,XDt,ZDt,ePt,tPt,nPt,aPt,rPt,fPt,iPt,sPt,oPt,Qse,cPt,dPt,lPt,uPt,pPt,hPt,mPt,bPt,yPt,gPt,vPt,wPt,UHe,DW,TPt,xPt,EPt,_Pt,APt,IPt,CPt,kPt,SPt,RPt,MPt,BPt,DPt,PPt,LPt,FPt,NPt,OPt,UPt,HPt,zPt,WPt,qPt,jPt,GPt,KPt,QPt,VPt,YPt,$Pt,JPt,XPt,ZPt,eLt,tLt,nLt,aLt,rLt,fLt,iLt,sLt,oLt,cLt,dLt,lLt,uLt,pLt,hLt,mLt,bLt,yLt,gLt,vLt,wLt,TLt,xLt,ELt,_Lt,ALt,ILt,Vse,CLt,kLt,SLt,RLt,MLt,BLt,DLt,PLt,LLt,FLt,NLt,OLt,ULt,HLt,zLt,WLt,qLt,jLt,GLt,KLt,QLt,VLt,YLt,$Lt,JLt,XLt,ZLt,eFt,tFt,nFt,aFt,rFt,fFt,iFt,sFt,oFt,cFt,dFt,lFt,uFt,pFt,hFt,mFt,bFt,yFt,gFt,vFt,wFt]});function EFt(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function _Ft(t){var e=EFt(t,"string");return typeof e=="symbol"?e:e+""}function Pe(t,e,n){return e=_Ft(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var It=oe(()=>{"use strict";u();p()});function AFt(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function Yse(t,...e){if(!AFt(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`)}function $se(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function WHe(t,e){Yse(t);let n=e.outputLen;if(t.length{u();p()});function IFt(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function Xse(t){return typeof t=="string"&&(t=IFt(t)),Yse(t),t}function qHe(t){let e=a=>t().update(Xse(a)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}var LW,xl,asa,PW,rsa,Zse=oe(()=>{u();p();Jse();LW=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),xl=(t,e)=>t<<32-e|t>>>e,asa=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;PW=class{clone(){return this._cloneInto()}},rsa={}.toString});function CFt(t,e,n,a){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,a);let r=BigInt(32),f=BigInt(4294967295),i=Number(n>>r&f),s=Number(n&f),o=a?4:0,c=a?0:4;t.setUint32(e+o,i,a),t.setUint32(e+c,s,a)}var jHe,GHe,FW,KHe=oe(()=>{u();p();Jse();Zse();jHe=(t,e,n)=>t&e^~t&n,GHe=(t,e,n)=>t&e^t&n^e&n,FW=class extends PW{constructor(e,n,a,r){super(),this.blockLen=e,this.outputLen=n,this.padOffset=a,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=LW(this.buffer)}update(e){$se(this);let{view:n,buffer:a,blockLen:r}=this;e=Xse(e);let f=e.length;for(let i=0;ir-i&&(this.process(a,0),i=0);for(let l=i;ld.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l{u();p();KHe();Zse();kFt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Im=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Cm=new Uint32Array(64),eoe=class extends FW{constructor(){super(64,32,8,!1),this.A=Im[0]|0,this.B=Im[1]|0,this.C=Im[2]|0,this.D=Im[3]|0,this.E=Im[4]|0,this.F=Im[5]|0,this.G=Im[6]|0,this.H=Im[7]|0}get(){let{A:e,B:n,C:a,D:r,E:f,F:i,G:s,H:o}=this;return[e,n,a,r,f,i,s,o]}set(e,n,a,r,f,i,s,o){this.A=e|0,this.B=n|0,this.C=a|0,this.D=r|0,this.E=f|0,this.F=i|0,this.G=s|0,this.H=o|0}process(e,n){for(let l=0;l<16;l++,n+=4)Cm[l]=e.getUint32(n,!1);for(let l=16;l<64;l++){let h=Cm[l-15],y=Cm[l-2],v=xl(h,7)^xl(h,18)^h>>>3,k=xl(y,17)^xl(y,19)^y>>>10;Cm[l]=k+Cm[l-7]+v+Cm[l-16]|0}let{A:a,B:r,C:f,D:i,E:s,F:o,G:c,H:d}=this;for(let l=0;l<64;l++){let h=xl(s,6)^xl(s,11)^xl(s,25),y=d+h+jHe(s,o,c)+kFt[l]+Cm[l]|0,k=(xl(a,2)^xl(a,13)^xl(a,22))+GHe(a,r,f)|0;d=c,c=o,o=s,s=i+y|0,i=f,f=r,r=a,a=y+k|0}a=a+this.A|0,r=r+this.B|0,f=f+this.C|0,i=i+this.D|0,s=s+this.E|0,o=o+this.F|0,c=c+this.G|0,d=d+this.H|0,this.set(a,r,f,i,s,o,c,d)}roundClean(){Cm.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},QHe=qHe(()=>new eoe)});var YHe=D((gsa,NW)=>{u();p();(function(){"use strict";var t="input is invalid type",e="finalize already called",n=typeof window=="object",a=n?window:{};a.JS_SHA3_NO_WINDOW&&(n=!1);var r=!n&&typeof self=="object",f=!a.JS_SHA3_NO_NODE_JS&&typeof x=="object"&&x.versions&&x.versions.node;f?a=global:r&&(a=self);for(var i=!a.JS_SHA3_NO_COMMON_JS&&typeof NW=="object"&&NW.exports,s=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136},j=a.JS_SHA3_NO_NODE_JS||!Array.isArray?function(Y){return Object.prototype.toString.call(Y)==="[object Array]"}:Array.isArray,Q=o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)?function(Y){return typeof Y=="object"&&Y.buffer&&Y.buffer.constructor===ArrayBuffer}:ArrayBuffer.isView,V=function(Y){var re=typeof Y;if(re==="string")return[Y,!0];if(re!=="object"||Y===null)throw new Error(t);if(o&&Y.constructor===ArrayBuffer)return[new Uint8Array(Y),!1];if(!j(Y)&&!Q(Y))throw new Error(t);return[Y,!1]},X=function(Y){return V(Y)[0].length===0},K=function(Y){for(var re=[],ie=0;ie>5,this.byteCount=this.blockCount<<2,this.outputBlocks=ie>>5,this.extraBytes=(ie&31)>>3;for(var ge=0;ge<50;++ge)this.s[ge]=0}Z.prototype.update=function(Y){if(this.finalized)throw new Error(e);var re=V(Y);Y=re[0];for(var ie=re[1],ge=this.blocks,de=this.byteCount,Ae=Y.length,Ge=this.blockCount,Be=0,c0=this.s,Ye,He;Be>2]|=He<>2]|=(192|He>>6)<>2]|=(128|He&63)<=57344?(ge[Ye>>2]|=(224|He>>12)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=(240|He>>18)<>2]|=(128|He>>12&63)<>2]|=(128|He>>6&63)<>2]|=(128|He&63)<>2]|=Y[Be]<=de){for(this.start=Ye-de,this.block=ge[Ge],Ye=0;Ye>8,ie=Y&255;ie>0;)de.unshift(ie),Y=Y>>8,ie=Y&255,++ge;return re?de.push(ge):de.unshift(ge),this.update(de),de.length},Z.prototype.encodeString=function(Y){var re=V(Y);Y=re[0];var ie=re[1],ge=0,de=Y.length;if(ie)for(var Ae=0;Ae=57344?ge+=3:(Ge=65536+((Ge&1023)<<10|Y.charCodeAt(++Ae)&1023),ge+=4)}else ge=de;return ge+=this.encode(ge*8),this.update(Y),ge},Z.prototype.bytepad=function(Y,re){for(var ie=this.encode(re),ge=0;ge>2]|=this.padding[re&3],this.lastByteIndex===this.byteCount)for(Y[0]=Y[ie],re=1;re>4&15]+c[Be&15]+c[Be>>12&15]+c[Be>>8&15]+c[Be>>20&15]+c[Be>>16&15]+c[Be>>28&15]+c[Be>>24&15];Ae%Y===0&&(re=K(re),ue(re),de=0)}return ge&&(Be=re[de],Ge+=c[Be>>4&15]+c[Be&15],ge>1&&(Ge+=c[Be>>12&15]+c[Be>>8&15]),ge>2&&(Ge+=c[Be>>20&15]+c[Be>>16&15])),Ge},Z.prototype.arrayBuffer=function(){this.finalize();var Y=this.blockCount,re=this.s,ie=this.outputBlocks,ge=this.extraBytes,de=0,Ae=0,Ge=this.outputBits>>3,Be;ge?Be=new ArrayBuffer(ie+1<<2):Be=new ArrayBuffer(Ge);for(var c0=new Uint32Array(Be);Ae>8&255,Ge[Be+2]=c0>>16&255,Ge[Be+3]=c0>>24&255;Ae%Y===0&&(re=K(re),ue(re))}return ge&&(Be=Ae<<2,c0=re[de],Ge[Be]=c0&255,ge>1&&(Ge[Be+1]=c0>>8&255),ge>2&&(Ge[Be+2]=c0>>16&255)),Ge};function ne(Y,re,ie){Z.call(this,Y,re,ie)}ne.prototype=new Z,ne.prototype.finalize=function(){return this.encode(this.outputBits,!0),Z.prototype.finalize.call(this)};var ue=function(Y){var re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,C0,pe,he,Te,Ie,Se,Qe,u0,qe,v0,w0,Ve,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,Et,$0,Tt,Pn,Ln,Fn,Nn,On,Ha,pr,za,hr,ar;for(ge=0;ge<48;ge+=2)de=Y[0]^Y[10]^Y[20]^Y[30]^Y[40],Ae=Y[1]^Y[11]^Y[21]^Y[31]^Y[41],Ge=Y[2]^Y[12]^Y[22]^Y[32]^Y[42],Be=Y[3]^Y[13]^Y[23]^Y[33]^Y[43],c0=Y[4]^Y[14]^Y[24]^Y[34]^Y[44],Ye=Y[5]^Y[15]^Y[25]^Y[35]^Y[45],He=Y[6]^Y[16]^Y[26]^Y[36]^Y[46],_0=Y[7]^Y[17]^Y[27]^Y[37]^Y[47],L0=Y[8]^Y[18]^Y[28]^Y[38]^Y[48],Ze=Y[9]^Y[19]^Y[29]^Y[39]^Y[49],re=L0^(Ge<<1|Be>>>31),ie=Ze^(Be<<1|Ge>>>31),Y[0]^=re,Y[1]^=ie,Y[10]^=re,Y[11]^=ie,Y[20]^=re,Y[21]^=ie,Y[30]^=re,Y[31]^=ie,Y[40]^=re,Y[41]^=ie,re=de^(c0<<1|Ye>>>31),ie=Ae^(Ye<<1|c0>>>31),Y[2]^=re,Y[3]^=ie,Y[12]^=re,Y[13]^=ie,Y[22]^=re,Y[23]^=ie,Y[32]^=re,Y[33]^=ie,Y[42]^=re,Y[43]^=ie,re=Ge^(He<<1|_0>>>31),ie=Be^(_0<<1|He>>>31),Y[4]^=re,Y[5]^=ie,Y[14]^=re,Y[15]^=ie,Y[24]^=re,Y[25]^=ie,Y[34]^=re,Y[35]^=ie,Y[44]^=re,Y[45]^=ie,re=c0^(L0<<1|Ze>>>31),ie=Ye^(Ze<<1|L0>>>31),Y[6]^=re,Y[7]^=ie,Y[16]^=re,Y[17]^=ie,Y[26]^=re,Y[27]^=ie,Y[36]^=re,Y[37]^=ie,Y[46]^=re,Y[47]^=ie,re=He^(de<<1|Ae>>>31),ie=_0^(Ae<<1|de>>>31),Y[8]^=re,Y[9]^=ie,Y[18]^=re,Y[19]^=ie,Y[28]^=re,Y[29]^=ie,Y[38]^=re,Y[39]^=ie,Y[48]^=re,Y[49]^=ie,C0=Y[0],pe=Y[1],l0=Y[11]<<4|Y[10]>>>28,Q0=Y[10]<<4|Y[11]>>>28,_e=Y[20]<<3|Y[21]>>>29,ze=Y[21]<<3|Y[20]>>>29,pr=Y[31]<<9|Y[30]>>>23,za=Y[30]<<9|Y[31]>>>23,K0=Y[40]<<18|Y[41]>>>14,s0=Y[41]<<18|Y[40]>>>14,$e=Y[2]<<1|Y[3]>>>31,M0=Y[3]<<1|Y[2]>>>31,he=Y[13]<<12|Y[12]>>>20,Te=Y[12]<<12|Y[13]>>>20,et=Y[22]<<10|Y[23]>>>22,p0=Y[23]<<10|Y[22]>>>22,je=Y[33]<<13|Y[32]>>>19,Ue=Y[32]<<13|Y[33]>>>19,hr=Y[42]<<2|Y[43]>>>30,ar=Y[43]<<2|Y[42]>>>30,Pn=Y[5]<<30|Y[4]>>>2,Ln=Y[4]<<30|Y[5]>>>2,P0=Y[14]<<6|Y[15]>>>26,t0=Y[15]<<6|Y[14]>>>26,Ie=Y[25]<<11|Y[24]>>>21,Se=Y[24]<<11|Y[25]>>>21,Z0=Y[34]<<15|Y[35]>>>17,Et=Y[35]<<15|Y[34]>>>17,m0=Y[45]<<29|Y[44]>>>3,h0=Y[44]<<29|Y[45]>>>3,w0=Y[6]<<28|Y[7]>>>4,Ve=Y[7]<<28|Y[6]>>>4,Fn=Y[17]<<23|Y[16]>>>9,Nn=Y[16]<<23|Y[17]>>>9,j0=Y[26]<<25|Y[27]>>>7,z0=Y[27]<<25|Y[26]>>>7,Qe=Y[36]<<21|Y[37]>>>11,u0=Y[37]<<21|Y[36]>>>11,$0=Y[47]<<24|Y[46]>>>8,Tt=Y[46]<<24|Y[47]>>>8,J0=Y[8]<<27|Y[9]>>>5,Y0=Y[9]<<27|Y[8]>>>5,me=Y[18]<<20|Y[19]>>>12,ye=Y[19]<<20|Y[18]>>>12,On=Y[29]<<7|Y[28]>>>25,Ha=Y[28]<<7|Y[29]>>>25,Ke=Y[38]<<8|Y[39]>>>24,B0=Y[39]<<8|Y[38]>>>24,qe=Y[48]<<14|Y[49]>>>18,v0=Y[49]<<14|Y[48]>>>18,Y[0]=C0^~he&Ie,Y[1]=pe^~Te&Se,Y[10]=w0^~me&_e,Y[11]=Ve^~ye&ze,Y[20]=$e^~P0&j0,Y[21]=M0^~t0&z0,Y[30]=J0^~l0&et,Y[31]=Y0^~Q0&p0,Y[40]=Pn^~Fn&On,Y[41]=Ln^~Nn&Ha,Y[2]=he^~Ie&Qe,Y[3]=Te^~Se&u0,Y[12]=me^~_e&je,Y[13]=ye^~ze&Ue,Y[22]=P0^~j0&Ke,Y[23]=t0^~z0&B0,Y[32]=l0^~et&Z0,Y[33]=Q0^~p0&Et,Y[42]=Fn^~On&pr,Y[43]=Nn^~Ha&za,Y[4]=Ie^~Qe&qe,Y[5]=Se^~u0&v0,Y[14]=_e^~je&m0,Y[15]=ze^~Ue&h0,Y[24]=j0^~Ke&K0,Y[25]=z0^~B0&s0,Y[34]=et^~Z0&$0,Y[35]=p0^~Et&Tt,Y[44]=On^~pr&hr,Y[45]=Ha^~za&ar,Y[6]=Qe^~qe&C0,Y[7]=u0^~v0&pe,Y[16]=je^~m0&w0,Y[17]=Ue^~h0&Ve,Y[26]=Ke^~K0&$e,Y[27]=B0^~s0&M0,Y[36]=Z0^~$0&J0,Y[37]=Et^~Tt&Y0,Y[46]=pr^~hr&Pn,Y[47]=za^~ar&Ln,Y[8]=qe^~C0&he,Y[9]=v0^~pe&Te,Y[18]=m0^~w0&me,Y[19]=h0^~Ve&ye,Y[28]=K0^~$e&P0,Y[29]=s0^~M0&t0,Y[38]=$0^~J0&l0,Y[39]=Tt^~Y0&Q0,Y[48]=hr^~Pn&Fn,Y[49]=ar^~Ln&Nn,Y[0]^=k[ge],Y[1]^=k[ge+1]};if(i)NW.exports=g;else{for(M=0;Mr+f.length,0));let n=new Uint8Array(e),a=0;for(let r of t)ioe(r),n.set(r,a),a+=r.length;return n}function FFt(t){if(typeof t!="string")throw new TypeError(`Expected \`string\`, got \`${typeof t}\``)}function NFt(t){return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function OFt(t){return t.replaceAll("-","+").replaceAll("_","/")}function HFt(t){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ioe(t);let n;if(t.lengthe.codePointAt(0))}function WFt(t){ioe(t);let e="";for(let n=0;n3&&arguments[3]!==void 0?arguments[3]:{},i=await OW(),{key:s,iv:o}=await QFt(n,t,a,r,f);try{let c=await i.subtle.decrypt({name:"AES-CBC",iv:o},s,e);return ZHe().decode(c)}catch{throw new Error("Decrypt failed")}}function KFt(t){let e=null,n=eze(t),[a,r]=roe(n,qFt*4),f=new DataView(a.buffer);return f.getInt32(0)===1398893684&&f.getInt32(4)===1701076831&&([e,n]=roe(r,jFt*4)),{ciphertext:n,salt:e}}async function QFt(t,e,n,a,r){let f=await OW(),i=foe().encode(t),s=VFt(i,e,n+a,r),[o,c]=roe(s,n*4);return{key:await f.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function VFt(t,e,n,a){let r=new Uint8Array,f=new Uint8Array;for(;r.byteLength{"use strict";u();p();VHe();SFt=Ee(YHe()),toe=class{get encoder(){return this._encoder||(this._encoder=new TextEncoder),this._encoder}get decoder(){return this._decoder||(this._decoder=new TextDecoder),this._decoder}},XHe=new toe;$He="input is invalid type",RFt="finalize already called",MFt=[128,32768,8388608,-2147483648];noe=class{constructor(){ae(this,"lastByteIndex",0);let e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e),this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}update(e){if(this.finalized)throw new Error(RFt);let[n,a]=BFt(e),r=this.blocks,f=0;ArrayBuffer.isView(n)?f=n.byteLength:f=n.length;let i,s=0,o,c=this.buffer8;for(;s>>6,c[o++]=128|i&63):i<55296||i>=57344?(c[o++]=224|i>>>12,c[o++]=128|i>>>6&63,c[o++]=128|i&63):(i=65536+((i&1023)<<10|n.charCodeAt(++s)&1023),c[o++]=240|i>>>18,c[o++]=128|i>>>12&63,c[o++]=128|i>>>6&63,c[o++]=128|i&63);else for(o=this.start;s=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}finalize(){if(this.finalized)return;this.finalized=!0;let e=this.blocks,n=this.lastByteIndex;e[n>>>2]|=MFt[n&3],n>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}hash(){let e=this.blocks,n,a,r,f,i,s;this.first?(n=e[0]-680876937,n=(n<<7|n>>>25)-271733879<<0,f=(-1732584194^n&2004318071)+e[1]-117830708,f=(f<<12|f>>>20)+n<<0,r=(-271733879^f&(n^-271733879))+e[2]-1126478375,r=(r<<17|r>>>15)+f<<0,a=(n^r&(f^n))+e[3]-1316259209,a=(a<<22|a>>>10)+r<<0):(n=this.h0,a=this.h1,r=this.h2,f=this.h3,n+=(f^a&(r^f))+e[0]-680876936,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[1]-389564586,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[2]+606105819,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[3]-1044525330,a=(a<<22|a>>>10)+r<<0),n+=(f^a&(r^f))+e[4]-176418897,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[5]+1200080426,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[6]-1473231341,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[7]-45705983,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[8]+1770035416,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[9]-1958414417,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[10]-42063,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[11]-1990404162,a=(a<<22|a>>>10)+r<<0,n+=(f^a&(r^f))+e[12]+1804603682,n=(n<<7|n>>>25)+a<<0,f+=(r^n&(a^r))+e[13]-40341101,f=(f<<12|f>>>20)+n<<0,r+=(a^f&(n^a))+e[14]-1502002290,r=(r<<17|r>>>15)+f<<0,a+=(n^r&(f^n))+e[15]+1236535329,a=(a<<22|a>>>10)+r<<0,n+=(r^f&(a^r))+e[1]-165796510,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[6]-1069501632,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[11]+643717713,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[0]-373897302,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[5]-701558691,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[10]+38016083,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[15]-660478335,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[4]-405537848,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[9]+568446438,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[14]-1019803690,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[3]-187363961,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[8]+1163531501,a=(a<<20|a>>>12)+r<<0,n+=(r^f&(a^r))+e[13]-1444681467,n=(n<<5|n>>>27)+a<<0,f+=(a^r&(n^a))+e[2]-51403784,f=(f<<9|f>>>23)+n<<0,r+=(n^a&(f^n))+e[7]+1735328473,r=(r<<14|r>>>18)+f<<0,a+=(f^n&(r^f))+e[12]-1926607734,a=(a<<20|a>>>12)+r<<0,i=a^r,n+=(i^f)+e[5]-378558,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[8]-2022574463,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[11]+1839030562,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[14]-35309556,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[1]-1530992060,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[4]+1272893353,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[7]-155497632,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[10]-1094730640,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[13]+681279174,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[0]-358537222,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[3]-722521979,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[6]+76029189,a=(a<<23|a>>>9)+r<<0,i=a^r,n+=(i^f)+e[9]-640364487,n=(n<<4|n>>>28)+a<<0,f+=(i^n)+e[12]-421815835,f=(f<<11|f>>>21)+n<<0,s=f^n,r+=(s^a)+e[15]+530742520,r=(r<<16|r>>>16)+f<<0,a+=(s^r)+e[2]-995338651,a=(a<<23|a>>>9)+r<<0,n+=(r^(a|~f))+e[0]-198630844,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[7]+1126891415,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[14]-1416354905,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[5]-57434055,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[12]+1700485571,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[3]-1894986606,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[10]-1051523,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[1]-2054922799,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[8]+1873313359,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[15]-30611744,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[6]-1560198380,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[13]+1309151649,a=(a<<21|a>>>11)+r<<0,n+=(r^(a|~f))+e[4]-145523070,n=(n<<6|n>>>26)+a<<0,f+=(a^(n|~r))+e[11]-1120210379,f=(f<<10|f>>>22)+n<<0,r+=(n^(f|~a))+e[2]+718787259,r=(r<<15|r>>>17)+f<<0,a+=(f^(r|~n))+e[9]-343485551,a=(a<<21|a>>>11)+r<<0,this.first?(this.h0=n+1732584193<<0,this.h1=a-271733879<<0,this.h2=r-1732584194<<0,this.h3=f+271733878<<0,this.first=!1):(this.h0=this.h0+n<<0,this.h1=this.h1+a<<0,this.h2=this.h2+r<<0,this.h3=this.h3+f<<0)}arrayBuffer(){this.finalize();let e=new ArrayBuffer(16),n=new Uint32Array(e);return n[0]=this.h0,n[1]=this.h1,n[2]=this.h2,n[3]=this.h3,e}};DFt=Object.prototype.toString,PFt="[object Uint8Array]";UFt=65535;zFt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));qFt=2,jFt=2});function d0(t,e){if(!t){if(JFt)throw new Error(soe);var n=typeof e=="function"?e():e,a=n?"".concat(soe,": ").concat(n):soe;throw new Error(a)}}var JFt,soe,ir=oe(()=>{u();p();JFt=x.env.NODE_ENV==="production",soe="Invariant failed"});var rze=D((Ssa,aze)=>{"use strict";u();p();function XFt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");k=Q,O++}for(var X=z-k;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(k+(F-V)),K=k;V!==F;)X[K++]=z[V++];return X}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}aze.exports=XFt});var io=D((Bsa,fze)=>{u();p();var ZFt=rze(),eNt="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";fze.exports=ZFt(eNt)});var sze,ize=oe(()=>{sze=[{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var ooe,oze=oe(()=>{ooe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var dze,cze=oe(()=>{dze=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var coe,lze=oe(()=>{coe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var doe,uze=oe(()=>{doe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var K1=D((Hsa,iNt)=>{iNt.exports=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"who",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var hze,pze=oe(()=>{hze=[{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"}]});var loe,mze=oe(()=>{loe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var zW,bze=oe(()=>{zW=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var gze,yze=oe(()=>{gze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var uoe=D((Gsa,lNt)=>{lNt.exports=[{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var wze,vze=oe(()=>{wze=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var xze,Tze=oe(()=>{xze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var poe,Eze=oe(()=>{poe=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var Aze,_ze=oe(()=>{Aze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"encryptedBaseURI",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var yx=D(($sa,bNt)=>{bNt.exports=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var Cze,Ize=oe(()=>{Cze=[{type:"function",name:"tokenByIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var Sze,kze=oe(()=>{Sze=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"explicitOwnershipOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct IERC721AUpgradeable.TokenOwnership",components:[{name:"addr",type:"address",internalType:"address"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"burned",type:"bool",internalType:"bool"},{name:"extraData",type:"uint24",internalType:"uint24"}]}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokensOfOwner",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"tokensOfOwnerIn",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"start",type:"uint256",internalType:"uint256"},{name:"stop",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ConsecutiveTransfer",inputs:[{name:"fromTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"toTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"InvalidQueryRange",inputs:[]},{type:"error",name:"MintERC2309QuantityExceedsLimit",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"OwnershipNotInitializedForExtraData",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Mze,Rze=oe(()=>{Mze=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var eR,Bze=oe(()=>{eR=[{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var hoe,Dze=oe(()=>{hoe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var Lze,Pze=oe(()=>{Lze=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var Nze,Fze=oe(()=>{Nze=[{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"}]});var Uze,Oze=oe(()=>{Uze=[{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getMetadataForAllTiers",inputs:[],outputs:[{name:"metadataForAllTiers",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TierMetadata[]",components:[{name:"tier",type:"string",internalType:"string"},{name:"ranges",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TokenRange[]",components:[{name:"startIdInclusive",type:"uint256",internalType:"uint256"},{name:"endIdNonInclusive",type:"uint256",internalType:"uint256"}]},{name:"baseURIs",type:"string[]",internalType:"string[]"}]}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_tier",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"tier",type:"string",indexed:!0,internalType:"string"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var zze,Hze=oe(()=>{zze=[{type:"function",name:"setSharedMetadata",inputs:[{name:"_metadata",type:"tuple",internalType:"struct ISharedMetadata.SharedMetadataInfo",components:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"sharedMetadata",inputs:[],outputs:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SharedMetadataUpdated",inputs:[{name:"name",type:"string",indexed:!1,internalType:"string"},{name:"description",type:"string",indexed:!1,internalType:"string"},{name:"imageURI",type:"string",indexed:!1,internalType:"string"},{name:"animationURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var qze,Wze=oe(()=>{qze=[{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"Access_MissingRoleOrAdmin",type:"error"},{inputs:[],name:"Access_OnlyAdmin",type:"error"},{inputs:[],name:"Access_WithdrawNotAllowed",type:"error"},{inputs:[{internalType:"address",name:"proposedAddress",type:"address"}],name:"Admin_InvalidUpgradeAddress",type:"error"},{inputs:[],name:"Admin_UnableToFinalizeNotOpenEdition",type:"error"},{inputs:[],name:"ExternalMetadataRenderer_CallFailed",type:"error"},{inputs:[],name:"InvalidMintSchedule",type:"error"},{inputs:[],name:"MarketFilterDAOAddressNotSupportedForChain",type:"error"},{inputs:[],name:"MintFee_FundsSendFailure",type:"error"},{inputs:[],name:"Mint_SoldOut",type:"error"},{inputs:[{internalType:"address",name:"operator",type:"address"}],name:"OperatorNotAllowed",type:"error"},{inputs:[],name:"Presale_Inactive",type:"error"},{inputs:[],name:"Presale_MerkleNotApproved",type:"error"},{inputs:[],name:"Presale_TooManyForAddress",type:"error"},{inputs:[],name:"Purchase_TooManyForAddress",type:"error"},{inputs:[{internalType:"uint256",name:"correctPrice",type:"uint256"}],name:"Purchase_WrongPrice",type:"error"},{inputs:[],name:"RemoteOperatorFilterRegistryCallFailed",type:"error"},{inputs:[],name:"Sale_Inactive",type:"error"},{inputs:[{internalType:"uint16",name:"maxRoyaltyBPS",type:"uint16"}],name:"Setup_RoyaltyPercentageTooHigh",type:"error"},{inputs:[],name:"Withdraw_FundsSendFailure",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"newAddress",type:"address"},{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"FundsRecipientChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"withdrawnBy",type:"address"},{indexed:!0,internalType:"address",name:"withdrawnTo",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"address",name:"feeRecipient",type:"address"},{indexed:!1,internalType:"uint256",name:"feeAmount",type:"uint256"}],name:"FundsWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"tokenContract",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!1,internalType:"string",name:"comment",type:"string"}],name:"MintComment",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"mintFeeAmount",type:"uint256"},{indexed:!1,internalType:"address",name:"mintFeeRecipient",type:"address"},{indexed:!1,internalType:"bool",name:"success",type:"bool"}],name:"MintFeePayout",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"numberOfMints",type:"uint256"}],name:"OpenMintFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!0,internalType:"uint256",name:"pricePerToken",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstPurchasedTokenId",type:"uint256"}],name:"Sale",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"SalesConfigChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"contract IMetadataRenderer",name:"renderer",type:"address"}],name:"UpdatedMetadataRenderer",type:"event"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"quantity",type:"uint256"}],name:"adminMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"to",type:"address[]"}],name:"adminMintAirdrop",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"isAdmin",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"minter",type:"address"}],name:"mintedPerAddress",outputs:[{components:[{internalType:"uint256",name:"totalMints",type:"uint256"},{internalType:"uint256",name:"presaleMints",type:"uint256"},{internalType:"uint256",name:"publicMints",type:"uint256"}],internalType:"struct IERC721Drop.AddressMintDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"}],name:"purchase",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"},{internalType:"uint256",name:"maxQuantity",type:"uint256"},{internalType:"uint256",name:"pricePerToken",type:"uint256"},{internalType:"bytes32[]",name:"merkleProof",type:"bytes32[]"}],name:"purchasePresale",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[],name:"saleDetails",outputs:[{components:[{internalType:"bool",name:"publicSaleActive",type:"bool"},{internalType:"bool",name:"presaleActive",type:"bool"},{internalType:"uint256",name:"publicSalePrice",type:"uint256"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"},{internalType:"uint256",name:"maxSalePurchasePerAddress",type:"uint256"},{internalType:"uint256",name:"totalMinted",type:"uint256"},{internalType:"uint256",name:"maxSupply",type:"uint256"}],internalType:"struct IERC721Drop.SaleDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IMetadataRenderer",name:"newRenderer",type:"address"},{internalType:"bytes",name:"setupRenderer",type:"bytes"}],name:"setMetadataRenderer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint104",name:"publicSalePrice",type:"uint104"},{internalType:"uint32",name:"maxSalePurchasePerAddress",type:"uint32"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"}],name:"setSaleConfiguration",outputs:[],stateMutability:"nonpayable",type:"function"}]});var Gze,jze=oe(()=>{Gze=[{type:"function",name:"cancel",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"revoke",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var moe,Kze=oe(()=>{moe=[{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var boe=D((coa,SNt)=>{SNt.exports=[{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var Vze,Qze=oe(()=>{Vze=[{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"}]});var $ze,Yze=oe(()=>{$ze=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var Xze,Jze=oe(()=>{Xze=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var yoe,Zze=oe(()=>{yoe=[{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var tWe,eWe=oe(()=>{tWe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var aWe,nWe=oe(()=>{aWe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var gx=D((boa,FNt)=>{FNt.exports=[{type:"function",name:"balanceOf",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"_owners",type:"address[]",internalType:"address[]"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"},{name:"_values",type:"uint256[]",internalType:"uint256[]"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"_operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ApprovalForAll",inputs:[{name:"_owner",type:"address",indexed:!0,internalType:"address"},{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"_values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"_value",type:"string",indexed:!1,internalType:"string"},{name:"_id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var goe=D((yoa,NNt)=>{NNt.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var fWe,rWe=oe(()=>{fWe=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var sWe,iWe=oe(()=>{sWe=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var voe,oWe=oe(()=>{voe=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var dWe,cWe=oe(()=>{dWe=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var uWe,lWe=oe(()=>{uWe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var hWe,pWe=oe(()=>{hWe=[{type:"function",name:"appURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setAppURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AppURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var bWe,mWe=oe(()=>{bWe=[{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var gWe,yWe=oe(()=>{gWe=[{type:"function",name:"approveBuyerForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyer",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approveCurrencyForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerTokenInCurrency",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"buyFromListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_expectedTotalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getAllValidListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listing",type:"tuple",internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"BuyerApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"buyer",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"CancelledListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CurrencyApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"currency",type:"address",indexed:!0,internalType:"address"},{name:"pricePerToken",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"UpdatedListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1}]});var wWe,vWe=oe(()=>{wWe=[{type:"function",name:"bidInAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionPayout",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionTokens",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createAuction",inputs:[{name:"_params",type:"tuple",internalType:"struct IEnglishAuctions.AuctionParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"}]}],outputs:[{name:"auctionId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auction",type:"tuple",internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"bidder",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"bidAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isAuctionExpired",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isNewWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"AuctionClosed",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"CancelledAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1},{type:"event",name:"NewBid",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"bidder",type:"address",indexed:!0,internalType:"address"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"bidAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1}]});var xWe,TWe=oe(()=>{xWe=[{type:"function",name:"acceptOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"cancelOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offer",type:"tuple",internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"makeOffer",inputs:[{name:"_params",type:"tuple",internalType:"struct IOffers.OfferParams",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"offerId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"AcceptedOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"seller",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CancelledOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"offer",type:"tuple",indexed:!1,internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],anonymous:!1}]});var WW,woe=oe(()=>{WW=[{type:"function",name:"canClaimRewards",inputs:[{name:"_opener",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"claimRewards",inputs:[],outputs:[{name:"rewardUnits",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"createPack",inputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"packUri",type:"string",internalType:"string"},{name:"openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"openPack",inputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"requestId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"openPackAndClaimRewards",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"},{name:"_callBackGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpenRequested",inputs:[{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"amountToOpen",type:"uint256",indexed:!1,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackRandomnessFulfilled",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var _We,EWe=oe(()=>{_We=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var IWe,AWe=oe(()=>{IWe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var kWe,CWe=oe(()=>{kWe=[{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var RWe,SWe=oe(()=>{RWe=[{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var BWe,MWe=oe(()=>{BWe=[{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"recipient",type:"address",internalType:"address"},{name:"bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var PWe,DWe=oe(()=>{PWe=[{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"OwnableUnauthorized",inputs:[]}]});var FWe,LWe=oe(()=>{FWe=[{type:"function",name:"airdropERC20",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC20.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"payable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var OWe,NWe=oe(()=>{OWe=[{type:"function",name:"airdropERC721",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC721.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var HWe,UWe=oe(()=>{HWe=[{type:"function",name:"airdropERC1155",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC1155.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var WWe,zWe=oe(()=>{WWe=[{type:"function",name:"accountImplementation",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createAccount",inputs:[{name:"admin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"account",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"getAccountsOfSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"accounts",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAddress",inputs:[{name:"adminSigner",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllAccounts",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"event",name:"AccountCreated",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"accountAdmin",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerAdded",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerRemoved",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var jWe,qWe=oe(()=>{jWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var KWe,GWe=oe(()=>{KWe=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setAdmin",inputs:[{name:"account",type:"address",internalType:"address"},{name:"isAdmin",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var VWe,QWe=oe(()=>{VWe=[{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"}]});var qW=D((Woa,oOt)=>{oOt.exports=[{type:"constructor",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getAllPublishedContracts",inputs:[{name:"_publisher",type:"address",internalType:"address"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple",internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContractVersions",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedUriFromCompilerUri",inputs:[{name:"compilerMetadataUri",type:"string",internalType:"string"}],outputs:[{name:"publishedMetadataUris",type:"string[]",internalType:"string[]"}],stateMutability:"view"},{type:"function",name:"getPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"}],outputs:[{name:"uri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isPaused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"prevPublisher",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"view"},{type:"function",name:"publishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"},{name:"_publishMetadataUri",type:"string",internalType:"string"},{name:"_compilerMetadataUri",type:"string",internalType:"string"},{name:"_bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPause",inputs:[{name:"_pause",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrevPublisher",inputs:[{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"unpublishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractPublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"publishedContract",type:"tuple",indexed:!1,internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractUnpublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"contractId",type:"string",indexed:!0,internalType:"string"}],anonymous:!1},{type:"event",name:"Paused",inputs:[{name:"isPaused",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"PublisherProfileUpdated",inputs:[{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var Toe=D((qoa,cOt)=>{cOt.exports=[{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"}]});var xoe=D((joa,dOt)=>{dOt.exports=[{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_msgData",inputs:[],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"_msgSender",inputs:[],outputs:[{name:"sender",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"metadataUri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"deploymentCount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"allDeployments",type:"tuple[]",internalType:"struct ITWMultichainRegistry.Deployment[]",components:[{name:"deploymentAddress",type:"address",internalType:"address"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"metadataURI",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getMetadataUri",inputs:[{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[{name:"metadataUri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"metadataUri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var tR=D((Goa,lOt)=>{lOt.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"function",name:"getNonce",inputs:[{name:"from",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"error",name:"InvalidShortString",inputs:[]},{type:"error",name:"StringTooLong",inputs:[{name:"str",type:"string",internalType:"string"}]}]});var $We=D((Koa,YWe)=>{"use strict";u();p();function uOt(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,W=new Uint8Array(z);O!==F;){for(var j=y[O],Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%i>>>0,j=j/i>>>0;if(j!==0)throw new Error("Non-zero carry");k=Q,O++}for(var X=z-k;X!==z&&W[X]===0;)X++;for(var K=s.repeat(v);X>>0,z=new Uint8Array(F);y[v];){var W=e[y.charCodeAt(v)];if(W===255)return;for(var j=0,Q=F-1;(W!==0||j>>0,z[Q]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");O=j,v++}if(y[v]!==" "){for(var V=F-O;V!==F&&z[V]===0;)V++;for(var X=new Uint8Array(k+(F-V)),K=k;V!==F;)X[K++]=z[V++];return X}}}function h(y){var v=l(y);if(v)return v;throw new Error("Non-base"+i+" character")}return{encode:d,decodeUnsafe:l,decode:h}}YWe.exports=uOt});var jW=D((Yoa,JWe)=>{"use strict";u();p();var pOt=new TextDecoder,hOt=t=>pOt.decode(t),mOt=new TextEncoder,bOt=t=>mOt.encode(t);function yOt(t,e){let n=new Uint8Array(e),a=0;for(let r of t)n.set(r,a),a+=r.length;return n}JWe.exports={decodeText:hOt,encodeText:bOt,concat:yOt}});var ZWe=D((Xoa,XWe)=>{"use strict";u();p();var{encodeText:gOt}=jW(),Eoe=class{constructor(e,n,a,r){this.name=e,this.code=n,this.codeBuf=gOt(this.code),this.alphabet=r,this.codec=a(r)}encode(e){return this.codec.encode(e)}decode(e){for(let n of e)if(this.alphabet&&this.alphabet.indexOf(n)<0)throw new Error(`invalid character '${n}' in '${e}'`);return this.codec.decode(e)}};XWe.exports=Eoe});var tqe=D((t1a,eqe)=>{"use strict";u();p();var vOt=(t,e,n)=>{let a={};for(let c=0;c=8&&(i-=8,f[o++]=255&s>>i)}if(i>=n||255&s<<8-i)throw new SyntaxError("Unexpected end of data");return f},wOt=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<e=>({encode(n){return wOt(n,e,t)},decode(n){return vOt(n,e,t)}});eqe.exports={rfc4648:TOt}});var fqe=D((r1a,rqe)=>{"use strict";u();p();var nR=$We(),xOt=ZWe(),{rfc4648:so}=tqe(),{decodeText:EOt,encodeText:_Ot}=jW(),AOt=()=>({encode:EOt,decode:_Ot}),nqe=[["identity","\0",AOt,""],["base2","0",so(1),"01"],["base8","7",so(3),"01234567"],["base10","9",nR,"0123456789"],["base16","f",so(4),"0123456789abcdef"],["base16upper","F",so(4),"0123456789ABCDEF"],["base32hex","v",so(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",so(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",so(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",so(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",so(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",so(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",so(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",nR,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",nR,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",nR,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",nR,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",so(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],aqe=nqe.reduce((t,e)=>(t[e[0]]=new xOt(e[0],e[1],e[2],e[3]),t),{}),IOt=nqe.reduce((t,e)=>(t[e[1]]=aqe[e[0]],t),{});rqe.exports={names:aqe,codes:IOt}});var aR=D((W8,sqe)=>{"use strict";u();p();var vx=fqe(),{encodeText:COt,decodeText:GW,concat:iqe}=jW();function kOt(t,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:n,codeBuf:a}=V7(t);return BOt(n,e),iqe([a,e],a.length+e.length)}function SOt(t,e){let n=V7(t),a=COt(n.encode(e));return iqe([n.codeBuf,a],n.codeBuf.length+a.length)}function ROt(t){t instanceof Uint8Array&&(t=GW(t));let e=t[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(t=t.toLowerCase()),V7(t[0]).decode(t.substring(1))}function MOt(t){if(t instanceof Uint8Array&&(t=GW(t)),Object.prototype.toString.call(t)!=="[object String]")return!1;try{return V7(t[0]).name}catch{return!1}}function BOt(t,e){V7(t).decode(GW(e))}function V7(t){if(Object.prototype.hasOwnProperty.call(vx.names,t))return vx.names[t];if(Object.prototype.hasOwnProperty.call(vx.codes,t))return vx.codes[t];throw new Error(`Unsupported encoding: ${t}`)}function DOt(t){return t instanceof Uint8Array&&(t=GW(t)),V7(t[0])}W8=sqe.exports=kOt;W8.encode=SOt;W8.decode=ROt;W8.isEncoded=MOt;W8.encoding=V7;W8.encodingFromData=DOt;var POt=Object.freeze(vx.names),LOt=Object.freeze(vx.codes);W8.names=POt;W8.codes=LOt});var lqe=D((c1a,dqe)=>{u();p();dqe.exports=cqe;var oqe=128,FOt=127,NOt=~FOt,OOt=Math.pow(2,31);function cqe(t,e,n){e=e||[],n=n||0;for(var a=n;t>=OOt;)e[n++]=t&255|oqe,t/=128;for(;t&NOt;)e[n++]=t&255|oqe,t>>>=7;return e[n]=t|0,cqe.bytes=n-a+1,e}});var hqe=D((u1a,pqe)=>{u();p();pqe.exports=_oe;var UOt=128,uqe=127;function _oe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw _oe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&uqe)<=UOt);return _oe.bytes=f-a,n}});var bqe=D((m1a,mqe)=>{u();p();var HOt=Math.pow(2,7),zOt=Math.pow(2,14),WOt=Math.pow(2,21),qOt=Math.pow(2,28),jOt=Math.pow(2,35),GOt=Math.pow(2,42),KOt=Math.pow(2,49),QOt=Math.pow(2,56),VOt=Math.pow(2,63);mqe.exports=function(t){return t{u();p();yqe.exports={encode:lqe(),decode:hqe(),encodingLength:bqe()}});var wqe=D((T1a,vqe)=>{"use strict";u();p();var YOt=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,"murmur3-128":34,"murmur3-32":35,"dbl-sha2-256":86,md4:212,md5:213,bmt:214,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082});vqe.exports={names:YOt}});var fR=D((_1a,Iqe)=>{"use strict";u();p();var Tqe=aR(),wx=gqe(),{names:rR}=wqe(),{toString:KW}=(dx(),vn(Gz)),{fromString:$Ot}=(PS(),vn(dse)),{concat:JOt}=(fx(),vn(Lz)),Tx={};for(let t in rR){let e=t;Tx[rR[e]]=e}Object.freeze(Tx);function XOt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(t,"base16")}function ZOt(t){return $Ot(t,"base16")}function eUt(t){if(!(t instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return KW(Tqe.encode("base58btc",t)).slice(1)}function tUt(t){let e=t instanceof Uint8Array?KW(t):t;return Tqe.decode("z"+e)}function xqe(t){if(!(t instanceof Uint8Array))throw new Error("multihash must be a Uint8Array");if(t.length<2)throw new Error("multihash too short. must be > 2 bytes.");let e=wx.decode(t);if(!_qe(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);t=t.slice(wx.decode.bytes);let n=wx.decode(t);if(n<0)throw new Error(`multihash invalid length: ${n}`);if(t=t.slice(wx.decode.bytes),t.length!==n)throw new Error(`multihash length inconsistent: 0x${KW(t,"base16")}`);return{code:e,name:Tx[e],length:n,digest:t}}function nUt(t,e,n){if(!t||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=Eqe(e);if(!(t instanceof Uint8Array))throw new Error("digest should be a Uint8Array");if(n==null&&(n=t.length),n&&t.length!==n)throw new Error("digest length should be equal to specified length.");let r=wx.encode(a),f=wx.encode(n);return JOt([r,f,t],r.length+f.length+t.length)}function Eqe(t){let e=t;if(typeof t=="string"){if(rR[t]===void 0)throw new Error(`Unrecognized hash function named: ${t}`);e=rR[t]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(Tx[e]===void 0&&!Aoe(e))throw new Error(`Unrecognized function code: ${e}`);return e}function Aoe(t){return t>0&&t<16}function _qe(t){return!!(Aoe(t)||Tx[t])}function Aqe(t){xqe(t)}function aUt(t){return Aqe(t),t.subarray(0,2)}Iqe.exports={names:rR,codes:Tx,toHexString:XOt,fromHexString:ZOt,toB58String:eUt,fromB58String:tUt,decode:xqe,encode:nUt,coerceCode:Eqe,isAppCode:Aoe,validate:Aqe,prefix:aUt,isValidCode:_qe}});var Sqe=D((C1a,kqe)=>{u();p();kqe.exports=Ioe;var Cqe=128,rUt=127,fUt=~rUt,iUt=Math.pow(2,31);function Ioe(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw Ioe.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;for(var a=n;t>=iUt;)e[n++]=t&255|Cqe,t/=128;for(;t&fUt;)e[n++]=t&255|Cqe,t>>>=7;return e[n]=t|0,Ioe.bytes=n-a+1,e}});var Bqe=D((R1a,Mqe)=>{u();p();Mqe.exports=Coe;var sUt=128,Rqe=127;function Coe(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s||r>49)throw Coe.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&Rqe)<=sUt);return Coe.bytes=f-a,n}});var Pqe=D((D1a,Dqe)=>{u();p();var oUt=Math.pow(2,7),cUt=Math.pow(2,14),dUt=Math.pow(2,21),lUt=Math.pow(2,28),uUt=Math.pow(2,35),pUt=Math.pow(2,42),hUt=Math.pow(2,49),mUt=Math.pow(2,56),bUt=Math.pow(2,63);Dqe.exports=function(t){return t{u();p();Lqe.exports={encode:Sqe(),decode:Bqe(),encodingLength:Pqe()}});var Soe=D((U1a,Oqe)=>{"use strict";u();p();var Fqe=koe(),{toString:yUt}=(dx(),vn(Gz)),{fromString:gUt}=(PS(),vn(dse));Oqe.exports={numberToUint8Array:vUt,uint8ArrayToNumber:Nqe,varintUint8ArrayEncode:wUt,varintEncode:TUt};function Nqe(t){return parseInt(yUt(t,"base16"),16)}function vUt(t){let e=t.toString(16);return e.length%2===1&&(e="0"+e),gUt(e,"base16")}function wUt(t){return Uint8Array.from(Fqe.encode(Nqe(t)))}function TUt(t){return Uint8Array.from(Fqe.encode(t))}});var Hqe=D((W1a,Uqe)=>{"use strict";u();p();var xUt=Object.freeze({identity:0,cidv1:1,cidv2:2,cidv3:3,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"eth-receipt-log-trie":153,"eth-reciept-log":154,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"caip-50":202,streamid:206,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"bls12_381-g1g2-pub":238,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,thread:406,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,noise:454,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,"swhid-1-snp":496,json:512,messagepack:513,"libp2p-peer-record":769,"libp2p-relay-rsvp":770,"car-index-sorted":1024,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,"p256-pub":4608,"p384-pub":4609,"p521-pub":4610,"ed448-pub":4611,"x448-pub":4612,"ed25519-priv":4864,"secp256k1-priv":4865,"x25519-priv":4866,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332,"skynet-ns":11639056,"arweave-ns":11704592});Uqe.exports={baseTable:xUt}});var Wqe=D((G1a,zqe)=>{"use strict";u();p();var{baseTable:Roe}=Hqe(),EUt=Soe().varintEncode,Moe={},Boe={},QW={};for(let t in Roe){let e=t,n=Roe[e];Moe[e]=EUt(n);let a=e.toUpperCase().replace(/-/g,"_");Boe[a]=n,QW[n]||(QW[n]=e)}Object.freeze(Moe);Object.freeze(Boe);Object.freeze(QW);var _Ut=Object.freeze(Roe);zqe.exports={nameToVarint:Moe,constantToCode:Boe,nameToCode:_Ut,codeToName:QW}});var Xqe=D((V1a,Jqe)=>{"use strict";u();p();var VW=koe(),{concat:AUt}=(fx(),vn(Lz)),qqe=Soe(),{nameToVarint:YW,constantToCode:IUt,nameToCode:jqe,codeToName:Doe}=Wqe();function CUt(t,e){let n;if(t instanceof Uint8Array)n=qqe.varintUint8ArrayEncode(t);else if(YW[t])n=YW[t];else throw new Error("multicodec not recognized");return AUt([n,e],n.length+e.length)}function kUt(t){return VW.decode(t),t.slice(VW.decode.bytes)}function Gqe(t){let e=VW.decode(t),n=Doe[e];if(n===void 0)throw new Error(`Code "${e}" not found`);return n}function Kqe(t){return Doe[t]}function Qqe(t){let e=jqe[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function Vqe(t){return VW.decode(t)}function Yqe(t){let e=YW[t];if(e===void 0)throw new Error(`Codec "${t}" not found`);return e}function $qe(t){return qqe.varintEncode(t)}function SUt(t){return Gqe(t)}function RUt(t){return Kqe(t)}function MUt(t){return Qqe(t)}function BUt(t){return Vqe(t)}function DUt(t){return Yqe(t)}function PUt(t){return Array.from($qe(t))}Jqe.exports={addPrefix:CUt,rmPrefix:kUt,getNameFromData:Gqe,getNameFromCode:Kqe,getCodeFromName:Qqe,getCodeFromData:Vqe,getVarintFromName:Yqe,getVarintFromCode:$qe,getCodec:SUt,getName:RUt,getNumber:MUt,getCode:BUt,getCodeVarint:DUt,getVarint:PUt,...IUt,nameToVarint:YW,nameToCode:jqe,codeToName:Doe}});var eje=D((J1a,Zqe)=>{"use strict";u();p();var LUt=fR(),FUt={checkCIDComponents:function(t){if(t==null)return"null values are not valid CIDs";if(!(t.version===0||t.version===1))return"Invalid version, must be a number equal to 1 or 0";if(typeof t.codec!="string")return"codec must be string";if(t.version===0){if(t.codec!=="dag-pb")return"codec must be 'dag-pb' for CIDv0";if(t.multibaseName!=="base58btc")return"multibaseName must be 'base58btc' for CIDv0"}if(!(t.multihash instanceof Uint8Array))return"multihash must be a Uint8Array";try{LUt.validate(t.multihash)}catch(e){let n=e.message;return n||(n="Multihash validation failed"),n}}};Zqe.exports=FUt});var nje={};G0(nje,{equals:()=>tje});function tje(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let n=0;n{u();p()});var ZW=D((nca,fje)=>{"use strict";u();p();var $W=fR(),Loe=aR(),Y7=Xqe(),NUt=eje(),{concat:aje}=(fx(),vn(Lz)),{toString:OUt}=(dx(),vn(Gz)),{equals:UUt}=(Poe(),vn(nje)),JW=Y7.nameToCode,HUt=Object.keys(JW).reduce((t,e)=>(t[JW[e]]=e,t),{}),rje=Symbol.for("@ipld/js-cid/CID"),XW=class t{constructor(e,n,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,rje,{value:!0}),t.isCID(e)){let f=e;this.version=f.version,this.codec=f.codec,this.multihash=f.multihash,this.multibaseName=f.multibaseName||(f.version===0?"base58btc":"base32");return}if(typeof e=="string"){let f=Loe.isEncoded(e);if(f){let i=Loe.decode(e);this.version=parseInt(i[0].toString(),16),this.codec=Y7.getCodec(i.slice(1)),this.multihash=Y7.rmPrefix(i.slice(1)),this.multibaseName=f}else this.version=0,this.codec="dag-pb",this.multihash=$W.fromB58String(e),this.multibaseName="base58btc";t.validateCID(this),Object.defineProperty(this,"string",{value:e});return}if(e instanceof Uint8Array){let f=parseInt(e[0].toString(),16);if(f===1){let i=e;this.version=f,this.codec=Y7.getCodec(i.slice(1)),this.multihash=Y7.rmPrefix(i.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";t.validateCID(this);return}this.version=e,typeof n=="number"&&(n=HUt[n]),this.codec=n,this.multihash=a,this.multibaseName=r||(e===0?"base58btc":"base32"),t.validateCID(this)}get bytes(){let e=this._bytes;if(!e){if(this.version===0)e=this.multihash;else if(this.version===1){let n=Y7.getCodeVarint(this.codec);e=aje([[1],n,this.multihash],1+n.byteLength+this.multihash.byteLength)}else throw new Error("unsupported version");Object.defineProperty(this,"_bytes",{value:e})}return e}get prefix(){let e=Y7.getCodeVarint(this.codec),n=$W.prefix(this.multihash);return aje([[this.version],e,n],1+e.byteLength+n.byteLength)}get code(){return JW[this.codec]}toV0(){if(this.codec!=="dag-pb")throw new Error("Cannot convert a non dag-pb CID to CIDv0");let{name:e,length:n}=$W.decode(this.multihash);if(e!=="sha2-256")throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(n!==32)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new t(0,this.codec,this.multihash)}toV1(){return new t(1,this.codec,this.multihash,this.multibaseName)}toBaseEncodedString(e=this.multibaseName){if(this.string&&this.string.length!==0&&e===this.multibaseName)return this.string;let n;if(this.version===0){if(e!=="base58btc")throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");n=$W.toB58String(this.multihash)}else if(this.version===1)n=OUt(Loe.encode(e,this.bytes));else throw new Error("unsupported version");return e===this.multibaseName&&Object.defineProperty(this,"string",{value:n}),n}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&UUt(this.multihash,e.multihash)}static validateCID(e){let n=NUt.checkCIDComponents(e);if(n)throw new Error(n)}static isCID(e){return e instanceof t||!!(e&&e[rje])}};XW.codecs=JW;fje.exports=XW});var Foe=D((ica,sje)=>{u();p();function ije(t){if(t.stack&&t.name&&t.message)return t.stack.substring(t.name.length+3+t.message.length).split(` -`);if(t.stack)return t.stack.split(` -`)}function zUt(t,e){return t.filter(function(n){return!~e.indexOf(n)})}var fca=sje.exports=function(t,e){if(!(t.stack&&t.name&&t.message))return console.error(new Error("stackless error")),t;var n=new Error(e),a=zUt(ije(n).slice(1),ije(t)).join(` -`);return n.__proto__=t,n.stack=n.name+": "+n.message+` +`});var kBe=ce(()=>{p();u();ABe();c$();km();Gre();sS()});var PBe={};jt(PBe,{CID:()=>oS,bases:()=>m$,bytes:()=>o$,codecs:()=>zZt,digest:()=>Qh,hasher:()=>p$,hashes:()=>HZt,varint:()=>s_});var m$,HZt,zZt,Xre=ce(()=>{p();u();fBe();oBe();cBe();dBe();lBe();Ore();pBe();Ure();uBe();mBe();_Be();IBe();EBe();DBe();kBe();m$={...Rre,...Lre,...Mre,...Bre,...Nre,...Fre,...Vre,...$re,...qre,...Hre},HZt={...Kre,...Qre},zZt={raw:Yre,json:Jre}});function LBe(n,e,t,a){return{name:n,prefix:e,encoder:{name:n,prefix:e,encode:t},decoder:{decode:a}}}var RBe,Zre,WZt,b$,eie=ce(()=>{p();u();Xre();s$();RBe=LBe("utf8","u",n=>"u"+new TextDecoder("utf8").decode(n),n=>new TextEncoder().encode(n.substring(1))),Zre=LBe("ascii","a",n=>{let e="a";for(let t=0;t{n=n.substring(1);let e=rS(n.length);for(let t=0;ths});function hs(n,e="utf8"){let t=b$[e];if(!t)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("utf8"):t.encoder.encode(n).substring(1)}var f_=ce(()=>{p();u();eie()});var tie={};jt(tie,{fromString:()=>cf});function cf(n,e="utf8"){let t=b$[e];if(!t)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?zh(globalThis.Buffer.from(n,"utf-8")):t.decoder.decode(`${t.prefix}${n}`)}var cS=ce(()=>{p();u();eie();aS()});function g$(n){return hs(cf(x1(n),YMe),xre)}function v$(n){let e=cf(nBe,Ire),t=tBe+hs(Wh([e,n]),Ire);return[ZMe,eBe,t].join(XMe)}function jZt(n){return hs(n,xre)}function MBe(n){return cf([g$(n.header),g$(n.payload)].join(wre),JMe)}function BBe(n){return[g$(n.header),g$(n.payload),jZt(n.signature)].join(wre)}var nie=ce(()=>{p();u();n_();f_();cS();Fh();i$()});function aie(n=(0,NBe.randomBytes)(32)){return dS.generateKeyPairFromSeed(n)}async function OBe(n,e,t,a,r=(0,FBe.fromMiliseconds)(Date.now())){let i={alg:KMe,typ:QMe},s=v$(a.publicKey),f=r+t,o={iss:s,sub:n,aud:e,iat:r,exp:f},c=MBe({header:i,payload:o}),d=dS.sign(a.secretKey,c);return BBe({header:i,payload:o,signature:d})}var dS,NBe,FBe,VBe=ce(()=>{p();u();dS=Te(GMe()),NBe=Te(eS()),FBe=Te(Oh());i$();nie()});var $Be=ce(()=>{p();u()});var UBe=ce(()=>{p();u();VBe();i$();$Be();nie()});function T$(n){return n?WBe(n):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new ZZt:typeof navigator<"u"?WBe(navigator.userAgent):ie0()}function ae0(n){return n!==""&&ne0.reduce(function(e,t){var a=t[0],r=t[1];if(e)return e;var i=r.exec(n);return!!i&&[a,i]},!1)}function WBe(n){var e=ae0(n);if(!e)return null;var t=e[0],a=e[1];if(t==="searchbot")return new XZt;var r=a[1]&&a[1].split(".").join("_").split("_").slice(0,3);r?r.length{p();u();qBe=function(n,e,t){if(t||arguments.length===2)for(var a=0,r=e.length,i;a{"use strict";p();u();Object.defineProperty(Ar,"__esModule",{value:!0});Ar.getLocalStorage=Ar.getLocalStorageOrThrow=Ar.getCrypto=Ar.getCryptoOrThrow=Ar.getLocation=Ar.getLocationOrThrow=Ar.getNavigator=Ar.getNavigatorOrThrow=Ar.getDocument=Ar.getDocumentOrThrow=Ar.getFromWindowOrThrow=Ar.getFromWindow=void 0;function Yh(n){let e;return typeof window<"u"&&typeof window[n]<"u"&&(e=window[n]),e}Ar.getFromWindow=Yh;function o_(n){let e=Yh(n);if(!e)throw new Error(`${n} is not defined in Window`);return e}Ar.getFromWindowOrThrow=o_;function fe0(){return o_("document")}Ar.getDocumentOrThrow=fe0;function oe0(){return Yh("document")}Ar.getDocument=oe0;function ce0(){return o_("navigator")}Ar.getNavigatorOrThrow=ce0;function de0(){return Yh("navigator")}Ar.getNavigator=de0;function le0(){return o_("location")}Ar.getLocationOrThrow=le0;function pe0(){return Yh("location")}Ar.getLocation=pe0;function ue0(){return o_("crypto")}Ar.getCryptoOrThrow=ue0;function ye0(){return Yh("crypto")}Ar.getCrypto=ye0;function me0(){return o_("localStorage")}Ar.getLocalStorageOrThrow=me0;function be0(){return Yh("localStorage")}Ar.getLocalStorage=be0});var GBe=B(_$=>{"use strict";p();u();Object.defineProperty(_$,"__esModule",{value:!0});_$.getWindowMetadata=void 0;var jBe=iie();function he0(){let n,e;try{n=jBe.getDocumentOrThrow(),e=jBe.getLocationOrThrow()}catch{return null}function t(){let l=n.getElementsByTagName("link"),y=[];for(let h=0;h-1){let O=T.getAttribute("href");if(O)if(O.toLowerCase().indexOf("https:")===-1&&O.toLowerCase().indexOf("http:")===-1&&O.indexOf("//")!==0){let N=e.protocol+"//"+e.host;if(O.indexOf("/")===0)N+=O;else{let U=e.pathname.split("/");U.pop();let q=U.join("/");N+=q+"/"+O}y.push(N)}else if(O.indexOf("//")===0){let N=e.protocol+O;y.push(N)}else y.push(O)}}return y}function a(...l){let y=n.getElementsByTagName("meta");for(let h=0;hT.getAttribute(O)).filter(O=>O?l.includes(O):!1);if(A.length&&A){let O=T.getAttribute("content");if(O)return O}}return""}function r(){let l=a("name","og:site_name","og:title","twitter:title");return l||(l=n.title),l}function i(){return a("description","og:description","twitter:description","keywords")}let s=r(),f=i(),o=e.origin,c=t();return{description:f,url:o,icons:c,name:s}}_$.getWindowMetadata=he0});var QBe=B((qXn,KBe)=>{"use strict";p();u();KBe.exports=n=>encodeURIComponent(n).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)});var eNe=B((WXn,ZBe)=>{"use strict";p();u();var XBe="%[a-f0-9]{2}",YBe=new RegExp("("+XBe+")|([^%]+?)","gi"),JBe=new RegExp("("+XBe+")+","gi");function sie(n,e){try{return[decodeURIComponent(n.join(""))]}catch{}if(n.length===1)return n;e=e||1;var t=n.slice(0,e),a=n.slice(e);return Array.prototype.concat.call([],sie(t),sie(a))}function ge0(n){try{return decodeURIComponent(n)}catch{for(var e=n.match(YBe)||[],t=1;t{"use strict";p();u();tNe.exports=(n,e)=>{if(!(typeof n=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[n];let t=n.indexOf(e);return t===-1?[n]:[n.slice(0,t),n.slice(t+e.length)]}});var rNe=B((JXn,aNe)=>{"use strict";p();u();aNe.exports=function(n,e){for(var t={},a=Object.keys(n),r=Array.isArray(e),i=0;i{"use strict";p();u();var Te0=QBe(),_e0=eNe(),sNe=nNe(),we0=rNe(),xe0=n=>n==null,fie=Symbol("encodeFragmentIdentifier");function Ie0(n){switch(n.arrayFormat){case"index":return e=>(t,a)=>{let r=t.length;return a===void 0||n.skipNull&&a===null||n.skipEmptyString&&a===""?t:a===null?[...t,[ts(e,n),"[",r,"]"].join("")]:[...t,[ts(e,n),"[",ts(r,n),"]=",ts(a,n)].join("")]};case"bracket":return e=>(t,a)=>a===void 0||n.skipNull&&a===null||n.skipEmptyString&&a===""?t:a===null?[...t,[ts(e,n),"[]"].join("")]:[...t,[ts(e,n),"[]=",ts(a,n)].join("")];case"colon-list-separator":return e=>(t,a)=>a===void 0||n.skipNull&&a===null||n.skipEmptyString&&a===""?t:a===null?[...t,[ts(e,n),":list="].join("")]:[...t,[ts(e,n),":list=",ts(a,n)].join("")];case"comma":case"separator":case"bracket-separator":{let e=n.arrayFormat==="bracket-separator"?"[]=":"=";return t=>(a,r)=>r===void 0||n.skipNull&&r===null||n.skipEmptyString&&r===""?a:(r=r===null?"":r,a.length===0?[[ts(t,n),e,ts(r,n)].join("")]:[[a,ts(r,n)].join(n.arrayFormatSeparator)])}default:return e=>(t,a)=>a===void 0||n.skipNull&&a===null||n.skipEmptyString&&a===""?t:a===null?[...t,ts(e,n)]:[...t,[ts(e,n),"=",ts(a,n)].join("")]}}function Ee0(n){let e;switch(n.arrayFormat){case"index":return(t,a,r)=>{if(e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!e){r[t]=a;return}r[t]===void 0&&(r[t]={}),r[t][e[1]]=a};case"bracket":return(t,a,r)=>{if(e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),!e){r[t]=a;return}if(r[t]===void 0){r[t]=[a];return}r[t]=[].concat(r[t],a)};case"colon-list-separator":return(t,a,r)=>{if(e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),!e){r[t]=a;return}if(r[t]===void 0){r[t]=[a];return}r[t]=[].concat(r[t],a)};case"comma":case"separator":return(t,a,r)=>{let i=typeof a=="string"&&a.includes(n.arrayFormatSeparator),s=typeof a=="string"&&!i&&J2(a,n).includes(n.arrayFormatSeparator);a=s?J2(a,n):a;let f=i||s?a.split(n.arrayFormatSeparator).map(o=>J2(o,n)):a===null?a:J2(a,n);r[t]=f};case"bracket-separator":return(t,a,r)=>{let i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i){r[t]=a&&J2(a,n);return}let s=a===null?[]:a.split(n.arrayFormatSeparator).map(f=>J2(f,n));if(r[t]===void 0){r[t]=s;return}r[t]=[].concat(r[t],s)};default:return(t,a,r)=>{if(r[t]===void 0){r[t]=a;return}r[t]=[].concat(r[t],a)}}}function fNe(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ts(n,e){return e.encode?e.strict?Te0(n):encodeURIComponent(n):n}function J2(n,e){return e.decode?_e0(n):n}function oNe(n){return Array.isArray(n)?n.sort():typeof n=="object"?oNe(Object.keys(n)).sort((e,t)=>Number(e)-Number(t)).map(e=>n[e]):n}function cNe(n){let e=n.indexOf("#");return e!==-1&&(n=n.slice(0,e)),n}function De0(n){let e="",t=n.indexOf("#");return t!==-1&&(e=n.slice(t)),e}function dNe(n){n=cNe(n);let e=n.indexOf("?");return e===-1?"":n.slice(e+1)}function iNe(n,e){return e.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?n=Number(n):e.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")&&(n=n.toLowerCase()==="true"),n}function lNe(n,e){e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e),fNe(e.arrayFormatSeparator);let t=Ee0(e),a=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return a;for(let r of n.split("&")){if(r==="")continue;let[i,s]=sNe(e.decode?r.replace(/\+/g," "):r,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:J2(s,e),t(J2(i,e),s,a)}for(let r of Object.keys(a)){let i=a[r];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=iNe(i[s],e);else a[r]=iNe(i,e)}return e.sort===!1?a:(e.sort===!0?Object.keys(a).sort():Object.keys(a).sort(e.sort)).reduce((r,i)=>{let s=a[i];return s&&typeof s=="object"&&!Array.isArray(s)?r[i]=oNe(s):r[i]=s,r},Object.create(null))}hc.extract=dNe;hc.parse=lNe;hc.stringify=(n,e)=>{if(!n)return"";e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e),fNe(e.arrayFormatSeparator);let t=s=>e.skipNull&&xe0(n[s])||e.skipEmptyString&&n[s]==="",a=Ie0(e),r={};for(let s of Object.keys(n))t(s)||(r[s]=n[s]);let i=Object.keys(r);return e.sort!==!1&&i.sort(e.sort),i.map(s=>{let f=n[s];return f===void 0?"":f===null?ts(s,e):Array.isArray(f)?f.length===0&&e.arrayFormat==="bracket-separator"?ts(s,e)+"[]":f.reduce(a(s),[]).join("&"):ts(s,e)+"="+ts(f,e)}).filter(s=>s.length>0).join("&")};hc.parseUrl=(n,e)=>{e=Object.assign({decode:!0},e);let[t,a]=sNe(n,"#");return Object.assign({url:t.split("?")[0]||"",query:lNe(dNe(n),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:J2(a,e)}:{})};hc.stringifyUrl=(n,e)=>{e=Object.assign({encode:!0,strict:!0,[fie]:!0},e);let t=cNe(n.url).split("?")[0]||"",a=hc.extract(n.url),r=hc.parse(a,{sort:!1}),i=Object.assign(r,n.query),s=hc.stringify(i,e);s&&(s=`?${s}`);let f=De0(n.url);return n.fragmentIdentifier&&(f=`#${e[fie]?ts(n.fragmentIdentifier,e):n.fragmentIdentifier}`),`${t}${s}${f}`};hc.pick=(n,e,t)=>{t=Object.assign({parseFragmentIdentifier:!0,[fie]:!1},t);let{url:a,query:r,fragmentIdentifier:i}=hc.parseUrl(n,t);return hc.stringifyUrl({url:a,query:we0(r,e),fragmentIdentifier:i},t)};hc.exclude=(n,e,t)=>{let a=Array.isArray(e)?r=>!e.includes(r):(r,i)=>!e(r,i);return hc.pick(n,a,t)}});var yNe=B(w$=>{"use strict";p();u();Object.defineProperty(w$,"__esModule",{value:!0});var Vo=XT(),oie=w6(),Ce0=20;function Se0(n,e,t){for(var a=1634760805,r=857760878,i=2036477234,s=1797285236,f=t[3]<<24|t[2]<<16|t[1]<<8|t[0],o=t[7]<<24|t[6]<<16|t[5]<<8|t[4],c=t[11]<<24|t[10]<<16|t[9]<<8|t[8],d=t[15]<<24|t[14]<<16|t[13]<<8|t[12],l=t[19]<<24|t[18]<<16|t[17]<<8|t[16],y=t[23]<<24|t[22]<<16|t[21]<<8|t[20],h=t[27]<<24|t[26]<<16|t[25]<<8|t[24],T=t[31]<<24|t[30]<<16|t[29]<<8|t[28],A=e[3]<<24|e[2]<<16|e[1]<<8|e[0],O=e[7]<<24|e[6]<<16|e[5]<<8|e[4],N=e[11]<<24|e[10]<<16|e[9]<<8|e[8],U=e[15]<<24|e[14]<<16|e[13]<<8|e[12],q=a,W=r,G=i,X=s,J=f,j=o,z=c,P=d,_=l,F=y,v=h,b=T,x=A,L=O,M=N,w=U,g=0;g>>16|x<<16,_=_+x|0,J^=_,J=J>>>20|J<<12,W=W+j|0,L^=W,L=L>>>16|L<<16,F=F+L|0,j^=F,j=j>>>20|j<<12,G=G+z|0,M^=G,M=M>>>16|M<<16,v=v+M|0,z^=v,z=z>>>20|z<<12,X=X+P|0,w^=X,w=w>>>16|w<<16,b=b+w|0,P^=b,P=P>>>20|P<<12,G=G+z|0,M^=G,M=M>>>24|M<<8,v=v+M|0,z^=v,z=z>>>25|z<<7,X=X+P|0,w^=X,w=w>>>24|w<<8,b=b+w|0,P^=b,P=P>>>25|P<<7,W=W+j|0,L^=W,L=L>>>24|L<<8,F=F+L|0,j^=F,j=j>>>25|j<<7,q=q+J|0,x^=q,x=x>>>24|x<<8,_=_+x|0,J^=_,J=J>>>25|J<<7,q=q+j|0,w^=q,w=w>>>16|w<<16,v=v+w|0,j^=v,j=j>>>20|j<<12,W=W+z|0,x^=W,x=x>>>16|x<<16,b=b+x|0,z^=b,z=z>>>20|z<<12,G=G+P|0,L^=G,L=L>>>16|L<<16,_=_+L|0,P^=_,P=P>>>20|P<<12,X=X+J|0,M^=X,M=M>>>16|M<<16,F=F+M|0,J^=F,J=J>>>20|J<<12,G=G+P|0,L^=G,L=L>>>24|L<<8,_=_+L|0,P^=_,P=P>>>25|P<<7,X=X+J|0,M^=X,M=M>>>24|M<<8,F=F+M|0,J^=F,J=J>>>25|J<<7,W=W+z|0,x^=W,x=x>>>24|x<<8,b=b+x|0,z^=b,z=z>>>25|z<<7,q=q+j|0,w^=q,w=w>>>24|w<<8,v=v+w|0,j^=v,j=j>>>25|j<<7;Vo.writeUint32LE(q+a|0,n,0),Vo.writeUint32LE(W+r|0,n,4),Vo.writeUint32LE(G+i|0,n,8),Vo.writeUint32LE(X+s|0,n,12),Vo.writeUint32LE(J+f|0,n,16),Vo.writeUint32LE(j+o|0,n,20),Vo.writeUint32LE(z+c|0,n,24),Vo.writeUint32LE(P+d|0,n,28),Vo.writeUint32LE(_+l|0,n,32),Vo.writeUint32LE(F+y|0,n,36),Vo.writeUint32LE(v+h|0,n,40),Vo.writeUint32LE(b+T|0,n,44),Vo.writeUint32LE(x+A|0,n,48),Vo.writeUint32LE(L+O|0,n,52),Vo.writeUint32LE(M+N|0,n,56),Vo.writeUint32LE(w+U|0,n,60)}function uNe(n,e,t,a,r){if(r===void 0&&(r=0),n.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(a.length>>=8,e++;if(a>0)throw new Error("ChaCha: counter overflow")}});var x$=B(c_=>{"use strict";p();u();Object.defineProperty(c_,"__esModule",{value:!0});function Pe0(n,e,t){return~(n-1)&e|n-1&t}c_.select=Pe0;function Re0(n,e){return(n|0)-(e|0)-1>>>31&1}c_.lessOrEqual=Re0;function mNe(n,e){if(n.length!==e.length)return 0;for(var t=0,a=0;a>>8}c_.compare=mNe;function Le0(n,e){return n.length===0||e.length===0?!1:mNe(n,e)!==0}c_.equal=Le0});var hNe=B(X2=>{"use strict";p();u();Object.defineProperty(X2,"__esModule",{value:!0});var Me0=x$(),I$=w6();X2.DIGEST_LENGTH=16;var bNe=function(){function n(e){this.digestLength=X2.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var t=e[0]|e[1]<<8;this._r[0]=t&8191;var a=e[2]|e[3]<<8;this._r[1]=(t>>>13|a<<3)&8191;var r=e[4]|e[5]<<8;this._r[2]=(a>>>10|r<<6)&7939;var i=e[6]|e[7]<<8;this._r[3]=(r>>>7|i<<9)&8191;var s=e[8]|e[9]<<8;this._r[4]=(i>>>4|s<<12)&255,this._r[5]=s>>>1&8190;var f=e[10]|e[11]<<8;this._r[6]=(s>>>14|f<<2)&8191;var o=e[12]|e[13]<<8;this._r[7]=(f>>>11|o<<5)&8065;var c=e[14]|e[15]<<8;this._r[8]=(o>>>8|c<<8)&8191,this._r[9]=c>>>5&127,this._pad[0]=e[16]|e[17]<<8,this._pad[1]=e[18]|e[19]<<8,this._pad[2]=e[20]|e[21]<<8,this._pad[3]=e[22]|e[23]<<8,this._pad[4]=e[24]|e[25]<<8,this._pad[5]=e[26]|e[27]<<8,this._pad[6]=e[28]|e[29]<<8,this._pad[7]=e[30]|e[31]<<8}return n.prototype._blocks=function(e,t,a){for(var r=this._fin?0:2048,i=this._h[0],s=this._h[1],f=this._h[2],o=this._h[3],c=this._h[4],d=this._h[5],l=this._h[6],y=this._h[7],h=this._h[8],T=this._h[9],A=this._r[0],O=this._r[1],N=this._r[2],U=this._r[3],q=this._r[4],W=this._r[5],G=this._r[6],X=this._r[7],J=this._r[8],j=this._r[9];a>=16;){var z=e[t+0]|e[t+1]<<8;i+=z&8191;var P=e[t+2]|e[t+3]<<8;s+=(z>>>13|P<<3)&8191;var _=e[t+4]|e[t+5]<<8;f+=(P>>>10|_<<6)&8191;var F=e[t+6]|e[t+7]<<8;o+=(_>>>7|F<<9)&8191;var v=e[t+8]|e[t+9]<<8;c+=(F>>>4|v<<12)&8191,d+=v>>>1&8191;var b=e[t+10]|e[t+11]<<8;l+=(v>>>14|b<<2)&8191;var x=e[t+12]|e[t+13]<<8;y+=(b>>>11|x<<5)&8191;var L=e[t+14]|e[t+15]<<8;h+=(x>>>8|L<<8)&8191,T+=L>>>5|r;var M=0,w=M;w+=i*A,w+=s*(5*j),w+=f*(5*J),w+=o*(5*X),w+=c*(5*G),M=w>>>13,w&=8191,w+=d*(5*W),w+=l*(5*q),w+=y*(5*U),w+=h*(5*N),w+=T*(5*O),M+=w>>>13,w&=8191;var g=M;g+=i*O,g+=s*A,g+=f*(5*j),g+=o*(5*J),g+=c*(5*X),M=g>>>13,g&=8191,g+=d*(5*G),g+=l*(5*W),g+=y*(5*q),g+=h*(5*U),g+=T*(5*N),M+=g>>>13,g&=8191;var R=M;R+=i*N,R+=s*O,R+=f*A,R+=o*(5*j),R+=c*(5*J),M=R>>>13,R&=8191,R+=d*(5*X),R+=l*(5*G),R+=y*(5*W),R+=h*(5*q),R+=T*(5*U),M+=R>>>13,R&=8191;var k=M;k+=i*U,k+=s*N,k+=f*O,k+=o*A,k+=c*(5*j),M=k>>>13,k&=8191,k+=d*(5*J),k+=l*(5*X),k+=y*(5*G),k+=h*(5*W),k+=T*(5*q),M+=k>>>13,k&=8191;var C=M;C+=i*q,C+=s*U,C+=f*N,C+=o*O,C+=c*A,M=C>>>13,C&=8191,C+=d*(5*j),C+=l*(5*J),C+=y*(5*X),C+=h*(5*G),C+=T*(5*W),M+=C>>>13,C&=8191;var H=M;H+=i*W,H+=s*q,H+=f*U,H+=o*N,H+=c*O,M=H>>>13,H&=8191,H+=d*A,H+=l*(5*j),H+=y*(5*J),H+=h*(5*X),H+=T*(5*G),M+=H>>>13,H&=8191;var te=M;te+=i*G,te+=s*W,te+=f*q,te+=o*U,te+=c*N,M=te>>>13,te&=8191,te+=d*O,te+=l*A,te+=y*(5*j),te+=h*(5*J),te+=T*(5*X),M+=te>>>13,te&=8191;var V=M;V+=i*X,V+=s*G,V+=f*W,V+=o*q,V+=c*U,M=V>>>13,V&=8191,V+=d*N,V+=l*O,V+=y*A,V+=h*(5*j),V+=T*(5*J),M+=V>>>13,V&=8191;var Y=M;Y+=i*J,Y+=s*X,Y+=f*G,Y+=o*W,Y+=c*q,M=Y>>>13,Y&=8191,Y+=d*U,Y+=l*N,Y+=y*O,Y+=h*A,Y+=T*(5*j),M+=Y>>>13,Y&=8191;var ee=M;ee+=i*j,ee+=s*J,ee+=f*X,ee+=o*G,ee+=c*W,M=ee>>>13,ee&=8191,ee+=d*q,ee+=l*U,ee+=y*N,ee+=h*O,ee+=T*A,M+=ee>>>13,ee&=8191,M=(M<<2)+M|0,M=M+w|0,w=M&8191,M=M>>>13,g+=M,i=w,s=g,f=R,o=k,c=C,d=H,l=te,y=V,h=Y,T=ee,t+=16,a-=16}this._h[0]=i,this._h[1]=s,this._h[2]=f,this._h[3]=o,this._h[4]=c,this._h[5]=d,this._h[6]=l,this._h[7]=y,this._h[8]=h,this._h[9]=T},n.prototype.finish=function(e,t){t===void 0&&(t=0);var a=new Uint16Array(10),r,i,s,f;if(this._leftover){for(f=this._leftover,this._buffer[f++]=1;f<16;f++)this._buffer[f]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(r=this._h[1]>>>13,this._h[1]&=8191,f=2;f<10;f++)this._h[f]+=r,r=this._h[f]>>>13,this._h[f]&=8191;for(this._h[0]+=r*5,r=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=r,r=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=r,a[0]=this._h[0]+5,r=a[0]>>>13,a[0]&=8191,f=1;f<10;f++)a[f]=this._h[f]+r,r=a[f]>>>13,a[f]&=8191;for(a[9]-=8192,i=(r^1)-1,f=0;f<10;f++)a[f]&=i;for(i=~i,f=0;f<10;f++)this._h[f]=this._h[f]&i|a[f];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,s=this._h[0]+this._pad[0],this._h[0]=s&65535,f=1;f<8;f++)s=(this._h[f]+this._pad[f]|0)+(s>>>16)|0,this._h[f]=s&65535;return e[t+0]=this._h[0]>>>0,e[t+1]=this._h[0]>>>8,e[t+2]=this._h[1]>>>0,e[t+3]=this._h[1]>>>8,e[t+4]=this._h[2]>>>0,e[t+5]=this._h[2]>>>8,e[t+6]=this._h[3]>>>0,e[t+7]=this._h[3]>>>8,e[t+8]=this._h[4]>>>0,e[t+9]=this._h[4]>>>8,e[t+10]=this._h[5]>>>0,e[t+11]=this._h[5]>>>8,e[t+12]=this._h[6]>>>0,e[t+13]=this._h[6]>>>8,e[t+14]=this._h[7]>>>0,e[t+15]=this._h[7]>>>8,this._finished=!0,this},n.prototype.update=function(e){var t=0,a=e.length,r;if(this._leftover){r=16-this._leftover,r>a&&(r=a);for(var i=0;i=16&&(r=a-a%16,this._blocks(e,t,r),t+=r,a-=r),a){for(var i=0;i{"use strict";p();u();Object.defineProperty(Z2,"__esModule",{value:!0});var E$=yNe(),Fe0=hNe(),lS=w6(),gNe=XT(),Oe0=x$();Z2.KEY_LENGTH=32;Z2.NONCE_LENGTH=12;Z2.TAG_LENGTH=16;var vNe=new Uint8Array(16),Ve0=function(){function n(e){if(this.nonceLength=Z2.NONCE_LENGTH,this.tagLength=Z2.TAG_LENGTH,e.length!==Z2.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(e)}return n.prototype.seal=function(e,t,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var i=new Uint8Array(16);i.set(e,i.length-e.length);var s=new Uint8Array(32);E$.stream(this._key,i,s,4);var f=t.length+this.tagLength,o;if(r){if(r.length!==f)throw new Error("ChaCha20Poly1305: incorrect destination length");o=r}else o=new Uint8Array(f);return E$.streamXOR(this._key,i,t,o,4),this._authenticate(o.subarray(o.length-this.tagLength,o.length),s,o.subarray(0,o.length-this.tagLength),a),lS.wipe(i),o},n.prototype.open=function(e,t,a,r){if(e.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(t.length0&&i.update(vNe.subarray(r.length%16))),i.update(a),a.length%16>0&&i.update(vNe.subarray(a.length%16));var s=new Uint8Array(8);r&&gNe.writeUint64LE(r.length,s),i.update(s),gNe.writeUint64LE(a.length,s),i.update(s);for(var f=i.digest(),o=0;o{"use strict";p();u();Object.defineProperty(cie,"__esModule",{value:!0});function $e0(n){return typeof n.saveState<"u"&&typeof n.restoreState<"u"&&typeof n.cleanSavedState<"u"}cie.isSerializableHash=$e0});var xNe=B(pS=>{"use strict";p();u();Object.defineProperty(pS,"__esModule",{value:!0});var D5=_Ne(),Ue0=x$(),qe0=w6(),wNe=function(){function n(e,t){this._finished=!1,this._inner=new e,this._outer=new e,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var a=new Uint8Array(this.blockSize);t.length>this.blockSize?this._inner.update(t).finish(a).clean():a.set(t);for(var r=0;r{"use strict";p();u();Object.defineProperty(die,"__esModule",{value:!0});var INe=xNe(),ENe=w6(),ze0=function(){function n(e,t,a,r){a===void 0&&(a=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=e,this._info=r;var i=INe.hmac(this._hash,a,t);this._hmac=new INe.HMAC(e,i),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return n.prototype._fillBuffer=function(){this._counter[0]++;var e=this._counter[0];if(e===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),e>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},n.prototype.expand=function(e){for(var t=new Uint8Array(e),a=0;a{"use strict";p();u();Object.defineProperty(Lm,"__esModule",{value:!0});var C$=XT(),D$=w6();Lm.DIGEST_LENGTH=32;Lm.BLOCK_SIZE=64;var CNe=function(){function n(){this.digestLength=Lm.DIGEST_LENGTH,this.blockSize=Lm.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return n.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},n.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},n.prototype.clean=function(){D$.wipe(this._buffer),D$.wipe(this._temp),this.reset()},n.prototype.update=function(e,t){if(t===void 0&&(t=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var a=0;if(this._bytesHashed+=t,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=e[a++],t--;this._bufferLength===this.blockSize&&(lie(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(t>=this.blockSize&&(a=lie(this._temp,this._state,e,a,t),t%=this.blockSize);t>0;)this._buffer[this._bufferLength++]=e[a++],t--;return this},n.prototype.finish=function(e){if(!this._finished){var t=this._bytesHashed,a=this._bufferLength,r=t/536870912|0,i=t<<3,s=t%64<56?64:128;this._buffer[a]=128;for(var f=a+1;f0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},n.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},n.prototype.cleanSavedState=function(e){D$.wipe(e.state),e.buffer&&D$.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},n}();Lm.SHA256=CNe;var We0=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function lie(n,e,t,a,r){for(;r>=64;){for(var i=e[0],s=e[1],f=e[2],o=e[3],c=e[4],d=e[5],l=e[6],y=e[7],h=0;h<16;h++){var T=a+h*4;n[h]=C$.readUint32BE(t,T)}for(var h=16;h<64;h++){var A=n[h-2],O=(A>>>17|A<<15)^(A>>>19|A<<13)^A>>>10;A=n[h-15];var N=(A>>>7|A<<25)^(A>>>18|A<<14)^A>>>3;n[h]=(O+n[h-7]|0)+(N+n[h-16]|0)}for(var h=0;h<64;h++){var O=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&d^~c&l)|0)+(y+(We0[h]+n[h]|0)|0)|0,N=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&s^i&f^s&f)|0;y=l,l=d,d=c,c=o+O|0,o=f,f=s,s=i,i=O+N|0}e[0]+=i,e[1]+=s,e[2]+=f,e[3]+=o,e[4]+=c,e[5]+=d,e[6]+=l,e[7]+=y,a+=64,r-=64}return a}function je0(n){var e=new CNe;e.update(n);var t=e.digest();return e.clean(),t}Lm.hash=je0});var RNe=B(Fi=>{"use strict";p();u();Object.defineProperty(Fi,"__esModule",{value:!0});Fi.sharedKey=Fi.generateKeyPair=Fi.generateKeyPairFromSeed=Fi.scalarMultBase=Fi.scalarMult=Fi.SHARED_KEY_LENGTH=Fi.SECRET_KEY_LENGTH=Fi.PUBLIC_KEY_LENGTH=void 0;var Ge0=eS(),Ke0=w6();Fi.PUBLIC_KEY_LENGTH=32;Fi.SECRET_KEY_LENGTH=32;Fi.SHARED_KEY_LENGTH=32;function C5(n){let e=new Float64Array(16);if(n)for(let t=0;t>16&1),t[s-1]&=65535;t[15]=a[15]-32767-(t[14]>>16&1);let i=t[15]>>16&1;t[14]&=65535,uS(a,t,1-i)}for(let r=0;r<16;r++)n[2*r]=a[r]&255,n[2*r+1]=a[r]>>8}function Je0(n,e){for(let t=0;t<16;t++)n[t]=e[2*t]+(e[2*t+1]<<8);n[15]&=32767}function S$(n,e,t){for(let a=0;a<16;a++)n[a]=e[a]+t[a]}function A$(n,e,t){for(let a=0;a<16;a++)n[a]=e[a]-t[a]}function ey(n,e,t){let a,r,i=0,s=0,f=0,o=0,c=0,d=0,l=0,y=0,h=0,T=0,A=0,O=0,N=0,U=0,q=0,W=0,G=0,X=0,J=0,j=0,z=0,P=0,_=0,F=0,v=0,b=0,x=0,L=0,M=0,w=0,g=0,R=t[0],k=t[1],C=t[2],H=t[3],te=t[4],V=t[5],Y=t[6],ee=t[7],ae=t[8],pe=t[9],Q=t[10],ie=t[11],se=t[12],be=t[13],de=t[14],we=t[15];a=e[0],i+=a*R,s+=a*k,f+=a*C,o+=a*H,c+=a*te,d+=a*V,l+=a*Y,y+=a*ee,h+=a*ae,T+=a*pe,A+=a*Q,O+=a*ie,N+=a*se,U+=a*be,q+=a*de,W+=a*we,a=e[1],s+=a*R,f+=a*k,o+=a*C,c+=a*H,d+=a*te,l+=a*V,y+=a*Y,h+=a*ee,T+=a*ae,A+=a*pe,O+=a*Q,N+=a*ie,U+=a*se,q+=a*be,W+=a*de,G+=a*we,a=e[2],f+=a*R,o+=a*k,c+=a*C,d+=a*H,l+=a*te,y+=a*V,h+=a*Y,T+=a*ee,A+=a*ae,O+=a*pe,N+=a*Q,U+=a*ie,q+=a*se,W+=a*be,G+=a*de,X+=a*we,a=e[3],o+=a*R,c+=a*k,d+=a*C,l+=a*H,y+=a*te,h+=a*V,T+=a*Y,A+=a*ee,O+=a*ae,N+=a*pe,U+=a*Q,q+=a*ie,W+=a*se,G+=a*be,X+=a*de,J+=a*we,a=e[4],c+=a*R,d+=a*k,l+=a*C,y+=a*H,h+=a*te,T+=a*V,A+=a*Y,O+=a*ee,N+=a*ae,U+=a*pe,q+=a*Q,W+=a*ie,G+=a*se,X+=a*be,J+=a*de,j+=a*we,a=e[5],d+=a*R,l+=a*k,y+=a*C,h+=a*H,T+=a*te,A+=a*V,O+=a*Y,N+=a*ee,U+=a*ae,q+=a*pe,W+=a*Q,G+=a*ie,X+=a*se,J+=a*be,j+=a*de,z+=a*we,a=e[6],l+=a*R,y+=a*k,h+=a*C,T+=a*H,A+=a*te,O+=a*V,N+=a*Y,U+=a*ee,q+=a*ae,W+=a*pe,G+=a*Q,X+=a*ie,J+=a*se,j+=a*be,z+=a*de,P+=a*we,a=e[7],y+=a*R,h+=a*k,T+=a*C,A+=a*H,O+=a*te,N+=a*V,U+=a*Y,q+=a*ee,W+=a*ae,G+=a*pe,X+=a*Q,J+=a*ie,j+=a*se,z+=a*be,P+=a*de,_+=a*we,a=e[8],h+=a*R,T+=a*k,A+=a*C,O+=a*H,N+=a*te,U+=a*V,q+=a*Y,W+=a*ee,G+=a*ae,X+=a*pe,J+=a*Q,j+=a*ie,z+=a*se,P+=a*be,_+=a*de,F+=a*we,a=e[9],T+=a*R,A+=a*k,O+=a*C,N+=a*H,U+=a*te,q+=a*V,W+=a*Y,G+=a*ee,X+=a*ae,J+=a*pe,j+=a*Q,z+=a*ie,P+=a*se,_+=a*be,F+=a*de,v+=a*we,a=e[10],A+=a*R,O+=a*k,N+=a*C,U+=a*H,q+=a*te,W+=a*V,G+=a*Y,X+=a*ee,J+=a*ae,j+=a*pe,z+=a*Q,P+=a*ie,_+=a*se,F+=a*be,v+=a*de,b+=a*we,a=e[11],O+=a*R,N+=a*k,U+=a*C,q+=a*H,W+=a*te,G+=a*V,X+=a*Y,J+=a*ee,j+=a*ae,z+=a*pe,P+=a*Q,_+=a*ie,F+=a*se,v+=a*be,b+=a*de,x+=a*we,a=e[12],N+=a*R,U+=a*k,q+=a*C,W+=a*H,G+=a*te,X+=a*V,J+=a*Y,j+=a*ee,z+=a*ae,P+=a*pe,_+=a*Q,F+=a*ie,v+=a*se,b+=a*be,x+=a*de,L+=a*we,a=e[13],U+=a*R,q+=a*k,W+=a*C,G+=a*H,X+=a*te,J+=a*V,j+=a*Y,z+=a*ee,P+=a*ae,_+=a*pe,F+=a*Q,v+=a*ie,b+=a*se,x+=a*be,L+=a*de,M+=a*we,a=e[14],q+=a*R,W+=a*k,G+=a*C,X+=a*H,J+=a*te,j+=a*V,z+=a*Y,P+=a*ee,_+=a*ae,F+=a*pe,v+=a*Q,b+=a*ie,x+=a*se,L+=a*be,M+=a*de,w+=a*we,a=e[15],W+=a*R,G+=a*k,X+=a*C,J+=a*H,j+=a*te,z+=a*V,P+=a*Y,_+=a*ee,F+=a*ae,v+=a*pe,b+=a*Q,x+=a*ie,L+=a*se,M+=a*be,w+=a*de,g+=a*we,i+=38*G,s+=38*X,f+=38*J,o+=38*j,c+=38*z,d+=38*P,l+=38*_,y+=38*F,h+=38*v,T+=38*b,A+=38*x,O+=38*L,N+=38*M,U+=38*w,q+=38*g,r=1,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=T+r+65535,r=Math.floor(a/65536),T=a-r*65536,a=A+r+65535,r=Math.floor(a/65536),A=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=N+r+65535,r=Math.floor(a/65536),N=a-r*65536,a=U+r+65535,r=Math.floor(a/65536),U=a-r*65536,a=q+r+65535,r=Math.floor(a/65536),q=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,i+=r-1+37*(r-1),r=1,a=i+r+65535,r=Math.floor(a/65536),i=a-r*65536,a=s+r+65535,r=Math.floor(a/65536),s=a-r*65536,a=f+r+65535,r=Math.floor(a/65536),f=a-r*65536,a=o+r+65535,r=Math.floor(a/65536),o=a-r*65536,a=c+r+65535,r=Math.floor(a/65536),c=a-r*65536,a=d+r+65535,r=Math.floor(a/65536),d=a-r*65536,a=l+r+65535,r=Math.floor(a/65536),l=a-r*65536,a=y+r+65535,r=Math.floor(a/65536),y=a-r*65536,a=h+r+65535,r=Math.floor(a/65536),h=a-r*65536,a=T+r+65535,r=Math.floor(a/65536),T=a-r*65536,a=A+r+65535,r=Math.floor(a/65536),A=a-r*65536,a=O+r+65535,r=Math.floor(a/65536),O=a-r*65536,a=N+r+65535,r=Math.floor(a/65536),N=a-r*65536,a=U+r+65535,r=Math.floor(a/65536),U=a-r*65536,a=q+r+65535,r=Math.floor(a/65536),q=a-r*65536,a=W+r+65535,r=Math.floor(a/65536),W=a-r*65536,i+=r-1+37*(r-1),n[0]=i,n[1]=s,n[2]=f,n[3]=o,n[4]=c,n[5]=d,n[6]=l,n[7]=y,n[8]=h,n[9]=T,n[10]=A,n[11]=O,n[12]=N,n[13]=U,n[14]=q,n[15]=W}function yS(n,e){ey(n,e,e)}function Xe0(n,e){let t=C5();for(let a=0;a<16;a++)t[a]=e[a];for(let a=253;a>=0;a--)yS(t,t),a!==2&&a!==4&&ey(t,t,e);for(let a=0;a<16;a++)n[a]=t[a]}function uie(n,e){let t=new Uint8Array(32),a=new Float64Array(80),r=C5(),i=C5(),s=C5(),f=C5(),o=C5(),c=C5();for(let h=0;h<31;h++)t[h]=n[h];t[31]=n[31]&127|64,t[0]&=248,Je0(a,e);for(let h=0;h<16;h++)i[h]=a[h];r[0]=f[0]=1;for(let h=254;h>=0;--h){let T=t[h>>>3]>>>(h&7)&1;uS(r,i,T),uS(s,f,T),S$(o,r,s),A$(r,r,s),S$(s,i,f),A$(i,i,f),yS(f,o),yS(c,r),ey(r,s,r),ey(s,i,o),S$(o,r,s),A$(r,r,s),yS(i,r),A$(s,f,c),ey(r,s,Qe0),S$(r,r,f),ey(s,s,r),ey(r,f,c),ey(f,i,a),yS(i,o),uS(r,i,T),uS(s,f,T)}for(let h=0;h<16;h++)a[h+16]=r[h],a[h+32]=s[h],a[h+48]=i[h],a[h+64]=f[h];let d=a.subarray(32),l=a.subarray(16);Xe0(d,d),ey(l,l,d);let y=new Uint8Array(32);return Ye0(y,l),y}Fi.scalarMult=uie;function kNe(n){return uie(n,ANe)}Fi.scalarMultBase=kNe;function PNe(n){if(n.length!==Fi.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${Fi.SECRET_KEY_LENGTH} bytes`);let e=new Uint8Array(n);return{publicKey:kNe(e),secretKey:e}}Fi.generateKeyPairFromSeed=PNe;function Ze0(n){let e=(0,Ge0.randomBytes)(32,n),t=PNe(e);return(0,Ke0.wipe)(e),t}Fi.generateKeyPair=Ze0;function et0(n,e,t=!1){if(n.length!==Fi.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(e.length!==Fi.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let a=uie(n,e);if(t){let r=0;for(let i=0;i{p();u();LNe={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}}});var BNe,NNe,FNe,ONe,k$,mS,yie,P$,Mm,bS,R$=ce(()=>{p();u();BNe="PARSE_ERROR",NNe="INVALID_REQUEST",FNe="METHOD_NOT_FOUND",ONe="INVALID_PARAMS",k$="INTERNAL_ERROR",mS="SERVER_ERROR",yie=[-32700,-32600,-32601,-32602,-32603],P$=[-32e3,-32099],Mm={[BNe]:{code:-32700,message:"Parse error"},[NNe]:{code:-32600,message:"Invalid Request"},[FNe]:{code:-32601,message:"Method not found"},[ONe]:{code:-32602,message:"Invalid params"},[k$]:{code:-32603,message:"Internal error"},[mS]:{code:-32e3,message:"Server error"}},bS=mS});function tt0(n){return n<=P$[0]&&n>=P$[1]}function L$(n){return yie.includes(n)}function VNe(n){return typeof n=="number"}function M$(n){return Object.keys(Mm).includes(n)?Mm[n]:Mm[bS]}function B$(n){let e=Object.values(Mm).find(t=>t.code===n);return e||Mm[bS]}function nt0(n){if(typeof n.error.code>"u")return{valid:!1,error:"Missing code for JSON-RPC error"};if(typeof n.error.message>"u")return{valid:!1,error:"Missing message for JSON-RPC error"};if(!VNe(n.error.code))return{valid:!1,error:`Invalid error code type for JSON-RPC: ${n.error.code}`};if(L$(n.error.code)){let e=B$(n.error.code);if(e.message!==Mm[bS].message&&n.error.message===e.message)return{valid:!1,error:`Invalid error code message for JSON-RPC: ${n.error.code}`}}return{valid:!0}}function hS(n,e,t){return n.message.includes("getaddrinfo ENOTFOUND")||n.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${t} RPC url at ${e}`):n}var mie=ce(()=>{p();u();R$()});var UNe=B(Bm=>{"use strict";p();u();Object.defineProperty(Bm,"__esModule",{value:!0});Bm.isBrowserCryptoAvailable=Bm.getSubtleCrypto=Bm.getBrowerCrypto=void 0;function bie(){return(global===null||global===void 0?void 0:global.crypto)||(global===null||global===void 0?void 0:global.msCrypto)||{}}Bm.getBrowerCrypto=bie;function $Ne(){let n=bie();return n.subtle||n.webkitSubtle}Bm.getSubtleCrypto=$Ne;function at0(){return!!bie()&&!!$Ne()}Bm.isBrowserCryptoAvailable=at0});var zNe=B(Nm=>{"use strict";p();u();Object.defineProperty(Nm,"__esModule",{value:!0});Nm.isBrowser=Nm.isNode=Nm.isReactNative=void 0;function qNe(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}Nm.isReactNative=qNe;function HNe(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}Nm.isNode=HNe;function rt0(){return!qNe()&&!HNe()}Nm.isBrowser=rt0});var hie=B(N$=>{"use strict";p();u();Object.defineProperty(N$,"__esModule",{value:!0});var WNe=(w5(),yi(_5));WNe.__exportStar(UNe(),N$);WNe.__exportStar(zNe(),N$)});var gs={};jt(gs,{isNodeJs:()=>GNe});var jNe,GNe,KNe=ce(()=>{p();u();jNe=Te(hie());Ls(gs,Te(hie()));GNe=jNe.isNode});function S5(n=3){let e=Date.now()*Math.pow(10,n),t=Math.floor(Math.random()*Math.pow(10,n));return e+t}function Wl(n=6){return BigInt(S5(n))}function A5(n,e,t){return{id:t||S5(),jsonrpc:"2.0",method:n,params:e}}function ty(n,e){return{id:n,jsonrpc:"2.0",result:e}}function ny(n,e,t){return{id:n,jsonrpc:"2.0",error:QNe(e,t)}}function QNe(n,e){return typeof n>"u"?M$(k$):(typeof n=="string"&&(n=Object.assign(Object.assign({},M$(mS)),{message:n})),typeof e<"u"&&(n.data=e),L$(n.code)&&(n=B$(n.code)),n)}var YNe=ce(()=>{p();u();mie();R$()});function it0(n){return n.includes("*")?O$(n):!/\W/g.test(n)}function F$(n){return n==="*"}function O$(n){return F$(n)?!0:!(!n.includes("*")||n.split("*").length!==2||n.split("*").filter(e=>e.trim()==="").length!==1)}function st0(n){return!F$(n)&&O$(n)&&!n.split("*")[0].trim()}function ft0(n){return!F$(n)&&O$(n)&&!n.split("*")[1].trim()}var JNe=ce(()=>{p();u()});var gS,gie,V$,vS,XNe=ce(()=>{p();u();gS=class{},gie=class extends gS{constructor(e){super()}},V$=class extends gS{constructor(){super()}},vS=class extends V${constructor(e){super()}}});var ZNe=ce(()=>{p();u();XNe()});function dt0(n){let e=n.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function eFe(n,e){let t=dt0(n);return typeof t>"u"?!1:new RegExp(e).test(t)}function $$(n){return eFe(n,ot0)}function U$(n){return eFe(n,ct0)}function vie(n){return new RegExp("wss?://localhost(:d{2,5})?").test(n)}var ot0,ct0,tFe=ce(()=>{p();u();ot0="^https?:",ct0="^wss?:"});function Tie(n){return typeof n=="object"&&"id"in n&&"jsonrpc"in n&&n.jsonrpc==="2.0"}function d_(n){return Tie(n)&&"method"in n}function Fm(n){return Tie(n)&&(fd(n)||$o(n))}function fd(n){return"result"in n}function $o(n){return"error"in n}function lt0(n){return"error"in n&&n.valid===!1}var nFe=ce(()=>{p();u()});var I1={};jt(I1,{DEFAULT_ERROR:()=>bS,IBaseJsonRpcProvider:()=>V$,IEvents:()=>gS,IJsonRpcConnection:()=>gie,IJsonRpcProvider:()=>vS,INTERNAL_ERROR:()=>k$,INVALID_PARAMS:()=>ONe,INVALID_REQUEST:()=>NNe,METHOD_NOT_FOUND:()=>FNe,PARSE_ERROR:()=>BNe,RESERVED_ERROR_CODES:()=>yie,SERVER_ERROR:()=>mS,SERVER_ERROR_CODE_RANGE:()=>P$,STANDARD_ERROR_MAP:()=>Mm,formatErrorMessage:()=>QNe,formatJsonRpcError:()=>ny,formatJsonRpcRequest:()=>A5,formatJsonRpcResult:()=>ty,getBigIntRpcId:()=>Wl,getError:()=>M$,getErrorByCode:()=>B$,isHttpUrl:()=>$$,isJsonRpcError:()=>$o,isJsonRpcPayload:()=>Tie,isJsonRpcRequest:()=>d_,isJsonRpcResponse:()=>Fm,isJsonRpcResult:()=>fd,isJsonRpcValidationInvalid:()=>lt0,isLocalhostUrl:()=>vie,isNodeJs:()=>GNe,isReservedErrorCode:()=>L$,isServerErrorCode:()=>tt0,isValidDefaultRoute:()=>F$,isValidErrorCode:()=>VNe,isValidLeadingWildcardRoute:()=>st0,isValidRoute:()=>it0,isValidTrailingWildcardRoute:()=>ft0,isValidWildcardRoute:()=>O$,isWsUrl:()=>U$,parseConnectionError:()=>hS,payloadId:()=>S5,validateJsonRpcError:()=>nt0});var Om=ce(()=>{p();u();R$();mie();KNe();Ls(I1,gs);YNe();JNe();ZNe();tFe();nFe()});var rFe=B((Aea,aFe)=>{"use strict";p();u();aFe.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var fFe,pt0,ut0,iFe,sFe,yt0,q$,oFe=ce(()=>{p();u();fFe=Te(ti());Fh();Om();pt0=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:rFe(),ut0=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",iFe=n=>n.split("?")[0],sFe=10,yt0=pt0(),q$=class{constructor(e){if(this.url=e,this.events=new fFe.EventEmitter,this.registering=!1,!U$(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,t)=>{if(typeof this.socket>"u"){t(new Error("Connection already closed"));return}this.socket.onclose=a=>{this.onClose(a),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(x1(e))}catch(t){this.onError(e.id,t)}}register(e=this.url){if(!U$(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){let t=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=t||this.events.listenerCount("open")>=t)&&this.events.setMaxListeners(t+1),new Promise((a,r)=>{this.events.once("register_error",i=>{this.resetMaxListeners(),r(i)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return r(new Error("WebSocket connection is missing or invalid"));a(this.socket)})})}return this.url=e,this.registering=!0,new Promise((t,a)=>{let r=new URLSearchParams(e).get("origin"),i=(0,I1.isReactNative)()?{headers:{origin:r}}:{rejectUnauthorized:!vie(e)},s=new yt0(e,[],i);ut0()?s.onerror=f=>{let o=f;a(this.emitError(o.error))}:s.on("error",f=>{a(this.emitError(f))}),s.onopen=()=>{this.onOpen(s),t(s)}})}onOpen(e){e.onmessage=t=>this.onPayload(t),e.onclose=t=>this.onClose(t),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;let t=typeof e.data=="string"?T5(e.data):e.data;this.events.emit("payload",t)}onError(e,t){let a=this.parseError(t),r=a.message||a.toString(),i=ny(e,r);this.events.emit("payload",i)}parseError(e,t=this.url){return hS(e,iFe(t),"WS")}resetMaxListeners(){this.events.getMaxListeners()>sFe&&this.events.setMaxListeners(sFe)}emitError(e){let t=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${iFe(this.url)}`));return this.events.emit("register_error",t),t}}});var HFe=B((TS,p_)=>{p();u();var mt0=200,Pie="__lodash_hash_undefined__",Y$=1,TFe=2,_Fe=9007199254740991,H$="[object Arguments]",Iie="[object Array]",bt0="[object AsyncFunction]",wFe="[object Boolean]",xFe="[object Date]",IFe="[object Error]",EFe="[object Function]",ht0="[object GeneratorFunction]",z$="[object Map]",DFe="[object Number]",gt0="[object Null]",l_="[object Object]",cFe="[object Promise]",vt0="[object Proxy]",CFe="[object RegExp]",W$="[object Set]",SFe="[object String]",Tt0="[object Symbol]",_t0="[object Undefined]",Eie="[object WeakMap]",AFe="[object ArrayBuffer]",j$="[object DataView]",wt0="[object Float32Array]",xt0="[object Float64Array]",It0="[object Int8Array]",Et0="[object Int16Array]",Dt0="[object Int32Array]",Ct0="[object Uint8Array]",St0="[object Uint8ClampedArray]",At0="[object Uint16Array]",kt0="[object Uint32Array]",Pt0=/[\\^$.*+?()[\]{}|]/g,Rt0=/^\[object .+?Constructor\]$/,Lt0=/^(?:0|[1-9]\d*)$/,zr={};zr[wt0]=zr[xt0]=zr[It0]=zr[Et0]=zr[Dt0]=zr[Ct0]=zr[St0]=zr[At0]=zr[kt0]=!0;zr[H$]=zr[Iie]=zr[AFe]=zr[wFe]=zr[j$]=zr[xFe]=zr[IFe]=zr[EFe]=zr[z$]=zr[DFe]=zr[l_]=zr[CFe]=zr[W$]=zr[SFe]=zr[Eie]=!1;var kFe=typeof global=="object"&&global&&global.Object===Object&&global,Mt0=typeof self=="object"&&self&&self.Object===Object&&self,ay=kFe||Mt0||Function("return this")(),PFe=typeof TS=="object"&&TS&&!TS.nodeType&&TS,dFe=PFe&&typeof p_=="object"&&p_&&!p_.nodeType&&p_,RFe=dFe&&dFe.exports===PFe,_ie=RFe&&kFe.process,lFe=function(){try{return _ie&&_ie.binding&&_ie.binding("util")}catch{}}(),pFe=lFe&&lFe.isTypedArray;function Bt0(n,e){for(var t=-1,a=n==null?0:n.length,r=0,i=[];++t-1}function l00(n,e){var t=this.__data__,a=X$(t,n);return a<0?(++this.size,t.push([n,e])):t[a][1]=e,this}ry.prototype.clear=f00;ry.prototype.delete=o00;ry.prototype.get=c00;ry.prototype.has=d00;ry.prototype.set=l00;function Zh(n){var e=-1,t=n==null?0:n.length;for(this.clear();++ef))return!1;var c=i.get(n);if(c&&i.get(e))return c==e;var d=-1,l=!0,y=t&TFe?new K$:void 0;for(i.set(n,e),i.set(e,n);++d-1&&n%1==0&&n-1&&n%1==0&&n<=_Fe}function UFe(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}function xS(n){return n!=null&&typeof n=="object"}var qFe=pFe?Vt0(pFe):S00;function q00(n){return $00(n)?I00(n):A00(n)}function H00(){return[]}function z00(){return!1}p_.exports=U00});var Rie=B((Vea,zFe)=>{p();u();zFe.exports=function(n,e){return e=e||{},new Promise(function(t,a){var r=new XMLHttpRequest,i=[],s=[],f={},o=function(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:o,headers:{keys:function(){return i},entries:function(){return s},get:function(d){return f[d.toLowerCase()]},has:function(d){return d.toLowerCase()in f}}}};for(var c in r.open(e.method||"get",n,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,l,y){i.push(l=l.toLowerCase()),s.push([l,y]),f[l]=f[l]?f[l]+","+y:y}),t(o())},r.onerror=a,r.withCredentials=e.credentials=="include",e.headers)r.setRequestHeader(c,e.headers[c]);r.send(e.body||null)})}});var jFe=B((qea,WFe)=>{p();u();WFe.exports=self.fetch||(self.fetch=Rie().default||Rie())});var Mie=B((Wea,Lie)=>{"use strict";p();u();var W00=Object.prototype.hasOwnProperty,E1="~";function ES(){}Object.create&&(ES.prototype=Object.create(null),new ES().__proto__||(E1=!1));function j00(n,e,t){this.fn=n,this.context=e,this.once=t||!1}function GFe(n,e,t,a,r){if(typeof t!="function")throw new TypeError("The listener must be a function");var i=new j00(t,a||n,r),s=E1?E1+e:e;return n._events[s]?n._events[s].fn?n._events[s]=[n._events[s],i]:n._events[s].push(i):(n._events[s]=i,n._eventsCount++),n}function eU(n,e){--n._eventsCount===0?n._events=new ES:delete n._events[e]}function Uo(){this._events=new ES,this._eventsCount=0}Uo.prototype.eventNames=function(){var e=[],t,a;if(this._eventsCount===0)return e;for(a in t=this._events)W00.call(t,a)&&e.push(E1?a.slice(1):a);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e};Uo.prototype.listeners=function(e){var t=E1?E1+e:e,a=this._events[t];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,i=a.length,s=new Array(i);r{p();u();KFe=Te(Mie(),1),od=KFe.default});function jl(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"http",a=[];if(n.rpc.forEach(r=>{if(!(t==="http"&&!r.startsWith("http"))&&!(t==="ws"&&!r.startsWith("ws")))if(r.includes("${THIRDWEB_API_KEY}"))e?a.push(r.replace("${THIRDWEB_API_KEY}",e)+(typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`/?bundleId=${globalThis.APP_BUNDLE_ID}`:"")):a.push(r.replace("${THIRDWEB_API_KEY}",""));else{if(r.includes("${"))return;a.push(r)}}),a.length===0)throw new Error(`No RPC available for chainId "${n.chainId}" with mode ${t}`);return a}function iy(n,e){try{return{...n,rpc:jl(n,e)}}catch{return n}}function sOe(){return DS||(DS={},nL0.forEach(n=>{DS[n.chainId]=n}),DS)}function aL0(n){let e=sOe();return n in e}function fOe(n){if(aL0(n))return sOe()[n];throw new Error(`Chain with chainId "${n}" not found`)}var cd,G00,K00,Q00,Y00,J00,X00,Z00,en0,tU,tn0,nn0,an0,rn0,in0,sn0,fn0,on0,cn0,dn0,ln0,pn0,un0,yn0,mn0,bn0,hn0,gn0,vn0,Tn0,_n0,wn0,xn0,In0,En0,Dn0,Cn0,Sn0,An0,kn0,Pn0,Rn0,Ln0,Mn0,Bn0,Nn0,Fn0,On0,Vn0,$n0,Un0,qn0,Hn0,zn0,Wn0,QFe,jn0,Gn0,Kn0,Qn0,Yn0,Jn0,Xn0,Zn0,ea0,ta0,na0,aa0,ra0,ia0,sa0,fa0,oa0,ca0,da0,la0,pa0,ua0,ya0,ma0,ba0,ha0,ga0,va0,Ta0,_a0,wa0,xa0,Ia0,Ea0,Da0,Ca0,Sa0,Aa0,ka0,Pa0,YFe,Ra0,La0,Ma0,Ba0,Na0,Fa0,Oa0,Va0,$a0,Ua0,qa0,Ha0,za0,Wa0,ja0,Ga0,Ka0,Qa0,Ya0,Ja0,Xa0,Za0,er0,tr0,nr0,ar0,rr0,ir0,sr0,fr0,or0,cr0,dr0,lr0,pr0,ur0,yr0,mr0,t7,br0,hr0,gr0,vr0,Tr0,_r0,wr0,Bie,xr0,Ir0,Er0,Dr0,Cr0,Sr0,Ar0,kr0,Pr0,Rr0,Lr0,Mr0,Br0,Nr0,Fr0,Or0,Vr0,$r0,Ur0,qr0,Hr0,zr0,Wr0,jr0,Gr0,Kr0,Qr0,Yr0,Jr0,Xr0,Zr0,ei0,ti0,ni0,ai0,ri0,ii0,si0,fi0,oi0,ci0,di0,li0,pi0,ui0,yi0,mi0,bi0,hi0,gi0,vi0,Ti0,_i0,wi0,xi0,Ii0,Ei0,Di0,Ci0,Si0,Ai0,ki0,Pi0,Ri0,Li0,Mi0,Bi0,Ni0,Fi0,Oi0,JFe,Vi0,$i0,Ui0,qi0,Hi0,zi0,Wi0,ji0,Gi0,Ki0,Qi0,Yi0,Ji0,Xi0,Zi0,es0,ts0,ns0,as0,rs0,is0,ss0,fs0,os0,cs0,ds0,ls0,ps0,us0,ys0,ms0,bs0,hs0,gs0,vs0,Ts0,_s0,ws0,xs0,Is0,Es0,Ds0,Cs0,Ss0,As0,ks0,Ps0,Rs0,Ls0,Ms0,Bs0,Ns0,Fs0,Os0,Vs0,$s0,Us0,qs0,Hs0,zs0,Ws0,js0,Gs0,Ks0,Qs0,Ys0,Js0,Xs0,Zs0,ef0,tf0,nf0,af0,rf0,if0,sf0,ff0,of0,cf0,df0,lf0,pf0,uf0,yf0,mf0,bf0,hf0,gf0,vf0,Tf0,_f0,wf0,xf0,If0,Ef0,Df0,Cf0,Sf0,Af0,kf0,Pf0,Rf0,Lf0,Mf0,Bf0,Nf0,Ff0,Of0,Vf0,$f0,Uf0,qf0,Hf0,zf0,Wf0,jf0,Gf0,Kf0,Qf0,Yf0,Jf0,Xf0,Zf0,eo0,to0,no0,ao0,ro0,io0,so0,fo0,oo0,co0,do0,lo0,po0,uo0,yo0,mo0,bo0,ho0,go0,vo0,To0,_o0,wo0,xo0,Io0,Eo0,Do0,Co0,So0,Ao0,ko0,Po0,Ro0,Lo0,Mo0,Bo0,No0,Fo0,Oo0,Vo0,$o0,Uo0,qo0,Ho0,zo0,Wo0,jo0,Go0,Ko0,Qo0,Yo0,Jo0,Xo0,Zo0,e10,t10,n10,a10,r10,i10,s10,f10,o10,c10,d10,l10,p10,u10,y10,m10,b10,h10,g10,v10,T10,_10,w10,x10,I10,E10,D10,C10,S10,A10,k10,P10,R10,L10,M10,B10,N10,F10,O10,V10,$10,U10,q10,H10,z10,W10,j10,G10,K10,Q10,Y10,J10,X10,Z10,ec0,tc0,nc0,ac0,rc0,ic0,sc0,fc0,oc0,cc0,dc0,Nie,lc0,pc0,uc0,yc0,mc0,bc0,hc0,gc0,vc0,Tc0,_c0,wc0,xc0,Ic0,Ec0,Dc0,Cc0,Sc0,Ac0,kc0,Pc0,Rc0,Lc0,Mc0,Bc0,Nc0,Fc0,Oc0,Vc0,$c0,Uc0,qc0,Hc0,zc0,Wc0,jc0,Gc0,Kc0,Qc0,Yc0,Jc0,Xc0,Zc0,XFe,ed0,td0,nd0,ad0,rd0,id0,sd0,fd0,od0,cd0,dd0,ld0,pd0,ud0,yd0,md0,bd0,hd0,gd0,vd0,Td0,_d0,wd0,xd0,Id0,Ed0,Dd0,Cd0,Sd0,Ad0,kd0,Pd0,Rd0,Ld0,Md0,Bd0,Nd0,Fd0,Od0,Vd0,$d0,Ud0,qd0,Hd0,zd0,Wd0,jd0,Gd0,Kd0,Qd0,Yd0,Jd0,Xd0,Zd0,e60,t60,n60,a60,r60,i60,s60,f60,o60,c60,d60,l60,p60,u60,y60,m60,b60,h60,g60,v60,T60,_60,w60,x60,I60,E60,D60,C60,S60,A60,k60,P60,R60,L60,M60,B60,N60,F60,O60,V60,$60,U60,q60,H60,z60,W60,j60,G60,K60,Q60,Y60,J60,X60,Z60,el0,tl0,nl0,al0,rl0,il0,sl0,fl0,ol0,cl0,dl0,ll0,pl0,ul0,yl0,ml0,bl0,hl0,gl0,vl0,Tl0,_l0,wl0,xl0,Il0,El0,Dl0,Cl0,Sl0,Al0,kl0,Pl0,Rl0,Ll0,Ml0,Bl0,Nl0,Fl0,Ol0,Vl0,$l0,Ul0,ql0,Hl0,zl0,Wl0,jl0,Gl0,Kl0,Ql0,Yl0,Jl0,Xl0,Zl0,ep0,tp0,np0,ap0,rp0,ip0,sp0,fp0,op0,cp0,dp0,lp0,pp0,up0,yp0,mp0,bp0,hp0,gp0,vp0,Tp0,_p0,wp0,xp0,Ip0,Ep0,Dp0,Cp0,Sp0,Ap0,kp0,Pp0,Rp0,Lp0,Mp0,Bp0,Np0,Fp0,Op0,Vp0,$p0,Up0,qp0,Hp0,zp0,Wp0,jp0,Gp0,Kp0,Qp0,Yp0,Jp0,Xp0,Zp0,e50,t50,n50,a50,r50,i50,s50,f50,o50,c50,d50,l50,p50,u50,y50,m50,b50,h50,g50,v50,T50,_50,w50,x50,I50,E50,D50,C50,S50,A50,k50,P50,R50,L50,M50,B50,N50,F50,O50,V50,$50,U50,q50,H50,z50,W50,j50,G50,K50,Q50,Y50,J50,X50,Z50,eu0,tu0,ZFe,nu0,au0,ru0,iu0,su0,fu0,ou0,cu0,du0,lu0,pu0,uu0,yu0,mu0,bu0,hu0,gu0,vu0,Tu0,_u0,wu0,xu0,Iu0,Eu0,Du0,Cu0,Su0,Au0,ku0,Pu0,Ru0,Lu0,Mu0,Bu0,Nu0,Fu0,Ou0,Vu0,$u0,Uu0,qu0,Hu0,zu0,Wu0,ju0,Gu0,Ku0,Qu0,Yu0,Ju0,Xu0,Zu0,e20,t20,n20,a20,r20,i20,s20,f20,o20,c20,d20,l20,p20,u20,y20,m20,b20,h20,g20,v20,T20,_20,w20,x20,I20,E20,D20,C20,S20,A20,k20,P20,R20,L20,M20,B20,N20,F20,O20,V20,$20,U20,q20,H20,z20,W20,j20,G20,K20,Q20,Y20,J20,X20,Z20,ey0,ty0,ny0,ay0,ry0,iy0,sy0,fy0,oy0,cy0,dy0,ly0,py0,uy0,yy0,my0,by0,hy0,gy0,vy0,Ty0,_y0,wy0,xy0,Iy0,Ey0,Dy0,Cy0,Sy0,Ay0,ky0,Py0,Ry0,Ly0,My0,By0,Ny0,Fy0,Oy0,Vy0,$y0,Uy0,qy0,Hy0,zy0,Wy0,jy0,Gy0,Ky0,Qy0,Yy0,Jy0,Xy0,Zy0,e80,t80,n80,a80,r80,i80,s80,f80,o80,c80,d80,l80,p80,u80,y80,m80,b80,h80,g80,v80,T80,_80,w80,x80,I80,E80,D80,C80,S80,A80,k80,P80,R80,L80,M80,B80,nU,N80,F80,O80,V80,$80,U80,q80,H80,z80,W80,j80,G80,K80,Q80,Y80,J80,X80,Z80,em0,tm0,nm0,am0,rm0,im0,sm0,fm0,om0,cm0,dm0,lm0,pm0,um0,ym0,mm0,bm0,hm0,gm0,vm0,Tm0,_m0,wm0,xm0,Im0,Em0,Dm0,Cm0,Sm0,Am0,km0,Pm0,Rm0,Lm0,Mm0,Bm0,Nm0,Fm0,Om0,Vm0,$m0,Um0,qm0,Hm0,zm0,Wm0,jm0,Gm0,Km0,Qm0,Ym0,Jm0,Xm0,Zm0,e30,t30,n30,a30,r30,i30,s30,f30,o30,c30,d30,l30,p30,u30,y30,m30,b30,h30,g30,v30,T30,_30,w30,x30,I30,E30,D30,C30,S30,A30,k30,P30,R30,L30,M30,B30,N30,F30,O30,V30,$30,U30,q30,H30,z30,W30,j30,G30,K30,Q30,Y30,J30,X30,Z30,e40,t40,n40,a40,r40,i40,s40,f40,o40,c40,d40,l40,p40,u40,y40,m40,b40,h40,g40,v40,T40,_40,w40,x40,I40,E40,D40,C40,S40,A40,k40,P40,R40,L40,M40,B40,N40,F40,O40,V40,$40,U40,q40,H40,z40,W40,j40,G40,K40,Q40,Y40,J40,X40,Z40,eb0,tb0,nb0,ab0,rb0,ib0,sb0,fb0,ob0,cb0,db0,lb0,pb0,ub0,yb0,mb0,bb0,hb0,gb0,vb0,Tb0,_b0,wb0,xb0,Ib0,Eb0,Db0,Cb0,Sb0,Ab0,kb0,Pb0,Rb0,Lb0,Mb0,Bb0,Nb0,Fb0,Ob0,Vb0,$b0,Ub0,qb0,Hb0,zb0,Wb0,jb0,Gb0,Kb0,Qb0,Yb0,Jb0,Xb0,Zb0,eh0,th0,nh0,ah0,rh0,ih0,sh0,fh0,oh0,ch0,dh0,lh0,ph0,uh0,yh0,mh0,bh0,hh0,gh0,vh0,Th0,_h0,wh0,xh0,Ih0,Eh0,Dh0,Ch0,Sh0,Ah0,kh0,Ph0,Rh0,Lh0,Mh0,Bh0,Nh0,Fh0,Oh0,Vh0,$h0,Uh0,qh0,Hh0,zh0,Wh0,jh0,Gh0,Kh0,Qh0,Yh0,Jh0,Xh0,Zh0,e70,t70,n70,a70,r70,i70,s70,f70,o70,c70,d70,l70,p70,u70,y70,m70,b70,h70,g70,v70,T70,_70,w70,x70,I70,E70,D70,C70,S70,A70,k70,P70,R70,L70,M70,B70,N70,F70,O70,V70,$70,U70,q70,H70,z70,W70,j70,G70,K70,Q70,Y70,J70,X70,Z70,e90,t90,n90,a90,r90,i90,s90,f90,o90,c90,d90,l90,p90,u90,y90,m90,b90,h90,g90,v90,T90,_90,w90,x90,I90,E90,D90,C90,S90,A90,k90,P90,R90,L90,M90,B90,N90,F90,O90,V90,$90,U90,q90,H90,z90,W90,j90,G90,K90,Q90,Y90,J90,X90,Z90,eg0,tg0,eOe,ng0,CS,ag0,rg0,ig0,sg0,fg0,og0,cg0,dg0,lg0,pg0,ug0,tOe,nOe,yg0,mg0,bg0,hg0,gg0,vg0,Tg0,_g0,SS,wg0,xg0,Ig0,Eg0,Dg0,Cg0,Sg0,Ag0,kg0,Pg0,Rg0,Lg0,Mg0,Bg0,Ng0,Fg0,Og0,Vg0,$g0,Ug0,qg0,Hg0,zg0,Wg0,jg0,Gg0,Kg0,Qg0,Yg0,Jg0,Xg0,Zg0,ev0,tv0,nv0,av0,rv0,iv0,sv0,fv0,ov0,cv0,dv0,lv0,pv0,uv0,yv0,mv0,bv0,hv0,gv0,vv0,Tv0,_v0,wv0,xv0,Iv0,Ev0,Dv0,Cv0,Sv0,Av0,kv0,Pv0,Rv0,Lv0,Mv0,Bv0,Nv0,Fv0,Ov0,Vv0,$v0,Uv0,qv0,Hv0,zv0,Wv0,jv0,Gv0,Kv0,Qv0,Yv0,Jv0,Xv0,Zv0,eT0,tT0,nT0,aT0,rT0,iT0,sT0,fT0,oT0,cT0,dT0,lT0,pT0,uT0,yT0,mT0,bT0,hT0,gT0,vT0,TT0,_T0,wT0,xT0,IT0,ET0,DT0,CT0,ST0,AT0,kT0,PT0,RT0,LT0,MT0,BT0,NT0,FT0,OT0,VT0,$T0,UT0,qT0,HT0,Fie,zT0,WT0,jT0,GT0,KT0,QT0,YT0,JT0,XT0,ZT0,e_0,t_0,n_0,a_0,r_0,i_0,s_0,f_0,o_0,c_0,d_0,l_0,p_0,u_0,y_0,m_0,b_0,h_0,g_0,v_0,T_0,__0,w_0,x_0,I_0,E_0,D_0,C_0,S_0,A_0,k_0,P_0,R_0,L_0,M_0,B_0,N_0,F_0,O_0,V_0,$_0,U_0,q_0,H_0,z_0,W_0,j_0,G_0,K_0,Q_0,Y_0,J_0,X_0,Z_0,ew0,tw0,nw0,aw0,rw0,iw0,sw0,fw0,ow0,cw0,dw0,lw0,pw0,uw0,yw0,mw0,bw0,hw0,gw0,vw0,Tw0,_w0,ww0,xw0,Iw0,Ew0,Dw0,Cw0,Sw0,Aw0,kw0,Pw0,Rw0,Lw0,Mw0,Bw0,Nw0,Fw0,Ow0,Vw0,$w0,Uw0,qw0,Hw0,zw0,Ww0,jw0,Gw0,aOe,Oie,Kw0,Qw0,Yw0,Jw0,Xw0,Zw0,ex0,tx0,nx0,ax0,rx0,ix0,sx0,fx0,ox0,cx0,dx0,lx0,px0,ux0,yx0,mx0,bx0,hx0,gx0,vx0,Tx0,_x0,wx0,xx0,Ix0,Ex0,Dx0,Cx0,aU,Sx0,Ax0,kx0,Px0,Rx0,Lx0,Mx0,Bx0,Nx0,Fx0,Ox0,Vx0,$x0,Ux0,qx0,Hx0,zx0,Wx0,jx0,Gx0,Kx0,Qx0,Yx0,Jx0,Xx0,Zx0,eI0,tI0,nI0,aI0,rI0,iI0,sI0,fI0,oI0,cI0,dI0,lI0,pI0,uI0,yI0,mI0,bI0,hI0,gI0,vI0,TI0,_I0,wI0,xI0,II0,EI0,DI0,CI0,SI0,AI0,kI0,PI0,RI0,LI0,MI0,BI0,NI0,FI0,OI0,VI0,$I0,UI0,qI0,HI0,zI0,WI0,jI0,GI0,KI0,QI0,YI0,JI0,XI0,ZI0,eE0,tE0,nE0,aE0,rE0,iE0,sE0,fE0,oE0,cE0,dE0,lE0,pE0,uE0,yE0,mE0,bE0,hE0,gE0,vE0,TE0,_E0,wE0,xE0,IE0,EE0,DE0,CE0,SE0,AE0,kE0,PE0,RE0,LE0,ME0,BE0,NE0,FE0,OE0,VE0,$E0,UE0,qE0,HE0,zE0,WE0,jE0,GE0,KE0,QE0,YE0,JE0,XE0,ZE0,eD0,tD0,nD0,aD0,rD0,iD0,sD0,fD0,oD0,cD0,dD0,lD0,pD0,uD0,yD0,mD0,bD0,hD0,gD0,vD0,TD0,_D0,wD0,xD0,ID0,ED0,DD0,CD0,SD0,AD0,kD0,PD0,RD0,LD0,MD0,BD0,ND0,FD0,OD0,VD0,$D0,UD0,qD0,HD0,zD0,WD0,jD0,GD0,KD0,QD0,YD0,JD0,XD0,ZD0,eC0,tC0,nC0,aC0,rC0,iC0,sC0,fC0,oC0,cC0,dC0,lC0,pC0,uC0,yC0,mC0,bC0,hC0,gC0,vC0,TC0,_C0,wC0,xC0,IC0,EC0,DC0,CC0,SC0,AC0,kC0,PC0,RC0,LC0,MC0,BC0,NC0,FC0,OC0,VC0,$C0,UC0,qC0,HC0,zC0,WC0,jC0,GC0,KC0,rOe,QC0,YC0,JC0,XC0,ZC0,eS0,tS0,nS0,aS0,rS0,iS0,sS0,fS0,oS0,cS0,dS0,lS0,pS0,uS0,yS0,mS0,bS0,hS0,gS0,vS0,TS0,_S0,wS0,xS0,IS0,ES0,DS0,CS0,SS0,AS0,kS0,PS0,RS0,LS0,MS0,BS0,NS0,FS0,OS0,VS0,$S0,US0,qS0,HS0,zS0,WS0,jS0,GS0,KS0,QS0,YS0,JS0,XS0,ZS0,eA0,tA0,nA0,aA0,rA0,iA0,sA0,fA0,oA0,cA0,dA0,lA0,pA0,uA0,yA0,mA0,bA0,hA0,gA0,vA0,TA0,_A0,wA0,xA0,IA0,EA0,DA0,CA0,SA0,AA0,kA0,PA0,RA0,LA0,MA0,BA0,NA0,FA0,OA0,VA0,$A0,UA0,qA0,HA0,zA0,WA0,jA0,GA0,KA0,QA0,YA0,JA0,XA0,ZA0,ek0,tk0,nk0,ak0,rk0,ik0,sk0,fk0,ok0,ck0,dk0,lk0,pk0,uk0,yk0,mk0,bk0,hk0,gk0,vk0,Tk0,_k0,wk0,xk0,Ik0,Ek0,Dk0,Ck0,Sk0,Ak0,kk0,Pk0,Rk0,Lk0,Mk0,Vie,Bk0,Nk0,Fk0,Ok0,Vk0,$k0,Uk0,qk0,Hk0,zk0,Wk0,jk0,Gk0,iOe,rU,Kk0,Qk0,Yk0,Jk0,Xk0,Zk0,eP0,tP0,nP0,aP0,rP0,iP0,sP0,fP0,oP0,cP0,dP0,lP0,pP0,uP0,yP0,mP0,bP0,hP0,gP0,vP0,TP0,_P0,wP0,xP0,IP0,EP0,DP0,CP0,SP0,AP0,kP0,PP0,RP0,LP0,MP0,BP0,NP0,FP0,OP0,VP0,$P0,UP0,qP0,HP0,zP0,WP0,jP0,GP0,KP0,QP0,YP0,JP0,XP0,ZP0,eR0,tR0,nR0,aR0,rR0,$ie,iR0,sR0,fR0,oR0,cR0,dR0,lR0,pR0,uR0,yR0,mR0,bR0,hR0,gR0,vR0,TR0,_R0,wR0,xR0,IR0,ER0,DR0,CR0,SR0,AR0,kR0,PR0,RR0,LR0,MR0,BR0,NR0,FR0,OR0,VR0,$R0,UR0,qR0,HR0,zR0,WR0,jR0,GR0,KR0,QR0,YR0,JR0,XR0,ZR0,eL0,tL0,qo,nL0,DS,gc=ce(()=>{"use strict";p();u();cd={chain:"ETH",chainId:1,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"etherscan",url:"https://etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://eth.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://ethereum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://ethereum.org",name:"Ethereum Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,redFlags:[],rpc:["https://1.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.infura.io/v3/${INFURA_API_KEY}","wss://mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://api.mycryptoapi.com/eth","https://cloudflare-eth.com","https://ethereum-rpc.publicnode.com","wss://ethereum-rpc.publicnode.com","https://mainnet.gateway.tenderly.co","wss://mainnet.gateway.tenderly.co","https://rpc.blocknative.com/boost","https://rpc.flashbots.net","https://rpc.flashbots.net/fast","https://rpc.mevblocker.io","https://rpc.mevblocker.io/fast","https://rpc.mevblocker.io/noreverts","https://rpc.mevblocker.io/fullprivacy","https://eth.drpc.org","wss://eth.drpc.org"],shortName:"eth",slip44:60,slug:"ethereum",testnet:!1},G00={chain:"EXP",chainId:2,explorers:[],faucets:[],infoURL:"https://expanse.tech",name:"Expanse Network",nativeCurrency:{name:"Expanse Network Ether",symbol:"EXP",decimals:18},networkId:1,rpc:["https://2.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.expanse.tech"],shortName:"exp",slip44:40,slug:"expanse-network",testnet:!1},K00={chain:"ETH",chainId:3,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan",url:"https://ropsten.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=3&address=${ADDRESS}","https://faucet.ropsten.be?${ADDRESS}"],features:[],infoURL:"https://github.com/ethereum/ropsten",name:"Ropsten",nativeCurrency:{name:"Ropsten Ether",symbol:"ETH",decimals:18},networkId:3,redFlags:[],rpc:["https://3.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ropsten.infura.io/v3/${INFURA_API_KEY}","wss://ropsten.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rop",slip44:1,slug:"ropsten",status:"deprecated",testnet:!1,title:"Ethereum Testnet Ropsten"},Q00={chain:"ETH",chainId:4,ens:{registry:"0xe7410170f87102df0055eb195163a03b7f2bff4a"},explorers:[{name:"etherscan-rinkeby",url:"https://rinkeby.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=4&address=${ADDRESS}","https://faucet.rinkeby.io"],features:[],infoURL:"https://www.rinkeby.io",name:"Rinkeby",nativeCurrency:{name:"Rinkeby Ether",symbol:"ETH",decimals:18},networkId:4,redFlags:[],rpc:["https://4.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.infura.io/v3/${INFURA_API_KEY}","wss://rinkeby.infura.io/ws/v3/${INFURA_API_KEY}"],shortName:"rin",slip44:1,slug:"rinkeby",status:"deprecated",testnet:!0,title:"Ethereum Testnet Rinkeby"},Y00={chain:"ETH",chainId:5,ens:{registry:"0x112234455c3a32fd11230c42e7bccd4a84e02010"},explorers:[{name:"etherscan-goerli",url:"https://goerli.etherscan.io",standard:"EIP3091"},{name:"blockscout-goerli",url:"https://eth-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["http://fauceth.komputing.org?chain=5&address=${ADDRESS}","https://goerli-faucet.slock.it?address=${ADDRESS}","https://faucet.goerli.mudit.blog"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://goerli.net/#about",name:"Goerli",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:5,redFlags:[],rpc:["https://5.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.infura.io/v3/${INFURA_API_KEY}","wss://goerli.infura.io/v3/${INFURA_API_KEY}","https://rpc.goerli.mudit.blog/","https://ethereum-goerli-rpc.publicnode.com","wss://ethereum-goerli-rpc.publicnode.com","https://goerli.gateway.tenderly.co","wss://goerli.gateway.tenderly.co"],shortName:"gor",slip44:1,slug:"goerli",status:"deprecated",testnet:!0,title:"Ethereum Testnet Goerli"},J00={chain:"ETC",chainId:6,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Kotti Testnet",nativeCurrency:{name:"Kotti Ether",symbol:"KOT",decimals:18},networkId:6,rpc:[],shortName:"kot",slip44:1,slug:"kotti-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Kotti Testnet"},X00={chain:"TCH",chainId:7,explorers:[{name:"Thaichain Explorer",url:"https://exp.thaichain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://thaichain.io",name:"ThaiChain",nativeCurrency:{name:"ThaiChain Ether",symbol:"TCH",decimals:18},networkId:7,rpc:["https://7.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dome.cloud","https://rpc.thaichain.org"],shortName:"tch",slug:"thaichain",testnet:!1},Z00={chain:"UBQ",chainId:8,explorers:[{name:"ubiqscan",url:"https://ubiqscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ubiqsmart.com",name:"Ubiq",nativeCurrency:{name:"Ubiq Ether",symbol:"UBQ",decimals:18},networkId:8,rpc:["https://8.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octano.dev","https://pyrus2.ubiqscan.io"],shortName:"ubq",slip44:108,slug:"ubiq",testnet:!1},en0={chain:"UBQ",chainId:9,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ubiq Network Testnet",nativeCurrency:{name:"Ubiq Testnet Ether",symbol:"TUBQ",decimals:18},networkId:2,rpc:[],shortName:"tubq",slip44:1,slug:"ubiq-network-testnet",testnet:!0},tU={chain:"ETH",chainId:10,explorers:[{name:"etherscan",url:"https://optimistic.etherscan.io",standard:"EIP3091"},{name:"blockscout",url:"https://optimism.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://optimism.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10,redFlags:[],rpc:["https://10.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://optimism-mainnet.infura.io/v3/${INFURA_API_KEY}","https://mainnet.optimism.io","https://optimism.publicnode.com","wss://optimism.publicnode.com","https://optimism.gateway.tenderly.co","wss://optimism.gateway.tenderly.co","https://optimism-rpc.publicnode.com","wss://optimism-rpc.publicnode.com","https://optimism.drpc.org","wss://optimism.drpc.org"],shortName:"oeth",slug:"optimism",testnet:!1},tn0={chain:"META",chainId:11,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Mainnet",nativeCurrency:{name:"Metadium Mainnet Ether",symbol:"META",decimals:18},networkId:11,rpc:["https://11.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/prod"],shortName:"meta",slip44:916,slug:"metadium",testnet:!1},nn0={chain:"META",chainId:12,explorers:[],faucets:[],infoURL:"https://metadium.com",name:"Metadium Testnet",nativeCurrency:{name:"Metadium Testnet Ether",symbol:"KAL",decimals:18},networkId:12,rpc:["https://12.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metadium.com/dev"],shortName:"kal",slip44:1,slug:"metadium-testnet",testnet:!0},an0={chain:"DIODE",chainId:13,explorers:[],faucets:[],infoURL:"https://diode.io/staging",name:"Diode Testnet Staging",nativeCurrency:{name:"Staging Diodes",symbol:"sDIODE",decimals:18},networkId:13,rpc:["https://13.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging.diode.io:8443/","wss://staging.diode.io:8443/ws"],shortName:"dstg",slip44:1,slug:"diode-testnet-staging",testnet:!0},rn0={chain:"FLR",chainId:14,explorers:[{name:"blockscout",url:"https://flare-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://mainnet.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmbT52cCx4h1rcz6nXGfUPFdRyw1VfFMU8kKpY7YCtvUjs",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Mainnet",nativeCurrency:{name:"Flare",symbol:"FLR",decimals:18},networkId:14,rpc:["https://14.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flare-api.flare.network/ext/C/rpc","https://flare-bundler.etherspot.io","https://rpc.ankr.com/flare","https://01-gravelines-003-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-003-02.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/flare","https://flare.enosys.global/ext/C/rpc","https://flare.solidifi.app/ext/C/rpc"],shortName:"flr",slug:"flare",testnet:!1},in0={chain:"DIODE",chainId:15,explorers:[],faucets:[],infoURL:"https://diode.io/prenet",name:"Diode Prenet",nativeCurrency:{name:"Diodes",symbol:"DIODE",decimals:18},networkId:15,rpc:["https://15.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prenet.diode.io:8443/","wss://prenet.diode.io:8443/ws"],shortName:"diode",slug:"diode-prenet",testnet:!1},sn0={chain:"SGB",chainId:16,explorers:[{name:"blockscout",url:"https://coston-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmV5PVhxaT3ePRHYsH3aryEHin2c49W18xW3Xg4o171iYE",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Testnet Coston",nativeCurrency:{name:"Coston Flare",symbol:"CFLR",decimals:18},networkId:16,rpc:["https://16.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston-api.flare.network/ext/C/rpc","https://01-gravelines-004-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-004-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-004-03.rpc.tatum.io/ext/bc/C/rpc","https://coston.enosys.global/ext/C/rpc"],shortName:"cflr",slip44:1,slug:"songbird-testnet-coston",testnet:!0},fn0={chain:"TCH",chainId:17,explorers:[],faucets:[],infoURL:"https://exp.thaifi.com",name:"ThaiChain 2.0 ThaiFi",nativeCurrency:{name:"Thaifi Ether",symbol:"TFI",decimals:18},networkId:17,rpc:["https://17.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.thaifi.com"],shortName:"tfi",slug:"thaichain-2-0-thaifi",testnet:!1},on0={chain:"TST",chainId:18,explorers:[{name:"thundercore-blockscout-testnet",url:"https://explorer-testnet.thundercore.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.thundercore.com"],infoURL:"https://thundercore.com",name:"ThunderCore Testnet",nativeCurrency:{name:"ThunderCore Testnet Token",symbol:"TST",decimals:18},networkId:18,rpc:["https://18.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.thundercore.com","https://thundercore-testnet.drpc.org","wss://thundercore-testnet.drpc.org"],shortName:"TST",slip44:1,slug:"thundercore-testnet",testnet:!0},cn0={chain:"SGB",chainId:19,explorers:[{name:"blockscout",url:"https://songbird-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://songbird.flarescan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdpaH9pEFDXB4tUPxcqAHfB3Sfx3BQufz6EAzBWhHH6Ka",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Songbird Canary-Network",nativeCurrency:{name:"Songbird",symbol:"SGB",decimals:18},networkId:19,rpc:["https://19.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://songbird-api.flare.network/ext/C/rpc","https://01-gravelines-006-01.rpc.tatum.io/ext/bc/C/rpc","https://01-vinthill-006-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-006-03.rpc.tatum.io/ext/bc/C/rpc","https://rpc.ftso.au/songbird","https://songbird.enosys.global/ext/C/rpc","https://songbird.solidifi.app/ext/C/rpc"],shortName:"sgb",slug:"songbird-canary-network",testnet:!1},dn0={chain:"ETH",chainId:20,explorers:[{name:"elastos esc explorer",url:"https://esc.elastos.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:20,rpc:["https://20.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.elastos.io/eth"],shortName:"esc",slug:"elastos-smart-chain",testnet:!1},ln0={chain:"ETH",chainId:21,explorers:[{name:"elastos esc explorer",url:"https://esc-testnet.elastos.io",standard:"EIP3091"}],faucets:["https://esc-faucet.elastos.io/"],infoURL:"https://www.elastos.org/",name:"Elastos Smart Chain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:21,rpc:["https://21.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-testnet.elastos.io/eth"],shortName:"esct",slug:"elastos-smart-chain-testnet",testnet:!0},pn0={chain:"ETH",chainId:22,explorers:[],faucets:[],infoURL:"https://www.elastos.org/",name:"ELA-DID-Sidechain Mainnet",nativeCurrency:{name:"Elastos",symbol:"ELA",decimals:18},networkId:22,rpc:[],shortName:"eladid",slug:"ela-did-sidechain",testnet:!1},un0={chain:"ETH",chainId:23,explorers:[],faucets:[],infoURL:"https://elaeth.io/",name:"ELA-DID-Sidechain Testnet",nativeCurrency:{name:"Elastos",symbol:"tELA",decimals:18},networkId:23,rpc:[],shortName:"eladidt",slip44:1,slug:"ela-did-sidechain-testnet",testnet:!0},yn0={chain:"KAI",chainId:24,explorers:[],faucets:[],icon:{url:"ipfs://QmXoHaZXJevc59GuzEgBhwRSH6kio1agMRvL8bD93pARRV",width:297,height:297,format:"png"},infoURL:"https://kardiachain.io",name:"KardiaChain Mainnet",nativeCurrency:{name:"KardiaChain",symbol:"KAI",decimals:18},networkId:0,redFlags:["reusedChainId"],rpc:["https://24.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kardiachain.io"],shortName:"kardiachain",slug:"kardiachain",testnet:!1},mn0={chain:"CRO",chainId:25,explorers:[{name:"Cronos Explorer",url:"https://explorer.cronos.org",standard:"none"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://cronos.org/",name:"Cronos Mainnet",nativeCurrency:{name:"Cronos",symbol:"CRO",decimals:18},networkId:25,redFlags:[],rpc:["https://25.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cronos.drpc.org","wss://cronos.drpc.org","https://cronos-evm-rpc.publicnode.com","wss://cronos-evm-rpc.publicnode.com","https://cronos.blockpi.network/v1/rpc/public","https://evm.cronos.org"],shortName:"cro",slug:"cronos",testnet:!1},bn0={chain:"genesis",chainId:26,explorers:[{name:"Genesis L1 testnet explorer",url:"https://testnet.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1 testnet",nativeCurrency:{name:"L1 testcoin",symbol:"L1test",decimals:18},networkId:26,rpc:["https://26.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.genesisl1.org"],shortName:"L1test",slip44:1,slug:"genesis-l1-testnet",testnet:!0},hn0={chain:"SHIB",chainId:27,explorers:[{name:"Shiba Explorer",url:"https://exp.shibchain.org",standard:"none"}],faucets:[],infoURL:"https://shibchain.org",name:"ShibaChain",nativeCurrency:{name:"SHIBA INU COIN",symbol:"SHIB",decimals:18},networkId:27,rpc:["https://27.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibchain.org"],shortName:"shib",slug:"shibachain",testnet:!1},gn0={chain:"ETH",chainId:28,explorers:[{name:"Blockscout",url:"https://blockexplorer.rinkeby.boba.network",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Rinkeby Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://gateway.rinkeby.boba.network"}]},redFlags:[],rpc:["https://28.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.boba.network/"],shortName:"BobaRinkeby",slip44:1,slug:"boba-network-rinkeby-testnet",status:"deprecated",testnet:!0},vn0={chain:"genesis",chainId:29,explorers:[{name:"Genesis L1 blockchain explorer",url:"https://explorer.genesisl1.org",standard:"none"}],faucets:[],infoURL:"https://www.genesisl1.com",name:"Genesis L1",nativeCurrency:{name:"L1 coin",symbol:"L1",decimals:18},networkId:29,rpc:["https://29.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesisl1.org"],shortName:"L1",slug:"genesis-l1",testnet:!1},Tn0={chain:"Rootstock",chainId:30,explorers:[{name:"blockscout",url:"https://rootstock.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"Rootstock Explorer",url:"https://explorer.rsk.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Mainnet",nativeCurrency:{name:"Smart Bitcoin",symbol:"RBTC",decimals:18},networkId:30,rpc:["https://30.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.rsk.co","https://mycrypto.rsk.co"],shortName:"rsk",slip44:137,slug:"rootstock",testnet:!1},_n0={chain:"Rootstock",chainId:31,explorers:[{name:"RSK Testnet Explorer",url:"https://explorer.testnet.rsk.co",standard:"EIP3091"}],faucets:["https://faucet.rsk.co/"],features:[],icon:{url:"ipfs://bafkreigidzbf22dnpmmlfxv6u7oifq6ln33j4n57ox4ipiproalufrheym",width:3e3,height:3325,format:"png"},infoURL:"https://rootstock.io",name:"Rootstock Testnet",nativeCurrency:{name:"Testnet Smart Bitcoin",symbol:"tRBTC",decimals:18},networkId:31,redFlags:[],rpc:["https://31.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.testnet.rsk.co","https://mycrypto.testnet.rsk.co","https://testnet-rpc.etherspot.io/v1/31"],shortName:"trsk",slip44:1,slug:"rootstock-testnet",testnet:!1},wn0={chain:"GooD",chainId:32,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Testnet",nativeCurrency:{name:"GoodData Testnet Ether",symbol:"GooD",decimals:18},networkId:32,rpc:["https://32.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.goodata.io"],shortName:"GooDT",slip44:1,slug:"gooddata-testnet",testnet:!0},xn0={chain:"GooD",chainId:33,explorers:[],faucets:[],infoURL:"https://www.goodata.org",name:"GoodData Mainnet",nativeCurrency:{name:"GoodData Mainnet Ether",symbol:"GooD",decimals:18},networkId:33,rpc:["https://33.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.goodata.io"],shortName:"GooD",slug:"gooddata",testnet:!1},In0={chain:"SCAI",chainId:34,explorers:[{name:"SecureChain Mainnet",url:"https://explorer.securechain.ai",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Mainnet",nativeCurrency:{name:"SecureChain",symbol:"SCAI",decimals:18},networkId:34,redFlags:["reusedChainId"],rpc:["https://34.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scai.network"],shortName:"scai",slug:"securechain",testnet:!1},En0={chain:"TBWG",chainId:35,explorers:[],faucets:[],infoURL:"https://tbwg.io",name:"TBWG Chain",nativeCurrency:{name:"TBWG Ether",symbol:"TBG",decimals:18},networkId:35,rpc:["https://35.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tbwg.io"],shortName:"tbwg",slug:"tbwg-chain",testnet:!1},Dn0={chain:"Dxchain",chainId:36,explorers:[{name:"dxscan",url:"https://dxscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYBup5bWoBfkaHntbcgW8Ji7ncad7f53deJ4Q55z4PNQs",width:128,height:128,format:"png"},infoURL:"https://www.dxchain.com/",name:"Dxchain Mainnet",nativeCurrency:{name:"Dxchain",symbol:"DX",decimals:18},networkId:36,rpc:["https://36.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.dxchain.com"],shortName:"dx",slug:"dxchain",testnet:!1},Cn0={chain:"XPLA",chainId:37,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/mainnet",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Mainnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:37,redFlags:["reusedChainId"],rpc:["https://37.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-evm-rpc.xpla.dev"],shortName:"xpla",slug:"xpla",testnet:!1},Sn0={chain:"VAL",chainId:38,explorers:[],faucets:[],infoURL:"https://valorbit.com",name:"Valorbit",nativeCurrency:{name:"Valorbit",symbol:"VAL",decimals:18},networkId:38,rpc:["https://38.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.valorbit.com/v2"],shortName:"val",slip44:538,slug:"valorbit",testnet:!1},An0={chain:"u2u",chainId:39,explorers:[{name:"U2U Explorer",url:"https://u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"U2U Solaris Mainnet",nativeCurrency:{name:"Unicorn Ultra",symbol:"U2U",decimals:18},networkId:39,rpc:["https://39.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.uniultra.xyz"],shortName:"u2u",slug:"u2u-solaris",testnet:!1},kn0={chain:"TLOS",chainId:40,explorers:[{name:"teloscan",url:"https://teloscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Mainnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:40,redFlags:[],rpc:["https://40.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.telos.net/evm","https://telos.drpc.org","wss://telos.drpc.org"],shortName:"TelosEVM",slug:"telos-evm",testnet:!1},Pn0={chain:"TLOS",chainId:41,explorers:[{name:"teloscan",url:"https://testnet.teloscan.io",standard:"EIP3091"}],faucets:["https://app.telos.net/testnet/developers"],features:[],icon:{url:"ipfs://QmdkgQDtDedsNNth3ZVgWfwRZPCePLA13MtLvV4CEYSuTR/TLOS.png",width:228,height:228,format:"png"},infoURL:"https://telos.net",name:"Telos EVM Testnet",nativeCurrency:{name:"Telos",symbol:"TLOS",decimals:18},networkId:41,redFlags:[],rpc:["https://41.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.telos.net/evm","https://telos-testnet.drpc.org","wss://telos-testnet.drpc.org"],shortName:"TelosEVMTestnet",slip44:1,slug:"telos-evm-testnet",testnet:!0},Rn0={chain:"LUKSO",chainId:42,explorers:[{name:"Blockscout",url:"https://explorer.execution.mainnet.lukso.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Mainnet",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},networkId:42,redFlags:["reusedChainId"],rpc:["https://42.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.lukso.network","wss://ws-rpc.mainnet.lukso.network"],shortName:"lukso",slug:"lukso",testnet:!1},Ln0={chain:"pangolin",chainId:43,explorers:[{name:"subscan",url:"https://pangolin.subscan.io",standard:"EIP3091"}],faucets:["https://docs.darwinia.network/pangolin-testnet-1e9ac8b09e874e8abd6a7f18c096ca6a"],infoURL:"https://darwinia.network/",name:"Darwinia Pangolin Testnet",nativeCurrency:{name:"Pangolin Network Native Token",symbol:"PRING",decimals:18},networkId:43,rpc:["https://43.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangolin-rpc.darwinia.network"],shortName:"pangolin",slip44:1,slug:"darwinia-pangolin-testnet",testnet:!0},Mn0={chain:"crab",chainId:44,explorers:[{name:"blockscout",url:"https://crab-scan.darwinia.network",standard:"EIP3091"}],faucets:[],infoURL:"https://crab.network/",name:"Crab Network",nativeCurrency:{name:"Crab Network Native Token",symbol:"CRAB",decimals:18},networkId:44,rpc:["https://44.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://crab-rpc.darwinia.network","https://crab-rpc.dcdao.box"],shortName:"crab",slug:"crab-network",testnet:!1},Bn0={chain:"pangoro",chainId:45,explorers:[{name:"subscan",url:"https://pangoro.subscan.io",standard:"none"}],faucets:["https://docs.darwinia.network/pangoro-testnet-70cfec5dc9ca42759959ba3803edaec2"],infoURL:"https://darwinia.network/",name:"Darwinia Pangoro Testnet",nativeCurrency:{name:"Pangoro Network Native Token",symbol:"ORING",decimals:18},networkId:45,rpc:["https://45.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pangoro-rpc.darwinia.network"],shortName:"pangoro",slip44:1,slug:"darwinia-pangoro-testnet",testnet:!0},Nn0={chain:"darwinia",chainId:46,explorers:[{name:"blockscout",url:"https://explorer.darwinia.network",standard:"EIP3091"}],faucets:[],infoURL:"https://darwinia.network",name:"Darwinia Network",nativeCurrency:{name:"Darwinia Network Native Token",symbol:"RING",decimals:18},networkId:46,rpc:["https://46.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.darwinia.network","https://darwinia-rpc.dcdao.box","https://darwinia-rpc.dwellir.com"],shortName:"darwinia",slug:"darwinia-network",testnet:!1},Fn0={chain:"XPLA",chainId:47,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io/testnet",standard:"none"}],faucets:["https://faucet.xpla.io/"],features:[],icon:{url:"ipfs://QmbvEAKZfgJckEziU3mpCwz6jqMeWRcLgd8TNsWA7g8sD9/xpla.png",width:512,height:512,format:"png"},infoURL:"https://xpla.io/",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:47,redFlags:["reusedChainId"],rpc:["https://47.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cube-evm-rpc.xpla.dev"],shortName:"xpla-test",slug:"xpla-testnet",testnet:!0},On0={chain:"ETMP",chainId:48,explorers:[{name:"etmpscan",url:"https://etmscan.network",standard:"EIP3091",icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Mainnet Proterozoic",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:48,rpc:["https://48.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etm.network"],shortName:"etmp",slug:"ennothem-proterozoic",testnet:!1},Vn0={chain:"ETMP",chainId:49,explorers:[{name:"etmp",url:"https://pioneer.etmscan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT7DTqT1V2y42pRpt3sj9ifijfmbtkHN7D2vTfAUAS622",width:512,height:512,format:"png"},infoURL:"https://etm.network",name:"Ennothem Testnet Pioneer",nativeCurrency:{name:"Ennothem",symbol:"ETMP",decimals:18},networkId:49,rpc:["https://49.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pioneer.etm.network"],shortName:"etmpTest",slip44:1,slug:"ennothem-testnet-pioneer",testnet:!0},$n0={chain:"XDC",chainId:50,explorers:[{name:"xdcscan",url:"https://xdcscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://xdc.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Network",nativeCurrency:{name:"XinFin",symbol:"XDC",decimals:18},networkId:50,rpc:["https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc.xinfin.network","https://rpc.xinfin.network","https://rpc1.xinfin.network","https://rpc-xdc.icecreamswap.com"],shortName:"xdc",slug:"xdc-network",testnet:!1},Un0={chain:"XDC",chainId:51,explorers:[{name:"xdcscan",url:"https://apothem.xinfinscan.com",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}},{name:"blocksscan",url:"https://apothem.blocksscan.io",standard:"EIP3091",icon:{url:"ipfs://QmPzVFs16GwaD8LAcGFLCNXzEK8BHFKNXeM3nmBpnq9xy3",width:512,height:512,format:"png"}}],faucets:["https://faucet.apothem.network"],features:[],icon:{url:"ipfs://QmeRq7pabiJE2n1xU3Y5Mb4TZSX9kQ74x7a3P2Z4PqcMRX",width:1450,height:1450,format:"png"},infoURL:"https://xinfin.org",name:"XDC Apothem Network",nativeCurrency:{name:"XinFin",symbol:"TXDC",decimals:18},networkId:51,redFlags:[],rpc:["https://51.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apothem.xdcrpc.com","https://rpc.apothem.network","https://erpc.apothem.network"],shortName:"txdc",slug:"xdc-apothem-network",testnet:!1},qn0={chain:"CSC",chainId:52,explorers:[{name:"coinexscan",url:"https://www.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Mainnet",nativeCurrency:{name:"CoinEx Chain Native Token",symbol:"cet",decimals:18},networkId:52,rpc:["https://52.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coinex.net"],shortName:"cet",slug:"coinex-smart-chain",testnet:!1},Hn0={chain:"CSC",chainId:53,explorers:[{name:"coinexscan",url:"https://testnet.coinex.net",standard:"none"}],faucets:[],infoURL:"https://www.coinex.org/",name:"CoinEx Smart Chain Testnet",nativeCurrency:{name:"CoinEx Chain Test Native Token",symbol:"cett",decimals:18},networkId:53,rpc:["https://53.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.coinex.net/"],shortName:"tcet",slip44:1,slug:"coinex-smart-chain-testnet",testnet:!0},zn0={chain:"OPENPIECE",chainId:54,explorers:[{name:"Belly Scan",url:"https://bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Mainnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:54,rpc:["https://54.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.openpiece.io"],shortName:"OP",slug:"openpiece",testnet:!1},Wn0={chain:"ZYX",chainId:55,explorers:[{name:"zyxscan",url:"https://zyxscan.com",standard:"none"}],faucets:[],infoURL:"https://zyx.network/",name:"Zyx Mainnet",nativeCurrency:{name:"Zyx",symbol:"ZYX",decimals:18},networkId:55,rpc:["https://55.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.zyx.network/","https://rpc-2.zyx.network/","https://rpc-3.zyx.network/","https://rpc-4.zyx.network/","https://rpc-5.zyx.network/","https://rpc-6.zyx.network/"],shortName:"ZYX",slug:"zyx",testnet:!1},QFe={chain:"BSC",chainId:56,explorers:[{name:"bscscan",url:"https://bscscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://bnb.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:56,redFlags:[],rpc:["https://56.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bsc-dataseed1.bnbchain.org","https://bsc-dataseed2.bnbchain.org","https://bsc-dataseed3.bnbchain.org","https://bsc-dataseed4.bnbchain.org","https://bsc-dataseed1.defibit.io","https://bsc-dataseed2.defibit.io","https://bsc-dataseed3.defibit.io","https://bsc-dataseed4.defibit.io","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed2.ninicoin.io","https://bsc-dataseed3.ninicoin.io","https://bsc-dataseed4.ninicoin.io","https://bsc-rpc.publicnode.com","wss://bsc-rpc.publicnode.com","wss://bsc-ws-node.nariox.org"],shortName:"bnb",slip44:714,slug:"binance",testnet:!1},jn0={chain:"SYS",chainId:57,explorers:[{name:"Syscoin Block Explorer",url:"https://explorer.syscoin.org",standard:"EIP3091"}],faucets:["https://faucet.syscoin.org"],infoURL:"https://www.syscoin.org",name:"Syscoin Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:57,rpc:["https://57.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syscoin.org","https://rpc.ankr.com/syscoin/${ANKR_API_KEY}","https://syscoin.public-rpc.com","wss://rpc.syscoin.org/wss","https://syscoin-evm.publicnode.com","wss://syscoin-evm.publicnode.com"],shortName:"sys",slug:"syscoin",testnet:!1},Gn0={chain:"Ontology",chainId:58,explorers:[{name:"explorer",url:"https://explorer.ont.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Mainnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:58,rpc:["https://58.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://dappnode1.ont.io:20339","http://dappnode2.ont.io:20339","http://dappnode3.ont.io:20339","http://dappnode4.ont.io:20339","https://dappnode1.ont.io:10339","https://dappnode2.ont.io:10339","https://dappnode3.ont.io:10339","https://dappnode4.ont.io:10339"],shortName:"OntologyMainnet",slug:"ontology",testnet:!1},Kn0={chain:"EOS",chainId:59,explorers:[],faucets:[],infoURL:"https://eosargentina.io",name:"EOS EVM Legacy",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:59,rpc:["https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.eosargentina.io"],shortName:"eos-legacy",slug:"eos-evm-legacy",status:"deprecated",testnet:!1},Qn0={chain:"GO",chainId:60,explorers:[{name:"GoChain Explorer",url:"https://explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain",nativeCurrency:{name:"GoChain Ether",symbol:"GO",decimals:18},networkId:60,rpc:["https://60.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gochain.io"],shortName:"go",slip44:6060,slug:"gochain",testnet:!1},Yn0={chain:"ETC",chainId:61,explorers:[{name:"etcnetworkinfo-blockscout-ethereum-classic",url:"https://explorer-blockscout.etc-network.info",standard:"none"},{name:"etcnetworkinfo-alethio-ethereum-classic",url:"https://explorer-alethio.etc-network.info",standard:"none"},{name:"etcnetworkinfo-expedition-ethereum-classic",url:"https://explorer-expedition.etc-network.info",standard:"none"},{name:"hebeblock-ethereum-classic",url:"https://etcerscan.com",standard:"EIP3091"},{name:"oklink-ethereum-classic",url:"https://www.oklink.com/etc",standard:"EIP3091"},{name:"tokenview-ethereum-classic",url:"https://etc.tokenview.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qme7PT7gidTzRuf3T2JdxQ64JeZPgFH7yNBB8mYoMPbpTe",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org",name:"Ethereum Classic",nativeCurrency:{name:"Ether",symbol:"ETC",decimals:18},networkId:61,redFlags:[],rpc:["https://61.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://etc.etcdesktop.com","https://etc.rivet.link","https://besu-at.etc-network.info","https://geth-at.etc-network.info","https://etc.mytokenpocket.vip"],shortName:"etc",slip44:61,slug:"ethereum-classic",status:"active",testnet:!1,title:"Ethereum Classic Mainnet"},Jn0={chain:"ETC",chainId:62,explorers:[],faucets:[],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Morden Testnet",nativeCurrency:{name:"Morden Ether",symbol:"TETC",decimals:18},networkId:2,rpc:[],shortName:"tetc",slip44:1,slug:"morden-testnet",status:"deprecated",testnet:!0,title:"Ethereum Classic Morden Testnet"},Xn0={chain:"ETC",chainId:63,explorers:[{name:"blockscout-mordor",url:"https://etc-mordor.blockscout.com",standard:"EIP3091"},{name:"etcnetworkinfo-expedition-mordor",url:"https://explorer-expedition.etc-network.info/?network=Ethereum+Classic+at+etc-network.info+GETH+Mordor",standard:"none"}],faucets:["https://easy.hebeswap.com/#/faucet","https://faucet.mordortest.net"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmawMDPsaj3kBTZErCYQ3tshv5RrMAN3smWNs72m943Fyj",width:200,height:200,format:"png"},infoURL:"https://ethereumclassic.org/development/testnets",name:"Mordor Testnet",nativeCurrency:{name:"Mordor Ether",symbol:"METC",decimals:18},networkId:7,rpc:["https://63.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mordor.etccooperative.org","https://geth-mordor.etc-network.info"],shortName:"metc",slip44:1,slug:"mordor-testnet",status:"active",testnet:!0,title:"Ethereum Classic Mordor Testnet"},Zn0={chain:"ELLA",chainId:64,explorers:[],faucets:[],infoURL:"https://ellaism.org",name:"Ellaism",nativeCurrency:{name:"Ellaism Ether",symbol:"ELLA",decimals:18},networkId:64,rpc:["https://64.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.ellaism.org"],shortName:"ellaism",slip44:163,slug:"ellaism",testnet:!1},ea0={chain:"okexchain",chainId:65,explorers:[{name:"OKLink",url:"https://www.oklink.com/okexchain-test",standard:"EIP3091"}],faucets:["https://www.okex.com/drawdex"],infoURL:"https://www.okex.com/okexchain",name:"OKExChain Testnet",nativeCurrency:{name:"OKExChain Global Utility Token in testnet",symbol:"OKT",decimals:18},networkId:65,rpc:["https://65.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchaintestrpc.okex.org"],shortName:"tokt",slip44:1,slug:"okexchain-testnet",testnet:!0},ta0={chain:"okxchain",chainId:66,explorers:[{name:"OKLink",url:"https://www.oklink.com/en/okc",standard:"EIP3091"}],faucets:[],infoURL:"https://www.okex.com/okc",name:"OKXChain Mainnet",nativeCurrency:{name:"OKXChain Global Utility Token",symbol:"OKT",decimals:18},networkId:66,rpc:["https://66.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://exchainrpc.okex.org","https://okc-mainnet.gateway.pokt.network/v1/lb/6275309bea1b320039c893ff"],shortName:"okt",slug:"okxchain",testnet:!1},na0={chain:"DBM",chainId:67,explorers:[],faucets:[],infoURL:"http://test.dbmbp.com",name:"DBChain Testnet",nativeCurrency:{name:"DBChain Testnet",symbol:"DBM",decimals:18},networkId:67,rpc:["https://67.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://test-rpc.dbmbp.com"],shortName:"dbm",slip44:1,slug:"dbchain-testnet",testnet:!0},aa0={chain:"SOTER",chainId:68,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:68,rpc:["https://68.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1",slug:"soterone",testnet:!1},ra0={chain:"ETH",chainId:69,explorers:[{name:"etherscan",url:"https://kovan-optimistic.etherscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=69&address=${ADDRESS}"],infoURL:"https://optimism.io",name:"Optimism Kovan",nativeCurrency:{name:"Kovan Ether",symbol:"ETH",decimals:18},networkId:69,rpc:["https://69.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kovan.optimism.io/"],shortName:"okov",slip44:1,slug:"optimism-kovan",testnet:!0,title:"Optimism Testnet Kovan"},ia0={chain:"HSC",chainId:70,explorers:[{name:"hooscan",url:"https://www.hooscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hoosmartchain.com",name:"Hoo Smart Chain",nativeCurrency:{name:"Hoo Smart Chain Native Token",symbol:"HOO",decimals:18},networkId:70,rpc:["https://70.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hoosmartchain.com","https://http-mainnet2.hoosmartchain.com","wss://ws-mainnet.hoosmartchain.com","wss://ws-mainnet2.hoosmartchain.com"],shortName:"hsc",slip44:1170,slug:"hoo-smart-chain",testnet:!1},sa0={chain:"Conflux",chainId:71,explorers:[{name:"Conflux Scan",url:"https://evmtestnet.confluxscan.net",standard:"none"}],faucets:["https://faucet.confluxnetwork.org"],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace (Testnet)",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:71,rpc:["https://71.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmtestnet.confluxrpc.com"],shortName:"cfxtest",slug:"conflux-espace-testnet",testnet:!0},fa0={chain:"DxChain",chainId:72,explorers:[],faucets:["https://faucet.dxscan.io"],infoURL:"https://testnet.dxscan.io/",name:"DxChain Testnet",nativeCurrency:{name:"DxChain Testnet",symbol:"DX",decimals:18},networkId:72,rpc:["https://72.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-http.dxchain.com"],shortName:"dxc",slip44:1,slug:"dxchain-testnet",testnet:!0},oa0={chain:"FNCY",chainId:73,explorers:[{name:"fncy scan",url:"https://fncyscan.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan.fncy.world",name:"FNCY",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:73,rpc:["https://73.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-seed1.fncy.world"],shortName:"FNCY",slug:"fncy",testnet:!0},ca0={chain:"IDChain",chainId:74,explorers:[{name:"explorer",url:"https://explorer.idchain.one",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZVwsY6HPXScKqZCA9SWNrr4jrQAHkPhVhMWi6Fj1DsrJ",width:162,height:129,format:"png"},infoURL:"https://idchain.one/begin/",name:"IDChain Mainnet",nativeCurrency:{name:"EIDI",symbol:"EIDI",decimals:18},networkId:74,rpc:["https://74.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://idchain.one/rpc/","wss://idchain.one/ws/"],shortName:"idchain",slug:"idchain",testnet:!1},da0={chain:"DSC",chainId:75,explorers:[{name:"DSC Explorer Mainnet",url:"https://explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Mainnet",nativeCurrency:{name:"Decimal",symbol:"DEL",decimals:18},networkId:75,rpc:["https://75.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.decimalchain.com/web3/","https://node1-mainnet.decimalchain.com/web3/","https://node2-mainnet.decimalchain.com/web3/","https://node3-mainnet.decimalchain.com/web3/","https://node4-mainnet.decimalchain.com/web3/"],shortName:"DSC",slug:"decimal-smart-chain",testnet:!1},la0={chain:"MIX",chainId:76,explorers:[],faucets:[],infoURL:"https://mix-blockchain.org",name:"Mix",nativeCurrency:{name:"Mix Ether",symbol:"MIX",decimals:18},networkId:76,rpc:["https://76.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.mix-blockchain.org:8647"],shortName:"mix",slip44:76,slug:"mix",testnet:!1},pa0={chain:"POA",chainId:77,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/sokol",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Sokol",nativeCurrency:{name:"POA Sokol Ether",symbol:"SPOA",decimals:18},networkId:77,rpc:["https://77.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sokol.poa.network","wss://sokol.poa.network/wss","ws://sokol.poa.network:8546"],shortName:"spoa",slug:"poa-network-sokol",testnet:!1},ua0={chain:"PC",chainId:78,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"PrimusChain mainnet",nativeCurrency:{name:"Primus Ether",symbol:"PETH",decimals:18},networkId:78,rpc:["https://78.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/mainnet"],shortName:"primuschain",slug:"primuschain",testnet:!1},ya0={chain:"Zenith",chainId:79,explorers:[{name:"zenith scan",url:"https://scan.zenithchain.co",standard:"EIP3091"}],faucets:[],infoURL:"https://www.zenithchain.co/",name:"Zenith Mainnet",nativeCurrency:{name:"ZENITH",symbol:"ZENITH",decimals:18},networkId:79,rpc:["https://79.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataserver-us-1.zenithchain.co/","https://dataserver-asia-3.zenithchain.co/","https://dataserver-asia-4.zenithchain.co/","https://dataserver-asia-2.zenithchain.co/","https://dataserver-asia-5.zenithchain.co/","https://dataserver-asia-6.zenithchain.co/","https://dataserver-asia-7.zenithchain.co/"],shortName:"zenith",slug:"zenith",testnet:!1},ma0={chain:"GeneChain",chainId:80,explorers:[{name:"GeneChain Scan",url:"https://scan.genechain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scan.genechain.io/",name:"GeneChain",nativeCurrency:{name:"RNA",symbol:"RNA",decimals:18},networkId:80,rpc:["https://80.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genechain.io"],shortName:"GeneChain",slug:"genechain",testnet:!1},ba0={chain:"JOC",chainId:81,explorers:[{name:"Block Explorer",url:"https://explorer.japanopenchain.org",standard:"EIP3091",icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidhsiuqrct42bel76zhi3rx35k4lnk6aqgde27nvvxcz563ttfefy",width:2e3,height:2e3,format:"png"},infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Mainnet",nativeCurrency:{name:"Japan Open Chain Token",symbol:"JOC",decimals:18},networkId:81,redFlags:["reusedChainId"],rpc:["https://81.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.japanopenchain.org:8545","https://rpc-2.japanopenchain.org:8545"],shortName:"joc",slug:"japan-open-chain",testnet:!1},ha0={chain:"METER",chainId:82,explorers:[{name:"Meter Mainnet Scan",url:"https://scan.meter.io",standard:"EIP3091"}],faucets:["https://faucet.meter.io"],infoURL:"https://www.meter.io",name:"Meter Mainnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:82,rpc:["https://82.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meter.io"],shortName:"Meter",slug:"meter",testnet:!1},ga0={chain:"METER Testnet",chainId:83,explorers:[{name:"Meter Testnet Scan",url:"https://scan-warringstakes.meter.io",standard:"EIP3091"}],faucets:["https://faucet-warringstakes.meter.io"],infoURL:"https://www.meter.io",name:"Meter Testnet",nativeCurrency:{name:"Meter",symbol:"MTR",decimals:18},networkId:83,rpc:["https://83.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.meter.io"],shortName:"MeterTest",slip44:1,slug:"meter-testnet",testnet:!0},va0={chain:"LNQ",chainId:84,explorers:[{name:"Linqto Devnet Explorer",url:"https://explorer.linqto-dev.com",standard:"EIP3091"}],faucets:[],infoURL:"https://linqto.com",name:"Linqto Devnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:84,rpc:["https://84.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linqto-dev.com"],shortName:"linqto-devnet",slug:"linqto-devnet",testnet:!1},Ta0={chain:"GTTEST",chainId:85,explorers:[{name:"GateScan",url:"https://www.gatescan.org/testnet",standard:"EIP3091"}],faucets:["https://www.gatescan.org/testnet/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Testnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:85,rpc:["https://85.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gatenode.cc"],shortName:"gttest",slip44:1,slug:"gatechain-testnet",testnet:!0},_a0={chain:"GT",chainId:86,explorers:[{name:"GateScan",url:"https://www.gatescan.org",standard:"EIP3091"}],faucets:["https://www.gatescan.org/faucet"],infoURL:"https://www.gatechain.io",name:"GateChain Mainnet",nativeCurrency:{name:"GateToken",symbol:"GT",decimals:18},networkId:86,rpc:["https://86.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.gatenode.cc"],shortName:"gt",slug:"gatechain",testnet:!1},wa0={chain:"NNW",chainId:87,explorers:[{name:"novanetwork",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTTamJ55YGQwMboq4aqf3JjTEy5WDtjo4GBRQ5VdsWA6U",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nova Network",nativeCurrency:{name:"Supernova",symbol:"SNT",decimals:18},networkId:87,rpc:["https://87.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.novanetwork.io","https://0x57.redjackstudio.com","https://rpc.novanetwork.io:9070"],shortName:"nnw",slug:"nova-network",testnet:!1},xa0={chain:"Viction",chainId:88,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:88,rpc:["https://88.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.viction.xyz"],shortName:"vic",slip44:889,slug:"viction",testnet:!1},Ia0={chain:"Viction",chainId:89,explorers:[],faucets:[],infoURL:"https://viction.xyz",name:"Viction Testnet",nativeCurrency:{name:"Viction",symbol:"VIC",decimals:18},networkId:89,rpc:["https://89.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.viction.xyz"],shortName:"vict",slip44:1,slug:"viction-testnet",testnet:!0},Ea0={chain:"GAR",chainId:90,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:90,rpc:["https://90.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0.garizon.net/rpc"],shortName:"gar-s0",slug:"garizon-stage0",testnet:!1},Da0={chain:"GAR",chainId:91,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:91,parent:{type:"shard",chain:"eip155-90"},rpc:["https://91.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1.garizon.net/rpc"],shortName:"gar-s1",slug:"garizon-stage1",testnet:!1},Ca0={chain:"GAR",chainId:92,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:92,parent:{type:"shard",chain:"eip155-90"},rpc:["https://92.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.garizon.net/rpc"],shortName:"gar-s2",slug:"garizon-stage2",testnet:!1},Sa0={chain:"GAR",chainId:93,explorers:[{name:"explorer",url:"https://explorer.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:93,parent:{type:"shard",chain:"eip155-90"},rpc:["https://93.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3.garizon.net/rpc"],shortName:"gar-s3",slug:"garizon-stage3",testnet:!1},Aa0={chain:"SDLT",chainId:94,explorers:[{name:"SwissDLT Explorer",url:"https://explorer.swissdlt.ch",standard:"EIP3091",icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreig7x5z4j6vh2r3pugmjnob3tmlksaekhqcgsorqzvs55o6v7ehqd4",width:682,height:512,format:"png"},infoURL:"https://bcts.ch",name:"SwissDLT",nativeCurrency:{name:"BCTS",symbol:"BCTS",decimals:18},networkId:94,rpc:["https://94.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swissdlt.ch"],shortName:"sdlt",slug:"swissdlt",testnet:!1},ka0={chain:"CADL",chainId:95,explorers:[{name:"CamDL Block Explorer",url:"https://explorer.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Mainnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:95,redFlags:["reusedChainId"],rpc:["https://95.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.camdl.gov.kh/"],shortName:"camdl",slug:"camdl",status:"active",testnet:!1},Pa0={chain:"BKC",chainId:96,explorers:[{name:"Bitkub Chain Explorer",url:"https://bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain",nativeCurrency:{name:"Bitkub Coin",symbol:"KUB",decimals:18},networkId:96,redFlags:["reusedChainId"],rpc:["https://96.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitkubchain.io","wss://wss.bitkubchain.io"],shortName:"bkc",slug:"bitkub-chain",testnet:!1},YFe={chain:"BSC",chainId:97,explorers:[{name:"bscscan-testnet",url:"https://testnet.bscscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/binance-coin/512.png",width:512,height:512,format:"png"},infoURL:"https://www.bnbchain.org/en",name:"BNB Smart Chain Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:97,redFlags:[],rpc:["https://97.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-seed-prebsc-1-s1.bnbchain.org:8545","https://data-seed-prebsc-2-s1.bnbchain.org:8545","https://data-seed-prebsc-1-s2.bnbchain.org:8545","https://data-seed-prebsc-2-s2.bnbchain.org:8545","https://data-seed-prebsc-1-s3.bnbchain.org:8545","https://data-seed-prebsc-2-s3.bnbchain.org:8545","https://bsc-testnet-rpc.publicnode.com","wss://bsc-testnet-rpc.publicnode.com"],shortName:"bnbt",slip44:1,slug:"binance-testnet",testnet:!0},Ra0={chain:"SIXNET",chainId:98,explorers:[{name:"SIX Scan",url:"https://sixscan.io/sixnet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol",nativeCurrency:{name:"SIX evm token",symbol:"SIX",decimals:18},networkId:98,rpc:["https://98.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sixnet-rpc-evm.sixprotocol.net"],shortName:"six",slug:"six-protocol",testnet:!1},La0={chain:"POA",chainId:99,explorers:[{name:"blockscout",url:"https://blockscout.com/poa/core",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://poa.network",name:"POA Network Core",nativeCurrency:{name:"POA Network Core Ether",symbol:"POA",decimals:18},networkId:99,rpc:["https://99.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.poa.network"],shortName:"poa",slip44:178,slug:"poa-network-core",testnet:!1},Ma0={chain:"GNO",chainId:100,explorers:[{name:"blockscout",url:"https://gnosis.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"gnosisscan",url:"https://gnosisscan.io",standard:"EIP3091"},{name:"dexguru",url:"https://gnosis.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://gnosisfaucet.com","https://stakely.io/faucet/gnosis-chain-xdai","https://faucet.prussia.dev/xdai"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis",nativeCurrency:{name:"xDAI",symbol:"XDAI",decimals:18},networkId:100,rpc:["https://100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gnosischain.com","https://rpc.gnosis.gateway.fm","https://rpc.ankr.com/gnosis","https://gnosischain-rpc.gateway.pokt.network","https://gnosis-mainnet.public.blastapi.io","https://gnosis.api.onfinality.io/public","https://gnosis.blockpi.network/v1/rpc/public","https://web3endpoints.com/gnosischain-mainnet","https://gnosis.oat.farm","wss://rpc.gnosischain.com/wss","https://gnosis-rpc.publicnode.com","wss://gnosis-rpc.publicnode.com"],shortName:"gno",slip44:700,slug:"gnosis",testnet:!1},Ba0={chain:"ETI",chainId:101,explorers:[],faucets:[],infoURL:"https://einc.io",name:"EtherInc",nativeCurrency:{name:"EtherInc Ether",symbol:"ETI",decimals:18},networkId:1,rpc:["https://101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.einc.io/jsonrpc/mainnet"],shortName:"eti",slip44:464,slug:"etherinc",testnet:!1},Na0={chain:"Web3Games",chainId:102,explorers:[],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Testnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:102,rpc:["https://102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc-0.web3games.org/evm","https://testnet-rpc-1.web3games.org/evm","https://testnet-rpc-2.web3games.org/evm"],shortName:"tw3g",slip44:1,slug:"web3games-testnet",testnet:!0},Fa0={chain:"Worldland",chainId:103,explorers:[{name:"Worldland Explorer",url:"https://scan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Mainnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:103,rpc:["https://103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seoul.worldland.foundation","https://seoul2.worldland.foundation"],shortName:"WLC",slug:"worldland",testnet:!1},Oa0={chain:"tKLC",chainId:104,explorers:[{name:"kaibascan",url:"https://kaibascan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihbsw3ky7yf6llpww6fabo4dicotcgwjpefscoxrppstjx25dvtea",width:932,height:932,format:"png"},infoURL:"https://kaibadefi.com",name:"Kaiba Lightning Chain Testnet",nativeCurrency:{name:"Kaiba Testnet Token",symbol:"tKAIBA",decimals:18},networkId:104,rpc:["https://104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://klc.live/"],shortName:"tklc",slip44:1,slug:"kaiba-lightning-chain-testnet",testnet:!0},Va0={chain:"Web3Games",chainId:105,explorers:[{name:"Web3Games Explorer",url:"https://explorer-devnet.web3games.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"},infoURL:"https://web3games.org/",name:"Web3Games Devnet",nativeCurrency:{name:"Web3Games",symbol:"W3G",decimals:18},networkId:105,rpc:["https://105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.web3games.org/evm"],shortName:"dw3g",slug:"web3games-devnet",testnet:!1},$a0={chain:"Velas",chainId:106,explorers:[{name:"Velas Explorer",url:"https://evmexplorer.velas.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNXiCXJxEeBd7ZYGYjPSMTSdbDd2nfodLC677gUfk9ku5",width:924,height:800,format:"png"},infoURL:"https://velas.com",name:"Velas EVM Mainnet",nativeCurrency:{name:"Velas",symbol:"VLX",decimals:18},networkId:106,rpc:["https://106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],shortName:"vlx",slug:"velas-evm",testnet:!1},Ua0={chain:"NTN",chainId:107,explorers:[{name:"nebulatestnet",url:"https://explorer.novanetwork.io",standard:"EIP3091"}],faucets:["https://faucet.novanetwork.io"],icon:{url:"ipfs://QmeFaJtQqTKKuXQR7ysS53bLFPasFBcZw445cvYJ2HGeTo",width:512,height:512,format:"png"},infoURL:"https://novanetwork.io",name:"Nebula Testnet",nativeCurrency:{name:"Nebula X",symbol:"NBX",decimals:18},networkId:107,rpc:["https://107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.novanetwork.io"],shortName:"ntn",slip44:1,slug:"nebula-testnet",testnet:!0},qa0={chain:"TT",chainId:108,explorers:[{name:"thundercore-viewblock",url:"https://viewblock.io/thundercore",standard:"EIP3091"}],faucets:[],infoURL:"https://thundercore.com",name:"ThunderCore Mainnet",nativeCurrency:{name:"ThunderCore Token",symbol:"TT",decimals:18},networkId:108,rpc:["https://108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.thundercore.com","https://mainnet-rpc.thundertoken.net","https://mainnet-rpc.thundercore.io"],shortName:"TT",slip44:1001,slug:"thundercore",testnet:!1},Ha0={chain:"Shibarium",chainId:109,explorers:[{name:"Shibariumscan",url:"https://www.shibariumscan.io",standard:"EIP3091",icon:{url:"https://www.shibariumscan.io/assets/configs/network_icon_dark.png",width:360,height:360,format:"png"}}],faucets:[],features:[],icon:{url:"https://chewyswap.dog/images/chains/109.png",width:200,height:200,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Shibarium",nativeCurrency:{name:"BONE Shibarium",symbol:"BONE",decimals:18},networkId:109,redFlags:[],rpc:["https://109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shibrpc.com","https://www.shibrpc.com"],shortName:"shibariumecosystem",slug:"shibarium",testnet:!1},za0={chain:"XPR",chainId:110,explorers:[],faucets:[],infoURL:"https://protonchain.com",name:"Proton Testnet",nativeCurrency:{name:"Proton",symbol:"XPR",decimals:4},networkId:110,rpc:["https://110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://protontestnet.greymass.com/"],shortName:"xpr",slip44:1,slug:"proton-testnet",testnet:!0},Wa0={chain:"ETL",chainId:111,explorers:[],faucets:["https://etherlite.org/faucets"],icon:{url:"ipfs://QmbNAai1KnBnw4SPQKgrf6vBddifPCQTg2PePry1bmmZYy",width:88,height:88,format:"png"},infoURL:"https://etherlite.org",name:"EtherLite Chain",nativeCurrency:{name:"EtherLite",symbol:"ETL",decimals:18},networkId:111,rpc:["https://111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etherlite.org"],shortName:"ETL",slug:"etherlite-chain",testnet:!1},ja0={chain:"Coinbit",chainId:112,explorers:[{name:"blockscout",url:"https://coinbit-explorer.chain.sbcrypto.app",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdaQRUbAXJGfHeJ8jaB8WVh8CCmHExq8VjvAfXpLWWQEo",width:760,height:760,format:"png"},infoURL:"https://crypto.stockbit.com/",name:"Coinbit Mainnet",nativeCurrency:{name:"Gas IDR",symbol:"GIDR",decimals:18},networkId:112,rpc:["https://112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coinbit-rpc-mainnet.chain.sbcrypto.app"],shortName:"coinbit",slug:"coinbit",testnet:!1},Ga0={chain:"Dehvo",chainId:113,explorers:[{name:"Dehvo Explorer",url:"https://explorer.dehvo.com",standard:"EIP3091"}],faucets:["https://buy.dehvo.com"],infoURL:"https://dehvo.com",name:"Dehvo",nativeCurrency:{name:"Dehvo",symbol:"Deh",decimals:18},networkId:113,rpc:["https://113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.dehvo.com","https://rpc.dehvo.com","https://rpc1.dehvo.com","https://rpc2.dehvo.com"],shortName:"deh",slip44:714,slug:"dehvo",testnet:!1},Ka0={chain:"FLR",chainId:114,explorers:[{name:"blockscout",url:"https://coston2-explorer.flare.network",standard:"EIP3091"},{name:"flarescan",url:"https://coston2.testnet.flarescan.com",standard:"EIP3091"}],faucets:["https://faucet.flare.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSmXY36oXCLmTp1u3Z2MSrBstBFVFyQv3aGKLKf1hxB6u",width:500,height:500,format:"png"},infoURL:"https://flare.network",name:"Flare Testnet Coston2",nativeCurrency:{name:"Coston2 Flare",symbol:"C2FLR",decimals:18},networkId:114,rpc:["https://114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coston2-api.flare.network/ext/C/rpc","https://flaretestnet-bundler.etherspot.io","https://01-gravelines-005-01.rpc.tatum.io/ext/bc/C/rpc","https://02-chicago-005-02.rpc.tatum.io/ext/bc/C/rpc","https://02-tokyo-005-03.rpc.tatum.io/ext/bc/C/rpc","https://coston2.enosys.global/ext/C/rpc"],shortName:"c2flr",slip44:1,slug:"flare-testnet-coston2",testnet:!0},Qa0={chain:"DeBank",chainId:115,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet(Deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:115,rpc:[],shortName:"debank-testnet",slip44:1,slug:"debank-testnet-deprecated",status:"deprecated",testnet:!0},Ya0={chain:"DeBank",chainId:116,explorers:[],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:116,rpc:[],shortName:"debank-mainnet",slug:"debank",status:"deprecated",testnet:!1},Ja0={chain:"Uptick",chainId:117,explorers:[{name:"Uptick Explorer",url:"https://evm-explorer.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Uptick Mainnet",nativeCurrency:{name:"Uptick",symbol:"UPTICK",decimals:18},networkId:117,rpc:["https://117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.uptick.network"],shortName:"auptick",slug:"uptick",testnet:!1},Xa0={chain:"Arcology",chainId:118,explorers:[{name:"arcology",url:"https://testnet.arcology.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmRD7itMvaZutfBjyA7V9xkMGDtsZiJSagPwd3ijqka8kE",width:288,height:288,format:"png"},infoURL:"https://arcology.network/",name:"Arcology Testnet",nativeCurrency:{name:"Arcology Coin",symbol:"Acol",decimals:18},networkId:118,rpc:["https://118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.arcology.network/rpc"],shortName:"arcology",slip44:1,slug:"arcology-testnet",testnet:!0},Za0={chain:"ENULS",chainId:119,explorers:[{name:"enulsscan",url:"https://evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Mainnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:119,rpc:["https://119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmapi.nuls.io","https://evmapi2.nuls.io"],shortName:"enuls",slug:"enuls",testnet:!1},er0={chain:"ENULS",chainId:120,explorers:[{name:"enulsscan",url:"https://beta.evmscan.nuls.io",standard:"EIP3091",icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"}}],faucets:["http://faucet.nuls.io"],icon:{url:"ipfs://QmYz8LK5WkUN8UwqKfWUjnyLuYqQZWihT7J766YXft4TSy",width:26,height:41,format:"svg"},infoURL:"https://nuls.io",name:"ENULS Testnet",nativeCurrency:{name:"NULS",symbol:"NULS",decimals:18},networkId:120,rpc:["https://120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.evmapi.nuls.io","https://beta.evmapi2.nuls.io"],shortName:"enulst",slip44:1,slug:"enuls-testnet",testnet:!0},tr0={chain:"REAL",chainId:121,explorers:[{name:"realscan",url:"https://rclscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.rclsidechain.com/",name:"Realchain Mainnet",nativeCurrency:{name:"Realchain",symbol:"REAL",decimals:18},networkId:121,rpc:["https://121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rcl-dataseed1.rclsidechain.com","https://rcl-dataseed2.rclsidechain.com","https://rcl-dataseed3.rclsidechain.com","https://rcl-dataseed4.rclsidechain.com","wss://rcl-dataseed1.rclsidechain.com/v1/","wss://rcl-dataseed2.rclsidechain.com/v1/","wss://rcl-dataseed3.rclsidechain.com/v1/","wss://rcl-dataseed4.rclsidechain.com/v1/"],shortName:"REAL",slip44:714,slug:"realchain",testnet:!1},nr0={chain:"FUSE",chainId:122,explorers:[{name:"blockscout",url:"https://explorer.fuse.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://fuse.io/",name:"Fuse Mainnet",nativeCurrency:{name:"Fuse",symbol:"FUSE",decimals:18},networkId:122,redFlags:[],rpc:["https://122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fuse.io","https://fuse.drpc.org","wss://fuse.drpc.org"],shortName:"fuse",slug:"fuse",testnet:!1},ar0={chain:"fuse",chainId:123,explorers:[],faucets:["https://get.fusespark.io"],features:[],icon:{url:"ipfs://QmQg8aqyeaMfHvjzFDtZkb8dUNRYhFezPp8UYVc1HnLpRW/green.png",width:512,height:512,format:"png"},infoURL:"https://docs.fuse.io/general/fuse-network-blockchain/fuse-testnet",name:"Fuse Sparknet",nativeCurrency:{name:"Spark",symbol:"SPARK",decimals:18},networkId:123,redFlags:[],rpc:["https://123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fusespark.io"],shortName:"spark",slug:"fuse-sparknet",testnet:!0},rr0={chain:"DWU",chainId:124,explorers:[],faucets:[],infoURL:"https://decentralized-web.tech/dw_chain.php",name:"Decentralized Web Mainnet",nativeCurrency:{name:"Decentralized Web Utility",symbol:"DWU",decimals:18},networkId:124,rpc:["https://124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://decentralized-web.tech/dw_rpc.php"],shortName:"dwu",slug:"decentralized-web",testnet:!1},ir0={chain:"OYchain",chainId:125,explorers:[{name:"OYchain Testnet Explorer",url:"https://explorer.testnet.oychain.io",standard:"none"}],faucets:["https://faucet.oychain.io"],infoURL:"https://www.oychain.io",name:"OYchain Testnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:125,rpc:["https://125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oychain.io"],shortName:"OYchainTestnet",slip44:1,slug:"oychain-testnet",testnet:!0},sr0={chain:"OYchain",chainId:126,explorers:[{name:"OYchain Mainnet Explorer",url:"https://explorer.oychain.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXW5T2MaGHznXUmQEXoyJjcdmX7dhLbj5fnqvZZKqeKzA",width:677,height:237,format:"png"},infoURL:"https://www.oychain.io",name:"OYchain Mainnet",nativeCurrency:{name:"OYchain Token",symbol:"OY",decimals:18},networkId:126,rpc:["https://126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oychain.io"],shortName:"OYchainMainnet",slip44:126,slug:"oychain",testnet:!1},fr0={chain:"FETH",chainId:127,explorers:[],faucets:[],infoURL:"https://www.factory127.com",name:"Factory 127 Mainnet",nativeCurrency:{name:"Factory 127 Token",symbol:"FETH",decimals:18},networkId:127,rpc:[],shortName:"feth",slip44:127,slug:"factory-127",testnet:!1},or0={chain:"Heco",chainId:128,explorers:[{name:"hecoinfo",url:"https://hecoinfo.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.hecochain.com",name:"Huobi ECO Chain Mainnet",nativeCurrency:{name:"Huobi ECO Chain Native Token",symbol:"HT",decimals:18},networkId:128,rpc:["https://128.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.hecochain.com","wss://ws-mainnet.hecochain.com"],shortName:"heco",slip44:1010,slug:"huobi-eco-chain",testnet:!1},cr0={chain:"INNOVATOR",chainId:129,explorers:[{name:"Innovator Explorer",url:"https://evm.innovatorchain.com",standard:"none",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVJBGeFYZXMQqicNdzctMfvPN5CrtRrfZBTw3CEpkCBsS",width:1500,height:1500,format:"png"},infoURL:"https://innovatorchain.com",name:"Innovator Chain",nativeCurrency:{name:"INOV8",symbol:"INOV8",decimals:18},networkId:129,rpc:["https://129.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.innovatorchain.com"],shortName:"Innovator",slug:"innovator-chain",testnet:!1},dr0={chain:"tGRAM",chainId:131,explorers:[{name:"blockscout",url:"https://tokioscan-v2.engram.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidn7dolavrzgqxthydb6rt5iwuzm6cvkxqirzh2szarjspsdp4kyu",width:400,height:400,format:"svg"},infoURL:"https://engramnet.io",name:"Engram Testnet",nativeCurrency:{name:"Engram Tokio Testnet",symbol:"tGRAM",decimals:18},networkId:131,rpc:["https://131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tokioswift.engram.tech","https://tokio-archive.engram.tech"],shortName:"tgram",slug:"engram-testnet",testnet:!0},lr0={chain:"NFIC",chainId:132,explorers:[],faucets:[],infoURL:"https://namefi.io/",name:"Namefi Chain Mainnet",nativeCurrency:{name:"Namefi Coin",symbol:"NFIC",decimals:18},networkId:132,rpc:["https://132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.namefi.io"],shortName:"nfic",slug:"namefi-chain",testnet:!1},pr0={chain:"HashKey Chain Testnet",chainId:133,explorers:[],faucets:[],infoURL:"https://hashkey.cloud",name:"HashKey Chain Testnet",nativeCurrency:{name:"HashKey EcoPoints",symbol:"HSK",decimals:18},networkId:133,parent:{type:"L2",chain:"eip155-11155111"},rpc:[],shortName:"HSKT",slug:"hashkey-chain-testnet",testnet:!0,title:"HashKey Chain Testnet"},ur0={chain:"Bellecour",chainId:134,explorers:[{name:"blockscout",url:"https://blockscout.bellecour.iex.ec",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUYKpVmZL4aS3TEZLG5wbrRJ6exxLiwm1rejfGYYNicfb",width:155,height:155,format:"png"},infoURL:"https://iex.ec",name:"iExec Sidechain",nativeCurrency:{name:"xRLC",symbol:"xRLC",decimals:18},networkId:134,rpc:["https://134.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bellecour.iex.ec"],shortName:"rlc",slug:"iexec-sidechain",testnet:!1},yr0={chain:"Alyx Chain Testnet",chainId:135,explorers:[{name:"alyx testnet scan",url:"https://testnet.alyxscan.com",standard:"EIP3091"}],faucets:["https://faucet.alyxchain.com"],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Chain Testnet",nativeCurrency:{name:"Alyx Testnet Native Token",symbol:"ALYX",decimals:18},networkId:135,rpc:["https://135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alyxchain.com"],shortName:"AlyxTestnet",slip44:1,slug:"alyx-chain-testnet",testnet:!0},mr0={chain:"Deamchain",chainId:136,explorers:[{name:"Deamchain Block Explorer",url:"https://scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Mainnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:136,rpc:["https://136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.deamchain.com"],shortName:"deam",slug:"deamchain",testnet:!1},t7={chain:"Polygon",chainId:137,explorers:[{name:"polygonscan",url:"https://polygonscan.com",standard:"EIP3091"},{name:"dexguru",url:"https://polygon.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Mainnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:137,redFlags:[],rpc:["https://137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polygon-mainnet.infura.io/v3/${INFURA_API_KEY}","https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://polygon-rpc.com/","https://rpc-mainnet.matic.network","https://matic-mainnet.chainstacklabs.com","https://rpc-mainnet.maticvigil.com","https://rpc-mainnet.matic.quiknode.pro","https://matic-mainnet-full-rpc.bwarelabs.com","https://polygon-bor-rpc.publicnode.com","wss://polygon-bor-rpc.publicnode.com","https://polygon.gateway.tenderly.co","wss://polygon.gateway.tenderly.co","https://polygon.drpc.org","wss://polygon.drpc.org"],shortName:"matic",slip44:966,slug:"polygon",testnet:!1},br0={chain:"dfiometa",chainId:138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Blockscout Explorer",url:"https://blockscout.defi-oracle.io",standard:"none"},{name:"Quorum Explorer",url:"https://explorer.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://info.defi-oracle.io/",name:"Defi Oracle Meta Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1,rpc:["https://138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-oracle.io","wss://wss.defi-oracle.io"],shortName:"dfio-meta-main",slip44:60,slug:"defi-oracle-meta",testnet:!1},hr0={chain:"WOOP",chainId:139,explorers:[{name:"wikiwoop",url:"https://explorer.wikiwoop.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qma7LpnkGjAN1dwL6VTXUYqzySNxjLg4br7J8UE4yZWYec",width:310,height:310,format:"png"},infoURL:"https://wikiwoop.com",name:"WoopChain Mainnet",nativeCurrency:{name:"WoopCoin",symbol:"WOOC",decimals:18},networkId:139,rpc:["https://139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.woop.ai/rpc"],shortName:"woop",slug:"woopchain",testnet:!1},gr0={chain:"Eter",chainId:140,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibexfskndvhn5xtrcmpjoifp2ufnzgwiwbfrjcxat55alergskkve",width:122,height:133,format:"svg"},infoURL:"https://eternalcoin.io",name:"Eternal Mainnet",nativeCurrency:{name:"Eternal",symbol:"Eter",decimals:18},networkId:140,rpc:["https://140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eternalcoin.io/v1","ws://mainnet.eternalcoin.io/v1/ws"],shortName:"Eter",slug:"eternal",testnet:!1},vr0={chain:"OPENPIECE",chainId:141,explorers:[{name:"Belly Scan",url:"https://testnet.bellyscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmVTahJkdSH3HPYsJMK2GmqfWZjLyxE7cXy1aHEnHU3vp2",width:250,height:250,format:"png"},infoURL:"https://cryptopiece.online",name:"Openpiece Testnet",nativeCurrency:{name:"Belly",symbol:"BELLY",decimals:18},networkId:141,rpc:["https://141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.openpiece.io"],shortName:"OPtest",slip44:1,slug:"openpiece-testnet",testnet:!0},Tr0={chain:"DAX",chainId:142,explorers:[],faucets:[],infoURL:"https://prodax.io/",name:"DAX CHAIN",nativeCurrency:{name:"Prodax",symbol:"DAX",decimals:18},networkId:142,rpc:["https://142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.prodax.io"],shortName:"dax",slug:"dax-chain",testnet:!1},_r0={chain:"PHI",chainId:144,explorers:[{name:"Phiscan",url:"https://phiscan.com",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network v2",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:144,rpc:["https://144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.phi.network"],shortName:"PHI",slug:"phi-network-v2",testnet:!1},wr0={chain:"SETH",chainId:145,explorers:[{name:"blockscout",url:"https://explorer.soraai.bot",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://soraai.bot",name:"SoraAI Testnet",nativeCurrency:{name:"SoraETH",symbol:"SETH",decimals:18},networkId:145,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.soraai.bot"}]},rpc:["https://145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.soraai.bot"],shortName:"SETH",slip44:1,slug:"soraai-testnet",testnet:!0},Bie={chain:"Flag",chainId:147,explorers:[{name:"Flag Mainnet Explorer",url:"https://flagscan.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://flagscan.xyz",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"FLAG",decimals:18},networkId:147,rpc:["https://147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.flagscan.xyz"],shortName:"FLAG",slug:"flag",testnet:!1},xr0={chain:"ShimmerEVM",chainId:148,explorers:[{name:"explorer",url:"https://explorer.evm.shimmer.network",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:148,rpc:["https://148.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.shimmer.network"],shortName:"shimmerevm",slug:"shimmerevm",testnet:!1,title:"ShimmerEVM"},Ir0={chain:"FIVENET",chainId:150,explorers:[{name:"SIX Scan fivenet",url:"https://sixscan.io/fivenet",standard:"none",icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"}}],faucets:["https://faucet.sixprotocol.net"],icon:{url:"ipfs://QmP93z696v8Hetu13peY2oEHDXq8Bj5CqaDRwpVkpnM15A",width:512,height:512,format:"png"},infoURL:"https://six.network/",name:"Six Protocol Testnet",nativeCurrency:{name:"SIX testnet evm token",symbol:"tSIX",decimals:18},networkId:150,rpc:["https://150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm.fivenet.sixprotocol.net"],shortName:"sixt",slug:"six-protocol-testnet",testnet:!0},Er0={chain:"RBN",chainId:151,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Mainnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:151,rpc:[],shortName:"rbn",slip44:824,slug:"redbelly-network",status:"incubating",testnet:!1},Dr0={chain:"RBN",chainId:152,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Devnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:152,rpc:[],shortName:"rbn-devnet",slug:"redbelly-network-devnet",status:"incubating",testnet:!1},Cr0={chain:"RBN",chainId:153,explorers:[{name:"Redbelly Network Testnet Explorer",url:"https://explorer.testnet.redbelly.network",standard:"none"}],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network Testnet",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:153,rpc:["https://153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://governors.testnet.redbelly.network"],shortName:"rbn-testnet",slip44:1,slug:"redbelly-network-testnet",status:"active",testnet:!0},Sr0={chain:"RBN",chainId:154,explorers:[],faucets:[],infoURL:"https://redbelly.network",name:"Redbelly Network TGE",nativeCurrency:{name:"Redbelly Network Coin",symbol:"RBNT",decimals:18},networkId:154,rpc:[],shortName:"rbn-tge",slug:"redbelly-network-tge",testnet:!1},Ar0={chain:"TENET",chainId:155,explorers:[{name:"TenetScan Testnet",url:"https://testnet.tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:["https://faucet.testnet.tenet.org"],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet Testnet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:155,rpc:["https://155.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tenet.org"],shortName:"tenet-testnet",slip44:1,slug:"tenet-testnet",testnet:!0,title:"Tenet Testnet"},kr0={chain:"OEBt",chainId:156,explorers:[{name:"OEScan explorer",url:"https://testnet.oescan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdoQUfYqtkWMfjtoPv2KWDY4MxDDSsyWgwXtCx6jfkezz",width:155,height:177,format:"png"},infoURL:"https://www.oeblock.com/",name:"OEBlock Testnet",nativeCurrency:{name:"OEBlock",symbol:"OEB",decimals:18},networkId:156,rpc:["https://156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oeblock.com"],shortName:"obe",slip44:1,slug:"oeblock-testnet",testnet:!0},Pr0={chain:"Puppynet Shibarium",chainId:157,explorers:[{name:"puppyscan",url:"https://puppyscan.shib.io",standard:"none"}],faucets:["https://beta.shibariumtech.com/faucet"],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://shibariumecosystem.com",name:"Puppynet Shibarium",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:157,rpc:["https://157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"puppynet",slug:"puppynet-shibarium",testnet:!1},Rr0={chain:"RBA",chainId:158,explorers:[{name:"Rbascan Explorer",url:"https://rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Mainnet",nativeCurrency:{name:"Roburna",symbol:"RBA",decimals:18},networkId:158,rpc:["https://158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.roburna.com"],shortName:"rba",slug:"roburna",testnet:!1},Lr0={chain:"RBAT",chainId:159,explorers:[{name:"Rbascan Testnet Explorer",url:"https://testnet.rbascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTk1uhB9nvnvXifvwEPGFcdgsXRt4EXNjovUGyUmfFRcB",width:4e3,height:4e3,format:"png"},infoURL:"https://www.roburna.com/",name:"Roburna Testnet",nativeCurrency:{name:"Roburna",symbol:"RBAT",decimals:18},networkId:159,rpc:["https://159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://preseed-testnet-1.roburna.com"],shortName:"rbat",slug:"roburna-testnet",testnet:!0},Mr0={chain:"Eva",chainId:160,explorers:[],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Mainnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:160,rpc:["https://160.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evascan.io/api/eth-rpc/"],shortName:"eva",slug:"armonia-eva-chain",status:"incubating",testnet:!1},Br0={chain:"Wall-e",chainId:161,explorers:[{name:"blockscout - evascan",url:"https://testnet.evascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amax.network",name:"Armonia Eva Chain Testnet",nativeCurrency:{name:"Armonia Multichain Native Token",symbol:"AMAX",decimals:18},networkId:161,rpc:["https://161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evascan.io/api/eth-rpc/"],shortName:"wall-e",slip44:1,slug:"armonia-eva-chain-testnet",testnet:!0},Nr0={chain:"PHT",chainId:162,explorers:[],faucets:["https://discuss.lightstreams.network/t/request-test-tokens"],infoURL:"https://explorer.sirius.lightstreams.io",name:"Lightstreams Testnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:162,rpc:["https://162.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sirius.lightstreams.io"],shortName:"tpht",slip44:1,slug:"lightstreams-testnet",testnet:!0},Fr0={chain:"PHT",chainId:163,explorers:[],faucets:[],infoURL:"https://explorer.lightstreams.io",name:"Lightstreams Mainnet",nativeCurrency:{name:"Lightstreams PHT",symbol:"PHT",decimals:18},networkId:163,rpc:["https://163.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.lightstreams.io"],shortName:"pht",slug:"lightstreams",testnet:!1},Or0={chain:"Omni",chainId:164,explorers:[{name:"Omni X-Explorer",url:"https://explorer.testnet.omni.network",standard:"none"},{name:"Omni EVM Explorer on Blockscout",url:"https://omni-testnet.blockscout.com",standard:"EIP3091"},{name:"Omni EVM Explorer on Routescan",url:"https://testnet.omniscan.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network",name:"Omni Testnet",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:164,rpc:["https://164.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.omni.network"],shortName:"omni_testnet",slip44:1,slug:"omni-testnet",status:"active",testnet:!0},Vr0={chain:"Omni",chainId:165,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni Testnet (Deprecated)",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:165,rpc:[],shortName:"omni_testnet_deprecated",slip44:1,slug:"omni-testnet-deprecated",status:"deprecated",testnet:!0},$r0={chain:"Omni",chainId:166,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://docs.omni.network/",name:"Omni",nativeCurrency:{name:"Omni",symbol:"OMNI",decimals:18},networkId:166,rpc:[],shortName:"omni",slip44:1,slug:"omni",status:"incubating",testnet:!1},Ur0={chain:"ATOSHI",chainId:167,explorers:[{name:"atoshiscan",url:"https://scan.atoverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfFK6B4MFLrpSS46aLf7hjpt28poHFeTGEKEuH248Tbyj",width:200,height:200,format:"png"},infoURL:"https://atoshi.org",name:"Atoshi Testnet",nativeCurrency:{name:"ATOSHI",symbol:"ATOS",decimals:18},networkId:167,rpc:["https://167.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.atoshi.io/"],shortName:"atoshi",slip44:1,slug:"atoshi-testnet",testnet:!0},qr0={chain:"AIOZ",chainId:168,explorers:[{name:"AIOZ Network Explorer",url:"https://explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network",nativeCurrency:{name:"AIOZ",symbol:"AIOZ",decimals:18},networkId:168,rpc:["https://168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-dataseed.aioz.network"],shortName:"aioz",slip44:60,slug:"aioz-network",testnet:!1},Hr0={chain:"Manta Pacific",chainId:169,explorers:[{name:"manta-pacific Explorer",url:"https://pacific-explorer.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://pacific-info.manta.network",name:"Manta Pacific Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:169,rpc:["https://169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.manta.network/http","https://manta-pacific.drpc.org","wss://manta-pacific.drpc.org"],shortName:"manta",slug:"manta-pacific",testnet:!1},zr0={chain:"ETH",chainId:170,explorers:[],faucets:["https://faucet-testnet.hscscan.com/"],infoURL:"https://www.hoosmartchain.com",name:"HOO Smart Chain Testnet",nativeCurrency:{name:"HOO",symbol:"HOO",decimals:18},networkId:170,rpc:["https://170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hoosmartchain.com"],shortName:"hoosmartchain",slip44:1,slug:"hoo-smart-chain-testnet",testnet:!0},Wr0={chain:"Resil",chainId:172,explorers:[],faucets:["https://faucet.latam-blockchain.com"],infoURL:"https://latam-blockchain.com",name:"Latam-Blockchain Resil Testnet",nativeCurrency:{name:"Latam-Blockchain Resil Test Native Token",symbol:"usd",decimals:18},networkId:172,rpc:["https://172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.latam-blockchain.com","wss://ws.latam-blockchain.com"],shortName:"resil",slip44:1,slug:"latam-blockchain-resil-testnet",testnet:!0},jr0={chain:"dcchain",chainId:176,explorers:[{name:"dcscan",url:"https://exp.dcnetio.cloud",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQsNtUoaKUHWaxFMBuCQwkX9WmKHz7iNotcZTFkWo7Qgt",width:1020,height:1022,format:"png"},infoURL:"https://www.dcnetio.cloud",name:"DC Mainnet",nativeCurrency:{name:"DC Native Token",symbol:"DCT",decimals:18},networkId:176,rpc:["https://176.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcnetio.cloud","wss://ws.dcnetio.cloud"],shortName:"dcchain",slug:"dc",testnet:!1},Gr0={chain:"ABEY",chainId:178,explorers:[{name:"abeyscan-testnet",url:"https://testnet.abeyscan.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.abeychain.com"],features:[{name:"EIP155"}],infoURL:"https://abey.com",name:"ABEY Testnet",nativeCurrency:{name:"ABEY",symbol:"tABEY",decimals:18},networkId:178,rpc:["https://178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.abeychain.com"],shortName:"abeyt",slug:"abey-testnet",testnet:!0},Kr0={chain:"ABEY",chainId:179,explorers:[{name:"abeyscan",url:"https://abeyscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://abey.com",name:"ABEY Mainnet",nativeCurrency:{name:"ABEY",symbol:"ABEY",decimals:18},networkId:179,rpc:["https://179.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.abeychain.com"],shortName:"abey",slug:"abey",testnet:!1},Qr0={chain:"AME",chainId:180,explorers:[{name:"AME Scan",url:"https://amescan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://amechain.io/",name:"AME Chain Mainnet",nativeCurrency:{name:"AME",symbol:"AME",decimals:18},networkId:180,rpc:["https://180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amechain.io/"],shortName:"ame",slug:"ame-chain",testnet:!1},Yr0={chain:"Waterfall Network",chainId:181,explorers:[],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:181,rpc:["https://181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.waterfall.network/"],shortName:"water",slug:"waterfall-network",testnet:!1},Jr0={chain:"Dojima",chainId:184,explorers:[{name:"Dojima Testnet Explorer",url:"https://explorer-test.dojima.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmarhJVEb6jVNfW1GP2rcvAfto6DFdr7RSauZQxjd3iFam",width:379,height:379,format:"png"},infoURL:"https://www.dojima.network/",name:"Dojima Testnet",nativeCurrency:{name:"Dojima",symbol:"DOJ",decimals:18},networkId:184,rpc:["https://184.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test-d11k.dojima.network"],shortName:"dojtestnet",slug:"dojima-testnet",testnet:!0},Xr0={chain:"ETH",chainId:185,explorers:[{name:"blockscout",url:"https://explorer.mintchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.mintchain.io",name:"Mint Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:185,rpc:["https://185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mintchain.io","https://global.rpc.mintchain.io","https://asia.rpc.mintchain.io"],shortName:"mint",slug:"mint",testnet:!1},Zr0={chain:"Seele",chainId:186,explorers:[{name:"seeleview",url:"https://seeleview.net",standard:"none"}],faucets:[],infoURL:"https://seelen.pro/",name:"Seele Mainnet",nativeCurrency:{name:"Seele",symbol:"Seele",decimals:18},networkId:186,rpc:["https://186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.seelen.pro/"],shortName:"Seele",slug:"seele",testnet:!1},ei0={chain:"Dojima",chainId:187,explorers:[{name:"Dojima Explorer",url:"https://explorer.dojima.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmarhJVEb6jVNfW1GP2rcvAfto6DFdr7RSauZQxjd3iFam",width:379,height:379,format:"png"},infoURL:"https://www.dojima.network/",name:"Dojima",nativeCurrency:{name:"Dojima",symbol:"DOJ",decimals:18},networkId:187,rpc:["https://187.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-d11k.dojima.network"],shortName:"dojima",slug:"dojima",testnet:!1},ti0={chain:"BMC",chainId:188,explorers:[{name:"Blockmeta",url:"https://bmc.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Mainnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:188,rpc:["https://188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bmcchain.com/"],shortName:"BMC",slug:"bmc",testnet:!1},ni0={chain:"BMC",chainId:189,explorers:[{name:"Blockmeta",url:"https://bmctestnet.blockmeta.com",standard:"none"}],faucets:[],infoURL:"https://bmc.bytom.io/",name:"BMC Testnet",nativeCurrency:{name:"BTM",symbol:"BTM",decimals:18},networkId:189,rpc:["https://189.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bmcchain.com"],shortName:"BMCT",slip44:1,slug:"bmc-testnet",testnet:!0},ai0={chain:"Underchain 1",chainId:190,explorers:[{name:"bbqchain-explorer",url:"https://bbqchain-exp.commudao.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://commudao.xyz",name:"CMDAO BBQ Chain",nativeCurrency:{name:"CommuDAO",symbol:"CMD",decimals:18},networkId:190,rpc:["https://190.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bbqchain-rpc.commudao.xyz"],shortName:"cmdao-bbq-chain",slug:"cmdao-bbq-chain",testnet:!1},ri0={chain:"FFG",chainId:191,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihsas2rwakc7lllmtb4pcgwutlel2woibmqmhd4aiin342zgtpmwy",width:512,height:512,format:"png"},infoURL:"https://filefilego.com",name:"FileFileGo",nativeCurrency:{name:"FFG",symbol:"FFG",decimals:18},networkId:191,rpc:["https://191.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filefilego.com/rpc"],shortName:"ffg",slug:"filefilego",testnet:!1},ii0={chain:"CEM",chainId:193,explorers:[{name:"cemscan",url:"https://cemscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://cemblockchain.com/",name:"Crypto Emergency",nativeCurrency:{name:"Crypto Emergency",symbol:"CEM",decimals:18},networkId:193,rpc:["https://193.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cemchain.com"],shortName:"cem",slug:"crypto-emergency",testnet:!1},si0={chain:"X Layer",chainId:195,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer-test",standard:"EIP3091"}],faucets:["https://www.okx.com/xlayer/faucet"],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Testnet",nativeCurrency:{name:"X Layer Global Utility Token in testnet",symbol:"OKB",decimals:18},networkId:195,rpc:["https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.xlayer.tech","https://xlayertestrpc.okx.com"],shortName:"tokb",slip44:1,slug:"x-layer-testnet",status:"active",testnet:!0},fi0={chain:"X Layer",chainId:196,explorers:[{name:"OKLink",url:"https://www.oklink.com/xlayer",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSLkiAAr6VtJ6jEqEzz3QdZtVEHzR6Az7E4XD8qXwjuio",width:1e3,height:1e3,format:"png"},infoURL:"https://www.okx.com/xlayer",name:"X Layer Mainnet",nativeCurrency:{name:"X Layer Global Utility Token",symbol:"OKB",decimals:18},networkId:196,rpc:["https://196.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xlayer.tech","https://xlayerrpc.okx.com"],shortName:"okb",slug:"x-layer",status:"active",testnet:!1},oi0={chain:"NEUTR",chainId:197,explorers:[{name:"blockscout",url:"https://testnet.neutrinoschain.com",standard:"EIP3091"}],faucets:["https://neutrinoschain.com/faucet"],infoURL:"https://docs.neutrinoschain.com",name:"Neutrinos TestNet",nativeCurrency:{name:"Neutrinos",symbol:"NEUTR",decimals:18},networkId:197,rpc:["https://197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.neutrinoschain.com"],shortName:"NEUTR",slip44:1,slug:"neutrinos-testnet",testnet:!0},ci0={chain:"Bit",chainId:198,explorers:[{name:"Bitchain Scan",url:"https://explorer.bitchain.biz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.bitchain.biz/",name:"Bitchain Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:198,rpc:["https://198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitchain.biz/"],shortName:"bit",slug:"bitchain",testnet:!1},di0={chain:"BTTC",chainId:199,explorers:[{name:"BitTorrent Chain Explorer",url:"https://bttcscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bt.io",name:"BitTorrent Chain Mainnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:199,rpc:["https://199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bt.io","https://bittorrent.drpc.org","wss://bittorrent.drpc.org"],shortName:"BTT",slug:"bittorrent-chain",testnet:!1},li0={chain:"AOX",chainId:200,explorers:[{name:"blockscout",url:"https://blockscout.com/xdai/arbitrum",standard:"EIP3091"}],faucets:[],infoURL:"https://xdaichain.com",name:"Arbitrum on xDai",nativeCurrency:{name:"xDAI",symbol:"xDAI",decimals:18},networkId:200,parent:{type:"L2",chain:"eip155-100"},rpc:["https://200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum.xdaichain.com/"],shortName:"aox",slug:"arbitrum-on-xdai",testnet:!1},pi0={chain:"MOAC",chainId:201,explorers:[{name:"moac testnet explorer",url:"https://testnet.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC testnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:201,rpc:["https://201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.moac.io/testnet"],shortName:"moactest",slip44:1,slug:"moac-testnet",testnet:!0},ui0={chain:"EdgelessTestnet",chainId:202,explorers:[{name:"Edgeless Explorer",url:"https://testnet.explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Testnet",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:202,rpc:["https://202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.edgeless.network/http"],shortName:"edgeless-testnet",slug:"edgeless-testnet",testnet:!0},yi0={chain:"opBNB",chainId:204,explorers:[{name:"opbnbscan",url:"https://mainnet.opbnbscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXxTwwfYzagtJqvWreUDoq4pKz3A22YmAi7c3hcgZp5Rt/bnb-bnb-logo.png",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:204,redFlags:[],rpc:["https://204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-mainnet-rpc.bnbchain.org","https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-mainnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-mainnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-rpc.publicnode.com","wss://opbnb-rpc.publicnode.com","https://opbnb.drpc.org","wss://opbnb.drpc.org"],shortName:"obnb",slip44:714,slug:"opbnb",testnet:!1},mi0={chain:"VinuChain Testnet",chainId:206,explorers:[{name:"VinuScan Testnet",url:"https://testnet.vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafkreidtie4srt52ry67wd3dpxhklmug2ozrawvf3jdlljveinp3frutra",width:2e3,height:392,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Testnet",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:206,rpc:["https://206.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinufoundation-rpc.com"],shortName:"VCTEST",slip44:1,slug:"vinuchain-testnet",testnet:!0},bi0={chain:"VinuChain",chainId:207,explorers:[{name:"VinuScan",url:"https://vinuscan.com",standard:"none",icon:{url:"ipfs://bafkreiayq7a5qncxzlilfnvpgzt4pwfxbof2qrqr2nyd2suztfummpty4i",width:2e3,height:2e3,format:"jpg"}}],faucets:[],icon:{url:"ipfs://bafybeiderli6uaaxk7eboyf7g4abnybgrkbglmqbkmf25z57ode7zdzmvy",width:613,height:613,format:"png"},infoURL:"https://vitainu.org",name:"VinuChain Network",nativeCurrency:{name:"VinuChain",symbol:"VC",decimals:18},networkId:207,rpc:["https://207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vinuchain-rpc.com"],shortName:"VC",slug:"vinuchain-network",testnet:!1},hi0={chain:"utx",chainId:208,explorers:[],faucets:[],infoURL:"https://structx.io",name:"Structx Mainnet",nativeCurrency:{name:"Notes",symbol:"utx",decimals:18},networkId:208,rpc:["https://208.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.structx.io"],shortName:"utx",slug:"structx",testnet:!1},gi0={chain:"BTN",chainId:210,explorers:[{name:"Bitnet Explorer",url:"https://btnscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS9h3nFiCzaBLnBNw8Wot4U7vvEVK45EQfi8nxH4nvrmz",width:512,height:512,format:"png"},infoURL:"https://bitnet.money",name:"Bitnet",nativeCurrency:{name:"Bitnet",symbol:"BTN",decimals:18},networkId:210,rpc:["https://210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitnet.money","https://rpc.btnscan.com"],shortName:"BTN",slug:"bitnet",testnet:!1},vi0={chain:"EDI",chainId:211,explorers:[],faucets:["http://faucet.freight.sh"],infoURL:"https://freighttrust.com",name:"Freight Trust Network",nativeCurrency:{name:"Freight Trust Native",symbol:"0xF",decimals:18},networkId:0,rpc:["https://211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://13.57.207.168:3435","https://app.freighttrust.net/ftn/${API_KEY}"],shortName:"EDI",slug:"freight-trust-network",testnet:!1},Ti0={chain:"MAPO",chainId:212,explorers:[{name:"maposcan",url:"https://testnet.maposcan.io",standard:"EIP3091"}],faucets:["https://faucet.mapprotocol.io"],infoURL:"https://mapprotocol.io/",name:"MAPO Makalu",nativeCurrency:{name:"Makalu MAPO",symbol:"MAPO",decimals:18},networkId:212,rpc:["https://212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.maplabs.io"],shortName:"makalu",slug:"mapo-makalu",testnet:!0,title:"MAPO Testnet Makalu"},_i0={chain:"B2",chainId:213,explorers:[{name:"B2 Hub Mainnet Explorer",url:"https://hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Mainnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:213,rpc:["https://213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hub-rpc.bsquared.network"],shortName:"B2Hub-mainnet",slug:"b2-hub",testnet:!1},wi0={chain:"Shinarium",chainId:214,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Mainnet",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:214,rpc:["https://214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.shinarium.org"],shortName:"shinarium",slug:"shinarium",testnet:!1},xi0={chain:"SIN2",chainId:217,explorers:[{name:"siriusnet explorer",url:"https://scan.siriusnet.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeicxuxdzrzpwsil4owqmn7wpwka2rqsohpfqmukg57pifzyxr5om2q",width:100,height:100,format:"png"},infoURL:"https://siriusnet.io",name:"SiriusNet V2",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:217,rpc:["https://217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.siriusnet.io"],shortName:"SIN2",slug:"siriusnet-v2",testnet:!1},Ii0={chain:"SOTER",chainId:218,explorers:[],faucets:[],infoURL:"https://www.soterone.com",name:"SoterOne Mainnet old",nativeCurrency:{name:"SoterOne Mainnet Ether",symbol:"SOTER",decimals:18},networkId:218,rpc:["https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.soter.one"],shortName:"SO1-old",slug:"soterone-old",status:"deprecated",testnet:!1},Ei0={chain:"Flag",chainId:220,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:200,height:200,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Mainnet",nativeCurrency:{name:"Flag",symbol:"Flag",decimals:18},networkId:220,redFlags:[],rpc:[],shortName:"Flag",slug:"flag-flag",status:"deprecated",testnet:!1},Di0={chain:"ASK",chainId:222,explorers:[],faucets:[],infoURL:"https://permission.io/",name:"Permission",nativeCurrency:{name:"ASK",symbol:"ASK",decimals:18},networkId:2221,rpc:["https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain-api-mainnet.permission.io/rpc"],shortName:"ASK",slip44:2221,slug:"permission",status:"deprecated",testnet:!1},Ci0={chain:"B2",chainId:223,explorers:[{name:"blockscout",url:"https://explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Mainnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:223,parent:{type:"L2",chain:"eip155-213",bridges:[{url:"https://www.bsquared.network/bridge"}]},rpc:["https://223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.b2-rpc.com","https://rpc.bsquared.network","https://b2-mainnet.alt.technology","https://b2-mainnet-public.s.chainbase.com","https://rpc.ankr.com/b2"],shortName:"B2-mainnet",slug:"b2",testnet:!1,title:"B2 Mainnet"},Si0={chain:"VRD",chainId:224,explorers:[{name:"Viridis Testnet",url:"https://testnet.vrd.network",standard:"EIP3091"}],faucets:["https://faucet.vrd.network"],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Testnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:224,rpc:["https://224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.vrd.network"],shortName:"VRD-Testnet",slug:"viridis-testnet",testnet:!0},Ai0={chain:"LA",chainId:225,explorers:[{name:"blockscout",url:"https://scan.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Mainnet",nativeCurrency:{name:"LA",symbol:"LA",decimals:18},networkId:225,rpc:["https://225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.lachain.io"],shortName:"LA",slug:"lachain",testnet:!1},ki0={chain:"TLA",chainId:226,explorers:[{name:"blockscout",url:"https://scan-test.lachain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},infoURL:"https://lachain.io",name:"LACHAIN Testnet",nativeCurrency:{name:"TLA",symbol:"TLA",decimals:18},networkId:226,rpc:["https://226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.lachain.io"],shortName:"TLA",slip44:1,slug:"lachain-testnet",testnet:!0},Pi0={chain:"FHE",chainId:228,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Mainnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:228,rpc:["https://228.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.mindnetwork.xyz","wss://rpc_mainnet.mindnetwork.xyz"],shortName:"fhe",slug:"mind-network",testnet:!1},Ri0={chain:"SDX",chainId:230,explorers:[{name:"SwapDEX",url:"https://evm.swapdex.network",standard:"none"}],faucets:[],infoURL:"https://swapdex.network/",name:"SwapDEX",nativeCurrency:{name:"SwapDEX",symbol:"SDX",decimals:18},networkId:230,rpc:["https://230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.swapdex.network","wss://ss.swapdex.network"],shortName:"SDX",slug:"swapdex",testnet:!1},Li0={chain:"Jumbo",chainId:234,explorers:[{name:"ProtoJumbo",url:"https://protojumbo.jumbochain.org",standard:"EIP3091"}],faucets:["https://protojumbo.jumbochain.org/faucet-smart"],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"ProtoJumbo Testnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:234,rpc:["https://234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.jumbochain.org"],shortName:"ProtoJumbo",slip44:1,slug:"protojumbo-testnet",testnet:!0},Mi0={chain:"Deamchain",chainId:236,explorers:[{name:"Deamchain Testnet Explorer",url:"https://testnet-scan.deamchain.com",standard:"EIP3091",icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"}}],faucets:["https://faucet.deamchain.com"],icon:{url:"ipfs://QmXvHWmjfXKdZMSz7x82NR4SjEqigKdJELVHbnzUPkj17F",width:512,height:512,format:"svg"},infoURL:"https://deamchain.com",name:"Deamchain Testnet",nativeCurrency:{name:"Deamchain Native Token",symbol:"DEAM",decimals:18},networkId:236,rpc:["https://236.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deamchain.com"],shortName:"deamtest",slip44:1,slug:"deamchain-testnet",testnet:!0},Bi0={chain:"ETH",chainId:238,explorers:[{name:"Blast Mainnet",url:"https://scan.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:238,rpc:["https://238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blastblockchain.com"],shortName:"blast",slug:"blast",testnet:!1},Ni0={chain:"Plinga",chainId:242,explorers:[{name:"plgscan",url:"https://www.plgscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeibpvlod5nyev6wyuvp6pbestmgvru3ovbadsul32odpno26xwld6y",width:1039,height:1022,format:"svg"},infoURL:"https://www.plinga.technology/",name:"Plinga Mainnet",nativeCurrency:{name:"Plinga",symbol:"PLINGA",decimals:18},networkId:242,rpc:["https://242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcurl.mainnet.plgchain.com","https://rpcurl.plgchain.blockchain.evmnode.online","https://rpcurl.mainnet.plgchain.plinga.technology"],shortName:"plgchain",slug:"plinga",testnet:!1},Fi0={chain:"Energy Web Chain",chainId:246,explorers:[{name:"blockscout",url:"https://explorer.energyweb.org",standard:"none"}],faucets:[],infoURL:"https://energyweb.org",name:"Energy Web Chain",nativeCurrency:{name:"Energy Web Token",symbol:"EWT",decimals:18},networkId:246,rpc:["https://246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.energyweb.org","wss://rpc.energyweb.org/ws"],shortName:"ewt",slip44:246,slug:"energy-web-chain",testnet:!1},Oi0={chain:"Oasys",chainId:248,explorers:[{name:"blockscout",url:"https://explorer.oasys.games",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYcGHTPheBwLv9zoJfQAJ7NB6MCtXe2zV7XqPyiTJg3WP/Oasys_Large%20Logo%20Black.png",width:1250,height:1250,format:".png"},infoURL:"https://oasys.games",name:"Oasys Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:248,redFlags:[],rpc:["https://248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.games"],shortName:"OAS",slug:"oasys",testnet:!1},JFe={chain:"FTM",chainId:250,explorers:[{name:"ftmscan",url:"https://ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}},{name:"dexguru",url:"https://fantom.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://fantom.foundation",name:"Fantom Opera",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:250,redFlags:[],rpc:["https://250.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ftm.tools","https://fantom-rpc.publicnode.com","wss://fantom-rpc.publicnode.com","https://fantom.drpc.org","wss://fantom.drpc.org"],shortName:"ftm",slug:"fantom",testnet:!1},Vi0={chain:"FRAX",chainId:252,explorers:[{name:"fraxscan",url:"https://fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://mainnet.frax.com",name:"Fraxtal",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:252,redFlags:[],rpc:["https://252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.frax.com"],shortName:"fraxtal",slug:"fraxtal",status:"active",testnet:!1},$i0={chain:"ETH",chainId:255,explorers:[{name:"blockscout",url:"https://blockscout.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:255,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://kroma.network/bridge"}]},redFlags:[],rpc:["https://255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kroma.network","https://1rpc.io/kroma","https://rpc-kroma.rockx.com"],shortName:"kroma",slug:"kroma",testnet:!1},Ui0={chain:"Heco",chainId:256,explorers:[],faucets:["https://scan-testnet.hecochain.com/faucet"],infoURL:"https://testnet.hecoinfo.com",name:"Huobi ECO Chain Testnet",nativeCurrency:{name:"Huobi ECO Chain Test Native Token",symbol:"htt",decimals:18},networkId:256,rpc:["https://256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.hecochain.com","wss://ws-testnet.hecochain.com"],shortName:"hecot",slug:"huobi-eco-chain-testnet",testnet:!0},qi0={chain:"Setheum",chainId:258,explorers:[],faucets:[],infoURL:"https://setheum.xyz",name:"Setheum",nativeCurrency:{name:"Setheum",symbol:"SETM",decimals:18},networkId:258,rpc:[],shortName:"setm",slug:"setheum",testnet:!1},Hi0={chain:"Neonlink",chainId:259,explorers:[{name:"Neon Blockchain Explorer",url:"https://scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Mainnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"NEON",decimals:18},networkId:259,rpc:["https://259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.neonlink.io"],shortName:"neon",slug:"neonlink",testnet:!1},zi0={chain:"tGURU",chainId:261,explorers:[{name:"guruscan",url:"https://scan.gurunetwork.ai",standard:"EIP3091"}],faucets:["https://v2.dex.guru/season-pass/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTDWnSNSCcVPCYD1FKrUirkT2MVrShdVK9dsxAi6eZdbD",width:70,height:70,format:"svg"},infoURL:"https://gurunetwork.ai",name:"Guru Network Testnet",nativeCurrency:{name:"testGURU",symbol:"tGURU",decimals:18},networkId:261,rpc:["https://261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gurunetwork.ai/archive/261"],shortName:"tguru",slug:"guru-network-testnet",testnet:!0},Wi0={chain:"SUR",chainId:262,explorers:[{name:"Surnet Explorer",url:"https://explorer.surnet.org",standard:"EIP3091",icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbUcDQHCvheYQrWk9WFJRMW5fTJQmtZqkoGUed4bhCM7T",width:3e3,height:3e3,format:"png"},infoURL:"https://surnet.org",name:"SUR Blockchain Network",nativeCurrency:{name:"Suren",symbol:"SRN",decimals:18},networkId:1,rpc:["https://262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sur.nilin.org"],shortName:"SUR",slug:"sur-blockchain-network",testnet:!1},ji0={chain:"NEURA",chainId:266,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura",nativeCurrency:{name:"Ankr",symbol:"ANKR",decimals:18},networkId:266,rpc:[],shortName:"neura",slug:"neura",status:"incubating",testnet:!1,title:"Neura Mainnet"},Gi0={chain:"NEURA",chainId:267,explorers:[{name:"blockscout",url:"https://explorer.neura-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"ankrscan-neura",url:"https://testnet.explorer.neuraprotocol.io",standard:"EIP3091",icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"}}],faucets:["https://testnet.neuraprotocol.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Testnet",nativeCurrency:{name:"Testnet Ankr",symbol:"ANKR",decimals:18},networkId:267,rpc:["https://267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/neura_testnet"],shortName:"tneura",slip44:1,slug:"neura-testnet",status:"active",testnet:!0,title:"Neura Testnet"},Ki0={chain:"NEURA",chainId:268,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",width:600,height:600,format:"png"},infoURL:"https://www.neuraprotocol.io/",name:"Neura Devnet",nativeCurrency:{name:"Devnet Ankr",symbol:"ANKR",decimals:18},networkId:268,rpc:[],shortName:"dneura",slip44:1,slug:"neura-devnet",status:"incubating",testnet:!1,title:"Neura Devnet"},Qi0={chain:"HPB",chainId:269,explorers:[{name:"hscan",url:"https://hscan.org",standard:"EIP3091"}],faucets:["https://myhpbwallet.com/"],infoURL:"https://hpb.io",name:"High Performance Blockchain",nativeCurrency:{name:"High Performance Blockchain Ether",symbol:"HPB",decimals:18},networkId:269,rpc:["https://269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hpbnode.com","wss://ws.hpbnode.com"],shortName:"hpb",slip44:269,slug:"high-performance-blockchain",testnet:!1},Yi0={chain:"EGON",chainId:271,explorers:[{name:"EgonCoin Mainnet",url:"https://egonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Mainnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271,rpc:["https://271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.egonscan.com"],shortName:"EGONm",slug:"egoncoin",testnet:!1},Ji0={chain:"LaChain",chainId:274,explorers:[{name:"LaChain Explorer",url:"https://explorer.lachain.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaChain",nativeCurrency:{name:"LaCoin",symbol:"LAC",decimals:18},networkId:274,rpc:["https://274.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.mainnet.lachain.network","https://rpc2.mainnet.lachain.network","https://lachain.rpc-nodes.cedalio.dev"],shortName:"lachain",slug:"lachain-lachain",testnet:!1},Xi0={chain:"FAI",chainId:278,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Mainnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:278,rpc:["https://278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_mainnet.xfair.ai","wss://rpc_mainnet.xfair.ai"],shortName:"fai",slug:"xfair-ai",testnet:!1},Zi0={chain:"BPX",chainId:279,explorers:[],faucets:[],icon:{url:"ipfs://bafkreiatcu42wbjlo24mr35jou4awvsqpaqys6iv4kxgkjhno3haovsiaq",width:140,height:140,format:"svg"},infoURL:"https://bpxchain.cc",name:"BPX Blockchain",nativeCurrency:{name:"BPX",symbol:"BPX",decimals:18},networkId:279,rpc:["https://279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.bpxchain.cc","https://bpx-dataseed.infinex.cc"],shortName:"bpx",slug:"bpx-blockchain",testnet:!1},es0={chain:"ETH",chainId:280,explorers:[{name:"zkSync Era Block Explorer",url:"https://goerli.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Era Goerli Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:280,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:[],rpc:["https://280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.era.zksync.dev"],shortName:"zksync-goerli",slip44:1,slug:"zksync-era-goerli-testnet-deprecated",status:"deprecated",testnet:!0},ts0={chain:"CronosZkEVMTestnet",chainId:282,explorers:[{name:"Cronos zkEVM Testnet Explorer",url:"https://explorer.zkevm.cronos.org/testnet",standard:"none"}],faucets:["https://zkevm.cronos.org/faucet"],infoURL:"https://docs-zkevm.cronos.org",name:"Cronos zkEVM Testnet",nativeCurrency:{name:"Cronos zkEVM Test Coin",symbol:"zkTCRO",decimals:18},networkId:282,rpc:["https://282.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.zkevm.cronos.org"],shortName:"zkTCRO",slip44:1,slug:"cronos-zkevm-testnet",testnet:!0},ns0={chain:"ETH",chainId:288,explorers:[{name:"Bobascan",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:288,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.boba.network","https://replica.boba.network","https://boba-ethereum.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-ethereum","wss://boba-ethereum.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-ethereum","https://boba-eth.drpc.org","wss://boba-eth.drpc.org"],shortName:"Boba",slug:"boba-network",testnet:!1},as0={chain:"ETH",chainId:291,explorers:[{name:"orderlyscout",url:"https://explorer.orderly.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:291,rpc:["https://291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.orderly.network","https://l2-orderly-mainnet-0.t.conduit.xyz"],shortName:"orderly",slug:"orderly",testnet:!1},rs0={chain:"Hedera",chainId:295,explorers:[{name:"HashScan",url:"https://hashscan.io/mainnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Mainnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:295,rpc:["https://295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hashio.io/api"],shortName:"hedera-mainnet",slip44:3030,slug:"hedera",testnet:!1},is0={chain:"Hedera",chainId:296,explorers:[{name:"HashScan",url:"https://hashscan.io/testnet",standard:"EIP3091"},{name:"Arkhia Explorer",url:"https://explorer.arkhia.io",standard:"none"},{name:"DragonGlass",url:"https://app.dragonglass.me",standard:"none"},{name:"Hedera Explorer",url:"https://hederaexplorer.io",standard:"none"},{name:"Ledger Works Explore",url:"https://explore.lworks.io",standard:"none"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Testnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:296,rpc:["https://296.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashio.io/api"],shortName:"hedera-testnet",slip44:1,slug:"hedera-testnet",testnet:!0},ss0={chain:"Hedera",chainId:297,explorers:[{name:"HashScan",url:"https://hashscan.io/previewnet",standard:"EIP3091"}],faucets:["https://portal.hedera.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Previewnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:297,rpc:["https://297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.hashio.io/api"],shortName:"hedera-previewnet",slip44:3030,slug:"hedera-previewnet",testnet:!1},fs0={chain:"Hedera",chainId:298,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQikzhvZKyMmbZJd7BVLZb2YTBDMgNDnaMCAErsVjsfuz",width:1500,height:1500,format:"png"},infoURL:"https://hedera.com",name:"Hedera Localnet",nativeCurrency:{name:"hbar",symbol:"HBAR",decimals:18},networkId:298,rpc:[],shortName:"hedera-localnet",slip44:3030,slug:"hedera-localnet",testnet:!1},os0={chain:"ETH",chainId:300,explorers:[{name:"zkSync Block Explorer",url:"https://sepolia.explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:300,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},redFlags:["reusedChainId"],rpc:["https://300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.era.zksync.dev","https://zksync-sepolia.drpc.org","wss://zksync-sepolia.drpc.org"],shortName:"zksync-sepolia",slip44:1,slug:"zksync-sepolia-testnet",testnet:!0},cs0={chain:"Bobaopera",chainId:301,explorers:[{name:"Bobaopera block explorer",url:"https://blockexplorer.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:301,rpc:["https://301.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobaopera.boba.network","wss://wss.bobaopera.boba.network","https://replica.bobaopera.boba.network","wss://replica-wss.bobaopera.boba.network"],shortName:"Bobaopera",slug:"bobaopera",status:"deprecated",testnet:!1},ds0={chain:"ETH",chainId:302,explorers:[{name:"zkCandy Block Explorer",url:"https://sepolia.explorer.zkcandy.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://bafkreib5jsvl6kxn2qvv4giag3l3e54d2wolo2lqbgkhivxu4cpjzi77eq",width:512,height:512,format:"svg"},infoURL:"https://zkcandy.io/",name:"zkCandy Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:302,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia.bridge.zkcandy.io/"}]},redFlags:["reusedChainId"],rpc:["https://302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zkcandy.io"],shortName:"zkcandy-sepolia",slug:"zkcandy-sepolia-testnet",testnet:!0},ls0={chain:"NCN",chainId:303,explorers:[{name:"neuroscan",url:"https://testnet.ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Testnet",nativeCurrency:{name:"Neurochain",symbol:"tNCN",decimals:18},networkId:303,rpc:["https://303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-test1.neurochain.io"],shortName:"ncnt",slip44:1,slug:"neurochain-testnet",testnet:!0},ps0={chain:"ZKSats",chainId:305,explorers:[{name:"blockscout",url:"https://explorer.zksats.io",standard:"EIP3091"}],faucets:[],infoURL:"https://zksats.io",name:"ZKSats Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:305,rpc:["https://305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zksats.io"],shortName:"ZKSats-Mainnet",slug:"zksats",testnet:!1,title:"ZKSats Mainnet"},us0={chain:"Lovely",chainId:307,explorers:[{name:"Lovely Network Testnet",url:"https://tscan.lovely.network",standard:"EIP3091"}],faucets:["https://faucet.lovely.network"],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Testnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:307,rpc:["https://307.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://trpc.lovely.network"],shortName:"LOVELY-Testnet",slug:"lovely-network-testnet",testnet:!0},ys0={chain:"FTH",chainId:308,explorers:[{name:"furthscan",url:"http://furthscan.com",standard:"EIP3091"},{name:"Furthscan Network Explorer",url:"http://furthscan.com/",standard:"standard",icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmaZCiLBHGvQptmspWseHHs6L9iCHGKZbqVTqZ7Cf557Vg",width:512,height:512,format:"png"},infoURL:"http://furthscan.com/",name:"Furtheon Network",nativeCurrency:{name:"Furtheon",symbol:"FTH",decimals:18},networkId:308,redFlags:[],rpc:["https://308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.furtheon.org/","https://rpc.furtheon.org"],shortName:"FTH",slug:"furtheon-network",testnet:!1},ms0={chain:"WYZ",chainId:309,explorers:[{name:"wyzth",url:"http://24.199.108.65:4000",standard:"EIP3091",icon:{url:"ipfs://QmT5UMzAftM4mHCtk4pWX4sqyJCki88APbqECywrhJp91Q",width:324,height:82,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeDfLgA5heAAXsU8kf5J23Y8up4uHN27uRBEAJFPMJEu7",width:48,height:48,format:"png"},infoURL:"https://wyzth.org/",name:"Wyzth Testnet",nativeCurrency:{name:"Wyzth",symbol:"WYZ",decimals:18},networkId:309,rpc:["https://309.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet3.wyzthchain.org/"],shortName:"wyz",slip44:1,slug:"wyzth-testnet",testnet:!0},bs0={chain:"OMAX Chain",chainId:311,explorers:[{name:"Omax Chain Explorer",url:"https://omaxray.com",standard:"EIP3091",icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"}}],faucets:["https://faucet.omaxray.com/"],icon:{url:"ipfs://Qmd7omPxrehSuxHHPMYd5Nr7nfrtjKdRJQEhDLfTb87w8G",width:500,height:500,format:"png"},infoURL:"https://www.omaxcoin.com/",name:"Omax Mainnet",nativeCurrency:{name:"OMAX COIN",symbol:"OMAX",decimals:18},networkId:311,rpc:["https://311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainapi.omaxray.com"],shortName:"omax",slug:"omax",testnet:!1},hs0={chain:"NCN",chainId:313,explorers:[{name:"neuroscan",url:"https://ncnscan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.neurochain.ai",name:"Neurochain Mainnet",nativeCurrency:{name:"Neurochain",symbol:"NCN",decimals:18},networkId:313,rpc:["https://313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nc-rpc-prd1.neurochain.io","https://nc-rpc-prd2.neurochain.io"],shortName:"ncn",slug:"neurochain",testnet:!1},gs0={chain:"FIL",chainId:314,explorers:[{name:"Filfox",url:"https://filfox.info/en",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"},{name:"Glif Explorer",url:"https://explorer.glif.io",standard:"EIP3091"},{name:"Dev.storage",url:"https://dev.storage",standard:"none"},{name:"Filscan",url:"https://filscan.io",standard:"none"},{name:"Filscout",url:"https://filscout.io/en",standard:"none"}],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:314,rpc:["https://314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.node.glif.io/","https://rpc.ankr.com/filecoin","https://filecoin-mainnet.chainstacklabs.com/rpc/v1","https://filfox.info/rpc/v1","https://filecoin.drpc.org","wss://filecoin.drpc.org"],shortName:"filecoin",slip44:461,slug:"filecoin",testnet:!1},vs0={chain:"KCC",chainId:321,explorers:[{name:"KCC Explorer",url:"https://explorer.kcc.io/en",standard:"EIP3091"}],faucets:[],infoURL:"https://kcc.io",name:"KCC Mainnet",nativeCurrency:{name:"KuCoin Token",symbol:"KCS",decimals:18},networkId:321,rpc:["https://321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.kcc.network","https://kcc.mytokenpocket.vip","https://public-rpc.blockpi.io/http/kcc"],shortName:"kcs",slip44:641,slug:"kcc",testnet:!1},Ts0={chain:"KCC",chainId:322,explorers:[{name:"kcc-scan-testnet",url:"https://scan-testnet.kcc.network",standard:"EIP3091"}],faucets:["https://faucet-testnet.kcc.network"],infoURL:"https://scan-testnet.kcc.network",name:"KCC Testnet",nativeCurrency:{name:"KuCoin Testnet Token",symbol:"tKCS",decimals:18},networkId:322,rpc:["https://322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.kcc.network"],shortName:"kcst",slip44:1,slug:"kcc-testnet",testnet:!0},_s0={chain:"CVM",chainId:323,explorers:[{name:"Blockscout",url:"https://explorer.cosvm.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://cosvm.network",name:"Cosvm Mainnet",nativeCurrency:{name:"Cosvm",symbol:"CVM",decimals:18},networkId:323,rpc:["https://323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cosvm.net"],shortName:"cvm",slug:"cosvm",testnet:!1},ws0={chain:"ETH",chainId:324,explorers:[{name:"zkSync Era Block Explorer",url:"https://explorer.zksync.io",standard:"EIP3091",icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",width:512,height:512,format:"svg"},infoURL:"https://zksync.io/",name:"zkSync Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:324,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zksync.io/"}]},rpc:["https://324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.era.zksync.io","https://zksync.drpc.org","wss://zksync.drpc.org"],shortName:"zksync",slug:"zksync",testnet:!1},xs0={chain:"Web3Q",chainId:333,explorers:[{name:"w3q-mainnet",url:"https://explorer.mainnet.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://web3q.io/home.w3q/",name:"Web3Q Mainnet",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:333,rpc:["https://333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.web3q.io:8545"],shortName:"w3q",slug:"web3q",testnet:!1},Is0={chain:"DFK",chainId:335,explorers:[{name:"ethernal",url:"https://explorer-test.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain Test",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:335,rpc:["https://335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain-testnet/rpc"],shortName:"DFKTEST",slip44:1,slug:"dfk-chain-test",testnet:!0},Es0={chain:"SDN",chainId:336,explorers:[{name:"blockscout",url:"https://blockscout.com/shiden",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://shiden.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQySjAoWHgk3ou1yvBi2TrTcgH6KhfGiU7GcrLzrAeRkE",width:250,height:250,format:"png"},infoURL:"https://shiden.astar.network/",name:"Shiden",nativeCurrency:{name:"Shiden",symbol:"SDN",decimals:18},networkId:336,rpc:["https://336.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://shiden.api.onfinality.io/public","https://shiden-rpc.dwellir.com","https://shiden.public.blastapi.io","wss://shiden.api.onfinality.io/public-ws","wss://shiden.public.blastapi.io","wss://shiden-rpc.dwellir.com"],shortName:"sdn",slug:"shiden",testnet:!1},Ds0={chain:"CRO",chainId:338,explorers:[{name:"Cronos Testnet Explorer",url:"https://explorer.cronos.org/testnet",standard:"none"}],faucets:["https://cronos.org/faucet"],infoURL:"https://cronos.org",name:"Cronos Testnet",nativeCurrency:{name:"Cronos Test Coin",symbol:"TCRO",decimals:18},networkId:338,rpc:["https://338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-t3.cronos.org","https://cronos-testnet.drpc.org","wss://cronos-testnet.drpc.org"],shortName:"tcro",slip44:1,slug:"cronos-testnet",testnet:!0},Cs0={chain:"Trust Smart Chain",chainId:345,explorers:[{name:"tscscan",url:"https://www.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Mainnet",nativeCurrency:{name:"TAS",symbol:"TAS",decimals:18},networkId:16,rpc:["https://345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc01.trias.one"],shortName:"TSC",slug:"tsc",testnet:!1},Ss0={chain:"ETH",chainId:360,explorers:[],faucets:[],infoURL:"https://shape.us",name:"Shape",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:360,rpc:[],shortName:"shape",slug:"shape",status:"incubating",testnet:!1},As0={chain:"Theta",chainId:361,explorers:[{name:"Theta Mainnet Explorer",url:"https://explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Mainnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:361,rpc:["https://361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.thetatoken.org/rpc"],shortName:"theta-mainnet",slug:"theta",testnet:!1},ks0={chain:"Theta",chainId:363,explorers:[{name:"Theta Sapphire Testnet Explorer",url:"https://guardian-testnet-sapphire-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Sapphire Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:363,rpc:["https://363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-sapphire.thetatoken.org/rpc"],shortName:"theta-sapphire",slip44:1,slug:"theta-sapphire-testnet",testnet:!0},Ps0={chain:"Theta",chainId:364,explorers:[{name:"Theta Amber Testnet Explorer",url:"https://guardian-testnet-amber-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Amber Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:364,rpc:["https://364.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-amber.thetatoken.org/rpc"],shortName:"theta-amber",slip44:1,slug:"theta-amber-testnet",testnet:!0},Rs0={chain:"Theta",chainId:365,explorers:[{name:"Theta Testnet Explorer",url:"https://testnet-explorer.thetatoken.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.thetatoken.org/",name:"Theta Testnet",nativeCurrency:{name:"Theta Fuel",symbol:"TFUEL",decimals:18},networkId:365,rpc:["https://365.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api-testnet.thetatoken.org/rpc"],shortName:"theta-testnet",slip44:1,slug:"theta-testnet",testnet:!0},Ls0={chain:"PLS",chainId:369,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://scan.pulsechain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"otterscan",url:"https://otter.pulsechain.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://pulsechain.com/",name:"PulseChain",nativeCurrency:{name:"Pulse",symbol:"PLS",decimals:18},networkId:369,redFlags:[],rpc:["https://369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evex.cloud/pulserpc","https://rpc.pulsechain.com","wss://rpc.pulsechain.com","https://pulsechain-rpc.publicnode.com","wss://pulsechain-rpc.publicnode.com","https://rpc-pulsechain.g4mm4.io","wss://rpc-pulsechain.g4mm4.io"],shortName:"pls",slip44:60,slug:"pulsechain",status:"active",testnet:!1},Ms0={chain:"tCNT",chainId:371,explorers:[{name:"blockscout",url:"https://explorer-testnet.theconsta.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfQ1yae6uvXgBSwnwJM4Mtp8ctH66tM6mB1Hsgu4XvsC9",width:2e3,height:2e3,format:"png"},infoURL:"http://theconsta.com",name:"Consta Testnet",nativeCurrency:{name:"tCNT",symbol:"tCNT",decimals:18},networkId:371,rpc:["https://371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.theconsta.com"],shortName:"tCNT",slip44:1,slug:"consta-testnet",testnet:!0},Bs0={chain:"FIL",chainId:380,explorers:[{name:"ZKAmoeba Test Explorer",url:"https://testnetexplorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://testnet.zkamoeba.com",name:"ZKAmoeba Testnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:380,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://testnet.zkamoeba.com/en/bridge"}]},rpc:["https://380.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.zkamoeba.com:4050/","https://rpc1.testnet.zkamoeba.com:4050/"],shortName:"zkamoeba-test",slug:"zkamoeba-testnet",testnet:!0},Ns0={chain:"FIL",chainId:381,explorers:[{name:"ZKAmoeba Explorer",url:"https://explorer.zkamoeba.com",standard:"EIP3091",icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRTChjmiwh9HrGsLh9qECsH7WHQAhqT5Ww8S34s8ME2Cp",width:512,height:512,format:"png"},infoURL:"https://www.zkamoeba.com",name:"ZKAmoeba Mainnet",nativeCurrency:{name:"filecoin",symbol:"FIL",decimals:18},networkId:381,parent:{type:"L2",chain:"eip155-314",bridges:[{url:"https://www.zkamoeba.com/en/bridge"}]},rpc:["https://381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.zkamoeba.com/rpc"],shortName:"zkamoeba",slug:"zkamoeba",testnet:!1},Fs0={chain:"CRO",chainId:385,explorers:[],faucets:["https://pipa.lisinski.online"],infoURL:"https://lisinski.online",name:"Lisinski",nativeCurrency:{name:"Lisinski Ether",symbol:"LISINS",decimals:18},networkId:385,rpc:["https://385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-bitfalls1.lisinski.online"],shortName:"lisinski",slug:"lisinski",testnet:!1},Os0={chain:"CADL",chainId:395,explorers:[{name:"CamDL Testnet Explorer",url:"https://explorer.testnet.camdl.gov.kh",standard:"EIP3091"}],faucets:["https://faucet.testnet.camdl.gov.kh/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmW5Fpb2Ywnfqcj4ibvpbKvPv5Mo5eseWdYZnnUvLkj2Hp",width:1453,height:1453,format:"png"},infoURL:"https://camdl.gov.kh/",name:"CamDL Testnet",nativeCurrency:{name:"CADL",symbol:"CADL",decimals:18},networkId:395,rpc:["https://395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.testnet.camdl.gov.kh/"],shortName:"camdl-testnet",slug:"camdl-testnet",status:"active",testnet:!0},Vs0={chain:"NEAR",chainId:397,explorers:[{name:"Near Blocks",url:"https://nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://near.org/",name:"Near Mainnet",nativeCurrency:{name:"NEAR",symbol:"NEAR",decimals:18},networkId:397,rpc:[],shortName:"near",slug:"near",testnet:!1},$s0={chain:"NEAR",chainId:398,explorers:[{name:"Near blocks",url:"https://testnet.nearblocks.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreiayxzdbu3e5ahri3ooieg6k6pjxrwkrkc2x5cnyadqeu5zbmaummq",width:639,height:639,format:"png"},infoURL:"https://aurora.dev",name:"Near Testnet",nativeCurrency:{name:"Testnet NEAR",symbol:"NEAR",decimals:18},networkId:398,rpc:[],shortName:"near-testnet",slug:"near-testnet",testnet:!0},Us0={chain:"Nativ3",chainId:399,explorers:[{name:"N3scan",url:"https://scan.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Mainnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:399,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.nativ3.network"}]},rpc:["https://399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nativ3.network","wss://ws.nativ3.network"],shortName:"N3",slug:"nativ3",testnet:!1},qs0={chain:"HPN",chainId:400,explorers:[{name:"blockscout",url:"https://testnet.hyperonchain.com",standard:"EIP3091",icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"}}],faucets:["https://faucet.hyperonchain.com"],icon:{url:"ipfs://QmWxhyxXTEsWH98v7M3ck4ZL1qQoUaHG4HgtgxzD2KJQ5m",width:540,height:541,format:"png"},infoURL:"https://docs.hyperonchain.com",name:"HyperonChain TestNet",nativeCurrency:{name:"HyperonChain",symbol:"HPN",decimals:18},networkId:400,rpc:["https://400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hyperonchain.com"],shortName:"hpn",slip44:1,slug:"hyperonchain-testnet",testnet:!0},Hs0={chain:"OZONE",chainId:401,explorers:[{name:"OZONE Scan",url:"https://testnet.ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Testnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:401,rpc:["https://401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.ozonechain.io"],shortName:"ozo_tst",slip44:1,slug:"ozone-chain-testnet",testnet:!0},zs0={chain:"SYNDR",chainId:404,explorers:[{name:"Syndr L3 Explorer",url:"https://explorer.syndr.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibsl7iuxeibovp7uddigbus3lyse2f7n4s2lomgvf33fmgyxjwq5i",width:1e3,height:1e3,format:"png"},infoURL:"https://syndr.com",name:"Syndr L3",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:404,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.syndr.com"}]},rpc:["https://404.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.syndr.com","wss://rpc.syndr.com/ws"],shortName:"syndr-l3",slug:"syndr-l3",testnet:!1,title:"Syndr L3 Rollup"},Ws0={chain:"OmegaNetwork",chainId:408,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafkreig676zxfhwhcx5bvvvjxedx6ftr2wq4iiznrwm3c6ozrprbc4oxwm",width:512,height:512,format:"png"},name:"Omega Mainnet",nativeCurrency:{name:"Omega Network Coin",symbol:"OMN",decimals:18},networkId:408,redFlags:[],rpc:["https://408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.omtch.com"],shortName:"OmegaNetwork",slug:"omega",testnet:!1},js0={chain:"PC",chainId:411,explorers:[{name:"pepechain explorer",url:"https://explorer.pepe-chain.vip",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibjsc3gww3moti27za2hpyq552aevux3yv5y2ntdklksyr4v4uavy",width:512,height:512,format:"png"},infoURL:"https://pepe-chain.vip",name:"Pepe Chain Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:411,rpc:["https://411.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.pepe-chain.vip"],shortName:"pepe",slug:"pepe-chain",status:"active",testnet:!1},Gs0={chain:"SX",chainId:416,explorers:[{name:"SX Network Explorer",url:"https://explorer.sx.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Mainnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:416,rpc:["https://416.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sx.technology"],shortName:"SX",slug:"sx-network",testnet:!1},Ks0={chain:"LaTestnet",chainId:418,explorers:[{name:"LaTestnet Explorer",url:"https://testexplorer.lachain.network",standard:"EIP3091"}],faucets:["https://faucet.lachain.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQxGA6rhuCQDXUueVcNvFRhMEWisyTmnF57TqL7h6k6cZ",width:1280,height:1280,format:"png"},name:"LaTestnet",nativeCurrency:{name:"Test LaCoin",symbol:"TLA",decimals:18},networkId:418,rpc:["https://418.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lachain.network","https://lachain-testnet.rpc-nodes.cedalio.dev"],shortName:"latestnet",slug:"latestnet",testnet:!0},Qs0={chain:"ETH",chainId:420,explorers:[{name:"blockscout",url:"https://optimism-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"Optimism Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:420,redFlags:[],rpc:["https://420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.optimism.io","https://optimism-goerli-rpc.publicnode.com","wss://optimism-goerli-rpc.publicnode.com","https://optimism-goerli.gateway.tenderly.co","wss://optimism-goerli.gateway.tenderly.co","https://optimism-testnet.drpc.org","wss://optimism-testnet.drpc.org"],shortName:"ogor",slip44:1,slug:"optimism-goerli",status:"deprecated",testnet:!0},Ys0={chain:"VRD",chainId:422,explorers:[{name:"Viridis Mainnet",url:"https://explorer.vrd.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPdxcJwPogfZdec7UAqxeatRxrivEktpP1ftJBTeJQTdR",width:3e3,height:2e3,format:"png"},infoURL:"https://viridis.network",name:"Viridis Mainnet",nativeCurrency:{name:"Viridis Token",symbol:"VRD",decimals:18},networkId:422,rpc:["https://422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vrd.network"],shortName:"vrd",slug:"viridis",testnet:!1},Js0={chain:"ETH",chainId:424,explorers:[{name:"blockscout",url:"https://explorer.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"PGN (Public Goods Network)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:424,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.publicgoods.network"}]},rpc:["https://424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicgoods.network"],shortName:"PGN",slug:"pgn-public-goods-network",testnet:!1},Xs0={chain:"ZeethChain",chainId:427,explorers:[{name:"Zeeth Explorer",url:"https://explorer.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:427,rpc:["https://427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zeeth.io"],shortName:"zeeth",slug:"zeeth-chain",testnet:!1},Zs0={chain:"Geso Verse",chainId:428,explorers:[{name:"Geso Verse Explorer",url:"https://explorer.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Geso Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:428,rpc:["https://428.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verse.gesoten.com/"],shortName:"GSV",slug:"geso-verse",testnet:!1},ef0={chain:"BYC",chainId:434,explorers:[{name:"Boyaa explorer",url:"https://explorer.mainnet.boyaa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiapootrvggtigdlvgvk6srfseplpuowsqq3zpyup4j5yj5moxuala",width:500,height:500,format:"png"},infoURL:"https://boyaa.network",name:"Boyaa Mainnet",nativeCurrency:{name:"Boyaa mainnet native coin",symbol:"BYC",decimals:18},networkId:434,rpc:["https://434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.mainnet.boyaa.network"],shortName:"BYC",slug:"boyaa",testnet:!1},tf0={chain:"ETH",chainId:443,explorers:[{name:"Ten Sepolia Rollup Explorer",url:"https://tenscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://ten.xyz",name:"Ten Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:443,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.ten.xyz"}]},redFlags:[],rpc:["https://443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ten.xyz/v1/","https://testnet.ten.xyz"],shortName:"ten-testnet",slip44:1,slug:"ten-testnet",testnet:!0,title:"Ten Sepolia Rollup Testnet"},nf0={chain:"ETH",chainId:444,explorers:[{name:"Synapse Chain Sepolia",url:"https://sepolia.synapsescan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmX2Z71QszaZvpMppdNWeCLqmeWk8NA6KMDLMqAt5VRyVi/synapse.webp",width:720,height:720,format:"webp"},infoURL:"https://synapseprotocol.com",name:"Synapse Chain Testnet",nativeCurrency:{name:"Sepolia ETH",symbol:"ETH",decimals:18},networkId:444,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://docs.synapseprotocol.com/synapse-chain/using-synapse-chain/bridging-to-synapse-chain"}]},redFlags:["reusedChainId"],rpc:["https://444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.synapseprotocol.com"],shortName:"synapse-sepolia",slip44:1,slug:"synapse-chain-testnet",status:"active",testnet:!0},af0={chain:"ARZIO",chainId:456,explorers:[{name:"ARZIO Scan",url:"https://scan.arzio.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUwqGWGjjQweTprn5LBirAwRjYnteTiFLCVpSNHrfMmSL",width:150,height:150,format:"png"},infoURL:"https://chain.arzio.co",name:"ARZIO Chain",nativeCurrency:{name:"ARZIO",symbol:"AZO",decimals:18},networkId:456,rpc:["https://456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.arzio.co"],shortName:"arzio",slug:"arzio-chain",testnet:!1},rf0={chain:"Areon",chainId:462,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Testnet",nativeCurrency:{name:"Areon",symbol:"TAREA",decimals:18},networkId:462,rpc:["https://462.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.areon.network","https://testnet-rpc2.areon.network","https://testnet-rpc3.areon.network","https://testnet-rpc4.areon.network","https://testnet-rpc5.areon.network"],shortName:"tarea",slip44:1,slug:"areon-network-testnet",testnet:!0},if0={chain:"Areon",chainId:463,explorers:[{name:"AreonScan",url:"https://areonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",width:1e3,height:1e3,format:"png"},infoURL:"https://areon.network",name:"Areon Network Mainnet",nativeCurrency:{name:"Areon",symbol:"AREA",decimals:18},networkId:463,rpc:["https://463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.areon.network","https://mainnet-rpc2.areon.network","https://mainnet-rpc3.areon.network","https://mainnet-rpc4.areon.network","https://mainnet-rpc5.areon.network"],shortName:"area",slug:"areon-network",testnet:!1},sf0={chain:"ETH",chainId:480,explorers:[],faucets:[],infoURL:"https://worldcoin.org",name:"World Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:480,rpc:[],shortName:"wc",slug:"world-chain",status:"incubating",testnet:!1},ff0={chain:"RUPX",chainId:499,explorers:[],faucets:[],infoURL:"https://www.rupaya.io",name:"Rupaya",nativeCurrency:{name:"Rupaya",symbol:"RUPX",decimals:18},networkId:499,rpc:[],shortName:"rupx",slip44:499,slug:"rupaya",testnet:!1},of0={chain:"CAM",chainId:500,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Camino C-Chain",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1e3,rpc:["https://500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.camino.network/ext/bc/C/rpc"],shortName:"Camino",slug:"camino-c-chain",testnet:!1},cf0={chain:"CAM",chainId:501,explorers:[{name:"blockexplorer",url:"https://suite.camino.network/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSEoUonisawfCvT3osysuZzbqUEHugtgNraePKWL8PKYa",width:768,height:768,format:"png"},infoURL:"https://camino.network/",name:"Columbus Test Network",nativeCurrency:{name:"Camino",symbol:"CAM",decimals:18},networkId:1001,rpc:["https://501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://columbus.camino.network/ext/bc/C/rpc"],shortName:"Columbus",slip44:1,slug:"columbus-test-network",testnet:!0},df0={chain:"Syndicate",chainId:510,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:510,rpc:["https://510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.syndicate.io"],shortName:"syndicate-chain-mainnet",slug:"syndicate-chain",status:"incubating",testnet:!1,title:"Syndicate Chain"},lf0={chain:"AAC",chainId:512,explorers:[{name:"aacscan",url:"https://scan.acuteangle.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Mainnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:512,rpc:["https://512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.acuteangle.com"],shortName:"aac",slip44:1512,slug:"double-a-chain",testnet:!1},pf0={chain:"AAC",chainId:513,explorers:[{name:"aacscan-testnet",url:"https://scan-testnet.acuteangle.com",standard:"EIP3091"}],faucets:["https://scan-testnet.acuteangle.com/faucet"],icon:{url:"ipfs://QmRUrz4dULaoaMpnqd8qXT7ehwz3aaqnYKY4ePsy7isGaF",width:512,height:512,format:"png"},infoURL:"https://www.acuteangle.com/",name:"Double-A Chain Testnet",nativeCurrency:{name:"Acuteangle Native Token",symbol:"AAC",decimals:18},networkId:513,rpc:["https://513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.acuteangle.com"],shortName:"aact",slip44:1,slug:"double-a-chain-testnet",testnet:!0},uf0={chain:"GearZero",chainId:516,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/mainnet",name:"Gear Zero Network Mainnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:516,rpc:["https://516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn.linksme.info"],shortName:"gz-mainnet",slip44:516,slug:"gear-zero-network",testnet:!1},yf0={chain:"XSC",chainId:520,explorers:[{name:"xscscan",url:"https://xscscan.pub",standard:"EIP3091"}],faucets:["https://xsc.pub/faucet"],icon:{url:"ipfs://QmNmAFgQKkjofaBR5mhB5ygE1Gna36YBVsGkgZQxrwW85s",width:98,height:96,format:"png"},infoURL:"https://xsc.pub/",name:"XT Smart Chain Mainnet",nativeCurrency:{name:"XT Smart Chain Native Token",symbol:"XT",decimals:18},networkId:1024,rpc:["https://520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://datarpc1.xsc.pub","https://datarpc2.xsc.pub","https://datarpc3.xsc.pub"],shortName:"xt",slug:"xt-smart-chain",testnet:!1},mf0={chain:"FIRE",chainId:529,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:529,rpc:["https://529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.thefirechain.com"],shortName:"fire",slug:"firechain",status:"incubating",testnet:!1},bf0={chain:"Fxcore",chainId:530,explorers:[{name:"FunctionX Explorer",url:"https://fx-evm.functionx.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Mainnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:530,rpc:["https://530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fx-json-web3.functionx.io:8545"],shortName:"FxCore",slug:"f-x-core-network",testnet:!1},hf0={chain:"Candle",chainId:534,explorers:[{name:"candleexplorer",url:"https://candleexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://candlelabs.org/",name:"Candle",nativeCurrency:{name:"CANDLE",symbol:"CNDL",decimals:18},networkId:534,rpc:["https://534.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://candle-rpc.com/","https://rpc.cndlchain.com"],shortName:"CNDL",slip44:674,slug:"candle",testnet:!1},gf0={chain:"OpTrust",chainId:537,explorers:[{name:"OpTrust explorer",url:"https://scan.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Mainnet",nativeCurrency:{name:"BSC",symbol:"BNB",decimals:18},networkId:537,rpc:["https://537.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optrust.io"],shortName:"optrust",slug:"optrust",testnet:!1},vf0={chain:"PAW",chainId:542,explorers:[{name:"PAWCHAIN Testnet",url:"https://pawscan.io",standard:"none"}],faucets:[],infoURL:"https://pawchainx.com/",name:"PAWCHAIN Testnet",nativeCurrency:{name:"PAW",symbol:"PAW",decimals:18},networkId:542,rpc:["https://542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pawchainx.com/"],shortName:"PAW",slip44:1,slug:"pawchain-testnet",testnet:!0},Tf0={chain:"Flow",chainId:545,explorers:[{name:"Flow Diver",url:"https://testnet.flowdiver.io",standard:"none"}],faucets:["https://testnet-faucet.onflow.org"],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Testnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:545,rpc:["https://545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.evm.nodes.onflow.org"],shortName:"flow-testnet",slug:"testnet",testnet:!0},_f0={chain:"VELA1",chainId:555,explorers:[{name:"Vela1 Chain Mainnet Explorer",url:"https://exp.velaverse.io",standard:"EIP3091"}],faucets:[],infoURL:"https://velaverse.io",name:"Vela1 Chain Mainnet",nativeCurrency:{name:"CLASS COIN",symbol:"CLASS",decimals:18},networkId:555,rpc:["https://555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.velaverse.io"],shortName:"CLASS",slug:"vela1-chain",testnet:!1},wf0={chain:"TAO",chainId:558,explorers:[],faucets:[],infoURL:"https://tao.network",name:"Tao Network",nativeCurrency:{name:"Tao",symbol:"TAO",decimals:18},networkId:558,rpc:["https://558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tao.network","http://rpc.testnet.tao.network:8545","https://rpc.tao.network","wss://rpc.tao.network"],shortName:"tao",slug:"tao-network",testnet:!0},xf0={chain:"DC",chainId:568,explorers:[{name:"dogechain testnet explorer",url:"https://explorer-testnet.dogechain.dog",standard:"EIP3091"}],faucets:["https://faucet.dogechain.dog"],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Testnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:568,rpc:["https://568.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.dogechain.dog"],shortName:"dct",slip44:1,slug:"dogechain-testnet",testnet:!0},If0={chain:"SYS",chainId:570,explorers:[{name:"Rollux Explorer",url:"https://explorer.rollux.com",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Mainnet",nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},networkId:570,rpc:["https://570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rollux.com","wss://rpc.rollux.com/wss","https://rpc.ankr.com/rollux","https://rollux.rpc.syscoin.org","wss://rollux.rpc.syscoin.org/wss"],shortName:"sys-rollux",slug:"rollux",testnet:!1},Ef0={chain:"MTC",chainId:571,explorers:[{name:"MetaExplorer",url:"https://explorer.metatime.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Mainnet",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:571,rpc:["https://571.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com"],shortName:"metatime",slip44:571,slug:"metachain",testnet:!1},Df0={chain:"Filenova",chainId:579,explorers:[{name:"filenova explorer",url:"https://scan.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Mainnet",nativeCurrency:{name:"Filecoin",symbol:"FIL",decimals:18},networkId:579,rpc:["https://579.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.filenova.org"],shortName:"filenova",slug:"filenova",testnet:!1},Cf0={chain:"ETH",chainId:588,explorers:[{name:"blockscout",url:"https://stardust-explorer.metis.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metis.io",name:"Metis Stardust Testnet",nativeCurrency:{name:"tMetis",symbol:"METIS",decimals:18},networkId:588,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.metis.io"}]},rpc:["https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://stardust.metis.io/?owner=588"],shortName:"metis-stardust",slip44:1,slug:"metis-stardust-testnet",status:"deprecated",testnet:!0},Sf0={chain:"ASTR",chainId:592,explorers:[{name:"blockscout",url:"https://blockscout.com/astar",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"subscan",url:"https://astar.subscan.io",standard:"none",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://Qmdvmx3p6gXBCLUMU1qivscaTNkT6h3URdhUTZCHLwKudg",width:1e3,height:1e3,format:"png"},infoURL:"https://astar.network/",name:"Astar",nativeCurrency:{name:"Astar",symbol:"ASTR",decimals:18},networkId:592,redFlags:[],rpc:["https://592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.astar.network","https://rpc.astar.network:8545"],shortName:"astr",slug:"astar",testnet:!1},Af0={chain:"mACA",chainId:595,explorers:[{name:"blockscout",url:"https://blockscout.mandala.aca-staging.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Mandala Testnet TC9",nativeCurrency:{name:"Acala Mandala Token",symbol:"mACA",decimals:18},networkId:595,rpc:["https://595.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-tc9.aca-staging.network","wss://eth-rpc-tc9.aca-staging.network"],shortName:"maca",slip44:1,slug:"acala-mandala-testnet-tc9",testnet:!0},kf0={chain:"KAR",chainId:596,explorers:[{name:"blockscout",url:"https://blockscout.karura-testnet.aca-staging.network",standard:"EIP3091"}],faucets:[],infoURL:"https://karura.network",name:"Karura Network Testnet",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:596,rpc:["https://596.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura-testnet.aca-staging.network","wss://eth-rpc-karura-testnet.aca-staging.network"],shortName:"tkar",slip44:1,slug:"karura-network-testnet",testnet:!0},Pf0={chain:"ACA",chainId:597,explorers:[{name:"blockscout",url:"https://blockscout.acala-dev.aca-dev.network",standard:"EIP3091"}],faucets:[],infoURL:"https://acala.network",name:"Acala Network Testnet",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:597,rpc:["https://597.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala-testnet.aca-staging.network","wss://eth-rpc-acala-testnet.aca-staging.network"],shortName:"taca",slip44:1,slug:"acala-network-testnet",testnet:!0},Rf0={chain:"ETH",chainId:599,explorers:[{name:"blockscout",url:"https://goerli.explorer.metisdevops.link",standard:"EIP3091"}],faucets:["https://goerli.faucet.metisdevops.link"],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Goerli Testnet",nativeCurrency:{name:"Goerli Metis",symbol:"METIS",decimals:18},networkId:599,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://testnet-bridge.metis.io"}]},redFlags:[],rpc:["https://599.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.gateway.metisdevops.link"],shortName:"metis-goerli",slip44:1,slug:"metis-goerli-testnet",status:"deprecated",testnet:!0},Lf0={chain:"MeshTestChain",chainId:600,explorers:[],faucets:[],name:"Meshnyan testnet",nativeCurrency:{name:"Meshnyan Testnet Native Token",symbol:"MESHT",decimals:18},networkId:600,rpc:[],shortName:"mesh-chain-testnet",slip44:1,slug:"meshnyan-testnet",testnet:!0},Mf0={chain:"VINE",chainId:601,explorers:[{name:"Vine Explorer",url:"https://vne.network/rose",standard:"none",icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"}}],faucets:["https://vne.network/rose"],icon:{url:"ipfs://QmTPbbhH4CkQiQWm4JUh3J9o5w79vXjFZaMBW4DKNuSVU3",width:512,height:512,format:"png"},infoURL:"https://www.peer.inc",name:"Vine Testnet",nativeCurrency:{name:"VINE",symbol:"VNE",decimals:18},networkId:601,rpc:["https://601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.vne.network"],shortName:"VINE",slug:"vine-testnet",testnet:!0},Bf0={chain:"EIOB",chainId:612,explorers:[{name:"EIOB Explorer",url:"https://explorer.eiob.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfJLG2mXgSqKx2V3A2jzTwt4vkozvQTTXkRy3os27wEVm",width:48,height:48,format:"png"},name:"EIOB Mainnet",nativeCurrency:{name:"EIOB",symbol:"EIOB",decimals:18},networkId:612,rpc:["https://612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eiob.xyz"],shortName:"eiob",slug:"eiob",testnet:!1},Nf0={chain:"GLQ Blockchain",chainId:614,explorers:[{name:"GLQ Explorer",url:"https://explorer.graphlinq.io",standard:"none"}],faucets:[],infoURL:"https://graphlinq.io",name:"Graphlinq Blockchain Mainnet",nativeCurrency:{name:"GLQ",symbol:"GLQ",decimals:18},networkId:614,rpc:["https://614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glq-dataseed.graphlinq.io"],shortName:"glq",slug:"graphlinq-blockchain",testnet:!1},Ff0={chain:"Avocado",chainId:634,explorers:[{name:"avoscan",url:"https://avoscan.co",standard:"none",icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"}}],faucets:[],icon:{url:"ipfs://Qma9rJSgy32UL1iXtXKFZQJA6FjkcUcDU4HR6y13Wu1vjn",width:600,height:600,format:"png"},infoURL:"https://avocado.instadapp.io",name:"Avocado",nativeCurrency:{name:"USDC",symbol:"USDC",decimals:18},networkId:634,rpc:["https://634.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avocado.instadapp.io"],shortName:"avocado",slug:"avocado",testnet:!1},Of0={chain:"FLOW",chainId:646,explorers:[{name:"Flow Diver",url:"https://previewnet.flowdiver.io",standard:"none"},{name:"Eth Flow Scan",url:"https://eth.flowscan.io/ ",standard:"EIP3091"}],faucets:["https://previewnet-faucet.onflow.org"],features:[],icon:{url:"https://ipfs.filebase.io/ipfs/QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:1294,height:1294,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"EVM on Flow",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:646,redFlags:[],rpc:["https://646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://previewnet.evm.nodes.onflow.org/","https://previewnet.evm.nodes.onflow.org"],shortName:"FLOW",slug:"evm-on-flow",testnet:!0},Vf0={chain:"SX",chainId:647,explorers:[{name:"SX Network Toronto Explorer",url:"https://explorer.toronto.sx.technology",standard:"EIP3091"}],faucets:["https://faucet.toronto.sx.technology"],icon:{url:"ipfs://QmSXLXqyr2H6Ja5XrmznXbWTEvF2gFaL8RXNXgyLmDHjAF",width:896,height:690,format:"png"},infoURL:"https://www.sx.technology",name:"SX Network Testnet",nativeCurrency:{name:"SX Network",symbol:"SX",decimals:18},networkId:647,rpc:["https://647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toronto.sx.technology"],shortName:"SX-Testnet",slip44:1,slug:"sx-network-testnet",testnet:!0},$f0={chain:"ACE",chainId:648,explorers:[{name:"Endurance Scan",url:"https://explorer.endurance.fusionist.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ace.fusionist.io/",name:"Endurance Smart Chain Mainnet",nativeCurrency:{name:"Endurance Chain Native Token",symbol:"ACE",decimals:18},networkId:648,rpc:["https://648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-endurance.fusionist.io/"],shortName:"ace",slug:"endurance-smart-chain",testnet:!1},Uf0={chain:"Kalichain",chainId:653,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain Testnet",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:653,rpc:["https://653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalichain.com"],shortName:"kalichain",slug:"kalichain-testnet",testnet:!0},qf0={chain:"Kalichain",chainId:654,explorers:[{name:"kalichain explorer",url:"https://explorer.kalichain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreieox7v337p3jfhd37dz74mq6mn3uk5i5475rmzpirmyp6ydcfzzqi",width:350,height:350,format:"png"},infoURL:"https://kalichain.com",name:"Kalichain",nativeCurrency:{name:"kalis",symbol:"KALIS",decimals:18},networkId:654,rpc:["https://654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kalichain.com"],shortName:"kalichainMainnet",slug:"kalichain",testnet:!1},Hf0={chain:"UltronSmartchain",chainId:662,explorers:[{name:"ultronsmartchain explorer",url:"https://scan.ultronsmartchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTns2FXAqDCq1QJsocUBGjhxsgWYK7pFfD4UrRZ9JBsF1",width:50,height:50,format:"png"},infoURL:"https://ultronsmartchain.io",name:"UltronSmartchain",nativeCurrency:{name:"ulc",symbol:"ULC",decimals:18},networkId:662,rpc:["https://662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ultronsmartchain.io"],shortName:"ultronsmartchain",slug:"ultronsmartchain",testnet:!1},zf0={chain:"PixieChain",chainId:666,explorers:[],faucets:["https://chain.pixie.xyz/faucet"],infoURL:"https://scan-testnet.chain.pixie.xyz",name:"Pixie Chain Testnet",nativeCurrency:{name:"Pixie Chain Testnet Native Token",symbol:"PCTT",decimals:18},networkId:666,rpc:["https://666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.chain.pixie.xyz","wss://ws-testnet.chain.pixie.xyz"],shortName:"pixie-chain-testnet",slip44:1,slug:"pixie-chain-testnet",testnet:!0},Wf0={chain:"LAOS",chainId:667,explorers:[{name:"blockscout",url:"https://arrakis.gorengine.com",standard:"EIP3091",icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZ4YYcvhcaeotMPaGXC5Vab7JFaVkka37V8TiTJpT7Mak",width:586,height:558,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"LAOS Arrakis",nativeCurrency:{name:"LAOS",symbol:"LAOS",decimals:18},networkId:667,rpc:["https://667.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arrakis.gorengine.com/own","wss://arrakis.gorengine.com/own"],shortName:"laos",slug:"laos-arrakis",testnet:!0,title:"LAOS Testnet Arrakis"},jf0={chain:"JuncaChain",chainId:668,explorers:[{name:"JuncaScan",url:"https://scan.juncachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://junca-cash.world",name:"JuncaChain",nativeCurrency:{name:"JuncaChain Native Token",symbol:"JGC",decimals:18},networkId:668,rpc:["https://668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.juncachain.com"],shortName:"junca",slug:"juncachain",testnet:!1},Gf0={chain:"JuncaChain testnet",chainId:669,explorers:[{name:"JuncaScan",url:"https://scan-testnet.juncachain.com",standard:"EIP3091"}],faucets:["https://faucet-testnet.juncachain.com"],infoURL:"https://junca-cash.world",name:"JuncaChain testnet",nativeCurrency:{name:"JuncaChain Testnet Native Token",symbol:"JGCT",decimals:18},networkId:669,rpc:["https://669.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.juncachain.com","wss://ws-testnet.juncachain.com"],shortName:"juncat",slip44:1,slug:"juncachain-testnet",testnet:!0},Kf0={chain:"KAR",chainId:686,explorers:[{name:"blockscout",url:"https://blockscout.karura.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network/karura",name:"Karura Network",nativeCurrency:{name:"Karura Token",symbol:"KAR",decimals:18},networkId:686,rpc:["https://686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-karura.aca-api.network","wss://eth-rpc-karura.aca-api.network"],shortName:"kar",slip44:686,slug:"karura-network",testnet:!1},Qf0={chain:"ETH",chainId:690,explorers:[{name:"blockscout",url:"https://explorer.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz",name:"Redstone",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:690,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://redstone.xyz/deposit"}]},rpc:["https://690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.redstonechain.com","wss://rpc.redstonechain.com"],shortName:"redstone",slug:"redstone",testnet:!1},Yf0={chain:"SNS",chainId:700,explorers:[{name:"starscan",url:"https://avastar.info",standard:"EIP3091"}],faucets:[],infoURL:"https://info.avastar.cc",name:"Star Social Testnet",nativeCurrency:{name:"Social",symbol:"SNS",decimals:18},networkId:700,rpc:["https://700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avastar.cc/ext/bc/C/rpc"],shortName:"SNS",slip44:1,slug:"star-social-testnet",testnet:!0},Jf0={chain:"Darwinia Koi",chainId:701,explorers:[{name:"blockscout",url:"https://koi-scan.darwinia.network",standard:"EIP3091"}],faucets:[],infoURL:"https://darwinia.network/",name:"Darwinia Koi Testnet",nativeCurrency:{name:"Koi Network Native Token",symbol:"KRING",decimals:18},networkId:701,rpc:["https://701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://koi-rpc.darwinia.network"],shortName:"darwinia-koi",slip44:1,slug:"darwinia-koi-testnet",testnet:!0},Xf0={chain:"BCS",chainId:707,explorers:[{name:"BlockChain Station Explorer",url:"https://explorer.bcsdev.io",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchainstation.io",name:"BlockChain Station Mainnet",nativeCurrency:{name:"BCS Token",symbol:"BCS",decimals:18},networkId:707,rpc:["https://707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.bcsdev.io","wss://rpc-ws-mainnet.bcsdev.io"],shortName:"bcs",slug:"blockchain-station",testnet:!1},Zf0={chain:"BCS",chainId:708,explorers:[{name:"BlockChain Station Explorer",url:"https://testnet.bcsdev.io",standard:"EIP3091"}],faucets:["https://faucet.bcsdev.io"],infoURL:"https://blockchainstation.io",name:"BlockChain Station Testnet",nativeCurrency:{name:"BCS Testnet Token",symbol:"tBCS",decimals:18},networkId:708,rpc:["https://708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bcsdev.io","wss://rpc-ws-testnet.bcsdev.io"],shortName:"tbcs",slip44:1,slug:"blockchain-station-testnet",testnet:!0},eo0={chain:"HIGHBURY",chainId:710,explorers:[{name:"Furya EVM Explorer",url:"https://explorer.furya.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiby27m6esbsjthmknckq5ktsaaj2z6hylzljbsmvx4fgezdra3q4m",width:512,height:512,format:"png"},infoURL:"https://www.fury.black",name:"Highbury",nativeCurrency:{name:"Fury",symbol:"FURY",decimals:18},networkId:710,rpc:["https://710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://highbury.furya.io","https://rest.furya.io"],shortName:"fury",slug:"highbury",testnet:!1},to0={chain:"VRC",chainId:713,explorers:[{name:"vrcscan",url:"https://vrcscan.com",standard:"EIP3091"},{name:"dxbscan",url:"https://dxb.vrcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmasMkZJ6m7y77fgY6SooNnrH3Y4a3vVYNDWe9T3KusxeU",width:512,height:512,format:"png"},infoURL:"https://vrccoin.com",name:"Vrcscan Mainnet",nativeCurrency:{name:"VRC Chain",symbol:"VRC",decimals:18},networkId:713,rpc:["https://713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-5.vrcscan.com","https://rpc-mainnet-6.vrcscan.com","https://rpc-mainnet-7.vrcscan.com","https://rpc-mainnet-8.vrcscan.com"],shortName:"vrc",slug:"vrcscan",testnet:!1},no0={chain:"Shibarium",chainId:719,explorers:[{name:"shibscan",url:"https://puppyscan.shib.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",width:2e3,height:2e3,format:"png"},infoURL:"https://beta.shibariumtech.com",name:"Shibarium Beta",nativeCurrency:{name:"BONE",symbol:"BONE",decimals:18},networkId:719,rpc:["https://719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://puppynet.shibrpc.com"],shortName:"shibarium",slug:"shibarium-beta",testnet:!1},ao0={chain:"LYC",chainId:721,explorers:[{name:"blockscout",url:"https://explorer.lycanchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZsp3gnmHCJPw3qReiqV8P8Ct5Eidib4E5jDNfBUxYEgP",width:512,height:512,format:"png"},infoURL:"https://lycanchain.com",name:"Lycan Chain",nativeCurrency:{name:"Lycan",symbol:"LYC",decimals:18},networkId:721,rpc:["https://721.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lycanchain.com/","https://us-east.lycanchain.com","https://us-west.lycanchain.com","https://eu-north.lycanchain.com","https://eu-west.lycanchain.com","https://asia-southeast.lycanchain.com"],shortName:"LYC",slug:"lycan-chain",testnet:!1},ro0={chain:"BLU",chainId:727,explorers:[],faucets:[],infoURL:"https://www.blucrates.com",name:"Blucrates",nativeCurrency:{name:"Blucrates",symbol:"BLU",decimals:18},networkId:727,rpc:["https://727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data.bluchain.pro"],shortName:"blu",slip44:727,slug:"blucrates",testnet:!1},io0={chain:"Lovely",chainId:730,explorers:[{name:"Lovely Network Mainnet",url:"https://scan.lovely.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",width:897,height:824,format:"png"},infoURL:"https://lovely.network",name:"Lovely Network Mainnet",nativeCurrency:{name:"Lovely",symbol:"LOVELY",decimals:18},networkId:730,rpc:["https://730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lovely.network"],shortName:"LOVELY",slug:"lovely-network",testnet:!1},so0={chain:"Canto Tesnet",chainId:740,explorers:[{name:"Canto Tesnet Explorer (Neobase)",url:"https://testnet-explorer.canto.neobase.one",standard:"none"}],faucets:[],infoURL:"https://canto.io",name:"Canto Testnet",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:740,rpc:["https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.plexnode.wtf/"],shortName:"tcanto",slip44:1,slug:"canto-testnet",status:"deprecated",testnet:!0},fo0={chain:"VSCT",chainId:741,explorers:[{name:"ventionscan",url:"https://testnet.ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://testnet.ventionscan.io",name:"Vention Smart Chain Testnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:741,rpc:["https://741.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-testnet.vention.network"],shortName:"vsct",slip44:1,slug:"vention-smart-chain-testnet",testnet:!0},oo0={chain:"SPAY",chainId:742,explorers:[{name:"Script Explorer",url:"https://explorer.script.tv",standard:"none"}],faucets:[],infoURL:"https://token.script.tv",name:"Script Testnet",nativeCurrency:{name:"Script",symbol:"SPAY",decimals:18},networkId:742,rpc:["https://742.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testeth-rpc-api.script.tv/rpc"],shortName:"SPAY",slip44:1,slug:"script-testnet",testnet:!0},co0={chain:"Flow",chainId:747,explorers:[{name:"Flow Diver",url:"https://flowdiver.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",width:2e3,height:2e3,format:"png"},infoURL:"https://developers.flow.com/evm/about",name:"Mainnet",nativeCurrency:{name:"FLOW",symbol:"FLOW",decimals:18},networkId:747,rpc:["https://747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.evm.nodes.onflow.org"],shortName:"flow-mainnet",slug:"flow-mainnet",testnet:!1},do0={chain:"QOM",chainId:766,explorers:[{name:"QL1 Mainnet Explorer",url:"https://mainnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:766,rpc:["https://766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qom.one"],shortName:"qom",slug:"ql1",status:"incubating",testnet:!1},lo0={chain:"OpenChain Testnet",chainId:776,explorers:[{name:"OPEN CHAIN TESTNET",url:"https://testnet.openchain.info",standard:"none"}],faucets:["https://faucet.openchain.info/"],infoURL:"https://testnet.openchain.info/",name:"OpenChain Testnet",nativeCurrency:{name:"Openchain Testnet",symbol:"TOPC",decimals:18},networkId:776,rpc:[],shortName:"opc",slip44:1,slug:"openchain-testnet",testnet:!0},po0={chain:"cheapETH",chainId:777,explorers:[],faucets:[],infoURL:"https://cheapeth.org/",name:"cheapETH",nativeCurrency:{name:"cTH",symbol:"cTH",decimals:18},networkId:777,rpc:["https://777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.cheapeth.org/rpc"],shortName:"cth",slug:"cheapeth",testnet:!1},uo0={chain:"MAAL",chainId:786,explorers:[{name:"maalscan",url:"https://maalscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MAAL Chain",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:786,rpc:["https://786.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1-mainnet.maalscan.io/","https://node2-mainnet.maalscan.io/","https://node3-mainnet.maalscan.io/"],shortName:"maal",slug:"maal-chain",testnet:!1},yo0={chain:"ACA",chainId:787,explorers:[{name:"blockscout",url:"https://blockscout.acala.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://acala.network",name:"Acala Network",nativeCurrency:{name:"Acala Token",symbol:"ACA",decimals:18},networkId:787,rpc:["https://787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-acala.aca-api.network","wss://eth-rpc-acala.aca-api.network"],shortName:"aca",slip44:787,slug:"acala-network",testnet:!1},mo0={chain:"Aerochain",chainId:788,explorers:[{name:"aeroscan",url:"https://testnet.aeroscan.id",standard:"EIP3091"}],faucets:["https://faucet.aerochain.id/"],infoURL:"https://aerochaincoin.org/",name:"Aerochain Testnet",nativeCurrency:{name:"Aerochain Testnet",symbol:"TAero",decimals:18},networkId:788,rpc:["https://788.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.aerochain.id/"],shortName:"taero",slip44:1,slug:"aerochain-testnet",testnet:!0},bo0={chain:"ETH",chainId:789,explorers:[{name:"patexscan",url:"https://patexscan.io",standard:"EIP3091",icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTNTSNn3t5WpSEzQmUYbkxYkBKaH6QahyVdVrRKyPHChr",width:800,height:800,format:"png"},infoURL:"https://patex.io/",name:"Patex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:789,rpc:["https://789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.patex.io/"],shortName:"peth",slug:"patex",testnet:!1},ho0={chain:"Rupaya Testnet",chainId:799,explorers:[{name:"rupayascan",url:"https://scan.testnet.rupaya.io",standard:"EIP3091"}],faucets:["https://faucet.testnet.rupaya.io"],infoURL:"https://www.rupaya.io",name:"Rupaya Testnet",nativeCurrency:{name:"Test Rupaya",symbol:"TRUPX",decimals:18},networkId:799,rpc:["https://799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rupaya.io"],shortName:"RupayaTestnet",slip44:1,slug:"rupaya-testnet",testnet:!0},go0={chain:"Lucid",chainId:800,explorers:[{name:"Lucid Explorer",url:"https://explorer.lucidcoin.io",standard:"none"}],faucets:["https://faucet.lucidcoin.io"],icon:{url:"ipfs://bafybeigxiyyxll4vst5cjjh732mr6zhsnligxubaldyiul2xdvvi6ibktu",width:800,height:800,format:"png"},infoURL:"https://lucidcoin.io",name:"Lucid Blockchain",nativeCurrency:{name:"LUCID",symbol:"LUCID",decimals:18},networkId:800,rpc:["https://800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lucidcoin.io"],shortName:"LUCID",slug:"lucid-blockchain",testnet:!1},vo0={chain:"Haic",chainId:803,explorers:[],faucets:[],infoURL:"https://www.haichain.io/",name:"Haic",nativeCurrency:{name:"Haicoin",symbol:"HAIC",decimals:18},networkId:803,rpc:["https://803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://orig.haichain.io/"],shortName:"haic",slug:"haic",testnet:!1},To0={chain:"PF",chainId:808,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain Test",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:808,rpc:["https://808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/portal-fantasy/testnet/rpc"],shortName:"PFTEST",slip44:1,slug:"portal-fantasy-chain-test",testnet:!0},_o0={chain:"haven1",chainId:810,explorers:[{name:"Haven1 Explorer",url:"https://testnet-explorer.haven1.org",standard:"EIP3091",icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"}}],faucets:["https://www.haven1.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",width:128,height:128,format:"png"},infoURL:"https://www.haven1.org",name:"Haven1 Testnet",nativeCurrency:{name:"Haven1",symbol:"H1",decimals:18},networkId:810,rpc:["https://810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.haven1.org"],shortName:"h1",slug:"haven1-testnet",testnet:!0},wo0={chain:"MEER",chainId:813,explorers:[{name:"meerscan",url:"https://qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}},{name:"meerscan",url:"https://qng.meerscan.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mainnet",nativeCurrency:{name:"Qitmeer",symbol:"MEER",decimals:18},networkId:813,rpc:["https://813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-dataseed1.meerscan.io","https://evm-dataseed2.meerscan.io","https://evm-dataseed3.meerscan.io","https://evm-dataseed.meerscan.com","https://qng.rpc.qitmeer.io","https://mainnet.meerlabs.com","https://rpc.dimai.ai","https://rpc.woowow.io"],shortName:"meer",slip44:813,slug:"qitmeer-network",testnet:!1},xo0={chain:"Firechain",chainId:814,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:814,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://zkevm-bridge-rpc.thefirechain.com"}]},rpc:["https://814.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm.thefirechain.com"],shortName:"firechan-zkEVM",slug:"firechain-zkevm",testnet:!1,title:"Firechain zkEVM"},Io0={chain:"BOC",chainId:818,explorers:[{name:"BeOne Chain Mainnet",url:"https://beonescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://beonechain.com",name:"BeOne Chain Mainnet",nativeCurrency:{name:"BeOne Chain Mainnet",symbol:"BOC",decimals:18},networkId:818,rpc:["https://818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.beonechain.com","https://dataseed2.beonechain.com","https://dataseed-us1.beonechain.com","https://dataseed-us2.beonechain.com","https://dataseed-uk1.beonechain.com","https://dataseed-uk2.beonechain.com"],shortName:"BOC",slip44:8181,slug:"beone-chain",testnet:!1},Eo0={chain:"CLO",chainId:820,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Mainnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:1,rpc:["https://820.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.callisto.network/"],shortName:"clo",slip44:820,slug:"callisto",testnet:!1},Do0={chain:"CLO",chainId:821,explorers:[],faucets:[],infoURL:"https://callisto.network",name:"Callisto Testnet Deprecated",nativeCurrency:{name:"Callisto Testnet Ether",symbol:"TCLO",decimals:18},networkId:2,rpc:[],shortName:"tclo",slip44:1,slug:"callisto-testnet-deprecated",status:"deprecated",testnet:!0},Co0={chain:"Runic",chainId:822,explorers:[{name:"RunicScan",url:"https://scan.runic.build",standard:"EIP3091",icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"}}],faucets:["https://faucet.runic.build"],icon:{url:"ipfs://QmW3RZKwBq12F7jVV2pn6T9WzwU5rosLYkVqoRQckfKvXo",width:340,height:340,format:"png"},infoURL:"https://runic.build",name:"Runic Chain Testnet",nativeCurrency:{name:"Bitcoin",symbol:"rBTC",decimals:18},networkId:822,rpc:["https://822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.runic.build"],shortName:"runic-testnet",slug:"runic-chain-testnet",status:"active",testnet:!0},So0={chain:"CDT Blockchain",chainId:831,explorers:[{name:"CDT Explorer",url:"https://explorer.checkdot.io",standard:"none"}],faucets:[],infoURL:"https://checkdot.io",name:"CheckDot Blockchain Devnet",nativeCurrency:{name:"CDT",symbol:"CDT",decimals:18},networkId:831,rpc:["https://831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.checkdot.io"],shortName:"cdt",slug:"checkdot-blockchain-devnet",testnet:!1},Ao0={chain:"Tara",chainId:841,explorers:[{name:"Taraxa Explorer",url:"https://explorer.mainnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Mainnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:841,rpc:["https://841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taraxa.io/"],shortName:"tara",slug:"taraxa",testnet:!1},ko0={chain:"Tara",chainId:842,explorers:[{name:"Taraxa Explorer",url:"https://explorer.testnet.taraxa.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQhdktNyBeXmCaVuQpi1B4yXheSUKrJA17L4wpECKzG5D",width:310,height:310,format:"png"},infoURL:"https://taraxa.io",name:"Taraxa Testnet",nativeCurrency:{name:"Tara",symbol:"TARA",decimals:18},networkId:842,rpc:["https://842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.taraxa.io/"],shortName:"taratest",slip44:1,slug:"taraxa-testnet",testnet:!0},Po0={chain:"HONGKONG",chainId:852,explorers:[{name:"HongKong Mainnet Explorer",url:"http://47.238.205.52",standard:"none"}],faucets:[],infoURL:"https://www.cmi.chinamobile.com/",name:"HongKong Mainnet",nativeCurrency:{name:"HongKong",symbol:"HK",decimals:18},networkId:852,rpc:["https://852.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.jegotrip.net"],shortName:"HongKong",slug:"hongkong",testnet:!1},Ro0={chain:"ZeethChainDev",chainId:859,explorers:[{name:"Zeeth Explorer Dev",url:"https://explorer.dev.zeeth.io",standard:"none"}],faucets:[],name:"Zeeth Chain Dev",nativeCurrency:{name:"Zeeth Token",symbol:"ZTH",decimals:18},networkId:859,rpc:["https://859.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.zeeth.io"],shortName:"zeethdev",slug:"zeeth-chain-dev",testnet:!1},Lo0={chain:"FSC",chainId:868,explorers:[{name:"FSCScan",url:"https://explorer.fantasiachain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://fantasiachain.com/",name:"Fantasia Chain Mainnet",nativeCurrency:{name:"FST",symbol:"FST",decimals:18},networkId:868,rpc:["https://868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data1.fantasiachain.com/","https://mainnet-data2.fantasiachain.com/","https://mainnet-data3.fantasiachain.com/"],shortName:"FSCMainnet",slug:"fantasia-chain",testnet:!1},Mo0={chain:"Bandai Namco Research Verse",chainId:876,explorers:[{name:"Bandai Namco Research Verse Explorer",url:"https://explorer.main.oasvrs.bnken.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifhetalm3vpvjrg5u5d2momkcgvkz6rhltur5co3rslltbxzpr6yq",width:2048,height:2048,format:"png"},infoURL:"https://www.bandainamco-mirai.com/en/",name:"Bandai Namco Research Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:876,parent:{type:"L2",chain:"eip155-248"},rpc:["https://876.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.oasvrs.bnken.net"],shortName:"BNKEN",slug:"bandai-namco-research-verse",testnet:!1},Bo0={chain:"DXT",chainId:877,explorers:[{name:"dxtscan",url:"https://dxtscan.com",standard:"EIP3091"}],faucets:["https://faucet.dexit.network"],infoURL:"https://dexit.network",name:"Dexit Network",nativeCurrency:{name:"Dexit network",symbol:"DXT",decimals:18},networkId:877,rpc:["https://877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dxt.dexit.network"],shortName:"DXT",slug:"dexit-network",testnet:!1},No0={chain:"ambroschain",chainId:880,explorers:[{name:"Ambros Chain Explorer",url:"https://ambrosscan.com",standard:"none"}],faucets:[],infoURL:"https://ambros.network",name:"Ambros Chain Mainnet",nativeCurrency:{name:"AMBROS",symbol:"AMBROS",decimals:18},networkId:880,rpc:["https://880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ambros.network"],shortName:"ambros",slug:"ambros-chain",testnet:!1},Fo0={chain:"Hypr",chainId:881,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"PNG"},infoURL:"https://www.hypr.network",name:"Hypr Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:881,parent:{type:"OP Stack",chain:"OP",bridges:[]},redFlags:[],rpc:["https://881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypr.network"],shortName:"ether",slug:"hypr",testnet:!1},Oo0={chain:"Hypr",chainId:882,explorers:[{name:"Explorer",url:"https://explorer-testnet.hypr.network",standard:"OP Stack EVM"}],faucets:[],features:[],icon:{url:"ipfs://bafybeie6wdqkhub4p346rixkvft3l2bxa3kzo4q6dh5c5vgq6oejwlhu4a/",width:3600,height:3600,format:"ONG"},name:"Hypr Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:882,redFlags:[],rpc:["https://882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hypr.network"],shortName:"eth",slug:"hypr-testnet",testnet:!0,title:"https://explorer-testnet.hypr.network"},Vo0={chain:"WAN",chainId:888,explorers:[{name:"wanscan",url:"https://wanscan.org",standard:"EIP3091",icon:{url:"ipfs://QmcRVHdG7Sr1f26DhkBwE1YuwFZXFjNth5S3TookXoyFaq",width:360,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcRVHdG7Sr1f26DhkBwE1YuwFZXFjNth5S3TookXoyFaq",width:360,height:360,format:"png"},infoURL:"https://www.wanscan.org",name:"Wanchain",nativeCurrency:{name:"Wancoin",symbol:"WAN",decimals:18},networkId:888,rpc:["https://888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwan-ssl.wandevs.org:56891/"],shortName:"wan",slip44:5718350,slug:"wanchain",testnet:!1},$o0={chain:"MAXI",chainId:898,explorers:[{name:"Maxi Chain Testnet Explorer",url:"https://testnet.maxi.network",standard:"EIP3091"}],faucets:["https://faucet.maxi.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwqTBqA8ayxizG4XwLUSyg3xkQbpzUEvqQmWzyMSjnCo",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Testnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:898,rpc:["https://898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.maxi.network"],shortName:"maxi-testnet",slug:"maxi-chain-testnet",testnet:!0},Uo0={chain:"MAXI",chainId:899,explorers:[{name:"Maxi Chain Mainnet Explorer",url:"https://mainnet.maxi.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwqTBqA8ayxizG4XwLUSyg3xkQbpzUEvqQmWzyMSjnCo",width:512,height:512,format:"png"},infoURL:"https://maxi.network",name:"MAXI Chain Mainnet",nativeCurrency:{name:"MAXI GAS",symbol:"MGAS",decimals:18},networkId:899,rpc:["https://899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxi.network"],shortName:"maxi-mainnet",slug:"maxi-chain",testnet:!1},qo0={chain:"GAR",chainId:900,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage0",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:900,rpc:["https://900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s0-testnet.garizon.net/rpc"],shortName:"gar-test-s0",slug:"garizon-testnet-stage0",testnet:!0},Ho0={chain:"GAR",chainId:901,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage1",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:901,parent:{type:"shard",chain:"eip155-900"},rpc:["https://901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s1-testnet.garizon.net/rpc"],shortName:"gar-test-s1",slip44:1,slug:"garizon-testnet-stage1",testnet:!0},zo0={chain:"GAR",chainId:902,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage2",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:902,parent:{type:"shard",chain:"eip155-900"},rpc:["https://902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2-testnet.garizon.net/rpc"],shortName:"gar-test-s2",slip44:1,slug:"garizon-testnet-stage2",testnet:!0},Wo0={chain:"GAR",chainId:903,explorers:[{name:"explorer",url:"https://explorer-testnet.garizon.com",standard:"EIP3091",icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"}}],faucets:["https://faucet-testnet.garizon.com"],icon:{url:"ipfs://QmW3WRyuLZ95K8hvV2QN6rP5yWY98sSzWyVUxD2eUjXGrc",width:1024,height:613,format:"png"},infoURL:"https://garizon.com",name:"Garizon Testnet Stage3",nativeCurrency:{name:"Garizon",symbol:"GAR",decimals:18},networkId:903,parent:{type:"shard",chain:"eip155-900"},rpc:["https://903.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s3-testnet.garizon.net/rpc"],shortName:"gar-test-s3",slip44:1,slug:"garizon-testnet-stage3",testnet:!0},jo0={chain:"PF",chainId:909,explorers:[],faucets:[],icon:{url:"ipfs://QmeMa6aw3ebUKJdGgbzDgcVtggzp7cQdfSrmzMYmnt5ywc",width:200,height:200,format:"png"},infoURL:"https://portalfantasy.io",name:"Portal Fantasy Chain",nativeCurrency:{name:"Portal Fantasy Token",symbol:"PFT",decimals:18},networkId:909,rpc:[],shortName:"PF",slug:"portal-fantasy-chain",status:"incubating",testnet:!1},Go0={chain:"DBONE",chainId:910,explorers:[],faucets:[],infoURL:"https://decentrabone.com",name:"DecentraBone Layer1 Testnet",nativeCurrency:{name:"DecentraBone",symbol:"DBONE",decimals:18},networkId:910,rpc:["https://910.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://layer1test.decentrabone.com"],shortName:"DBONE",slip44:1,slug:"decentrabone-layer1-testnet",testnet:!0},Ko0={chain:"TAPROOT CHAIN",chainId:911,explorers:[{name:"TAPROOT Scan",url:"https://scan.taprootchain.io",standard:"EIP3091",icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeucqvcreQk8nnSRUiHo3QTvLoYYB7shJTKXj5Tk6BtWi",width:100,height:100,format:"png"},infoURL:"https://taprootchain.io",name:"TAPROOT Mainnet",nativeCurrency:{name:"TBTC",symbol:"TBTC",decimals:18},networkId:911,rpc:["https://911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taprootchain.io"],shortName:"TAPROOT-Mainnet",slug:"taproot",testnet:!1,title:"TAPROOT Mainnet"},Qo0={chain:"FIRE",chainId:917,explorers:[{name:"FireScan",url:"https://rinia.firescan.io",standard:"EIP3091"}],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:917,rpc:["https://917.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinia-rpc1.thefirechain.com"],shortName:"tfire",slip44:1,slug:"rinia-testnet",testnet:!0},Yo0={chain:"ETH",chainId:919,explorers:[{name:"modescout",url:"https://sepolia.explorer.mode.network",standard:"none"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:919,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.mode.network/"}]},rpc:["https://919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.mode.network"],shortName:"modesep",slip44:1,slug:"mode-testnet",testnet:!0},Jo0={chain:"Yidark",chainId:927,explorers:[{name:"Yidarkscan",url:"https://yidarkscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdbFGqrpiLQGtAeUAyeS2NBvACfgrchEF466ni5q36fuZ",width:401,height:401,format:"png"},infoURL:"https://yidarkscan.com",name:"Yidark Chain Mainnet",nativeCurrency:{name:"Yidark",symbol:"YDK",decimals:18},networkId:927,rpc:["https://927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yidark.io"],shortName:"ydk",slug:"yidark-chain",testnet:!1},Xo0={chain:"tPLS",chainId:940,explorers:[],faucets:["https://faucet.v2.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:940,rpc:["https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2.testnet.pulsechain.com/","wss://rpc.v2.testnet.pulsechain.com/"],shortName:"tpls",slip44:1,slug:"pulsechain-testnet",status:"deprecated",testnet:!0},Zo0={chain:"t2bPLS",chainId:941,explorers:[],faucets:["https://faucet.v2b.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v2b",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:941,rpc:["https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v2b.testnet.pulsechain.com/","wss://rpc.v2b.testnet.pulsechain.com/"],shortName:"t2bpls",slip44:1,slug:"pulsechain-testnet-v2b",status:"deprecated",testnet:!0},e10={chain:"t3PLS",chainId:942,explorers:[],faucets:["https://faucet.v3.testnet.pulsechain.com/"],infoURL:"https://pulsechain.com/",name:"PulseChain Testnet v3",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:942,rpc:["https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v3.testnet.pulsechain.com/","wss://rpc.v3.testnet.pulsechain.com/"],shortName:"t3pls",slip44:1,slug:"pulsechain-testnet-v3",status:"deprecated",testnet:!0},t10={chain:"t4PLS",chainId:943,ens:{registry:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},explorers:[{name:"blockscout",url:"https://otter-testnet-pulsechain.g4mm4.io",standard:"EIP3091"}],faucets:["https://faucet.v4.testnet.pulsechain.com/"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmckj9B9F3jWDk9bv9HwoPmfjrx2Ju8J2BQSNoPFdYGduj",width:433,height:402,format:"png"},infoURL:"https://pulsechain.com",name:"PulseChain Testnet v4",nativeCurrency:{name:"Test Pulse",symbol:"tPLS",decimals:18},networkId:943,rpc:["https://943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.v4.testnet.pulsechain.com","wss://rpc.v4.testnet.pulsechain.com","https://pulsechain-testnet-rpc.publicnode.com","wss://pulsechain-testnet-rpc.publicnode.com","https://rpc-testnet-pulsechain.g4mm4.io","wss://rpc-testnet-pulsechain.g4mm4.io"],shortName:"t4pls",slip44:1,slug:"pulsechain-testnet-v4",status:"active",testnet:!0},n10={chain:"Avalanche",chainId:949,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s5t",nativeCurrency:{name:"QI0521s5t Token",symbol:"VTV",decimals:18},networkId:949,redFlags:[],rpc:["https://949.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s5t",slug:"qi0521s5t",testnet:!0},a10={chain:"munode",chainId:956,explorers:[],faucets:[],infoURL:"https://munode.dev/",name:"muNode Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:956,rpc:[],shortName:"munode",slip44:1,slug:"munode-testnet",testnet:!0},r10={chain:"Lyra",chainId:957,explorers:[{name:"Lyra Explorer",url:"https://explorer.lyra.finance",standard:"EIP3091",icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifrvwcwcgs2luampufdbdgohuxue5rep3u4p4owmwskob7hzpcfdq",width:2640,height:2640,format:"png"},infoURL:"https://lyra.finance",name:"Lyra Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:957,rpc:["https://957.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lyra.finance"],shortName:"lyra",slug:"lyra-chain",testnet:!1},i10={chain:"BTC20",chainId:963,explorers:[{name:"blockscout",url:"https://scan.bitcoincode.technology",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRUzDpn3xqPYnjLuZvFs2Attio9VxGRUprXEjcNQDcpe5",width:375,height:456,format:"png"},infoURL:"https://bitcoincode.technology",name:"BTC20 Smart Chain",nativeCurrency:{name:"BTCC",symbol:"BTCC",decimals:18},networkId:963,rpc:["https://963.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitcoincode.technology/"],shortName:"btc20",slug:"btc20-smart-chain",testnet:!1},s10={chain:"EthXY",chainId:969,explorers:[{name:"EthXY Network Explorer",url:"https://explorer.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:969,rpc:["https://969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethxy.com"],shortName:"sexy",slug:"ethxy",testnet:!1},f10={chain:"Oort Mainnet",chainId:970,explorers:[{name:"Oort Mainnet Explorer",url:"https://mainnet-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Mainnet",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:970,rpc:["https://970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oortech.com"],shortName:"ccn",slug:"oort",testnet:!1},o10={chain:"Huygens",chainId:971,explorers:[],faucets:[],icon:{url:"ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",width:1043,height:1079,format:"png"},infoURL:"https://oortech.com",name:"Oort Huygens",nativeCurrency:{name:"Oort",symbol:"CCN",decimals:18},networkId:971,rpc:[],shortName:"Huygens",slug:"oort-huygens",testnet:!1},c10={chain:"Ascraeus",chainId:972,explorers:[{name:"Oort Ascraeus Explorer",url:"https://ascraeus-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort Ascraeus",nativeCurrency:{name:"Oort",symbol:"CCNA",decimals:18},networkId:972,rpc:["https://972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ascraeus-rpc.oortech.com"],shortName:"Ascraeus",slug:"oort-ascraeus",testnet:!1,title:"Oort Ascraeus"},d10={chain:"YETI",chainId:977,explorers:[],faucets:["https://faucet.nepalblockchain.network"],infoURL:"https://nepalblockchain.network",name:"Nepal Blockchain Network",nativeCurrency:{name:"Nepal Blockchain Network Ether",symbol:"YETI",decimals:18},networkId:977,rpc:["https://977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nepalblockchain.dev","https://api.nepalblockchain.network"],shortName:"yeti",slug:"nepal-blockchain-network",testnet:!1},l10={chain:"EthXY",chainId:979,explorers:[{name:"EthXY Testnet Network Explorer",url:"https://explorer.testnet.ethxy.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreihq3b3cqbg2ttlp4dfbgmirrwdw6bbpmmbr5wolddd2izbyqay4xq",width:480,height:480,format:"png"},infoURL:"https://ethxy.com",name:"EthXY Testnet",nativeCurrency:{name:"Settled EthXY Token",symbol:"SEXY",decimals:18},networkId:979,rpc:["https://979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ethxy.com"],shortName:"sexyTestnet",slug:"ethxy-testnet",testnet:!0},p10={chain:"TOP",chainId:980,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet EVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:0,rpc:["https://980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethapi.topnetwork.org"],shortName:"top_evm",slug:"top-evm",testnet:!1},u10={chain:"MEMO",chainId:985,explorers:[{name:"Memo Mainnet Explorer",url:"https://scan.metamemo.one:8080",standard:"EIP3091",icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"}}],faucets:["https://faucet.metamemo.one/"],icon:{url:"ipfs://bafkreig52paynhccs4o5ew6f7mk3xoqu2bqtitmfvlgnwarh2pm33gbdrq",width:128,height:128,format:"png"},name:"Memo Smart Chain Mainnet",nativeCurrency:{name:"Memo",symbol:"CMEMO",decimals:18},networkId:985,rpc:["https://985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.metamemo.one:8501","wss://chain.metamemo.one:16801"],shortName:"memochain",slug:"memo-smart-chain",testnet:!1},y10={chain:"Avalanche",chainId:987,explorers:[{name:"BinaryChain Explorer",url:"https://explorer.binarychain.org",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Orange Testnet",nativeCurrency:{name:"Orange Testnet Token",symbol:"JUICE",decimals:18},networkId:987,redFlags:[],rpc:["https://987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/orangetest/testnet/rpc","https://rpc.binarychain.org"],shortName:"Orange Testnet",slug:"orange-testnet",testnet:!0},m10={chain:"TOP",chainId:989,explorers:[{name:"topscan.dev",url:"https://www.topscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmYikaM849eZrL8pGNeVhEHVTKWpxdGMvCY5oFBfZ2ndhd",width:800,height:800,format:"png"},infoURL:"https://www.topnetwork.org/",name:"TOP Mainnet",nativeCurrency:{name:"TOP",symbol:"TOP",decimals:6},networkId:0,rpc:[],shortName:"top",slug:"top",testnet:!1},b10={chain:"$EL",chainId:990,explorers:[{name:"eLiberty Mainnet",url:"https://explorer.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Mainnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:990,rpc:["https://990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eliberty.ngo"],shortName:"ELm",slug:"eliberty",testnet:!1},h10={chain:"5ireChain",chainId:997,explorers:[{name:"5ireChain Explorer",url:"https://explorer.5ire.network",standard:"none",icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"}}],faucets:["https://explorer.5ire.network/faucet"],icon:{url:"ipfs://QmaZDNDFLWESH4i3XqwEWfWBb1HPnQSNbDAr74nr2x8QAk",width:800,height:800,format:"svg"},infoURL:"https://5ire.org",name:"5ireChain Thunder",nativeCurrency:{name:"5ire Token",symbol:"5ire",decimals:18},networkId:997,rpc:["https://997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.5ire.network"],shortName:"5ire",slug:"5irechain-thunder",testnet:!0},g10={chain:"LN",chainId:998,explorers:[{name:"blockscout",url:"https://explorer.luckynetwork.org",standard:"none"},{name:"expedition",url:"https://lnscan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidmvcd5i7touug55hj45mf2pgabxamy5fziva7mtx5n664s3yap6m",width:205,height:28,format:"png"},infoURL:"https://luckynetwork.org",name:"Lucky Network",nativeCurrency:{name:"Lucky",symbol:"L99",decimals:18},networkId:998,rpc:["https://998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.luckynetwork.org","wss://ws.lnscan.org","https://rpc.lnscan.org"],shortName:"ln",slug:"lucky-network",testnet:!1},v10={chain:"WAN",chainId:999,explorers:[{name:"wanscan",url:"https://testnet.wanscan.org",standard:"EIP3091",icon:{url:"ipfs://QmcRVHdG7Sr1f26DhkBwE1YuwFZXFjNth5S3TookXoyFaq",width:360,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcRVHdG7Sr1f26DhkBwE1YuwFZXFjNth5S3TookXoyFaq",width:360,height:360,format:"png"},infoURL:"https://testnet.wanscan.org",name:"Wanchain Testnet",nativeCurrency:{name:"Wancoin",symbol:"WAN",decimals:18},networkId:999,rpc:["https://999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwan-ssl.wandevs.org:46891/"],shortName:"twan",slip44:1,slug:"wanchain-testnet",testnet:!0},T10={chain:"GTON",chainId:1e3,explorers:[{name:"GTON Network Explorer",url:"https://explorer.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Mainnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:1e3,parent:{type:"L2",chain:"eip155-1"},rpc:["https://1000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gton.network/"],shortName:"gton",slug:"gton",testnet:!1},_10={chain:"KLAY",chainId:1001,explorers:[{name:"Klaytnscope",url:"https://baobab.klaytnscope.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://baobab.klaytnfinder.io",standard:"EIP3091"}],faucets:["https://baobab.wallet.klaytn.com/access?next=faucet"],features:[],infoURL:"https://klaytn.foundation",name:"Klaytn Testnet Baobab",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:1001,redFlags:[],rpc:["https://1001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-baobab.klaytn.net","https://api.baobab.klaytn.net:8651"],shortName:"Baobab",slip44:1,slug:"klaytn-testnet-baobab",testnet:!0},w10={chain:"TET",chainId:1003,explorers:[{name:"Tectum explorer",url:"https://explorer.tectum.io",standard:"EIP3091",icon:{url:"ipfs://QmYvFVprVdAGJH4iHUCXGEmy7pq8MMfxEjM64SuXutz9qx",width:256,height:256,format:"png"}}],faucets:[],infoURL:"https://softnote.com",name:"Tectum Emission Token",nativeCurrency:{name:"Tectum",symbol:"TET",decimals:8},networkId:1003,rpc:["https://1003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.softnote.com/"],shortName:"tet",slug:"tectum-emission-token",testnet:!1},x10={chain:"T-EKTA",chainId:1004,explorers:[{name:"test-ektascan",url:"https://test.ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"T-EKTA",nativeCurrency:{name:"T-EKTA",symbol:"T-EKTA",decimals:18},networkId:1004,rpc:["https://1004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.ekta.io:8545"],shortName:"t-ekta",slug:"t-ekta",testnet:!0,title:"EKTA Testnet T-EKTA"},I10={chain:"NEW",chainId:1007,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton Testnet",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1007,rpc:["https://1007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.newchain.newtonproject.org"],shortName:"tnew",slip44:1,slug:"newton-testnet",testnet:!0},E10={chain:"EUN",chainId:1008,explorers:[{name:"eurusexplorer",url:"https://explorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Mainnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1008,rpc:["https://1008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eurus.network/"],shortName:"eun",slug:"eurus",testnet:!1},D10={chain:"Jumbo",chainId:1009,explorers:[{name:"Jumboscan",url:"https://jumboscan.jumbochain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://jumbochain.org",name:"Jumbochain Mainnet",nativeCurrency:{name:"JNFTC",symbol:"JNFTC",decimals:18},networkId:1009,rpc:["https://1009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpriv.jumbochain.org"],shortName:"Jumboscan",slip44:1,slug:"jumbochain",testnet:!1},C10={chain:"EVC",chainId:1010,explorers:[],faucets:[],infoURL:"https://evrice.com",name:"Evrice Network",nativeCurrency:{name:"Evrice",symbol:"EVC",decimals:18},networkId:1010,rpc:["https://1010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://meta.evrice.com"],shortName:"EVC",slip44:1020,slug:"evrice-network",testnet:!1},S10={chain:"REBUS",chainId:1011,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://cosmos.rebuschain.com",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Mainnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:1011,rpc:["https://1011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://apievm.rebuschain.com/rpc"],shortName:"rebus",slug:"rebus",testnet:!1,title:"Rebuschain Mainnet"},A10={chain:"NEW",chainId:1012,explorers:[],faucets:[],infoURL:"https://www.newtonproject.org/",name:"Newton",nativeCurrency:{name:"Newton",symbol:"NEW",decimals:18},networkId:1012,rpc:["https://1012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://global.rpc.mainnet.newtonproject.org"],shortName:"new",slug:"newton",testnet:!1},k10={chain:"Sakura",chainId:1022,explorers:[],faucets:[],infoURL:"https://clover.finance/sakura",name:"Sakura",nativeCurrency:{name:"Sakura",symbol:"SKU",decimals:18},networkId:1022,rpc:[],shortName:"sku",slug:"sakura",testnet:!1},P10={chain:"Clover",chainId:1023,explorers:[],faucets:[],infoURL:"https://clover.finance",name:"Clover Testnet",nativeCurrency:{name:"Clover",symbol:"CLV",decimals:18},networkId:1023,rpc:[],shortName:"tclv",slip44:1,slug:"clover-testnet",testnet:!0},R10={chain:"CLV",chainId:1024,explorers:[],faucets:[],infoURL:"https://clv.org",name:"CLV Parachain",nativeCurrency:{name:"CLV",symbol:"CLV",decimals:18},networkId:1024,rpc:["https://1024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api-para.clover.finance"],shortName:"clv",slug:"clv-parachain",testnet:!1},L10={chain:"BTTC",chainId:1028,explorers:[{name:"testbttcscan",url:"https://testscan.bittorrentchain.io",standard:"none"}],faucets:[],infoURL:"https://bittorrentchain.io/",name:"BitTorrent Chain Testnet",nativeCurrency:{name:"BitTorrent",symbol:"BTT",decimals:18},networkId:1028,rpc:["https://1028.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.bittorrentchain.io/"],shortName:"tbtt",slip44:1,slug:"bittorrent-chain-testnet",testnet:!0},M10={chain:"Conflux",chainId:1030,explorers:[{name:"Conflux Scan",url:"https://evm.confluxscan.net",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifj7n24u2dslfijfihwqvpdeigt5aj3k3sxv6s35lv75sxsfr3ojy",width:460,height:576,format:"png"},infoURL:"https://confluxnetwork.org",name:"Conflux eSpace",nativeCurrency:{name:"CFX",symbol:"CFX",decimals:18},networkId:1030,rpc:["https://1030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.confluxrpc.com"],shortName:"cfx",slug:"conflux-espace",testnet:!1},B10={chain:"Proxy Network",chainId:1031,explorers:[{name:"proxy network testnet",url:"http://testnet-explorer.theproxy.network",standard:"EIP3091"}],faucets:[],infoURL:"https://theproxy.network",name:"Proxy Network Testnet",nativeCurrency:{name:"PRX",symbol:"PRX",decimals:18},networkId:1031,rpc:["https://1031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://128.199.94.183:8041"],shortName:"prx",slip44:1,slug:"proxy-network-testnet",testnet:!0},N10={chain:"Bronos",chainId:1038,explorers:[{name:"Bronos Testnet Explorer",url:"https://tbroscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:["https://faucet.bronos.org"],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Testnet",nativeCurrency:{name:"tBRO",symbol:"tBRO",decimals:18},networkId:1038,rpc:["https://1038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.bronos.org"],shortName:"bronos-testnet",slip44:1,slug:"bronos-testnet",testnet:!0},F10={chain:"Bronos",chainId:1039,explorers:[{name:"Bronos Explorer",url:"https://broscan.bronos.org",standard:"none",icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeifkgtmhnq4sxu6jn22i7ass7aih6ubodr77k6ygtu4tjbvpmkw2ga",width:500,height:500,format:"png"},infoURL:"https://bronos.org",name:"Bronos Mainnet",nativeCurrency:{name:"BRO",symbol:"BRO",decimals:18},networkId:1039,rpc:[],shortName:"bronos-mainnet",slug:"bronos",testnet:!1},O10={chain:"ShimmerEVM",chainId:1071,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1071,rpc:[],shortName:"shimmerevm-testnet-deprecated",slip44:1,slug:"shimmerevm-testnet-deprecated",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated"},V10={chain:"ShimmerEVM",chainId:1072,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet Deprecated 1072",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:6},networkId:1072,rpc:[],shortName:"shimmerevm-testnet-deprecated-1072",slip44:1,slug:"shimmerevm-testnet-deprecated-1072",status:"deprecated",testnet:!0,title:"ShimmerEVM Testnet Deprecated 1072"},$10={chain:"ShimmerEVM",chainId:1073,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.shimmer.network",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.shimmer.network","https://evm-faucet.testnet.shimmer.network"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://shimmer.network",name:"ShimmerEVM Testnet",nativeCurrency:{name:"SMR",symbol:"SMR",decimals:18},networkId:1073,rpc:["https://1073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.shimmer.network"],shortName:"shimmerevm-testnet",slip44:1,slug:"shimmerevm-testnet",testnet:!0,title:"ShimmerEVM Testnet"},U10={chain:"IOTA EVM",chainId:1075,explorers:[{name:"explorer",url:"https://explorer.evm.testnet.iotaledger.net",standard:"EIP3091"}],faucets:["https://evm-toolkit.evm.testnet.iotaledger.net"],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM Testnet",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:1075,rpc:["https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.testnet.iotaledger.net"],shortName:"iotaevm-testnet",slug:"iota-evm-testnet",testnet:!0,title:"IOTA EVM Testnet"},q10={chain:"Mintara",chainId:1079,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Testnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1079,rpc:["https://1079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/testnet/rpc"],shortName:"mintara-testnet",slip44:1,slug:"mintara-testnet",testnet:!0,title:"Mintara Testnet"},H10={chain:"Mintara",chainId:1080,explorers:[{name:"explorer",url:"https://subnets.avax.network/mintara",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",width:256,height:256,format:"png"},infoURL:"https://playthink.co.jp",name:"Mintara Mainnet",nativeCurrency:{name:"MINTARA",symbol:"MNTR",decimals:18},networkId:1080,rpc:["https://1080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mintara/mainnet/rpc"],shortName:"mintara",slug:"mintara",testnet:!1,title:"Mintara Mainnet"},z10={chain:"ETH",chainId:1088,explorers:[{name:"blockscout",url:"https://andromeda-explorer.metis.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWKNucbMtrMPPkHG5ZmVmvNUo8CzqHHcrpk1C2BVQsEG/2022_H-Brand_Stacked_WhiteGreen.svg",width:512,height:512,format:"svg"},infoURL:"https://www.metis.io",name:"Metis Andromeda Mainnet",nativeCurrency:{name:"Metis",symbol:"METIS",decimals:18},networkId:1088,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.metis.io"}]},redFlags:[],rpc:["https://1088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://andromeda.metis.io/?owner=1088","https://metis.drpc.org","wss://metis.drpc.org"],shortName:"metis-andromeda",slug:"metis-andromeda",testnet:!1},W10={chain:"Humans",chainId:1089,explorers:[{name:"explorer.guru",url:"https://humans.explorers.guru",standard:"none",icon:{url:"ipfs://QmU83haX3TNifDDjBx6RP6ByqES1Kg9VqeJC87X9ipKyCS",width:386,height:397,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Mainnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:1089,rpc:["https://1089.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.humans.nodestake.top","https://humans-mainnet-evm.itrocket.net","https://humans-evm-rpc.staketab.org:443","https://evm.humans.stakepool.dev.br","https://mainnet-humans-evm.konsortech.xyz","https://evm-rpc.mainnet.humans.zone","https://json-rpc.humans.bh.rocks","https://evm-rpc.humans.huginn.tech"],shortName:"humans",slug:"humans-ai",testnet:!1},j10={chain:"MOAC",chainId:1099,explorers:[{name:"moac explorer",url:"https://explorer.moac.io",standard:"none"}],faucets:[],infoURL:"https://moac.io",name:"MOAC mainnet",nativeCurrency:{name:"MOAC",symbol:"mc",decimals:18},networkId:1099,rpc:[],shortName:"moac",slip44:314,slug:"moac",testnet:!1},G10={chain:"Dymension",chainId:1100,explorers:[{name:"dym.fyi",url:"https://dym.fyi",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic4sjyqikz33xzpcctczvkiwfj44q5i3i7zslycnjiqmyx5ybc3fi",width:1200,height:1200,format:"png"},infoURL:"https://dymension.xyz",name:"Dymension",nativeCurrency:{name:"DYM",symbol:"DYM",decimals:18},networkId:1100,rpc:["https://1100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dymension-evm.blockpi.network/v1/rpc/public","https://dymension-evm-rpc.publicnode.com","wss://dymension-evm-rpc.publicnode.com"],shortName:"dymension",slug:"dymension",testnet:!1},K10={chain:"Polygon",chainId:1101,explorers:[{name:"blockscout",url:"https://zkevm.polygonscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1101,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.zkevm-rpc.com"}]},rpc:["https://1101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zkevm-rpc.com","https://polygon-zkevm.drpc.org","wss://polygon-zkevm.drpc.org"],shortName:"zkevm",slug:"polygon-zkevm",testnet:!1,title:"Polygon zkEVM"},Q10={chain:"BLXQ",chainId:1107,explorers:[{name:"BLXq Explorer",url:"https://explorer.blx.org",standard:"none",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Testnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1107,rpc:["https://1107.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetq1.blx.org"],shortName:"tblxq",slip44:1,slug:"blxq-testnet",testnet:!0},Y10={chain:"BLXQ",chainId:1108,explorers:[{name:"BLXq Explorer",url:"https://explorer.blxq.org",standard:"EIP3091",icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS9kDKr1rgcz5W55yCQVfFs1vRTCneaLHt1t9cBizpqpH",width:1e3,height:1e3,format:"png"},infoURL:"https://blx.org",name:"BLXq Mainnet",nativeCurrency:{name:"BLXQ",symbol:"BLXQ",decimals:18},networkId:1108,rpc:["https://1108.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blxq.org"],shortName:"blxq",slug:"blxq",testnet:!1},J10={chain:"WEMIX",chainId:1111,explorers:[{name:"WEMIX Block Explorer",url:"https://explorer.wemix.com",standard:"EIP3091"}],faucets:[],infoURL:"https://wemix.com",name:"WEMIX3.0 Mainnet",nativeCurrency:{name:"WEMIX",symbol:"WEMIX",decimals:18},networkId:1111,rpc:["https://1111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.wemix.com","wss://ws.wemix.com"],shortName:"wemix",slug:"wemix3-0",testnet:!1},X10={chain:"TWEMIX",chainId:1112,explorers:[{name:"WEMIX Testnet Microscope",url:"https://microscope.test.wemix.com",standard:"EIP3091"}],faucets:["https://wallet.test.wemix.com/faucet"],infoURL:"https://wemix.com",name:"WEMIX3.0 Testnet",nativeCurrency:{name:"TestnetWEMIX",symbol:"tWEMIX",decimals:18},networkId:1112,rpc:["https://1112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.test.wemix.com","wss://ws.test.wemix.com"],shortName:"twemix",slip44:1,slug:"wemix3-0-testnet",testnet:!0},Z10={chain:"BSQ",chainId:1113,explorers:[{name:"B2 Hub Habitat Testnet Explorer",url:"https://testnet-hub-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Hub Testnet",nativeCurrency:{name:"BSquared Token",symbol:"B2",decimals:18},networkId:1113,rpc:["https://1113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-hub-rpc.bsquared.network"],shortName:"B2Hub-testnet",slug:"b2-hub-testnet",testnet:!0},ec0={chain:"Core",chainId:1115,explorers:[{name:"Core Scan Testnet",url:"https://scan.test.btcs.network",standard:"EIP3091",icon:{url:"ipfs://QmdUgiGaD6fGjhb9x1NvfccvEBBFq2YHSm9yb8FNhpwHkW",width:512,height:512,format:"png"}}],faucets:["https://scan.test.btcs.network/faucet"],icon:{url:"ipfs://QmdUgiGaD6fGjhb9x1NvfccvEBBFq2YHSm9yb8FNhpwHkW",width:512,height:512,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Testnet",nativeCurrency:{name:"Core Blockchain Testnet Native Token",symbol:"tCORE",decimals:18},networkId:1115,rpc:["https://1115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.btcs.network/"],shortName:"tcore",slip44:1,slug:"core-blockchain-testnet",testnet:!0},tc0={chain:"Core",chainId:1116,explorers:[{name:"Core Scan",url:"https://scan.coredao.org",standard:"EIP3091",icon:{url:"ipfs://QmdUgiGaD6fGjhb9x1NvfccvEBBFq2YHSm9yb8FNhpwHkW",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdUgiGaD6fGjhb9x1NvfccvEBBFq2YHSm9yb8FNhpwHkW",width:512,height:512,format:"png"},infoURL:"https://www.coredao.org",name:"Core Blockchain Mainnet",nativeCurrency:{name:"Core Blockchain Native Token",symbol:"CORE",decimals:18},networkId:1116,rpc:["https://1116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.coredao.org/","https://rpc-core.icecreamswap.com","https://core.drpc.org","wss://core.drpc.org"],shortName:"core",slug:"core-blockchain",testnet:!1},nc0={chain:"DOGS",chainId:1117,explorers:[{name:"Dogcoin",url:"https://explorer.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Mainnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:1117,rpc:["https://1117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.dogcoin.me"],shortName:"DOGSm",slug:"dogcoin",testnet:!1},ac0={chain:"Habitat",chainId:1123,explorers:[{name:"blockscout",url:"https://testnet-explorer.bsquared.network",standard:"EIP3091",icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",width:640,height:640,format:"png"},infoURL:"https://www.bsquared.network",name:"B2 Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:1123,parent:{type:"L2",chain:"eip155-1113"},rpc:["https://1123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://b2-testnet.alt.technology","https://rpc.ankr.com/b2_testnet","https://testnet-rpc.bsquared.network"],shortName:"B2-testnet",slug:"b2-testnet",testnet:!0,title:"B2 Testnet"},rc0={chain:"defichain-evm",chainId:1130,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Mainnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1130,rpc:[],shortName:"DFI",slip44:1130,slug:"defichain-evm-network",status:"incubating",testnet:!1},ic0={chain:"defichain-evm-testnet",chainId:1131,explorers:[],faucets:[],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com/",name:"DeFiChain EVM Network Testnet",nativeCurrency:{name:"DeFiChain",symbol:"DFI",decimals:18},networkId:1131,rpc:[],shortName:"DFI-T",slip44:1,slug:"defichain-evm-network-testnet",status:"incubating",testnet:!0},sc0={chain:"DFI",chainId:1133,explorers:[{name:"MetaScan",url:"https://meta.defiscan.live",standard:"EIP3091"}],faucets:["http://tc04.mydefichain.com/faucet"],icon:{url:"ipfs://QmdR3YL9F95ajwVwfxAGoEzYwm9w7JNsPSfUPjSaQogVjK",width:512,height:512,format:"svg"},infoURL:"https://meta.defichain.com",name:"DeFiMetaChain Changi Testnet",nativeCurrency:{name:"DeFiChain Token",symbol:"DFI",decimals:18},networkId:1133,rpc:["https://1133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dmc.mydefichain.com/changi","https://testnet-dmc.mydefichain.com:20551"],shortName:"changi",slug:"defimetachain-changi-testnet",testnet:!0},fc0={chain:"ETH",chainId:1135,explorers:[{name:"blockscout",url:"https://blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},infoURL:"https://lisk.com",name:"Lisk",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1135,rpc:["https://1135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.lisk.com"],shortName:"lisk",slip44:134,slug:"lisk",testnet:!1},oc0={chain:"AmStar",chainId:1138,explorers:[{name:"amstarscan-testnet",url:"https://testnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Testnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1138,rpc:["https://1138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.amstarscan.com"],shortName:"ASARt",slip44:1,slug:"amstar-testnet",testnet:!0},cc0={chain:"MATH",chainId:1139,explorers:[],faucets:[],infoURL:"https://mathchain.org",name:"MathChain",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1139,rpc:["https://1139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mathchain-asia.maiziqianbao.net/rpc","https://mathchain-us.maiziqianbao.net/rpc"],shortName:"MATH",slug:"mathchain",testnet:!1},dc0={chain:"MATH",chainId:1140,explorers:[],faucets:["https://scan.boka.network/#/Galois/faucet"],infoURL:"https://mathchain.org",name:"MathChain Testnet",nativeCurrency:{name:"MathChain",symbol:"MATH",decimals:18},networkId:1140,rpc:["https://1140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galois-hk.maiziqianbao.net/rpc"],shortName:"tMATH",slip44:1,slug:"mathchain-testnet",testnet:!0},Nie={chain:"Flag",chainId:1147,explorers:[{name:"Flag Testnet Explorer",url:"https://testnet-explorer.flagscan.xyz",standard:"EIP3091"}],faucets:["https://faucet.flagscan.xyz"],icon:{url:"ipfs://bafybeibcrxeavdxpwwmj4mc6hhp232nkrfbpvfpngcqux2v5rmoshycj3u",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.flagscan.xyz",name:"Flag Testnet",nativeCurrency:{name:"Flag Testnet",symbol:"FLAG",decimals:18},networkId:1147,rpc:["https://1147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.flagscan.xyz"],shortName:"tFLAG",slug:"flag-testnet",testnet:!0},lc0={chain:"Plexchain",chainId:1149,explorers:[{name:"Plexchain Explorer",url:"https://explorer.plexfinance.us",standard:"EIP3091",icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcXzfMNSQ7SZzKemNquVoXyG5ergdqCGeLWjRYETGBTUM",width:256,height:256,format:"png"},infoURL:"https://plexfinance.us/",name:"Symplexia Smart Chain",nativeCurrency:{name:"Plex Native Token",symbol:"PLEX",decimals:18},networkId:1149,rpc:["https://1149.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://plex-rpc.plexfinance.us"],shortName:"Plexchain",slug:"symplexia-smart-chain",testnet:!1},pc0={chain:"Origin",chainId:1170,explorers:[{name:"Origin Explorer",url:"https://evm-explorer.origin.uptick.network",standard:"none",icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRGJ6PqYHDTWuUQ6xfnK8S82NzRXiMjTnSGat9qtLuaLP",width:400,height:400,format:"png"},infoURL:"https://www.uptick.network",name:"Origin Testnet",nativeCurrency:{name:"Origin",symbol:"UOC",decimals:18},networkId:1170,rpc:["https://1170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.origin.uptick.network"],shortName:"auoc",slip44:1,slug:"origin-testnet",testnet:!0},uc0={chain:"SHT",chainId:1177,explorers:[{name:"Smart Host Teknoloji TESTNET Explorer",url:"https://s2.tl.web.tr:4000",standard:"EIP3091",icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTrLGHyQ1Le25Q7EgNSF5Qq8D2SocKvroDkLqurdBuSQQ",width:1655,height:1029,format:"png"},infoURL:"https://smart-host.com.tr",name:"Smart Host Teknoloji TESTNET",nativeCurrency:{name:"Smart Host Teknoloji TESTNET",symbol:"tSHT",decimals:18},networkId:1177,rpc:["https://1177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://s2.tl.web.tr:4041"],shortName:"sht",slip44:1,slug:"smart-host-teknoloji-testnet",testnet:!0},yc0={chain:"MOS",chainId:1188,explorers:[{name:"mosscan",url:"https://www.mosscan.com",standard:"none",icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"}}],faucets:[],icon:{url:"ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",width:51,height:50,format:"png"},infoURL:"https://www.mosscan.com",name:"ClubMos Mainnet",nativeCurrency:{name:"ClubMos",symbol:"MOS",decimals:18},networkId:1188,rpc:["https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mosscan.com"],shortName:"MOS",slug:"clubmos",testnet:!1},mc0={chain:"IORA",chainId:1197,explorers:[{name:"ioraexplorer",url:"https://explorer.iorachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiehps5cqdhqottu2efo4jeehwpkz5rbux3cjxd75rm6rjm4sgs2wi",width:250,height:250,format:"png"},infoURL:"https://iorachain.com",name:"Iora Chain",nativeCurrency:{name:"Iora",symbol:"IORA",decimals:18},networkId:1197,rpc:["https://1197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.iorachain.com"],shortName:"iora",slug:"iora-chain",testnet:!1},bc0={chain:"CuckooAI",chainId:1200,explorers:[{name:"Cuckoo Chain Explorer",url:"https://scan.cuckoo.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZjVDfk56DjqkCPymaweJJaj9ASGjjgcwJ95XsFDzj9us",width:512,height:512,format:"png"},infoURL:"https://cuckoo.network",name:"Cuckoo Chain",nativeCurrency:{name:"CuckooAI",symbol:"CAI",decimals:18},networkId:1200,rpc:["https://1200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.cuckoo.network","wss://mainnet-rpc.cuckoo.network"],shortName:"cai",slug:"cuckoo-chain",testnet:!1,title:"Cuckoo Chain"},hc0={chain:"Evanesco Testnet",chainId:1201,explorers:[],faucets:[],infoURL:"https://evanesco.org/",name:"Evanesco Testnet",nativeCurrency:{name:"AVIS",symbol:"AVIS",decimals:18},networkId:1201,rpc:["https://1201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed5.evanesco.org:8547"],shortName:"avis",slip44:1,slug:"evanesco-testnet",testnet:!0},gc0={chain:"WTT",chainId:1202,explorers:[{name:"WTTScout",url:"https://explorer.cadaut.com",standard:"EIP3091"}],faucets:[],infoURL:"http://www.cadaut.com",name:"World Trade Technical Chain Mainnet",nativeCurrency:{name:"World Trade Token",symbol:"WTT",decimals:18},networkId:2048,rpc:["https://1202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cadaut.com","wss://rpc.cadaut.com/ws"],shortName:"wtt",slug:"world-trade-technical-chain",testnet:!1},vc0={chain:"SaitaBlockChain(SBC)",chainId:1209,explorers:[{name:"Saitascan explorer",url:"https://saitascan.io",standard:"none",icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVFWTqfqnMXbiPKpDFucE9QSQ1SVsUWs4HxBqRGjgQCbu",width:974,height:263,format:"png"},infoURL:"https://saitachain.com",name:"SaitaBlockChain(SBC)",nativeCurrency:{name:"SaitaBlockChain(SBC)",symbol:"STC",decimals:18},networkId:1209,rpc:["https://1209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.saitascan.io"],shortName:"SBC",slug:"saitablockchain-sbc",testnet:!1},Tc0={chain:"CuckooAI",chainId:1210,explorers:[{name:"Cuckoo Sepolia Explorer",url:"https://testnet-scan.cuckoo.network",standard:"EIP3091"}],faucets:["https://cuckoo.network/portal/faucet/"],icon:{url:"ipfs://QmZjVDfk56DjqkCPymaweJJaj9ASGjjgcwJ95XsFDzj9us",width:512,height:512,format:"png"},infoURL:"https://cuckoo.network",name:"Cuckoo Sepolia",nativeCurrency:{name:"CuckooAI",symbol:"CAI",decimals:18},networkId:1210,rpc:["https://1210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cuckoo.network","wss://testnet-rpc.cuckoo.network"],shortName:"caisepolia",slug:"cuckoo-sepolia",testnet:!0,title:"Cuckoo AI Testnet Sepolia"},_c0={chain:"POPCATEUM",chainId:1213,explorers:[{name:"popcateum explorer",url:"https://explorer.popcateum.org",standard:"none"}],faucets:[],infoURL:"https://popcateum.org",name:"Popcateum Mainnet",nativeCurrency:{name:"Popcat",symbol:"POP",decimals:18},networkId:1213,rpc:["https://1213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.popcateum.org"],shortName:"popcat",slug:"popcateum",testnet:!1},wc0={chain:"ENTER",chainId:1214,explorers:[{name:"Enter Explorer - Expenter",url:"https://explorer.entercoin.net",standard:"EIP3091",icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmb2UYVc1MjLPi8vhszWRxqBJYoYkWQVxDJRSmtrgk6j2E",width:64,height:64,format:"png"},infoURL:"https://entercoin.net",name:"EnterChain Mainnet",nativeCurrency:{name:"EnterCoin",symbol:"ENTER",decimals:18},networkId:1214,rpc:["https://1214.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.entercoin.net/"],shortName:"enter",slug:"enterchain",testnet:!1},xc0={chain:"1220",chainId:1220,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmXo2p1i4zsbTNEu41EjjrhdmbKFDGHEHeADXZ3x2fgNKE/1682003789585.jpeg",width:3600,height:3600,format:"jpeg"},infoURL:"https://flagblockchain.com/",name:"Flag Testnet",nativeCurrency:{name:"FLAG",symbol:"FLAG",decimals:18},networkId:1220,redFlags:[],rpc:[],shortName:"Flag",slug:"flag-testnet-flag",status:"deprecated",testnet:!0},Ic0={chain:"ETH",chainId:1221,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1221,rpc:["https://1221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.cyclenetwork.io"],shortName:"Cycle",slug:"cycle-network-testnet",testnet:!0},Ec0={chain:"ETH",chainId:1223,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Testnet Jellyfish",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1223,rpc:["https://1223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jellyfish-rpc-testnet.cyclenetwork.io"],shortName:"cyclej",slug:"cycle-network-testnet-jellyfish",testnet:!0},Dc0={chain:"HYB",chainId:1224,explorers:[{name:"Hybrid Testnet",url:"https://explorer.buildonhybrid.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGfvH9qfvbMXYKosS1nHbw3q5UtFJky4hdMDmmKDTx8Y",width:250,height:250,format:"png"},infoURL:"https://buildonhybrid.com",name:"Hybrid Testnet (Deprecated)",nativeCurrency:{name:"Hybrid",symbol:"HYB",decimals:18},networkId:1224,rpc:["https://1224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.buildonhybrid.com"],shortName:"hyb_deprecated",slug:"hybrid-testnet-deprecated",status:"deprecated",testnet:!0},Cc0={chain:"HYB",chainId:1225,explorers:[{name:"Hybrid Testnet",url:"https://explorer.buildonhybrid.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGfvH9qfvbMXYKosS1nHbw3q5UtFJky4hdMDmmKDTx8Y",width:250,height:250,format:"png"},infoURL:"https://buildonhybrid.com",name:"Hybrid Testnet",nativeCurrency:{name:"Hybrid",symbol:"HYB",decimals:18},networkId:1225,rpc:["https://1225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hybrid-testnet.rpc.caldera.xyz/http","wss://hybrid-testnet.rpc.caldera.xyz/ws"],shortName:"hyb",slug:"hybrid-testnet",status:"active",testnet:!0},Sc0={chain:"EXZO",chainId:1229,explorers:[{name:"blockscout",url:"https://exzoscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeYpc2JfEsHa2Bh11SKRx3sgDtMeg6T8KpXNLepBEKnbJ",width:128,height:128,format:"png"},infoURL:"https://exzo.network",name:"Exzo Network Mainnet",nativeCurrency:{name:"Exzo",symbol:"XZO",decimals:18},networkId:1229,rpc:["https://1229.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.exzo.technology"],shortName:"xzo",slug:"exzo-network",testnet:!1},Ac0={chain:"Ultron",chainId:1230,explorers:[{name:"Ultron Testnet Explorer",url:"https://explorer.ultron-dev.io",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Testnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1230,rpc:["https://1230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-dev.io"],shortName:"UltronTestnet",slip44:1,slug:"ultron-testnet",testnet:!0},kc0={chain:"Ultron",chainId:1231,explorers:[{name:"Ultron Explorer",url:"https://ulxscan.com",standard:"none",icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPC6odFVyAQrXJQaZJVFpEQfRNbzZ5BjDZ7KBKmXPaYDw",width:512,height:512,format:"png"},infoURL:"https://ultron.foundation",name:"Ultron Mainnet",nativeCurrency:{name:"Ultron",symbol:"ULX",decimals:18},networkId:1231,rpc:["https://1231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ultron-rpc.net"],shortName:"UtronMainnet",slug:"ultron",testnet:!1},Pc0={chain:"STEP",chainId:1234,explorers:[{name:"StepScan",url:"https://stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Network",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:1234,parent:{type:"L2",chain:"eip155-43114",bridges:[{url:"https://bridge.step.network"}]},rpc:["https://1234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.step.network"],shortName:"step",slug:"step-network",testnet:!1,title:"Step Main Network"},Rc0={chain:"ITX",chainId:1235,explorers:[{name:"ITX Mainnet Explorer (Blockscout)",url:"https://explorer.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.itxchain.com",name:"ITX Mainnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:1235,rpc:["https://1235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.itxchain.com"],shortName:"itx",slug:"itx",testnet:!1},Lc0={chain:"ARC",chainId:1243,explorers:[{name:"archiescan",url:"https://app.archiescan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Mainnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1243,rpc:["https://1243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main-1.archiechain.io"],shortName:"ARC",slug:"arc",testnet:!1},Mc0={chain:"ARC",chainId:1244,explorers:[{name:"archiescan",url:"https://testnet.archiescan.io",standard:"none"}],faucets:["https://faucet.archiechain.io"],icon:{url:"ipfs://bafybeiady63oqduls2pm4aaykzjhahblagokhnpsc5qeq5dmkxqelh7i2i",width:512,height:512,format:"png"},infoURL:"https://archiechain.io/",name:"ARC Testnet",nativeCurrency:{name:"ARC",symbol:"ARC",decimals:18},networkId:1244,rpc:["https://1244.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test-1.archiechain.io"],shortName:"TARC",slip44:1,slug:"arc-testnet",testnet:!0},Bc0={chain:"omplatform",chainId:1246,explorers:[{name:"OMSCAN - Expenter",url:"https://omscan.omplatform.com",standard:"none"}],faucets:[],infoURL:"https://omplatform.com/",name:"OM Platform Mainnet",nativeCurrency:{name:"OMCOIN",symbol:"OM",decimals:18},networkId:1246,rpc:["https://1246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-cnx.omplatform.com/"],shortName:"om",slug:"om-platform",testnet:!1},Nc0={chain:"Dogether",chainId:1248,explorers:[{name:"DogetherExplorer",url:"https://explorer.dogether.dog",standard:"EIP3091"}],faucets:[],infoURL:"https://www.dogether.dog/",name:"Dogether Mainnet",nativeCurrency:{name:"Dogether",symbol:"dogeth",decimals:18},networkId:1248,rpc:["https://1248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogether.dog/"],shortName:"Dogether",slug:"dogether",testnet:!1},Fc0={chain:"CICT",chainId:1252,explorers:[{name:"CICscan",url:"https://testnet.cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:["https://cicfaucet.com"],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Testnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CICT",decimals:18},networkId:1252,rpc:["https://1252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testapi.cicscan.com"],shortName:"CICT",slip44:1,slug:"cic-chain-testnet",testnet:!0},Oc0={chain:"HALO",chainId:1280,explorers:[{name:"HALOexplorer",url:"https://browser.halo.land",standard:"none"}],faucets:[],infoURL:"https://halo.land/#/",name:"HALO Mainnet",nativeCurrency:{name:"HALO",symbol:"HO",decimals:18},networkId:1280,rpc:["https://1280.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodes.halo.land"],shortName:"HO",slug:"halo",testnet:!1},Vc0={chain:"MOON",chainId:1284,explorers:[{name:"moonscan",url:"https://moonbeam.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonbeam/",name:"Moonbeam",nativeCurrency:{name:"Glimmer",symbol:"GLMR",decimals:18},networkId:1284,rpc:["https://1284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbeam.network","wss://wss.api.moonbeam.network","https://moonbeam.public.blastapi.io","wss://moonbeam.public.blastapi.io","https://moonbeam-rpc.dwellir.com","wss://moonbeam-rpc.dwellir.com","https://moonbeam.api.onfinality.io/public","wss://moonbeam.api.onfinality.io/public-ws","https://moonbeam.unitedbloc.com","wss://moonbeam.unitedbloc.com","https://moonbeam-rpc.publicnode.com","wss://moonbeam-rpc.publicnode.com","https://moonbeam.drpc.org","wss://moonbeam.drpc.org"],shortName:"mbeam",slug:"moonbeam",testnet:!1},$c0={chain:"MOON",chainId:1285,explorers:[{name:"moonscan",url:"https://moonriver.moonscan.io",standard:"none"}],faucets:[],infoURL:"https://moonbeam.network/networks/moonriver/",name:"Moonriver",nativeCurrency:{name:"Moonriver",symbol:"MOVR",decimals:18},networkId:1285,rpc:["https://1285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonriver.moonbeam.network","wss://wss.api.moonriver.moonbeam.network","https://moonriver.public.blastapi.io","wss://moonriver.public.blastapi.io","https://moonriver-rpc.dwellir.com","wss://moonriver-rpc.dwellir.com","https://moonriver.api.onfinality.io/public","wss://moonriver.api.onfinality.io/public-ws","https://moonriver.unitedbloc.com","wss://moonriver.unitedbloc.com","https://moonriver-rpc.publicnode.com","wss://moonriver-rpc.publicnode.com","https://moonriver.drpc.org","wss://moonriver.drpc.org"],shortName:"mriver",slug:"moonriver",testnet:!1},Uc0={chain:"MOON",chainId:1286,explorers:[],faucets:[],name:"Moonrock old",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1286,rpc:[],shortName:"mrock-old",slug:"moonrock-old",status:"deprecated",testnet:!1},qc0={chain:"MOON",chainId:1287,explorers:[{name:"moonscan",url:"https://moonbase.moonscan.io",standard:"none"}],faucets:[],features:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/moonbase/",name:"Moonbase Alpha",nativeCurrency:{name:"Dev",symbol:"DEV",decimals:18},networkId:1287,redFlags:[],rpc:["https://1287.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonbase.moonbeam.network","wss://wss.api.moonbase.moonbeam.network","https://moonbase-alpha.public.blastapi.io","wss://moonbase-alpha.public.blastapi.io","https://moonbase-rpc.dwellir.com","wss://moonbase-rpc.dwellir.com","https://moonbeam-alpha.api.onfinality.io/public","wss://moonbeam-alpha.api.onfinality.io/public-ws","https://moonbase.unitedbloc.com","wss://moonbase.unitedbloc.com","https://moonbase-alpha.drpc.org","wss://moonbase-alpha.drpc.org"],shortName:"mbase",slip44:1,slug:"moonbase-alpha",testnet:!0},Hc0={chain:"MOON",chainId:1288,explorers:[],faucets:[],infoURL:"https://docs.moonbeam.network/learn/platform/networks/overview/",name:"Moonrock",nativeCurrency:{name:"Rocs",symbol:"ROC",decimals:18},networkId:1288,rpc:["https://1288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.api.moonrock.moonbeam.network","wss://wss.api.moonrock.moonbeam.network"],shortName:"mrock",slug:"moonrock",testnet:!1},zc0={chain:"SWTR",chainId:1291,explorers:[{name:"Swisstronik Scout",url:"https://explorer-evm.testnet.swisstronik.com",standard:"none"}],faucets:["https://faucet.testnet.swisstronik.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",width:256,height:256,format:"svg"},infoURL:"https://www.swisstronik.com",name:"Swisstronik Testnet",nativeCurrency:{name:"Swisstronik",symbol:"SWTR",decimals:18},networkId:1291,rpc:["https://1291.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.testnet.swisstronik.com"],shortName:"swtr",slip44:1,slug:"swisstronik-testnet",testnet:!0},Wc0={chain:"Bobabeam",chainId:1294,explorers:[{name:"Bobabeam block explorer",url:"https://blockexplorer.bobabeam.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabeam",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1294,rpc:["https://1294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabeam.boba.network","wss://wss.bobabeam.boba.network","https://replica.bobabeam.boba.network","wss://replica-wss.bobabeam.boba.network"],shortName:"Bobabeam",slug:"bobabeam",status:"deprecated",testnet:!1},jc0={chain:"Bobabase Testnet",chainId:1297,explorers:[{name:"Bobabase block explorer",url:"https://blockexplorer.bobabase.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobabase Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:1297,rpc:["https://1297.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bobabase.boba.network","wss://wss.bobabase.boba.network","https://replica.bobabase.boba.network","wss://replica-wss.bobabase.boba.network"],shortName:"Bobabase",slip44:1,slug:"bobabase-testnet",status:"deprecated",testnet:!0},Gc0={chain:"DOS",chainId:1311,explorers:[{name:"dos-testnet",url:"https://test.doscan.io",standard:"EIP3091"}],faucets:[],infoURL:"http://doschain.io/",name:"Dos Fuji Subnet",nativeCurrency:{name:"Dos Native Token",symbol:"DOS",decimals:18},networkId:1311,rpc:["https://1311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com/jsonrpc"],shortName:"TDOS",slug:"dos-fuji-subnet",testnet:!0},Kc0={chain:"JaiHoChain",chainId:1313,explorers:[{name:"JaiHo Chain Explorer",url:"https://jaihochain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUtKXY4N9kNCs9hAkAyi1nsvMWvDzs5vUjgYXTJoZCYqu",width:450,height:450,format:"png"},infoURL:"https://jaihochain.com",name:"JaiHo Chain",nativeCurrency:{name:"JaiHo",symbol:"JaiHo",decimals:18},networkId:1313,rpc:["https://1313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jaihochain.com"],shortName:"JHC",slug:"jaiho-chain",testnet:!1},Qc0={chain:"ALYX",chainId:1314,explorers:[{name:"alyxscan",url:"https://www.alyxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifd43fcvh77mdcwjrpzpnlhthounc6b4u645kukqpqhduaveatf6i",width:2481,height:2481,format:"png"},infoURL:"https://www.alyxchain.com",name:"Alyx Mainnet",nativeCurrency:{name:"Alyx Chain Native Token",symbol:"ALYX",decimals:18},networkId:1314,rpc:["https://1314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alyxchain.com"],shortName:"alyx",slug:"alyx",testnet:!1},Yc0={chain:"AIA",chainId:1319,explorers:[{name:"AIA Chain Explorer Mainnet",url:"https://aiascan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org/",name:"AIA Mainnet",nativeCurrency:{name:"AIA Mainnet",symbol:"AIA",decimals:18},networkId:1319,rpc:["https://1319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1.aiachain.org","https://aia-dataseed2.aiachain.org","https://aia-dataseed3.aiachain.org","https://aia-dataseed4.aiachain.org"],shortName:"aia",slug:"aia",testnet:!1},Jc0={chain:"AIA",chainId:1320,explorers:[{name:"AIA Chain Explorer Testnet",url:"https://testnet.aiascan.com",standard:"EIP3091"}],faucets:["https://aia-faucet-testnet.aiachain.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbBMMhjTTGAGjmqMpJm3ufFrtdkfEXCFyXYgz7nnZzsy",width:160,height:160,format:"png"},infoURL:"https://aiachain.org",name:"AIA Testnet",nativeCurrency:{name:"AIA Testnet",symbol:"AIA",decimals:18},networkId:1320,rpc:["https://1320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aia-dataseed1-testnet.aiachain.org"],shortName:"aiatestnet",slip44:1,slug:"aia-testnet",testnet:!0},Xc0={chain:"Sei",chainId:1328,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://atlantic-2.app.sei.io/faucet"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Testnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:1328,rpc:["https://1328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-testnet.sei-apis.com","wss://evm-ws-testnet.sei-apis.com"],shortName:"sei-testnet",slug:"sei-testnet",testnet:!0},Zc0={chain:"Sei",chainId:1329,explorers:[{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmTWt4P7guuSSK5GhpHpzsFh1ccB6PD9Vsk5sVhJYgjKFM",width:360,height:360,format:"png"},infoURL:"https://www.sei.io",name:"Sei",nativeCurrency:{name:"Sei",symbol:"Sei",decimals:18},networkId:1329,redFlags:[],rpc:["https://1329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.sei-apis.com","wss://evm-ws.sei-apis.com"],shortName:"sei",slug:"sei",testnet:!1},XFe={chain:"ETH",chainId:1337,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},name:"Localhost",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1337,redFlags:[],rpc:["http://localhost:8545"],shortName:"local",slug:"localhost",testnet:!0},ed0={chain:"Elysium",chainId:1338,explorers:[{name:"Elysium testnet explorer",url:"https://elysium-explorer.vulcanforged.com",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Testnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1338,rpc:["https://1338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elysium-test-rpc.vulcanforged.com"],shortName:"ELST",slip44:1,slug:"elysium-testnet",testnet:!0,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},td0={chain:"Elysium",chainId:1339,explorers:[{name:"Elysium mainnet explorer",url:"https://explorer.elysiumchain.tech",standard:"none"}],faucets:[],infoURL:"https://elysiumscan.vulcanforged.com",name:"Elysium Mainnet",nativeCurrency:{name:"LAVA",symbol:"LAVA",decimals:18},networkId:1339,rpc:["https://1339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.elysiumchain.tech/"],shortName:"ELSM",slug:"elysium",testnet:!1,title:"An L1, carbon-neutral, tree-planting, metaverse dedicated blockchain created by VulcanForged"},nd0={chain:"BLITZ",chainId:1343,explorers:[{name:"BLITZ Explorer",url:"https://subnets-test.avax.network/blitz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://blitz.gg",name:"Blitz Subnet",nativeCurrency:{name:"BLITZ GAS",symbol:"BGAS",decimals:18},networkId:1343,rpc:["https://1343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/blitz/testnet/rpc"],shortName:"blitz",slug:"blitz-subnet",testnet:!0},ad0={chain:"CIC",chainId:1353,explorers:[{name:"CICscan",url:"https://cicscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNekc5gpyrQkeDQcmfJLBrP5fa6GMarB13iy6aHVdQJDU",width:1024,height:768,format:"png"},infoURL:"https://www.cicchain.net",name:"CIC Chain Mainnet",nativeCurrency:{name:"Crazy Internet Coin",symbol:"CIC",decimals:18},networkId:1353,rpc:["https://1353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xapi.cicscan.com"],shortName:"CIC",slug:"cic-chain",testnet:!1},rd0={chain:"ZAFIC",chainId:1369,explorers:[{name:"zafirium-explorer",url:"https://explorer.zakumi.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZT1Wq3P4YbgKBSUmCtgbs5ijPF5d91BzaMPh7Aub8d8t",width:192,height:192,format:"png"},infoURL:"https://www.zakumi.io",name:"Zafirium Mainnet",nativeCurrency:{name:"Zakumi Chain Native Token",symbol:"ZAFIC",decimals:18},networkId:1369,rpc:["https://1369.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.zakumi.io"],shortName:"zafic",slug:"zafirium",testnet:!1},id0={chain:"Ramestta",chainId:1370,explorers:[{name:"ramascan",url:"https://ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Ramestta Mainnet",nativeCurrency:{name:"Rama",symbol:"RAMA",decimals:18},networkId:1370,rpc:["https://1370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.ramestta.com","https://blockchain2.ramestta.com"],shortName:"RAMA",slug:"ramestta",testnet:!1},sd0={chain:"Pingaksha",chainId:1377,explorers:[{name:"Pingaksha",url:"https://pingaksha.ramascan.com",standard:"EIP3091",icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUtnYVBeDMKudGq2Wue25pqYfQEdgbyvzTzoGPMqRGMJZ",width:300,height:300,format:"png"},infoURL:"https://www.ramestta.com",name:"Pingaksha testnet",nativeCurrency:{name:"Rama",symbol:"tRAMA",decimals:18},networkId:1377,rpc:["https://1377.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ramestta.com"],shortName:"tRAMA",slug:"pingaksha-testnet",testnet:!0},fd0={chain:"KLC",chainId:1379,explorers:[{name:"kalarscan",url:"https://explorer.kalarchain.tech",standard:"EIP3091",icon:{url:"ipfs://bafkreidbzzv3lrwlzquhlpl4jcmr54sifhi5ufoek6olb5kjh3h3kvktdq",width:411,height:159,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihfoy2kgf2rebaoicso7z5h7ju46z6gtr64mskkths3qbfkrtnkjm",width:190,height:170,format:"png"},infoURL:"https://kalarchain.tech",name:"Kalar Chain",nativeCurrency:{name:"Kalar",symbol:"KLC",decimals:18},networkId:1379,rpc:["https://1379.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-api.kalarchain.tech"],shortName:"KLC",slug:"kalar-chain",testnet:!1},od0={chain:"AmStar",chainId:1388,explorers:[{name:"amstarscan",url:"https://mainnet.amstarscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmd4TMQdnYxaUZqnVddh5S37NGH72g2kkK38ccCEgdZz1C",width:599,height:563,format:"png"},infoURL:"https://sinso.io",name:"AmStar Mainnet",nativeCurrency:{name:"SINSO",symbol:"SINSO",decimals:18},networkId:1388,rpc:["https://1388.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.amstarscan.com"],shortName:"ASAR",slug:"amstar",testnet:!1},cd0={chain:"Joseon",chainId:1392,explorers:[{name:"BlockExplorer",url:"https://www.blockexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQjwcNRCLXU8JBtSkPLUnbWVrpoqbnZVffpJ9Bu8rG34e",width:148,height:148,format:"svg"},infoURL:"https://www.joseon.com/",name:"Joseon Mainnet",nativeCurrency:{name:"Joseon Mun",symbol:"JSM",decimals:18},networkId:1392,rpc:["https://1392.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.modchain.net/blockchain.joseon.com/rpc"],shortName:"mun",slug:"joseon",testnet:!1},dd0={chain:"Polygon",chainId:1402,explorers:[{name:"blockscout",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet old",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1402,rpc:[],shortName:"zkevmtest",slip44:1,slug:"polygon-zkevm-testnet-old",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet"},ld0={chain:"Silicon",chainId:1414,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1414,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"silicon-sepolia-testnet",slug:"silicon-zkevm-sepolia-testnet",status:"incubating",testnet:!0,title:"Silicon zkEVM Sepolia Testnet"},pd0={chain:"Polygon",chainId:1422,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet Pre Audit-Upgraded",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1422,rpc:[],shortName:"testnet-zkEVM-mango-pre-audit-upgraded",slip44:1,slug:"polygon-zkevm-testnet-pre-audit-upgraded",status:"deprecated",testnet:!0,title:"Polygon zkEVM Testnet Pre Audit-Upgraded"},ud0={chain:"Rikeza",chainId:1433,explorers:[{name:"Rikeza Blockchain explorer",url:"https://rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Mainnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:1433,rpc:["https://1433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rikscan.com"],shortName:"RIK",slug:"rikeza-network",testnet:!1,title:"Rikeza Network Mainnet"},yd0={chain:"LAS",chainId:1440,explorers:[],faucets:[],icon:{url:"ipfs://QmRidubY7BVwC737BQwGEttenP1npAXN7ZNryktE416uUW",width:500,height:500,format:"jpg"},infoURL:"https://dev.livingassets.io/",name:"Living Assets Mainnet",nativeCurrency:{name:"LAS",symbol:"LAS",decimals:18},networkId:1440,rpc:["https://1440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beta.mainnet.livingassets.io/rpc","https://gamma.mainnet.livingassets.io/rpc"],shortName:"LAS",slug:"living-assets",testnet:!1},md0={chain:"Polygon",chainId:1442,explorers:[{name:"Polygon zkEVM explorer",url:"https://explorer.public.zkevm-test.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/solutions/polygon-zkevm/",name:"Polygon zkEVM Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1442,redFlags:[],rpc:["https://1442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public.zkevm-test.net","https://polygon-zkevm-testnet.drpc.org","wss://polygon-zkevm-testnet.drpc.org"],shortName:"testnet-zkEVM-mango",slip44:1,slug:"polygon-zkevm-testnet",testnet:!0,title:"Polygon zkEVM Testnet"},bd0={chain:"GIL",chainId:1452,explorers:[{name:"GIL Explorer",url:"https://explorer.giltestnet.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"GIL Testnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1452,rpc:["https://1452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.giltestnet.com"],shortName:"gil",slip44:1,slug:"gil-testnet",testnet:!0},hd0={chain:"MTC",chainId:1453,explorers:[{name:"MetaExplorer",url:"https://istanbul-explorer.metachain.dev",standard:"EIP3091"}],faucets:["https://istanbul-faucet.metachain.dev"],icon:{url:"ipfs://QmUH2Ph2hW4upvevEAGCaSo7nd8nthqMx5RrHcrnNZ9Y3g",width:512,height:512,format:"svg"},infoURL:"https://metatime.com/en",name:"MetaChain Istanbul",nativeCurrency:{name:"Metatime Coin",symbol:"MTC",decimals:18},networkId:1453,rpc:["https://1453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://istanbul-rpc.metachain.dev"],shortName:"metatimeistanbul",slip44:1453,slug:"metachain-istanbul",testnet:!0,title:"MetaChain Testnet Istanbul"},gd0={chain:"Ctex Scan Blockchain",chainId:1455,explorers:[{name:"Ctex Scan Explorer",url:"https://ctexscan.com",standard:"none"}],faucets:["https://faucet.ctexscan.com"],icon:{url:"ipfs://bafkreid5evn4qovxo6msuekizv5zn7va62tea7w2zpdx5sskconebuhqle",width:800,height:800,format:"png"},infoURL:"https://ctextoken.io",name:"Ctex Scan Blockchain",nativeCurrency:{name:"CTEX",symbol:"CTEX",decimals:18},networkId:1455,rpc:["https://1455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ctexscan.com/"],shortName:"CTEX",slug:"ctex-scan-blockchain",testnet:!1},vd0={chain:"ETH",chainId:1456,explorers:[{name:"ZKbase Block Explorer",url:"https://explorer.zkbase.app",standard:"EIP3091",icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"},infoURL:"https://zkbase.org/",name:"ZKBase Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1456,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.zkbase.app/"}]},redFlags:["reusedChainId"],rpc:["https://1456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.zkbase.app"],shortName:"zkbase",slip44:1,slug:"zkbase",testnet:!1},Td0={chain:"Vitruveo",chainId:1490,explorers:[{name:"Vitruveo Explorer",url:"https://explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Mainnet",nativeCurrency:{name:"Vitruveo Coin",symbol:"VTRU",decimals:18},networkId:1490,rpc:["https://1490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vitruveo.xyz"],shortName:"vitruveo",slug:"vitruveo",testnet:!1,title:"Vitruveo is a blockchain for Creators"},_d0={chain:"IGC",chainId:1499,explorers:[{name:"IGC-Scan",url:"https://igcscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeXuzaYXCDwHgQdpuE9L55JfEChzj11P73Ngrn8vDTE9T",width:1024,height:1024,format:"png"},infoURL:"https://idosgames.com/",name:"iDos Games Chain Testnet",nativeCurrency:{name:"iDos Games Coin",symbol:"IGC",decimals:18},networkId:1499,rpc:["https://1499.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.idos.games"],shortName:"IGC",slug:"idos-games-chain-testnet",testnet:!0},wd0={chain:"ChainX",chainId:1501,explorers:[{name:"bevm canary scan",url:"https://scan-canary.bevm.io",standard:"none"}],faucets:[],features:[],icon:{url:"https://cloudflare-ipfs.com/ipfs/bafkreibvwfrow3w6q5qj2mk6n7yx5oahxzgn3pnghdr76zsyxvc3l5hh7y",width:3600,height:3600,format:"png"},infoURL:"https://chainx.org",name:"BEVM Canary",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1501,redFlags:[],rpc:["https://1501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-canary-1.bevm.io/","https://rpc-canary-2.bevm.io/"],shortName:"chainx",slug:"bevm-canary",testnet:!1},xd0={chain:"Sherpax Mainnet",chainId:1506,explorers:[{name:"Sherpax Mainnet Explorer",url:"https://evm.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Mainnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1506,rpc:["https://1506.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sherpax.io/rpc"],shortName:"Sherpax",slug:"sherpax",testnet:!1},Id0={chain:"Sherpax Testnet",chainId:1507,explorers:[{name:"Sherpax Testnet Explorer",url:"https://evm-pre.sherpax.io",standard:"none"}],faucets:[],infoURL:"https://sherpax.io/",name:"Sherpax Testnet",nativeCurrency:{name:"KSX",symbol:"KSX",decimals:18},networkId:1507,rpc:["https://1507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sherpax-testnet.chainx.org/rpc"],shortName:"SherpaxTestnet",slip44:1,slug:"sherpax-testnet",testnet:!0},Ed0={chain:"BMC",chainId:1515,explorers:[{name:"Beagle Messaging Chain Explorer",url:"https://eth.beagle.chat",standard:"EIP3091"}],faucets:["https://faucet.beagle.chat/"],infoURL:"https://beagle.chat/",name:"Beagle Messaging Chain",nativeCurrency:{name:"Beagle",symbol:"BG",decimals:18},networkId:1515,rpc:["https://1515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beagle.chat/eth"],shortName:"beagle",slug:"beagle-messaging-chain",testnet:!1},Dd0={chain:"TENET",chainId:1559,explorers:[{name:"TenetScan Mainnet",url:"https://tenetscan.io",standard:"EIP3091",icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"}}],faucets:[],icon:{url:"ipfs://Qmc1gqjWTzNo4pyFSGtQuCu7kRSZZBUVybtTjHn2nNEEPA",width:640,height:640,format:"svg"},infoURL:"https://tenet.org/",name:"Tenet",nativeCurrency:{name:"TENET",symbol:"TENET",decimals:18},networkId:1559,rpc:["https://1559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tenet.org","https://tenet-evm.publicnode.com","wss://tenet-evm.publicnode.com"],shortName:"tenet",slug:"tenet",testnet:!1,title:"Tenet Mainnet"},Cd0={chain:"StarCHAIN",chainId:1570,explorers:[{name:"StarCHAIN Explorer",url:"https://testnet.starchainscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.starworksglobal.com",name:"StarCHAIN Testnet",nativeCurrency:{name:"STARX",symbol:"STARX",decimals:18},networkId:1570,rpc:["https://1570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc1.starworksglobal.com"],shortName:"starchain-testnet",slug:"starchain-testnet",testnet:!0},Sd0={chain:"StarCHAIN",chainId:1578,explorers:[{name:"StarCHAIN Explorer",url:"https://starchainscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.starworksglobal.com",name:"StarCHAIN",nativeCurrency:{name:"STARX",symbol:"STARX",decimals:18},networkId:1578,rpc:["https://1578.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.starworksglobal.com"],shortName:"starchain",slug:"starchain",testnet:!1},Ad0={chain:"gETH",chainId:1582,explorers:[],faucets:[],features:[],icon:{url:"ipfs://bafybeibfpls2ealp4e5fdeoxessfjjkldgjnrcx2erph7524pg7alskk6a/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubstestnet.com",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"gETH",decimals:18},networkId:1582,redFlags:[],rpc:[],shortName:"Bubs",slug:"bubs-testnet",status:"deprecated",testnet:!0},kd0={chain:"Avalanche",chainId:1614,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0305I1 Testnet",nativeCurrency:{name:"QI0305I1 Testnet Token",symbol:"PDC",decimals:18},networkId:1614,redFlags:[],rpc:["https://1614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0305I1 Testnet",slug:"qi0305i1-testnet",testnet:!0},Pd0={chain:"ETINS",chainId:1617,explorers:[{name:"Ethereum Inscription Explorer",url:"https://explorer.etins.org",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.etins.org",name:"Ethereum Inscription Mainnet",nativeCurrency:{name:"Ethereum Inscription",symbol:"ETINS",decimals:18},networkId:1617,rpc:["https://1617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.etins.org"],shortName:"etins",slug:"ethereum-inscription",testnet:!1},Rd0={chain:"Catechain",chainId:1618,explorers:[],faucets:[],infoURL:"https://catechain.com",name:"Catecoin Chain Mainnet",nativeCurrency:{name:"Catecoin",symbol:"CATE",decimals:18},networkId:1618,rpc:["https://1618.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://send.catechain.com"],shortName:"cate",slug:"catecoin-chain",testnet:!1},Ld0={chain:"ATH",chainId:1620,explorers:[],faucets:[],infoURL:"https://atheios.org",name:"Atheios",nativeCurrency:{name:"Atheios Ether",symbol:"ATH",decimals:18},networkId:11235813,rpc:["https://1620.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.atheios.org/"],shortName:"ath",slip44:1620,slug:"atheios",testnet:!1},Md0={chain:"Gravity",chainId:1625,explorers:[{name:"Gravity Alpha Mainnet Explorer",url:"https://explorer.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Mainnet",nativeCurrency:{name:"Gravity",symbol:"G.",decimals:18},networkId:1625,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gravity.xyz"}]},rpc:["https://1625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gravity.xyz"],shortName:"gravity",slug:"gravity-alpha",testnet:!1},Bd0={chain:"Pivotal",chainId:1648,explorers:[{name:"Pivotal Scan",url:"https://pivotalscan.xyz",standard:"EIP3091"}],faucets:[],infoURL:"http://thepivotal.xyz/",name:"Pivotal Mainnet",nativeCurrency:{name:"Pivotal Plus",symbol:"PLUS",decimals:18},networkId:1648,rpc:["https://1648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.pivotalprotocol.com"],shortName:"pivotal-mainnet",slug:"pivotal",testnet:!1},Nd0={chain:"btachain",chainId:1657,explorers:[],faucets:[],infoURL:"https://bitcoinasset.io/",name:"Btachain",nativeCurrency:{name:"Bitcoin Asset",symbol:"BTA",decimals:18},networkId:1657,rpc:["https://1657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed1.btachain.com/"],shortName:"bta",slug:"btachain",testnet:!1},Fd0={chain:"LQC",chainId:1662,explorers:[{name:"Liquichain Mainnet",url:"https://mainnet.liquichain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://liquichain.io/",name:"Liquichain",nativeCurrency:{name:"Licoin",symbol:"LCN",decimals:18},networkId:1662,redFlags:["reusedChainId"],rpc:[],shortName:"Liquichain",slug:"liquichain",testnet:!1},Od0={chain:"Gobi",chainId:1663,explorers:[{name:"Gobi Testnet Block Explorer",url:"https://gobi-explorer.horizen.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:["https://faucet.horizen.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen Gobi Testnet",nativeCurrency:{name:"Testnet Zen",symbol:"tZEN",decimals:18},networkId:1663,rpc:["https://1663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gobi-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_gobi_testnet"],shortName:"Gobi",slip44:1,slug:"horizen-gobi-testnet",testnet:!0},Vd0={chain:"ETH",chainId:1686,explorers:[{name:"blockscout",url:"https://testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1686,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://testnet-bridge.mintchain.io"}]},rpc:["https://1686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mintchain.io"],shortName:"minttest",slug:"mint-testnet",testnet:!0},$d0={chain:"ETH",chainId:1687,explorers:[{name:"blockscout",url:"https://sepolia-testnet-explorer.mintchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",width:80,height:80,format:"png"},infoURL:"https://www.mintchain.io",name:"Mint Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1687,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sepolia-testnet-bridge.mintchain.io"}]},rpc:["https://1687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-testnet-rpc.mintchain.io"],shortName:"mintsepoliatest",slug:"mint-sepolia-testnet",testnet:!0},Ud0={chain:"LUDAN",chainId:1688,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigzeanzqgxrzzep45t776ovbwi242poqxbryuu2go5eedeuwwcsay",width:512,height:512,format:"png"},infoURL:"https://www.ludan.org/",name:"LUDAN Mainnet",nativeCurrency:{name:"LUDAN",symbol:"LUDAN",decimals:18},networkId:1688,rpc:["https://1688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ludan.org/"],shortName:"LUDAN",slug:"ludan",testnet:!1},qd0={chain:"ETH",chainId:1701,explorers:[{name:"Anytype Explorer",url:"https://explorer.anytype.io",standard:"EIP3091",icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"}}],faucets:["https://evm.anytype.io/faucet"],icon:{url:"ipfs://QmaARJiAQUn4Z6wG8GLEry3kTeBB3k6RfHzSZU9SPhBgcG",width:200,height:200,format:"png"},infoURL:"https://evm.anytype.io",name:"Anytype EVM Chain",nativeCurrency:{name:"ANY",symbol:"ANY",decimals:18},networkId:1701,rpc:["https://1701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.anytype.io"],shortName:"AnytypeChain",slug:"anytype-evm-chain",testnet:!1},Hd0={chain:"TBSI",chainId:1707,explorers:[{name:"blockscout",url:"https://exp.blockchain.or.th",standard:"EIP3091"}],faucets:[],infoURL:"https://blockchain.or.th",name:"TBSI Mainnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1707,rpc:["https://1707.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blockchain.or.th"],shortName:"TBSI",slug:"tbsi",testnet:!1,title:"Thai Blockchain Service Infrastructure Mainnet"},zd0={chain:"TBSI",chainId:1708,explorers:[{name:"blockscout",url:"https://exp.testnet.blockchain.or.th",standard:"EIP3091"}],faucets:["https://faucet.blockchain.or.th"],infoURL:"https://blockchain.or.th",name:"TBSI Testnet",nativeCurrency:{name:"Jinda",symbol:"JINDA",decimals:18},networkId:1708,rpc:["https://1708.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.blockchain.or.th"],shortName:"tTBSI",slip44:1,slug:"tbsi-testnet",testnet:!0,title:"Thai Blockchain Service Infrastructure Testnet"},Wd0={chain:"DRC",chainId:1717,explorers:[{name:"Doric Explorer",url:"https://explorer.doric.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdFEozqneC8abhpfgtGpvfKpWVEbL8eMZjJKtUPuBTanK",width:988,height:901,format:"png"},infoURL:"https://doric.network",name:"Doric Network",nativeCurrency:{name:"Doric Native Token",symbol:"DRC",decimals:18},networkId:1717,rpc:["https://1717.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.doric.network"],shortName:"DRC",slug:"doric-network",testnet:!1},jd0={chain:"PLT",chainId:1718,explorers:[{name:"Palettescan",url:"https://palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Mainnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:1718,rpc:["https://1718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-rpc.com:22000"],shortName:"PCM",slug:"palette-chain",testnet:!1},Gd0={chain:"Reya",chainId:1729,explorers:[{name:"Reya Network Explorer",url:"https://explorer.reya.network",standard:"EIP3091"}],faucets:[],infoURL:"https://reya.network",name:"Reya Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1729,rpc:["https://1729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.reya.network","wss://ws.reya.network"],shortName:"reya",slug:"reya-network",testnet:!1},Kd0={chain:"Metal L2 Testnet",chainId:1740,explorers:[{name:"blockscout",url:"https://testnet.explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2 Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1740,rpc:["https://1740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.metall2.com"],shortName:"metall2-testnet",slug:"metal-l2-testnet",testnet:!0},Qd0={chain:"Metal L2",chainId:1750,explorers:[{name:"blockscout",url:"https://explorer.metall2.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmesm61n8vVVDEeZU7npz39aQYofes9vMfXYwWM4JehLFS",width:250,height:250,format:"svg"},infoURL:"https://metall2.com",name:"Metal L2",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1750,rpc:["https://1750.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metall2.com"],shortName:"metall2",slug:"metal-l2",testnet:!1},Yd0={chain:"mainnet",chainId:1773,explorers:[{name:"PartyExplorer",url:"https://partyexplorer.co",standard:"EIP3091",icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmerDBFoXvgev2xx9U71gAaAK4CtxaaQVaAPf9Qi6UF9MS",width:400,height:400,format:"jpg"},name:"PartyChain",nativeCurrency:{name:"Grams",symbol:"GRAMS",decimals:18},networkId:1773,rpc:["https://1773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tea.mining4people.com/rpc","http://172.104.194.36:8545"],shortName:"TeaParty",slug:"partychain",status:"incubating",testnet:!1},Jd0={chain:"Gauss",chainId:1777,explorers:[{name:"Gauss Explorer",url:"https://explorer.gaussgang.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeDXUAYgQxwaSJLsqWgTqnrJVwicgEyNf9199xAMyRkqA",width:243,height:243,format:"svg"},infoURL:"https://gaussgang.com/",name:"Gauss Mainnet",nativeCurrency:{name:"GANG",symbol:"GANG",decimals:18},networkId:1777,rpc:["https://1777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gaussgang.com"],shortName:"gauss",slug:"gauss",testnet:!1},Xd0={chain:"ETH",chainId:1789,explorers:[{name:"ZKbase Block Explorer",url:"https://sepolia-explorer.zkbase.app",standard:"EIP3091",icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRLtNvkVhC7rRDiLMHLckWbesaSU6sNYhQZgsAM1phTZx",width:400,height:400,format:"jpg"},infoURL:"https://zkbase.org/",name:"ZKBase Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1789,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.zkbase.app/"}]},redFlags:["reusedChainId"],rpc:["https://1789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.zkbase.app"],shortName:"zkbase-sepolia",slip44:1,slug:"zkbase-sepolia-testnet",testnet:!0},Zd0={chain:"CRC",chainId:1804,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/kerleano",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:["https://github.com/ethereum-pocr/kerleano/blob/main/docs/faucet.md"],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/kerleano",name:"Kerleano",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:1804,rpc:["https://1804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cacib-saturn-test.francecentral.cloudapp.azure.com","wss://cacib-saturn-test.francecentral.cloudapp.azure.com:9443"],shortName:"kerleano",slip44:1,slug:"kerleano",status:"active",testnet:!0,title:"Proof of Climate awaReness testnet"},e60={chain:"rAna",chainId:1807,explorers:[{name:"blockscout",url:"https://rabbit.analogscan.com",standard:"none"}],faucets:["https://analogfaucet.com"],icon:{url:"ipfs://QmdfbjjF3ZzN2jTkH9REgrA8jDS6A6c21n7rbWSVbSnvQc",width:310,height:251,format:"svg"},infoURL:"https://rabbit.analogscan.com",name:"Rabbit Analog Testnet Chain",nativeCurrency:{name:"Rabbit Analog Test Chain Native Token ",symbol:"rAna",decimals:18},networkId:1807,rpc:["https://1807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rabbit.analog-rpc.com"],shortName:"rAna",slip44:1,slug:"rabbit-analog-testnet-chain",testnet:!0},t60={chain:"lif3chain",chainId:1811,explorers:[{name:"lif3scout",url:"https://testnet.lif3scout.com",standard:"none"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQqNBEqNnNsaSV6rik6mM8VnaSgYFxfEkjkiXSwgmEgaH",width:200,height:200,format:"svg"},infoURL:"https://docs.lif3.com/",name:"Lif3 Chain Testnet",nativeCurrency:{name:"LIF3",symbol:"LIF3",decimals:18},networkId:1811,rpc:["https://1811.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-evm.lif3.com"],shortName:"lif3-testnet",slug:"lif3-chain-testnet",testnet:!0},n60={chain:"Cube",chainId:1818,explorers:[{name:"cube-scan",url:"https://cubescan.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Mainnet",nativeCurrency:{name:"Cube Chain Native Token",symbol:"CUBE",decimals:18},networkId:1818,rpc:["https://1818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.cube.network","wss://ws-mainnet.cube.network","https://http-mainnet-sg.cube.network","wss://ws-mainnet-sg.cube.network","https://http-mainnet-us.cube.network","wss://ws-mainnet-us.cube.network"],shortName:"cube",slip44:1818,slug:"cube-chain",testnet:!1},a60={chain:"Cube",chainId:1819,explorers:[{name:"cubetest-scan",url:"https://testnet.cubescan.network",standard:"EIP3091"}],faucets:["https://faucet.cube.network"],icon:{url:"ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz",width:282,height:250,format:"png"},infoURL:"https://www.cube.network",name:"Cube Chain Testnet",nativeCurrency:{name:"Cube Chain Test Native Token",symbol:"CUBET",decimals:18},networkId:1819,rpc:["https://1819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-testnet.cube.network","wss://ws-testnet.cube.network","https://http-testnet-sg.cube.network","wss://ws-testnet-sg.cube.network","https://http-testnet-jp.cube.network","wss://ws-testnet-jp.cube.network","https://http-testnet-us.cube.network","wss://ws-testnet-us.cube.network"],shortName:"cubet",slip44:1,slug:"cube-chain-testnet",testnet:!0},r60={chain:"RUBY",chainId:1821,explorers:[{name:"RUBY Smart Chain MAINNET Explorer",url:"https://rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain MAINNET",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"RUBY",decimals:18},networkId:1821,rpc:["https://1821.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-data.rubychain.io/","https://mainnet.rubychain.io/"],shortName:"RUBY",slip44:1,slug:"ruby-smart-chain",testnet:!1},i60={chain:"Avalanche",chainId:1838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Traderlands Testnet",nativeCurrency:{name:"Traderlands Testnet Token",symbol:"TDL3",decimals:18},networkId:1838,redFlags:[],rpc:["https://1838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/traderland/testnet/rpc"],shortName:"Traderlands Testnet",slug:"traderlands-testnet",testnet:!0},s60={chain:"Avalanche",chainId:1853,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"HighOctane",nativeCurrency:{name:"HighOctane Token",symbol:"HO",decimals:18},networkId:1853,redFlags:[],rpc:["https://1853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/highoctane/mainnet/rpc"],shortName:"HighOctane",slug:"highoctane",testnet:!1},f60={chain:"TSF",chainId:1856,explorers:[],faucets:[],infoURL:"https://teslafunds.io",name:"Teslafunds",nativeCurrency:{name:"Teslafunds Ether",symbol:"TSF",decimals:18},networkId:1,rpc:["https://1856.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsfapi.europool.me"],shortName:"tsf",slug:"teslafunds",testnet:!1},o60={chain:"WBT",chainId:1875,explorers:[{name:"whitechain-explorer",url:"https://explorer.whitechain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:1875,rpc:["https://1875.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.whitechain.io"],shortName:"wbt",slug:"whitechain",testnet:!1},c60={chain:"Gitshock Cartenz",chainId:1881,explorers:[{name:"blockscout",url:"https://scan.cartenz.works",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifqpj5jkjazvh24muc7wv4r22tihzzl75cevgecxhvojm4ls6mzpq",width:512,height:512,format:"png"},infoURL:"https://gitshock.com",name:"Gitshock Cartenz Testnet",nativeCurrency:{name:"Gitshock Cartenz",symbol:"tGTFX",decimals:18},networkId:1881,rpc:["https://1881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cartenz.works"],shortName:"gitshockchain",slip44:1,slug:"gitshock-cartenz-testnet",testnet:!0},d60={chain:"Lightlink Phoenix Mainnet",chainId:1890,explorers:[{name:"phoenix",url:"https://phoenix.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Phoenix Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1890,rpc:["https://1890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.phoenix.lightlink.io/rpc/v1"],shortName:"lightlink_phoenix",slug:"lightlink-phoenix",testnet:!1},l60={chain:"Lightlink Pegasus Testnet",chainId:1891,explorers:[{name:"pegasus",url:"https://pegasus.lightlink.io",standard:"EIP3091",icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"}}],faucets:["https://faucet.pegasus.lightlink.io/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmXMDj6iAFn2ducQcUU1M87PMMdT2jfyL3Tp3Lz5uUD5Lv",width:200,height:200,format:"png"},infoURL:"https://lightlink.io",name:"Lightlink Pegasus Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:1891,rpc:["https://1891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://replicator.pegasus.lightlink.io/rpc/v1"],shortName:"lightlink_pegasus",slip44:1,slug:"lightlink-pegasus-testnet",testnet:!0},p60={chain:"BON",chainId:1898,explorers:[{name:"explorer",url:"https://explorer.boyanet.org:4001",standard:"EIP3091"}],faucets:[],infoURL:"https://boyanet.org",name:"BON Network",nativeCurrency:{name:"BOYACoin",symbol:"BOY",decimals:18},networkId:1,rpc:["https://1898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.boyanet.org:8545","ws://rpc.boyanet.org:8546"],shortName:"boya",slug:"bon-network",testnet:!1},u60={chain:"SCN",chainId:1904,explorers:[{name:"blockscout",url:"https://explorer.sportschainnetwork.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdW7XfRgeyoaHXEvXp8MaVteonankR32CxhL3K5Yc2uQM",width:345,height:321,format:"png"},infoURL:"https://sportschainnetwork.xyz",name:"Sports Chain Network",nativeCurrency:{name:"SCN",symbol:"SCN",decimals:18},networkId:1904,rpc:["https://1904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sportschainnetwork.xyz/"],shortName:"SCN",slug:"sports-chain-network",testnet:!1},y60={chain:"BITCI",chainId:1907,explorers:[{name:"Bitci Explorer",url:"https://bitciexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Mainnet",nativeCurrency:{name:"Bitci",symbol:"BITCI",decimals:18},networkId:1907,rpc:["https://1907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitci.com"],shortName:"bitci",slug:"bitcichain",testnet:!1},m60={chain:"TBITCI",chainId:1908,explorers:[{name:"Bitci Explorer Testnet",url:"https://testnet.bitciexplorer.com",standard:"EIP3091"}],faucets:["https://faucet.bitcichain.com"],icon:{url:"ipfs://QmbxmfWw5sVMASz5EbR1DCgLfk8PnqpSJGQKpYuEUpoxqn",width:64,height:64,format:"svg"},infoURL:"https://www.bitcichain.com",name:"Bitcichain Testnet",nativeCurrency:{name:"Test Bitci",symbol:"TBITCI",decimals:18},networkId:1908,rpc:["https://1908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitcichain.com"],shortName:"tbitci",slip44:1,slug:"bitcichain-testnet",testnet:!0},b60={chain:"MRK",chainId:1909,explorers:[{name:"blockscout",url:"https://merklescan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZocJpCSLoQqoYFkF1kn7uKDuAiFRNTK8P5PoVeiigDBU",width:114,height:132,format:"png"},infoURL:"https://merklescan.com",name:"Merkle Scan",nativeCurrency:{name:"Merkle",symbol:"MRK",decimals:18},networkId:1909,rpc:["https://1909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://marklechain-rpc.merklescan.com"],shortName:"MRK",slug:"merkle-scan",testnet:!1},h60={chain:"ETH",chainId:1911,explorers:[{name:"scalind",url:"https://explorer.scalind.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmayuauUTSkYxbT1xi2AkkG5VLEMDhcMeZ18WZHiApPa9M",width:512,height:512,format:"png"},infoURL:"https://scalind.com",name:"Scalind",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1911,rpc:["https://1911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scalind.com"],shortName:"scal",slug:"scalind",testnet:!1},g60={chain:"RUBY",chainId:1912,explorers:[{name:"RUBY Smart Chain Testnet Explorer",url:"https://testnet.rubyscan.net",standard:"none",icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"}}],faucets:["https://claim-faucet.rubychain.io/"],icon:{url:"ipfs://QmXGJevyPHHKT28hDfsJ9Cq2DQ2bAavdie37MEwFQUVCQz",width:500,height:500,format:"png"},infoURL:"https://rubychain.io",name:"Ruby Smart Chain Testnet",nativeCurrency:{name:"RUBY Smart Chain Native Token",symbol:"tRUBY",decimals:18},networkId:1912,rpc:["https://1912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rchain.rubychain.io/"],shortName:"tRUBY",slip44:1,slug:"ruby-smart-chain-testnet",testnet:!0},v60={chain:"UPBEth",chainId:1918,explorers:[],faucets:[],infoURL:"https://mobylab.docs.crescdi.pub.ro/blog/UPB-CRESCDI-Testnet",name:"UPB CRESCDI Testnet",nativeCurrency:{name:"UPBEth",symbol:"UPBEth",decimals:18},networkId:1918,rpc:["https://1918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.crescdi.pub.ro"],shortName:"UPBEth",slug:"upb-crescdi-testnet",testnet:!0},T60={chain:"onus",chainId:1945,explorers:[{name:"Onus explorer testnet",url:"https://explorer-testnet.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Testnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1945,rpc:["https://1945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.onuschain.io"],shortName:"onus-testnet",slip44:1,slug:"onus-chain-testnet",testnet:!0,title:"ONUS Chain Testnet"},_60={chain:"D-Chain",chainId:1951,explorers:[],faucets:[],icon:{url:"ipfs://QmV2vhTqS9UyrX9Q6BSCbK4JrKBnS8ErHvstMjfb2oVWaj",width:700,height:495,format:"png"},name:"D-Chain Mainnet",nativeCurrency:{name:"DOINX",symbol:"DOINX",decimals:18},networkId:1951,rpc:["https://1951.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.d-chain.network/ext/bc/2ZiR1Bro5E59siVuwdNuRFzqL95NkvkbzyLBdrsYR9BLSHV7H4/rpc"],shortName:"dchain-mainnet",slug:"d-chain",testnet:!1},w60={chain:"tSEL",chainId:1953,explorers:[],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Testnet",nativeCurrency:{name:"Selendra",symbol:"tSEL",decimals:18},networkId:1953,rpc:["https://1953.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0-testnet.selendra.org","https://rpc1-testnet.selendra.org"],shortName:"tSEL",slug:"selendra-network-testnet",testnet:!0},x60={chain:"Dexilla",chainId:1954,explorers:[{name:"dos-mainnet",url:"https://exp.dexilla.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUBveetVibvSEWQrjyxySgUphLuoMGSVLGmYnobt5FgEZ",width:512,height:512,format:"png"},infoURL:"https://dexilla.com",name:"Dexilla Testnet",nativeCurrency:{name:"Dexilla Native Token",symbol:"DXZ",decimals:18},networkId:1954,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.dexilla.com"}]},rpc:["https://1954.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dexilla.com"],shortName:"Dexilla",slip44:1,slug:"dexilla-testnet",testnet:!0},I60={chain:"AIW3",chainId:1956,explorers:[{name:"aiw3 testnet scan",url:"https://scan-testnet.aiw3.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:1956,rpc:["https://1956.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.aiw3.io/"],shortName:"AIW3-Testnet",slug:"aiw3-testnet",testnet:!0},E60={chain:"SEL",chainId:1961,explorers:[{name:"Selendra Scan",url:"https://scan.selendra.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbnLDuVc4JReFysyKvmpuqUtj9HCus6qoKD5nQ9QkokzK",width:512,height:512,format:"png"},infoURL:"https://selendra.org",name:"Selendra Network Mainnet",nativeCurrency:{name:"Selendra",symbol:"SEL",decimals:18},networkId:1961,rpc:["https://1961.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.selendra.org","https://rpc1.selendra.org"],shortName:"SEL",slug:"selendra-network",testnet:!1},D60={chain:"Avalanche",chainId:1962,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3295 Testnet",nativeCurrency:{name:"QaUser3295 Testnet Token",symbol:"JXA",decimals:18},networkId:1962,redFlags:[],rpc:["https://1962.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3295 Testnet",slug:"qauser3295-testnet",testnet:!0},C60={chain:"MTC",chainId:1967,explorers:[{name:"metaexplorer-eleanor",url:"https://explorer.metatime.com/eleanor",standard:"EIP3091"}],faucets:["https://faucet.metatime.com/eleanor"],infoURL:"https://eleanor.metatime.com",name:"Eleanor",nativeCurrency:{name:"Eleanor Metacoin",symbol:"MTC",decimals:18},networkId:1967,rpc:["https://1967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metatime.com/eleanor","wss://ws.metatime.com/eleanor"],shortName:"mtc",slip44:1,slug:"eleanor",testnet:!0,title:"Metatime Testnet Eleanor"},S60={chain:"TSCS",chainId:1969,explorers:[{name:"blockscout",url:"https://testnetscan.scschain.com",standard:"EIP3091"}],faucets:["https://testnet.scschain.com"],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://testnet.scschain.com",name:"Super Smart Chain Testnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"TSCS",decimals:18},networkId:1969,rpc:["https://1969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.scschain.com"],shortName:"tscs",slip44:1,slug:"super-smart-chain-testnet",testnet:!0},A60={chain:"SCS",chainId:1970,explorers:[{name:"blockscout",url:"https://scan.scschain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW4C4QHLMhLeH5MsdVbauMc2Skb4ehzLKU3egLKKoux4D",width:130,height:130,format:"png"},infoURL:"https://scschain.com",name:"Super Smart Chain Mainnet",nativeCurrency:{name:"Super Chain Native Token",symbol:"SCS",decimals:18},networkId:1970,rpc:["https://1970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scschain.com"],shortName:"scs",slug:"super-smart-chain",testnet:!1},k60={chain:"ALTR",chainId:1971,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigcquvoalec3ll2m26v4wsx5enlxwyn6nk2mgfqwncyqrgwivla5u",width:200,height:200,format:"png"},infoURL:"https://1971.network/",name:"Atelier",nativeCurrency:{name:"ATLR",symbol:"ATLR",decimals:18},networkId:1971,rpc:["https://1971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://1971.network/atlr","wss://1971.network/atlr"],shortName:"atlr",slip44:1,slug:"atelier",testnet:!0,title:"Atelier Test Network"},P60={chain:"REDEV2",chainId:1972,explorers:[{name:"RedeCoin Explorer",url:"https://explorer3.redecoin.eu",standard:"none"}],faucets:[],infoURL:"https://www.redecoin.eu",name:"RedeCoin",nativeCurrency:{name:"RedeCoin",symbol:"REDEV2",decimals:18},networkId:1972,rpc:["https://1972.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc2.redecoin.eu"],shortName:"rede",slug:"redecoin",testnet:!1},R60={chain:"onus",chainId:1975,explorers:[{name:"Onus explorer mainnet",url:"https://explorer.onuschain.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiec34ik3glrm5jrzafdytvu4kxdsrxhqmagbe27fytdcuzkhoooay",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://onuschain.io",name:"ONUS Chain Mainnet",nativeCurrency:{name:"ONUS",symbol:"ONUS",decimals:18},networkId:1975,rpc:["https://1975.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onuschain.io","wss://ws.onuschain.io"],shortName:"onus-mainnet",slug:"onus-chain",testnet:!1,title:"ONUS Chain Mainnet"},L60={chain:"EUN",chainId:1984,explorers:[{name:"testnetexplorer",url:"https://testnetexplorer.eurus.network",standard:"none",icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmaGd5L9jGPbfyGXBFhu9gjinWJ66YtNrXq8x6Q98Eep9e",width:471,height:471,format:"svg"},infoURL:"https://eurus.network",name:"Eurus Testnet",nativeCurrency:{name:"Eurus",symbol:"EUN",decimals:18},networkId:1984,rpc:["https://1984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.eurus.network"],shortName:"euntest",slip44:1,slug:"eurus-testnet",testnet:!0},M60={chain:"TUSHY",chainId:1985,explorers:[{name:"mainnetexplorer",url:"http://explore.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1985,rpc:["https://1985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satosh.ie"],shortName:"satoshie",slug:"satoshie",testnet:!1},B60={chain:"TUSHY",chainId:1986,explorers:[{name:"testnetexplorer",url:"http://explore-testnet.satosh.ie",standard:"none",icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmRHT4o9ihiY6nVkkRdwZjdugbEAQiXrrov3GS9a3GTuL7",width:1024,height:1024,format:"jpg"},infoURL:"https://satosh.ie",name:"SatoshIE Testnet",nativeCurrency:{name:"Tushy Token",symbol:"TUSHY",decimals:18},networkId:1986,rpc:["https://1986.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.satosh.ie"],shortName:"satoshie_testnet",slip44:1,slug:"satoshie-testnet",testnet:!0},N60={chain:"EGEM",chainId:1987,explorers:[],faucets:[],infoURL:"https://egem.io",name:"EtherGem",nativeCurrency:{name:"EtherGem Ether",symbol:"EGEM",decimals:18},networkId:1987,rpc:["https://1987.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.egem.io/custom"],shortName:"egem",slip44:1987,slug:"ethergem",testnet:!1},F60={chain:"Hubblenet",chainId:1992,explorers:[{name:"routescan",url:"https://explorer.hubble.exchange",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmU9t9fZaWiqpAZ9dw2ojTpJycnB8BxekLWVSCJikJVgjW",width:512,height:512,format:"png"},infoURL:"https://www.hubble.exchange",name:"Hubble Exchange",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:1992,rpc:["https://1992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hubble.exchange","wss://ws-rpc.hubble.exchange"],shortName:"hubblenet",slip44:60,slug:"hubble-exchange",testnet:!1},O60={chain:"B3 Sepolia",chainId:1993,explorers:[{name:"B3 Sepolia Explorer",url:"https://sepolia.explorer.b3.fun/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://cdn.b3.fun/b3_logo%40.png",width:512,height:512,format:"png"},infoURL:"https://docs.b3.fun/",name:"B3 Sepolia",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:1993,parent:{type:"L3",chain:"eip155-1",bridges:[{url:"https://bridge.b3.fun/"}]},redFlags:[],rpc:["https://1993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.b3.fun/http"],shortName:"b3-sepolia",slug:"b3-sepolia",testnet:!0,title:"B3 Sepolia"},V60={chain:"EKTA",chainId:1994,explorers:[{name:"ektascan",url:"https://ektascan.io",standard:"EIP3091",icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfMd564KUPK8eKZDwGCT71ZC2jMnUZqP6LCtLpup3rHH1",width:2100,height:2100,format:"png"},infoURL:"https://www.ekta.io",name:"Ekta",nativeCurrency:{name:"EKTA",symbol:"EKTA",decimals:18},networkId:1994,rpc:["https://1994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.ekta.io"],shortName:"ekta",slug:"ekta",testnet:!1},$60={chain:"edeXa TestNetwork",chainId:1995,explorers:[{name:"edexa-testnet",url:"https://explorer.testnet.edexa.network",standard:"EIP3091"}],faucets:["https://faucet.edexa.com/"],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Testnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:1995,rpc:["https://1995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.edexa.network/rpc","https://io-dataseed1.testnet.edexa.io-market.com/rpc"],shortName:"edx",slip44:1,slug:"edexa-testnet",testnet:!0},U60={chain:"Sanko",chainId:1996,explorers:[{name:"Sanko Explorer",url:"https://explorer.sanko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmbwi5FoJdL6HuFmQGQu1sdyoGrSuj45H12tMNTnpRAmLw",width:795,height:792,format:"png"},infoURL:"https://sanko.xyz/",name:"Sanko",nativeCurrency:{name:"DMT",symbol:"DMT",decimals:18},networkId:1996,rpc:["https://1996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sanko.xyz"],shortName:"Sanko",slug:"sanko",testnet:!1},q60={chain:"KYOTO",chainId:1997,explorers:[{name:"Kyotoscan",url:"https://kyotoscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://kyotoprotocol.io",name:"Kyoto",nativeCurrency:{name:"Kyoto",symbol:"KYOTO",decimals:18},networkId:1997,rpc:["https://1997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kyotochain.io"],shortName:"kyoto",slip44:1,slug:"kyoto",testnet:!1},H60={chain:"KYOTO",chainId:1998,explorers:[{name:"Kyotoscan",url:"https://testnet.kyotoscan.io",standard:"EIP3091"}],faucets:["https://faucet.kyotoprotocol.io"],features:[{name:"EIP155"}],infoURL:"https://kyotoprotocol.io",name:"Kyoto Testnet",nativeCurrency:{name:"Kyoto",symbol:"KYOTO",decimals:18},networkId:1998,rpc:["https://1998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.kyotoprotocol.io:8545"],shortName:"kyoto-testnet",slip44:1,slug:"kyoto-testnet",testnet:!0},z60={chain:"DC",chainId:2e3,explorers:[{name:"dogechain explorer",url:"https://explorer.dogechain.dog",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNS6B6L8FfgGSMTEi2SxD3bK5cdmKPNtQKcYaJeRWrkHs",width:732,height:732,format:"png"},infoURL:"https://dogechain.dog",name:"Dogechain Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:2e3,rpc:["https://2000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dogechain.dog","https://rpc01-sg.dogechain.dog","https://rpc.ankr.com/dogechain"],shortName:"dc",slug:"dogechain",testnet:!1},W60={chain:"milkAda",chainId:2001,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Mainnet",nativeCurrency:{name:"milkAda",symbol:"mADA",decimals:18},networkId:2001,rpc:["https://2001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-cardano-evm.c1.milkomeda.com","wss://rpc-mainnet-cardano-evm.c1.milkomeda.com"],shortName:"milkAda",slug:"milkomeda-c1",testnet:!1},j60={chain:"milkALGO",chainId:2002,explorers:[{name:"Blockscout",url:"https://explorer-mainnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Mainnet",nativeCurrency:{name:"milkALGO",symbol:"mALGO",decimals:18},networkId:2002,rpc:["https://2002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-algorand-rollup.a1.milkomeda.com","wss://rpc-mainnet-algorand-rollup.a1.milkomeda.com/ws"],shortName:"milkALGO",slug:"milkomeda-a1",testnet:!1},G60={chain:"MetaLink",chainId:2004,explorers:[{name:"MetaScan",url:"http://twoto3.com:3000",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfSXRkDPSwt7heQ24pDtWKN6vvervEaTJHmueyRp1mpg1",width:800,height:800,format:"jpg"},infoURL:"http://totwo3.com:3000",name:"MetaLink Network",nativeCurrency:{name:"MetaLink",symbol:"MTL",decimals:18},networkId:2004,rpc:["https://2004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://77.237.237.69:9933"],shortName:"mtl",slug:"metalink-network",testnet:!1},K60={chain:"CloudWalk Testnet",chainId:2008,explorers:[{name:"CloudWalk Testnet Explorer",url:"https://explorer.testnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Testnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2008,rpc:[],shortName:"cloudwalk_testnet",slip44:1,slug:"cloudwalk-testnet",testnet:!0},Q60={chain:"CloudWalk Mainnet",chainId:2009,explorers:[{name:"CloudWalk Mainnet Explorer",url:"https://explorer.mainnet.cloudwalk.io",standard:"none"}],faucets:[],infoURL:"https://cloudwalk.io",name:"CloudWalk Mainnet",nativeCurrency:{name:"CloudWalk Native Token",symbol:"CWN",decimals:18},networkId:2009,rpc:[],shortName:"cloudwalk_mainnet",slug:"cloudwalk",testnet:!1},Y60={chain:"Panarchy",chainId:2013,explorers:[],faucets:[],infoURL:"https://polytopia.org/",name:"Panarchy",nativeCurrency:{name:"GAS",symbol:"GAS",decimals:18},networkId:1,rpc:["https://2013.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://polytopia.org:8545"],shortName:"panarchy",slug:"panarchy",testnet:!1},J60={chain:"NOW",chainId:2014,explorers:[{name:"nowscan",url:"https://nowscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSUzhRGzMyMyGwBcE3ooZ5jvHKyJ1FjVjh5SfoGHG36MX",width:512,height:512,format:"png"},infoURL:"https://nowchain.co",name:"NOW Chain",nativeCurrency:{name:"NOW Coin",symbol:"NOW",decimals:18},networkId:2014,rpc:["https://2014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nowscan.io"],shortName:"now",slug:"now-chain",testnet:!1},X60={chain:"NetZ",chainId:2016,explorers:[{name:"MainnetZ",url:"https://explorer.mainnetz.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://mainnetz.io",name:"MainnetZ Mainnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:2016,rpc:["https://2016.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mainnetz.io","https://eu-rpc.mainnetz.io"],shortName:"netz",slug:"z-mainnet",testnet:!1},Z60={chain:"TEL",chainId:2017,explorers:[{name:"telscan",url:"https://telscan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"}}],faucets:["https://telcoin.network/faucet"],icon:{url:"ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",width:79,height:80,format:"svg"},infoURL:"https://telcoin.network",name:"Adiri",nativeCurrency:{name:"Telcoin",symbol:"TEL",decimals:18},networkId:2017,rpc:["https://2017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.telcoin.network","https://adiri.tel","https://node1.telcoin.network","https://node2.telcoin.network","https://node3.telcoin.network","https://node4.telcoin.network"],shortName:"tel",slip44:1,slug:"adiri",testnet:!0,title:"Telcoin Network Testnet"},el0={chain:"PublicMint",chainId:2018,explorers:[{name:"PublicMint Explorer",url:"https://explorer.dev.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Devnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2018,rpc:["https://2018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.publicmint.io:8545"],shortName:"pmint_dev",slip44:60,slug:"publicmint-devnet",testnet:!1,title:"Public Mint Devnet"},tl0={chain:"PublicMint",chainId:2019,explorers:[{name:"PublicMint Explorer",url:"https://explorer.tst.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Testnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2019,rpc:["https://2019.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.publicmint.io:8545"],shortName:"pmint_test",slip44:1,slug:"publicmint-testnet",testnet:!0,title:"Public Mint Testnet"},nl0={chain:"PublicMint",chainId:2020,explorers:[{name:"PublicMint Explorer",url:"https://explorer.publicmint.io",standard:"EIP3091"}],faucets:[],infoURL:"https://publicmint.com",name:"PublicMint Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:18},networkId:2020,rpc:["https://2020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.publicmint.io:8545"],shortName:"pmint",slip44:60,slug:"publicmint",testnet:!1,title:"Public Mint Mainnet"},al0={chain:"EDG",chainId:2021,explorers:[{name:"Edgscan EdgeEVM explorer by Bharathcoorg",url:"https://edgscan.live",standard:"EIP3091"},{name:"Edgscan EdgeWASM explorer by Bharathcoorg",url:"https://edgscan.ink",standard:"none",icon:{url:"ipfs://QmVV7ibcq8pS44Nt77jWSLNY2RkfQooHBCZMBPSMdAfZ3d",width:88,height:88,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWCSXYLigYE6qEiese4cso2icgKQyosV3x1adtxJnRyJ9",width:88,height:76,format:"svg"},infoURL:"https://edgeware.io",name:"Edgeware EdgeEVM Mainnet",nativeCurrency:{name:"Edgeware",symbol:"EDG",decimals:18},networkId:2021,rpc:["https://2021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgeware-evm.jelliedowl.net","https://edgeware-evm0.jelliedowl.net","https://edgeware-evm1.jelliedowl.net","https://edgeware-evm2.jelliedowl.net","https://edgeware-evm3.jelliedowl.net","wss://edgeware.jelliedowl.net","wss://edgeware-rpc0.jelliedowl.net","wss://edgeware-rpc1.jelliedowl.net","wss://edgeware-rpc2.jelliedowl.net","wss://edgeware-rpc3.jelliedowl.net"],shortName:"edg",slip44:523,slug:"edgeware-edgeevm",testnet:!1},rl0={chain:"EDG",chainId:2022,explorers:[{name:"Edgscan by Bharathcoorg",url:"https://testnet.edgscan.live",standard:"EIP3091"}],faucets:[],infoURL:"https://edgeware.io/build",name:"Beresheet BereEVM Testnet",nativeCurrency:{name:"Testnet EDG",symbol:"tEDG",decimals:18},networkId:2022,rpc:["https://2022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beresheet-evm.jelliedowl.net","wss://beresheet.jelliedowl.net"],shortName:"edgt",slip44:1,slug:"beresheet-bereevm-testnet",testnet:!0},il0={chain:"Taycan",chainId:2023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://evmscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer",url:"https://cosmoscan-test.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:["https://ttaycan-faucet.hupayx.io/"],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan Testnet",nativeCurrency:{name:"test-Shuffle",symbol:"tSFL",decimals:18},networkId:2023,rpc:["https://2023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-taycan.hupayx.io"],shortName:"taycan-testnet",slip44:1,slug:"taycan-testnet",testnet:!0},sl0={chain:"SWAN",chainId:2024,explorers:[],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Saturn Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:2024,rpc:["https://2024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://saturn-rpc.swanchain.io"],shortName:"swan",slug:"swan-saturn-testnet",testnet:!0},fl0={chain:"Rangers",chainId:2025,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Mainnet",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"RPG",decimals:18},networkId:2025,rpc:["https://2025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rangersprotocol.com/api/jsonrpc"],shortName:"rpg",slip44:1008,slug:"rangers-protocol",testnet:!1},ol0={chain:"Edgeless",chainId:2026,explorers:[{name:"Edgeless Explorer",url:"https://explorer.edgeless.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://edgeless.network",name:"Edgeless Network",nativeCurrency:{name:"Edgeless Wrapped Eth",symbol:"EwEth",decimals:18},networkId:2026,rpc:["https://2026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.edgeless.network/http"],shortName:"edgeless",slug:"edgeless-network",testnet:!1},cl0={chain:"CFG",chainId:2031,explorers:[{name:"subscan",url:"https://centrifuge.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmedNc3WvTm66iNK2NYW6Fzu5tx5FgNa6HCBf3DTHpzQZ1",width:209,height:208,format:"svg"},infoURL:"https://centrifuge.io",name:"Centrifuge",nativeCurrency:{name:"Centrifuge",symbol:"CFG",decimals:18},networkId:2031,rpc:["https://2031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode.centrifuge.io","wss://fullnode.centrifuge.io","https://centrifuge-parachain.api.onfinality.io/public","wss://centrifuge-parachain.api.onfinality.io/public-ws","https://centrifuge-rpc.dwellir.com","wss://centrifuge-rpc.dwellir.com","https://rpc-centrifuge.luckyfriday.io","wss://rpc-centrifuge.luckyfriday.io"],shortName:"cfg",slug:"centrifuge",testnet:!1},dl0={chain:"CFG",chainId:2032,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Catalyst",nativeCurrency:{name:"Catalyst CFG",symbol:"NCFG",decimals:18},networkId:2032,rpc:["wss://fullnode.catalyst.cntrfg.com"],shortName:"ncfg",slug:"catalyst",testnet:!1},ll0={chain:"PHA",chainId:2035,explorers:[],faucets:[],infoURL:"https://phala.network",name:"Phala Network",nativeCurrency:{name:"Phala",symbol:"PHA",decimals:18},networkId:2035,rpc:[],shortName:"pha",slug:"phala-network",testnet:!1},pl0={chain:"KIWI",chainId:2037,explorers:[{name:"KIWI Explorer",url:"https://subnets-test.avax.network/kiwi",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Kiwi Subnet",nativeCurrency:{name:"Shrapgas",symbol:"SHRAP",decimals:18},networkId:2037,rpc:["https://2037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/kiwi/testnet/rpc"],shortName:"kiwi",slip44:1,slug:"kiwi-subnet",testnet:!0},ul0={chain:"SHRAPNEL",chainId:2038,explorers:[{name:"SHRAPNEL Explorer",url:"https://subnets-test.avax.network/shrapnel",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Testnet",nativeCurrency:{name:"SHRAPG",symbol:"SHRAPG",decimals:18},networkId:2038,rpc:["https://2038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/testnet/rpc"],shortName:"shraptest",slip44:1,slug:"shrapnel-testnet",testnet:!0},yl0={chain:"Aleph Zero Testnet",chainId:2039,explorers:[{name:"Aleph Zero Testnet",url:"https://test.azero.dev/#/explorer",standard:"none",icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbeSYW2c5pXAyEUzj8UFRdJhp5oMQzRMPqAsxJAqbGiem",width:317,height:303,format:"png"},infoURL:"https://testnet.alephzero.org",name:"Aleph Zero Testnet",nativeCurrency:{name:"TZERO",symbol:"TZERO",decimals:18},networkId:2039,rpc:["https://2039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alephzero-testnet.gelato.digital","wss://rpc.alephzero-testnet.gelato.digital"],shortName:"aleph",slug:"aleph-zero-testnet",testnet:!0},ml0={chain:"VANAR",chainId:2040,explorers:[{name:"Vanar Explorer",url:"https://explorer.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanar Mainnet",nativeCurrency:{name:"VANRY",symbol:"VANRY",decimals:18},networkId:2040,rpc:["https://2040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vanarchain.com","wss://ws.vanarchain.com"],shortName:"Vanar",slug:"vanar",testnet:!1,title:"Vanarchain"},bl0={chain:"NEUROWEB",chainId:2043,explorers:[],faucets:[],infoURL:"https://neuroweb.ai",name:"NeuroWeb",nativeCurrency:{name:"NeuroWeb Token",symbol:"NEURO",decimals:12},networkId:2043,rpc:["https://2043.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://astrosat.origintrail.network","wss://parachain-rpc.origin-trail.network"],shortName:"NEURO",slug:"neuroweb",testnet:!1},hl0={chain:"shrapnel",chainId:2044,explorers:[],faucets:[],infoURL:"https://www.shrapnel.com/",name:"Shrapnel Subnet",nativeCurrency:{name:"Shrapnel Gas Token",symbol:"SHRAPG",decimals:18},networkId:2044,rpc:["https://2044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/shrapnel/mainnet/rpc"],shortName:"Shrapnel",slug:"shrapnel-subnet",testnet:!1},gl0={chain:"AIW3",chainId:2045,explorers:[],faucets:[],icon:{url:"ipfs://bafkreigfxcyvnx2r46a3unljb2auxeez5olbg56lbu4gkpa4me7wqoajjy",width:500,height:500,format:"png"},infoURL:"https://aiw3.io/",name:"AIW3 Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2045,rpc:[],shortName:"AIW3",slug:"aiw3",status:"incubating",testnet:!1},vl0={chain:"STOS",chainId:2047,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer-mesos.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://big-dipper-mesos.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos Testnet",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2047,rpc:["https://2047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc-mesos.thestratos.org"],shortName:"stos-testnet",slip44:1,slug:"stratos-testnet",testnet:!0},Tl0={chain:"STOS",chainId:2048,explorers:[{name:"Stratos EVM Explorer (Blockscout)",url:"https://web3-explorer.thestratos.org",standard:"none"},{name:"Stratos Cosmos Explorer (BigDipper)",url:"https://explorer.thestratos.org",standard:"none"}],faucets:[],infoURL:"https://www.thestratos.org",name:"Stratos",nativeCurrency:{name:"STOS",symbol:"STOS",decimals:18},networkId:2048,rpc:["https://2048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3-rpc.thestratos.org"],shortName:"stos-mainnet",slug:"stratos",testnet:!1},_l0={chain:"MOVO",chainId:2049,explorers:[{name:"movoscan",url:"https://movoscan.com",standard:"none",icon:{url:"ipfs://QmdFJMdnTvu4adiMERMP7B5ZZDwgiPmU3kU1qrUFdvHmUY",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSQGKhhBpMTM7vYpGdgMTDFyzaAN3PGG5AnmWy7KQPdSn",width:1200,height:1200,format:"png"},infoURL:"https://movo.uk",name:"Movo Smart Chain Mainnet",nativeCurrency:{name:"Movo Smart Chain",symbol:"MOVO",decimals:18},networkId:2049,rpc:["https://2049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://msc-rpc.movoscan.com","https://msc-rpc.movochain.org","https://msc-rpc.movoswap.com"],shortName:"movo",slip44:2050,slug:"movo-smart-chain",testnet:!1},wl0={chain:"Qkacoin",chainId:2077,explorers:[{name:"blockscout",url:"https://explorer.qkacoin.org",standard:"EIP3091"}],faucets:[],infoURL:"https://qkacoin.org",name:"Quokkacoin Mainnet",nativeCurrency:{name:"Qkacoin",symbol:"QKA",decimals:18},networkId:2077,rpc:["https://2077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qkacoin.org"],shortName:"QKA",slug:"quokkacoin",testnet:!1},xl0={chain:"Parodychain",chainId:2078,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmR2ovc7zeM7gdzpL6FdvWBEhLyE8dL1w8GWnooHEk9uEZ/parodychain-logo.png",width:512,height:512,format:"png"},name:"Parody Network",nativeCurrency:{name:"Parody",symbol:"PDY",decimals:18},networkId:2078,redFlags:[],rpc:["https://2078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-4392-rpc.a.stagenet.tanssi.network"],shortName:"Parody",slug:"parody-network",testnet:!0},Il0={chain:"AIR",chainId:2088,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSwqWxZ5HRdc25HMhEmVKxZkwSKapuuyGHb8kyrtuzxat",width:210,height:210,format:"svg"},infoURL:"https://centrifuge.io",name:"Altair",nativeCurrency:{name:"Altair",symbol:"AIR",decimals:18},networkId:2088,rpc:["wss://fullnode.altair.centrifuge.io","wss://altair.api.onfinality.io/public-ws"],shortName:"air",slug:"altair",testnet:!1},El0={chain:"algol",chainId:2089,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://centrifuge.io",name:"Algol",nativeCurrency:{name:"Algol",symbol:"ALGL",decimals:18},networkId:2089,rpc:["wss://fullnode.algol.cntrfg.com"],shortName:"algl",slug:"algol",status:"deprecated",testnet:!1},Dl0={chain:"ECO",chainId:2100,explorers:[{name:"Ecoball Explorer",url:"https://scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Mainnet",nativeCurrency:{name:"Ecoball Coin",symbol:"ECO",decimals:18},networkId:2100,rpc:["https://2100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/ecoball/"],shortName:"eco",slug:"ecoball",testnet:!1},Cl0={chain:"ECO",chainId:2101,explorers:[{name:"Ecoball Testnet Explorer",url:"https://espuma-scan.ecoball.org",standard:"EIP3091"}],faucets:[],infoURL:"https://ecoball.org",name:"Ecoball Testnet Espuma",nativeCurrency:{name:"Espuma Coin",symbol:"ECO",decimals:18},networkId:2101,rpc:["https://2101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ecoball.org/espuma/"],shortName:"esp",slip44:1,slug:"ecoball-testnet-espuma",testnet:!0},Sl0={chain:"EXN",chainId:2109,explorers:[{name:"blockscout",url:"https://explorer.exosama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Exosama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2109,rpc:["https://2109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exosama.com","wss://rpc.exosama.com"],shortName:"exn",slip44:2109,slug:"exosama-network",testnet:!1},Al0={chain:"UCHAIN",chainId:2112,explorers:[{name:"uchain.info",url:"https://uchain.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUz6jimQbYZ43aeQBC6nSy2m7W7U6xR2qG8tCki2Jvj9k",width:344,height:342,format:"png"},infoURL:"https://u.cash/",name:"UCHAIN Mainnet",nativeCurrency:{name:"UCASH",symbol:"UCASH",decimals:18},networkId:2112,rpc:["https://2112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uchain.link/"],shortName:"uchain",slug:"uchain",testnet:!1},kl0={chain:"Avalanche",chainId:2121,explorers:[{name:"catenascan",url:"https://catenascan.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"M TEST 1103-2",nativeCurrency:{name:"M TEST 1103-2 Token",symbol:"RJI",decimals:18},networkId:2121,redFlags:[],rpc:["https://2121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b","https://rpc1.catenarpc.com"],shortName:"M TEST 1103-2",slug:"m-test-1103-2",testnet:!0},Pl0={chain:"METAD",chainId:2122,explorers:[{name:"Metad Scan",url:"https://scan.metaplayer.one",standard:"EIP3091",icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZyxS9BfRGYWWDtvrV6qtthCYV4TwdjLoH2sF6MkiTYFf",width:1280,height:1280,format:"png"},infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Mainnet",nativeCurrency:{name:"METAD",symbol:"METAD",decimals:18},networkId:2122,rpc:["https://2122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metaplayer.one/"],shortName:"Metad",slug:"metaplayerone",testnet:!1},Rl0={chain:"MP1 Dubai-Testnet",chainId:2124,explorers:[{name:"MP1Scan",url:"https://dubai.mp1scan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.metaplayer.one/",name:"Metaplayerone Dubai Testnet",nativeCurrency:{name:"Metaunit",symbol:"MEU",decimals:18},networkId:2124,rpc:["https://2124.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dubai.mp1network.com/"],shortName:"MEU",slip44:1,slug:"metaplayerone-dubai-testnet",testnet:!0},Ll0={chain:"BIGSB Testnet",chainId:2136,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://test-market.bigsb.network#/explorer",standard:"none"}],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets Testnet",nativeCurrency:{name:"Dolarz",symbol:"Dolarz",decimals:18},networkId:2136,rpc:["https://2136.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-market.bigsb.network","wss://test-market.bigsb.network"],shortName:"bigsb_testnet",slug:"bigshortbets-testnet",testnet:!0},Ml0={chain:"BIGSB",chainId:2137,explorers:[],faucets:[],infoURL:"https://bigshortbets.com/",name:"BigShortBets",nativeCurrency:{name:"USD Coin",symbol:"USDC",decimals:18},networkId:2137,rpc:["https://2137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://market.bigsb.io","wss://market.bigsb.io"],shortName:"bigsb",slug:"bigshortbets",testnet:!1},Bl0={chain:"dfiometatest",chainId:2138,ens:{registry:"0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"},explorers:[{name:"Quorum Explorer",url:"https://public-2138.defi-oracle.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmYrMRnjQJcNkYq9AvZ2FQ9kzYj9szzP4YDmyNA1ybd8xE",width:1e3,height:1043,format:"png"},infoURL:"https://defi-oracle.io/",name:"Defi Oracle Meta Testnet",nativeCurrency:{name:"testEther",symbol:"tETH",decimals:18},networkId:21,rpc:["https://2138.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.public-2138.defi-oracle.io","wss://rpc.public-2138.defi-oracle.io"],shortName:"dfio-meta-test",slip44:1,slug:"defi-oracle-meta-testnet",testnet:!0},Nl0={chain:"Oneness",chainId:2140,explorers:[{name:"oneness-mainnet",url:"https://scan.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness Network",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2140,rpc:["https://2140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onenesslabs.io/"],shortName:"oneness",slug:"oneness-network",testnet:!1},Fl0={chain:"Oneness-Testnet",chainId:2141,explorers:[{name:"oneness-testnet",url:"https://scan.testnet.onenesslabs.io",standard:"EIP3091"}],faucets:[],name:"Oneness TestNet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2141,rpc:["https://2141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.onenesslabs.io/"],shortName:"oneness-testnet",slug:"oneness-testnet",testnet:!0},Ol0={chain:"Avalanche",chainId:2144,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Test Subnet Resources",nativeCurrency:{name:"Test Subnet Resources Token",symbol:"LNV",decimals:18},networkId:2144,redFlags:[],rpc:["https://2144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testsubnet/testnet/rpc"],shortName:"Test Subnet Resources",slug:"test-subnet-resources",testnet:!0},Vl0={chain:"ETH",chainId:2151,explorers:[{name:"BOASCAN",url:"https://boascan.io",standard:"EIP3091",icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3CT4SHmso5dRJdsjR8GL1qmt79HkdAebCn2uNaWXFYh",width:256,height:257,format:"png"},infoURL:"https://docs.bosagora.org",name:"BOSagora Mainnet",nativeCurrency:{name:"BOSAGORA",symbol:"BOA",decimals:18},networkId:2151,rpc:["https://2151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bosagora.org","https://rpc.bosagora.org"],shortName:"boa",slug:"bosagora",testnet:!1},$l0={chain:"Findora",chainId:2152,explorers:[{name:"findorascan",url:"https://evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Mainnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2152,rpc:["https://2152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.findora.org"],shortName:"fra",slug:"findora",testnet:!1},Ul0={chain:"Testnet-anvil",chainId:2153,explorers:[{name:"findorascan",url:"https://testnet-anvil.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Testnet",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2153,rpc:["https://2153.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-testnet.prod.findora.org:8545/"],shortName:"findora-testnet",slip44:1,slug:"findora-testnet",testnet:!0},ql0={chain:"Testnet-forge",chainId:2154,explorers:[{name:"findorascan",url:"https://testnet-forge.evm.findorascan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://findora.org/",name:"Findora Forge",nativeCurrency:{name:"FRA",symbol:"FRA",decimals:18},networkId:2154,rpc:["https://2154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://prod-forge.prod.findora.org:8545/"],shortName:"findora-forge",slip44:1,slug:"findora-forge",testnet:!0},Hl0={chain:"MSN",chainId:2199,explorers:[{name:"blockscout",url:"https://explorer.moonsama.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://multiverse.moonsama.com/faucet"],icon:{url:"ipfs://QmaQxfwpXYTomUd24PMx5tKjosupXcm99z1jL1XLq9LWBS",width:468,height:468,format:"png"},infoURL:"https://moonsama.com",name:"Moonsama Network",nativeCurrency:{name:"Sama Token",symbol:"SAMA",decimals:18},networkId:2199,rpc:["https://2199.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.moonsama.com","wss://rpc.moonsama.com/ws"],shortName:"msn",slip44:2199,slug:"moonsama-network",testnet:!1},zl0={chain:"ABN",chainId:2202,explorers:[{name:"Antofy Mainnet",url:"https://antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Mainnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:2202,rpc:["https://2202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.antofy.io"],shortName:"ABNm",slug:"antofy",testnet:!1},Wl0={chain:"Bitcoin EVM",chainId:2203,explorers:[{name:"Explorer",url:"https://explorer.bitcoinevm.com",standard:"none",icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreic4aq265oaf6yze7ba5okefqh6vnqudyrz6ovukvbnrlhet36itle",width:200,height:200,format:"png"},infoURL:"https://bitcoinevm.com",name:"Bitcoin EVM",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:2203,rpc:["https://2203.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bitcoinevm.com"],shortName:"BTC",slug:"bitcoin-evm",testnet:!1},jl0={chain:"EVA",chainId:2213,explorers:[{name:"Evanesco Explorer",url:"https://explorer.evanesco.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZbmGYdfbMRrWJore3c7hyD6q7B5pXHJqTSNjbZZUK6V8",width:200,height:200,format:"png"},infoURL:"https://evanesco.org/",name:"Evanesco Mainnet",nativeCurrency:{name:"EVA",symbol:"EVA",decimals:18},networkId:2213,rpc:["https://2213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed4.evanesco.org:8546"],shortName:"evanesco",slug:"evanesco",testnet:!1},Gl0={chain:"KAVA",chainId:2221,explorers:[{name:"Kava Testnet Explorer",url:"http://testnet.kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:["https://faucet.kava.io"],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava Testnet",nativeCurrency:{name:"TKava",symbol:"TKAVA",decimals:18},networkId:2221,rpc:["https://2221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.testnet.kava.io","wss://wevm.testnet.kava.io","https://kava-testnet.drpc.org","wss://kava-testnet.drpc.org"],shortName:"tkava",slug:"kava-testnet",testnet:!0},Kl0={chain:"KAVA",chainId:2222,explorers:[{name:"Kava EVM Explorer",url:"https://kavascan.com",standard:"EIP3091",icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmdpRTk6oL1HRW9xC6cAc4Rnf9gs6zgdAcr4Z3HcLztusm",width:1186,height:360,format:"svg"},infoURL:"https://www.kava.io",name:"Kava",nativeCurrency:{name:"Kava",symbol:"KAVA",decimals:18},networkId:2222,redFlags:[],rpc:["https://2222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kava-evm-rpc.publicnode.com","wss://kava-evm-rpc.publicnode.com","https://evm.kava.io","wss://wevm.kava.io","https://kava-rpc.gateway.pokt.network","https://evm.kava-rpc.com","wss://wevm.kava-rpc.com","https://rpc.ankr.com/kava_evm","https://kava.drpc.org","wss://kava.drpc.org"],shortName:"kava",slug:"kava",testnet:!1},Ql0={chain:"VChain",chainId:2223,explorers:[{name:"VChain Scan",url:"https://scan.vcex.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://bo.vcex.xyz/",name:"VChain Mainnet",nativeCurrency:{name:"VNDT",symbol:"VNDT",decimals:18},networkId:2223,rpc:["https://2223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bc.vcex.xyz"],shortName:"VChain",slug:"vchain",testnet:!1},Yl0={chain:"Krest",chainId:2241,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wss-krest.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://krest.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreid732273ib5at7krjdl2t7lteljlepwd3tvifqge7mu7g6naxavhe",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Krest Network",nativeCurrency:{name:"Krest",symbol:"KRST",decimals:18},networkId:2241,rpc:["https://2241.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://erpc-krest.peaq.network","https://krest.unitedbloc.com"],shortName:"KRST",slug:"krest-network",testnet:!1},Jl0={chain:"BOMB",chainId:2300,explorers:[{name:"bombscan",url:"https://bombscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombchain.com",name:"BOMB Chain",nativeCurrency:{name:"BOMB Token",symbol:"BOMB",decimals:18},networkId:2300,rpc:["https://2300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bombchain.com"],shortName:"bomb",slug:"bomb-chain",testnet:!1},Xl0={chain:"ebro",chainId:2306,explorers:[],faucets:[],infoURL:"https://www.ebrochain.com",name:"Ebro Network",nativeCurrency:{name:"Ebro",symbol:"ebro",decimals:18},networkId:2306,rpc:["https://2306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://greendinoswap.com"],shortName:"ebro",slug:"ebro-network",testnet:!1},Zl0={chain:"Arevia",chainId:2309,explorers:[],faucets:[],name:"Arevia",nativeCurrency:{name:"Arev",symbol:"AR\xC9V",decimals:18},networkId:2309,rpc:[],shortName:"arevia",slug:"arevia",status:"incubating",testnet:!1},ep0={chain:"LPV",chainId:2311,explorers:[{name:"Lit Vesuvius Explorer",url:"https://vesuvius-explorer.litprotocol.com",standard:"EIP3091",icon:{url:"ipfs://QmXZcwET1LhUxfc2mCdiCJFm61jUHsVVXuZYwx8zhvHQxn",width:164,height:164,format:"png"}}],faucets:["https://developer.litprotocol.com/support/intro"],features:[],icon:{url:"ipfs://QmXZcwET1LhUxfc2mCdiCJFm61jUHsVVXuZYwx8zhvHQxn",width:164,height:164,format:"png"},infoURL:"https://litprotocol.com",name:"Vesuvius - Lit Protocol Testnet",nativeCurrency:{name:"Test LPX",symbol:"tstLPX",decimals:18},networkId:2311,redFlags:[],rpc:["https://2311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vesuvius-rpc.litprotocol.com"],shortName:"lpv",slug:"vesuvius-lit-protocol-testnet",testnet:!0},tp0={chain:"SOMA",chainId:2323,explorers:[{name:"SOMA Testnet Explorer",url:"https://testnet.somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://faucet.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Testnet",nativeCurrency:{name:"SMA",symbol:"tSMA",decimals:18},networkId:2323,rpc:["https://2323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-testnet-v1.somanetwork.io/","https://testnet-au-server-2.somanetwork.io","https://testnet-au-server-1.somanetwork.io","https://testnet-sg-server-1.somanetwork.io","https://testnet-sg-server-2.somanetwork.io"],shortName:"sma",slip44:1,slug:"soma-network-testnet",testnet:!0},np0={chain:"mainnet",chainId:2330,explorers:[{name:"expedition",url:"http://expedition.altcoinchain.org",standard:"none",icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwHmGC9CRVcKo1LSesqxU31SDj9vk2iQxcFjQArzhix4",width:720,height:720,format:"png"},infoURL:"https://altcoinchain.org",name:"Altcoinchain",nativeCurrency:{name:"Altcoin",symbol:"ALT",decimals:18},networkId:2330,rpc:["https://2330.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.altcoinchain.org/rpc"],shortName:"alt",slug:"altcoinchain",status:"active",testnet:!1},ap0={chain:"RSS3",chainId:2331,explorers:[{name:"RSS3 VSL Sepolia Testnet Scan",url:"https://scan.testnet.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTE6hnMTQaGU8Fm7nQbeTqQ5Ha3kyLKHR6QTd59prP2mC",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Sepolia Testnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:2331,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://explorer.testnet.rss3.io/bridge"}]},rpc:["https://2331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.rss3.io"],shortName:"rss3-testnet",slug:"rss3-vsl-sepolia-testnet",testnet:!0},rp0={chain:"SOMA",chainId:2332,explorers:[{name:"SOMA Explorer Mainnet",url:"https://somascan.io",standard:"none",icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"}}],faucets:["https://airdrop.somanetwork.io"],icon:{url:"ipfs://QmadSU2tcyvuzssDYGJ4rVLag43QLnKwcBerZR2zKLVU2N",width:500,height:500,format:"png"},infoURL:"https://somanetwork.io",name:"SOMA Network Mainnet",nativeCurrency:{name:"Soma Native Token",symbol:"SMA",decimals:18},networkId:2332,rpc:["https://2332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-mainnet-v1.somanetwork.io/","https://id-mainnet.somanetwork.io","https://hk-mainnet.somanetwork.io","https://sg-mainnet.somanetwork.io"],shortName:"smam",slug:"soma-network",status:"incubating",testnet:!1},ip0={chain:"Atleta",chainId:2340,explorers:[{name:"Atleta Olympia Explorer",url:"https://blockscout.atleta.network",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}},{name:"Atleta Olympia Polka Explorer",url:"https://polkadot-explorer.atleta.network/#/explorer",standard:"none",icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"}}],faucets:["https://app-olympia.atleta.network/faucet"],icon:{url:"ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",width:128,height:128,format:"png"},infoURL:"https://atleta.network",name:"Atleta Olympia",nativeCurrency:{name:"Atla",symbol:"ATLA",decimals:18},networkId:2340,rpc:["https://2340.rpc.thirdweb.com/${THIRDWEB_API_KEY}","wss://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network:9944","https://testnet-rpc.atleta.network"],shortName:"atla",slip44:1,slug:"atleta-olympia",testnet:!0},sp0={chain:"OMNIA",chainId:2342,explorers:[{name:"OmniaVerse Explorer",url:"https://scan.omniaverse.io",standard:"EIP3091"}],faucets:["https://www.omniaverse.io"],icon:{url:"ipfs://QmdNQMFxcjB9PAP1LZVqaQmyppV5QGTqXXmbBeQyaTUpMM",width:192,height:192,format:"png"},infoURL:"https://www.omniaverse.io",name:"Omnia Chain",nativeCurrency:{name:"Omnia",symbol:"OMNIA",decimals:18},networkId:2342,rpc:["https://2342.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.omniaverse.io"],shortName:"omnia",slug:"omnia-chain",testnet:!1},fp0={chain:"Silicon",chainId:2355,explorers:[],faucets:[],icon:{url:"ipfs://QmTEnk2fosqbY6HQW5vySrLGbopJfeni9ThZ6R9sVefbnq",width:800,height:800,format:"png"},name:"Silicon zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2355,parent:{type:"L2",chain:"eip155-1",bridges:[]},rpc:[],shortName:"silicon-zk",slug:"silicon-zkevm",status:"incubating",testnet:!1,title:"Silicon zkEVM Mainnet"},op0={chain:"ETH",chainId:2357,explorers:[{name:"blockscout",url:"https://blockscout.sepolia-deprecated.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"(deprecated) Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2357,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia-deprecated.kroma.network"],shortName:"deprecated-kroma-sepolia",slip44:1,slug:"deprecated-kroma-sepolia",status:"deprecated",testnet:!0,title:"(deprecated) Kroma Testnet Sepolia"},cp0={chain:"ETH",chainId:2358,explorers:[{name:"blockscout",url:"https://blockscout.sepolia.kroma.network",standard:"EIP3091",icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",width:320,height:320,format:"svg"},infoURL:"https://kroma.network",name:"Kroma Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:2358,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://kroma.network/bridge"}]},rpc:["https://2358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.sepolia.kroma.network"],shortName:"kroma-sepolia",slip44:1,slug:"kroma-sepolia",testnet:!0,title:"Kroma Testnet Sepolia"},dp0={chain:"Nexis Network",chainId:2370,explorers:[{name:"Nexis Testnet Explorer",url:"https://evm-testnet.nexscan.io",standard:"EIP3091"}],faucets:["https://evm-faucet.nexis.network"],icon:{url:"ipfs://QmdJwWuMgbhoZhgFM4zWrZne6qs5ktcL1vBLKX12VGgALM",width:1892,height:1892,format:"png"},infoURL:"https://nexis.network/",name:"Nexis Network Testnet",nativeCurrency:{name:"Nexis",symbol:"NZT",decimals:18},networkId:2370,rpc:["https://2370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.nexis.network"],shortName:"nzt",slug:"nexis-network-testnet",testnet:!0},lp0={chain:"BOMB",chainId:2399,explorers:[{name:"bombscan-testnet",url:"https://explorer.bombchain-testnet.ankr.com",standard:"EIP3091",icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"}}],faucets:["https://faucet.bombchain-testnet.ankr.com/"],icon:{url:"ipfs://Qmc44uSjfdNHdcxPTgZAL8eZ8TLe4UmSHibcvKQFyGJxTB",width:1024,height:1024,format:"png"},infoURL:"https://www.bombmoney.com",name:"BOMB Chain Testnet",nativeCurrency:{name:"BOMB Token",symbol:"tBOMB",decimals:18},networkId:2399,rpc:["https://2399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bombchain-testnet.ankr.com/bas_full_rpc_1"],shortName:"bombt",slip44:1,slug:"bomb-chain-testnet",testnet:!0},pp0={chain:"TCG Verse",chainId:2400,explorers:[{name:"TCG Verse Explorer",url:"https://explorer.tcgverse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreidg4wpewve5mdxrofneqblydkrjl3oevtgpdf3fk3z3vjqam6ocoe",width:350,height:350,format:"png"},infoURL:"https://tcgverse.xyz/",name:"TCG Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:2400,parent:{type:"L2",chain:"eip155-248"},rpc:["https://2400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tcgverse.xyz"],shortName:"TCGV",slug:"tcg-verse",testnet:!1},up0={chain:"Karak",chainId:2410,explorers:[{name:"Karak Mainnet Explorer",url:"https://explorer.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2410,parent:{type:"L2",chain:"eip155-1"},rpc:["https://2410.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.karak.network"],shortName:"karak-mainnet",slug:"karak",testnet:!1},yp0={chain:"XODEX",chainId:2415,explorers:[{name:"XODEX Explorer",url:"https://explorer.xo-dex.com",standard:"EIP3091",icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXt49jPfHUmDF4n8TF7ks6txiPztx6qUHanWmHnCoEAhW",width:256,height:256,format:"png"},infoURL:"https://xo-dex.com",name:"XODEX",nativeCurrency:{name:"XODEX Native Token",symbol:"XODEX",decimals:18},networkId:10,rpc:["https://2415.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xo-dex.com/rpc","https://xo-dex.io"],shortName:"xodex",slug:"xodex",testnet:!1},mp0={chain:"KOL",chainId:2425,explorers:[{name:"King Of Legends Devnet Explorer",url:"https://devnet.kingscan.org",standard:"EIP3091",icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTZFXhYJboYE9fbaeje12iTF3QPLn6xgyFgrDVe2isDBH",width:400,height:400,format:"png"},infoURL:"https://kingoflegends.net/",name:"King Of Legends Devnet",nativeCurrency:{name:"King Of Legends",symbol:"KOL",decimals:18},networkId:2425,rpc:["https://2425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet.kinggamer.org/"],shortName:"kol",slip44:1,slug:"king-of-legends-devnet",testnet:!1,title:"King Of Legends Devnet"},bp0={chain:"Polygon",chainId:2442,explorers:[{name:"polygonscan",url:"https://cardona-zkevm.polygonscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNmJZkQgx9RcFLS3rvxQTVYcPfyAFPr667keHTUxB9PDv",width:122,height:135,format:"png"},infoURL:"https://polygon.technology/polygon-zkevm",name:"Polygon zkEVM Cardona Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2442,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-ui.cardona.zkevm-rpc.com"}]},rpc:["https://2442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cardona.zkevm-rpc.com"],shortName:"zkevm-testnet-cardona",slug:"polygon-zkevm-cardona-testnet",testnet:!0,title:"Polygon zkEVM Cardona Testnet"},hp0={chain:"HYBRID",chainId:2458,explorers:[{name:"Hybrid Chain Explorer Testnet",url:"https://testnet.hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Testnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"tHRC",decimals:18},networkId:2458,rpc:["https://2458.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hybridchain.ai/"],shortName:"thrc",slip44:1,slug:"hybrid-chain-network-testnet",testnet:!0},gp0={chain:"HYBRID",chainId:2468,explorers:[{name:"Hybrid Chain Explorer Mainnet",url:"https://hybridscan.ai",standard:"none",icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"}}],faucets:["https://faucet-testnet.hybridchain.ai"],icon:{url:"ipfs://QmQDNdhPvCrrijEKC3G9Px5if2CHgdxq7Q2Pg66cy9xwbF",width:512,height:512,format:"png"},infoURL:"https://hybridchain.ai",name:"Hybrid Chain Network Mainnet",nativeCurrency:{name:"Hybrid Chain Native Token",symbol:"HRC",decimals:18},networkId:2468,rpc:["https://2468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://coredata-mainnet.hybridchain.ai/","https://rpc-mainnet.hybridchain.ai"],shortName:"hrc",slug:"hybrid-chain-network",testnet:!0},vp0={chain:"u2u",chainId:2484,explorers:[{name:"U2U Explorer",url:"https://testnet.u2uscan.xyz",standard:"EIP3091",icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"}}],faucets:["https://faucet.uniultra.xyz"],icon:{url:"ipfs://QmcW64RgqQVHnNbVFyfaMNKt7dJvFqEbfEHZmeyeK8dpEa",width:512,height:512,format:"png"},infoURL:"https://uniultra.xyz",name:"Unicorn Ultra Nebulas Testnet",nativeCurrency:{name:"Unicorn Ultra Nebulas Testnet",symbol:"U2U",decimals:18},networkId:2484,rpc:["https://2484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nebulas-testnet.uniultra.xyz"],shortName:"u2u_nebulas",slip44:1,slug:"unicorn-ultra-nebulas-testnet",testnet:!0},Tp0={chain:"Karak",chainId:2511,explorers:[{name:"Karak Goerli Explorer",url:"https://goerli.scan.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Goerli",nativeCurrency:{name:"Karak",symbol:"KRK",decimals:18},networkId:2511,parent:{type:"L2",chain:"eip155-5"},rpc:["https://2511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.node1.karak.network"],shortName:"karak-goerli",slug:"karak-goerli",status:"deprecated",testnet:!1},_p0={chain:"FRAX",chainId:2522,explorers:[{name:"fraxscan",url:"https://holesky.fraxscan.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",width:512,height:512,format:"PNG"},infoURL:"https://testnet.frax.com",name:"Fraxtal Testnet",nativeCurrency:{name:"Frax Ether",symbol:"frxETH",decimals:18},networkId:2522,redFlags:[],rpc:["https://2522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frax.com"],shortName:"fraxtal-testnet",slip44:1,slug:"fraxtal-testnet",status:"active",testnet:!0},wp0={chain:"inEVM",chainId:2525,explorers:[],faucets:[],icon:{url:"ipfs://QmU9KU1qgReJR7vyVxN5zwWB3nkhSs658ViArUjT7GCh4r",width:2e3,height:2e3,format:"png"},infoURL:"https://inevm.com",name:"inEVM Mainnet",nativeCurrency:{name:"Injective",symbol:"INJ",decimals:18},networkId:2525,rpc:["https://2525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.inevm.com/http"],shortName:"inevm",slug:"inevm",status:"active",testnet:!1},xp0={chain:"Kortho Chain",chainId:2559,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"Kortho Mainnet",nativeCurrency:{name:"KorthoChain",symbol:"KTO",decimals:11},networkId:2559,rpc:["https://2559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.kortho-chain.com"],shortName:"ktoc",slug:"kortho",testnet:!1},Ip0={chain:"TPC",chainId:2569,explorers:[{name:"tpcscan",url:"https://tpcscan.com",standard:"EIP3091",icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",width:578,height:701,format:"svg"},infoURL:"https://techpay.io/",name:"TechPay Mainnet",nativeCurrency:{name:"TechPay",symbol:"TPC",decimals:18},networkId:2569,rpc:["https://2569.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.techpay.io/"],shortName:"tpc",slug:"techpay",testnet:!1},Ep0={chain:"CRC",chainId:2606,explorers:[{name:"Lite Explorer",url:"https://ethereum-pocr.github.io/explorer/pocrnet",standard:"EIP3091",icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRLwpq47tyEd3rfK4tKRhbTvyb3fc7PCutExnL1XAb37A",width:334,height:360,format:"png"},infoURL:"https://github.com/ethereum-pocr/pocrnet",name:"PoCRNet",nativeCurrency:{name:"Climate awaReness Coin",symbol:"CRC",decimals:18},networkId:2606,rpc:["https://2606.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pocrnet.westeurope.cloudapp.azure.com/http","wss://pocrnet.westeurope.cloudapp.azure.com/ws"],shortName:"pocrnet",slug:"pocrnet",status:"active",testnet:!1,title:"Proof of Climate awaReness mainnet"},Dp0={chain:"REDLC",chainId:2611,explorers:[{name:"REDLC Explorer",url:"https://redlightscan.finance",standard:"EIP3091"}],faucets:[],infoURL:"https://redlight.finance/",name:"Redlight Chain Mainnet",nativeCurrency:{name:"Redlight Coin",symbol:"REDLC",decimals:18},networkId:2611,rpc:["https://2611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed2.redlightscan.finance"],shortName:"REDLC",slug:"redlight-chain",testnet:!1},Cp0={chain:"EZC",chainId:2612,explorers:[{name:"ezchain",url:"https://cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Mainnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2612,rpc:["https://2612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.ezchain.com/ext/bc/C/rpc"],shortName:"EZChain",slug:"ezchain-c-chain",testnet:!1},Sp0={chain:"EZC",chainId:2613,explorers:[{name:"ezchain",url:"https://testnet-cchain-explorer.ezchain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.ezchain.com"],icon:{url:"ipfs://QmPKJbYCFjGmY9X2cA4b9YQjWYHQncmKnFtKyQh9rHkFTb",width:146,height:48,format:"png"},infoURL:"https://ezchain.com",name:"EZChain C-Chain Testnet",nativeCurrency:{name:"EZChain",symbol:"EZC",decimals:18},networkId:2613,rpc:["https://2613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.ezchain.com/ext/bc/C/rpc"],shortName:"Fuji-EZChain",slip44:1,slug:"ezchain-c-chain-testnet",testnet:!0},Ap0={chain:"WBT",chainId:2625,explorers:[{name:"whitechain-testnet-explorer",url:"https://testnet.whitechain.io",standard:"EIP3091"}],faucets:["https://testnet.whitechain.io/faucet"],icon:{url:"ipfs://QmNeELax6vjkR9WZVmtggk8cam9xHVABZ4WvQyqkGCJ5qf",width:512,height:512,format:"png"},infoURL:"https://whitechain.io",name:"Whitechain Testnet",nativeCurrency:{name:"WhiteBIT Coin",symbol:"WBT",decimals:18},networkId:2625,rpc:["https://2625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.whitechain.io"],shortName:"twbt",slip44:1,slug:"whitechain-testnet",testnet:!0},kp0={chain:"AILayer",chainId:2648,explorers:[{name:"blockscout",url:"https://testnet-explorer.ailayer.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYoqc8rm8PrBg9jqfpsrxd6zdPEqDozbyNVMkBo3QMAFP",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYoqc8rm8PrBg9jqfpsrxd6zdPEqDozbyNVMkBo3QMAFP",width:500,height:500,format:"png"},infoURL:"https://ailayer.xyz/",name:"AILayer Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2648,rpc:["https://2648.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.ailayer.xyz","wss://testnet-rpc.ailayer.xyz"],shortName:"ailayer-testnet",slug:"ailayer-testnet",testnet:!0},Pp0={chain:"AILayer",chainId:2649,explorers:[{name:"blockscout",url:"https://mainnet-explorer.ailayer.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYoqc8rm8PrBg9jqfpsrxd6zdPEqDozbyNVMkBo3QMAFP",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYoqc8rm8PrBg9jqfpsrxd6zdPEqDozbyNVMkBo3QMAFP",width:500,height:500,format:"png"},infoURL:"https://ailayer.xyz/",name:"AILayer Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:2649,rpc:["https://2649.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ailayer.xyz","wss://mainnet-rpc.ailayer.xyz"],shortName:"ailayer-mainnet",slug:"ailayer",testnet:!1},Rp0={chain:"ETH",chainId:2662,explorers:[],faucets:[],icon:{url:"ipfs://QmTYgeN1E3GGXnMF2oa43v2ehX2bYqrHPrGQ9xbBMXy1we",width:1280,height:1280,format:"png"},infoURL:"https://apexlayer.xyz/",name:"APEX",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2662,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"apexmainnet",slug:"apex",status:"incubating",testnet:!1},Lp0={chain:"ETH",chainId:2710,explorers:[{name:"Morph Testnet Explorer",url:"https://explorer-testnet.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2710,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-testnet.morphl2.io"}]},rpc:["https://2710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.morphl2.io"],shortName:"tmorph",slip44:1,slug:"morph-testnet",testnet:!0},Mp0={chain:"Avalanche",chainId:2715,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3583",nativeCurrency:{name:"QaUser3583 Token",symbol:"XDR",decimals:18},networkId:2715,redFlags:[],rpc:["https://2715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3583",slug:"qauser3583",testnet:!0},Bp0={chain:"K-LAOS",chainId:2718,explorers:[{name:"blockscout",url:"https://blockscout.klaos.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"K-LAOS",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:2718,rpc:["https://2718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaos.laosfoundation.io","wss://rpc.klaos.laosfoundation.io"],shortName:"k-laos",slug:"k-laos",testnet:!1,title:"K-LAOS: LAOS on Kusama"},Np0={chain:"XR Sepolia",chainId:2730,explorers:[{name:"XR Sepolia Explorer",url:"https://xr-sepolia-testnet.explorer.caldera.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",width:300,height:300,format:"png"},infoURL:"https://xr-one.gitbook.io",name:"XR Sepolia",nativeCurrency:{name:"tXR",symbol:"tXR",decimals:18},networkId:2730,parent:{type:"L2",chain:"eip155-421614",bridges:[]},redFlags:[],rpc:["https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http","https://xr-sepolia-testnet.rpc.caldera.xyz/http"],shortName:"xr-sepolia",slip44:60,slug:"xr-sepolia",status:"active",testnet:!0},Fp0={chain:"Elizabeth",chainId:2731,explorers:[{name:"Time Network Explorer",url:"https://testnet-scanner.timenetwork.io",standard:"none",icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidoudwo453gr3hoxpreleguga73rm55yl6vuedxrfmhknljppqbiu",width:512,height:512,format:"png"},infoURL:"https://whitepaper.anttime.net/overview/anttime",name:"Elizabeth Testnet",nativeCurrency:{name:"TIME",symbol:"TIME",decimals:18},networkId:2731,rpc:["https://2731.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.timenetwork.io"],shortName:"TIME",slug:"elizabeth-testnet",testnet:!0},Op0={chain:"ETH",chainId:2748,explorers:[{name:"Nanon Rollup Explorer",url:"https://explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2748,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.nanon.network"}]},rpc:["https://2748.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nanon.network"],shortName:"Nanon",slip44:1,slug:"nanon",testnet:!1,title:"Nanon Rollup"},Vp0={chain:"GM Network Mainnet",chainId:2777,explorers:[{name:"GM Network Mainnet Explorer",url:"https://scan.gmnetwork.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2777,rpc:["https://2777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gmnetwork.ai"],shortName:"gmnetwork-mainnet",slug:"gm-network",status:"active",testnet:!1},$p0={chain:"ETH",chainId:2810,explorers:[{name:"Morph Holesky Testnet Explorer",url:"https://explorer-holesky.morphl2.io",standard:"EIP3091"}],faucets:[],infoURL:"https://morphl2.io",name:"Morph Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2810,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge-holesky.morphl2.io"}]},rpc:["https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quicknode-holesky.morphl2.io","wss://rpc-quicknode-holesky.morphl2.io","https://rpc-holesky.morphl2.io"],shortName:"hmorph",slip44:1,slug:"morph-holesky",testnet:!0,title:"Morph Holesky Testnet"},Up0={chain:"Avalanche",chainId:2828,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan's Testnet 1",nativeCurrency:{name:"Cohan's Testnet 1 Token",symbol:"FQC",decimals:18},networkId:2828,redFlags:[],rpc:["https://2828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a6eec829-2c08-4264-b0d7-6d393997e9a6"],shortName:"Cohan's Testnet 1",slug:"cohan-s-testnet-1",testnet:!0},qp0={chain:"Avalanche",chainId:2864,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0613I1",nativeCurrency:{name:"QI0613I1 Token",symbol:"NPQ",decimals:18},networkId:2864,redFlags:[],rpc:["https://2864.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0613I1",slug:"qi0613i1",testnet:!0},Hp0={chain:"ETH",chainId:2888,explorers:[{name:"Blockscout",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],features:[],infoURL:"https://boba.network",name:"Boba Network Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:2888,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},redFlags:[],rpc:["https://2888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.boba.network/","wss://wss.goerli.boba.network/"],shortName:"BobaGoerli",slip44:1,slug:"boba-network-goerli-testnet",status:"deprecated",testnet:!0},zp0={chain:"ELUX",chainId:2907,explorers:[{name:"blockscout",url:"https://eluxscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQC7LzzFj8kL71a1MXRgn3TSeRrgF1tTuVEzvWx5cQjv1",width:114,height:132,format:"png"},infoURL:"https://eluxscan.com",name:"Elux Chain",nativeCurrency:{name:"Elux Chain",symbol:"ELUX",decimals:18},networkId:2907,rpc:["https://2907.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eluxscan.com"],shortName:"ELUX",slug:"elux-chain",testnet:!1},Wp0={chain:"2911",chainId:2911,explorers:[{name:"blockscout",url:"https://explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:2911,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.hychain.com"}]},redFlags:[],rpc:["https://2911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hychain.com/http"],shortName:"hychain",slug:"hychain",testnet:!0},jp0={chain:"XEN",chainId:2941,explorers:[{name:"Xenon testnet Explorer",url:"https://testnet.xenonchain.com",standard:"none"}],faucets:["https://xfaucet.xenonchain.com"],icon:{url:"ipfs://QmNSoxDnj6MV8mPJWiuzzLbATcbk5op11NTwMTdzcr272F",width:500,height:500,format:"png"},infoURL:"https://xenonchain.com",name:"Xenon Chain Testnet",nativeCurrency:{name:"Xenon Testnet",symbol:"tXEN",decimals:18},networkId:2941,rpc:["https://2941.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-chain.xenonchain.com/","https://testnet-dev.xenonchain.com/"],shortName:"xenon",slip44:1,slug:"xenon-chain-testnet",testnet:!0},Gp0={chain:"BTY",chainId:2999,explorers:[{name:"BitYuan Block Chain Explorer",url:"https://mainnet.bityuan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUmJVof2m5e4HUXb3GmijWUFsLUNhrQiwwQG3CqcXEtHt",width:91,height:24,format:"png"},infoURL:"https://www.bityuan.com",name:"BitYuan Mainnet",nativeCurrency:{name:"BTY",symbol:"BTY",decimals:18},networkId:2999,rpc:["https://2999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bityuan.com/eth"],shortName:"bty",slug:"bityuan",testnet:!1},Kp0={chain:"CENNZnet",chainId:3e3,explorers:[],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Rata",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3e3,rpc:[],shortName:"cennz-r",slug:"cennznet-rata",testnet:!1},Qp0={chain:"CENNZnet",chainId:3001,explorers:[{name:"UNcover",url:"https://www.uncoverexplorer.com/?network=Nikau",standard:"none"}],faucets:["https://app-faucet.centrality.me"],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Nikau",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:3001,rpc:["https://3001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nikau.centrality.me/public"],shortName:"cennz-n",slug:"cennznet-nikau",testnet:!1},Yp0={chain:"CAU",chainId:3003,explorers:[{name:"canxium explorer",url:"https://explorer.canxium.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Canxium Mainnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:3003,rpc:["https://3003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.canxium.org"],shortName:"cau",slug:"canxium",testnet:!1},Jp0={chain:"3ULL",chainId:3011,explorers:[{name:"PLAYA3ULL GAMES Explorer",url:"https://3011.routescan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreib62bv2d65d7nidojgpkgatrt7smee2l4ov6i6ozqhpfaqsonxku4",width:512,height:443,format:"png"},infoURL:"https://playa3ull.games",name:"PLAYA3ULL GAMES",nativeCurrency:{name:"3ULL",symbol:"3ULL",decimals:18},networkId:3011,rpc:["https://3011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnet.playa3ull.games"],shortName:"3ULL",slug:"playa3ull-games",testnet:!1},Xp0={chain:"Avalanche",chainId:3026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405064 NO INTEROP PRECOMPILE",nativeCurrency:{name:"QIM2405064 NO INTEROP PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:3026,redFlags:[],rpc:["https://3026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405064 NO INTEROP PRECOMPILE",slug:"qim2405064-no-interop-precompile",testnet:!0},Zp0={chain:"ORL",chainId:3031,explorers:[{name:"Orlando (ORL) Explorer",url:"https://orlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNsuuBBTHErnuFDcdyzaY8CKoVJtobsLJx2WQjaPjcp7g",width:512,height:528,format:"png"},infoURL:"https://orlchain.com",name:"Orlando Chain",nativeCurrency:{name:"Orlando",symbol:"ORL",decimals:18},networkId:3031,rpc:["https://3031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.orlchain.com"],shortName:"ORL",slug:"orlando-chain",testnet:!0},e50={chain:"REBUS",chainId:3033,explorers:[{name:"Rebus EVM Explorer (Blockscout)",url:"https://evm.testnet.rebus.money",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}},{name:"Rebus Cosmos Explorer (ping.pub)",url:"https://testnet.rebus.money/rebustestnet",standard:"none",icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",width:512,height:512,format:"png"},infoURL:"https://www.rebuschain.com",name:"Rebus Testnet",nativeCurrency:{name:"Rebus",symbol:"REBUS",decimals:18},networkId:3033,rpc:["https://3033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rebus.money/rpc"],shortName:"rebus-testnet",slug:"rebus-testnet",testnet:!0,title:"Rebuschain Testnet"},t50={chain:"Avalanche",chainId:3036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"QED",decimals:18},networkId:3036,redFlags:[],rpc:["https://3036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet",testnet:!0},n50={chain:"BFC",chainId:3068,explorers:[{name:"explorer-thebifrost",url:"https://explorer.mainnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Mainnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:3068,rpc:["https://3068.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.mainnet.bifrostnetwork.com/rpc","https://public-02.mainnet.bifrostnetwork.com/rpc"],shortName:"bfc",slug:"bifrost",testnet:!1,title:"Bifrost Network Mainnet"},a50={chain:"Avalanche",chainId:3070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9054",nativeCurrency:{name:"QaUser9054 Token",symbol:"QFE",decimals:18},networkId:3070,redFlags:[],rpc:["https://3070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9054",slug:"qauser9054",testnet:!0},r50={chain:"MOVE",chainId:3073,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:3073,rpc:[],shortName:"move",slug:"movement-evm",status:"incubating",testnet:!1},i50={chain:"Avalanche",chainId:3084,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XL Network Testnet",nativeCurrency:{name:"XL Network Testnet Token",symbol:"XLN",decimals:18},networkId:3084,redFlags:[],rpc:["https://3084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xlnetworkt/testnet/rpc"],shortName:"XL Network Testnet",slug:"xl-network-testnet",testnet:!0},s50={chain:"EVMCC",chainId:3100,explorers:[],faucets:[],infoURL:"https://immu3.io",name:"Immu3 EVM",nativeCurrency:{name:"IMMU",symbol:"IMMU",decimals:18},networkId:3100,rpc:["https://3100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network","wss://fraa-flashbox-2800-rpc.a.stagenet.tanssi.network"],shortName:"Immu3",slug:"immu3-evm",testnet:!1},f50={chain:"VFIEVMCC",chainId:3102,explorers:[],faucets:[],infoURL:"https://vulture.finance",name:"Vulture EVM Beta",nativeCurrency:{name:"VFI",symbol:"VFI",decimals:18},networkId:3102,rpc:["https://3102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3050-rpc.a.dancebox.tanssi.network"],shortName:"VFI",slug:"vulture-evm-beta",testnet:!1},o50={chain:"SatoshiVM",chainId:3109,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Alpha Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3109,rpc:["https://3109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc-node-http.svmscan.io"],shortName:"SAVM",slug:"satoshivm-alpha",testnet:!1},c50={chain:"SatoshiVM",chainId:3110,explorers:[],faucets:[],icon:{url:"ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",width:940,height:941,format:"png"},infoURL:"https://www.satoshivm.io/",name:"SatoshiVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:3110,rpc:["https://3110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc-node-http.svmscan.io"],shortName:"tSAVM",slug:"satoshivm-testnet",testnet:!0},d50={chain:"FIL",chainId:3141,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Hyperspace testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141,rpc:[],shortName:"filecoin-hyperspace",slip44:1,slug:"filecoin-hyperspace-testnet",status:"deprecated",testnet:!0},l50={chain:"DUBX",chainId:3269,explorers:[],faucets:[],infoURL:"https://arabianchain.org",name:"Dubxcoin network",nativeCurrency:{name:"Dubxcoin mainnet",symbol:"DUBX",decimals:18},networkId:3269,rpc:["https://3269.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmain.arabianchain.org"],shortName:"dubx",slug:"dubxcoin-network",testnet:!1},p50={chain:"TESTDUBX",chainId:3270,explorers:[],faucets:["https://faucet.arabianchain.org/"],infoURL:"https://arabianchain.org",name:"Dubxcoin testnet",nativeCurrency:{name:"Dubxcoin testnet",symbol:"TDUBX",decimals:18},networkId:3270,rpc:["https://3270.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctestnet.arabianchain.org"],shortName:"testdubx",slip44:1,slug:"dubxcoin-testnet",testnet:!0},u50={chain:"Debounce Network",chainId:3306,explorers:[{name:"Debounce Devnet Explorer",url:"https://explorer.debounce.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeib5q4hez37s7b2fx4hqt2q4ji2tuudxjhfdgnp6q3d5mqm6wsxdfq",width:256,height:256,format:"png"},infoURL:"https://debounce.network",name:"Debounce Subnet Testnet",nativeCurrency:{name:"Debounce Network",symbol:"DB",decimals:18},networkId:3306,rpc:["https://3306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.debounce.network"],shortName:"debounce-devnet",slip44:1,slug:"debounce-subnet-testnet",testnet:!0},y50={chain:"Beach",chainId:3331,explorers:[],faucets:["https://faucet.zcore.cash"],icon:{url:"ipfs://QmQnXu13ym8W1VA3QxocaNVXGAuEPmamSCkS7bBscVk1f4",width:1050,height:1050,format:"png"},infoURL:"https://zcore.cash",name:"ZCore Testnet",nativeCurrency:{name:"ZCore",symbol:"ZCR",decimals:18},networkId:3331,rpc:["https://3331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.zcore.cash"],shortName:"zcrbeach",slip44:1,slug:"zcore-testnet",testnet:!0},m50={chain:"EthStorage",chainId:3333,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3333,rpc:["https://3333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.ethstorage.io:9540"],shortName:"es-t",slip44:1,slug:"ethstorage-testnet",testnet:!0},b50={chain:"Web3Q",chainId:3334,explorers:[{name:"w3q-galileo",url:"https://explorer.galileo.web3q.io",standard:"EIP3091"}],faucets:[],infoURL:"https://galileo.web3q.io/home.w3q/",name:"Web3Q Galileo",nativeCurrency:{name:"Web3Q",symbol:"W3Q",decimals:18},networkId:3334,rpc:["https://3334.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galileo.web3q.io:8545"],shortName:"w3q-g",slug:"web3q-galileo",testnet:!1},h50={chain:"EthStorage",chainId:3335,explorers:[],faucets:[],infoURL:"https://ethstorage.io/",name:"EthStorage Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3335,rpc:["https://3335.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://mainnet.ethstorage.io:9540"],shortName:"es-m",slip44:1,slug:"ethstorage",testnet:!1},g50={chain:"peaq",chainId:3338,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpeaq.api.onfinality.io%2Fpublic-ws#/explorer",standard:"none"},{name:"Subscan",url:"https://peaq.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafybeihnkvboj4n6psjnzn4omaopfekvag4kax22l4agx6zppp7xx3d6ky",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"The peaq Network",nativeCurrency:{name:"peaq",symbol:"PEAQ",decimals:18},networkId:3338,rpc:["https://3338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://peaq.api.onfinality.io/public","https://peaq-rpc.dwellir.com"],shortName:"PEAQ",slug:"the-peaq-network",testnet:!1},v50={chain:"PRB",chainId:3400,explorers:[{name:"Paribu Net Explorer",url:"https://explorer.paribu.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Mainnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3400,rpc:["https://3400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.paribu.network"],shortName:"prb",slug:"paribu-net",testnet:!1},T50={chain:"EVO",chainId:3424,explorers:[{name:"Evolve Mainnet Explorer",url:"https://evoexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Mainnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:3424,rpc:["https://3424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evolveblockchain.io"],shortName:"EVOm",slug:"evolve",testnet:!1},_50={chain:"SCAI",chainId:3434,explorers:[{name:"SecureChain",url:"https://testnet.securechain.ai",standard:"EIP3091"}],faucets:["https://faucet.securechain.ai"],icon:{url:"ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",width:150,height:150,format:"png"},infoURL:"https://securechain.ai",name:"SecureChain Testnet",nativeCurrency:{name:"SCAI",symbol:"SCAI",decimals:18},networkId:3434,rpc:["https://3434.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.securechain.ai"],shortName:"SCAIt",slip44:1,slug:"securechain-testnet",testnet:!0},w50={chain:"Avalanche",chainId:3454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa",nativeCurrency:{name:"Masa Token",symbol:"MASA",decimals:18},networkId:3454,redFlags:[],rpc:["https://3454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masa/mainnet/rpc"],shortName:"Masa",slug:"masa",testnet:!1},x50={chain:"LayerEdge",chainId:3456,explorers:[{name:"LayerEdge Testnet Explorer",url:"https://testnet-explorer.layeredge.io",standard:"EIP3091",icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"}}],faucets:["https://testnet-faucet.layeredge.io"],icon:{url:"ipfs://QmT2RotFAn8edji6FqBiP1TpTb1EFqHr28qbQGoRaJ9nTN",width:218,height:211,format:"svg"},infoURL:"https://www.layeredge.io",name:"LayerEdge testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:3456,rpc:["https://3456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.layeredge.io"],shortName:"LayerEdge-testnet",slug:"layeredge-testnet",testnet:!0},I50={chain:"GTC",chainId:3490,explorers:[{name:"GTCScan Explorer",url:"https://gtcscan.io",standard:"none",icon:{url:"ipfs://bafybeiaaq7gogws6uqcvo6imxbxfgpdhewybh7bxgtfny2i2as5nidbdje",width:312,height:312,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeiaaq7gogws6uqcvo6imxbxfgpdhewybh7bxgtfny2i2as5nidbdje",width:312,height:312,format:"png"},infoURL:"https://gtcscan.io/",name:"GTCSCAN",nativeCurrency:{name:"GTC",symbol:"GTC",decimals:18},networkId:3490,rpc:["https://3490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gtc-dataseed.gtcscan.io/"],shortName:"gtc",slip44:1,slug:"gtcscan",testnet:!1},E50={chain:"PRB",chainId:3500,explorers:[{name:"Paribu Net Testnet Explorer",url:"https://testnet.paribuscan.com",standard:"EIP3091"}],faucets:["https://faucet.paribuscan.com"],icon:{url:"ipfs://QmVgc77jYo2zrxQjhYwT4KzvSrSZ1DBJraJVX57xAvP8MD",width:2362,height:2362,format:"png"},infoURL:"https://net.paribu.com",name:"Paribu Net Testnet",nativeCurrency:{name:"PRB",symbol:"PRB",decimals:18},networkId:3500,rpc:["https://3500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.paribuscan.com"],shortName:"prbtestnet",slip44:1,slug:"paribu-net-testnet",testnet:!0},D50={chain:"JFIN",chainId:3501,explorers:[{name:"JFIN Chain Explorer",url:"https://exp.jfinchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jfinchain.com",name:"JFIN Chain",nativeCurrency:{name:"JFIN Coin",symbol:"JFIN",decimals:18},networkId:3501,rpc:["https://3501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jfinchain.com"],shortName:"JFIN",slug:"jfin-chain",testnet:!1},C50={chain:"PandoProject",chainId:3601,explorers:[{name:"Pando Mainnet Explorer",url:"https://explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Mainnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3601,rpc:["https://3601.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-rpc-api.pandoproject.org/rpc"],shortName:"pando-mainnet",slug:"pandoproject",testnet:!1},S50={chain:"PandoProject",chainId:3602,explorers:[{name:"Pando Testnet Explorer",url:"https://testnet.explorer.pandoproject.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNduBtT5BNGDw7DjRwDvaZBb6gjxf46WD7BYhn4gauGc9",width:1e3,height:1628,format:"png"},infoURL:"https://www.pandoproject.org/",name:"PandoProject Testnet",nativeCurrency:{name:"pando-token",symbol:"PTX",decimals:18},networkId:3602,rpc:["https://3602.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.ethrpc.pandoproject.org/rpc"],shortName:"pando-testnet",slip44:1,slug:"pandoproject-testnet",testnet:!0},A50={chain:"TYCON",chainId:3630,explorers:[],faucets:[],name:"Tycooncoin",nativeCurrency:{name:"Tycooncoin",symbol:"TYCO",decimals:18},networkId:3630,rpc:["https://3630.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tycoscan.com"],shortName:"TYCON",slug:"tycooncoin",testnet:!1},k50={chain:"BOTANIX",chainId:3636,explorers:[{name:"3xpl",url:"https://3xpl.com/botanix",standard:"EIP3091"},{name:"Blockscout",url:"https://blockscout.botanixlabs.dev",standard:"EIP3091"}],faucets:["https://faucet.botanixlabs.dev"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://botanixlabs.xyz",name:"Botanix Testnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3636,rpc:["https://3636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.botanixlabs.dev"],shortName:"BTNX",slip44:1,slug:"botanix-testnet",testnet:!0},P50={chain:"BTC",chainId:3637,explorers:[{name:"Botanix",url:"https://btxtestchain.com",standard:"EIP3091"}],faucets:["https://faucet.btxtestchain.com"],icon:{url:"ipfs://QmVE5s2pXiqdMnAcxhAmWkZYhpFB5CysypeLyPKzT4rGYe",width:512,height:512,format:"png"},infoURL:"https://btxtestchain.com",name:"Botanix Mainnet",nativeCurrency:{name:"Botanix",symbol:"BTC",decimals:18},networkId:3637,rpc:["https://3637.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.btxtestchain.com"],shortName:"BTCm",slug:"botanix",testnet:!0},R50={chain:"iChain",chainId:3639,explorers:[{name:"iChainscan",url:"https://ichainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcumhDxUyoLTHkcMKgPqkpGnnjwSTqE2KGFnDXXFY8mMo",width:40,height:38,format:"png"},infoURL:"https://islamicoin.finance",name:"iChain Network",nativeCurrency:{name:"ISLAMICOIN",symbol:"ISLAMI",decimals:18},networkId:3639,rpc:["https://3639.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ichainscan.com"],shortName:"ISLAMI",slug:"ichain-network",testnet:!1},L50={chain:"iChain Testnet",chainId:3645,explorers:[{name:"iChainscan",url:"https://test.ichainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcumhDxUyoLTHkcMKgPqkpGnnjwSTqE2KGFnDXXFY8mMo",width:40,height:38,format:"png"},infoURL:"https://islamicoin.finance",name:"iChain Testnet",nativeCurrency:{name:"ISLAMICOIN",symbol:"ISLAMI",decimals:18},networkId:3645,rpc:["https://3645.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://istanbul.ichainscan.com"],shortName:"ISLAMIT",slug:"ichain-testnet",testnet:!0},M50={chain:"Jouleverse",chainId:3666,explorers:[{name:"jscan",url:"https://jscan.jnsdao.com",standard:"EIP3091"}],faucets:[],infoURL:"https://jnsdao.com",name:"Jouleverse Mainnet",nativeCurrency:{name:"J",symbol:"J",decimals:18},networkId:3666,rpc:["https://3666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.jnsdao.com:8503"],shortName:"jouleverse",slug:"jouleverse",testnet:!1},B50={chain:"BTX",chainId:3690,explorers:[{name:"bittexscan",url:"https://bittexscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://bittexscan.com",name:"Bittex Mainnet",nativeCurrency:{name:"Bittex",symbol:"BTX",decimals:18},networkId:3690,rpc:["https://3690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bittexscan.info","https://rpc2.bittexscan.info"],shortName:"btx",slug:"bittex",testnet:!1},N50={chain:"EMPIRE",chainId:3693,explorers:[{name:"Empire Explorer",url:"https://explorer.empirenetwork.io",standard:"none"}],faucets:[],infoURL:"https://www.empirenetwork.io/",name:"Empire Network",nativeCurrency:{name:"Empire",symbol:"EMPIRE",decimals:18},networkId:3693,rpc:["https://3693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.empirenetwork.io"],shortName:"empire",slug:"empire-network",testnet:!1},F50={chain:"SPC",chainId:3698,explorers:[{name:"SenjePowers",url:"https://testnet.senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Testnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3698,rpc:["https://3698.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.senjepowersscan.com"],shortName:"SPCt",slip44:1,slug:"senjepowers-testnet",testnet:!0},O50={chain:"SPC",chainId:3699,explorers:[{name:"SenjePowers",url:"https://senjepowersscan.com",standard:"EIP3091"}],faucets:["https://faucet.senjepowersscan.com"],icon:{url:"ipfs://QmcpyTj4hUyHJZ2VmSdkXFpPpRcNKRP1VxMs7Cp1anymNy",width:504,height:495,format:"png"},infoURL:"https://senjepowersscan.com",name:"SenjePowers Mainnet",nativeCurrency:{name:"SenjePowers",symbol:"SPC",decimals:18},networkId:3699,rpc:["https://3699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.senjepowersscan.com"],shortName:"SPCm",slug:"senjepowers",testnet:!1},V50={chain:"XPLATest",chainId:3701,explorers:[{name:"XPLA Explorer",url:"https://explorer.xpla.io",standard:"none"}],faucets:["https://faucet.xpla.io"],icon:{url:"ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",width:512,height:512,format:"png"},infoURL:"https://xpla.io",name:"Xpla Testnet",nativeCurrency:{name:"XPLA",symbol:"XPLA",decimals:18},networkId:3701,rpc:["https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dimension-rpc.xpla.dev"],shortName:"xplatest",slip44:1,slug:"xpla-testnet-xplatest",status:"deprecated",testnet:!0},$50={chain:"Crossbell",chainId:3737,explorers:[{name:"Crossbell Explorer",url:"https://scan.crossbell.io",standard:"EIP3091"}],faucets:["https://faucet.crossbell.io"],icon:{url:"ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",width:408,height:408,format:"svg"},infoURL:"https://crossbell.io",name:"Crossbell",nativeCurrency:{name:"Crossbell Token",symbol:"CSB",decimals:18},networkId:3737,rpc:["https://3737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.crossbell.io"],shortName:"csb",slug:"crossbell",testnet:!1},U50={chain:"ETH",chainId:3776,explorers:[{name:"Blockscout Astar zkEVM explorer",url:"https://astar-zkevm.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zkEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3776,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gelato.network/bridge/astar-zkevm"}]},redFlags:[],rpc:["https://3776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/astar-zkevm"],shortName:"astarzk",slug:"astar-zkevm",testnet:!1,title:"Astar zkEVM Mainnet"},q50={chain:"ALV",chainId:3797,explorers:[{name:"AlveyScan",url:"https://alveyscan.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Mainnet",nativeCurrency:{name:"AlveyCoin",symbol:"ALV",decimals:18},networkId:3797,rpc:["https://3797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://elves-core1.alvey.io","https://elves-core2.alvey.io","https://elves-core3.alvey.io"],shortName:"alv",slug:"alveychain",testnet:!1},H50={chain:"Tangle Testnet",chainId:3799,explorers:[{name:"ttntscan",url:"https://testnet-explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.tangle.tools"],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle Testnet",nativeCurrency:{name:"Testnet Tangle Network Token",symbol:"tTNT",decimals:18},networkId:3799,rpc:["https://3799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tangle.tools","https://testnet-rpc-archive.tangle.tools","wss://testnet-rpc.tangle.tools","wss://testnet-rpc-archive.tangle.tools"],shortName:"tTangle",slug:"tangle-testnet",testnet:!0},z50={chain:"3839",chainId:3839,explorers:[{name:"traderlands explorer",url:"https://sepolia.arbiscan.io/",standard:"standard",icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRQVgjLcoWAVTocuYegwumz8J8b2F3Le2WnQhwffRmWcg/traderlands%20logo.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.arbiscan.io/",name:"traderlands-sepolia",nativeCurrency:{name:"Traderlands",symbol:"TRADE",decimals:18},networkId:3839,redFlags:[],rpc:["https://3839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://traderlands-sepolia.rpc.caldera.xyz/http"],shortName:"Tradetest",slug:"traderlands-sepolia",testnet:!0},W50={chain:"Firechain",chainId:3885,explorers:[],faucets:[],infoURL:"https://docs.thefirechain.com/",name:"Firechain zkEVM Ghostrider",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3885,rpc:["https://3885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-zkevm-ghostrider.thefirechain.com"],shortName:"firechain-zkEVM-testnet",slug:"firechain-zkevm-ghostrider",testnet:!0,title:"Firechain zkEVM Testnet"},j50={chain:"KLC",chainId:3888,explorers:[{name:"KalyScan",url:"https://kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Mainnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3888,rpc:["https://3888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kalychain.io/rpc"],shortName:"kalymainnet",slug:"kalychain",testnet:!1},G50={chain:"KLC",chainId:3889,explorers:[{name:"KalyScan",url:"https://testnet.kalyscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUaXcPewLuQtY5a7xPTzJyVdjkH487VfV7gSR8UXrbxQ3",width:512,height:512,format:"png"},infoURL:"https://kalychain.io",name:"KalyChain Testnet",nativeCurrency:{name:"KalyCoin",symbol:"KLC",decimals:18},networkId:3889,rpc:["https://3889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.kalychain.io/rpc"],shortName:"kalytestnet",slip44:1,slug:"kalychain-testnet",testnet:!0},K50={chain:"DRAC",chainId:3912,explorers:[{name:"DRAC_Network Scan",url:"https://www.dracscan.io",standard:"EIP3091"}],faucets:["https://www.dracscan.io/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXbsQe7QsVFZJZdBmbZVvS6LgX9ZFoaTMBs9MiQXUzJTw",width:256,height:256,format:"png"},infoURL:"https://drac.io/",name:"DRAC Network",nativeCurrency:{name:"DRAC",symbol:"DRAC",decimals:18},networkId:3912,rpc:["https://3912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.dracscan.com/rpc"],shortName:"drac",slug:"drac-network",testnet:!1},Q50={chain:"DOS",chainId:3939,explorers:[{name:"DOScan-Test",url:"https://test.doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"http://doschain.io/",name:"DOS Tesnet",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:3939,rpc:["https://3939.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.doschain.com"],shortName:"dost",slip44:1,slug:"dos-tesnet",testnet:!0},Y50={chain:"DYNO",chainId:3966,explorers:[{name:"DYNO Explorer",url:"https://dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Mainnet",nativeCurrency:{name:"DYNO Token",symbol:"DYNO",decimals:18},networkId:3966,rpc:["https://3966.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dynoprotocol.com"],shortName:"dyno",slug:"dyno",testnet:!1},J50={chain:"DYNO",chainId:3967,explorers:[{name:"DYNO Explorer",url:"https://testnet.dynoscan.io",standard:"EIP3091"}],faucets:["https://faucet.dynoscan.io"],infoURL:"https://dynoprotocol.com",name:"DYNO Testnet",nativeCurrency:{name:"DYNO Token",symbol:"tDYNO",decimals:18},networkId:3967,rpc:["https://3967.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tapi.dynoprotocol.com"],shortName:"tdyno",slip44:1,slug:"dyno-testnet",testnet:!0},X50={chain:"ETH",chainId:3993,explorers:[{name:"blockscout",url:"https://exp-testnet.apexlayer.xyz",standard:"EIP3091"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://qmxhs7fvjanzwm14vjpbnmklre32gsiy9chsarrnbtfa1n",width:1280,height:1280,format:"png"},infoURL:"https://docs.apexlayer.xyz/",name:"APEX Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:3993,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://apexlayer.xyz/bridge"}]},rpc:["https://3993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.apexlayer.xyz"],shortName:"apexsep",slip44:1,slug:"apex-testnet",testnet:!0},Z50={chain:"YCC",chainId:3999,explorers:[{name:"YuanChain Explorer",url:"https://mainnet.yuan.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdbPhiB5W2gbHZGkYsN7i2VTKKP9casmAN2hRnpDaL9W4",width:96,height:96,format:"png"},infoURL:"https://www.yuan.org",name:"YuanChain Mainnet",nativeCurrency:{name:"YCC",symbol:"YCC",decimals:18},networkId:3999,rpc:["https://3999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.yuan.org/eth"],shortName:"ycc",slug:"yuanchain",testnet:!1},eu0={chain:"OZONE",chainId:4e3,explorers:[{name:"OZONE Scan",url:"https://ozonescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmbM4weV8Bk6c9yNhosYntkVw39SNZtCHYGgWyXTxkevZ8",width:1600,height:1600,format:"png"},infoURL:"https://ozonechain.io",name:"Ozone Chain Mainnet",nativeCurrency:{name:"OZONE",symbol:"OZO",decimals:18},networkId:4e3,rpc:["https://4000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.ozonechain.io"],shortName:"ozo",slug:"ozone-chain",testnet:!1},tu0={chain:"PERIUM",chainId:4001,explorers:[{name:"Peperium Chain Explorer",url:"https://scan-testnet.peperium.io",standard:"EIP3091",icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmag2hr5DQghRzKPN3oUFBkjWzqd5CndQzZeb5LfoiMCXf",width:160,height:160,format:"png"},infoURL:"https://peperium.io",name:"Peperium Chain Testnet",nativeCurrency:{name:"Peperium Chain Testnet",symbol:"PERIUM",decimals:18},networkId:4001,rpc:["https://4001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.peperium.io"],shortName:"PERIUM",slip44:1,slug:"peperium-chain-testnet",testnet:!0},ZFe={chain:"FTM",chainId:4002,explorers:[{name:"ftmscan",url:"https://testnet.ftmscan.com",standard:"EIP3091",icon:{url:"ipfs://QmRqbK449Fo9sJ3xMpkPbg6uV1weQj4yVV1xNMP9cdPmjf",width:73,height:73,format:"png"}}],faucets:["https://faucet.fantom.network"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://docs.fantom.foundation/quick-start/short-guide#fantom-testnet",name:"Fantom Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:4002,redFlags:[],rpc:["https://4002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fantom.network","https://fantom-testnet-rpc.publicnode.com","wss://fantom-testnet-rpc.publicnode.com","https://fantom-testnet.drpc.org","wss://fantom-testnet.drpc.org"],shortName:"tftm",slip44:1,slug:"fantom-testnet",testnet:!0},nu0={chain:"X1",chainId:4003,explorers:[{name:"Blockscout",url:"https://explorer.x1-fastnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Fastnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:4003,rpc:["https://4003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-fastnet.xen.network"],shortName:"x1-fastnet",slip44:1,slug:"x1-fastnet",testnet:!1},au0={chain:"CBR",chainId:4040,explorers:[{name:"Carbonium Network tesnet Explorer",url:"https://testnet.carboniumscan.com",standard:"none",icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"}}],faucets:["https://getfaucet.carbonium.network"],icon:{url:"ipfs://QmUTDMvoY7JgDs9sZuuBhsyJz6B2dNfc5jj6xUj355be2C",width:500,height:500,format:"png"},infoURL:"https://carbonium.network",name:"Carbonium Testnet Network",nativeCurrency:{name:"Carbonium",symbol:"tCBR",decimals:18},networkId:4040,rpc:["https://4040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev.carbonium.network/","https://server-testnet.carbonium.network"],shortName:"tcbr",slip44:1,slug:"carbonium-testnet-network",testnet:!0},ru0={chain:"GAN",chainId:4048,explorers:[{name:"ganscan",url:"https://ganscan.gpu.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTYgL4PMNJya3XchuRx99ggNzMHL9kWaZvj3wycdEwpQA",width:1248,height:1197,format:"png"},infoURL:"https://docs.gpu.net/",name:"GAN Testnet",nativeCurrency:{name:"GP Token",symbol:"GP",decimals:18},networkId:4048,rpc:["https://4048.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gpu.net"],shortName:"GANTestnet",slug:"gan-testnet",testnet:!0},iu0={chain:"Bobaopera Testnet",chainId:4051,explorers:[{name:"Bobaopera Testnet block explorer",url:"https://blockexplorer.testnet.bobaopera.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobaopera Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4051,rpc:["https://4051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bobaopera.boba.network","wss://wss.testnet.bobaopera.boba.network","https://replica.testnet.bobaopera.boba.network","wss://replica-wss.testnet.bobaopera.boba.network"],shortName:"BobaoperaTestnet",slip44:1,slug:"bobaopera-testnet",status:"deprecated",testnet:!0},su0={chain:"Bahamut",chainId:4058,explorers:[{name:"blockscout",url:"https://ocean.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut ocean",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4058,rpc:["https://4058.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.ocean.bahamutchain.com"],shortName:"ocean",slug:"bahamut-ocean",testnet:!1,title:"Bahamut ocean"},fu0={chain:"Nahmii",chainId:4061,explorers:[{name:"Nahmii 3 Mainnet Explorer",url:"https://explorer.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4061,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://accounts.nahmii.io"}]},rpc:["https://4061.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.n3.nahmii.io"],shortName:"Nahmii3Mainnet",slug:"nahmii-3",status:"active",testnet:!1},ou0={chain:"Nahmii",chainId:4062,explorers:[{name:"Nahmii 3 Testnet Explorer",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 3 Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4062,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://accounts.testnet.nahmii.io"}]},rpc:["https://4062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.nahmii.io"],shortName:"Nahmii3Testnet",slip44:1,slug:"nahmii-3-testnet",status:"active",testnet:!0},cu0={chain:"Muster",chainId:4078,explorers:[{name:"Musterscan",url:"https://muster-explorer.alt.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",width:512,height:512,format:"png"},name:"Muster Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4078,parent:{type:"L2",chain:"eip155-42161",bridges:[]},rpc:["https://4078.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://muster.alt.technology"],shortName:"muster",slug:"muster",testnet:!1},du0={chain:"TBC",chainId:4080,explorers:[{name:"tobescan",url:"https://tobescan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXARMjJGkXEVEdjUyxkeG4ffsWvEo9vSJpVon3JwRxckS",width:512,height:512,format:"png"},infoURL:"https://tobechain.net",name:"Tobe Chain",nativeCurrency:{name:"Tobe Coin",symbol:"TBC",decimals:18},networkId:4080,rpc:["https://4080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tobescan.com"],shortName:"tbc",slug:"tobe-chain",testnet:!1},lu0={chain:"Fastex Chain (Bahamut)",chainId:4090,explorers:[{name:"blockscout",url:"https://oasis.ftnscan.com",standard:"none"}],faucets:["https://faucet.oasis.fastexchain.com"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://fastexchain.com",name:"Fastex Chain (Bahamut) Oasis Testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:4090,rpc:["https://4090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasis.bahamutchain.com"],shortName:"Oasis",slip44:1,slug:"fastex-chain-bahamut-oasis-testnet",testnet:!0,title:"Bahamut testnet Oasis"},pu0={chain:"BNI",chainId:4096,explorers:[{name:"Bitindi",url:"https://testnet.bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Testnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4096,redFlags:[],rpc:["https://4096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitindi.org","https://testnet-rpc.bitindi.org"],shortName:"BNIt",slip44:1,slug:"bitindi-testnet",testnet:!0},uu0={chain:"BNI",chainId:4099,explorers:[{name:"Bitindi",url:"https://bitindiscan.com",standard:"EIP3091"}],faucets:["https://faucet.bitindi.org"],features:[],icon:{url:"ipfs://QmRAFFPiLiSgjGTs9QaZdnR9fsDgyUdTejwSxcnPXo292s",width:60,height:72,format:"png"},infoURL:"https://bitindi.org",name:"Bitindi Mainnet",nativeCurrency:{name:"BNI",symbol:"$BNI",decimals:18},networkId:4099,redFlags:[],rpc:["https://4099.rpc.thirdweb.com/${THIRDWEB_API_KEY}"," https://rpc-mainnet.bitindi.org","https://mainnet-rpc.bitindi.org"],shortName:"BNIm",slug:"bitindi",testnet:!1},yu0={chain:"AIOZ",chainId:4102,explorers:[{name:"AIOZ Network Testnet Explorer",url:"https://testnet.explorer.aioz.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRAGPFhvQiXgoJkui7WHajpKctGFrJNhHqzYdwcWt5V3Z",width:1024,height:1024,format:"png"},infoURL:"https://aioz.network",name:"AIOZ Network Testnet",nativeCurrency:{name:"testAIOZ",symbol:"AIOZ",decimals:18},networkId:4102,rpc:["https://4102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth-ds.testnet.aioz.network"],shortName:"aioz-testnet",slip44:1,slug:"aioz-network-testnet",testnet:!0},mu0={chain:"Humans Testnet",chainId:4139,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX6XuoQDTTjYqAmdNJiieLDZSwHHyUx44yQb4E3tmHmEA",width:400,height:400,format:"png"},infoURL:"https://humans.ai",name:"Humans.ai Testnet",nativeCurrency:{name:"HEART",symbol:"HEART",decimals:18},networkId:4139,rpc:["https://4139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.humans.zone"],shortName:"humans_testnet",slip44:1,slug:"humans-ai-testnet",testnet:!0},bu0={chain:"TPBX",chainId:4141,explorers:[{name:"Tipboxcoin",url:"https://testnet.tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Testnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:4141,rpc:["https://4141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.tipboxcoin.net"],shortName:"TPBXt",slip44:1,slug:"tipboxcoin-testnet",testnet:!0},hu0={chain:"Avalanche",chainId:4145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I2",nativeCurrency:{name:"QI1212I2 Token",symbol:"HSCX",decimals:18},networkId:4145,redFlags:[],rpc:["https://4145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I2",slug:"qi1212i2",testnet:!0},gu0={chain:"XFI",chainId:4157,explorers:[{name:"CrossFi Testnet Scan",url:"https://test.xfiscan.com",standard:"EIP3091",icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"}},{name:"Scan Testnet",url:"https://scan.testnet.ms/",standard:"EIP1559"}],faucets:[],features:[],icon:{url:"ipfs://QmbRJzDeAdMkEXkqDwBwezpUxyjTPHZ2iXEomqKPvWZcWE",width:40,height:42,format:"svg"},infoURL:"https://crossfi.org",name:"CrossFi Testnet",nativeCurrency:{name:"XFI",symbol:"XFI",decimals:18},networkId:4157,redFlags:[],rpc:["https://4157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.ms/","https://rpc.testnet.ms"],shortName:"XFI",slip44:1,slug:"crossfi-testnet",testnet:!0,title:"https://scan.testnet.ms/"},vu0={chain:"PHI V1",chainId:4181,explorers:[{name:"PHI Explorer",url:"https://explorer.phi.network",standard:"none",icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreid6pm3mic7izp3a6zlfwhhe7etd276bjfsq2xash6a4s2vmcdf65a",width:512,height:512,format:"png"},infoURL:"https://phi.network",name:"PHI Network V1",nativeCurrency:{name:"PHI",symbol:"\u03A6",decimals:18},networkId:4181,rpc:["https://4181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.phi.network","https://rpc2.phi.network"],shortName:"PHIv1",slug:"phi-network-v1",testnet:!1},Tu0={chain:"Merlin",chainId:4200,explorers:[{name:"L2scan",url:"https://scan.merlinchain.io",standard:"EIP3091",icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmULpMFUvKSmJT8sWXS3WDnTm4EacgRbsEynDenpxcfrAj",width:400,height:400,format:"jpg"},infoURL:"https://merlinchain.io",name:"Merlin Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:4200,rpc:["https://4200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.merlinchain.io","https://merlin-mainnet-enterprise.unifra.io","https://rpc-merlin.rockx.com"],shortName:"Merlin-Mainnet",slug:"merlin",testnet:!1,title:"Merlin Mainnet"},_u0={chain:"LUKSO Testnet",chainId:4201,explorers:[{name:"Blockscout",url:"https://explorer.execution.testnet.lukso.network",standard:"none"}],faucets:["https://faucet.testnet.lukso.network"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmeg9sFF5tAGi6MCx7YjtVHW6a23zqvHRK1xwzSdp9iE7z",width:512,height:512,format:"png"},infoURL:"https://lukso.network",name:"LUKSO Testnet",nativeCurrency:{name:"TestLYX",symbol:"LYXt",decimals:18},networkId:4201,rpc:["https://4201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.lukso.network","wss://ws-rpc.testnet.lukso.network"],shortName:"lukso-testnet",slip44:1,slug:"lukso-testnet",testnet:!0},wu0={chain:"ETH",chainId:4202,explorers:[{name:"liskscout",url:"https://sepolia-blockscout.lisk.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],icon:{url:"ipfs://QmVTS8jmWD5e7jVEn86wLjJsuMnc6s8fym3JbtE4etzSKf",width:400,height:400,format:"png"},infoURL:"https://lisk.com",name:"Lisk Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4202,rpc:["https://4202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia-api.lisk.com"],shortName:"lisksep",slip44:134,slug:"lisk-sepolia-testnet",testnet:!0},xu0={chain:"Nexi",chainId:4242,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi Mainnet",nativeCurrency:{name:"Nexi",symbol:"NEXI",decimals:18},networkId:4242,rpc:["https://4242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.nexi.technology/","https://chain.nexilix.com","https://chain.nexi.evmnode.online"],shortName:"nexi",slip44:2500,slug:"nexi",testnet:!1},Iu0={chain:"Nexi V2",chainId:4243,explorers:[{name:"nexiscan",url:"https://www.nexiscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeifxqd7zel2m237kq5enavnh2s6cshaavswigogyvae2wevxy5k2ti",width:512,height:578,format:"png"},infoURL:"https://www.nexi.technology/",name:"Nexi V2 Mainnet",nativeCurrency:{name:"NexiV2",symbol:"NEXI",decimals:18},networkId:4243,rpc:["https://4243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.nexiv2.nexilix.com","https://rpc.chainv1.nexi.technology"],shortName:"NexiV2",slip44:2500,slug:"nexi-v2",testnet:!1},Eu0={chain:"Bobafuji Testnet",chainId:4328,explorers:[{name:"Bobafuji Testnet block explorer",url:"https://blockexplorer.testnet.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Bobafuji Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:4328,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://4328.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.avax.boba.network","wss://wss.testnet.avax.boba.network","https://replica.testnet.avax.boba.network"],shortName:"BobaFujiTestnet",slip44:1,slug:"bobafuji-testnet",status:"deprecated",testnet:!0},Du0={chain:"BEAM",chainId:4337,explorers:[{name:"Beam Explorer",url:"https://subnets.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:4337,rpc:["https://4337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc","wss://build.onbeam.com/ws","https://subnets.avax.network/beam/mainnet/rpc","wss://subnets.avax.network/beam/mainnet/ws"],shortName:"beam",slug:"beam",testnet:!1},Cu0={chain:"CREDIT",chainId:4400,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain Mainnet",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:4400,rpc:["https://4400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"CreditEdge",slug:"credit-smart-chain",testnet:!1},Su0={chain:"mainnet",chainId:4444,explorers:[{name:"htmlcoin",url:"https://explorer.htmlcoin.com",standard:"none",icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"}}],faucets:["https://gruvin.me/htmlcoin"],icon:{url:"ipfs://QmR1oDRSadPerfyWMhKHNP268vPKvpczt5zPawgFSZisz2",width:1e3,height:1e3,format:"png"},infoURL:"https://htmlcoin.com",name:"Htmlcoin Mainnet",nativeCurrency:{name:"Htmlcoin",symbol:"HTML",decimals:8},networkId:4444,rpc:["https://4444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://janus.htmlcoin.com/api/"],shortName:"html",slug:"htmlcoin",status:"active",testnet:!1},Au0={chain:"ETH",chainId:4460,explorers:[{name:"basescout",url:"https://explorerl2new-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSpwp3RAVhZsErAQrCQxEmjnGqJQMigarzZbfqr9Ktakb",width:512,height:512,format:"png"},name:"Orderly Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4460,rpc:["https://4460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz"],shortName:"orderlyl2",slip44:1,slug:"orderly-sepolia-testnet",testnet:!0},ku0={chain:"HYDRA",chainId:4488,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain",nativeCurrency:{name:"Hydra",symbol:"HYDRA",decimals:18},networkId:4488,rpc:[],shortName:"HYDRA",slug:"hydra-chain",status:"incubating",testnet:!1},Pu0={chain:"Emoney",chainId:4544,explorers:[{name:"EMoney ethscan",url:"https://ethscan.emoney.network",standard:"EIP3091",icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"}}],faucets:["https://faucet.emoney.network/faucet"],icon:{url:"ipfs://bafkreigo4gtboztftjdnbvy2rb2ku2gxxbhm4iwutzgnzhvden3vcbsqui",width:472,height:462,format:"png"},infoURL:"https://emoney.network/",name:"Emoney Network Testnet",nativeCurrency:{name:"Emoney Network",symbol:"EMYC",decimals:18},networkId:4544,rpc:["https://4544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emoney.network/"],shortName:"emoney",slip44:118,slug:"emoney-network-testnet",testnet:!0},Ru0={chain:"VERY Mainnet",chainId:4613,explorers:[{name:"VERY explorer",url:"https://www.veryscan.io",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreidyrvphfojaf7iev57trxk3sxbo6qikg26pdy66ke4n22dgm52wwa",width:320,height:320,format:"png"},infoURL:"https://www.verylabs.io/",name:"VERY Mainnet",nativeCurrency:{name:"VERY",symbol:"VERY",decimals:18},networkId:4613,rpc:["https://4613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.verylabs.io"],shortName:"very",slug:"very",testnet:!1,title:"VERY Mainnet"},Lu0={chain:"Avalanche",chainId:4638,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3387",nativeCurrency:{name:"QaUser3387 Token",symbol:"LPB",decimals:18},networkId:4638,redFlags:[],rpc:["https://4638.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3387",slug:"qauser3387",testnet:!0},Mu0={chain:"Gold",chainId:4653,explorers:[],faucets:[],icon:{url:"ipfs://QmbvuHpn8Np5uTTbVNgv4JHCj2zfHBfmSoRcVNdWbcV5Vq",width:226,height:104,format:"png"},infoURL:"https://gold.dev",name:"Gold Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4653,rpc:["https://4653.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.gold.dev"],shortName:"gold",slug:"gold-chain",status:"incubating",testnet:!1,title:"Gold Chain"},Bu0={chain:"iotex.io",chainId:4689,explorers:[{name:"iotexscan",url:"https://iotexscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Mainnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4689,redFlags:[],rpc:["https://4689.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/iotex","https://babel-api.mainnet.iotex.io"],shortName:"iotex-mainnet",slug:"iotex-network",testnet:!1},Nu0={chain:"iotex.io",chainId:4690,explorers:[{name:"testnet iotexscan",url:"https://testnet.iotexscan.io",standard:"EIP3091"}],faucets:["https://faucet.iotex.io/"],features:[],icon:{url:"ipfs://QmQKHQrvtyUC5b5B76ke5GPTGXoGTVCubXS6gHgzCAswKo",width:250,height:250,format:"png"},infoURL:"https://iotex.io",name:"IoTeX Network Testnet",nativeCurrency:{name:"IoTeX",symbol:"IOTX",decimals:18},networkId:4690,redFlags:[],rpc:["https://4690.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://babel-api.testnet.iotex.io"],shortName:"iotex-testnet",slip44:1,slug:"iotex-network-testnet",testnet:!0},Fu0={chain:"MEVerse",chainId:4759,explorers:[{name:"MEVerse Chain Testnet Explorer",url:"https://testnet.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Testnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:4759,rpc:["https://4759.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversetestnet.io"],shortName:"TESTMEV",slip44:1,slug:"meverse-chain-testnet",testnet:!0},Ou0={chain:"TBXN",chainId:4777,explorers:[{name:"blockscout",url:"https://testnet-explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network Testnet",nativeCurrency:{name:"BlackFort Testnet Token",symbol:"TBXN",decimals:18},networkId:4777,rpc:["https://4777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.blackfort.network/rpc"],shortName:"TBXN",slip44:1,slug:"blackfort-exchange-network-testnet",testnet:!0},Vu0={chain:"GC",chainId:4893,explorers:[{name:"blockscout",url:"https://gcscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPRHDsVNpRZ72GoQgDbpa3R4wKENmrXCRNuYJkxocFRDb",width:306,height:293,format:"png"},infoURL:"https://gcscan.io",name:"Globel Chain",nativeCurrency:{name:"Globel Chain",symbol:"GC",decimals:18},networkId:4893,rpc:["https://4893.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gcscan.io"],shortName:"GC",slug:"globel-chain",testnet:!1},$u0={chain:"Avalanche",chainId:4905,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"XFX",decimals:18},networkId:4905,redFlags:[],rpc:["https://4905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f4ceb0cc-0d11-4d49-888e-d744e333488a"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet",testnet:!0},Uu0={chain:"XVM",chainId:4918,explorers:[{name:"Venidium EVM Testnet Explorer",url:"https://evm-testnet.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],infoURL:"https://venidium.io",name:"Venidium Testnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4918,rpc:["https://4918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-testnet.venidium.io"],shortName:"txvm",slip44:1,slug:"venidium-testnet",testnet:!0},qu0={chain:"XVM",chainId:4919,explorers:[{name:"Venidium Explorer",url:"https://evm.venidiumexplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiaplwlym5g27jm4mjhotfqq6al2cxp3fnkmzdusqjg7wnipq5wn2e",width:1e3,height:1e3,format:"png"},infoURL:"https://venidium.io",name:"Venidium Mainnet",nativeCurrency:{name:"Venidium",symbol:"XVM",decimals:18},networkId:4919,rpc:["https://4919.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.venidium.io"],shortName:"xvm",slug:"venidium",testnet:!1},Hu0={chain:"BXN",chainId:4999,explorers:[{name:"blockscout",url:"https://explorer.blackfort.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",width:1968,height:1968,format:"png"},infoURL:"https://blackfort.exchange",name:"BlackFort Exchange Network",nativeCurrency:{name:"BlackFort Token",symbol:"BXN",decimals:18},networkId:4999,rpc:["https://4999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.blackfort.network/rpc","https://mainnet-1.blackfort.network/rpc","https://mainnet-2.blackfort.network/rpc","https://mainnet-3.blackfort.network/rpc"],shortName:"BXN",slug:"blackfort-exchange-network",testnet:!1},zu0={chain:"ETH",chainId:5e3,explorers:[{name:"mantlescan",url:"https://mantlescan.xyz",standard:"EIP3091"},{name:"Mantle Explorer",url:"https://explorer.mantle.xyz",standard:"EIP3091"},{name:"Mantle Explorer",url:"https://mantlescan.xyz/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmYddHh5zdceSsBU7uGfQvEHg6UUtAFbzQBBaePS4whx7o",width:225,height:225,format:"png"},infoURL:"https://mantle.xyz",name:"Mantle",nativeCurrency:{name:"Mantle",symbol:"MNT",decimals:18},networkId:5e3,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.mantle.xyz"}]},redFlags:[],rpc:["https://5000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mantle.xyz","https://mantle-rpc.publicnode.com","wss://mantle-rpc.publicnode.com"],shortName:"mantle",slug:"mantle",testnet:!1},Wu0={chain:"ETH",chainId:5001,explorers:[{name:"Mantle Testnet Explorer",url:"https://explorer.testnet.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.testnet.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Testnet",nativeCurrency:{name:"Testnet Mantle",symbol:"MNT",decimals:18},networkId:5001,redFlags:[],rpc:["https://5001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.mantle.xyz"],shortName:"mantle-testnet",slip44:1,slug:"mantle-testnet",status:"deprecated",testnet:!0},ju0={chain:"Treasurenet Mainnet Alpha",chainId:5002,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.treasurenet.io",name:"Treasurenet Mainnet Alpha",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5002,rpc:["https://5002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.treasurenet.io","https://node1.treasurenet.io","https://node2.treasurenet.io","https://node3.treasurenet.io"],shortName:"treasurenet",slug:"treasurenet-alpha",testnet:!1},Gu0={chain:"ETH",chainId:5003,explorers:[{name:"blockscout",url:"https://explorer.sepolia.mantle.xyz",standard:"EIP3091"}],faucets:["https://faucet.sepolia.mantle.xyz"],features:[],infoURL:"https://mantle.xyz",name:"Mantle Sepolia Testnet",nativeCurrency:{name:"Sepolia Mantle",symbol:"MNT",decimals:18},networkId:5003,redFlags:[],rpc:["https://5003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.mantle.xyz"],shortName:"mnt-sep",slip44:1,slug:"mantle-sepolia-testnet",testnet:!0},Ku0={chain:"Treasurenet Testnet",chainId:5005,explorers:[{name:"Treasurenet EVM BlockExplorer",url:"https://evmexplorer.testnet.treasurenet.io",standard:"none",icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmTcNX8ukHkXiVfVah1W8Sed3vtGN95Sq2QSimfLuHva6B",width:1844,height:1920,format:"png"},infoURL:"https://www.testnet.treasurenet.io",name:"Treasurenet Testnet",nativeCurrency:{name:"UNIT",symbol:"UNIT",decimals:18},networkId:5005,rpc:["https://5005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node0.testnet.treasurenet.io","https://node1.testnet.treasurenet.io","https://node2.testnet.treasurenet.io","https://node3.testnet.treasurenet.io"],shortName:"tntest",slip44:1,slug:"treasurenet-testnet",testnet:!0},Qu0={chain:"ONIGIRI",chainId:5039,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets-test.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Test Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5039,rpc:["https://5039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/testnet/rpc"],shortName:"onigiritest",slug:"onigiri-test-subnet",testnet:!0},Yu0={chain:"ONIGIRI",chainId:5040,explorers:[{name:"ONIGIRI Explorer",url:"https://subnets.avax.network/onigiri",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieenivbkpmaxslvvvaybi53hynnarng4ek37xhtf5euvsyunvhbai",width:256,height:256,format:"png"},infoURL:"https://www.ongr.org/",name:"ONIGIRI Subnet",nativeCurrency:{name:"ONIGIRI",symbol:"ONGR",decimals:18},networkId:5040,rpc:["https://5040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/onigiri/mainnet/rpc"],shortName:"onigiri",slug:"onigiri-subnet",testnet:!1},Ju0={chain:"Avalanche",chainId:5041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5041,redFlags:[],rpc:["https://5041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/mainnet/rpc"],shortName:"OMOCHI",slug:"omochi",testnet:!1},Xu0={chain:"Avalanche",chainId:5042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"OMOCHI",nativeCurrency:{name:"OMOCHI Token",symbol:"OMCH",decimals:18},networkId:5042,redFlags:[],rpc:["https://5042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/omochi/testnet/rpc"],shortName:"OMOCHI",slug:"omochi-omochi",testnet:!0},Zu0={chain:"Skatechain",chainId:5051,explorers:[{name:"Nollie Skate Chain Testnet Explorer",url:"https://nolliescan.skatechain.org",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmdofX1W8QFt4TSDaq2wyPvYuUba9LabgD1MYcn3Hezu8h",width:600,height:875,format:"png"},name:"Nollie Skatechain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5051,rpc:["https://5051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nollie-rpc.skatechain.org/"],shortName:"nollie-testnet",slug:"nollie-skatechain-testnet",status:"active",testnet:!0},e20={chain:"Syndicate",chainId:5100,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Testnet",nativeCurrency:{name:"S-Ether",symbol:"ETH",decimals:18},networkId:5100,rpc:["https://5100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.syndicate.io"],shortName:"syndicate-chain-testnet",slug:"syndicate-testnet",status:"incubating",testnet:!0,title:"Syndicate Testnet"},t20={chain:"Syndicate Frame",chainId:5101,explorers:[],faucets:[],icon:{url:"ipfs://QmeSvQcD3XvLFAiMLoQSPbGK9JxVfbCWPBUTMLhhhzYPqX",width:16e3,height:16e3,format:"png"},infoURL:"https://syndicate.io",name:"Syndicate Frame Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5101,rpc:["https://5101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-frame.syndicate.io"],shortName:"syndicate-chain-frame",slug:"syndicate-frame-chain",status:"incubating",testnet:!1,title:"Syndicate Frame Chain"},n20={chain:"SIC Testnet",chainId:5102,explorers:[{name:"blockscout",url:"https://explorerl2new-sic-testnet-zvr7tlkzsi.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://www.fwb.help/",name:"SIC Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5102,rpc:["https://5102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sic-testnet-zvr7tlkzsi.t.conduit.xyz"],shortName:"sic-testnet",slug:"sic-testnet",testnet:!0},a20={chain:"Coordinape Testnet",chainId:5103,explorers:[],faucets:[],infoURL:"https://coordinape.com/",name:"Coordinape Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5103,rpc:["https://5103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-coordinape-testnet-vs9se3oc4v.t.conduit.xyz"],shortName:"coordinape-testnet",slug:"coordinape-testnet",testnet:!0},r20={chain:"Charmverse Testnet",chainId:5104,explorers:[],faucets:[],infoURL:"https://charmverse.io/",name:"Charmverse Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5104,rpc:["https://5104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-charmverse-testnet-g6blnaebes.t.conduit.xyz"],shortName:"charmverse-testnet",slug:"charmverse-testnet",testnet:!0},i20={chain:"Superloyalty Testnet",chainId:5105,explorers:[],faucets:[],infoURL:"https://www.superloyal.com/",name:"Superloyalty Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5105,rpc:["https://5105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-superloyalty-testnet-1m5gwjbsv1.t.conduit.xyz"],shortName:"superloyalty-testnet",slug:"superloyalty-testnet",testnet:!0},s20={chain:"Azra Testnet",chainId:5106,explorers:[{name:"blockscout",url:"https://explorerl2new-azra-testnet-6hz86owb1n.t.conduit.xyz",standard:"EIP3091"}],faucets:[],infoURL:"https://azragames.com",name:"Azra Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:5106,rpc:["https://5106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-azra-testnet-6hz86owb1n.t.conduit.xyz"],shortName:"azra-testnet",slug:"azra-testnet",testnet:!0},f20={chain:"Ham",chainId:5112,explorers:[{name:"blockscout",url:"https://explorer.ham.fun",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcbYVenTET9HBS7vs7SGv1MNqnRscAKVF5kaRVHaVCfvs",width:500,height:500,format:"jpg"},infoURL:"https://ham.fun",name:"Ham",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5112,rpc:["https://5112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ham.fun"],shortName:"ham",slug:"ham",status:"active",testnet:!1},o20={chain:"Bahamut",chainId:5165,explorers:[{name:"blockscout",url:"https://ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSemioP83RXnDWwTZbet8VpwJxcFRboX4B3pcdhLZGodP",width:200,height:200,format:"png"},infoURL:"https://bahamut.io",name:"Bahamut",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:5165,rpc:["https://5165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bahamut.io","https://rpc2.bahamut.io","wss://ws1.sahara.bahamutchain.com","wss://ws2.sahara.bahamutchain.com","https://bahamut-rpc.publicnode.com","wss://bahamut-rpc.publicnode.com"],shortName:"ftn",slug:"bahamut",testnet:!1,title:"Bahamut mainnet"},c20={chain:"SLN",chainId:5169,explorers:[{name:"SLN Mainnet Explorer",url:"https://explorer.main.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:5169,rpc:["https://5169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.smartlayer.network"],shortName:"SLN",slug:"smart-layer-network",testnet:!1},d20={chain:"TLC",chainId:5177,explorers:[{name:"TLChain Explorer",url:"https://explorer.tlchain.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaR5TsgnWSjLys6wGaciKUbc5qYL3Es4jtgQcosVqDWR3",width:2048,height:2048,format:"png"},infoURL:"https://tlchain.network/",name:"TLChain Network Mainnet",nativeCurrency:{name:"TLChain Network",symbol:"TLC",decimals:18},networkId:5177,rpc:["https://5177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tlxscan.com/"],shortName:"tlc",slug:"tlchain-network",testnet:!1},l20={chain:"ESN",chainId:5197,explorers:[],faucets:[],icon:{url:"ipfs://QmV1wZ1RVXeD7216aiVBpLkbBBHWNuoTvcSzpVQsqi2uaH",width:200,height:200,format:"png"},infoURL:"https://eraswap.info/",name:"EraSwap Mainnet",nativeCurrency:{name:"EraSwap",symbol:"ES",decimals:18},networkId:5197,rpc:["https://5197.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.eraswap.network","https://rpc-mumbai.mainnet.eraswap.network"],shortName:"es",slug:"eraswap",testnet:!1},p20={chain:"HMND",chainId:5234,explorers:[{name:"Subscan",url:"https://humanode.subscan.io",standard:"EIP3091",icon:{url:"ipfs://Qma2GfW5nQHuA7nGqdEfwaXPL63G9oTwRTQKaGTfjNtM2W",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Mainnet",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:5234,rpc:["https://5234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.mainnet.stages.humanode.io"],shortName:"hmnd",slug:"humanode",testnet:!1},u20={chain:"FIRE",chainId:5290,explorers:[],faucets:[],icon:{url:"ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Firechain Mainnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:5290,rpc:["https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc1.thefirechain.com"],shortName:"_old_fire",slug:"firechain-old",status:"deprecated",testnet:!1},y20={chain:"UZMI",chainId:5315,explorers:[],faucets:[],infoURL:"https://uzmigames.com.br/",name:"Uzmi Network Mainnet",nativeCurrency:{name:"UZMI",symbol:"UZMI",decimals:18},networkId:5315,rpc:["https://5315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.uzmigames.com.br/"],shortName:"UZMI",slug:"uzmi-network",testnet:!1},m20={chain:"OpTrust",chainId:5317,explorers:[{name:"OpTrust Testnet explorer",url:"https://scantest.optrust.io",standard:"none",icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYktPMo4tdQhMA9nRJBVckjzHcFLbpHbTVNSpGUUPEP8J",width:500,height:500,format:"png"},infoURL:"https://optrust.io",name:"OpTrust Testnet",nativeCurrency:{name:"TestBSC",symbol:"tBNB",decimals:18},networkId:5317,rpc:["https://5317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.optrust.io"],shortName:"toptrust",slug:"optrust-testnet",testnet:!0},b20={chain:"ITX",chainId:5321,explorers:[{name:"ITX Testnet Explorer (Blockscout)",url:"https://explorer.testnet.itxchain.com",standard:"EIP3091"}],faucets:[],infoURL:"https://explorer.testnet.itxchain.com",name:"ITX Testnet",nativeCurrency:{name:"ITX",symbol:"ITX",decimals:18},networkId:5321,rpc:["https://5321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.itxchain.com"],shortName:"itx-testnet",slug:"itx-testnet",testnet:!0},h20={chain:"TRITANIUM",chainId:5353,explorers:[{name:"TRITANIUM Testnet Explorer",url:"https://testnet.tritanium.network",standard:"none",icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"}}],faucets:["https://faucet.tritanium.network"],icon:{url:"ipfs://QmRm6gcEPJmU9a86zrmyP7FALTN4Toz9HrnrL2Kwg6FPeh",width:512,height:512,format:"png"},infoURL:"https://tritanium.network",name:"Tritanium Testnet",nativeCurrency:{name:"Tritanium Native Token",symbol:"tTRN",decimals:18},networkId:5353,rpc:["https://5353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodetestnet-station-one.tritanium.network/","https://nodetestnet-station-two.tritanium.network/"],shortName:"ttrn",slip44:1,slug:"tritanium-testnet",testnet:!0},g20={chain:"Settlus",chainId:5372,explorers:[{name:"Settlus Scan",url:"https://testnet.settlus.network",standard:"EIP3091"}],faucets:["https://faucet.settlus.io"],infoURL:"https://settlus.org",name:"Settlus Testnet",nativeCurrency:{name:"Setl",symbol:"SETL",decimals:18},networkId:5372,rpc:["https://5372.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://settlus-test-eth.settlus.io"],shortName:"settlus-testnet",slug:"settlus-testnet",testnet:!0},v20={chain:"edeXa Network",chainId:5424,explorers:[{name:"edexa-mainnet",url:"https://explorer.edexa.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgvmLpRsCiu2ySqyceA5xN4nwi7URJRNEZLffwEKXdoR",width:1028,height:1042,format:"png"},infoURL:"https://edexa.network/",name:"edeXa Mainnet",nativeCurrency:{name:"EDEXA",symbol:"EDX",decimals:18},networkId:5424,rpc:["https://5424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.edexa.network/rpc","https://mainnet.edexa.com/rpc","https://io-dataseed1.mainnet.edexa.io-market.com/rpc"],shortName:"edeXa",slip44:1,slug:"edexa",testnet:!1},T20={chain:"EGAX",chainId:5439,explorers:[{name:"egoscan",url:"https://egoscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.egochain.org/",name:"Egochain",nativeCurrency:{name:"EGAX",symbol:"EGAX",decimals:18},networkId:5439,rpc:["https://5439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.egochain.org"],shortName:"egax",slug:"egochain",testnet:!1},_20={chain:"vex",chainId:5522,explorers:[{name:"Vexascan-EVM-TestNet",url:"https://testnet.vexascan.com/evmexplorer",standard:"EIP3091"}],faucets:["https://t.me/vexfaucetbot"],icon:{url:"ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM",width:451,height:446,format:"png"},infoURL:"https://vexanium.com",name:"VEX EVM TESTNET",nativeCurrency:{name:"VEX EVM TESTNET",symbol:"VEX",decimals:18},networkId:5522,rpc:["https://5522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.vexascan.com/evmapi"],shortName:"VEX",slip44:1,slug:"vex-evm-testnet",testnet:!0},w20={chain:"Nahmii",chainId:5551,explorers:[{name:"Nahmii 2 Mainnet Explorer",url:"https://explorer.n2.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5551,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://n2.bridge.nahmii.io"}]},rpc:["https://5551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.nahmii.io"],shortName:"Nahmii",slug:"nahmii-2",status:"active",testnet:!1},x20={chain:"Nahmii",chainId:5553,explorers:[{name:"blockscout",url:"https://explorer.testnet.nahmii.io",standard:"EIP3091",icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZhKXgoGpzvthr2eh8ZNgT75YvMtEBegdELAaMPPzf5QT",width:384,height:384,format:"png"},infoURL:"https://nahmii.io",name:"Nahmii 2 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:5553,parent:{type:"L2",chain:"eip155-3",bridges:[{url:"https://bridge.nahmii.io"}]},rpc:["https://5553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2.testnet.nahmii.io"],shortName:"NahmiiTestnet",slip44:1,slug:"nahmii-2-testnet",status:"deprecated",testnet:!0},I20={chain:"CVERSE",chainId:5555,explorers:[{name:"Chain Verse Explorer",url:"https://explorer.chainverse.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyJt28h4wN3QHPXUQJQYQqGiFUD77han3zibZPzHbitk",width:1e3,height:1436,format:"png"},infoURL:"https://chainverse.info",name:"Chain Verse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:5555,rpc:["https://5555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chainverse.info"],shortName:"cverse",slug:"chain-verse",testnet:!1},E20={chain:"Avalanche",chainId:5566,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"StraitsX",nativeCurrency:{name:"StraitsX Token",symbol:"STX",decimals:18},networkId:5566,redFlags:[],rpc:["https://5566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-straitsx-y2550.avax.network/ext/bc/EJ4DyXHe4ydhsLLMiDPsHtoq5RDqgyao6Lwb9znKhs59q4NQx/rpc?token=1b1459649e0020ee44e60cb6ac025d67dc60e04c8a48875a3b581e2b8f797a6b"],shortName:"StraitsX",slug:"straitsx",testnet:!1},D20={chain:"opBNB",chainId:5611,explorers:[{name:"bscscan-opbnb-testnet",url:"https://opbnb-testnet.bscscan.com",standard:"EIP3091"},{name:"opbnbscan",url:"https://opbnbscan.com",standard:"EIP3091"}],faucets:["https://testnet.bnbchain.org/faucet-smart"],icon:{url:"ipfs://bafybeib75gwytvblyvjpfminitr3i6mpat3a624udfsqsl5nysf5vuuvie",width:96,height:96,format:"png"},infoURL:"https://opbnb.bnbchain.org/en",name:"opBNB Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tBNB",decimals:18},networkId:5611,rpc:["https://5611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://opbnb-testnet-rpc.bnbchain.org","https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3","wss://opbnb-testnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3","https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","wss://opbnb-testnet.nodereal.io/ws/v1/e9a36765eb8a40b9bd12e680a1fd2bc5","https://opbnb-testnet-rpc.publicnode.com","wss://opbnb-testnet-rpc.publicnode.com"],shortName:"obnbt",slip44:1,slug:"opbnb-testnet",testnet:!0},C20={chain:"Arcturus",chainId:5615,explorers:[{name:"explorer-arcturus-testnet",url:"https://testnet.arcscan.net",standard:"EIP3091"}],faucets:["https://faucet.arcturuschain.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://arcturuschain.io",name:"Arcturus Testneet",nativeCurrency:{name:"tARC",symbol:"tARC",decimals:18},networkId:5615,rpc:["https://5615.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.arcturuschain.io/"],shortName:"arcturus-testnet",slug:"arcturus-testneet",testnet:!0},S20={chain:"ARCTURUS",chainId:5616,explorers:[],faucets:[],infoURL:"https://arcturuschain.io",name:"Arcturus Chain Testnet",nativeCurrency:{name:"Test Arct",symbol:"tARCT",decimals:18},networkId:5616,rpc:["https://5616.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://185.99.196.3:8545"],shortName:"ARCT",slip44:1,slug:"arcturus-chain-testnet",testnet:!0},A20={chain:"QIE",chainId:5656,explorers:[{name:"QIE Explorer",url:"https://mainnet.qiblockchain.online",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",width:600,height:600,format:"png"},infoURL:"https://qiblockchain.online/",name:"QIE Blockchain",nativeCurrency:{name:"QIE Blockchain",symbol:"QIE",decimals:18},networkId:5656,rpc:["https://5656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-main1.qiblockchain.online/","https://rpc-main2.qiblockchain.online/"],shortName:"QIE",slug:"qie-blockchain",testnet:!1},k20={chain:"Avalanche",chainId:5668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"JONO122",nativeCurrency:{name:"JONO122 Token",symbol:"JONO",decimals:18},networkId:5668,redFlags:[],rpc:["https://5668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono122/testnet/rpc"],shortName:"JONO122",slug:"jono122",testnet:!0},P20={chain:"Filenova",chainId:5675,explorers:[{name:"filenova testnet explorer",url:"https://scantest.filenova.org",standard:"none",icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",width:1e3,height:1e3,format:"png"},infoURL:"https://filenova.org",name:"Filenova Testnet",nativeCurrency:{name:"Test Filecoin",symbol:"tFIL",decimals:18},networkId:5675,rpc:["https://5675.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.filenova.org"],shortName:"tfilenova",slug:"filenova-testnet",testnet:!0},R20={chain:"TANGO",chainId:5678,explorers:[{name:"BlockScout",url:"https://3001-blockscout.a.dancebox.tanssi.network",standard:"EIP3091"}],faucets:[],infoURL:"https://docs.tanssi.network/builders/tanssi-network/networks/dancebox/demo-evm-containerchain",name:"Tanssi Demo",nativeCurrency:{name:"TANGO",symbol:"TANGO",decimals:18},networkId:5678,rpc:["https://5678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3001-rpc.a.dancebox.tanssi.network"],shortName:"tango",slug:"tanssi-demo",testnet:!1},L20={chain:"SYS",chainId:5700,explorers:[{name:"Syscoin Testnet Block Explorer",url:"https://tanenbaum.io",standard:"EIP3091"}],faucets:["https://faucet.tanenbaum.io"],infoURL:"https://syscoin.org",name:"Syscoin Tanenbaum Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"tSYS",decimals:18},networkId:5700,rpc:["https://5700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tanenbaum.io","wss://rpc.tanenbaum.io/wss","https://syscoin-tanenbaum-evm.publicnode.com","wss://syscoin-tanenbaum-evm.publicnode.com"],shortName:"tsys",slip44:1,slug:"syscoin-tanenbaum-testnet",testnet:!0},M20={chain:"HIK",chainId:5729,explorers:[{name:"Hika Network Testnet Explorer",url:"https://scan-testnet.hika.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmW44FPm3CMM2JDs8BQxLNvUtykkUtrGkQkQsUDJSi3Gmp",width:350,height:84,format:"png"},infoURL:"https://hika.network/",name:"Hika Network Testnet",nativeCurrency:{name:"Hik Token",symbol:"HIK",decimals:18},networkId:5729,rpc:["https://5729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.hika.network/"],shortName:"hik",slug:"hika-network-testnet",testnet:!0,title:"Hika Network Testnet"},B20={chain:"SATS",chainId:5758,explorers:[{name:"SatoshiChain Testnet Explorer",url:"https://testnet.satoshiscan.io",standard:"EIP3091"}],faucets:["https://faucet.satoshichain.io"],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Testnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:5758,rpc:["https://5758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.satoshichain.io"],shortName:"satst",slip44:1,slug:"satoshichain-testnet",testnet:!0},N20={chain:"ETH",chainId:5777,explorers:[],faucets:[],icon:{url:"ipfs://Qmc9N7V8CiLB4r7FEcG7GojqfiGGsRCZqcFWCahwMohbDW",width:267,height:300,format:"png"},infoURL:"https://trufflesuite.com/ganache/",name:"Ganache",nativeCurrency:{name:"Ganache Test Ether",symbol:"ETH",decimals:18},networkId:5777,rpc:["https://5777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://127.0.0.1:7545"],shortName:"ggui",slip44:1,slug:"ganache",testnet:!0,title:"Ganache GUI Ethereum Testnet"},F20={chain:"Avalanche",chainId:5810,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Reg Tnet",nativeCurrency:{name:"Reg Tnet Token",symbol:"LUG",decimals:18},networkId:5810,redFlags:[],rpc:["https://5810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg Tnet",slug:"reg-tnet",testnet:!0},O20={chain:"Tangle",chainId:5845,explorers:[{name:"Tangle EVM Explorer",url:"https://explorer.tangle.tools",standard:"EIP3091",icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",width:1600,height:1600,format:"png"},infoURL:"https://docs.tangle.tools",name:"Tangle",nativeCurrency:{name:"Tangle",symbol:"TNT",decimals:18},networkId:5845,rpc:["https://5845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tangle.tools","wss://rpc.tangle.tools"],shortName:"tangle",slug:"tangle",testnet:!1},V20={chain:"Ontology",chainId:5851,explorers:[{name:"explorer",url:"https://explorer.ont.io/testnet",standard:"EIP3091"}],faucets:["https://developer.ont.io/"],icon:{url:"ipfs://bafkreigmvn6spvbiirtutowpq6jmetevbxoof5plzixjoerbeswy4htfb4",width:400,height:400,format:"png"},infoURL:"https://ont.io/",name:"Ontology Testnet",nativeCurrency:{name:"ONG",symbol:"ONG",decimals:18},networkId:5851,rpc:["https://5851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://polaris1.ont.io:20339","http://polaris2.ont.io:20339","http://polaris3.ont.io:20339","http://polaris4.ont.io:20339","https://polaris1.ont.io:10339","https://polaris2.ont.io:10339","https://polaris3.ont.io:10339","https://polaris4.ont.io:10339"],shortName:"OntologyTestnet",slip44:1,slug:"ontology-testnet",testnet:!0},$20={chain:"RBD",chainId:5869,explorers:[{name:"wegoscan2",url:"https://scan2.wegochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.wegochain.io",name:"Wegochain Rubidium Mainnet",nativeCurrency:{name:"Rubid",symbol:"RBD",decimals:18},networkId:5869,rpc:["https://5869.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.wegochain.io","http://wallet.wegochain.io:7764"],shortName:"rbd",slug:"wegochain-rubidium",testnet:!1},U20={chain:"BounceBit",chainId:6e3,explorers:[{name:"BBScan Testnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},infoURL:"https://bouncebit.io",name:"BounceBit Testnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6e3,rpc:["https://6000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-testnet.bouncebitapi.com/"],shortName:"bouncebit-testnet",slug:"bouncebit-testnet",testnet:!0},q20={chain:"BounceBit",chainId:6001,explorers:[{name:"BBScan Mainnet Explorer",url:"https://bbscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXry4fg4n371PCokLGKUMwmws1SoJb5giZM3EedeEQaZz",width:192,height:192,format:"png"},infoURL:"https://bouncebit.io",name:"BounceBit Mainnet",nativeCurrency:{name:"BounceBit",symbol:"BB",decimals:18},networkId:6001,rpc:["https://6001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fullnode-mainnet.bouncebitapi.com/"],shortName:"bouncebit-mainnet",slug:"bouncebit",testnet:!1},H20={chain:"TresLeches",chainId:6065,explorers:[{name:"treslechesexplorer",url:"https://explorer-test.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:["http://faucet.tresleches.finance:8080"],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Testnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6065,rpc:["https://6065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.tresleches.finance/"],shortName:"TRESTEST",slip44:1,slug:"tres-testnet",testnet:!0},z20={chain:"TresLeches",chainId:6066,explorers:[{name:"treslechesexplorer",url:"https://explorer.tresleches.finance",standard:"EIP3091",icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmS33ypsZ1Hx5LMMACaJaxePy9QNYMwu4D12niobExLK74",width:512,height:512,format:"png"},infoURL:"https://treschain.com",name:"Tres Mainnet",nativeCurrency:{name:"TRES",symbol:"TRES",decimals:18},networkId:6066,rpc:["https://6066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tresleches.finance/","https://rpc.treschain.io/"],shortName:"TRESMAIN",slug:"tres",testnet:!1},W20={chain:"Cascadia",chainId:6102,explorers:[{name:"Cascadia EVM Explorer",url:"https://explorer.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}},{name:"Cascadia Cosmos Explorer",url:"https://validator.cascadia.foundation",standard:"none",icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"}}],faucets:["https://www.cascadia.foundation/faucet"],icon:{url:"ipfs://QmQtcwxNiJ9D1QDz4k6jZ7qacLcqMk6CeW85TTBWBvNp3z",width:256,height:256,format:"png"},infoURL:"https://www.cascadia.foundation",name:"Cascadia Testnet",nativeCurrency:{name:"CC",symbol:"tCC",decimals:18},networkId:6102,rpc:["https://6102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.cascadia.foundation"],shortName:"cascadia",slug:"cascadia-testnet",testnet:!0},j20={chain:"UPTN",chainId:6118,explorers:[{name:"UPTN Testnet Explorer",url:"https://testnet.explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN Testnet",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6118,rpc:["https://6118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.alp.uptn.io/v1/ext/rpc"],shortName:"UPTN-TEST",slip44:1,slug:"uptn-testnet",testnet:!0},G20={chain:"UPTN",chainId:6119,explorers:[{name:"UPTN Explorer",url:"https://explorer.uptn.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://Qma6cGPCDcJPFxy5KQaMBrLtuVQiqeLncXVybcBoQuhai5",width:128,height:128,format:"png"},infoURL:"https://uptn.io",name:"UPTN",nativeCurrency:{name:"UPTN",symbol:"UPTN",decimals:18},networkId:6119,rpc:["https://6119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node-api.uptn.io/v1/ext/rpc"],shortName:"UPTN",slug:"uptn",testnet:!1},K20={chain:"Avalanche",chainId:6213,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8112",nativeCurrency:{name:"QaUser8112 Token",symbol:"PEN",decimals:18},networkId:6213,redFlags:[],rpc:["https://6213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8112",slug:"qauser8112",testnet:!0},Q20={chain:"Aura",chainId:6321,explorers:[{name:"Aurascan Explorer",url:"https://euphoria.aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:["https://aura.faucetme.pro"],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Euphoria Testnet",nativeCurrency:{name:"test-EAura",symbol:"eAura",decimals:18},networkId:6321,rpc:["https://6321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.euphoria.aura.network"],shortName:"eaura",slip44:1,slug:"aura-euphoria-testnet",testnet:!0},Y20={chain:"Aura",chainId:6322,explorers:[{name:"Aurascan Explorer",url:"https://aurascan.io",standard:"none",icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbpQPpjKy1bkDmuzCSSE9iFTUK37AiWYgJbgN3Fr7MWYq",width:512,height:557,format:"png"},infoURL:"https://aura.network",name:"Aura Mainnet",nativeCurrency:{name:"Aura",symbol:"AURA",decimals:18},networkId:6322,rpc:["https://6322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.aura.network"],shortName:"aura",slip44:1,slug:"aura",testnet:!1},J20={chain:"DGS",chainId:6363,explorers:[],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:6363,rpc:["https://6363.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dsc-rpc.digitsoul.co.th"],shortName:"DGS",slug:"digit-soul-smart-chain",testnet:!1},X20={chain:"P2P",chainId:6502,explorers:[],faucets:[],infoURL:"https://peerpay.su.gy",name:"Peerpay",nativeCurrency:{name:"Peerpay",symbol:"P2P",decimals:18},networkId:6502,rpc:["https://6502.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://peerpay.su.gy/p2p"],shortName:"Peerpay",slug:"peerpay",testnet:!1},Z20={chain:"FLA",chainId:6550,explorers:[{name:"FLASCAN",url:"https://testnet.flascan.net/",standard:"EIP3091",icon:{url:"ipfs://Qmf1qTbwQwPgsc4btKKxgR7vbqWGSCXjRynScPvxAe8Nzq",width:112,height:112,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmPQ1kPJPUMxiZwegUCFZQuZExwNbWWwAB6d5CsDE7npx8",width:512,height:512,format:"png"},name:"Flamma Testenet",nativeCurrency:{name:"Flamma",symbol:"FLA",decimals:18},networkId:6550,redFlags:[],rpc:["https://6550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.flamma.network/"],shortName:"FLA",slug:"flamma-testenet",testnet:!0},ey0={chain:"SCOLWEI-testnet",chainId:6552,explorers:[{name:"Scolscan Testnet Explorer",url:"https://testnet-explorer.scolcoin.com",standard:"EIP3091"}],faucets:["https://faucet.scolcoin.com"],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin WeiChain Testnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:6552,rpc:["https://6552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.scolcoin.com"],shortName:"SRC-test",slip44:1,slug:"scolcoin-weichain-testnet",testnet:!0},ty0={chain:"FOX",chainId:6565,explorers:[{name:"FOX Testnet Explorer",url:"https://testnet.foxscan.app",standard:"none",icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"}}],faucets:["https://faucet.foxchain.app"],icon:{url:"ipfs://Qmbp1rwhtRr6JQRyYqyfLqkbmzXr1T17zbmChsi2ouvg3M",width:100,height:100,format:"png"},infoURL:"https://foxchain.app",name:"Fox Testnet Network",nativeCurrency:{name:"FOX Native Token",symbol:"tFOX",decimals:18},networkId:6565,rpc:["https://6565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-v1.foxchain.app/","https://rpc2-testnet-v1.foxchain.app/","https://rpc3-testnet-v1.foxchain.app"],shortName:"fox",slip44:1,slug:"fox-testnet-network",testnet:!0},ny0={chain:"PixieChain",chainId:6626,explorers:[{name:"blockscout",url:"https://scan.chain.pixie.xyz",standard:"none"}],faucets:[],infoURL:"https://chain.pixie.xyz",name:"Pixie Chain Mainnet",nativeCurrency:{name:"Pixie Chain Native Token",symbol:"PIX",decimals:18},networkId:6626,rpc:["https://6626.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://http-mainnet.chain.pixie.xyz","wss://ws-mainnet.chain.pixie.xyz"],shortName:"pixie-chain",slug:"pixie-chain",testnet:!1},ay0={chain:"LATEST",chainId:6660,explorers:[{name:"Latest Chain",url:"http://testnet.latestchain.io",standard:"EIP3091"}],faucets:["http://faucet.latestchain.io"],icon:{url:"ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",width:1115,height:1242,format:"png"},infoURL:"https://latestcoin.io",name:"Latest Chain Testnet",nativeCurrency:{name:"Latest",symbol:"LATEST",decimals:18},networkId:6660,rpc:["https://6660.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.latestcoin.io"],shortName:"LATESTt",slug:"latest-chain-testnet",testnet:!0},ry0={chain:"CYBA",chainId:6661,explorers:[{name:"Cybria Explorer",url:"https://cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Mainnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6661,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6661.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.cybria.io"],shortName:"cyba",slug:"cybria",testnet:!1},iy0={chain:"CYBA",chainId:6666,explorers:[{name:"Cybria Explorer",url:"https://explorer.cybascan.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiagdqfrvnbdjhkh27gjbvepzo66dpqgnbffmpnywuw5ncprg3jk3u",width:2264,height:408,format:"png"}}],faucets:["https://faucet.cybascan.io"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiarso74bytq5ccnl3mlfhd4ejiylwautsr6ovbqgmynzjzmkorn6y",width:500,height:500,format:"svg"},infoURL:"https://cybria.io",name:"Cybria Testnet",nativeCurrency:{name:"Cybria",symbol:"CYBA",decimals:18},networkId:6666,parent:{type:"L2",chain:"eip155-11155420",bridges:[{url:"https://app.optimism.io/bridge"}]},rpc:["https://6666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-rpc.cybascan.io"],shortName:"tcyba",slug:"cybria-testnet",testnet:!0},sy0={chain:"IRIShub",chainId:6688,explorers:[{name:"IRISHub Cosmos Explorer (IOBScan)",url:"https://irishub.iobscan.io",standard:"none",icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTKgKs7kJiWDhdjbELE4Y2HVZ36KS4bYkNCbXdsXk66sW",width:1062,height:1062,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:6688,rpc:["https://6688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.irishub-1.irisnet.org","https://iris-evm.publicnode.com","wss://iris-evm.publicnode.com"],shortName:"iris",slug:"irishub",testnet:!1},fy0={chain:"OX",chainId:6699,explorers:[],faucets:[],infoURL:"https://ox.fun/chain",name:"OX Chain",nativeCurrency:{name:"OX",symbol:"OX",decimals:18},networkId:6699,rpc:["https://6699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oxscan.io"],shortName:"ox-chain",slug:"ox-chain",status:"incubating",testnet:!1,title:"OX Chain"},oy0={chain:"PAXB",chainId:6701,explorers:[{name:"PAXB Explorer",url:"https://scan.paxb.io",standard:"EIP3091",icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSP66CHynXpMYkjV28uLjTR4kjuoJyy92igYYpvLoqHtG",width:300,height:300,format:"png"},infoURL:"https://paxb.io/",name:"PAXB Mainnet",nativeCurrency:{name:"PAXB",symbol:"PAXB",decimals:18},networkId:6701,rpc:["https://6701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.paxb.io"],shortName:"PAXB",slug:"paxb",testnet:!1},cy0={chain:"Avalanche",chainId:6713,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7475",nativeCurrency:{name:"QaUser7475 Token",symbol:"GZR",decimals:18},networkId:6713,redFlags:[],rpc:["https://6713.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7475",slug:"qauser7475",testnet:!0},dy0={chain:"CPV",chainId:6779,explorers:[{name:"cpvscan",url:"https://scan.compverse.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYbskrGpidbMwsJekTeLrr8Z6GA9q4Uxh7piS1F9BdWWv",width:256,height:256,format:"png"},infoURL:"https://compverse.io",name:"Compverse Mainnet",nativeCurrency:{name:"compverse",symbol:"CPV",decimals:18},networkId:6779,rpc:["https://6779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.compverse.io/","https://rpc-useast1.compverse.io/"],shortName:"compverse",slip44:7779,slug:"compverse",testnet:!1},ly0={chain:"STAND",chainId:6789,explorers:[{name:"Gold Smart Chain",url:"https://mainnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Mainnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:6789,rpc:["https://6789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.goldsmartchain.com"],shortName:"STANDm",slug:"gold-smart-chain",testnet:!1},py0={chain:"ETH",chainId:6806,explorers:[{name:"blockscout",url:"https://testnet.racescan.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.racetestnet.io/"],icon:{url:"ipfs://QmQGaiPkSHc8ZGLAE4A8yZdFWLeuEts4VX6FjEqnuPXvxh",width:184,height:417,format:"png"},infoURL:"https://race.foundation/",name:"RACE Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:6806,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://testnet-bridge.raceconomy.com/"}]},rpc:["https://6806.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://racetestnet.io/"],shortName:"racesep",slip44:1,slug:"race-testnet",testnet:!0},uy0={chain:"Pools",chainId:6868,explorers:[{name:"poolsscan",url:"https://scan.poolsmobility.com",standard:"EIP3091",icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV18PRFPkp9pwKKJp4ksVDhMEiqNZ8A5DhQapdNCckeeQ",width:512,height:512,format:"png"},infoURL:"https://www.poolschain.org",name:"Pools Mainnet",nativeCurrency:{name:"POOLS Native Token",symbol:"POOLS",decimals:18},networkId:6868,rpc:["https://6868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poolsmobility.com"],shortName:"POOLS",slip44:6868,slug:"pools",testnet:!1},yy0={chain:"Tomb Chain",chainId:6969,explorers:[{name:"tombscout",url:"https://tombscout.com",standard:"none"}],faucets:[],infoURL:"https://tombchain.com/",name:"Tomb Chain Mainnet",nativeCurrency:{name:"Tomb",symbol:"TOMB",decimals:18},networkId:6969,parent:{type:"L2",chain:"eip155-250",bridges:[{url:"https://lif3.com/bridge"}]},rpc:["https://6969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tombchain.com/"],shortName:"tombchain",slug:"tomb-chain",testnet:!1},my0={chain:"PSC",chainId:6999,explorers:[],faucets:[],infoURL:"https://www.polysmartchain.com/",name:"PolySmartChain",nativeCurrency:{name:"PSC",symbol:"PSC",decimals:18},networkId:6999,rpc:["https://6999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed0.polysmartchain.com/","https://seed1.polysmartchain.com/","https://seed2.polysmartchain.com/"],shortName:"psc",slug:"polysmartchain",testnet:!1},by0={chain:"ZetaChain",chainId:7e3,explorers:[{name:"ZetaChain Mainnet Explorer",url:"https://explorer.zetachain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs/",name:"ZetaChain Mainnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7e3,rpc:["https://7000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-evm.blockpi.network/v1/rpc/public","https://zetachain-mainnet.g.allthatnode.com/archive/evm","https://zeta-chain.drpc.org","https://zetachain-mainnet.public.blastapi.io"],shortName:"zetachain-mainnet",slug:"zetachain",status:"active",testnet:!1},hy0={chain:"ZetaChain",chainId:7001,explorers:[{name:"ZetaScan",url:"https://athens.explorer.zetachain.com",standard:"none"},{name:"Blockscout",url:"https://zetachain-athens-3.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://www.zetachain.com/docs/reference/apps/get-testnet-zeta/"],icon:{url:"ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",width:712,height:712,format:"png"},infoURL:"https://zetachain.com/docs",name:"ZetaChain Testnet",nativeCurrency:{name:"Zeta",symbol:"ZETA",decimals:18},networkId:7001,rpc:["https://7001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zetachain-athens-evm.blockpi.network/v1/rpc/public","https://zetachain-testnet.public.blastapi.io","https://zetachain-athens.g.allthatnode.com/archive/evm","https://zeta-chain-testnet.drpc.org"],shortName:"zetachain-testnet",slip44:1,slug:"zetachain-testnet",status:"active",testnet:!0},gy0={chain:"BSTC",chainId:7007,explorers:[{name:"blockscout",url:"https://bstscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPko9BJhR5FWTsThcwUFnnnjgLjrXVDm1n98dCuaQNW59",width:506,height:652,format:"png"},infoURL:"https://bstchain.io",name:"BST Chain",nativeCurrency:{name:"BST Chain",symbol:"BSTC",decimals:18},networkId:7007,rpc:["https://7007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bstchain.io/"],shortName:"BSTC",slug:"bst-chain",testnet:!1},vy0={chain:"ella",chainId:7027,explorers:[{name:"Ella",url:"https://ella.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVkAhSaHhH3wKoLT56Aq8dNyEH4RySPEpqPcLwsptGBDm",width:512,height:512,format:"png"},infoURL:"https://ella.network",name:"Ella the heart",nativeCurrency:{name:"Ella",symbol:"ELLA",decimals:18},networkId:7027,rpc:["https://7027.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ella.network"],shortName:"ELLA",slug:"ella-the-heart",testnet:!1},Ty0={chain:"Planq",chainId:7070,explorers:[{name:"Planq EVM Explorer (Blockscout)",url:"https://evm.planq.network",standard:"none"},{name:"Planq Cosmos Explorer (BigDipper)",url:"https://explorer.planq.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Mainnet",nativeCurrency:{name:"Planq",symbol:"PLQ",decimals:18},networkId:7070,rpc:["https://7070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.planq.network"],shortName:"planq",slug:"planq",testnet:!1},_y0={chain:"Planq",chainId:7077,explorers:[],faucets:[],icon:{url:"ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",width:256,height:256,format:"png"},infoURL:"https://planq.network",name:"Planq Atlas Testnet",nativeCurrency:{name:"Planq",symbol:"tPLQ",decimals:18},networkId:7077,rpc:["https://7077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-atlas.planq.network"],shortName:"planq-atlas-testnet",slug:"planq-atlas-testnet",testnet:!0},wy0={chain:"Nume",chainId:7100,explorers:[{name:"numeexplorer",url:"https://explorer.numecrypto.com",standard:"none",icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNbp1K6vKKFYh7bWeWtjBqKgdH88suDVbztP5CYU3pYNG",width:1280,height:1280,format:"png"},infoURL:"https://numecrypto.com",name:"Nume",nativeCurrency:{name:"Dai Stablecoin",symbol:"DAI",decimals:18},networkId:7100,rpc:["https://7100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.numecrypto.com"],shortName:"nume",slug:"nume",testnet:!1,title:"Nume"},xy0={chain:"mainnet",chainId:7118,explorers:[],faucets:[],icon:{url:"ipfs://QmNR4Y3cUxefV7KGpGxMkjp5ofeJvbaUkR1GavsmTtK248",width:1e3,height:1e3,format:"png"},infoURL:"https://hth.world",name:"Help The Homeless",nativeCurrency:{name:"Help The Homeless Coin",symbol:"HTH",decimals:18},networkId:7118,rpc:[],shortName:"hth",slug:"help-the-homeless",status:"incubating",testnet:!1},Iy0={chain:"Avalanche",chainId:7158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"TESTNet FirstTEST",nativeCurrency:{name:"TESTNet FirstTEST Token",symbol:"TEST",decimals:18},networkId:7158,redFlags:[],rpc:["https://7158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetfir/testnet/rpc"],shortName:"TESTNet FirstTEST",slug:"testnet-firsttest",testnet:!0},Ey0={chain:"Bitrock",chainId:7171,explorers:[{name:"Bitrock Explorer",url:"https://explorer.bit-rock.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Mainnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7171,rpc:["https://7171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.bit-rock.io","https://brockrpc.io"],shortName:"bitrock",slug:"bitrock",testnet:!1},Dy0={chain:"Avalanche",chainId:7207,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401222",nativeCurrency:{name:"QI M 2401222 Token",symbol:"HZU",decimals:18},networkId:7207,redFlags:[],rpc:["https://7207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401222",slug:"qi-m-2401222",testnet:!0},Cy0={chain:"XPLA Verse",chainId:7300,explorers:[{name:"XPLA Verse Explorer",url:"https://explorer-xpla-verse.xpla.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZvqcTNWPUoT1F3r9DTAMhdjt3zQC8eRUStvUGEF68KCt",width:857,height:132,format:"png"},infoURL:"https://www.xpla.io",name:"XPLA Verse",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7300,parent:{type:"L2",chain:"eip155-248"},rpc:["https://7300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-xpla-verse.xpla.dev"],shortName:"XPLAVERSE",slug:"xpla-verse",testnet:!1},Sy0={chain:"Avalanche",chainId:7317,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5017 Testnet",nativeCurrency:{name:"QaUser5017 Testnet Token",symbol:"IHS",decimals:18},networkId:7317,redFlags:[],rpc:["https://7317.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5017 Testnet",slug:"qauser5017-testnet",testnet:!0},Ay0={chain:"Avalanche",chainId:7326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2403051 Testnet",nativeCurrency:{name:"QI M 2403051 Testnet Token",symbol:"VVC",decimals:18},networkId:7326,redFlags:[],rpc:["https://7326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2403051 Testnet",slug:"qi-m-2403051-testnet",testnet:!0},ky0={chain:"KLY",chainId:7331,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmaDr9R6dKnZLsogRxojjq4dwXuXcudR8UeTZ8Nq553K4u",width:400,height:400,format:"png"},infoURL:"https://klyntar.org",name:"KLYNTAR",nativeCurrency:{name:"KLYNTAR",symbol:"KLY",decimals:18},networkId:7331,rpc:["https://7331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.klyntar.org/kly_evm_rpc","https://evm.klyntarscan.org/kly_evm_rpc"],shortName:"kly",slug:"klyntar",status:"incubating",testnet:!1},Py0={chain:"EON",chainId:7332,explorers:[{name:"Horizen EON Block Explorer",url:"https://eon-explorer.horizenlabs.io",standard:"EIP3091",icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",width:1213,height:1213,format:"png"},infoURL:"https://horizen.io/",name:"Horizen EON Mainnet",nativeCurrency:{name:"Zencash",symbol:"ZEN",decimals:18},networkId:7332,rpc:["https://7332.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eon-rpc.horizenlabs.io/ethv1","https://rpc.ankr.com/horizen_eon"],shortName:"EON",slip44:121,slug:"horizen-eon",testnet:!1},Ry0={chain:"SHYFT",chainId:7341,explorers:[{name:"Shyft BX",url:"https://bx.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Mainnet",nativeCurrency:{name:"Shyft",symbol:"SHYFT",decimals:18},networkId:7341,rpc:["https://7341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shyft.network/"],shortName:"shyft",slip44:2147490989,slug:"shyft",testnet:!1},Ly0={chain:"Avalanche",chainId:7366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7888",nativeCurrency:{name:"QaUser7888 Token",symbol:"NHF",decimals:18},networkId:7366,redFlags:[],rpc:["https://7366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7888",slug:"qauser7888",testnet:!0},My0={chain:"Raba",chainId:7484,explorers:[{name:"raba",url:"https://x.raba.app/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmatP9qMHEYoXqRDyHMTyjYRQa6j6Gk7pmv1QLxQkvpGRP",width:787,height:750,format:"png"},infoURL:"https://x.raba.app/",name:"Raba Network Mainnet",nativeCurrency:{name:"Raba",symbol:"RABA",decimals:18},networkId:7484,rpc:["https://7484.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.x.raba.app/","wss://rpc.x.raba.app/ws/"],shortName:"raba",slug:"raba-network",testnet:!1},By0={chain:"Avalanche",chainId:7507,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7740 Testnet",nativeCurrency:{name:"QaUser7740 Testnet Token",symbol:"RUI",decimals:18},networkId:7507,redFlags:[],rpc:["https://7507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7740 Testnet",slug:"qauser7740-testnet",testnet:!0},Ny0={chain:"MEVerse",chainId:7518,explorers:[{name:"MEVerse Chain Explorer",url:"https://www.meversescan.io",standard:"none",icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPuQ6gaCfUtNdRuaEDbdhot2m2KCy2ZHCJUvZXJAtdeyJ",width:800,height:800,format:"png"},infoURL:"https://www.meverse.sg",name:"MEVerse Chain Mainnet",nativeCurrency:{name:"MEVerse",symbol:"MEV",decimals:18},networkId:7518,rpc:["https://7518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.meversemainnet.io"],shortName:"MEV",slug:"meverse-chain",testnet:!1},Fy0={chain:"Cyber",chainId:7560,explorers:[{name:"Cyber Mainnet Explorer",url:"https://cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7560,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://cyber.co/bridge"}]},rpc:["https://7560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber.alt.technology/","wss://cyber-ws.alt.technology/","https://rpc.cyber.co/","wss://rpc.cyber.co/"],shortName:"cyeth",slug:"cyber",testnet:!1},Oy0={chain:"ADIL",chainId:7575,explorers:[{name:"ADIL Testnet Explorer",url:"https://testnet.adilchain-scan.io",standard:"EIP3091"}],faucets:["https://testnet-faucet.adil-scan.io"],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Testnet",nativeCurrency:{name:"Testnet ADIL",symbol:"ADIL",decimals:18},networkId:7575,rpc:["https://7575.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.adilchain-rpc.io"],shortName:"tadil",slip44:1,slug:"adil-testnet",testnet:!0},Vy0={chain:"ADIL",chainId:7576,explorers:[{name:"ADIL Mainnet Explorer",url:"https://adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"Adil Chain V2 Mainnet",nativeCurrency:{name:"ADIL",symbol:"ADIL",decimals:18},networkId:7576,rpc:["https://7576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://adilchain-rpc.io"],shortName:"adil",slug:"adil-chain-v2",testnet:!1},$y0={chain:"Avalanche",chainId:7640,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0205I1",nativeCurrency:{name:"QI0205I1 Token",symbol:"KOA",decimals:18},networkId:7640,redFlags:[],rpc:["https://7640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0205I1",slug:"qi0205i1",testnet:!0},Uy0={chain:"TRN",chainId:7668,explorers:[{name:"rootnet",url:"https://explorer.rootnet.live",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Mainnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7668,rpc:["https://7668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://root.rootnet.live/archive","wss://root.rootnet.live/archive/ws"],shortName:"trn-mainnet",slug:"the-root-network",testnet:!1},qy0={chain:"TRN",chainId:7672,explorers:[{name:"rootnet",url:"https://explorer.rootnet.cloud",standard:"EIP3091"}],faucets:[],infoURL:"https://www.futureverse.com/technology/root",name:"The Root Network - Porcini Testnet",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:6},networkId:7672,rpc:["https://7672.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://porcini.rootnet.app/archive","wss://porcini.rootnet.app/archive/ws"],shortName:"trn-porcini",slip44:1,slug:"the-root-network-porcini-testnet",testnet:!0},Hy0={chain:"Canto",chainId:7700,explorers:[{name:"Canto Explorer (OKLink)",url:"https://www.oklink.com/canto",standard:"EIP3091"},{name:"Canto EVM Explorer (Blockscout)",url:"https://tuber.build",standard:"EIP3091"},{name:"dexguru",url:"https://canto.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto",nativeCurrency:{name:"Canto",symbol:"CANTO",decimals:18},networkId:7700,rpc:["https://7700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://canto.slingshot.finance","https://canto-rpc.ansybl.io","https://mainnode.plexnode.org:8545","https://canto.gravitychain.io/"],shortName:"canto",slug:"canto",testnet:!1},zy0={chain:"Canto",chainId:7701,explorers:[{name:"Canto Testnet EVM Explorer (Blockscout)",url:"https://testnet.tuber.build",standard:"none"},{name:"dexguru",url:"https://canto-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://canto.io",name:"Canto Tesnet",nativeCurrency:{name:"Testnet Canto",symbol:"CANTO",decimals:18},networkId:7701,rpc:["https://7701.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-archive.plexnode.wtf"],shortName:"TestnetCanto",slip44:1,slug:"canto-tesnet",testnet:!0},Wy0={chain:"Bitrock",chainId:7771,explorers:[{name:"Bitrock Testnet Explorer",url:"https://testnetscan.bit-rock.io",standard:"EIP3091"}],faucets:["https://faucet.bit-rock.io"],icon:{url:"ipfs://QmfXZCAh3HWS2bJroUStN9TieL4QA9QArMotie3X4pwBfj",width:72,height:72,format:"svg"},infoURL:"https://bit-rock.io",name:"Bitrock Testnet",nativeCurrency:{name:"BITROCK",symbol:"BROCK",decimals:18},networkId:7771,rpc:["https://7771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bit-rock.io"],shortName:"tbitrock",slip44:1,slug:"bitrock-testnet",testnet:!0},jy0={chain:"GDCC",chainId:7774,explorers:[{name:"GDCC",url:"https://gdccscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",width:72,height:72,format:"png"},infoURL:"https://gdcchain.com",name:"GDCC MAINNET",nativeCurrency:{name:"GDCC",symbol:"GDCC",decimals:18},networkId:7774,rpc:["https://7774.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc-1.gdccscan.io"],shortName:"GdccMainnet",slug:"gdcc",testnet:!1},Gy0={chain:"GDCC",chainId:7775,explorers:[{name:"GDCC",url:"https://testnet.gdccscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",width:72,height:72,format:"png"},infoURL:"https://gdcchain.com",name:"GDCC TESTNET",nativeCurrency:{name:"GDCC",symbol:"GDCC",decimals:18},networkId:7775,rpc:["https://7775.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc1.gdccscan.io"],shortName:"GDCC",slug:"gdcc-testnet",testnet:!0},Ky0={chain:"nmactest",chainId:7777,explorers:[{name:"avascan",url:"https://testnet.avascan.info/blockchain/2mZ9doojfwHzXN3VXDQELKnKyZYxv7833U8Yq5eTfFx3hxJtiy",standard:"none"}],faucets:[],infoURL:"https://riseofthewarbots.com/",name:"Rise of the Warbots Testnet",nativeCurrency:{name:"Nano Machines",symbol:"NMAC",decimals:18},networkId:7777,rpc:["https://7777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.riseofthewarbots.com","https://testnet2.riseofthewarbots.com","https://testnet3.riseofthewarbots.com","https://testnet4.riseofthewarbots.com","https://testnet5.riseofthewarbots.com"],shortName:"RiseOfTheWarbotsTestnet",slip44:1,slug:"rise-of-the-warbots-testnet",testnet:!0},Qy0={chain:"ORE",chainId:7778,explorers:[{name:"ORE Mainnet Explorer",url:"https://oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Mainnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"ORE",decimals:18},networkId:7778,rpc:["https://7778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://validator-mainnet.orenium.org","https://rpc-oracle-mainnet.orenium.org","https://portalmainnet.orenium.org"],shortName:"ore",slip44:1,slug:"orenium-protocol",testnet:!1},Yy0={chain:"OEX",chainId:7798,explorers:[{name:"OpenEX Long Testnet Explorer",url:"https://scan.long.openex.network",standard:"EIP3091",icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"}}],faucets:["https://long.hub.openex.network/faucet"],icon:{url:"ipfs://bafkreidnu6p6vmmplerzvkboq7fz73ygkomzpnnokuxstrqv2fvxgmgg7i",width:512,height:512,format:"png"},infoURL:"https://openex.network",name:"OpenEX LONG Testnet",nativeCurrency:{name:"USDT Testnet",symbol:"USDT",decimals:18},networkId:7798,rpc:["https://7798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://long.rpc.openex.network/"],shortName:"oex",slip44:1,slug:"openex-long-testnet",testnet:!0,title:"OpenEX LONG Testnet"},Jy0={chain:"MaalChain Testnet",chainId:7860,explorers:[{name:"maalscan testnet",url:"https://testnet.maalscan.io",standard:"EIP3091"}],faucets:["https://faucet-testnet.maalscan.io/"],icon:{url:"ipfs://bafkreiexfqfe2x4impvwhra3xxa5eb25gv25zi3kkaoatdnld7wbxdzf2a",width:512,height:512,format:"png"},infoURL:"https://www.maalchain.com/",name:"MaalChain Testnet",nativeCurrency:{name:"MAAL",symbol:"MAAL",decimals:18},networkId:7860,rpc:["https://7860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.maalscan.io/","https://rpc-bntest.maalscan.io/"],shortName:"maal-test",slip44:1,slug:"maalchain-testnet",testnet:!0},Xy0={chain:"Avalanche",chainId:7865,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 02-07",nativeCurrency:{name:"ST 02-07 Token",symbol:"TJO",decimals:18},networkId:7865,redFlags:[],rpc:["https://7865.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 02-07",slug:"st-02-07",testnet:!0},Zy0={chain:"Avalanche",chainId:7872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QAUSer4 Testnet",nativeCurrency:{name:"QAUSer4 Testnet Token",symbol:"VVC",decimals:18},networkId:7872,redFlags:[],rpc:["https://7872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QAUSer4 Testnet",slug:"qauser4-testnet",testnet:!0},e80={chain:"SCAS",chainId:7878,explorers:[{name:"Hazlor Testnet Explorer",url:"https://explorer.hazlor.com",standard:"none"}],faucets:["https://faucet.hazlor.com"],infoURL:"https://hazlor.com",name:"Hazlor Testnet",nativeCurrency:{name:"Hazlor Test Coin",symbol:"TSCAS",decimals:18},networkId:7878,rpc:["https://7878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hatlas.rpc.hazlor.com:8545","wss://hatlas.rpc.hazlor.com:8546"],shortName:"tscas",slip44:1,slug:"hazlor-testnet",testnet:!0},t80={chain:"Kinto Mainnet",chainId:7887,explorers:[{name:"Kinto Explorer",url:"https://explorer.kinto.xyz",standard:"EIP3091",icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmZw4zfR4Q8MD6MZRwkQrMeiiiu77AJffHdCMdemt4R2VM",width:400,height:400,format:"jpg"},infoURL:"https://kinto.xyz",name:"Kinto Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:7887,rpc:["https://7887.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kinto.xyz/http","https://kinto-mainnet.calderachain.xyz/http"],shortName:"kintoMainnet",slug:"kinto",testnet:!1},n80={chain:"ATHENA",chainId:7895,explorers:[{name:"ARDENIUM Athena Explorer",url:"https://testnet.ardscan.com",standard:"none",icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"}}],faucets:["https://faucet-athena.ardescan.com/"],icon:{url:"ipfs://QmdwifhejRfF8QfyzYrNdFVhfhCR6iuzWMmppK4eL7kttG",width:120,height:120,format:"png"},infoURL:"https://ardenium.org",name:"ARDENIUM Athena",nativeCurrency:{name:"ARD",symbol:"tARD",decimals:18},networkId:7895,rpc:["https://7895.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-athena.ardescan.com/"],shortName:"ard",slug:"ardenium-athena",testnet:!0},a80={chain:"Avalanche",chainId:7909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3870 Testnet",nativeCurrency:{name:"QaUser3870 Testnet Token",symbol:"RAY",decimals:18},networkId:7909,redFlags:[],rpc:["https://7909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3870 Testnet",slug:"qauser3870-testnet",testnet:!0},r80={chain:"DTBX",chainId:7923,explorers:[{name:"blockscout",url:"https://explorer.dotblox.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmZy2TMY881ghRxXJA7VyRA8Zhj2LJJ86DpHRZs3VQZqoJ",width:53,height:53,format:"png"},infoURL:"https://explorer.dotblox.io",name:"Dot Blox",nativeCurrency:{name:"Dot Blox",symbol:"DTBX",decimals:18},networkId:7923,rpc:["https://7923.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dotblox.io"],shortName:"DTBX",slug:"dot-blox",testnet:!1},i80={chain:"MO",chainId:7924,explorers:[{name:"MO Explorer",url:"https://moscan.app",standard:"none"}],faucets:["https://faucet.mochain.app/"],icon:{url:"ipfs://QmfJYJiR7L8xMG3KAWroVA9CQEfRGcbprC4JmVsiVk1E4e",width:512,height:512,format:"png"},infoURL:"https://mochain.app",name:"MO Mainnet",nativeCurrency:{name:"MO",symbol:"MO",decimals:18},networkId:7924,rpc:["https://7924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.mochain.app/"],shortName:"MO",slug:"mo",testnet:!1},s80={chain:"DOS",chainId:7979,explorers:[{name:"DOScan",url:"https://doscan.io",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}},{name:"DOScan",url:"https://explorer.doschain.com/",standard:"EIP3091",icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmV2Nowzo81F6pi2qFcHePA4MwmmdMKBMUzBJUrxcymxx4",width:512,height:512,format:"png"},infoURL:"https://doschain.com/",name:"DOS Chain",nativeCurrency:{name:"DOS",symbol:"DOS",decimals:18},networkId:7979,redFlags:[],rpc:["https://7979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://main.doschain.com"],shortName:"dos",slug:"dos-chain",testnet:!1},f80={chain:"Teleport",chainId:8e3,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8e3,rpc:["https://8000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.teleport.network"],shortName:"teleport",slug:"teleport",testnet:!1},o80={chain:"Teleport",chainId:8001,explorers:[{name:"Teleport EVM Explorer (Blockscout)",url:"https://evm-explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}},{name:"Teleport Cosmos Explorer (Big Dipper)",url:"https://explorer.testnet.teleport.network",standard:"none",icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"}}],faucets:["https://chain-docs.teleport.network/testnet/faucet.html"],icon:{url:"ipfs://QmdP1sLnsmW9dwnfb1GxAXU1nHDzCvWBQNumvMXpdbCSuz",width:390,height:390,format:"svg"},infoURL:"https://teleport.network",name:"Teleport Testnet",nativeCurrency:{name:"Tele",symbol:"TELE",decimals:18},networkId:8001,rpc:["https://8001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.testnet.teleport.network"],shortName:"teleport-testnet",slip44:1,slug:"teleport-testnet",testnet:!0},c80={chain:"Avalanche",chainId:8022,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"numine",nativeCurrency:{name:"numine Token",symbol:"numine",decimals:18},networkId:8022,redFlags:[],rpc:["https://8022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-numine-vc73e.avax-test.network/ext/bc/26XPa2jA4T31hKmaUGJt3g32xwsbaUfvcnMx1m18dWmrgxV2Mw/rpc?token=5f79a4d7746a18615d32562a9f9f9c2e87cae9d9cad53a94f7a204cba2434058"],shortName:"numine",slug:"numine",testnet:!0},d80={chain:"MDGL",chainId:8029,explorers:[],faucets:[],infoURL:"https://mdgl.io",name:"MDGL Testnet",nativeCurrency:{name:"MDGL Token",symbol:"MDGLT",decimals:18},networkId:8029,rpc:["https://8029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.mdgl.io"],shortName:"mdgl",slip44:1,slug:"mdgl-testnet",testnet:!0},l80={chain:"BOAT",chainId:8047,explorers:[{name:"BOAT Mainnet Explorer",url:"https://scan.come.boats",standard:"EIP3091",icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://bafkreibqgh23s7yt7rikybybiwfivwtoh32n24scjykvgbgewo3ecbrcye",width:512,height:512,format:"png"},infoURL:"https://come.boats",name:"BOAT Mainnet",nativeCurrency:{name:"Best Of All Time Token",symbol:"BOAT",decimals:18},networkId:8047,redFlags:[],rpc:["https://8047.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc0.come.boats/","https://rpc0.come.boat/"],shortName:"boat",slip44:1,slug:"boat",testnet:!1,title:"BOAT Mainnet"},p80={chain:"Karak",chainId:8054,explorers:[{name:"Karak Sepolia Explorer",url:"https://explorer.sepolia.karak.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRvHRuhfQgDRyGgt6vCoHqjZW2Dir7siowYnBpR5BRSej",width:1080,height:1080,format:"png"},infoURL:"https://karak.network",name:"Karak Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8054,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://8054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sepolia.karak.network"],shortName:"karak-sepolia",slug:"karak-sepolia",testnet:!0,title:"Karak Testnet Sepolia"},u80={chain:"Shardeum",chainId:8080,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty10.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty10.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8080,redFlags:["reusedChainId"],rpc:["https://8080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty10.shardeum.org/"],shortName:"Liberty10",slug:"shardeum-liberty-1-x",status:"deprecated",testnet:!0},y80={chain:"Shardeum",chainId:8081,explorers:[{name:"Shardeum Scan",url:"https://explorer-liberty20.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet.liberty20.shardeum.org"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Liberty 2.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8081,redFlags:["reusedChainId"],rpc:["https://8081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://liberty20.shardeum.org/"],shortName:"Liberty20",slug:"shardeum-liberty-2-x",status:"deprecated",testnet:!0},m80={chain:"Shardeum",chainId:8082,explorers:[{name:"Shardeum Scan",url:"https://explorer-sphinx.shardeum.org",standard:"EIP3091"}],faucets:["https://faucet-sphinx.shardeum.org/"],features:[],icon:{url:"ipfs://Qma1bfuubpepKn7DLDy4NPSKDeT3S4VPCNhu6UmdGrb6YD",width:609,height:533,format:"png"},infoURL:"https://docs.shardeum.org/",name:"Shardeum Sphinx 1.X",nativeCurrency:{name:"Shardeum SHM",symbol:"SHM",decimals:18},networkId:8082,redFlags:["reusedChainId"],rpc:["https://8082.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sphinx.shardeum.org/"],shortName:"Sphinx10",slug:"shardeum-sphinx-1-x",testnet:!0},b80={chain:"BTC",chainId:8086,explorers:[],faucets:[],infoURL:"https://biteth.org",name:"Bitcoin Chain",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:18},networkId:8086,rpc:["https://8086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.biteth.org"],shortName:"Bitcoin",slug:"bitcoin-chain",testnet:!1},h80={chain:"USD",chainId:8087,explorers:[],faucets:[],infoURL:"https://e-dollar.org",name:"E-Dollar",nativeCurrency:{name:"E-Dollar",symbol:"USD",decimals:18},networkId:8087,rpc:["https://8087.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.e-dollar.org"],shortName:"E-Dollar",slug:"e-dollar",testnet:!1},g80={chain:"StreamuX",chainId:8098,explorers:[],faucets:[],infoURL:"https://www.streamux.cloud",name:"StreamuX Blockchain",nativeCurrency:{name:"StreamuX",symbol:"SmuX",decimals:18},networkId:8098,rpc:["https://8098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0ma6t6heb:KDNwOsRDGcyM2Oeui1p431Bteb4rvcWkuPgQNHwB4FM@u0xy4x6x82-u0e2mg517m-rpc.us0-aws.kaleido.io/"],shortName:"StreamuX",slug:"streamux-blockchain",testnet:!1},v80={chain:"MEER",chainId:8131,explorers:[{name:"meerscan testnet",url:"https://testnet-qng.qitmeer.io",standard:"EIP3091",icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"}}],faucets:["https://faucet.qitmeer.io"],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Testnet",nativeCurrency:{name:"Qitmeer Testnet",symbol:"MEER-T",decimals:18},networkId:8131,rpc:["https://8131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qng.rpc.qitmeer.io","https://testnet.meerlabs.com","https://meer.testnet.meerfans.club"],shortName:"meertest",slip44:1,slug:"qitmeer-network-testnet",testnet:!0},T80={chain:"MEER",chainId:8132,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Mixnet",nativeCurrency:{name:"Qitmeer Mixnet",symbol:"MEER-M",decimals:18},networkId:8132,rpc:[],shortName:"meermix",slug:"qitmeer-network-mixnet",status:"incubating",testnet:!1},_80={chain:"MEER",chainId:8133,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Qitmeer Network Privnet",nativeCurrency:{name:"Qitmeer Privnet",symbol:"MEER-P",decimals:18},networkId:8133,rpc:[],shortName:"meerpriv",slug:"qitmeer-network-privnet",status:"incubating",testnet:!1},w80={chain:"MEER",chainId:8134,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana",nativeCurrency:{name:"Amana Mainnet",symbol:"MEER",decimals:18},networkId:8134,rpc:[],shortName:"amana",slug:"amana",status:"incubating",testnet:!1},x80={chain:"MEER",chainId:8135,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana",nativeCurrency:{name:"Flana Mainnet",symbol:"MEER",decimals:18},networkId:8135,rpc:[],shortName:"flana",slug:"flana",status:"incubating",testnet:!1},I80={chain:"MEER",chainId:8136,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana",nativeCurrency:{name:"Mizana Mainnet",symbol:"MEER",decimals:18},networkId:8136,rpc:[],shortName:"mizana",slug:"mizana",status:"incubating",testnet:!1},E80={chain:"Avalanche",chainId:8154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318sGCP",nativeCurrency:{name:"QR0318sGCP Token",symbol:"VEG",decimals:18},networkId:8154,redFlags:[],rpc:["https://8154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318sgcp/testnet/rpc"],shortName:"QR0318sGCP",slug:"qr0318sgcp",testnet:!0},D80={chain:"tBOC",chainId:8181,explorers:[{name:"Testnet BeOne Chain",url:"https://testnet.beonescan.com",standard:"none",icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"}}],faucets:["https://testnet.beonescan.com/faucet"],icon:{url:"ipfs://QmbVLQnaMDu86bPyKgCvTGhFBeYwjr15hQnrCcsp1EkAGL",width:500,height:500,format:"png"},infoURL:"https://testnet.beonescan.com",name:"Testnet BeOne Chain",nativeCurrency:{name:"Testnet BeOne Chain",symbol:"tBOC",decimals:18},networkId:8181,rpc:["https://8181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pre-boc1.beonechain.com"],shortName:"tBOC",slip44:1,slug:"testnet-beone-chain",testnet:!0},C80={chain:"TQF",chainId:8192,explorers:[{name:"blockscout",url:"https://toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Mainnet",nativeCurrency:{name:"TQF",symbol:"TQF",decimals:18},networkId:8192,rpc:["https://8192.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.toruschain.com"],shortName:"tqf",slug:"torus",testnet:!1},S80={chain:"TQF",chainId:8194,explorers:[{name:"blockscout",url:"https://testnet.toruscan.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",width:1200,height:1200,format:"png"},infoURL:"https://docs.toruschain.com",name:"Torus Testnet",nativeCurrency:{name:"tTQF",symbol:"TTQF",decimals:18},networkId:8194,rpc:["https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.toruschain.com"],shortName:"ttqf",slip44:1,slug:"torus-testnet",testnet:!0},A80={chain:"KLAY",chainId:8217,explorers:[{name:"Klaytnscope",url:"https://scope.klaytn.com",standard:"EIP3091"},{name:"Klaytnfinder",url:"https://klaytnfinder.io",standard:"EIP3091"},{name:"klaytnfinder",url:"https://www.klaytnfinder.io/",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://bafkreigtgdivlmfvf7trqjqy4vkz2d26xk3iif6av265v4klu5qavsugm4",width:1e3,height:1e3,format:"png"},infoURL:"https://klaytn.foundation",name:"Klaytn Mainnet Cypress",nativeCurrency:{name:"KLAY",symbol:"KLAY",decimals:18},networkId:8217,redFlags:[],rpc:["https://8217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-en-cypress.klaytn.net","https://klaytn-mainnet-rpc.allthatnode.com:8551","https://klaytn.blockpi.network/v1/rpc/public"],shortName:"Cypress",slip44:8217,slug:"klaytn-cypress",testnet:!1},k80={chain:"Avalanche",chainId:8227,explorers:[{name:"SPACE Explorer",url:"https://subnets.avax.network/space",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:8227,redFlags:[],rpc:["https://8227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/mainnet/rpc"],shortName:"Space",slug:"space",testnet:!1},P80={chain:"Avalanche",chainId:8267,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0624I2",nativeCurrency:{name:"QI0624I2 Token",symbol:"YKE",decimals:18},networkId:8267,redFlags:[],rpc:["https://8267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0624I2",slug:"qi0624i2",testnet:!0},R80={chain:"Blockton Blockchain",chainId:8272,explorers:[{name:"Blockton Explorer",url:"https://blocktonscan.com",standard:"none"}],faucets:["https://faucet.blocktonscan.com/"],icon:{url:"ipfs://bafkreig3hoedafisrgc6iffdo2jcblm6kov35h72gcblc3zkmt7t4ucwhy",width:800,height:800,format:"png"},infoURL:"https://blocktoncoin.com",name:"Blockton Blockchain",nativeCurrency:{name:"BLOCKTON",symbol:"BTON",decimals:18},networkId:8272,rpc:["https://8272.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blocktonscan.com/"],shortName:"BTON",slug:"blockton-blockchain",testnet:!1},L80={chain:"Kortho",chainId:8285,explorers:[],faucets:[],infoURL:"https://www.kortho.io/",name:"KorthoTest",nativeCurrency:{name:"Kortho Test",symbol:"KTO",decimals:11},networkId:8285,rpc:["https://8285.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.krotho-test.net"],shortName:"Kortho",slip44:1,slug:"korthotest",testnet:!0},M80={chain:"Lorenzo",chainId:8329,explorers:[{name:"Lorenzo Explorer",url:"https://scan.lorenzo-protocol.xyz",standard:"none",icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcwDCeZpzvRWBwtTgyEFv4tLJk6SFUb26rwsRXyJrhnP7",width:288,height:288,format:"png"},infoURL:"https://www.lorenzo-protocol.xyz/",name:"Lorenzo",nativeCurrency:{name:"Lorenzo stBTC",symbol:"stBTC",decimals:18},networkId:8329,rpc:["https://8329.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lorenzo-protocol.xyz"],shortName:"lrz",slug:"lorenzo",testnet:!1},B80={chain:"FUCK",chainId:8387,explorers:[],faucets:[],icon:{url:"ipfs://bafybeibpyckp65pqjvrvqhdt26wqoqk55m6anshbfgyqnaemn6l34nlwya",width:1024,height:1024,format:"png"},infoURL:"https://wolfery.com",name:"Dracones Financial Services",nativeCurrency:{name:"Functionally Universal Coin Kind",symbol:"FUCK",decimals:18},networkId:8387,rpc:["https://8387.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.dracones.net/"],shortName:"fuck",slug:"dracones-financial-services",testnet:!1,title:"The Dracones Mainnet"},nU={chain:"ETH",chainId:8453,explorers:[{name:"basescan",url:"https://basescan.org",standard:"none"},{name:"basescout",url:"https://base.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8453,redFlags:[],rpc:["https://8453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co","wss://base.gateway.tenderly.co","https://base-rpc.publicnode.com","wss://base-rpc.publicnode.com"],shortName:"base",slug:"base",status:"active",testnet:!1},N80={chain:"Chakra Testnet",chainId:8545,explorers:[],faucets:[],name:"Chakra Testnet",nativeCurrency:{name:"Chakra",symbol:"CKR",decimals:18},networkId:8545,rpc:["https://8545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcv1-dn-1.chakrachain.io/"],shortName:"ChakraTN",slug:"chakra-testnet",testnet:!0},F80={chain:"TOKI",chainId:8654,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Network",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8654,rpc:["https://8654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.buildwithtoki.com/v0/rpc"],shortName:"toki",slug:"toki-network",testnet:!1},O80={chain:"TOKI",chainId:8655,explorers:[],faucets:[],icon:{url:"ipfs://QmbCBBH4dFHGr8u1yQspCieQG9hLcPFNYdRx1wnVsX8hUw",width:512,height:512,format:"svg"},infoURL:"https://www.buildwithtoki.com",name:"Toki Testnet",nativeCurrency:{name:"Toki",symbol:"TOKI",decimals:18},networkId:8655,rpc:["https://8655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.buildwithtoki.com/v0/rpc"],shortName:"toki-testnet",slip44:1,slug:"toki-testnet",testnet:!0},V80={chain:"Hela",chainId:8668,explorers:[{name:"Hela Official Runtime Mainnet Explorer",url:"https://mainnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Mainnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:8668,rpc:["https://8668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.helachain.com"],shortName:"hela",slug:"hela-official-runtime",testnet:!1},$80={chain:"OLO",chainId:8723,explorers:[{name:"OLO Block Explorer",url:"https://www.olo.network",standard:"EIP3091"}],faucets:[],infoURL:"https://ibdt.io",name:"TOOL Global Mainnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8723,rpc:["https://8723.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-web3.wolot.io"],shortName:"olo",slip44:479,slug:"tool-global",testnet:!1},U80={chain:"OLO",chainId:8724,explorers:[],faucets:["https://testnet-explorer.wolot.io"],infoURL:"https://testnet-explorer.wolot.io",name:"TOOL Global Testnet",nativeCurrency:{name:"TOOL Global",symbol:"OLO",decimals:18},networkId:8724,rpc:["https://8724.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-web3.wolot.io"],shortName:"tolo",slip44:1,slug:"tool-global-testnet",testnet:!0},q80={chain:"Storagechain",chainId:8726,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Mainnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8726,rpc:["https://8726.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-validator.storagechain.io"],shortName:"stor",slug:"storagechain",testnet:!1},H80={chain:"Storagechain",chainId:8727,explorers:[{name:"Storscan",url:"https://explorer-storagechain.invo.zone/?network=StorageChain%20Testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfN9r1S7FvzkbjqfNMdUikhHmCw5e6UqsTuRD51S8T6Cq",width:512,height:512,format:"png"},infoURL:"https://storagechain.io/about-us",name:"Storagechain Testnet",nativeCurrency:{name:"Storagechain",symbol:"STOR",decimals:18},networkId:8727,rpc:["https://8727.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-validator.storagechain.io"],shortName:"tstor",slug:"storagechain-testnet",testnet:!0},z80={chain:"ALPH",chainId:8738,explorers:[{name:"alphscan",url:"https://explorer.alph.network",standard:"EIP3091"}],faucets:[],infoURL:"https://alph.network",name:"Alph Network",nativeCurrency:{name:"Alph Network",symbol:"ALPH",decimals:18},networkId:8738,rpc:["https://8738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alph.network","wss://rpc.alph.network"],shortName:"alph",slug:"alph-network",testnet:!1},W80={chain:"TMY",chainId:8768,explorers:[],faucets:["https://faucet.tmychain.org/"],icon:{url:"ipfs://Qmcd19ksUvNMD1XQFSC55jJhDPoF2zUzzV7woteFiugwBH",width:1024,height:1023,format:"svg"},infoURL:"https://tmychain.org/",name:"TMY Chain",nativeCurrency:{name:"TMY",symbol:"TMY",decimals:18},networkId:8768,rpc:["https://8768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.tmyblockchain.org/rpc"],shortName:"tmy",slug:"tmy-chain",testnet:!1},j80={chain:"IOTA EVM",chainId:8822,explorers:[{name:"explorer",url:"https://explorer.evm.iota.org",standard:"EIP3091",icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",width:720,height:720,format:"png"},infoURL:"https://www.iota.org",name:"IOTA EVM",nativeCurrency:{name:"IOTA",symbol:"IOTA",decimals:18},networkId:8822,rpc:["https://8822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.evm.iotaledger.net","https://ws.json-rpc.evm.iotaledger.net"],shortName:"iotaevm",slug:"iota-evm",testnet:!1,title:"IOTA EVM"},G80={chain:"HYDRA",chainId:8844,explorers:[{name:"Hydra Chain Testnet explorer",url:"https://hydragon.hydrachain.org",standard:"EIP3091",icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"}}],faucets:["https://app.testnet.hydrachain.org/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVxyUjuA8t9q3oWDgv8ExqaUXcRuDqiKrZAiLaBWHYcmG",width:722,height:813,format:"png"},infoURL:"https://hydrachain.org",name:"Hydra Chain Testnet",nativeCurrency:{name:"tHydra",symbol:"tHYDRA",decimals:18},networkId:8844,rpc:["https://8844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.hydrachain.org"],shortName:"THYDRA",slug:"hydra-chain-testnet",testnet:!0},K80={chain:"MARO Blockchain",chainId:8848,explorers:[{name:"MARO Scan",url:"https://scan.ma.ro/#",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreig47k53aipns6nu3u5fxpysp7mogzk6zyvatgpbam7yut3yvtuefa",width:160,height:160,format:"png"},infoURL:"https://ma.ro/",name:"MARO Blockchain Mainnet",nativeCurrency:{name:"MARO",symbol:"MARO",decimals:18},networkId:8848,rpc:["https://8848.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.ma.ro"],shortName:"maro",slug:"maro-blockchain",testnet:!1},Q80={chain:"SuperLumio",chainId:8866,explorers:[{name:"Lumio explorer",url:"https://explorer.lumio.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXiatdz5WBFypfsudoDsFnsLdiHzDwcD3pWcHwBovbPiZ",width:256,height:256,format:"png"},infoURL:"https://lumio.io/",name:"SuperLumio",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8866,rpc:["https://8866.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.lumio.io/"],shortName:"superlumio",slug:"superlumio",testnet:!1},Y80={chain:"lif3chain",chainId:8869,explorers:[{name:"lif3scout",url:"https://lif3scout.com",standard:"none"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQqNBEqNnNsaSV6rik6mM8VnaSgYFxfEkjkiXSwgmEgaH",width:200,height:200,format:"svg"},infoURL:"https://docs.lif3.com/",name:"Lif3 Chain",nativeCurrency:{name:"LIF3",symbol:"LIF3",decimals:18},networkId:8869,rpc:["https://8869.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lif3.com"],shortName:"lif3-mainnet",slug:"lif3-chain",testnet:!1},J80={chain:"UNQ",chainId:8880,explorers:[{name:"Unique Scan",url:"https://uniquescan.io/unique",standard:"none"}],faucets:[],icon:{url:"ipfs://QmbJ7CGZ2GxWMp7s6jy71UGzRsMe4w3KANKXDAExYWdaFR",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Unique",nativeCurrency:{name:"Unique",symbol:"UNQ",decimals:18},networkId:8880,rpc:["https://8880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unique.network","https://eu-rpc.unique.network","https://asia-rpc.unique.network","https://us-rpc.unique.network"],shortName:"unq",slug:"unique",testnet:!1},X80={chain:"UNQ",chainId:8881,explorers:[{name:"Unique Scan / Quartz",url:"https://uniquescan.io/quartz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmaGPdccULQEFcCGxzstnmE8THfac2kSiGwvWRAiaRq4dp",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Quartz by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8881,rpc:["https://8881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-quartz.unique.network","https://quartz.api.onfinality.io/public-ws","https://eu-rpc-quartz.unique.network","https://asia-rpc-quartz.unique.network","https://us-rpc-quartz.unique.network"],shortName:"qtz",slug:"quartz-by-unique",testnet:!1},Z80={chain:"UNQ",chainId:8882,explorers:[{name:"Unique Scan / Opal",url:"https://uniquescan.io/opal",standard:"none"}],faucets:["https://t.me/unique2faucet_opal_bot"],icon:{url:"ipfs://QmYJDpmWyjDa3H6BxweFmQXk4fU8b1GU7M9EqYcaUNvXzc",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Opal testnet by Unique",nativeCurrency:{name:"Opal",symbol:"UNQ",decimals:18},networkId:8882,rpc:["https://8882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-opal.unique.network","https://us-rpc-opal.unique.network","https://eu-rpc-opal.unique.network","https://asia-rpc-opal.unique.network"],shortName:"opl",slip44:1,slug:"opal-testnet-by-unique",testnet:!0},em0={chain:"UNQ",chainId:8883,explorers:[{name:"Unique Scan / Sapphire",url:"https://uniquescan.io/sapphire",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmd1PGt4cDRjFbh4ihP5QKEd4XQVwN1MkebYKdF56V74pf",width:48,height:48,format:"svg"},infoURL:"https://unique.network",name:"Sapphire by Unique",nativeCurrency:{name:"Quartz",symbol:"QTZ",decimals:18},networkId:8883,rpc:["https://8883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sapphire.unique.network","https://us-rpc-sapphire.unique.network","https://eu-rpc-sapphire.unique.network","https://asia-rpc-sapphire.unique.network"],shortName:"sph",slug:"sapphire-by-unique",testnet:!1},tm0={chain:"AVE",chainId:8886,explorers:[{name:"Avenium Explorer Testnet",url:"https://testnet.avescan.net",standard:"none",icon:{url:"ipfs://QmU5yJvjdeVGzNutn2U6wLWfHDGsDafLfZg7HRJ8ji3yfJ",width:500,height:500,format:"png"}}],faucets:["https://faucet-testnet.avenium.io"],icon:{url:"ipfs://QmU5yJvjdeVGzNutn2U6wLWfHDGsDafLfZg7HRJ8ji3yfJ",width:500,height:500,format:"png"},infoURL:"https://avenium.io",name:"Avenium Testnet",nativeCurrency:{name:"Ave Native Token",symbol:"tAVE",decimals:18},networkId:8886,rpc:["https://8886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eu-testnet.avenium.io/","https://connect-testnet.avenium.io"],shortName:"tave",slug:"avenium-testnet",status:"incubating",testnet:!0},nm0={chain:"XANAChain",chainId:8888,explorers:[{name:"XANAChain",url:"https://xanachain.xana.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWGNfwJ9o2vmKD3E6fjrxpbFP8W5q45zmYzHHoXwqqAoj",width:512,height:512,format:"png"},infoURL:"https://xanachain.xana.net/",name:"XANAChain",nativeCurrency:{name:"XETA",symbol:"XETA",decimals:18},networkId:8888,redFlags:["reusedChainId"],rpc:["https://8888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.xana.net/rpc"],shortName:"XANAChain",slug:"xanachain",testnet:!1},am0={chain:"VSC",chainId:8889,explorers:[],faucets:[],infoURL:"https://vsc-dataseed.vyvo.org",name:"Vyvo Smart Chain",nativeCurrency:{name:"VSC",symbol:"VSC",decimals:18},networkId:8889,rpc:["https://8889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vsc-dataseed.vyvo.org:8889"],shortName:"vsc",slug:"vyvo-smart-chain",testnet:!1},rm0={chain:"ORE",chainId:8890,explorers:[{name:"ORE Testnet Explorer",url:"https://testnet.oreniumscan.org",standard:"none",icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"}}],faucets:["https://faucetcoin.orenium.org"],icon:{url:"ipfs://QmXszYAtQxaFCG3s9vGHoLJnqxGJw2wTKNbruTJ8iDXU7K",width:200,height:200,format:"png"},infoURL:"https://orenium.org",name:"Orenium Testnet Protocol",nativeCurrency:{name:"ORENIUM",symbol:"tORE",decimals:18},networkId:8890,rpc:["https://8890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-dev-testnet.orenium.org/","https://rpc-testnet.orenium.org/","https://rpc-orc.oredex.finance","https://testnet-rpc.oredex.finance","https://oredex-node.oredex.finance"],shortName:"tore",slip44:1,slug:"orenium-testnet-protocol",testnet:!0},im0={chain:"MMT",chainId:8898,explorers:[{name:"mmtscan",url:"https://mmtscan.io",standard:"EIP3091",icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"}}],faucets:["https://faucet.mmtscan.io/"],icon:{url:"ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",width:250,height:250,format:"png"},infoURL:"https://mmtchain.io/",name:"Mammoth Mainnet",nativeCurrency:{name:"Mammoth Token",symbol:"MMT",decimals:18},networkId:8898,rpc:["https://8898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dataseed.mmtscan.io","https://dataseed1.mmtscan.io","https://dataseed2.mmtscan.io"],shortName:"mmt",slug:"mammoth",testnet:!1,title:"Mammoth Chain"},sm0={chain:"JBC",chainId:8899,explorers:[{name:"JIBCHAIN Explorer",url:"https://exp-l1.jibchain.net",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmWvTUSCcQ17mDiKg3w1X5nW3q4wZGuVsZ9vwzJ8S9oCns",width:200,height:200,format:"png"},infoURL:"https://jibchain.net",name:"JIBCHAIN L1",nativeCurrency:{name:"JIBCOIN",symbol:"JBC",decimals:18},networkId:8899,rpc:["https://8899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-l1.jibchain.net","https://jib-rpc.inan.in.th"],shortName:"jbc",slug:"jibchain-l1",testnet:!1},fm0={chain:"ALG",chainId:8911,explorers:[{name:"algscan",url:"https://scan.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8911,rpc:["https://8911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.algen.network"],shortName:"alg",slug:"algen",testnet:!1},om0={chain:"ALG",chainId:8912,explorers:[{name:"algscan",url:"https://scan.test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdSNGv2Atdaexawc4L3uAL7dL5aDREgWwPo2HNayQbpLm",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8912,rpc:["https://8912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.algen.network"],shortName:"algTest",slug:"algen-testnet",testnet:!0},cm0={chain:"ALG L2",chainId:8921,explorers:[{name:"algl2scan",url:"https://scan.alg2.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8921,parent:{type:"shard",chain:"eip155-8911"},rpc:["https://8921.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2.algen.network"],shortName:"algl2",slug:"algen-layer2",testnet:!1},dm0={chain:"ALG L2",chainId:8922,explorers:[{name:"algl2scan",url:"https://scan.alg2-test.algen.network",standard:"EIP3091",icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbLWspX1WryyfhiiuPpG5A7AGBJUvwdZtVPuzZoJyxS23",width:323,height:323,format:"png"},infoURL:"https://www.algen.network",name:"Algen Layer2 Testnet",nativeCurrency:{name:"ALG",symbol:"ALG",decimals:18},networkId:8922,parent:{type:"shard",chain:"eip155-8921"},rpc:["https://8922.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alg2-test.algen.network"],shortName:"algl2Test",slug:"algen-layer2-testnet",testnet:!0},lm0={chain:"GMMT",chainId:8989,explorers:[{name:"gmmtscan",url:"https://scan.gmmtchain.io",standard:"EIP3091",icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVth4aPeskDTFqRifUugJx6gyEHCmx2PFbMWUtsCSQFkF",width:468,height:518,format:"png"},infoURL:"https://gmmtchain.io/",name:"Giant Mammoth Mainnet",nativeCurrency:{name:"Giant Mammoth Coin",symbol:"GMMT",decimals:18},networkId:8989,rpc:["https://8989.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-asia.gmmtchain.io"],shortName:"gmmt",slug:"giant-mammoth",testnet:!1,title:"Giant Mammoth Chain"},pm0={chain:"bloxberg",chainId:8995,explorers:[],faucets:["https://faucet.bloxberg.org/"],infoURL:"https://bloxberg.org",name:"bloxberg",nativeCurrency:{name:"BERG",symbol:"U+25B3",decimals:18},networkId:8995,rpc:["https://8995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://core.bloxberg.org"],shortName:"berg",slug:"bloxberg",testnet:!1},um0={chain:"Evmos",chainId:9e3,explorers:[{name:"Evmos Explorer (Escan)",url:"https://testnet.escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:["https://faucet.evmos.dev"],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos Testnet",nativeCurrency:{name:"test-Evmos",symbol:"tEVMOS",decimals:18},networkId:9e3,rpc:["https://9000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos-testnet.lava.build","https://eth.bd.evmos.dev:8545","https://evmos-testnet-evm-rpc.publicnode.com","wss://evmos-testnet-evm-rpc.publicnode.com"],shortName:"evmos-testnet",slip44:1,slug:"evmos-testnet",testnet:!0},ym0={chain:"Evmos",chainId:9001,explorers:[{name:"Evmos Explorer (Escan)",url:"https://escan.live",standard:"none",icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeZW6VKUFTbz7PPW8PmDR3ZHa6osYPLBFPnW8T5LSU49c",width:400,height:400,format:"png"},infoURL:"https://evmos.org",name:"Evmos",nativeCurrency:{name:"Evmos",symbol:"EVMOS",decimals:18},networkId:9001,rpc:["https://9001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmos.lava.build","wss://evmos.lava.build/websocket","https://evmos-evm-rpc.publicnode.com","wss://evmos-evm-rpc.publicnode.com"],shortName:"evmos",slug:"evmos",testnet:!1},mm0={chain:"Shido Testnet",chainId:9007,explorers:[{name:"Shidoblock Testnet Explorer",url:"https://testnet.shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:["https://testnet.shidoscan.com/faucet"],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://www.nexablock.io",name:"Shido Testnet Block",nativeCurrency:{name:"Shido Testnet Token",symbol:"SHIDO",decimals:18},networkId:9007,rpc:["https://9007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.shidoscan.com","wss://wss-testnet-nodes.shidoscan.com"],shortName:"ShidoTestnet",slug:"shido-testnet-block",testnet:!0},bm0={chain:"Shido Mainnet",chainId:9008,explorers:[{name:"Shidoblock Mainnet Explorer",url:"https://shidoscan.com",standard:"none",icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiatrf5pp7ywvrwvsv4otrex73u6v6bvhorqkxiop2hy2i572zjrba",width:1080,height:1080,format:"png"},infoURL:"https://shido.io",name:"Shido Mainnet Block",nativeCurrency:{name:"Shido Mainnet Token",symbol:"SHIDO",decimals:18},networkId:9008,rpc:["https://9008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.shidoscan.com","wss://wss-nodes.shidoscan.com","https://rpc-delta-nodes.shidoscan.com","wss://wss-delta-nodes.shidoscan.com"],shortName:"Shido",slug:"shido-block",testnet:!1},hm0={chain:"BRB",chainId:9012,explorers:[{name:"berylbit-explorer",url:"https://explorer.berylbit.io",standard:"EIP3091"}],faucets:["https://t.me/BerylBit"],icon:{url:"ipfs://QmeDXHkpranzqGN1BmQqZSrFp4vGXf4JfaB5iq8WHHiwDi",width:162,height:162,format:"png"},infoURL:"https://www.beryl-bit.com",name:"BerylBit Mainnet",nativeCurrency:{name:"BerylBit Chain Native Token",symbol:"BRB",decimals:18},networkId:9012,rpc:["https://9012.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.berylbit.io"],shortName:"brb",slug:"berylbit",testnet:!1},gm0={chain:"Nexa Testnet",chainId:9024,explorers:[{name:"Nexablock Testnet Explorer",url:"https://testnet.nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:["https://testnet.nexablockscan.io/faucet"],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Testnet Block",nativeCurrency:{name:"Nexa Testnet Token",symbol:"NEXB",decimals:18},networkId:9024,rpc:["https://9024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet-nodes.nexablockscan.io"],shortName:"NexaTestnet",slug:"nexa-testnet-block",testnet:!0},vm0={chain:"Nexa Mainnet",chainId:9025,explorers:[{name:"Nexablock Mainnet Explorer",url:"https://nexablockscan.io",standard:"none",icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreib2t2lcaoh6iixrx4gjjvepws5tlsszfla5hb36b3mgyq7clve35y",width:192,height:192,format:"png"},infoURL:"https://www.nexablock.io",name:"Nexa Mainnet Block",nativeCurrency:{name:"Nexa Mainnet Token",symbol:"NEXB",decimals:18},networkId:9025,rpc:["https://9025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-nodes.nexablockscan.io","wss://wss-nodes.nexablockscan.io","https://rpc-nodes-delta.nexablockscan.io"],shortName:"Nexa",slug:"nexa-block",testnet:!1},Tm0={chain:"Genesis",chainId:9100,explorers:[],faucets:[],infoURL:"https://genesis-gn.com",name:"Genesis Coin",nativeCurrency:{name:"GN Coin",symbol:"GNC",decimals:18},networkId:9100,rpc:["https://9100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://genesis-gn.com","wss://genesis-gn.com"],shortName:"GENEC",slug:"genesis-coin",testnet:!1},_m0={chain:"FIRE",chainId:9170,explorers:[],faucets:["https://faucet.thefirechain.com"],icon:{url:"ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",width:512,height:512,format:"png"},infoURL:"https://thefirechain.com",name:"Rinia Testnet Old",nativeCurrency:{name:"Firechain",symbol:"FIRE",decimals:18},networkId:9170,rpc:[],shortName:"_old_tfire",slip44:1,slug:"rinia-testnet-old",status:"deprecated",testnet:!0},wm0={chain:"COF",chainId:9223,explorers:[{name:"Codefin Net Explorer",url:"https://explorer.codefin.pro",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVyAuAnKKNnGEpqeYMLPRfMdysLgPBTZeEXihXbRytGhp",width:1024,height:1024,format:"png"},infoURL:"https://network.codefin.pro",name:"Codefin Mainnet",nativeCurrency:{name:"Codefin",symbol:"COF",decimals:18},networkId:9223,rpc:["https://9223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.codefin.pro"],shortName:"COF",slug:"codefin",testnet:!1},xm0={chain:"Avalanche",chainId:9294,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TQO",decimals:18},networkId:9294,redFlags:[],rpc:["https://9294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet",testnet:!0},Im0={chain:"GNET",chainId:9302,explorers:[{name:"Galactica Reticulum explorer",url:"https://explorer-reticulum.galactica.com/",standard:"EIP3091",icon:{url:"ipfs://QmXJMnrSqYFJz7Y8CjVLKbAVQAxgHKWXVn3TXnJwjitDms",width:684,height:684,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmaTFSuXQXXZYsSGkqjCGPy6on41gPueaeCAMz9J32LHTS",width:942,height:942,format:"png"},name:"Galactica-Reticulum",nativeCurrency:{name:"GNET",symbol:"GNET",decimals:18},networkId:9302,redFlags:[],rpc:["https://9302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-http-reticulum.galactica.com/"],shortName:"GNET",slug:"galactica-reticulum",testnet:!0},Em0={chain:"DOGS",chainId:9339,explorers:[{name:"Dogcoin",url:"https://testnet.dogcoin.network",standard:"EIP3091"}],faucets:["https://faucet.dogcoin.network"],icon:{url:"ipfs://QmZCadkExKThak3msvszZjo6UnAbUJKE61dAcg4TixuMC3",width:160,height:171,format:"png"},infoURL:"https://dogcoin.network",name:"Dogcoin Testnet",nativeCurrency:{name:"Dogcoin",symbol:"DOGS",decimals:18},networkId:9339,rpc:["https://9339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dogcoin.me"],shortName:"DOGSt",slip44:1,slug:"dogcoin-testnet",testnet:!0},Dm0={chain:"OAS",chainId:9372,explorers:[{name:"blockscout",url:"https://explorer.testnet.oasys.games",standard:"EIP3091"},{name:"Oasys-Testnet explorer",url:"https://explorer.testnet.oasys.games/",standard:"EIP3091",icon:{url:"ipfs://QmVjT18MJ7S965w5oTce5D3KPbzfoGGaKaNDKJcfGfSNWm",width:733,height:733,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmVjT18MJ7S965w5oTce5D3KPbzfoGGaKaNDKJcfGfSNWm",width:733,height:733,format:"png"},infoURL:"https://oasys.games",name:"Oasys Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:9372,redFlags:[],rpc:["https://9372.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oasys.games"],shortName:"OAS",slug:"oasys-testnet",testnet:!0},Cm0={chain:"ETH",chainId:9393,explorers:[{name:"basescout",url:"https://sepolia-delascan.deperp.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZQbfJfxYez8iQyVsB65y7ZTssKbgUpMXzPTEk5xGDwQB",width:600,height:600,format:"png"},infoURL:"https://www.deperp.com/dela",name:"Dela Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:9393,rpc:["https://9393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-dela.deperp.com"],shortName:"delasep",slip44:1,slug:"dela-sepolia-testnet",testnet:!0},Sm0={chain:"MTHN",chainId:9395,explorers:[{name:"Evoke SmartChain Explorer",url:"https://explorer.evokescan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://explorer.evokescan.org",name:"Evoke Mainnet",nativeCurrency:{name:"MTHN",symbol:"MTHN",decimals:18},networkId:9395,rpc:["https://9395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.evokescan.org"],shortName:"MTHN",slug:"evoke",testnet:!1},Am0={chain:"WVM",chainId:9496,explorers:[{name:"WeaveVM Explorer",url:"https://explorer.wvm.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZrL43kuLcK14gQo1cVbzwczcVULxN6NKb4EcjYpFpE7w",width:500,height:500,format:"png"},infoURL:"https://wvm.dev",name:"WeaveVM Testnet",nativeCurrency:{name:"Testnet WeaveVM Token",symbol:"tWVM",decimals:18},networkId:9496,rpc:["https://9496.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.wvm.dev"],shortName:"twvm",slug:"weavevm-testnet",testnet:!0},km0={chain:"Rangers",chainId:9527,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"Rangers Protocol Testnet Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"tRPG",decimals:18},networkId:9527,rpc:["https://9527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin.rangersprotocol.com/api/jsonrpc"],shortName:"trpg",slip44:1,slug:"rangers-protocol-testnet-robin",testnet:!0},Pm0={chain:"QET",chainId:9528,explorers:[{name:"QEasyWeb3 Explorer",url:"https://www.qeasyweb3.com",standard:"EIP3091"}],faucets:["http://faucet.qeasyweb3.com"],infoURL:"https://www.qeasyweb3.com",name:"QEasyWeb3 Testnet",nativeCurrency:{name:"QET",symbol:"QET",decimals:18},networkId:9528,rpc:["https://9528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://qeasyweb3.com"],shortName:"QETTest",slip44:1,slug:"qeasyweb3-testnet",testnet:!0},Rm0={chain:"Avalanche",chainId:9543,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4523",nativeCurrency:{name:"QaUser4523 Token",symbol:"NBW",decimals:18},networkId:9543,redFlags:[],rpc:["https://9543.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4523",slug:"qauser4523",testnet:!0},Lm0={chain:"Neonlink",chainId:9559,explorers:[{name:"Neon Blockchain Explorer",url:"https://testnet-scan.neonlink.io",standard:"EIP3091",icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"}}],faucets:["https://faucet.neonlink.io/"],icon:{url:"ipfs://QmX3hBv8WyvVfYjh1gmgDfJCpJBvKk4TYG9wFX9sC8WAjz",width:512,height:512,format:"svg"},infoURL:"https://neonlink.io",name:"Neonlink Testnet",nativeCurrency:{name:"Neonlink Native Token",symbol:"tNEON",decimals:18},networkId:9559,rpc:["https://9559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonlink.io"],shortName:"testneon",slip44:1,slug:"neonlink-testnet",testnet:!0},Mm0={chain:"MainnetDev",chainId:9700,explorers:[{name:"Oort MainnetDev Scan",url:"https://dev-scan.oortech.com",standard:"none",icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",width:1440,height:1440,format:"png"},infoURL:"https://oortech.com",name:"Oort MainnetDev",nativeCurrency:{name:"Oort",symbol:"OORT",decimals:18},networkId:9700,rpc:["https://9700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-rpc.oortech.com"],shortName:"MainnetDev",slug:"oort-dev",testnet:!1,title:"Oort MainnetDev"},Bm0={chain:"Boba BNB Testnet",chainId:9728,explorers:[{name:"Boba BNB Testnet block explorer",url:"https://testnet.bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Testnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:9728,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://9728.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bnb.boba.network","wss://wss.testnet.bnb.boba.network","https://replica.testnet.bnb.boba.network","wss://replica-wss.testnet.bnb.boba.network","https://boba-bnb-testnet.gateway.tenderly.co","wss://boba-bnb-testnet.gateway.tenderly.co"],shortName:"BobaBnbTestnet",slip44:1,slug:"boba-bnb-testnet",testnet:!0},Nm0={chain:"NetZ",chainId:9768,explorers:[{name:"MainnetZ",url:"https://testnet.mainnetz.io",standard:"EIP3091"}],faucets:["https://faucet.mainnetz.io"],icon:{url:"ipfs://QmT5gJ5weBiLT3GoYuF5yRTRLdPLCVZ3tXznfqW7M8fxgG",width:400,height:400,format:"png"},infoURL:"https://testnet.mainnetz.io",name:"MainnetZ Testnet",nativeCurrency:{name:"MainnetZ",symbol:"NetZ",decimals:18},networkId:9768,rpc:["https://9768.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mainnetz.io"],shortName:"NetZt",slip44:1,slug:"z-testnet",testnet:!0},Fm0={chain:"PepeNetwork",chainId:9779,explorers:[{name:"Pepe Explorer",url:"https://explorer.pepenetwork.io",standard:"none",icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPX3uipdwd195z1MJff7uj8hpZdSuVvM5z47eiz2o7Gz5",width:960,height:944,format:"png"},infoURL:"https://pepenetwork.io",name:"PepeNetwork Mainnet",nativeCurrency:{name:"Pepe",symbol:"WPEPE",decimals:18},networkId:9779,rpc:["https://9779.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.pepenetwork.io"],shortName:"pn",slug:"pepenetwork",testnet:!1},Om0={chain:"ETH",chainId:9789,explorers:[{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com",standard:"none"},{name:"Tabi Testnet Explorer",url:"https://testnet.tabiscan.com/",standard:"EIP3091"}],faucets:["https://faucet.testnet.tabichain.com"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://www.tabichain.com",name:"Tabichain",nativeCurrency:{name:"TABI",symbol:"TABI",decimals:18},networkId:9789,redFlags:[],rpc:["https://9789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.tabichain.com"],shortName:"tabichain",slug:"tabichain",testnet:!0},Vm0={chain:"Carbon",chainId:9790,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9790,rpc:["https://9790.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-api.carbon.network/"],shortName:"carbon",slug:"carbon-evm",testnet:!1},$m0={chain:"Carbon",chainId:9792,explorers:[],faucets:[],icon:{url:"ipfs://QmQUHqi1gyuTuKmJQHqt9EyhN1FPmmmLNUK8u93nMGrxAy",width:1600,height:1600,format:"png"},infoURL:"https://carbon.network/",name:"Carbon EVM Testnet",nativeCurrency:{name:"swth",symbol:"SWTH",decimals:18},networkId:9792,rpc:["https://9792.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-evm-api.carbon.network/"],shortName:"carbon-testnet",slip44:1,slug:"carbon-evm-testnet",testnet:!0},Um0={chain:"OptimusZ7",chainId:9797,explorers:[{name:"OptimusZ7 Mainnet Explorer",url:"https://explorer.optimusz7.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Mainnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:9797,rpc:["https://9797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.optimusz7.com"],shortName:"OZ7m",slug:"optimusz7",testnet:!1},qm0={chain:"tIMP",chainId:9818,explorers:[{name:"IMPERIUM TESTNET Explorer",url:"https://network.impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM TESTNET",nativeCurrency:{name:"tIMP",symbol:"tIMP",decimals:18},networkId:9818,rpc:["https://9818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-testnet.imperiumchain.com","https://data-aws2-testnet.imperiumchain.com"],shortName:"tIMP",slip44:1,slug:"imperium-testnet",testnet:!0},Hm0={chain:"IMP",chainId:9819,explorers:[{name:"IMPERIUM Explorer",url:"https://impscan.com",standard:"none",icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"}}],faucets:["https://faucet.imperiumchain.com/"],icon:{url:"ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",width:200,height:200,format:"png"},infoURL:"https://imperiumchain.com",name:"IMPERIUM MAINNET",nativeCurrency:{name:"IMP",symbol:"IMP",decimals:18},networkId:9819,rpc:["https://9819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://data-aws-mainnet.imperiumchain.com","https://data-aws2-mainnet.imperiumchain.com"],shortName:"IMP",slug:"imperium",testnet:!1},zm0={chain:"Avalanche",chainId:9872,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0507 Testnet",nativeCurrency:{name:"QaUser0507 Testnet Token",symbol:"KQA",decimals:18},networkId:9872,redFlags:[],rpc:["https://9872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0507 Testnet",slug:"qauser0507-testnet",testnet:!0},Wm0={chain:"BinaryChain",chainId:9876,explorers:[{name:"BinaryChain Testnet Explorer",url:"https://explorer.testnet.binarychain.org",standard:"EIP3091"}],faucets:["https://faucet.testnet.binarychain.org"],icon:{url:"ipfs://bafybeifb4vnpn3jv7cfdlne2dwhe6agdnpgmu46a7nbc5divjuyaznkyay",width:2e3,height:2e3,format:"png"},infoURL:"https://binarychain.org",name:"BinaryChain Testnet",nativeCurrency:{name:"BINARY",symbol:"BNRY",decimals:18},networkId:9876,rpc:["https://9876.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctestnet.binarychain.org"],shortName:"binarytestnet",slug:"binarychain-testnet",testnet:!0},jm0={chain:"Dogelayer",chainId:9888,explorers:[{name:"Dogelayer mainnet explorer",url:"https://dl-explorer.dogelayer.org",standard:"EIP3091"}],faucets:[],infoURL:"https://dogelayer.org",name:"Dogelayer Mainnet",nativeCurrency:{name:"Dogecoin",symbol:"DOGE",decimals:18},networkId:9888,rpc:["https://9888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dl-rpc.dogelayer.org"],shortName:"Dogelayer",slug:"dogelayer",testnet:!1},Gm0={chain:"Larissa",chainId:9898,explorers:[{name:"Larissa Scan",url:"https://scan.larissa.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZTWoZ3LvivSinaJ4aSwqU8pCXw8oSZNnUCh4wwXxtAoQ",width:500,height:500,format:"png"},infoURL:"https://larissa.network",name:"Larissa Chain",nativeCurrency:{name:"Larissa",symbol:"LRS",decimals:18},networkId:1,rpc:["https://9898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.larissa.network"],shortName:"lrs",slip44:9898,slug:"larissa-chain",status:"active",testnet:!1,title:"Larissa Chain"},Km0={chain:"SPENT",chainId:9911,explorers:[{name:"escscan",url:"https://escscan.com",standard:"EIP3091",icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmVvQdmAj6GNQjP1dsxQKbA7xgzqsciooGTQtQ2RsJ37Lf",width:335,height:335,format:"svg"},infoURL:"https://espento.network",name:"Espento Mainnet",nativeCurrency:{name:"ESPENTO",symbol:"SPENT",decimals:18},networkId:9911,rpc:["https://9911.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.escscan.com/"],shortName:"spent",slug:"espento",testnet:!1},Qm0={chain:"tMIND",chainId:9977,explorers:[{name:"Mind Chain explorer",url:"https://testnet.mindscan.info",standard:"EIP3091"}],faucets:["https://faucet.mindchain.info/"],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Testnet",nativeCurrency:{name:"MIND Coin",symbol:"tMIND",decimals:18},networkId:9977,rpc:["https://9977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-msc.mindchain.info/","wss://testnet-msc.mindchain.info/ws"],shortName:"tMIND",slip44:1,slug:"mind-smart-chain-testnet",testnet:!0},Ym0={chain:"Combo",chainId:9980,explorers:[{name:"combotrace explorer",url:"https://combotrace.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Mainnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"BNB",decimals:18},networkId:9980,rpc:["https://9980.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.combonetwork.io"],shortName:"combo-mainnet",slug:"combo",testnet:!1},Jm0={chain:"Avalanche",chainId:9981,explorers:[{name:"Volley Mainnet Explorer",url:"https://volleyscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4131",nativeCurrency:{name:"QaUser4131 Token",symbol:"SGT",decimals:18},networkId:9981,redFlags:[],rpc:["https://9981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://main-rpc.volleychain.com"],shortName:"QaUser4131",slug:"qauser4131",testnet:!0},Xm0={chain:"Agung",chainId:9990,explorers:[{name:"Polkadot.js",url:"https://polkadot.js.org/apps/?rpc=wss://wsspc1-qa.agung.peaq.network#/explorer",standard:"none"},{name:"Subscan",url:"https://agung.subscan.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreibkqdof3ztkdhgukwvkacwgrjb27e23hgz5c6mmudzu5hipyvgisa",width:256,height:256,format:"png"},infoURL:"https://www.peaq.network",name:"Agung Network",nativeCurrency:{name:"Agung",symbol:"AGNG",decimals:18},networkId:9990,rpc:["https://9990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcpc1-qa.agung.peaq.network"],shortName:"AGNG",slug:"agung-network",testnet:!1},Zm0={chain:"MIND",chainId:9996,explorers:[{name:"Mind Chain explorer",url:"https://mainnet.mindscan.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmX2b4CzNyrNgy4ERBEteSS9MsuYNVYeq2sSMMiogGjbFP",width:732,height:732,format:"jpg"},infoURL:"https://mindchain.info",name:"Mind Smart Chain Mainnet",nativeCurrency:{name:"MIND Coin",symbol:"MIND",decimals:18},networkId:9996,rpc:["https://9996.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-msc.mindchain.info/","https://seednode.mindchain.info","https://archive.mindchain.info/","wss://archive.mindchain.info/ws","wss://seednode.mindchain.info/ws"],shortName:"MIND",slug:"mind-smart-chain",testnet:!1},e30={chain:"ETH",chainId:9997,explorers:[{name:"blockscout",url:"https://testnet-rollup-explorer.altlayer.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:9997,rpc:["https://9997.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rollup-api.altlayer.io"],shortName:"alt-testnet",slip44:1,slug:"altlayer-testnet",testnet:!0},t30={chain:"ZTC",chainId:9998,explorers:[],faucets:[],infoURL:"https://ztc.best",name:"Ztc Mainnet",nativeCurrency:{name:"Ztcer",symbol:"ZTC",decimals:5},networkId:9998,rpc:["https://9998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zitcoin.us"],shortName:"ZTC",slug:"ztc",testnet:!1},n30={chain:"myOwn",chainId:9999,explorers:[],faucets:[],infoURL:"https://docs.bccloud.net/",name:"myOwn Testnet",nativeCurrency:{name:"MYN",symbol:"MYN",decimals:18},networkId:9999,rpc:["https://9999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.dev.bccloud.net"],shortName:"myn",slip44:1,slug:"myown-testnet",testnet:!0},a30={chain:"smartBCH",chainId:1e4,explorers:[],faucets:[],infoURL:"https://smartbch.org/",name:"Smart Bitcoin Cash",nativeCurrency:{name:"Bitcoin Cash",symbol:"BCH",decimals:18},networkId:1e4,rpc:["https://10000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smartbch.greyh.at","https://rpc-mainnet.smartbch.org","https://smartbch.fountainhead.cash/mainnet","https://smartbch.devops.cash/mainnet"],shortName:"smartbch",slug:"smart-bitcoin-cash",testnet:!1},r30={chain:"smartBCHTest",chainId:10001,explorers:[],faucets:[],infoURL:"http://smartbch.org/",name:"Smart Bitcoin Cash Testnet",nativeCurrency:{name:"Bitcoin Cash Test Token",symbol:"BCHT",decimals:18},networkId:10001,rpc:["https://10001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.smartbch.org","https://smartbch.devops.cash/testnet"],shortName:"smartbchtest",slip44:1,slug:"smart-bitcoin-cash-testnet",testnet:!0},i30={chain:"GonChain",chainId:10024,explorers:[{name:"Gon Explorer",url:"https://gonscan.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPtiJGaApbW3ATZhPW3pKJpw3iGVrRGsZLWhrDKF9ZK18",width:1024,height:1024,format:"png"},name:"Gon Chain",nativeCurrency:{name:"Gon Token",symbol:"GT",decimals:18},networkId:10024,rpc:["https://10024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.testnet.gaiaopen.network","https://node1.mainnet.gon.network","https://node2.mainnet.gon.network","https://node3.mainnet.gon.network","https://node4.mainnet.gon.network"],shortName:"gon",slug:"gon-chain",testnet:!0},s30={chain:"Avalanche",chainId:10036,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Mainnet",nativeCurrency:{name:"Innovo Markets Mainnet Token",symbol:"INN",decimals:18},networkId:10036,redFlags:[],rpc:["https://10036.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovo/mainnet/rpc"],shortName:"Innovo Markets Mainnet",slug:"innovo-markets",testnet:!1},f30={chain:"Avalanche",chainId:10050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0327S1D Testnet",nativeCurrency:{name:"QR0327S1D Testnet Token",symbol:"WZL",decimals:18},networkId:10050,redFlags:[],rpc:["https://10050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0327s1dt/testnet/rpc"],shortName:"QR0327S1D Testnet",slug:"qr0327s1d-testnet",testnet:!0},o30={chain:"JOCT",chainId:10081,explorers:[{name:"Testnet Block Explorer",url:"https://explorer.testnet.japanopenchain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.japanopenchain.org/",name:"Japan Open Chain Testnet",nativeCurrency:{name:"Japan Open Chain Testnet Token",symbol:"JOCT",decimals:18},networkId:10081,rpc:["https://10081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.testnet.japanopenchain.org:8545","https://rpc-2.testnet.japanopenchain.org:8545"],shortName:"joct",slip44:1,slug:"japan-open-chain-testnet",testnet:!0},c30={chain:"ETH",chainId:10086,explorers:[],faucets:[],infoURL:"https://sjis.me",name:"SJATSH",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:10086,rpc:["https://10086.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://geth.free.idcfengye.com"],shortName:"SJ",slug:"sjatsh",testnet:!1},d30={chain:"MNV",chainId:10096,explorers:[{name:"Blockscout",url:"https://explorer.blockxnet.com",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://www.blockxnet.com/",name:"MetaNova Verse",nativeCurrency:{name:"MNV",symbol:"MNV",decimals:18},networkId:10096,rpc:["https://10096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://web3.metanovaverse.com"],shortName:"mnv",slug:"metanova-verse",testnet:!1},l30={chain:"GEN",chainId:10101,explorers:[],faucets:[],infoURL:"https://www.xixoio.com/",name:"Blockchain Genesis Mainnet",nativeCurrency:{name:"GEN",symbol:"GEN",decimals:18},networkId:10101,rpc:["https://10101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eu.mainnet.xixoio.com","https://us.mainnet.xixoio.com","https://asia.mainnet.xixoio.com"],shortName:"GEN",slug:"blockchain-genesis",testnet:!1},p30={chain:"Avalanche",chainId:10154,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405023 Interop",nativeCurrency:{name:"QIM2405023 Interop Token",symbol:"UZP",decimals:18},networkId:10154,redFlags:[],rpc:["https://10154.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405023 Interop",slug:"qim2405023-interop",testnet:!0},u30={chain:"GNO",chainId:10200,explorers:[{name:"blockscout",url:"https://gnosis-chiado.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://gnosisfaucet.com"],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Gnosis Chiado Testnet",nativeCurrency:{name:"Chiado xDAI",symbol:"XDAI",decimals:18},networkId:10200,rpc:["https://10200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chiadochain.net","https://rpc.chiado.gnosis.gateway.fm","wss://rpc.chiadochain.net/wss","https://gnosis-chiado-rpc.publicnode.com","wss://gnosis-chiado-rpc.publicnode.com","https://gnosis-chiado.drpc.org","wss://gnosis-chiado.drpc.org"],shortName:"chi",slip44:1,slug:"gnosis-chiado-testnet",testnet:!0},y30={chain:"MaxxChain",chainId:10201,explorers:[{name:"MaxxChain Block Explorer",url:"https://explorer.maxxchain.org",standard:"EIP3091"}],faucets:["https://faucet.maxxchain.org"],icon:{url:"ipfs://QmRhQG9TZrXDdbQeTzBmjg3pqgwaD5TKVZj8k4kaz8AoZx",width:1021,height:1021,format:"png"},infoURL:"https://www.maxxchain.org/",name:"MaxxChain Mainnet",nativeCurrency:{name:"Power",symbol:"PWR",decimals:18},networkId:10201,rpc:["https://10201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maxxchain.org","https://rpc1.maxxchain.org","https://rpc2.maxxchain.org"],shortName:"PWR",slug:"maxxchain",testnet:!1},m30={chain:"GLC",chainId:10222,explorers:[{name:"GLScan Explorer",url:"https://glscan.io",standard:"none",icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTw21p6UfXVH2BCU81G2Ck28ecoknz4v9mC35fF8Z987i",width:512,height:557,format:"png"},infoURL:"https://glscan.io/",name:"GLScan",nativeCurrency:{name:"GLC",symbol:"GLC",decimals:18},networkId:10222,rpc:["https://10222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://glc-dataseed.glscan.io/"],shortName:"glc",slip44:1,slug:"glscan",testnet:!1},b30={chain:"AA",chainId:10242,explorers:[{name:"blockscout",url:"https://explorer.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net/build/developing-sc/using-hardhat",name:"Arthera Mainnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10242,rpc:["https://10242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arthera.net"],shortName:"aa",slip44:10242,slug:"arthera",testnet:!1},h30={chain:"AA",chainId:10243,explorers:[{name:"blockscout",url:"https://explorer-test.arthera.net",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.arthera.net"],icon:{url:"ipfs://QmYQp3e52KjkT4bYdAvB6ACEEpXs2D8DozsDitaADRY2Ak",width:1024,height:998,format:"png"},infoURL:"https://docs.arthera.net",name:"Arthera Testnet",nativeCurrency:{name:"Arthera",symbol:"AA",decimals:18},networkId:10243,rpc:["https://10243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.arthera.net"],shortName:"aat",slip44:1,slug:"arthera-testnet",testnet:!0},g30={chain:"0XTade Chain",chainId:10248,explorers:[{name:"0xtrade Scan",url:"https://www.0xtscan.com",standard:"none"}],faucets:[],infoURL:"https://www.0xtrade.finance/",name:"0XTade",nativeCurrency:{name:"0XT",symbol:"0XT",decimals:18},networkId:10248,rpc:["https://10248.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.0xtchain.com"],shortName:"0xt",slug:"0xtade",testnet:!1},v30={chain:"Avalanche",chainId:10255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Coqnet Testnet",nativeCurrency:{name:"Coqnet Testnet Token",symbol:"COQ",decimals:18},networkId:10255,redFlags:[],rpc:["https://10255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/coqnet/testnet/rpc"],shortName:"Coqnet Testnet",slug:"coqnet-testnet",testnet:!0},T30={chain:"TAO EVM",chainId:10321,explorers:[{name:"TAO Mainnet Explorer",url:"https://taoscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Mainnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10321,rpc:["https://10321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.taoevm.io"],shortName:"TAOm",slug:"tao-evm",testnet:!1},_30={chain:"TAO EVM",chainId:10324,explorers:[{name:"TAO Testnet Explorer",url:"https://testnet.taoscan.org",standard:"EIP3091"}],faucets:["https://faucet.taoevm.io"],icon:{url:"ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",width:256,height:234,format:"png"},infoURL:"https://taoevm.io",name:"TAO EVM Testnet",nativeCurrency:{name:"TAO",symbol:"TAO",decimals:18},networkId:10324,rpc:["https://10324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.taoevm.io"],shortName:"TAOt",slug:"tao-evm-testnet",testnet:!0},w30={chain:"Worldland",chainId:10395,explorers:[{name:"Worldland Explorer",url:"https://testscan.worldland.foundation",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYZNTfK3byhgLsTjXP8vPubVHRz2CWsBrTJxZrQmKq6JZ",width:3509,height:2482,format:"png"},infoURL:"https://worldland.foundation",name:"WorldLand Testnet",nativeCurrency:{name:"Worldland",symbol:"WLC",decimals:18},networkId:10395,rpc:["https://10395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gwangju.worldland.foundation"],shortName:"TWLC",slip44:1,slug:"worldland-testnet",testnet:!0},x30={chain:"NUM",chainId:10507,explorers:[{name:"ethernal",url:"https://mainnet.num.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Mainnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10507,rpc:["https://10507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnetrpc.num.network"],shortName:"Jade",slug:"numbers",testnet:!1},I30={chain:"NUM",chainId:10508,explorers:[{name:"ethernal",url:"https://testnet.num.network",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=num","https://faucet.num.network"],icon:{url:"ipfs://bafkreie3ba6ofosjqqiya6empkyw6u5xdrtcfzi2evvyt4u6utzeiezyhi",width:1500,height:1500,format:"png"},infoURL:"https://numbersprotocol.io",name:"Numbers Testnet",nativeCurrency:{name:"NUM Token",symbol:"NUM",decimals:18},networkId:10508,rpc:["https://10508.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnetrpc.num.network"],shortName:"Snow",slip44:1,slug:"numbers-testnet",testnet:!0},E30={chain:"Avalanche",chainId:10671,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 12131",nativeCurrency:{name:"QI M 12131 Token",symbol:"XVL",decimals:18},networkId:10671,redFlags:[],rpc:["https://10671.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"QI M 12131",slug:"qi-m-12131",testnet:!0},D30={chain:"CCP",chainId:10823,explorers:[{name:"CCP Explorer",url:"https://cryptocoinpay.info",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPw1ixYYeXvTiRWoCt2jWe4YMd3B5o7TzL18SBEHXvhXX",width:200,height:200,format:"png"},infoURL:"https://www.cryptocoinpay.co",name:"CryptoCoinPay",nativeCurrency:{name:"CryptoCoinPay",symbol:"CCP",decimals:18},networkId:10823,rpc:["https://10823.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node106.cryptocoinpay.info:8545","ws://node106.cryptocoinpay.info:8546"],shortName:"CCP",slug:"cryptocoinpay",testnet:!1},C30={chain:"Avalanche",chainId:10849,explorers:[{name:"Lamina1 Explorer",url:"https://subnets.avax.network/lamina1",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1",nativeCurrency:{name:"Lamina1 Token",symbol:"L",decimals:18},networkId:10849,redFlags:[],rpc:["https://10849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1/mainnet/rpc"],shortName:"Lamina1",slip44:1,slug:"lamina1",testnet:!1},S30={chain:"Avalanche",chainId:10850,explorers:[{name:"Lamina1 Identity Explorer",url:"https://subnets.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity",nativeCurrency:{name:"Lamina1 Identity Token",symbol:"LID",decimals:18},networkId:10850,redFlags:[],rpc:["https://10850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/mainnet/rpc"],shortName:"Lamina1 Identity",slip44:1,slug:"lamina1-identity",testnet:!1},A30={chain:"QDC",chainId:10946,explorers:[{name:"explorer",url:"https://explorer.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain",nativeCurrency:{name:"Quadrans Coin",symbol:"QDC",decimals:18},networkId:10946,rpc:["https://10946.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quadrans.io","https://rpcna.quadrans.io","https://rpceu.quadrans.io"],shortName:"quadrans",slug:"quadrans-blockchain",testnet:!1},k30={chain:"tQDC",chainId:10947,explorers:[{name:"explorer",url:"https://explorer.testnet.quadrans.io",standard:"EIP3091",icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"}}],faucets:["https://faucetpage.quadrans.io"],icon:{url:"ipfs://QmZFiYHnE4TrezPz8wSap9nMxG6m98w4fv7ataj2TfLNck",width:1024,height:1024,format:"png"},infoURL:"https://quadrans.io",name:"Quadrans Blockchain Testnet",nativeCurrency:{name:"Quadrans Testnet Coin",symbol:"tQDC",decimals:18},networkId:10947,rpc:["https://10947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.quadrans.io","https://rpctest2.quadrans.io"],shortName:"quadranstestnet",slip44:1,slug:"quadrans-blockchain-testnet",testnet:!0},P30={chain:"Astra",chainId:11110,explorers:[{name:"Astra EVM Explorer (Blockscout)",url:"https://explorer.astranaut.io",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.io/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra",nativeCurrency:{name:"Astra",symbol:"ASA",decimals:18},networkId:11110,rpc:["https://11110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.io","https://rpc1.astranaut.io"],shortName:"astra",slug:"astra",testnet:!1},R30={chain:"WAGMI",chainId:11111,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/wagmi",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=wagmi"],icon:{url:"ipfs://QmNoyUXxnak8B3xgFxErkVfyVEPJUMHBzq7qJcYzkUrPR4",width:1920,height:1920,format:"png"},infoURL:"https://subnets-test.avax.network/wagmi/details",name:"WAGMI",nativeCurrency:{name:"WAGMI",symbol:"WGM",decimals:18},networkId:11111,rpc:["https://11111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc"],shortName:"WAGMI",slug:"wagmi",testnet:!0},L30={chain:"Astra",chainId:11115,explorers:[{name:"Astra EVM Explorer",url:"https://explorer.astranaut.dev",standard:"EIP3091",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}},{name:"Astra PingPub Explorer",url:"https://ping.astranaut.dev/astra",standard:"none",icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"}}],faucets:["https://faucet.astranaut.dev"],icon:{url:"ipfs://QmaBtaukPNNUNjdJSUAwuFFQMLbZX1Pc3fvXKTKQcds7Kf",width:104,height:80,format:"png"},infoURL:"https://astranaut.io",name:"Astra Testnet",nativeCurrency:{name:"test-Astra",symbol:"tASA",decimals:18},networkId:11115,rpc:["https://11115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.astranaut.dev"],shortName:"astra-testnet",slip44:1,slug:"astra-testnet",testnet:!0},M30={chain:"HBIT",chainId:11119,explorers:[{name:"hashbitscan",url:"https://explorer.hashbit.org",standard:"EIP3091"}],faucets:[],infoURL:"https://hashbit.org",name:"HashBit Mainnet",nativeCurrency:{name:"HashBit Native Token",symbol:"HBIT",decimals:18},networkId:11119,rpc:["https://11119.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hashbit.org","https://rpc.hashbit.org"],shortName:"hbit",slug:"hashbit",testnet:!1},B30={chain:"Avalanche",chainId:11198,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I2 Testnet",nativeCurrency:{name:"QI0304I2 Testnet Token",symbol:"LOD",decimals:18},networkId:11198,redFlags:[],rpc:["https://11198.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I2 Testnet",slug:"qi0304i2-testnet",testnet:!0},N30={chain:"SC20",chainId:11221,explorers:[{name:"shinescan",url:"https://shinescan.io",standard:"none",icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"}}],faucets:[],icon:{url:"ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",width:161,height:161,format:"png"},infoURL:"https://shinechain.tech",name:"Shine Chain",nativeCurrency:{name:"Shine",symbol:"SC20",decimals:18},networkId:11221,rpc:["https://11221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinescan.io"],shortName:"SC20",slug:"shine-chain",testnet:!1},F30={chain:"Avalanche",chainId:11227,explorers:[{name:"JIRITSUTES Explorer",url:"https://subnets-test.avax.network/jiritsutes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jiritsu Testnet",nativeCurrency:{name:"Jiritsu Testnet Token",symbol:"TZW",decimals:18},networkId:11227,redFlags:[],rpc:["https://11227.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jiritsutes/testnet/rpc"],shortName:"Jiritsu Testnet",slug:"jiritsu-testnet",testnet:!0},O30={chain:"Haqq",chainId:11235,explorers:[{name:"Mainnet HAQQ Explorer",url:"https://explorer.haqq.network",standard:"EIP3091"}],faucets:[],infoURL:"https://islamiccoin.net",name:"Haqq Network",nativeCurrency:{name:"Islamic Coin",symbol:"ISLM",decimals:18},networkId:11235,rpc:["https://11235.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.haqq.network","https://haqq-evm-rpc.publicnode.com","wss://haqq-evm-rpc.publicnode.com","https://haqq.drpc.org","wss://haqq.drpc.org"],shortName:"ISLM",slug:"haqq-network",testnet:!1},V30={chain:"SHYFTT",chainId:11437,explorers:[{name:"Shyft Testnet BX",url:"https://bx.testnet.shyft.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi",width:400,height:400,format:"svg"},infoURL:"https://shyft.network",name:"Shyft Testnet",nativeCurrency:{name:"Shyft Test Token",symbol:"SHYFTT",decimals:18},networkId:11437,rpc:[],shortName:"shyftt",slip44:1,slug:"shyft-testnet",testnet:!0},$30={chain:"BEVM",chainId:11501,explorers:[{name:"bevm mainnet scan",url:"https://scan-mainnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11501,rpc:["https://11501.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet-1.bevm.io/","https://rpc-mainnet-2.bevm.io/"],shortName:"bevm",slug:"bevm",testnet:!1},U30={chain:"BEVM",chainId:11503,explorers:[{name:"bevm testnet scan",url:"https://scan-testnet.bevm.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmfMXiYn4xF9JwdjaqM5YKhqoByox51XvnL68VvKJS6yyu",width:1e3,height:1e3,format:"png"},infoURL:"https://bevm.io",name:"BEVM Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:11503,rpc:["https://11503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bevm.io/"],shortName:"bevm-test",slug:"bevm-testnet",testnet:!0},q30={chain:"Avalanche",chainId:11516,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tenzro",nativeCurrency:{name:"Tenzro Token",symbol:"TNZO",decimals:18},networkId:11516,redFlags:[],rpc:["https://11516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tenzro/testnet/rpc"],shortName:"Tenzro",slug:"tenzro",testnet:!0},H30={chain:"SRDX",chainId:11612,explorers:[{name:"Sardis",url:"https://testnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Testnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:11612,rpc:["https://11612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.sardisnetwork.com"],shortName:"SRDXt",slip44:1,slug:"sardis-testnet",testnet:!0},z30={chain:"Avalanche",chainId:11625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 202402121",nativeCurrency:{name:"QI M 202402121 Token",symbol:"CYB",decimals:18},networkId:11625,redFlags:[],rpc:["https://11625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 202402121",slug:"qi-m-202402121",testnet:!0},W30={chain:"Artela",chainId:11822,explorers:[{name:"ArtelaScan",url:"https://betanet-scan.artela.network",standard:"EIP3091"}],faucets:[],infoURL:"https://artela.network/",name:"Artela Testnet",nativeCurrency:{name:"ART",symbol:"ART",decimals:18},networkId:11822,rpc:["https://11822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://betanet-rpc1.artela.network"],shortName:"Artela",slug:"artela-testnet",testnet:!0},j30={chain:"Avalanche",chainId:11881,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2353 Testnet",nativeCurrency:{name:"QaUser2353 Testnet Token",symbol:"ODB",decimals:18},networkId:11881,redFlags:[],rpc:["https://11881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2353 Testnet",slug:"qauser2353-testnet",testnet:!0},G30={chain:"Santiment Intelligence Network DEPRECATED",chainId:11888,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network DEPRECATED",nativeCurrency:{name:"SANold",symbol:"SANold",decimals:18},networkId:11888,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://11888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sanrchain-node.santiment.net"],shortName:"SANold",slug:"santiment-intelligence-network-deprecated",status:"deprecated",testnet:!1},K30={chain:"Arianee",chainId:11891,explorers:[{name:"Polygon Supernet Arianee Explorer",url:"https://polygonsupernet.explorer.arianee.net",standard:"EIP3091"}],faucets:[],infoURL:"https://arianee.org",name:"Polygon Supernet Arianee",nativeCurrency:{name:"Arianee",symbol:"ARIA20",decimals:18},networkId:11891,parent:{type:"L2",chain:"eip155-1"},rpc:["https://11891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygonsupernet.public.arianee.net"],shortName:"Arianee",slug:"polygon-supernet-arianee",testnet:!1},Q30={chain:"Avalanche",chainId:12001,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mikias's Testnet",nativeCurrency:{name:"Mikias's Testnet Token",symbol:"XVL",decimals:18},networkId:12001,redFlags:[],rpc:["https://12001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/c3c8cc74-5101-4380-937f-4f534cad0128"],shortName:"Mikias's Testnet",slug:"mikias-s-testnet",testnet:!0},Y30={chain:"SATS",chainId:12009,explorers:[{name:"SatoshiChain Explorer",url:"https://satoshiscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRegpZQBW4o1imYNsW3d27MQjygBSU23Gf6JKje26nvs7",width:1251,height:1251,format:"png"},infoURL:"https://satoshichain.net",name:"SatoshiChain Mainnet",nativeCurrency:{name:"SatoshiChain Coin",symbol:"SATS",decimals:18},networkId:12009,rpc:["https://12009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.satoshichain.io"],shortName:"sats",slug:"satoshichain",testnet:!1},J30={chain:"Aternos",chainId:12020,explorers:[{name:"blockscout",url:"https://explorer.aternoschain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://faucet.aternoschain.com"],icon:{url:"ipfs://QmUgfhv3rEsS6t9g6Lsf3TJ1mbnJqBrb8YUFPDiNG59QvT",width:1e3,height:1e3,format:"png"},infoURL:"https://aternoschain.com",name:"Aternos",nativeCurrency:{name:"Aternos",symbol:"ATR",decimals:18},networkId:12020,rpc:["https://12020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.aternoschain.com"],shortName:"ATR",slug:"aternos",testnet:!1},X30={chain:"Avalanche",chainId:12035,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11272",nativeCurrency:{name:"QI M 11272 Token",symbol:"JZW",decimals:18},networkId:12035,redFlags:[],rpc:["https://12035.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 11272",slug:"qi-m-11272",testnet:!0},Z30={chain:"ZERO",chainId:12051,explorers:[{name:"zeroscan",url:"https://betaenv.singularity.gold:18002",standard:"EIP3091"}],faucets:["https://nft.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Testnet",nativeCurrency:{name:"ZERO",symbol:"tZERO",decimals:18},networkId:12051,rpc:["https://12051.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://betaenv.singularity.gold:18545"],shortName:"tZERO",slip44:1,slug:"singularity-zero-testnet",testnet:!0},e40={chain:"ZERO",chainId:12052,explorers:[{name:"zeroscan",url:"https://zeroscan.singularity.gold",standard:"EIP3091"}],faucets:["https://zeroscan.singularity.gold"],infoURL:"https://www.singularity.gold",name:"Singularity ZERO Mainnet",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:12052,rpc:["https://12052.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zerorpc.singularity.gold"],shortName:"ZERO",slip44:621,slug:"singularity-zero",testnet:!1},t40={chain:"Avalanche",chainId:12065,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405061 WITH INTEROPERABILITY",nativeCurrency:{name:"QIM2405061 WITH INTEROPERABILITY Token",symbol:"BLY",decimals:18},networkId:12065,redFlags:[],rpc:["https://12065.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405061 WITH INTEROPERABILITY",slug:"qim2405061-with-interoperability",testnet:!0},n40={chain:"BRC",chainId:12123,explorers:[{name:"BRC Chain Explorer",url:"https://scan.brcchain.io",standard:"EIP3091"}],faucets:["https://faucet.brcchain.io"],icon:{url:"ipfs://QmX8qGX7xoZqYUpHxA85uZwQX2fgbTHvmddE1NfseDyBED",width:512,height:512,format:"png"},infoURL:"https://bridge.brcchain.io",name:"BRC Chain Mainnet",nativeCurrency:{name:"BRC Chain mainnet native token",symbol:"BRC",decimals:18},networkId:12123,rpc:["https://12123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brcchain.io"],shortName:"BRC",slug:"brc-chain",testnet:!1},a40={chain:"FIBO",chainId:12306,explorers:[{name:"fiboscan",url:"https://scan.fibochain.org",standard:"EIP3091"}],faucets:["https://test.fibochain.org/faucets"],icon:{url:"ipfs://bafkreidiedaz3jugxmh2ylzlc4nympbd5iwab33adhwkcnblyop6vvj25y",width:1494,height:1494,format:"png"},infoURL:"https://fibochain.org",name:"Fibonacci Mainnet",nativeCurrency:{name:"FIBONACCI UTILITY TOKEN",symbol:"FIBO",decimals:18},networkId:1230,rpc:["https://12306.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.fibo-api.asia","https://node2.fibo-api.asia","https://node3.fibo-api.asia","https://node4.fibo-api.asia","https://node5.fibo-api.asia","https://node6.fibo-api.asia","https://node7.fibo-api.asia","https://node1.fibo-rpc.asia","https://node2.fibo-rpc.asia","https://node3.fibo-rpc.asia","https://node4.fibo-rpc.asia","https://node5.fibo-rpc.asia","https://node6.fibo-rpc.asia","https://node7.fibo-rpc.asia"],shortName:"fibo",slug:"fibonacci",testnet:!0},r40={chain:"BLG",chainId:12321,explorers:[],faucets:["https://faucet.blgchain.com"],icon:{url:"ipfs://QmUN5j2cre8GHKv52JE8ag88aAnRmuHMGFxePPvKMogisC",width:512,height:512,format:"svg"},infoURL:"https://blgchain.com",name:"BLG Testnet",nativeCurrency:{name:"Blg",symbol:"BLG",decimals:18},networkId:12321,rpc:["https://12321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blgchain.com"],shortName:"blgchain",slip44:1,slug:"blg-testnet",testnet:!0},i40={chain:"L3X",chainId:12324,explorers:[{name:"L3X Mainnet Explorer",url:"https://explorer.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12324,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.l3x.com"],shortName:"l3x",slug:"l3x-protocol",testnet:!1},s40={chain:"L3X",chainId:12325,explorers:[{name:"L3X Testnet Explorer",url:"https://explorer-testnet.l3x.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmf1cim2ZvkgszKiFtmZj3K1z2YgVY7A4VtLkWw8kQxijq",width:100,height:100,format:"png"},infoURL:"https://l3x.com",name:"L3X Protocol Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:12325,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://12325.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.l3x.com"],shortName:"l3x-testnet",slug:"l3x-protocol-testnet",testnet:!0},f40={chain:"STEP",chainId:12345,explorers:[{name:"StepScan",url:"https://testnet.stepscan.io",standard:"EIP3091",icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"}}],faucets:["https://faucet.step.network"],icon:{url:"ipfs://QmVp9jyb3UFW71867yVtymmiRw7dPY4BTnsp3hEjr9tn8L",width:512,height:512,format:"png"},infoURL:"https://step.network",name:"Step Testnet",nativeCurrency:{name:"FITFI",symbol:"FITFI",decimals:18},networkId:12345,parent:{type:"L2",chain:"eip155-43113"},rpc:["https://12345.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.step.network"],shortName:"steptest",slip44:1,slug:"step-testnet",testnet:!0,title:"Step Test Network"},o40={chain:"RSS3",chainId:12553,explorers:[{name:"RSS3 VSL Scan",url:"https://scan.rss3.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZFWYnufi6G2Z54oJ25sx2yf2Skx5tseJHJJa6Hc1G34t",width:200,height:200,format:"svg"},infoURL:"https://rss3.io",name:"RSS3 VSL Mainnet",nativeCurrency:{name:"RSS3",symbol:"RSS3",decimals:18},networkId:12553,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://explorer.rss3.io/bridge"}]},rpc:["https://12553.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rss3.io"],shortName:"rss3",slug:"rss3-vsl",testnet:!1},c40={chain:"Rikeza",chainId:12715,explorers:[{name:"Rikeza Blockchain explorer",url:"https://testnet.rikscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfJ1Qxpzi6CSLeFeWY1Bwe435CpT5za5WfrLUE7vNzZfy",width:512,height:512,format:"png"},infoURL:"https://rikeza.io",name:"Rikeza Network Testnet",nativeCurrency:{name:"Rikeza",symbol:"RIK",decimals:18},networkId:12715,rpc:["https://12715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.rikscan.com"],shortName:"tRIK",slip44:1,slug:"rikeza-network-testnet",testnet:!0,title:"Rikeza Network Testnet"},d40={chain:"Avalanche",chainId:12781,explorers:[{name:"Playdapp Testnet Explorer",url:"https://subnets-test.avax.network/playdappte",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"playdapp Testnet",nativeCurrency:{name:"playdapp Testnet Token",symbol:"PDA",decimals:18},networkId:12781,redFlags:[],rpc:["https://12781.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappte/testnet/rpc"],shortName:"playdapp Testnet",slug:"playdapp-testnet",testnet:!0},l40={chain:"Avalanche",chainId:12885,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I3",nativeCurrency:{name:"QI0603I3 Token",symbol:"UQI",decimals:18},networkId:12885,redFlags:[],rpc:["https://12885.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I3",slug:"qi0603i3",testnet:!0},p40={chain:"tQNET",chainId:12890,explorers:[{name:"Quantum Scan Testnet",url:"https://testnet.quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Testnet",nativeCurrency:{name:"Quantum Chain",symbol:"tQNET",decimals:18},networkId:12890,rpc:["https://12890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.quantumscan.org"],shortName:"tqnet",slip44:1,slug:"quantum-chain-testnet",testnet:!0},u40={chain:"PLAYFAIR",chainId:12898,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets-test.avax.network/letsplayfair",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNvoUp2RWiWQzHUKrZ7SnPzwF3FbCNd3jSdpGJhQdH1y5",width:256,height:256,format:"png"},infoURL:"https://letsplayfair.ai",name:"PlayFair Testnet Subnet",nativeCurrency:{name:"BTLT Token",symbol:"BTLT",decimals:18},networkId:12898,rpc:["https://12898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.letsplayfair.ai/ext/bc/2hhXFNp1jR4RuqvCmWQnBtt9CZnCmmyGr7TNTkxt7XY7pAzHMY/rpc"],shortName:"playfair",slug:"playfair-testnet-subnet",testnet:!0},y40={chain:"SPS",chainId:13e3,explorers:[{name:"SPS Explorer",url:"http://spsscan.ssquad.games",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:13e3,rpc:["https://13000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ssquad.games"],shortName:"SPS",slug:"sps",testnet:!1},m40={chain:"CREDIT",chainId:13308,explorers:[{name:"Creditscan",url:"https://scan.creditsmartchain.com",standard:"EIP3091",icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",width:1e3,height:1628,format:"png"},infoURL:"https://creditsmartchain.com",name:"Credit Smart Chain",nativeCurrency:{name:"Credit",symbol:"CREDIT",decimals:18},networkId:13308,rpc:["https://13308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.creditsmartchain.com"],shortName:"Credit",slug:"credit-smart-chain-credit",testnet:!1},b40={chain:"BEAM",chainId:13337,explorers:[{name:"Beam Explorer",url:"https://subnets-test.avax.network/beam",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=beam","https://faucet.onbeam.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmQJ21NWyGGDraicVEzS1Uqq1yXahM9NCuNZgnfYvtspdt",width:512,height:512,format:"png"},infoURL:"https://www.onbeam.com",name:"Beam Testnet",nativeCurrency:{name:"Beam",symbol:"BEAM",decimals:18},networkId:13337,rpc:["https://13337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://build.onbeam.com/rpc/testnet","wss://build.onbeam.com/ws/testnet","https://subnets.avax.network/beam/testnet/rpc","wss://subnets.avax.network/beam/testnet/ws"],shortName:"beam-testnet",slip44:1,slug:"beam-testnet",testnet:!0},h40={chain:"Immutable zkEVM",chainId:13371,explorers:[{name:"Immutable explorer",url:"https://explorer.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM",nativeCurrency:{name:"IMX",symbol:"IMX",decimals:18},networkId:13371,rpc:["https://13371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.immutable.com","https://immutable-zkevm.drpc.org","wss://immutable-zkevm.drpc.org"],shortName:"imx",slug:"immutable-zkevm",testnet:!1},g40={chain:"Phoenix",chainId:13381,explorers:[{name:"phoenixplorer",url:"https://phoenixplorer.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYiLMeKDXMSNuQmtxNdxm53xR588pcRXMf7zuiZLjQnc6",width:1501,height:1501,format:"png"},infoURL:"https://cryptophoenix.org/phoenix",name:"Phoenix Mainnet",nativeCurrency:{name:"Phoenix",symbol:"PHX",decimals:18},networkId:13381,rpc:["https://13381.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.phoenixplorer.com/"],shortName:"Phoenix",slug:"phoenix",testnet:!1},v40={chain:"Avalanche",chainId:13396,explorers:[{name:"Masa Explorer",url:"https://subnets.avax.network/masa",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Network ",nativeCurrency:{name:"Masa Network Token",symbol:"MASA",decimals:18},networkId:13396,redFlags:[],rpc:["https://13396.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masanetwork/mainnet/rpc"],shortName:"Masa Network ",slug:"masa-network",testnet:!1},T40={chain:"Immutable zkEVM",chainId:13473,explorers:[{name:"Immutable Testnet explorer",url:"https://explorer.testnet.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Testnet",nativeCurrency:{name:"Test IMX",symbol:"tIMX",decimals:18},networkId:13473,rpc:["https://13473.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.immutable.com","https://immutable-zkevm-testnet.drpc.org","wss://immutable-zkevm-testnet.drpc.org"],shortName:"imx-testnet",slip44:1,slug:"immutable-zkevm-testnet",testnet:!0},_40={chain:"Gravity",chainId:13505,explorers:[{name:"Gravity Alpha Testnet Sepolia Explorer",url:"https://explorer-sepolia.gravity.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"},{name:"EIP1108"}],icon:{url:"ipfs://QmU5XU4S5oaGM5fj8oU1ovhWoXCzGWspwRj2zWRTuJrU4k",width:512,height:512,format:"png"},infoURL:"https://gravity.xyz",name:"Gravity Alpha Testnet Sepolia",nativeCurrency:{name:"Sepolia Gravity",symbol:"G.",decimals:18},networkId:13505,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://13505.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.gravity.xyz"],shortName:"gravitysep",slug:"gravity-alpha-testnet-sepolia",testnet:!0},w40={chain:"KNB",chainId:13600,explorers:[{name:"qbitscan",url:"https://explorer.qbitscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",width:200,height:200,format:"png"},infoURL:"https://kronobit.org",name:"Kronobit Mainnet",nativeCurrency:{name:"Kronobit",symbol:"KNB",decimals:18},networkId:13600,rpc:["https://13600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.qbitscan.com"],shortName:"KNB",slug:"kronobit",testnet:!1,title:"Kronobit Mainnet"},x40={chain:"SUS",chainId:13812,explorers:[{name:"Susono",url:"http://explorer.opn.network",standard:"none"}],faucets:[],name:"Susono",nativeCurrency:{name:"Susono",symbol:"OPN",decimals:18},networkId:13812,rpc:["https://13812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gateway.opn.network/node/ext/bc/2VsZe5DstWw2bfgdx3YbjKcMsJnNDjni95sZorBEdk9L9Qr9Fr/rpc"],shortName:"sus",slug:"susono",testnet:!1},I40={chain:"Avalanche",chainId:13838,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"XTraderlands Subnet Tesnet",nativeCurrency:{name:"XTraderlands Subnet Tesnet Token",symbol:"XTDL",decimals:18},networkId:13838,redFlags:[],rpc:["https://13838.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xtraderlan/testnet/rpc"],shortName:"XTraderlands Subnet Tesnet",slug:"xtraderlands-subnet-tesnet",testnet:!0},E40={chain:"SPS-Testnet",chainId:14e3,explorers:[{name:"SPS Test Explorer",url:"https://explorer.3sps.net",standard:"EIP3091"}],faucets:[],infoURL:"https://ssquad.games/",name:"SPS Testnet",nativeCurrency:{name:"ECG",symbol:"ECG",decimals:18},networkId:14e3,rpc:["https://14000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.3sps.net"],shortName:"SPS-Test",slip44:1,slug:"sps-testnet",testnet:!0},D40={chain:"Avalanche",chainId:14093,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6598",nativeCurrency:{name:"QaUser6598 Token",symbol:"UQC",decimals:18},networkId:14093,redFlags:[],rpc:["https://14093.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6598",slug:"qauser6598",testnet:!0},C40={chain:"Avalanche",chainId:14255,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521S2T",nativeCurrency:{name:"QI0521S2T Token",symbol:"YFT",decimals:18},networkId:14255,redFlags:[],rpc:["https://14255.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521S2T",slug:"qi0521s2t",testnet:!0},S40={chain:"Avalanche",chainId:14299,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Diego's",nativeCurrency:{name:"Diego's Token",symbol:"VMF",decimals:18},networkId:14299,redFlags:[],rpc:["https://14299.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/diegos/testnet/rpc"],shortName:"Diego's",slug:"diego-s",testnet:!0},A40={chain:"EVO",chainId:14324,explorers:[{name:"Evolve Testnet Explorer",url:"https://testnet.evolveblockchain.io",standard:"EIP3091"}],faucets:["https://faucet.evolveblockchain.io"],icon:{url:"ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",width:600,height:600,format:"png"},infoURL:"https://evolveblockchain.io",name:"EVOLVE Testnet",nativeCurrency:{name:"Evolve",symbol:"EVO",decimals:18},networkId:14324,rpc:["https://14324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evolveblockchain.io"],shortName:"evo",slug:"evolve-testnet",testnet:!0},k40={chain:"Vitruveo",chainId:14333,explorers:[{name:"Vitruveo Testnet Explorer",url:"https://test-explorer.vitruveo.xyz",standard:"EIP3091",icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.vitruveo.xyz"],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",width:1e3,height:1e3,format:"png"},infoURL:"https://www.vitruveo.xyz",name:"Vitruveo Testnet",nativeCurrency:{name:"Vitruveo Test Coin",symbol:"tVTRU",decimals:18},networkId:14333,rpc:["https://14333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.vitruveo.xyz"],shortName:"vitruveo-test",slug:"vitruveo-testnet",testnet:!0,title:"Vitruveo is a blockchain for Creators"},P40={chain:"Satori",chainId:14801,explorers:[{name:"satoriscan",url:"https://satori.vanascan.io",standard:"EIP3091"}],faucets:["https://faucet.vana.org"],infoURL:"https://satori.vana.org",name:"Vana Satori Testnet",nativeCurrency:{name:"DAT",symbol:"DAT",decimals:18},networkId:14801,rpc:["https://14801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.satori.vana.org"],shortName:"satori",slug:"vana-satori-testnet",testnet:!0},R40={chain:"Humanode Testnet 5",chainId:14853,explorers:[],faucets:["https://t.me/HumanodeTestnet5FaucetBot"],icon:{url:"ipfs://bafybeihuskzfwqogwvutaxil6sztmvpiavzbrzwjwpn6w2i4j3jysbybra",width:1043,height:1043,format:"png"},infoURL:"https://humanode.io",name:"Humanode Testnet 5 Israfel",nativeCurrency:{name:"eHMND",symbol:"eHMND",decimals:18},networkId:14853,rpc:["https://14853.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://explorer-rpc-http.testnet5.stages.humanode.io"],shortName:"hmnd-t5",slip44:1,slug:"humanode-testnet-5-israfel",testnet:!0},L40={chain:"Immutable zkEVM",chainId:15003,explorers:[{name:"Immutable Devnet explorer",url:"https://explorer.dev.immutable.com",standard:"EIP3091",icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"}}],faucets:["https://docs.immutable.com/docs/zkEVM/guides/faucet"],icon:{url:"ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",width:1168,height:1168,format:"png"},infoURL:"https://www.immutable.com",name:"Immutable zkEVM Devnet",nativeCurrency:{name:"Dev IMX",symbol:"dIMX",decimals:18},networkId:15003,rpc:["https://15003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.immutable.com"],shortName:"imx-devnet",slug:"immutable-zkevm-devnet",testnet:!1},M40={chain:"Avalanche",chainId:15056,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402052",nativeCurrency:{name:"QI M 2402052 Token",symbol:"ACI",decimals:18},networkId:15056,redFlags:[],rpc:["https://15056.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402052",slug:"qi-m-2402052",testnet:!0},B40={chain:"Avalanche",chainId:15104,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402054",nativeCurrency:{name:"QI M 2402054 Token",symbol:"ACI",decimals:18},networkId:15104,redFlags:[],rpc:["https://15104.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402054",slug:"qi-m-2402054",testnet:!0},N40={chain:"Poodl",chainId:15257,explorers:[{name:"Poodl Testnet Explorer",url:"https://testnet.poodl.org",standard:"EIP3091"}],faucets:["https://faucet.poodl.org"],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Testnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15257,rpc:["https://15257.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.poodl.org"],shortName:"poodlt",slug:"poodl-testnet",testnet:!0},F40={chain:"Poodl",chainId:15259,explorers:[{name:"Poodl Mainnet Explorer",url:"https://explorer.poodl.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXfBFHHb5kJGQ3dMLnhDhfFBsgAvm9U72jBSYcfmRHL2p",width:400,height:400,format:"png"},infoURL:"https://poodl.org",name:"Poodl Mainnet",nativeCurrency:{name:"Poodl",symbol:"POODL",decimals:18},networkId:15259,rpc:["https://15259.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.poodl.org"],shortName:"poodle",slug:"poodl",testnet:!1},O40={chain:"KYMTC",chainId:15430,explorers:[{name:"KYMTC Mainnet Explorer",url:"https://kymaticscan.online",standard:"EIP3091",icon:{url:"ipfs://QmR1AnNYGeXpVmsKyzqktk4K1BtFPiaJpeXuLktb9Kwmer",width:1042,height:1038,format:"png"}}],faucets:[],icon:{url:"ipfs://QmR1AnNYGeXpVmsKyzqktk4K1BtFPiaJpeXuLktb9Kwmer",width:1042,height:1038,format:"png"},infoURL:"https://kymaticscan.online",name:"KYMTC Mainnet",nativeCurrency:{name:"KYMTC",symbol:"KYMTC",decimals:18},networkId:15430,rpc:["https://15430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.kymaticscan.online"],shortName:"KYMTC",slug:"kymtc",testnet:!1},V40={chain:"Avalanche",chainId:15535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 11271",nativeCurrency:{name:"QI M 11271 Token",symbol:"JZW",decimals:18},networkId:15535,redFlags:[],rpc:["https://15535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/a47e1c06-fa75-4536-a900-1574d198e197"],shortName:"QI M 11271",slug:"qi-m-11271",testnet:!0},$40={chain:"LoopNetwork",chainId:15551,explorers:[{name:"loopscan",url:"http://explorer.mainnetloop.com",standard:"none"}],faucets:[],infoURL:"http://theloopnetwork.org/",name:"LoopNetwork Mainnet",nativeCurrency:{name:"LOOP",symbol:"LOOP",decimals:18},networkId:15551,rpc:["https://15551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.mainnetloop.com"],shortName:"loop",slug:"loopnetwork",testnet:!1},U40={chain:"Trust EVM Testnet",chainId:15555,explorers:[{name:"Trust EVM Explorer",url:"https://trustscan.one",standard:"EIP3091"}],faucets:["https://faucet.testnet-dev.trust.one/"],infoURL:"https://www.trust.one/",name:"Trust EVM Testnet",nativeCurrency:{name:"Trust EVM",symbol:"EVM",decimals:18},networkId:15555,rpc:["https://15555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet-dev.trust.one"],shortName:"TrustTestnet",slip44:1,slug:"trust-evm-testnet",testnet:!0},q40={chain:"EOS",chainId:15557,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.testnet.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network Testnet",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:15557,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.testnet.evm.eosnetwork.com"}]},rpc:["https://15557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.testnet.evm.eosnetwork.com"],shortName:"eos-testnet",slip44:1,slug:"eos-evm-network-testnet",testnet:!0},H40={chain:"MTT",chainId:16e3,explorers:[],faucets:[],infoURL:"https://metadot.network",name:"MetaDot Mainnet",nativeCurrency:{name:"MetaDot Token",symbol:"MTT",decimals:18},networkId:16e3,rpc:["https://16000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.metadot.network"],shortName:"mtt",slug:"metadot",testnet:!1},z40={chain:"MTTTest",chainId:16001,explorers:[],faucets:["https://faucet.metadot.network/"],infoURL:"https://metadot.network",name:"MetaDot Testnet",nativeCurrency:{name:"MetaDot Token TestNet",symbol:"MTTest",decimals:18},networkId:16001,rpc:["https://16001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.metadot.network"],shortName:"mtttest",slip44:1,slug:"metadot-testnet",testnet:!0},W40={chain:"DeFiVerse",chainId:16116,explorers:[{name:"DeFiVerse Explorer",url:"https://scan.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Mainnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:16116,parent:{type:"L2",chain:"eip155-248"},rpc:["https://16116.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.defi-verse.org/"],shortName:"DFV",slug:"defiverse",testnet:!1},j40={chain:"Avalanche",chainId:16180,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets.avax.network/plyr",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmVhG7xeTc78ibQunQ5sBJ4533r9FDM2xUCQKV72DPd1ux",width:256,height:256,format:"svg"},infoURL:"https://plyr.network/",name:"PLYR PHI",nativeCurrency:{name:"PLYR PHI Token",symbol:"PLYR",decimals:18},networkId:16180,redFlags:[],rpc:["https://16180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-plyr-ub739.avax.network/ext/bc/HUwWdyoExrb1HgVp5X5sh3AWqhYFnKkfXBfGmGL3qjDsnMoR4/rpc?token=aa3b2d729082b89b1065b7d98c00982fd0ab59e641ee2ebd420d1fcdc87814c3","https://subnets.avax.network/plyr/mainnet/rpc"],shortName:"PLYR PHI",slug:"plyr-phi",testnet:!1},G40={chain:"Avalanche",chainId:16316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stripe Test",nativeCurrency:{name:"Stripe Test Token",symbol:"STR",decimals:18},networkId:16316,redFlags:[],rpc:["https://16316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Stripe Test",slug:"stripe-test",testnet:!0},K40={chain:"Incentiv",chainId:16350,explorers:[],faucets:["https://faucet.incentiv-dev.ankr.network"],infoURL:"https://incentiv.net",name:"Incentiv Devnet",nativeCurrency:{name:"Testnet INC",symbol:"INC",decimals:18},networkId:16350,rpc:["https://16350.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/incentiv_devnet"],shortName:"tIncentiv",slip44:1,slug:"incentiv-devnet",testnet:!0},Q40={chain:"Pivotal",chainId:16481,explorers:[{name:"Pivotal Scan",url:"https://sepolia.pivotalscan.xyz",standard:"EIP3091"}],faucets:[],infoURL:"http://thepivotal.xyz/",name:"Pivotal Sepolia",nativeCurrency:{name:"Pivotal Plus",symbol:"PLUS",decimals:18},networkId:16481,rpc:["https://16481.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.pivotalprotocol.com"],shortName:"pivotal-sepolia",slug:"pivotal-sepolia",testnet:!1},Y40={chain:"Genesys",chainId:16507,explorers:[{name:"GchainExplorer",url:"https://gchainexplorer.genesys.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie6nai3yhykcdlsyshn5lbcbyba5y7zwsqg6owcfek2urhoucr6rm",width:800,height:800,format:"png"},infoURL:"https://www.genesys.network/",name:"Genesys Mainnet",nativeCurrency:{name:"Genesys",symbol:"GSYS",decimals:18},networkId:16507,rpc:["https://16507.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.genesys.network"],shortName:"Genesys",slug:"genesys",testnet:!1},J40={chain:"Avalanche",chainId:16587,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I1",nativeCurrency:{name:"QI0603I1 Token",symbol:"ODK",decimals:18},networkId:16587,redFlags:[],rpc:["https://16587.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I1",slug:"qi0603i1",testnet:!0},X40={chain:"Avalanche",chainId:16680,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0627S1TS",nativeCurrency:{name:"QI0627S1TS Token",symbol:"JEU",decimals:18},networkId:16680,redFlags:[],rpc:["https://16680.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0627S1TS",slug:"qi0627s1ts",testnet:!0},Z40={chain:"IRIShub",chainId:16688,explorers:[{name:"IRISHub Testnet Cosmos Explorer (IOBScan)",url:"https://nyancat.iobscan.io",standard:"none",icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmRaSx7AX1VDgcqjwLgSDP4WZmKBHPdHhbjkcEEXPA2Fnc",width:1062,height:822,format:"png"},infoURL:"https://www.irisnet.org",name:"IRIShub Testnet",nativeCurrency:{name:"Eris",symbol:"ERIS",decimals:18},networkId:16688,rpc:["https://16688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evmrpc.nyancat.irisnet.org"],shortName:"nyancat",slip44:1,slug:"irishub-testnet",testnet:!0},eb0={chain:"ambnet",chainId:16718,explorers:[{name:"AirDAO Network Explorer",url:"https://airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://airdao.io",name:"AirDAO Mainnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:16718,rpc:["https://16718.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus.io"],shortName:"airdao",slug:"airdao",testnet:!1},tb0={chain:"IVAR",chainId:16888,explorers:[{name:"ivarscan",url:"https://testnet.ivarscan.com",standard:"EIP3091"}],faucets:["https://tfaucet.ivarex.com/"],icon:{url:"ipfs://QmV8UmSwqGF2fxrqVEBTHbkyZueahqyYtkfH2RBF5pNysM",width:519,height:519,format:"svg"},infoURL:"https://ivarex.com",name:"IVAR Chain Testnet",nativeCurrency:{name:"tIvar",symbol:"tIVAR",decimals:18},networkId:16888,rpc:["https://16888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.ivarex.com"],shortName:"tivar",slip44:1,slug:"ivar-chain-testnet",testnet:!0},nb0={chain:"ETH",chainId:17e3,explorers:[{name:"Holesky Explorer",url:"https://holesky.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"otterscan-holesky",url:"https://holesky.otterscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}},{name:"Holesky Etherscan",url:"https://holesky.etherscan.io",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.holesky.ethpandaops.io","https://holesky-faucet.pk910.de"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://holesky.ethpandaops.io",name:"Holesky",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:17e3,redFlags:[],rpc:["https://17000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.ethpandaops.io","https://ethereum-holesky-rpc.publicnode.com","wss://ethereum-holesky-rpc.publicnode.com","https://holesky.drpc.org","wss://holesky.drpc.org","https://rpc-holesky.rockx.com"],shortName:"holesky",slip44:1,slug:"holesky",status:"incubating",testnet:!0,title:"Ethereum Testnet Holesky"},ab0={chain:"ETH",chainId:17001,explorers:[{name:"Redstone Holesky Explorer",url:"https://explorer.holesky.redstone.xyz",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreieyaqgkgntvxuo5tnhgseladga5q6gutc37dab7kqqfdguhq7vkxq",width:5836,height:5836,format:"png"},infoURL:"https://redstone.xyz/docs/network-info",name:"Redstone Holesky Testnet",nativeCurrency:{name:"Redstone Testnet Ether",symbol:"ETH",decimals:18},networkId:17001,rpc:["https://17001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.holesky.redstone.xyz"],shortName:"redstone-holesky",slip44:1,slug:"redstone-holesky-testnet",status:"deprecated",testnet:!0},rb0={chain:"Avalanche",chainId:17026,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI1204I3",nativeCurrency:{name:"QI1204I3 Token",symbol:"BHOX",decimals:18},networkId:17026,redFlags:[],rpc:["https://17026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/e7aeac38-06b2-4aaa-87b4-2c2da10fa43e"],shortName:"QI1204I3",slug:"qi1204i3",testnet:!0},ib0={chain:"ETH",chainId:17069,explorers:[{name:"blockscout",url:"https://explorer.garnetchain.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmWhHvjbjTiNNsHKpbEz9rxSt4CCL2Q5xVZjk8eQkp82B9",width:600,height:600,format:"png"},infoURL:"https://redstone.xyz",name:"Garnet Holesky",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17069,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://garnetchain.com/deposit"}]},redFlags:[],rpc:["https://17069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.garnetchain.com","wss://rpc.garnetchain.com"],shortName:"garnet",slug:"garnet-holesky",testnet:!0},sb0={chain:"POP",chainId:17071,explorers:[{name:"blockscout",url:"https://explorer.onchainpoints.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmbY9ZPnveSEnFhbhfHr5B2R8SPhQBKbAZnwQCoEkvAQtT",width:512,height:512,format:"png"},infoURL:"https://onchainpoints.xyz",name:"Onchain Points",nativeCurrency:{name:"OnchainPoints.xyz",symbol:"POP",decimals:18},networkId:17071,rpc:["https://17071.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.onchainpoints.xyz","https://rpc-onchain-points-8n0qkkpr2j.t.conduit.xyz/{CONDUIT_API_KEY}"],shortName:"pop",slug:"onchain-points",status:"incubating",testnet:!1},fb0={chain:"DeFiVerse Testnet",chainId:17117,explorers:[{name:"DeFiVerse Testnet Explorer",url:"https://scan-testnet.defi-verse.org",standard:"EIP3091",icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaSqPELi11UepS3odwHyiwfUPkLBnE4WP4zNkwumHoPmw",width:512,height:512,format:"png"},infoURL:"https://defi-verse.org",name:"DeFiVerse Testnet",nativeCurrency:{name:"Oasys",symbol:"OAS",decimals:18},networkId:17117,rpc:["https://17117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.defi-verse.org/"],shortName:"DFV-testnet",slug:"defiverse-testnet",testnet:!0},ob0={chain:"G8C",chainId:17171,explorers:[{name:"G8Chain",url:"https://mainnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Mainnet",nativeCurrency:{name:"G8Chain",symbol:"G8C",decimals:18},networkId:17171,rpc:["https://17171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneg8.network"],shortName:"G8Cm",slug:"g8chain",testnet:!1},cb0={chain:"ECLIPSE",chainId:17172,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"http://eclipsenet.io",name:"Eclipse Subnet",nativeCurrency:{name:"Eclipse",symbol:"ECLP",decimals:16},networkId:17172,rpc:["https://17172.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipse/testnet/rpc"],shortName:"eclipse",slug:"eclipse-subnet",testnet:!0},db0={chain:"PLT",chainId:17180,explorers:[{name:"Palettescan",url:"https://testnet.palettescan.com",standard:"none",icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmPCEGZD1p1keTT2YfPp725azx1r9Ci41hejeUuGL2whFA",width:800,height:800,format:"png"},infoURL:"https://hashpalette.com/",name:"Palette Chain Testnet",nativeCurrency:{name:"Palette Token",symbol:"PLT",decimals:18},networkId:17180,rpc:["https://17180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palette-opennet.com:22000"],shortName:"PCT",slip44:1,slug:"palette-chain-testnet",testnet:!0},lb0={chain:"ETH",chainId:17186,explorers:[],faucets:[],features:[],name:"lazy-crimson-coral",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:17186,parent:{type:"L3",chain:"Base",bridges:[{url:"https://lazy-crimson-coral-cotlv0ftqf.testnets.superbridge.app"}]},redFlags:[],rpc:["https://17186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-lazy-crimson-coral-cotlv0ftqf.t.conduit.xyz"],shortName:"lazy-crimson-coral",slug:"lazy-crimson-coral",testnet:!0},pb0={chain:"KONET",chainId:17217,explorers:[{name:"konet-explorer",url:"https://explorer.kon-wallet.com",standard:"EIP3091"},{name:"Konetscan",url:"https://konetexplorer.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmSszu2AhLPgcp8SZYiBYCQiRVwb9ueqbnGbcTx9H9CJjZ",width:1851,height:1851,format:"png"},infoURL:"https://konetmain.com",name:"KONET Mainnet",nativeCurrency:{name:"KONET",symbol:"KONET",decimals:18},networkId:17217,redFlags:[],rpc:["https://17217.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kon-wallet.com"],shortName:"KONET",slip44:1,slug:"konet",testnet:!1},ub0={chain:"Avalanche",chainId:17511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PST 1-17-24",nativeCurrency:{name:"PST 1-17-24 Token",symbol:"MUB",decimals:18},networkId:17511,redFlags:[],rpc:["https://17511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"PST 1-17-24",slug:"pst-1-17-24",testnet:!0},yb0={chain:"EOS",chainId:17777,explorers:[{name:"EOS EVM Explorer",url:"https://explorer.evm.eosnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXkK5D5GWizvY1FmL6pV8cYLAbhehKETubktCgh6qDJZb",width:500,height:750,format:"png"},infoURL:"https://eosnetwork.com/eos-evm",name:"EOS EVM Network",nativeCurrency:{name:"EOS",symbol:"EOS",decimals:18},networkId:17777,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.evm.eosnetwork.com"},{url:"https://app.multichain.org"}]},rpc:["https://17777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.eosnetwork.com"],shortName:"eos",slug:"eos-evm-network",testnet:!1},mb0={chain:"Game Network",chainId:18e3,explorers:[{name:"Game Network",url:"https://explorer.fod.games",standard:"EIP3091"}],faucets:[],infoURL:"https://goexosphere.com",name:"Frontier of Dreams Testnet",nativeCurrency:{name:"ZKST",symbol:"ZKST",decimals:18},networkId:18e3,rpc:["https://18000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.fod.games/"],shortName:"ZKST",slip44:1,slug:"frontier-of-dreams-testnet",testnet:!0},bb0={chain:"Avalanche",chainId:18077,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PlayGround",nativeCurrency:{name:"PlayGround Token",symbol:"PG",decimals:18},networkId:18077,redFlags:[],rpc:["https://18077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playground/testnet/rpc"],shortName:"PlayGround",slug:"playground",testnet:!0},hb0={chain:"Avalanche",chainId:18105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found Test",nativeCurrency:{name:"Found Test Token",symbol:"TVJ",decimals:18},networkId:18105,redFlags:[],rpc:["https://18105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found Test",slug:"found-test",testnet:!0},gb0={chain:"Avalanche",chainId:18109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7737 Testnet",nativeCurrency:{name:"QaUser7737 Testnet Token",symbol:"XSP",decimals:18},networkId:18109,redFlags:[],rpc:["https://18109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7737 Testnet",slug:"qauser7737-testnet",testnet:!0},vb0={chain:"Smart Trade Networks",chainId:18122,explorers:[{name:"stnscan",url:"https://stnscan.com",standard:"none",icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRgZVpjik4cH3Sb6wLRpdnfv9kiMEZ8fugfkzTgk3bpRW",width:500,height:500,format:"png"},infoURL:"https://www.smarttradenetworks.com",name:"Smart Trade Networks",nativeCurrency:{name:"STN",symbol:"STN",decimals:18},networkId:18122,rpc:["https://18122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://beefledgerwallet.com:8544"],shortName:"STN",slug:"smart-trade-networks",testnet:!1},Tb0={chain:"POM",chainId:18159,explorers:[{name:"explorer-proofofmemes",url:"https://memescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmePhfibWz9jnGUqF9Rven4x734br1h3LxrChYTEjbbQvo",width:256,height:256,format:"png"},infoURL:"https://proofofmemes.org",name:"Proof Of Memes",nativeCurrency:{name:"Proof Of Memes",symbol:"POM",decimals:18},networkId:18159,rpc:["https://18159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.memescan.io","https://mainnet-rpc2.memescan.io","https://mainnet-rpc3.memescan.io","https://mainnet-rpc4.memescan.io"],shortName:"pom",slug:"proof-of-memes",testnet:!1,title:"Proof Of Memes Mainnet"},_b0={chain:"G8C",chainId:18181,explorers:[{name:"G8Chain",url:"https://testnet.oneg8.network",standard:"EIP3091"}],faucets:["https://faucet.oneg8.network"],icon:{url:"ipfs://QmbkCVC5vZpVAfq8SuPXR9PhpTRS2m8w6LGqBkhXAvmie6",width:80,height:80,format:"png"},infoURL:"https://oneg8.one",name:"G8Chain Testnet",nativeCurrency:{name:"G8Coin",symbol:"G8C",decimals:18},networkId:18181,rpc:["https://18181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneg8.network"],shortName:"G8Ct",slip44:1,slug:"g8chain-testnet",testnet:!0},wb0={chain:"unreal",chainId:18231,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal-old",nativeCurrency:{name:"unreal Ether",symbol:"ETH",decimals:18},networkId:18231,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://18231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal.gelato.digital","wss://ws.unreal.gelato.digital"],shortName:"unreal-old",slip44:60,slug:"unreal-old",status:"deprecated",testnet:!0,title:"unreal testnet for re.al"},xb0={chain:"unreal",chainId:18233,explorers:[{name:"blockscout",url:"https://unreal.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZbtoK9Q1DHTHjsgPUfHkzb9xdWzrSfPwPQ8M8FPu84mA",width:300,height:301,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/unreal",name:"unreal",nativeCurrency:{name:"unreal Ether",symbol:"reETH",decimals:18},networkId:18233,parent:{type:"L2",chain:"eip155-17000",bridges:[{url:"https://bridge.gelato.network/bridge/unreal"}]},rpc:["https://18233.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.unreal-orbit.gelato.digital","wss://ws.unreal-orbit.gelato.digital"],shortName:"unreal",slip44:60,slug:"unreal",testnet:!0,title:"unreal testnet for re.al"},Ib0={chain:"Avalanche",chainId:18263,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528S1T",nativeCurrency:{name:"QR0528S1T Token",symbol:"STZ",decimals:18},networkId:18263,redFlags:[],rpc:["https://18263.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528s1t/testnet/rpc"],shortName:"QR0528S1T",slug:"qr0528s1t",testnet:!0},Eb0={chain:"Avalanche",chainId:18303,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Zeroone Testnet",nativeCurrency:{name:"Zeroone Testnet Token",symbol:"ZERO",decimals:18},networkId:18303,redFlags:[],rpc:["https://18303.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonetes/testnet/rpc"],shortName:"Zeroone Testnet",slug:"zeroone-testnet",testnet:!0},Db0={chain:"MXC zkEVM",chainId:18686,explorers:[{name:"MXC zkEVM Moonchain",url:"https://explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"MXC zkEVM Moonchain",nativeCurrency:{name:"MXC zkEVM Moonchain",symbol:"MXC",decimals:18},networkId:18686,rpc:["https://18686.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mxc.com"],shortName:"MXCzkEVM",slug:"mxc-zkevm-moonchain",testnet:!1},Cb0={chain:"Titan (TKX)",chainId:18888,explorers:[{name:"Titan Explorer",url:"https://tkxscan.io/Titan",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX)",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18888,rpc:["https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-json-rpc.titanlab.io","https://titan-json-rpc-tokyo.titanlab.io","https://titan-json-rpc-seoul.titanlab.io","https://titan-json-rpc-hongkong.titanlab.io"],shortName:"titan_tkx",slip44:1,slug:"titan-tkx",testnet:!1},Sb0={chain:"Titan (TKX)",chainId:18889,explorers:[{name:"Titan Explorer",url:"https://titan-testnet-explorer-light.titanlab.io/Titan%20Testnet",standard:"none",icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",width:512,height:512,format:"png"},infoURL:"https://titanlab.io",name:"Titan (TKX) Testnet",nativeCurrency:{name:"Titan tkx",symbol:"TKX",decimals:18},networkId:18889,rpc:["https://18889.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://titan-testnet-json-rpc.titanlab.io","https://titan-testnet-json-rpc-1.titanlab.io","https://titan-testnet-json-rpc-2.titanlab.io"],shortName:"titan_tkx-testnet",slip44:1,slug:"titan-tkx-testnet",testnet:!0},Ab0={chain:"Avalanche",chainId:18898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"NLD",decimals:18},networkId:18898,redFlags:[],rpc:["https://18898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-18898",testnet:!0},kb0={chain:"HOME Verse",chainId:19011,explorers:[{name:"HOME Verse Explorer",url:"https://explorer.oasys.homeverse.games",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeGb65zSworzoHmwK3jdkPtEsQZMUSJRxf8K8Feg56soU",width:597,height:597,format:"png"},infoURL:"https://www.homeverse.games/",name:"HOME Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:19011,parent:{type:"L2",chain:"eip155-248"},rpc:["https://19011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.oasys.homeverse.games/"],shortName:"HMV",slug:"home-verse",testnet:!1},Pb0={chain:"blockx",chainId:19077,explorers:[{name:"BlockX EVM Explorer (Blockscout)",url:"https://testnet-explorer.blockxnet.com",standard:"EIP3091"},{name:"BlockX Cosmos Explorer (Ping)",url:"https://ping.blockxnet.com/blockx-atlantis-testnet",standard:"none"}],faucets:["https://ping.blockxnet.com/blockx-atlantis-testnet/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.blockxnet.com/",name:"BlockX Atlantis Testnet",nativeCurrency:{name:"BCX",symbol:"BCX",decimals:18},networkId:19077,rpc:["https://19077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://atlantis-web3.blockxnet.com"],shortName:"tbcx",slug:"blockx-atlantis-testnet",testnet:!0},Rb0={chain:"Avalanche",chainId:19110,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s3t",nativeCurrency:{name:"QI0521s3t Token",symbol:"VTV",decimals:18},networkId:19110,redFlags:[],rpc:["https://19110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s3t",slug:"qi0521s3t",testnet:!0},Lb0={chain:"Avalanche",chainId:19112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304s1 Testnet",nativeCurrency:{name:"QI0304s1 Testnet Token",symbol:"LKG",decimals:18},networkId:19112,redFlags:[],rpc:["https://19112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304s1 Testnet",slug:"qi0304s1-testnet",testnet:!0},Mb0={chain:"blockx",chainId:19191,explorers:[{name:"BlockX EVM Explorer (Blockscout)",url:"https://explorer.blockxnet.com",standard:"EIP3091"},{name:"BlockX Cosmos Explorer (Ping)",url:"https://ping.blockxnet.com/blockx",standard:"none"}],faucets:["https://ping.blockxnet.com/blockx/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.blockxnet.com/",name:"BlockX Mainnet",nativeCurrency:{name:"BCXT",symbol:"BCXT",decimals:18},networkId:19191,rpc:[],shortName:"bcxt",slug:"blockx",testnet:!1},Bb0={chain:"DCSM",chainId:19224,explorers:[{name:"Decentraconnect Social",url:"https://decentraconnect.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmatvJXLgMthjXwydGBVFRtga9fZXJ3qFEVJ6cMRxniFUc",width:307,height:314,format:"png"},infoURL:"https://docs.decentraconnect.io",name:"Decentraconnect Social",nativeCurrency:{name:"Decentraconnect Social",symbol:"DCSM",decimals:18},networkId:19224,rpc:["https://19224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.decentraconnect.io"],shortName:"DCSMs",slug:"decentraconnect-social",testnet:!1},Nb0={chain:"Magnet",chainId:19527,explorers:[],faucets:[],infoURL:"https://magnet.magport.io/",name:"Magnet Network",nativeCurrency:{name:"Magnet Network",symbol:"DOT",decimals:18},networkId:19527,rpc:["https://19527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://magnet-rpc.magport.io/"],shortName:"mgt",slug:"magnet-network",testnet:!1},Fb0={chain:"LBRY",chainId:19600,explorers:[{name:"LBRY Block Explorer",url:"https://explorer.lbry.com",standard:"none",icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmUoSiFWaPTbVY6ZfJswzrM9jKuhfhXWwstRo49cVCWr8x",width:400,height:400,format:"jpg"},infoURL:"https://lbry.com",name:"LBRY Mainnet",nativeCurrency:{name:"LBRY Credits",symbol:"LBC",decimals:8},networkId:19600,rpc:["https://19600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://lbry.nl/rpc"],shortName:"LBRY",slip44:140,slug:"lbry",testnet:!1},Ob0={chain:"Avalanche",chainId:19683,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 12-07 V1",nativeCurrency:{name:"ST 12-07 V1 Token",symbol:"XRL",decimals:18},networkId:19683,redFlags:[],rpc:["https://19683.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d26b972e-1832-4d3a-bf7b-d0ce1f4331c2"],shortName:"ST 12-07 V1",slug:"st-12-07-v1",testnet:!0},Vb0={chain:"BTCIX",chainId:19845,explorers:[{name:"BTCIXScan",url:"https://btcixscan.com",standard:"none"}],faucets:[],infoURL:"https://bitcolojix.org",name:"BTCIX Network",nativeCurrency:{name:"BTCIX Network",symbol:"BTCIX",decimals:18},networkId:19845,rpc:["https://19845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.btcix.org/rpc"],shortName:"btcix",slug:"btcix-network",testnet:!1},$b0={chain:"ETHW",chainId:20001,explorers:[{name:"CamelarkScan",url:"https://scan.camelark.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeJerrsURFNt2LL7DE7TxeunjrQXiuezdfHyqmsbwX3MZ",width:128,height:128,format:"png"},infoURL:"https://www.camelark.com",name:"Camelark Mainnet",nativeCurrency:{name:"EthereumPoW",symbol:"ETHW",decimals:18},networkId:20001,rpc:["https://20001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-http-rpc.camelark.com"],shortName:"Camelark",slug:"camelark",testnet:!1},Ub0={chain:"NIZA",chainId:20041,explorers:[{name:"NizaScan",url:"https://nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Mainnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20041,rpc:["https://20041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nizascan.io/rpc"],shortName:"niza",slug:"niza-chain",testnet:!1},qb0={chain:"NIZA",chainId:20073,explorers:[{name:"NizaScan",url:"https://testnet.nizascan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPh2FdjoPWBaCKNrknv6HjruxdUCr8AvJYvhpgHZP6e2C",width:512,height:512,format:"png"},infoURL:"https://niza.io",name:"Niza Chain Testnet",nativeCurrency:{name:"Niza Global",symbol:"NIZA",decimals:18},networkId:20073,rpc:["https://20073.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.nizascan.io/rpc"],shortName:"niza_testnet",slug:"niza-chain-testnet",testnet:!0},Hb0={chain:"Avalanche",chainId:20139,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0129I1",nativeCurrency:{name:"QR0129I1 Token",symbol:"YOD",decimals:18},networkId:20139,redFlags:[],rpc:["https://20139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0129i1/testnet/rpc"],shortName:"QR0129I1",slug:"qr0129i1",testnet:!0},zb0={chain:"Avalanche",chainId:20141,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet",nativeCurrency:{name:"Shelby's Testnet Token",symbol:"FUC",decimals:18},networkId:20141,redFlags:[],rpc:["https://20141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c6fcfa18-e711-4f91-b8d4-ad59cfd30316"],shortName:"Shelby's Testnet",slug:"shelby-s-testnet",testnet:!0},Wb0={chain:"Avalanche",chainId:20519,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4113 Testnet",nativeCurrency:{name:"QaUser4113 Testnet Token",symbol:"FYP",decimals:18},networkId:20519,redFlags:[],rpc:["https://20519.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4113 Testnet",slug:"qauser4113-testnet",testnet:!0},jb0={chain:"CLO",chainId:20729,explorers:[],faucets:["https://faucet.callisto.network/"],infoURL:"https://callisto.network",name:"Callisto Testnet",nativeCurrency:{name:"Callisto",symbol:"CLO",decimals:18},networkId:79,rpc:["https://20729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.callisto.network/"],shortName:"CLOTestnet",slip44:1,slug:"callisto-testnet",testnet:!0},Gb0={chain:"P12",chainId:20736,explorers:[{name:"P12 Chain Explorer",url:"https://explorer.p12.games",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreieiro4imoujeewc4r4thf5hxj47l56j2iwuz6d6pdj6ieb6ub3h7e",width:512,height:512,format:"png"},infoURL:"https://p12.network",name:"P12 Chain",nativeCurrency:{name:"Hooked P2",symbol:"hP2",decimals:18},networkId:20736,rpc:["https://20736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-chain.p12.games"],shortName:"p12",slug:"p12-chain",testnet:!1},Kb0={chain:"JONO11",chainId:20765,explorers:[{name:"JONO11 Explorer",url:"https://subnets-test.avax.network/jono11",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono11 Subnet",nativeCurrency:{name:"Jono11 Token",symbol:"JONO",decimals:18},networkId:20765,rpc:["https://20765.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono11/testnet/rpc"],shortName:"jono11",slug:"jono11-subnet",testnet:!0},Qb0={chain:"Avalanche",chainId:20948,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"GoldFever",nativeCurrency:{name:"GoldFever Token",symbol:"GFT",decimals:18},networkId:20948,redFlags:[],rpc:["https://20948.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/goldfever/testnet/rpc"],shortName:"GoldFever",slug:"goldfever",testnet:!0},Yb0={chain:"C4EI",chainId:21004,explorers:[{name:"C4EI sirato",url:"https://exp.c4ei.net",standard:"none",icon:{url:"ipfs://QmNPQBLEau3DsUYczt9QCLqZd9jK488GhF5y2SbtLRSrvB",width:512,height:512,format:"png"}}],faucets:["https://play.google.com/store/apps/details?id=net.c4ei.fps2"],infoURL:"https://c4ei.net",name:"C4EI",nativeCurrency:{name:"C4EI",symbol:"C4EI",decimals:18},networkId:21004,rpc:["https://21004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ei.net"],shortName:"c4ei",slug:"c4ei",testnet:!1},Jb0={chain:"AAH",chainId:21133,explorers:[{name:"AAH Blockscout",url:"https://exp.c4ex.net",standard:"EIP3091",icon:{url:"ipfs://QmY7HDEj3vnTZzCmenotr48nYyD13R2Fyd5t12R9ARu4wJ",width:256,height:256,format:"png"}}],faucets:["https://t.me/c4eiAirdrop"],infoURL:"https://c4ex.net",name:"All About Healthy",nativeCurrency:{name:"AAH",symbol:"AAH",decimals:18},networkId:21133,rpc:["https://21133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.c4ex.net"],shortName:"aah",slug:"all-about-healthy",testnet:!1},Xb0={chain:"Avalanche",chainId:21178,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I2",nativeCurrency:{name:"QI0430I2 Token",symbol:"ETI",decimals:18},networkId:21178,redFlags:[],rpc:["https://21178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I2",slug:"qi0430i2",testnet:!0},Zb0={chain:"DCpay",chainId:21223,explorers:[{name:"DCpay Mainnet Explorer",url:"https://mainnet.dcpay.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Mainnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21223,rpc:["https://21223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dcpay.io"],shortName:"DCPm",slug:"dcpay",testnet:!1},eh0={chain:"DCpay",chainId:21224,explorers:[{name:"DCpay Testnet Explorer",url:"https://testnet.dcpay.io",standard:"EIP3091"}],faucets:["https://faucet.dcpay.io"],icon:{url:"ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",width:458,height:468,format:"png"},infoURL:"https://dcpay.io",name:"DCpay Testnet",nativeCurrency:{name:"DCP",symbol:"DCP",decimals:18},networkId:21224,rpc:["https://21224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dcpay.io"],shortName:"DCPt",slug:"dcpay-testnet",testnet:!0},th0={chain:"CENNZnet",chainId:21337,explorers:[{name:"UNcover",url:"https://uncoverexplorer.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWhNm7tTi6SYbiumULDRk956hxgqaZSX77vcxBNn8fvnw",width:112,height:112,format:"svg"},infoURL:"https://cennz.net",name:"CENNZnet Azalea",nativeCurrency:{name:"CPAY",symbol:"CPAY",decimals:18},networkId:21337,rpc:["https://21337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cennznet.unfrastructure.io/public"],shortName:"cennz-a",slug:"cennznet-azalea",testnet:!1},nh0={chain:"Avalanche",chainId:21758,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 01-16 Multi",nativeCurrency:{name:"FST 01-16 Multi Token",symbol:"RUI",decimals:18},networkId:21758,redFlags:[],rpc:["https://21758.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 01-16 Multi",slug:"fst-01-16-multi",testnet:!0},ah0={chain:"OML",chainId:21816,explorers:[{name:"omChain Explorer",url:"https://explorer.omchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQtEHaejiDbmiCvbBYw9jNQv3DLK5XHCQwLRfnLNpdN5j",width:256,height:256,format:"png"},infoURL:"https://omchain.io",name:"omChain Mainnet",nativeCurrency:{name:"omChain",symbol:"OMC",decimals:18},networkId:21816,rpc:["https://21816.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://seed.omchain.io"],shortName:"omc",slug:"omchain",testnet:!1},rh0={chain:"Avalanche",chainId:21825,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6991",nativeCurrency:{name:"QaUser6991 Token",symbol:"HIO",decimals:18},networkId:21825,redFlags:[],rpc:["https://21825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6991",slug:"qauser6991",testnet:!0},ih0={chain:"BSL",chainId:21912,explorers:[{name:"BSL Mainnet Explorer",url:"https://scan.nftruth.io",standard:"EIP3091"}],faucets:[],infoURL:"https://bsquarelab.com/",name:"BSL Mainnet",nativeCurrency:{name:"Origin NFT",symbol:"ONF",decimals:18},networkId:21912,rpc:["https://21912.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc-mainnet.nftruth.io:8545","ws://rpc-mainnet.nftruth.io:8645"],shortName:"onf",slug:"bsl",testnet:!1},sh0={chain:"Taycan",chainId:22023,explorers:[{name:"Taycan Explorer(Blockscout)",url:"https://taycan-evmscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}},{name:"Taycan Cosmos Explorer(BigDipper)",url:"https://taycan-cosmoscan.hupayx.io",standard:"none",icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",width:1e3,height:1206,format:"png"},infoURL:"https://hupayx.io",name:"Taycan",nativeCurrency:{name:"shuffle",symbol:"SFL",decimals:18},networkId:22023,rpc:["https://22023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taycan-rpc.hupayx.io:8545"],shortName:"SFL",slug:"taycan",testnet:!1},fh0={chain:"Avalanche",chainId:22039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1631",nativeCurrency:{name:"QaUser1631 Token",symbol:"UVA",decimals:18},networkId:22039,redFlags:[],rpc:["https://22039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1631",slug:"qauser1631",testnet:!0},oh0={chain:"ambnet-test",chainId:22040,explorers:[{name:"AirDAO Network Explorer",url:"https://testnet.airdao.io/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmSxXjvWng3Diz4YwXDV2VqSPgMyzLYBNfkjJcr7rzkxom",width:400,height:400,format:"png"},infoURL:"https://testnet.airdao.io",name:"AirDAO Testnet",nativeCurrency:{name:"Amber",symbol:"AMB",decimals:18},networkId:22040,rpc:["https://22040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://network.ambrosus-test.io"],shortName:"airdao-test",slip44:1,slug:"airdao-testnet",testnet:!0},ch0={chain:"ETH",chainId:22222,explorers:[{name:"Nautscan",url:"https://nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Mainnet",nativeCurrency:{name:"Zebec",symbol:"ZBC",decimals:18},networkId:22222,rpc:["https://22222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.nautilus.nautchain.xyz"],shortName:"NAUTCHAIN",slug:"nautilus",testnet:!1},dh0={chain:"GoldXTestnet",chainId:22324,explorers:[{name:"GoldXChain Testnet Explorer",url:"https://testnet-explorer.goldxchain.io",standard:"EIP3091"}],faucets:["https://faucet.goldxchain.io"],infoURL:"https://goldxchain.io",name:"GoldXChain Testnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:22324,rpc:["https://22324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.goldxchain.io"],shortName:"goldx-testnet",slug:"goldxchain-testnet",testnet:!0},lh0={chain:"Avalanche",chainId:22562,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0708S1TS",nativeCurrency:{name:"QR0708S1TS Token",symbol:"QIA",decimals:18},networkId:22562,redFlags:[],rpc:["https://22562.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qr0708s1ts-a41a7.avax-test.network/ext/bc/xWY9qgnqRgxxpAiZ5xMhoZ3K68JgcDhbKTT2FJAyUXkjVzNiL/rpc?token=34b52f712e1f25b3db1f47e6f79a3f93a6d30d8d55b02ca1446c3a30610d6fc4"],shortName:"QR0708S1TS",slug:"qr0708s1ts",testnet:!0},ph0={chain:"Avalanche",chainId:22662,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA5-03-07 Testnet",nativeCurrency:{name:"QA5-03-07 Testnet Token",symbol:"TYP",decimals:18},networkId:22662,redFlags:[],rpc:["https://22662.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QA5-03-07 Testnet",slug:"qa5-03-07-testnet",testnet:!0},uh0={chain:"Avalanche",chainId:22721,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0701S1TS",nativeCurrency:{name:"QR0701S1TS Token",symbol:"BHQ",decimals:18},networkId:22721,redFlags:[],rpc:["https://22721.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qr0701s1ts-b5089.avax-test.network/ext/bc/26cFteUtPKbyFiDzKKbV1t1PVhcLuXTfRnSh62Sqqd7VythcKJ/rpc?token=67052c49c6e612210e3b27042731ddcaf1cfe7f8c23f3e27c887ff52014b20b6"],shortName:"QR0701S1TS",slug:"qr0701s1ts",testnet:!0},yh0={chain:"MAPO",chainId:22776,explorers:[{name:"maposcan",url:"https://maposcan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcLdQ8gM4iHv3CCKA9HuxmzTxY4WhjWtepUVCc3dpzKxD",width:512,height:512,format:"png"},infoURL:"https://mapprotocol.io/",name:"MAP Protocol",nativeCurrency:{name:"MAPO",symbol:"MAPO",decimals:18},networkId:22776,rpc:["https://22776.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.maplabs.io"],shortName:"mapo",slip44:60,slug:"map-protocol",testnet:!1},mh0={chain:"Avalanche",chainId:22886,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"MBM",decimals:18},networkId:22886,redFlags:[],rpc:["https://22886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet",testnet:!0},bh0={chain:"ETH",chainId:22985,explorers:[{name:"beyond-sepolia-3wng1zu3j3 explorer",url:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-sepolia-3wng1zu3j3.t.conduit.xyz",name:"Beyond Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:22985,redFlags:[],rpc:["https://22985.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-sepolia-3wng1zu3j3.t.conduit.xyz"],shortName:"beyond-sepolia",slug:"beyond-sepolia",testnet:!0},hh0={chain:"ABN",chainId:23006,explorers:[{name:"Antofy Testnet",url:"https://test.antofyscan.com",standard:"EIP3091"}],faucets:["https://faucet.antofy.io"],icon:{url:"ipfs://QmdTfku81ohnG9ECU1Xswmeumt678cBhwHWuFYZ7i1Qsto",width:400,height:400,format:"png"},infoURL:"https://antofy.io",name:"Antofy Testnet",nativeCurrency:{name:"Antofy",symbol:"ABN",decimals:18},networkId:23006,rpc:["https://23006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.antofy.io"],shortName:"ABNt",slip44:1,slug:"antofy-testnet",testnet:!0},gh0={chain:"Opside",chainId:23118,explorers:[{name:"opsideInfo",url:"https://opside.info",standard:"EIP3091"}],faucets:["https://faucet.opside.network"],icon:{url:"ipfs://QmeCyZeibUoHNoYGzy1GkzH2uhxyRHKvH51PdaUMer4VTo",width:591,height:591,format:"png"},infoURL:"https://opside.network",name:"Opside Testnet",nativeCurrency:{name:"IDE",symbol:"IDE",decimals:18},networkId:23118,rpc:["https://23118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testrpc.opside.network"],shortName:"opside",slip44:1,slug:"opside-testnet",testnet:!0},vh0={chain:"Sapphire",chainId:23294,explorers:[{name:"Oasis Sapphire Explorer",url:"https://explorer.oasis.io/mainnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire",nativeCurrency:{name:"Sapphire Rose",symbol:"ROSE",decimals:18},networkId:23294,rpc:["https://23294.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sapphire.oasis.io","wss://sapphire.oasis.io/ws"],shortName:"sapphire",slug:"oasis-sapphire",testnet:!1},Th0={chain:"Sapphire",chainId:23295,explorers:[{name:"Oasis Sapphire Testnet Explorer",url:"https://explorer.oasis.io/testnet/sapphire",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/sapphire",name:"Oasis Sapphire Testnet",nativeCurrency:{name:"Sapphire Test Rose",symbol:"TEST",decimals:18},networkId:23295,rpc:["https://23295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.sapphire.oasis.io","wss://testnet.sapphire.oasis.io/ws"],shortName:"sapphire-testnet",slip44:1,slug:"oasis-sapphire-testnet",testnet:!0},_h0={chain:"Avalanche",chainId:23444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402272",nativeCurrency:{name:"QI M 2402272 Token",symbol:"OVU",decimals:18},networkId:23444,redFlags:[],rpc:["https://23444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402272",slug:"qi-m-2402272",testnet:!0},wh0={chain:"DreyerX",chainId:23451,explorers:[{name:"drxscan",url:"https://scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Mainnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23451,rpc:["https://23451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dreyerx.com"],shortName:"dreyerx",slug:"dreyerx",testnet:!1},xh0={chain:"DreyerX",chainId:23452,explorers:[{name:"drxscan",url:"https://testnet-scan.dreyerx.com",standard:"EIP3091",icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",width:4501,height:4501,format:"png"},infoURL:"https://dreyerx.com",name:"DreyerX Testnet",nativeCurrency:{name:"DreyerX",symbol:"DRX",decimals:18},networkId:23452,rpc:["https://23452.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.dreyerx.com"],shortName:"dreyerx-testnet",slug:"dreyerx-testnet",testnet:!0},Ih0={chain:"Avalanche",chainId:23812,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"kjCohan Testnet",nativeCurrency:{name:"kjCohan Testnet Token",symbol:"DBM",decimals:18},networkId:23812,redFlags:[],rpc:["https://23812.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"kjCohan Testnet",slug:"kjcohan-testnet",testnet:!0},Eh0={chain:"ETH",chainId:23888,explorers:[{name:"Blast Testnet",url:"http://testnet-explorer.blastblockchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdHpjiepU2Q4bt4kR48tKHPgaQW57Sb6UVFgLh4MCyg6U",width:595,height:582,format:"png"},infoURL:"https://docs.blastblockchain.com",name:"Blast Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:23888,rpc:["https://23888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet-rpc.blastblockchain.com"],shortName:"blastT",slug:"blast-testnet",testnet:!0},Dh0={chain:"Avalanche",chainId:23934,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"ST 11-16 v7 Regression",nativeCurrency:{name:"ST 11-16 v7 Regression Token",symbol:"WLA",decimals:18},networkId:23934,redFlags:[],rpc:["https://23934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 11-16 v7 Regression",slug:"st-11-16-v7-regression",testnet:!0},Ch0={chain:"Avalanche",chainId:24010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stealthnet Testing ",nativeCurrency:{name:"Stealthnet Testing Token",symbol:"AVCLDDEV",decimals:18},networkId:24010,redFlags:[],rpc:["https://24010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stealthnet/testnet/rpc"],shortName:"Stealthnet Testing ",slug:"stealthnet-testing",testnet:!0},Sh0={chain:"Avalanche",chainId:24070,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0315I2 Testnet",nativeCurrency:{name:"QI0315I2 Testnet Token",symbol:"GAW",decimals:18},networkId:24070,redFlags:[],rpc:["https://24070.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0315I2 Testnet",slug:"qi0315i2-testnet",testnet:!0},Ah0={chain:"KYMTC",chainId:24076,explorers:[{name:"KYMTC Testnet Explorer",url:"https://testnet-explorer.kymaticscan.online",standard:"EIP3091",icon:{url:"ipfs://QmR1AnNYGeXpVmsKyzqktk4K1BtFPiaJpeXuLktb9Kwmer",width:1042,height:1038,format:"png"}}],faucets:["https://faucet.kymaticscan.online"],icon:{url:"ipfs://QmR1AnNYGeXpVmsKyzqktk4K1BtFPiaJpeXuLktb9Kwmer",width:1042,height:1038,format:"png"},infoURL:"https://testnet-explorer.kymaticscan.online",name:"KYMTC Testnet",nativeCurrency:{name:"KYMTC",symbol:"KYMTC",decimals:18},networkId:24076,rpc:["https://24076.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.kymaticscan.online"],shortName:"tKYMTC",slug:"kymtc-testnet",testnet:!0},kh0={chain:"Avalanche",chainId:24347,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 02-27",nativeCurrency:{name:"Tnet 02-27 Token",symbol:"TJO",decimals:18},networkId:24347,redFlags:[],rpc:["https://24347.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 02-27",slug:"tnet-02-27",testnet:!0},Ph0={chain:"WEB",chainId:24484,explorers:[],faucets:[],infoURL:"https://webchain.network",name:"Webchain",nativeCurrency:{name:"Webchain Ether",symbol:"WEB",decimals:18},networkId:37129,rpc:[],shortName:"web",slip44:227,slug:"webchain",testnet:!1},Rh0={chain:"Avalanche",chainId:24538,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402133",nativeCurrency:{name:"QI M 2402133 Token",symbol:"XVL",decimals:18},networkId:24538,redFlags:[],rpc:["https://24538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402133",slug:"qi-m-2402133",testnet:!0},Lh0={chain:"Avalanche",chainId:24545,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9167 Testnet",nativeCurrency:{name:"QaUser9167 Testnet Token",symbol:"HBG",decimals:18},networkId:24545,redFlags:[],rpc:["https://24545.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9167 Testnet",slug:"qauser9167-testnet",testnet:!0},Mh0={chain:"Avalanche",chainId:24668,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4994 Testnet",nativeCurrency:{name:"QaUser4994 Testnet Token",symbol:"PBE",decimals:18},networkId:24668,redFlags:[],rpc:["https://24668.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4994 Testnet",slug:"qauser4994-testnet",testnet:!0},Bh0={chain:"MINTME",chainId:24734,explorers:[],faucets:[],infoURL:"https://www.mintme.com",name:"MintMe.com Coin",nativeCurrency:{name:"MintMe.com Coin",symbol:"MINTME",decimals:18},networkId:37480,rpc:["https://24734.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.mintme.com"],shortName:"mintme",slug:"mintme-com-coin",testnet:!1},Nh0={chain:"Avalanche",chainId:24867,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser45 Testnet",nativeCurrency:{name:"QaUser45 Testnet Token",symbol:"ZAG",decimals:18},networkId:24867,redFlags:[],rpc:["https://24867.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser45 Testnet",slug:"qauser45-testnet",testnet:!0},Fh0={chain:"LiquidLayer",chainId:25186,explorers:[{name:"LiquidLayer Mainnet Explorer",url:"https://scan.liquidlayer.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://scan.liquidlayer.network",name:"LiquidLayer Mainnet",nativeCurrency:{name:"LiquidLayer",symbol:"LILA",decimals:18},networkId:25186,rpc:["https://25186.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.liquidlayer.network"],shortName:"LILA",slug:"liquidlayer",testnet:!1},Oh0={chain:"Avalanche",chainId:25284,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405021",nativeCurrency:{name:"QIM2405021 Token",symbol:"UZP",decimals:18},networkId:25284,redFlags:[],rpc:["https://25284.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405021",slug:"qim2405021",testnet:!0},Vh0={chain:"Avalanche",chainId:25688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TD",nativeCurrency:{name:"QR0520T1TD Token",symbol:"DYH",decimals:18},networkId:25688,redFlags:[],rpc:["https://25688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1td/testnet/rpc"],shortName:"QR0520T1TD",slug:"qr0520t1td",testnet:!0},$h0={chain:"tALV",chainId:25839,explorers:[{name:"AlveyScan Testnet",url:"https://alveytestnet.com",standard:"EIP3091",icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"}}],faucets:["https://faucet.alveytestnet.com"],icon:{url:"ipfs://QmTuY2Goyxpuy5GmA32EMYZBwxRcGsahiMFgfeBixSk7rb",width:2048,height:1538,format:"png"},infoURL:"https://alveychain.com/",name:"AlveyChain Testnet",nativeCurrency:{name:"AlveyCoin Testnet",symbol:"tALV",decimals:18},networkId:25839,rpc:["https://25839.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.alvey.io"],shortName:"talv",slug:"alveychain-testnet",testnet:!0},Uh0={chain:"HammerChain",chainId:25888,explorers:[{name:"Hammer Chain Explorer",url:"https://www.hammerchain.io",standard:"none"}],faucets:[],infoURL:"https://www.hammerchain.io",name:"Hammer Chain Mainnet",nativeCurrency:{name:"GOLDT",symbol:"GOLDT",decimals:18},networkId:25888,rpc:["https://25888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.hammerchain.io/rpc"],shortName:"GOLDT",slug:"hammer-chain",testnet:!1},qh0={chain:"BKC",chainId:25925,explorers:[{name:"bkcscan-testnet",url:"https://testnet.bkcscan.com",standard:"none",icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"}}],faucets:["https://faucet.bitkubchain.com"],icon:{url:"ipfs://QmYFYwyquipwc9gURQGcEd4iAq7pq15chQrJ3zJJe9HuFT",width:1e3,height:1e3,format:"png"},infoURL:"https://www.bitkubchain.com/",name:"Bitkub Chain Testnet",nativeCurrency:{name:"Bitkub Coin",symbol:"tKUB",decimals:18},networkId:25925,rpc:["https://25925.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bitkubchain.io","wss://wss-testnet.bitkubchain.io"],shortName:"bkct",slip44:1,slug:"bitkub-chain-testnet",testnet:!0},Hh0={chain:"Avalanche",chainId:25968,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5275",nativeCurrency:{name:"QaUser5275 Token",symbol:"EZL",decimals:18},networkId:25968,redFlags:[],rpc:["https://25968.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5275",slug:"qauser5275",testnet:!0},zh0={chain:"tFRM",chainId:26026,explorers:[{name:"polkadotjs",url:"https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Ftestnet.dev.svcs.ferrumnetwork.io#/explorer",standard:"none"}],faucets:["https://testnet.faucet.ferrumnetwork.io"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ferrum.network",name:"Ferrum Testnet",nativeCurrency:{name:"Ferrum",symbol:"tFRM",decimals:18},networkId:26026,rpc:["https://26026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.dev.svcs.ferrumnetwork.io:9933"],shortName:"frm",slip44:1,slug:"ferrum-testnet",testnet:!0},Wh0={chain:"Avalanche",chainId:26031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7894 Testnet",nativeCurrency:{name:"QaUser7894 Testnet Token",symbol:"YUT",decimals:18},networkId:26031,redFlags:[],rpc:["https://26031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7894 Testnet",slug:"qauser7894-testnet",testnet:!0},jh0={chain:"Avalanche",chainId:26563,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2404261",nativeCurrency:{name:"QIM2404261 Token",symbol:"YCW",decimals:18},networkId:26563,redFlags:[],rpc:["https://26563.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2404261",slug:"qim2404261",testnet:!0},Gh0={chain:"HTZ",chainId:26600,explorers:[{name:"Hertz Scan",url:"https://hertzscan.com",standard:"EIP3091",icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmf3GYbPXmTDpSP6t7Ug2j5HjEwrY5oGhBDP7d4TQHvGnG",width:162,height:129,format:"png"},infoURL:"https://www.hertz-network.com",name:"Hertz Network Mainnet",nativeCurrency:{name:"Hertz",symbol:"HTZ",decimals:18},networkId:26600,rpc:["https://26600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.hertzscan.com"],shortName:"HTZ",slug:"hertz-network",testnet:!1},Kh0={chain:"Avalanche",chainId:26730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet-AJJ",nativeCurrency:{name:"Testnet-AJJ Token",symbol:"AJJ",decimals:18},networkId:26730,redFlags:[],rpc:["https://26730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet-AJJ",slug:"testnet-ajj",testnet:!0},Qh0={chain:"OasisChain",chainId:26863,explorers:[{name:"OasisChain Explorer",url:"https://scan.oasischain.io",standard:"EIP3091"}],faucets:["http://faucet.oasischain.io"],infoURL:"https://scan.oasischain.io",name:"OasisChain Mainnet",nativeCurrency:{name:"OAC",symbol:"OAC",decimals:18},networkId:26863,rpc:["https://26863.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.oasischain.io","https://rpc2.oasischain.io","https://rpc3.oasischain.io"],shortName:"OAC",slug:"oasischain",testnet:!1},Yh0={chain:"Avalanche",chainId:26945,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA0628T1TS",nativeCurrency:{name:"QA0628T1TS Token",symbol:"XMA",decimals:18},networkId:26945,redFlags:[],rpc:["https://26945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qa0628t1ts-y2910.avax-test.network/ext/bc/2WgEf3VjJnSco3BLZotyeypUeQ78s5tW3rj9AYyVM2PF9otzGJ/rpc?token=0d1c32abc584380568181cb037ae1aa23461acae7c46710b0245f64d34299faa"],shortName:"QA0628T1TS",slug:"qa0628t1ts",testnet:!0},Jh0={chain:"KLAOS Nova",chainId:27181,explorers:[{name:"blockscout",url:"https://blockscout.klaosnova.laosfoundation.io",standard:"EIP3091",icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",width:580,height:580,format:"png"},infoURL:"https://www.laosfoundation.io/",name:"KLAOS Nova",nativeCurrency:{name:"KLAOS",symbol:"KLAOS",decimals:18},networkId:27181,rpc:["https://27181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.klaosnova.laosfoundation.io","wss://rpc.klaosnova.laosfoundation.io"],shortName:"klaosnova",slug:"klaos-nova",testnet:!0,title:"KLAOS Nova Test Chain"},Xh0={chain:"ETH",chainId:27483,explorers:[{name:"Nanon Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.nanon.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeiduib2fygrwziqpy4yuqr6vvnd6elhahpigbcowcipjjhk6c3qiny",width:400,height:400,format:"png"},infoURL:"https://www.nanon.network",name:"Nanon Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:27483,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.nanon.network"}]},rpc:["https://27483.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.nanon.network"],shortName:"Nanon-Testnet",slip44:1,slug:"nanon-sepolia",testnet:!0,title:"Nanon Sepolia Rollup Testnet"},Zh0={chain:"Avalanche",chainId:27550,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405065 NO INTEROP NO SIM",nativeCurrency:{name:"QIM2405065 NO INTEROP NO SIM Token",symbol:"BLY",decimals:18},networkId:27550,redFlags:[],rpc:["https://27550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim2405065/testnet/rpc"],shortName:"QIM2405065 NO INTEROP NO SIM",slug:"qim2405065-no-interop-no-sim",testnet:!0},e70={chain:"Avalanche",chainId:27827,explorers:[{name:"ZEROONEMAI Explorer",url:"https://subnets.avax.network/zeroonemai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"zeroone Mainnet",nativeCurrency:{name:"zeroone Mainnet Token",symbol:"ZERO",decimals:18},networkId:27827,redFlags:[],rpc:["https://27827.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/zeroonemai/mainnet/rpc"],shortName:"zeroone Mainnet",slug:"zeroone",testnet:!1},t70={chain:"Avalanche",chainId:28106,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Mezzanine Testnet",nativeCurrency:{name:"Mezzanine Testnet Token",symbol:"OWQ",decimals:18},networkId:28106,redFlags:[],rpc:["https://28106.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mezzaninet/testnet/rpc"],shortName:"Mezzanine Testnet",slug:"mezzanine-testnet",testnet:!0},n70={chain:"Avalanche",chainId:28408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405062 NO INTEROP",nativeCurrency:{name:"QIM2405062 NO INTEROP Token",symbol:"BLY",decimals:18},networkId:28408,redFlags:[],rpc:["https://28408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405062 NO INTEROP",slug:"qim2405062-no-interop",testnet:!0},a70={chain:"Vizing Testnet",chainId:28516,explorers:[{name:"blockscout",url:"https://explorer-sepolia.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28516,rpc:["https://28516.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-sepolia.vizing.com"],shortName:"Vizing-Testnet",slug:"vizing-testnet",testnet:!0,title:"Vizing Testnet"},r70={chain:"Vizing Mainnet",chainId:28518,explorers:[{name:"blockscout",url:"https://explorer.vizing.com",standard:"EIP3091",icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",width:200,height:200,format:"svg"},infoURL:"https://vizing.com",name:"Vizing Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28518,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.vizing.com"}]},rpc:["https://28518.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vizing.com"],shortName:"Vizing",slug:"vizing",testnet:!1,title:"Vizing Mainnet"},i70={chain:"ETH",chainId:28528,explorers:[{name:"blockscout",url:"https://blockscout.com/optimism/bedrock-alpha",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://community.optimism.io/docs/developers/bedrock",name:"Optimism Bedrock (Goerli Alpha Testnet)",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:28528,redFlags:[],rpc:["https://28528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-1-replica-0.bedrock-goerli.optimism.io","https://alpha-1-replica-1.bedrock-goerli.optimism.io","https://alpha-1-replica-2.bedrock-goerli.optimism.io"],shortName:"obgor",slip44:1,slug:"optimism-bedrock-goerli-alpha-testnet",status:"deprecated",testnet:!0},s70={chain:"ETH",chainId:28882,explorers:[{name:"Bobascan",url:"https://testnet.bobascan.com",standard:"none"}],faucets:["https://www.l2faucet.com/boba"],infoURL:"https://boba.network",name:"Boba Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28882,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://28882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.boba.network","https://boba-sepolia.gateway.tenderly.co","https://gateway.tenderly.co/public/boba-sepolia","wss://boba-sepolia.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-sepolia"],shortName:"BobaSepolia",slug:"boba-sepolia",testnet:!0},f70={chain:"Avalanche",chainId:28982,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"RUI",decimals:18},networkId:28982,redFlags:[],rpc:["https://28982.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet",testnet:!0},o70={chain:"ETH",chainId:29112,explorers:[{name:"blockscout",url:"https://testnet.explorer.hychain.com",standard:"EIP3091",icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcSJmAfk3iay6uCGJxgUPd9pTsRxbtF4BrNnC5txE9cg8",width:400,height:400,format:"jpg"},infoURL:"https://www.hychain.com",name:"HYCHAIN Testnet",nativeCurrency:{name:"TOPIA",symbol:"TOPIA",decimals:18},networkId:29112,parent:{type:"L2",chain:"eip155-58008",bridges:[]},redFlags:[],rpc:["https://29112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.hychain.com/http"],shortName:"hychain-testnet",slug:"hychain-testnet",testnet:!0},c70={chain:"Avalanche",chainId:29386,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4106 Testnet",nativeCurrency:{name:"QaUser4106 Testnet Token",symbol:"BBS",decimals:18},networkId:29386,redFlags:[],rpc:["https://29386.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4106 Testnet",slug:"qauser4106-testnet",testnet:!0},d70={chain:"Avalanche",chainId:29442,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402055",nativeCurrency:{name:"QI M 2402055 Token",symbol:"ACI",decimals:18},networkId:29442,redFlags:[],rpc:["https://29442.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402055",slug:"qi-m-2402055",testnet:!0},l70={chain:"KaiChain",chainId:29536,explorers:[{name:"KaiChain Explorer",url:"https://testnet-explorer.kaichain.net",standard:"EIP3091"}],faucets:["https://faucet.kaichain.net"],infoURL:"https://kaichain.net",name:"KaiChain Testnet",nativeCurrency:{name:"KaiChain Testnet Native Token",symbol:"KEC",decimals:18},networkId:29536,rpc:["https://29536.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.kaichain.net"],shortName:"tkec",slug:"kaichain-testnet",testnet:!0},p70={chain:"MCH Verse",chainId:29548,explorers:[{name:"MCH Verse Explorer",url:"https://explorer.oasys.mycryptoheroes.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZZnwR1y6cU1sare2TQmwqkNDLXQxD4GdPrmHLmUoPtbU",width:4e3,height:4e3,format:"png"},infoURL:"https://www.mycryptoheroes.net/verse",name:"MCH Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:29548,parent:{type:"L2",chain:"eip155-248"},rpc:["https://29548.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oasys.mycryptoheroes.net"],shortName:"MCHV",slug:"mch-verse",testnet:!1},u70={chain:"Avalanche",chainId:29645,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6355 Testnet",nativeCurrency:{name:"QaUser6355 Testnet Token",symbol:"MQO",decimals:18},networkId:29645,redFlags:[],rpc:["https://29645.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6355 Testnet",slug:"qauser6355-testnet",testnet:!0},y70={chain:"Avalanche",chainId:29732,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Deboard",nativeCurrency:{name:"Deboard Token",symbol:"DEVAX",decimals:18},networkId:29732,redFlags:[],rpc:["https://29732.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/deboard/mainnet/rpc"],shortName:"Deboard",slug:"deboard",testnet:!1},m70={chain:"Avalanche",chainId:29830,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6165 Testnet",nativeCurrency:{name:"QaUser6165 Testnet Token",symbol:"TGQ",decimals:18},networkId:29830,redFlags:[],rpc:["https://29830.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6165 Testnet",slug:"qauser6165-testnet",testnet:!0},b70={chain:"PieceNetwork",chainId:30067,explorers:[{name:"Piece Scan",url:"https://testnet-scan.piecenetwork.com",standard:"EIP3091"}],faucets:["https://piecenetwork.com/faucet"],icon:{url:"ipfs://QmWAU39z1kcYshAqkENRH8qUjfR5CJehCxA4GiC33p3HpH",width:800,height:800,format:"png"},infoURL:"https://piecenetwork.com",name:"Piece testnet",nativeCurrency:{name:"ECE",symbol:"ECE",decimals:18},networkId:30067,rpc:["https://30067.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc0.piecenetwork.com"],shortName:"Piece",slip44:1,slug:"piece-testnet",testnet:!0},h70={chain:"MiYou Chain",chainId:30088,ens:{registry:"0xFEfa9B3061435977424DD947E756566cFB60473E"},explorers:[{name:"MiYou block explorer",url:"https://myscan.miyou.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfP1QDK42B7EzYWsYN2PGfjkZUQtSjm1k5gNNT52ixsKL",width:216,height:216,format:"png"},infoURL:"https://www.miyou.io",name:"MiYou Mainnet",nativeCurrency:{name:"Miyou",symbol:"MY",decimals:18},networkId:30088,rpc:["https://30088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.miyou.io","https://blockchain.miyoulab.com"],shortName:"MiYou",slip44:60,slug:"miyou",testnet:!1},g70={chain:"CAU",chainId:30103,explorers:[{name:"canxium explorer",url:"https://cerium-explorer.canxium.net",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXHSbtVNCJVfe2CvRH7njdyf2SrX5u5bNTfvhqjLeFN2A",width:938,height:938,format:"png"},infoURL:"https://canxium.org",name:"Cerium Testnet",nativeCurrency:{name:"Canxium",symbol:"CAU",decimals:18},networkId:30103,rpc:["https://30103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cerium-rpc.canxium.net"],shortName:"ceri",slip44:1,slug:"cerium-testnet",testnet:!0},v70={chain:"Avalanche",chainId:30226,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"JPQ",decimals:18},networkId:30226,redFlags:[],rpc:["https://30226.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-30226",testnet:!0},T70={chain:"Avalanche",chainId:30266,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet02-06",nativeCurrency:{name:"Tnet02-06 Token",symbol:"LFC",decimals:18},networkId:30266,redFlags:[],rpc:["https://30266.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet02-06",slug:"tnet02-06",testnet:!0},_70={chain:"Avalanche",chainId:30289,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0528I1",nativeCurrency:{name:"QI0528I1 Token",symbol:"JQI",decimals:18},networkId:30289,redFlags:[],rpc:["https://30289.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0528I1",slug:"qi0528i1",testnet:!0},w70={chain:"Avalanche",chainId:30406,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MUGEN Testnet",nativeCurrency:{name:"MUGEN Testnet Token",symbol:"MGN",decimals:18},networkId:30406,redFlags:[],rpc:["https://30406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mugen/testnet/rpc"],shortName:"MUGEN Testnet",slug:"mugen-testnet",testnet:!0},x70={chain:"MOVE",chainId:30730,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Legacy",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30730,rpc:[],shortName:"moveleg",slug:"movement-evm-legacy",status:"incubating",testnet:!1},I70={chain:"MOVE",chainId:30731,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Devnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30731,rpc:[],shortName:"movedev",slug:"movement-evm-devnet",status:"incubating",testnet:!1},E70={chain:"MOVE",chainId:30732,explorers:[{name:"mevm explorer",url:"https://explorer.movementlabs.xyz",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWRAor77N6VyjJiQgtsEE7h9Bd1Q7vtRveTYv2A6wZyAT",width:1546,height:1546,format:"png"},infoURL:"https://movementlabs.xyz",name:"Movement EVM Testnet",nativeCurrency:{name:"Move",symbol:"MOVE",decimals:18},networkId:30732,rpc:[],shortName:"movetest",slug:"movement-evm-testnet",status:"incubating",testnet:!0},D70={chain:"Avalanche",chainId:30772,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0835",nativeCurrency:{name:"QaUser0835 Token",symbol:"VIG",decimals:18},networkId:30772,redFlags:[],rpc:["https://30772.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0835",slug:"qauser0835",testnet:!0},C70={chain:"Avalanche",chainId:30891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"CXY",decimals:18},networkId:30891,redFlags:[],rpc:["https://30891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e8b04790-d50c-4bb1-89ba-7bd140b674f3"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet",testnet:!0},S70={chain:"Avalanche",chainId:30915,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Deboard's Testnet",nativeCurrency:{name:"Deboard's Testnet Token",symbol:"DEVAX",decimals:18},networkId:30915,redFlags:[],rpc:["https://30915.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/deboardste/testnet/rpc"],shortName:"Deboard's Testnet",slug:"deboard-s-testnet",testnet:!0},A70={chain:"ESN",chainId:31102,explorers:[],faucets:[],infoURL:"https://ethersocial.org",name:"Ethersocial Network",nativeCurrency:{name:"Ethersocial Network Ether",symbol:"ESN",decimals:18},networkId:1,rpc:["https://31102.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.esn.gonspool.com"],shortName:"esn",slip44:31102,slug:"ethersocial-network",testnet:!1},k70={chain:"CLD",chainId:31223,explorers:[{name:"cloudtxscan",url:"https://scan.cloudtx.finance",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance",name:"CloudTx Mainnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31223,rpc:["https://31223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.cloudtx.finance"],shortName:"CLDTX",slug:"cloudtx",testnet:!1},P70={chain:"CloudTx",chainId:31224,explorers:[{name:"cloudtxexplorer",url:"https://explorer.cloudtx.finance",standard:"EIP3091"}],faucets:["https://faucet.cloudtx.finance"],icon:{url:"ipfs://QmSEsi71AdA5HYH6VNC5QUQezFg1C7BiVQJdx1VVfGz3g3",width:713,height:830,format:"png"},infoURL:"https://cloudtx.finance/",name:"CloudTx Testnet",nativeCurrency:{name:"CloudTx",symbol:"CLD",decimals:18},networkId:31224,rpc:["https://31224.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.cloudtx.finance"],shortName:"CLD",slip44:1,slug:"cloudtx-testnet",testnet:!0},R70={chain:"GO",chainId:31337,explorers:[{name:"GoChain Testnet Explorer",url:"https://testnet-explorer.gochain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://gochain.io",name:"GoChain Testnet",nativeCurrency:{name:"GoChain Coin",symbol:"GO",decimals:18},networkId:31337,rpc:["https://31337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.gochain.io"],shortName:"got",slip44:1,slug:"gochain-testnet",testnet:!0},L70={chain:"Avalanche",chainId:31338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT8 Testnet",nativeCurrency:{name:"LT8 Testnet Token",symbol:"LT",decimals:18},networkId:31338,redFlags:[],rpc:["https://31338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt8/testnet/rpc"],shortName:"LT8 Testnet",slug:"lt8-testnet",testnet:!0},M70={chain:"Avalanche",chainId:31339,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT9",nativeCurrency:{name:"LT9 Token",symbol:"LT",decimals:18},networkId:31339,redFlags:[],rpc:["https://31339.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt9/testnet/rpc"],shortName:"LT9",slug:"lt9",testnet:!0},B70={chain:"Evoke",chainId:31414,explorers:[{name:"Evoke SmartChain Testnet Explorer",url:"https://testnet-explorer.evokescan.org",standard:"EIP3091"}],faucets:["https://faucet.evokescan.org"],icon:{url:"ipfs://bafkreia5q26knsvxgkwxze7woepvsqat5n2hodokh4ozzphmhexqez5s34",width:100,height:100,format:"png"},infoURL:"https://testnet-explorer.evokescan.org",name:"Evoke Testnet",nativeCurrency:{name:"MTHN Testnet",symbol:"MTHN",decimals:18},networkId:31414,rpc:["https://31414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.evokescan.org"],shortName:"tmthn",slug:"evoke-testnet",testnet:!0},N70={chain:"FIL",chainId:31415,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Wallaby testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415,rpc:[],shortName:"filecoin-wallaby",slip44:1,slug:"filecoin-wallaby-testnet",status:"deprecated",testnet:!0},F70={chain:"Avalanche",chainId:31646,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9492 Testnet",nativeCurrency:{name:"QaUser9492 Testnet Token",symbol:"UVI",decimals:18},networkId:31646,redFlags:[],rpc:["https://31646.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9492 Testnet",slug:"qauser9492-testnet",testnet:!0},O70={chain:"Xchain",chainId:31753,explorers:[{name:"Xchain Mainnet Explorer",url:"https://xchainscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchainscan.com",name:"Xchain Mainnet",nativeCurrency:{name:"Intdestcoin",symbol:"INTD",decimals:18},networkId:31753,rpc:["https://31753.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchainscan.com"],shortName:"INTD",slug:"xchain",testnet:!1},V70={chain:"Xchain",chainId:31754,explorers:[{name:"Xchain Testnet Explorer",url:"https://xchaintest.net",standard:"EIP3091"}],faucets:["https://xchainfaucet.net"],icon:{url:"ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",width:500,height:500,format:"png"},infoURL:"https://xchaintest.net",name:"Xchain Testnet",nativeCurrency:{name:"Intdestcoin Testnet",symbol:"INTD",decimals:18},networkId:31754,rpc:["https://31754.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xchaintest.net"],shortName:"tINTD",slug:"xchain-testnet",testnet:!0},$70={chain:"ETH",chainId:31929,explorers:[],faucets:[],features:[],icon:{url:"ipfs://QmQHysdcSj7FemPm96k6ShNrc7bMcuzcqpD1gcUPY3YjA3/photo_2024-05-13%2017.19.03.jpeg",width:512,height:512,format:"jpeg"},name:"Worlds OP",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:31929,redFlags:[],rpc:["https://31929.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-worlds-hwbmpbzcnh.t.conduit.xyz/"],shortName:"WorldsOP",slug:"worlds-op",testnet:!0},U70={chain:"ETH",chainId:32001,explorers:[{name:"W3Gamez Holesky Explorer",url:"https://w3gamez-holesky.web3games.com",standard:"EIP3091",icon:{url:"ipfs://QmUc57w3UTHiWapNW9oQb1dP57ymtdemTTbpvGkjVHBRCo",width:192,height:192,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaQdiE7vwxKeuWCjk4nKBikcpg4XCzQkFWGrAZHmMKnrq",width:400,height:400,format:"png"},infoURL:"https://web3games.com/",name:"W3Gamez Holesky Testnet",nativeCurrency:{name:"W3Gamez Testnet Ether",symbol:"ETH",decimals:18},networkId:32001,rpc:["https://32001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-holesky.w3gamez.network"],shortName:"w3gamez",slip44:1,slug:"w3gamez-holesky-testnet",testnet:!0},q70={chain:"Avalanche",chainId:32112,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606S1T",nativeCurrency:{name:"QR0606S1T Token",symbol:"GKN",decimals:18},networkId:32112,redFlags:[],rpc:["https://32112.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606s1t/testnet/rpc"],shortName:"QR0606S1T",slug:"qr0606s1t",testnet:!0},H70={chain:"Avalanche",chainId:32277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402058",nativeCurrency:{name:"QI M 2402058 Token",symbol:"ACI",decimals:18},networkId:32277,redFlags:[],rpc:["https://32277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402058",slug:"qi-m-2402058",testnet:!0},z70={chain:"Avalanche",chainId:32366,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4578 Testnet",nativeCurrency:{name:"QaUser4578 Testnet Token",symbol:"EXP",decimals:18},networkId:32366,redFlags:[],rpc:["https://32366.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4578 Testnet",slug:"qauser4578-testnet",testnet:!0},W70={chain:"Santiment Intelligence Network",chainId:32382,explorers:[{name:"Santiment Intelligence Explorer",url:"https://app-explorer-pos.sanr.app",standard:"none"}],faucets:[],icon:{url:"ipfs://QmPLMg5mYD8XRknvYbDkD2x7FXxYan7MPTeUWZC2CihwDM",width:2048,height:2048,format:"png"},infoURL:"https://sanr.app",name:"Santiment Intelligence Network",nativeCurrency:{name:"SANR",symbol:"SANR",decimals:18},networkId:32382,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://sanr.app"}]},rpc:["https://32382.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.sanr.app"],shortName:"SANR",slug:"santiment-intelligence-network",testnet:!1},j70={chain:"Avalanche",chainId:32517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4536 Testnet",nativeCurrency:{name:"QaUser4536 Testnet Token",symbol:"ZKJ",decimals:18},networkId:32517,redFlags:[],rpc:["https://32517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4536 Testnet",slug:"qauser4536-testnet",testnet:!0},G70={chain:"Brise",chainId:32520,explorers:[{name:"Brise Scan",url:"https://brisescan.com",standard:"EIP3091",icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmY3vKe1rG9AyHSGH1ouP3ER3EVUZRtRrFbFZEfEpMSd4V",width:512,height:512,format:"png"},infoURL:"https://bitgert.com/",name:"Bitgert Mainnet",nativeCurrency:{name:"Bitrise Token",symbol:"Brise",decimals:18},networkId:32520,rpc:["https://32520.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.icecreamswap.com","https://mainnet-rpc.brisescan.com","https://chainrpc.com","https://serverrpc.com"],shortName:"Brise",slug:"bitgert",testnet:!1},K70={chain:"FSN",chainId:32659,explorers:[{name:"fsnscan",url:"https://fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Mainnet",nativeCurrency:{name:"Fusion",symbol:"FSN",decimals:18},networkId:32659,rpc:["https://32659.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.fusionnetwork.io","wss://mainnet.fusionnetwork.io"],shortName:"fsn",slip44:288,slug:"fusion",testnet:!1},Q70={chain:"ZIL",chainId:32769,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32769,rpc:["https://32769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zilliqa.com"],shortName:"zil",slug:"zilliqa-evm",testnet:!1},Y70={chain:"ZIL",chainId:32990,explorers:[{name:"Zilliqa EVM Isolated Server Explorer",url:"https://devex.zilliqa.com/?network=https://zilliqa-isolated-server.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=isolated_server"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Isolated Server",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:32990,rpc:["https://32990.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zilliqa-isolated-server.zilliqa.com/"],shortName:"zil-isolated-server",slug:"zilliqa-evm-isolated-server",testnet:!1},J70={chain:"NGL",chainId:33033,explorers:[{name:"Entangle Mainnet Explorer",url:"https://explorer.entangle.fi",standard:"none"}],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Mainnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33033,rpc:["https://33033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://json-rpc.entangle.fi"],shortName:"ngl",slug:"entangle",testnet:!1},X70={chain:"Avalanche",chainId:33100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7864",nativeCurrency:{name:"QaUser7864 Token",symbol:"MBP",decimals:18},networkId:33100,redFlags:[],rpc:["https://33100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7864",slug:"qauser7864",testnet:!0},Z70={chain:"ZIL",chainId:33101,explorers:[{name:"Zilliqa EVM Explorer",url:"https://evmx.zilliqa.com",standard:"none"}],faucets:["https://dev-wallet.zilliqa.com/faucet?network=testnet"],infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33101,rpc:["https://33101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dev-api.zilliqa.com"],shortName:"zil-testnet",slip44:1,slug:"zilliqa-evm-testnet",testnet:!0},e90={chain:"ZIL",chainId:33103,explorers:[{name:"Zilliqa 2 EVM proto-testnet explorer",url:"https://explorer.zq2-prototestnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.zq2-prototestnet.zilliqa.com"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa 2 EVM proto-testnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33103,rpc:["https://33103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zq2-prototestnet.zilliqa.com"],shortName:"zq2-proto-testnet",slug:"zilliqa-2-evm-proto-testnet",testnet:!0},t90={chain:"NGL",chainId:33133,explorers:[],faucets:[],icon:{url:"ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",width:100,height:100,format:"svg"},infoURL:"https://www.entangle.fi",name:"Entangle Testnet",nativeCurrency:{name:"Entangle",symbol:"NGL",decimals:18},networkId:33133,rpc:["https://33133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-testnet.entangle.fi"],shortName:"tngl",slug:"entangle-testnet",testnet:!0},n90={chain:"CLOUDVERSE",chainId:33210,explorers:[{name:"CLOUDVERSE Explorer",url:"https://subnets.avax.network/cloudverse",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://muadao.build/",name:"Cloudverse Subnet",nativeCurrency:{name:"XCLOUD",symbol:"XCLOUD",decimals:18},networkId:33210,rpc:["https://33210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/cloudverse/mainnet/rpc"],shortName:"cloudverse",slug:"cloudverse-subnet",testnet:!1},a90={chain:"AVS",chainId:33333,explorers:[{name:"avescan",url:"https://avescan.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io",name:"Aves Mainnet",nativeCurrency:{name:"Aves",symbol:"AVS",decimals:18},networkId:33333,rpc:["https://33333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.avescoin.io"],shortName:"avs",slug:"aves",testnet:!1},r90={chain:"ZIL",chainId:33385,explorers:[{name:"Zilliqa EVM Devnet Explorer",url:"https://otterscan.devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.devnet.zilliqa.com/"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33385,rpc:["https://33385.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.devnet.zilliqa.com/"],shortName:"zil-devnet",slug:"zilliqa-evm-devnet",testnet:!1},i90={chain:"Avalanche",chainId:33448,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s2 Testnet",nativeCurrency:{name:"QI0408s2 Testnet Token",symbol:"QCE",decimals:18},networkId:33448,redFlags:[],rpc:["https://33448.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s2 Testnet",slug:"qi0408s2-testnet",testnet:!0},s90={chain:"ZIL",chainId:33469,explorers:[{name:"Zilliqa-2 EVM Devnet Explorer",url:"https://explorer.zq2-devnet.zilliqa.com",standard:"EIP3091"}],faucets:["https://faucet.zq2-devnet.zilliqa.com"],icon:{url:"ipfs://QmTREXNgGtUhSoxFsrkhTe5LUnDBTKL5byaX8kpET6UuKp",width:2048,height:2048,format:"png"},infoURL:"https://www.zilliqa.com/",name:"Zilliqa-2 EVM Devnet",nativeCurrency:{name:"Zilliqa",symbol:"ZIL",decimals:18},networkId:33469,rpc:["https://33469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.zq2-devnet.zilliqa.com"],shortName:"zq2-devnet",slug:"zilliqa-2-evm-devnet",testnet:!1},f90={chain:"Avalanche",chainId:33795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9260",nativeCurrency:{name:"QaUser9260 Token",symbol:"SBM",decimals:18},networkId:33795,redFlags:[],rpc:["https://33795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9260",slug:"qauser9260",testnet:!0},o90={chain:"Avalanche",chainId:33841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422s2 Testnet",nativeCurrency:{name:"QI0422s2 Testnet Token",symbol:"HOS",decimals:18},networkId:33841,redFlags:[],rpc:["https://33841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422s2 Testnet",slug:"qi0422s2-testnet",testnet:!0},c90={chain:"Avalanche",chainId:33909,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Reg1116test",nativeCurrency:{name:"Reg1116test Token",symbol:"JUO",decimals:18},networkId:33909,redFlags:[],rpc:["https://33909.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Reg1116test",slug:"reg1116test",testnet:!0},d90={chain:"ETH",chainId:33979,explorers:[{name:"Funki Mainnet Explorer",url:"https://mainnet.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:33979,rpc:[],shortName:"funki",slug:"funki",testnet:!1},l90={chain:"Avalanche",chainId:34295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402132",nativeCurrency:{name:"QI M 2402132 Token",symbol:"CYB",decimals:18},networkId:34295,redFlags:[],rpc:["https://34295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402132",slug:"qi-m-2402132",testnet:!0},p90={chain:"ETH",chainId:34443,explorers:[{name:"modescout",url:"https://explorer.mode.network",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreidi5y7afj5z4xrz7uz5rkg2mcsv2p2n4ui4g7q4k4ecdz65i2agou",width:2160,height:2160,format:"png"},infoURL:"https://docs.mode.network/",name:"Mode",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:34443,rpc:["https://34443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.mode.network","https://mode.drpc.org","wss://mode.drpc.org"],shortName:"mode",slug:"mode",testnet:!1},u90={chain:"Avalanche",chainId:34851,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0235",nativeCurrency:{name:"QaUser0235 Token",symbol:"GET",decimals:18},networkId:34851,redFlags:[],rpc:["https://34851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0235",slug:"qauser0235",testnet:!0},y90={chain:"TARO",chainId:35011,explorers:[{name:"J2O Taro Explorer",url:"https://exp.j2o.io",standard:"EIP3091",icon:{url:"ipfs://QmdUYi8fjnvdM9iFQ7dwE2YvmhDtavSB3bKhCD2GhPxPks",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://j2o.io",name:"J2O Taro",nativeCurrency:{name:"TARO Coin",symbol:"taro",decimals:18},networkId:35011,rpc:["https://35011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.j2o.io"],shortName:"j2o",slug:"j2o-taro",testnet:!1},m90={chain:"Avalanche",chainId:35395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Found 1-4-23",nativeCurrency:{name:"Found 1-4-23 Token",symbol:"TVJ",decimals:18},networkId:35395,redFlags:[],rpc:["https://35395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Found 1-4-23",slug:"found-1-4-23",testnet:!0},b90={chain:"Avalanche",chainId:35439,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401122",nativeCurrency:{name:"QI M 2401122 Token",symbol:"HZU",decimals:18},networkId:35439,redFlags:[],rpc:["https://35439.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401122",slug:"qi-m-2401122",testnet:!0},h90={chain:"Q",chainId:35441,explorers:[{name:"Q explorer",url:"https://explorer.q.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org",name:"Q Mainnet",nativeCurrency:{name:"QGOV",symbol:"QGOV",decimals:18},networkId:35441,rpc:["https://35441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.q.org"],shortName:"q",slug:"q",testnet:!1},g90={chain:"Q",chainId:35443,explorers:[{name:"Q explorer",url:"https://explorer.qtestnet.org",standard:"EIP3091",icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQUQKe8VEtSthhgXnJ3EmEz94YhpVCpUDZAiU9KYyNLya",width:585,height:603,format:"png"},infoURL:"https://q.org/",name:"Q Testnet",nativeCurrency:{name:"Q token",symbol:"Q",decimals:18},networkId:35443,rpc:["https://35443.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.qtestnet.org"],shortName:"q-testnet",slip44:1,slug:"q-testnet",testnet:!0},v90={chain:"Avalanche",chainId:35641,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3338",nativeCurrency:{name:"QaUser3338 Token",symbol:"BQL",decimals:18},networkId:35641,redFlags:[],rpc:["https://35641.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3338",slug:"qauser3338",testnet:!0},T90={chain:"Avalanche",chainId:35730,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1129I1",nativeCurrency:{name:"QR1129I1 Token",symbol:"YXAX",decimals:18},networkId:35730,redFlags:[],rpc:["https://35730.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1129i1/testnet/rpc"],shortName:"QR1129I1",slug:"qr1129i1",testnet:!0},_90={chain:"Avalanche",chainId:36530,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Super Subnet",nativeCurrency:{name:"Will's Super Subnet Token",symbol:"VRJ",decimals:18},networkId:36530,redFlags:[],rpc:["https://36530.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Super Subnet",slug:"will-s-super-subnet",testnet:!0},w90={chain:"Avalanche",chainId:36695,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Yolo Testnet",nativeCurrency:{name:"Cohan Yolo Testnet Token",symbol:"KYI",decimals:18},networkId:36695,redFlags:[],rpc:["https://36695.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c033f73a-70ff-463d-b121-81b9542e11a1"],shortName:"Cohan Yolo Testnet",slug:"cohan-yolo-testnet",testnet:!0},x90={chain:"Avalanche",chainId:36746,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1213 Testnet",nativeCurrency:{name:"QaUser1213 Testnet Token",symbol:"ZKJ",decimals:18},networkId:36746,redFlags:[],rpc:["https://36746.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1213 Testnet",slug:"qauser1213-testnet",testnet:!0},I90={chain:"Avalanche",chainId:36908,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QR1205s1",nativeCurrency:{name:"QR1205s1 Token",symbol:"MDN",decimals:18},networkId:36908,redFlags:[],rpc:["https://36908.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1205s1/testnet/rpc"],shortName:"QR1205s1",slug:"qr1205s1",testnet:!0},E90={chain:"crtr-testnet",chainId:37003,explorers:[{name:"blockscout",url:"https://explorerl2new-crtr-testnet-mev0ni0xlx.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",width:512,height:512,format:"png"},name:"crtr-testnet",nativeCurrency:{name:"CRTR",symbol:"CRTR",decimals:18},networkId:37003,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-crtr-testnet-mev0ni0xlx.t.conduit.xyz"],shortName:"crtr-testnet-mev0ni0xlx",slug:"crtr-testnet",testnet:!0},D90={chain:"Avalanche",chainId:37195,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thari",nativeCurrency:{name:"Thari Token",symbol:"THARI",decimals:18},networkId:37195,redFlags:[],rpc:["https://37195.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thari/testnet/rpc"],shortName:"Thari",slug:"thari",testnet:!0},C90={chain:"Avalanche",chainId:37375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402057",nativeCurrency:{name:"QI M 2402057 Token",symbol:"ACI",decimals:18},networkId:37375,redFlags:[],rpc:["https://37375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402057",slug:"qi-m-2402057",testnet:!0},S90={chain:"Avalanche",chainId:37767,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnet 01-15",nativeCurrency:{name:"Tnet 01-15 Token",symbol:"LFC",decimals:18},networkId:37767,redFlags:[],rpc:["https://37767.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnet 01-15",slug:"tnet-01-15",testnet:!0},A90={chain:"Avalanche",chainId:38085,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0227I1",nativeCurrency:{name:"QI0227I1 Token",symbol:"ULH",decimals:18},networkId:38085,redFlags:[],rpc:["https://38085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0227I1",slug:"qi0227i1",testnet:!0},k90={chain:"Avalanche",chainId:38168,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0531S1T",nativeCurrency:{name:"QR0531S1T Token",symbol:"GKN",decimals:18},networkId:38168,redFlags:[],rpc:["https://38168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0531s1t/testnet/rpc"],shortName:"QR0531S1T",slug:"qr0531s1t",testnet:!0},P90={chain:"Rangers",chainId:38400,explorers:[{name:"rangersscan",url:"https://scan.rangersprotocol.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"cmRPG",decimals:18},networkId:38400,rpc:["https://38400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cm.rangersprotocol.com/api/jsonrpc"],shortName:"cmrpg",slug:"connectormanager",testnet:!1},R90={chain:"Rangers",chainId:38401,explorers:[{name:"rangersscan-robin",url:"https://robin-rangersscan.rangersprotocol.com",standard:"none"}],faucets:["https://robin-faucet.rangersprotocol.com"],icon:{url:"ipfs://QmXR5e5SDABWfQn6XT9uMsVYAo5Bv7vUv4jVs8DFqatZWG",width:2e3,height:2e3,format:"png"},infoURL:"https://rangersprotocol.com",name:"ConnectorManager Robin",nativeCurrency:{name:"Rangers Protocol Gas",symbol:"ttRPG",decimals:18},networkId:38401,rpc:["https://38401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://robin-cm.rangersprotocol.com/api/jsonrpc"],shortName:"ttrpg",slug:"connectormanager-robin",testnet:!1},L90={chain:"Avalanche",chainId:38904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1490 Testnet",nativeCurrency:{name:"QaUser1490 Testnet Token",symbol:"PNK",decimals:18},networkId:38904,redFlags:[],rpc:["https://38904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1490 Testnet",slug:"qauser1490-testnet",testnet:!0},M90={chain:"Avalanche",chainId:39098,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI 20240108",nativeCurrency:{name:"QI 20240108 Token",symbol:"COZ",decimals:18},networkId:39098,redFlags:[],rpc:["https://39098.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI 20240108",slug:"qi-20240108",testnet:!0},B90={chain:"Avalanche",chainId:39142,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST Found 1-05-24",nativeCurrency:{name:"ST Found 1-05-24 Token",symbol:"LGT",decimals:18},networkId:39142,redFlags:[],rpc:["https://39142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST Found 1-05-24",slug:"st-found-1-05-24",testnet:!0},N90={chain:"Avalanche",chainId:39585,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5884",nativeCurrency:{name:"QaUser5884 Token",symbol:"YRO",decimals:18},networkId:39585,redFlags:[],rpc:["https://39585.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5884",slug:"qauser5884",testnet:!0},F90={chain:"prm",chainId:39656,explorers:[{name:"Primal Network",url:"https://prmscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Mainnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:39656,rpc:["https://39656.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.prmscan.org"],shortName:"prm",slug:"prm",testnet:!1},O90={chain:"Avalanche",chainId:39747,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser41Testnet",nativeCurrency:{name:"QaUser41Testnet Token",symbol:"GYF",decimals:18},networkId:39747,redFlags:[],rpc:["https://39747.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser41Testnet",slug:"qauser41testnet",testnet:!0},V90={chain:"NRG",chainId:39797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Mainnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:39797,rpc:["https://39797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.energi.network"],shortName:"nrg",slip44:39797,slug:"energi",testnet:!1},$90={chain:"OHO",chainId:39815,explorers:[{name:"ohoscan",url:"https://ohoscan.com",standard:"EIP3091",icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZt75xixnEtFzqHTrJa8kJkV4cTXmUZqeMeHM8BcvomQc",width:512,height:512,format:"png"},infoURL:"https://oho.ai",name:"OHO Mainnet",nativeCurrency:{name:"OHO",symbol:"OHO",decimals:18},networkId:39815,rpc:["https://39815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.oho.ai"],shortName:"oho",slug:"oho",testnet:!1},U90={chain:"Avalanche",chainId:40100,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4426",nativeCurrency:{name:"QaUser4426 Token",symbol:"PMC",decimals:18},networkId:40100,redFlags:[],rpc:["https://40100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4426",slug:"qauser4426",testnet:!0},q90={chain:"Avalanche",chainId:40542,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I8",nativeCurrency:{name:"QI1212I8 Token",symbol:"HSCX",decimals:18},networkId:40542,redFlags:[],rpc:["https://40542.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I8",slug:"qi1212i8",testnet:!0},H90={chain:"Avalanche",chainId:40798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0109y1p",nativeCurrency:{name:"qr0109y1p Token",symbol:"KZP",decimals:18},networkId:40798,redFlags:[],rpc:["https://40798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0109y1p/testnet/rpc"],shortName:"qr0109y1p",slug:"qr0109y1p",testnet:!0},z90={chain:"Avalanche",chainId:40868,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5110 Testnet",nativeCurrency:{name:"QaUser5110 Testnet Token",symbol:"CRL",decimals:18},networkId:40868,redFlags:[],rpc:["https://40868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5110 Testnet",slug:"qauser5110-testnet",testnet:!0},W90={chain:"HMV",chainId:40875,explorers:[{name:"Blockscout",url:"https://explorer.testnet.oasys.homeverse.games/",standard:"EIP3091",icon:{url:"ipfs://QmXjuxNhhcTyKq6ens4xQwu2kCHXYWfYZY6FYUqDeDNQR4",width:512,height:512,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmXjuxNhhcTyKq6ens4xQwu2kCHXYWfYZY6FYUqDeDNQR4",width:512,height:512,format:"svg"},name:"Oasys Homeverse Testnet",nativeCurrency:{name:"Homeverse OAS",symbol:"OAS",decimals:18},networkId:40875,redFlags:[],rpc:["https://40875.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oasys.homeverse.games"],shortName:"HMV",slug:"oasys-homeverse-testnet",testnet:!0},j90={chain:"Avalanche",chainId:41077,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:41077,redFlags:[],rpc:["https://41077.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/testnet/rpc"],shortName:"REALLY",slug:"really",testnet:!0},G90={chain:"Avalanche",chainId:41425,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205I1",nativeCurrency:{name:"QR0205I1 Token",symbol:"PVW",decimals:18},networkId:41425,redFlags:[],rpc:["https://41425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205i1/testnet/rpc"],shortName:"QR0205I1",slug:"qr0205i1",testnet:!0},K90={chain:"Opulent-X",chainId:41500,explorers:[{name:"Opulent-X BETA Explorer",url:"https://explorer.opulent-x.com",standard:"none"}],faucets:[],infoURL:"https://beta.opulent-x.com",name:"Opulent-X BETA",nativeCurrency:{name:"Oxyn Gas",symbol:"OXYN",decimals:18},networkId:41500,rpc:["https://41500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://connect.opulent-x.com"],shortName:"ox-beta",slug:"opulent-x-beta",testnet:!1},Q90={chain:"Avalanche",chainId:41604,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LFC",decimals:18},networkId:41604,redFlags:[],rpc:["https://41604.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-41604",testnet:!0},Y90={chain:"Avalanche",chainId:41720,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0409s1 Testnet",nativeCurrency:{name:"QR0409s1 Testnet Token",symbol:"ZSP",decimals:18},networkId:41720,redFlags:[],rpc:["https://41720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0409s1/testnet/rpc"],shortName:"QR0409s1 Testnet",slug:"qr0409s1-testnet",testnet:!0},J90={chain:"Avalanche",chainId:41799,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's New Testnet",nativeCurrency:{name:"Will's New Testnet Token",symbol:"ZBO",decimals:18},networkId:41799,redFlags:[],rpc:["https://41799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's New Testnet",slug:"will-s-new-testnet",testnet:!0},X90={chain:"Avalanche",chainId:41847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T3TP",nativeCurrency:{name:"QR0606T3TP Token",symbol:"HRQ",decimals:18},networkId:41847,redFlags:[],rpc:["https://41847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t3tp/testnet/rpc"],shortName:"QR0606T3TP",slug:"qr0606t3tp",testnet:!0},Z90={chain:"DTZ",chainId:42026,explorers:[{name:"Blockscout",url:"https://explorer.donatuz.com",standard:"EIP3091",icon:{url:"ipfs://QmRfwNkpQ29BNtE9MMi8z4G6bUmnNNUqAjuz1eDpcbM1ZS",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRfwNkpQ29BNtE9MMi8z4G6bUmnNNUqAjuz1eDpcbM1ZS",width:512,height:512,format:"png"},name:"Donatuz",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42026,redFlags:[],rpc:["https://42026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.donatuz.com"],shortName:"DTZ",slug:"donatuz",testnet:!1},eg0={chain:"42069",chainId:42069,explorers:[],faucets:[],infoURL:"https://teampeggle.com",name:"pegglecoin",nativeCurrency:{name:"pegglecoin",symbol:"peggle",decimals:18},networkId:42069,rpc:[],shortName:"PC",slug:"pegglecoin",testnet:!1},tg0={chain:"AgentLayer",chainId:42072,explorers:[{name:"AgentLayer Testnet Explorer",url:"https://testnet-explorer.agentlayer.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmSj6SSWmBiRjnjZQPb17kvhGDmB9xAGRkG13RwPuXLTCT",width:512,height:512,format:"png"},infoURL:"https://agentlayer.xyz/home",name:"AgentLayer Testnet",nativeCurrency:{name:"Agent",symbol:"AGENT",decimals:18},networkId:42072,rpc:["https://42072.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.agentlayer.xyz"],shortName:"agent",slug:"agentlayer-testnet",testnet:!0},eOe={chain:"ETH",chainId:42161,explorers:[{name:"Arbiscan",url:"https://arbiscan.io",standard:"EIP3091"},{name:"Arbitrum Explorer",url:"https://explorer.arbitrum.io",standard:"EIP3091"},{name:"dexguru",url:"https://arbitrum.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io",name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42161,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://42161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}","https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}","https://arb1.arbitrum.io/rpc","https://arbitrum-one.publicnode.com","wss://arbitrum-one.publicnode.com"],shortName:"arb1",slug:"arbitrum",testnet:!1},ng0={chain:"ETH",chainId:42170,explorers:[{name:"Arbitrum Nova Chain Explorer",url:"https://nova-explorer.arbitrum.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://nova.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:[],infoURL:"https://arbitrum.io",name:"Arbitrum Nova",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42170,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.arbitrum.io"}]},rpc:["https://42170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.arbitrum.io/rpc","https://arbitrum-nova.publicnode.com","wss://arbitrum-nova.publicnode.com"],shortName:"arb-nova",slug:"arbitrum-nova",testnet:!1},CS={chain:"CELO",chainId:42220,explorers:[{name:"blockscout",url:"https://explorer.celo.org",standard:"none"},{name:"Celoscan",url:"https://celoscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZcLzM1nMeU2oxhLFBUGJyujQ4gKuWAdXBDGHVtDmzZxf",width:400,height:400,format:"png"},infoURL:"https://docs.celo.org/",name:"Celo Mainnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:42220,redFlags:[],rpc:["https://42220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://forno.celo.org","wss://forno.celo.org/ws"],shortName:"celo",slug:"celo",testnet:!1},ag0={chain:"Emerald",chainId:42261,explorers:[{name:"Oasis Emerald Testnet Explorer",url:"https://explorer.oasis.io/testnet/emerald",standard:"EIP3091"}],faucets:["https://faucet.testnet.oasis.io/"],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald Testnet",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42261,rpc:["https://42261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.emerald.oasis.io/","wss://testnet.emerald.oasis.io/ws"],shortName:"emerald-testnet",slip44:1,slug:"oasis-emerald-testnet",testnet:!0},rg0={chain:"Emerald",chainId:42262,explorers:[{name:"Oasis Emerald Explorer",url:"https://explorer.oasis.io/mainnet/emerald",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",width:2e3,height:2e3,format:"png"},infoURL:"https://docs.oasis.io/dapp/emerald",name:"Oasis Emerald",nativeCurrency:{name:"Emerald Rose",symbol:"ROSE",decimals:18},networkId:42262,rpc:["https://42262.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://emerald.oasis.io","wss://emerald.oasis.io/ws"],shortName:"emerald",slug:"oasis-emerald",testnet:!1},ig0={chain:"GoldX",chainId:42355,explorers:[{name:"GoldXChain Explorer",url:"https://explorer.goldxchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://goldxchain.io",name:"GoldXChain Mainnet",nativeCurrency:{name:"GoldX",symbol:"GOLDX",decimals:18},networkId:42355,rpc:["https://42355.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.goldxchain.io"],shortName:"goldx",slug:"goldxchain",testnet:!1},sg0={chain:"Avalanche",chainId:42451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1220s1",nativeCurrency:{name:"QI1220s1 Token",symbol:"BKX",decimals:18},networkId:42451,redFlags:[],rpc:["https://42451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1220s1",slug:"qi1220s1",testnet:!0},fg0={chain:"ZKFair",chainId:42766,explorers:[{name:"blockscout",url:"https://scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Mainnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:42766,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://wallet.zkfair.io"}]},rpc:["https://42766.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkfair.io"],shortName:"ZKFair-Mainnet",slug:"zkfair",testnet:!1,title:"ZKFair Mainnet"},og0={chain:"Etherlink",chainId:42793,explorers:[{name:"Etherlink Explorer",url:"https://explorer.etherlink.com",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:584,height:545,format:"png"},infoURL:"https://etherlink.com",name:"Etherlink Mainnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:42793,rpc:["https://42793.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.mainnet.etherlink.com"],shortName:"etlk",slug:"etherlink",testnet:!1},cg0={chain:"Gesoten Verse",chainId:42801,explorers:[{name:"Gesoten Verse Testnet Explorer",url:"https://explorer.testnet.verse.gesoten.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmb7oJY9zd9sTzxNNQNTVZQz2hkd1aA94mWm4cvXfJ9QxV",width:1280,height:1280,format:"png"},infoURL:"https://gesoten.com/",name:"Gesoten Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:42801,rpc:["https://42801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.verse.gesoten.com/"],shortName:"GST",slip44:1,slug:"gesoten-verse-testnet",testnet:!0},dg0={chain:"Avalanche",chainId:42840,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"DQX",decimals:18},networkId:42840,redFlags:[],rpc:["https://42840.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-42840",testnet:!0},lg0={chain:"ETH",chainId:42888,explorers:[{name:"kintoscan",url:"http://35.215.120.180:4000",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://ethereum.org",name:"Kinto Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:42888,rpc:["https://42888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://35.215.120.180:8545"],shortName:"keth",slip44:1,slug:"kinto-testnet",testnet:!0,title:"Kinto Testnet"},pg0={chain:"ATH",chainId:43110,explorers:[],faucets:["http://athfaucet.ava.network//?address=${ADDRESS}"],infoURL:"https://athereum.ava.network",name:"Athereum",nativeCurrency:{name:"Athereum Ether",symbol:"ATH",decimals:18},networkId:43110,rpc:["https://43110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ava.network:21015/ext/evm/rpc"],shortName:"avaeth",slug:"athereum",testnet:!1},ug0={chain:"ETH",chainId:43111,explorers:[],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:43111,parent:{type:"L2",chain:"eip155-1"},rpc:[],shortName:"hemi",slug:"hemi-network",status:"incubating",testnet:!1},tOe={chain:"AVAX",chainId:43113,explorers:[{name:"snowtrace",url:"https://testnet.snowtrace.io",standard:"EIP3091"}],faucets:["https://faucet.avax-test.network/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://cchain.explorer.avax-test.network",name:"Avalanche Fuji Testnet",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43113,redFlags:[],rpc:["https://43113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.avax-test.network/ext/bc/C/rpc","https://avalanche-fuji-c-chain-rpc.publicnode.com","wss://avalanche-fuji-c-chain-rpc.publicnode.com"],shortName:"Fuji",slip44:1,slug:"avalanche-fuji",testnet:!0},nOe={chain:"AVAX",chainId:43114,explorers:[{name:"snowtrace",url:"https://snowtrace.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/avalanche/512.png",width:512,height:512,format:"png"},infoURL:"https://www.avax.network/",name:"Avalanche C-Chain",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:43114,redFlags:[],rpc:["https://43114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avalanche-mainnet.infura.io/v3/${INFURA_API_KEY}","https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com","wss://avalanche-c-chain-rpc.publicnode.com"],shortName:"avax",slip44:9005,slug:"avalanche",testnet:!1},yg0={chain:"Avalanche",chainId:43125,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3950 Testnet",nativeCurrency:{name:"QaUser3950 Testnet Token",symbol:"SZL",decimals:18},networkId:43125,redFlags:[],rpc:["https://43125.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3950 Testnet",slug:"qauser3950-testnet",testnet:!0},mg0={chain:"Boba Avax",chainId:43288,explorers:[{name:"Boba Avax Explorer",url:"https://blockexplorer.avax.boba.network",standard:"none"}],faucets:[],infoURL:"https://docs.boba.network/for-developers/network-avalanche",name:"Boba Avax",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:43288,rpc:["https://43288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://avax.boba.network","wss://wss.avax.boba.network","https://replica.avax.boba.network","wss://replica-wss.avax.boba.network"],shortName:"bobaavax",slug:"boba-avax",status:"deprecated",testnet:!1},bg0={chain:"Avalanche",chainId:43593,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1596",nativeCurrency:{name:"QaUser1596 Token",symbol:"VNE",decimals:18},networkId:43593,redFlags:[],rpc:["https://43593.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1596",slug:"qauser1596",testnet:!0},hg0={chain:"ETH",chainId:43851,explorers:[{name:"ZKFair Testnet Info",url:"https://testnet-scan.zkfair.io",standard:"EIP3091",icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",width:400,height:400,format:"jpg"},infoURL:"https://zkfair.io",name:"ZKFair Testnet",nativeCurrency:{name:"USDC Token",symbol:"USDC",decimals:18},networkId:43851,rpc:["https://43851.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.zkfair.io"],shortName:"ZKFair-Testnet",slip44:1,slug:"zkfair-testnet",testnet:!0},gg0={chain:"Avalanche",chainId:43994,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T1TP",nativeCurrency:{name:"QR0606T1TP Token",symbol:"HRQ",decimals:18},networkId:43994,redFlags:[],rpc:["https://43994.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t1tp/testnet/rpc"],shortName:"QR0606T1TP",slug:"qr0606t1tp",testnet:!0},vg0={chain:"Avalanche",chainId:44044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 240530 TEST INTEROP",nativeCurrency:{name:"QIM 240530 TEST INTEROP Token",symbol:"WCC",decimals:18},networkId:44044,redFlags:[],rpc:["https://44044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qim240530t/testnet/rpc"],shortName:"QIM 240530 TEST INTEROP",slug:"qim-240530-test-interop",testnet:!0},Tg0={chain:"fren",chainId:44444,explorers:[{name:"blockscout",url:"https://frenscan.io",standard:"EIP3091",icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQk41bYX6WpYyUAdRgomZekxP5mbvZXhfxLEEqtatyJv4",width:128,height:128,format:"png"},infoURL:"https://frenchain.app",name:"Frenchain",nativeCurrency:{name:"FREN",symbol:"FREN",decimals:18},networkId:44444,rpc:["https://44444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-02.frenscan.io"],shortName:"FREN",slug:"frenchain",testnet:!1},_g0={chain:"Quantum",chainId:44445,explorers:[{name:"Quantum Explorer",url:"https://qtm.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://avescoin.io/",name:"Quantum Network",nativeCurrency:{name:"Quantum",symbol:"QTM",decimals:18},networkId:44445,rpc:["https://44445.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcqtm.avescoin.io"],shortName:"QTM",slug:"quantum-network",testnet:!1},SS={chain:"CELO",chainId:44787,explorers:[{name:"Alfajoresscan",url:"https://alfajores.celoscan.io",standard:"EIP3091",icon:{url:"ipfs://QmZcLzM1nMeU2oxhLFBUGJyujQ4gKuWAdXBDGHVtDmzZxf",width:400,height:400,format:"png"}}],faucets:["https://celo.org/developers/faucet","https://cauldron.pretoriaresearchlab.io/alfajores-faucet"],features:[],icon:{url:"ipfs://QmZcLzM1nMeU2oxhLFBUGJyujQ4gKuWAdXBDGHVtDmzZxf",width:400,height:400,format:"png"},infoURL:"https://docs.celo.org/",name:"Celo Alfajores Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:44787,redFlags:[],rpc:["https://44787.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alfajores-forno.celo-testnet.org","wss://alfajores-forno.celo-testnet.org/ws"],shortName:"ALFA",slip44:1,slug:"celo-alfajores-testnet",testnet:!0},wg0={chain:"Avalanche",chainId:44808,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"klCohan Testnet",nativeCurrency:{name:"klCohan Testnet Token",symbol:"DBM",decimals:18},networkId:44808,redFlags:[],rpc:["https://44808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/d2b6bd35-89f7-4019-bc88-643c31221e5c"],shortName:"klCohan Testnet",slug:"klcohan-testnet",testnet:!0},xg0={chain:"Avalanche",chainId:44850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"WJN",decimals:18},networkId:44850,redFlags:[],rpc:["https://44850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet",testnet:!0},Ig0={chain:"TXL",chainId:45e3,explorers:[{name:"autobahn explorer",url:"https://explorer.autobahn.network",standard:"EIP3091",icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"}}],faucets:[],icon:{url:"ipfs://QmZP19pbqTco4vaP9siduLWP8pdYArFK3onfR55tvjr12s",width:489,height:489,format:"png"},infoURL:"https://autobahn.network",name:"Autobahn Network",nativeCurrency:{name:"TXL",symbol:"TXL",decimals:18},networkId:45e3,rpc:["https://45000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.autobahn.network"],shortName:"AutobahnNetwork",slug:"autobahn-network",testnet:!1},Eg0={chain:"SWP",chainId:45454,explorers:[{name:"blockscout",url:"https://swamps-explorer.tc.l2aas.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTEEgWsknzdqjLbaAvLHqCCzCtMJZh2d1SqMscxZCXBwA",width:150,height:150,format:"png"},infoURL:"https://www.swamps.fi",name:"Swamps L2",nativeCurrency:{name:"SWP",symbol:"SWP",decimals:18},networkId:45454,rpc:["https://45454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://swamps.tc.l2aas.com"],shortName:"SWP",slug:"swamps-l2",testnet:!1},Dg0={chain:"DEE",chainId:45510,explorers:[{name:"Deelance Mainnet Explorer",url:"https://deescan.com",standard:"EIP3091"}],faucets:["https://faucet.deelance.com"],icon:{url:"ipfs://Qmay2j8biuo5xLJL8NcLtrzubAEHuCWz65cdbKE1pSnGf6",width:500,height:500,format:"png"},infoURL:"https://deelance.com",name:"Deelance Mainnet",nativeCurrency:{name:"Deelance",symbol:"DEE",decimals:18},networkId:45510,rpc:["https://45510.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deelance.com"],shortName:"dee",slug:"deelance",testnet:!1,title:"Deelance Network Mainnet"},Cg0={chain:"Avalanche",chainId:45544,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6609 Testnet",nativeCurrency:{name:"QaUser6609 Testnet Token",symbol:"NHU",decimals:18},networkId:45544,redFlags:[],rpc:["https://45544.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6609 Testnet",slug:"qauser6609-testnet",testnet:!0},Sg0={chain:"Avalanche",chainId:45979,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5277 Testnet",nativeCurrency:{name:"QaUser5277 Testnet Token",symbol:"LWR",decimals:18},networkId:45979,redFlags:[],rpc:["https://45979.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5277 Testnet",slug:"qauser5277-testnet",testnet:!0},Ag0={chain:"Avalanche",chainId:46092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0213I1",nativeCurrency:{name:"QI0213I1 Token",symbol:"ORR",decimals:18},networkId:46092,redFlags:[],rpc:["https://46092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/f0aae4b1-a373-43ed-9e61-ba61d42131bb"],shortName:"QI0213I1",slug:"qi0213i1",testnet:!0},kg0={chain:"Avalanche",chainId:46109,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0224t1tp Testnet",nativeCurrency:{name:"qr0224t1tp Testnet Token",symbol:"CRH",decimals:18},networkId:46109,redFlags:[],rpc:["https://46109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0224t1tp/testnet/rpc"],shortName:"qr0224t1tp Testnet",slug:"qr0224t1tp-testnet",testnet:!0},Pg0={chain:"Avalanche",chainId:46145,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I2",nativeCurrency:{name:"QI0520I2 Token",symbol:"YZG",decimals:18},networkId:46145,redFlags:[],rpc:["https://46145.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I2",slug:"qi0520i2",testnet:!0},Rg0={chain:"Avalanche",chainId:46565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s2",nativeCurrency:{name:"QI0430s2 Token",symbol:"SWS",decimals:18},networkId:46565,redFlags:[],rpc:["https://46565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s2",slug:"qi0430s2",testnet:!0},Lg0={chain:"FSN",chainId:46688,explorers:[{name:"fsnscan",url:"https://testnet.fsnscan.com",standard:"EIP3091",icon:{url:"ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",width:48,height:51,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",width:31,height:31,format:"svg"},infoURL:"https://fusion.org",name:"Fusion Testnet",nativeCurrency:{name:"Testnet Fusion",symbol:"T-FSN",decimals:18},networkId:46688,rpc:["https://46688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.fusionnetwork.io","wss://testnet.fusionnetwork.io"],shortName:"tfsn",slip44:1,slug:"fusion-testnet",testnet:!0},Mg0={chain:"Avalanche",chainId:47157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Avaland Testnet",nativeCurrency:{name:"Avaland Testnet Token",symbol:"AVA",decimals:18},networkId:47157,redFlags:[],rpc:["https://47157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/avalandtes/testnet/rpc"],shortName:"Avaland Testnet",slug:"avaland-testnet",testnet:!0},Bg0={chain:"REI",chainId:47805,explorers:[{name:"rei-scan",url:"https://scan.rei.network",standard:"none"}],faucets:[],infoURL:"https://rei.network/",name:"REI Network",nativeCurrency:{name:"REI",symbol:"REI",decimals:18},networkId:47805,rpc:["https://47805.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rei.network","wss://rpc.rei.network"],shortName:"REI",slug:"rei-network",testnet:!1},Ng0={chain:"Avalanche",chainId:47992,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2555",nativeCurrency:{name:"QaUser2555 Token",symbol:"PRY",decimals:18},networkId:47992,redFlags:[],rpc:["https://47992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2555",slug:"qauser2555",testnet:!0},Fg0={chain:"Avalanche",chainId:48137,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9608 Testnet",nativeCurrency:{name:"QaUser9608 Testnet Token",symbol:"ASI",decimals:18},networkId:48137,redFlags:[],rpc:["https://48137.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9608 Testnet",slug:"qauser9608-testnet",testnet:!0},Og0={chain:"Avalanche",chainId:48267,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I2",nativeCurrency:{name:"QI0130I2 Token",symbol:"NZY",decimals:18},networkId:48267,redFlags:[],rpc:["https://48267.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I2",slug:"qi0130i2",testnet:!0},Vg0={chain:"Avalanche",chainId:48702,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"LUG",decimals:18},networkId:48702,redFlags:[],rpc:["https://48702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-48702",testnet:!0},$g0={chain:"Avalanche",chainId:48795,explorers:[{name:"SPACE Explorer",url:"https://subnets-test.avax.network/space",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Space",nativeCurrency:{name:"Space Token",symbol:"FUEL",decimals:18},networkId:48795,redFlags:[],rpc:["https://48795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/space/testnet/rpc"],shortName:"Space",slug:"space-space",testnet:!0},Ug0={chain:"Zircuit Testnet",chainId:48899,explorers:[{name:"Zircuit",url:"https://explorer.zircuit.com",standard:"none",icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"},infoURL:"https://www.zircuit.com/",name:"Zircuit Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:48899,rpc:["https://48899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zircuit1.p2pify.com/"],shortName:"zircuit-testnet",slug:"zircuit-testnet",testnet:!0},qg0={chain:"Zircuit Mainnet",chainId:48900,explorers:[],faucets:[],icon:{url:"ipfs://QmV4nUUiRaTTZSyWubpF98ZL9jNCoXkrgg6AWR6FKqdxMk",width:256,height:256,format:"png"},infoURL:"https://www.zircuit.com/",name:"Zircuit Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:48900,rpc:[],shortName:"zircuit-mainnet",slug:"zircuit",testnet:!1},Hg0={chain:"Wireshape",chainId:49049,explorers:[{name:"Wire Explorer",url:"https://floripa-explorer.wireshape.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTAyT3YrW2654CBRqRkec2cCznv6EBsbsRc2y6WQPbvXx",width:1280,height:1280,format:"png"},infoURL:"https://wireshape.org",name:"Wireshape Floripa Testnet",nativeCurrency:{name:"WIRE",symbol:"WIRE",decimals:18},networkId:49049,rpc:["https://49049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-floripa.wireshape.org"],shortName:"floripa",slip44:1,slug:"wireshape-floripa-testnet",testnet:!0,title:"Wireshape Floripa Testnet"},zg0={chain:"Avalanche",chainId:49053,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5759 Testnet",nativeCurrency:{name:"QaUser5759 Testnet Token",symbol:"ATZ",decimals:18},networkId:49053,redFlags:[],rpc:["https://49053.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5759 Testnet",slug:"qauser5759-testnet",testnet:!0},Wg0={chain:"BFC",chainId:49088,explorers:[{name:"explorer-thebifrost",url:"https://explorer.testnet.bifrostnetwork.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmYxniqbiFD7nXBNjN8boUhoXYEAW23YquArD2Rnkq8WHS",width:480,height:480,format:"png"},infoURL:"https://bifrostnetwork.com",name:"Bifrost Testnet",nativeCurrency:{name:"Bifrost",symbol:"BFC",decimals:18},networkId:49088,rpc:["https://49088.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-01.testnet.bifrostnetwork.com/rpc","https://public-02.testnet.bifrostnetwork.com/rpc"],shortName:"tbfc",slip44:1,slug:"bifrost-testnet",testnet:!0,title:"Bifrost Network Testnet"},jg0={chain:"tGUN",chainId:49321,explorers:[{name:"blockscout",url:"https://testnet.gunzscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5R5khFePwY9dYBGhjRA1rGtUAKaHg7Z2B7mBrbA6TiB",width:512,height:512,format:"png"},infoURL:"https://gunbygunz.com",name:"GUNZ Testnet",nativeCurrency:{name:"GUN",symbol:"GUN",decimals:18},networkId:49321,rpc:["https://49321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gunz.dev/ext/bc/ryk9vkvNuKtewME2PeCgybo9sdWXGmCkBrrx4VPuZPdVdAak8/rpc"],shortName:"Stork",slug:"gunz-testnet",testnet:!0},Gg0={chain:"NRG",chainId:49797,explorers:[],faucets:[],infoURL:"https://www.energi.world/",name:"Energi Testnet",nativeCurrency:{name:"Energi",symbol:"NRG",decimals:18},networkId:49797,rpc:["https://49797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nodeapi.test.energi.network"],shortName:"tnrg",slip44:1,slug:"energi-testnet",testnet:!0},Kg0={chain:"Avalanche",chainId:49995,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0606T2TP",nativeCurrency:{name:"QR0606T2TP Token",symbol:"HRQ",decimals:18},networkId:49995,redFlags:[],rpc:["https://49995.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0606t2tp/testnet/rpc"],shortName:"QR0606T2TP",slug:"qr0606t2tp",testnet:!0},Qg0={chain:"Liveplex OracleEVM Network",chainId:50001,explorers:[],faucets:[],name:"Liveplex OracleEVM",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:50001,rpc:["https://50001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.oracle.liveplex.io"],shortName:"LOE",slug:"liveplex-oracleevm",testnet:!1},Yg0={chain:"Yooldo Verse",chainId:50005,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50005,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.yooldo-verse.xyz/"],shortName:"YVM",slug:"yooldo-verse",testnet:!1},Jg0={chain:"Yooldo Verse",chainId:50006,explorers:[{name:"Yooldo Verse Explorer",url:"https://explorer.testnet.yooldo-verse.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWvfA2usnYp1ktzLcqFS8eTLgdp4ifrxjiify46KyG9NZ",width:512,height:512,format:"png"},infoURL:"https://yooldo.gg/",name:"Yooldo Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:50006,parent:{type:"L2",chain:"eip155-248"},rpc:["https://50006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.yooldo-verse.xyz/"],shortName:"YVT",slip44:1,slug:"yooldo-verse-testnet",testnet:!0},Xg0={chain:"GTON Testnet",chainId:50021,explorers:[{name:"GTON Testnet Network Explorer",url:"https://explorer.testnet.gton.network",standard:"EIP3091"}],faucets:[],infoURL:"https://gton.capital",name:"GTON Testnet",nativeCurrency:{name:"GCD",symbol:"GCD",decimals:18},networkId:50021,parent:{type:"L2",chain:"eip155-3"},rpc:["https://50021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gton.network/"],shortName:"tgton",slip44:1,slug:"gton-testnet",testnet:!0},Zg0={chain:"Avalanche",chainId:50059,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"MPX",decimals:18},networkId:50059,redFlags:[],rpc:["https://50059.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet",testnet:!0},ev0={chain:"BTC",chainId:50097,explorers:[{name:"Zytron Explorer",url:"http://b2-testnet-zytron-blockscout.zypher.game/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/bafybeiaav4gyweksnce4asrkqxxjevkpcx7xol6a72kzihrhppb5p5z6aa/zytron_T_white.png",width:1420,height:400,format:"png"},name:"Zytron B2 Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:50097,redFlags:[],rpc:[],shortName:"zytron-b2-testnet",slug:"zytron-b2-testnet",testnet:!0},tv0={chain:"Avalanche",chainId:50528,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9606 Testnet",nativeCurrency:{name:"QaUser9606 Testnet Token",symbol:"JTW",decimals:18},networkId:50528,redFlags:[],rpc:["https://50528.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9606 Testnet",slug:"qauser9606-testnet",testnet:!0},nv0={chain:"Avalanche",chainId:51161,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I6",nativeCurrency:{name:"QI1212I6 Token",symbol:"HSCX",decimals:18},networkId:51161,redFlags:[],rpc:["https://51161.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I6",slug:"qi1212i6",testnet:!0},av0={chain:"Avalanche",chainId:51173,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1544",nativeCurrency:{name:"QaUser1544 Token",symbol:"ECX",decimals:18},networkId:51173,redFlags:[],rpc:["https://51173.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1544",slug:"qauser1544",testnet:!0},rv0={chain:"ETH",chainId:51178,explorers:[{name:"LumozTestnetInfo",url:"https://lumoz.info",standard:"EIP3091",icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZnE2ygPL2ZGuzHGvFCHmrqxwdurrhz3K1yPnwLzKbgay",width:401,height:400,format:"png"},infoURL:"https://lumoz.org",name:"Lumoz Testnet Alpha",nativeCurrency:{name:"Lumoz Test Token",symbol:"MOZ",decimals:18},networkId:51178,rpc:["https://51178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-us-http-geth.lumoz.org","https://alpha-hk-http-geth.lumoz.org"],shortName:"Lumoz-Testnet",slip44:1,slug:"lumoz-testnet-alpha",testnet:!0},iv0={chain:"Avalanche",chainId:51277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0344s1 Testne",nativeCurrency:{name:"QI0344s1 Testne Token",symbol:"LKG",decimals:18},networkId:51277,redFlags:[],rpc:["https://51277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0344s1 Testne",slug:"qi0344s1-testne",testnet:!0},sv0={chain:"Avalanche",chainId:51290,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Test Using Resources",nativeCurrency:{name:"Test Using Resources Token",symbol:"JMH",decimals:18},networkId:51290,redFlags:[],rpc:["https://51290.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testsize2/testnet/rpc"],shortName:"Test Using Resources",slug:"test-using-resources",testnet:!0},fv0={chain:"Avalanche",chainId:51435,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0410s1d Testnet",nativeCurrency:{name:"QR0410s1d Testnet Token",symbol:"CWV",decimals:18},networkId:51435,redFlags:[],rpc:["https://51435.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0410s1d/testnet/rpc"],shortName:"QR0410s1d Testnet",slug:"qr0410s1d-testnet",testnet:!0},ov0={chain:"Avalanche",chainId:51440,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s4",nativeCurrency:{name:"QI0430s4 Token",symbol:"SWS",decimals:18},networkId:51440,redFlags:[],rpc:["https://51440.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s4",slug:"qi0430s4",testnet:!0},cv0={chain:"SRDX",chainId:51712,explorers:[{name:"Sardis",url:"https://contract-mainnet.sardisnetwork.com",standard:"EIP3091"}],faucets:["https://faucet.sardisnetwork.com"],icon:{url:"ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",width:512,height:512,format:"png"},infoURL:"https://mysardis.com",name:"Sardis Mainnet",nativeCurrency:{name:"Sardis",symbol:"SRDX",decimals:18},networkId:51712,rpc:["https://51712.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.sardisnetwork.com"],shortName:"SRDXm",slug:"sardis",testnet:!1},dv0={chain:"Avalanche",chainId:51740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"VGW",decimals:18},networkId:51740,redFlags:[],rpc:["https://51740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet",testnet:!0},lv0={chain:"Electroneum",chainId:52014,explorers:[{name:"blockscout",url:"https://blockexplorer.electroneum.com",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Mainnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:52014,rpc:["https://52014.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.electroneum.com"],shortName:"etn-mainnet",slug:"electroneum",testnet:!1},pv0={chain:"Avalanche",chainId:52146,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4359 Testnet",nativeCurrency:{name:"QaUser4359 Testnet Token",symbol:"WBP",decimals:18},networkId:52146,redFlags:[],rpc:["https://52146.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4359 Testnet",slug:"qauser4359-testnet",testnet:!0},uv0={chain:"Avalanche",chainId:52150,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I1 Testnet",nativeCurrency:{name:"QI0304I1 Testnet Token",symbol:"LOD",decimals:18},networkId:52150,redFlags:[],rpc:["https://52150.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I1 Testnet",slug:"qi0304i1-testnet",testnet:!0},yv0={chain:"Avalanche",chainId:53123,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Metasky",nativeCurrency:{name:"Metasky Token",symbol:"MSK",decimals:18},networkId:53123,redFlags:[],rpc:["https://53123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/metasky/testnet/rpc"],shortName:"Metasky",slug:"metasky",testnet:!0},mv0={chain:"DOID",chainId:53277,explorers:[{name:"DOID Scan",url:"https://scan.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:53277,rpc:["https://53277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.doid.tech"],shortName:"DOID",slug:"doid",testnet:!1},bv0={chain:"Superseed Sepolia Testnet",chainId:53302,explorers:[{name:"blockscout",url:"https://sepolia-explorer.superseed.xyz",standard:"EIP3091",icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"}}],faucets:["https://sepoliafaucet.com"],features:[],icon:{url:"ipfs://QmSyw4AhwGALxb17qWLZgzpHJksqdqNvWuNrhuoMPfb61C",width:512,height:512,format:"svg"},infoURL:"https://www.superseed.xyz",name:"Superseed Sepolia Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:53302,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia-bridge.superseed.xyz/"}]},redFlags:[],rpc:["https://53302.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.superseed.xyz","wss://sepolia.superseed.xyz"],shortName:"superseed-sepolia-testnet",slip44:1,slug:"superseed-sepolia-testnet",testnet:!0},hv0={chain:"Avalanche",chainId:53383,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"GNF",decimals:18},networkId:53383,redFlags:[],rpc:["https://53383.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c37c3f83-6d95-4473-b5c7-626fad519f50"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-53383",testnet:!0},gv0={chain:"Avalanche",chainId:53399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I4",nativeCurrency:{name:"QI0603I4 Token",symbol:"UQI",decimals:18},networkId:53399,redFlags:[],rpc:["https://53399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I4",slug:"qi0603i4",testnet:!0},vv0={chain:"DODOchain",chainId:53457,explorers:[{name:"DODOchain Testnet (Sepolia) Explorer",url:"https://testnet-scan.dodochain.com",standard:"EIP3091",icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQDdZQjpKhrVM62479RTzppUG8QHhHd8Bq4RFYAjN1yf4",width:160,height:160,format:"png"},infoURL:"https://www.dodochain.com",name:"DODOchain testnet",nativeCurrency:{name:"DODO",symbol:"DODO",decimals:18},networkId:53457,rpc:["https://53457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dodochain-testnet.alt.technology","wss://dodochain-testnet.alt.technology/ws"],shortName:"dodochain",slug:"dodochain-testnet",testnet:!0,title:"DODOchain testnet"},Tv0={chain:"Avalanche",chainId:53654,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0610S1TS",nativeCurrency:{name:"QI0610S1TS Token",symbol:"TQA",decimals:18},networkId:53654,redFlags:[],rpc:["https://53654.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0610S1TS",slug:"qi0610s1ts",testnet:!0},_v0={chain:"Avalanche",chainId:53687,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0409s1 Testnet",nativeCurrency:{name:"QI0409s1 Testnet Token",symbol:"QCE",decimals:18},networkId:53687,redFlags:[],rpc:["https://53687.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0409s1 Testnet",slug:"qi0409s1-testnet",testnet:!0},wv0={chain:"DFK",chainId:53935,explorers:[{name:"ethernal",url:"https://explorer.dfkchain.com",standard:"none",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQB48m15TzhUFrmu56QCRQjkrkgUaKfgCmKE8o3RzmuPJ",width:500,height:500,format:"png"},infoURL:"https://defikingdoms.com",name:"DFK Chain",nativeCurrency:{name:"Jewel",symbol:"JEWEL",decimals:18},networkId:53935,redFlags:[],rpc:["https://53935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc","https://avax-pokt.nodies.app/ext/bc/q2aTwKuyzgs8pynF7UXBZCU7DejbZbZ6EUyHr3JQzYgwNPUPi/rpc"],shortName:"DFK",slug:"dfk-chain",testnet:!1},xv0={chain:"TestEdge2",chainId:54211,explorers:[{name:"TestEdge HAQQ Explorer",url:"https://explorer.testedge2.haqq.network",standard:"EIP3091"}],faucets:["https://testedge2.haqq.network"],infoURL:"https://islamiccoin.net",name:"Haqq Chain Testnet",nativeCurrency:{name:"Islamic Coin",symbol:"ISLMT",decimals:18},networkId:54211,rpc:["https://54211.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.eth.testedge2.haqq.network"],shortName:"ISLMT",slip44:1,slug:"haqq-chain-testnet",testnet:!0},Iv0={chain:"Toronet",chainId:54321,ens:{registry:"0x059C474f26D65B0458F9da10A649a7322aB02C09"},explorers:[{name:"toronet_explorer",url:"https://testnet.toronet.org",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Testnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:54321,rpc:["https://54321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.toronet.org/rpc"],shortName:"ToronetTestnet",slip44:1,slug:"toronet-testnet",testnet:!0},Ev0={chain:"Avalanche",chainId:54356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon's Testnet",nativeCurrency:{name:"Jambon's Testnet Token",symbol:"ZEG",decimals:18},networkId:54356,redFlags:[],rpc:["https://54356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e6f00b45-8486-445d-b3b8-815708aab379"],shortName:"Jambon's Testnet",slug:"jambon-s-testnet-jambon's testnet-54356",testnet:!0},Dv0={chain:"Avalanche",chainId:54414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Innovo Markets Testnet",nativeCurrency:{name:"Innovo Markets Testnet Token",symbol:"INN",decimals:18},networkId:54414,redFlags:[],rpc:["https://54414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/innovomark/testnet/rpc"],shortName:"Innovo Markets Testnet",slug:"innovo-markets-testnet",testnet:!0},Cv0={chain:"Avalanche",chainId:54454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405063 INTEROP NO PRECOMPILE",nativeCurrency:{name:"QIM2405063 INTEROP NO PRECOMPILE Token",symbol:"BLY",decimals:18},networkId:54454,redFlags:[],rpc:["https://54454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405063 INTEROP NO PRECOMPILE",slug:"qim2405063-interop-no-precompile",testnet:!0},Sv0={chain:"Photon",chainId:54555,explorers:[{name:"photon_testnet_explorer",url:"https://testnet.photonchain.io",standard:"none"}],faucets:["https://photonchain.io/airdrop"],infoURL:"https://photonchain.io",name:"Photon Testnet",nativeCurrency:{name:"Photon",symbol:"PTON",decimals:18},networkId:54555,rpc:["https://54555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.photonchain.io"],shortName:"pton",slug:"photon-testnet",testnet:!0},Av0={chain:"Avalanche",chainId:54688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"ILF",decimals:18},networkId:54688,redFlags:[],rpc:["https://54688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1",testnet:!0},kv0={chain:"Avalanche",chainId:54763,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3051 Testnet",nativeCurrency:{name:"QaUser3051 Testnet Token",symbol:"DSX",decimals:18},networkId:54763,redFlags:[],rpc:["https://54763.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3051 Testnet",slug:"qauser3051-testnet",testnet:!0},Pv0={chain:"ETH",chainId:55004,explorers:[{name:"blockscout",url:"https://explorer.titan.tokamak.network",standard:"EIP3091"}],faucets:[],infoURL:"https://tokamak.network",name:"Titan",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:55004,rpc:["https://55004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.titan.tokamak.network","wss://rpc.titan.tokamak.network"],shortName:"teth",slug:"titan",testnet:!1},Rv0={chain:"Avalanche",chainId:55200,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5256",nativeCurrency:{name:"QaUser5256 Token",symbol:"UDQ",decimals:18},networkId:55200,redFlags:[],rpc:["https://55200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5256",slug:"qauser5256",testnet:!0},Lv0={chain:"Avalanche",chainId:55239,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne",nativeCurrency:{name:"Borne Token",symbol:"BORNE",decimals:18},networkId:55239,redFlags:[],rpc:["https://55239.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bornefdn-w00dd.avax-test.network/ext/bc/28ACsxrnCZoTyUGTgrHxeht4WugDsW9jwdADNFDSBZivaVMxS6/rpc?token=6228963b69d441e8881b5db9611f41e1aec0c0bb0b4b979a7dc6926d2743c18c"],shortName:"Borne",slug:"borne",testnet:!0},Mv0={chain:"Avalanche",chainId:55246,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6469",nativeCurrency:{name:"QaUser6469 Token",symbol:"ZZX",decimals:18},networkId:55246,redFlags:[],rpc:["https://55246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6469",slug:"qauser6469",testnet:!0},Bv0={chain:"Avalanche",chainId:55432,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM DEMO 0527",nativeCurrency:{name:"QIM DEMO 0527 Token",symbol:"WCC",decimals:18},networkId:55432,redFlags:[],rpc:["https://55432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qimdemo052/testnet/rpc"],shortName:"QIM DEMO 0527",slug:"qim-demo-0527",testnet:!0},Nv0={chain:"REI",chainId:55555,explorers:[{name:"reiscan",url:"https://reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55555"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Mainnet",nativeCurrency:{name:"Rei",symbol:"REI",decimals:18},networkId:55555,rpc:["https://55555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-rpc.moonrhythm.io"],shortName:"reichain",slug:"rei-chain",testnet:!1},Fv0={chain:"REI",chainId:55556,explorers:[{name:"reiscan",url:"https://testnet.reiscan.com",standard:"EIP3091"}],faucets:["http://kururu.finance/faucet?chainId=55556"],icon:{url:"ipfs://QmNy5d5knHVjJJS9g4kLsh9i73RTjckpKL6KZvRk6ptbhf",width:591,height:591,format:"svg"},infoURL:"https://reichain.io",name:"REI Chain Testnet",nativeCurrency:{name:"tRei",symbol:"tREI",decimals:18},networkId:55556,rpc:["https://55556.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rei-testnet-rpc.moonrhythm.io"],shortName:"trei",slip44:1,slug:"rei-chain-testnet",testnet:!0},Ov0={chain:"FLA",chainId:55614,explorers:[{name:"Blockscout",url:"https://flascan.net",standard:"EIP3091",icon:{url:"ipfs://Qmf1qTbwQwPgsc4btKKxgR7vbqWGSCXjRynScPvxAe8Nzq",width:112,height:112,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmPQ1kPJPUMxiZwegUCFZQuZExwNbWWwAB6d5CsDE7npx8",width:512,height:512,format:"PNG"},name:"Flamma Mainnet",nativeCurrency:{name:"Flamma",symbol:"FLA",decimals:18},networkId:55614,redFlags:[],rpc:["https://55614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.flamma.network"],shortName:"FLA",slug:"flamma",testnet:!0},Vv0={chain:"Lambda Chain",chainId:56026,explorers:[{name:"Lambda Chain Mainnet Explorer",url:"https://scan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Mainnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:56026,rpc:["https://56026.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nrpc.lambda.im/"],shortName:"lambda",slip44:1,slug:"lambda-chain",testnet:!1},$v0={chain:"Avalanche",chainId:56054,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4688",nativeCurrency:{name:"QaUser4688 Token",symbol:"DPN",decimals:18},networkId:56054,redFlags:[],rpc:["https://56054.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4688",slug:"qauser4688",testnet:!0},Uv0={chain:"Boba BNB Mainnet",chainId:56288,explorers:[{name:"Boba BNB block explorer",url:"https://bobascan.com",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:56288,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://gateway.boba.network"}]},rpc:["https://56288.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bnb.boba.network","https://boba-bnb.gateway.tenderly.co/","https://gateway.tenderly.co/public/boba-bnb","https://replica.bnb.boba.network","wss://boba-bnb.gateway.tenderly.co/","wss://gateway.tenderly.co/public/boba-bnb"],shortName:"BobaBnb",slug:"boba-bnb",testnet:!1},qv0={chain:"Avalanche",chainId:56400,explorers:[{name:"TESTNETZER Explorer",url:"https://subnets-test.avax.network/testnetzer",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet Zeroone",nativeCurrency:{name:"Testnet Zeroone Token",symbol:"ZERO",decimals:18},networkId:56400,redFlags:[],rpc:["https://56400.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnetzer/testnet/rpc"],shortName:"Testnet Zeroone",slug:"testnet-zeroone",testnet:!0},Hv0={chain:"Avalanche",chainId:56525,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"TSQ",decimals:18},networkId:56525,redFlags:[],rpc:["https://56525.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-56525",testnet:!0},zv0={chain:"Avalanche",chainId:56570,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4Testnet",nativeCurrency:{name:"QaUser4Testnet Token",symbol:"GYF",decimals:18},networkId:56570,redFlags:[],rpc:["https://56570.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4Testnet",slug:"qauser4testnet-qauser4testnet",testnet:!0},Wv0={chain:"Avalanche",chainId:56636,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0429I3",nativeCurrency:{name:"QI0429I3 Token",symbol:"IJK",decimals:18},networkId:56636,redFlags:[],rpc:["https://56636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/b6421f40-aa32-4cdc-98f2-bf22d0db7b4f"],shortName:"QI0429I3",slug:"qi0429i3",testnet:!0},jv0={chain:"Avalanche",chainId:56667,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0712I2",nativeCurrency:{name:"QI0712I2 Token",symbol:"ZNG",decimals:18},networkId:56667,redFlags:[],rpc:["https://56667.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0712I2",slug:"qi0712i2",testnet:!0},Gv0={chain:"NOVA chain",chainId:56789,explorers:[{name:"novascan",url:"https://novascan.velo.org",standard:"EIP3091"}],faucets:["https://nova-faucet.velo.org"],icon:{url:"ipfs://QmYqvnW2jwPEKUv8BdaV4sbL8Audcwosat6SPn4GqYtKxc",width:225,height:225,format:"png"},infoURL:"https://velo.org",name:"VELO Labs Mainnet",nativeCurrency:{name:"Nova",symbol:"NOVA",decimals:18},networkId:56789,rpc:["https://56789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova.velo.org"],shortName:"VELO",slug:"velo-labs",testnet:!1},Kv0={chain:"DOID",chainId:56797,explorers:[{name:"DOID Testnet Scan",url:"https://scan.testnet.doid.tech",standard:"EIP3091",icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXYSMyMnMvBf2F1ih6dTcRVUhmMnpzvmuP7vieLjmNQo5",width:41,height:52,format:"svg"},infoURL:"https://doid.tech",name:"DOID Testnet",nativeCurrency:{name:"DOID",symbol:"DOID",decimals:18},networkId:56797,rpc:["https://56797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.doid.tech"],shortName:"doidTestnet",slug:"doid-testnet",testnet:!0},Qv0={chain:"Avalanche",chainId:56914,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"KK1223",nativeCurrency:{name:"KK1223 Token",symbol:"KLK",decimals:18},networkId:56914,redFlags:[],rpc:["https://56914.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/bf540c23-4601-4768-9e26-f2e5f0f89c18"],shortName:"KK1223",slug:"kk1223",testnet:!0},Yv0={chain:"Avalanche",chainId:56973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0587",nativeCurrency:{name:"QaUser0587 Token",symbol:"IDZ",decimals:18},networkId:56973,redFlags:[],rpc:["https://56973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0587",slug:"qauser0587",testnet:!0},Jv0={chain:"SYS",chainId:57e3,explorers:[{name:"Rollux Testnet Explorer",url:"https://rollux.tanenbaum.io",standard:"EIP3091"}],faucets:["https://rollux.id/faucetapp"],infoURL:"https://rollux.com",name:"Rollux Testnet",nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},networkId:57e3,rpc:["https://57000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-tanenbaum.rollux.com","https://rpc.ankr.com/rollux_testnet/${ANKR_API_KEY}","wss://rpc-tanenbaum.rollux.com/wss","https://rollux.rpc.tanenbaum.io","wss://rollux.rpc.tanenbaum.io/wss"],shortName:"tsys-rollux",slip44:1,slug:"rollux-testnet",testnet:!0},Xv0={chain:"Avalanche",chainId:57021,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2403061",nativeCurrency:{name:"QIM2403061 Token",symbol:"VVC",decimals:18},networkId:57021,redFlags:[],rpc:["https://57021.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2403061",slug:"qim2403061",testnet:!0},Zv0={chain:"Avalanche",chainId:57056,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0710S1TS",nativeCurrency:{name:"QI0710S1TS Token",symbol:"QIA",decimals:18},networkId:57056,redFlags:[],rpc:["https://57056.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0710S1TS",slug:"qi0710s1ts",testnet:!0},eT0={chain:"coinsecnetwork",chainId:57451,explorers:[{name:"coinsecnetwork",url:"https://explorer.coinsec.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeUyBe58BPndt6SpH9Tn1a8AYpNtHbMVhVyZt8Ppc4HTB",width:200,height:200,format:"svg"},infoURL:"https://explorer.coinsec.network/",name:"COINSEC Network",nativeCurrency:{name:"COINSEC",symbol:"SEC",decimals:18},networkId:57451,rpc:["https://57451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.coinsec.network"],shortName:"coinsecnetwork",slug:"coinsec-network",testnet:!1,title:"COINSEC Network"},tT0={chain:"Avalanche",chainId:57487,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"PTNEWLO",nativeCurrency:{name:"PTNEWLO Token",symbol:"PTNL",decimals:18},networkId:57487,redFlags:[],rpc:["https://57487.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/ptnewlo/testnet/rpc"],shortName:"PTNEWLO",slug:"ptnewlo",testnet:!0},nT0={chain:"Avalanche",chainId:57522,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan Test",nativeCurrency:{name:"Cohan Test Token",symbol:"NYU",decimals:18},networkId:57522,redFlags:[],rpc:["https://57522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/fc395ee3-9e2d-45ea-951a-233b4f3e367d"],shortName:"Cohan Test",slug:"cohan-test",testnet:!0},aT0={chain:"Avalanche",chainId:57822,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6586",nativeCurrency:{name:"QaUser6586 Token",symbol:"FUS",decimals:18},networkId:57822,redFlags:[],rpc:["https://57822.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6586",slug:"qauser6586",testnet:!0},rT0={chain:"Avalanche",chainId:57923,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0614I1",nativeCurrency:{name:"QI0614I1 Token",symbol:"GZD",decimals:18},networkId:57923,redFlags:[],rpc:["https://57923.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0614I1",slug:"qi0614i1",testnet:!0},iT0={chain:"Avalanche",chainId:57973,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5524 Testnet",nativeCurrency:{name:"QaUser5524 Testnet Token",symbol:"ADN",decimals:18},networkId:57973,redFlags:[],rpc:["https://57973.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5524 Testnet",slug:"qauser5524-testnet",testnet:!0},sT0={chain:"ETH",chainId:58008,explorers:[{name:"blockscout",url:"https://explorer.sepolia.publicgoods.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmUVJ7MLCEAfq3pHVPFLscqRMiyAY5biVgTkeDQCmAhHNS",width:574,height:574,format:"svg"},infoURL:"https://publicgoods.network/",name:"Sepolia PGN (Public Goods Network)",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:58008,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://pgn-bridge.vercel.app/bridge"}]},redFlags:[],rpc:["https://58008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.publicgoods.network"],shortName:"sepPGN",slug:"sepolia-pgn-public-goods-network",testnet:!0},fT0={chain:"Avalanche",chainId:58050,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0417",nativeCurrency:{name:"QaUser0417 Token",symbol:"HAR",decimals:18},networkId:58050,redFlags:[],rpc:["https://58050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0417",slug:"qauser0417",testnet:!0},oT0={chain:"Avalanche",chainId:58064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I3",nativeCurrency:{name:"QI0209I3 Token",symbol:"BLOX",decimals:18},networkId:58064,redFlags:[],rpc:["https://58064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I3",slug:"qi0209i3",testnet:!0},cT0={chain:"Avalanche",chainId:58316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1943 Testnet",nativeCurrency:{name:"QaUser1943 Testnet Token",symbol:"JAI",decimals:18},networkId:58316,redFlags:[],rpc:["https://58316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1943 Testnet",slug:"qauser1943-testnet",testnet:!0},dT0={chain:"Avalanche",chainId:58474,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s4 Testnet",nativeCurrency:{name:"QI0408s4 Testnet Token",symbol:"QCE",decimals:18},networkId:58474,redFlags:[],rpc:["https://58474.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s4 Testnet",slug:"qi0408s4-testnet",testnet:!0},lT0={chain:"Avalanche",chainId:59069,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V2",nativeCurrency:{name:"ST 12-12 V2 Token",symbol:"GXE",decimals:18},networkId:59069,redFlags:[],rpc:["https://59069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V2",slug:"st-12-12-v2",testnet:!0},pT0={chain:"ETH",chainId:59140,explorers:[{name:"Etherscan",url:"https://goerli.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.goerli.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:["https://faucetlink.to/goerli"],features:[],icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"},infoURL:"https://linea.build",name:"Linea Goerli",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59140,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea"}]},redFlags:[],rpc:["https://59140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-goerli.infura.io/v3/${INFURA_API_KEY}","wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.goerli.linea.build","wss://rpc.goerli.linea.build"],shortName:"linea-goerli",slip44:1,slug:"linea-goerli",status:"deprecated",testnet:!0,title:"Linea Goerli Testnet"},uT0={chain:"ETH",chainId:59141,explorers:[{name:"Etherscan",url:"https://sepolia.lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.sepolia.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmS3wZEQTRMZBySqaCnKsGWuohRYh598JL8AntKh3URv6R",width:798,height:831,format:"png"},infoURL:"https://linea.build",name:"Linea Sepolia",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59141,parent:{type:"L2",chain:"eip155-5",bridges:[]},redFlags:[],rpc:["https://59141.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-sepolia.infura.io/v3/${INFURA_API_KEY}","wss://linea-sepolia.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.sepolia.linea.build","wss://rpc.sepolia.linea.build"],shortName:"linea-sepolia",slip44:1,slug:"linea-sepolia",status:"active",testnet:!0,title:"Linea Sepolia Testnet"},yT0={chain:"ETH",chainId:59144,explorers:[{name:"Etherscan",url:"https://lineascan.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"Blockscout",url:"https://explorer.linea.build",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}},{name:"L2scan",url:"https://linea.l2scan.co",standard:"EIP3091",icon:{url:"ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",width:97,height:102,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmS3wZEQTRMZBySqaCnKsGWuohRYh598JL8AntKh3URv6R",width:798,height:831,format:"png"},infoURL:"https://linea.build",name:"Linea",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},networkId:59144,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.linea.build"}]},redFlags:[],rpc:["https://59144.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://linea-mainnet.infura.io/v3/${INFURA_API_KEY}","wss://linea-mainnet.infura.io/ws/v3/${INFURA_API_KEY}","https://rpc.linea.build","wss://rpc.linea.build"],shortName:"linea",slug:"linea",status:"active",testnet:!1,title:"Linea Mainnet"},mT0={chain:"BEYOND",chainId:59185,explorers:[{name:"Beyond",url:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",standard:"standard",icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://QmbLxRVZ27Yy6RE9xAdYgSxGPB1TjPtcxahy6uNnp2Pt6T/Beyond.jpg",width:512,height:512,format:"jpg"},infoURL:"https://explorerl2new-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz",name:"BeyondChain Testnet",nativeCurrency:{name:"BEYOND",symbol:"BEYOND",decimals:18},networkId:59185,redFlags:[],rpc:["https://59185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-beyond-indigo-playground-xz87sjgmaj.t.conduit.xyz"],shortName:"beyond-indigo-playground-xz87sjgmaj",slug:"beyondchain-testnet",testnet:!0},bT0={chain:"ETH",chainId:59902,explorers:[{name:"blockscout",url:"https://sepolia-explorer.metisdevops.link",standard:"EIP3091"}],faucets:["https://sepolia.faucet.metisdevops.link"],infoURL:"https://www.metis.io",name:"Metis Sepolia Testnet",nativeCurrency:{name:"tMetis",symbol:"tMETIS",decimals:18},networkId:59902,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.metis.io"}]},rpc:["https://59902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.metisdevops.link"],shortName:"metis-sepolia",slug:"metis-sepolia-testnet",testnet:!0},hT0={chain:"Avalanche",chainId:59932,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Insomnia Testnet",nativeCurrency:{name:"Insomnia Testnet Token",symbol:"TECH",decimals:18},networkId:59932,redFlags:[],rpc:["https://59932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/instest/testnet/rpc"],shortName:"Insomnia Testnet",slug:"insomnia-testnet",testnet:!0},gT0={chain:"Avalanche",chainId:59940,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0510s1",nativeCurrency:{name:"QR0510s1 Token",symbol:"RTQ",decimals:18},networkId:59940,redFlags:[],rpc:["https://59940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0510s1/testnet/rpc"],shortName:"QR0510s1",slug:"qr0510s1",testnet:!0},vT0={chain:"Avalanche",chainId:59944,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7920 Testnet",nativeCurrency:{name:"QaUser7920 Testnet Token",symbol:"USH",decimals:18},networkId:59944,redFlags:[],rpc:["https://59944.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7920 Testnet",slug:"qauser7920-testnet",testnet:!0},TT0={chain:"GCODE",chainId:59971,explorers:[{name:"Genesys Scan",url:"https://genesysscan.io",standard:"none",icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",width:512,height:512,format:"png"},infoURL:"https://genesyscode.io",name:"Genesys Code Mainnet",nativeCurrency:{name:"GenesysCode",symbol:"GCODE",decimals:18},networkId:59971,rpc:["https://59971.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.genesyscode.io/"],shortName:"gcode",slug:"genesys-code",testnet:!1},_T0={chain:"Thinkium",chainId:6e4,explorers:[{name:"thinkiumscan",url:"https://test0.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:6e4,rpc:["https://60000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.thinkiumrpc.net/"],shortName:"TKM-test0",slip44:1,slug:"thinkium-testnet-chain-0",testnet:!0},wT0={chain:"Thinkium",chainId:60001,explorers:[{name:"thinkiumscan",url:"https://test1.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60001,rpc:["https://60001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test1.thinkiumrpc.net/"],shortName:"TKM-test1",slip44:1,slug:"thinkium-testnet-chain-1",testnet:!0},xT0={chain:"Thinkium",chainId:60002,explorers:[{name:"thinkiumscan",url:"https://test2.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60002,rpc:["https://60002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test2.thinkiumrpc.net/"],shortName:"TKM-test2",slip44:1,slug:"thinkium-testnet-chain-2",testnet:!0},IT0={chain:"Thinkium",chainId:60103,explorers:[{name:"thinkiumscan",url:"https://test103.thinkiumscan.net",standard:"EIP3091"}],faucets:["https://www.thinkiumdev.net/faucet"],infoURL:"https://thinkium.net/",name:"Thinkium Testnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:60103,rpc:["https://60103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test103.thinkiumrpc.net/"],shortName:"TKM-test103",slip44:1,slug:"thinkium-testnet-chain-103",testnet:!0},ET0={chain:"Avalanche",chainId:60118,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lith",nativeCurrency:{name:"Lith Token",symbol:"NXPC",decimals:18},networkId:60118,redFlags:[],rpc:["https://60118.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lith/testnet/rpc"],shortName:"Lith",slug:"lith",testnet:!0},DT0={chain:"Avalanche",chainId:60147,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6828",nativeCurrency:{name:"QaUser6828 Token",symbol:"CLL",decimals:18},networkId:60147,redFlags:[],rpc:["https://60147.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6828",slug:"qauser6828",testnet:!0},CT0={chain:"ETH",chainId:60808,explorers:[{name:"bobscout",url:"https://explorer.gobob.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaX5iqQTrJD8TBuvoT97xPMG6LYamjPCPnZUUMh12jc99",width:297,height:378,format:"png"},infoURL:"https://gobob.xyz",name:"BOB",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:60808,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.gobob.xyz"}]},rpc:["https://60808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gobob.xyz","wss://rpc.gobob.xyz","https://bob-mainnet.public.blastapi.io","wss://bob-mainnet.public.blastapi.io"],shortName:"bob",slug:"bob",status:"active",testnet:!1},ST0={chain:"Avalanche",chainId:60834,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402059",nativeCurrency:{name:"QI M 2402059 Token",symbol:"ACI",decimals:18},networkId:60834,redFlags:[],rpc:["https://60834.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402059",slug:"qi-m-2402059",testnet:!0},AT0={chain:"Avalanche",chainId:60841,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:60841,redFlags:[],rpc:["https://60841.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/testnet/rpc"],shortName:"SCG-K",slug:"scg-k",testnet:!0},kT0={chain:"Avalanche",chainId:61205,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6116 Testnet",nativeCurrency:{name:"QaUser6116 Testnet Token",symbol:"YLJ",decimals:18},networkId:61205,redFlags:[],rpc:["https://61205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6116 Testnet",slug:"qauser6116-testnet",testnet:!0},PT0={chain:"Avalanche",chainId:61258,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7821 Testnet",nativeCurrency:{name:"QaUser7821 Testnet Token",symbol:"WND",decimals:18},networkId:61258,redFlags:[],rpc:["https://61258.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7821 Testnet",slug:"qauser7821-testnet",testnet:!0},RT0={chain:"KEC",chainId:61406,explorers:[{name:"KaiChain Explorer",url:"https://explorer.kaichain.net",standard:"EIP3091"},{name:"KEC SCAN",url:"https://explorer.kaichain.net/",standard:"EIP3091",icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmbfRP2Ugo66pw6Mn8m9ChP4UE6Rn5nobtDo7Vy7ej93qA/kaichain%20icon.png",width:512,height:512,format:"png"},infoURL:"http://kaichain.net/",name:"Kaichain Mainnet",nativeCurrency:{name:"Kaichain",symbol:"KEC",decimals:18},networkId:61406,redFlags:[],rpc:["https://61406.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.kaichain.net"],shortName:"Kaichain",slug:"kaichain",testnet:!1},LT0={chain:"Avalanche",chainId:61514,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI011624I1",nativeCurrency:{name:"QI011624I1 Token",symbol:"DGQ",decimals:18},networkId:61514,redFlags:[],rpc:["https://61514.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/e81adde6-3c1b-46ce-8dfe-e7a689f8c7eb"],shortName:"QI011624I1",slug:"qi011624i1",testnet:!0},MT0={chain:"Avalanche",chainId:61551,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0304T1TS Testnet",nativeCurrency:{name:"QR0304T1TS Testnet Token",symbol:"OYU",decimals:18},networkId:61551,redFlags:[],rpc:["https://61551.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0304t1ts/testnet/rpc"],shortName:"QR0304T1TS Testnet",slug:"qr0304t1ts-testnet",testnet:!0},BT0={chain:"AXEL",chainId:61800,explorers:[{name:"AxelChain Dev-Net Explorer",url:"https://devexplorer2.viacube.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNx8FRacfNeawhkjk5p57EKzDHkLGMaBBmK2VRL5CB2P2",width:40,height:40,format:"svg"},infoURL:"https://www.axel.org",name:"AxelChain Dev-Net",nativeCurrency:{name:"Axelium",symbol:"AIUM",decimals:18},networkId:61800,rpc:["https://61800.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://aium-rpc-dev.viacube.com"],shortName:"aium-dev",slug:"axelchain-dev-net",testnet:!1},NT0={chain:"Etica Protocol (ETI/EGAZ)",chainId:61803,explorers:[{name:"eticascan",url:"https://eticascan.org",standard:"EIP3091"},{name:"eticastats",url:"http://explorer.etica-stats.org",standard:"EIP3091"}],faucets:["http://faucet.etica-stats.org/"],icon:{url:"ipfs://QmYSyhUqm6ArWyALBe3G64823ZpEUmFdkzKZ93hUUhNKgU",width:360,height:361,format:"png"},infoURL:"https://eticaprotocol.org",name:"Etica Mainnet",nativeCurrency:{name:"EGAZ",symbol:"EGAZ",decimals:18},networkId:61803,rpc:["https://61803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eticamainnet.eticascan.org","https://eticamainnet.eticaprotocol.org"],shortName:"Etica",slug:"etica",testnet:!1},FT0={chain:"DoKEN Super Chain",chainId:61916,explorers:[{name:"DSC Scan",url:"https://explore.doken.dev",standard:"EIP3091",icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreifms4eio6v56oyeemnnu5luq3sc44hptan225lr45itgzu3u372iu",width:200,height:200,format:"png"},infoURL:"https://doken.dev/",name:"DoKEN Super Chain Mainnet",nativeCurrency:{name:"DoKEN",symbol:"DKN",decimals:18},networkId:61916,rpc:["https://61916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sgrpc.doken.dev","https://nyrpc.doken.dev","https://ukrpc.doken.dev"],shortName:"DoKEN",slug:"doken-super-chain",testnet:!1},OT0={chain:"Avalanche",chainId:62040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430s1",nativeCurrency:{name:"QI0430s1 Token",symbol:"SWS",decimals:18},networkId:62040,redFlags:[],rpc:["https://62040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430s1",slug:"qi0430s1",testnet:!0},VT0={chain:"ETH",chainId:62049,explorers:[{name:"optopia-testnet-scan",url:"https://scan-testnet.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"OPTOPIA Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62049,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge-testnet.optopia.ai"}]},rpc:["https://62049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.optopia.ai"],shortName:"OPTOPIA-Testnet",slug:"optopia-testnet",testnet:!0},$T0={chain:"ETH",chainId:62050,explorers:[{name:"optopia-scan",url:"https://scan.optopia.ai",standard:"EIP3091",icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",width:1e3,height:1e3,format:"png"},infoURL:"https://optopia.ai",name:"Optopia Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:62050,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.optopia.ai"}]},rpc:["https://62050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.optopia.ai","https://rpc-mainnet-2.optopia.ai"],shortName:"Optopia",slug:"optopia",testnet:!1},UT0={chain:"Avalanche",chainId:62278,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qi1121i1",nativeCurrency:{name:"qi1121i1 Token",symbol:"SJOX",decimals:18},networkId:62278,redFlags:[],rpc:["https://62278.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qi1121i1",slug:"qi1121i1",testnet:!0},qT0={chain:"Avalanche",chainId:62293,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0516s1dev",nativeCurrency:{name:"QI0516s1dev Token",symbol:"OMF",decimals:18},networkId:62293,redFlags:[],rpc:["https://62293.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0516s1dev",slug:"qi0516s1dev",testnet:!0},HT0={chain:"Citrea",chainId:62298,explorers:[{name:"Citrea Devnet Explorer",url:"https://explorer.devnet.citrea.xyz",standard:"EIP3091",icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"}}],faucets:["https://citrea.xyz/bridge"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfgH4X7ZWkHprKgjUZ7SDcCGtS5f2CBuaTEtQYMsydmJ",width:480,height:480,format:"png"},infoURL:"https://citrea.xyz",name:"Citrea Devnet",nativeCurrency:{name:"Citrea BTC",symbol:"cBTC",decimals:18},networkId:62298,rpc:["https://62298.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.devnet.citrea.xyz"],shortName:"citrea-devnet",slug:"citrea-devnet",testnet:!1},Fie={chain:"CELO",chainId:62320,explorers:[],faucets:["https://docs.google.com/forms/d/e/1FAIpQLSdfr1BwUTYepVmmvfVUDRCwALejZ-TUva2YujNpvrEmPAX2pg/viewform","https://cauldron.pretoriaresearchlab.io/baklava-faucet"],features:[],icon:{url:"ipfs://QmZcLzM1nMeU2oxhLFBUGJyujQ4gKuWAdXBDGHVtDmzZxf",width:400,height:400,format:"png"},infoURL:"https://docs.celo.org/",name:"Celo Baklava Testnet",nativeCurrency:{name:"CELO",symbol:"CELO",decimals:18},networkId:62320,redFlags:[],rpc:["https://62320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baklava-forno.celo-testnet.org"],shortName:"BKLV",slip44:1,slug:"celo-baklava-testnet",testnet:!0},zT0={chain:"Avalanche",chainId:62454,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0708T1TS",nativeCurrency:{name:"QR0708T1TS Token",symbol:"AFH",decimals:18},networkId:62454,redFlags:[],rpc:["https://62454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qr0708t1ts-x17f8.avax-test.network/ext/bc/7xh1BHRDzwVvbo7hnEyxiJcRr8XGvae4E9CYTreCv8xEj4keX/rpc?token=069106c959a59e709a8d93f1170654928f2216e08d07e2f1041ce1993c564f91"],shortName:"QR0708T1TS",slug:"qr0708t1ts",testnet:!0},WT0={chain:"Avalanche",chainId:62587,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0712S1TS",nativeCurrency:{name:"QI0712S1TS Token",symbol:"VQF",decimals:18},networkId:62587,redFlags:[],rpc:["https://62587.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0712S1TS",slug:"qi0712s1ts",testnet:!0},jT0={chain:"MultiVAC",chainId:62621,explorers:[{name:"MultiVAC Explorer",url:"https://e.mtv.ac",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWb1gthhbzkiLdgcP8ccZprGbJVjFcW8Rn4uJjrw4jd3B",width:200,height:200,format:"png"},infoURL:"https://mtv.ac",name:"MultiVAC Mainnet",nativeCurrency:{name:"MultiVAC",symbol:"MTV",decimals:18},networkId:62621,rpc:["https://62621.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mtv.ac","https://rpc-eu.mtv.ac"],shortName:"mtv",slug:"multivac",testnet:!1},GT0={chain:"Avalanche",chainId:62831,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/plyr",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=plyr"],features:[],icon:{url:"https://plyr.network/plyr_logo.png",width:256,height:256,format:"png"},infoURL:"https://plyr.network",name:"PLYR TAU TESTNET",nativeCurrency:{name:"PLYR TAU TESTNET Token",symbol:"PLYR",decimals:18},networkId:62831,redFlags:[],rpc:["https://62831.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/plyr/testnet/rpc"],shortName:"PLYR TAU TESTNET",slip44:1,slug:"plyr-tau-testnet",testnet:!0},KT0={chain:"ECS",chainId:63e3,explorers:[{name:"eCredits MainNet Explorer",url:"https://explorer.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:[],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Mainnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63e3,rpc:["https://63000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ecredits.com"],shortName:"ecs",slug:"ecredits",testnet:!1},QT0={chain:"ECS",chainId:63001,explorers:[{name:"eCredits TestNet Explorer",url:"https://explorer.tst.ecredits.com",standard:"EIP3091",icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"}}],faucets:["https://faucet.tst.ecredits.com"],icon:{url:"ipfs://QmU9H9JE1KtLh2Fxrd8EWTMjKGJBpgRWKUeEx7u6ic4kBY",width:32,height:32,format:"png"},infoURL:"https://ecredits.com",name:"eCredits Testnet",nativeCurrency:{name:"eCredits",symbol:"ECS",decimals:18},networkId:63001,rpc:["https://63001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tst.ecredits.com"],shortName:"ecs-testnet",slip44:1,slug:"ecredits-testnet",testnet:!0},YT0={chain:"Avalanche",chainId:63079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"MT 1121-2",nativeCurrency:{name:"MT 1121-2 Token",symbol:"RCE",decimals:18},networkId:63079,redFlags:[],rpc:["https://63079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/d76ea66a-e423-49f6-8ef1-4355260b47f1"],shortName:"MT 1121-2",slug:"mt-1121-2",testnet:!0},JT0={chain:"Avalanche",chainId:63367,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ReSFT 1-16-24",nativeCurrency:{name:"ReSFT 1-16-24 Token",symbol:"ZAF",decimals:18},networkId:63367,redFlags:[],rpc:["https://63367.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ReSFT 1-16-24",slug:"resft-1-16-24",testnet:!0},XT0={chain:"Avalanche",chainId:63891,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tnetv2",nativeCurrency:{name:"Tnetv2 Token",symbol:"LFC",decimals:18},networkId:63891,redFlags:[],rpc:["https://63891.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Tnetv2",slug:"tnetv2",testnet:!0},ZT0={chain:"Avalanche",chainId:64029,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0524I1",nativeCurrency:{name:"QI0524I1 Token",symbol:"LHU",decimals:18},networkId:64029,redFlags:[],rpc:["https://64029.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0524I1",slug:"qi0524i1",testnet:!0},e_0={chain:"Avalanche",chainId:64092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3186 Testnet",nativeCurrency:{name:"QaUser3186 Testnet Token",symbol:"KII",decimals:18},networkId:64092,redFlags:[],rpc:["https://64092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3186 Testnet",slug:"qauser3186-testnet",testnet:!0},t_0={chain:"FTM",chainId:64165,ens:{registry:"standard"},explorers:[{name:"Fantom Sonic Builders Testnet",url:"https://sonicscan.io/",standard:"standard",icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"}}],faucets:["https://public-sonic.fantom.network/account"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/fantom/512.png",width:512,height:512,format:"png"},infoURL:"https://sonicscan.io/",name:"Fantom Sonic Builders Testnet",nativeCurrency:{name:"Fantom",symbol:"FTM",decimals:18},networkId:64165,redFlags:[],rpc:["https://64165.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sonic.fantom.network/"],shortName:"FantomTestnet",slug:"fantom-sonic-builders-testnet",testnet:!0},n_0={chain:"Avalanche",chainId:64273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"REALLY",nativeCurrency:{name:"REALLY Token",symbol:"FAN",decimals:18},networkId:64273,redFlags:[],rpc:["https://64273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/really/mainnet/rpc"],shortName:"REALLY",slug:"really-really",testnet:!1},a_0={chain:"Avalanche",chainId:64326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523s1t",nativeCurrency:{name:"QI0523s1t Token",symbol:"ADN",decimals:18},networkId:64326,redFlags:[],rpc:["https://64326.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523s1t",slug:"qi0523s1t",testnet:!0},r_0={chain:"Avalanche",chainId:64361,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8734 Testnet",nativeCurrency:{name:"QaUser8734 Testnet Token",symbol:"XPI",decimals:18},networkId:64361,redFlags:[],rpc:["https://64361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8734 Testnet",slug:"qauser8734-testnet",testnet:!0},i_0={chain:"Avalanche",chainId:64643,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qasim Testnet",nativeCurrency:{name:"qasim Testnet Token",symbol:"SQJ",decimals:18},networkId:64643,redFlags:[],rpc:["https://64643.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"qasim Testnet",slug:"qasim-testnet",testnet:!0},s_0={chain:"Avalanche",chainId:64943,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0430I1",nativeCurrency:{name:"QI0430I1 Token",symbol:"JIQ",decimals:18},networkId:64943,redFlags:[],rpc:["https://64943.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0430I1",slug:"qi0430i1-qi0430i1",testnet:!0},f_0={chain:"Avalanche",chainId:64947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0604S1T",nativeCurrency:{name:"QR0604S1T Token",symbol:"GKN",decimals:18},networkId:64947,redFlags:[],rpc:["https://64947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0604s1t/testnet/rpc"],shortName:"QR0604S1T",slug:"qr0604s1t",testnet:!0},o_0={chain:"Avalanche",chainId:65044,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EXR0314 Testnet",nativeCurrency:{name:"EXR0314 Testnet Token",symbol:"BPR",decimals:18},networkId:65044,redFlags:[],rpc:["https://65044.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"EXR0314 Testnet",slug:"exr0314-testnet",testnet:!0},c_0={chain:"Avalanche",chainId:65174,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9821 Testnet",nativeCurrency:{name:"QaUser9821 Testnet Token",symbol:"HKL",decimals:18},networkId:65174,redFlags:[],rpc:["https://65174.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9821 Testnet",slug:"qauser9821-testnet",testnet:!0},d_0={chain:"Avalanche",chainId:65300,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser46 Testnet",nativeCurrency:{name:"QaUser46 Testnet Token",symbol:"ZAG",decimals:18},networkId:65300,redFlags:[],rpc:["https://65300.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser46 Testnet",slug:"qauser46-testnet",testnet:!0},l_0={chain:"VE",chainId:65357,explorers:[{name:"vecno",url:"https://explorer.vecno.org",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmXPmM55AvkpEmqCvfP9YNQV1xsRdsPZDzwp6QHVThw6Wv",width:200,height:200,format:"svg"},infoURL:"https://vecno.org",name:"Vecno Mainnet",nativeCurrency:{name:"Vecno",symbol:"VE",decimals:18},networkId:65357,rpc:["https://65357.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.vecno.org"],shortName:"ve",slug:"vecno",testnet:!1},p_0={chain:"SCOLWEI",chainId:65450,explorers:[{name:"Scolscan Explorer",url:"https://explorer.scolcoin.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVES1eqDXhP8SdeCpM85wvjmhrQDXGRquQebDrSdvJqpt",width:792,height:822,format:"png"},infoURL:"https://scolcoin.com",name:"Scolcoin Mainnet",nativeCurrency:{name:"Scolcoin",symbol:"SCOL",decimals:18},networkId:65450,rpc:["https://65450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.scolcoin.com"],shortName:"SRC",slug:"scolcoin",testnet:!1},u_0={chain:"Automata Mainnet",chainId:65536,explorers:[],faucets:[],icon:{url:"ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",width:1676,height:1600,format:"png"},infoURL:"https://ata.network",name:"Automata Mainnet",nativeCurrency:{name:"ATA",symbol:"ATA",decimals:18},networkId:65536,rpc:[],shortName:"automatamainnet",slug:"automata",testnet:!1},y_0={chain:"Avalanche",chainId:65622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Live Stripe Test",nativeCurrency:{name:"Live Stripe Test Token",symbol:"LST",decimals:18},networkId:65622,redFlags:[],rpc:["https://65622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/livestripe/testnet/rpc"],shortName:"Live Stripe Test",slug:"live-stripe-test",testnet:!0},m_0={chain:"Avalanche",chainId:65842,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4143 Testnet",nativeCurrency:{name:"QaUser4143 Testnet Token",symbol:"NHU",decimals:18},networkId:65842,redFlags:[],rpc:["https://65842.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4143 Testnet",slug:"qauser4143-testnet",testnet:!0},b_0={chain:"Avalanche",chainId:66042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408I1 Testnet",nativeCurrency:{name:"QI0408I1 Testnet Token",symbol:"YXE",decimals:18},networkId:66042,redFlags:[],rpc:["https://66042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408I1 Testnet",slug:"qi0408i1-testnet",testnet:!0},h_0={chain:"Avalanche",chainId:66063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3324 Testnet",nativeCurrency:{name:"QaUser3324 Testnet Token",symbol:"IYM",decimals:18},networkId:66063,redFlags:[],rpc:["https://66063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3324 Testnet",slug:"qauser3324-testnet",testnet:!0},g_0={chain:"Avalanche",chainId:66729,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0605S1T",nativeCurrency:{name:"QR0605S1T Token",symbol:"GKN",decimals:18},networkId:66729,redFlags:[],rpc:["https://66729.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0605s1t/testnet/rpc"],shortName:"QR0605S1T",slug:"qr0605s1t",testnet:!0},v_0={chain:"Avalanche",chainId:66904,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1335 Testnet",nativeCurrency:{name:"QaUser1335 Testnet Token",symbol:"KFZ",decimals:18},networkId:66904,redFlags:[],rpc:["https://66904.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1335 Testnet",slug:"qauser1335-testnet",testnet:!0},T_0={chain:"JanusNetwork",chainId:66988,explorers:[{name:"JanusNetwork Testnet Explorer",url:"https://beta.scan.janusnetwork.io",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreifc3vnwf4hj3bo6fg4u5qlqmjgajjgezyeg236qjcihl4ha42siuq",width:819,height:792,format:"png"},infoURL:"https://janus-network.gitbook.io/janus",name:"Janus Testnet",nativeCurrency:{name:"Janus",symbol:"JNS",decimals:18},networkId:66988,rpc:["https://66988.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.janusnetwork.io"],shortName:"janusnetwork-testnet",slip44:1,slug:"janus-testnet",status:"active",testnet:!0},__0={chain:"SIN",chainId:67390,explorers:[{name:"siriusnetscan",url:"https://siriusnet.tryethernal.com",standard:"EIP3091"}],faucets:[],infoURL:"https://macaucasinolisboa.xyz",name:"SiriusNet",nativeCurrency:{name:"MCD",symbol:"MCD",decimals:18},networkId:67390,rpc:["https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"],shortName:"mcl",slug:"siriusnet",status:"deprecated",testnet:!1},w_0={chain:"Avalanche",chainId:67451,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6097 Testnet",nativeCurrency:{name:"QaUser6097 Testnet Token",symbol:"NHU",decimals:18},networkId:67451,redFlags:[],rpc:["https://67451.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6097 Testnet",slug:"qauser6097-testnet",testnet:!0},x_0={chain:"COSMIC",chainId:67588,explorers:[],faucets:[],infoURL:"https://cosmicchain.site",name:"Cosmic Chain",nativeCurrency:{name:"Cosmic Chain",symbol:"COSMIC",decimals:18},networkId:3344,rpc:["https://67588.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cosmicchain.site:3344"],shortName:"Cosmic",slug:"cosmic-chain",testnet:!0},I_0={chain:"Avalanche",chainId:67700,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T1DT",nativeCurrency:{name:"QI0523T1DT Token",symbol:"WYI",decimals:18},networkId:67700,redFlags:[],rpc:["https://67700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T1DT",slug:"qi0523t1dt",testnet:!0},E_0={chain:"Avalanche",chainId:68007,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"infra Testnet",nativeCurrency:{name:"infra Testnet Token",symbol:"ZPO",decimals:18},networkId:68007,redFlags:[],rpc:["https://68007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/infratestn/testnet/rpc"],shortName:"infra Testnet",slug:"infra-testnet",testnet:!0},D_0={chain:"Avalanche",chainId:68042,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0514s1",nativeCurrency:{name:"QI0514s1 Token",symbol:"TQA",decimals:18},networkId:68042,redFlags:[],rpc:["https://68042.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0514s1",slug:"qi0514s1",testnet:!0},C_0={chain:"Avalanche",chainId:68064,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3451 Testnet",nativeCurrency:{name:"QaUser3451 Testnet Token",symbol:"NKL",decimals:18},networkId:68064,redFlags:[],rpc:["https://68064.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3451 Testnet",slug:"qauser3451-testnet",testnet:!0},S_0={chain:"Avalanche",chainId:68295,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0116y1s",nativeCurrency:{name:"qr0116y1s Token",symbol:"ANG",decimals:18},networkId:68295,redFlags:[],rpc:["https://68295.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116y1s/testnet/rpc"],shortName:"qr0116y1s",slug:"qr0116y1s",testnet:!0},A_0={chain:"Avalanche",chainId:68316,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0611STS",nativeCurrency:{name:"QR0611STS Token",symbol:"NAA",decimals:18},networkId:68316,redFlags:[],rpc:["https://68316.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0611sts/testnet/rpc"],shortName:"QR0611STS",slug:"qr0611sts",testnet:!0},k_0={chain:"Avalanche",chainId:68688,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Haku Chain Testnet",nativeCurrency:{name:"Haku Chain Testnet Token",symbol:"HAKU",decimals:18},networkId:68688,redFlags:[],rpc:["https://68688.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/hakuchain/testnet/rpc"],shortName:"Haku Chain Testnet",slug:"haku-chain-testnet",testnet:!0},P_0={chain:"DM2 Verse",chainId:68770,explorers:[{name:"DM2Verse Explorer",url:"https://explorer.dm2verse.dmm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPMqjf5XKZ4Cxa1u8qc8Zj9mmVLBoqK7N5h2zFr3Rsyzw",width:260,height:260,format:"png"},infoURL:"https://seamoon.dmm.com",name:"DM2 Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:68770,parent:{type:"L2",chain:"eip155-248"},rpc:["https://68770.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dm2verse.dmm.com"],shortName:"dm2",slug:"dm2-verse",testnet:!1},R_0={chain:"Avalanche",chainId:68976,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s1 Testnet",nativeCurrency:{name:"QI0408s1 Testnet Token",symbol:"ICV",decimals:18},networkId:68976,redFlags:[],rpc:["https://68976.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s1 Testnet",slug:"qi0408s1-testnet",testnet:!0},L_0={chain:"Avalanche",chainId:69399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0103I1",nativeCurrency:{name:"QI0103I1 Token",symbol:"AYYX",decimals:18},networkId:69399,redFlags:[],rpc:["https://69399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0103I1",slug:"qi0103i1",testnet:!0},M_0={chain:"ETH",chainId:69420,explorers:[{name:"Condrieu explorer",url:"https://explorer.condrieu.ethdevops.io",standard:"none"}],faucets:["https://faucet.condrieu.ethdevops.io"],infoURL:"https://condrieu.ethdevops.io",name:"Condrieu",nativeCurrency:{name:"Condrieu Testnet Ether",symbol:"CTE",decimals:18},networkId:69420,rpc:["https://69420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.condrieu.ethdevops.io:8545"],shortName:"cndr",slip44:1,slug:"condrieu",testnet:!0,title:"Ethereum Verkle Testnet Condrieu"},B_0={chain:"Avalanche",chainId:69740,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Will's Testnet",nativeCurrency:{name:"Will's Testnet Token",symbol:"WLDVNT",decimals:18},networkId:69740,redFlags:[],rpc:["https://69740.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Will's Testnet",slug:"will-s-testnet-will's testnet-69740",testnet:!0},N_0={chain:"Avalanche",chainId:69743,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SCG-K",nativeCurrency:{name:"SCG-K Token",symbol:"REC",decimals:18},networkId:69743,redFlags:[],rpc:["https://69743.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/scgk/mainnet/rpc"],shortName:"SCG-K",slug:"scg-k-scg-k",testnet:!1},F_0={chain:"Thinkium",chainId:7e4,explorers:[{name:"thinkiumscan",url:"https://chain0.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 0",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:7e4,rpc:["https://70000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy.thinkiumrpc.net/"],shortName:"TKM0",slug:"thinkium-chain-0",testnet:!1},O_0={chain:"Thinkium",chainId:70001,explorers:[{name:"thinkiumscan",url:"https://chain1.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 1",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70001,rpc:["https://70001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy1.thinkiumrpc.net/"],shortName:"TKM1",slug:"thinkium-chain-1",testnet:!1},V_0={chain:"Thinkium",chainId:70002,explorers:[{name:"thinkiumscan",url:"https://chain2.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 2",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70002,rpc:["https://70002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy2.thinkiumrpc.net/"],shortName:"TKM2",slug:"thinkium-chain-2",testnet:!1},$_0={chain:"Avalanche",chainId:70038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"John's Testnet",nativeCurrency:{name:"John's Testnet Token",symbol:"FLG",decimals:18},networkId:70038,redFlags:[],rpc:["https://70038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"John's Testnet",slug:"john-s-testnet",testnet:!0},U_0={chain:"Thinkium",chainId:70103,explorers:[{name:"thinkiumscan",url:"https://chain103.thinkiumscan.net",standard:"EIP3091"}],faucets:[],infoURL:"https://thinkium.net/",name:"Thinkium Mainnet Chain 103",nativeCurrency:{name:"TKM",symbol:"TKM",decimals:18},networkId:70103,rpc:["https://70103.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://proxy103.thinkiumrpc.net/"],shortName:"TKM103",slug:"thinkium-chain-103",testnet:!1},q_0={chain:"Avalanche",chainId:70157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"jonoperf",nativeCurrency:{name:"jonoperf Token",symbol:"JONO",decimals:18},networkId:70157,redFlags:[],rpc:["https://70157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jonoperf/testnet/rpc"],shortName:"jonoperf",slug:"jonoperf",testnet:!0},H_0={chain:"Avalanche",chainId:70341,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1957 Testnet",nativeCurrency:{name:"QaUser1957 Testnet Token",symbol:"AKI",decimals:18},networkId:70341,redFlags:[],rpc:["https://70341.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1957 Testnet",slug:"qauser1957-testnet",testnet:!0},z_0={chain:"Avalanche",chainId:70408,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523T2TD",nativeCurrency:{name:"QI0523T2TD Token",symbol:"WYI",decimals:18},networkId:70408,redFlags:[],rpc:["https://70408.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523T2TD",slug:"qi0523t2td",testnet:!0},W_0={chain:"Avalanche",chainId:70457,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9604",nativeCurrency:{name:"QaUser9604 Token",symbol:"CEB",decimals:18},networkId:70457,redFlags:[],rpc:["https://70457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9604",slug:"qauser9604",testnet:!0},j_0={chain:"Avalanche",chainId:70466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Cohan test3",nativeCurrency:{name:"Cohan test3 Token",symbol:"HYN",decimals:18},networkId:70466,redFlags:[],rpc:["https://70466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f44b72ee-0574-44d2-a10b-363a74964145"],shortName:"Cohan test3",slug:"cohan-test3",testnet:!0},G_0={chain:"ETH",chainId:70700,explorers:[{name:"Proof of Play Apex Explorer",url:"https://explorer.apex.proofofplay.com",standard:"EIP3091",icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"}}],faucets:[],icon:{url:"ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",width:1256,height:1256,format:"png"},infoURL:"https://proofofplay.com",name:"Proof of Play - Apex",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:70700,parent:{type:"L2",chain:"eip155-42161",bridges:[{url:"https://bridge.arbitrum.io"},{url:"https://relay.link/bridge/apex/"}]},rpc:["https://70700.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.apex.proofofplay.com"],shortName:"pop-apex",slug:"proof-of-play-apex",testnet:!1},K_0={chain:"GuapcoinX",chainId:71111,explorers:[{name:"GuapcoinX Explorer",url:"http://explorer.guapcoinx.com",standard:"none",icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"}}],faucets:[],icon:{url:"ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",width:800,height:800,format:"png"},infoURL:"https://guapcoin.org/",name:"GuapcoinX",nativeCurrency:{name:"GuapcoinX",symbol:"GuapX",decimals:18},networkId:71111,rpc:["https://71111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.guapcoinx.com/","https://rpc-mainnet-1.guapcoinx.com/","https://rpc-mainnet-2.guapcoinx.com/"],shortName:"GuapX",slug:"guapcoinx",testnet:!1},Q_0={chain:"Avalanche",chainId:71169,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"PJH",decimals:18},networkId:71169,redFlags:[],rpc:["https://71169.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-71169",testnet:!0},Y_0={chain:"CKB",chainId:71393,explorers:[],faucets:["https://faucet.nervos.org/"],icon:{url:"ipfs://QmZ5gFWUxLFqqT3DkefYfRsVksMwMTc5VvBjkbHpeFMsNe",width:1001,height:1629,format:"png"},infoURL:"https://github.com/nervosnetwork/godwoken",name:"Polyjuice Testnet",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:1,rpc:["https://71393.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-rpc.ckbapp.dev","ws://godwoken-testnet-web3-rpc.ckbapp.dev/ws"],shortName:"ckb",slip44:1,slug:"polyjuice-testnet",testnet:!0},J_0={chain:"GWT",chainId:71401,explorers:[{name:"GWScan Block Explorer",url:"https://v1.testnet.gwscan.com",standard:"none"}],faucets:["https://testnet.bridge.godwoken.io"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet v1",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71401,rpc:["https://71401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-v1.ckbapp.dev","https://v1.testnet.godwoken.io/rpc"],shortName:"gw-testnet-v1",slip44:1,slug:"godwoken-testnet-v1",testnet:!0},X_0={chain:"GWT",chainId:71402,explorers:[{name:"GWScan Block Explorer",url:"https://v1.gwscan.com",standard:"none"}],faucets:[],infoURL:"https://www.nervos.org",name:"Godwoken Mainnet",nativeCurrency:{name:"pCKB",symbol:"pCKB",decimals:18},networkId:71402,rpc:["https://71402.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://v1.mainnet.godwoken.io/rpc"],shortName:"gw-mainnet-v1",slug:"godwoken",testnet:!1},Z_0={chain:"Jambon's Devnet",chainId:72605,explorers:[],faucets:[],features:[],icon:{url:"",width:256,height:256,format:".svg"},name:"Jambon's Devnet",nativeCurrency:{name:"Jambon's Devnet",symbol:"DOB",decimals:18},networkId:72605,redFlags:[],rpc:[],shortName:"Jambon's Devnet",slug:"jambon-s-devnet",testnet:!0},ew0={chain:"Avalanche",chainId:72647,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3938",nativeCurrency:{name:"QaUser3938 Token",symbol:"HTO",decimals:18},networkId:72647,redFlags:[],rpc:["https://72647.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3938",slug:"qauser3938",testnet:!0},tw0={chain:"Avalanche",chainId:72709,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Dragon Testnet",nativeCurrency:{name:"Dragon Testnet Token",symbol:"BDI",decimals:18},networkId:72709,redFlags:[],rpc:["https://72709.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dragontest/testnet/rpc"],shortName:"Dragon Testnet",slug:"dragon-testnet",testnet:!0},nw0={chain:"Ankara",chainId:72778,explorers:[{name:"ankara",url:"https://explorer.ankara-cagacrypto.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmeiop9gSdzU4NNJ6GCuPk6AeYwD9pbhEFVfRdk4dXs3kJ",width:640,height:640,format:"png"},infoURL:"https://www.cagacrypto.com/",name:"CAGA crypto Ankara testnet",nativeCurrency:{name:"Caga",symbol:"CAGA",decimals:18},networkId:72778,rpc:["https://72778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://www.ankara-cagacrypto.com","wss://wss.ankara-cagacrypto.com"],shortName:"caga",slug:"caga-crypto-ankara-testnet",testnet:!0},aw0={chain:"Avalanche",chainId:72877,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4 Testnet",nativeCurrency:{name:"QaUser4 Testnet Token",symbol:"ZAG",decimals:18},networkId:72877,redFlags:[],rpc:["https://72877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4 Testnet",slug:"qauser4-testnet-qauser4 testnet-72877",testnet:!0},rw0={chain:"Grok",chainId:72992,explorers:[{name:"GrokScan",url:"https://mainnet-explorer.grokchain.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreicepw6yqtmubtpcthecjx47ndwgywartfqnkdhf66k3q57h2hlewm",width:512,height:512,format:"png"},infoURL:"https://grokchain.dev",name:"Grok Chain Mainnet",nativeCurrency:{name:"Groc",symbol:"GROC",decimals:18},networkId:72992,rpc:["https://72992.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.grokchain.dev"],shortName:"GrokChain",slug:"grok-chain",testnet:!1},iw0={chain:"ICBT",chainId:73114,explorers:[{name:"ICB Tesnet Explorer",url:"https://testnet.icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Testnet",nativeCurrency:{name:"ICB Testnet Token",symbol:"ICBT",decimals:18},networkId:73114,rpc:["https://73114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.icbnetwork.info/","https://rpc2-testnet.icbnetwork.info/"],shortName:"ICBT",slug:"icb-testnet",testnet:!0},sw0={chain:"ICB",chainId:73115,explorers:[{name:"ICB Explorer",url:"https://icbscan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",width:2e3,height:2243,format:"png"},infoURL:"https://icb.network",name:"ICB Network",nativeCurrency:{name:"ICB Native Token",symbol:"ICBX",decimals:18},networkId:73115,rpc:["https://73115.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-mainnet.icbnetwork.info/","https://rpc2-mainnet.icbnetwork.info/"],shortName:"ICBX",slug:"icb-network",testnet:!1},fw0={chain:"Avalanche",chainId:73277,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9250 Testnet",nativeCurrency:{name:"QaUser9250 Testnet Token",symbol:"UDU",decimals:18},networkId:73277,redFlags:[],rpc:["https://73277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9250 Testnet",slug:"qauser9250-testnet",testnet:!0},ow0={chain:"Avalanche",chainId:73322,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7831",nativeCurrency:{name:"QaUser7831 Token",symbol:"RAN",decimals:18},networkId:73322,redFlags:[],rpc:["https://73322.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7831",slug:"qauser7831",testnet:!0},cw0={chain:"Avalanche",chainId:73486,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405024 NO INTEROP",nativeCurrency:{name:"QIM2405024 NO INTEROP Token",symbol:"UZP",decimals:18},networkId:73486,redFlags:[],rpc:["https://73486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405024 NO INTEROP",slug:"qim2405024-no-interop",testnet:!0},dw0={chain:"Avalanche",chainId:73592,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5450",nativeCurrency:{name:"QaUser5450 Token",symbol:"PXB",decimals:18},networkId:73592,redFlags:[],rpc:["https://73592.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5450",slug:"qauser5450",testnet:!0},lw0={chain:"Avalanche",chainId:73677,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9318 Testnet",nativeCurrency:{name:"QaUser9318 Testnet Token",symbol:"XUK",decimals:18},networkId:73677,redFlags:[],rpc:["https://73677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9318 Testnet",slug:"qauser9318-testnet",testnet:!0},pw0={chain:"Volta",chainId:73799,explorers:[],faucets:["https://voltafaucet.energyweb.org"],infoURL:"https://energyweb.org",name:"Energy Web Volta Testnet",nativeCurrency:{name:"Volta Token",symbol:"VT",decimals:18},networkId:73799,rpc:["https://73799.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://volta-rpc.energyweb.org","wss://volta-rpc.energyweb.org/ws"],shortName:"vt",slip44:1,slug:"energy-web-volta-testnet",testnet:!0},uw0={chain:"Avalanche",chainId:73813,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM2405082",nativeCurrency:{name:"QIM2405082 Token",symbol:"WCC",decimals:18},networkId:73813,redFlags:[],rpc:["https://73813.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIM2405082",slug:"qim2405082",testnet:!0},yw0={chain:"MVM",chainId:73927,explorers:[{name:"mvmscan",url:"https://scan.mvm.dev",standard:"EIP3091",icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeuDgSprukzfV7fi9XYHYcfmT4aZZZU7idgShtRS8Vf6V",width:471,height:512,format:"png"},infoURL:"https://mvm.dev",name:"Mixin Virtual Machine",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:73927,rpc:["https://73927.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geth.mvm.dev"],shortName:"mvm",slug:"mixin-virtual-machine",testnet:!1},mw0={chain:"Avalanche",chainId:74006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0219",nativeCurrency:{name:"QaUser0219 Token",symbol:"QVH",decimals:18},networkId:74006,redFlags:[],rpc:["https://74006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0219",slug:"qauser0219",testnet:!0},bw0={chain:"Avalanche",chainId:74356,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"S Testnet 1-5-24",nativeCurrency:{name:"S Testnet 1-5-24 Token",symbol:"ZLQ",decimals:18},networkId:74356,redFlags:[],rpc:["https://74356.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"S Testnet 1-5-24",slug:"s-testnet-1-5-24",testnet:!0},hw0={chain:"Avalanche",chainId:74444,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0612T1TS",nativeCurrency:{name:"QR0612T1TS Token",symbol:"FYJ",decimals:18},networkId:74444,redFlags:[],rpc:["https://74444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0612t1ts/testnet/rpc"],shortName:"QR0612T1TS",slug:"qr0612t1ts",testnet:!0},gw0={chain:"Avalanche",chainId:74738,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"CWA",decimals:18},networkId:74738,redFlags:[],rpc:["https://74738.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-74738",testnet:!0},vw0={chain:"RESIN",chainId:75e3,explorers:[{name:"ResinScan",url:"https://explorer.resincoin.dev",standard:"none"}],faucets:[],icon:{url:"ipfs://QmTBszPzBeWPhjozf4TxpL2ws1NkG9yJvisx9h6MFii1zb",width:460,height:460,format:"png"},infoURL:"https://resincoin.dev",name:"ResinCoin Mainnet",nativeCurrency:{name:"Ether",symbol:"RESIN",decimals:18},networkId:75e3,rpc:[],shortName:"resin",slug:"resincoin",testnet:!1},Tw0={chain:"GEEK",chainId:75512,explorers:[{name:"Geek Explorer",url:"https://explorer.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:75512,rpc:["https://75512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.geekout-pte.com"],shortName:"GEEK",slug:"geek-verse",testnet:!1},_w0={chain:"GEEK Test",chainId:75513,explorers:[{name:"Geek Testnet Explorer",url:"https://explorer-testnet.geekout-pte.com",standard:"EIP3091"}],faucets:[],infoURL:"https://www.geekout-pte.com",name:"GEEK Verse Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:75513,rpc:["https://75513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.geekout-pte.com"],shortName:"GEEK_Test",slug:"geek-verse-testnet",testnet:!0},ww0={chain:"Avalanche",chainId:75817,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SFT 1-8-24",nativeCurrency:{name:"SFT 1-8-24 Token",symbol:"ZAF",decimals:18},networkId:75817,redFlags:[],rpc:["https://75817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"SFT 1-8-24",slug:"sft-1-8-24",testnet:!0},xw0={chain:"Avalanche",chainId:75991,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0710S2TS",nativeCurrency:{name:"QI0710S2TS Token",symbol:"QIA",decimals:18},networkId:75991,redFlags:[],rpc:["https://75991.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0710S2TS",slug:"qi0710s2ts",testnet:!0},Iw0={chain:"Avalanche",chainId:76950,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1204I2",nativeCurrency:{name:"QI1204I2 Token",symbol:"BHOX",decimals:18},networkId:76950,redFlags:[],rpc:["https://76950.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1204I2",slug:"qi1204i2",testnet:!0},Ew0={chain:"BORA",chainId:77001,explorers:[{name:"BORAchainscope",url:"https://scope.boraportal.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmccGWJcCzQh3rP6ZMdRyTc7JjtusKnXkoUtGUANQgjNqR",width:48,height:48,format:"svg"},infoURL:"https://www.boraportal.com",name:"BORAchain mainnet",nativeCurrency:{name:"BORA",symbol:"BORA",decimals:18},networkId:77001,rpc:["https://77001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://public-node.api.boraportal.com/bora/mainnet","https://public-node.api.boraportal.io/bora/mainnet"],shortName:"BORAchain",slip44:8217,slug:"borachain",testnet:!1},Dw0={chain:"Avalanche",chainId:77209,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2491",nativeCurrency:{name:"QaUser2491 Token",symbol:"GCW",decimals:18},networkId:77209,redFlags:[],rpc:["https://77209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2491",slug:"qauser2491",testnet:!0},Cw0={chain:"tFNC",chainId:77238,explorers:[{name:"Foundry Scan Testnet",url:"https://testnet-explorer.foundryscan.org",standard:"EIP3091"}],faucets:["https://faucet.foundryscan.org"],icon:{url:"ipfs://bafkreifx4vef7ubqz4iiaxckcvkdwjrp2hbliljwjlwu2vytlngg3r4pg4",width:192,height:192,format:"png"},infoURL:"https://foundrychain.org",name:"Foundry Chain Testnet",nativeCurrency:{name:"Foundry Chain Testnet",symbol:"tFNC",decimals:18},networkId:77238,rpc:["https://77238.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.foundryscan.org/"],shortName:"fnc",slip44:1,slug:"foundry-chain-testnet",testnet:!0},Sw0={chain:"Avalanche",chainId:77552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3673 Testnet",nativeCurrency:{name:"QaUser3673 Testnet Token",symbol:"YSI",decimals:18},networkId:77552,redFlags:[],rpc:["https://77552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3673 Testnet",slug:"qauser3673-testnet",testnet:!0},Aw0={chain:"Avalanche",chainId:77572,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0993 Testnet",nativeCurrency:{name:"QaUser0993 Testnet Token",symbol:"JOE",decimals:18},networkId:77572,redFlags:[],rpc:["https://77572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0993 Testnet",slug:"qauser0993-testnet",testnet:!0},kw0={chain:"Avalanche",chainId:77576,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6624 Testnet",nativeCurrency:{name:"QaUser6624 Testnet Token",symbol:"WVN",decimals:18},networkId:77576,redFlags:[],rpc:["https://77576.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6624 Testnet",slug:"qauser6624-testnet",testnet:!0},Pw0={chain:"VSC",chainId:77612,explorers:[{name:"ventionscan",url:"https://ventionscan.io",standard:"EIP3091"}],faucets:["https://faucet.vention.network"],icon:{url:"ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",width:250,height:250,format:"png"},infoURL:"https://ventionscan.io",name:"Vention Smart Chain Mainnet",nativeCurrency:{name:"VNT",symbol:"VNT",decimals:18},networkId:77612,rpc:["https://77612.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.vention.network"],shortName:"vscm",slug:"vention-smart-chain",testnet:!1},Rw0={chain:"ETH",chainId:77677,explorers:[],faucets:[],icon:{url:"ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",width:500,height:500,format:"png"},infoURL:"https://www.cyclenetwork.io/",name:"Cycle Network Mainnet Sailboat",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:77677,rpc:["https://77677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sailboat-rpc-mainnet.cyclenetwork.io"],shortName:"cycles",slug:"cycle-network-sailboat",testnet:!1},Lw0={chain:"Toronet",chainId:77777,ens:{registry:"0x1f45a71f4aAD769E27c969c4359E0e250C67165c"},explorers:[{name:"toronet_explorer",url:"https://toronet.org/explorer",standard:"none"}],faucets:[],icon:{url:"ipfs://QmciSvgLatP6jhgdazuiyD3fSrhipfAN7wC943v1qxcrpv",width:846,height:733,format:"png"},infoURL:"https://toronet.org",name:"Toronet Mainnet",nativeCurrency:{name:"Toro",symbol:"TORO",decimals:18},networkId:77777,rpc:["https://77777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://toronet.org/rpc"],shortName:"Toronet",slug:"toronet",testnet:!1},Mw0={chain:"Avalanche",chainId:77898,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0517I1",nativeCurrency:{name:"QI0517I1 Token",symbol:"YGV",decimals:18},networkId:77898,redFlags:[],rpc:["https://77898.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0517I1",slug:"qi0517i1",testnet:!0},Bw0={chain:"ETH",chainId:78110,explorers:[],faucets:[],infoURL:"https://primusmoney.com",name:"Firenze test network",nativeCurrency:{name:"Firenze Ether",symbol:"FIN",decimals:18},networkId:78110,rpc:["https://78110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://ethnode.primusmoney.com/firenze"],shortName:"firenze",slip44:1,slug:"firenze-test-network",testnet:!0},Nw0={chain:"Avalanche",chainId:78170,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"MXS Games Testnet",nativeCurrency:{name:"MXS Games Testnet Token",symbol:"XSEED",decimals:18},networkId:78170,redFlags:[],rpc:["https://78170.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/mxsgameste/testnet/rpc"],shortName:"MXS Games Testnet",slug:"mxs-games-testnet",testnet:!0},Fw0={chain:"Dragonfly",chainId:78281,explorers:[{name:"Dragonfly Blockscout",url:"https://blockscout.dragonfly.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmPXhdPGufjcPzZ9Y6nY6QyW8MgA6793L88iPMRh1Q3gjJ",width:512,height:366,format:"png"},infoURL:"https://hexapod.network",name:"Dragonfly Mainnet (Hexapod)",nativeCurrency:{name:"Dragonfly",symbol:"DFLY",decimals:18},networkId:78281,rpc:["https://78281.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dragonfly-rpc.switch.ch","https://dragonfly-rpc.kore-technologies.ch","https://dragonfly-rpc.phoenix-systems.io","https://dragonfly-rpc.block-spirit.ch"],shortName:"dfly",slug:"dragonfly-hexapod",testnet:!1},Ow0={chain:"AMPLIFY",chainId:78430,explorers:[{name:"AMPLIFY Explorer",url:"https://subnets-test.avax.network/amplify",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Amplify Subnet",nativeCurrency:{name:"AMP",symbol:"AMP",decimals:18},networkId:78430,rpc:["https://78430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/amplify/testnet/rpc"],shortName:"amplify",slip44:1,slug:"amplify-subnet",testnet:!0},Vw0={chain:"BULLETIN",chainId:78431,explorers:[{name:"BULLETIN Explorer",url:"https://subnets-test.avax.network/bulletin",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Bulletin Subnet",nativeCurrency:{name:"BLT",symbol:"BLT",decimals:18},networkId:78431,rpc:["https://78431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bulletin/testnet/rpc"],shortName:"bulletin",slip44:1,slug:"bulletin-subnet",testnet:!0},$w0={chain:"CONDUIT",chainId:78432,explorers:[{name:"CONDUIT Explorer",url:"https://subnets-test.avax.network/conduit",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],infoURL:"https://www.avax.network",name:"Conduit Subnet",nativeCurrency:{name:"CON",symbol:"CON",decimals:18},networkId:78432,rpc:["https://78432.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/conduit/testnet/rpc"],shortName:"conduit",slip44:1,slug:"conduit-subnet",testnet:!0},Uw0={chain:"VANAR",chainId:78600,explorers:[{name:"Vanguard Explorer",url:"https://explorer-vanguard.vanarchain.com",standard:"EIP3091",icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.vanarchain.com"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",width:1e3,height:1628,format:"png"},infoURL:"https://vanarchain.com",name:"Vanguard",nativeCurrency:{name:"Vanguard Vanry",symbol:"VANRY",decimals:18},networkId:78600,rpc:["https://78600.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-vanguard.vanarchain.com","wss://ws-vanguard.vanarchain.com"],shortName:"vanguard",slug:"vanguard",testnet:!0,title:"Vanar Testnet Vanguard"},qw0={chain:"Avalanche",chainId:78933,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V2",nativeCurrency:{name:"FST 12-22 V2 Token",symbol:"EJJ",decimals:18},networkId:78933,redFlags:[],rpc:["https://78933.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V2",slug:"fst-12-22-v2",testnet:!0},Hw0={chain:"Avalanche",chainId:79062,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s4t",nativeCurrency:{name:"QI0521s4t Token",symbol:"VTV",decimals:18},networkId:79062,redFlags:[],rpc:["https://79062.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s4t",slug:"qi0521s4t",testnet:!0},zw0={chain:"Avalanche",chainId:79338,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0122I1 Testnet",nativeCurrency:{name:"QR0122I1 Testnet Token",symbol:"JVTX",decimals:18},networkId:79338,redFlags:[],rpc:["https://79338.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0122i1te/testnet/rpc"],shortName:"QR0122I1 Testnet",slug:"qr0122i1-testnet",testnet:!0},Ww0={chain:"Avalanche",chainId:79466,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0513I2",nativeCurrency:{name:"QI0513I2 Token",symbol:"YSC",decimals:18},networkId:79466,redFlags:[],rpc:["https://79466.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0513I2",slug:"qi0513i2",testnet:!0},jw0={chain:"Avalanche",chainId:79490,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2672 Testnet",nativeCurrency:{name:"QaUser2672 Testnet Token",symbol:"ENU",decimals:18},networkId:79490,redFlags:[],rpc:["https://79490.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2672 Testnet",slug:"qauser2672-testnet",testnet:!0},Gw0={chain:"STAND",chainId:79879,explorers:[{name:"Gold Smart Chain",url:"https://testnet.goldsmartchain.com",standard:"EIP3091"}],faucets:["https://faucet.goldsmartchain.com"],icon:{url:"ipfs://QmPNuymyaKLJhCaXnyrsL8358FeTxabZFsaxMmWNU4Tzt3",width:396,height:418,format:"png"},infoURL:"https://goldsmartchain.com",name:"Gold Smart Chain Testnet",nativeCurrency:{name:"Standard in Gold",symbol:"STAND",decimals:18},networkId:79879,rpc:["https://79879.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.goldsmartchain.com"],shortName:"STANDt",slip44:1,slug:"gold-smart-chain-testnet",testnet:!0},aOe={chain:"Polygon",chainId:80001,explorers:[{name:"polygonscan",url:"https://mumbai.polygonscan.com",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Mumbai",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80001,redFlags:[],rpc:["https://80001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mumbai.maticvigil.com","https://polygon-mumbai-bor-rpc.publicnode.com","wss://polygon-mumbai-bor-rpc.publicnode.com","https://polygon-mumbai.gateway.tenderly.co","wss://polygon-mumbai.gateway.tenderly.co"],shortName:"maticmum",slip44:1,slug:"mumbai",status:"deprecated",testnet:!0,title:"Polygon Testnet Mumbai"},Oie={chain:"Polygon",chainId:80002,explorers:[{name:"polygonamoy",url:"https://www.oklink.com/amoy",standard:"EIP3091"}],faucets:["https://faucet.polygon.technology/"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/polygon/512.png",width:512,height:512,format:"png"},infoURL:"https://polygon.technology/",name:"Polygon Amoy Testnet",nativeCurrency:{name:"MATIC",symbol:"MATIC",decimals:18},networkId:80002,redFlags:[],rpc:["https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-amoy.polygon.technology","https://polygon-amoy-bor-rpc.publicnode.com","wss://polygon-amoy-bor-rpc.publicnode.com"],shortName:"polygonamoy",slip44:1,slug:"polygon-amoy-testnet",testnet:!0,title:"Polygon Amoy Testnet"},Kw0={chain:"Berachain bArtio",chainId:80084,explorers:[{name:"Beratrail",url:"https://bartio.beratrail.io",standard:"none",icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"}}],faucets:["https://bartio.faucet.berachain.com"],features:[],icon:{url:"https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:360,height:360,format:"png"},infoURL:"https://www.berachain.com",name:"Berachain bArtio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80084,redFlags:[],rpc:["https://80084.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bartio.rpc.berachain.com","https://bera-testnet.nodeinfra.com","https://bartio.rpc.b-harvest.io"],shortName:"Berachain",slug:"berachain-bartio",testnet:!0},Qw0={chain:"Berachain",chainId:80085,explorers:[{name:"Beratrail",url:"https://artio.beratrail.io",standard:"none",icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"}}],faucets:["https://artio.faucet.berachain.com"],features:[],icon:{url:"ipfs://QmW2xrDkSqBB7qgftp5PUecEGg4zwUBJgSN45CaR7CKJMr",width:256,height:256,format:"png"},infoURL:"https://www.berachain.com/",name:"Berachain Artio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},networkId:80085,redFlags:[],rpc:["https://80085.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://quicknode-rpc.berachain.com","https://artio.rpc.berachain.com","https://rpc.ankr.com/berachain_testnet"],shortName:"bera-artio",slug:"berachain-artio",testnet:!0},Yw0={chain:"Avalanche",chainId:80092,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4009",nativeCurrency:{name:"QaUser4009 Token",symbol:"MHP",decimals:18},networkId:80092,redFlags:[],rpc:["https://80092.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4009",slug:"qauser4009",testnet:!0},Jw0={chain:"HZC",chainId:80096,explorers:[{name:"blockscout",url:"https://hizoco.net:38443",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNWGj94URMQNyGZbGuAareEL4UpHjTwYWFEFBcX9utBZX",width:421,height:421,format:"png"},infoURL:"http://hizoco.net",name:"Hizoco mainnet",nativeCurrency:{name:"Hizoco",symbol:"HZC",decimals:18},networkId:80096,rpc:["https://80096.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hizoco.net/rpc"],shortName:"hzc",slug:"hizoco",testnet:!1},Xw0={chain:"Avalanche",chainId:80182,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"QI M 12051",nativeCurrency:{name:"QI M 12051 Token",symbol:"VTV",decimals:18},networkId:80182,redFlags:[],rpc:["https://80182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"],shortName:"QI M 12051",slug:"qi-m-12051",testnet:!0},Zw0={chain:"Avalanche",chainId:80375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0103y1s",nativeCurrency:{name:"qr0103y1s Token",symbol:"IJB",decimals:18},networkId:80375,redFlags:[],rpc:["https://80375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0103y1s/testnet/rpc"],shortName:"qr0103y1s",slug:"qr0103y1s",testnet:!0},ex0={chain:"Avalanche",chainId:80719,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4301 Testnet",nativeCurrency:{name:"QaUser4301 Testnet Token",symbol:"NHU",decimals:18},networkId:80719,redFlags:[],rpc:["https://80719.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4301 Testnet",slug:"qauser4301-testnet",testnet:!0},tx0={chain:"Avalanche",chainId:80970,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0624I1",nativeCurrency:{name:"QI0624I1 Token",symbol:"YKE",decimals:18},networkId:80970,redFlags:[],rpc:["https://80970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"QI0624I1",slug:"qi0624i1",testnet:!0},nx0={chain:"Nordek",chainId:81041,explorers:[{name:"nordek",url:"https://nordekscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreie45fcr2hllmej2elwqpdxmiaycxmz25tl5ymraduhtefqndhlm4q",width:222,height:306,format:"png"},infoURL:"https://nordekscan.com",name:"Nordek Mainnet",nativeCurrency:{name:"NRK",symbol:"NRK",decimals:18},networkId:81041,rpc:["https://81041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.nordekscan.com"],shortName:"nordek",slug:"nordek",testnet:!1},ax0={chain:"Avalanche",chainId:81079,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 21343243",nativeCurrency:{name:"QI M 21343243 Token",symbol:"JZW",decimals:18},networkId:81079,redFlags:[],rpc:["https://81079.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f575b5b1-8b60-47f3-af28-13f3f3de2ba5"],shortName:"QI M 21343243",slug:"qi-m-21343243",testnet:!0},rx0={chain:"MEER",chainId:81341,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Testnet",nativeCurrency:{name:"Amana Testnet",symbol:"MEER-T",decimals:18},networkId:81341,rpc:[],shortName:"amanatest",slip44:1,slug:"amana-testnet",status:"incubating",testnet:!0},ix0={chain:"MEER",chainId:81342,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Mixnet",nativeCurrency:{name:"Amana Mixnet",symbol:"MEER-M",decimals:18},networkId:81342,rpc:[],shortName:"amanamix",slug:"amana-mixnet",status:"incubating",testnet:!1},sx0={chain:"MEER",chainId:81343,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Amana Privnet",nativeCurrency:{name:"Amana Privnet",symbol:"MEER-P",decimals:18},networkId:81343,rpc:[],shortName:"amanapriv",slug:"amana-privnet",status:"incubating",testnet:!1},fx0={chain:"MEER",chainId:81351,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Testnet",nativeCurrency:{name:"Flana Testnet",symbol:"MEER-T",decimals:18},networkId:81351,rpc:[],shortName:"flanatest",slip44:1,slug:"flana-testnet",status:"incubating",testnet:!0},ox0={chain:"MEER",chainId:81352,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Mixnet",nativeCurrency:{name:"Flana Mixnet",symbol:"MEER-M",decimals:18},networkId:81352,rpc:[],shortName:"flanamix",slug:"flana-mixnet",status:"incubating",testnet:!1},cx0={chain:"MEER",chainId:81353,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Flana Privnet",nativeCurrency:{name:"Flana Privnet",symbol:"MEER-P",decimals:18},networkId:81353,rpc:[],shortName:"flanapriv",slug:"flana-privnet",status:"incubating",testnet:!1},dx0={chain:"MEER",chainId:81361,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Testnet",nativeCurrency:{name:"Mizana Testnet",symbol:"MEER-T",decimals:18},networkId:81361,rpc:[],shortName:"mizanatest",slip44:1,slug:"mizana-testnet",status:"incubating",testnet:!0},lx0={chain:"MEER",chainId:81362,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Mixnet",nativeCurrency:{name:"Mizana Mixnet",symbol:"MEER-M",decimals:18},networkId:81362,rpc:[],shortName:"mizanamix",slug:"mizana-mixnet",status:"incubating",testnet:!1},px0={chain:"MEER",chainId:81363,explorers:[],faucets:[],icon:{url:"ipfs://QmWSbMuCwQzhBB6GRLYqZ87n5cnpzpYCehCAMMQmUXj4mm",width:512,height:512,format:"png"},infoURL:"https://github.com/Qitmeer",name:"Mizana Privnet",nativeCurrency:{name:"Mizana Privnet",symbol:"MEER-P",decimals:18},networkId:81363,rpc:[],shortName:"mizanapriv",slug:"mizana-privnet",status:"incubating",testnet:!1},ux0={chain:"ETH",chainId:81457,explorers:[{name:"Blastscan",url:"https://blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}},{name:"Blast Explorer",url:"https://blastexplorer.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:81457,parent:{type:"L2",chain:"eip155-1"},redFlags:[],rpc:["https://81457.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.blast.io","https://rpc.ankr.com/blast","https://blast.din.dev/rpc","https://blast.blockpi.network/v1/rpc/public","https://blastl2-mainnet.public.blastapi.io","https://blast-rpc.publicnode.com"],shortName:"blastmainnet",slug:"blast-blastmainnet",status:"active",testnet:!1},yx0={chain:"Avalanche",chainId:81573,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0311 Testnet",nativeCurrency:{name:"QIS0311 Testnet Token",symbol:"MVD",decimals:18},networkId:81573,redFlags:[],rpc:["https://81573.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0311 Testnet",slug:"qis0311-testnet",testnet:!0},mx0={chain:"QNET",chainId:81720,explorers:[{name:"Quantum Scan Mainnet",url:"https://quantumscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibwywok67uewqbtqdzgr7nlk3lvvg7hxmbgwtn7kdwxe34useucvm",width:1024,height:1024,format:"png"},infoURL:"https://quantumnetwork.gg",name:"Quantum Chain Mainnet",nativeCurrency:{name:"Quantum Chain",symbol:"QNET",decimals:18},networkId:81720,rpc:["https://81720.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.quantumscan.org"],shortName:"qnet",slug:"quantum-chain",testnet:!1},bx0={chain:"Avalanche",chainId:82261,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0423s1 Testnet",nativeCurrency:{name:"QI0423s1 Testnet Token",symbol:"PUU",decimals:18},networkId:82261,redFlags:[],rpc:["https://82261.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0423s1 Testnet",slug:"qi0423s1-testnet",testnet:!0},hx0={chain:"Avalanche",chainId:82368,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0116S1",nativeCurrency:{name:"QR0116S1 Token",symbol:"USJ",decimals:18},networkId:82368,redFlags:[],rpc:["https://82368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0116s1/testnet/rpc"],shortName:"QR0116S1",slug:"qr0116s1",testnet:!0},gx0={chain:"SLN",chainId:82459,explorers:[{name:"SLN Testnet Explorer",url:"https://explorer.test.smartlayer.network",standard:"EIP3091"}],faucets:[],infoURL:"https://www.smartlayer.network/",name:"Smart Layer Network Testnet",nativeCurrency:{name:"Service Unit Token",symbol:"SU",decimals:18},networkId:82459,rpc:["https://82459.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.smartlayer.network"],shortName:"tSLN",slug:"smart-layer-network-testnet",testnet:!0},vx0={chain:"Avalanche",chainId:82529,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Test Using Resources",nativeCurrency:{name:"Test Using Resources Token",symbol:"JMH",decimals:18},networkId:82529,redFlags:[],rpc:["https://82529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testsize/testnet/rpc"],shortName:"Test Using Resources",slug:"test-using-resources-test using resources",testnet:!0},Tx0={chain:"Avalanche",chainId:82552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0209I2",nativeCurrency:{name:"QI0209I2 Token",symbol:"BLOX",decimals:18},networkId:82552,redFlags:[],rpc:["https://82552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0209I2",slug:"qi0209i2",testnet:!0},_x0={chain:"zFirst AvaCloud Subnet Thirdweb",chainId:82807,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"zFirst AvaCloud Subnet Thirdweb",nativeCurrency:{name:"zFirst AvaCloud Subnet Thirdweb",symbol:"YOOO",decimals:18},networkId:82807,redFlags:[],rpc:["https://82807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f2ea180d-0fda-4b06-9b2e-53a65d3fd789"],shortName:"zFirst AvaCloud Subnet Thirdweb",slug:"zfirst-avacloud-subnet-thirdweb",testnet:!0},wx0={chain:"Avalanche",chainId:83414,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Q IM 2402132",nativeCurrency:{name:"Q IM 2402132 Token",symbol:"XVL",decimals:18},networkId:83414,redFlags:[],rpc:["https://83414.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Q IM 2402132",slug:"q-im-2402132",testnet:!0},xx0={chain:"Avalanche",chainId:83862,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ST 12-12 V1",nativeCurrency:{name:"ST 12-12 V1 Token",symbol:"GXE",decimals:18},networkId:83862,redFlags:[],rpc:["https://83862.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"ST 12-12 V1",slug:"st-12-12-v1",testnet:!0},Ix0={chain:"ZEDXION",chainId:83872,explorers:[{name:"Zedscan",url:"http://zedscan.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZ5DXJVxuMRvKzKstFte3TahJ4LSDsGd8DWTrYEPbSjTu",width:254,height:254,format:"png"},infoURL:"https://docs.zedscan.net",name:"ZEDXION",nativeCurrency:{name:"Zedxion",symbol:"ZEDX",decimals:9},networkId:83872,rpc:["https://83872.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.zedscan.net"],shortName:"ZEDX",slug:"zedxion",testnet:!1},Ex0={chain:"Avalanche",chainId:83900,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"XTT",decimals:18},networkId:83900,redFlags:[],rpc:["https://83900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/a5f62fea-1375-4ddd-b88f-72b56b435259"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet",testnet:!0},Dx0={chain:"Avalanche",chainId:84045,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jovica's Testnet",nativeCurrency:{name:"Jovica's Testnet Token",symbol:"ZQG",decimals:18},networkId:84045,redFlags:[],rpc:["https://84045.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jovicax/testnet/rpc"],shortName:"Jovica's Testnet",slug:"jovica-s-testnet",testnet:!0},Cx0={chain:"ETH",chainId:84531,explorers:[{name:"basescan",url:"https://goerli.basescan.org",standard:"none"},{name:"basescout",url:"https://base-goerli.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"dexguru",url:"https://base-goerli.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://www.coinbase.com/faucets/base-ethereum-goerli-faucet"],features:[],icon:{url:"ipfs://QmW5Vn15HeRkScMfPcW12ZdZcC2yUASpu6eCsECRdEmjjj/base-512.png",width:512,height:512,format:"png"},infoURL:"https://base.org",name:"Base Goerli Testnet",nativeCurrency:{name:"Goerli Ether",symbol:"ETH",decimals:18},networkId:84531,redFlags:[],rpc:["https://84531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.base.org","https://base-goerli.gateway.tenderly.co","wss://base-goerli.gateway.tenderly.co","https://base-goerli-rpc.publicnode.com","wss://base-goerli-rpc.publicnode.com"],shortName:"basegor",slip44:1,slug:"base-goerli",status:"deprecated",testnet:!0},aU={chain:"ETH",chainId:84532,explorers:[{name:"basescout",url:"https://base-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmaxRoHpxZd8PqccAynherrMznMufG6sdmHZLihkECXmZv",width:1200,height:1200,format:"png"},infoURL:"https://base.org",name:"Base Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:84532,rpc:["https://84532.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.base.org","https://base-sepolia-rpc.publicnode.com","wss://base-sepolia-rpc.publicnode.com"],shortName:"basesep",slip44:1,slug:"base-sepolia-testnet",testnet:!0},Sx0={chain:"Avalanche",chainId:84623,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401221",nativeCurrency:{name:"QI M 2401221 Token",symbol:"HZU",decimals:18},networkId:84623,redFlags:[],rpc:["https://84623.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401221",slug:"qi-m-2401221",testnet:!0},Ax0={chain:"Avalanche",chainId:84860,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0422I1 Testnet",nativeCurrency:{name:"QI0422I1 Testnet Token",symbol:"LLV",decimals:18},networkId:84860,redFlags:[],rpc:["https://84860.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0422I1 Testnet",slug:"qi0422i1-testnet",testnet:!0},kx0={chain:"Aerie",chainId:84886,explorers:[{name:"Aerie Explorer",url:"https://explorer.aerielab.io",standard:"EIP3091",icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreig54jss26xllpjbclmfgwvot72m4ku7qxignhlqei6mijvwi2m4pu",width:1062,height:1069,format:"png"},infoURL:"https://aerielab.io/",name:"Aerie Network",nativeCurrency:{name:"Aerie",symbol:"AER",decimals:18},networkId:84886,rpc:["https://84886.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aerielab.io"],shortName:"Aerie",slug:"aerie-network",testnet:!1},Px0={chain:"Avalanche",chainId:84977,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1151",nativeCurrency:{name:"QaUser1151 Token",symbol:"AWU",decimals:18},networkId:84977,redFlags:[],rpc:["https://84977.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1151",slug:"qauser1151",testnet:!0},Rx0={chain:"Avalanche",chainId:85023,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"NishiOgikubo Subnet",nativeCurrency:{name:"NishiOgikubo Subnet Token",symbol:"NOS",decimals:18},networkId:85023,redFlags:[],rpc:["https://85023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/nishiogiku/testnet/rpc"],shortName:"NishiOgikubo Subnet",slug:"nishiogikubo-subnet",testnet:!0},Lx0={chain:"Avalanche",chainId:85405,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0614T1tS",nativeCurrency:{name:"QR0614T1tS Token",symbol:"FTW",decimals:18},networkId:85405,redFlags:[],rpc:["https://85405.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0614t1ts/testnet/rpc"],shortName:"QR0614T1tS",slug:"qr0614t1ts",testnet:!0},Mx0={chain:"CYBER",chainId:85449,explorers:[],faucets:[],infoURL:"https://cybertrust.space",name:"CYBERTRUST",nativeCurrency:{name:"Cyber Trust",symbol:"CYBER",decimals:18},networkId:48501,rpc:["https://85449.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://testnet.cybertrust.space:48501"],shortName:"Cyber",slug:"cybertrust",testnet:!0},Bx0={chain:"Avalanche",chainId:85677,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0715T1TS",nativeCurrency:{name:"QR0715T1TS Token",symbol:"EAK",decimals:18},networkId:85677,redFlags:[],rpc:["https://85677.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qr0715t1ts-yf0a5.avax-test.network/ext/bc/2gQwUZaBTv3iQz8uwQxXsnvi3vfspG5SW92MmmopZm8A3quaho/rpc?token=633edede6b5a8f598ccbee755c42d04d0483bf02e0f0b150974809aa91872a89"],shortName:"QR0715T1TS",slug:"qr0715t1ts",testnet:!0},Nx0={chain:"Avalanche",chainId:85678,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0122I1 Testnet",nativeCurrency:{name:"QI0122I1 Testnet Token",symbol:"KIP",decimals:18},networkId:85678,redFlags:[],rpc:["https://85678.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0122I1 Testnet",slug:"qi0122i1-testnet-qi0122i1 testnet-85678",testnet:!0},Fx0={chain:"Avalanche",chainId:86157,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0523S1T",nativeCurrency:{name:"QR0523S1T Token",symbol:"STZ",decimals:18},networkId:86157,redFlags:[],rpc:["https://86157.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523s1t/testnet/rpc"],shortName:"QR0523S1T",slug:"qr0523s1t",testnet:!0},Ox0={chain:"Avalanche",chainId:86162,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Apiary",nativeCurrency:{name:"Apiary Token",symbol:"APIARY",decimals:18},networkId:86162,redFlags:[],rpc:["https://86162.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-apiary-yfd1b.avax-test.network/ext/bc/cfGi1UzcKyVJuJki7dY495hKCXSH9wuyvV1EsD5CT63FLDu3f/rpc?token=0d7db5569e966aa69a6546107e69278f45a53068a5227fa48ba8485ffe629568"],shortName:"Apiary",slug:"apiary",testnet:!0},Vx0={chain:"Avalanche",chainId:86225,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"ava privacy solutions",nativeCurrency:{name:"ava privacy solutions Token",symbol:"APS",decimals:18},networkId:86225,redFlags:[],rpc:["https://86225.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-avaprivacy-d7360.avax-test.network/ext/bc/oWGrJRSSqrR4EozHy36aJbQcVRc5kCGHm2DzvuWVFVpKq3Q3R/rpc?token=8023bf037deaad0a0fa472760da4fc9e7d66efcf343038d09871bfbd54bcd725"],shortName:"ava privacy solutions",slug:"ava-privacy-solutions",testnet:!0},$x0={chain:"Avalanche",chainId:86602,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"John's Testnet",nativeCurrency:{name:"John's Testnet Token",symbol:"ABN",decimals:18},networkId:86602,redFlags:[],rpc:["https://86602.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"John's Testnet",slug:"john-s-testnet-john's testnet",testnet:!0},Ux0={chain:"Avalanche",chainId:86663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser7218 Testnet",nativeCurrency:{name:"QaUser7218 Testnet Token",symbol:"GCY",decimals:18},networkId:86663,redFlags:[],rpc:["https://86663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser7218 Testnet",slug:"qauser7218-testnet",testnet:!0},qx0={chain:"Avalanche",chainId:87389,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1804",nativeCurrency:{name:"QaUser1804 Token",symbol:"UOA",decimals:18},networkId:87389,redFlags:[],rpc:["https://87389.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1804",slug:"qauser1804",testnet:!0},Hx0={chain:"Avalanche",chainId:87460,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1360 Testnet",nativeCurrency:{name:"QaUser1360 Testnet Token",symbol:"KYP",decimals:18},networkId:87460,redFlags:[],rpc:["https://87460.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1360 Testnet",slug:"qauser1360-testnet",testnet:!0},zx0={chain:"Avalanche",chainId:87566,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Eun Kyu's",nativeCurrency:{name:"Eun Kyu's Token",symbol:"EKY",decimals:18},networkId:87566,redFlags:[],rpc:["https://87566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-eunkyu-w0354.avax-test.network/ext/bc/2EWNDiAUH6WLaJ4zbbjzqRgJjAqygtwPh6zKTsNRK7DaSCEn9e/rpc?token=737d2a8644ac84c1f04ff511430c2b1e1ac5924b803776f93ad665289df5a7c3"],shortName:"Eun Kyu's",slug:"eun-kyu-s",testnet:!0},Wx0={chain:"Avalanche",chainId:87815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402056",nativeCurrency:{name:"QI M 2402056 Token",symbol:"ACI",decimals:18},networkId:87815,redFlags:[],rpc:["https://87815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402056",slug:"qi-m-2402056",testnet:!0},jx0={chain:"ETH",chainId:88002,explorers:[{name:"Nautscan",url:"https://proteus.nautscan.com",standard:"EIP3091",icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"}}],faucets:["https://proteusfaucet.nautchain.xyz"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Proteus Testnet",nativeCurrency:{name:"Zebec Test Token",symbol:"tZBC",decimals:18},networkId:88002,rpc:["https://88002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.proteus.nautchain.xyz/solana"],shortName:"NAUTTest",slip44:1,slug:"nautilus-proteus-testnet",testnet:!0},Gx0={chain:"Avalanche",chainId:88018,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402131",nativeCurrency:{name:"QI M 2402131 Token",symbol:"CYB",decimals:18},networkId:88018,redFlags:[],rpc:["https://88018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402131",slug:"qi-m-2402131",testnet:!0},Kx0={chain:"INOAI",chainId:88559,explorers:[{name:"inoai live",url:"https://inoai.live",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdP8zAZEwUbf3pt8t9Ykho866ni5AMgutvkn3cBsV8gKG",width:500,height:500,format:"png"},infoURL:"https://inoai.info",name:"Inoai Network",nativeCurrency:{name:"Inoai",symbol:"INO",decimals:18},networkId:88559,rpc:["https://88559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://inoai-network.com"],shortName:"INOAI",slug:"inoai-network",testnet:!1},Qx0={chain:"Avalanche",chainId:88795,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8230 Testnet",nativeCurrency:{name:"QaUser8230 Testnet Token",symbol:"GRB",decimals:18},networkId:88795,redFlags:[],rpc:["https://88795.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8230 Testnet",slug:"qauser8230-testnet",testnet:!0},Yx0={chain:"Unit Zero",chainId:88817,explorers:[{name:"explorer-testnet",url:"https://explorer-testnet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Testnet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88817,rpc:["https://88817.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.unit0.dev"],shortName:"unit0-testnet",slug:"unit-zero-testnet",testnet:!0},Jx0={chain:"Unit Zero",chainId:88819,explorers:[{name:"explorer-stagenet",url:"https://explorer-stagenet.unit0.dev",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://units.network",name:"Unit Zero Stagenet",nativeCurrency:{name:"UNIT0",symbol:"UNIT0",decimals:18},networkId:88819,rpc:["https://88819.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-stagenet.unit0.dev"],shortName:"unit0-stagenet",slug:"unit-zero-stagenet",testnet:!1},Xx0={chain:"CHZ",chainId:88880,explorers:[{name:"scoville-explorer",url:"https://scoville-explorer.chiliz.com",standard:"none"}],faucets:["https://scoville-faucet.chiliz.com"],icon:{url:"ipfs://QmYV5xUVZhHRzLy7ie9D8qZeygJHvNZZAxwnB9GXYy6EED",width:400,height:400,format:"png"},infoURL:"https://www.chiliz.com/en/chain",name:"Chiliz Scoville Testnet",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88880,rpc:["https://88880.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://scoville-rpc.chiliz.com"],shortName:"chz",slip44:1,slug:"chiliz-scoville-testnet",status:"deprecated",testnet:!0},Zx0={chain:"Spicy",chainId:88882,explorers:[{name:"spicy-explorer",url:"https://testnet.chiliscan.com",standard:"EIP3091"},{name:"Spicy Explorer",url:"http://spicy-explorer.chiliz.com/",standard:"none"}],faucets:["https://spicy-faucet.chiliz.com","https://tatum.io/faucets/chiliz","https://spicy-faucet.chiliz.com/"],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/",name:"Spicy Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88882,redFlags:[],rpc:["https://88882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://spicy-rpc.chiliz.com/","https://spicy-rpc.chiliz.com"],shortName:"Spicy",slip44:1,slug:"spicy-chain",testnet:!0},eI0={chain:"Avalanche",chainId:88883,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Proj Orc Testnet Alpha",nativeCurrency:{name:"Proj Orc Testnet Alpha Token",symbol:"STX",decimals:18},networkId:88883,redFlags:[],rpc:["https://88883.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projorctes/testnet/rpc"],shortName:"Proj Orc Testnet Alpha",slug:"proj-orc-testnet-alpha",testnet:!0},tI0={chain:"CC2",chainId:88888,explorers:[{name:"cc2scan",url:"https://scan.chiliz.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmTGYofJ8VLkeNY4J69AvXi8e126kmbHmf34wLFoJ1FKAK",width:400,height:400,format:"png"},infoURL:"https://chiliz.com/chiliz-chain-2-0/",name:"Chiliz Chain",nativeCurrency:{name:"Chiliz",symbol:"CHZ",decimals:18},networkId:88888,redFlags:["reusedChainId"],rpc:["https://88888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ankr.com/chiliz","https://rpc.chiliz.com"],shortName:"cc2",slug:"chiliz-chain",testnet:!1},nI0={chain:"Avalanche",chainId:88945,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"SwapTest",nativeCurrency:{name:"SwapTest Token",symbol:"ZQG",decimals:18},networkId:88945,redFlags:[],rpc:["https://88945.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/swaptest/testnet/rpc"],shortName:"SwapTest",slug:"swaptest",testnet:!0},aI0={chain:"Avalanche",chainId:89283,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0326 Testnet",nativeCurrency:{name:"QIS0326 Testnet Token",symbol:"AKK",decimals:18},networkId:89283,redFlags:[],rpc:["https://89283.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0326 Testnet",slug:"qis0326-testnet",testnet:!0},rI0={chain:"Avalanche",chainId:89327,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0304I3 Testnet",nativeCurrency:{name:"QI0304I3 Testnet Token",symbol:"ZIK",decimals:18},networkId:89327,redFlags:[],rpc:["https://89327.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0304I3 Testnet",slug:"qi0304i3-testnet",testnet:!0},iI0={chain:"Fxcore",chainId:90001,explorers:[],faucets:[],icon:{url:"ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",width:36,height:36,format:"png"},infoURL:"https://functionx.io/",name:"F(x)Core Testnet Network",nativeCurrency:{name:"Function X",symbol:"FX",decimals:18},networkId:90001,rpc:["https://90001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-fx-json-web3.functionx.io:8545"],shortName:"dhobyghaut",slug:"f-x-core-testnet-network",testnet:!0},sI0={chain:"ETH",chainId:90210,explorers:[{name:"Beverly Hills explorer",url:"https://explorer.beverlyhills.ethdevops.io",standard:"none"}],faucets:["https://faucet.beverlyhills.ethdevops.io"],infoURL:"https://beverlyhills.ethdevops.io",name:"Beverly Hills",nativeCurrency:{name:"Beverly Hills Testnet Ether",symbol:"BVE",decimals:18},networkId:90210,rpc:["https://90210.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.beverlyhills.ethdevops.io:8545"],shortName:"bvhl",slug:"beverly-hills",status:"incubating",testnet:!0,title:"Ethereum multi-client Verkle Testnet Beverly Hills"},fI0={chain:"Avalanche",chainId:90343,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0603I2",nativeCurrency:{name:"QI0603I2 Token",symbol:"UQI",decimals:18},networkId:90343,redFlags:[],rpc:["https://90343.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0603I2",slug:"qi0603i2",testnet:!0},oI0={chain:"ETH",chainId:90354,explorers:[{name:"Block Explorer",url:"https://explorerl2new-camp-network-4xje7wy105.t.conduit.xyz",standard:"EIP3091",icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"}}],faucets:["https://www.campnetwork.xyz/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"},infoURL:"https://campaign-1.gitbook.io/camp-technical-docs\xE5",name:"Camp Network",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:90354,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://camp-testnet-bridge.vercel.app/"}]},redFlags:[],rpc:["https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-camp-network-4xje7wy105.t.conduit.xyz/","https://rpc-camp-network-4xje7wy105.t.conduit.xyz"],shortName:"campaign-l2",slip44:1,slug:"camp-network",testnet:!1},cI0={chain:"Avalanche",chainId:90663,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0416s1 Testnet",nativeCurrency:{name:"QI0416s1 Testnet Token",symbol:"ZKE",decimals:18},networkId:90663,redFlags:[],rpc:["https://90663.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0416s1 Testnet",slug:"qi0416s1-testnet",testnet:!0},dI0={chain:"Avalanche",chainId:90871,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0426s1 Testnet",nativeCurrency:{name:"QI0426s1 Testnet Token",symbol:"WDC",decimals:18},networkId:90871,redFlags:[],rpc:["https://90871.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0426s1 Testnet",slug:"qi0426s1-testnet",testnet:!0},lI0={chain:"ETH",chainId:91002,explorers:[{name:"Nautscan",url:"https://triton.nautscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclipse.builders"],icon:{url:"ipfs://QmNutSgM7n6aJPPDiofe9Dm1epy1RcYTMvugukLUK2vmPM",width:500,height:500,format:"png"},infoURL:"https://docs.nautchain.xyz",name:"Nautilus Trition Chain",nativeCurrency:{name:"Nautilus Zebec Testnet Tokens",symbol:"tZBC",decimals:18},networkId:91002,rpc:["https://91002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://triton.api.nautchain.xyz"],shortName:"NAUT",slug:"nautilus-trition-chain",testnet:!0,title:"Nautilus Trition Testnet"},pI0={chain:"WRLDS",chainId:91003,explorers:[],faucets:["https://faucet.evm.worlds.dev.eclipsenetwork.xyz/request_neon"],features:[],name:"Worlds Appchain",nativeCurrency:{name:"WRLDS",symbol:"WRLDS",decimals:18},networkId:91003,redFlags:[],rpc:["https://91003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.evm.worlds.dev.eclipsenetwork.xyz/"],shortName:"WRLDS",slug:"worlds-appchain",testnet:!0},uI0={chain:"Avalanche",chainId:91041,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0318I1 Testnet",nativeCurrency:{name:"QI0318I1 Testnet Token",symbol:"DVN",decimals:18},networkId:91041,redFlags:[],rpc:["https://91041.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0318I1 Testnet",slug:"qi0318i1-testnet-qi0318i1 testnet",testnet:!0},yI0={chain:"MetaDAP",chainId:91120,explorers:[{name:"MetaDAP Enterprise Mainnet explorer",url:"https://explorer.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Mainnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:91120,rpc:["https://91120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.chain.metadap.io","wss://rpc-ws.chain.metadap.io"],shortName:"MetaDAP",slug:"metadap-enterprise",testnet:!1,title:"MetaDAP Enterprise Mainnet"},mI0={chain:"Avalanche",chainId:91132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"New Will's Testnet",nativeCurrency:{name:"New Will's Testnet Token",symbol:"MBM",decimals:18},networkId:91132,redFlags:[],rpc:["https://91132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"New Will's Testnet",slug:"new-will-s-testnet",testnet:!0},bI0={chain:"Avalanche",chainId:91399,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506s1",nativeCurrency:{name:"QI0506s1 Token",symbol:"NGH",decimals:18},networkId:91399,redFlags:[],rpc:["https://91399.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506s1",slug:"qi0506s1",testnet:!0},hI0={chain:"Avalanche",chainId:91513,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Jambon Universe",nativeCurrency:{name:"Jambon Universe Token",symbol:"NIX",decimals:18},networkId:91513,redFlags:[],rpc:["https://91513.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jambonuvrs/testnet/rpc"],shortName:"Jambon Universe",slug:"jambon-universe",testnet:!0},gI0={chain:"Avalanche",chainId:91558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Shelby's Testnet 1-18",nativeCurrency:{name:"Shelby's Testnet 1-18 Token",symbol:"LIE",decimals:18},networkId:91558,redFlags:[],rpc:["https://91558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Shelby's Testnet 1-18",slug:"shelby-s-testnet-1-18",testnet:!0},vI0={chain:"Combo",chainId:91715,explorers:[{name:"combotrace explorer",url:"https://combotrace-testnet.nodereal.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRR4v6h6z21BpgS9xY3ExLB4Gkmm3i3dJWQx27oTGifq8",width:800,height:693,format:"png"},infoURL:"https://combonetwork.io",name:"Combo Testnet",nativeCurrency:{name:"BNB Chain Native Token",symbol:"tcBNB",decimals:18},networkId:91715,rpc:["https://91715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.combonetwork.io"],shortName:"combo-testnet",slug:"combo-testnet",testnet:!0},TI0={chain:"Avalanche",chainId:91735,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1228I2",nativeCurrency:{name:"QI1228I2 Token",symbol:"ZMY",decimals:18},networkId:91735,redFlags:[],rpc:["https://91735.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f51649a9-3420-4636-bb44-206f63998951"],shortName:"QI1228I2",slug:"qi1228i2",testnet:!0},_I0={chain:"Avalanche",chainId:91924,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I1",nativeCurrency:{name:"QI0506I1 Token",symbol:"KQA",decimals:18},networkId:91924,redFlags:[],rpc:["https://91924.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I1",slug:"qi0506i1",testnet:!0},wI0={chain:"Lambda",chainId:92001,explorers:[{name:"Lambda EVM Explorer",url:"https://explorer.lambda.top",standard:"EIP3091",icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"}}],faucets:["https://faucet.lambda.top"],icon:{url:"ipfs://QmWsoME6LCghQTpGYf7EnUojaDdYo7kfkWVjE6VvNtkjwy",width:500,height:500,format:"png"},infoURL:"https://lambda.im",name:"Lambda Testnet",nativeCurrency:{name:"test-Lamb",symbol:"LAMB",decimals:18},networkId:92001,rpc:["https://92001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.lambda.top/"],shortName:"lambda-testnet",slip44:1,slug:"lambda-testnet",testnet:!0},xI0={chain:"Avalanche",chainId:92185,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0506I2",nativeCurrency:{name:"QI0506I2 Token",symbol:"EXW",decimals:18},networkId:92185,redFlags:[],rpc:["https://92185.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0506I2",slug:"qi0506i2",testnet:!0},II0={chain:"Avalanche",chainId:92314,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIM 2405081",nativeCurrency:{name:"QIM 2405081 Token",symbol:"WCC",decimals:18},networkId:92314,redFlags:[],rpc:["https://92314.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f069738d-9c43-497b-96c1-9dda60d647e2"],shortName:"QIM 2405081",slug:"qim-2405081",testnet:!0},EI0={chain:"Avalanche",chainId:92496,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"OWO",decimals:18},networkId:92496,redFlags:[],rpc:["https://92496.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/testnet/testnet/rpc"],shortName:"Testnet",slug:"testnet-testnet-92496",testnet:!0},DI0={chain:"Avalanche",chainId:92780,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402053",nativeCurrency:{name:"QI M 2402053 Token",symbol:"ACI",decimals:18},networkId:92780,redFlags:[],rpc:["https://92780.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/c908add6-74c5-4407-8091-18762786a0b9"],shortName:"QI M 2402053",slug:"qi-m-2402053",testnet:!0},CI0={chain:"Avalanche",chainId:92847,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4251",nativeCurrency:{name:"QaUser4251 Token",symbol:"ERU",decimals:18},networkId:92847,redFlags:[],rpc:["https://92847.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4251",slug:"qauser4251",testnet:!0},SI0={chain:"Avalanche",chainId:92850,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I3",nativeCurrency:{name:"QI1212I3 Token",symbol:"HSCX",decimals:18},networkId:92850,redFlags:[],rpc:["https://92850.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI1212I3",slug:"qi1212i3",testnet:!0},AI0={chain:"Avalanche",chainId:92978,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser4903 Testnet",nativeCurrency:{name:"QaUser4903 Testnet Token",symbol:"CQS",decimals:18},networkId:92978,redFlags:[],rpc:["https://92978.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser4903 Testnet",slug:"qauser4903-testnet",testnet:!0},kI0={chain:"Avalanche",chainId:93017,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QIS0313 Testnet",nativeCurrency:{name:"QIS0313 Testnet Token",symbol:"NCG",decimals:18},networkId:93017,redFlags:[],rpc:["https://93017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QIS0313 Testnet",slug:"qis0313-testnet",testnet:!0},PI0={chain:"LILA",chainId:93572,explorers:[{name:"LiquidLayer Testnet Explorer",url:"https://testnet-scan.liquidlayer.network",standard:"EIP3091"}],faucets:["https://claim.liquidlayer.network"],icon:{url:"ipfs://bafkreiayuuzfpcgwjll4us4hquvpqa5gwq3lbiedv4qftmlwcxhcyjzzpq",width:500,height:500,format:"png"},infoURL:"https://testnet-scan.liquidlayer.network",name:"LiquidLayer Testnet",nativeCurrency:{name:"LiquidLayer Testnet",symbol:"LILA",decimals:18},networkId:93572,rpc:["https://93572.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.liquidlayer.network"],shortName:"tLILA",slug:"liquidlayer-testnet",testnet:!0},RI0={chain:"Avalanche",chainId:93625,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I2",nativeCurrency:{name:"QI0222I2 Token",symbol:"INK",decimals:18},networkId:93625,redFlags:[],rpc:["https://93625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I2",slug:"qi0222i2",testnet:!0},LI0={chain:"Avalanche",chainId:93694,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2401291",nativeCurrency:{name:"QI M 2401291 Token",symbol:"HZU",decimals:18},networkId:93694,redFlags:[],rpc:["https://93694.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-dev.io/f14d837e-de8f-446d-8222-0077f26e6694"],shortName:"QI M 2401291",slug:"qi-m-2401291",testnet:!0},MI0={chain:"Avalanche",chainId:93797,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8328",nativeCurrency:{name:"QaUser8328 Token",symbol:"CPY",decimals:18},networkId:93797,redFlags:[],rpc:["https://93797.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8328",slug:"qauser8328",testnet:!0},BI0={chain:"Avalanche",chainId:94006,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser3298",nativeCurrency:{name:"QaUser3298 Token",symbol:"TPM",decimals:18},networkId:94006,redFlags:[],rpc:["https://94006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser3298",slug:"qauser3298",testnet:!0},NI0={chain:"Avalanche",chainId:94158,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FST 12-22 V1",nativeCurrency:{name:"FST 12-22 V1 Token",symbol:"EJJ",decimals:18},networkId:94158,redFlags:[],rpc:["https://94158.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"FST 12-22 V1",slug:"fst-12-22-v1",testnet:!0},FI0={chain:"Avalanche",chainId:94171,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser1828",nativeCurrency:{name:"QaUser1828 Token",symbol:"GGY",decimals:18},networkId:94171,redFlags:[],rpc:["https://94171.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser1828",slug:"qauser1828",testnet:!0},OI0={chain:"Avalanche",chainId:94565,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"T 0117",nativeCurrency:{name:"T 0117 Token",symbol:"RUI",decimals:18},networkId:94565,redFlags:[],rpc:["https://94565.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"T 0117",slug:"t-0117",testnet:!0},VI0={chain:"Avalanche",chainId:94918,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Sample Testnet",nativeCurrency:{name:"Sample Testnet Token",symbol:"INS",decimals:18},networkId:94918,redFlags:[],rpc:["https://94918.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/sampletest/testnet/rpc"],shortName:"Sample Testnet",slug:"sample-testnet",testnet:!0},$I0={chain:"Avalanche",chainId:95063,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser0263",nativeCurrency:{name:"QaUser0263 Token",symbol:"BDU",decimals:18},networkId:95063,redFlags:[],rpc:["https://95063.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser0263",slug:"qauser0263",testnet:!0},UI0={chain:"Avalanche",chainId:95395,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Testnet",nativeCurrency:{name:"Testnet Token",symbol:"MFD",decimals:18},networkId:95395,redFlags:[],rpc:["https://95395.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"Testnet",slug:"testnet-testnet-95395",testnet:!0},qI0={chain:"Avalanche",chainId:95446,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0521s1t",nativeCurrency:{name:"QI0521s1t Token",symbol:"YFT",decimals:18},networkId:95446,redFlags:[],rpc:["https://95446.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0521s1t",slug:"qi0521s1t",testnet:!0},HI0={chain:"Avalanche",chainId:95468,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0528T1TS",nativeCurrency:{name:"QR0528T1TS Token",symbol:"TLK",decimals:18},networkId:95468,redFlags:[],rpc:["https://95468.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0528t1ts/testnet/rpc"],shortName:"QR0528T1TS",slug:"qr0528t1ts",testnet:!0},zI0={chain:"Avalanche",chainId:95549,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Testnet Testnet",nativeCurrency:{name:"Borne Testnet Testnet Token",symbol:"BORNE",decimals:18},networkId:95549,redFlags:[],rpc:["https://95549.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/borne/testnet/rpc"],shortName:"Borne Testnet Testnet",slug:"borne-testnet-testnet",testnet:!0},WI0={chain:"Avalanche",chainId:95598,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0523I1",nativeCurrency:{name:"QI0523I1 Token",symbol:"TQQ",decimals:18},networkId:95598,redFlags:[],rpc:["https://95598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0523I1",slug:"qi0523i1",testnet:!0},jI0={chain:"Avalanche",chainId:96040,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"FIZIT",nativeCurrency:{name:"FIZIT Token",symbol:"FIZIT",decimals:18},networkId:96040,redFlags:[],rpc:["https://96040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/fizit/testnet/rpc"],shortName:"FIZIT",slug:"fizit",testnet:!0},GI0={chain:"Avalanche",chainId:96081,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2213 Testnet",nativeCurrency:{name:"QaUser2213 Testnet Token",symbol:"QLV",decimals:18},networkId:96081,redFlags:[],rpc:["https://96081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2213 Testnet",slug:"qauser2213-testnet",testnet:!0},KI0={chain:"Avalanche",chainId:96105,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser5410",nativeCurrency:{name:"QaUser5410 Token",symbol:"JIV",decimals:18},networkId:96105,redFlags:[],rpc:["https://96105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser5410",slug:"qauser5410",testnet:!0},QI0={chain:"Avalanche",chainId:96552,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI032924 Testnet",nativeCurrency:{name:"QI032924 Testnet Token",symbol:"KJA",decimals:18},networkId:96552,redFlags:[],rpc:["https://96552.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI032924 Testnet",slug:"qi032924-testnet",testnet:!0},YI0={chain:"Avalanche",chainId:96809,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser2368 Testnet",nativeCurrency:{name:"QaUser2368 Testnet Token",symbol:"ZKJ",decimals:18},networkId:96809,redFlags:[],rpc:["https://96809.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser2368 Testnet",slug:"qauser2368-testnet",testnet:!0},JI0={chain:"Mantis",chainId:96970,explorers:[{name:"Mantis Blockscout",url:"https://blockscout.mantis.hexapod.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://mantis.switch.ch/faucet","https://mantis.kore-technologies.ch/faucet","https://mantis.phoenix-systems.io/faucet","https://mantis.block-spirit.ch/faucet"],icon:{url:"ipfs://Qma8dDhxSSVUyzV8Pu5bo252WaZEEikYFndRh7LVktvQEy",width:512,height:330,format:"png"},infoURL:"https://hexapod.network",name:"Mantis Testnet (Hexapod)",nativeCurrency:{name:"Mantis",symbol:"MANTIS",decimals:18},networkId:96970,rpc:["https://96970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mantis-rpc.switch.ch","https://mantis-rpc.kore-technologies.ch","https://mantis-rpc.phoenix-systems.io"],shortName:"mantis",slip44:1,slug:"mantis-testnet-hexapod",testnet:!0},XI0={chain:"Boba BNB Mainnet",chainId:97288,explorers:[{name:"Boba BNB block explorer",url:"https://blockexplorer.bnb.boba.network",standard:"none"}],faucets:[],infoURL:"https://boba.network",name:"Boba BNB Mainnet Old",nativeCurrency:{name:"Boba Token",symbol:"BOBA",decimals:18},networkId:97288,rpc:[],shortName:"BobaBnbOld",slug:"boba-bnb-old",status:"deprecated",testnet:!1},ZI0={chain:"Avalanche",chainId:97370,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser8236",nativeCurrency:{name:"QaUser8236 Token",symbol:"BPZ",decimals:18},networkId:97370,redFlags:[],rpc:["https://97370.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser8236",slug:"qauser8236",testnet:!0},eE0={chain:"Green Chain",chainId:97531,explorers:[{name:"Green Chain Explorer",url:"https://explorer.greenchain.app",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmNWBcc2AtknphNxt4GtTxbWF6vDkf6sh2nvkPn9wqchW6",width:519,height:518,format:"png"},infoURL:"https://www.greenchain.app",name:"Green Chain Testnet",nativeCurrency:{name:"GREEN",symbol:"GREEN",decimals:18},networkId:97531,rpc:["https://97531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.greenchain.app/rpc/"],shortName:"greenchain",slug:"green-chain-testnet",testnet:!0},tE0={chain:"Avalanche",chainId:97590,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0527T1TD",nativeCurrency:{name:"QI0527T1TD Token",symbol:"WYI",decimals:18},networkId:97590,redFlags:[],rpc:["https://97590.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0527T1TD",slug:"qi0527t1td",testnet:!0},nE0={chain:"Avalanche",chainId:97622,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0130I1",nativeCurrency:{name:"QI0130I1 Token",symbol:"NZY",decimals:18},networkId:97622,redFlags:[],rpc:["https://97622.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0130I1",slug:"qi0130i1",testnet:!0},aE0={chain:"OptimusZ7",chainId:97970,explorers:[{name:"OptimusZ7 Testnet Explorer",url:"https://testnet.optimusz7.com",standard:"EIP3091"}],faucets:["https://faucet.optimusz7.com"],icon:{url:"ipfs://Qmerd9Q3otjDuQAFbdiQyUnZk7UfPvkCr21E5N4VCNvhbj",width:493,height:506,format:"png"},infoURL:"http://optimusz7.com",name:"OptimusZ7 Testnet",nativeCurrency:{name:"OptimusZ7",symbol:"OZ7",decimals:18},networkId:97970,rpc:["https://97970.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.optimusz7.com"],shortName:"OZ7t",slug:"optimusz7-testnet",testnet:!0},rE0={chain:"Avalanche",chainId:98273,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0520I1",nativeCurrency:{name:"QI0520I1 Token",symbol:"YZG",decimals:18},networkId:98273,redFlags:[],rpc:["https://98273.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0520I1",slug:"qi0520i1",testnet:!0},iE0={chain:"Avalanche",chainId:98540,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI1212I5",nativeCurrency:{name:"QI1212I5 Token",symbol:"HSCX",decimals:18},networkId:98540,redFlags:[],rpc:["https://98540.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avacloud-test.io/ba4e7766-4bc6-44ec-b43f-598647b4ee71"],shortName:"QI1212I5",slug:"qi1212i5",testnet:!0},sE0={chain:"Avalanche",chainId:98557,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0201I1",nativeCurrency:{name:"QR0201I1 Token",symbol:"OCZ",decimals:18},networkId:98557,redFlags:[],rpc:["https://98557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0201i1/testnet/rpc"],shortName:"QR0201I1",slug:"qr0201i1",testnet:!0},fE0={chain:"Avalanche",chainId:98857,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Thetan Testnet",nativeCurrency:{name:"Thetan Testnet Token",symbol:"THG",decimals:18},networkId:98857,redFlags:[],rpc:["https://98857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thetantest/testnet/rpc"],shortName:"Thetan Testnet",slug:"thetan-testnet",testnet:!0},oE0={chain:"Ebi",chainId:98881,explorers:[],faucets:[],infoURL:"https://ebi.xyz",name:"Ebi Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:98881,rpc:["https://98881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ebi.xyz"],shortName:"ebi",slug:"ebi-chain",status:"incubating",testnet:!1,title:"Ebi Chain"},cE0={chain:"Avalanche",chainId:99083,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Will's Sample Testnet",nativeCurrency:{name:"Will's Sample Testnet Token",symbol:"TESTWILL",decimals:18},networkId:99083,redFlags:[],rpc:["https://99083.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-bestname10-a4ea7.avax-test.network/ext/bc/M4SdtZY7dfiwdJQdjcT3UL5gXY1RDdvRt5Z8BgACfAdWy8LGY/rpc?token=c052be2f5a4c2a771d71fc4970c42b184ac2e74ad325fdbac02b5556723868c2"],shortName:"Will's Sample Testnet",slug:"will-s-sample-testnet",testnet:!0},dE0={chain:"$EL",chainId:99099,explorers:[{name:"eLiberty Testnet",url:"https://testnet.eliberty.ngo",standard:"EIP3091"}],faucets:["https://faucet.eliberty.ngo"],icon:{url:"ipfs://Qmcr8US1DZcK3ooiMtE8tEQPgep12abXzxPw1jCkgZhji9",width:150,height:150,format:"png"},infoURL:"https://eliberty.ngo",name:"eLiberty Testnet",nativeCurrency:{name:"eLiberty",symbol:"$EL",decimals:18},networkId:99099,rpc:["https://99099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eliberty.ngo"],shortName:"ELt",slip44:1,slug:"eliberty-testnet",testnet:!0},lE0={chain:"Avalanche",chainId:99132,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0222I1",nativeCurrency:{name:"QI0222I1 Token",symbol:"ZKUx",decimals:18},networkId:99132,redFlags:[],rpc:["https://99132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0222I1",slug:"qi0222i1",testnet:!0},pE0={chain:"Avalanche",chainId:99181,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser9727 Testnet",nativeCurrency:{name:"QaUser9727 Testnet Token",symbol:"PCE",decimals:18},networkId:99181,redFlags:[],rpc:["https://99181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser9727 Testnet",slug:"qauser9727-testnet",testnet:!0},uE0={chain:"Avalanche",chainId:99308,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Borne Gaming Testnet",nativeCurrency:{name:"Borne Gaming Testnet Token",symbol:"BORNE",decimals:18},networkId:99308,redFlags:[],rpc:["https://99308.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/bornegamin/testnet/rpc"],shortName:"Borne Gaming Testnet",slug:"borne-gaming-testnet",testnet:!0},yE0={chain:"Avalanche",chainId:99512,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0611I1",nativeCurrency:{name:"QI0611I1 Token",symbol:"IJQ",decimals:18},networkId:99512,redFlags:[],rpc:["https://99512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0611I1",slug:"qi0611i1",testnet:!0},mE0={chain:"Avalanche",chainId:99733,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QaUser6779 Testnet",nativeCurrency:{name:"QaUser6779 Testnet Token",symbol:"WAG",decimals:18},networkId:99733,redFlags:[],rpc:["https://99733.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QaUser6779 Testnet",slug:"qauser6779-testnet",testnet:!0},bE0={chain:"Avalanche",chainId:99947,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI M 2402141",nativeCurrency:{name:"QI M 2402141 Token",symbol:"CYB",decimals:18},networkId:99947,redFlags:[],rpc:["https://99947.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI M 2402141",slug:"qi-m-2402141",testnet:!0},hE0={chain:"USC",chainId:99998,explorers:[],faucets:[],infoURL:"https://www.ubchain.site",name:"UB Smart Chain(testnet)",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99998,rpc:["https://99998.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.uschain.network"],shortName:"usctest",slip44:1,slug:"ub-smart-chain-testnet",testnet:!0},gE0={chain:"USC",chainId:99999,explorers:[],faucets:[],infoURL:"https://www.ubchain.site/",name:"UB Smart Chain",nativeCurrency:{name:"UBC",symbol:"UBC",decimals:18},networkId:99999,rpc:["https://99999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uschain.network"],shortName:"usc",slug:"ub-smart-chain",testnet:!1},vE0={chain:"QuarkChain",chainId:1e5,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:1e5,rpc:["https://100000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.mainnet.quarkchain.io:38391"],shortName:"qkc-r",slug:"quarkchain-root",testnet:!1},TE0={chain:"QuarkChain",chainId:100001,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100001,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s0-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39000"],shortName:"qkc-s0",slug:"quarkchain-shard-0",testnet:!1},_E0={chain:"QuarkChain",chainId:100002,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100002,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s1-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39001"],shortName:"qkc-s1",slug:"quarkchain-shard-1",testnet:!1},wE0={chain:"QuarkChain",chainId:100003,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100003,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s2-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39002"],shortName:"qkc-s2",slug:"quarkchain-shard-2",testnet:!1},xE0={chain:"QuarkChain",chainId:100004,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100004,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s3-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39003"],shortName:"qkc-s3",slug:"quarkchain-shard-3",testnet:!1},IE0={chain:"QuarkChain",chainId:100005,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100005,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s4-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39004"],shortName:"qkc-s4",slug:"quarkchain-shard-4",testnet:!1},EE0={chain:"QuarkChain",chainId:100006,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100006,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s5-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39005"],shortName:"qkc-s5",slug:"quarkchain-shard-5",testnet:!1},DE0={chain:"QuarkChain",chainId:100007,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100007,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s6-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39006"],shortName:"qkc-s6",slug:"quarkchain-shard-6",testnet:!1},CE0={chain:"QuarkChain",chainId:100008,explorers:[{name:"quarkchain-mainnet",url:"https://mainnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Mainnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100008,parent:{type:"shard",chain:"eip155-100000"},rpc:["https://100008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-s7-ethapi.quarkchain.io","http://eth-jrpc.mainnet.quarkchain.io:39007"],shortName:"qkc-s7",slug:"quarkchain-shard-7",testnet:!1},SE0={chain:"VeChain",chainId:100009,explorers:[{name:"VeChain Stats",url:"https://vechainstats.com",standard:"none"},{name:"VeChain Explorer",url:"https://explore.vechain.org",standard:"none"}],faucets:[],infoURL:"https://vechain.org",name:"VeChain",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100009,rpc:["https://100009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.vechain.energy"],shortName:"vechain",slug:"vechain",testnet:!1},AE0={chain:"VeChain",chainId:100010,explorers:[{name:"VeChain Explorer",url:"https://explore-testnet.vechain.org",standard:"none"}],faucets:["https://faucet.vecha.in"],infoURL:"https://vechain.org",name:"VeChain Testnet",nativeCurrency:{name:"VeChain",symbol:"VET",decimals:18},networkId:100010,rpc:["https://100010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.vechain.energy"],shortName:"vechain-testnet",slip44:1,slug:"vechain-testnet",testnet:!0},kE0={chain:"QuarkChain",chainId:100011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Mainnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:100011,parent:{type:"L2",chain:"eip155-100000"},rpc:["https://100011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2",slug:"quarkchain-l2",testnet:!1},PE0={chain:"CHI1",chainId:100100,explorers:[],faucets:[],icon:{url:"ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",width:1800,height:1800,format:"png"},infoURL:"https://docs.gnosischain.com",name:"Deprecated CHI",nativeCurrency:{name:"Chiado xDAI",symbol:"xDAI",decimals:18},networkId:100100,rpc:[],shortName:"chi1",slug:"deprecated-chi",status:"deprecated",testnet:!1},RE0={chain:"GTN",chainId:101010,explorers:[{name:"blockscout",url:"https://stability.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Global Trust Network",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:101010,redFlags:["reusedChainId"],rpc:["https://101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gtn.stabilityprotocol.com"],shortName:"stabilityprotocol",slug:"global-trust-network",testnet:!1},LE0={chain:"CTC",chainId:102031,explorers:[{name:"blockscout",url:"https://creditcoin-testnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTfecECALDCy51zwVbXBSXb6TokqowCYzVLv65etahLxX",width:1024,height:1024,format:"png"},infoURL:"https://creditcoin.org",name:"Creditcoin Testnet",nativeCurrency:{name:"Testnet CTC",symbol:"tCTC",decimals:18},networkId:102031,rpc:["https://102031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.cc3-testnet.creditcoin.network"],shortName:"ctctest",slug:"creditcoin-testnet",testnet:!0},ME0={chain:"crystal",chainId:103090,explorers:[{name:"blockscout",url:"https://scan.crystaleum.org",standard:"EIP3091",icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmbry1Uc6HnXmqFNXW5dFJ7To8EezCCjNr4TqqvAyzXS4h",width:150,height:150,format:"png"},infoURL:"https://crystaleum.org",name:"Crystaleum",nativeCurrency:{name:"CRFI",symbol:"\u25C8",decimals:18},networkId:1,rpc:["https://103090.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.cryptocurrencydevs.org","https://rpc.crystaleum.org"],shortName:"CRFI",slug:"crystaleum",testnet:!1},BE0={chain:"Avalanche",chainId:103454,explorers:[{name:"Masa Testnet Explorer",url:"https://subnets-test.avax.network/masatestnet",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Masa Testnet",nativeCurrency:{name:"Masa Testnet Token",symbol:"tMASA",decimals:18},networkId:103454,redFlags:[],rpc:["https://103454.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/masatestne/testnet/rpc"],shortName:"Masa Testnet",slug:"masa-testnet",testnet:!0},NE0={chain:"KaspaClassic",chainId:104566,explorers:[{name:"KaspaClassic Explorer",url:"https://explorer.kaspaclassic.world",standard:"none"}],faucets:[],icon:{url:"ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",width:400,height:400,format:"png"},infoURL:"https://kaspaclassic.com/",name:"KaspaClassic Mainnet",nativeCurrency:{name:"KaspaClassic",symbol:"CAS",decimals:18},networkId:104566,rpc:["https://104566.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.kaspaclassic.world/","http://80.178.101.118:8000/"],shortName:"cas",slug:"kaspaclassic",testnet:!1},FE0={chain:"Stratis",chainId:105105,explorers:[{name:"Stratis Explorer",url:"https://explorer.stratisevm.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWiRBqfzoZ3GC7oCbYFqbwLyF4uDHM4eYdKUUJ7LHf2EA",width:59,height:55,format:"svg"},infoURL:"https://www.stratisplatform.com",name:"Stratis Mainnet",nativeCurrency:{name:"Stratis",symbol:"STRAX",decimals:18},networkId:105105,rpc:["https://105105.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.stratisevm.com"],shortName:"stratis",slug:"stratis",testnet:!1},OE0={chain:"BRO",chainId:108801,explorers:[{name:"BROChain Explorer",url:"https://explorer.brochain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://brochain.org",name:"BROChain Mainnet",nativeCurrency:{name:"Brother",symbol:"BRO",decimals:18},networkId:108801,rpc:["https://108801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.brochain.org","http://rpc.brochain.org","https://rpc.brochain.org/mainnet","http://rpc.brochain.org/mainnet"],shortName:"bro",slug:"brochain",testnet:!1},VE0={chain:"QuarkChain",chainId:11e4,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Root",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:11e4,rpc:["https://110000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://jrpc.devnet.quarkchain.io:38391"],shortName:"qkc-d-r",slug:"quarkchain-devnet-root",testnet:!1},$E0={chain:"QuarkChain",chainId:110001,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/0",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 0",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110001,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s0-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39900"],shortName:"qkc-d-s0",slug:"quarkchain-devnet-shard-0",testnet:!1},UE0={chain:"QuarkChain",chainId:110002,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/1",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 1",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110002,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s1-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39901"],shortName:"qkc-d-s1",slug:"quarkchain-devnet-shard-1",testnet:!1},qE0={chain:"QuarkChain",chainId:110003,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/2",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 2",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110003,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s2-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39902"],shortName:"qkc-d-s2",slug:"quarkchain-devnet-shard-2",testnet:!1},HE0={chain:"QuarkChain",chainId:110004,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/3",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 3",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110004,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s3-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39903"],shortName:"qkc-d-s3",slug:"quarkchain-devnet-shard-3",testnet:!1},zE0={chain:"QuarkChain",chainId:110005,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/4",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 4",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110005,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s4-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39904"],shortName:"qkc-d-s4",slug:"quarkchain-devnet-shard-4",testnet:!1},WE0={chain:"QuarkChain",chainId:110006,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/5",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 5",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110006,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s5-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39905"],shortName:"qkc-d-s5",slug:"quarkchain-devnet-shard-5",testnet:!1},jE0={chain:"QuarkChain",chainId:110007,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/6",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 6",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110007,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110007.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s6-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39906"],shortName:"qkc-d-s6",slug:"quarkchain-devnet-shard-6",testnet:!1},GE0={chain:"QuarkChain",chainId:110008,explorers:[{name:"quarkchain-devnet",url:"https://devnet.quarkchain.io/7",standard:"EIP3091"}],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain Devnet Shard 7",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110008,parent:{type:"shard",chain:"eip155-110000"},rpc:["https://110008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet-s7-ethapi.quarkchain.io","http://eth-jrpc.devnet.quarkchain.io:39907"],shortName:"qkc-d-s7",slug:"quarkchain-devnet-shard-7",testnet:!1},KE0={chain:"QuarkChain",chainId:110011,explorers:[],faucets:[],infoURL:"https://www.quarkchain.io",name:"QuarkChain L2 Testnet",nativeCurrency:{name:"QKC",symbol:"QKC",decimals:18},networkId:110011,parent:{type:"L2",chain:"eip155-110000"},rpc:["https://110011.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-l2-ethapi.quarkchain.io"],shortName:"qkc-l2-t",slug:"quarkchain-l2-testnet",testnet:!0},QE0={chain:"SBR",chainId:111e3,explorers:[{name:"Siberium Testnet Explorer - blockscout",url:"https://explorer.test.siberium.net",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Test Network",nativeCurrency:{name:"TestSIBR",symbol:"SIBR",decimals:18},networkId:111e3,rpc:["https://111000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.test.siberium.net"],shortName:"testsbr",slip44:1,slug:"siberium-test-network",testnet:!0},YE0={chain:"SBR",chainId:111111,explorers:[{name:"Siberium Mainnet Explorer - blockscout - 2",url:"https://explorer.main.siberium.net.ru",standard:"EIP3091",icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmYeMdWDZ1iaBFeSPorRyPi7RuSXTdDKTgW3rfnUf3W5ne",width:512,height:512,format:"svg"},infoURL:"https://siberium.net",name:"Siberium Network",nativeCurrency:{name:"Siberium",symbol:"SIBR",decimals:18},networkId:111111,rpc:["https://111111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.main.siberium.net","https://rpc.main.siberium.net.ru"],shortName:"sbr",slug:"siberium-network",testnet:!1},JE0={chain:"re.al",chainId:111188,explorers:[{name:"blockscout",url:"https://explorer.re.al",standard:"EIP3091",icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",width:301,height:302,format:"png"},infoURL:"https://re.al",name:"re.al",nativeCurrency:{name:"re.al Ether",symbol:"reETH",decimals:18},networkId:111188,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://re.al/bridge"},{url:"https://bridge.gelato.network/bridge/real"}]},rpc:["https://111188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://real.drpc.org","wss://real.drpc.org"],shortName:"re-al",slip44:60,slug:"re-al",testnet:!1,title:"re.al Real-World Assets network"},XE0={chain:"Avalanche",chainId:111223,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Chennai Testnet",nativeCurrency:{name:"Chennai Testnet Token",symbol:"ZOD",decimals:18},networkId:111223,redFlags:[],rpc:["https://111223.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/chennai/testnet/rpc"],shortName:"Chennai Testnet",slug:"chennai-testnet",testnet:!0},ZE0={chain:"METAO",chainId:112358,explorers:[{name:"blockscout",url:"https://explorer.metachain.one",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTmo2QAtX5PbhX96vewnvH4Vc5H83Ft2DJGi6tAqTcFij",width:1e3,height:981,format:"png"},infoURL:"https://metachain.one",name:"Metachain One Mainnet",nativeCurrency:{name:"Metao",symbol:"METAO",decimals:18},networkId:112358,rpc:["https://112358.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.metachain.one","https://rpc2.metachain.one"],shortName:"metao",slug:"metachain-one",testnet:!1},eD0={chain:"MetaDAP",chainId:119139,explorers:[{name:"MetaDAP Enterprise Testnet explorer",url:"https://explorer.testnet.chain.metadap.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",width:800,height:800,format:"svg"},infoURL:"https://metadap.io/",name:"MetaDAP Enterprise Testnet",nativeCurrency:{name:"DAP",symbol:"DAP",decimals:18},networkId:119139,rpc:["https://119139.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.chain.metadap.io","wss://rpc-ws.testnet.chain.metadap.io"],shortName:"MetaDAP-T",slug:"metadap-enterprise-testnet",testnet:!0,title:"MetaDAP Enterprise Testnet"},tD0={chain:"Gemchain",chainId:123321,explorers:[{name:"Gemchain Scan",url:"https://scan.gemchain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://gemchain.org",name:"Gemchain",nativeCurrency:{name:"GEM",symbol:"GEM",decimals:18},networkId:123321,rpc:["https://123321.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc.gemchain.org"],shortName:"gemchain",slip44:1,slug:"gemchain",testnet:!1},nD0={chain:"ADIL",chainId:123456,explorers:[{name:"ADIL Devnet Explorer",url:"https://devnet.adilchain-scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmeHNYUx6n8CjUFSLWNT17oAtDYrUq6r8buyvGCUBXCJw6",width:500,height:500,format:"png"},infoURL:"https://adilchain.io",name:"ADIL Devnet",nativeCurrency:{name:"Devnet ADIL",symbol:"ADIL",decimals:18},networkId:123456,rpc:["https://123456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.adilchain-rpc.io"],shortName:"dadil",slug:"adil-devnet",testnet:!1},aD0={chain:"Etherlink",chainId:128123,explorers:[{name:"Etherlink Testnet Explorer",url:"https://testnet-explorer.etherlink.com",standard:"EIP3091"}],faucets:["https://faucet.etherlink.com"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmVqE4wq3fd3RKZwo7GxmW333ywHgYBZGvqwh3TUBM5DUi",width:3600,height:3600,format:"PNG"},infoURL:"https://node.ghostnet.etherlink.com",name:"Etherlink Testnet",nativeCurrency:{name:"tez",symbol:"XTZ",decimals:18},networkId:128123,parent:{type:"Etherlink",chain:"Etherlink",bridges:[]},redFlags:[],rpc:["https://128123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.ghostnet.etherlink.com"],shortName:"etlt",slug:"etherlink-testnet",testnet:!0},rD0={chain:"DIONE",chainId:131313,explorers:[],faucets:["https://faucet.dioneprotocol.com/"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmVt5Y585JqBSrkpZmYaEnX9FW7tDwfDLmUGNyDdyV2Pd2",width:48,height:48,format:"svg"},infoURL:"https://www.dioneprotocol.com/",name:"Odyssey Chain (Testnet)",nativeCurrency:{name:"DIONE",symbol:"DIONE",decimals:18},networkId:131313,rpc:["https://131313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnode.dioneprotocol.com/ext/bc/D/rpc"],shortName:"DIONE",slug:"odyssey-chain-testnet",testnet:!0},iD0={chain:"ETND",chainId:131419,explorers:[{name:"etndscan",url:"https://scan.etnd.pro",standard:"none",icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",width:128,height:128,format:"png"},infoURL:"https://www.etnd.pro",name:"ETND Chain Mainnets",nativeCurrency:{name:"ETND",symbol:"ETND",decimals:18},networkId:131419,rpc:["https://131419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.node1.etnd.pro/"],shortName:"ETND",slug:"etnd-chain-s",testnet:!1},sD0={chain:"Form",chainId:132902,explorers:[{name:"Form Testnet explorer",url:"https://testnet-explorer.form.network",standard:"EIP3091"}],faucets:["https://info.form.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreif6anuffunp3le26jsyemdrg4ydf2abensokw4qnlgvg5nc43zqbi",width:3600,height:3600,format:"PNG"},infoURL:"https://info.form.network",name:"Form Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:132902,parent:{type:"Optimism",chain:"Optimism",bridges:[]},redFlags:[],rpc:["https://132902.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.form.network/http","https://testnet-rpc.form.network/http","wss://testnet-rpc.form.network/ws"],shortName:"Form",slug:"form-testnet",testnet:!0,title:"https://explorer.form.network/"},fD0={chain:"Avalanche",chainId:141221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Xantus Testnet",nativeCurrency:{name:"Xantus Testnet Token",symbol:"XAN",decimals:18},networkId:141221,redFlags:[],rpc:["https://141221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantustest/testnet/rpc"],shortName:"Xantus Testnet",slug:"xantus-testnet",testnet:!0},oD0={chain:"MagApe",chainId:141319,explorers:[{name:"etherscan",url:"http://testnet-api.magape.io:81",standard:"EIP3091",icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",width:1e3,height:1e3,format:"png"},infoURL:"https://magape.io",name:"MagApe Testnet",nativeCurrency:{name:"MagApe",symbol:"MAG",decimals:18},networkId:141319,rpc:["https://141319.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-api.magape.io/chain/"],shortName:"mag",slug:"magape-testnet",testnet:!0,title:"MagApeChain"},cD0={chain:"ICPlaza",chainId:142857,explorers:[{name:"ICPlaza",url:"https://browsemainnet.ic-plaza.org/index",standard:"none"}],faucets:[],icon:{url:"ipfs://QmQpKKwpqrx77VA4SJLEWhuv9eLFMcVV9uvxRCLb6gdgCX",width:847,height:906,format:"png"},infoURL:"https://docs.ic-plaza.org/",name:"ICPlaza Mainnet",nativeCurrency:{name:"ict",symbol:"ict",decimals:18},networkId:142857,rpc:["https://142857.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcmainnet.ic-plaza.org/"],shortName:"ICPlaza",slug:"icplaza",testnet:!1},dD0={chain:"Avalanche",chainId:151221,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"Xantus",nativeCurrency:{name:"Xantus Token",symbol:"XAN",decimals:18},networkId:151221,redFlags:[],rpc:["https://151221.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/xantus/testnet/rpc"],shortName:"Xantus",slug:"xantus",testnet:!0},lD0={chain:"PLAY",chainId:161212,explorers:[],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Mainnet",nativeCurrency:{name:"Play",symbol:"PLAY",decimals:18},networkId:161212,rpc:[],shortName:"playfi",slug:"playfi",status:"incubating",testnet:!1},pD0={chain:"Eclat",chainId:165279,explorers:[{name:"Eclat Mainnet Explorer",url:"https://eclatscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://eclatscan.com",name:"Eclat Mainnet",nativeCurrency:{name:"Eclat",symbol:"ECLAT",decimals:18},networkId:165279,rpc:["https://165279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eclatscan.com"],shortName:"ECLAT",slug:"eclat",testnet:!1},uD0={chain:"ETH",chainId:167e3,explorers:[{name:"etherscan",url:"https://taikoscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167e3,redFlags:[],rpc:["https://167000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.taiko.xyz/","https://rpc.ankr.com/taiko/","https://rpc.taiko.xyz/","https://rpc.mainnet.taiko.xyz","wss://ws.mainnet.taiko.xyz"],shortName:"tko-mainnet",slug:"taiko",status:"active",testnet:!1},yD0={chain:"ETH",chainId:167004,explorers:[{name:"blockscout",url:"https://explorer.a2.taiko.xyz",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko (Alpha-2 Testnet)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167004,rpc:["https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.a2.taiko.xyz"],shortName:"taiko-a2",slip44:1,slug:"taiko-alpha-2-testnet",status:"deprecated",testnet:!0},mD0={chain:"ETH",chainId:167008,explorers:[{name:"blockscout",url:"https://explorer.katla.taiko.xyz",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Katla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167008,redFlags:[],rpc:["https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.katla.taiko.xyz","wss://ws.katla.taiko.xyz","https://taiko-katla.drpc.org","wss://taiko-katla.drpc.org"],shortName:"tko-katla",slug:"taiko-katla-l2",status:"deprecated",testnet:!0},bD0={chain:"ETH",chainId:167009,explorers:[{name:"blockscout",url:"https://blockscoutapi.hekla.taiko.xyz",standard:"EIP3091"},{name:"routescan",url:"https://hekla.taikoscan.network",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",width:288,height:258,format:"png"},infoURL:"https://taiko.xyz",name:"Taiko Hekla L2",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:167009,redFlags:[],rpc:["https://167009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://taiko-hekla.blockpi.network/v1/rpc/public","https://rpc.hekla.taiko.xyz","wss://ws.hekla.taiko.xyz"],shortName:"tko-hekla",slug:"taiko-hekla-l2",status:"active",testnet:!1},hD0={chain:"LPC",chainId:175177,explorers:[{name:"Lit Chronicle Explorer",url:"https://chain.litprotocol.com",standard:"EIP3091",icon:{url:"ipfs://QmXZcwET1LhUxfc2mCdiCJFm61jUHsVVXuZYwx8zhvHQxn",width:164,height:164,format:"png"}}],faucets:["https://faucet.litprotocol.com"],features:[],icon:{url:"ipfs://QmXZcwET1LhUxfc2mCdiCJFm61jUHsVVXuZYwx8zhvHQxn",width:164,height:164,format:"png"},infoURL:"https://developer.litprotocol.com/v3/network/rollup",name:"Chronicle - Lit Protocol Testnet",nativeCurrency:{name:"Test LIT",symbol:"tstLIT",decimals:18},networkId:175177,redFlags:[],rpc:["https://175177.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.litprotocol.com/http"],shortName:"lpc",slug:"chronicle-lit-protocol-testnet",testnet:!0},gD0={chain:"TCC Network",chainId:181155,explorers:[{name:"Tcc Scan",url:"https://scan.tccworld.org/",standard:"181155",icon:{url:"ipfs://QmchZTtvuU7oRe3rSu1HNPELJQdnutV79NjcHxoybJ4SVo/tcc-coin.png",width:100,height:100,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmchZTtvuU7oRe3rSu1HNPELJQdnutV79NjcHxoybJ4SVo/tcc-coin.png",width:100,height:100,format:"png"},name:"TCC Network",nativeCurrency:{name:"The ChampCoin",symbol:"TCC",decimals:18},networkId:181155,redFlags:[],rpc:[],shortName:"TCC",slug:"tcc-network",testnet:!1},vD0={chain:"BDCC",chainId:188710,explorers:[{name:"Bitica DPOS Blockchain Explorer",url:"https://biticablockchain.com",standard:"none"}],faucets:[],infoURL:"https://biticablockchain.com/",name:"Bitica Chain Mainnet",nativeCurrency:{name:"Bitica Coin",symbol:"BDCC",decimals:18},networkId:188710,rpc:["https://188710.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.biticablockchain.com/"],shortName:"bdcc",slug:"bitica-chain",testnet:!1},TD0={chain:"CONDOR",chainId:188881,explorers:[{name:"CondorScan",url:"https://explorer.condor.systems",standard:"none"}],faucets:["https://faucet.condor.systems"],icon:{url:"ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",width:752,height:752,format:"png"},infoURL:"https://condor.systems",name:"Condor Test Network",nativeCurrency:{name:"Condor Native Token",symbol:"CONDOR",decimals:18},networkId:188881,rpc:["https://188881.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.condor.systems/rpc"],shortName:"condor",slip44:1,slug:"condor-test-network",testnet:!0},_D0={chain:"FHET",chainId:192940,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://mindnetwork.xyz",name:"Mind Network Testnet",nativeCurrency:{name:"FHE",symbol:"FHE",decimals:18},networkId:192940,rpc:["https://192940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.mindnetwork.xyz","wss://rpc-testnet.mindnetwork.xyz"],shortName:"fhet",slug:"mind-network-testnet",testnet:!0},wD0={chain:"MAZZE Testnet",chainId:199991,explorers:[{name:"MAZZE Testnet Explorer",url:"https://mazzescan.io",standard:"none"}],faucets:["https://faucet.mazze.io/"],icon:{url:"ipfs://QmaR9Ud3aD7RaHYdsi3TdC1qx4zVusM76nd91s3Ghaz5fa",width:400,height:400,format:"png"},infoURL:"https://mazze.io/",name:"MAZZE Testnet",nativeCurrency:{name:"MAZZE Testnet",symbol:"MAZZE",decimals:18},networkId:199991,rpc:["https://199991.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.mazze.io/"],shortName:"MAZZE",slug:"mazze-testnet",testnet:!0},xD0={chain:"FAIT",chainId:2e5,explorers:[],faucets:[],features:[{name:"EIP155"}],infoURL:"https://xfair.ai",name:"xFair.AI Testnet",nativeCurrency:{name:"FAI",symbol:"FAI",decimals:18},networkId:2e5,rpc:["https://200000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc_testnet.xfair.ai","wss://rpc_testnet.xfair.ai"],shortName:"fait",slug:"xfair-ai-testnet",testnet:!0},ID0={chain:"milkTAda",chainId:200101,explorers:[{name:"Blockscout",url:"https://explorer-devnet-cardano-evm.c1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda C1 Testnet",nativeCurrency:{name:"milkTAda",symbol:"mTAda",decimals:18},networkId:200101,rpc:["https://200101.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-cardano-evm.c1.milkomeda.com","wss://rpc-devnet-cardano-evm.c1.milkomeda.com"],shortName:"milkTAda",slip44:1,slug:"milkomeda-c1-testnet",testnet:!0},ED0={chain:"milkTAlgo",chainId:200202,explorers:[{name:"Blockscout",url:"https://explorer-devnet-algorand-rollup.a1.milkomeda.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmdoUtvHDybu5ppYBZT8BMRp6AqByVSoQs8nFwKbaS55jd",width:367,height:367,format:"svg"},infoURL:"https://milkomeda.com",name:"Milkomeda A1 Testnet",nativeCurrency:{name:"milkTAlgo",symbol:"mTAlgo",decimals:18},networkId:200202,rpc:["https://200202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-devnet-algorand-rollup.a1.milkomeda.com"],shortName:"milkTAlgo",slip44:1,slug:"milkomeda-a1-testnet",testnet:!0},DD0={chain:"AKA",chainId:200625,explorers:[],faucets:[],infoURL:"https://akroma.io",name:"Akroma",nativeCurrency:{name:"Akroma Ether",symbol:"AKA",decimals:18},networkId:200625,rpc:["https://200625.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://remote.akroma.io"],shortName:"aka",slip44:200625,slug:"akroma",testnet:!1},CD0={chain:"Bitlayer",chainId:200810,explorers:[{name:"bitlayer testnet scan",url:"https://testnet.btrscan.com",standard:"EIP3091"}],faucets:["https://www.bitlayer.org/faucet"],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200810,rpc:["https://200810.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bitlayer.org","wss://testnet-ws.bitlayer.org","https://testnet-rpc.bitlayer-rpc.com","wss://testnet-ws.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer_testnet"],shortName:"btrt",slip44:1,slug:"bitlayer-testnet",testnet:!0},SD0={chain:"Bitlayer",chainId:200901,explorers:[{name:"bitlayer mainnet scan",url:"https://www.btrscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdWZ1frB47fr3tw31xE68C2Vocaw5Ef53LQ5WDNdNnNyG",width:4500,height:4500,format:"jpg"},infoURL:"https://docs.bitlayer.org/",name:"Bitlayer Mainnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:200901,rpc:["https://200901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.bitlayer.org","https://rpc.bitlayer-rpc.com","https://rpc.ankr.com/bitlayer","https://rpc-bitlayer.rockx.com","wss://ws.bitlayer.org","wss://ws.bitlayer-rpc.com"],shortName:"btr",slip44:1,slug:"bitlayer",testnet:!1},AD0={chain:"Alaya",chainId:201018,explorers:[{name:"alaya explorer",url:"https://scan.alaya.network",standard:"none"}],faucets:[],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Mainnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi.alaya.network/rpc","wss://openapi.alaya.network/ws"],shortName:"alaya",slug:"alaya",testnet:!1},kD0={chain:"Alaya",chainId:201030,explorers:[{name:"alaya explorer",url:"https://devnetscan.alaya.network",standard:"none"}],faucets:["https://faucet.alaya.network/faucet/?id=f93426c0887f11eb83b900163e06151c"],icon:{url:"ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",width:1140,height:1140,format:"png"},infoURL:"https://www.alaya.network/",name:"Alaya Dev Testnet",nativeCurrency:{name:"ATP",symbol:"atp",decimals:18},networkId:1,rpc:["https://201030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi.alaya.network/rpc","wss://devnetopenapi.alaya.network/ws"],shortName:"alayadev",slip44:1,slug:"alaya-dev-testnet",testnet:!0},PD0={chain:"MYTH",chainId:201804,explorers:[{name:"Mythical Chain Explorer",url:"https://explorer.mythicalgames.com",standard:"EIP3091",icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreihru6cccfblrjz5bv36znq2l3h67u6xj5ivtc4bj5l6gzofbgtnb4",width:350,height:350,format:"png"},infoURL:"https://mythicalgames.com/",name:"Mythical Chain",nativeCurrency:{name:"Mythos",symbol:"MYTH",decimals:18},networkId:201804,rpc:["https://201804.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain-rpc.mythicalgames.com"],shortName:"myth",slug:"mythical-chain",testnet:!1},RD0={chain:"tDSC",chainId:202020,explorers:[{name:"DSC Explorer Testnet",url:"https://testnet.explorer.decimalchain.com",standard:"EIP3091",icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmSgzwKnJJjys3Uq2aVVdwJ3NffLj3CXMVCph9uByTBegc",width:256,height:256,format:"png"},infoURL:"https://decimalchain.com",name:"Decimal Smart Chain Testnet",nativeCurrency:{name:"Decimal",symbol:"tDEL",decimals:18},networkId:202020,rpc:["https://202020.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-val.decimalchain.com/web3/"],shortName:"tDSC",slip44:1,slug:"decimal-smart-chain-testnet",testnet:!0},LD0={chain:"X1",chainId:202212,explorers:[{name:"Blockscout",url:"https://explorer.x1-devnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/x1/",name:"X1 Devnet",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:202212,rpc:["https://202212.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-devnet.xen.network"],shortName:"x1-devnet",slug:"x1-devnet",testnet:!1},MD0={chain:"YMTECH-BESU",chainId:202401,explorers:[{name:"YMTECH-BESU Chainlens",url:"http://39.119.118.198",standard:"none"}],faucets:[],infoURL:"https://www.ymtech.co.kr",name:"YMTECH-BESU Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:202401,rpc:["https://202401.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://39.119.118.216:8545"],shortName:"YMTECH-BESU",slug:"ymtech-besu-testnet",testnet:!0},BD0={chain:"ETH",chainId:202624,explorers:[{name:"Jellie Blockchain Explorer",url:"https://jellie.twala.io",standard:"EIP3091",icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTXJVhVKvVC7DQEnGKXvydvwpvVaUEBJrMHvsCr4nr1sK",width:1326,height:1265,format:"png"},infoURL:"https://twala.io/",name:"Jellie",nativeCurrency:{name:"Twala Coin",symbol:"TWL",decimals:18},networkId:202624,rpc:["https://202624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jellie-rpc.twala.io/","wss://jellie-rpc-wss.twala.io/"],shortName:"twl-jellie",slip44:1,slug:"jellie",testnet:!0,title:"Twala Testnet Jellie"},ND0={chain:"X1",chainId:204005,explorers:[{name:"Blockscout",url:"https://explorer.x1-testnet.xen.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],infoURL:"https://docs.xen.network/go-x1/",name:"X1 Network",nativeCurrency:{name:"XN",symbol:"XN",decimals:18},networkId:204005,rpc:["https://204005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://x1-testnet.xen.network"],shortName:"x1-testnet",slug:"x1-network",testnet:!0},FD0={chain:"Auroria",chainId:205205,explorers:[{name:"Auroria Testnet Explorer",url:"https://auroria.explorer.stratisevm.com",standard:"EIP3091"}],faucets:["https://auroria.faucet.stratisevm.com"],icon:{url:"ipfs://QmbkTh6qNYUnae5yNjied3qZqVyZcb4x3hfUpJ33bGg9QY",width:800,height:800,format:"jpg"},infoURL:"https://www.stratisplatform.com",name:"Auroria Testnet",nativeCurrency:{name:"Auroria Stratis",symbol:"tSTRAX",decimals:18},networkId:205205,rpc:["https://205205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://auroria.rpc.stratisevm.com"],shortName:"auroria",slug:"auroria-testnet",testnet:!0,title:"Stratis Testnet Auroria"},OD0={chain:"GitAGI",chainId:210049,explorers:[],faucets:[],infoURL:"https://gitagi.org/",name:"GitAGI Atlas Testnet",nativeCurrency:{name:"GitAGI",symbol:"tGAGI",decimals:18},networkId:210049,rpc:["https://210049.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gitagi.org"],shortName:"atlas",slug:"gitagi-atlas-testnet",testnet:!0},VD0={chain:"PlatON",chainId:210425,explorers:[{name:"PlatON explorer",url:"https://scan.platon.network",standard:"none"}],faucets:[],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Mainnet",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://210425.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://openapi2.platon.network/rpc","wss://openapi2.platon.network/ws"],shortName:"platon",slug:"platon",testnet:!1},$D0={chain:"Avalanche",chainId:210815,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Stavax Testnet",nativeCurrency:{name:"Stavax Testnet Token",symbol:"STA",decimals:18},networkId:210815,redFlags:[],rpc:["https://210815.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/stavaxtest/testnet/rpc"],shortName:"Stavax Testnet",slug:"stavax-testnet",testnet:!0},UD0={chain:"MAS",chainId:220315,explorers:[{name:"explorer masnet",url:"https://explorer.masnet.ai",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZ9njQhhKkpJKGnoYy6XTuDtk5CYiDFUd8atqWthqUT3Q",width:1024,height:1024,format:"png"},infoURL:"https://masterbank.org",name:"Mas Mainnet",nativeCurrency:{name:"Master Bank",symbol:"MAS",decimals:18},networkId:220315,rpc:["https://220315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://node.masnet.ai:8545"],shortName:"mas",slug:"mas",testnet:!1},qD0={chain:"REAP",chainId:221230,explorers:[{name:"Reapchain Dashboard",url:"https://dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Mainnet",nativeCurrency:{name:"Reap",symbol:"REAP",decimals:18},networkId:221230,rpc:["https://221230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://eth.reapchain.org"],shortName:"reap",slug:"reapchain",testnet:!1},HD0={chain:"REAP",chainId:221231,explorers:[{name:"Reapchain Testnet Dashboard",url:"https://test-dashboard.reapchain.org",standard:"none",icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"}}],faucets:["http://faucet.reapchain.com"],features:[],icon:{url:"ipfs://QmevQ8jmDWHmdnUQg6BpoMwVB3NhpzS75adbMnKL78Ls2h",width:256,height:256,format:"png"},infoURL:"https://reapchain.com",name:"Reapchain Testnet",nativeCurrency:{name:"test-Reap",symbol:"tREAP",decimals:18},networkId:221231,rpc:["https://221231.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-eth.reapchain.org"],shortName:"reap-testnet",slip44:1,slug:"reapchain-testnet",testnet:!0},zD0={chain:"HDX",chainId:222222,explorers:[{name:"blockscout",url:"https://explorer.evm.hydration.cloud",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",width:400,height:400,format:"svg"},infoURL:"https://hydradx.io",name:"HydraDX",nativeCurrency:{name:"Wrapped ETH",symbol:"WETH",decimals:18},networkId:222222,rpc:["https://222222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hydradx.cloud","wss://rpc.hydradx.cloud"],shortName:"hdx",slug:"hydradx",testnet:!1},WD0={chain:"DEEPL",chainId:222555,explorers:[{name:"DeepL Mainnet Explorer",url:"https://scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Mainnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222555,rpc:["https://222555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.deeplnetwork.org"],shortName:"deepl",slug:"deepl",testnet:!1},jD0={chain:"DEEPL",chainId:222666,explorers:[{name:"DeepL Testnet Explorer",url:"https://testnet-scan.deeplnetwork.org",standard:"EIP3091",icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"}}],faucets:["https://faucet.deeplnetwork.org"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeihjwgy4qja5cee452malk5hpb25pzpipfaka7hjcyb437ldodxzaq",width:512,height:512,format:"png"},infoURL:"https://deeplnetwork.org",name:"DeepL Testnet",nativeCurrency:{name:"DeepL",symbol:"DEEPL",decimals:18},networkId:222666,rpc:["https://222666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.deeplnetwork.org"],shortName:"tdeepl",slug:"deepl-testnet",testnet:!0},GD0={chain:"Taf ECO Chain",chainId:224168,explorers:[{name:"Taf ECO Chain Mainnet",url:"https://ecoscan.tafchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreigpxhu7glccsislhjqpl5fnsfmj2io4cy33blhky642uiuyojossy",width:400,height:400,format:"png"},infoURL:"https://www.tafchain.com",name:"Taf ECO Chain Mainnet",nativeCurrency:{name:"Taf ECO Chain Mainnet",symbol:"TAFECO",decimals:18},networkId:224168,rpc:["https://224168.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.tafchain.com/v1"],shortName:"TAFECO",slug:"taf-eco-chain",testnet:!1},KD0={chain:"CONET",chainId:224422,explorers:[{name:"CONET Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Sebolia Testnet",nativeCurrency:{name:"CONET Sebolia",symbol:"CONET",decimals:18},networkId:224422,rpc:["https://224422.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.conet.network"],shortName:"conet-sebolia",slip44:1,slug:"conet-sebolia-testnet",testnet:!0},QD0={chain:"CONET Holesky",chainId:224433,explorers:[{name:"CONET Holesky Scan",url:"https://scan.conet.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://bafkreibjxqd5kqcc2shstjjujvxzg6cwegwr6dgjyyd56v6h7yusgks7sy",width:1200,height:1200,format:"png"},infoURL:"https://conet.network",name:"CONET Holesky",nativeCurrency:{name:"CONET Holesky",symbol:"CONET",decimals:18},networkId:224433,rpc:["https://224433.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.conet.network"],shortName:"conet-holesky",slip44:2147708081,slug:"conet-holesky",testnet:!1},YD0={chain:"HashKey",chainId:230315,explorers:[{name:"HashKey Chain Testnet Explorer",url:"https://testnet.hashkeyscan.io",standard:"none"}],faucets:["https://testnet.hashkeychain/faucet"],icon:{url:"ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",width:1440,height:448,format:"png"},infoURL:"https://www.hashkey.com",name:"HashKey Chain Testnet(discard)",nativeCurrency:{name:"HashKey Token",symbol:"tHSK",decimals:18},networkId:230315,rpc:["https://230315.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hashkeychain/rpc"],shortName:"hsktest",slip44:1,slug:"hashkey-chain-testnet-discard",testnet:!0},JD0={chain:"Avalanche",chainId:234560,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Project Orc",nativeCurrency:{name:"Project Orc Token",symbol:"STX",decimals:18},networkId:234560,redFlags:[],rpc:["https://234560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/projectorc/testnet/rpc"],shortName:"Project Orc",slug:"project-orc",testnet:!0},XD0={chain:"tHYM",chainId:234666,explorers:[],faucets:[],infoURL:"https://haymoswap.web.app/",name:"Haymo Testnet",nativeCurrency:{name:"HAYMO",symbol:"HYM",decimals:18},networkId:234666,rpc:["https://234666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet1.haymo.network"],shortName:"hym",slip44:1,slug:"haymo-testnet",testnet:!0},ZD0={chain:"Orange Chain",chainId:240515,explorers:[{name:"Blockscout",url:"https://testnet-scan.orangechain.xyz",standard:"EIP3091",icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"}}],faucets:[],icon:{url:"ipfs://QmWcaVLcPYBxi76HYJc4qudLJwXtfNCDJieLHAs632jMEA",width:1042,height:1042,format:"png"},infoURL:"https://orangechain.xyz",name:"Orange Chain Testnet",nativeCurrency:{name:"BTC",symbol:"BTC",decimals:18},networkId:240515,rpc:["https://240515.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.orangechain.xyz"],shortName:"Orange-Chain-Testnet",slug:"orange-chain-testnet",testnet:!0,title:"Orange Chain Testnet"},eC0={chain:"ARTIS",chainId:246529,explorers:[],faucets:[],infoURL:"https://artis.eco",name:"ARTIS sigma1",nativeCurrency:{name:"ARTIS sigma1 Ether",symbol:"ATS",decimals:18},networkId:246529,rpc:["https://246529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sigma1.artis.network"],shortName:"ats",slip44:246529,slug:"artis-sigma1",testnet:!1},tC0={chain:"ARTIS",chainId:246785,explorers:[],faucets:[],infoURL:"https://artis.network",name:"ARTIS Testnet tau1",nativeCurrency:{name:"ARTIS tau1 Ether",symbol:"tATS",decimals:18},networkId:246785,rpc:["https://246785.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.tau1.artis.network"],shortName:"atstau",slip44:1,slug:"artis-testnet-tau1",testnet:!0},nC0={chain:"Saakuru",chainId:247253,explorers:[{name:"saakuru-explorer-testnet",url:"https://explorer-testnet.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Testnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:247253,rpc:["https://247253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.saakuru.network"],shortName:"saakuru-testnet",slip44:1,slug:"saakuru-testnet",testnet:!0},aC0={chain:"CMP",chainId:256256,explorers:[{name:"Mainnet Scan",url:"https://mainnet.scan.caduceus.foundation",standard:"none"}],faucets:[],infoURL:"https://caduceus.foundation/",name:"CMP-Mainnet",nativeCurrency:{name:"Caduceus Token",symbol:"CMP",decimals:18},networkId:256256,rpc:["https://256256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.block.caduceus.foundation","wss://mainnet.block.caduceus.foundation"],shortName:"cmp-mainnet",slug:"cmp",testnet:!1},rC0={chain:"WP",chainId:260693,explorers:[],faucets:[],features:[],icon:{url:"ipfs://Qmd4g9i2VjndV1TuWZySYoBiNt6eVyJMEujov7YtcTyoqq/whalepass_logo_3.png",width:512,height:512,format:"png"},name:"Whalepass Testnet",nativeCurrency:{name:"Whalepass",symbol:"WP",decimals:18},networkId:260693,redFlags:[],rpc:["https://260693.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network"],shortName:"wptest",slug:"whalepass-testnet",testnet:!0},iC0={chain:"Eclat",chainId:262371,explorers:[{name:"Eclat Testnet Explorer",url:"https://testnet-explorer.eclatscan.com",standard:"EIP3091"}],faucets:["https://faucet.eclatscan.com"],icon:{url:"ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",width:500,height:500,format:"png"},infoURL:"https://testnet-explorer.eclatscan.com",name:"Eclat Testnet",nativeCurrency:{name:"Eclat Testnet",symbol:"ECLAT",decimals:18},networkId:262371,rpc:["https://262371.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.eclatscan.com"],shortName:"tECLAT",slug:"eclat-testnet",testnet:!0},sC0={chain:"GearZero",chainId:266256,explorers:[],faucets:[],infoURL:"https://token.gearzero.ca/testnet",name:"Gear Zero Network Testnet",nativeCurrency:{name:"Gear Zero Network Native Token",symbol:"GZN",decimals:18},networkId:266256,rpc:["https://266256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gzn-test.linksme.info"],shortName:"gz-testnet",slip44:1,slug:"gear-zero-network-testnet",testnet:!0},fC0={chain:"EGON",chainId:271271,explorers:[{name:"EgonCoin Testnet",url:"https://testnet.egonscan.com",standard:"EIP3091"}],faucets:["https://faucet.egonscan.com"],icon:{url:"ipfs://QmNZiMmzMQYjyGtNSghtzLg4UooYhDgMQsa677DAP5KsBg",width:512,height:512,format:"png"},infoURL:"https://egonscan.com",name:"EgonCoin Testnet",nativeCurrency:{name:"EgonCoin",symbol:"EGON",decimals:18},networkId:271271,rpc:["https://271271.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.egonscan.com"],shortName:"EGONt",slip44:1,slug:"egoncoin-testnet",testnet:!0},oC0={chain:"SoChain",chainId:281121,explorers:[],faucets:[],infoURL:"https://digitalnext.business/SocialSmartChain",name:"Social Smart Chain Mainnet",nativeCurrency:{name:"SoChain",symbol:"$OC",decimals:18},networkId:281121,rpc:["https://281121.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://socialsmartchain.digitalnext.business"],shortName:"SoChain",slug:"social-smart-chain",testnet:!1},cC0={chain:"ETH",chainId:282828,explorers:[{name:"zillscout",url:"https://sepolia.zillnet.io",standard:"EIP3091",icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfVmjLNiBh8KyCr9mwDZh34aEhhQ2LAjuP87DFxhfd9nn",width:264,height:264,format:"png"},infoURL:"https://zillnet.io",name:"Zillion Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:282828,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://282828.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.zillnet.io/rpc"],shortName:"zillsep",slip44:1,slug:"zillion-sepolia-testnet",status:"active",testnet:!0},dC0={chain:"Cipherem",chainId:292003,explorers:[{name:"Cipherscan Testnet Explorer",url:"https://cipherscan.net",standard:"EIP3091",icon:{url:"ipfs://QmUrWn3VG9Jmg2GToV1dqwZUYwLZHU8daZSXEURs5o6xwt",width:118,height:118,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmP8oHKtqUiSxmNcZMFMy5DSFCZQm17uF32FEHojx8HQ5z",width:118,height:118,format:"svg"},infoURL:"https://www.cipherem.com",name:"Cipherem Testnet",nativeCurrency:{name:"CIP",symbol:"CIP",decimals:18},networkId:292003,rpc:["https://292003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.cipherem.com"],shortName:"CIP",slip44:1,slug:"cipherem-testnet",testnet:!0},lC0={chain:"One World Chain",chainId:309075,explorers:[{name:"One World Chain Mainnet Explorer",url:"https://mainnet.oneworldchain.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Mainnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:309075,rpc:["https://309075.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneworldchain.org"],shortName:"OWCTm",slug:"one-world-chain",testnet:!1},pC0={chain:"Avalanche",chainId:313310,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT10",nativeCurrency:{name:"LT10 Token",symbol:"LT",decimals:18},networkId:313310,redFlags:[],rpc:["https://313310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt10/testnet/rpc"],shortName:"LT10",slug:"lt10",testnet:!0},uC0={chain:"Avalanche",chainId:313311,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"LT11",nativeCurrency:{name:"LT11 Token",symbol:"LT",decimals:18},networkId:313311,redFlags:[],rpc:["https://313311.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lt11/testnet/rpc"],shortName:"LT11",slug:"lt11",testnet:!0},yC0={chain:"Sahara",chainId:313313,explorers:[{name:"Testnet Scan",url:"https://explorer.saharaa.info",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Testnet",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:313313,rpc:["https://313313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.saharalabs.ai"],shortName:"saharatest",slug:"saharaai-testnet",testnet:!0},mC0={chain:"FIL",chainId:314159,explorers:[{name:"Filscan - Calibration",url:"https://calibration.filscan.io",standard:"none"},{name:"Filscout - Calibration",url:"https://calibration.filscout.com/en",standard:"none"},{name:"Filfox - Calibration",url:"https://calibration.filfox.info",standard:"none"},{name:"Glif Explorer - Calibration",url:"https://explorer.glif.io/?network=calibration",standard:"none"},{name:"Beryx",url:"https://beryx.zondax.ch",standard:"none"}],faucets:["https://faucet.calibration.fildev.network/"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Calibration testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:314159,rpc:["https://314159.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.calibration.node.glif.io/rpc/v1","https://rpc.ankr.com/filecoin_testnet","https://filecoin-calibration.chainstacklabs.com/rpc/v1","https://filecoin-calibration.chainup.net/rpc/v1","https://calibration.filfox.info/rpc/v1","https://filecoin-calibration.drpc.org","wss://filecoin-calibration.drpc.org"],shortName:"filecoin-calibration",slip44:1,slug:"filecoin-calibration-testnet",testnet:!0},bC0={chain:"Parex",chainId:322202,explorers:[{name:"Parex Mainnet Explorer",url:"https://scan.parex.network",standard:"EIP3091",icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"}}],faucets:[],icon:{url:"ipfs://QmSPD3QcjFJL2KpYRnNDxa8Xg5rcSgPugG9kcBBNeavVKi",width:128,height:128,format:"png"},infoURL:"https://parex.network",name:"Parex Mainnet",nativeCurrency:{name:"PAREX",symbol:"PRX",decimals:18},networkId:322202,rpc:["https://322202.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.parex.network"],shortName:"parex",slug:"parex",testnet:!1,title:"Parex Mainnet"},hC0={chain:"Bloom",chainId:323213,explorers:[{name:"Bloom Genesis Testnet",url:"https://testnet.bloomgenesis.com",standard:"EIP3091"}],faucets:["https://faucet.bloomgenesis.com"],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Testnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:323213,rpc:["https://323213.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.bloomgenesis.com"],shortName:"BGBC-Testnet",slug:"bloom-genesis-testnet",testnet:!0},gC0={chain:"Camp Network Testnet V2",chainId:325e3,explorers:[{name:"Camp Network Testnet explorer",url:"https://camp-network-testnet.blockscout.com",standard:"EIP1559",icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"}}],faucets:[],features:[],icon:{url:"ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",width:400,height:400,format:"jpg"},infoURL:"https://docs.campnetwork.xyz/",name:"Camp Network Testnet V2",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:325e3,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://bridge.gelato.network/bridge/camp-network-testnet"},{url:"https://bridge.gelato.network/bridge/camp-network-testnet"}]},redFlags:[],rpc:["https://325000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.camp-network-testnet.gelato.digital"],shortName:"Camp Testnet v2",slug:"camp-network-testnet-v2",testnet:!0},vC0={chain:"WABA Testnet",chainId:327126,explorers:[{name:"blockscout",url:"https://explorer.wabaworld.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmX3NPsVTaBQDBySzMKZLVJhN4kakkAwrfz9mrqmUhNzUU",width:32,height:32,format:"png"},infoURL:"https://www.wabanetwork.org",name:"WABA Chain Testnet",nativeCurrency:{name:"WABA",symbol:"WABA",decimals:18},networkId:327126,rpc:["https://327126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.wabaworld.com"],shortName:"waba",slug:"waba-chain-testnet",testnet:!0},TC0={chain:"ETH",chainId:328527,explorers:[{name:"Nal Network Explorer",url:"https://scan.nal.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZLZHX18YUswejxo1JFNPx5EwMsVhUwBeBWEcd1JUHAK5",width:640,height:640,format:"png"},infoURL:"https://www.nal.network",name:"Nal Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:328527,rpc:["https://328527.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nal.network","wss://wss.nal.network"],shortName:"nal",slug:"nal",testnet:!1},_C0={chain:"TSC",chainId:330844,explorers:[{name:"TTcoin Smart Chain Explorer",url:"https://tscscan.com",standard:"EIP3091",icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"}}],faucets:["https://faucet.tscscan.com"],icon:{url:"ipfs://QmS7ipvvyZ16weG1DM7AZbi1v9ixYwU2FjP25Jj5jkLiuf",width:512,height:512,format:"png"},infoURL:"https://ttcoin.info/",name:"TTcoin Smart Chain Mainnet",nativeCurrency:{name:"TTcoin",symbol:"TC",decimals:18},networkId:330844,rpc:["https://330844.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tscscan.com"],shortName:"tc",slug:"ttcoin-smart-chain",testnet:!1},wC0={chain:"POPTestnet",chainId:331769,explorers:[{name:"ProofOfPepe Explorer",url:"https://pepescan.app/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"ProofOfPepe Testnet",nativeCurrency:{name:"POP",symbol:"POP",decimals:18},networkId:331769,redFlags:[],rpc:["https://331769.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet01.proofofpepe.tech"],shortName:"POPTestnet",slug:"proofofpepe-testnet",testnet:!0},xC0={chain:"POP",chainId:331771,explorers:[{name:"Pepescan",url:"https://pepescan.app",standard:"none"}],faucets:[],features:[],icon:{url:"ipfs://QmP8rYvcc7aJB3c2YZxjxaySvHapHnoK8MnxuSuDT4PtF2",width:400,height:400,format:"png"},name:"POP Mainnet",nativeCurrency:{name:"Pepe",symbol:"PEPE",decimals:18},networkId:331771,redFlags:[],rpc:["https://331771.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc00.proofofpepe.tech","https://rpc01.proofofpepe.tech","https://rpc02.proofofpepe.tech"],shortName:"POP",slug:"pop",testnet:!1},IC0={chain:"Avalanche",chainId:332323,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QI0408s3dev Testnet",nativeCurrency:{name:"QI0408s3dev Testnet Token",symbol:"REQ",decimals:18},networkId:332323,redFlags:[],rpc:["https://332323.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"],shortName:"QI0408s3dev Testnet",slug:"qi0408s3dev-testnet",testnet:!0},EC0={chain:"Bloom",chainId:333313,explorers:[{name:"Bloom Genesis Mainnet",url:"https://explorer.bloomgenesis.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",width:2794,height:2711,format:"png"},infoURL:"https://www.bloomgenesis.com",name:"Bloom Genesis Mainnet",nativeCurrency:{name:"Bloom",symbol:"BGBC",decimals:18},networkId:333313,rpc:["https://333313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bloomgenesis.com"],shortName:"BGBC",slug:"bloom-genesis",testnet:!1},DC0={chain:"AVST",chainId:333331,explorers:[{name:"avescan",url:"https://testnet.avescoin.io",standard:"EIP3091",icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmeKQVv2QneHaaggw2NfpZ7DGMdjVhPywTdse5RzCs4oGn",width:232,height:232,format:"png"},infoURL:"https://ethereum.org",name:"Aves Testnet",nativeCurrency:{name:"AvesT",symbol:"AVST",decimals:18},networkId:333331,rpc:["https://333331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test.rpc.avescoin.io"],shortName:"avst",slip44:1,slug:"aves-testnet",testnet:!0},CC0={chain:"N3-Test",chainId:333333,explorers:[{name:"Nativ3 Test Explorer",url:"https://scantest.nativ3.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVzJDndPui6qBSeJWe5kMLA56C3KpVhqqqk9xvVKE1DGb",width:256,height:256,format:"png"},infoURL:"https://nativ3.network",name:"Nativ3 Testnet",nativeCurrency:{name:"USNT",symbol:"USNT",decimals:18},networkId:333333,parent:{type:"L2",chain:"eip155-421613",bridges:[{url:"https://bridgetest.nativ3.network"}]},rpc:["https://333333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpctest.nativ3.network","wss://wstest.nativ3.network"],shortName:"N3-Test",slip44:1,slug:"nativ3-testnet",testnet:!0},SC0={chain:"OONE Testnet",chainId:333666,explorers:[{name:"blockscout",url:"https://testnet.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Testnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333666,rpc:["https://333666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.oonechain.com"],shortName:"oonetest",slip44:1,slug:"oone-chain-testnet",testnet:!0},AC0={chain:"OONE Devnet",chainId:333777,explorers:[{name:"blockscout",url:"https://dev.oonescan.com",standard:"none"}],faucets:["https://apps-test.adigium.com/faucet"],infoURL:"https://oonechain.com",name:"Oone Chain Devnet",nativeCurrency:{name:"tOONE",symbol:"tOONE",decimals:18},networkId:333777,rpc:["https://333777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dev.oonechain.com"],shortName:"oonedev",slug:"oone-chain-devnet",testnet:!0},kC0={chain:"Sparta",chainId:333888,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Testnet",nativeCurrency:{name:"tPolis",symbol:"tPOLIS",decimals:18},networkId:333888,rpc:["https://333888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sparta-rpc.polis.tech"],shortName:"sparta",slip44:1,slug:"polis-testnet",testnet:!0},PC0={chain:"Olympus",chainId:333999,explorers:[],faucets:["https://faucet.polis.tech"],icon:{url:"ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",width:1050,height:1050,format:"png"},infoURL:"https://polis.tech",name:"Polis Mainnet",nativeCurrency:{name:"Polis",symbol:"POLIS",decimals:18},networkId:333999,rpc:["https://333999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polis.tech"],shortName:"olympus",slug:"polis",testnet:!1},RC0={chain:"UPchain",chainId:336655,explorers:[{name:"UPchain Testnet Explorer",url:"https://explorer-testnet.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:["https://faucet-testnet.uniport.network"],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Testnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336655,rpc:["https://336655.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.uniport.network"],shortName:"UPchain-testnet",slug:"upchain-testnet",testnet:!0},LC0={chain:"UPchain",chainId:336666,explorers:[{name:"UPchain Mainnet Explorer",url:"https://explorer.uniport.network",standard:"EIP3091",icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",width:320,height:320,format:"jpg"},infoURL:"https://uniport.network",name:"UPchain Mainnet",nativeCurrency:{name:"UBTC",symbol:"UBTC",decimals:18},networkId:336666,rpc:["https://336666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.uniport.network"],shortName:"UPchain-mainnet",slug:"upchain",testnet:!1},MC0={chain:"BFT",chainId:355110,explorers:[{name:"Bitfinity Mainnet Block Explorer",url:"https://explorer.mainnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Mainnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355110,rpc:["https://355110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.bitfinity.network"],shortName:"bitfinity-mainnet",slug:"bitfinity-network",testnet:!1},BC0={chain:"BFT",chainId:355113,explorers:[{name:"Bitfinity Testnet Block Explorer",url:"https://explorer.testnet.bitfinity.network",standard:"EIP3091",icon:{url:"ipfs://bafkreiczbhnoc5wpjikskmehexmg3xmqr4fchrny64db4wmk3lrygqik5e",width:796,height:129,format:"png"}},{name:"Bitfinity Testnet Block Explorer",url:"https://bitfinity-test.dex.guru",standard:"EIP3091",icon:{url:"ipfs://QmRaASKRSjQ5btoUQ2rNTJNxKtx2a2RoewgA7DMQkLVEne",width:83,height:82,format:"svg"}}],faucets:["https://bitfinity.network/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://bitfinity.network",name:"Bitfinity Network Testnet",nativeCurrency:{name:"Bitfinity Token",symbol:"BFT",decimals:18},networkId:355113,rpc:["https://355113.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.bitfinity.network"],shortName:"bitfinity-testnet",slug:"bitfinity-network-testnet",testnet:!0},NC0={chain:"LAVITA",chainId:360890,explorers:[{name:"LAVITA Mainnet Explorer",url:"https://tsub360890-explorer.thetatoken.org",standard:"EIP3091",icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfHbWCxwSjf8qmg4yw8jySHZijRXTPW8f5xd2T5sjbeCY",width:1024,height:1024,format:"png"},infoURL:"https://www.lavita.ai",name:"LAVITA Mainnet",nativeCurrency:{name:"vTFUEL",symbol:"vTFUEL",decimals:18},networkId:360890,rpc:["https://360890.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tsub360890-eth-rpc.thetatoken.org/rpc"],shortName:"lavita-mainnet",slug:"lavita",testnet:!1},FC0={chain:"DS2",chainId:363636,explorers:[{name:"Digit Soul Explorer",url:"https://dgs-exp.digitsoul.co.th",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",width:370,height:320,format:"png"},name:"Digit Soul Smart Chain 2",nativeCurrency:{name:"Digit Coin",symbol:"DGC",decimals:18},networkId:363636,rpc:["https://363636.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dgs-rpc.digitsoul.co.th"],shortName:"DS2",slug:"digit-soul-smart-chain-2",testnet:!1},OC0={chain:"HAPchain",chainId:373737,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout-test.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain Testnet",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:373737,rpc:["https://373737.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.hap.land"],shortName:"hap-testnet",slip44:1,slug:"hapchain-testnet",testnet:!0},VC0={chain:"Metal",chainId:381931,explorers:[{name:"metalscan",url:"https://metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381931,rpc:["https://381931.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.metalblockchain.org/ext/bc/C/rpc"],shortName:"metal",slip44:9005,slug:"metal-c-chain",testnet:!1},$C0={chain:"Metal",chainId:381932,explorers:[{name:"metalscan",url:"https://tahoe.metalscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://www.metalblockchain.org/",name:"Metal Tahoe C-Chain",nativeCurrency:{name:"Metal",symbol:"METAL",decimals:18},networkId:381932,rpc:["https://381932.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://tahoe.metalblockchain.org/ext/bc/C/rpc"],shortName:"Tahoe",slip44:9005,slug:"metal-tahoe-c-chain",testnet:!1},UC0={chain:"TPBX",chainId:404040,explorers:[{name:"Tipboxcoin",url:"https://tipboxcoin.net",standard:"EIP3091"}],faucets:["https://faucet.tipboxcoin.net"],icon:{url:"ipfs://QmbiaHnR3fVVofZ7Xq2GYZxwHkLEy3Fh5qDtqnqXD6ACAh",width:192,height:192,format:"png"},infoURL:"https://tipboxcoin.net",name:"Tipboxcoin Mainnet",nativeCurrency:{name:"Tipboxcoin",symbol:"TPBX",decimals:18},networkId:404040,rpc:["https://404040.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.tipboxcoin.net"],shortName:"TPBXm",slug:"tipboxcoin",testnet:!1},qC0={chain:"AIE",chainId:413413,explorers:[{name:"aiescan-testnet",url:"https://testnet.aiescan.io",standard:"none",icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",width:3481,height:3500,format:"png"},infoURL:"https://testnet.aiescan.io",name:"AIE Testnet",nativeCurrency:{name:"AIE",symbol:"AIE",decimals:18},networkId:413413,rpc:["https://413413.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1-testnet.aiechain.io"],shortName:"aie",slug:"aie-testnet",testnet:!0},HC0={chain:"NUTRIEMP",chainId:42e4,explorers:[{name:"Nutriemp-chain.link",url:"https://explorer.nutriemp-chain.link",standard:"EIP3091",icon:{url:"ipfs://bafybeih7p2zkgxc6i6ygihz556y22aruacwybtfaif7554hqnd2a745uce/",width:1080,height:1080,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://bafybeih7p2zkgxc6i6ygihz556y22aruacwybtfaif7554hqnd2a745uce/",width:1080,height:1080,format:"png"},name:"NutriEmp-Chain",nativeCurrency:{name:"GRAMZ",symbol:"GRAMZ",decimals:18},networkId:42e4,redFlags:[],rpc:["https://420000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.nutriemp-chain.link"],shortName:"GRAMZ",slug:"nutriemp-chain",testnet:!1},zC0={chain:"kek",chainId:420420,explorers:[{name:"blockscout",url:"https://mainnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain",nativeCurrency:{name:"KEK",symbol:"KEK",decimals:18},networkId:103090,rpc:["https://420420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.kekchain.com"],shortName:"KEK",slug:"kekchain",testnet:!1},WC0={chain:"kek",chainId:420666,explorers:[{name:"blockscout",url:"https://testnet-explorer.kekchain.com",standard:"EIP3091",icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmNzwHAmaaQyuvKudrzGkrTT2GMshcmCmJ9FH8gG2mNJtM",width:401,height:401,format:"svg"},infoURL:"https://kekchain.com",name:"Kekchain (kektest)",nativeCurrency:{name:"tKEK",symbol:"tKEK",decimals:18},networkId:1,rpc:["https://420666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.kekchain.com"],shortName:"tKEK",slip44:1,slug:"kekchain-kektest",testnet:!0},jC0={chain:"ALT",chainId:420692,explorers:[{name:"Alterium L2 Testnet Explorer",url:"https://l2-testnet.altscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3v7ow4c4t3ljya6aouiwvqbtssb2lzmkwt2eghryk234g7yynrq",width:756,height:756,format:"png"},infoURL:"https://alteriumprotocol.org",name:"Alterium L2 Testnet",nativeCurrency:{name:"Alterium ETH",symbol:"AltETH",decimals:18},networkId:420692,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://testnet-bridge.alteriumprotocol.org"}]},rpc:["https://420692.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://l2-testnet-rpc.altscan.org"],shortName:"alterium",slip44:1,slug:"alterium-l2-testnet",testnet:!0},GC0={chain:"ETH",chainId:421611,explorers:[{name:"arbiscan-testnet",url:"https://testnet.arbiscan.io",standard:"EIP3091"},{name:"arbitrum-rinkeby",url:"https://rinkeby-explorer.arbitrum.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=421611&address=${ADDRESS}"],features:[],infoURL:"https://arbitrum.io",name:"Arbitrum Rinkeby",nativeCurrency:{name:"Arbitrum Rinkeby Ether",symbol:"ETH",decimals:18},networkId:421611,parent:{type:"L2",chain:"eip155-4",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://421611.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rinkeby.arbitrum.io/rpc"],shortName:"arb-rinkeby",slip44:1,slug:"arbitrum-rinkeby",status:"deprecated",testnet:!0,title:"Arbitrum Testnet Rinkeby"},KC0={chain:"ETH",chainId:421613,explorers:[{name:"Arbitrum Goerli Arbiscan",url:"https://goerli.arbiscan.io",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/arbitrum/512.png",width:512,height:512,format:"png"},infoURL:"https://arbitrum.io/",name:"Arbitrum Goerli",nativeCurrency:{name:"Arbitrum Goerli Ether",symbol:"AGOR",decimals:18},networkId:421613,parent:{type:"L2",chain:"eip155-5",bridges:[{url:"https://bridge.arbitrum.io/"}]},redFlags:[],rpc:["https://421613.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli-rollup.arbitrum.io/rpc","https://arbitrum-goerli.publicnode.com","wss://arbitrum-goerli.publicnode.com"],shortName:"arb-goerli",slip44:1,slug:"arbitrum-goerli",status:"deprecated",testnet:!0,title:"Arbitrum Goerli Rollup Testnet"},rOe={chain:"ETH",chainId:421614,explorers:[{name:"Arbitrum Sepolia Rollup Testnet Explorer",url:"https://sepolia-explorer.arbitrum.io",standard:"EIP3091"},{name:"Arbitrum Sepolia Testnet Explorer",url:"https://sepolia.arbiscan.io",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://arbitrum.io",name:"Arbitrum Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:421614,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.arbitrum.io"}]},redFlags:[],rpc:["https://421614.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://arbitrum-sepolia.infura.io/v3/${INFURA_API_KEY}","https://sepolia-rollup.arbitrum.io/rpc"],shortName:"arb-sep",slip44:1,slug:"arbitrum-sepolia",testnet:!0,title:"Arbitrum Sepolia Rollup Testnet"},QC0={chain:"FTN",chainId:424242,explorers:[{name:"blockscout",url:"https://testnet.ftnscan.com",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://fastex.com",name:"Fastex Chain testnet",nativeCurrency:{name:"FTN",symbol:"FTN",decimals:18},networkId:424242,rpc:["https://424242.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.fastexchain.com"],shortName:"fastexTestnet",slip44:1,slug:"fastex-chain-testnet",testnet:!0,title:"Fastex Chain testnet"},YC0={chain:"Unified",chainId:431140,explorers:[],faucets:[],icon:{url:"ipfs://QmVMBTZVPawyLBD2B5VbG68dfWLfZ1CnB8V59xduBe2kwh",width:84,height:84,format:"png"},infoURL:"https://www.markr.io/",name:"Markr Go",nativeCurrency:{name:"Avalanche",symbol:"AVAX",decimals:18},networkId:431140,rpc:["https://431140.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.markr.io/ext/"],shortName:"markr-go",slug:"markr-go",status:"incubating",testnet:!1},JC0={chain:"Avalanche",chainId:431188,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Foundation Testnet",nativeCurrency:{name:"Foundation Testnet Token",symbol:"TFND",decimals:18},networkId:431188,redFlags:[],rpc:["https://431188.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/foundation/testnet/rpc"],shortName:"Foundation Testnet",slug:"foundation-testnet",testnet:!0},XC0={chain:"DEXALOT",chainId:432201,explorers:[{name:"Avalanche Subnet Testnet Explorer",url:"https://subnets-test.avax.network/dexalot",standard:"EIP3091"}],faucets:["https://faucet.avax.network/?subnet=dexalot"],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet Testnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432201,rpc:["https://432201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/testnet/rpc"],shortName:"dexalot-testnet",slip44:1,slug:"dexalot-subnet-testnet",testnet:!0},ZC0={chain:"DEXALOT",chainId:432204,explorers:[{name:"Avalanche Subnet Explorer",url:"https://subnets.avax.network/dexalot",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfVxdrWjtUKiGzqFDzAxHH2FqwP2aRuZTGcYWdWg519Xy",width:256,height:256,format:"png"},infoURL:"https://dexalot.com",name:"Dexalot Subnet",nativeCurrency:{name:"Dexalot",symbol:"ALOT",decimals:18},networkId:432204,rpc:["https://432204.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/dexalot/mainnet/rpc"],shortName:"dexalot",slug:"dexalot-subnet",testnet:!1},eS0={chain:"SYNDRSEPOLIA",chainId:444444,explorers:[{name:"Syndr L3 Sepolia Testnet Explorer",url:"https://sepolia-explorer.syndr.com",standard:"EIP3091"}],faucets:[],infoURL:"https://syndr.com",name:"Syndr L3 Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:444444,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://sepolia-bridge.syndr.com"}]},rpc:["https://444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.syndr.com/http","wss://sepolia.syndr.com/ws"],shortName:"syndr",slug:"syndr-l3-sepolia",testnet:!0,title:"Syndr L3 Sepolia Rollup Testnet"},tS0={chain:"WLK",chainId:444900,explorers:[{name:"weelink-testnet",url:"https://weelink.cloud/#/blockView/overview",standard:"none"}],faucets:["https://faucet.weelink.gw002.oneitfarm.com"],infoURL:"https://weelink.cloud",name:"Weelink Testnet",nativeCurrency:{name:"Weelink Chain Token",symbol:"tWLK",decimals:18},networkId:444900,rpc:["https://444900.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://weelinknode1c.gw002.oneitfarm.com"],shortName:"wlkt",slip44:1,slug:"weelink-testnet",testnet:!0},nS0={chain:"ETH",chainId:471100,explorers:[],faucets:[],infoURL:"https://patex.io/",name:"Patex Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:471100,rpc:["https://471100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://test-rpc.patex.io/"],shortName:"psep",slip44:1,slug:"patex-sepolia-testnet",testnet:!0},aS0={chain:"ultrapro",chainId:473861,explorers:[{name:"ultraproscan",url:"https://ultraproscan.io",standard:"EIP3091",icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmT11iJMLe9sAk5NiRQbe2wv1jtLFCs2sF2w9vFwDLkkgE",width:500,height:500,format:"png"},infoURL:"https://ultrapro.info",name:"Ultra Pro Mainnet",nativeCurrency:{name:"Ultra Pro",symbol:"UPRO",decimals:18},networkId:473861,rpc:["https://473861.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ultraproscan.io"],shortName:"ultrapro",slug:"ultra-pro",testnet:!1},rS0={chain:"OpenChain",chainId:474142,explorers:[{name:"SIDE SCAN",url:"https://sidescan.luniverse.io/1641349324562974539",standard:"none"}],faucets:[],infoURL:"https://www.openchain.live",name:"OpenChain Mainnet",nativeCurrency:{name:"OpenCoin",symbol:"OPC",decimals:10},networkId:474142,rpc:["https://474142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://baas-rpc.luniverse.io:18545?lChainId=1641349324562974539"],shortName:"oc",slug:"openchain",testnet:!1},iS0={chain:"ETH",chainId:484752,explorers:[],faucets:[],infoURL:"https://worldcoin.org/",name:"World Chain Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:484752,rpc:[],shortName:"wcsep",slip44:1,slug:"world-chain-sepolia-testnet",testnet:!0},sS0={chain:"Gobbl Testnet",chainId:486487,explorers:[{name:"Gobbl Testnet Explorer",url:"https://explorer.gobbl.io",standard:"EIP3091"}],faucets:["https://faucet.gobbl.io"],icon:{url:"ipfs://QmQbJTFnUfWf31d16beZfqM4Fo5NRJjryNrDMyNfj9YQnS",width:1280,height:1280,format:"png"},infoURL:"https://www.gobbl.io/",name:"Gobbl Testnet",nativeCurrency:{name:"Gobbl Token",symbol:"GOBBL",decimals:18},networkId:486487,rpc:["https://486487.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.gobbl.io"],shortName:"gbl-testnet",slug:"gobbl-testnet",testnet:!0},fS0={chain:"TATC",chainId:49e4,explorers:[{name:"astral",url:"https://nova.subspace.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.autonomys.net",name:"Autonomys Testnet Nova Domain",nativeCurrency:{name:"Test Auto Coin",symbol:"TATC",decimals:18},networkId:49e4,rpc:["https://490000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://nova-0.gemini-3h.subspace.network/ws"],shortName:"ATN",slug:"autonomys-testnet-nova-domain",testnet:!0},oS0={chain:"Avalanche",chainId:504441,explorers:[{name:"Playdapp Explorer",url:"https://subnets.avax.network/playdappne",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Playdapp Network",nativeCurrency:{name:"Playdapp Network Token",symbol:"PDA",decimals:18},networkId:504441,redFlags:[],rpc:["https://504441.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/playdappne/mainnet/rpc"],shortName:"Playdapp Network",slug:"playdapp-network",testnet:!1},cS0={chain:"CMP",chainId:512512,explorers:[{name:"Galaxy Scan",url:"https://galaxy.scan.caduceus.foundation",standard:"none"}],faucets:["https://dev.caduceus.foundation/testNetwork"],infoURL:"https://caduceus.foundation/",name:"CMP-Testnet",nativeCurrency:{name:"Caduceus Testnet Token",symbol:"CMP",decimals:18},networkId:512512,rpc:["https://512512.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://galaxy.block.caduceus.foundation","wss://galaxy.block.caduceus.foundation"],shortName:"cmp",slip44:1,slug:"cmp-testnet",testnet:!0},dS0={chain:"DIS",chainId:513100,explorers:[{name:"DisChain",url:"https://www.oklink.com/dis",standard:"EIP3091"}],faucets:[],infoURL:"https://dischain.xyz",name:"DisChain",nativeCurrency:{name:"DisChain",symbol:"DIS",decimals:18},networkId:513100,rpc:["https://513100.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.dischain.xyz"],shortName:"dis",slug:"dischain",testnet:!1},lS0={chain:"DoCoin",chainId:526916,explorers:[{name:"DoCoin Community Chain Explorer",url:"https://explorer.docoin.shop",standard:"EIP3091"}],faucets:[],infoURL:"https://docoin.network",name:"DoCoin Community Chain",nativeCurrency:{name:"DO",symbol:"DCT",decimals:18},networkId:526916,rpc:["https://526916.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.docoin.shop"],shortName:"DoCoin",slug:"docoin-community-chain",testnet:!1,title:"DoCoin Community Chain"},pS0={chain:"ETH",chainId:534351,explorers:[{name:"Scroll Sepolia Etherscan",url:"https://sepolia.scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534351,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://sepolia.scroll.io/bridge"}]},rpc:["https://534351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.scroll.io","https://rpc.ankr.com/scroll_sepolia_testnet","https://scroll-sepolia.chainstacklabs.com","https://scroll-testnet-public.unifra.io"],shortName:"scr-sepolia",slip44:1,slug:"scroll-sepolia-testnet",status:"active",testnet:!0},uS0={chain:"ETH",chainId:534352,explorers:[{name:"Scrollscan",url:"https://scrollscan.com",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534352,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://scroll.io/bridge"}]},rpc:["https://534352.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.scroll.io","https://rpc.ankr.com/scroll","https://scroll-mainnet.chainstacklabs.com"],shortName:"scr",slug:"scroll",status:"active",testnet:!1},yS0={chain:"ETH",chainId:534353,explorers:[{name:"Scroll Alpha Testnet Block Explorer",url:"https://alpha-blockscout.scroll.io",standard:"EIP3091"}],faucets:[],infoURL:"https://scroll.io",name:"Scroll Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:534353,parent:{type:"L2",chain:"eip155-5",bridges:[]},rpc:["https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://alpha-rpc.scroll.io/l2"],shortName:"scr-alpha",slip44:1,slug:"scroll-alpha-testnet",status:"deprecated",testnet:!0},mS0={chain:"ETH",chainId:534354,explorers:[],faucets:[],infoURL:"https://scroll.io",name:"Scroll Pre-Alpha Testnet",nativeCurrency:{name:"Ether",symbol:"TSETH",decimals:18},networkId:534354,rpc:[],shortName:"scr-prealpha",slip44:1,slug:"scroll-pre-alpha-testnet",status:"deprecated",testnet:!0},bS0={chain:"Shinarium",chainId:534849,explorers:[{name:"shinascan",url:"https://shinascan.shinarium.org",standard:"EIP3091"}],faucets:["https://faucet.shinarium.org"],icon:{url:"ipfs://bafybeiadbavrwcial76vs5ovhyykyaobteltuhliqcthdairbja4klwzhu",width:1e3,height:1e3,format:"png"},infoURL:"https://shinarium.org",name:"Shinarium Beta",nativeCurrency:{name:"Shina Inu",symbol:"SHI",decimals:18},networkId:534849,rpc:["https://534849.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.shinarium.org"],shortName:"shi",slug:"shinarium-beta",testnet:!1},hS0={chain:"BESC",chainId:535037,explorers:[{name:"bescscan",url:"https://Bescscan.io",standard:"EIP3091"}],faucets:[],name:"BeanEco SmartChain",nativeCurrency:{name:"BeanEco SmartChain",symbol:"BESC",decimals:18},networkId:535037,rpc:["https://535037.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.bescscan.io"],shortName:"BESC",slug:"beaneco-smartchain",testnet:!1,title:"BESC Mainnet"},gS0={chain:"One World Chain",chainId:552981,explorers:[{name:"One World Chain Testnet Explorer",url:"https://testnet.oneworldchain.org",standard:"EIP3091"}],faucets:["https://faucet.oneworldchain.org"],icon:{url:"ipfs://QmPmZ6vgtdMG7jttVZQUobF96Sva1noi5Fsi28V1Eck6eC",width:200,height:200,format:"png"},infoURL:"https://oneworldchain.org",name:"One World Chain Testnet",nativeCurrency:{name:"OWCT",symbol:"OWCT",decimals:18},networkId:552981,rpc:["https://552981.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.oneworldchain.org"],shortName:"OWCTt",slug:"one-world-chain-testnet",testnet:!0},vS0={chain:"Pentagon",chainId:555555,explorers:[{name:"Pentagon Testnet Explorer",url:"https://explorer-testnet.pentagon.games",standard:"EIP3091",icon:{url:"ipfs://QmfU7W3Tm3tGWgnHBTG9vjB4PXGMvcL7Cq8R6MaSaC33DC",width:512,height:512,format:"png"}}],faucets:["https://bridge-testnet.pentagon.games"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmfU7W3Tm3tGWgnHBTG9vjB4PXGMvcL7Cq8R6MaSaC33DC",width:512,height:512,format:"png"},infoURL:"https://pentagon.games",name:"Pentagon Testnet",nativeCurrency:{name:"Pentagon",symbol:"PEN",decimals:18},networkId:555555,rpc:["https://555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.pentagon.games"],shortName:"pentagon-testnet",slug:"pentagon-testnet",testnet:!0},TS0={chain:"Avalanche",chainId:555666,explorers:[{name:"ECLIPSE Explorer",url:"https://subnets-test.avax.network/eclipsecha",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"EclipseChain Testnet",nativeCurrency:{name:"EclipseChain Testnet Token",symbol:"ECLPS",decimals:18},networkId:555666,redFlags:[],rpc:["https://555666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/eclipsecha/testnet/rpc"],shortName:"EclipseChain Testnet",slug:"eclipsechain-testnet",testnet:!0},_S0={chain:"HYP",chainId:622277,explorers:[{name:"hypra",url:"https://explorer.hypra.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafkreiawlhc2trzyxgnz24vowdymxme2m446uk4vmrplgxsdd74ecpfloq",width:830,height:830,format:"png"},infoURL:"https://www.hypra.network",name:"Hypra Mainnet",nativeCurrency:{name:"Hypra",symbol:"HYP",decimals:18},networkId:622277,rpc:["https://622277.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.hypra.network","https://rpc.rethereum.org","https://rethereum.rpc.restratagem.com","https://rpc.rthcentral.org"],shortName:"hyp",slug:"hypra",testnet:!1},wS0={chain:"ATLAS",chainId:622463,explorers:[{name:"Atlas Testnet Scan",url:"https://explorer.testnet.atl.network",standard:"EIP3091",icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmcSWGcoqC3y8VKahRdqPDgD68rr6A1gWVQPRt5FcpgWmG",width:587,height:174,format:"svg"},infoURL:"https://atl.network",name:"Atlas",nativeCurrency:{name:"TON",symbol:"TON",decimals:18},networkId:622463,rpc:["https://622463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.atl.network"],shortName:"atlas-testnet",slug:"atlas",testnet:!0,title:"Atlas Testnet"},xS0={chain:"BRNKC",chainId:641230,explorers:[{name:"brnkscan",url:"https://brnkscan.bearnetwork.net",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Mainnet",nativeCurrency:{name:"Bear Network Chain Native Token",symbol:"BRNKC",decimals:18},networkId:641230,rpc:["https://641230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-mainnet.bearnetwork.net","https://brnkc-mainnet1.bearnetwork.net"],shortName:"BRNKC",slug:"bear-network-chain",testnet:!1},IS0={chain:"ALL",chainId:651940,explorers:[{name:"Alltra SmartChain Explorer",url:"https://alltra.global",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibqe2mgiqezi24sx272kunqt6pv7uzxhpkxuobvpbsptce3q6nn5i",width:1e3,height:1e3,format:"png"},infoURL:"https://alltra.world",name:"ALL Mainnet",nativeCurrency:{name:"ALL",symbol:"ALL",decimals:18},networkId:651940,rpc:["https://651940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.alltra.global"],shortName:"ALL",slug:"all",testnet:!1},ES0={chain:"Open Campus Codex",chainId:656476,explorers:[{name:"Open Campus Codex",url:"https://opencampus-codex.blockscout.com",standard:"none",icon:{url:"ipfs://QmXbz7VEYvf6NVHezuBy5HpJTCiagEThBxxdDdfVXNQ8Bt",width:30,height:30,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXbz7VEYvf6NVHezuBy5HpJTCiagEThBxxdDdfVXNQ8Bt",width:30,height:30,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/open-campus-codex",name:"Open Campus Codex",nativeCurrency:{name:"EDU",symbol:"EDU",decimals:18},networkId:656476,rpc:["https://656476.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.open-campus-codex.gelato.digital"],shortName:"open-campus-codex",slug:"open-campus-codex",testnet:!1},DS0={chain:"Xai Mainnet",chainId:660279,explorers:[{name:"Blockscout",url:"https://explorer.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWFbhjKw7zfsK5Rd9YxZgJgS43fpySPozjhYc98ibbEV/xai-icon.png",width:1024,height:1024,format:"png"},infoURL:"https://xai.games/",name:"Xai Mainnet",nativeCurrency:{name:"XAI token",symbol:"XAI",decimals:18},networkId:660279,redFlags:[],rpc:["https://660279.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xai-chain.net/rpc/xai79df8614da076af58f199126a07db","https://xai-chain.net/rpc"],shortName:"xai",slug:"xai",testnet:!1},CS0={chain:"OCASH",chainId:660868,explorers:[],faucets:[],features:[],icon:{url:"https://ipfs.io/ipfs/QmbwuoezvkfZBY9nrZ65n3iHGyhJG6yDRyhPjqE6k3uCiM",width:350,height:350,format:"PNG"},infoURL:"https://www.overline.network",name:"Ocash testnet",nativeCurrency:{name:"OCASH",symbol:"OCASH",decimals:18},networkId:660868,redFlags:[],rpc:[],shortName:"ocash",slug:"ocash-testnet",testnet:!0},SS0={chain:"Vision-Vpioneer",chainId:666666,explorers:[],faucets:["https://vpioneerfaucet.visionscan.org"],infoURL:"https://visionscan.org",name:"Vision - Vpioneer Test Chain",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:666666,rpc:["https://666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://vpioneer.infragrid.v.network/ethereum/compatible"],shortName:"vpioneer",slip44:1,slug:"vision-vpioneer-test-chain",testnet:!0},AS0={chain:"Hela",chainId:666888,explorers:[{name:"Hela Official Runtime Testnet Explorer",url:"https://testnet-blockexplorer.helachain.com",standard:"EIP3091"}],faucets:["https://testnet-faucet.helachain.com"],icon:{url:"ipfs://QmQbUVcaxFwY8gqMq1Jeup4NEyivo12QYhbLvVRvgXRBFb",width:719,height:216,format:"png"},infoURL:"https://helalabs.com",name:"Hela Official Runtime Testnet",nativeCurrency:{name:"Hela HLUSD",symbol:"HLUSD",decimals:18},networkId:666888,rpc:["https://666888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.helachain.com"],shortName:"hela-testnet",slip44:1,slug:"hela-official-runtime-testnet",testnet:!0},kS0={chain:"WON",chainId:686868,explorers:[{name:"Won Explorer",url:"https://scan.wonnetwork.org",standard:"EIP3091"}],faucets:["https://faucet.wondollars.org"],icon:{url:"ipfs://QmQ6mjKWJQ5WmFiJzcqJnuHWZK53nQYJB1SnMQZEqgr74h",width:250,height:250,format:"png"},infoURL:"https://wonnetwork.org",name:"Won Network",nativeCurrency:{name:"Won",symbol:"WON",decimals:18},networkId:686868,rpc:["https://686868.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.wonnetwork.org"],shortName:"WonChain",slug:"won-network",testnet:!1},PS0={chain:"Galadriel",chainId:696969,explorers:[{name:"Galadriel Explorer",url:"https://explorer.galadriel.com",standard:"none"}],faucets:["https://docs.galadriel.com/faucet"],infoURL:"https://galadriel.com",name:"Galadriel Devnet",nativeCurrency:{name:"Galadriel Devnet token",symbol:"GAL",decimals:18},networkId:696969,rpc:["https://696969.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.galadriel.com"],shortName:"galadriel-devnet",slug:"galadriel-devnet",testnet:!1},RS0={chain:"Avalanche",chainId:710420,explorers:[{name:"TILTYARD Explorer",url:"https://subnets.avax.network/tiltyard",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Tiltyard",nativeCurrency:{name:"Tiltyard Token",symbol:"TILT",decimals:18},networkId:710420,redFlags:[],rpc:["https://710420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/mainnet/rpc"],shortName:"Tiltyard",slug:"tiltyard",testnet:!1},LS0={chain:"Sei",chainId:713715,explorers:[{name:"Seistream",url:"https://seistream.app",standard:"none"},{name:"Seitrace",url:"https://seitrace.com",standard:"EIP3091"}],faucets:["https://sei-faucet.nima.enterprises","https://sei-evm.faucetme.pro"],icon:{url:"ipfs://bafkreih3l3iisplmikofkbfyimqlox7nmixzlkzhjoewmpi4jbqitwryoa",width:600,height:600,format:"png"},infoURL:"https://www.sei.io",name:"Sei Devnet",nativeCurrency:{name:"Sei",symbol:"SEI",decimals:18},networkId:713715,rpc:["https://713715.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm-rpc-arctic-1.sei-apis.com","https://evm-rpc.arctic-1.seinetwork.io"],shortName:"sei-devnet",slug:"sei-devnet",testnet:!1},MS0={chain:"ERAM",chainId:721529,explorers:[{name:"Eramscan",url:"https://eramscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQyu82MtGVLYMwCc5rseNXDV12V3UUX7iNq8q86SyeaPh",width:258,height:258,format:"png"},infoURL:"http://doc.eramscan.com/",name:"ERAM Mainnet",nativeCurrency:{name:"ERAM",symbol:"ERAM",decimals:18},networkId:721529,rpc:["https://721529.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.eramscan.com"],shortName:"ERAM",slug:"eram",testnet:!1},BS0={chain:"ETH",chainId:743111,explorers:[{name:"blockscout",url:"https://testnet.explorer.hemi.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",width:1200,height:1200,format:"png"},infoURL:"https://hemi.xyz",name:"Hemi Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:743111,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://743111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.hemi.network/rpc"],shortName:"hemi-sep",slug:"hemi-sepolia",status:"active",testnet:!0},NS0={chain:"BRNKCTEST",chainId:751230,explorers:[{name:"brnktestscan",url:"https://brnktest-scan.bearnetwork.net",standard:"EIP3091"}],faucets:["https://faucet.bearnetwork.net"],icon:{url:"ipfs://QmQqhH28QpUrreoRw5Gj8YShzdHxxVGMjfVrx3TqJNLSLv",width:1067,height:1067,format:"png"},infoURL:"https://bearnetwork.net",name:"Bear Network Chain Testnet",nativeCurrency:{name:"Bear Network Chain Testnet Token",symbol:"tBRNKC",decimals:18},networkId:751230,rpc:["https://751230.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://brnkc-test.bearnetwork.net"],shortName:"BRNKCTEST",slip44:1,slug:"bear-network-chain-testnet",testnet:!0},FS0={chain:"MiexsSmartchain",chainId:761412,explorers:[{name:"Miexs Smartchain Explorer",url:"https://miexs.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreic6tcc6swh5kzljwqnswj6rlemcm7n6ra7xkgttwv5v3fv7ozj5zu",width:1500,height:1500,format:"png"},infoURL:"https://miexs.com",name:"Miexs Smartchain",nativeCurrency:{name:"Miexs Coin",symbol:"MIX",decimals:18},networkId:761412,rpc:["https://761412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.miexs.com"],shortName:"Miexs",slug:"miexs-smartchain",testnet:!1},OS0={chain:"Avalanche",chainId:764984,explorers:[{name:"Lamina1 Test Explorer",url:"https://subnets-test.avax.network/lamina1tes",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Testnet",nativeCurrency:{name:"Lamina1 Testnet Token",symbol:"L1T",decimals:18},networkId:764984,redFlags:[],rpc:["https://764984.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1tes/testnet/rpc"],shortName:"Lamina1 Testnet",slip44:1,slug:"lamina1-testnet",testnet:!0},VS0={chain:"Avalanche",chainId:767368,explorers:[{name:"Lamina1 Identity Testnet Explorer",url:"https://subnets-test.avax.network/lamina1id",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"Lamina1 Identity Testnet",nativeCurrency:{name:"Lamina1 Identity Testnet Token",symbol:"L1IDT",decimals:18},networkId:767368,redFlags:[],rpc:["https://767368.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/lamina1id/testnet/rpc"],shortName:"Lamina1 Identity Testnet",slip44:1,slug:"lamina1-identity-testnet",testnet:!0},$S0={chain:"EVMCC",chainId:776877,explorers:[{name:"Tanssi Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network",standard:"none"}],faucets:[],infoURL:"https://www.rmrk.app/",name:"Modularium",nativeCurrency:{name:"Modularium",symbol:"MDM",decimals:18},networkId:776877,rpc:["https://776877.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3035-rpc.a.dancebox.tanssi.network"],shortName:"mdlrm",slug:"modularium",testnet:!1},US0={chain:"OCTA",chainId:800001,explorers:[{name:"blockscout",url:"https://explorer.octa.space",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmVhezQHkqSZ5Tvtsw18giA1yBjV1URSsBQ7HenUh6p6oC",width:512,height:512,format:"png"},infoURL:"https://octa.space",name:"OctaSpace",nativeCurrency:{name:"OctaSpace",symbol:"OCTA",decimals:18},networkId:800001,rpc:["https://800001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.octa.space","wss://rpc.octa.space"],shortName:"octa",slug:"octaspace",testnet:!1},qS0={chain:"BIZT Testnet",chainId:808080,explorers:[{name:"BIZ Smart Chain Testnet Explorer",url:"https://testnet.btscan.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmNnaDZRoMz9aoho35TGHBY5zD16P39cgPpw3z3jnkDHHB",width:104,height:104,format:"png"},infoURL:"https://www.biztoken.io/",name:"BIZ Smart Chain Testnet",nativeCurrency:{name:"tBIZT",symbol:"tBIZT",decimals:18},networkId:808080,rpc:["https://808080.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.bizex.io/"],shortName:"bizt-testnet",slip44:1,slug:"biz-smart-chain-testnet",testnet:!0},HS0={chain:"ETH",chainId:810180,explorers:[{name:"zkLink Nova Block Explorer",url:"https://explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810180,parent:{type:"L2",chain:"eip155-59144",bridges:[{url:"https://portal.zklink.io"}]},rpc:["https://810180.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zklink.io","wss://rpc.zklink.io"],shortName:"zklink-nova",slip44:1,slug:"zklink-nova",testnet:!1},zS0={chain:"ETH",chainId:810181,explorers:[{name:"zkLink Nova Block Explorer",url:"https://sepolia.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810181,parent:{type:"L2",chain:"eip155-59141",bridges:[{url:"https://sepolia.portal.zklink.io"}]},rpc:["https://810181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zklink.io","wss://sepolia.rpc.zklink.io"],shortName:"zklink-nova-sepolia",slip44:1,slug:"zklink-nova-sepolia-testnet",testnet:!0},WS0={chain:"ETH",chainId:810182,explorers:[{name:"zkLink Nova Block Explorer",url:"https://goerli.explorer.zklink.io",standard:"EIP3091",icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",width:512,height:512,format:"png"},infoURL:"https://zklink.io",name:"zkLink Nova Goerli Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:810182,parent:{type:"L2",chain:"eip155-59140",bridges:[{url:"https://goerli.portal.zklink.io"}]},rpc:["https://810182.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://goerli.rpc.zklink.io","wss://goerli.rpc.zklink.io"],shortName:"zklink-nova-goerli",slip44:1,slug:"zklink-nova-goerli-testnet",testnet:!0},jS0={chain:"Trust Smart Chain Testnet",chainId:820522,explorers:[{name:"tscscan",url:"https://testnet.tscscan.io",standard:"none",icon:{url:"ipfs://QmZWF4RcDtxuFRRGgMMuDV7FWCYR6kA9cAUTk12iADU52U",width:1024,height:1024,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYmQAo5hSr16LDeSbWbXfKdF6qa2zCoK7e88r2f7RiFdt",width:1024,height:1024,format:"png"},infoURL:"https://www.trias.one",name:"TSC Testnet",nativeCurrency:{name:"TAS",symbol:"tTAS",decimals:18},networkId:820025,rpc:["https://820522.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.tscscan.io/testrpc"],shortName:"tTSC",slug:"tsc-testnet",testnet:!0},GS0={chain:"CURVE",chainId:827431,explorers:[{name:"CURVE Mainnet",url:"https://curvescan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTjV3TTR5aLb7fi7tjx8gcDvYtqBpusqhCSaznVxJ7NJg",width:150,height:150,format:"png"},infoURL:"https://curvescan.io",name:"CURVE Mainnet",nativeCurrency:{name:"Curve",symbol:"CURVE",decimals:18},networkId:827431,rpc:["https://827431.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.curvescan.io"],shortName:"CURVEm",slug:"curve",testnet:!1},KS0={chain:"prm",chainId:839320,explorers:[{name:"Primal Network Testnet",url:"https://testnet-explorer.prmscan.org",standard:"EIP3091"}],faucets:["https://faucet.prmscan.org"],icon:{url:"ipfs://QmckkDRkuCQWbvhpKGsqa8ajuQvf3W5dekzw5qpiPC6shk",width:1220,height:1220,format:"png"},infoURL:"https://primalnetwork.org",name:"PRM Testnet",nativeCurrency:{name:"Primal Network",symbol:"PRM",decimals:18},networkId:839320,rpc:["https://839320.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.prmscan.org"],shortName:"prmtest",slug:"prm-testnet",testnet:!0},QS0={chain:"4GN",chainId:846e3,explorers:[],faucets:[],infoURL:"https://bloqs4good.com",name:"4GoodNetwork",nativeCurrency:{name:"APTA",symbol:"APTA",decimals:18},networkId:846e3,rpc:["https://846000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://chain.deptofgood.com"],shortName:"bloqs4good",slug:"4goodnetwork",testnet:!1},YS0={chain:"EVMCC",chainId:855456,explorers:[{name:"Dodao Explorer",url:"https://tanssi-evmexplorer.netlify.app/?rpcUrl=https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network",standard:"EIP3091",icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"}}],faucets:[],icon:{url:"ipfs://QmdWsi6mhs6Agb3LF4uycUwx2fgNmwkuAGb7JmsLPkwd3j",width:636,height:629,format:"png"},infoURL:"https://dodao.dev/",name:"Dodao",nativeCurrency:{name:"Dodao",symbol:"DODAO",decimals:18},networkId:855456,rpc:["https://855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network","wss://fraa-dancebox-3041-rpc.a.dancebox.tanssi.network"],shortName:"dodao",slug:"dodao",testnet:!1},JS0={chain:"BLX",chainId:879151,explorers:[{name:"BlocX Mainnet Explorer",url:"https://explorer.blxscan.com",standard:"none",icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"}}],faucets:[],icon:{url:"ipfs://QmXM7XiLdSxhCub8MLSSo2J9V2qAkTcwdAGxcT57kurUzg",width:512,height:512,format:"png"},infoURL:"https://www.blocxchain.org/",name:"BlocX Mainnet",nativeCurrency:{name:"BlocX",symbol:"BLX",decimals:18},networkId:879151,rpc:["https://879151.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.blxscan.com/"],shortName:"blx",slug:"blocx",testnet:!1},XS0={chain:"REXX",chainId:888882,explorers:[{name:"REXX Mainnet Explorer",url:"https://rexxnetwork.com",standard:"EIP3091"}],faucets:[],infoURL:"https://rexxnetwork.com",name:"REXX Mainnet",nativeCurrency:{name:"REXX",symbol:"REXX",decimals:18},networkId:888882,rpc:["https://888882.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.rexxnetwork.com"],shortName:"REXX",slug:"rexx",testnet:!1,title:"REXX Mainnet"},ZS0={chain:"Vision",chainId:888888,explorers:[{name:"Visionscan",url:"https://www.visionscan.org",standard:"EIP3091"}],faucets:[],infoURL:"https://www.v.network",name:"Vision - Mainnet",nativeCurrency:{name:"VS",symbol:"VS",decimals:18},networkId:888888,rpc:["https://888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://infragrid.v.network/ethereum/compatible"],shortName:"vision",slip44:60,slug:"vision",testnet:!1},eA0={chain:"TWT",chainId:894538,explorers:[{name:"explorer",url:"https://subnets-test.avax.network/thirdweb",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmXDGoJKuuwQKzY1Y7ZhgULg8hcmveu6PVaDaYQzEjKwkQ/Thirdweb-Icon-Black-BG.png",width:512,height:512,format:"png"},name:"thirdweb test subnet",nativeCurrency:{name:"TWT",symbol:"TWT",decimals:18},networkId:894538,redFlags:[],rpc:["https://894538.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/thirdweb/testnet/rpc"],shortName:"twt",slug:"thirdweb-test-subnet",testnet:!0},tA0={chain:"PSC",chainId:9e5,explorers:[{name:"Posichain Explorer",url:"https://explorer.posichain.org",standard:"EIP3091"}],faucets:[],infoURL:"https://posichain.org",name:"Posichain Mainnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:9e5,rpc:["https://900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.posichain.org","https://api.s0.posichain.org"],shortName:"psc-s0",slug:"posichain-shard-0",testnet:!1},nA0={chain:"PSC",chainId:91e4,explorers:[{name:"Posichain Explorer Testnet",url:"https://explorer-testnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Testnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:91e4,rpc:["https://910000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.t.posichain.org"],shortName:"psc-t-s0",slug:"posichain-testnet-shard-0",testnet:!0},aA0={chain:"RIA",chainId:912559,explorers:[{name:"Astria EVM Dusknet Explorer",url:"https://explorer.evm.dusk-3.devnet.astria.org",standard:"EIP3091"}],faucets:["https://faucet.evm.dusk-3.devnet.astria.org/"],icon:{url:"ipfs://QmVbzZYXdVFY3uFaWQd7iSRtdM2UKWohj9fVqqEwxcw2RV",width:200,height:200,format:"png"},infoURL:"https://docs.astria.org",name:"Astria EVM Dusknet",nativeCurrency:{name:"RIA",symbol:"RIA",decimals:18},networkId:912559,rpc:["https://912559.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.evm.dusk-3.devnet.astria.org"],shortName:"ria-dev",slug:"astria-evm-dusknet",testnet:!1},rA0={chain:"Avalanche",chainId:914031,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T1TS Testnet",nativeCurrency:{name:"QR0408T1TS Testnet Token",symbol:"HOK",decimals:18},networkId:914031,redFlags:[],rpc:["https://914031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t1ts/testnet/rpc"],shortName:"QR0408T1TS Testnet",slug:"qr0408t1ts-testnet",testnet:!0},iA0={chain:"Avalanche",chainId:918806,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0529T1TS",nativeCurrency:{name:"QR0529T1TS Token",symbol:"MCV",decimals:18},networkId:918806,redFlags:[],rpc:["https://918806.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0529t1ts/testnet/rpc"],shortName:"QR0529T1TS",slug:"qr0529t1ts",testnet:!0},sA0={chain:"Avalanche",chainId:919517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1TP",nativeCurrency:{name:"QR0508T1TP Token",symbol:"AHO",decimals:18},networkId:919517,redFlags:[],rpc:["https://919517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1tp/testnet/rpc"],shortName:"QR0508T1TP",slug:"qr0508t1tp",testnet:!0},fA0={chain:"PSC",chainId:92e4,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 0",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:92e4,rpc:["https://920000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.d.posichain.org"],shortName:"psc-d-s0",slug:"posichain-devnet-shard-0",testnet:!1},oA0={chain:"PSC",chainId:920001,explorers:[{name:"Posichain Explorer Devnet",url:"https://explorer-devnet.posichain.org",standard:"EIP3091"}],faucets:["https://faucet.posichain.org/"],infoURL:"https://posichain.org",name:"Posichain Devnet Shard 1",nativeCurrency:{name:"Posichain Native Token",symbol:"POSI",decimals:18},networkId:920001,rpc:["https://920001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.d.posichain.org"],shortName:"psc-d-s1",slug:"posichain-devnet-shard-1",testnet:!1},cA0={chain:"Avalanche",chainId:922935,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0607t1ts",nativeCurrency:{name:"QR0607t1ts Token",symbol:"WAP",decimals:18},networkId:922935,redFlags:[],rpc:["https://922935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0607t1ts/testnet/rpc"],shortName:"QR0607t1ts",slug:"qr0607t1ts",testnet:!0},dA0={chain:"FNCY",chainId:923018,explorers:[{name:"fncy scan testnet",url:"https://fncyscan-testnet.fncy.world",standard:"EIP3091",icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"}}],faucets:["https://faucet-testnet.fncy.world"],icon:{url:"ipfs://QmfXCh6UnaEHn3Evz7RFJ3p2ggJBRm9hunDHegeoquGuhD",width:256,height:256,format:"png"},infoURL:"https://fncyscan-testnet.fncy.world",name:"FNCY Testnet",nativeCurrency:{name:"FNCY",symbol:"FNCY",decimals:18},networkId:923018,rpc:["https://923018.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://fncy-testnet-seed.fncy.world"],shortName:"tFNCY",slip44:1,slug:"fncy-testnet",testnet:!0},lA0={chain:"Avalanche",chainId:928010,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0408T2TS Testnet",nativeCurrency:{name:"QR0408T2TS Testnet Token",symbol:"XYZ",decimals:18},networkId:928010,redFlags:[],rpc:["https://928010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0408t2ts/testnet/rpc"],shortName:"QR0408T2TS Testnet",slug:"qr0408t2ts-testnet",testnet:!0},pA0={chain:"Avalanche",chainId:929038,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0215Y1MP",nativeCurrency:{name:"QR0215Y1MP Token",symbol:"QAT",decimals:18},networkId:929038,redFlags:[],rpc:["https://929038.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0215y1mp/mainnet/rpc"],shortName:"QR0215Y1MP",slug:"qr0215y1mp",testnet:!1},uA0={chain:"Avalanche",chainId:933039,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0422T1TS Testnet",nativeCurrency:{name:"QR0422T1TS Testnet Token",symbol:"DIF",decimals:18},networkId:933039,redFlags:[],rpc:["https://933039.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0422t1ts/testnet/rpc"],shortName:"QR0422T1TS Testnet",slug:"qr0422t1ts-testnet",testnet:!0},yA0={chain:"Avalanche",chainId:933326,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T2TS Testnet",nativeCurrency:{name:"QR0326T2TS Testnet Token",symbol:"XFT",decimals:18},networkId:933326,redFlags:[],rpc:[],shortName:"QR0326T2TS Testnet",slug:"qr0326t2ts-testnet",testnet:!0},mA0={chain:"Avalanche",chainId:934567,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0506T1TS",nativeCurrency:{name:"QR0506T1TS Token",symbol:"VPE",decimals:18},networkId:934567,redFlags:[],rpc:["https://934567.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0506t1ts/testnet/rpc"],shortName:"QR0506T1TS",slug:"qr0506t1ts",testnet:!0},bA0={chain:"Avalanche",chainId:939359,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0501T1TS",nativeCurrency:{name:"QR0501T1TS Token",symbol:"ZGM",decimals:18},networkId:939359,redFlags:[],rpc:["https://939359.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0501t1ts/testnet/rpc"],shortName:"QR0501T1TS",slug:"qr0501t1ts",testnet:!0},hA0={chain:"Avalanche",chainId:943503,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0520T1TS",nativeCurrency:{name:"QR0520T1TS Token",symbol:"JQH",decimals:18},networkId:943503,redFlags:[],rpc:["https://943503.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0520t1ts/testnet/rpc"],shortName:"QR0520T1TS",slug:"qr0520t1ts",testnet:!0},gA0={chain:"Avalanche",chainId:946751,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0214Y1P",nativeCurrency:{name:"QR0214Y1P Token",symbol:"QAT",decimals:18},networkId:946751,redFlags:[],rpc:["https://946751.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0214y1p/testnet/rpc"],shortName:"QR0214Y1P",slug:"qr0214y1p",testnet:!0},vA0={chain:"Avalanche",chainId:950375,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0209Y1S",nativeCurrency:{name:"QR0209Y1S Token",symbol:"XPU",decimals:18},networkId:950375,redFlags:[],rpc:["https://950375.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0209y1s/testnet/rpc"],shortName:"QR0209Y1S",slug:"qr0209y1s",testnet:!0},TA0={chain:"Avalanche",chainId:951083,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0205Y1S",nativeCurrency:{name:"QR0205Y1S Token",symbol:"MYO",decimals:18},networkId:951083,redFlags:[],rpc:["https://951083.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0205y1s/testnet/rpc"],shortName:"QR0205Y1S",slug:"qr0205y1s",testnet:!0},_A0={chain:"Avalanche",chainId:954958,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QA0621T1TS",nativeCurrency:{name:"QA0621T1TS Token",symbol:"FNF",decimals:18},networkId:954958,redFlags:[],rpc:["https://954958.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-qa0621t1ts-z3001.avax-test.network/ext/bc/TXRuQxeHnyh6CGR6DgLdC5s2WSiHF3a5pK2DEurPaVjgzxshD/rpc?token=18a44f4988cdf732a71dc730f51e89eedade77024c23618cbd89e04779a078b9"],shortName:"QA0621T1TS",slug:"qa0621t1ts",testnet:!0},wA0={chain:"JONO12",chainId:955081,explorers:[{name:"JONO12 Explorer",url:"https://subnets-test.avax.network/jono12",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],icon:{url:"ipfs://bafkreievzx4ke62dtc77o47x7vs7nn67ghzrwku6h5dxo3hwcsqfeblke4",width:612,height:612,format:"png"},name:"Jono12 Subnet",nativeCurrency:{name:"Jono12 Token",symbol:"JONO",decimals:18},networkId:955081,rpc:["https://955081.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/jono12/testnet/rpc"],shortName:"jono12",slug:"jono12-subnet",testnet:!0},xA0={chain:"Eluvio",chainId:955305,explorers:[{name:"blockscout",url:"https://explorer.eluv.io",standard:"EIP3091"}],faucets:[],infoURL:"https://eluv.io",name:"Eluvio Content Fabric",nativeCurrency:{name:"ELV",symbol:"ELV",decimals:18},networkId:955305,rpc:["https://955305.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://host-76-74-28-226.contentfabric.io/eth/","https://host-76-74-28-232.contentfabric.io/eth/","https://host-76-74-29-2.contentfabric.io/eth/","https://host-76-74-29-8.contentfabric.io/eth/","https://host-76-74-29-34.contentfabric.io/eth/","https://host-76-74-29-35.contentfabric.io/eth/","https://host-154-14-211-98.contentfabric.io/eth/","https://host-154-14-192-66.contentfabric.io/eth/","https://host-60-240-133-202.contentfabric.io/eth/","https://host-64-235-250-98.contentfabric.io/eth/"],shortName:"elv",slip44:1011,slug:"eluvio-content-fabric",testnet:!1},IA0={chain:"Avalanche",chainId:958798,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0513T1TS",nativeCurrency:{name:"QR0513T1TS Token",symbol:"PME",decimals:18},networkId:958798,redFlags:[],rpc:["https://958798.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0513t1ts/testnet/rpc"],shortName:"QR0513T1TS",slug:"qr0513t1ts",testnet:!0},EA0={chain:"Avalanche",chainId:959009,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0508T1MP",nativeCurrency:{name:"QR0508T1MP Token",symbol:"AHO",decimals:18},networkId:959009,redFlags:[],rpc:["https://959009.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0508t1mp/mainnet/rpc"],shortName:"QR0508T1MP",slug:"qr0508t1mp",testnet:!1},DA0={chain:"Avalanche",chainId:961256,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0326T4TS Testnet",nativeCurrency:{name:"QR0326T4TS Testnet Token",symbol:"HTF",decimals:18},networkId:961256,redFlags:[],rpc:["https://961256.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0326t4ts/testnet/rpc"],shortName:"QR0326T4TS Testnet",slug:"qr0326t4ts-testnet",testnet:!0},CA0={chain:"Avalanche",chainId:970066,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0522T1TS",nativeCurrency:{name:"QR0522T1TS Token",symbol:"BUL",decimals:18},networkId:970066,redFlags:[],rpc:["https://970066.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0522t1ts/testnet/rpc"],shortName:"QR0522T1TS",slug:"qr0522t1ts",testnet:!0},SA0={chain:"Avalanche",chainId:976517,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0507Y1TS",nativeCurrency:{name:"QR0507Y1TS Token",symbol:"SQR",decimals:18},networkId:976517,redFlags:[],rpc:["https://976517.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0507y1ts/testnet/rpc"],shortName:"QR0507Y1TS",slug:"qr0507y1ts",testnet:!0},AA0={chain:"treasure",chainId:978657,explorers:[{name:"treasurescan",url:"https://testnet.treasurescan.io",standard:"EIP3091",icon:{url:"ipfs://Qmd532nWBVgUJy8m9ajGKwb2oaFPdnB7Xngepge2sarNBm",width:24,height:24,format:"svg"}},{name:"Treasurescan",url:"https://testnet.treasurescan.io/",standard:"EIP3091",icon:{url:"ipfs://QmbzZk23owb7grDEbEJLuxgUAqQVcHmdjsEkkCD7E9C5R9/Treasure_Primary_Icon%20-%20Karel%20Vuong.png",width:512,height:512,format:"png"}}],faucets:["https://portal.treasure.lol/faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQYRpJAMyPt1DKz1iAuseX3puBZYmdGgFeaZCFDPhixXp",width:512,height:512,format:"svg"},infoURL:"https://portal.treasure.lol",name:"Treasure Ruby",nativeCurrency:{name:"Testnet MAGIC",symbol:"MAGIC",decimals:18},networkId:978657,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.treasure.lol/bridge"}]},redFlags:[],rpc:["https://978657.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.treasure.lol/http","wss://rpc-testnet.treasure.lol/ws"],shortName:"MAGIC",slip44:1,slug:"treasure-ruby",testnet:!0},kA0={chain:"Avalanche",chainId:978993,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0318T1TS Testnet",nativeCurrency:{name:"QR0318T1TS Testnet Token",symbol:"OSF",decimals:18},networkId:978993,redFlags:[],rpc:["https://978993.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0318t1ts/testnet/rpc"],shortName:"QR0318T1TS Testnet",slug:"qr0318t1ts-testnet",testnet:!0},PA0={chain:"Avalanche",chainId:980892,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0530T1TS",nativeCurrency:{name:"QR0530T1TS Token",symbol:"OXQ",decimals:18},networkId:980892,redFlags:[],rpc:["https://980892.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0530t1ts/testnet/rpc"],shortName:"QR0530T1TS",slug:"qr0530t1ts",testnet:!0},RA0={chain:"Avalanche",chainId:982558,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0429T1TS",nativeCurrency:{name:"QR0429T1TS Token",symbol:"EXT",decimals:18},networkId:982558,redFlags:[],rpc:["https://982558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0429t1ts/testnet/rpc"],shortName:"QR0429T1TS",slug:"qr0429t1ts",testnet:!0},LA0={chain:"Forma",chainId:984122,explorers:[{name:"blockscout",url:"https://explorer.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984122,rpc:["https://984122.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.forma.art"],shortName:"forma",slug:"forma",testnet:!1},MA0={chain:"Forma",chainId:984123,explorers:[{name:"blockscout",url:"https://explorer.sketchpad-1.forma.art",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQkjcadjAEefa4HLG26pKFvCaNZeZ7wWNxMkCVarW9tiU",width:400,height:400,format:"png"},infoURL:"https://forma.art",name:"Forma Sketchpad",nativeCurrency:{name:"TIA",symbol:"TIA",decimals:18},networkId:984123,rpc:["https://984123.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.sketchpad-1.forma.art"],shortName:"sketchpad",slug:"forma-sketchpad",testnet:!1},BA0={chain:"Ecrox Chain",chainId:988207,explorers:[{name:"Ecrox Chain Explorer",url:"https://ecroxscan.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreibnqdlwgotu4hwx6oeu4ye3huobr3eaiuvv55n5tolyxya2q7edmq",width:300,height:300,format:"png"},infoURL:"https://ecroxcoin.io/",name:"Ecrox Chain Mainnet",nativeCurrency:{name:"ECROX COIN",symbol:"ECROX",decimals:18},networkId:988207,rpc:["https://988207.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.ecroxscan.com/"],shortName:"ecrox",slug:"ecrox-chain",testnet:!1},NA0={chain:"Avalanche",chainId:991424,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0213Y1S",nativeCurrency:{name:"QR0213Y1S Token",symbol:"GCH",decimals:18},networkId:991424,redFlags:[],rpc:["https://991424.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0213y1s/testnet/rpc"],shortName:"QR0213Y1S",slug:"qr0213y1s",testnet:!0},FA0={chain:"Avalanche",chainId:993535,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:".svg"},infoURL:"https://avacloud.io",name:"qr1120y1",nativeCurrency:{name:"qr1120y1 Token",symbol:"LMK",decimals:18},networkId:993535,redFlags:[],rpc:["https://993535.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr1120y1/testnet/rpc"],shortName:"qr1120y1",slug:"qr1120y1",testnet:!0},OA0={chain:"Avalanche",chainId:994504,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"qr0523y1ts",nativeCurrency:{name:"qr0523y1ts Token",symbol:"QHZ",decimals:18},networkId:994504,redFlags:[],rpc:["https://994504.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0523y1ts/testnet/rpc"],shortName:"qr0523y1ts",slug:"qr0523y1ts",testnet:!0},VA0={chain:"Avalanche",chainId:995201,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0426T1TS",nativeCurrency:{name:"QR0426T1TS Token",symbol:"XOF",decimals:18},networkId:995201,redFlags:[],rpc:["https://995201.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0426t1ts/testnet/rpc"],shortName:"QR0426T1TS",slug:"qr0426t1ts",testnet:!0},$A0={chain:"Avalanche",chainId:996699,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0521T1TS",nativeCurrency:{name:"QR0521T1TS Token",symbol:"ATH",decimals:18},networkId:996699,redFlags:[],rpc:["https://996699.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0521t1ts/testnet/rpc"],shortName:"QR0521T1TS",slug:"qr0521t1ts",testnet:!0},UA0={chain:"Supernet Testnet",chainId:998899,explorers:[{name:"supernet-testnet-explorer",url:"https://testnet-explorer.supernet.chaingames.io",standard:"EIP3091"}],faucets:["https://faucet.chaingames.io"],name:"Supernet Testnet",nativeCurrency:{name:"CHAIN",symbol:"CHAIN",decimals:18},networkId:998899,rpc:["https://998899.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.supernet.chaingames.io/"],shortName:"supernetchain",slip44:1,slug:"supernet-testnet",testnet:!0,title:"Supernet Testnet"},qA0={chain:"Avalanche",chainId:999511,explorers:[],faucets:[],features:[],icon:{url:"https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",width:256,height:256,format:"svg"},infoURL:"https://avacloud.io",name:"QR0227T1TS",nativeCurrency:{name:"QR0227T1TS Token",symbol:"YFL",decimals:18},networkId:999511,redFlags:[],rpc:["https://999511.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/qr0227t1ts/testnet/rpc"],shortName:"QR0227T1TS",slug:"qr0227t1ts",testnet:!0},HA0={chain:"AmChain",chainId:999999,explorers:[{name:"AMCAmChain explorer",url:"https://explorer.amchain.net",standard:"none"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://Qmb6VAhhtaJmdaW1j7PAjxaLju1V24PPDFBdXtebyTSfsZ",width:200,height:200,format:"png"},infoURL:"https://hewe.io/",name:"AmChain",nativeCurrency:{name:"AMC",symbol:"AMC",decimals:18},networkId:999999,rpc:["https://999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node1.amchain.net"],shortName:"AMC",slug:"amchain",testnet:!1,title:"AMC"},zA0={chain:"NetMind",chainId:1100789,explorers:[{name:"NetMind Testnet Explorer",url:"https://testbrower.protago-dev.com",standard:"EIP3091",icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",width:500,height:500,format:"png"},infoURL:"https://netmind.ai",name:"Netmind Chain Testnet",nativeCurrency:{name:"NMT",symbol:"NMT",decimals:18},networkId:1100789,rpc:["https://1100789.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testblock.protago-dev.com"],shortName:"nmtTest",slug:"netmind-chain-testnet",testnet:!0,title:"NetMind Chain Testnet"},WA0={chain:"TILTYARD",chainId:1127469,explorers:[{name:"TILTYARD Explorer",url:"http://testnet-explorer.tiltyard.gg",standard:"EIP3091"}],faucets:[],features:[{name:"EIP1559"}],name:"Tiltyard Subnet",nativeCurrency:{name:"Tiltyard Token",symbol:"TILTG",decimals:18},networkId:1127469,rpc:["https://1127469.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://subnets.avax.network/tiltyard/testnet/rpc"],shortName:"tiltyard",slug:"tiltyard-subnet",testnet:!0},jA0={chain:"SHARECLE",chainId:1234567,explorers:[{name:"Etherscan",url:"https://etherscan.io",standard:"none",icon:{url:"ipfs://bafybeiaqaphacy5swvtyxw56ma5f5iewjcqspbgxr5l6ln2433liyw2djy",width:160,height:160,format:"png"}}],faucets:[],icon:{url:"ipfs://bafybeiaqaphacy5swvtyxw56ma5f5iewjcqspbgxr5l6ln2433liyw2djy",width:160,height:160,format:"png"},infoURL:"https://sharecle.com/",name:"Sharecle Mainnet",nativeCurrency:{name:"SHARECLE COIN",symbol:"SHR",decimals:18},networkId:1234567,rpc:["https://1234567.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.sharecle.com"],shortName:"shr",slip44:1,slug:"sharecle",testnet:!1},GA0={chain:"ETH",chainId:1261120,explorers:[{name:"Blockscout zKatana chain explorer",url:"https://zkatana.blockscout.com",standard:"EIP3091"},{name:"Startale zKatana chain explorer",url:"https://zkatana.explorer.startale.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"zKatana",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:1261120,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://portal.astar.network"},{url:"https://bridge.zkatana.gelato.digital"}]},rpc:["https://1261120.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zkatana.gelato.digital","https://rpc.startale.com/zkatana","https://astar-zkatana.drpc.org","wss://astar-zkatana.drpc.org"],shortName:"azktn",slug:"zkatana",status:"active",testnet:!0,title:"Astar zkEVM Testnet zKatana"},KA0={chain:"ETHO",chainId:1313114,explorers:[{name:"blockscout",url:"https://explorer.ethoprotocol.com",standard:"none"}],faucets:[],infoURL:"https://ethoprotocol.com",name:"Etho Protocol",nativeCurrency:{name:"Etho Protocol",symbol:"ETHO",decimals:18},networkId:1313114,rpc:["https://1313114.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ethoprotocol.com"],shortName:"etho",slip44:1313114,slug:"etho-protocol",testnet:!1},QA0={chain:"XERO",chainId:1313500,explorers:[],faucets:[],infoURL:"https://xerom.org",name:"Xerom",nativeCurrency:{name:"Xerom Ether",symbol:"XERO",decimals:18},networkId:1313500,rpc:["https://1313500.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.xerom.org"],shortName:"xero",slug:"xerom",testnet:!1},YA0={chain:"ETH",chainId:1337702,explorers:[{name:"kintsugi explorer",url:"https://explorer.kintsugi.themerge.dev",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=1337702&address=${ADDRESS}","https://faucet.kintsugi.themerge.dev"],infoURL:"https://kintsugi.themerge.dev/",name:"Kintsugi",nativeCurrency:{name:"kintsugi Ethere",symbol:"kiETH",decimals:18},networkId:1337702,rpc:["https://1337702.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kintsugi.themerge.dev"],shortName:"kintsugi",slug:"kintsugi",testnet:!0,title:"Kintsugi merge testnet"},JA0={chain:"ETH",chainId:1337802,explorers:[{name:"Kiln Explorer",url:"https://explorer.kiln.themerge.dev",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.kiln.themerge.dev","https://kiln-faucet.pk910.de","https://kilnfaucet.com"],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://kiln.themerge.dev/",name:"Kiln",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337802,redFlags:[],rpc:["https://1337802.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.kiln.themerge.dev"],shortName:"kiln",slug:"kiln",status:"deprecated",testnet:!1},XA0={chain:"ETH",chainId:1337803,explorers:[{name:"Zhejiang Explorer",url:"https://zhejiang.beaconcha.in",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:["https://faucet.zhejiang.ethpandaops.io","https://zhejiang-faucet.pk910.de"],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://zhejiang.ethpandaops.io",name:"Zhejiang",nativeCurrency:{name:"Testnet ETH",symbol:"ETH",decimals:18},networkId:1337803,rpc:["https://1337803.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zhejiang.ethpandaops.io"],shortName:"zhejiang",slug:"zhejiang",testnet:!0},ZA0={chain:"Automata Testnet",chainId:1398243,explorers:[{name:"Automata Testnet Explorer",url:"https://automata-testnet-explorer.alt.technology",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",width:1676,height:1600,format:"png"},infoURL:"https://ata.network",name:"Automata Testnet",nativeCurrency:{name:"ATA",symbol:"ATA",decimals:18},networkId:1398243,rpc:["https://1398243.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://automata-testnet.alt.technology"],shortName:"automatatest",slug:"automata-testnet",testnet:!0},ek0={chain:"XRPL",chainId:1440002,explorers:[{name:"XRP Ledger Explorer",url:"https://evm-sidechain.xrpl.org/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreidmgxjwjircegjkvysgz25b2ukw6h7axoirkxv6idupzzqsdrljgy",width:780,height:680,format:"png"},name:"XRP Ledger EVM Devnet Sidechain",nativeCurrency:{name:"XRP",symbol:"XRP",decimals:18},networkId:1440002,redFlags:[],rpc:["https://1440002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-evm-sidechain.xrpl.org"],shortName:"XRPL-EVM-Devnet-Sidechain",slug:"xrp-ledger-evm-devnet-sidechain",testnet:!0},tk0={chain:"ETH",chainId:1612127,explorers:[{name:"PlayFi Block Explorer",url:"https://albireo-explorer.playfi.ai",standard:"EIP3091"}],faucets:[],infoURL:"https://www.playfi.ai/",name:"PlayFi Albireo Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1612127,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://portal.playfi.ai/bridge"}]},rpc:["https://1612127.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://albireo-rpc.playfi.ai"],shortName:"alberio",slip44:1,slug:"playfi-albireo-testnet",testnet:!0},nk0={chain:"Xterio Testnet",chainId:1637450,explorers:[{name:"Xterio Testnet Explorer",url:"https://testnet.xterscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://xter.io",name:"Xterio Testnet",nativeCurrency:{name:"tBNB",symbol:"tBNB",decimals:18},networkId:1637450,rpc:["https://1637450.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xterio-testnet.alt.technology"],shortName:"xteriotest",slug:"xterio-testnet",testnet:!0},ak0={chain:"ETH",chainId:1731313,explorers:[],faucets:[],name:"Turkey Demo Dev",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1731313,rpc:["https://1731313.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devchain-poa.huabeizhenxuan.com"],shortName:"TDD",slug:"turkey-demo-dev",testnet:!1},rk0={chain:"DeBank",chainId:2021398,explorers:[{name:"DeBank Chain Explorer",url:"https://explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:2021398,rpc:["https://2021398.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://rpc.testnet.debank.com"],shortName:"dbk",slip44:1,slug:"debank-testnet",testnet:!0},ik0={chain:"Plian",chainId:2099156,explorers:[{name:"piscan",url:"https://piscan.plian.org/pchain",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Mainnet Main",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:2099156,rpc:["https://2099156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/pchain"],shortName:"plian-mainnet",slug:"plian-main",testnet:!1},sk0={chain:"Optimism",chainId:2125031,explorers:[{name:"Bubs Sepolia Explorer",url:"https://bubs-sepolia.explorer.caldera.xyz/",standard:"EIP1559",icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"}}],faucets:["https://bubs-sepolia.hub.caldera.xyz/"],features:[],icon:{url:"https://raw.githubusercontent.com/twitter/twemoji/d94f4cf793e6d5ca592aa00f58a88f6a4229ad43/assets/svg/1f9cb.svg",width:512,height:512,format:"svg"},infoURL:"https://bubs-sepolia.hub.caldera.xyz/",name:"Bubs Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2125031,redFlags:[],rpc:["https://2125031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://bubs-sepolia.rpc.caldera.xyz/http","wss://bubs-sepolia.rpc.caldera.xyz/ws"],shortName:"Bubs",slug:"bubs-testnet-bubs",testnet:!0},fk0={chain:"PlatON",chainId:2203181,explorers:[{name:"PlatON explorer",url:"https://devnetscan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet Deprecated",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnetopenapi2.platon.network/rpc","wss://devnetopenapi2.platon.network/ws"],shortName:"platondev",slip44:1,slug:"platon-dev-testnet-deprecated",status:"deprecated",testnet:!0},ok0={chain:"PlatON",chainId:2206132,explorers:[{name:"PlatON explorer",url:"https://devnet2scan.platon.network",standard:"none"}],faucets:["https://devnet2faucet.platon.network/faucet"],icon:{url:"ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",width:180,height:180,format:"png"},infoURL:"https://www.platon.network",name:"PlatON Dev Testnet2",nativeCurrency:{name:"LAT",symbol:"lat",decimals:18},networkId:1,rpc:["https://2206132.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet2openapi.platon.network/rpc","wss://devnet2openapi.platon.network/ws"],shortName:"platondev2",slip44:1,slug:"platon-dev-testnet2",testnet:!0},ck0={chain:"DPU",chainId:2611555,explorers:[],faucets:[],name:"DPU Chain",nativeCurrency:{name:"DGC",symbol:"DGC",decimals:18},networkId:2611555,rpc:["https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sc-rpc.dpu.ac.th"],shortName:"DPU",slug:"dpu-chain",testnet:!1},dk0={chain:"Xterio",chainId:2702128,explorers:[{name:"Xterio Chain Explorer",url:"https://eth.xterscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://xter.io",name:"Xterio Chain",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:2702128,rpc:["https://2702128.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xterio-eth.alt.technology"],shortName:"xterio",slug:"xterio-chain",testnet:!1},lk0={chain:"Sahara",chainId:3132023,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmQXCm6w8xvWMkksTQYw3So14VCbwHP6chH41v6ysXdSwF",width:608,height:608,format:"svg"},infoURL:"https://saharalabs.ai",name:"SaharaAI Network",nativeCurrency:{name:"SAHARA",symbol:"SAH",decimals:18},networkId:3132023,rpc:["https://3132023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.saharalabs.ai"],shortName:"sahara",slug:"saharaai-network",testnet:!1},pk0={chain:"FIL",chainId:3141592,explorers:[],faucets:["https://faucet.butterfly.fildev.network"],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Butterfly testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:3141592,rpc:[],shortName:"filecoin-butterfly",slip44:1,slug:"filecoin-butterfly-testnet",status:"incubating",testnet:!0},uk0={chain:"ETH",chainId:3397901,explorers:[{name:"Funki Sepolia Sandbox Explorer",url:"https://sepolia-sandbox.funkichain.com",standard:"none"}],faucets:[],icon:{url:"ipfs://QmWLjmfbjx2qZC39GCFXDzt72NXVTtDBVzVSq6rwaquyp3",width:1200,height:410,format:"png"},infoURL:"https://funkichain.com",name:"Funki Sepolia Sandbox",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3397901,rpc:["https://3397901.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://funki-testnet.alt.technology"],shortName:"funkisepolia",slug:"funki-sepolia-sandbox",testnet:!0},yk0={chain:"Manta Pacific",chainId:3441005,explorers:[{name:"manta-testnet Explorer",url:"https://manta-testnet.calderaexplorer.xyz",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Testnet",nativeCurrency:{name:"Manta",symbol:"MANTA",decimals:18},networkId:3441005,rpc:["https://3441005.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://manta-testnet.calderachain.xyz/http","https://manta-pacific-testnet.drpc.org","wss://manta-pacific-testnet.drpc.org"],shortName:"mantaTestnet",slip44:1,slug:"manta-pacific-testnet",testnet:!0},mk0={chain:"Manta Pacific",chainId:3441006,explorers:[{name:"manta-testnet Explorer",url:"https://pacific-explorer.sepolia-testnet.manta.network",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmTckcVTViRZ3NqT36MTt8AvgBSmudrbgU3pi8AaNtthoV",width:834,height:834,format:"png"},infoURL:"https://manta-testnet.caldera.dev/",name:"Manta Pacific Sepolia Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:3441006,rpc:["https://3441006.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pacific-rpc.sepolia-testnet.manta.network/http"],shortName:"mantaSepoliaTestnet",slip44:1,slug:"manta-pacific-sepolia-testnet",testnet:!0},bk0={chain:"ETH",chainId:4000003,explorers:[{name:"blockscout",url:"https://zero-explorer.alt.technology",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcEfZJU7NMn9ycTAcEooQgGNfa2nYBToSUZHdFCFadcjb",width:1080,height:1025,format:"png"},infoURL:"https://altlayer.io",name:"AltLayer Zero Gas Network",nativeCurrency:{name:"ZERO",symbol:"ZERO",decimals:18},networkId:4000003,rpc:["https://4000003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zero.alt.technology"],shortName:"alt-zerogas",slug:"altlayer-zero-gas-network",testnet:!1},hk0={chain:"WCal",chainId:4281033,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://caldera.xyz/",name:"Worlds Caldera",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:4281033,rpc:["https://4281033.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://worlds-test.calderachain.xyz/http"],shortName:"worldscal",slug:"worlds-caldera",testnet:!0},gk0={chain:"Altar",chainId:4444444,explorers:[{name:"altar testnet explorer",url:"https://altar-explorer.ceremonies.ai",standard:"none"}],faucets:["https://sepoliafaucet.com/"],icon:{url:"ipfs://QmZiJLjciV6KiuxwDebi7CwRhDzei6KKDuStppzsUGtNfN",width:512,height:512,format:"png"},infoURL:"https://ceremonies.gitbook.io",name:"Altar Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:4444444,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://altar-testnet-yzxhzk61ck-b7590e4db247a680.testnets.rollbridge.app/"}]},rpc:["https://4444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://altar-rpc.ceremonies.ai/"],shortName:"altarTestnet",slip44:1,slug:"altar-testnet",testnet:!0},vk0={chain:"ZER\u03F4 Network",chainId:4457845,explorers:[{name:"ZER\u03F4 Block Explorer",url:"https://explorer.zero.network",standard:"EIP3091",icon:{url:"ipfs://QmTvjjmYw3bmjXjnpK3hDt5vtEjLe3hMza1PUFNkF33QnB",width:202,height:202,format:"png"}}],faucets:["https://cloud.google.com/application/web3/faucet/ethereum/sepolia","https://www.alchemy.com/faucets/ethereum-sepolia","https://www.infura.io/faucet/sepolia"],features:[],icon:{url:"ipfs://QmTvjjmYw3bmjXjnpK3hDt5vtEjLe3hMza1PUFNkF33QnB",width:202,height:202,format:"png"},infoURL:"https://docs.zero.network/",name:"ZER\u03F4 Network",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:4457845,parent:{type:"L2",chain:"Sepolia",bridges:[{url:"https://bridge.zero.network/"}]},redFlags:[],rpc:["https://4457845.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zerion.io/v1/zero-sepolia"],shortName:"eth",slug:"zer-network",testnet:!0},Tk0={chain:"NumBlock",chainId:5112023,explorers:[{name:"NumBlock Explorer",url:"https://mainnet.numblock.org",standard:"none",icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"}}],faucets:[],icon:{url:"ipfs://QmRY72AKDaUwxgPukdfSBj19NfMrmsSm48mdBe9zJcW3jB",width:200,height:200,format:"png"},infoURL:"https://numblock.org",name:"NumBlock Chain",nativeCurrency:{name:"NUMB Token",symbol:"NUMB",decimals:18},networkId:5112023,rpc:["https://5112023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-mainnet.numblock.org"],shortName:"NUMB",slug:"numblock-chain",testnet:!1},_k0={chain:"ETH",chainId:5151706,explorers:[{name:"Explorer",url:"https://explorer.lootchain.com/",standard:"EIP3091",icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://adventuregold.org/",name:"Loot Chain Mainnet",nativeCurrency:{name:"AGLD",symbol:"AGLD",decimals:18},networkId:5151706,redFlags:[],rpc:["https://5151706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.lootchain.com/http "],shortName:"AGLD",slug:"loot-chain",testnet:!0},wk0={chain:"MXC zkEVM",chainId:5167003,explorers:[{name:"MXC Wannsee zkEVM Testnet",url:"https://wannsee-explorer.mxc.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://wannsee.mxc.com/docs/intro",name:"MXC Wannsee zkEVM Testnet",nativeCurrency:{name:"MXC Wannsee zkEVM Testnet",symbol:"MXC",decimals:18},networkId:5167003,rpc:["https://5167003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wannsee-rpc.mxc.com"],shortName:"MXCdiscontinued",slip44:1,slug:"mxc-wannsee-zkevm-testnet",testnet:!0},xk0={chain:"MXC zkEVM",chainId:5167004,explorers:[{name:"Moonchain Geneva Testnet",url:"https://geneva-explorer.moonchain.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmdGCthKA11K9kCZJdbTP5WPAyq1wiRZ3REn6KG58MrWaE",width:159,height:159,format:"png"},infoURL:"https://doc.mxc.com/docs/intro",name:"Moonchain Geneva Testnet",nativeCurrency:{name:"Moonchain Geneva Testnet",symbol:"MXC",decimals:18},networkId:5167004,rpc:["https://5167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://geneva-rpc.moonchain.com"],shortName:"MXC",slip44:1,slug:"moonchain-geneva-testnet",testnet:!0},Ik0={chain:"Electroneum",chainId:5201420,explorers:[{name:"blockscout",url:"https://blockexplorer.thesecurityteam.rocks",standard:"EIP3091",icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmVgFqXA3kkCrVYGcWFF7Mhx8JUSe9vSCauNamuKWSvCym",width:1e3,height:1e3,format:"png"},infoURL:"https://electroneum.com",name:"Electroneum Testnet",nativeCurrency:{name:"Electroneum",symbol:"ETN",decimals:18},networkId:5201420,rpc:["https://5201420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.electroneum.com"],shortName:"etn-testnet",slip44:1,slug:"electroneum-testnet",testnet:!0},Ek0={chain:"REACT",chainId:5318008,explorers:[{name:"reactscan",url:"https://kopli.reactscan.net",standard:"none"}],faucets:["https://dev.reactive.network/docs/kopli-testnet#faucet"],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmZewyubd3zC17pmmGbjix6gFsppYpLsP3ntu3aB7rCJmW",width:800,height:800,format:"png"},infoURL:"https://reactive.network",name:"Reactive Kopli",nativeCurrency:{name:"Kopli React",symbol:"REACT",decimals:18},networkId:5318008,rpc:["https://5318008.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kopli-rpc.reactive.network","http://kopli-rpc.rkt.ink"],shortName:"kreact",slug:"reactive-kopli",testnet:!0,title:"Reactive Network Testnet Kopli"},Dk0={chain:"Imversed",chainId:5555555,explorers:[{name:"Imversed EVM explorer (Blockscout)",url:"https://txe.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-c.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Mainnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555555,rpc:["https://5555555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.imversed.network","https://ws-jsonrpc.imversed.network"],shortName:"imversed",slug:"imversed",testnet:!1},Ck0={chain:"Imversed",chainId:5555558,explorers:[{name:"Imversed EVM Explorer (Blockscout)",url:"https://txe-test.imversed.network",standard:"EIP3091",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}},{name:"Imversed Cosmos Explorer (Big Dipper)",url:"https://tex-t.imversed.com",standard:"none",icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmYwvmJZ1bgTdiZUKXk4SifTpTj286CkZjMCshUyJuBFH1",width:400,height:400,format:"png"},infoURL:"https://imversed.com",name:"Imversed Testnet",nativeCurrency:{name:"Imversed Token",symbol:"IMV",decimals:18},networkId:5555558,rpc:["https://5555558.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc-test.imversed.network","https://ws-jsonrpc-test.imversed.network"],shortName:"imversed-testnet",slip44:1,slug:"imversed-testnet",testnet:!0},Sk0={chain:"ETH",chainId:6038361,explorers:[{name:"Blockscout zKyoto explorer",url:"https://astar-zkyoto.blockscout.com",standard:"EIP3091"},{name:"Astar zkEVM Testnet zKyoto",url:"https://zkyoto.explorer.startale.com",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmRySLe3su59dE5x5JPm2b1GeZfz6DR9qUzcbp3rt4SD3A",width:300,height:300,format:"png"},infoURL:"https://astar.network",name:"Astar zKyoto",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:6038361,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},redFlags:[],rpc:["https://6038361.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.startale.com/zkyoto","https://rpc.zkyoto.gelato.digital"],shortName:"azkyt",slug:"astar-zkyoto",testnet:!0,title:"Astar zkEVM Testnet zKyoto"},Ak0={chain:"Safe(AnWang)",chainId:6666665,explorers:[{name:"Safe(AnWang) Explorer",url:"http://safe4.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Mainnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666665,rpc:["https://6666665.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anwang.com"],shortName:"SafeMainnet",slug:"safe-anwang",testnet:!1},kk0={chain:"Safe(AnWang)",chainId:6666666,explorers:[{name:"Safe(AnWang) Testnet Explorer",url:"http://safe4-testnet.anwang.com",standard:"EIP3091",icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"}}],faucets:[],icon:{url:"ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",width:768,height:768,format:"png"},infoURL:"https://www.anwang.com",name:"Safe(AnWang) Testnet",nativeCurrency:{name:"SAFE(AnWang)",symbol:"SAFE",decimals:18},networkId:6666666,rpc:["https://6666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.anwang.com"],shortName:"SafeTestnet",slug:"safe-anwang-testnet",testnet:!0},Pk0={chain:"Saakuru",chainId:7225878,explorers:[{name:"saakuru-explorer",url:"https://explorer.saakuru.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmduEdtFobPpZWSc45MU6RKxZfTEzLux2z8ikHFhT8usqv",width:1024,height:1024,format:"png"},infoURL:"https://saakuru.network",name:"Saakuru Mainnet",nativeCurrency:{name:"OAS",symbol:"OAS",decimals:18},networkId:7225878,rpc:["https://7225878.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.saakuru.network"],shortName:"saakuru",slug:"saakuru",testnet:!1},Rk0={chain:"VSL",chainId:7355310,explorers:[{name:"openvessel-mainnet",url:"https://mainnet-explorer.openvessel.io",standard:"none"}],faucets:[],icon:{url:"ipfs://QmeknNzGCZXQK7egwfwyxQan7Lw8bLnqYsyoEgEbDNCzJX",width:600,height:529,format:"png"},infoURL:"https://www.openvessel.io",name:"OpenVessel",nativeCurrency:{name:"Vessel ETH",symbol:"VETH",decimals:18},networkId:7355310,rpc:["https://7355310.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-external.openvessel.io"],shortName:"vsl",slug:"openvessel",testnet:!1},Lk0={chain:"QOM",chainId:7668378,explorers:[{name:"QL1 Testnet Explorer",url:"https://testnet.qom.one",standard:"EIP3091",icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"}}],faucets:["https://faucet.qom.one"],icon:{url:"ipfs://QmRc1kJ7AgcDL1BSoMYudatWHTrz27K6WNTwGifQb5V17D",width:518,height:518,format:"png"},infoURL:"https://qom.one",name:"QL1 Testnet",nativeCurrency:{name:"Shiba Predator",symbol:"QOM",decimals:18},networkId:7668378,rpc:["https://7668378.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.qom.one"],shortName:"tqom",slip44:1,slug:"ql1-testnet",status:"incubating",testnet:!0},Mk0={chain:"MUSIC",chainId:7762959,explorers:[],faucets:[],infoURL:"https://musicoin.tw",name:"Musicoin",nativeCurrency:{name:"Musicoin",symbol:"MUSIC",decimals:18},networkId:7762959,rpc:["https://7762959.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mewapi.musicoin.tw"],shortName:"music",slip44:184,slug:"musicoin",testnet:!1},Vie={chain:"ETH",chainId:7777777,explorers:[{name:"Zora Network Explorer",url:"https://explorer.zora.energy",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmZ6qaRwTPFEZUspwMUjaxC6KhmzcELdRQcQzS3P72Dzts/Vector.svg",width:512,height:512,format:"svg"},infoURL:"https://zora.energy",name:"Zora",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:7777777,redFlags:[],rpc:["https://7777777.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.zora.energy/"],shortName:"zora",slug:"zora",testnet:!1},Bk0={chain:"Plian",chainId:8007736,explorers:[{name:"piscan",url:"https://piscan.plian.org/child_0",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Mainnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"PI",decimals:18},networkId:8007736,parent:{type:"L2",chain:"eip155-2099156"},rpc:["https://8007736.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.plian.io/child_0"],shortName:"plian-mainnet-l2",slug:"plian-subchain-1",testnet:!1},Nk0={chain:"tFHE",chainId:8008135,explorers:[{name:"Fhenix Helium Explorer (Blockscout)",url:"https://explorer.helium.fhenix.zone",standard:"EIP3091"}],faucets:["https://get-helium.fhenix.zone"],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://www.fhenix.io",name:"Fhenix Helium",nativeCurrency:{name:"tFHE",symbol:"tFHE",decimals:18},networkId:8008135,rpc:["https://8008135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.helium.fhenix.zone"],shortName:"fhe-helium",slug:"fhenix-helium",testnet:!1},Fk0={chain:"Hokum",chainId:8080808,explorers:[{name:"Hokum Explorer",url:"https://explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:8080808,rpc:["https://8080808.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.hokum.gg"],shortName:"hokum",slug:"hokum",testnet:!1},Ok0={chain:"Waterfall Testnet8",chainId:8601152,explorers:[],faucets:["https://faucet.testnet8.waterfall.network"],features:[{name:"EIP1559"}],icon:{url:"ipfs://QmSDJPBKh9cLVL8UZ5KYwdwPyhD8bRWNb33jjt48wtu5Uc",width:241,height:179,format:"png"},infoURL:"https://waterfall.network",name:"Waterfall 8 Test Network",nativeCurrency:{name:"WATER",symbol:"WATER",decimals:18},networkId:8601152,rpc:["https://8601152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet8.waterfall.network/"],shortName:"waterfall",slug:"waterfall-8-test-network",testnet:!0},Vk0={chain:"HAPchain",chainId:8794598,explorers:[{name:"HAP EVM Explorer (Blockscout)",url:"https://blockscout.hap.land",standard:"none",icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmQ4V9JC25yUrYk2kFJwmKguSsZBQvtGcg6q9zkDV8mkJW",width:400,height:400,format:"png"},infoURL:"https://hap.land",name:"HAPchain",nativeCurrency:{name:"HAP",symbol:"HAP",decimals:18},networkId:8794598,rpc:["https://8794598.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonrpc.hap.land"],shortName:"hap",slug:"hapchain",testnet:!1},$k0={chain:"Quarix",chainId:8888881,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix Testnet",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888881,rpc:[],shortName:"quarix-testnet",slip44:1,slug:"quarix-testnet",status:"incubating",testnet:!0},Uk0={chain:"Quarix",chainId:8888888,explorers:[],faucets:[],icon:{url:"ipfs://QmTw8TyeeNhUFWrck2WCiN17MaHRt5qzRBtaAvmz6L7qq7",width:669,height:587,format:"png"},name:"Quarix",nativeCurrency:{name:"QARE",symbol:"QARE",decimals:18},networkId:8888888,rpc:[],shortName:"quarix",slug:"quarix",status:"incubating",testnet:!1},qk0={chain:"XCAP",chainId:9322252,explorers:[{name:"blockscout",url:"https://xcap-mainnet.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"XCAP",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322252,rpc:["https://9322252.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-mainnet.relay.xcap.network/znzvh2ueyvm2yts5fv5gnul395jbkfb2/rpc1"],shortName:"xcap",slug:"xcap",testnet:!1,title:"XCAP Mainnet"},Hk0={chain:"XCAP",chainId:9322253,explorers:[{name:"blockscout",url:"https://xcap-milvine.explorer.xcap.network",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeTj6tfaw9qf9wnEUQh7PnCpNWyvm56e7kY35kANRWNxj",width:1600,height:1600,format:"png"},infoURL:"https://xcap.network/",name:"Milvine",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:9322253,rpc:["https://9322253.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://xcap-milvine.relay.xcap.network/zj5l55ftsgi027kz4nf14vs8d89inego/rpc1"],shortName:"milv",slug:"milvine",testnet:!0,title:"XCAP Testnet Milvine"},zk0={chain:"Plian",chainId:10067275,explorers:[{name:"piscan",url:"https://testnet.plian.org/child_test",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org/",name:"Plian Testnet Subchain 1",nativeCurrency:{name:"Plian Token",symbol:"TPI",decimals:18},networkId:10067275,parent:{type:"L2",chain:"eip155-16658437"},rpc:["https://10067275.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/child_test"],shortName:"plian-testnet-l2",slip44:1,slug:"plian-testnet-subchain-1",testnet:!0},Wk0={chain:"SVRN",chainId:10101010,explorers:[{name:"Soverun",url:"https://explorer.soverun.com",standard:"EIP3091"}],faucets:["https://faucet.soverun.com"],icon:{url:"ipfs://QmTYazUzgY9Nn2mCjWwFUSLy3dG6i2PvALpwCNQvx1zXyi",width:1154,height:1154,format:"png"},infoURL:"https://soverun.com",name:"Soverun Mainnet",nativeCurrency:{name:"Soverun",symbol:"SVRN",decimals:18},networkId:10101010,rpc:["https://10101010.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.soverun.com"],shortName:"SVRNm",slug:"soverun",testnet:!1},jk0={chain:"AlienX Mainnet",chainId:10241024,explorers:[{name:"AlienXChain Explorer",url:"https://explorer.alienxchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWAa7JayD8HCtAMXezzUNcUoi2Rikqpu2WmrHpFBmDEez",width:480,height:480,format:"png"},infoURL:"https://alienxchain.io/home",name:"AlienX Mainnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:10241024,rpc:["https://10241024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.alienxchain.io/http"],shortName:"AlienX",slug:"alienx",testnet:!1},Gk0={chain:"ALIENX Hal",chainId:10241025,explorers:[{name:"Hal Explorer",url:"https://hal-explorer.alienxchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmWAa7JayD8HCtAMXezzUNcUoi2Rikqpu2WmrHpFBmDEez",width:480,height:480,format:"png"},infoURL:"https://alienxchain.io/home",name:"ALIENX Hal Testnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},networkId:10241025,rpc:["https://10241025.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hal-rpc.alienxchain.io/http","https://hal.rpc.caldera.xyz/http"],shortName:"ALIENXHal",slug:"alienx-hal-testnet",testnet:!0},iOe={chain:"ETH",chainId:11155111,explorers:[{name:"etherscan-sepolia",url:"https://sepolia.etherscan.io",standard:"EIP3091"},{name:"otterscan-sepolia",url:"https://sepolia.otterscan.io",standard:"EIP3091"}],faucets:["http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",width:512,height:512,format:"png"},infoURL:"https://sepolia.otterscan.io",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155111,redFlags:[],rpc:["https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.infura.io/v3/${INFURA_API_KEY}","wss://sepolia.infura.io/v3/${INFURA_API_KEY}","https://rpc.sepolia.org","https://rpc2.sepolia.org","https://rpc-sepolia.rockx.com","https://rpc.sepolia.ethpandaops.io","https://sepolia.gateway.tenderly.co","wss://sepolia.gateway.tenderly.co","https://ethereum-sepolia-rpc.publicnode.com","wss://ethereum-sepolia-rpc.publicnode.com","https://sepolia.drpc.org","wss://sepolia.drpc.org"],shortName:"sep",slip44:1,slug:"sepolia",testnet:!0,title:"Ethereum Testnet Sepolia"},rU={chain:"ETH",chainId:11155420,explorers:[{name:"opscout",url:"https://optimism-sepolia.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:["https://app.optimism.io/faucet"],features:[],icon:{url:"ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png",width:512,height:512,format:"png"},infoURL:"https://optimism.io",name:"OP Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:11155420,redFlags:[],rpc:["https://11155420.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.optimism.io","https://optimism-sepolia.drpc.org","wss://optimism-sepolia.drpc.org"],shortName:"opsep",slip44:1,slug:"op-sepolia-testnet",testnet:!0},Kk0={chain:"NeoX",chainId:12227331,explorers:[{name:"neox-scan",url:"https://testnet.scan.banelabs.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR3iCrjrW814fyv79UeVimDT4fTeBQcpYgMYxv1U6W15u",width:512,height:512,format:"png"},infoURL:"https://neo.org/",name:"NeoX Testnet",nativeCurrency:{name:"Gas",symbol:"GAS",decimals:18},networkId:12227331,rpc:["https://12227331.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.banelabs.org/"],shortName:"neox",slug:"neox-testnet",status:"active",testnet:!0},Qk0={chain:"COTI",chainId:13068200,explorers:[{name:"coti devnet explorer",url:"https://explorer-devnet.coti.io",standard:"EIP3091",icon:{url:"ipfs://QmVQidJf4ZXt6whYqZk9atCXLrmterkHrL4wYBCetZbsdj",width:200,height:200,format:"png"}}],faucets:["https://faucet.coti.io"],icon:{url:"ipfs://QmR58SroHx7ovpqEB5iRkw4PufEXmcCBAJ8AZ7mChDgTfV",width:528,height:528,format:"png"},infoURL:"https://coti.io/",name:"COTI Devnet",nativeCurrency:{name:"COTI2",symbol:"COTI2",decimals:18},networkId:13068200,rpc:["https://13068200.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.coti.io/rpc"],shortName:"coti-devnet",slug:"coti-devnet",testnet:!1,title:"COTI Devnet"},Yk0={chain:"PEP",chainId:13371337,explorers:[],faucets:[],infoURL:"https://pepchain.io",name:"PepChain Churchill",nativeCurrency:{name:"PepChain Churchill Ether",symbol:"TPEP",decimals:18},networkId:13371337,rpc:["https://13371337.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://churchill-rpc.pepchain.io"],shortName:"tpep",slug:"pepchain-churchill",testnet:!1},Jk0={chain:"anduschain",chainId:14288640,explorers:[{name:"anduschain explorer",url:"https://explorer.anduschain.io",standard:"none",icon:{url:"ipfs://bafkreiapaxokh2p4j7hg43ug2inomixiwrdhni4kpqazvqifssnez7efze",width:512,height:512,format:"png"}}],faucets:[],infoURL:"https://anduschain.io/",name:"Anduschain Mainnet",nativeCurrency:{name:"DAON",symbol:"DEB",decimals:18},networkId:14288640,rpc:["https://14288640.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.anduschain.io/rpc","wss://rpc.anduschain.io/ws"],shortName:"anduschain-mainnet",slug:"anduschain",testnet:!1},Xk0={chain:"Plian",chainId:16658437,explorers:[{name:"piscan",url:"https://testnet.plian.org/testnet",standard:"EIP3091"}],faucets:[],infoURL:"https://plian.org",name:"Plian Testnet Main",nativeCurrency:{name:"Plian Testnet Token",symbol:"TPI",decimals:18},networkId:16658437,rpc:["https://16658437.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.plian.io/testnet"],shortName:"plian-testnet",slip44:1,slug:"plian-testnet-main",testnet:!0},Zk0={chain:"Lambda Chain",chainId:17000920,explorers:[{name:"Lambda Chain Testnet Explorer",url:"https://testscan.lambda.im",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmXCWjWSTd6kJZKnH9aQRjgLdWRH9NTxU1wC21iBvoB4Hp",width:256,height:256,format:"png"},infoURL:"https://lambda.im",name:"Lambda Chain Testnet",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},networkId:17000920,rpc:["https://17000920.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnrpc.lambda.im/"],shortName:"tlambda",slip44:1,slug:"lambda-chain-testnet",testnet:!0},eP0={chain:"ILT",chainId:18289463,explorers:[],faucets:[],infoURL:"https://iolite.io",name:"IOLite",nativeCurrency:{name:"IOLite Ether",symbol:"ILT",decimals:18},networkId:18289463,rpc:["https://18289463.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://net.iolite.io"],shortName:"ilt",slug:"iolite",testnet:!1},tP0={chain:"stabilityTestnet",chainId:20180427,explorers:[{name:"blockscout",url:"https://stability-testnet.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreid3wd6ouu53r677q2z24a4eq5un5tlwbc4izfapcvvtrlhkmz43au",width:133,height:144,format:"png"},infoURL:"https://stabilityprotocol.com",name:"Stability Testnet",nativeCurrency:{name:"FREE",symbol:"FREE",decimals:18},networkId:20180427,rpc:["https://20180427.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://free.testnet.stabilityprotocol.com"],shortName:"stabilitytestnet",slip44:1,slug:"stability-testnet",testnet:!0},nP0={chain:"Spectrum",chainId:20180430,explorers:[{name:"spectrum",url:"https://spectrum.pub",standard:"none"}],faucets:[],infoURL:"https://smartmesh.io",name:"SmartMesh Mainnet",nativeCurrency:{name:"SmartMesh Native Token",symbol:"SMT",decimals:18},networkId:1,rpc:["https://20180430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://jsonapi1.smartmesh.cn"],shortName:"spectrum",slug:"smartmesh",testnet:!1},aP0={chain:"QKI",chainId:20181205,explorers:[{name:"qkiscan",url:"https://qkiscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://quarkblockchain.org/",name:"quarkblockchain",nativeCurrency:{name:"quarkblockchain Native Token",symbol:"QKI",decimals:18},networkId:20181205,rpc:["https://20181205.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://hz.rpc.qkiscan.cn","https://jp.rpc.qkiscan.io","https://rpc1.qkiscan.io","https://rpc2.qkiscan.io","https://rpc3.qkiscan.io"],shortName:"qki",slug:"quarkblockchain",testnet:!1},rP0={chain:"PEGO",chainId:20201022,explorers:[{name:"Pego Network Explorer",url:"https://scan.pego.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",width:246,height:247,format:"png"},infoURL:"https://pego.network",name:"Pego Network",nativeCurrency:{name:"Pego Native Token",symbol:"PG",decimals:18},networkId:20201022,rpc:["https://20201022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://pegorpc.com","https://node1.pegorpc.com","https://node2.pegorpc.com","https://node3.pegorpc.com"],shortName:"pg",slug:"pego-network",testnet:!1},iP0={chain:"DeBank",chainId:20240324,explorers:[{name:"DeBank Chain Explorer",url:"https://sepolia-explorer.testnet.debank.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",width:400,height:400,format:"png"},infoURL:"https://debank.com",name:"DeBank Sepolia Testnet",nativeCurrency:{name:"DeBank USD",symbol:"USD",decimals:18},networkId:20240324,rpc:["https://20240324.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.testnet.debank.com"],shortName:"dbkse",slip44:1,slug:"debank-sepolia-testnet",testnet:!0},sP0={chain:"DBK Chain",chainId:20240603,explorers:[{name:"DBK Chain Explorer",url:"https://scan.dbkchain.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafybeib7ovny3xkl4nr4a5oqvoqwf7dcjtqavydysclfmbavbl2oekhxty",width:1600,height:1600,format:"png"},infoURL:"https://docs.dbkchain.io",name:"DBK Chain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:20240603,rpc:["https://20240603.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.mainnet.dbkchain.io"],shortName:"dbkchain",slug:"dbk-chain",testnet:!1},fP0={chain:"SWAN",chainId:20241133,explorers:[{name:"Swan Proxima Chain explorer",url:"https://proxima-explorer.swanchain.io",standard:"EIP3091"}],faucets:[],infoURL:"https://swanchain.io/",name:"Swan Proxima Testnet",nativeCurrency:{name:"SWANETH",symbol:"sETH",decimals:18},networkId:20241133,rpc:["https://20241133.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-proxima.swanchain.io"],shortName:"Proxima",slug:"swan-proxima-testnet",testnet:!0},oP0={chain:"HokumTestnet",chainId:20482050,explorers:[{name:"Hokum Explorer",url:"https://testnet-explorer.hokum.gg",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmafrUmh1FD48WWQwk6pfW1Y7eA9VQTdpeL387Wt2JFrAd",width:512,height:512,format:"png"},infoURL:"https://hokum.gg",name:"Hokum Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:20482050,rpc:["https://20482050.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.hokum.gg"],shortName:"hokum-testnet",slug:"hokum-testnet",testnet:!0},cP0={chain:"XLON",chainId:22052002,explorers:[{name:"Excelon explorer",url:"https://explorer.excelon.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmTV45o4jTe6ayscF1XWh1WXk5DPck4QohR5kQocSWjvQP",width:300,height:300,format:"png"},infoURL:"https://xlon.org",name:"Excelon Mainnet",nativeCurrency:{name:"Excelon",symbol:"xlon",decimals:18},networkId:22052002,rpc:["https://22052002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://edgewallet1.xlon.org/"],shortName:"xlon",slug:"excelon",testnet:!1},dP0={chain:"TEXL",chainId:27082017,explorers:[{name:"exlscan",url:"https://testnet-explorer.exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:["https://faucet.exlscan.com"],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Volta-Testnet",nativeCurrency:{name:"TExlcoin",symbol:"TEXL",decimals:18},networkId:27082017,rpc:["https://27082017.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.exlscan.com"],shortName:"exlvolta",slip44:1,slug:"excoincial-chain-volta-testnet",testnet:!0},lP0={chain:"EXL",chainId:27082022,explorers:[{name:"exlscan",url:"https://exlscan.com",standard:"EIP3091",icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"}}],faucets:[],icon:{url:"ipfs://QmeooM7QicT1YbgY93XPd5p7JsCjYhN3qjWt68X57g6bVC",width:400,height:400,format:"png"},name:"Excoincial Chain Mainnet",nativeCurrency:{name:"Exlcoin",symbol:"EXL",decimals:18},networkId:27082022,rpc:["https://27082022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.exlscan.com"],shortName:"exl",slug:"excoincial-chain",testnet:!1},pP0={chain:"Ancient8",chainId:28122024,explorers:[{name:"scan-testnet",url:"https://scanv2-testnet.ancient8.gg",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:28122024,redFlags:[],rpc:["https://28122024.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpcv2-testnet.ancient8.gg","https://testnet-rpc.etherspot.io/v1/28122024"],shortName:"a8",slip44:1,slug:"ancient8-testnet",testnet:!1},uP0={chain:"AUX",chainId:28945486,explorers:[],faucets:[],infoURL:"https://auxilium.global",name:"Auxilium Network Mainnet",nativeCurrency:{name:"Auxilium coin",symbol:"AUX",decimals:18},networkId:28945486,rpc:["https://28945486.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.auxilium.global"],shortName:"auxi",slip44:344,slug:"auxilium-network",testnet:!1},yP0={chain:"FLX",chainId:29032022,explorers:[{name:"FLXExplorer",url:"https://explorer.flaexchange.top",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://bafybeiadlvc4pfiykehyt2z67nvgt5w4vlov27olu5obvmryv4xzua4tae",width:256,height:256,format:"png"},infoURL:"https://www.flaexchange.top",name:"Flachain Mainnet",nativeCurrency:{name:"Flacoin",symbol:"FLA",decimals:18},networkId:29032022,rpc:["https://29032022.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://flachain.flaexchange.top/"],shortName:"fla",slug:"flachain",testnet:!1},mP0={chain:"FIL",chainId:31415926,explorers:[],faucets:[],icon:{url:"ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",width:1e3,height:1e3,format:"png"},infoURL:"https://filecoin.io",name:"Filecoin - Local testnet",nativeCurrency:{name:"testnet filecoin",symbol:"tFIL",decimals:18},networkId:31415926,rpc:[],shortName:"filecoin-local",slip44:1,slug:"filecoin-local-testnet",status:"incubating",testnet:!0},bP0={chain:"JOYS",chainId:35855456,explorers:[],faucets:[],infoURL:"https://joys.digital",name:"Joys Digital Mainnet",nativeCurrency:{name:"JOYS",symbol:"JOYS",decimals:18},networkId:35855456,rpc:["https://35855456.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://node.joys.digital"],shortName:"JOYS",slug:"joys-digital",testnet:!1},hP0={chain:"lanky-ill-funny-testnet",chainId:37084624,explorers:[{name:"Blockscout",url:"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:37084624,rpc:["https://37084624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet","wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet"],shortName:"nebula-testnet",slip44:1,slug:"skale-nebula-hub-testnet",testnet:!0,title:"SKALE Nebula Hub Testnet"},gP0={chain:"KingdomChain",chainId:39916801,explorers:[{name:"TravelSong",url:"https://www.beastkingdom.io/travelsong",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"}],infoURL:"https://www.beastkingdom.io/",name:"Kingdom Chain",nativeCurrency:{name:"Kozi",symbol:"KOZI",decimals:18},networkId:39916801,rpc:["https://39916801.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://kingdomchain.observer/rpc"],shortName:"kchain",slug:"kingdom-chain",testnet:!1},vP0={chain:"MAI",chainId:43214913,explorers:[{name:"maistesntet",url:"http://174.138.9.169:3006/?network=maistesntet",standard:"none"}],faucets:[],name:"maistestsubnet",nativeCurrency:{name:"maistestsubnet",symbol:"MAI",decimals:18},networkId:43214913,rpc:["https://43214913.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://174.138.9.169:9650/ext/bc/VUKSzFZKckx4PoZF9gX5QAqLPxbLzvu1vcssPG5QuodaJtdHT/rpc"],shortName:"mais",slip44:1,slug:"maistestsubnet",testnet:!0},TP0={chain:"AQUA",chainId:61717561,explorers:[],faucets:["https://aquacha.in/faucet"],infoURL:"https://aquachain.github.io",name:"Aquachain",nativeCurrency:{name:"Aquachain Ether",symbol:"AQUA",decimals:18},networkId:61717561,rpc:["https://61717561.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://c.onical.org","https://tx.aquacha.in/api"],shortName:"aqua",slip44:61717561,slug:"aquachain",testnet:!1},_P0={chain:"AUT",chainId:6501e4,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Thames) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:6501e4,rpc:[],shortName:"bakerloo-0",slip44:1,slug:"autonity-bakerloo-thames-testnet",status:"deprecated",testnet:!0},wP0={chain:"AUT",chainId:65010001,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Barada) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010001,rpc:[],shortName:"bakerloo-01",slip44:1,slug:"autonity-bakerloo-barada-testnet",status:"deprecated",testnet:!0},xP0={chain:"AUT",chainId:65010002,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Sumida) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010002,rpc:[],shortName:"bakerloo-02",slip44:1,slug:"autonity-bakerloo-sumida-testnet",status:"deprecated",testnet:!0},IP0={chain:"AUT",chainId:65010003,explorers:[{name:"autonity-blockscout",url:"https://bakerloo.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Bakerloo (Yamuna) Testnet",nativeCurrency:{name:"Bakerloo Auton",symbol:"ATN",decimals:18},networkId:65010003,rpc:["https://65010003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.bakerloo.autonity.org/","wss://rpc1.bakerloo.autonity.org/ws/"],shortName:"bakerloo-03",slip44:1,slug:"autonity-bakerloo-yamuna-testnet",testnet:!0},EP0={chain:"AUT",chainId:651e5,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:["https://faucet.autonity.org/"],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Thames) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:651e5,rpc:[],shortName:"piccadilly-0",slip44:1,slug:"autonity-piccadilly-thames-testnet",status:"deprecated",testnet:!0},DP0={chain:"AUT",chainId:65100001,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Barada) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100001,rpc:[],shortName:"piccadilly-01",slip44:1,slug:"autonity-piccadilly-barada-testnet",status:"deprecated",testnet:!0},CP0={chain:"AUT",chainId:65100002,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Sumida) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100002,rpc:[],shortName:"piccadilly-02",slip44:1,slug:"autonity-piccadilly-sumida-testnet",status:"deprecated",testnet:!0},SP0={chain:"AUT",chainId:65100003,explorers:[{name:"autonity-blockscout",url:"https://piccadilly.autonity.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qme5nxFZZoNNpiT8u9WwcBot4HyLTg2jxMxRnsbc5voQwB",width:1e3,height:1e3,format:"png"},infoURL:"https://autonity.org/",name:"Autonity Piccadilly (Yamuna) Testnet",nativeCurrency:{name:"Piccadilly Auton",symbol:"ATN",decimals:18},networkId:65100003,rpc:["https://65100003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc1.piccadilly.autonity.org/","wss://rpc1.piccadilly.autonity.org/ws/"],shortName:"piccadilly-03",slip44:1,slug:"autonity-piccadilly-yamuna-testnet",testnet:!0},AP0={chain:"ETH",chainId:68840142,explorers:[{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz",standard:"EIP3091"},{name:"Frame Testnet Explorer",url:"https://explorer.testnet.frame.xyz/",standard:"EIP3091"}],faucets:["https://faucet.triangleplatform.com/frame/testnet","https://faucet.triangleplatform.com/frame"],features:[],icon:{url:"ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",width:512,height:512,format:"png"},infoURL:"https://frame.xyz",name:"Frame Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:68840142,redFlags:[],rpc:["https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.testnet.frame.xyz/http"],shortName:"frame-test",slip44:1,slug:"frame-testnet",testnet:!0},kP0={chain:"HETH",chainId:77787778,explorers:[{name:"blockscout",url:"https://test.0xhashscan.io",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmdwQDr6vmBtXmK2TmknkEuZNoaDqTasFdZdu3DRw8b2wt",width:1e3,height:1628,format:"png"},infoURL:"https://0xhash.io",name:"0xHash Testnet",nativeCurrency:{name:"0xHash",symbol:"HETH",decimals:18},networkId:77787778,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://app.optimism.io/bridge/deposit"}]},rpc:["https://77787778.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-test.0xhash.io"],shortName:"HETH",slip44:1,slug:"0xhash-testnet",testnet:!0},PP0={chain:"TEAM",chainId:88888888,explorers:[{name:"teamscan",url:"https://teamblockchain.team",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmcnA15BLE9uvznbugXKjqquizZs1eLPeEEkc92DSmvhmt",width:248,height:248,format:"png"},infoURL:"https://teamblockchain.team",name:"T.E.A.M Blockchain",nativeCurrency:{name:"TEAM",symbol:"$TEAM",decimals:18},networkId:88888888,rpc:["https://88888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.teamblockchain.team"],shortName:"team",slug:"t-e-a-m-blockchain",testnet:!1},RP0={chain:"ETH",chainId:94204209,explorers:[{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"blockscout",url:"https://polygon-blackberry.gelatoscout.com/",standard:"EIP3091",icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://QmYotcuJYjUBXZ33CYoWMyNnJbjK14f8ma6sge55Z5bg5W/polygon-blackberry.svg",width:300,height:300,format:"svg"},infoURL:"https://raas.gelato.network/rollups/details/public/polygon-blackberry",name:"Polygon Blackberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:94204209,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/polygon-blackberry"}]},redFlags:[],rpc:["https://94204209.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.polygon-blackberry.gelato.digital","wss://ws.polygon-blackberry.gelato.digital"],shortName:"polygon-blackberry",slip44:60,slug:"polygon-blackberry",status:"active",testnet:!0,title:"Polygon Blackberry Testnet"},LP0={chain:"TOYS",chainId:99415706,explorers:[],faucets:["https://faucet.joys.digital/"],infoURL:"https://joys.digital",name:"Joys Digital TestNet",nativeCurrency:{name:"TOYS",symbol:"TOYS",decimals:18},networkId:99415706,rpc:["https://99415706.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://toys.joys.cash/"],shortName:"TOYS",slip44:1,slug:"joys-digital-testnet",testnet:!0},MP0={chain:"Oraichain",chainId:108160679,explorers:[],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],infoURL:"https://orai.io",name:"Oraichain Mainnet",nativeCurrency:{name:"Oraichain Token",symbol:"ORAI",decimals:18},networkId:108160679,rpc:["https://108160679.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://evm.orai.io"],shortName:"Oraichain",slug:"oraichain",testnet:!1,title:"Oraichain Mainnet"},BP0={chain:"Cyber",chainId:111557560,explorers:[{name:"Cyber Testnet Explorer",url:"https://testnet.cyberscan.co",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",width:213,height:212,format:"svg"},infoURL:"https://cyber.co/",name:"Cyber Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:111557560,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://cyber-testnet.testnets.rollbridge.app/"}]},rpc:["https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://cyber-testnet.alt.technology/","wss://cyber-testnet.alt.technology/ws","https://rpc.testnet.cyber.co/","wss://rpc.testnet.cyber.co/"],shortName:"cysep",slug:"cyber-testnet",testnet:!0},NP0={chain:"ETH",chainId:123420111,explorers:[{name:"blockscout",url:"https://opcelestia-raspberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/opcelestia-raspberry",name:"OP Celestia Rasberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:123420111,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://bridge.gelato.network/bridge/opcelestia-raspberry"}]},redFlags:[],rpc:["https://123420111.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.opcelestia-raspberry.gelato.digital","wss://ws.opcelestia-raspberry.gelato.digital"],shortName:"opcelestia-rasberry",slip44:60,slug:"op-celestia-rasberry",status:"active",testnet:!0,title:"OP Celestia Rasberry"},FP0={chain:"ETH",chainId:161221135,explorers:[{name:"Blockscout",url:"https://testnet-explorer.plumenetwork.xyz",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],icon:{url:"ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",width:1062,height:1062,format:"png"},infoURL:"https://www.plumenetwork.xyz/",name:"Plume Testnet",nativeCurrency:{name:"Plume Sepolia Ether",symbol:"ETH",decimals:18},networkId:161221135,parent:{type:"L2",chain:"eip155-11155111",bridges:[{url:"https://testnet-bridge.plumenetwork.xyz"}]},rpc:["https://161221135.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.plumenetwork.xyz/http","wss://testnet-rpc.plumenetwork.xyz/ws"],shortName:"plume-testnet",slip44:1,slug:"plume-testnet",testnet:!0,title:"Plume Sepolia Rollup Testnet"},OP0={chain:"ETH",chainId:168587773,explorers:[{name:"Blast Sepolia Explorer",url:"https://testnet.blastscan.io",standard:"EIP3091",icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"}}],faucets:["https://faucet.quicknode.com/blast/sepolia"],icon:{url:"ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",width:400,height:400,format:"jpg"},infoURL:"https://blast.io/",name:"Blast Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:168587773,parent:{type:"L2",chain:"eip155-11155111"},rpc:["https://168587773.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.blast.io","https://blast-sepolia.drpc.org","wss://blast-sepolia.drpc.org"],shortName:"blastsepolia",slug:"blast-sepolia-testnet",testnet:!0},VP0={chain:"GTH",chainId:192837465,explorers:[{name:"Blockscout",url:"https://explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:[],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Mainnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:192837465,redFlags:[],rpc:["https://192837465.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.gather.network"],shortName:"GTH",slug:"gather-network",testnet:!1},$P0={chain:"Kanazawa",chainId:222000222,explorers:[{name:"explorer",url:"https://testnet.meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets-test.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Kanazawa",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:222000222,rpc:["https://222000222.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.meld.com"],shortName:"kanazawa",slip44:1,slug:"kanazawa",testnet:!0,title:"Meld Testnet Kanazawa"},UP0={chain:"Solana",chainId:245022926,explorers:[{name:"blockscout",url:"https://neon-devnet.blockscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}},{name:"neonscan",url:"https://devnet.neonscan.org",standard:"EIP3091"}],faucets:["https://neonfaucet.org"],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM Devnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022926,rpc:["https://245022926.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.neonevm.org","https://neon-evm-devnet.drpc.org","wss://neon-evm-devnet.drpc.org"],shortName:"neonevm-devnet",slug:"neon-evm-devnet",testnet:!1},qP0={chain:"Solana",chainId:245022929,explorers:[],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neonevm.org/",name:"Neon EVM Devnet Rollup",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022929,rpc:["https://245022929.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.rollup.neonevm.org/"],shortName:"neonevm-devnet-rollup",slug:"neon-evm-devnet-rollup",testnet:!1},HP0={chain:"Solana",chainId:245022934,explorers:[{name:"neonscan",url:"https://neonscan.org",standard:"EIP3091"},{name:"native",url:"https://neon.blockscout.com",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neonevm.org",name:"Neon EVM Mainnet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022934,rpc:["https://245022934.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://neon-proxy-mainnet.solana.p2p.org","https://neon-evm.drpc.org","wss://neon-evm.drpc.org"],shortName:"neonevm-mainnet",slug:"neon-evm",testnet:!1},zP0={chain:"Solana",chainId:245022940,explorers:[{name:"native",url:"https://testnet.explorer.neon-labs.org",standard:"EIP3091"},{name:"neonscan",url:"https://testnet.neonscan.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://Qmcxevb3v8PEvnvfYgcG3bCBuPhe5YAdsHeaufDChSSR3Q",width:512,height:512,format:"png"},infoURL:"https://neon-labs.org",name:"Neon EVM TestNet",nativeCurrency:{name:"Neon",symbol:"NEON",decimals:18},networkId:245022940,rpc:["https://245022940.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.neonevm.org"],shortName:"neonevm-testnet",slip44:1,slug:"neon-evm-testnet",status:"deprecated",testnet:!0},WP0={chain:"Razor Schain",chainId:278611351,explorers:[{name:"turbulent-unique-scheat",url:"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://faucet.razorscan.io/"],icon:{url:"ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",width:900,height:900,format:"png"},infoURL:"https://razor.network",name:"Razor Skale Chain",nativeCurrency:{name:"sFuel",symbol:"SFUEL",decimals:18},networkId:278611351,rpc:["https://278611351.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"],shortName:"razor",slug:"razor-skale-chain",testnet:!1},jP0={chain:"OLT",chainId:311752642,explorers:[{name:"OneLedger Block Explorer",url:"https://mainnet-explorer.oneledger.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Mainnet",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:311752642,rpc:["https://311752642.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet-rpc.oneledger.network"],shortName:"oneledger",slug:"oneledger",testnet:!1},GP0={chain:"ETH",chainId:328527624,explorers:[{name:"Nal Sepolia Testnet Network Explorer",url:"https://testnet-scan.nal.network",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmZLZHX18YUswejxo1JFNPx5EwMsVhUwBeBWEcd1JUHAK5",width:640,height:640,format:"png"},infoURL:"https://www.nal.network",name:"Nal Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:328527624,rpc:["https://328527624.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.nal.network"],shortName:"nalsep",slug:"nal-sepolia-testnet",testnet:!0},KP0={chain:"MELD",chainId:333000333,explorers:[{name:"explorer",url:"https://meldscan.io",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}},{name:"explorer",url:"https://subnets.avax.network/meld",standard:"EIP3091",icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",width:4e3,height:4e3,format:"png"},infoURL:"https://meld.com",name:"Meld",nativeCurrency:{name:"gMeld",symbol:"gMELD",decimals:18},networkId:333000333,rpc:["https://333000333.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-1.meld.com"],shortName:"meld",slug:"meld",testnet:!1,title:"Meld Mainnet"},QP0={chain:"staging-utter-unripe-menkar",chainId:344106930,explorers:[{name:"Blockscout",url:"https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"Deprecated SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:344106930,rpc:["https://344106930.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"],shortName:"deprected-calypso-testnet",slip44:1,slug:"deprecated-skale-calypso-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Calypso NFT Hub Testnet"},YP0={chain:"GTH",chainId:356256156,explorers:[{name:"Blockscout",url:"https://testnet-explorer.gather.network",standard:"none",icon:{url:"ipfs://QmTYR8CeFiNbJ1zJHnE3DK2wEN18r2y2vqSKUcLweUT2Gz",width:1080,height:1080,format:"svg"}}],faucets:["https://testnet-faucet.gather.network/"],features:[],icon:{url:"ipfs://Qmc9AJGg9aNhoH56n3deaZeUc8Ty1jDYJsW6Lu6hgSZH4S",width:512,height:512,format:"png"},infoURL:"https://gather.network",name:"Gather Testnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:356256156,redFlags:[],rpc:["https://356256156.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.gather.network"],shortName:"tGTH",slip44:1,slug:"gather-testnet-network",testnet:!0},JP0={chain:"staging-legal-crazy-castor",chainId:476158412,explorers:[{name:"Blockscout",url:"https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"Deprecated SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:476158412,rpc:["https://476158412.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"],shortName:"deprecated-europa-testnet",slip44:1,slug:"deprecated-skale-europa-hub-testnet",status:"deprecated",testnet:!0,title:"Deprecated Europa Hub Testnet"},XP0={chain:"GTH",chainId:486217935,explorers:[{name:"Blockscout",url:"https://devnet-explorer.gather.network",standard:"none"}],faucets:[],infoURL:"https://gather.network",name:"Gather Devnet Network",nativeCurrency:{name:"Gather",symbol:"GTH",decimals:18},networkId:486217935,rpc:["https://486217935.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://devnet.gather.network"],shortName:"dGTH",slug:"gather-devnet-network",testnet:!1},ZP0={chain:"staging-faint-slimy-achird",chainId:503129905,explorers:[{name:"Blockscout",url:"https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"Deprecated SKALE Nebula Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:503129905,rpc:["https://503129905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird","wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird"],shortName:"deprecated-nebula-testnet",slip44:1,slug:"deprecated-skale-nebula-hub-testnet",status:"deprecated",testnet:!0},eR0={chain:"Degen",chainId:666666666,explorers:[],faucets:[],icon:{url:"ipfs://Qmb6yAe4wXeBkxjfhxzoUT9TzETcmE7Vne59etm9GJaQf7",width:789,height:668,format:"svg"},infoURL:"https://degen.tips",name:"Degen Chain",nativeCurrency:{name:"DEGEN",symbol:"DEGEN",decimals:18},networkId:666666666,rpc:["https://666666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.degen.tips"],shortName:"degen-chain",slug:"degen-chain",status:"incubating",testnet:!1,title:"Degen Chain"},tR0={chain:"Ancient8",chainId:888888888,explorers:[{name:"Ancient8 Explorer",url:"https://scan.ancient8.gg",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:888888888,redFlags:[],rpc:["https://888888888.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ancient8.gg"],shortName:"ancient8",slug:"ancient8",testnet:!1},nR0={chain:"PTCE",chainId:889910245,explorers:[{name:"PTCESCAN Testnet Explorer",url:"https://explorer-testnet.ptcscan.io",standard:"EIP3091"}],faucets:["https://faucet.ptcscan.io/"],infoURL:"https://ptcscan.io",name:"PTCESCAN Testnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910245,rpc:["https://889910245.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ptcscan.io"],shortName:"PTCE",slug:"ptcescan-testnet",testnet:!0,title:"PTCESCAN Testnet"},aR0={chain:"PTCE",chainId:889910246,explorers:[{name:"PTCESCAN Explorer",url:"https://ptcscan.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ptcscan.io",name:"PTCESCAN Mainnet",nativeCurrency:{name:"PTCE",symbol:"PTCE",decimals:18},networkId:889910246,rpc:["https://889910246.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ptcscan.io"],shortName:"POLYTECH",slug:"ptcescan",testnet:!1,title:"PTCESCAN Mainnet"},rR0={chain:"giant-half-dual-testnet",chainId:974399131,explorers:[{name:"Blockscout",url:"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:974399131,rpc:["https://974399131.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/giant-half-dual-testnet"],shortName:"calypso-testnet",slip44:1,slug:"skale-calypso-hub-testnet",testnet:!0,title:"SKALE Calypso Hub Testnet"},$ie={chain:"ETH",chainId:999999999,explorers:[{name:"Zora Sepolia Testnet Network Explorer",url:"https://sepolia.explorer.zora.energy",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreifvrly5tgd34xqeo67s4etmiu52bkroml7uy7eosizf57htf5nrzq",width:250,height:250,format:"png"},infoURL:"https://zora.energy",name:"Zora Sepolia Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},networkId:999999999,rpc:["https://999999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia.rpc.zora.energy"],shortName:"zsep",slip44:1,slug:"zora-sepolia-testnet",testnet:!0},iR0={chain:"aware-fake-trim-testnet",chainId:1020352220,explorers:[{name:"Blockscout",url:"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1020352220,rpc:["https://1020352220.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/aware-fake-trim-testnet","wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet"],shortName:"titan-testnet",slip44:1,slug:"skale-titan-hub-testnet",testnet:!0,title:"SKALE Titan Hub Testnet"},sR0={chain:"IPOS",chainId:1122334455,explorers:[],faucets:[],infoURL:"https://iposlab.com",name:"IPOS Network",nativeCurrency:{name:"IPOS Network Ether",symbol:"IPOS",decimals:18},networkId:1122334455,rpc:["https://1122334455.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.iposlab.com","https://rpc2.iposlab.com"],shortName:"ipos",slug:"ipos-network",testnet:!1},fR0={chain:"cyberdeck",chainId:1146703430,explorers:[{name:"CybEthExplorer",url:"http://cybeth1.cyberdeck.eu:8000",standard:"none",icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"}}],faucets:[],icon:{url:"ipfs://QmTvYMJXeZeWxYPuoQ15mHCS8K5EQzkMMCHQVs3GshooyR",width:193,height:214,format:"png"},infoURL:"https://cyberdeck.eu",name:"CyberdeckNet",nativeCurrency:{name:"Cyb",symbol:"CYB",decimals:18},networkId:1146703430,rpc:["https://1146703430.rpc.thirdweb.com/${THIRDWEB_API_KEY}","http://cybeth1.cyberdeck.eu:8545"],shortName:"cyb",slug:"cyberdecknet",status:"active",testnet:!1},oR0={chain:"wan-red-ain",chainId:1273227453,explorers:[{name:"Blockscout",url:"https://wan-red-ain.explorer.mainnet.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmT5KKrpNt6duU8QfwaYw3xf4ifTBPtjahpWsMi3gsFmcS",width:440,height:600,format:"png"}}],faucets:["https://dashboard.humanprotocol.org/faucet"],infoURL:"https://www.humanprotocol.org",name:"HUMAN Protocol",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1273227453,rpc:["https://1273227453.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/wan-red-ain"],shortName:"human-mainnet",slug:"human-protocol",testnet:!1,title:"HUMAN Protocol"},cR0={chain:"NEAR",chainId:1313161554,explorers:[{name:"aurorascan.dev",url:"https://aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161554,rpc:["https://1313161554.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.aurora.dev","https://aurora.drpc.org","wss://aurora.drpc.org"],shortName:"aurora",slug:"aurora",testnet:!1},dR0={chain:"NEAR",chainId:1313161555,explorers:[{name:"aurorascan.dev",url:"https://testnet.aurorascan.dev",standard:"EIP3091"}],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161555,rpc:["https://1313161555.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.aurora.dev/","https://aurora-testnet.drpc.org","wss://aurora-testnet.drpc.org"],shortName:"aurora-testnet",slip44:1,slug:"aurora-testnet",testnet:!0},lR0={chain:"NEAR",chainId:1313161556,explorers:[],faucets:[],infoURL:"https://aurora.dev",name:"Aurora Betanet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161556,rpc:[],shortName:"aurora-betanet",slug:"aurora-betanet",testnet:!1},pR0={chain:"NEAR",chainId:1313161560,explorers:[{name:"PowerGold explorer",url:"https://explorer.powergold.aurora.dev",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",width:512,height:512,format:"png"},infoURL:"https://www.powergold.tech",name:"PowerGold",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1313161560,rpc:["https://1313161560.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://powergold.aurora.dev"],shortName:"powergold",slug:"powergold",testnet:!1},uR0={chain:"parallel-stormy-spica",chainId:1350216234,explorers:[{name:"Blockscout",url:"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"SKALE Titan Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1350216234,rpc:["https://1350216234.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/parallel-stormy-spica","wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica"],shortName:"titan-mainnet",slug:"skale-titan-hub",testnet:!1},yR0={chain:"staging-fast-active-bellatrix",chainId:1351057110,explorers:[{name:"Blockscout",url:"https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com",standard:"EIP3091",icon:{url:"ipfs://QmbYYCoU2G4LUfRr9ofGowF3eatfvWv9FiPVhqKndZeqwA",width:400,height:400,format:"png"}}],faucets:["https://sfuel.skale.network/staging/chaos"],infoURL:"https://docs.skale.network/develop/",name:"Chaos (SKALE Testnet)",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1351057110,rpc:["https://1351057110.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"],shortName:"chaos-tenet",slip44:1,slug:"chaos-skale-testnet",testnet:!0,title:"Chaos Testnet"},mR0={chain:"Rari",chainId:1380012617,explorers:[{name:"rarichain-explorer",url:"https://mainnet.explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmdAX6818vZ3bAsPRv1DZGrc7qc8XTrgCnRLWrMecixhXb/RARI%20Chain%20Logomark%20Color.png",width:512,height:512,format:"png"},infoURL:"https://rari-mainnet.caldera.dev/",name:"Rari Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1380012617,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://rari.calderabridge.xyz/"}]},redFlags:[],rpc:["https://1380012617.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.rpc.rarichain.org/http","https://rari.calderachain.xyz/http"],shortName:"rari",slug:"rari",testnet:!1},bR0={chain:"RPTR",chainId:1380996178,explorers:[{name:"RaptorChain Explorer",url:"https://explorer.raptorchain.io",standard:"EIP3091",icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"}}],faucets:[],features:[{name:"EIP155"}],icon:{url:"ipfs://QmQuvmiN6vM6Rqzqe1pMzDf8iZXqTtSeqCgGe5k5AyksDU",width:200,height:200,format:"png"},infoURL:"https://raptorchain.io",name:"RaptorChain",nativeCurrency:{name:"Raptor",symbol:"RPTR",decimals:18},networkId:1380996178,rpc:["https://1380996178.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.raptorchain.io/web3"],shortName:"rptr",slug:"raptorchain",testnet:!1},hR0={chain:"juicy-low-small-testnet",chainId:1444673419,explorers:[{name:"Blockscout",url:"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://www.sfuelstation.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1444673419,rpc:["https://1444673419.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.skalenodes.com/v1/juicy-low-small-testnet"],shortName:"europa-testnet",slip44:1,slug:"skale-europa-hub-testnet",testnet:!0,title:"SKALE Europa Hub Testnet"},gR0={chain:"green-giddy-denebola",chainId:1482601649,explorers:[{name:"Blockscout",url:"https://green-giddy-denebola.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.skale.network/"],icon:{url:"ipfs://bafybeic5eexvd34wfy4kuebcyu73qpkv3x57s54ebzjyhyjsmeuni5jwcm",width:500,height:500,format:"png"},infoURL:"https://nebulachain.io/",name:"SKALE Nebula Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1482601649,rpc:["https://1482601649.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/green-giddy-denebola","wss://mainnet-proxy.skalenodes.com/v1/ws/green-giddy-denebola"],shortName:"nebula-mainnet",slug:"skale-nebula-hub",testnet:!1},vR0={chain:"staging-aware-chief-gianfar",chainId:1517929550,explorers:[{name:"Blockscout",url:"https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev/staging"],icon:{url:"ipfs://bafkreiagrt5dhgltg2kmw7hf24kslstr5h42e745luuxwp2wbg24gm6zza",width:500,height:500,format:"png"},name:"Deprecated SKALE Titan Hub Testnet",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1517929550,rpc:["https://1517929550.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar","wss://staging-v3.skalenodes.com/v1/ws/staging-aware-chief-gianfar"],shortName:"deprecated-titan-testnet",slip44:1,slug:"deprecated-skale-titan-hub-testnet",status:"deprecated",testnet:!0},TR0={chain:"honorable-steel-rasalhague",chainId:1564830818,explorers:[{name:"Blockscout",url:"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://sfuel.dirtroad.dev"],icon:{url:"ipfs://bafybeigyayzxvt7vosat4rtrbmhhnldgx57w2pfbutuniax7h6kswzi42m",width:1637,height:1636,format:"png"},infoURL:"https://calypsohub.network/",name:"SKALE Calypso Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:1564830818,rpc:["https://1564830818.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"],shortName:"calypso-mainnet",slug:"skale-calypso-hub",testnet:!1},_R0={chain:"Harmony",chainId:16666e5,ens:{registry:"0x4cd2563118e57b19179d8dc033f2b0c5b5d69ff5"},explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one",standard:"EIP3091"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16666e5,rpc:["https://1666600000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.harmony.one","https://a.api.s0.t.hmny.io","https://api.s0.t.hmny.io","https://rpc.ankr.com/harmony","https://harmony.api.onfinality.io/public","https://1rpc.io/one","https://harmony-0.drpc.org","wss://harmony-0.drpc.org"],shortName:"hmy-s0",slip44:1023,slug:"harmony-shard-0",testnet:!1},wR0={chain:"Harmony",chainId:1666600001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/1",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600001,rpc:["https://1666600001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.t.hmny.io","https://harmony-1.drpc.org","wss://harmony-1.drpc.org"],shortName:"hmy-s1",slip44:1023,slug:"harmony-shard-1",testnet:!1},xR0={chain:"Harmony",chainId:1666600002,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/2",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 2",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600002,rpc:["https://1666600002.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s2.t.hmny.io"],shortName:"hmy-s2",slip44:1023,slug:"harmony-shard-2",status:"deprecated",testnet:!1},IR0={chain:"Harmony",chainId:1666600003,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.harmony.one/blocks/shard/3",standard:"none"}],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Mainnet Shard 3",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666600003,rpc:["https://1666600003.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s3.t.hmny.io"],shortName:"hmy-s3",slip44:1023,slug:"harmony-shard-3",status:"deprecated",testnet:!1},ER0={chain:"Harmony",chainId:16667e5,explorers:[{name:"Harmony Testnet Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"EIP3091"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16667e5,rpc:["https://1666700000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.b.hmny.io"],shortName:"hmy-b-s0",slug:"harmony-testnet-shard-0",testnet:!0},DR0={chain:"Harmony",chainId:1666700001,explorers:[{name:"Harmony Block Explorer",url:"https://explorer.testnet.harmony.one",standard:"none"}],faucets:["https://faucet.pops.one"],infoURL:"https://www.harmony.one/",name:"Harmony Testnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666700001,rpc:["https://1666700001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.b.hmny.io"],shortName:"hmy-b-s1",slug:"harmony-testnet-shard-1",testnet:!0},CR0={chain:"Harmony",chainId:16669e5,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 0",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:16669e5,rpc:["https://1666900000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s0.ps.hmny.io"],shortName:"hmy-ps-s0",slug:"harmony-devnet-shard-0",testnet:!1},SR0={chain:"Harmony",chainId:1666900001,explorers:[],faucets:[],infoURL:"https://www.harmony.one/",name:"Harmony Devnet Shard 1",nativeCurrency:{name:"ONE",symbol:"ONE",decimals:18},networkId:1666900001,rpc:["https://1666900001.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://api.s1.ps.hmny.io"],shortName:"hmy-ps-s1",slug:"harmony-devnet-shard-1",testnet:!1},AR0={chain:"ETH",chainId:1802203764,explorers:[{name:"Kakarot Scan",url:"https://sepolia.kakarotscan.org",standard:"EIP3091"},{name:"Kakarot Explorer",url:"https://sepolia-explorer.kakarot.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmQcB7Q2kqVWhJxXmtN9Ri37rcLH9g6z4UCCYqEzgM3XmW",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1802203764,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:["https://1802203764.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://sepolia-rpc.kakarot.org"],shortName:"kkrt-sepolia",slug:"kakarot-sepolia",testnet:!1},kR0={chain:"Gemuchain",chainId:1903648807,explorers:[{name:"Gemuchain Explorer (Blockscout)",url:"https://gemutest-explorer.gemuchain.io",standard:"EIP3091"},{name:"blockscout",url:"https://gemutest-explorer.gemuchain.io/",standard:"EIP3091"}],faucets:["https://faucet.gemuchain.io/"],features:[],icon:{url:"ipfs://QmSw7QvgrkuykN1ZTr2QQZZjuxbx9CsZDuuTD1cv1hQo8G",width:84,height:84,format:"png"},infoURL:"https://gemuchain.io/",name:"Gemuchain Testnet",nativeCurrency:{name:"GEMU",symbol:"GEMU",decimals:18},networkId:1903648807,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://gemutest-bridge.gemuchain.io/login"}]},redFlags:[],rpc:["https://1903648807.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gemutest-rpc.gemuchain.io/","https://gemutest-rpc.gemuchain.io"],shortName:"GEMU",slug:"gemuchain-testnet",testnet:!0},PR0={chain:"RARI-T",chainId:1918988905,explorers:[{name:"rarichain-testnet-explorer",url:"https://explorer.rarichain.org",standard:"EIP3091"}],faucets:[],features:[],infoURL:"https://rarichain.org/",name:"RARIchain Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:1918988905,redFlags:[],rpc:["https://1918988905.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet.rpc.rarichain.org/http"],shortName:"eth",slug:"rarichain-testnet",testnet:!0},RR0={chain:"LUMIA",chainId:1952959480,explorers:[{name:"Blockscout",url:"https://testnet-explorer.lumia.org/",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"https://docs.lumia.org/~gitbook/image?url=https%3A%2F%2F2350053608-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F9xpHYszlcNFP3MXUQBaJ%252Ficon%252FBDmLzn8yppQZB9K9xw2O%252FLUMIA-Avatar.png%3Falt%3Dmedia%26token%3D61e41c4c-36ae-4e13-b4bf-938ea2336569&width=32&dpr=2&quality=100&sign=2aa69ec019a55d010d6b0a968779d6372f563b9c5330c682de0b1db602328d1e",width:512,height:512,format:"png"},name:"Lumia Testnet",nativeCurrency:{name:"LUMIA",symbol:"LUMIA",decimals:18},networkId:1952959480,redFlags:[],rpc:["https://1952959480.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-rpc.lumia.org"],shortName:"LUMIA",slug:"lumia-testnet",testnet:!0},LR0={chain:"HOP",chainId:2021121117,explorers:[],faucets:[],infoURL:"https://www.DataHopper.com",name:"DataHopper",nativeCurrency:{name:"DataHoppers",symbol:"HOP",decimals:18},networkId:2021121117,rpc:["https://2021121117.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://23.92.21.121:8545"],shortName:"hop",slug:"datahopper",testnet:!1},MR0={chain:"europa",chainId:2046399126,explorers:[{name:"Blockscout",url:"https://elated-tan-skat.explorer.mainnet.skalenodes.com",standard:"EIP3091"}],faucets:["https://ruby.exchange/faucet.html","https://sfuel.mylilius.com/"],icon:{url:"ipfs://bafkreiezcwowhm6xjrkt44cmiu6ml36rhrxx3amcg3cfkcntv2vgcvgbre",width:600,height:600,format:"png"},infoURL:"https://europahub.network/",name:"SKALE Europa Hub",nativeCurrency:{name:"sFUEL",symbol:"sFUEL",decimals:18},networkId:2046399126,parent:{type:"L2",chain:"eip155-1",bridges:[{url:"https://ruby.exchange/bridge.html"}]},rpc:["https://2046399126.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.skalenodes.com/v1/elated-tan-skat","wss://mainnet.skalenodes.com/v1/elated-tan-skat"],shortName:"europa",slug:"skale-europa-hub",testnet:!1},BR0={chain:"Ancient8",chainId:2863311531,explorers:[{name:"a8scan-testnet",url:"https://testnet.a8scan.io",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",width:128,height:128,format:"png"},infoURL:"https://ancient8.gg/",name:"Ancient8 Testnet (deprecated)",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2863311531,rpc:["https://2863311531.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc-testnet.ancient8.gg"],shortName:"a8old",slip44:1,slug:"ancient8-testnet-deprecated",status:"deprecated",testnet:!0},NR0={chain:"PIRL",chainId:3125659152,explorers:[],faucets:[],infoURL:"https://pirl.io",name:"Pirl",nativeCurrency:{name:"Pirl Ether",symbol:"PIRL",decimals:18},networkId:3125659152,rpc:["https://3125659152.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://wallrpc.pirl.io"],shortName:"pirl",slip44:164,slug:"pirl",testnet:!1},FR0={chain:"OLT",chainId:4216137055,explorers:[{name:"OneLedger Block Explorer",url:"https://frankenstein-explorer.oneledger.network",standard:"EIP3091"}],faucets:["https://frankenstein-faucet.oneledger.network"],icon:{url:"ipfs://QmRhqq4Gp8G9w27ND3LeFW49o5PxcxrbJsqHbpBFtzEMfC",width:225,height:225,format:"png"},infoURL:"https://oneledger.io",name:"OneLedger Testnet Frankenstein",nativeCurrency:{name:"OLT",symbol:"OLT",decimals:18},networkId:4216137055,rpc:["https://4216137055.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://frankenstein-rpc.oneledger.network"],shortName:"frankenstein",slip44:1,slug:"oneledger-testnet-frankenstein",testnet:!0},OR0={chain:"Palm",chainId:11297108099,explorers:[{name:"Chainlens",url:"https://testnet.palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm-testnet",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm Testnet",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108099,rpc:["https://11297108099.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-testnet.infura.io/v3/${INFURA_API_KEY}","https://palm-testnet.public.blastapi.io"],shortName:"tpalm",slip44:1,slug:"palm-testnet",testnet:!0},VR0={chain:"Palm",chainId:11297108109,explorers:[{name:"Chainlens",url:"https://palm.chainlens.com",standard:"EIP3091"},{name:"Dora",url:"https://www.ondora.xyz/network/palm",standard:"none"}],faucets:[],icon:{url:"ipfs://bafkreihifvvbq6xzviygveivayogqiotdtpjvilu27bgqobduqemzeq7o4",width:72,height:72,format:"svg"},infoURL:"https://palm.network",name:"Palm",nativeCurrency:{name:"PALM",symbol:"PALM",decimals:18},networkId:11297108109,rpc:["https://11297108109.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://palm-mainnet.infura.io/v3/${INFURA_API_KEY}","https://palm-mainnet.public.blastapi.io"],shortName:"palm",slug:"palm",testnet:!1},$R0={chain:"ETH",chainId:28872323069,explorers:[],faucets:[],icon:{url:"ipfs://bafkreihdfuzytq2og65n3d3b2kzfvk6yywvqdlorrt6h76q4baz5phcvju",width:256,height:256,format:"png"},infoURL:"https://gitswarm.com/",name:"GitSwarm Test Network",nativeCurrency:{name:"GitSwarm Ether",symbol:"GS-ETH",decimals:18},networkId:28872323069,rpc:["https://28872323069.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gitswarm.com:2096"],shortName:"GS-ETH",slip44:1,slug:"gitswarm-test-network",status:"incubating",testnet:!0,title:"GitSwarm Test Network"},UR0={chain:"Xai Sepolia",chainId:37714555429,explorers:[{name:"Blockscout",url:"https://testnet-explorer-v2.xai-chain.net",standard:"EIP3091"}],faucets:[],features:[],icon:{url:"ipfs://QmbWFbhjKw7zfsK5Rd9YxZgJgS43fpySPozjhYc98ibbEV/xai-icon.png",width:1024,height:1024,format:"png"},infoURL:"https://xai.games",name:"Xai Sepolia",nativeCurrency:{name:"sXAI",symbol:"sXAI",decimals:18},networkId:37714555429,parent:{type:"L3",chain:"eip155-1",bridges:[]},redFlags:[],rpc:["https://37714555429.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://testnet-v2.xai-chain.net/rpc"],shortName:"xai-sepolia",slug:"xai-sepolia",testnet:!0},qR0={chain:"Xai Goerli Orbit Testnet",chainId:47279324479,explorers:[],faucets:[],features:[],infoURL:"https://xai.games/",name:"Xai Goerli Orbit",nativeCurrency:{name:"Xai Goerli Ether",symbol:"ETH",decimals:18},networkId:47279324479,redFlags:[],rpc:[],shortName:"xai-goerli",slug:"xai-goerli-orbit",status:"deprecated",testnet:!0},HR0={chain:"ETH",chainId:88153591557,explorers:[{name:"blockscout",url:"https://arb-blueberry.gelatoscout.com",standard:"EIP3091",icon:{url:"ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",width:551,height:540,format:"png"}}],faucets:[],features:[],icon:{url:"ipfs://QmQXw4QEDR4AbUwX9scH7aGhiSDhQRxu6LCQoUkgsYgGyK/Gelato%20brand%20mark.png",width:300,height:300,format:"png"},infoURL:"https://raas.gelato.network/rollups/details/public/arb-blueberry",name:"Arbitrum Blueberry",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:88153591557,parent:{type:"L2",chain:"eip155-421614",bridges:[{url:"https://bridge.gelato.network/bridge/arb-blueberry"}]},redFlags:[],rpc:["https://88153591557.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.arb-blueberry.gelato.digital","wss://ws.arb-blueberry.gelato.digital"],shortName:"arb-blueberry",slip44:60,slug:"arbitrum-blueberry",status:"active",testnet:!0,title:"Arbitrum Blueberry"},zR0={chain:"ETH",chainId:107107114116,explorers:[],faucets:[],icon:{url:"ipfs://QmQcB7Q2kqVWhJxXmtN9Ri37rcLH9g6z4UCCYqEzgM3XmW",width:1e3,height:1e3,format:"png"},infoURL:"https://kakarot.org",name:"Kakarot Sepolia Deprecated",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:107107114116,parent:{type:"L2",chain:"eip155-11155111",bridges:[]},rpc:[],shortName:"kkrt-sepolia-deprecated",slug:"kakarot-sepolia-deprecated",testnet:!1},WR0={chain:"Alphabet Network",chainId:111222333444,explorers:[{name:"Alphabet Explorer",url:"https://scan.alphabetnetwork.org",standard:"EIP3091"}],faucets:[],icon:{url:"ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",width:500,height:500,format:"svg"},infoURL:"https://alphabetnetwork.org",name:"Alphabet Mainnet",nativeCurrency:{name:"ALT",symbol:"ALT",decimals:18},networkId:111222333444,rpc:["https://111222333444.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://londonpublic.alphabetnetwork.org","wss://londonpublic.alphabetnetwork.org/ws/","https://main-rpc.com","wss://main-rpc.com/ws/"],shortName:"alphabet",slug:"alphabet",testnet:!1},jR0={chain:"Ntity",chainId:197710212030,explorers:[{name:"Ntity Blockscout",url:"https://blockscout.ntity.io",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Ntity Mainnet",nativeCurrency:{name:"Ntity",symbol:"NTT",decimals:18},networkId:197710212030,rpc:["https://197710212030.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://rpc.ntity.io"],shortName:"ntt",slug:"ntity",testnet:!1},GR0={chain:"Ntity",chainId:197710212031,explorers:[{name:"Ntity Haradev Blockscout",url:"https://blockscout.haradev.com",standard:"EIP3091",icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"}}],faucets:[],icon:{url:"ipfs://QmSW2YhCvMpnwtPGTJAuEK2QgyWfFjmnwcrapUg6kqFsPf",width:711,height:715,format:"svg"},infoURL:"https://ntity.io",name:"Haradev Testnet",nativeCurrency:{name:"Ntity Haradev",symbol:"NTTH",decimals:18},networkId:197710212031,rpc:["https://197710212031.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://blockchain.haradev.com"],shortName:"ntt-haradev",slip44:1,slug:"haradev-testnet",testnet:!0},KR0={chain:"GM Network Testnet",chainId:202402181627,explorers:[{name:"gmnetwork-testnet",url:"https://gmnetwork-testnet-explorer.alt.technology",standard:"EIP3091"}],faucets:[],infoURL:"https://gmnetwork.ai",name:"GM Network Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:202402181627,rpc:["https://202402181627.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://gmnetwork-testnet.alt.technology/"],shortName:"gmnetwork-testnet",slug:"gm-network-testnet",testnet:!0},QR0={chain:"ZENIQ",chainId:383414847825,explorers:[{name:"zeniq-smart-chain-explorer",url:"https://smart.zeniq.net",standard:"EIP3091"}],faucets:["https://faucet.zeniq.net/"],infoURL:"https://www.zeniq.dev/",name:"Zeniq",nativeCurrency:{name:"Zeniq",symbol:"ZENIQ",decimals:18},networkId:383414847825,rpc:["https://383414847825.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://smart.zeniq.network:9545"],shortName:"zeniq",slug:"zeniq",testnet:!1},YR0={chain:"IPDC",chainId:666301171999,explorers:[{name:"ipdcscan",url:"https://scan.ipdc.io",standard:"EIP3091"}],faucets:[],infoURL:"https://ipdc.io",name:"PDC Mainnet",nativeCurrency:{name:"PDC",symbol:"PDC",decimals:18},networkId:666301171999,rpc:["https://666301171999.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://mainnet.ipdc.io/"],shortName:"ipdc",slug:"pdc",testnet:!1},JR0={chain:"ETH",chainId:6022140761023,explorers:[],faucets:[],infoURL:"https://github.com/Jdubedition/molereum",name:"Molereum Network",nativeCurrency:{name:"Molereum Ether",symbol:"MOLE",decimals:18},networkId:6022140761023,rpc:["https://6022140761023.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://molereum.jdubedition.com"],shortName:"mole",slug:"molereum-network",testnet:!1},XR0={chain:"GWT",chainId:868455272153094,explorers:[{name:"GWScan Block Explorer",url:"https://v1.aggron.gwscan.com",standard:"none"}],faucets:["https://homura.github.io/light-godwoken"],infoURL:"https://www.nervos.org",name:"Godwoken Testnet (V1)",nativeCurrency:{name:"CKB",symbol:"CKB",decimals:8},networkId:868455272153094,rpc:["https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"],shortName:"gw-testnet-v1-deprecated",slip44:1,slug:"godwoken-testnet-v1-gw-testnet-v1-deprecated",status:"deprecated",testnet:!0},ZR0={chain:"ZURA",chainId:2712670149155e3,explorers:[],faucets:[],features:[],icon:{url:"https://bafybeiez6za62lqpt6zoizlzs33poax4fl3czuecvze2peeknuhkrhk5om.ipfs.w3s.link/ZV_mascot_white_trans.png",width:512,height:512,format:"png"},name:"Zuraverse",nativeCurrency:{name:"ZURA",symbol:"ZURA",decimals:18},networkId:2712670149155e3,redFlags:[],rpc:["https://2712670149155000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://zuraverse-2712670149155000-1.jsonrpc.sagarpc.io"],shortName:"ZURA",slug:"zuraverse",testnet:!1},eL0={chain:"dchaint",chainId:2713017997578e3,explorers:[{name:"dchaint scan",url:"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmP2cDWvgMuPgwAAEX9KexowUEjw6q7zCUSsWcb8HdudUH",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN Testnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2713017997578e3,rpc:["https://2713017997578000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"],shortName:"dchaint",slug:"dchain-testnet",testnet:!0,title:"DCHAIN Testnet"},tL0={chain:"dchainmainnet",chainId:2716446429837e3,explorers:[{name:"dchain scan",url:"https://dchain-2716446429837000-1.sagaexplorer.io",standard:"EIP3091"}],faucets:[],features:[{name:"EIP155"},{name:"EIP1559"}],icon:{url:"ipfs://QmamkxtxT1uFWQGxswmzBRkoTcZuU5biM1QvdsU6SD36K6",width:512,height:512,format:"png"},infoURL:"https://www.dchain.foundation/",name:"DCHAIN",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},networkId:2716446429837e3,rpc:["https://2716446429837000.rpc.thirdweb.com/${THIRDWEB_API_KEY}","https://dchain-2716446429837000-1.jsonrpc.sagarpc.io"],shortName:"dchainmainnet",slug:"dchain",testnet:!1,title:"DCHAIN Mainnet"};qo=[cd,iOe,nU,aU,t7,aOe,eOe,rOe,tU,rU,QFe,YFe,JFe,ZFe,nOe,tOe,XFe],nL0=[cd,G00,K00,Q00,Y00,J00,X00,Z00,en0,tU,tn0,nn0,an0,rn0,in0,sn0,fn0,on0,cn0,dn0,ln0,pn0,un0,yn0,mn0,bn0,hn0,gn0,vn0,Tn0,_n0,wn0,xn0,In0,En0,Dn0,Cn0,Sn0,An0,kn0,Pn0,Rn0,Ln0,Mn0,Bn0,Nn0,Fn0,On0,Vn0,$n0,Un0,qn0,Hn0,zn0,Wn0,QFe,jn0,Gn0,Kn0,Qn0,Yn0,Jn0,Xn0,Zn0,ea0,ta0,na0,aa0,ra0,ia0,sa0,fa0,oa0,ca0,da0,la0,pa0,ua0,ya0,ma0,ba0,ha0,ga0,va0,Ta0,_a0,wa0,xa0,Ia0,Ea0,Da0,Ca0,Sa0,Aa0,ka0,Pa0,YFe,Ra0,La0,Ma0,Ba0,Na0,Fa0,Oa0,Va0,$a0,Ua0,qa0,Ha0,za0,Wa0,ja0,Ga0,Ka0,Qa0,Ya0,Ja0,Xa0,Za0,er0,tr0,nr0,ar0,rr0,ir0,sr0,fr0,or0,cr0,dr0,lr0,pr0,ur0,yr0,mr0,t7,br0,hr0,gr0,vr0,Tr0,_r0,wr0,Bie,xr0,Ir0,Er0,Dr0,Cr0,Sr0,Ar0,kr0,Pr0,Rr0,Lr0,Mr0,Br0,Nr0,Fr0,Or0,Vr0,$r0,Ur0,qr0,Hr0,zr0,Wr0,jr0,Gr0,Kr0,Qr0,Yr0,Jr0,Xr0,Zr0,ei0,ti0,ni0,ai0,ri0,ii0,si0,fi0,oi0,ci0,di0,li0,pi0,ui0,yi0,mi0,bi0,hi0,gi0,vi0,Ti0,_i0,wi0,xi0,Ii0,Ei0,Di0,Ci0,Si0,Ai0,ki0,Pi0,Ri0,Li0,Mi0,Bi0,Ni0,Fi0,Oi0,JFe,Vi0,$i0,Ui0,qi0,Hi0,zi0,Wi0,ji0,Gi0,Ki0,Qi0,Yi0,Ji0,Xi0,Zi0,es0,ts0,ns0,as0,rs0,is0,ss0,fs0,os0,cs0,ds0,ls0,ps0,us0,ys0,ms0,bs0,hs0,gs0,vs0,Ts0,_s0,ws0,xs0,Is0,Es0,Ds0,Cs0,Ss0,As0,ks0,Ps0,Rs0,Ls0,Ms0,Bs0,Ns0,Fs0,Os0,Vs0,$s0,Us0,qs0,Hs0,zs0,Ws0,js0,Gs0,Ks0,Qs0,Ys0,Js0,Xs0,Zs0,ef0,tf0,nf0,af0,rf0,if0,sf0,ff0,of0,cf0,df0,lf0,pf0,uf0,yf0,mf0,bf0,hf0,gf0,vf0,Tf0,_f0,wf0,xf0,If0,Ef0,Df0,Cf0,Sf0,Af0,kf0,Pf0,Rf0,Lf0,Mf0,Bf0,Nf0,Ff0,Of0,Vf0,$f0,Uf0,qf0,Hf0,zf0,Wf0,jf0,Gf0,Kf0,Qf0,Yf0,Jf0,Xf0,Zf0,eo0,to0,no0,ao0,ro0,io0,so0,fo0,oo0,co0,do0,lo0,po0,uo0,yo0,mo0,bo0,ho0,go0,vo0,To0,_o0,wo0,xo0,Io0,Eo0,Do0,Co0,So0,Ao0,ko0,Po0,Ro0,Lo0,Mo0,Bo0,No0,Fo0,Oo0,Vo0,$o0,Uo0,qo0,Ho0,zo0,Wo0,jo0,Go0,Ko0,Qo0,Yo0,Jo0,Xo0,Zo0,e10,t10,n10,a10,r10,i10,s10,f10,o10,c10,d10,l10,p10,u10,y10,m10,b10,h10,g10,v10,T10,_10,w10,x10,I10,E10,D10,C10,S10,A10,k10,P10,R10,L10,M10,B10,N10,F10,O10,V10,$10,U10,q10,H10,z10,W10,j10,G10,K10,Q10,Y10,J10,X10,Z10,ec0,tc0,nc0,ac0,rc0,ic0,sc0,fc0,oc0,cc0,dc0,Nie,lc0,pc0,uc0,yc0,mc0,bc0,hc0,gc0,vc0,Tc0,_c0,wc0,xc0,Ic0,Ec0,Dc0,Cc0,Sc0,Ac0,kc0,Pc0,Rc0,Lc0,Mc0,Bc0,Nc0,Fc0,Oc0,Vc0,$c0,Uc0,qc0,Hc0,zc0,Wc0,jc0,Gc0,Kc0,Qc0,Yc0,Jc0,Xc0,Zc0,XFe,ed0,td0,nd0,ad0,rd0,id0,sd0,fd0,od0,cd0,dd0,ld0,pd0,ud0,yd0,md0,bd0,hd0,gd0,vd0,Td0,_d0,wd0,xd0,Id0,Ed0,Dd0,Cd0,Sd0,Ad0,kd0,Pd0,Rd0,Ld0,Md0,Bd0,Nd0,Fd0,Od0,Vd0,$d0,Ud0,qd0,Hd0,zd0,Wd0,jd0,Gd0,Kd0,Qd0,Yd0,Jd0,Xd0,Zd0,e60,t60,n60,a60,r60,i60,s60,f60,o60,c60,d60,l60,p60,u60,y60,m60,b60,h60,g60,v60,T60,_60,w60,x60,I60,E60,D60,C60,S60,A60,k60,P60,R60,L60,M60,B60,N60,F60,O60,V60,$60,U60,q60,H60,z60,W60,j60,G60,K60,Q60,Y60,J60,X60,Z60,el0,tl0,nl0,al0,rl0,il0,sl0,fl0,ol0,cl0,dl0,ll0,pl0,ul0,yl0,ml0,bl0,hl0,gl0,vl0,Tl0,_l0,wl0,xl0,Il0,El0,Dl0,Cl0,Sl0,Al0,kl0,Pl0,Rl0,Ll0,Ml0,Bl0,Nl0,Fl0,Ol0,Vl0,$l0,Ul0,ql0,Hl0,zl0,Wl0,jl0,Gl0,Kl0,Ql0,Yl0,Jl0,Xl0,Zl0,ep0,tp0,np0,ap0,rp0,ip0,sp0,fp0,op0,cp0,dp0,lp0,pp0,up0,yp0,mp0,bp0,hp0,gp0,vp0,Tp0,_p0,wp0,xp0,Ip0,Ep0,Dp0,Cp0,Sp0,Ap0,kp0,Pp0,Rp0,Lp0,Mp0,Bp0,Np0,Fp0,Op0,Vp0,$p0,Up0,qp0,Hp0,zp0,Wp0,jp0,Gp0,Kp0,Qp0,Yp0,Jp0,Xp0,Zp0,e50,t50,n50,a50,r50,i50,s50,f50,o50,c50,d50,l50,p50,u50,y50,m50,b50,h50,g50,v50,T50,_50,w50,x50,I50,E50,D50,C50,S50,A50,k50,P50,R50,L50,M50,B50,N50,F50,O50,V50,$50,U50,q50,H50,z50,W50,j50,G50,K50,Q50,Y50,J50,X50,Z50,eu0,tu0,ZFe,nu0,au0,ru0,iu0,su0,fu0,ou0,cu0,du0,lu0,pu0,uu0,yu0,mu0,bu0,hu0,gu0,vu0,Tu0,_u0,wu0,xu0,Iu0,Eu0,Du0,Cu0,Su0,Au0,ku0,Pu0,Ru0,Lu0,Mu0,Bu0,Nu0,Fu0,Ou0,Vu0,$u0,Uu0,qu0,Hu0,zu0,Wu0,ju0,Gu0,Ku0,Qu0,Yu0,Ju0,Xu0,Zu0,e20,t20,n20,a20,r20,i20,s20,f20,o20,c20,d20,l20,p20,u20,y20,m20,b20,h20,g20,v20,T20,_20,w20,x20,I20,E20,D20,C20,S20,A20,k20,P20,R20,L20,M20,B20,N20,F20,O20,V20,$20,U20,q20,H20,z20,W20,j20,G20,K20,Q20,Y20,J20,X20,Z20,ey0,ty0,ny0,ay0,ry0,iy0,sy0,fy0,oy0,cy0,dy0,ly0,py0,uy0,yy0,my0,by0,hy0,gy0,vy0,Ty0,_y0,wy0,xy0,Iy0,Ey0,Dy0,Cy0,Sy0,Ay0,ky0,Py0,Ry0,Ly0,My0,By0,Ny0,Fy0,Oy0,Vy0,$y0,Uy0,qy0,Hy0,zy0,Wy0,jy0,Gy0,Ky0,Qy0,Yy0,Jy0,Xy0,Zy0,e80,t80,n80,a80,r80,i80,s80,f80,o80,c80,d80,l80,p80,u80,y80,m80,b80,h80,g80,v80,T80,_80,w80,x80,I80,E80,D80,C80,S80,A80,k80,P80,R80,L80,M80,B80,nU,N80,F80,O80,V80,$80,U80,q80,H80,z80,W80,j80,G80,K80,Q80,Y80,J80,X80,Z80,em0,tm0,nm0,am0,rm0,im0,sm0,fm0,om0,cm0,dm0,lm0,pm0,um0,ym0,mm0,bm0,hm0,gm0,vm0,Tm0,_m0,wm0,xm0,Im0,Em0,Dm0,Cm0,Sm0,Am0,km0,Pm0,Rm0,Lm0,Mm0,Bm0,Nm0,Fm0,Om0,Vm0,$m0,Um0,qm0,Hm0,zm0,Wm0,jm0,Gm0,Km0,Qm0,Ym0,Jm0,Xm0,Zm0,e30,t30,n30,a30,r30,i30,s30,f30,o30,c30,d30,l30,p30,u30,y30,m30,b30,h30,g30,v30,T30,_30,w30,x30,I30,E30,D30,C30,S30,A30,k30,P30,R30,L30,M30,B30,N30,F30,O30,V30,$30,U30,q30,H30,z30,W30,j30,G30,K30,Q30,Y30,J30,X30,Z30,e40,t40,n40,a40,r40,i40,s40,f40,o40,c40,d40,l40,p40,u40,y40,m40,b40,h40,g40,v40,T40,_40,w40,x40,I40,E40,D40,C40,S40,A40,k40,P40,R40,L40,M40,B40,N40,F40,O40,V40,$40,U40,q40,H40,z40,W40,j40,G40,K40,Q40,Y40,J40,X40,Z40,eb0,tb0,nb0,ab0,rb0,ib0,sb0,fb0,ob0,cb0,db0,lb0,pb0,ub0,yb0,mb0,bb0,hb0,gb0,vb0,Tb0,_b0,wb0,xb0,Ib0,Eb0,Db0,Cb0,Sb0,Ab0,kb0,Pb0,Rb0,Lb0,Mb0,Bb0,Nb0,Fb0,Ob0,Vb0,$b0,Ub0,qb0,Hb0,zb0,Wb0,jb0,Gb0,Kb0,Qb0,Yb0,Jb0,Xb0,Zb0,eh0,th0,nh0,ah0,rh0,ih0,sh0,fh0,oh0,ch0,dh0,lh0,ph0,uh0,yh0,mh0,bh0,hh0,gh0,vh0,Th0,_h0,wh0,xh0,Ih0,Eh0,Dh0,Ch0,Sh0,Ah0,kh0,Ph0,Rh0,Lh0,Mh0,Bh0,Nh0,Fh0,Oh0,Vh0,$h0,Uh0,qh0,Hh0,zh0,Wh0,jh0,Gh0,Kh0,Qh0,Yh0,Jh0,Xh0,Zh0,e70,t70,n70,a70,r70,i70,s70,f70,o70,c70,d70,l70,p70,u70,y70,m70,b70,h70,g70,v70,T70,_70,w70,x70,I70,E70,D70,C70,S70,A70,k70,P70,R70,L70,M70,B70,N70,F70,O70,V70,$70,U70,q70,H70,z70,W70,j70,G70,K70,Q70,Y70,J70,X70,Z70,e90,t90,n90,a90,r90,i90,s90,f90,o90,c90,d90,l90,p90,u90,y90,m90,b90,h90,g90,v90,T90,_90,w90,x90,I90,E90,D90,C90,S90,A90,k90,P90,R90,L90,M90,B90,N90,F90,O90,V90,$90,U90,q90,H90,z90,W90,j90,G90,K90,Q90,Y90,J90,X90,Z90,eg0,tg0,eOe,ng0,CS,ag0,rg0,ig0,sg0,fg0,og0,cg0,dg0,lg0,pg0,ug0,tOe,nOe,yg0,mg0,bg0,hg0,gg0,vg0,Tg0,_g0,SS,wg0,xg0,Ig0,Eg0,Dg0,Cg0,Sg0,Ag0,kg0,Pg0,Rg0,Lg0,Mg0,Bg0,Ng0,Fg0,Og0,Vg0,$g0,Ug0,qg0,Hg0,zg0,Wg0,jg0,Gg0,Kg0,Qg0,Yg0,Jg0,Xg0,Zg0,ev0,tv0,nv0,av0,rv0,iv0,sv0,fv0,ov0,cv0,dv0,lv0,pv0,uv0,yv0,mv0,bv0,hv0,gv0,vv0,Tv0,_v0,wv0,xv0,Iv0,Ev0,Dv0,Cv0,Sv0,Av0,kv0,Pv0,Rv0,Lv0,Mv0,Bv0,Nv0,Fv0,Ov0,Vv0,$v0,Uv0,qv0,Hv0,zv0,Wv0,jv0,Gv0,Kv0,Qv0,Yv0,Jv0,Xv0,Zv0,eT0,tT0,nT0,aT0,rT0,iT0,sT0,fT0,oT0,cT0,dT0,lT0,pT0,uT0,yT0,mT0,bT0,hT0,gT0,vT0,TT0,_T0,wT0,xT0,IT0,ET0,DT0,CT0,ST0,AT0,kT0,PT0,RT0,LT0,MT0,BT0,NT0,FT0,OT0,VT0,$T0,UT0,qT0,HT0,Fie,zT0,WT0,jT0,GT0,KT0,QT0,YT0,JT0,XT0,ZT0,e_0,t_0,n_0,a_0,r_0,i_0,s_0,f_0,o_0,c_0,d_0,l_0,p_0,u_0,y_0,m_0,b_0,h_0,g_0,v_0,T_0,__0,w_0,x_0,I_0,E_0,D_0,C_0,S_0,A_0,k_0,P_0,R_0,L_0,M_0,B_0,N_0,F_0,O_0,V_0,$_0,U_0,q_0,H_0,z_0,W_0,j_0,G_0,K_0,Q_0,Y_0,J_0,X_0,Z_0,ew0,tw0,nw0,aw0,rw0,iw0,sw0,fw0,ow0,cw0,dw0,lw0,pw0,uw0,yw0,mw0,bw0,hw0,gw0,vw0,Tw0,_w0,ww0,xw0,Iw0,Ew0,Dw0,Cw0,Sw0,Aw0,kw0,Pw0,Rw0,Lw0,Mw0,Bw0,Nw0,Fw0,Ow0,Vw0,$w0,Uw0,qw0,Hw0,zw0,Ww0,jw0,Gw0,aOe,Oie,Kw0,Qw0,Yw0,Jw0,Xw0,Zw0,ex0,tx0,nx0,ax0,rx0,ix0,sx0,fx0,ox0,cx0,dx0,lx0,px0,ux0,yx0,mx0,bx0,hx0,gx0,vx0,Tx0,_x0,wx0,xx0,Ix0,Ex0,Dx0,Cx0,aU,Sx0,Ax0,kx0,Px0,Rx0,Lx0,Mx0,Bx0,Nx0,Fx0,Ox0,Vx0,$x0,Ux0,qx0,Hx0,zx0,Wx0,jx0,Gx0,Kx0,Qx0,Yx0,Jx0,Xx0,Zx0,eI0,tI0,nI0,aI0,rI0,iI0,sI0,fI0,oI0,cI0,dI0,lI0,pI0,uI0,yI0,mI0,bI0,hI0,gI0,vI0,TI0,_I0,wI0,xI0,II0,EI0,DI0,CI0,SI0,AI0,kI0,PI0,RI0,LI0,MI0,BI0,NI0,FI0,OI0,VI0,$I0,UI0,qI0,HI0,zI0,WI0,jI0,GI0,KI0,QI0,YI0,JI0,XI0,ZI0,eE0,tE0,nE0,aE0,rE0,iE0,sE0,fE0,oE0,cE0,dE0,lE0,pE0,uE0,yE0,mE0,bE0,hE0,gE0,vE0,TE0,_E0,wE0,xE0,IE0,EE0,DE0,CE0,SE0,AE0,kE0,PE0,RE0,LE0,ME0,BE0,NE0,FE0,OE0,VE0,$E0,UE0,qE0,HE0,zE0,WE0,jE0,GE0,KE0,QE0,YE0,JE0,XE0,ZE0,eD0,tD0,nD0,aD0,rD0,iD0,sD0,fD0,oD0,cD0,dD0,lD0,pD0,uD0,yD0,mD0,bD0,hD0,gD0,vD0,TD0,_D0,wD0,xD0,ID0,ED0,DD0,CD0,SD0,AD0,kD0,PD0,RD0,LD0,MD0,BD0,ND0,FD0,OD0,VD0,$D0,UD0,qD0,HD0,zD0,WD0,jD0,GD0,KD0,QD0,YD0,JD0,XD0,ZD0,eC0,tC0,nC0,aC0,rC0,iC0,sC0,fC0,oC0,cC0,dC0,lC0,pC0,uC0,yC0,mC0,bC0,hC0,gC0,vC0,TC0,_C0,wC0,xC0,IC0,EC0,DC0,CC0,SC0,AC0,kC0,PC0,RC0,LC0,MC0,BC0,NC0,FC0,OC0,VC0,$C0,UC0,qC0,HC0,zC0,WC0,jC0,GC0,KC0,rOe,QC0,YC0,JC0,XC0,ZC0,eS0,tS0,nS0,aS0,rS0,iS0,sS0,fS0,oS0,cS0,dS0,lS0,pS0,uS0,yS0,mS0,bS0,hS0,gS0,vS0,TS0,_S0,wS0,xS0,IS0,ES0,DS0,CS0,SS0,AS0,kS0,PS0,RS0,LS0,MS0,BS0,NS0,FS0,OS0,VS0,$S0,US0,qS0,HS0,zS0,WS0,jS0,GS0,KS0,QS0,YS0,JS0,XS0,ZS0,eA0,tA0,nA0,aA0,rA0,iA0,sA0,fA0,oA0,cA0,dA0,lA0,pA0,uA0,yA0,mA0,bA0,hA0,gA0,vA0,TA0,_A0,wA0,xA0,IA0,EA0,DA0,CA0,SA0,AA0,kA0,PA0,RA0,LA0,MA0,BA0,NA0,FA0,OA0,VA0,$A0,UA0,qA0,HA0,zA0,WA0,jA0,GA0,KA0,QA0,YA0,JA0,XA0,ZA0,ek0,tk0,nk0,ak0,rk0,ik0,sk0,fk0,ok0,ck0,dk0,lk0,pk0,uk0,yk0,mk0,bk0,hk0,gk0,vk0,Tk0,_k0,wk0,xk0,Ik0,Ek0,Dk0,Ck0,Sk0,Ak0,kk0,Pk0,Rk0,Lk0,Mk0,Vie,Bk0,Nk0,Fk0,Ok0,Vk0,$k0,Uk0,qk0,Hk0,zk0,Wk0,jk0,Gk0,iOe,rU,Kk0,Qk0,Yk0,Jk0,Xk0,Zk0,eP0,tP0,nP0,aP0,rP0,iP0,sP0,fP0,oP0,cP0,dP0,lP0,pP0,uP0,yP0,mP0,bP0,hP0,gP0,vP0,TP0,_P0,wP0,xP0,IP0,EP0,DP0,CP0,SP0,AP0,kP0,PP0,RP0,LP0,MP0,BP0,NP0,FP0,OP0,VP0,$P0,UP0,qP0,HP0,zP0,WP0,jP0,GP0,KP0,QP0,YP0,JP0,XP0,ZP0,eR0,tR0,nR0,aR0,rR0,$ie,iR0,sR0,fR0,oR0,cR0,dR0,lR0,pR0,uR0,yR0,mR0,bR0,hR0,gR0,vR0,TR0,_R0,wR0,xR0,IR0,ER0,DR0,CR0,SR0,AR0,kR0,PR0,RR0,LR0,MR0,BR0,NR0,FR0,OR0,VR0,$R0,UR0,qR0,HR0,zR0,WR0,jR0,GR0,KR0,QR0,YR0,JR0,XR0,ZR0,eL0,tL0]});function rL0(n){return n instanceof Uint8Array||n!=null&&typeof n=="object"&&n.constructor.name==="Uint8Array"}function Uie(n,...e){if(!rL0(n))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(n.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${n.length}`)}function qie(n,e=!0){if(n.destroyed)throw new Error("Hash instance has been destroyed");if(e&&n.finished)throw new Error("Hash#digest() has already been called")}function oOe(n,e){Uie(n);let t=e.outputLen;if(n.length{p();u()});function iL0(n){if(typeof n!="string")throw new Error(`utf8ToBytes expected string, got ${typeof n}`);return new Uint8Array(new TextEncoder().encode(n))}function zie(n){return typeof n=="string"&&(n=iL0(n)),Uie(n),n}function cOe(n){let e=a=>n().update(zie(a)).digest(),t=n();return e.outputLen=t.outputLen,e.blockLen=t.blockLen,e.create=()=>n(),e}var sU,Gl,fta,iU,ota,Wie=ce(()=>{p();u();Hie();sU=n=>new DataView(n.buffer,n.byteOffset,n.byteLength),Gl=(n,e)=>n<<32-e|n>>>e,fta=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;iU=class{clone(){return this._cloneInto()}},ota={}.toString});function sL0(n,e,t,a){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,a);let r=BigInt(32),i=BigInt(4294967295),s=Number(t>>r&i),f=Number(t&i),o=a?4:0,c=a?0:4;n.setUint32(e+o,s,a),n.setUint32(e+c,f,a)}var dOe,lOe,fU,pOe=ce(()=>{p();u();Hie();Wie();dOe=(n,e,t)=>n&e^~n&t,lOe=(n,e,t)=>n&e^n&t^e&t,fU=class extends iU{constructor(e,t,a,r){super(),this.blockLen=e,this.outputLen=t,this.padOffset=a,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=sU(this.buffer)}update(e){qie(this);let{view:t,buffer:a,blockLen:r}=this;e=zie(e);let i=e.length;for(let s=0;sr-s&&(this.process(a,0),s=0);for(let l=s;ld.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l{p();u();pOe();Wie();fL0=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Um=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),qm=new Uint32Array(64),jie=class extends fU{constructor(){super(64,32,8,!1),this.A=Um[0]|0,this.B=Um[1]|0,this.C=Um[2]|0,this.D=Um[3]|0,this.E=Um[4]|0,this.F=Um[5]|0,this.G=Um[6]|0,this.H=Um[7]|0}get(){let{A:e,B:t,C:a,D:r,E:i,F:s,G:f,H:o}=this;return[e,t,a,r,i,s,f,o]}set(e,t,a,r,i,s,f,o){this.A=e|0,this.B=t|0,this.C=a|0,this.D=r|0,this.E=i|0,this.F=s|0,this.G=f|0,this.H=o|0}process(e,t){for(let l=0;l<16;l++,t+=4)qm[l]=e.getUint32(t,!1);for(let l=16;l<64;l++){let y=qm[l-15],h=qm[l-2],T=Gl(y,7)^Gl(y,18)^y>>>3,A=Gl(h,17)^Gl(h,19)^h>>>10;qm[l]=A+qm[l-7]+T+qm[l-16]|0}let{A:a,B:r,C:i,D:s,E:f,F:o,G:c,H:d}=this;for(let l=0;l<64;l++){let y=Gl(f,6)^Gl(f,11)^Gl(f,25),h=d+y+dOe(f,o,c)+fL0[l]+qm[l]|0,A=(Gl(a,2)^Gl(a,13)^Gl(a,22))+lOe(a,r,i)|0;d=c,c=o,o=f,f=s+h|0,s=i,i=r,r=a,a=h+A|0}a=a+this.A|0,r=r+this.B|0,i=i+this.C|0,s=s+this.D|0,f=f+this.E|0,o=o+this.F|0,c=c+this.G|0,d=d+this.H|0,this.set(a,r,i,s,f,o,c,d)}roundClean(){qm.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},uOe=cOe(()=>new jie)});var mOe=B((wta,oU)=>{p();u();(function(){"use strict";var n="input is invalid type",e="finalize already called",t=typeof window=="object",a=t?window:{};a.JS_SHA3_NO_WINDOW&&(t=!1);var r=!t&&typeof self=="object",i=!a.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;i?a=global:r&&(a=self);for(var s=!a.JS_SHA3_NO_COMMON_JS&&typeof oU=="object"&&oU.exports,f=typeof define=="function"&&define.amd,o=!a.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],y=[1,256,65536,16777216],h=[6,1536,393216,100663296],T=[0,8,16,24],A=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],N=[128,256],U=["hex","buffer","arrayBuffer","array","digest"],q={128:168,256:136},W=a.JS_SHA3_NO_NODE_JS||!Array.isArray?function(Q){return Object.prototype.toString.call(Q)==="[object Array]"}:Array.isArray,G=o&&(a.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)?function(Q){return typeof Q=="object"&&Q.buffer&&Q.buffer.constructor===ArrayBuffer}:ArrayBuffer.isView,X=function(Q){var ie=typeof Q;if(ie==="string")return[Q,!0];if(ie!=="object"||Q===null)throw new Error(n);if(o&&Q.constructor===ArrayBuffer)return[new Uint8Array(Q),!1];if(!W(Q)&&!G(Q))throw new Error(n);return[Q,!1]},J=function(Q){return X(Q)[0].length===0},j=function(Q){for(var ie=[],se=0;se>5,this.byteCount=this.blockCount<<2,this.outputBlocks=se>>5,this.extraBytes=(se&31)>>3;for(var be=0;be<50;++be)this.s[be]=0}ee.prototype.update=function(Q){if(this.finalized)throw new Error(e);var ie=X(Q);Q=ie[0];for(var se=ie[1],be=this.blocks,de=this.byteCount,we=Q.length,Oe=this.blockCount,Se=0,it=this.s,qe,Me;Se>2]|=Me<>2]|=(192|Me>>6)<>2]|=(128|Me&63)<=57344?(be[qe>>2]|=(224|Me>>12)<>2]|=(128|Me>>6&63)<>2]|=(128|Me&63)<>2]|=(240|Me>>18)<>2]|=(128|Me>>12&63)<>2]|=(128|Me>>6&63)<>2]|=(128|Me&63)<>2]|=Q[Se]<=de){for(this.start=qe-de,this.block=be[Oe],qe=0;qe>8,se=Q&255;se>0;)de.unshift(se),Q=Q>>8,se=Q&255,++be;return ie?de.push(be):de.unshift(be),this.update(de),de.length},ee.prototype.encodeString=function(Q){var ie=X(Q);Q=ie[0];var se=ie[1],be=0,de=Q.length;if(se)for(var we=0;we=57344?be+=3:(Oe=65536+((Oe&1023)<<10|Q.charCodeAt(++we)&1023),be+=4)}else be=de;return be+=this.encode(be*8),this.update(Q),be},ee.prototype.bytepad=function(Q,ie){for(var se=this.encode(ie),be=0;be>2]|=this.padding[ie&3],this.lastByteIndex===this.byteCount)for(Q[0]=Q[se],ie=1;ie>4&15]+c[Se&15]+c[Se>>12&15]+c[Se>>8&15]+c[Se>>20&15]+c[Se>>16&15]+c[Se>>28&15]+c[Se>>24&15];we%Q===0&&(ie=j(ie),pe(ie),de=0)}return be&&(Se=ie[de],Oe+=c[Se>>4&15]+c[Se&15],be>1&&(Oe+=c[Se>>12&15]+c[Se>>8&15]),be>2&&(Oe+=c[Se>>20&15]+c[Se>>16&15])),Oe},ee.prototype.arrayBuffer=function(){this.finalize();var Q=this.blockCount,ie=this.s,se=this.outputBlocks,be=this.extraBytes,de=0,we=0,Oe=this.outputBits>>3,Se;be?Se=new ArrayBuffer(se+1<<2):Se=new ArrayBuffer(Oe);for(var it=new Uint32Array(Se);we>8&255,Oe[Se+2]=it>>16&255,Oe[Se+3]=it>>24&255;we%Q===0&&(ie=j(ie),pe(ie))}return be&&(Se=we<<2,it=ie[de],Oe[Se]=it&255,be>1&&(Oe[Se+1]=it>>8&255),be>2&&(Oe[Se+2]=it>>16&255)),Oe};function ae(Q,ie,se){ee.call(this,Q,ie,se)}ae.prototype=new ee,ae.prototype.finalize=function(){return this.encode(this.outputBits,!0),ee.prototype.finalize.call(this)};var pe=function(Q){var ie,se,be,de,we,Oe,Se,it,qe,Me,mt,kt,je,Et,Ct,rt,Pt,Dt,We,Lt,$t,Qe,Ft,Ut,et,ue,me,_e,Be,Fe,Le,ct,ot,$e,wt,It,Ge,qt,Nt,Ve,xt,Ht,tt,Qt,Gt,st,zt,Zt,ft,Xt,_0,Kt,v0,Cn,Sn,An,kn,Pn,ka,nr,Pa,ar,za;for(be=0;be<48;be+=2)de=Q[0]^Q[10]^Q[20]^Q[30]^Q[40],we=Q[1]^Q[11]^Q[21]^Q[31]^Q[41],Oe=Q[2]^Q[12]^Q[22]^Q[32]^Q[42],Se=Q[3]^Q[13]^Q[23]^Q[33]^Q[43],it=Q[4]^Q[14]^Q[24]^Q[34]^Q[44],qe=Q[5]^Q[15]^Q[25]^Q[35]^Q[45],Me=Q[6]^Q[16]^Q[26]^Q[36]^Q[46],mt=Q[7]^Q[17]^Q[27]^Q[37]^Q[47],kt=Q[8]^Q[18]^Q[28]^Q[38]^Q[48],je=Q[9]^Q[19]^Q[29]^Q[39]^Q[49],ie=kt^(Oe<<1|Se>>>31),se=je^(Se<<1|Oe>>>31),Q[0]^=ie,Q[1]^=se,Q[10]^=ie,Q[11]^=se,Q[20]^=ie,Q[21]^=se,Q[30]^=ie,Q[31]^=se,Q[40]^=ie,Q[41]^=se,ie=de^(it<<1|qe>>>31),se=we^(qe<<1|it>>>31),Q[2]^=ie,Q[3]^=se,Q[12]^=ie,Q[13]^=se,Q[22]^=ie,Q[23]^=se,Q[32]^=ie,Q[33]^=se,Q[42]^=ie,Q[43]^=se,ie=Oe^(Me<<1|mt>>>31),se=Se^(mt<<1|Me>>>31),Q[4]^=ie,Q[5]^=se,Q[14]^=ie,Q[15]^=se,Q[24]^=ie,Q[25]^=se,Q[34]^=ie,Q[35]^=se,Q[44]^=ie,Q[45]^=se,ie=it^(kt<<1|je>>>31),se=qe^(je<<1|kt>>>31),Q[6]^=ie,Q[7]^=se,Q[16]^=ie,Q[17]^=se,Q[26]^=ie,Q[27]^=se,Q[36]^=ie,Q[37]^=se,Q[46]^=ie,Q[47]^=se,ie=Me^(de<<1|we>>>31),se=mt^(we<<1|de>>>31),Q[8]^=ie,Q[9]^=se,Q[18]^=ie,Q[19]^=se,Q[28]^=ie,Q[29]^=se,Q[38]^=ie,Q[39]^=se,Q[48]^=ie,Q[49]^=se,Et=Q[0],Ct=Q[1],st=Q[11]<<4|Q[10]>>>28,zt=Q[10]<<4|Q[11]>>>28,_e=Q[20]<<3|Q[21]>>>29,Be=Q[21]<<3|Q[20]>>>29,nr=Q[31]<<9|Q[30]>>>23,Pa=Q[30]<<9|Q[31]>>>23,Ht=Q[40]<<18|Q[41]>>>14,tt=Q[41]<<18|Q[40]>>>14,$e=Q[2]<<1|Q[3]>>>31,wt=Q[3]<<1|Q[2]>>>31,rt=Q[13]<<12|Q[12]>>>20,Pt=Q[12]<<12|Q[13]>>>20,Zt=Q[22]<<10|Q[23]>>>22,ft=Q[23]<<10|Q[22]>>>22,Fe=Q[33]<<13|Q[32]>>>19,Le=Q[32]<<13|Q[33]>>>19,ar=Q[42]<<2|Q[43]>>>30,za=Q[43]<<2|Q[42]>>>30,Cn=Q[5]<<30|Q[4]>>>2,Sn=Q[4]<<30|Q[5]>>>2,It=Q[14]<<6|Q[15]>>>26,Ge=Q[15]<<6|Q[14]>>>26,Dt=Q[25]<<11|Q[24]>>>21,We=Q[24]<<11|Q[25]>>>21,Xt=Q[34]<<15|Q[35]>>>17,_0=Q[35]<<15|Q[34]>>>17,ct=Q[45]<<29|Q[44]>>>3,ot=Q[44]<<29|Q[45]>>>3,Ut=Q[6]<<28|Q[7]>>>4,et=Q[7]<<28|Q[6]>>>4,An=Q[17]<<23|Q[16]>>>9,kn=Q[16]<<23|Q[17]>>>9,qt=Q[26]<<25|Q[27]>>>7,Nt=Q[27]<<25|Q[26]>>>7,Lt=Q[36]<<21|Q[37]>>>11,$t=Q[37]<<21|Q[36]>>>11,Kt=Q[47]<<24|Q[46]>>>8,v0=Q[46]<<24|Q[47]>>>8,Qt=Q[8]<<27|Q[9]>>>5,Gt=Q[9]<<27|Q[8]>>>5,ue=Q[18]<<20|Q[19]>>>12,me=Q[19]<<20|Q[18]>>>12,Pn=Q[29]<<7|Q[28]>>>25,ka=Q[28]<<7|Q[29]>>>25,Ve=Q[38]<<8|Q[39]>>>24,xt=Q[39]<<8|Q[38]>>>24,Qe=Q[48]<<14|Q[49]>>>18,Ft=Q[49]<<14|Q[48]>>>18,Q[0]=Et^~rt&Dt,Q[1]=Ct^~Pt&We,Q[10]=Ut^~ue&_e,Q[11]=et^~me&Be,Q[20]=$e^~It&qt,Q[21]=wt^~Ge&Nt,Q[30]=Qt^~st&Zt,Q[31]=Gt^~zt&ft,Q[40]=Cn^~An&Pn,Q[41]=Sn^~kn&ka,Q[2]=rt^~Dt&Lt,Q[3]=Pt^~We&$t,Q[12]=ue^~_e&Fe,Q[13]=me^~Be&Le,Q[22]=It^~qt&Ve,Q[23]=Ge^~Nt&xt,Q[32]=st^~Zt&Xt,Q[33]=zt^~ft&_0,Q[42]=An^~Pn&nr,Q[43]=kn^~ka&Pa,Q[4]=Dt^~Lt&Qe,Q[5]=We^~$t&Ft,Q[14]=_e^~Fe&ct,Q[15]=Be^~Le&ot,Q[24]=qt^~Ve&Ht,Q[25]=Nt^~xt&tt,Q[34]=Zt^~Xt&Kt,Q[35]=ft^~_0&v0,Q[44]=Pn^~nr&ar,Q[45]=ka^~Pa&za,Q[6]=Lt^~Qe&Et,Q[7]=$t^~Ft&Ct,Q[16]=Fe^~ct&Ut,Q[17]=Le^~ot&et,Q[26]=Ve^~Ht&$e,Q[27]=xt^~tt&wt,Q[36]=Xt^~Kt&Qt,Q[37]=_0^~v0&Gt,Q[46]=nr^~ar&Cn,Q[47]=Pa^~za&Sn,Q[8]=Qe^~Et&rt,Q[9]=Ft^~Ct&Pt,Q[18]=ct^~Ut&ue,Q[19]=ot^~et&me,Q[28]=Ht^~$e&It,Q[29]=tt^~wt&Ge,Q[38]=Kt^~Qt&st,Q[39]=v0^~Gt&zt,Q[48]=ar^~Cn&An,Q[49]=za^~Sn&kn,Q[0]^=A[be],Q[1]^=A[be+1]};if(s)oU.exports=g;else{for(k=0;kr+i.length,0));let t=new Uint8Array(e),a=0;for(let r of n)Xie(r),t.set(r,a),a+=r.length;return t}function mL0(n){if(typeof n!="string")throw new TypeError(`Expected \`string\`, got \`${typeof n}\``)}function bL0(n){return n.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function hL0(n){return n.replaceAll("-","+").replaceAll("_","/")}function vL0(n){let{urlSafe:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Xie(n);let t;if(n.lengthe.codePointAt(0))}function _L0(n){Xie(n);let e="";for(let t=0;t3&&arguments[3]!==void 0?arguments[3]:{},s=await cU(),{key:f,iv:o}=await DL0(t,n,a,r,i);try{let c=await s.subtle.decrypt({name:"AES-CBC",iv:o},f,e);return vOe().decode(c)}catch{throw new Error("Decrypt failed")}}function EL0(n){let e=null,t=TOe(n),[a,r]=Yie(t,wL0*4),i=new DataView(a.buffer);return i.getInt32(0)===1398893684&&i.getInt32(4)===1701076831&&([e,t]=Yie(r,xL0*4)),{ciphertext:t,salt:e}}async function DL0(n,e,t,a,r){let i=await cU(),s=Jie().encode(n),f=CL0(s,e,t+a,r),[o,c]=Yie(f,t*4);return{key:await i.subtle.importKey("raw",o,"AES-CBC",!1,["decrypt"]),iv:c}}function CL0(n,e,t,a){let r=new Uint8Array,i=new Uint8Array;for(;r.byteLength{"use strict";p();u();yOe();oL0=Te(mOe()),Gie=class{get encoder(){return this._encoder||(this._encoder=new TextEncoder),this._encoder}get decoder(){return this._decoder||(this._decoder=new TextDecoder),this._decoder}},gOe=new Gie;bOe="input is invalid type",cL0="finalize already called",dL0=[128,32768,8388608,-2147483648];Kie=class{constructor(){Z(this,"lastByteIndex",0);let e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e),this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}update(e){if(this.finalized)throw new Error(cL0);let[t,a]=lL0(e),r=this.blocks,i=0;ArrayBuffer.isView(t)?i=t.byteLength:i=t.length;let s,f=0,o,c=this.buffer8;for(;f>>6,c[o++]=128|s&63):s<55296||s>=57344?(c[o++]=224|s>>>12,c[o++]=128|s>>>6&63,c[o++]=128|s&63):(s=65536+((s&1023)<<10|t.charCodeAt(++f)&1023),c[o++]=240|s>>>18,c[o++]=128|s>>>12&63,c[o++]=128|s>>>6&63,c[o++]=128|s&63);else for(o=this.start;f=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}finalize(){if(this.finalized)return;this.finalized=!0;let e=this.blocks,t=this.lastByteIndex;e[t>>>2]|=dL0[t&3],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}hash(){let e=this.blocks,t,a,r,i,s,f;this.first?(t=e[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,i=(-1732584194^t&2004318071)+e[1]-117830708,i=(i<<12|i>>>20)+t<<0,r=(-271733879^i&(t^-271733879))+e[2]-1126478375,r=(r<<17|r>>>15)+i<<0,a=(t^r&(i^t))+e[3]-1316259209,a=(a<<22|a>>>10)+r<<0):(t=this.h0,a=this.h1,r=this.h2,i=this.h3,t+=(i^a&(r^i))+e[0]-680876936,t=(t<<7|t>>>25)+a<<0,i+=(r^t&(a^r))+e[1]-389564586,i=(i<<12|i>>>20)+t<<0,r+=(a^i&(t^a))+e[2]+606105819,r=(r<<17|r>>>15)+i<<0,a+=(t^r&(i^t))+e[3]-1044525330,a=(a<<22|a>>>10)+r<<0),t+=(i^a&(r^i))+e[4]-176418897,t=(t<<7|t>>>25)+a<<0,i+=(r^t&(a^r))+e[5]+1200080426,i=(i<<12|i>>>20)+t<<0,r+=(a^i&(t^a))+e[6]-1473231341,r=(r<<17|r>>>15)+i<<0,a+=(t^r&(i^t))+e[7]-45705983,a=(a<<22|a>>>10)+r<<0,t+=(i^a&(r^i))+e[8]+1770035416,t=(t<<7|t>>>25)+a<<0,i+=(r^t&(a^r))+e[9]-1958414417,i=(i<<12|i>>>20)+t<<0,r+=(a^i&(t^a))+e[10]-42063,r=(r<<17|r>>>15)+i<<0,a+=(t^r&(i^t))+e[11]-1990404162,a=(a<<22|a>>>10)+r<<0,t+=(i^a&(r^i))+e[12]+1804603682,t=(t<<7|t>>>25)+a<<0,i+=(r^t&(a^r))+e[13]-40341101,i=(i<<12|i>>>20)+t<<0,r+=(a^i&(t^a))+e[14]-1502002290,r=(r<<17|r>>>15)+i<<0,a+=(t^r&(i^t))+e[15]+1236535329,a=(a<<22|a>>>10)+r<<0,t+=(r^i&(a^r))+e[1]-165796510,t=(t<<5|t>>>27)+a<<0,i+=(a^r&(t^a))+e[6]-1069501632,i=(i<<9|i>>>23)+t<<0,r+=(t^a&(i^t))+e[11]+643717713,r=(r<<14|r>>>18)+i<<0,a+=(i^t&(r^i))+e[0]-373897302,a=(a<<20|a>>>12)+r<<0,t+=(r^i&(a^r))+e[5]-701558691,t=(t<<5|t>>>27)+a<<0,i+=(a^r&(t^a))+e[10]+38016083,i=(i<<9|i>>>23)+t<<0,r+=(t^a&(i^t))+e[15]-660478335,r=(r<<14|r>>>18)+i<<0,a+=(i^t&(r^i))+e[4]-405537848,a=(a<<20|a>>>12)+r<<0,t+=(r^i&(a^r))+e[9]+568446438,t=(t<<5|t>>>27)+a<<0,i+=(a^r&(t^a))+e[14]-1019803690,i=(i<<9|i>>>23)+t<<0,r+=(t^a&(i^t))+e[3]-187363961,r=(r<<14|r>>>18)+i<<0,a+=(i^t&(r^i))+e[8]+1163531501,a=(a<<20|a>>>12)+r<<0,t+=(r^i&(a^r))+e[13]-1444681467,t=(t<<5|t>>>27)+a<<0,i+=(a^r&(t^a))+e[2]-51403784,i=(i<<9|i>>>23)+t<<0,r+=(t^a&(i^t))+e[7]+1735328473,r=(r<<14|r>>>18)+i<<0,a+=(i^t&(r^i))+e[12]-1926607734,a=(a<<20|a>>>12)+r<<0,s=a^r,t+=(s^i)+e[5]-378558,t=(t<<4|t>>>28)+a<<0,i+=(s^t)+e[8]-2022574463,i=(i<<11|i>>>21)+t<<0,f=i^t,r+=(f^a)+e[11]+1839030562,r=(r<<16|r>>>16)+i<<0,a+=(f^r)+e[14]-35309556,a=(a<<23|a>>>9)+r<<0,s=a^r,t+=(s^i)+e[1]-1530992060,t=(t<<4|t>>>28)+a<<0,i+=(s^t)+e[4]+1272893353,i=(i<<11|i>>>21)+t<<0,f=i^t,r+=(f^a)+e[7]-155497632,r=(r<<16|r>>>16)+i<<0,a+=(f^r)+e[10]-1094730640,a=(a<<23|a>>>9)+r<<0,s=a^r,t+=(s^i)+e[13]+681279174,t=(t<<4|t>>>28)+a<<0,i+=(s^t)+e[0]-358537222,i=(i<<11|i>>>21)+t<<0,f=i^t,r+=(f^a)+e[3]-722521979,r=(r<<16|r>>>16)+i<<0,a+=(f^r)+e[6]+76029189,a=(a<<23|a>>>9)+r<<0,s=a^r,t+=(s^i)+e[9]-640364487,t=(t<<4|t>>>28)+a<<0,i+=(s^t)+e[12]-421815835,i=(i<<11|i>>>21)+t<<0,f=i^t,r+=(f^a)+e[15]+530742520,r=(r<<16|r>>>16)+i<<0,a+=(f^r)+e[2]-995338651,a=(a<<23|a>>>9)+r<<0,t+=(r^(a|~i))+e[0]-198630844,t=(t<<6|t>>>26)+a<<0,i+=(a^(t|~r))+e[7]+1126891415,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~a))+e[14]-1416354905,r=(r<<15|r>>>17)+i<<0,a+=(i^(r|~t))+e[5]-57434055,a=(a<<21|a>>>11)+r<<0,t+=(r^(a|~i))+e[12]+1700485571,t=(t<<6|t>>>26)+a<<0,i+=(a^(t|~r))+e[3]-1894986606,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~a))+e[10]-1051523,r=(r<<15|r>>>17)+i<<0,a+=(i^(r|~t))+e[1]-2054922799,a=(a<<21|a>>>11)+r<<0,t+=(r^(a|~i))+e[8]+1873313359,t=(t<<6|t>>>26)+a<<0,i+=(a^(t|~r))+e[15]-30611744,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~a))+e[6]-1560198380,r=(r<<15|r>>>17)+i<<0,a+=(i^(r|~t))+e[13]+1309151649,a=(a<<21|a>>>11)+r<<0,t+=(r^(a|~i))+e[4]-145523070,t=(t<<6|t>>>26)+a<<0,i+=(a^(t|~r))+e[11]-1120210379,i=(i<<10|i>>>22)+t<<0,r+=(t^(i|~a))+e[2]+718787259,r=(r<<15|r>>>17)+i<<0,a+=(i^(r|~t))+e[9]-343485551,a=(a<<21|a>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=a-271733879<<0,this.h2=r-1732584194<<0,this.h3=i+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+a<<0,this.h2=this.h2+r<<0,this.h3=this.h3+i<<0)}arrayBuffer(){this.finalize();let e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e}};pL0=Object.prototype.toString,uL0="[object Uint8Array]";gL0=65535;TL0=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));wL0=2,xL0=2});function at(n,e){if(!n){if(kL0)throw new Error(Zie);var t=typeof e=="function"?e():e,a=t?"".concat(Zie,": ").concat(t):Zie;throw new Error(a)}}var kL0,Zie,Ga=ce(()=>{p();u();kL0=E.env.NODE_ENV==="production",Zie="Invariant failed"});var IOe=B((Lta,xOe)=>{"use strict";p();u();function PL0(n){if(n.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),t=0;t>>0,q=new Uint8Array(U);O!==N;){for(var W=h[O],G=0,X=U-1;(W!==0||G>>0,q[X]=W%s>>>0,W=W/s>>>0;if(W!==0)throw new Error("Non-zero carry");A=G,O++}for(var J=U-A;J!==U&&q[J]===0;)J++;for(var j=f.repeat(T);J>>0,U=new Uint8Array(N);h[T];){var q=e[h.charCodeAt(T)];if(q===255)return;for(var W=0,G=N-1;(q!==0||W>>0,U[G]=q%256>>>0,q=q/256>>>0;if(q!==0)throw new Error("Non-zero carry");O=W,T++}for(var X=N-O;X!==N&&U[X]===0;)X++;for(var J=new Uint8Array(A+(N-X)),j=A;X!==N;)J[j++]=U[X++];return J}function y(h){var T=l(h);if(T)return T;throw new Error("Non-base"+s+" character")}return{encode:d,decodeUnsafe:l,decode:y}}xOe.exports=PL0});var zf=B((Nta,EOe)=>{p();u();var RL0=IOe(),LL0="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";EOe.exports=RL0(LL0)});var COe,DOe=ce(()=>{COe=[{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var ese,SOe=ce(()=>{ese=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var kOe,AOe=ce(()=>{kOe=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var tse,POe=ce(()=>{tse=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var nse,ROe=ce(()=>{nse=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var D1=B((zta,VL0)=>{VL0.exports=[{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"who",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var MOe,LOe=ce(()=>{MOe=[{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"}]});var ase,BOe=ce(()=>{ase=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var pU,NOe=ce(()=>{pU=[{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"}]});var OOe,FOe=ce(()=>{OOe=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var rse=B((Qta,zL0)=>{zL0.exports=[{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var $Oe,VOe=ce(()=>{$Oe=[{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"}]});var qOe,UOe=ce(()=>{qOe=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ise,HOe=ce(()=>{ise=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var WOe,zOe=ce(()=>{WOe=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"encryptedBaseURI",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var y_=B((e0a,QL0)=>{QL0.exports=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var GOe,jOe=ce(()=>{GOe=[{type:"function",name:"tokenByIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var QOe,KOe=ce(()=>{QOe=[{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"balance",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"explicitOwnershipOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct IERC721AUpgradeable.TokenOwnership",components:[{name:"addr",type:"address",internalType:"address"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"burned",type:"bool",internalType:"bool"},{name:"extraData",type:"uint24",internalType:"uint24"}]}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"operator",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"owner",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokensOfOwner",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"tokensOfOwnerIn",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"start",type:"uint256",internalType:"uint256"},{name:"stop",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ConsecutiveTransfer",inputs:[{name:"fromTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"toTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"InvalidQueryRange",inputs:[]},{type:"error",name:"MintERC2309QuantityExceedsLimit",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"OwnershipNotInitializedForExtraData",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var JOe,YOe=ce(()=>{JOe=[{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var AS,XOe=ce(()=>{AS=[{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"},{name:"extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var sse,ZOe=ce(()=>{sse=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var tVe,eVe=ce(()=>{tVe=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var aVe,nVe=ce(()=>{aVe=[{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"}]});var iVe,rVe=ce(()=>{iVe=[{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getMetadataForAllTiers",inputs:[],outputs:[{name:"metadataForAllTiers",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TierMetadata[]",components:[{name:"tier",type:"string",internalType:"string"},{name:"ranges",type:"tuple[]",internalType:"struct LazyMintWithTier_V1.TokenRange[]",components:[{name:"startIdInclusive",type:"uint256",internalType:"uint256"},{name:"endIdNonInclusive",type:"uint256",internalType:"uint256"}]},{name:"baseURIs",type:"string[]",internalType:"string[]"}]}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_tier",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"TokensLazyMinted",inputs:[{name:"tier",type:"string",indexed:!0,internalType:"string"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}]});var fVe,sVe=ce(()=>{fVe=[{type:"function",name:"setSharedMetadata",inputs:[{name:"_metadata",type:"tuple",internalType:"struct ISharedMetadata.SharedMetadataInfo",components:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"sharedMetadata",inputs:[],outputs:[{name:"name",type:"string",internalType:"string"},{name:"description",type:"string",internalType:"string"},{name:"imageURI",type:"string",internalType:"string"},{name:"animationURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SharedMetadataUpdated",inputs:[{name:"name",type:"string",indexed:!1,internalType:"string"},{name:"description",type:"string",indexed:!1,internalType:"string"},{name:"imageURI",type:"string",indexed:!1,internalType:"string"},{name:"animationURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var cVe,oVe=ce(()=>{cVe=[{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"Access_MissingRoleOrAdmin",type:"error"},{inputs:[],name:"Access_OnlyAdmin",type:"error"},{inputs:[],name:"Access_WithdrawNotAllowed",type:"error"},{inputs:[{internalType:"address",name:"proposedAddress",type:"address"}],name:"Admin_InvalidUpgradeAddress",type:"error"},{inputs:[],name:"Admin_UnableToFinalizeNotOpenEdition",type:"error"},{inputs:[],name:"ExternalMetadataRenderer_CallFailed",type:"error"},{inputs:[],name:"InvalidMintSchedule",type:"error"},{inputs:[],name:"MarketFilterDAOAddressNotSupportedForChain",type:"error"},{inputs:[],name:"MintFee_FundsSendFailure",type:"error"},{inputs:[],name:"Mint_SoldOut",type:"error"},{inputs:[{internalType:"address",name:"operator",type:"address"}],name:"OperatorNotAllowed",type:"error"},{inputs:[],name:"Presale_Inactive",type:"error"},{inputs:[],name:"Presale_MerkleNotApproved",type:"error"},{inputs:[],name:"Presale_TooManyForAddress",type:"error"},{inputs:[],name:"Purchase_TooManyForAddress",type:"error"},{inputs:[{internalType:"uint256",name:"correctPrice",type:"uint256"}],name:"Purchase_WrongPrice",type:"error"},{inputs:[],name:"RemoteOperatorFilterRegistryCallFailed",type:"error"},{inputs:[],name:"Sale_Inactive",type:"error"},{inputs:[{internalType:"uint16",name:"maxRoyaltyBPS",type:"uint16"}],name:"Setup_RoyaltyPercentageTooHigh",type:"error"},{inputs:[],name:"Withdraw_FundsSendFailure",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"newAddress",type:"address"},{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"FundsRecipientChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"withdrawnBy",type:"address"},{indexed:!0,internalType:"address",name:"withdrawnTo",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"},{indexed:!1,internalType:"address",name:"feeRecipient",type:"address"},{indexed:!1,internalType:"uint256",name:"feeAmount",type:"uint256"}],name:"FundsWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"tokenContract",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!1,internalType:"string",name:"comment",type:"string"}],name:"MintComment",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"mintFeeAmount",type:"uint256"},{indexed:!1,internalType:"address",name:"mintFeeRecipient",type:"address"},{indexed:!1,internalType:"bool",name:"success",type:"bool"}],name:"MintFeePayout",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"numberOfMints",type:"uint256"}],name:"OpenMintFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"quantity",type:"uint256"},{indexed:!0,internalType:"uint256",name:"pricePerToken",type:"uint256"},{indexed:!1,internalType:"uint256",name:"firstPurchasedTokenId",type:"uint256"}],name:"Sale",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"changedBy",type:"address"}],name:"SalesConfigChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"contract IMetadataRenderer",name:"renderer",type:"address"}],name:"UpdatedMetadataRenderer",type:"event"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"quantity",type:"uint256"}],name:"adminMint",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"to",type:"address[]"}],name:"adminMintAirdrop",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"isAdmin",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"minter",type:"address"}],name:"mintedPerAddress",outputs:[{components:[{internalType:"uint256",name:"totalMints",type:"uint256"},{internalType:"uint256",name:"presaleMints",type:"uint256"},{internalType:"uint256",name:"publicMints",type:"uint256"}],internalType:"struct IERC721Drop.AddressMintDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"}],name:"purchase",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"uint256",name:"quantity",type:"uint256"},{internalType:"uint256",name:"maxQuantity",type:"uint256"},{internalType:"uint256",name:"pricePerToken",type:"uint256"},{internalType:"bytes32[]",name:"merkleProof",type:"bytes32[]"}],name:"purchasePresale",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"payable",type:"function"},{inputs:[],name:"saleDetails",outputs:[{components:[{internalType:"bool",name:"publicSaleActive",type:"bool"},{internalType:"bool",name:"presaleActive",type:"bool"},{internalType:"uint256",name:"publicSalePrice",type:"uint256"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"},{internalType:"uint256",name:"maxSalePurchasePerAddress",type:"uint256"},{internalType:"uint256",name:"totalMinted",type:"uint256"},{internalType:"uint256",name:"maxSupply",type:"uint256"}],internalType:"struct IERC721Drop.SaleDetails",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IMetadataRenderer",name:"newRenderer",type:"address"},{internalType:"bytes",name:"setupRenderer",type:"bytes"}],name:"setMetadataRenderer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint104",name:"publicSalePrice",type:"uint104"},{internalType:"uint32",name:"maxSalePurchasePerAddress",type:"uint32"},{internalType:"uint64",name:"publicSaleStart",type:"uint64"},{internalType:"uint64",name:"publicSaleEnd",type:"uint64"},{internalType:"uint64",name:"presaleStart",type:"uint64"},{internalType:"uint64",name:"presaleEnd",type:"uint64"},{internalType:"bytes32",name:"presaleMerkleRoot",type:"bytes32"}],name:"setSaleConfiguration",outputs:[],stateMutability:"nonpayable",type:"function"}]});var lVe,dVe=ce(()=>{lVe=[{type:"function",name:"cancel",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"revoke",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var fse,pVe=ce(()=>{fse=[{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var ose=B((u0a,oM0)=>{oM0.exports=[{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var yVe,uVe=ce(()=>{yVe=[{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"}]});var bVe,mVe=ce(()=>{bVe=[{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"view"},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var gVe,hVe=ce(()=>{gVe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var cse,vVe=ce(()=>{cse=[{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"amount",type:"uint256",internalType:"uint256"},{name:"baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var _Ve,TVe=ce(()=>{_Ve=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var xVe,wVe=ce(()=>{xVe=[{type:"function",name:"claim",inputs:[{name:"receiver",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase1155_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setClaimConditions",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"phase",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var m_=B((T0a,mM0)=>{mM0.exports=[{type:"function",name:"balanceOf",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"_owners",type:"address[]",internalType:"address[]"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"isApprovedForAll",inputs:[{name:"_owner",type:"address",internalType:"address"},{name:"_operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_ids",type:"uint256[]",internalType:"uint256[]"},{name:"_values",type:"uint256[]",internalType:"uint256[]"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_id",type:"uint256",internalType:"uint256"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"_operator",type:"address",internalType:"address"},{name:"_approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ApprovalForAll",inputs:[{name:"_owner",type:"address",indexed:!0,internalType:"address"},{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"_values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"_operator",type:"address",indexed:!0,internalType:"address"},{name:"_from",type:"address",indexed:!0,internalType:"address"},{name:"_to",type:"address",indexed:!0,internalType:"address"},{name:"_id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"_value",type:"string",indexed:!1,internalType:"string"},{name:"_id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var dse=B((_0a,bM0)=>{bM0.exports=[{type:"function",name:"uri",inputs:[{name:"_id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}]});var EVe,IVe=ce(()=>{EVe=[{type:"function",name:"totalSupply",inputs:[{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var CVe,DVe=ce(()=>{CVe=[{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"}]});var lse,SVe=ce(()=>{lse=[{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var kVe,AVe=ce(()=>{kVe=[{type:"function",name:"mintWithSignature",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var RVe,PVe=ce(()=>{RVe=[{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});var MVe,LVe=ce(()=>{MVe=[{type:"function",name:"appURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setAppURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AppURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var NVe,BVe=ce(()=>{NVe=[{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});var OVe,FVe=ce(()=>{OVe=[{type:"function",name:"approveBuyerForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyer",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approveCurrencyForListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerTokenInCurrency",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"buyFromListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_expectedTotalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getAllValidListings",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listings",type:"tuple[]",internalType:"struct IDirectListings.Listing[]",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"getListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[{name:"listing",type:"tuple",internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_params",type:"tuple",internalType:"struct IDirectListings.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"reserved",type:"bool",internalType:"bool"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"BuyerApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"buyer",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"CancelledListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CurrencyApprovedForListing",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"currency",type:"address",indexed:!0,internalType:"address"},{name:"pricePerToken",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"UpdatedListing",inputs:[{name:"listingCreator",type:"address",indexed:!0,internalType:"address"},{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IDirectListings.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"},{name:"listingCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IDirectListings.TokenType"},{name:"status",type:"uint8",internalType:"enum IDirectListings.Status"},{name:"reserved",type:"bool",internalType:"bool"}]}],anonymous:!1}]});var $Ve,VVe=ce(()=>{$Ve=[{type:"function",name:"bidInAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionPayout",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"collectAuctionTokens",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"createAuction",inputs:[{name:"_params",type:"tuple",internalType:"struct IEnglishAuctions.AuctionParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"}]}],outputs:[{name:"auctionId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"getAllAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidAuctions",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auctions",type:"tuple[]",internalType:"struct IEnglishAuctions.Auction[]",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getAuction",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"auction",type:"tuple",internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],stateMutability:"view"},{type:"function",name:"getWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"bidder",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"bidAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isAuctionExpired",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isNewWinningBid",inputs:[{name:"_auctionId",type:"uint256",internalType:"uint256"},{name:"_bidAmount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"AuctionClosed",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"CancelledAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewAuction",inputs:[{name:"auctionCreator",type:"address",indexed:!0,internalType:"address"},{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1},{type:"event",name:"NewBid",inputs:[{name:"auctionId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"bidder",type:"address",indexed:!0,internalType:"address"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"bidAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"auction",type:"tuple",indexed:!1,internalType:"struct IEnglishAuctions.Auction",components:[{name:"auctionId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"minimumBidAmount",type:"uint256",internalType:"uint256"},{name:"buyoutBidAmount",type:"uint256",internalType:"uint256"},{name:"timeBufferInSeconds",type:"uint64",internalType:"uint64"},{name:"bidBufferBps",type:"uint64",internalType:"uint64"},{name:"startTimestamp",type:"uint64",internalType:"uint64"},{name:"endTimestamp",type:"uint64",internalType:"uint64"},{name:"auctionCreator",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IEnglishAuctions.TokenType"},{name:"status",type:"uint8",internalType:"enum IEnglishAuctions.Status"}]}],anonymous:!1}]});var qVe,UVe=ce(()=>{qVe=[{type:"function",name:"acceptOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"cancelOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getAllValidOffers",inputs:[{name:"_startId",type:"uint256",internalType:"uint256"},{name:"_endId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offers",type:"tuple[]",internalType:"struct IOffers.Offer[]",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"getOffer",inputs:[{name:"_offerId",type:"uint256",internalType:"uint256"}],outputs:[{name:"offer",type:"tuple",internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],stateMutability:"view"},{type:"function",name:"makeOffer",inputs:[{name:"_params",type:"tuple",internalType:"struct IOffers.OfferParams",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"offerId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"AcceptedOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"seller",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"CancelledOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"offerId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"offer",type:"tuple",indexed:!1,internalType:"struct IOffers.Offer",components:[{name:"offerId",type:"uint256",internalType:"uint256"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"totalPrice",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"currency",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum IOffers.TokenType"},{name:"status",type:"uint8",internalType:"enum IOffers.Status"}]}],anonymous:!1}]});var uU,pse=ce(()=>{uU=[{type:"function",name:"canClaimRewards",inputs:[{name:"_opener",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"claimRewards",inputs:[],outputs:[{name:"rewardUnits",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"createPack",inputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"packUri",type:"string",internalType:"string"},{name:"openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"openPack",inputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"requestId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"openPackAndClaimRewards",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"},{name:"_callBackGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpenRequested",inputs:[{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"amountToOpen",type:"uint256",indexed:!1,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackRandomnessFulfilled",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"requestId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var zVe,HVe=ce(()=>{zVe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var jVe,WVe=ce(()=>{jVe=[{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var KVe,GVe=ce(()=>{KVe=[{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var YVe,QVe=ce(()=>{YVe=[{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var XVe,JVe=ce(()=>{XVe=[{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"recipient",type:"address",internalType:"address"},{name:"bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var e$e,ZVe=ce(()=>{e$e=[{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"OwnableUnauthorized",inputs:[]}]});var n$e,t$e=ce(()=>{n$e=[{type:"function",name:"airdropERC20",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC20.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"payable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var r$e,a$e=ce(()=>{r$e=[{type:"function",name:"airdropERC721",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC721.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var s$e,i$e=ce(()=>{s$e=[{type:"function",name:"airdropERC1155",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"contents",type:"tuple[]",internalType:"struct IAirdropERC1155.AirdropContent[]",components:[{name:"recipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AirdropFailed",inputs:[{name:"tokenAddress",type:"address",indexed:!0,internalType:"address"},{name:"tokenOwner",type:"address",indexed:!0,internalType:"address"},{name:"recipient",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}]});var o$e,f$e=ce(()=>{o$e=[{type:"function",name:"accountImplementation",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createAccount",inputs:[{name:"admin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"account",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"getAccountsOfSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"accounts",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAddress",inputs:[{name:"adminSigner",type:"address",internalType:"address"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllAccounts",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"event",name:"AccountCreated",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"accountAdmin",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerAdded",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"SignerRemoved",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"signer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var d$e,c$e=ce(()=>{d$e=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var p$e,l$e=ce(()=>{p$e=[{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"admins",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions_V1.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"permissions",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"setAdmin",inputs:[{name:"account",type:"address",internalType:"address"},{name:"isAdmin",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions_V1.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});var y$e,u$e=ce(()=>{y$e=[{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"}]});var yU=B((j0a,UM0)=>{UM0.exports=[{type:"constructor",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getAllPublishedContracts",inputs:[{name:"_publisher",type:"address",internalType:"address"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple",internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedContractVersions",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[{name:"published",type:"tuple[]",internalType:"struct IContractPublisher.CustomContractInstance[]",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPublishedUriFromCompilerUri",inputs:[{name:"compilerMetadataUri",type:"string",internalType:"string"}],outputs:[{name:"publishedMetadataUris",type:"string[]",internalType:"string[]"}],stateMutability:"view"},{type:"function",name:"getPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"}],outputs:[{name:"uri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isPaused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"prevPublisher",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IContractPublisher"}],stateMutability:"view"},{type:"function",name:"publishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"},{name:"_publishMetadataUri",type:"string",internalType:"string"},{name:"_compilerMetadataUri",type:"string",internalType:"string"},{name:"_bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPause",inputs:[{name:"_pause",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrevPublisher",inputs:[{name:"_prevPublisher",type:"address",internalType:"contract IContractPublisher"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPublisherProfileUri",inputs:[{name:"publisher",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"unpublishContract",inputs:[{name:"_publisher",type:"address",internalType:"address"},{name:"_contractId",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"ContractPublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"publishedContract",type:"tuple",indexed:!1,internalType:"struct IContractPublisher.CustomContractInstance",components:[{name:"contractId",type:"string",internalType:"string"},{name:"publishTimestamp",type:"uint256",internalType:"uint256"},{name:"publishMetadataUri",type:"string",internalType:"string"},{name:"bytecodeHash",type:"bytes32",internalType:"bytes32"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractUnpublished",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"contractId",type:"string",indexed:!0,internalType:"string"}],anonymous:!1},{type:"event",name:"Paused",inputs:[{name:"isPaused",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"PublisherProfileUpdated",inputs:[{name:"publisher",type:"address",indexed:!0,internalType:"address"},{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var use=B((G0a,qM0)=>{qM0.exports=[{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"}]});var yse=B((K0a,HM0)=>{HM0.exports=[{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_msgData",inputs:[],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"_msgSender",inputs:[],outputs:[{name:"sender",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"metadataUri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"deploymentCount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"allDeployments",type:"tuple[]",internalType:"struct ITWMultichainRegistry.Deployment[]",components:[{name:"deploymentAddress",type:"address",internalType:"address"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"metadataURI",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getMetadataUri",inputs:[{name:"_chainId",type:"uint256",internalType:"uint256"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[{name:"metadataUri",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"},{name:"_chainId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"metadataUri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"},{name:"chainId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}]});var kS=B((Q0a,zM0)=>{zM0.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"function",name:"getNonce",inputs:[{name:"from",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"req",type:"tuple",internalType:"struct Forwarder.ForwardRequest",components:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gas",type:"uint256",internalType:"uint256"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"error",name:"InvalidShortString",inputs:[]},{type:"error",name:"StringTooLong",inputs:[{name:"str",type:"string",internalType:"string"}]}]});var b$e=B((Y0a,m$e)=>{"use strict";p();u();function WM0(n){if(n.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),t=0;t>>0,q=new Uint8Array(U);O!==N;){for(var W=h[O],G=0,X=U-1;(W!==0||G>>0,q[X]=W%s>>>0,W=W/s>>>0;if(W!==0)throw new Error("Non-zero carry");A=G,O++}for(var J=U-A;J!==U&&q[J]===0;)J++;for(var j=f.repeat(T);J>>0,U=new Uint8Array(N);h[T];){var q=e[h.charCodeAt(T)];if(q===255)return;for(var W=0,G=N-1;(q!==0||W>>0,U[G]=q%256>>>0,q=q/256>>>0;if(q!==0)throw new Error("Non-zero carry");O=W,T++}if(h[T]!==" "){for(var X=N-O;X!==N&&U[X]===0;)X++;for(var J=new Uint8Array(A+(N-X)),j=A;X!==N;)J[j++]=U[X++];return J}}}function y(h){var T=l(h);if(T)return T;throw new Error("Non-base"+s+" character")}return{encode:d,decodeUnsafe:l,decode:y}}m$e.exports=WM0});var mU=B((Z0a,h$e)=>{"use strict";p();u();var jM0=new TextDecoder,GM0=n=>jM0.decode(n),KM0=new TextEncoder,QM0=n=>KM0.encode(n);function YM0(n,e){let t=new Uint8Array(e),a=0;for(let r of n)t.set(r,a),a+=r.length;return t}h$e.exports={decodeText:GM0,encodeText:QM0,concat:YM0}});var v$e=B((nna,g$e)=>{"use strict";p();u();var{encodeText:JM0}=mU(),mse=class{constructor(e,t,a,r){this.name=e,this.code=t,this.codeBuf=JM0(this.code),this.alphabet=r,this.codec=a(r)}encode(e){return this.codec.encode(e)}decode(e){for(let t of e)if(this.alphabet&&this.alphabet.indexOf(t)<0)throw new Error(`invalid character '${t}' in '${e}'`);return this.codec.decode(e)}};g$e.exports=mse});var _$e=B((ina,T$e)=>{"use strict";p();u();var XM0=(n,e,t)=>{let a={};for(let c=0;c=8&&(s-=8,i[o++]=255&f>>s)}if(s>=t||255&f<<8-s)throw new SyntaxError("Unexpected end of data");return i},ZM0=(n,e,t)=>{let a=e[e.length-1]==="=",r=(1<t;)s-=t,i+=e[r&f>>s];if(s&&(i+=e[r&f<e=>({encode(t){return ZM0(t,e,n)},decode(t){return XM0(t,e,n)}});T$e.exports={rfc4648:eB0}});var E$e=B((ona,I$e)=>{"use strict";p();u();var PS=b$e(),tB0=v$e(),{rfc4648:Wf}=_$e(),{decodeText:nB0,encodeText:aB0}=mU(),rB0=()=>({encode:nB0,decode:aB0}),w$e=[["identity","\0",rB0,""],["base2","0",Wf(1),"01"],["base8","7",Wf(3),"01234567"],["base10","9",PS,"0123456789"],["base16","f",Wf(4),"0123456789abcdef"],["base16upper","F",Wf(4),"0123456789ABCDEF"],["base32hex","v",Wf(5),"0123456789abcdefghijklmnopqrstuv"],["base32hexupper","V",Wf(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV"],["base32hexpad","t",Wf(5),"0123456789abcdefghijklmnopqrstuv="],["base32hexpadupper","T",Wf(5),"0123456789ABCDEFGHIJKLMNOPQRSTUV="],["base32","b",Wf(5),"abcdefghijklmnopqrstuvwxyz234567"],["base32upper","B",Wf(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"],["base32pad","c",Wf(5),"abcdefghijklmnopqrstuvwxyz234567="],["base32padupper","C",Wf(5),"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="],["base32z","h",Wf(5),"ybndrfg8ejkmcpqxot1uwisza345h769"],["base36","k",PS,"0123456789abcdefghijklmnopqrstuvwxyz"],["base36upper","K",PS,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["base58btc","z",PS,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base58flickr","Z",PS,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base64","m",Wf(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",Wf(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",Wf(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",Wf(6),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],x$e=w$e.reduce((n,e)=>(n[e[0]]=new tB0(e[0],e[1],e[2],e[3]),n),{}),iB0=w$e.reduce((n,e)=>(n[e[1]]=x$e[e[0]],n),{});I$e.exports={names:x$e,codes:iB0}});var RS=B((sy,C$e)=>{"use strict";p();u();var b_=E$e(),{encodeText:sB0,decodeText:bU,concat:D$e}=mU();function fB0(n,e){if(!e)throw new Error("requires an encoded Uint8Array");let{name:t,codeBuf:a}=n7(n);return lB0(t,e),D$e([a,e],a.length+e.length)}function oB0(n,e){let t=n7(n),a=sB0(t.encode(e));return D$e([t.codeBuf,a],t.codeBuf.length+a.length)}function cB0(n){n instanceof Uint8Array&&(n=bU(n));let e=n[0];return["f","F","v","V","t","T","b","B","c","C","h","k","K"].includes(e)&&(n=n.toLowerCase()),n7(n[0]).decode(n.substring(1))}function dB0(n){if(n instanceof Uint8Array&&(n=bU(n)),Object.prototype.toString.call(n)!=="[object String]")return!1;try{return n7(n[0]).name}catch{return!1}}function lB0(n,e){n7(n).decode(bU(e))}function n7(n){if(Object.prototype.hasOwnProperty.call(b_.names,n))return b_.names[n];if(Object.prototype.hasOwnProperty.call(b_.codes,n))return b_.codes[n];throw new Error(`Unsupported encoding: ${n}`)}function pB0(n){return n instanceof Uint8Array&&(n=bU(n)),n7(n[0])}sy=C$e.exports=fB0;sy.encode=oB0;sy.decode=cB0;sy.isEncoded=dB0;sy.encoding=n7;sy.encodingFromData=pB0;var uB0=Object.freeze(b_.names),yB0=Object.freeze(b_.codes);sy.names=uB0;sy.codes=yB0});var P$e=B((una,k$e)=>{p();u();k$e.exports=A$e;var S$e=128,mB0=127,bB0=~mB0,hB0=Math.pow(2,31);function A$e(n,e,t){e=e||[],t=t||0;for(var a=t;n>=hB0;)e[t++]=n&255|S$e,n/=128;for(;n&bB0;)e[t++]=n&255|S$e,n>>>=7;return e[t]=n|0,A$e.bytes=t-a+1,e}});var M$e=B((bna,L$e)=>{p();u();L$e.exports=bse;var gB0=128,R$e=127;function bse(n,a){var t=0,a=a||0,r=0,i=a,s,f=n.length;do{if(i>=f)throw bse.bytes=0,new RangeError("Could not decode varint");s=n[i++],t+=r<28?(s&R$e)<=gB0);return bse.bytes=i-a,t}});var N$e=B((vna,B$e)=>{p();u();var vB0=Math.pow(2,7),TB0=Math.pow(2,14),_B0=Math.pow(2,21),wB0=Math.pow(2,28),xB0=Math.pow(2,35),IB0=Math.pow(2,42),EB0=Math.pow(2,49),DB0=Math.pow(2,56),CB0=Math.pow(2,63);B$e.exports=function(n){return n{p();u();F$e.exports={encode:P$e(),decode:M$e(),encodingLength:N$e()}});var $$e=B((Ena,V$e)=>{"use strict";p();u();var SB0=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,"murmur3-128":34,"murmur3-32":35,"dbl-sha2-256":86,md4:212,md5:213,bmt:214,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082});V$e.exports={names:SB0}});var MS=B((Sna,j$e)=>{"use strict";p();u();var U$e=RS(),h_=O$e(),{names:LS}=$$e(),{toString:hU}=(f_(),yi(h$)),{fromString:AB0}=(cS(),yi(tie)),{concat:kB0}=(n_(),yi(f$)),g_={};for(let n in LS){let e=n;g_[LS[e]]=e}Object.freeze(g_);function PB0(n){if(!(n instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return hU(n,"base16")}function RB0(n){return AB0(n,"base16")}function LB0(n){if(!(n instanceof Uint8Array))throw new Error("must be passed a Uint8Array");return hU(U$e.encode("base58btc",n)).slice(1)}function MB0(n){let e=n instanceof Uint8Array?hU(n):n;return U$e.decode("z"+e)}function q$e(n){if(!(n instanceof Uint8Array))throw new Error("multihash must be a Uint8Array");if(n.length<2)throw new Error("multihash too short. must be > 2 bytes.");let e=h_.decode(n);if(!z$e(e))throw new Error(`multihash unknown function code: 0x${e.toString(16)}`);n=n.slice(h_.decode.bytes);let t=h_.decode(n);if(t<0)throw new Error(`multihash invalid length: ${t}`);if(n=n.slice(h_.decode.bytes),n.length!==t)throw new Error(`multihash length inconsistent: 0x${hU(n,"base16")}`);return{code:e,name:g_[e],length:t,digest:n}}function BB0(n,e,t){if(!n||e===void 0)throw new Error("multihash encode requires at least two args: digest, code");let a=H$e(e);if(!(n instanceof Uint8Array))throw new Error("digest should be a Uint8Array");if(t==null&&(t=n.length),t&&n.length!==t)throw new Error("digest length should be equal to specified length.");let r=h_.encode(a),i=h_.encode(t);return kB0([r,i,n],r.length+i.length+n.length)}function H$e(n){let e=n;if(typeof n=="string"){if(LS[n]===void 0)throw new Error(`Unrecognized hash function named: ${n}`);e=LS[n]}if(typeof e!="number")throw new Error(`Hash function code should be a number. Got: ${e}`);if(g_[e]===void 0&&!hse(e))throw new Error(`Unrecognized function code: ${e}`);return e}function hse(n){return n>0&&n<16}function z$e(n){return!!(hse(n)||g_[n])}function W$e(n){q$e(n)}function NB0(n){return W$e(n),n.subarray(0,2)}j$e.exports={names:LS,codes:g_,toHexString:PB0,fromHexString:RB0,toB58String:LB0,fromB58String:MB0,decode:q$e,encode:BB0,coerceCode:H$e,isAppCode:hse,validate:W$e,prefix:NB0,isValidCode:z$e}});var Q$e=B((Pna,K$e)=>{p();u();K$e.exports=gse;var G$e=128,FB0=127,OB0=~FB0,VB0=Math.pow(2,31);function gse(n,e,t){if(Number.MAX_SAFE_INTEGER&&n>Number.MAX_SAFE_INTEGER)throw gse.bytes=0,new RangeError("Could not encode varint");e=e||[],t=t||0;for(var a=t;n>=VB0;)e[t++]=n&255|G$e,n/=128;for(;n&OB0;)e[t++]=n&255|G$e,n>>>=7;return e[t]=n|0,gse.bytes=t-a+1,e}});var X$e=B((Mna,J$e)=>{p();u();J$e.exports=vse;var $B0=128,Y$e=127;function vse(n,a){var t=0,a=a||0,r=0,i=a,s,f=n.length;do{if(i>=f||r>49)throw vse.bytes=0,new RangeError("Could not decode varint");s=n[i++],t+=r<28?(s&Y$e)<=$B0);return vse.bytes=i-a,t}});var eUe=B((Fna,Z$e)=>{p();u();var UB0=Math.pow(2,7),qB0=Math.pow(2,14),HB0=Math.pow(2,21),zB0=Math.pow(2,28),WB0=Math.pow(2,35),jB0=Math.pow(2,42),GB0=Math.pow(2,49),KB0=Math.pow(2,56),QB0=Math.pow(2,63);Z$e.exports=function(n){return n{p();u();tUe.exports={encode:Q$e(),decode:X$e(),encodingLength:eUe()}});var _se=B((Hna,rUe)=>{"use strict";p();u();var nUe=Tse(),{toString:YB0}=(f_(),yi(h$)),{fromString:JB0}=(cS(),yi(tie));rUe.exports={numberToUint8Array:XB0,uint8ArrayToNumber:aUe,varintUint8ArrayEncode:ZB0,varintEncode:eN0};function aUe(n){return parseInt(YB0(n,"base16"),16)}function XB0(n){let e=n.toString(16);return e.length%2===1&&(e="0"+e),JB0(e,"base16")}function ZB0(n){return Uint8Array.from(nUe.encode(aUe(n)))}function eN0(n){return Uint8Array.from(nUe.encode(n))}});var sUe=B((jna,iUe)=>{"use strict";p();u();var tN0=Object.freeze({identity:0,cidv1:1,cidv2:2,cidv3:3,ip4:4,tcp:6,sha1:17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,blake3:30,dccp:33,"murmur3-128":34,"murmur3-32":35,ip6:41,ip6zone:42,path:47,multicodec:48,multihash:49,multiaddr:50,multibase:51,dns:53,dns4:54,dns6:55,dnsaddr:56,protobuf:80,cbor:81,raw:85,"dbl-sha2-256":86,rlp:96,bencode:99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,sctp:132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"eth-receipt-log-trie":153,"eth-reciept-log":154,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"caip-50":202,streamid:206,"stellar-block":208,"stellar-tx":209,md4:212,md5:213,bmt:214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,zeronet:230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"bls12_381-g1g2-pub":238,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,udp:273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,udt:301,utp:302,unix:400,thread:406,p2p:421,ipfs:421,https:443,onion:444,onion3:445,garlic64:446,garlic32:447,tls:448,noise:454,quic:460,ws:477,wss:478,"p2p-websocket-star":479,http:480,"swhid-1-snp":496,json:512,messagepack:513,"libp2p-peer-record":769,"libp2p-relay-rsvp":770,"car-index-sorted":1024,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,x11:4352,"p256-pub":4608,"p384-pub":4609,"p521-pub":4610,"ed448-pub":4611,"x448-pub":4612,"ed25519-priv":4864,"secp256k1-priv":4865,"x25519-priv":4866,kangarootwelve:7425,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46e3,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332,"skynet-ns":11639056,"arweave-ns":11704592});iUe.exports={baseTable:tN0}});var oUe=B((Qna,fUe)=>{"use strict";p();u();var{baseTable:wse}=sUe(),nN0=_se().varintEncode,xse={},Ise={},gU={};for(let n in wse){let e=n,t=wse[e];xse[e]=nN0(t);let a=e.toUpperCase().replace(/-/g,"_");Ise[a]=t,gU[t]||(gU[t]=e)}Object.freeze(xse);Object.freeze(Ise);Object.freeze(gU);var aN0=Object.freeze(wse);fUe.exports={nameToVarint:xse,constantToCode:Ise,nameToCode:aN0,codeToName:gU}});var gUe=B((Xna,hUe)=>{"use strict";p();u();var vU=Tse(),{concat:rN0}=(n_(),yi(f$)),cUe=_se(),{nameToVarint:TU,constantToCode:iN0,nameToCode:dUe,codeToName:Ese}=oUe();function sN0(n,e){let t;if(n instanceof Uint8Array)t=cUe.varintUint8ArrayEncode(n);else if(TU[n])t=TU[n];else throw new Error("multicodec not recognized");return rN0([t,e],t.length+e.length)}function fN0(n){return vU.decode(n),n.slice(vU.decode.bytes)}function lUe(n){let e=vU.decode(n),t=Ese[e];if(t===void 0)throw new Error(`Code "${e}" not found`);return t}function pUe(n){return Ese[n]}function uUe(n){let e=dUe[n];if(e===void 0)throw new Error(`Codec "${n}" not found`);return e}function yUe(n){return vU.decode(n)}function mUe(n){let e=TU[n];if(e===void 0)throw new Error(`Codec "${n}" not found`);return e}function bUe(n){return cUe.varintEncode(n)}function oN0(n){return lUe(n)}function cN0(n){return pUe(n)}function dN0(n){return uUe(n)}function lN0(n){return yUe(n)}function pN0(n){return mUe(n)}function uN0(n){return Array.from(bUe(n))}hUe.exports={addPrefix:sN0,rmPrefix:fN0,getNameFromData:lUe,getNameFromCode:pUe,getCodeFromName:uUe,getCodeFromData:yUe,getVarintFromName:mUe,getVarintFromCode:bUe,getCodec:oN0,getName:cN0,getNumber:dN0,getCode:lN0,getCodeVarint:pN0,getVarint:uN0,...iN0,nameToVarint:TU,nameToCode:dUe,codeToName:Ese}});var TUe=B((taa,vUe)=>{"use strict";p();u();var yN0=MS(),mN0={checkCIDComponents:function(n){if(n==null)return"null values are not valid CIDs";if(!(n.version===0||n.version===1))return"Invalid version, must be a number equal to 1 or 0";if(typeof n.codec!="string")return"codec must be string";if(n.version===0){if(n.codec!=="dag-pb")return"codec must be 'dag-pb' for CIDv0";if(n.multibaseName!=="base58btc")return"multibaseName must be 'base58btc' for CIDv0"}if(!(n.multihash instanceof Uint8Array))return"multihash must be a Uint8Array";try{yN0.validate(n.multihash)}catch(e){let t=e.message;return t||(t="Multihash validation failed"),t}}};vUe.exports=mN0});var wUe={};jt(wUe,{equals:()=>_Ue});function _Ue(n,e){if(n===e)return!0;if(n.byteLength!==e.byteLength)return!1;for(let t=0;t{p();u()});var IU=B((saa,EUe)=>{"use strict";p();u();var _U=MS(),Cse=RS(),a7=gUe(),bN0=TUe(),{concat:xUe}=(n_(),yi(f$)),{toString:hN0}=(f_(),yi(h$)),{equals:gN0}=(Dse(),yi(wUe)),wU=a7.nameToCode,vN0=Object.keys(wU).reduce((n,e)=>(n[wU[e]]=e,n),{}),IUe=Symbol.for("@ipld/js-cid/CID"),xU=class n{constructor(e,t,a,r){if(this.version,this.codec,this.multihash,Object.defineProperty(this,IUe,{value:!0}),n.isCID(e)){let i=e;this.version=i.version,this.codec=i.codec,this.multihash=i.multihash,this.multibaseName=i.multibaseName||(i.version===0?"base58btc":"base32");return}if(typeof e=="string"){let i=Cse.isEncoded(e);if(i){let s=Cse.decode(e);this.version=parseInt(s[0].toString(),16),this.codec=a7.getCodec(s.slice(1)),this.multihash=a7.rmPrefix(s.slice(1)),this.multibaseName=i}else this.version=0,this.codec="dag-pb",this.multihash=_U.fromB58String(e),this.multibaseName="base58btc";n.validateCID(this),Object.defineProperty(this,"string",{value:e});return}if(e instanceof Uint8Array){let i=parseInt(e[0].toString(),16);if(i===1){let s=e;this.version=i,this.codec=a7.getCodec(s.slice(1)),this.multihash=a7.rmPrefix(s.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";n.validateCID(this);return}this.version=e,typeof t=="number"&&(t=vN0[t]),this.codec=t,this.multihash=a,this.multibaseName=r||(e===0?"base58btc":"base32"),n.validateCID(this)}get bytes(){let e=this._bytes;if(!e){if(this.version===0)e=this.multihash;else if(this.version===1){let t=a7.getCodeVarint(this.codec);e=xUe([[1],t,this.multihash],1+t.byteLength+this.multihash.byteLength)}else throw new Error("unsupported version");Object.defineProperty(this,"_bytes",{value:e})}return e}get prefix(){let e=a7.getCodeVarint(this.codec),t=_U.prefix(this.multihash);return xUe([[this.version],e,t],1+e.byteLength+t.byteLength)}get code(){return wU[this.codec]}toV0(){if(this.codec!=="dag-pb")throw new Error("Cannot convert a non dag-pb CID to CIDv0");let{name:e,length:t}=_U.decode(this.multihash);if(e!=="sha2-256")throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(t!==32)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new n(0,this.codec,this.multihash)}toV1(){return new n(1,this.codec,this.multihash,this.multibaseName)}toBaseEncodedString(e=this.multibaseName){if(this.string&&this.string.length!==0&&e===this.multibaseName)return this.string;let t;if(this.version===0){if(e!=="base58btc")throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");t=_U.toB58String(this.multihash)}else if(this.version===1)t=hN0(Cse.encode(e,this.bytes));else throw new Error("unsupported version");return e===this.multibaseName&&Object.defineProperty(this,"string",{value:t}),t}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&gN0(this.multihash,e.multihash)}static validateCID(e){let t=bN0.checkCIDComponents(e);if(t)throw new Error(t)}static isCID(e){return e instanceof n||!!(e&&e[IUe])}};xU.codecs=wU;EUe.exports=xU});var Sse=B((daa,CUe)=>{p();u();function DUe(n){if(n.stack&&n.name&&n.message)return n.stack.substring(n.name.length+3+n.message.length).split(` +`);if(n.stack)return n.stack.split(` +`)}function TN0(n,e){return n.filter(function(t){return!~e.indexOf(t)})}var caa=CUe.exports=function(n,e){if(!(n.stack&&n.name&&n.message))return console.error(new Error("stackless error")),n;var t=new Error(e),a=TN0(DUe(t).slice(1),DUe(n)).join(` +`);return t.__proto__=n,t.stack=t.name+": "+t.message+` `+a+` - `+t.stack,n}});var cje=D((cca,oje)=>{"use strict";u();p();var WUt=ZW(),qUt=Foe();oje.exports=function(e){try{e=new WUt(e)}catch(n){throw qUt(n,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Noe=D((uca,dje)=>{"use strict";u();p();var jUt=aR();dje.exports=function(){let e=[];for(let n of Object.values(jUt.names))e.push({name:n.name,code:n.code});return e}});var Ooe=D((mca,lje)=>{"use strict";u();p();var GUt=ZW();lje.exports=function(){let e=[];for(let[n,a]of Object.entries(GUt.codecs))e.push({name:n,code:a});return e}});var bje=D((gca,mje)=>{"use strict";u();p();var{bases:uje}=(sse(),vn(uOe));function hje(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}var pje=hje("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Uoe=hje("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=new Uint8Array(t.length);for(let n=0;n{"use strict";u();p();var QUt=bje();function VUt(t,e="utf8"){let n=QUt[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return n.encoder.encode(t).substring(1)}yje.exports=VUt});var xje=D((_ca,Tje)=>{"use strict";u();p();var YUt=ZW(),$Ut=Noe(),JUt=Ooe(),XUt=Foe(),Hoe=aR(),xx=fR(),iR=gje();Tje.exports=function(e,n){n=n||{};let a=n.format||"%s";if(a==="prefix"&&(a="%P"),!vje(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new YUt(e)}catch(i){throw XUt(i,`invalid cid: ${e}`)}if(n.cidVersion!=null&&e.version!==n.cidVersion)if(n.cidVersion===0)e=e.toV0();else if(n.cidVersion===1)e=e.toV1();else throw new Error(`invalid cid version: ${n.cidVersion}`);let f="base58btc";return n.base?f=wje(n.base).name:vje(r)&&(f=Hoe.isEncoded(r)||f),a.replace(/%([a-zA-Z%])/g,ZUt(e,f))};function vje(t){return Object.prototype.toString.call(t)==="[object String]"}function ZUt(t,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return wje(e).code;case"v":return`cidv${t.version}`;case"V":return t.version.toString();case"c":return t.codec;case"C":return eHt(t).toString();case"h":return xx.decode(t.multihash).name;case"H":return xx.decode(t.multihash).code.toString();case"L":return xx.decode(t.multihash).length.toString();case"m":return iR(Hoe.encode(e,t.multihash));case"M":return iR(t.multihash,e);case"d":return iR(Hoe.encode(e,xx.decode(t.multihash).digest));case"D":return iR(xx.decode(t.multihash).digest,e);case"s":return t.toString(e);case"S":return t.version===1?t.toString(e).slice(1):iR(t.bytes,e);case"P":return tHt(t);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function wje(t){let e=$Ut().find(n=>n.code===t||n.name===t);if(!e)throw new Error(`invalid multibase: ${t}`);return e}function eHt(t){let e=JUt().find(n=>n.name===t.codec);if(!e)throw new Error(`invalid codec: ${t.codec}`);return e.code}function tHt(t){let{name:e,length:n}=xx.decode(t.multihash);return`cidv${t.version}-${t.codec}-${e}-${n}`}});var _je=D((Cca,Eje)=>{"use strict";u();p();var nHt=fR();Eje.exports=function(){let e=[];for(let[n,a]of Object.entries(nHt.names))e.push({name:n,code:a});return e}});var Aje=D(Ex=>{"use strict";u();p();Ex.base32=cje();Ex.bases=Noe();Ex.codecs=Ooe();Ex.format=xje();Ex.hashes=_je()});var Cje=D((Dca,Ije)=>{"use strict";u();p();Ije.exports=Aje()});var Sje=D((Fca,kje)=>{u();p();kje.exports=typeof self=="object"?self.FormData:window.FormData});function aHt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function zoe(t){let e=new URL(t).hostname;return e.endsWith(Lje)?!0:e.endsWith(rHt)}function cHt(t){return Array.isArray(t)?{"ipfs://":t}:t||{}}function dHt(t,e,n){let a=e.split("/"),r=uHt(a[0]),f=a.slice(1).join("/"),i=t;if(t.includes("{cid}")&&t.includes("{path}")?i=i.replace("{cid}",r).replace("{path}",f):t.includes("{cid}")?i=i.replace("{cid}",r):i+=`${r}/${f}`,t.includes("{clientId}")){if(!n)throw new Error("Cannot use {clientId} in gateway URL without providing a client ID");i=i.replace("{clientId}",n)}return i}function lHt(t,e,n){let a={...sHt,...t};for(let r of Object.keys(a)){let f=a[r].map(i=>{if(e&&i.includes("{clientId}"))return i.replace("{clientId}",e);if(n&&i.includes("{clientId}")){if(typeof window<"u")throw new Error("Cannot use secretKey in browser context");let o=UW(n).slice(0,32);return i.replace("{clientId}",o)}else return i.includes("{clientId}")?void 0:i}).filter(i=>i!==void 0);a[r]=f}return a}function uHt(t){let e="";try{let n=t.split("/")[0];e=Dje.default.base32(n)}catch{throw new Error(`The CID ${t} is not valid.`)}return e}function $7(){return typeof window<"u"}function tq(t){return global.File&&t instanceof File}function _x(t){return global.Buffer&&t instanceof _.Buffer}function nq(t){return!!(t&&t.name&&t.data&&typeof t.name=="string"&&(typeof t.data=="string"||_x(t.data)))}function Sm(t){return tq(t)||_x(t)||nq(t)}function pHt(t,e){if(tq(t)&&tq(e)){if(t.name===e.name&&t.lastModified===e.lastModified&&t.size===e.size)return!0}else{if(_x(t)&&_x(e))return t.equals(e);if(nq(t)&&nq(e)&&t.name===e.name){if(typeof t.data=="string"&&typeof e.data=="string")return t.data===e.data;if(_x(t.data)&&_x(e.data))return t.data.equals(e.data)}}return!1}function hHt(t,e){let n=t.replace("{cid}","(?[^/]+)").replace("{path}","(?[^?#]+)"),a=new RegExp(n),r=e.match(a);if(r){let f=r.groups?.hash,i=r.groups?.path,s=e.includes("?")?e.substring(e.indexOf("?")+1):"";return{hash:f,path:i,query:s}}}function Yoe(t,e){for(let n of Object.keys(e))for(let a of e[n])if(a.includes("{cid}")){let r=hHt(a,t);if(r?.hash&&r?.path){let f=r?.query?`?${r?.query}`:"";return`${n}${r?.hash}/${r?.path}${f}`}else return t}else if(t.startsWith(a))return t.replace(a,n);return t}function $oe(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0,r=Object.keys(e).find(s=>t.startsWith(s)),f=r?e[r]:[];if(!r&&n>0||r&&n>=f.length)return;if(!r)return t;let i=t.replace(r,"");try{return dHt(f[n],i,a)}catch{console.warn(`The IPFS uri: ${i} is not valid.`);return}}function qoe(t,e){return typeof t=="string"?Yoe(t,e):typeof t=="object"?!t||Sm(t)?t:Array.isArray(t)?t.map(n=>qoe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,qoe(r,e)]})):t}function aq(t,e,n){return typeof t=="string"?$oe(t,e,0,n):typeof t=="object"?!t||Sm(t)?t:Array.isArray(t)?t.map(a=>aq(a,e,n)):Object.fromEntries(Object.entries(t).map(a=>{let[r,f]=a;return[r,aq(f,e,n)]})):t}function joe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(Sm(t))return e.push(t),e;if(typeof t=="object"){if(!t)return e;Array.isArray(t)?t.forEach(n=>joe(n,e)):Object.keys(t).map(n=>joe(t[n],e))}return e}function Goe(t,e){if(Sm(t)){if(e.length)return t=e.shift(),t;console.warn("Not enough URIs to replace all files in object.")}return typeof t=="object"?t&&(Array.isArray(t)?t.map(n=>Goe(n,e)):Object.fromEntries(Object.entries(t).map(n=>{let[a,r]=n;return[a,Goe(r,e)]}))):t}function mHt(t){for(let e=0,n=Rje.length;e"u"?{x_sdk_name:eq.name,x_sdk_platform:Bje(),x_sdk_version:eq.version,x_sdk_os:Mje(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=eq.name,globalThis.X_SDK_PLATFORM=Bje(),globalThis.X_SDK_VERSION=eq.version,globalThis.X_SDK_OS=Mje(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Bje(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function yHt(t){return Qoe.has(t)}function gHt(t,e){Woe.has(t)&&clearTimeout(Woe.get(t));let n=e.headers.get("Retry-After"),a=5e3;if(n){let r=parseInt(n);isNaN(r)||(a=r*1e3)}Qoe.set(t,!0),Woe.set(t,setTimeout(()=>Qoe.delete(t),a))}var Dje,Pje,Lje,rHt,fHt,iHt,sHt,oHt,eq,Rje,Koe,Qoe,Woe,Voe,km,Ax=oe(()=>{"use strict";u();p();Dje=Ee(Cje());HW();Pje=Ee(Sje());Lje=".ipfscdn.io",rHt=".thirdwebstorage-staging.com",fHt=[`https://{clientId}${Lje}/ipfs/{cid}/{path}`];iHt=["https://{cid}.ipfs.cf-ipfs.com/{path}","https://{cid}.ipfs.dweb.link/{path}","https://ipfs.io/ipfs/{cid}/{path}","https://cloudflare-ipfs.com/ipfs/{cid}/{path}","https://{cid}.ipfs.w3s.link/{path}","https://w3s.link/ipfs/{cid}/{path}","https://nftstorage.link/ipfs/{cid}/{path}","https://gateway.pinata.cloud/ipfs/{cid}/{path}"],sHt={"ipfs://":[...fHt,...iHt]},oHt=aHt("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");eq={name:"@thirdweb-dev/storage",version:"2.0.15",main:"dist/thirdweb-dev-storage.cjs.js",module:"dist/thirdweb-dev-storage.esm.js",exports:{".":{module:"./dist/thirdweb-dev-storage.esm.js",default:"./dist/thirdweb-dev-storage.cjs.js"},"./package.json":"./package.json"},repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/storage",author:"thirdweb eng ",license:"Apache-2.0",sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && preconstruct build",test:"vitest run",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},files:["dist/"],preconstruct:{exports:!0},devDependencies:{"@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@thirdweb-dev/tsconfig":"workspace:*","@types/uuid":"^9.0.8",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-tsdoc":"^0.2.17",esm:"^3.2.25",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4"},dependencies:{"@thirdweb-dev/crypto":"workspace:*","cid-tool":"^3.0.0","form-data":"^4.0.0",uuid:"^9.0.1"},engines:{node:">=18"}},Rje=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];Koe=class{constructor(e){ae(this,"DEFAULT_TIMEOUT_IN_SECONDS",60);ae(this,"DEFAULT_MAX_RETRIES",3);this.secretKey=e.secretKey,this.clientId=e.clientId,this.defaultTimeout=e.timeoutInSeconds||this.DEFAULT_TIMEOUT_IN_SECONDS}async download(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=a?.maxRetries||this.DEFAULT_MAX_RETRIES;if(r>f)return console.error("[FAILED_TO_DOWNLOAD_ERROR] Failed to download from URI - too many attempts failed."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let i=$oe(e,n,r,this.clientId);if(i)r>0&&console.warn(`Retrying download with backup gateway URL: ${i}`);else return console.error("[FAILED_TO_DOWNLOAD_ERROR] Unable to download from URI - all gateway URLs failed to respond."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let s={};if(zoe(i)){let h=Joe().app_bundle_id;this.secretKey?s={"x-secret-key":this.secretKey}:this.clientId&&(!i.includes("bundleId")&&h&&(i=i+(h?`?bundleId=${h}`:"")),s["x-client-Id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_AUTH_TOKEN}`}),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(s={...s,authorization:`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`},s["x-authorize-wallet"]="true"),Fje(s)}if(yHt(i))return this.download(e,n,a,r+1);let o=new AbortController,c=a?.timeoutInSeconds||this.defaultTimeout,d=setTimeout(()=>o.abort(),c*1e3),l=await fetch(i,{headers:s,signal:o.signal}).catch(h=>h);if(d&&clearTimeout(d),!("status"in l))throw new Error(`Request timed out after ${c} seconds. ${zoe(i)?"You can update the timeoutInSeconds option to increase the timeout.":"You're using a public IPFS gateway, pass in a clientId or secretKey for a reliable IPFS gateway."}`);return l.ok?l:l.status===429?(gHt(i,l),this.download(e,n,a,r+1)):l.status===410?(console.error(`Request to ${i} failed because this content seems to be blocklisted. Search VirusTotal for this URL to confirm: ${i} `),l):(console.warn(`Request to ${i} failed with status ${l.status} - ${l.statusText}`),l.status===404&&zoe(i)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,n,a,r+1))}},Qoe=new Map;Woe=new Map;Voe=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||oHt,this.clientId=e?.clientId,this.secretKey=e?.secretKey}async uploadBatch(e,n){if(n?.uploadWithoutDirectory&&e.length>1)throw new Error("[UPLOAD_WITHOUT_DIRECTORY_ERROR] Cannot upload more than one file or object without directory!");let a=new Pje.default,{form:r,fileNames:f}=this.buildFormData(a,e,n);return $7()?this.uploadBatchBrowser(r,f,n):this.uploadBatchNode(r,f,n)}buildFormData(e,n,a){let r=new Map,f=[];for(let s=0;s-1&&(h=o.name.substring(y))}c=`${s+a.rewriteFileNames.fileStartNumber}${h}`}else c=`${o.name}`;else nq(o)?(d=o.data,a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${o.name}`):a?.rewriteFileNames?c=`${s+a.rewriteFileNames.fileStartNumber}`:c=`${s}`;let l=a?.uploadWithoutDirectory?"files":`files/${c}`;if(r.has(c)){if(pHt(r.get(c),o)){f.push(c);continue}throw new Error(`[DUPLICATE_FILE_NAME_ERROR] File name ${c} was passed for more than one different file.`)}r.set(c,o),f.push(c),$7()?e.append("file",new Blob([d]),l):e.append("file",d,{filepath:l})}let i={name:"Storage SDK",keyvalues:{...a?.metadata}};return e.append("pinataMetadata",JSON.stringify(i)),a?.uploadWithoutDirectory&&e.append("pinataOptions",JSON.stringify({wrapWithDirectory:!1})),{form:e,fileNames:f.map(s=>encodeURIComponent(s))}}async uploadBatchBrowser(e,n,a){return new Promise((r,f)=>{let i=new XMLHttpRequest,s=setTimeout(()=>{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4);i.upload.addEventListener("loadstart",()=>{console.log(`[${Date.now()}] [IPFS] Started`)}),i.upload.addEventListener("progress",o=>{console.log(`[IPFS] Progress Event ${o.loaded}/${o.total}`),clearTimeout(s),o.loaded{i.abort(),f(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4):console.log(`[${Date.now()}] [IPFS] Uploaded files. Waiting for response.`),o.lengthComputable&&a?.onProgress&&a?.onProgress({progress:o.loaded,total:o.total})}),i.addEventListener("load",()=>{if(console.log(`[${Date.now()}] [IPFS] Load`),clearTimeout(s),i.status>=200&&i.status<300){let o;try{o=JSON.parse(i.responseText)}catch{return f(new Error("Failed to parse JSON from upload response"))}let c=o.IpfsHash;if(!c)throw new Error("Failed to get IPFS hash from upload response");return a?.uploadWithoutDirectory?r([`ipfs://${c}`]):r(n.map(d=>`ipfs://${c}/${d}`))}return f(new Error(`Upload failed with status ${i.status} - ${i.responseText}`))}),i.addEventListener("error",()=>(console.log("[IPFS] Load"),clearTimeout(s),i.readyState!==0&&i.readyState!==4||i.status===0?f(new Error("Upload failed due to a network error.")):f(new Error("Unknown upload error occured")))),i.open("POST",`${this.uploadServerUrl}/ipfs/upload`),this.secretKey?i.setRequestHeader("x-secret-key",this.secretKey):this.clientId&&i.setRequestHeader("x-client-id",this.clientId),bHt(i),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&i.setRequestHeader("authorization",`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(i.setRequestHeader("authorization",`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`),i.setRequestHeader("x-authorize-wallet","true")),i.send(e)})}async uploadBatchNode(e,n,a){a?.onProgress&&console.warn("The onProgress option is only supported in the browser");let r={};this.secretKey?r["x-secret-key"]=this.secretKey:this.clientId&&(r["x-client-id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,r["x-authorize-wallet"]="true"),Fje(r);let f=await fetch(`${this.uploadServerUrl}/ipfs/upload`,{method:"POST",headers:{...r,...e.getHeaders()},body:e.getBuffer()});if(!f.ok)throw f.status===401?new Error("Unauthorized - You don't have permission to use this service."):new Error(`Failed to upload files to IPFS - ${f.status} - ${f.statusText} - ${await f.text()}`);let s=(await f.json()).IpfsHash;if(!s)throw new Error("Failed to upload files to IPFS - Bad CID");return a?.uploadWithoutDirectory?[`ipfs://${s}`]:n.map(o=>`ipfs://${s}/${o}`)}},km=class{constructor(e){this.uploader=e?.uploader||new Voe({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Koe({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=lHt(cHt(e?.gatewayUrls),e?.clientId,e?.secretKey),this.clientId=e?.clientId}resolveScheme(e){return $oe(e,this.gatewayUrls,0,this.clientId)}async download(e,n){return this.downloader.download(e,this.gatewayUrls,n)}async downloadJSON(e,n){let r=await(await this.download(e,n)).json();return aq(r,this.gatewayUrls,this.clientId)}async upload(e,n){let[a]=await this.uploadBatch([e],n);return a}async uploadBatch(e,n){if(e=e.filter(f=>f!==void 0),!e.length)return[];let a=e.map(f=>Sm(f)||typeof f=="string").every(f=>!!f),r=[];if(a)r=await this.uploader.uploadBatch(e,n);else{let f=(await this.uploadAndReplaceFilesWithHashes(e,n)).map(i=>typeof i=="string"?i:JSON.stringify(i));r=await this.uploader.uploadBatch(f,n)}return n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl?r.map(f=>this.resolveScheme(f)):r}getGatewayUrls(){return this.gatewayUrls}async uploadAndReplaceFilesWithHashes(e,n){let a=e;a=qoe(a,this.gatewayUrls);let r=joe(a);if(r.length){let f=await this.uploader.uploadBatch(r,n);a=Goe(a,f)}return(n?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=aq(a,this.gatewayUrls,this.clientId)),a}}});var Oje=D(Nje=>{"use strict";u();p();Object.defineProperty(Nje,"__esModule",{value:!0})});var Hje=D(Uje=>{"use strict";u();p();Object.defineProperty(Uje,"__esModule",{value:!0})});var Kje=D($d=>{"use strict";u();p();Object.defineProperty($d,"__esModule",{value:!0});$d.MessageReceiptStatus=$d.MessageDirection=$d.MessageStatus=$d.L2ChainID=$d.L1ChainID=void 0;var zje;(function(t){t[t.MAINNET=1]="MAINNET",t[t.GOERLI=5]="GOERLI",t[t.SEPOLIA=11155111]="SEPOLIA",t[t.HARDHAT_LOCAL=31337]="HARDHAT_LOCAL",t[t.BEDROCK_LOCAL_DEVNET=900]="BEDROCK_LOCAL_DEVNET"})(zje||($d.L1ChainID=zje={}));var Wje;(function(t){t[t.OPTIMISM=10]="OPTIMISM",t[t.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",t[t.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",t[t.OPTIMISM_HARDHAT_LOCAL=31337]="OPTIMISM_HARDHAT_LOCAL",t[t.OPTIMISM_HARDHAT_DEVNET=17]="OPTIMISM_HARDHAT_DEVNET",t[t.OPTIMISM_BEDROCK_ALPHA_TESTNET=28528]="OPTIMISM_BEDROCK_ALPHA_TESTNET",t[t.BASE_GOERLI=84531]="BASE_GOERLI",t[t.BASE_SEPOLIA=84532]="BASE_SEPOLIA",t[t.BASE_MAINNET=8453]="BASE_MAINNET",t[t.ZORA_GOERLI=999]="ZORA_GOERLI",t[t.ZORA_MAINNET=7777777]="ZORA_MAINNET",t[t.MODE_SEPOLIA=919]="MODE_SEPOLIA",t[t.MODE_MAINNET=34443]="MODE_MAINNET"})(Wje||($d.L2ChainID=Wje={}));var qje;(function(t){t[t.UNCONFIRMED_L1_TO_L2_MESSAGE=0]="UNCONFIRMED_L1_TO_L2_MESSAGE",t[t.FAILED_L1_TO_L2_MESSAGE=1]="FAILED_L1_TO_L2_MESSAGE",t[t.STATE_ROOT_NOT_PUBLISHED=2]="STATE_ROOT_NOT_PUBLISHED",t[t.READY_TO_PROVE=3]="READY_TO_PROVE",t[t.IN_CHALLENGE_PERIOD=4]="IN_CHALLENGE_PERIOD",t[t.READY_FOR_RELAY=5]="READY_FOR_RELAY",t[t.RELAYED=6]="RELAYED"})(qje||($d.MessageStatus=qje={}));var jje;(function(t){t[t.L1_TO_L2=0]="L1_TO_L2",t[t.L2_TO_L1=1]="L2_TO_L1"})(jje||($d.MessageDirection=jje={}));var Gje;(function(t){t[t.RELAYED_FAILED=0]="RELAYED_FAILED",t[t.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(Gje||($d.MessageReceiptStatus=Gje={}))});var Ix=D(q8=>{"use strict";u();p();var vHt=q8&&q8.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Xoe=q8&&q8.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&vHt(e,t,n)};Object.defineProperty(q8,"__esModule",{value:!0});Xoe(Oje(),q8);Xoe(Hje(),q8);Xoe(Kje(),q8)});var Zoe=D(rq=>{"use strict";u();p();Object.defineProperty(rq,"__esModule",{value:!0});rq.assert=void 0;var wHt=(t,e)=>{if(!t)throw new Error(e)};rq.assert=wHt});var t1e=D(Is=>{"use strict";u();p();Object.defineProperty(Is,"__esModule",{value:!0});Is.toAddress=Is.toNumber=Is.toBigNumber=Is.toTransactionHash=Is.toJsonRpcProvider=Is.toProvider=Is.toSignerOrProvider=void 0;var Qje=C3(),THt=i8(),Rm=Je(),e1e=Zoe(),xHt=t=>{if(typeof t=="string")return new Rm.ethers.providers.JsonRpcProvider(t);if(Qje.Provider.isProvider(t))return t;if(THt.Signer.isSigner(t))return t;throw new Error("Invalid provider")};Is.toSignerOrProvider=xHt;var EHt=t=>{if(typeof t=="string")return new Rm.ethers.providers.JsonRpcProvider(t);if(Qje.Provider.isProvider(t))return t;throw new Error("Invalid provider")};Is.toProvider=EHt;var _Ht=t=>{let e=(0,Is.toProvider)(t);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};Is.toJsonRpcProvider=_Ht;var AHt=t=>{if(typeof t=="string")return(0,e1e.assert)(Rm.ethers.utils.isHexString(t,32),"Invalid transaction hash"),t;if(t.transactionHash)return t.transactionHash;if(t.hash)return t.hash;throw new Error("Invalid transaction")};Is.toTransactionHash=AHt;var IHt=t=>Rm.ethers.BigNumber.from(t);Is.toBigNumber=IHt;var CHt=t=>(0,Is.toBigNumber)(t).toNumber();Is.toNumber=CHt;var kHt=t=>typeof t=="string"?((0,e1e.assert)(Rm.ethers.utils.isAddress(t),"Invalid address"),Rm.ethers.utils.getAddress(t)):((0,e1e.assert)(Rm.ethers.utils.isAddress(t.address),"Invalid address"),Rm.ethers.utils.getAddress(t.address));Is.toAddress=kHt});var Vje=D((o6a,SHt)=>{SHt.exports={_format:"hh-sol-artifact-1",contractName:"iL1ChugSplashDeployer",sourceName:"contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol",abi:[{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Yje=D((c6a,RHt)=>{RHt.exports={_format:"hh-sol-artifact-1",contractName:"L1ChugSplashProxy",sourceName:"contracts/chugsplash/L1ChugSplashProxy.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610a5d380380610a5d83398101604081905261002f9161005d565b610057817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b5061008d565b60006020828403121561006f57600080fd5b81516001600160a01b038116811461008657600080fd5b9392505050565b6109c18061009c6000396000f3fe60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",deployedBytecode:"0x60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var $je=D((d6a,MHt)=>{MHt.exports={_format:"hh-sol-artifact-1",contractName:"AddressDictator",sourceName:"contracts/L1/deployment/AddressDictator.sol",abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5060405162000d5e38038062000d5e83398101604081905262000034916200037a565b600080546001600160a01b038087166001600160a01b03199283161790925560018054928616929091169190911790558051825114620000ee5760405162461bcd60e51b815260206004820152604560248201527f416464726573734469637461746f723a204d7573742070726f7669646520616e60448201527f20657175616c206e756d626572206f66206e616d657320616e6420616464726560648201526439b9b2b99760d91b608482015260a40160405180910390fd5b60005b8251811015620001c357600260405180604001604052808584815181106200011d576200011d62000505565b602002602001015181526020018484815181106200013f576200013f62000505565b6020908102919091018101516001600160a01b0316909152825460018101845560009384529281902082518051939460020290910192620001849284920190620001ce565b5060209190910151600190910180546001600160a01b0319166001600160a01b0390921691909117905580620001ba816200051b565b915050620000f1565b505050505062000582565b828054620001dc9062000545565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b6001600160a01b03811681146200028a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002ce57620002ce6200028d565b604052919050565b60006001600160401b03821115620002f257620002f26200028d565b5060051b60200190565b600082601f8301126200030e57600080fd5b81516020620003276200032183620002d6565b620002a3565b82815260059290921b840181019181810190868411156200034757600080fd5b8286015b848110156200036f578051620003618162000274565b83529183019183016200034b565b509695505050505050565b600080600080608085870312156200039157600080fd5b84516200039e8162000274565b80945050602080860151620003b38162000274565b60408701519094506001600160401b0380821115620003d157600080fd5b818801915088601f830112620003e657600080fd5b8151620003f76200032182620002d6565b81815260059190911b8301840190848101908b8311156200041757600080fd5b8585015b83811015620004ce57805185811115620004355760008081fd5b8601603f81018e13620004485760008081fd5b87810151868111156200045f576200045f6200028d565b62000473601f8201601f19168a01620002a3565b8181528f60408385010111156200048a5760008081fd5b60005b82811015620004ab57838101604001518282018c01528a016200048d565b82811115620004bd5760008b84840101525b50855250509186019186016200041b565b5060608b01519097509450505080831115620004e957600080fd5b5050620004f987828801620002fc565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200053e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200055a57607f821691505b602082108114156200057c57634e487b7160e01b600052602260045260246000fd5b50919050565b6107cc80620005926000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Jje=D((l6a,BHt)=>{BHt.exports={_format:"hh-sol-artifact-1",contractName:"ChugSplashDictator",sourceName:"contracts/L1/deployment/ChugSplashDictator.sol",abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x60806040526000805460ff1916600117905534801561001d57600080fd5b5060405161088338038061088383398101604081905261003c916100a8565b60008054610100600160a81b0319166101006001600160a01b03998a1602179055600180546001600160a01b031916969097169590951790955560029290925560035560045560059190915560065561010f565b6001600160a01b03811681146100a557600080fd5b50565b600080600080600080600060e0888a0312156100c357600080fd5b87516100ce81610090565b60208901519097506100df81610090565b604089015160608a015160808b015160a08c015160c0909c01519a9d939c50919a90999198509650945092505050565b6107658061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Xje=D((u6a,DHt)=>{DHt.exports={_format:"hh-sol-artifact-1",contractName:"IL1CrossDomainMessenger",sourceName:"contracts/L1/messaging/IL1CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Zje=D((p6a,PHt)=>{PHt.exports={_format:"hh-sol-artifact-1",contractName:"IL1ERC20Bridge",sourceName:"contracts/L1/messaging/IL1ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var eGe=D((h6a,LHt)=>{LHt.exports={_format:"hh-sol-artifact-1",contractName:"IL1StandardBridge",sourceName:"contracts/L1/messaging/IL1StandardBridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var tGe=D((m6a,FHt)=>{FHt.exports={_format:"hh-sol-artifact-1",contractName:"L1CrossDomainMessenger",sourceName:"contracts/L1/messaging/L1CrossDomainMessenger.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405260cc80546001600160a01b03191661dead17905534801561002457600080fd5b50600080546001600160a01b0319169055613865806100446000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var nGe=D((b6a,NHt)=>{NHt.exports={_format:"hh-sol-artifact-1",contractName:"L1StandardBridge",sourceName:"contracts/L1/messaging/L1StandardBridge.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b50600080546001600160a01b031916905561199e806100306000396000f3fe6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var aGe=D((y6a,OHt)=>{OHt.exports={_format:"hh-sol-artifact-1",contractName:"CanonicalTransactionChain",sourceName:"contracts/L1/rollup/CanonicalTransactionChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405162001a9838038062001a9883398101604081905261003191610072565b600080546001600160a01b0319166001600160a01b03861617905560048390556002829055600181905561006581836100bd565b600355506100ea92505050565b6000806000806080858703121561008857600080fd5b84516001600160a01b038116811461009f57600080fd5b60208601516040870151606090970151919890975090945092505050565b60008160001904831182151516156100e557634e487b7160e01b600052601160045260246000fd5b500290565b61199e80620000fa6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var rGe=D((g6a,UHt)=>{UHt.exports={_format:"hh-sol-artifact-1",contractName:"ChainStorageContainer",sourceName:"contracts/L1/rollup/ChainStorageContainer.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620011b3380380620011b3833981016040819052620000349162000129565b600080546001600160a01b0319166001600160a01b0384161790558051620000649060019060208401906200006d565b50505062000266565b8280546200007b9062000229565b90600052602060002090601f0160209004810192826200009f5760008555620000ea565b82601f10620000ba57805160ff1916838001178555620000ea565b82800160010185558215620000ea579182015b82811115620000ea578251825591602001919060010190620000cd565b50620000f8929150620000fc565b5090565b5b80821115620000f85760008155600101620000fd565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200013d57600080fd5b82516001600160a01b03811681146200015557600080fd5b602084810151919350906001600160401b03808211156200017557600080fd5b818601915086601f8301126200018a57600080fd5b8151818111156200019f576200019f62000113565b604051601f8201601f19908116603f01168101908382118183101715620001ca57620001ca62000113565b816040528281528986848701011115620001e357600080fd5b600093505b82841015620002075784840186015181850187015292850192620001e8565b82841115620002195760008684830101525b8096505050505050509250929050565b600181811c908216806200023e57607f821691505b602082108114156200026057634e487b7160e01b600052602260045260246000fd5b50919050565b610f3d80620002766000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var fGe=D((v6a,HHt)=>{HHt.exports={_format:"hh-sol-artifact-1",contractName:"ICanonicalTransactionChain",sourceName:"contracts/L1/rollup/ICanonicalTransactionChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var iGe=D((w6a,zHt)=>{zHt.exports={_format:"hh-sol-artifact-1",contractName:"IChainStorageContainer",sourceName:"contracts/L1/rollup/IChainStorageContainer.sol",abi:[{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var sGe=D((T6a,WHt)=>{WHt.exports={_format:"hh-sol-artifact-1",contractName:"IStateCommitmentChain",sourceName:"contracts/L1/rollup/IStateCommitmentChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"_verified",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var oGe=D((x6a,qHt)=>{qHt.exports={_format:"hh-sol-artifact-1",contractName:"StateCommitmentChain",sourceName:"contracts/L1/rollup/StateCommitmentChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516120bb3803806120bb83398101604081905261002f9161005b565b600080546001600160a01b0319166001600160a01b03949094169390931790925560015560025561009e565b60008060006060848603121561007057600080fd5b83516001600160a01b038116811461008757600080fd5b602085015160409095015190969495509392505050565b61200e806100ad6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var cGe=D((E6a,jHt)=>{jHt.exports={_format:"hh-sol-artifact-1",contractName:"BondManager",sourceName:"contracts/L1/verification/BondManager.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161048838038061048883398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103f5806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var dGe=D((_6a,GHt)=>{GHt.exports={_format:"hh-sol-artifact-1",contractName:"IBondManager",sourceName:"contracts/L1/verification/IBondManager.sol",abi:[{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var lGe=D((A6a,KHt)=>{KHt.exports={_format:"hh-sol-artifact-1",contractName:"IL2CrossDomainMessenger",sourceName:"contracts/L2/messaging/IL2CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var uGe=D((I6a,QHt)=>{QHt.exports={_format:"hh-sol-artifact-1",contractName:"IL2ERC20Bridge",sourceName:"contracts/L2/messaging/IL2ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var pGe=D((C6a,VHt)=>{VHt.exports={_format:"hh-sol-artifact-1",contractName:"L2CrossDomainMessenger",sourceName:"contracts/L2/messaging/L2CrossDomainMessenger.sol",abi:[{inputs:[{internalType:"address",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[],name:"l1CrossDomainMessenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x6080604052600480546001600160a01b03191661dead17905534801561002457600080fd5b50604051610cc3380380610cc383398101604081905261004391610068565b600580546001600160a01b0319166001600160a01b0392909216919091179055610098565b60006020828403121561007a57600080fd5b81516001600160a01b038116811461009157600080fd5b9392505050565b610c1c806100a76000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var hGe=D((k6a,YHt)=>{YHt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardBridge",sourceName:"contracts/L2/messaging/L2StandardBridge.sol",abi:[{inputs:[{internalType:"address",name:"_l2CrossDomainMessenger",type:"address"},{internalType:"address",name:"_l1TokenBridge",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516111c43803806111c483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611106806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var mGe=D((S6a,$Ht)=>{$Ht.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardTokenFactory",sourceName:"contracts/L2/messaging/L2StandardTokenFactory.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"}],name:"StandardL2TokenCreated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],name:"createStandardL2Token",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506117bc806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var bGe=D((R6a,JHt)=>{JHt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L1BlockNumber",sourceName:"contracts/L2/predeploys/iOVM_L1BlockNumber.sol",abi:[{inputs:[],name:"getL1BlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var yGe=D((M6a,XHt)=>{XHt.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var gGe=D((B6a,ZHt)=>{ZHt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_DeployerWhitelist",sourceName:"contracts/L2/predeploys/OVM_DeployerWhitelist.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"},{indexed:!1,internalType:"address",name:"newOwner",type:"address"}],name:"OwnerChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"}],name:"WhitelistDisabled",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"deployer",type:"address"},{indexed:!1,internalType:"bool",name:"whitelisted",type:"bool"}],name:"WhitelistStatusChanged",type:"event"},{inputs:[],name:"enableArbitraryContractDeployment",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"}],name:"isDeployerAllowed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"},{internalType:"bool",name:"_isWhitelisted",type:"bool"}],name:"setWhitelistedDeployer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506106a8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var vGe=D((D6a,ezt)=>{ezt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_ETH",sourceName:"contracts/L2/predeploys/OVM_ETH.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5073420000000000000000000000000000000000001060006040518060400160405280600581526020016422ba3432b960d91b8152506040518060400160405280600381526020016208aa8960eb1b815250818181600390805190602001906200007d929190620000cf565b50805162000093906004906020840190620000cf565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620001b2915050565b828054620000dd9062000175565b90600052602060002090601f0160209004810192826200010157600085556200014c565b82601f106200011c57805160ff19168380011785556200014c565b828001600101855582156200014c579182015b828111156200014c5782518255916020019190600101906200012f565b506200015a9291506200015e565b5090565b5b808211156200015a57600081556001016200015f565b600181811c908216806200018a57607f821691505b60208210811415620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b610eee80620001c26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var wGe=D((P6a,tzt)=>{tzt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_GasPriceOracle",sourceName:"contracts/L2/predeploys/OVM_GasPriceOracle.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"DecimalsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"GasPriceUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"L1BaseFeeUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"OverheadUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"ScalarUpdated",type:"event"},{inputs:[],name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_decimals",type:"uint256"}],name:"setDecimals",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_gasPrice",type:"uint256"}],name:"setGasPrice",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_baseFee",type:"uint256"}],name:"setL1BaseFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_overhead",type:"uint256"}],name:"setOverhead",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_scalar",type:"uint256"}],name:"setScalar",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610e55380380610e5583398101604081905261002f91610167565b61003833610047565b61004181610097565b50610197565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811661015b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ed565b61016481610047565b50565b60006020828403121561017957600080fd5b81516001600160a01b038116811461019057600080fd5b9392505050565b610caf806101a66000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var TGe=D((L6a,nzt)=>{nzt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506102c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var xGe=D((F6a,azt)=>{azt.exports={_format:"hh-sol-artifact-1",contractName:"OVM_SequencerFeeVault",sourceName:"contracts/L2/predeploys/OVM_SequencerFeeVault.sol",abi:[{inputs:[{internalType:"address",name:"_l1FeeWallet",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"MIN_WITHDRAWAL_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1FeeWallet",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b506040516103de3803806103de83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61034b806100936000396000f3fe6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var EGe=D((N6a,rzt)=>{rzt.exports={_format:"hh-sol-artifact-1",contractName:"WETH9",sourceName:"contracts/L2/predeploys/WETH9.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"guy",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Withdrawal",type:"event"},{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"guy",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"deposit",outputs:[],payable:!0,stateMutability:"payable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"src",type:"address"},{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"wad",type:"uint256"}],name:"withdraw",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}],bytecode:"0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b50610115565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100bb57805160ff19168380011785556100e8565b828001600101855582156100e8579182015b828111156100e85782518255916020019190600101906100cd565b506100f49291506100f8565b5090565b61011291905b808211156100f457600081556001016100fe565b90565b6107f9806101246000396000f3fe6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",deployedBytecode:"0x6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",linkReferences:{},deployedLinkReferences:{}}});var _Ge=D((O6a,fzt)=>{fzt.exports={_format:"hh-sol-artifact-1",contractName:"CrossDomainEnabled",sourceName:"contracts/libraries/bridge/CrossDomainEnabled.sol",abi:[{inputs:[{internalType:"address",name:"_messenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",deployedBytecode:"0x6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var AGe=D((U6a,izt)=>{izt.exports={_format:"hh-sol-artifact-1",contractName:"ICrossDomainMessenger",sourceName:"contracts/libraries/bridge/ICrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var IGe=D((H6a,szt)=>{szt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var CGe=D((z6a,ozt)=>{ozt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kGe=D((W6a,czt)=>{czt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var SGe=D((q6a,dzt)=>{dzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var RGe=D((j6a,lzt)=>{lzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressManager",sourceName:"contracts/libraries/resolver/Lib_AddressManager.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107028061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var MGe=D((G6a,uzt)=>{uzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressResolver",sourceName:"contracts/libraries/resolver/Lib_AddressResolver.sol",abi:[{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var BGe=D((K6a,pzt)=>{pzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_ResolvedDelegateProxy",sourceName:"contracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],bytecode:"0x608060405234801561001057600080fd5b506040516105b53803806105b583398101604081905261002f91610125565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b038716179055828252909120825161006e92840190610076565b505050610252565b82805461008290610217565b90600052602060002090601f0160209004810192826100a457600085556100ea565b82601f106100bd57805160ff19168380011785556100ea565b828001600101855582156100ea579182015b828111156100ea5782518255916020019190600101906100cf565b506100f69291506100fa565b5090565b5b808211156100f657600081556001016100fb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561013857600080fd5b82516001600160a01b038116811461014f57600080fd5b602084810151919350906001600160401b038082111561016e57600080fd5b818601915086601f83011261018257600080fd5b8151818111156101945761019461010f565b604051601f8201601f19908116603f011681019083821181831017156101bc576101bc61010f565b8160405282815289868487010111156101d457600080fd5b600093505b828410156101f657848401860151818501870152928501926101d9565b828411156102075760008684830101525b8096505050505050509250929050565b600181811c9082168061022b57607f821691505b6020821081141561024c57634e487b7160e01b600052602260045260246000fd5b50919050565b610354806102616000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",deployedBytecode:"0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var DGe=D((Q6a,hzt)=>{hzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var PGe=D((V6a,mzt)=>{mzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var LGe=D((Y6a,bzt)=>{bzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var FGe=D(($6a,yzt)=>{yzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var NGe=D((J6a,gzt)=>{gzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var OGe=D((X6a,vzt)=>{vzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var UGe=D((Z6a,wzt)=>{wzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var HGe=D((eda,Tzt)=>{Tzt.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var zGe=D((tda,xzt)=>{xzt.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var WGe=D((nda,Ezt)=>{Ezt.exports={_format:"hh-sol-artifact-1",contractName:"IL2StandardERC20",sourceName:"contracts/standards/IL2StandardERC20.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var qGe=D((ada,_zt)=>{_zt.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardERC20",sourceName:"contracts/standards/L2StandardERC20.sol",abi:[{inputs:[{internalType:"address",name:"_l2Bridge",type:"address"},{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var HKe=D(fq=>{"use strict";u();p();Object.defineProperty(fq,"__esModule",{value:!0});fq.getContractArtifact=void 0;var jGe;try{jGe=Vje()}catch{}var GGe;try{GGe=Yje()}catch{}var KGe;try{KGe=$je()}catch{}var QGe;try{QGe=Jje()}catch{}var VGe;try{VGe=Xje()}catch{}var YGe;try{YGe=Zje()}catch{}var $Ge;try{$Ge=eGe()}catch{}var JGe;try{JGe=tGe()}catch{}var XGe;try{XGe=nGe()}catch{}var ZGe;try{ZGe=aGe()}catch{}var eKe;try{eKe=rGe()}catch{}var tKe;try{tKe=fGe()}catch{}var nKe;try{nKe=iGe()}catch{}var aKe;try{aKe=sGe()}catch{}var rKe;try{rKe=oGe()}catch{}var fKe;try{fKe=cGe()}catch{}var iKe;try{iKe=dGe()}catch{}var sKe;try{sKe=lGe()}catch{}var oKe;try{oKe=uGe()}catch{}var cKe;try{cKe=pGe()}catch{}var dKe;try{dKe=hGe()}catch{}var lKe;try{lKe=mGe()}catch{}var uKe;try{uKe=bGe()}catch{}var pKe;try{pKe=yGe()}catch{}var hKe;try{hKe=gGe()}catch{}var mKe;try{mKe=vGe()}catch{}var bKe;try{bKe=wGe()}catch{}var yKe;try{yKe=TGe()}catch{}var gKe;try{gKe=xGe()}catch{}var vKe;try{vKe=EGe()}catch{}var wKe;try{wKe=_Ge()}catch{}var TKe;try{TKe=AGe()}catch{}var xKe;try{xKe=IGe()}catch{}var EKe;try{EKe=CGe()}catch{}var _Ke;try{_Ke=kGe()}catch{}var AKe;try{AKe=SGe()}catch{}var IKe;try{IKe=RGe()}catch{}var CKe;try{CKe=MGe()}catch{}var kKe;try{kKe=BGe()}catch{}var SKe;try{SKe=DGe()}catch{}var RKe;try{RKe=PGe()}catch{}var MKe;try{MKe=LGe()}catch{}var BKe;try{BKe=FGe()}catch{}var DKe;try{DKe=NGe()}catch{}var PKe;try{PKe=OGe()}catch{}var LKe;try{LKe=UGe()}catch{}var FKe;try{FKe=HGe()}catch{}var NKe;try{NKe=zGe()}catch{}var OKe;try{OKe=WGe()}catch{}var UKe;try{UKe=qGe()}catch{}var Azt=t=>({iL1ChugSplashDeployer:jGe,L1ChugSplashProxy:GGe,AddressDictator:KGe,ChugSplashDictator:QGe,IL1CrossDomainMessenger:VGe,IL1ERC20Bridge:YGe,IL1StandardBridge:$Ge,L1CrossDomainMessenger:JGe,L1StandardBridge:XGe,CanonicalTransactionChain:ZGe,ChainStorageContainer:eKe,ICanonicalTransactionChain:tKe,IChainStorageContainer:nKe,IStateCommitmentChain:aKe,StateCommitmentChain:rKe,BondManager:fKe,IBondManager:iKe,IL2CrossDomainMessenger:sKe,IL2ERC20Bridge:oKe,L2CrossDomainMessenger:cKe,L2StandardBridge:dKe,L2StandardTokenFactory:lKe,iOVM_L1BlockNumber:uKe,iOVM_L2ToL1MessagePasser:pKe,OVM_DeployerWhitelist:hKe,OVM_ETH:mKe,OVM_GasPriceOracle:bKe,OVM_L2ToL1MessagePasser:yKe,OVM_SequencerFeeVault:gKe,WETH9:vKe,CrossDomainEnabled:wKe,ICrossDomainMessenger:TKe,Lib_CrossDomainUtils:xKe,Lib_OVMCodec:EKe,Lib_DefaultValues:_Ke,Lib_PredeployAddresses:AKe,Lib_AddressManager:IKe,Lib_AddressResolver:CKe,Lib_ResolvedDelegateProxy:kKe,Lib_RLPReader:SKe,Lib_RLPWriter:RKe,Lib_MerkleTrie:MKe,Lib_SecureMerkleTrie:BKe,Lib_Buffer:DKe,Lib_Bytes32Utils:PKe,Lib_BytesUtils:LKe,Lib_MerkleTree:FKe,AddressAliasHelper:NKe,IL2StandardERC20:OKe,L2StandardERC20:UKe})[t];fq.getContractArtifact=Azt});var zKe=D(iq=>{"use strict";u();p();Object.defineProperty(iq,"__esModule",{value:!0});iq.getDeployedContractArtifact=void 0;var Izt={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x406905414D6c250C186F4616EFA38D5fc0759437"},Czt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xfC2ab6987C578218f99E85d61Dcf4814A26637Bd"},kzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D"},Szt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x4325Ac17c7fF5Afc0d05335dD30Db3D010455813"},Rzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x41eF5DaF4A7719bfe89A88BA3DD0DCFF5feCeD39"},Mzt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x0e62FAf76a0239827f35f41478b521293e06195a"},Bzt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x65DD71354923A51fC00DaE41A39F37eBB66549d4"},Dzt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111"},Pzt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x2eB424e0930E93Cf250e488f6117a929714Bb928"},Lzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},Fzt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"},Nzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378"},Ozt={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x7a74f7934a233e10E8757264132B2E4EbccF5098"},Uzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xcd626E1328b41fCF24737F137BcD4CE0c32bc8d1"},Hzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x5E4e65926BA27467555EB562121fac00D24E9dD2"},zzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xD16463EF9b0338CE3D73309028ef1714D220c024"},Wzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xb0ddFf09c4019e31960de11bD845E836078E8EbE"},qzt={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xD86065136E3ab1e3FCBbf47B59404c08A431051A"},jzt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x29Ea454F8f2750e345E52e302A0c09f1A5215AC7"},Gzt={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"},Kzt={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xd9166833FF12A5F900ccfBf2c8B62a90F1Ca1FD5"},Qzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},Vzt={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"},Yzt={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19"},$zt={abi:[{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxBalance",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"balance",type:"uint256"}],name:"BalanceWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"depositId",type:"uint256"},{indexed:!0,internalType:"address",name:"emitter",type:"address"},{indexed:!0,internalType:"uint256",name:"amount",type:"uint256"}],name:"EtherReceived",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousBalance",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newBalance",type:"uint256"}],name:"MaxBalanceSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MaxDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MinDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"maxBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"minDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"}],name:"setMaxAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxBalance",type:"uint256"}],name:"setMaxBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"}],name:"setMinAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalDeposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x52ec2F3d7C5977A8E558C8D9C6000B615098E8fC"},Jzt=(t,e)=>({goerli__AddressDictator:Izt,goerli__BondManager:Czt,goerli__CanonicalTransactionChain:kzt,goerli__ChainStorageContainer_CTC_batches:Szt,goerli__ChainStorageContainer_SCC_batches:Rzt,goerli__ChugSplashDictator:Mzt,goerli__L1StandardBridge_for_verification_only:Bzt,goerli__Lib_AddressManager:Dzt,goerli__OVM_L1CrossDomainMessenger:Pzt,goerli__Proxy__OVM_L1CrossDomainMessenger:Lzt,goerli__Proxy__OVM_L1StandardBridge:Fzt,goerli__StateCommitmentChain:Nzt,mainnet__AddressDictator:Ozt,mainnet__BondManager:Uzt,mainnet__CanonicalTransactionChain:Hzt,mainnet__ChainStorageContainer_CTC_batches:zzt,mainnet__ChainStorageContainer_SCC_batches:Wzt,mainnet__ChugSplashDictator:qzt,mainnet__L1StandardBridge_for_verification_only:jzt,mainnet__Lib_AddressManager:Gzt,mainnet__OVM_L1CrossDomainMessenger:Kzt,mainnet__Proxy__OVM_L1CrossDomainMessenger:Qzt,mainnet__Proxy__OVM_L1StandardBridge:Vzt,mainnet__StateCommitmentChain:Yzt,mainnet__TeleportrDeposit:$zt})[(e+"__"+t).replace(/-/g,"_")];iq.getDeployedContractArtifact=Jzt});var qKe=D(B6=>{"use strict";u();p();Object.defineProperty(B6,"__esModule",{value:!0});B6.getContractFactory=B6.getContractInterface=B6.getDeployedContractDefinition=B6.getContractDefinition=void 0;var WKe=Je(),Xzt=t=>{let{getContractArtifact:e}=HKe(),n=e(t);if(n===void 0)throw new Error(`Unable to find artifact for contract: ${t}`);return n};B6.getContractDefinition=Xzt;var Zzt=(t,e)=>{let{getDeployedContractArtifact:n}=zKe(),a=n(t,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${t}`);return a};B6.getDeployedContractDefinition=Zzt;var eWt=t=>{let e=(0,B6.getContractDefinition)(t);return new WKe.ethers.utils.Interface(e.abi)};B6.getContractInterface=eWt;var tWt=(t,e)=>{let n=(0,B6.getContractDefinition)(t),a=(0,B6.getContractInterface)(t);return new WKe.ethers.ContractFactory(a,n.bytecode,e)};B6.getContractFactory=tWt});var jKe=D(Cx=>{"use strict";u();p();Object.defineProperty(Cx,"__esModule",{value:!0});Cx.futurePredeploys=Cx.predeploys=void 0;Cx.predeploys={OVM_L2ToL1MessagePasser:"0x4200000000000000000000000000000000000000",OVM_DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",OVM_GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",OVM_SequencerFeeVault:"0x4200000000000000000000000000000000000011",L2StandardTokenFactory:"0x4200000000000000000000000000000000000012",OVM_L1BlockNumber:"0x4200000000000000000000000000000000000013",OVM_ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006"};Cx.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var kx=D(Mm=>{"use strict";u();p();var nWt=Mm&&Mm.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),GKe=Mm&&Mm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&nWt(e,t,n)};Object.defineProperty(Mm,"__esModule",{value:!0});GKe(qKe(),Mm);GKe(jKe(),Mm)});var n1e=D((vda,aWt)=>{aWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositERC20",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositERC20To",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeERC20Withdrawal",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeETHWithdrawal",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20DepositInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20WithdrawalFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHDepositInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHWithdrawalFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b620005511760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001062000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612c4d80620002446000396000f3fe6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;3691:157;;;;;;;;;-1:-1:-1;3732:109:128::1;3786:1;::::0;3732:10:::1;:109::i;:::-;1209:12690:::0;;4055:322;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4173:16:128::1;:36:::0;;-1:-1:-1;;;;;;4173:36:128::1;-1:-1:-1::0;;;;;4173:36:128;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;4055:322:128;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1209:12690:128;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:128:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;4658:81:128::1;4678:10;4690;1343:7:230;4729:9:128;;;;;;;;;;;::::0;4658:19:::1;:81::i;:::-;1209:12690:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;8758:245:128:-;;;;;;:::i;:::-;;:::i;11717:902:230:-;;;;;;:::i;:::-;;:::i;3586:40:128:-;;;;;;;;;;-1:-1:-1;3586:40:128;;;;;;;;;;;3607:42:350;3595:55;;;3577:74;;3565:2;3550:18;3586:40:128;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;4055:322:128;;;;;;;;;;-1:-1:-1;4055:322:128;;;;;:::i;:::-;;:::i;10804:349:230:-;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;3481:40:128:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7066:339::-;;;;;;;;;;-1:-1:-1;7066:339:128;;;;;:::i;:::-;;:::i;4418:103::-;;;;;;;;;;;;;:::i;:::-;;;7155:14:350;;7148:22;7130:41;;7118:2;7103:18;4418:103:128;6990:187:350;6369:98:230;;;;;;;;;;-1:-1:-1;6449:11:230;;;;6369:98;;8106:339:128;;;;;;;;;;-1:-1:-1;8106:339:128;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;7985:25:350;;;7973:2;7958:18;1739:63:230;7839:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;6242:179:128;;;;;;:::i;:::-;;:::i;9453:305::-;;;;;;;;;;-1:-1:-1;9453:305:128;;;;;:::i;:::-;;:::i;5183:179::-;;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;10356:196:128:-;10478:67;10497:5;10504:3;10509:9;10520:12;10534:10;10478:18;:67::i;:::-;10356:196;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;13610:8:::1;:6;:8::i;:::-;:17;13602:52;;;::::0;::::1;::::0;;9805:2:350;13602:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;13602:52:230::1;9603:346:350::0;13602:52:230::1;13668:37;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10156:2:350;13721:179:230::1;::::0;::::1;10138:21:350::0;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;13721:179:230::1;9954:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10629:55:350::0;;;13915:53:230::1;::::0;::::1;10611:74:350::0;10701:18;;;10694:34;;;13915:39:230;::::1;::::0;::::1;::::0;10584:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;:::-;13351:1084:::0;;;;;;;:::o;7253:186::-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;8758:245:128:-;8946:50;8964:5;8971:3;8976:7;8985:10;;8946:17;:50::i;:::-;8758:245;;;;;:::o;11717:902:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:350;4961:204:230;;;9313:21:350;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:230;9129:469:350;4961:204:230;11931:8:::1;:6;:8::i;:::-;:17;11923:52;;;::::0;::::1;::::0;;9805:2:350;11923:52:230::1;::::0;::::1;9787:21:350::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;11923:52:230::1;9603:346:350::0;11923:52:230::1;12006:7;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11260:2:350;11985:91:230::1;::::0;::::1;11242:21:350::0;11299:2;11279:18;;;11272:30;11338:34;11318:18;;;11311:62;11409:28;11389:18;;;11382:56;11455:19;;11985:91:230::1;11058:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11687:2:350;12086:68:230::1;::::0;::::1;11669:21:350::0;11726:2;11706:18;;;11699:30;11765:34;11745:18;;;11738:62;11836:5;11816:18;;;11809:33;11859:19;;12086:68:230::1;11485:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12091:2:350;12164:78:230::1;::::0;::::1;12073:21:350::0;12130:2;12110:18;;;12103:30;12169:34;12149:18;;;12142:62;12240:10;12220:18;;;12213:38;12268:19;;12164:78:230::1;11889:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12500:2:350;12557:55:230::1;::::0;::::1;12482:21:350::0;12539:2;12519:18;;;12512:30;12578:34;12558:18;;;12551:62;12649:5;12629:18;;;12622:33;12672:19;;12557:55:230::1;12298:399:350::0;12557:55:230::1;11913:706;11717:902:::0;;;;;:::o;4055:322:128:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;12904:2:350;3146:190:41;;;12886:21:350;12943:2;12923:18;;;12916:30;12982:34;12962:18;;;12955:62;13053:16;13033:18;;;13026:44;13087:19;;3146:190:41;12702:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4173:16:128::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:194::1;4219:21:128;:151::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13269:36:350;;3531:14:41;;13257:2:350;13242:18;3531:14:41;;;;;;;3090:472;4055:322:128;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;7066:339:128:-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7298:100:128::1;7320:8;7330;7340:10;7352;7364:7;7373:12;7387:10;;7298:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7298:21:128::1;::::0;-1:-1:-1;;;7298:100:128:i:1;4418:103::-:0;4489:16;;:25;;;;;;;;4466:4;;4489:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4482:32;;4418:103;:::o;8106:339::-;8345:93;8367:8;8377;8387:10;8399:3;8404:7;8413:12;8427:10;;8345:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8345:21:128;;-1:-1:-1;;;8345:93:128:i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;6242:179:128:-:0;6352:62;6372:10;6384:3;6389:12;6403:10;;6352:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6352:19:128;;-1:-1:-1;;;6352:62:128:i;9453:305::-;9679:72;9699:8;9709;9719:5;9726:3;9731:7;9740:10;;9679:19;:72::i;5183:179::-;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;5286:69:128::1;5306:10;5318;5330:12;5344:10;;5286:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;5286:19:128::1;::::0;-1:-1:-1;;;5286:69:128:i:1;8450:186:230:-:0;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13800:2:350;15219:95:230;;;13782:21:350;13839:2;13819:18;;;13812:30;13878:34;13858:18;;;13851:62;13949:32;13929:18;;;13922:60;13999:19;;15219:95:230;13598:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10641:42:350;10629:55;;902:58:50;;;10611:74:350;10701:18;;;10694:34;;;875:86:50;;895:5;;925:23;;10584:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;13450:447:128:-;13757:5;13705:84;;13743:12;13705:84;;13730:11;13705:84;;;13764:3;13769:7;13778:10;13705:84;;;;;;;;:::i;:::-;;;;;;;;13799:91;13831:11;13844:12;13858:5;13865:3;13870:7;13879:10;13799:31;:91::i;12208:328::-;12432:3;12402:55;;12425:5;12402:55;;;12437:7;12446:10;12402:55;;;;;;;:::i;:::-;;;;;;;;12467:62;12497:5;12504:3;12509:7;12518:10;12467:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;15885:2:350;4880:69:41;;;15867:21:350;15924:2;15904:18;;;15897:30;15963:34;15943:18;;;15936:62;16034:13;16014:18;;;16007:41;16065:19;;4880:69:41;15683:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10156:2:350;16820:179:230;;;10138:21:350;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;16820:179:230;9954:478:350;16820:179:230;17014:55;;;;;:39;10629:55:350;;;17014::230;;;10611:74:350;10701:18;;;10694:34;;;17014:39:230;;;;;10584:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;11078:345:128:-;11329:87;11350:8;11360;11370:5;11377:3;11382:7;11391:12;11405:10;11329:20;:87::i;11651:325::-;11872:3;11845:52;;11865:5;11845:52;;;11877:7;11886:10;11845:52;;;;;;;:::i;:::-;;;;;;;;11907:62;11937:5;11944:3;11949:7;11958:10;11907:29;:62::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17109:2:350;4351:85:50;;;17091:21:350;17148:2;17128:18;;;17121:30;17187:34;17167:18;;;17160:62;17258:12;17238:18;;;17231:40;17288:19;;4351:85:50;16907:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;974:241:50:-;1139:68;;17530:42:350;17599:15;;;1139:68:50;;;17581:34:350;17651:15;;17631:18;;;17624:43;17683:18;;;17676:34;;;1112:96:50;;1132:5;;1162:27;;17493:18:350;;1139:68:50;17318:398:350;12771:444:128;13075:5;13026:81;;13061:12;13026:81;;13048:11;13026:81;;;13082:3;13087:7;13096:10;13026:81;;;;;;;;:::i;:::-;;;;;;;;13117:91;13149:11;13162:12;13176:5;13183:3;13188:7;13197:10;13117:31;:91::i;19966:251:230:-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;17895:66:350;17883:79;;4385:71:65;;;;17865:98:350;;;;4385:71:65;;;;;;;;;;17838:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;21371:341:230:-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;4948:499:57:-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18176:2:350;5137:81:57;;;18158:21:350;18215:2;18195:18;;;18188:30;18254:34;18234:18;;;18227:62;18325:8;18305:18;;;18298:36;18351:19;;5137:81:57;17974:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18583:2:350;5228:60:57;;;18565:21:350;18622:2;18602:18;;;18595:30;18661:31;18641:18;;;18634:59;18710:18;;5228:60:57;18381:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3924:445::-;4049:6;4057;4110:2;4098:9;4089:7;4085:23;4081:32;4078:52;;;4126:1;4123;4116:12;4078:52;4165:9;4152:23;4184:31;4209:5;4184:31;:::i;:::-;4234:5;-1:-1:-1;4291:2:350;4276:18;;4263:32;4304:33;4263:32;4304:33;:::i;:::-;4356:7;4346:17;;;3924:445;;;;;:::o;4374:969::-;4488:6;4496;4504;4512;4520;4528;4536;4589:3;4577:9;4568:7;4564:23;4560:33;4557:53;;;4606:1;4603;4596:12;4557:53;4645:9;4632:23;4664:31;4689:5;4664:31;:::i;:::-;4714:5;-1:-1:-1;4771:2:350;4756:18;;4743:32;4784:33;4743:32;4784:33;:::i;:::-;4836:7;-1:-1:-1;4895:2:350;4880:18;;4867:32;4908:33;4867:32;4908:33;:::i;:::-;4960:7;-1:-1:-1;5014:2:350;4999:18;;4986:32;;-1:-1:-1;5037:38:350;5070:3;5055:19;;5037:38;:::i;:::-;5027:48;;5126:3;5115:9;5111:19;5098:33;5154:18;5146:6;5143:30;5140:50;;;5186:1;5183;5176:12;5348:258;5420:1;5430:113;5444:6;5441:1;5438:13;5430:113;;;5520:11;;;5514:18;5501:11;;;5494:39;5466:2;5459:10;5430:113;;;5561:6;5558:1;5555:13;5552:48;;;-1:-1:-1;;5596:1:350;5578:16;;5571:27;5348:258::o;5611:317::-;5653:3;5691:5;5685:12;5718:6;5713:3;5706:19;5734:63;5790:6;5783:4;5778:3;5774:14;5767:4;5760:5;5756:16;5734:63;:::i;:::-;5842:2;5830:15;5847:66;5826:88;5817:98;;;;5917:4;5813:109;;5611:317;-1:-1:-1;;5611:317:350:o;5933:220::-;6082:2;6071:9;6064:21;6045:4;6102:45;6143:2;6132:9;6128:18;6120:6;6102:45;:::i;6158:827::-;6263:6;6271;6279;6287;6295;6303;6356:3;6344:9;6335:7;6331:23;6327:33;6324:53;;;6373:1;6370;6363:12;6324:53;6412:9;6399:23;6431:31;6456:5;6431:31;:::i;:::-;6481:5;-1:-1:-1;6538:2:350;6523:18;;6510:32;6551:33;6510:32;6551:33;:::i;:::-;6603:7;-1:-1:-1;6657:2:350;6642:18;;6629:32;;-1:-1:-1;6680:37:350;6713:2;6698:18;;6680:37;:::i;:::-;6670:47;;6768:3;6757:9;6753:19;6740:33;6796:18;6788:6;6785:30;6782:50;;;6828:1;6825;6818:12;6782:50;6867:58;6917:7;6908:6;6897:9;6893:22;6867:58;:::i;:::-;6158:827;;;;-1:-1:-1;6158:827:350;;-1:-1:-1;6158:827:350;;6944:8;;6158:827;-1:-1:-1;;;6158:827:350:o;8252:616::-;8339:6;8347;8355;8363;8416:2;8404:9;8395:7;8391:23;8387:32;8384:52;;;8432:1;8429;8422:12;8384:52;8471:9;8458:23;8490:31;8515:5;8490:31;:::i;:::-;8540:5;-1:-1:-1;8564:37:350;8597:2;8582:18;;8564:37;:::i;:::-;8554:47;;8652:2;8641:9;8637:18;8624:32;8679:18;8671:6;8668:30;8665:50;;;8711:1;8708;8701:12;8665:50;8750:58;8800:7;8791:6;8780:9;8776:22;8750:58;:::i;:::-;8252:616;;;;-1:-1:-1;8827:8:350;-1:-1:-1;;;;8252:616:350:o;8873:251::-;8943:6;8996:2;8984:9;8975:7;8971:23;8967:32;8964:52;;;9012:1;9009;9002:12;8964:52;9044:9;9038:16;9063:31;9088:5;9063:31;:::i;10739:184::-;10791:77;10788:1;10781:88;10888:4;10885:1;10878:15;10912:4;10909:1;10902:15;10928:125;10968:4;10996:1;10993;10990:8;10987:34;;;11001:18;;:::i;:::-;-1:-1:-1;11038:9:350;;10928:125::o;13316:277::-;13383:6;13436:2;13424:9;13415:7;13411:23;13407:32;13404:52;;;13452:1;13449;13442:12;13404:52;13484:9;13478:16;13537:5;13530:13;13523:21;13516:5;13513:32;13503:60;;13559:1;13556;13549:12;14029:512;14223:4;14252:42;14333:2;14325:6;14321:15;14310:9;14303:34;14385:2;14377:6;14373:15;14368:2;14357:9;14353:18;14346:43;;14425:6;14420:2;14409:9;14405:18;14398:34;14468:3;14463:2;14452:9;14448:18;14441:31;14489:46;14530:3;14519:9;14515:19;14507:6;14489:46;:::i;:::-;14481:54;14029:512;-1:-1:-1;;;;;;14029:512:350:o;14546:424::-;14759:42;14751:6;14747:55;14736:9;14729:74;14839:2;14834;14823:9;14819:18;14812:30;14710:4;14859:45;14900:2;14889:9;14885:18;14877:6;14859:45;:::i;:::-;14851:53;;14952:10;14944:6;14940:23;14935:2;14924:9;14920:18;14913:51;14546:424;;;;;;:::o;14975:409::-;15190:42;15182:6;15178:55;15167:9;15160:74;15270:6;15265:2;15254:9;15250:18;15243:34;15313:2;15308;15297:9;15293:18;15286:30;15141:4;15333:45;15374:2;15363:9;15359:18;15351:6;15333:45;:::i;:::-;15325:53;14975:409;-1:-1:-1;;;;;14975:409:350:o;15389:289::-;15564:6;15553:9;15546:25;15607:2;15602;15591:9;15587:18;15580:30;15527:4;15627:45;15668:2;15657:9;15653:18;15645:6;15627:45;:::i;16095:128::-;16135:3;16166:1;16162:6;16159:1;16156:13;16153:39;;;16172:18;;:::i;:::-;-1:-1:-1;16208:9:350;;16095:128::o;16228:674::-;16478:4;16507:42;16588:2;16580:6;16576:15;16565:9;16558:34;16640:2;16632:6;16628:15;16623:2;16612:9;16608:18;16601:43;16692:2;16684:6;16680:15;16675:2;16664:9;16660:18;16653:43;16744:2;16736:6;16732:15;16727:2;16716:9;16712:18;16705:43;;16785:6;16779:3;16768:9;16764:19;16757:35;16829:3;16823;16812:9;16808:19;16801:32;16850:46;16891:3;16880:9;16876:19;16868:6;16850:46;:::i;:::-;16842:54;16228:674;-1:-1:-1;;;;;;;;16228:674:350:o;18739:274::-;18868:3;18906:6;18900:13;18922:53;18968:6;18963:3;18956:4;18948:6;18944:17;18922:53;:::i;:::-;18991:16;;;;;18739:274;-1:-1:-1;;18739:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","depositERC20(address,address,uint256,uint32,bytes)":"58a997f6","depositERC20To(address,address,address,uint256,uint32,bytes)":"838b2520","depositETH(uint32,bytes)":"b1a1a882","depositETHTo(address,uint32,bytes)":"9a2ac6d5","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":"a9f9e675","finalizeETHWithdrawal(address,address,uint256,bytes)":"1532ec34","initialize(address,address)":"485cc955","l2TokenBridge()":"91c49bf8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:`{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20DepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHDepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHWithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeERC20Withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeETHWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title L1StandardBridge","events":{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is initiated.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 withdrawal is finalized.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a deposit of ETH from L1 into L2 is initiated.","params":{"amount":"Amount of ETH deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","to":"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal of ETH from L2 to L1 is finalized.","params":{"amount":"Amount of ETH withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.","params":{"_amount":"Amount of the ERC20 to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_l1Token":"Address of the token on L1.","_l2Token":"Address of the corresponding token on L2.","_to":"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.","params":{"_amount":"Amount of ETH to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_to":"Address of the recipient on L1."}},"initialize(address,address)":{"params":{"_messenger":"Contract for the CrossDomainMessenger on this network.","_superchainConfig":"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.","returns":{"_0":"Address of the corresponding L2 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use \`messenger\` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use \`otherBridge\` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L1StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1StandardBridge.sol":{"keccak256":"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633","license":"MIT","urls":["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}`,metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20DepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHDepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHWithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeERC20Withdrawal"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeETHWithdrawal"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.",params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.",params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.",returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1StandardBridge.sol":{keccak256:"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633",urls:["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"},{astId:82468,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},events:{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{params:{amount:"Amount of ETH deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",to:"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{params:{amount:"Amount of ETH withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",to:"Address of the recipient on L1."}}}},id:128}});var a1e=D((wda,rWt)=>{rWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeDeposit",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_otherBridge",type:"address",internalType:"contract StandardBridge"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"withdraw",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"withdrawTo",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"DepositFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"WithdrawalInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b620004811760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612a8380620002276000396000f3fe60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;2615:113;;;;;;;;;-1:-1:-1;2656:65:145::1;2714:1;2656:10;:65::i;:::-;1141:9307:::0;;2849:242;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145::0;2927:21:::1;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;5544:9:230::1;:22:::0;;-1:-1:-1;;;;;5544:22:230;;::::1;-1:-1:-1::0;;;;;;5544:22:230;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:350:-;1141:9307:145;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:145:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;;;;;;;;;3228:143:145::1;2708:42:194;3290:10:145;3302;3314:9;1343:7:230;3352:9:145;;;;;;;;;;;::::0;3228:19:::1;:143::i;:::-;1141:9307:::0;;;;;13351:1084:230;;;;;;;;;;-1:-1:-1;13351:1084:230;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;11717:902::-;;;;;;:::i;:::-;;:::i;3897:313:145:-;;;;;;:::i;:::-;;:::i;6764:101::-;;;;;;;;;;-1:-1:-1;6846:11:145;;;;6764:101;;;4271:42:350;4259:55;;;4241:74;;4229:2;4214:18;6764:101:145;;;;;;;;1893:37:230;;;;;;;;;;-1:-1:-1;1893:37:230;;;;;;;;10804:349;;;;;;;;;;-1:-1:-1;10804:349:230;;;;;:::i;:::-;;:::i;2510:40:145:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6750:82:230:-;;;;;;;;;;-1:-1:-1;6750:82:230;;6797:4;6512:41:350;;6500:2;6485:18;6750:82:230;6372:187:350;6087:505:145;;;;;;:::i;:::-;;:::i;9519:349:230:-;;;;;;;;;;-1:-1:-1;9519:349:230;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:230;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;8199:25:350;;;8187:2;8172:18;1739:63:230;8053:177:350;6024:99:230;;;;;;;;;;-1:-1:-1;6107:9:230;;;;6024:99;;5197:313:145;;;;;;:::i;:::-;;:::i;2849:242::-;;;;;;;;;;-1:-1:-1;2849:242:145;;;;;:::i;:::-;;:::i;2028:33:230:-;;;;;;;;;;-1:-1:-1;2028:33:230;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;7372:554:145:-;7599:39;;;;;7595:325;;7654:65;7673:5;7680:3;7685:7;7694:12;7708:10;7654:18;:65::i;:::-;7595:325;;;7750:15;7790:8;7768:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7750:59;;7823:86;7844:8;7854:7;7863:5;7870:3;7875:7;7884:12;7898:10;7823:20;:86::i;:::-;7736:184;7595:325;7372:554;;;;;;:::o;13351:1084:230:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;13668:37:::1;13693:11;13668:24;:37::i;:::-;13664:489;;;13746:46;13766:11;13779:12;13746:19;:46::i;:::-;13721:179;;;::::0;::::1;::::0;;10416:2:350;13721:179:230::1;::::0;::::1;10398:21:350::0;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;13721:179:230::1;10214:478:350::0;13721:179:230::1;13915:53;::::0;;;;:39:::1;10889:55:350::0;;;13915:53:230::1;::::0;::::1;10871:74:350::0;10961:18;;;10954:34;;;13915:39:230;::::1;::::0;::::1;::::0;10844:18:350;;13915:53:230::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13664:489;;;14037:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;14075:7;;14037:45:::1;:::i;:::-;13999:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;14096:46:::1;::::0;14129:3;14134:7;14096:32:::1;:46::i;:::-;14343:85;14369:11;14382:12;14396:5;14403:3;14408:7;14417:10;;14343:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;14343:25:230::1;::::0;-1:-1:-1;;;14343:85:230:i:1;7253:186::-:0;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:230::1;::::0;-1:-1:-1;;;7353:79:230:i:1;:::-;7253:186:::0;;;:::o;11717:902::-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:230;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:350;4961:204:230;;;9573:21:350;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:230;9389:469:350;4961:204:230;12006:7:::1;11993:9;:20;11985:91;;;::::0;::::1;::::0;;11520:2:350;11985:91:230::1;::::0;::::1;11502:21:350::0;11559:2;11539:18;;;11532:30;11598:34;11578:18;;;11571:62;11669:28;11649:18;;;11642:56;11715:19;;11985:91:230::1;11318:422:350::0;11985:91:230::1;12109:4;12094:20;::::0;::::1;::::0;12086:68:::1;;;::::0;::::1;::::0;;11947:2:350;12086:68:230::1;::::0;::::1;11929:21:350::0;11986:2;11966:18;;;11959:30;12025:34;12005:18;;;11998:62;12096:5;12076:18;;;12069:33;12119:19;;12086:68:230::1;11745:399:350::0;12086:68:230::1;12187:9;::::0;::::1;::::0;;::::1;12172:25:::0;;::::1;::::0;12164:78:::1;;;::::0;::::1;::::0;;12351:2:350;12164:78:230::1;::::0;::::1;12333:21:350::0;12390:2;12370:18;;;12363:30;12429:34;12409:18;;;12402:62;12500:10;12480:18;;;12473:38;12528:19;;12164:78:230::1;12149:404:350::0;12164:78:230::1;12420:56;12444:5;12451:3;12456:7;12465:10;;12420:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;12420:23:230::1;::::0;-1:-1:-1;;;12420:56:230:i:1;:::-;12487:12;12502:45;12516:3;12521:9;12532:7;12502:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12487:60;;12565:7;12557:55;;;::::0;::::1;::::0;;12760:2:350;12557:55:230::1;::::0;::::1;12742:21:350::0;12799:2;12779:18;;;12772:30;12838:34;12818:18;;;12811:62;12909:5;12889:18;;;12882:33;12932:19;;12557:55:230::1;12558:399:350::0;3897:313:145;4741:10:230;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;4115:88:145::1;4135:8;4145:10;4157;4169:7;4178:12;4192:10;;4115:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;4115:19:145::1;::::0;-1:-1:-1;;;4115:88:145:i:1;:::-;3897:313:::0;;;;;:::o;10804:349:230:-;11047:99;11068:11;11081:12;11095:10;11107:3;11112:7;11121:12;11135:10;;11047:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11047:20:230;;-1:-1:-1;;;11047:99:230:i;6087:505:145:-;6341:22;;;;:65;;;;-1:-1:-1;6367:39:145;;;2708:42:194;6367:39:145;6341:65;6337:249;;;6422:50;6440:5;6447:3;6452:7;6461:10;;6422:17;:50::i;:::-;6337:249;;;6503:72;6523:8;6533;6543:5;6550:3;6555:7;6564:10;;6503:19;:72::i;9519:349:230:-;4741:10;1465:19:57;:23;4713:99:230;;;;;;;216:2:350;4713:99:230;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:230;14:419:350;4713:99:230;9755:106:::1;9776:11;9789:12;9803:10;9815;9827:7;9836:12;9850:10;;9755:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9755:20:230::1;::::0;-1:-1:-1;;;9755:106:230:i:1;5197:313:145:-:0;5422:81;5442:8;5452:10;5464:3;5469:7;5478:12;5492:10;;5422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5422:19:145;;-1:-1:-1;;;5422:81:145:i;2849:242::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;13164:2:350;3146:190:41;;;13146:21:350;13203:2;13183:18;;;13176:30;13242:34;13222:18;;;13215:62;13313:16;13293:18;;;13286:44;13347:19;;3146:190:41;12962:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2927:157:145::1;480:42:194;3061:12:145;2927:21;:157::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13529:36:350;;3531:14:41;;13517:2:350;13502:18;3531:14:41;;;;;;;3457:99;3090:472;2849:242:145;:::o;8450:186:230:-;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:230;;-1:-1:-1;;;8557:72:230:i;:::-;8450:186;;;;:::o;15023:789::-;15240:7;15227:9;:20;15219:95;;;;;;;13778:2:350;15219:95:230;;;13760:21:350;13817:2;13797:18;;;13790:30;13856:34;13836:18;;;13829:62;13927:32;13907:18;;;13900:60;13977:19;;15219:95:230;13576:426:350;15219:95:230;15492:56;15516:5;15523:3;15528:7;15537:10;15492:23;:56::i;:::-;15559:9;;15630:11;;15666:88;;15559:9;;;;;:21;;15589:7;;15630:11;;;15689:31;;15666:88;;15722:5;;15729:3;;15589:7;;15743:10;;15666:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15559:246;;;;;;;;;;;;;15782:12;;15559:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15023:789;;;;;:::o;16506:1684::-;16767:37;16792:11;16767:24;:37::i;:::-;16763:512;;;16845:46;16865:11;16878:12;16845:19;:46::i;:::-;16820:179;;;;;;;10416:2:350;16820:179:230;;;10398:21:350;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;16820:179:230;10214:478:350;16820:179:230;17014:55;;;;;:39;10889:55:350;;;17014::230;;;10871:74:350;10961:18;;;10954:34;;;17014:39:230;;;;;10844:18:350;;17014:55:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16763:512;;;17100:67;:36;;;17137:5;17152:4;17159:7;17100:36;:67::i;:::-;17219:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;17257:7;;17219:45;:::i;:::-;17181:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16763:512;17465:85;17491:11;17504:12;17518:5;17525:3;17530:7;17539:10;17465:25;:85::i;:::-;17561:9;;17614:11;;17650:482;;17561:9;;;;;:21;;17614:11;;17690:33;;17650:482;;17976:12;;18006:11;;18035:5;;18058:3;;18079:7;;18104:10;;17650:482;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17561:622;;;;;;;;;;;;;18160:12;;17561:622;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16506:1684;;;;;;;:::o;18454:279::-;18527:4;18550:79;18582:6;18590:38;18550:31;:79::i;:::-;:176;;;;18645:81;18677:6;18685:40;18645:31;:81::i;:::-;18543:183;18454:279;-1:-1:-1;;18454:279:230:o;19180:410::-;19277:4;19297:87;19329:14;19345:38;19297:31;:87::i;:::-;19293:291;;;19443:14;19422:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19407:61;;:11;:61;;;19400:68;;;;19293:291;19544:14;19521:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:50;902:58;;10901:42:350;10889:55;;902:58:50;;;10871:74:350;10961:18;;;10954:34;;;875:86:50;;895:5;;925:23;;10844:18:350;;902:58:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;10007:439:145:-;10306:5;10262:76;;10293:11;10262:76;;10279:12;10262:76;;;10313:3;10318:7;10327:10;10262:76;;;;;;;;:::i;:::-;;;;;;;;10348:91;10380:11;10393:12;10407:5;10414:3;10419:7;10428:10;10348:31;:91::i;8745:363::-;8997:5;8939:90;;2708:42:194;8939:90:145;;8964:1;8939:90;;;9004:3;9009:7;9018:10;8939:90;;;;;;;;:::i;:::-;;;;;;;;9039:62;9069:5;9076:3;9081:7;9090:10;9039:29;:62::i;1202:536:195:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;5373:236:230:-;4888:13:41;;;;;;;4880:69;;;;;;;16381:2:350;4880:69:41;;;16363:21:350;16420:2;16400:18;;;16393:30;16459:34;16439:18;;;16432:62;16530:13;16510:18;;;16503:41;16561:19;;4880:69:41;16179:407:350;4880:69:41;5544:9:230::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;8154:366:145:-;8409:5;8348:93;;2708:42:194;8348:93:145;;8376:1;8348:93;;;8416:3;8421:7;8430:10;8348:93;;;;;;;;:::i;:::-;;;;;;;;8451:62;8481:5;8488:3;8493:7;8502:10;8451:29;:62::i;974:241:50:-;1139:68;;16803:42:350;16872:15;;;1139:68:50;;;16854:34:350;16924:15;;16904:18;;;16897:43;16956:18;;;16949:34;;;1112:96:50;;1132:5;;1162:27;;16766:18:350;;1139:68:50;16591:398:350;9338:442:145;9640:5;9593:79;;9627:11;9593:79;;9613:12;9593:79;;;9647:3;9652:7;9661:10;9593:79;;;;;;;;:::i;:::-;;;;;;;;9682:91;9714:11;9727:12;9741:5;9748:3;9753:7;9762:10;9682:31;:91::i;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3747:706:50:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:50;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17478:2:350;4351:85:50;;;17460:21:350;17517:2;17497:18;;;17490:30;17556:34;17536:18;;;17529:62;17627:12;17607:18;;;17600:40;17657:19;;4351:85:50;17276:406:350;22245:341:230;22547:5;22499:80;;22533:12;22499:80;;22520:11;22499:80;;;22554:3;22559:7;22568:10;22499:80;;;;;;;;:::i;:::-;;;;;;;;22245:341;;;;;;:::o;20587:251::-;20806:3;20780:51;;20799:5;20780:51;;;20811:7;20820:10;20780:51;;;;;;;:::i;:::-;;;;;;;;20587:251;;;;:::o;19966:::-;20185:3;20159:51;;20178:5;20159:51;;;20190:7;20199:10;20159:51;;;;;;;:::i;21371:341::-;21673:5;21625:80;;21659:12;21625:80;;21646:11;21625:80;;;21680:3;21685:7;21694:10;21625:80;;;;;;;;:::i;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;18155:66:350;18143:79;;4385:71:65;;;;18125:98:350;;;;4385:71:65;;;;;;;;;;18098:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;3861:223:57:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:57:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18436:2:350;5137:81:57;;;18418:21:350;18475:2;18455:18;;;18448:30;18514:34;18494:18;;;18487:62;18585:8;18565:18;;;18558:36;18611:19;;5137:81:57;18234:402:350;5137:81:57;1465:19;;;;5228:60;;;;;;;18843:2:350;5228:60:57;;;18825:21:350;18882:2;18862:18;;;18855:30;18921:31;18901:18;;;18894:59;18970:18;;5228:60:57;18641:353:350;5228:60:57;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:57;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:350:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:350;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:350;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:350;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:350;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:350;1699:19;;1686:33;;-1:-1:-1;1770:3:350;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:350;;-1:-1:-1;949:1038:350;;;;1843:84;;-1:-1:-1;;;949:1038:350:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:350;;-1:-1:-1;;;;2160:481:350:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:350;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:350;3114:18;;3101:32;;-1:-1:-1;3184:2:350;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:350;;-1:-1:-1;3359:8:350;;3256:84;2646:754;-1:-1:-1;;;2646:754:350:o;3405:685::-;3501:6;3509;3517;3525;3533;3586:3;3574:9;3565:7;3561:23;3557:33;3554:53;;;3603:1;3600;3593:12;3554:53;3642:9;3629:23;3661:31;3686:5;3661:31;:::i;:::-;3711:5;-1:-1:-1;3763:2:350;3748:18;;3735:32;;-1:-1:-1;3786:37:350;3819:2;3804:18;;3786:37;:::i;:::-;3776:47;;3874:2;3863:9;3859:18;3846:32;3901:18;3893:6;3890:30;3887:50;;;3933:1;3930;3923:12;4588:969;4702:6;4710;4718;4726;4734;4742;4750;4803:3;4791:9;4782:7;4778:23;4774:33;4771:53;;;4820:1;4817;4810:12;4771:53;4859:9;4846:23;4878:31;4903:5;4878:31;:::i;:::-;4928:5;-1:-1:-1;4985:2:350;4970:18;;4957:32;4998:33;4957:32;4998:33;:::i;:::-;5050:7;-1:-1:-1;5109:2:350;5094:18;;5081:32;5122:33;5081:32;5122:33;:::i;:::-;5174:7;-1:-1:-1;5228:2:350;5213:18;;5200:32;;-1:-1:-1;5251:38:350;5284:3;5269:19;;5251:38;:::i;:::-;5241:48;;5340:3;5329:9;5325:19;5312:33;5368:18;5360:6;5357:30;5354:50;;;5400:1;5397;5390:12;5562:258;5634:1;5644:113;5658:6;5655:1;5652:13;5644:113;;;5734:11;;;5728:18;5715:11;;;5708:39;5680:2;5673:10;5644:113;;;5775:6;5772:1;5769:13;5766:48;;;-1:-1:-1;;5810:1:350;5792:16;;5785:27;5562:258::o;5825:317::-;5867:3;5905:5;5899:12;5932:6;5927:3;5920:19;5948:63;6004:6;5997:4;5992:3;5988:14;5981:4;5974:5;5970:16;5948:63;:::i;:::-;6056:2;6044:15;6061:66;6040:88;6031:98;;;;6131:4;6027:109;;5825:317;-1:-1:-1;;5825:317:350:o;6147:220::-;6296:2;6285:9;6278:21;6259:4;6316:45;6357:2;6346:9;6342:18;6334:6;6316:45;:::i;6828:827::-;6933:6;6941;6949;6957;6965;6973;7026:3;7014:9;7005:7;7001:23;6997:33;6994:53;;;7043:1;7040;7033:12;6994:53;7082:9;7069:23;7101:31;7126:5;7101:31;:::i;:::-;7151:5;-1:-1:-1;7208:2:350;7193:18;;7180:32;7221:33;7180:32;7221:33;:::i;:::-;7273:7;-1:-1:-1;7327:2:350;7312:18;;7299:32;;-1:-1:-1;7350:37:350;7383:2;7368:18;;7350:37;:::i;:::-;7340:47;;7438:3;7427:9;7423:19;7410:33;7466:18;7458:6;7455:30;7452:50;;;7498:1;7495;7488:12;7452:50;7537:58;7587:7;7578:6;7567:9;7563:22;7537:58;:::i;:::-;6828:827;;;;-1:-1:-1;6828:827:350;;-1:-1:-1;6828:827:350;;7614:8;;6828:827;-1:-1:-1;;;6828:827:350:o;7660:388::-;7728:6;7736;7789:2;7777:9;7768:7;7764:23;7760:32;7757:52;;;7805:1;7802;7795:12;7757:52;7844:9;7831:23;7863:31;7888:5;7863:31;:::i;:::-;7913:5;-1:-1:-1;7970:2:350;7955:18;;7942:32;7983:33;7942:32;7983:33;:::i;:::-;8035:7;8025:17;;;7660:388;;;;;:::o;8235:272::-;8319:6;8372:2;8360:9;8351:7;8347:23;8343:32;8340:52;;;8388:1;8385;8378:12;8340:52;8427:9;8414:23;8446:31;8471:5;8446:31;:::i;8512:616::-;8599:6;8607;8615;8623;8676:2;8664:9;8655:7;8651:23;8647:32;8644:52;;;8692:1;8689;8682:12;8644:52;8731:9;8718:23;8750:31;8775:5;8750:31;:::i;:::-;8800:5;-1:-1:-1;8824:37:350;8857:2;8842:18;;8824:37;:::i;:::-;8814:47;;8912:2;8901:9;8897:18;8884:32;8939:18;8931:6;8928:30;8925:50;;;8971:1;8968;8961:12;8925:50;9010:58;9060:7;9051:6;9040:9;9036:22;9010:58;:::i;:::-;8512:616;;;;-1:-1:-1;9087:8:350;-1:-1:-1;;;;8512:616:350:o;9133:251::-;9203:6;9256:2;9244:9;9235:7;9231:23;9227:32;9224:52;;;9272:1;9269;9262:12;9224:52;9304:9;9298:16;9323:31;9348:5;9323:31;:::i;10999:184::-;11051:77;11048:1;11041:88;11148:4;11145:1;11138:15;11172:4;11169:1;11162:15;11188:125;11228:4;11256:1;11253;11250:8;11247:34;;;11261:18;;:::i;:::-;-1:-1:-1;11298:9:350;;11188:125::o;14007:512::-;14201:4;14230:42;14311:2;14303:6;14299:15;14288:9;14281:34;14363:2;14355:6;14351:15;14346:2;14335:9;14331:18;14324:43;;14403:6;14398:2;14387:9;14383:18;14376:34;14446:3;14441:2;14430:9;14426:18;14419:31;14467:46;14508:3;14497:9;14493:19;14485:6;14467:46;:::i;:::-;14459:54;14007:512;-1:-1:-1;;;;;;14007:512:350:o;14524:424::-;14737:42;14729:6;14725:55;14714:9;14707:74;14817:2;14812;14801:9;14797:18;14790:30;14688:4;14837:45;14878:2;14867:9;14863:18;14855:6;14837:45;:::i;:::-;14829:53;;14930:10;14922:6;14918:23;14913:2;14902:9;14898:18;14891:51;14524:424;;;;;;:::o;14953:128::-;14993:3;15024:1;15020:6;15017:1;15014:13;15011:39;;;15030:18;;:::i;:::-;-1:-1:-1;15066:9:350;;14953:128::o;15086:674::-;15336:4;15365:42;15446:2;15438:6;15434:15;15423:9;15416:34;15498:2;15490:6;15486:15;15481:2;15470:9;15466:18;15459:43;15550:2;15542:6;15538:15;15533:2;15522:9;15518:18;15511:43;15602:2;15594:6;15590:15;15585:2;15574:9;15570:18;15563:43;;15643:6;15637:3;15626:9;15622:19;15615:35;15687:3;15681;15670:9;15666:19;15659:32;15708:46;15749:3;15738:9;15734:19;15726:6;15708:46;:::i;:::-;15700:54;15086:674;-1:-1:-1;;;;;;;;15086:674:350:o;15765:409::-;15980:42;15972:6;15968:55;15957:9;15950:74;16060:6;16055:2;16044:9;16040:18;16033:34;16103:2;16098;16087:9;16083:18;16076:30;15931:4;16123:45;16164:2;16153:9;16149:18;16141:6;16123:45;:::i;:::-;16115:53;15765:409;-1:-1:-1;;;;;15765:409:350:o;16994:277::-;17061:6;17114:2;17102:9;17093:7;17089:23;17085:32;17082:52;;;17130:1;17127;17120:12;17082:52;17162:9;17156:16;17215:5;17208:13;17201:21;17194:5;17191:32;17181:60;;17237:1;17234;17227:12;17687:289;17862:6;17851:9;17844:25;17905:2;17900;17889:9;17885:18;17878:30;17825:4;17925:45;17966:2;17955:9;17951:18;17943:6;17925:45;:::i;18999:274::-;19128:3;19166:6;19160:13;19182:53;19228:6;19223:3;19216:4;19208:6;19204:17;19182:53;:::i;:::-;19251:16;;;;;18999:274;-1:-1:-1;;18999:274:350:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeDeposit(address,address,address,address,uint256,bytes)":"662a633a","initialize(address)":"c4d66de8","l1TokenBridge()":"36c717c1","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50","withdraw(address,uint256,uint32,bytes)":"32b7006d","withdrawTo(address,address,uint256,uint32,bytes)":"a3a79548"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"DepositFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"WithdrawalInitiated","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract StandardBridge","name":"_otherBridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdrawTo","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000010","events":{"DepositFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is finalized.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal from L2 to L1 is initiated.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.","params":{"_amount":"Amount of the tokens being deposited.","_extraData":"Extra data attached to the deposit.","_from":"Address of the depositor.","_l1Token":"Address of the L1 token to deposit.","_l2Token":"Address of the corresponding L2 token.","_to":"Address of the recipient."}},"initialize(address)":{"params":{"_otherBridge":"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.","returns":{"_0":"Address of the corresponding L1 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction.","_to":"Recipient account on L1."}}},"stateVariables":{"version":{"custom:semver":"1.8.0"}},"title":"L2StandardBridge","version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver\'s address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender\'s address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver\'s address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L2StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2StandardBridge.sol":{"keccak256":"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629","license":"MIT","urls":["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"DepositFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"WithdrawalInitiated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeDeposit"},{inputs:[{internalType:"contract StandardBridge",name:"_otherBridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdraw"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdrawTo"},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.",params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.",returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2StandardBridge.sol":{keccak256:"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629",urls:["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:107554,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:107557,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:107564,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:107568,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)105498"},{astId:107572,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)108285"},{astId:107577,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain. Note that if the ERC20 token on the other chain does not recognize the local token as the correct pair token, the ERC20 bridge will fail and the tokens will be returned to sender on this chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},events:{"DepositFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}}},title:"L2StandardBridge"},id:145}});var r1e=D((Tda,fWt)=>{fWt.exports={abi:[{type:"constructor",inputs:[{name:"_bridge",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"REMOTE_TOKEN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"l1Token",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"l2Bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"mint",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remoteToken",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"_interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"pure"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Burn",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Mint",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;2268:292;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2440:5;2447:7;2044:5:43;:13;2440:5:224;2044::43;:13;:::i;:::-;-1:-1:-1;2067:7:43;:17;2077:7;2067;:17;:::i;:::-;-1:-1:-1;;;;;;;;2470:27:224;;::::1;;::::0;2507:16;;;::::1;;::::0;-1:-1:-1;;2533:20:224::1;;;::::0;833:4510;;14:177:350;93:13;;-1:-1:-1;;;;;135:31:350;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:885;382:5;435:3;428:4;420:6;416:17;412:27;402:55;;453:1;450;443:12;402:55;476:13;;-1:-1:-1;;;;;538:10:350;;;535:36;;;551:18;;:::i;:::-;626:2;620:9;594:2;680:13;;-1:-1:-1;;676:22:350;;;700:2;672:31;668:40;656:53;;;724:18;;;744:22;;;721:46;718:72;;;770:18;;:::i;:::-;810:10;806:2;799:22;845:2;837:6;830:18;867:4;857:14;;912:3;907:2;902;894:6;890:15;886:24;883:33;880:53;;;929:1;926;919:12;880:53;951:1;942:10;;961:133;975:2;972:1;969:9;961:133;;;1063:14;;;1059:23;;1053:30;1032:14;;;1028:23;;1021:63;986:10;;;;961:133;;;1112:2;1109:1;1106:9;1103:80;;;1171:1;1166:2;1161;1153:6;1149:15;1145:24;1138:35;1103:80;1201:6;328:885;-1:-1:-1;;;;;;328:885:350:o;1218:884::-;1342:6;1350;1358;1366;1374;1427:3;1415:9;1406:7;1402:23;1398:33;1395:53;;;1444:1;1441;1434:12;1395:53;1467:40;1497:9;1467:40;:::i;:::-;1457:50;;1526:49;1571:2;1560:9;1556:18;1526:49;:::i;:::-;1619:2;1604:18;;1598:25;1516:59;;-1:-1:-1;;;;;;1672:14:350;;;1669:34;;;1699:1;1696;1689:12;1669:34;1722:61;1775:7;1766:6;1755:9;1751:22;1722:61;:::i;:::-;1712:71;;1829:2;1818:9;1814:18;1808:25;1792:41;;1858:2;1848:8;1845:16;1842:36;;;1874:1;1871;1864:12;1842:36;;1897:63;1952:7;1941:8;1930:9;1926:24;1897:63;:::i;:::-;1887:73;;;2003:3;1992:9;1988:19;1982:26;2048:4;2041:5;2037:16;2030:5;2027:27;2017:55;;2068:1;2065;2058:12;2017:55;2091:5;2081:15;;;1218:884;;;;;;;;:::o;2107:380::-;2186:1;2182:12;;;;2229;;;2250:61;;2304:4;2296:6;2292:17;2282:27;;2250:61;2357:2;2349:6;2346:14;2326:18;2323:38;2320:161;;2403:10;2398:3;2394:20;2391:1;2384:31;2438:4;2435:1;2428:15;2466:4;2463:1;2456:15;2320:161;;2107:380;;;:::o;2618:545::-;2720:2;2715:3;2712:11;2709:448;;;2756:1;2781:5;2777:2;2770:17;2826:4;2822:2;2812:19;2896:2;2884:10;2880:19;2877:1;2873:27;2867:4;2863:38;2932:4;2920:10;2917:20;2914:47;;;-1:-1:-1;2955:4:350;2914:47;3010:2;3005:3;3001:12;2998:1;2994:20;2988:4;2984:31;2974:41;;3065:82;3083:2;3076:5;3073:13;3065:82;;;3128:17;;;3109:1;3098:13;3065:82;;;3069:3;;;2709:448;2618:545;;;:::o;3339:1352::-;3459:10;;-1:-1:-1;;;;;3481:30:350;;3478:56;;;3514:18;;:::i;:::-;3543:97;3633:6;3593:38;3625:4;3619:11;3593:38;:::i;:::-;3587:4;3543:97;:::i;:::-;3695:4;;3759:2;3748:14;;3776:1;3771:663;;;;4478:1;4495:6;4492:89;;;-1:-1:-1;4547:19:350;;;4541:26;4492:89;-1:-1:-1;;3296:1:350;3292:11;;;3288:24;3284:29;3274:40;3320:1;3316:11;;;3271:57;4594:81;;3741:944;;3771:663;2565:1;2558:14;;;2602:4;2589:18;;-1:-1:-1;;3807:20:350;;;3925:236;3939:7;3936:1;3933:14;3925:236;;;4028:19;;;4022:26;4007:42;;4120:27;;;;4088:1;4076:14;;;;3955:19;;3925:236;;;3929:3;4189:6;4180:7;4177:19;4174:201;;;4250:19;;;4244:26;-1:-1:-1;;4333:1:350;4329:14;;;4345:3;4325:24;4321:37;4317:42;4302:58;4287:74;;4174:201;-1:-1:-1;;;;;4421:1:350;4405:14;;;4401:22;4388:36;;-1:-1:-1;3339:1352:350:o;:::-;833:4510:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:224:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3616:519;;;;;;:::i;:::-;;:::i;:::-;;;516:14:350;;509:22;491:41;;479:2;464:18;3616:519:224;;;;;;;;1022:37;;;;;;;;719:42:350;707:55;;;689:74;;677:2;662:18;1022:37:224;543:226:350;2156:98:43;;;:::i;:::-;;;;;;;:::i;4433:197::-;;;;;;:::i;:::-;;:::i;3244:106::-;3331:12;;3244:106;;;2041:25:350;;;2029:2;2014:18;3244:106:43;1895:177:350;5192:286:43;;;;;;:::i;:::-;;:::i;5252:89:224:-;;;2582:4:350;5326:8:224;2570:17:350;2552:36;;2540:2;2525:18;5252:89:224;2410:184:350;5873:234:43;;;;;;:::i;:::-;;:::i;2739:254:224:-;;;;;;:::i;:::-;;:::i;:::-;;2009:40;;;;;;;;;;;;;;;;;;;;;3408:125:43;;;;;;:::i;:::-;3508:18;;3482:7;3508:18;;;;;;;;;;;;3408:125;2367:102;;;:::i;3174:260:224:-;;;;;;:::i;:::-;;:::i;6594:427:43:-;;;;;;:::i;:::-;;:::i;3729:189::-;;;;;;:::i;:::-;;:::i;4434:80:224:-;4501:6;4434:80;;4248:85;4314:12;4248:85;;3976:149:43;;;;;;:::i;:::-;4091:18;;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;1129:31:224;;;;;3616:519;3695:4;3727:25;3844:38;3997:40;4054:22;;;;;;:48;;-1:-1:-1;4080:22:224;;;;;;;;4054:48;:74;;;-1:-1:-1;4106:22:224;;;;;;;;4054:74;4047:81;3616:519;-1:-1:-1;;;;;3616:519:224:o;2156:98:43:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:58;4570:32:43;719:10:58;4586:7:43;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:43;;4433:197;-1:-1:-1;;;4433:197:43:o;5192:286::-;5319:4;719:10:58;5375:38:43;5391:4;719:10:58;5406:6:43;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:43;;5192:286;-1:-1:-1;;;;5192:286:43:o;5873:234::-;719:10:58;5961:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5961:4;;719:10:58;6015:64:43;;719:10:58;;4091:27:43;;6040:38;;6068:10;;6040:38;:::i;:::-;6015:8;:64::i;2739:254:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;;;;;;;;;2934:19:::1;2940:3;2945:7;2934:5;:19::i;:::-;2973:3;2968:18;;;2978:7;2968:18;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;2968:18:224::1;;;;;;;;2739:254:::0;;:::o;2367:102:43:-;2423:13;2455:7;2448:14;;;;;:::i;3174:260:224:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:350;1837:85:224;;;4003:21:350;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:224;3819:416:350;1837:85:224;3371:21:::1;3377:5;3384:7;3371:5;:21::i;:::-;3412:5;3407:20;;;3419:7;3407:20;;;;2041:25:350::0;;2029:2;2014:18;;1895:177;6594:427:43;719:10:58;6687:4:43;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6687:4;;719:10:58;6831:15:43;6811:16;:35;;6803:85;;;;;;;4442:2:350;6803:85:43;;;4424:21:350;4481:2;4461:18;;;4454:30;4520:34;4500:18;;;4493:62;4591:7;4571:18;;;4564:35;4616:19;;6803:85:43;4240:401:350;6803:85:43;6922:60;6931:5;6938:7;6966:15;6947:16;:34;6922:8;:60::i;3729:189::-;3808:4;719:10:58;3862:28:43;719:10:58;3879:2:43;3883:6;3862:9;:28::i;10110:370::-;10241:19;;;10233:68;;;;;;;4848:2:350;10233:68:43;;;4830:21:350;4887:2;4867:18;;;4860:30;4926:34;4906:18;;;4899:62;4997:6;4977:18;;;4970:34;5021:19;;10233:68:43;4646:400:350;10233:68:43;10319:21;;;10311:68;;;;;;;5253:2:350;10311:68:43;;;5235:21:350;5292:2;5272:18;;;5265:30;5331:34;5311:18;;;5304:62;5402:4;5382:18;;;5375:32;5424:19;;10311:68:43;5051:398:350;10311:68:43;10390:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10441:32;;2041:25:350;;;10441:32:43;;2014:18:350;10441:32:43;;;;;;;;10110:370;;;:::o;10761:441::-;4091:18;;;;10891:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;10977:17;10957:37;;10953:243;;11038:6;11018:16;:26;;11010:68;;;;;;;5656:2:350;11010:68:43;;;5638:21:350;5695:2;5675:18;;;5668:30;5734:31;5714:18;;;5707:59;5783:18;;11010:68:43;5454:353:350;11010:68:43;11120:51;11129:5;11136:7;11164:6;11145:16;:25;11120:8;:51::i;:::-;10881:321;10761:441;;;:::o;7475:651::-;7601:18;;;7593:68;;;;;;;6014:2:350;7593:68:43;;;5996:21:350;6053:2;6033:18;;;6026:30;6092:34;6072:18;;;6065:62;6163:7;6143:18;;;6136:35;6188:19;;7593:68:43;5812:401:350;7593:68:43;7679:16;;;7671:64;;;;;;;6420:2:350;7671:64:43;;;6402:21:350;6459:2;6439:18;;;6432:30;6498:34;6478:18;;;6471:62;6569:5;6549:18;;;6542:33;6592:19;;7671:64:43;6218:399:350;7671:64:43;7817:15;;;7795:19;7817:15;;;;;;;;;;;7850:21;;;;7842:72;;;;;;;6824:2:350;7842:72:43;;;6806:21:350;6863:2;6843:18;;;6836:30;6902:34;6882:18;;;6875:62;6973:8;6953:18;;;6946:36;6999:19;;7842:72:43;6622:402:350;7842:72:43;7948:15;;;;:9;:15;;;;;;;;;;;7966:20;;;7948:38;;8006:13;;;;;;;;:23;;7980:6;;7948:9;8006:23;;7980:6;;8006:23;:::i;:::-;;;;;;;;8060:2;8045:26;;8054:4;8045:26;;;8064:6;8045:26;;;;2041:25:350;;2029:2;2014:18;;1895:177;8045:26:43;;;;;;;;8082:37;9111:576;8402:389;8485:21;;;8477:65;;;;;;;7231:2:350;8477:65:43;;;7213:21:350;7270:2;7250:18;;;7243:30;7309:33;7289:18;;;7282:61;7360:18;;8477:65:43;7029:355:350;8477:65:43;8629:6;8613:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;8645:18:43;;;:9;:18;;;;;;;;;;:28;;8667:6;;8645:9;:28;;8667:6;;8645:28;:::i;:::-;;;;-1:-1:-1;;8688:37:43;;2041:25:350;;;8688:37:43;;;;8705:1;;8688:37;;2029:2:350;2014:18;8688:37:43;;;;;;;8402:389;;:::o;9111:576::-;9194:21;;;9186:67;;;;;;;7591:2:350;9186:67:43;;;7573:21:350;7630:2;7610:18;;;7603:30;7669:34;7649:18;;;7642:62;7740:3;7720:18;;;7713:31;7761:19;;9186:67:43;7389:397:350;9186:67:43;9349:18;;;9324:22;9349:18;;;;;;;;;;;9385:24;;;;9377:71;;;;;;;7993:2:350;9377:71:43;;;7975:21:350;8032:2;8012:18;;;8005:30;8071:34;8051:18;;;8044:62;8142:4;8122:18;;;8115:32;8164:19;;9377:71:43;7791:398:350;9377:71:43;9482:18;;;:9;:18;;;;;;;;;;9503:23;;;9482:44;;9546:12;:22;;9520:6;;9482:9;9546:22;;9520:6;;9546:22;:::i;:::-;;;;-1:-1:-1;;9584:37:43;;2041:25:350;;;9610:1:43;;9584:37;;;;;;2029:2:350;2014:18;9584:37:43;1895:177:350;14:332;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:350:o;774:656::-;886:4;915:2;944;933:9;926:21;976:6;970:13;1019:6;1014:2;1003:9;999:18;992:34;1044:1;1054:140;1068:6;1065:1;1062:13;1054:140;;;1163:14;;;1159:23;;1153:30;1129:17;;;1148:2;1125:26;1118:66;1083:10;;1054:140;;;1212:6;1209:1;1206:13;1203:91;;;1282:1;1277:2;1268:6;1257:9;1253:22;1249:31;1242:42;1203:91;-1:-1:-1;1346:2:350;1334:15;1351:66;1330:88;1315:104;;;;1421:2;1311:113;;774:656;-1:-1:-1;;;774:656:350:o;1435:196::-;1503:20;;1563:42;1552:54;;1542:65;;1532:93;;1621:1;1618;1611:12;1532:93;1435:196;;;:::o;1636:254::-;1704:6;1712;1765:2;1753:9;1744:7;1740:23;1736:32;1733:52;;;1781:1;1778;1771:12;1733:52;1804:29;1823:9;1804:29;:::i;:::-;1794:39;1880:2;1865:18;;;;1852:32;;-1:-1:-1;;;1636:254:350:o;2077:328::-;2154:6;2162;2170;2223:2;2211:9;2202:7;2198:23;2194:32;2191:52;;;2239:1;2236;2229:12;2191:52;2262:29;2281:9;2262:29;:::i;:::-;2252:39;;2310:38;2344:2;2333:9;2329:18;2310:38;:::i;:::-;2300:48;;2395:2;2384:9;2380:18;2367:32;2357:42;;2077:328;;;;;:::o;2599:186::-;2658:6;2711:2;2699:9;2690:7;2686:23;2682:32;2679:52;;;2727:1;2724;2717:12;2679:52;2750:29;2769:9;2750:29;:::i;2790:260::-;2858:6;2866;2919:2;2907:9;2898:7;2894:23;2890:32;2887:52;;;2935:1;2932;2925:12;2887:52;2958:29;2977:9;2958:29;:::i;:::-;2948:39;;3006:38;3040:2;3029:9;3025:18;3006:38;:::i;:::-;2996:48;;2790:260;;;;;:::o;3055:437::-;3134:1;3130:12;;;;3177;;;3198:61;;3252:4;3244:6;3240:17;3230:27;;3198:61;3305:2;3297:6;3294:14;3274:18;3271:38;3268:218;;3342:77;3339:1;3332:88;3443:4;3440:1;3433:15;3471:4;3468:1;3461:15;3268:218;;3055:437;;;:::o;3497:184::-;3549:77;3546:1;3539:88;3646:4;3643:1;3636:15;3670:4;3667:1;3660:15;3686:128;3726:3;3757:1;3753:6;3750:1;3747:13;3744:39;;;3763:18;;:::i;:::-;-1:-1:-1;3799:9:350;;3686:128::o;8194:125::-;8234:4;8262:1;8259;8256:8;8253:34;;;8267:18;;:::i;:::-;-1:-1:-1;8304:9:350;;8194:125::o",linkReferences:{},immutableReferences:{"106050":[{start:425,length:32},{start:881,length:32}],"106053":[{start:843,length:32},{start:992,length:32},{start:1573,length:32},{start:1884,length:32}],"106056":[{start:580,length:32}]}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","REMOTE_TOKEN()":"033964be","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","bridge()":"e78cea92","burn(address,uint256)":"9dc29fac","decimals()":"313ce567","decreaseAllowance(address,uint256)":"a457c2d7","increaseAllowance(address,uint256)":"39509351","l1Token()":"c01e1bd6","l2Bridge()":"ae1f6aaf","mint(address,uint256)":"40c10f19","name()":"06fdde03","remoteToken()":"d6c0b2c4","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMOTE_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remoteToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"events":{"Burn(address,uint256)":{"params":{"account":"Address of the account tokens are being burned from.","amount":"Amount of tokens burned."}},"Mint(address,uint256)":{"params":{"account":"Address of the account tokens are being minted for.","amount":"Amount of tokens minted."}}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{"params":{"_amount":"Amount of tokens to burn.","_from":"Address to burn tokens from."}},"constructor":{"params":{"_bridge":"Address of the L2 standard bridge.","_name":"ERC20 name.","_remoteToken":"Address of the corresponding L1 token.","_symbol":"ERC20 symbol."}},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{"details":"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{"details":"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{"params":{"_amount":"Amount of tokens to mint.","_to":"Address to mint tokens to."}},"name()":{"details":"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{"params":{"_interfaceId":"Interface ID to check."},"returns":{"_0":"Whether or not the interface is supported by this contract."}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``\'s tokens of at least `amount`."}},"stateVariables":{"version":{"custom:semver":"1.3.0"}},"title":"OptimismMintableERC20","version":1},"userdoc":{"events":{"Burn(address,uint256)":{"notice":"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{"notice":"Emitted whenever tokens are minted for an account."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{"notice":"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{"notice":"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{"notice":"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{"notice":"ERC165 interface check function."},"version()":{"notice":"Semantic version."}},"notice":"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_bridge",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"owner",type:"address",indexed:!0},{internalType:"address",name:"spender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Approval",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Burn",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Mint",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Transfer",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"REMOTE_TOKEN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],stateMutability:"view",type:"function",name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"account",type:"address"}],stateMutability:"view",type:"function",name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[],stateMutability:"view",type:"function",name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"mint"},{inputs:[],stateMutability:"view",type:"function",name:"name",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"remoteToken",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],stateMutability:"pure",type:"function",name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:48077,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_balances",offset:0,slot:"0",type:"t_mapping(t_address,t_uint256)"},{astId:48083,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_allowances",offset:0,slot:"1",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:48085,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_totalSupply",offset:0,slot:"2",type:"t_uint256"},{astId:48087,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_name",offset:0,slot:"3",type:"t_string_storage"},{astId:48089,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_symbol",offset:0,slot:"4",type:"t_string_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},events:{"Burn(address,uint256)":{notice:"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{notice:"Emitted whenever tokens are minted for an account."}},notice:"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2."},devdoc:{version:1,kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{},"l2Bridge()":{},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},events:{"Burn(address,uint256)":{params:{account:"Address of the account tokens are being burned from.",amount:"Amount of tokens burned."}},"Mint(address,uint256)":{params:{account:"Address of the account tokens are being minted for.",amount:"Amount of tokens minted."}}},title:"OptimismMintableERC20"},id:224}});var KKe=D((xda,iWt)=>{iWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"L2_ORACLE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l2Oracle",type:"address",internalType:"contract L2OutputOracle"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isOutputFinalized",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l2Oracle",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"paused_",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2OutputIndex",type:"uint128",internalType:"uint128"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200028f565b600054610100900460ff1615808015620000475750600054600160ff909116105b806200007757506200006430620001c160201b62001b741760201c565b15801562000077575060005460ff166001145b620000e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000104576000805461ff0019166101001790555b603680546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b03191661010085841602179055603254166200016a57603280546001600160a01b03191661dead1790555b62000174620001d0565b8015620001bb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff166200023d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d7565b600154600160c01b90046001600160401b03166000036200028d5760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b6153ed806200029f6000396000f3fe6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;4611:218;;;;;;;;;-1:-1:-1;4635:187:130;4694:1;;;4635:10;:187::i;:::-;1199:20463;;5047:435;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;5236:8:130::1;:20:::0;;-1:-1:-1;;;;;;5236:20:130;;::::1;-1:-1:-1::0;;;;;5236:20:130;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;-1:-1:-1;;;;;;5304:36:130::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;-1:-1:-1;;;;;;5392:38:130::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;628:407:350:-;1199:20463:130;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101625760003560e01c80638c3152e9116100c0578063c0c53b8b11610074578063e965084c11610059578063e965084c146104c7578063e9e05c4214610553578063f04987501461056657600080fd5b8063c0c53b8b14610406578063cff0ab961461042657600080fd5b80639bf62d82116100a55780639bf62d8214610370578063a14238e71461039d578063a35d99df146103cd57600080fd5b80638c3152e9146103235780639b5f694a1461034357600080fd5b806354fd4d50116101175780636dbffb78116100fc5780636dbffb78146102ee578063724c184c1461030e5780638b4c40b01461018757600080fd5b806354fd4d50146102735780635c975abb146102c957600080fd5b806335e80ab31161014857806335e80ab31461020c578063452a93201461023e5780634870496f1461025357600080fd5b80621c2ff61461018e57806333d7e2bd146101df57600080fd5b36610189576101873334620186a0600060405180602001604052806000815250610591565b005b600080fd5b34801561019a57600080fd5b5060365473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101eb57600080fd5b506037546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561021857600080fd5b506035546101b590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561024a57600080fd5b506101b561082c565b34801561025f57600080fd5b5061018761026e3660046149b4565b6108c4565b34801561027f57600080fd5b506102bc6040518060400160405280600581526020017f322e352e3000000000000000000000000000000000000000000000000000000081525081565b6040516101d69190614b06565b3480156102d557600080fd5b506102de610ef2565b60405190151581526020016101d6565b3480156102fa57600080fd5b506102de610309366004614b19565b610f85565b34801561031a57600080fd5b506101b5611040565b34801561032f57600080fd5b5061018761033e366004614b32565b61104c565b34801561034f57600080fd5b506036546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b506032546101b59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103a957600080fd5b506102de6103b8366004614b19565b60336020526000908152604090205460ff1681565b3480156103d957600080fd5b506103ed6103e8366004614b8c565b61190d565b60405167ffffffffffffffff90911681526020016101d6565b34801561041257600080fd5b50610187610421366004614ba7565b611926565b34801561043257600080fd5b5060015461048e906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff92831660208501529116908201526060016101d6565b3480156104d357600080fd5b506105256104e2366004614b19565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff92831660208501529116908201526060016101d6565b610187610561366004614c00565b610591565b34801561057257600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff166101b5565b8260005a905083156106485773ffffffffffffffffffffffffffffffffffffffff87161561064857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b610652835161190d565b67ffffffffffffffff168567ffffffffffffffff1610156106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c0000000000000000000000000000000000000000000000000000000000606482015260840161063f565b6201d4c083511115610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c617267650000604482015260640161063f565b33328114610784575033731111000000000000000000000000000000001111015b6000348888888860405160200161079f959493929190614c7d565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c328460405161080f9190614b06565b60405180910390a450506108238282611b90565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614ce2565b905090565b6108cc610ef2565b15610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff16036109f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e747261637400606482015260840161063f565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614d1f565b519050610aa0610a9b36869003860186614d84565b611ebd565b8114610b2e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f660000000000000000000000000000000000000000000000606482015260840161063f565b6000610b3987611f19565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610c4f5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4b9190614d1f565b5114155b610cdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e000000000000000000606482015260840161063f565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610da49101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610d9a888a614dea565b8a60400135611f49565b610e30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f660000000000000000000000000000606482015260840161063f565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190614e6e565b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810183905260009161103a9173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101f9190614d1f565b602001516fffffffffffffffffffffffffffffffff16611f6d565b92915050565b60006108bf61082c565b565b611054610ef2565b156110bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a2070617573656400000000000000000000604482015260640161063f565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e00606482015260840161063f565b600061116f82611f19565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e207965740000000000000000000000000000606482015260840161063f565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190614e8b565b81602001516fffffffffffffffffffffffffffffffff1610156113b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a40161063f565b6113d581602001516fffffffffffffffffffffffffffffffff16611f6d565b611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115329190614d1f565b82518151919250146115ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a40161063f565b61160b81602001516fffffffffffffffffffffffffffffffff16611f6d565b6116bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a40161063f565b60008381526033602052604090205460ff161561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a65640000000000000000000000606482015260840161063f565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516117fe93929190612013565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061186390841515815260200190565b60405180910390a2801580156118795750326001145b15611906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161063f565b5050505050565b600061191a826010614ed3565b61103a90615208614f03565b600054610100900460ff16158080156119465750600054600160ff909116105b806119605750303b158015611960575060005460ff166001145b6119ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161063f565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611a4a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008584160217905560325416611b0357603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b611b0b612071565b8015611b6e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611bc6907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614f2f565b90506000611bd2612184565b90506000816020015160ff16826000015163ffffffff16611bf39190614f75565b90508215611d2a57600154600090611c2a908390700100000000000000000000000000000000900467ffffffffffffffff16614fdd565b90506000836040015160ff1683611c419190615051565b600154611c619084906fffffffffffffffffffffffffffffffff16615051565b611c6b9190614f75565b600154909150600090611cbc90611c959084906fffffffffffffffffffffffffffffffff1661510d565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612245565b90506001861115611ceb57611ce8611c9582876040015160ff1660018a611ce39190614f2f565b612264565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611d5d908490700100000000000000000000000000000000900467ffffffffffffffff16614f03565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611e40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d69740000606482015260840161063f565b600154600090611e6c906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615181565b90506000611e7e48633b9aca006122b9565b611e8890836151be565b905060005a611e979088614f2f565b905080821115611eb357611eb3611eae8284614f2f565b6122d0565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611efc949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611efc9790969591016151d2565b600080611f55866122fe565b9050611f6381868686612330565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611fdd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120019190614e8b565b61200b9083615229565b421192915050565b6000806000612023866000612360565b905080612059576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16612108576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161063f565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1660000361104a5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190615266565b600061225a612254858561237e565b8361238e565b90505b9392505050565b6000670de0b6b3a76400006122a561227c8583614f75565b61228e90670de0b6b3a7640000614fdd565b6122a085670de0b6b3a7640000615051565b61239d565b6122af9086615051565b61225a9190614f75565b6000818310156122c9578161225d565b5090919050565b6000805a90505b825a6122e39083614f2f565b10156122f9576122f282615305565b91506122d7565b505050565b6060818051906020012060405160200161231a91815260200190565b6040516020818303038152906040529050919050565b6000612357846123418786866123ce565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6000818312156122c9578161225d565b60008183126122c9578161225d565b600061225d670de0b6b3a7640000836123b586612e4c565b6123bf9190615051565b6123c99190614f75565b613090565b6060600084511161243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b65790000000000000000000000604482015260640161063f565b6000612446846132cf565b90506000612453866133bb565b905060008460405160200161246a91815260200190565b60405160208183030381529060405290506000805b8451811015612dc357600085828151811061249c5761249c61533d565b602002602001015190508451831115612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e677468000000000000000000000000000000000000606482015260840161063f565b826000036125f057805180516020918201206040516125859261255f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f742068617368000000604482015260640161063f565b612747565b8051516020116126a6578051805160209182012060405161261a9261255f92910190815260200190565b6125eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c206861736800000000000000000000000000000000000000000000000000606482015260840161063f565b805184516020808701919091208251919092012014612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f6520686173680000000000000000000000000000000000000000000000000000606482015260840161063f565b61275360106001615229565b8160200151510361292f57845183036128c75761278d81602001516010815181106127805761278061533d565b602002602001015161341e565b96506000875111612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e6368290000000000606482015260840161063f565b6001865161282e9190614f2f565b82146128bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e636829000000000000606482015260840161063f565b50505050505061225d565b60008584815181106128db576128db61533d565b602001015160f81c60f81b60f81c9050600082602001518260ff16815181106129065761290661533d565b602002602001015190506129198161357e565b9550612926600186615229565b94505050612db0565b600281602001515103612d28576000612947826135a3565b905060008160008151811061295e5761295e61533d565b016020015160f81c9050600061297560028361536c565b61298090600261538e565b90506000612991848360ff166135c7565b9050600061299f8a896135c7565b905060006129ad83836135fd565b905080835114612a3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b6579000000000000606482015260840161063f565b60ff851660021480612a54575060ff85166003145b15612c435780825114612ae9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e646572000000606482015260840161063f565b612b0387602001516001815181106127805761278061533d565b9c5060008d5111612b96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c6561662900000000000000606482015260840161063f565b60018c51612ba49190614f2f565b8814612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c656166290000000000000000606482015260840161063f565b50505050505050505050505061225d565b60ff85161580612c56575060ff85166001145b15612c9557612c828760200151600181518110612c7557612c7561533d565b602002602001015161357e565b9950612c8e818a615229565b9850612d1d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e207072656669780000000000000000000000000000606482015260840161063f565b505050505050612db0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f6465000000000000000000000000000000000000000000000000606482015260840161063f565b5080612dbb81615305565b91505061247f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e7473000000000000000000000000000000000000000000000000000000606482015260840161063f565b6000808213612eb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b60006060612ec4846136b1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c182136130c157506000919050565b680755bf798b4a1bf1e58212613133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f570000000000000000000000000000000000000000604482015260640161063f565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff8111156132ed576132ed6147d4565b60405190808252806020026020018201604052801561333257816020015b604080518082019091526060808252602082015281526020019060019003908161330b5790505b50915060005b818110156133b457604051806040016040528085838151811061335d5761335d61533d565b6020026020010151815260200161338c86848151811061337f5761337f61533d565b6020026020010151613787565b8152508382815181106133a1576133a161533d565b6020908102919091010152600101613338565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613413578060011b82018184015160001a8060041c8253600f8116600183015350506001016133e5565b509295945050505050565b6060600080600061342e8561379a565b919450925090506000816001811115613449576134496153b1565b146134d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d00000000000000606482015260840161063f565b6134e08284615229565b85511461356f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e646572000000000000000000000000606482015260840161063f565b61235785602001518484614207565b6060602082600001511061359a576135958261341e565b61103a565b61103a8261429b565b606061103a6135c283602001516000815181106127805761278061533d565b6133bb565b6060825182106135e6575060408051602081019091526000815261103a565b61225d83838486516135f89190614f2f565b6142b1565b6000808251845110613610578251613613565b83515b90505b808210801561369a57508282815181106136325761363261533d565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106136715761367161533d565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156136aa57816001019150613616565b5092915050565b600080821161371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e45440000000000000000000000000000000000000000000000604482015260640161063f565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b606061103a61379583614489565b614572565b600080600080846000015111613858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b6020840151805160001a607f811161387d576000600160009450945094505050614200565b60b78111613a8b576000613892608083614f2f565b90508087600001511161394d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a40161063f565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806139c657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a40161063f565b5060019550935060009250614200915050565b60bf8111613dd9576000613aa060b783614f2f565b905080876000015111613b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111613cfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a40161063f565b613d078184615229565b895111613dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a40161063f565b613dc7836001615229565b97509550600094506142009350505050565b60f78111613eba576000613dee60c083614f2f565b905080876000015111613ea9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b600195509350849250614200915050565b6000613ec760f783614f2f565b905080876000015111613f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a40161063f565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a40161063f565b600184015160088302610100031c60378111614124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a40161063f565b61412e8184615229565b8951116141e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a40161063f565b6141ee836001615229565b97509550600194506142009350505050565b9193909250565b60608167ffffffffffffffff811115614222576142226147d4565b6040519080825280601f01601f19166020018201604052801561424c576020820181803683370190505b509050811561225d5760006142618486615229565b90506020820160005b8481101561428257828101518282015260200161426a565b84811115614291576000858301525b5050509392505050565b606061103a826020015160008460000151614207565b60608182601f011015614320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b82828401101561438c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f77000000000000000000000000000000000000604482015260640161063f565b818301845110156143f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e6473000000000000000000000000000000604482015260640161063f565b6060821580156144185760405191506000825260208201604052614480565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614451578051835260209283019201614439565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a40161063f565b50604080518082019091528151815260209182019181019190915290565b606060008060006145828561379a565b91945092509050600181600181111561459d5761459d6153b1565b1461462a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d0000000000000000606482015260840161063f565b84516146368385615229565b146146c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e6465720000000000000000000000000000606482015260840161063f565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816146da5790505093506000835b86518110156147c85760008061474d6040518060400160405280858c600001516147319190614f2f565b8152602001858c602001516147469190615229565b905261379a565b5091509150604051806040016040528083836147699190615229565b8152602001848b6020015161477e9190615229565b8152508885815181106147935761479361533d565b60209081029190910101526147a9600185615229565b93506147b58183615229565b6147bf9084615229565b92505050614707565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561484a5761484a6147d4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461487457600080fd5b50565b600082601f83011261488857600080fd5b813567ffffffffffffffff8111156148a2576148a26147d4565b6148d360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614803565b8181528460208386010111156148e857600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561491757600080fd5b60405160c0810167ffffffffffffffff828210818311171561493b5761493b6147d4565b81604052829350843583526020850135915061495682614852565b8160208401526040850135915061496c82614852565b816040840152606085013560608401526080850135608084015260a085013591508082111561499a57600080fd5b506149a785828601614877565b60a0830152505092915050565b600080600080600085870360e08112156149cd57600080fd5b863567ffffffffffffffff808211156149e557600080fd5b6149f18a838b01614905565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614a2a57600080fd5b60408901955060c0890135925080831115614a4457600080fd5b828901925089601f840112614a5857600080fd5b8235915080821115614a6957600080fd5b508860208260051b8401011115614a7f57600080fd5b959894975092955050506020019190565b60005b83811015614aab578181015183820152602001614a93565b83811115611b6e5750506000910152565b60008151808452614ad4816020860160208601614a90565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061225d6020830184614abc565b600060208284031215614b2b57600080fd5b5035919050565b600060208284031215614b4457600080fd5b813567ffffffffffffffff811115614b5b57600080fd5b614b6784828501614905565b949350505050565b803567ffffffffffffffff81168114614b8757600080fd5b919050565b600060208284031215614b9e57600080fd5b61225d82614b6f565b600080600060608486031215614bbc57600080fd5b8335614bc781614852565b92506020840135614bd781614852565b91506040840135614be781614852565b809150509250925092565b801515811461487457600080fd5b600080600080600060a08688031215614c1857600080fd5b8535614c2381614852565b945060208601359350614c3860408701614b6f565b92506060860135614c4881614bf2565b9150608086013567ffffffffffffffff811115614c6457600080fd5b614c7088828901614877565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614cd1816049850160208701614a90565b919091016049019695505050505050565b600060208284031215614cf457600080fd5b815161225d81614852565b80516fffffffffffffffffffffffffffffffff81168114614b8757600080fd5b600060608284031215614d3157600080fd5b6040516060810181811067ffffffffffffffff82111715614d5457614d546147d4565b60405282518152614d6760208401614cff565b6020820152614d7860408401614cff565b60408201529392505050565b600060808284031215614d9657600080fd5b6040516080810181811067ffffffffffffffff82111715614db957614db96147d4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614e0557614e056147d4565b8360051b6020614e16818301614803565b868152918501918181019036841115614e2e57600080fd5b865b84811015614e6257803586811115614e485760008081fd5b614e5436828b01614877565b845250918301918301614e30565b50979650505050505050565b600060208284031215614e8057600080fd5b815161225d81614bf2565b600060208284031215614e9d57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614efa57614efa614ea4565b02949350505050565b600067ffffffffffffffff808316818516808303821115614f2657614f26614ea4565b01949350505050565b600082821015614f4157614f41614ea4565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614f8457614f84614f46565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614fd857614fd8614ea4565b500590565b6000808312837f80000000000000000000000000000000000000000000000000000000000000000183128115161561501757615017614ea4565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831381161561504b5761504b614ea4565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561509257615092614ea4565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156150cd576150cd614ea4565b600087129250878205871284841616156150e9576150e9614ea4565b878505871281841616156150ff576150ff614ea4565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0384138115161561514757615147614ea4565b827f800000000000000000000000000000000000000000000000000000000000000003841281161561517b5761517b614ea4565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b9576151b9614ea4565b500290565b6000826151cd576151cd614f46565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a083015261521d60c0830184614abc565b98975050505050505050565b6000821982111561523c5761523c614ea4565b500190565b805163ffffffff81168114614b8757600080fd5b805160ff81168114614b8757600080fd5b600060c0828403121561527857600080fd5b60405160c0810181811067ffffffffffffffff8211171561529b5761529b6147d4565b6040526152a783615241565b81526152b560208401615255565b60208201526152c660408401615255565b60408201526152d760608401615241565b60608201526152e860808401615241565b60808201526152f960a08401614cff565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361533657615336614ea4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff83168061537f5761537f614f46565b8060ff84160691505092915050565b600060ff821660ff8416808210156153a8576153a8614ea4565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1199:20463:130:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8178:86;8197:10;8209:9;1930:7;8247:5;8254:9;;;;;;;;;;;;8178:18;:86::i;:::-;1199:20463;;;;;5760:92;;;;;;;;;;-1:-1:-1;5837:8:130;;;;5760:92;;;214:42:350;202:55;;;184:74;;172:2;157:18;5760:92:130;;;;;;;;2942:32;;;;;;;;;;-1:-1:-1;2942:32:130;;;;;;;;2698:40;;;;;;;;;;-1:-1:-1;2698:40:130;;;;;;;;;;;6820:101;;;;;;;;;;;;;:::i;9351:3746::-;;;;;;;;;;-1:-1:-1;9351:3746:130;;;;;:::i;:::-;;:::i;4508:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7044:105::-;;;;;;;;;;;;;:::i;:::-;;;5483:14:350;;5476:22;5458:41;;5446:2;5431:18;7044:105:130;5318:187:350;21047:180:130;;;;;;;;;;-1:-1:-1;21047:180:130;;;;;:::i;:::-;;:::i;6481:86::-;;;;;;;;;;;;;:::i;13210:4839::-;;;;;;;;;;-1:-1:-1;13210:4839:130;;;;;:::i;:::-;;:::i;2826:30::-;;;;;;;;;;-1:-1:-1;2826:30:130;;;;;;;;2193:23;;;;;;;;;;-1:-1:-1;2193:23:130;;;;;;;;2307:52;;;;;;;;;;-1:-1:-1;2307:52:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;7642:120;;;;;;;;;;-1:-1:-1;7642:120:130;;;;;:::i;:::-;;:::i;:::-;;;6799:18:350;6787:31;;;6769:50;;6757:2;6742:18;7642:120:130;6625:200:350;5047:435:130;;;;;;;;;;-1:-1:-1;5047:435:130;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;7664:34:350;7652:47;;;7634:66;;7719:18;7773:15;;;7768:2;7753:18;;7746:43;7825:15;;7805:18;;;7798:43;7622:2;7607:18;2999:28:133;7436:411:350;2441:61:130;;;;;;;;;;-1:-1:-1;2441:61:130;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8054:25:350;;;8098:34;8168:15;;;8163:2;8148:18;;8141:43;8220:15;;8200:18;;;8193:43;8042:2;8027:18;2441:61:130;7852:390:350;18779:1971:130;;;;;;:::i;:::-;;:::i;6130:98::-;;;;;;;;;;-1:-1:-1;6209:12:130;;;;6130:98;;18779:1971;18985:9;3417:18:133;3438:9;3417:30;;19139:11:130::1;19135:136;;;19174:17;::::0;::::1;::::0;19166:94:::1;;;::::0;;::::1;::::0;;9309:2:350;19166:94:130::1;::::0;::::1;9291:21:350::0;9328:18;;;9321:30;;;;9387:34;9367:18;;;9360:62;9458:34;9438:18;;;9431:62;9510:19;;19166:94:130::1;;;;;;;;;19439:37;19462:5;:12;19439:15;:37::i;:::-;19426:50;;:9;:50;;;;19418:98;;;::::0;::::1;::::0;;9742:2:350;19418:98:130::1;::::0;::::1;9724:21:350::0;9781:2;9761:18;;;9754:30;9820:34;9800:18;;;9793:62;9891:5;9871:18;;;9864:33;9914:19;;19418:98:130::1;9540:399:350::0;19418:98:130::1;19911:7;19895:5;:12;:23;;19887:66;;;::::0;::::1;::::0;;10146:2:350;19887:66:130::1;::::0;::::1;10128:21:350::0;10185:2;10165:18;;;10158:30;10224:32;10204:18;;;10197:60;10274:18;;19887:66:130::1;9944:354:350::0;19887:66:130::1;20059:10;20097:9;20083:23:::0;::::1;20079:108;;-1:-1:-1::0;20165:10:130::1;741:42:232::0;1213:27;20079:108:130::1;20444:23;20487:9;20498:6;20506:9;20517:11;20530:5;20470:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20444:92;;1780:1;20710:3;20683:60;;20704:4;20683:60;;;20732:10;20683:60;;;;;;:::i;:::-;;;;;;;;19000:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;18779:1971:130;;;;;;:::o;6820:101::-;6861:7;6887:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6880:34;;6820:101;:::o;9351:3746::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;9883:4:::1;9861:27;;:3;:10;;;:27;;::::0;9853:103:::1;;;::::0;::::1;::::0;;11982:2:350;9853:103:130::1;::::0;::::1;11964:21:350::0;12021:2;12001:18;;;11994:30;12060:34;12040:18;;;12033:62;12131:33;12111:18;;;12104:61;12182:19;;9853:103:130::1;11780:427:350::0;9853:103:130::1;10154:8;::::0;:36:::1;::::0;;;;::::1;::::0;::::1;12358:25:350::0;;;10133:18:130::1;::::0;10154:8:::1;;::::0;:20:::1;::::0;12331:18:350;;10154:36:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47:::0;;-1:-1:-1;10335:45:130::1;;;::::0;;::::1;::::0;::::1;10363:16:::0;10335:45:::1;:::i;:::-;:27;:45::i;:::-;10321:10;:59;10300:135;;;::::0;::::1;::::0;;14068:2:350;10300:135:130::1;::::0;::::1;14050:21:350::0;14107:2;14087:18;;;14080:30;14146:34;14126:18;;;14119:62;14217:11;14197:18;;;14190:39;14246:19;;10300:135:130::1;13866:405:350::0;10300:135:130::1;10546:22;10571:27;10594:3;10571:22;:27::i;:::-;10608:40;10651:33:::0;;;:17:::1;:33;::::0;;;;;;;;10608:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;10546:52;;-1:-1:-1;10608:76:130;11238:31;;:145:::1;;-1:-1:-1::0;11356:27:130;;11289:8:::1;::::0;11310:30:::1;::::0;;::::1;::::0;11289:52;;;;;14452:34:350;14440:47;;;11289:52:130::1;::::0;::::1;14422:66:350::0;11289:8:130::1;::::0;;::::1;::::0;:20:::1;::::0;14395:18:350;;11289:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63:::0;:94:::1;;11238:145;11217:247;;;::::0;::::1;::::0;;14701:2:350;11217:247:130::1;::::0;::::1;14683:21:350::0;14740:2;14720:18;;;14713:30;14779:34;14759:18;;;14752:62;14850:25;14830:18;;;14823:53;14893:19;;11217:247:130::1;14499:419:350::0;11217:247:130::1;11744:147;::::0;;::::1;::::0;::::1;15097:25:350::0;;;11700:18:130::1;15138::350::0;;;15131:34;;;15070:18;;11744:147:130::1;::::0;;;;;::::1;::::0;;;;;;11721:180;;11744:147:::1;11721:180:::0;;::::1;::::0;12309:22;;::::1;12358:25:350::0;;;11721:180:130;-1:-1:-1;12254:161:130::1;::::0;12331:18:350;12309:22:130::1;::::0;;;;;::::1;::::0;;;12254:161;;::::1;::::0;;;::::1;::::0;;::::1;12309:22;12254:161:::0;::::1;::::0;12309:22;12254:161:::1;12342:16:::0;;12254:161:::1;:::i;:::-;12360:16;:41;;;12254:37;:161::i;:::-;12233:258;;;::::0;::::1;::::0;;16499:2:350;12233:258:130::1;::::0;::::1;16481:21:350::0;16538:2;16518:18;;;16511:30;16577:34;16557:18;;;16550:62;16648:20;16628:18;;;16621:48;16686:19;;12233:258:130::1;16297:414:350::0;12233:258:130::1;12809:165;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;12895:15;12809:165:::0;::::1;;::::0;;::::1;::::0;;;;;::::1;::::0;;;;;;-1:-1:-1;12773:33:130;;;:17:::1;:33:::0;;;;;:201;;;;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;13079:10;;::::1;::::0;13067;;::::1;::::0;13034:56;;::::1;::::0;;::::1;::::0;;;::::1;::::0;12791:14;;13034:56:::1;::::0;-1:-1:-1;13034:56:130::1;9616:3481;;;;9351:3746:::0;;;;;:::o;7044:105::-;7083:12;7117:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21047:180::-;21173:8;;:36;;;;;;;;12358:25:350;;;21121:4:130;;21144:76;;21173:8;;;;;:20;;12331:18:350;;21173:36:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;21144:76;;:28;:76::i;:::-;21137:83;21047:180;-1:-1:-1;;21047:180:130:o;6481:86::-;6524:7;6550:10;:8;:10::i;8485:77::-;:::o;13210:4839::-;4377:8;:6;:8::i;:::-;:17;4369:52;;;;;;;11631:2:350;4369:52:130;;;11613:21:350;11670:2;11650:18;;;11643:30;11709:24;11689:18;;;11682:52;11751:18;;4369:52:130;11429:346:350;4369:52:130;13578:8:::1;::::0;:39:::1;:8;1338:42:188;13578:39:130;13557:137;;;::::0;::::1;::::0;;17168:2:350;13557:137:130::1;::::0;::::1;17150:21:350::0;17207:2;17187:18;;;17180:30;17246:34;17226:18;;;17219:62;17317:33;17297:18;;;17290:61;17368:19;;13557:137:130::1;16966:427:350::0;13557:137:130::1;13777:22;13802:27;13825:3;13802:22;:27::i;:::-;13839:40;13882:33:::0;;;:17:::1;:33;::::0;;;;;;;13839:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;13777:52;;-1:-1:-1;14165:31:130;;14157:94:::1;;;::::0;::::1;::::0;;17600:2:350;14157:94:130::1;::::0;::::1;17582:21:350::0;17639:2;17619:18;;;17612:30;17678:34;17658:18;;;17651:62;17749:20;17729:18;;;17722:48;17787:19;;14157:94:130::1;17398:414:350::0;14157:94:130::1;14568:8;;;;;;;;;;;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14538:16;:26;;;:58;;;;14517:180;;;::::0;::::1;::::0;;18208:2:350;14517:180:130::1;::::0;::::1;18190:21:350::0;18247:2;18227:18;;;18220:30;18286:34;18266:18;;;18259:62;18357:34;18337:18;;;18330:62;18429:13;18408:19;;;18401:42;18460:19;;14517:180:130::1;18006:479:350::0;14517:180:130::1;15087:56;15116:16;:26;;;15087:56;;:28;:56::i;:::-;15066:172;;;::::0;::::1;::::0;;18692:2:350;15066:172:130::1;::::0;::::1;18674:21:350::0;18731:2;18711:18;;;18704:30;18770:34;18750:18;;;18743:62;18841:34;18821:18;;;18814:62;18913:7;18892:19;;;18885:36;18938:19;;15066:172:130::1;18490:473:350::0;15066:172:130::1;15448:8;::::0;15469:30:::1;::::0;;::::1;::::0;15448:52;;;;;14452:34:350;14440:47;;;15448:52:130::1;::::0;::::1;14422:66:350::0;15409:36:130::1;::::0;15448:8:::1;;::::0;:20:::1;::::0;14395:18:350;;15448:52:130::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15811:27:::0;;15788:19;;15409:91;;-1:-1:-1;15788:50:130::1;15767:170;;;::::0;::::1;::::0;;19170:2:350;15767:170:130::1;::::0;::::1;19152:21:350::0;19209:2;19189:18;;;19182:30;19248:34;19228:18;;;19221:62;19319:34;19299:18;;;19292:62;19391:11;19370:19;;;19363:40;19420:19;;15767:170:130::1;18968:477:350::0;15767:170:130::1;16036:48;16065:8;:18;;;16036:48;;:28;:48::i;:::-;16015:162;;;::::0;::::1;::::0;;19652:2:350;16015:162:130::1;::::0;::::1;19634:21:350::0;19691:2;19671:18;;;19664:30;19730:34;19710:18;;;19703:62;19801:34;19781:18;;;19774:62;19873:5;19852:19;;;19845:34;19896:19;;16015:162:130::1;19450:471:350::0;16015:162:130::1;16293:36;::::0;;;:20:::1;:36;::::0;;;;;::::1;;:45;16285:111;;;::::0;::::1;::::0;;20128:2:350;16285:111:130::1;::::0;::::1;20110:21:350::0;20167:2;20147:18;;;20140:30;20206:34;20186:18;;;20179:62;20277:23;20257:18;;;20250:51;20318:19;;16285:111:130::1;19926:417:350::0;16285:111:130::1;16476:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16515:4;16476:43;::::0;;16624:10;;::::1;::::0;16613:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17293:10;::::1;::::0;17305:12:::1;::::0;::::1;::::0;17319:9:::1;::::0;::::1;::::0;17330:8:::1;::::0;::::1;::::0;17269:70:::1;::::0;17293:10;17305:12;17319:9;17269:23:::1;:70::i;:::-;17407:8;:38:::0;;;::::1;1338:42:188;17407:38:130;::::0;;17604:44:::1;::::0;17254:85;;-1:-1:-1;17624:14:130;;17604:44:::1;::::0;::::1;::::0;17254:85;5483:14:350;5476:22;5458:41;;5446:2;5431:18;;5318:187;17604:44:130::1;;;;;;;;17912:16:::0;::::1;::::0;::::1;:61;;-1:-1:-1::0;17932:9:130::1;1016:1:188;17932:41:130;17912:61;17908:135;;;17989:43;::::0;::::1;::::0;;20550:2:350;17989:43:130::1;::::0;::::1;20532:21:350::0;20589:2;20569:18;;;20562:30;20628:34;20608:18;;;20601:62;20699:3;20679:18;;;20672:31;20720:19;;17989:43:130::1;20348:397:350::0;17908:135:130::1;13312:4737;;;;13210:4839:::0;:::o;7642:120::-;7707:6;7732:15;:10;7745:2;7732:15;:::i;:::-;:23;;7750:5;7732:23;:::i;5047:435::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;21657:2:350;3146:190:41;;;21639:21:350;21696:2;21676:18;;;21669:30;21735:34;21715:18;;;21708:62;21806:16;21786:18;;;21779:44;21840:19;;3146:190:41;21455:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;5236:8:130::1;:20:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;5266:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5304:16:::1;:36:::0;;;::::1;5236:20;5304:36:::0;;::::1;;;::::0;;5354:8:::1;::::0;::::1;5350:91;;5392:8;:38:::0;;;::::1;1338:42:188;5392:38:130;::::0;;5350:91:::1;5450:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;22022:36:350;;3531:14:41;;22010:2:350;21995:18;3531:14:41;;;;;;;3457:99;3090:472;5047:435:130;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;24309:2:350;6575:190:133;;;24291:21:350;24348:2;24328:18;;;24321:30;24387:34;24367:18;;;24360:62;24458:32;24438:18;;;24431:60;24508:19;;6575:190:133;24107:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;25127:25:350;;;25183:2;25168:18;;25161:34;;;;25226:2;25211:18;;25204:34;25269:2;25254:18;;25247:34;25114:3;25099:19;;24896:391;5109:219:192;;;;;;;;;;;;;5086:252;;;;;;5079:259;;4961:384;;;:::o;4456:211::-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;1041:343:201:-;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;21480:180:130:-;21615:8;;:38;;;;;;;;21561:4;;21615:8;;;:36;;:38;;;;;;;;;;;;;;:8;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21602:51;;:10;:51;:::i;:::-;21584:15;:69;;21480:180;-1:-1:-1;;21480:180:130:o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;26288:2:350;4880:69:41;;;26270:21:350;26327:2;26307:18;;;26300:30;26366:34;26346:18;;;26339:62;26437:13;26417:18;;;26410:41;26468:19;;4880:69:41;26086:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;8811:152:130:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8927:12:130;;:29;;;;;;;-1:-1:-1;;8927:12:130;;;;;:27;;:29;;;;;-1:-1:-1;;8927:29:130;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;28317:2:350;2954:49:200;;;28299:21:350;28356:2;28336:18;;;28329:30;28395:23;28375:18;;;28368:51;28436:18;;2954:49:200;28115:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;28057:19:350;;28101:2;28092:12;;27928:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;28856:2:350;3489:88:200;;;28838:21:350;28895:2;28875:18;;;28868:30;28934:34;28914:18;;;28907:62;29005:16;28985:18;;;28978:44;29039:19;;3489:88:200;28654:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;28057:19:350;;;28101:2;28092:12;;27928:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;29271:2:350;3700:176:200;;;29253:21:350;29310:2;29290:18;;;29283:30;29349:31;29329:18;;;29322:59;29398:18;;3700:176:200;29069:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;28057:19:350;;;28101:2;28092:12;;27928:182;4058:76:200;4029:186;;;;;;;29629:2:350;4029:186:200;;;29611:21:350;29668:2;29648:18;;;29641:30;29707:34;29687:18;;;29680:62;29778:9;29758:18;;;29751:37;29805:19;;4029:186:200;29427:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;30037:2:350;4316:98:200;;;30019:21:350;30076:2;30056:18;;;30049:30;30115:34;30095:18;;;30088:62;30186:8;30166:18;;;30159:36;30212:19;;4316:98:200;29835:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;30444:2:350;5121:89:200;;;30426:21:350;30483:2;30463:18;;;30456:30;30522:34;30502:18;;;30495:62;30593:29;30573:18;;;30566:57;30640:19;;5121:89:200;30242:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;30872:2:350;5294:92:200;;;30854:21:350;30911:2;30891:18;;;30884:30;30950:34;30930:18;;;30923:62;31021:28;31001:18;;;30994:56;31067:19;;5294:92:200;30670:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;31661:2:350;6608:171:200;;;31643:21:350;31700:2;31680:18;;;31673:30;31739:34;31719:18;;;31712:62;31810:28;31790:18;;;31783:56;31856:19;;6608:171:200;31459:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;32088:2:350;7442:185:200;;;32070:21:350;32127:2;32107:18;;;32100:30;32166:34;32146:18;;;32139:62;32237:31;32217:18;;;32210:59;32286:19;;7442:185:200;31886:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;32518:2:350;8050:87:200;;;32500:21:350;32557:2;32537:18;;;32530:30;32596:34;32576:18;;;32569:62;32667:27;32647:18;;;32640:55;32712:19;;8050:87:200;32316:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;32944:2:350;8221:90:200;;;32926:21:350;32983:2;32963:18;;;32956:30;33022:34;33002:18;;;32995:62;33093:26;33073:18;;;33066:54;33137:19;;8221:90:200;32742:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;33369:2:350;8888:60:200;;;33351:21:350;33408:2;33388:18;;;33381:30;33447:34;33427:18;;;33420:62;33518:20;33498:18;;;33491:48;33556:19;;8888:60:200;33167:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;33788:2:350;9005:50:200;;;33770:21:350;33827:2;33807:18;;;33800:30;33866:34;33846:18;;;33839:62;33937:10;33917:18;;;33910:38;33965:19;;9005:50:200;33586:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;34197:2:350;9090:47:200;;;34179:21:350;34236:2;34216:18;;;34209:30;34275:34;34255:18;;;34248:62;34346:7;34326:18;;;34319:35;34371:19;;9090:47:200;33995:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;34603:2:350;4688:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;4688:27:102;34401:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;34940:2:350;1971:22:102;;;34922:21:350;34979:2;34959:18;;;34952:30;35018:14;34998:18;;;34991:42;35050:18;;1971:22:102;34738:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;35470:2:350;4178:103:198;;;35452:21:350;35509:2;35489:18;;;35482:30;35548:34;35528:18;;;35521:62;35619:27;35599:18;;;35592:55;35664:19;;4178:103:198;35268:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;35896:2:350;4292:102:198;;;35878:21:350;35935:2;35915:18;;;35908:30;35974:34;35954:18;;;35947:62;36045:22;36025:18;;;36018:50;36085:19;;4292:102:198;35694:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;34603:2:350;15397:27:102;;;34585:21:350;34642:1;34622:18;;;34615:29;34680:11;34660:18;;;34653:39;34709:18;;15397:27:102;34401:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;36317:2:350;5684:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;5684:101:198;36115:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;36800:2:350;6209:140:198;;;36782:21:350;36839:2;36819:18;;;36812:30;36878:34;36858:18;;;36851:62;36949:34;36929:18;;;36922:62;37021:16;37000:19;;;36993:45;37055:19;;6209:140:198;36598:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;37287:2:350;6519:177:198;;;37269:21:350;37326:2;37306:18;;;37299:30;37365:34;37345:18;;;37338:62;37436:34;37416:18;;;37409:62;37508:15;37487:19;;;37480:44;37541:19;;6519:177:198;37085:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;37773:2:350;6881:164:198;;;37755:21:350;37812:2;37792:18;;;37785:30;37851:34;37831:18;;;37824:62;37922:34;37902:18;;;37895:62;37994:19;37973;;;37966:48;38031:19;;6881:164:198;37571:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;38263:2:350;7215:143:198;;;38245:21:350;38302:2;38282:18;;;38275:30;38341:34;38321:18;;;38314:62;38412:34;38392:18;;;38385:62;38484:12;38463:19;;;38456:41;38514:19;;7215:143:198;38061:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;38746:2:350;7520:96:198;;;38728:21:350;38785:2;38765:18;;;38758:30;38824:34;38804:18;;;38797:62;38895:34;38875:18;;;38868:62;38967:10;38946:19;;;38939:39;38995:19;;7520:96:198;38544:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;39227:2:350;7631:168:198;;;39209:21:350;39266:2;39246:18;;;39239:30;39305:34;39285:18;;;39278:62;39376:34;39356:18;;;39349:62;39448:14;39427:19;;;39420:43;39480:19;;7631:168:198;39025:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;39712:2:350;8049:107:198;;;39694:21:350;39751:2;39731:18;;;39724:30;39790:34;39770:18;;;39763:62;39861:34;39841:18;;;39834:62;39933:12;39912:19;;;39905:41;39963:19;;8049:107:198;39510:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;40195:2:350;8321:161:198;;;40177:21:350;40234:2;40214:18;;;40207:30;40273:34;40253:18;;;40246:62;40344:34;40324:18;;;40317:62;40416:15;40395:19;;;40388:44;40449:19;;8321:161:198;39993:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;40681:2:350;8652:141:198;;;40663:21:350;40720:2;40700:18;;;40693:30;40759:34;40739:18;;;40732:62;40830:34;40810:18;;;40803:62;40902:10;40881:19;;;40874:39;40930:19;;8652:141:198;40479:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;41162:2:350;8958:95:198;;;41144:21:350;41201:2;41181:18;;;41174:30;41240:34;41220:18;;;41213:62;41311:34;41291:18;;;41284:62;41383:8;41362:19;;;41355:37;41409:19;;8958:95:198;40960:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;41641:2:350;9068:168:198;;;41623:21:350;41680:2;41660:18;;;41653:30;41719:34;41699:18;;;41692:62;41790:34;41770:18;;;41763:62;41862:12;41841:19;;;41834:41;41892:19;;9068:168:198;41439:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;42124:2:350;800:50:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;800:50:186;41922:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;42124:2:350;864:53:186;;;42106:21:350;42163:2;42143:18;;;42136:30;42202:16;42182:18;;;42175:44;42236:18;;864:53:186;41922:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;42467:2:350;931:63:186;;;42449:21:350;42506:2;42486:18;;;42479:30;42545:19;42525:18;;;42518:47;42582:18;;931:63:186;42265:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;36317:2:350;1432:101:198;;;36299:21:350;36356:2;36336:18;;;36329:30;36395:34;36375:18;;;36368:62;36466:34;36446:18;;;36439:62;36538:12;36517:19;;;36510:41;36568:19;;1432:101:198;36115:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;42813:2:350;2028:102:198;;;42795:21:350;42852:2;42832:18;;;42825:30;42891:34;42871:18;;;42864:62;42962:26;42942:18;;;42935:54;43006:19;;2028:102:198;42611:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;43238:2:350;2141:100:198;;;43220:21:350;43277:2;43257:18;;;43250:30;43316:34;43296:18;;;43289:62;43387:20;43367:18;;;43360:48;43425:19;;2141:100:198;43036:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;1010:184:350:-;1062:77;1059:1;1052:88;1159:4;1156:1;1149:15;1183:4;1180:1;1173:15;1199:334;1270:2;1264:9;1326:2;1316:13;;1331:66;1312:86;1300:99;;1429:18;1414:34;;1450:22;;;1411:62;1408:88;;;1476:18;;:::i;:::-;1512:2;1505:22;1199:334;;-1:-1:-1;1199:334:350:o;1538:154::-;1624:42;1617:5;1613:54;1606:5;1603:65;1593:93;;1682:1;1679;1672:12;1593:93;1538:154;:::o;1697:589::-;1739:5;1792:3;1785:4;1777:6;1773:17;1769:27;1759:55;;1810:1;1807;1800:12;1759:55;1846:6;1833:20;1872:18;1868:2;1865:26;1862:52;;;1894:18;;:::i;:::-;1938:114;2046:4;1977:66;1970:4;1966:2;1962:13;1958:86;1954:97;1938:114;:::i;:::-;2077:2;2068:7;2061:19;2123:3;2116:4;2111:2;2103:6;2099:15;2095:26;2092:35;2089:55;;;2140:1;2137;2130:12;2089:55;2205:2;2198:4;2190:6;2186:17;2179:4;2170:7;2166:18;2153:55;2253:1;2228:16;;;2246:4;2224:27;2217:38;;;;2232:7;1697:589;-1:-1:-1;;;1697:589:350:o;2291:1032::-;2359:5;2407:4;2395:9;2390:3;2386:19;2382:30;2379:50;;;2425:1;2422;2415:12;2379:50;2458:2;2452:9;2500:4;2492:6;2488:17;2524:18;2592:6;2580:10;2577:22;2572:2;2560:10;2557:18;2554:46;2551:72;;;2603:18;;:::i;:::-;2643:10;2639:2;2632:22;2672:6;2663:15;;2715:9;2702:23;2694:6;2687:39;2778:2;2767:9;2763:18;2750:32;2735:47;;2791:33;2816:7;2791:33;:::i;:::-;2857:7;2852:2;2844:6;2840:15;2833:32;2917:2;2906:9;2902:18;2889:32;2874:47;;2930:33;2955:7;2930:33;:::i;:::-;2996:7;2991:2;2983:6;2979:15;2972:32;3065:2;3054:9;3050:18;3037:32;3032:2;3024:6;3020:15;3013:57;3132:3;3121:9;3117:19;3104:33;3098:3;3090:6;3086:16;3079:59;3189:3;3178:9;3174:19;3161:33;3147:47;;3217:2;3209:6;3206:14;3203:34;;;3233:1;3230;3223:12;3203:34;;3271:45;3312:3;3303:6;3292:9;3288:22;3271:45;:::i;:::-;3265:3;3257:6;3253:16;3246:71;;;2291:1032;;;;:::o;3328:1175::-;3530:6;3538;3546;3554;3562;3606:9;3597:7;3593:23;3636:3;3632:2;3628:12;3625:32;;;3653:1;3650;3643:12;3625:32;3693:9;3680:23;3722:18;3763:2;3755:6;3752:14;3749:34;;;3779:1;3776;3769:12;3749:34;3802:72;3866:7;3857:6;3846:9;3842:22;3802:72;:::i;:::-;3792:82;;3921:2;3910:9;3906:18;3893:32;3883:42;;4018:3;3949:66;3945:2;3941:75;3937:85;3934:105;;;4035:1;4032;4025:12;3934:105;4073:2;4062:9;4058:18;4048:28;;4129:3;4118:9;4114:19;4101:33;4085:49;;4159:2;4149:8;4146:16;4143:36;;;4175:1;4172;4165:12;4143:36;4213:8;4202:9;4198:24;4188:34;;4260:7;4253:4;4249:2;4245:13;4241:27;4231:55;;4282:1;4279;4272:12;4231:55;4322:2;4309:16;4295:30;;4348:2;4340:6;4337:14;4334:34;;;4364:1;4361;4354:12;4334:34;;4417:7;4412:2;4402:6;4399:1;4395:14;4391:2;4387:23;4383:32;4380:45;4377:65;;;4438:1;4435;4428:12;4377:65;3328:1175;;;;-1:-1:-1;3328:1175:350;;-1:-1:-1;;;4469:2:350;4461:11;;4491:6;3328:1175::o;4508:258::-;4580:1;4590:113;4604:6;4601:1;4598:13;4590:113;;;4680:11;;;4674:18;4661:11;;;4654:39;4626:2;4619:10;4590:113;;;4721:6;4718:1;4715:13;4712:48;;;-1:-1:-1;;4756:1:350;4738:16;;4731:27;4508:258::o;4771:317::-;4813:3;4851:5;4845:12;4878:6;4873:3;4866:19;4894:63;4950:6;4943:4;4938:3;4934:14;4927:4;4920:5;4916:16;4894:63;:::i;:::-;5002:2;4990:15;5007:66;4986:88;4977:98;;;;5077:4;4973:109;;4771:317;-1:-1:-1;;4771:317:350:o;5093:220::-;5242:2;5231:9;5224:21;5205:4;5262:45;5303:2;5292:9;5288:18;5280:6;5262:45;:::i;5510:180::-;5569:6;5622:2;5610:9;5601:7;5597:23;5593:32;5590:52;;;5638:1;5635;5628:12;5590:52;-1:-1:-1;5661:23:350;;5510:180;-1:-1:-1;5510:180:350:o;5695:375::-;5795:6;5848:2;5836:9;5827:7;5823:23;5819:32;5816:52;;;5864:1;5861;5854:12;5816:52;5904:9;5891:23;5937:18;5929:6;5926:30;5923:50;;;5969:1;5966;5959:12;5923:50;5992:72;6056:7;6047:6;6036:9;6032:22;5992:72;:::i;:::-;5982:82;5695:375;-1:-1:-1;;;;5695:375:350:o;6260:171::-;6327:20;;6387:18;6376:30;;6366:41;;6356:69;;6421:1;6418;6411:12;6356:69;6260:171;;;:::o;6436:184::-;6494:6;6547:2;6535:9;6526:7;6522:23;6518:32;6515:52;;;6563:1;6560;6553:12;6515:52;6586:28;6604:9;6586:28;:::i;6830:601::-;6979:6;6987;6995;7048:2;7036:9;7027:7;7023:23;7019:32;7016:52;;;7064:1;7061;7054:12;7016:52;7103:9;7090:23;7122:31;7147:5;7122:31;:::i;:::-;7172:5;-1:-1:-1;7229:2:350;7214:18;;7201:32;7242:33;7201:32;7242:33;:::i;:::-;7294:7;-1:-1:-1;7353:2:350;7338:18;;7325:32;7366:33;7325:32;7366:33;:::i;:::-;7418:7;7408:17;;;6830:601;;;;;:::o;8247:118::-;8333:5;8326:13;8319:21;8312:5;8309:32;8299:60;;8355:1;8352;8345:12;8370:732;8470:6;8478;8486;8494;8502;8555:3;8543:9;8534:7;8530:23;8526:33;8523:53;;;8572:1;8569;8562:12;8523:53;8611:9;8598:23;8630:31;8655:5;8630:31;:::i;:::-;8680:5;-1:-1:-1;8732:2:350;8717:18;;8704:32;;-1:-1:-1;8755:37:350;8788:2;8773:18;;8755:37;:::i;:::-;8745:47;;8844:2;8833:9;8829:18;8816:32;8857:30;8879:7;8857:30;:::i;:::-;8906:7;-1:-1:-1;8964:3:350;8949:19;;8936:33;8992:18;8981:30;;8978:50;;;9024:1;9021;9014:12;8978:50;9047:49;9088:7;9079:6;9068:9;9064:22;9047:49;:::i;:::-;9037:59;;;8370:732;;;;;;;;:::o;10303:642::-;10566:6;10561:3;10554:19;10603:6;10598:2;10593:3;10589:12;10582:28;10662:66;10653:6;10648:3;10644:16;10640:89;10635:2;10630:3;10626:12;10619:111;10783:6;10776:14;10769:22;10764:3;10760:32;10755:2;10750:3;10746:12;10739:54;10536:3;10822:6;10816:13;10838:60;10891:6;10886:2;10881:3;10877:12;10872:2;10864:6;10860:15;10838:60;:::i;:::-;10918:16;;;;10936:2;10914:25;;10303:642;-1:-1:-1;;;;;;10303:642:350:o;11173:251::-;11243:6;11296:2;11284:9;11275:7;11271:23;11267:32;11264:52;;;11312:1;11309;11302:12;11264:52;11344:9;11338:16;11363:31;11388:5;11363:31;:::i;12394:192::-;12473:13;;12526:34;12515:46;;12505:57;;12495:85;;12576:1;12573;12566:12;12591:617;12695:6;12748:2;12736:9;12727:7;12723:23;12719:32;12716:52;;;12764:1;12761;12754:12;12716:52;12797:2;12791:9;12839:2;12831:6;12827:15;12908:6;12896:10;12893:22;12872:18;12860:10;12857:34;12854:62;12851:88;;;12919:18;;:::i;:::-;12955:2;12948:22;12994:16;;12979:32;;13044:49;13089:2;13074:18;;13044:49;:::i;:::-;13039:2;13031:6;13027:15;13020:74;13127:49;13172:2;13161:9;13157:18;13127:49;:::i;:::-;13122:2;13110:15;;13103:74;13114:6;12591:617;-1:-1:-1;;;12591:617:350:o;13213:648::-;13307:6;13360:3;13348:9;13339:7;13335:23;13331:33;13328:53;;;13377:1;13374;13367:12;13328:53;13410:2;13404:9;13452:3;13444:6;13440:16;13522:6;13510:10;13507:22;13486:18;13474:10;13471:34;13468:62;13465:88;;;13533:18;;:::i;:::-;13573:10;13569:2;13562:22;;13621:9;13608:23;13600:6;13593:39;13693:2;13682:9;13678:18;13665:32;13660:2;13652:6;13648:15;13641:57;13759:2;13748:9;13744:18;13731:32;13726:2;13718:6;13714:15;13707:57;13825:2;13814:9;13810:18;13797:32;13792:2;13784:6;13780:15;13773:57;13849:6;13839:16;;;13213:648;;;;:::o;15358:934::-;15494:9;15528:18;15569:2;15561:6;15558:14;15555:40;;;15575:18;;:::i;:::-;15621:6;15618:1;15614:14;15647:4;15671:28;15695:2;15691;15687:11;15671:28;:::i;:::-;15733:19;;;15803:14;;;;15768:12;;;;15840:14;15829:26;;15826:46;;;15868:1;15865;15858:12;15826:46;15892:5;15906:353;15922:6;15917:3;15914:15;15906:353;;;16008:3;15995:17;16044:2;16031:11;16028:19;16025:109;;;16088:1;16117:2;16113;16106:14;16025:109;16159:57;16201:14;16187:11;16180:5;16176:23;16159:57;:::i;:::-;16147:70;;-1:-1:-1;16237:12:350;;;;15939;;15906:353;;;-1:-1:-1;16281:5:350;15358:934;-1:-1:-1;;;;;;;15358:934:350:o;16716:245::-;16783:6;16836:2;16824:9;16815:7;16811:23;16807:32;16804:52;;;16852:1;16849;16842:12;16804:52;16884:9;16878:16;16903:28;16925:5;16903:28;:::i;17817:184::-;17887:6;17940:2;17928:9;17919:7;17915:23;17911:32;17908:52;;;17956:1;17953;17946:12;17908:52;-1:-1:-1;17979:16:350;;17817:184;-1:-1:-1;17817:184:350:o;20750:::-;20802:77;20799:1;20792:88;20899:4;20896:1;20889:15;20923:4;20920:1;20913:15;20939:270;20978:7;21010:18;21055:2;21052:1;21048:10;21085:2;21082:1;21078:10;21141:3;21137:2;21133:12;21128:3;21125:21;21118:3;21111:11;21104:19;21100:47;21097:73;;;21150:18;;:::i;:::-;21190:13;;20939:270;-1:-1:-1;;;;20939:270:350:o;21214:236::-;21253:3;21281:18;21326:2;21323:1;21319:10;21356:2;21353:1;21349:10;21387:3;21383:2;21379:12;21374:3;21371:21;21368:47;;;21395:18;;:::i;:::-;21431:13;;21214:236;-1:-1:-1;;;;21214:236:350:o;22069:125::-;22109:4;22137:1;22134;22131:8;22128:34;;;22142:18;;:::i;:::-;-1:-1:-1;22179:9:350;;22069:125::o;22199:184::-;22251:77;22248:1;22241:88;22348:4;22345:1;22338:15;22372:4;22369:1;22362:15;22388:308;22427:1;22453;22443:35;;22458:18;;:::i;:::-;22575:66;22572:1;22569:73;22500:66;22497:1;22494:73;22490:153;22487:179;;;22646:18;;:::i;:::-;-1:-1:-1;22680:10:350;;22388:308::o;22701:369::-;22740:4;22776:1;22773;22769:9;22885:1;22817:66;22813:74;22810:1;22806:82;22801:2;22794:10;22790:99;22787:125;;;22892:18;;:::i;:::-;23011:1;22943:66;22939:74;22936:1;22932:82;22928:2;22924:91;22921:117;;;23018:18;;:::i;:::-;-1:-1:-1;;23055:9:350;;22701:369::o;23075:655::-;23114:7;23146:66;23238:1;23235;23231:9;23266:1;23263;23259:9;23311:1;23307:2;23303:10;23300:1;23297:17;23292:2;23288;23284:11;23280:35;23277:61;;;23318:18;;:::i;:::-;23357:66;23449:1;23446;23442:9;23496:1;23492:2;23487:11;23484:1;23480:19;23475:2;23471;23467:11;23463:37;23460:63;;;23503:18;;:::i;:::-;23549:1;23546;23542:9;23532:19;;23596:1;23592:2;23587:11;23584:1;23580:19;23575:2;23571;23567:11;23563:37;23560:63;;;23603:18;;:::i;:::-;23668:1;23664:2;23659:11;23656:1;23652:19;23647:2;23643;23639:11;23635:37;23632:63;;;23675:18;;:::i;:::-;-1:-1:-1;;;23715:9:350;;;;;23075:655;-1:-1:-1;;;23075:655:350:o;23735:367::-;23774:3;23809:1;23806;23802:9;23918:1;23850:66;23846:74;23843:1;23839:82;23834:2;23827:10;23823:99;23820:125;;;23925:18;;:::i;:::-;24044:1;23976:66;23972:74;23969:1;23965:82;23961:2;23957:91;23954:117;;;24051:18;;:::i;:::-;-1:-1:-1;;24087:9:350;;23735:367::o;24538:228::-;24578:7;24704:1;24636:66;24632:74;24629:1;24626:81;24621:1;24614:9;24607:17;24603:105;24600:131;;;24711:18;;:::i;:::-;-1:-1:-1;24751:9:350;;24538:228::o;24771:120::-;24811:1;24837;24827:35;;24842:18;;:::i;:::-;-1:-1:-1;24876:9:350;;24771:120::o;25292:656::-;25579:6;25568:9;25561:25;25542:4;25605:42;25695:2;25687:6;25683:15;25678:2;25667:9;25663:18;25656:43;25747:2;25739:6;25735:15;25730:2;25719:9;25715:18;25708:43;;25787:6;25782:2;25771:9;25767:18;25760:34;25831:6;25825:3;25814:9;25810:19;25803:35;25875:3;25869;25858:9;25854:19;25847:32;25896:46;25937:3;25926:9;25922:19;25914:6;25896:46;:::i;:::-;25888:54;25292:656;-1:-1:-1;;;;;;;;25292:656:350:o;25953:128::-;25993:3;26024:1;26020:6;26017:1;26014:13;26011:39;;;26030:18;;:::i;:::-;-1:-1:-1;26066:9:350;;25953:128::o;26498:167::-;26576:13;;26629:10;26618:22;;26608:33;;26598:61;;26655:1;26652;26645:12;26670:160;26747:13;;26800:4;26789:16;;26779:27;;26769:55;;26820:1;26817;26810:12;26835:888;26938:6;26991:3;26979:9;26970:7;26966:23;26962:33;26959:53;;;27008:1;27005;26998:12;26959:53;27041:2;27035:9;27083:3;27075:6;27071:16;27153:6;27141:10;27138:22;27117:18;27105:10;27102:34;27099:62;27096:88;;;27164:18;;:::i;:::-;27200:2;27193:22;27239:39;27268:9;27239:39;:::i;:::-;27231:6;27224:55;27312:47;27355:2;27344:9;27340:18;27312:47;:::i;:::-;27307:2;27299:6;27295:15;27288:72;27393:47;27436:2;27425:9;27421:18;27393:47;:::i;:::-;27388:2;27380:6;27376:15;27369:72;27474:48;27518:2;27507:9;27503:18;27474:48;:::i;:::-;27469:2;27461:6;27457:15;27450:73;27557:49;27601:3;27590:9;27586:19;27557:49;:::i;:::-;27551:3;27543:6;27539:16;27532:75;27641:50;27686:3;27675:9;27671:19;27641:50;:::i;:::-;27635:3;27623:16;;27616:76;27627:6;26835:888;-1:-1:-1;;;26835:888:350:o;27728:195::-;27767:3;27798:66;27791:5;27788:77;27785:103;;27868:18;;:::i;:::-;-1:-1:-1;27915:1:350;27904:13;;27728:195::o;28465:184::-;28517:77;28514:1;28507:88;28614:4;28611:1;28604:15;28638:4;28635:1;28628:15;31097:157;31127:1;31161:4;31158:1;31154:12;31185:3;31175:37;;31192:18;;:::i;:::-;31244:3;31237:4;31234:1;31230:12;31226:22;31221:27;;;31097:157;;;;:::o;31259:195::-;31297:4;31334;31331:1;31327:12;31366:4;31363:1;31359:12;31391:3;31386;31383:12;31380:38;;;31398:18;;:::i;:::-;31435:13;;;31259:195;-1:-1:-1;;;31259:195:350:o;35079:184::-;35131:77;35128:1;35121:88;35228:4;35225:1;35218:15;35252:4;35249:1;35242:15",linkReferences:{}},methodIdentifiers:{"GUARDIAN()":"724c184c","L2_ORACLE()":"001c2ff6","SYSTEM_CONFIG()":"f0498750","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","isOutputFinalized(uint256)":"6dbffb78","l2Oracle()":"9b5f694a","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","params()":"cff0ab96","paused()":"5c975abb","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32)":"e965084c","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_ORACLE","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract L2OutputOracle","name":"_l2Oracle","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"isOutputFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Oracle","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provenWithdrawals","outputs":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2OutputIndex","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"","returns":{"_0":"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_l2Oracle":"Contract of the L2OutputOracle.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{"params":{"_l2OutputIndex":"Index of the L2 output to check."},"returns":{"_0":"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"paused()":{"returns":{"paused_":"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_l2OutputIndex":"L2 output index to prove against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},"stateVariables":{"l2Oracle":{"custom:network-specific":""},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"2.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{"notice":"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"isOutputFinalized(uint256)":{"notice":"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{"notice":"Contract of the L2OutputOracle."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{"notice":"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal.sol":"OptimismPortal"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_ORACLE",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract L2OutputOracle",name:"_l2Oracle",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"isOutputFinalized",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Oracle",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"paused_",type:"bool"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2OutputIndex",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{"custom:legacy":"",returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal.sol":"OptimismPortal"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:83459,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:83464,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:83470,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"provenWithdrawals",offset:0,slot:"52",type:"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)"},{astId:83473,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:83477,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:83481,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Oracle",offset:0,slot:"54",type:"t_contract(L2OutputOracle)83406"},{astId:83485,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(L2OutputOracle)83406":{encoding:"inplace",label:"contract L2OutputOracle",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)83448_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)83448_storage"},"t_struct(ProvenWithdrawal)83448_storage":{encoding:"inplace",label:"struct OptimismPortal.ProvenWithdrawal",numberOfBytes:"64",members:[{astId:83443,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:83445,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:83447,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2OutputIndex",offset:16,slot:"1",type:"t_uint128"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"L2_ORACLE()":{notice:"Getter function for the contract of the L2OutputOracle on this chain. Public getter is legacy and will be removed in the future. Use `l2Oracle()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"L2_ORACLE()":{returns:{_0:"Contract of the L2OutputOracle on this chain."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:130}});var QKe=D((Eda,sWt)=>{sWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"PORTAL",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"},{name:"_portal",type:"address",internalType:"contract OptimismPortal"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"portal",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b6200027f565b600054600160a81b900460ff16158080156200004e57506000546001600160a01b90910460ff16105b806200008557506200006b30620001b960201b620014d61760201c565b158015620000855750600054600160a01b900460ff166001145b620000ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011c576000805460ff60a81b1916600160a81b1790555b60fb80546001600160a01b038086166001600160a01b03199283161790925560fc8054928516929091169190911790556200016b734200000000000000000000000000000000000007620001c8565b8015620001b4576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620002375760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e5565b60cc546001600160a01b03166200025d5760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611f94806200028f6000396000f3fe6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;1159:163;;;;;;;;;-1:-1:-1;1206:109:126::1;1263:1;::::0;1206:10:::1;:109::i;:::-;701:2432:::0;;1542:296;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1651:16:126::1;:36:::0;;-1:-1:-1;;;;;1651:36:126;;::::1;-1:-1:-1::0;;;;;;1651:36:126;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;701:2432:126;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:126:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;2107:87:126;;;;;;;;;;-1:-1:-1;2181:6:126;;;;2107:87;;;427:42:350;415:55;;;397:74;;385:2;370:18;2107:87:126;219:258:350;4146:62:218;;;;;;;;;;;;4206:2;4146:62;;822:40:126;;;;;;;;;;-1:-1:-1;822:40:126;;;;;;;;8628:999:218;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;2213:6:350;2201:19;;;2183:38;;2171:2;2156:18;3879:42:218;2039:188:350;1542:296:126;;;;;;;;;;-1:-1:-1;1542:296:126;;;;;:::i;:::-;;:::i;4597:51:218:-;;;;;;;;;;;;4642:6;4597:51;;1048:40:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;3028:103:126;;;;;;;;;;;;;:::i;:::-;;;3601:14:350;;3594:22;3576:41;;3564:2;3549:18;3028:103:126;3436:187:350;950:28:126;;;;;;;;;;-1:-1:-1;950:28:126;;;;;;;;15768:250:218;;;;;;;;;;;;;:::i;3999:56::-;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;10315:5066::-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;3028:103:126;16750:134:218;;;5835:25:350;;;5823:2;5808:18;16750:134:218;5689:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9319:14:218;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;3028:103:126;9477:14:218;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5835:25:350;;9543:10:218;;9521:44;;5823:2:350;5808:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;1542:296:126:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;7634:2:350;3157:201:25;;;7616:21:350;7673:2;7653:18;;;7646:30;7712:34;7692:18;;;7685:62;7783:16;7763:18;;;7756:44;7817:19;;3157:201:25;;;;;;;;;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1651:16:126::1;:36:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:194;1723:27:126;:108::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;7999:36:350;;3553:14:25;;7987:2:350;7972:18;3553:14:25;;;;;;;3479:99;3101:483;1542:296:126;;:::o;3028:103::-;3099:16;;:25;;;;;;;;3076:4;;3099:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3092:32;;3028:103;:::o;15768:250:218:-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;8530:2:350;15842:135:218;;;8512:21:350;8569:2;8549:18;;;8542:30;8608:34;8588:18;;;8581:62;8679:23;8659:18;;;8652:51;8720:19;;15842:135:218;8328:417:350;15842:135:218;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;10315:5066::-;10726:8;:6;:8::i;:::-;:17;10718:58;;;;;;;10015:2:350;10718:58:218;;;9997:21:350;10054:2;10034:18;;;10027:30;10093;10073:18;;;10066:58;10141:18;;10718:58:218;9813:352:350;10718:58:218;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;10372:2:350;10855:101:218;;;10354:21:350;10411:2;10391:18;;;10384:30;10450:34;10430:18;;;10423:62;10521:34;10501:18;;;10494:62;10593:15;10572:19;;;10565:44;10626:19;;10855:101:218;10170:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;10858:2:350;11286:104:218;;;10840:21:350;10897:2;10877:18;;;10870:30;10936:34;10916:18;;;10909:62;11007:25;10987:18;;;10980:53;11050:19;;11286:104:218;10656:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;:17;:19::i;:::-;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;11471:2:350;11991:107:218;;;11453:21:350;11510:2;11490:18;;;11483:30;11549:34;11529:18;;;11522:62;11620:34;11600:18;;;11593:62;11692:18;11671:19;;;11664:47;11728:19;;11991:107:218;11269:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;11960:2:350;12113:90:218;;;11942:21:350;11999:2;11979:18;;;11972:30;12038:34;12018:18;;;12011:62;12109:18;12089;;;12082:46;12145:19;;12113:90:218;11758:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;12377:2:350;12224:135:218;;;12359:21:350;12416:2;12396:18;;;12389:30;12455:34;12435:18;;;12428:62;12526:34;12506:18;;;12499:62;12598:5;12577:19;;;12570:34;12621:19;;12224:135:218;12175:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;12853:2:350;12370:109:218;;;12835:21:350;12892:2;12872:18;;;12865:30;12931:34;12911:18;;;12904:62;13002:24;12982:18;;;12975:52;13044:19;;12370:109:218;12651:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;13276:2:350;13973:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;13973:55:218;13074:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;13276:2:350;15295:55:218;;;13258:21:350;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;15295:55:218;13074:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;2241::126:-;2358:6;;:196;;;;;:6;;;;;:25;;2392:6;;2358:196;;2420:3;;2392:6;;2476:9;;2358:6;;2538:5;;2358:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2241:320;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;14412:2:350;4902:69:25;;;14394:21:350;14451:2;14431:18;;;14424:30;14490:34;14470:18;;;14463:62;14561:13;14541:18;;;14534:41;14592:19;;4902:69:25;14210:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2608:168:126:-;2714:6;;2669:4;;2714:6;;2692:10;:29;:77;;;;-1:-1:-1;2754:14:126;;2725:6;;:17;;;;;;;;2754:14;;;;;2725:6;;;;:15;;:17;;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;2685:84;;2608:168;:::o;2823:158::-;2897:4;2920:24;;;2939:4;2920:24;;:54;;-1:-1:-1;2967:6:126;;;2948:26;;;2967:6;;2948:26;2920:54;2913:61;2823:158;-1:-1:-1;;2823:158:126:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;739:154:350:-;825:42;818:5;814:54;807:5;804:65;794:93;;883:1;880;873:12;794:93;739:154;:::o;898:347::-;949:8;959:6;1013:3;1006:4;998:6;994:17;990:27;980:55;;1031:1;1028;1021:12;980:55;-1:-1:-1;1054:20:350;;1097:18;1086:30;;1083:50;;;1129:1;1126;1119:12;1083:50;1166:4;1158:6;1154:17;1142:29;;1218:3;1211:4;1202:6;1194;1190:19;1186:30;1183:39;1180:59;;;1235:1;1232;1225:12;1180:59;898:347;;;;;:::o;1250:163::-;1317:20;;1377:10;1366:22;;1356:33;;1346:61;;1403:1;1400;1393:12;1346:61;1250:163;;;:::o;1418:616::-;1505:6;1513;1521;1529;1582:2;1570:9;1561:7;1557:23;1553:32;1550:52;;;1598:1;1595;1588:12;1550:52;1637:9;1624:23;1656:31;1681:5;1656:31;:::i;:::-;1706:5;-1:-1:-1;1762:2:350;1747:18;;1734:32;1789:18;1778:30;;1775:50;;;1821:1;1818;1811:12;1775:50;1860:58;1910:7;1901:6;1890:9;1886:22;1860:58;:::i;:::-;1937:8;;-1:-1:-1;1834:84:350;-1:-1:-1;1991:37:350;;-1:-1:-1;2024:2:350;2009:18;;1991:37;:::i;:::-;1981:47;;1418:616;;;;;;;:::o;2232:438::-;2350:6;2358;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;2466:9;2453:23;2485:31;2510:5;2485:31;:::i;:::-;2535:5;-1:-1:-1;2592:2:350;2577:18;;2564:32;2605:33;2564:32;2605:33;:::i;:::-;2657:7;2647:17;;;2232:438;;;;;:::o;2675:531::-;2717:3;2755:5;2749:12;2782:6;2777:3;2770:19;2807:1;2817:162;2831:6;2828:1;2825:13;2817:162;;;2893:4;2949:13;;;2945:22;;2939:29;2921:11;;;2917:20;;2910:59;2846:12;2817:162;;;2997:6;2994:1;2991:13;2988:87;;;3063:1;3056:4;3047:6;3042:3;3038:16;3034:27;3027:38;2988:87;-1:-1:-1;3120:2:350;3108:15;3125:66;3104:88;3095:98;;;;3195:4;3091:109;;2675:531;-1:-1:-1;;2675:531:350:o;3211:220::-;3360:2;3349:9;3342:21;3323:4;3380:45;3421:2;3410:9;3406:18;3398:6;3380:45;:::i;:::-;3372:53;3211:220;-1:-1:-1;;;3211:220:350:o;4121:180::-;4180:6;4233:2;4221:9;4212:7;4208:23;4204:32;4201:52;;;4249:1;4246;4239:12;4201:52;-1:-1:-1;4272:23:350;;4121:180;-1:-1:-1;4121:180:350:o;4306:481::-;4384:6;4392;4400;4453:2;4441:9;4432:7;4428:23;4424:32;4421:52;;;4469:1;4466;4459:12;4421:52;4509:9;4496:23;4542:18;4534:6;4531:30;4528:50;;;4574:1;4571;4564:12;4528:50;4613:58;4663:7;4654:6;4643:9;4639:22;4613:58;:::i;:::-;4690:8;;-1:-1:-1;4587:84:350;-1:-1:-1;4744:37:350;;-1:-1:-1;4777:2:350;4762:18;;4744:37;:::i;:::-;4734:47;;4306:481;;;;;:::o;4792:892::-;4907:6;4915;4923;4931;4939;4947;4955;5008:3;4996:9;4987:7;4983:23;4979:33;4976:53;;;5025:1;5022;5015:12;4976:53;5061:9;5048:23;5038:33;;5121:2;5110:9;5106:18;5093:32;5134:31;5159:5;5134:31;:::i;:::-;5184:5;-1:-1:-1;5241:2:350;5226:18;;5213:32;5254:33;5213:32;5254:33;:::i;:::-;5306:7;-1:-1:-1;5360:2:350;5345:18;;5332:32;;-1:-1:-1;5411:3:350;5396:19;;5383:33;;-1:-1:-1;5467:3:350;5452:19;;5439:33;5495:18;5484:30;;5481:50;;;5527:1;5524;5517:12;5481:50;5566:58;5616:7;5607:6;5596:9;5592:22;5566:58;:::i;:::-;4792:892;;;;-1:-1:-1;4792:892:350;;-1:-1:-1;4792:892:350;;;;5540:84;;-1:-1:-1;;;4792:892:350:o;5871:325::-;5959:6;5954:3;5947:19;6011:6;6004:5;5997:4;5992:3;5988:14;5975:43;;6063:1;6056:4;6047:6;6042:3;6038:16;6034:27;6027:38;5929:3;6185:4;6115:66;6110:2;6102:6;6098:15;6094:88;6089:3;6085:98;6081:109;6074:116;;5871:325;;;;:::o;6201:697::-;6496:6;6485:9;6478:25;6459:4;6522:42;6612:2;6604:6;6600:15;6595:2;6584:9;6580:18;6573:43;6664:2;6656:6;6652:15;6647:2;6636:9;6632:18;6625:43;;6704:6;6699:2;6688:9;6684:18;6677:34;6760:10;6752:6;6748:23;6742:3;6731:9;6727:19;6720:52;6809:3;6803;6792:9;6788:19;6781:32;6830:62;6887:3;6876:9;6872:19;6864:6;6856;6830:62;:::i;:::-;6822:70;6201:697;-1:-1:-1;;;;;;;;;6201:697:350:o;6903:524::-;7155:42;7147:6;7143:55;7132:9;7125:74;7235:3;7230:2;7219:9;7215:18;7208:31;7106:4;7256:62;7313:3;7302:9;7298:19;7290:6;7282;7256:62;:::i;:::-;7248:70;;7354:6;7349:2;7338:9;7334:18;7327:34;7409:10;7401:6;7397:23;7392:2;7381:9;7377:18;7370:51;6903:524;;;;;;;;:::o;8046:277::-;8113:6;8166:2;8154:9;8145:7;8141:23;8137:32;8134:52;;;8182:1;8179;8172:12;8134:52;8214:9;8208:16;8267:5;8260:13;8253:21;8246:5;8243:32;8233:60;;8289:1;8286;8279:12;8750:184;8802:77;8799:1;8792:88;8899:4;8896:1;8889:15;8923:4;8920:1;8913:15;8939:270;8978:7;9010:18;9055:2;9052:1;9048:10;9085:2;9082:1;9078:10;9141:3;9137:2;9133:12;9128:3;9125:21;9118:3;9111:11;9104:19;9100:47;9097:73;;;9150:18;;:::i;:::-;9190:13;;8939:270;-1:-1:-1;;;;8939:270:350:o;9214:353::-;9253:1;9279:18;9324:2;9321:1;9317:10;9346:3;9336:191;;9383:77;9380:1;9373:88;9484:4;9481:1;9474:15;9512:4;9509:1;9502:15;9336:191;9545:10;;9541:20;;;;;9214:353;-1:-1:-1;;9214:353:350:o;9572:236::-;9611:3;9639:18;9684:2;9681:1;9677:10;9714:2;9711:1;9707:10;9745:3;9741:2;9737:12;9732:3;9729:21;9726:47;;;9753:18;;:::i;:::-;9789:13;;9572:236;-1:-1:-1;;;;9572:236:350:o;11080:184::-;11132:77;11129:1;11122:88;11229:4;11226:1;11219:15;11253:4;11250:1;11243:15;13488:125;13528:4;13556:1;13553;13550:8;13547:34;;;13561:18;;:::i;:::-;-1:-1:-1;13598:9:350;;13488:125::o;13618:587::-;13881:42;13873:6;13869:55;13858:9;13851:74;13961:6;13956:2;13945:9;13941:18;13934:34;14016:18;14008:6;14004:31;13999:2;13988:9;13984:18;13977:59;14086:6;14079:14;14072:22;14067:2;14056:9;14052:18;14045:50;14132:3;14126;14115:9;14111:19;14104:32;13832:4;14153:46;14194:3;14183:9;14179:19;14171:6;14153:46;:::i;:::-;14145:54;13618:587;-1:-1:-1;;;;;;;13618:587:350:o;14622:251::-;14692:6;14745:2;14733:9;14724:7;14720:23;14716:32;14713:52;;;14761:1;14758;14751:12;14713:52;14793:9;14787:16;14812:31;14837:5;14812:31;:::i;14878:512::-;15072:4;15101:42;15182:2;15174:6;15170:15;15159:9;15152:34;15234:2;15226:6;15222:15;15217:2;15206:9;15202:18;15195:43;;15274:3;15269:2;15258:9;15254:18;15247:31;15295:46;15336:3;15325:9;15321:19;15313:6;15295:46;:::i;:::-;15287:54;;15377:6;15372:2;15361:9;15357:18;15350:34;14878:512;;;;;;;:::o;15395:656::-;15682:6;15671:9;15664:25;15645:4;15708:42;15798:2;15790:6;15786:15;15781:2;15770:9;15766:18;15759:43;15850:2;15842:6;15838:15;15833:2;15822:9;15818:18;15811:43;;15890:6;15885:2;15874:9;15870:18;15863:34;15934:6;15928:3;15917:9;15913:19;15906:35;15978:3;15972;15961:9;15957:19;15950:32;15999:46;16040:3;16029:9;16025:19;16017:6;15999:46;:::i;:::-;15991:54;15395:656;-1:-1:-1;;;;;;;;15395:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","PORTAL()":"0ff754ea","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address,address)":"485cc955","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","portal()":"6425666b","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","superchainConfig()":"35e80ab3","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PORTAL","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"},{"internalType":"contract OptimismPortal","name":"_portal","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portal","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L1CrossDomainMessenger","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"","returns":{"_0":"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{"params":{"_portal":"Contract of the OptimismPortal contract on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"portal":{"custom:network-specific":""},"version":{"custom:semver":"2.3.0"}},"version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{"notice":"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{"notice":"Initializes the contract."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{"notice":"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{"notice":"Contract of the SuperchainConfig."},"version()":{"notice":"Semantic version."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly.","version":1}},"settings":{"compilationTarget":{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1CrossDomainMessenger.sol":{"keccak256":"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06","license":"MIT","urls":["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6","license":"MIT","urls":["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"PORTAL",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"},{internalType:"contract OptimismPortal",name:"_portal",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"portal",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"",returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1CrossDomainMessenger.sol":{keccak256:"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06",urls:["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0x9a8aa4a07a40af3a3273d9398306bd131bf5ef3e06df4d8ad9e4e164800bbca6",urls:["bzz-raw://c4238a2f5beb466f72332046e1281c137f3098e266495230baec7cde0ec64fe0","dweb:/ipfs/QmYg4Sm3AU4QZkhBE3AgwDyyCsSm5eEM86w3F4LEYDJ9Ze"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"},{astId:81957,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"superchainConfig",offset:0,slot:"251",type:"t_contract(SuperchainConfig)85848"},{astId:81961,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"portal",offset:0,slot:"252",type:"t_contract(OptimismPortal)84108"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(OptimismPortal)84108":{encoding:"inplace",label:"contract OptimismPortal",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}}},id:126}});var VKe=D((_da,oWt)=>{oWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l1CrossDomainMessenger",type:"address",internalType:"contract CrossDomainMessenger"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1CrossDomainMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000239565b600054600160a81b900460ff16158080156200004d57506000546001600160a01b90910460ff16105b806200008457506200006a306200017360201b620013071760201c565b158015620000845750600054600160a01b900460ff166001145b620000ed5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011b576000805460ff60a81b1916600160a81b1790555b620001268262000182565b80156200016f576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620001f15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e4565b60cc546001600160a01b0316620002175760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611c8280620002496000396000f3fe60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;1023:127;;;;;;;;;-1:-1:-1;1070:73:143::1;1137:1;1070:10;:73::i;:::-;812:1752:::0;;1278:175;3111:19:25;3134:13;-1:-1:-1;;;3134:13:25;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;-1:-1:-1;;;3197:12:25;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;-1:-1:-1;;;3268:12:25;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:25;-1:-1:-1;;;3368:16:25;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:25;-1:-1:-1;;;3428:20:25;;;3394:65;1373:73:143::1;1420:23:::0;1373:27:::1;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;18507:636:218:-;4910:13:25;;-1:-1:-1;;;4910:13:25;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;18992:16:218::1;::::0;-1:-1:-1;;;;;18992:16:218::1;18988:107;;19038:16;:46:::0;;-1:-1:-1;;;;;;19038:46:218::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;-1:-1:-1;;;;;;19104:32:218::1;-1:-1:-1::0;;;;;19104:32:218;;;::::1;::::0;;;::::1;::::0;;18507:636::o;628:407:350:-;812:1752:143;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:143:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:218;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:350;176:31;;;158:50;;146:2;131:18;4456:53:218;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;4146:62;;;;;;;;;;;;4206:2;4146:62;;8628:999;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;1693:6:350;1681:19;;;1663:38;;1651:2;1636:18;3879:42:218;1519:188:350;4597:51:218;;;;;;;;;;;;4642:6;4597:51;;912:40:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:218:-;;;;;;;;;;;;4991:5;4943:53;;21036:82;;;;;;;;;;-1:-1:-1;21083:4:218;21036:82;;;2638:14:350;;2631:22;2613:41;;2601:2;2586:18;21036:82:218;2473:187:350;15768:250:218;;;;;;;;;;;;;:::i;:::-;;;2841:42:350;2829:55;;;2811:74;;2799:2;2784:18;15768:250:218;2665:226:350;3999:56:218;;;;;;;;;;;;4048:7;3999:56;;16321:108;;;;;;;;;;-1:-1:-1;16408:14:218;;;;16321:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;17497:894;;;;;;;;;;-1:-1:-1;17497:894:218;;;;;:::i;:::-;;:::i;1278:175:143:-;;;;;;;;;;-1:-1:-1;1278:175:143;;;;;:::i;:::-;;:::i;10315:5066:218:-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:218;;;;;;;;16750:134;;;;;;;;;;;;16851:8;;;;4855:18:191;4852:30;;16750:134:218;;;;5155:25:350;;;5143:2;5128:18;16750:134:218;5009:177:350;8628:999:218;9128:14;;9088:330;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9319:14;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:156;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:330::i;:::-;9446:7;9434:72;;;9455:10;9467:8;;9477:14;16851:8;;;;4855:18:191;4852:30;;16750:134:218;9477:14;9493:12;9434:72;;;;;;;;;;:::i;:::-;;;;;;;;9521:44;;9555:9;5155:25:350;;9543:10:218;;9521:44;;5143:2:350;5128:18;9521:44:218;;;;;;;-1:-1:-1;;9602:8:218;9600:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:999:218:o;15768:250::-;15863:16;;15823:7;;15863:47;:16;:47;;15842:135;;;;;;;6954:2:350;15842:135:218;;;6936:21:350;6993:2;6973:18;;;6966:30;7032:34;7012:18;;;7005:62;7103:23;7083:18;;;7076:51;7144:19;;15842:135:218;;;;;;;;;-1:-1:-1;15995:16:218;;;;;15768:250::o;17497:894::-;17581:6;4991:5;4796:6;;4363:2;17810:49;4206:2;17810:49;;;;:::i;:::-;17809:90;;;;:::i;:::-;17707:51;4507:2;17714:8;17707:51;:::i;:::-;17643:116;;4048:7;17643:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17599:785;17497:894;-1:-1:-1;;;;17497:894:218:o;1278:175:143:-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;8439:2:350;3157:201:25;;;8421:21:350;8478:2;8458:18;;;8451:30;8517:34;8497:18;;;8490:62;8588:16;8568:18;;;8561:44;8622:19;;3157:201:25;8237:410:350;3157:201:25;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1373:73:143::1;1420:23;1373:27;:73::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;8804:36:350;;3553:14:25;;8792:2:350;8777:18;3553:14:25;;;;;;;3479:99;3101:483;1278:175:143;:::o;10315:5066:218:-;5444:3:191;5440:16;;;10873:1:218;10863:11;;10855:101;;;;;;;9410:2:350;10855:101:218;;;9392:21:350;9449:2;9429:18;;;9422:30;9488:34;9468:18;;;9461:62;9559:34;9539:18;;;9532:62;9631:15;9610:19;;;9603:44;9664:19;;10855:101:218;9208:481:350;10855:101:218;11158:7;:12;;11169:1;11158:12;11154:247;;11186:15;11204:68;11237:7;11246;11255:8;;11204:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11265:6:218;;-1:-1:-1;11204:32:218;;-1:-1:-1;;11204:68:218:i;:::-;11294:27;;;;:18;:27;;;;;;11186:86;;-1:-1:-1;11294:27:218;;:36;11286:104;;;;;;;9896:2:350;11286:104:218;;;9878:21:350;9935:2;9915:18;;;9908:30;9974:34;9954:18;;;9947:62;10045:25;10025:18;;;10018:53;10088:19;;11286:104:218;9694:419:350;11286:104:218;11172:229;11154:247;11571:21;11607:90;11640:6;11648:7;11657;11666:6;11674:12;11688:8;;11607:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11607:32:218;;-1:-1:-1;;;11607:90:218:i;:::-;11571:126;;11712:19;2307:14:143;;2284:10;1685:27:232;;2307:14:143;2249:73;;;2307:14;;2249:73;;2165:164;11712:19:218;11708:506;;;11901:6;11888:9;:19;11881:27;;;;:::i;:::-;11930:29;;;;:14;:29;;;;;;;;11929:30;11922:38;;;;:::i;:::-;11708:506;;;11999:9;:14;11991:107;;;;;;;10509:2:350;11991:107:218;;;10491:21:350;10548:2;10528:18;;;10521:30;10587:34;10567:18;;;10560:62;10658:34;10638:18;;;10631:62;10730:18;10709:19;;;10702:47;10766:19;;11991:107:218;10307:484:350;11991:107:218;12121:29;;;;:14;:29;;;;;;;;12113:90;;;;;;;10998:2:350;12113:90:218;;;10980:21:350;11037:2;11017:18;;;11010:30;11076:34;11056:18;;;11049:62;11147:18;11127;;;11120:46;11183:19;;12113:90:218;10796:412:350;12113:90:218;12245:24;12261:7;12245:15;:24::i;:::-;:33;12224:135;;;;;;;11415:2:350;12224:135:218;;;11397:21:350;11454:2;11434:18;;;11427:30;11493:34;11473:18;;;11466:62;11564:34;11544:18;;;11537:62;11636:5;11615:19;;;11608:34;11659:19;;12224:135:218;11213:471:350;12224:135:218;12378:33;;;;:18;:33;;;;;;;;:42;12370:109;;;;;;;11891:2:350;12370:109:218;;;11873:21:350;11930:2;11910:18;;;11903:30;11969:34;11949:18;;;11942:62;12040:24;12020:18;;;12013:52;12082:19;;12370:109:218;11689:418:350;12370:109:218;13173:77;13192:12;13206:43;4991:5;4796:6;13206:43;:::i;:::-;13173:77;;:18;:77::i;:::-;13172:78;:145;;;-1:-1:-1;13270:16:218;;:47;:16;1338:42:188;13270:47:218;;13172:145;13155:919;;;13342:29;;;;:14;:29;;;;;;:36;;;;13374:4;13342:36;;;13397:35;13357:13;;13397:35;;;13912:41;:9;:41;13908:135;;13973:55;;;;;12314:2:350;13973:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;13973:55:218;12112:409:350;13908:135:218;14057:7;;;;13155:919;14084:16;:26;;;;;;;;;;-1:-1:-1;14135:72:218;14149:7;4796:6;14158:9;:30;;;;:::i;:::-;14190:6;14198:8;;14135:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14135:13:218;;-1:-1:-1;;;14135:72:218:i;:::-;14217:16;:46;;;;1338:42:188;14217:46:218;;;14120:87;-1:-1:-1;14274:1101:218;;;;14488:33;;;;:18;:33;;;;;;;;:42;14481:50;;;;:::i;:::-;14545:33;;;;:18;:33;;;;;;:40;;;;14581:4;14545:40;;;14604:29;14564:13;;14604:29;;;14274:1101;;;14664:29;;;;:14;:29;;;;;;:36;;;;14696:4;14664:36;;;14719:35;14679:13;;14719:35;;;15234:41;:9;:41;15230:135;;15295:55;;;;;12314:2:350;15295:55:218;;;12296:21:350;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;15295:55:218;12112:409:350;15230:135:218;10541:4840;;;10315:5066;;;;;;;;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1849:269:143:-;1966:145;;;;;312:42:194;;1966:83:143;;2058:6;;1966:145;;2080:3;;2085:9;;2096:5;;1966:145;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1849:269;;;;:::o;18507:636:218:-;4910:13:25;;;;;;;4902:69;;;;;;;13296:2:350;4902:69:25;;;13278:21:350;13335:2;13315:18;;;13308:30;13374:34;13354:18;;;13347:62;13445:13;13425:18;;;13418:41;13476:19;;4902:69:25;13094:407:350;4902:69:25;18992:16:218::1;::::0;:30:::1;:16;18988:107;;19038:16;:46:::0;;;::::1;1338:42:188;19038:46:218;::::0;;18988:107:::1;19104:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18507:636::o;3100:305:192:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2376:186:143:-;2450:4;2473:24;;;2492:4;2473:24;;:82;;-1:-1:-1;2501:54:143;;;312:42:194;2501:54:143;2473:82;2466:89;2376:186;-1:-1:-1;;2376:186:143:o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:195:o;3073:336:191:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:191;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:191;;;;;;;;:::o;219:154:350:-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;274:93;219:154;:::o;378:347::-;429:8;439:6;493:3;486:4;478:6;474:17;470:27;460:55;;511:1;508;501:12;460:55;-1:-1:-1;534:20:350;;577:18;566:30;;563:50;;;609:1;606;599:12;563:50;646:4;638:6;634:17;622:29;;698:3;691:4;682:6;674;670:19;666:30;663:39;660:59;;;715:1;712;705:12;660:59;378:347;;;;;:::o;730:163::-;797:20;;857:10;846:22;;836:33;;826:61;;883:1;880;873:12;826:61;730:163;;;:::o;898:616::-;985:6;993;1001;1009;1062:2;1050:9;1041:7;1037:23;1033:32;1030:52;;;1078:1;1075;1068:12;1030:52;1117:9;1104:23;1136:31;1161:5;1136:31;:::i;:::-;1186:5;-1:-1:-1;1242:2:350;1227:18;;1214:32;1269:18;1258:30;;1255:50;;;1301:1;1298;1291:12;1255:50;1340:58;1390:7;1381:6;1370:9;1366:22;1340:58;:::i;:::-;1417:8;;-1:-1:-1;1314:84:350;-1:-1:-1;1471:37:350;;-1:-1:-1;1504:2:350;1489:18;;1471:37;:::i;:::-;1461:47;;898:616;;;;;;;:::o;1712:531::-;1754:3;1792:5;1786:12;1819:6;1814:3;1807:19;1844:1;1854:162;1868:6;1865:1;1862:13;1854:162;;;1930:4;1986:13;;;1982:22;;1976:29;1958:11;;;1954:20;;1947:59;1883:12;1854:162;;;2034:6;2031:1;2028:13;2025:87;;;2100:1;2093:4;2084:6;2079:3;2075:16;2071:27;2064:38;2025:87;-1:-1:-1;2157:2:350;2145:15;2162:66;2141:88;2132:98;;;;2232:4;2128:109;;1712:531;-1:-1:-1;;1712:531:350:o;2248:220::-;2397:2;2386:9;2379:21;2360:4;2417:45;2458:2;2447:9;2443:18;2435:6;2417:45;:::i;:::-;2409:53;2248:220;-1:-1:-1;;;2248:220:350:o;3158:180::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;-1:-1:-1;3309:23:350;;3158:180;-1:-1:-1;3158:180:350:o;3343:481::-;3421:6;3429;3437;3490:2;3478:9;3469:7;3465:23;3461:32;3458:52;;;3506:1;3503;3496:12;3458:52;3546:9;3533:23;3579:18;3571:6;3568:30;3565:50;;;3611:1;3608;3601:12;3565:50;3650:58;3700:7;3691:6;3680:9;3676:22;3650:58;:::i;:::-;3727:8;;-1:-1:-1;3624:84:350;-1:-1:-1;3781:37:350;;-1:-1:-1;3814:2:350;3799:18;;3781:37;:::i;:::-;3771:47;;3343:481;;;;;:::o;3829:278::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:52;;;3988:1;3985;3978:12;3940:52;4027:9;4014:23;4046:31;4071:5;4046:31;:::i;4112:892::-;4227:6;4235;4243;4251;4259;4267;4275;4328:3;4316:9;4307:7;4303:23;4299:33;4296:53;;;4345:1;4342;4335:12;4296:53;4381:9;4368:23;4358:33;;4441:2;4430:9;4426:18;4413:32;4454:31;4479:5;4454:31;:::i;:::-;4504:5;-1:-1:-1;4561:2:350;4546:18;;4533:32;4574:33;4533:32;4574:33;:::i;:::-;4626:7;-1:-1:-1;4680:2:350;4665:18;;4652:32;;-1:-1:-1;4731:3:350;4716:19;;4703:33;;-1:-1:-1;4787:3:350;4772:19;;4759:33;4815:18;4804:30;;4801:50;;;4847:1;4844;4837:12;4801:50;4886:58;4936:7;4927:6;4916:9;4912:22;4886:58;:::i;:::-;4112:892;;;;-1:-1:-1;4112:892:350;;-1:-1:-1;4112:892:350;;;;4860:84;;-1:-1:-1;;;4112:892:350:o;5191:325::-;5279:6;5274:3;5267:19;5331:6;5324:5;5317:4;5312:3;5308:14;5295:43;;5383:1;5376:4;5367:6;5362:3;5358:16;5354:27;5347:38;5249:3;5505:4;5435:66;5430:2;5422:6;5418:15;5414:88;5409:3;5405:98;5401:109;5394:116;;5191:325;;;;:::o;5521:697::-;5816:6;5805:9;5798:25;5779:4;5842:42;5932:2;5924:6;5920:15;5915:2;5904:9;5900:18;5893:43;5984:2;5976:6;5972:15;5967:2;5956:9;5952:18;5945:43;;6024:6;6019:2;6008:9;6004:18;5997:34;6080:10;6072:6;6068:23;6062:3;6051:9;6047:19;6040:52;6129:3;6123;6112:9;6108:19;6101:32;6150:62;6207:3;6196:9;6192:19;6184:6;6176;6150:62;:::i;:::-;6142:70;5521:697;-1:-1:-1;;;;;;;;;5521:697:350:o;6223:524::-;6475:42;6467:6;6463:55;6452:9;6445:74;6555:3;6550:2;6539:9;6535:18;6528:31;6426:4;6576:62;6633:3;6622:9;6618:19;6610:6;6602;6576:62;:::i;:::-;6568:70;;6674:6;6669:2;6658:9;6654:18;6647:34;6729:10;6721:6;6717:23;6712:2;6701:9;6697:18;6690:51;6223:524;;;;;;;;:::o;7174:184::-;7226:77;7223:1;7216:88;7323:4;7320:1;7313:15;7347:4;7344:1;7337:15;7363:270;7402:7;7434:18;7479:2;7476:1;7472:10;7509:2;7506:1;7502:10;7565:3;7561:2;7557:12;7552:3;7549:21;7542:3;7535:11;7528:19;7524:47;7521:73;;;7574:18;;:::i;:::-;7614:13;;7363:270;-1:-1:-1;;;;7363:270:350:o;7638:353::-;7677:1;7703:18;7748:2;7745:1;7741:10;7770:3;7760:191;;7807:77;7804:1;7797:88;7908:4;7905:1;7898:15;7936:4;7933:1;7926:15;7760:191;7969:10;;7965:20;;;;;7638:353;-1:-1:-1;;7638:353:350:o;7996:236::-;8035:3;8063:18;8108:2;8105:1;8101:10;8138:2;8135:1;8131:10;8169:3;8165:2;8161:12;8156:3;8153:21;8150:47;;;8177:18;;:::i;:::-;8213:13;;7996:236;-1:-1:-1;;;;7996:236:350:o;10118:184::-;10170:77;10167:1;10160:88;10267:4;10264:1;10257:15;10291:4;10288:1;10281:15;12526:125;12566:4;12594:1;12591;12588:8;12585:34;;;12599:18;;:::i;:::-;-1:-1:-1;12636:9:350;;12526:125::o;12656:433::-;12870:42;12862:6;12858:55;12847:9;12840:74;12962:18;12954:6;12950:31;12945:2;12934:9;12930:18;12923:59;13018:2;13013;13002:9;12998:18;12991:30;12821:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13030:53;12656:433;-1:-1:-1;;;;;12656:433:350:o;13506:512::-;13700:4;13729:42;13810:2;13802:6;13798:15;13787:9;13780:34;13862:2;13854:6;13850:15;13845:2;13834:9;13830:18;13823:43;;13902:3;13897:2;13886:9;13882:18;13875:31;13923:46;13964:3;13953:9;13949:19;13941:6;13923:46;:::i;:::-;13915:54;;14005:6;14000:2;13989:9;13985:18;13978:34;13506:512;;;;;;;:::o;14023:656::-;14310:6;14299:9;14292:25;14273:4;14336:42;14426:2;14418:6;14414:15;14409:2;14398:9;14394:18;14387:43;14478:2;14470:6;14466:15;14461:2;14450:9;14446:18;14439:43;;14518:6;14513:2;14502:9;14498:18;14491:34;14562:6;14556:3;14545:9;14541:19;14534:35;14606:3;14600;14589:9;14585:19;14578:32;14627:46;14668:3;14657:9;14653:19;14645:6;14627:46;:::i;:::-;14619:54;14023:656;-1:-1:-1;;;;;;;;14023:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address)":"c4d66de8","l1CrossDomainMessenger()":"a7119869","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_l1CrossDomainMessenger","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1CrossDomainMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000007","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address)":{"params":{"_l1CrossDomainMessenger":"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"","returns":{"_0":"L1CrossDomainMessenger contract."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"version":{"custom:semver":"2.0.0"}},"title":"L2CrossDomainMessenger","version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{"notice":"Initializer."},"l1CrossDomainMessenger()":{"notice":"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts.","version":1}},"settings":{"compilationTarget":{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L2/L2CrossDomainMessenger.sol":{"keccak256":"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355","license":"MIT","urls":["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"]},"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1CrossDomainMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"",returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L2/L2CrossDomainMessenger.sol":{keccak256:"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355",urls:["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"],license:"MIT"},"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:104934,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:45313,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:104941,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:104944,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:104949,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:104952,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:104957,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:104960,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:104965,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:104970,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:104975,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:105020,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:105023,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:105026,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:105031,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:105035,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)105498"},{astId:105040,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},title:"L2CrossDomainMessenger"},id:143}});var YKe=D((Ada,cWt)=>{cWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createOptimismMintableERC20",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createOptimismMintableERC20WithDecimals",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createStandardL2Token",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_bridge",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OptimismMintableERC20Created",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"deployer",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"StandardL2TokenCreated",inputs:[{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"localToken",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b5061001b6000610020565b610169565b600054610100900460ff16158080156100405750600054600160ff909116105b8061006b57506100593061015a60201b61059d1760201c565b15801561006b575060005460ff166001145b6100d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff1916600117905580156100f5576000805461ff0019166101001790555b600180546001600160a01b0319166001600160a01b0384161790558015610156576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b6120e5806101786000396000f3fe60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;2694:66;;;;;;;;;-1:-1:-1;2718:35:225;2748:1;2718:10;:35::i;:::-;770:5093;;2876:89;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;2942:6:225::1;:16:::0;;-1:-1:-1;;;;;;2942:16:225::1;-1:-1:-1::0;;;;;2942:16:225;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;429:194:350:-;770:5093:225;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:225:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;3740:255;;;;;;:::i;:::-;;:::i;:::-;;;2746:42:350;2734:55;;;2716:74;;2704:2;2689:18;3740:255:225;2570:226:350;4908:953:225;;;;;;:::i;:::-;;:::i;2876:89::-;;;;;;:::i;:::-;;:::i;:::-;;4280:275;;;;;;:::i;:::-;;:::i;1115:21::-;;;;;;;;;3237:80;3304:6;;;;3237:80;;3740:255;3901:7;3931:57;3959:12;3973:5;3980:7;3931:27;:57::i;:::-;3924:64;3740:255;-1:-1:-1;;;;3740:255:225:o;4908:953::-;5110:7;5141:26;;;5133:102;;;;;;;3974:2:350;5133:102:225;;;3956:21:350;4013:2;3993:18;;;3986:30;4052:34;4032:18;;;4025:62;4123:33;4103:18;;;4096:61;4174:19;;5133:102:225;;;;;;;;;5246:12;5282;5296:5;5303:7;5312:9;5271:51;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5261:62;;;;;;5246:77;;5333:18;5407:4;5414:6;;;;;;;;;;;5422:12;5436:5;5443:7;5452:9;5374:88;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:130;;5570:10;5533:48;;5556:12;5533:48;;;;;;;;;;;;5760:66;;5815:10;2716:74:350;;5760:66:225;;;;;;;;;;;2704:2:350;2689:18;5760:66:225;;;;;;;5844:10;4908:953;-1:-1:-1;;;;;;4908:953:225:o;2876:89::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;5684:2:350;3146:190:41;;;5666:21:350;5723:2;5703:18;;;5696:30;5762:34;5742:18;;;5735:62;5833:16;5813:18;;;5806:44;5867:19;;3146:190:41;5482:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2942:6:225::1;:16:::0;;;::::1;;::::0;::::1;;::::0;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;6049:36:350;;3531:14:41;;6037:2:350;6022:18;3531:14:41;;;;;;;3457:99;3090:472;2876:89:225;:::o;4280:275::-;4445:7;4475:73;4515:12;4529:5;4536:7;4545:2;4475:39;:73::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;-1:-1:-1:-;;;;;;;;:::o;14:531:350:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;336:6;333:1;330:13;327:87;;;402:1;395:4;386:6;381:3;377:16;373:27;366:38;327:87;-1:-1:-1;459:2:350;447:15;464:66;443:88;434:98;;;;534:4;430:109;;14:531;-1:-1:-1;;14:531:350:o;550:220::-;699:2;688:9;681:21;662:4;719:45;760:2;749:9;745:18;737:6;719:45;:::i;:::-;711:53;550:220;-1:-1:-1;;;550:220:350:o;775:196::-;843:20;;903:42;892:54;;882:65;;872:93;;961:1;958;951:12;872:93;775:196;;;:::o;976:184::-;1028:77;1025:1;1018:88;1125:4;1122:1;1115:15;1149:4;1146:1;1139:15;1165:778;1208:5;1261:3;1254:4;1246:6;1242:17;1238:27;1228:55;;1279:1;1276;1269:12;1228:55;1315:6;1302:20;1341:18;1378:2;1374;1371:10;1368:36;;;1384:18;;:::i;:::-;1518:2;1512:9;1580:4;1572:13;;1423:66;1568:22;;;1592:2;1564:31;1560:40;1548:53;;;1616:18;;;1636:22;;;1613:46;1610:72;;;1662:18;;:::i;:::-;1702:10;1698:2;1691:22;1737:2;1729:6;1722:18;1783:3;1776:4;1771:2;1763:6;1759:15;1755:26;1752:35;1749:55;;;1800:1;1797;1790:12;1749:55;1864:2;1857:4;1849:6;1845:17;1838:4;1830:6;1826:17;1813:54;1911:1;1904:4;1899:2;1891:6;1887:15;1883:26;1876:37;1931:6;1922:15;;;;;;1165:778;;;;:::o;1948:617::-;2045:6;2053;2061;2114:2;2102:9;2093:7;2089:23;2085:32;2082:52;;;2130:1;2127;2120:12;2082:52;2153:29;2172:9;2153:29;:::i;:::-;2143:39;;2233:2;2222:9;2218:18;2205:32;2256:18;2297:2;2289:6;2286:14;2283:34;;;2313:1;2310;2303:12;2283:34;2336:50;2378:7;2369:6;2358:9;2354:22;2336:50;:::i;:::-;2326:60;;2439:2;2428:9;2424:18;2411:32;2395:48;;2468:2;2458:8;2455:16;2452:36;;;2484:1;2481;2474:12;2452:36;;2507:52;2551:7;2540:8;2529:9;2525:24;2507:52;:::i;:::-;2497:62;;;1948:617;;;;;:::o;2801:775::-;2905:6;2913;2921;2929;2982:3;2970:9;2961:7;2957:23;2953:33;2950:53;;;2999:1;2996;2989:12;2950:53;3022:29;3041:9;3022:29;:::i;:::-;3012:39;;3102:2;3091:9;3087:18;3074:32;3125:18;3166:2;3158:6;3155:14;3152:34;;;3182:1;3179;3172:12;3152:34;3205:50;3247:7;3238:6;3227:9;3223:22;3205:50;:::i;:::-;3195:60;;3308:2;3297:9;3293:18;3280:32;3264:48;;3337:2;3327:8;3324:16;3321:36;;;3353:1;3350;3343:12;3321:36;;3376:52;3420:7;3409:8;3398:9;3394:24;3376:52;:::i;:::-;3366:62;;;3478:2;3467:9;3463:18;3450:32;3522:4;3515:5;3511:16;3504:5;3501:27;3491:55;;3542:1;3539;3532:12;3491:55;2801:775;;;;-1:-1:-1;2801:775:350;;-1:-1:-1;;2801:775:350:o;3581:186::-;3640:6;3693:2;3681:9;3672:7;3668:23;3664:32;3661:52;;;3709:1;3706;3699:12;3661:52;3732:29;3751:9;3732:29;:::i;4204:583::-;4465:42;4457:6;4453:55;4442:9;4435:74;4545:3;4540:2;4529:9;4525:18;4518:31;4416:4;4572:46;4613:3;4602:9;4598:19;4590:6;4572:46;:::i;:::-;4666:9;4658:6;4654:22;4649:2;4638:9;4634:18;4627:50;4694:33;4720:6;4712;4694:33;:::i;:::-;4686:41;;;4775:4;4767:6;4763:17;4758:2;4747:9;4743:18;4736:45;4204:583;;;;;;;:::o;4792:685::-;5032:4;5061:42;5142:2;5134:6;5130:15;5119:9;5112:34;5194:2;5186:6;5182:15;5177:2;5166:9;5162:18;5155:43;;5234:3;5229:2;5218:9;5214:18;5207:31;5261:46;5302:3;5291:9;5287:19;5279:6;5261:46;:::i;:::-;5355:9;5347:6;5343:22;5338:2;5327:9;5323:18;5316:50;5383:33;5409:6;5401;5383:33;:::i;:::-;5375:41;;;5465:4;5457:6;5453:17;5447:3;5436:9;5432:19;5425:46;4792:685;;;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","bridge()":"e78cea92","createOptimismMintableERC20(address,string,string)":"ce5ac90f","createOptimismMintableERC20WithDecimals(address,string,string,uint8)":"8cf0629c","createStandardL2Token(address,string,string)":"896f93d1","initialize(address)":"c4d66de8","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"OptimismMintableERC20Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"localToken","type":"address"}],"name":"StandardL2TokenCreated","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createOptimismMintableERC20","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"name":"createOptimismMintableERC20WithDecimals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createStandardL2Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeployed 0x4200000000000000000000000000000000000012","events":{"OptimismMintableERC20Created(address,address,address)":{"params":{"deployer":"Address of the account that deployed the token.","localToken":"Address of the created token on the local chain.","remoteToken":"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{"custom:legacy":"@notice Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer OptimismMintableERC20Created event. We recommend relying on that event instead.","params":{"localToken":"Address of the created token on the local chain.","remoteToken":"Address of the token on the remote chain."}}},"kind":"dev","methods":{"BRIDGE()":{"custom:legacy":"","returns":{"_0":"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{"params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"params":{"_decimals":"ERC20 decimals","_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.","params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"initialize(address)":{"params":{"_bridge":"Address of the StandardBridge on this chain."}}},"stateVariables":{"bridge":{"custom:network-specific":""},"spacer_0_2_30":{"custom:spacer":"OptimismMintableERC20Factory\'s initializer slot spacing"},"version":{"custom:semver":"1.9.0"}},"title":"OptimismMintableERC20Factory","version":1},"userdoc":{"events":{"OptimismMintableERC20Created(address,address,address)":{"notice":"Emitted whenever a new OptimismMintableERC20 is created."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{"notice":"Address of the StandardBridge on this chain."},"constructor":{"notice":"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{"notice":"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"notice":"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{"notice":"Initializes the contract."},"version()":{"notice":"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},"notice":"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it\'s deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/OptimismMintableERC20Factory.sol":{"keccak256":"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f","license":"MIT","urls":["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"deployer",type:"address",indexed:!1}],type:"event",name:"OptimismMintableERC20Created",anonymous:!1},{inputs:[{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"localToken",type:"address",indexed:!0}],type:"event",name:"StandardL2TokenCreated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20WithDecimals",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createStandardL2Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"BRIDGE()":{"custom:legacy":"",returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.",params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/OptimismMintableERC20Factory.sol":{keccak256:"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f",urls:["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:106271,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:106274,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"bridge",offset:0,slot:"1",type:"t_address"},{astId:106279,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)49_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},events:{"OptimismMintableERC20Created(address,address,address)":{notice:"Emitted whenever a new OptimismMintableERC20 is created."}},notice:"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it's deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract."},devdoc:{version:1,kind:"dev",methods:{"BRIDGE()":{returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},events:{"OptimismMintableERC20Created(address,address,address)":{params:{deployer:"Address of the account that deployed the token.",localToken:"Address of the created token on the local chain.",remoteToken:"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{params:{localToken:"Address of the created token on the local chain.",remoteToken:"Address of the token on the remote chain."}}},title:"OptimismMintableERC20Factory"},id:225}});var $Ke=D((Ida,dWt)=>{dWt.exports={abi:[{type:"constructor",inputs:[{name:"_owner",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"addressManager",inputs:[],outputs:[{name:"",type:"address",internalType:"contract AddressManager"}],stateMutability:"view"},{type:"function",name:"changeProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_newAdmin",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getProxyImplementation",inputs:[{name:"_proxy",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"implementationName",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"isUpgrading",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proxyType",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddress",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_address",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddressManager",inputs:[{name:"_address",type:"address",internalType:"contract AddressManager"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementationName",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProxyType",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_type",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setUpgrading",inputs:[{name:"_upgrading",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgrade",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgradeAndCall",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b5060405162001a5f38038062001a5f8339810160408190526200003491620000a1565b6200003f3362000051565b6200004a8162000051565b50620000d3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000b457600080fd5b81516001600160a01b0381168114620000cc57600080fd5b9392505050565b61197c80620000e36000396000f3fe60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;2494:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:38;719:10:58;936:18:38;:32::i;:::-;2542:26:229::1;2561:6:::0;2542:18:::1;:26::i;:::-;2494:81:::0;1241:8036;;2433:187:38;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:38;;;-1:-1:-1;;;;;;2541:17:38;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:290:350:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:350;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:350:o;:::-;1241:8036:229;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:229:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3571:113;;;;;;;;;;-1:-1:-1;3571:113:229;;;;;:::i;:::-;;:::i;:::-;;4430:97;;;;;;;;;;-1:-1:-1;4430:97:229;;;;;:::i;:::-;;:::i;5236:569::-;;;;;;;;;;-1:-1:-1;5236:569:229;;;;;:::i;:::-;;:::i;:::-;;;1203:42:350;1191:55;;;1173:74;;1161:2;1146:18;5236:569:229;;;;;;;;2087:52;;;;;;;;;;-1:-1:-1;2087:52:229;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2273:36::-;;;;;;;;;;-1:-1:-1;2273:36:229;;;;;;;;1760:46;;;;;;;;;;-1:-1:-1;1760:46:229;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;1831:101:38:-;;;;;;;;;;;;;:::i;6689:531:229:-;;;;;;;;;;-1:-1:-1;6689:531:229;;;;;:::i;:::-;;:::i;3219:142::-;;;;;;;;;;-1:-1:-1;3219:142:229;;;;;:::i;:::-;;:::i;2796:120::-;;;;;;;;;;-1:-1:-1;2796:120:229;;;;;:::i;:::-;;:::i;1201:85:38:-;;;;;;;;;;-1:-1:-1;1247:7:38;1273:6;;;1201:85;;8644:631:229;;;;;;:::i;:::-;;:::i;7423:816::-;;;;;;;;;;-1:-1:-1;7423:816:229;;;;;:::i;:::-;;:::i;4126:137::-;;;;;;;;;;-1:-1:-1;4126:137:229;;;;;:::i;:::-;;:::i;4941:85::-;;;;;;;;;;-1:-1:-1;5010:9:229;;;;;;;4941:85;;7026:14:350;;7019:22;7001:41;;6989:2;6974:18;4941:85:229;6861:187:350;2081:198:38;;;;;;;;;;-1:-1:-1;2081:198:38;;;;;:::i;:::-;;:::i;5988:519:229:-;;;;;;;;;;-1:-1:-1;5988:519:229;;;;;:::i;:::-;;:::i;3571:113::-;1094:13:38;:11;:13::i;:::-;3652:14:229::1;:25:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3571:113::o;4430:97::-;1094:13:38;:11;:13::i;:::-;4498:9:229::1;:22:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4430:97::o;5236:569::-;5344:17;;;5307:7;5344:17;;;:9;:17;;;;;;;;5307:7;5375:5;:26;;;;;;;;:::i;:::-;;5371:428;;5444:6;5424:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:51;5236:569;-1:-1:-1;;;5236:569:229:o;5371:428::-;5498:20;5489:5;:29;;;;;;;;:::i;:::-;;5485:314;;5566:6;5541:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5485:314;5623:18;5614:5;:27;;;;;;;;:::i;:::-;;5610:189;;5664:14;;;5690:26;;;5664:14;5690:26;;;:18;:26;;;;;;;5664:53;;;;;:14;;;;;:25;;:53;;5690:26;5664:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5610:189;5748:40;;;;;9397:2:350;5748:40:229;;;9379:21:350;9436:2;9416:18;;;9409:30;9475:32;9455:18;;;9448:60;9525:18;;5748:40:229;;;;;;;;5610:189;5316:489;5236:569;;;:::o;2087:52::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1831:101:38:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6689:531:229:-;1094:13:38;:11;:13::i;:::-;6805:17:229::1;::::0;::::1;6787:15;6805:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;6836:5:::1;:26;;;;;;;;:::i;:::-;::::0;6832:382:::1;;6878:36;::::0;;;;:25:::1;1191:55:350::0;;;6878:36:229::1;::::0;::::1;1173:74:350::0;6878:25:229;::::1;::::0;::::1;::::0;1146:18:350;;6878:36:229::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6777:443;6689:531:::0;;:::o;6832:382::-:1;6944:20;6935:5;:29;;;;;;;;:::i;:::-;::::0;6931:283:::1;;6980:45;::::0;;;;:34:::1;1191:55:350::0;;;6980:45:229::1;::::0;::::1;1173:74:350::0;6980:34:229;::::1;::::0;::::1;::::0;1146:18:350;;6980:45:229::1;1027:226:350::0;6931:283:229::1;7055:18;7046:5;:27;;;;;;;;:::i;:::-;::::0;7042:172:::1;;7089:14;::::0;:43:::1;::::0;;;;:14:::1;1191:55:350::0;;;7089:43:229::1;::::0;::::1;1173:74:350::0;7089:14:229;;::::1;::::0;:32:::1;::::0;1146:18:350;;7089:43:229::1;1027:226:350::0;7042:172:229::1;6777:443;6689:531:::0;;:::o;3219:142::-;1094:13:38;:11;:13::i;:::-;3318:28:229::1;::::0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:36:::1;3349:5:::0;3318:28;:36:::1;:::i;2796:120::-:0;1094:13:38;:11;:13::i;:::-;2882:19:229::1;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;:27;;2904:5;;2882:27;;;::::1;::::0;2904:5;2882:27:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;2796:120:::0;;:::o;8644:631::-;1094:13:38;:11;:13::i;:::-;8850:17:229::1;::::0;::::1;8832:15;8850:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;8881:5:::1;:26;;;;;;;;:::i;:::-;::::0;8877:392:::1;;8923:74;::::0;;;;:30:::1;::::0;::::1;::::0;::::1;::::0;8962:9:::1;::::0;8923:74:::1;::::0;8974:15;;8991:5;;8923:74:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;;8877:392;;;9076:32;9084:6;9092:15;9076:7;:32::i;:::-;9123:12;9140:6;:11;;9160:9;9172:5;9140:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9122:56;;;9200:7;9192:66;;;::::0;::::1;::::0;;13275:2:350;9192:66:229::1;::::0;::::1;13257:21:350::0;13314:2;13294:18;;;13287:30;13353:34;13333:18;;;13326:62;13424:16;13404:18;;;13397:44;13458:19;;9192:66:229::1;13073:410:350::0;9192:66:229::1;9014:255;8877:392;8822:453;8644:631:::0;;;:::o;7423:816::-;1094:13:38;:11;:13::i;:::-;7534:17:229::1;::::0;::::1;7516:15;7534:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;7565:5:::1;:26;;;;;;;;:::i;:::-;::::0;7561:672:::1;;7607:40;::::0;;;;:23:::1;1191:55:350::0;;;7607:40:229::1;::::0;::::1;1173:74:350::0;7607:23:229;::::1;::::0;::::1;::::0;1146:18:350;;7607:40:229::1;1027:226:350::0;7561:672:229::1;7677:20;7668:5;:29;;;;;;;;:::i;:::-;::::0;7664:569:::1;;7713:150;::::0;;;;1614:66:188::1;7713:150:229;::::0;::::1;13662:25:350::0;7713:36:229::1;7815:33:::0;;::::1;13703:18:350::0;;;13696:34;7713:36:229;::::1;::::0;::::1;::::0;13635:18:350;;7713:150:229::1;13488:248:350::0;7664:569:229::1;7893:18;7884:5;:27;;;;;;;;:::i;:::-;::::0;7880:353:::1;;7948:26;::::0;::::1;7927:18;7948:26:::0;;;:18:::1;:26;::::0;;;;7927:47;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7988:14:229::1;::::0;:48:::1;::::0;;;;7927:47;;-1:-1:-1;7988:14:229::1;;::::0;:25:::1;::::0;-1:-1:-1;7988:48:229::1;::::0;-1:-1:-1;7927:47:229;;-1:-1:-1;8020:15:229;;7988:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7913:134;6777:443;6689:531:::0;;:::o;7880:353::-:1;8209:13;;:::i;4126:137::-:0;1094:13:38;:11;:13::i;:::-;4214:14:229::1;::::0;:42:::1;::::0;;;;:14:::1;::::0;;::::1;::::0;:25:::1;::::0;:42:::1;::::0;4240:5;;4247:8;;4214:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4126:137:::0;;:::o;2081:198:38:-;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;14477:2:350;2161:73:38::1;::::0;::::1;14459:21:350::0;14516:2;14496:18;;;14489:30;14555:34;14535:18;;;14528:62;14626:8;14606:18;;;14599:36;14652:19;;2161:73:38::1;14275:402:350::0;2161:73:38::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;5988:519:229:-;6095:17;;;6058:7;6095:17;;;:9;:17;;;;;;;;6058:7;6126:5;:26;;;;;;;;:::i;:::-;;6122:379;;6195:6;6175:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6122:379;6240:20;6231:5;:29;;;;;;;;:::i;:::-;;6227:274;;6308:6;6283:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6227:274;6356:18;6347:5;:27;;;;;;;;:::i;:::-;;6343:158;;6397:14;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:130:38;1247:7;1273:6;1422:23;1273:6;719:10:58;1422:23:38;1414:68;;;;;;;14884:2:350;1414:68:38;;;14866:21:350;;;14903:18;;;14896:30;14962:34;14942:18;;;14935:62;15014:18;;1414:68:38;14682:356:350;2433:187:38;2506:16;2525:6;;;2541:17;;;;;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:170:350:-;116:42;109:5;105:54;98:5;95:65;85:93;;174:1;171;164:12;189:287;272:6;325:2;313:9;304:7;300:23;296:32;293:52;;;341:1;338;331:12;293:52;380:9;367:23;399:47;440:5;399:47;:::i;481:273::-;537:6;590:2;578:9;569:7;565:23;561:32;558:52;;;606:1;603;596:12;558:52;645:9;632:23;698:5;691:13;684:21;677:5;674:32;664:60;;720:1;717;710:12;1258:258;1330:1;1340:113;1354:6;1351:1;1348:13;1340:113;;;1430:11;;;1424:18;1411:11;;;1404:39;1376:2;1369:10;1340:113;;;1471:6;1468:1;1465:13;1462:48;;;-1:-1:-1;;1506:1:350;1488:16;;1481:27;1258:258::o;1521:317::-;1563:3;1601:5;1595:12;1628:6;1623:3;1616:19;1644:63;1700:6;1693:4;1688:3;1684:14;1677:4;1670:5;1666:16;1644:63;:::i;:::-;1752:2;1740:15;1757:66;1736:88;1727:98;;;;1827:4;1723:109;;1521:317;-1:-1:-1;;1521:317:350:o;1843:220::-;1992:2;1981:9;1974:21;1955:4;2012:45;2053:2;2042:9;2038:18;2030:6;2012:45;:::i;2323:184::-;2375:77;2372:1;2365:88;2472:4;2469:1;2462:15;2496:4;2493:1;2486:15;2512:401;2660:2;2645:18;;2693:1;2682:13;;2672:201;;2729:77;2726:1;2719:88;2830:4;2827:1;2820:15;2858:4;2855:1;2848:15;2672:201;2882:25;;;2512:401;:::o;2918:428::-;2994:6;3002;3055:2;3043:9;3034:7;3030:23;3026:32;3023:52;;;3071:1;3068;3061:12;3023:52;3110:9;3097:23;3129:47;3170:5;3129:47;:::i;:::-;3195:5;-1:-1:-1;3252:2:350;3237:18;;3224:32;3265:49;3224:32;3265:49;:::i;:::-;3333:7;3323:17;;;2918:428;;;;;:::o;3351:184::-;3403:77;3400:1;3393:88;3500:4;3497:1;3490:15;3524:4;3521:1;3514:15;3540:334;3611:2;3605:9;3667:2;3657:13;;3672:66;3653:86;3641:99;;3770:18;3755:34;;3791:22;;;3752:62;3749:88;;;3817:18;;:::i;:::-;3853:2;3846:22;3540:334;;-1:-1:-1;3540:334:350:o;3879:246::-;3928:4;3961:18;3953:6;3950:30;3947:56;;;3983:18;;:::i;:::-;-1:-1:-1;4040:2:350;4028:15;4045:66;4024:88;4114:4;4020:99;;3879:246::o;4130:338::-;4195:5;4224:53;4240:36;4269:6;4240:36;:::i;:::-;4224:53;:::i;:::-;4215:62;;4300:6;4293:5;4286:21;4340:3;4331:6;4326:3;4322:16;4319:25;4316:45;;;4357:1;4354;4347:12;4316:45;4406:6;4401:3;4394:4;4387:5;4383:16;4370:43;4460:1;4453:4;4444:6;4437:5;4433:18;4429:29;4422:40;4130:338;;;;;:::o;4473:222::-;4516:5;4569:3;4562:4;4554:6;4550:17;4546:27;4536:55;;4587:1;4584;4577:12;4536:55;4609:80;4685:3;4676:6;4663:20;4656:4;4648:6;4644:17;4609:80;:::i;4700:473::-;4778:6;4786;4839:2;4827:9;4818:7;4814:23;4810:32;4807:52;;;4855:1;4852;4845:12;4807:52;4894:9;4881:23;4913:47;4954:5;4913:47;:::i;:::-;4979:5;-1:-1:-1;5035:2:350;5020:18;;5007:32;5062:18;5051:30;;5048:50;;;5094:1;5091;5084:12;5048:50;5117;5159:7;5150:6;5139:9;5135:22;5117:50;:::i;:::-;5107:60;;;4700:473;;;;;:::o;5178:429::-;5262:6;5270;5323:2;5311:9;5302:7;5298:23;5294:32;5291:52;;;5339:1;5336;5329:12;5291:52;5378:9;5365:23;5397:47;5438:5;5397:47;:::i;:::-;5463:5;-1:-1:-1;5520:2:350;5505:18;;5492:32;5555:1;5543:14;;5533:42;;5571:1;5568;5561:12;5612:766;5706:6;5714;5722;5775:2;5763:9;5754:7;5750:23;5746:32;5743:52;;;5791:1;5788;5781:12;5743:52;5830:9;5817:23;5849:47;5890:5;5849:47;:::i;:::-;5915:5;-1:-1:-1;5972:2:350;5957:18;;5944:32;5985:49;5944:32;5985:49;:::i;:::-;6053:7;-1:-1:-1;6111:2:350;6096:18;;6083:32;6138:18;6127:30;;6124:50;;;6170:1;6167;6160:12;6124:50;6193:22;;6246:4;6238:13;;6234:27;-1:-1:-1;6224:55:350;;6275:1;6272;6265:12;6224:55;6298:74;6364:7;6359:2;6346:16;6341:2;6337;6333:11;6298:74;:::i;:::-;6288:84;;;5612:766;;;;;:::o;6383:473::-;6461:6;6469;6522:2;6510:9;6501:7;6497:23;6493:32;6490:52;;;6538:1;6535;6528:12;6490:52;6578:9;6565:23;6611:18;6603:6;6600:30;6597:50;;;6643:1;6640;6633:12;6597:50;6666;6708:7;6699:6;6688:9;6684:22;6666:50;:::i;:::-;6656:60;;;6766:2;6755:9;6751:18;6738:32;6779:47;6820:5;6779:47;:::i;7329:267::-;7399:6;7452:2;7440:9;7431:7;7427:23;7423:32;7420:52;;;7468:1;7465;7458:12;7420:52;7500:9;7494:16;7519:47;7560:5;7519:47;:::i;7601:437::-;7680:1;7676:12;;;;7723;;;7744:61;;7798:4;7790:6;7786:17;7776:27;;7744:61;7851:2;7843:6;7840:14;7820:18;7817:38;7814:218;;7888:77;7885:1;7878:88;7989:4;7986:1;7979:15;8017:4;8014:1;8007:15;8169:1021;8278:4;8307:2;8336;8325:9;8318:21;8359:1;8392:6;8386:13;8422:36;8448:9;8422:36;:::i;:::-;8494:6;8489:2;8478:9;8474:18;8467:34;8520:2;8541:1;8573:2;8562:9;8558:18;8590:1;8585:216;;;;8815:1;8810:354;;;;8551:613;;8585:216;8648:66;8637:9;8633:82;8628:2;8617:9;8613:18;8606:110;8788:2;8776:6;8769:14;8762:22;8759:1;8755:30;8744:9;8740:46;8736:55;8729:62;;8585:216;;8810:354;8841:6;8838:1;8831:17;8889:2;8886:1;8876:16;8914:1;8928:180;8942:6;8939:1;8936:13;8928:180;;;9035:14;;9011:17;;;9007:26;;9000:50;9078:16;;;;8957:10;;8928:180;;;9132:17;;9128:26;;;-1:-1:-1;;8551:613:350;-1:-1:-1;9181:3:350;;8169:1021;-1:-1:-1;;;;;;;;8169:1021:350:o;9554:545::-;9656:2;9651:3;9648:11;9645:448;;;9692:1;9717:5;9713:2;9706:17;9762:4;9758:2;9748:19;9832:2;9820:10;9816:19;9813:1;9809:27;9803:4;9799:38;9868:4;9856:10;9853:20;9850:47;;;-1:-1:-1;9891:4:350;9850:47;9946:2;9941:3;9937:12;9934:1;9930:20;9924:4;9920:31;9910:41;;10001:82;10019:2;10012:5;10009:13;10001:82;;;10064:17;;;10045:1;10034:13;10001:82;;10335:1471;10461:3;10455:10;10488:18;10480:6;10477:30;10474:56;;;10510:18;;:::i;:::-;10539:97;10629:6;10589:38;10621:4;10615:11;10589:38;:::i;:::-;10583:4;10539:97;:::i;:::-;10691:4;;10755:2;10744:14;;10772:1;10767:782;;;;11593:1;11610:6;11607:89;;;-1:-1:-1;11662:19:350;;;11656:26;11607:89;10241:66;10232:1;10228:11;;;10224:84;10220:89;10210:100;10316:1;10312:11;;;10207:117;11709:81;;10737:1063;;10767:782;8116:1;8109:14;;;8153:4;8140:18;;10815:66;10803:79;;;10980:236;10994:7;10991:1;10988:14;10980:236;;;11083:19;;;11077:26;11062:42;;11175:27;;;;11143:1;11131:14;;;;11010:19;;10980:236;;;10984:3;11244:6;11235:7;11232:19;11229:261;;;11305:19;;;11299:26;11406:66;11388:1;11384:14;;;11400:3;11380:24;11376:97;11372:102;11357:118;11342:134;;11229:261;-1:-1:-1;;;;;11536:1:350;11520:14;;;11516:22;11503:36;;-1:-1:-1;10335:1471:350:o;11811:338::-;11998:42;11990:6;11986:55;11975:9;11968:74;12078:2;12073;12062:9;12058:18;12051:30;11949:4;12098:45;12139:2;12128:9;12124:18;12116:6;12098:45;:::i;:::-;12090:53;11811:338;-1:-1:-1;;;;11811:338:350:o;12154:635::-;12233:6;12286:2;12274:9;12265:7;12261:23;12257:32;12254:52;;;12302:1;12299;12292:12;12254:52;12335:9;12329:16;12368:18;12360:6;12357:30;12354:50;;;12400:1;12397;12390:12;12354:50;12423:22;;12476:4;12468:13;;12464:27;-1:-1:-1;12454:55:350;;12505:1;12502;12495:12;12454:55;12534:2;12528:9;12559:49;12575:32;12604:2;12575:32;:::i;12559:49::-;12631:2;12624:5;12617:17;12671:7;12666:2;12661;12657;12653:11;12649:20;12646:33;12643:53;;;12692:1;12689;12682:12;12643:53;12705:54;12756:2;12751;12744:5;12740:14;12735:2;12731;12727:11;12705:54;:::i;:::-;12778:5;12154:635;-1:-1:-1;;;;;12154:635:350:o;12794:274::-;12923:3;12961:6;12955:13;12977:53;13023:6;13018:3;13011:4;13003:6;12999:17;12977:53;:::i;:::-;13046:16;;;;;12794:274;-1:-1:-1;;12794:274:350:o;13741:340::-;13918:2;13907:9;13900:21;13881:4;13938:45;13979:2;13968:9;13964:18;13956:6;13938:45;:::i;:::-;13930:53;;14031:42;14023:6;14019:55;14014:2;14003:9;13999:18;13992:83;13741:340;;;;;:::o;14086:184::-;14138:77;14135:1;14128:88;14235:4;14232:1;14225:15;14259:4;14256:1;14249:15",linkReferences:{}},methodIdentifiers:{"addressManager()":"3ab76e9f","changeProxyAdmin(address,address)":"7eff275e","getProxyAdmin(address)":"f3b7dead","getProxyImplementation(address)":"204e1c7a","implementationName(address)":"238181ae","isUpgrading()":"b7947262","owner()":"8da5cb5b","proxyType(address)":"6bd9f516","renounceOwnership()":"715018a6","setAddress(string,address)":"9b2ea4bd","setAddressManager(address)":"0652b57a","setImplementationName(address,string)":"860f7cda","setProxyType(address,uint8)":"8d52d4a0","setUpgrading(bool)":"07c8f7b0","transferOwnership(address)":"f2fde38b","upgrade(address,address)":"99a88ec4","upgradeAndCall(address,address,bytes)":"9623609d"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"addressManager","outputs":[{"internalType":"contract AddressManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"}],"name":"getProxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"getProxyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"implementationName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyType","outputs":[{"internalType":"enum ProxyAdmin.ProxyType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract AddressManager","name":"_address","type":"address"}],"name":"setAddressManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"name":"setImplementationName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"enum ProxyAdmin.ProxyType","name":"_type","type":"uint8"}],"name":"setProxyType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_upgrading","type":"bool"}],"name":"setUpgrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"kind":"dev","methods":{"changeProxyAdmin(address,address)":{"params":{"_newAdmin":"Address of the new proxy admin.","_proxy":"Address of the proxy to update."}},"constructor":{"params":{"_owner":"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{"params":{"_proxy":"Address of the proxy to get the admin of."},"returns":{"_0":"Address of the admin of the proxy."}},"getProxyImplementation(address)":{"params":{"_proxy":"Address of the proxy to get the implementation of."},"returns":{"_0":"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.","returns":{"_0":"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don\'t currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.","params":{"_address":"Address to attach to the given name.","_name":"Name to set within the AddressManager."}},"setAddressManager(address)":{"params":{"_address":"Address of the AddressManager."}},"setImplementationName(address,string)":{"params":{"_address":"Address of the ResolvedDelegateProxy.","_name":"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{"params":{"_address":"Address of the proxy.","_type":"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.","params":{"_upgrading":"Whether or not the system is upgrading."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{"params":{"_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{"params":{"_data":"Data to trigger the new implementation with.","_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}}},"title":"ProxyAdmin","version":1},"userdoc":{"kind":"user","methods":{"addressManager()":{"notice":"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{"notice":"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{"notice":"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{"notice":"Returns the implementation of the given proxy address."},"implementationName(address)":{"notice":"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{"notice":"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{"notice":"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{"notice":"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{"notice":"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{"notice":"Changes a proxy\'s implementation contract."},"upgradeAndCall(address,address,bytes)":{"notice":"Changes a proxy\'s implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},"notice":"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past.","version":1}},"settings":{"compilationTarget":{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673","license":"MIT","urls":["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/legacy/AddressManager.sol":{"keccak256":"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19","license":"MIT","urls":["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"]},"src/legacy/L1ChugSplashProxy.sol":{"keccak256":"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23","license":"MIT","urls":["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/universal/Proxy.sol":{"keccak256":"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc","license":"MIT","urls":["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"]},"src/universal/ProxyAdmin.sol":{"keccak256":"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf","license":"MIT","urls":["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"addressManager",outputs:[{internalType:"contract AddressManager",name:"",type:"address"}]},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_newAdmin",type:"address"}],stateMutability:"nonpayable",type:"function",name:"changeProxyAdmin"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyAdmin",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyImplementation",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"implementationName",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"proxyType",outputs:[{internalType:"enum ProxyAdmin.ProxyType",name:"",type:"uint8"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddress"},{inputs:[{internalType:"contract AddressManager",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddressManager"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"string",name:"_name",type:"string"}],stateMutability:"nonpayable",type:"function",name:"setImplementationName"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"enum ProxyAdmin.ProxyType",name:"_type",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"setProxyType"},{inputs:[{internalType:"bool",name:"_upgrading",type:"bool"}],stateMutability:"nonpayable",type:"function",name:"setUpgrading"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"}],stateMutability:"nonpayable",type:"function",name:"upgrade"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"upgradeAndCall"}],devdoc:{kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.",returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.",params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.",params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},version:1},userdoc:{kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{keccak256:"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",urls:["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/legacy/AddressManager.sol":{keccak256:"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19",urls:["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"],license:"MIT"},"src/legacy/L1ChugSplashProxy.sol":{keccak256:"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23",urls:["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/universal/Proxy.sol":{keccak256:"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc",urls:["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"],license:"MIT"},"src/universal/ProxyAdmin.sol":{keccak256:"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf",urls:["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47673,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"_owner",offset:0,slot:"0",type:"t_address"},{astId:107093,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"proxyType",offset:0,slot:"1",type:"t_mapping(t_address,t_enum(ProxyType)107087)"},{astId:107098,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"implementationName",offset:0,slot:"2",type:"t_mapping(t_address,t_string_storage)"},{astId:107102,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"addressManager",offset:0,slot:"3",type:"t_contract(AddressManager)98517"},{astId:107105,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"upgrading",offset:20,slot:"3",type:"t_bool"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(AddressManager)98517":{encoding:"inplace",label:"contract AddressManager",numberOfBytes:"20"},"t_enum(ProxyType)107087":{encoding:"inplace",label:"enum ProxyAdmin.ProxyType",numberOfBytes:"1"},"t_mapping(t_address,t_enum(ProxyType)107087)":{encoding:"mapping",key:"t_address",label:"mapping(address => enum ProxyAdmin.ProxyType)",numberOfBytes:"32",value:"t_enum(ProxyType)107087"},"t_mapping(t_address,t_string_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => string)",numberOfBytes:"32",value:"t_string_storage"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},notice:"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past."},devdoc:{version:1,kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},title:"ProxyAdmin"},id:229}});var JKe=D((Cda,lWt)=>{lWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CHALLENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"FINALIZATION_PERIOD_SECONDS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"L2_BLOCK_TIME",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"PROPOSER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SUBMISSION_INTERVAL",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"challenger",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"computeL2Timestamp",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deleteL2Outputs",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizationPeriodSeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL2Output",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputIndexAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_submissionInterval",type:"uint256",internalType:"uint256"},{name:"_l2BlockTime",type:"uint256",internalType:"uint256"},{name:"_startingBlockNumber",type:"uint256",internalType:"uint256"},{name:"_startingTimestamp",type:"uint256",internalType:"uint256"},{name:"_proposer",type:"address",internalType:"address"},{name:"_challenger",type:"address",internalType:"address"},{name:"_finalizationPeriodSeconds",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2BlockTime",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposeL2Output",inputs:[{name:"_outputRoot",type:"bytes32",internalType:"bytes32"},{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"},{name:"_l1BlockHash",type:"bytes32",internalType:"bytes32"},{name:"_l1BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"proposer",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingTimestamp",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"submissionInterval",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OutputProposed",inputs:[{name:"outputRoot",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"l2OutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l2BlockNumber",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l1Timestamp",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OutputsDeleted",inputs:[{name:"prevNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"newNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000256001806000808080806200002b565b62000328565b600054610100900460ff16158080156200004c5750600054600160ff909116105b806200007c575062000069306200031960201b6200135d1760201c565b1580156200007c575060005460ff166001145b620000e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000109576000805461ff0019166101001790555b60008811620001815760405162461bcd60e51b815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e20300000000000006064820152608401620000dc565b60008711620001f95760405162461bcd60e51b815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e20300000000000000000000000006064820152608401620000dc565b428511156200027f5760405162461bcd60e51b8152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201526374696d6560e01b608482015260a401620000dc565b6004889055600587905560018690556002859055600780546001600160a01b038087166001600160a01b0319928316179092556006805492861692909116919091179055600882905580156200030f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6001600160a01b03163b151590565b6115d580620003386000396000f3fe60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;2792:305;;;;;;;;;-1:-1:-1;2816:274:129;2862:1;;2928;;;;;2816:10;:274::i;:::-;611:13425;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;-1:-1:-1;;;4058:94:129;;631:2:350;4058:94:129::1;::::0;::::1;613:21:350::0;670:2;650:18;;;643:30;709:34;689:18;;;682:62;780:28;760:18;;;753:56;826:19;;4058:94:129::1;429:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;-1:-1:-1;;;4162:81:129;;1058:2:350;4162:81:129::1;::::0;::::1;1040:21:350::0;1097:2;1077:18;;;1070:30;1136:34;1116:18;;;1109:62;1207:22;1187:18;;;1180:50;1247:19;;4162:81:129::1;856:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;-1:-1:-1;;;4253:152:129;;1479:2:350;4253:152:129::1;::::0;::::1;1461:21:350::0;1518:2;1498:18;;;1491:30;;;1557:34;1537:18;;;1530:62;1628:34;1608:18;;;1601:62;-1:-1:-1;;;1679:19:350;;;1672:35;1724:19;;4253:152:129::1;1277:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;-1:-1:-1;;;;;4602:20:129;;::::1;-1:-1:-1::0;;;;;;4602:20:129;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1906:36:350;;3531:14:41;;1894:2:350;1879:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;1754:194:350:-;611:13425:129;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:129:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:92;;;;;;;;;;-1:-1:-1;5338:11:129;;5264:92;;;160:25:350;;;148:2;133:18;5264:92:129;;;;;;;;3742:985;;;;;;;;;;-1:-1:-1;3742:985:129;;;;;:::i;:::-;;:::i;:::-;;13212:174;;;;;;;;;;;;;:::i;4953:105::-;;;;;;;;;;-1:-1:-1;5033:18:129;;4953:105;;1426:25;;;;;;;;;;-1:-1:-1;1426:25:129;;;;;;;;;;;1182:42:350;1170:55;;;1152:74;;1140:2;1125:18;1426:25:129;1006:226:350;2598:40:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12608:105::-;;;;;;;;;;;;;:::i;12849:97::-;;;;;;;;;;-1:-1:-1;12923:9:129;:16;12849:97;;5580:88;;;;;;;;;;-1:-1:-1;5651:10:129;;;;5580:88;;743:34;;;;;;;;;;;;;;;;10969:896;;;;;;;;;;-1:-1:-1;10969:896:129;;;;;:::i;:::-;;:::i;863:32::-;;;;;;;;;;;;;;;;6689:975;;;;;;;;;;-1:-1:-1;6689:975:129;;;;;:::i;:::-;;:::i;1285:26::-;;;;;;;;;;;;;;;;8258:1981;;;;;;:::i;:::-;;:::i;10443:146::-;;;;;;;;;;-1:-1:-1;10443:146:129;;;;;:::i;:::-;;:::i;:::-;;;;2705:13:350;;2687:32;;2766:4;2754:17;;;2748:24;2791:34;2863:21;;;2841:20;;;2834:51;;;;2933:17;;;2927:24;2923:33;;;2901:20;;;2894:63;2675:2;2660:18;10443:146:129;2473:490:350;1564:23:129;;;;;;;;;;-1:-1:-1;1564:23:129;;;;;;;;5886:84;;;;;;;;;;-1:-1:-1;5955:8:129;;;;5886:84;;1728:40;;;;;;;;;;;;;;;;12228:174;;;;;;;;;;-1:-1:-1;12228:174:129;;;;;:::i;:::-;;:::i;13854:180::-;;;;;;;;;;-1:-1:-1;13854:180:129;;;;;:::i;:::-;;:::i;13524:121::-;;;;;;;;;;;;;:::i;1114:33::-;;;;;;;;;;;;;;;;6221:120;;;;;;;;;;-1:-1:-1;6309:25:129;;6221:120;;3742:985;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;3170:2:350;3146:190:41;;;3152:21:350;3209:2;3189:18;;;3182:30;3248:34;3228:18;;;3221:62;3319:16;3299:18;;;3292:44;3353:19;;3146:190:41;;;;;;;;;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4088:1:129::1;4066:19;:23;4058:94;;;::::0;::::1;::::0;;3585:2:350;4058:94:129::1;::::0;::::1;3567:21:350::0;3624:2;3604:18;;;3597:30;3663:34;3643:18;;;3636:62;3734:28;3714:18;;;3707:56;3780:19;;4058:94:129::1;3383:422:350::0;4058:94:129::1;4185:1;4170:12;:16;4162:81;;;::::0;::::1;::::0;;4012:2:350;4162:81:129::1;::::0;::::1;3994:21:350::0;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:22;4141:18;;;4134:50;4201:19;;4162:81:129::1;3810:416:350::0;4162:81:129::1;4296:15;4274:18;:37;;4253:152;;;::::0;::::1;::::0;;4433:2:350;4253:152:129::1;::::0;::::1;4415:21:350::0;4472:2;4452:18;;;4445:30;;;4511:34;4491:18;;;4484:62;4582:34;4562:18;;;4555:62;4654:6;4633:19;;;4626:35;4678:19;;4253:152:129::1;4231:472:350::0;4253:152:129::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:41;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;4860:36:350;;3531:14:41;;4848:2:350;4833:18;3531:14:41;;;;;;;3457:99;3090:472;3742:985:129;;;;;;;:::o;13212:174::-;13288:9;:16;13262:7;;13288:21;:91;;13334:9;13344:16;;:20;;13363:1;;13344:20;:::i;:::-;13334:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:45;;;;;;;;;13212:174;-1:-1:-1;13212:174:129:o;13288:91::-;13312:19;;13288:91;13281:98;;13212:174;:::o;12608:105::-;12686:9;:16;12660:7;;12686:20;;12705:1;;12686:20;:::i;10969:896::-;11045:7;11184:19;:17;:19::i;:::-;11166:14;:37;;11145:156;;;;;;;5617:2:350;11145:156:129;;;5599:21:350;5656:2;5636:18;;;5629:30;5695:34;5675:18;;;5668:62;5766:34;5746:18;;;5739:62;5838:10;5817:19;;;5810:39;5866:19;;11145:156:129;5415:476:350;11145:156:129;11379:9;:16;11371:103;;;;;;;6098:2:350;11371:103:129;;;6080:21:350;6137:2;6117:18;;;6110:30;6176:34;6156:18;;;6149:62;6247:34;6227:18;;;6220:62;6319:8;6298:19;;;6291:37;6345:19;;11371:103:129;5896:474:350;11371:103:129;11589:9;:16;11552:10;;11615:224;11627:2;11622;:7;11615:224;;;11645:11;11671:1;11660:7;11665:2;11660;:7;:::i;:::-;11659:13;;;;:::i;:::-;11645:27;;11721:14;11690:9;11700:3;11690:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;;;;:45;11686:143;;;11760:7;:3;11766:1;11760:7;:::i;:::-;11755:12;;11686:143;;;11811:3;11806:8;;11686:143;11631:208;11615:224;;;-1:-1:-1;11856:2:129;10969:896;-1:-1:-1;;10969:896:129:o;6689:975::-;6779:10;;;;6765;:24;6757:99;;;;;;;6989:2:350;6757:99:129;;;6971:21:350;7028:2;7008:18;;;7001:30;7067:34;7047:18;;;7040:62;7138:32;7118:18;;;7111:60;7188:19;;6757:99:129;6787:426:350;6757:99:129;6974:9;:16;6957:33;;6936:135;;;;;;;7420:2:350;6936:135:129;;;7402:21:350;7459:2;7439:18;;;7432:30;7498:34;7478:18;;;7471:62;7569:34;7549:18;;;7542:62;7641:5;7620:19;;;7613:34;7664:19;;6936:135:129;7218:471:350;6936:135:129;7238:25;;7200:9;7210:14;7200:25;;;;;;;;:::i;:::-;;;;;;;;;:35;:25;;;;;:35;;7182:53;;7200:35;;7182:15;:53;:::i;:::-;:81;7161:198;;;;;;;7896:2:350;7161:198:129;;;7878:21:350;7935:2;7915:18;;;7908:30;7974:34;7954:18;;;7947:62;8045:34;8025:18;;;8018:62;8117:8;8096:19;;;8089:37;8143:19;;7161:198:129;7694:474:350;7161:198:129;7370:29;7402:17;12923:9;:16;;12849:97;7402:17;7370:49;;7564:14;7548;7541:38;7642:14;7619:21;7604:53;;;;;;;;;;6747:917;6689:975;:::o;8258:1981::-;8481:8;;;;8467:10;:22;8459:100;;;;;;;8375:2:350;8459:100:129;;;8357:21:350;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;8524:34;8504:18;;;8497:62;8596:3;8575:19;;;8568:32;8617:19;;8459:100:129;8173:469:350;8459:100:129;8609:17;:15;:17::i;:::-;8591:14;:35;8570:154;;;;;;;8849:2:350;8570:154:129;;;8831:21:350;8888:2;8868:18;;;8861:30;8927:34;8907:18;;;8900:62;8998:34;8978:18;;;8971:62;9070:10;9049:19;;;9042:39;9098:19;;8570:154:129;8647:476:350;8570:154:129;8793:15;8756:34;8775:14;8756:18;:34::i;:::-;:52;8735:153;;;;;;;9330:2:350;8735:153:129;;;9312:21:350;9369:2;9349:18;;;9342:30;9408:34;9388:18;;;9381:62;9479:24;9459:18;;;9452:52;9521:19;;8735:153:129;9128:418:350;8735:153:129;8907:11;8899:96;;;;;;;9753:2:350;8899:96:129;;;9735:21:350;9792:2;9772:18;;;9765:30;9831:34;9811:18;;;9804:62;9902:28;9882:18;;;9875:56;9948:19;;8899:96:129;9551:422:350;8899:96:129;9010:26;;9006:897;;9773:12;9754:14;9744:25;:41;9719:173;;;;;;;10180:2:350;9719:173:129;;;10162:21:350;10219:2;10199:18;;;10192:30;10258:34;10238:18;;;10231:62;10329:34;10309:18;;;10302:62;10401:11;10380:19;;;10373:40;10430:19;;9719:173:129;9978:477:350;9719:173:129;9965:14;9946:17;12923:9;:16;;12849:97;9946:17;9933:11;9918:79;9981:15;9918:79;;;;160:25:350;;148:2;133:18;;14:177;9918:79:129;;;;;;;;-1:-1:-1;;10036:186:129;;;;;;;;;;;;10135:15;10036:186;;;;;;;;;;;;;;;;;10008:9;:224;;;;;;;-1:-1:-1;10008:224:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8258:1981::o;10443:146::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;10557:9:129;10567:14;10557:25;;;;;;;;:::i;:::-;;;;;;;;;;10550:32;;;;;;;;10557:25;;;;;;;10550:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10443:146;-1:-1:-1;;10443:146:129:o;12228:174::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;12347:9:129;12357:37;12379:14;12357:21;:37::i;:::-;12347:48;;;;;;;;:::i;13854:180::-;13927:7;14015:11;;13992:19;;13975:14;:36;;;;:::i;:::-;13974:52;;;;:::i;:::-;13953:17;;:74;;;;:::i;:::-;13946:81;13854:180;-1:-1:-1;;13854:180:129:o;13524:121::-;13572:7;13620:18;;13598:19;:17;:19::i;:::-;:40;;;;:::i;1175:320:57:-;1465:19;;;:23;;;1175:320::o;196:196:350:-;264:20;;324:42;313:54;;303:65;;293:93;;382:1;379;372:12;293:93;196:196;;;:::o;397:604::-;510:6;518;526;534;542;550;558;611:3;599:9;590:7;586:23;582:33;579:53;;;628:1;625;618:12;579:53;664:9;651:23;641:33;;721:2;710:9;706:18;693:32;683:42;;772:2;761:9;757:18;744:32;734:42;;823:2;812:9;808:18;795:32;785:42;;846:39;880:3;869:9;865:19;846:39;:::i;:::-;836:49;;904:39;938:3;927:9;923:19;904:39;:::i;:::-;894:49;;990:3;979:9;975:19;962:33;952:43;;397:604;;;;;;;;;;:::o;1237:656::-;1349:4;1378:2;1407;1396:9;1389:21;1439:6;1433:13;1482:6;1477:2;1466:9;1462:18;1455:34;1507:1;1517:140;1531:6;1528:1;1525:13;1517:140;;;1626:14;;;1622:23;;1616:30;1592:17;;;1611:2;1588:26;1581:66;1546:10;;1517:140;;;1675:6;1672:1;1669:13;1666:91;;;1745:1;1740:2;1731:6;1720:9;1716:22;1712:31;1705:42;1666:91;-1:-1:-1;1809:2:350;1797:15;1814:66;1793:88;1778:104;;;;1884:2;1774:113;;1237:656;-1:-1:-1;;;1237:656:350:o;1898:180::-;1957:6;2010:2;1998:9;1989:7;1985:23;1981:32;1978:52;;;2026:1;2023;2016:12;1978:52;-1:-1:-1;2049:23:350;;1898:180;-1:-1:-1;1898:180:350:o;2083:385::-;2169:6;2177;2185;2193;2246:3;2234:9;2225:7;2221:23;2217:33;2214:53;;;2263:1;2260;2253:12;2214:53;-1:-1:-1;;2286:23:350;;;2356:2;2341:18;;2328:32;;-1:-1:-1;2407:2:350;2392:18;;2379:32;;2458:2;2443:18;2430:32;;-1:-1:-1;2083:385:350;-1:-1:-1;2083:385:350:o;4907:184::-;4959:77;4956:1;4949:88;5056:4;5053:1;5046:15;5080:4;5077:1;5070:15;5096:125;5136:4;5164:1;5161;5158:8;5155:34;;;5169:18;;:::i;:::-;-1:-1:-1;5206:9:350;;5096:125::o;5226:184::-;5278:77;5275:1;5268:88;5375:4;5372:1;5365:15;5399:4;5396:1;5389:15;6375:128;6415:3;6446:1;6442:6;6439:1;6436:13;6433:39;;;6452:18;;:::i;:::-;-1:-1:-1;6488:9:350;;6375:128::o;6508:274::-;6548:1;6574;6564:189;;6609:77;6606:1;6599:88;6710:4;6707:1;6700:15;6738:4;6735:1;6728:15;6564:189;-1:-1:-1;6767:9:350;;6508:274::o;10460:228::-;10500:7;10626:1;10558:66;10554:74;10551:1;10548:81;10543:1;10536:9;10529:17;10525:105;10522:131;;;10633:18;;:::i;:::-;-1:-1:-1;10673:9:350;;10460:228::o",linkReferences:{}},methodIdentifiers:{"CHALLENGER()":"6b4d98dd","FINALIZATION_PERIOD_SECONDS()":"f4daa291","L2_BLOCK_TIME()":"002134cc","PROPOSER()":"bffa7f0f","SUBMISSION_INTERVAL()":"529933df","challenger()":"534db0e2","computeL2Timestamp(uint256)":"d1de856c","deleteL2Outputs(uint256)":"89c44cbb","finalizationPeriodSeconds()":"ce5db8d6","getL2Output(uint256)":"a25ae557","getL2OutputAfter(uint256)":"cf8e5cf0","getL2OutputIndexAfter(uint256)":"7f006420","initialize(uint256,uint256,uint256,uint256,address,address,uint256)":"1c89c97d","l2BlockTime()":"93991af3","latestBlockNumber()":"4599c788","latestOutputIndex()":"69f16eec","nextBlockNumber()":"dcec3348","nextOutputIndex()":"6abcf563","proposeL2Output(bytes32,uint256,bytes32,uint256)":"9aaab648","proposer()":"a8e4fb90","startingBlockNumber()":"70872aa5","startingTimestamp()":"88786272","submissionInterval()":"e1a41bcf","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"l2OutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"l2BlockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"l1Timestamp","type":"uint256"}],"name":"OutputProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"prevNextOutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newNextOutputIndex","type":"uint256"}],"name":"OutputsDeleted","type":"event"},{"inputs":[],"name":"CHALLENGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FINALIZATION_PERIOD_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_BLOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUBMISSION_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"challenger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"computeL2Timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"deleteL2Outputs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizationPeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"getL2Output","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputAfter","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputIndexAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_submissionInterval","type":"uint256"},{"internalType":"uint256","name":"_l2BlockTime","type":"uint256"},{"internalType":"uint256","name":"_startingBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_startingTimestamp","type":"uint256"},{"internalType":"address","name":"_proposer","type":"address"},{"internalType":"address","name":"_challenger","type":"address"},{"internalType":"uint256","name":"_finalizationPeriodSeconds","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2BlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_outputRoot","type":"bytes32"},{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"},{"internalType":"bytes32","name":"_l1BlockHash","type":"bytes32"},{"internalType":"uint256","name":"_l1BlockNumber","type":"uint256"}],"name":"proposeL2Output","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proposer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"submissionInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L2OutputOracle","events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"params":{"l1Timestamp":"The L1 timestamp when proposed.","l2BlockNumber":"The L2 block number of the output root.","l2OutputIndex":"The index of the output in the l2Outputs array.","outputRoot":"The output root."}},"OutputsDeleted(uint256,uint256)":{"params":{"newNextOutputIndex":"Next L2 output index after the deletion.","prevNextOutputIndex":"Next L2 output index before the deletion."}}},"kind":"dev","methods":{"CHALLENGER()":{"custom:legacy":"","returns":{"_0":"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"","returns":{"_0":"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"","returns":{"_0":"L2 block time."}},"PROPOSER()":{"custom:legacy":"","returns":{"_0":"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"","returns":{"_0":"Submission interval."}},"computeL2Timestamp(uint256)":{"params":{"_l2BlockNumber":"The L2 block number of the target block."},"returns":{"_0":"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{"params":{"_l2OutputIndex":"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{"params":{"_l2OutputIndex":"Index of the output to return."},"returns":{"_0":"The output at the given index."}},"getL2OutputAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"params":{"_challenger":"The address of the challenger.","_finalizationPeriodSeconds":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.","_l2BlockTime":"The time per L2 block, in seconds.","_proposer":"The address of the proposer.","_startingBlockNumber":"The number of the first L2 block.","_startingTimestamp":"The timestamp of the first L2 block.","_submissionInterval":"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{"returns":{"_0":"Latest submitted L2 block number."}},"latestOutputIndex()":{"returns":{"_0":"The number of outputs that have been proposed."}},"nextBlockNumber()":{"returns":{"_0":"Next L2 block number."}},"nextOutputIndex()":{"returns":{"_0":"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"params":{"_l1BlockHash":"A block hash which must be included in the current chain.","_l1BlockNumber":"The block number with the specified block hash.","_l2BlockNumber":"The L2 block number that resulted in _outputRoot.","_outputRoot":"The L2 output of the checkpoint block."}}},"stateVariables":{"challenger":{"custom:network-specific":""},"finalizationPeriodSeconds":{"custom:network-specific":""},"l2BlockTime":{"custom:network-specific":""},"proposer":{"custom:network-specific":""},"submissionInterval":{"custom:network-specific":""},"version":{"custom:semver":"1.8.0"}},"version":1},"userdoc":{"events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"notice":"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{"notice":"Emitted when outputs are deleted."}},"kind":"user","methods":{"CHALLENGER()":{"notice":"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{"notice":"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{"notice":"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{"notice":"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{"notice":"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{"notice":"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{"notice":"Returns the L2 timestamp corresponding to a given L2 block number."},"constructor":{"notice":"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{"notice":"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{"notice":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{"notice":"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{"notice":"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{"notice":"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"notice":"Initializer."},"l2BlockTime()":{"notice":"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{"notice":"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{"notice":"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{"notice":"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{"notice":"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"notice":"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{"notice":"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{"notice":"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{"notice":"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{"notice":"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{"notice":"Semantic version."}},"notice":"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32",indexed:!0},{internalType:"uint256",name:"l2OutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"l2BlockNumber",type:"uint256",indexed:!0},{internalType:"uint256",name:"l1Timestamp",type:"uint256",indexed:!1}],type:"event",name:"OutputProposed",anonymous:!1},{inputs:[{internalType:"uint256",name:"prevNextOutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"newNextOutputIndex",type:"uint256",indexed:!0}],type:"event",name:"OutputsDeleted",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"CHALLENGER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"FINALIZATION_PERIOD_SECONDS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_BLOCK_TIME",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"PROPOSER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SUBMISSION_INTERVAL",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"challenger",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"computeL2Timestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"deleteL2Outputs"},{inputs:[],stateMutability:"view",type:"function",name:"finalizationPeriodSeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2Output",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputAfter",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputIndexAfter",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_submissionInterval",type:"uint256"},{internalType:"uint256",name:"_l2BlockTime",type:"uint256"},{internalType:"uint256",name:"_startingBlockNumber",type:"uint256"},{internalType:"uint256",name:"_startingTimestamp",type:"uint256"},{internalType:"address",name:"_proposer",type:"address"},{internalType:"address",name:"_challenger",type:"address"},{internalType:"uint256",name:"_finalizationPeriodSeconds",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2BlockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"_outputRoot",type:"bytes32"},{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"},{internalType:"bytes32",name:"_l1BlockHash",type:"bytes32"},{internalType:"uint256",name:"_l1BlockNumber",type:"uint256"}],stateMutability:"payable",type:"function",name:"proposeL2Output"},{inputs:[],stateMutability:"view",type:"function",name:"proposer",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"submissionInterval",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"CHALLENGER()":{"custom:legacy":"",returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"",returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"",returns:{_0:"L2 block time."}},"PROPOSER()":{"custom:legacy":"",returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"",returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},version:1},userdoc:{kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:82910,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingBlockNumber",offset:0,slot:"1",type:"t_uint256"},{astId:82913,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingTimestamp",offset:0,slot:"2",type:"t_uint256"},{astId:82918,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2Outputs",offset:0,slot:"3",type:"t_array(t_struct(OutputProposal)100917_storage)dyn_storage"},{astId:82921,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"submissionInterval",offset:0,slot:"4",type:"t_uint256"},{astId:82924,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockTime",offset:0,slot:"5",type:"t_uint256"},{astId:82927,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"challenger",offset:0,slot:"6",type:"t_address"},{astId:82930,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"proposer",offset:0,slot:"7",type:"t_address"},{astId:82933,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"finalizationPeriodSeconds",offset:0,slot:"8",type:"t_uint256"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(OutputProposal)100917_storage)dyn_storage":{encoding:"dynamic_array",label:"struct Types.OutputProposal[]",numberOfBytes:"32",base:"t_struct(OutputProposal)100917_storage"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_struct(OutputProposal)100917_storage":{encoding:"inplace",label:"struct Types.OutputProposal",numberOfBytes:"64",members:[{astId:100912,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:100914,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:100916,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockNumber",offset:16,slot:"1",type:"t_uint128"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{notice:"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{notice:"Emitted when outputs are deleted."}},notice:"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2."},devdoc:{version:1,kind:"dev",methods:{"CHALLENGER()":{returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{returns:{_0:"L2 block time."}},"PROPOSER()":{returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{params:{l1Timestamp:"The L1 timestamp when proposed.",l2BlockNumber:"The L2 block number of the output root.",l2OutputIndex:"The index of the output in the l2Outputs array.",outputRoot:"The output root."}},"OutputsDeleted(uint256,uint256)":{params:{newNextOutputIndex:"Next L2 output index after the deletion.",prevNextOutputIndex:"Next L2 output index before the deletion."}}}},id:129}});var XKe=D((kda,uWt)=>{uWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b62000b141760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001462000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6113e980620002446000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;1492:155;;;;;;;;;-1:-1:-1;1531:109:127::1;1585:1;::::0;1531:10:::1;:109::i;:::-;922:4498:::0;;1869:318;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1987:16:127::1;:36:::0;;-1:-1:-1;;;;;;1987:36:127::1;-1:-1:-1::0;;;;;1987:36:127;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;922:4498:127;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:127:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1279:40;;;;;;;;;;;;216:42:350;204:55;;;186:74;;174:2;159:18;1279:40:127;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;1869:318:127;;;;;;:::i;:::-;;:::i;1389:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2226:103::-;;;:::i;:::-;;;3420:14:350;;3413:22;3395:41;;3383:2;3368:18;2226:103:127;3255:187:350;1134:80:127;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:1207;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;967:33::-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;6391:2:350;6444:89:219;;;6373:21:350;6430:2;6410:18;;;6403:30;6469:34;6449:18;;;6442:62;6540:15;6520:18;;;6513:43;6573:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;1869:318:127:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;6805:2:350;3146:190:41;;;6787:21:350;6844:2;6824:18;;;6817:30;6883:34;6863:18;;;6856:62;6954:16;6934:18;;;6927:44;6988:19;;3146:190:41;6603:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1987:16:127::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:194::1;2033:19:127;:147::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;7170:36:350;;3531:14:41;;7158:2:350;7143:18;3531:14:41;;;;;;;3457:99;3090:472;1869:318:127;;:::o;2226:103::-;2297:16;;:25;;;;;;;;2274:4;;2297:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2290:32;;2226:103;:::o;3096:1207::-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;7957:2:350;2626:202:219;;;7939:21:350;7996:2;7976:18;;;7969:30;8035:34;8015:18;;;8008:62;8106:33;8086:18;;;8079:61;8157:19;;2626:202:219;7755:427:350;2626:202:219;3359:8:127::1;:6;:8::i;:::-;:17;3351:52;;;::::0;::::1;::::0;;8389:2:350;3351:52:127::1;::::0;::::1;8371:21:350::0;8428:2;8408:18;;;8401:30;8467:24;8447:18;;;8440:52;8509:18;;3351:52:127::1;8187:346:350::0;3351:52:127::1;3444:4;3421:28;::::0;::::1;::::0;3413:83:::1;;;::::0;::::1;::::0;;8740:2:350;3413:83:127::1;::::0;::::1;8722:21:350::0;8779:2;8759:18;;;8752:30;8818:34;8798:18;;;8791:62;8889:12;8869:18;;;8862:40;8919:19;;3413:83:127::1;8538:406:350::0;3413:83:127::1;3620:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;:45;;;;;;;::::1;;:53;;:45:::0;:53:::1;3599:157;;;::::0;::::1;::::0;;9151:2:350;3599:157:127::1;::::0;::::1;9133:21:350::0;9190:2;9170:18;;;9163:30;9229:34;9209:18;;;9202:62;9300:27;9280:18;;;9273:55;9345:19;;3599:157:127::1;8949:421:350::0;3599:157:127::1;3878:21;::::0;;::::1;3926:5;3878:21:::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45;;;;;;;;;;:53;;;::::1;::::0;;4053:90;;;;4107:4:::1;4053:90;::::0;::::1;9638:34:350::0;9708:15;;;9688:18;;;9681:43;9740:18;;;9733:34;;;3878:21:127;4053:37:::1;::::0;9550:18:350;;4053:90:127::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4263:5;4214:82;;4249:12;4214:82;;4236:11;4214:82;;;4270:3;4275:8;4285:10;;4214:82;;;;;;;;;:::i;:::-;;;;;;;;3096:1207:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;10750:2:350;8116:78:219;;;10732:21:350;10789:2;10769:18;;;10762:30;10828:34;10808:18;;;10801:62;10899:18;10879;;;10872:46;10935:19;;8116:78:219;10548:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4342:1076:127:-;4628:26;;;4620:88;;;;;;;11167:2:350;4620:88:127;;;11149:21:350;11206:2;11186:18;;;11179:30;11245:34;11225:18;;;11218:62;11316:19;11296:18;;;11289:47;11353:19;;4620:88:127;10965:413:350;4620:88:127;4798:20;4857:44;;;4903:12;4917:11;4930:5;4937:3;4942:8;4952:10;;4821:151;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5017:21;;;;-1:-1:-1;5017:21:127;;;:8;:21;;;;;:35;;;;;;;;;;:45;;;;;;;;;;:52;;;;5065:4;5017:52;;;5079:88;;;;;9656:15:350;;;5079:88:127;;;9638:34:350;5140:4:127;9688:18:350;;;9681:43;9740:18;;;9733:34;;;4821:151:127;;-1:-1:-1;5079:33:127;;9550:18:350;;5079:88:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5211:9:127;;5252:11;;5211:103;;;;;:9;;;;;-1:-1:-1;5211:21:127;;-1:-1:-1;5211:103:127;;5252:11;;;;5276:7;;5299:12;;5211:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5378:5;5329:82;;5364:12;5329:82;;5351:11;5329:82;;;5385:3;5390:8;5400:10;;5329:82;;;;;;;;;:::i;:::-;;;;;;;;4610:808;4342:1076;;;;;;;;:::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12719:2:350;4880:69:41;;;12701:21:350;12758:2;12738:18;;;12731:30;12797:34;12777:18;;;12770:62;12868:13;12848:18;;;12841:41;12899:19;;4880:69:41;12517:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;271:154:350:-;357:42;350:5;346:54;339:5;336:65;326:93;;415:1;412;405:12;326:93;271:154;:::o;430:163::-;497:20;;557:10;546:22;;536:33;;526:61;;583:1;580;573:12;526:61;430:163;;;:::o;598:347::-;649:8;659:6;713:3;706:4;698:6;694:17;690:27;680:55;;731:1;728;721:12;680:55;-1:-1:-1;754:20:350;;797:18;786:30;;783:50;;;829:1;826;819:12;783:50;866:4;858:6;854:17;842:29;;918:3;911:4;902:6;894;890:19;886:30;883:39;880:59;;;935:1;932;925:12;880:59;598:347;;;;;:::o;950:827::-;1055:6;1063;1071;1079;1087;1095;1148:3;1136:9;1127:7;1123:23;1119:33;1116:53;;;1165:1;1162;1155:12;1116:53;1204:9;1191:23;1223:31;1248:5;1223:31;:::i;:::-;1273:5;-1:-1:-1;1330:2:350;1315:18;;1302:32;1343:33;1302:32;1343:33;:::i;:::-;1395:7;-1:-1:-1;1449:2:350;1434:18;;1421:32;;-1:-1:-1;1472:37:350;1505:2;1490:18;;1472:37;:::i;:::-;1462:47;;1560:3;1549:9;1545:19;1532:33;1588:18;1580:6;1577:30;1574:50;;;1620:1;1617;1610:12;1574:50;1659:58;1709:7;1700:6;1689:9;1685:22;1659:58;:::i;:::-;950:827;;;;-1:-1:-1;950:827:350;;-1:-1:-1;950:827:350;;1736:8;;950:827;-1:-1:-1;;;950:827:350:o;2044:445::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2285:9;2272:23;2304:31;2329:5;2304:31;:::i;:::-;2354:5;-1:-1:-1;2411:2:350;2396:18;;2383:32;2424:33;2383:32;2424:33;:::i;:::-;2476:7;2466:17;;;2044:445;;;;;:::o;2494:531::-;2536:3;2574:5;2568:12;2601:6;2596:3;2589:19;2626:1;2636:162;2650:6;2647:1;2644:13;2636:162;;;2712:4;2768:13;;;2764:22;;2758:29;2740:11;;;2736:20;;2729:59;2665:12;2636:162;;;2816:6;2813:1;2810:13;2807:87;;;2882:1;2875:4;2866:6;2861:3;2857:16;2853:27;2846:38;2807:87;-1:-1:-1;2939:2:350;2927:15;2944:66;2923:88;2914:98;;;;3014:4;2910:109;;2494:531;-1:-1:-1;;2494:531:350:o;3030:220::-;3179:2;3168:9;3161:21;3142:4;3199:45;3240:2;3229:9;3225:18;3217:6;3199:45;:::i;:::-;3191:53;3030:220;-1:-1:-1;;;3030:220:350:o;3447:456::-;3524:6;3532;3540;3593:2;3581:9;3572:7;3568:23;3564:32;3561:52;;;3609:1;3606;3599:12;3561:52;3648:9;3635:23;3667:31;3692:5;3667:31;:::i;:::-;3717:5;-1:-1:-1;3774:2:350;3759:18;;3746:32;3787:33;3746:32;3787:33;:::i;:::-;3447:456;;3839:7;;-1:-1:-1;;;3893:2:350;3878:18;;;;3865:32;;3447:456::o;3908:1038::-;4023:6;4031;4039;4047;4055;4063;4071;4124:3;4112:9;4103:7;4099:23;4095:33;4092:53;;;4141:1;4138;4131:12;4092:53;4180:9;4167:23;4199:31;4224:5;4199:31;:::i;:::-;4249:5;-1:-1:-1;4306:2:350;4291:18;;4278:32;4319:33;4278:32;4319:33;:::i;:::-;4371:7;-1:-1:-1;4430:2:350;4415:18;;4402:32;4443:33;4402:32;4443:33;:::i;:::-;4495:7;-1:-1:-1;4554:2:350;4539:18;;4526:32;4567:33;4526:32;4567:33;:::i;:::-;4619:7;-1:-1:-1;4673:3:350;4658:19;;4645:33;;-1:-1:-1;4729:3:350;4714:19;;4701:33;4757:18;4746:30;;4743:50;;;4789:1;4786;4779:12;4743:50;4828:58;4878:7;4869:6;4858:9;4854:22;4828:58;:::i;:::-;3908:1038;;;;-1:-1:-1;3908:1038:350;;-1:-1:-1;3908:1038:350;;;;4802:84;;-1:-1:-1;;;3908:1038:350:o;5215:969::-;5329:6;5337;5345;5353;5361;5369;5377;5430:3;5418:9;5409:7;5405:23;5401:33;5398:53;;;5447:1;5444;5437:12;5398:53;5486:9;5473:23;5505:31;5530:5;5505:31;:::i;:::-;5555:5;-1:-1:-1;5612:2:350;5597:18;;5584:32;5625:33;5584:32;5625:33;:::i;:::-;5677:7;-1:-1:-1;5736:2:350;5721:18;;5708:32;5749:33;5708:32;5749:33;:::i;:::-;5801:7;-1:-1:-1;5855:2:350;5840:18;;5827:32;;-1:-1:-1;5878:38:350;5911:3;5896:19;;5878:38;:::i;:::-;5868:48;;5967:3;5956:9;5952:19;5939:33;5995:18;5987:6;5984:30;5981:50;;;6027:1;6024;6017:12;7217:277;7284:6;7337:2;7325:9;7316:7;7312:23;7308:32;7305:52;;;7353:1;7350;7343:12;7305:52;7385:9;7379:16;7438:5;7431:13;7424:21;7417:5;7414:32;7404:60;;7460:1;7457;7450:12;7499:251;7569:6;7622:2;7610:9;7601:7;7597:23;7593:32;7590:52;;;7638:1;7635;7628:12;7590:52;7670:9;7664:16;7689:31;7714:5;7689:31;:::i;9778:325::-;9866:6;9861:3;9854:19;9918:6;9911:5;9904:4;9899:3;9895:14;9882:43;;9970:1;9963:4;9954:6;9949:3;9945:16;9941:27;9934:38;9836:3;10092:4;10022:66;10017:2;10009:6;10005:15;10001:88;9996:3;9992:98;9988:109;9981:116;;9778:325;;;;:::o;10108:435::-;10333:42;10325:6;10321:55;10310:9;10303:74;10413:6;10408:2;10397:9;10393:18;10386:34;10456:2;10451;10440:9;10436:18;10429:30;10284:4;10476:61;10533:2;10522:9;10518:18;10510:6;10502;10476:61;:::i;:::-;10468:69;10108:435;-1:-1:-1;;;;;;10108:435:350:o;11383:700::-;11643:4;11672:42;11753:2;11745:6;11741:15;11730:9;11723:34;11805:2;11797:6;11793:15;11788:2;11777:9;11773:18;11766:43;11857:2;11849:6;11845:15;11840:2;11829:9;11825:18;11818:43;11909:2;11901:6;11897:15;11892:2;11881:9;11877:18;11870:43;;11950:6;11944:3;11933:9;11929:19;11922:35;11994:3;11988;11977:9;11973:19;11966:32;12015:62;12072:3;12061:9;12057:19;12049:6;12041;12015:62;:::i;:::-;12007:70;11383:700;-1:-1:-1;;;;;;;;;11383:700:350:o;12088:424::-;12301:42;12293:6;12289:55;12278:9;12271:74;12381:2;12376;12365:9;12361:18;12354:30;12252:4;12401:45;12442:2;12431:9;12427:18;12419:6;12401:45;:::i;:::-;12393:53;;12494:10;12486:6;12482:23;12477:2;12466:9;12462:18;12455:51;12088:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","deposits(address,address,uint256)":"5d93a3fc","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address,address)":"485cc955","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"deposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address,address)":{"params":{"_messenger":"Contract of the CrossDomainMessenger on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"title":"L1ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{"notice":"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"},{astId:82150,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"deposits",offset:0,slot:"49",type:"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))"},{astId:82154,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)85848"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => mapping(uint256 => bool)))",numberOfBytes:"32",value:"t_mapping(t_address,t_mapping(t_uint256,t_bool))"},"t_mapping(t_address,t_mapping(t_uint256,t_bool))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(uint256 => bool))",numberOfBytes:"32",value:"t_mapping(t_uint256,t_bool)"},"t_mapping(t_uint256,t_bool)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L1ERC721Bridge"},id:127}});var ZKe=D((Sda,pWt)=>{pWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_l1ERC721Bridge",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b62000a3e1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b61160c80620002276000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;1576:98;;;;;;;;;-1:-1:-1;1615:52:144::1;1661:1;1615:10;:52::i;:::-;1389:4507:::0;;1813:263;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;216:2:350;3146:190:41;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144::0;1895:19:::1;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;581:36:350;;3531:14:41;;569:2:350;554:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;830:2:350;4880:69:41;;;812:21:350;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4880:69:41;628:407:350;4880:69:41;3212:9:219::1;:22:::0;;-1:-1:-1;;;;;3212:22:219;;::::1;-1:-1:-1::0;;;;;;3212:22:219;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:350:-;1389:4507:144;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:144:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5688:971:219;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;;;;1732:42:350;1720:55;;;1702:74;;1690:2;1675:18;829:37:219;;;;;;;;1473:40:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4239:82:219:-;;;4286:4;2688:41:350;;2676:2;2661:18;4239:82:219;2548:187:350;2843:1275:144;;;;;;:::i;:::-;;:::i;3858:98:219:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;1813:263:144:-;;;;;;:::i;:::-;;:::i;967:33:219:-;;;;;;;;;5688:971;6472:10;1465:19:57;:23;6444:89:219;;;;;;;5483:2:350;6444:89:219;;;5465:21:350;5522:2;5502:18;;;5495:30;5561:34;5541:18;;;5534:62;5632:15;5612:18;;;5605:43;5665:19;;6444:89:219;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;2843:1275:144:-;2669:9:219;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:219;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;6153:2:350;2626:202:219;;;6135:21:350;6192:2;6172:18;;;6165:30;6231:34;6211:18;;;6204:62;6302:33;6282:18;;;6275:61;6353:19;;2626:202:219;5951:427:350;2626:202:219;3129:4:144::1;3106:28;::::0;::::1;::::0;3098:83:::1;;;::::0;::::1;::::0;;6585:2:350;3098:83:144::1;::::0;::::1;6567:21:350::0;6624:2;6604:18;;;6597:30;6663:34;6643:18;;;6636:62;6734:12;6714:18;;;6707:40;6764:19;;3098:83:144::1;6383:406:350::0;3098:83:144::1;3331:87;3363:11;3376:41;3331:31;:87::i;:::-;3310:188;;;::::0;::::1;::::0;;6996:2:350;3310:188:144::1;::::0;::::1;6978:21:350::0;7035:2;7015:18;;;7008:30;7074:34;7054:18;;;7047:62;7145:24;7125:18;;;7118:52;7187:19;;3310:188:144::1;6794:418:350::0;3310:188:144::1;3570:11;3546:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3530:66;;:12;:66;;;3509:188;;;::::0;::::1;::::0;;7419:2:350;3509:188:144::1;::::0;::::1;7401:21:350::0;7458:2;7438:18;;;7431:30;7497:34;7477:18;;;7470:62;7568:34;7548:18;;;7541:62;7640:13;7619:19;;;7612:42;7671:19;;3509:188:144::1;7217:479:350::0;3509:188:144::1;3898:60;::::0;;;;:45:::1;7893:55:350::0;;;3898:60:144::1;::::0;::::1;7875:74:350::0;7965:18;;;7958:34;;;3898:45:144;::::1;::::0;::::1;::::0;7848:18:350;;3898:60:144::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4078:5;4029:82;;4064:12;4029:82;;4051:11;4029:82;;;4085:3;4090:8;4100:10;;4029:82;;;;;;;;;:::i;:::-;;;;;;;;2843:1275:::0;;;;;;;:::o;7885:428:219:-;8124:17;;;8116:78;;;;;;;8975:2:350;8116:78:219;;;8957:21:350;9014:2;8994:18;;;8987:30;9053:34;9033:18;;;9026:62;9124:18;9104;;;9097:46;9160:19;;8116:78:219;8773:412:350;8116:78:219;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1813:263:144:-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;9392:2:350;3146:190:41;;;9374:21:350;9431:2;9411:18;;;9404:30;9470:34;9450:18;;;9443:62;9541:16;9521:18;;;9514:44;9575:19;;3146:190:41;9190:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1895:174:144::1;480:42:194;2042:15:144;1895:19;:174::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;9757:36:350;;3531:14:41;;9745:2:350;9730:18;3531:14:41;;;;;;;3457:99;3090:472;1813:263:144;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;4157:1737:144:-;4443:26;;;4435:88;;;;;;;10006:2:350;4435:88:144;;;9988:21:350;10045:2;10025:18;;;10018:30;10084:34;10064:18;;;10057:62;10155:19;10135:18;;;10128:47;10192:19;;4435:88:144;9804:413:350;4435:88:144;4637:54;;;;;;;;10368:25:350;;;4637:44:144;;;;;;10341:18:350;;4637:54:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4628:63;;:5;:63;;;4607:172;;;;;;;10606:2:350;4607:172:144;;;10588:21:350;10645:2;10625:18;;;10618:30;10684:34;10664:18;;;10657:62;10755:32;10735:18;;;10728:60;10805:19;;4607:172:144;10404:426:350;4607:172:144;4930:19;4976:11;4952:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4930:72;;5035:12;5020:27;;:11;:27;;;5012:95;;;;;;;11037:2:350;5012:95:144;;;11019:21:350;11076:2;11056:18;;;11049:30;11115:34;11095:18;;;11088:62;11186:25;11166:18;;;11159:53;11229:19;;5012:95:144;10835:419:350;5012:95:144;5287:58;;;;;:41;7893:55:350;;;5287:58:144;;;7875:74:350;7965:18;;;7958:34;;;5287:41:144;;;;;7848:18:350;;5287:58:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5356:20;5415:44;;;5461:11;5474;5487:5;5494:3;5499:8;5509:10;;5379:150;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5632:9;;5673:11;;5632:103;;;;;5379:150;;-1:-1:-1;5632:9:144;;;;;:21;;:103;;5673:11;;;;;5379:150;;5720:12;;5632:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5854:5;5806:81;;5841:11;5806:81;;5828:11;5806:81;;;5861:3;5866:8;5876:10;;5806:81;;;;;;;;;:::i;:::-;;;;;;;;4425:1469;;4157:1737;;;;;;;;:::o;1333:274:65:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:65:o;3043:234:219:-;4888:13:41;;;;;;;4880:69;;;;;;;12595:2:350;4880:69:41;;;12577:21:350;12634:2;12614:18;;;12607:30;12673:34;12653:18;;;12646:62;12744:13;12724:18;;;12717:41;12775:19;;4880:69:41;12393:407:350;4880:69:41;3212:9:219::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;704:411:65:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:65;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;975:133;956:152;704:411;-1:-1:-1;;704:411:65:o;4223:638::-;4385:71;;;12979:66:350;12967:79;;4385:71:65;;;;12949:98:350;;;;4385:71:65;;;;;;;;;;12922:18:350;;;;4385:71:65;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:65:o;14:154:350:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:163::-;240:20;;300:10;289:22;;279:33;;269:61;;326:1;323;316:12;269:61;173:163;;;:::o;341:347::-;392:8;402:6;456:3;449:4;441:6;437:17;433:27;423:55;;474:1;471;464:12;423:55;-1:-1:-1;497:20:350;;540:18;529:30;;526:50;;;572:1;569;562:12;526:50;609:4;601:6;597:17;585:29;;661:3;654:4;645:6;637;633:19;629:30;626:39;623:59;;;678:1;675;668:12;623:59;341:347;;;;;:::o;693:827::-;798:6;806;814;822;830;838;891:3;879:9;870:7;866:23;862:33;859:53;;;908:1;905;898:12;859:53;947:9;934:23;966:31;991:5;966:31;:::i;:::-;1016:5;-1:-1:-1;1073:2:350;1058:18;;1045:32;1086:33;1045:32;1086:33;:::i;:::-;1138:7;-1:-1:-1;1192:2:350;1177:18;;1164:32;;-1:-1:-1;1215:37:350;1248:2;1233:18;;1215:37;:::i;:::-;1205:47;;1303:3;1292:9;1288:19;1275:33;1331:18;1323:6;1320:30;1317:50;;;1363:1;1360;1353:12;1317:50;1402:58;1452:7;1443:6;1432:9;1428:22;1402:58;:::i;:::-;693:827;;;;-1:-1:-1;693:827:350;;-1:-1:-1;693:827:350;;1479:8;;693:827;-1:-1:-1;;;693:827:350:o;1787:531::-;1829:3;1867:5;1861:12;1894:6;1889:3;1882:19;1919:1;1929:162;1943:6;1940:1;1937:13;1929:162;;;2005:4;2061:13;;;2057:22;;2051:29;2033:11;;;2029:20;;2022:59;1958:12;1929:162;;;2109:6;2106:1;2103:13;2100:87;;;2175:1;2168:4;2159:6;2154:3;2150:16;2146:27;2139:38;2100:87;-1:-1:-1;2232:2:350;2220:15;2237:66;2216:88;2207:98;;;;2307:4;2203:109;;1787:531;-1:-1:-1;;1787:531:350:o;2323:220::-;2472:2;2461:9;2454:21;2435:4;2492:45;2533:2;2522:9;2518:18;2510:6;2492:45;:::i;2740:1038::-;2855:6;2863;2871;2879;2887;2895;2903;2956:3;2944:9;2935:7;2931:23;2927:33;2924:53;;;2973:1;2970;2963:12;2924:53;3012:9;2999:23;3031:31;3056:5;3031:31;:::i;:::-;3081:5;-1:-1:-1;3138:2:350;3123:18;;3110:32;3151:33;3110:32;3151:33;:::i;:::-;3203:7;-1:-1:-1;3262:2:350;3247:18;;3234:32;3275:33;3234:32;3275:33;:::i;:::-;3327:7;-1:-1:-1;3386:2:350;3371:18;;3358:32;3399:33;3358:32;3399:33;:::i;:::-;3451:7;-1:-1:-1;3505:3:350;3490:19;;3477:33;;-1:-1:-1;3561:3:350;3546:19;;3533:33;3589:18;3578:30;;3575:50;;;3621:1;3618;3611:12;3575:50;3660:58;3710:7;3701:6;3690:9;3686:22;3660:58;:::i;:::-;2740:1038;;;;-1:-1:-1;2740:1038:350;;-1:-1:-1;2740:1038:350;;;;3634:84;;-1:-1:-1;;;2740:1038:350:o;4047:969::-;4161:6;4169;4177;4185;4193;4201;4209;4262:3;4250:9;4241:7;4237:23;4233:33;4230:53;;;4279:1;4276;4269:12;4230:53;4318:9;4305:23;4337:31;4362:5;4337:31;:::i;:::-;4387:5;-1:-1:-1;4444:2:350;4429:18;;4416:32;4457:33;4416:32;4457:33;:::i;:::-;4509:7;-1:-1:-1;4568:2:350;4553:18;;4540:32;4581:33;4540:32;4581:33;:::i;:::-;4633:7;-1:-1:-1;4687:2:350;4672:18;;4659:32;;-1:-1:-1;4710:38:350;4743:3;4728:19;;4710:38;:::i;:::-;4700:48;;4799:3;4788:9;4784:19;4771:33;4827:18;4819:6;4816:30;4813:50;;;4859:1;4856;4849:12;5021:255;5088:6;5141:2;5129:9;5120:7;5116:23;5112:32;5109:52;;;5157:1;5154;5147:12;5109:52;5196:9;5183:23;5215:31;5240:5;5215:31;:::i;5695:251::-;5765:6;5818:2;5806:9;5797:7;5793:23;5789:32;5786:52;;;5834:1;5831;5824:12;5786:52;5866:9;5860:16;5885:31;5910:5;5885:31;:::i;8003:325::-;8091:6;8086:3;8079:19;8143:6;8136:5;8129:4;8124:3;8120:14;8107:43;;8195:1;8188:4;8179:6;8174:3;8170:16;8166:27;8159:38;8061:3;8317:4;8247:66;8242:2;8234:6;8230:15;8226:88;8221:3;8217:98;8213:109;8206:116;;8003:325;;;;:::o;8333:435::-;8558:42;8550:6;8546:55;8535:9;8528:74;8638:6;8633:2;8622:9;8618:18;8611:34;8681:2;8676;8665:9;8661:18;8654:30;8509:4;8701:61;8758:2;8747:9;8743:18;8735:6;8727;8701:61;:::i;:::-;8693:69;8333:435;-1:-1:-1;;;;;;8333:435:350:o;11259:700::-;11519:4;11548:42;11629:2;11621:6;11617:15;11606:9;11599:34;11681:2;11673:6;11669:15;11664:2;11653:9;11649:18;11642:43;11733:2;11725:6;11721:15;11716:2;11705:9;11701:18;11694:43;11785:2;11777:6;11773:15;11768:2;11757:9;11753:18;11746:43;;11826:6;11820:3;11809:9;11805:19;11798:35;11870:3;11864;11853:9;11849:19;11842:32;11891:62;11948:3;11937:9;11933:19;11925:6;11917;11891:62;:::i;:::-;11883:70;11259:700;-1:-1:-1;;;;;;;;;11259:700:350:o;11964:424::-;12177:42;12169:6;12165:55;12154:9;12147:74;12257:2;12252;12241:9;12237:18;12230:30;12128:4;12277:45;12318:2;12307:9;12303:18;12295:6;12277:45;:::i;:::-;12269:53;;12370:10;12362:6;12358:23;12353:2;12342:9;12338:18;12331:51;11964:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address)":"c4d66de8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_l1ERC721Bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address)":{"params":{"_l1ERC721Bridge":"Address of the ERC721 bridge contract on the other network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"1.7.0"}},"title":"L2ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd","license":"MIT","urls":["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90","license":"MIT","urls":["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"address payable",name:"_l1ERC721Bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0xe90cc70427e710333d4e1f0a5ab7903e2724eacd940c1d714231b897d856f4dd",urls:["bzz-raw://faad37182a6efd5426d2ce18d071fc6825f72754393099729ea6769aa5d1a776","dweb:/ipfs/QmPzgQkXYj2kM9xpGQB6gJ3QZBHqkiKAvRUoZwar3J2yoo"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x361e734aa5ac5701e87aaca3c6bd4b78c85c1d4fca2b5e0bfe72ab2ee6ceaf90",urls:["bzz-raw://25a5a0f8b38600ef006b0c21093727d4d87f6517d428295bee4034a38ae08da4","dweb:/ipfs/Qmb678AjEGt8tWGrzybn7MTvVWBFLuHEzQG2uHqTjCpNPC"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:105516,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:105520,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)105498"},{astId:105524,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)108285"},{astId:105529,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"}],types:{"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)105498":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)108285":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L2ERC721Bridge"},id:144}});var eQe=D((Rda,hWt)=>{hWt.exports={abi:[{type:"function",name:"DEPOSITOR_ACCOUNT",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"basefee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batcherHash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"hash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"l1FeeOverhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"l1FeeScalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"number",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"sequenceNumber",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setL1BlockValues",inputs:[{name:"_number",type:"uint64",internalType:"uint64"},{name:"_timestamp",type:"uint64",internalType:"uint64"},{name:"_basefee",type:"uint256",internalType:"uint256"},{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_sequenceNumber",type:"uint64",internalType:"uint64"},{name:"_batcherHash",type:"bytes32",internalType:"bytes32"},{name:"_l1FeeOverhead",type:"uint256",internalType:"uint256"},{name:"_l1FeeScalar",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setL1BlockValuesEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"timestamp",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b5061053e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:141:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:660;;;;;;:::i;:::-;;:::i;:::-;;1071:19;;;;;;;;;1014:25:350;;;1002:2;987:18;1071:19:141;;;;;;;;3886:956;;;:::i;1961:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1001:22::-;;;;;;1156:28;;;;;;;;;;;;2067:18:350;2055:31;;;2037:50;;2025:2;2010:18;1156:28:141;1893:200:350;1298:31:141;;;;;;;;;;;;;;;2272:10:350;2260:23;;;2242:42;;2230:2;2215:18;1298:31:141;2098:192:350;840:20:141;;;;;;;;;1680:28;;;;;;1821:26;;;;;;931:23;;;;;;;;;;;;1438:27;;;;;;;;;;;;680:86;;724:42;680:86;;;;;2471:42:350;2459:55;;;2441:74;;2429:2;2414:18;680:86:141;2295:226:350;1539:26:141;;;;;;1899;;;;;;2494:660;2789:10;724:42;2789:31;2781:103;;;;;;;2728:2:350;2781:103:141;;;2710:21:350;2767:2;2747:18;;;2740:30;2806:34;2786:18;;;2779:62;2877:29;2857:18;;;2850:57;2924:19;;2781:103:141;;;;;;;;2895:6;:16;;;2921:22;;;;;;;;;2895:16;;;2921:22;;;;;;;;;;;2895:16;2953:18;;;;2981:4;:12;;;;3003:14;:32;;;;;;2895:16;3003:32;;;;;;;;3045:11;:26;;;;3081:13;:30;3121:11;:26;2494:660::o;3886:956::-;4036:8;4046:17;4029:233;;;4096:10;4090:4;4083:24;4194:4;4188;4181:18;4029:233;4453:1;4440:15;4435:3;4431:25;4410:19;4403:54;4566:2;4553:16;4548:3;4544:26;4531:11;4524:47;4618:2;4605:16;4591:12;4584:38;4684:2;4671:16;4653;4646:42;4743:3;4730:17;4719:9;4712:36;4810:3;4797:17;4779:16;4772:43;3886:956::o;14:171:350:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:673::-;309:6;317;325;333;341;349;357;365;418:3;406:9;397:7;393:23;389:33;386:53;;;435:1;432;425:12;386:53;458:28;476:9;458:28;:::i;:::-;448:38;;505:37;538:2;527:9;523:18;505:37;:::i;:::-;495:47;;589:2;578:9;574:18;561:32;551:42;;640:2;629:9;625:18;612:32;602:42;;663:38;696:3;685:9;681:19;663:38;:::i;:::-;190:673;;;;-1:-1:-1;190:673:350;;;;653:48;748:3;733:19;;720:33;;-1:-1:-1;800:3:350;785:19;;772:33;;852:3;837:19;824:33;;-1:-1:-1;190:673:350;-1:-1:-1;;190:673:350:o;1050:656::-;1162:4;1191:2;1220;1209:9;1202:21;1252:6;1246:13;1295:6;1290:2;1279:9;1275:18;1268:34;1320:1;1330:140;1344:6;1341:1;1338:13;1330:140;;;1439:14;;;1435:23;;1429:30;1405:17;;;1424:2;1401:26;1394:66;1359:10;;1330:140;;;1488:6;1485:1;1482:13;1479:91;;;1558:1;1553:2;1544:6;1533:9;1529:22;1525:31;1518:42;1479:91;-1:-1:-1;1622:2:350;1610:15;1627:66;1606:88;1591:104;;;;1697:2;1587:113;;1050:656;-1:-1:-1;;;1050:656:350:o",linkReferences:{}},methodIdentifiers:{"DEPOSITOR_ACCOUNT()":"e591b282","baseFeeScalar()":"c5985918","basefee()":"5cf24969","batcherHash()":"e81b2c6d","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","hash()":"09bd5a60","l1FeeOverhead()":"8b239f73","l1FeeScalar()":"9e8c4966","number()":"8381f58a","sequenceNumber()":"64ca23ef","setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":"015d8eb9","setL1BlockValuesEcotone()":"440a5e20","timestamp()":"b80777ea","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DEPOSITOR_ACCOUNT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basefee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batcherHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeOverhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeScalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sequenceNumber","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_number","type":"uint64"},{"internalType":"uint64","name":"_timestamp","type":"uint64"},{"internalType":"uint256","name":"_basefee","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"uint64","name":"_sequenceNumber","type":"uint64"},{"internalType":"bytes32","name":"_batcherHash","type":"bytes32"},{"internalType":"uint256","name":"_l1FeeOverhead","type":"uint256"},{"internalType":"uint256","name":"_l1FeeScalar","type":"uint256"}],"name":"setL1BlockValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setL1BlockValuesEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timestamp","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000015","kind":"dev","methods":{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.","params":{"_basefee":"L1 basefee.","_batcherHash":"Versioned hash to authenticate batcher by.","_hash":"L1 blockhash.","_l1FeeOverhead":"L1 fee overhead.","_l1FeeScalar":"L1 fee scalar.","_number":"L1 blocknumber.","_sequenceNumber":"Number of L2 blocks since epoch start.","_timestamp":"L1 timestamp."}}},"stateVariables":{"l1FeeOverhead":{"custom:legacy":""},"l1FeeScalar":{"custom:legacy":""},"version":{"custom:semver":"1.2.0"}},"title":"L1Block","version":1},"userdoc":{"kind":"user","methods":{"DEPOSITOR_ACCOUNT()":{"notice":"Address of the special depositor account."},"baseFeeScalar()":{"notice":"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{"notice":"The latest L1 base fee."},"batcherHash()":{"notice":"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{"notice":"The latest L1 blob base fee."},"blobBaseFeeScalar()":{"notice":"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{"notice":"The latest L1 blockhash."},"l1FeeOverhead()":{"notice":"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{"notice":"The scalar value applied to the L1 portion of the transaction fee."},"number()":{"notice":"The latest L1 block number known by the L2 system."},"sequenceNumber()":{"notice":"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{"notice":"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{"notice":"The latest L1 timestamp known by the L2 system."}},"notice":"The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the \\"depositor\\" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.","version":1}},"settings":{"compilationTarget":{"src/L2/L1Block.sol":"L1Block"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DEPOSITOR_ACCOUNT",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"basefee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"batcherHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"hash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeOverhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeScalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"number",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"sequenceNumber",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"uint64",name:"_number",type:"uint64"},{internalType:"uint64",name:"_timestamp",type:"uint64"},{internalType:"uint256",name:"_basefee",type:"uint256"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"uint64",name:"_sequenceNumber",type:"uint64"},{internalType:"bytes32",name:"_batcherHash",type:"bytes32"},{internalType:"uint256",name:"_l1FeeOverhead",type:"uint256"},{internalType:"uint256",name:"_l1FeeScalar",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setL1BlockValues"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setL1BlockValuesEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.",params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},version:1},userdoc:{kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L1Block.sol":"L1Block"},evmVersion:"london",libraries:{}},sources:{"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:87271,contract:"src/L2/L1Block.sol:L1Block",label:"number",offset:0,slot:"0",type:"t_uint64"},{astId:87274,contract:"src/L2/L1Block.sol:L1Block",label:"timestamp",offset:8,slot:"0",type:"t_uint64"},{astId:87277,contract:"src/L2/L1Block.sol:L1Block",label:"basefee",offset:0,slot:"1",type:"t_uint256"},{astId:87280,contract:"src/L2/L1Block.sol:L1Block",label:"hash",offset:0,slot:"2",type:"t_bytes32"},{astId:87283,contract:"src/L2/L1Block.sol:L1Block",label:"sequenceNumber",offset:0,slot:"3",type:"t_uint64"},{astId:87286,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFeeScalar",offset:8,slot:"3",type:"t_uint32"},{astId:87289,contract:"src/L2/L1Block.sol:L1Block",label:"baseFeeScalar",offset:12,slot:"3",type:"t_uint32"},{astId:87292,contract:"src/L2/L1Block.sol:L1Block",label:"batcherHash",offset:0,slot:"4",type:"t_bytes32"},{astId:87295,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeOverhead",offset:0,slot:"5",type:"t_uint256"},{astId:87298,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeScalar",offset:0,slot:"6",type:"t_uint256"},{astId:87301,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFee",offset:0,slot:"7",type:"t_uint256"}],types:{t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},notice:'The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the "depositor" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.'},devdoc:{version:1,kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},title:"L1Block"},id:141}});var tQe=D((Mda,mWt)=>{mWt.exports={abi:[{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initiateWithdrawal",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_gasLimit",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"sentMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"MessagePassed",inputs:[{name:"nonce",type:"uint256",indexed:!0,internalType:"uint256"},{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"},{name:"withdrawalHash",type:"bytes32",indexed:!1,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"WithdrawerBalanceBurnt",inputs:[{name:"amount",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b506106d3806100206000396000f3fe6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:146:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:68;2493:10;911:7;2532:9;;;;;;;;;;;;2474:18;:68::i;:::-;722:3696;;;;;981:42;;;;;;;;;;;;1022:1;981:42;;;;;188:6:350;176:19;;;158:38;;146:2;131:18;981:42:146;;;;;;;;2915:154;;;;;;;;;;;;;:::i;2307:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1094:44::-;;;;;;;;;;-1:-1:-1;1094:44:146;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;1318:14:350;;1311:22;1293:41;;1281:2;1266:18;1094:44:146;1153:187:350;3311:650:146;;;;;;:::i;:::-;;:::i;4282:134::-;;;;;;;;;;;;4383:8;;;;4855:18:191;4852:30;;4282:134:146;;;;2930:25:350;;;2918:2;2903:18;4282:134:146;2784:177:350;3311:650:146;3420:22;3445:297;3481:251;;;;;;;;3534:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3534:14;3481:251;;3574:10;3481:251;;;;;;;;;;;3642:9;3481:251;;;;;;;;;;;;;;;3445:22;:297::i;:::-;3753:12;:28;;;;;;;;;;:35;;;;3784:4;3753:35;;;3420:322;-1:-1:-1;3804:95:146;;;3834:10;3818:14;4383:8;;;;4855:18:191;4852:30;;4282:134:146;3818:14;3804:95;3855:9;3866;3877:5;3884:14;3804:95;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;3936:8:146;3934:10;;;;;;;;;;;;;;;;-1:-1:-1;;3311:650:146:o;2915:154::-;2968:21;2999:17;2968:21;2999:8;:17::i;:::-;3031:31;;3054:7;;3031:31;;;;;2940:129;2915:154::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;224:86:185:-;292:7;273:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;224:86;:::o;-1:-1:-1:-;;;;;;;;:::o;207:531:350:-;249:3;287:5;281:12;314:6;309:3;302:19;339:1;349:162;363:6;360:1;357:13;349:162;;;425:4;481:13;;;477:22;;471:29;453:11;;;449:20;;442:59;378:12;349:162;;;529:6;526:1;523:13;520:87;;;595:1;588:4;579:6;574:3;570:16;566:27;559:38;520:87;-1:-1:-1;652:2:350;640:15;657:66;636:88;627:98;;;;727:4;623:109;;207:531;-1:-1:-1;;207:531:350:o;743:220::-;892:2;881:9;874:21;855:4;912:45;953:2;942:9;938:18;930:6;912:45;:::i;:::-;904:53;743:220;-1:-1:-1;;;743:220:350:o;968:180::-;1027:6;1080:2;1068:9;1059:7;1055:23;1051:32;1048:52;;;1096:1;1093;1086:12;1048:52;-1:-1:-1;1119:23:350;;968:180;-1:-1:-1;968:180:350:o;1345:184::-;1397:77;1394:1;1387:88;1494:4;1491:1;1484:15;1518:4;1515:1;1508:15;1534:1245;1620:6;1628;1636;1689:2;1677:9;1668:7;1664:23;1660:32;1657:52;;;1705:1;1702;1695:12;1657:52;1744:9;1731:23;1794:42;1787:5;1783:54;1776:5;1773:65;1763:93;;1852:1;1849;1842:12;1763:93;1875:5;-1:-1:-1;1927:2:350;1912:18;;1899:32;;-1:-1:-1;1982:2:350;1967:18;;1954:32;2005:18;2035:14;;;2032:34;;;2062:1;2059;2052:12;2032:34;2100:6;2089:9;2085:22;2075:32;;2145:7;2138:4;2134:2;2130:13;2126:27;2116:55;;2167:1;2164;2157:12;2116:55;2203:2;2190:16;2225:2;2221;2218:10;2215:36;;;2231:18;;:::i;:::-;2365:2;2359:9;2427:4;2419:13;;2270:66;2415:22;;;2439:2;2411:31;2407:40;2395:53;;;2463:18;;;2483:22;;;2460:46;2457:72;;;2509:18;;:::i;:::-;2549:10;2545:2;2538:22;2584:2;2576:6;2569:18;2624:7;2619:2;2614;2610;2606:11;2602:20;2599:33;2596:53;;;2645:1;2642;2635:12;2596:53;2701:2;2696;2692;2688:11;2683:2;2675:6;2671:15;2658:46;2746:1;2741:2;2736;2728:6;2724:15;2720:24;2713:35;2767:6;2757:16;;;;;;;1534:1245;;;;;:::o;2966:433::-;3197:6;3186:9;3179:25;3240:6;3235:2;3224:9;3220:18;3213:34;3283:3;3278:2;3267:9;3263:18;3256:31;3160:4;3304:46;3345:3;3334:9;3330:19;3322:6;3304:46;:::i;:::-;3296:54;;3386:6;3381:2;3370:9;3366:18;3359:34;2966:433;;;;;;;:::o;3404:656::-;3691:6;3680:9;3673:25;3654:4;3717:42;3807:2;3799:6;3795:15;3790:2;3779:9;3775:18;3768:43;3859:2;3851:6;3847:15;3842:2;3831:9;3827:18;3820:43;;3899:6;3894:2;3883:9;3879:18;3872:34;3943:6;3937:3;3926:9;3922:19;3915:35;3987:3;3981;3970:9;3966:19;3959:32;4008:46;4049:3;4038:9;4034:19;4026:6;4008:46;:::i;:::-;4000:54;3404:656;-1:-1:-1;;;;;;;;3404:656:350:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","burn()":"44df8e70","initiateWithdrawal(address,uint256,bytes)":"c2b3e5ac","messageNonce()":"ecc70428","sentMessages(bytes32)":"82e3702d","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"}],"name":"MessagePassed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawerBalanceBurnt","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initiateWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sentMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000016","events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"params":{"data":"The data to be forwarded to the target on L1.","gasLimit":"The minimum amount of gas that must be provided when withdrawing.","nonce":"Unique value corresponding to each withdrawal.","sender":"The L2 account address which initiated the withdrawal.","target":"The L1 account address the call will be send to.","value":"The ETH value submitted for withdrawal, to be forwarded to the target.","withdrawalHash":"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{"params":{"amount":"Amount of ETh that was burned."}}},"kind":"dev","methods":{"initiateWithdrawal(address,uint256,bytes)":{"params":{"_data":"Data to forward to L1 target.","_gasLimit":"Minimum gas limit for executing the message on L1.","_target":"Address to call on L1 execution."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}}},"stateVariables":{"version":{"custom:semver":"1.1.0"}},"title":"L2ToL1MessagePasser","version":1},"userdoc":{"events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"notice":"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{"notice":"Emitted when the balance of this contract is burned."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"The current message version identifier."},"burn()":{"notice":"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{"notice":"Sends a message from L2 to L1."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{"notice":"Includes the message hashes for all withdrawals"}},"notice":"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"nonce",type:"uint256",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1},{internalType:"bytes",name:"data",type:"bytes",indexed:!1},{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!1}],type:"event",name:"MessagePassed",anonymous:!1},{inputs:[{internalType:"uint256",name:"amount",type:"uint256",indexed:!0}],type:"event",name:"WithdrawerBalanceBurnt",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"initiateWithdrawal"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},evmVersion:"london",libraries:{}},sources:{"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:88229,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"sentMessages",offset:0,slot:"0",type:"t_mapping(t_bytes32,t_bool)"},{astId:88232,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"msgNonce",offset:0,slot:"1",type:"t_uint240"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{notice:"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{notice:"Emitted when the balance of this contract is burned."}},notice:"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages."},devdoc:{version:1,kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{params:{data:"The data to be forwarded to the target on L1.",gasLimit:"The minimum amount of gas that must be provided when withdrawing.",nonce:"Unique value corresponding to each withdrawal.",sender:"The L2 account address which initiated the withdrawal.",target:"The L1 account address the call will be send to.",value:"The ETH value submitted for withdrawal, to be forwarded to the target.",withdrawalHash:"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{params:{amount:"Amount of ETh that was burned."}}},title:"L2ToL1MessagePasser"},id:146}});var nQe=D((Bda,bWt)=>{bWt.exports={abi:[{type:"function",name:"DECIMALS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"gasPrice",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1Fee",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1GasUsed",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isEcotone",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l1BaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"overhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"scalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b50610fb5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:140:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2951:202;;;:::i;:::-;;;160:25:350;;;148:2;133:18;2951:202:140;;;;;;;;2115:338;;;:::i;:::-;;1249:36;;1284:1;1249:36;;4561:82;1284:1;4561:82;;1835:196;;;;;;:::i;:::-;;:::i;1486:21::-;;;;;;;;;;;;1535:14:350;;1528:22;1510:41;;1498:2;1483:18;1486:21:140;1370:187:350;3568:124:140;;;:::i;1355:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4267:141::-;;;:::i;:::-;;;2397:10:350;2385:23;;;2367:42;;2355:2;2340:18;4267:141:140;2223:192:350;2746:86:140;2812:13;2746:86;;4022:133;;;:::i;4975:280::-;;;;;;:::i;:::-;;:::i;3268:196::-;;;:::i;3790:130::-;;;:::i;2951:202::-;2992:7;3020:9;;;;3019:10;3011:63;;;;;;;2622:2:350;3011:63:140;;;2604:21:350;2661:2;2641:18;;;2634:30;2700:34;2680:18;;;2673:62;2771:10;2751:18;;;2744:38;2799:19;;3011:63:140;;;;;;;;;1455:42:194;3091:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3084:62;;2951:202;:::o;2115:338::-;1455:42:194;2191:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2177:73;;:10;:73;;;2156:185;;;;;;;3538:2:350;2156:185:140;;;3520:21:350;3577:2;3557:18;;;3550:30;3616:34;3596:18;;;3589:62;3687:34;3667:18;;;3660:62;3759:3;3738:19;;;3731:32;3780:19;;2156:185:140;3336:469:350;2156:185:140;2359:9;;;;:18;2351:69;;;;;;;4012:2:350;2351:69:140;;;3994:21:350;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:8;4141:18;;;4134:36;4187:19;;2351:69:140;3810:402:350;2351:69:140;2430:9;:16;;;;2442:4;2430:16;;;2115:338::o;1835:196::-;1896:7;1919:9;;;;1915:70;;;1951:23;1968:5;1951:16;:23::i;:::-;1944:30;1835:196;-1:-1:-1;;1835:196:140:o;1915:70::-;2001:23;2018:5;2001:16;:23::i;3568:124::-;3610:7;1455:42:194;3636:47:140;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4267:141;4317:6;1455:42:194;4342:57:140;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4022:133::-;4068:6;1455:42:194;4093:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:280;5038:7;5057:17;5077:22;5093:5;5077:15;:22::i;:::-;5113:9;;5057:42;;-1:-1:-1;5113:9:140;;5109:56;;;5145:9;4975:280;-1:-1:-1;;4975:280:140:o;5109:56::-;1455:42:194;5193:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5181:67;;:9;:67;:::i;:::-;5174:74;4975:280;-1:-1:-1;;;4975:280:140:o;3268:196::-;3307:7;3335:9;;;;3334:10;3326:61;;;;;;;5026:2:350;3326:61:140;;;5008:21:350;5065:2;5045:18;;;5038:30;5104:34;5084:18;;;5077:62;5175:8;5155:18;;;5148:36;5201:19;;3326:61:140;4824:402:350;3326:61:140;1455:42:194;3404:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3790:130;3834:7;1455:42:194;3860:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6015:393;6084:7;6103:17;6123:22;6139:5;6123:15;:22::i;:::-;6103:42;;6155:21;6202:11;:9;:11::i;:::-;6179:15;:13;:15::i;:::-;:20;;6197:2;6179:20;:::i;:::-;:34;;;;;;:::i;:::-;6155:58;;6223:25;6273:13;:11;:13::i;:::-;6251:19;:17;:19::i;:::-;:35;;;;;;:::i;:::-;6223:63;-1:-1:-1;6296:11:140;6323:33;6223:63;6323:13;:33;:::i;:::-;6310:47;;:9;:47;:::i;:::-;6296:61;-1:-1:-1;6386:14:140;1284:1;6386:2;:14;:::i;:::-;6381:19;;:2;:19;:::i;:::-;6374:27;;:3;:27;:::i;:::-;6367:34;6015:393;-1:-1:-1;;;;;;6015:393:140:o;5468:351::-;5537:7;5556:17;5576:22;5592:5;5576:15;:22::i;:::-;5556:42;;5608:11;1455:42:194;5720:51:140;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5694:11;:9;:11::i;:::-;1455:42:194;5635:53:140;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5623:67;;:9;:67;:::i;:::-;5622:83;;;;:::i;:::-;:151;;;;:::i;:::-;5608:165;-1:-1:-1;5797:14:140;1284:1;5797:2;:14;:::i;:::-;5790:22;;:3;:22;:::i;:::-;5783:29;5468:351;-1:-1:-1;;;;5468:351:140:o;6610:366::-;6741:12;;6678:7;;;;;6763:173;6787:6;6783:1;:10;6763:173;;;6818:5;6824:1;6818:8;;;;;;;;:::i;:::-;;;;;;;6830:1;6818:13;6814:112;;6851:10;6860:1;6851:10;;:::i;:::-;;;6814:112;;;6900:11;6909:2;6900:11;;:::i;:::-;;;6814:112;6795:3;;;;:::i;:::-;;;;6763:173;;;-1:-1:-1;6952:17:140;:5;6961:7;6952:17;:::i;196:184:350:-;248:77;245:1;238:88;345:4;342:1;335:15;369:4;366:1;359:15;385:980;453:6;506:2;494:9;485:7;481:23;477:32;474:52;;;522:1;519;512:12;474:52;562:9;549:23;591:18;632:2;624:6;621:14;618:34;;;648:1;645;638:12;618:34;686:6;675:9;671:22;661:32;;731:7;724:4;720:2;716:13;712:27;702:55;;753:1;750;743:12;702:55;789:2;776:16;811:2;807;804:10;801:36;;;817:18;;:::i;:::-;951:2;945:9;1013:4;1005:13;;856:66;1001:22;;;1025:2;997:31;993:40;981:53;;;1049:18;;;1069:22;;;1046:46;1043:72;;;1095:18;;:::i;:::-;1135:10;1131:2;1124:22;1170:2;1162:6;1155:18;1210:7;1205:2;1200;1196;1192:11;1188:20;1185:33;1182:53;;;1231:1;1228;1221:12;1182:53;1287:2;1282;1278;1274:11;1269:2;1261:6;1257:15;1244:46;1332:1;1310:15;;;1327:2;1306:24;1299:35;;;;-1:-1:-1;1314:6:350;385:980;-1:-1:-1;;;;;385:980:350:o;1562:656::-;1674:4;1703:2;1732;1721:9;1714:21;1764:6;1758:13;1807:6;1802:2;1791:9;1787:18;1780:34;1832:1;1842:140;1856:6;1853:1;1850:13;1842:140;;;1951:14;;;1947:23;;1941:30;1917:17;;;1936:2;1913:26;1906:66;1871:10;;1842:140;;;2000:6;1997:1;1994:13;1991:91;;;2070:1;2065:2;2056:6;2045:9;2041:22;2037:31;2030:42;1991:91;-1:-1:-1;2134:2:350;2122:15;2139:66;2118:88;2103:104;;;;2209:2;2099:113;;1562:656;-1:-1:-1;;;1562:656:350:o;2829:184::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:52;;;2968:1;2965;2958:12;2920:52;-1:-1:-1;2991:16:350;;2829:184;-1:-1:-1;2829:184:350:o;3018:313::-;3088:6;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3189:9;3183:16;3239:42;3232:5;3228:54;3221:5;3218:65;3208:93;;3297:1;3294;3287:12;4217:280;4286:6;4339:2;4327:9;4318:7;4314:23;4310:32;4307:52;;;4355:1;4352;4345:12;4307:52;4387:9;4381:16;4437:10;4430:5;4426:22;4419:5;4416:33;4406:61;;4463:1;4460;4453:12;4502:184;4554:77;4551:1;4544:88;4651:4;4648:1;4641:15;4675:4;4672:1;4665:15;4691:128;4731:3;4762:1;4758:6;4755:1;4752:13;4749:39;;;4768:18;;:::i;:::-;-1:-1:-1;4804:9:350;;4691:128::o;5231:262::-;5270:7;5302:10;5339:2;5336:1;5332:10;5369:2;5366:1;5362:10;5425:3;5421:2;5417:12;5412:3;5409:21;5402:3;5395:11;5388:19;5384:47;5381:73;;;5434:18;;:::i;:::-;5474:13;;5231:262;-1:-1:-1;;;;5231:262:350:o;5498:228::-;5538:7;5664:1;5596:66;5592:74;5589:1;5586:81;5581:1;5574:9;5567:17;5563:105;5560:131;;;5671:18;;:::i;:::-;-1:-1:-1;5711:9:350;;5498:228::o;5731:482::-;5820:1;5863:5;5820:1;5877:330;5898:7;5888:8;5885:21;5877:330;;;6017:4;5949:66;5945:77;5939:4;5936:87;5933:113;;;6026:18;;:::i;:::-;6076:7;6066:8;6062:22;6059:55;;;6096:16;;;;6059:55;6175:22;;;;6135:15;;;;5877:330;;;5881:3;5731:482;;;;;:::o;6218:866::-;6267:5;6297:8;6287:80;;-1:-1:-1;6338:1:350;6352:5;;6287:80;6386:4;6376:76;;-1:-1:-1;6423:1:350;6437:5;;6376:76;6468:4;6486:1;6481:59;;;;6554:1;6549:130;;;;6461:218;;6481:59;6511:1;6502:10;;6525:5;;;6549:130;6586:3;6576:8;6573:17;6570:43;;;6593:18;;:::i;:::-;-1:-1:-1;;6649:1:350;6635:16;;6664:5;;6461:218;;6763:2;6753:8;6750:16;6744:3;6738:4;6735:13;6731:36;6725:2;6715:8;6712:16;6707:2;6701:4;6698:12;6694:35;6691:77;6688:159;;;-1:-1:-1;6800:19:350;;;6832:5;;6688:159;6879:34;6904:8;6898:4;6879:34;:::i;:::-;7009:6;6941:66;6937:79;6928:7;6925:92;6922:118;;;7020:18;;:::i;:::-;7058:20;;6218:866;-1:-1:-1;;;6218:866:350:o;7089:131::-;7149:5;7178:36;7205:8;7199:4;7178:36;:::i;7225:274::-;7265:1;7291;7281:189;;7326:77;7323:1;7316:88;7427:4;7424:1;7417:15;7455:4;7452:1;7445:15;7281:189;-1:-1:-1;7484:9:350;;7225:274::o;7504:184::-;7556:77;7553:1;7546:88;7653:4;7650:1;7643:15;7677:4;7674:1;7667:15;7693:195;7732:3;7763:66;7756:5;7753:77;7750:103;;7833:18;;:::i;:::-;-1:-1:-1;7880:1:350;7869:13;;7693:195::o",linkReferences:{}},methodIdentifiers:{"DECIMALS()":"2e0f2625","baseFee()":"6ef25c3a","baseFeeScalar()":"c5985918","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","decimals()":"313ce567","gasPrice()":"fe173b97","getL1Fee(bytes)":"49948e0e","getL1GasUsed(bytes)":"de26c4a1","isEcotone()":"4ef6e224","l1BaseFee()":"519b4bd3","overhead()":"0c18c162","scalar()":"f45e65d8","setEcotone()":"22b90ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gasPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1GasUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEcotone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1BaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"overhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x420000000000000000000000000000000000000F","kind":"dev","methods":{"baseFee()":{"returns":{"_0":"Current L2 base fee."}},"baseFeeScalar()":{"returns":{"_0":"Current base fee scalar."}},"blobBaseFee()":{"returns":{"_0":"Current blob base fee."}},"blobBaseFeeScalar()":{"returns":{"_0":"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.","returns":{"_0":"Number of decimals used in the scalar."}},"gasPrice()":{"returns":{"_0":"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 fee for."},"returns":{"_0":"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 gas for."},"returns":{"_0":"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{"returns":{"_0":"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.","returns":{"_0":"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.","returns":{"_0":"Current fee scalar."}}},"stateVariables":{"version":{"custom:semver":"1.2.0"}},"title":"GasPriceOracle","version":1},"userdoc":{"kind":"user","methods":{"DECIMALS()":{"notice":"Number of decimals used in the scalar."},"baseFee()":{"notice":"Retrieves the current base fee."},"baseFeeScalar()":{"notice":"Retrieves the current base fee scalar."},"blobBaseFee()":{"notice":"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{"notice":"Retrieves the current blob base fee scalar."},"gasPrice()":{"notice":"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{"notice":"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{"notice":"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{"notice":"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{"notice":"Retrieves the latest known L1 base fee."},"setEcotone()":{"notice":"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{"notice":"Semantic version."}},"notice":"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);","version":1}},"settings":{"compilationTarget":{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/GasPriceOracle.sol":{"keccak256":"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1","license":"MIT","urls":["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"]},"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DECIMALS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"isEcotone",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.",returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.",returns:{_0:"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.",returns:{_0:"Current fee scalar."}}},version:1},userdoc:{kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},evmVersion:"london",libraries:{}},sources:{"src/L2/GasPriceOracle.sol":{keccak256:"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1",urls:["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"],license:"MIT"},"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:86905,contract:"src/L2/GasPriceOracle.sol:GasPriceOracle",label:"isEcotone",offset:0,slot:"0",type:"t_bool"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},notice:"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);"},devdoc:{version:1,kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{returns:{_0:"Current fee overhead."}},"scalar()":{returns:{_0:"Current fee scalar."}}},title:"GasPriceOracle"},id:140}});var aQe=D((Dda,yWt)=>{yWt.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"create",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"payable"},{type:"function",name:"findLatestGames",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_n",type:"uint256",internalType:"uint256"}],outputs:[{name:"games_",type:"tuple[]",internalType:"struct IDisputeGameFactory.GameSearchResult[]",components:[{name:"index",type:"uint256",internalType:"uint256"},{name:"metadata",type:"bytes32",internalType:"GameId"},{name:"timestamp",type:"uint64",internalType:"Timestamp"},{name:"rootClaim",type:"bytes32",internalType:"Claim"},{name:"extraData",type:"bytes",internalType:"bytes"}]}],stateMutability:"view"},{type:"function",name:"gameAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"},{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"gameCount",inputs:[],outputs:[{name:"gameCount_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"gameImpls",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"games",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"getGameUUID",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"uuid_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"initBonds",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_owner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementation",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_impl",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setInitBond",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_initBond",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"DisputeGameCreated",inputs:[{name:"disputeProxy",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"rootClaim",type:"bytes32",indexed:!0,internalType:"Claim"}],anonymous:!1},{type:"event",name:"ImplementationSet",inputs:[{name:"impl",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"}],anonymous:!1},{type:"event",name:"InitBondUpdated",inputs:[{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"newBond",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"GameAlreadyExists",inputs:[{name:"uuid",type:"bytes32",internalType:"Hash"}]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"NoImplementation",inputs:[{name:"gameType",type:"uint32",internalType:"GameType"}]}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000292565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016260201b62000cdb1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b6200010c62000171565b6200011782620001d9565b80156200015e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001cd5760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d76200022b565b565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16620002875760405162461bcd60e51b815260206004820152602b6024820152600080516020620017ff83398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d733620001d9565b61155d80620002a26000396000f3fe6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069",sourceMap:"1011:6547:158:-:0;;;2002:74;;;;;;;;;-1:-1:-1;2047:22:158::1;2066:1;2047:10;:22::i;:::-;1011:6547:::0;;2173:124;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:25;;216:2:350;3157:201:25;;;198:21:350;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:350;;;338:44;399:19;;3157:201:25;;;;;;;;;3368:12;:16;;-1:-1:-1;;3368:16:25;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;3428:20:25;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6:::0;2264:18:::1;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;3513:21:25;;;3553:14;;-1:-1:-1;581:36:350;;3553:14:25;;569:2:350;554:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;1186:320:31:-;-1:-1:-1;;;;;1476:19:31;;:23;;;1186:320::o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1065:26:24::1;:24;:26::i;:::-;1003:95::o:0;2673:187::-;2765:6;;;-1:-1:-1;;;;;2781:17:24;;;-1:-1:-1;;;;;;2781:17:24;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;1104:111::-;4910:13:25;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:25;;830:2:350;4902:69:25;;;812:21:350;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:350;;;881:62;-1:-1:-1;;;959:18:350;;;952:41;1010:19;;4902:69:25;628:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;628:407:350:-:0;1011:6547:158;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d610108366004611098565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110cf565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d6101973660046110ea565b61045e565b3480156101a857600080fd5b506101bc6101b7366004611114565b6104aa565b60405161017391906111c1565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e332e3000000000000000000000000000000000000000000000000000000081525081565b604051610173919061127e565b34801561024a57600080fd5b5061025e610259366004611291565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110cf565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e3366004611291565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e366004611291565b6109ed565b34801561033f57600080fd5b5061035361034e366004611318565b610a26565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611331565b610a88565b3480156103c057600080fd5b5061010d6103cf366004611331565b610c24565b6103dc610cf7565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf7565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f061134e565b600091825260209091200154905060e081901c67ffffffffffffffff60a083901c1673ffffffffffffffffffffffffffffffffffffffff831660ff808a16908416036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113ac565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106439190611477565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a516106859190611490565b815181106106955761069561134e565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ed565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf7565b6107536000610d78565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610820600143611490565b4090506108888682878760405160200161083d94939291906114ce565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610def565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d257600080fd5b505af11580156108e6573d6000803e3d6000fd5b505050505060006108f9888888886109ed565b60008181526067602052604090205490915015610945576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a0694939291906114ef565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7b60688581548110610a4157610a4161134e565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aa85750600054600160ff909116105b80610ac25750303b158015610ac2575060005460ff166001145b610b4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb4610f23565b610bbd82610d78565b8015610c2057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2c610cf7565b73ffffffffffffffffffffffffffffffffffffffff8116610ccf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cd881610d78565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006002825101603f8101600a81036040518360581b8260e81b177f6100003d81600a3d39f3363d3d373d3d3d3d610000806035363936013d7300001781528660601b601e8201527f5af43d3d93803e603357fd5bf300000000000000000000000000000000000000603282015285519150603f8101602087015b60208410610ea757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101610e6a565b517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602085900360031b1b16815260f085901b9083015282816000f0945084610f14577febfef1880000000000000000000000000000000000000000000000000000000060005260206000fd5b90910160405250909392505050565b600054610100900460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753600054610100900460ff16611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d78565b803563ffffffff8116811461107157600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cd857600080fd5b600080604083850312156110ab57600080fd5b6110b48361105d565b915060208301356110c481611076565b809150509250929050565b6000602082840312156110e157600080fd5b6106e78261105d565b600080604083850312156110fd57600080fd5b6111068361105d565b946020939093013593505050565b60008060006060848603121561112957600080fd5b6111328461105d565b95602085013595506040909401359392505050565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b6000815180845261118f816020860160208601611147565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611270578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a09185018290529061125c81860183611177565b9689019694505050908601906001016111e8565b509098975050505050505050565b6020815260006106e76020830184611177565b600080600080606085870312156112a757600080fd5b6112b08561105d565b935060208501359250604085013567ffffffffffffffff808211156112d457600080fd5b818701915087601f8301126112e857600080fd5b8135818111156112f757600080fd5b88602082850101111561130957600080fd5b95989497505060200194505050565b60006020828403121561132a57600080fd5b5035919050565b60006020828403121561134357600080fd5b81356106e781611076565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113be57600080fd5b815167ffffffffffffffff808211156113d657600080fd5b818401915084601f8301126113ea57600080fd5b8151818111156113fc576113fc61137d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156114425761144261137d565b8160405282815287602084870101111561145b57600080fd5b61146c836020830160208801611147565b979650505050505050565b60006020828403121561148957600080fd5b5051919050565b6000828210156114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b84815283602082015281836040830137600091016040019081529392505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a",sourceMap:"1011:6547:158:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7140:190;;;;;;;;;;-1:-1:-1;7140:190:158;;;;;:::i;:::-;;:::i;:::-;;1375:50;;;;;;;;;;-1:-1:-1;1375:50:158;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1233:42:350;1221:55;;;1203:74;;1191:2;1176:18;1375:50:158;;;;;;;;7376:180;;;;;;;;;;-1:-1:-1;7376:180:158;;;;;:::i;:::-;;:::i;5165:1929::-;;;;;;;;;;-1:-1:-1;5165:1929:158;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2343:117::-;;;;;;;;;;-1:-1:-1;2430:16:158;:23;2343:117;;;4092:25:350;;;4080:2;4065:18;2343:117:158;3946:177:350;1288:40:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2506:342::-;;;;;;;;;;-1:-1:-1;2506:342:158;;;;;:::i;:::-;;:::i;:::-;;;;5425:42:350;5413:55;;;5395:74;;5517:18;5505:31;;;5500:2;5485:18;;5478:59;5368:18;2506:342:158;5169:374:350;1472:45:158;;;;;;;;;;-1:-1:-1;1472:45:158;;;;;:::i;:::-;;;;;;;;;;;;;;2071:101:24;;;;;;;;;;;;;:::i;3175:1629:158:-;;;;;;:::i;:::-;;:::i;1441:85:24:-;;;;;;;;;;-1:-1:-1;1513:6:24;;;;1441:85;;4850:269:158;;;;;;;;;;-1:-1:-1;4850:269:158;;;;;:::i;:::-;;:::i;2894:235::-;;;;;;;;;;-1:-1:-1;2894:235:158;;;;;:::i;:::-;;:::i;:::-;;;;6485:10:350;6473:23;;;6455:42;;6545:18;6533:31;;;6528:2;6513:18;;6506:59;6613:42;6601:55;6581:18;;;6574:83;6443:2;6428:18;2894:235:158;6172:491:350;2173:124:158;;;;;;;;;;-1:-1:-1;2173:124:158;;;;;:::i;:::-;;:::i;2321:198:24:-;;;;;;;;;;-1:-1:-1;2321:198:24;;;;;:::i;:::-;;:::i;7140:190:158:-;1334:13:24;:11;:13::i;:::-;7236:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:28;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;7279:44;;7236:28;;7279:44:::1;::::0;::::1;7140:190:::0;;:::o;7376:180::-;1334:13:24;:11;:13::i;:::-;7465:20:158::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:32;;;7512:37;7488:9;;7465:20;7512:37:::1;::::0;::::1;7376:180:::0;;:::o;5165:1929::-;5497:16;:23;5315:32;;5487:33;;;;:44;;-1:-1:-1;5524:7:158;;5487:44;5533:13;5483:63;-1:-1:-1;5803:4:158;5797:11;;5860:4;5856:13;;;5834:37;;5850:4;5834:37;5821:51;;;6004:6;5987:1101;6027:6;6022:1;:11;5987:1101;;6050:9;6062:16;6079:1;6062:19;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;1277:3:169;1273:17;;;1340:18;1325:3;1321:17;;;1317:42;1399;1386:56;;6188:33:158;;;;;;;;6184:834;;6546:4;6537:6;6531:13;6527:24;6519:6;6512:40;6588:22;6613:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6588:42;;6648:15;6666:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6648:35;;6729:226;;;;;;;;6775:1;6729:226;;;;6808:2;6729:226;;;;6843:9;6729:226;;;;;;6885:9;6729:226;;;;6927:9;6729:226;;;6701:6;6724:1;6708:6;:13;:17;;;;:::i;:::-;6701:25;;;;;;;;:::i;:::-;;;;;;:254;;;;6994:2;6977:6;:13;:19;6973:30;;6998:5;;;;;;;;6973:30;6223:795;;6184:834;-1:-1:-1;;7060:3:158;;;;;-1:-1:-1;5987:1101:158;;-1:-1:-1;5987:1101:158;;;5165:1929;;;;;;:::o;2506:342::-;2663:19;2684:20;2720:9;2732:46;2744:9;2755:10;2767;;2732:11;:46::i;:::-;2813:19;;;;:13;:19;;;;;;1399:42:169;1386:56;;;1325:3;1321:17;;;;1340:18;1317:42;;-1:-1:-1;2788:53:158;-1:-1:-1;;;;;;2506:342:158:o;2071:101:24:-;1334:13;:11;:13::i;:::-;2135:30:::1;2162:1;2135:18;:30::i;:::-;2071:101::o:0;3175:1629:158:-;3461:20;;;3336:19;3461:20;;;:9;:20;;;;;;;;;3576:67;;3616:27;;;;;8964:10:350;8952:23;;3616:27:158;;;8934:42:350;8907:18;;3616:27:158;;;;;;;;3576:67;3738:20;;;;;;;:9;:20;;;;;;3725:9;:33;3721:67;;3767:21;;;;;;;;;;;;;;3721:67;3844:18;3875:16;3890:1;3875:12;:16;:::i;:::-;3865:27;3844:48;;4015:73;4052:10;4064;4076;;4035:52;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;4015:19;;;;;:73::i;:::-;3993:96;;4099:6;:17;;;4125:9;4099:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4212:9;4224:46;4236:9;4247:10;4259;;4224:11;:46::i;:::-;4403:1;4371:19;;;:13;:19;;;;;;4212:58;;-1:-1:-1;4357:48:158;4353:84;;4414:23;;;;;;;;4092:25:350;;;4065:18;;4414:23:158;3946:177:350;4353:84:158;4477:9;4537:15;767:3:169;763:20;746:3;742:19;;;739:45;736:61;;4665:19:158;;;;:13;:19;;;;;;:24;;;4699:16;:25;;;;;;;;;;;;;;;4739:58;4477:86;;-1:-1:-1;4786:10:158;;4739:58;;;;;;;;;;4665:19;4739:58;3361:1443;;;;3175:1629;;;;;;:::o;4850:269::-;5011:10;5076:9;5087:10;5099;;5065:45;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5055:56;;;;;;5037:75;;4850:269;;;;;;:::o;2894:235::-;2978:18;2998:20;3020:19;3089:33;:16;3106:6;3089:24;;;;;;;;:::i;:::-;;;;;;;;;1277:3:169;1273:17;;;;1325:3;1321:17;;;1340:18;1317:42;;1399;1386:56;;1077:381;3089:33:158;3055:67;;;;-1:-1:-1;3055:67:158;;-1:-1:-1;2894:235:158;-1:-1:-1;;2894:235:158:o;2173:124::-;3111:19:25;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:25;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:25;1476:19:31;:23;;;3219:66:25;;-1:-1:-1;3268:12:25;;;;;:17;3219:66;3157:201;;;;;;;10301:2:350;3157:201:25;;;10283:21:350;10340:2;10320:18;;;10313:30;10379:34;10359:18;;;10352:62;10450:16;10430:18;;;10423:44;10484:19;;3157:201:25;10099:410:350;3157:201:25;3368:12;:16;;;;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;2238:16:158::1;:14;:16::i;:::-;2264:26;2283:6;2264:18;:26::i;:::-;3483:14:25::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;10666:36:350;;3553:14:25;;10654:2:350;10639:18;3553:14:25;;;;;;;3479:99;3101:483;2173:124:158;:::o;2321:198:24:-;1334:13;:11;:13::i;:::-;2409:22:::1;::::0;::::1;2401:73;;;::::0;::::1;::::0;;10915:2:350;2401:73:24::1;::::0;::::1;10897:21:350::0;10954:2;10934:18;;;10927:30;10993:34;10973:18;;;10966:62;11064:8;11044:18;;;11037:36;11090:19;;2401:73:24::1;10713:402:350::0;2401:73:24::1;2484:28;2503:8;2484:18;:28::i;:::-;2321:198:::0;:::o;1186:320:31:-;1476:19;;;:23;;;1186:320::o;1599:130:24:-;1513:6;;1662:23;1513:6;929:10:32;1662:23:24;1654:68;;;;;;;11322:2:350;1654:68:24;;;11304:21:350;;;11341:18;;;11334:30;11400:34;11380:18;;;11373:62;11452:18;;1654:68:24;11120:356:350;2673:187:24;2765:6;;;;2781:17;;;;;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;990:7567:0:-;1082:24;1309:1;1302:4;1296:11;1292:19;1429:16;1416:11;1412:34;1492:4;1478:12;1474:23;1563:24;1557:31;6751:11;6745:4;6741:22;6707:7;6701:4;6697:18;6669:116;6559:88;6535:268;6514:3;6490:327;6909:14;6903:4;6899:25;6876:4;6871:3;6867:14;6843:95;7008:42;6985:4;6980:3;6976:14;6952:112;7478:4;7472:11;7457:26;;7520:16;7515:3;7511:26;7575:8;7569:4;7565:19;7598:318;7646:8;7637:7;7634:21;7678:5;7631:70;7735:14;;7719:31;;7880:22;;;;;7792:8;7779:22;;;;7829;7598:318;;;8087:14;8028:11;7990:8;7986:22;;;7983:1;7979:30;7958:95;8083:25;8067:42;;8187:4;8183:22;;;8133:21;;;8167:39;8247:12;8242:3;8239:1;8232:28;8220:40;;8284:8;8274:155;;8361:17;8358:1;8351:28;8406:8;8403:1;8396:19;8274:155;8518:22;;;8492:24;8485:56;-1:-1:-1;990:7567:0;;;-1:-1:-1;;;990:7567:0:o;1003:95:24:-;4910:13:25;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1065:26:24::1;4910:13:25::0;;;;;;;4902:69;;;;;;;11683:2:350;4902:69:25;;;11665:21:350;11722:2;11702:18;;;11695:30;11761:34;11741:18;;;11734:62;11832:13;11812:18;;;11805:41;11863:19;;4902:69:25;11481:407:350;4902:69:25;1176:32:24::1;929:10:32::0;1176:18:24::1;:32::i;14:186:350:-:0;104:20;;164:10;153:22;;143:33;;133:61;;190:1;187;180:12;133:61;14:186;;;:::o;205:168::-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;378:409;498:6;506;559:2;547:9;538:7;534:23;530:32;527:52;;;575:1;572;565:12;527:52;598:51;639:9;598:51;:::i;:::-;588:61;;699:2;688:9;684:18;671:32;712:45;751:5;712:45;:::i;:::-;776:5;766:15;;;378:409;;;;;:::o;792:238::-;881:6;934:2;922:9;913:7;909:23;905:32;902:52;;;950:1;947;940:12;902:52;973:51;1014:9;973:51;:::i;1288:306::-;1386:6;1394;1447:2;1435:9;1426:7;1422:23;1418:32;1415:52;;;1463:1;1460;1453:12;1415:52;1486:51;1527:9;1486:51;:::i;:::-;1476:61;1584:2;1569:18;;;;1556:32;;-1:-1:-1;;;1288:306:350:o;1599:374::-;1706:6;1714;1722;1775:2;1763:9;1754:7;1750:23;1746:32;1743:52;;;1791:1;1788;1781:12;1743:52;1814:51;1855:9;1814:51;:::i;:::-;1804:61;1912:2;1897:18;;1884:32;;-1:-1:-1;1963:2:350;1948:18;;;1935:32;;1599:374;-1:-1:-1;;;1599:374:350:o;1978:258::-;2050:1;2060:113;2074:6;2071:1;2068:13;2060:113;;;2150:11;;;2144:18;2131:11;;;2124:39;2096:2;2089:10;2060:113;;;2191:6;2188:1;2185:13;2182:48;;;2226:1;2217:6;2212:3;2208:16;2201:27;2182:48;;1978:258;;;:::o;2241:316::-;2282:3;2320:5;2314:12;2347:6;2342:3;2335:19;2363:63;2419:6;2412:4;2407:3;2403:14;2396:4;2389:5;2385:16;2363:63;:::i;:::-;2471:2;2459:15;2476:66;2455:88;2446:98;;;;2546:4;2442:109;;2241:316;-1:-1:-1;;2241:316:350:o;2562:1379::-;2774:4;2803:2;2843;2832:9;2828:18;2873:2;2862:9;2855:21;2896:6;2931;2925:13;2962:6;2954;2947:22;2988:2;2978:12;;3021:2;3010:9;3006:18;2999:25;;3083:2;3073:6;3070:1;3066:14;3055:9;3051:30;3047:39;3121:2;3113:6;3109:15;3142:1;3152:760;3166:6;3163:1;3160:13;3152:760;;;3231:22;;;3255:66;3227:95;3215:108;;3346:13;;3414:9;;3399:25;;3467:11;;;3461:18;3444:15;;;3437:43;3527:11;;;3521:18;3541;3517:43;3500:15;;;3493:68;3584:4;3631:11;;;3625:18;3608:15;;;3601:43;3667:4;3710:11;;;3704:18;3382:4;3742:15;;;3735:27;;;3704:18;3785:47;3816:15;;;3704:18;3785:47;:::i;:::-;3890:12;;;;3775:57;-1:-1:-1;;;3855:15:350;;;;3188:1;3181:9;3152:760;;;-1:-1:-1;3929:6:350;;2562:1379;-1:-1:-1;;;;;;;;2562:1379:350:o;4128:219::-;4277:2;4266:9;4259:21;4240:4;4297:44;4337:2;4326:9;4322:18;4314:6;4297:44;:::i;4352:812::-;4497:6;4505;4513;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;4613:51;4654:9;4613:51;:::i;:::-;4603:61;;4711:2;4700:9;4696:18;4683:32;4673:42;;4766:2;4755:9;4751:18;4738:32;4789:18;4830:2;4822:6;4819:14;4816:34;;;4846:1;4843;4836:12;4816:34;4884:6;4873:9;4869:22;4859:32;;4929:7;4922:4;4918:2;4914:13;4910:27;4900:55;;4951:1;4948;4941:12;4900:55;4991:2;4978:16;5017:2;5009:6;5006:14;5003:34;;;5033:1;5030;5023:12;5003:34;5078:7;5073:2;5064:6;5060:2;5056:15;5052:24;5049:37;5046:57;;;5099:1;5096;5089:12;5046:57;4352:812;;;;-1:-1:-1;;5130:2:350;5122:11;;-1:-1:-1;;;4352:812:350:o;5987:180::-;6046:6;6099:2;6087:9;6078:7;6074:23;6070:32;6067:52;;;6115:1;6112;6105:12;6067:52;-1:-1:-1;6138:23:350;;5987:180;-1:-1:-1;5987:180:350:o;6668:261::-;6727:6;6780:2;6768:9;6759:7;6755:23;6751:32;6748:52;;;6796:1;6793;6786:12;6748:52;6835:9;6822:23;6854:45;6893:5;6854:45;:::i;6934:184::-;6986:77;6983:1;6976:88;7083:4;7080:1;7073:15;7107:4;7104:1;7097:15;7123:184;7175:77;7172:1;7165:88;7272:4;7269:1;7262:15;7296:4;7293:1;7286:15;7312:942;7391:6;7444:2;7432:9;7423:7;7419:23;7415:32;7412:52;;;7460:1;7457;7450:12;7412:52;7493:9;7487:16;7522:18;7563:2;7555:6;7552:14;7549:34;;;7579:1;7576;7569:12;7549:34;7617:6;7606:9;7602:22;7592:32;;7662:7;7655:4;7651:2;7647:13;7643:27;7633:55;;7684:1;7681;7674:12;7633:55;7713:2;7707:9;7735:2;7731;7728:10;7725:36;;;7741:18;;:::i;:::-;7875:2;7869:9;7937:4;7929:13;;7780:66;7925:22;;;7949:2;7921:31;7917:40;7905:53;;;7973:18;;;7993:22;;;7970:46;7967:72;;;8019:18;;:::i;:::-;8059:10;8055:2;8048:22;8094:2;8086:6;8079:18;8134:7;8129:2;8124;8120;8116:11;8112:20;8109:33;8106:53;;;8155:1;8152;8145:12;8106:53;8168:55;8220:2;8215;8207:6;8203:15;8198:2;8194;8190:11;8168:55;:::i;:::-;8242:6;7312:942;-1:-1:-1;;;;;;;7312:942:350:o;8259:211::-;8356:6;8409:2;8397:9;8388:7;8384:23;8380:32;8377:52;;;8425:1;8422;8415:12;8377:52;-1:-1:-1;8448:16:350;;8259:211;-1:-1:-1;8259:211:350:o;8475:279::-;8515:4;8543:1;8540;8537:8;8534:188;;;8578:77;8575:1;8568:88;8679:4;8676:1;8669:15;8707:4;8704:1;8697:15;8534:188;-1:-1:-1;8739:9:350;;8475:279::o;8987:437::-;9239:6;9234:3;9227:19;9276:6;9271:2;9266:3;9262:12;9255:28;9327:6;9319;9314:2;9309:3;9305:12;9292:42;9209:3;9357:16;;9375:2;9353:25;9387:13;;;9353:25;8987:437;-1:-1:-1;;;8987:437:350:o;9429:665::-;9710:10;9702:6;9698:23;9687:9;9680:42;9758:6;9753:2;9742:9;9738:18;9731:34;9801:2;9796;9785:9;9781:18;9774:30;9840:6;9835:2;9824:9;9820:18;9813:34;9898:6;9890;9884:3;9873:9;9869:19;9856:49;9955:1;9925:22;;;9949:3;9921:32;;;9914:43;;;;10009:2;9997:15;;;10014:66;9993:88;9978:104;9974:114;;9429:665;-1:-1:-1;;;9429:665:350:o",linkReferences:{}},methodIdentifiers:{"create(uint32,bytes32,bytes)":"82ecf2f6","findLatestGames(uint32,uint256,uint256)":"254bd683","gameAtIndex(uint256)":"bb8aa1fc","gameCount()":"4d1975b4","gameImpls(uint32)":"1b685b9e","games(uint32,bytes32,bytes)":"5f0150cb","getGameUUID(uint32,bytes32,bytes)":"96cd9720","initBonds(uint32)":"6593dc6e","initialize(address)":"c4d66de8","owner()":"8da5cb5b","renounceOwnership()":"715018a6","setImplementation(uint32,address)":"14f6b1a3","setInitBond(uint32,uint256)":"1e334240","transferOwnership(address)":"f2fde38b","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"Hash","name":"uuid","type":"bytes32"}],"name":"GameAlreadyExists","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[{"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"NoImplementation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"disputeProxy","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"DisputeGameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"impl","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"ImplementationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"uint256","name":"newBond","type":"uint256"}],"name":"InitBondUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"create","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"findLatestGames","outputs":[{"components":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"GameId","name":"metadata","type":"bytes32"},{"internalType":"Timestamp","name":"timestamp","type":"uint64"},{"internalType":"Claim","name":"rootClaim","type":"bytes32"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct IDisputeGameFactory.GameSearchResult[]","name":"games_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"gameAtIndex","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"},{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCount","outputs":[{"internalType":"uint256","name":"gameCount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"gameImpls","outputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"games","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"getGameUUID","outputs":[{"internalType":"Hash","name":"uuid_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"initBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"contract IDisputeGame","name":"_impl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_initBond","type":"uint256"}],"name":"setInitBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"params":{"uuid":"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{"params":{"gameType":"The unsupported game type."}}]},"kind":"dev","methods":{"create(uint32,bytes32,bytes)":{"params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{"params":{"_gameType":"The type of game to find.","_n":"The number of games to find.","_start":"The index to start the reverse search from."}},"gameAtIndex(uint256)":{"params":{"_index":"The index of the dispute game."},"returns":{"gameType_":"The type of the DisputeGame - used to decide the proxy implementation.","proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"gameCount()":{"returns":{"gameCount_":"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{"details":"`++` equates to concatenation.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{"details":"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"uuid_":"The unique identifier for the given dispute game parameters."}},"initialize(address)":{"params":{"_owner":"The owner of the contract."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_impl":"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_initBond":"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"gameImpls":{"params":{"_gameType":"The type of the dispute game."},"return":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`.","returns":{"_0":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`."}},"initBonds":{"params":{"_gameType":"The type of the dispute game."},"return":"The required bond for initializing a dispute game of the given type.","returns":{"_0":"The required bond for initializing a dispute game of the given type."}},"version":{"custom:semver":"0.3.0"}},"title":"DisputeGameFactory","version":1},"userdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"notice":"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{"notice":"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},"events":{"DisputeGameCreated(address,uint32,bytes32)":{"notice":"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{"notice":"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{"notice":"Emitted when a game type\'s initialization bond is updated"}},"kind":"user","methods":{"constructor":{"notice":"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{"notice":"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{"notice":"Finds the `_n` most recent `GameId`\'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{"notice":"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{"notice":"The total number of dispute games created by this factory."},"gameImpls(uint32)":{"notice":"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{"notice":"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{"notice":"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{"notice":"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{"notice":"Initializes the contract."},"setImplementation(uint32,address)":{"notice":"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{"notice":"Sets the bond (in wei) for initializing a game type."},"version()":{"notice":"Semantic version."}},"notice":"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier.","version":1}},"settings":{"compilationTarget":{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"Hash",name:"uuid",type:"bytes32"}],type:"error",name:"GameAlreadyExists"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32"}],type:"error",name:"NoImplementation"},{inputs:[{internalType:"address",name:"disputeProxy",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"Claim",name:"rootClaim",type:"bytes32",indexed:!0}],type:"event",name:"DisputeGameCreated",anonymous:!1},{inputs:[{internalType:"address",name:"impl",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0}],type:"event",name:"ImplementationSet",anonymous:!1},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"uint256",name:"newBond",type:"uint256",indexed:!0}],type:"event",name:"InitBondUpdated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"create",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_start",type:"uint256"},{internalType:"uint256",name:"_n",type:"uint256"}],stateMutability:"view",type:"function",name:"findLatestGames",outputs:[{internalType:"struct IDisputeGameFactory.GameSearchResult[]",name:"games_",type:"tuple[]",components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"GameId",name:"metadata",type:"bytes32"},{internalType:"Timestamp",name:"timestamp",type:"uint64"},{internalType:"Claim",name:"rootClaim",type:"bytes32"},{internalType:"bytes",name:"extraData",type:"bytes"}]}]},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],stateMutability:"view",type:"function",name:"gameAtIndex",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"},{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameCount",outputs:[{internalType:"uint256",name:"gameCount_",type:"uint256"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"gameImpls",outputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"view",type:"function",name:"games",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"pure",type:"function",name:"getGameUUID",outputs:[{internalType:"Hash",name:"uuid_",type:"bytes32"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"initBonds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"contract IDisputeGame",name:"_impl",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setImplementation"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_initBond",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setInitBond"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},version:1},userdoc:{kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:45313,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:45316,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:46844,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:45185,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_owner",offset:0,slot:"51",type:"t_address"},{astId:45305,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:93883,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"gameImpls",offset:0,slot:"101",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)"},{astId:93889,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"initBonds",offset:0,slot:"102",type:"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)"},{astId:93896,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGames",offset:0,slot:"103",type:"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)"},{astId:93901,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGameList",offset:0,slot:"104",type:"t_array(t_userDefinedValueType(GameId)99912)dyn_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},"t_array(t_userDefinedValueType(GameId)99912)dyn_storage":{encoding:"dynamic_array",label:"GameId[]",numberOfBytes:"32",base:"t_userDefinedValueType(GameId)99912"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_mapping(t_userDefinedValueType(GameType)99918,t_contract(IDisputeGame)96855)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => contract IDisputeGame)",numberOfBytes:"32",value:"t_contract(IDisputeGame)96855"},"t_mapping(t_userDefinedValueType(GameType)99918,t_uint256)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)99918",label:"mapping(GameType => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_userDefinedValueType(Hash)99900,t_userDefinedValueType(GameId)99912)":{encoding:"mapping",key:"t_userDefinedValueType(Hash)99900",label:"mapping(Hash => GameId)",numberOfBytes:"32",value:"t_userDefinedValueType(GameId)99912"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameId)99912":{encoding:"inplace",label:"GameId",numberOfBytes:"32"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},events:{"DisputeGameCreated(address,uint32,bytes32)":{notice:"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{notice:"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{notice:"Emitted when a game type's initialization bond is updated"}},errors:{"GameAlreadyExists(bytes32)":[{notice:"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{notice:"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},notice:"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier."},devdoc:{version:1,kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},errors:{"GameAlreadyExists(bytes32)":[{params:{uuid:"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{params:{gameType:"The unsupported game type."}}]},title:"DisputeGameFactory"},id:158}});var rQe=D((Pda,gWt)=>{gWt.exports={abi:[{type:"constructor",inputs:[{name:"_proofMaturityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_disputeGameFinalityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_initialRespectedGameType",type:"uint32",internalType:"GameType"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"GUARDIAN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SYSTEM_CONFIG",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"blacklistDisputeGame",inputs:[{name:"_disputeGame",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkWithdrawal",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"disputeGameBlacklist",inputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"disputeGameFactory",inputs:[],outputs:[{name:"",type:"address",internalType:"contract DisputeGameFactory"}],stateMutability:"view"},{type:"function",name:"disputeGameFinalityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeWithdrawalTransactionExternalProof",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_disputeGameFactory",type:"address",internalType:"contract DisputeGameFactory"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"numProofSubmitters",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proofMaturityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proofSubmitters",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_disputeGameIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"disputeGameProxy",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"respectedGameType",inputs:[],outputs:[{name:"",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"respectedGameTypeUpdatedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setRespectedGameType",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60c06040523480156200001157600080fd5b506040516200624d3803806200624d8339810160408190526200003491620002d3565b608083905260a0829052603b805463ffffffff191663ffffffff831617905562000061600080806200006a565b50505062000317565b600054610100900460ff16158080156200008b5750600054600160ff909116105b80620000bb5750620000a8306200020560201b6200262a1760201c565b158015620000bb575060005460ff166001145b620001245760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000148576000805461ff0019166101001790555b603880546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b0319166101008584160217905560325416620001ae57603280546001600160a01b03191661dead1790555b620001b862000214565b8015620001ff576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff16620002815760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200011b565b600154600160c01b90046001600160401b0316600003620002d15760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b600080600060608486031215620002e957600080fd5b8351925060208401519150604084015163ffffffff811681146200030c57600080fd5b809150509250925092565b60805160a051615f026200034b600039600081816104ce0152611ef80152600081816106450152611b690152615f026000f3fe6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;5955:577;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6121:57;;;;6188:70;;;;6268:17;:45;;-1:-1:-1;;6268:45:131;;;;;;;6324:201;-1:-1:-1;;;6324:10:131;:201::i;:::-;5955:577;;;1269:25082;;6764:469;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:41;;654:2:350;3146:190:41;;;636:21:350;693:2;673:18;;;666:30;732:34;712:18;;;705:62;-1:-1:-1;;;783:18:350;;;776:44;837:19;;3146:190:41;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:41;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:41;;;;;3372:65;6967:18:131::1;:40:::0;;-1:-1:-1;;;;;;6967:40:131;;::::1;-1:-1:-1::0;;;;;6967:40:131;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;-1:-1:-1;;;;;;7055:36:131::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;-1:-1:-1;;;;;;7143:38:131::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:41;;;3531:14;;-1:-1:-1;1019:36:350;;3531:14:41;;1007:2:350;992:18;3531:14:41;;;;;;;3457:99;3090:472;6764:469:131;;;:::o;1175:320:57:-;-1:-1:-1;;;;;1465:19:57;;:23;;;1175:320::o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:41;;1268:2:350;4880:69:41;;;1250:21:350;1307:2;1287:18;;;1280:30;1346:34;1326:18;;;1319:62;-1:-1:-1;;;1397:18:350;;;1390:41;1448:19;;4880:69:41;1066:407:350;4880:69:41;8384:6:133::1;:19:::0;-1:-1:-1;;;8384:19:133;::::1;-1:-1:-1::0;;;;;8384:19:133::1;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;-1:-1:-1::0;;;;;8433:93:133::1;::::0;;;;;;;-1:-1:-1;;;8424:102:133::1;;:6;:102:::0;8380:157:::1;8309:234::o:0;14:433:350:-;132:6;140;148;201:2;189:9;180:7;176:23;172:32;169:52;;;217:1;214;207:12;169:52;246:9;240:16;230:26;;296:2;285:9;281:18;275:25;265:35;;343:2;332:9;328:18;322:25;387:10;380:5;376:22;369:5;366:33;356:61;;413:1;410;403:12;356:61;436:5;426:15;;;14:433;;;;;:::o;1066:407::-;1269:25082:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101c65760003560e01c80637fc48504116100f7578063a3860f4811610095578063cff0ab9611610064578063cff0ab9614610689578063e9e05c421461072a578063f04987501461073d578063f2b4e6171461076857600080fd5b8063a3860f481461056f578063bb2c727e1461058f578063bf653a5c14610636578063c0c53b8b1461066957600080fd5b8063952b2797116100d1578063952b2797146104bf5780639bf62d82146104f2578063a14238e71461051f578063a35d99df1461054f57600080fd5b80637fc485041461047f5780638b4c40b0146101eb5780638c3152e91461049f57600080fd5b80634fd0434c116101645780635c975abb1161013e5780635c975abb1461041557806371c1566e1461042a578063724c184c1461044a5780637d6be8dc1461045f57600080fd5b80634fd0434c14610342578063513747ab1461038457806354fd4d50146103bf57600080fd5b806343ca1c50116101a057806343ca1c50146102ad578063452a9320146102cd57806345884d32146102e25780634870496f1461032257600080fd5b806333d7e2bd146101f257806335e80ab3146102495780633c9f397c1461027b57600080fd5b366101ed576101eb3334620186a0600060405180602001604052806000815250610795565b005b600080fd5b3480156101fe57600080fd5b5060375461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561025557600080fd5b5060355461021f90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028757600080fd5b50603b546102989063ffffffff1681565b60405163ffffffff9091168152602001610240565b3480156102b957600080fd5b506101eb6102c83660046153c1565b610a30565b3480156102d957600080fd5b5061021f610d0f565b3480156102ee57600080fd5b506103126102fd366004615413565b603a6020526000908152604090205460ff1681565b6040519015158152602001610240565b34801561032e57600080fd5b506101eb61033d366004615430565b610da7565b34801561034e57600080fd5b50603b5461036b90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610240565b34801561039057600080fd5b506103b161039f36600461550c565b6000908152603c602052604090205490565b604051908152602001610240565b3480156103cb57600080fd5b506104086040518060400160405280600581526020017f332e352e3000000000000000000000000000000000000000000000000000000081525081565b604051610240919061559b565b34801561042157600080fd5b506103126117bb565b34801561043657600080fd5b506101eb6104453660046155ae565b61184e565b34801561045657600080fd5b5061021f6120ac565b34801561046b57600080fd5b506101eb61047a366004615413565b6120b6565b34801561048b57600080fd5b506101eb61049a3660046155e5565b6121c7565b3480156104ab57600080fd5b506101eb6104ba366004615602565b6122fd565b3480156104cb57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b3480156104fe57600080fd5b5060325461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052b57600080fd5b5061031261053a36600461550c565b60336020526000908152604090205460ff1681565b34801561055b57600080fd5b5061036b61056a366004615655565b612379565b34801561057b57600080fd5b5061021f61058a366004615672565b612398565b34801561059b57600080fd5b506106016105aa3660046155ae565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610240565b34801561064257600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103b1565b34801561067557600080fd5b506101eb610684366004615694565b6123dd565b34801561069557600080fd5b506001546106f1906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610240565b6101eb6107383660046156ed565b610795565b34801561074957600080fd5b5060375473ffffffffffffffffffffffffffffffffffffffff1661021f565b34801561077457600080fd5b5060385461021f9073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050831561084c5773ffffffffffffffffffffffffffffffffffffffff87161561084c57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f4f7074696d69736d506f7274616c3a206d7573742073656e6420746f2061646460448201527f72657373283029207768656e206372656174696e67206120636f6e747261637460648201526084015b60405180910390fd5b6108568351612379565b67ffffffffffffffff168567ffffffffffffffff1610156108f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4f7074696d69736d506f7274616c3a20676173206c696d697420746f6f20736d60448201527f616c6c00000000000000000000000000000000000000000000000000000000006064820152608401610843565b6201d4c083511115610967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4f7074696d69736d506f7274616c3a206461746120746f6f206c6172676500006044820152606401610843565b33328114610988575033731111000000000000000000000000000000001111015b600034888888886040516020016109a395949392919061576c565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610a13919061559b565b60405180910390a45050610a278282612646565b50505050505050565b610a386117bb565b15610a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610b48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610843565b6000610b5383612973565b9050610b5f818361184e565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610c01939291906129c0565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610c6690841515815260200190565b60405180910390a280158015610c7c5750326001145b15610d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a207769746864726177616c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906157d1565b905090565b610daf6117bb565b15610e16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610ed5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e7472616374006064820152608401610843565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906157ee565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe39190615830565b603b5490915060ff84811691161461107d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b61109461108f36889003880188615849565b612a1e565b8114611122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610843565b600061112d89612973565b600081815260396020908152604080832033845282529182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000900467ffffffffffffffff169082015290915060018473ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120391906158de565b6002811115611214576112146158af565b036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d65730000000000006064820152608401610843565b8051602082015167ffffffffffffffff16158061133d575060018173ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a91906158de565b600281111561133b5761133b6158af565b145b8061136d575073ffffffffffffffffffffffffffffffffffffffff81166000908152603a602052604090205460ff165b806114005750603b5463ffffffff1660ff166113fa8273ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f191906158ff565b63ffffffff1690565b60ff1614155b6114b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152606060248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e2c20616e642074686560648201527f206f6c6420646973707574652067616d65206973206e6f7420696e76616c6964608482015260a401610843565b60408051602081018590526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120908301819052925061157b9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f01000000000000000000000000000000000000000000000000000000000000006020830152906115718b8d61591c565b8d60400135612a5d565b611607576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610843565b60405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506039600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050508b6040015173ffffffffffffffffffffffffffffffffffffffff168c6020015173ffffffffffffffffffffffffffffffffffffffff16857f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6260405160405180910390a45050506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da291906159a0565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff1615611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c69737465640000000000000000000000000000006064820152608401610843565b816020015167ffffffffffffffff16600003611a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a401610843565b6000611a988273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8b91906159bd565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611b67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff1642611ba29190615a09565b11611c2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d6174757265642079657400000000000000000000006064820152608401610843565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906158de565b6002811115611cb157611cb16158af565b14611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c696461746564000000000000000000006064820152608401610843565b603b5463ffffffff1660ff16611d988373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113cd573d6000803e3d6000fd5b60ff1614611e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610843565b603b5467ffffffffffffffff64010000000090910481169082161015611ef6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a401610843565b7f0000000000000000000000000000000000000000000000000000000000000000611f658373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a67573d6000803e3d6000fd5b611f799067ffffffffffffffff1642615a09565b11612006576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d676170000000000000000000000000000000000000000000006064820152608401610843565b60008581526033602052604090205460ff16156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610843565b5050505050565b6000610da2610d0f565b6120be610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e20626c61636b6c69737420646973707574652067616d65730000006064820152608401610843565b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6121cf610d0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4f7074696d69736d506f7274616c3a206f6e6c7920746865206775617264696160448201527f6e2063616e2073657420746865207265737065637465642067616d652074797060648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610843565b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b6123056117bb565b1561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f7074696d69736d506f7274616c3a20706175736564000000000000000000006044820152606401610843565b6123768133610a30565b50565b6000612386826010615a20565b61239290615208615a50565b92915050565b603c60205281600052604060002081815481106123b457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b600054610100900460ff16158080156123fd5750600054600160ff909116105b806124175750303b158015612417575060005460ff166001145b6124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610843565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561250157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166125ba57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6125c2612a81565b8015610d0957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60015460009061267c907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643615a09565b90506000612688612b94565b90506000816020015160ff16826000015163ffffffff166126a99190615aab565b905082156127e0576001546000906126e0908390700100000000000000000000000000000000900467ffffffffffffffff16615b13565b90506000836040015160ff16836126f79190615b87565b6001546127179084906fffffffffffffffffffffffffffffffff16615b87565b6127219190615aab565b6001549091506000906127729061274b9084906fffffffffffffffffffffffffffffffff16615c43565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16612c55565b905060018611156127a15761279e61274b82876040015160ff1660018a6127999190615a09565b612c74565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090612813908490700100000000000000000000000000000000900467ffffffffffffffff16615a50565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1613156128f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5265736f757263654d65746572696e673a2063616e6e6f7420627579206d6f7260448201527f6520676173207468616e20617661696c61626c6520676173206c696d697400006064820152608401610843565b600154600090612922906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615cb7565b9050600061293448633b9aca00612cc9565b61293e9083615cf4565b905060005a61294d9088615a09565b905080821115612969576129696129648284615a09565b612ce0565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976129a3979096959101615d08565b604051602081830303815290604052805190602001209050919050565b60008060006129d0866000612d0e565b905080612a06576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016129a3949392919093845260208401929092526040830152606082015260800190565b600080612a6986612d2c565b9050612a7781868686612d5e565b9695505050505050565b600054610100900460ff16612b18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610843565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff166000036122fb5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da29190615d75565b6000612c6a612c648585612d8e565b83612d9e565b90505b9392505050565b6000670de0b6b3a7640000612cb5612c8c8583615aab565b612c9e90670de0b6b3a7640000615b13565b612cb085670de0b6b3a7640000615b87565b612dad565b612cbf9086615b87565b612c6a9190615aab565b600081831015612cd95781612c6d565b5090919050565b6000805a90505b825a612cf39083615a09565b1015612d0957612d0282615e31565b9150612ce7565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60608180519060200120604051602001612d4891815260200190565b6040516020818303038152906040529050919050565b6000612d8584612d6f878686612dde565b8051602091820120825192909101919091201490565b95945050505050565b600081831215612cd95781612c6d565b6000818312612cd95781612c6d565b6000612c6d670de0b6b3a764000083612dc58661385c565b612dcf9190615b87565b612dd99190615aab565b613aa0565b60606000845111612e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610843565b6000612e5684613cdf565b90506000612e6386613dcb565b9050600084604051602001612e7a91815260200190565b60405160208183030381529060405290506000805b84518110156137d3576000858281518110612eac57612eac615e69565b602002602001015190508451831115612f47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610843565b826000036130005780518051602091820120604051612f9592612f6f92910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610843565b613157565b8051516020116130b6578051805160209182012060405161302a92612f6f92910190815260200190565b612ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610843565b805184516020808701919091208251919092012014613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610843565b61316360106001615e98565b8160200151510361333f57845183036132d75761319d816020015160108151811061319057613190615e69565b6020026020010151613e2e565b96506000875111613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610843565b6001865161323e9190615a09565b82146132cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610843565b505050505050612c6d565b60008584815181106132eb576132eb615e69565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061331657613316615e69565b6020026020010151905061332981613f8e565b9550613336600186615e98565b945050506137c0565b60028160200151510361373857600061335782613fb3565b905060008160008151811061336e5761336e615e69565b016020015160f81c90506000613385600283615eb0565b613390906002615ed2565b905060006133a1848360ff16613fd7565b905060006133af8a89613fd7565b905060006133bd838361400d565b90508083511461344f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610843565b60ff851660021480613464575060ff85166003145b1561365357808251146134f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610843565b613513876020015160018151811061319057613190615e69565b9c5060008d51116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610843565b60018c516135b49190615a09565b8814613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610843565b505050505050505050505050612c6d565b60ff85161580613666575060ff85166001145b156136a557613692876020015160018151811061368557613685615e69565b6020026020010151613f8e565b995061369e818a615e98565b985061372d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610843565b5050505050506137c0565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610843565b50806137cb81615e31565b915050612e8f565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610843565b60008082136138c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b600060606138d4846140c1565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213613ad157506000919050565b680755bf798b4a1bf1e58212613b43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610843565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff811115613cfd57613cfd6151e4565b604051908082528060200260200182016040528015613d4257816020015b6040805180820190915260608082526020820152815260200190600190039081613d1b5790505b50915060005b81811015613dc4576040518060400160405280858381518110613d6d57613d6d615e69565b60200260200101518152602001613d9c868481518110613d8f57613d8f615e69565b6020026020010151614197565b815250838281518110613db157613db1615e69565b6020908102919091010152600101613d48565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613e23578060011b82018184015160001a8060041c8253600f811660018301535050600101613df5565b509295945050505050565b60606000806000613e3e856141aa565b919450925090506000816001811115613e5957613e596158af565b14613ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610843565b613ef08284615e98565b855114613f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610843565b612d8585602001518484614c17565b60606020826000015110613faa57613fa582613e2e565b612392565b61239282614cab565b6060612392613fd2836020015160008151811061319057613190615e69565b613dcb565b606082518210613ff65750604080516020810190915260008152612392565b612c6d83838486516140089190615a09565b614cc1565b6000808251845110614020578251614023565b83515b90505b80821080156140aa575082828151811061404257614042615e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191684838151811061408157614081615e69565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156140ba57816001019150614026565b5092915050565b600080821161412c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610843565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b60606123926141a583614e99565b614f82565b600080600080846000015111614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b6020840151805160001a607f811161428d576000600160009450945094505050614c10565b60b7811161449b5760006142a2608083615a09565b90508087600001511161435d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610843565b6001838101517fff000000000000000000000000000000000000000000000000000000000000001690821415806143d657507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b614488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610843565b5060019550935060009250614c10915050565b60bf81116147e95760006144b060b783615a09565b90508087600001511161456b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c6037811161470d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610843565b6147178184615e98565b8951116147cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610843565b6147d7836001615e98565b9750955060009450614c109350505050565b60f781116148ca5760006147fe60c083615a09565b9050808760000151116148b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b600195509350849250614c10915050565b60006148d760f783615a09565b905080876000015111614992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610843565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003614a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610843565b600184015160088302610100031c60378111614b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610843565b614b3e8184615e98565b895111614bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610843565b614bfe836001615e98565b9750955060019450614c109350505050565b9193909250565b60608167ffffffffffffffff811115614c3257614c326151e4565b6040519080825280601f01601f191660200182016040528015614c5c576020820181803683370190505b5090508115612c6d576000614c718486615e98565b90506020820160005b84811015614c92578281015182820152602001614c7a565b84811115614ca1576000858301525b5050509392505050565b6060612392826020015160008460000151614c17565b60608182601f011015614d30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b828284011015614d9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610843565b81830184511015614e09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610843565b606082158015614e285760405191506000825260208201604052614e90565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015614e61578051835260209283019201614e49565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b60408051808201909152600080825260208201526000825111614f64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610843565b50604080518082019091528151815260209182019181019190915290565b60606000806000614f92856141aa565b919450925090506001816001811115614fad57614fad6158af565b1461503a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610843565b84516150468385615e98565b146150d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610843565b604080516020808252610420820190925290816020015b60408051808201909152600080825260208201528152602001906001900390816150ea5790505093506000835b86518110156151d85760008061515d6040518060400160405280858c600001516151419190615a09565b8152602001858c602001516151569190615e98565b90526141aa565b5091509150604051806040016040528083836151799190615e98565b8152602001848b6020015161518e9190615e98565b8152508885815181106151a3576151a3615e69565b60209081029190910101526151b9600185615e98565b93506151c58183615e98565b6151cf9084615e98565b92505050615117565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561525a5761525a6151e4565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461237657600080fd5b600082601f83011261529557600080fd5b813567ffffffffffffffff8111156152af576152af6151e4565b6152e060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615213565b8181528460208386010111156152f557600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561532457600080fd5b60405160c0810167ffffffffffffffff8282108183111715615348576153486151e4565b81604052829350843583526020850135915061536382615262565b8160208401526040850135915061537982615262565b816040840152606085013560608401526080850135608084015260a08501359150808211156153a757600080fd5b506153b485828601615284565b60a0830152505092915050565b600080604083850312156153d457600080fd5b823567ffffffffffffffff8111156153eb57600080fd5b6153f785828601615312565b925050602083013561540881615262565b809150509250929050565b60006020828403121561542557600080fd5b8135612c6d81615262565b600080600080600085870360e081121561544957600080fd5b863567ffffffffffffffff8082111561546157600080fd5b61546d8a838b01615312565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0840112156154a657600080fd5b60408901955060c08901359250808311156154c057600080fd5b828901925089601f8401126154d457600080fd5b82359150808211156154e557600080fd5b508860208260051b84010111156154fb57600080fd5b959894975092955050506020019190565b60006020828403121561551e57600080fd5b5035919050565b60005b83811015615540578181015183820152602001615528565b83811115610d095750506000910152565b60008151808452615569816020860160208601615525565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612c6d6020830184615551565b600080604083850312156155c157600080fd5b82359150602083013561540881615262565b63ffffffff8116811461237657600080fd5b6000602082840312156155f757600080fd5b8135612c6d816155d3565b60006020828403121561561457600080fd5b813567ffffffffffffffff81111561562b57600080fd5b61563784828501615312565b949350505050565b67ffffffffffffffff8116811461237657600080fd5b60006020828403121561566757600080fd5b8135612c6d8161563f565b6000806040838503121561568557600080fd5b50508035926020909101359150565b6000806000606084860312156156a957600080fd5b83356156b481615262565b925060208401356156c481615262565b915060408401356156d481615262565b809150509250925092565b801515811461237657600080fd5b600080600080600060a0868803121561570557600080fd5b853561571081615262565b94506020860135935060408601356157278161563f565b92506060860135615737816156df565b9150608086013567ffffffffffffffff81111561575357600080fd5b61575f88828901615284565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b6048820152600082516157c0816049850160208701615525565b919091016049019695505050505050565b6000602082840312156157e357600080fd5b8151612c6d81615262565b60008060006060848603121561580357600080fd5b835161580e816155d3565b602085015190935061581f8161563f565b60408501519092506156d481615262565b60006020828403121561584257600080fd5b5051919050565b60006080828403121561585b57600080fd5b6040516080810181811067ffffffffffffffff8211171561587e5761587e6151e4565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156158f057600080fd5b815160038110612c6d57600080fd5b60006020828403121561591157600080fd5b8151612c6d816155d3565b600067ffffffffffffffff80841115615937576159376151e4565b8360051b6020615948818301615213565b86815291850191818101903684111561596057600080fd5b865b848110156159945780358681111561597a5760008081fd5b61598636828b01615284565b845250918301918301615962565b50979650505050505050565b6000602082840312156159b257600080fd5b8151612c6d816156df565b6000602082840312156159cf57600080fd5b8151612c6d8161563f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015615a1b57615a1b6159da565b500390565b600067ffffffffffffffff80831681851681830481118215151615615a4757615a476159da565b02949350505050565b600067ffffffffffffffff808316818516808303821115615a7357615a736159da565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615aba57615aba615a7c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615b0e57615b0e6159da565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615615b4d57615b4d6159da565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615615b8157615b816159da565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615615bc857615bc86159da565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615615c0357615c036159da565b60008712925087820587128484161615615c1f57615c1f6159da565b87850587128184161615615c3557615c356159da565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615615c7d57615c7d6159da565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615615cb157615cb16159da565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615cef57615cef6159da565b500290565b600082615d0357615d03615a7c565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152615d5360c0830184615551565b98975050505050505050565b805160ff81168114615d7057600080fd5b919050565b600060c08284031215615d8757600080fd5b60405160c0810181811067ffffffffffffffff82111715615daa57615daa6151e4565b6040528251615db8816155d3565b8152615dc660208401615d5f565b6020820152615dd760408401615d5f565b60408201526060830151615dea816155d3565b60608201526080830151615dfd816155d3565b608082015260a08301516fffffffffffffffffffffffffffffffff81168114615e2557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615e6257615e626159da565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115615eab57615eab6159da565b500190565b600060ff831680615ec357615ec3615a7c565b8060ff84160691505092915050565b600060ff821660ff841680821015615eec57615eec6159da565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1269:25082:131:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9861:86;9880:10;9892:9;2311:7;9930:5;9937:9;;;;;;;;;;;;9861:18;:86::i;:::-;1269:25082;;;;;3402:32;;;;;;;;;;-1:-1:-1;3402:32:131;;;;;;;;;;;212:42:350;200:55;;;182:74;;170:2;155:18;3402:32:131;;;;;;;;3115:40;;;;;;;;;;-1:-1:-1;3115:40:131;;;;;;;;;;;4000:33;;;;;;;;;;-1:-1:-1;4000:33:131;;;;;;;;;;;729:10:350;717:23;;;699:42;;687:2;672:18;4000:33:131;524:223:350;16081:2424:131;;;;;;;;;;-1:-1:-1;16081:2424:131;;;;;:::i;:::-;;:::i;8201:101::-;;;;;;;;;;;;;:::i;3851:57::-;;;;;;;;;;-1:-1:-1;3851:57:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4255:14:350;;4248:22;4230:41;;4218:2;4203:18;3851:57:131;4090:187:350;11063:4516:131;;;;;;;;;;-1:-1:-1;11063:4516:131;;;;;:::i;:::-;;:::i;4121:40::-;;;;;;;;;;-1:-1:-1;4121:40:131;;;;;;;;;;;;;;5636:18:350;5624:31;;;5606:50;;5594:2;5579:18;4121:40:131;5462:200:350;26201:148:131;;;;;;;;;;-1:-1:-1;26201:148:131;;;;;:::i;:::-;26277:7;26303:32;;;:15;:32;;;;;:39;;26201:148;;;;5998:25:350;;;5986:2;5971:18;26201:148:131;5852:177:350;:40:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8362:94::-;;;;;;;;;;;;;:::i;22468:3510::-;;;;;;;;;;-1:-1:-1;22468:3510:131;;;;;:::i;:::-;;:::i;7862:86::-;;;;;;;;;;;;;:::i;21385:232::-;;;;;;;;;;-1:-1:-1;21385:232:131;;;;;:::i;:::-;;:::i;21864:279::-;;;;;;;;;;-1:-1:-1;21864:279:131;;;;;:::i;:::-;;:::i;15692:178::-;;;;;;;;;;-1:-1:-1;15692:178:131;;;;;:::i;:::-;;:::i;8700:132::-;;;;;;;;;;-1:-1:-1;8790:35:131;8700:132;;2574:23;;;;;;;;;;-1:-1:-1;2574:23:131;;;;;;;;2688:52;;;;;;;;;;-1:-1:-1;2688:52:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;9325:120;;;;;;;;;;-1:-1:-1;9325:120:131;;;;;:::i;:::-;;:::i;4274:52::-;;;;;;;;;;-1:-1:-1;4274:52:131;;;;;:::i;:::-;;:::i;3671:81::-;;;;;;;;;;-1:-1:-1;3671:81:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8858:42:350;8846:55;;;8828:74;;8950:18;8938:31;;;8933:2;8918:18;;8911:59;8801:18;3671:81:131;8634:342:350;8515:119:131;;;;;;;;;;-1:-1:-1;8599:28:131;8515:119;;6764:469;;;;;;;;;;-1:-1:-1;6764:469:131;;;;;:::i;:::-;;:::i;2999:28:133:-;;;;;;;;;;-1:-1:-1;2999:28:133;;;;;;;;;;;;;;;;;;;;;;;;;9819:34:350;9807:47;;;9789:66;;9874:18;9928:15;;;9923:2;9908:18;;9901:43;9980:15;;9960:18;;;9953:43;9777:2;9762:18;2999:28:133;9591:411:350;19235:1971:131;;;;;;:::i;:::-;;:::i;7511:98::-;;;;;;;;;;-1:-1:-1;7590:12:131;;;;7511:98;;3525:44;;;;;;;;;;-1:-1:-1;3525:44:131;;;;;;;;19235:1971;19441:9;3417:18:133;3438:9;3417:30;;19595:11:131::1;19591:136;;;19630:17;::::0;::::1;::::0;19622:94:::1;;;::::0;;::::1;::::0;;11395:2:350;19622:94:131::1;::::0;::::1;11377:21:350::0;11414:18;;;11407:30;;;;11473:34;11453:18;;;11446:62;11544:34;11524:18;;;11517:62;11596:19;;19622:94:131::1;;;;;;;;;19895:37;19918:5;:12;19895:15;:37::i;:::-;19882:50;;:9;:50;;;;19874:98;;;::::0;::::1;::::0;;11828:2:350;19874:98:131::1;::::0;::::1;11810:21:350::0;11867:2;11847:18;;;11840:30;11906:34;11886:18;;;11879:62;11977:5;11957:18;;;11950:33;12000:19;;19874:98:131::1;11626:399:350::0;19874:98:131::1;20367:7;20351:5;:12;:23;;20343:66;;;::::0;::::1;::::0;;12232:2:350;20343:66:131::1;::::0;::::1;12214:21:350::0;12271:2;12251:18;;;12244:30;12310:32;12290:18;;;12283:60;12360:18;;20343:66:131::1;12030:354:350::0;20343:66:131::1;20515:10;20553:9;20539:23:::0;::::1;20535:108;;-1:-1:-1::0;20621:10:131::1;741:42:232::0;1213:27;20535:108:131::1;20900:23;20943:9;20954:6;20962:9;20973:11;20986:5;20926:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20900:92;;2161:1;21166:3;21139:60;;21160:4;21139:60;;;21188:10;21139:60;;;;;;:::i;:::-;;;;;;;;19456:1750;;3548:29:133::0;3557:7;3566:10;3548:8;:29::i;:::-;3339:245;19235:1971:131;;;;;;:::o;16081:2424::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;16527:8:::1;::::0;:39:::1;:8;1338:42:188;16527:39:131;16506:137;;;::::0;::::1;::::0;;13812:2:350;16506:137:131::1;::::0;::::1;13794:21:350::0;13851:2;13831:18;;;13824:30;13890:34;13870:18;;;13863:62;13961:33;13941:18;;;13934:61;14012:19;;16506:137:131::1;13610:427:350::0;16506:137:131::1;16694:22;16719:27;16742:3;16719:22;:27::i;:::-;16694:52;;16812:48;16828:14;16844:15;16812;:48::i;:::-;16940:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;16979:4;16940:43;::::0;;17088:10;;::::1;::::0;17077:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;17757:10;::::1;::::0;17769:12:::1;::::0;::::1;::::0;17783:9:::1;::::0;::::1;::::0;17794:8:::1;::::0;::::1;::::0;17733:70:::1;::::0;17757:10;17769:12;17783:9;17733:23:::1;:70::i;:::-;17871:8;:38:::0;;;::::1;1338:42:188;17871:38:131;::::0;;18068:44:::1;::::0;17718:85;;-1:-1:-1;18088:14:131;;18068:44:::1;::::0;::::1;::::0;17718:85;4255:14:350;4248:22;4230:41;;4218:2;4203:18;;4090:187;18068:44:131::1;;;;;;;;18377:7;18376:8;:53;;;;-1:-1:-1::0;18388:9:131::1;1016:1:188;18388:41:131;18376:53;18372:127;;;18445:43;::::0;::::1;::::0;;14244:2:350;18445:43:131::1;::::0;::::1;14226:21:350::0;14283:2;14263:18;;;14256:30;14322:34;14302:18;;;14295:62;14393:3;14373:18;;;14366:31;14414:19;;18445:43:131::1;14042:397:350::0;18372:127:131::1;16261:2244;;16081:2424:::0;;:::o;8201:101::-;8242:7;8268:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8261:34;;8201:101;:::o;11063:4516::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;11598:4:::1;11576:27;;:3;:10;;;:27;;::::0;11568:103:::1;;;::::0;::::1;::::0;;14902:2:350;11568:103:131::1;::::0;::::1;14884:21:350::0;14941:2;14921:18;;;14914:30;14980:34;14960:18;;;14953:62;15051:33;15031:18;;;15024:61;15102:19;;11568:103:131::1;14700:427:350::0;11568:103:131::1;11809:18;::::0;:49:::1;::::0;;;;::::1;::::0;::::1;5998:25:350::0;;;11763:17:131::1;::::0;;;11809:18:::1;::::0;;::::1;::::0;:30:::1;::::0;5971:18:350;;11809:49:131::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11762:96;;;;;11868:16;11887:9;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12023:17;::::0;11868:40;;-1:-1:-1;12005:41:131::1;::::0;;;;;::::1;11997:87;;;::::0;::::1;::::0;;16178:2:350;11997:87:131::1;::::0;::::1;16160:21:350::0;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;11997:87:131::1;15976:397:350::0;11997:87:131::1;12224:45;;;::::0;;::::1;::::0;::::1;12252:16:::0;12224:45:::1;:::i;:::-;:27;:45::i;:::-;12204:10:::0;:65:::1;12183:153;;;::::0;::::1;::::0;;17233:2:350;12183:153:131::1;::::0;::::1;17215:21:350::0;17272:2;17252:18;;;17245:30;17311:34;17291:18;;;17284:62;17382:11;17362:18;;;17355:39;17411:19;;12183:153:131::1;17031:405:350::0;12183:153:131::1;12447:22;12472:27;12495:3;12472:22;:27::i;:::-;12509:40;12552:33:::0;;;:17:::1;:33;::::0;;;;;;;12586:10:::1;12552:45:::0;;;;;;;;12509:88;;;;::::1;::::0;;;;12552:45:::1;12509:88:::0;::::1;::::0;;;;::::1;;;::::0;;::::1;::::0;12552:33;;-1:-1:-1;12509:88:131;12769:9:::1;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;;;;;:::i;:::-;::::0;12748:153:::1;;;::::0;::::1;::::0;;18113:2:350;12748:153:131::1;::::0;::::1;18095:21:350::0;18152:2;18132:18;;;18125:30;18191:34;18171:18;;;18164:62;18262:28;18242:18;;;18235:56;18308:19;;12748:153:131::1;17911:422:350::0;12748:153:131::1;13463:33:::0;;13527:26:::1;::::0;::::1;::::0;:31:::1;;::::0;;:81:::1;;-1:-1:-1::0;13582:26:131::1;13562:7;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;;;;;;:::i;:::-;;13527:81;:130;;;-1:-1:-1::0;13628:29:131::1;::::0;::::1;;::::0;;;:20:::1;:29;::::0;;;;;::::1;;13527:130;:185;;;-1:-1:-1::0;13689:17:131::1;::::0;::::1;;13661:51;;:24;:7;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;5035:9:172::0;4916:144;13661:24:131::1;:51;;;;13527:185;13506:328;;;::::0;::::1;::::0;;18848:2:350;13506:328:131::1;::::0;::::1;18830:21:350::0;18887:2;18867:18;;;18860:30;18926:34;18906:18;;;18899:62;18997:34;18977:18;;;18970:62;19069:34;19048:19;;;19041:63;19121:19;;13506:328:131::1;18646:500:350::0;13506:328:131::1;14114:147;::::0;;::::1;::::0;::::1;19325:25:350::0;;;14070:18:131::1;19366::350::0;;;19359:34;;;19298:18;;14114:147:131::1;::::0;;;;;::::1;::::0;;;;;;14091:180;;14114:147:::1;14091:180:::0;;::::1;::::0;14679:22;;::::1;5998:25:350::0;;;14091:180:131;-1:-1:-1;14624:161:131::1;::::0;5971:18:350;14679:22:131::1;::::0;;;;;::::1;::::0;;;14624:161;;::::1;::::0;;;::::1;::::0;;::::1;14679:22;14624:161:::0;::::1;::::0;14679:22;14624:161:::1;14712:16:::0;;14624:161:::1;:::i;:::-;14730:16;:41;;;14624:37;:161::i;:::-;14603:258;;;::::0;::::1;::::0;;20727:2:350;14603:258:131::1;::::0;::::1;20709:21:350::0;20766:2;20746:18;;;20739:30;20805:34;20785:18;;;20778:62;20876:20;20856:18;;;20849:48;20914:19;;14603:258:131::1;20525:414:350::0;14603:258:131::1;15219:85;;;;;;;;15256:9;15219:85;;;;;;15285:15;15219:85;;;;::::0;15159:17:::1;:33;15177:14;15159:33;;;;;;;;;;;:45;15193:10;15159:45;;;;;;;;;;;;;;;:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15409:3;:10;;;15364:56;;15397:3;:10;;;15364:56;;15381:14;15364:56;;;;;;;;;;-1:-1:-1::0;;;15524:31:131::1;::::0;;;:15:::1;:31;::::0;;;;;;:48;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;::::1;15561:10;15524:48;::::0;;-1:-1:-1;;;;;;;;11063:4516:131:o;8362:94::-;8401:4;8424:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22468:3510::-;22565:40;22608:34;;;:17;:34;;;;;;;;:51;;;;;;;;;;;;22565:94;;;;;;;;;;;;;;;;;;;;;;;;;22807:38;;;:20;:38;;;;;;22565:94;;;22807:38;;22806:39;22798:101;;;;;;;21396:2:350;22798:101:131;;;21378:21:350;21435:2;21415:18;;;21408:30;21474:34;21454:18;;;21447:62;21545:19;21525:18;;;21518:47;21582:19;;22798:101:131;21194:413:350;22798:101:131;23162:16;:26;;;:31;;23192:1;23162:31;23141:155;;;;;;;21814:2:350;23141:155:131;;;21796:21:350;21853:2;21833:18;;;21826:30;21892:34;21872:18;;;21865:62;21963:34;21943:18;;;21936:62;22035:15;22014:19;;;22007:44;22068:19;;23141:155:131;21612:481:350;23141:155:131;23307:16;23326:34;:16;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;5035:9:172;4916:144;23326:34:131;23307:53;;23674:9;23645:38;;:16;:26;;;:38;;;23624:163;;;;;;;22586:2:350;23624:163:131;;;22568:21:350;22625:2;22605:18;;;22598:30;22664:34;22644:18;;;22637:62;22735:34;22715:18;;;22708:62;22807:16;22786:19;;;22779:45;22841:19;;23624:163:131;22384:482:350;23624:163:131;23966:28;23937:16;:26;;;23919:44;;:15;:44;;;;:::i;:::-;:75;23898:175;;;;;;;23392:2:350;23898:175:131;;;23374:21:350;23431:2;23411:18;;;23404:30;23470:34;23450:18;;;23443:62;23541:23;23521:18;;;23514:51;23582:19;;23898:175:131;23190:417:350;23898:175:131;24406:24;24377:16;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;;;;;:::i;:::-;;24356:154;;;;;;;23814:2:350;24356:154:131;;;23796:21:350;23853:2;23833:18;;;23826:30;23892:34;23872:18;;;23865:62;23963:24;23943:18;;;23936:52;24005:19;;24356:154:131;23612:418:350;24356:154:131;24820:17;;;;24783:60;;:33;:16;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:33;:60;;;24775:106;;;;;;;16178:2:350;24775:106:131;;;16160:21:350;16217:2;16197:18;;;16190:30;16256:34;16236:18;;;16229:62;16327:3;16307:18;;;16300:31;16348:19;;24775:106:131;15976:397:350;24775:106:131;25156:26;;;;;;;;;25143:39;;;;;25122:161;;;;;;;24237:2:350;25122:161:131;;;24219:21:350;24276:2;24256:18;;;24249:30;24315:34;24295:18;;;24288:62;24386:34;24366:18;;;24359:62;24458:13;24437:19;;;24430:42;24489:19;;25122:161:131;24035:479:350;25122:161:131;25656:35;25618;:16;:27;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:35;25600:53;;;;:15;:53;:::i;:::-;:91;25579:180;;;;;;;24721:2:350;25579:180:131;;;24703:21:350;24760:2;24740:18;;;24733:30;24799:34;24779:18;;;24772:62;24870:12;24850:18;;;24843:40;24900:19;;25579:180:131;24519:406:350;25579:180:131;25876:37;;;;:20;:37;;;;;;;;25875:38;25867:104;;;;;;;25132:2:350;25867:104:131;;;25114:21:350;25171:2;25151:18;;;25144:30;25210:34;25190:18;;;25183:62;25281:23;25261:18;;;25254:51;25322:19;;25867:104:131;24930:417:350;25867:104:131;22555:3423;;;22468:3510;;:::o;7862:86::-;7905:7;7931:10;:8;:10::i;21385:232::-;21483:10;:8;:10::i;:::-;21469:24;;:10;:24;;;21461:98;;;;;;;25554:2:350;21461:98:131;;;25536:21:350;25593:2;25573:18;;;25566:30;25632:34;25612:18;;;25605:62;25703:31;25683:18;;;25676:59;25752:19;;21461:98:131;25352:425:350;21461:98:131;21569:34;;;;;;:20;:34;;;;;:41;;;;21606:4;21569:41;;;21385:232::o;21864:279::-;21955:10;:8;:10::i;:::-;21941:24;;:10;:24;;;21933:102;;;;;;;25984:2:350;21933:102:131;;;25966:21:350;26023:2;26003:18;;;25996:30;26062:34;26042:18;;;26035:62;26133:34;26113:18;;;26106:62;26205:3;26184:19;;;26177:32;26226:19;;21933:102:131;25782:469:350;21933:102:131;22045:17;:29;;;;;;;22084:52;;;;;;;;;22120:15;22084:52;;;;;;21864:279::o;10168:77::-;:::o;15692:178::-;5730:8;:6;:8::i;:::-;5729:9;5721:44;;;;;;;13461:2:350;5721:44:131;;;13443:21:350;13500:2;13480:18;;;13473:30;13539:24;13519:18;;;13512:52;13581:18;;5721:44:131;13259:346:350;5721:44:131;15804:59:::1;15847:3;15852:10;15804:42;:59::i;:::-;15692:178:::0;:::o;9325:120::-;9390:6;9415:15;:10;9428:2;9415:15;:::i;:::-;:23;;9433:5;9415:23;:::i;:::-;9408:30;9325:120;-1:-1:-1;;9325:120:131:o;4274:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4274:52:131;;-1:-1:-1;4274:52:131:o;6764:469::-;3100:19:41;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:41;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:41;1465:19:57;:23;;;3208:55:41;;-1:-1:-1;3246:12:41;;;;;:17;3208:55;3146:190;;;;;;;26974:2:350;3146:190:41;;;26956:21:350;27013:2;26993:18;;;26986:30;27052:34;27032:18;;;27025:62;27123:16;27103:18;;;27096:44;27157:19;;3146:190:41;26772:410:350;3146:190:41;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;6967:18:131::1;:40:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;7017:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7055:16:::1;:36:::0;;;::::1;6967:40;7055:36:::0;;::::1;;;::::0;;7105:8:::1;::::0;::::1;7101:91;;7143:8;:38:::0;;;::::1;1338:42:188;7143:38:131;::::0;;7101:91:::1;7201:25;:23;:25::i;:::-;3461:14:41::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;27339:36:350;;3531:14:41;;27327:2:350;27312:18;3531:14:41;;;;;;;3090:472;6764:469:131;;;:::o;1175:320:57:-;1465:19;;;:23;;;1175:320::o;3817:4037:133:-;3984:6;:19;3949:17;;3969:34;;3984:19;;;;;3969:12;:34;:::i;:::-;3949:54;;4014:28;4045:17;:15;:17::i;:::-;4014:48;;4072:26;4171:6;:27;;;4163:36;;4128:6;:23;;;4120:32;;4113:87;;;;:::i;:::-;4072:128;-1:-1:-1;4215:13:133;;4211:2229;;4572:6;:20;4535:19;;4557:59;;4597:19;;4572:20;;;;;4557:59;:::i;:::-;4535:81;;4630:19;4761:6;:34;;;4753:43;;4724:19;:73;;;;:::i;:::-;4668:6;:18;4653:50;;4691:12;;4668:18;;4653:50;:::i;:::-;4652:146;;;;:::i;:::-;5017:6;:18;4630:168;;-1:-1:-1;4939:17:133;;4959:232;;5002:50;;4630:168;;5017:18;;5002:50;:::i;:::-;5091:6;:21;;;5083:30;;5153:6;:21;;;5145:30;;4959:16;:232::i;:::-;4939:252;;5468:1;5456:9;:13;5452:741;;;5741:437;5788:239;5845:10;5910:6;:34;;;5902:43;;6002:1;5990:9;:13;;;;:::i;:::-;5788:16;:239::i;5741:437::-;5728:450;;5452:741;6286:49;;6387:42;6349:24;6416:12;6387:42;;;6286:6;6387:42;-1:-1:-1;;4211:2229:133;6534:6;:31;;6558:7;;6534:6;:20;;:31;;6558:7;;6534:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6652:6;:23;;;6644:32;;6611:6;:20;;;;;;;;;;;;6603:29;;6596:81;;6575:190;;;;;;;29496:2:350;6575:190:133;;;29478:21:350;29535:2;29515:18;;;29508:30;29574:34;29554:18;;;29547:62;29645:32;29625:18;;;29618:60;29695:19;;6575:190:133;29294:426:350;6575:190:133;6877:6;:18;6827:20;;6850:46;;6877:18;;6850:16;;;:46;:::i;:::-;6827:69;;7378:15;7411:31;7420:13;7435:6;7411:8;:31::i;:::-;7396:46;;:12;:46;:::i;:::-;7378:64;;7722:15;7754:9;7740:23;;:11;:23;:::i;:::-;7722:41;;7787:7;7777;:17;7773:75;;;7810:27;7819:17;7829:7;7819;:17;:::i;:::-;7810:8;:27::i;:::-;3881:3973;;;;;;3817:4037;;:::o;4456:211:192:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;4419:2320:195:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:195:o;4961:384:192:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;30975:25:350;;;31031:2;31016:18;;31009:34;;;;31074:2;31059:18;;31052:34;31117:2;31102:18;;31095:34;30962:3;30947:19;;30744:391;1041:343:201;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:201:o;8309:234:133:-;4888:13:41;;;;;;;4880:69;;;;;;;31342:2:350;4880:69:41;;;31324:21:350;31381:2;31361:18;;;31354:30;31420:34;31400:18;;;31393:62;31491:13;31471:18;;;31464:41;31522:19;;4880:69:41;31140:407:350;4880:69:41;8384:6:133::1;:19:::0;;;::::1;;;;:24:::0;8380:157:::1;;8433:93;::::0;;::::1;::::0;::::1;::::0;;8463:6:::1;8433:93:::0;;;-1:-1:-1;8433:93:133::1;::::0;::::1;::::0;8510:12:::1;8433:93;;::::0;;;;;;;8424:102;::::1;;:6;:102:::0;8309:234::o;10494:152:131:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10610:12:131;;:29;;;;;;;-1:-1:-1;;10610:12:131;;;;;:27;;:29;;;;;-1:-1:-1;;10610:29:131;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:184:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:67:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:67;;490:21;-1:-1:-1;413:105:67:o;407:192:185:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;3615:365:195:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:195:o;2052:142:201:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;2154:33:201;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:200:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:200;2473:54;2253:281;-1:-1:-1;;;;;2253:281:200:o;311:102:69:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:102;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:200:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;33514:2:350;2954:49:200;;;33496:21:350;33553:2;33533:18;;;33526:30;33592:23;33572:18;;;33565:51;33633:18;;2954:49:200;33312:345:350;2954:49:200;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;33254:19:350;;33298:2;33289:12;;33125:182;3148:23:200;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;34053:2:350;3489:88:200;;;34035:21:350;34092:2;34072:18;;;34065:30;34131:34;34111:18;;;34104:62;34202:16;34182:18;;;34175:44;34236:19;;3489:88:200;33851:410:350;3489:88:200;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;33254:19:350;;;33298:2;33289:12;;33125:182;3741:48:200;;;;;;;;;;;;;3791:13;6693:17:186;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:200;3700:176;;;;;;;34468:2:350;3700:176:200;;;34450:21:350;34507:2;34487:18;;;34480:30;34546:31;34526:18;;;34519:59;34595:18;;3700:176:200;34266:353:350;3700:176:200;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:200;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;33254:19:350;;;33298:2;33289:12;;33125:182;4058:76:200;4029:186;;;;;;;34826:2:350;4029:186:200;;;34808:21:350;34865:2;34845:18;;;34838:30;34904:34;34884:18;;;34877:62;34975:9;34955:18;;;34948:37;35002:19;;4029:186:200;34624:403:350;3897:532:200;4336:19;;6693:17:186;;;;;;;;;;6672;;;;;;;:38;4316:98:200;;;;;;;35234:2:350;4316:98:200;;;35216:21:350;35273:2;35253:18;;;35246:30;35312:34;35292:18;;;35285:62;35383:8;35363:18;;;35356:36;35409:19;;4316:98:200;35032:402:350;4316:98:200;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;35774:2:350;5121:89:200;;;35756:21:350;35813:2;35793:18;;;35786:30;35852:34;35832:18;;;35825:62;35923:29;35903:18;;;35896:57;35970:19;;5121:89:200;35572:423:350;5121:89:200;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;36202:2:350;5294:92:200;;;36184:21:350;36241:2;36221:18;;;36214:30;36280:34;36260:18;;;36253:62;36351:28;36331:18;;;36324:56;36397:19;;5294:92:200;36000:422:350;5294:92:200;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:200;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:200;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;36991:2:350;6608:171:200;;;36973:21:350;37030:2;37010:18;;;37003:30;37069:34;37049:18;;;37042:62;37140:28;37120:18;;;37113:56;37186:19;;6608:171:200;36789:422:350;6608:171:200;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:200;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;37418:2:350;7442:185:200;;;37400:21:350;37457:2;37437:18;;;37430:30;37496:34;37476:18;;;37469:62;37567:31;37547:18;;;37540:59;37616:19;;7442:185:200;37216:425:350;7442:185:200;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;37848:2:350;8050:87:200;;;37830:21:350;37887:2;37867:18;;;37860:30;37926:34;37906:18;;;37899:62;37997:27;37977:18;;;37970:55;38042:19;;8050:87:200;37646:421:350;8050:87:200;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;38274:2:350;8221:90:200;;;38256:21:350;38313:2;38293:18;;;38286:30;38352:34;38332:18;;;38325:62;38423:26;38403:18;;;38396:54;38467:19;;8221:90:200;38072:420:350;8221:90:200;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:200;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:200;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;38699:2:350;8888:60:200;;;38681:21:350;38738:2;38718:18;;;38711:30;38777:34;38757:18;;;38750:62;38848:20;38828:18;;;38821:48;38886:19;;8888:60:200;38497:414:350;8372:595:200;5946:3035;;;;;;5881:3189;;;9005:50;;;;;39118:2:350;9005:50:200;;;39100:21:350;39157:2;39137:18;;;39130:30;39196:34;39176:18;;;39169:62;39267:10;39247:18;;;39240:38;39295:19;;9005:50:200;38916:404:350;5881:3189:200;-1:-1:-1;3328:3:200;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:200;;;;;39527:2:350;9090:47:200;;;39509:21:350;39566:2;39546:18;;;39539:30;39605:34;39585:18;;;39578:62;39676:7;39656:18;;;39649:35;39701:19;;9090:47:200;39325:401:350;4596:2947:102;4644:8;4700:1;4696;:5;4688:27;;;;;;;39933:2:350;4688:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;4688:27:102;39731:332:350;4688:27:102;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:102:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:102;;1487:3103;-1:-1:-1;1487:3103:102:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;40270:2:350;1971:22:102;;;40252:21:350;40309:2;40289:18;;;40282:30;40348:14;40328:18;;;40321:42;40380:18;;1971:22:102;40068:336:350;1939:54:102;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:102;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:102:o;9434:390:200:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:200;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:186:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:186;5695:12;5647:622;;;-1:-1:-1;6295:8:186;;4332:1978;-1:-1:-1;;;;;4332:1978:186:o;3993:464:198:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:198;-1:-1:-1;4084:83:198;-1:-1:-1;4198:21:198;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;40611:2:350;4178:103:198;;;40593:21:350;40650:2;40630:18;;;40623:30;40689:34;40669:18;;;40662:62;40760:27;40740:18;;;40733:55;40805:19;;4178:103:198;40409:421:350;4178:103:198;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;41037:2:350;4292:102:198;;;41019:21:350;41076:2;41056:18;;;41049:30;41115:34;41095:18;;;41088:62;41186:22;41166:18;;;41159:50;41226:19;;4292:102:198;40835:416:350;4292:102:198;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:200:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:186:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:186;;;;;;;;;-1:-1:-1;3954:9:186;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:200:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:102:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;39933:2:350;15397:27:102;;;39915:21:350;39972:1;39952:18;;;39945:29;40010:11;39990:18;;;39983:39;40039:18;;15397:27:102;39731:332:350;15397:27:102;-1:-1:-1;15821:1:102;15473:34;-1:-1:-1;;15467:1:102;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:102;;15328:575::o;3732:130:198:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;41458:2:350;5684:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;5684:101:198;41256:478:350;5684:101:198;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;41941:2:350;6209:140:198;;;41923:21:350;41980:2;41960:18;;;41953:30;42019:34;41999:18;;;41992:62;42090:34;42070:18;;;42063:62;42162:16;42141:19;;;42134:45;42196:19;;6209:140:198;41739:482:350;6209:140:198;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:198;;;;;;6544:41;6519:177;;;;;;;42428:2:350;6519:177:198;;;42410:21:350;42467:2;42447:18;;;42440:30;42506:34;42486:18;;;42479:62;42577:34;42557:18;;;42550:62;42649:15;42628:19;;;42621:44;42682:19;;6519:177:198;42226:481:350;6519:177:198;-1:-1:-1;6719:1:198;;-1:-1:-1;6722:6:198;-1:-1:-1;6730:21:198;;-1:-1:-1;6711:41:198;;-1:-1:-1;;6711:41:198;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;42914:2:350;6881:164:198;;;42896:21:350;42953:2;42933:18;;;42926:30;42992:34;42972:18;;;42965:62;43063:34;43043:18;;;43036:62;43135:19;43114;;;43107:48;43172:19;;6881:164:198;42712:485:350;6881:164:198;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;43404:2:350;7215:143:198;;;43386:21:350;43443:2;43423:18;;;43416:30;43482:34;43462:18;;;43455:62;43553:34;43533:18;;;43526:62;43625:12;43604:19;;;43597:41;43655:19;;7215:143:198;43202:478:350;7215:143:198;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;43887:2:350;7520:96:198;;;43869:21:350;43926:2;43906:18;;;43899:30;43965:34;43945:18;;;43938:62;44036:34;44016:18;;;44009:62;44108:10;44087:19;;;44080:39;44136:19;;7520:96:198;43685:476:350;7520:96:198;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;44368:2:350;7631:168:198;;;44350:21:350;44407:2;44387:18;;;44380:30;44446:34;44426:18;;;44419:62;44517:34;44497:18;;;44490:62;44589:14;44568:19;;;44561:43;44621:19;;7631:168:198;44166:480:350;7631:168:198;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:198;-1:-1:-1;7847:21:198;;-1:-1:-1;7814:55:198;;-1:-1:-1;;;;7814:55:198;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;44853:2:350;8049:107:198;;;44835:21:350;44892:2;44872:18;;;44865:30;44931:34;44911:18;;;44904:62;45002:34;44982:18;;;44975:62;45074:12;45053:19;;;45046:41;45104:19;;8049:107:198;44651:478:350;8049:107:198;8179:1;;-1:-1:-1;8182:7:198;-1:-1:-1;8179:1:198;;-1:-1:-1;8171:42:198;;-1:-1:-1;;8171:42:198;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;45336:2:350;8321:161:198;;;45318:21:350;45375:2;45355:18;;;45348:30;45414:34;45394:18;;;45387:62;45485:34;45465:18;;;45458:62;45557:15;45536:19;;;45529:44;45590:19;;8321:161:198;45134:481:350;8321:161:198;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;45822:2:350;8652:141:198;;;45804:21:350;45861:2;45841:18;;;45834:30;45900:34;45880:18;;;45873:62;45971:34;45951:18;;;45944:62;46043:10;46022:19;;;46015:39;46071:19;;8652:141:198;45620:476:350;8652:141:198;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;46303:2:350;8958:95:198;;;46285:21:350;46342:2;46322:18;;;46315:30;46381:34;46361:18;;;46354:62;46452:34;46432:18;;;46425:62;46524:8;46503:19;;;46496:37;46550:19;;8958:95:198;46101:474:350;8958:95:198;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;46782:2:350;9068:168:198;;;46764:21:350;46821:2;46801:18;;;46794:30;46860:34;46840:18;;;46833:62;46931:34;46911:18;;;46904:62;47003:12;46982:19;;;46975:41;47033:19;;9068:168:198;46580:478:350;9068:168:198;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:198;-1:-1:-1;9286:21:198;;-1:-1:-1;9251:57:198;;-1:-1:-1;;;;9251:57:198;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:198;-1:-1:-1;9705:25:198;-1:-1:-1;9740:54:198;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:186:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;47265:2:350;800:50:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;800:50:186;47063:338:350;800:50:186;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;47265:2:350;864:53:186;;;47247:21:350;47304:2;47284:18;;;47277:30;47343:16;47323:18;;;47316:44;47377:18;;864:53:186;47063:338:350;864:53:186;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;47608:2:350;931:63:186;;;47590:21:350;47647:2;47627:18;;;47620:30;47686:19;47666:18;;;47659:47;47723:18;;931:63:186;47406:341:350;931:63:186;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:186;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:186;-1:-1:-1;3460:9:186;660:2816;-1:-1:-1;;;;660:2816:186:o;1298:390:198:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:198;1440:3;:10;:14;1432:101;;;;;;;41458:2:350;1432:101:198;;;41440:21:350;41497:2;41477:18;;;41470:30;41536:34;41516:18;;;41509:62;41607:34;41587:18;;;41580:62;41679:12;41658:19;;;41651:41;41709:19;;1432:101:198;41256:478:350;1432:101:198;-1:-1:-1;1640:41:198;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:198;-1:-1:-1;1934:83:198;-1:-1:-1;2048:21:198;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;47954:2:350;2028:102:198;;;47936:21:350;47993:2;47973:18;;;47966:30;48032:34;48012:18;;;48005:62;48103:26;48083:18;;;48076:54;48147:19;;2028:102:198;47752:420:350;2028:102:198;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;48379:2:350;2141:100:198;;;48361:21:350;48418:2;48398:18;;;48391:30;48457:34;48437:18;;;48430:62;48528:20;48508:18;;;48501:48;48566:19;;2141:100:198;48177:414:350;2141:100:198;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:198;;;;;;;;;;;;;;-1:-1:-1;2644:37:198;-1:-1:-1;2692:17:198;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:198;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:198;;-1:-1:-1;3548:4:198;;1840:1740;-1:-1:-1;;;1840:1740:198:o;752:184:350:-;804:77;801:1;794:88;901:4;898:1;891:15;925:4;922:1;915:15;941:334;1012:2;1006:9;1068:2;1058:13;;1073:66;1054:86;1042:99;;1171:18;1156:34;;1192:22;;;1153:62;1150:88;;;1218:18;;:::i;:::-;1254:2;1247:22;941:334;;-1:-1:-1;941:334:350:o;1280:154::-;1366:42;1359:5;1355:54;1348:5;1345:65;1335:93;;1424:1;1421;1414:12;1439:589;1481:5;1534:3;1527:4;1519:6;1515:17;1511:27;1501:55;;1552:1;1549;1542:12;1501:55;1588:6;1575:20;1614:18;1610:2;1607:26;1604:52;;;1636:18;;:::i;:::-;1680:114;1788:4;1719:66;1712:4;1708:2;1704:13;1700:86;1696:97;1680:114;:::i;:::-;1819:2;1810:7;1803:19;1865:3;1858:4;1853:2;1845:6;1841:15;1837:26;1834:35;1831:55;;;1882:1;1879;1872:12;1831:55;1947:2;1940:4;1932:6;1928:17;1921:4;1912:7;1908:18;1895:55;1995:1;1970:16;;;1988:4;1966:27;1959:38;;;;1974:7;1439:589;-1:-1:-1;;;1439:589:350:o;2033:1032::-;2101:5;2149:4;2137:9;2132:3;2128:19;2124:30;2121:50;;;2167:1;2164;2157:12;2121:50;2200:2;2194:9;2242:4;2234:6;2230:17;2266:18;2334:6;2322:10;2319:22;2314:2;2302:10;2299:18;2296:46;2293:72;;;2345:18;;:::i;:::-;2385:10;2381:2;2374:22;2414:6;2405:15;;2457:9;2444:23;2436:6;2429:39;2520:2;2509:9;2505:18;2492:32;2477:47;;2533:33;2558:7;2533:33;:::i;:::-;2599:7;2594:2;2586:6;2582:15;2575:32;2659:2;2648:9;2644:18;2631:32;2616:47;;2672:33;2697:7;2672:33;:::i;:::-;2738:7;2733:2;2725:6;2721:15;2714:32;2807:2;2796:9;2792:18;2779:32;2774:2;2766:6;2762:15;2755:57;2874:3;2863:9;2859:19;2846:33;2840:3;2832:6;2828:16;2821:59;2931:3;2920:9;2916:19;2903:33;2889:47;;2959:2;2951:6;2948:14;2945:34;;;2975:1;2972;2965:12;2945:34;;3013:45;3054:3;3045:6;3034:9;3030:22;3013:45;:::i;:::-;3007:3;2999:6;2995:16;2988:71;;;2033:1032;;;;:::o;3070:510::-;3179:6;3187;3240:2;3228:9;3219:7;3215:23;3211:32;3208:52;;;3256:1;3253;3246:12;3208:52;3296:9;3283:23;3329:18;3321:6;3318:30;3315:50;;;3361:1;3358;3351:12;3315:50;3384:72;3448:7;3439:6;3428:9;3424:22;3384:72;:::i;:::-;3374:82;;;3506:2;3495:9;3491:18;3478:32;3519:31;3544:5;3519:31;:::i;:::-;3569:5;3559:15;;;3070:510;;;;;:::o;3816:269::-;3897:6;3950:2;3938:9;3929:7;3925:23;3921:32;3918:52;;;3966:1;3963;3956:12;3918:52;4005:9;3992:23;4024:31;4049:5;4024:31;:::i;4282:1175::-;4484:6;4492;4500;4508;4516;4560:9;4551:7;4547:23;4590:3;4586:2;4582:12;4579:32;;;4607:1;4604;4597:12;4579:32;4647:9;4634:23;4676:18;4717:2;4709:6;4706:14;4703:34;;;4733:1;4730;4723:12;4703:34;4756:72;4820:7;4811:6;4800:9;4796:22;4756:72;:::i;:::-;4746:82;;4875:2;4864:9;4860:18;4847:32;4837:42;;4972:3;4903:66;4899:2;4895:75;4891:85;4888:105;;;4989:1;4986;4979:12;4888:105;5027:2;5016:9;5012:18;5002:28;;5083:3;5072:9;5068:19;5055:33;5039:49;;5113:2;5103:8;5100:16;5097:36;;;5129:1;5126;5119:12;5097:36;5167:8;5156:9;5152:24;5142:34;;5214:7;5207:4;5203:2;5199:13;5195:27;5185:55;;5236:1;5233;5226:12;5185:55;5276:2;5263:16;5249:30;;5302:2;5294:6;5291:14;5288:34;;;5318:1;5315;5308:12;5288:34;;5371:7;5366:2;5356:6;5353:1;5349:14;5345:2;5341:23;5337:32;5334:45;5331:65;;;5392:1;5389;5382:12;5331:65;4282:1175;;;;-1:-1:-1;4282:1175:350;;-1:-1:-1;;;5423:2:350;5415:11;;5445:6;4282:1175::o;5667:180::-;5726:6;5779:2;5767:9;5758:7;5754:23;5750:32;5747:52;;;5795:1;5792;5785:12;5747:52;-1:-1:-1;5818:23:350;;5667:180;-1:-1:-1;5667:180:350:o;6034:258::-;6106:1;6116:113;6130:6;6127:1;6124:13;6116:113;;;6206:11;;;6200:18;6187:11;;;6180:39;6152:2;6145:10;6116:113;;;6247:6;6244:1;6241:13;6238:48;;;-1:-1:-1;;6282:1:350;6264:16;;6257:27;6034:258::o;6297:317::-;6339:3;6377:5;6371:12;6404:6;6399:3;6392:19;6420:63;6476:6;6469:4;6464:3;6460:14;6453:4;6446:5;6442:16;6420:63;:::i;:::-;6528:2;6516:15;6533:66;6512:88;6503:98;;;;6603:4;6499:109;;6297:317;-1:-1:-1;;6297:317:350:o;6619:220::-;6768:2;6757:9;6750:21;6731:4;6788:45;6829:2;6818:9;6814:18;6806:6;6788:45;:::i;6844:315::-;6912:6;6920;6973:2;6961:9;6952:7;6948:23;6944:32;6941:52;;;6989:1;6986;6979:12;6941:52;7025:9;7012:23;7002:33;;7085:2;7074:9;7070:18;7057:32;7098:31;7123:5;7098:31;:::i;7164:144::-;7272:10;7265:5;7261:22;7254:5;7251:33;7241:61;;7298:1;7295;7288:12;7313:299;7402:6;7455:2;7443:9;7434:7;7430:23;7426:32;7423:52;;;7471:1;7468;7461:12;7423:52;7510:9;7497:23;7529:53;7576:5;7529:53;:::i;7617:375::-;7717:6;7770:2;7758:9;7749:7;7745:23;7741:32;7738:52;;;7786:1;7783;7776:12;7738:52;7826:9;7813:23;7859:18;7851:6;7848:30;7845:50;;;7891:1;7888;7881:12;7845:50;7914:72;7978:7;7969:6;7958:9;7954:22;7914:72;:::i;:::-;7904:82;7617:375;-1:-1:-1;;;;7617:375:350:o;7997:129::-;8082:18;8075:5;8071:30;8064:5;8061:41;8051:69;;8116:1;8113;8106:12;8131:245;8189:6;8242:2;8230:9;8221:7;8217:23;8213:32;8210:52;;;8258:1;8255;8248:12;8210:52;8297:9;8284:23;8316:30;8340:5;8316:30;:::i;8381:248::-;8449:6;8457;8510:2;8498:9;8489:7;8485:23;8481:32;8478:52;;;8526:1;8523;8516:12;8478:52;-1:-1:-1;;8549:23:350;;;8619:2;8604:18;;;8591:32;;-1:-1:-1;8381:248:350:o;8981:605::-;9134:6;9142;9150;9203:2;9191:9;9182:7;9178:23;9174:32;9171:52;;;9219:1;9216;9209:12;9171:52;9258:9;9245:23;9277:31;9302:5;9277:31;:::i;:::-;9327:5;-1:-1:-1;9384:2:350;9369:18;;9356:32;9397:33;9356:32;9397:33;:::i;:::-;9449:7;-1:-1:-1;9508:2:350;9493:18;;9480:32;9521:33;9480:32;9521:33;:::i;:::-;9573:7;9563:17;;;8981:605;;;;;:::o;10007:118::-;10093:5;10086:13;10079:21;10072:5;10069:32;10059:60;;10115:1;10112;10105:12;10130:799;10230:6;10238;10246;10254;10262;10315:3;10303:9;10294:7;10290:23;10286:33;10283:53;;;10332:1;10329;10322:12;10283:53;10371:9;10358:23;10390:31;10415:5;10390:31;:::i;:::-;10440:5;-1:-1:-1;10492:2:350;10477:18;;10464:32;;-1:-1:-1;10548:2:350;10533:18;;10520:32;10561;10520;10561;:::i;:::-;10612:7;-1:-1:-1;10671:2:350;10656:18;;10643:32;10684:30;10643:32;10684:30;:::i;:::-;10733:7;-1:-1:-1;10791:3:350;10776:19;;10763:33;10819:18;10808:30;;10805:50;;;10851:1;10848;10841:12;10805:50;10874:49;10915:7;10906:6;10895:9;10891:22;10874:49;:::i;:::-;10864:59;;;10130:799;;;;;;;;:::o;12389:642::-;12652:6;12647:3;12640:19;12689:6;12684:2;12679:3;12675:12;12668:28;12748:66;12739:6;12734:3;12730:16;12726:89;12721:2;12716:3;12712:12;12705:111;12869:6;12862:14;12855:22;12850:3;12846:32;12841:2;12836:3;12832:12;12825:54;12622:3;12908:6;12902:13;12924:60;12977:6;12972:2;12967:3;12963:12;12958:2;12950:6;12946:15;12924:60;:::i;:::-;13004:16;;;;13022:2;13000:25;;12389:642;-1:-1:-1;;;;;;12389:642:350:o;14444:251::-;14514:6;14567:2;14555:9;14546:7;14542:23;14538:32;14535:52;;;14583:1;14580;14573:12;14535:52;14615:9;14609:16;14634:31;14659:5;14634:31;:::i;15132:623::-;15303:6;15311;15319;15372:2;15360:9;15351:7;15347:23;15343:32;15340:52;;;15388:1;15385;15378:12;15340:52;15420:9;15414:16;15439:53;15486:5;15439:53;:::i;:::-;15561:2;15546:18;;15540:25;15511:5;;-1:-1:-1;15574:32:350;15540:25;15574:32;:::i;:::-;15677:2;15662:18;;15656:25;15625:7;;-1:-1:-1;15690:33:350;15656:25;15690:33;:::i;15760:211::-;15857:6;15910:2;15898:9;15889:7;15885:23;15881:32;15878:52;;;15926:1;15923;15916:12;15878:52;-1:-1:-1;15949:16:350;;15760:211;-1:-1:-1;15760:211:350:o;16378:648::-;16472:6;16525:3;16513:9;16504:7;16500:23;16496:33;16493:53;;;16542:1;16539;16532:12;16493:53;16575:2;16569:9;16617:3;16609:6;16605:16;16687:6;16675:10;16672:22;16651:18;16639:10;16636:34;16633:62;16630:88;;;16698:18;;:::i;:::-;16738:10;16734:2;16727:22;;16786:9;16773:23;16765:6;16758:39;16858:2;16847:9;16843:18;16830:32;16825:2;16817:6;16813:15;16806:57;16924:2;16913:9;16909:18;16896:32;16891:2;16883:6;16879:15;16872:57;16990:2;16979:9;16975:18;16962:32;16957:2;16949:6;16945:15;16938:57;17014:6;17004:16;;;16378:648;;;;:::o;17441:184::-;17493:77;17490:1;17483:88;17590:4;17587:1;17580:15;17614:4;17611:1;17604:15;17630:276;17716:6;17769:2;17757:9;17748:7;17744:23;17740:32;17737:52;;;17785:1;17782;17775:12;17737:52;17817:9;17811:16;17856:1;17849:5;17846:12;17836:40;;17872:1;17869;17862:12;18338:303;18438:6;18491:2;18479:9;18470:7;18466:23;18462:32;18459:52;;;18507:1;18504;18497:12;18459:52;18539:9;18533:16;18558:53;18605:5;18558:53;:::i;19586:934::-;19722:9;19756:18;19797:2;19789:6;19786:14;19783:40;;;19803:18;;:::i;:::-;19849:6;19846:1;19842:14;19875:4;19899:28;19923:2;19919;19915:11;19899:28;:::i;:::-;19961:19;;;20031:14;;;;19996:12;;;;20068:14;20057:26;;20054:46;;;20096:1;20093;20086:12;20054:46;20120:5;20134:353;20150:6;20145:3;20142:15;20134:353;;;20236:3;20223:17;20272:2;20259:11;20256:19;20253:109;;;20316:1;20345:2;20341;20334:14;20253:109;20387:57;20429:14;20415:11;20408:5;20404:23;20387:57;:::i;:::-;20375:70;;-1:-1:-1;20465:12:350;;;;20167;;20134:353;;;-1:-1:-1;20509:5:350;19586:934;-1:-1:-1;;;;;;;19586:934:350:o;20944:245::-;21011:6;21064:2;21052:9;21043:7;21039:23;21035:32;21032:52;;;21080:1;21077;21070:12;21032:52;21112:9;21106:16;21131:28;21153:5;21131:28;:::i;22098:281::-;22199:6;22252:2;22240:9;22231:7;22227:23;22223:32;22220:52;;;22268:1;22265;22258:12;22220:52;22300:9;22294:16;22319:30;22343:5;22319:30;:::i;22871:184::-;22923:77;22920:1;22913:88;23020:4;23017:1;23010:15;23044:4;23041:1;23034:15;23060:125;23100:4;23128:1;23125;23122:8;23119:34;;;23133:18;;:::i;:::-;-1:-1:-1;23170:9:350;;23060:125::o;26256:270::-;26295:7;26327:18;26372:2;26369:1;26365:10;26402:2;26399:1;26395:10;26458:3;26454:2;26450:12;26445:3;26442:21;26435:3;26428:11;26421:19;26417:47;26414:73;;;26467:18;;:::i;:::-;26507:13;;26256:270;-1:-1:-1;;;;26256:270:350:o;26531:236::-;26570:3;26598:18;26643:2;26640:1;26636:10;26673:2;26670:1;26666:10;26704:3;26700:2;26696:12;26691:3;26688:21;26685:47;;;26712:18;;:::i;:::-;26748:13;;26531:236;-1:-1:-1;;;;26531:236:350:o;27386:184::-;27438:77;27435:1;27428:88;27535:4;27532:1;27525:15;27559:4;27556:1;27549:15;27575:308;27614:1;27640;27630:35;;27645:18;;:::i;:::-;27762:66;27759:1;27756:73;27687:66;27684:1;27681:73;27677:153;27674:179;;;27833:18;;:::i;:::-;-1:-1:-1;27867:10:350;;27575:308::o;27888:369::-;27927:4;27963:1;27960;27956:9;28072:1;28004:66;28000:74;27997:1;27993:82;27988:2;27981:10;27977:99;27974:125;;;28079:18;;:::i;:::-;28198:1;28130:66;28126:74;28123:1;28119:82;28115:2;28111:91;28108:117;;;28205:18;;:::i;:::-;-1:-1:-1;;28242:9:350;;27888:369::o;28262:655::-;28301:7;28333:66;28425:1;28422;28418:9;28453:1;28450;28446:9;28498:1;28494:2;28490:10;28487:1;28484:17;28479:2;28475;28471:11;28467:35;28464:61;;;28505:18;;:::i;:::-;28544:66;28636:1;28633;28629:9;28683:1;28679:2;28674:11;28671:1;28667:19;28662:2;28658;28654:11;28650:37;28647:63;;;28690:18;;:::i;:::-;28736:1;28733;28729:9;28719:19;;28783:1;28779:2;28774:11;28771:1;28767:19;28762:2;28758;28754:11;28750:37;28747:63;;;28790:18;;:::i;:::-;28855:1;28851:2;28846:11;28843:1;28839:19;28834:2;28830;28826:11;28822:37;28819:63;;;28862:18;;:::i;:::-;-1:-1:-1;;;28902:9:350;;;;;28262:655;-1:-1:-1;;;28262:655:350:o;28922:367::-;28961:3;28996:1;28993;28989:9;29105:1;29037:66;29033:74;29030:1;29026:82;29021:2;29014:10;29010:99;29007:125;;;29112:18;;:::i;:::-;29231:1;29163:66;29159:74;29156:1;29152:82;29148:2;29144:91;29141:117;;;29238:18;;:::i;:::-;-1:-1:-1;;29274:9:350;;28922:367::o;29725:228::-;29765:7;29891:1;29823:66;29819:74;29816:1;29813:81;29808:1;29801:9;29794:17;29790:105;29787:131;;;29898:18;;:::i;:::-;-1:-1:-1;29938:9:350;;29725:228::o;29958:120::-;29998:1;30024;30014:35;;30029:18;;:::i;:::-;-1:-1:-1;30063:9:350;;29958:120::o;30083:656::-;30370:6;30359:9;30352:25;30333:4;30396:42;30486:2;30478:6;30474:15;30469:2;30458:9;30454:18;30447:43;30538:2;30530:6;30526:15;30521:2;30510:9;30506:18;30499:43;;30578:6;30573:2;30562:9;30558:18;30551:34;30622:6;30616:3;30605:9;30601:19;30594:35;30666:3;30660;30649:9;30645:19;30638:32;30687:46;30728:3;30717:9;30713:19;30705:6;30687:46;:::i;:::-;30679:54;30083:656;-1:-1:-1;;;;;;;;30083:656:350:o;31552:160::-;31629:13;;31682:4;31671:16;;31661:27;;31651:55;;31702:1;31699;31692:12;31651:55;31552:160;;;:::o;31717:1203::-;31820:6;31873:3;31861:9;31852:7;31848:23;31844:33;31841:53;;;31890:1;31887;31880:12;31841:53;31923:2;31917:9;31965:3;31957:6;31953:16;32035:6;32023:10;32020:22;31999:18;31987:10;31984:34;31981:62;31978:88;;;32046:18;;:::i;:::-;32082:2;32075:22;32119:16;;32144:53;32119:16;32144:53;:::i;:::-;32206:21;;32260:47;32303:2;32288:18;;32260:47;:::i;:::-;32255:2;32247:6;32243:15;32236:72;32341:47;32384:2;32373:9;32369:18;32341:47;:::i;:::-;32336:2;32328:6;32324:15;32317:72;32434:2;32423:9;32419:18;32413:25;32447:55;32494:7;32447:55;:::i;:::-;32530:2;32518:15;;32511:32;32588:3;32573:19;;32567:26;32602:55;32567:26;32602:55;:::i;:::-;32685:3;32673:16;;32666:33;32744:3;32729:19;;32723:26;32793:34;32780:48;;32768:61;;32758:89;;32843:1;32840;32833:12;32758:89;32875:3;32863:16;;32856:33;32867:6;31717:1203;-1:-1:-1;;;31717:1203:350:o;32925:195::-;32964:3;32995:66;32988:5;32985:77;32982:103;;33065:18;;:::i;:::-;-1:-1:-1;33112:1:350;33101:13;;32925:195::o;33662:184::-;33714:77;33711:1;33704:88;33811:4;33808:1;33801:15;33835:4;33832:1;33825:15;35439:128;35479:3;35510:1;35506:6;35503:1;35500:13;35497:39;;;35516:18;;:::i;:::-;-1:-1:-1;35552:9:350;;35439:128::o;36427:157::-;36457:1;36491:4;36488:1;36484:12;36515:3;36505:37;;36522:18;;:::i;:::-;36574:3;36567:4;36564:1;36560:12;36556:22;36551:27;;;36427:157;;;;:::o;36589:195::-;36627:4;36664;36661:1;36657:12;36696:4;36693:1;36689:12;36721:3;36716;36713:12;36710:38;;;36728:18;;:::i;:::-;36765:13;;;36589:195;-1:-1:-1;;;36589:195:350:o",linkReferences:{},immutableReferences:{"84154":[{start:1605,length:32},{start:7017,length:32}],"84157":[{start:1230,length:32},{start:7928,length:32}]}},methodIdentifiers:{"GUARDIAN()":"724c184c","SYSTEM_CONFIG()":"f0498750","blacklistDisputeGame(address)":"7d6be8dc","checkWithdrawal(bytes32,address)":"71c1566e","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","disputeGameBlacklist(address)":"45884d32","disputeGameFactory()":"f2b4e617","disputeGameFinalityDelaySeconds()":"952b2797","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":"43ca1c50","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","numProofSubmitters(bytes32)":"513747ab","params()":"cff0ab96","paused()":"5c975abb","proofMaturityDelaySeconds()":"bf653a5c","proofSubmitters(bytes32,uint256)":"a3860f48","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32,address)":"bb2c727e","respectedGameType()":"3c9f397c","respectedGameTypeUpdatedAt()":"4fd0434c","setRespectedGameType(uint32)":"7fc48504","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_proofMaturityDelaySeconds","type":"uint256"},{"internalType":"uint256","name":"_disputeGameFinalityDelaySeconds","type":"uint256"},{"internalType":"GameType","name":"_initialRespectedGameType","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[],"name":"GUARDIAN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYSTEM_CONFIG","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"_disputeGame","type":"address"}],"name":"blacklistDisputeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"checkWithdrawal","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"name":"disputeGameBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFactory","outputs":[{"internalType":"contract DisputeGameFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFinalityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"finalizeWithdrawalTransactionExternalProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract DisputeGameFactory","name":"_disputeGameFactory","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"}],"name":"numProofSubmitters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofMaturityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"proofSubmitters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_disputeGameIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"provenWithdrawals","outputs":[{"internalType":"contract IDisputeGame","name":"disputeGameProxy","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameType","outputs":[{"internalType":"GameType","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameTypeUpdatedAt","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"}],"name":"setRespectedGameType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal2","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"GUARDIAN()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"","returns":{"_0":"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{"params":{"_disputeGame":"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{"params":{"_proofSubmitter":"The submitter of the proof for the withdrawal hash","_withdrawalHash":"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"params":{"_proofSubmitter":"Address of the proof submitter.","_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_disputeGameFactory":"Contract of the DisputeGameFactory.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{"params":{"_withdrawalHash":"Hash of the withdrawal."},"returns":{"_0":"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_disputeGameIndex":"Index of the dispute game to prove the withdrawal against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{"params":{"_gameType":"The game type to consult for output proposals."}}},"stateVariables":{"disputeGameFactory":{"custom:network-specific":""},"spacer_52_0_32":{"custom:legacy":"@custom:spacer provenWithdrawals"},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"spacer_54_0_20":{"custom:legacy":"@custom:spacer l2Oracle"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"3.5.0"}},"version":1},"userdoc":{"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"GUARDIAN()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{"notice":"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{"notice":"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{"notice":"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{"notice":"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{"notice":"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{"notice":"Getter for the dispute game finality delay."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"notice":"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{"notice":"External getter for the number of proof submitters for a withdrawal hash."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proofMaturityDelaySeconds()":{"notice":"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{"notice":"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{"notice":"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{"notice":"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{"notice":"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{"notice":"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game\'s behavior."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{"keccak256":"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e","license":"BSD","urls":["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"]},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/OptimismPortal2.sol":{"keccak256":"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654","license":"MIT","urls":["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"]},"src/L1/ResourceMetering.sol":{"keccak256":"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1","license":"MIT","urls":["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0","license":"MIT","urls":["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"_proofMaturityDelaySeconds",type:"uint256"},{internalType:"uint256",name:"_disputeGameFinalityDelaySeconds",type:"uint256"},{internalType:"GameType",name:"_initialRespectedGameType",type:"uint32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"GUARDIAN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SYSTEM_CONFIG",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[{internalType:"contract IDisputeGame",name:"_disputeGame",type:"address"}],stateMutability:"nonpayable",type:"function",name:"blacklistDisputeGame"},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"view",type:"function",name:"checkWithdrawal"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}],stateMutability:"view",type:"function",name:"disputeGameBlacklist",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFactory",outputs:[{internalType:"contract DisputeGameFactory",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFinalityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransactionExternalProof"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract DisputeGameFactory",name:"_disputeGameFactory",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"}],stateMutability:"view",type:"function",name:"numProofSubmitters",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"proofMaturityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"proofSubmitters",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_disputeGameIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"contract IDisputeGame",name:"disputeGameProxy",type:"address"},{internalType:"uint64",name:"timestamp",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameType",outputs:[{internalType:"GameType",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameTypeUpdatedAt",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"}],stateMutability:"nonpayable",type:"function",name:"setRespectedGameType"},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"GUARDIAN()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{"custom:legacy":"",returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},version:1},userdoc:{kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},evmVersion:"london",libraries:{}},sources:{"lib/clones-with-immutable-args/src/ClonesWithImmutableArgs.sol":{keccak256:"0x220db41bfceb0146f86e9be87d3d954fd1d52eadcb3bbfc5cd89e5543a46fd1e",urls:["bzz-raw://19155470db05e2e67a8c14f21cc903bb4833d8e5d248c2183073320c8a595705","dweb:/ipfs/QmTchpXE8MMH1XcYxaZvx64UiVzBatbWy7Sw5HFhVJJjxi"],license:"BSD"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/OptimismPortal2.sol":{keccak256:"0xe4738d396bfc8aa434d1573848cceb7ba9657acba5fb1d6716edd4b3f0e86654",urls:["bzz-raw://c669fabe0bb8c7781d6d3abc060358be079d0a6d421057ec72da78a5d14b2e23","dweb:/ipfs/QmQUX9gxZK1Z9zeBpmjCL4FHBoHE1bmyoa9cpmHo74UUWW"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0x507f17fcf7bf28bc9993359612d9b990d01b44bbc773e03157a3d565250857d1",urls:["bzz-raw://24ebea9efbc255854903359868d956eac7a75e715df43fa7d26b16e985d19f5a","dweb:/ipfs/QmR2kPvAn6yxa8ohoHYJohQGY98vthPDDd6mdx8tqiLNLH"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xa1d8ad31246172e0d1d16dcc247de1f4a68d92db34392f6b949c37e571540bc0",urls:["bzz-raw://f9ea03e06d9afafcda57fb9beb590f25a59d5252ec339a1f1b2997b5a6dd3ab8","dweb:/ipfs/QmQnoyRoJzizpitL5JjBE37fr9Sm7NHhLeYTtNJt5iB6nv"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:47877,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:47880,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85318,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)85301_storage"},{astId:85323,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:84168,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:84173,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:84176,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_52_0_32",offset:0,slot:"52",type:"t_bytes32"},{astId:84179,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:84183,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)85848"},{astId:84186,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_54_0_20",offset:0,slot:"54",type:"t_address"},{astId:84190,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)86662"},{astId:84194,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameFactory",offset:0,slot:"56",type:"t_contract(DisputeGameFactory)94342"},{astId:84202,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"provenWithdrawals",offset:0,slot:"57",type:"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))"},{astId:84208,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameBlacklist",offset:0,slot:"58",type:"t_mapping(t_contract(IDisputeGame)96855,t_bool)"},{astId:84212,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameType",offset:0,slot:"59",type:"t_userDefinedValueType(GameType)99918"},{astId:84215,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameTypeUpdatedAt",offset:4,slot:"59",type:"t_uint64"},{astId:84221,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"proofSubmitters",offset:0,slot:"60",type:"t_mapping(t_bytes32,t_array(t_address)dyn_storage)"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_address)dyn_storage":{encoding:"dynamic_array",label:"address[]",numberOfBytes:"32",base:"t_address"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(DisputeGameFactory)94342":{encoding:"inplace",label:"contract DisputeGameFactory",numberOfBytes:"20"},"t_contract(IDisputeGame)96855":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_contract(SuperchainConfig)85848":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)86662":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => struct OptimismPortal2.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)84151_storage"},"t_mapping(t_bytes32,t_array(t_address)dyn_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => address[])",numberOfBytes:"32",value:"t_array(t_address)dyn_storage"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage))":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))",numberOfBytes:"32",value:"t_mapping(t_address,t_struct(ProvenWithdrawal)84151_storage)"},"t_mapping(t_contract(IDisputeGame)96855,t_bool)":{encoding:"mapping",key:"t_contract(IDisputeGame)96855",label:"mapping(contract IDisputeGame => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ProvenWithdrawal)84151_storage":{encoding:"inplace",label:"struct OptimismPortal2.ProvenWithdrawal",numberOfBytes:"32",members:[{astId:84148,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameProxy",offset:0,slot:"0",type:"t_contract(IDisputeGame)96855"},{astId:84150,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"timestamp",offset:20,slot:"0",type:"t_uint64"}]},"t_struct(ResourceParams)85301_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:85296,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:85298,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:85300,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameType)99918":{encoding:"inplace",label:"GameType",numberOfBytes:"4"}}},userdoc:{version:1,kind:"user",methods:{"GUARDIAN()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"SYSTEM_CONFIG()":{notice:"Getter function for the contract of the SystemConfig on this chain. Public getter is legacy and will be removed in the future. Use `systemConfig()` instead."},"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"GUARDIAN()":{returns:{_0:"Address of the guardian."}},"SYSTEM_CONFIG()":{returns:{_0:"Contract of the SystemConfig on this chain."}},"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},id:131}});var fQe=D((Lda,vWt)=>{vWt.exports={abi:[{type:"constructor",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_absolutePrestate",type:"bytes32",internalType:"Claim"},{name:"_maxGameDepth",type:"uint256",internalType:"uint256"},{name:"_splitDepth",type:"uint256",internalType:"uint256"},{name:"_gameDuration",type:"uint64",internalType:"Duration"},{name:"_vm",type:"address",internalType:"contract IBigStepper"},{name:"_weth",type:"address",internalType:"contract IDelayedWETH"},{name:"_anchorStateRegistry",type:"address",internalType:"contract IAnchorStateRegistry"},{name:"_l2ChainId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"absolutePrestate",inputs:[],outputs:[{name:"absolutePrestate_",type:"bytes32",internalType:"Claim"}],stateMutability:"view"},{type:"function",name:"addLocalData",inputs:[{name:"_ident",type:"uint256",internalType:"uint256"},{name:"_execLeafIdx",type:"uint256",internalType:"uint256"},{name:"_partOffset",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"attack",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCredit",inputs:[{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claimData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"parentIndex",type:"uint32",internalType:"uint32"},{name:"counteredBy",type:"address",internalType:"address"},{name:"claimant",type:"address",internalType:"address"},{name:"bond",type:"uint128",internalType:"uint128"},{name:"claim",type:"bytes32",internalType:"Claim"},{name:"position",type:"uint128",internalType:"Position"},{name:"clock",type:"uint128",internalType:"Clock"}],stateMutability:"view"},{type:"function",name:"claimDataLen",inputs:[],outputs:[{name:"len_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"createdAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"credit",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"defend",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"extraData",inputs:[],outputs:[{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"gameData",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"rootClaim_",type:"bytes32",internalType:"Claim"},{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"gameDuration",inputs:[],outputs:[{name:"gameDuration_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"gameType",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"getRequiredBond",inputs:[{name:"_position",type:"uint128",internalType:"Position"}],outputs:[{name:"requiredBond_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"l1Head",inputs:[],outputs:[{name:"l1Head_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"l2BlockNumber",inputs:[],outputs:[{name:"l2BlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"l2ChainId",inputs:[],outputs:[{name:"l2ChainId_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxGameDepth",inputs:[],outputs:[{name:"maxGameDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"move",inputs:[{name:"_challengeIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"},{name:"_isAttack",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolve",inputs:[],outputs:[{name:"status_",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"nonpayable"},{type:"function",name:"resolveClaim",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolvedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"rootClaim",inputs:[],outputs:[{name:"rootClaim_",type:"bytes32",internalType:"Claim"}],stateMutability:"pure"},{type:"function",name:"splitDepth",inputs:[],outputs:[{name:"splitDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"startingBlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingOutputRoot",inputs:[],outputs:[{name:"root",type:"bytes32",internalType:"Hash"},{name:"l2BlockNumber",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingRootHash",inputs:[],outputs:[{name:"startingRootHash_",type:"bytes32",internalType:"Hash"}],stateMutability:"view"},{type:"function",name:"status",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"view"},{type:"function",name:"step",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"},{name:"_isAttack",type:"bool",internalType:"bool"},{name:"_stateData",type:"bytes",internalType:"bytes"},{name:"_proof",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"vm",inputs:[],outputs:[{name:"vm_",type:"address",internalType:"contract IBigStepper"}],stateMutability:"view"},{type:"function",name:"weth",inputs:[],outputs:[{name:"weth_",type:"address",internalType:"contract IDelayedWETH"}],stateMutability:"view"},{type:"event",name:"Move",inputs:[{name:"parentIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claim",type:"bytes32",indexed:!0,internalType:"Claim"},{name:"claimant",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Resolved",inputs:[{name:"status",type:"uint8",indexed:!0,internalType:"enum GameStatus"}],anonymous:!1},{type:"error",name:"AlreadyInitialized",inputs:[]},{type:"error",name:"AnchorRootNotFound",inputs:[]},{type:"error",name:"BondTransferFailed",inputs:[]},{type:"error",name:"CannotDefendRootClaim",inputs:[]},{type:"error",name:"ClaimAboveSplit",inputs:[]},{type:"error",name:"ClaimAlreadyExists",inputs:[]},{type:"error",name:"ClaimAlreadyResolved",inputs:[]},{type:"error",name:"ClockNotExpired",inputs:[]},{type:"error",name:"ClockTimeExceeded",inputs:[]},{type:"error",name:"DuplicateStep",inputs:[]},{type:"error",name:"GameDepthExceeded",inputs:[]},{type:"error",name:"GameNotInProgress",inputs:[]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"InvalidLocalIdent",inputs:[]},{type:"error",name:"InvalidParent",inputs:[]},{type:"error",name:"InvalidPrestate",inputs:[]},{type:"error",name:"InvalidSplitDepth",inputs:[]},{type:"error",name:"NoCreditToClaim",inputs:[]},{type:"error",name:"OutOfOrderResolution",inputs:[]},{type:"error",name:"UnexpectedRootClaim",inputs:[{name:"rootClaim",type:"bytes32",internalType:"Claim"}]},{type:"error",name:"ValidStep",inputs:[]}],bytecode:{object:"0x6101a06040523480156200001257600080fd5b5060405162004944380380620049448339810160408190526200003591620000d0565b868610620000565760405163e62ccf3960e01b815260040160405180910390fd5b63ffffffff9098166101205260809690965260a09490945260c0929092526001600160401b031660e0526001600160a01b03908116610100529081166101405216610160526101805262000183565b6001600160a01b0381168114620000bb57600080fd5b50565b8051620000cb81620000a5565b919050565b60008060008060008060008060006101208a8c031215620000f057600080fd5b895163ffffffff811681146200010557600080fd5b60208b015160408c015160608d015160808e0151939c50919a50985096506001600160401b03811681146200013957600080fd5b60a08b01519095506200014c81620000a5565b93506200015c60c08b01620000be565b92506200016c60e08b01620000be565b91506101008a015190509295985092959850929598565b60805160a05160c05160e0516101005161012051610140516101605161018051614693620002b16000396000818161068f01526126390152600081816109bf015261153601526000818161032001528181610b14015281816113ec015281816118ed0152613b5901526000818161050e015281816114f501526126d30152600081816102cc01528181611fa601526123020152600081816106e201528181611017015261283101526000818161071501528181610e0501528181610ece01528181611e010152818161250101528181612c72015281816133af015281816134dd015281816135e501526136c101526000818161078c01528181610e7101528181611a5f01528181611ae501528181611cf00152611e220152600081816104d30152611eb801526146936000f3fe6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;4670:783;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5084:13;5069:11;:28;5065:60;;5106:19;;-1:-1:-1;;;5106:19:159;;;;;;;;;;;5065:60;5136:21;;;;;;5167:37;;;;;-1:-1:-1;5214:30:159;;;;5254:25;;;;;-1:-1:-1;;;;;5289:29:159;;;-1:-1:-1;;;;;5328:8:159;;;;;5346:12;;;;;5368:44;;;5422:24;;995:41106;;14:144:350;-1:-1:-1;;;;;102:31:350;;92:42;;82:70;;148:1;145;138:12;82:70;14:144;:::o;163:164::-;255:13;;277:44;255:13;277:44;:::i;:::-;163:164;;;:::o;332:1208::-;634:6;642;650;658;666;674;682;690;698;751:3;739:9;730:7;726:23;722:33;719:53;;;768:1;765;758:12;719:53;800:9;794:16;850:10;843:5;839:22;832:5;829:33;819:61;;876:1;873;866:12;819:61;944:2;929:18;;923:25;988:2;973:18;;967:25;1032:2;1017:18;;1011:25;1081:3;1066:19;;1060:26;899:5;;-1:-1:-1;923:25:350;;-1:-1:-1;967:25:350;-1:-1:-1;1011:25:350;-1:-1:-1;;;;;;1117:32:350;;1105:45;;1095:73;;1164:1;1161;1154:12;1095:73;1239:3;1224:19;;1218:26;1187:7;;-1:-1:-1;1253:46:350;1218:26;1253:46;:::i;:::-;1318:7;-1:-1:-1;1344:63:350;1402:3;1387:19;;1344:63;:::i;:::-;1334:73;;1426:63;1484:3;1473:9;1469:19;1426:63;:::i;:::-;1416:73;;1529:3;1518:9;1514:19;1508:26;1498:36;;332:1208;;;;;;;;;;;:::o;:::-;995:41106:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101e75760003560e01c80638b85902b1161010e578063d5d44d80116100a7578063ec5e630811610079578063fa24f74311610061578063fa24f74314610759578063fa315aa91461077d578063fdffbb28146107b057005b8063ec5e630814610706578063f8f43ff61461073957005b8063d5d44d8014610653578063d6ae3cd514610680578063d8cc1a3c146106b3578063e1f0c376146106d357005b8063c395e1ca116100e0578063c395e1ca14610575578063c55cd0c714610595578063c6f0308c146105a8578063cf09e0d01461063257005b80638b85902b146104845780638d450a95146104c4578063bbdc02db146104f7578063bcef3b551461053857005b806357da950e116101805780636361506d116101525780636361506d1461041257806370872aa5146104525780638129fc1c146104675780638980e0cc1461046f57005b806357da950e1461039a578063609d3334146103ca57806360e27464146103df578063632247ea146103ff57005b806335fef567116101b957806335fef567146102aa5780633a768463146102bd5780633fc8cef31461031157806354fd4d501461034457005b806319effeb4146101f0578063200d2ed21461023b57806325fc2ace146102765780632810e1d61461029557005b366101ee57005b005b3480156101fc57600080fd5b5060005461021d9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561024757600080fd5b5060005461026990700100000000000000000000000000000000900460ff1681565b6040516102329190613f34565b34801561028257600080fd5b506006545b604051908152602001610232565b3480156102a157600080fd5b506102696107c3565b6101ee6102b8366004613f75565b610a40565b3480156102c957600080fd5b507f00000000000000000000000000000000000000000000000000000000000000005b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610232565b34801561031d57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ec565b34801561035057600080fd5b5061038d6040518060400160405280600581526020017f302e392e3000000000000000000000000000000000000000000000000000000081525081565b6040516102329190614002565b3480156103a657600080fd5b506006546007546103b5919082565b60408051928352602083019190915201610232565b3480156103d657600080fd5b5061038d610a50565b3480156103eb57600080fd5b506101ee6103fa366004614037565b610a63565b6101ee61040d366004614070565b610c0f565b34801561041e57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360200135610287565b34801561045e57600080fd5b50600754610287565b6101ee611486565b34801561047b57600080fd5b50600154610287565b34801561049057600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360400135610287565b3480156104d057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561050357600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610232565b34801561054457600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900335610287565b34801561058157600080fd5b506102876105903660046140a5565b6119b2565b6101ee6105a3366004613f75565b611b9c565b3480156105b457600080fd5b506105c86105c33660046140d7565b611ba8565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610232565b34801561063e57600080fd5b5060005461021d9067ffffffffffffffff1681565b34801561065f57600080fd5b5061028761066e366004614037565b60026020526000908152604090205481565b34801561068c57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b3480156106bf57600080fd5b506101ee6106ce366004614139565b611c3f565b3480156106df57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021d565b34801561071257600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b34801561074557600080fd5b506101ee6107543660046141c3565b612274565b34801561076557600080fd5b5061076e6126d1565b604051610232939291906141ef565b34801561078957600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610287565b6101ee6107be3660046140d7565b61272e565b600080600054700100000000000000000000000000000000900460ff1660028111156107f1576107f1613f05565b14610828576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055460ff16610864576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660016000815481106108905761089061421d565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff16146108cb5760016108ce565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff9091161770010000000000000000000000000000000083600281111561097f5761097f613f05565b02179055600281111561099457610994613f05565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a2557600080fd5b505af1158015610a39573d6000803e3d6000fd5b5050505090565b610a4c82826000610c0f565b5050565b6060610a5e60406020612b8f565b905090565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610ac8576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610b5857600080fd5b505af1158015610b6c573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610bca576040519150601f19603f3d011682016040523d82523d6000602084013e610bcf565b606091505b5050905080610c0a576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610c3b57610c3b613f05565b14610c72576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610c8757610c8761421d565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610d4c9083908690612c2616565b90506000610dec826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050861580610e2e5750610e2b7f0000000000000000000000000000000000000000000000000000000000000000600261427b565b81145b8015610e38575084155b15610e6f576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610ec9576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef47f0000000000000000000000000000000000000000000000000000000000000000600161427b565b8103610f0657610f0686888588612c2e565b34610f10836119b2565b14610f47576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b835160009063ffffffff90811614610fa7576001856000015163ffffffff1681548110610f7657610f7661421d565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b60c0850151600090610fcb9067ffffffffffffffff165b67ffffffffffffffff1690565b67ffffffffffffffff1642610ff5610fbe856fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611009919061427b565b6110139190614293565b90507f000000000000000000000000000000000000000000000000000000000000000060011c677fffffffffffffff1667ffffffffffffffff82161115611086576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604082901b421760008a8152608087901b6fffffffffffffffffffffffffffffffff8d1617602052604081209192509060008181526003602052604090205490915060ff1615611104576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808d63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018c8152602001886fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008c8152602001908152602001600020600180805490506113999190614293565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506040513393508d92508e91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a45050505050505050505050565b600554610100900460ff16156114c8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906142aa565b9092509050816115dc576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252838152602001829052600683905560078290558190367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900301351161168e576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560048201526024015b60405180910390fd5b60663611156116a55763c407e0256000526004601cfd5b6040805160e08101825263ffffffff808252600060208301818152328486019081526fffffffffffffffffffffffffffffffff34818116606088019081527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90033560808901908152600160a08a0181815242861660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915594517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549185167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091179055517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9850155915195518116700100000000000000000000000000000000029516949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b15801561193357600080fd5b505af1158015611947573d6000803e3d6000fd5b50506000805467ffffffffffffffff42167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091161790555050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050565b600080611a51836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611ab7576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ad283836142fd565b9050670de0b6b3a76400006000611b09827f0000000000000000000000000000000000000000000000000000000000000000614311565b90506000611b27611b22670de0b6b3a764000086614311565b612def565b90506000611b35848461304a565b90506000611b438383613099565b90506000611b50826130c7565b90506000611b6f82611b6a670de0b6b3a76400008f614311565b6132af565b90506000611b7d8b83613099565b9050611b89818d614311565b9f9e505050505050505050505050505050565b610a4c82826001610c0f565b60018181548110611bb857600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff166002811115611c6b57611c6b613f05565b14611ca2576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018781548110611cb757611cb761421d565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b9050611d167f0000000000000000000000000000000000000000000000000000000000000000600161427b565b611db2826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1614611df3576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808915611ee257611e467f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614293565b6001901b611e65846fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff16611e79919061434e565b15611eb657611ead611e9e60016fffffffffffffffffffffffffffffffff8716614362565b865463ffffffff16600061338f565b60030154611ed8565b7f00000000000000000000000000000000000000000000000000000000000000005b9150849050611f0c565b60038501549150611f09611e9e6fffffffffffffffffffffffffffffffff86166001614393565b90505b600882901b60088a8a604051611f239291906143c7565b6040518091039020901b14611f64576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6f8c613473565b90506000611f7e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290611ff8908f908f908f908f908a90600401614420565b6020604051808303816000875af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b919061445a565b6004850154911491506000906002906120e6906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612182896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b61218c9190614473565b6121969190614494565b67ffffffffffffffff1615905081151581036121de576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff1615612235576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156122a0576122a0613f05565b146122d7576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806122e6866134a2565b935093509350935060006122fc858585856138b1565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238f91906144bb565b9050600189036124875773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a846123eb367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036020013590565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af115801561245d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612481919061445a565b506126c6565b600289036124b35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84896123eb565b600389036124df5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84876123eb565b600489036125fb5760006125256fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613970565b600754612532919061427b565b61253d90600161427b565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af11580156125d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f4919061445a565b50506126c6565b60058903612694576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161243e565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003356060612727610a50565b9050909192565b60008054700100000000000000000000000000000000900460ff16600281111561275a5761275a613f05565b14612791576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600182815481106127a6576127a661421d565b6000918252602082206005919091020160048101549092506127e890700100000000000000000000000000000000900460401c67ffffffffffffffff16610fbe565b600483015490915060009061281a90700100000000000000000000000000000000900467ffffffffffffffff16610fbe565b6128249042614473565b9050677fffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000060011c1661285e82846144d8565b67ffffffffffffffff161161289f576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008481526004602052604090208054851580156128bf575060055460ff165b156128f6576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015801561290357508515155b15612968578454640100000000900473ffffffffffffffffffffffffffffffffffffffff16600081156129365781612952565b600187015473ffffffffffffffffffffffffffffffffffffffff165b905061295e8188613a25565b5050505050505050565b60006fffffffffffffffffffffffffffffffff815b83811015612aae5760008582815481106129995761299961421d565b60009182526020808320909101548083526004909152604090912054909150156129ef576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612a0457612a0461421d565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612a5d575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612a9b576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612aa7906144fb565b905061297d565b50612af673ffffffffffffffffffffffffffffffffffffffff831615612ad45782612af0565b600188015473ffffffffffffffffffffffffffffffffffffffff165b88613a25565b86547fffffffffffffffff0000000000000000000000000000000000000000ffffffff1664010000000073ffffffffffffffffffffffffffffffffffffffff8416021787556000888152600460205260408120612b5291613ecb565b8760000361295e57600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050565b60606000612bc684367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900361427b565b90508267ffffffffffffffff1667ffffffffffffffff811115612beb57612beb614533565b6040519080825280601f01601f191660200182016040528015612c15576020820181803683370190505b509150828160208401375092915050565b151760011b90565b6000612c4d6fffffffffffffffffffffffffffffffff84166001614393565b90506000612c5d8286600161338f565b9050600086901a8380612d505750612c9660027f000000000000000000000000000000000000000000000000000000000000000061434e565b6004830154600290612d3a906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b612d449190614494565b67ffffffffffffffff16145b15612da85760ff811660011480612d6a575060ff81166002145b612da3576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b612de6565b60ff811615612de6576040517ff40239db00000000000000000000000000000000000000000000000000000000815260048101889052602401611685565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b1760008213612e4e57631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261308757637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b6000816000190483118202156130b75763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d782136130f557919050565b680755bf798b4a1bf1e582126131135763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b60006132e0670de0b6b3a7640000836132c786612def565b6132d19190614562565b6132db919061461e565b6130c7565b90505b92915050565b600080613376837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600167ffffffffffffffff919091161b90920392915050565b600080826133d8576133d36fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613bb1565b6133f3565b6133f3856fffffffffffffffffffffffffffffffff16613d6f565b9050600184815481106134085761340861421d565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff82811691161461346b57815460018054909163ffffffff169081106134565761345661421d565b90600052602060002090600502019150613419565b509392505050565b6000806000806000613484866134a2565b9350935093509350613498848484846138b1565b9695505050505050565b60008060008060008590506000600182815481106134c2576134c261421d565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613599906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116135da576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f0000000000000000000000000000000000000000000000000000000000000000906136a1906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16925082111561371d57825463ffffffff166136e77f0000000000000000000000000000000000000000000000000000000000000000600161427b565b83036136f1578391505b600181815481106137045761370461421d565b90600052602060002090600502019350809450506135de565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613786613771856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff16149050801561384d5760006137be836fffffffffffffffffffffffffffffffff166132e9565b67ffffffffffffffff1611156138215760006137f86137f060016fffffffffffffffffffffffffffffffff8616614362565b89600161338f565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a506138279050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff1697506138a3565b600061386f6137f06fffffffffffffffffffffffffffffffff85166001614393565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841681036139175782826040516020016138fa9291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b604051602081830303815290604052805190602001209050613968565b60408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a0016040516020818303038152906040528051906020012090505b949350505050565b6000806139fd847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1690508083036001841b600180831b0386831b17039250505092915050565b60028101546fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000018101613a95576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff17905573ffffffffffffffffffffffffffffffffffffffff84166000908152602091909152604081208054839290613b0890849061427b565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613b9d57600080fd5b505af1158015612de6573d6000803e3d6000fd5b600081613c50846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff1611613c91576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c9a83613d6f565b905081613d39826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff16116132e3576132e0613d5683600161427b565b6fffffffffffffffffffffffffffffffff831690613e1b565b60008119600183011681613e03827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169390931c8015179392505050565b600080613ea8847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b67ffffffffffffffff169050808303600180821b0385821b179250505092915050565b5080546000825590600052602060002090810190613ee99190613eec565b50565b5b80821115613f015760008155600101613eed565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60008060408385031215613f8857600080fd5b50508035926020909101359150565b6000815180845260005b81811015613fbd57602081850181015186830182015201613fa1565b81811115613fcf576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006132e06020830184613f97565b73ffffffffffffffffffffffffffffffffffffffff81168114613ee957600080fd5b60006020828403121561404957600080fd5b813561405481614015565b9392505050565b8035801515811461406b57600080fd5b919050565b60008060006060848603121561408557600080fd5b833592506020840135915061409c6040850161405b565b90509250925092565b6000602082840312156140b757600080fd5b81356fffffffffffffffffffffffffffffffff8116811461405457600080fd5b6000602082840312156140e957600080fd5b5035919050565b60008083601f84011261410257600080fd5b50813567ffffffffffffffff81111561411a57600080fd5b60208301915083602082850101111561413257600080fd5b9250929050565b6000806000806000806080878903121561415257600080fd5b863595506141626020880161405b565b9450604087013567ffffffffffffffff8082111561417f57600080fd5b61418b8a838b016140f0565b909650945060608901359150808211156141a457600080fd5b506141b189828a016140f0565b979a9699509497509295939492505050565b6000806000606084860312156141d857600080fd5b505081359360208301359350604090920135919050565b63ffffffff841681528260208201526060604082015260006142146060830184613f97565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561428e5761428e61424c565b500190565b6000828210156142a5576142a561424c565b500390565b600080604083850312156142bd57600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261430c5761430c6142ce565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143495761434961424c565b500290565b60008261435d5761435d6142ce565b500690565b60006fffffffffffffffffffffffffffffffff8381169083168181101561438b5761438b61424c565b039392505050565b60006fffffffffffffffffffffffffffffffff8083168185168083038211156143be576143be61424c565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006144346060830187896143d7565b82810360208401526144478186886143d7565b9150508260408301529695505050505050565b60006020828403121561446c57600080fd5b5051919050565b600067ffffffffffffffff8381169083168181101561438b5761438b61424c565b600067ffffffffffffffff808416806144af576144af6142ce565b92169190910692915050565b6000602082840312156144cd57600080fd5b815161405481614015565b600067ffffffffffffffff8083168185168083038211156143be576143be61424c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361452c5761452c61424c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156145a3576145a361424c565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156145de576145de61424c565b600087129250878205871284841616156145fa576145fa61424c565b878505871281841616156146105761461061424c565b505050929093029392505050565b60008261462d5761462d6142ce565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156146815761468161424c565b50059056fea164736f6c634300080f000a",sourceMap:"995:41106:159:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2896:27;;;;;;;;;;-1:-1:-1;2896:27:159;;;;;;;;;;;;;;220:18:350;208:31;;;190:50;;178:2;163:18;2896:27:159;;;;;;;;2963:24;;;;;;;;;;-1:-1:-1;2963:24:159;;;;;;;;;;;;;;;;;;:::i;24310:135::-;;;;;;;;;;-1:-1:-1;24415:18:159;:23;24310:135;;;1018:25:350;;;1006:2;991:18;24310:135:159;846:203:350;18544:907:159;;;;;;;;;;;;;:::i;15650:119::-;;;;;;:::i;:::-;;:::i;31838:79::-;;;;;;;;;;-1:-1:-1;31908:2:159;31838:79;;;1531:42:350;1519:55;;;1501:74;;1489:2;1474:18;31838:79:159;1334:247:350;31982:88:159;;;;;;;;;;-1:-1:-1;32059:4:159;31982:88;;3968:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;3862:36::-;;;;;;;;;;-1:-1:-1;3862:36:159;;;;;;;;;;;;;2800:25:350;;;2856:2;2841:18;;2834:34;;;;2773:18;3862:36:159;2600:274:350;23580:234:159;;;;;;;;;;;;;:::i;30210:671::-;;;;;;;;;;-1:-1:-1;30210:671:159;;;;;:::i;:::-;;:::i;10674:4770::-;;;;;;:::i;:::-;;:::i;17868:114::-;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;17868:114:159;23580:234;24110:156;;;;;;;;;;-1:-1:-1;24227:32:159;;24110:156;;24694:2821;;;:::i;27582:101::-;;;;;;;;;;-1:-1:-1;27660:9:159;:16;27582:101;;18026:124;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;18138:4:159;1632:22:187;1619:36;18026:124:159;23580:234;31167:130;;;;;;;;;;-1:-1:-1;31273:17:159;31167:130;;18397:108;;;;;;;;;;-1:-1:-1;18397:108:159;;4622:10:350;18489:9:159;4610:23:350;4592:42;;4580:2;4565:18;18397:108:159;4417:223:350;23416:125:159;;;;;;;;;;-1:-1:-1;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23416:125:159;23580:234;27899:2171;;;;;;;;;;-1:-1:-1;27899:2171:159;;;;;:::i;:::-;;:::i;15488:118::-;;;;;;:::i;:::-;;:::i;3075:28::-;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;:::i;:::-;;:::i;:::-;;;;5593:10:350;5581:23;;;5563:42;;5624;5702:15;;;5697:2;5682:18;;5675:43;5754:15;;;;5734:18;;;5727:43;;;;5789:34;5859:15;;;5854:2;5839:18;;5832:43;5906:3;5891:19;;5884:35;5956:15;;;5950:3;5935:19;;5928:44;6009:15;6003:3;5988:19;;5981:44;5550:3;5535:19;3075:28:159;5166:865:350;2800:26:159;;;;;;;;;;-1:-1:-1;2800:26:159;;;;;;;;3170:41;;;;;;;;;;-1:-1:-1;3170:41:159;;;;;:::i;:::-;;;;;;;;;;;;;;32159:105;;;;;;;;;;-1:-1:-1;32246:11:159;32159:105;;5921:4442;;;;;;;;;;-1:-1:-1;5921:4442:159;;;;;:::i;:::-;;:::i;31668:117::-;;;;;;;;;;-1:-1:-1;31765:13:159;31668:117;;31511:108;;;;;;;;;;-1:-1:-1;31601:11:159;31511:108;;15813:2011;;;;;;;;;;-1:-1:-1;15813:2011:159;;;;;:::i;:::-;;:::i;23853:213::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;31347:117::-;;;;;;;;;;-1:-1:-1;31443:14:159;31347:117;;19495:3882;;;;;;:::i;:::-;;:::i;18544:907::-;18581:18;;18703:6;;;;;;;:32;;;;;;;;:::i;:::-;;18699:64;;18744:19;;;;;;;;;;;;;;18699:64;18877:21;;;;18872:57;;18907:22;;;;;;;;;;;;;;18872:57;19055:1;19019:38;;:9;19029:1;19019:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:24;;;;;;:38;:94;;19087:26;19019:94;;;19060:24;19019:94;19123:10;:52;;;19158:15;19123:52;;;;;;;;;;19009:104;;-1:-1:-1;19009:104:159;;19305:16;;;;;;;;19009:104;19305:16;;;;;;;;:::i;:::-;;;;;19296:26;;;;;;;;:::i;:::-;;;;;;;;19400:21;:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18544:907;:::o;15650:119::-;15729:33;15734:12;15748:6;15756:5;15729:4;:33::i;:::-;15650:119;;:::o;23580:234::-;23622:23;23780:27;23796:4;23802;23780:15;:27::i;:::-;23767:40;;23580:234;:::o;30210:671::-;30383:18;;;30357:23;30383:18;;;:6;:18;;;;;;;30411:22;;;;30383:18;30507:20;;;30503:75;;30550:17;;;;;;;;;;;;;;30503:75;30655:42;;;;;:13;8623:55:350;;;30655:42:159;;;8605:74:350;8695:18;;;8688:34;;;30655:4:159;:13;;;;8578:18:350;;30655:42:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30758:12;30775:10;:15;;30799;30775:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30757:66;;;30838:7;30833:41;;30854:20;;;;;;;;;;;;;;30833:41;30260:621;;30210:671;:::o;10674:4770::-;10875:22;10865:6;;;;;;;:32;;;;;;;;:::i;:::-;;10861:64;;10906:19;;;;;;;;;;;;;;10861:64;11016:23;11042:9;11052:15;11042:26;;;;;;;;:::i;:::-;;;;;;;;;11016:52;;;;;;;;11042:26;;;;;;;11016:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11016:52:159;;11042:26;11397:25;;11016:52;;11412:9;;11397:14;:25;:::i;:::-;11373:49;;11432:25;11460:20;:12;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;11460:20:159;11432:48;;;-1:-1:-1;11827:20:159;;;:60;;-1:-1:-1;11872:15:159;:11;11886:1;11872:15;:::i;:::-;11851:17;:36;11827:60;11826:76;;;;;11893:9;11892:10;11826:76;11822:137;;;11925:23;;;;;;;;;;;;;;11822:137;12320:14;12300:17;:34;12296:66;;;12343:19;;;;;;;;;;;;;;12296:66;12590:15;:11;12604:1;12590:15;:::i;:::-;12569:17;:36;12565:138;;12621:71;12646:6;12654:15;12671:9;12682;12621:24;:71::i;:::-;12826:9;12793:29;12809:12;12793:15;:29::i;:::-;:42;12789:76;;12844:21;;;;;;;;;;;;;;12789:76;13056:18;;13020:22;;13078:16;13056:38;;;;13052:123;;13129:9;13139:6;:18;;;13129:29;;;;;;;;;;:::i;:::-;;;;;;;;;;;:35;;;;;;;;;;;;13110:54;;13052:123;13758:12;;;;13407:21;;13758:30;;1624:28:172;;13758:24:159;:28;;4002:10:172;3878:150;13758:30:159;13553:235;;13740:15;13553:33;:27;:16;:25;;1135:4:172;1131:17;;913:251;13553:33:159;:202;;;;;;:::i;:::-;:235;;;;:::i;:::-;13407:405;-1:-1:-1;13982:13:159;14005:1;13982:24;;;:17;13961:16;;:45;13957:77;;;14015:19;;;;;;;;;;;;;;13957:77;14136:15;668:4:172;664:20;;;14204:15:159;661:36:172;14506:19:159;758:20:170;;;811:3;807:19;;;832:34;828:56;;804:81;798:4;791:95;929:4;913:21;;14136:86:159;;-1:-1:-1;14506:19:159;14592:17;;;;:6;:17;;;;;;14506:72;;-1:-1:-1;14592:17:159;;14588:50;;;14618:20;;;;;;;;;;;;;;14588:50;14668:4;14648:6;:17;14655:9;14648:17;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;14716:9;14744:366;;;;;;;;14792:15;14744:366;;;;;;14908:1;14744:366;;;;;;14938:10;14744:366;;;;;;14980:9;14744:366;;;;;;15015:6;14744:366;;;;15049:12;14744:366;;;;;;15086:9;14744:366;;;;;14716:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15189:8;:25;15198:15;15189:25;;;;;;;;;;;15239:1;15220:9;:16;;;;:20;;;;:::i;:::-;15189:52;;;;;;;-1:-1:-1;15189:52:159;;;;;;;;15281:34;;;;;;;;:12;:4;:12;;;;15302:9;;15281:34;;;;;-1:-1:-1;15281:34:159;;;;;15302:9;15281:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15396:41:159;;15426:10;;-1:-1:-1;15418:6:159;;-1:-1:-1;15401:15:159;;-1:-1:-1;15396:41:159;;;;;10766:4678;;;;;;;;10674:4770;;;:::o;24694:2821::-;25384:11;;;;;;;25380:44;;;25404:20;;;;;;;;;;;;;;25380:44;25514:40;;;;;;25544:9;4610:23:350;25514:40:159;;;4592:42:350;25476:9:159;;;;25514:29;:21;:29;;;;4565:18:350;;25514:40:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25475:79;;-1:-1:-1;25475:79:159;-1:-1:-1;25475:79:159;25651:57;;25688:20;;;;;;;;;;;;;;25651:57;25781:58;;;;;;;;;;;;;;;;25760:18;:79;;;;;;;25781:58;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1632:22;1619:36;26008:34:159;26004:79;;26051:32;;;;;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26051:32:159;;;1018:25:350;991:18;;26051:32:159;;;;;;;;26004:79;26635:4;26619:14;26616:24;26613:191;;;26744:10;26738:4;26731:24;26785:4;26779;26772:18;26613:191;26882:366;;;;;;;;26923:16;26882:366;;;-1:-1:-1;26882:366:159;;;;;;27008:9;26882:366;;;;;;;27049:9;26882:366;;;;;;;;;3761:22:187;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;26882:366:159;;;;;;26854:9;26882:366;;;;;;27215:15;26882:366;;;;;;;;26854:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27298:34;;;;;;;:4;:12;;;;;;27049:9;26854:404;27298:34;;;;-1:-1:-1;27298:34:159;;;;;27049:9;27298:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27388:9:159;:51;;;27422:15;27388:51;;;;;;;;-1:-1:-1;;27490:11:159;:18;;;;27388:51;27490:18;;;-1:-1:-1;;;24694:2821:159:o;27899:2171::-;27965:21;27998:13;28022:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;28022:17:159;28014:26;;27998:42;;28062:14;28054:5;:22;28050:54;;;28085:19;;;;;;;;;;;;;;28050:54;28195:8;28238:7;28280:11;28170:22;29047:31;28238:7;28280:11;29047:31;:::i;:::-;29035:43;-1:-1:-1;2458:4:95;29088:9:159;29143:38;2458:4:95;29143:14:159;:38;:::i;:::-;29131:50;-1:-1:-1;29278:11:159;29300:58;29331:25;2458:4:95;29331:1:159;:25;:::i;:::-;29300:23;:58::i;:::-;29278:81;;29436:14;29453:30;29478:1;29481;29453:24;:30::i;:::-;29436:47;;29617:17;29637:37;29662:3;29667:6;29637:24;:37::i;:::-;29617:57;;29684:11;29698:43;29730:9;29698:24;:43::i;:::-;29684:57;-1:-1:-1;29796:13:159;29812:69;29684:57;29850:29;2458:4:95;29850:5:159;:29;:::i;:::-;29812:24;:69::i;:::-;29796:85;;29891:19;29913:57;29938:14;29962:6;29913:24;:57::i;:::-;29891:79;-1:-1:-1;30035:28:159;29891:79;30035:14;:28;:::i;:::-;30019:44;27899:2171;-1:-1:-1;;;;;;;;;;;;;;;27899:2171:159:o;15488:118::-;15567:32;15572:12;15586:6;15594:4;15567;:32::i;3075:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3075:28:159;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5921:4442::-;6204:22;6194:6;;;;;;;:32;;;;;;;;:::i;:::-;;6190:64;;6235:19;;;;;;;;;;;;;;6190:64;6345:24;6372:9;6382:11;6372:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;6478:15;;;;6372:22;;-1:-1:-1;6478:15:159;;;8377:17:171;;8374:32;;8371:1;8367:40;6550:44:159;-1:-1:-1;6729:18:159;:14;6746:1;6729:18;:::i;:::-;6710:15;:7;:13;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6710:15:159;:37;;;6706:65;;6756:15;;;;;;;;;;;;;;6706:65;6847:19;6876:27;6917:9;6913:1343;;;7648:28;7665:11;7648:14;:28;:::i;:::-;7642:1;:35;;7616:22;:7;:20;;;:22::i;:::-;:62;;;;;;:::i;:::-;7615:69;:211;;7739:81;7772:19;7790:1;7772:13;;;:19;:::i;:::-;7794:18;;;;;7739;:81::i;:::-;:87;;;7615:211;;;7703:17;7615:211;7599:227;;7919:6;7907:18;;6913:1343;;;8126:12;;;;;-1:-1:-1;8164:81:159;8197:19;:13;;;8215:1;8197:19;:::i;8164:81::-;8152:93;;6913:1343;8652:1;8629:13;:24;;8624:1;8609:10;;8599:21;;;;;;;:::i;:::-;;;;;;;;:26;;:54;8595:84;;8662:17;;;;;;;;;;;;;;8595:84;8750:9;8762:30;8780:11;8762:17;:30::i;:::-;8750:42;;9765:14;9825:21;:9;:15;;;4002:10:172;3878:150;9825:21:159;9782:39;;;;;:2;:7;;;;;:39;;9790:10;;;;9802:6;;;;9810:4;;9782:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9900:18;;;;9782:64;;;-1:-1:-1;9856:20:159;;9930:1;;9900:26;;:18;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9900:26:159;9880:17;:9;:15;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;9880:17:159;:46;;;;:::i;:::-;9879:52;;;;:::i;:::-;:57;;;;-1:-1:-1;9950:28:159;;;;;9946:52;;9987:11;;;;;;;;;;;;;;9946:52;10092:18;;;;;:32;:18;:32;10088:60;;10133:15;;;;;;;;;;;;;;10088:60;-1:-1:-1;;10325:31:159;;;;10346:10;10325:31;;;;;;-1:-1:-1;;;;;;;;;;;5921:4442:159:o;15813:2011::-;16016:22;16006:6;;;;;;;:32;;;;;;;;:::i;:::-;;16002:64;;16047:19;;;;;;;;;;;;;;16002:64;16078:14;16094:20;16116:14;16132:20;16168:45;16200:12;16168:31;:45::i;:::-;16077:136;;;;;;;;16223:9;16235:66;16256:8;16266:11;16279:8;16289:11;16235:20;:66::i;:::-;16223:78;;16312:22;16337:2;:9;;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16312:36;;5133:4:190;16362:6:159;:39;16358:1460;;16454:20;;;;16475:6;16483:4;16495:14;3765::187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;17969:4:159;1632:22:187;1619:36;4002:10:172;3878:150;16495:14:159;16454:73;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;;;;13209:18;;;13202:34;16511:2:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;16454:73:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16358:1460;;;5254:4:190;16548:6:159;:47;16544:1274;;16668:20;;;;16689:6;16697:4;16709:8;:14;3878:150:172;16544:1274:159;5375:4:190;16762:6:159;:47;16758:1060;;16881:20;;;;16902:6;16910:4;16922:8;:14;3878:150:172;16758:1060:159;5504:4:190;16975:6:159;:51;16971:847;;17306:16;17360:35;:22;;;17383:11;17360:22;:35::i;:::-;17325:32;;:70;;;;:::i;:::-;:74;;17398:1;17325:74;:::i;:::-;17306:93;-1:-1:-1;17414:20:159;;;;17435:6;17443:4;17414:83;;;;;;;;;;;;;13125:25:350;;;;13166:18;;;13159:34;17475:4:159;17463:16;;;13209:18:350;;;13202:34;17482:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;13097:19;;17414:83:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17028:480;16971:847;;;5601:4:190;17518:6:159;:35;17514:304;;17664:86;;;;;;;;13125:25:350;;;13166:18;;;13159:34;;;17713:11:159;17728:4;17713:19;13209:18:350;;;13202:34;17735:1:159;13252:18:350;;;13245:34;13295:19;;;13288:35;;;17664:20:159;;;;;;13097:19:350;;17664:86:159;12857:472:350;17514:304:159;17788:19;;;;;;;;;;;;;;17514:304;15903:1921;;;;;;15813:2011;;;:::o;23853:213::-;18489:9;3765:14:187;3761:22;;;3748:36;3742:4;3738:47;3718:68;;1619:36;23934:23:159;24048:11;:9;:11::i;:::-;24035:24;;23853:213;;;:::o;19495:3882::-;19667:22;19657:6;;;;;;;:32;;;;;;;;:::i;:::-;;19653:64;;19698:19;;;;;;;;;;;;;;19653:64;19728:24;19755:9;19765:11;19755:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;19905:12;;;;19755:22;;-1:-1:-1;19905:29:159;;:12;;;1135:4:172;1131:17;;;19905:23:159;913:251:172;19905:29:159;19999:12;;;;19876:58;;-1:-1:-1;19944:26:159;;19999:30;;:12;;;1624:28:172;;19999:24:159;1368:300:172;19999:30:159;19973:56;;19980:15;19973:56;:::i;:::-;19944:85;-1:-1:-1;20088:24:159;:13;20111:1;20088:24;;20043:41;19944:85;20043:19;:41;:::i;:::-;:69;;;20039:124;;20135:17;;;;;;;;;;;;;;20039:124;20173:34;20210:21;;;:8;:21;;;;;20271:23;;20361:16;;:41;;;;-1:-1:-1;20381:21:159;;;;20361:41;20357:101;;;20425:22;;;;;;;;;;;;;;20357:101;20620:24;;:44;;;;-1:-1:-1;20648:16:159;;;20620:44;20616:725;;;21153:18;;;;;;;21131:19;21205:25;;:57;;21251:11;21205:57;;;21233:15;;;;;;21205:57;21185:77;;21276:34;21292:9;21303:6;21276:15;:34::i;:::-;21324:7;;;;;;;19495:3882;:::o;20616:725::-;21409:17;21490;21409;21518:1132;21542:19;21538:1;:23;21518:1132;;;21582:22;21607:16;21624:1;21607:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;21727:24;;;:8;:24;;;;;;;:31;21607:19;;-1:-1:-1;21727:36:159;21723:71;;21772:22;;;;;;;;;;;;;;21723:71;21809:23;21835:9;21845:14;21835:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;22450:17;;21835:25;;-1:-1:-1;22450:17:159;;;:31;:17;:31;:79;;;;-1:-1:-1;22509:14:159;;;;;;;;22485:19;;;:44;22450:79;22446:194;;;22561:14;;;;22611;;;;22561;;;;;-1:-1:-1;22611:14:159;;;-1:-1:-1;22446:194:159;21568:1082;;21563:3;;;;:::i;:::-;;;21518:1132;;;-1:-1:-1;22858:78:159;22874:23;;;;:53;;22918:9;22874:53;;;22900:15;;;;;;22874:53;22929:6;22858:15;:78::i;:::-;23108:30;;;;;;;;;;;;-1:-1:-1;23201:21:159;;;23108:18;23201:21;;;;;23194:28;;;:::i;:::-;23300:11;23315:1;23300:16;23296:75;;23332:21;:28;;;;23356:4;23332:28;;;19555:3822;;;;;;;19495:3882;:::o;2440:295:187:-;2522:16;2550:14;2567:37;2595:9;3765:14;3761:22;;;3748:36;3742:4;3738:47;3718:68;;2567:37;:::i;:::-;2550:54;;2630:6;2620:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2620:17:187;;2614:23;;2712:6;2704;2693:8;2688:3;2684:18;2671:48;2657:72;2440:295;;;;:::o;8236:187:171:-;8377:17;8374:32;8371:1;8367:40;;8236:187::o;33347:1977:159:-;34099:24;34140:20;:14;;;34159:1;34140:20;:::i;:::-;34099:62;;34171:26;34200:80;34227:15;34252:10;34273:4;34200:18;:80::i;:::-;34171:109;-1:-1:-1;34290:14:159;34313:19;;;34348:9;;:61;;-1:-1:-1;34394:15:159;34408:1;34394:11;:15;:::i;:::-;34361:17;;;;34389:1;;34361:25;;:17;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;34361:25:159;:29;;;;:::i;:::-;:48;;;34348:61;34344:974;;;34887:36;;;4686:1:190;34887:36:159;;:74;;-1:-1:-1;34927:34:159;;;4780:1:190;34927:34:159;34887:74;34881:154;;34989:31;;;;;;;;1018:25:350;;;991:18;;34989:31:159;846:203:350;34881:154:159;34344:974;;;35055:34;;;;35051:267;;35276:31;;;;;;;;1018:25:350;;;991:18;;35276:31:159;846:203:350;35051:267:159;33528:1796;;;33347:1977;;;;:::o;11843:3927:95:-;12373:34;12370:41;-1:-1:-1;12367:1:95;12363:49;12466:9;;;12446:18;12443:33;12440:1;12436:41;12430:48;12524:9;;;12512:10;12509:25;12506:1;12502:33;12496:40;12578:9;;;12570:6;12567:21;12564:1;12560:29;12554:36;12630:9;;;12624:4;12621:19;12618:1;12614:27;12608:34;11891:8;12739:9;;12729:135;;12781:10;12775:4;12768:24;12845:4;12839;12832:18;12729:135;13016:66;12962:34;12951:9;;;12947:50;12941:4;12937:61;12932:151;12925:159;13210:9;;;13205:3;13201:19;;;14173:31;14169:39;;14272:9;;13660:2;14264:18;;;14230:32;14226:57;14348:9;;14340:18;;14305:33;14301:58;14424:9;;14416:18;;14381:33;14377:58;14500:9;;14492:18;;14457:33;14453:58;14575:9;;14567:18;;14533:32;14529:57;14648:9;;14640:18;;14608:30;14604:55;13672:31;13668:59;;13664:67;;13656:76;;13606:32;13602:131;13598:139;;13590:148;;13540:32;13536:203;13532:211;;13524:220;;13430:349;;13809:9;;13801:18;;13797:57;;13884:9;;13876:18;;;13872:57;;13951:9;;;13947:55;;15131:10;15261:43;15257:51;15499:11;;;15426:71;15422:89;15418:97;15595:72;15591:80;15747:3;15743:11;;11843:3927::o;5293:468::-;5354:9;5574:16;5568:23;;5586:3;5559:33;5552:41;5545:49;;5535:173;;5627:10;5621:4;5614:24;5689:4;5683;5676:18;5535:173;-1:-1:-1;5737:3:95;5730:11;;;;5726:19;;5293:468::o;2809:424::-;2870:9;3063:1;3059;3055:6;3051:14;3048:1;3045:21;3042:1;3038:29;3035:145;;;3099:10;3093:4;3086:24;3161:4;3155;3148:18;3035:145;-1:-1:-1;3213:3:95;3202:9;;3198:19;;2809:424::o;8260:3448::-;8309:8;8504:21;8499:1;:26;8495:40;;8260:3448;;;:::o;8495:40::-;8841:21;8838:1;8834:29;8824:164;;8900:10;8894:4;8887:24;8965:4;8959;8952:18;8824:164;9280:7;9274:2;9269:7;;;9268:19;;-1:-1:-1;9551:8:95;9619:2;9575:29;9564:7;;;9563:41;9607:7;9563:51;9562:59;;9647:29;9643:33;;9639:37;;;10328:35;;;10383:5;;9959:2;10382:13;;;10399:32;10381:50;10451:5;;10450:13;;10449:51;;10520:5;;10519:13;;10536:34;10518:52;10590:5;;10589:13;;10588:53;;10661:5;;10660:13;;10677:35;10659:53;9965:32;9898:31;9894:35;;9949:5;;9948:13;;9947:50;;;10022:5;;;:40;;10082:5;10081:13;;;10098:35;10080:53;10151:5;;;10160:40;10151:50;11079:10;11607:49;11594:62;11669:3;:7;;;;11593:84;;;;;;-1:-1:-1;;8260:3448:95:o;7938:186::-;7997:6;8081:36;2458:4;8100:1;8089:8;8095:1;8089:5;:8::i;:::-;:12;;;;:::i;:::-;8088:28;;;;:::i;:::-;8081:6;:36::i;:::-;8074:43;;7938:186;;;;;:::o;2585:362:171:-;2650:20;2824:11;2838:16;2844:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;2838:16;2928:1;2824:30;;;;;2919:11;2904:27;;;;2585:362;-1:-1:-1;;2585:362:171:o;35844:677:159:-;35994:27;36093:25;36121:7;:71;;36154:38;:25;;;36180:11;36154:25;:38::i;:::-;36121:71;;;36131:20;:4;:18;;;:20::i;:::-;36093:99;;36360:9;36370:6;36360:17;;;;;;;;:::i;:::-;;;;;;;;;;;36348:29;;36387:128;36394:18;;;;36422:20;;;;36394:18;;:50;36387:128;;36482:21;;36472:9;:32;;:9;;36482:21;;;36472:32;;;;;;:::i;:::-;;;;;;;;;;;36460:44;;36387:128;;;36027:494;35844:677;;;;;:::o;40758:319::-;40829:10;40852:14;40868:20;40890:14;40906:20;40942:44;40974:11;40942:31;:44::i;:::-;40851:135;;;;;;;;41004:66;41025:8;41035:11;41048:8;41058:11;41004:20;:66::i;:::-;40996:74;40758:319;-1:-1:-1;;;;;;40758:319:159:o;37036:3468::-;37140:20;37162:21;37185:20;37207:21;37281:16;37300:6;37281:25;;37316:23;37342:9;37352:8;37342:19;;;;;;;;:::i;:::-;;;;;;;;;37484:14;37342:19;;;;;37484:14;;;;37342:19;;-1:-1:-1;37510:11:159;;37484:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;37484:22:159;:37;;;37480:67;;37530:17;;;;;;;;;;;;;;37480:67;37898:20;37962:5;37977:571;38000:14;;;;38026:11;;38000:22;;:14;;1996:66:171;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;38000:22:159;37985:37;;;;;37984:53;37977:571;;;38075:17;;;;38418:15;:11;38075:17;38418:15;:::i;:::-;38402:12;:31;38398:58;;38451:5;38435:21;;38398:58;38479:9;38489:11;38479:22;;;;;;;;:::i;:::-;;;;;;;;;;;38471:30;;38526:11;38515:22;;38039:509;37977:571;;;38861:22;;;;;38885:14;;;;38861:22;;;;;38885:14;38816:20;38885:14;38927:45;;:26;:20;:11;:18;;3943:1:171;3939:17;;3818:154;38927:20:159;:24;;4002:10:172;3878:150;38927:26:159;:45;;;38910:62;;39467:9;39463:1035;;;39806:1;39779:24;:9;:22;;;:24::i;:::-;:28;;;39775:349;;;39827:26;39856:70;39889:19;39907:1;39889:13;;;:19;:::i;:::-;39911:8;39921:4;39856:18;:70::i;:::-;39978:14;;;;39994:17;;;;;39978:14;;-1:-1:-1;39994:17:159;;;-1:-1:-1;39775:349:159;;-1:-1:-1;39775:349:159;;40079:18;:23;40051:58;;39775:349;40171:11;;;;40184:14;;;;40171:11;;-1:-1:-1;40184:14:159;;;-1:-1:-1;39463:1035:159;;;40230:26;40259:70;40292:19;:13;;;40310:1;40292:19;:::i;40259:70::-;40377:11;;;;;40390:14;;;;;40453;;;;40469:17;;;40377:11;;-1:-1:-1;40390:14:159;;;;;-1:-1:-1;40453:14:159;;-1:-1:-1;40469:17:159;;-1:-1:-1;;39463:1035:159;37234:3270;;;;;;;37036:3468;;;;;:::o;41444:655::-;41639:10;41857:16;;;:23;;41853:240;;41935:9;41946:12;41924:35;;;;;;;;15644:25:350;;;15717:34;15705:47;15700:2;15685:18;;15678:75;15632:2;15617:18;;15413:346;41924:35:159;;;;;;;;;;;;;41914:46;;;;;;41896:65;;41853:240;;;42020:60;;;;;;16109:25:350;;;16153:34;16223:15;;;16203:18;;;16196:43;;;;16255:18;;;16248:34;;;16318:15;;;16298:18;;;16291:43;16081:19;;42020:60:159;;;;;;;;;;;;42010:71;;;;;;41992:90;;41853:240;41444:655;;;;;;:::o;5154:336:171:-;5236:19;5267:11;5281:16;5287:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;5281:16;5267:30;;;;5362:3;5351:9;5347:19;5471:1;5460:9;5456:17;5451:1;5447;5436:9;5432:17;5428:25;5416:9;5405;5401:25;5398:56;5394:80;5379:95;;;5316:168;5154:336;;;;:::o;32655:473:159:-;32848:12;;;;;;32874:25;;;32870:60;;32908:22;;;;;;;;;;;;;;32870:60;32940:12;;;;:32;;;;2725:17;32940:32;;;33027:18;;;32940:12;33027:18;;;;;;;;;;;:26;;33049:4;;32940:12;33027:26;;33049:4;;33027:26;:::i;:::-;;;;-1:-1:-1;;33092:29:159;;;;;:11;8623:55:350;;;33092:29:159;;;8605:74:350;8695:18;;;8688:34;;;33092:4:159;:11;;;;8578:18:350;;33092:29:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7021:794:171;7170:18;7311:20;7290:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7290:17;:41;;;7286:71;;7340:17;;;;;;;;;;;;;;7286:71;7423:24;7437:9;7423:13;:24::i;:::-;7411:36;;7704:20;7683:17;:9;:15;;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;7683:17;:41;;;7679:130;;7752:46;7773:24;:20;7796:1;7773:24;:::i;:::-;7752:20;;;;;:46::i;5792:710::-;5858:18;6021:14;;6052:1;6037:17;;6017:38;5858:18;6156:10;6017:38;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;6156:10;6142:24;;6365:19;;;;6476:9;;6470:16;;5792:710;-1:-1:-1;;;5792:710:171:o;4393:313::-;4475:20;4507:11;4521:16;4527:9;1996:66;1948:20;1270:18;1267:46;-1:-1:-1;1264:1:171;1260:54;1371:22;;;1359:10;1356:38;1353:1;1349:46;1338:58;1489:22;;;1555:1;1551:17;;;1537:32;1613:1;1609:17;;;1595:32;1671:1;1667:17;;;1653:32;1729:1;1725:17;;;1711:32;1787:2;1783:18;;;1769:33;1933:36;1928:3;1924:46;1894:190;1842:260;;1041:1077;4521:16;4507:30;;;;4602:3;4591:9;4587:19;4687:1;4683;4672:9;4668:17;4664:25;4652:9;4641;4637:25;4634:56;4619:71;;;4556:144;4393:313;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;251:184:350:-;303:77;300:1;293:88;400:4;397:1;390:15;424:4;421:1;414:15;440:401;588:2;573:18;;621:1;610:13;;600:201;;657:77;654:1;647:88;758:4;755:1;748:15;786:4;783:1;776:15;600:201;810:25;;;440:401;:::o;1054:275::-;1149:6;1157;1210:2;1198:9;1189:7;1185:23;1181:32;1178:52;;;1226:1;1223;1216:12;1178:52;-1:-1:-1;;1249:23:350;;;1319:2;1304:18;;;1291:32;;-1:-1:-1;1054:275:350:o;1839:531::-;1881:3;1919:5;1913:12;1946:6;1941:3;1934:19;1971:1;1981:162;1995:6;1992:1;1989:13;1981:162;;;2057:4;2113:13;;;2109:22;;2103:29;2085:11;;;2081:20;;2074:59;2010:12;1981:162;;;2161:6;2158:1;2155:13;2152:87;;;2227:1;2220:4;2211:6;2206:3;2202:16;2198:27;2191:38;2152:87;-1:-1:-1;2284:2:350;2272:15;2289:66;2268:88;2259:98;;;;2359:4;2255:109;;1839:531;-1:-1:-1;;1839:531:350:o;2375:220::-;2524:2;2513:9;2506:21;2487:4;2544:45;2585:2;2574:9;2570:18;2562:6;2544:45;:::i;3102:154::-;3188:42;3181:5;3177:54;3170:5;3167:65;3157:93;;3246:1;3243;3236:12;3261:247;3320:6;3373:2;3361:9;3352:7;3348:23;3344:32;3341:52;;;3389:1;3386;3379:12;3341:52;3428:9;3415:23;3447:31;3472:5;3447:31;:::i;:::-;3497:5;3261:247;-1:-1:-1;;;3261:247:350:o;3513:160::-;3578:20;;3634:13;;3627:21;3617:32;;3607:60;;3663:1;3660;3653:12;3607:60;3513:160;;;:::o;3678:343::-;3779:6;3787;3795;3848:2;3836:9;3827:7;3823:23;3819:32;3816:52;;;3864:1;3861;3854:12;3816:52;3900:9;3887:23;3877:33;;3957:2;3946:9;3942:18;3929:32;3919:42;;3980:35;4011:2;4000:9;3996:18;3980:35;:::i;:::-;3970:45;;3678:343;;;;;:::o;4645:331::-;4734:6;4787:2;4775:9;4766:7;4762:23;4758:32;4755:52;;;4803:1;4800;4793:12;4755:52;4842:9;4829:23;4892:34;4885:5;4881:46;4874:5;4871:57;4861:85;;4942:1;4939;4932:12;4981:180;5040:6;5093:2;5081:9;5072:7;5068:23;5064:32;5061:52;;;5109:1;5106;5099:12;5061:52;-1:-1:-1;5132:23:350;;4981:180;-1:-1:-1;4981:180:350:o;6036:347::-;6087:8;6097:6;6151:3;6144:4;6136:6;6132:17;6128:27;6118:55;;6169:1;6166;6159:12;6118:55;-1:-1:-1;6192:20:350;;6235:18;6224:30;;6221:50;;;6267:1;6264;6257:12;6221:50;6304:4;6296:6;6292:17;6280:29;;6356:3;6349:4;6340:6;6332;6328:19;6324:30;6321:39;6318:59;;;6373:1;6370;6363:12;6318:59;6036:347;;;;;:::o;6388:854::-;6493:6;6501;6509;6517;6525;6533;6586:3;6574:9;6565:7;6561:23;6557:33;6554:53;;;6603:1;6600;6593:12;6554:53;6639:9;6626:23;6616:33;;6668:35;6699:2;6688:9;6684:18;6668:35;:::i;:::-;6658:45;;6754:2;6743:9;6739:18;6726:32;6777:18;6818:2;6810:6;6807:14;6804:34;;;6834:1;6831;6824:12;6804:34;6873:58;6923:7;6914:6;6903:9;6899:22;6873:58;:::i;:::-;6950:8;;-1:-1:-1;6847:84:350;-1:-1:-1;7038:2:350;7023:18;;7010:32;;-1:-1:-1;7054:16:350;;;7051:36;;;7083:1;7080;7073:12;7051:36;;7122:60;7174:7;7163:8;7152:9;7148:24;7122:60;:::i;:::-;6388:854;;;;-1:-1:-1;6388:854:350;;-1:-1:-1;6388:854:350;;7201:8;;6388:854;-1:-1:-1;;;6388:854:350:o;7483:316::-;7560:6;7568;7576;7629:2;7617:9;7608:7;7604:23;7600:32;7597:52;;;7645:1;7642;7635:12;7597:52;-1:-1:-1;;7668:23:350;;;7738:2;7723:18;;7710:32;;-1:-1:-1;7789:2:350;7774:18;;;7761:32;;7483:316;-1:-1:-1;7483:316:350:o;7804:433::-;8075:10;8067:6;8063:23;8052:9;8045:42;8123:6;8118:2;8107:9;8103:18;8096:34;8166:2;8161;8150:9;8146:18;8139:30;8026:4;8186:45;8227:2;8216:9;8212:18;8204:6;8186:45;:::i;:::-;8178:53;7804:433;-1:-1:-1;;;;;7804:433:350:o;8242:184::-;8294:77;8291:1;8284:88;8391:4;8388:1;8381:15;8415:4;8412:1;8405:15;8943:184;8995:77;8992:1;8985:88;9092:4;9089:1;9082:15;9116:4;9113:1;9106:15;9132:128;9172:3;9203:1;9199:6;9196:1;9193:13;9190:39;;;9209:18;;:::i;:::-;-1:-1:-1;9245:9:350;;9132:128::o;9265:125::-;9305:4;9333:1;9330;9327:8;9324:34;;;9338:18;;:::i;:::-;-1:-1:-1;9375:9:350;;9265:125::o;9395:271::-;9500:6;9508;9561:2;9549:9;9540:7;9536:23;9532:32;9529:52;;;9577:1;9574;9567:12;9529:52;-1:-1:-1;;9600:16:350;;9656:2;9641:18;;;9635:25;9600:16;;9635:25;;-1:-1:-1;9395:271:350:o;9671:184::-;9723:77;9720:1;9713:88;9820:4;9817:1;9810:15;9844:4;9841:1;9834:15;9860:120;9900:1;9926;9916:35;;9931:18;;:::i;:::-;-1:-1:-1;9965:9:350;;9860:120::o;9985:228::-;10025:7;10151:1;10083:66;10079:74;10076:1;10073:81;10068:1;10061:9;10054:17;10050:105;10047:131;;;10158:18;;:::i;:::-;-1:-1:-1;10198:9:350;;9985:228::o;10218:112::-;10250:1;10276;10266:35;;10281:18;;:::i;:::-;-1:-1:-1;10315:9:350;;10218:112::o;10335:246::-;10375:4;10404:34;10488:10;;;;10458;;10510:12;;;10507:38;;;10525:18;;:::i;:::-;10562:13;;10335:246;-1:-1:-1;;;10335:246:350:o;10586:253::-;10626:3;10654:34;10715:2;10712:1;10708:10;10745:2;10742:1;10738:10;10776:3;10772:2;10768:12;10763:3;10760:21;10757:47;;;10784:18;;:::i;:::-;10820:13;;10586:253;-1:-1:-1;;;;10586:253:350:o;10844:271::-;11027:6;11019;11014:3;11001:33;10983:3;11053:16;;11078:13;;;11053:16;10844:271;-1:-1:-1;10844:271:350:o;11120:325::-;11208:6;11203:3;11196:19;11260:6;11253:5;11246:4;11241:3;11237:14;11224:43;;11312:1;11305:4;11296:6;11291:3;11287:16;11283:27;11276:38;11178:3;11434:4;11364:66;11359:2;11351:6;11347:15;11343:88;11338:3;11334:98;11330:109;11323:116;;11120:325;;;;:::o;11450:502::-;11691:2;11680:9;11673:21;11654:4;11717:61;11774:2;11763:9;11759:18;11751:6;11743;11717:61;:::i;:::-;11826:9;11818:6;11814:22;11809:2;11798:9;11794:18;11787:50;11854:49;11896:6;11888;11880;11854:49;:::i;:::-;11846:57;;;11939:6;11934:2;11923:9;11919:18;11912:34;11450:502;;;;;;;;:::o;11957:184::-;12027:6;12080:2;12068:9;12059:7;12055:23;12051:32;12048:52;;;12096:1;12093;12086:12;12048:52;-1:-1:-1;12119:16:350;;11957:184;-1:-1:-1;11957:184:350:o;12146:229::-;12185:4;12214:18;12282:10;;;;12252;;12304:12;;;12301:38;;;12319:18;;:::i;12380:191::-;12411:1;12437:18;12482:2;12479:1;12475:10;12504:3;12494:37;;12511:18;;:::i;:::-;12549:10;;12545:20;;;;;12380:191;-1:-1:-1;;12380:191:350:o;12576:276::-;12671:6;12724:2;12712:9;12703:7;12699:23;12695:32;12692:52;;;12740:1;12737;12730:12;12692:52;12772:9;12766:16;12791:31;12816:5;12791:31;:::i;13810:236::-;13849:3;13877:18;13922:2;13919:1;13915:10;13952:2;13949:1;13945:10;13983:3;13979:2;13975:12;13970:3;13967:21;13964:47;;;13991:18;;:::i;14051:195::-;14090:3;14121:66;14114:5;14111:77;14108:103;;14191:18;;:::i;:::-;-1:-1:-1;14238:1:350;14227:13;;14051:195::o;14251:184::-;14303:77;14300:1;14293:88;14400:4;14397:1;14390:15;14424:4;14421:1;14414:15;14440:655;14479:7;14511:66;14603:1;14600;14596:9;14631:1;14628;14624:9;14676:1;14672:2;14668:10;14665:1;14662:17;14657:2;14653;14649:11;14645:35;14642:61;;;14683:18;;:::i;:::-;14722:66;14814:1;14811;14807:9;14861:1;14857:2;14852:11;14849:1;14845:19;14840:2;14836;14832:11;14828:37;14825:63;;;14868:18;;:::i;:::-;14914:1;14911;14907:9;14897:19;;14961:1;14957:2;14952:11;14949:1;14945:19;14940:2;14936;14932:11;14928:37;14925:63;;;14968:18;;:::i;:::-;15033:1;15029:2;15024:11;15021:1;15017:19;15012:2;15008;15004:11;15000:37;14997:63;;;15040:18;;:::i;:::-;-1:-1:-1;;;15080:9:350;;;;;14440:655;-1:-1:-1;;;14440:655:350:o;15100:308::-;15139:1;15165;15155:35;;15170:18;;:::i;:::-;15287:66;15284:1;15281:73;15212:66;15209:1;15206:73;15202:153;15199:179;;;15358:18;;:::i;:::-;-1:-1:-1;15392:10:350;;15100:308::o",linkReferences:{},immutableReferences:{"94380":[{start:1235,length:32},{start:7864,length:32}],"94383":[{start:1932,length:32},{start:3697,length:32},{start:6751,length:32},{start:6885,length:32},{start:7408,length:32},{start:7714,length:32}],"94386":[{start:1813,length:32},{start:3589,length:32},{start:3790,length:32},{start:7681,length:32},{start:9473,length:32},{start:11378,length:32},{start:13231,length:32},{start:13533,length:32},{start:13797,length:32},{start:14017,length:32}],"94390":[{start:1762,length:32},{start:4119,length:32},{start:10289,length:32}],"94394":[{start:716,length:32},{start:8102,length:32},{start:8962,length:32}],"94398":[{start:1294,length:32},{start:5365,length:32},{start:9939,length:32}],"94402":[{start:800,length:32},{start:2836,length:32},{start:5100,length:32},{start:6381,length:32},{start:15193,length:32}],"94406":[{start:2495,length:32},{start:5430,length:32}],"94409":[{start:1679,length:32},{start:9785,length:32}]}},methodIdentifiers:{"absolutePrestate()":"8d450a95","addLocalData(uint256,uint256,uint256)":"f8f43ff6","attack(uint256,bytes32)":"c55cd0c7","claimCredit(address)":"60e27464","claimData(uint256)":"c6f0308c","claimDataLen()":"8980e0cc","createdAt()":"cf09e0d0","credit(address)":"d5d44d80","defend(uint256,bytes32)":"35fef567","extraData()":"609d3334","gameData()":"fa24f743","gameDuration()":"e1f0c376","gameType()":"bbdc02db","getRequiredBond(uint128)":"c395e1ca","initialize()":"8129fc1c","l1Head()":"6361506d","l2BlockNumber()":"8b85902b","l2ChainId()":"d6ae3cd5","maxGameDepth()":"fa315aa9","move(uint256,bytes32,bool)":"632247ea","resolve()":"2810e1d6","resolveClaim(uint256)":"fdffbb28","resolvedAt()":"19effeb4","rootClaim()":"bcef3b55","splitDepth()":"ec5e6308","startingBlockNumber()":"70872aa5","startingOutputRoot()":"57da950e","startingRootHash()":"25fc2ace","status()":"200d2ed2","step(uint256,bool,bytes,bytes)":"d8cc1a3c","version()":"54fd4d50","vm()":"3a768463","weth()":"3fc8cef3"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_absolutePrestate","type":"bytes32"},{"internalType":"uint256","name":"_maxGameDepth","type":"uint256"},{"internalType":"uint256","name":"_splitDepth","type":"uint256"},{"internalType":"Duration","name":"_gameDuration","type":"uint64"},{"internalType":"contract IBigStepper","name":"_vm","type":"address"},{"internalType":"contract IDelayedWETH","name":"_weth","type":"address"},{"internalType":"contract IAnchorStateRegistry","name":"_anchorStateRegistry","type":"address"},{"internalType":"uint256","name":"_l2ChainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"AnchorRootNotFound","type":"error"},{"inputs":[],"name":"BondTransferFailed","type":"error"},{"inputs":[],"name":"CannotDefendRootClaim","type":"error"},{"inputs":[],"name":"ClaimAboveSplit","type":"error"},{"inputs":[],"name":"ClaimAlreadyExists","type":"error"},{"inputs":[],"name":"ClaimAlreadyResolved","type":"error"},{"inputs":[],"name":"ClockNotExpired","type":"error"},{"inputs":[],"name":"ClockTimeExceeded","type":"error"},{"inputs":[],"name":"DuplicateStep","type":"error"},{"inputs":[],"name":"GameDepthExceeded","type":"error"},{"inputs":[],"name":"GameNotInProgress","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[],"name":"InvalidLocalIdent","type":"error"},{"inputs":[],"name":"InvalidParent","type":"error"},{"inputs":[],"name":"InvalidPrestate","type":"error"},{"inputs":[],"name":"InvalidSplitDepth","type":"error"},{"inputs":[],"name":"NoCreditToClaim","type":"error"},{"inputs":[],"name":"OutOfOrderResolution","type":"error"},{"inputs":[{"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"UnexpectedRootClaim","type":"error"},{"inputs":[],"name":"ValidStep","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"parentIndex","type":"uint256"},{"indexed":true,"internalType":"Claim","name":"claim","type":"bytes32"},{"indexed":true,"internalType":"address","name":"claimant","type":"address"}],"name":"Move","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum GameStatus","name":"status","type":"uint8"}],"name":"Resolved","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"absolutePrestate","outputs":[{"internalType":"Claim","name":"absolutePrestate_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ident","type":"uint256"},{"internalType":"uint256","name":"_execLeafIdx","type":"uint256"},{"internalType":"uint256","name":"_partOffset","type":"uint256"}],"name":"addLocalData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"attack","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claimCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimData","outputs":[{"internalType":"uint32","name":"parentIndex","type":"uint32"},{"internalType":"address","name":"counteredBy","type":"address"},{"internalType":"address","name":"claimant","type":"address"},{"internalType":"uint128","name":"bond","type":"uint128"},{"internalType":"Claim","name":"claim","type":"bytes32"},{"internalType":"Position","name":"position","type":"uint128"},{"internalType":"Clock","name":"clock","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDataLen","outputs":[{"internalType":"uint256","name":"len_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"credit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"defend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"extraData","outputs":[{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gameData","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Claim","name":"rootClaim_","type":"bytes32"},{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameDuration","outputs":[{"internalType":"Duration","name":"gameDuration_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameType","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Position","name":"_position","type":"uint128"}],"name":"getRequiredBond","outputs":[{"internalType":"uint256","name":"requiredBond_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"l1Head","outputs":[{"internalType":"Hash","name":"l1Head_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2BlockNumber","outputs":[{"internalType":"uint256","name":"l2BlockNumber_","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2ChainId","outputs":[{"internalType":"uint256","name":"l2ChainId_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGameDepth","outputs":[{"internalType":"uint256","name":"maxGameDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_challengeIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"},{"internalType":"bool","name":"_isAttack","type":"bool"}],"name":"move","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolve","outputs":[{"internalType":"enum GameStatus","name":"status_","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"}],"name":"resolveClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolvedAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootClaim","outputs":[{"internalType":"Claim","name":"rootClaim_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"splitDepth","outputs":[{"internalType":"uint256","name":"splitDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"startingBlockNumber_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingOutputRoot","outputs":[{"internalType":"Hash","name":"root","type":"bytes32"},{"internalType":"uint256","name":"l2BlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingRootHash","outputs":[{"internalType":"Hash","name":"startingRootHash_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum GameStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"},{"internalType":"bool","name":"_isAttack","type":"bool"},{"internalType":"bytes","name":"_stateData","type":"bytes"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vm","outputs":[{"internalType":"contract IBigStepper","name":"vm_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IDelayedWETH","name":"weth_","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"UnexpectedRootClaim(bytes32)":[{"params":{"rootClaim":"is the claim that was unexpected."}}]},"kind":"dev","methods":{"addLocalData(uint256,uint256,uint256)":{"params":{"_execLeafIdx":"The index of the leaf claim in an execution subgame that requires the local data for a step.","_ident":"The local identifier of the data to post.","_partOffset":"The offset of the data to post."}},"attack(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative attack position.","_parentIndex":"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{"params":{"_recipient":"The owner and recipient of the credit."}},"constructor":{"params":{"_absolutePrestate":"The absolute prestate of the instruction trace.","_anchorStateRegistry":"The contract that stores the anchor state for each game type.","_gameDuration":"The duration of the game.","_gameType":"The type ID of the game.","_l2ChainId":"Chain ID of the L2 network this contract argues about.","_maxGameDepth":"The maximum depth of bisection.","_splitDepth":"The final depth of the output bisection portion of the game.","_vm":"An onchain VM that performs single instruction steps on an FPP trace.","_weth":"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative defense position.","_parentIndex":"Index of the claim to defend in the `claimData` array."}},"extraData()":{"details":"`clones-with-immutable-args` argument #2","returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{"returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator.","gameType_":"The type of proof system being used.","rootClaim_":"The root claim of the DisputeGame."}},"gameType()":{"details":"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.","returns":{"gameType_":"The type of proof system being used."}},"getRequiredBond(uint128)":{"params":{"_position":"The position of the bonded interaction."},"returns":{"requiredBond_":"The required ETH bond for the given move, in wei."}},"initialize()":{"details":"This function may only be called once."},"move(uint256,bytes32,bool)":{"params":{"_challengeIndex":"The index of the claim being moved against.","_claim":"The claim at the next logical position in the game.","_isAttack":"Whether or not the move is an attack or defense."}},"resolve()":{"details":"May only be called if the `status` is `IN_PROGRESS`.","returns":{"status_":"The status of the game after resolution."}},"resolveClaim(uint256)":{"details":"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there\'s a successful step against it.","params":{"_claimIndex":"The index of the subgame root claim to resolve."}},"rootClaim()":{"details":"`clones-with-immutable-args` argument #1","returns":{"rootClaim_":"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{"details":"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.","params":{"_claimIndex":"The index of the challenged claim within `claimData`.","_isAttack":"Whether or not the step is an attack or a defense.","_proof":"Proof to access memory nodes in the VM\'s merkle state tree.","_stateData":"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},"stateVariables":{"status":{"return":"The current status of the game.","returns":{"_0":"The current status of the game."}},"version":{"custom:semver":"0.9.0"}},"title":"FaultDisputeGame","version":1},"userdoc":{"errors":{"AlreadyInitialized()":[{"notice":"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{"notice":"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{"notice":"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{"notice":"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{"notice":"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{"notice":"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{"notice":"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{"notice":"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{"notice":"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{"notice":"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{"notice":"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{"notice":"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{"notice":"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{"notice":"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{"notice":"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{"notice":"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{"notice":"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{"notice":"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{"notice":"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{"notice":"Thrown when a step is made that computes the expected post state correctly."}]},"events":{"Move(uint256,bytes32,address)":{"notice":"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{"notice":"Emitted when the game is resolved."}},"kind":"user","methods":{"absolutePrestate()":{"notice":"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{"notice":"Posts the requested local data to the VM\'s `PreimageOralce`."},"attack(uint256,bytes32)":{"notice":"Attack a disagreed upon `Claim`."},"claimCredit(address)":{"notice":"Claim the credit belonging to the recipient address."},"claimData(uint256)":{"notice":"An append-only array of all claims made during the dispute game."},"claimDataLen()":{"notice":"Returns the length of the `claimData` array."},"createdAt()":{"notice":"The starting timestamp of the game"},"credit(address)":{"notice":"Credited balances for winning participants."},"defend(uint256,bytes32)":{"notice":"Defend an agreed upon `Claim`."},"extraData()":{"notice":"Getter for the extra data."},"gameData()":{"notice":"A compliant implementation of this interface should return the components of the game UUID\'s preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{"notice":"Returns the game duration."},"gameType()":{"notice":"Getter for the game type."},"getRequiredBond(uint128)":{"notice":"Returns the required bond for a given move kind."},"initialize()":{"notice":"Initializes the contract."},"l1Head()":{"notice":"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{"notice":"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{"notice":"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{"notice":"Returns the max game depth."},"move(uint256,bytes32,bool)":{"notice":"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{"notice":"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{"notice":"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{"notice":"The timestamp of the game\'s global resolution."},"rootClaim()":{"notice":"Getter for the root claim."},"splitDepth()":{"notice":"Returns the split depth."},"startingBlockNumber()":{"notice":"Only the starting block number of the game."},"startingOutputRoot()":{"notice":"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{"notice":"Only the starting output root of the game."},"status()":{"notice":"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{"notice":"Perform an instruction step via an on-chain fault proof processor."},"version()":{"notice":"Semantic version."},"vm()":{"notice":"Returns the address of the VM."},"weth()":{"notice":"Returns the WETH contract for holding ETH."}},"notice":"An implementation of the `IFaultDisputeGame` interface.","version":1}},"settings":{"compilationTarget":{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@cwia/=lib/clones-with-immutable-args/src/",":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/lib-keccak/lib/solady/src/",":clones-with-immutable-args/=lib/clones-with-immutable-args/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/src/",":solmate/=lib/solmate/src/"]},"sources":{"lib/solady/src/utils/FixedPointMathLib.sol":{"keccak256":"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160","license":"MIT","urls":["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"]},"src/cannon/interfaces/IPreimageOracle.sol":{"keccak256":"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f","license":"MIT","urls":["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"]},"src/dispute/FaultDisputeGame.sol":{"keccak256":"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c","license":"MIT","urls":["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"]},"src/dispute/interfaces/IAnchorStateRegistry.sol":{"keccak256":"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3","license":"MIT","urls":["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"]},"src/dispute/interfaces/IBigStepper.sol":{"keccak256":"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a","license":"MIT","urls":["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"]},"src/dispute/interfaces/IDelayedWETH.sol":{"keccak256":"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04","license":"MIT","urls":["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6","license":"MIT","urls":["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IFaultDisputeGame.sol":{"keccak256":"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7","license":"MIT","urls":["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/interfaces/IWETH.sol":{"keccak256":"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557","license":"MIT","urls":["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504","license":"MIT","urls":["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c","license":"MIT","urls":["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"]},"src/libraries/Clone.sol":{"keccak256":"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829","license":"BSD","urls":["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f","license":"MIT","urls":["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6","license":"MIT","urls":["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_absolutePrestate",type:"bytes32"},{internalType:"uint256",name:"_maxGameDepth",type:"uint256"},{internalType:"uint256",name:"_splitDepth",type:"uint256"},{internalType:"Duration",name:"_gameDuration",type:"uint64"},{internalType:"contract IBigStepper",name:"_vm",type:"address"},{internalType:"contract IDelayedWETH",name:"_weth",type:"address"},{internalType:"contract IAnchorStateRegistry",name:"_anchorStateRegistry",type:"address"},{internalType:"uint256",name:"_l2ChainId",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"AlreadyInitialized"},{inputs:[],type:"error",name:"AnchorRootNotFound"},{inputs:[],type:"error",name:"BondTransferFailed"},{inputs:[],type:"error",name:"CannotDefendRootClaim"},{inputs:[],type:"error",name:"ClaimAboveSplit"},{inputs:[],type:"error",name:"ClaimAlreadyExists"},{inputs:[],type:"error",name:"ClaimAlreadyResolved"},{inputs:[],type:"error",name:"ClockNotExpired"},{inputs:[],type:"error",name:"ClockTimeExceeded"},{inputs:[],type:"error",name:"DuplicateStep"},{inputs:[],type:"error",name:"GameDepthExceeded"},{inputs:[],type:"error",name:"GameNotInProgress"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[],type:"error",name:"InvalidLocalIdent"},{inputs:[],type:"error",name:"InvalidParent"},{inputs:[],type:"error",name:"InvalidPrestate"},{inputs:[],type:"error",name:"InvalidSplitDepth"},{inputs:[],type:"error",name:"NoCreditToClaim"},{inputs:[],type:"error",name:"OutOfOrderResolution"},{inputs:[{internalType:"Claim",name:"rootClaim",type:"bytes32"}],type:"error",name:"UnexpectedRootClaim"},{inputs:[],type:"error",name:"ValidStep"},{inputs:[{internalType:"uint256",name:"parentIndex",type:"uint256",indexed:!0},{internalType:"Claim",name:"claim",type:"bytes32",indexed:!0},{internalType:"address",name:"claimant",type:"address",indexed:!0}],type:"event",name:"Move",anonymous:!1},{inputs:[{internalType:"enum GameStatus",name:"status",type:"uint8",indexed:!0}],type:"event",name:"Resolved",anonymous:!1},{inputs:[],stateMutability:"payable",type:"fallback"},{inputs:[],stateMutability:"view",type:"function",name:"absolutePrestate",outputs:[{internalType:"Claim",name:"absolutePrestate_",type:"bytes32"}]},{inputs:[{internalType:"uint256",name:"_ident",type:"uint256"},{internalType:"uint256",name:"_execLeafIdx",type:"uint256"},{internalType:"uint256",name:"_partOffset",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"addLocalData"},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"attack"},{inputs:[{internalType:"address",name:"_recipient",type:"address"}],stateMutability:"nonpayable",type:"function",name:"claimCredit"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"claimData",outputs:[{internalType:"uint32",name:"parentIndex",type:"uint32"},{internalType:"address",name:"counteredBy",type:"address"},{internalType:"address",name:"claimant",type:"address"},{internalType:"uint128",name:"bond",type:"uint128"},{internalType:"Claim",name:"claim",type:"bytes32"},{internalType:"Position",name:"position",type:"uint128"},{internalType:"Clock",name:"clock",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"claimDataLen",outputs:[{internalType:"uint256",name:"len_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"createdAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"credit",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"defend"},{inputs:[],stateMutability:"pure",type:"function",name:"extraData",outputs:[{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameData",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Claim",name:"rootClaim_",type:"bytes32"},{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameDuration",outputs:[{internalType:"Duration",name:"gameDuration_",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameType",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"}]},{inputs:[{internalType:"Position",name:"_position",type:"uint128"}],stateMutability:"view",type:"function",name:"getRequiredBond",outputs:[{internalType:"uint256",name:"requiredBond_",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"initialize"},{inputs:[],stateMutability:"pure",type:"function",name:"l1Head",outputs:[{internalType:"Hash",name:"l1Head_",type:"bytes32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"l2BlockNumber",outputs:[{internalType:"uint256",name:"l2BlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2ChainId",outputs:[{internalType:"uint256",name:"l2ChainId_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"maxGameDepth",outputs:[{internalType:"uint256",name:"maxGameDepth_",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_challengeIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"},{internalType:"bool",name:"_isAttack",type:"bool"}],stateMutability:"payable",type:"function",name:"move"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"resolve",outputs:[{internalType:"enum GameStatus",name:"status_",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"}],stateMutability:"payable",type:"function",name:"resolveClaim"},{inputs:[],stateMutability:"view",type:"function",name:"resolvedAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[],stateMutability:"pure",type:"function",name:"rootClaim",outputs:[{internalType:"Claim",name:"rootClaim_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"splitDepth",outputs:[{internalType:"uint256",name:"splitDepth_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"startingBlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingOutputRoot",outputs:[{internalType:"Hash",name:"root",type:"bytes32"},{internalType:"uint256",name:"l2BlockNumber",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingRootHash",outputs:[{internalType:"Hash",name:"startingRootHash_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"status",outputs:[{internalType:"enum GameStatus",name:"",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"},{internalType:"bool",name:"_isAttack",type:"bool"},{internalType:"bytes",name:"_stateData",type:"bytes"},{internalType:"bytes",name:"_proof",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"step"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"vm",outputs:[{internalType:"contract IBigStepper",name:"vm_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"weth",outputs:[{internalType:"contract IDelayedWETH",name:"weth_",type:"address"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},version:1},userdoc:{kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},version:1}},settings:{remappings:["@cwia/=lib/clones-with-immutable-args/src/","@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/lib-keccak/lib/solady/src/","clones-with-immutable-args/=lib/clones-with-immutable-args/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/src/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},evmVersion:"london",libraries:{}},sources:{"lib/solady/src/utils/FixedPointMathLib.sol":{keccak256:"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160",urls:["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"],license:"MIT"},"src/cannon/interfaces/IPreimageOracle.sol":{keccak256:"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f",urls:["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"],license:"MIT"},"src/dispute/FaultDisputeGame.sol":{keccak256:"0x095d22e683f20a4e5a0541968a9bd98e70a4db81d2adfbde5d9918b45501d55c",urls:["bzz-raw://c60431da74c7e4e51be69ece49a0b92afd483c9020c2e7c726ad179e785199f9","dweb:/ipfs/QmSExbitxvKi6miC7o4UFZD6ssV2LGr7jJxWPY3jg3rvwX"],license:"MIT"},"src/dispute/interfaces/IAnchorStateRegistry.sol":{keccak256:"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3",urls:["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"],license:"MIT"},"src/dispute/interfaces/IBigStepper.sol":{keccak256:"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a",urls:["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"],license:"MIT"},"src/dispute/interfaces/IDelayedWETH.sol":{keccak256:"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04",urls:["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0x3a324ac81162fed73b9b9e78bef9cb08dd9dd2563289b843c25ca3bc61fab3b6",urls:["bzz-raw://07468a6f4863d2e729cc5348c22ab2c20aa3d0a82ad9ee23f0121a2d0c0e087d","dweb:/ipfs/QmYniMhZBtREzRf6G1fDssLbREFdMBcKCcJ2mt3GbkC87S"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IFaultDisputeGame.sol":{keccak256:"0x57257f3fcdf56a3ec906fc7dba4b4c914330bd7f0d5cabea77a99692c410dad7",urls:["bzz-raw://9308a4d42e0556e0f48985b1fee7ab71b1ece11bb347c220cd787012e4a6aff3","dweb:/ipfs/QmUYrMcwTpqMtVqFhfebkAJ3dSJNBXix5fFn2KNZRQBfK7"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/interfaces/IWETH.sol":{keccak256:"0x681482892d7283baeb0c55178ff0654db694ada095972b7447cff1d4bbe2d557",urls:["bzz-raw://a02b310db3ed444a77451ed0951366e0a44be8c4d3b214eacc61e07e0262855c","dweb:/ipfs/QmaQfom7LazaxFzYmhQv6NeR5pGHQV4qBn5fNjx2GrEjKu"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xfeb49b2421dbacc775aa27adf3b7803ebf84b47ac8f5b9fbc372bd9c45b76504",urls:["bzz-raw://95dc9d09fc4dbb4a7d7ffa70cb275277635d4fd1554421a65fd2e1329fddb059","dweb:/ipfs/QmVGHtM3ABWEBFETvAz6sBucirsRfuTrn2CdiUBH1nt3un"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x42cd5a022686434153142b10871ff07e7ed27d32c28d5285f5d2cc6b7de1510c",urls:["bzz-raw://06e460b40977e0668dd27fcc4dd5496e24561e5e9c64cf812e077e2d5db60ffa","dweb:/ipfs/QmTrbrc7ykFhLmtEdKWq9sANRbuDMvjqthUNxtEkW3vTGg"],license:"MIT"},"src/libraries/Clone.sol":{keccak256:"0x5893eb0f0cb5ab0ed0db1ba47ce78de2362610864368a71963615334f3f5a829",urls:["bzz-raw://6bda119dc186663e7f67bcadb72263b4af023b2e1bff5aff559e86ceed339d1a","dweb:/ipfs/QmdqZyX8GMptLderaZW8cEeoKy5doNhW6jkTX2SySn1a8e"],license:"BSD"},"src/libraries/DisputeErrors.sol":{keccak256:"0x42ea16547770cf8b3fcd0190a5fce1e1186defb1a0b641590dfd3a85d339f42f",urls:["bzz-raw://123aa78b13b38b764b1b38373bb6b86a92a8ac24f2135efc54a3599ae915cfe5","dweb:/ipfs/QmSVBonKaGYprZPHbFGcFMK3vBTxk2u7YGxF9VCVVrfhzi"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0x1a0103e1b54c2c982aa97bbf1e9c3c04b18a643c9f7eb9dd1e821594882438c6",urls:["bzz-raw://a895615bd84f9ac5270220c6380f836d0781c7d35a9049de18efa93fcd37352b","dweb:/ipfs/QmNvwHGWU9zBmhv9fweUpmKaAuSD6qKmguMypF4wwbmaFe"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:94429,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"createdAt",offset:0,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94433,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"resolvedAt",offset:8,slot:"0",type:"t_userDefinedValueType(Timestamp)99908"},{astId:94437,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"status",offset:16,slot:"0",type:"t_enum(GameStatus)99924"},{astId:94442,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimData",offset:0,slot:"1",type:"t_array(t_struct(ClaimData)97051_storage)dyn_storage"},{astId:94447,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"credit",offset:0,slot:"2",type:"t_mapping(t_address,t_uint256)"},{astId:94453,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claims",offset:0,slot:"3",type:"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)"},{astId:94459,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgames",offset:0,slot:"4",type:"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)"},{astId:94462,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgameAtRootResolved",offset:0,slot:"5",type:"t_bool"},{astId:94465,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"initialized",offset:1,slot:"5",type:"t_bool"},{astId:94469,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"startingOutputRoot",offset:0,slot:"6",type:"t_struct(OutputRoot)99930_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(ClaimData)97051_storage)dyn_storage":{encoding:"dynamic_array",label:"struct IFaultDisputeGame.ClaimData[]",numberOfBytes:"32",base:"t_struct(ClaimData)97051_storage"},"t_array(t_uint256)dyn_storage":{encoding:"dynamic_array",label:"uint256[]",numberOfBytes:"32",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_enum(GameStatus)99924":{encoding:"inplace",label:"enum GameStatus",numberOfBytes:"1"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => uint256[])",numberOfBytes:"32",value:"t_array(t_uint256)dyn_storage"},"t_mapping(t_userDefinedValueType(ClaimHash)99904,t_bool)":{encoding:"mapping",key:"t_userDefinedValueType(ClaimHash)99904",label:"mapping(ClaimHash => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ClaimData)97051_storage":{encoding:"inplace",label:"struct IFaultDisputeGame.ClaimData",numberOfBytes:"160",members:[{astId:97035,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"parentIndex",offset:0,slot:"0",type:"t_uint32"},{astId:97037,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"counteredBy",offset:4,slot:"0",type:"t_address"},{astId:97039,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimant",offset:0,slot:"1",type:"t_address"},{astId:97041,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"bond",offset:0,slot:"2",type:"t_uint128"},{astId:97044,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claim",offset:0,slot:"3",type:"t_userDefinedValueType(Claim)99902"},{astId:97047,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"position",offset:0,slot:"4",type:"t_userDefinedValueType(Position)99916"},{astId:97050,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"clock",offset:16,slot:"4",type:"t_userDefinedValueType(Clock)99914"}]},"t_struct(OutputRoot)99930_storage":{encoding:"inplace",label:"struct OutputRoot",numberOfBytes:"64",members:[{astId:99927,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"root",offset:0,slot:"0",type:"t_userDefinedValueType(Hash)99900"},{astId:99929,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"l2BlockNumber",offset:0,slot:"1",type:"t_uint256"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},"t_userDefinedValueType(Claim)99902":{encoding:"inplace",label:"Claim",numberOfBytes:"32"},"t_userDefinedValueType(ClaimHash)99904":{encoding:"inplace",label:"ClaimHash",numberOfBytes:"32"},"t_userDefinedValueType(Clock)99914":{encoding:"inplace",label:"Clock",numberOfBytes:"16"},"t_userDefinedValueType(Hash)99900":{encoding:"inplace",label:"Hash",numberOfBytes:"32"},"t_userDefinedValueType(Position)99916":{encoding:"inplace",label:"Position",numberOfBytes:"16"},"t_userDefinedValueType(Timestamp)99908":{encoding:"inplace",label:"Timestamp",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameDuration()":{notice:"Returns the game duration."},"gameType()":{notice:"Getter for the game type."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"A block hash on the L1 that contains the disputed output root."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},events:{"Move(uint256,bytes32,address)":{notice:"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{notice:"Emitted when the game is resolved."}},errors:{"AlreadyInitialized()":[{notice:"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{notice:"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{notice:"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{notice:"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{notice:"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{notice:"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{notice:"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{notice:"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{notice:"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{notice:"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{notice:"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{notice:"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidLocalIdent()":[{notice:"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{notice:"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{notice:"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{notice:"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"NoCreditToClaim()":[{notice:"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{notice:"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{notice:"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{notice:"Thrown when a step is made that computes the expected post state correctly."}]},notice:"An implementation of the `IFaultDisputeGame` interface."},devdoc:{version:1,kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_gameDuration:"The duration of the game.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #2",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #1",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},errors:{"UnexpectedRootClaim(bytes32)":[{params:{rootClaim:"is the claim that was unexpected."}}]},title:"FaultDisputeGame"},id:159}});var sQe=D(iQe=>{"use strict";u();p();Object.defineProperty(iQe,"__esModule",{value:!0})});var s1e=D(ti=>{"use strict";u();p();Object.defineProperty(ti,"__esModule",{value:!0});ti.bytes32ify=ti.hexStringEquals=ti.encodeHex=ti.padHexString=ti.toRpcHexString=ti.toHexString=ti.fromHexString=ti.add0x=ti.remove0x=void 0;var i1e=ia(),f1e=Vt(),wWt=t=>t===void 0?t:t.startsWith("0x")?t.slice(2):t;ti.remove0x=wWt;var TWt=t=>t===void 0||t.startsWith("0x")?t:"0x"+t;ti.add0x=TWt;var xWt=t=>typeof t=="string"&&t.startsWith("0x")?_.Buffer.from(t.slice(2),"hex"):_.Buffer.from(t);ti.fromHexString=xWt;var EWt=t=>typeof t=="number"?i1e.BigNumber.from(t).toHexString():"0x"+(0,ti.fromHexString)(t).toString("hex");ti.toHexString=EWt;var _Wt=t=>{let e;return typeof t=="number"?e="0x"+t.toString(16):e=t.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};ti.toRpcHexString=_Wt;var AWt=(t,e)=>t.length===2+e*2?t:"0x"+t.slice(2).padStart(e*2,"0");ti.padHexString=AWt;var IWt=(t,e)=>(0,ti.remove0x)(i1e.BigNumber.from(t).toHexString()).padStart(e,"0");ti.encodeHex=IWt;var CWt=(t,e)=>{if(!(0,f1e.isHexString)(t))throw new Error(`input is not a hex string: ${t}`);if(!(0,f1e.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return t.toLowerCase()===e.toLowerCase()};ti.hexStringEquals=CWt;var kWt=t=>(0,f1e.hexZeroPad)(i1e.BigNumber.from(t).toHexString(),32);ti.bytes32ify=kWt});var dQe=D(sq=>{"use strict";u();p();Object.defineProperty(sq,"__esModule",{value:!0});sq.bnToAddress=void 0;var oQe=ia(),SWt=Po(),cQe=s1e(),RWt=t=>{t=oQe.BigNumber.from(t),t.isNegative()&&(t=oQe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(t).add(1));let e=t.toHexString();return e=(0,cQe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,cQe.add0x)(e),e=(0,SWt.getAddress)(e),e};sq.bnToAddress=RWt});var o1e=D(Jd=>{"use strict";u();p();Object.defineProperty(Jd,"__esModule",{value:!0});Jd.compareAddrs=Jd.getenv=Jd.reqenv=Jd.clone=Jd.sleep=void 0;var MWt=async t=>new Promise(e=>{setTimeout(()=>{e(null)},t)});Jd.sleep=MWt;var BWt=t=>{if(typeof t>"u")throw new Error("Trying to clone undefined object");return Object.assign({},t)};Jd.clone=BWt;var DWt=t=>{let e=x.env[t];if(e===void 0)throw new Error(`missing env var ${t}`);return e};Jd.reqenv=DWt;var PWt=(t,e)=>x.env[t]||e;Jd.getenv=PWt;var LWt=(t,e)=>t.toLowerCase()===e.toLowerCase();Jd.compareAddrs=LWt});var c1e=D((Vda,uQe)=>{u();p();function lQe(){var t=[].slice.call(arguments);function e(n,a){Object.keys(a).forEach(function(r){~t.indexOf(r)||(n[r]=a[r])})}return function(){for(var a=[].slice.call(arguments),r=0,f={};r{"use strict";u();p();function hQe(t,e){return typeof t>"u"||t===null?!1:e in Object(t)}function mQe(t){var e=t.replace(/([^\\])\[/g,"$1.["),n=e.match(/(\\\.|[^.]+?)+/g);return n.map(function(r){if(r==="constructor"||r==="__proto__"||r==="prototype")return{};var f=/^\[(\d+)\]$/,i=f.exec(r),s=null;return i?s={i:parseFloat(i[1])}:s={p:r.replace(/\\([.[\]])/g,"$1")},s})}function pQe(t,e,n){var a=t,r=null;n=typeof n>"u"?e.length:n;for(var f=0;f"u"?a=a[i.i]:a=a[i.p],f===n-1&&(r=a))}return r}function FWt(t,e,n){for(var a=t,r=n.length,f=null,i=0;i"u"?f.i:f.p,a[s]=e;else if(typeof f.p<"u"&&a[f.p])a=a[f.p];else if(typeof f.i<"u"&&a[f.i])a=a[f.i];else{var c=n[i+1];s=typeof f.p>"u"?f.i:f.p,o=typeof c.p>"u"?[]:{},a[s]=o,a=a[s]}}}function bQe(t,e){var n=mQe(e),a=n[n.length-1],r={parent:n.length>1?pQe(t,n,n.length-1):t,name:a.p||a.i,value:pQe(t,n)};return r.exists=hQe(r.parent,r.name),r}function NWt(t,e){var n=bQe(t,e);return n.value}function OWt(t,e,n){var a=mQe(e);return FWt(t,n,a),t}yQe.exports={hasProperty:hQe,getPathInfo:bQe,getPathValue:NWt,setPathValue:OWt}});var Xd=D((e5a,vQe)=>{u();p();vQe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)r[n]=a;else return r[n]}});var TQe=D((a5a,wQe)=>{u();p();var UWt=Xd();wQe.exports=function(e,n){var a=UWt(e,"negate"),r=n[0];return a?!r:r}});var sR=D((d1e,l1e)=>{u();p();(function(t,e){typeof d1e=="object"&&typeof l1e<"u"?l1e.exports=e():typeof define=="function"&&define.amd?define(e):t.typeDetect=e()})(d1e,function(){"use strict";var t=typeof Promise=="function",e=typeof self=="object"?self:global,n=typeof Symbol<"u",a=typeof Map<"u",r=typeof Set<"u",f=typeof WeakMap<"u",i=typeof WeakSet<"u",s=typeof DataView<"u",o=n&&typeof Symbol.iterator<"u",c=n&&typeof Symbol.toStringTag<"u",d=r&&typeof Set.prototype.entries=="function",l=a&&typeof Map.prototype.entries=="function",h=d&&Object.getPrototypeOf(new Set().entries()),y=l&&Object.getPrototypeOf(new Map().entries()),v=o&&typeof Array.prototype[Symbol.iterator]=="function",k=v&&Object.getPrototypeOf([][Symbol.iterator]()),O=o&&typeof String.prototype[Symbol.iterator]=="function",F=O&&Object.getPrototypeOf(""[Symbol.iterator]()),z=8,W=-1;function j(Q){var V=typeof Q;if(V!=="object")return V;if(Q===null)return"null";if(Q===e)return"global";if(Array.isArray(Q)&&(c===!1||!(Symbol.toStringTag in Q)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&Q===window.location)return"Location";if(typeof window.document=="object"&&Q===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&Q===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&Q===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&Q instanceof window.HTMLElement){if(Q.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(Q.tagName==="TD")return"HTMLTableDataCellElement";if(Q.tagName==="TH")return"HTMLTableHeaderCellElement"}}var X=c&&Q[Symbol.toStringTag];if(typeof X=="string")return X;var K=Object.getPrototypeOf(Q);return K===RegExp.prototype?"RegExp":K===Date.prototype?"Date":t&&K===Promise.prototype?"Promise":r&&K===Set.prototype?"Set":a&&K===Map.prototype?"Map":i&&K===WeakSet.prototype?"WeakSet":f&&K===WeakMap.prototype?"WeakMap":s&&K===DataView.prototype?"DataView":a&&K===y?"Map Iterator":r&&K===h?"Set Iterator":v&&K===k?"Array Iterator":O&&K===F?"String Iterator":K===null?"Object":Object.prototype.toString.call(Q).slice(z,W)}return j})});var EQe=D((o5a,xQe)=>{u();p();var HWt=c1e(),u1e=Xd(),zWt=sR();xQe.exports=function(e,n){var a=u1e(e,"message"),r=u1e(e,"ssfi");a=a?a+": ":"",e=u1e(e,"object"),n=n.map(function(s){return s.toLowerCase()}),n.sort();var f=n.map(function(s,o){var c=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=n.length>1&&o===n.length-1?"or ":"";return d+c+" "+s}).join(", "),i=zWt(e).toLowerCase();if(!n.some(function(s){return i===s}))throw new HWt(a+"object tested must be "+f+", but "+i+" given",void 0,r)}});var p1e=D((l5a,_Qe)=>{u();p();_Qe.exports=function(e,n){return n.length>4?n[4]:e._obj}});var oq=D((h5a,AQe)=>{"use strict";u();p();var WWt=Function.prototype.toString,qWt=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,jWt=512;function GWt(t){if(typeof t!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof t.name>"u"){var n=WWt.call(t);if(n.indexOf("(")>jWt)return e;var a=n.match(qWt);a&&(e=a[1])}else e=t.name;return e}AQe.exports=GWt});var CQe=D((cq,IQe)=>{u();p();(function(t,e){typeof cq=="object"&&typeof IQe<"u"?e(cq):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.loupe={}))})(cq,function(t){"use strict";function e(me){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(ye){return typeof ye}:e=function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},e(me)}function n(me,ye){return a(me)||r(me,ye)||f(me,ye)||s()}function a(me){if(Array.isArray(me))return me}function r(me,ye){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(me)))){var _e=[],ze=!0,je=!1,Ue=void 0;try{for(var m0=me[Symbol.iterator](),h0;!(ze=(h0=m0.next()).done)&&(_e.push(h0.value),!(ye&&_e.length===ye));ze=!0);}catch($e){je=!0,Ue=$e}finally{try{!ze&&m0.return!=null&&m0.return()}finally{if(je)throw Ue}}return _e}}function f(me,ye){if(me){if(typeof me=="string")return i(me,ye);var _e=Object.prototype.toString.call(me).slice(8,-1);if(_e==="Object"&&me.constructor&&(_e=me.constructor.name),_e==="Map"||_e==="Set")return Array.from(me);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return i(me,ye)}}function i(me,ye){(ye==null||ye>me.length)&&(ye=me.length);for(var _e=0,ze=new Array(ye);_e0&&arguments[0]!==void 0?arguments[0]:{},ye=me.showHidden,_e=ye===void 0?!1:ye,ze=me.depth,je=ze===void 0?2:ze,Ue=me.colors,m0=Ue===void 0?!1:Ue,h0=me.customInspect,$e=h0===void 0?!0:h0,M0=me.showProxy,P0=M0===void 0?!1:M0,t0=me.maxArrayLength,j0=t0===void 0?1/0:t0,z0=me.breakLength,Ke=z0===void 0?1/0:z0,B0=me.seen,K0=B0===void 0?[]:B0,s0=me.truncate,J0=s0===void 0?1/0:s0,Y0=me.stylize,l0=Y0===void 0?String:Y0,Q0={showHidden:!!_e,depth:Number(je),colors:!!m0,customInspect:!!$e,showProxy:!!P0,maxArrayLength:Number(j0),breakLength:Number(Ke),truncate:Number(J0),seen:K0,stylize:l0};return Q0.colors&&(Q0.stylize=l),Q0}function y(me,ye){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;me=String(me);var ze=_e.length,je=me.length;return ze>ye&&je>ze?_e:je>ye&&je>ze?"".concat(me.slice(0,ye-ze)).concat(_e):me}function v(me,ye,_e){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";_e=_e||ye.inspect;var je=me.length;if(je===0)return"";for(var Ue=ye.truncate,m0="",h0="",$e="",M0=0;M0Ue&&m0.length+$e.length<=Ue||!P0&&!t0&&B0>Ue||(h0=P0?"":_e(me[M0+1],ye)+(t0?"":ze),!P0&&t0&&B0>Ue&&Ke+h0.length>Ue))break;if(m0+=z0,!P0&&!t0&&Ke+h0.length>=Ue){$e="".concat(d,"(").concat(me.length-M0-1,")");break}$e=""}return"".concat(m0).concat($e)}function k(me){return me.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?me:JSON.stringify(me).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O(me,ye){var _e=n(me,2),ze=_e[0],je=_e[1];return ye.truncate-=2,typeof ze=="string"?ze=k(ze):typeof ze!="number"&&(ze="[".concat(ye.inspect(ze,ye),"]")),ye.truncate-=ze.length,je=ye.inspect(je,ye),"".concat(ze,": ").concat(je)}function F(me,ye){var _e=Object.keys(me).slice(me.length);if(!me.length&&!_e.length)return"[]";ye.truncate-=4;var ze=v(me,ye);ye.truncate-=ze.length;var je="";return _e.length&&(je=v(_e.map(function(Ue){return[Ue,me[Ue]]}),ye,O)),"[ ".concat(ze).concat(je?", ".concat(je):""," ]")}var z=Function.prototype.toString,W=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,j=512;function Q(me){if(typeof me!="function")return null;var ye="";if(typeof Function.prototype.name>"u"&&typeof me.name>"u"){var _e=z.call(me);if(_e.indexOf("(")>j)return ye;var ze=_e.match(W);ze&&(ye=ze[1])}else ye=me.name;return ye}var V=Q,X=function(ye){return typeof _.Buffer=="function"&&ye instanceof _.Buffer?"Buffer":ye[Symbol.toStringTag]?ye[Symbol.toStringTag]:V(ye.constructor)};function K(me,ye){var _e=X(me);ye.truncate-=_e.length+4;var ze=Object.keys(me).slice(me.length);if(!me.length&&!ze.length)return"".concat(_e,"[]");for(var je="",Ue=0;Ue ").concat(je)}function N(me){var ye=[];return me.forEach(function(_e,ze){ye.push([ze,_e])}),ye}function w(me,ye){var _e=me.size-1;return _e<=0?"Map{}":(ye.truncate-=7,"Map{ ".concat(v(N(me),ye,T)," }"))}var b=Number.isNaN||function(me){return me!==me};function A(me,ye){return b(me)?ye.stylize("NaN","number"):me===1/0?ye.stylize("Infinity","number"):me===-1/0?ye.stylize("-Infinity","number"):me===0?ye.stylize(1/me===1/0?"+0":"-0","number"):ye.stylize(y(me,ye.truncate),"number")}function P(me,ye){var _e=y(me.toString(),ye.truncate-1);return _e!==d&&(_e+="n"),ye.stylize(_e,"bigint")}function L(me,ye){var _e=me.toString().split("/")[2],ze=ye.truncate-(2+_e.length),je=me.source;return ye.stylize("/".concat(y(je,ze),"/").concat(_e),"regexp")}function E(me){var ye=[];return me.forEach(function(_e){ye.push(_e)}),ye}function g(me,ye){return me.size===0?"Set{}":(ye.truncate-=7,"Set{ ".concat(v(E(me),ye)," }"))}var B=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),M={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},S=16,q=4;function ee(me){return M[me]||"\\u".concat("0000".concat(me.charCodeAt(0).toString(S)).slice(-q))}function U(me,ye){return B.test(me)&&(me=me.replace(B,ee)),ye.stylize("'".concat(y(me,ye.truncate-2),"'"),"string")}function J(me){return"description"in Symbol.prototype?me.description?"Symbol(".concat(me.description,")"):"Symbol()":me.toString()}var Z=function(){return"Promise{\u2026}"};try{var ne=x.binding("util"),ue=ne.getPromiseDetails,Y=ne.kPending,re=ne.kRejected;Array.isArray(ue(Promise.resolve()))&&(Z=function(ye,_e){var ze=ue(ye),je=n(ze,2),Ue=je[0],m0=je[1];return Ue===Y?"Promise{}":"Promise".concat(Ue===re?"!":"","{").concat(_e.inspect(m0,_e),"}")})}catch{}var ie=Z;function ge(me,ye){var _e=Object.getOwnPropertyNames(me),ze=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(me):[];if(_e.length===0&&ze.length===0)return"{}";if(ye.truncate-=4,ye.seen=ye.seen||[],ye.seen.indexOf(me)>=0)return"[Circular]";ye.seen.push(me);var je=v(_e.map(function(h0){return[h0,me[h0]]}),ye,O),Ue=v(ze.map(function(h0){return[h0,me[h0]]}),ye,O);ye.seen.pop();var m0="";return je&&Ue&&(m0=", "),"{ ".concat(je).concat(m0).concat(Ue," }")}var de=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ae(me,ye){var _e="";return de&&de in me&&(_e=me[de]),_e=_e||V(me.constructor),(!_e||_e==="_class")&&(_e=""),ye.truncate-=_e.length,"".concat(_e).concat(ge(me,ye))}function Ge(me,ye){return me.length===0?"Arguments[]":(ye.truncate-=13,"Arguments[ ".concat(v(me,ye)," ]"))}var Be=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function c0(me,ye){var _e=Object.getOwnPropertyNames(me).filter(function(m0){return Be.indexOf(m0)===-1}),ze=me.name;ye.truncate-=ze.length;var je="";typeof me.message=="string"?je=y(me.message,ye.truncate):_e.unshift("message"),je=je?": ".concat(je):"",ye.truncate-=je.length+5;var Ue=v(_e.map(function(m0){return[m0,me[m0]]}),ye,O);return"".concat(ze).concat(je).concat(Ue?" { ".concat(Ue," }"):"")}function Ye(me,ye){var _e=n(me,2),ze=_e[0],je=_e[1];return ye.truncate-=3,je?"".concat(ye.stylize(ze,"yellow"),"=").concat(ye.stylize('"'.concat(je,'"'),"string")):"".concat(ye.stylize(ze,"yellow"))}function He(me,ye){return v(me,ye,_0,` -`)}function _0(me,ye){var _e=me.getAttributeNames(),ze=me.tagName.toLowerCase(),je=ye.stylize("<".concat(ze),"special"),Ue=ye.stylize(">","special"),m0=ye.stylize(""),"special");ye.truncate-=ze.length*2+5;var h0="";_e.length>0&&(h0+=" ",h0+=v(_e.map(function(P0){return[P0,me.getAttribute(P0)]}),ye,Ye," ")),ye.truncate-=h0.length;var $e=ye.truncate,M0=He(me.children,ye);return M0&&M0.length>$e&&(M0="".concat(d,"(").concat(me.children.length,")")),"".concat(je).concat(h0).concat(Ue).concat(M0).concat(m0)}var L0=typeof Symbol=="function"&&typeof Symbol.for=="function",Ze=L0?Symbol.for("chai/inspect"):"@@chai/inspect",C0=!1;try{var pe=rl();C0=pe.inspect?pe.inspect.custom:!1}catch{C0=!1}function he(){this.key="chai/loupe__"+Math.random()+Date.now()}he.prototype={get:function(ye){return ye[this.key]},has:function(ye){return this.key in ye},set:function(ye,_e){Object.isExtensible(ye)&&Object.defineProperty(ye,this.key,{value:_e,configurable:!0})}};var Te=new(typeof WeakMap=="function"?WeakMap:he),Ie={},Se={undefined:function(ye,_e){return _e.stylize("undefined","undefined")},null:function(ye,_e){return _e.stylize(null,"null")},boolean:function(ye,_e){return _e.stylize(ye,"boolean")},Boolean:function(ye,_e){return _e.stylize(ye,"boolean")},number:A,Number:A,bigint:P,BigInt:P,string:U,String:U,function:R,Function:R,symbol:J,Symbol:J,Array:F,Date:G,Map:w,Set:g,RegExp:L,Promise:ie,WeakSet:function(ye,_e){return _e.stylize("WeakSet{\u2026}","special")},WeakMap:function(ye,_e){return _e.stylize("WeakMap{\u2026}","special")},Arguments:Ge,Int8Array:K,Uint8Array:K,Uint8ClampedArray:K,Int16Array:K,Uint16Array:K,Int32Array:K,Uint32Array:K,Float32Array:K,Float64Array:K,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:c0,HTMLCollection:He,NodeList:He},Qe=function(ye,_e,ze){return Ze in ye&&typeof ye[Ze]=="function"?ye[Ze](_e):C0&&C0 in ye&&typeof ye[C0]=="function"?ye[C0](_e.depth,_e):"inspect"in ye&&typeof ye.inspect=="function"?ye.inspect(_e.depth,_e):"constructor"in ye&&Te.has(ye.constructor)?Te.get(ye.constructor)(ye,_e):Ie[ze]?Ie[ze](ye,_e):""},u0=Object.prototype.toString;function qe(me,ye){ye=h(ye),ye.inspect=qe;var _e=ye,ze=_e.customInspect,je=me===null?"null":e(me);if(je==="object"&&(je=u0.call(me).slice(8,-1)),Se[je])return Se[je](me,ye);if(ze&&me){var Ue=Qe(me,ye,je);if(Ue)return typeof Ue=="string"?Ue:qe(Ue,ye)}var m0=me?Object.getPrototypeOf(me):!1;return m0===Object.prototype||m0===null?ge(me,ye):me&&typeof HTMLElement=="function"&&me instanceof HTMLElement?_0(me,ye):"constructor"in me?me.constructor!==Object?Ae(me,ye):ge(me,ye):me===Object(me)?ge(me,ye):ye.stylize(String(me),je)}function v0(me,ye){return Te.has(me)?!1:(Te.set(me,ye),!0)}function w0(me,ye){return me in Ie?!1:(Ie[me]=ye,!0)}var Ve=Ze;t.custom=Ve,t.default=qe,t.inspect=qe,t.registerConstructor=v0,t.registerStringTag=w0,Object.defineProperty(t,"__esModule",{value:!0})})});var X7=D((v5a,kQe)=>{u();p();kQe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var dq=D((E5a,RQe)=>{u();p();var x5a=oq(),KWt=CQe(),SQe=X7();RQe.exports=QWt;function QWt(t,e,n,a){var r={colors:a,depth:typeof n>"u"?2:n,showHidden:e,truncate:SQe.truncateThreshold?SQe.truncateThreshold:1/0};return KWt.inspect(t,r)}});var h1e=D((I5a,BQe)=>{u();p();var VWt=dq(),MQe=X7();BQe.exports=function(e){var n=VWt(e),a=Object.prototype.toString.call(e);if(MQe.truncateThreshold&&n.length>=MQe.truncateThreshold){if(a==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(a==="[object Array]")return"[ Array("+e.length+") ]";if(a==="[object Object]"){var r=Object.keys(e),f=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+f+") }"}else return n}else return n}});var PQe=D((S5a,DQe)=>{u();p();var m1e=Xd(),YWt=p1e(),b1e=h1e();DQe.exports=function(e,n){var a=m1e(e,"negate"),r=m1e(e,"object"),f=n[3],i=YWt(e,n),s=a?n[2]:n[1],o=m1e(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return b1e(r)}).replace(/#\{act\}/g,function(){return b1e(i)}).replace(/#\{exp\}/g,function(){return b1e(f)}),o?o+": "+s:s}});var Bm=D((B5a,LQe)=>{u();p();LQe.exports=function(e,n,a){var r=e.__flags||(e.__flags=Object.create(null));n.__flags||(n.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var f in r)(a||f!=="object"&&f!=="ssfi"&&f!=="lockSsfi"&&f!="message")&&(n.__flags[f]=r[f])}});var QQe=D((L5a,v1e)=>{"use strict";u();p();var FQe=sR();function jQe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}jQe.prototype={get:function(e){return e[this._key]},set:function(e,n){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:n,configurable:!0})}};var g1e=typeof WeakMap=="function"?WeakMap:jQe;function NQe(t,e,n){if(!n||Sx(t)||Sx(e))return null;var a=n.get(t);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function lq(t,e,n,a){if(!(!n||Sx(t)||Sx(e))){var r=n.get(t);r?r.set(e,a):(r=new g1e,r.set(e,a),n.set(t,r))}}v1e.exports=uq;v1e.exports.MemoizeMap=g1e;function uq(t,e,n){if(n&&n.comparator)return OQe(t,e,n);var a=GQe(t,e);return a!==null?a:OQe(t,e,n)}function GQe(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e?!0:Sx(t)||Sx(e)?!1:null}function OQe(t,e,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new g1e;var a=n&&n.comparator,r=NQe(t,e,n.memoize);if(r!==null)return r;var f=NQe(e,t,n.memoize);if(f!==null)return f;if(a){var i=a(t,e);if(i===!1||i===!0)return lq(t,e,n.memoize,i),i;var s=GQe(t,e);if(s!==null)return s}var o=FQe(t);if(o!==FQe(e))return lq(t,e,n.memoize,!1),!1;lq(t,e,n.memoize,!0);var c=$Wt(t,e,o,n);return lq(t,e,n.memoize,c),c}function $Wt(t,e,n,a){switch(n){case"String":case"Number":case"Boolean":case"Date":return uq(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return t===e;case"Error":return KQe(t,e,["name","message","code"],a);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Z7(t,e,a);case"RegExp":return JWt(t,e);case"Generator":return XWt(t,e,a);case"DataView":return Z7(new Uint8Array(t.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return Z7(new Uint8Array(t),new Uint8Array(e),a);case"Set":return UQe(t,e,a);case"Map":return UQe(t,e,a);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return t.equals(e);case"Temporal.Duration":return t.total("nanoseconds")===e.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return t.toString()===e.toString();default:return eqt(t,e,a)}}function JWt(t,e){return t.toString()===e.toString()}function UQe(t,e,n){if(t.size!==e.size)return!1;if(t.size===0)return!0;var a=[],r=[];return t.forEach(function(i,s){a.push([i,s])}),e.forEach(function(i,s){r.push([i,s])}),Z7(a.sort(),r.sort(),n)}function Z7(t,e,n){var a=t.length;if(a!==e.length)return!1;if(a===0)return!0;for(var r=-1;++r{u();p();var tqt=X7();VQe.exports=function(){return tqt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var JQe=D((z5a,$Qe)=>{u();p();var nqt=Dm(),YQe=Xd(),aqt=oR(),rqt=Bm();$Qe.exports=function(e,n,a){a=a===void 0?function(){}:a,Object.defineProperty(e,n,{get:function r(){!aqt()&&!YQe(this,"lockSsfi")&&YQe(this,"ssfi",r);var f=a.call(this);if(f!==void 0)return f;var i=new nqt.Assertion;return rqt(this,i),i},configurable:!0})}});var cR=D((j5a,XQe)=>{u();p();var fqt=Object.getOwnPropertyDescriptor(function(){},"length");XQe.exports=function(e,n,a){return fqt.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(a?"Invalid Chai property: "+n+'.length. Due to a compatibility issue, "length" cannot directly follow "'+n+'". Use "'+n+'.lengthOf" instead.':"Invalid Chai property: "+n+'.length. See docs for proper usage of "'+n+'".')}}),e}});var eVe=D((Q5a,ZQe)=>{u();p();ZQe.exports=function(e){var n=Object.getOwnPropertyNames(e);function a(f){n.indexOf(f)===-1&&n.push(f)}for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(a),r=Object.getPrototypeOf(r);return n}});var dR=D(($5a,aVe)=>{u();p();var iqt=X7(),tVe=Xd(),sqt=eVe(),oqt=oR();var nVe=["__flags","__methods","_obj","assert"];aVe.exports=function(e,n){return oqt()?new Proxy(e,{get:function a(r,f){if(typeof f=="string"&&iqt.proxyExcludedKeys.indexOf(f)===-1&&!Reflect.has(r,f)){if(n)throw Error("Invalid Chai property: "+n+"."+f+'. See docs for proper usage of "'+n+'".');var i=null,s=4;throw sqt(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&nVe.indexOf(o)===-1){var c=cqt(f,o,s);c=n)return n;for(var a=[],r=0;r<=t.length;r++)a[r]=Array(e.length+1).fill(0),a[r][0]=r;for(var f=0;f=n){a[r][f]=n;continue}a[r][f]=Math.min(a[r-1][f]+1,a[r][f-1]+1,a[r-1][f-1]+(i===e.charCodeAt(f-1)?0:1))}return a[t.length][e.length]}});var iVe=D((Z5a,fVe)=>{u();p();var dqt=cR(),lqt=Dm(),rVe=Xd(),uqt=dR(),pqt=Bm();fVe.exports=function(e,n,a){var r=function(){rVe(this,"lockSsfi")||rVe(this,"ssfi",r);var f=a.apply(this,arguments);if(f!==void 0)return f;var i=new lqt.Assertion;return pqt(this,i),i};dqt(r,n,!1),e[n]=uqt(r,n)}});var oVe=D((nla,sVe)=>{u();p();var hqt=Dm(),lR=Xd(),mqt=oR(),bqt=Bm();sVe.exports=function(e,n,a){var r=Object.getOwnPropertyDescriptor(e,n),f=function(){};r&&typeof r.get=="function"&&(f=r.get),Object.defineProperty(e,n,{get:function i(){!mqt()&&!lR(this,"lockSsfi")&&lR(this,"ssfi",i);var s=lR(this,"lockSsfi");lR(this,"lockSsfi",!0);var o=a(f).call(this);if(lR(this,"lockSsfi",s),o!==void 0)return o;var c=new hqt.Assertion;return bqt(this,c),c},configurable:!0})}});var dVe=D((fla,cVe)=>{u();p();var yqt=cR(),gqt=Dm(),uR=Xd(),vqt=dR(),wqt=Bm();cVe.exports=function(e,n,a){var r=e[n],f=function(){throw new Error(n+" is not a function")};r&&typeof r=="function"&&(f=r);var i=function(){uR(this,"lockSsfi")||uR(this,"ssfi",i);var s=uR(this,"lockSsfi");uR(this,"lockSsfi",!0);var o=a(f).apply(this,arguments);if(uR(this,"lockSsfi",s),o!==void 0)return o;var c=new gqt.Assertion;return wqt(this,c),c};yqt(i,n,!1),e[n]=vqt(i,n)}});var mVe=D((ola,hVe)=>{u();p();var Tqt=cR(),xqt=Dm(),lVe=Xd(),Eqt=dR(),uVe=Bm();var _qt=typeof Object.setPrototypeOf=="function",pVe=function(){},Aqt=Object.getOwnPropertyNames(pVe).filter(function(t){var e=Object.getOwnPropertyDescriptor(pVe,t);return typeof e!="object"?!0:!e.configurable}),Iqt=Function.prototype.call,Cqt=Function.prototype.apply;hVe.exports=function(e,n,a,r){typeof r!="function"&&(r=function(){});var f={method:a,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[n]=f,Object.defineProperty(e,n,{get:function(){f.chainingBehavior.call(this);var s=function(){lVe(this,"lockSsfi")||lVe(this,"ssfi",s);var d=f.method.apply(this,arguments);if(d!==void 0)return d;var l=new xqt.Assertion;return uVe(this,l),l};if(Tqt(s,n,!0),_qt){var o=Object.create(this);o.call=Iqt,o.apply=Cqt,Object.setPrototypeOf(s,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(Aqt.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,l)}})}return uVe(this,s),Eqt(s)},configurable:!0})}});var vVe=D((lla,gVe)=>{u();p();var bVe=Dm(),yVe=Bm();gVe.exports=function(e,n,a,r){var f=e.__methods[n],i=f.chainingBehavior;f.chainingBehavior=function(){var c=r(i).call(this);if(c!==void 0)return c;var d=new bVe.Assertion;return yVe(this,d),d};var s=f.method;f.method=function(){var c=a(s).apply(this,arguments);if(c!==void 0)return c;var d=new bVe.Assertion;return yVe(this,d),d}}});var xVe=D((hla,TVe)=>{u();p();var wVe=dq();TVe.exports=function(e,n){return wVe(e){u();p();EVe.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})}});var AVe=D((wla,_Ve)=>{u();p();var kqt=w1e();_Ve.exports=function(e){return Object.keys(e).concat(kqt(e))}});var CVe=D((Ela,IVe)=>{"use strict";u();p();var T1e=oq();function Sqt(t,e){return e instanceof Error&&t===e}function Rqt(t,e){return e instanceof Error?t.constructor===e.constructor||t instanceof e.constructor:e.prototype instanceof Error||e===Error?t.constructor===e||t instanceof e:!1}function Mqt(t,e){var n=typeof t=="string"?t:t.message;return e instanceof RegExp?e.test(n):typeof e=="string"?n.indexOf(e)!==-1:!1}function Bqt(t){var e=t;if(t instanceof Error)e=T1e(t.constructor);else if(typeof t=="function"&&(e=T1e(t),e==="")){var n=T1e(new t);e=n||e}return e}function Dqt(t){var e="";return t&&t.message?e=t.message:typeof t=="string"&&(e=t),e}IVe.exports={compatibleInstance:Sqt,compatibleConstructor:Rqt,compatibleMessage:Mqt,getMessage:Dqt,getConstructorName:Bqt}});var SVe=D((Ila,kVe)=>{u();p();function Pqt(t){return t!==t}kVe.exports=Number.isNaN||Pqt});var BVe=D((Sla,MVe)=>{u();p();var Lqt=sR(),RVe=Xd();function Fqt(t){var e=Lqt(t),n=["Array","Object","function"];return n.indexOf(e)!==-1}MVe.exports=function(e,n){var a=RVe(e,"operator"),r=RVe(e,"negate"),f=n[3],i=r?n[2]:n[1];if(a)return a;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=Fqt(f);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}});var PVe=D(sr=>{u();p();var DVe=gQe();sr.test=TQe();sr.type=sR();sr.expectTypes=EQe();sr.getMessage=PQe();sr.getActual=p1e();sr.inspect=dq();sr.objDisplay=h1e();sr.flag=Xd();sr.transferFlags=Bm();sr.eql=QQe();sr.getPathInfo=DVe.getPathInfo;sr.hasProperty=DVe.hasProperty;sr.getName=oq();sr.addProperty=JQe();sr.addMethod=iVe();sr.overwriteProperty=oVe();sr.overwriteMethod=dVe();sr.addChainableMethod=mVe();sr.overwriteChainableMethod=vVe();sr.compareByInspect=xVe();sr.getOwnEnumerablePropertySymbols=w1e();sr.getOwnEnumerableProperties=AVe();sr.checkError=CVe();sr.proxify=dR();sr.addLengthGuard=cR();sr.isProxyEnabled=oR();sr.isNaN=SVe();sr.getOperator=BVe()});var FVe=D((Lla,LVe)=>{u();p();var e9=X7();LVe.exports=function(t,e){var n=t.AssertionError,a=e.flag;t.Assertion=r;function r(f,i,s,o){return a(this,"ssfi",s||r),a(this,"lockSsfi",o),a(this,"object",f),a(this,"message",i),a(this,"eql",e9.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),e9.includeStack},set:function(f){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),e9.includeStack=f}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),e9.showDiff},set:function(f){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),e9.showDiff=f}}),r.addProperty=function(f,i){e.addProperty(this.prototype,f,i)},r.addMethod=function(f,i){e.addMethod(this.prototype,f,i)},r.addChainableMethod=function(f,i,s){e.addChainableMethod(this.prototype,f,i,s)},r.overwriteProperty=function(f,i){e.overwriteProperty(this.prototype,f,i)},r.overwriteMethod=function(f,i){e.overwriteMethod(this.prototype,f,i)},r.overwriteChainableMethod=function(f,i,s){e.overwriteChainableMethod(this.prototype,f,i,s)},r.prototype.assert=function(f,i,s,o,c,d){var l=e.test(this,arguments);if(d!==!1&&(d=!0),o===void 0&&c===void 0&&(d=!1),e9.showDiff!==!0&&(d=!1),!l){i=e.getMessage(this,arguments);var h=e.getActual(this,arguments),y={actual:h,expected:o,showDiff:d},v=e.getOperator(this,arguments);throw v&&(y.operator=v),new n(i,y,e9.includeStack?this.assert:a(this,"ssfi"))}};Object.defineProperty(r.prototype,"_obj",{get:function(){return a(this,"object")},set:function(f){a(this,"object",f)}})}});var OVe=D((Ola,NVe)=>{u();p();NVe.exports=function(t,e){var n=t.Assertion,a=t.AssertionError,r=e.flag;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(g){n.addProperty(g)}),n.addProperty("not",function(){r(this,"negate",!0)}),n.addProperty("deep",function(){r(this,"deep",!0)}),n.addProperty("nested",function(){r(this,"nested",!0)}),n.addProperty("own",function(){r(this,"own",!0)}),n.addProperty("ordered",function(){r(this,"ordered",!0)}),n.addProperty("any",function(){r(this,"any",!0),r(this,"all",!1)}),n.addProperty("all",function(){r(this,"all",!0),r(this,"any",!1)});function f(g,B){B&&r(this,"message",B),g=g.toLowerCase();var M=r(this,"object"),S=~["a","e","i","o","u"].indexOf(g.charAt(0))?"an ":"a ";this.assert(g===e.type(M).toLowerCase(),"expected #{this} to be "+S+g,"expected #{this} not to be "+S+g)}n.addChainableMethod("an",f),n.addChainableMethod("a",f);function i(g,B){return e.isNaN(g)&&e.isNaN(B)||g===B}function s(){r(this,"contains",!0)}function o(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"negate"),U=r(this,"ssfi"),J=r(this,"deep"),Z=J?"deep ":"",ne=J?r(this,"eql"):i;q=q?q+": ":"";var ue=!1;switch(S){case"string":ue=M.indexOf(g)!==-1;break;case"weakset":if(J)throw new a(q+"unable to use .deep.include with WeakSet",void 0,U);ue=M.has(g);break;case"map":M.forEach(function(ge){ue=ue||ne(ge,g)});break;case"set":J?M.forEach(function(ge){ue=ue||ne(ge,g)}):ue=M.has(g);break;case"array":J?ue=M.some(function(ge){return ne(ge,g)}):ue=M.indexOf(g)!==-1;break;default:if(g!==Object(g))throw new a(q+"the given combination of arguments ("+S+" and "+e.type(g).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(g).toLowerCase(),void 0,U);var Y=Object.keys(g),re=null,ie=0;if(Y.forEach(function(ge){var de=new n(M);if(e.transferFlags(this,de,!0),r(de,"lockSsfi",!0),!ee||Y.length===1){de.property(ge,g[ge]);return}try{de.property(ge,g[ge])}catch(Ae){if(!e.checkError.compatibleConstructor(Ae,a))throw Ae;re===null&&(re=Ae),ie++}},this),ee&&Y.length>1&&ie===Y.length)throw re;return}this.assert(ue,"expected #{this} to "+Z+"include "+e.inspect(g),"expected #{this} to not "+Z+"include "+e.inspect(g))}n.addChainableMethod("include",o,s),n.addChainableMethod("contain",o,s),n.addChainableMethod("contains",o,s),n.addChainableMethod("includes",o,s),n.addProperty("ok",function(){this.assert(r(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),n.addProperty("true",function(){this.assert(r(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!r(this,"negate"))}),n.addProperty("false",function(){this.assert(r(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!r(this,"negate"))}),n.addProperty("null",function(){this.assert(r(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),n.addProperty("undefined",function(){this.assert(r(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),n.addProperty("NaN",function(){this.assert(e.isNaN(r(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function c(){var g=r(this,"object");this.assert(g!=null,"expected #{this} to exist","expected #{this} to not exist")}n.addProperty("exist",c),n.addProperty("exists",c),n.addProperty("empty",function(){var g=r(this,"object"),B=r(this,"ssfi"),M=r(this,"message"),S;switch(M=M?M+": ":"",e.type(g).toLowerCase()){case"array":case"string":S=g.length;break;case"map":case"set":S=g.size;break;case"weakmap":case"weakset":throw new a(M+".empty was passed a weak collection",void 0,B);case"function":var q=M+".empty was passed a function "+e.getName(g);throw new a(q.trim(),void 0,B);default:if(g!==Object(g))throw new a(M+".empty was passed non-string primitive "+e.inspect(g),void 0,B);S=Object.keys(g).length}this.assert(S===0,"expected #{this} to be empty","expected #{this} not to be empty")});function d(){var g=r(this,"object"),B=e.type(g);this.assert(B==="Arguments","expected #{this} to be arguments but got "+B,"expected #{this} to not be arguments")}n.addProperty("arguments",d),n.addProperty("Arguments",d);function l(g,B){B&&r(this,"message",B);var M=r(this,"object");if(r(this,"deep")){var S=r(this,"lockSsfi");r(this,"lockSsfi",!0),this.eql(g),r(this,"lockSsfi",S)}else this.assert(g===M,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",g,this._obj,!0)}n.addMethod("equal",l),n.addMethod("equals",l),n.addMethod("eq",l);function h(g,B){B&&r(this,"message",B);var M=r(this,"eql");this.assert(M(g,r(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",g,this._obj,!0)}n.addMethod("eql",h),n.addMethod("eqls",h);function y(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to above must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to above must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>g,"expected #{this} to have a "+re+" above #{exp} but got #{act}","expected #{this} to not have a "+re+" above #{exp}",g,ie)}else this.assert(M>g,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",g)}n.addMethod("above",y),n.addMethod("gt",y),n.addMethod("greaterThan",y);function v(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to least must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to least must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie>=g,"expected #{this} to have a "+re+" at least #{exp} but got #{act}","expected #{this} to have a "+re+" below #{exp}",g,ie)}else this.assert(M>=g,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",g)}n.addMethod("least",v),n.addMethod("gte",v),n.addMethod("greaterThanOrEqual",v);function k(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"doLength"),q=r(this,"message"),ee=q?q+": ":"",U=r(this,"ssfi"),J=e.type(M).toLowerCase(),Z=e.type(g).toLowerCase(),ne,ue=!0;if(S&&J!=="map"&&J!=="set"&&new n(M,q,U,!0).to.have.property("length"),!S&&J==="date"&&Z!=="date")ne=ee+"the argument to below must be a date";else if(Z!=="number"&&(S||J==="number"))ne=ee+"the argument to below must be a number";else if(!S&&J!=="date"&&J!=="number"){var Y=J==="string"?"'"+M+"'":M;ne=ee+"expected "+Y+" to be a number or a date"}else ue=!1;if(ue)throw new a(ne,void 0,U);if(S){var re="length",ie;J==="map"||J==="set"?(re="size",ie=M.size):ie=M.length,this.assert(ie=g&&Ae<=B,"expected #{this} to have a "+de+" within "+ie,"expected #{this} to not have a "+de+" within "+ie)}else this.assert(S>=g&&S<=B,"expected #{this} to be within "+ie,"expected #{this} to not be within "+ie)});function F(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"ssfi"),q=r(this,"message");try{var ee=M instanceof g}catch(J){throw J instanceof TypeError?(q=q?q+": ":"",new a(q+"The instanceof assertion needs a constructor but "+e.type(g)+" was given.",void 0,S)):J}var U=e.getName(g);U===null&&(U="an unnamed constructor"),this.assert(ee,"expected #{this} to be an instance of "+U,"expected #{this} to not be an instance of "+U)}n.addMethod("instanceof",F),n.addMethod("instanceOf",F);function z(g,B,M){M&&r(this,"message",M);var S=r(this,"nested"),q=r(this,"own"),ee=r(this,"message"),U=r(this,"object"),J=r(this,"ssfi"),Z=typeof g;if(ee=ee?ee+": ":"",S){if(Z!=="string")throw new a(ee+"the argument to property must be a string when using nested syntax",void 0,J)}else if(Z!=="string"&&Z!=="number"&&Z!=="symbol")throw new a(ee+"the argument to property must be a string, number, or symbol",void 0,J);if(S&&q)throw new a(ee+'The "nested" and "own" flags cannot be combined.',void 0,J);if(U==null)throw new a(ee+"Target cannot be null or undefined.",void 0,J);var ne=r(this,"deep"),ue=r(this,"negate"),Y=S?e.getPathInfo(U,g):null,re=S?Y.value:U[g],ie=ne?r(this,"eql"):(Ae,Ge)=>Ae===Ge,ge="";ne&&(ge+="deep "),q&&(ge+="own "),S&&(ge+="nested "),ge+="property ";var de;q?de=Object.prototype.hasOwnProperty.call(U,g):S?de=Y.exists:de=e.hasProperty(U,g),(!ue||arguments.length===1)&&this.assert(de,"expected #{this} to have "+ge+e.inspect(g),"expected #{this} to not have "+ge+e.inspect(g)),arguments.length>1&&this.assert(de&&ie(B,re),"expected #{this} to have "+ge+e.inspect(g)+" of #{exp}, but got #{act}","expected #{this} to not have "+ge+e.inspect(g)+" of #{act}",B,re),r(this,"object",re)}n.addMethod("property",z);function W(g,B,M){r(this,"own",!0),z.apply(this,arguments)}n.addMethod("ownProperty",W),n.addMethod("haveOwnProperty",W);function j(g,B,M){typeof B=="string"&&(M=B,B=null),M&&r(this,"message",M);var S=r(this,"object"),q=Object.getOwnPropertyDescriptor(Object(S),g),ee=r(this,"eql");q&&B?this.assert(ee(B,q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to match "+e.inspect(B)+", got "+e.inspect(q),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to not match "+e.inspect(B),B,q,!0):this.assert(q,"expected #{this} to have an own property descriptor for "+e.inspect(g),"expected #{this} to not have an own property descriptor for "+e.inspect(g)),r(this,"object",q)}n.addMethod("ownPropertyDescriptor",j),n.addMethod("haveOwnPropertyDescriptor",j);function Q(){r(this,"doLength",!0)}function V(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=e.type(M).toLowerCase(),q=r(this,"message"),ee=r(this,"ssfi"),U="length",J;switch(S){case"map":case"set":U="size",J=M.size;break;default:new n(M,q,ee,!0).to.have.property("length"),J=M.length}this.assert(J==g,"expected #{this} to have a "+U+" of #{exp} but got #{act}","expected #{this} to not have a "+U+" of #{act}",g,J)}n.addChainableMethod("length",V,Q),n.addChainableMethod("lengthOf",V,Q);function X(g,B){B&&r(this,"message",B);var M=r(this,"object");this.assert(g.exec(M),"expected #{this} to match "+g,"expected #{this} not to match "+g)}n.addMethod("match",X),n.addMethod("matches",X),n.addMethod("string",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi");new n(M,S,q,!0).is.a("string"),this.assert(~M.indexOf(g),"expected #{this} to contain "+e.inspect(g),"expected #{this} to not contain "+e.inspect(g))});function K(g){var B=r(this,"object"),M=e.type(B),S=e.type(g),q=r(this,"ssfi"),ee=r(this,"deep"),U,J="",Z,ne=!0,ue=r(this,"message");ue=ue?ue+": ":"";var Y=ue+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(M==="Map"||M==="Set")J=ee?"deeply ":"",Z=[],B.forEach(function(Be,c0){Z.push(c0)}),S!=="Array"&&(g=Array.prototype.slice.call(arguments));else{switch(Z=e.getOwnEnumerableProperties(B),S){case"Array":if(arguments.length>1)throw new a(Y,void 0,q);break;case"Object":if(arguments.length>1)throw new a(Y,void 0,q);g=Object.keys(g);break;default:g=Array.prototype.slice.call(arguments)}g=g.map(function(Be){return typeof Be=="symbol"?Be:String(Be)})}if(!g.length)throw new a(ue+"keys required",void 0,q);var re=g.length,ie=r(this,"any"),ge=r(this,"all"),de=g,Ae=ee?r(this,"eql"):(Be,c0)=>Be===c0;if(!ie&&!ge&&(ge=!0),ie&&(ne=de.some(function(Be){return Z.some(function(c0){return Ae(Be,c0)})})),ge&&(ne=de.every(function(Be){return Z.some(function(c0){return Ae(Be,c0)})}),r(this,"contains")||(ne=ne&&g.length==Z.length)),re>1){g=g.map(function(Be){return e.inspect(Be)});var Ge=g.pop();ge&&(U=g.join(", ")+", and "+Ge),ie&&(U=g.join(", ")+", or "+Ge)}else U=e.inspect(g[0]);U=(re>1?"keys ":"key ")+U,U=(r(this,"contains")?"contain ":"have ")+U,this.assert(ne,"expected #{this} to "+J+U,"expected #{this} to not "+J+U,de.slice(0).sort(e.compareByInspect),Z.sort(e.compareByInspect),!0)}n.addMethod("keys",K),n.addMethod("key",K);function G(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"ssfi"),ee=r(this,"message"),U=r(this,"negate")||!1;new n(S,ee,q,!0).is.a("function"),(g instanceof RegExp||typeof g=="string")&&(B=g,g=null);var J;try{S()}catch(Ge){J=Ge}var Z=g===void 0&&B===void 0,ne=!!(g&&B),ue=!1,Y=!1;if(Z||!Z&&!U){var re="an error";g instanceof Error?re="#{exp}":g&&(re=e.checkError.getConstructorName(g)),this.assert(J,"expected #{this} to throw "+re,"expected #{this} to not throw an error but #{act} was thrown",g&&g.toString(),J instanceof Error?J.toString():typeof J=="string"?J:J&&e.checkError.getConstructorName(J))}if(g&&J){if(g instanceof Error){var ie=e.checkError.compatibleInstance(J,g);ie===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J&&!U?" but #{act} was thrown":""),g.toString(),J.toString()))}var ge=e.checkError.compatibleConstructor(J,g);ge===U&&(ne&&U?ue=!0:this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)))}if(J&&B!==void 0&&B!==null){var de="including";B instanceof RegExp&&(de="matching");var Ae=e.checkError.compatibleMessage(J,B);Ae===U&&(ne&&U?Y=!0:this.assert(U,"expected #{this} to throw error "+de+" #{exp} but got #{act}","expected #{this} to throw error not "+de+" #{exp}",B,e.checkError.getMessage(J)))}ue&&Y&&this.assert(U,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(J?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),J instanceof Error?J.toString():J&&e.checkError.getConstructorName(J)),r(this,"object",J)}n.addMethod("throw",G),n.addMethod("throws",G),n.addMethod("Throw",G);function R(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"itself"),q=typeof M=="function"&&!S?M.prototype[g]:M[g];this.assert(typeof q=="function","expected #{this} to respond to "+e.inspect(g),"expected #{this} to not respond to "+e.inspect(g))}n.addMethod("respondTo",R),n.addMethod("respondsTo",R),n.addProperty("itself",function(){r(this,"itself",!0)});function T(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=g(M);this.assert(S,"expected #{this} to satisfy "+e.objDisplay(g),"expected #{this} to not satisfy"+e.objDisplay(g),!r(this,"negate"),S)}n.addMethod("satisfy",T),n.addMethod("satisfies",T);function N(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");if(new n(S,q,ee,!0).is.a("number"),typeof g!="number"||typeof B!="number"){q=q?q+": ":"";var U=B===void 0?", and a delta is required":"";throw new a(q+"the arguments to closeTo or approximately must be numbers"+U,void 0,ee)}this.assert(Math.abs(S-g)<=B,"expected #{this} to be close to "+g+" +/- "+B,"expected #{this} not to be close to "+g+" +/- "+B)}n.addMethod("closeTo",N),n.addMethod("approximately",N);function w(g,B,M,S,q){if(!S){if(g.length!==B.length)return!1;B=B.slice()}return g.every(function(ee,U){if(q)return M?M(ee,B[U]):ee===B[U];if(!M){var J=B.indexOf(ee);return J===-1?!1:(S||B.splice(J,1),!0)}return B.some(function(Z,ne){return M(ee,Z)?(S||B.splice(ne,1),!0):!1})})}n.addMethod("members",function(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi");new n(M,S,q,!0).to.be.an("array"),new n(g,S,q,!0).to.be.an("array");var ee=r(this,"contains"),U=r(this,"ordered"),J,Z,ne;ee?(J=U?"an ordered superset":"a superset",Z="expected #{this} to be "+J+" of #{exp}",ne="expected #{this} to not be "+J+" of #{exp}"):(J=U?"ordered members":"members",Z="expected #{this} to have the same "+J+" as #{exp}",ne="expected #{this} to not have the same "+J+" as #{exp}");var ue=r(this,"deep")?r(this,"eql"):void 0;this.assert(w(g,M,ue,ee,U),Z,ne,g,M,!0)});function b(g,B){B&&r(this,"message",B);var M=r(this,"object"),S=r(this,"message"),q=r(this,"ssfi"),ee=r(this,"contains"),U=r(this,"deep"),J=r(this,"eql");new n(g,S,q,!0).to.be.an("array"),ee?this.assert(g.some(function(Z){return M.indexOf(Z)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",g,M):U?this.assert(g.some(function(Z){return J(M,Z)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",g,M):this.assert(g.indexOf(M)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",g,M)}n.addMethod("oneOf",b);function A(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","change"),r(this,"realDelta",J!==U),this.assert(U!==J,"expected "+Z+" to change","expected "+Z+" to not change")}n.addMethod("change",A),n.addMethod("changes",A);function P(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","increase"),r(this,"realDelta",J-U),this.assert(J-U>0,"expected "+Z+" to increase","expected "+Z+" to not increase")}n.addMethod("increase",P),n.addMethod("increases",P);function L(g,B,M){M&&r(this,"message",M);var S=r(this,"object"),q=r(this,"message"),ee=r(this,"ssfi");new n(S,q,ee,!0).is.a("function");var U;B?(new n(g,q,ee,!0).to.have.property(B),U=g[B]):(new n(g,q,ee,!0).is.a("function"),U=g()),new n(U,q,ee,!0).is.a("number"),S();var J=B==null?g():g[B],Z=B==null?U:"."+B;r(this,"deltaMsgObj",Z),r(this,"initialDeltaValue",U),r(this,"finalDeltaValue",J),r(this,"deltaBehavior","decrease"),r(this,"realDelta",U-J),this.assert(J-U<0,"expected "+Z+" to decrease","expected "+Z+" to not decrease")}n.addMethod("decrease",L),n.addMethod("decreases",L);function E(g,B){B&&r(this,"message",B);var M=r(this,"deltaMsgObj"),S=r(this,"initialDeltaValue"),q=r(this,"finalDeltaValue"),ee=r(this,"deltaBehavior"),U=r(this,"realDelta"),J;ee==="change"?J=Math.abs(q-S)===Math.abs(g):J=U===Math.abs(g),this.assert(J,"expected "+M+" to "+ee+" by "+g,"expected "+M+" to not "+ee+" by "+g)}n.addMethod("by",E),n.addProperty("extensible",function(){var g=r(this,"object"),B=g===Object(g)&&Object.isExtensible(g);this.assert(B,"expected #{this} to be extensible","expected #{this} to not be extensible")}),n.addProperty("sealed",function(){var g=r(this,"object"),B=g===Object(g)?Object.isSealed(g):!0;this.assert(B,"expected #{this} to be sealed","expected #{this} to not be sealed")}),n.addProperty("frozen",function(){var g=r(this,"object"),B=g===Object(g)?Object.isFrozen(g):!0;this.assert(B,"expected #{this} to be frozen","expected #{this} to not be frozen")}),n.addProperty("finite",function(g){var B=r(this,"object");this.assert(typeof B=="number"&&isFinite(B),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}});var HVe=D((zla,UVe)=>{u();p();UVe.exports=function(t,e){t.expect=function(n,a){return new t.Assertion(n,a)},t.expect.fail=function(n,a,r,f){throw arguments.length<2&&(r=n,n=void 0),r=r||"expect.fail()",new t.AssertionError(r,{actual:n,expected:a,operator:f},t.expect.fail)}}});var WVe=D((jla,zVe)=>{u();p();zVe.exports=function(t,e){var n=t.Assertion;function a(){function r(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new n(this.valueOf(),null,r):new n(this,null,r)}function f(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:f,get:r,configurable:!0});var i={};return i.fail=function(s,o,c,d){throw arguments.length<2&&(c=s,s=void 0),c=c||"should.fail()",new t.AssertionError(c,{actual:s,expected:o,operator:d},i.fail)},i.equal=function(s,o,c){new n(s,c).to.equal(o)},i.Throw=function(s,o,c,d){new n(s,d).to.Throw(o,c)},i.exist=function(s,o){new n(s,o).to.exist},i.not={},i.not.equal=function(s,o,c){new n(s,c).to.not.equal(o)},i.not.Throw=function(s,o,c,d){new n(s,d).to.not.Throw(o,c)},i.not.exist=function(s,o){new n(s,o).to.not.exist},i.throw=i.Throw,i.not.throw=i.not.Throw,i}t.should=a,t.Should=a}});var jVe=D((Qla,qVe)=>{u();p();qVe.exports=function(t,e){var n=t.Assertion,a=e.flag;var r=t.assert=function(f,i){var s=new n(null,null,t.assert,!0);s.assert(f,i,"[ negation message unavailable ]")};r.fail=function(f,i,s,o){throw arguments.length<2&&(s=f,f=void 0),s=s||"assert.fail()",new t.AssertionError(s,{actual:f,expected:i,operator:o},r.fail)},r.isOk=function(f,i){new n(f,i,r.isOk,!0).is.ok},r.isNotOk=function(f,i){new n(f,i,r.isNotOk,!0).is.not.ok},r.equal=function(f,i,s){var o=new n(f,s,r.equal,!0);o.assert(i==a(o,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",i,f,!0)},r.notEqual=function(f,i,s){var o=new n(f,s,r.notEqual,!0);o.assert(i!=a(o,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",i,f,!0)},r.strictEqual=function(f,i,s){new n(f,s,r.strictEqual,!0).to.equal(i)},r.notStrictEqual=function(f,i,s){new n(f,s,r.notStrictEqual,!0).to.not.equal(i)},r.deepEqual=r.deepStrictEqual=function(f,i,s){new n(f,s,r.deepEqual,!0).to.eql(i)},r.notDeepEqual=function(f,i,s){new n(f,s,r.notDeepEqual,!0).to.not.eql(i)},r.isAbove=function(f,i,s){new n(f,s,r.isAbove,!0).to.be.above(i)},r.isAtLeast=function(f,i,s){new n(f,s,r.isAtLeast,!0).to.be.least(i)},r.isBelow=function(f,i,s){new n(f,s,r.isBelow,!0).to.be.below(i)},r.isAtMost=function(f,i,s){new n(f,s,r.isAtMost,!0).to.be.most(i)},r.isTrue=function(f,i){new n(f,i,r.isTrue,!0).is.true},r.isNotTrue=function(f,i){new n(f,i,r.isNotTrue,!0).to.not.equal(!0)},r.isFalse=function(f,i){new n(f,i,r.isFalse,!0).is.false},r.isNotFalse=function(f,i){new n(f,i,r.isNotFalse,!0).to.not.equal(!1)},r.isNull=function(f,i){new n(f,i,r.isNull,!0).to.equal(null)},r.isNotNull=function(f,i){new n(f,i,r.isNotNull,!0).to.not.equal(null)},r.isNaN=function(f,i){new n(f,i,r.isNaN,!0).to.be.NaN},r.isNotNaN=function(f,i){new n(f,i,r.isNotNaN,!0).not.to.be.NaN},r.exists=function(f,i){new n(f,i,r.exists,!0).to.exist},r.notExists=function(f,i){new n(f,i,r.notExists,!0).to.not.exist},r.isUndefined=function(f,i){new n(f,i,r.isUndefined,!0).to.equal(void 0)},r.isDefined=function(f,i){new n(f,i,r.isDefined,!0).to.not.equal(void 0)},r.isFunction=function(f,i){new n(f,i,r.isFunction,!0).to.be.a("function")},r.isNotFunction=function(f,i){new n(f,i,r.isNotFunction,!0).to.not.be.a("function")},r.isObject=function(f,i){new n(f,i,r.isObject,!0).to.be.a("object")},r.isNotObject=function(f,i){new n(f,i,r.isNotObject,!0).to.not.be.a("object")},r.isArray=function(f,i){new n(f,i,r.isArray,!0).to.be.an("array")},r.isNotArray=function(f,i){new n(f,i,r.isNotArray,!0).to.not.be.an("array")},r.isString=function(f,i){new n(f,i,r.isString,!0).to.be.a("string")},r.isNotString=function(f,i){new n(f,i,r.isNotString,!0).to.not.be.a("string")},r.isNumber=function(f,i){new n(f,i,r.isNumber,!0).to.be.a("number")},r.isNotNumber=function(f,i){new n(f,i,r.isNotNumber,!0).to.not.be.a("number")},r.isFinite=function(f,i){new n(f,i,r.isFinite,!0).to.be.finite},r.isBoolean=function(f,i){new n(f,i,r.isBoolean,!0).to.be.a("boolean")},r.isNotBoolean=function(f,i){new n(f,i,r.isNotBoolean,!0).to.not.be.a("boolean")},r.typeOf=function(f,i,s){new n(f,s,r.typeOf,!0).to.be.a(i)},r.notTypeOf=function(f,i,s){new n(f,s,r.notTypeOf,!0).to.not.be.a(i)},r.instanceOf=function(f,i,s){new n(f,s,r.instanceOf,!0).to.be.instanceOf(i)},r.notInstanceOf=function(f,i,s){new n(f,s,r.notInstanceOf,!0).to.not.be.instanceOf(i)},r.include=function(f,i,s){new n(f,s,r.include,!0).include(i)},r.notInclude=function(f,i,s){new n(f,s,r.notInclude,!0).not.include(i)},r.deepInclude=function(f,i,s){new n(f,s,r.deepInclude,!0).deep.include(i)},r.notDeepInclude=function(f,i,s){new n(f,s,r.notDeepInclude,!0).not.deep.include(i)},r.nestedInclude=function(f,i,s){new n(f,s,r.nestedInclude,!0).nested.include(i)},r.notNestedInclude=function(f,i,s){new n(f,s,r.notNestedInclude,!0).not.nested.include(i)},r.deepNestedInclude=function(f,i,s){new n(f,s,r.deepNestedInclude,!0).deep.nested.include(i)},r.notDeepNestedInclude=function(f,i,s){new n(f,s,r.notDeepNestedInclude,!0).not.deep.nested.include(i)},r.ownInclude=function(f,i,s){new n(f,s,r.ownInclude,!0).own.include(i)},r.notOwnInclude=function(f,i,s){new n(f,s,r.notOwnInclude,!0).not.own.include(i)},r.deepOwnInclude=function(f,i,s){new n(f,s,r.deepOwnInclude,!0).deep.own.include(i)},r.notDeepOwnInclude=function(f,i,s){new n(f,s,r.notDeepOwnInclude,!0).not.deep.own.include(i)},r.match=function(f,i,s){new n(f,s,r.match,!0).to.match(i)},r.notMatch=function(f,i,s){new n(f,s,r.notMatch,!0).to.not.match(i)},r.property=function(f,i,s){new n(f,s,r.property,!0).to.have.property(i)},r.notProperty=function(f,i,s){new n(f,s,r.notProperty,!0).to.not.have.property(i)},r.propertyVal=function(f,i,s,o){new n(f,o,r.propertyVal,!0).to.have.property(i,s)},r.notPropertyVal=function(f,i,s,o){new n(f,o,r.notPropertyVal,!0).to.not.have.property(i,s)},r.deepPropertyVal=function(f,i,s,o){new n(f,o,r.deepPropertyVal,!0).to.have.deep.property(i,s)},r.notDeepPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepPropertyVal,!0).to.not.have.deep.property(i,s)},r.ownProperty=function(f,i,s){new n(f,s,r.ownProperty,!0).to.have.own.property(i)},r.notOwnProperty=function(f,i,s){new n(f,s,r.notOwnProperty,!0).to.not.have.own.property(i)},r.ownPropertyVal=function(f,i,s,o){new n(f,o,r.ownPropertyVal,!0).to.have.own.property(i,s)},r.notOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notOwnPropertyVal,!0).to.not.have.own.property(i,s)},r.deepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.deepOwnPropertyVal,!0).to.have.deep.own.property(i,s)},r.notDeepOwnPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(i,s)},r.nestedProperty=function(f,i,s){new n(f,s,r.nestedProperty,!0).to.have.nested.property(i)},r.notNestedProperty=function(f,i,s){new n(f,s,r.notNestedProperty,!0).to.not.have.nested.property(i)},r.nestedPropertyVal=function(f,i,s,o){new n(f,o,r.nestedPropertyVal,!0).to.have.nested.property(i,s)},r.notNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notNestedPropertyVal,!0).to.not.have.nested.property(i,s)},r.deepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.deepNestedPropertyVal,!0).to.have.deep.nested.property(i,s)},r.notDeepNestedPropertyVal=function(f,i,s,o){new n(f,o,r.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(i,s)},r.lengthOf=function(f,i,s){new n(f,s,r.lengthOf,!0).to.have.lengthOf(i)},r.hasAnyKeys=function(f,i,s){new n(f,s,r.hasAnyKeys,!0).to.have.any.keys(i)},r.hasAllKeys=function(f,i,s){new n(f,s,r.hasAllKeys,!0).to.have.all.keys(i)},r.containsAllKeys=function(f,i,s){new n(f,s,r.containsAllKeys,!0).to.contain.all.keys(i)},r.doesNotHaveAnyKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyKeys,!0).to.not.have.any.keys(i)},r.doesNotHaveAllKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllKeys,!0).to.not.have.all.keys(i)},r.hasAnyDeepKeys=function(f,i,s){new n(f,s,r.hasAnyDeepKeys,!0).to.have.any.deep.keys(i)},r.hasAllDeepKeys=function(f,i,s){new n(f,s,r.hasAllDeepKeys,!0).to.have.all.deep.keys(i)},r.containsAllDeepKeys=function(f,i,s){new n(f,s,r.containsAllDeepKeys,!0).to.contain.all.deep.keys(i)},r.doesNotHaveAnyDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(i)},r.doesNotHaveAllDeepKeys=function(f,i,s){new n(f,s,r.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(i)},r.throws=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null);var c=new n(f,o,r.throws,!0).to.throw(i,s);return a(c,"object")},r.doesNotThrow=function(f,i,s,o){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null),new n(f,o,r.doesNotThrow,!0).to.not.throw(i,s)},r.operator=function(f,i,s,o){var c;switch(i){case"==":c=f==s;break;case"===":c=f===s;break;case">":c=f>s;break;case">=":c=f>=s;break;case"<":c=f{u();p();var GVe=[];D6.version="4.3.8";D6.AssertionError=c1e();var KVe=PVe();D6.use=function(t){return~GVe.indexOf(t)||(t(D6,KVe),GVe.push(t)),D6};D6.util=KVe;var Nqt=X7();D6.config=Nqt;var Oqt=FVe();D6.use(Oqt);var Uqt=OVe();D6.use(Uqt);var Hqt=HVe();D6.use(Hqt);var zqt=WVe();D6.use(zqt);var Wqt=jVe();D6.use(Wqt)});var VVe=D((Zla,QVe)=>{u();p();QVe.exports=Dm()});var JVe=D(Rx=>{"use strict";u();p();Object.defineProperty(Rx,"__esModule",{value:!0});Rx.expectApprox=Rx.awaitCondition=void 0;var YVe=VVe(),$Ve=ia(),qqt=o1e(),jqt=async(t,e=1e3,n=10)=>{for(let a=0;a{if(t=$Ve.BigNumber.from(t),e=$Ve.BigNumber.from(e),!(n||a||r||f))throw new Error("Must define at least one parameter to limit the deviation of the actual value.");let s,o=n?e.mul(100+n).div(100):null,c=r?e.add(r):null;o&&c?s=o.lte(c)?o:c:s=o||c;let d,l=a?e.mul(100-a).div(100):null,h=f?e.sub(f):null;l&&h?d=l.gte(h)?l:h:d=l||h,s&&(0,YVe.expect)(t.lte(s),`Actual value (${t}) is greater than the calculated upper bound of (${s})`).to.be.true,d&&(0,YVe.expect)(t.gte(d),`Actual value (${t}) is less than the calculated lower bound of (${d})`).to.be.true};Rx.expectApprox=Gqt});var pq=D(El=>{"use strict";u();p();var Kqt=El&&El.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),pR=El&&El.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Kqt(e,t,n)};Object.defineProperty(El,"__esModule",{value:!0});pR(sQe(),El);pR(dQe(),El);pR(s1e(),El);pR(o1e(),El);pR(JVe(),El)});var ZVe=D(XVe=>{"use strict";u();p();Object.defineProperty(XVe,"__esModule",{value:!0})});var eYe=D(t9=>{"use strict";u();p();var Qqt=t9&&t9.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Vqt=t9&&t9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Qqt(e,t,n)};Object.defineProperty(t9,"__esModule",{value:!0});Vqt(ZVe(),t9)});var tYe=D(hq=>{"use strict";u();p();Object.defineProperty(hq,"__esModule",{value:!0});hq.getChainId=void 0;var Yqt=async t=>(await t.getNetwork()).chainId;hq.getChainId=Yqt});var nYe=D(n9=>{"use strict";u();p();var $qt=n9&&n9.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Jqt=n9&&n9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&$qt(e,t,n)};Object.defineProperty(n9,"__esModule",{value:!0});Jqt(tYe(),n9)});var rYe=D(Pm=>{"use strict";u();p();var Xqt=Pm&&Pm.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),aYe=Pm&&Pm.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Xqt(e,t,n)};Object.defineProperty(Pm,"__esModule",{value:!0});aYe(eYe(),Pm);aYe(nYe(),Pm)});var oYe=D(s2=>{"use strict";u();p();Object.defineProperty(s2,"__esModule",{value:!0});s2.undoL1ToL2Alias=s2.applyL1ToL2Alias=s2.L1_TO_L2_ALIAS_OFFSET=void 0;var fYe=Po(),iYe=ia(),sYe=pq();s2.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var Zqt=t=>{if(!(0,fYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,sYe.bnToAddress)(iYe.BigNumber.from(t).add(s2.L1_TO_L2_ALIAS_OFFSET))};s2.applyL1ToL2Alias=Zqt;var ejt=t=>{if(!(0,fYe.isAddress)(t))throw new Error(`not a valid address: ${t}`);return(0,sYe.bnToAddress)(iYe.BigNumber.from(t).sub(s2.L1_TO_L2_ALIAS_OFFSET))};s2.undoL1ToL2Alias=ejt});var cYe=D(hf=>{"use strict";u();p();Object.defineProperty(hf,"__esModule",{value:!0});hf.calldataCost=hf.zeroesAndOnes=hf.calculateL1Fee=hf.calculateL1GasUsed=hf.scaleDecimals=hf.txDataNonZeroGasEIP2028=hf.txDataZeroGas=void 0;var Mx=ia(),tjt=pq();hf.txDataZeroGas=4;hf.txDataNonZeroGasEIP2028=16;var njt=Mx.BigNumber.from(10),ajt=(t,e)=>{t=Mx.BigNumber.from(t),e=Mx.BigNumber.from(e);let n=njt.pow(e);return t.div(n)};hf.scaleDecimals=ajt;var rjt=(t,e)=>{let[n,a]=(0,hf.zeroesAndOnes)(t),r=n*hf.txDataZeroGas,f=(a+68)*hf.txDataNonZeroGasEIP2028;return Mx.BigNumber.from(f).add(r).add(e)};hf.calculateL1GasUsed=rjt;var fjt=(t,e,n,a,r)=>{let s=(0,hf.calculateL1GasUsed)(t,e).mul(n).mul(a);return(0,hf.scaleDecimals)(s,r)};hf.calculateL1Fee=fjt;var ijt=t=>{typeof t=="string"&&(t=_.Buffer.from((0,tjt.remove0x)(t),"hex"));let e=0,n=0;for(let a of t)a===0?e++:n++;return[e,n]};hf.zeroesAndOnes=ijt;var sjt=t=>{let[e,n]=(0,hf.zeroesAndOnes)(t),a=Mx.BigNumber.from(e).mul(hf.txDataZeroGas),r=Mx.BigNumber.from(n).mul(hf.txDataNonZeroGasEIP2028);return a.add(r)};hf.calldataCost=sjt});var lYe=D(dYe=>{"use strict";u();p();Object.defineProperty(dYe,"__esModule",{value:!0})});var hYe=D(Zd=>{"use strict";u();p();var ojt=Zd&&Zd.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),cjt=Zd&&Zd.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),djt=Zd&&Zd.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&ojt(e,t,n);return cjt(e,t),e};Object.defineProperty(Zd,"__esModule",{value:!0});Zd.DepositTx=Zd.SourceHashDomain=void 0;var A1e=Po(),o2=ia(),x1e=H1(),ljt=_3(),uYe=djt(vC()),_l=Vt(),ujt=t=>t?new Uint8Array([1]):new Uint8Array([]),E1e=(t,e)=>{let n=(0,_l.stripZeros)(o2.BigNumber.from(t).toHexString());if(n.length>32)throw new Error(`invalid length for ${e}`);return n},pjt=t=>{if(t==="0x")return!1;if(t==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${t}`)},_1e=t=>t==="0x"?ljt.Zero:o2.BigNumber.from(t),pYe=t=>t==="0x"?null:(0,A1e.getAddress)(t),hR;(function(t){t[t.UserDeposit=0]="UserDeposit",t[t.L1InfoDeposit=1]="L1InfoDeposit"})(hR||(Zd.SourceHashDomain=hR={}));var I1e=class{constructor(e={}){this.type=126,this.version=0,this._sourceHash=e.sourceHash,this.from=e.from,this.to=e.to,this.mint=e.mint,this.value=e.value,this.gas=e.gas,this.isSystemTransaction=e.isSystemTransaction||!1,this.data=e.data,this.domain=e.domain,this.l1BlockHash=e.l1BlockHash,this.logIndex=e.logIndex,this.sequenceNumber=e.sequenceNumber}hash(){let e=this.encode();return(0,x1e.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case hR.UserDeposit:e=o2.BigNumber.from(this.logIndex).toHexString();break;case hR.L1InfoDeposit:e=o2.BigNumber.from(this.sequenceNumber).toHexString();break;default:throw new Error(`Unknown domain: ${this.domain}`)}if(!this.l1BlockHash)throw new Error("Need l1BlockHash to compute sourceHash");let n=this.l1BlockHash,a=(0,_l.hexConcat)([n,(0,_l.zeroPad)(e,32)]),r=(0,x1e.keccak256)(a),f=o2.BigNumber.from(this.domain).toHexString(),i=(0,_l.hexConcat)([(0,_l.zeroPad)(f,32),r]);this._sourceHash=(0,x1e.keccak256)(i)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,A1e.getAddress)(this.from)||"0x",this.to!=null?(0,A1e.getAddress)(this.to):"0x",E1e(this.mint||0,"mint"),E1e(this.value||0,"value"),E1e(this.gas||0,"gas"),ujt(this.isSystemTransaction),this.data||"0x"];return(0,_l.hexConcat)([o2.BigNumber.from(this.type).toHexString(),uYe.encode(e)])}decode(e,n={}){let a=(0,_l.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=uYe.decode(a.slice(1));return this._sourceHash=r[0],this.from=pYe(r[1]),this.to=pYe(r[2]),this.mint=_1e(r[3]),this.value=_1e(r[4]),this.gas=_1e(r[5]),this.isSystemTransaction=pjt(r[6]),this.data=r[7],"l1BlockHash"in n&&(this.l1BlockHash=n.l1BlockHash),"domain"in n&&(this.domain=n.domain),"logIndex"in n&&(this.logIndex=n.logIndex),"sequenceNumber"in n&&(this.sequenceNumber=n.sequenceNumber),this}static decode(e,n){return new this().decode(e,n)}fromL1Receipt(e,n){if(!e.events)throw new Error("cannot parse receipt");let a=e.events[n];if(!a)throw new Error(`event index ${n} does not exist`);return this.fromL1Event(a)}static fromL1Receipt(e,n){return new this({}).fromL1Receipt(e,n)}fromL1Event(e){if(e.event!=="TransactionDeposited")throw new Error(`incorrect event type: ${e.event}`);if(typeof e.args>"u")throw new Error("no event args");if(typeof e.args.from>"u")throw new Error('"from" undefined');if(this.from=e.args.from,typeof e.args.to>"u")throw new Error('"to" undefined');if(typeof e.args.version>"u")throw new Error('"verison" undefined');if(!e.args.version.eq(0))throw new Error(`Unsupported version ${e.args.version.toString()}`);if(typeof e.args.opaqueData>"u")throw new Error('"opaqueData" undefined');let n=e.args.opaqueData;if(n.length<73)throw new Error(`invalid opaqueData size: ${n.length}`);let a=0;this.mint=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.value=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+32)),a+=32,this.gas=o2.BigNumber.from((0,_l.hexDataSlice)(n,a,a+8)),a+=8;let r=o2.BigNumber.from(n[a]).eq(1);a+=1,this.to=r===!0?null:e.args.to;let f=n.length-a;return this.isSystemTransaction=!1,this.data=(0,_l.hexDataSlice)(n,a,a+f),this.domain=hR.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};Zd.DepositTx=I1e});var C1e=D(Q1=>{"use strict";u();p();Object.defineProperty(Q1,"__esModule",{value:!0});Q1.encodeCrossDomainMessage=Q1.encodeCrossDomainMessageV1=Q1.encodeCrossDomainMessageV0=Q1.decodeVersionedNonce=Q1.encodeVersionedNonce=void 0;var hjt=ia(),mjt=Tw(),mYe=new mjt.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),bjt=hjt.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),yjt=(t,e)=>e.or(t.shl(240));Q1.encodeVersionedNonce=yjt;var gjt=t=>({version:t.shr(240),nonce:t.and(bjt)});Q1.decodeVersionedNonce=gjt;var vjt=(t,e,n,a)=>mYe.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[t,e,n,a]);Q1.encodeCrossDomainMessageV0=vjt;var wjt=(t,e,n,a,r,f)=>mYe.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[t,e,n,a,r,f]);Q1.encodeCrossDomainMessageV1=wjt;var Tjt=(t,e,n,a,r,f)=>{let{version:i}=(0,Q1.decodeVersionedNonce)(t);if(i.eq(0))return(0,Q1.encodeCrossDomainMessageV0)(n,e,f,t);if(i.eq(1))return(0,Q1.encodeCrossDomainMessageV1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};Q1.encodeCrossDomainMessage=Tjt});var yYe=D(zc=>{"use strict";u();p();Object.defineProperty(zc,"__esModule",{value:!0});zc.hashOutputRootProof=zc.hashWithdrawal=zc.hashCrossDomainMessagev1=zc.hashCrossDomainMessagev0=zc.hashCrossDomainMessage=void 0;var mq=H1(),bYe=Tw(),k1e=C1e(),xjt=(t,e,n,a,r,f)=>{let{version:i}=(0,k1e.decodeVersionedNonce)(t);if(i.eq(0))return(0,zc.hashCrossDomainMessagev0)(n,e,f,t);if(i.eq(1))return(0,zc.hashCrossDomainMessagev1)(t,e,n,a,r,f);throw new Error(`unknown version ${i.toString()}`)};zc.hashCrossDomainMessage=xjt;var Ejt=(t,e,n,a)=>(0,mq.keccak256)((0,k1e.encodeCrossDomainMessageV0)(t,e,n,a));zc.hashCrossDomainMessagev0=Ejt;var _jt=(t,e,n,a,r,f)=>(0,mq.keccak256)((0,k1e.encodeCrossDomainMessageV1)(t,e,n,a,r,f));zc.hashCrossDomainMessagev1=_jt;var Ajt=(t,e,n,a,r,f)=>{let i=["uint256","address","address","uint256","uint256","bytes"],s=bYe.defaultAbiCoder.encode(i,[t,e,n,a,r,f]);return(0,mq.keccak256)(s)};zc.hashWithdrawal=Ajt;var Ijt=t=>(0,mq.keccak256)(bYe.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[t.version,t.stateRoot,t.messagePasserStorageRoot,t.latestBlockhash]));zc.hashOutputRootProof=Ijt});var gYe=D(Bx=>{"use strict";u();p();var Cjt=Bx&&Bx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bx,"__esModule",{value:!0});Bx.OpNodeProvider=void 0;var kjt=Cjt(Or()),f1=ia(),Sjt=Ba(),Rjt=C8(),Mjt=t=>{if(t.error){let e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result},S1e=class extends kjt.default{constructor(e){super(),this._nextId=0,typeof e=="string"?this.connection={url:e}:this.connection=e}async syncStatus(){let e=await this.send("optimism_syncStatus",[]);return{currentL1:{hash:e.current_l1.hash,number:f1.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:f1.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:f1.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:f1.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:f1.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:f1.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:f1.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:f1.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:f1.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:f1.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:f1.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:f1.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:f1.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:f1.BigNumber.from(e.finalized_l2.sequenceNumber)}}}async rollupConfig(){return await this.send("optimism_rollupConfig",[])}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};return this.emit("debug",{action:"request",request:(0,Sjt.deepCopy)(a),provider:this}),(0,Rjt.fetchJson)(this.connection,JSON.stringify(a),Mjt).then(f=>(this.emit("debug",{action:"response",request:a,response:f,provider:this}),f),f=>{throw this.emit("debug",{action:"response",error:f,request:a,provider:this}),f})}};Bx.OpNodeProvider=S1e});var wYe=D(Dx=>{"use strict";u();p();Object.defineProperty(Dx,"__esModule",{value:!0});Dx.defaultResourceConfig=Dx.predeploys=void 0;var vYe=Je();Dx.predeploys={L2ToL1MessagePasser:"0x4200000000000000000000000000000000000016",DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",SequencerFeeVault:"0x4200000000000000000000000000000000000011",OptimismMintableERC20Factory:"0x4200000000000000000000000000000000000012",L1BlockNumber:"0x4200000000000000000000000000000000000013",L1Block:"0x4200000000000000000000000000000000000015",LegacyERC20ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006",GovernanceToken:"0x4200000000000000000000000000000000000042",LegacyMessagePasser:"0x4200000000000000000000000000000000000000",L2ERC721Bridge:"0x4200000000000000000000000000000000000014",OptimismMintableERC721Factory:"0x4200000000000000000000000000000000000017",ProxyAdmin:"0x4200000000000000000000000000000000000018",BaseFeeVault:"0x4200000000000000000000000000000000000019",L1FeeVault:"0x420000000000000000000000000000000000001a"};var Bjt=vYe.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");Dx.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:vYe.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:Bjt}});var TYe=D(Wc=>{"use strict";u();p();var Djt=Wc&&Wc.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Lm=Wc&&Wc.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Djt(e,t,n)};Object.defineProperty(Wc,"__esModule",{value:!0});Lm(oYe(),Wc);Lm(cYe(),Wc);Lm(lYe(),Wc);Lm(hYe(),Wc);Lm(C1e(),Wc);Lm(yYe(),Wc);Lm(gYe(),Wc);Lm(wYe(),Wc)});var EYe=D(bq=>{"use strict";u();p();Object.defineProperty(bq,"__esModule",{value:!0});bq.addChecksum=void 0;var Pjt=Je(),xYe=(t,e)=>e===void 0?null:e,R1e=t=>{if(Array.isArray(t))return`[${t.map(e=>R1e(e)).join(",")}]`;if(typeof t=="object"&&t!==null){let e="",n=Object.keys(t).sort();e+=`{${JSON.stringify(n,xYe)}`;for(let a of n)e+=`${R1e(t[a])},`;return`${e}}`}return`${JSON.stringify(t,xYe)}`},Ljt=t=>{let e=R1e(Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{name:null})}));return Pjt.ethers.utils.solidityKeccak256(["string"],[e])||void 0},Fjt=t=>Object.assign(Object.assign({},t),{meta:Object.assign(Object.assign({},t.meta),{checksum:Ljt(t)})});bq.addChecksum=Fjt});var AYe=D((Px,_Ye)=>{"use strict";u();p();var Njt=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},a9=Njt();_Ye.exports=Px=a9.fetch;a9.fetch&&(Px.default=a9.fetch.bind(a9));Px.Headers=a9.Headers;Px.Request=a9.Request;Px.Response=a9.Response});var CYe=D(Lx=>{"use strict";u();p();var Ojt=Lx&&Lx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Lx,"__esModule",{value:!0});Lx.Etherscan=void 0;var Ujt=Ojt(AYe()),IYe={1:{chainId:1,names:["mainnet","main","eth","ethereum"],etherscanApiUrl:"https://api.etherscan.io"},3:{chainId:3,names:["ropsten"],etherscanApiUrl:"https://api-ropsten.etherscan.io"},4:{chainId:4,names:["rinkeby"],etherscanApiUrl:"https://api-rinkeby.etherscan.io"},5:{chainId:5,names:["goerli"],etherscanApiUrl:"https://api-goerli.etherscan.io"},10:{chainId:10,names:["optimism"],etherscanApiUrl:"https://api-optimistic.etherscan.io"},42:{chainId:42,names:["kovan"],etherscanApiUrl:"https://api-kovan.etherscan.io"},69:{chainId:69,names:["opkovan","kovan-optimism","optimistic-kovan"],etherscanApiUrl:"https://api-kovan-optimistic.etherscan.io"}},M1e=class{constructor(e,n){this.apiKey=e,this.network=n,typeof n=="string"?this.net=Object.values(IYe).find(a=>a.names.includes(n)):this.net=IYe[this.network]}async getContractSource(e){let n=new URL(`${this.net.etherscanApiUrl}/api`);return n.searchParams.append("module","contract"),n.searchParams.append("action","getsourcecode"),n.searchParams.append("address",e),n.searchParams.append("apikey",this.apiKey),(await(await(0,Ujt.default)(n)).json()).result[0]}async getContractABI(e){let n=await this.getContractSource(e);return n.Proxy==="1"?(await this.getContractSource(n.Implementation)).ABI:n.ABI}};Lx.Etherscan=M1e});var P1e=D((r2a,MYe)=>{"use strict";u();p();function Fm(t){"@babel/helpers - typeof";return Fm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fm(t)}function kYe(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function yq(t){return yq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},yq(t)}var RYe={},Fx,B1e;function mR(t,e,n){n||(n=Error);function a(f,i,s){return typeof e=="string"?e:e(f,i,s)}var r=function(f){jjt(s,f);var i=Gjt(s);function s(o,c,d){var l;return qjt(this,s),l=i.call(this,a(o,c,d)),l.code=t,l}return Hjt(s)}(n);RYe[t]=r}function SYe(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(a){return String(a)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:n===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function Yjt(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function $jt(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function Jjt(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}mR("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);mR("ERR_INVALID_ARG_TYPE",function(t,e,n){Fx===void 0&&(Fx=r9()),Fx(typeof t=="string","'name' must be a string");var a;typeof e=="string"&&Yjt(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if($jt(t," argument"))r="The ".concat(t," ").concat(a," ").concat(SYe(e,"type"));else{var f=Jjt(t,".")?"property":"argument";r='The "'.concat(t,'" ').concat(f," ").concat(a," ").concat(SYe(e,"type"))}return r+=". Received type ".concat(Fm(n)),r},TypeError);mR("ERR_INVALID_ARG_VALUE",function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";B1e===void 0&&(B1e=rl());var a=B1e.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(a)},TypeError,RangeError);mR("ERR_INVALID_RETURN_VALUE",function(t,e,n){var a;return n&&n.constructor&&n.constructor.name?a="instance of ".concat(n.constructor.name):a="type ".concat(Fm(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);mR("ERR_MISSING_ARGS",function(){for(var t=arguments.length,e=new Array(t),n=0;n0,"At least one arg needs to be specified");var a="The ",r=e.length;switch(e=e.map(function(f){return'"'.concat(f,'"')}),r){case 1:a+="".concat(e[0]," argument");break;case 2:a+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:a+=e.slice(0,r-1).join(", "),a+=", and ".concat(e[r-1]," arguments");break}return"".concat(a," must be specified")},TypeError);MYe.exports.codes=RYe});var zYe=D((s2a,HYe)=>{"use strict";u();p();function BYe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function DYe(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rGt(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vR(t,e){return vR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},vR(t,e)}function wR(t){return wR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},wR(t)}function qc(t){"@babel/helpers - typeof";return qc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qc(t)}var fGt=rl(),N1e=fGt.inspect,iGt=P1e(),sGt=iGt.codes.ERR_INVALID_ARG_TYPE;function LYe(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function oGt(t,e){if(e=Math.floor(e),t.length==0||e==0)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length),t}var Al="",bR="",yR="",oo="",f9={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},cGt=10;function FYe(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach(function(a){n[a]=t[a]}),Object.defineProperty(n,"message",{value:t.message}),n}function gR(t){return N1e(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function dGt(t,e,n){var a="",r="",f=0,i="",s=!1,o=gR(t),c=o.split(` -`),d=gR(e).split(` -`),l=0,h="";if(n==="strictEqual"&&qc(t)==="object"&&qc(e)==="object"&&t!==null&&e!==null&&(n="strictEqualObject"),c.length===1&&d.length===1&&c[0]!==d[0]){var y=c[0].length+d[0].length;if(y<=cGt){if((qc(t)!=="object"||t===null)&&(qc(e)!=="object"||e===null)&&(t!==0||e!==0))return"".concat(f9[n],` + `+n.stack,t}});var AUe=B((uaa,SUe)=>{"use strict";p();u();var _N0=IU(),wN0=Sse();SUe.exports=function(e){try{e=new _N0(e)}catch(t){throw wN0(t,`invalid cid: ${e}`)}return e.version!==1&&(e=e.toV1()),e.toBaseEncodedString("base32")}});var Ase=B((baa,kUe)=>{"use strict";p();u();var xN0=RS();kUe.exports=function(){let e=[];for(let t of Object.values(xN0.names))e.push({name:t.name,code:t.code});return e}});var kse=B((vaa,PUe)=>{"use strict";p();u();var IN0=IU();PUe.exports=function(){let e=[];for(let[t,a]of Object.entries(IN0.codecs))e.push({name:t,code:a});return e}});var NUe=B((waa,BUe)=>{"use strict";p();u();var{bases:RUe}=(Xre(),yi(PBe));function MUe(n,e,t,a){return{name:n,prefix:e,encoder:{name:n,prefix:e,encode:t},decoder:{decode:a}}}var LUe=MUe("utf8","u",n=>"u"+new TextDecoder("utf8").decode(n),n=>new TextEncoder().encode(n.substring(1))),Pse=MUe("ascii","a",n=>{let e="a";for(let t=0;t{n=n.substring(1);let e=new Uint8Array(n.length);for(let t=0;t{"use strict";p();u();var DN0=NUe();function CN0(n,e="utf8"){let t=DN0[e];if(!t)throw new Error(`Unsupported encoding "${e}"`);return t.encoder.encode(n).substring(1)}FUe.exports=CN0});var qUe=B((Saa,UUe)=>{"use strict";p();u();var SN0=IU(),AN0=Ase(),kN0=kse(),PN0=Sse(),Rse=RS(),v_=MS(),BS=OUe();UUe.exports=function(e,t){t=t||{};let a=t.format||"%s";if(a==="prefix"&&(a="%P"),!VUe(a)||a.indexOf("%")===-1)throw new Error(`invalid format string: ${a}`);let r=e;try{e=new SN0(e)}catch(s){throw PN0(s,`invalid cid: ${e}`)}if(t.cidVersion!=null&&e.version!==t.cidVersion)if(t.cidVersion===0)e=e.toV0();else if(t.cidVersion===1)e=e.toV1();else throw new Error(`invalid cid version: ${t.cidVersion}`);let i="base58btc";return t.base?i=$Ue(t.base).name:VUe(r)&&(i=Rse.isEncoded(r)||i),a.replace(/%([a-zA-Z%])/g,RN0(e,i))};function VUe(n){return Object.prototype.toString.call(n)==="[object String]"}function RN0(n,e){return(a,r)=>{switch(r){case"%":return"%";case"b":return e;case"B":return $Ue(e).code;case"v":return`cidv${n.version}`;case"V":return n.version.toString();case"c":return n.codec;case"C":return LN0(n).toString();case"h":return v_.decode(n.multihash).name;case"H":return v_.decode(n.multihash).code.toString();case"L":return v_.decode(n.multihash).length.toString();case"m":return BS(Rse.encode(e,n.multihash));case"M":return BS(n.multihash,e);case"d":return BS(Rse.encode(e,v_.decode(n.multihash).digest));case"D":return BS(v_.decode(n.multihash).digest,e);case"s":return n.toString(e);case"S":return n.version===1?n.toString(e).slice(1):BS(n.bytes,e);case"P":return MN0(n);default:throw new Error(`unrecognized specifier in format string: ${r}`)}}}function $Ue(n){let e=AN0().find(t=>t.code===n||t.name===n);if(!e)throw new Error(`invalid multibase: ${n}`);return e}function LN0(n){let e=kN0().find(t=>t.name===n.codec);if(!e)throw new Error(`invalid codec: ${n.codec}`);return e.code}function MN0(n){let{name:e,length:t}=v_.decode(n.multihash);return`cidv${n.version}-${n.codec}-${e}-${t}`}});var zUe=B((Paa,HUe)=>{"use strict";p();u();var BN0=MS();HUe.exports=function(){let e=[];for(let[t,a]of Object.entries(BN0.names))e.push({name:t,code:a});return e}});var WUe=B(T_=>{"use strict";p();u();T_.base32=AUe();T_.bases=Ase();T_.codecs=kse();T_.format=qUe();T_.hashes=zUe()});var GUe=B((Faa,jUe)=>{"use strict";p();u();jUe.exports=WUe()});var QUe=B(($aa,KUe)=>{p();u();KUe.exports=typeof self=="object"?self.FormData:window.FormData});function NN0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[n]?E.env[n]:e}function Lse(n){let e=new URL(n).hostname;return e.endsWith(tqe)?!0:e.endsWith(FN0)}function qN0(n){return Array.isArray(n)?{"ipfs://":n}:n||{}}function HN0(n,e,t){let a=e.split("/"),r=WN0(a[0]),i=a.slice(1).join("/"),s=n;if(n.includes("{cid}")&&n.includes("{path}")?s=s.replace("{cid}",r).replace("{path}",i):n.includes("{cid}")?s=s.replace("{cid}",r):s+=`${r}/${i}`,n.includes("{clientId}")){if(!t)throw new Error("Cannot use {clientId} in gateway URL without providing a client ID");s=s.replace("{clientId}",t)}return s}function zN0(n,e,t){let a={...$N0,...n};for(let r of Object.keys(a)){let i=a[r].map(s=>{if(e&&s.includes("{clientId}"))return s.replace("{clientId}",e);if(t&&s.includes("{clientId}")){if(typeof window<"u")throw new Error("Cannot use secretKey in browser context");let o=dU(t).slice(0,32);return s.replace("{clientId}",o)}else return s.includes("{clientId}")?void 0:s}).filter(s=>s!==void 0);a[r]=i}return a}function WN0(n){let e="";try{let t=n.split("/")[0];e=ZUe.default.base32(t)}catch{throw new Error(`The CID ${n} is not valid.`)}return e}function r7(){return typeof window<"u"}function DU(n){return global.File&&n instanceof File}function __(n){return global.Buffer&&n instanceof D.Buffer}function CU(n){return!!(n&&n.name&&n.data&&typeof n.name=="string"&&(typeof n.data=="string"||__(n.data)))}function zm(n){return DU(n)||__(n)||CU(n)}function jN0(n,e){if(DU(n)&&DU(e)){if(n.name===e.name&&n.lastModified===e.lastModified&&n.size===e.size)return!0}else{if(__(n)&&__(e))return n.equals(e);if(CU(n)&&CU(e)&&n.name===e.name){if(typeof n.data=="string"&&typeof e.data=="string")return n.data===e.data;if(__(n.data)&&__(e.data))return n.data.equals(e.data)}}return!1}function GN0(n,e){let t=n.replace("{cid}","(?[^/]+)").replace("{path}","(?[^?#]+)"),a=new RegExp(t),r=e.match(a);if(r){let i=r.groups?.hash,s=r.groups?.path,f=e.includes("?")?e.substring(e.indexOf("?")+1):"";return{hash:i,path:s,query:f}}}function Use(n,e){for(let t of Object.keys(e))for(let a of e?.[t]||[])if(a.includes("{cid}")){let r=GN0(a,n);if(r?.hash&&r?.path){let i=r?.query?`?${r?.query}`:"";return`${t}${r?.hash}/${r?.path}${i}`}else return n}else if(n.startsWith(a))return n.replace(a,t);return n}function qse(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3?arguments[3]:void 0,r=Object.keys(e).find(f=>n.startsWith(f)),i=r?e[r]:[];if(!r&&t>0||r&&t>=i.length)return;if(!r)return n;let s=n.replace(r,"");try{return HN0(i[t],s,a)}catch{console.warn(`The IPFS uri: ${s} is not valid.`);return}}function Bse(n,e){return typeof n=="string"?Use(n,e):typeof n=="object"?!n||zm(n)?n:Array.isArray(n)?n.map(t=>Bse(t,e)):Object.fromEntries(Object.entries(n).map(t=>{let[a,r]=t;return[a,Bse(r,e)]})):n}function SU(n,e,t){return typeof n=="string"?qse(n,e,0,t):typeof n=="object"?!n||zm(n)?n:Array.isArray(n)?n.map(a=>SU(a,e,t)):Object.fromEntries(Object.entries(n).map(a=>{let[r,i]=a;return[r,SU(i,e,t)]})):n}function Nse(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(zm(n))return e.push(n),e;if(typeof n=="object"){if(!n)return e;Array.isArray(n)?n.forEach(t=>Nse(t,e)):Object.keys(n).map(t=>Nse(n[t],e))}return e}function Fse(n,e){if(zm(n)){if(e.length)return n=e.shift(),n;console.warn("Not enough URIs to replace all files in object.")}return typeof n=="object"?n&&(Array.isArray(n)?n.map(t=>Fse(t,e)):Object.fromEntries(Object.entries(n).map(t=>{let[a,r]=t;return[a,Fse(r,e)]}))):n}function KN0(n){for(let e=0,t=YUe.length;e"u"?{x_sdk_name:EU.name,x_sdk_platform:XUe(),x_sdk_version:EU.version,x_sdk_os:JUe(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=EU.name,globalThis.X_SDK_PLATFORM=XUe(),globalThis.X_SDK_VERSION=EU.version,globalThis.X_SDK_OS=JUe(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function XUe(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":typeof window<"u"?"browser":"node"}function YN0(n){return Vse.has(n)}function JN0(n,e){Mse.has(n)&&clearTimeout(Mse.get(n));let t=e.headers.get("Retry-After"),a=5e3;if(t){let r=parseInt(t);isNaN(r)||(a=r*1e3)}Vse.set(n,!0),Mse.set(n,setTimeout(()=>Vse.delete(n),a))}var ZUe,eqe,tqe,FN0,ON0,VN0,$N0,UN0,EU,YUe,Ose,Vse,Mse,$se,Hm,w_=ce(()=>{"use strict";p();u();ZUe=Te(GUe());lU();eqe=Te(QUe());tqe=".ipfscdn.io",FN0=".thirdwebstorage-staging.com",ON0=[`https://{clientId}${tqe}/ipfs/{cid}/{path}`];VN0=["https://{cid}.ipfs.cf-ipfs.com/{path}","https://{cid}.ipfs.dweb.link/{path}","https://ipfs.io/ipfs/{cid}/{path}","https://cloudflare-ipfs.com/ipfs/{cid}/{path}","https://{cid}.ipfs.w3s.link/{path}","https://w3s.link/ipfs/{cid}/{path}","https://nftstorage.link/ipfs/{cid}/{path}","https://gateway.pinata.cloud/ipfs/{cid}/{path}"],$N0={"ipfs://":[...ON0,...VN0]},UN0=NN0("CUSTOM_UPLOAD_SERVER_URL","https://storage.thirdweb.com");EU={name:"@thirdweb-dev/storage",version:"2.0.15",main:"dist/thirdweb-dev-storage.cjs.js",module:"dist/thirdweb-dev-storage.esm.js",exports:{".":{module:"./dist/thirdweb-dev-storage.esm.js",default:"./dist/thirdweb-dev-storage.cjs.js"},"./package.json":"./package.json"},repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/storage",author:"thirdweb eng ",license:"Apache-2.0",sideEffects:!1,scripts:{format:"biome format ./src --write",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && preconstruct build",test:"vitest run",push:"yalc push",typedoc:"bun run scripts/typedoc.mjs"},files:["dist/"],preconstruct:{exports:!0},devDependencies:{"@microsoft/api-documenter":"^7.25.4","@microsoft/api-extractor":"^7.47.0","@microsoft/tsdoc":"^0.15.0","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.10.9","@thirdweb-dev/tsconfig":"workspace:*","@types/uuid":"^10.0.0",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-tsdoc":"^0.3.0",esm:"^3.2.25",rimraf:"5.0.7","typedoc-gen":"workspace:*",typescript:"5.5.4"},dependencies:{"@thirdweb-dev/crypto":"workspace:*","cid-tool":"^3.0.0","form-data":"^4.0.0",uuid:"^9.0.1"},engines:{node:">=18"}},YUe=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];Ose=class{constructor(e){Z(this,"DEFAULT_TIMEOUT_IN_SECONDS",60);Z(this,"DEFAULT_MAX_RETRIES",3);this.secretKey=e.secretKey,this.clientId=e.clientId,this.defaultTimeout=e.timeoutInSeconds||this.DEFAULT_TIMEOUT_IN_SECONDS}async download(e,t,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=a?.maxRetries||this.DEFAULT_MAX_RETRIES;if(r>i)return console.error("[FAILED_TO_DOWNLOAD_ERROR] Failed to download from URI - too many attempts failed."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let s=qse(e,t,r,this.clientId);if(s)r>0&&console.warn(`Retrying download with backup gateway URL: ${s}`);else return console.error("[FAILED_TO_DOWNLOAD_ERROR] Unable to download from URI - all gateway URLs failed to respond."),new Response(JSON.stringify({error:"Not Found"}),{status:404,headers:{"Content-Type":"application/json"}});let f={};if(Lse(s)){let y=Hse().app_bundle_id;this.secretKey?f={"x-secret-key":this.secretKey}:this.clientId&&(!s.includes("bundleId")&&y&&(s=s+(y?`?bundleId=${y}`:"")),f["x-client-Id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(f={...f,authorization:`Bearer ${globalThis.TW_AUTH_TOKEN}`}),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(f={...f,authorization:`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`},f["x-authorize-wallet"]="true"),nqe(f)}if(YN0(s))return this.download(e,t,a,r+1);let o=new AbortController,c=a?.timeoutInSeconds||this.defaultTimeout,d=setTimeout(()=>o.abort(),c*1e3),l=await fetch(s,{headers:f,signal:o.signal}).catch(y=>y);if(d&&clearTimeout(d),!("status"in l))throw new Error(`Request timed out after ${c} seconds. ${Lse(s)?"You can update the timeoutInSeconds option to increase the timeout.":"You're using a public IPFS gateway, pass in a clientId or secretKey for a reliable IPFS gateway."}`);return l.ok?l:l.status===429?(JN0(s,l),this.download(e,t,a,r+1)):l.status===410?(console.error(`Request to ${s} failed because this content seems to be blocklisted. Search VirusTotal for this URL to confirm: ${s} `),l):(console.warn(`Request to ${s} failed with status ${l.status} - ${l.statusText}`),l.status===404&&Lse(s)||l.status!==408&&l.status!==429&&l.status<500?l:this.download(e,t,a,r+1))}},Vse=new Map;Mse=new Map;$se=class{constructor(e){this.uploadWithGatewayUrl=e?.uploadWithGatewayUrl||!1,this.uploadServerUrl=e?.uploadServerUrl||UN0,this.clientId=e?.clientId,this.secretKey=e?.secretKey}async uploadBatch(e,t){if(t?.uploadWithoutDirectory&&e.length>1)throw new Error("[UPLOAD_WITHOUT_DIRECTORY_ERROR] Cannot upload more than one file or object without directory!");let a=new eqe.default,{form:r,fileNames:i}=this.buildFormData(a,e,t);return r7()?this.uploadBatchBrowser(r,i,t):this.uploadBatchNode(r,i,t)}buildFormData(e,t,a){let r=new Map,i=[];for(let f=0;f-1&&(y=o.name.substring(h))}c=`${f+a.rewriteFileNames.fileStartNumber}${y}`}else c=`${o.name}`;else CU(o)?(d=o.data,a?.rewriteFileNames?c=`${f+a.rewriteFileNames.fileStartNumber}`:c=`${o.name}`):a?.rewriteFileNames?c=`${f+a.rewriteFileNames.fileStartNumber}`:c=`${f}`;let l=a?.uploadWithoutDirectory?"files":`files/${c}`;if(r.has(c)){if(jN0(r.get(c),o)){i.push(c);continue}throw new Error(`[DUPLICATE_FILE_NAME_ERROR] File name ${c} was passed for more than one different file.`)}r.set(c,o),i.push(c),r7()?e.append("file",new Blob([d]),l):e.append("file",d,{filepath:l})}let s={name:"Storage SDK",keyvalues:{...a?.metadata}};return e.append("pinataMetadata",JSON.stringify(s)),a?.uploadWithoutDirectory&&e.append("pinataOptions",JSON.stringify({wrapWithDirectory:!1})),{form:e,fileNames:i.map(f=>encodeURIComponent(f))}}async uploadBatchBrowser(e,t,a){return new Promise((r,i)=>{let s=new XMLHttpRequest,f=setTimeout(()=>{s.abort(),i(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4);s.upload.addEventListener("loadstart",()=>{console.log(`[${Date.now()}] [IPFS] Started`)}),s.upload.addEventListener("progress",o=>{console.log(`[IPFS] Progress Event ${o.loaded}/${o.total}`),clearTimeout(f),o.loaded{s.abort(),i(new Error("Request to upload timed out! No upload progress received in 30s"))},3e4):console.log(`[${Date.now()}] [IPFS] Uploaded files. Waiting for response.`),o.lengthComputable&&a?.onProgress&&a?.onProgress({progress:o.loaded,total:o.total})}),s.addEventListener("load",()=>{if(console.log(`[${Date.now()}] [IPFS] Load`),clearTimeout(f),s.status>=200&&s.status<300){let o;try{o=JSON.parse(s.responseText)}catch{return i(new Error("Failed to parse JSON from upload response"))}let c=o.IpfsHash;if(!c)throw new Error("Failed to get IPFS hash from upload response");return a?.uploadWithoutDirectory?r([`ipfs://${c}`]):r(t.map(d=>`ipfs://${c}/${d}`))}return i(new Error(`Upload failed with status ${s.status} - ${s.responseText}`))}),s.addEventListener("error",()=>(console.log("[IPFS] Load"),clearTimeout(f),s.readyState!==0&&s.readyState!==4||s.status===0?i(new Error("Upload failed due to a network error.")):i(new Error("Unknown upload error occured")))),s.open("POST",`${this.uploadServerUrl}/ipfs/upload`),this.secretKey?s.setRequestHeader("x-secret-key",this.secretKey):this.clientId&&s.setRequestHeader("x-client-id",this.clientId),QN0(s),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&s.setRequestHeader("authorization",`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(s.setRequestHeader("authorization",`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`),s.setRequestHeader("x-authorize-wallet","true")),s.send(e)})}async uploadBatchNode(e,t,a){a?.onProgress&&console.warn("The onProgress option is only supported in the browser");let r={};this.secretKey?r["x-secret-key"]=this.secretKey:this.clientId&&(r["x-client-id"]=this.clientId),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(r.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,r["x-authorize-wallet"]="true"),nqe(r);let i=await fetch(`${this.uploadServerUrl}/ipfs/upload`,{method:"POST",headers:{...r,...e.getHeaders()},body:e.getBuffer()});if(!i.ok)throw i.status===401?new Error("Unauthorized - You don't have permission to use this service."):new Error(`Failed to upload files to IPFS - ${i.status} - ${i.statusText} - ${await i.text()}`);let f=(await i.json()).IpfsHash;if(!f)throw new Error("Failed to upload files to IPFS - Bad CID");return a?.uploadWithoutDirectory?[`ipfs://${f}`]:t.map(o=>`ipfs://${f}/${o}`)}},Hm=class{constructor(e){this.uploader=e?.uploader||new $se({clientId:e?.clientId,secretKey:e?.secretKey,uploadServerUrl:e?.uploadServerUrl}),this.downloader=e?.downloader||new Ose({secretKey:e?.secretKey,clientId:e?.clientId}),this.gatewayUrls=zN0(qN0(e?.gatewayUrls),e?.clientId,e?.secretKey),this.clientId=e?.clientId}resolveScheme(e){return qse(e,this.gatewayUrls,0,this.clientId)}async download(e,t){return this.downloader.download(e,this.gatewayUrls,t)}async downloadJSON(e,t){let r=await(await this.download(e,t)).json();return SU(r,this.gatewayUrls,this.clientId)}async upload(e,t){let[a]=await this.uploadBatch([e],t);return a}async uploadBatch(e,t){if(e=e.filter(i=>i!==void 0),!e.length)return[];let a=e.map(i=>zm(i)||typeof i=="string").every(i=>!!i),r=[];if(a)r=await this.uploader.uploadBatch(e,t);else{let i=(await this.uploadAndReplaceFilesWithHashes(e,t)).map(s=>typeof s=="string"?s:JSON.stringify(s));r=await this.uploader.uploadBatch(i,t)}return t?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl?r.map(i=>this.resolveScheme(i)):r}getGatewayUrls(){return this.gatewayUrls}async uploadAndReplaceFilesWithHashes(e,t){let a=e;a=Bse(a,this.gatewayUrls);let r=Nse(a);if(r.length){let i=await this.uploader.uploadBatch(r,t);a=Fse(a,i)}return(t?.uploadWithGatewayUrl||this.uploader.uploadWithGatewayUrl)&&(a=SU(a,this.gatewayUrls,this.clientId)),a}}});var rqe=B(aqe=>{"use strict";p();u();Object.defineProperty(aqe,"__esModule",{value:!0})});var jse=B(Vi=>{"use strict";p();u();Object.defineProperty(Vi,"__esModule",{value:!0});Vi.bytes32ify=Vi.hexStringEquals=Vi.encodeHex=Vi.padHexString=Vi.toRpcHexString=Vi.toHexString=Vi.fromHexString=Vi.add0x=Vi.remove0x=void 0;var Wse=Zn(),zse=H0(),XN0=n=>n===void 0?n:n.startsWith("0x")?n.slice(2):n;Vi.remove0x=XN0;var ZN0=n=>n===void 0||n.startsWith("0x")?n:"0x"+n;Vi.add0x=ZN0;var eF0=n=>typeof n=="string"&&n.startsWith("0x")?D.Buffer.from(n.slice(2),"hex"):D.Buffer.from(n);Vi.fromHexString=eF0;var tF0=n=>typeof n=="number"?Wse.BigNumber.from(n).toHexString():"0x"+(0,Vi.fromHexString)(n).toString("hex");Vi.toHexString=tF0;var nF0=n=>{let e;return typeof n=="number"?e="0x"+n.toString(16):e=n.toHexString(),e==="0x0"?e:e.replace(/^0x0/,"0x")};Vi.toRpcHexString=nF0;var aF0=(n,e)=>n.length===2+e*2?n:"0x"+n.slice(2).padStart(e*2,"0");Vi.padHexString=aF0;var rF0=(n,e)=>(0,Vi.remove0x)(Wse.BigNumber.from(n).toHexString()).padStart(e,"0");Vi.encodeHex=rF0;var iF0=(n,e)=>{if(!(0,zse.isHexString)(n))throw new Error(`input is not a hex string: ${n}`);if(!(0,zse.isHexString)(e))throw new Error(`input is not a hex string: ${e}`);return n.toLowerCase()===e.toLowerCase()};Vi.hexStringEquals=iF0;var sF0=n=>(0,zse.hexZeroPad)(Wse.BigNumber.from(n).toHexString(),32);Vi.bytes32ify=sF0});var fqe=B(AU=>{"use strict";p();u();Object.defineProperty(AU,"__esModule",{value:!0});AU.bnToAddress=void 0;var iqe=Zn(),fF0=go(),sqe=jse(),oF0=n=>{n=iqe.BigNumber.from(n),n.isNegative()&&(n=iqe.BigNumber.from("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").add(n).add(1));let e=n.toHexString();return e=(0,sqe.remove0x)(e),e=e.padStart(40,"0"),e=e.slice(e.length-40,e.length),e=(0,sqe.add0x)(e),e=(0,fF0.getAddress)(e),e};AU.bnToAddress=oF0});var Gse=B(I6=>{"use strict";p();u();Object.defineProperty(I6,"__esModule",{value:!0});I6.compareAddrs=I6.getenv=I6.reqenv=I6.clone=I6.sleep=void 0;var cF0=async n=>new Promise(e=>{setTimeout(()=>{e(null)},n)});I6.sleep=cF0;var dF0=n=>{if(typeof n>"u")throw new Error("Trying to clone undefined object");return Object.assign({},n)};I6.clone=dF0;var lF0=n=>{let e=E.env[n];if(e===void 0)throw new Error(`missing env var ${n}`);return e};I6.reqenv=lF0;var pF0=(n,e)=>E.env[n]||e;I6.getenv=pF0;var uF0=(n,e)=>n.toLowerCase()===e.toLowerCase();I6.compareAddrs=uF0});var Kse=B((sra,cqe)=>{p();u();function oqe(){var n=[].slice.call(arguments);function e(t,a){Object.keys(a).forEach(function(r){~n.indexOf(r)||(t[r]=a[r])})}return function(){for(var a=[].slice.call(arguments),r=0,i={};r{"use strict";p();u();function lqe(n,e){return typeof n>"u"||n===null?!1:e in Object(n)}function pqe(n){var e=n.replace(/([^\\])\[/g,"$1.["),t=e.match(/(\\\.|[^.]+?)+/g);return t.map(function(r){if(r==="constructor"||r==="__proto__"||r==="prototype")return{};var i=/^\[(\d+)\]$/,s=i.exec(r),f=null;return s?f={i:parseFloat(s[1])}:f={p:r.replace(/\\([.[\]])/g,"$1")},f})}function dqe(n,e,t){var a=n,r=null;t=typeof t>"u"?e.length:t;for(var i=0;i"u"?a=a[s.i]:a=a[s.p],i===t-1&&(r=a))}return r}function yF0(n,e,t){for(var a=n,r=t.length,i=null,s=0;s"u"?i.i:i.p,a[f]=e;else if(typeof i.p<"u"&&a[i.p])a=a[i.p];else if(typeof i.i<"u"&&a[i.i])a=a[i.i];else{var c=t[s+1];f=typeof i.p>"u"?i.i:i.p,o=typeof c.p>"u"?[]:{},a[f]=o,a=a[f]}}}function uqe(n,e){var t=pqe(e),a=t[t.length-1],r={parent:t.length>1?dqe(n,t,t.length-1):n,name:a.p||a.i,value:dqe(n,t)};return r.exists=lqe(r.parent,r.name),r}function mF0(n,e){var t=uqe(n,e);return t.value}function bF0(n,e,t){var a=pqe(e);return yF0(n,t,a),n}yqe.exports={hasProperty:lqe,getPathInfo:uqe,getPathValue:mF0,setPathValue:bF0}});var E6=B((pra,bqe)=>{p();u();bqe.exports=function(e,t,a){var r=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)r[t]=a;else return r[t]}});var gqe=B((mra,hqe)=>{p();u();var hF0=E6();hqe.exports=function(e,t){var a=hF0(e,"negate"),r=t[0];return a?!r:r}});var NS=B((Qse,Yse)=>{p();u();(function(n,e){typeof Qse=="object"&&typeof Yse<"u"?Yse.exports=e():typeof define=="function"&&define.amd?define(e):n.typeDetect=e()})(Qse,function(){"use strict";var n=typeof Promise=="function",e=typeof self=="object"?self:global,t=typeof Symbol<"u",a=typeof Map<"u",r=typeof Set<"u",i=typeof WeakMap<"u",s=typeof WeakSet<"u",f=typeof DataView<"u",o=t&&typeof Symbol.iterator<"u",c=t&&typeof Symbol.toStringTag<"u",d=r&&typeof Set.prototype.entries=="function",l=a&&typeof Map.prototype.entries=="function",y=d&&Object.getPrototypeOf(new Set().entries()),h=l&&Object.getPrototypeOf(new Map().entries()),T=o&&typeof Array.prototype[Symbol.iterator]=="function",A=T&&Object.getPrototypeOf([][Symbol.iterator]()),O=o&&typeof String.prototype[Symbol.iterator]=="function",N=O&&Object.getPrototypeOf(""[Symbol.iterator]()),U=8,q=-1;function W(G){var X=typeof G;if(X!=="object")return X;if(G===null)return"null";if(G===e)return"global";if(Array.isArray(G)&&(c===!1||!(Symbol.toStringTag in G)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&G===window.location)return"Location";if(typeof window.document=="object"&&G===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&G===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&G===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&G instanceof window.HTMLElement){if(G.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(G.tagName==="TD")return"HTMLTableDataCellElement";if(G.tagName==="TH")return"HTMLTableHeaderCellElement"}}var J=c&&G[Symbol.toStringTag];if(typeof J=="string")return J;var j=Object.getPrototypeOf(G);return j===RegExp.prototype?"RegExp":j===Date.prototype?"Date":n&&j===Promise.prototype?"Promise":r&&j===Set.prototype?"Set":a&&j===Map.prototype?"Map":s&&j===WeakSet.prototype?"WeakSet":i&&j===WeakMap.prototype?"WeakMap":f&&j===DataView.prototype?"DataView":a&&j===h?"Map Iterator":r&&j===y?"Set Iterator":T&&j===A?"Array Iterator":O&&j===N?"String Iterator":j===null?"Object":Object.prototype.toString.call(G).slice(U,q)}return W})});var Tqe=B((Tra,vqe)=>{p();u();var gF0=Kse(),Jse=E6(),vF0=NS();vqe.exports=function(e,t){var a=Jse(e,"message"),r=Jse(e,"ssfi");a=a?a+": ":"",e=Jse(e,"object"),t=t.map(function(f){return f.toLowerCase()}),t.sort();var i=t.map(function(f,o){var c=~["a","e","i","o","u"].indexOf(f.charAt(0))?"an":"a",d=t.length>1&&o===t.length-1?"or ":"";return d+c+" "+f}).join(", "),s=vF0(e).toLowerCase();if(!t.some(function(f){return s===f}))throw new gF0(a+"object tested must be "+i+", but "+s+" given",void 0,r)}});var Xse=B((xra,_qe)=>{p();u();_qe.exports=function(e,t){return t.length>4?t[4]:e._obj}});var kU=B((Dra,wqe)=>{"use strict";p();u();var TF0=Function.prototype.toString,_F0=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,wF0=512;function xF0(n){if(typeof n!="function")return null;var e="";if(typeof Function.prototype.name>"u"&&typeof n.name>"u"){var t=TF0.call(n);if(t.indexOf("(")>wF0)return e;var a=t.match(_F0);a&&(e=a[1])}else e=n.name;return e}wqe.exports=xF0});var Iqe=B((PU,xqe)=>{p();u();(function(n,e){typeof PU=="object"&&typeof xqe<"u"?e(PU):typeof define=="function"&&define.amd?define(["exports"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.loupe={}))})(PU,function(n){"use strict";function e(ue){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(me){return typeof me}:e=function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},e(ue)}function t(ue,me){return a(ue)||r(ue,me)||i(ue,me)||f()}function a(ue){if(Array.isArray(ue))return ue}function r(ue,me){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(ue)))){var _e=[],Be=!0,Fe=!1,Le=void 0;try{for(var ct=ue[Symbol.iterator](),ot;!(Be=(ot=ct.next()).done)&&(_e.push(ot.value),!(me&&_e.length===me));Be=!0);}catch($e){Fe=!0,Le=$e}finally{try{!Be&&ct.return!=null&&ct.return()}finally{if(Fe)throw Le}}return _e}}function i(ue,me){if(ue){if(typeof ue=="string")return s(ue,me);var _e=Object.prototype.toString.call(ue).slice(8,-1);if(_e==="Object"&&ue.constructor&&(_e=ue.constructor.name),_e==="Map"||_e==="Set")return Array.from(ue);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return s(ue,me)}}function s(ue,me){(me==null||me>ue.length)&&(me=ue.length);for(var _e=0,Be=new Array(me);_e0&&arguments[0]!==void 0?arguments[0]:{},me=ue.showHidden,_e=me===void 0?!1:me,Be=ue.depth,Fe=Be===void 0?2:Be,Le=ue.colors,ct=Le===void 0?!1:Le,ot=ue.customInspect,$e=ot===void 0?!0:ot,wt=ue.showProxy,It=wt===void 0?!1:wt,Ge=ue.maxArrayLength,qt=Ge===void 0?1/0:Ge,Nt=ue.breakLength,Ve=Nt===void 0?1/0:Nt,xt=ue.seen,Ht=xt===void 0?[]:xt,tt=ue.truncate,Qt=tt===void 0?1/0:tt,Gt=ue.stylize,st=Gt===void 0?String:Gt,zt={showHidden:!!_e,depth:Number(Fe),colors:!!ct,customInspect:!!$e,showProxy:!!It,maxArrayLength:Number(qt),breakLength:Number(Ve),truncate:Number(Qt),seen:Ht,stylize:st};return zt.colors&&(zt.stylize=l),zt}function h(ue,me){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;ue=String(ue);var Be=_e.length,Fe=ue.length;return Be>me&&Fe>Be?_e:Fe>me&&Fe>Be?"".concat(ue.slice(0,me-Be)).concat(_e):ue}function T(ue,me,_e){var Be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";_e=_e||me.inspect;var Fe=ue.length;if(Fe===0)return"";for(var Le=me.truncate,ct="",ot="",$e="",wt=0;wtLe&&ct.length+$e.length<=Le||!It&&!Ge&&xt>Le||(ot=It?"":_e(ue[wt+1],me)+(Ge?"":Be),!It&&Ge&&xt>Le&&Ve+ot.length>Le))break;if(ct+=Nt,!It&&!Ge&&Ve+ot.length>=Le){$e="".concat(d,"(").concat(ue.length-wt-1,")");break}$e=""}return"".concat(ct).concat($e)}function A(ue){return ue.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?ue:JSON.stringify(ue).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O(ue,me){var _e=t(ue,2),Be=_e[0],Fe=_e[1];return me.truncate-=2,typeof Be=="string"?Be=A(Be):typeof Be!="number"&&(Be="[".concat(me.inspect(Be,me),"]")),me.truncate-=Be.length,Fe=me.inspect(Fe,me),"".concat(Be,": ").concat(Fe)}function N(ue,me){var _e=Object.keys(ue).slice(ue.length);if(!ue.length&&!_e.length)return"[]";me.truncate-=4;var Be=T(ue,me);me.truncate-=Be.length;var Fe="";return _e.length&&(Fe=T(_e.map(function(Le){return[Le,ue[Le]]}),me,O)),"[ ".concat(Be).concat(Fe?", ".concat(Fe):""," ]")}var U=Function.prototype.toString,q=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,W=512;function G(ue){if(typeof ue!="function")return null;var me="";if(typeof Function.prototype.name>"u"&&typeof ue.name>"u"){var _e=U.call(ue);if(_e.indexOf("(")>W)return me;var Be=_e.match(q);Be&&(me=Be[1])}else me=ue.name;return me}var X=G,J=function(me){return typeof D.Buffer=="function"&&me instanceof D.Buffer?"Buffer":me[Symbol.toStringTag]?me[Symbol.toStringTag]:X(me.constructor)};function j(ue,me){var _e=J(ue);me.truncate-=_e.length+4;var Be=Object.keys(ue).slice(ue.length);if(!ue.length&&!Be.length)return"".concat(_e,"[]");for(var Fe="",Le=0;Le ").concat(Fe)}function F(ue){var me=[];return ue.forEach(function(_e,Be){me.push([Be,_e])}),me}function v(ue,me){var _e=ue.size-1;return _e<=0?"Map{}":(me.truncate-=7,"Map{ ".concat(T(F(ue),me,_)," }"))}var b=Number.isNaN||function(ue){return ue!==ue};function x(ue,me){return b(ue)?me.stylize("NaN","number"):ue===1/0?me.stylize("Infinity","number"):ue===-1/0?me.stylize("-Infinity","number"):ue===0?me.stylize(1/ue===1/0?"+0":"-0","number"):me.stylize(h(ue,me.truncate),"number")}function L(ue,me){var _e=h(ue.toString(),me.truncate-1);return _e!==d&&(_e+="n"),me.stylize(_e,"bigint")}function M(ue,me){var _e=ue.toString().split("/")[2],Be=me.truncate-(2+_e.length),Fe=ue.source;return me.stylize("/".concat(h(Fe,Be),"/").concat(_e),"regexp")}function w(ue){var me=[];return ue.forEach(function(_e){me.push(_e)}),me}function g(ue,me){return ue.size===0?"Set{}":(me.truncate-=7,"Set{ ".concat(T(w(ue),me)," }"))}var R=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),k={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},C=16,H=4;function te(ue){return k[ue]||"\\u".concat("0000".concat(ue.charCodeAt(0).toString(C)).slice(-H))}function V(ue,me){return R.test(ue)&&(ue=ue.replace(R,te)),me.stylize("'".concat(h(ue,me.truncate-2),"'"),"string")}function Y(ue){return"description"in Symbol.prototype?ue.description?"Symbol(".concat(ue.description,")"):"Symbol()":ue.toString()}var ee=function(){return"Promise{\u2026}"};try{var ae=E.binding("util"),pe=ae.getPromiseDetails,Q=ae.kPending,ie=ae.kRejected;Array.isArray(pe(Promise.resolve()))&&(ee=function(me,_e){var Be=pe(me),Fe=t(Be,2),Le=Fe[0],ct=Fe[1];return Le===Q?"Promise{}":"Promise".concat(Le===ie?"!":"","{").concat(_e.inspect(ct,_e),"}")})}catch{}var se=ee;function be(ue,me){var _e=Object.getOwnPropertyNames(ue),Be=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ue):[];if(_e.length===0&&Be.length===0)return"{}";if(me.truncate-=4,me.seen=me.seen||[],me.seen.indexOf(ue)>=0)return"[Circular]";me.seen.push(ue);var Fe=T(_e.map(function(ot){return[ot,ue[ot]]}),me,O),Le=T(Be.map(function(ot){return[ot,ue[ot]]}),me,O);me.seen.pop();var ct="";return Fe&&Le&&(ct=", "),"{ ".concat(Fe).concat(ct).concat(Le," }")}var de=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function we(ue,me){var _e="";return de&&de in ue&&(_e=ue[de]),_e=_e||X(ue.constructor),(!_e||_e==="_class")&&(_e=""),me.truncate-=_e.length,"".concat(_e).concat(be(ue,me))}function Oe(ue,me){return ue.length===0?"Arguments[]":(me.truncate-=13,"Arguments[ ".concat(T(ue,me)," ]"))}var Se=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function it(ue,me){var _e=Object.getOwnPropertyNames(ue).filter(function(ct){return Se.indexOf(ct)===-1}),Be=ue.name;me.truncate-=Be.length;var Fe="";typeof ue.message=="string"?Fe=h(ue.message,me.truncate):_e.unshift("message"),Fe=Fe?": ".concat(Fe):"",me.truncate-=Fe.length+5;var Le=T(_e.map(function(ct){return[ct,ue[ct]]}),me,O);return"".concat(Be).concat(Fe).concat(Le?" { ".concat(Le," }"):"")}function qe(ue,me){var _e=t(ue,2),Be=_e[0],Fe=_e[1];return me.truncate-=3,Fe?"".concat(me.stylize(Be,"yellow"),"=").concat(me.stylize('"'.concat(Fe,'"'),"string")):"".concat(me.stylize(Be,"yellow"))}function Me(ue,me){return T(ue,me,mt,` +`)}function mt(ue,me){var _e=ue.getAttributeNames(),Be=ue.tagName.toLowerCase(),Fe=me.stylize("<".concat(Be),"special"),Le=me.stylize(">","special"),ct=me.stylize(""),"special");me.truncate-=Be.length*2+5;var ot="";_e.length>0&&(ot+=" ",ot+=T(_e.map(function(It){return[It,ue.getAttribute(It)]}),me,qe," ")),me.truncate-=ot.length;var $e=me.truncate,wt=Me(ue.children,me);return wt&&wt.length>$e&&(wt="".concat(d,"(").concat(ue.children.length,")")),"".concat(Fe).concat(ot).concat(Le).concat(wt).concat(ct)}var kt=typeof Symbol=="function"&&typeof Symbol.for=="function",je=kt?Symbol.for("chai/inspect"):"@@chai/inspect",Et=!1;try{var Ct=Al();Et=Ct.inspect?Ct.inspect.custom:!1}catch{Et=!1}function rt(){this.key="chai/loupe__"+Math.random()+Date.now()}rt.prototype={get:function(me){return me[this.key]},has:function(me){return this.key in me},set:function(me,_e){Object.isExtensible(me)&&Object.defineProperty(me,this.key,{value:_e,configurable:!0})}};var Pt=new(typeof WeakMap=="function"?WeakMap:rt),Dt={},We={undefined:function(me,_e){return _e.stylize("undefined","undefined")},null:function(me,_e){return _e.stylize(null,"null")},boolean:function(me,_e){return _e.stylize(me,"boolean")},Boolean:function(me,_e){return _e.stylize(me,"boolean")},number:x,Number:x,bigint:L,BigInt:L,string:V,String:V,function:P,Function:P,symbol:Y,Symbol:Y,Array:N,Date:z,Map:v,Set:g,RegExp:M,Promise:se,WeakSet:function(me,_e){return _e.stylize("WeakSet{\u2026}","special")},WeakMap:function(me,_e){return _e.stylize("WeakMap{\u2026}","special")},Arguments:Oe,Int8Array:j,Uint8Array:j,Uint8ClampedArray:j,Int16Array:j,Uint16Array:j,Int32Array:j,Uint32Array:j,Float32Array:j,Float64Array:j,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:it,HTMLCollection:Me,NodeList:Me},Lt=function(me,_e,Be){return je in me&&typeof me[je]=="function"?me[je](_e):Et&&Et in me&&typeof me[Et]=="function"?me[Et](_e.depth,_e):"inspect"in me&&typeof me.inspect=="function"?me.inspect(_e.depth,_e):"constructor"in me&&Pt.has(me.constructor)?Pt.get(me.constructor)(me,_e):Dt[Be]?Dt[Be](me,_e):""},$t=Object.prototype.toString;function Qe(ue,me){me=y(me),me.inspect=Qe;var _e=me,Be=_e.customInspect,Fe=ue===null?"null":e(ue);if(Fe==="object"&&(Fe=$t.call(ue).slice(8,-1)),We[Fe])return We[Fe](ue,me);if(Be&&ue){var Le=Lt(ue,me,Fe);if(Le)return typeof Le=="string"?Le:Qe(Le,me)}var ct=ue?Object.getPrototypeOf(ue):!1;return ct===Object.prototype||ct===null?be(ue,me):ue&&typeof HTMLElement=="function"&&ue instanceof HTMLElement?mt(ue,me):"constructor"in ue?ue.constructor!==Object?we(ue,me):be(ue,me):ue===Object(ue)?be(ue,me):me.stylize(String(ue),Fe)}function Ft(ue,me){return Pt.has(ue)?!1:(Pt.set(ue,me),!0)}function Ut(ue,me){return ue in Dt?!1:(Dt[ue]=me,!0)}var et=je;n.custom=et,n.default=Qe,n.inspect=Qe,n.registerConstructor=Ft,n.registerStringTag=Ut,Object.defineProperty(n,"__esModule",{value:!0})})});var s7=B((Pra,Eqe)=>{p();u();Eqe.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}});var RU=B((Bra,Cqe)=>{p();u();var Mra=kU(),IF0=Iqe(),Dqe=s7();Cqe.exports=EF0;function EF0(n,e,t,a){var r={colors:a,depth:typeof t>"u"?2:t,showHidden:e,truncate:Dqe.truncateThreshold?Dqe.truncateThreshold:1/0};return IF0.inspect(n,r)}});var Zse=B((Ora,Aqe)=>{p();u();var DF0=RU(),Sqe=s7();Aqe.exports=function(e){var t=DF0(e),a=Object.prototype.toString.call(e);if(Sqe.truncateThreshold&&t.length>=Sqe.truncateThreshold){if(a==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(a==="[object Array]")return"[ Array("+e.length+") ]";if(a==="[object Object]"){var r=Object.keys(e),i=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+i+") }"}else return t}else return t}});var Pqe=B((Ura,kqe)=>{p();u();var efe=E6(),CF0=Xse(),tfe=Zse();kqe.exports=function(e,t){var a=efe(e,"negate"),r=efe(e,"object"),i=t[3],s=CF0(e,t),f=a?t[2]:t[1],o=efe(e,"message");return typeof f=="function"&&(f=f()),f=f||"",f=f.replace(/#\{this\}/g,function(){return tfe(r)}).replace(/#\{act\}/g,function(){return tfe(s)}).replace(/#\{exp\}/g,function(){return tfe(i)}),o?o+": "+f:f}});var Wm=B((zra,Rqe)=>{p();u();Rqe.exports=function(e,t,a){var r=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var i in r)(a||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=r[i])}});var zqe=B((Gra,rfe)=>{"use strict";p();u();var Lqe=NS();function Uqe(){this._key="chai/deep-eql__"+Math.random()+Date.now()}Uqe.prototype={get:function(e){return e[this._key]},set:function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})}};var afe=typeof WeakMap=="function"?WeakMap:Uqe;function Mqe(n,e,t){if(!t||x_(n)||x_(e))return null;var a=t.get(n);if(a){var r=a.get(e);if(typeof r=="boolean")return r}return null}function LU(n,e,t,a){if(!(!t||x_(n)||x_(e))){var r=t.get(n);r?r.set(e,a):(r=new afe,r.set(e,a),t.set(n,r))}}rfe.exports=MU;rfe.exports.MemoizeMap=afe;function MU(n,e,t){if(t&&t.comparator)return Bqe(n,e,t);var a=qqe(n,e);return a!==null?a:Bqe(n,e,t)}function qqe(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e?!0:x_(n)||x_(e)?!1:null}function Bqe(n,e,t){t=t||{},t.memoize=t.memoize===!1?!1:t.memoize||new afe;var a=t&&t.comparator,r=Mqe(n,e,t.memoize);if(r!==null)return r;var i=Mqe(e,n,t.memoize);if(i!==null)return i;if(a){var s=a(n,e);if(s===!1||s===!0)return LU(n,e,t.memoize,s),s;var f=qqe(n,e);if(f!==null)return f}var o=Lqe(n);if(o!==Lqe(e))return LU(n,e,t.memoize,!1),!1;LU(n,e,t.memoize,!0);var c=SF0(n,e,o,t);return LU(n,e,t.memoize,c),c}function SF0(n,e,t,a){switch(t){case"String":case"Number":case"Boolean":case"Date":return MU(n.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return n===e;case"Error":return Hqe(n,e,["name","message","code"],a);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return f7(n,e,a);case"RegExp":return AF0(n,e);case"Generator":return kF0(n,e,a);case"DataView":return f7(new Uint8Array(n.buffer),new Uint8Array(e.buffer),a);case"ArrayBuffer":return f7(new Uint8Array(n),new Uint8Array(e),a);case"Set":return Nqe(n,e,a);case"Map":return Nqe(n,e,a);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return n.equals(e);case"Temporal.Duration":return n.total("nanoseconds")===e.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return n.toString()===e.toString();default:return RF0(n,e,a)}}function AF0(n,e){return n.toString()===e.toString()}function Nqe(n,e,t){if(n.size!==e.size)return!1;if(n.size===0)return!0;var a=[],r=[];return n.forEach(function(s,f){a.push([s,f])}),e.forEach(function(s,f){r.push([s,f])}),f7(a.sort(),r.sort(),t)}function f7(n,e,t){var a=n.length;if(a!==e.length)return!1;if(a===0)return!0;for(var r=-1;++r{p();u();var LF0=s7();Wqe.exports=function(){return LF0.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}});var Kqe=B((Zra,Gqe)=>{p();u();var MF0=jm(),jqe=E6(),BF0=FS(),NF0=Wm();Gqe.exports=function(e,t,a){a=a===void 0?function(){}:a,Object.defineProperty(e,t,{get:function r(){!BF0()&&!jqe(this,"lockSsfi")&&jqe(this,"ssfi",r);var i=a.call(this);if(i!==void 0)return i;var s=new MF0.Assertion;return NF0(this,s),s},configurable:!0})}});var OS=B((nia,Qqe)=>{p();u();var FF0=Object.getOwnPropertyDescriptor(function(){},"length");Qqe.exports=function(e,t,a){return FF0.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(a?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}});var Jqe=B((iia,Yqe)=>{p();u();Yqe.exports=function(e){var t=Object.getOwnPropertyNames(e);function a(i){t.indexOf(i)===-1&&t.push(i)}for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(a),r=Object.getPrototypeOf(r);return t}});var VS=B((oia,eHe)=>{p();u();var OF0=s7(),Xqe=E6(),VF0=Jqe(),$F0=FS();var Zqe=["__flags","__methods","_obj","assert"];eHe.exports=function(e,t){return $F0()?new Proxy(e,{get:function a(r,i){if(typeof i=="string"&&OF0.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(r,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');var s=null,f=4;throw VF0(r).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&Zqe.indexOf(o)===-1){var c=UF0(i,o,f);c=t)return t;for(var a=[],r=0;r<=n.length;r++)a[r]=Array(e.length+1).fill(0),a[r][0]=r;for(var i=0;i=t){a[r][i]=t;continue}a[r][i]=Math.min(a[r-1][i]+1,a[r][i-1]+1,a[r-1][i-1]+(s===e.charCodeAt(i-1)?0:1))}return a[n.length][e.length]}});var aHe=B((lia,nHe)=>{p();u();var qF0=OS(),HF0=jm(),tHe=E6(),zF0=VS(),WF0=Wm();nHe.exports=function(e,t,a){var r=function(){tHe(this,"lockSsfi")||tHe(this,"ssfi",r);var i=a.apply(this,arguments);if(i!==void 0)return i;var s=new HF0.Assertion;return WF0(this,s),s};qF0(r,t,!1),e[t]=zF0(r,t)}});var iHe=B((yia,rHe)=>{p();u();var jF0=jm(),$S=E6(),GF0=FS(),KF0=Wm();rHe.exports=function(e,t,a){var r=Object.getOwnPropertyDescriptor(e,t),i=function(){};r&&typeof r.get=="function"&&(i=r.get),Object.defineProperty(e,t,{get:function s(){!GF0()&&!$S(this,"lockSsfi")&&$S(this,"ssfi",s);var f=$S(this,"lockSsfi");$S(this,"lockSsfi",!0);var o=a(i).call(this);if($S(this,"lockSsfi",f),o!==void 0)return o;var c=new jF0.Assertion;return KF0(this,c),c},configurable:!0})}});var fHe=B((hia,sHe)=>{p();u();var QF0=OS(),YF0=jm(),US=E6(),JF0=VS(),XF0=Wm();sHe.exports=function(e,t,a){var r=e[t],i=function(){throw new Error(t+" is not a function")};r&&typeof r=="function"&&(i=r);var s=function(){US(this,"lockSsfi")||US(this,"ssfi",s);var f=US(this,"lockSsfi");US(this,"lockSsfi",!0);var o=a(i).apply(this,arguments);if(US(this,"lockSsfi",f),o!==void 0)return o;var c=new YF0.Assertion;return XF0(this,c),c};QF0(s,t,!1),e[t]=JF0(s,t)}});var pHe=B((Tia,lHe)=>{p();u();var ZF0=OS(),eO0=jm(),oHe=E6(),tO0=VS(),cHe=Wm();var nO0=typeof Object.setPrototypeOf=="function",dHe=function(){},aO0=Object.getOwnPropertyNames(dHe).filter(function(n){var e=Object.getOwnPropertyDescriptor(dHe,n);return typeof e!="object"?!0:!e.configurable}),rO0=Function.prototype.call,iO0=Function.prototype.apply;lHe.exports=function(e,t,a,r){typeof r!="function"&&(r=function(){});var i={method:a,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:function(){i.chainingBehavior.call(this);var f=function(){oHe(this,"lockSsfi")||oHe(this,"ssfi",f);var d=i.method.apply(this,arguments);if(d!==void 0)return d;var l=new eO0.Assertion;return cHe(this,l),l};if(ZF0(f,t,!0),nO0){var o=Object.create(this);o.call=rO0,o.apply=iO0,Object.setPrototypeOf(f,o)}else{var c=Object.getOwnPropertyNames(e);c.forEach(function(d){if(aO0.indexOf(d)===-1){var l=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(f,d,l)}})}return cHe(this,f),tO0(f)},configurable:!0})}});var bHe=B((xia,mHe)=>{p();u();var uHe=jm(),yHe=Wm();mHe.exports=function(e,t,a,r){var i=e.__methods[t],s=i.chainingBehavior;i.chainingBehavior=function(){var c=r(s).call(this);if(c!==void 0)return c;var d=new uHe.Assertion;return yHe(this,d),d};var f=i.method;i.method=function(){var c=a(f).apply(this,arguments);if(c!==void 0)return c;var d=new uHe.Assertion;return yHe(this,d),d}}});var vHe=B((Dia,gHe)=>{p();u();var hHe=RU();gHe.exports=function(e,t){return hHe(e){p();u();THe.exports=function(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}});var wHe=B((Ria,_He)=>{p();u();var sO0=ife();_He.exports=function(e){return Object.keys(e).concat(sO0(e))}});var IHe=B((Bia,xHe)=>{"use strict";p();u();var sfe=kU();function fO0(n,e){return e instanceof Error&&n===e}function oO0(n,e){return e instanceof Error?n.constructor===e.constructor||n instanceof e.constructor:e.prototype instanceof Error||e===Error?n.constructor===e||n instanceof e:!1}function cO0(n,e){var t=typeof n=="string"?n:n.message;return e instanceof RegExp?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function dO0(n){var e=n;if(n instanceof Error)e=sfe(n.constructor);else if(typeof n=="function"&&(e=sfe(n),e==="")){var t=sfe(new n);e=t||e}return e}function lO0(n){var e="";return n&&n.message?e=n.message:typeof n=="string"&&(e=n),e}xHe.exports={compatibleInstance:fO0,compatibleConstructor:oO0,compatibleMessage:cO0,getMessage:lO0,getConstructorName:dO0}});var DHe=B((Oia,EHe)=>{p();u();function pO0(n){return n!==n}EHe.exports=Number.isNaN||pO0});var AHe=B((Uia,SHe)=>{p();u();var uO0=NS(),CHe=E6();function yO0(n){var e=uO0(n),t=["Array","Object","function"];return t.indexOf(e)!==-1}SHe.exports=function(e,t){var a=CHe(e,"operator"),r=CHe(e,"negate"),i=t[3],s=r?t[2]:t[1];if(a)return a;if(typeof s=="function"&&(s=s()),s=s||"",!!s&&!/\shave\s/.test(s)){var f=yO0(i);return/\snot\s/.test(s)?f?"notDeepStrictEqual":"notStrictEqual":f?"deepStrictEqual":"strictEqual"}}});var PHe=B(Ka=>{p();u();var kHe=mqe();Ka.test=gqe();Ka.type=NS();Ka.expectTypes=Tqe();Ka.getMessage=Pqe();Ka.getActual=Xse();Ka.inspect=RU();Ka.objDisplay=Zse();Ka.flag=E6();Ka.transferFlags=Wm();Ka.eql=zqe();Ka.getPathInfo=kHe.getPathInfo;Ka.hasProperty=kHe.hasProperty;Ka.getName=kU();Ka.addProperty=Kqe();Ka.addMethod=aHe();Ka.overwriteProperty=iHe();Ka.overwriteMethod=fHe();Ka.addChainableMethod=pHe();Ka.overwriteChainableMethod=bHe();Ka.compareByInspect=vHe();Ka.getOwnEnumerablePropertySymbols=ife();Ka.getOwnEnumerableProperties=wHe();Ka.checkError=IHe();Ka.proxify=VS();Ka.addLengthGuard=OS();Ka.isProxyEnabled=FS();Ka.isNaN=DHe();Ka.getOperator=AHe()});var LHe=B((Gia,RHe)=>{p();u();var o7=s7();RHe.exports=function(n,e){var t=n.AssertionError,a=e.flag;n.Assertion=r;function r(i,s,f,o){return a(this,"ssfi",f||r),a(this,"lockSsfi",o),a(this,"object",i),a(this,"message",s),a(this,"eql",o7.deepEqual||e.eql),e.proxify(this)}Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),o7.includeStack},set:function(i){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),o7.includeStack=i}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),o7.showDiff},set:function(i){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),o7.showDiff=i}}),r.addProperty=function(i,s){e.addProperty(this.prototype,i,s)},r.addMethod=function(i,s){e.addMethod(this.prototype,i,s)},r.addChainableMethod=function(i,s,f){e.addChainableMethod(this.prototype,i,s,f)},r.overwriteProperty=function(i,s){e.overwriteProperty(this.prototype,i,s)},r.overwriteMethod=function(i,s){e.overwriteMethod(this.prototype,i,s)},r.overwriteChainableMethod=function(i,s,f){e.overwriteChainableMethod(this.prototype,i,s,f)},r.prototype.assert=function(i,s,f,o,c,d){var l=e.test(this,arguments);if(d!==!1&&(d=!0),o===void 0&&c===void 0&&(d=!1),o7.showDiff!==!0&&(d=!1),!l){s=e.getMessage(this,arguments);var y=e.getActual(this,arguments),h={actual:y,expected:o,showDiff:d},T=e.getOperator(this,arguments);throw T&&(h.operator=T),new t(s,h,o7.includeStack?this.assert:a(this,"ssfi"))}};Object.defineProperty(r.prototype,"_obj",{get:function(){return a(this,"object")},set:function(i){a(this,"object",i)}})}});var BHe=B((Yia,MHe)=>{p();u();MHe.exports=function(n,e){var t=n.Assertion,a=n.AssertionError,r=e.flag;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(g){t.addProperty(g)}),t.addProperty("not",function(){r(this,"negate",!0)}),t.addProperty("deep",function(){r(this,"deep",!0)}),t.addProperty("nested",function(){r(this,"nested",!0)}),t.addProperty("own",function(){r(this,"own",!0)}),t.addProperty("ordered",function(){r(this,"ordered",!0)}),t.addProperty("any",function(){r(this,"any",!0),r(this,"all",!1)}),t.addProperty("all",function(){r(this,"all",!0),r(this,"any",!1)});function i(g,R){R&&r(this,"message",R),g=g.toLowerCase();var k=r(this,"object"),C=~["a","e","i","o","u"].indexOf(g.charAt(0))?"an ":"a ";this.assert(g===e.type(k).toLowerCase(),"expected #{this} to be "+C+g,"expected #{this} not to be "+C+g)}t.addChainableMethod("an",i),t.addChainableMethod("a",i);function s(g,R){return e.isNaN(g)&&e.isNaN(R)||g===R}function f(){r(this,"contains",!0)}function o(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=e.type(k).toLowerCase(),H=r(this,"message"),te=r(this,"negate"),V=r(this,"ssfi"),Y=r(this,"deep"),ee=Y?"deep ":"",ae=Y?r(this,"eql"):s;H=H?H+": ":"";var pe=!1;switch(C){case"string":pe=k.indexOf(g)!==-1;break;case"weakset":if(Y)throw new a(H+"unable to use .deep.include with WeakSet",void 0,V);pe=k.has(g);break;case"map":k.forEach(function(be){pe=pe||ae(be,g)});break;case"set":Y?k.forEach(function(be){pe=pe||ae(be,g)}):pe=k.has(g);break;case"array":Y?pe=k.some(function(be){return ae(be,g)}):pe=k.indexOf(g)!==-1;break;default:if(g!==Object(g))throw new a(H+"the given combination of arguments ("+C+" and "+e.type(g).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(g).toLowerCase(),void 0,V);var Q=Object.keys(g),ie=null,se=0;if(Q.forEach(function(be){var de=new t(k);if(e.transferFlags(this,de,!0),r(de,"lockSsfi",!0),!te||Q.length===1){de.property(be,g[be]);return}try{de.property(be,g[be])}catch(we){if(!e.checkError.compatibleConstructor(we,a))throw we;ie===null&&(ie=we),se++}},this),te&&Q.length>1&&se===Q.length)throw ie;return}this.assert(pe,"expected #{this} to "+ee+"include "+e.inspect(g),"expected #{this} to not "+ee+"include "+e.inspect(g))}t.addChainableMethod("include",o,f),t.addChainableMethod("contain",o,f),t.addChainableMethod("contains",o,f),t.addChainableMethod("includes",o,f),t.addProperty("ok",function(){this.assert(r(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),t.addProperty("true",function(){this.assert(r(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!r(this,"negate"))}),t.addProperty("false",function(){this.assert(r(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!r(this,"negate"))}),t.addProperty("null",function(){this.assert(r(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),t.addProperty("undefined",function(){this.assert(r(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),t.addProperty("NaN",function(){this.assert(e.isNaN(r(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function c(){var g=r(this,"object");this.assert(g!=null,"expected #{this} to exist","expected #{this} to not exist")}t.addProperty("exist",c),t.addProperty("exists",c),t.addProperty("empty",function(){var g=r(this,"object"),R=r(this,"ssfi"),k=r(this,"message"),C;switch(k=k?k+": ":"",e.type(g).toLowerCase()){case"array":case"string":C=g.length;break;case"map":case"set":C=g.size;break;case"weakmap":case"weakset":throw new a(k+".empty was passed a weak collection",void 0,R);case"function":var H=k+".empty was passed a function "+e.getName(g);throw new a(H.trim(),void 0,R);default:if(g!==Object(g))throw new a(k+".empty was passed non-string primitive "+e.inspect(g),void 0,R);C=Object.keys(g).length}this.assert(C===0,"expected #{this} to be empty","expected #{this} not to be empty")});function d(){var g=r(this,"object"),R=e.type(g);this.assert(R==="Arguments","expected #{this} to be arguments but got "+R,"expected #{this} to not be arguments")}t.addProperty("arguments",d),t.addProperty("Arguments",d);function l(g,R){R&&r(this,"message",R);var k=r(this,"object");if(r(this,"deep")){var C=r(this,"lockSsfi");r(this,"lockSsfi",!0),this.eql(g),r(this,"lockSsfi",C)}else this.assert(g===k,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",g,this._obj,!0)}t.addMethod("equal",l),t.addMethod("equals",l),t.addMethod("eq",l);function y(g,R){R&&r(this,"message",R);var k=r(this,"eql");this.assert(k(g,r(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",g,this._obj,!0)}t.addMethod("eql",y),t.addMethod("eqls",y);function h(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"doLength"),H=r(this,"message"),te=H?H+": ":"",V=r(this,"ssfi"),Y=e.type(k).toLowerCase(),ee=e.type(g).toLowerCase(),ae,pe=!0;if(C&&Y!=="map"&&Y!=="set"&&new t(k,H,V,!0).to.have.property("length"),!C&&Y==="date"&&ee!=="date")ae=te+"the argument to above must be a date";else if(ee!=="number"&&(C||Y==="number"))ae=te+"the argument to above must be a number";else if(!C&&Y!=="date"&&Y!=="number"){var Q=Y==="string"?"'"+k+"'":k;ae=te+"expected "+Q+" to be a number or a date"}else pe=!1;if(pe)throw new a(ae,void 0,V);if(C){var ie="length",se;Y==="map"||Y==="set"?(ie="size",se=k.size):se=k.length,this.assert(se>g,"expected #{this} to have a "+ie+" above #{exp} but got #{act}","expected #{this} to not have a "+ie+" above #{exp}",g,se)}else this.assert(k>g,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",g)}t.addMethod("above",h),t.addMethod("gt",h),t.addMethod("greaterThan",h);function T(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"doLength"),H=r(this,"message"),te=H?H+": ":"",V=r(this,"ssfi"),Y=e.type(k).toLowerCase(),ee=e.type(g).toLowerCase(),ae,pe=!0;if(C&&Y!=="map"&&Y!=="set"&&new t(k,H,V,!0).to.have.property("length"),!C&&Y==="date"&&ee!=="date")ae=te+"the argument to least must be a date";else if(ee!=="number"&&(C||Y==="number"))ae=te+"the argument to least must be a number";else if(!C&&Y!=="date"&&Y!=="number"){var Q=Y==="string"?"'"+k+"'":k;ae=te+"expected "+Q+" to be a number or a date"}else pe=!1;if(pe)throw new a(ae,void 0,V);if(C){var ie="length",se;Y==="map"||Y==="set"?(ie="size",se=k.size):se=k.length,this.assert(se>=g,"expected #{this} to have a "+ie+" at least #{exp} but got #{act}","expected #{this} to have a "+ie+" below #{exp}",g,se)}else this.assert(k>=g,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",g)}t.addMethod("least",T),t.addMethod("gte",T),t.addMethod("greaterThanOrEqual",T);function A(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"doLength"),H=r(this,"message"),te=H?H+": ":"",V=r(this,"ssfi"),Y=e.type(k).toLowerCase(),ee=e.type(g).toLowerCase(),ae,pe=!0;if(C&&Y!=="map"&&Y!=="set"&&new t(k,H,V,!0).to.have.property("length"),!C&&Y==="date"&&ee!=="date")ae=te+"the argument to below must be a date";else if(ee!=="number"&&(C||Y==="number"))ae=te+"the argument to below must be a number";else if(!C&&Y!=="date"&&Y!=="number"){var Q=Y==="string"?"'"+k+"'":k;ae=te+"expected "+Q+" to be a number or a date"}else pe=!1;if(pe)throw new a(ae,void 0,V);if(C){var ie="length",se;Y==="map"||Y==="set"?(ie="size",se=k.size):se=k.length,this.assert(se=g&&we<=R,"expected #{this} to have a "+de+" within "+se,"expected #{this} to not have a "+de+" within "+se)}else this.assert(C>=g&&C<=R,"expected #{this} to be within "+se,"expected #{this} to not be within "+se)});function N(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"ssfi"),H=r(this,"message");try{var te=k instanceof g}catch(Y){throw Y instanceof TypeError?(H=H?H+": ":"",new a(H+"The instanceof assertion needs a constructor but "+e.type(g)+" was given.",void 0,C)):Y}var V=e.getName(g);V===null&&(V="an unnamed constructor"),this.assert(te,"expected #{this} to be an instance of "+V,"expected #{this} to not be an instance of "+V)}t.addMethod("instanceof",N),t.addMethod("instanceOf",N);function U(g,R,k){k&&r(this,"message",k);var C=r(this,"nested"),H=r(this,"own"),te=r(this,"message"),V=r(this,"object"),Y=r(this,"ssfi"),ee=typeof g;if(te=te?te+": ":"",C){if(ee!=="string")throw new a(te+"the argument to property must be a string when using nested syntax",void 0,Y)}else if(ee!=="string"&&ee!=="number"&&ee!=="symbol")throw new a(te+"the argument to property must be a string, number, or symbol",void 0,Y);if(C&&H)throw new a(te+'The "nested" and "own" flags cannot be combined.',void 0,Y);if(V==null)throw new a(te+"Target cannot be null or undefined.",void 0,Y);var ae=r(this,"deep"),pe=r(this,"negate"),Q=C?e.getPathInfo(V,g):null,ie=C?Q.value:V[g],se=ae?r(this,"eql"):(we,Oe)=>we===Oe,be="";ae&&(be+="deep "),H&&(be+="own "),C&&(be+="nested "),be+="property ";var de;H?de=Object.prototype.hasOwnProperty.call(V,g):C?de=Q.exists:de=e.hasProperty(V,g),(!pe||arguments.length===1)&&this.assert(de,"expected #{this} to have "+be+e.inspect(g),"expected #{this} to not have "+be+e.inspect(g)),arguments.length>1&&this.assert(de&&se(R,ie),"expected #{this} to have "+be+e.inspect(g)+" of #{exp}, but got #{act}","expected #{this} to not have "+be+e.inspect(g)+" of #{act}",R,ie),r(this,"object",ie)}t.addMethod("property",U);function q(g,R,k){r(this,"own",!0),U.apply(this,arguments)}t.addMethod("ownProperty",q),t.addMethod("haveOwnProperty",q);function W(g,R,k){typeof R=="string"&&(k=R,R=null),k&&r(this,"message",k);var C=r(this,"object"),H=Object.getOwnPropertyDescriptor(Object(C),g),te=r(this,"eql");H&&R?this.assert(te(R,H),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to match "+e.inspect(R)+", got "+e.inspect(H),"expected the own property descriptor for "+e.inspect(g)+" on #{this} to not match "+e.inspect(R),R,H,!0):this.assert(H,"expected #{this} to have an own property descriptor for "+e.inspect(g),"expected #{this} to not have an own property descriptor for "+e.inspect(g)),r(this,"object",H)}t.addMethod("ownPropertyDescriptor",W),t.addMethod("haveOwnPropertyDescriptor",W);function G(){r(this,"doLength",!0)}function X(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=e.type(k).toLowerCase(),H=r(this,"message"),te=r(this,"ssfi"),V="length",Y;switch(C){case"map":case"set":V="size",Y=k.size;break;default:new t(k,H,te,!0).to.have.property("length"),Y=k.length}this.assert(Y==g,"expected #{this} to have a "+V+" of #{exp} but got #{act}","expected #{this} to not have a "+V+" of #{act}",g,Y)}t.addChainableMethod("length",X,G),t.addChainableMethod("lengthOf",X,G);function J(g,R){R&&r(this,"message",R);var k=r(this,"object");this.assert(g.exec(k),"expected #{this} to match "+g,"expected #{this} not to match "+g)}t.addMethod("match",J),t.addMethod("matches",J),t.addMethod("string",function(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"message"),H=r(this,"ssfi");new t(k,C,H,!0).is.a("string"),this.assert(~k.indexOf(g),"expected #{this} to contain "+e.inspect(g),"expected #{this} to not contain "+e.inspect(g))});function j(g){var R=r(this,"object"),k=e.type(R),C=e.type(g),H=r(this,"ssfi"),te=r(this,"deep"),V,Y="",ee,ae=!0,pe=r(this,"message");pe=pe?pe+": ":"";var Q=pe+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(k==="Map"||k==="Set")Y=te?"deeply ":"",ee=[],R.forEach(function(Se,it){ee.push(it)}),C!=="Array"&&(g=Array.prototype.slice.call(arguments));else{switch(ee=e.getOwnEnumerableProperties(R),C){case"Array":if(arguments.length>1)throw new a(Q,void 0,H);break;case"Object":if(arguments.length>1)throw new a(Q,void 0,H);g=Object.keys(g);break;default:g=Array.prototype.slice.call(arguments)}g=g.map(function(Se){return typeof Se=="symbol"?Se:String(Se)})}if(!g.length)throw new a(pe+"keys required",void 0,H);var ie=g.length,se=r(this,"any"),be=r(this,"all"),de=g,we=te?r(this,"eql"):(Se,it)=>Se===it;if(!se&&!be&&(be=!0),se&&(ae=de.some(function(Se){return ee.some(function(it){return we(Se,it)})})),be&&(ae=de.every(function(Se){return ee.some(function(it){return we(Se,it)})}),r(this,"contains")||(ae=ae&&g.length==ee.length)),ie>1){g=g.map(function(Se){return e.inspect(Se)});var Oe=g.pop();be&&(V=g.join(", ")+", and "+Oe),se&&(V=g.join(", ")+", or "+Oe)}else V=e.inspect(g[0]);V=(ie>1?"keys ":"key ")+V,V=(r(this,"contains")?"contain ":"have ")+V,this.assert(ae,"expected #{this} to "+Y+V,"expected #{this} to not "+Y+V,de.slice(0).sort(e.compareByInspect),ee.sort(e.compareByInspect),!0)}t.addMethod("keys",j),t.addMethod("key",j);function z(g,R,k){k&&r(this,"message",k);var C=r(this,"object"),H=r(this,"ssfi"),te=r(this,"message"),V=r(this,"negate")||!1;new t(C,te,H,!0).is.a("function"),(g instanceof RegExp||typeof g=="string")&&(R=g,g=null);var Y;try{C()}catch(Oe){Y=Oe}var ee=g===void 0&&R===void 0,ae=!!(g&&R),pe=!1,Q=!1;if(ee||!ee&&!V){var ie="an error";g instanceof Error?ie="#{exp}":g&&(ie=e.checkError.getConstructorName(g)),this.assert(Y,"expected #{this} to throw "+ie,"expected #{this} to not throw an error but #{act} was thrown",g&&g.toString(),Y instanceof Error?Y.toString():typeof Y=="string"?Y:Y&&e.checkError.getConstructorName(Y))}if(g&&Y){if(g instanceof Error){var se=e.checkError.compatibleInstance(Y,g);se===V&&(ae&&V?pe=!0:this.assert(V,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(Y&&!V?" but #{act} was thrown":""),g.toString(),Y.toString()))}var be=e.checkError.compatibleConstructor(Y,g);be===V&&(ae&&V?pe=!0:this.assert(V,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(Y?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),Y instanceof Error?Y.toString():Y&&e.checkError.getConstructorName(Y)))}if(Y&&R!==void 0&&R!==null){var de="including";R instanceof RegExp&&(de="matching");var we=e.checkError.compatibleMessage(Y,R);we===V&&(ae&&V?Q=!0:this.assert(V,"expected #{this} to throw error "+de+" #{exp} but got #{act}","expected #{this} to throw error not "+de+" #{exp}",R,e.checkError.getMessage(Y)))}pe&&Q&&this.assert(V,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(Y?" but #{act} was thrown":""),g instanceof Error?g.toString():g&&e.checkError.getConstructorName(g),Y instanceof Error?Y.toString():Y&&e.checkError.getConstructorName(Y)),r(this,"object",Y)}t.addMethod("throw",z),t.addMethod("throws",z),t.addMethod("Throw",z);function P(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"itself"),H=typeof k=="function"&&!C?k.prototype[g]:k[g];this.assert(typeof H=="function","expected #{this} to respond to "+e.inspect(g),"expected #{this} to not respond to "+e.inspect(g))}t.addMethod("respondTo",P),t.addMethod("respondsTo",P),t.addProperty("itself",function(){r(this,"itself",!0)});function _(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=g(k);this.assert(C,"expected #{this} to satisfy "+e.objDisplay(g),"expected #{this} to not satisfy"+e.objDisplay(g),!r(this,"negate"),C)}t.addMethod("satisfy",_),t.addMethod("satisfies",_);function F(g,R,k){k&&r(this,"message",k);var C=r(this,"object"),H=r(this,"message"),te=r(this,"ssfi");if(new t(C,H,te,!0).is.a("number"),typeof g!="number"||typeof R!="number"){H=H?H+": ":"";var V=R===void 0?", and a delta is required":"";throw new a(H+"the arguments to closeTo or approximately must be numbers"+V,void 0,te)}this.assert(Math.abs(C-g)<=R,"expected #{this} to be close to "+g+" +/- "+R,"expected #{this} not to be close to "+g+" +/- "+R)}t.addMethod("closeTo",F),t.addMethod("approximately",F);function v(g,R,k,C,H){if(!C){if(g.length!==R.length)return!1;R=R.slice()}return g.every(function(te,V){if(H)return k?k(te,R[V]):te===R[V];if(!k){var Y=R.indexOf(te);return Y===-1?!1:(C||R.splice(Y,1),!0)}return R.some(function(ee,ae){return k(te,ee)?(C||R.splice(ae,1),!0):!1})})}t.addMethod("members",function(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"message"),H=r(this,"ssfi");new t(k,C,H,!0).to.be.an("array"),new t(g,C,H,!0).to.be.an("array");var te=r(this,"contains"),V=r(this,"ordered"),Y,ee,ae;te?(Y=V?"an ordered superset":"a superset",ee="expected #{this} to be "+Y+" of #{exp}",ae="expected #{this} to not be "+Y+" of #{exp}"):(Y=V?"ordered members":"members",ee="expected #{this} to have the same "+Y+" as #{exp}",ae="expected #{this} to not have the same "+Y+" as #{exp}");var pe=r(this,"deep")?r(this,"eql"):void 0;this.assert(v(g,k,pe,te,V),ee,ae,g,k,!0)});function b(g,R){R&&r(this,"message",R);var k=r(this,"object"),C=r(this,"message"),H=r(this,"ssfi"),te=r(this,"contains"),V=r(this,"deep"),Y=r(this,"eql");new t(g,C,H,!0).to.be.an("array"),te?this.assert(g.some(function(ee){return k.indexOf(ee)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",g,k):V?this.assert(g.some(function(ee){return Y(k,ee)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",g,k):this.assert(g.indexOf(k)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",g,k)}t.addMethod("oneOf",b);function x(g,R,k){k&&r(this,"message",k);var C=r(this,"object"),H=r(this,"message"),te=r(this,"ssfi");new t(C,H,te,!0).is.a("function");var V;R?(new t(g,H,te,!0).to.have.property(R),V=g[R]):(new t(g,H,te,!0).is.a("function"),V=g()),C();var Y=R==null?g():g[R],ee=R==null?V:"."+R;r(this,"deltaMsgObj",ee),r(this,"initialDeltaValue",V),r(this,"finalDeltaValue",Y),r(this,"deltaBehavior","change"),r(this,"realDelta",Y!==V),this.assert(V!==Y,"expected "+ee+" to change","expected "+ee+" to not change")}t.addMethod("change",x),t.addMethod("changes",x);function L(g,R,k){k&&r(this,"message",k);var C=r(this,"object"),H=r(this,"message"),te=r(this,"ssfi");new t(C,H,te,!0).is.a("function");var V;R?(new t(g,H,te,!0).to.have.property(R),V=g[R]):(new t(g,H,te,!0).is.a("function"),V=g()),new t(V,H,te,!0).is.a("number"),C();var Y=R==null?g():g[R],ee=R==null?V:"."+R;r(this,"deltaMsgObj",ee),r(this,"initialDeltaValue",V),r(this,"finalDeltaValue",Y),r(this,"deltaBehavior","increase"),r(this,"realDelta",Y-V),this.assert(Y-V>0,"expected "+ee+" to increase","expected "+ee+" to not increase")}t.addMethod("increase",L),t.addMethod("increases",L);function M(g,R,k){k&&r(this,"message",k);var C=r(this,"object"),H=r(this,"message"),te=r(this,"ssfi");new t(C,H,te,!0).is.a("function");var V;R?(new t(g,H,te,!0).to.have.property(R),V=g[R]):(new t(g,H,te,!0).is.a("function"),V=g()),new t(V,H,te,!0).is.a("number"),C();var Y=R==null?g():g[R],ee=R==null?V:"."+R;r(this,"deltaMsgObj",ee),r(this,"initialDeltaValue",V),r(this,"finalDeltaValue",Y),r(this,"deltaBehavior","decrease"),r(this,"realDelta",V-Y),this.assert(Y-V<0,"expected "+ee+" to decrease","expected "+ee+" to not decrease")}t.addMethod("decrease",M),t.addMethod("decreases",M);function w(g,R){R&&r(this,"message",R);var k=r(this,"deltaMsgObj"),C=r(this,"initialDeltaValue"),H=r(this,"finalDeltaValue"),te=r(this,"deltaBehavior"),V=r(this,"realDelta"),Y;te==="change"?Y=Math.abs(H-C)===Math.abs(g):Y=V===Math.abs(g),this.assert(Y,"expected "+k+" to "+te+" by "+g,"expected "+k+" to not "+te+" by "+g)}t.addMethod("by",w),t.addProperty("extensible",function(){var g=r(this,"object"),R=g===Object(g)&&Object.isExtensible(g);this.assert(R,"expected #{this} to be extensible","expected #{this} to not be extensible")}),t.addProperty("sealed",function(){var g=r(this,"object"),R=g===Object(g)?Object.isSealed(g):!0;this.assert(R,"expected #{this} to be sealed","expected #{this} to not be sealed")}),t.addProperty("frozen",function(){var g=r(this,"object"),R=g===Object(g)?Object.isFrozen(g):!0;this.assert(R,"expected #{this} to be frozen","expected #{this} to not be frozen")}),t.addProperty("finite",function(g){var R=r(this,"object");this.assert(typeof R=="number"&&isFinite(R),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}});var FHe=B((Zia,NHe)=>{p();u();NHe.exports=function(n,e){n.expect=function(t,a){return new n.Assertion(t,a)},n.expect.fail=function(t,a,r,i){throw arguments.length<2&&(r=t,t=void 0),r=r||"expect.fail()",new n.AssertionError(r,{actual:t,expected:a,operator:i},n.expect.fail)}}});var VHe=B((nsa,OHe)=>{p();u();OHe.exports=function(n,e){var t=n.Assertion;function a(){function r(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new t(this.valueOf(),null,r):new t(this,null,r)}function i(f){Object.defineProperty(this,"should",{value:f,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:i,get:r,configurable:!0});var s={};return s.fail=function(f,o,c,d){throw arguments.length<2&&(c=f,f=void 0),c=c||"should.fail()",new n.AssertionError(c,{actual:f,expected:o,operator:d},s.fail)},s.equal=function(f,o,c){new t(f,c).to.equal(o)},s.Throw=function(f,o,c,d){new t(f,d).to.Throw(o,c)},s.exist=function(f,o){new t(f,o).to.exist},s.not={},s.not.equal=function(f,o,c){new t(f,c).to.not.equal(o)},s.not.Throw=function(f,o,c,d){new t(f,d).to.not.Throw(o,c)},s.not.exist=function(f,o){new t(f,o).to.not.exist},s.throw=s.Throw,s.not.throw=s.not.Throw,s}n.should=a,n.Should=a}});var UHe=B((isa,$He)=>{p();u();$He.exports=function(n,e){var t=n.Assertion,a=e.flag;var r=n.assert=function(i,s){var f=new t(null,null,n.assert,!0);f.assert(i,s,"[ negation message unavailable ]")};r.fail=function(i,s,f,o){throw arguments.length<2&&(f=i,i=void 0),f=f||"assert.fail()",new n.AssertionError(f,{actual:i,expected:s,operator:o},r.fail)},r.isOk=function(i,s){new t(i,s,r.isOk,!0).is.ok},r.isNotOk=function(i,s){new t(i,s,r.isNotOk,!0).is.not.ok},r.equal=function(i,s,f){var o=new t(i,f,r.equal,!0);o.assert(s==a(o,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",s,i,!0)},r.notEqual=function(i,s,f){var o=new t(i,f,r.notEqual,!0);o.assert(s!=a(o,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",s,i,!0)},r.strictEqual=function(i,s,f){new t(i,f,r.strictEqual,!0).to.equal(s)},r.notStrictEqual=function(i,s,f){new t(i,f,r.notStrictEqual,!0).to.not.equal(s)},r.deepEqual=r.deepStrictEqual=function(i,s,f){new t(i,f,r.deepEqual,!0).to.eql(s)},r.notDeepEqual=function(i,s,f){new t(i,f,r.notDeepEqual,!0).to.not.eql(s)},r.isAbove=function(i,s,f){new t(i,f,r.isAbove,!0).to.be.above(s)},r.isAtLeast=function(i,s,f){new t(i,f,r.isAtLeast,!0).to.be.least(s)},r.isBelow=function(i,s,f){new t(i,f,r.isBelow,!0).to.be.below(s)},r.isAtMost=function(i,s,f){new t(i,f,r.isAtMost,!0).to.be.most(s)},r.isTrue=function(i,s){new t(i,s,r.isTrue,!0).is.true},r.isNotTrue=function(i,s){new t(i,s,r.isNotTrue,!0).to.not.equal(!0)},r.isFalse=function(i,s){new t(i,s,r.isFalse,!0).is.false},r.isNotFalse=function(i,s){new t(i,s,r.isNotFalse,!0).to.not.equal(!1)},r.isNull=function(i,s){new t(i,s,r.isNull,!0).to.equal(null)},r.isNotNull=function(i,s){new t(i,s,r.isNotNull,!0).to.not.equal(null)},r.isNaN=function(i,s){new t(i,s,r.isNaN,!0).to.be.NaN},r.isNotNaN=function(i,s){new t(i,s,r.isNotNaN,!0).not.to.be.NaN},r.exists=function(i,s){new t(i,s,r.exists,!0).to.exist},r.notExists=function(i,s){new t(i,s,r.notExists,!0).to.not.exist},r.isUndefined=function(i,s){new t(i,s,r.isUndefined,!0).to.equal(void 0)},r.isDefined=function(i,s){new t(i,s,r.isDefined,!0).to.not.equal(void 0)},r.isFunction=function(i,s){new t(i,s,r.isFunction,!0).to.be.a("function")},r.isNotFunction=function(i,s){new t(i,s,r.isNotFunction,!0).to.not.be.a("function")},r.isObject=function(i,s){new t(i,s,r.isObject,!0).to.be.a("object")},r.isNotObject=function(i,s){new t(i,s,r.isNotObject,!0).to.not.be.a("object")},r.isArray=function(i,s){new t(i,s,r.isArray,!0).to.be.an("array")},r.isNotArray=function(i,s){new t(i,s,r.isNotArray,!0).to.not.be.an("array")},r.isString=function(i,s){new t(i,s,r.isString,!0).to.be.a("string")},r.isNotString=function(i,s){new t(i,s,r.isNotString,!0).to.not.be.a("string")},r.isNumber=function(i,s){new t(i,s,r.isNumber,!0).to.be.a("number")},r.isNotNumber=function(i,s){new t(i,s,r.isNotNumber,!0).to.not.be.a("number")},r.isFinite=function(i,s){new t(i,s,r.isFinite,!0).to.be.finite},r.isBoolean=function(i,s){new t(i,s,r.isBoolean,!0).to.be.a("boolean")},r.isNotBoolean=function(i,s){new t(i,s,r.isNotBoolean,!0).to.not.be.a("boolean")},r.typeOf=function(i,s,f){new t(i,f,r.typeOf,!0).to.be.a(s)},r.notTypeOf=function(i,s,f){new t(i,f,r.notTypeOf,!0).to.not.be.a(s)},r.instanceOf=function(i,s,f){new t(i,f,r.instanceOf,!0).to.be.instanceOf(s)},r.notInstanceOf=function(i,s,f){new t(i,f,r.notInstanceOf,!0).to.not.be.instanceOf(s)},r.include=function(i,s,f){new t(i,f,r.include,!0).include(s)},r.notInclude=function(i,s,f){new t(i,f,r.notInclude,!0).not.include(s)},r.deepInclude=function(i,s,f){new t(i,f,r.deepInclude,!0).deep.include(s)},r.notDeepInclude=function(i,s,f){new t(i,f,r.notDeepInclude,!0).not.deep.include(s)},r.nestedInclude=function(i,s,f){new t(i,f,r.nestedInclude,!0).nested.include(s)},r.notNestedInclude=function(i,s,f){new t(i,f,r.notNestedInclude,!0).not.nested.include(s)},r.deepNestedInclude=function(i,s,f){new t(i,f,r.deepNestedInclude,!0).deep.nested.include(s)},r.notDeepNestedInclude=function(i,s,f){new t(i,f,r.notDeepNestedInclude,!0).not.deep.nested.include(s)},r.ownInclude=function(i,s,f){new t(i,f,r.ownInclude,!0).own.include(s)},r.notOwnInclude=function(i,s,f){new t(i,f,r.notOwnInclude,!0).not.own.include(s)},r.deepOwnInclude=function(i,s,f){new t(i,f,r.deepOwnInclude,!0).deep.own.include(s)},r.notDeepOwnInclude=function(i,s,f){new t(i,f,r.notDeepOwnInclude,!0).not.deep.own.include(s)},r.match=function(i,s,f){new t(i,f,r.match,!0).to.match(s)},r.notMatch=function(i,s,f){new t(i,f,r.notMatch,!0).to.not.match(s)},r.property=function(i,s,f){new t(i,f,r.property,!0).to.have.property(s)},r.notProperty=function(i,s,f){new t(i,f,r.notProperty,!0).to.not.have.property(s)},r.propertyVal=function(i,s,f,o){new t(i,o,r.propertyVal,!0).to.have.property(s,f)},r.notPropertyVal=function(i,s,f,o){new t(i,o,r.notPropertyVal,!0).to.not.have.property(s,f)},r.deepPropertyVal=function(i,s,f,o){new t(i,o,r.deepPropertyVal,!0).to.have.deep.property(s,f)},r.notDeepPropertyVal=function(i,s,f,o){new t(i,o,r.notDeepPropertyVal,!0).to.not.have.deep.property(s,f)},r.ownProperty=function(i,s,f){new t(i,f,r.ownProperty,!0).to.have.own.property(s)},r.notOwnProperty=function(i,s,f){new t(i,f,r.notOwnProperty,!0).to.not.have.own.property(s)},r.ownPropertyVal=function(i,s,f,o){new t(i,o,r.ownPropertyVal,!0).to.have.own.property(s,f)},r.notOwnPropertyVal=function(i,s,f,o){new t(i,o,r.notOwnPropertyVal,!0).to.not.have.own.property(s,f)},r.deepOwnPropertyVal=function(i,s,f,o){new t(i,o,r.deepOwnPropertyVal,!0).to.have.deep.own.property(s,f)},r.notDeepOwnPropertyVal=function(i,s,f,o){new t(i,o,r.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(s,f)},r.nestedProperty=function(i,s,f){new t(i,f,r.nestedProperty,!0).to.have.nested.property(s)},r.notNestedProperty=function(i,s,f){new t(i,f,r.notNestedProperty,!0).to.not.have.nested.property(s)},r.nestedPropertyVal=function(i,s,f,o){new t(i,o,r.nestedPropertyVal,!0).to.have.nested.property(s,f)},r.notNestedPropertyVal=function(i,s,f,o){new t(i,o,r.notNestedPropertyVal,!0).to.not.have.nested.property(s,f)},r.deepNestedPropertyVal=function(i,s,f,o){new t(i,o,r.deepNestedPropertyVal,!0).to.have.deep.nested.property(s,f)},r.notDeepNestedPropertyVal=function(i,s,f,o){new t(i,o,r.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(s,f)},r.lengthOf=function(i,s,f){new t(i,f,r.lengthOf,!0).to.have.lengthOf(s)},r.hasAnyKeys=function(i,s,f){new t(i,f,r.hasAnyKeys,!0).to.have.any.keys(s)},r.hasAllKeys=function(i,s,f){new t(i,f,r.hasAllKeys,!0).to.have.all.keys(s)},r.containsAllKeys=function(i,s,f){new t(i,f,r.containsAllKeys,!0).to.contain.all.keys(s)},r.doesNotHaveAnyKeys=function(i,s,f){new t(i,f,r.doesNotHaveAnyKeys,!0).to.not.have.any.keys(s)},r.doesNotHaveAllKeys=function(i,s,f){new t(i,f,r.doesNotHaveAllKeys,!0).to.not.have.all.keys(s)},r.hasAnyDeepKeys=function(i,s,f){new t(i,f,r.hasAnyDeepKeys,!0).to.have.any.deep.keys(s)},r.hasAllDeepKeys=function(i,s,f){new t(i,f,r.hasAllDeepKeys,!0).to.have.all.deep.keys(s)},r.containsAllDeepKeys=function(i,s,f){new t(i,f,r.containsAllDeepKeys,!0).to.contain.all.deep.keys(s)},r.doesNotHaveAnyDeepKeys=function(i,s,f){new t(i,f,r.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(s)},r.doesNotHaveAllDeepKeys=function(i,s,f){new t(i,f,r.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(s)},r.throws=function(i,s,f,o){(typeof s=="string"||s instanceof RegExp)&&(f=s,s=null);var c=new t(i,o,r.throws,!0).to.throw(s,f);return a(c,"object")},r.doesNotThrow=function(i,s,f,o){(typeof s=="string"||s instanceof RegExp)&&(f=s,s=null),new t(i,o,r.doesNotThrow,!0).to.not.throw(s,f)},r.operator=function(i,s,f,o){var c;switch(s){case"==":c=i==f;break;case"===":c=i===f;break;case">":c=i>f;break;case">=":c=i>=f;break;case"<":c=i{p();u();var qHe=[];dd.version="4.3.8";dd.AssertionError=Kse();var HHe=PHe();dd.use=function(n){return~qHe.indexOf(n)||(n(dd,HHe),qHe.push(n)),dd};dd.util=HHe;var mO0=s7();dd.config=mO0;var bO0=LHe();dd.use(bO0);var hO0=BHe();dd.use(hO0);var gO0=FHe();dd.use(gO0);var vO0=VHe();dd.use(vO0);var TO0=UHe();dd.use(TO0)});var WHe=B((lsa,zHe)=>{p();u();zHe.exports=jm()});var KHe=B(I_=>{"use strict";p();u();Object.defineProperty(I_,"__esModule",{value:!0});I_.expectApprox=I_.awaitCondition=void 0;var jHe=WHe(),GHe=Zn(),_O0=Gse(),wO0=async(n,e=1e3,t=10)=>{for(let a=0;a{if(n=GHe.BigNumber.from(n),e=GHe.BigNumber.from(e),!(t||a||r||i))throw new Error("Must define at least one parameter to limit the deviation of the actual value.");let f,o=t?e.mul(100+t).div(100):null,c=r?e.add(r):null;o&&c?f=o.lte(c)?o:c:f=o||c;let d,l=a?e.mul(100-a).div(100):null,y=i?e.sub(i):null;l&&y?d=l.gte(y)?l:y:d=l||y,f&&(0,jHe.expect)(n.lte(f),`Actual value (${n}) is greater than the calculated upper bound of (${f})`).to.be.true,d&&(0,jHe.expect)(n.gte(d),`Actual value (${n}) is less than the calculated lower bound of (${d})`).to.be.true};I_.expectApprox=xO0});var BU=B(Kl=>{"use strict";p();u();var IO0=Kl&&Kl.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),qS=Kl&&Kl.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&IO0(e,n,t)};Object.defineProperty(Kl,"__esModule",{value:!0});qS(rqe(),Kl);qS(fqe(),Kl);qS(jse(),Kl);qS(Gse(),Kl);qS(KHe(),Kl)});var YHe=B(QHe=>{"use strict";p();u();Object.defineProperty(QHe,"__esModule",{value:!0})});var JHe=B(c7=>{"use strict";p();u();var EO0=c7&&c7.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),DO0=c7&&c7.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&EO0(e,n,t)};Object.defineProperty(c7,"__esModule",{value:!0});DO0(YHe(),c7)});var XHe=B(NU=>{"use strict";p();u();Object.defineProperty(NU,"__esModule",{value:!0});NU.getChainId=void 0;var CO0=async n=>(await n.getNetwork()).chainId;NU.getChainId=CO0});var ZHe=B(d7=>{"use strict";p();u();var SO0=d7&&d7.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),AO0=d7&&d7.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&SO0(e,n,t)};Object.defineProperty(d7,"__esModule",{value:!0});AO0(XHe(),d7)});var tze=B(Gm=>{"use strict";p();u();var kO0=Gm&&Gm.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),eze=Gm&&Gm.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&kO0(e,n,t)};Object.defineProperty(Gm,"__esModule",{value:!0});eze(JHe(),Gm);eze(ZHe(),Gm)});var ize=B(P5=>{"use strict";p();u();Object.defineProperty(P5,"__esModule",{value:!0});P5.undoL1ToL2Alias=P5.applyL1ToL2Alias=P5.L1_TO_L2_ALIAS_OFFSET=void 0;var nze=go(),aze=Zn(),rze=BU();P5.L1_TO_L2_ALIAS_OFFSET="0x1111000000000000000000000000000000001111";var PO0=n=>{if(!(0,nze.isAddress)(n))throw new Error(`not a valid address: ${n}`);return(0,rze.bnToAddress)(aze.BigNumber.from(n).add(P5.L1_TO_L2_ALIAS_OFFSET))};P5.applyL1ToL2Alias=PO0;var RO0=n=>{if(!(0,nze.isAddress)(n))throw new Error(`not a valid address: ${n}`);return(0,rze.bnToAddress)(aze.BigNumber.from(n).sub(P5.L1_TO_L2_ALIAS_OFFSET))};P5.undoL1ToL2Alias=RO0});var sze=B(ni=>{"use strict";p();u();Object.defineProperty(ni,"__esModule",{value:!0});ni.calldataCost=ni.zeroesAndOnes=ni.calculateL1Fee=ni.calculateL1GasUsed=ni.scaleDecimals=ni.txDataNonZeroGasEIP2028=ni.txDataZeroGas=void 0;var E_=Zn(),LO0=BU();ni.txDataZeroGas=4;ni.txDataNonZeroGasEIP2028=16;var MO0=E_.BigNumber.from(10),BO0=(n,e)=>{n=E_.BigNumber.from(n),e=E_.BigNumber.from(e);let t=MO0.pow(e);return n.div(t)};ni.scaleDecimals=BO0;var NO0=(n,e)=>{let[t,a]=(0,ni.zeroesAndOnes)(n),r=t*ni.txDataZeroGas,i=(a+68)*ni.txDataNonZeroGasEIP2028;return E_.BigNumber.from(i).add(r).add(e)};ni.calculateL1GasUsed=NO0;var FO0=(n,e,t,a,r)=>{let f=(0,ni.calculateL1GasUsed)(n,e).mul(t).mul(a);return(0,ni.scaleDecimals)(f,r)};ni.calculateL1Fee=FO0;var OO0=n=>{typeof n=="string"&&(n=D.Buffer.from((0,LO0.remove0x)(n),"hex"));let e=0,t=0;for(let a of n)a===0?e++:t++;return[e,t]};ni.zeroesAndOnes=OO0;var VO0=n=>{let[e,t]=(0,ni.zeroesAndOnes)(n),a=E_.BigNumber.from(e).mul(ni.txDataZeroGas),r=E_.BigNumber.from(t).mul(ni.txDataNonZeroGasEIP2028);return a.add(r)};ni.calldataCost=VO0});var oze=B(fze=>{"use strict";p();u();Object.defineProperty(fze,"__esModule",{value:!0})});var lze=B(D6=>{"use strict";p();u();var $O0=D6&&D6.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),UO0=D6&&D6.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),qO0=D6&&D6.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&$O0(e,n,t);return UO0(e,n),e};Object.defineProperty(D6,"__esModule",{value:!0});D6.DepositTx=D6.SourceHashDomain=void 0;var dfe=go(),R5=Zn(),ffe=T1(),HO0=V8(),cze=qO0(KE()),Ql=H0(),zO0=n=>n?new Uint8Array([1]):new Uint8Array([]),ofe=(n,e)=>{let t=(0,Ql.stripZeros)(R5.BigNumber.from(n).toHexString());if(t.length>32)throw new Error(`invalid length for ${e}`);return t},WO0=n=>{if(n==="0x")return!1;if(n==="0x01")return!0;throw new Error(`invalid boolean RLP hex value ${n}`)},cfe=n=>n==="0x"?HO0.Zero:R5.BigNumber.from(n),dze=n=>n==="0x"?null:(0,dfe.getAddress)(n),HS;(function(n){n[n.UserDeposit=0]="UserDeposit",n[n.L1InfoDeposit=1]="L1InfoDeposit"})(HS||(D6.SourceHashDomain=HS={}));var lfe=class{constructor(e={}){this.type=126,this.version=0,this._sourceHash=e.sourceHash,this.from=e.from,this.to=e.to,this.mint=e.mint,this.value=e.value,this.gas=e.gas,this.isSystemTransaction=e.isSystemTransaction||!1,this.data=e.data,this.domain=e.domain,this.l1BlockHash=e.l1BlockHash,this.logIndex=e.logIndex,this.sequenceNumber=e.sequenceNumber}hash(){let e=this.encode();return(0,ffe.keccak256)(e)}sourceHash(){if(!this._sourceHash){let e;switch(this.domain){case HS.UserDeposit:e=R5.BigNumber.from(this.logIndex).toHexString();break;case HS.L1InfoDeposit:e=R5.BigNumber.from(this.sequenceNumber).toHexString();break;default:throw new Error(`Unknown domain: ${this.domain}`)}if(!this.l1BlockHash)throw new Error("Need l1BlockHash to compute sourceHash");let t=this.l1BlockHash,a=(0,Ql.hexConcat)([t,(0,Ql.zeroPad)(e,32)]),r=(0,ffe.keccak256)(a),i=R5.BigNumber.from(this.domain).toHexString(),s=(0,Ql.hexConcat)([(0,Ql.zeroPad)(i,32),r]);this._sourceHash=(0,ffe.keccak256)(s)}return this._sourceHash}encode(){let e=[this.sourceHash()||"0x",(0,dfe.getAddress)(this.from)||"0x",this.to!=null?(0,dfe.getAddress)(this.to):"0x",ofe(this.mint||0,"mint"),ofe(this.value||0,"value"),ofe(this.gas||0,"gas"),zO0(this.isSystemTransaction),this.data||"0x"];return(0,Ql.hexConcat)([R5.BigNumber.from(this.type).toHexString(),cze.encode(e)])}decode(e,t={}){let a=(0,Ql.arrayify)(e);if(a[0]!==this.type)throw new Error(`Invalid type ${a[0]}`);this.version=a[1];let r=cze.decode(a.slice(1));return this._sourceHash=r[0],this.from=dze(r[1]),this.to=dze(r[2]),this.mint=cfe(r[3]),this.value=cfe(r[4]),this.gas=cfe(r[5]),this.isSystemTransaction=WO0(r[6]),this.data=r[7],"l1BlockHash"in t&&(this.l1BlockHash=t.l1BlockHash),"domain"in t&&(this.domain=t.domain),"logIndex"in t&&(this.logIndex=t.logIndex),"sequenceNumber"in t&&(this.sequenceNumber=t.sequenceNumber),this}static decode(e,t){return new this().decode(e,t)}fromL1Receipt(e,t){if(!e.events)throw new Error("cannot parse receipt");let a=e.events[t];if(!a)throw new Error(`event index ${t} does not exist`);return this.fromL1Event(a)}static fromL1Receipt(e,t){return new this({}).fromL1Receipt(e,t)}fromL1Event(e){if(e.event!=="TransactionDeposited")throw new Error(`incorrect event type: ${e.event}`);if(typeof e.args>"u")throw new Error("no event args");if(typeof e.args.from>"u")throw new Error('"from" undefined');if(this.from=e.args.from,typeof e.args.to>"u")throw new Error('"to" undefined');if(typeof e.args.version>"u")throw new Error('"verison" undefined');if(!e.args.version.eq(0))throw new Error(`Unsupported version ${e.args.version.toString()}`);if(typeof e.args.opaqueData>"u")throw new Error('"opaqueData" undefined');let t=e.args.opaqueData;if(t.length<73)throw new Error(`invalid opaqueData size: ${t.length}`);let a=0;this.mint=R5.BigNumber.from((0,Ql.hexDataSlice)(t,a,a+32)),a+=32,this.value=R5.BigNumber.from((0,Ql.hexDataSlice)(t,a,a+32)),a+=32,this.gas=R5.BigNumber.from((0,Ql.hexDataSlice)(t,a,a+8)),a+=8;let r=R5.BigNumber.from(t[a]).eq(1);a+=1,this.to=r===!0?null:e.args.to;let i=t.length-a;return this.isSystemTransaction=!1,this.data=(0,Ql.hexDataSlice)(t,a,a+i),this.domain=HS.UserDeposit,this.l1BlockHash=e.blockHash,this.logIndex=e.logIndex,this}static fromL1Event(e){return new this({}).fromL1Event(e)}};D6.DepositTx=lfe});var pfe=B(C1=>{"use strict";p();u();Object.defineProperty(C1,"__esModule",{value:!0});C1.encodeCrossDomainMessage=C1.encodeCrossDomainMessageV1=C1.encodeCrossDomainMessageV0=C1.decodeVersionedNonce=C1.encodeVersionedNonce=void 0;var jO0=Zn(),GO0=gv(),pze=new GO0.Interface(["function relayMessage(address,address,bytes,uint256)","function relayMessage(uint256,address,address,uint256,uint256,bytes)"]),KO0=jO0.BigNumber.from("0x0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),QO0=(n,e)=>e.or(n.shl(240));C1.encodeVersionedNonce=QO0;var YO0=n=>({version:n.shr(240),nonce:n.and(KO0)});C1.decodeVersionedNonce=YO0;var JO0=(n,e,t,a)=>pze.encodeFunctionData("relayMessage(address,address,bytes,uint256)",[n,e,t,a]);C1.encodeCrossDomainMessageV0=JO0;var XO0=(n,e,t,a,r,i)=>pze.encodeFunctionData("relayMessage(uint256,address,address,uint256,uint256,bytes)",[n,e,t,a,r,i]);C1.encodeCrossDomainMessageV1=XO0;var ZO0=(n,e,t,a,r,i)=>{let{version:s}=(0,C1.decodeVersionedNonce)(n);if(s.eq(0))return(0,C1.encodeCrossDomainMessageV0)(t,e,i,n);if(s.eq(1))return(0,C1.encodeCrossDomainMessageV1)(n,e,t,a,r,i);throw new Error(`unknown version ${s.toString()}`)};C1.encodeCrossDomainMessage=ZO0});var yze=B(vc=>{"use strict";p();u();Object.defineProperty(vc,"__esModule",{value:!0});vc.hashOutputRootProof=vc.hashWithdrawal=vc.hashCrossDomainMessagev1=vc.hashCrossDomainMessagev0=vc.hashCrossDomainMessage=void 0;var FU=T1(),uze=gv(),ufe=pfe(),eV0=(n,e,t,a,r,i)=>{let{version:s}=(0,ufe.decodeVersionedNonce)(n);if(s.eq(0))return(0,vc.hashCrossDomainMessagev0)(t,e,i,n);if(s.eq(1))return(0,vc.hashCrossDomainMessagev1)(n,e,t,a,r,i);throw new Error(`unknown version ${s.toString()}`)};vc.hashCrossDomainMessage=eV0;var tV0=(n,e,t,a)=>(0,FU.keccak256)((0,ufe.encodeCrossDomainMessageV0)(n,e,t,a));vc.hashCrossDomainMessagev0=tV0;var nV0=(n,e,t,a,r,i)=>(0,FU.keccak256)((0,ufe.encodeCrossDomainMessageV1)(n,e,t,a,r,i));vc.hashCrossDomainMessagev1=nV0;var aV0=(n,e,t,a,r,i)=>{let s=["uint256","address","address","uint256","uint256","bytes"],f=uze.defaultAbiCoder.encode(s,[n,e,t,a,r,i]);return(0,FU.keccak256)(f)};vc.hashWithdrawal=aV0;var rV0=n=>(0,FU.keccak256)(uze.defaultAbiCoder.encode(["bytes32","bytes32","bytes32","bytes32"],[n.version,n.stateRoot,n.messagePasserStorageRoot,n.latestBlockhash]));vc.hashOutputRootProof=rV0});var mze=B(D_=>{"use strict";p();u();var iV0=D_&&D_.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(D_,"__esModule",{value:!0});D_.OpNodeProvider=void 0;var sV0=iV0(ti()),Ho=Zn(),fV0=xa(),oV0=W2(),cV0=n=>{if(n.error){let e=new Error(n.error.message);throw e.code=n.error.code,e.data=n.error.data,e}return n.result},yfe=class extends sV0.default{constructor(e){super(),this._nextId=0,typeof e=="string"?this.connection={url:e}:this.connection=e}async syncStatus(){let e=await this.send("optimism_syncStatus",[]);return{currentL1:{hash:e.current_l1.hash,number:Ho.BigNumber.from(e.current_l1.number),parentHash:e.current_l1.parentHash,timestamp:Ho.BigNumber.from(e.current_l1.timestamp)},headL1:{hash:e.head_l1.hash,number:Ho.BigNumber.from(e.head_l1.number),parentHash:e.head_l1.parentHash,timestamp:Ho.BigNumber.from(e.head_l1.timestamp)},unsafeL2:{hash:e.unsafe_l2.hash,number:Ho.BigNumber.from(e.unsafe_l2.number),parentHash:e.unsafe_l2.parentHash,timestamp:Ho.BigNumber.from(e.unsafe_l2.timestamp),l1Origin:{hash:e.unsafe_l2.l1origin.hash,number:Ho.BigNumber.from(e.unsafe_l2.l1origin.number)},sequencerNumber:Ho.BigNumber.from(e.unsafe_l2.sequenceNumber)},safeL2:{hash:e.safe_l2.hash,number:Ho.BigNumber.from(e.safe_l2.number),parentHash:e.safe_l2.parentHash,timestamp:Ho.BigNumber.from(e.safe_l2.timestamp),l1Origin:{hash:e.safe_l2.l1origin.hash,number:Ho.BigNumber.from(e.safe_l2.l1origin.number)},sequencerNumber:Ho.BigNumber.from(e.safe_l2.sequenceNumber)},finalizedL2:{hash:e.finalized_l2.hash,number:Ho.BigNumber.from(e.finalized_l2.number),parentHash:e.finalized_l2.parentHash,timestamp:Ho.BigNumber.from(e.finalized_l2.timestamp),l1Origin:{hash:e.finalized_l2.l1origin.hash,number:Ho.BigNumber.from(e.finalized_l2.l1origin.number)},sequencerNumber:Ho.BigNumber.from(e.finalized_l2.sequenceNumber)}}}async rollupConfig(){return await this.send("optimism_rollupConfig",[])}send(e,t){let a={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};return this.emit("debug",{action:"request",request:(0,fV0.deepCopy)(a),provider:this}),(0,oV0.fetchJson)(this.connection,JSON.stringify(a),cV0).then(i=>(this.emit("debug",{action:"response",request:a,response:i,provider:this}),i),i=>{throw this.emit("debug",{action:"response",error:i,request:a,provider:this}),i})}};D_.OpNodeProvider=yfe});var hze=B(C_=>{"use strict";p();u();Object.defineProperty(C_,"__esModule",{value:!0});C_.defaultResourceConfig=C_.predeploys=void 0;var bze=Ue();C_.predeploys={L2ToL1MessagePasser:"0x4200000000000000000000000000000000000016",DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",SequencerFeeVault:"0x4200000000000000000000000000000000000011",OptimismMintableERC20Factory:"0x4200000000000000000000000000000000000012",L1BlockNumber:"0x4200000000000000000000000000000000000013",L1Block:"0x4200000000000000000000000000000000000015",LegacyERC20ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006",GovernanceToken:"0x4200000000000000000000000000000000000042",LegacyMessagePasser:"0x4200000000000000000000000000000000000000",L2ERC721Bridge:"0x4200000000000000000000000000000000000014",OptimismMintableERC721Factory:"0x4200000000000000000000000000000000000017",ProxyAdmin:"0x4200000000000000000000000000000000000018",BaseFeeVault:"0x4200000000000000000000000000000000000019",L1FeeVault:"0x420000000000000000000000000000000000001a"};var dV0=bze.ethers.BigNumber.from("0xffffffffffffffffffffffffffffffff");C_.defaultResourceConfig={maxResourceLimit:2e7,elasticityMultiplier:10,baseFeeMaxChangeDenominator:8,minimumBaseFee:bze.ethers.utils.parseUnits("1","gwei"),systemTxMaxGas:1e6,maximumBaseFee:dV0}});var gze=B(Tc=>{"use strict";p();u();var lV0=Tc&&Tc.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),Km=Tc&&Tc.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&lV0(e,n,t)};Object.defineProperty(Tc,"__esModule",{value:!0});Km(ize(),Tc);Km(sze(),Tc);Km(oze(),Tc);Km(lze(),Tc);Km(pfe(),Tc);Km(yze(),Tc);Km(mze(),Tc);Km(hze(),Tc)});var Tze=B(OU=>{"use strict";p();u();Object.defineProperty(OU,"__esModule",{value:!0});OU.addChecksum=void 0;var pV0=Ue(),vze=(n,e)=>e===void 0?null:e,mfe=n=>{if(Array.isArray(n))return`[${n.map(e=>mfe(e)).join(",")}]`;if(typeof n=="object"&&n!==null){let e="",t=Object.keys(n).sort();e+=`{${JSON.stringify(t,vze)}`;for(let a of t)e+=`${mfe(n[a])},`;return`${e}}`}return`${JSON.stringify(n,vze)}`},uV0=n=>{let e=mfe(Object.assign(Object.assign({},n),{meta:Object.assign(Object.assign({},n.meta),{name:null})}));return pV0.ethers.utils.solidityKeccak256(["string"],[e])||void 0},yV0=n=>Object.assign(Object.assign({},n),{meta:Object.assign(Object.assign({},n.meta),{checksum:uV0(n)})});OU.addChecksum=yV0});var wze=B((S_,_ze)=>{"use strict";p();u();var mV0=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},l7=mV0();_ze.exports=S_=l7.fetch;l7.fetch&&(S_.default=l7.fetch.bind(l7));S_.Headers=l7.Headers;S_.Request=l7.Request;S_.Response=l7.Response});var Ize=B(A_=>{"use strict";p();u();var bV0=A_&&A_.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(A_,"__esModule",{value:!0});A_.Etherscan=void 0;var hV0=bV0(wze()),xze={1:{chainId:1,names:["mainnet","main","eth","ethereum"],etherscanApiUrl:"https://api.etherscan.io"},3:{chainId:3,names:["ropsten"],etherscanApiUrl:"https://api-ropsten.etherscan.io"},4:{chainId:4,names:["rinkeby"],etherscanApiUrl:"https://api-rinkeby.etherscan.io"},5:{chainId:5,names:["goerli"],etherscanApiUrl:"https://api-goerli.etherscan.io"},10:{chainId:10,names:["optimism"],etherscanApiUrl:"https://api-optimistic.etherscan.io"},42:{chainId:42,names:["kovan"],etherscanApiUrl:"https://api-kovan.etherscan.io"},69:{chainId:69,names:["opkovan","kovan-optimism","optimistic-kovan"],etherscanApiUrl:"https://api-kovan-optimistic.etherscan.io"}},bfe=class{constructor(e,t){this.apiKey=e,this.network=t,typeof t=="string"?this.net=Object.values(xze).find(a=>a.names.includes(t)):this.net=xze[this.network]}async getContractSource(e){let t=new URL(`${this.net.etherscanApiUrl}/api`);return t.searchParams.append("module","contract"),t.searchParams.append("action","getsourcecode"),t.searchParams.append("address",e),t.searchParams.append("apikey",this.apiKey),(await(await(0,hV0.default)(t)).json()).result[0]}async getContractABI(e){let t=await this.getContractSource(e);return t.Proxy==="1"?(await this.getContractSource(t.Implementation)).ABI:t.ABI}};A_.Etherscan=bfe});var vfe=B((bfa,Sze)=>{"use strict";p();u();function Qm(n){"@babel/helpers - typeof";return Qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qm(n)}function Eze(n,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function VU(n){return VU=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},VU(n)}var Cze={},k_,hfe;function zS(n,e,t){t||(t=Error);function a(i,s,f){return typeof e=="string"?e:e(i,s,f)}var r=function(i){wV0(f,i);var s=xV0(f);function f(o,c,d){var l;return _V0(this,f),l=s.call(this,a(o,c,d)),l.code=n,l}return gV0(f)}(t);Cze[n]=r}function Dze(n,e){if(Array.isArray(n)){var t=n.length;return n=n.map(function(a){return String(a)}),t>2?"one of ".concat(e," ").concat(n.slice(0,t-1).join(", "),", or ")+n[t-1]:t===2?"one of ".concat(e," ").concat(n[0]," or ").concat(n[1]):"of ".concat(e," ").concat(n[0])}else return"of ".concat(e," ").concat(String(n))}function CV0(n,e,t){return n.substr(!t||t<0?0:+t,e.length)===e}function SV0(n,e,t){return(t===void 0||t>n.length)&&(t=n.length),n.substring(t-e.length,t)===e}function AV0(n,e,t){return typeof t!="number"&&(t=0),t+e.length>n.length?!1:n.indexOf(e,t)!==-1}zS("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError);zS("ERR_INVALID_ARG_TYPE",function(n,e,t){k_===void 0&&(k_=p7()),k_(typeof n=="string","'name' must be a string");var a;typeof e=="string"&&CV0(e,"not ")?(a="must not be",e=e.replace(/^not /,"")):a="must be";var r;if(SV0(n," argument"))r="The ".concat(n," ").concat(a," ").concat(Dze(e,"type"));else{var i=AV0(n,".")?"property":"argument";r='The "'.concat(n,'" ').concat(i," ").concat(a," ").concat(Dze(e,"type"))}return r+=". Received type ".concat(Qm(t)),r},TypeError);zS("ERR_INVALID_ARG_VALUE",function(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";hfe===void 0&&(hfe=Al());var a=hfe.inspect(e);return a.length>128&&(a="".concat(a.slice(0,128),"...")),"The argument '".concat(n,"' ").concat(t,". Received ").concat(a)},TypeError,RangeError);zS("ERR_INVALID_RETURN_VALUE",function(n,e,t){var a;return t&&t.constructor&&t.constructor.name?a="instance of ".concat(t.constructor.name):a="type ".concat(Qm(t)),"Expected ".concat(n,' to be returned from the "').concat(e,'"')+" function but got ".concat(a,".")},TypeError);zS("ERR_MISSING_ARGS",function(){for(var n=arguments.length,e=new Array(n),t=0;t0,"At least one arg needs to be specified");var a="The ",r=e.length;switch(e=e.map(function(i){return'"'.concat(i,'"')}),r){case 1:a+="".concat(e[0]," argument");break;case 2:a+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:a+=e.slice(0,r-1).join(", "),a+=", and ".concat(e[r-1]," arguments");break}return"".concat(a," must be specified")},TypeError);Sze.exports.codes=Cze});var Oze=B((vfa,Fze)=>{"use strict";p();u();function Aze(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,a)}return t}function kze(n){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function NV0(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function KS(n,e){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},KS(n,e)}function QS(n){return QS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},QS(n)}function _c(n){"@babel/helpers - typeof";return _c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_c(n)}var FV0=Al(),wfe=FV0.inspect,OV0=vfe(),VV0=OV0.codes.ERR_INVALID_ARG_TYPE;function Rze(n,e,t){return(t===void 0||t>n.length)&&(t=n.length),n.substring(t-e.length,t)===e}function $V0(n,e){if(e=Math.floor(e),n.length==0||e==0)return"";var t=n.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)n+=n,e--;return n+=n.substring(0,t-n.length),n}var Yl="",WS="",jS="",jf="",u7={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},UV0=10;function Lze(n){var e=Object.keys(n),t=Object.create(Object.getPrototypeOf(n));return e.forEach(function(a){t[a]=n[a]}),Object.defineProperty(t,"message",{value:n.message}),t}function GS(n){return wfe(n,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function qV0(n,e,t){var a="",r="",i=0,s="",f=!1,o=GS(n),c=o.split(` +`),d=GS(e).split(` +`),l=0,y="";if(t==="strictEqual"&&_c(n)==="object"&&_c(e)==="object"&&n!==null&&e!==null&&(t="strictEqualObject"),c.length===1&&d.length===1&&c[0]!==d[0]){var h=c[0].length+d[0].length;if(h<=UV0){if((_c(n)!=="object"||n===null)&&(_c(e)!=="object"||e===null)&&(n!==0||e!==0))return"".concat(u7[t],` `)+"".concat(c[0]," !== ").concat(d[0],` -`)}else if(n!=="strictEqualObject"){var v=x.stderr&&x.stderr.isTTY?x.stderr.columns:80;if(y2&&(h=` - `.concat(oGt(" ",l),"^"),l=0)}}}for(var k=c[c.length-1],O=d[d.length-1];k===O&&(l++<2?i=` - `.concat(k).concat(i):a=k,c.pop(),d.pop(),!(c.length===0||d.length===0));)k=c[c.length-1],O=d[d.length-1];var F=Math.max(c.length,d.length);if(F===0){var z=o.split(` -`);if(z.length>30)for(z[26]="".concat(Al,"...").concat(oo);z.length>27;)z.pop();return"".concat(f9.notIdentical,` +`)}else if(t!=="strictEqualObject"){var T=E.stderr&&E.stderr.isTTY?E.stderr.columns:80;if(h2&&(y=` + `.concat($V0(" ",l),"^"),l=0)}}}for(var A=c[c.length-1],O=d[d.length-1];A===O&&(l++<2?s=` + `.concat(A).concat(s):a=A,c.pop(),d.pop(),!(c.length===0||d.length===0));)A=c[c.length-1],O=d[d.length-1];var N=Math.max(c.length,d.length);if(N===0){var U=o.split(` +`);if(U.length>30)for(U[26]="".concat(Yl,"...").concat(jf);U.length>27;)U.pop();return"".concat(u7.notIdentical,` -`).concat(z.join(` +`).concat(U.join(` `),` -`)}l>3&&(i=` -`.concat(Al,"...").concat(oo).concat(i),s=!0),a!==""&&(i=` - `.concat(a).concat(i),a="");var W=0,j=f9[n]+` -`.concat(bR,"+ actual").concat(oo," ").concat(yR,"- expected").concat(oo),Q=" ".concat(Al,"...").concat(oo," Lines skipped");for(l=0;l1&&l>2&&(V>4?(r+=` -`.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` - `.concat(d[l-2]),W++),r+=` - `.concat(d[l-1]),W++),f=l,a+=` -`.concat(yR,"-").concat(oo," ").concat(d[l]),W++;else if(d.length1&&l>2&&(V>4?(r+=` -`.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` - `.concat(c[l-2]),W++),r+=` - `.concat(c[l-1]),W++),f=l,r+=` -`.concat(bR,"+").concat(oo," ").concat(c[l]),W++;else{var X=d[l],K=c[l],G=K!==X&&(!LYe(K,",")||K.slice(0,-1)!==X);G&&LYe(X,",")&&X.slice(0,-1)===K&&(G=!1,K+=","),G?(V>1&&l>2&&(V>4?(r+=` -`.concat(Al,"...").concat(oo),s=!0):V>3&&(r+=` - `.concat(c[l-2]),W++),r+=` - `.concat(c[l-1]),W++),f=l,r+=` -`.concat(bR,"+").concat(oo," ").concat(K),a+=` -`.concat(yR,"-").concat(oo," ").concat(X),W+=2):(r+=a,a="",(V===1||l===0)&&(r+=` - `.concat(K),W++))}if(W>20&&l3&&(s=` +`.concat(Yl,"...").concat(jf).concat(s),f=!0),a!==""&&(s=` + `.concat(a).concat(s),a="");var q=0,W=u7[t]+` +`.concat(WS,"+ actual").concat(jf," ").concat(jS,"- expected").concat(jf),G=" ".concat(Yl,"...").concat(jf," Lines skipped");for(l=0;l1&&l>2&&(X>4?(r+=` +`.concat(Yl,"...").concat(jf),f=!0):X>3&&(r+=` + `.concat(d[l-2]),q++),r+=` + `.concat(d[l-1]),q++),i=l,a+=` +`.concat(jS,"-").concat(jf," ").concat(d[l]),q++;else if(d.length1&&l>2&&(X>4?(r+=` +`.concat(Yl,"...").concat(jf),f=!0):X>3&&(r+=` + `.concat(c[l-2]),q++),r+=` + `.concat(c[l-1]),q++),i=l,r+=` +`.concat(WS,"+").concat(jf," ").concat(c[l]),q++;else{var J=d[l],j=c[l],z=j!==J&&(!Rze(j,",")||j.slice(0,-1)!==J);z&&Rze(J,",")&&J.slice(0,-1)===j&&(z=!1,j+=","),z?(X>1&&l>2&&(X>4?(r+=` +`.concat(Yl,"...").concat(jf),f=!0):X>3&&(r+=` + `.concat(c[l-2]),q++),r+=` + `.concat(c[l-1]),q++),i=l,r+=` +`.concat(WS,"+").concat(jf," ").concat(j),a+=` +`.concat(jS,"-").concat(jf," ").concat(J),q+=2):(r+=a,a="",(X===1||l===0)&&(r+=` + `.concat(j),q++))}if(q>20&&l30)for(y[26]="".concat(Al,"...").concat(oo);y.length>27;)y.pop();y.length===1?f=n.call(this,"".concat(h," ").concat(y[0])):f=n.call(this,"".concat(h,` +`).concat(Yl,"...").concat(jf).concat(a,` +`)+"".concat(Yl,"...").concat(jf)}return"".concat(W).concat(f?G:"",` +`).concat(r).concat(a).concat(s).concat(y)}var HV0=function(n,e){MV0(a,n);var t=BV0(a);function a(r){var i;if(PV0(this,a),_c(r)!=="object"||r===null)throw new VV0("options","Object",r);var s=r.message,f=r.operator,o=r.stackStartFn,c=r.actual,d=r.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,s!=null)i=t.call(this,String(s));else if(E.stderr&&E.stderr.isTTY&&(E.stderr&&E.stderr.getColorDepth&&E.stderr.getColorDepth()!==1?(Yl="\x1B[34m",WS="\x1B[32m",jf="\x1B[39m",jS="\x1B[31m"):(Yl="",WS="",jf="",jS="")),_c(c)==="object"&&c!==null&&_c(d)==="object"&&d!==null&&"stack"in c&&c instanceof Error&&"stack"in d&&d instanceof Error&&(c=Lze(c),d=Lze(d)),f==="deepStrictEqual"||f==="strictEqual")i=t.call(this,qV0(c,d,f));else if(f==="notDeepStrictEqual"||f==="notStrictEqual"){var y=u7[f],h=GS(c).split(` +`);if(f==="notStrictEqual"&&_c(c)==="object"&&c!==null&&(y=u7.notStrictEqualObject),h.length>30)for(h[26]="".concat(Yl,"...").concat(jf);h.length>27;)h.pop();h.length===1?i=t.call(this,"".concat(y," ").concat(h[0])):i=t.call(this,"".concat(y,` -`).concat(y.join(` +`).concat(h.join(` `),` -`))}else{var v=gR(c),k="",O=f9[s];s==="notDeepEqual"||s==="notEqual"?(v="".concat(f9[s],` +`))}else{var T=GS(c),A="",O=u7[f];f==="notDeepEqual"||f==="notEqual"?(T="".concat(u7[f],` -`).concat(v),v.length>1024&&(v="".concat(v.slice(0,1021),"..."))):(k="".concat(gR(d)),v.length>512&&(v="".concat(v.slice(0,509),"...")),k.length>512&&(k="".concat(k.slice(0,509),"...")),s==="deepEqual"||s==="equal"?v="".concat(O,` +`).concat(T),T.length>1024&&(T="".concat(T.slice(0,1021),"..."))):(A="".concat(GS(d)),T.length>512&&(T="".concat(T.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),f==="deepEqual"||f==="equal"?T="".concat(O,` -`).concat(v,` +`).concat(T,` should equal -`):k=" ".concat(s," ").concat(k)),f=n.call(this,"".concat(v).concat(k))}return Error.stackTraceLimit=l,f.generatedMessage=!i,Object.defineProperty(L1e(f),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),f.code="ERR_ASSERTION",f.actual=c,f.expected=d,f.operator=s,Error.captureStackTrace&&Error.captureStackTrace(L1e(f),o),f.stack,f.name="AssertionError",OYe(f)}return eGt(a,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:e,value:function(f,i){return N1e(this,DYe(DYe({},i),{},{customInspect:!1,depth:0}))}}]),a}(F1e(Error),N1e.custom);HYe.exports=lGt});var O1e=D((d2a,qYe)=>{"use strict";u();p();var WYe=Object.prototype.toString;qYe.exports=function(e){var n=WYe.call(e),a=n==="[object Arguments]";return a||(a=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&WYe.call(e.callee)==="[object Function]"),a}});var XYe=D((p2a,JYe)=>{"use strict";u();p();var $Ye;Object.keys||(TR=Object.prototype.hasOwnProperty,U1e=Object.prototype.toString,jYe=O1e(),H1e=Object.prototype.propertyIsEnumerable,GYe=!H1e.call({toString:null},"toString"),KYe=H1e.call(function(){},"prototype"),xR=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],vq=function(t){var e=t.constructor;return e&&e.prototype===t},QYe={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},VYe=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!QYe["$"+t]&&TR.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{vq(window[t])}catch{return!0}}catch{return!0}return!1}(),YYe=function(t){if(typeof window>"u"||!VYe)return vq(t);try{return vq(t)}catch{return!1}},$Ye=function(e){var n=e!==null&&typeof e=="object",a=U1e.call(e)==="[object Function]",r=jYe(e),f=n&&U1e.call(e)==="[object String]",i=[];if(!n&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var s=KYe&&a;if(f&&e.length>0&&!TR.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";u();p();var uGt=Array.prototype.slice,pGt=O1e(),ZYe=Object.keys,wq=ZYe?function(e){return ZYe(e)}:XYe(),e$e=Object.keys;wq.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(a){return pGt(a)?e$e(uGt.call(a)):e$e(a)})}else Object.keys=wq;return Object.keys||wq};t$e.exports=wq});var s$e=D((v2a,i$e)=>{"use strict";u();p();var hGt=z1e(),r$e=UN()(),f$e=CC(),n$e=Object,mGt=f$e("Array.prototype.push"),a$e=f$e("Object.prototype.propertyIsEnumerable"),bGt=r$e?Object.getOwnPropertySymbols:null;i$e.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var a=n$e(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";u();p();var W1e=s$e(),yGt=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},a=0;a{"use strict";u();p();var d$e=function(t){return t!==t};l$e.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||d$e(e)&&d$e(n))}});var Tq=D((k2a,u$e)=>{"use strict";u();p();var vGt=q1e();u$e.exports=function(){return typeof Object.is=="function"?Object.is:vGt}});var ER=D((M2a,b$e)=>{"use strict";u();p();var wGt=z1e(),TGt=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",xGt=Object.prototype.toString,EGt=Array.prototype.concat,p$e=_te(),_Gt=function(t){return typeof t=="function"&&xGt.call(t)==="[object Function]"},h$e=Ite()(),AGt=function(t,e,n,a){if(e in t){if(a===!0){if(t[e]===n)return}else if(!_Gt(a)||!a())return}h$e?p$e(t,e,n,!0):p$e(t,e,n)},m$e=function(t,e){var n=arguments.length>2?arguments[2]:{},a=wGt(e);TGt&&(a=EGt.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";u();p();var IGt=Tq(),CGt=ER();y$e.exports=function(){var e=IGt();return CGt(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var x$e=D((N2a,T$e)=>{"use strict";u();p();var kGt=ER(),SGt=IC(),RGt=q1e(),v$e=Tq(),MGt=g$e(),w$e=SGt(v$e(),Object);kGt(w$e,{getPolyfill:v$e,implementation:RGt,shim:MGt});T$e.exports=w$e});var j1e=D((H2a,E$e)=>{"use strict";u();p();E$e.exports=function(e){return e!==e}});var G1e=D((q2a,_$e)=>{"use strict";u();p();var BGt=j1e();_$e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:BGt}});var I$e=D((K2a,A$e)=>{"use strict";u();p();var DGt=ER(),PGt=G1e();A$e.exports=function(){var e=PGt();return DGt(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var R$e=D((Y2a,S$e)=>{"use strict";u();p();var LGt=IC(),FGt=ER(),NGt=j1e(),C$e=G1e(),OGt=I$e(),k$e=LGt(C$e(),Number);FGt(k$e,{getPolyfill:C$e,implementation:NGt,shim:OGt});S$e.exports=k$e});var $$e=D((X2a,Y$e)=>{"use strict";u();p();function M$e(t,e){return WGt(t)||zGt(t,e)||HGt(t,e)||UGt()}function UGt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HGt(t,e){if(t){if(typeof t=="string")return B$e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B$e(t,e)}}function B$e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n10)return!0;for(var e=0;e57)return!0}return t.length===10&&t>=Math.pow(2,32)}function _q(t){return Object.keys(t).filter(JGt).concat(Iq(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function G$e(t,e){if(t===e)return 0;for(var n=t.length,a=e.length,r=0,f=Math.min(n,a);r{"use strict";u();p();function Il(t){"@babel/helpers - typeof";return Il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Il(t)}function J$e(t,e){for(var n=0;n1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r{"use strict";p();u();var Vze=Object.prototype.toString;$ze.exports=function(e){var t=Vze.call(e),a=t==="[object Arguments]";return a||(a=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Vze.call(e.callee)==="[object Function]"),a}});var Qze=B((Efa,Kze)=>{"use strict";p();u();var Gze;Object.keys||(YS=Object.prototype.hasOwnProperty,Ife=Object.prototype.toString,Uze=xfe(),Efe=Object.prototype.propertyIsEnumerable,qze=!Efe.call({toString:null},"toString"),Hze=Efe.call(function(){},"prototype"),JS=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],UU=function(n){var e=n.constructor;return e&&e.prototype===n},zze={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Wze=function(){if(typeof window>"u")return!1;for(var n in window)try{if(!zze["$"+n]&&YS.call(window,n)&&window[n]!==null&&typeof window[n]=="object")try{UU(window[n])}catch{return!0}}catch{return!0}return!1}(),jze=function(n){if(typeof window>"u"||!Wze)return UU(n);try{return UU(n)}catch{return!1}},Gze=function(e){var t=e!==null&&typeof e=="object",a=Ife.call(e)==="[object Function]",r=Uze(e),i=t&&Ife.call(e)==="[object String]",s=[];if(!t&&!a&&!r)throw new TypeError("Object.keys called on a non-object");var f=Hze&&a;if(i&&e.length>0&&!YS.call(e,0))for(var o=0;o0)for(var c=0;c{"use strict";p();u();var zV0=Array.prototype.slice,WV0=xfe(),Yze=Object.keys,qU=Yze?function(e){return Yze(e)}:Qze(),Jze=Object.keys;qU.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(a){return WV0(a)?Jze(zV0.call(a)):Jze(a)})}else Object.keys=qU;return Object.keys||qU};Xze.exports=qU});var rWe=B((Pfa,aWe)=>{"use strict";p();u();var jV0=Dfe(),tWe=lN()(),nWe=nD(),Zze=Object,GV0=nWe("Array.prototype.push"),eWe=nWe("Object.prototype.propertyIsEnumerable"),KV0=tWe?Object.getOwnPropertySymbols:null;aWe.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var a=Zze(e);if(arguments.length===1)return a;for(var r=1;r{"use strict";p();u();var Cfe=rWe(),QV0=function(){if(!Object.assign)return!1;for(var n="abcdefghijklmnopqrst",e=n.split(""),t={},a=0;a{"use strict";p();u();var fWe=function(n){return n!==n};oWe.exports=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||fWe(e)&&fWe(t))}});var HU=B(($fa,cWe)=>{"use strict";p();u();var JV0=Sfe();cWe.exports=function(){return typeof Object.is=="function"?Object.is:JV0}});var XS=B((Hfa,uWe)=>{"use strict";p();u();var XV0=Dfe(),ZV0=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",e$0=Object.prototype.toString,t$0=Array.prototype.concat,dWe=mee(),n$0=function(n){return typeof n=="function"&&e$0.call(n)==="[object Function]"},lWe=hee()(),a$0=function(n,e,t,a){if(e in n){if(a===!0){if(n[e]===t)return}else if(!n$0(a)||!a())return}lWe?dWe(n,e,t,!0):dWe(n,e,t)},pWe=function(n,e){var t=arguments.length>2?arguments[2]:{},a=XV0(e);ZV0&&(a=t$0.call(a,Object.getOwnPropertySymbols(e)));for(var r=0;r{"use strict";p();u();var r$0=HU(),i$0=XS();yWe.exports=function(){var e=r$0();return i$0(Object,{is:e},{is:function(){return Object.is!==e}}),e}});var vWe=B((Qfa,gWe)=>{"use strict";p();u();var s$0=XS(),f$0=tD(),o$0=Sfe(),bWe=HU(),c$0=mWe(),hWe=f$0(bWe(),Object);s$0(hWe,{getPolyfill:bWe,implementation:o$0,shim:c$0});gWe.exports=hWe});var Afe=B((Xfa,TWe)=>{"use strict";p();u();TWe.exports=function(e){return e!==e}});var kfe=B((toa,_We)=>{"use strict";p();u();var d$0=Afe();_We.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d$0}});var xWe=B((roa,wWe)=>{"use strict";p();u();var l$0=XS(),p$0=kfe();wWe.exports=function(){var e=p$0();return l$0(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}});var CWe=B((foa,DWe)=>{"use strict";p();u();var u$0=tD(),y$0=XS(),m$0=Afe(),IWe=kfe(),b$0=xWe(),EWe=u$0(IWe(),Number);y$0(EWe,{getPolyfill:IWe,implementation:m$0,shim:b$0});DWe.exports=EWe});var GWe=B((doa,jWe)=>{"use strict";p();u();function SWe(n,e){return T$0(n)||v$0(n,e)||g$0(n,e)||h$0()}function h$0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g$0(n,e){if(n){if(typeof n=="string")return AWe(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return AWe(n,e)}}function AWe(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t10)return!0;for(var e=0;e57)return!0}return n.length===10&&n>=Math.pow(2,32)}function jU(n){return Object.keys(n).filter(A$0).concat(KU(n).filter(Object.prototype.propertyIsEnumerable.bind(n)))}function qWe(n,e){if(n===e)return 0;for(var t=n.length,a=e.length,r=0,i=Math.min(t,a);r{"use strict";p();u();function Jl(n){"@babel/helpers - typeof";return Jl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jl(n)}function KWe(n,e){for(var t=0;t1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r{"use strict";u();p();var EKt=Ox&&Ox.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ox,"__esModule",{value:!0});Ox.setupProxyContract=void 0;var Pq=EKt(r9()),kR=Je(),{getAddress:Hm}=kR.utils,_Kt=async(t,e,{targetImplAddress:n,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let f=await t.connect(kR.ethers.constants.AddressZero).callStatic.admin(),i=await e.getAddress(),s=await t.connect(kR.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${s}`),Hm(s)!==Hm(n)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${n}`),(0,Pq.default)(i===f,"the passed signer is not the admin, cannot update implementation");let d;r?(console.log("postUpgradeCallCalldata is provided. Using Proxy.upgradeAndCall()"),d=await t.connect(e).upgradeToAndCall(n,r)):(console.log("postUpgradeCallCalldata is not provided. Using Proxy.upgrade()"),d=await t.connect(e).upgradeTo(n));let l=await d.wait();console.log(`implementation set in ${l.transactionHash}`)}else console.log(`implementation already set correctly to ${n}`);if(console.log(`admin set to ${f}`),Hm(f)!==Hm(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,Pq.default)(i===f,"proxyOwnerSigner is not the admin, cannot update admin");let l=await(await t.connect(e).changeAdmin(a)).wait();console.log(`admin set in ${l.transactionHash}`)}else console.log(`admin already set correctly to ${a}`);let o=await t.connect(kR.ethers.constants.AddressZero).callStatic.implementation(),c=await t.connect(kR.ethers.constants.AddressZero).callStatic.admin();(0,Pq.default)(Hm(c)===Hm(a),"Something went wrong - admin not set correctly after transaction"),(0,Pq.default)(Hm(o)===Hm(n),"Something went wrong - implementation not set correctly after transaction"),console.log(`Proxy at ${t.address} is set up with implementation: ${o} and admin: ${c}`)};Ox.setupProxyContract=_Kt});var j8=D(n5=>{"use strict";u();p();var AKt=n5&&n5.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Ux=n5&&n5.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&AKt(e,t,n)};Object.defineProperty(n5,"__esModule",{value:!0});Ux(pq(),n5);Ux(rYe(),n5);Ux(TYe(),n5);Ux(EYe(),n5);Ux(CYe(),n5);Ux(mJe(),n5)});var SR=D(Hx=>{"use strict";u();p();var ece=Hx&&Hx.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hx,"__esModule",{value:!0});Hx.StandardBridgeAdapter=void 0;var zm=Je(),J1e=kx(),Wm=j8(),IKt=ece(n1e()),CKt=ece(a1e()),X1e=ece(r1e()),bJe=Ix(),i1=qm(),Z1e=class{constructor(e){this.populateTransaction={approve:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return new zm.Contract((0,i1.toAddress)(n),X1e.default.abi,this.messenger.l1Provider).populateTransaction.approve(this.l1Bridge.address,r,f?.overrides||{})},deposit:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l1Bridge.populateTransaction.depositERC20((0,i1.toAddress)(n),(0,i1.toAddress)(a),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,i1.toAddress)(n),(0,i1.toAddress)(a),(0,i1.toAddress)(f.recipient),r,f?.l2GasLimit||2e5,"0x",f?.overrides||{})},withdraw:async(n,a,r,f)=>{if(!await this.supportsTokenPair(n,a))throw new Error("token pair not supported by bridge");return f?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,i1.toAddress)(a),r,0,"0x",f?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,i1.toAddress)(a),(0,i1.toAddress)(f.recipient),r,0,"0x",f?.overrides||{})}},this.estimateGas={approve:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.approve(n,a,r,f)),deposit:async(n,a,r,f)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.deposit(n,a,r,f)),withdraw:async(n,a,r,f)=>this.messenger.l2Provider.estimateGas(await this.populateTransaction.withdraw(n,a,r,f))},this.messenger=e.messenger,this.l1Bridge=new zm.Contract((0,i1.toAddress)(e.l1Bridge),IKt.default.abi,this.messenger.l1Provider),this.l2Bridge=new zm.Contract((0,i1.toAddress)(e.l2Bridge),CKt.default.abi,this.messenger.l2Provider)}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ERC20DepositInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Wm.hexStringEquals)(r.args.l1Token,zm.ethers.constants.AddressZero)&&!(0,Wm.hexStringEquals)(r.args.l2Token,J1e.predeploys.OVM_ETH)).map(r=>({direction:bJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>!(0,Wm.hexStringEquals)(r.args.l1Token,zm.ethers.constants.AddressZero)&&!(0,Wm.hexStringEquals)(r.args.l2Token,J1e.predeploys.OVM_ETH)).map(r=>({direction:bJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){let a=new zm.Contract((0,i1.toAddress)(n),X1e.default.abi,this.messenger.l2Provider);if((0,Wm.hexStringEquals)((0,i1.toAddress)(e),zm.ethers.constants.AddressZero)||(0,Wm.hexStringEquals)((0,i1.toAddress)(n),J1e.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,Wm.hexStringEquals)(r,(0,i1.toAddress)(e)))return!1;let f=await a.l2Bridge();return!!(0,Wm.hexStringEquals)(f,this.l2Bridge.address)}async approval(e,n,a){if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return new zm.Contract((0,i1.toAddress)(e),X1e.default.abi,this.messenger.l1Provider).allowance(await a.getAddress(),this.l1Bridge.address)}async approve(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.approve(e,n,a,f))}async deposit(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.deposit(e,n,a,f))}async withdraw(e,n,a,r,f){return r.sendTransaction(await this.populateTransaction.withdraw(e,n,a,f))}};Hx.StandardBridgeAdapter=Z1e});var gJe=D(Fq=>{"use strict";u();p();Object.defineProperty(Fq,"__esModule",{value:!0});Fq.ETHBridgeAdapter=void 0;var tce=Je(),nce=kx(),Lq=j8(),yJe=Ix(),c2=qm(),kKt=SR(),ace=class extends kKt.StandardBridgeAdapter{constructor(){super(...arguments),this.populateTransaction={approve:async(e,n,a,r)=>{throw new Error("approvals not necessary for ETH bridge")},deposit:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l1Bridge.populateTransaction.depositETH(r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,c2.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:a}))},withdraw:async(e,n,a,r)=>{if(!await this.supportsTokenPair(e,n))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,c2.toAddress)(n),a,0,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,c2.toAddress)(n),(0,c2.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,c2.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0}))}}}async approval(e,n,a){throw new Error("approval not necessary for ETH bridge")}async getDepositsByAddress(e,n){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ETHDepositInitiated(e),n?.fromBlock,n?.toBlock)).map(r=>({direction:yJe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:tce.ethers.constants.AddressZero,l2Token:nce.predeploys.OVM_ETH,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,n){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),n?.fromBlock,n?.toBlock)).filter(r=>(0,Lq.hexStringEquals)(r.args.l1Token,tce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)(r.args.l2Token,nce.predeploys.OVM_ETH)).map(r=>({direction:yJe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,f)=>f.blockNumber-r.blockNumber)}async supportsTokenPair(e,n){return(0,Lq.hexStringEquals)((0,c2.toAddress)(e),tce.ethers.constants.AddressZero)&&(0,Lq.hexStringEquals)((0,c2.toAddress)(n),nce.predeploys.OVM_ETH)}};Fq.ETHBridgeAdapter=ace});var TJe=D(Nq=>{"use strict";u();p();Object.defineProperty(Nq,"__esModule",{value:!0});Nq.DAIBridgeAdapter=void 0;var SKt=Je(),vJe=j8(),wJe=qm(),RKt=SR(),rce=class extends RKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new SKt.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=await a.l1Token();if(!(0,vJe.hexStringEquals)(r,(0,wJe.toAddress)(e)))return!1;let f=await a.l2Token();return!!(0,vJe.hexStringEquals)(f,(0,wJe.toAddress)(n))}};Nq.DAIBridgeAdapter=rce});var AJe=D(Oq=>{"use strict";u();p();Object.defineProperty(Oq,"__esModule",{value:!0});Oq.ECOBridgeAdapter=void 0;var xJe=Je(),EJe=j8(),_Je=qm(),MKt=SR(),fce=class extends MKt.StandardBridgeAdapter{async supportsTokenPair(e,n){let a=new xJe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new xJe.Contract(this.l2Bridge.address,[{inputs:[],name:"l2Eco",outputs:[{internalType:"contract L2ECO",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l2Provider),[f,i]=await Promise.all([a.l1Eco(),r.l2Eco()]);return!(!(0,EJe.hexStringEquals)(f,(0,_Je.toAddress)(e))||!(0,EJe.hexStringEquals)(i,(0,_Je.toAddress)(n)))}};Oq.ECOBridgeAdapter=fce});var Hq=D(d2=>{"use strict";u();p();var BKt=d2&&d2.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Uq=d2&&d2.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&BKt(e,t,n)};Object.defineProperty(d2,"__esModule",{value:!0});Uq(SR(),d2);Uq(gJe(),d2);Uq(TJe(),d2);Uq(AJe(),d2)});var sce=D(Rr=>{"use strict";u();p();Object.defineProperty(Rr,"__esModule",{value:!0});Rr.BRIDGE_ADAPTER_DATA=Rr.CONTRACT_ADDRESSES=Rr.IGNORABLE_CONTRACTS=Rr.DEFAULT_L2_CONTRACT_ADDRESSES=Rr.CHAIN_BLOCK_TIMES=Rr.DEPOSIT_CONFIRMATION_BLOCKS=void 0;var kl=j8(),RR=Je(),IJe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},DKt={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},PKt={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},LKt={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},FKt={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},NKt={mainnet:RR.ethers.constants.AddressZero,goerli:RR.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},OKt={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:RR.ethers.constants.AddressZero},UKt={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:RR.ethers.constants.AddressZero},Aa=Ix(),zx=Hq();Rr.DEPOSIT_CONFIRMATION_BLOCKS={[Aa.L2ChainID.OPTIMISM]:50,[Aa.L2ChainID.OPTIMISM_GOERLI]:12,[Aa.L2ChainID.OPTIMISM_SEPOLIA]:12,[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:2,[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:2,[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:12,[Aa.L2ChainID.BASE_GOERLI]:25,[Aa.L2ChainID.BASE_SEPOLIA]:25,[Aa.L2ChainID.BASE_MAINNET]:10,[Aa.L2ChainID.ZORA_GOERLI]:12,[Aa.L2ChainID.ZORA_MAINNET]:50,[Aa.L2ChainID.MODE_SEPOLIA]:25,[Aa.L2ChainID.MODE_MAINNET]:50};Rr.CHAIN_BLOCK_TIMES={[Aa.L1ChainID.MAINNET]:13,[Aa.L1ChainID.GOERLI]:15,[Aa.L1ChainID.SEPOLIA]:15,[Aa.L1ChainID.HARDHAT_LOCAL]:1,[Aa.L1ChainID.BEDROCK_LOCAL_DEVNET]:15};Rr.DEFAULT_L2_CONTRACT_ADDRESSES={L2CrossDomainMessenger:kl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,L2StandardBridge:kl.predeploys.L2StandardBridge,OVM_L1BlockNumber:kl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:kl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:kl.predeploys.DeployerWhitelist,OVM_ETH:kl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:kl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:kl.predeploys.SequencerFeeVault,WETH:kl.predeploys.WETH9,BedrockMessagePasser:kl.predeploys.L2ToL1MessagePasser};var ice=t=>({AddressManager:PKt[t],L1CrossDomainMessenger:FKt[t],L1StandardBridge:LKt[t],StateCommitmentChain:OKt[t],CanonicalTransactionChain:UKt[t],BondManager:RR.ethers.constants.AddressZero,OptimismPortal:IJe[t],L2OutputOracle:DKt[t],OptimismPortal2:IJe[t],DisputeGameFactory:NKt[t]});Rr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];Rr.CONTRACT_ADDRESSES={[Aa.L2ChainID.OPTIMISM]:{l1:ice("mainnet"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_GOERLI]:{l1:ice("goerli"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_SEPOLIA]:{l1:ice("sepolia"),l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:{l1:{AddressManager:"0xb4e08DcE1F323608229265c9d4125E22a4B9dbAF",L1CrossDomainMessenger:"0x838a6DC4E37CA45D4Ef05bb776bf05eEf50798De",L1StandardBridge:"0xFf94B6C486350aD92561Ba09bad3a59df764Da92",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xA581Ca3353DB73115C4625FFC7aDF5dB379434A8",L2OutputOracle:"0x3A234299a14De50027eA65dCdf1c0DaC729e04A6",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_GOERLI]:{l1:{AddressManager:"0x4Cf6b56b14c6CFcB72A75611080514F94624c54e",L1CrossDomainMessenger:"0x8e5693140eA606bcEB98761d9beB1BC87383706D",L1StandardBridge:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA",L2OutputOracle:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_SEPOLIA]:{l1:{AddressManager:"0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B",L1CrossDomainMessenger:"0xC34855F4De64F1840e5686e64278da901e261f20",L1StandardBridge:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49f53e41452C74589E85cA1677426Ba426459e85",L2OutputOracle:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.BASE_MAINNET]:{l1:{AddressManager:"0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2",L1CrossDomainMessenger:"0x866E82a600A1414e583f7F13623F1aC5d58b0Afa",L1StandardBridge:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",L2OutputOracle:"0x56315b90c40730925ec5485cf004d835058518A0",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_GOERLI]:{l1:{AddressManager:"0x54f4676203dEDA6C08E0D40557A119c602bFA246",L1CrossDomainMessenger:"0xD87342e16352D33170557A7dA1e5fB966a60FafC",L1StandardBridge:"0x7CC09AC2452D6555d5e0C213Ab9E2d44eFbFc956",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xDb9F51790365e7dc196e7D072728df39Be958ACe",L2OutputOracle:"0xdD292C9eEd00f6A32Ff5245d0BCd7f2a15f24e00",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.ZORA_MAINNET]:{l1:{AddressManager:"0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef",L1CrossDomainMessenger:"0xdC40a14d9abd6F410226f1E6de71aE03441ca506",L1StandardBridge:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054",L2OutputOracle:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_SEPOLIA]:{l1:{AddressManager:"0x83D45725d6562d8CD717673D6bb4c67C07dC1905",L1CrossDomainMessenger:"0xc19a60d9E8C27B9A43527c3283B4dd8eDC8bE15C",L1StandardBridge:"0xbC5C679879B2965296756CD959C3C739769995E2",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x320e1580effF37E008F1C92700d1eBa47c1B23fD",L2OutputOracle:"0x2634BD65ba27AB63811c74A63118ACb312701Bfa",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES},[Aa.L2ChainID.MODE_MAINNET]:{l1:{AddressManager:"0x50eF494573f28Cad6B64C31b7a00Cdaa48306e15",L1CrossDomainMessenger:"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f",L1StandardBridge:"0x735aDBbE72226BD52e818E7181953f42E3b0FF21",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07",L2OutputOracle:"0x4317ba146D4933D889518a3e5E11Fe7a53199b04",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:Rr.DEFAULT_L2_CONTRACT_ADDRESSES}};Rr.BRIDGE_ADAPTER_DATA={[Aa.L2ChainID.OPTIMISM]:{wstETH:{Adapter:zx.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:zx.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:zx.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:zx.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[Aa.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:zx.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:zx.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var SJe=D(Y1=>{"use strict";u();p();var co=Y1&&Y1.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Y1,"__esModule",{value:!0});Y1.getBridgeAdapters=Y1.getAllOEContracts=Y1.getOEContract=Y1.getContractInterfaceBedrock=void 0;var oce=kx(),kJe=Je(),HKt=co(n1e()),zKt=co(a1e()),WKt=co(r1e()),qKt=co(KKe()),jKt=co(QKe()),GKt=co(VKe()),KKt=co(YKe()),QKt=co($Ke()),VKt=co(JKe()),YKt=co(XKe()),$Kt=co(ZKe()),JKt=co(eQe()),XKt=co(tQe()),ZKt=co(nQe()),eQt=co(aQe()),tQt=co(rQe()),nQt=co(fQe()),aQt=t1e(),CJe=Hq(),jm=sce(),rQt={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},fQt=t=>{let e="";switch(t){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=jKt.default;break;case"L1ERC721Bridge":e=YKt.default;break;case"L2OutputOracle":e=VKt.default;break;case"OptimismMintableERC20Factory":e=KKt.default;break;case"ProxyAdmin":e=QKt.default;break;case"L1StandardBridge":e=HKt.default;break;case"L2StandardBridge":e=zKt.default;break;case"OptimismPortal":e=qKt.default;break;case"L2CrossDomainMessenger":e=GKt.default;break;case"OptimismMintableERC20":e=WKt.default;break;case"L2ERC721Bridge":e=$Kt.default;break;case"L1Block":e=JKt.default;break;case"L2ToL1MessagePasser":e=XKt.default;break;case"GasPriceOracle":e=ZKt.default;break;case"DisputeGameFactory":e=eQt.default;break;case"OptimismPortal2":e=tQt.default;break;case"FaultDisputeGame":e=nQt.default;break}return new kJe.ethers.utils.Interface(e.abi)};Y1.getContractInterfaceBedrock=fQt;var iQt=(t,e,n={})=>{let a=jm.CONTRACT_ADDRESSES[e];if(a===void 0&&n.address===void 0){if(jm.IGNORABLE_CONTRACTS.includes(t))return;throw new Error(`cannot get contract ${t} for unknown L2 chain ID ${e}, you must provide an address`)}let r=rQt[t]||t,f;try{f=(0,Y1.getContractInterfaceBedrock)(r)}catch{f=(0,oce.getContractInterface)(r)}return new kJe.Contract((0,aQt.toAddress)(n.address||a.l1[t]||a.l2[t]),f,n.signerOrProvider)};Y1.getOEContract=iQt;var sQt=(t,e={})=>{var n,a,r,f;let i=jm.CONTRACT_ADDRESSES[t]||{l1:{AddressManager:void 0,L1CrossDomainMessenger:void 0,L1StandardBridge:void 0,StateCommitmentChain:void 0,CanonicalTransactionChain:void 0,BondManager:void 0,OptimismPortal:void 0,L2OutputOracle:void 0,DisputeGameFactory:void 0,OptimismPortal2:void 0},l2:jm.DEFAULT_L2_CONTRACT_ADDRESSES},s={};for(let[c,d]of Object.entries(i.l1))s[c]=(0,Y1.getOEContract)(c,t,{address:((a=(n=e.overrides)===null||n===void 0?void 0:n.l1)===null||a===void 0?void 0:a[c])||d,signerOrProvider:e.l1SignerOrProvider});let o={};for(let[c,d]of Object.entries(i.l2))o[c]=(0,Y1.getOEContract)(c,t,{address:((f=(r=e.overrides)===null||r===void 0?void 0:r.l2)===null||f===void 0?void 0:f[c])||d,signerOrProvider:e.l2SignerOrProvider});return{l1:s,l2:o}};Y1.getAllOEContracts=sQt;var oQt=(t,e,n)=>{var a,r,f,i,s,o;let c=Object.assign(Object.assign(Object.assign({},jm.CONTRACT_ADDRESSES[t]||!((r=(a=n?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:CJe.StandardBridgeAdapter,l1Bridge:((i=(f=n?.contracts)===null||f===void 0?void 0:f.l1)===null||i===void 0?void 0:i.L1StandardBridge)||jm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:oce.predeploys.L2StandardBridge},ETH:{Adapter:CJe.ETHBridgeAdapter,l1Bridge:((o=(s=n?.contracts)===null||s===void 0?void 0:s.l1)===null||o===void 0?void 0:o.L1StandardBridge)||jm.CONTRACT_ADDRESSES[t].l1.L1StandardBridge,l2Bridge:oce.predeploys.L2StandardBridge}}:{}),jm.BRIDGE_ADAPTER_DATA[t]||{}),n?.overrides||{}),d={};for(let[l,h]of Object.entries(c))d[l]=new h.Adapter({messenger:e,l1Bridge:h.l1Bridge,l2Bridge:h.l2Bridge});return d};Y1.getBridgeAdapters=oQt});var MJe=D(RJe=>{"use strict";u();p();Object.defineProperty(RJe,"__esModule",{value:!0})});var BJe=D(zq=>{"use strict";u();p();Object.defineProperty(zq,"__esModule",{value:!0});zq.omit=void 0;var cQt=(t,...e)=>{let n=Object.assign({},t);for(let a of e)delete n[a];return n};zq.omit=cQt});var cce=D((Npa,DJe)=>{u();p();DJe.exports=function(e){for(var n=new _.Buffer(e.length),a=0,r=e.length-1;a<=r;++a,--r)n[a]=e[r],n[r]=e[a];return n}});var ea=D((Wq,PJe)=>{u();p();(function(t,e){typeof Wq=="object"?PJe.exports=Wq=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(Wq,function(){var t=t||function(e,n){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof global<"u"&&global.crypto&&(a=global.crypto),!a&&typeof V5=="function")try{a=WU()}catch{}var r=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function F(){}return function(z){var W;return F.prototype=z,W=new F,F.prototype=null,W}}(),i={},s=i.lib={},o=s.Base=function(){return{extend:function(F){var z=f(this);return F&&z.mixIn(F),(!z.hasOwnProperty("init")||this.init===z.init)&&(z.init=function(){z.$super.init.apply(this,arguments)}),z.init.prototype=z,z.$super=this,z},create:function(){var F=this.extend();return F.init.apply(F,arguments),F},init:function(){},mixIn:function(F){for(var z in F)F.hasOwnProperty(z)&&(this[z]=F[z]);F.hasOwnProperty("toString")&&(this.toString=F.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=o.extend({init:function(F,z){F=this.words=F||[],z!=n?this.sigBytes=z:this.sigBytes=F.length*4},toString:function(F){return(F||l).stringify(this)},concat:function(F){var z=this.words,W=F.words,j=this.sigBytes,Q=F.sigBytes;if(this.clamp(),j%4)for(var V=0;V>>2]>>>24-V%4*8&255;z[j+V>>>2]|=X<<24-(j+V)%4*8}else for(var K=0;K>>2]=W[K>>>2];return this.sigBytes+=Q,this},clamp:function(){var F=this.words,z=this.sigBytes;F[z>>>2]&=4294967295<<32-z%4*8,F.length=e.ceil(z/4)},clone:function(){var F=o.clone.call(this);return F.words=this.words.slice(0),F},random:function(F){for(var z=[],W=0;W>>2]>>>24-Q%4*8&255;j.push((V>>>4).toString(16)),j.push((V&15).toString(16))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>3]|=parseInt(F.substr(j,2),16)<<24-j%8*4;return new c.init(W,z/2)}},h=d.Latin1={stringify:function(F){for(var z=F.words,W=F.sigBytes,j=[],Q=0;Q>>2]>>>24-Q%4*8&255;j.push(String.fromCharCode(V))}return j.join("")},parse:function(F){for(var z=F.length,W=[],j=0;j>>2]|=(F.charCodeAt(j)&255)<<24-j%4*8;return new c.init(W,z)}},y=d.Utf8={stringify:function(F){try{return decodeURIComponent(escape(h.stringify(F)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(F){return h.parse(unescape(encodeURIComponent(F)))}},v=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(F){typeof F=="string"&&(F=y.parse(F)),this._data.concat(F),this._nDataBytes+=F.sigBytes},_process:function(F){var z,W=this._data,j=W.words,Q=W.sigBytes,V=this.blockSize,X=V*4,K=Q/X;F?K=e.ceil(K):K=e.max((K|0)-this._minBufferSize,0);var G=K*V,R=e.min(G*4,Q);if(G){for(var T=0;T{u();p();(function(t,e){typeof qq=="object"?LJe.exports=qq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(qq,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[],o=[];(function(){function l(k){for(var O=e.sqrt(k),F=2;F<=O;F++)if(!(k%F))return!1;return!0}function h(k){return(k-(k|0))*4294967296|0}for(var y=2,v=0;v<64;)l(y)&&(v<8&&(s[v]=h(e.pow(y,1/2))),o[v]=h(e.pow(y,1/3)),v++),y++})();var c=[],d=i.SHA256=f.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(l,h){for(var y=this._hash.words,v=y[0],k=y[1],O=y[2],F=y[3],z=y[4],W=y[5],j=y[6],Q=y[7],V=0;V<64;V++){if(V<16)c[V]=l[h+V]|0;else{var X=c[V-15],K=(X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3,G=c[V-2],R=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;c[V]=K+c[V-7]+R+c[V-16]}var T=z&W^~z&j,N=v&k^v&O^k&O,w=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),b=(z<<26|z>>>6)^(z<<21|z>>>11)^(z<<7|z>>>25),A=Q+b+T+o[V]+c[V],P=w+N;Q=j,j=W,W=z,z=F+A|0,F=O,O=k,k=v,v=A+P|0}y[0]=y[0]+v|0,y[1]=y[1]+k|0,y[2]=y[2]+O|0,y[3]=y[3]+F|0,y[4]=y[4]+z|0,y[5]=y[5]+W|0,y[6]=y[6]+j|0,y[7]=y[7]+Q|0},_doFinalize:function(){var l=this._data,h=l.words,y=this._nDataBytes*8,v=l.sigBytes*8;return h[v>>>5]|=128<<24-v%32,h[(v+64>>>9<<4)+14]=e.floor(y/4294967296),h[(v+64>>>9<<4)+15]=y,l.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var l=f.clone.call(this);return l._hash=this._hash.clone(),l}});n.SHA256=f._createHelper(d),n.HmacSHA256=f._createHmacHelper(d)}(Math),t.SHA256})});var jq=D((dce,FJe)=>{u();p();(function(t,e){typeof dce=="object"?FJe.exports=e():typeof define=="function"&&define.amd?define(e):t.treeify=e()})(dce,function(){function t(r,f){var i=f?"\u2514":"\u251C";return r?i+="\u2500 ":i+="\u2500\u2500\u2510",i}function e(r,f){var i=[];for(var s in r)r.hasOwnProperty(s)&&(f&&typeof r[s]=="function"||i.push(s));return i}function n(r,f,i,s,o,c,d){var l="",h=0,y,v,k=s.slice(0);if(k.push([f,i])&&s.length>0&&(s.forEach(function(F,z){z>0&&(l+=(F[1]?" ":"\u2502")+" "),!v&&F[0]===f&&(v=!0)}),l+=t(r,i)+r,o&&(typeof f!="object"||f instanceof Date)&&(l+=": "+f),v&&(l+=" (circular ref.)"),d(l)),!v&&typeof f=="object"){var O=e(f,c);O.forEach(function(F){y=++h===O.length,n(F,f[F],y,k,o,c,d)})}}var a={};return a.asLines=function(r,f,i,s){var o=typeof i!="function"?i:!1;n(".",r,!1,[],f,o,s||i)},a.asTree=function(r,f,i){var s="";return n(".",r,!1,[],f,i,function(o){s+=o+` -`}),s},a})});var MR=D((Gq,NJe)=>{u();p();(function(t,e){typeof Gq=="object"?NJe.exports=Gq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Gq,function(t){return function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=n.x64={},s=i.Word=r.extend({init:function(c,d){this.high=c,this.low=d}}),o=i.WordArray=r.extend({init:function(c,d){c=this.words=c||[],d!=e?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,l=[],h=0;h{u();p();(function(t,e){typeof Kq=="object"?OJe.exports=Kq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Kq,function(t){return function(){if(typeof ArrayBuffer=="function"){var e=t,n=e.lib,a=n.WordArray,r=a.init,f=a.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var s=i.byteLength,o=[],c=0;c>>2]|=i[c]<<24-c%4*8;r.call(this,o,s)}else r.apply(this,arguments)};f.prototype=a}}(),t.lib.WordArray})});var zJe=D((Qq,HJe)=>{u();p();(function(t,e){typeof Qq=="object"?HJe.exports=Qq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Qq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Utf16=r.Utf16BE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535;d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=s.charCodeAt(d)<<16-d%2*16;return a.create(c,o*2)}};r.Utf16LE={stringify:function(s){for(var o=s.words,c=s.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535);d.push(String.fromCharCode(h))}return d.join("")},parse:function(s){for(var o=s.length,c=[],d=0;d>>1]|=i(s.charCodeAt(d)<<16-d%2*16);return a.create(c,o*2)}};function i(s){return s<<8&4278255360|s>>>8&16711935}}(),t.enc.Utf16})});var Gm=D((Vq,WJe)=>{u();p();(function(t,e){typeof Vq=="object"?WJe.exports=Vq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Vq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64={stringify:function(s){var o=s.words,c=s.sigBytes,d=this._map;s.clamp();for(var l=[],h=0;h>>2]>>>24-h%4*8&255,v=o[h+1>>>2]>>>24-(h+1)%4*8&255,k=o[h+2>>>2]>>>24-(h+2)%4*8&255,O=y<<16|v<<8|k,F=0;F<4&&h+F*.75>>6*(3-F)&63));var z=d.charAt(64);if(z)for(;l.length%4;)l.push(z);return l.join("")},parse:function(s){var o=s.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var l=0;l>>6-h%4*2,k=y|v;d[l>>>2]|=k<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64})});var jJe=D((Yq,qJe)=>{u();p();(function(t,e){typeof Yq=="object"?qJe.exports=Yq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Yq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.enc,f=r.Base64url={stringify:function(s,o){o===void 0&&(o=!0);var c=s.words,d=s.sigBytes,l=o?this._safe_map:this._map;s.clamp();for(var h=[],y=0;y>>2]>>>24-y%4*8&255,k=c[y+1>>>2]>>>24-(y+1)%4*8&255,O=c[y+2>>>2]>>>24-(y+2)%4*8&255,F=v<<16|k<<8|O,z=0;z<4&&y+z*.75>>6*(3-z)&63));var W=l.charAt(64);if(W)for(;h.length%4;)h.push(W);return h.join("")},parse:function(s,o){o===void 0&&(o=!0);var c=s.length,d=o?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h>>6-h%4*2,k=y|v;d[l>>>2]|=k<<24-l%4*8,l++}return a.create(d,l)}}(),t.enc.Base64url})});var Km=D(($q,GJe)=>{u();p();(function(t,e){typeof $q=="object"?GJe.exports=$q=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})($q,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=[];(function(){for(var y=0;y<64;y++)s[y]=e.abs(e.sin(y+1))*4294967296|0})();var o=i.MD5=f.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,v){for(var k=0;k<16;k++){var O=v+k,F=y[O];y[O]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}var z=this._hash.words,W=y[v+0],j=y[v+1],Q=y[v+2],V=y[v+3],X=y[v+4],K=y[v+5],G=y[v+6],R=y[v+7],T=y[v+8],N=y[v+9],w=y[v+10],b=y[v+11],A=y[v+12],P=y[v+13],L=y[v+14],E=y[v+15],g=z[0],B=z[1],M=z[2],S=z[3];g=c(g,B,M,S,W,7,s[0]),S=c(S,g,B,M,j,12,s[1]),M=c(M,S,g,B,Q,17,s[2]),B=c(B,M,S,g,V,22,s[3]),g=c(g,B,M,S,X,7,s[4]),S=c(S,g,B,M,K,12,s[5]),M=c(M,S,g,B,G,17,s[6]),B=c(B,M,S,g,R,22,s[7]),g=c(g,B,M,S,T,7,s[8]),S=c(S,g,B,M,N,12,s[9]),M=c(M,S,g,B,w,17,s[10]),B=c(B,M,S,g,b,22,s[11]),g=c(g,B,M,S,A,7,s[12]),S=c(S,g,B,M,P,12,s[13]),M=c(M,S,g,B,L,17,s[14]),B=c(B,M,S,g,E,22,s[15]),g=d(g,B,M,S,j,5,s[16]),S=d(S,g,B,M,G,9,s[17]),M=d(M,S,g,B,b,14,s[18]),B=d(B,M,S,g,W,20,s[19]),g=d(g,B,M,S,K,5,s[20]),S=d(S,g,B,M,w,9,s[21]),M=d(M,S,g,B,E,14,s[22]),B=d(B,M,S,g,X,20,s[23]),g=d(g,B,M,S,N,5,s[24]),S=d(S,g,B,M,L,9,s[25]),M=d(M,S,g,B,V,14,s[26]),B=d(B,M,S,g,T,20,s[27]),g=d(g,B,M,S,P,5,s[28]),S=d(S,g,B,M,Q,9,s[29]),M=d(M,S,g,B,R,14,s[30]),B=d(B,M,S,g,A,20,s[31]),g=l(g,B,M,S,K,4,s[32]),S=l(S,g,B,M,T,11,s[33]),M=l(M,S,g,B,b,16,s[34]),B=l(B,M,S,g,L,23,s[35]),g=l(g,B,M,S,j,4,s[36]),S=l(S,g,B,M,X,11,s[37]),M=l(M,S,g,B,R,16,s[38]),B=l(B,M,S,g,w,23,s[39]),g=l(g,B,M,S,P,4,s[40]),S=l(S,g,B,M,W,11,s[41]),M=l(M,S,g,B,V,16,s[42]),B=l(B,M,S,g,G,23,s[43]),g=l(g,B,M,S,N,4,s[44]),S=l(S,g,B,M,A,11,s[45]),M=l(M,S,g,B,E,16,s[46]),B=l(B,M,S,g,Q,23,s[47]),g=h(g,B,M,S,W,6,s[48]),S=h(S,g,B,M,R,10,s[49]),M=h(M,S,g,B,L,15,s[50]),B=h(B,M,S,g,K,21,s[51]),g=h(g,B,M,S,A,6,s[52]),S=h(S,g,B,M,V,10,s[53]),M=h(M,S,g,B,w,15,s[54]),B=h(B,M,S,g,j,21,s[55]),g=h(g,B,M,S,T,6,s[56]),S=h(S,g,B,M,E,10,s[57]),M=h(M,S,g,B,G,15,s[58]),B=h(B,M,S,g,P,21,s[59]),g=h(g,B,M,S,X,6,s[60]),S=h(S,g,B,M,b,10,s[61]),M=h(M,S,g,B,Q,15,s[62]),B=h(B,M,S,g,N,21,s[63]),z[0]=z[0]+g|0,z[1]=z[1]+B|0,z[2]=z[2]+M|0,z[3]=z[3]+S|0},_doFinalize:function(){var y=this._data,v=y.words,k=this._nDataBytes*8,O=y.sigBytes*8;v[O>>>5]|=128<<24-O%32;var F=e.floor(k/4294967296),z=k;v[(O+64>>>9<<4)+15]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,v[(O+64>>>9<<4)+14]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360,y.sigBytes=(v.length+1)*4,this._process();for(var W=this._hash,j=W.words,Q=0;Q<4;Q++){var V=j[Q];j[Q]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return W},clone:function(){var y=f.clone.call(this);return y._hash=this._hash.clone(),y}});function c(y,v,k,O,F,z,W){var j=y+(v&k|~v&O)+F+W;return(j<>>32-z)+v}function d(y,v,k,O,F,z,W){var j=y+(v&O|k&~O)+F+W;return(j<>>32-z)+v}function l(y,v,k,O,F,z,W){var j=y+(v^k^O)+F+W;return(j<>>32-z)+v}function h(y,v,k,O,F,z,W){var j=y+(k^(v|~O))+F+W;return(j<>>32-z)+v}n.MD5=f._createHelper(o),n.HmacMD5=f._createHmacHelper(o)}(Math),t.MD5})});var lce=D((Jq,KJe)=>{u();p();(function(t,e){typeof Jq=="object"?KJe.exports=Jq=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(Jq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.Hasher,f=e.algo,i=[],s=f.SHA1=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,c){for(var d=this._hash.words,l=d[0],h=d[1],y=d[2],v=d[3],k=d[4],O=0;O<80;O++){if(O<16)i[O]=o[c+O]|0;else{var F=i[O-3]^i[O-8]^i[O-14]^i[O-16];i[O]=F<<1|F>>>31}var z=(l<<5|l>>>27)+k+i[O];O<20?z+=(h&y|~h&v)+1518500249:O<40?z+=(h^y^v)+1859775393:O<60?z+=(h&y|h&v|y&v)-1894007588:z+=(h^y^v)-899497514,k=v,v=y,y=h<<30|h>>>2,h=l,l=z}d[0]=d[0]+l|0,d[1]=d[1]+h|0,d[2]=d[2]+y|0,d[3]=d[3]+v|0,d[4]=d[4]+k|0},_doFinalize:function(){var o=this._data,c=o.words,d=this._nDataBytes*8,l=o.sigBytes*8;return c[l>>>5]|=128<<24-l%32,c[(l+64>>>9<<4)+14]=Math.floor(d/4294967296),c[(l+64>>>9<<4)+15]=d,o.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var o=r.clone.call(this);return o._hash=this._hash.clone(),o}});e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s)}(),t.SHA1})});var VJe=D((Xq,QJe)=>{u();p();(function(t,e,n){typeof Xq=="object"?QJe.exports=Xq=e(ea(),Wx()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(t.CryptoJS)})(Xq,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=e.algo,f=r.SHA256,i=r.SHA224=f.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=f._doFinalize.call(this);return s.sigBytes-=4,s}});e.SHA224=f._createHelper(i),e.HmacSHA224=f._createHmacHelper(i)}(),t.SHA224})});var uce=D((Zq,YJe)=>{u();p();(function(t,e,n){typeof Zq=="object"?YJe.exports=Zq=e(ea(),MR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(Zq,function(t){return function(){var e=t,n=e.lib,a=n.Hasher,r=e.x64,f=r.Word,i=r.WordArray,s=e.algo;function o(){return f.create.apply(f,arguments)}var c=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],d=[];(function(){for(var h=0;h<80;h++)d[h]=o()})();var l=s.SHA512=a.extend({_doReset:function(){this._hash=new i.init([new f.init(1779033703,4089235720),new f.init(3144134277,2227873595),new f.init(1013904242,4271175723),new f.init(2773480762,1595750129),new f.init(1359893119,2917565137),new f.init(2600822924,725511199),new f.init(528734635,4215389547),new f.init(1541459225,327033209)])},_doProcessBlock:function(h,y){for(var v=this._hash.words,k=v[0],O=v[1],F=v[2],z=v[3],W=v[4],j=v[5],Q=v[6],V=v[7],X=k.high,K=k.low,G=O.high,R=O.low,T=F.high,N=F.low,w=z.high,b=z.low,A=W.high,P=W.low,L=j.high,E=j.low,g=Q.high,B=Q.low,M=V.high,S=V.low,q=X,ee=K,U=G,J=R,Z=T,ne=N,ue=w,Y=b,re=A,ie=P,ge=L,de=E,Ae=g,Ge=B,Be=M,c0=S,Ye=0;Ye<80;Ye++){var He,_0,L0=d[Ye];if(Ye<16)_0=L0.high=h[y+Ye*2]|0,He=L0.low=h[y+Ye*2+1]|0;else{var Ze=d[Ye-15],C0=Ze.high,pe=Ze.low,he=(C0>>>1|pe<<31)^(C0>>>8|pe<<24)^C0>>>7,Te=(pe>>>1|C0<<31)^(pe>>>8|C0<<24)^(pe>>>7|C0<<25),Ie=d[Ye-2],Se=Ie.high,Qe=Ie.low,u0=(Se>>>19|Qe<<13)^(Se<<3|Qe>>>29)^Se>>>6,qe=(Qe>>>19|Se<<13)^(Qe<<3|Se>>>29)^(Qe>>>6|Se<<26),v0=d[Ye-7],w0=v0.high,Ve=v0.low,me=d[Ye-16],ye=me.high,_e=me.low;He=Te+Ve,_0=he+w0+(He>>>0>>0?1:0),He=He+qe,_0=_0+u0+(He>>>0>>0?1:0),He=He+_e,_0=_0+ye+(He>>>0<_e>>>0?1:0),L0.high=_0,L0.low=He}var ze=re&ge^~re&Ae,je=ie&de^~ie&Ge,Ue=q&U^q&Z^U&Z,m0=ee&J^ee&ne^J&ne,h0=(q>>>28|ee<<4)^(q<<30|ee>>>2)^(q<<25|ee>>>7),$e=(ee>>>28|q<<4)^(ee<<30|q>>>2)^(ee<<25|q>>>7),M0=(re>>>14|ie<<18)^(re>>>18|ie<<14)^(re<<23|ie>>>9),P0=(ie>>>14|re<<18)^(ie>>>18|re<<14)^(ie<<23|re>>>9),t0=c[Ye],j0=t0.high,z0=t0.low,Ke=c0+P0,B0=Be+M0+(Ke>>>0>>0?1:0),Ke=Ke+je,B0=B0+ze+(Ke>>>0>>0?1:0),Ke=Ke+z0,B0=B0+j0+(Ke>>>0>>0?1:0),Ke=Ke+He,B0=B0+_0+(Ke>>>0>>0?1:0),K0=$e+m0,s0=h0+Ue+(K0>>>0<$e>>>0?1:0);Be=Ae,c0=Ge,Ae=ge,Ge=de,ge=re,de=ie,ie=Y+Ke|0,re=ue+B0+(ie>>>0>>0?1:0)|0,ue=Z,Y=ne,Z=U,ne=J,U=q,J=ee,ee=Ke+K0|0,q=B0+s0+(ee>>>0>>0?1:0)|0}K=k.low=K+ee,k.high=X+q+(K>>>0>>0?1:0),R=O.low=R+J,O.high=G+U+(R>>>0>>0?1:0),N=F.low=N+ne,F.high=T+Z+(N>>>0>>0?1:0),b=z.low=b+Y,z.high=w+ue+(b>>>0>>0?1:0),P=W.low=P+ie,W.high=A+re+(P>>>0>>0?1:0),E=j.low=E+de,j.high=L+ge+(E>>>0>>0?1:0),B=Q.low=B+Ge,Q.high=g+Ae+(B>>>0>>0?1:0),S=V.low=S+c0,V.high=M+Be+(S>>>0>>0?1:0)},_doFinalize:function(){var h=this._data,y=h.words,v=this._nDataBytes*8,k=h.sigBytes*8;y[k>>>5]|=128<<24-k%32,y[(k+128>>>10<<5)+30]=Math.floor(v/4294967296),y[(k+128>>>10<<5)+31]=v,h.sigBytes=y.length*4,this._process();var O=this._hash.toX32();return O},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});e.SHA512=a._createHelper(l),e.HmacSHA512=a._createHmacHelper(l)}(),t.SHA512})});var JJe=D((ej,$Je)=>{u();p();(function(t,e,n){typeof ej=="object"?$Je.exports=ej=e(ea(),MR(),uce()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(t.CryptoJS)})(ej,function(t){return function(){var e=t,n=e.x64,a=n.Word,r=n.WordArray,f=e.algo,i=f.SHA512,s=f.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var o=i._doFinalize.call(this);return o.sigBytes-=16,o}});e.SHA384=i._createHelper(s),e.HmacSHA384=i._createHmacHelper(s)}(),t.SHA384})});var ZJe=D((tj,XJe)=>{u();p();(function(t,e,n){typeof tj=="object"?XJe.exports=tj=e(ea(),MR()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(t.CryptoJS)})(tj,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.x64,s=i.Word,o=n.algo,c=[],d=[],l=[];(function(){for(var v=1,k=0,O=0;O<24;O++){c[v+5*k]=(O+1)*(O+2)/2%64;var F=k%5,z=(2*v+3*k)%5;v=F,k=z}for(var v=0;v<5;v++)for(var k=0;k<5;k++)d[v+5*k]=k+(2*v+3*k)%5*5;for(var W=1,j=0;j<24;j++){for(var Q=0,V=0,X=0;X<7;X++){if(W&1){var K=(1<>>24)&16711935|(W<<24|W>>>8)&4278255360,j=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360;var Q=O[z];Q.high^=j,Q.low^=W}for(var V=0;V<24;V++){for(var X=0;X<5;X++){for(var K=0,G=0,R=0;R<5;R++){var Q=O[X+5*R];K^=Q.high,G^=Q.low}var T=h[X];T.high=K,T.low=G}for(var X=0;X<5;X++)for(var N=h[(X+4)%5],w=h[(X+1)%5],b=w.high,A=w.low,K=N.high^(b<<1|A>>>31),G=N.low^(A<<1|b>>>31),R=0;R<5;R++){var Q=O[X+5*R];Q.high^=K,Q.low^=G}for(var P=1;P<25;P++){var K,G,Q=O[P],L=Q.high,E=Q.low,g=c[P];g<32?(K=L<>>32-g,G=E<>>32-g):(K=E<>>64-g,G=L<>>64-g);var B=h[d[P]];B.high=K,B.low=G}var M=h[0],S=O[0];M.high=S.high,M.low=S.low;for(var X=0;X<5;X++)for(var R=0;R<5;R++){var P=X+5*R,Q=O[P],q=h[P],ee=h[(X+1)%5+5*R],U=h[(X+2)%5+5*R];Q.high=q.high^~ee.high&U.high,Q.low=q.low^~ee.low&U.low}var Q=O[0],J=l[V];Q.high^=J.high,Q.low^=J.low}},_doFinalize:function(){var v=this._data,k=v.words,O=this._nDataBytes*8,F=v.sigBytes*8,z=this.blockSize*32;k[F>>>5]|=1<<24-F%32,k[(e.ceil((F+1)/z)*z>>>5)-1]|=128,v.sigBytes=k.length*4,this._process();for(var W=this._state,j=this.cfg.outputLength/8,Q=j/8,V=[],X=0;X>>24)&16711935|(G<<24|G>>>8)&4278255360,R=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,V.push(R),V.push(G)}return new r.init(V,j)},clone:function(){for(var v=f.clone.call(this),k=v._state=this._state.slice(0),O=0;O<25;O++)k[O]=k[O].clone();return v}});n.SHA3=f._createHelper(y),n.HmacSHA3=f._createHmacHelper(y)}(Math),t.SHA3})});var tXe=D((nj,eXe)=>{u();p();(function(t,e){typeof nj=="object"?eXe.exports=nj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(nj,function(t){return function(e){var n=t,a=n.lib,r=a.WordArray,f=a.Hasher,i=n.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),y=i.RIPEMD160=f.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(j,Q){for(var V=0;V<16;V++){var X=Q+V,K=j[X];j[X]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}var G=this._hash.words,R=l.words,T=h.words,N=s.words,w=o.words,b=c.words,A=d.words,P,L,E,g,B,M,S,q,ee,U;M=P=G[0],S=L=G[1],q=E=G[2],ee=g=G[3],U=B=G[4];for(var J,V=0;V<80;V+=1)J=P+j[Q+N[V]]|0,V<16?J+=v(L,E,g)+R[0]:V<32?J+=k(L,E,g)+R[1]:V<48?J+=O(L,E,g)+R[2]:V<64?J+=F(L,E,g)+R[3]:J+=z(L,E,g)+R[4],J=J|0,J=W(J,b[V]),J=J+B|0,P=B,B=g,g=W(E,10),E=L,L=J,J=M+j[Q+w[V]]|0,V<16?J+=z(S,q,ee)+T[0]:V<32?J+=F(S,q,ee)+T[1]:V<48?J+=O(S,q,ee)+T[2]:V<64?J+=k(S,q,ee)+T[3]:J+=v(S,q,ee)+T[4],J=J|0,J=W(J,A[V]),J=J+U|0,M=U,U=ee,ee=W(q,10),q=S,S=J;J=G[1]+E+ee|0,G[1]=G[2]+g+U|0,G[2]=G[3]+B+M|0,G[3]=G[4]+P+S|0,G[4]=G[0]+L+q|0,G[0]=J},_doFinalize:function(){var j=this._data,Q=j.words,V=this._nDataBytes*8,X=j.sigBytes*8;Q[X>>>5]|=128<<24-X%32,Q[(X+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,j.sigBytes=(Q.length+1)*4,this._process();for(var K=this._hash,G=K.words,R=0;R<5;R++){var T=G[R];G[R]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return K},clone:function(){var j=f.clone.call(this);return j._hash=this._hash.clone(),j}});function v(j,Q,V){return j^Q^V}function k(j,Q,V){return j&Q|~j&V}function O(j,Q,V){return(j|~Q)^V}function F(j,Q,V){return j&V|Q&~V}function z(j,Q,V){return j^(Q|~V)}function W(j,Q){return j<>>32-Q}n.RIPEMD160=f._createHelper(y),n.HmacRIPEMD160=f._createHmacHelper(y)}(Math),t.RIPEMD160})});var rj=D((aj,nXe)=>{u();p();(function(t,e){typeof aj=="object"?nXe.exports=aj=e(ea()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(aj,function(t){(function(){var e=t,n=e.lib,a=n.Base,r=e.enc,f=r.Utf8,i=e.algo,s=i.HMAC=a.extend({init:function(o,c){o=this._hasher=new o.init,typeof c=="string"&&(c=f.parse(c));var d=o.blockSize,l=d*4;c.sigBytes>l&&(c=o.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),y=this._iKey=c.clone(),v=h.words,k=y.words,O=0;O{u();p();(function(t,e,n){typeof fj=="object"?aXe.exports=fj=e(ea(),Wx(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(t.CryptoJS)})(fj,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.SHA256,s=f.HMAC,o=f.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,d){for(var l=this.cfg,h=s.create(l.hasher,c),y=r.create(),v=r.create([1]),k=y.words,O=v.words,F=l.keySize,z=l.iterations;k.length{u();p();(function(t,e,n){typeof ij=="object"?fXe.exports=ij=e(ea(),lce(),rj()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(t.CryptoJS)})(ij,function(t){return function(){var e=t,n=e.lib,a=n.Base,r=n.WordArray,f=e.algo,i=f.MD5,s=f.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:i,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,c){for(var d,l=this.cfg,h=l.hasher.create(),y=r.create(),v=y.words,k=l.keySize,O=l.iterations;v.length{u();p();(function(t,e,n){typeof sj=="object"?iXe.exports=sj=e(ea(),G8()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(t.CryptoJS)})(sj,function(t){t.lib.Cipher||function(e){var n=t,a=n.lib,r=a.Base,f=a.WordArray,i=a.BufferedBlockAlgorithm,s=n.enc,o=s.Utf8,c=s.Base64,d=n.algo,l=d.EvpKDF,h=a.Cipher=i.extend({cfg:r.extend(),createEncryptor:function(T,N){return this.create(this._ENC_XFORM_MODE,T,N)},createDecryptor:function(T,N){return this.create(this._DEC_XFORM_MODE,T,N)},init:function(T,N,w){this.cfg=this.cfg.extend(w),this._xformMode=T,this._key=N,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var N=this._doFinalize();return N},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(N){return typeof N=="string"?R:X}return function(N){return{encrypt:function(w,b,A){return T(b).encrypt(N,w,b,A)},decrypt:function(w,b,A){return T(b).decrypt(N,w,b,A)}}}}()}),y=a.StreamCipher=h.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1}),v=n.mode={},k=a.BlockCipherMode=r.extend({createEncryptor:function(T,N){return this.Encryptor.create(T,N)},createDecryptor:function(T,N){return this.Decryptor.create(T,N)},init:function(T,N){this._cipher=T,this._iv=N}}),O=v.CBC=function(){var T=k.extend();T.Encryptor=T.extend({processBlock:function(w,b){var A=this._cipher,P=A.blockSize;N.call(this,w,b,P),A.encryptBlock(w,b),this._prevBlock=w.slice(b,b+P)}}),T.Decryptor=T.extend({processBlock:function(w,b){var A=this._cipher,P=A.blockSize,L=w.slice(b,b+P);A.decryptBlock(w,b),N.call(this,w,b,P),this._prevBlock=L}});function N(w,b,A){var P,L=this._iv;L?(P=L,this._iv=e):P=this._prevBlock;for(var E=0;E>>2]&255;T.sigBytes-=N}},W=a.BlockCipher=h.extend({cfg:h.cfg.extend({mode:O,padding:z}),reset:function(){var T;h.reset.call(this);var N=this.cfg,w=N.iv,b=N.mode;this._xformMode==this._ENC_XFORM_MODE?T=b.createEncryptor:(T=b.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,w&&w.words):(this._mode=T.call(b,this,w&&w.words),this._mode.__creator=T)},_doProcessBlock:function(T,N){this._mode.processBlock(T,N)},_doFinalize:function(){var T,N=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(N.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),N.unpad(T)),T},blockSize:128/32}),j=a.CipherParams=r.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),Q=n.format={},V=Q.OpenSSL={stringify:function(T){var N,w=T.ciphertext,b=T.salt;return b?N=f.create([1398893684,1701076831]).concat(b).concat(w):N=w,N.toString(c)},parse:function(T){var N,w=c.parse(T),b=w.words;return b[0]==1398893684&&b[1]==1701076831&&(N=f.create(b.slice(2,4)),b.splice(0,4),w.sigBytes-=16),j.create({ciphertext:w,salt:N})}},X=a.SerializableCipher=r.extend({cfg:r.extend({format:V}),encrypt:function(T,N,w,b){b=this.cfg.extend(b);var A=T.createEncryptor(w,b),P=A.finalize(N),L=A.cfg;return j.create({ciphertext:P,key:w,iv:L.iv,algorithm:T,mode:L.mode,padding:L.padding,blockSize:T.blockSize,formatter:b.format})},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=T.createDecryptor(w,b).finalize(N.ciphertext);return A},_parse:function(T,N){return typeof T=="string"?N.parse(T,this):T}}),K=n.kdf={},G=K.OpenSSL={execute:function(T,N,w,b,A){if(b||(b=f.random(64/8)),A)var P=l.create({keySize:N+w,hasher:A}).compute(T,b);else var P=l.create({keySize:N+w}).compute(T,b);var L=f.create(P.words.slice(N),w*4);return P.sigBytes=N*4,j.create({key:P,iv:L,salt:b})}},R=a.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:G}),encrypt:function(T,N,w,b){b=this.cfg.extend(b);var A=b.kdf.execute(w,T.keySize,T.ivSize,b.salt,b.hasher);b.iv=A.iv;var P=X.encrypt.call(this,T,N,A.key,b);return P.mixIn(A),P},decrypt:function(T,N,w,b){b=this.cfg.extend(b),N=this._parse(N,b.format);var A=b.kdf.execute(w,T.keySize,T.ivSize,N.salt,b.hasher);b.iv=A.iv;var P=X.decrypt.call(this,T,N,A.key,b);return P}})}()})});var oXe=D((oj,sXe)=>{u();p();(function(t,e,n){typeof oj=="object"?sXe.exports=oj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(oj,function(t){return t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize;n.call(this,a,r,i,f),this._prevBlock=a.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=a.slice(r,r+i);n.call(this,a,r,i,f),this._prevBlock=s}});function n(a,r,f,i){var s,o=this._iv;o?(s=o.slice(0),this._iv=void 0):s=this._prevBlock,i.encryptBlock(s,0);for(var c=0;c{u();p();(function(t,e,n){typeof cj=="object"?cXe.exports=cj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(cj,function(t){return t.mode.CTR=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._counter;s&&(o=this._counter=s.slice(0),this._iv=void 0);var c=o.slice(0);f.encryptBlock(c,0),o[i-1]=o[i-1]+1|0;for(var d=0;d{u();p();(function(t,e,n){typeof dj=="object"?lXe.exports=dj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(dj,function(t){return t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function n(f){if((f>>24&255)===255){var i=f>>16&255,s=f>>8&255,o=f&255;i===255?(i=0,s===255?(s=0,o===255?o=0:++o):++s):++i,f=0,f+=i<<16,f+=s<<8,f+=o}else f+=1<<24;return f}function a(f){return(f[0]=n(f[0]))===0&&(f[1]=n(f[1])),f}var r=e.Encryptor=e.extend({processBlock:function(f,i){var s=this._cipher,o=s.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0),a(d);var l=d.slice(0);s.encryptBlock(l,0);for(var h=0;h{u();p();(function(t,e,n){typeof lj=="object"?pXe.exports=lj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(lj,function(t){return t.mode.OFB=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(a,r){var f=this._cipher,i=f.blockSize,s=this._iv,o=this._keystream;s&&(o=this._keystream=s.slice(0),this._iv=void 0),f.encryptBlock(o,0);for(var c=0;c{u();p();(function(t,e,n){typeof uj=="object"?mXe.exports=uj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(uj,function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(n,a){this._cipher.encryptBlock(n,a)}}),e.Decryptor=e.extend({processBlock:function(n,a){this._cipher.decryptBlock(n,a)}}),e}(),t.mode.ECB})});var gXe=D((pj,yXe)=>{u();p();(function(t,e,n){typeof pj=="object"?yXe.exports=pj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(pj,function(t){return t.pad.AnsiX923={pad:function(e,n){var a=e.sigBytes,r=n*4,f=r-a%r,i=a+f-1;e.clamp(),e.words[i>>>2]|=f<<24-i%4*8,e.sigBytes+=f},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Ansix923})});var wXe=D((hj,vXe)=>{u();p();(function(t,e,n){typeof hj=="object"?vXe.exports=hj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(hj,function(t){return t.pad.Iso10126={pad:function(e,n){var a=n*4,r=a-e.sigBytes%a;e.concat(t.lib.WordArray.random(r-1)).concat(t.lib.WordArray.create([r<<24],1))},unpad:function(e){var n=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=n}},t.pad.Iso10126})});var xXe=D((mj,TXe)=>{u();p();(function(t,e,n){typeof mj=="object"?TXe.exports=mj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(mj,function(t){return t.pad.Iso97971={pad:function(e,n){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,n)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971})});var _Xe=D((bj,EXe)=>{u();p();(function(t,e,n){typeof bj=="object"?EXe.exports=bj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(bj,function(t){return t.pad.ZeroPadding={pad:function(e,n){var a=n*4;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){for(var n=e.words,a=e.sigBytes-1,a=e.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},t.pad.ZeroPadding})});var IXe=D((yj,AXe)=>{u();p();(function(t,e,n){typeof yj=="object"?AXe.exports=yj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(yj,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var kXe=D((gj,CXe)=>{u();p();(function(t,e,n){typeof gj=="object"?CXe.exports=gj=e(ea(),es()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(t.CryptoJS)})(gj,function(t){return function(e){var n=t,a=n.lib,r=a.CipherParams,f=n.enc,i=f.Hex,s=n.format,o=s.Hex={stringify:function(c){return c.ciphertext.toString(i)},parse:function(c){var d=i.parse(c);return r.create({ciphertext:d})}}}(),t.format.Hex})});var RXe=D((vj,SXe)=>{u();p();(function(t,e,n){typeof vj=="object"?SXe.exports=vj=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(vj,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo,f=[],i=[],s=[],o=[],c=[],d=[],l=[],h=[],y=[],v=[];(function(){for(var F=[],z=0;z<256;z++)z<128?F[z]=z<<1:F[z]=z<<1^283;for(var W=0,j=0,z=0;z<256;z++){var Q=j^j<<1^j<<2^j<<3^j<<4;Q=Q>>>8^Q&255^99,f[W]=Q,i[Q]=W;var V=F[W],X=F[V],K=F[X],G=F[Q]*257^Q*16843008;s[W]=G<<24|G>>>8,o[W]=G<<16|G>>>16,c[W]=G<<8|G>>>24,d[W]=G;var G=K*16843009^X*65537^V*257^W*16843008;l[Q]=G<<24|G>>>8,h[Q]=G<<16|G>>>16,y[Q]=G<<8|G>>>24,v[Q]=G,W?(W=V^F[F[F[K^V]]],j^=F[F[j]]):W=j=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],O=r.AES=a.extend({_doReset:function(){var F;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var z=this._keyPriorReset=this._key,W=z.words,j=z.sigBytes/4,Q=this._nRounds=j+6,V=(Q+1)*4,X=this._keySchedule=[],K=0;K6&&K%j==4&&(F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255]):(F=F<<8|F>>>24,F=f[F>>>24]<<24|f[F>>>16&255]<<16|f[F>>>8&255]<<8|f[F&255],F^=k[K/j|0]<<24),X[K]=X[K-j]^F);for(var G=this._invKeySchedule=[],R=0;R>>24]]^h[f[F>>>16&255]]^y[f[F>>>8&255]]^v[f[F&255]]}}},encryptBlock:function(F,z){this._doCryptBlock(F,z,this._keySchedule,s,o,c,d,f)},decryptBlock:function(F,z){var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W,this._doCryptBlock(F,z,this._invKeySchedule,l,h,y,v,i);var W=F[z+1];F[z+1]=F[z+3],F[z+3]=W},_doCryptBlock:function(F,z,W,j,Q,V,X,K){for(var G=this._nRounds,R=F[z]^W[0],T=F[z+1]^W[1],N=F[z+2]^W[2],w=F[z+3]^W[3],b=4,A=1;A>>24]^Q[T>>>16&255]^V[N>>>8&255]^X[w&255]^W[b++],L=j[T>>>24]^Q[N>>>16&255]^V[w>>>8&255]^X[R&255]^W[b++],E=j[N>>>24]^Q[w>>>16&255]^V[R>>>8&255]^X[T&255]^W[b++],g=j[w>>>24]^Q[R>>>16&255]^V[T>>>8&255]^X[N&255]^W[b++];R=P,T=L,N=E,w=g}var P=(K[R>>>24]<<24|K[T>>>16&255]<<16|K[N>>>8&255]<<8|K[w&255])^W[b++],L=(K[T>>>24]<<24|K[N>>>16&255]<<16|K[w>>>8&255]<<8|K[R&255])^W[b++],E=(K[N>>>24]<<24|K[w>>>16&255]<<16|K[R>>>8&255]<<8|K[T&255])^W[b++],g=(K[w>>>24]<<24|K[R>>>16&255]<<16|K[T>>>8&255]<<8|K[N&255])^W[b++];F[z]=P,F[z+1]=L,F[z+2]=E,F[z+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),t.AES})});var BXe=D((wj,MXe)=>{u();p();(function(t,e,n){typeof wj=="object"?MXe.exports=wj=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(wj,function(t){return function(){var e=t,n=e.lib,a=n.WordArray,r=n.BlockCipher,f=e.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=f.DES=r.extend({_doReset:function(){for(var k=this._key,O=k.words,F=[],z=0;z<56;z++){var W=i[z]-1;F[z]=O[W>>>5]>>>31-W%32&1}for(var j=this._subKeys=[],Q=0;Q<16;Q++){for(var V=j[Q]=[],X=o[Q],z=0;z<24;z++)V[z/6|0]|=F[(s[z]-1+X)%28]<<31-z%6,V[4+(z/6|0)]|=F[28+(s[z+24]-1+X)%28]<<31-z%6;V[0]=V[0]<<1|V[0]>>>31;for(var z=1;z<7;z++)V[z]=V[z]>>>(z-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var K=this._invSubKeys=[],z=0;z<16;z++)K[z]=j[15-z]},encryptBlock:function(k,O){this._doCryptBlock(k,O,this._subKeys)},decryptBlock:function(k,O){this._doCryptBlock(k,O,this._invSubKeys)},_doCryptBlock:function(k,O,F){this._lBlock=k[O],this._rBlock=k[O+1],h.call(this,4,252645135),h.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),h.call(this,1,1431655765);for(var z=0;z<16;z++){for(var W=F[z],j=this._lBlock,Q=this._rBlock,V=0,X=0;X<8;X++)V|=c[X][((Q^W[X])&d[X])>>>0];this._lBlock=Q,this._rBlock=j^V}var K=this._lBlock;this._lBlock=this._rBlock,this._rBlock=K,h.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),k[O]=this._lBlock,k[O+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(k,O){var F=(this._lBlock>>>k^this._rBlock)&O;this._rBlock^=F,this._lBlock^=F<>>k^this._lBlock)&O;this._lBlock^=F,this._rBlock^=F<192.");var F=O.slice(0,2),z=O.length<4?O.slice(0,2):O.slice(2,4),W=O.length<6?O.slice(0,2):O.slice(4,6);this._des1=l.createEncryptor(a.create(F)),this._des2=l.createEncryptor(a.create(z)),this._des3=l.createEncryptor(a.create(W))},encryptBlock:function(k,O){this._des1.encryptBlock(k,O),this._des2.decryptBlock(k,O),this._des3.encryptBlock(k,O)},decryptBlock:function(k,O){this._des3.decryptBlock(k,O),this._des2.encryptBlock(k,O),this._des1.decryptBlock(k,O)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(v)}(),t.TripleDES})});var PXe=D((Tj,DXe)=>{u();p();(function(t,e,n){typeof Tj=="object"?DXe.exports=Tj=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Tj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=r.RC4=a.extend({_doReset:function(){for(var o=this._key,c=o.words,d=o.sigBytes,l=this._S=[],h=0;h<256;h++)l[h]=h;for(var h=0,y=0;h<256;h++){var v=h%d,k=c[v>>>2]>>>24-v%4*8&255;y=(y+l[h]+k)%256;var O=l[h];l[h]=l[y],l[y]=O}this._i=this._j=0},_doProcessBlock:function(o,c){o[c]^=i.call(this)},keySize:256/32,ivSize:0});function i(){for(var o=this._S,c=this._i,d=this._j,l=0,h=0;h<4;h++){c=(c+1)%256,d=(d+o[c])%256;var y=o[c];o[c]=o[d],o[d]=y,l|=o[(o[c]+o[d])%256]<<24-h*8}return this._i=c,this._j=d,l}e.RC4=a._createHelper(f);var s=r.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)i.call(this)}});e.RC4Drop=a._createHelper(s)}(),t.RC4})});var FXe=D((xj,LXe)=>{u();p();(function(t,e,n){typeof xj=="object"?LXe.exports=xj=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(xj,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,l=this.cfg.iv,h=0;h<4;h++)d[h]=(d[h]<<8|d[h]>>>24)&16711935|(d[h]<<24|d[h]>>>8)&4278255360;var y=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var h=0;h<4;h++)c.call(this);for(var h=0;h<8;h++)v[h]^=y[h+4&7];if(l){var k=l.words,O=k[0],F=k[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;v[0]^=z,v[1]^=j,v[2]^=W,v[3]^=Q,v[4]^=z,v[5]^=j,v[6]^=W,v[7]^=Q;for(var h=0;h<4;h++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,k=y>>>16,O=((v*v>>>17)+v*k>>>15)+k*k,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=a._createHelper(o)}(),t.Rabbit})});var OXe=D((Ej,NXe)=>{u();p();(function(t,e,n){typeof Ej=="object"?NXe.exports=Ej=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(Ej,function(t){return function(){var e=t,n=e.lib,a=n.StreamCipher,r=e.algo,f=[],i=[],s=[],o=r.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,l=this.cfg.iv,h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],y=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)c.call(this);for(var v=0;v<8;v++)y[v]^=h[v+4&7];if(l){var k=l.words,O=k[0],F=k[1],z=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,W=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,j=z>>>16|W&4294901760,Q=W<<16|z&65535;y[0]^=z,y[1]^=j,y[2]^=W,y[3]^=Q,y[4]^=z,y[5]^=j,y[6]^=W,y[7]^=Q;for(var v=0;v<4;v++)c.call(this)}},_doProcessBlock:function(d,l){var h=this._X;c.call(this),f[0]=h[0]^h[5]>>>16^h[3]<<16,f[1]=h[2]^h[7]>>>16^h[5]<<16,f[2]=h[4]^h[1]>>>16^h[7]<<16,f[3]=h[6]^h[3]>>>16^h[1]<<16;for(var y=0;y<4;y++)f[y]=(f[y]<<8|f[y]>>>24)&16711935|(f[y]<<24|f[y]>>>8)&4278255360,d[l+y]^=f[y]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,h=0;h<8;h++)i[h]=l[h];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var y=d[h]+l[h],v=y&65535,k=y>>>16,O=((v*v>>>17)+v*k>>>15)+k*k,F=((y&4294901760)*y|0)+((y&65535)*y|0);s[h]=O^F}d[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,d[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,d[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,d[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,d[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,d[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,d[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,d[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=a._createHelper(o)}(),t.RabbitLegacy})});var HXe=D((_j,UXe)=>{u();p();(function(t,e,n){typeof _j=="object"?UXe.exports=_j=e(ea(),Gm(),Km(),G8(),es()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(t.CryptoJS)})(_j,function(t){return function(){var e=t,n=e.lib,a=n.BlockCipher,r=e.algo;let f=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function c(v,k){let O=k>>24&255,F=k>>16&255,z=k>>8&255,W=k&255,j=v.sbox[0][O]+v.sbox[1][F];return j=j^v.sbox[2][z],j=j+v.sbox[3][W],j}function d(v,k,O){let F=k,z=O,W;for(let j=0;j1;--j)F=F^v.pbox[j],z=c(v,F)^z,W=F,F=z,z=W;return W=F,F=z,z=W,z=z^v.pbox[1],F=F^v.pbox[0],{left:F,right:z}}function h(v,k,O){for(let Q=0;Q<4;Q++){v.sbox[Q]=[];for(let V=0;V<256;V++)v.sbox[Q][V]=s[Q][V]}let F=0;for(let Q=0;Q=O&&(F=0);let z=0,W=0,j=0;for(let Q=0;Q{u();p();(function(t,e,n){typeof Aj=="object"?zXe.exports=Aj=e(ea(),MR(),UJe(),zJe(),Gm(),jJe(),Km(),lce(),Wx(),VJe(),uce(),JJe(),ZJe(),tXe(),rj(),rXe(),G8(),es(),oXe(),dXe(),uXe(),hXe(),bXe(),gXe(),wXe(),xXe(),_Xe(),IXe(),kXe(),RXe(),BXe(),PXe(),FXe(),OXe(),HXe()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],e):t.CryptoJS=e(t.CryptoJS)})(Aj,function(t){return t})});var BR=D(i9=>{"use strict";u();p();var dQt=i9&&i9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(i9,"__esModule",{value:!0});i9.Base=void 0;var lo=Qf(),pce=dQt(WXe()),Ij=class t{print(){t.print(this)}bufferIndexOf(e,n,a=!1){if(a)return this.binarySearch(e,n,lo.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r{let a=e(n);return lo.Buffer.isBuffer(a)?a:this.isHexString(a)?lo.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?lo.Buffer.from(a):typeof a=="bigint"?lo.Buffer.from(n.toString(16),"hex"):ArrayBuffer.isView(a)?lo.Buffer.from(a.buffer,a.byteOffset,a.byteLength):lo.Buffer.from(e(pce.default.enc.Hex.parse(n.toString("hex"))).toString(pce.default.enc.Hex),"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}};i9.Base=Ij;i9.default=Ij});var qXe=D(s9=>{"use strict";u();p();var Cj=s9&&s9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(s9,"__esModule",{value:!0});s9.MerkleTree=void 0;var Cs=Qf(),K8=Cj(cce()),hce=Cj(Wx()),lQt=Cj(jq()),uQt=Cj(BR()),DR=class t extends uQt.default{constructor(e,n=hce.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=Cs.Buffer.concat,this.hashLeaves=!1,this.isBitcoinTree=!1,this.leaves=[],this.layers=[],this.sortLeaves=!1,this.sortPairs=!1,this.sort=!1,this.fillDefaultHash=null,this.complete=!1,a.complete){if(a.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(a.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!a.isBitcoinTree,this.hashLeaves=!!a.hashLeaves,this.sortLeaves=!!a.sortLeaves,this.sortPairs=!!a.sortPairs,this.complete=!!a.complete,a.fillDefaultHash)if(typeof a.fillDefaultHash=="function")this.fillDefaultHash=a.fillDefaultHash;else if(Cs.Buffer.isBuffer(a.fillDefaultHash)||typeof a.fillDefaultHash=="string")this.fillDefaultHash=(r,f)=>a.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!a.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!a.duplicateOdd,a.concatenator&&(this.concatenator=a.concatenator),this.hashFn=this.bufferifyFn(n),this.processLeaves(e)}getOptions(){var e,n;return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:(n=(e=this.fillDefaultHash)===null||e===void 0?void 0:e.toString())!==null&&n!==void 0?n:null,duplicateOdd:this.duplicateOdd}}processLeaves(e){if(this.hashLeaves&&(e=e.map(this.hashFn)),this.leaves=e.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(Cs.Buffer.compare)),this.fillDefaultHash)for(let n=this.leaves.length;n1;){let n=this.layers.length;this.layers.push([]);let a=this.complete&&n===1&&!Number.isInteger(Math.log2(e.length))?2*e.length-Math.pow(2,Math.ceil(Math.log2(e.length))):e.length;for(let r=0;r=a){this.layers[n].push(...e.slice(a));break}else if(r+1===e.length&&e.length%2===1){let c=e[e.length-1],d=c;if(this.isBitcoinTree){d=this.hashFn(this.concatenator([K8.default(c),K8.default(c)])),d=K8.default(this.hashFn(d)),this.layers[n].push(d);continue}else if(!this.duplicateOdd){this.layers[n].push(e[r]);continue}}let f=e[r],i=r+1===e.length?f:e[r+1],s=null;this.isBitcoinTree?s=[K8.default(f),K8.default(i)]:s=[f,i],this.sortPairs&&s.sort(Cs.Buffer.compare);let o=this.hashFn(this.concatenator(s));this.isBitcoinTree&&(o=K8.default(this.hashFn(o))),this.layers[n].push(o)}e=this.layers[n]}}addLeaf(e,n=!1){n&&(e=this.hashFn(e)),this.processLeaves(this.leaves.concat(e))}addLeaves(e,n=!1){n&&(e=e.map(this.hashFn)),this.processLeaves(this.leaves.concat(e))}getLeaves(e){return Array.isArray(e)?(this.hashLeaves&&(e=e.map(this.hashFn),this.sortLeaves&&(e=e.sort(Cs.Buffer.compare))),this.leaves.filter(n=>this.bufferIndexOf(e,n,this.sortLeaves)!==-1)):this.leaves}getLeaf(e){return e<0||e>this.leaves.length-1?Cs.Buffer.from([]):this.leaves[e]}getLeafIndex(e){e=this.bufferify(e);let n=this.getLeaves();for(let a=0;athis.bufferToHex(e))}static marshalLeaves(e){return JSON.stringify(e.map(n=>t.bufferToHex(n)),null,2)}static unmarshalLeaves(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(a))):e.push(n),e),[])}getLayersFlat(){let e=this.layers.reduce((n,a)=>(Array.isArray(a)?n.unshift(...a):n.unshift(a),n),[]);return e.unshift(Cs.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?Cs.Buffer.from([]):this.layers[this.layers.length-1][0]||Cs.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(e,n){if(typeof e>"u")throw new Error("leaf is required");e=this.bufferify(e);let a=[];if(!Number.isInteger(n)){n=-1;for(let r=0;rthis.bufferToHex(a.data))}getProofs(){let e=[],n=[];return this.getProofsDFS(this.layers.length-1,0,e,n),n}getProofsDFS(e,n,a,r){let f=n%2;if(e===-1){f||r.push([...a].reverse());return}if(n>=this.layers[e].length)return;let i=this.layers[e],s=f?n-1:n+1,o=!1;sthis.bufferToHex(e.data))}getPositionalHexProof(e,n){return this.getProof(e,n).map(a=>[a.position==="left"?0:1,this.bufferToHex(a.data)])}static marshalProof(e){let n=e.map(a=>typeof a=="string"?a:Cs.Buffer.isBuffer(a)?t.bufferToHex(a):{position:a.position,data:t.bufferToHex(a.data)});return JSON.stringify(n,null,2)}static unmarshalProof(e){let n=null;if(typeof e=="string")n=JSON.parse(e);else if(e instanceof Object)n=e;else throw new Error("Expected type of string or object");if(!n)return[];if(!Array.isArray(n))throw new Error("Expected JSON string to be array");return n.map(a=>{if(typeof a=="string")return t.bufferify(a);if(a instanceof Object)return{position:a.position,data:t.bufferify(a.data)};throw new Error("Expected item to be of type string or object")})}static marshalTree(e){let n=e.getHexRoot(),a=e.leaves.map(i=>t.bufferToHex(i)),r=e.getHexLayers(),f=e.getOptions();return JSON.stringify({options:f,root:n,layers:r,leaves:a},null,2)}static unmarshalTree(e,n=hce.default,a={}){let r=null;if(typeof e=="string")r=JSON.parse(e);else if(e instanceof Object)r=e;else throw new Error("Expected type of string or object");if(!r)throw new Error("could not parse json");return a=Object.assign({},r.options||{},a),new t(r.leaves,n,a)}getProofIndices(e,n){let a=Math.pow(2,n),r=new Set;for(let c of e){let d=a+c;for(;d>1;)r.add(d^1),d=d/2|0}let f=e.map(c=>a+c),i=Array.from(r).sort((c,d)=>c-d).reverse();r=f.concat(i);let s=new Set,o=[];for(let c of r)if(!s.has(c))for(o.push(c);c>1&&(s.add(c),!!s.has(c^1));)c=c/2|0;return o.filter(c=>!e.includes(c-a))}getProofIndicesForUnevenTree(e,n){let a=Math.ceil(Math.log2(n)),r=[];for(let s=0;sl%2===0?l+1:l-1).filter(l=>!i.includes(l)),d=r.find(({index:l})=>l===s);d&&i.includes(d.leavesCount-1)&&(c=c.slice(0,-1)),f.push(c),i=[...new Set(i.map(l=>l%2===0?l/2:l%2===0?(l+1)/2:(l-1)/2))]}return f}getMultiProof(e,n){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),n||(n=e,e=this.getLayersFlat()),this.isUnevenTree()&&n.every(Number.isInteger))return this.getMultiProofForUnevenTree(n);if(!n.every(Number.isInteger)){let r=n;this.sortPairs&&(r=r.sort(Cs.Buffer.compare));let f=r.map(c=>this.bufferIndexOf(this.leaves,c,this.sortLeaves)).sort((c,d)=>c===d?0:c>d?1:-1);if(!f.every(c=>c!==-1))throw new Error("Element does not exist in Merkle tree");let i=[],s=[],o=[];for(let c=0;cy.indexOf(l)===h),o=[]}return s.filter(c=>!i.includes(c))}return this.getProofIndices(n,Math.log2(e.length/2|0)).map(r=>e[r])}getMultiProofForUnevenTree(e,n){n||(n=e,e=this.getLayers());let a=[],r=n;for(let f of e){let i=[];for(let o of r){if(o%2===0){let d=o+1;if(!r.includes(d)&&f[d]){i.push(f[d]);continue}}let c=o-1;if(!r.includes(c)&&f[c]){i.push(f[c]);continue}}a=a.concat(i);let s=new Set;for(let o of r){if(o%2===0){s.add(o/2);continue}if(o%2===0){s.add((o+1)/2);continue}s.add((o-1)/2)}r=Array.from(s)}return a}getHexMultiProof(e,n){return this.getMultiProof(e,n).map(a=>this.bufferToHex(a))}getProofFlags(e,n){if(!Array.isArray(e)||e.length<=0)throw new Error("Invalid Inputs!");let a;if(e.every(Number.isInteger)?a=[...e].sort((s,o)=>s===o?0:s>o?1:-1):a=e.map(s=>this.bufferIndexOf(this.leaves,s,this.sortLeaves)).sort((s,o)=>s===o?0:s>o?1:-1),!a.every(s=>s!==-1))throw new Error("Element does not exist in Merkle tree");let r=n.map(s=>this.bufferify(s)),f=[],i=[];for(let s=0;s{if(!f.includes(o[d])){let h=this.getPairNode(o,d),y=r.includes(o[d])||r.includes(h);h&&i.push(!y),f.push(o[d]),f.push(h)}return c.push(d/2|0),c},[])}return i}verify(e,n,a){let r=this.bufferify(n);if(a=this.bufferify(a),!Array.isArray(e)||!n||!a)return!1;for(let f=0;fthis.bufferify(l)),f=f.map(l=>this.bufferify(l));let o={};for(let[l,h]of this.zip(n,a))o[Math.pow(2,s)+l]=h;for(let[l,h]of this.zip(this.getProofIndices(n,s),f))o[l]=h;let c=Object.keys(o).map(l=>+l).sort((l,h)=>l-h);c=c.slice(0,c.length-1);let d=0;for(;d=2&&{}.hasOwnProperty.call(o,l^1)){let h=[o[l-l%2],o[l-l%2+1]];this.sortPairs&&(h=h.sort(Cs.Buffer.compare));let y=h[1]?this.hashFn(this.concatenator(h)):h[0];o[l/2|0]=y,c.push(l/2|0)}d+=1}return!n.length||{}.hasOwnProperty.call(o,1)&&o[1].equals(e)}verifyMultiProofWithFlags(e,n,a,r){e=this.bufferify(e),n=n.map(this.bufferify),a=a.map(this.bufferify);let f=n.length,i=r.length,s=[],o=0,c=0,d=0;for(let l=0;lthis.bufferify(s)),f=f.map(s=>this.bufferify(s));let i=this.calculateRootForUnevenTree(n,a,r,f);return e.equals(i)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(r,!1))),n=[];for(let a=0;al-h),i=f.map(([l])=>l),s=this.getProofIndicesForUnevenTree(i,a),o=0,c=[];for(let l=0;lO-F).map(([,O])=>O),y=d[l].map(([O])=>O),v=[...new Set(y.map(O=>O%2===0?O/2:O%2===0?(O+1)/2:(O-1)/2))],k=[];for(let O=0;O{"use strict";u();p();var jXe=o9&&o9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o9,"__esModule",{value:!0});o9.MerkleMountainRange=void 0;var PR=Qf(),pQt=jXe(Wx()),hQt=jXe(BR()),LR=class extends hQt.default{constructor(e=pQt.default,n=[],a,r,f){super(),this.root=PR.Buffer.alloc(0),this.size=0,this.width=0,this.hashes={},this.data={},n=n.map(this.bufferify),this.hashFn=this.bufferifyFn(e),this.hashLeafFn=a,this.peakBaggingFn=r,this.hashBranchFn=f;for(let i of n)this.append(i)}append(e){e=this.bufferify(e);let n=this.hashFn(e),a=this.bufferToHex(n);(!this.data[a]||this.bufferToHex(this.hashFn(this.data[a]))!==a)&&(this.data[a]=e);let r=this.hashLeaf(this.size+1,n);this.hashes[this.size+1]=r,this.width+=1;let f=this.getPeakIndexes(this.width);this.size=this.getSize(this.width);let i=[];for(let s=0;s0&&!(e&1<=n));i--);if(r!==a.length)throw new Error("invalid bit calculation");return a}numOfPeaks(e){let n=e,a=0;for(;n>0;)n%2===1&&a++,n=n>>1;return a}peakBagging(e,n){let a=this.getSize(e);if(this.numOfPeaks(e)!==n.length)throw new Error("received invalid number of peaks");return e===0&&!n.length?PR.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,n)):this.hashFn(PR.Buffer.concat([this.bufferify(a),...n.map(this.bufferify)]))}getSize(e){return(e<<1)-this.numOfPeaks(e)}getRoot(){return this.root}getHexRoot(){return this.bufferToHex(this.getRoot())}getNode(e){return this.hashes[e]}mountainHeight(e){let n=1;for(;1<a;)n-=(1<this.size)throw new Error("out of range");if(!this.isLeaf(e))throw new Error("not a leaf");let n=this.root,a=this.width,r=this.getPeakIndexes(this.width),f=[],i=0;for(let l=0;l=e&&i===0&&(i=r[l]);let s=0,o=0,c=this.heightAt(i),d=[];for(;i!==e;)c--,[s,o]=this.getChildren(i),i=e<=s?s:o,d[c-1]=this.hashes[e<=s?o:s];return{root:n,width:a,peakBagging:f,siblings:d}}verify(e,n,a,r,f,i){if(r=this.bufferify(r),this.getSize(n)=a){c=f[O],o=d[O];break}if(!c)throw new Error("target not found");let l=i.length+1,h=new Array(l),y=0,v=0;for(;l>0&&(h[--l]=o,o!==a);)[y,v]=this.getChildren(o),o=a>y?v:y;let k;for(;lthis.size)throw new Error("out of range");if(!this.hashes[e]){let[n,a]=this.getChildren(e),r=this._getOrCreateNode(n),f=this._getOrCreateNode(a);this.hashes[e]=this.hashBranch(e,r,f)}return this.hashes[e]}};o9.MerkleMountainRange=LR;typeof window<"u"&&(window.MerkleMountainRange=LR);o9.default=LR});var QXe=D(c9=>{"use strict";u();p();var KXe=c9&&c9.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(c9,"__esModule",{value:!0});c9.IncrementalMerkleTree=void 0;var mQt=KXe(BR()),bQt=KXe(jq()),FR=class extends mQt.default{constructor(e,n){if(super(),this.hashFn=e,n.depth&&(this.depth=n.depth),n.arity&&(this.arity=n.arity),this.depth<1)throw new Error("depth must be greater than 0");if(this.arity<1)throw new Error("arity must be greater than 0");let a=[],r=n.zeroValue;if(this.zeroValue=r,this.zeroes=[],this.depth)for(let f=0;f=this.getMaxLeaves())throw new Error("tree is full");let n=e,a=this.nodes[0].length;for(let r=0;r=this.nodes[0].length)throw new Error("out of bounds");let a=n;for(let r=0;rBigInt(n))}getLayers(){let e=[];for(let n of this.nodes)e.push(this.copyList(n));if(e[0].length=e[a].length&&(e[a][s]=this.zeroes[a]);n=Math.floor(n/this.arity)}}return e.push([this.root]),e}getHexLayers(){return this.getLayers().reduce((e,n)=>(Array.isArray(n)?e.push(n.map(a=>this.bufferToHex(this.bufferify(a)))):e.push(n),e),[])}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(this.bufferify(r),!1))),n=[];for(let a=0;a=this.nodes[0].length)throw new Error("The leaf does not exist in this tree");let n=[],a=[],r=e;for(let f=0;f{"use strict";u();p();Object.defineProperty(Sl,"__esModule",{value:!0});Sl.MerkleSumTree=Sl.ProofStep=Sl.Leaf=Sl.Bucket=void 0;var yQt=BR(),qx=class{constructor(e,n){this.size=BigInt(e),this.hashed=n,this.parent=null,this.left=null,this.right=null}};Sl.Bucket=qx;var mce=class{constructor(e,n,a){this.hashFn=e,this.rng=n.map(r=>BigInt(r)),this.data=a}getBucket(){let e;return this.data?e=this.hashFn(this.data):e=_.Buffer.alloc(32),new qx(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};Sl.Leaf=mce;var kj=class{constructor(e,n){this.bucket=e,this.right=n}};Sl.ProofStep=kj;var NR=class t extends yQt.Base{constructor(e,n){super(),this.leaves=e,this.hashFn=n,t.checkConsecutive(e),this.buckets=[];for(let r of e)this.buckets.push(r.getBucket());let a=[];for(let r of this.buckets)a.push(r);for(;a.length!==1;){let r=[];for(;a.length;)if(a.length>=2){let f=a.shift(),i=a.shift(),s=f.size+i.size,o=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(i.size),this.bufferify(i.hashed)])),c=new qx(s,o);i.parent=c,f.parent=i.parent,f.right=i,i.left=f,r.push(c)}else r.push(a.shift());a=r}this.root=a[0]}sizeToBuffer(e){let n=_.Buffer.alloc(8);return new DataView(n.buffer).setBigInt64(0,BigInt(e),!1),n}static checkConsecutive(e){let n=BigInt(0);for(let a of e){if(a.rng[0]!==n)throw new Error("leaf ranges are invalid");n=BigInt(a.rng[1])}}getProof(e){let n=this.buckets[Number(e)],a=[];for(;n&&n.parent;){let r=!!n.right,f=n.right?n.right:n.left;n=n.parent,a.push(new kj(f,r))}return a}sum(e){let n=BigInt(0);for(let a of e)n+=BigInt(a);return n}verifyProof(e,n,a){let r=[this.sum(a.filter(s=>!s.right).map(s=>s.bucket.size)),BigInt(e.size)-this.sum(a.filter(s=>s.right).map(s=>s.bucket.size))];if(!(r[0]===n.rng[0]&&r[1]===n.rng[1]))return!1;let f=n.getBucket(),i;for(let s of a)s.right?i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(f.size),this.bufferify(f.hashed),this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed)])):i=this.hashFn(_.Buffer.concat([this.sizeToBuffer(s.bucket.size),this.bufferify(s.bucket.hashed),this.sizeToBuffer(f.size),this.bufferify(f.hashed)])),f=new qx(BigInt(f.size)+BigInt(s.bucket.size),i);return f.size===e.size&&f.hashed.toString("hex")===e.hashed.toString("hex")}};Sl.MerkleSumTree=NR;typeof window<"u"&&(window.MerkleSumTree=NR);Sl.default=NR});var $Xe=D(l2=>{"use strict";u();p();var gQt=l2&&l2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(l2,"__esModule",{value:!0});l2.MerkleTree=void 0;var YXe=gQt(qXe());l2.MerkleTree=YXe.default;var vQt=GXe();Object.defineProperty(l2,"MerkleMountainRange",{enumerable:!0,get:function(){return vQt.MerkleMountainRange}});var wQt=QXe();Object.defineProperty(l2,"IncrementalMerkleTree",{enumerable:!0,get:function(){return wQt.IncrementalMerkleTree}});var TQt=VXe();Object.defineProperty(l2,"MerkleSumTree",{enumerable:!0,get:function(){return TQt.MerkleSumTree}});l2.default=YXe.default});var Sj=D(u2=>{"use strict";u();p();var xQt=u2&&u2.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(u2,"__esModule",{value:!0});u2.getLength=u2.decode=u2.encode=void 0;var EQt=xQt(Va());function XXe(t){if(Array.isArray(t)){for(var e=[],n=0;nt.length)throw new Error("invalid rlp: total length is larger than the data");if(r=t.slice(n,o),r.length===0)throw new Error("invalid rlp, List has a invalid length");for(;r.length;)f=yce(r),i.push(f.data),r=f.remainder;return{data:i,remainder:t.slice(o)}}}function ZXe(t){return t.slice(0,2)==="0x"}function IQt(t){return typeof t!="string"?t:ZXe(t)?t.slice(2):t}function gce(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0"+e:e}function CQt(t){return t.length%2?"0"+t:t}function kQt(t){var e=gce(t);return _.Buffer.from(e,"hex")}function vce(t){if(!_.Buffer.isBuffer(t)){if(typeof t=="string")return ZXe(t)?_.Buffer.from(CQt(IQt(t)),"hex"):_.Buffer.from(t);if(typeof t=="number"||typeof t=="bigint")return t?kQt(t):_.Buffer.from([]);if(t==null)return _.Buffer.from([]);if(t instanceof Uint8Array)return _.Buffer.from(t);if(EQt.default.isBN(t))return _.Buffer.from(t.toArray());throw new Error("invalid type")}return t}});var tZe=D($1=>{"use strict";u();p();var SQt=$1&&$1.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),RQt=$1&&$1.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MQt=$1&&$1.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&SQt(e,t,n);return RQt(e,t),e};Object.defineProperty($1,"__esModule",{value:!0});$1.makeStateTrieProof=$1.maybeAddProofNode=$1.makeMerkleTreeProof=void 0;var Rj=Je(),jx=j8(),BQt=$Xe(),eZe=MQt(Sj()),DQt=(t,e)=>{let n=Math.pow(2,Math.ceil(Math.log2(t.length))),a=[];for(let s=0;s(0,jx.fromHexString)(Rj.ethers.utils.keccak256(s))).getProof(r[e],e).map(s=>(0,jx.toHexString)(s.data))};$1.makeMerkleTreeProof=DQt;var PQt=(t,e)=>{let n=[...e],a=n[n.length-1],r=eZe.decode(a);if(r.length===17){for(let f of r)if(Array.isArray(f)){let i=(0,jx.toHexString)(f[0]).slice(3);t.endsWith(i)&&n.push((0,jx.toHexString)(eZe.encode(f)))}}return n};$1.maybeAddProofNode=PQt;var LQt=async(t,e,n,a)=>{let r=await t.send("eth_getProof",[n,[a],(0,jx.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,$1.maybeAddProofNode)(Rj.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:Rj.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};$1.makeStateTrieProof=LQt});var nZe=D(Qm=>{"use strict";u();p();Object.defineProperty(Qm,"__esModule",{value:!0});Qm.migratedWithdrawalGasLimit=Qm.hashMessageHash=Qm.hashLowLevelMessage=void 0;var FQt=j8(),jc=Je(),{hexDataLength:NQt}=jc.utils,OQt=jc.BigNumber.from(2e5),UQt=jc.BigNumber.from(16),HQt=jc.BigNumber.from(64),zQt=jc.BigNumber.from(63),WQt=jc.BigNumber.from(4e4),qQt=jc.BigNumber.from(4e4),jQt=jc.BigNumber.from(5e3),GQt=t=>(0,FQt.hashWithdrawal)(t.messageNonce,t.sender,t.target,t.value,t.minGasLimit,t.message);Qm.hashLowLevelMessage=GQt;var KQt=t=>{let e=jc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[t,jc.ethers.constants.HashZero]);return jc.ethers.utils.keccak256(e)};Qm.hashMessageHash=KQt;var QQt=(t,e)=>{let n=jc.BigNumber.from(NQt(t)).mul(UQt),a;if(e===420)a=jc.BigNumber.from(2e5);else{let f=HQt.mul(1e6).div(zQt);a=OQt.add(f).add(WQt).add(qQt).add(jQt)}let r=n.add(a);return r.gt(25e6)&&(r=jc.BigNumber.from(25e6)),r};Qm.migratedWithdrawalGasLimit=QQt});var qm=D(P6=>{"use strict";u();p();var VQt=P6&&P6.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),d9=P6&&P6.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&VQt(e,t,n)};Object.defineProperty(P6,"__esModule",{value:!0});d9(t1e(),P6);d9(SJe(),P6);d9(MJe(),P6);d9(BJe(),P6);d9(tZe(),P6);d9(sce(),P6);d9(nZe(),P6)});var OR=D((Nha,aZe)=>{u();p();var YQt="2.0.0",$Qt=Number.MAX_SAFE_INTEGER||9007199254740991,JQt=16,XQt=250,ZQt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];aZe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:JQt,MAX_SAFE_BUILD_LENGTH:XQt,MAX_SAFE_INTEGER:$Qt,RELEASE_TYPES:ZQt,SEMVER_SPEC_VERSION:YQt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var UR=D((Hha,rZe)=>{u();p();var eVt=typeof x=="object"&&x.env&&x.env.NODE_DEBUG&&/\bsemver\b/i.test(x.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};rZe.exports=eVt});var Gx=D((Q8,fZe)=>{u();p();var{MAX_SAFE_COMPONENT_LENGTH:wce,MAX_SAFE_BUILD_LENGTH:tVt,MAX_LENGTH:nVt}=OR(),aVt=UR();Q8=fZe.exports={};var rVt=Q8.re=[],fVt=Q8.safeRe=[],nt=Q8.src=[],at=Q8.t={},iVt=0,Tce="[a-zA-Z0-9-]",sVt=[["\\s",1],["\\d",nVt],[Tce,tVt]],oVt=t=>{for(let[e,n]of sVt)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t},an=(t,e,n)=>{let a=oVt(e),r=iVt++;aVt(t,r,e),at[t]=r,nt[r]=e,rVt[r]=new RegExp(e,n?"g":void 0),fVt[r]=new RegExp(a,n?"g":void 0)};an("NUMERICIDENTIFIER","0|[1-9]\\d*");an("NUMERICIDENTIFIERLOOSE","\\d+");an("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Tce}*`);an("MAINVERSION",`(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})\\.(${nt[at.NUMERICIDENTIFIER]})`);an("MAINVERSIONLOOSE",`(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})\\.(${nt[at.NUMERICIDENTIFIERLOOSE]})`);an("PRERELEASEIDENTIFIER",`(?:${nt[at.NUMERICIDENTIFIER]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASEIDENTIFIERLOOSE",`(?:${nt[at.NUMERICIDENTIFIERLOOSE]}|${nt[at.NONNUMERICIDENTIFIER]})`);an("PRERELEASE",`(?:-(${nt[at.PRERELEASEIDENTIFIER]}(?:\\.${nt[at.PRERELEASEIDENTIFIER]})*))`);an("PRERELEASELOOSE",`(?:-?(${nt[at.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${nt[at.PRERELEASEIDENTIFIERLOOSE]})*))`);an("BUILDIDENTIFIER",`${Tce}+`);an("BUILD",`(?:\\+(${nt[at.BUILDIDENTIFIER]}(?:\\.${nt[at.BUILDIDENTIFIER]})*))`);an("FULLPLAIN",`v?${nt[at.MAINVERSION]}${nt[at.PRERELEASE]}?${nt[at.BUILD]}?`);an("FULL",`^${nt[at.FULLPLAIN]}$`);an("LOOSEPLAIN",`[v=\\s]*${nt[at.MAINVERSIONLOOSE]}${nt[at.PRERELEASELOOSE]}?${nt[at.BUILD]}?`);an("LOOSE",`^${nt[at.LOOSEPLAIN]}$`);an("GTLT","((?:<|>)?=?)");an("XRANGEIDENTIFIERLOOSE",`${nt[at.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);an("XRANGEIDENTIFIER",`${nt[at.NUMERICIDENTIFIER]}|x|X|\\*`);an("XRANGEPLAIN",`[v=\\s]*(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:\\.(${nt[at.XRANGEIDENTIFIER]})(?:${nt[at.PRERELEASE]})?${nt[at.BUILD]}?)?)?`);an("XRANGEPLAINLOOSE",`[v=\\s]*(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${nt[at.XRANGEIDENTIFIERLOOSE]})(?:${nt[at.PRERELEASELOOSE]})?${nt[at.BUILD]}?)?)?`);an("XRANGE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAIN]}$`);an("XRANGELOOSE",`^${nt[at.GTLT]}\\s*${nt[at.XRANGEPLAINLOOSE]}$`);an("COERCEPLAIN",`(^|[^\\d])(\\d{1,${wce}})(?:\\.(\\d{1,${wce}}))?(?:\\.(\\d{1,${wce}}))?`);an("COERCE",`${nt[at.COERCEPLAIN]}(?:$|[^\\d])`);an("COERCEFULL",nt[at.COERCEPLAIN]+`(?:${nt[at.PRERELEASE]})?(?:${nt[at.BUILD]})?(?:$|[^\\d])`);an("COERCERTL",nt[at.COERCE],!0);an("COERCERTLFULL",nt[at.COERCEFULL],!0);an("LONETILDE","(?:~>?)");an("TILDETRIM",`(\\s*)${nt[at.LONETILDE]}\\s+`,!0);Q8.tildeTrimReplace="$1~";an("TILDE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAIN]}$`);an("TILDELOOSE",`^${nt[at.LONETILDE]}${nt[at.XRANGEPLAINLOOSE]}$`);an("LONECARET","(?:\\^)");an("CARETTRIM",`(\\s*)${nt[at.LONECARET]}\\s+`,!0);Q8.caretTrimReplace="$1^";an("CARET",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAIN]}$`);an("CARETLOOSE",`^${nt[at.LONECARET]}${nt[at.XRANGEPLAINLOOSE]}$`);an("COMPARATORLOOSE",`^${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]})$|^$`);an("COMPARATOR",`^${nt[at.GTLT]}\\s*(${nt[at.FULLPLAIN]})$|^$`);an("COMPARATORTRIM",`(\\s*)${nt[at.GTLT]}\\s*(${nt[at.LOOSEPLAIN]}|${nt[at.XRANGEPLAIN]})`,!0);Q8.comparatorTrimReplace="$1$2$3";an("HYPHENRANGE",`^\\s*(${nt[at.XRANGEPLAIN]})\\s+-\\s+(${nt[at.XRANGEPLAIN]})\\s*$`);an("HYPHENRANGELOOSE",`^\\s*(${nt[at.XRANGEPLAINLOOSE]})\\s+-\\s+(${nt[at.XRANGEPLAINLOOSE]})\\s*$`);an("STAR","(<|>)?=?\\s*\\*");an("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");an("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mj=D((Gha,iZe)=>{u();p();var cVt=Object.freeze({loose:!0}),dVt=Object.freeze({}),lVt=t=>t?typeof t!="object"?cVt:t:dVt;iZe.exports=lVt});var xce=D((Vha,cZe)=>{u();p();var sZe=/^[0-9]+$/,oZe=(t,e)=>{let n=sZe.test(t),a=sZe.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:toZe(e,t);cZe.exports={compareIdentifiers:oZe,rcompareIdentifiers:uVt}});var s1=D((Jha,pZe)=>{u();p();var Bj=UR(),{MAX_LENGTH:dZe,MAX_SAFE_INTEGER:Dj}=OR(),{safeRe:lZe,t:uZe}=Gx(),pVt=Mj(),{compareIdentifiers:Kx}=xce(),Ece=class t{constructor(e,n){if(n=pVt(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>dZe)throw new TypeError(`version is longer than ${dZe} characters`);Bj("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let a=e.trim().match(n.loose?lZe[uZe.LOOSE]:lZe[uZe.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>Dj||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Dj||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Dj||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let f=+r;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(n===this.prerelease.join(".")&&a===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let f=[n,r];a===!1&&(f=[n]),Kx(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};pZe.exports=Ece});var l9=D((e3a,mZe)=>{u();p();var hZe=s1(),hVt=(t,e,n=!1)=>{if(t instanceof hZe)return t;try{return new hZe(t,e)}catch(a){if(!n)return null;throw a}};mZe.exports=hVt});var yZe=D((a3a,bZe)=>{u();p();var mVt=l9(),bVt=(t,e)=>{let n=mVt(t,e);return n?n.version:null};bZe.exports=bVt});var vZe=D((i3a,gZe)=>{u();p();var yVt=l9(),gVt=(t,e)=>{let n=yVt(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null};gZe.exports=gVt});var xZe=D((c3a,TZe)=>{u();p();var wZe=s1(),vVt=(t,e,n,a,r)=>{typeof n=="string"&&(r=a,a=n,n=void 0);try{return new wZe(t instanceof wZe?t.version:t,n).inc(e,a,r).version}catch{return null}};TZe.exports=vVt});var AZe=D((u3a,_Ze)=>{u();p();var EZe=l9(),wVt=(t,e)=>{let n=EZe(t,null,!0),a=EZe(e,null,!0),r=n.compare(a);if(r===0)return null;let f=r>0,i=f?n:a,s=f?a:n,o=!!i.prerelease.length;if(!!s.prerelease.length&&!o)return!s.patch&&!s.minor?"major":i.patch?"patch":i.minor?"minor":"major";let d=o?"pre":"";return n.major!==a.major?d+"major":n.minor!==a.minor?d+"minor":n.patch!==a.patch?d+"patch":"prerelease"};_Ze.exports=wVt});var CZe=D((m3a,IZe)=>{u();p();var TVt=s1(),xVt=(t,e)=>new TVt(t,e).major;IZe.exports=xVt});var SZe=D((g3a,kZe)=>{u();p();var EVt=s1(),_Vt=(t,e)=>new EVt(t,e).minor;kZe.exports=_Vt});var MZe=D((T3a,RZe)=>{u();p();var AVt=s1(),IVt=(t,e)=>new AVt(t,e).patch;RZe.exports=IVt});var DZe=D((_3a,BZe)=>{u();p();var CVt=l9(),kVt=(t,e)=>{let n=CVt(t,e);return n&&n.prerelease.length?n.prerelease:null};BZe.exports=kVt});var a5=D((C3a,LZe)=>{u();p();var PZe=s1(),SVt=(t,e,n)=>new PZe(t,n).compare(new PZe(e,n));LZe.exports=SVt});var NZe=D((R3a,FZe)=>{u();p();var RVt=a5(),MVt=(t,e,n)=>RVt(e,t,n);FZe.exports=MVt});var UZe=D((D3a,OZe)=>{u();p();var BVt=a5(),DVt=(t,e)=>BVt(t,e,!0);OZe.exports=DVt});var Pj=D((F3a,zZe)=>{u();p();var HZe=s1(),PVt=(t,e,n)=>{let a=new HZe(t,n),r=new HZe(e,n);return a.compare(r)||a.compareBuild(r)};zZe.exports=PVt});var qZe=D((U3a,WZe)=>{u();p();var LVt=Pj(),FVt=(t,e)=>t.sort((n,a)=>LVt(n,a,e));WZe.exports=FVt});var GZe=D((W3a,jZe)=>{u();p();var NVt=Pj(),OVt=(t,e)=>t.sort((n,a)=>NVt(a,n,e));jZe.exports=OVt});var HR=D((G3a,KZe)=>{u();p();var UVt=a5(),HVt=(t,e,n)=>UVt(t,e,n)>0;KZe.exports=HVt});var Lj=D((V3a,QZe)=>{u();p();var zVt=a5(),WVt=(t,e,n)=>zVt(t,e,n)<0;QZe.exports=WVt});var _ce=D((J3a,VZe)=>{u();p();var qVt=a5(),jVt=(t,e,n)=>qVt(t,e,n)===0;VZe.exports=jVt});var Ace=D((ema,YZe)=>{u();p();var GVt=a5(),KVt=(t,e,n)=>GVt(t,e,n)!==0;YZe.exports=KVt});var Fj=D((ama,$Ze)=>{u();p();var QVt=a5(),VVt=(t,e,n)=>QVt(t,e,n)>=0;$Ze.exports=VVt});var Nj=D((ima,JZe)=>{u();p();var YVt=a5(),$Vt=(t,e,n)=>YVt(t,e,n)<=0;JZe.exports=$Vt});var Ice=D((cma,XZe)=>{u();p();var JVt=_ce(),XVt=Ace(),ZVt=HR(),eYt=Fj(),tYt=Lj(),nYt=Nj(),aYt=(t,e,n,a)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t===n;case"!==":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t!==n;case"":case"=":case"==":return JVt(t,n,a);case"!=":return XVt(t,n,a);case">":return ZVt(t,n,a);case">=":return eYt(t,n,a);case"<":return tYt(t,n,a);case"<=":return nYt(t,n,a);default:throw new TypeError(`Invalid operator: ${e}`)}};XZe.exports=aYt});var ee0=D((uma,ZZe)=>{u();p();var rYt=s1(),fYt=l9(),{safeRe:Oj,t:Uj}=Gx(),iYt=(t,e)=>{if(t instanceof rYt)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let n=null;if(!e.rtl)n=t.match(e.includePrerelease?Oj[Uj.COERCEFULL]:Oj[Uj.COERCE]);else{let o=e.includePrerelease?Oj[Uj.COERCERTLFULL]:Oj[Uj.COERCERTL],c;for(;(c=o.exec(t))&&(!n||n.index+n[0].length!==t.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),o.lastIndex=c.index+c[1].length+c[2].length;o.lastIndex=-1}if(n===null)return null;let a=n[2],r=n[3]||"0",f=n[4]||"0",i=e.includePrerelease&&n[5]?`-${n[5]}`:"",s=e.includePrerelease&&n[6]?`+${n[6]}`:"";return fYt(`${a}.${r}.${f}${i}${s}`,e)};ZZe.exports=iYt});var ne0=D((mma,te0)=>{u();p();var Cce=class{constructor(){this.max=1e3,this.map=new Map}get(e){let n=this.map.get(e);if(n!==void 0)return this.map.delete(e),this.map.set(e,n),n}delete(e){return this.map.delete(e)}set(e,n){if(!this.delete(e)&&n!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,n)}return this}};te0.exports=Cce});var r5=D((gma,ie0)=>{u();p();var kce=class t{constructor(e,n){if(n=oYt(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof Sce)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(a=>this.parseRange(a.trim())).filter(a=>a.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let a=this.set[0];if(this.set=this.set.filter(r=>!re0(r[0])),this.set.length===0)this.set=[a];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&mYt(r[0])){this.set=[r];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let a=((this.options.includePrerelease&&pYt)|(this.options.loose&&hYt))+":"+e,r=ae0.get(a);if(r)return r;let f=this.options.loose,i=f?Gc[J1.HYPHENRANGELOOSE]:Gc[J1.HYPHENRANGE];e=e.replace(i,AYt(this.options.includePrerelease)),nf("hyphen replace",e),e=e.replace(Gc[J1.COMPARATORTRIM],dYt),nf("comparator trim",e),e=e.replace(Gc[J1.TILDETRIM],lYt),nf("tilde trim",e),e=e.replace(Gc[J1.CARETTRIM],uYt),nf("caret trim",e);let s=e.split(" ").map(l=>bYt(l,this.options)).join(" ").split(/\s+/).map(l=>_Yt(l,this.options));f&&(s=s.filter(l=>(nf("loose invalid filter",l,this.options),!!l.match(Gc[J1.COMPARATORLOOSE])))),nf("range list",s);let o=new Map,c=s.map(l=>new Sce(l,this.options));for(let l of c){if(re0(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return ae0.set(a,d),d}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(a=>fe0(a,n)&&e.set.some(r=>fe0(r,n)&&a.every(f=>r.every(i=>f.intersects(i,n)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new cYt(e,this.options)}catch{return!1}for(let n=0;nt.value==="<0.0.0-0",mYt=t=>t.value==="",fe0=(t,e)=>{let n=!0,a=t.slice(),r=a.pop();for(;n&&a.length;)n=a.every(f=>r.intersects(f,e)),r=a.pop();return n},bYt=(t,e)=>(nf("comp",t,e),t=vYt(t,e),nf("caret",t),t=yYt(t,e),nf("tildes",t),t=TYt(t,e),nf("xrange",t),t=EYt(t,e),nf("stars",t),t),X1=t=>!t||t.toLowerCase()==="x"||t==="*",yYt=(t,e)=>t.trim().split(/\s+/).map(n=>gYt(n,e)).join(" "),gYt=(t,e)=>{let n=e.loose?Gc[J1.TILDELOOSE]:Gc[J1.TILDE];return t.replace(n,(a,r,f,i,s)=>{nf("tilde",t,a,r,f,i,s);let o;return X1(r)?o="":X1(f)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:X1(i)?o=`>=${r}.${f}.0 <${r}.${+f+1}.0-0`:s?(nf("replaceTilde pr",s),o=`>=${r}.${f}.${i}-${s} <${r}.${+f+1}.0-0`):o=`>=${r}.${f}.${i} <${r}.${+f+1}.0-0`,nf("tilde return",o),o})},vYt=(t,e)=>t.trim().split(/\s+/).map(n=>wYt(n,e)).join(" "),wYt=(t,e)=>{nf("caret",t,e);let n=e.loose?Gc[J1.CARETLOOSE]:Gc[J1.CARET],a=e.includePrerelease?"-0":"";return t.replace(n,(r,f,i,s,o)=>{nf("caret",t,r,f,i,s,o);let c;return X1(f)?c="":X1(i)?c=`>=${f}.0.0${a} <${+f+1}.0.0-0`:X1(s)?f==="0"?c=`>=${f}.${i}.0${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.0${a} <${+f+1}.0.0-0`:o?(nf("replaceCaret pr",o),f==="0"?i==="0"?c=`>=${f}.${i}.${s}-${o} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}-${o} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s}-${o} <${+f+1}.0.0-0`):(nf("no pr"),f==="0"?i==="0"?c=`>=${f}.${i}.${s}${a} <${f}.${i}.${+s+1}-0`:c=`>=${f}.${i}.${s}${a} <${f}.${+i+1}.0-0`:c=`>=${f}.${i}.${s} <${+f+1}.0.0-0`),nf("caret return",c),c})},TYt=(t,e)=>(nf("replaceXRanges",t,e),t.split(/\s+/).map(n=>xYt(n,e)).join(" ")),xYt=(t,e)=>{t=t.trim();let n=e.loose?Gc[J1.XRANGELOOSE]:Gc[J1.XRANGE];return t.replace(n,(a,r,f,i,s,o)=>{nf("xRange",t,a,r,f,i,s,o);let c=X1(f),d=c||X1(i),l=d||X1(s),h=l;return r==="="&&h&&(r=""),o=e.includePrerelease?"-0":"",c?r===">"||r==="<"?a="<0.0.0-0":a="*":r&&h?(d&&(i=0),s=0,r===">"?(r=">=",d?(f=+f+1,i=0,s=0):(i=+i+1,s=0)):r==="<="&&(r="<",d?f=+f+1:i=+i+1),r==="<"&&(o="-0"),a=`${r+f}.${i}.${s}${o}`):d?a=`>=${f}.0.0${o} <${+f+1}.0.0-0`:l&&(a=`>=${f}.${i}.0${o} <${f}.${+i+1}.0-0`),nf("xRange return",a),a})},EYt=(t,e)=>(nf("replaceStars",t,e),t.trim().replace(Gc[J1.STAR],"")),_Yt=(t,e)=>(nf("replaceGTE0",t,e),t.trim().replace(Gc[e.includePrerelease?J1.GTE0PRE:J1.GTE0],"")),AYt=t=>(e,n,a,r,f,i,s,o,c,d,l,h)=>(X1(a)?n="":X1(r)?n=`>=${a}.0.0${t?"-0":""}`:X1(f)?n=`>=${a}.${r}.0${t?"-0":""}`:i?n=`>=${n}`:n=`>=${n}${t?"-0":""}`,X1(c)?o="":X1(d)?o=`<${+c+1}.0.0-0`:X1(l)?o=`<${c}.${+d+1}.0-0`:h?o=`<=${c}.${d}.${l}-${h}`:t?o=`<${c}.${d}.${+l+1}-0`:o=`<=${o}`,`${n} ${o}`.trim()),IYt=(t,e,n)=>{for(let a=0;a0){let r=t[a].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var zR=D((Tma,ue0)=>{u();p();var WR=Symbol("SemVer ANY"),Bce=class t{static get ANY(){return WR}constructor(e,n){if(n=se0(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Mce("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===WR?this.value="":this.value=this.operator+this.semver.version,Mce("comp",this)}parse(e){let n=this.options.loose?oe0[ce0.COMPARATORLOOSE]:oe0[ce0.COMPARATOR],a=e.match(n);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=a[1]!==void 0?a[1]:"",this.operator==="="&&(this.operator=""),a[2]?this.semver=new de0(a[2],this.options.loose):this.semver=WR}toString(){return this.value}test(e){if(Mce("Comparator.test",e,this.options.loose),this.semver===WR||e===WR)return!0;if(typeof e=="string")try{e=new de0(e,this.options)}catch{return!1}return Rce(e,this.operator,this.semver,this.options)}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new le0(e.value,n).test(this.value):e.operator===""?e.value===""?!0:new le0(this.value,n).test(e.semver):(n=se0(n),n.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Rce(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rce(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ue0.exports=Bce;var se0=Mj(),{safeRe:oe0,t:ce0}=Gx(),Rce=Ice(),Mce=UR(),de0=s1(),le0=r5()});var V8=D((_ma,pe0)=>{u();p();var CYt=r5(),kYt=(t,e,n)=>{try{e=new CYt(e,n)}catch{return!1}return e.test(t)};pe0.exports=kYt});var me0=D((Cma,he0)=>{u();p();var SYt=r5(),RYt=(t,e)=>new SYt(t,e).set.map(n=>n.map(a=>a.value).join(" ").trim().split(" "));he0.exports=RYt});var ye0=D((Rma,be0)=>{u();p();var MYt=s1(),BYt=r5(),DYt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new BYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===-1)&&(a=i,r=new MYt(a,n))}),a};be0.exports=DYt});var ve0=D((Dma,ge0)=>{u();p();var PYt=s1(),LYt=r5(),FYt=(t,e,n)=>{let a=null,r=null,f=null;try{f=new LYt(e,n)}catch{return null}return t.forEach(i=>{f.test(i)&&(!a||r.compare(i)===1)&&(a=i,r=new PYt(a,n))}),a};ge0.exports=FYt});var xe0=D((Fma,Te0)=>{u();p();var Dce=s1(),NYt=r5(),we0=HR(),OYt=(t,e)=>{t=new NYt(t,e);let n=new Dce("0.0.0");if(t.test(n)||(n=new Dce("0.0.0-0"),t.test(n)))return n;n=null;for(let a=0;a{let s=new Dce(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!f||we0(s,f))&&(f=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),f&&(!n||we0(n,f))&&(n=f)}return n&&t.test(n)?n:null};Te0.exports=OYt});var _e0=D((Uma,Ee0)=>{u();p();var UYt=r5(),HYt=(t,e)=>{try{return new UYt(t,e).range||"*"}catch{return null}};Ee0.exports=HYt});var Hj=D((Wma,ke0)=>{u();p();var zYt=s1(),Ce0=zR(),{ANY:WYt}=Ce0,qYt=r5(),jYt=V8(),Ae0=HR(),Ie0=Lj(),GYt=Nj(),KYt=Fj(),QYt=(t,e,n,a)=>{t=new zYt(t,a),e=new qYt(e,a);let r,f,i,s,o;switch(n){case">":r=Ae0,f=GYt,i=Ie0,s=">",o=">=";break;case"<":r=Ie0,f=KYt,i=Ae0,s="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(jYt(t,e,a))return!1;for(let c=0;c{y.semver===WYt&&(y=new Ce0(">=0.0.0")),l=l||y,h=h||y,r(y.semver,l.semver,a)?l=y:i(y.semver,h.semver,a)&&(h=y)}),l.operator===s||l.operator===o||(!h.operator||h.operator===s)&&f(t,h.semver))return!1;if(h.operator===o&&i(t,h.semver))return!1}return!0};ke0.exports=QYt});var Re0=D((Gma,Se0)=>{u();p();var VYt=Hj(),YYt=(t,e,n)=>VYt(t,e,">",n);Se0.exports=YYt});var Be0=D((Vma,Me0)=>{u();p();var $Yt=Hj(),JYt=(t,e,n)=>$Yt(t,e,"<",n);Me0.exports=JYt});var Le0=D((Jma,Pe0)=>{u();p();var De0=r5(),XYt=(t,e,n)=>(t=new De0(t,n),e=new De0(e,n),t.intersects(e,n));Pe0.exports=XYt});var Ne0=D((eba,Fe0)=>{u();p();var ZYt=V8(),e$t=a5();Fe0.exports=(t,e,n)=>{let a=[],r=null,f=null,i=t.sort((d,l)=>e$t(d,l,n));for(let d of i)ZYt(d,e,n)?(f=d,r||(r=d)):(f&&a.push([r,f]),f=null,r=null);r&&a.push([r,null]);let s=[];for(let[d,l]of a)d===l?s.push(d):!l&&d===i[0]?s.push("*"):l?d===i[0]?s.push(`<=${l}`):s.push(`${d} - ${l}`):s.push(`>=${d}`);let o=s.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return o.length{u();p();var Oe0=r5(),Lce=zR(),{ANY:Pce}=Lce,qR=V8(),Fce=a5(),t$t=(t,e,n={})=>{if(t===e)return!0;t=new Oe0(t,n),e=new Oe0(e,n);let a=!1;e:for(let r of t.set){for(let f of e.set){let i=a$t(r,f,n);if(a=a||i!==null,i)continue e}if(a)return!1}return!0},n$t=[new Lce(">=0.0.0-0")],Ue0=[new Lce(">=0.0.0")],a$t=(t,e,n)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Pce){if(e.length===1&&e[0].semver===Pce)return!0;n.includePrerelease?t=n$t:t=Ue0}if(e.length===1&&e[0].semver===Pce){if(n.includePrerelease)return!0;e=Ue0}let a=new Set,r,f;for(let y of t)y.operator===">"||y.operator===">="?r=He0(r,y,n):y.operator==="<"||y.operator==="<="?f=ze0(f,y,n):a.add(y.semver);if(a.size>1)return null;let i;if(r&&f){if(i=Fce(r.semver,f.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||f.operator!=="<="))return null}for(let y of a){if(r&&!qR(y,String(r),n)||f&&!qR(y,String(f),n))return null;for(let v of e)if(!qR(y,String(v),n))return!1;return!0}let s,o,c,d,l=f&&!n.includePrerelease&&f.semver.prerelease.length?f.semver:!1,h=r&&!n.includePrerelease&&r.semver.prerelease.length?r.semver:!1;l&&l.prerelease.length===1&&f.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let y of e){if(d=d||y.operator===">"||y.operator===">=",c=c||y.operator==="<"||y.operator==="<=",r){if(h&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===h.major&&y.semver.minor===h.minor&&y.semver.patch===h.patch&&(h=!1),y.operator===">"||y.operator===">="){if(s=He0(r,y,n),s===y&&s!==r)return!1}else if(r.operator===">="&&!qR(r.semver,String(y),n))return!1}if(f){if(l&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===l.major&&y.semver.minor===l.minor&&y.semver.patch===l.patch&&(l=!1),y.operator==="<"||y.operator==="<="){if(o=ze0(f,y,n),o===y&&o!==f)return!1}else if(f.operator==="<="&&!qR(f.semver,String(y),n))return!1}if(!y.operator&&(f||r)&&i!==0)return!1}return!(r&&c&&!f&&i!==0||f&&d&&!r&&i!==0||h||l)},He0=(t,e,n)=>{if(!t)return e;let a=Fce(t.semver,e.semver,n);return a>0?t:a<0||e.operator===">"&&t.operator===">="?e:t},ze0=(t,e,n)=>{if(!t)return e;let a=Fce(t.semver,e.semver,n);return a<0?t:a>0||e.operator==="<"&&t.operator==="<="?e:t};We0.exports=t$t});var Oce=D((iba,Ke0)=>{u();p();var Nce=Gx(),je0=OR(),r$t=s1(),Ge0=xce(),f$t=l9(),i$t=yZe(),s$t=vZe(),o$t=xZe(),c$t=AZe(),d$t=CZe(),l$t=SZe(),u$t=MZe(),p$t=DZe(),h$t=a5(),m$t=NZe(),b$t=UZe(),y$t=Pj(),g$t=qZe(),v$t=GZe(),w$t=HR(),T$t=Lj(),x$t=_ce(),E$t=Ace(),_$t=Fj(),A$t=Nj(),I$t=Ice(),C$t=ee0(),k$t=zR(),S$t=r5(),R$t=V8(),M$t=me0(),B$t=ye0(),D$t=ve0(),P$t=xe0(),L$t=_e0(),F$t=Hj(),N$t=Re0(),O$t=Be0(),U$t=Le0(),H$t=Ne0(),z$t=qe0();Ke0.exports={parse:f$t,valid:i$t,clean:s$t,inc:o$t,diff:c$t,major:d$t,minor:l$t,patch:u$t,prerelease:p$t,compare:h$t,rcompare:m$t,compareLoose:b$t,compareBuild:y$t,sort:g$t,rsort:v$t,gt:w$t,lt:T$t,eq:x$t,neq:E$t,gte:_$t,lte:A$t,cmp:I$t,coerce:C$t,Comparator:k$t,Range:S$t,satisfies:R$t,toComparators:M$t,maxSatisfying:B$t,minSatisfying:D$t,minVersion:P$t,validRange:L$t,outside:F$t,gtr:N$t,ltr:O$t,intersects:U$t,simplifyRange:H$t,subset:z$t,SemVer:r$t,re:Nce.re,src:Nce.src,tokens:Nce.t,SEMVER_SPEC_VERSION:je0.SEMVER_SPEC_VERSION,RELEASE_TYPES:je0.RELEASE_TYPES,compareIdentifiers:Ge0.compareIdentifiers,rcompareIdentifiers:Ge0.rcompareIdentifiers}});var Ve0=D(f5=>{"use strict";u();p();var W$t=f5&&f5.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),q$t=f5&&f5.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),j$t=f5&&f5.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&W$t(e,t,n);return q$t(e,t),e},G$t=f5&&f5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(f5,"__esModule",{value:!0});f5.CrossChainMessenger=void 0;var zj=C3(),gi=Je(),ks=j8(),Wj=kx(),Qe0=j$t(Sj()),K$t=G$t(Oce()),Ot=Ix(),af=qm(),Uce=class{constructor(e){var n;this._outputCache=[],this.populateTransaction={sendMessage:async(a,r)=>a.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,r?.l2GasLimit||await this.estimateL2MessageGasLimit(a),r?.overrides||{}):this.contracts.l2.L2CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,0,r?.overrides||{}),resendMessage:async(a,r,f,i=0)=>{let s=await this.toCrossChainMessage(a,i);if(s.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot resend L2 to L1 message");return this.bedrock?this.populateTransaction.finalizeMessage(s,Object.assign(Object.assign({},f||{}),{overrides:Object.assign(Object.assign({},f?.overrides),{gasLimit:r})}),i):new gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.replayMessage(s.target,s.sender,s.message,s.messageNonce,s.minGasLimit,r,f?.overrides||{})},proveMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");let s=await this.toLowLevelMessage(i,f),o=await this.getBedrockMessageProof(i,f),c=[[s.messageNonce,s.sender,s.target,s.value,s.minGasLimit,s.message],o.l2OutputIndex,[o.outputRootProof.version,o.outputRootProof.stateRoot,o.outputRootProof.messagePasserStorageRoot,o.outputRootProof.latestBlockhash],o.withdrawalProof,r?.overrides||{}];return this.contracts.l1.OptimismPortal.populateTransaction.proveWithdrawalTransaction(...c)},finalizeMessage:async(a,r,f=0)=>{let i=await this.toCrossChainMessage(a,f);if(i.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(this.bedrock){let s=(0,ks.hashCrossDomainMessagev1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),[o,c]=await Promise.allSettled([this.contracts.l1.L1CrossDomainMessenger.failedMessages(s),this.toLowLevelMessage(i,f)]);if(o.status==="rejected"||c.status==="rejected"){let d=[o,c].filter(l=>l.status==="rejected").map(l=>l.reason);throw d.length>1?new AggregateError(d):d[0]}if(o.value===!0){let d=this.contracts.l1.L1CrossDomainMessenger.interface.decodeFunctionData("relayMessage",c.value.message);return this.contracts.l1.L1CrossDomainMessenger.populateTransaction.relayMessage(d._nonce,d._sender,d._target,d._value,d._minGasLimit,d._message,r?.overrides||{})}return this.contracts.l1.OptimismPortal.populateTransaction.finalizeWithdrawalTransaction([c.value.messageNonce,c.value.sender,c.value.target,c.value.value,c.value.minGasLimit,c.value.message],r?.overrides||{})}else{let s=await this.getMessageProof(i,f);return new gi.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,Wj.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.relayMessage(i.target,i.sender,i.message,i.messageNonce,s,r?.overrides||{})}},depositETH:async(a,r,f=!1)=>{let i=async()=>{if(f)return r;let s=await this.estimateGas.depositETH(a,r);return Object.assign(Object.assign({},r),{overrides:Object.assign(Object.assign({},r?.overrides),{gasLimit:s.add(s.div(2))})})};return this.bridges.ETH.populateTransaction.deposit(gi.ethers.constants.AddressZero,Wj.predeploys.OVM_ETH,a,await i())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(gi.ethers.constants.AddressZero,Wj.predeploys.OVM_ETH,a,r),approveERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.approve(a,r,f,i),depositERC20:async(a,r,f,i,s=!1)=>{let o=await this.getBridgeForTokenPair(a,r),c=async()=>{var d,l,h,y;if(s)return i;if(!gi.ethers.Signer.isSigner(this.l1SignerOrProvider))throw new Error("unable to deposit without an l1 signer");let v=this.l1SignerOrProvider.getAddress(),k=await this.estimateGas.depositERC20(a,r,f,Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{from:(l=(d=i?.overrides)===null||d===void 0?void 0:d.from)!==null&&l!==void 0?l:v})}));return Object.assign(Object.assign({},i),{overrides:Object.assign(Object.assign({},i?.overrides),{gasLimit:k.add(k.div(2)),from:(y=(h=i?.overrides)===null||h===void 0?void 0:h.from)!==null&&y!==void 0?y:v})})};return o.populateTransaction.deposit(a,r,f,await c())},withdrawERC20:async(a,r,f,i)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.withdraw(a,r,f,i)},this.estimateGas={sendMessage:async(a,r)=>{let f=await this.populateTransaction.sendMessage(a,r);return a.direction===Ot.MessageDirection.L1_TO_L2?this.l1Provider.estimateGas(f):this.l2Provider.estimateGas(f)},resendMessage:async(a,r,f)=>this.l1Provider.estimateGas(await this.populateTransaction.resendMessage(a,r,f)),proveMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.proveMessage(a,r,f)),finalizeMessage:async(a,r,f=0)=>this.l1Provider.estimateGas(await this.populateTransaction.finalizeMessage(a,r,f)),depositETH:async(a,r)=>this.l1Provider.estimateGas(await this.populateTransaction.depositETH(a,r,!0)),withdrawETH:async(a,r)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawETH(a,r)),approveERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.approveERC20(a,r,f,i)),depositERC20:async(a,r,f,i)=>this.l1Provider.estimateGas(await this.populateTransaction.depositERC20(a,r,f,i,!0)),withdrawERC20:async(a,r,f,i)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawERC20(a,r,f,i))},this.bedrock=(n=e.bedrock)!==null&&n!==void 0?n:!0,this.l1SignerOrProvider=(0,af.toSignerOrProvider)(e.l1SignerOrProvider),this.l2SignerOrProvider=(0,af.toSignerOrProvider)(e.l2SignerOrProvider);try{this.l1ChainId=(0,af.toNumber)(e.l1ChainId)}catch{throw new Error(`L1 chain ID is missing or invalid: ${e.l1ChainId}`)}try{this.l2ChainId=(0,af.toNumber)(e.l2ChainId)}catch{throw new Error(`L2 chain ID is missing or invalid: ${e.l2ChainId}`)}this.depositConfirmationBlocks=e?.depositConfirmationBlocks!==void 0?(0,af.toNumber)(e.depositConfirmationBlocks):af.DEPOSIT_CONFIRMATION_BLOCKS[this.l2ChainId]||0,this.l1BlockTimeSeconds=e?.l1BlockTimeSeconds!==void 0?(0,af.toNumber)(e.l1BlockTimeSeconds):af.CHAIN_BLOCK_TIMES[this.l1ChainId]||1,this.contracts=(0,af.getAllOEContracts)(this.l2ChainId,{l1SignerOrProvider:this.l1SignerOrProvider,l2SignerOrProvider:this.l2SignerOrProvider,overrides:e.contracts}),this.bridges=(0,af.getBridgeAdapters)(this.l2ChainId,this,{overrides:e.bridges,contracts:e.contracts})}get l1Provider(){return zj.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return zj.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(zj.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(zj.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===gi.ethers.constants.AddressZero?!1:K$t.default.gte(await this.contracts.l1.OptimismPortal.version(),"3.0.0")}async getMessagesByTransaction(e,n={}){var a,r;await((r=(a=e).wait)===null||r===void 0?void 0:r.call(a));let f=(0,af.toTransactionHash)(e),i;if(n.direction!==void 0?n.direction===Ot.MessageDirection.L1_TO_L2?i=await this.l1Provider.getTransactionReceipt(f):i=await this.l2Provider.getTransactionReceipt(f):(i=await this.l1Provider.getTransactionReceipt(f),i?n.direction=Ot.MessageDirection.L1_TO_L2:(i=await this.l2Provider.getTransactionReceipt(f),n.direction=Ot.MessageDirection.L2_TO_L1)),!i)throw new Error(`unable to find transaction receipt for ${f}`);let s=n.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger:this.contracts.l2.L2CrossDomainMessenger;return i.logs.filter(o=>o.address===s.address).filter(o=>s.interface.parseLog(o).name==="SentMessage").map(o=>{let c=gi.ethers.BigNumber.from(0),d=i.logs.find(h=>h.logIndex===o.logIndex+1&&h.address===s.address);if(d){let h=s.interface.parseLog(d);h.name==="SentMessageExtension1"&&(c=h.args.value)}let l=s.interface.parseLog(o);return{direction:n.direction,target:l.args.target,sender:l.args.sender,message:l.args.message,messageNonce:l.args.messageNonce,value:c,minGasLimit:l.args.gasLimit,logIndex:o.logIndex,blockNumber:o.blockNumber,transactionHash:o.transactionHash}})}async toBedrockCrossChainMessage(e,n=0){let a=await this.toCrossChainMessage(e,n),{version:r}=(0,ks.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let f=gi.BigNumber.from(0);if(a.direction===Ot.MessageDirection.L2_TO_L1&&a.sender===this.contracts.l2.L2StandardBridge.address&&a.target===this.contracts.l1.L1StandardBridge.address)try{[,,f]=this.contracts.l1.L1StandardBridge.interface.decodeFunctionData("finalizeETHWithdrawal",a.message)}catch{}return Object.assign(Object.assign({},a),{value:f,minGasLimit:gi.BigNumber.from(0),messageNonce:(0,ks.encodeVersionedNonce)(gi.BigNumber.from(0),a.messageNonce)})}async toLowLevelMessage(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("can only convert L2 to L1 messages to low level");let{version:r}=(0,ks.decodeVersionedNonce)(a.messageNonce),f;r.eq(0)?f=await this.toBedrockCrossChainMessage(a,n):f=a;let i=(0,ks.encodeCrossDomainMessageV1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),s,o;if(r.eq(0)){let c=await(0,ks.getChainId)(this.l2Provider);s=(0,af.migratedWithdrawalGasLimit)(i,c),o=a.messageNonce}else{let c=await this.l2Provider.getTransactionReceipt((await this.toCrossChainMessage(e)).transactionHash),d=[];for(let h of c.logs)if(h.address===this.contracts.l2.BedrockMessagePasser.address){let y=this.contracts.l2.L2ToL1MessagePasser.interface.parseLog(h);y.name==="MessagePassed"&&d.push(y.args)}if(d.length===0)throw new Error("no withdrawals found in receipt");let l=d[n];if(!l)throw new Error(`withdrawal index ${n} out of bounds there are ${d.length} withdrawals`);o=l.nonce,s=l.gasLimit}return{messageNonce:o,sender:this.contracts.l2.L2CrossDomainMessenger.address,target:this.contracts.l1.L1CrossDomainMessenger.address,value:f.value,minGasLimit:s,message:i}}async getBridgeForTokenPair(e,n){var a,r;let f=[];for(let i of Object.values(this.bridges))try{await i.supportsTokenPair(e,n)&&f.push(i)}catch(s){!(!((a=s?.message)===null||a===void 0)&&a.toString().includes("CALL_EXCEPTION"))&&!(!((r=s?.stack)===null||r===void 0)&&r.toString().includes("execution reverted"))&&console.error("Unexpected error when checking bridge",s)}if(f.length===0)throw new Error("no supported bridge for token pair");if(f.length>1)throw new Error("found more than one bridge for token pair");return f[0]}async getDepositsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getDepositsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async getWithdrawalsByAddress(e,n={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getWithdrawalsByAddress(e,n)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async toCrossChainMessage(e,n=0){if(!e)throw new Error("message is undefined");if(e.message)return e;if(e.l1Token&&e.l2Token&&e.transactionHash){let r=(await this.getMessagesByTransaction(e.transactionHash)).sort((f,i)=>f.logIndex-i.logIndex).find(f=>f.logIndex>e.logIndex);if(!r)throw new Error("could not find SentMessage event for message");return r}else{let a=await this.getMessagesByTransaction(e),r=a[n];if(!r)throw new Error(`withdrawal index ${n} out of bounds. There are ${a.length} withdrawals`);return r}}async getMessageStatus(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger;if(await o.successfulMessages(i)||await o.successfulMessages(s))return Ot.MessageStatus.RELAYED;let d=await o.failedMessages(i)||await o.failedMessages(s);if(f.direction===Ot.MessageDirection.L1_TO_L2)return d?Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE:Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE;if(d)return Ot.MessageStatus.READY_FOR_RELAY;{let l;if(this.bedrock){if(await this.getMessageBedrockOutput(f,n)===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=await this.toLowLevelMessage(f,n),v=await this.getProvenWithdrawal((0,af.hashLowLevelMessage)(y));if(v===null)return Ot.MessageStatus.READY_TO_PROVE;l=v.timestamp.toNumber()}else{let h=await this.getMessageStateRoot(f,n);if(h===null)return Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let y=h.batch.blockNumber;l=(await this.l1Provider.getBlock(y)).timestamp}if(await this.fpac()){let h=await this.toLowLevelMessage(f,n),y=(0,af.hashLowLevelMessage)(h),v=await this.getProvenWithdrawal(y);if(v===null)return console.warn("Unexpected code path reached in getMessageStatus, returning READY_TO_PROVE"),Ot.MessageStatus.READY_TO_PROVE;if(!("proofSubmitter"in v))throw new Error("expected to get FPAC withdrawal but got legacy withdrawal");try{return await this.contracts.l1.OptimismPortal2.checkWithdrawal((0,af.hashLowLevelMessage)(h),v.proofSubmitter),Ot.MessageStatus.READY_FOR_RELAY}catch{return Ot.MessageStatus.IN_CHALLENGE_PERIOD}}else{let h=await this.getChallengePeriodSeconds(),y=await this.l1Provider.getBlock("latest");return l+h>y.timestamp?Ot.MessageStatus.IN_CHALLENGE_PERIOD:Ot.MessageStatus.READY_FOR_RELAY}}}async getMessageReceipt(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=(0,ks.hashCrossDomainMessagev0)(f.target,f.sender,f.message,f.messageNonce),s=(0,ks.hashCrossDomainMessagev1)(f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message),o=f.direction===Ot.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger,c=[...await o.queryFilter(o.filters.RelayedMessage(i),a,r),...await o.queryFilter(o.filters.RelayedMessage(s),a,r)];if(c.length===1)return{receiptStatus:Ot.MessageReceiptStatus.RELAYED_SUCCEEDED,transactionReceipt:await c[0].getTransactionReceipt()};if(c.length>1)throw new Error("multiple successful relays for message");let d=[...await o.queryFilter(o.filters.FailedRelayedMessage(i),a,r),...await o.queryFilter(o.filters.FailedRelayedMessage(s),a,r)];return d.length>0?{receiptStatus:Ot.MessageReceiptStatus.RELAYED_FAILED,transactionReceipt:await d[d.length-1].getTransactionReceipt()}:null}async waitForMessageReceipt(e,n={},a=0){let r=await this.toCrossChainMessage(e,a),f=0;for(;f<(n.timeoutMs||1/0);){let i=Date.now(),s=await this.getMessageReceipt(r,a,n.fromBlockOrBlockHash,n.toBlockOrHash);if(s!==null)return s;await(0,ks.sleep)(n.pollIntervalMs||4e3),f+=Date.now()-i}throw new Error("timed out waiting for message receipt")}async waitForMessageStatus(e,n,a={},r=0){let f=await this.toCrossChainMessage(e,r),i=0;for(;i<(a.timeoutMs||1/0);){let s=Date.now(),o=await this.getMessageStatus(f,r,a.fromBlockOrBlockHash,a.toBlockOrBlockHash);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(o===n||n===Ot.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE&&o>n)return;if(n===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE&&o===Ot.MessageStatus.RELAYED)throw new Error("incompatible message status, expected FAILED_L1_TO_L2_MESSAGE got RELAYED");if(n===Ot.MessageStatus.RELAYED&&o===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)throw new Error("incompatible message status, expected RELAYED got FAILED_L1_TO_L2_MESSAGE")}if(f.direction===Ot.MessageDirection.L2_TO_L1&&o>=n)return;await(0,ks.sleep)(a.pollIntervalMs||4e3),i+=Date.now()-s}throw new Error("timed out waiting for message status change")}async estimateL2MessageGasLimit(e,n,a=0){let r,f;if(e.messageNonce===void 0?(r=e,f=n?.from):(r=await this.toCrossChainMessage(e,a),f=n?.from||r.sender),r.direction===Ot.MessageDirection.L2_TO_L1)throw new Error("cannot estimate gas limit for L2 => L1 message");let i=await this.l2Provider.estimateGas({from:f,to:r.target,data:r.message}),s=n?.bufferPercent||20;return i.mul(100+s).div(100)}async estimateMessageWaitTimeSeconds(e,n=0,a,r){let f=await this.toCrossChainMessage(e,n),i=await this.getMessageStatus(f,n,a,r);if(f.direction===Ot.MessageDirection.L1_TO_L2){if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.FAILED_L1_TO_L2_MESSAGE)return 0;{let s=await this.l1Provider.getTransactionReceipt(f.transactionHash);return Math.max(this.depositConfirmationBlocks-s.confirmations,0)*this.l1BlockTimeSeconds}}else{if(i===Ot.MessageStatus.RELAYED||i===Ot.MessageStatus.READY_FOR_RELAY)return 0;if(i===Ot.MessageStatus.STATE_ROOT_NOT_PUBLISHED)return this.getChallengePeriodSeconds();if(i===Ot.MessageStatus.IN_CHALLENGE_PERIOD){let s=await this.getMessageStateRoot(f,n),o=await this.getChallengePeriodSeconds(),c=await this.l1Provider.getBlock(s.batch.blockNumber),d=await this.l1Provider.getBlock("latest");return Math.max(o-(d.timestamp-c.timestamp),0)}else throw new Error("unexpected message status")}}async getChallengePeriodSeconds(){return this.bedrock?(await this.contracts.l1.L2OutputOracle.version()==="1.0.0"?gi.BigNumber.from(await this.contracts.l1.OptimismPortal.provider.call({to:this.contracts.l1.OptimismPortal.address,data:"0xf4daa291"})):await this.contracts.l1.L2OutputOracle.FINALIZATION_PERIOD_SECONDS()).toNumber():(await this.contracts.l1.StateCommitmentChain.FRAUD_PROOF_WINDOW()).toNumber()}async getProvenWithdrawal(e){if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");if(!await this.fpac()){let a=await this.contracts.l1.OptimismPortal.provenWithdrawals(e);return a.timestamp.eq(0)?null:a}let n=gi.BigNumber.from(await this.contracts.l1.OptimismPortal2.numProofSubmitters(e)).toNumber();for(let a=0;a2)throw new Error("got invalid game status");let o=await i.extraData(),c;try{[c]=gi.ethers.utils.defaultAbiCoder.decode(["uint256"],o)}catch{continue}if(await this.isValidOutputRoot(await i.rootClaim(),c))return Object.assign(Object.assign({},f),{proofSubmitter:r})}return null}async isValidOutputRoot(e,n){let a=this._outputCache.find(r=>r.root===e);if(a)return a.valid;this._outputCache.length>1e4&&(this._outputCache=this._outputCache.slice(5e3));try{let r=(0,af.toJsonRpcProvider)(this.l2Provider),[f,i]=await Promise.all([r.send("eth_getBlockByNumber",[(0,ks.toRpcHexString)(n),!1]),(0,af.makeStateTrieProof)(r,n,this.contracts.l2.OVM_L2ToL1MessagePasser.address,gi.ethers.constants.HashZero)]),o=gi.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[gi.ethers.constants.HashZero,f.stateRoot,i.storageRoot,f.hash])===e;return this._outputCache.push({root:e,valid:o}),o}catch{return!1}}async getMessageBedrockOutput(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let r,f;if(await this.fpac()){let i=await this.contracts.l1.OptimismPortal2.respectedGameType(),s=await this.contracts.l1.DisputeGameFactory.gameCount(),o=await this.contracts.l1.DisputeGameFactory.findLatestGames(i,Math.max(0,s.sub(1).toNumber()),Math.min(100,s.toNumber())),c=[];for(let l of o)try{let[h]=gi.ethers.utils.defaultAbiCoder.decode(["uint256"],l.extraData);h.gte(a.blockNumber)&&c.push(Object.assign(Object.assign({},l),{l2BlockNumber:h}))}catch{continue}for(let l=c.length-1;l>0;l--){let h=Math.floor(Math.random()*(l+1));[c[l],c[h]]=[c[h],c[l]]}let d;for(let l of c)if(await this.isValidOutputRoot(l.rootClaim,l.l2BlockNumber)){d=l;break}if(!d)return null;f=d.index,r={outputRoot:d.rootClaim,timestamp:d.timestamp,l2BlockNumber:d.l2BlockNumber}}else{try{f=await this.contracts.l1.L2OutputOracle.getL2OutputIndexAfter(a.blockNumber)}catch(i){if(i.message.includes("L2OutputOracle: cannot get output"))return null;throw i}r=await this.contracts.l1.L2OutputOracle.getL2Output(f)}return{outputRoot:r.outputRoot,l1Timestamp:r.timestamp.toNumber(),l2BlockNumber:r.l2BlockNumber.toNumber(),l2OutputIndex:f.toNumber()}}async getMessageStateRoot(e,n=0){let a=await this.toCrossChainMessage(e,n);if(a.direction===Ot.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let f=(await this.l2Provider.getTransactionReceipt(a.transactionHash)).blockNumber-1,i=await this.getStateRootBatchByTransactionIndex(f);if(i===null)return null;let s=f-i.header.prevTotalElements.toNumber();if(i.stateRoots.length<=s)throw new Error("state root does not exist in batch");return{stateRoot:i.stateRoots[s],stateRootIndexInBatch:s,batch:i}}async getStateBatchAppendedEventByBatchIndex(e){let n=await this.contracts.l1.StateCommitmentChain.queryFilter(this.contracts.l1.StateCommitmentChain.filters.StateBatchAppended(e));if(n.length===0)return null;if(n.length>1)throw new Error("found more than one StateBatchAppended event");return n[0]}async getStateBatchAppendedEventByTransactionIndex(e){let n=(o,c)=>{let d=o.args._prevTotalElements.toNumber();return c{let d=o.args._prevTotalElements.toNumber(),l=o.args._batchSize.toNumber();return c>=d+l},r=await this.contracts.l1.StateCommitmentChain.getTotalBatches();if(r.eq(0))return null;let f=0,i=r.toNumber()-1,s=await this.getStateBatchAppendedEventByBatchIndex(i);if(s===null||a(s,e))return null;if(!n(s,e))return s;for(;f{u();p();function Q$t(){this.__data__=[],this.size=0}Ye0.exports=Q$t});var Hce=D((mba,Je0)=>{u();p();function V$t(t,e){return t===e||t!==t&&e!==e}Je0.exports=V$t});var jR=D((gba,Xe0)=>{u();p();var Y$t=Hce();function $$t(t,e){for(var n=t.length;n--;)if(Y$t(t[n][0],e))return n;return-1}Xe0.exports=$$t});var e00=D((Tba,Ze0)=>{u();p();var J$t=jR(),X$t=Array.prototype,Z$t=X$t.splice;function eJt(t){var e=this.__data__,n=J$t(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():Z$t.call(e,n,1),--this.size,!0}Ze0.exports=eJt});var n00=D((_ba,t00)=>{u();p();var tJt=jR();function nJt(t){var e=this.__data__,n=tJt(e,t);return n<0?void 0:e[n][1]}t00.exports=nJt});var r00=D((Cba,a00)=>{u();p();var aJt=jR();function rJt(t){return aJt(this.__data__,t)>-1}a00.exports=rJt});var i00=D((Rba,f00)=>{u();p();var fJt=jR();function iJt(t,e){var n=this.__data__,a=fJt(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}f00.exports=iJt});var GR=D((Dba,s00)=>{u();p();var sJt=$e0(),oJt=e00(),cJt=n00(),dJt=r00(),lJt=i00();function Qx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var uJt=GR();function pJt(){this.__data__=new uJt,this.size=0}o00.exports=pJt});var l00=D((Uba,d00)=>{u();p();function hJt(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}d00.exports=hJt});var p00=D((Wba,u00)=>{u();p();function mJt(t){return this.__data__.get(t)}u00.exports=mJt});var m00=D((Gba,h00)=>{u();p();function bJt(t){return this.__data__.has(t)}h00.exports=bJt});var zce=D((Vba,b00)=>{u();p();var yJt=typeof global=="object"&&global&&global.Object===Object&&global;b00.exports=yJt});var Rl=D((Jba,y00)=>{u();p();var gJt=zce(),vJt=typeof self=="object"&&self&&self.Object===Object&&self,wJt=gJt||vJt||Function("return this")();y00.exports=wJt});var qj=D((e4a,g00)=>{u();p();var TJt=Rl(),xJt=TJt.Symbol;g00.exports=xJt});var x00=D((a4a,T00)=>{u();p();var v00=qj(),w00=Object.prototype,EJt=w00.hasOwnProperty,_Jt=w00.toString,KR=v00?v00.toStringTag:void 0;function AJt(t){var e=EJt.call(t,KR),n=t[KR];try{t[KR]=void 0;var a=!0}catch{}var r=_Jt.call(t);return a&&(e?t[KR]=n:delete t[KR]),r}T00.exports=AJt});var _00=D((i4a,E00)=>{u();p();var IJt=Object.prototype,CJt=IJt.toString;function kJt(t){return CJt.call(t)}E00.exports=kJt});var QR=D((c4a,C00)=>{u();p();var A00=qj(),SJt=x00(),RJt=_00(),MJt="[object Null]",BJt="[object Undefined]",I00=A00?A00.toStringTag:void 0;function DJt(t){return t==null?t===void 0?BJt:MJt:I00&&I00 in Object(t)?SJt(t):RJt(t)}C00.exports=DJt});var Vx=D((u4a,k00)=>{u();p();function PJt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}k00.exports=PJt});var Wce=D((m4a,S00)=>{u();p();var LJt=QR(),FJt=Vx(),NJt="[object AsyncFunction]",OJt="[object Function]",UJt="[object GeneratorFunction]",HJt="[object Proxy]";function zJt(t){if(!FJt(t))return!1;var e=LJt(t);return e==OJt||e==UJt||e==NJt||e==HJt}S00.exports=zJt});var M00=D((g4a,R00)=>{u();p();var WJt=Rl(),qJt=WJt["__core-js_shared__"];R00.exports=qJt});var P00=D((T4a,D00)=>{u();p();var qce=M00(),B00=function(){var t=/[^.]+$/.exec(qce&&qce.keys&&qce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function jJt(t){return!!B00&&B00 in t}D00.exports=jJt});var jce=D((_4a,L00)=>{u();p();var GJt=Function.prototype,KJt=GJt.toString;function QJt(t){if(t!=null){try{return KJt.call(t)}catch{}try{return t+""}catch{}}return""}L00.exports=QJt});var N00=D((C4a,F00)=>{u();p();var VJt=Wce(),YJt=P00(),$Jt=Vx(),JJt=jce(),XJt=/[\\^$.*+?()[\]{}|]/g,ZJt=/^\[object .+?Constructor\]$/,eXt=Function.prototype,tXt=Object.prototype,nXt=eXt.toString,aXt=tXt.hasOwnProperty,rXt=RegExp("^"+nXt.call(aXt).replace(XJt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fXt(t){if(!$Jt(t)||YJt(t))return!1;var e=VJt(t)?rXt:ZJt;return e.test(JJt(t))}F00.exports=fXt});var U00=D((R4a,O00)=>{u();p();function iXt(t,e){return t?.[e]}O00.exports=iXt});var Vm=D((D4a,H00)=>{u();p();var sXt=N00(),oXt=U00();function cXt(t,e){var n=oXt(t,e);return sXt(n)?n:void 0}H00.exports=cXt});var jj=D((F4a,z00)=>{u();p();var dXt=Vm(),lXt=Rl(),uXt=dXt(lXt,"Map");z00.exports=uXt});var VR=D((U4a,W00)=>{u();p();var pXt=Vm(),hXt=pXt(Object,"create");W00.exports=hXt});var G00=D((W4a,j00)=>{u();p();var q00=VR();function mXt(){this.__data__=q00?q00(null):{},this.size=0}j00.exports=mXt});var Q00=D((G4a,K00)=>{u();p();function bXt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}K00.exports=bXt});var Y00=D((V4a,V00)=>{u();p();var yXt=VR(),gXt="__lodash_hash_undefined__",vXt=Object.prototype,wXt=vXt.hasOwnProperty;function TXt(t){var e=this.__data__;if(yXt){var n=e[t];return n===gXt?void 0:n}return wXt.call(e,t)?e[t]:void 0}V00.exports=TXt});var J00=D((J4a,$00)=>{u();p();var xXt=VR(),EXt=Object.prototype,_Xt=EXt.hasOwnProperty;function AXt(t){var e=this.__data__;return xXt?e[t]!==void 0:_Xt.call(e,t)}$00.exports=AXt});var Z00=D((eya,X00)=>{u();p();var IXt=VR(),CXt="__lodash_hash_undefined__";function kXt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=IXt&&e===void 0?CXt:e,this}X00.exports=kXt});var tt0=D((aya,et0)=>{u();p();var SXt=G00(),RXt=Q00(),MXt=Y00(),BXt=J00(),DXt=Z00();function Yx(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var nt0=tt0(),PXt=GR(),LXt=jj();function FXt(){this.size=0,this.__data__={hash:new nt0,map:new(LXt||PXt),string:new nt0}}at0.exports=FXt});var it0=D((cya,ft0)=>{u();p();function NXt(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}ft0.exports=NXt});var YR=D((uya,st0)=>{u();p();var OXt=it0();function UXt(t,e){var n=t.__data__;return OXt(e)?n[typeof e=="string"?"string":"hash"]:n.map}st0.exports=UXt});var ct0=D((mya,ot0)=>{u();p();var HXt=YR();function zXt(t){var e=HXt(this,t).delete(t);return this.size-=e?1:0,e}ot0.exports=zXt});var lt0=D((gya,dt0)=>{u();p();var WXt=YR();function qXt(t){return WXt(this,t).get(t)}dt0.exports=qXt});var pt0=D((Tya,ut0)=>{u();p();var jXt=YR();function GXt(t){return jXt(this,t).has(t)}ut0.exports=GXt});var mt0=D((_ya,ht0)=>{u();p();var KXt=YR();function QXt(t,e){var n=KXt(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}ht0.exports=QXt});var yt0=D((Cya,bt0)=>{u();p();var VXt=rt0(),YXt=ct0(),$Xt=lt0(),JXt=pt0(),XXt=mt0();function $x(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e{u();p();var ZXt=GR(),eZt=jj(),tZt=yt0(),nZt=200;function aZt(t,e){var n=this.__data__;if(n instanceof ZXt){var a=n.__data__;if(!eZt||a.length{u();p();var rZt=GR(),fZt=c00(),iZt=l00(),sZt=p00(),oZt=m00(),cZt=vt0();function Jx(t){var e=this.__data__=new rZt(t);this.size=e.size}Jx.prototype.clear=fZt;Jx.prototype.delete=iZt;Jx.prototype.get=sZt;Jx.prototype.has=oZt;Jx.prototype.set=cZt;wt0.exports=Jx});var Et0=D((Fya,xt0)=>{u();p();function dZt(t,e){for(var n=-1,a=t==null?0:t.length;++n{u();p();var lZt=Vm(),uZt=function(){try{var t=lZt(Object,"defineProperty");return t({},"",{}),t}catch{}}();_t0.exports=uZt});var Gce=D((Wya,Ct0)=>{u();p();var It0=At0();function pZt(t,e,n){e=="__proto__"&&It0?It0(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}Ct0.exports=pZt});var Kce=D((Gya,kt0)=>{u();p();var hZt=Gce(),mZt=Hce(),bZt=Object.prototype,yZt=bZt.hasOwnProperty;function gZt(t,e,n){var a=t[e];(!(yZt.call(t,e)&&mZt(a,n))||n===void 0&&!(e in t))&&hZt(t,e,n)}kt0.exports=gZt});var $R=D((Vya,St0)=>{u();p();var vZt=Kce(),wZt=Gce();function TZt(t,e,n,a){var r=!n;n||(n={});for(var f=-1,i=e.length;++f{u();p();function xZt(t,e){for(var n=-1,a=Array(t);++n{u();p();function EZt(t){return t!=null&&typeof t=="object"}Bt0.exports=EZt});var Pt0=D((a7a,Dt0)=>{u();p();var _Zt=QR(),AZt=Xx(),IZt="[object Arguments]";function CZt(t){return AZt(t)&&_Zt(t)==IZt}Dt0.exports=CZt});var Ot0=D((i7a,Nt0)=>{u();p();var Lt0=Pt0(),kZt=Xx(),Ft0=Object.prototype,SZt=Ft0.hasOwnProperty,RZt=Ft0.propertyIsEnumerable,MZt=Lt0(function(){return arguments}())?Lt0:function(t){return kZt(t)&&SZt.call(t,"callee")&&!RZt.call(t,"callee")};Nt0.exports=MZt});var Gj=D((c7a,Ut0)=>{u();p();var BZt=Array.isArray;Ut0.exports=BZt});var zt0=D((u7a,Ht0)=>{u();p();function DZt(){return!1}Ht0.exports=DZt});var Qce=D((JR,Zx)=>{u();p();var PZt=Rl(),LZt=zt0(),jt0=typeof JR=="object"&&JR&&!JR.nodeType&&JR,Wt0=jt0&&typeof Zx=="object"&&Zx&&!Zx.nodeType&&Zx,FZt=Wt0&&Wt0.exports===jt0,qt0=FZt?PZt.Buffer:void 0,NZt=qt0?qt0.isBuffer:void 0,OZt=NZt||LZt;Zx.exports=OZt});var Kt0=D((y7a,Gt0)=>{u();p();var UZt=9007199254740991,HZt=/^(?:0|[1-9]\d*)$/;function zZt(t,e){var n=typeof t;return e=e??UZt,!!e&&(n=="number"||n!="symbol"&&HZt.test(t))&&t>-1&&t%1==0&&t{u();p();var WZt=9007199254740991;function qZt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=WZt}Qt0.exports=qZt});var Yt0=D((E7a,Vt0)=>{u();p();var jZt=QR(),GZt=Vce(),KZt=Xx(),QZt="[object Arguments]",VZt="[object Array]",YZt="[object Boolean]",$Zt="[object Date]",JZt="[object Error]",XZt="[object Function]",ZZt="[object Map]",een="[object Number]",ten="[object Object]",nen="[object RegExp]",aen="[object Set]",ren="[object String]",fen="[object WeakMap]",ien="[object ArrayBuffer]",sen="[object DataView]",oen="[object Float32Array]",cen="[object Float64Array]",den="[object Int8Array]",len="[object Int16Array]",uen="[object Int32Array]",pen="[object Uint8Array]",hen="[object Uint8ClampedArray]",men="[object Uint16Array]",ben="[object Uint32Array]",rf={};rf[oen]=rf[cen]=rf[den]=rf[len]=rf[uen]=rf[pen]=rf[hen]=rf[men]=rf[ben]=!0;rf[QZt]=rf[VZt]=rf[ien]=rf[YZt]=rf[sen]=rf[$Zt]=rf[JZt]=rf[XZt]=rf[ZZt]=rf[een]=rf[ten]=rf[nen]=rf[aen]=rf[ren]=rf[fen]=!1;function yen(t){return KZt(t)&&GZt(t.length)&&!!rf[jZt(t)]}Vt0.exports=yen});var Kj=D((I7a,$t0)=>{u();p();function gen(t){return function(e){return t(e)}}$t0.exports=gen});var Qj=D((XR,eE)=>{u();p();var ven=zce(),Jt0=typeof XR=="object"&&XR&&!XR.nodeType&&XR,ZR=Jt0&&typeof eE=="object"&&eE&&!eE.nodeType&&eE,wen=ZR&&ZR.exports===Jt0,Yce=wen&&ven.process,Ten=function(){try{var t=ZR&&ZR.require&&ZR.require("util").types;return t||Yce&&Yce.binding&&Yce.binding("util")}catch{}}();eE.exports=Ten});var tn0=D((M7a,en0)=>{u();p();var xen=Yt0(),Een=Kj(),Xt0=Qj(),Zt0=Xt0&&Xt0.isTypedArray,_en=Zt0?Een(Zt0):xen;en0.exports=_en});var $ce=D((P7a,nn0)=>{u();p();var Aen=Mt0(),Ien=Ot0(),Cen=Gj(),ken=Qce(),Sen=Kt0(),Ren=tn0(),Men=Object.prototype,Ben=Men.hasOwnProperty;function Den(t,e){var n=Cen(t),a=!n&&Ien(t),r=!n&&!a&&ken(t),f=!n&&!a&&!r&&Ren(t),i=n||a||r||f,s=i?Aen(t.length,String):[],o=s.length;for(var c in t)(e||Ben.call(t,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||f&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Sen(c,o)))&&s.push(c);return s}nn0.exports=Den});var Vj=D((N7a,an0)=>{u();p();var Pen=Object.prototype;function Len(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||Pen;return t===n}an0.exports=Len});var Jce=D((H7a,rn0)=>{u();p();function Fen(t,e){return function(n){return t(e(n))}}rn0.exports=Fen});var in0=D((q7a,fn0)=>{u();p();var Nen=Jce(),Oen=Nen(Object.keys,Object);fn0.exports=Oen});var on0=D((K7a,sn0)=>{u();p();var Uen=Vj(),Hen=in0(),zen=Object.prototype,Wen=zen.hasOwnProperty;function qen(t){if(!Uen(t))return Hen(t);var e=[];for(var n in Object(t))Wen.call(t,n)&&n!="constructor"&&e.push(n);return e}sn0.exports=qen});var Xce=D((Y7a,cn0)=>{u();p();var jen=Wce(),Gen=Vce();function Ken(t){return t!=null&&Gen(t.length)&&!jen(t)}cn0.exports=Ken});var Yj=D((X7a,dn0)=>{u();p();var Qen=$ce(),Ven=on0(),Yen=Xce();function $en(t){return Yen(t)?Qen(t):Ven(t)}dn0.exports=$en});var un0=D((t9a,ln0)=>{u();p();var Jen=$R(),Xen=Yj();function Zen(t,e){return t&&Jen(e,Xen(e),t)}ln0.exports=Zen});var hn0=D((r9a,pn0)=>{u();p();function e0n(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}pn0.exports=e0n});var bn0=D((s9a,mn0)=>{u();p();var t0n=Vx(),n0n=Vj(),a0n=hn0(),r0n=Object.prototype,f0n=r0n.hasOwnProperty;function i0n(t){if(!t0n(t))return a0n(t);var e=n0n(t),n=[];for(var a in t)a=="constructor"&&(e||!f0n.call(t,a))||n.push(a);return n}mn0.exports=i0n});var $j=D((d9a,yn0)=>{u();p();var s0n=$ce(),o0n=bn0(),c0n=Xce();function d0n(t){return c0n(t)?s0n(t,!0):o0n(t)}yn0.exports=d0n});var vn0=D((p9a,gn0)=>{u();p();var l0n=$R(),u0n=$j();function p0n(t,e){return t&&l0n(e,u0n(e),t)}gn0.exports=p0n});var _n0=D((eM,tE)=>{u();p();var h0n=Rl(),En0=typeof eM=="object"&&eM&&!eM.nodeType&&eM,wn0=En0&&typeof tE=="object"&&tE&&!tE.nodeType&&tE,m0n=wn0&&wn0.exports===En0,Tn0=m0n?h0n.Buffer:void 0,xn0=Tn0?Tn0.allocUnsafe:void 0;function b0n(t,e){if(e)return t.slice();var n=t.length,a=xn0?xn0(n):new t.constructor(n);return t.copy(a),a}tE.exports=b0n});var In0=D((g9a,An0)=>{u();p();function y0n(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n{u();p();function g0n(t,e){for(var n=-1,a=t==null?0:t.length,r=0,f=[];++n{u();p();function v0n(){return[]}Sn0.exports=v0n});var Jj=D((C9a,Mn0)=>{u();p();var w0n=kn0(),T0n=Zce(),x0n=Object.prototype,E0n=x0n.propertyIsEnumerable,Rn0=Object.getOwnPropertySymbols,_0n=Rn0?function(t){return t==null?[]:(t=Object(t),w0n(Rn0(t),function(e){return E0n.call(t,e)}))}:T0n;Mn0.exports=_0n});var Dn0=D((R9a,Bn0)=>{u();p();var A0n=$R(),I0n=Jj();function C0n(t,e){return A0n(t,I0n(t),e)}Bn0.exports=C0n});var e6e=D((D9a,Pn0)=>{u();p();function k0n(t,e){for(var n=-1,a=e.length,r=t.length;++n{u();p();var S0n=Jce(),R0n=S0n(Object.getPrototypeOf,Object);Ln0.exports=R0n});var n6e=D((U9a,Fn0)=>{u();p();var M0n=e6e(),B0n=t6e(),D0n=Jj(),P0n=Zce(),L0n=Object.getOwnPropertySymbols,F0n=L0n?function(t){for(var e=[];t;)M0n(e,D0n(t)),t=B0n(t);return e}:P0n;Fn0.exports=F0n});var On0=D((W9a,Nn0)=>{u();p();var N0n=$R(),O0n=n6e();function U0n(t,e){return N0n(t,O0n(t),e)}Nn0.exports=U0n});var a6e=D((G9a,Un0)=>{u();p();var H0n=e6e(),z0n=Gj();function W0n(t,e,n){var a=e(t);return z0n(t)?a:H0n(a,n(t))}Un0.exports=W0n});var zn0=D((V9a,Hn0)=>{u();p();var q0n=a6e(),j0n=Jj(),G0n=Yj();function K0n(t){return q0n(t,G0n,j0n)}Hn0.exports=K0n});var qn0=D((J9a,Wn0)=>{u();p();var Q0n=a6e(),V0n=n6e(),Y0n=$j();function $0n(t){return Q0n(t,Y0n,V0n)}Wn0.exports=$0n});var Gn0=D((ega,jn0)=>{u();p();var J0n=Vm(),X0n=Rl(),Z0n=J0n(X0n,"DataView");jn0.exports=Z0n});var Qn0=D((aga,Kn0)=>{u();p();var etn=Vm(),ttn=Rl(),ntn=etn(ttn,"Promise");Kn0.exports=ntn});var Yn0=D((iga,Vn0)=>{u();p();var atn=Vm(),rtn=Rl(),ftn=atn(rtn,"Set");Vn0.exports=ftn});var Jn0=D((cga,$n0)=>{u();p();var itn=Vm(),stn=Rl(),otn=itn(stn,"WeakMap");$n0.exports=otn});var Xj=D((uga,ra0)=>{u();p();var r6e=Gn0(),f6e=jj(),i6e=Qn0(),s6e=Yn0(),o6e=Jn0(),aa0=QR(),nE=jce(),Xn0="[object Map]",ctn="[object Object]",Zn0="[object Promise]",ea0="[object Set]",ta0="[object WeakMap]",na0="[object DataView]",dtn=nE(r6e),ltn=nE(f6e),utn=nE(i6e),ptn=nE(s6e),htn=nE(o6e),u9=aa0;(r6e&&u9(new r6e(new ArrayBuffer(1)))!=na0||f6e&&u9(new f6e)!=Xn0||i6e&&u9(i6e.resolve())!=Zn0||s6e&&u9(new s6e)!=ea0||o6e&&u9(new o6e)!=ta0)&&(u9=function(t){var e=aa0(t),n=e==ctn?t.constructor:void 0,a=n?nE(n):"";if(a)switch(a){case dtn:return na0;case ltn:return Xn0;case utn:return Zn0;case ptn:return ea0;case htn:return ta0}return e});ra0.exports=u9});var ia0=D((mga,fa0)=>{u();p();var mtn=Object.prototype,btn=mtn.hasOwnProperty;function ytn(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&btn.call(t,"index")&&(n.index=t.index,n.input=t.input),n}fa0.exports=ytn});var oa0=D((gga,sa0)=>{u();p();var gtn=Rl(),vtn=gtn.Uint8Array;sa0.exports=vtn});var Zj=D((Tga,da0)=>{u();p();var ca0=oa0();function wtn(t){var e=new t.constructor(t.byteLength);return new ca0(e).set(new ca0(t)),e}da0.exports=wtn});var ua0=D((_ga,la0)=>{u();p();var Ttn=Zj();function xtn(t,e){var n=e?Ttn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}la0.exports=xtn});var ha0=D((Cga,pa0)=>{u();p();var Etn=/\w*$/;function _tn(t){var e=new t.constructor(t.source,Etn.exec(t));return e.lastIndex=t.lastIndex,e}pa0.exports=_tn});var va0=D((Rga,ga0)=>{u();p();var ma0=qj(),ba0=ma0?ma0.prototype:void 0,ya0=ba0?ba0.valueOf:void 0;function Atn(t){return ya0?Object(ya0.call(t)):{}}ga0.exports=Atn});var Ta0=D((Dga,wa0)=>{u();p();var Itn=Zj();function Ctn(t,e){var n=e?Itn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}wa0.exports=Ctn});var Ea0=D((Fga,xa0)=>{u();p();var ktn=Zj(),Stn=ua0(),Rtn=ha0(),Mtn=va0(),Btn=Ta0(),Dtn="[object Boolean]",Ptn="[object Date]",Ltn="[object Map]",Ftn="[object Number]",Ntn="[object RegExp]",Otn="[object Set]",Utn="[object String]",Htn="[object Symbol]",ztn="[object ArrayBuffer]",Wtn="[object DataView]",qtn="[object Float32Array]",jtn="[object Float64Array]",Gtn="[object Int8Array]",Ktn="[object Int16Array]",Qtn="[object Int32Array]",Vtn="[object Uint8Array]",Ytn="[object Uint8ClampedArray]",$tn="[object Uint16Array]",Jtn="[object Uint32Array]";function Xtn(t,e,n){var a=t.constructor;switch(e){case ztn:return ktn(t);case Dtn:case Ptn:return new a(+t);case Wtn:return Stn(t,n);case qtn:case jtn:case Gtn:case Ktn:case Qtn:case Vtn:case Ytn:case $tn:case Jtn:return Btn(t,n);case Ltn:return new a;case Ftn:case Utn:return new a(t);case Ntn:return Rtn(t);case Otn:return new a;case Htn:return Mtn(t)}}xa0.exports=Xtn});var Ia0=D((Uga,Aa0)=>{u();p();var Ztn=Vx(),_a0=Object.create,enn=function(){function t(){}return function(e){if(!Ztn(e))return{};if(_a0)return _a0(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();Aa0.exports=enn});var ka0=D((Wga,Ca0)=>{u();p();var tnn=Ia0(),nnn=t6e(),ann=Vj();function rnn(t){return typeof t.constructor=="function"&&!ann(t)?tnn(nnn(t)):{}}Ca0.exports=rnn});var Ra0=D((Gga,Sa0)=>{u();p();var fnn=Xj(),inn=Xx(),snn="[object Map]";function onn(t){return inn(t)&&fnn(t)==snn}Sa0.exports=onn});var Pa0=D((Vga,Da0)=>{u();p();var cnn=Ra0(),dnn=Kj(),Ma0=Qj(),Ba0=Ma0&&Ma0.isMap,lnn=Ba0?dnn(Ba0):cnn;Da0.exports=lnn});var Fa0=D((Jga,La0)=>{u();p();var unn=Xj(),pnn=Xx(),hnn="[object Set]";function mnn(t){return pnn(t)&&unn(t)==hnn}La0.exports=mnn});var Ha0=D((eva,Ua0)=>{u();p();var bnn=Fa0(),ynn=Kj(),Na0=Qj(),Oa0=Na0&&Na0.isSet,gnn=Oa0?ynn(Oa0):bnn;Ua0.exports=gnn});var Ga0=D((ava,ja0)=>{u();p();var vnn=Tt0(),wnn=Et0(),Tnn=Kce(),xnn=un0(),Enn=vn0(),_nn=_n0(),Ann=In0(),Inn=Dn0(),Cnn=On0(),knn=zn0(),Snn=qn0(),Rnn=Xj(),Mnn=ia0(),Bnn=Ea0(),Dnn=ka0(),Pnn=Gj(),Lnn=Qce(),Fnn=Pa0(),Nnn=Vx(),Onn=Ha0(),Unn=Yj(),Hnn=$j(),znn=1,Wnn=2,qnn=4,za0="[object Arguments]",jnn="[object Array]",Gnn="[object Boolean]",Knn="[object Date]",Qnn="[object Error]",Wa0="[object Function]",Vnn="[object GeneratorFunction]",Ynn="[object Map]",$nn="[object Number]",qa0="[object Object]",Jnn="[object RegExp]",Xnn="[object Set]",Znn="[object String]",ean="[object Symbol]",tan="[object WeakMap]",nan="[object ArrayBuffer]",aan="[object DataView]",ran="[object Float32Array]",fan="[object Float64Array]",ian="[object Int8Array]",san="[object Int16Array]",oan="[object Int32Array]",can="[object Uint8Array]",dan="[object Uint8ClampedArray]",lan="[object Uint16Array]",uan="[object Uint32Array]",qr={};qr[za0]=qr[jnn]=qr[nan]=qr[aan]=qr[Gnn]=qr[Knn]=qr[ran]=qr[fan]=qr[ian]=qr[san]=qr[oan]=qr[Ynn]=qr[$nn]=qr[qa0]=qr[Jnn]=qr[Xnn]=qr[Znn]=qr[ean]=qr[can]=qr[dan]=qr[lan]=qr[uan]=!0;qr[Qnn]=qr[Wa0]=qr[tan]=!1;function eG(t,e,n,a,r,f){var i,s=e&znn,o=e&Wnn,c=e&qnn;if(n&&(i=r?n(t,a,r,f):n(t)),i!==void 0)return i;if(!Nnn(t))return t;var d=Pnn(t);if(d){if(i=Mnn(t),!s)return Ann(t,i)}else{var l=Rnn(t),h=l==Wa0||l==Vnn;if(Lnn(t))return _nn(t,s);if(l==qa0||l==za0||h&&!r){if(i=o||h?{}:Dnn(t),!s)return o?Cnn(t,Enn(i,t)):Inn(t,xnn(i,t))}else{if(!qr[l])return r?t:{};i=Bnn(t,l,s)}}f||(f=new vnn);var y=f.get(t);if(y)return y;f.set(t,i),Onn(t)?t.forEach(function(O){i.add(eG(O,e,n,O,t,f))}):Fnn(t)&&t.forEach(function(O,F){i.set(F,eG(O,e,n,F,t,f))});var v=c?o?Snn:knn:o?Hnn:Unn,k=d?void 0:v(t);return wnn(k||t,function(O,F){k&&(F=O,O=t[F]),Tnn(i,F,eG(O,e,n,F,t,f))}),i}ja0.exports=eG});var Qa0=D((iva,Ka0)=>{u();p();var pan=Ga0(),han=1,man=4;function ban(t){return pan(t,han|man)}Ka0.exports=ban});var Ja0=D(jr=>{"use strict";u();p();var yan=jr&&jr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(jr,"__esModule",{value:!0});jr.asL2Provider=jr.isL2Provider=jr.estimateTotalGasCost=jr.estimateL2GasCost=jr.estimateL1GasCost=jr.estimateL1Gas=jr.getL1GasPrice=void 0;var Ya0=Nu(),c6e=Je(),Va0=kx(),gan=yan(Qa0()),van=Zoe(),Y8=qm(),$a0=async(t,e)=>e.nonce!==void 0?(0,Y8.toNumber)(e.nonce):e.from!==void 0?(0,Y8.toProvider)(t).getTransactionCount(e.from):4294967295,d6e=t=>new c6e.Contract(Va0.predeploys.OVM_GasPriceOracle,(0,Va0.getContractInterface)("OVM_GasPriceOracle"),(0,Y8.toProvider)(t)),wan=async t=>d6e(t).l1BaseFee();jr.getL1GasPrice=wan;var Tan=async(t,e)=>d6e(t).getL1GasUsed((0,Ya0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?c6e.BigNumber.from(e.nonce).toNumber():await $a0(t,e)}));jr.estimateL1Gas=Tan;var xan=async(t,e)=>d6e(t).getL1Fee((0,Ya0.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?c6e.BigNumber.from(e.nonce).toNumber():await $a0(t,e)}));jr.estimateL1GasCost=xan;var Ean=async(t,e)=>{let n=(0,Y8.toProvider)(t),a=await n.getGasPrice(),r=await n.estimateGas(e);return a.mul(r)};jr.estimateL2GasCost=Ean;var _an=async(t,e)=>{let n=await(0,jr.estimateL1GasCost)(t,e),a=await(0,jr.estimateL2GasCost)(t,e);return n.add(a)};jr.estimateTotalGasCost=_an;var Aan=t=>!!t._isL2Provider;jr.isL2Provider=Aan;var Ian=t=>{if((0,jr.isL2Provider)(t))return t;let e=(0,gan.default)(t),n=e.formatter;(0,van.assert)(n,"provider.formatter must be defined");let a=n.block.bind(n);n.block=s=>{let o=a(s);return o.stateRoot=s.stateRoot,o};let r=n.blockWithTransactions.bind(n);n.blockWithTransactions=s=>{let o=r(s);return o.stateRoot=s.stateRoot,o.transactions=o.transactions.map((c,d)=>{let l=s.transactions[d];return c.l1BlockNumber=l.l1BlockNumber?(0,Y8.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,Y8.toNumber)(l.l1Timestamp):l.l1Timestamp,c.l1TxOrigin=l.l1TxOrigin,c.queueOrigin=l.queueOrigin,c.rawTransaction=l.rawTransaction,c}),o};let f=n.transactionResponse.bind(n);n.transactionResponse=s=>{let o=f(s);return o.txType=s.txType,o.queueOrigin=s.queueOrigin,o.rawTransaction=s.rawTransaction,o.l1TxOrigin=s.l1TxOrigin,o.l1BlockNumber=s.l1BlockNumber?parseInt(s.l1BlockNumber,16):s.l1BlockNumbers,o};let i=n.receipt.bind(n);return n.receipt=s=>{let o=i(s);return o.l1GasPrice=(0,Y8.toBigNumber)(s.l1GasPrice),o.l1GasUsed=(0,Y8.toBigNumber)(s.l1GasUsed),o.l1Fee=(0,Y8.toBigNumber)(s.l1Fee),o.l1FeeScalar=parseFloat(s.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,jr.getL1GasPrice)(e),e.estimateL1Gas=async s=>(0,jr.estimateL1Gas)(e,s),e.estimateL1GasCost=async s=>(0,jr.estimateL1GasCost)(e,s),e.estimateL2GasCost=async s=>(0,jr.estimateL2GasCost)(e,s),e.estimateTotalGasCost=async s=>(0,jr.estimateTotalGasCost)(e,s),e._isL2Provider=!0,e};jr.asL2Provider=Ian});var Xa0=D(Ml=>{"use strict";u();p();var Can=Ml&&Ml.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),tM=Ml&&Ml.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Can(e,t,n)};Object.defineProperty(Ml,"__esModule",{value:!0});tM(Ix(),Ml);tM(qm(),Ml);tM(Ve0(),Ml);tM(Hq(),Ml);tM(Ja0(),Ml)});async function Bl(t){t.originalProvider&&(t=t.originalProvider);let e=await nG(t);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await aE(t)}}async function nG(t){let e=null,n=null,[{chainId:a},r,f]=await Promise.all([t.getNetwork(),t.getBlock("latest"),t.send("eth_maxPriorityFeePerGas",[]).catch(()=>null)]),i=r&&r.baseFeePerGas?r.baseFeePerGas:dt.utils.parseUnits("100","wei");if(a===jse.chainId||a===Gse.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===MW.chainId||a===Q7.chainId)n=await Za0(a);else if(f)n=dt.BigNumber.from(f);else if(n=(await t.getFeeData()).maxPriorityFeePerGas,!n)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return n=kan(n),e=i.mul(2).add(n),{maxFeePerGas:e,maxPriorityFeePerGas:n,baseFee:i}}function kan(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,n=t.div(100).mul(e);return t.add(n)}async function aE(t){let e=await t.getGasPrice(),n=dt.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(n)?n:r}async function aM(t,e){let n=(await t.getNetwork()).chainId,a=dt.BigNumber.from(0);if(San(n)){let{asL2Provider:s}=await Promise.resolve().then(()=>Ee(Xa0()));a=await s(t).estimateL1GasCost(e)}let r=e.gasLimit||await t.estimateGas(e),f=await aE(t);return dt.BigNumber.from(r).mul(f).add(a)}function San(t){return t===SW.chainId||t===DW.chainId||t===RW.chainId||t===BW.chainId||t===Qse.chainId||t===Vse.chainId||t===XS.chainId||t===ZS.chainId||t===204||t===5611}function Ran(t){switch(t){case E0.Polygon:return"https://gasstation.polygon.technology/v2";case E0.Mumbai:return"https://gasstation-testnet.polygon.technology/v2"}}function Dan(t){switch(t){case E0.Polygon:return Man;case E0.Mumbai:return Ban}}async function Za0(t){let e=Ran(t);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return dt.utils.parseUnits(r,"gwei")}}catch{}return Dan(t)}function Gr(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}function be(t){async function e(){return(await t(...arguments)).execute()}return e.prepare=t,e}async function Pan(t,e,n,a,r){return r&&"biconomy"in r?Lan(t,e,n,r):r&&"openzeppelin"in r?Fan(t,e,n,a,r):er0(t,e,n,a,r)}async function er0(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let f=await Nan(t,e,n,a,r),s=await(await fetch(r.engine.relayerUrl,{...f,headers:{"Content-Type":"application/json"}})).json();if(s.error)throw new Error(s.error?.message||JSON.stringify(s.error));let o=s.result.queueId,c=r.engine.relayerUrl.split("/relayer/")[0],d=Date.now();for(;;){let h=await(await fetch(`${c}/transaction/status/${o}`)).json();if(h.result.transactionHash)return h.result.transactionHash;if(Date.now()-d>30*1e3)throw new Error("timeout");await new Promise(y=>setTimeout(y,2e3))}}async function Lan(t,e,n,a){let r=await Uan(t,e,n,a),f=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",r);if(f.ok){let i=await f.json();if(!i.txHash)throw new Error(`relay transaction failed: ${i.log}`);return i.txHash}throw new Error(`relay transaction failed with status: ${f.status} (${f.statusText})`)}async function Fan(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let f=await Oan(t,e,n,a,r),i=await fetch(r.openzeppelin.relayerUrl,f);if(i.ok){let s=await i.json();if(!s.result)throw new Error(`Relay transaction failed: ${s.message}`);return JSON.parse(s.result).txHash}throw new Error(`relay transaction failed with status: ${i.status} (${i.statusText})`)}async function Nan(t,e,n,a,r){d0(r&&"engine"in r,"calling engine gasless transaction without openzeppelin config in the SDK options");try{let f=await ni(t.to,n,a),i=(await n.getNetwork()).chainId,s=await Ym(t.to,f.abi,n,{},a),o=new lt(e,t.to,s,{},a);if(s.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+i.toString(16).padStart(64,"0"),verifyingContract:t.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[t.from]),from:t.from,functionSignature:t.data},{signature:v}=await Kc(e,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:t.from,to:t.to,data:t.data},signature:v})}}}catch{}if(t.functionName==="approve"&&t.functionArgs.length===2){let f=t.functionArgs[0],i=t.functionArgs[1],{message:s,signature:o}=await oM(e,t.to,t.from,f,i,r.engine.domainSeparatorVersion),c={to:t.to,owner:s.owner,spender:s.spender,value:dt.BigNumber.from(s.value).toString(),nonce:dt.BigNumber.from(s.nonce).toString(),deadline:dt.BigNumber.from(s.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let f=r.engine.relayerForwarderAddress||p2[t.chainId]?.openzeppelinForwarder||await p9(n,a),i=(await Promise.resolve().then(()=>Ee(tR()))).default,s=new dt.Contract(f,i,n),o=await m9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:sM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data});let{signature:h}=await Kc(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:h,forwarderAddress:f})}}}async function Oan(t,e,n,a,r){d0(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options"),d0(e,"provider is not set"),d0(n,"provider is not set");let f=r.openzeppelin.relayerForwarderAddress||(r.openzeppelin.useEOAForwarder?p2[t.chainId]?.openzeppelinForwarderEOA||await aG(n,a):p2[t.chainId]?.openzeppelinForwarder||await p9(n,a)),i=(await Promise.resolve().then(()=>Ee(tR()))).default,s=new dt.Contract(f,i,n),o=await m9(s,"getNonce",[t.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:f},d={ForwardRequest:sM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data,chainid:dt.BigNumber.from(t.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:f},d={ForwardRequest:iM},l={from:t.from,to:t.to,value:dt.BigNumber.from(0).toString(),gas:dt.BigNumber.from(t.gasLimit).toString(),nonce:dt.BigNumber.from(o).toString(),data:t.data});let h;if(t.functionName==="approve"&&t.functionArgs.length===2){let v=t.functionArgs[0],k=t.functionArgs[1],{message:O,signature:F}=await oM(e,t.to,t.from,v,k,r.openzeppelin.domainSeparatorVersion),{r:z,s:W,v:j}=dt.utils.splitSignature(F);l={to:t.to,owner:O.owner,spender:O.spender,value:dt.BigNumber.from(O.value).toString(),nonce:dt.BigNumber.from(O.nonce).toString(),deadline:dt.BigNumber.from(O.deadline).toString(),r:z,s:W,v:j},h=F}else{let{signature:v}=await Kc(e,c,d,l);h=v}let y="forward";return l?.owner&&(y="permit"),{method:"POST",body:JSON.stringify({request:l,signature:h,forwarderAddress:f,type:y})}}async function Uan(t,e,n,a){d0(a&&"biconomy"in a,"calling biconomySendFunction without biconomy"),d0(e&&n,"signer and provider must be set");let r=new dt.Contract(b9(t.chainId,"biconomyForwarder"),l6e,n),f=0,i=await m9(r,"getNonce",[t.from,f]),s={from:t.from,to:t.to,token:dt.constants.AddressZero,txGas:t.gasLimit.toNumber(),tokenGasPrice:"0",batchId:f,batchNonce:i.toNumber(),deadline:Math.floor(Date.now()/1e3+(a&&"biconomy"in a&&a.biconomy?.deadlineSeconds||3600)),data:t.data},o=dt.utils.arrayify(dt.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[s.from,s.to,s.token,s.txGas,s.tokenGasPrice,s.batchId,s.batchNonce,s.deadline,dt.utils.keccak256(s.data)])),c=await e.signMessage(o);return{method:"POST",body:JSON.stringify({from:t.from,apiId:a.biconomy.apiId,params:[s,c],to:t.to,gasLimit:t.gasLimit.toHexString()}),headers:{"x-api-key":a.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}}}var dt,Man,Ban,tG,Me,nM,Da=oe(()=>{"use strict";u();p();ln();dt=Ee(Je());Hc();Ax();ir();Man=dt.utils.parseUnits("31","gwei"),Ban=dt.utils.parseUnits("1","gwei");tG=class{constructor(e){this.args=e.args,this.overrides=e.overrides||{},this.provider=e.provider,this.signer=e.signer,this.storage=e.storage,this.signer.provider||(this.signer=this.signer.connect(this.provider))}get getSigner(){return this.signer}get getProvider(){return this.provider}get getStorage(){return this.storage}getArgs(){return this.args}getOverrides(){return this.overrides}getValue(){return this.overrides.value||0}setArgs(e){return this.args=e,this}setOverrides(e){return this.overrides=e,this}updateOverrides(e){return this.overrides={...this.overrides,...e},this}setValue(e){return this.updateOverrides({value:e}),this}setGasLimit(e){return this.updateOverrides({gasLimit:e}),this}setGasPrice(e){return this.updateOverrides({gasPrice:e}),this}setNonce(e){return this.updateOverrides({nonce:e}),this}setMaxFeePerGas(e){return this.updateOverrides({maxFeePerGas:e}),this}setMaxPriorityFeePerGas(e){return this.updateOverrides({maxPriorityFeePerGas:e}),this}setType(e){return this.updateOverrides({type:e}),this}setAccessList(e){return this.updateOverrides({accessList:e}),this}setCustomData(e){return this.updateOverrides({customData:e}),this}setCcipReadEnabled(e){return this.updateOverrides({ccipReadEnabled:e}),this}setGasLimitMultiple(e){dt.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=dt.BigNumber.from(Math.floor(dt.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return aE(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return $7()?{}:Bl(this.provider)}},Me=class t extends tG{static fromContractWrapper(e){let n=e.contractWrapper.getSigner();if(!n)throw new Error("Cannot create a transaction without a signer. Please ensure that you have a connected signer.");let a={...e,contract:e.contractWrapper.writeContract,provider:e.contractWrapper.getProvider(),signer:n,gasless:e.contractWrapper.options.gasless,storage:e.contractWrapper.storage};return new t(a)}static async fromContractInfo(e){let n=e.storage,a=e.contractAbi;if(!a)try{a=(await ni(e.contractAddress,e.provider,n)).abi}catch{throw new Error(`Could resolve contract metadata for address ${e.contractAddress}. Please pass the contract ABI manually with the 'contractAbi' option.`)}let r=new dt.Contract(e.contractAddress,a,e.provider),f={...e,storage:n,contract:r};return new t(f)}constructor(e){super({args:e.args,overrides:e.overrides,provider:e.provider,signer:e.signer,storage:e.storage}),this.method=e.method,this.gaslessOptions=e.gasless,this.parse=e.parse,this.contract=e.contract.connect(this.signer),this.storage=e.storage}getTarget(){return this.contract.address}getMethod(){return this.method}getGaslessOptions(){return this.gaslessOptions}setGaslessOptions(e){return this.gaslessOptions=e,this}setParse(e){return this.parse=e,this}encode(){return this.contract.interface.encodeFunctionData(this.method,this.args)}async sign(){let e=await this.populateTransaction();return await this.contract.signer.signTransaction(e)}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());let a=await this.contract.populateTransaction[this.method](...this.args,n);return await this.contract.signer.populateTransaction(a)}async simulate(){if(!this.contract.callStatic[this.method])throw this.functionError();try{return await this.contract.callStatic[this.method](...this.args,...this.overrides.value?[{value:this.overrides.value}]:[])}catch(e){throw await this.transactionError(e)}}async estimateGasLimit(){if(!this.contract.estimateGas[this.method])throw this.functionError();try{let e=await this.contract.estimateGas[this.method](...this.args,this.overrides);return this.gasMultiple?dt.BigNumber.from(Math.floor(dt.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await aM(this.provider,await this.populateTransaction());return{ether:dt.utils.formatEther(e),wei:e}}async send(){if(!this.contract.functions[this.method])throw this.functionError();if(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions))return this.sendGasless();let n={...await this.getGasOverrides(),...this.overrides};n.gasLimit||(n.gasLimit=await this.estimateGasLimit());try{return await this.contract.functions[this.method](...this.args,n)}catch(a){throw await this.transactionError(a)}}async execute(){let e=await this.send(),n;try{n=await e.wait()}catch(a){throw await this.simulate(),await this.transactionError(a)}return this.parse?this.parse(n):{receipt:n}}async sendGasless(){let e=await this.prepareGasless(),n=await Pan(e,this.signer,this.provider,this.storage,this.gaslessOptions),a,r=1;for(;!a;){try{a=await this.provider.getTransaction(n)}catch{}if(a||(await new Promise(f=>setTimeout(f,Math.min(r*1e3,1e4))),r++),r>20)throw new Error(`Unable to retrieve transaction with hash ${n}`)}return a}async prepareGasless(){d0(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions),"No gasless options set on this transaction!");let e=await this.getSignerAddress(),n=[...this.args];this.method==="multicall"&&Array.isArray(this.args[0])&&n[0].length>0&&(n[0]=n[0].map(c=>dt.utils.solidityPack(["bytes","address"],[c,e]))),d0(this.signer,"Cannot execute gasless transaction without valid signer");let[{chainId:a},r]=await Promise.all([this.provider.getNetwork(),this.overrides.from||e]),f=this.contract.address,i=this.overrides?.value||0;if(dt.BigNumber.from(i).gt(0))throw new Error("Cannot send native token value with gasless transaction");let s=this.contract.interface.encodeFunctionData(this.method,n),o=dt.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...n)).mul(2)}catch{}return o.lt(1e5)&&(o=dt.BigNumber.from(5e5)),this.overrides.gasLimit&&dt.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=dt.BigNumber.from(this.overrides.gasLimit)),{from:r,to:f,data:s,chainId:a,gasLimit:o,functionName:this.method,functionArgs:n,callOverrides:this.overrides}}functionError(){return new Error(`Contract "${this.contract.address}" does not have function "${this.method}"`)}async transactionError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.contract.address,i=this.encode(),s=dt.BigNumber.from(this.overrides.value||0),o=n.connection?.url,c=this.contract.interface.getFunction(this.method),d=this.args.map(O=>JSON.stringify(O).length<=80?JSON.stringify(O):JSON.stringify(O,void 0,2)),l=d.join(", ").length<=80?d.join(", "):` +`).concat(i.join(` +`))}throw a}};function cje(n,e,t,a,r){if(!XU(e))throw new P_("regexp","RegExp",e);var i=r==="match";if(typeof n!="string"||ZU(e,n)!==i){if(t instanceof Error)throw t;var s=!t;t=t||(typeof n!="string"?'The "string" argument must be of type string. Received type '+"".concat(Jl(n)," (").concat(JU(n),")"):(i?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(JU(e),`. Input: + +`).concat(JU(n),` +`));var f=new Xm({actual:n,expected:e,message:t,operator:r,stackStartFn:a});throw f.generatedMessage=s,f}}kr.match=function n(e,t,a){cje(e,t,a,n,"match")};kr.doesNotMatch=function n(e,t,a){cje(e,t,a,n,"doesNotMatch")};function dje(){for(var n=arguments.length,e=new Array(n),t=0;t{"use strict";p();u();var tU0=R_&&R_.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(R_,"__esModule",{value:!0});R_.setupProxyContract=void 0;var nq=tU0(p7()),aA=Ue(),{getAddress:Zm}=aA.utils,nU0=async(n,e,{targetImplAddress:t,targetProxyOwnerAddress:a,postUpgradeCallCalldata:r})=>{let i=await n.connect(aA.ethers.constants.AddressZero).callStatic.admin(),s=await e.getAddress(),f=await n.connect(aA.ethers.constants.AddressZero).callStatic.implementation();if(console.log(`implementation currently set to ${f}`),Zm(f)!==Zm(t)){console.log("implementation not set to correct contract"),console.log(`Setting implementation to ${t}`),(0,nq.default)(s===i,"the passed signer is not the admin, cannot update implementation");let d;r?(console.log("postUpgradeCallCalldata is provided. Using Proxy.upgradeAndCall()"),d=await n.connect(e).upgradeToAndCall(t,r)):(console.log("postUpgradeCallCalldata is not provided. Using Proxy.upgrade()"),d=await n.connect(e).upgradeTo(t));let l=await d.wait();console.log(`implementation set in ${l.transactionHash}`)}else console.log(`implementation already set correctly to ${t}`);if(console.log(`admin set to ${i}`),Zm(i)!==Zm(a)){console.log("detected admin is not set correctly"),console.log(`Setting admin to ${a}`),(0,nq.default)(s===i,"proxyOwnerSigner is not the admin, cannot update admin");let l=await(await n.connect(e).changeAdmin(a)).wait();console.log(`admin set in ${l.transactionHash}`)}else console.log(`admin already set correctly to ${a}`);let o=await n.connect(aA.ethers.constants.AddressZero).callStatic.implementation(),c=await n.connect(aA.ethers.constants.AddressZero).callStatic.admin();(0,nq.default)(Zm(c)===Zm(a),"Something went wrong - admin not set correctly after transaction"),(0,nq.default)(Zm(o)===Zm(t),"Something went wrong - implementation not set correctly after transaction"),console.log(`Proxy at ${n.address} is set up with implementation: ${o} and admin: ${c}`)};R_.setupProxyContract=nU0});var fy=B(A6=>{"use strict";p();u();var aU0=A6&&A6.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),L_=A6&&A6.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&aU0(e,n,t)};Object.defineProperty(A6,"__esModule",{value:!0});L_(BU(),A6);L_(tze(),A6);L_(gze(),A6);L_(Tze(),A6);L_(Ize(),A6);L_(pje(),A6)});var Nfe=B(aq=>{"use strict";p();u();Object.defineProperty(aq,"__esModule",{value:!0});aq.assert=void 0;var rU0=(n,e)=>{if(!n)throw new Error(e)};aq.assert=rU0});var y7=B(df=>{"use strict";p();u();Object.defineProperty(df,"__esModule",{value:!0});df.toAddress=df.toNumber=df.toBigNumber=df.toTransactionHash=df.toJsonRpcProvider=df.toProvider=df.toSignerOrProvider=void 0;var uje=q8(),iU0=I2(),e3=Ue(),Ffe=Nfe(),sU0=n=>{if(typeof n=="string")return new e3.ethers.providers.JsonRpcProvider(n);if(uje.Provider.isProvider(n))return n;if(iU0.Signer.isSigner(n))return n;throw new Error("Invalid provider")};df.toSignerOrProvider=sU0;var fU0=n=>{if(typeof n=="string")return new e3.ethers.providers.JsonRpcProvider(n);if(uje.Provider.isProvider(n))return n;throw new Error("Invalid provider")};df.toProvider=fU0;var oU0=n=>{let e=(0,df.toProvider)(n);if("send"in e)return e;throw new Error('Invalid JsonRpcProvider, does not have "send" function')};df.toJsonRpcProvider=oU0;var cU0=n=>{if(typeof n=="string")return(0,Ffe.assert)(e3.ethers.utils.isHexString(n,32),"Invalid transaction hash"),n;if(n.transactionHash)return n.transactionHash;if(n.hash)return n.hash;throw new Error("Invalid transaction")};df.toTransactionHash=cU0;var dU0=n=>e3.ethers.BigNumber.from(n);df.toBigNumber=dU0;var lU0=n=>(0,df.toBigNumber)(n).toNumber();df.toNumber=lU0;var pU0=n=>typeof n=="string"?((0,Ffe.assert)(e3.ethers.utils.isAddress(n),"Invalid address"),e3.ethers.utils.getAddress(n)):((0,Ffe.assert)(e3.ethers.utils.isAddress(n.address),"Invalid address"),e3.ethers.utils.getAddress(n.address));df.toAddress=pU0});var yje=B((Soa,uU0)=>{uU0.exports={_format:"hh-sol-artifact-1",contractName:"iL1ChugSplashDeployer",sourceName:"contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol",abi:[{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var mje=B((Aoa,yU0)=>{yU0.exports={_format:"hh-sol-artifact-1",contractName:"L1ChugSplashProxy",sourceName:"contracts/chugsplash/L1ChugSplashProxy.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610a5d380380610a5d83398101604081905261002f9161005d565b610057817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b5061008d565b60006020828403121561006f57600080fd5b81516001600160a01b038116811461008657600080fd5b9392505050565b6109c18061009c6000396000f3fe60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",deployedBytecode:"0x60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610792565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fe565b61044b565b3480156100b057600080fd5b506100b9610601565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cd565b610698565b34801561010e57600080fd5b506100b9610706565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061092a565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c8576000818060200190518101906102319190610936565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4c314368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c314368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f8251602084012014156104e8575050565b60405160009061051e907f600d380380600d6000396000f30000000000000000000000000000000000000090859060200161094f565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f4c314368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fb817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610662575033155b1561068d57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610695610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f1575033155b156106fa579055565b610702610117565b5050565b60006107307fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610767575033155b1561068d57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c857600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561081057600080fd5b813567ffffffffffffffff8082111561082857600080fd5b818401915084601f83011261083c57600080fd5b81358181111561084e5761084e6107cf565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610894576108946107cf565b816040528281528760208487010111156108ad57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108e057600080fd5b50508035926020909101359150565b6000815160005b8181101561091057602081850181015186830152016108f6565b8181111561091f576000828601525b509290920192915050565b60006107c882846108ef565b60006020828403121561094857600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610983600d8301846108ef565b94935050505056fea2646970667358221220aea34fd8cdcf3a9cced029d5f7b1e628f42ad1514501878e0040df2afddb6e7164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var bje=B((koa,mU0)=>{mU0.exports={_format:"hh-sol-artifact-1",contractName:"AddressDictator",sourceName:"contracts/L1/deployment/AddressDictator.sol",abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5060405162000d5e38038062000d5e83398101604081905262000034916200037a565b600080546001600160a01b038087166001600160a01b03199283161790925560018054928616929091169190911790558051825114620000ee5760405162461bcd60e51b815260206004820152604560248201527f416464726573734469637461746f723a204d7573742070726f7669646520616e60448201527f20657175616c206e756d626572206f66206e616d657320616e6420616464726560648201526439b9b2b99760d91b608482015260a40160405180910390fd5b60005b8251811015620001c357600260405180604001604052808584815181106200011d576200011d62000505565b602002602001015181526020018484815181106200013f576200013f62000505565b6020908102919091018101516001600160a01b0316909152825460018101845560009384529281902082518051939460020290910192620001849284920190620001ce565b5060209190910151600190910180546001600160a01b0319166001600160a01b0390921691909117905580620001ba816200051b565b915050620000f1565b505050505062000582565b828054620001dc9062000545565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b6001600160a01b03811681146200028a57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002ce57620002ce6200028d565b604052919050565b60006001600160401b03821115620002f257620002f26200028d565b5060051b60200190565b600082601f8301126200030e57600080fd5b81516020620003276200032183620002d6565b620002a3565b82815260059290921b840181019181810190868411156200034757600080fd5b8286015b848110156200036f578051620003618162000274565b83529183019183016200034b565b509695505050505050565b600080600080608085870312156200039157600080fd5b84516200039e8162000274565b80945050602080860151620003b38162000274565b60408701519094506001600160401b0380821115620003d157600080fd5b818801915088601f830112620003e657600080fd5b8151620003f76200032182620002d6565b81815260059190911b8301840190848101908b8311156200041757600080fd5b8585015b83811015620004ce57805185811115620004355760008081fd5b8601603f81018e13620004485760008081fd5b87810151868111156200045f576200045f6200028d565b62000473601f8201601f19168a01620002a3565b8181528f60408385010111156200048a5760008081fd5b60005b82811015620004ab57838101604001518282018c01528a016200048d565b82811115620004bd5760008b84840101525b50855250509186019186016200041b565b5060608b01519097509450505080831115620004e957600080fd5b5050620004f987828801620002fc565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200053e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200055a57607f821691505b602082108114156200057c57634e487b7160e01b600052602260045260246000fd5b50919050565b6107cc80620005926000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633ccad6fc116100505780633ccad6fc146100c0578063481c6a75146100d5578063bc3a429b146100f557600080fd5b806317ad94ec1461006c578063297d1a34146100b6575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100be6100fd565b005b6100c8610232565b6040516100ad91906104af565b60005461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100be610343565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f416464726573734469637461746f723a206f6e6c792063616c6c61626c65206260448201527f792066696e616c4f776e65720000000000000000000000000000000000000000606482015260840160405180910390fd5b6000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024015b600060405180830381600087803b15801561021857600080fd5b505af115801561022c573d6000803e3d6000fd5b50505050565b60606002805480602002602001604051908101604052809291908181526020016000905b8282101561033a5783829060005260206000209060020201604051806040016040529081600082018054610289906105ae565b80601f01602080910402602001604051908101604052809291908181526020018280546102b5906105ae565b80156103025780601f106102d757610100808354040283529160200191610302565b820191906000526020600020905b8154815290600101906020018083116102e557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610256565b50505050905090565b60005b600254811015610454576000546002805473ffffffffffffffffffffffffffffffffffffffff90921691639b2ea4bd91908490811061038757610387610602565b9060005260206000209060020201600001600284815481106103ab576103ab610602565b60009182526020909120600160029092020101546040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815261040f929173ffffffffffffffffffffffffffffffffffffffff1690600401610631565b600060405180830381600087803b15801561042957600080fd5b505af115801561043d573d6000803e3d6000fd5b50505050808061044c90610736565b915050610346565b506000546001546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015291169063f2fde38b906024016101fe565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561059f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08a8503018652825180518886528051808a880152845b81811015610532578281018c0151888201606001528b01610516565b8181111561054357856060838a0101525b50918a015173ffffffffffffffffffffffffffffffffffffffff16868b01525095880195601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690930160600192918701916001016104d7565b50919998505050505050505050565b600181811c908216806105c257607f821691505b602082108114156105fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60408152600080845481600182811c91508083168061065157607f831692505b602080841082141561068a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b60408801849052606088018280156106a957600181146106d857610703565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00871682528282019750610703565b60008c81526020902060005b878110156106fd578154848201529086019084016106e4565b83019850505b50508596506107298189018a73ffffffffffffffffffffffffffffffffffffffff169052565b5050505050509392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561078f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212207993fbd341ec4f9e20c9ca42c43294b14f2a103fa8da10fc05d197e3abc8766164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var hje=B((Poa,bU0)=>{bU0.exports={_format:"hh-sol-artifact-1",contractName:"ChugSplashDictator",sourceName:"contracts/L1/deployment/ChugSplashDictator.sol",abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x60806040526000805460ff1916600117905534801561001d57600080fd5b5060405161088338038061088383398101604081905261003c916100a8565b60008054610100600160a81b0319166101006001600160a01b03998a1602179055600180546001600160a01b031916969097169590951790955560029290925560035560045560059190915560065561010f565b6001600160a01b03811681146100a557600080fd5b50565b600080600080600080600060e0888a0312156100c357600080fd5b87516100ce81610090565b60208901519097506100df81610090565b604089015160608a015160808b015160a08c015160c0909c01519a9d939c50919a90999198509650945092505050565b6107658061011e6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c8063708518de11610076578063a3b2d8a51161005b578063a3b2d8a51461015c578063b794726214610165578063d4b839921461018257600080fd5b8063708518de1461014a578063907023dd1461015357600080fd5b806318edaaf2116100a757806318edaaf214610122578063297d1a34146101395780635307023b1461014157600080fd5b80630bf56f21146100c357806317ad94ec146100d8575b600080fd5b6100d66100d13660046105ed565b6101a7565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61012b60025481565b604051908152602001610119565b6100d6610489565b61012b60045481565b61012b60035481565b61012b60065481565b61012b60055481565b6000546101729060ff1681565b6040519015158152602001610119565b6000546100f890610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6002548151602083012014610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4368756753706c6173684469637461746f723a20496e636f727265637420636f60448201527f646520686173682e00000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000546040517f6c5d4ad000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636c5d4ad09061029d9084906004016106bc565b600060405180830381600087803b1580156102b757600080fd5b505af11580156102cb573d6000803e3d6000fd5b5050600054600354600480546040517f9b0b0fda00000000000000000000000000000000000000000000000000000000815291820192909252602481019190915261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b15801561034e57600080fd5b505af1158015610362573d6000803e3d6000fd5b50506000546005546006546040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081526004810192909252602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169250639b0b0fda9150604401600060405180830381600087803b1580156103e257600080fd5b505af11580156103f6573d6000803e3d6000fd5b50506000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526101009092041692506313af40359150602401600060405180830381600087803b15801561046e57600080fd5b505af1158015610482573d6000803e3d6000fd5b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4368756753706c6173684469637461746f723a206f6e6c792063616c6c61626c60448201527f652062792066696e616c4f776e65720000000000000000000000000000000000606482015260840161023a565b6000546001546040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015261010090920416906313af403590602401600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156105ff57600080fd5b813567ffffffffffffffff8082111561061757600080fd5b818401915084601f83011261062b57600080fd5b81358181111561063d5761063d6105be565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610683576106836105be565b8160405282815287602084870101111561069c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156106e9578581018301518582016040015282016106cd565b818111156106fb576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea2646970667358221220d6996ebde67a73563bf52d2b5545adec064534b2fcd91ec70e83fc1ef951152464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var gje=B((Roa,hU0)=>{hU0.exports={_format:"hh-sol-artifact-1",contractName:"IL1CrossDomainMessenger",sourceName:"contracts/L1/messaging/IL1CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var vje=B((Loa,gU0)=>{gU0.exports={_format:"hh-sol-artifact-1",contractName:"IL1ERC20Bridge",sourceName:"contracts/L1/messaging/IL1ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Tje=B((Moa,vU0)=>{vU0.exports={_format:"hh-sol-artifact-1",contractName:"IL1StandardBridge",sourceName:"contracts/L1/messaging/IL1StandardBridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var _je=B((Boa,TU0)=>{TU0.exports={_format:"hh-sol-artifact-1",contractName:"L1CrossDomainMessenger",sourceName:"contracts/L1/messaging/L1CrossDomainMessenger.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405260cc80546001600160a01b03191661dead17905534801561002457600080fd5b50600080546001600160a01b0319169055613865806100446000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b2578063b1b1b20911610081578063c6b94ab011610066578063c6b94ab014610275578063d7fd19dd14610298578063f2fde38b146102ab57600080fd5b8063b1b1b2091461023f578063c4d66de81461026257600080fd5b8063715018a6146101fe57806381ada46c146102065780638456cb59146102195780638da5cb5b1461022157600080fd5b8063461a4478116100ee578063461a4478146101c55780635c975abb146101d85780636e296e45146101e35780636f1c8d47146101eb57600080fd5b80630ecf2eea1461012057806321d800ec14610135578063299ca4781461016d5780633dbb202b146101b2575b600080fd5b61013361012e366004612d2e565b6102be565b005b610158610143366004612d2e565b60ca6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b60005461018d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610164565b6101336101c0366004612ea6565b610309565b61018d6101d3366004612f06565b610451565b60655460ff16610158565b61018d6104fe565b6101336101f9366004612f57565b61058d565b610133610774565b610133610214366004612d2e565b610788565b6101336107d0565b60335473ffffffffffffffffffffffffffffffffffffffff1661018d565b61015861024d366004612d2e565b60cb6020526000908152604090205460ff1681565b610133610270366004612fe3565b6107e0565b610158610283366004612d2e565b60c96020526000908152604090205460ff1681565b6101336102a6366004613149565b610ab8565b6101336102b9366004612fe3565b610f3c565b6102c6610fd9565b600081815260c96020526040808220805460ff191660011790555182917ff52508d5339edf0d7e5060a416df98db067af561bdc60872d29c0439eaa13a0291a250565b60006103496040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b905060008173ffffffffffffffffffffffffffffffffffffffff1663b8f770056040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cb9190613297565b905060006103e28633878564ffffffffff16611040565b90506103f583828663ffffffff166110bb565b8573ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33878588604051610441949392919061330e565b60405180910390a2505050505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906104a8908590600401613361565b60206040518083038186803b1580156104c057600080fd5b505afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f89190613374565b92915050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff1661dead14156105705760405162461bcd60e51b815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b60006105cd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b6040517f2a7f18be0000000000000000000000000000000000000000000000000000000081526004810186905290915060009073ffffffffffffffffffffffffffffffffffffffff831690632a7f18be9060240160606040518083038186803b15801561063957600080fd5b505afa15801561064d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106719190613391565b9050600061068189898989611040565b90506000731111000000000000000000000000000000001111300173420000000000000000000000000000000000000787846040516020016106c694939291906133f6565b604051602081830303815290604052805190602001209050826000015181146107575760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520686173206e6f74206265656e20656e60448201527f7175657565642e000000000000000000000000000000000000000000000000006064820152608401610567565b61076884838763ffffffff166110bb565b50505050505050505050565b61077c610fd9565b610786600061115c565b565b610790610fd9565b600081815260c96020526040808220805460ff191690555182917f52c8a2680a9f4cc0ad0bf88f32096eadbebf0646ea611d93a0ce6a29a024040591a250565b6107d8610fd9565b6107866111d3565b6000547501000000000000000000000000000000000000000000900460ff161580801561082b575060005460017401000000000000000000000000000000000000000090910460ff16105b8061085d5750303b15801561085d575060005474010000000000000000000000000000000000000000900460ff166001145b6108cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610567565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055801561095557600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60005473ffffffffffffffffffffffffffffffffffffffff16156109e15760405162461bcd60e51b815260206004820152602a60248201527f4c3143726f7373446f6d61696e4d657373656e67657220616c7265616479206960448201527f6e7469616c697a65642e000000000000000000000000000000000000000000006064820152608401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560cc805490911661dead179055610a3961123a565b610a416112cb565b610a49611365565b610a51611402565b8015610ab457600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60026097541415610b0b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610567565b6002609755610b1861149a565b6000610b2686868686611040565b9050610b3281836114ed565b1515600114610ba95760405162461bcd60e51b815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610567565b8051602080830191909120600081815260cb90925260409091205460ff1615610c3a5760405162461bcd60e51b815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610567565b600081815260c9602052604090205460ff1615610cbf5760405162461bcd60e51b815260206004820152602260248201527f50726f7669646564206d65737361676520686173206265656e20626c6f636b6560448201527f642e0000000000000000000000000000000000000000000000000000000000006064820152608401610567565b610cfd6040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e00000000000000815250610451565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610d9e5760405162461bcd60e51b815260206004820152603360248201527f43616e6e6f742073656e64204c322d3e4c31206d6573736167657320746f204c60448201527f312073797374656d20636f6e7472616374732e000000000000000000000000006064820152608401610567565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691909117909155604051600091891690610df790889061343b565b6000604051808303816000865af19150503d8060008114610e34576040519150601f19603f3d011682016040523d82523d6000602084013e610e39565b606091505b505060cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080151560011415610eb957600082815260cb6020526040808220805460ff191660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610ee5565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b6000833343604051602001610efc93929190613457565b60408051601f198184030181529181528151602092830120600090815260ca9092529020805460ff19166001908117909155609755505050505050505050565b610f44610fd9565b73ffffffffffffffffffffffffffffffffffffffff8116610fcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610567565b610fd68161115c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff1633146107865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b60608484848460405160240161105994939291906134a9565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b6040517f6fee07e000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690636fee07e0906111259073420000000000000000000000000000000000000790859087906004016134f3565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50505050505050565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111db61149a565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112103390565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000547501000000000000000000000000000000000000000000900460ff166107865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6000547501000000000000000000000000000000000000000000900460ff1661135c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6107863361115c565b6000547501000000000000000000000000000000000000000000900460ff166113f65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6065805460ff19169055565b6000547501000000000000000000000000000000000000000000900460ff166114935760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610567565b6001609755565b60655460ff16156107865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610567565b60006114f882611510565b8015611509575061150983836116b2565b9392505050565b6000806115516040518060400160405280601481526020017f5374617465436f6d6d69746d656e74436861696e000000000000000000000000815250610451565b60208401516040517f9418bddd00000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff831691639418bddd916115a991600401613565565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190613578565b15801561150957508251602084015160408086015190517f4d69ee5700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851693634d69ee579361166293919290919060040161359a565b60206040518083038186803b15801561167a57600080fd5b505afa15801561168e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115099190613578565b600080837342000000000000000000000000000000000000076040516020016116dc929190613612565b60408051601f1981840301815282825280516020918201209083015260009082015260600160408051601f198184030181529082905280516020918201207f4200000000000000000000000000000000000000000000000000000000000000918301919091529150600090819061176c9060340160408051601f1981840301815291905260608701518751611896565b909250905060018215151461180f5760405162461bcd60e51b815260206004820152604d60248201527f4d6573736167652070617373696e67207072656465706c6f7920686173206e6f60448201527f74206265656e20696e697469616c697a6564206f7220696e76616c696420707260648201527f6f6f662070726f76696465642e00000000000000000000000000000000000000608482015260a401610567565b600061181a826118bf565b905061188b8460405160200161183291815260200190565b60408051601f19818403018152908290527f010000000000000000000000000000000000000000000000000000000000000060208301529060210160405160208183030381529060405288608001518460400151611983565b979650505050505050565b6000606060006118a5866119a7565b90506118b28186866119d9565b9250925050935093915050565b6040805160808101825260008082526020820181905291810182905260608101829052906118ec83611ab4565b9050604051806080016040528061191c8360008151811061190f5761190f61365c565b6020026020010151611ae7565b81526020016119378360018151811061190f5761190f61365c565b815260200161195f836002815181106119525761195261365c565b6020026020010151611aee565b815260200161197a836003815181106119525761195261365c565b90529392505050565b60008061198f866119a7565b905061199d81868686611bf0565b9695505050505050565b606081805190602001206040516020016119c391815260200190565b6040516020818303038152906040529050919050565b6000606060006119e885611c26565b905060008060006119fa848a89611d21565b81519295509093509150158080611a0e5750815b611a5a5760405162461bcd60e51b815260206004820152601a60248201527f50726f76696465642070726f6f6620697320696e76616c69642e0000000000006044820152606401610567565b600081611a765760405180602001604052806000815250611aa2565b611aa286611a856001886136ba565b81518110611a9557611a9561365c565b60200260200101516121bc565b919b919a509098505050505050505050565b6040805180820182526000808252602091820152815180830190925282518252808301908201526060906104f8906121e6565b60006104f8825b6000602182600001511115611b455760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000806000611b53856123e5565b919450925090506000816001811115611b6e57611b6e6136d1565b14611bbb5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420524c5020627974657333322076616c75652e0000000000006044820152606401610567565b6000838660200151611bcd9190613700565b8051909150602084101561199d5760208490036101000a90049695505050505050565b6000806000611c008786866119d9565b9150915081801561188b575080516020808301919091208751918801919091201461188b565b60606000611c3383611ab4565b90506000815167ffffffffffffffff811115611c5157611c51612d69565b604051908082528060200260200182016040528015611c9657816020015b6040805180820190915260608082526020820152815260200190600190039081611c6f5790505b50905060005b8251811015611d19576000611cc9848381518110611cbc57611cbc61365c565b6020026020010151612736565b90506040518060400160405280828152602001611ce583611ab4565b815250838381518110611cfa57611cfa61365c565b6020026020010181905250508080611d1190613718565b915050611c9c565b509392505050565b60006060818080611d31876127c6565b90506000869050600080611d58604051806040016040528060608152602001606081525090565b60005b8c51811015612178578c8181518110611d7657611d7661365c565b602002602001015191508284611d8c9190613700565b9350611d99600188613700565b965083611dfd57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420726f6f7420686173680000000000000000000000000000006044820152606401610567565b611eba565b815151602011611e5f57815180516020909101208514611df85760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206c6172676520696e7465726e616c206861736800000000006044820152606401610567565b84611e6d8360000151612949565b14611eba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420696e7465726e616c206e6f646520686173680000000000006044820152606401610567565b611ec660106001613700565b8260200151511415611f3f578551841415611ee057612178565b6000868581518110611ef457611ef461365c565b602001015160f81c60f81b60f81c9050600083602001518260ff1681518110611f1f57611f1f61365c565b60200260200101519050611f3281612971565b9650600194505050612166565b6002826020015151141561211e576000611f58836129a7565b9050600081600081518110611f6f57611f6f61365c565b016020015160f81c90506000611f86600283613780565b611f919060026137a2565b90506000611fa2848360ff166129cb565b90506000611fb08b8a6129cb565b90506000611fbe8383612a01565b905060ff851660021480611fd5575060ff85166003145b1561202b57808351148015611fea5750808251145b15611ffc57611ff9818b613700565b99505b507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b60ff8516158061203e575060ff85166001145b156120b0578251811461207a57507f80000000000000000000000000000000000000000000000000000000000000009950612178945050505050565b6120a188602001516001815181106120945761209461365c565b6020026020010151612971565b9a509750612166945050505050565b60405162461bcd60e51b815260206004820152602660248201527f52656365697665642061206e6f6465207769746820616e20756e6b6e6f776e2060448201527f70726566697800000000000000000000000000000000000000000000000000006064820152608401610567565b60405162461bcd60e51b815260206004820152601d60248201527f526563656976656420616e20756e706172736561626c65206e6f64652e0000006044820152606401610567565b8061217081613718565b915050611d5b565b507f80000000000000000000000000000000000000000000000000000000000000008414866121a787866129cb565b909e909d50909b509950505050505050505050565b602081015180516060916104f8916121d6906001906136ba565b81518110611cbc57611cbc61365c565b60606000806121f4846123e5565b91935090915060019050816001811115612210576122106136d1565b1461225d5760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c50206c6973742076616c75652e0000000000000000006044820152606401610567565b6040805160208082526104208201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816122765790505090506000835b86518110156123da57602082106123225760405162461bcd60e51b815260206004820152602a60248201527f50726f766964656420524c50206c6973742065786365656473206d6178206c6960448201527f7374206c656e6774682e000000000000000000000000000000000000000000006064820152608401610567565b60008061235f6040518060400160405280858c6000015161234391906136ba565b8152602001858c602001516123589190613700565b90526123e5565b50915091506040518060400160405280838361237b9190613700565b8152602001848b602001516123909190613700565b8152508585815181106123a5576123a561365c565b60209081029190910101526123bb600185613700565b93506123c78183613700565b6123d19084613700565b925050506122a3565b508152949350505050565b60008060008084600001511161243d5760405162461bcd60e51b815260206004820152601860248201527f524c50206974656d2063616e6e6f74206265206e756c6c2e00000000000000006044820152606401610567565b6020840151805160001a607f811161246257600060016000945094509450505061272f565b60b781116124de5760006124776080836136ba565b9050808760000151116124cc5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420524c502073686f727420737472696e672e000000000000006044820152606401610567565b6001955093506000925061272f915050565b60bf81116125cd5760006124f360b7836136ba565b9050808760000151116125485760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420524c50206c6f6e6720737472696e67206c656e6774682e006044820152606401610567565b600183015160208290036101000a90046125628183613700565b8851116125b15760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c50206c6f6e6720737472696e672e00000000000000006044820152606401610567565b6125bc826001613700565b965094506000935061272f92505050565b60f781116126485760006125e260c0836136ba565b9050808760000151116126375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420524c502073686f7274206c6973742e0000000000000000006044820152606401610567565b60019550935084925061272f915050565b600061265560f7836136ba565b9050808760000151116126aa5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420524c50206c6f6e67206c697374206c656e6774682e0000006044820152606401610567565b600183015160208290036101000a90046126c48183613700565b8851116127135760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420524c50206c6f6e67206c6973742e000000000000000000006044820152606401610567565b61271e826001613700565b965094506001935061272f92505050565b9193909250565b60606000806000612746856123e5565b919450925090506000816001811115612761576127616136d1565b146127ae5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420524c502062797465732076616c75652e00000000000000006044820152606401610567565b6127bd85602001518484612aad565b95945050505050565b60606000825160026127d891906137c5565b67ffffffffffffffff8111156127f0576127f0612d69565b6040519080825280601f01601f19166020018201604052801561281a576020820181803683370190505b50905060005b835181101561294257600484828151811061283d5761283d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c826128728360026137c5565b815181106128825761288261365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108482815181106128c5576128c561365c565b01602001516128d7919060f81c613780565b60f81b826128e68360026137c5565b6128f1906001613700565b815181106129015761290161365c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061293a81613718565b915050612820565b5092915050565b600060208251101561295d57506020015190565b818060200190518101906104f89190613802565b600060606020836000015110156129925761298b83612b8c565b905061299e565b61299b83612736565b90505b61150981612949565b60606104f86129c68360200151600081518110611cbc57611cbc61365c565b6127c6565b6060825182106129ea57506040805160208101909152600081526104f8565b61150983838486516129fc91906136ba565b612b97565b6000805b808451118015612a155750808351115b8015612a965750828181518110612a2e57612a2e61365c565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848281518110612a6d57612a6d61365c565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156115095780612aa581613718565b915050612a05565b606060008267ffffffffffffffff811115612aca57612aca612d69565b6040519080825280601f01601f191660200182016040528015612af4576020820181803683370190505b509050805160001415612b08579050611509565b6000612b148587613700565b90506020820160005b612b2860208761381b565b811015612b5f5782518252612b3e602084613700565b9250612b4b602083613700565b915080612b5781613718565b915050612b1d565b5060006001602087066020036101000a039050808251168119845116178252839450505050509392505050565b60606104f882612d18565b606081612ba581601f613700565b1015612bf35760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b82612bfe8382613700565b1015612c4c5760405162461bcd60e51b815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610567565b612c568284613700565b84511015612ca65760405162461bcd60e51b815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610567565b606082158015612cc55760405191506000825260208201604052612d0f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612cfe578051835260209283019201612ce6565b5050858452601f01601f1916604052505b50949350505050565b60606104f8826020015160008460000151612aad565b600060208284031215612d4057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610fd657600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b60405290565b60405160a0810167ffffffffffffffff81118282101715612dbb57612dbb612d69565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0d57612e0d612d69565b604052919050565b600067ffffffffffffffff831115612e2f57612e2f612d69565b612e426020601f19601f86011601612de4565b9050828152838383011115612e5657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612e7e57600080fd5b61150983833560208501612e15565b803563ffffffff81168114612ea157600080fd5b919050565b600080600060608486031215612ebb57600080fd5b8335612ec681612d47565b9250602084013567ffffffffffffffff811115612ee257600080fd5b612eee86828701612e6d565b925050612efd60408501612e8d565b90509250925092565b600060208284031215612f1857600080fd5b813567ffffffffffffffff811115612f2f57600080fd5b8201601f81018413612f4057600080fd5b612f4f84823560208401612e15565b949350505050565b60008060008060008060c08789031215612f7057600080fd5b8635612f7b81612d47565b95506020870135612f8b81612d47565b9450604087013567ffffffffffffffff811115612fa757600080fd5b612fb389828a01612e6d565b94505060608701359250612fc960808801612e8d565b9150612fd760a08801612e8d565b90509295509295509295565b600060208284031215612ff557600080fd5b813561150981612d47565b600060a0828403121561301257600080fd5b60405160a0810167ffffffffffffffff828210818311171561303657613036612d69565b8160405282935084358352602085013560208401526040850135604084015260608501356060840152608085013591508082111561307357600080fd5b5061308085828601612e6d565b6080830152505092915050565b60006040828403121561309f57600080fd5b6130a7612d98565b90508135815260208083013567ffffffffffffffff808211156130c957600080fd5b818501915085601f8301126130dd57600080fd5b8135818111156130ef576130ef612d69565b8060051b9150613100848301612de4565b818152918301840191848101908884111561311a57600080fd5b938501935b838510156131385784358252938501939085019061311f565b808688015250505050505092915050565b600080600080600060a0868803121561316157600080fd5b853561316c81612d47565b9450602086013561317c81612d47565b9350604086013567ffffffffffffffff8082111561319957600080fd5b6131a589838a01612e6d565b94506060880135935060808801359150808211156131c257600080fd5b9087019060a0828a0312156131d657600080fd5b6131de612dc1565b823581526020830135828111156131f457600080fd5b6132008b828601613000565b60208301525060408301358281111561321857600080fd5b6132248b82860161308d565b60408301525060608301358281111561323c57600080fd5b6132488b828601612e6d565b60608301525060808301358281111561326057600080fd5b61326c8b828601612e6d565b6080830152508093505050509295509295909350565b805164ffffffffff81168114612ea157600080fd5b6000602082840312156132a957600080fd5b61150982613282565b60005b838110156132cd5781810151838201526020016132b5565b838111156132dc576000848401525b50505050565b600081518084526132fa8160208601602086016132b2565b601f01601f19169290920160200192915050565b73ffffffffffffffffffffffffffffffffffffffff8516815260806020820152600061333d60808301866132e2565b905064ffffffffff8416604083015263ffffffff8316606083015295945050505050565b60208152600061150960208301846132e2565b60006020828403121561338657600080fd5b815161150981612d47565b6000606082840312156133a357600080fd5b6040516060810181811067ffffffffffffffff821117156133c6576133c6612d69565b604052825181526133d960208401613282565b60208201526133ea60408401613282565b60408201529392505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525063ffffffff841660408301526080606083015261199d60808301846132e2565b6000825161344d8184602087016132b2565b9190910192915050565b600084516134698184602089016132b2565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250608060408301526134e260808301856132e2565b905082606083015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff841681528260208201526060604082015260006127bd60608301846132e2565b805182526020810151602083015260408101516040830152606081015160608301526000608082015160a06080850152612f4f60a08501826132e2565b6020815260006115096020830184613528565b60006020828403121561358a57600080fd5b8151801515811461150957600080fd5b838152600060206060818401526135b46060840186613528565b83810360408501526040810185518252828601516040848401528181518084526060850191508583019450600093505b8084101561360457845182529385019360019390930192908501906135e4565b509998505050505050505050565b600083516136248184602088016132b2565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cc576136cc61368b565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082198211156137135761371361368b565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561374a5761374a61368b565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061379357613793613751565b8060ff84160691505092915050565b600060ff821660ff8416808210156137bc576137bc61368b565b90039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137fd576137fd61368b565b500290565b60006020828403121561381457600080fd5b5051919050565b60008261382a5761382a613751565b50049056fea2646970667358221220c8cd169b919168f911dffe50407de9b3c321b6388069872b5a97be3545f41dca64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var wje=B((Noa,_U0)=>{_U0.exports={_format:"hh-sol-artifact-1",contractName:"L1StandardBridge",sourceName:"contracts/L1/messaging/L1StandardBridge.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b50600080546001600160a01b031916905561199e806100306000396000f3fe6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100c05760003560e01c80638b4c40b0116100745780639a2ac6d51161004e5780639a2ac6d514610288578063a9f9e6751461029b578063b1a1a882146102bb57600080fd5b80638b4c40b0146101375780638f601f661461021557806391c49bf81461025b57600080fd5b8063485cc955116100a5578063485cc955146101b557806358a997f6146101d5578063838b2520146101f557600080fd5b80631532ec341461013e5780633cb747bf1461015e57600080fd5b3661013957333b156101195760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f41000000000000000000000000000000000060448201526064015b60405180910390fd5b610137333362030d40604051806020016040528060008152506102ce565b005b600080fd5b34801561014a57600080fd5b50610137610159366004611357565b61041a565b34801561016a57600080fd5b5060005461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101c157600080fd5b506101376101d03660046113ca565b610790565b3480156101e157600080fd5b506101376101f036600461141c565b61086f565b34801561020157600080fd5b5061013761021036600461149f565b6108d6565b34801561022157600080fd5b5061024d6102303660046113ca565b600260209081526000928352604080842090915290825290205481565b6040519081526020016101ac565b34801561026757600080fd5b5060015461018b9073ffffffffffffffffffffffffffffffffffffffff1681565b610137610296366004611535565b6108ef565b3480156102a757600080fd5b506101376102b6366004611598565b610937565b6101376102c9366004611611565b610c59565b600063662a633a60e01b600073deaddeaddeaddeaddeaddeaddeaddeaddead000087873487604051602401610308969594939291906116da565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506103ac9073ffffffffffffffffffffffffffffffffffffffff168483610cef565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23348560405161040b929190611735565b60405180910390a35050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661045260005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104f25760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff1661052860005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561056d57600080fd5b505afa158015610581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a5919061174e565b73ffffffffffffffffffffffffffffffffffffffff161461062e5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8716908690604051610665919061176b565b60006040518083038185875af1925050503d80600081146106a2576040519150601f19603f3d011682016040523d82523d6000602084013e6106a7565b606091505b505090508061071e5760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527f20455448207472616e73666572206661696c65640000000000000000000000006064820152608401610110565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e63187878760405161077f939291906117d0565b60405180910390a350505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff161561081c5760405162461bcd60e51b815260206004820152602660248201527f436f6e74726163742068617320616c7265616479206265656e20696e6974696160448201527f6c697a65642e00000000000000000000000000000000000000000000000000006064820152608401610110565b6000805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560018054929093169116179055565b333b156108be5760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b6108ce8686333388888888610d77565b505050505050565b6108e68787338888888888610d77565b50505050505050565b61093133858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b50505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661096f60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a0f5760405162461bcd60e51b815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e746963617465640000000000000000000000000000000000006064820152608401610110565b8073ffffffffffffffffffffffffffffffffffffffff16610a4560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8a57600080fd5b505afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac2919061174e565b73ffffffffffffffffffffffffffffffffffffffff1614610b4b5760405162461bcd60e51b815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610110565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b1683529290522054610b89908590611822565b73ffffffffffffffffffffffffffffffffffffffff808a166000818152600260209081526040808320948d1683529390529190912091909155610bcd908686610f27565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b388888888604051610c479493929190611839565b60405180910390a45050505050505050565b333b15610ca85760405162461bcd60e51b815260206004820152600f60248201527f4163636f756e74206e6f7420454f4100000000000000000000000000000000006044820152606401610110565b610cea33338585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506102ce92505050565b505050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610d4990869085908790600401611879565b600060405180830381600087803b158015610d6357600080fd5b505af11580156108e6573d6000803e3d6000fd5b610d9973ffffffffffffffffffffffffffffffffffffffff8916873087610ffb565b600063662a633a60e01b89898989898888604051602401610dc097969594939291906118be565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600154909150610e649073ffffffffffffffffffffffffffffffffffffffff168583610cef565b73ffffffffffffffffffffffffffffffffffffffff808a166000908152600260209081526040808320938c1683529290522054610ea290869061191b565b73ffffffffffffffffffffffffffffffffffffffff808b1660008181526002602090815260408083208e86168085529252918290209490945551918a1692917f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039690610f14908b908b908a908a90611839565b60405180910390a4505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610cea9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611059565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526109319085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610f79565b60006110bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661114b9092919063ffffffff16565b805190915015610cea57808060200190518101906110d99190611933565b610cea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610110565b606061115a8484600085611164565b90505b9392505050565b6060824710156111dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610110565b843b61122a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610110565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611253919061176b565b60006040518083038185875af1925050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b50915091506112a58282866112b0565b979650505050505050565b606083156112bf57508161115d565b8251156112cf5782518084602001fd5b8160405162461bcd60e51b81526004016101109190611955565b73ffffffffffffffffffffffffffffffffffffffff8116811461130b57600080fd5b50565b60008083601f84011261132057600080fd5b50813567ffffffffffffffff81111561133857600080fd5b60208301915083602082850101111561135057600080fd5b9250929050565b60008060008060006080868803121561136f57600080fd5b853561137a816112e9565b9450602086013561138a816112e9565b935060408601359250606086013567ffffffffffffffff8111156113ad57600080fd5b6113b98882890161130e565b969995985093965092949392505050565b600080604083850312156113dd57600080fd5b82356113e8816112e9565b915060208301356113f8816112e9565b809150509250929050565b803563ffffffff8116811461141757600080fd5b919050565b60008060008060008060a0878903121561143557600080fd5b8635611440816112e9565b95506020870135611450816112e9565b94506040870135935061146560608801611403565b9250608087013567ffffffffffffffff81111561148157600080fd5b61148d89828a0161130e565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156114ba57600080fd5b87356114c5816112e9565b965060208801356114d5816112e9565b955060408801356114e5816112e9565b9450606088013593506114fa60808901611403565b925060a088013567ffffffffffffffff81111561151657600080fd5b6115228a828b0161130e565b989b979a50959850939692959293505050565b6000806000806060858703121561154b57600080fd5b8435611556816112e9565b935061156460208601611403565b9250604085013567ffffffffffffffff81111561158057600080fd5b61158c8782880161130e565b95989497509550505050565b600080600080600080600060c0888a0312156115b357600080fd5b87356115be816112e9565b965060208801356115ce816112e9565b955060408801356115de816112e9565b945060608801356115ee816112e9565b93506080880135925060a088013567ffffffffffffffff81111561151657600080fd5b60008060006040848603121561162657600080fd5b61162f84611403565b9250602084013567ffffffffffffffff81111561164b57600080fd5b6116578682870161130e565b9497909650939450505050565b60005b8381101561167f578181015183820152602001611667565b838111156109315750506000910152565b600081518084526116a8816020860160208601611664565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a083015261172960c0830184611690565b98975050505050505050565b82815260406020820152600061115a6040830184611690565b60006020828403121561176057600080fd5b815161115d816112e9565b6000825161177d818460208701611664565b9190910192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b8381526040602082015260006117ea604083018486611787565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611834576118346117f3565b500390565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152600061186f606083018486611787565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006118a86060830185611690565b905063ffffffff83166040830152949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261190e60c083018486611787565b9998505050505050505050565b6000821982111561192e5761192e6117f3565b500190565b60006020828403121561194557600080fd5b8151801515811461115d57600080fd5b60208152600061115d602083018461169056fea26469706673582212209e8d495a5c754054f8fb1569a883aab4029fddac8f25cf6ce1219795b06797ad64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var xje=B((Foa,wU0)=>{wU0.exports={_format:"hh-sol-artifact-1",contractName:"CanonicalTransactionChain",sourceName:"contracts/L1/rollup/CanonicalTransactionChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405162001a9838038062001a9883398101604081905261003191610072565b600080546001600160a01b0319166001600160a01b03861617905560048390556002829055600181905561006581836100bd565b600355506100ea92505050565b6000806000806080858703121561008857600080fd5b84516001600160a01b038116811461009f57600080fd5b60208601516040870151606090970151919890975090945092505050565b60008160001904831182151516156100e557634e487b7160e01b600052601160045260246000fd5b500290565b61199e80620000fa6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061016c5760003560e01c8063876ed5cb116100cd578063d0f8934411610081578063e654b1fb11610066578063e654b1fb146102c0578063edcc4a45146102c9578063f722b41a146102dc57600080fd5b8063d0f89344146102b0578063e561dddc146102b857600080fd5b8063b8f77005116100b2578063b8f7700514610297578063ccf987c81461029f578063cfdf677e146102a857600080fd5b8063876ed5cb146102855780638d38c6c11461028e57600080fd5b80635ae6256d1161012457806378f4b2f21161010957806378f4b2f2146102645780637a167a8a1461026e5780637aa63a861461027d57600080fd5b80635ae6256d146102475780636fee07e01461024f57600080fd5b80632a7f18be116101555780632a7f18be146101d25780633789977014610216578063461a44781461023457600080fd5b80630b3dfa9714610171578063299ca4781461018d575b600080fd5b61017a60035481565b6040519081526020015b60405180910390f35b6000546101ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610184565b6101e56101e03660046113e5565b6102e4565b604080518251815260208084015164ffffffffff908116918301919091529282015190921690820152606001610184565b61021e610362565b60405164ffffffffff9091168152602001610184565b6101ad6102423660046114c1565b610376565b61021e610423565b61026261025d366004611537565b610437565b005b61017a620186a081565b60055464ffffffffff1661021e565b61017a610899565b61017a61c35081565b61017a60045481565b60065461021e565b61017a60025481565b6101ad6108b4565b6102626108dc565b61017a610df8565b61017a60015481565b6102626102d73660046115a4565b610e7f565b61021e611016565b604080516060810182526000808252602082018190529181019190915260068281548110610314576103146115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401949094526501000000000090049092169181019190915292915050565b60008061036d611032565b50949350505050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac1906103cd908590600401611660565b60206040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d919061167a565b92915050565b60008061042e611032565b95945050505050565b61c350815111156104cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20646174612073697a652065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084015b60405180910390fd5b600454821115610561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f5472616e73616374696f6e20676173206c696d69742065786365656473206d6160448201527f78696d756d20666f7220726f6c6c7570207472616e73616374696f6e2e00000060648201526084016104c6565b620186a08210156105f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e73616374696f6e20676173206c696d697420746f6f206c6f7720746f60448201527f20656e71756575652e000000000000000000000000000000000000000000000060648201526084016104c6565b6003548211156106dc5760006002546003548461061191906116c6565b61061b91906116dd565b905060005a90508181116106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e73756666696369656e742067617320666f72204c322072617465206c696d60448201527f6974696e67206275726e2e00000000000000000000000000000000000000000060648201526084016104c6565b60005b825a6106c090846116c6565b10156106d857806106d081611718565b9150506106b4565b5050505b6000333214156106ed575033610706565b5033731111000000000000000000000000000000001111015b60008185858560405160200161071f9493929190611751565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012060608401835280845264ffffffffff42811692850192835243811693850193845260068054600181810183556000838152975160029092027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81019290925594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4090910180549651841665010000000000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000090971691909316179490941790559154919350610825916116c6565b9050808673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb58888426040516108899392919061179a565b60405180910390a4505050505050565b6000806108a4611032565b50505064ffffffffff1692915050565b60006108d760405180606001604052806021815260200161194860219139610376565b905090565b60043560d81c60093560e890811c90600c35901c6108f8610899565b8364ffffffffff161461098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016104c6565b6109cb6040518060400160405280600d81526020017f4f564d5f53657175656e63657200000000000000000000000000000000000000815250610376565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f68652053657175656e6365722e0000000000000000000000000000000000000060648201526084016104c6565b6000610a9762ffffff831660106117c3565b610aa290600f611800565b905064ffffffffff8116361015610b3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4e6f7420656e6f756768204261746368436f6e74657874732070726f7669646560448201527f642e00000000000000000000000000000000000000000000000000000000000060648201526084016104c6565b6005546040805160808101825260008082526020820181905291810182905260608101829052909164ffffffffff169060005b8562ffffff168163ffffffff161015610bcc576000610b928263ffffffff166110ed565b8051909350839150610ba49086611818565b9450826020015184610bb69190611840565b9350508080610bc490611860565b915050610b6e565b5060065464ffffffffff83161115610c8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f417474656d7074656420746f20617070656e64206d6f726520656c656d656e7460448201527f73207468616e2061726520617661696c61626c6520696e20746865207175657560648201527f652e000000000000000000000000000000000000000000000000000000000000608482015260a4016104c6565b6000610c9d8462ffffff8916611884565b63ffffffff169050600080836020015160001415610cc657505060408201516060830151610d37565b60006006610cd56001886118a9565b64ffffffffff1681548110610cec57610cec6115c6565b6000918252602091829020604080516060810182526002909302909101805483526001015464ffffffffff808216948401859052650100000000009091041691018190529093509150505b610d5b610d456001436116c6565b408a62ffffff168564ffffffffff168585611174565b7f602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899610d8684876118a9565b84610d8f610899565b6040805164ffffffffff94851681529390921660208401529082015260600160405180910390a15050600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff949094169390931790925550505050505050565b6000610e026108b4565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4757600080fd5b505afa158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d791906118c7565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061167a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c792063616c6c61626c6520627920746865204275726e2041646d696e2e60448201526064016104c6565b60018190556002829055610fc581836117c3565b60038190556002546001546040805192835260208301919091528101919091527fc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e9060600160405180910390a15050565b6005546006546000916108d79164ffffffffff909116906118a9565b60008060008060006110426108b4565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf91906118e0565b64ffffffffff602882901c811697605083901c82169750607883901c8216965060a09290921c169350915050565b6111186040518060800160405280600081526020016000815260200160008152602001600081525090565b60006111256010846117c3565b61113090600f611800565b60408051608081018252823560e890811c82526003840135901c6020820152600683013560d890811c92820192909252600b90920135901c60608201529392505050565b600061117e6108b4565b905060008061118b611032565b50509150915060006040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b1580156111e457600080fd5b505afa1580156111f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121c91906118c7565b81526020018a81526020018981526020018464ffffffffff16815260200160405180602001604052806000815250815250905080600001517f127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e82602001518360400151846060015185608001516040516112999493929190611922565b60405180910390a260006112ac8261139f565b905060006112e78360400151866112c39190611840565b6112cd8b87611840565b602890811b9190911760508b901b1760788a901b17901b90565b6040517f2015276c000000000000000000000000000000000000000000000000000000008152600481018490527fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008216602482015290915073ffffffffffffffffffffffffffffffffffffffff871690632015276c90604401600060405180830381600087803b15801561137a57600080fd5b505af115801561138e573d6000803e3d6000fd5b505050505050505050505050505050565b600081602001518260400151836060015184608001516040516020016113c89493929190611922565b604051602081830303815290604052805190602001209050919050565b6000602082840312156113f757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115611448576114486113fe565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561148e5761148e6113fe565b816040528093508581528686860111156114a757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156114d357600080fd5b813567ffffffffffffffff8111156114ea57600080fd5b8201601f810184136114fb57600080fd5b61150a8482356020840161142d565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461153457600080fd5b50565b60008060006060848603121561154c57600080fd5b833561155781611512565b925060208401359150604084013567ffffffffffffffff81111561157a57600080fd5b8401601f8101861361158b57600080fd5b61159a8682356020840161142d565b9150509250925092565b600080604083850312156115b757600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815180845260005b8181101561161b576020818501810151868301820152016115ff565b8181111561162d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061167360208301846115f5565b9392505050565b60006020828403121561168c57600080fd5b815161167381611512565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156116d8576116d8611697565b500390565b600082611713577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a611697565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261179060808301846115f5565b9695505050505050565b8381526060602082015260006117b360608301856115f5565b9050826040830152949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117fb576117fb611697565b500290565b6000821982111561181357611813611697565b500190565b600063ffffffff80831681851680830382111561183757611837611697565b01949350505050565b600064ffffffffff80831681851680830382111561183757611837611697565b600063ffffffff8083168181141561187a5761187a611697565b6001019392505050565b600063ffffffff838116908316818110156118a1576118a1611697565b039392505050565b600064ffffffffff838116908316818110156118a1576118a1611697565b6000602082840312156118d957600080fd5b5051919050565b6000602082840312156118f257600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461167357600080fd5b84815283602082015282604082015260806060820152600061179060808301846115f556fe436861696e53746f72616765436f6e7461696e65722d4354432d62617463686573a264697066735822122071f9046c41835cfaa3b888bb4aa8b907bdd46588ad69741847a96bf3fcaad90264736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Ije=B((Ooa,xU0)=>{xU0.exports={_format:"hh-sol-artifact-1",contractName:"ChainStorageContainer",sourceName:"contracts/L1/rollup/ChainStorageContainer.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620011b3380380620011b3833981016040819052620000349162000129565b600080546001600160a01b0319166001600160a01b0384161790558051620000649060019060208401906200006d565b50505062000266565b8280546200007b9062000229565b90600052602060002090601f0160209004810192826200009f5760008555620000ea565b82601f10620000ba57805160ff1916838001178555620000ea565b82800160010185558215620000ea579182015b82811115620000ea578251825591602001919060010190620000cd565b50620000f8929150620000fc565b5090565b5b80821115620000f85760008155600101620000fd565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200013d57600080fd5b82516001600160a01b03811681146200015557600080fd5b602084810151919350906001600160401b03808211156200017557600080fd5b818601915086601f8301126200018a57600080fd5b8151818111156200019f576200019f62000113565b604051601f8201601f19908116603f01168101908382118183101715620001ca57620001ca62000113565b816040528281528986848701011115620001e357600080fd5b600093505b82841015620002075784840186015181850187015292850192620001e8565b82841115620002195760008684830101525b8096505050505050509250929050565b600181811c908216806200023e57607f821691505b602082108114156200026057634e487b7160e01b600052602260045260246000fd5b50919050565b610f3d80620002766000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063461a4478116100815780639507d39a1161005b5780639507d39a146101a4578063b298e36b146101b7578063ccf8f969146101ca57600080fd5b8063461a4478146101695780634651d91e1461017c5780638da5cb5b1461018f57600080fd5b80632015276c116100b25780632015276c146100fe57806329061de214610111578063299ca4781461012457600080fd5b8063167fd681146100ce5780631f7b6d32146100e3575b600080fd5b6100e16100dc366004610c59565b6101e9565b005b6100eb61034d565b6040519081526020015b60405180910390f35b6100e161010c366004610c59565b610365565b6100e161011f366004610c85565b61043d565b6000546101449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f5565b610144610177366004610cd6565b610517565b6100e161018a366004610da5565b6105c4565b61019761069b565b6040516100f59190610dbe565b6100eb6101b2366004610da5565b610729565b6100e16101c5366004610da5565b61073d565b6101d2610814565b60405164ffffffffff1990911681526020016100f5565b61027c600180546101f990610e31565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610e31565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b5050505050610517565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461033d57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e60648201526084015b60405180910390fd5b61034960028383610825565b5050565b6000610359600261090c565b64ffffffffff16905090565b610375600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461043157604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b61034960028383610957565b61044d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461050957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b6105146002826109e6565b50565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061056e908590600401610dbe565b60206040518083038186803b15801561058657600080fd5b505afa15801561059a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105be9190610e85565b92915050565b6105d4600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461069057604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610a47565b600180546106a890610e31565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490610e31565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b505050505081565b60006105be600264ffffffffff8416610aa4565b61074d600180546101f990610e31565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461080957604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f436861696e53746f72616765436f6e7461696e65723a2046756e6374696f6e2060448201527f63616e206f6e6c792062652063616c6c656420627920746865206f776e65722e6064820152608401610334565b610514600282610b73565b60006108206002610bd0565b905090565b600061086784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050806000015164ffffffffff168364ffffffffff16106108e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b64ffffffffff8316815264ffffffffff19821660208201526109068482610c1e565b50505050565b60008061094f83604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b519392505050565b600061099984604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805164ffffffffff16600090815260018601602052604090208490558051909150816109c482610ebb565b64ffffffffff1690525064ffffffffff19821660208201526109068482610c1e565b6000610a2883604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b64ffffffffff19831660208201529050610a428382610c1e565b505050565b6000610a8983604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856108259092919063ffffffff16565b600080610ae784604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b805190915064ffffffffff168310610b5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e646578206f7574206f6620626f756e64732e0000000000000000000000006044820152606401610334565b50506000908152600191909101602052604090205490565b6000610bb583604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b9050610a42828260200151856109579092919063ffffffff16565b600080610c1383604080518082019091526000808252602082015250546040805180820190915264ffffffffff8216815264ffffffffff19909116602082015290565b602001519392505050565b8051602082015183548183179291908314610c37578285555b5050505050565b803564ffffffffff1981168114610c5457600080fd5b919050565b60008060408385031215610c6c57600080fd5b82359150610c7c60208401610c3e565b90509250929050565b600060208284031215610c9757600080fd5b610ca082610c3e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610ce857600080fd5b813567ffffffffffffffff80821115610d0057600080fd5b818401915084601f830112610d1457600080fd5b813581811115610d2657610d26610ca7565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610d6c57610d6c610ca7565b81604052828152876020848701011115610d8557600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208284031215610db757600080fd5b5035919050565b600060208083528351808285015260005b81811015610deb57858101830151858201604001528201610dcf565b81811115610dfd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c90821680610e4557607f821691505b60208210811415610e7f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215610e9757600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610ca057600080fd5b600064ffffffffff80831681811415610efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600101939250505056fea2646970667358221220e1995ee56c4c5e67de41c56ad510b16704727d3ab1fa5bb2e3c62b0bd7c0597564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Eje=B((Voa,IU0)=>{IU0.exports={_format:"hh-sol-artifact-1",contractName:"ICanonicalTransactionChain",sourceName:"contracts/L1/rollup/ICanonicalTransactionChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Dje=B(($oa,EU0)=>{EU0.exports={_format:"hh-sol-artifact-1",contractName:"IChainStorageContainer",sourceName:"contracts/L1/rollup/IChainStorageContainer.sol",abi:[{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Cje=B((Uoa,DU0)=>{DU0.exports={_format:"hh-sol-artifact-1",contractName:"IStateCommitmentChain",sourceName:"contracts/L1/rollup/IStateCommitmentChain.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"_verified",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Sje=B((qoa,CU0)=>{CU0.exports={_format:"hh-sol-artifact-1",contractName:"StateCommitmentChain",sourceName:"contracts/L1/rollup/StateCommitmentChain.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516120bb3803806120bb83398101604081905261002f9161005b565b600080546001600160a01b0319166001600160a01b03949094169390931790925560015560025561009e565b60008060006060848603121561007057600080fd5b83516001600160a01b038116811461008757600080fd5b602085015160409095015190969495509392505050565b61200e806100ad6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80638ca5cbb911610081578063c17b291b1161005b578063c17b291b146101bb578063cfdf677e146101c4578063e561dddc146101cc57600080fd5b80638ca5cbb9146101805780639418bddd14610195578063b8e189ac146101a857600080fd5b80637aa63a86116100b25780637aa63a86146101595780637ad168a01461016f57806381eb62ef1461017757600080fd5b8063299ca478146100d9578063461a4478146101235780634d69ee5714610136575b600080fd5b6000546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100f9610131366004611a1b565b6101d4565b610149610144366004611b8d565b610281565b604051901515815260200161011a565b610161610350565b60405190815260200161011a565b610161610369565b61016160025481565b61019361018e366004611c4a565b610382565b005b6101496101a3366004611c8f565b61075c565b6101936101b6366004611c8f565b610804565b61016160015481565b6100f96109c0565b6101616109e8565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061022b908590600401611d2f565b60206040518083038186803b15801561024357600080fd5b505afa158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190611d64565b92915050565b600061028c83610a6f565b6102dd5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064015b60405180910390fd5b6102fa836020015185846000015185602001518760400151610b31565b6103465760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420696e636c7573696f6e2070726f6f662e000000000000000060448201526064016102d4565b5060019392505050565b60008061035b610d9f565b5064ffffffffff1692915050565b600080610374610d9f565b64ffffffffff169392505050565b61038a610350565b81146103fe5760405162461bcd60e51b815260206004820152603d60248201527f41637475616c20626174636820737461727420696e64657820646f6573206e6f60448201527f74206d6174636820657870656374656420737461727420696e6465782e00000060648201526084016102d4565b61043c6040518060400160405280600b81526020017f426f6e644d616e616765720000000000000000000000000000000000000000008152506101d4565b6040517f02ad4d2a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff91909116906302ad4d2a9060240160206040518083038186803b1580156104a357600080fd5b505afa1580156104b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104db9190611d81565b61054d5760405162461bcd60e51b815260206004820152602f60248201527f50726f706f73657220646f6573206e6f74206861766520656e6f75676820636f60448201527f6c6c61746572616c20706f73746564000000000000000000000000000000000060648201526084016102d4565b60008251116105c45760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207375626d697420616e20656d7074792073746174652062617460448201527f63682e000000000000000000000000000000000000000000000000000000000060648201526084016102d4565b6106026040518060400160405280601981526020017f43616e6f6e6963616c5472616e73616374696f6e436861696e000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff16637aa63a866040518163ffffffff1660e01b815260040160206040518083038186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190611da3565b8251610689610350565b6106939190611deb565b111561072d5760405162461bcd60e51b815260206004820152604960248201527f4e756d626572206f6620737461746520726f6f74732063616e6e6f742065786360448201527f65656420746865206e756d626572206f662063616e6f6e6963616c207472616e60648201527f73616374696f6e732e0000000000000000000000000000000000000000000000608482015260a4016102d4565b6040805142602082015233818301528151808203830181526060909101909152610758908390610e43565b5050565b60008082608001518060200190518101906107779190611e03565b509050806107ed5760405162461bcd60e51b815260206004820152602560248201527f4261746368206865616465722074696d657374616d702063616e6e6f7420626560448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016102d4565b42600154826107fc9190611deb565b119392505050565b6108426040518060400160405280601181526020017f4f564d5f467261756456657269666965720000000000000000000000000000008152506101d4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e25760405162461bcd60e51b815260206004820152603b60248201527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f6420627920746865204f564d5f467261756456657269666965722e000000000060648201526084016102d4565b6108eb81610a6f565b6109375760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6109408161075c565b6109b4576040805162461bcd60e51b81526020600482015260248101919091527f537461746520626174636865732063616e206f6e6c792062652064656c65746560448201527f642077697468696e207468652066726175642070726f6f662077696e646f772e60648201526084016102d4565b6109bd816110e6565b50565b60006109e3604051806060016040528060218152602001611fb8602191396101d4565b905090565b60006109f26109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e39190611da3565b6000610a796109c0565b82516040517f9507d39a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921691639507d39a91610ad19160040190815260200190565b60206040518083038186803b158015610ae957600080fd5b505afa158015610afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b219190611da3565b610b2a83611317565b1492915050565b6000808211610ba85760405162461bcd60e51b815260206004820152603760248201527f4c69625f4d65726b6c65547265653a20546f74616c206c6561766573206d757360448201527f742062652067726561746572207468616e207a65726f2e00000000000000000060648201526084016102d4565b818410610c1c5760405162461bcd60e51b8152602060048201526024808201527f4c69625f4d65726b6c65547265653a20496e646578206f7574206f6620626f7560448201527f6e64732e0000000000000000000000000000000000000000000000000000000060648201526084016102d4565b610c258261135d565b835114610cc05760405162461bcd60e51b815260206004820152604d60248201527f4c69625f4d65726b6c65547265653a20546f74616c207369626c696e6773206460448201527f6f6573206e6f7420636f72726563746c7920636f72726573706f6e6420746f2060648201527f746f74616c206c65617665732e00000000000000000000000000000000000000608482015260a4016102d4565b8460005b8451811015610d92578560011660011415610d2b57848181518110610ceb57610ceb611e33565b602002602001015182604051602001610d0e929190918252602082015260400190565b604051602081830303815290604052805190602001209150610d79565b81858281518110610d3e57610d3e611e33565b6020026020010151604051602001610d60929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b60019590951c9480610d8a81611e62565b915050610cc4565b5090951495945050505050565b6000806000610dac6109c0565b73ffffffffffffffffffffffffffffffffffffffff1663ccf8f9696040518163ffffffff1660e01b815260040160206040518083038186803b158015610df157600080fd5b505afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611e9b565b64ffffffffff602882901c169460509190911c9350915050565b6000610e836040518060400160405280600c81526020017f4f564d5f50726f706f73657200000000000000000000000000000000000000008152506101d4565b9050600080610e90610d9f565b90925090503373ffffffffffffffffffffffffffffffffffffffff84161415610eba575042610f69565b426002548264ffffffffff16610ed09190611deb565b10610f695760405162461bcd60e51b815260206004820152604360248201527f43616e6e6f74207075626c69736820737461746520726f6f747320776974686960448201527f6e207468652073657175656e636572207075626c69636174696f6e2077696e6460648201527f6f772e0000000000000000000000000000000000000000000000000000000000608482015260a4016102d4565b60006040518060a00160405280610f7e6109e8565b8152602001610f8c88611443565b8152602001875181526020018464ffffffffff16815260200186815250905080600001517f16be4c5129a4e03cf3350262e181dc02ddfb4a6008d925368c0899fcd97ca9c58260200151836040015184606001518560800151604051610ff59493929190611edd565b60405180910390a26110056109c0565b73ffffffffffffffffffffffffffffffffffffffff16632015276c61102983611317565b61104e846040015185606001516110409190611deb565b602887811b91909117901b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b50505050505050505050565b6110ee6109c0565b73ffffffffffffffffffffffffffffffffffffffff16631f7b6d326040518163ffffffff1660e01b815260040160206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611da3565b8151106111ba5760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420626174636820696e6465782e00000000000000000000000060448201526064016102d4565b6111c381610a6f565b61120f5760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206261746368206865616465722e000000000000000000000060448201526064016102d4565b6112176109c0565b8151606083015173ffffffffffffffffffffffffffffffffffffffff929092169163167fd681919060281b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815260048101929092527fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000166024820152604401600060405180830381600087803b1580156112ba57600080fd5b505af11580156112ce573d6000803e3d6000fd5b5050505080600001517f8747b69ce8fdb31c3b9b0a67bd8049ad8c1a69ea417b69b12174068abd9cbd64826020015160405161130c91815260200190565b60405180910390a250565b600081602001518260400151836060015184608001516040516020016113409493929190611edd565b604051602081830303815290604052805190602001209050919050565b60008082116113d45760405162461bcd60e51b815260206004820152603060248201527f4c69625f4d65726b6c65547265653a2043616e6e6f7420636f6d70757465206360448201527f65696c286c6f675f3229206f6620302e0000000000000000000000000000000060648201526084016102d4565b81600114156113e557506000919050565b81600060805b600181106114235780611401600180831b611f0c565b901b83161561141b576114148183611deb565b92811c9291505b60011c6113eb565b506001811b841461143c57611439600182611deb565b90505b9392505050565b6000808251116114bb5760405162461bcd60e51b815260206004820152603460248201527f4c69625f4d65726b6c65547265653a204d7573742070726f766964652061742060448201527f6c65617374206f6e65206c65616620686173682e00000000000000000000000060648201526084016102d4565b8151600114156114e757816000815181106114d8576114d8611e33565b60200260200101519050919050565b60408051610200810182527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56381527f633dc4d7da7256660a892f8f1604a44b5432649cc8ec5cb3ced4c4e6ac94dd1d60208201527f890740a8eb06ce9be422cb8da5cdafc2b58c0a5e24036c578de2a433c828ff7d818301527f3b8ec09e026fdc305365dfc94e189a81b38c7597b3d941c279f042e8206e0bd86060808301919091527fecd50eee38e386bd62be9bedb990706951b65fe053bd9d8a521af753d139e2da60808301527fdefff6d330bb5403f63b14f33b578274160de3a50df4efecf0e0db73bcdd3da560a08301527f617bdd11f7c0a11f49db22f629387a12da7596f9d1704d7465177c63d88ec7d760c08301527f292c23a9aa1d8bea7e2435e555a4a60e379a5a35f3f452bae60121073fb6eead60e08301527fe1cea92ed99acdcb045a6726b2f87107e8a61620a232cf4d7d5b5766b3952e106101008301527f7ad66c0a68c72cb89e4fb4303841966e4062a76ab97451e3b9fb526a5ceb7f826101208301527fe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e836365166101408301527f3d04cffd8b46a874edf5cfae63077de85f849a660426697b06a829c70dd1409c6101608301527fad676aa337a485e4728a0b240d92b3ef7b3c372d06d189322bfd5f61f1e7203e6101808301527fa2fca4a49658f9fab7aa63289c91b7c7b6c832a6d0e69334ff5b0a3483d09dab6101a08301527f4ebfd9cd7bca2505f7bef59cc1c12ecc708fff26ae4af19abe852afe9e20c8626101c08301527f2def10d13dd169f550f578bda343d9717a138562e0093b380a1120789d53cf106101e083015282518381529081018352909160009190602082018180368337505085519192506000918291508180805b60018411156118fd57611798600285611f52565b91506117a5600285611f66565b600114905060005b82811015611851578a6117c1826002611f7a565b815181106117d1576117d1611e33565b602002602001015196508a8160026117e99190611f7a565b6117f4906001611deb565b8151811061180457611804611e33565b6020026020010151955086602089015285604089015287805190602001208b828151811061183457611834611e33565b60209081029190910101528061184981611e62565b9150506117ad565b5080156118cd5789611864600186611f0c565b8151811061187457611874611e33565b6020026020010151955087836010811061189057611890611e33565b602002015160001b945085602088015284604088015286805190602001208a83815181106118c0576118c0611e33565b6020026020010181815250505b806118d95760006118dc565b60015b6118e99060ff1683611deb565b9350826118f581611e62565b935050611784565b8960008151811061191057611910611e33565b602002602001015198505050505050505050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199d5761199d611927565b604052919050565b600067ffffffffffffffff8311156119bf576119bf611927565b6119f060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611956565b9050828152838383011115611a0457600080fd5b828260208301376000602084830101529392505050565b600060208284031215611a2d57600080fd5b813567ffffffffffffffff811115611a4457600080fd5b8201601f81018413611a5557600080fd5b611a64848235602084016119a5565b949350505050565b600060a08284031215611a7e57600080fd5b60405160a0810167ffffffffffffffff8282108183111715611aa257611aa2611927565b81604052829350843583526020850135602084015260408501356040840152606085013560608401526080850135915080821115611adf57600080fd5b508301601f81018513611af157600080fd5b611b00858235602084016119a5565b6080830152505092915050565b600082601f830112611b1e57600080fd5b8135602067ffffffffffffffff821115611b3a57611b3a611927565b8160051b611b49828201611956565b9283528481018201928281019087851115611b6357600080fd5b83870192505b84831015611b8257823582529183019190830190611b69565b979650505050505050565b600080600060608486031215611ba257600080fd5b83359250602084013567ffffffffffffffff80821115611bc157600080fd5b611bcd87838801611a6c565b93506040860135915080821115611be357600080fd5b9085019060408288031215611bf757600080fd5b604051604081018181108382111715611c1257611c12611927565b60405282358152602083013582811115611c2b57600080fd5b611c3789828601611b0d565b6020830152508093505050509250925092565b60008060408385031215611c5d57600080fd5b823567ffffffffffffffff811115611c7457600080fd5b611c8085828601611b0d565b95602094909401359450505050565b600060208284031215611ca157600080fd5b813567ffffffffffffffff811115611cb857600080fd5b611a6484828501611a6c565b6000815180845260005b81811015611cea57602081850181015186830182015201611cce565b81811115611cfc576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061143c6020830184611cc4565b73ffffffffffffffffffffffffffffffffffffffff811681146109bd57600080fd5b600060208284031215611d7657600080fd5b815161143c81611d42565b600060208284031215611d9357600080fd5b8151801515811461143c57600080fd5b600060208284031215611db557600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611dfe57611dfe611dbc565b500190565b60008060408385031215611e1657600080fd5b825191506020830151611e2881611d42565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e9457611e94611dbc565b5060010190565b600060208284031215611ead57600080fd5b81517fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000008116811461143c57600080fd5b848152836020820152826040820152608060608201526000611f026080830184611cc4565b9695505050505050565b600082821015611f1e57611f1e611dbc565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611f6157611f61611f23565b500490565b600082611f7557611f75611f23565b500690565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611fb257611fb2611dbc565b50029056fe436861696e53746f72616765436f6e7461696e65722d5343432d62617463686573a26469706673582212209fa13437d607d4f762adfcb0d6685a91847a6cbe7462977fd99188a01185f7b564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Aje=B((Hoa,SU0)=>{SU0.exports={_format:"hh-sol-artifact-1",contractName:"BondManager",sourceName:"contracts/L1/verification/BondManager.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161048838038061048883398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6103f5806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100415760003560e01c806302ad4d2a14610046578063299ca4781461006e578063461a4478146100b3575b600080fd5b61005961005436600461020d565b6100c6565b60405190151581526020015b60405180910390f35b60005461008e9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610065565b61008e6100c1366004610260565b61013b565b60006101066040518060400160405280600c81526020017f4f564d5f50726f706f736572000000000000000000000000000000000000000081525061013b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080546040517fbf40fac100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061019290859060040161032f565b60206040518083038186803b1580156101aa57600080fd5b505afa1580156101be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e291906103a2565b92915050565b73ffffffffffffffffffffffffffffffffffffffff8116811461020a57600080fd5b50565b60006020828403121561021f57600080fd5b813561022a816101e8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561027257600080fd5b813567ffffffffffffffff8082111561028a57600080fd5b818401915084601f83011261029e57600080fd5b8135818111156102b0576102b0610231565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156102f6576102f6610231565b8160405282815287602084870101111561030f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561035c57858101830151858201604001528201610340565b8181111561036e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000602082840312156103b457600080fd5b815161022a816101e856fea26469706673582212206d45ac9d4da85c7fa5ddf8f46b2c33843e35e585aeabba15cbcdb39ea83ef2e064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var kje=B((zoa,AU0)=>{AU0.exports={_format:"hh-sol-artifact-1",contractName:"IBondManager",sourceName:"contracts/L1/verification/IBondManager.sol",abi:[{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Pje=B((Woa,kU0)=>{kU0.exports={_format:"hh-sol-artifact-1",contractName:"IL2CrossDomainMessenger",sourceName:"contracts/L2/messaging/IL2CrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Rje=B((joa,PU0)=>{PU0.exports={_format:"hh-sol-artifact-1",contractName:"IL2ERC20Bridge",sourceName:"contracts/L2/messaging/IL2ERC20Bridge.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Lje=B((Goa,RU0)=>{RU0.exports={_format:"hh-sol-artifact-1",contractName:"L2CrossDomainMessenger",sourceName:"contracts/L2/messaging/L2CrossDomainMessenger.sol",abi:[{inputs:[{internalType:"address",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[],name:"l1CrossDomainMessenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x6080604052600480546001600160a01b03191661dead17905534801561002457600080fd5b50604051610cc3380380610cc383398101604081905261004391610068565b600580546001600160a01b0319166001600160a01b0392909216919091179055610098565b60006020828403121561007a57600080fd5b81516001600160a01b038116811461009157600080fd5b9392505050565b610c1c806100a76000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a71198691161005b578063a71198691461012a578063b1b1b2091461014a578063cbd4ece91461016d578063ecc704281461018057600080fd5b806321d800ec1461008d5780633dbb202b146100c55780636e296e45146100da57806382e3702d14610107575b600080fd5b6100b061009b366004610826565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100d86100d3366004610942565b610197565b005b6100e26102e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bc565b6100b0610115366004610826565b60026020526000908152604090205460ff1681565b6005546100e29073ffffffffffffffffffffffffffffffffffffffff1681565b6100b0610158366004610826565b60016020526000908152604090205460ff1681565b6100d861017b3660046109ad565b61038b565b61018960035481565b6040519081526020016100bc565b60006101a784338560035461078d565b80516020808301919091206000908152600290915260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517fcafa81dc0000000000000000000000000000000000000000000000000000000081529091507342000000000000000000000000000000000000009063cafa81dc9061023c908490600401610a89565b600060405180830381600087803b15801561025657600080fd5b505af115801561026a573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385600354866040516102bc9493929190610aa3565b60405180910390a26001600360008282546102d79190610aef565b909155505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1661dead141561036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f78446f6d61696e4d65737361676553656e646572206973206e6f74207365740060448201526064015b60405180910390fd5b5060045473ffffffffffffffffffffffffffffffffffffffff1690565b60055473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef330173ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f50726f7669646564206d65737361676520636f756c64206e6f7420626520766560448201527f7269666965642e000000000000000000000000000000000000000000000000006064820152608401610365565b60006104788585858561078d565b8051602080830191909120600081815260019092526040909120549192509060ff1615610527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f50726f7669646564206d6573736167652068617320616c72656164792062656560448201527f6e2072656365697665642e0000000000000000000000000000000000000000006064820152608401610365565b73ffffffffffffffffffffffffffffffffffffffff8616734200000000000000000000000000000000000000141561059957600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909117905550610787565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff878116919091179091556040516000918816906105f2908790610b2e565b6000604051808303816000865af19150503d806000811461062f576040519150601f19603f3d011682016040523d82523d6000602084013e610634565b606091505b5050600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790559050801515600114156106d557600082815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169092179091555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a2610701565b60405182907f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f90600090a25b600083334360405160200161071893929190610b4a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600090815291829052902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050505b50505050565b6060848484846040516024016107a69493929190610b9c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b60006020828403121561083857600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086357600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126108a857600080fd5b813567ffffffffffffffff808211156108c3576108c3610868565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561090957610909610868565b8160405283815286602085880101111561092257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561095757600080fd5b6109608461083f565b9250602084013567ffffffffffffffff81111561097c57600080fd5b61098886828701610897565b925050604084013563ffffffff811681146109a257600080fd5b809150509250925092565b600080600080608085870312156109c357600080fd5b6109cc8561083f565b93506109da6020860161083f565b9250604085013567ffffffffffffffff8111156109f657600080fd5b610a0287828801610897565b949793965093946060013593505050565b60005b83811015610a2e578181015183820152602001610a16565b838111156107875750506000910152565b60008151808452610a57816020860160208601610a13565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610a9c6020830184610a3f565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000610ad26080830186610a3f565b905083604083015263ffffffff8316606083015295945050505050565b60008219821115610b29577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b60008251610b40818460208701610a13565b9190910192915050565b60008451610b5c818460208901610a13565b60609490941b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001691909301908152601481019190915260340192915050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152610bd56080830185610a3f565b90508260608301529594505050505056fea26469706673582212200850448c0279e4b97192d90d3a7dc1713b21b1d60ff8c8e34c2f8910d610b65064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Mje=B((Koa,LU0)=>{LU0.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardBridge",sourceName:"contracts/L2/messaging/L2StandardBridge.sol",abi:[{inputs:[{internalType:"address",name:"_l2CrossDomainMessenger",type:"address"},{internalType:"address",name:"_l1TokenBridge",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFailed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"DepositFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"WithdrawalInitiated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l1Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506040516111c43803806111c483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b611106806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80633cb747bf116100505780633cb747bf146100ca578063662a633a146100ea578063a3a79548146100fd57600080fd5b806332b7006d1461006c57806336c717c114610081575b600080fd5b61007f61007a366004610d0f565b610110565b005b6001546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100a19073ffffffffffffffffffffffffffffffffffffffff1681565b61007f6100f8366004610d80565b610126565b61007f61010b366004610e18565b6106c1565b61011f853333878787876106d8565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1661015e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661025360005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561029857600080fd5b505afa1580156102ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d09190610e9b565b73ffffffffffffffffffffffffffffffffffffffff1614610373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d657373616765000000000000000000000000000000006064820152608401610214565b61039d877f1d1d8b6300000000000000000000000000000000000000000000000000000000610a32565b801561045357508673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156103ec57600080fd5b505af1158015610400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104249190610e9b565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16145b15610567576040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690528816906340c10f1990604401600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd898888888860405161055a9493929190610f08565b60405180910390a46106b7565b600063a9f9e67560e01b8989888a89898960405160240161058e9796959493929190610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506106339073ffffffffffffffffffffffffffffffffffffffff16600083610a57565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f7ea89a4591614515571c2b51f5ea06494056f261c10ab1ed8c03c7590d87bce0898989896040516106ad9493929190610f08565b60405180910390a4505b5050505050505050565b6106d0863387878787876106d8565b505050505050565b6040517f9dc29fac0000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff881690639dc29fac90604401600060405180830381600087803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505060008773ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156107a857600080fd5b505af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610e9b565b9050606073ffffffffffffffffffffffffffffffffffffffff891673deaddeaddeaddeaddeaddeaddeaddeaddead000014156108d5576040517f1532ec340000000000000000000000000000000000000000000000000000000090610851908a908a908a9089908990602401610f9b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050610994565b6040517fa9f9e67500000000000000000000000000000000000000000000000000000000906109149084908c908c908c908c908b908b90602401610f3e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290505b6001546109b89073ffffffffffffffffffffffffffffffffffffffff168683610a57565b3373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e8a8a89896040516106ad9493929190610f08565b6000610a3d83610ae8565b8015610a4e5750610a4e8383610b4c565b90505b92915050565b6000546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690633dbb202b90610ab190869085908790600401611016565b600060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b50505050505050565b6000610b14827f01ffc9a700000000000000000000000000000000000000000000000000000000610b4c565b8015610a515750610b45827fffffffff00000000000000000000000000000000000000000000000000000000610b4c565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a7000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff87169061753090610c06908690611092565b6000604051808303818686fa925050503d8060008114610c42576040519150601f19603f3d011682016040523d82523d6000602084013e610c47565b606091505b5091509150602081511015610c625760009350505050610a51565b818015610c7e575080806020019051810190610c7e91906110ae565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610caa57600080fd5b50565b803563ffffffff81168114610cc157600080fd5b919050565b60008083601f840112610cd857600080fd5b50813567ffffffffffffffff811115610cf057600080fd5b602083019150836020828501011115610d0857600080fd5b9250929050565b600080600080600060808688031215610d2757600080fd5b8535610d3281610c88565b945060208601359350610d4760408701610cad565b9250606086013567ffffffffffffffff811115610d6357600080fd5b610d6f88828901610cc6565b969995985093965092949392505050565b600080600080600080600060c0888a031215610d9b57600080fd5b8735610da681610c88565b96506020880135610db681610c88565b95506040880135610dc681610c88565b94506060880135610dd681610c88565b93506080880135925060a088013567ffffffffffffffff811115610df957600080fd5b610e058a828b01610cc6565b989b979a50959850939692959293505050565b60008060008060008060a08789031215610e3157600080fd5b8635610e3c81610c88565b95506020870135610e4c81610c88565b945060408701359350610e6160608801610cad565b9250608087013567ffffffffffffffff811115610e7d57600080fd5b610e8989828a01610cc6565b979a9699509497509295939492505050565b600060208284031215610ead57600080fd5b8151610eb881610c88565b9392505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff85168152836020820152606060408201526000610c7e606083018486610ebf565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a0830152610f8e60c083018486610ebf565b9998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610fdb608083018486610ebf565b979650505050505050565b60005b83811015611001578181015183820152602001610fe9565b83811115611010576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260008351806060840152611051816080850160208801610fe6565b63ffffffff93909316604083015250601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160160800192915050565b600082516110a4818460208701610fe6565b9190910192915050565b6000602082840312156110c057600080fd5b81518015158114610eb857600080fdfea264697066735822122010667ebcc24792729564391d0b930bac1cb56e230a93bcfd2f78b11ecc51757e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Bje=B((Qoa,MU0)=>{MU0.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardTokenFactory",sourceName:"contracts/L2/messaging/L2StandardTokenFactory.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"}],name:"StandardL2TokenCreated",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],name:"createStandardL2Token",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506117bc806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063896f93d114610030575b600080fd5b61004361003e36600461025f565b610045565b005b73ffffffffffffffffffffffffffffffffffffffff83166100c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d7573742070726f76696465204c3120746f6b656e2061646472657373000000604482015260640160405180910390fd5b60007342000000000000000000000000000000000000108484846040516100ec90610178565b6100f99493929190610359565b604051809103906000f080158015610115573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a350505050565b6113d7806103b083390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126101c557600080fd5b813567ffffffffffffffff808211156101e0576101e0610185565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561022657610226610185565b8160405283815286602085880101111561023f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561027457600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461029857600080fd5b9250602084013567ffffffffffffffff808211156102b557600080fd5b6102c1878388016101b4565b935060408601359150808211156102d757600080fd5b506102e4868287016101b4565b9150509250925092565b6000815180845260005b81811015610314576020818501810151868301820152016102f8565b81811115610326576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152506080604083015261039260808301856102ee565b82810360608401526103a481856102ee565b97965050505050505056fe60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033a2646970667358221220d2e13f28319115807ec7308d1cd88642a8542d0b838e00b8769f8a85d696f26764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Nje=B((Yoa,BU0)=>{BU0.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L1BlockNumber",sourceName:"contracts/L2/predeploys/iOVM_L1BlockNumber.sol",abi:[{inputs:[],name:"getL1BlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Fje=B((Joa,NU0)=>{NU0.exports={_format:"hh-sol-artifact-1",contractName:"iOVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Oje=B((Xoa,FU0)=>{FU0.exports={_format:"hh-sol-artifact-1",contractName:"OVM_DeployerWhitelist",sourceName:"contracts/L2/predeploys/OVM_DeployerWhitelist.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"},{indexed:!1,internalType:"address",name:"newOwner",type:"address"}],name:"OwnerChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"oldOwner",type:"address"}],name:"WhitelistDisabled",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"deployer",type:"address"},{indexed:!1,internalType:"bool",name:"whitelisted",type:"bool"}],name:"WhitelistStatusChanged",type:"event"},{inputs:[],name:"enableArbitraryContractDeployment",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"}],name:"isDeployerAllowed",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_deployer",type:"address"},{internalType:"bool",name:"_isWhitelisted",type:"bool"}],name:"setWhitelistedDeployer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"whitelist",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506106a8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100725760003560e01c80639b19251a116100505780639b19251a146100e9578063b1540a011461011c578063bdc7b54f1461012f57600080fd5b806308fd63221461007757806313af40351461008c5780638da5cb5b1461009f575b600080fd5b61008a610085366004610614565b610137565b005b61008a61009a366004610650565b610271565b6000546100bf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010c6100f7366004610650565b60016020526000908152604090205460ff1681565b60405190151581526020016100e0565b61010c61012a366004610650565b61047c565b61008a6104cd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b73ffffffffffffffffffffffffffffffffffffffff81166103e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f4f564d5f4465706c6f79657257686974656c6973743a2063616e206f6e6c792060448201527f62652064697361626c65642076696120656e61626c654172626974726172794360648201527f6f6e74726163744465706c6f796d656e74000000000000000000000000000000608482015260a4016101da565b6000546040805173ffffffffffffffffffffffffffffffffffffffff928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff1615806104c7575073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205460ff165b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207460448201527f6865206f776e6572206f66207468697320636f6e74726163742e00000000000060648201526084016101da565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681527fc0e106cf568e50698fdbde1eff56f5a5c966cc7958e37e276918e9e4ccdf8cd49060200160405180910390a1600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461060f57600080fd5b919050565b6000806040838503121561062757600080fd5b610630836105eb565b91506020830135801515811461064557600080fd5b809150509250929050565b60006020828403121561066257600080fd5b61066b826105eb565b939250505056fea264697066735822122045a02b3906eca00a51b37c2965ab13be381f71f60af681951849865fb2daa75f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Vje=B((Zoa,OU0)=>{OU0.exports={_format:"hh-sol-artifact-1",contractName:"OVM_ETH",sourceName:"contracts/L2/predeploys/OVM_ETH.sol",abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5073420000000000000000000000000000000000001060006040518060400160405280600581526020016422ba3432b960d91b8152506040518060400160405280600381526020016208aa8960eb1b815250818181600390805190602001906200007d929190620000cf565b50805162000093906004906020840190620000cf565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620001b2915050565b828054620000dd9062000175565b90600052602060002090601f0160209004810192826200010157600085556200014c565b82601f106200011c57805160ff19168380011785556200014c565b828001600101855582156200014c579182015b828111156200014c5782518255916020019190600101906200012f565b506200015a9291506200015e565b5090565b5b808211156200015a57600081556001016200015f565b600181811c908216806200018a57607f821691505b60208210811415620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b610eee80620001c26000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610c6d565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610cb6565b610118610150366004610d52565b610425565b6002545b604051908152602001610124565b610118610175366004610d7c565b6104db565b60405160128152602001610124565b610118610197366004610d52565b61058c565b6101af6101aa366004610d52565b61063d565b005b6101596101bf366004610db8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561071c565b6101af6101fd366004610d52565b61072b565b610118610210366004610d52565b6107fe565b610118610223366004610d52565b6108af565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610dd3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610e06565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610e06565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f4f564d5f4554483a20617070726f76652069732064697361626c65642070656e60448201527f64696e67206675727468657220636f6d6d756e6974792064697363757373696f60648201527f6e2e000000000000000000000000000000000000000000000000000000000000608482015260009060a4015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604760248201527f4f564d5f4554483a207472616e7366657246726f6d2069732064697361626c6560448201527f642070656e64696e67206675727468657220636f6d6d756e697479206469736360648201527f757373696f6e2e00000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a20696e637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6106c88282610960565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161071091815260200190565b60405180910390a25050565b6060600480546103a290610e06565b60065473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104d2565b6107b68282610a80565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161071091815260200190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f4f564d5f4554483a206465637265617365416c6c6f77616e636520697320646960448201527f7361626c65642070656e64696e67206675727468657220636f6d6d756e69747960648201527f2064697363757373696f6e2e0000000000000000000000000000000000000000608482015260009060a4016104d2565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f564d5f4554483a207472616e736665722069732064697361626c656420706560448201527f6e64696e67206675727468657220636f6d6d756e69747920646973637573736960648201527f6f6e2e0000000000000000000000000000000000000000000000000000000000608482015260009060a4016104d2565b73ffffffffffffffffffffffffffffffffffffffff82166109dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104d2565b80600260008282546109ef9190610e89565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610a29908490610e89565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610bd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104d2565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610c15908490610ea1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600060208284031215610c7f57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610caf57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d4d57600080fd5b919050565b60008060408385031215610d6557600080fd5b610d6e83610d29565b946020939093013593505050565b600080600060608486031215610d9157600080fd5b610d9a84610d29565b9250610da860208501610d29565b9150604084013590509250925092565b600060208284031215610dca57600080fd5b610caf82610d29565b60008060408385031215610de657600080fd5b610def83610d29565b9150610dfd60208401610d29565b90509250929050565b600181811c90821680610e1a57607f821691505b60208210811415610e54577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610e9c57610e9c610e5a565b500190565b600082821015610eb357610eb3610e5a565b50039056fea2646970667358221220b71535a5111461b42945e5d842957b3a5926f7ed07d271872f6da21952b5f8b464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var $je=B((e1a,VU0)=>{VU0.exports={_format:"hh-sol-artifact-1",contractName:"OVM_GasPriceOracle",sourceName:"contracts/L2/predeploys/OVM_GasPriceOracle.sol",abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"DecimalsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"GasPriceUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"L1BaseFeeUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"OverheadUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"",type:"uint256"}],name:"ScalarUpdated",type:"event"},{inputs:[],name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_decimals",type:"uint256"}],name:"setDecimals",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_gasPrice",type:"uint256"}],name:"setGasPrice",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_baseFee",type:"uint256"}],name:"setL1BaseFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_overhead",type:"uint256"}],name:"setOverhead",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_scalar",type:"uint256"}],name:"setScalar",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50604051610e55380380610e5583398101604081905261002f91610167565b61003833610047565b61004181610097565b50610197565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811661015b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ed565b61016481610047565b50565b60006020828403121561017957600080fd5b81516001600160a01b038116811461019057600080fd5b9392505050565b610caf806101a66000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220b949ef5f9defd6c0aab6259672d00d239cb8854c9972ba1866af1c6ec6433d4c64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Uje=B((t1a,$U0)=>{$U0.exports={_format:"hh-sol-artifact-1",contractName:"OVM_L2ToL1MessagePasser",sourceName:"contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_nonce",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"L2ToL1Message",type:"event"},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"}],name:"passMessageToL1",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506102c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100365760003560e01c806382e3702d1461003b578063cafa81dc14610072575b600080fd5b61005e610049366004610112565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b61008561008036600461015a565b610087565b005b6001600080833360405160200161009f929190610229565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291815281516020928301208352908201929092520160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905550565b60006020828403121561012457600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561016c57600080fd5b813567ffffffffffffffff8082111561018457600080fd5b818401915084601f83011261019857600080fd5b8135818111156101aa576101aa61012b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101f0576101f061012b565b8160405282815287602084870101111561020957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000835160005b8181101561024a5760208187018101518583015201610230565b81811115610259576000828501525b5060609390931b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016919092019081526014019291505056fea2646970667358221220d836baf0739bec24cef040cc8b2c24969df1a65ce8dcdb49d35d9528caff8b7f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var qje=B((n1a,UU0)=>{UU0.exports={_format:"hh-sol-artifact-1",contractName:"OVM_SequencerFeeVault",sourceName:"contracts/L2/predeploys/OVM_SequencerFeeVault.sol",abi:[{inputs:[{internalType:"address",name:"_l1FeeWallet",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"MIN_WITHDRAWAL_AMOUNT",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l1FeeWallet",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"withdraw",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],bytecode:"0x608060405234801561001057600080fd5b506040516103de3803806103de83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61034b806100936000396000f3fe6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",deployedBytecode:"0x6080604052600436106100385760003560e01c80633ccfd60b14610044578063d3e5792b1461005b578063d4ff92181461008a57600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100596100dc565b005b34801561006757600080fd5b5061007767d02ab486cedc000081565b6040519081526020015b60405180910390f35b34801561009657600080fd5b506000546100b79073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610081565b67d02ab486cedc000047101561019e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605760248201527f4f564d5f53657175656e6365724665655661756c743a2077697468647261776160448201527f6c20616d6f756e74206d7573742062652067726561746572207468616e206d6960648201527f6e696d756d207769746864726177616c20616d6f756e74000000000000000000608482015260a40160405180910390fd5b600080546040805160208101825283815290517fa3a795480000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000109363a3a79548936102309373deaddeaddeaddeaddeaddeaddeaddeaddead00009373ffffffffffffffffffffffffffffffffffffffff909216924792909190600401610264565b600060405180830381600087803b15801561024a57600080fd5b505af115801561025e573d6000803e3d6000fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835260208188168185015286604085015263ffffffff8616606085015260a06080850152845191508160a085015260005b828110156102cb5785810182015185820160c0015281016102af565b828111156102dd57600060c084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160c001969550505050505056fea26469706673582212202380a0ef41967ef02ffabeecc94f28b588cb989aa8d64908f942558d7e378c3b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Hje=B((a1a,qU0)=>{qU0.exports={_format:"hh-sol-artifact-1",contractName:"WETH9",sourceName:"contracts/L2/predeploys/WETH9.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"guy",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Deposit",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!0,internalType:"address",name:"dst",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"src",type:"address"},{indexed:!1,internalType:"uint256",name:"wad",type:"uint256"}],name:"Withdrawal",type:"event"},{payable:!0,stateMutability:"payable",type:"fallback"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"guy",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"deposit",outputs:[],payable:!0,stateMutability:"payable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"src",type:"address"},{internalType:"address",name:"dst",type:"address"},{internalType:"uint256",name:"wad",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"wad",type:"uint256"}],name:"withdraw",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}],bytecode:"0x60c0604052600d60808190526c2bb930b83832b21022ba3432b960991b60a090815261002e916000919061007a565b50604080518082019091526004808252630ae8aa8960e31b602090920191825261005a9160019161007a565b506002805460ff1916601217905534801561007457600080fd5b50610115565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100bb57805160ff19168380011785556100e8565b828001600101855582156100e8579182015b828111156100e85782518255916020019190600101906100cd565b506100f49291506100f8565b5090565b61011291905b808211156100f457600081556001016100fe565b90565b6107f9806101246000396000f3fe6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",deployedBytecode:"0x6080604052600436106100bc5760003560e01c8063313ce56711610074578063a9059cbb1161004e578063a9059cbb146102cb578063d0e30db0146100bc578063dd62ed3e14610311576100bc565b8063313ce5671461024b57806370a082311461027657806395d89b41146102b6576100bc565b806318160ddd116100a557806318160ddd146101aa57806323b872dd146101d15780632e1a7d4d14610221576100bc565b806306fdde03146100c6578063095ea7b314610150575b6100c4610359565b005b3480156100d257600080fd5b506100db6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101155781810151838201526020016100fd565b50505050905090810190601f1680156101425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015c57600080fd5b506101966004803603604081101561017357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610454565b604080519115158252519081900360200190f35b3480156101b657600080fd5b506101bf6104c7565b60408051918252519081900360200190f35b3480156101dd57600080fd5b50610196600480360360608110156101f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356104cb565b34801561022d57600080fd5b506100c46004803603602081101561024457600080fd5b503561066b565b34801561025757600080fd5b50610260610700565b6040805160ff9092168252519081900360200190f35b34801561028257600080fd5b506101bf6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610709565b3480156102c257600080fd5b506100db61071b565b3480156102d757600080fd5b50610196600480360360408110156102ee57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610793565b34801561031d57600080fd5b506101bf6004803603604081101561033457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107a7565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b820191906000526020600020905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b4790565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120548211156104fd57600080fd5b73ffffffffffffffffffffffffffffffffffffffff84163314801590610573575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105ed5773ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020548211156105b557600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b3360009081526003602052604090205481111561068757600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f193505050501580156106c6573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152929183018282801561044c5780601f106104215761010080835404028352916020019161044c565b60006107a03384846104cb565b9392505050565b60046020908152600092835260408084209091529082529020548156fea265627a7a7231582091c18790e0cca5011d2518024840ee00fecc67e11f56fd746f2cf84d5b583e0064736f6c63430005110032",linkReferences:{},deployedLinkReferences:{}}});var zje=B((r1a,HU0)=>{HU0.exports={_format:"hh-sol-artifact-1",contractName:"CrossDomainEnabled",sourceName:"contracts/libraries/bridge/CrossDomainEnabled.sol",abi:[{inputs:[{internalType:"address",name:"_messenger",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",deployedBytecode:"0x6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea264697066735822122007712a382b03013a51c1c5af10d9e7b9b516e09be353a5f94af5d0263a013ea064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Wje=B((i1a,zU0)=>{zU0.exports={_format:"hh-sol-artifact-1",contractName:"ICrossDomainMessenger",sourceName:"contracts/libraries/bridge/ICrossDomainMessenger.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var jje=B((s1a,WU0)=>{WU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_CrossDomainUtils",sourceName:"contracts/libraries/bridge/Lib_CrossDomainUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122060e64a9ccca3ea023c0ba81dbda8783559d3eec6a4d1d8ef8418badc967c072664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Gje=B((f1a,jU0)=>{jU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_OVMCodec",sourceName:"contracts/libraries/codec/Lib_OVMCodec.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c2a5d11f9555d16a4e338a80443d30b1ec346c6a32a3a2423851829c61a564664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Kje=B((o1a,GU0)=>{GU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_DefaultValues",sourceName:"contracts/libraries/constants/Lib_DefaultValues.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220063c5ffd8afe3ee3c085661f8b942ed207ae0c52f76c705ce32343804219a1be64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Qje=B((c1a,KU0)=>{KU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_PredeployAddresses",sourceName:"contracts/libraries/constants/Lib_PredeployAddresses.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122056cad517f08aabd21cc0b53f664298b5b8af8f91610a5d788b7cd5a14d12078b64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Yje=B((d1a,QU0)=>{QU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressManager",sourceName:"contracts/libraries/resolver/Lib_AddressManager.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107028061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106100675760003560e01c80639b2ea4bd116100505780639b2ea4bd146100b9578063bf40fac1146100cc578063f2fde38b146100df57600080fd5b8063715018a61461006c5780638da5cb5b14610076575b600080fd5b6100746100f2565b005b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100746100c73660046105e4565b610184565b6100906100da366004610632565b6102d0565b6100746100ed36600461066f565b61030c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610182600061043c565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b6000610210836104b1565b60008181526001602052604090819020805473ffffffffffffffffffffffffffffffffffffffff8681167fffffffffffffffffffffffff000000000000000000000000000000000000000083161790925591519293501690610273908590610691565b6040805191829003822073ffffffffffffffffffffffffffffffffffffffff808716845284166020840152917f9416a153a346f93d95f94b064ae3f148b6460473c6e82b3f9fc2521b873fcd6c910160405180910390a250505050565b6000600160006102df846104b1565b815260208101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff1692915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161016f565b73ffffffffffffffffffffffffffffffffffffffff8116610430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161016f565b6104398161043c565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000816040516020016104c49190610691565b604051602081830303815290604052805190602001209050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261052157600080fd5b813567ffffffffffffffff8082111561053c5761053c6104e1565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715610582576105826104e1565b8160405283815286602085880101111561059b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146105df57600080fd5b919050565b600080604083850312156105f757600080fd5b823567ffffffffffffffff81111561060e57600080fd5b61061a85828601610510565b925050610629602084016105bb565b90509250929050565b60006020828403121561064457600080fd5b813567ffffffffffffffff81111561065b57600080fd5b61066784828501610510565b949350505050565b60006020828403121561068157600080fd5b61068a826105bb565b9392505050565b6000825160005b818110156106b25760208186018101518583015201610698565b818111156106c1576000828501525b50919091019291505056fea2646970667358221220882d6a267e1fbcc015c1726b422a6847e08c6be7e987e8b5ec1f7e85aa5095bb64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Jje=B((l1a,YU0)=>{YU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_AddressResolver",sourceName:"contracts/libraries/resolver/Lib_AddressResolver.sol",abi:[{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var Xje=B((p1a,JU0)=>{JU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_ResolvedDelegateProxy",sourceName:"contracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol",abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],bytecode:"0x608060405234801561001057600080fd5b506040516105b53803806105b583398101604081905261002f91610125565b30600090815260016020908152604080832080546001600160a01b0319166001600160a01b038716179055828252909120825161006e92840190610076565b505050610252565b82805461008290610217565b90600052602060002090601f0160209004810192826100a457600085556100ea565b82601f106100bd57805160ff19168380011785556100ea565b828001600101855582156100ea579182015b828111156100ea5782518255916020019190600101906100cf565b506100f69291506100fa565b5090565b5b808211156100f657600081556001016100fb565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561013857600080fd5b82516001600160a01b038116811461014f57600080fd5b602084810151919350906001600160401b038082111561016e57600080fd5b818601915086601f83011261018257600080fd5b8151818111156101945761019461010f565b604051601f8201601f19908116603f011681019083821181831017156101bc576101bc61010f565b8160405282815289868487010111156101d457600080fd5b600093505b828410156101f657848401860151818501870152928501926101d9565b828411156102075760008684830101525b8096505050505050509250929050565b600181811c9082168061022b57607f821691505b6020821081141561024c57634e487b7160e01b600052602260045260246000fd5b50919050565b610354806102616000396000f3fe608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",deployedBytecode:"0x608060408181523060009081526001602090815282822054908290529181207fbf40fac1000000000000000000000000000000000000000000000000000000009093529173ffffffffffffffffffffffffffffffffffffffff9091169063bf40fac19061006d9060846101f2565b60206040518083038186803b15801561008557600080fd5b505afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906102d1565b905073ffffffffffffffffffffffffffffffffffffffff8116610166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5461726765742061646472657373206d75737420626520696e697469616c697a60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1660003660405161019192919061030e565b600060405180830381855af49150503d80600081146101cc576040519150601f19603f3d011682016040523d82523d6000602084013e6101d1565b606091505b509092509050600182151514156101ea57805160208201f35b805160208201fd5b600060208083526000845481600182811c91508083168061021457607f831692505b85831081141561024b577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b8786018381526020018180156102685760018114610297576102c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616825287820196506102c2565b60008b81526020902060005b868110156102bc578154848201529085019089016102a3565b83019750505b50949998505050505050505050565b6000602082840312156102e357600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461030757600080fd5b9392505050565b818382376000910190815291905056fea2646970667358221220d66a7dad92a7f7528f41181719174e1d244423b8bb730d2884645c76cfa0944064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var Zje=B((u1a,XU0)=>{XU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPReader",sourceName:"contracts/libraries/rlp/Lib_RLPReader.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209b0105ac3644e4fdf76d616b816e1142d8df6b59717045de630c5b5bf5c4a49e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var eGe=B((y1a,ZU0)=>{ZU0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_RLPWriter",sourceName:"contracts/libraries/rlp/Lib_RLPWriter.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220946ae63101b895e34c026fce9aa6f03d577c9012d8837976e8dc3a57ae0a2ef064736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var tGe=B((m1a,eq0)=>{eq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTrie",sourceName:"contracts/libraries/trie/Lib_MerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220214650a5ec3e1d09ab69aa832632dcca9858b098070c9e81cdae9075c0e89eef64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var nGe=B((b1a,tq0)=>{tq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_SecureMerkleTrie",sourceName:"contracts/libraries/trie/Lib_SecureMerkleTrie.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202660de7bb8aa0cc344e5d40ecf3a0bb218888dff6bd046588cf63c7f310cc10f64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var aGe=B((h1a,nq0)=>{nq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Buffer",sourceName:"contracts/libraries/utils/Lib_Buffer.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220594b214017d57365da3ea1c77083baf56a0e2bbeb0c3e002e311ad4566a5a88e64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var rGe=B((g1a,aq0)=>{aq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_Bytes32Utils",sourceName:"contracts/libraries/utils/Lib_Bytes32Utils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122016d3dffa07e555b0803ae61d773778a6b28a769ef91e47cb00040ecc7414705764736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var iGe=B((v1a,rq0)=>{rq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_BytesUtils",sourceName:"contracts/libraries/utils/Lib_BytesUtils.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122017e44b43285912c440c4689616a765b1f83f985ef6c2257842a876b03fa23ec964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var sGe=B((T1a,iq0)=>{iq0.exports={_format:"hh-sol-artifact-1",contractName:"Lib_MerkleTree",sourceName:"contracts/libraries/utils/Lib_MerkleTree.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7c3be019aefbed37a33a16f751525cd016777745cc3de03701a42894fef404664736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var fGe=B((_1a,sq0)=>{sq0.exports={_format:"hh-sol-artifact-1",contractName:"AddressAliasHelper",sourceName:"contracts/standards/AddressAliasHelper.sol",abi:[],bytecode:"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",deployedBytecode:"0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207829434f027696874d561ec0adb447d98559e472900c36a38c8a3d107364652364736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var oGe=B((w1a,fq0)=>{fq0.exports={_format:"hh-sol-artifact-1",contractName:"IL2StandardERC20",sourceName:"contracts/standards/IL2StandardERC20.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x",deployedBytecode:"0x",linkReferences:{},deployedLinkReferences:{}}});var cGe=B((x1a,oq0)=>{oq0.exports={_format:"hh-sol-artifact-1",contractName:"L2StandardERC20",sourceName:"contracts/standards/L2StandardERC20.sol",abi:[{inputs:[{internalType:"address",name:"_l2Bridge",type:"address"},{internalType:"address",name:"_l1Token",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_account",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],name:"mint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b50604051620013d7380380620013d783398101604081905262000034916200022f565b8151829082906200004d9060039060208501906200009f565b508051620000639060049060208401906200009f565b5050600580546001600160a01b039586166001600160a01b031991821617909155600680549690951695169490941790925550620002fc915050565b828054620000ad90620002bf565b90600052602060002090601f016020900481019282620000d157600085556200011c565b82601f10620000ec57805160ff19168380011785556200011c565b828001600101855582156200011c579182015b828111156200011c578251825591602001919060010190620000ff565b506200012a9291506200012e565b5090565b5b808211156200012a57600081556001016200012f565b80516001600160a01b03811681146200015d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018a57600080fd5b81516001600160401b0380821115620001a757620001a762000162565b604051601f8301601f19908116603f01168101908282118183101715620001d257620001d262000162565b81604052838152602092508683858801011115620001ef57600080fd5b600091505b83821015620002135785820183015181830184015290820190620001f4565b83821115620002255760008385830101525b9695505050505050565b600080600080608085870312156200024657600080fd5b620002518562000145565b9350620002616020860162000145565b60408601519093506001600160401b03808211156200027f57600080fd5b6200028d8883890162000178565b93506060870151915080821115620002a457600080fd5b50620002b38782880162000178565b91505092959194509250565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b6110cb806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063a9059cbb11610066578063a9059cbb14610215578063ae1f6aaf14610228578063c01e1bd61461026d578063dd62ed3e1461028d57600080fd5b806370a08231146101b157806395d89b41146101e75780639dc29fac146101ef578063a457c2d71461020257600080fd5b806323b872dd116100d357806323b872dd14610167578063313ce5671461017a578063395093511461018957806340c10f191461019c57600080fd5b806301ffc9a71461010557806306fdde031461012d578063095ea7b31461014257806318160ddd14610155575b600080fd5b610118610113366004610e4a565b6102d3565b60405190151581526020015b60405180910390f35b610135610393565b6040516101249190610e93565b610118610150366004610f2f565b610425565b6002545b604051908152602001610124565b610118610175366004610f59565b61043b565b60405160128152602001610124565b610118610197366004610f2f565b61050c565b6101af6101aa366004610f2f565b610555565b005b6101596101bf366004610f95565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61013561061a565b6101af6101fd366004610f2f565b610629565b610118610210366004610f2f565b6106e2565b610118610223366004610f2f565b6107a0565b6006546102489073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6005546102489073ffffffffffffffffffffffffffffffffffffffff1681565b61015961029b366004610fb0565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e27f1d1d8b63000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000084167f01ffc9a700000000000000000000000000000000000000000000000000000000148061038b57507fffffffff00000000000000000000000000000000000000000000000000000000848116908216145b949350505050565b6060600380546103a290610fe3565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce90610fe3565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b60006104323384846107ad565b50600192915050565b600061044884848461092d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156104f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61050185338584036107ad565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610432918590610550908690611066565b6107ad565b60065473ffffffffffffffffffffffffffffffffffffffff1633146105bc5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b6105c68282610b93565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161060e91815260200190565b60405180910390a25050565b6060600480546103a290610fe3565b60065473ffffffffffffffffffffffffffffffffffffffff1633146106905760405162461bcd60e51b815260206004820181905260248201527f4f6e6c79204c32204272696467652063616e206d696e7420616e64206275726e60448201526064016104eb565b61069a8282610c99565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161060e91815260200190565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156107895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104eb565b61079633858584036107ad565b5060019392505050565b600061043233848461092d565b73ffffffffffffffffffffffffffffffffffffffff83166108355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff82166108be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166109b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff8216610a3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610adb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610b1f908490611066565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610bf65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104eb565b8060026000828254610c089190611066565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610c42908490611066565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610d225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610dbe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104eb565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290610dfa90849061107e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610920565b600060208284031215610e5c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610e8c57600080fd5b9392505050565b600060208083528351808285015260005b81811015610ec057858101830151858201604001528201610ea4565b81811115610ed2576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610f2a57600080fd5b919050565b60008060408385031215610f4257600080fd5b610f4b83610f06565b946020939093013593505050565b600080600060608486031215610f6e57600080fd5b610f7784610f06565b9250610f8560208501610f06565b9150604084013590509250925092565b600060208284031215610fa757600080fd5b610e8c82610f06565b60008060408385031215610fc357600080fd5b610fcc83610f06565b9150610fda60208401610f06565b90509250929050565b600181811c90821680610ff757607f821691505b60208210811415611031577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561107957611079611037565b500190565b60008282101561109057611090611037565b50039056fea264697066735822122069a2d33039157f3f2f180571262ca2a5d0a3a24d33bf9448f3b7c2ce9ff757f964736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}});var sKe=B(rq=>{"use strict";p();u();Object.defineProperty(rq,"__esModule",{value:!0});rq.getContractArtifact=void 0;var dGe;try{dGe=yje()}catch{}var lGe;try{lGe=mje()}catch{}var pGe;try{pGe=bje()}catch{}var uGe;try{uGe=hje()}catch{}var yGe;try{yGe=gje()}catch{}var mGe;try{mGe=vje()}catch{}var bGe;try{bGe=Tje()}catch{}var hGe;try{hGe=_je()}catch{}var gGe;try{gGe=wje()}catch{}var vGe;try{vGe=xje()}catch{}var TGe;try{TGe=Ije()}catch{}var _Ge;try{_Ge=Eje()}catch{}var wGe;try{wGe=Dje()}catch{}var xGe;try{xGe=Cje()}catch{}var IGe;try{IGe=Sje()}catch{}var EGe;try{EGe=Aje()}catch{}var DGe;try{DGe=kje()}catch{}var CGe;try{CGe=Pje()}catch{}var SGe;try{SGe=Rje()}catch{}var AGe;try{AGe=Lje()}catch{}var kGe;try{kGe=Mje()}catch{}var PGe;try{PGe=Bje()}catch{}var RGe;try{RGe=Nje()}catch{}var LGe;try{LGe=Fje()}catch{}var MGe;try{MGe=Oje()}catch{}var BGe;try{BGe=Vje()}catch{}var NGe;try{NGe=$je()}catch{}var FGe;try{FGe=Uje()}catch{}var OGe;try{OGe=qje()}catch{}var VGe;try{VGe=Hje()}catch{}var $Ge;try{$Ge=zje()}catch{}var UGe;try{UGe=Wje()}catch{}var qGe;try{qGe=jje()}catch{}var HGe;try{HGe=Gje()}catch{}var zGe;try{zGe=Kje()}catch{}var WGe;try{WGe=Qje()}catch{}var jGe;try{jGe=Yje()}catch{}var GGe;try{GGe=Jje()}catch{}var KGe;try{KGe=Xje()}catch{}var QGe;try{QGe=Zje()}catch{}var YGe;try{YGe=eGe()}catch{}var JGe;try{JGe=tGe()}catch{}var XGe;try{XGe=nGe()}catch{}var ZGe;try{ZGe=aGe()}catch{}var eKe;try{eKe=rGe()}catch{}var tKe;try{tKe=iGe()}catch{}var nKe;try{nKe=sGe()}catch{}var aKe;try{aKe=fGe()}catch{}var rKe;try{rKe=oGe()}catch{}var iKe;try{iKe=cGe()}catch{}var cq0=n=>({iL1ChugSplashDeployer:dGe,L1ChugSplashProxy:lGe,AddressDictator:pGe,ChugSplashDictator:uGe,IL1CrossDomainMessenger:yGe,IL1ERC20Bridge:mGe,IL1StandardBridge:bGe,L1CrossDomainMessenger:hGe,L1StandardBridge:gGe,CanonicalTransactionChain:vGe,ChainStorageContainer:TGe,ICanonicalTransactionChain:_Ge,IChainStorageContainer:wGe,IStateCommitmentChain:xGe,StateCommitmentChain:IGe,BondManager:EGe,IBondManager:DGe,IL2CrossDomainMessenger:CGe,IL2ERC20Bridge:SGe,L2CrossDomainMessenger:AGe,L2StandardBridge:kGe,L2StandardTokenFactory:PGe,iOVM_L1BlockNumber:RGe,iOVM_L2ToL1MessagePasser:LGe,OVM_DeployerWhitelist:MGe,OVM_ETH:BGe,OVM_GasPriceOracle:NGe,OVM_L2ToL1MessagePasser:FGe,OVM_SequencerFeeVault:OGe,WETH9:VGe,CrossDomainEnabled:$Ge,ICrossDomainMessenger:UGe,Lib_CrossDomainUtils:qGe,Lib_OVMCodec:HGe,Lib_DefaultValues:zGe,Lib_PredeployAddresses:WGe,Lib_AddressManager:jGe,Lib_AddressResolver:GGe,Lib_ResolvedDelegateProxy:KGe,Lib_RLPReader:QGe,Lib_RLPWriter:YGe,Lib_MerkleTrie:JGe,Lib_SecureMerkleTrie:XGe,Lib_Buffer:ZGe,Lib_Bytes32Utils:eKe,Lib_BytesUtils:tKe,Lib_MerkleTree:nKe,AddressAliasHelper:aKe,IL2StandardERC20:rKe,L2StandardERC20:iKe})[n];rq.getContractArtifact=cq0});var fKe=B(iq=>{"use strict";p();u();Object.defineProperty(iq,"__esModule",{value:!0});iq.getDeployedContractArtifact=void 0;var dq0={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x406905414D6c250C186F4616EFA38D5fc0759437"},lq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xfC2ab6987C578218f99E85d61Dcf4814A26637Bd"},pq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D"},uq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x4325Ac17c7fF5Afc0d05335dD30Db3D010455813"},yq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x41eF5DaF4A7719bfe89A88BA3DD0DCFF5feCeD39"},mq0={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x0e62FAf76a0239827f35f41478b521293e06195a"},bq0={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x65DD71354923A51fC00DaE41A39F37eBB66549d4"},hq0={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111"},gq0={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0x2eB424e0930E93Cf250e488f6117a929714Bb928"},vq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294"},Tq0={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"},_q0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378"},wq0={abi:[{inputs:[{internalType:"contract Lib_AddressManager",name:"_manager",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"string[]",name:"_names",type:"string[]"},{internalType:"address[]",name:"_addresses",type:"address[]"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNamedAddresses",outputs:[{components:[{internalType:"string",name:"name",type:"string"},{internalType:"address",name:"addr",type:"address"}],internalType:"struct AddressDictator.NamedAddress[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"manager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"setAddresses",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x7a74f7934a233e10E8757264132B2E4EbccF5098"},xq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"_who",type:"address"}],name:"isCollateralized",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xcd626E1328b41fCF24737F137BcD4CE0c32bc8d1"},Iq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_maxTransactionGasLimit",type:"uint256"},{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"l2GasDiscountDivisor",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"enqueueL2GasPrepaid",type:"uint256"}],name:"L2GasParamsUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"QueueBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_startingQueueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_numQueueElements",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_totalElements",type:"uint256"}],name:"SequencerBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"TransactionBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1TxOrigin",type:"address"},{indexed:!0,internalType:"address",name:"_target",type:"address"},{indexed:!1,internalType:"uint256",name:"_gasLimit",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"},{indexed:!0,internalType:"uint256",name:"_queueIndex",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_timestamp",type:"uint256"}],name:"TransactionEnqueued",type:"event"},{inputs:[],name:"MAX_ROLLUP_TX_SIZE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"MIN_ROLLUP_TX_GAS",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"appendSequencerBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"enqueue",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enqueueGasCost",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"enqueueL2GasPrepaid",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastBlockNumber",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getLastTimestamp",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNextQueueIndex",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumPendingQueueElements",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"getQueueElement",outputs:[{components:[{internalType:"bytes32",name:"transactionHash",type:"bytes32"},{internalType:"uint40",name:"timestamp",type:"uint40"},{internalType:"uint40",name:"blockNumber",type:"uint40"}],internalType:"struct Lib_OVMCodec.QueueElement",name:"_element",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"getQueueLength",outputs:[{internalType:"uint40",name:"",type:"uint40"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2GasDiscountDivisor",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTransactionGasLimit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_l2GasDiscountDivisor",type:"uint256"},{internalType:"uint256",name:"_enqueueGasCost",type:"uint256"}],name:"setGasParams",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x5E4e65926BA27467555EB562121fac00D24E9dD2"},Eq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xD16463EF9b0338CE3D73309028ef1714D220c024"},Dq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_owner",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"deleteElementsAfterInclusive",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],name:"get",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"getGlobalMetadata",outputs:[{internalType:"bytes27",name:"",type:"bytes27"}],stateMutability:"view",type:"function"},{inputs:[],name:"length",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"},{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_object",type:"bytes32"}],name:"push",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes27",name:"_globalMetadata",type:"bytes27"}],name:"setGlobalMetadata",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xb0ddFf09c4019e31960de11bD845E836078E8EbE"},Cq0={abi:[{inputs:[{internalType:"contract L1ChugSplashProxy",name:"_target",type:"address"},{internalType:"address",name:"_finalOwner",type:"address"},{internalType:"bytes32",name:"_codeHash",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_messengerSlotVal",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotKey",type:"bytes32"},{internalType:"bytes32",name:"_bridgeSlotVal",type:"bytes32"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"bridgeSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"bridgeSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"codeHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"doActions",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"finalOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotKey",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"messengerSlotVal",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"returnOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"target",outputs:[{internalType:"contract L1ChugSplashProxy",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xD86065136E3ab1e3FCBbf47B59404c08A431051A"},Sq0={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20DepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_l1Token",type:"address"},{indexed:!0,internalType:"address",name:"_l2Token",type:"address"},{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ERC20WithdrawalFinalized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHDepositInitiated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_from",type:"address"},{indexed:!0,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"uint256",name:"_amount",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_data",type:"bytes"}],name:"ETHWithdrawalFinalized",type:"event"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositERC20To",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_l2Gas",type:"uint32"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"depositETHTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"donateETH",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeERC20Withdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"finalizeETHWithdrawal",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_l1messenger",type:"address"},{internalType:"address",name:"_l2TokenBridge",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"messenger",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x29Ea454F8f2750e345E52e302A0c09f1A5215AC7"},Aq0={abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"string",name:"_name",type:"string"},{indexed:!1,internalType:"address",name:"_newAddress",type:"address"},{indexed:!1,internalType:"address",name:"_oldAddress",type:"address"}],name:"AddressSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],name:"setAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"},kq0={abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"FailedRelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageAllowed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"MessageBlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"msgHash",type:"bytes32"}],name:"RelayedMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"bytes",name:"message",type:"bytes"},{indexed:!1,internalType:"uint256",name:"messageNonce",type:"uint256"},{indexed:!1,internalType:"uint256",name:"gasLimit",type:"uint256"}],name:"SentMessage",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"allowMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_xDomainCalldataHash",type:"bytes32"}],name:"blockMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"blockedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_messageNonce",type:"uint256"},{components:[{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"stateRootBatchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"stateRootProof",type:"tuple"},{internalType:"bytes",name:"stateTrieWitness",type:"bytes"},{internalType:"bytes",name:"storageTrieWitness",type:"bytes"}],internalType:"struct IL1CrossDomainMessenger.L2MessageInclusionProof",name:"_proof",type:"tuple"}],name:"relayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"relayedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"address",name:"_sender",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint256",name:"_queueIndex",type:"uint256"},{internalType:"uint32",name:"_oldGasLimit",type:"uint32"},{internalType:"uint32",name:"_newGasLimit",type:"uint32"}],name:"replayMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_gasLimit",type:"uint32"}],name:"sendMessage",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],address:"0xd9166833FF12A5F900ccfBf2c8B62a90F1Ca1FD5"},Pq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"string",name:"_implementationName",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"}],address:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"},Rq0={abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"getImplementation",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getOwner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"_code",type:"bytes"}],name:"setCode",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"}],name:"setOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"_key",type:"bytes32"},{internalType:"bytes32",name:"_value",type:"bytes32"}],name:"setStorage",outputs:[],stateMutability:"nonpayable",type:"function"}],address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"},Lq0={abi:[{inputs:[{internalType:"address",name:"_libAddressManager",type:"address"},{internalType:"uint256",name:"_fraudProofWindow",type:"uint256"},{internalType:"uint256",name:"_sequencerPublishWindow",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"_batchSize",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_prevTotalElements",type:"uint256"},{indexed:!1,internalType:"bytes",name:"_extraData",type:"bytes"}],name:"StateBatchAppended",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_batchIndex",type:"uint256"},{indexed:!1,internalType:"bytes32",name:"_batchRoot",type:"bytes32"}],name:"StateBatchDeleted",type:"event"},{inputs:[],name:"FRAUD_PROOF_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"SEQUENCER_PUBLISH_WINDOW",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32[]",name:"_batch",type:"bytes32[]"},{internalType:"uint256",name:"_shouldStartAtElement",type:"uint256"}],name:"appendStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"batches",outputs:[{internalType:"contract IChainStorageContainer",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"deleteStateBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getLastSequencerTimestamp",outputs:[{internalType:"uint256",name:"_lastSequencerTimestamp",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalBatches",outputs:[{internalType:"uint256",name:"_totalBatches",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTotalElements",outputs:[{internalType:"uint256",name:"_totalElements",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"}],name:"insideFraudProofWindow",outputs:[{internalType:"bool",name:"_inside",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"libAddressManager",outputs:[{internalType:"contract Lib_AddressManager",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"_name",type:"string"}],name:"resolve",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_element",type:"bytes32"},{components:[{internalType:"uint256",name:"batchIndex",type:"uint256"},{internalType:"bytes32",name:"batchRoot",type:"bytes32"},{internalType:"uint256",name:"batchSize",type:"uint256"},{internalType:"uint256",name:"prevTotalElements",type:"uint256"},{internalType:"bytes",name:"extraData",type:"bytes"}],internalType:"struct Lib_OVMCodec.ChainBatchHeader",name:"_batchHeader",type:"tuple"},{components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"bytes32[]",name:"siblings",type:"bytes32[]"}],internalType:"struct Lib_OVMCodec.ChainInclusionProof",name:"_proof",type:"tuple"}],name:"verifyStateCommitment",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],address:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19"},Mq0={abi:[{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"},{internalType:"uint256",name:"_maxBalance",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"uint256",name:"balance",type:"uint256"}],name:"BalanceWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"depositId",type:"uint256"},{indexed:!0,internalType:"address",name:"emitter",type:"address"},{indexed:!0,internalType:"uint256",name:"amount",type:"uint256"}],name:"EtherReceived",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousBalance",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newBalance",type:"uint256"}],name:"MaxBalanceSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MaxDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"previousAmount",type:"uint256"},{indexed:!1,internalType:"uint256",name:"newAmount",type:"uint256"}],name:"MinDepositAmountSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"maxBalance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"minDepositAmount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxDepositAmount",type:"uint256"}],name:"setMaxAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxBalance",type:"uint256"}],name:"setMaxBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_minDepositAmount",type:"uint256"}],name:"setMinAmount",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"totalDeposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawBalance",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],address:"0x52ec2F3d7C5977A8E558C8D9C6000B615098E8fC"},Bq0=(n,e)=>({goerli__AddressDictator:dq0,goerli__BondManager:lq0,goerli__CanonicalTransactionChain:pq0,goerli__ChainStorageContainer_CTC_batches:uq0,goerli__ChainStorageContainer_SCC_batches:yq0,goerli__ChugSplashDictator:mq0,goerli__L1StandardBridge_for_verification_only:bq0,goerli__Lib_AddressManager:hq0,goerli__OVM_L1CrossDomainMessenger:gq0,goerli__Proxy__OVM_L1CrossDomainMessenger:vq0,goerli__Proxy__OVM_L1StandardBridge:Tq0,goerli__StateCommitmentChain:_q0,mainnet__AddressDictator:wq0,mainnet__BondManager:xq0,mainnet__CanonicalTransactionChain:Iq0,mainnet__ChainStorageContainer_CTC_batches:Eq0,mainnet__ChainStorageContainer_SCC_batches:Dq0,mainnet__ChugSplashDictator:Cq0,mainnet__L1StandardBridge_for_verification_only:Sq0,mainnet__Lib_AddressManager:Aq0,mainnet__OVM_L1CrossDomainMessenger:kq0,mainnet__Proxy__OVM_L1CrossDomainMessenger:Pq0,mainnet__Proxy__OVM_L1StandardBridge:Rq0,mainnet__StateCommitmentChain:Lq0,mainnet__TeleportrDeposit:Mq0})[(e+"__"+n).replace(/-/g,"_")];iq.getDeployedContractArtifact=Bq0});var cKe=B(ld=>{"use strict";p();u();Object.defineProperty(ld,"__esModule",{value:!0});ld.getContractFactory=ld.getContractInterface=ld.getDeployedContractDefinition=ld.getContractDefinition=void 0;var oKe=Ue(),Nq0=n=>{let{getContractArtifact:e}=sKe(),t=e(n);if(t===void 0)throw new Error(`Unable to find artifact for contract: ${n}`);return t};ld.getContractDefinition=Nq0;var Fq0=(n,e)=>{let{getDeployedContractArtifact:t}=fKe(),a=t(n,e);if(a===void 0)throw new Error(`Unable to find artifact for contract on network ${e}: ${n}`);return a};ld.getDeployedContractDefinition=Fq0;var Oq0=n=>{let e=(0,ld.getContractDefinition)(n);return new oKe.ethers.utils.Interface(e.abi)};ld.getContractInterface=Oq0;var Vq0=(n,e)=>{let t=(0,ld.getContractDefinition)(n),a=(0,ld.getContractInterface)(n);return new oKe.ethers.ContractFactory(a,t.bytecode,e)};ld.getContractFactory=Vq0});var dKe=B(M_=>{"use strict";p();u();Object.defineProperty(M_,"__esModule",{value:!0});M_.futurePredeploys=M_.predeploys=void 0;M_.predeploys={OVM_L2ToL1MessagePasser:"0x4200000000000000000000000000000000000000",OVM_DeployerWhitelist:"0x4200000000000000000000000000000000000002",L2CrossDomainMessenger:"0x4200000000000000000000000000000000000007",OVM_GasPriceOracle:"0x420000000000000000000000000000000000000F",L2StandardBridge:"0x4200000000000000000000000000000000000010",OVM_SequencerFeeVault:"0x4200000000000000000000000000000000000011",L2StandardTokenFactory:"0x4200000000000000000000000000000000000012",OVM_L1BlockNumber:"0x4200000000000000000000000000000000000013",OVM_ETH:"0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",WETH9:"0x4200000000000000000000000000000000000006"};M_.futurePredeploys={System0:"0x4200000000000000000000000000000000000042",System1:"0x4200000000000000000000000000000000000014"}});var B_=B(t3=>{"use strict";p();u();var $q0=t3&&t3.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),lKe=t3&&t3.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&$q0(e,n,t)};Object.defineProperty(t3,"__esModule",{value:!0});lKe(cKe(),t3);lKe(dKe(),t3)});var Ofe=B((V1a,Uq0)=>{Uq0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositERC20",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositERC20To",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"depositETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"depositETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeERC20Withdrawal",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeETHWithdrawal",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20DepositInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20WithdrawalFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHDepositInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHWithdrawalFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b620005511760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001062000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612c4d80620002446000396000f3fe6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:132:-:0;;;3691:157;;;;;;;;;-1:-1:-1;3732:109:132::1;3786:1;::::0;3732:10:::1;:109::i;:::-;1209:12690:::0;;4055:322;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;4173:16:132::1;:36:::0;;-1:-1:-1;;;;;;4173:36:132::1;-1:-1:-1::0;;;;;4173:36:132;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:199::1;4219:21:132;:151::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;4055:322:132;;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;5373:236:235:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;830:2:357;4880:69:43;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4880:69:43;628:407:357;4880:69:43;5544:9:235::1;:22:::0;;-1:-1:-1;;;;;5544:22:235;;::::1;-1:-1:-1::0;;;;;;5544:22:235;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:357:-;1209:12690:132;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101795760003560e01c80637f46ddb2116100cb578063927ede2d1161007f578063b1a1a88211610059578063b1a1a882146104fe578063c89701a214610511578063e11013dd1461053e57600080fd5b8063927ede2d146104a05780639a2ac6d5146104cb578063a9f9e675146104de57600080fd5b806387087623116100b0578063870876231461043a5780638f601f661461045a57806391c49bf8146103ef57600080fd5b80637f46ddb2146103ef578063838b25201461041a57600080fd5b80633cb747bf1161012d57806354fd4d501161010757806354fd4d501461035457806358a997f6146103aa5780635c975abb146103ca57600080fd5b80633cb747bf146102e7578063485cc95514610314578063540abf731461033457600080fd5b80631532ec341161015e5780631532ec341461026a5780631635f5fd1461027d57806335e80ab31461029057600080fd5b80630166a07a1461023757806309fc88431461025757600080fd5b3661023257333b15610212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b610230333362030d406040518060200160405280600081525061056d565b005b600080fd5b34801561024357600080fd5b506102306102523660046126b1565b610580565b610230610265366004612762565b61099a565b6102306102783660046127b5565b610a71565b61023061028b3660046127b5565b610a85565b34801561029c57600080fd5b506032546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102f357600080fd5b506003546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561032057600080fd5b5061023061032f366004612828565b610f4e565b34801561034057600080fd5b5061023061034f366004612861565b611137565b34801561036057600080fd5b5061039d6040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516102de919061294e565b3480156103b657600080fd5b506102306103c5366004612961565b61117c565b3480156103d657600080fd5b506103df611250565b60405190151581526020016102de565b3480156103fb57600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff166102bd565b34801561042657600080fd5b50610230610435366004612861565b6112e9565b34801561044657600080fd5b50610230610455366004612961565b61132e565b34801561046657600080fd5b50610492610475366004612828565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102de565b3480156104ac57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff166102bd565b6102306104d93660046129e4565b611402565b3480156104ea57600080fd5b506102306104f93660046126b1565b611444565b61023061050c366004612762565b611453565b34801561051d57600080fd5b506004546102bd9073ffffffffffffffffffffffffffffffffffffffff1681565b61023061054c3660046129e4565b611524565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61057a8484348585611567565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610653575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b9190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610705576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b61070d611250565b15610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b61077d87611731565b156108cb5761078c8787611793565b61083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b1580156108ae57600080fd5b505af11580156108c2573d6000803e3d6000fd5b5050505061094d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054610909908490612a93565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c168352939052919091209190915561094d9085856118b3565b610991878787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061198792505050565b50505050505050565b333b15610a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c3333348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b505050565b610a7e8585858585610a85565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610b58575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612a47565b73ffffffffffffffffffffffffffffffffffffffff16145b610c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a401610209565b610c12611250565b15610c79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616e646172644272696467653a20706175736564000000000000000000006044820152606401610209565b823414610d08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e742072657175697265640000000000006064820152608401610209565b3073ffffffffffffffffffffffffffffffffffffffff851603610dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c6600000000000000000000000000000000000000000000000000000000006064820152608401610209565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e6765720000000000000000000000000000000000000000000000006064820152608401610209565b610e9a85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a1592505050565b6000610eb7855a8660405180602001604052806000815250611a88565b905080610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610209565b505050505050565b600054610100900460ff1615808015610f6e5750600054600160ff909116105b80610f885750303b158015610f88575060005460ff166001145b611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610209565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561107257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556110d083734200000000000000000000000000000000000010611aa2565b8015610a6c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b333b1561120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612aaa565b905090565b61099187873388888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611eb792505050565b333b156113bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610f4686863333888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b61057a33858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61099187878787878787610580565b333b156114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f410000000000000000006064820152608401610209565b610a6c33338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061056d92505050565b61057a3385348686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061156792505050565b8234146115f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c756500006064820152608401610209565b61160285858584611ec6565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd0000000000000000000000000000000000000000000000000000000090611665908b908b9086908a90602401612acc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b90921682526116f892918890600401612b15565b6000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b50505050505050505050565b600061175d827f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b8061178d575061178d827fec4fc8e300000000000000000000000000000000000000000000000000000000611f39565b92915050565b60006117bf837f1d1d8b6300000000000000000000000000000000000000000000000000000000611f39565b15611868578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118339190612a47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614905061178d565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180f573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a6c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f5c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b38686866040516119ff93929190612b5a565b60405180910390a4610f46868686868686612068565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e6318484604051611a74929190612b98565b60405180910390a361057a848484846120f0565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610209565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b611b9587611731565b15611ce357611ba48787611793565b611c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a401610209565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b50505050611d77565b611d0573ffffffffffffffffffffffffffffffffffffffff881686308661215d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a1683529290522054611d43908490612bb1565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b611d858787878787866121bb565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611de9908b908d908c908c908c908b90602401612bc9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b9092168252611e7c92918790600401612b15565b600060405180830381600087803b158015611e9657600080fd5b505af1158015611eaa573d6000803e3d6000fd5b5050505050505050505050565b61099187878787878787611b8c565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f238484604051611f25929190612b98565b60405180910390a361057a84848484612249565b6000611f44836122a8565b8015611f555750611f55838361230c565b9392505050565b6000611fbe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123db9092919063ffffffff16565b805190915015610a6c5780806020019051810190611fdc9190612aaa565b610a6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610209565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd8686866040516120e093929190612b5a565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d848460405161214f929190612b98565b60405180910390a350505050565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261057a9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611905565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d039686868660405161223393929190612b5a565b60405180910390a4610f468686868686866123f2565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5848460405161214f929190612b98565b60006122d4827f01ffc9a70000000000000000000000000000000000000000000000000000000061230c565b801561178d5750612305827fffffffff0000000000000000000000000000000000000000000000000000000061230c565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156123c4575060208210155b80156123d05750600081115b979650505050505050565b60606123ea848460008561246a565b949350505050565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf8686866040516120e093929190612b5a565b6060824710156124fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610209565b73ffffffffffffffffffffffffffffffffffffffff85163b61257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610209565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125a39190612c24565b60006040518083038185875af1925050503d80600081146125e0576040519150601f19603f3d011682016040523d82523d6000602084013e6125e5565b606091505b50915091506123d0828286606083156125ff575081611f55565b82511561260f5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610209919061294e565b73ffffffffffffffffffffffffffffffffffffffff8116811461266557600080fd5b50565b60008083601f84011261267a57600080fd5b50813567ffffffffffffffff81111561269257600080fd5b6020830191508360208285010111156126aa57600080fd5b9250929050565b600080600080600080600060c0888a0312156126cc57600080fd5b87356126d781612643565b965060208801356126e781612643565b955060408801356126f781612643565b9450606088013561270781612643565b93506080880135925060a088013567ffffffffffffffff81111561272a57600080fd5b6127368a828b01612668565b989b979a50959850939692959293505050565b803563ffffffff8116811461275d57600080fd5b919050565b60008060006040848603121561277757600080fd5b61278084612749565b9250602084013567ffffffffffffffff81111561279c57600080fd5b6127a886828701612668565b9497909650939450505050565b6000806000806000608086880312156127cd57600080fd5b85356127d881612643565b945060208601356127e881612643565b935060408601359250606086013567ffffffffffffffff81111561280b57600080fd5b61281788828901612668565b969995985093965092949392505050565b6000806040838503121561283b57600080fd5b823561284681612643565b9150602083013561285681612643565b809150509250929050565b600080600080600080600060c0888a03121561287c57600080fd5b873561288781612643565b9650602088013561289781612643565b955060408801356128a781612643565b9450606088013593506128bc60808901612749565b925060a088013567ffffffffffffffff81111561272a57600080fd5b60005b838110156128f35781810151838201526020016128db565b8381111561057a5750506000910152565b6000815180845261291c8160208601602086016128d8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f556020830184612904565b60008060008060008060a0878903121561297a57600080fd5b863561298581612643565b9550602087013561299581612643565b9450604087013593506129aa60608801612749565b9250608087013567ffffffffffffffff8111156129c657600080fd5b6129d289828a01612668565b979a9699509497509295939492505050565b600080600080606085870312156129fa57600080fd5b8435612a0581612643565b9350612a1360208601612749565b9250604085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612668565b95989497509550505050565b600060208284031215612a5957600080fd5b8151611f5581612643565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612aa557612aa5612a64565b500390565b600060208284031215612abc57600080fd5b81518015158114611f5557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b0b6080830184612904565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000612b446060830185612904565b905063ffffffff83166040830152949350505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612b8f6060830184612904565b95945050505050565b8281526040602082015260006123ea6040830184612904565b60008219821115612bc457612bc4612a64565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a0830152612c1860c0830184612904565b98975050505050505050565b60008251612c368184602087016128d8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1209:12690:132:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:235;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;;;;;;;;;4658:81:132::1;4678:10;4690;1343:7:235;4729:9:132;;;;;;;;;;;::::0;4658:19:::1;:81::i;:::-;1209:12690:::0;;;;;12867:1084:235;;;;;;;;;;-1:-1:-1;12867:1084:235;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;8758:245:132:-;;;;;;:::i;:::-;;:::i;11233:902:235:-;;;;;;:::i;:::-;;:::i;3586:40:132:-;;;;;;;;;;-1:-1:-1;3586:40:132;;;;;;;;;;;3607:42:357;3595:55;;;3577:74;;3565:2;3550:18;3586:40:132;;;;;;;;1893:37:235;;;;;;;;;;-1:-1:-1;1893:37:235;;;;;;;;4055:322:132;;;;;;;;;;-1:-1:-1;4055:322:132;;;;;:::i;:::-;;:::i;10320:349:235:-;;;;;;;;;;-1:-1:-1;10320:349:235;;;;;:::i;:::-;;:::i;3481:40:132:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7066:339::-;;;;;;;;;;-1:-1:-1;7066:339:132;;;;;:::i;:::-;;:::i;4418:103::-;;;;;;;;;;;;;:::i;:::-;;;7155:14:357;;7148:22;7130:41;;7118:2;7103:18;4418:103:132;6990:187:357;6369:98:235;;;;;;;;;;-1:-1:-1;6449:11:235;;;;6369:98;;8106:339:132;;;;;;;;;;-1:-1:-1;8106:339:132;;;;;:::i;:::-;;:::i;9277:349:235:-;;;;;;;;;;-1:-1:-1;9277:349:235;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:235;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;7985:25:357;;;7973:2;7958:18;1739:63:235;7839:177:357;6024:99:235;;;;;;;;;;-1:-1:-1;6107:9:235;;;;6024:99;;6242:179:132;;;;;;:::i;:::-;;:::i;9453:305::-;;;;;;;;;;-1:-1:-1;9453:305:132;;;;;:::i;:::-;;:::i;5183:179::-;;;;;;:::i;:::-;;:::i;2028:33:235:-;;;;;;;;;;-1:-1:-1;2028:33:235;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:59:-;1465:19;;;:23;;;1175:320::o;10356:196:132:-;10478:67;10497:5;10504:3;10509:9;10520:12;10534:10;10478:18;:67::i;:::-;10356:196;;;;:::o;12867:1084:235:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:235;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:357;4961:204:235;;;9313:21:357;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:235;9129:469:357;4961:204:235;13126:8:::1;:6;:8::i;:::-;:17;13118:52;;;::::0;::::1;::::0;;9805:2:357;13118:52:235::1;::::0;::::1;9787:21:357::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;13118:52:235::1;9603:346:357::0;13118:52:235::1;13184:37;13209:11;13184:24;:37::i;:::-;13180:489;;;13262:46;13282:11;13295:12;13262:19;:46::i;:::-;13237:179;;;::::0;::::1;::::0;;10156:2:357;13237:179:235::1;::::0;::::1;10138:21:357::0;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;13237:179:235::1;9954:478:357::0;13237:179:235::1;13431:53;::::0;;;;:39:::1;10629:55:357::0;;;13431:53:235::1;::::0;::::1;10611:74:357::0;10701:18;;;10694:34;;;13431:39:235;::::1;::::0;::::1;::::0;10584:18:357;;13431:53:235::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13180:489;;;13553:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;13591:7;;13553:45:::1;:::i;:::-;13515:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;13612:46:::1;::::0;13645:3;13650:7;13612:32:::1;:46::i;:::-;13859:85;13885:11;13898:12;13912:5;13919:3;13924:7;13933:10;;13859:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;13859:25:235::1;::::0;-1:-1:-1;;;13859:85:235:i:1;:::-;12867:1084:::0;;;;;;;:::o;7253:186::-;4741:10;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:235::1;::::0;-1:-1:-1;;;7353:79:235:i:1;:::-;7253:186:::0;;;:::o;8758:245:132:-;8946:50;8964:5;8971:3;8976:7;8985:10;;8946:17;:50::i;:::-;8758:245;;;;;:::o;11233:902:235:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:235;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9331:2:357;4961:204:235;;;9313:21:357;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;9480:34;9460:18;;;9453:62;9552:3;9531:19;;;9524:32;9573:19;;4961:204:235;9129:469:357;4961:204:235;11447:8:::1;:6;:8::i;:::-;:17;11439:52;;;::::0;::::1;::::0;;9805:2:357;11439:52:235::1;::::0;::::1;9787:21:357::0;9844:2;9824:18;;;9817:30;9883:24;9863:18;;;9856:52;9925:18;;11439:52:235::1;9603:346:357::0;11439:52:235::1;11522:7;11509:9;:20;11501:91;;;::::0;::::1;::::0;;11260:2:357;11501:91:235::1;::::0;::::1;11242:21:357::0;11299:2;11279:18;;;11272:30;11338:34;11318:18;;;11311:62;11409:28;11389:18;;;11382:56;11455:19;;11501:91:235::1;11058:422:357::0;11501:91:235::1;11625:4;11610:20;::::0;::::1;::::0;11602:68:::1;;;::::0;::::1;::::0;;11687:2:357;11602:68:235::1;::::0;::::1;11669:21:357::0;11726:2;11706:18;;;11699:30;11765:34;11745:18;;;11738:62;11836:5;11816:18;;;11809:33;11859:19;;11602:68:235::1;11485:399:357::0;11602:68:235::1;11703:9;::::0;::::1;::::0;;::::1;11688:25:::0;;::::1;::::0;11680:78:::1;;;::::0;::::1;::::0;;12091:2:357;11680:78:235::1;::::0;::::1;12073:21:357::0;12130:2;12110:18;;;12103:30;12169:34;12149:18;;;12142:62;12240:10;12220:18;;;12213:38;12268:19;;11680:78:235::1;11889:404:357::0;11680:78:235::1;11936:56;11960:5;11967:3;11972:7;11981:10;;11936:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;11936:23:235::1;::::0;-1:-1:-1;;;11936:56:235:i:1;:::-;12003:12;12018:45;12032:3;12037:9;12048:7;12018:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12003:60;;12081:7;12073:55;;;::::0;::::1;::::0;;12500:2:357;12073:55:235::1;::::0;::::1;12482:21:357::0;12539:2;12519:18;;;12512:30;12578:34;12558:18;;;12551:62;12649:5;12629:18;;;12622:33;12672:19;;12073:55:235::1;12298:399:357::0;12073:55:235::1;11429:706;11233:902:::0;;;;;:::o;4055:322:132:-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;12904:2:357;3146:190:43;;;12886:21:357;12943:2;12923:18;;;12916:30;12982:34;12962:18;;;12955:62;13053:16;13033:18;;;13026:44;13087:19;;3146:190:43;12702:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4173:16:132::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;4219:151:::1;4267:10:::0;635:42:199::1;4219:21:132;:151::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13269:36:357;;3531:14:43;;13257:2:357;13242:18;3531:14:43;;;;;;;3090:472;4055:322:132;;:::o;10320:349:235:-;10563:99;10584:11;10597:12;10611:10;10623:3;10628:7;10637:12;10651:10;;10563:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10563:20:235;;-1:-1:-1;;;10563:99:235:i;7066:339:132:-;4741:10:235;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;7298:100:132::1;7320:8;7330;7340:10;7352;7364:7;7373:12;7387:10;;7298:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7298:21:132::1;::::0;-1:-1:-1;;;7298:100:132:i:1;4418:103::-:0;4489:16;;:25;;;;;;;;4466:4;;4489:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4482:32;;4418:103;:::o;8106:339::-;8345:93;8367:8;8377;8387:10;8399:3;8404:7;8413:12;8427:10;;8345:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8345:21:132;;-1:-1:-1;;;8345:93:132:i;9277:349:235:-;4741:10;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;9513:106:::1;9534:11;9547:12;9561:10;9573;9585:7;9594:12;9608:10;;9513:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9513:20:235::1;::::0;-1:-1:-1;;;9513:106:235:i:1;6242:179:132:-:0;6352:62;6372:10;6384:3;6389:12;6403:10;;6352:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6352:19:132;;-1:-1:-1;;;6352:62:132:i;9453:305::-;9679:72;9699:8;9709;9719:5;9726:3;9731:7;9740:10;;9679:19;:72::i;5183:179::-;4741:10:235;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;5286:69:132::1;5306:10;5318;5330:12;5344:10;;5286:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;5286:19:132::1;::::0;-1:-1:-1;;;5286:69:132:i:1;8450:186:235:-:0;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:235;;-1:-1:-1;;;8557:72:235:i;14539:789::-;14756:7;14743:9;:20;14735:95;;;;;;;13800:2:357;14735:95:235;;;13782:21:357;13839:2;13819:18;;;13812:30;13878:34;13858:18;;;13851:62;13949:32;13929:18;;;13922:60;13999:19;;14735:95:235;13598:426:357;14735:95:235;15008:56;15032:5;15039:3;15044:7;15053:10;15008:23;:56::i;:::-;15075:9;;15146:11;;15182:88;;15075:9;;;;;:21;;15105:7;;15146:11;;;15205:31;;15182:88;;15238:5;;15245:3;;15105:7;;15259:10;;15182:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15075:246;;;;;;;;;;;;;15298:12;;15075:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14539:789;;;;;:::o;17966:279::-;18039:4;18062:79;18094:6;18102:38;18062:31;:79::i;:::-;:176;;;;18157:81;18189:6;18197:40;18157:31;:81::i;:::-;18055:183;17966:279;-1:-1:-1;;17966:279:235:o;18692:410::-;18789:4;18809:87;18841:14;18857:38;18809:31;:87::i;:::-;18805:291;;;18955:14;18934:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18919:61;;:11;:61;;;18912:68;;;;18805:291;19056:14;19033:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:52;902:58;;10641:42:357;10629:55;;902:58:52;;;10611:74:357;10701:18;;;10694:34;;;875:86:52;;895:5;;925:23;;10584:18:357;;902:58:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;13450:447:132:-;13757:5;13705:84;;13743:12;13705:84;;13730:11;13705:84;;;13764:3;13769:7;13778:10;13705:84;;;;;;;;:::i;:::-;;;;;;;;13799:91;13831:11;13844:12;13858:5;13865:3;13870:7;13879:10;13799:31;:91::i;12208:328::-;12432:3;12402:55;;12425:5;12402:55;;;12437:7;12446:10;12402:55;;;;;;;:::i;:::-;;;;;;;;12467:62;12497:5;12504:3;12509:7;12518:10;12467:29;:62::i;1202:536:200:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:200:o;5373:236:235:-;4888:13:43;;;;;;;4880:69;;;;;;;15885:2:357;4880:69:43;;;15867:21:357;15924:2;15904:18;;;15897:30;15963:34;15943:18;;;15936:62;16034:13;16014:18;;;16007:41;16065:19;;4880:69:43;15683:407:357;4880:69:43;5544:9:235::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;16022:1680::-;16283:37;16308:11;16283:24;:37::i;:::-;16279:512;;;16361:46;16381:11;16394:12;16361:19;:46::i;:::-;16336:179;;;;;;;10156:2:357;16336:179:235;;;10138:21:357;10195:2;10175:18;;;10168:30;10234:34;10214:18;;;10207:62;10305:34;10285:18;;;10278:62;10377:12;10356:19;;;10349:41;10407:19;;16336:179:235;9954:478:357;16336:179:235;16530:55;;;;;:39;10629:55:357;;;16530::235;;;10611:74:357;10701:18;;;10694:34;;;16530:39:235;;;;;10584:18:357;;16530:55:235;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16279:512;;;16616:67;:36;;;16653:5;16668:4;16675:7;16616:36;:67::i;:::-;16735:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;16773:7;;16735:45;:::i;:::-;16697:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16279:512;16981:85;17007:11;17020:12;17034:5;17041:3;17046:7;17055:10;16981:25;:85::i;:::-;17077:9;;17130:11;;17166:478;;17077:9;;;;;:21;;17130:11;;17206:33;;17166:478;;17492:12;;17522:11;;17551:5;;17574:3;;17595:7;;17620:10;;17166:478;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17077:618;;;;;;;;;;;;;17672:12;;17077:618;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16022:1680;;;;;;;:::o;11078:345:132:-;11329:87;11350:8;11360;11370:5;11377:3;11382:7;11391:12;11405:10;11329:20;:87::i;11651:325::-;11872:3;11845:52;;11865:5;11845:52;;;11877:7;11886:10;11845:52;;;;;;;:::i;:::-;;;;;;;;11907:62;11937:5;11944:3;11949:7;11958:10;11907:29;:62::i;1333:274:67:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:67:o;3747:706:52:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:52;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17109:2:357;4351:85:52;;;17091:21:357;17148:2;17128:18;;;17121:30;17187:34;17167:18;;;17160:62;17258:12;17238:18;;;17231:40;17288:19;;4351:85:52;16907:406:357;21757:341:235;22059:5;22011:80;;22045:12;22011:80;;22032:11;22011:80;;;22066:3;22071:7;22080:10;22011:80;;;;;;;;:::i;:::-;;;;;;;;21757:341;;;;;;:::o;20099:251::-;20318:3;20292:51;;20311:5;20292:51;;;20323:7;20332:10;20292:51;;;;;;;:::i;:::-;;;;;;;;20099:251;;;;:::o;974:241:52:-;1139:68;;17530:42:357;17599:15;;;1139:68:52;;;17581:34:357;17651:15;;17631:18;;;17624:43;17683:18;;;17676:34;;;1112:96:52;;1132:5;;1162:27;;17493:18:357;;1139:68:52;17318:398:357;12771:444:132;13075:5;13026:81;;13061:12;13026:81;;13048:11;13026:81;;;13082:3;13087:7;13096:10;13026:81;;;;;;;;:::i;:::-;;;;;;;;13117:91;13149:11;13162:12;13176:5;13183:3;13188:7;13197:10;13117:31;:91::i;19478:251:235:-;19697:3;19671:51;;19690:5;19671:51;;;19702:7;19711:10;19671:51;;;;;;;:::i;704:411:67:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:67;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:67:o;4223:638::-;4385:71;;;17895:66:357;17883:79;;4385:71:67;;;;17865:98:357;;;;4385:71:67;;;;;;;;;;17838:18:357;;;;4385:71:67;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:67:o;3861:223:59:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:59:o;20883:341:235:-;21185:5;21137:80;;21171:12;21137:80;;21158:11;21137:80;;;21192:3;21197:7;21206:10;21137:80;;;;;;;;:::i;4948:499:59:-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18176:2:357;5137:81:59;;;18158:21:357;18215:2;18195:18;;;18188:30;18254:34;18234:18;;;18227:62;18325:8;18305:18;;;18298:36;18351:19;;5137:81:59;17974:402:357;5137:81:59;1465:19;;;;5228:60;;;;;;;18583:2:357;5228:60:59;;;18565:21:357;18622:2;18602:18;;;18595:30;18661:31;18641:18;;;18634:59;18710:18;;5228:60:59;18381:353:357;5228:60:59;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:59;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:357:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:357;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:357;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:357;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:357;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:357;1699:19;;1686:33;;-1:-1:-1;1770:3:357;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:357;;-1:-1:-1;949:1038:357;;;;1843:84;;-1:-1:-1;;;949:1038:357:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:357;;-1:-1:-1;;;;2160:481:357:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:357;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:357;3114:18;;3101:32;;-1:-1:-1;3184:2:357;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:357;;-1:-1:-1;3359:8:357;;3256:84;2646:754;-1:-1:-1;;;2646:754:357:o;3924:445::-;4049:6;4057;4110:2;4098:9;4089:7;4085:23;4081:32;4078:52;;;4126:1;4123;4116:12;4078:52;4165:9;4152:23;4184:31;4209:5;4184:31;:::i;:::-;4234:5;-1:-1:-1;4291:2:357;4276:18;;4263:32;4304:33;4263:32;4304:33;:::i;:::-;4356:7;4346:17;;;3924:445;;;;;:::o;4374:969::-;4488:6;4496;4504;4512;4520;4528;4536;4589:3;4577:9;4568:7;4564:23;4560:33;4557:53;;;4606:1;4603;4596:12;4557:53;4645:9;4632:23;4664:31;4689:5;4664:31;:::i;:::-;4714:5;-1:-1:-1;4771:2:357;4756:18;;4743:32;4784:33;4743:32;4784:33;:::i;:::-;4836:7;-1:-1:-1;4895:2:357;4880:18;;4867:32;4908:33;4867:32;4908:33;:::i;:::-;4960:7;-1:-1:-1;5014:2:357;4999:18;;4986:32;;-1:-1:-1;5037:38:357;5070:3;5055:19;;5037:38;:::i;:::-;5027:48;;5126:3;5115:9;5111:19;5098:33;5154:18;5146:6;5143:30;5140:50;;;5186:1;5183;5176:12;5348:258;5420:1;5430:113;5444:6;5441:1;5438:13;5430:113;;;5520:11;;;5514:18;5501:11;;;5494:39;5466:2;5459:10;5430:113;;;5561:6;5558:1;5555:13;5552:48;;;-1:-1:-1;;5596:1:357;5578:16;;5571:27;5348:258::o;5611:317::-;5653:3;5691:5;5685:12;5718:6;5713:3;5706:19;5734:63;5790:6;5783:4;5778:3;5774:14;5767:4;5760:5;5756:16;5734:63;:::i;:::-;5842:2;5830:15;5847:66;5826:88;5817:98;;;;5917:4;5813:109;;5611:317;-1:-1:-1;;5611:317:357:o;5933:220::-;6082:2;6071:9;6064:21;6045:4;6102:45;6143:2;6132:9;6128:18;6120:6;6102:45;:::i;6158:827::-;6263:6;6271;6279;6287;6295;6303;6356:3;6344:9;6335:7;6331:23;6327:33;6324:53;;;6373:1;6370;6363:12;6324:53;6412:9;6399:23;6431:31;6456:5;6431:31;:::i;:::-;6481:5;-1:-1:-1;6538:2:357;6523:18;;6510:32;6551:33;6510:32;6551:33;:::i;:::-;6603:7;-1:-1:-1;6657:2:357;6642:18;;6629:32;;-1:-1:-1;6680:37:357;6713:2;6698:18;;6680:37;:::i;:::-;6670:47;;6768:3;6757:9;6753:19;6740:33;6796:18;6788:6;6785:30;6782:50;;;6828:1;6825;6818:12;6782:50;6867:58;6917:7;6908:6;6897:9;6893:22;6867:58;:::i;:::-;6158:827;;;;-1:-1:-1;6158:827:357;;-1:-1:-1;6158:827:357;;6944:8;;6158:827;-1:-1:-1;;;6158:827:357:o;8252:616::-;8339:6;8347;8355;8363;8416:2;8404:9;8395:7;8391:23;8387:32;8384:52;;;8432:1;8429;8422:12;8384:52;8471:9;8458:23;8490:31;8515:5;8490:31;:::i;:::-;8540:5;-1:-1:-1;8564:37:357;8597:2;8582:18;;8564:37;:::i;:::-;8554:47;;8652:2;8641:9;8637:18;8624:32;8679:18;8671:6;8668:30;8665:50;;;8711:1;8708;8701:12;8665:50;8750:58;8800:7;8791:6;8780:9;8776:22;8750:58;:::i;:::-;8252:616;;;;-1:-1:-1;8827:8:357;-1:-1:-1;;;;8252:616:357:o;8873:251::-;8943:6;8996:2;8984:9;8975:7;8971:23;8967:32;8964:52;;;9012:1;9009;9002:12;8964:52;9044:9;9038:16;9063:31;9088:5;9063:31;:::i;10739:184::-;10791:77;10788:1;10781:88;10888:4;10885:1;10878:15;10912:4;10909:1;10902:15;10928:125;10968:4;10996:1;10993;10990:8;10987:34;;;11001:18;;:::i;:::-;-1:-1:-1;11038:9:357;;10928:125::o;13316:277::-;13383:6;13436:2;13424:9;13415:7;13411:23;13407:32;13404:52;;;13452:1;13449;13442:12;13404:52;13484:9;13478:16;13537:5;13530:13;13523:21;13516:5;13513:32;13503:60;;13559:1;13556;13549:12;14029:512;14223:4;14252:42;14333:2;14325:6;14321:15;14310:9;14303:34;14385:2;14377:6;14373:15;14368:2;14357:9;14353:18;14346:43;;14425:6;14420:2;14409:9;14405:18;14398:34;14468:3;14463:2;14452:9;14448:18;14441:31;14489:46;14530:3;14519:9;14515:19;14507:6;14489:46;:::i;:::-;14481:54;14029:512;-1:-1:-1;;;;;;14029:512:357:o;14546:424::-;14759:42;14751:6;14747:55;14736:9;14729:74;14839:2;14834;14823:9;14819:18;14812:30;14710:4;14859:45;14900:2;14889:9;14885:18;14877:6;14859:45;:::i;:::-;14851:53;;14952:10;14944:6;14940:23;14935:2;14924:9;14920:18;14913:51;14546:424;;;;;;:::o;14975:409::-;15190:42;15182:6;15178:55;15167:9;15160:74;15270:6;15265:2;15254:9;15250:18;15243:34;15313:2;15308;15297:9;15293:18;15286:30;15141:4;15333:45;15374:2;15363:9;15359:18;15351:6;15333:45;:::i;:::-;15325:53;14975:409;-1:-1:-1;;;;;14975:409:357:o;15389:289::-;15564:6;15553:9;15546:25;15607:2;15602;15591:9;15587:18;15580:30;15527:4;15627:45;15668:2;15657:9;15653:18;15645:6;15627:45;:::i;16095:128::-;16135:3;16166:1;16162:6;16159:1;16156:13;16153:39;;;16172:18;;:::i;:::-;-1:-1:-1;16208:9:357;;16095:128::o;16228:674::-;16478:4;16507:42;16588:2;16580:6;16576:15;16565:9;16558:34;16640:2;16632:6;16628:15;16623:2;16612:9;16608:18;16601:43;16692:2;16684:6;16680:15;16675:2;16664:9;16660:18;16653:43;16744:2;16736:6;16732:15;16727:2;16716:9;16712:18;16705:43;;16785:6;16779:3;16768:9;16764:19;16757:35;16829:3;16823;16812:9;16808:19;16801:32;16850:46;16891:3;16880:9;16876:19;16868:6;16850:46;:::i;:::-;16842:54;16228:674;-1:-1:-1;;;;;;;;16228:674:357:o;18739:274::-;18868:3;18906:6;18900:13;18922:53;18968:6;18963:3;18956:4;18948:6;18944:17;18922:53;:::i;:::-;18991:16;;;;;18739:274;-1:-1:-1;;18739:274:357:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","depositERC20(address,address,uint256,uint32,bytes)":"58a997f6","depositERC20To(address,address,address,uint256,uint32,bytes)":"838b2520","depositETH(uint32,bytes)":"b1a1a882","depositETHTo(address,uint32,bytes)":"9a2ac6d5","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":"a9f9e675","finalizeETHWithdrawal(address,address,uint256,bytes)":"1532ec34","initialize(address,address)":"485cc955","l2TokenBridge()":"91c49bf8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:`{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20DepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHDepositInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHWithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"depositETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeERC20Withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeETHWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title L1StandardBridge","events":{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is initiated.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 withdrawal is finalized.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a deposit of ETH from L1 into L2 is initiated.","params":{"amount":"Amount of ETH deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","to":"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal of ETH from L2 to L1 is finalized.","params":{"amount":"Amount of ETH withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.","params":{"_amount":"Amount of the ERC20 to deposit.","_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_l1Token":"Address of the L1 token being deposited.","_l2Token":"Address of the corresponding token on L2.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.","params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_minGasLimit":"Minimum gas limit for the deposit message on L2.","_to":"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.","params":{"_amount":"Amount of the ERC20 to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_l1Token":"Address of the token on L1.","_l2Token":"Address of the corresponding token on L2.","_to":"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.","params":{"_amount":"Amount of ETH to withdraw.","_extraData":"Optional data forwarded from L2.","_from":"Address of the withdrawer on L2.","_to":"Address of the recipient on L1."}},"initialize(address,address)":{"params":{"_messenger":"Contract for the CrossDomainMessenger on this network.","_superchainConfig":"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.","returns":{"_0":"Address of the corresponding L2 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use \`messenger\` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use \`otherBridge\` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender's address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver's address on the other chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L1StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1StandardBridge.sol":{"keccak256":"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633","license":"MIT","urls":["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d","license":"MIT","urls":["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"]}},"version":1}`,metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20DepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHDepositInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHWithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"depositERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeERC20Withdrawal"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeETHWithdrawal"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into the sender's account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ERC20 tokens into a target account on L2.",params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into the sender's account on L2.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{"custom:legacy":"@notice Deposits some amount of ETH into a target account on L2. Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will be locked in the L2StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently.",params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ERC20 tokens from L2.",params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a withdrawal of ETH from L2.",params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L2 bridge contract.",returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1StandardBridge.sol":"L1StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1StandardBridge.sol":{keccak256:"0x2fdc6f6f464a24344847c81d394f502d000cd722f7ff21fa21104b5f7e392633",urls:["bzz-raw://393fd96446ab8fce3bb7d1134e6ff847bf9940e0eaa199accf01118c3917367f","dweb:/ipfs/QmX36camDYHu7pVzdjnfprinxPpZnjJehZXUKTyUdezKRK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d",urls:["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:110944,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:110947,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:110954,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:110958,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)108888"},{astId:110962,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)111675"},{astId:110967,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"},{astId:85497,contract:"src/L1/L1StandardBridge.sol:L1StandardBridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)88793"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)111675":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)88793":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L1StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address,address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L1, it will be escrowed within this contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was stored within this contract. After Bedrock, ETH is instead stored inside the OptimismPortal contract. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"depositERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the ERC20 to deposit.",_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_l1Token:"Address of the L1 token being deposited.",_l2Token:"Address of the corresponding token on L2.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"depositETH(uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2."}},"depositETHTo(address,uint32,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_minGasLimit:"Minimum gas limit for the deposit message on L2.",_to:"Address of the recipient on L2."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeERC20Withdrawal(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_l1Token:"Address of the token on L1.",_l2Token:"Address of the corresponding token on L2.",_to:"Address of the recipient on L1."}},"finalizeETHWithdrawal(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH to withdraw.",_extraData:"Optional data forwarded from L2.",_from:"Address of the withdrawer on L2.",_to:"Address of the recipient on L1."}},"initialize(address,address)":{params:{_messenger:"Contract for the CrossDomainMessenger on this network.",_superchainConfig:"Contract for the SuperchainConfig on this network."}},"l2TokenBridge()":{returns:{_0:"Address of the corresponding L2 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},events:{"ERC20DepositInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"ERC20WithdrawalFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}},"ETHDepositInitiated(address,address,uint256,bytes)":{params:{amount:"Amount of ETH deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",to:"Address of the recipient on L2."}},"ETHWithdrawalFinalized(address,address,uint256,bytes)":{params:{amount:"Amount of ETH withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",to:"Address of the recipient on L1."}}}},ast:{absolutePath:"src/L1/L1StandardBridge.sol",id:85922,exportedSymbols:{Constants:[103096],CrossDomainMessenger:[108888],ISemver:[109417],L1StandardBridge:[85921],Predeploys:[104124],StandardBridge:[111675],SuperchainConfig:[88793]},nodeType:"SourceUnit",src:"32:13868:132",nodes:[{id:85420,nodeType:"PragmaDirective",src:"32:23:132",nodes:[],literals:["solidity","0.8",".15"]},{id:85422,nodeType:"ImportDirective",src:"57:58:132",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:104125,symbolAliases:[{foreign:{id:85421,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"66:10:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85424,nodeType:"ImportDirective",src:"116:66:132",nodes:[],absolutePath:"src/universal/StandardBridge.sol",file:"src/universal/StandardBridge.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:111676,symbolAliases:[{foreign:{id:85423,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"125:14:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85426,nodeType:"ImportDirective",src:"183:52:132",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:109418,symbolAliases:[{foreign:{id:85425,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"192:7:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85428,nodeType:"ImportDirective",src:"236:78:132",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:108889,symbolAliases:[{foreign:{id:85427,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"245:20:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85430,nodeType:"ImportDirective",src:"315:63:132",nodes:[],absolutePath:"src/L1/SuperchainConfig.sol",file:"src/L1/SuperchainConfig.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:88794,symbolAliases:[{foreign:{id:85429,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"324:16:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85432,nodeType:"ImportDirective",src:"379:56:132",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:85922,sourceUnit:103097,symbolAliases:[{foreign:{id:85431,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"388:9:132",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85921,nodeType:"ContractDefinition",src:"1209:12690:132",nodes:[{id:85448,nodeType:"EventDefinition",src:"1590:101:132",nodes:[],anonymous:!1,documentation:{id:85438,nodeType:"StructuredDocumentation",src:"1268:317:132",text:`@custom:legacy + @notice Emitted whenever a deposit of ETH from L1 into L2 is initiated. + @param from Address of the depositor. + @param to Address of the recipient on L2. + @param amount Amount of ETH deposited. + @param extraData Extra data attached to the deposit.`},eventSelector:"35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23",name:"ETHDepositInitiated",nameLocation:"1596:19:132",parameters:{id:85447,nodeType:"ParameterList",parameters:[{constant:!1,id:85440,indexed:!0,mutability:"mutable",name:"from",nameLocation:"1632:4:132",nodeType:"VariableDeclaration",scope:85448,src:"1616:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85439,name:"address",nodeType:"ElementaryTypeName",src:"1616:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85442,indexed:!0,mutability:"mutable",name:"to",nameLocation:"1654:2:132",nodeType:"VariableDeclaration",scope:85448,src:"1638:18:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85441,name:"address",nodeType:"ElementaryTypeName",src:"1638:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85444,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"1666:6:132",nodeType:"VariableDeclaration",scope:85448,src:"1658:14:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85443,name:"uint256",nodeType:"ElementaryTypeName",src:"1658:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85446,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"1680:9:132",nodeType:"VariableDeclaration",scope:85448,src:"1674:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85445,name:"bytes",nodeType:"ElementaryTypeName",src:"1674:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"1615:75:132"}},{id:85459,nodeType:"EventDefinition",src:"2024:104:132",nodes:[],anonymous:!1,documentation:{id:85449,nodeType:"StructuredDocumentation",src:"1697:322:132",text:`@custom:legacy + @notice Emitted whenever a withdrawal of ETH from L2 to L1 is finalized. + @param from Address of the withdrawer. + @param to Address of the recipient on L1. + @param amount Amount of ETH withdrawn. + @param extraData Extra data attached to the withdrawal.`},eventSelector:"2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631",name:"ETHWithdrawalFinalized",nameLocation:"2030:22:132",parameters:{id:85458,nodeType:"ParameterList",parameters:[{constant:!1,id:85451,indexed:!0,mutability:"mutable",name:"from",nameLocation:"2069:4:132",nodeType:"VariableDeclaration",scope:85459,src:"2053:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85450,name:"address",nodeType:"ElementaryTypeName",src:"2053:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85453,indexed:!0,mutability:"mutable",name:"to",nameLocation:"2091:2:132",nodeType:"VariableDeclaration",scope:85459,src:"2075:18:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85452,name:"address",nodeType:"ElementaryTypeName",src:"2075:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85455,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"2103:6:132",nodeType:"VariableDeclaration",scope:85459,src:"2095:14:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85454,name:"uint256",nodeType:"ElementaryTypeName",src:"2095:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85457,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"2117:9:132",nodeType:"VariableDeclaration",scope:85459,src:"2111:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85456,name:"bytes",nodeType:"ElementaryTypeName",src:"2111:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2052:75:132"}},{id:85474,nodeType:"EventDefinition",src:"2566:199:132",nodes:[],anonymous:!1,documentation:{id:85460,nodeType:"StructuredDocumentation",src:"2134:427:132",text:`@custom:legacy + @notice Emitted whenever an ERC20 deposit is initiated. + @param l1Token Address of the token on L1. + @param l2Token Address of the corresponding token on L2. + @param from Address of the depositor. + @param to Address of the recipient on L2. + @param amount Amount of the ERC20 deposited. + @param extraData Extra data attached to the deposit.`},eventSelector:"718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396",name:"ERC20DepositInitiated",nameLocation:"2572:21:132",parameters:{id:85473,nodeType:"ParameterList",parameters:[{constant:!1,id:85462,indexed:!0,mutability:"mutable",name:"l1Token",nameLocation:"2619:7:132",nodeType:"VariableDeclaration",scope:85474,src:"2603:23:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85461,name:"address",nodeType:"ElementaryTypeName",src:"2603:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85464,indexed:!0,mutability:"mutable",name:"l2Token",nameLocation:"2652:7:132",nodeType:"VariableDeclaration",scope:85474,src:"2636:23:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85463,name:"address",nodeType:"ElementaryTypeName",src:"2636:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85466,indexed:!0,mutability:"mutable",name:"from",nameLocation:"2685:4:132",nodeType:"VariableDeclaration",scope:85474,src:"2669:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85465,name:"address",nodeType:"ElementaryTypeName",src:"2669:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85468,indexed:!1,mutability:"mutable",name:"to",nameLocation:"2707:2:132",nodeType:"VariableDeclaration",scope:85474,src:"2699:10:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85467,name:"address",nodeType:"ElementaryTypeName",src:"2699:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85470,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"2727:6:132",nodeType:"VariableDeclaration",scope:85474,src:"2719:14:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85469,name:"uint256",nodeType:"ElementaryTypeName",src:"2719:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85472,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"2749:9:132",nodeType:"VariableDeclaration",scope:85474,src:"2743:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85471,name:"bytes",nodeType:"ElementaryTypeName",src:"2743:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2593:171:132"}},{id:85489,nodeType:"EventDefinition",src:"3210:202:132",nodes:[],anonymous:!1,documentation:{id:85475,nodeType:"StructuredDocumentation",src:"2771:434:132",text:`@custom:legacy + @notice Emitted whenever an ERC20 withdrawal is finalized. + @param l1Token Address of the token on L1. + @param l2Token Address of the corresponding token on L2. + @param from Address of the withdrawer. + @param to Address of the recipient on L1. + @param amount Amount of the ERC20 withdrawn. + @param extraData Extra data attached to the withdrawal.`},eventSelector:"3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3",name:"ERC20WithdrawalFinalized",nameLocation:"3216:24:132",parameters:{id:85488,nodeType:"ParameterList",parameters:[{constant:!1,id:85477,indexed:!0,mutability:"mutable",name:"l1Token",nameLocation:"3266:7:132",nodeType:"VariableDeclaration",scope:85489,src:"3250:23:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85476,name:"address",nodeType:"ElementaryTypeName",src:"3250:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85479,indexed:!0,mutability:"mutable",name:"l2Token",nameLocation:"3299:7:132",nodeType:"VariableDeclaration",scope:85489,src:"3283:23:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85478,name:"address",nodeType:"ElementaryTypeName",src:"3283:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85481,indexed:!0,mutability:"mutable",name:"from",nameLocation:"3332:4:132",nodeType:"VariableDeclaration",scope:85489,src:"3316:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85480,name:"address",nodeType:"ElementaryTypeName",src:"3316:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85483,indexed:!1,mutability:"mutable",name:"to",nameLocation:"3354:2:132",nodeType:"VariableDeclaration",scope:85489,src:"3346:10:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85482,name:"address",nodeType:"ElementaryTypeName",src:"3346:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85485,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"3374:6:132",nodeType:"VariableDeclaration",scope:85489,src:"3366:14:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85484,name:"uint256",nodeType:"ElementaryTypeName",src:"3366:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85487,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"3396:9:132",nodeType:"VariableDeclaration",scope:85489,src:"3390:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85486,name:"bytes",nodeType:"ElementaryTypeName",src:"3390:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3240:171:132"}},{id:85493,nodeType:"VariableDeclaration",src:"3481:40:132",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:85490,nodeType:"StructuredDocumentation",src:"3418:58:132",text:`@notice Semantic version. + @custom:semver 2.1.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"3504:7:132",scope:85921,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:85491,name:"string",nodeType:"ElementaryTypeName",src:"3481:6:132",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"322e312e30",id:85492,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3514:7:132",typeDescriptions:{typeIdentifier:"t_stringliteral_3bb4aeded157fe72f9bc813a9dc1bd69961c5b5f35dafc6dc601ab742eacac6b",typeString:'literal_string "2.1.0"'},value:"2.1.0"},visibility:"public"},{id:85497,nodeType:"VariableDeclaration",src:"3586:40:132",nodes:[],constant:!1,documentation:{id:85494,nodeType:"StructuredDocumentation",src:"3528:53:132",text:"@notice Address of the SuperchainConfig contract."},functionSelector:"35e80ab3",mutability:"mutable",name:"superchainConfig",nameLocation:"3610:16:132",scope:85921,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:85496,nodeType:"UserDefinedTypeName",pathNode:{id:85495,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"3586:16:132"},referencedDeclaration:88793,src:"3586:16:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"public"},{id:85519,nodeType:"FunctionDefinition",src:"3691:157:132",nodes:[],body:{id:85518,nodeType:"Block",src:"3722:126:132",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:85507,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3786:1:132",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85506,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3778:7:132",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85505,name:"address",nodeType:"ElementaryTypeName",src:"3778:7:132",typeDescriptions:{}}},id:85508,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3778:10:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85504,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"3757:20:132",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:85509,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3757:32:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{arguments:[{arguments:[{hexValue:"30",id:85513,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3835:1:132",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85512,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3827:7:132",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85511,name:"address",nodeType:"ElementaryTypeName",src:"3827:7:132",typeDescriptions:{}}},id:85514,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3827:10:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85510,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"3810:16:132",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SuperchainConfig_$88793_$",typeString:"type(contract SuperchainConfig)"}},id:85515,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3810:28:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}],id:85503,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85547,src:"3732:10:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_SuperchainConfig_$88793_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract SuperchainConfig)"}},id:85516,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_superchainConfig"],nodeType:"FunctionCall",src:"3732:109:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85517,nodeType:"ExpressionStatement",src:"3732:109:132"}]},documentation:{id:85498,nodeType:"StructuredDocumentation",src:"3633:53:132",text:"@notice Constructs the L1StandardBridge contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:85501,kind:"baseConstructorSpecifier",modifierName:{id:85500,name:"StandardBridge",nodeType:"IdentifierPath",referencedDeclaration:111675,src:"3705:14:132"},nodeType:"ModifierInvocation",src:"3705:16:132"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:85499,nodeType:"ParameterList",parameters:[],src:"3702:2:132"},returnParameters:{id:85502,nodeType:"ParameterList",parameters:[],src:"3722:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85547,nodeType:"FunctionDefinition",src:"4055:322:132",nodes:[],body:{id:85546,nodeType:"Block",src:"4163:214:132",nodes:[],statements:[{expression:{id:85533,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:85531,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85497,src:"4173:16:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:85532,name:"_superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85526,src:"4192:17:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},src:"4173:36:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85534,nodeType:"ExpressionStatement",src:"4173:36:132"},{expression:{arguments:[{id:85536,name:"_messenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85523,src:"4267:10:132",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{arguments:[{arguments:[{expression:{id:85540,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"4328:10:132",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:85541,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_STANDARD_BRIDGE",nodeType:"MemberAccess",referencedDeclaration:104008,src:"4328:29:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85539,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4320:8:132",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:85538,name:"address",nodeType:"ElementaryTypeName",src:"4320:8:132",stateMutability:"payable",typeDescriptions:{}}},id:85542,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4320:38:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:85537,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"4305:14:132",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_StandardBridge_$111675_$",typeString:"type(contract StandardBridge)"}},id:85543,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4305:54:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:85535,name:"__StandardBridge_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111080,src:"4219:21:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_StandardBridge_$111675_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract StandardBridge)"}},id:85544,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_otherBridge"],nodeType:"FunctionCall",src:"4219:151:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85545,nodeType:"ExpressionStatement",src:"4219:151:132"}]},documentation:{id:85520,nodeType:"StructuredDocumentation",src:"3854:196:132",text:`@notice Initializer. + @param _messenger Contract for the CrossDomainMessenger on this network. + @param _superchainConfig Contract for the SuperchainConfig on this network.`},functionSelector:"485cc955",implemented:!0,kind:"function",modifiers:[{id:85529,kind:"modifierInvocation",modifierName:{id:85528,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"4151:11:132"},nodeType:"ModifierInvocation",src:"4151:11:132"}],name:"initialize",nameLocation:"4064:10:132",parameters:{id:85527,nodeType:"ParameterList",parameters:[{constant:!1,id:85523,mutability:"mutable",name:"_messenger",nameLocation:"4096:10:132",nodeType:"VariableDeclaration",scope:85547,src:"4075:31:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},typeName:{id:85522,nodeType:"UserDefinedTypeName",pathNode:{id:85521,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"4075:20:132"},referencedDeclaration:108888,src:"4075:20:132",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},visibility:"internal"},{constant:!1,id:85526,mutability:"mutable",name:"_superchainConfig",nameLocation:"4125:17:132",nodeType:"VariableDeclaration",scope:85547,src:"4108:34:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:85525,nodeType:"UserDefinedTypeName",pathNode:{id:85524,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"4108:16:132"},referencedDeclaration:88793,src:"4108:16:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"internal"}],src:"4074:69:132"},returnParameters:{id:85530,nodeType:"ParameterList",parameters:[],src:"4163:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85559,nodeType:"FunctionDefinition",src:"4418:103:132",nodes:[],body:{id:85558,nodeType:"Block",src:"4472:49:132",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:85554,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85497,src:"4489:16:132",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85555,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"paused",nodeType:"MemberAccess",referencedDeclaration:88707,src:"4489:23:132",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_bool_$",typeString:"function () view external returns (bool)"}},id:85556,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4489:25:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:85553,id:85557,nodeType:"Return",src:"4482:32:132"}]},baseFunctions:[111113],documentation:{id:85548,nodeType:"StructuredDocumentation",src:"4383:30:132",text:"@inheritdoc StandardBridge"},functionSelector:"5c975abb",implemented:!0,kind:"function",modifiers:[],name:"paused",nameLocation:"4427:6:132",overrides:{id:85550,nodeType:"OverrideSpecifier",overrides:[],src:"4448:8:132"},parameters:{id:85549,nodeType:"ParameterList",parameters:[],src:"4433:2:132"},returnParameters:{id:85553,nodeType:"ParameterList",parameters:[{constant:!1,id:85552,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85559,src:"4466:4:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:85551,name:"bool",nodeType:"ElementaryTypeName",src:"4466:4:132",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"4465:6:132"},scope:85921,stateMutability:"view",virtual:!1,visibility:"public"},{id:85579,nodeType:"FunctionDefinition",src:"4604:142:132",nodes:[],body:{id:85578,nodeType:"Block",src:"4648:98:132",nodes:[],statements:[{expression:{arguments:[{expression:{id:85567,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"4678:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85568,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"4678:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85569,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"4690:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85570,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"4690:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85571,name:"RECEIVE_DEFAULT_GAS_LIMIT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110941,src:"4702:25:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{arguments:[{hexValue:"",id:85574,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4735:2:132",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],id:85573,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4729:5:132",typeDescriptions:{typeIdentifier:"t_type$_t_bytes_storage_ptr_$",typeString:"type(bytes storage pointer)"},typeName:{id:85572,name:"bytes",nodeType:"ElementaryTypeName",src:"4729:5:132",typeDescriptions:{}}},id:85575,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4729:9:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85566,name:"_initiateETHDeposit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85755,src:"4658:19:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint32,bytes memory)"}},id:85576,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4658:81:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85577,nodeType:"ExpressionStatement",src:"4658:81:132"}]},baseFunctions:[111084],documentation:{id:85560,nodeType:"StructuredDocumentation",src:"4527:72:132",text:"@notice Allows EOAs to bridge ETH by sending directly to the bridge."},implemented:!0,kind:"receive",modifiers:[{id:85564,kind:"modifierInvocation",modifierName:{id:85563,name:"onlyEOA",nodeType:"IdentifierPath",referencedDeclaration:111034,src:"4640:7:132"},nodeType:"ModifierInvocation",src:"4640:7:132"}],name:"",nameLocation:"-1:-1:-1",overrides:{id:85562,nodeType:"OverrideSpecifier",overrides:[],src:"4631:8:132"},parameters:{id:85561,nodeType:"ParameterList",parameters:[],src:"4611:2:132"},returnParameters:{id:85565,nodeType:"ParameterList",parameters:[],src:"4648:0:132"},scope:85921,stateMutability:"payable",virtual:!1,visibility:"external"},{id:85599,nodeType:"FunctionDefinition",src:"5183:179:132",nodes:[],body:{id:85598,nodeType:"Block",src:"5276:86:132",nodes:[],statements:[{expression:{arguments:[{expression:{id:85590,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"5306:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85591,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"5306:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85592,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"5318:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85593,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"5318:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85594,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85582,src:"5330:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85595,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85584,src:"5344:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85589,name:"_initiateETHDeposit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85755,src:"5286:19:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint32,bytes memory)"}},id:85596,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5286:69:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85597,nodeType:"ExpressionStatement",src:"5286:69:132"}]},documentation:{id:85580,nodeType:"StructuredDocumentation",src:"4752:426:132",text:`@custom:legacy + @notice Deposits some amount of ETH into the sender's account on L2. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2. + Data supplied here will not be used to execute any code on L2 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"b1a1a882",implemented:!0,kind:"function",modifiers:[{id:85587,kind:"modifierInvocation",modifierName:{id:85586,name:"onlyEOA",nodeType:"IdentifierPath",referencedDeclaration:111034,src:"5268:7:132"},nodeType:"ModifierInvocation",src:"5268:7:132"}],name:"depositETH",nameLocation:"5192:10:132",parameters:{id:85585,nodeType:"ParameterList",parameters:[{constant:!1,id:85582,mutability:"mutable",name:"_minGasLimit",nameLocation:"5210:12:132",nodeType:"VariableDeclaration",scope:85599,src:"5203:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85581,name:"uint32",nodeType:"ElementaryTypeName",src:"5203:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85584,mutability:"mutable",name:"_extraData",nameLocation:"5239:10:132",nodeType:"VariableDeclaration",scope:85599,src:"5224:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85583,name:"bytes",nodeType:"ElementaryTypeName",src:"5224:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"5202:48:132"},returnParameters:{id:85588,nodeType:"ParameterList",parameters:[],src:"5276:0:132"},scope:85921,stateMutability:"payable",virtual:!1,visibility:"external"},{id:85618,nodeType:"FunctionDefinition",src:"6242:179:132",nodes:[],body:{id:85617,nodeType:"Block",src:"6342:79:132",nodes:[],statements:[{expression:{arguments:[{expression:{id:85610,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"6372:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85611,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"6372:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85612,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85602,src:"6384:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85613,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85604,src:"6389:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85614,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85606,src:"6403:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85609,name:"_initiateETHDeposit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85755,src:"6352:19:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint32,bytes memory)"}},id:85615,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6352:62:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85616,nodeType:"ExpressionStatement",src:"6352:62:132"}]},documentation:{id:85600,nodeType:"StructuredDocumentation",src:"5368:869:132",text:`@custom:legacy + @notice Deposits some amount of ETH into a target account on L2. + Note that if ETH is sent to a contract on L2 and the call fails, then that ETH will + be locked in the L2StandardBridge. ETH may be recoverable if the call can be + successfully replayed by increasing the amount of gas supplied to the call. If the + call will fail for any amount of gas, then the ETH will be locked permanently. + @param _to Address of the recipient on L2. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2. + Data supplied here will not be used to execute any code on L2 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"9a2ac6d5",implemented:!0,kind:"function",modifiers:[],name:"depositETHTo",nameLocation:"6251:12:132",parameters:{id:85607,nodeType:"ParameterList",parameters:[{constant:!1,id:85602,mutability:"mutable",name:"_to",nameLocation:"6272:3:132",nodeType:"VariableDeclaration",scope:85618,src:"6264:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85601,name:"address",nodeType:"ElementaryTypeName",src:"6264:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85604,mutability:"mutable",name:"_minGasLimit",nameLocation:"6284:12:132",nodeType:"VariableDeclaration",scope:85618,src:"6277:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85603,name:"uint32",nodeType:"ElementaryTypeName",src:"6277:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85606,mutability:"mutable",name:"_extraData",nameLocation:"6313:10:132",nodeType:"VariableDeclaration",scope:85618,src:"6298:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85605,name:"bytes",nodeType:"ElementaryTypeName",src:"6298:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"6263:61:132"},returnParameters:{id:85608,nodeType:"ParameterList",parameters:[],src:"6342:0:132"},scope:85921,stateMutability:"payable",virtual:!1,visibility:"external"},{id:85647,nodeType:"FunctionDefinition",src:"7066:339:132",nodes:[],body:{id:85646,nodeType:"Block",src:"7288:117:132",nodes:[],statements:[{expression:{arguments:[{id:85635,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85621,src:"7320:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85636,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85623,src:"7330:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85637,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"7340:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85638,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"7340:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85639,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"7352:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85640,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"7352:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85641,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85625,src:"7364:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85642,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85627,src:"7373:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85643,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85629,src:"7387:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85634,name:"_initiateERC20Deposit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85784,src:"7298:21:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,uint32,bytes memory)"}},id:85644,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7298:100:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85645,nodeType:"ExpressionStatement",src:"7298:100:132"}]},documentation:{id:85619,nodeType:"StructuredDocumentation",src:"6427:634:132",text:`@custom:legacy + @notice Deposits some amount of ERC20 tokens into the sender's account on L2. + @param _l1Token Address of the L1 token being deposited. + @param _l2Token Address of the corresponding token on L2. + @param _amount Amount of the ERC20 to deposit. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2. + Data supplied here will not be used to execute any code on L2 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"58a997f6",implemented:!0,kind:"function",modifiers:[{id:85632,kind:"modifierInvocation",modifierName:{id:85631,name:"onlyEOA",nodeType:"IdentifierPath",referencedDeclaration:111034,src:"7276:7:132"},nodeType:"ModifierInvocation",src:"7276:7:132"}],name:"depositERC20",nameLocation:"7075:12:132",parameters:{id:85630,nodeType:"ParameterList",parameters:[{constant:!1,id:85621,mutability:"mutable",name:"_l1Token",nameLocation:"7105:8:132",nodeType:"VariableDeclaration",scope:85647,src:"7097:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85620,name:"address",nodeType:"ElementaryTypeName",src:"7097:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85623,mutability:"mutable",name:"_l2Token",nameLocation:"7131:8:132",nodeType:"VariableDeclaration",scope:85647,src:"7123:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85622,name:"address",nodeType:"ElementaryTypeName",src:"7123:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85625,mutability:"mutable",name:"_amount",nameLocation:"7157:7:132",nodeType:"VariableDeclaration",scope:85647,src:"7149:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85624,name:"uint256",nodeType:"ElementaryTypeName",src:"7149:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85627,mutability:"mutable",name:"_minGasLimit",nameLocation:"7181:12:132",nodeType:"VariableDeclaration",scope:85647,src:"7174:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85626,name:"uint32",nodeType:"ElementaryTypeName",src:"7174:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85629,mutability:"mutable",name:"_extraData",nameLocation:"7218:10:132",nodeType:"VariableDeclaration",scope:85647,src:"7203:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85628,name:"bytes",nodeType:"ElementaryTypeName",src:"7203:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"7087:147:132"},returnParameters:{id:85633,nodeType:"ParameterList",parameters:[],src:"7288:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!0,visibility:"external"},{id:85675,nodeType:"FunctionDefinition",src:"8106:339:132",nodes:[],body:{id:85674,nodeType:"Block",src:"8335:110:132",nodes:[],statements:[{expression:{arguments:[{id:85664,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85650,src:"8367:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85665,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85652,src:"8377:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85666,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"8387:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85667,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"8387:10:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85668,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85654,src:"8399:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85669,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85656,src:"8404:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85670,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85658,src:"8413:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85671,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85660,src:"8427:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85663,name:"_initiateERC20Deposit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85784,src:"8345:21:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,uint32,bytes memory)"}},id:85672,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8345:93:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85673,nodeType:"ExpressionStatement",src:"8345:93:132"}]},documentation:{id:85648,nodeType:"StructuredDocumentation",src:"7411:690:132",text:`@custom:legacy + @notice Deposits some amount of ERC20 tokens into a target account on L2. + @param _l1Token Address of the L1 token being deposited. + @param _l2Token Address of the corresponding token on L2. + @param _to Address of the recipient on L2. + @param _amount Amount of the ERC20 to deposit. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2. + Data supplied here will not be used to execute any code on L2 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"838b2520",implemented:!0,kind:"function",modifiers:[],name:"depositERC20To",nameLocation:"8115:14:132",parameters:{id:85661,nodeType:"ParameterList",parameters:[{constant:!1,id:85650,mutability:"mutable",name:"_l1Token",nameLocation:"8147:8:132",nodeType:"VariableDeclaration",scope:85675,src:"8139:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85649,name:"address",nodeType:"ElementaryTypeName",src:"8139:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85652,mutability:"mutable",name:"_l2Token",nameLocation:"8173:8:132",nodeType:"VariableDeclaration",scope:85675,src:"8165:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85651,name:"address",nodeType:"ElementaryTypeName",src:"8165:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85654,mutability:"mutable",name:"_to",nameLocation:"8199:3:132",nodeType:"VariableDeclaration",scope:85675,src:"8191:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85653,name:"address",nodeType:"ElementaryTypeName",src:"8191:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85656,mutability:"mutable",name:"_amount",nameLocation:"8220:7:132",nodeType:"VariableDeclaration",scope:85675,src:"8212:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85655,name:"uint256",nodeType:"ElementaryTypeName",src:"8212:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85658,mutability:"mutable",name:"_minGasLimit",nameLocation:"8244:12:132",nodeType:"VariableDeclaration",scope:85675,src:"8237:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85657,name:"uint32",nodeType:"ElementaryTypeName",src:"8237:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85660,mutability:"mutable",name:"_extraData",nameLocation:"8281:10:132",nodeType:"VariableDeclaration",scope:85675,src:"8266:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85659,name:"bytes",nodeType:"ElementaryTypeName",src:"8266:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"8129:168:132"},returnParameters:{id:85662,nodeType:"ParameterList",parameters:[],src:"8335:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!0,visibility:"external"},{id:85695,nodeType:"FunctionDefinition",src:"8758:245:132",nodes:[],body:{id:85694,nodeType:"Block",src:"8936:67:132",nodes:[],statements:[{expression:{arguments:[{id:85688,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85678,src:"8964:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85689,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85680,src:"8971:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85690,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85682,src:"8976:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85691,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85684,src:"8985:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85687,name:"finalizeBridgeETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111287,src:"8946:17:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes calldata)"}},id:85692,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8946:50:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85693,nodeType:"ExpressionStatement",src:"8946:50:132"}]},documentation:{id:85676,nodeType:"StructuredDocumentation",src:"8451:302:132",text:`@custom:legacy + @notice Finalizes a withdrawal of ETH from L2. + @param _from Address of the withdrawer on L2. + @param _to Address of the recipient on L1. + @param _amount Amount of ETH to withdraw. + @param _extraData Optional data forwarded from L2.`},functionSelector:"1532ec34",implemented:!0,kind:"function",modifiers:[],name:"finalizeETHWithdrawal",nameLocation:"8767:21:132",parameters:{id:85685,nodeType:"ParameterList",parameters:[{constant:!1,id:85678,mutability:"mutable",name:"_from",nameLocation:"8806:5:132",nodeType:"VariableDeclaration",scope:85695,src:"8798:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85677,name:"address",nodeType:"ElementaryTypeName",src:"8798:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85680,mutability:"mutable",name:"_to",nameLocation:"8829:3:132",nodeType:"VariableDeclaration",scope:85695,src:"8821:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85679,name:"address",nodeType:"ElementaryTypeName",src:"8821:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85682,mutability:"mutable",name:"_amount",nameLocation:"8850:7:132",nodeType:"VariableDeclaration",scope:85695,src:"8842:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85681,name:"uint256",nodeType:"ElementaryTypeName",src:"8842:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85684,mutability:"mutable",name:"_extraData",nameLocation:"8882:10:132",nodeType:"VariableDeclaration",scope:85695,src:"8867:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85683,name:"bytes",nodeType:"ElementaryTypeName",src:"8867:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"8788:110:132"},returnParameters:{id:85686,nodeType:"ParameterList",parameters:[],src:"8936:0:132"},scope:85921,stateMutability:"payable",virtual:!1,visibility:"external"},{id:85721,nodeType:"FunctionDefinition",src:"9453:305:132",nodes:[],body:{id:85720,nodeType:"Block",src:"9669:89:132",nodes:[],statements:[{expression:{arguments:[{id:85712,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85698,src:"9699:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85713,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85700,src:"9709:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85714,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85702,src:"9719:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85715,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85704,src:"9726:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85716,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85706,src:"9731:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85717,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85708,src:"9740:10:132",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85711,name:"finalizeBridgeERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111367,src:"9679:19:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes calldata)"}},id:85718,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9679:72:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85719,nodeType:"ExpressionStatement",src:"9679:72:132"}]},documentation:{id:85696,nodeType:"StructuredDocumentation",src:"9009:439:132",text:`@custom:legacy + @notice Finalizes a withdrawal of ERC20 tokens from L2. + @param _l1Token Address of the token on L1. + @param _l2Token Address of the corresponding token on L2. + @param _from Address of the withdrawer on L2. + @param _to Address of the recipient on L1. + @param _amount Amount of the ERC20 to withdraw. + @param _extraData Optional data forwarded from L2.`},functionSelector:"a9f9e675",implemented:!0,kind:"function",modifiers:[],name:"finalizeERC20Withdrawal",nameLocation:"9462:23:132",parameters:{id:85709,nodeType:"ParameterList",parameters:[{constant:!1,id:85698,mutability:"mutable",name:"_l1Token",nameLocation:"9503:8:132",nodeType:"VariableDeclaration",scope:85721,src:"9495:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85697,name:"address",nodeType:"ElementaryTypeName",src:"9495:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85700,mutability:"mutable",name:"_l2Token",nameLocation:"9529:8:132",nodeType:"VariableDeclaration",scope:85721,src:"9521:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85699,name:"address",nodeType:"ElementaryTypeName",src:"9521:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85702,mutability:"mutable",name:"_from",nameLocation:"9555:5:132",nodeType:"VariableDeclaration",scope:85721,src:"9547:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85701,name:"address",nodeType:"ElementaryTypeName",src:"9547:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85704,mutability:"mutable",name:"_to",nameLocation:"9578:3:132",nodeType:"VariableDeclaration",scope:85721,src:"9570:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85703,name:"address",nodeType:"ElementaryTypeName",src:"9570:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85706,mutability:"mutable",name:"_amount",nameLocation:"9599:7:132",nodeType:"VariableDeclaration",scope:85721,src:"9591:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85705,name:"uint256",nodeType:"ElementaryTypeName",src:"9591:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85708,mutability:"mutable",name:"_extraData",nameLocation:"9631:10:132",nodeType:"VariableDeclaration",scope:85721,src:"9616:25:132",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85707,name:"bytes",nodeType:"ElementaryTypeName",src:"9616:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"9485:162:132"},returnParameters:{id:85710,nodeType:"ParameterList",parameters:[],src:"9669:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:85733,nodeType:"FunctionDefinition",src:"9930:101:132",nodes:[],body:{id:85732,nodeType:"Block",src:"9987:44:132",nodes:[],statements:[{expression:{arguments:[{id:85729,name:"otherBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110962,src:"10012:11:132",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:85728,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"10004:7:132",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85727,name:"address",nodeType:"ElementaryTypeName",src:"10004:7:132",typeDescriptions:{}}},id:85730,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10004:20:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:85726,id:85731,nodeType:"Return",src:"9997:27:132"}]},documentation:{id:85722,nodeType:"StructuredDocumentation",src:"9764:161:132",text:`@custom:legacy + @notice Retrieves the access of the corresponding L2 bridge contract. + @return Address of the corresponding L2 bridge contract.`},functionSelector:"91c49bf8",implemented:!0,kind:"function",modifiers:[],name:"l2TokenBridge",nameLocation:"9939:13:132",parameters:{id:85723,nodeType:"ParameterList",parameters:[],src:"9952:2:132"},returnParameters:{id:85726,nodeType:"ParameterList",parameters:[{constant:!1,id:85725,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85733,src:"9978:7:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85724,name:"address",nodeType:"ElementaryTypeName",src:"9978:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"9977:9:132"},scope:85921,stateMutability:"view",virtual:!1,visibility:"external"},{id:85755,nodeType:"FunctionDefinition",src:"10356:196:132",nodes:[],body:{id:85754,nodeType:"Block",src:"10468:84:132",nodes:[],statements:[{expression:{arguments:[{id:85746,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85736,src:"10497:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85747,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85738,src:"10504:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:85748,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"10509:3:132",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85749,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"10509:9:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85750,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85740,src:"10520:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85751,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85742,src:"10534:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85745,name:"_initiateBridgeETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111419,src:"10478:18:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,uint32,bytes memory)"}},id:85752,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10478:67:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85753,nodeType:"ExpressionStatement",src:"10478:67:132"}]},documentation:{id:85734,nodeType:"StructuredDocumentation",src:"10037:314:132",text:`@notice Internal function for initiating an ETH deposit. + @param _from Address of the sender on L1. + @param _to Address of the recipient on L2. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2.`},implemented:!0,kind:"function",modifiers:[],name:"_initiateETHDeposit",nameLocation:"10365:19:132",parameters:{id:85743,nodeType:"ParameterList",parameters:[{constant:!1,id:85736,mutability:"mutable",name:"_from",nameLocation:"10393:5:132",nodeType:"VariableDeclaration",scope:85755,src:"10385:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85735,name:"address",nodeType:"ElementaryTypeName",src:"10385:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85738,mutability:"mutable",name:"_to",nameLocation:"10408:3:132",nodeType:"VariableDeclaration",scope:85755,src:"10400:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85737,name:"address",nodeType:"ElementaryTypeName",src:"10400:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85740,mutability:"mutable",name:"_minGasLimit",nameLocation:"10420:12:132",nodeType:"VariableDeclaration",scope:85755,src:"10413:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85739,name:"uint32",nodeType:"ElementaryTypeName",src:"10413:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85742,mutability:"mutable",name:"_extraData",nameLocation:"10447:10:132",nodeType:"VariableDeclaration",scope:85755,src:"10434:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85741,name:"bytes",nodeType:"ElementaryTypeName",src:"10434:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"10384:74:132"},returnParameters:{id:85744,nodeType:"ParameterList",parameters:[],src:"10468:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85784,nodeType:"FunctionDefinition",src:"11078:345:132",nodes:[],body:{id:85783,nodeType:"Block",src:"11319:104:132",nodes:[],statements:[{expression:{arguments:[{id:85774,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85758,src:"11350:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85775,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85760,src:"11360:8:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85776,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85762,src:"11370:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85777,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85764,src:"11377:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85778,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85766,src:"11382:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85779,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85768,src:"11391:12:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:85780,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85770,src:"11405:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85773,name:"_initiateBridgeERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111517,src:"11329:20:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,uint32,bytes memory)"}},id:85781,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11329:87:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85782,nodeType:"ExpressionStatement",src:"11329:87:132"}]},documentation:{id:85756,nodeType:"StructuredDocumentation",src:"10558:515:132",text:`@notice Internal function for initiating an ERC20 deposit. + @param _l1Token Address of the L1 token being deposited. + @param _l2Token Address of the corresponding token on L2. + @param _from Address of the sender on L1. + @param _to Address of the recipient on L2. + @param _amount Amount of the ERC20 to deposit. + @param _minGasLimit Minimum gas limit for the deposit message on L2. + @param _extraData Optional data to forward to L2.`},implemented:!0,kind:"function",modifiers:[],name:"_initiateERC20Deposit",nameLocation:"11087:21:132",parameters:{id:85771,nodeType:"ParameterList",parameters:[{constant:!1,id:85758,mutability:"mutable",name:"_l1Token",nameLocation:"11126:8:132",nodeType:"VariableDeclaration",scope:85784,src:"11118:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85757,name:"address",nodeType:"ElementaryTypeName",src:"11118:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85760,mutability:"mutable",name:"_l2Token",nameLocation:"11152:8:132",nodeType:"VariableDeclaration",scope:85784,src:"11144:16:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85759,name:"address",nodeType:"ElementaryTypeName",src:"11144:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85762,mutability:"mutable",name:"_from",nameLocation:"11178:5:132",nodeType:"VariableDeclaration",scope:85784,src:"11170:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85761,name:"address",nodeType:"ElementaryTypeName",src:"11170:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85764,mutability:"mutable",name:"_to",nameLocation:"11201:3:132",nodeType:"VariableDeclaration",scope:85784,src:"11193:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85763,name:"address",nodeType:"ElementaryTypeName",src:"11193:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85766,mutability:"mutable",name:"_amount",nameLocation:"11222:7:132",nodeType:"VariableDeclaration",scope:85784,src:"11214:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85765,name:"uint256",nodeType:"ElementaryTypeName",src:"11214:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85768,mutability:"mutable",name:"_minGasLimit",nameLocation:"11246:12:132",nodeType:"VariableDeclaration",scope:85784,src:"11239:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85767,name:"uint32",nodeType:"ElementaryTypeName",src:"11239:6:132",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85770,mutability:"mutable",name:"_extraData",nameLocation:"11281:10:132",nodeType:"VariableDeclaration",scope:85784,src:"11268:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85769,name:"bytes",nodeType:"ElementaryTypeName",src:"11268:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"11108:189:132"},returnParameters:{id:85772,nodeType:"ParameterList",parameters:[],src:"11319:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85814,nodeType:"FunctionDefinition",src:"11651:325:132",nodes:[],body:{id:85813,nodeType:"Block",src:"11830:146:132",nodes:[],statements:[{eventCall:{arguments:[{id:85798,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85787,src:"11865:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85799,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85789,src:"11872:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85800,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85791,src:"11877:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85801,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85793,src:"11886:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85797,name:"ETHDepositInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85448,src:"11845:19:132",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:85802,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11845:52:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85803,nodeType:"EmitStatement",src:"11840:57:132"},{expression:{arguments:[{id:85807,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85787,src:"11937:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85808,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85789,src:"11944:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85809,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85791,src:"11949:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85810,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85793,src:"11958:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:85804,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"11907:5:132",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L1StandardBridge_$85921_$",typeString:"type(contract super L1StandardBridge)"}},id:85806,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitETHBridgeInitiated",nodeType:"MemberAccess",referencedDeclaration:111602,src:"11907:29:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:85811,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11907:62:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85812,nodeType:"ExpressionStatement",src:"11907:62:132"}]},baseFunctions:[111602],documentation:{id:85785,nodeType:"StructuredDocumentation",src:"11429:217:132",text:`@inheritdoc StandardBridge + @notice Emits the legacy ETHDepositInitiated event followed by the ETHBridgeInitiated event. + This is necessary for backwards compatibility with the legacy bridge.`},implemented:!0,kind:"function",modifiers:[],name:"_emitETHBridgeInitiated",nameLocation:"11660:23:132",overrides:{id:85795,nodeType:"OverrideSpecifier",overrides:[],src:"11817:8:132"},parameters:{id:85794,nodeType:"ParameterList",parameters:[{constant:!1,id:85787,mutability:"mutable",name:"_from",nameLocation:"11701:5:132",nodeType:"VariableDeclaration",scope:85814,src:"11693:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85786,name:"address",nodeType:"ElementaryTypeName",src:"11693:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85789,mutability:"mutable",name:"_to",nameLocation:"11724:3:132",nodeType:"VariableDeclaration",scope:85814,src:"11716:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85788,name:"address",nodeType:"ElementaryTypeName",src:"11716:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85791,mutability:"mutable",name:"_amount",nameLocation:"11745:7:132",nodeType:"VariableDeclaration",scope:85814,src:"11737:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85790,name:"uint256",nodeType:"ElementaryTypeName",src:"11737:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85793,mutability:"mutable",name:"_extraData",nameLocation:"11775:10:132",nodeType:"VariableDeclaration",scope:85814,src:"11762:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85792,name:"bytes",nodeType:"ElementaryTypeName",src:"11762:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"11683:108:132"},returnParameters:{id:85796,nodeType:"ParameterList",parameters:[],src:"11830:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85844,nodeType:"FunctionDefinition",src:"12208:328:132",nodes:[],body:{id:85843,nodeType:"Block",src:"12387:149:132",nodes:[],statements:[{eventCall:{arguments:[{id:85828,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85817,src:"12425:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85829,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85819,src:"12432:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85830,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85821,src:"12437:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85831,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85823,src:"12446:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85827,name:"ETHWithdrawalFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85459,src:"12402:22:132",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:85832,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12402:55:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85833,nodeType:"EmitStatement",src:"12397:60:132"},{expression:{arguments:[{id:85837,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85817,src:"12497:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85838,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85819,src:"12504:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85839,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85821,src:"12509:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85840,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85823,src:"12518:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:85834,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"12467:5:132",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L1StandardBridge_$85921_$",typeString:"type(contract super L1StandardBridge)"}},id:85836,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitETHBridgeFinalized",nodeType:"MemberAccess",referencedDeclaration:111622,src:"12467:29:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:85841,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12467:62:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85842,nodeType:"ExpressionStatement",src:"12467:62:132"}]},baseFunctions:[111622],documentation:{id:85815,nodeType:"StructuredDocumentation",src:"11982:221:132",text:`@inheritdoc StandardBridge + @notice Emits the legacy ERC20DepositInitiated event followed by the ERC20BridgeInitiated + event. This is necessary for backwards compatibility with the legacy bridge.`},implemented:!0,kind:"function",modifiers:[],name:"_emitETHBridgeFinalized",nameLocation:"12217:23:132",overrides:{id:85825,nodeType:"OverrideSpecifier",overrides:[],src:"12374:8:132"},parameters:{id:85824,nodeType:"ParameterList",parameters:[{constant:!1,id:85817,mutability:"mutable",name:"_from",nameLocation:"12258:5:132",nodeType:"VariableDeclaration",scope:85844,src:"12250:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85816,name:"address",nodeType:"ElementaryTypeName",src:"12250:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85819,mutability:"mutable",name:"_to",nameLocation:"12281:3:132",nodeType:"VariableDeclaration",scope:85844,src:"12273:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85818,name:"address",nodeType:"ElementaryTypeName",src:"12273:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85821,mutability:"mutable",name:"_amount",nameLocation:"12302:7:132",nodeType:"VariableDeclaration",scope:85844,src:"12294:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85820,name:"uint256",nodeType:"ElementaryTypeName",src:"12294:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85823,mutability:"mutable",name:"_extraData",nameLocation:"12332:10:132",nodeType:"VariableDeclaration",scope:85844,src:"12319:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85822,name:"bytes",nodeType:"ElementaryTypeName",src:"12319:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"12240:108:132"},returnParameters:{id:85826,nodeType:"ParameterList",parameters:[],src:"12387:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85882,nodeType:"FunctionDefinition",src:"12771:444:132",nodes:[],body:{id:85881,nodeType:"Block",src:"13011:204:132",nodes:[],statements:[{eventCall:{arguments:[{id:85862,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85847,src:"13048:11:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85863,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85849,src:"13061:12:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85864,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85851,src:"13075:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85865,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85853,src:"13082:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85866,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85855,src:"13087:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85867,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85857,src:"13096:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85861,name:"ERC20DepositInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85474,src:"13026:21:132",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85868,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13026:81:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85869,nodeType:"EmitStatement",src:"13021:86:132"},{expression:{arguments:[{id:85873,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85847,src:"13149:11:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85874,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85849,src:"13162:12:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85875,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85851,src:"13176:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85876,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85853,src:"13183:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85877,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85855,src:"13188:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85878,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85857,src:"13197:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:85870,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"13117:5:132",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L1StandardBridge_$85921_$",typeString:"type(contract super L1StandardBridge)"}},id:85872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitERC20BridgeInitiated",nodeType:"MemberAccess",referencedDeclaration:111648,src:"13117:31:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85879,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13117:91:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85880,nodeType:"ExpressionStatement",src:"13117:91:132"}]},baseFunctions:[111648],documentation:{id:85845,nodeType:"StructuredDocumentation",src:"12542:224:132",text:`@inheritdoc StandardBridge + @notice Emits the legacy ERC20WithdrawalFinalized event followed by the ERC20BridgeFinalized + event. This is necessary for backwards compatibility with the legacy bridge.`},implemented:!0,kind:"function",modifiers:[],name:"_emitERC20BridgeInitiated",nameLocation:"12780:25:132",overrides:{id:85859,nodeType:"OverrideSpecifier",overrides:[],src:"12998:8:132"},parameters:{id:85858,nodeType:"ParameterList",parameters:[{constant:!1,id:85847,mutability:"mutable",name:"_localToken",nameLocation:"12823:11:132",nodeType:"VariableDeclaration",scope:85882,src:"12815:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85846,name:"address",nodeType:"ElementaryTypeName",src:"12815:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85849,mutability:"mutable",name:"_remoteToken",nameLocation:"12852:12:132",nodeType:"VariableDeclaration",scope:85882,src:"12844:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85848,name:"address",nodeType:"ElementaryTypeName",src:"12844:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85851,mutability:"mutable",name:"_from",nameLocation:"12882:5:132",nodeType:"VariableDeclaration",scope:85882,src:"12874:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85850,name:"address",nodeType:"ElementaryTypeName",src:"12874:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85853,mutability:"mutable",name:"_to",nameLocation:"12905:3:132",nodeType:"VariableDeclaration",scope:85882,src:"12897:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85852,name:"address",nodeType:"ElementaryTypeName",src:"12897:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85855,mutability:"mutable",name:"_amount",nameLocation:"12926:7:132",nodeType:"VariableDeclaration",scope:85882,src:"12918:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85854,name:"uint256",nodeType:"ElementaryTypeName",src:"12918:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85857,mutability:"mutable",name:"_extraData",nameLocation:"12956:10:132",nodeType:"VariableDeclaration",scope:85882,src:"12943:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85856,name:"bytes",nodeType:"ElementaryTypeName",src:"12943:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"12805:167:132"},returnParameters:{id:85860,nodeType:"ParameterList",parameters:[],src:"13011:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85920,nodeType:"FunctionDefinition",src:"13450:447:132",nodes:[],body:{id:85919,nodeType:"Block",src:"13690:207:132",nodes:[],statements:[{eventCall:{arguments:[{id:85900,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85885,src:"13730:11:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85901,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85887,src:"13743:12:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85902,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85889,src:"13757:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85903,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85891,src:"13764:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85904,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85893,src:"13769:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85905,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85895,src:"13778:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:85899,name:"ERC20WithdrawalFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85489,src:"13705:24:132",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85906,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13705:84:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85907,nodeType:"EmitStatement",src:"13700:89:132"},{expression:{arguments:[{id:85911,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85885,src:"13831:11:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85912,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85887,src:"13844:12:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85913,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85889,src:"13858:5:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85914,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85891,src:"13865:3:132",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85915,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85893,src:"13870:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85916,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85895,src:"13879:10:132",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:85908,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"13799:5:132",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L1StandardBridge_$85921_$",typeString:"type(contract super L1StandardBridge)"}},id:85910,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitERC20BridgeFinalized",nodeType:"MemberAccess",referencedDeclaration:111674,src:"13799:31:132",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85917,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13799:91:132",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85918,nodeType:"ExpressionStatement",src:"13799:91:132"}]},baseFunctions:[111674],documentation:{id:85883,nodeType:"StructuredDocumentation",src:"13221:224:132",text:`@inheritdoc StandardBridge + @notice Emits the legacy ERC20WithdrawalFinalized event followed by the ERC20BridgeFinalized + event. This is necessary for backwards compatibility with the legacy bridge.`},implemented:!0,kind:"function",modifiers:[],name:"_emitERC20BridgeFinalized",nameLocation:"13459:25:132",overrides:{id:85897,nodeType:"OverrideSpecifier",overrides:[],src:"13677:8:132"},parameters:{id:85896,nodeType:"ParameterList",parameters:[{constant:!1,id:85885,mutability:"mutable",name:"_localToken",nameLocation:"13502:11:132",nodeType:"VariableDeclaration",scope:85920,src:"13494:19:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85884,name:"address",nodeType:"ElementaryTypeName",src:"13494:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85887,mutability:"mutable",name:"_remoteToken",nameLocation:"13531:12:132",nodeType:"VariableDeclaration",scope:85920,src:"13523:20:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85886,name:"address",nodeType:"ElementaryTypeName",src:"13523:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85889,mutability:"mutable",name:"_from",nameLocation:"13561:5:132",nodeType:"VariableDeclaration",scope:85920,src:"13553:13:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85888,name:"address",nodeType:"ElementaryTypeName",src:"13553:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85891,mutability:"mutable",name:"_to",nameLocation:"13584:3:132",nodeType:"VariableDeclaration",scope:85920,src:"13576:11:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85890,name:"address",nodeType:"ElementaryTypeName",src:"13576:7:132",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85893,mutability:"mutable",name:"_amount",nameLocation:"13605:7:132",nodeType:"VariableDeclaration",scope:85920,src:"13597:15:132",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85892,name:"uint256",nodeType:"ElementaryTypeName",src:"13597:7:132",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85895,mutability:"mutable",name:"_extraData",nameLocation:"13635:10:132",nodeType:"VariableDeclaration",scope:85920,src:"13622:23:132",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85894,name:"bytes",nodeType:"ElementaryTypeName",src:"13622:5:132",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"13484:167:132"},returnParameters:{id:85898,nodeType:"ParameterList",parameters:[],src:"13690:0:132"},scope:85921,stateMutability:"nonpayable",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:85434,name:"StandardBridge",nodeType:"IdentifierPath",referencedDeclaration:111675,src:"1238:14:132"},id:85435,nodeType:"InheritanceSpecifier",src:"1238:14:132"},{baseName:{id:85436,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1254:7:132"},id:85437,nodeType:"InheritanceSpecifier",src:"1254:7:132"}],canonicalName:"L1StandardBridge",contractDependencies:[],contractKind:"contract",documentation:{id:85433,nodeType:"StructuredDocumentation",src:"437:772:132",text:`@custom:proxied + @title L1StandardBridge + @notice The L1StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and + L2. In the case that an ERC20 token is native to L1, it will be escrowed within this + contract. If the ERC20 token is native to L2, it will be burnt. Before Bedrock, ETH was + stored within this contract. After Bedrock, ETH is instead stored inside the + OptimismPortal contract. + NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples + of some token types that may not be properly supported by this contract include, but are + not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.`},fullyImplemented:!0,linearizedBaseContracts:[85921,109417,111675,49678],name:"L1StandardBridge",nameLocation:"1218:16:132",scope:85922,usedErrors:[]}],license:"MIT"},id:132}});var Vfe=B(($1a,qq0)=>{qq0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC20To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeETH",inputs:[{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"bridgeETHTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC20",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeETH",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeDeposit",inputs:[{name:"_l1Token",type:"address",internalType:"address"},{name:"_l2Token",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"initialize",inputs:[{name:"_otherBridge",type:"address",internalType:"contract StandardBridge"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1TokenBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"withdraw",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"withdrawTo",inputs:[{name:"_l2Token",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"DepositFinalized",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC20BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeFinalized",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ETHBridgeInitiated",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"WithdrawalInitiated",inputs:[{name:"l1Token",type:"address",indexed:!0,internalType:"address"},{name:"l2Token",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b620004811760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055565b612a8380620002276000396000f3fe60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:149:-:0;;;2615:113;;;;;;;;;-1:-1:-1;2656:65:149::1;2714:1;2656:10;:65::i;:::-;1141:9307:::0;;2849:242;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;2927:157:149::1;480:42:199;3061:12:149::0;2927:21:::1;:157::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;2849:242:149;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;5373:236:235:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;830:2:357;4880:69:43;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4880:69:43;628:407:357;4880:69:43;5544:9:235::1;:22:::0;;-1:-1:-1;;;;;5544:22:235;;::::1;-1:-1:-1::0;;;;;;5544:22:235;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;628:407:357:-;1141:9307:149;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061012d5760003560e01c8063662a633a116100a5578063927ede2d11610074578063c4d66de811610059578063c4d66de814610421578063c89701a214610441578063e11013dd1461046e57600080fd5b8063927ede2d146103e3578063a3a795481461040e57600080fd5b8063662a633a1461036a5780637f46ddb21461025a578063870876231461037d5780638f601f661461039d57600080fd5b806336c717c1116100fc578063540abf73116100e1578063540abf73146102d857806354fd4d50146102f85780635c975abb1461034e57600080fd5b806336c717c11461025a5780633cb747bf146102ab57600080fd5b80630166a07a1461020157806309fc8843146102215780631635f5fd1461023457806332b7006d1461024757600080fd5b366101fc57333b156101c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084015b60405180910390fd5b6101fa73deaddeaddeaddeaddeaddeaddeaddeaddead000033333462030d406040518060200160405280600081525061049d565b005b600080fd5b34801561020d57600080fd5b506101fa61021c366004612476565b610578565b6101fa61022f366004612527565b61091a565b6101fa61024236600461257a565b6109f1565b6101fa6102553660046125ed565b610e43565b34801561026657600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156102b757600080fd5b506003546102819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102e457600080fd5b506101fa6102f3366004612641565b610f1d565b34801561030457600080fd5b506103416040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516102a2919061272e565b34801561035a57600080fd5b50604051600081526020016102a2565b6101fa610378366004612476565b610f62565b34801561038957600080fd5b506101fa610398366004612741565b610fd5565b3480156103a957600080fd5b506103d56103b83660046127c4565b600260209081526000928352604080842090915290825290205481565b6040519081526020016102a2565b3480156103ef57600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610281565b6101fa61041c366004612741565b6110a9565b34801561042d57600080fd5b506101fa61043c3660046127fd565b6110ed565b34801561044d57600080fd5b506004546102819073ffffffffffffffffffffffffffffffffffffffff1681565b6101fa61047c36600461281a565b611296565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b7fffffffffffffffffffffffff215221522152215221522152215221522153000073ffffffffffffffffffffffffffffffffffffffff8716016104ec576104e785858585856112df565b610570565b60008673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061287d565b905061056e878288888888886114a9565b505b505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314801561064b575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b6106fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b610706876117d4565b15610854576107158787611836565b6107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590528816906340c10f1990604401600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050506108d6565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a16835292905220546108929084906128c9565b73ffffffffffffffffffffffffffffffffffffffff8089166000818152600260209081526040808320948c16835293905291909120919091556108d6908585611956565b61056e878787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a2a92505050565b333b156109a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b6109ec3333348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633148015610ac4575060048054600354604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416949390921692636e296e459282820192602092908290030181865afa158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac919061287d565b73ffffffffffffffffffffffffffffffffffffffff16145b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20746865206f7468657220627269646760648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a4016101bd565b823414610c05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f5374616e646172644272696467653a20616d6f756e742073656e7420646f657360448201527f206e6f74206d6174636820616d6f756e7420726571756972656400000000000060648201526084016101bd565b3073ffffffffffffffffffffffffffffffffffffffff851603610caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f207360448201527f656c66000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b60035473ffffffffffffffffffffffffffffffffffffffff90811690851603610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f5374616e646172644272696467653a2063616e6e6f742073656e6420746f206d60448201527f657373656e67657200000000000000000000000000000000000000000000000060648201526084016101bd565b610d9785858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611ab892505050565b6000610db4855a8660405180602001604052806000815250611b59565b905080610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f5374616e646172644272696467653a20455448207472616e736665722066616960448201527f6c6564000000000000000000000000000000000000000000000000000000000060648201526084016101bd565b333b15610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b610f16853333878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b5050505050565b61056e87873388888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b73ffffffffffffffffffffffffffffffffffffffff8716158015610faf575073ffffffffffffffffffffffffffffffffffffffff861673deaddeaddeaddeaddeaddeaddeaddeaddead0000145b15610fc657610fc185858585856109f1565b61056e565b61056e86888787878787610578565b333b15611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f5374616e646172644272696467653a2066756e6374696f6e2063616e206f6e6c60448201527f792062652063616c6c65642066726f6d20616e20454f4100000000000000000060648201526084016101bd565b61057086863333888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114a992505050565b610570863387878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049d92505050565b600054610100900460ff161580801561110d5750600054600160ff909116105b806111275750303b158015611127575060005460ff166001145b6111b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016101bd565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561121157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61122f73420000000000000000000000000000000000000783611b73565b801561129257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6112d93385348686868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112df92505050565b50505050565b82341461136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f5374616e646172644272696467653a206272696467696e6720455448206d757360448201527f7420696e636c7564652073756666696369656e74204554482076616c7565000060648201526084016101bd565b61137a85858584611c5d565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9287929116907f1635f5fd00000000000000000000000000000000000000000000000000000000906113dd908b908b9086908a906024016128e0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e086901b909216825261147092918890600401612929565b6000604051808303818588803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b50505050505050505050565b6114b2876117d4565b15611600576114c18787611836565b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f5374616e646172644272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433230206c60648201527f6f63616c20746f6b656e00000000000000000000000000000000000000000000608482015260a4016101bd565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052881690639dc29fac90604401600060405180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b50505050611694565b61162273ffffffffffffffffffffffffffffffffffffffff8816863086611cfe565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260209081526040808320938a168352929052205461166090849061296e565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600260209081526040808320938b16835292905220555b6116a2878787878786611d5c565b60035460045460405173ffffffffffffffffffffffffffffffffffffffff92831692633dbb202b9216907f0166a07a0000000000000000000000000000000000000000000000000000000090611706908b908d908c908c908c908b90602401612986565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009485161790525160e085901b909216825261179992918790600401612929565b600060405180830381600087803b1580156117b357600080fd5b505af11580156117c7573d6000803e3d6000fd5b5050505050505050505050565b6000611800827f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b806118305750611830827fec4fc8e300000000000000000000000000000000000000000000000000000000611dea565b92915050565b6000611862837f1d1d8b6300000000000000000000000000000000000000000000000000000000611dea565b1561190b578273ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d6919061287d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050611830565b8273ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b2573d6000803e3d6000fd5b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109ec9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611e0d565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611aa2939291906129e1565b60405180910390a4610570868686868686611f19565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fb0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89868686604051611b45939291906129e1565b60405180910390a46112d984848484611fa1565b600080600080845160208601878a8af19695505050505050565b600054610100900460ff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016101bd565b6003805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560048054929093169116179055565b8373ffffffffffffffffffffffffffffffffffffffff1673deaddeaddeaddeaddeaddeaddeaddeaddead000073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611cea939291906129e1565b60405180910390a46112d98484848461200e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526112d99085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016119a8565b8373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e868686604051611dd4939291906129e1565b60405180910390a461057086868686868661206d565b6000611df5836120e5565b8015611e065750611e068383612149565b9392505050565b6000611e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122189092919063ffffffff16565b8051909150156109ec5780806020019051810190611e8d9190612a1f565b6109ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101bd565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd868686604051611f91939291906129e1565b60405180910390a4505050505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d8484604051612000929190612a41565b60405180910390a350505050565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af58484604051612000929190612a41565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf868686604051611f91939291906129e1565b6000612111827f01ffc9a700000000000000000000000000000000000000000000000000000000612149565b80156118305750612142827fffffffff00000000000000000000000000000000000000000000000000000000612149565b1592915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d91506000519050828015612201575060208210155b801561220d5750600081115b979650505050505050565b6060612227848460008561222f565b949350505050565b6060824710156122c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101bd565b73ffffffffffffffffffffffffffffffffffffffff85163b61233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101bd565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123689190612a5a565b60006040518083038185875af1925050503d80600081146123a5576040519150601f19603f3d011682016040523d82523d6000602084013e6123aa565b606091505b509150915061220d828286606083156123c4575081611e06565b8251156123d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101bd919061272e565b73ffffffffffffffffffffffffffffffffffffffff8116811461242a57600080fd5b50565b60008083601f84011261243f57600080fd5b50813567ffffffffffffffff81111561245757600080fd5b60208301915083602082850101111561246f57600080fd5b9250929050565b600080600080600080600060c0888a03121561249157600080fd5b873561249c81612408565b965060208801356124ac81612408565b955060408801356124bc81612408565b945060608801356124cc81612408565b93506080880135925060a088013567ffffffffffffffff8111156124ef57600080fd5b6124fb8a828b0161242d565b989b979a50959850939692959293505050565b803563ffffffff8116811461252257600080fd5b919050565b60008060006040848603121561253c57600080fd5b6125458461250e565b9250602084013567ffffffffffffffff81111561256157600080fd5b61256d8682870161242d565b9497909650939450505050565b60008060008060006080868803121561259257600080fd5b853561259d81612408565b945060208601356125ad81612408565b935060408601359250606086013567ffffffffffffffff8111156125d057600080fd5b6125dc8882890161242d565b969995985093965092949392505050565b60008060008060006080868803121561260557600080fd5b853561261081612408565b9450602086013593506126256040870161250e565b9250606086013567ffffffffffffffff8111156125d057600080fd5b600080600080600080600060c0888a03121561265c57600080fd5b873561266781612408565b9650602088013561267781612408565b9550604088013561268781612408565b94506060880135935061269c6080890161250e565b925060a088013567ffffffffffffffff8111156124ef57600080fd5b60005b838110156126d35781810151838201526020016126bb565b838111156112d95750506000910152565b600081518084526126fc8160208601602086016126b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e0660208301846126e4565b60008060008060008060a0878903121561275a57600080fd5b863561276581612408565b9550602087013561277581612408565b94506040870135935061278a6060880161250e565b9250608087013567ffffffffffffffff8111156127a657600080fd5b6127b289828a0161242d565b979a9699509497509295939492505050565b600080604083850312156127d757600080fd5b82356127e281612408565b915060208301356127f281612408565b809150509250929050565b60006020828403121561280f57600080fd5b8135611e0681612408565b6000806000806060858703121561283057600080fd5b843561283b81612408565b93506128496020860161250e565b9250604085013567ffffffffffffffff81111561286557600080fd5b6128718782880161242d565b95989497509550505050565b60006020828403121561288f57600080fd5b8151611e0681612408565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156128db576128db61289a565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261291f60808301846126e4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260606020820152600061295860608301856126e4565b905063ffffffff83166040830152949350505050565b600082198211156129815761298161289a565b500190565b600073ffffffffffffffffffffffffffffffffffffffff80891683528088166020840152808716604084015280861660608401525083608083015260c060a08301526129d560c08301846126e4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152826020820152606060408201526000612a1660608301846126e4565b95945050505050565b600060208284031215612a3157600080fd5b81518015158114611e0657600080fd5b82815260406020820152600061222760408301846126e4565b60008251612a6c8184602087016126b8565b919091019291505056fea164736f6c634300080f000a",sourceMap:"1141:9307:149:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4741:10:235;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;;;;;;;;;3228:143:149::1;2708:42:199;3290:10:149;3302;3314:9;1343:7:235;3352:9:149;;;;;;;;;;;::::0;3228:19:::1;:143::i;:::-;1141:9307:::0;;;;;12867:1084:235;;;;;;;;;;-1:-1:-1;12867:1084:235;;;;;:::i;:::-;;:::i;7253:186::-;;;;;;:::i;:::-;;:::i;11233:902::-;;;;;;:::i;:::-;;:::i;3897:313:149:-;;;;;;:::i;:::-;;:::i;6764:101::-;;;;;;;;;;-1:-1:-1;6846:11:149;;;;6764:101;;;4271:42:357;4259:55;;;4241:74;;4229:2;4214:18;6764:101:149;;;;;;;;1893:37:235;;;;;;;;;;-1:-1:-1;1893:37:235;;;;;;;;10320:349;;;;;;;;;;-1:-1:-1;10320:349:235;;;;;:::i;:::-;;:::i;2510:40:149:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6750:82:235:-;;;;;;;;;;-1:-1:-1;6750:82:235;;6797:4;6512:41:357;;6500:2;6485:18;6750:82:235;6372:187:357;6087:505:149;;;;;;:::i;:::-;;:::i;9277:349:235:-;;;;;;;;;;-1:-1:-1;9277:349:235;;;;;:::i;:::-;;:::i;1739:63::-;;;;;;;;;;-1:-1:-1;1739:63:235;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;8199:25:357;;;8187:2;8172:18;1739:63:235;8053:177:357;6024:99:235;;;;;;;;;;-1:-1:-1;6107:9:235;;;;6024:99;;5197:313:149;;;;;;:::i;:::-;;:::i;2849:242::-;;;;;;;;;;-1:-1:-1;2849:242:149;;;;;:::i;:::-;;:::i;2028:33:235:-;;;;;;;;;;-1:-1:-1;2028:33:235;;;;;;;;8450:186;;;;;;:::i;:::-;;:::i;1175:320:59:-;1465:19;;;:23;;;1175:320::o;7372:554:149:-;7599:39;;;;;7595:325;;7654:65;7673:5;7680:3;7685:7;7694:12;7708:10;7654:18;:65::i;:::-;7595:325;;;7750:15;7790:8;7768:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7750:59;;7823:86;7844:8;7854:7;7863:5;7870:3;7875:7;7884:12;7898:10;7823:20;:86::i;:::-;7736:184;7595:325;7372:554;;;;;;:::o;12867:1084:235:-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:235;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:357;4961:204:235;;;9573:21:357;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:235;9389:469:357;4961:204:235;13184:37:::1;13209:11;13184:24;:37::i;:::-;13180:489;;;13262:46;13282:11;13295:12;13262:19;:46::i;:::-;13237:179;;;::::0;::::1;::::0;;10416:2:357;13237:179:235::1;::::0;::::1;10398:21:357::0;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;13237:179:235::1;10214:478:357::0;13237:179:235::1;13431:53;::::0;;;;:39:::1;10889:55:357::0;;;13431:53:235::1;::::0;::::1;10871:74:357::0;10961:18;;;10954:34;;;13431:39:235;::::1;::::0;::::1;::::0;10844:18:357;;13431:53:235::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;13180:489;;;13553:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45:::1;::::0;13591:7;;13553:45:::1;:::i;:::-;13515:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;:83;;;;13612:46:::1;::::0;13645:3;13650:7;13612:32:::1;:46::i;:::-;13859:85;13885:11;13898:12;13912:5;13919:3;13924:7;13933:10;;13859:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;13859:25:235::1;::::0;-1:-1:-1;;;13859:85:235:i:1;7253:186::-:0;4741:10;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;7353:79:::1;7372:10;7384;7396:9;7407:12;7421:10;;7353:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;7353:18:235::1;::::0;-1:-1:-1;;;7353:79:235:i:1;:::-;7253:186:::0;;;:::o;11233:902::-;5004:9;;;;4982:10;:32;:92;;;;-1:-1:-1;5062:11:235;;;5018:9;;:32;;;;;;;;5062:11;;;;;5018:9;;;;;:30;;:32;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;4982:92;4961:204;;;;;;;9591:2:357;4961:204:235;;;9573:21:357;9630:2;9610:18;;;9603:30;9669:34;9649:18;;;9642:62;9740:34;9720:18;;;9713:62;9812:3;9791:19;;;9784:32;9833:19;;4961:204:235;9389:469:357;4961:204:235;11522:7:::1;11509:9;:20;11501:91;;;::::0;::::1;::::0;;11520:2:357;11501:91:235::1;::::0;::::1;11502:21:357::0;11559:2;11539:18;;;11532:30;11598:34;11578:18;;;11571:62;11669:28;11649:18;;;11642:56;11715:19;;11501:91:235::1;11318:422:357::0;11501:91:235::1;11625:4;11610:20;::::0;::::1;::::0;11602:68:::1;;;::::0;::::1;::::0;;11947:2:357;11602:68:235::1;::::0;::::1;11929:21:357::0;11986:2;11966:18;;;11959:30;12025:34;12005:18;;;11998:62;12096:5;12076:18;;;12069:33;12119:19;;11602:68:235::1;11745:399:357::0;11602:68:235::1;11703:9;::::0;::::1;::::0;;::::1;11688:25:::0;;::::1;::::0;11680:78:::1;;;::::0;::::1;::::0;;12351:2:357;11680:78:235::1;::::0;::::1;12333:21:357::0;12390:2;12370:18;;;12363:30;12429:34;12409:18;;;12402:62;12500:10;12480:18;;;12473:38;12528:19;;11680:78:235::1;12149:404:357::0;11680:78:235::1;11936:56;11960:5;11967:3;11972:7;11981:10;;11936:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;11936:23:235::1;::::0;-1:-1:-1;;;11936:56:235:i:1;:::-;12003:12;12018:45;12032:3;12037:9;12048:7;12018:45;;;;;;;;;;;::::0;:13:::1;:45::i;:::-;12003:60;;12081:7;12073:55;;;::::0;::::1;::::0;;12760:2:357;12073:55:235::1;::::0;::::1;12742:21:357::0;12799:2;12779:18;;;12772:30;12838:34;12818:18;;;12811:62;12909:5;12889:18;;;12882:33;12932:19;;12073:55:235::1;12558:399:357::0;3897:313:149;4741:10:235;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;4115:88:149::1;4135:8;4145:10;4157;4169:7;4178:12;4192:10;;4115:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;4115:19:149::1;::::0;-1:-1:-1;;;4115:88:149:i:1;:::-;3897:313:::0;;;;;:::o;10320:349:235:-;10563:99;10584:11;10597:12;10611:10;10623:3;10628:7;10637:12;10651:10;;10563:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10563:20:235;;-1:-1:-1;;;10563:99:235:i;6087:505:149:-;6341:22;;;;:65;;;;-1:-1:-1;6367:39:149;;;2708:42:199;6367:39:149;6341:65;6337:249;;;6422:50;6440:5;6447:3;6452:7;6461:10;;6422:17;:50::i;:::-;6337:249;;;6503:72;6523:8;6533;6543:5;6550:3;6555:7;6564:10;;6503:19;:72::i;9277:349:235:-;4741:10;1465:19:59;:23;4713:99:235;;;;;;;216:2:357;4713:99:235;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:25;345:18;;;338:53;408:19;;4713:99:235;14:419:357;4713:99:235;9513:106:::1;9534:11;9547:12;9561:10;9573;9585:7;9594:12;9608:10;;9513:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;9513:20:235::1;::::0;-1:-1:-1;;;9513:106:235:i:1;5197:313:149:-:0;5422:81;5442:8;5452:10;5464:3;5469:7;5478:12;5492:10;;5422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5422:19:149;;-1:-1:-1;;;5422:81:149:i;2849:242::-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;13164:2:357;3146:190:43;;;13146:21:357;13203:2;13183:18;;;13176:30;13242:34;13222:18;;;13215:62;13313:16;13293:18;;;13286:44;13347:19;;3146:190:43;12962:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2927:157:149::1;480:42:199;3061:12:149;2927:21;:157::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;13529:36:357;;3531:14:43;;13517:2:357;13502:18;3531:14:43;;;;;;;3457:99;3090:472;2849:242:149;:::o;8450:186:235:-;8557:72;8576:10;8588:3;8593:9;8604:12;8618:10;;8557:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8557:18:235;;-1:-1:-1;;;8557:72:235:i;:::-;8450:186;;;;:::o;14539:789::-;14756:7;14743:9;:20;14735:95;;;;;;;13778:2:357;14735:95:235;;;13760:21:357;13817:2;13797:18;;;13790:30;13856:34;13836:18;;;13829:62;13927:32;13907:18;;;13900:60;13977:19;;14735:95:235;13576:426:357;14735:95:235;15008:56;15032:5;15039:3;15044:7;15053:10;15008:23;:56::i;:::-;15075:9;;15146:11;;15182:88;;15075:9;;;;;:21;;15105:7;;15146:11;;;15205:31;;15182:88;;15238:5;;15245:3;;15105:7;;15259:10;;15182:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;15075:246;;;;;;;;;;;;;15298:12;;15075:246;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14539:789;;;;;:::o;16022:1680::-;16283:37;16308:11;16283:24;:37::i;:::-;16279:512;;;16361:46;16381:11;16394:12;16361:19;:46::i;:::-;16336:179;;;;;;;10416:2:357;16336:179:235;;;10398:21:357;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;10565:34;10545:18;;;10538:62;10637:12;10616:19;;;10609:41;10667:19;;16336:179:235;10214:478:357;16336:179:235;16530:55;;;;;:39;10889:55:357;;;16530::235;;;10871:74:357;10961:18;;;10954:34;;;16530:39:235;;;;;10844:18:357;;16530:55:235;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16279:512;;;16616:67;:36;;;16653:5;16668:4;16675:7;16616:36;:67::i;:::-;16735:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;;:45;;16773:7;;16735:45;:::i;:::-;16697:21;;;;;;;;:8;:21;;;;;;;;:35;;;;;;;;;:83;16279:512;16981:85;17007:11;17020:12;17034:5;17041:3;17046:7;17055:10;16981:25;:85::i;:::-;17077:9;;17130:11;;17166:478;;17077:9;;;;;:21;;17130:11;;17206:33;;17166:478;;17492:12;;17522:11;;17551:5;;17574:3;;17595:7;;17620:10;;17166:478;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;17077:618;;;;;;;;;;;;;17672:12;;17077:618;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16022:1680;;;;;;;:::o;17966:279::-;18039:4;18062:79;18094:6;18102:38;18062:31;:79::i;:::-;:176;;;;18157:81;18189:6;18197:40;18157:31;:81::i;:::-;18055:183;17966:279;-1:-1:-1;;17966:279:235:o;18692:410::-;18789:4;18809:87;18841:14;18857:38;18809:31;:87::i;:::-;18805:291;;;18955:14;18934:44;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18919:61;;:11;:61;;;18912:68;;;;18805:291;19056:14;19033:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;763:205:52;902:58;;10901:42:357;10889:55;;902:58:52;;;10871:74:357;10961:18;;;10954:34;;;875:86:52;;895:5;;925:23;;10844:18:357;;902:58:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;875:19;:86::i;10007:439:149:-;10306:5;10262:76;;10293:11;10262:76;;10279:12;10262:76;;;10313:3;10318:7;10327:10;10262:76;;;;;;;;:::i;:::-;;;;;;;;10348:91;10380:11;10393:12;10407:5;10414:3;10419:7;10428:10;10348:31;:91::i;8745:363::-;8997:5;8939:90;;2708:42:199;8939:90:149;;8964:1;8939:90;;;9004:3;9009:7;9018:10;8939:90;;;;;;;;:::i;:::-;;;;;;;;9039:62;9069:5;9076:3;9081:7;9090:10;9039:29;:62::i;1202:536:200:-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:200:o;5373:236:235:-;4888:13:43;;;;;;;4880:69;;;;;;;16381:2:357;4880:69:43;;;16363:21:357;16420:2;16400:18;;;16393:30;16459:34;16439:18;;;16432:62;16530:13;16510:18;;;16503:41;16561:19;;4880:69:43;16179:407:357;4880:69:43;5544:9:235::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;5576:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;5373:236::o;8154:366:149:-;8409:5;8348:93;;2708:42:199;8348:93:149;;8376:1;8348:93;;;8416:3;8421:7;8430:10;8348:93;;;;;;;;:::i;:::-;;;;;;;;8451:62;8481:5;8488:3;8493:7;8502:10;8451:29;:62::i;974:241:52:-;1139:68;;16803:42:357;16872:15;;;1139:68:52;;;16854:34:357;16924:15;;16904:18;;;16897:43;16956:18;;;16949:34;;;1112:96:52;;1132:5;;1162:27;;16766:18:357;;1139:68:52;16591:398:357;9338:442:149;9640:5;9593:79;;9627:11;9593:79;;9613:12;9593:79;;;9647:3;9652:7;9661:10;9593:79;;;;;;;;:::i;:::-;;;;;;;;9682:91;9714:11;9727:12;9741:5;9748:3;9753:7;9762:10;9682:31;:91::i;1333:274:67:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:67:o;3747:706:52:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:52;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;;;;17478:2:357;4351:85:52;;;17460:21:357;17517:2;17497:18;;;17490:30;17556:34;17536:18;;;17529:62;17627:12;17607:18;;;17600:40;17657:19;;4351:85:52;17276:406:357;21757:341:235;22059:5;22011:80;;22045:12;22011:80;;22032:11;22011:80;;;22066:3;22071:7;22080:10;22011:80;;;;;;;;:::i;:::-;;;;;;;;21757:341;;;;;;:::o;20099:251::-;20318:3;20292:51;;20311:5;20292:51;;;20323:7;20332:10;20292:51;;;;;;;:::i;:::-;;;;;;;;20099:251;;;;:::o;19478:::-;19697:3;19671:51;;19690:5;19671:51;;;19702:7;19711:10;19671:51;;;;;;;:::i;20883:341::-;21185:5;21137:80;;21171:12;21137:80;;21158:11;21137:80;;;21192:3;21197:7;21206:10;21137:80;;;;;;;;:::i;704:411:67:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:67;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;956:152;704:411;-1:-1:-1;;704:411:67:o;4223:638::-;4385:71;;;18155:66:357;18143:79;;4385:71:67;;;;18125:98:357;;;;4385:71:67;;;;;;;;;;18098:18:357;;;;4385:71:67;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:67:o;3861:223:59:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:59:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;18436:2:357;5137:81:59;;;18418:21:357;18475:2;18455:18;;;18448:30;18514:34;18494:18;;;18487:62;18585:8;18565:18;;;18558:36;18611:19;;5137:81:59;18234:402:357;5137:81:59;1465:19;;;;5228:60;;;;;;;18843:2:357;5228:60:59;;;18825:21:357;18882:2;18862:18;;;18855:30;18921:31;18901:18;;;18894:59;18970:18;;5228:60:59;18641:353:357;5228:60:59;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:566;;;-1:-1:-1;7765:10:59;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;;;;;;;;;;:::i;438:154:357:-;524:42;517:5;513:54;506:5;503:65;493:93;;582:1;579;572:12;493:93;438:154;:::o;597:347::-;648:8;658:6;712:3;705:4;697:6;693:17;689:27;679:55;;730:1;727;720:12;679:55;-1:-1:-1;753:20:357;;796:18;785:30;;782:50;;;828:1;825;818:12;782:50;865:4;857:6;853:17;841:29;;917:3;910:4;901:6;893;889:19;885:30;882:39;879:59;;;934:1;931;924:12;879:59;597:347;;;;;:::o;949:1038::-;1064:6;1072;1080;1088;1096;1104;1112;1165:3;1153:9;1144:7;1140:23;1136:33;1133:53;;;1182:1;1179;1172:12;1133:53;1221:9;1208:23;1240:31;1265:5;1240:31;:::i;:::-;1290:5;-1:-1:-1;1347:2:357;1332:18;;1319:32;1360:33;1319:32;1360:33;:::i;:::-;1412:7;-1:-1:-1;1471:2:357;1456:18;;1443:32;1484:33;1443:32;1484:33;:::i;:::-;1536:7;-1:-1:-1;1595:2:357;1580:18;;1567:32;1608:33;1567:32;1608:33;:::i;:::-;1660:7;-1:-1:-1;1714:3:357;1699:19;;1686:33;;-1:-1:-1;1770:3:357;1755:19;;1742:33;1798:18;1787:30;;1784:50;;;1830:1;1827;1820:12;1784:50;1869:58;1919:7;1910:6;1899:9;1895:22;1869:58;:::i;:::-;949:1038;;;;-1:-1:-1;949:1038:357;;-1:-1:-1;949:1038:357;;;;1843:84;;-1:-1:-1;;;949:1038:357:o;1992:163::-;2059:20;;2119:10;2108:22;;2098:33;;2088:61;;2145:1;2142;2135:12;2088:61;1992:163;;;:::o;2160:481::-;2238:6;2246;2254;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:28;2364:9;2346:28;:::i;:::-;2336:38;;2425:2;2414:9;2410:18;2397:32;2452:18;2444:6;2441:30;2438:50;;;2484:1;2481;2474:12;2438:50;2523:58;2573:7;2564:6;2553:9;2549:22;2523:58;:::i;:::-;2160:481;;2600:8;;-1:-1:-1;2497:84:357;;-1:-1:-1;;;;2160:481:357:o;2646:754::-;2743:6;2751;2759;2767;2775;2828:3;2816:9;2807:7;2803:23;2799:33;2796:53;;;2845:1;2842;2835:12;2796:53;2884:9;2871:23;2903:31;2928:5;2903:31;:::i;:::-;2953:5;-1:-1:-1;3010:2:357;2995:18;;2982:32;3023:33;2982:32;3023:33;:::i;:::-;3075:7;-1:-1:-1;3129:2:357;3114:18;;3101:32;;-1:-1:-1;3184:2:357;3169:18;;3156:32;3211:18;3200:30;;3197:50;;;3243:1;3240;3233:12;3197:50;3282:58;3332:7;3323:6;3312:9;3308:22;3282:58;:::i;:::-;2646:754;;;;-1:-1:-1;2646:754:357;;-1:-1:-1;3359:8:357;;3256:84;2646:754;-1:-1:-1;;;2646:754:357:o;3405:685::-;3501:6;3509;3517;3525;3533;3586:3;3574:9;3565:7;3561:23;3557:33;3554:53;;;3603:1;3600;3593:12;3554:53;3642:9;3629:23;3661:31;3686:5;3661:31;:::i;:::-;3711:5;-1:-1:-1;3763:2:357;3748:18;;3735:32;;-1:-1:-1;3786:37:357;3819:2;3804:18;;3786:37;:::i;:::-;3776:47;;3874:2;3863:9;3859:18;3846:32;3901:18;3893:6;3890:30;3887:50;;;3933:1;3930;3923:12;4588:969;4702:6;4710;4718;4726;4734;4742;4750;4803:3;4791:9;4782:7;4778:23;4774:33;4771:53;;;4820:1;4817;4810:12;4771:53;4859:9;4846:23;4878:31;4903:5;4878:31;:::i;:::-;4928:5;-1:-1:-1;4985:2:357;4970:18;;4957:32;4998:33;4957:32;4998:33;:::i;:::-;5050:7;-1:-1:-1;5109:2:357;5094:18;;5081:32;5122:33;5081:32;5122:33;:::i;:::-;5174:7;-1:-1:-1;5228:2:357;5213:18;;5200:32;;-1:-1:-1;5251:38:357;5284:3;5269:19;;5251:38;:::i;:::-;5241:48;;5340:3;5329:9;5325:19;5312:33;5368:18;5360:6;5357:30;5354:50;;;5400:1;5397;5390:12;5562:258;5634:1;5644:113;5658:6;5655:1;5652:13;5644:113;;;5734:11;;;5728:18;5715:11;;;5708:39;5680:2;5673:10;5644:113;;;5775:6;5772:1;5769:13;5766:48;;;-1:-1:-1;;5810:1:357;5792:16;;5785:27;5562:258::o;5825:317::-;5867:3;5905:5;5899:12;5932:6;5927:3;5920:19;5948:63;6004:6;5997:4;5992:3;5988:14;5981:4;5974:5;5970:16;5948:63;:::i;:::-;6056:2;6044:15;6061:66;6040:88;6031:98;;;;6131:4;6027:109;;5825:317;-1:-1:-1;;5825:317:357:o;6147:220::-;6296:2;6285:9;6278:21;6259:4;6316:45;6357:2;6346:9;6342:18;6334:6;6316:45;:::i;6828:827::-;6933:6;6941;6949;6957;6965;6973;7026:3;7014:9;7005:7;7001:23;6997:33;6994:53;;;7043:1;7040;7033:12;6994:53;7082:9;7069:23;7101:31;7126:5;7101:31;:::i;:::-;7151:5;-1:-1:-1;7208:2:357;7193:18;;7180:32;7221:33;7180:32;7221:33;:::i;:::-;7273:7;-1:-1:-1;7327:2:357;7312:18;;7299:32;;-1:-1:-1;7350:37:357;7383:2;7368:18;;7350:37;:::i;:::-;7340:47;;7438:3;7427:9;7423:19;7410:33;7466:18;7458:6;7455:30;7452:50;;;7498:1;7495;7488:12;7452:50;7537:58;7587:7;7578:6;7567:9;7563:22;7537:58;:::i;:::-;6828:827;;;;-1:-1:-1;6828:827:357;;-1:-1:-1;6828:827:357;;7614:8;;6828:827;-1:-1:-1;;;6828:827:357:o;7660:388::-;7728:6;7736;7789:2;7777:9;7768:7;7764:23;7760:32;7757:52;;;7805:1;7802;7795:12;7757:52;7844:9;7831:23;7863:31;7888:5;7863:31;:::i;:::-;7913:5;-1:-1:-1;7970:2:357;7955:18;;7942:32;7983:33;7942:32;7983:33;:::i;:::-;8035:7;8025:17;;;7660:388;;;;;:::o;8235:272::-;8319:6;8372:2;8360:9;8351:7;8347:23;8343:32;8340:52;;;8388:1;8385;8378:12;8340:52;8427:9;8414:23;8446:31;8471:5;8446:31;:::i;8512:616::-;8599:6;8607;8615;8623;8676:2;8664:9;8655:7;8651:23;8647:32;8644:52;;;8692:1;8689;8682:12;8644:52;8731:9;8718:23;8750:31;8775:5;8750:31;:::i;:::-;8800:5;-1:-1:-1;8824:37:357;8857:2;8842:18;;8824:37;:::i;:::-;8814:47;;8912:2;8901:9;8897:18;8884:32;8939:18;8931:6;8928:30;8925:50;;;8971:1;8968;8961:12;8925:50;9010:58;9060:7;9051:6;9040:9;9036:22;9010:58;:::i;:::-;8512:616;;;;-1:-1:-1;9087:8:357;-1:-1:-1;;;;8512:616:357:o;9133:251::-;9203:6;9256:2;9244:9;9235:7;9231:23;9227:32;9224:52;;;9272:1;9269;9262:12;9224:52;9304:9;9298:16;9323:31;9348:5;9323:31;:::i;10999:184::-;11051:77;11048:1;11041:88;11148:4;11145:1;11138:15;11172:4;11169:1;11162:15;11188:125;11228:4;11256:1;11253;11250:8;11247:34;;;11261:18;;:::i;:::-;-1:-1:-1;11298:9:357;;11188:125::o;14007:512::-;14201:4;14230:42;14311:2;14303:6;14299:15;14288:9;14281:34;14363:2;14355:6;14351:15;14346:2;14335:9;14331:18;14324:43;;14403:6;14398:2;14387:9;14383:18;14376:34;14446:3;14441:2;14430:9;14426:18;14419:31;14467:46;14508:3;14497:9;14493:19;14485:6;14467:46;:::i;:::-;14459:54;14007:512;-1:-1:-1;;;;;;14007:512:357:o;14524:424::-;14737:42;14729:6;14725:55;14714:9;14707:74;14817:2;14812;14801:9;14797:18;14790:30;14688:4;14837:45;14878:2;14867:9;14863:18;14855:6;14837:45;:::i;:::-;14829:53;;14930:10;14922:6;14918:23;14913:2;14902:9;14898:18;14891:51;14524:424;;;;;;:::o;14953:128::-;14993:3;15024:1;15020:6;15017:1;15014:13;15011:39;;;15030:18;;:::i;:::-;-1:-1:-1;15066:9:357;;14953:128::o;15086:674::-;15336:4;15365:42;15446:2;15438:6;15434:15;15423:9;15416:34;15498:2;15490:6;15486:15;15481:2;15470:9;15466:18;15459:43;15550:2;15542:6;15538:15;15533:2;15522:9;15518:18;15511:43;15602:2;15594:6;15590:15;15585:2;15574:9;15570:18;15563:43;;15643:6;15637:3;15626:9;15622:19;15615:35;15687:3;15681;15670:9;15666:19;15659:32;15708:46;15749:3;15738:9;15734:19;15726:6;15708:46;:::i;:::-;15700:54;15086:674;-1:-1:-1;;;;;;;;15086:674:357:o;15765:409::-;15980:42;15972:6;15968:55;15957:9;15950:74;16060:6;16055:2;16044:9;16040:18;16033:34;16103:2;16098;16087:9;16083:18;16076:30;15931:4;16123:45;16164:2;16153:9;16149:18;16141:6;16123:45;:::i;:::-;16115:53;15765:409;-1:-1:-1;;;;;15765:409:357:o;16994:277::-;17061:6;17114:2;17102:9;17093:7;17089:23;17085:32;17082:52;;;17130:1;17127;17120:12;17082:52;17162:9;17156:16;17215:5;17208:13;17201:21;17194:5;17191:32;17181:60;;17237:1;17234;17227:12;17687:289;17862:6;17851:9;17844:25;17905:2;17900;17889:9;17885:18;17878:30;17825:4;17925:45;17966:2;17955:9;17951:18;17943:6;17925:45;:::i;18999:274::-;19128:3;19166:6;19160:13;19182:53;19228:6;19223:3;19216:4;19208:6;19204:17;19182:53;:::i;:::-;19251:16;;;;;18999:274;-1:-1:-1;;18999:274:357:o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC20(address,address,uint256,uint32,bytes)":"87087623","bridgeERC20To(address,address,address,uint256,uint32,bytes)":"540abf73","bridgeETH(uint32,bytes)":"09fc8843","bridgeETHTo(address,uint32,bytes)":"e11013dd","deposits(address,address)":"8f601f66","finalizeBridgeERC20(address,address,address,address,uint256,bytes)":"0166a07a","finalizeBridgeETH(address,address,uint256,bytes)":"1635f5fd","finalizeDeposit(address,address,address,address,uint256,bytes)":"662a633a","initialize(address)":"c4d66de8","l1TokenBridge()":"36c717c1","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50","withdraw(address,uint256,uint32,bytes)":"32b7006d","withdrawTo(address,address,uint256,uint32,bytes)":"a3a79548"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"DepositFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC20BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ETHBridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"l1Token","type":"address"},{"indexed":true,"internalType":"address","name":"l2Token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"WithdrawalInitiated","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeETHTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l1Token","type":"address"},{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract StandardBridge","name":"_otherBridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1TokenBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_l2Token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"withdrawTo","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000010","events":{"DepositFinalized(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever an ERC20 deposit is finalized.","params":{"amount":"Amount of the ERC20 deposited.","extraData":"Extra data attached to the deposit.","from":"Address of the depositor.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Emitted whenever a withdrawal from L2 to L1 is initiated.","params":{"amount":"Amount of the ERC20 withdrawn.","extraData":"Extra data attached to the withdrawal.","from":"Address of the withdrawer.","l1Token":"Address of the token on L1.","l2Token":"Address of the corresponding token on L2.","to":"Address of the recipient on L1."}}},"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"params":{"_amount":"Amount of local tokens to deposit.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_localToken":"Address of the ERC20 on this chain.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"bridgeETH(uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{"params":{"_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_minGasLimit":"Minimum amount of gas that the bridge can be relayed with.","_to":"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"params":{"_amount":"Amount of the ERC20 being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_localToken":"Address of the ERC20 on this chain.","_remoteToken":"Address of the corresponding token on the remote chain.","_to":"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{"params":{"_amount":"Amount of ETH being bridged.","_extraData":"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.","_from":"Address of the sender.","_to":"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.","params":{"_amount":"Amount of the tokens being deposited.","_extraData":"Extra data attached to the deposit.","_from":"Address of the depositor.","_l1Token":"Address of the L1 token to deposit.","_l2Token":"Address of the corresponding L2 token.","_to":"Address of the recipient."}},"initialize(address)":{"params":{"_otherBridge":"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.","returns":{"_0":"Address of the corresponding L1 bridge contract."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.","params":{"_amount":"Amount of the L2 token to withdraw.","_extraData":"Extra data attached to the withdrawal.","_l2Token":"Address of the L2 token to withdraw.","_minGasLimit":"Minimum gas limit to use for the transaction.","_to":"Recipient account on L1."}}},"stateVariables":{"version":{"custom:semver":"1.8.0"}},"title":"L2StandardBridge","version":1},"userdoc":{"events":{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{"notice":"Emitted when an ETH bridge is initiated to the other chain."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to the sender\'s address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{"notice":"Sends ERC20 tokens to a receiver\'s address on the other chain."},"bridgeETH(uint32,bytes)":{"notice":"Sends ETH to the sender\'s address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{"notice":"Sends ETH to a receiver\'s address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},"constructor":{"notice":"Constructs the L2StandardBridge contract."},"deposits(address,address)":{"notice":"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{"notice":"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{"notice":"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{"notice":"Initializer."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Corresponding bridge on the other domain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.","version":1}},"settings":{"compilationTarget":{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L2/L2StandardBridge.sol":{"keccak256":"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629","license":"MIT","urls":["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d","license":"MIT","urls":["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"DepositFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC20BridgeInitiated",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ETHBridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"l1Token",type:"address",indexed:!0},{internalType:"address",name:"l2Token",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"WithdrawalInitiated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC20To"},{inputs:[{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETH"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"bridgeETHTo"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC20"},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeBridgeETH"},{inputs:[{internalType:"address",name:"_l1Token",type:"address"},{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"finalizeDeposit"},{inputs:[{internalType:"contract StandardBridge",name:"_otherBridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1TokenBridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdraw"},{inputs:[{internalType:"address",name:"_l2Token",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"withdrawTo"},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{"custom:legacy":"@notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token.",params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{"custom:legacy":"@notice Retrieves the access of the corresponding L1 bridge contract.",returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{"custom:legacy":"@notice Initiates a withdrawal from L2 to L1 to a target account on L1. Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will be locked in the L1StandardBridge. ETH may be recoverable if the call can be successfully replayed by increasing the amount of gas supplied to the call. If the call will fail for any amount of gas, then the ETH will be locked permanently. This function only works with OptimismMintableERC20 tokens or ether. Use the `bridgeERC20To` function to bridge native L2 tokens to L1.",params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2StandardBridge.sol":"L2StandardBridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L2/L2StandardBridge.sol":{keccak256:"0x9f17720ac0b3b44723b02385a19063cf22704cd0bd253fce3e6d24b9f76bd629",urls:["bzz-raw://1575cf22553428baf7abb23059cb97c29e534ab5214f13d54a1810349166c570","dweb:/ipfs/Qme2oVH1pd1rBe1AyxUjHrofDgHXdHaUiqSgBVsSSLbKN5"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d",urls:["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:110944,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:110947,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"spacer_1_0_20",offset:0,slot:"1",type:"t_address"},{astId:110954,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"deposits",offset:0,slot:"2",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:110958,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"messenger",offset:0,slot:"3",type:"t_contract(CrossDomainMessenger)108888"},{astId:110962,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"otherBridge",offset:0,slot:"4",type:"t_contract(StandardBridge)111675"},{astId:110967,contract:"src/L2/L2StandardBridge.sol:L2StandardBridge",label:"__gap",offset:0,slot:"5",type:"t_array(t_uint256)45_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)45_storage":{encoding:"inplace",label:"uint256[45]",numberOfBytes:"1440",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)111675":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Getter for the other bridge contract. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC20(address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to the sender's address on the other chain."},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{notice:"Sends ERC20 tokens to a receiver's address on the other chain."},"bridgeETH(uint32,bytes)":{notice:"Sends ETH to the sender's address on the other chain."},"bridgeETHTo(address,uint32,bytes)":{notice:"Sends ETH to a receiver's address on the other chain. Note that if ETH is sent to a smart contract and the call fails, the ETH will be temporarily locked in the StandardBridge on the other chain until the call is replayed. If the call cannot be replayed with any amount of gas (call always reverts), then the ETH will be permanently locked in the StandardBridge on the other chain. ETH will also be locked if the receiver is the other bridge, because finalizeBridgeETH will revert in that case."},constructor:{notice:"Constructs the L2StandardBridge contract."},"deposits(address,address)":{notice:"Mapping that stores deposits for a given pair of local and remote tokens."},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{notice:"Finalizes an ERC20 bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"finalizeBridgeETH(address,address,uint256,bytes)":{notice:"Finalizes an ETH bridge on this chain. Can only be triggered by the other StandardBridge contract on the remote chain."},"initialize(address)":{notice:"Initializer."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Corresponding bridge on the other domain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC20BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is finalized on this chain."},"ERC20BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC20 bridge is initiated to the other chain."},"ETHBridgeFinalized(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is finalized on this chain."},"ETHBridgeInitiated(address,address,uint256,bytes)":{notice:"Emitted when an ETH bridge is initiated to the other chain."}},notice:"The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and L2. In the case that an ERC20 token is native to L2, it will be escrowed within this contract. If the ERC20 token is native to L1, it will be burnt. NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples of some token types that may not be properly supported by this contract include, but are not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Contract of the messenger on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC20(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain."}},"bridgeERC20To(address,address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of local tokens to deposit.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_localToken:"Address of the ERC20 on this chain.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"bridgeETH(uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with."}},"bridgeETHTo(address,uint32,bytes)":{params:{_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_minGasLimit:"Minimum amount of gas that the bridge can be relayed with.",_to:"Address of the receiver."}},"finalizeBridgeERC20(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the ERC20 being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_localToken:"Address of the ERC20 on this chain.",_remoteToken:"Address of the corresponding token on the remote chain.",_to:"Address of the receiver."}},"finalizeBridgeETH(address,address,uint256,bytes)":{params:{_amount:"Amount of ETH being bridged.",_extraData:"Extra data to be sent with the transaction. Note that the recipient will not be triggered with this data, but it will be emitted and can be used to identify the transaction.",_from:"Address of the sender.",_to:"Address of the receiver."}},"finalizeDeposit(address,address,address,address,uint256,bytes)":{params:{_amount:"Amount of the tokens being deposited.",_extraData:"Extra data attached to the deposit.",_from:"Address of the depositor.",_l1Token:"Address of the L1 token to deposit.",_l2Token:"Address of the corresponding L2 token.",_to:"Address of the recipient."}},"initialize(address)":{params:{_otherBridge:"Contract for the corresponding bridge on the other chain."}},"l1TokenBridge()":{returns:{_0:"Address of the corresponding L1 bridge contract."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"withdraw(address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction."}},"withdrawTo(address,address,uint256,uint32,bytes)":{params:{_amount:"Amount of the L2 token to withdraw.",_extraData:"Extra data attached to the withdrawal.",_l2Token:"Address of the L2 token to withdraw.",_minGasLimit:"Minimum gas limit to use for the transaction.",_to:"Recipient account on L1."}}},events:{"DepositFinalized(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 deposited.",extraData:"Extra data attached to the deposit.",from:"Address of the depositor.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L2."}},"WithdrawalInitiated(address,address,address,address,uint256,bytes)":{params:{amount:"Amount of the ERC20 withdrawn.",extraData:"Extra data attached to the withdrawal.",from:"Address of the withdrawer.",l1Token:"Address of the token on L1.",l2Token:"Address of the corresponding token on L2.",to:"Address of the recipient on L1."}}},title:"L2StandardBridge"},ast:{absolutePath:"src/L2/L2StandardBridge.sol",id:91147,exportedSymbols:{Constants:[103096],CrossDomainMessenger:[108888],ISemver:[109417],L2StandardBridge:[91146],OptimismMintableERC20:[109645],Predeploys:[104124],StandardBridge:[111675]},nodeType:"SourceUnit",src:"32:10417:149",nodes:[{id:90725,nodeType:"PragmaDirective",src:"32:23:149",nodes:[],literals:["solidity","0.8",".15"]},{id:90727,nodeType:"ImportDirective",src:"57:58:149",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:104125,symbolAliases:[{foreign:{id:90726,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"66:10:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90729,nodeType:"ImportDirective",src:"116:66:149",nodes:[],absolutePath:"src/universal/StandardBridge.sol",file:"src/universal/StandardBridge.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:111676,symbolAliases:[{foreign:{id:90728,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"125:14:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90731,nodeType:"ImportDirective",src:"183:52:149",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:109418,symbolAliases:[{foreign:{id:90730,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"192:7:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90733,nodeType:"ImportDirective",src:"236:80:149",nodes:[],absolutePath:"src/universal/OptimismMintableERC20.sol",file:"src/universal/OptimismMintableERC20.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:109646,symbolAliases:[{foreign:{id:90732,name:"OptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109645,src:"245:21:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90735,nodeType:"ImportDirective",src:"317:78:149",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:108889,symbolAliases:[{foreign:{id:90734,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"326:20:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90737,nodeType:"ImportDirective",src:"396:56:149",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:91147,sourceUnit:103097,symbolAliases:[{foreign:{id:90736,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"405:9:149",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91146,nodeType:"ContractDefinition",src:"1141:9307:149",nodes:[{id:90757,nodeType:"EventDefinition",src:"1646:197:149",nodes:[],anonymous:!1,documentation:{id:90743,nodeType:"StructuredDocumentation",src:"1200:441:149",text:`@custom:legacy + @notice Emitted whenever a withdrawal from L2 to L1 is initiated. + @param l1Token Address of the token on L1. + @param l2Token Address of the corresponding token on L2. + @param from Address of the withdrawer. + @param to Address of the recipient on L1. + @param amount Amount of the ERC20 withdrawn. + @param extraData Extra data attached to the withdrawal.`},eventSelector:"73d170910aba9e6d50b102db522b1dbcd796216f5128b445aa2135272886497e",name:"WithdrawalInitiated",nameLocation:"1652:19:149",parameters:{id:90756,nodeType:"ParameterList",parameters:[{constant:!1,id:90745,indexed:!0,mutability:"mutable",name:"l1Token",nameLocation:"1697:7:149",nodeType:"VariableDeclaration",scope:90757,src:"1681:23:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90744,name:"address",nodeType:"ElementaryTypeName",src:"1681:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90747,indexed:!0,mutability:"mutable",name:"l2Token",nameLocation:"1730:7:149",nodeType:"VariableDeclaration",scope:90757,src:"1714:23:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90746,name:"address",nodeType:"ElementaryTypeName",src:"1714:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90749,indexed:!0,mutability:"mutable",name:"from",nameLocation:"1763:4:149",nodeType:"VariableDeclaration",scope:90757,src:"1747:20:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90748,name:"address",nodeType:"ElementaryTypeName",src:"1747:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90751,indexed:!1,mutability:"mutable",name:"to",nameLocation:"1785:2:149",nodeType:"VariableDeclaration",scope:90757,src:"1777:10:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90750,name:"address",nodeType:"ElementaryTypeName",src:"1777:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90753,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"1805:6:149",nodeType:"VariableDeclaration",scope:90757,src:"1797:14:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90752,name:"uint256",nodeType:"ElementaryTypeName",src:"1797:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90755,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"1827:9:149",nodeType:"VariableDeclaration",scope:90757,src:"1821:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90754,name:"bytes",nodeType:"ElementaryTypeName",src:"1821:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"1671:171:149"}},{id:90772,nodeType:"EventDefinition",src:"2281:194:149",nodes:[],anonymous:!1,documentation:{id:90758,nodeType:"StructuredDocumentation",src:"1849:427:149",text:`@custom:legacy + @notice Emitted whenever an ERC20 deposit is finalized. + @param l1Token Address of the token on L1. + @param l2Token Address of the corresponding token on L2. + @param from Address of the depositor. + @param to Address of the recipient on L2. + @param amount Amount of the ERC20 deposited. + @param extraData Extra data attached to the deposit.`},eventSelector:"b0444523268717a02698be47d0803aa7468c00acbed2f8bd93a0459cde61dd89",name:"DepositFinalized",nameLocation:"2287:16:149",parameters:{id:90771,nodeType:"ParameterList",parameters:[{constant:!1,id:90760,indexed:!0,mutability:"mutable",name:"l1Token",nameLocation:"2329:7:149",nodeType:"VariableDeclaration",scope:90772,src:"2313:23:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90759,name:"address",nodeType:"ElementaryTypeName",src:"2313:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90762,indexed:!0,mutability:"mutable",name:"l2Token",nameLocation:"2362:7:149",nodeType:"VariableDeclaration",scope:90772,src:"2346:23:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90761,name:"address",nodeType:"ElementaryTypeName",src:"2346:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90764,indexed:!0,mutability:"mutable",name:"from",nameLocation:"2395:4:149",nodeType:"VariableDeclaration",scope:90772,src:"2379:20:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90763,name:"address",nodeType:"ElementaryTypeName",src:"2379:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90766,indexed:!1,mutability:"mutable",name:"to",nameLocation:"2417:2:149",nodeType:"VariableDeclaration",scope:90772,src:"2409:10:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90765,name:"address",nodeType:"ElementaryTypeName",src:"2409:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90768,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"2437:6:149",nodeType:"VariableDeclaration",scope:90772,src:"2429:14:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90767,name:"uint256",nodeType:"ElementaryTypeName",src:"2429:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90770,indexed:!1,mutability:"mutable",name:"extraData",nameLocation:"2459:9:149",nodeType:"VariableDeclaration",scope:90772,src:"2453:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90769,name:"bytes",nodeType:"ElementaryTypeName",src:"2453:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2303:171:149"}},{id:90776,nodeType:"VariableDeclaration",src:"2510:40:149",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:90773,nodeType:"StructuredDocumentation",src:"2481:24:149",text:"@custom:semver 1.8.0"},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2533:7:149",scope:91146,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:90774,name:"string",nodeType:"ElementaryTypeName",src:"2510:6:149",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e382e30",id:90775,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2543:7:149",typeDescriptions:{typeIdentifier:"t_stringliteral_cd02a4b5da981b4c403351c949b2ca4bdb2fb4b72b50891f7eb106d3eb7049e9",typeString:'literal_string "1.8.0"'},value:"1.8.0"},visibility:"public"},{id:90795,nodeType:"FunctionDefinition",src:"2615:113:149",nodes:[],body:{id:90794,nodeType:"Block",src:"2646:82:149",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{arguments:[{hexValue:"30",id:90788,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2714:1:149",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:90787,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2706:7:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90786,name:"address",nodeType:"ElementaryTypeName",src:"2706:7:149",typeDescriptions:{}}},id:90789,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2706:10:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90785,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2698:8:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:90784,name:"address",nodeType:"ElementaryTypeName",src:"2698:8:149",stateMutability:"payable",typeDescriptions:{}}},id:90790,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2698:19:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:90783,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"2683:14:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_StandardBridge_$111675_$",typeString:"type(contract StandardBridge)"}},id:90791,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2683:35:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:90782,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90813,src:"2656:10:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_StandardBridge_$111675_$returns$__$",typeString:"function (contract StandardBridge)"}},id:90792,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_otherBridge"],nodeType:"FunctionCall",src:"2656:65:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90793,nodeType:"ExpressionStatement",src:"2656:65:149"}]},documentation:{id:90777,nodeType:"StructuredDocumentation",src:"2557:53:149",text:"@notice Constructs the L2StandardBridge contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:90780,kind:"baseConstructorSpecifier",modifierName:{id:90779,name:"StandardBridge",nodeType:"IdentifierPath",referencedDeclaration:111675,src:"2629:14:149"},nodeType:"ModifierInvocation",src:"2629:16:149"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:90778,nodeType:"ParameterList",parameters:[],src:"2626:2:149"},returnParameters:{id:90781,nodeType:"ParameterList",parameters:[],src:"2646:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90813,nodeType:"FunctionDefinition",src:"2849:242:149",nodes:[],body:{id:90812,nodeType:"Block",src:"2917:174:149",nodes:[],statements:[{expression:{arguments:[{arguments:[{expression:{id:90806,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"2996:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90807,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_CROSS_DOMAIN_MESSENGER",nodeType:"MemberAccess",referencedDeclaration:104004,src:"2996:36:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90805,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"2975:20:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:90808,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2975:58:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{id:90809,name:"_otherBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90799,src:"3061:12:149",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:90804,name:"__StandardBridge_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111080,src:"2927:21:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_StandardBridge_$111675_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract StandardBridge)"}},id:90810,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_otherBridge"],nodeType:"FunctionCall",src:"2927:157:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90811,nodeType:"ExpressionStatement",src:"2927:157:149"}]},documentation:{id:90796,nodeType:"StructuredDocumentation",src:"2734:110:149",text:`@notice Initializer. + @param _otherBridge Contract for the corresponding bridge on the other chain.`},functionSelector:"c4d66de8",implemented:!0,kind:"function",modifiers:[{id:90802,kind:"modifierInvocation",modifierName:{id:90801,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"2905:11:149"},nodeType:"ModifierInvocation",src:"2905:11:149"}],name:"initialize",nameLocation:"2858:10:149",parameters:{id:90800,nodeType:"ParameterList",parameters:[{constant:!1,id:90799,mutability:"mutable",name:"_otherBridge",nameLocation:"2884:12:149",nodeType:"VariableDeclaration",scope:90813,src:"2869:27:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"},typeName:{id:90798,nodeType:"UserDefinedTypeName",pathNode:{id:90797,name:"StandardBridge",nodeType:"IdentifierPath",referencedDeclaration:111675,src:"2869:14:149"},referencedDeclaration:111675,src:"2869:14:149",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}},visibility:"internal"}],src:"2868:29:149"},returnParameters:{id:90803,nodeType:"ParameterList",parameters:[],src:"2917:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90837,nodeType:"FunctionDefinition",src:"3174:204:149",nodes:[],body:{id:90836,nodeType:"Block",src:"3218:160:149",nodes:[],statements:[{expression:{arguments:[{expression:{id:90821,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"3261:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90822,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"LEGACY_ERC20_ETH",nodeType:"MemberAccess",referencedDeclaration:104047,src:"3261:27:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90823,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3290:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90824,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"3290:10:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90825,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3302:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90826,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"3302:10:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90827,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3314:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90828,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"3314:9:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90829,name:"RECEIVE_DEFAULT_GAS_LIMIT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110941,src:"3325:25:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{arguments:[{hexValue:"",id:90832,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3358:2:149",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],id:90831,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3352:5:149",typeDescriptions:{typeIdentifier:"t_type$_t_bytes_storage_ptr_$",typeString:"type(bytes storage pointer)"},typeName:{id:90830,name:"bytes",nodeType:"ElementaryTypeName",src:"3352:5:149",typeDescriptions:{}}},id:90833,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3352:9:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90820,name:"_initiateWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90997,src:"3228:19:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,uint256,uint32,bytes memory)"}},id:90834,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3228:143:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90835,nodeType:"ExpressionStatement",src:"3228:143:149"}]},baseFunctions:[111084],documentation:{id:90814,nodeType:"StructuredDocumentation",src:"3097:72:149",text:"@notice Allows EOAs to bridge ETH by sending directly to the bridge."},implemented:!0,kind:"receive",modifiers:[{id:90818,kind:"modifierInvocation",modifierName:{id:90817,name:"onlyEOA",nodeType:"IdentifierPath",referencedDeclaration:111034,src:"3210:7:149"},nodeType:"ModifierInvocation",src:"3210:7:149"}],name:"",nameLocation:"-1:-1:-1",overrides:{id:90816,nodeType:"OverrideSpecifier",overrides:[],src:"3201:8:149"},parameters:{id:90815,nodeType:"ParameterList",parameters:[],src:"3181:2:149"},returnParameters:{id:90819,nodeType:"ParameterList",parameters:[],src:"3218:0:149"},scope:91146,stateMutability:"payable",virtual:!1,visibility:"external"},{id:90863,nodeType:"FunctionDefinition",src:"3897:313:149",nodes:[],body:{id:90862,nodeType:"Block",src:"4105:105:149",nodes:[],statements:[{expression:{arguments:[{id:90852,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90840,src:"4135:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90853,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"4145:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90854,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"4145:10:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90855,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"4157:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90856,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"4157:10:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90857,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90842,src:"4169:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90858,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90844,src:"4178:12:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:90859,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90846,src:"4192:10:149",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90851,name:"_initiateWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90997,src:"4115:19:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,uint256,uint32,bytes memory)"}},id:90860,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4115:88:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90861,nodeType:"ExpressionStatement",src:"4115:88:149"}]},documentation:{id:90838,nodeType:"StructuredDocumentation",src:"3384:508:149",text:`@custom:legacy + @notice Initiates a withdrawal from L2 to L1. + This function only works with OptimismMintableERC20 tokens or ether. Use the + \`bridgeERC20\` function to bridge native L2 tokens to L1. + @param _l2Token Address of the L2 token to withdraw. + @param _amount Amount of the L2 token to withdraw. + @param _minGasLimit Minimum gas limit to use for the transaction. + @param _extraData Extra data attached to the withdrawal.`},functionSelector:"32b7006d",implemented:!0,kind:"function",modifiers:[{id:90849,kind:"modifierInvocation",modifierName:{id:90848,name:"onlyEOA",nodeType:"IdentifierPath",referencedDeclaration:111034,src:"4093:7:149"},nodeType:"ModifierInvocation",src:"4093:7:149"}],name:"withdraw",nameLocation:"3906:8:149",parameters:{id:90847,nodeType:"ParameterList",parameters:[{constant:!1,id:90840,mutability:"mutable",name:"_l2Token",nameLocation:"3932:8:149",nodeType:"VariableDeclaration",scope:90863,src:"3924:16:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90839,name:"address",nodeType:"ElementaryTypeName",src:"3924:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90842,mutability:"mutable",name:"_amount",nameLocation:"3958:7:149",nodeType:"VariableDeclaration",scope:90863,src:"3950:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90841,name:"uint256",nodeType:"ElementaryTypeName",src:"3950:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90844,mutability:"mutable",name:"_minGasLimit",nameLocation:"3982:12:149",nodeType:"VariableDeclaration",scope:90863,src:"3975:19:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90843,name:"uint32",nodeType:"ElementaryTypeName",src:"3975:6:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:90846,mutability:"mutable",name:"_extraData",nameLocation:"4019:10:149",nodeType:"VariableDeclaration",scope:90863,src:"4004:25:149",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:90845,name:"bytes",nodeType:"ElementaryTypeName",src:"4004:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3914:121:149"},returnParameters:{id:90850,nodeType:"ParameterList",parameters:[],src:"4105:0:149"},scope:91146,stateMutability:"payable",virtual:!0,visibility:"external"},{id:90888,nodeType:"FunctionDefinition",src:"5197:313:149",nodes:[],body:{id:90887,nodeType:"Block",src:"5412:98:149",nodes:[],statements:[{expression:{arguments:[{id:90878,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90866,src:"5442:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:90879,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"5452:3:149",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90880,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"5452:10:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90881,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90868,src:"5464:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90882,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90870,src:"5469:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90883,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90872,src:"5478:12:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:90884,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90874,src:"5492:10:149",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90877,name:"_initiateWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90997,src:"5422:19:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,uint256,uint32,bytes memory)"}},id:90885,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5422:81:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90886,nodeType:"ExpressionStatement",src:"5422:81:149"}]},documentation:{id:90864,nodeType:"StructuredDocumentation",src:"4216:976:149",text:`@custom:legacy + @notice Initiates a withdrawal from L2 to L1 to a target account on L1. + Note that if ETH is sent to a contract on L1 and the call fails, then that ETH will + be locked in the L1StandardBridge. ETH may be recoverable if the call can be + successfully replayed by increasing the amount of gas supplied to the call. If the + call will fail for any amount of gas, then the ETH will be locked permanently. + This function only works with OptimismMintableERC20 tokens or ether. Use the + \`bridgeERC20To\` function to bridge native L2 tokens to L1. + @param _l2Token Address of the L2 token to withdraw. + @param _to Recipient account on L1. + @param _amount Amount of the L2 token to withdraw. + @param _minGasLimit Minimum gas limit to use for the transaction. + @param _extraData Extra data attached to the withdrawal.`},functionSelector:"a3a79548",implemented:!0,kind:"function",modifiers:[],name:"withdrawTo",nameLocation:"5206:10:149",parameters:{id:90875,nodeType:"ParameterList",parameters:[{constant:!1,id:90866,mutability:"mutable",name:"_l2Token",nameLocation:"5234:8:149",nodeType:"VariableDeclaration",scope:90888,src:"5226:16:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90865,name:"address",nodeType:"ElementaryTypeName",src:"5226:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90868,mutability:"mutable",name:"_to",nameLocation:"5260:3:149",nodeType:"VariableDeclaration",scope:90888,src:"5252:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90867,name:"address",nodeType:"ElementaryTypeName",src:"5252:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90870,mutability:"mutable",name:"_amount",nameLocation:"5281:7:149",nodeType:"VariableDeclaration",scope:90888,src:"5273:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90869,name:"uint256",nodeType:"ElementaryTypeName",src:"5273:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90872,mutability:"mutable",name:"_minGasLimit",nameLocation:"5305:12:149",nodeType:"VariableDeclaration",scope:90888,src:"5298:19:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90871,name:"uint32",nodeType:"ElementaryTypeName",src:"5298:6:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:90874,mutability:"mutable",name:"_extraData",nameLocation:"5342:10:149",nodeType:"VariableDeclaration",scope:90888,src:"5327:25:149",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:90873,name:"bytes",nodeType:"ElementaryTypeName",src:"5327:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"5216:142:149"},returnParameters:{id:90876,nodeType:"ParameterList",parameters:[],src:"5412:0:149"},scope:91146,stateMutability:"payable",virtual:!0,visibility:"external"},{id:90935,nodeType:"FunctionDefinition",src:"6087:505:149",nodes:[],body:{id:90934,nodeType:"Block",src:"6327:265:149",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:90914,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90909,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90904,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90891,src:"6341:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:90907,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6361:1:149",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:90906,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"6353:7:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90905,name:"address",nodeType:"ElementaryTypeName",src:"6353:7:149",typeDescriptions:{}}},id:90908,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6353:10:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"6341:22:149",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90913,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90910,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90893,src:"6367:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:90911,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"6379:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90912,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"LEGACY_ERC20_ETH",nodeType:"MemberAccess",referencedDeclaration:104047,src:"6379:27:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"6367:39:149",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"6341:65:149",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:90932,nodeType:"Block",src:"6489:97:149",statements:[{expression:{arguments:[{id:90924,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90893,src:"6523:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90925,name:"_l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90891,src:"6533:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90926,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90895,src:"6543:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90927,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90897,src:"6550:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90928,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90899,src:"6555:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90929,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90901,src:"6564:10:149",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90923,name:"finalizeBridgeERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111367,src:"6503:19:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes calldata)"}},id:90930,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6503:72:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90931,nodeType:"ExpressionStatement",src:"6503:72:149"}]},id:90933,nodeType:"IfStatement",src:"6337:249:149",trueBody:{id:90922,nodeType:"Block",src:"6408:75:149",statements:[{expression:{arguments:[{id:90916,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90895,src:"6440:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90917,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90897,src:"6447:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90918,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90899,src:"6452:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90919,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90901,src:"6461:10:149",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90915,name:"finalizeBridgeETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111287,src:"6422:17:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes calldata)"}},id:90920,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6422:50:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90921,nodeType:"ExpressionStatement",src:"6422:50:149"}]}}]},documentation:{id:90889,nodeType:"StructuredDocumentation",src:"5516:566:149",text:`@custom:legacy + @notice Finalizes a deposit from L1 to L2. To finalize a deposit of ether, use address(0) + and the l1Token and the Legacy ERC20 ether predeploy address as the l2Token. + @param _l1Token Address of the L1 token to deposit. + @param _l2Token Address of the corresponding L2 token. + @param _from Address of the depositor. + @param _to Address of the recipient. + @param _amount Amount of the tokens being deposited. + @param _extraData Extra data attached to the deposit.`},functionSelector:"662a633a",implemented:!0,kind:"function",modifiers:[],name:"finalizeDeposit",nameLocation:"6096:15:149",parameters:{id:90902,nodeType:"ParameterList",parameters:[{constant:!1,id:90891,mutability:"mutable",name:"_l1Token",nameLocation:"6129:8:149",nodeType:"VariableDeclaration",scope:90935,src:"6121:16:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90890,name:"address",nodeType:"ElementaryTypeName",src:"6121:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90893,mutability:"mutable",name:"_l2Token",nameLocation:"6155:8:149",nodeType:"VariableDeclaration",scope:90935,src:"6147:16:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90892,name:"address",nodeType:"ElementaryTypeName",src:"6147:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90895,mutability:"mutable",name:"_from",nameLocation:"6181:5:149",nodeType:"VariableDeclaration",scope:90935,src:"6173:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90894,name:"address",nodeType:"ElementaryTypeName",src:"6173:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90897,mutability:"mutable",name:"_to",nameLocation:"6204:3:149",nodeType:"VariableDeclaration",scope:90935,src:"6196:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90896,name:"address",nodeType:"ElementaryTypeName",src:"6196:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90899,mutability:"mutable",name:"_amount",nameLocation:"6225:7:149",nodeType:"VariableDeclaration",scope:90935,src:"6217:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90898,name:"uint256",nodeType:"ElementaryTypeName",src:"6217:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90901,mutability:"mutable",name:"_extraData",nameLocation:"6257:10:149",nodeType:"VariableDeclaration",scope:90935,src:"6242:25:149",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:90900,name:"bytes",nodeType:"ElementaryTypeName",src:"6242:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"6111:162:149"},returnParameters:{id:90903,nodeType:"ParameterList",parameters:[],src:"6327:0:149"},scope:91146,stateMutability:"payable",virtual:!0,visibility:"external"},{id:90947,nodeType:"FunctionDefinition",src:"6764:101:149",nodes:[],body:{id:90946,nodeType:"Block",src:"6821:44:149",nodes:[],statements:[{expression:{arguments:[{id:90943,name:"otherBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110962,src:"6846:11:149",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:90942,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"6838:7:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90941,name:"address",nodeType:"ElementaryTypeName",src:"6838:7:149",typeDescriptions:{}}},id:90944,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6838:20:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:90940,id:90945,nodeType:"Return",src:"6831:27:149"}]},documentation:{id:90936,nodeType:"StructuredDocumentation",src:"6598:161:149",text:`@custom:legacy + @notice Retrieves the access of the corresponding L1 bridge contract. + @return Address of the corresponding L1 bridge contract.`},functionSelector:"36c717c1",implemented:!0,kind:"function",modifiers:[],name:"l1TokenBridge",nameLocation:"6773:13:149",parameters:{id:90937,nodeType:"ParameterList",parameters:[],src:"6786:2:149"},returnParameters:{id:90940,nodeType:"ParameterList",parameters:[{constant:!1,id:90939,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90947,src:"6812:7:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90938,name:"address",nodeType:"ElementaryTypeName",src:"6812:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"6811:9:149"},scope:91146,stateMutability:"view",virtual:!1,visibility:"external"},{id:90997,nodeType:"FunctionDefinition",src:"7372:554:149",nodes:[],body:{id:90996,nodeType:"Block",src:"7585:341:149",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90966,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90963,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90950,src:"7599:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:90964,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"7611:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90965,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"LEGACY_ERC20_ETH",nodeType:"MemberAccess",referencedDeclaration:104047,src:"7611:27:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"7599:39:149",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:90994,nodeType:"Block",src:"7736:184:149",statements:[{assignments:[90977],declarations:[{constant:!1,id:90977,mutability:"mutable",name:"l1Token",nameLocation:"7758:7:149",nodeType:"VariableDeclaration",scope:90994,src:"7750:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90976,name:"address",nodeType:"ElementaryTypeName",src:"7750:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:90983,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:90979,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90950,src:"7790:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90978,name:"OptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109645,src:"7768:21:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_OptimismMintableERC20_$109645_$",typeString:"type(contract OptimismMintableERC20)"}},id:90980,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7768:31:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_OptimismMintableERC20_$109645",typeString:"contract OptimismMintableERC20"}},id:90981,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1Token",nodeType:"MemberAccess",referencedDeclaration:109607,src:"7768:39:149",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:90982,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7768:41:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"7750:59:149"},{expression:{arguments:[{id:90985,name:"_l2Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90950,src:"7844:8:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90986,name:"l1Token",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90977,src:"7854:7:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90987,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90952,src:"7863:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90988,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90954,src:"7870:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90989,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90956,src:"7875:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90990,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90958,src:"7884:12:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:90991,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90960,src:"7898:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90984,name:"_initiateBridgeERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111517,src:"7823:20:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,uint32,bytes memory)"}},id:90992,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7823:86:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90993,nodeType:"ExpressionStatement",src:"7823:86:149"}]},id:90995,nodeType:"IfStatement",src:"7595:325:149",trueBody:{id:90975,nodeType:"Block",src:"7640:90:149",statements:[{expression:{arguments:[{id:90968,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90952,src:"7673:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90969,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90954,src:"7680:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90970,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90956,src:"7685:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90971,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90958,src:"7694:12:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{id:90972,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90960,src:"7708:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90967,name:"_initiateBridgeETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111419,src:"7654:18:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint32_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,uint32,bytes memory)"}},id:90973,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7654:65:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90974,nodeType:"ExpressionStatement",src:"7654:65:149"}]}}]},documentation:{id:90948,nodeType:"StructuredDocumentation",src:"6871:496:149",text:`@custom:legacy + @notice Internal function to initiate a withdrawal from L2 to L1 to a target account on L1. + @param _l2Token Address of the L2 token to withdraw. + @param _from Address of the withdrawer. + @param _to Recipient account on L1. + @param _amount Amount of the L2 token to withdraw. + @param _minGasLimit Minimum gas limit to use for the transaction. + @param _extraData Extra data attached to the withdrawal.`},implemented:!0,kind:"function",modifiers:[],name:"_initiateWithdrawal",nameLocation:"7381:19:149",parameters:{id:90961,nodeType:"ParameterList",parameters:[{constant:!1,id:90950,mutability:"mutable",name:"_l2Token",nameLocation:"7418:8:149",nodeType:"VariableDeclaration",scope:90997,src:"7410:16:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90949,name:"address",nodeType:"ElementaryTypeName",src:"7410:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90952,mutability:"mutable",name:"_from",nameLocation:"7444:5:149",nodeType:"VariableDeclaration",scope:90997,src:"7436:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90951,name:"address",nodeType:"ElementaryTypeName",src:"7436:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90954,mutability:"mutable",name:"_to",nameLocation:"7467:3:149",nodeType:"VariableDeclaration",scope:90997,src:"7459:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90953,name:"address",nodeType:"ElementaryTypeName",src:"7459:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90956,mutability:"mutable",name:"_amount",nameLocation:"7488:7:149",nodeType:"VariableDeclaration",scope:90997,src:"7480:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90955,name:"uint256",nodeType:"ElementaryTypeName",src:"7480:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90958,mutability:"mutable",name:"_minGasLimit",nameLocation:"7512:12:149",nodeType:"VariableDeclaration",scope:90997,src:"7505:19:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90957,name:"uint32",nodeType:"ElementaryTypeName",src:"7505:6:149",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:90960,mutability:"mutable",name:"_extraData",nameLocation:"7547:10:149",nodeType:"VariableDeclaration",scope:90997,src:"7534:23:149",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90959,name:"bytes",nodeType:"ElementaryTypeName",src:"7534:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"7400:163:149"},returnParameters:{id:90962,nodeType:"ParameterList",parameters:[],src:"7585:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:91033,nodeType:"FunctionDefinition",src:"8154:366:149",nodes:[],body:{id:91032,nodeType:"Block",src:"8333:187:149",nodes:[],statements:[{eventCall:{arguments:[{arguments:[{hexValue:"30",id:91013,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"8376:1:149",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:91012,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8368:7:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:91011,name:"address",nodeType:"ElementaryTypeName",src:"8368:7:149",typeDescriptions:{}}},id:91014,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8368:10:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:91015,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"8380:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:91016,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"LEGACY_ERC20_ETH",nodeType:"MemberAccess",referencedDeclaration:104047,src:"8380:27:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91017,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91e3,src:"8409:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91018,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91002,src:"8416:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91019,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91004,src:"8421:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91020,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91006,src:"8430:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:91010,name:"WithdrawalInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90757,src:"8348:19:149",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91021,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8348:93:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91022,nodeType:"EmitStatement",src:"8343:98:149"},{expression:{arguments:[{id:91026,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91e3,src:"8481:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91027,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91002,src:"8488:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91028,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91004,src:"8493:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91029,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91006,src:"8502:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:91023,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"8451:5:149",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L2StandardBridge_$91146_$",typeString:"type(contract super L2StandardBridge)"}},id:91025,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitETHBridgeInitiated",nodeType:"MemberAccess",referencedDeclaration:111602,src:"8451:29:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:91030,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8451:62:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91031,nodeType:"ExpressionStatement",src:"8451:62:149"}]},baseFunctions:[111602],documentation:{id:90998,nodeType:"StructuredDocumentation",src:"7932:217:149",text:`@notice Emits the legacy WithdrawalInitiated event followed by the ETHBridgeInitiated event. + This is necessary for backwards compatibility with the legacy bridge. + @inheritdoc StandardBridge`},implemented:!0,kind:"function",modifiers:[],name:"_emitETHBridgeInitiated",nameLocation:"8163:23:149",overrides:{id:91008,nodeType:"OverrideSpecifier",overrides:[],src:"8320:8:149"},parameters:{id:91007,nodeType:"ParameterList",parameters:[{constant:!1,id:91e3,mutability:"mutable",name:"_from",nameLocation:"8204:5:149",nodeType:"VariableDeclaration",scope:91033,src:"8196:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90999,name:"address",nodeType:"ElementaryTypeName",src:"8196:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91002,mutability:"mutable",name:"_to",nameLocation:"8227:3:149",nodeType:"VariableDeclaration",scope:91033,src:"8219:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91001,name:"address",nodeType:"ElementaryTypeName",src:"8219:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91004,mutability:"mutable",name:"_amount",nameLocation:"8248:7:149",nodeType:"VariableDeclaration",scope:91033,src:"8240:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91003,name:"uint256",nodeType:"ElementaryTypeName",src:"8240:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91006,mutability:"mutable",name:"_extraData",nameLocation:"8278:10:149",nodeType:"VariableDeclaration",scope:91033,src:"8265:23:149",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91005,name:"bytes",nodeType:"ElementaryTypeName",src:"8265:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"8186:108:149"},returnParameters:{id:91009,nodeType:"ParameterList",parameters:[],src:"8333:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:91069,nodeType:"FunctionDefinition",src:"8745:363:149",nodes:[],body:{id:91068,nodeType:"Block",src:"8924:184:149",nodes:[],statements:[{eventCall:{arguments:[{arguments:[{hexValue:"30",id:91049,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"8964:1:149",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:91048,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8956:7:149",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:91047,name:"address",nodeType:"ElementaryTypeName",src:"8956:7:149",typeDescriptions:{}}},id:91050,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8956:10:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:91051,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"8968:10:149",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:91052,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"LEGACY_ERC20_ETH",nodeType:"MemberAccess",referencedDeclaration:104047,src:"8968:27:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91053,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91036,src:"8997:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91054,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91038,src:"9004:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91055,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91040,src:"9009:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91056,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91042,src:"9018:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:91046,name:"DepositFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90772,src:"8939:16:149",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91057,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8939:90:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91058,nodeType:"EmitStatement",src:"8934:95:149"},{expression:{arguments:[{id:91062,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91036,src:"9069:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91063,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91038,src:"9076:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91064,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91040,src:"9081:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91065,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91042,src:"9090:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:91059,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"9039:5:149",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L2StandardBridge_$91146_$",typeString:"type(contract super L2StandardBridge)"}},id:91061,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitETHBridgeFinalized",nodeType:"MemberAccess",referencedDeclaration:111622,src:"9039:29:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:91066,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9039:62:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91067,nodeType:"ExpressionStatement",src:"9039:62:149"}]},baseFunctions:[111622],documentation:{id:91034,nodeType:"StructuredDocumentation",src:"8526:214:149",text:`@notice Emits the legacy DepositFinalized event followed by the ETHBridgeFinalized event. + This is necessary for backwards compatibility with the legacy bridge. + @inheritdoc StandardBridge`},implemented:!0,kind:"function",modifiers:[],name:"_emitETHBridgeFinalized",nameLocation:"8754:23:149",overrides:{id:91044,nodeType:"OverrideSpecifier",overrides:[],src:"8911:8:149"},parameters:{id:91043,nodeType:"ParameterList",parameters:[{constant:!1,id:91036,mutability:"mutable",name:"_from",nameLocation:"8795:5:149",nodeType:"VariableDeclaration",scope:91069,src:"8787:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91035,name:"address",nodeType:"ElementaryTypeName",src:"8787:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91038,mutability:"mutable",name:"_to",nameLocation:"8818:3:149",nodeType:"VariableDeclaration",scope:91069,src:"8810:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91037,name:"address",nodeType:"ElementaryTypeName",src:"8810:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91040,mutability:"mutable",name:"_amount",nameLocation:"8839:7:149",nodeType:"VariableDeclaration",scope:91069,src:"8831:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91039,name:"uint256",nodeType:"ElementaryTypeName",src:"8831:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91042,mutability:"mutable",name:"_extraData",nameLocation:"8869:10:149",nodeType:"VariableDeclaration",scope:91069,src:"8856:23:149",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91041,name:"bytes",nodeType:"ElementaryTypeName",src:"8856:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"8777:108:149"},returnParameters:{id:91045,nodeType:"ParameterList",parameters:[],src:"8924:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:91107,nodeType:"FunctionDefinition",src:"9338:442:149",nodes:[],body:{id:91106,nodeType:"Block",src:"9578:202:149",nodes:[],statements:[{eventCall:{arguments:[{id:91087,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91074,src:"9613:12:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91088,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91072,src:"9627:11:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91089,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91076,src:"9640:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91090,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91078,src:"9647:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91091,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91080,src:"9652:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91092,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91082,src:"9661:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:91086,name:"WithdrawalInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90757,src:"9593:19:149",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91093,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9593:79:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91094,nodeType:"EmitStatement",src:"9588:84:149"},{expression:{arguments:[{id:91098,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91072,src:"9714:11:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91099,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91074,src:"9727:12:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91100,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91076,src:"9741:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91101,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91078,src:"9748:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91102,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91080,src:"9753:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91103,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91082,src:"9762:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:91095,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"9682:5:149",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L2StandardBridge_$91146_$",typeString:"type(contract super L2StandardBridge)"}},id:91097,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitERC20BridgeInitiated",nodeType:"MemberAccess",referencedDeclaration:111648,src:"9682:31:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91104,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9682:91:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91105,nodeType:"ExpressionStatement",src:"9682:91:149"}]},baseFunctions:[111648],documentation:{id:91070,nodeType:"StructuredDocumentation",src:"9114:219:149",text:`@notice Emits the legacy WithdrawalInitiated event followed by the ERC20BridgeInitiated + event. This is necessary for backwards compatibility with the legacy bridge. + @inheritdoc StandardBridge`},implemented:!0,kind:"function",modifiers:[],name:"_emitERC20BridgeInitiated",nameLocation:"9347:25:149",overrides:{id:91084,nodeType:"OverrideSpecifier",overrides:[],src:"9565:8:149"},parameters:{id:91083,nodeType:"ParameterList",parameters:[{constant:!1,id:91072,mutability:"mutable",name:"_localToken",nameLocation:"9390:11:149",nodeType:"VariableDeclaration",scope:91107,src:"9382:19:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91071,name:"address",nodeType:"ElementaryTypeName",src:"9382:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91074,mutability:"mutable",name:"_remoteToken",nameLocation:"9419:12:149",nodeType:"VariableDeclaration",scope:91107,src:"9411:20:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91073,name:"address",nodeType:"ElementaryTypeName",src:"9411:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91076,mutability:"mutable",name:"_from",nameLocation:"9449:5:149",nodeType:"VariableDeclaration",scope:91107,src:"9441:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91075,name:"address",nodeType:"ElementaryTypeName",src:"9441:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91078,mutability:"mutable",name:"_to",nameLocation:"9472:3:149",nodeType:"VariableDeclaration",scope:91107,src:"9464:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91077,name:"address",nodeType:"ElementaryTypeName",src:"9464:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91080,mutability:"mutable",name:"_amount",nameLocation:"9493:7:149",nodeType:"VariableDeclaration",scope:91107,src:"9485:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91079,name:"uint256",nodeType:"ElementaryTypeName",src:"9485:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91082,mutability:"mutable",name:"_extraData",nameLocation:"9523:10:149",nodeType:"VariableDeclaration",scope:91107,src:"9510:23:149",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91081,name:"bytes",nodeType:"ElementaryTypeName",src:"9510:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"9372:167:149"},returnParameters:{id:91085,nodeType:"ParameterList",parameters:[],src:"9578:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:91145,nodeType:"FunctionDefinition",src:"10007:439:149",nodes:[],body:{id:91144,nodeType:"Block",src:"10247:199:149",nodes:[],statements:[{eventCall:{arguments:[{id:91125,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91112,src:"10279:12:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91126,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91110,src:"10293:11:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91127,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91114,src:"10306:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91128,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91116,src:"10313:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91129,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91118,src:"10318:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91130,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91120,src:"10327:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:91124,name:"DepositFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90772,src:"10262:16:149",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91131,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10262:76:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91132,nodeType:"EmitStatement",src:"10257:81:149"},{expression:{arguments:[{id:91136,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91110,src:"10380:11:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91137,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91112,src:"10393:12:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91138,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91114,src:"10407:5:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91139,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91116,src:"10414:3:149",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91140,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91118,src:"10419:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91141,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91120,src:"10428:10:149",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:91133,name:"super",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-25,src:"10348:5:149",typeDescriptions:{typeIdentifier:"t_type$_t_super$_L2StandardBridge_$91146_$",typeString:"type(contract super L2StandardBridge)"}},id:91135,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"_emitERC20BridgeFinalized",nodeType:"MemberAccess",referencedDeclaration:111674,src:"10348:31:149",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:91142,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10348:91:149",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91143,nodeType:"ExpressionStatement",src:"10348:91:149"}]},baseFunctions:[111674],documentation:{id:91108,nodeType:"StructuredDocumentation",src:"9786:216:149",text:`@notice Emits the legacy DepositFinalized event followed by the ERC20BridgeFinalized event. + This is necessary for backwards compatibility with the legacy bridge. + @inheritdoc StandardBridge`},implemented:!0,kind:"function",modifiers:[],name:"_emitERC20BridgeFinalized",nameLocation:"10016:25:149",overrides:{id:91122,nodeType:"OverrideSpecifier",overrides:[],src:"10234:8:149"},parameters:{id:91121,nodeType:"ParameterList",parameters:[{constant:!1,id:91110,mutability:"mutable",name:"_localToken",nameLocation:"10059:11:149",nodeType:"VariableDeclaration",scope:91145,src:"10051:19:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91109,name:"address",nodeType:"ElementaryTypeName",src:"10051:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91112,mutability:"mutable",name:"_remoteToken",nameLocation:"10088:12:149",nodeType:"VariableDeclaration",scope:91145,src:"10080:20:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91111,name:"address",nodeType:"ElementaryTypeName",src:"10080:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91114,mutability:"mutable",name:"_from",nameLocation:"10118:5:149",nodeType:"VariableDeclaration",scope:91145,src:"10110:13:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91113,name:"address",nodeType:"ElementaryTypeName",src:"10110:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91116,mutability:"mutable",name:"_to",nameLocation:"10141:3:149",nodeType:"VariableDeclaration",scope:91145,src:"10133:11:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91115,name:"address",nodeType:"ElementaryTypeName",src:"10133:7:149",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91118,mutability:"mutable",name:"_amount",nameLocation:"10162:7:149",nodeType:"VariableDeclaration",scope:91145,src:"10154:15:149",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91117,name:"uint256",nodeType:"ElementaryTypeName",src:"10154:7:149",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91120,mutability:"mutable",name:"_extraData",nameLocation:"10192:10:149",nodeType:"VariableDeclaration",scope:91145,src:"10179:23:149",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91119,name:"bytes",nodeType:"ElementaryTypeName",src:"10179:5:149",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"10041:167:149"},returnParameters:{id:91123,nodeType:"ParameterList",parameters:[],src:"10247:0:149"},scope:91146,stateMutability:"nonpayable",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:90739,name:"StandardBridge",nodeType:"IdentifierPath",referencedDeclaration:111675,src:"1170:14:149"},id:90740,nodeType:"InheritanceSpecifier",src:"1170:14:149"},{baseName:{id:90741,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1186:7:149"},id:90742,nodeType:"InheritanceSpecifier",src:"1186:7:149"}],canonicalName:"L2StandardBridge",contractDependencies:[],contractKind:"contract",documentation:{id:90738,nodeType:"StructuredDocumentation",src:"454:687:149",text:`@custom:proxied + @custom:predeploy 0x4200000000000000000000000000000000000010 + @title L2StandardBridge + @notice The L2StandardBridge is responsible for transfering ETH and ERC20 tokens between L1 and + L2. In the case that an ERC20 token is native to L2, it will be escrowed within this + contract. If the ERC20 token is native to L1, it will be burnt. + NOTE: this contract is not intended to support all variations of ERC20 tokens. Examples + of some token types that may not be properly supported by this contract include, but are + not limited to: tokens with transfer fees, rebasing tokens, and tokens with blocklists.`},fullyImplemented:!0,linearizedBaseContracts:[91146,109417,111675,49678],name:"L2StandardBridge",nameLocation:"1150:16:149",scope:91147,usedErrors:[]}],license:"MIT"},id:149}});var $fe=B((U1a,Hq0)=>{Hq0.exports={abi:[{type:"constructor",inputs:[{name:"_bridge",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"REMOTE_TOKEN",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"_from",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"l1Token",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"l2Bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"mint",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"remoteToken",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"_interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"pure"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Burn",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Mint",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:229:-:0;;;2268:292;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2440:5;2447:7;2044:5:45;:13;2440:5:229;2044::45;:13;:::i;:::-;-1:-1:-1;2067:7:45;:17;2077:7;2067;:17;:::i;:::-;-1:-1:-1;;;;;;;;2470:27:229;;::::1;;::::0;2507:16;;;::::1;;::::0;-1:-1:-1;;2533:20:229::1;;;::::0;833:4510;;14:177:357;93:13;;-1:-1:-1;;;;;135:31:357;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:885;382:5;435:3;428:4;420:6;416:17;412:27;402:55;;453:1;450;443:12;402:55;476:13;;-1:-1:-1;;;;;538:10:357;;;535:36;;;551:18;;:::i;:::-;626:2;620:9;594:2;680:13;;-1:-1:-1;;676:22:357;;;700:2;672:31;668:40;656:53;;;724:18;;;744:22;;;721:46;718:72;;;770:18;;:::i;:::-;810:10;806:2;799:22;845:2;837:6;830:18;867:4;857:14;;912:3;907:2;902;894:6;890:15;886:24;883:33;880:53;;;929:1;926;919:12;880:53;951:1;942:10;;961:133;975:2;972:1;969:9;961:133;;;1063:14;;;1059:23;;1053:30;1032:14;;;1028:23;;1021:63;986:10;;;;961:133;;;1112:2;1109:1;1106:9;1103:80;;;1171:1;1166:2;1161;1153:6;1149:15;1145:24;1138:35;1103:80;1201:6;328:885;-1:-1:-1;;;;;;328:885:357:o;1218:884::-;1342:6;1350;1358;1366;1374;1427:3;1415:9;1406:7;1402:23;1398:33;1395:53;;;1444:1;1441;1434:12;1395:53;1467:40;1497:9;1467:40;:::i;:::-;1457:50;;1526:49;1571:2;1560:9;1556:18;1526:49;:::i;:::-;1619:2;1604:18;;1598:25;1516:59;;-1:-1:-1;;;;;;1672:14:357;;;1669:34;;;1699:1;1696;1689:12;1669:34;1722:61;1775:7;1766:6;1755:9;1751:22;1722:61;:::i;:::-;1712:71;;1829:2;1818:9;1814:18;1808:25;1792:41;;1858:2;1848:8;1845:16;1842:36;;;1874:1;1871;1864:12;1842:36;;1897:63;1952:7;1941:8;1930:9;1926:24;1897:63;:::i;:::-;1887:73;;;2003:3;1992:9;1988:19;1982:26;2048:4;2041:5;2037:16;2030:5;2027:27;2017:55;;2068:1;2065;2058:12;2017:55;2091:5;2081:15;;;1218:884;;;;;;;;:::o;2107:380::-;2186:1;2182:12;;;;2229;;;2250:61;;2304:4;2296:6;2292:17;2282:27;;2250:61;2357:2;2349:6;2346:14;2326:18;2323:38;2320:161;;2403:10;2398:3;2394:20;2391:1;2384:31;2438:4;2435:1;2428:15;2466:4;2463:1;2456:15;2320:161;;2107:380;;;:::o;2618:545::-;2720:2;2715:3;2712:11;2709:448;;;2756:1;2781:5;2777:2;2770:17;2826:4;2822:2;2812:19;2896:2;2884:10;2880:19;2877:1;2873:27;2867:4;2863:38;2932:4;2920:10;2917:20;2914:47;;;-1:-1:-1;2955:4:357;2914:47;3010:2;3005:3;3001:12;2998:1;2994:20;2988:4;2984:31;2974:41;;3065:82;3083:2;3076:5;3073:13;3065:82;;;3128:17;;;3109:1;3098:13;3065:82;;;3069:3;;;2709:448;2618:545;;;:::o;3339:1352::-;3459:10;;-1:-1:-1;;;;;3481:30:357;;3478:56;;;3514:18;;:::i;:::-;3543:97;3633:6;3593:38;3625:4;3619:11;3593:38;:::i;:::-;3587:4;3543:97;:::i;:::-;3695:4;;3759:2;3748:14;;3776:1;3771:663;;;;4478:1;4495:6;4492:89;;;-1:-1:-1;4547:19:357;;;4541:26;4492:89;-1:-1:-1;;3296:1:357;3292:11;;;3288:24;3284:29;3274:40;3320:1;3316:11;;;3271:57;4594:81;;3741:944;;3771:663;2565:1;2558:14;;;2602:4;2589:18;;-1:-1:-1;;3807:20:357;;;3925:236;3939:7;3936:1;3933:14;3925:236;;;4028:19;;;4022:26;4007:42;;4120:27;;;;4088:1;4076:14;;;;3955:19;;3925:236;;;3929:3;4189:6;4180:7;4177:19;4174:201;;;4250:19;;;4244:26;-1:-1:-1;;4333:1:357;4329:14;;;4345:3;4325:24;4321:37;4317:42;4302:58;4287:74;;4174:201;-1:-1:-1;;;;;4421:1:357;4405:14;;;4401:22;4388:36;;-1:-1:-1;3339:1352:357:o;:::-;833:4510:229;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000a",sourceMap:"833:4510:229:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3616:519;;;;;;:::i;:::-;;:::i;:::-;;;516:14:357;;509:22;491:41;;479:2;464:18;3616:519:229;;;;;;;;1022:37;;;;;;;;719:42:357;707:55;;;689:74;;677:2;662:18;1022:37:229;543:226:357;2156:98:45;;;:::i;:::-;;;;;;;:::i;4433:197::-;;;;;;:::i;:::-;;:::i;3244:106::-;3331:12;;3244:106;;;2041:25:357;;;2029:2;2014:18;3244:106:45;1895:177:357;5192:286:45;;;;;;:::i;:::-;;:::i;5252:89:229:-;;;2582:4:357;5326:8:229;2570:17:357;2552:36;;2540:2;2525:18;5252:89:229;2410:184:357;5873:234:45;;;;;;:::i;:::-;;:::i;2739:254:229:-;;;;;;:::i;:::-;;:::i;:::-;;2009:40;;;;;;;;;;;;;;;;;;;;;3408:125:45;;;;;;:::i;:::-;3508:18;;3482:7;3508:18;;;;;;;;;;;;3408:125;2367:102;;;:::i;3174:260:229:-;;;;;;:::i;:::-;;:::i;6594:427:45:-;;;;;;:::i;:::-;;:::i;3729:189::-;;;;;;:::i;:::-;;:::i;4434:80:229:-;4501:6;4434:80;;4248:85;4314:12;4248:85;;3976:149:45;;;;;;:::i;:::-;4091:18;;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;1129:31:229;;;;;3616:519;3695:4;3727:25;3844:38;3997:40;4054:22;;;;;;:48;;-1:-1:-1;4080:22:229;;;;;;;;4054:48;:74;;;-1:-1:-1;4106:22:229;;;;;;;;4054:74;4047:81;3616:519;-1:-1:-1;;;;;3616:519:229:o;2156:98:45:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:60;4570:32:45;719:10:60;4586:7:45;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:45;;4433:197;-1:-1:-1;;;4433:197:45:o;5192:286::-;5319:4;719:10:60;5375:38:45;5391:4;719:10:60;5406:6:45;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:45;;5192:286;-1:-1:-1;;;;5192:286:45:o;5873:234::-;719:10:60;5961:4:45;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;5961:4;;719:10:60;6015:64:45;;719:10:60;;4091:27:45;;6040:38;;6068:10;;6040:38;:::i;:::-;6015:8;:64::i;2739:254:229:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:357;1837:85:229;;;4003:21:357;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:229;;;;;;;;;2934:19:::1;2940:3;2945:7;2934:5;:19::i;:::-;2973:3;2968:18;;;2978:7;2968:18;;;;2041:25:357::0;;2029:2;2014:18;;1895:177;2968:18:229::1;;;;;;;;2739:254:::0;;:::o;2367:102:45:-;2423:13;2455:7;2448:14;;;;;:::i;3174:260:229:-;1845:10;:20;1859:6;1845:20;;1837:85;;;;;;;4021:2:357;1837:85:229;;;4003:21:357;4060:2;4040:18;;;4033:30;4099:34;4079:18;;;4072:62;4170:22;4150:18;;;4143:50;4210:19;;1837:85:229;3819:416:357;1837:85:229;3371:21:::1;3377:5;3384:7;3371:5;:21::i;:::-;3412:5;3407:20;;;3419:7;3407:20;;;;2041:25:357::0;;2029:2;2014:18;;1895:177;6594:427:45;719:10:60;6687:4:45;4091:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;6687:4;;719:10:60;6831:15:45;6811:16;:35;;6803:85;;;;;;;4442:2:357;6803:85:45;;;4424:21:357;4481:2;4461:18;;;4454:30;4520:34;4500:18;;;4493:62;4591:7;4571:18;;;4564:35;4616:19;;6803:85:45;4240:401:357;6803:85:45;6922:60;6931:5;6938:7;6966:15;6947:16;:34;6922:8;:60::i;3729:189::-;3808:4;719:10:60;3862:28:45;719:10:60;3879:2:45;3883:6;3862:9;:28::i;10110:370::-;10241:19;;;10233:68;;;;;;;4848:2:357;10233:68:45;;;4830:21:357;4887:2;4867:18;;;4860:30;4926:34;4906:18;;;4899:62;4997:6;4977:18;;;4970:34;5021:19;;10233:68:45;4646:400:357;10233:68:45;10319:21;;;10311:68;;;;;;;5253:2:357;10311:68:45;;;5235:21:357;5292:2;5272:18;;;5265:30;5331:34;5311:18;;;5304:62;5402:4;5382:18;;;5375:32;5424:19;;10311:68:45;5051:398:357;10311:68:45;10390:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10441:32;;2041:25:357;;;10441:32:45;;2014:18:357;10441:32:45;;;;;;;;10110:370;;;:::o;10761:441::-;4091:18;;;;10891:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;10977:17;10957:37;;10953:243;;11038:6;11018:16;:26;;11010:68;;;;;;;5656:2:357;11010:68:45;;;5638:21:357;5695:2;5675:18;;;5668:30;5734:31;5714:18;;;5707:59;5783:18;;11010:68:45;5454:353:357;11010:68:45;11120:51;11129:5;11136:7;11164:6;11145:16;:25;11120:8;:51::i;:::-;10881:321;10761:441;;;:::o;7475:651::-;7601:18;;;7593:68;;;;;;;6014:2:357;7593:68:45;;;5996:21:357;6053:2;6033:18;;;6026:30;6092:34;6072:18;;;6065:62;6163:7;6143:18;;;6136:35;6188:19;;7593:68:45;5812:401:357;7593:68:45;7679:16;;;7671:64;;;;;;;6420:2:357;7671:64:45;;;6402:21:357;6459:2;6439:18;;;6432:30;6498:34;6478:18;;;6471:62;6569:5;6549:18;;;6542:33;6592:19;;7671:64:45;6218:399:357;7671:64:45;7817:15;;;7795:19;7817:15;;;;;;;;;;;7850:21;;;;7842:72;;;;;;;6824:2:357;7842:72:45;;;6806:21:357;6863:2;6843:18;;;6836:30;6902:34;6882:18;;;6875:62;6973:8;6953:18;;;6946:36;6999:19;;7842:72:45;6622:402:357;7842:72:45;7948:15;;;;:9;:15;;;;;;;;;;;7966:20;;;7948:38;;8006:13;;;;;;;;:23;;7980:6;;7948:9;8006:23;;7980:6;;8006:23;:::i;:::-;;;;;;;;8060:2;8045:26;;8054:4;8045:26;;;8064:6;8045:26;;;;2041:25:357;;2029:2;2014:18;;1895:177;8045:26:45;;;;;;;;8082:37;9111:576;8402:389;8485:21;;;8477:65;;;;;;;7231:2:357;8477:65:45;;;7213:21:357;7270:2;7250:18;;;7243:30;7309:33;7289:18;;;7282:61;7360:18;;8477:65:45;7029:355:357;8477:65:45;8629:6;8613:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;8645:18:45;;;:9;:18;;;;;;;;;;:28;;8667:6;;8645:9;:28;;8667:6;;8645:28;:::i;:::-;;;;-1:-1:-1;;8688:37:45;;2041:25:357;;;8688:37:45;;;;8705:1;;8688:37;;2029:2:357;2014:18;8688:37:45;;;;;;;8402:389;;:::o;9111:576::-;9194:21;;;9186:67;;;;;;;7591:2:357;9186:67:45;;;7573:21:357;7630:2;7610:18;;;7603:30;7669:34;7649:18;;;7642:62;7740:3;7720:18;;;7713:31;7761:19;;9186:67:45;7389:397:357;9186:67:45;9349:18;;;9324:22;9349:18;;;;;;;;;;;9385:24;;;;9377:71;;;;;;;7993:2:357;9377:71:45;;;7975:21:357;8032:2;8012:18;;;8005:30;8071:34;8051:18;;;8044:62;8142:4;8122:18;;;8115:32;8164:19;;9377:71:45;7791:398:357;9377:71:45;9482:18;;;:9;:18;;;;;;;;;;9503:23;;;9482:44;;9546:12;:22;;9520:6;;9482:9;9546:22;;9520:6;;9546:22;:::i;:::-;;;;-1:-1:-1;;9584:37:45;;2041:25:357;;;9610:1:45;;9584:37;;;;;;2029:2:357;2014:18;9584:37:45;1895:177:357;14:332;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:357:o;774:656::-;886:4;915:2;944;933:9;926:21;976:6;970:13;1019:6;1014:2;1003:9;999:18;992:34;1044:1;1054:140;1068:6;1065:1;1062:13;1054:140;;;1163:14;;;1159:23;;1153:30;1129:17;;;1148:2;1125:26;1118:66;1083:10;;1054:140;;;1212:6;1209:1;1206:13;1203:91;;;1282:1;1277:2;1268:6;1257:9;1253:22;1249:31;1242:42;1203:91;-1:-1:-1;1346:2:357;1334:15;1351:66;1330:88;1315:104;;;;1421:2;1311:113;;774:656;-1:-1:-1;;;774:656:357:o;1435:196::-;1503:20;;1563:42;1552:54;;1542:65;;1532:93;;1621:1;1618;1611:12;1532:93;1435:196;;;:::o;1636:254::-;1704:6;1712;1765:2;1753:9;1744:7;1740:23;1736:32;1733:52;;;1781:1;1778;1771:12;1733:52;1804:29;1823:9;1804:29;:::i;:::-;1794:39;1880:2;1865:18;;;;1852:32;;-1:-1:-1;;;1636:254:357:o;2077:328::-;2154:6;2162;2170;2223:2;2211:9;2202:7;2198:23;2194:32;2191:52;;;2239:1;2236;2229:12;2191:52;2262:29;2281:9;2262:29;:::i;:::-;2252:39;;2310:38;2344:2;2333:9;2329:18;2310:38;:::i;:::-;2300:48;;2395:2;2384:9;2380:18;2367:32;2357:42;;2077:328;;;;;:::o;2599:186::-;2658:6;2711:2;2699:9;2690:7;2686:23;2682:32;2679:52;;;2727:1;2724;2717:12;2679:52;2750:29;2769:9;2750:29;:::i;2790:260::-;2858:6;2866;2919:2;2907:9;2898:7;2894:23;2890:32;2887:52;;;2935:1;2932;2925:12;2887:52;2958:29;2977:9;2958:29;:::i;:::-;2948:39;;3006:38;3040:2;3029:9;3025:18;3006:38;:::i;:::-;2996:48;;2790:260;;;;;:::o;3055:437::-;3134:1;3130:12;;;;3177;;;3198:61;;3252:4;3244:6;3240:17;3230:27;;3198:61;3305:2;3297:6;3294:14;3274:18;3271:38;3268:218;;3342:77;3339:1;3332:88;3443:4;3440:1;3433:15;3471:4;3468:1;3461:15;3268:218;;3055:437;;;:::o;3497:184::-;3549:77;3546:1;3539:88;3646:4;3643:1;3636:15;3670:4;3667:1;3660:15;3686:128;3726:3;3757:1;3753:6;3750:1;3747:13;3744:39;;;3763:18;;:::i;:::-;-1:-1:-1;3799:9:357;;3686:128::o;8194:125::-;8234:4;8262:1;8259;8256:8;8253:34;;;8267:18;;:::i;:::-;-1:-1:-1;8304:9:357;;8194:125::o",linkReferences:{},immutableReferences:{"109440":[{start:425,length:32},{start:881,length:32}],"109443":[{start:843,length:32},{start:992,length:32},{start:1573,length:32},{start:1884,length:32}],"109446":[{start:580,length:32}]}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","REMOTE_TOKEN()":"033964be","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","bridge()":"e78cea92","burn(address,uint256)":"9dc29fac","decimals()":"313ce567","decreaseAllowance(address,uint256)":"a457c2d7","increaseAllowance(address,uint256)":"39509351","l1Token()":"c01e1bd6","l2Bridge()":"ae1f6aaf","mint(address,uint256)":"40c10f19","name()":"06fdde03","remoteToken()":"d6c0b2c4","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMOTE_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remoteToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"events":{"Burn(address,uint256)":{"params":{"account":"Address of the account tokens are being burned from.","amount":"Amount of tokens burned."}},"Mint(address,uint256)":{"params":{"account":"Address of the account tokens are being minted for.","amount":"Amount of tokens minted."}}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{"params":{"_amount":"Amount of tokens to burn.","_from":"Address to burn tokens from."}},"constructor":{"params":{"_bridge":"Address of the L2 standard bridge.","_name":"ERC20 name.","_remoteToken":"Address of the corresponding L1 token.","_symbol":"ERC20 symbol."}},"decimals()":{"details":"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{"details":"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{"details":"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{"params":{"_amount":"Amount of tokens to mint.","_to":"Address to mint tokens to."}},"name()":{"details":"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{"params":{"_interfaceId":"Interface ID to check."},"returns":{"_0":"Whether or not the interface is supported by this contract."}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``\'s tokens of at least `amount`."}},"stateVariables":{"version":{"custom:semver":"1.3.0"}},"title":"OptimismMintableERC20","version":1},"userdoc":{"events":{"Burn(address,uint256)":{"notice":"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{"notice":"Emitted whenever tokens are minted for an account."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{"notice":"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{"notice":"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{"notice":"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{"notice":"ERC165 interface check function."},"version()":{"notice":"Semantic version."}},"notice":"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_bridge",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"owner",type:"address",indexed:!0},{internalType:"address",name:"spender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Approval",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Burn",anonymous:!1},{inputs:[{internalType:"address",name:"account",type:"address",indexed:!0},{internalType:"uint256",name:"amount",type:"uint256",indexed:!1}],type:"event",name:"Mint",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"Transfer",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"REMOTE_TOKEN",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],stateMutability:"view",type:"function",name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"account",type:"address"}],stateMutability:"view",type:"function",name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_from",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[],stateMutability:"view",type:"function",name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"mint"},{inputs:[],stateMutability:"view",type:"function",name:"name",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"remoteToken",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"}],stateMutability:"pure",type:"function",name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{"custom:legacy":"@notice Legacy getter for BRIDGE."},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{"custom:legacy":"@notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward."},"l2Bridge()":{"custom:legacy":"@notice Legacy getter for the bridge. Use BRIDGE going forward."},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{"custom:legacy":"@notice Legacy getter for REMOTE_TOKEN."},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20.sol":"OptimismMintableERC20"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49734,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_balances",offset:0,slot:"0",type:"t_mapping(t_address,t_uint256)"},{astId:49740,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_allowances",offset:0,slot:"1",type:"t_mapping(t_address,t_mapping(t_address,t_uint256))"},{astId:49742,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_totalSupply",offset:0,slot:"2",type:"t_uint256"},{astId:49744,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_name",offset:0,slot:"3",type:"t_string_storage"},{astId:49746,contract:"src/universal/OptimismMintableERC20.sol:OptimismMintableERC20",label:"_symbol",offset:0,slot:"4",type:"t_string_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_uint256))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => uint256))",numberOfBytes:"32",value:"t_mapping(t_address,t_uint256)"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Address of the StandardBridge on this network."},"REMOTE_TOKEN()":{notice:"Address of the corresponding version of this token on the remote chain."},"burn(address,uint256)":{notice:"Allows the StandardBridge on this network to burn tokens."},"mint(address,uint256)":{notice:"Allows the StandardBridge on this network to mint tokens."},"supportsInterface(bytes4)":{notice:"ERC165 interface check function."},"version()":{notice:"Semantic version."}},events:{"Burn(address,uint256)":{notice:"Emitted whenever tokens are burned from an account."},"Mint(address,uint256)":{notice:"Emitted whenever tokens are minted for an account."}},notice:"OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. Designed to be backwards compatible with the older StandardL2ERC20 token which was only meant for use on L2."},devdoc:{version:1,kind:"dev",methods:{"allowance(address,address)":{details:"See {IERC20-allowance}."},"approve(address,uint256)":{details:"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"balanceOf(address)":{details:"See {IERC20-balanceOf}."},"bridge()":{},"burn(address,uint256)":{params:{_amount:"Amount of tokens to burn.",_from:"Address to burn tokens from."}},constructor:{params:{_bridge:"Address of the L2 standard bridge.",_name:"ERC20 name.",_remoteToken:"Address of the corresponding L1 token.",_symbol:"ERC20 symbol."}},"decimals()":{details:"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."},"decreaseAllowance(address,uint256)":{details:"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`."},"increaseAllowance(address,uint256)":{details:"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address."},"l1Token()":{},"l2Bridge()":{},"mint(address,uint256)":{params:{_amount:"Amount of tokens to mint.",_to:"Address to mint tokens to."}},"name()":{details:"Returns the name of the token."},"remoteToken()":{},"supportsInterface(bytes4)":{params:{_interfaceId:"Interface ID to check."},returns:{_0:"Whether or not the interface is supported by this contract."}},"symbol()":{details:"Returns the symbol of the token, usually a shorter version of the name."},"totalSupply()":{details:"See {IERC20-totalSupply}."},"transfer(address,uint256)":{details:"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`."},"transferFrom(address,address,uint256)":{details:"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`."}},events:{"Burn(address,uint256)":{params:{account:"Address of the account tokens are being burned from.",amount:"Amount of tokens burned."}},"Mint(address,uint256)":{params:{account:"Address of the account tokens are being minted for.",amount:"Amount of tokens minted."}}},title:"OptimismMintableERC20"},ast:{absolutePath:"src/universal/OptimismMintableERC20.sol",id:109646,exportedSymbols:{ERC20:[50304],IERC165:[54446],ILegacyMintableERC20:[109333],IOptimismMintableERC20:[109310],ISemver:[109417],OptimismMintableERC20:[109645]},nodeType:"SourceUnit",src:"32:5312:229",nodes:[{id:109419,nodeType:"PragmaDirective",src:"32:23:229",nodes:[],literals:["solidity","0.8",".15"]},{id:109421,nodeType:"ImportDirective",src:"57:70:229",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol",file:"@openzeppelin/contracts/token/ERC20/ERC20.sol",nameLocation:"-1:-1:-1",scope:109646,sourceUnit:50305,symbolAliases:[{foreign:{id:109420,name:"ERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:50304,src:"66:5:229",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109423,nodeType:"ImportDirective",src:"128:82:229",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",file:"@openzeppelin/contracts/utils/introspection/IERC165.sol",nameLocation:"-1:-1:-1",scope:109646,sourceUnit:54447,symbolAliases:[{foreign:{id:109422,name:"IERC165",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:54446,src:"137:7:229",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109426,nodeType:"ImportDirective",src:"211:104:229",nodes:[],absolutePath:"src/universal/IOptimismMintableERC20.sol",file:"src/universal/IOptimismMintableERC20.sol",nameLocation:"-1:-1:-1",scope:109646,sourceUnit:109334,symbolAliases:[{foreign:{id:109424,name:"ILegacyMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109333,src:"220:20:229",typeDescriptions:{}},nameLocation:"-1:-1:-1"},{foreign:{id:109425,name:"IOptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109310,src:"242:22:229",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109428,nodeType:"ImportDirective",src:"316:52:229",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:109646,sourceUnit:109418,symbolAliases:[{foreign:{id:109427,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"325:7:229",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109645,nodeType:"ContractDefinition",src:"833:4510:229",nodes:[{id:109440,nodeType:"VariableDeclaration",src:"1022:37:229",nodes:[],constant:!1,documentation:{id:109438,nodeType:"StructuredDocumentation",src:"934:83:229",text:"@notice Address of the corresponding version of this token on the remote chain."},functionSelector:"033964be",mutability:"immutable",name:"REMOTE_TOKEN",nameLocation:"1047:12:229",scope:109645,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109439,name:"address",nodeType:"ElementaryTypeName",src:"1022:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:109443,nodeType:"VariableDeclaration",src:"1129:31:229",nodes:[],constant:!1,documentation:{id:109441,nodeType:"StructuredDocumentation",src:"1066:58:229",text:"@notice Address of the StandardBridge on this network."},functionSelector:"ee9a31a2",mutability:"immutable",name:"BRIDGE",nameLocation:"1154:6:229",scope:109645,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109442,name:"address",nodeType:"ElementaryTypeName",src:"1129:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:109446,nodeType:"VariableDeclaration",src:"1205:32:229",nodes:[],constant:!1,documentation:{id:109444,nodeType:"StructuredDocumentation",src:"1167:33:229",text:"@notice Decimals of the token"},mutability:"immutable",name:"DECIMALS",nameLocation:"1229:8:229",scope:109645,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"},typeName:{id:109445,name:"uint8",nodeType:"ElementaryTypeName",src:"1205:5:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},visibility:"private"},{id:109453,nodeType:"EventDefinition",src:"1434:52:229",nodes:[],anonymous:!1,documentation:{id:109447,nodeType:"StructuredDocumentation",src:"1244:185:229",text:`@notice Emitted whenever tokens are minted for an account. + @param account Address of the account tokens are being minted for. + @param amount Amount of tokens minted.`},eventSelector:"0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885",name:"Mint",nameLocation:"1440:4:229",parameters:{id:109452,nodeType:"ParameterList",parameters:[{constant:!1,id:109449,indexed:!0,mutability:"mutable",name:"account",nameLocation:"1461:7:229",nodeType:"VariableDeclaration",scope:109453,src:"1445:23:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109448,name:"address",nodeType:"ElementaryTypeName",src:"1445:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109451,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"1478:6:229",nodeType:"VariableDeclaration",scope:109453,src:"1470:14:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:109450,name:"uint256",nodeType:"ElementaryTypeName",src:"1470:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"1444:41:229"}},{id:109460,nodeType:"EventDefinition",src:"1684:52:229",nodes:[],anonymous:!1,documentation:{id:109454,nodeType:"StructuredDocumentation",src:"1492:187:229",text:`@notice Emitted whenever tokens are burned from an account. + @param account Address of the account tokens are being burned from. + @param amount Amount of tokens burned.`},eventSelector:"cc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5",name:"Burn",nameLocation:"1690:4:229",parameters:{id:109459,nodeType:"ParameterList",parameters:[{constant:!1,id:109456,indexed:!0,mutability:"mutable",name:"account",nameLocation:"1711:7:229",nodeType:"VariableDeclaration",scope:109460,src:"1695:23:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109455,name:"address",nodeType:"ElementaryTypeName",src:"1695:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109458,indexed:!1,mutability:"mutable",name:"amount",nameLocation:"1728:6:229",nodeType:"VariableDeclaration",scope:109460,src:"1720:14:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:109457,name:"uint256",nodeType:"ElementaryTypeName",src:"1720:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"1694:41:229"}},{id:109473,nodeType:"ModifierDefinition",src:"1805:135:229",nodes:[],body:{id:109472,nodeType:"Block",src:"1827:113:229",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:109467,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:109464,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"1845:3:229",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:109465,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"1845:10:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:109466,name:"BRIDGE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109443,src:"1859:6:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"1845:20:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696467652063616e206d696e7420616e64206275726e",id:109468,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1867:54:229",typeDescriptions:{typeIdentifier:"t_stringliteral_684e9b7e2c7fdcb543a3efbe7d9ca90113ea3f2c0463752c3d3de870c67a963a",typeString:'literal_string "OptimismMintableERC20: only bridge can mint and burn"'},value:"OptimismMintableERC20: only bridge can mint and burn"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_684e9b7e2c7fdcb543a3efbe7d9ca90113ea3f2c0463752c3d3de870c67a963a",typeString:'literal_string "OptimismMintableERC20: only bridge can mint and burn"'}],id:109463,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"1837:7:229",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:109469,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1837:85:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109470,nodeType:"ExpressionStatement",src:"1837:85:229"},{id:109471,nodeType:"PlaceholderStatement",src:"1932:1:229"}]},documentation:{id:109461,nodeType:"StructuredDocumentation",src:"1742:58:229",text:"@notice A modifier that only allows the bridge to call"},name:"onlyBridge",nameLocation:"1814:10:229",parameters:{id:109462,nodeType:"ParameterList",parameters:[],src:"1824:2:229"},virtual:!1,visibility:"internal"},{id:109477,nodeType:"VariableDeclaration",src:"2009:40:229",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:109474,nodeType:"StructuredDocumentation",src:"1946:58:229",text:`@notice Semantic version. + @custom:semver 1.3.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2032:7:229",scope:109645,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109475,name:"string",nodeType:"ElementaryTypeName",src:"2009:6:229",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e332e30",id:109476,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2042:7:229",typeDescriptions:{typeIdentifier:"t_stringliteral_6a08c3e203132c561752255a4d52ffae85bb9c5d33cb3291520dea1b84356389",typeString:'literal_string "1.3.0"'},value:"1.3.0"},visibility:"public"},{id:109508,nodeType:"FunctionDefinition",src:"2268:292:229",nodes:[],body:{id:109507,nodeType:"Block",src:"2460:100:229",nodes:[],statements:[{expression:{id:109497,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:109495,name:"REMOTE_TOKEN",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109440,src:"2470:12:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:109496,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109482,src:"2485:12:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2470:27:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:109498,nodeType:"ExpressionStatement",src:"2470:27:229"},{expression:{id:109501,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:109499,name:"BRIDGE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109443,src:"2507:6:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:109500,name:"_bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109480,src:"2516:7:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2507:16:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:109502,nodeType:"ExpressionStatement",src:"2507:16:229"},{expression:{id:109505,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:109503,name:"DECIMALS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109446,src:"2533:8:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:109504,name:"_decimals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109488,src:"2544:9:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"2533:20:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},id:109506,nodeType:"ExpressionStatement",src:"2533:20:229"}]},documentation:{id:109478,nodeType:"StructuredDocumentation",src:"2056:207:229",text:`@param _bridge Address of the L2 standard bridge. + @param _remoteToken Address of the corresponding L1 token. + @param _name ERC20 name. + @param _symbol ERC20 symbol.`},implemented:!0,kind:"constructor",modifiers:[{arguments:[{id:109491,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109484,src:"2440:5:229",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109492,name:"_symbol",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109486,src:"2447:7:229",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}}],id:109493,kind:"baseConstructorSpecifier",modifierName:{id:109490,name:"ERC20",nodeType:"IdentifierPath",referencedDeclaration:50304,src:"2434:5:229"},nodeType:"ModifierInvocation",src:"2434:21:229"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:109489,nodeType:"ParameterList",parameters:[{constant:!1,id:109480,mutability:"mutable",name:"_bridge",nameLocation:"2297:7:229",nodeType:"VariableDeclaration",scope:109508,src:"2289:15:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109479,name:"address",nodeType:"ElementaryTypeName",src:"2289:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109482,mutability:"mutable",name:"_remoteToken",nameLocation:"2322:12:229",nodeType:"VariableDeclaration",scope:109508,src:"2314:20:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109481,name:"address",nodeType:"ElementaryTypeName",src:"2314:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109484,mutability:"mutable",name:"_name",nameLocation:"2358:5:229",nodeType:"VariableDeclaration",scope:109508,src:"2344:19:229",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109483,name:"string",nodeType:"ElementaryTypeName",src:"2344:6:229",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109486,mutability:"mutable",name:"_symbol",nameLocation:"2387:7:229",nodeType:"VariableDeclaration",scope:109508,src:"2373:21:229",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109485,name:"string",nodeType:"ElementaryTypeName",src:"2373:6:229",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109488,mutability:"mutable",name:"_decimals",nameLocation:"2410:9:229",nodeType:"VariableDeclaration",scope:109508,src:"2404:15:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"},typeName:{id:109487,name:"uint8",nodeType:"ElementaryTypeName",src:"2404:5:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},visibility:"internal"}],src:"2279:146:229"},returnParameters:{id:109494,nodeType:"ParameterList",parameters:[],src:"2460:0:229"},scope:109645,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:109532,nodeType:"FunctionDefinition",src:"2739:254:229",nodes:[],body:{id:109531,nodeType:"Block",src:"2924:69:229",nodes:[],statements:[{expression:{arguments:[{id:109522,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109511,src:"2940:3:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109523,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109513,src:"2945:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:109521,name:"_mint",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:50121,src:"2934:5:229",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256)"}},id:109524,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2934:19:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109525,nodeType:"ExpressionStatement",src:"2934:19:229"},{eventCall:{arguments:[{id:109527,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109511,src:"2973:3:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109528,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109513,src:"2978:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:109526,name:"Mint",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109453,src:"2968:4:229",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256)"}},id:109529,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2968:18:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109530,nodeType:"EmitStatement",src:"2963:23:229"}]},baseFunctions:[109302,109325],documentation:{id:109509,nodeType:"StructuredDocumentation",src:"2566:168:229",text:`@notice Allows the StandardBridge on this network to mint tokens. + @param _to Address to mint tokens to. + @param _amount Amount of tokens to mint.`},functionSelector:"40c10f19",implemented:!0,kind:"function",modifiers:[{id:109519,kind:"modifierInvocation",modifierName:{id:109518,name:"onlyBridge",nodeType:"IdentifierPath",referencedDeclaration:109473,src:"2909:10:229"},nodeType:"ModifierInvocation",src:"2909:10:229"}],name:"mint",nameLocation:"2748:4:229",overrides:{id:109517,nodeType:"OverrideSpecifier",overrides:[{id:109515,name:"IOptimismMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109310,src:"2855:22:229"},{id:109516,name:"ILegacyMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109333,src:"2879:20:229"}],src:"2846:54:229"},parameters:{id:109514,nodeType:"ParameterList",parameters:[{constant:!1,id:109511,mutability:"mutable",name:"_to",nameLocation:"2770:3:229",nodeType:"VariableDeclaration",scope:109532,src:"2762:11:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109510,name:"address",nodeType:"ElementaryTypeName",src:"2762:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109513,mutability:"mutable",name:"_amount",nameLocation:"2791:7:229",nodeType:"VariableDeclaration",scope:109532,src:"2783:15:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:109512,name:"uint256",nodeType:"ElementaryTypeName",src:"2783:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2752:52:229"},returnParameters:{id:109520,nodeType:"ParameterList",parameters:[],src:"2924:0:229"},scope:109645,stateMutability:"nonpayable",virtual:!0,visibility:"external"},{id:109556,nodeType:"FunctionDefinition",src:"3174:260:229",nodes:[],body:{id:109555,nodeType:"Block",src:"3361:73:229",nodes:[],statements:[{expression:{arguments:[{id:109546,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109535,src:"3377:5:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109547,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109537,src:"3384:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:109545,name:"_burn",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:50193,src:"3371:5:229",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256)"}},id:109548,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3371:21:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109549,nodeType:"ExpressionStatement",src:"3371:21:229"},{eventCall:{arguments:[{id:109551,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109535,src:"3412:5:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109552,name:"_amount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109537,src:"3419:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:109550,name:"Burn",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109460,src:"3407:4:229",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256)"}},id:109553,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3407:20:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109554,nodeType:"EmitStatement",src:"3402:25:229"}]},baseFunctions:[109309,109332],documentation:{id:109533,nodeType:"StructuredDocumentation",src:"2999:170:229",text:`@notice Allows the StandardBridge on this network to burn tokens. + @param _from Address to burn tokens from. + @param _amount Amount of tokens to burn.`},functionSelector:"9dc29fac",implemented:!0,kind:"function",modifiers:[{id:109543,kind:"modifierInvocation",modifierName:{id:109542,name:"onlyBridge",nodeType:"IdentifierPath",referencedDeclaration:109473,src:"3346:10:229"},nodeType:"ModifierInvocation",src:"3346:10:229"}],name:"burn",nameLocation:"3183:4:229",overrides:{id:109541,nodeType:"OverrideSpecifier",overrides:[{id:109539,name:"IOptimismMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109310,src:"3292:22:229"},{id:109540,name:"ILegacyMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109333,src:"3316:20:229"}],src:"3283:54:229"},parameters:{id:109538,nodeType:"ParameterList",parameters:[{constant:!1,id:109535,mutability:"mutable",name:"_from",nameLocation:"3205:5:229",nodeType:"VariableDeclaration",scope:109556,src:"3197:13:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109534,name:"address",nodeType:"ElementaryTypeName",src:"3197:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109537,mutability:"mutable",name:"_amount",nameLocation:"3228:7:229",nodeType:"VariableDeclaration",scope:109556,src:"3220:15:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:109536,name:"uint256",nodeType:"ElementaryTypeName",src:"3220:7:229",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"3187:54:229"},returnParameters:{id:109544,nodeType:"ParameterList",parameters:[],src:"3361:0:229"},scope:109645,stateMutability:"nonpayable",virtual:!0,visibility:"external"},{id:109598,nodeType:"FunctionDefinition",src:"3616:519:229",nodes:[],body:{id:109597,nodeType:"Block",src:"3701:434:229",nodes:[],statements:[{assignments:[109565],declarations:[{constant:!1,id:109565,mutability:"mutable",name:"iface1",nameLocation:"3718:6:229",nodeType:"VariableDeclaration",scope:109597,src:"3711:13:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"},typeName:{id:109564,name:"bytes4",nodeType:"ElementaryTypeName",src:"3711:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},visibility:"internal"}],id:109570,initialValue:{expression:{arguments:[{id:109567,name:"IERC165",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:54446,src:"3732:7:229",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IERC165_$54446_$",typeString:"type(contract IERC165)"}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_contract$_IERC165_$54446_$",typeString:"type(contract IERC165)"}],id:109566,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"3727:4:229",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:109568,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3727:13:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_contract$_IERC165_$54446",typeString:"type(contract IERC165)"}},id:109569,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"interfaceId",nodeType:"MemberAccess",src:"3727:25:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"VariableDeclarationStatement",src:"3711:41:229"},{assignments:[109572],declarations:[{constant:!1,id:109572,mutability:"mutable",name:"iface2",nameLocation:"3835:6:229",nodeType:"VariableDeclaration",scope:109597,src:"3828:13:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"},typeName:{id:109571,name:"bytes4",nodeType:"ElementaryTypeName",src:"3828:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},visibility:"internal"}],id:109577,initialValue:{expression:{arguments:[{id:109574,name:"ILegacyMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109333,src:"3849:20:229",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_ILegacyMintableERC20_$109333_$",typeString:"type(contract ILegacyMintableERC20)"}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_contract$_ILegacyMintableERC20_$109333_$",typeString:"type(contract ILegacyMintableERC20)"}],id:109573,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"3844:4:229",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:109575,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3844:26:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_contract$_ILegacyMintableERC20_$109333",typeString:"type(contract ILegacyMintableERC20)"}},id:109576,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"interfaceId",nodeType:"MemberAccess",src:"3844:38:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"VariableDeclarationStatement",src:"3828:54:229"},{assignments:[109579],declarations:[{constant:!1,id:109579,mutability:"mutable",name:"iface3",nameLocation:"3988:6:229",nodeType:"VariableDeclaration",scope:109597,src:"3981:13:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"},typeName:{id:109578,name:"bytes4",nodeType:"ElementaryTypeName",src:"3981:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},visibility:"internal"}],id:109584,initialValue:{expression:{arguments:[{id:109581,name:"IOptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109310,src:"4002:22:229",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC20_$109310_$",typeString:"type(contract IOptimismMintableERC20)"}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC20_$109310_$",typeString:"type(contract IOptimismMintableERC20)"}],id:109580,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"3997:4:229",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:109582,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3997:28:229",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_contract$_IOptimismMintableERC20_$109310",typeString:"type(contract IOptimismMintableERC20)"}},id:109583,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"interfaceId",nodeType:"MemberAccess",src:"3997:40:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"VariableDeclarationStatement",src:"3981:56:229"},{expression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:109595,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:109591,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_bytes4",typeString:"bytes4"},id:109587,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:109585,name:"_interfaceId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109559,src:"4054:12:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:109586,name:"iface1",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109565,src:"4070:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},src:"4054:22:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_bytes4",typeString:"bytes4"},id:109590,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:109588,name:"_interfaceId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109559,src:"4080:12:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:109589,name:"iface2",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109572,src:"4096:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},src:"4080:22:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"4054:48:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_bytes4",typeString:"bytes4"},id:109594,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:109592,name:"_interfaceId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109559,src:"4106:12:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:109593,name:"iface3",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109579,src:"4122:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},src:"4106:22:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"4054:74:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:109563,id:109596,nodeType:"Return",src:"4047:81:229"}]},baseFunctions:[54445],documentation:{id:109557,nodeType:"StructuredDocumentation",src:"3440:171:229",text:`@notice ERC165 interface check function. + @param _interfaceId Interface ID to check. + @return Whether or not the interface is supported by this contract.`},functionSelector:"01ffc9a7",implemented:!0,kind:"function",modifiers:[],name:"supportsInterface",nameLocation:"3625:17:229",parameters:{id:109560,nodeType:"ParameterList",parameters:[{constant:!1,id:109559,mutability:"mutable",name:"_interfaceId",nameLocation:"3650:12:229",nodeType:"VariableDeclaration",scope:109598,src:"3643:19:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"},typeName:{id:109558,name:"bytes4",nodeType:"ElementaryTypeName",src:"3643:6:229",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},visibility:"internal"}],src:"3642:21:229"},returnParameters:{id:109563,nodeType:"ParameterList",parameters:[{constant:!1,id:109562,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109598,src:"3695:4:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:109561,name:"bool",nodeType:"ElementaryTypeName",src:"3695:4:229",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"3694:6:229"},scope:109645,stateMutability:"pure",virtual:!0,visibility:"external"},{id:109607,nodeType:"FunctionDefinition",src:"4248:85:229",nodes:[],body:{id:109606,nodeType:"Block",src:"4297:36:229",nodes:[],statements:[{expression:{id:109604,name:"REMOTE_TOKEN",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109440,src:"4314:12:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109603,id:109605,nodeType:"Return",src:"4307:19:229"}]},baseFunctions:[109318],documentation:{id:109599,nodeType:"StructuredDocumentation",src:"4141:102:229",text:`@custom:legacy + @notice Legacy getter for the remote token. Use REMOTE_TOKEN going forward.`},functionSelector:"c01e1bd6",implemented:!0,kind:"function",modifiers:[],name:"l1Token",nameLocation:"4257:7:229",parameters:{id:109600,nodeType:"ParameterList",parameters:[],src:"4264:2:229"},returnParameters:{id:109603,nodeType:"ParameterList",parameters:[{constant:!1,id:109602,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109607,src:"4288:7:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109601,name:"address",nodeType:"ElementaryTypeName",src:"4288:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4287:9:229"},scope:109645,stateMutability:"view",virtual:!1,visibility:"public"},{id:109616,nodeType:"FunctionDefinition",src:"4434:80:229",nodes:[],body:{id:109615,nodeType:"Block",src:"4484:30:229",nodes:[],statements:[{expression:{id:109613,name:"BRIDGE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109443,src:"4501:6:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109612,id:109614,nodeType:"Return",src:"4494:13:229"}]},documentation:{id:109608,nodeType:"StructuredDocumentation",src:"4339:90:229",text:`@custom:legacy + @notice Legacy getter for the bridge. Use BRIDGE going forward.`},functionSelector:"ae1f6aaf",implemented:!0,kind:"function",modifiers:[],name:"l2Bridge",nameLocation:"4443:8:229",parameters:{id:109609,nodeType:"ParameterList",parameters:[],src:"4451:2:229"},returnParameters:{id:109612,nodeType:"ParameterList",parameters:[{constant:!1,id:109611,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109616,src:"4475:7:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109610,name:"address",nodeType:"ElementaryTypeName",src:"4475:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4474:9:229"},scope:109645,stateMutability:"view",virtual:!1,visibility:"public"},{id:109625,nodeType:"FunctionDefinition",src:"4591:89:229",nodes:[],body:{id:109624,nodeType:"Block",src:"4644:36:229",nodes:[],statements:[{expression:{id:109622,name:"REMOTE_TOKEN",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109440,src:"4661:12:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109621,id:109623,nodeType:"Return",src:"4654:19:229"}]},baseFunctions:[109290],documentation:{id:109617,nodeType:"StructuredDocumentation",src:"4520:66:229",text:`@custom:legacy + @notice Legacy getter for REMOTE_TOKEN.`},functionSelector:"d6c0b2c4",implemented:!0,kind:"function",modifiers:[],name:"remoteToken",nameLocation:"4600:11:229",parameters:{id:109618,nodeType:"ParameterList",parameters:[],src:"4611:2:229"},returnParameters:{id:109621,nodeType:"ParameterList",parameters:[{constant:!1,id:109620,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109625,src:"4635:7:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109619,name:"address",nodeType:"ElementaryTypeName",src:"4635:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4634:9:229"},scope:109645,stateMutability:"view",virtual:!1,visibility:"public"},{id:109634,nodeType:"FunctionDefinition",src:"4751:78:229",nodes:[],body:{id:109633,nodeType:"Block",src:"4799:30:229",nodes:[],statements:[{expression:{id:109631,name:"BRIDGE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109443,src:"4816:6:229",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109630,id:109632,nodeType:"Return",src:"4809:13:229"}]},baseFunctions:[109295],documentation:{id:109626,nodeType:"StructuredDocumentation",src:"4686:60:229",text:`@custom:legacy + @notice Legacy getter for BRIDGE.`},functionSelector:"e78cea92",implemented:!0,kind:"function",modifiers:[],name:"bridge",nameLocation:"4760:6:229",parameters:{id:109627,nodeType:"ParameterList",parameters:[],src:"4766:2:229"},returnParameters:{id:109630,nodeType:"ParameterList",parameters:[{constant:!1,id:109629,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109634,src:"4790:7:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109628,name:"address",nodeType:"ElementaryTypeName",src:"4790:7:229",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4789:9:229"},scope:109645,stateMutability:"view",virtual:!1,visibility:"public"},{id:109644,nodeType:"FunctionDefinition",src:"5252:89:229",nodes:[],body:{id:109643,nodeType:"Block",src:"5309:32:229",nodes:[],statements:[{expression:{id:109641,name:"DECIMALS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109446,src:"5326:8:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},functionReturnParameters:109640,id:109642,nodeType:"Return",src:"5319:15:229"}]},baseFunctions:[49793],documentation:{id:109635,nodeType:"StructuredDocumentation",src:"4835:412:229",text:"@dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5.05` (`505 / 10 ** 2`).\n NOTE: This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."},functionSelector:"313ce567",implemented:!0,kind:"function",modifiers:[],name:"decimals",nameLocation:"5261:8:229",overrides:{id:109637,nodeType:"OverrideSpecifier",overrides:[],src:"5284:8:229"},parameters:{id:109636,nodeType:"ParameterList",parameters:[],src:"5269:2:229"},returnParameters:{id:109640,nodeType:"ParameterList",parameters:[{constant:!1,id:109639,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109644,src:"5302:5:229",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"},typeName:{id:109638,name:"uint8",nodeType:"ElementaryTypeName",src:"5302:5:229",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},visibility:"internal"}],src:"5301:7:229"},scope:109645,stateMutability:"view",virtual:!1,visibility:"public"}],abstract:!1,baseContracts:[{baseName:{id:109430,name:"IOptimismMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109310,src:"867:22:229"},id:109431,nodeType:"InheritanceSpecifier",src:"867:22:229"},{baseName:{id:109432,name:"ILegacyMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109333,src:"891:20:229"},id:109433,nodeType:"InheritanceSpecifier",src:"891:20:229"},{baseName:{id:109434,name:"ERC20",nodeType:"IdentifierPath",referencedDeclaration:50304,src:"913:5:229"},id:109435,nodeType:"InheritanceSpecifier",src:"913:5:229"},{baseName:{id:109436,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"920:7:229"},id:109437,nodeType:"InheritanceSpecifier",src:"920:7:229"}],canonicalName:"OptimismMintableERC20",contractDependencies:[],contractKind:"contract",documentation:{id:109429,nodeType:"StructuredDocumentation",src:"370:463:229",text:`@title OptimismMintableERC20 + @notice OptimismMintableERC20 is a standard extension of the base ERC20 token contract designed + to allow the StandardBridge contracts to mint and burn tokens. This makes it possible to + use an OptimismMintablERC20 as the L2 representation of an L1 token, or vice-versa. + Designed to be backwards compatible with the older StandardL2ERC20 token which was only + meant for use on L2.`},fullyImplemented:!0,linearizedBaseContracts:[109645,109417,50304,51088,50382,53291,109333,109310,54446],name:"OptimismMintableERC20",nameLocation:"842:21:229",scope:109646,usedErrors:[]}],license:"MIT"},id:229}});var uKe=B(pKe=>{"use strict";p();u();Object.defineProperty(pKe,"__esModule",{value:!0})});var mKe=B(yKe=>{"use strict";p();u();Object.defineProperty(yKe,"__esModule",{value:!0})});var _Ke=B(k6=>{"use strict";p();u();Object.defineProperty(k6,"__esModule",{value:!0});k6.MessageReceiptStatus=k6.MessageDirection=k6.MessageStatus=k6.L2ChainID=k6.L1ChainID=void 0;var bKe;(function(n){n[n.MAINNET=1]="MAINNET",n[n.GOERLI=5]="GOERLI",n[n.SEPOLIA=11155111]="SEPOLIA",n[n.HARDHAT_LOCAL=31337]="HARDHAT_LOCAL",n[n.BEDROCK_LOCAL_DEVNET=900]="BEDROCK_LOCAL_DEVNET"})(bKe||(k6.L1ChainID=bKe={}));var hKe;(function(n){n[n.OPTIMISM=10]="OPTIMISM",n[n.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",n[n.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",n[n.OPTIMISM_HARDHAT_LOCAL=31337]="OPTIMISM_HARDHAT_LOCAL",n[n.OPTIMISM_HARDHAT_DEVNET=17]="OPTIMISM_HARDHAT_DEVNET",n[n.OPTIMISM_BEDROCK_ALPHA_TESTNET=28528]="OPTIMISM_BEDROCK_ALPHA_TESTNET",n[n.BASE_GOERLI=84531]="BASE_GOERLI",n[n.BASE_SEPOLIA=84532]="BASE_SEPOLIA",n[n.BASE_MAINNET=8453]="BASE_MAINNET",n[n.ZORA_GOERLI=999]="ZORA_GOERLI",n[n.ZORA_MAINNET=7777777]="ZORA_MAINNET",n[n.MODE_SEPOLIA=919]="MODE_SEPOLIA",n[n.MODE_MAINNET=34443]="MODE_MAINNET"})(hKe||(k6.L2ChainID=hKe={}));var gKe;(function(n){n[n.UNCONFIRMED_L1_TO_L2_MESSAGE=0]="UNCONFIRMED_L1_TO_L2_MESSAGE",n[n.FAILED_L1_TO_L2_MESSAGE=1]="FAILED_L1_TO_L2_MESSAGE",n[n.STATE_ROOT_NOT_PUBLISHED=2]="STATE_ROOT_NOT_PUBLISHED",n[n.READY_TO_PROVE=3]="READY_TO_PROVE",n[n.IN_CHALLENGE_PERIOD=4]="IN_CHALLENGE_PERIOD",n[n.READY_FOR_RELAY=5]="READY_FOR_RELAY",n[n.RELAYED=6]="RELAYED"})(gKe||(k6.MessageStatus=gKe={}));var vKe;(function(n){n[n.L1_TO_L2=0]="L1_TO_L2",n[n.L2_TO_L1=1]="L2_TO_L1"})(vKe||(k6.MessageDirection=vKe={}));var TKe;(function(n){n[n.RELAYED_FAILED=0]="RELAYED_FAILED",n[n.RELAYED_SUCCEEDED=1]="RELAYED_SUCCEEDED"})(TKe||(k6.MessageReceiptStatus=TKe={}))});var N_=B(oy=>{"use strict";p();u();var zq0=oy&&oy.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),Ufe=oy&&oy.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&zq0(e,n,t)};Object.defineProperty(oy,"__esModule",{value:!0});Ufe(uKe(),oy);Ufe(mKe(),oy);Ufe(_Ke(),oy)});var rA=B(F_=>{"use strict";p();u();var Wfe=F_&&F_.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(F_,"__esModule",{value:!0});F_.StandardBridgeAdapter=void 0;var qfe=B_(),n3=fy(),a3=Ue(),Wq0=Wfe(Ofe()),jq0=Wfe(Vfe()),Hfe=Wfe($fe()),wKe=N_(),zo=y7(),zfe=class{constructor(e){this.populateTransaction={approve:async(t,a,r,i)=>{if(!await this.supportsTokenPair(t,a))throw new Error("token pair not supported by bridge");return new a3.Contract((0,zo.toAddress)(t),Hfe.default.abi,this.messenger.l1Provider).populateTransaction.approve(this.l1Bridge.address,r,i?.overrides||{})},deposit:async(t,a,r,i)=>{if(!await this.supportsTokenPair(t,a))throw new Error("token pair not supported by bridge");return i?.recipient===void 0?this.l1Bridge.populateTransaction.depositERC20((0,zo.toAddress)(t),(0,zo.toAddress)(a),r,i?.l2GasLimit||2e5,"0x",i?.overrides||{}):this.l1Bridge.populateTransaction.depositERC20To((0,zo.toAddress)(t),(0,zo.toAddress)(a),(0,zo.toAddress)(i.recipient),r,i?.l2GasLimit||2e5,"0x",i?.overrides||{})},withdraw:async(t,a,r,i)=>{if(!await this.supportsTokenPair(t,a))throw new Error("token pair not supported by bridge");return i?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,zo.toAddress)(a),r,0,"0x",i?.overrides||{}):this.l2Bridge.populateTransaction.withdrawTo((0,zo.toAddress)(a),(0,zo.toAddress)(i.recipient),r,0,"0x",i?.overrides||{})}},this.estimateGas={approve:async(t,a,r,i)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.approve(t,a,r,i)),deposit:async(t,a,r,i)=>this.messenger.l1Provider.estimateGas(await this.populateTransaction.deposit(t,a,r,i)),withdraw:async(t,a,r,i)=>this.messenger.l2Provider.estimateGas(await this.populateTransaction.withdraw(t,a,r,i))},this.messenger=e.messenger,this.l1Bridge=new a3.Contract((0,zo.toAddress)(e.l1Bridge),Wq0.default.abi,this.messenger.l1Provider),this.l2Bridge=new a3.Contract((0,zo.toAddress)(e.l2Bridge),jq0.default.abi,this.messenger.l2Provider)}async getDepositsByAddress(e,t){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ERC20DepositInitiated(void 0,void 0,e),t?.fromBlock,t?.toBlock)).filter(r=>!(0,n3.hexStringEquals)(r.args.l1Token,a3.ethers.constants.AddressZero)&&!(0,n3.hexStringEquals)(r.args.l2Token,qfe.predeploys.OVM_ETH)).map(r=>({direction:wKe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,i)=>i.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,t){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),t?.fromBlock,t?.toBlock)).filter(r=>!(0,n3.hexStringEquals)(r.args.l1Token,a3.ethers.constants.AddressZero)&&!(0,n3.hexStringEquals)(r.args.l2Token,qfe.predeploys.OVM_ETH)).map(r=>({direction:wKe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,i)=>i.blockNumber-r.blockNumber)}async supportsTokenPair(e,t){let a=new a3.Contract((0,zo.toAddress)(t),Hfe.default.abi,this.messenger.l2Provider);if((0,n3.hexStringEquals)((0,zo.toAddress)(e),a3.ethers.constants.AddressZero)||(0,n3.hexStringEquals)((0,zo.toAddress)(t),qfe.predeploys.OVM_ETH))return!1;let r=await a.l1Token();if(!(0,n3.hexStringEquals)(r,(0,zo.toAddress)(e)))return!1;let i=await a.l2Bridge();return!!(0,n3.hexStringEquals)(i,this.l2Bridge.address)}async approval(e,t,a){if(!await this.supportsTokenPair(e,t))throw new Error("token pair not supported by bridge");return new a3.Contract((0,zo.toAddress)(e),Hfe.default.abi,this.messenger.l1Provider).allowance(await a.getAddress(),this.l1Bridge.address)}async approve(e,t,a,r,i){return r.sendTransaction(await this.populateTransaction.approve(e,t,a,i))}async deposit(e,t,a,r,i){return r.sendTransaction(await this.populateTransaction.deposit(e,t,a,i))}async withdraw(e,t,a,r,i){return r.sendTransaction(await this.populateTransaction.withdraw(e,t,a,i))}};F_.StandardBridgeAdapter=zfe});var EKe=B(sq=>{"use strict";p();u();Object.defineProperty(sq,"__esModule",{value:!0});sq.DAIBridgeAdapter=void 0;var xKe=fy(),Gq0=Ue(),IKe=y7(),Kq0=rA(),jfe=class extends Kq0.StandardBridgeAdapter{async supportsTokenPair(e,t){let a=new Gq0.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"l2Token",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=await a.l1Token();if(!(0,xKe.hexStringEquals)(r,(0,IKe.toAddress)(e)))return!1;let i=await a.l2Token();return!!(0,xKe.hexStringEquals)(i,(0,IKe.toAddress)(t))}};sq.DAIBridgeAdapter=jfe});var AKe=B(fq=>{"use strict";p();u();Object.defineProperty(fq,"__esModule",{value:!0});fq.ECOBridgeAdapter=void 0;var DKe=fy(),CKe=Ue(),SKe=y7(),Qq0=rA(),Gfe=class extends Qq0.StandardBridgeAdapter{async supportsTokenPair(e,t){let a=new CKe.Contract(this.l1Bridge.address,[{inputs:[],name:"l1Eco",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l1Provider),r=new CKe.Contract(this.l2Bridge.address,[{inputs:[],name:"l2Eco",outputs:[{internalType:"contract L2ECO",name:"",type:"address"}],stateMutability:"view",type:"function"}],this.messenger.l2Provider),[i,s]=await Promise.all([a.l1Eco(),r.l2Eco()]);return!(!(0,DKe.hexStringEquals)(i,(0,SKe.toAddress)(e))||!(0,DKe.hexStringEquals)(s,(0,SKe.toAddress)(t)))}};fq.ECOBridgeAdapter=Gfe});var Kfe=B(oq=>{"use strict";p();u();Object.defineProperty(oq,"__esModule",{value:!0});oq.omit=void 0;var Yq0=(n,...e)=>{let t=Object.assign({},n);for(let a of e)delete t[a];return t};oq.omit=Yq0});var PKe=B(lq=>{"use strict";p();u();Object.defineProperty(lq,"__esModule",{value:!0});lq.ETHBridgeAdapter=void 0;var Qfe=B_(),cq=fy(),Yfe=Ue(),kKe=N_(),O_=y7(),dq=Kfe(),Jq0=rA(),Jfe=class extends Jq0.StandardBridgeAdapter{constructor(){super(...arguments),this.populateTransaction={approve:async(e,t,a,r)=>{throw new Error("approvals not necessary for ETH bridge")},deposit:async(e,t,a,r)=>{if(!await this.supportsTokenPair(e,t))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l1Bridge.populateTransaction.depositETH(r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,dq.omit)(r?.overrides||{},"value")),{value:a})):this.l1Bridge.populateTransaction.depositETHTo((0,O_.toAddress)(r.recipient),r?.l2GasLimit||2e5,"0x",Object.assign(Object.assign({},(0,dq.omit)(r?.overrides||{},"value")),{value:a}))},withdraw:async(e,t,a,r)=>{if(!await this.supportsTokenPair(e,t))throw new Error("token pair not supported by bridge");return r?.recipient===void 0?this.l2Bridge.populateTransaction.withdraw((0,O_.toAddress)(t),a,0,"0x",Object.assign(Object.assign({},(0,dq.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0})):this.l2Bridge.populateTransaction.withdrawTo((0,O_.toAddress)(t),(0,O_.toAddress)(r.recipient),a,0,"0x",Object.assign(Object.assign({},(0,dq.omit)(r?.overrides||{},"value")),{value:this.messenger.bedrock?a:0}))}}}async approval(e,t,a){throw new Error("approval not necessary for ETH bridge")}async getDepositsByAddress(e,t){return(await this.l1Bridge.queryFilter(this.l1Bridge.filters.ETHDepositInitiated(e),t?.fromBlock,t?.toBlock)).map(r=>({direction:kKe.MessageDirection.L1_TO_L2,from:r.args.from,to:r.args.to,l1Token:Yfe.ethers.constants.AddressZero,l2Token:Qfe.predeploys.OVM_ETH,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,i)=>i.blockNumber-r.blockNumber)}async getWithdrawalsByAddress(e,t){return(await this.l2Bridge.queryFilter(this.l2Bridge.filters.WithdrawalInitiated(void 0,void 0,e),t?.fromBlock,t?.toBlock)).filter(r=>(0,cq.hexStringEquals)(r.args.l1Token,Yfe.ethers.constants.AddressZero)&&(0,cq.hexStringEquals)(r.args.l2Token,Qfe.predeploys.OVM_ETH)).map(r=>({direction:kKe.MessageDirection.L2_TO_L1,from:r.args.from,to:r.args.to,l1Token:r.args.l1Token,l2Token:r.args.l2Token,amount:r.args.amount,data:r.args.extraData,logIndex:r.logIndex,blockNumber:r.blockNumber,transactionHash:r.transactionHash})).sort((r,i)=>i.blockNumber-r.blockNumber)}async supportsTokenPair(e,t){return(0,cq.hexStringEquals)((0,O_.toAddress)(e),Yfe.ethers.constants.AddressZero)&&(0,cq.hexStringEquals)((0,O_.toAddress)(t),Qfe.predeploys.OVM_ETH)}};lq.ETHBridgeAdapter=Jfe});var uq=B(L5=>{"use strict";p();u();var Xq0=L5&&L5.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),pq=L5&&L5.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Xq0(e,n,t)};Object.defineProperty(L5,"__esModule",{value:!0});pq(EKe(),L5);pq(AKe(),L5);pq(PKe(),L5);pq(rA(),L5)});var yq=B(M5=>{"use strict";p();u();var Zq0=M5&&M5.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(M5,"__esModule",{value:!0});M5.getLength=M5.decode=M5.encode=void 0;var eH0=Zq0(Dr());function LKe(n){if(Array.isArray(n)){for(var e=[],t=0;tn.length)throw new Error("invalid rlp: total length is larger than the data");if(r=n.slice(t,o),r.length===0)throw new Error("invalid rlp, List has a invalid length");for(;r.length;)i=Zfe(r),s.push(i.data),r=i.remainder;return{data:s,remainder:n.slice(o)}}}function MKe(n){return n.slice(0,2)==="0x"}function aH0(n){return typeof n!="string"?n:MKe(n)?n.slice(2):n}function eoe(n){if(n<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=n.toString(16);return e.length%2?"0"+e:e}function rH0(n){return n.length%2?"0"+n:n}function iH0(n){var e=eoe(n);return D.Buffer.from(e,"hex")}function toe(n){if(!D.Buffer.isBuffer(n)){if(typeof n=="string")return MKe(n)?D.Buffer.from(rH0(aH0(n)),"hex"):D.Buffer.from(n);if(typeof n=="number"||typeof n=="bigint")return n?iH0(n):D.Buffer.from([]);if(n==null)return D.Buffer.from([]);if(n instanceof Uint8Array)return D.Buffer.from(n);if(eH0.default.isBN(n))return D.Buffer.from(n.toArray());throw new Error("invalid type")}return n}});var iA=B((_ca,BKe)=>{p();u();var sH0="2.0.0",fH0=Number.MAX_SAFE_INTEGER||9007199254740991,oH0=16,cH0=250,dH0=["major","premajor","minor","preminor","patch","prepatch","prerelease"];BKe.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:oH0,MAX_SAFE_BUILD_LENGTH:cH0,MAX_SAFE_INTEGER:fH0,RELEASE_TYPES:dH0,SEMVER_SPEC_VERSION:sH0,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var sA=B((Ica,NKe)=>{p();u();var lH0=typeof E=="object"&&E.env&&E.env.NODE_DEBUG&&/\bsemver\b/i.test(E.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};NKe.exports=lH0});var V_=B((cy,FKe)=>{p();u();var{MAX_SAFE_COMPONENT_LENGTH:noe,MAX_SAFE_BUILD_LENGTH:pH0,MAX_LENGTH:uH0}=iA(),yH0=sA();cy=FKe.exports={};var mH0=cy.re=[],bH0=cy.safeRe=[],t0=cy.src=[],n0=cy.t={},hH0=0,aoe="[a-zA-Z0-9-]",gH0=[["\\s",1],["\\d",uH0],[aoe,pH0]],vH0=n=>{for(let[e,t]of gH0)n=n.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return n},X0=(n,e,t)=>{let a=vH0(e),r=hH0++;yH0(n,r,e),n0[n]=r,t0[r]=e,mH0[r]=new RegExp(e,t?"g":void 0),bH0[r]=new RegExp(a,t?"g":void 0)};X0("NUMERICIDENTIFIER","0|[1-9]\\d*");X0("NUMERICIDENTIFIERLOOSE","\\d+");X0("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${aoe}*`);X0("MAINVERSION",`(${t0[n0.NUMERICIDENTIFIER]})\\.(${t0[n0.NUMERICIDENTIFIER]})\\.(${t0[n0.NUMERICIDENTIFIER]})`);X0("MAINVERSIONLOOSE",`(${t0[n0.NUMERICIDENTIFIERLOOSE]})\\.(${t0[n0.NUMERICIDENTIFIERLOOSE]})\\.(${t0[n0.NUMERICIDENTIFIERLOOSE]})`);X0("PRERELEASEIDENTIFIER",`(?:${t0[n0.NUMERICIDENTIFIER]}|${t0[n0.NONNUMERICIDENTIFIER]})`);X0("PRERELEASEIDENTIFIERLOOSE",`(?:${t0[n0.NUMERICIDENTIFIERLOOSE]}|${t0[n0.NONNUMERICIDENTIFIER]})`);X0("PRERELEASE",`(?:-(${t0[n0.PRERELEASEIDENTIFIER]}(?:\\.${t0[n0.PRERELEASEIDENTIFIER]})*))`);X0("PRERELEASELOOSE",`(?:-?(${t0[n0.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t0[n0.PRERELEASEIDENTIFIERLOOSE]})*))`);X0("BUILDIDENTIFIER",`${aoe}+`);X0("BUILD",`(?:\\+(${t0[n0.BUILDIDENTIFIER]}(?:\\.${t0[n0.BUILDIDENTIFIER]})*))`);X0("FULLPLAIN",`v?${t0[n0.MAINVERSION]}${t0[n0.PRERELEASE]}?${t0[n0.BUILD]}?`);X0("FULL",`^${t0[n0.FULLPLAIN]}$`);X0("LOOSEPLAIN",`[v=\\s]*${t0[n0.MAINVERSIONLOOSE]}${t0[n0.PRERELEASELOOSE]}?${t0[n0.BUILD]}?`);X0("LOOSE",`^${t0[n0.LOOSEPLAIN]}$`);X0("GTLT","((?:<|>)?=?)");X0("XRANGEIDENTIFIERLOOSE",`${t0[n0.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);X0("XRANGEIDENTIFIER",`${t0[n0.NUMERICIDENTIFIER]}|x|X|\\*`);X0("XRANGEPLAIN",`[v=\\s]*(${t0[n0.XRANGEIDENTIFIER]})(?:\\.(${t0[n0.XRANGEIDENTIFIER]})(?:\\.(${t0[n0.XRANGEIDENTIFIER]})(?:${t0[n0.PRERELEASE]})?${t0[n0.BUILD]}?)?)?`);X0("XRANGEPLAINLOOSE",`[v=\\s]*(${t0[n0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t0[n0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t0[n0.XRANGEIDENTIFIERLOOSE]})(?:${t0[n0.PRERELEASELOOSE]})?${t0[n0.BUILD]}?)?)?`);X0("XRANGE",`^${t0[n0.GTLT]}\\s*${t0[n0.XRANGEPLAIN]}$`);X0("XRANGELOOSE",`^${t0[n0.GTLT]}\\s*${t0[n0.XRANGEPLAINLOOSE]}$`);X0("COERCEPLAIN",`(^|[^\\d])(\\d{1,${noe}})(?:\\.(\\d{1,${noe}}))?(?:\\.(\\d{1,${noe}}))?`);X0("COERCE",`${t0[n0.COERCEPLAIN]}(?:$|[^\\d])`);X0("COERCEFULL",t0[n0.COERCEPLAIN]+`(?:${t0[n0.PRERELEASE]})?(?:${t0[n0.BUILD]})?(?:$|[^\\d])`);X0("COERCERTL",t0[n0.COERCE],!0);X0("COERCERTLFULL",t0[n0.COERCEFULL],!0);X0("LONETILDE","(?:~>?)");X0("TILDETRIM",`(\\s*)${t0[n0.LONETILDE]}\\s+`,!0);cy.tildeTrimReplace="$1~";X0("TILDE",`^${t0[n0.LONETILDE]}${t0[n0.XRANGEPLAIN]}$`);X0("TILDELOOSE",`^${t0[n0.LONETILDE]}${t0[n0.XRANGEPLAINLOOSE]}$`);X0("LONECARET","(?:\\^)");X0("CARETTRIM",`(\\s*)${t0[n0.LONECARET]}\\s+`,!0);cy.caretTrimReplace="$1^";X0("CARET",`^${t0[n0.LONECARET]}${t0[n0.XRANGEPLAIN]}$`);X0("CARETLOOSE",`^${t0[n0.LONECARET]}${t0[n0.XRANGEPLAINLOOSE]}$`);X0("COMPARATORLOOSE",`^${t0[n0.GTLT]}\\s*(${t0[n0.LOOSEPLAIN]})$|^$`);X0("COMPARATOR",`^${t0[n0.GTLT]}\\s*(${t0[n0.FULLPLAIN]})$|^$`);X0("COMPARATORTRIM",`(\\s*)${t0[n0.GTLT]}\\s*(${t0[n0.LOOSEPLAIN]}|${t0[n0.XRANGEPLAIN]})`,!0);cy.comparatorTrimReplace="$1$2$3";X0("HYPHENRANGE",`^\\s*(${t0[n0.XRANGEPLAIN]})\\s+-\\s+(${t0[n0.XRANGEPLAIN]})\\s*$`);X0("HYPHENRANGELOOSE",`^\\s*(${t0[n0.XRANGEPLAINLOOSE]})\\s+-\\s+(${t0[n0.XRANGEPLAINLOOSE]})\\s*$`);X0("STAR","(<|>)?=?\\s*\\*");X0("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");X0("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var mq=B((Aca,OKe)=>{p();u();var TH0=Object.freeze({loose:!0}),_H0=Object.freeze({}),wH0=n=>n?typeof n!="object"?TH0:n:_H0;OKe.exports=wH0});var roe=B((Rca,UKe)=>{p();u();var VKe=/^[0-9]+$/,$Ke=(n,e)=>{let t=VKe.test(n),a=VKe.test(e);return t&&a&&(n=+n,e=+e),n===e?0:t&&!a?-1:a&&!t?1:n$Ke(e,n);UKe.exports={compareIdentifiers:$Ke,rcompareIdentifiers:xH0}});var Wo=B((Bca,WKe)=>{p();u();var bq=sA(),{MAX_LENGTH:qKe,MAX_SAFE_INTEGER:hq}=iA(),{safeRe:HKe,t:zKe}=V_(),IH0=mq(),{compareIdentifiers:$_}=roe(),ioe=class n{constructor(e,t){if(t=IH0(t),e instanceof n){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>qKe)throw new TypeError(`version is longer than ${qKe} characters`);bq("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let a=e.trim().match(t.loose?HKe[zKe.LOOSE]:HKe[zKe.FULL]);if(!a)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>hq||this.major<0)throw new TypeError("Invalid major version");if(this.minor>hq||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>hq||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let i=+r;if(i>=0&&i=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(t===this.prerelease.join(".")&&a===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(t){let i=[t,r];a===!1&&(i=[t]),$_(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};WKe.exports=ioe});var m7=B((Oca,GKe)=>{p();u();var jKe=Wo(),EH0=(n,e,t=!1)=>{if(n instanceof jKe)return n;try{return new jKe(n,e)}catch(a){if(!t)return null;throw a}};GKe.exports=EH0});var QKe=B((Uca,KKe)=>{p();u();var DH0=m7(),CH0=(n,e)=>{let t=DH0(n,e);return t?t.version:null};KKe.exports=CH0});var JKe=B((zca,YKe)=>{p();u();var SH0=m7(),AH0=(n,e)=>{let t=SH0(n.trim().replace(/^[=v]+/,""),e);return t?t.version:null};YKe.exports=AH0});var eQe=B((Gca,ZKe)=>{p();u();var XKe=Wo(),kH0=(n,e,t,a,r)=>{typeof t=="string"&&(r=a,a=t,t=void 0);try{return new XKe(n instanceof XKe?n.version:n,t).inc(e,a,r).version}catch{return null}};ZKe.exports=kH0});var aQe=B((Yca,nQe)=>{p();u();var tQe=m7(),PH0=(n,e)=>{let t=tQe(n,null,!0),a=tQe(e,null,!0),r=t.compare(a);if(r===0)return null;let i=r>0,s=i?t:a,f=i?a:t,o=!!s.prerelease.length;if(!!f.prerelease.length&&!o)return!f.patch&&!f.minor?"major":s.patch?"patch":s.minor?"minor":"major";let d=o?"pre":"";return t.major!==a.major?d+"major":t.minor!==a.minor?d+"minor":t.patch!==a.patch?d+"patch":"prerelease"};nQe.exports=PH0});var iQe=B((Zca,rQe)=>{p();u();var RH0=Wo(),LH0=(n,e)=>new RH0(n,e).major;rQe.exports=LH0});var fQe=B((nda,sQe)=>{p();u();var MH0=Wo(),BH0=(n,e)=>new MH0(n,e).minor;sQe.exports=BH0});var cQe=B((ida,oQe)=>{p();u();var NH0=Wo(),FH0=(n,e)=>new NH0(n,e).patch;oQe.exports=FH0});var lQe=B((oda,dQe)=>{p();u();var OH0=m7(),VH0=(n,e)=>{let t=OH0(n,e);return t&&t.prerelease.length?t.prerelease:null};dQe.exports=VH0});var P6=B((lda,uQe)=>{p();u();var pQe=Wo(),$H0=(n,e,t)=>new pQe(n,t).compare(new pQe(e,t));uQe.exports=$H0});var mQe=B((yda,yQe)=>{p();u();var UH0=P6(),qH0=(n,e,t)=>UH0(e,n,t);yQe.exports=qH0});var hQe=B((hda,bQe)=>{p();u();var HH0=P6(),zH0=(n,e)=>HH0(n,e,!0);bQe.exports=zH0});var gq=B((Tda,vQe)=>{p();u();var gQe=Wo(),WH0=(n,e,t)=>{let a=new gQe(n,t),r=new gQe(e,t);return a.compare(r)||a.compareBuild(r)};vQe.exports=WH0});var _Qe=B((xda,TQe)=>{p();u();var jH0=gq(),GH0=(n,e)=>n.sort((t,a)=>jH0(t,a,e));TQe.exports=GH0});var xQe=B((Dda,wQe)=>{p();u();var KH0=gq(),QH0=(n,e)=>n.sort((t,a)=>KH0(a,t,e));wQe.exports=QH0});var fA=B((Ada,IQe)=>{p();u();var YH0=P6(),JH0=(n,e,t)=>YH0(n,e,t)>0;IQe.exports=JH0});var vq=B((Rda,EQe)=>{p();u();var XH0=P6(),ZH0=(n,e,t)=>XH0(n,e,t)<0;EQe.exports=ZH0});var soe=B((Bda,DQe)=>{p();u();var ez0=P6(),tz0=(n,e,t)=>ez0(n,e,t)===0;DQe.exports=tz0});var foe=B((Oda,CQe)=>{p();u();var nz0=P6(),az0=(n,e,t)=>nz0(n,e,t)!==0;CQe.exports=az0});var Tq=B((Uda,SQe)=>{p();u();var rz0=P6(),iz0=(n,e,t)=>rz0(n,e,t)>=0;SQe.exports=iz0});var _q=B((zda,AQe)=>{p();u();var sz0=P6(),fz0=(n,e,t)=>sz0(n,e,t)<=0;AQe.exports=fz0});var ooe=B((Gda,kQe)=>{p();u();var oz0=soe(),cz0=foe(),dz0=fA(),lz0=Tq(),pz0=vq(),uz0=_q(),yz0=(n,e,t,a)=>{switch(e){case"===":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n===t;case"!==":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n!==t;case"":case"=":case"==":return oz0(n,t,a);case"!=":return cz0(n,t,a);case">":return dz0(n,t,a);case">=":return lz0(n,t,a);case"<":return pz0(n,t,a);case"<=":return uz0(n,t,a);default:throw new TypeError(`Invalid operator: ${e}`)}};kQe.exports=yz0});var RQe=B((Yda,PQe)=>{p();u();var mz0=Wo(),bz0=m7(),{safeRe:wq,t:xq}=V_(),hz0=(n,e)=>{if(n instanceof mz0)return n;if(typeof n=="number"&&(n=String(n)),typeof n!="string")return null;e=e||{};let t=null;if(!e.rtl)t=n.match(e.includePrerelease?wq[xq.COERCEFULL]:wq[xq.COERCE]);else{let o=e.includePrerelease?wq[xq.COERCERTLFULL]:wq[xq.COERCERTL],c;for(;(c=o.exec(n))&&(!t||t.index+t[0].length!==n.length);)(!t||c.index+c[0].length!==t.index+t[0].length)&&(t=c),o.lastIndex=c.index+c[1].length+c[2].length;o.lastIndex=-1}if(t===null)return null;let a=t[2],r=t[3]||"0",i=t[4]||"0",s=e.includePrerelease&&t[5]?`-${t[5]}`:"",f=e.includePrerelease&&t[6]?`+${t[6]}`:"";return bz0(`${a}.${r}.${i}${s}${f}`,e)};PQe.exports=hz0});var MQe=B((Zda,LQe)=>{p();u();var coe=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(e,t)}return this}};LQe.exports=coe});var R6=B((n6a,OQe)=>{p();u();var doe=class n{constructor(e,t){if(t=vz0(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof loe)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(a=>this.parseRange(a.trim())).filter(a=>a.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let a=this.set[0];if(this.set=this.set.filter(r=>!NQe(r[0])),this.set.length===0)this.set=[a];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&Dz0(r[0])){this.set=[r];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let a=((this.options.includePrerelease&&Iz0)|(this.options.loose&&Ez0))+":"+e,r=BQe.get(a);if(r)return r;let i=this.options.loose,s=i?wc[A1.HYPHENRANGELOOSE]:wc[A1.HYPHENRANGE];e=e.replace(s,Nz0(this.options.includePrerelease)),Wr("hyphen replace",e),e=e.replace(wc[A1.COMPARATORTRIM],_z0),Wr("comparator trim",e),e=e.replace(wc[A1.TILDETRIM],wz0),Wr("tilde trim",e),e=e.replace(wc[A1.CARETTRIM],xz0),Wr("caret trim",e);let f=e.split(" ").map(l=>Cz0(l,this.options)).join(" ").split(/\s+/).map(l=>Bz0(l,this.options));i&&(f=f.filter(l=>(Wr("loose invalid filter",l,this.options),!!l.match(wc[A1.COMPARATORLOOSE])))),Wr("range list",f);let o=new Map,c=f.map(l=>new loe(l,this.options));for(let l of c){if(NQe(l))return[l];o.set(l.value,l)}o.size>1&&o.has("")&&o.delete("");let d=[...o.values()];return BQe.set(a,d),d}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(a=>FQe(a,t)&&e.set.some(r=>FQe(r,t)&&a.every(i=>r.every(s=>i.intersects(s,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Tz0(e,this.options)}catch{return!1}for(let t=0;tn.value==="<0.0.0-0",Dz0=n=>n.value==="",FQe=(n,e)=>{let t=!0,a=n.slice(),r=a.pop();for(;t&&a.length;)t=a.every(i=>r.intersects(i,e)),r=a.pop();return t},Cz0=(n,e)=>(Wr("comp",n,e),n=kz0(n,e),Wr("caret",n),n=Sz0(n,e),Wr("tildes",n),n=Rz0(n,e),Wr("xrange",n),n=Mz0(n,e),Wr("stars",n),n),k1=n=>!n||n.toLowerCase()==="x"||n==="*",Sz0=(n,e)=>n.trim().split(/\s+/).map(t=>Az0(t,e)).join(" "),Az0=(n,e)=>{let t=e.loose?wc[A1.TILDELOOSE]:wc[A1.TILDE];return n.replace(t,(a,r,i,s,f)=>{Wr("tilde",n,a,r,i,s,f);let o;return k1(r)?o="":k1(i)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:k1(s)?o=`>=${r}.${i}.0 <${r}.${+i+1}.0-0`:f?(Wr("replaceTilde pr",f),o=`>=${r}.${i}.${s}-${f} <${r}.${+i+1}.0-0`):o=`>=${r}.${i}.${s} <${r}.${+i+1}.0-0`,Wr("tilde return",o),o})},kz0=(n,e)=>n.trim().split(/\s+/).map(t=>Pz0(t,e)).join(" "),Pz0=(n,e)=>{Wr("caret",n,e);let t=e.loose?wc[A1.CARETLOOSE]:wc[A1.CARET],a=e.includePrerelease?"-0":"";return n.replace(t,(r,i,s,f,o)=>{Wr("caret",n,r,i,s,f,o);let c;return k1(i)?c="":k1(s)?c=`>=${i}.0.0${a} <${+i+1}.0.0-0`:k1(f)?i==="0"?c=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.0${a} <${+i+1}.0.0-0`:o?(Wr("replaceCaret pr",o),i==="0"?s==="0"?c=`>=${i}.${s}.${f}-${o} <${i}.${s}.${+f+1}-0`:c=`>=${i}.${s}.${f}-${o} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.${f}-${o} <${+i+1}.0.0-0`):(Wr("no pr"),i==="0"?s==="0"?c=`>=${i}.${s}.${f}${a} <${i}.${s}.${+f+1}-0`:c=`>=${i}.${s}.${f}${a} <${i}.${+s+1}.0-0`:c=`>=${i}.${s}.${f} <${+i+1}.0.0-0`),Wr("caret return",c),c})},Rz0=(n,e)=>(Wr("replaceXRanges",n,e),n.split(/\s+/).map(t=>Lz0(t,e)).join(" ")),Lz0=(n,e)=>{n=n.trim();let t=e.loose?wc[A1.XRANGELOOSE]:wc[A1.XRANGE];return n.replace(t,(a,r,i,s,f,o)=>{Wr("xRange",n,a,r,i,s,f,o);let c=k1(i),d=c||k1(s),l=d||k1(f),y=l;return r==="="&&y&&(r=""),o=e.includePrerelease?"-0":"",c?r===">"||r==="<"?a="<0.0.0-0":a="*":r&&y?(d&&(s=0),f=0,r===">"?(r=">=",d?(i=+i+1,s=0,f=0):(s=+s+1,f=0)):r==="<="&&(r="<",d?i=+i+1:s=+s+1),r==="<"&&(o="-0"),a=`${r+i}.${s}.${f}${o}`):d?a=`>=${i}.0.0${o} <${+i+1}.0.0-0`:l&&(a=`>=${i}.${s}.0${o} <${i}.${+s+1}.0-0`),Wr("xRange return",a),a})},Mz0=(n,e)=>(Wr("replaceStars",n,e),n.trim().replace(wc[A1.STAR],"")),Bz0=(n,e)=>(Wr("replaceGTE0",n,e),n.trim().replace(wc[e.includePrerelease?A1.GTE0PRE:A1.GTE0],"")),Nz0=n=>(e,t,a,r,i,s,f,o,c,d,l,y)=>(k1(a)?t="":k1(r)?t=`>=${a}.0.0${n?"-0":""}`:k1(i)?t=`>=${a}.${r}.0${n?"-0":""}`:s?t=`>=${t}`:t=`>=${t}${n?"-0":""}`,k1(c)?o="":k1(d)?o=`<${+c+1}.0.0-0`:k1(l)?o=`<${c}.${+d+1}.0-0`:y?o=`<=${c}.${d}.${l}-${y}`:n?o=`<${c}.${d}.${+l+1}-0`:o=`<=${o}`,`${t} ${o}`.trim()),Fz0=(n,e,t)=>{for(let a=0;a0){let r=n[a].semver;if(r.major===e.major&&r.minor===e.minor&&r.patch===e.patch)return!0}return!1}return!0}});var oA=B((i6a,zQe)=>{p();u();var cA=Symbol("SemVer ANY"),yoe=class n{static get ANY(){return cA}constructor(e,t){if(t=VQe(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),uoe("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===cA?this.value="":this.value=this.operator+this.semver.version,uoe("comp",this)}parse(e){let t=this.options.loose?$Qe[UQe.COMPARATORLOOSE]:$Qe[UQe.COMPARATOR],a=e.match(t);if(!a)throw new TypeError(`Invalid comparator: ${e}`);this.operator=a[1]!==void 0?a[1]:"",this.operator==="="&&(this.operator=""),a[2]?this.semver=new qQe(a[2],this.options.loose):this.semver=cA}toString(){return this.value}test(e){if(uoe("Comparator.test",e,this.options.loose),this.semver===cA||e===cA)return!0;if(typeof e=="string")try{e=new qQe(e,this.options)}catch{return!1}return poe(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new HQe(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new HQe(this.value,t).test(e.semver):(t=VQe(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||poe(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||poe(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};zQe.exports=yoe;var VQe=mq(),{safeRe:$Qe,t:UQe}=V_(),poe=ooe(),uoe=sA(),qQe=Wo(),HQe=R6()});var dy=B((o6a,WQe)=>{p();u();var Oz0=R6(),Vz0=(n,e,t)=>{try{e=new Oz0(e,t)}catch{return!1}return e.test(n)};WQe.exports=Vz0});var GQe=B((l6a,jQe)=>{p();u();var $z0=R6(),Uz0=(n,e)=>new $z0(n,e).set.map(t=>t.map(a=>a.value).join(" ").trim().split(" "));jQe.exports=Uz0});var QQe=B((y6a,KQe)=>{p();u();var qz0=Wo(),Hz0=R6(),zz0=(n,e,t)=>{let a=null,r=null,i=null;try{i=new Hz0(e,t)}catch{return null}return n.forEach(s=>{i.test(s)&&(!a||r.compare(s)===-1)&&(a=s,r=new qz0(a,t))}),a};KQe.exports=zz0});var JQe=B((h6a,YQe)=>{p();u();var Wz0=Wo(),jz0=R6(),Gz0=(n,e,t)=>{let a=null,r=null,i=null;try{i=new jz0(e,t)}catch{return null}return n.forEach(s=>{i.test(s)&&(!a||r.compare(s)===1)&&(a=s,r=new Wz0(a,t))}),a};YQe.exports=Gz0});var eYe=B((T6a,ZQe)=>{p();u();var moe=Wo(),Kz0=R6(),XQe=fA(),Qz0=(n,e)=>{n=new Kz0(n,e);let t=new moe("0.0.0");if(n.test(t)||(t=new moe("0.0.0-0"),n.test(t)))return t;t=null;for(let a=0;a{let f=new moe(s.semver.version);switch(s.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!i||XQe(f,i))&&(i=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),i&&(!t||XQe(t,i))&&(t=i)}return t&&n.test(t)?t:null};ZQe.exports=Qz0});var nYe=B((x6a,tYe)=>{p();u();var Yz0=R6(),Jz0=(n,e)=>{try{return new Yz0(n,e).range||"*"}catch{return null}};tYe.exports=Jz0});var Iq=B((D6a,sYe)=>{p();u();var Xz0=Wo(),iYe=oA(),{ANY:Zz0}=iYe,eW0=R6(),tW0=dy(),aYe=fA(),rYe=vq(),nW0=_q(),aW0=Tq(),rW0=(n,e,t,a)=>{n=new Xz0(n,a),e=new eW0(e,a);let r,i,s,f,o;switch(t){case">":r=aYe,i=nW0,s=rYe,f=">",o=">=";break;case"<":r=rYe,i=aW0,s=aYe,f="<",o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tW0(n,e,a))return!1;for(let c=0;c{h.semver===Zz0&&(h=new iYe(">=0.0.0")),l=l||h,y=y||h,r(h.semver,l.semver,a)?l=h:s(h.semver,y.semver,a)&&(y=h)}),l.operator===f||l.operator===o||(!y.operator||y.operator===f)&&i(n,y.semver))return!1;if(y.operator===o&&s(n,y.semver))return!1}return!0};sYe.exports=rW0});var oYe=B((A6a,fYe)=>{p();u();var iW0=Iq(),sW0=(n,e,t)=>iW0(n,e,">",t);fYe.exports=sW0});var dYe=B((R6a,cYe)=>{p();u();var fW0=Iq(),oW0=(n,e,t)=>fW0(n,e,"<",t);cYe.exports=oW0});var uYe=B((B6a,pYe)=>{p();u();var lYe=R6(),cW0=(n,e,t)=>(n=new lYe(n,t),e=new lYe(e,t),n.intersects(e,t));pYe.exports=cW0});var mYe=B((O6a,yYe)=>{p();u();var dW0=dy(),lW0=P6();yYe.exports=(n,e,t)=>{let a=[],r=null,i=null,s=n.sort((d,l)=>lW0(d,l,t));for(let d of s)dW0(d,e,t)?(i=d,r||(r=d)):(i&&a.push([r,i]),i=null,r=null);r&&a.push([r,null]);let f=[];for(let[d,l]of a)d===l?f.push(d):!l&&d===s[0]?f.push("*"):l?d===s[0]?f.push(`<=${l}`):f.push(`${d} - ${l}`):f.push(`>=${d}`);let o=f.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return o.length{p();u();var bYe=R6(),hoe=oA(),{ANY:boe}=hoe,dA=dy(),goe=P6(),pW0=(n,e,t={})=>{if(n===e)return!0;n=new bYe(n,t),e=new bYe(e,t);let a=!1;e:for(let r of n.set){for(let i of e.set){let s=yW0(r,i,t);if(a=a||s!==null,s)continue e}if(a)return!1}return!0},uW0=[new hoe(">=0.0.0-0")],hYe=[new hoe(">=0.0.0")],yW0=(n,e,t)=>{if(n===e)return!0;if(n.length===1&&n[0].semver===boe){if(e.length===1&&e[0].semver===boe)return!0;t.includePrerelease?n=uW0:n=hYe}if(e.length===1&&e[0].semver===boe){if(t.includePrerelease)return!0;e=hYe}let a=new Set,r,i;for(let h of n)h.operator===">"||h.operator===">="?r=gYe(r,h,t):h.operator==="<"||h.operator==="<="?i=vYe(i,h,t):a.add(h.semver);if(a.size>1)return null;let s;if(r&&i){if(s=goe(r.semver,i.semver,t),s>0)return null;if(s===0&&(r.operator!==">="||i.operator!=="<="))return null}for(let h of a){if(r&&!dA(h,String(r),t)||i&&!dA(h,String(i),t))return null;for(let T of e)if(!dA(h,String(T),t))return!1;return!0}let f,o,c,d,l=i&&!t.includePrerelease&&i.semver.prerelease.length?i.semver:!1,y=r&&!t.includePrerelease&&r.semver.prerelease.length?r.semver:!1;l&&l.prerelease.length===1&&i.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let h of e){if(d=d||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",r){if(y&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===y.major&&h.semver.minor===y.minor&&h.semver.patch===y.patch&&(y=!1),h.operator===">"||h.operator===">="){if(f=gYe(r,h,t),f===h&&f!==r)return!1}else if(r.operator===">="&&!dA(r.semver,String(h),t))return!1}if(i){if(l&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===l.major&&h.semver.minor===l.minor&&h.semver.patch===l.patch&&(l=!1),h.operator==="<"||h.operator==="<="){if(o=vYe(i,h,t),o===h&&o!==i)return!1}else if(i.operator==="<="&&!dA(i.semver,String(h),t))return!1}if(!h.operator&&(i||r)&&s!==0)return!1}return!(r&&c&&!i&&s!==0||i&&d&&!r&&s!==0||y||l)},gYe=(n,e,t)=>{if(!n)return e;let a=goe(n.semver,e.semver,t);return a>0?n:a<0||e.operator===">"&&n.operator===">="?e:n},vYe=(n,e,t)=>{if(!n)return e;let a=goe(n.semver,e.semver,t);return a<0?n:a>0||e.operator==="<"&&n.operator==="<="?e:n};TYe.exports=pW0});var EYe=B((z6a,IYe)=>{p();u();var voe=V_(),wYe=iA(),mW0=Wo(),xYe=roe(),bW0=m7(),hW0=QKe(),gW0=JKe(),vW0=eQe(),TW0=aQe(),_W0=iQe(),wW0=fQe(),xW0=cQe(),IW0=lQe(),EW0=P6(),DW0=mQe(),CW0=hQe(),SW0=gq(),AW0=_Qe(),kW0=xQe(),PW0=fA(),RW0=vq(),LW0=soe(),MW0=foe(),BW0=Tq(),NW0=_q(),FW0=ooe(),OW0=RQe(),VW0=oA(),$W0=R6(),UW0=dy(),qW0=GQe(),HW0=QQe(),zW0=JQe(),WW0=eYe(),jW0=nYe(),GW0=Iq(),KW0=oYe(),QW0=dYe(),YW0=uYe(),JW0=mYe(),XW0=_Ye();IYe.exports={parse:bW0,valid:hW0,clean:gW0,inc:vW0,diff:TW0,major:_W0,minor:wW0,patch:xW0,prerelease:IW0,compare:EW0,rcompare:DW0,compareLoose:CW0,compareBuild:SW0,sort:AW0,rsort:kW0,gt:PW0,lt:RW0,eq:LW0,neq:MW0,gte:BW0,lte:NW0,cmp:FW0,coerce:OW0,Comparator:VW0,Range:$W0,satisfies:UW0,toComparators:qW0,maxSatisfying:HW0,minSatisfying:zW0,minVersion:WW0,validRange:jW0,outside:GW0,gtr:KW0,ltr:QW0,intersects:YW0,simplifyRange:JW0,subset:XW0,SemVer:mW0,re:voe.re,src:voe.src,tokens:voe.t,SEMVER_SPEC_VERSION:wYe.SEMVER_SPEC_VERSION,RELEASE_TYPES:wYe.RELEASE_TYPES,compareIdentifiers:xYe.compareIdentifiers,rcompareIdentifiers:xYe.rcompareIdentifiers}});var _oe=B(vr=>{"use strict";p();u();Object.defineProperty(vr,"__esModule",{value:!0});vr.BRIDGE_ADAPTER_DATA=vr.CONTRACT_ADDRESSES=vr.IGNORABLE_CONTRACTS=vr.DEFAULT_L2_CONTRACT_ADDRESSES=vr.CHAIN_BLOCK_TIMES=vr.DEPOSIT_CONFIRMATION_BLOCKS=void 0;var Zl=fy(),Eq=Ue(),U_=uq(),va=N_(),DYe={mainnet:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed",goerli:"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383",sepolia:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"},ZW0={mainnet:"0xdfe97868233d1aa22e815a266982f2cf17685a27",goerli:"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0",sepolia:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"},ej0={mainnet:"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F",goerli:"0xa6f73589243a6A7a9023b1Fa0651b1d89c177111",sepolia:"0x9bFE9c5609311DF1c011c47642253B78a4f33F4B"},tj0={mainnet:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",goerli:"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8",sepolia:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"},nj0={mainnet:"0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",goerli:"0x5086d1eEF304eb5284A0f6720f79403b4e9bE294",sepolia:"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"},aj0={mainnet:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9",goerli:Eq.ethers.constants.AddressZero,sepolia:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"},rj0={mainnet:"0xBe5dAb4A2e9cd0F27300dB4aB94BeE3A233AEB19",goerli:"0x9c945aC97Baf48cB784AbBB61399beB71aF7A378",sepolia:Eq.ethers.constants.AddressZero},ij0={mainnet:"0x5E4e65926BA27467555EB562121fac00D24E9dD2",goerli:"0x607F755149cFEB3a14E1Dc3A4E2450Cde7dfb04D",sepolia:Eq.ethers.constants.AddressZero};vr.DEPOSIT_CONFIRMATION_BLOCKS={[va.L2ChainID.OPTIMISM]:50,[va.L2ChainID.OPTIMISM_GOERLI]:12,[va.L2ChainID.OPTIMISM_SEPOLIA]:12,[va.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:2,[va.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:2,[va.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:12,[va.L2ChainID.BASE_GOERLI]:25,[va.L2ChainID.BASE_SEPOLIA]:25,[va.L2ChainID.BASE_MAINNET]:10,[va.L2ChainID.ZORA_GOERLI]:12,[va.L2ChainID.ZORA_MAINNET]:50,[va.L2ChainID.MODE_SEPOLIA]:25,[va.L2ChainID.MODE_MAINNET]:50};vr.CHAIN_BLOCK_TIMES={[va.L1ChainID.MAINNET]:13,[va.L1ChainID.GOERLI]:15,[va.L1ChainID.SEPOLIA]:15,[va.L1ChainID.HARDHAT_LOCAL]:1,[va.L1ChainID.BEDROCK_LOCAL_DEVNET]:15};vr.DEFAULT_L2_CONTRACT_ADDRESSES={L2CrossDomainMessenger:Zl.predeploys.L2CrossDomainMessenger,L2ToL1MessagePasser:Zl.predeploys.L2ToL1MessagePasser,L2StandardBridge:Zl.predeploys.L2StandardBridge,OVM_L1BlockNumber:Zl.predeploys.L1BlockNumber,OVM_L2ToL1MessagePasser:Zl.predeploys.L2ToL1MessagePasser,OVM_DeployerWhitelist:Zl.predeploys.DeployerWhitelist,OVM_ETH:Zl.predeploys.LegacyERC20ETH,OVM_GasPriceOracle:Zl.predeploys.GasPriceOracle,OVM_SequencerFeeVault:Zl.predeploys.SequencerFeeVault,WETH:Zl.predeploys.WETH9,BedrockMessagePasser:Zl.predeploys.L2ToL1MessagePasser};var Toe=n=>({AddressManager:ej0[n],L1CrossDomainMessenger:nj0[n],L1StandardBridge:tj0[n],StateCommitmentChain:rj0[n],CanonicalTransactionChain:ij0[n],BondManager:Eq.ethers.constants.AddressZero,OptimismPortal:DYe[n],L2OutputOracle:ZW0[n],OptimismPortal2:DYe[n],DisputeGameFactory:aj0[n]});vr.IGNORABLE_CONTRACTS=["OptimismPortal2","DisputeGameFactory"];vr.CONTRACT_ADDRESSES={[va.L2ChainID.OPTIMISM]:{l1:Toe("mainnet"),l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.OPTIMISM_GOERLI]:{l1:Toe("goerli"),l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.OPTIMISM_SEPOLIA]:{l1:Toe("sepolia"),l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.OPTIMISM_HARDHAT_LOCAL]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.OPTIMISM_HARDHAT_DEVNET]:{l1:{AddressManager:"0x5FbDB2315678afecb367f032d93F642f64180aa3",L1CrossDomainMessenger:"0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",L1StandardBridge:"0x610178dA211FEF7D417bC0e6FeD39F05609AD788",StateCommitmentChain:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",CanonicalTransactionChain:"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",BondManager:"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",OptimismPortal:"0x0000000000000000000000000000000000000000",L2OutputOracle:"0x0000000000000000000000000000000000000000",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.OPTIMISM_BEDROCK_ALPHA_TESTNET]:{l1:{AddressManager:"0xb4e08DcE1F323608229265c9d4125E22a4B9dbAF",L1CrossDomainMessenger:"0x838a6DC4E37CA45D4Ef05bb776bf05eEf50798De",L1StandardBridge:"0xFf94B6C486350aD92561Ba09bad3a59df764Da92",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xA581Ca3353DB73115C4625FFC7aDF5dB379434A8",L2OutputOracle:"0x3A234299a14De50027eA65dCdf1c0DaC729e04A6",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.BASE_GOERLI]:{l1:{AddressManager:"0x4Cf6b56b14c6CFcB72A75611080514F94624c54e",L1CrossDomainMessenger:"0x8e5693140eA606bcEB98761d9beB1BC87383706D",L1StandardBridge:"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA",L2OutputOracle:"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.BASE_SEPOLIA]:{l1:{AddressManager:"0x709c2B8ef4A9feFc629A8a2C1AF424Dc5BD6ad1B",L1CrossDomainMessenger:"0xC34855F4De64F1840e5686e64278da901e261f20",L1StandardBridge:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49f53e41452C74589E85cA1677426Ba426459e85",L2OutputOracle:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.BASE_MAINNET]:{l1:{AddressManager:"0x8EfB6B5c4767B09Dc9AA6Af4eAA89F749522BaE2",L1CrossDomainMessenger:"0x866E82a600A1414e583f7F13623F1aC5d58b0Afa",L1StandardBridge:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",L2OutputOracle:"0x56315b90c40730925ec5485cf004d835058518A0",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.ZORA_GOERLI]:{l1:{AddressManager:"0x54f4676203dEDA6C08E0D40557A119c602bFA246",L1CrossDomainMessenger:"0xD87342e16352D33170557A7dA1e5fB966a60FafC",L1StandardBridge:"0x7CC09AC2452D6555d5e0C213Ab9E2d44eFbFc956",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0xDb9F51790365e7dc196e7D072728df39Be958ACe",L2OutputOracle:"0xdD292C9eEd00f6A32Ff5245d0BCd7f2a15f24e00",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.ZORA_MAINNET]:{l1:{AddressManager:"0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef",L1CrossDomainMessenger:"0xdC40a14d9abd6F410226f1E6de71aE03441ca506",L1StandardBridge:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054",L2OutputOracle:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.MODE_SEPOLIA]:{l1:{AddressManager:"0x83D45725d6562d8CD717673D6bb4c67C07dC1905",L1CrossDomainMessenger:"0xc19a60d9E8C27B9A43527c3283B4dd8eDC8bE15C",L1StandardBridge:"0xbC5C679879B2965296756CD959C3C739769995E2",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x320e1580effF37E008F1C92700d1eBa47c1B23fD",L2OutputOracle:"0x2634BD65ba27AB63811c74A63118ACb312701Bfa",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES},[va.L2ChainID.MODE_MAINNET]:{l1:{AddressManager:"0x50eF494573f28Cad6B64C31b7a00Cdaa48306e15",L1CrossDomainMessenger:"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f",L1StandardBridge:"0x735aDBbE72226BD52e818E7181953f42E3b0FF21",StateCommitmentChain:"0x0000000000000000000000000000000000000000",CanonicalTransactionChain:"0x0000000000000000000000000000000000000000",BondManager:"0x0000000000000000000000000000000000000000",OptimismPortal:"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07",L2OutputOracle:"0x4317ba146D4933D889518a3e5E11Fe7a53199b04",OptimismPortal2:"0x0000000000000000000000000000000000000000",DisputeGameFactory:"0x0000000000000000000000000000000000000000"},l2:vr.DEFAULT_L2_CONTRACT_ADDRESSES}};vr.BRIDGE_ADAPTER_DATA={[va.L2ChainID.OPTIMISM]:{wstETH:{Adapter:U_.DAIBridgeAdapter,l1Bridge:"0x76943C0D61395d8F2edF9060e1533529cAe05dE6",l2Bridge:"0x8E01013243a96601a86eb3153F0d9Fa4fbFb6957"},BitBTC:{Adapter:U_.StandardBridgeAdapter,l1Bridge:"0xaBA2c5F108F7E820C049D5Af70B16ac266c8f128",l2Bridge:"0x158F513096923fF2d3aab2BcF4478536de6725e2"},DAI:{Adapter:U_.DAIBridgeAdapter,l1Bridge:"0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:U_.ECOBridgeAdapter,l1Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824",l2Bridge:"0xAa029BbdC947F5205fBa0F3C11b592420B58f824"}},[va.L2ChainID.OPTIMISM_GOERLI]:{DAI:{Adapter:U_.DAIBridgeAdapter,l1Bridge:"0x05a388Db09C2D44ec0b00Ee188cD42365c42Df23",l2Bridge:"0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65"},ECO:{Adapter:U_.ECOBridgeAdapter,l1Bridge:"0x9A4464D6bFE006715382D39D183AAf66c952a3e0",l2Bridge:"0x6aA809bAeA2e4C057b3994127cB165119c6fc3B2"}}}});var CYe=B((Y6a,sj0)=>{sj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"create",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"payable"},{type:"function",name:"findLatestGames",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_n",type:"uint256",internalType:"uint256"}],outputs:[{name:"games_",type:"tuple[]",internalType:"struct IDisputeGameFactory.GameSearchResult[]",components:[{name:"index",type:"uint256",internalType:"uint256"},{name:"metadata",type:"bytes32",internalType:"GameId"},{name:"timestamp",type:"uint64",internalType:"Timestamp"},{name:"rootClaim",type:"bytes32",internalType:"Claim"},{name:"extraData",type:"bytes",internalType:"bytes"}]}],stateMutability:"view"},{type:"function",name:"gameAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"},{name:"proxy_",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"gameCount",inputs:[],outputs:[{name:"gameCount_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"gameImpls",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],stateMutability:"view"},{type:"function",name:"games",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"proxy_",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp_",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"getGameUUID",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_rootClaim",type:"bytes32",internalType:"Claim"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[{name:"uuid_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"initBonds",inputs:[{name:"",type:"uint32",internalType:"GameType"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_owner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementation",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_impl",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setInitBond",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_initBond",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"DisputeGameCreated",inputs:[{name:"disputeProxy",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"rootClaim",type:"bytes32",indexed:!0,internalType:"Claim"}],anonymous:!1},{type:"event",name:"ImplementationSet",inputs:[{name:"impl",type:"address",indexed:!0,internalType:"address"},{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"}],anonymous:!1},{type:"event",name:"InitBondUpdated",inputs:[{name:"gameType",type:"uint32",indexed:!0,internalType:"GameType"},{name:"newBond",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"GameAlreadyExists",inputs:[{name:"uuid",type:"bytes32",internalType:"Hash"}]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"NoImplementation",inputs:[{name:"gameType",type:"uint32",internalType:"GameType"}]}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000292565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016260201b62000cdd1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b6200010c62000171565b6200011782620001d9565b80156200015e576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001cd5760405162461bcd60e51b815260206004820152602b60248201526000805160206200185283398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d76200022b565b565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16620002875760405162461bcd60e51b815260206004820152602b60248201526000805160206200185283398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b620001d733620001d9565b6115b080620002a26000396000f3fe6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d6101083660046110bf565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110f6565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d610197366004611111565b61045e565b3480156101a857600080fd5b506101bc6101b736600461113b565b6104aa565b60405161017391906111e8565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e362e3000000000000000000000000000000000000000000000000000000081525081565b60405161017391906112a5565b34801561024a57600080fd5b5061025e6102593660046112b8565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110f6565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e33660046112b8565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e3660046112b8565b6109ef565b34801561033f57600080fd5b5061035361034e36600461133f565b610a28565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611358565b610a8a565b3480156103c057600080fd5b5061010d6103cf366004611358565b610c26565b6103dc610cf9565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf9565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f0611375565b600091825260209091200154905060e081901c60a082901c67ffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff831663ffffffff891683036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113d3565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610643919061149e565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a5161068591906114b7565b8151811061069557610695611375565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ef565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf9565b6107536000610d7a565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108206001436114b7565b40905061088a338783888860405160200161083f9594939291906114f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610df1565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d457600080fd5b505af11580156108e8573d6000803e3d6000fd5b505050505060006108fb888888886109ef565b60008181526067602052604090205490915015610947576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a089493929190611542565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7d60688581548110610a4357610a43611375565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aaa5750600054600160ff909116105b80610ac45750303b158015610ac4575060005460ff166001145b610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bae57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb6610dff565b610bbf82610d7a565b8015610c2257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2e610cf9565b73ffffffffffffffffffffffffffffffffffffffff8116610cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cda81610d7a565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006106e760008484610e9e565b600054610100900460ff16610e96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753610fe4565b600060608203516040830351602084035184518060208701018051600283016c5af43d3d93803e606057fd5bf3895289600d8a035278593da1005b363d3d373d3d3d3d610000806062363936013d738160481b1760218a03527f9e4ac34f21c619cefc926c8bd93b54bf5a39c7ab2127a895af1cc0691d7e3dff603a8a035272fd6100003d81600a3d39f336602c57343d527f6062820160781b1761ff9e82106059018a03528060f01b8352606c8101604c8a038cf097505086610f6a5763301164256000526004601cfd5b905285527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08501527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08401527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa09092019190915292915050565b600054610100900460ff1661107b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d7a565b803563ffffffff8116811461109857600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cda57600080fd5b600080604083850312156110d257600080fd5b6110db83611084565b915060208301356110eb8161109d565b809150509250929050565b60006020828403121561110857600080fd5b6106e782611084565b6000806040838503121561112457600080fd5b61112d83611084565b946020939093013593505050565b60008060006060848603121561115057600080fd5b61115984611084565b95602085013595506040909401359392505050565b60005b83811015611189578181015183820152602001611171565b83811115611198576000848401525b50505050565b600081518084526111b681602086016020860161116e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611297578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a0918501829052906112838186018361119e565b96890196945050509086019060010161120f565b509098975050505050505050565b6020815260006106e7602083018461119e565b600080600080606085870312156112ce57600080fd5b6112d785611084565b935060208501359250604085013567ffffffffffffffff808211156112fb57600080fd5b818701915087601f83011261130f57600080fd5b81358181111561131e57600080fd5b88602082850101111561133057600080fd5b95989497505060200194505050565b60006020828403121561135157600080fd5b5035919050565b60006020828403121561136a57600080fd5b81356106e78161109d565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113e557600080fd5b815167ffffffffffffffff808211156113fd57600080fd5b818401915084601f83011261141157600080fd5b815181811115611423576114236113a4565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611469576114696113a4565b8160405282815287602084870101111561148257600080fd5b61149383602083016020880161116e565b979650505050505050565b6000602082840312156114b057600080fd5b5051919050565b6000828210156114f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008660601b1681528460148201528360348201528183605483013760009101605401908152949350505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069",sourceMap:"989:7456:163:-:0;;;1965:74;;;;;;;;;-1:-1:-1;2010:22:163::1;2029:1;2010:10;:22::i;:::-;989:7456:::0;;2136:124;3111:19:27;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:27;;;;;:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:27;;216:2:357;3157:201:27;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3157:201:27;;;;;;;;;3368:12;:16;;-1:-1:-1;;3368:16:27;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;3428:20:27;;;;;3394:65;2201:16:163::1;:14;:16::i;:::-;2227:26;2246:6:::0;2227:18:::1;:26::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;3513:21:27;;;3553:14;;-1:-1:-1;581:36:357;;3553:14:27;;569:2:357;554:18;3553:14:27;;;;;;;3479:99;3101:483;2136:124:163;:::o;1186:320:33:-;-1:-1:-1;;;;;1476:19:33;;:23;;;1186:320::o;1003:95:26:-;4910:13:27;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:27;;830:2:357;4902:69:27;;;812:21:357;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:357;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4902:69:27;628:407:357;4902:69:27;1065:26:26::1;:24;:26::i;:::-;1003:95::o:0;2673:187::-;2765:6;;;-1:-1:-1;;;;;2781:17:26;;;-1:-1:-1;;;;;;2781:17:26;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;1104:111::-;4910:13:27;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:27;;830:2:357;4902:69:27;;;812:21:357;869:2;849:18;;;842:30;-1:-1:-1;;;;;;;;;;;888:18:357;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4902:69:27;628:407:357;4902:69:27;1176:32:26::1;929:10:34::0;1176:18:26::1;:32::i;628:407:357:-:0;989:7456:163;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100e85760003560e01c80636593dc6e1161008a57806396cd97201161005957806396cd972014610313578063bb8aa1fc14610333578063c4d66de814610394578063f2fde38b146103b457600080fd5b80636593dc6e14610293578063715018a6146102c057806382ecf2f6146102d55780638da5cb5b146102e857600080fd5b8063254bd683116100c6578063254bd6831461019c5780634d1975b4146101c957806354fd4d50146101e85780635f0150cb1461023e57600080fd5b806314f6b1a3146100ed5780631b685b9e1461010f5780631e3342401461017c575b600080fd5b3480156100f957600080fd5b5061010d6101083660046110bf565b6103d4565b005b34801561011b57600080fd5b5061015261012a3660046110f6565b60656020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018857600080fd5b5061010d610197366004611111565b61045e565b3480156101a857600080fd5b506101bc6101b736600461113b565b6104aa565b60405161017391906111e8565b3480156101d557600080fd5b506068545b604051908152602001610173565b3480156101f457600080fd5b506102316040518060400160405280600581526020017f302e362e3000000000000000000000000000000000000000000000000000000081525081565b60405161017391906112a5565b34801561024a57600080fd5b5061025e6102593660046112b8565b6106ee565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff909116602083015201610173565b34801561029f57600080fd5b506101da6102ae3660046110f6565b60666020526000908152604090205481565b3480156102cc57600080fd5b5061010d610741565b6101526102e33660046112b8565b610755565b3480156102f457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610152565b34801561031f57600080fd5b506101da61032e3660046112b8565b6109ef565b34801561033f57600080fd5b5061035361034e36600461133f565b610a28565b6040805163ffffffff909416845267ffffffffffffffff909216602084015273ffffffffffffffffffffffffffffffffffffffff1690820152606001610173565b3480156103a057600080fd5b5061010d6103af366004611358565b610a8a565b3480156103c057600080fd5b5061010d6103cf366004611358565b610c26565b6103dc610cf9565b63ffffffff821660008181526065602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616908117909155905190917fff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de91a35050565b610466610cf9565b63ffffffff8216600081815260666020526040808220849055518392917f74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca91a35050565b606854606090831015806104bc575081155b6106e7575060408051600583901b8101602001909152825b8381116106e5576000606882815481106104f0576104f0611375565b600091825260209091200154905060e081901c60a082901c67ffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff831663ffffffff891683036106b6576001865101865260008173ffffffffffffffffffffffffffffffffffffffff1663609d33346040518163ffffffff1660e01b8152600401600060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526105d091908101906113d3565b905060008273ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610643919061149e565b90506040518060a001604052808881526020018781526020018567ffffffffffffffff168152602001828152602001838152508860018a5161068591906114b7565b8151811061069557610695611375565b6020026020010181905250888851106106b3575050505050506106e5565b50505b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191506104d49050565b505b9392505050565b60008060006106ff878787876109ef565b60009081526067602052604090205473ffffffffffffffffffffffffffffffffffffffff81169860a09190911c67ffffffffffffffff16975095505050505050565b610749610cf9565b6107536000610d7a565b565b63ffffffff841660009081526065602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107c5576040517f031c6de400000000000000000000000000000000000000000000000000000000815263ffffffff871660048201526024015b60405180910390fd5b63ffffffff86166000908152606660205260409020543414610813576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108206001436114b7565b40905061088a338783888860405160200161083f9594939291906114f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905273ffffffffffffffffffffffffffffffffffffffff841690610df1565b92508273ffffffffffffffffffffffffffffffffffffffff16638129fc1c346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156108d457600080fd5b505af11580156108e8573d6000803e3d6000fd5b505050505060006108fb888888886109ef565b60008181526067602052604090205490915015610947576040517f014f6fe5000000000000000000000000000000000000000000000000000000008152600481018290526024016107bc565b60004260a01b60e08a901b178517600083815260676020526040808220839055606880546001810182559083527fa2153420d844928b4421650203c77babc8b33d7f2e7b450e2966db0c220977530183905551919250899163ffffffff8c169173ffffffffffffffffffffffffffffffffffffffff8916917f5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e359190a450505050949350505050565b600084848484604051602001610a089493929190611542565b604051602081830303815290604052805190602001209050949350505050565b6000806000610a7d60688581548110610a4357610a43611375565b906000526020600020015460e081901c9160a082901c67ffffffffffffffff169173ffffffffffffffffffffffffffffffffffffffff1690565b9196909550909350915050565b600054610100900460ff1615808015610aaa5750600054600160ff909116105b80610ac45750303b158015610ac4575060005460ff166001145b610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107bc565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610bae57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610bb6610dff565b610bbf82610d7a565b8015610c2257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b610c2e610cf9565b73ffffffffffffffffffffffffffffffffffffffff8116610cd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bc565b610cda81610d7a565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60335473ffffffffffffffffffffffffffffffffffffffff163314610753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bc565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006106e760008484610e9e565b600054610100900460ff16610e96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b610753610fe4565b600060608203516040830351602084035184518060208701018051600283016c5af43d3d93803e606057fd5bf3895289600d8a035278593da1005b363d3d373d3d3d3d610000806062363936013d738160481b1760218a03527f9e4ac34f21c619cefc926c8bd93b54bf5a39c7ab2127a895af1cc0691d7e3dff603a8a035272fd6100003d81600a3d39f336602c57343d527f6062820160781b1761ff9e82106059018a03528060f01b8352606c8101604c8a038cf097505086610f6a5763301164256000526004601cfd5b905285527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08501527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08401527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa09092019190915292915050565b600054610100900460ff1661107b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107bc565b61075333610d7a565b803563ffffffff8116811461109857600080fd5b919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610cda57600080fd5b600080604083850312156110d257600080fd5b6110db83611084565b915060208301356110eb8161109d565b809150509250929050565b60006020828403121561110857600080fd5b6106e782611084565b6000806040838503121561112457600080fd5b61112d83611084565b946020939093013593505050565b60008060006060848603121561115057600080fd5b61115984611084565b95602085013595506040909401359392505050565b60005b83811015611189578181015183820152602001611171565b83811115611198576000848401525b50505050565b600081518084526111b681602086016020860161116e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015611297578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051845287810151888501528681015167ffffffffffffffff16878501526060808201519085015260809081015160a0918501829052906112838186018361119e565b96890196945050509086019060010161120f565b509098975050505050505050565b6020815260006106e7602083018461119e565b600080600080606085870312156112ce57600080fd5b6112d785611084565b935060208501359250604085013567ffffffffffffffff808211156112fb57600080fd5b818701915087601f83011261130f57600080fd5b81358181111561131e57600080fd5b88602082850101111561133057600080fd5b95989497505060200194505050565b60006020828403121561135157600080fd5b5035919050565b60006020828403121561136a57600080fd5b81356106e78161109d565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000602082840312156113e557600080fd5b815167ffffffffffffffff808211156113fd57600080fd5b818401915084601f83011261141157600080fd5b815181811115611423576114236113a4565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611469576114696113a4565b8160405282815287602084870101111561148257600080fd5b61149383602083016020880161116e565b979650505050505050565b6000602082840312156114b057600080fd5b5051919050565b6000828210156114f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008660601b1681528460148201528360348201528183605483013760009101605401908152949350505050565b63ffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101939250505056fea164736f6c634300080f000a",sourceMap:"989:7456:163:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8027:190;;;;;;;;;;-1:-1:-1;8027:190:163;;;;;:::i;:::-;;:::i;:::-;;1338:50;;;;;;;;;;-1:-1:-1;1338:50:163;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1237:42:357;1225:55;;;1207:74;;1195:2;1180:18;1338:50:163;;;;;;;;8263:180;;;;;;;;;;-1:-1:-1;8263:180:163;;;;;:::i;:::-;;:::i;6052:1929::-;;;;;;;;;;-1:-1:-1;6052:1929:163;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2306:117::-;;;;;;;;;;-1:-1:-1;2393:16:163;:23;2306:117;;;4100:25:357;;;4088:2;4073:18;2306:117:163;3954:177:357;1251:40:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2469:342::-;;;;;;;;;;-1:-1:-1;2469:342:163;;;;;:::i;:::-;;:::i;:::-;;;;5437:42:357;5425:55;;;5407:74;;5529:18;5517:31;;;5512:2;5497:18;;5490:59;5380:18;2469:342:163;5179:376:357;1435:45:163;;;;;;;;;;-1:-1:-1;1435:45:163;;;;;:::i;:::-;;;;;;;;;;;;;;2071:101:26;;;;;;;;;;;;;:::i;3138:2553:163:-;;;;;;:::i;:::-;;:::i;1441:85:26:-;;;;;;;;;;-1:-1:-1;1513:6:26;;;;1441:85;;5737:269:163;;;;;;;;;;-1:-1:-1;5737:269:163;;;;;:::i;:::-;;:::i;2857:235::-;;;;;;;;;;-1:-1:-1;2857:235:163;;;;;:::i;:::-;;:::i;:::-;;;;6501:10:357;6489:23;;;6471:42;;6561:18;6549:31;;;6544:2;6529:18;;6522:59;6629:42;6617:55;6597:18;;;6590:83;6459:2;6444:18;2857:235:163;6185:494:357;2136:124:163;;;;;;;;;;-1:-1:-1;2136:124:163;;;;;:::i;:::-;;:::i;2321:198:26:-;;;;;;;;;;-1:-1:-1;2321:198:26;;;;;:::i;:::-;;:::i;8027:190:163:-;1334:13:26;:11;:13::i;:::-;8123:20:163::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:28;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;8166:44;;8123:28;;8166:44:::1;::::0;::::1;8027:190:::0;;:::o;8263:180::-;1334:13:26;:11;:13::i;:::-;8352:20:163::1;::::0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;:32;;;8399:37;8375:9;;8352:20;8399:37:::1;::::0;::::1;8263:180:::0;;:::o;6052:1929::-;6384:16;:23;6202:32;;6374:33;;;;:44;;-1:-1:-1;6411:7:163;;6374:44;6420:13;6370:63;-1:-1:-1;6690:4:163;6684:11;;6747:4;6743:13;;;6721:37;;6737:4;6721:37;6708:51;;;6891:6;6874:1101;6914:6;6909:1;:11;6874:1101;;6937:9;6949:16;6966:1;6949:19;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;1277:3:174;1273:17;;;1325:3;1321:17;;;1340:18;1317:42;1399;1386:56;;7093:13:163;;;7075:33;;7071:834;;7433:4;7424:6;7418:13;7414:24;7406:6;7399:40;7475:22;7500:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7475:42;;7535:15;7553:5;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7535:35;;7616:226;;;;;;;;7662:1;7616:226;;;;7695:2;7616:226;;;;7730:9;7616:226;;;;;;7772:9;7616:226;;;;7814:9;7616:226;;;7588:6;7611:1;7595:6;:13;:17;;;;:::i;:::-;7588:25;;;;;;;;:::i;:::-;;;;;;:254;;;;7881:2;7864:6;:13;:19;7860:30;;7885:5;;;;;;;;7860:30;7110:795;;7071:834;-1:-1:-1;;7947:3:163;;;;;-1:-1:-1;6874:1101:163;;-1:-1:-1;6874:1101:163;;;6052:1929;;;;;;:::o;2469:342::-;2626:19;2647:20;2683:9;2695:46;2707:9;2718:10;2730;;2695:11;:46::i;:::-;2776:19;;;;:13;:19;;;;;;1399:42:174;1386:56;;;1325:3;1321:17;;;;1340:18;1317:42;;-1:-1:-1;2751:53:163;-1:-1:-1;;;;;;2469:342:163:o;2071:101:26:-;1334:13;:11;:13::i;:::-;2135:30:::1;2162:1;2135:18;:30::i;:::-;2071:101::o:0;3138:2553:163:-;3424:20;;;3299:19;3424:20;;;:9;:20;;;;;;;;;3539:67;;3579:27;;;;;8982:10:357;8970:23;;3579:27:163;;;8952:42:357;8925:18;;3579:27:163;;;;;;;;3539:67;3701:20;;;;;;;:9;:20;;;;;;3688:9;:33;3684:67;;3730:21;;;;;;;;;;;;;;3684:67;3807:18;3838:16;3853:1;3838:12;:16;:::i;:::-;3828:27;3807:48;;4890:85;4927:10;4939;4951;4963;;4910:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;4890:19;;;;;:85::i;:::-;4868:108;;4986:6;:17;;;5012:9;4986:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5099:9;5111:46;5123:9;5134:10;5146;;5111:11;:46::i;:::-;5290:1;5258:19;;;:13;:19;;;;;;5099:58;;-1:-1:-1;5244:48:163;5240:84;;5301:23;;;;;;;;4100:25:357;;;4073:18;;5301:23:163;3954:177:357;5240:84:163;5364:9;5424:15;767:3:174;763:20;746:3;742:19;;;739:45;736:61;;5552:19:163;;;;:13;:19;;;;;;:24;;;5586:16;:25;;;;;;;;;;;;;;;5626:58;5364:86;;-1:-1:-1;5673:10:163;;5626:58;;;;;;;;;;5552:19;5626:58;3324:2367;;;;3138:2553;;;;;;:::o;5737:269::-;5898:10;5963:9;5974:10;5986;;5952:45;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5942:56;;;;;;5924:75;;5737:269;;;;;;:::o;2857:235::-;2941:18;2961:20;2983:19;3052:33;:16;3069:6;3052:24;;;;;;;;:::i;:::-;;;;;;;;;1277:3:174;1273:17;;;;1325:3;1321:17;;;1340:18;1317:42;;1399;1386:56;;1077:381;3052:33:163;3018:67;;;;-1:-1:-1;3018:67:163;;-1:-1:-1;2857:235:163;-1:-1:-1;;2857:235:163:o;2136:124::-;3111:19:27;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:27;1476:19:33;:23;;;3219:66:27;;-1:-1:-1;3268:12:27;;;;;:17;3219:66;3157:201;;;;;;;10469:2:357;3157:201:27;;;10451:21:357;10508:2;10488:18;;;10481:30;10547:34;10527:18;;;10520:62;10618:16;10598:18;;;10591:44;10652:19;;3157:201:27;10267:410:357;3157:201:27;3368:12;:16;;;;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;2201:16:163::1;:14;:16::i;:::-;2227:26;2246:6;2227:18;:26::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;10834:36:357;;3553:14:27;;10822:2:357;10807:18;3553:14:27;;;;;;;3479:99;3101:483;2136:124:163;:::o;2321:198:26:-;1334:13;:11;:13::i;:::-;2409:22:::1;::::0;::::1;2401:73;;;::::0;::::1;::::0;;11083:2:357;2401:73:26::1;::::0;::::1;11065:21:357::0;11122:2;11102:18;;;11095:30;11161:34;11141:18;;;11134:62;11232:8;11212:18;;;11205:36;11258:19;;2401:73:26::1;10881:402:357::0;2401:73:26::1;2484:28;2503:8;2484:18;:28::i;:::-;2321:198:::0;:::o;1186:320:33:-;1476:19;;;:23;;;1186:320::o;1599:130:26:-;1513:6;;1662:23;1513:6;929:10:34;1662:23:26;1654:68;;;;;;;11490:2:357;1654:68:26;;;11472:21:357;;;11509:18;;;11502:30;11568:34;11548:18;;;11541:62;11620:18;;1654:68:26;11288:356:357;2673:187:26;2765:6;;;;2781:17;;;;;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;19667:152:99:-;19743:16;19782:30;19788:1;19791:14;19807:4;19782:5;:30::i;1003:95:26:-;4910:13:27;;;;;;;4902:69;;;;;;;11851:2:357;4902:69:27;;;11833:21:357;11890:2;11870:18;;;11863:30;11929:34;11909:18;;;11902:62;12000:13;11980:18;;;11973:41;12031:19;;4902:69:27;11649:407:357;4902:69:27;1065:26:26::1;:24;:26::i;19918:11162:99:-:0;20025:16;20200:4;20194;20190:15;20184:22;20251:4;20245;20241:15;20235:22;20302:4;20296;20292:15;20286:22;20345:4;20339:11;20399:10;20392:4;20386;20382:15;20378:32;20444:7;20438:14;20582:1;20570:10;20566:18;29569:28;29563:4;29556:42;29674:14;29667:4;29661;29657:15;29650:39;29877:52;29863:11;29857:4;29853:22;29850:80;29827:4;29821;29817:15;29793:151;30048:66;30041:4;30035;30031:15;30007:121;30449:40;30441:4;30428:11;30424:22;30418:4;30414:33;30411:79;30384:6;30371:11;30368:23;30362:4;30358:34;30352:4;30348:45;30141:363;30543:11;30537:4;30533:22;30524:7;30517:39;30630:4;30617:11;30613:22;30606:4;30600;30596:15;30589:5;30582:54;30570:66;;;30659:8;30649:136;;30700:10;30694:4;30687:24;30766:4;30760;30753:18;30649:136;30865:24;;30902;;30946:15;;;30939:33;30992:15;;;30985:33;31038:15;;;;31031:33;;;;19918:11162;;-1:-1:-1;;19918:11162:99:o;1104:111:26:-;4910:13:27;;;;;;;4902:69;;;;;;;11851:2:357;4902:69:27;;;11833:21:357;11890:2;11870:18;;;11863:30;11929:34;11909:18;;;11902:62;12000:13;11980:18;;;11973:41;12031:19;;4902:69:27;11649:407:357;4902:69:27;1176:32:26::1;929:10:34::0;1176:18:26::1;:32::i;14:186:357:-:0;104:20;;164:10;153:22;;143:33;;133:61;;190:1;187;180:12;133:61;14:186;;;:::o;205:168::-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;378:411;500:6;508;561:2;549:9;540:7;536:23;532:32;529:52;;;577:1;574;567:12;529:52;600:51;641:9;600:51;:::i;:::-;590:61;;701:2;690:9;686:18;673:32;714:45;753:5;714:45;:::i;:::-;778:5;768:15;;;378:411;;;;;:::o;794:239::-;884:6;937:2;925:9;916:7;912:23;908:32;905:52;;;953:1;950;943:12;905:52;976:51;1017:9;976:51;:::i;1292:307::-;1391:6;1399;1452:2;1440:9;1431:7;1427:23;1423:32;1420:52;;;1468:1;1465;1458:12;1420:52;1491:51;1532:9;1491:51;:::i;:::-;1481:61;1589:2;1574:18;;;;1561:32;;-1:-1:-1;;;1292:307:357:o;1604:375::-;1712:6;1720;1728;1781:2;1769:9;1760:7;1756:23;1752:32;1749:52;;;1797:1;1794;1787:12;1749:52;1820:51;1861:9;1820:51;:::i;:::-;1810:61;1918:2;1903:18;;1890:32;;-1:-1:-1;1969:2:357;1954:18;;;1941:32;;1604:375;-1:-1:-1;;;1604:375:357:o;1984:258::-;2056:1;2066:113;2080:6;2077:1;2074:13;2066:113;;;2156:11;;;2150:18;2137:11;;;2130:39;2102:2;2095:10;2066:113;;;2197:6;2194:1;2191:13;2188:48;;;2232:1;2223:6;2218:3;2214:16;2207:27;2188:48;;1984:258;;;:::o;2247:316::-;2288:3;2326:5;2320:12;2353:6;2348:3;2341:19;2369:63;2425:6;2418:4;2413:3;2409:14;2402:4;2395:5;2391:16;2369:63;:::i;:::-;2477:2;2465:15;2482:66;2461:88;2452:98;;;;2552:4;2448:109;;2247:316;-1:-1:-1;;2247:316:357:o;2568:1381::-;2782:4;2811:2;2851;2840:9;2836:18;2881:2;2870:9;2863:21;2904:6;2939;2933:13;2970:6;2962;2955:22;2996:2;2986:12;;3029:2;3018:9;3014:18;3007:25;;3091:2;3081:6;3078:1;3074:14;3063:9;3059:30;3055:39;3129:2;3121:6;3117:15;3150:1;3160:760;3174:6;3171:1;3168:13;3160:760;;;3239:22;;;3263:66;3235:95;3223:108;;3354:13;;3422:9;;3407:25;;3475:11;;;3469:18;3452:15;;;3445:43;3535:11;;;3529:18;3549;3525:43;3508:15;;;3501:68;3592:4;3639:11;;;3633:18;3616:15;;;3609:43;3675:4;3718:11;;;3712:18;3390:4;3750:15;;;3743:27;;;3712:18;3793:47;3824:15;;;3712:18;3793:47;:::i;:::-;3898:12;;;;3783:57;-1:-1:-1;;;3863:15:357;;;;3196:1;3189:9;3160:760;;;-1:-1:-1;3937:6:357;;2568:1381;-1:-1:-1;;;;;;;;2568:1381:357:o;4136:219::-;4285:2;4274:9;4267:21;4248:4;4305:44;4345:2;4334:9;4330:18;4322:6;4305:44;:::i;4360:814::-;4507:6;4515;4523;4531;4584:2;4572:9;4563:7;4559:23;4555:32;4552:52;;;4600:1;4597;4590:12;4552:52;4623:51;4664:9;4623:51;:::i;:::-;4613:61;;4721:2;4710:9;4706:18;4693:32;4683:42;;4776:2;4765:9;4761:18;4748:32;4799:18;4840:2;4832:6;4829:14;4826:34;;;4856:1;4853;4846:12;4826:34;4894:6;4883:9;4879:22;4869:32;;4939:7;4932:4;4928:2;4924:13;4920:27;4910:55;;4961:1;4958;4951:12;4910:55;5001:2;4988:16;5027:2;5019:6;5016:14;5013:34;;;5043:1;5040;5033:12;5013:34;5088:7;5083:2;5074:6;5070:2;5066:15;5062:24;5059:37;5056:57;;;5109:1;5106;5099:12;5056:57;4360:814;;;;-1:-1:-1;;5140:2:357;5132:11;;-1:-1:-1;;;4360:814:357:o;6000:180::-;6059:6;6112:2;6100:9;6091:7;6087:23;6083:32;6080:52;;;6128:1;6125;6118:12;6080:52;-1:-1:-1;6151:23:357;;6000:180;-1:-1:-1;6000:180:357:o;6684:261::-;6743:6;6796:2;6784:9;6775:7;6771:23;6767:32;6764:52;;;6812:1;6809;6802:12;6764:52;6851:9;6838:23;6870:45;6909:5;6870:45;:::i;6950:184::-;7002:77;6999:1;6992:88;7099:4;7096:1;7089:15;7123:4;7120:1;7113:15;7139:184;7191:77;7188:1;7181:88;7288:4;7285:1;7278:15;7312:4;7309:1;7302:15;7328:942;7407:6;7460:2;7448:9;7439:7;7435:23;7431:32;7428:52;;;7476:1;7473;7466:12;7428:52;7509:9;7503:16;7538:18;7579:2;7571:6;7568:14;7565:34;;;7595:1;7592;7585:12;7565:34;7633:6;7622:9;7618:22;7608:32;;7678:7;7671:4;7667:2;7663:13;7659:27;7649:55;;7700:1;7697;7690:12;7649:55;7729:2;7723:9;7751:2;7747;7744:10;7741:36;;;7757:18;;:::i;:::-;7891:2;7885:9;7953:4;7945:13;;7796:66;7941:22;;;7965:2;7937:31;7933:40;7921:53;;;7989:18;;;8009:22;;;7986:46;7983:72;;;8035:18;;:::i;:::-;8075:10;8071:2;8064:22;8110:2;8102:6;8095:18;8150:7;8145:2;8140;8136;8132:11;8128:20;8125:33;8122:53;;;8171:1;8168;8161:12;8122:53;8184:55;8236:2;8231;8223:6;8219:15;8214:2;8210;8206:11;8184:55;:::i;:::-;8258:6;7328:942;-1:-1:-1;;;;;;;7328:942:357:o;8275:212::-;8373:6;8426:2;8414:9;8405:7;8401:23;8397:32;8394:52;;;8442:1;8439;8432:12;8394:52;-1:-1:-1;8465:16:357;;8275:212;-1:-1:-1;8275:212:357:o;8492:279::-;8532:4;8560:1;8557;8554:8;8551:188;;;8595:77;8592:1;8585:88;8696:4;8693:1;8686:15;8724:4;8721:1;8714:15;8551:188;-1:-1:-1;8756:9:357;;8492:279::o;9005:585::-;9307:66;9298:6;9294:2;9290:15;9286:88;9281:3;9274:101;9405:6;9400:2;9395:3;9391:12;9384:28;9442:6;9437:2;9432:3;9428:12;9421:28;9493:6;9485;9480:2;9475:3;9471:12;9458:42;9256:3;9523:16;;9541:2;9519:25;9553:13;;;9519:25;9005:585;-1:-1:-1;;;;9005:585:357:o;9595:667::-;9878:10;9870:6;9866:23;9855:9;9848:42;9926:6;9921:2;9910:9;9906:18;9899:34;9969:2;9964;9953:9;9949:18;9942:30;10008:6;10003:2;9992:9;9988:18;9981:34;10066:6;10058;10052:3;10041:9;10037:19;10024:49;10123:1;10093:22;;;10117:3;10089:32;;;10082:43;;;;10177:2;10165:15;;;10182:66;10161:88;10146:104;10142:114;;9595:667;-1:-1:-1;;;9595:667:357:o",linkReferences:{}},methodIdentifiers:{"create(uint32,bytes32,bytes)":"82ecf2f6","findLatestGames(uint32,uint256,uint256)":"254bd683","gameAtIndex(uint256)":"bb8aa1fc","gameCount()":"4d1975b4","gameImpls(uint32)":"1b685b9e","games(uint32,bytes32,bytes)":"5f0150cb","getGameUUID(uint32,bytes32,bytes)":"96cd9720","initBonds(uint32)":"6593dc6e","initialize(address)":"c4d66de8","owner()":"8da5cb5b","renounceOwnership()":"715018a6","setImplementation(uint32,address)":"14f6b1a3","setInitBond(uint32,uint256)":"1e334240","transferOwnership(address)":"f2fde38b","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"Hash","name":"uuid","type":"bytes32"}],"name":"GameAlreadyExists","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[{"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"NoImplementation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"disputeProxy","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"DisputeGameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"impl","type":"address"},{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"}],"name":"ImplementationSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"GameType","name":"gameType","type":"uint32"},{"indexed":true,"internalType":"uint256","name":"newBond","type":"uint256"}],"name":"InitBondUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"create","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"findLatestGames","outputs":[{"components":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"GameId","name":"metadata","type":"bytes32"},{"internalType":"Timestamp","name":"timestamp","type":"uint64"},{"internalType":"Claim","name":"rootClaim","type":"bytes32"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct IDisputeGameFactory.GameSearchResult[]","name":"games_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"gameAtIndex","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"},{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCount","outputs":[{"internalType":"uint256","name":"gameCount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"gameImpls","outputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"games","outputs":[{"internalType":"contract IDisputeGame","name":"proxy_","type":"address"},{"internalType":"Timestamp","name":"timestamp_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_rootClaim","type":"bytes32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"getGameUUID","outputs":[{"internalType":"Hash","name":"uuid_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"GameType","name":"","type":"uint32"}],"name":"initBonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"contract IDisputeGame","name":"_impl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"uint256","name":"_initBond","type":"uint256"}],"name":"setInitBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"params":{"uuid":"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{"params":{"gameType":"The unsupported game type."}}]},"kind":"dev","methods":{"create(uint32,bytes32,bytes)":{"params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{"params":{"_gameType":"The type of game to find.","_n":"The number of games to find.","_start":"The index to start the reverse search from."}},"gameAtIndex(uint256)":{"params":{"_index":"The index of the dispute game."},"returns":{"gameType_":"The type of the DisputeGame - used to decide the proxy implementation.","proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"gameCount()":{"returns":{"gameCount_":"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{"details":"`++` equates to concatenation.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame - used to decide the proxy implementation","_rootClaim":"The root claim of the DisputeGame."},"returns":{"proxy_":"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.","timestamp_":"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{"details":"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.","params":{"_extraData":"Any extra data that should be provided to the created dispute game.","_gameType":"The type of the DisputeGame.","_rootClaim":"The root claim of the DisputeGame."},"returns":{"uuid_":"The unique identifier for the given dispute game parameters."}},"initialize(address)":{"params":{"_owner":"The owner of the contract."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_impl":"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{"details":"May only be called by the `owner`.","params":{"_gameType":"The type of the DisputeGame.","_initBond":"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"gameImpls":{"params":{"_gameType":"The type of the dispute game."},"return":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`.","returns":{"_0":"The address of the implementation of the game type. Will be cloned on creation of a new dispute game with the given `gameType`."}},"initBonds":{"params":{"_gameType":"The type of the dispute game."},"return":"The required bond for initializing a dispute game of the given type.","returns":{"_0":"The required bond for initializing a dispute game of the given type."}},"version":{"custom:semver":"0.6.0"}},"title":"DisputeGameFactory","version":1},"userdoc":{"errors":{"GameAlreadyExists(bytes32)":[{"notice":"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{"notice":"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},"events":{"DisputeGameCreated(address,uint32,bytes32)":{"notice":"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{"notice":"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{"notice":"Emitted when a game type\'s initialization bond is updated"}},"kind":"user","methods":{"constructor":{"notice":"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{"notice":"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{"notice":"Finds the `_n` most recent `GameId`\'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{"notice":"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{"notice":"The total number of dispute games created by this factory."},"gameImpls(uint32)":{"notice":"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{"notice":"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{"notice":"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{"notice":"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{"notice":"Initializes the contract."},"setImplementation(uint32,address)":{"notice":"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{"notice":"Sets the bond (in wei) for initializing a game type."},"version()":{"notice":"Semantic version."}},"notice":"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier.","version":1}},"settings":{"compilationTarget":{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/solady/src/utils/LibClone.sol":{"keccak256":"0xfd4b40a4584e736d9d0b045fbc748023804c83819f5e018635a9f447834774a4","license":"MIT","urls":["bzz-raw://202fc57397118355d9d573c28d36ff45892e632a12b143f4bc5e7266bfb7737e","dweb:/ipfs/QmZYD6Va3nNUC4B9NHZcyvFmK59i3WnEPPpsi8N355GivN"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xc7c6b0c2a051d4a14b3833243fa2e93e5e320bb106ef3979ce77098fb9d6629f","license":"MIT","urls":["bzz-raw://cd5cbabb1b0b41f9faf3d2329e519936ea43a1e7da1df6a9be90d2513603b09f","dweb:/ipfs/QmQM5FpgogJQnbmJjdQdoxxMzczx5PBiCNbiRUQiJqHyhM"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b","license":"MIT","urls":["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6","license":"MIT","urls":["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f","license":"MIT","urls":["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937","license":"MIT","urls":["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c","license":"MIT","urls":["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"Hash",name:"uuid",type:"bytes32"}],type:"error",name:"GameAlreadyExists"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32"}],type:"error",name:"NoImplementation"},{inputs:[{internalType:"address",name:"disputeProxy",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"Claim",name:"rootClaim",type:"bytes32",indexed:!0}],type:"event",name:"DisputeGameCreated",anonymous:!1},{inputs:[{internalType:"address",name:"impl",type:"address",indexed:!0},{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0}],type:"event",name:"ImplementationSet",anonymous:!1},{inputs:[{internalType:"GameType",name:"gameType",type:"uint32",indexed:!0},{internalType:"uint256",name:"newBond",type:"uint256",indexed:!0}],type:"event",name:"InitBondUpdated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"payable",type:"function",name:"create",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_start",type:"uint256"},{internalType:"uint256",name:"_n",type:"uint256"}],stateMutability:"view",type:"function",name:"findLatestGames",outputs:[{internalType:"struct IDisputeGameFactory.GameSearchResult[]",name:"games_",type:"tuple[]",components:[{internalType:"uint256",name:"index",type:"uint256"},{internalType:"GameId",name:"metadata",type:"bytes32"},{internalType:"Timestamp",name:"timestamp",type:"uint64"},{internalType:"Claim",name:"rootClaim",type:"bytes32"},{internalType:"bytes",name:"extraData",type:"bytes"}]}]},{inputs:[{internalType:"uint256",name:"_index",type:"uint256"}],stateMutability:"view",type:"function",name:"gameAtIndex",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"},{internalType:"contract IDisputeGame",name:"proxy_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameCount",outputs:[{internalType:"uint256",name:"gameCount_",type:"uint256"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"gameImpls",outputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"view",type:"function",name:"games",outputs:[{internalType:"contract IDisputeGame",name:"proxy_",type:"address"},{internalType:"Timestamp",name:"timestamp_",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_rootClaim",type:"bytes32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"pure",type:"function",name:"getGameUUID",outputs:[{internalType:"Hash",name:"uuid_",type:"bytes32"}]},{inputs:[{internalType:"GameType",name:"",type:"uint32"}],stateMutability:"view",type:"function",name:"initBonds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"contract IDisputeGame",name:"_impl",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setImplementation"},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"uint256",name:"_initBond",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setInitBond"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},version:1},userdoc:{kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/DisputeGameFactory.sol":"DisputeGameFactory"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/solady/src/utils/LibClone.sol":{keccak256:"0xfd4b40a4584e736d9d0b045fbc748023804c83819f5e018635a9f447834774a4",urls:["bzz-raw://202fc57397118355d9d573c28d36ff45892e632a12b143f4bc5e7266bfb7737e","dweb:/ipfs/QmZYD6Va3nNUC4B9NHZcyvFmK59i3WnEPPpsi8N355GivN"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xc7c6b0c2a051d4a14b3833243fa2e93e5e320bb106ef3979ce77098fb9d6629f",urls:["bzz-raw://cd5cbabb1b0b41f9faf3d2329e519936ea43a1e7da1df6a9be90d2513603b09f","dweb:/ipfs/QmQM5FpgogJQnbmJjdQdoxxMzczx5PBiCNbiRUQiJqHyhM"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b",urls:["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6",urls:["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f",urls:["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937",urls:["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c",urls:["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:46970,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:46973,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:48501,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:46842,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_owner",offset:0,slot:"51",type:"t_address"},{astId:46962,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"__gap",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:97221,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"gameImpls",offset:0,slot:"101",type:"t_mapping(t_userDefinedValueType(GameType)103271,t_contract(IDisputeGame)100327)"},{astId:97227,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"initBonds",offset:0,slot:"102",type:"t_mapping(t_userDefinedValueType(GameType)103271,t_uint256)"},{astId:97234,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGames",offset:0,slot:"103",type:"t_mapping(t_userDefinedValueType(Hash)103253,t_userDefinedValueType(GameId)103265)"},{astId:97239,contract:"src/dispute/DisputeGameFactory.sol:DisputeGameFactory",label:"_disputeGameList",offset:0,slot:"104",type:"t_array(t_userDefinedValueType(GameId)103265)dyn_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},"t_array(t_userDefinedValueType(GameId)103265)dyn_storage":{encoding:"dynamic_array",label:"GameId[]",numberOfBytes:"32",base:"t_userDefinedValueType(GameId)103265"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(IDisputeGame)100327":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_mapping(t_userDefinedValueType(GameType)103271,t_contract(IDisputeGame)100327)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)103271",label:"mapping(GameType => contract IDisputeGame)",numberOfBytes:"32",value:"t_contract(IDisputeGame)100327"},"t_mapping(t_userDefinedValueType(GameType)103271,t_uint256)":{encoding:"mapping",key:"t_userDefinedValueType(GameType)103271",label:"mapping(GameType => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_userDefinedValueType(Hash)103253,t_userDefinedValueType(GameId)103265)":{encoding:"mapping",key:"t_userDefinedValueType(Hash)103253",label:"mapping(Hash => GameId)",numberOfBytes:"32",value:"t_userDefinedValueType(GameId)103265"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameId)103265":{encoding:"inplace",label:"GameId",numberOfBytes:"32"},"t_userDefinedValueType(GameType)103271":{encoding:"inplace",label:"GameType",numberOfBytes:"4"},"t_userDefinedValueType(Hash)103253":{encoding:"inplace",label:"Hash",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{constructor:{notice:"Constructs a new DisputeGameFactory contract."},"create(uint32,bytes32,bytes)":{notice:"Creates a new DisputeGame proxy contract."},"findLatestGames(uint32,uint256,uint256)":{notice:"Finds the `_n` most recent `GameId`'s of type `_gameType` starting at `_start`. If there are less than `_n` games of type `_gameType` starting at `_start`, then the returned array will be shorter than `_n`."},"gameAtIndex(uint256)":{notice:"`gameAtIndex` returns the dispute game contract address and its creation timestamp at the given index. Each created dispute game increments the underlying index."},"gameCount()":{notice:"The total number of dispute games created by this factory."},"gameImpls(uint32)":{notice:"`gameImpls` is a mapping that maps `GameType`s to their respective `IDisputeGame` implementations."},"games(uint32,bytes32,bytes)":{notice:"`games` queries an internal mapping that maps the hash of `gameType ++ rootClaim ++ extraData` to the deployed `DisputeGame` clone."},"getGameUUID(uint32,bytes32,bytes)":{notice:"Returns a unique identifier for the given dispute game parameters."},"initBonds(uint32)":{notice:"Returns the required bonds for initializing a dispute game of the given type."},"initialize(address)":{notice:"Initializes the contract."},"setImplementation(uint32,address)":{notice:"Sets the implementation contract for a specific `GameType`."},"setInitBond(uint32,uint256)":{notice:"Sets the bond (in wei) for initializing a game type."},"version()":{notice:"Semantic version."}},events:{"DisputeGameCreated(address,uint32,bytes32)":{notice:"Emitted when a new dispute game is created"},"ImplementationSet(address,uint32)":{notice:"Emitted when a new game implementation added to the factory"},"InitBondUpdated(uint32,uint256)":{notice:"Emitted when a game type's initialization bond is updated"}},errors:{"GameAlreadyExists(bytes32)":[{notice:"Thrown when a dispute game that already exists is attempted to be created."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"NoImplementation(uint32)":[{notice:"Thrown when a dispute game is attempted to be created with an unsupported game type."}]},notice:"A factory contract for creating `IDisputeGame` contracts. All created dispute games are stored in both a mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly into the storage slot with the address of the dispute game to make offchain discoverability of playable dispute games easier."},devdoc:{version:1,kind:"dev",methods:{"create(uint32,bytes32,bytes)":{params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation.",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The address of the created DisputeGame proxy."}},"findLatestGames(uint32,uint256,uint256)":{params:{_gameType:"The type of game to find.",_n:"The number of games to find.",_start:"The index to start the reverse search from."}},"gameAtIndex(uint256)":{params:{_index:"The index of the dispute game."},returns:{gameType_:"The type of the DisputeGame - used to decide the proxy implementation.",proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"gameCount()":{returns:{gameCount_:"The total number of dispute games created by this factory."}},"games(uint32,bytes32,bytes)":{details:"`++` equates to concatenation.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame - used to decide the proxy implementation",_rootClaim:"The root claim of the DisputeGame."},returns:{proxy_:"The clone of the `DisputeGame` created with the given parameters. Returns `address(0)` if nonexistent.",timestamp_:"The timestamp of the creation of the dispute game."}},"getGameUUID(uint32,bytes32,bytes)":{details:"Hashes the concatenation of `gameType . rootClaim . extraData` without expanding memory.",params:{_extraData:"Any extra data that should be provided to the created dispute game.",_gameType:"The type of the DisputeGame.",_rootClaim:"The root claim of the DisputeGame."},returns:{uuid_:"The unique identifier for the given dispute game parameters."}},"initialize(address)":{params:{_owner:"The owner of the contract."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setImplementation(uint32,address)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_impl:"The implementation contract for the given `GameType`."}},"setInitBond(uint32,uint256)":{details:"May only be called by the `owner`.",params:{_gameType:"The type of the DisputeGame.",_initBond:"The bond (in wei) for initializing a game type."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},errors:{"GameAlreadyExists(bytes32)":[{params:{uuid:"The UUID of the dispute game that already exists."}}],"NoImplementation(uint32)":[{params:{gameType:"The unsupported game type."}}]},title:"DisputeGameFactory"},ast:{absolutePath:"src/dispute/DisputeGameFactory.sol",id:97683,exportedSymbols:{AlreadyInitialized:[103120],AnchorRootNotFound:[103192],BadAuth:[103195],BadExtraData:[103132],BondAmount:[103259],BondTransferFailed:[103129],CannotDefendRootClaim:[103135],Claim:[103255],ClaimAboveSplit:[103177],ClaimAlreadyExists:[103138],ClaimAlreadyResolved:[103174],ClaimHash:[103257],Clock:[103267],ClockNotExpired:[103150],ClockTimeExceeded:[103147],DisputeGameFactory:[97682],DuplicateStep:[103189],Duration:[103263],GameAlreadyExists:[103111],GameDepthExceeded:[103153],GameId:[103265],GameNotInProgress:[103144],GameStatus:[103277],GameType:[103271],GameTypes:[103317],Hash:[103253],IDisputeGame:[100327],IDisputeGameFactory:[100497],ISemver:[109417],IncorrectBondAmount:[103123],InvalidClaim:[103141],InvalidClockExtension:[103183],InvalidLocalIdent:[103168],InvalidParent:[103156],InvalidPrestate:[103159],InvalidSplitDepth:[103180],L1HeadTooOld:[103165],LibClaim:[101086],LibClock:[101073],LibClone:[62767],LibDuration:[101099],LibGameId:[100778],LibGameType:[101151],LibHash:[101112],LibHashing:[100800],LibPosition:[101018],LibTimestamp:[101125],LibVMStatus:[101138],LocalPreimageKey:[103373],MaxDepthTooLarge:[103186],NoCreditToClaim:[103126],NoImplementation:[103105],OutOfOrderResolution:[103171],OutputRoot:[103283],OwnableUpgradeable:[46963],Position:[103269],Timestamp:[103261],UnexpectedRootClaim:[103117],VMStatus:[103273],VMStatuses:[103351],ValidStep:[103162]},nodeType:"SourceUnit",src:"32:8414:163",nodes:[{id:97186,nodeType:"PragmaDirective",src:"32:23:163",nodes:[],literals:["solidity","0.8",".15"]},{id:97188,nodeType:"ImportDirective",src:"57:54:163",nodes:[],absolutePath:"lib/solady/src/utils/LibClone.sol",file:"@solady/utils/LibClone.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:62768,symbolAliases:[{foreign:{id:97187,name:"LibClone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62767,src:"66:8:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97190,nodeType:"ImportDirective",src:"112:103:163",nodes:[],absolutePath:"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol",file:"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:46964,symbolAliases:[{foreign:{id:97189,name:"OwnableUpgradeable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:46963,src:"121:18:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97192,nodeType:"ImportDirective",src:"216:52:163",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:109418,symbolAliases:[{foreign:{id:97191,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"225:7:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97194,nodeType:"ImportDirective",src:"270:71:163",nodes:[],absolutePath:"src/dispute/interfaces/IDisputeGame.sol",file:"src/dispute/interfaces/IDisputeGame.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:100328,symbolAliases:[{foreign:{id:97193,name:"IDisputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100327,src:"279:12:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97196,nodeType:"ImportDirective",src:"342:85:163",nodes:[],absolutePath:"src/dispute/interfaces/IDisputeGameFactory.sol",file:"src/dispute/interfaces/IDisputeGameFactory.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:100498,symbolAliases:[{foreign:{id:97195,name:"IDisputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100497,src:"351:19:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97198,nodeType:"ImportDirective",src:"429:58:163",nodes:[],absolutePath:"src/dispute/lib/LibGameId.sol",file:"src/dispute/lib/LibGameId.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:100779,symbolAliases:[{foreign:{id:97197,name:"LibGameId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100778,src:"438:9:163",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97199,nodeType:"ImportDirective",src:"489:40:163",nodes:[],absolutePath:"src/libraries/DisputeTypes.sol",file:"src/libraries/DisputeTypes.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:103374,symbolAliases:[],unitAlias:""},{id:97200,nodeType:"ImportDirective",src:"530:41:163",nodes:[],absolutePath:"src/libraries/DisputeErrors.sol",file:"src/libraries/DisputeErrors.sol",nameLocation:"-1:-1:-1",scope:97683,sourceUnit:103196,symbolAliases:[],unitAlias:""},{id:97682,nodeType:"ContractDefinition",src:"989:7456:163",nodes:[{id:97210,nodeType:"UsingForDirective",src:"1155:27:163",nodes:[],global:!1,libraryName:{id:97208,name:"LibClone",nodeType:"IdentifierPath",referencedDeclaration:62767,src:"1161:8:163"},typeName:{id:97209,name:"address",nodeType:"ElementaryTypeName",src:"1174:7:163",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}},{id:97214,nodeType:"VariableDeclaration",src:"1251:40:163",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:97211,nodeType:"StructuredDocumentation",src:"1188:58:163",text:`@notice Semantic version. + @custom:semver 0.6.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1274:7:163",scope:97682,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:97212,name:"string",nodeType:"ElementaryTypeName",src:"1251:6:163",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"302e362e30",id:97213,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1284:7:163",typeDescriptions:{typeIdentifier:"t_stringliteral_98293d924c2515c22d1d357dd5a43b88356a9d20201dd01f3afa1023505a904d",typeString:'literal_string "0.6.0"'},value:"0.6.0"},visibility:"public"},{id:97221,nodeType:"VariableDeclaration",src:"1338:50:163",nodes:[],baseFunctions:[100423],constant:!1,documentation:{id:97215,nodeType:"StructuredDocumentation",src:"1298:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"1b685b9e",mutability:"mutable",name:"gameImpls",nameLocation:"1379:9:163",scope:97682,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_contract$_IDisputeGame_$100327_$",typeString:"mapping(GameType => contract IDisputeGame)"},typeName:{id:97220,keyType:{id:97217,nodeType:"UserDefinedTypeName",pathNode:{id:97216,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"1346:8:163"},referencedDeclaration:103271,src:"1346:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Mapping",src:"1338:33:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_contract$_IDisputeGame_$100327_$",typeString:"mapping(GameType => contract IDisputeGame)"},valueType:{id:97219,nodeType:"UserDefinedTypeName",pathNode:{id:97218,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"1358:12:163"},referencedDeclaration:100327,src:"1358:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}},visibility:"public"},{id:97227,nodeType:"VariableDeclaration",src:"1435:45:163",nodes:[],baseFunctions:[100432],constant:!1,documentation:{id:97222,nodeType:"StructuredDocumentation",src:"1395:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"6593dc6e",mutability:"mutable",name:"initBonds",nameLocation:"1471:9:163",scope:97682,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_uint256_$",typeString:"mapping(GameType => uint256)"},typeName:{id:97226,keyType:{id:97224,nodeType:"UserDefinedTypeName",pathNode:{id:97223,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"1443:8:163"},referencedDeclaration:103271,src:"1443:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Mapping",src:"1435:28:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_uint256_$",typeString:"mapping(GameType => uint256)"},valueType:{id:97225,name:"uint256",nodeType:"ElementaryTypeName",src:"1455:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}},visibility:"public"},{id:97234,nodeType:"VariableDeclaration",src:"1650:46:163",nodes:[],constant:!1,documentation:{id:97228,nodeType:"StructuredDocumentation",src:"1487:113:163",text:"@notice Mapping of a hash of `gameType || rootClaim || extraData` to the deployed `IDisputeGame` clone (where"},mutability:"mutable",name:"_disputeGames",nameLocation:"1683:13:163",scope:97682,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_Hash_$103253_$_t_userDefinedValueType$_GameId_$103265_$",typeString:"mapping(Hash => GameId)"},typeName:{id:97233,keyType:{id:97230,nodeType:"UserDefinedTypeName",pathNode:{id:97229,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"1658:4:163"},referencedDeclaration:103253,src:"1658:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Mapping",src:"1650:23:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_Hash_$103253_$_t_userDefinedValueType$_GameId_$103265_$",typeString:"mapping(Hash => GameId)"},valueType:{id:97232,nodeType:"UserDefinedTypeName",pathNode:{id:97231,name:"GameId",nodeType:"IdentifierPath",referencedDeclaration:103265,src:"1666:6:163"},referencedDeclaration:103265,src:"1666:6:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}}},visibility:"internal"},{id:97239,nodeType:"VariableDeclaration",src:"1862:34:163",nodes:[],constant:!1,documentation:{id:97235,nodeType:"StructuredDocumentation",src:"1703:154:163",text:`@notice An append-only array of disputeGames that have been created. Used by offchain game solvers to + efficiently track dispute games.`},mutability:"mutable",name:"_disputeGameList",nameLocation:"1880:16:163",scope:97682,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[]"},typeName:{baseType:{id:97237,nodeType:"UserDefinedTypeName",pathNode:{id:97236,name:"GameId",nodeType:"IdentifierPath",referencedDeclaration:103265,src:"1862:6:163"},referencedDeclaration:103265,src:"1862:6:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},id:97238,nodeType:"ArrayTypeName",src:"1862:8:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage_ptr",typeString:"GameId[]"}},visibility:"internal"},{id:97253,nodeType:"FunctionDefinition",src:"1965:74:163",nodes:[],body:{id:97252,nodeType:"Block",src:"2000:39:163",nodes:[],statements:[{expression:{arguments:[{arguments:[{hexValue:"30",id:97248,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2029:1:163",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:97247,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2021:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97246,name:"address",nodeType:"ElementaryTypeName",src:"2021:7:163",typeDescriptions:{}}},id:97249,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2021:10:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:97245,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97269,src:"2010:10:163",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$returns$__$",typeString:"function (address)"}},id:97250,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2010:22:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97251,nodeType:"ExpressionStatement",src:"2010:22:163"}]},documentation:{id:97240,nodeType:"StructuredDocumentation",src:"1903:57:163",text:"@notice Constructs a new DisputeGameFactory contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:97243,kind:"baseConstructorSpecifier",modifierName:{id:97242,name:"OwnableUpgradeable",nodeType:"IdentifierPath",referencedDeclaration:46963,src:"1979:18:163"},nodeType:"ModifierInvocation",src:"1979:20:163"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:97241,nodeType:"ParameterList",parameters:[],src:"1976:2:163"},returnParameters:{id:97244,nodeType:"ParameterList",parameters:[],src:"2000:0:163"},scope:97682,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:97269,nodeType:"FunctionDefinition",src:"2136:124:163",nodes:[],body:{id:97268,nodeType:"Block",src:"2191:69:163",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],id:97261,name:"__Ownable_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:46858,src:"2201:14:163",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$__$returns$__$",typeString:"function ()"}},id:97262,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2201:16:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97263,nodeType:"ExpressionStatement",src:"2201:16:163"},{expression:{arguments:[{id:97265,name:"_owner",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97256,src:"2246:6:163",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:97264,name:"_transferOwnership",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:46957,src:"2227:18:163",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$returns$__$",typeString:"function (address)"}},id:97266,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2227:26:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97267,nodeType:"ExpressionStatement",src:"2227:26:163"}]},documentation:{id:97254,nodeType:"StructuredDocumentation",src:"2045:86:163",text:`@notice Initializes the contract. + @param _owner The owner of the contract.`},functionSelector:"c4d66de8",implemented:!0,kind:"function",modifiers:[{id:97259,kind:"modifierInvocation",modifierName:{id:97258,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:47034,src:"2179:11:163"},nodeType:"ModifierInvocation",src:"2179:11:163"}],name:"initialize",nameLocation:"2145:10:163",parameters:{id:97257,nodeType:"ParameterList",parameters:[{constant:!1,id:97256,mutability:"mutable",name:"_owner",nameLocation:"2164:6:163",nodeType:"VariableDeclaration",scope:97269,src:"2156:14:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:97255,name:"address",nodeType:"ElementaryTypeName",src:"2156:7:163",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2155:16:163"},returnParameters:{id:97260,nodeType:"ParameterList",parameters:[],src:"2191:0:163"},scope:97682,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:97281,nodeType:"FunctionDefinition",src:"2306:117:163",nodes:[],body:{id:97280,nodeType:"Block",src:"2370:53:163",nodes:[],statements:[{expression:{id:97278,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97275,name:"gameCount_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97273,src:"2380:10:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:97276,name:"_disputeGameList",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97239,src:"2393:16:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[] storage ref"}},id:97277,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"2393:23:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"2380:36:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97279,nodeType:"ExpressionStatement",src:"2380:36:163"}]},baseFunctions:[100380],documentation:{id:97270,nodeType:"StructuredDocumentation",src:"2266:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"4d1975b4",implemented:!0,kind:"function",modifiers:[],name:"gameCount",nameLocation:"2315:9:163",parameters:{id:97271,nodeType:"ParameterList",parameters:[],src:"2324:2:163"},returnParameters:{id:97274,nodeType:"ParameterList",parameters:[{constant:!1,id:97273,mutability:"mutable",name:"gameCount_",nameLocation:"2358:10:163",nodeType:"VariableDeclaration",scope:97281,src:"2350:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97272,name:"uint256",nodeType:"ElementaryTypeName",src:"2350:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2349:20:163"},scope:97682,stateMutability:"view",virtual:!1,visibility:"external"},{id:97319,nodeType:"FunctionDefinition",src:"2469:342:163",nodes:[],body:{id:97318,nodeType:"Block",src:"2673:138:163",nodes:[],statements:[{assignments:[97301],declarations:[{constant:!1,id:97301,mutability:"mutable",name:"uuid",nameLocation:"2688:4:163",nodeType:"VariableDeclaration",scope:97318,src:"2683:9:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:97300,nodeType:"UserDefinedTypeName",pathNode:{id:97299,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"2683:4:163"},referencedDeclaration:103253,src:"2683:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],id:97307,initialValue:{arguments:[{id:97303,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97285,src:"2707:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97304,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97288,src:"2718:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97305,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97290,src:"2730:10:163",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:97302,name:"getGameUUID",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97522,src:"2695:11:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Claim_$103255_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (GameType,Claim,bytes calldata) pure returns (Hash)"}},id:97306,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2695:46:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"VariableDeclarationStatement",src:"2683:58:163"},{expression:{id:97316,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[null,{id:97308,name:"timestamp_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97297,src:"2754:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},{id:97309,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97294,src:"2766:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],id:97310,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"2751:22:163",typeDescriptions:{typeIdentifier:"t_tuple$__$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(,Timestamp,contract IDisputeGame)"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],expression:{baseExpression:{id:97311,name:"_disputeGames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97234,src:"2776:13:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_Hash_$103253_$_t_userDefinedValueType$_GameId_$103265_$",typeString:"mapping(Hash => GameId)"}},id:97313,indexExpression:{id:97312,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97301,src:"2790:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"2776:19:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},id:97314,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"unpack",nodeType:"MemberAccess",referencedDeclaration:100777,src:"2776:26:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameId_$103265_$returns$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$bound_to$_t_userDefinedValueType$_GameId_$103265_$",typeString:"function (GameId) pure returns (GameType,Timestamp,contract IDisputeGame)"}},id:97315,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2776:28:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(GameType,Timestamp,contract IDisputeGame)"}},src:"2751:53:163",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97317,nodeType:"ExpressionStatement",src:"2751:53:163"}]},baseFunctions:[100398],documentation:{id:97282,nodeType:"StructuredDocumentation",src:"2429:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"5f0150cb",implemented:!0,kind:"function",modifiers:[],name:"games",nameLocation:"2478:5:163",parameters:{id:97291,nodeType:"ParameterList",parameters:[{constant:!1,id:97285,mutability:"mutable",name:"_gameType",nameLocation:"2502:9:163",nodeType:"VariableDeclaration",scope:97319,src:"2493:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97284,nodeType:"UserDefinedTypeName",pathNode:{id:97283,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"2493:8:163"},referencedDeclaration:103271,src:"2493:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97288,mutability:"mutable",name:"_rootClaim",nameLocation:"2527:10:163",nodeType:"VariableDeclaration",scope:97319,src:"2521:16:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97287,nodeType:"UserDefinedTypeName",pathNode:{id:97286,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"2521:5:163"},referencedDeclaration:103255,src:"2521:5:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:97290,mutability:"mutable",name:"_extraData",nameLocation:"2562:10:163",nodeType:"VariableDeclaration",scope:97319,src:"2547:25:163",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:97289,name:"bytes",nodeType:"ElementaryTypeName",src:"2547:5:163",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2483:95:163"},returnParameters:{id:97298,nodeType:"ParameterList",parameters:[{constant:!1,id:97294,mutability:"mutable",name:"proxy_",nameLocation:"2639:6:163",nodeType:"VariableDeclaration",scope:97319,src:"2626:19:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97293,nodeType:"UserDefinedTypeName",pathNode:{id:97292,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"2626:12:163"},referencedDeclaration:100327,src:"2626:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"},{constant:!1,id:97297,mutability:"mutable",name:"timestamp_",nameLocation:"2657:10:163",nodeType:"VariableDeclaration",scope:97319,src:"2647:20:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},typeName:{id:97296,nodeType:"UserDefinedTypeName",pathNode:{id:97295,name:"Timestamp",nodeType:"IdentifierPath",referencedDeclaration:103261,src:"2647:9:163"},referencedDeclaration:103261,src:"2647:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},visibility:"internal"}],src:"2625:43:163"},scope:97682,stateMutability:"view",virtual:!1,visibility:"external"},{id:97346,nodeType:"FunctionDefinition",src:"2857:235:163",nodes:[],body:{id:97345,nodeType:"Block",src:"3008:84:163",nodes:[],statements:[{expression:{id:97343,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[{id:97334,name:"gameType_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97326,src:"3019:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97335,name:"timestamp_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97329,src:"3030:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},{id:97336,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97332,src:"3042:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],id:97337,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"3018:31:163",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(GameType,Timestamp,contract IDisputeGame)"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],expression:{baseExpression:{id:97338,name:"_disputeGameList",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97239,src:"3052:16:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[] storage ref"}},id:97340,indexExpression:{id:97339,name:"_index",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97322,src:"3069:6:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3052:24:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},id:97341,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"unpack",nodeType:"MemberAccess",referencedDeclaration:100777,src:"3052:31:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameId_$103265_$returns$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$bound_to$_t_userDefinedValueType$_GameId_$103265_$",typeString:"function (GameId) pure returns (GameType,Timestamp,contract IDisputeGame)"}},id:97342,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3052:33:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(GameType,Timestamp,contract IDisputeGame)"}},src:"3018:67:163",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97344,nodeType:"ExpressionStatement",src:"3018:67:163"}]},baseFunctions:[100413],documentation:{id:97320,nodeType:"StructuredDocumentation",src:"2817:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"bb8aa1fc",implemented:!0,kind:"function",modifiers:[],name:"gameAtIndex",nameLocation:"2866:11:163",parameters:{id:97323,nodeType:"ParameterList",parameters:[{constant:!1,id:97322,mutability:"mutable",name:"_index",nameLocation:"2886:6:163",nodeType:"VariableDeclaration",scope:97346,src:"2878:14:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97321,name:"uint256",nodeType:"ElementaryTypeName",src:"2878:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2877:16:163"},returnParameters:{id:97333,nodeType:"ParameterList",parameters:[{constant:!1,id:97326,mutability:"mutable",name:"gameType_",nameLocation:"2950:9:163",nodeType:"VariableDeclaration",scope:97346,src:"2941:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97325,nodeType:"UserDefinedTypeName",pathNode:{id:97324,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"2941:8:163"},referencedDeclaration:103271,src:"2941:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97329,mutability:"mutable",name:"timestamp_",nameLocation:"2971:10:163",nodeType:"VariableDeclaration",scope:97346,src:"2961:20:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},typeName:{id:97328,nodeType:"UserDefinedTypeName",pathNode:{id:97327,name:"Timestamp",nodeType:"IdentifierPath",referencedDeclaration:103261,src:"2961:9:163"},referencedDeclaration:103261,src:"2961:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},visibility:"internal"},{constant:!1,id:97332,mutability:"mutable",name:"proxy_",nameLocation:"2996:6:163",nodeType:"VariableDeclaration",scope:97346,src:"2983:19:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97331,nodeType:"UserDefinedTypeName",pathNode:{id:97330,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"2983:12:163"},referencedDeclaration:100327,src:"2983:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],src:"2940:63:163"},scope:97682,stateMutability:"view",virtual:!1,visibility:"external"},{id:97492,nodeType:"FunctionDefinition",src:"3138:2553:163",nodes:[],body:{id:97491,nodeType:"Block",src:"3324:2367:163",nodes:[],statements:[{assignments:[97363],declarations:[{constant:!1,id:97363,mutability:"mutable",name:"impl",nameLocation:"3417:4:163",nodeType:"VariableDeclaration",scope:97491,src:"3404:17:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97362,nodeType:"UserDefinedTypeName",pathNode:{id:97361,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"3404:12:163"},referencedDeclaration:100327,src:"3404:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],id:97367,initialValue:{baseExpression:{id:97364,name:"gameImpls",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97221,src:"3424:9:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_contract$_IDisputeGame_$100327_$",typeString:"mapping(GameType => contract IDisputeGame)"}},id:97366,indexExpression:{id:97365,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"3434:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3424:20:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},nodeType:"VariableDeclarationStatement",src:"3404:40:163"},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:97376,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:97370,name:"impl",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97363,src:"3551:4:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}],id:97369,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3543:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97368,name:"address",nodeType:"ElementaryTypeName",src:"3543:7:163",typeDescriptions:{}}},id:97371,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3543:13:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:97374,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3568:1:163",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:97373,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3560:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97372,name:"address",nodeType:"ElementaryTypeName",src:"3560:7:163",typeDescriptions:{}}},id:97375,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3560:10:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"3543:27:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97381,nodeType:"IfStatement",src:"3539:67:163",trueBody:{errorCall:{arguments:[{id:97378,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"3596:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}],id:97377,name:"NoImplementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103105,src:"3579:16:163",typeDescriptions:{typeIdentifier:"t_function_error_pure$_t_userDefinedValueType$_GameType_$103271_$returns$__$",typeString:"function (GameType) pure"}},id:97379,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3579:27:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97380,nodeType:"RevertStatement",src:"3572:34:163"}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97387,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:97382,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3688:3:163",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:97383,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"3688:9:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{baseExpression:{id:97384,name:"initBonds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97227,src:"3701:9:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_uint256_$",typeString:"mapping(GameType => uint256)"}},id:97386,indexExpression:{id:97385,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"3711:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3701:20:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"3688:33:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97391,nodeType:"IfStatement",src:"3684:67:163",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97388,name:"IncorrectBondAmount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103123,src:"3730:19:163",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97389,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3730:21:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97390,nodeType:"RevertStatement",src:"3723:28:163"}},{assignments:[97393],declarations:[{constant:!1,id:97393,mutability:"mutable",name:"parentHash",nameLocation:"3815:10:163",nodeType:"VariableDeclaration",scope:97491,src:"3807:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:97392,name:"bytes32",nodeType:"ElementaryTypeName",src:"3807:7:163",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:97400,initialValue:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97398,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:97395,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"3838:5:163",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:97396,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"number",nodeType:"MemberAccess",src:"3838:12:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:97397,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3853:1:163",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"3838:16:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:97394,name:"blockhash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-5,src:"3828:9:163",typeDescriptions:{typeIdentifier:"t_function_blockhash_view$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256) view returns (bytes32)"}},id:97399,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3828:27:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"3807:48:163"},{expression:{id:97418,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97401,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97359,src:"4868:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{arguments:[{expression:{id:97410,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"4927:3:163",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:97411,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"4927:10:163",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:97412,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97353,src:"4939:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97413,name:"parentHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97393,src:"4951:10:163",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{id:97414,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97355,src:"4963:10:163",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],expression:{id:97408,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"4910:3:163",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:97409,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encodePacked",nodeType:"MemberAccess",src:"4910:16:163",typeDescriptions:{typeIdentifier:"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:97415,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4910:64:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{arguments:[{id:97405,name:"impl",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97363,src:"4898:4:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}],id:97404,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4890:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97403,name:"address",nodeType:"ElementaryTypeName",src:"4890:7:163",typeDescriptions:{}}},id:97406,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4890:13:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:97407,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"clone",nodeType:"MemberAccess",referencedDeclaration:62515,src:"4890:19:163",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_address_$bound_to$_t_address_$",typeString:"function (address,bytes memory) returns (address)"}},id:97416,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4890:85:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:97402,name:"IDisputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100327,src:"4877:12:163",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IDisputeGame_$100327_$",typeString:"type(contract IDisputeGame)"}},id:97417,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4877:99:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},src:"4868:108:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:97419,nodeType:"ExpressionStatement",src:"4868:108:163"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{argumentTypes:[],expression:{id:97420,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97359,src:"4986:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:97422,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"initialize",nodeType:"MemberAccess",referencedDeclaration:100615,src:"4986:17:163",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$",typeString:"function () payable external"}},id:97425,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{expression:{id:97423,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"5012:3:163",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:97424,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"5012:9:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"4986:37:163",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$value",typeString:"function () payable external"}},id:97426,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4986:39:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97427,nodeType:"ExpressionStatement",src:"4986:39:163"},{assignments:[97430],declarations:[{constant:!1,id:97430,mutability:"mutable",name:"uuid",nameLocation:"5104:4:163",nodeType:"VariableDeclaration",scope:97491,src:"5099:9:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:97429,nodeType:"UserDefinedTypeName",pathNode:{id:97428,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"5099:4:163"},referencedDeclaration:103253,src:"5099:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],id:97436,initialValue:{arguments:[{id:97432,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"5123:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97433,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97353,src:"5134:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97434,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97355,src:"5146:10:163",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:97431,name:"getGameUUID",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97522,src:"5111:11:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Claim_$103255_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (GameType,Claim,bytes calldata) pure returns (Hash)"}},id:97435,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5111:46:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"VariableDeclarationStatement",src:"5099:58:163"},{condition:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:97447,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{baseExpression:{id:97439,name:"_disputeGames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97234,src:"5258:13:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_Hash_$103253_$_t_userDefinedValueType$_GameId_$103265_$",typeString:"mapping(Hash => GameId)"}},id:97441,indexExpression:{id:97440,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97430,src:"5272:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"5258:19:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}],expression:{id:97437,name:"GameId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103265,src:"5244:6:163",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_GameId_$103265_$",typeString:"type(GameId)"}},id:97438,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"unwrap",nodeType:"MemberAccess",src:"5244:13:163",typeDescriptions:{typeIdentifier:"t_function_unwrap_pure$_t_userDefinedValueType$_GameId_$103265_$returns$_t_bytes32_$",typeString:"function (GameId) pure returns (bytes32)"}},id:97442,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5244:34:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:97445,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"5290:1:163",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:97444,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5282:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:97443,name:"bytes32",nodeType:"ElementaryTypeName",src:"5282:7:163",typeDescriptions:{}}},id:97446,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5282:10:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"5244:48:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97452,nodeType:"IfStatement",src:"5240:84:163",trueBody:{errorCall:{arguments:[{id:97449,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97430,src:"5319:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}],id:97448,name:"GameAlreadyExists",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103111,src:"5301:17:163",typeDescriptions:{typeIdentifier:"t_function_error_pure$_t_userDefinedValueType$_Hash_$103253_$returns$__$",typeString:"function (Hash) pure"}},id:97450,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5301:23:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97451,nodeType:"RevertStatement",src:"5294:30:163"}},{assignments:[97455],declarations:[{constant:!1,id:97455,mutability:"mutable",name:"id",nameLocation:"5371:2:163",nodeType:"VariableDeclaration",scope:97491,src:"5364:9:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"},typeName:{id:97454,nodeType:"UserDefinedTypeName",pathNode:{id:97453,name:"GameId",nodeType:"IdentifierPath",referencedDeclaration:103265,src:"5364:6:163"},referencedDeclaration:103265,src:"5364:6:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},visibility:"internal"}],id:97469,initialValue:{arguments:[{id:97458,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"5391:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{arguments:[{arguments:[{expression:{id:97463,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"5424:5:163",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:97464,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"5424:15:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:97462,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5417:6:163",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:97461,name:"uint64",nodeType:"ElementaryTypeName",src:"5417:6:163",typeDescriptions:{}}},id:97465,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5417:23:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:97459,name:"Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103261,src:"5402:9:163",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"type(Timestamp)"}},id:97460,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"5402:14:163",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (uint64) pure returns (Timestamp)"}},id:97466,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5402:39:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},{id:97467,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97359,src:"5443:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}],expression:{id:97456,name:"LibGameId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100778,src:"5376:9:163",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LibGameId_$100778_$",typeString:"type(library LibGameId)"}},id:97457,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"pack",nodeType:"MemberAccess",referencedDeclaration:100759,src:"5376:14:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$returns$_t_userDefinedValueType$_GameId_$103265_$",typeString:"function (GameType,Timestamp,contract IDisputeGame) pure returns (GameId)"}},id:97468,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5376:74:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},nodeType:"VariableDeclarationStatement",src:"5364:86:163"},{expression:{id:97474,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:97470,name:"_disputeGames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97234,src:"5552:13:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_Hash_$103253_$_t_userDefinedValueType$_GameId_$103265_$",typeString:"mapping(Hash => GameId)"}},id:97472,indexExpression:{id:97471,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97430,src:"5566:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"5552:19:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97473,name:"id",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97455,src:"5574:2:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},src:"5552:24:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},id:97475,nodeType:"ExpressionStatement",src:"5552:24:163"},{expression:{arguments:[{id:97479,name:"id",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97455,src:"5608:2:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}],expression:{id:97476,name:"_disputeGameList",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97239,src:"5586:16:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[] storage ref"}},id:97478,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"5586:21:163",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage_ptr_$_t_userDefinedValueType$_GameId_$103265_$returns$__$bound_to$_t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage_ptr_$",typeString:"function (GameId[] storage pointer,GameId)"}},id:97480,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5586:25:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97481,nodeType:"ExpressionStatement",src:"5586:25:163"},{eventCall:{arguments:[{arguments:[{id:97485,name:"proxy_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97359,src:"5653:6:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}],id:97484,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5645:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97483,name:"address",nodeType:"ElementaryTypeName",src:"5645:7:163",typeDescriptions:{}}},id:97486,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5645:15:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:97487,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97350,src:"5662:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97488,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97353,src:"5673:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}],id:97482,name:"DisputeGameCreated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100344,src:"5626:18:163",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Claim_$103255_$returns$__$",typeString:"function (address,GameType,Claim)"}},id:97489,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5626:58:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97490,nodeType:"EmitStatement",src:"5621:63:163"}]},baseFunctions:[100447],documentation:{id:97347,nodeType:"StructuredDocumentation",src:"3098:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"82ecf2f6",implemented:!0,kind:"function",modifiers:[],name:"create",nameLocation:"3147:6:163",parameters:{id:97356,nodeType:"ParameterList",parameters:[{constant:!1,id:97350,mutability:"mutable",name:"_gameType",nameLocation:"3172:9:163",nodeType:"VariableDeclaration",scope:97492,src:"3163:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97349,nodeType:"UserDefinedTypeName",pathNode:{id:97348,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"3163:8:163"},referencedDeclaration:103271,src:"3163:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97353,mutability:"mutable",name:"_rootClaim",nameLocation:"3197:10:163",nodeType:"VariableDeclaration",scope:97492,src:"3191:16:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97352,nodeType:"UserDefinedTypeName",pathNode:{id:97351,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"3191:5:163"},referencedDeclaration:103255,src:"3191:5:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:97355,mutability:"mutable",name:"_extraData",nameLocation:"3232:10:163",nodeType:"VariableDeclaration",scope:97492,src:"3217:25:163",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:97354,name:"bytes",nodeType:"ElementaryTypeName",src:"3217:5:163",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3153:95:163"},returnParameters:{id:97360,nodeType:"ParameterList",parameters:[{constant:!1,id:97359,mutability:"mutable",name:"proxy_",nameLocation:"3312:6:163",nodeType:"VariableDeclaration",scope:97492,src:"3299:19:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97358,nodeType:"UserDefinedTypeName",pathNode:{id:97357,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"3299:12:163"},referencedDeclaration:100327,src:"3299:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],src:"3298:21:163"},scope:97682,stateMutability:"payable",virtual:!1,visibility:"external"},{id:97522,nodeType:"FunctionDefinition",src:"5737:269:163",nodes:[],body:{id:97521,nodeType:"Block",src:"5914:92:163",nodes:[],statements:[{expression:{id:97519,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97507,name:"uuid_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97505,src:"5924:5:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{arguments:[{id:97513,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97496,src:"5963:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97514,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97499,src:"5974:10:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97515,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97501,src:"5986:10:163",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],expression:{id:97511,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"5952:3:163",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:97512,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"5952:10:163",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:97516,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5952:45:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:97510,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"5942:9:163",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:97517,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5942:56:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:97508,name:"Hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103253,src:"5932:4:163",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Hash_$103253_$",typeString:"type(Hash)"}},id:97509,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"5932:9:163",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (bytes32) pure returns (Hash)"}},id:97518,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5932:67:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},src:"5924:75:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:97520,nodeType:"ExpressionStatement",src:"5924:75:163"}]},baseFunctions:[100481],documentation:{id:97493,nodeType:"StructuredDocumentation",src:"5697:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"96cd9720",implemented:!0,kind:"function",modifiers:[],name:"getGameUUID",nameLocation:"5746:11:163",parameters:{id:97502,nodeType:"ParameterList",parameters:[{constant:!1,id:97496,mutability:"mutable",name:"_gameType",nameLocation:"5776:9:163",nodeType:"VariableDeclaration",scope:97522,src:"5767:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97495,nodeType:"UserDefinedTypeName",pathNode:{id:97494,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"5767:8:163"},referencedDeclaration:103271,src:"5767:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97499,mutability:"mutable",name:"_rootClaim",nameLocation:"5801:10:163",nodeType:"VariableDeclaration",scope:97522,src:"5795:16:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97498,nodeType:"UserDefinedTypeName",pathNode:{id:97497,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"5795:5:163"},referencedDeclaration:103255,src:"5795:5:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:97501,mutability:"mutable",name:"_extraData",nameLocation:"5836:10:163",nodeType:"VariableDeclaration",scope:97522,src:"5821:25:163",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:97500,name:"bytes",nodeType:"ElementaryTypeName",src:"5821:5:163",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"5757:95:163"},returnParameters:{id:97506,nodeType:"ParameterList",parameters:[{constant:!1,id:97505,mutability:"mutable",name:"uuid_",nameLocation:"5903:5:163",nodeType:"VariableDeclaration",scope:97522,src:"5898:10:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:97504,nodeType:"UserDefinedTypeName",pathNode:{id:97503,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"5898:4:163"},referencedDeclaration:103253,src:"5898:4:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],src:"5897:12:163"},scope:97682,stateMutability:"pure",virtual:!1,visibility:"public"},{id:97631,nodeType:"FunctionDefinition",src:"6052:1929:163",nodes:[],body:{id:97630,nodeType:"Block",src:"6240:1741:163",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:97544,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97540,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97537,name:"_start",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97528,src:"6374:6:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{expression:{id:97538,name:"_disputeGameList",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97239,src:"6384:16:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[] storage ref"}},id:97539,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"6384:23:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6374:33:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97543,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97541,name:"_n",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97530,src:"6411:2:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:97542,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6417:1:163",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"6411:7:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"6374:44:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97547,nodeType:"IfStatement",src:"6370:63:163",trueBody:{expression:{id:97545,name:"games_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97535,src:"6427:6:163",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_memory_ptr_$dyn_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory[] memory"}},functionReturnParameters:97536,id:97546,nodeType:"Return",src:"6420:13:163"}},{AST:{nodeType:"YulBlock",src:"6660:109:163",statements:[{nodeType:"YulAssignment",src:"6674:21:163",value:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"6690:4:163",type:"",value:"0x40"}],functionName:{name:"mload",nodeType:"YulIdentifier",src:"6684:5:163"},nodeType:"YulFunctionCall",src:"6684:11:163"},variableNames:[{name:"games_",nodeType:"YulIdentifier",src:"6674:6:163"}]},{expression:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"6715:4:163",type:"",value:"0x40"},{arguments:[{name:"games_",nodeType:"YulIdentifier",src:"6725:6:163"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"6737:4:163",type:"",value:"0x20"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"6747:4:163",type:"",value:"0x05"},{name:"_n",nodeType:"YulIdentifier",src:"6753:2:163"}],functionName:{name:"shl",nodeType:"YulIdentifier",src:"6743:3:163"},nodeType:"YulFunctionCall",src:"6743:13:163"}],functionName:{name:"add",nodeType:"YulIdentifier",src:"6733:3:163"},nodeType:"YulFunctionCall",src:"6733:24:163"}],functionName:{name:"add",nodeType:"YulIdentifier",src:"6721:3:163"},nodeType:"YulFunctionCall",src:"6721:37:163"}],functionName:{name:"mstore",nodeType:"YulIdentifier",src:"6708:6:163"},nodeType:"YulFunctionCall",src:"6708:51:163"},nodeType:"YulExpressionStatement",src:"6708:51:163"}]},evmVersion:"london",externalReferences:[{declaration:97530,isOffset:!1,isSlot:!1,src:"6753:2:163",valueSize:1},{declaration:97535,isOffset:!1,isSlot:!1,src:"6674:6:163",valueSize:1},{declaration:97535,isOffset:!1,isSlot:!1,src:"6725:6:163",valueSize:1}],id:97548,nodeType:"InlineAssembly",src:"6651:118:163"},{body:{id:97628,nodeType:"Block",src:"6923:1052:163",statements:[{assignments:[97562],declarations:[{constant:!1,id:97562,mutability:"mutable",name:"id",nameLocation:"6944:2:163",nodeType:"VariableDeclaration",scope:97628,src:"6937:9:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"},typeName:{id:97561,nodeType:"UserDefinedTypeName",pathNode:{id:97560,name:"GameId",nodeType:"IdentifierPath",referencedDeclaration:103265,src:"6937:6:163"},referencedDeclaration:103265,src:"6937:6:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},visibility:"internal"}],id:97566,initialValue:{baseExpression:{id:97563,name:"_disputeGameList",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97239,src:"6949:16:163",typeDescriptions:{typeIdentifier:"t_array$_t_userDefinedValueType$_GameId_$103265_$dyn_storage",typeString:"GameId[] storage ref"}},id:97565,indexExpression:{id:97564,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97550,src:"6966:1:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"6949:19:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},nodeType:"VariableDeclarationStatement",src:"6937:31:163"},{assignments:[97569,97572,97575],declarations:[{constant:!1,id:97569,mutability:"mutable",name:"gameType",nameLocation:"6992:8:163",nodeType:"VariableDeclaration",scope:97628,src:"6983:17:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97568,nodeType:"UserDefinedTypeName",pathNode:{id:97567,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"6983:8:163"},referencedDeclaration:103271,src:"6983:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97572,mutability:"mutable",name:"timestamp",nameLocation:"7012:9:163",nodeType:"VariableDeclaration",scope:97628,src:"7002:19:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},typeName:{id:97571,nodeType:"UserDefinedTypeName",pathNode:{id:97570,name:"Timestamp",nodeType:"IdentifierPath",referencedDeclaration:103261,src:"7002:9:163"},referencedDeclaration:103261,src:"7002:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},visibility:"internal"},{constant:!1,id:97575,mutability:"mutable",name:"proxy",nameLocation:"7036:5:163",nodeType:"VariableDeclaration",scope:97628,src:"7023:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97574,nodeType:"UserDefinedTypeName",pathNode:{id:97573,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"7023:12:163"},referencedDeclaration:100327,src:"7023:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],id:97579,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:97576,name:"id",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97562,src:"7045:2:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},id:97577,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"unpack",nodeType:"MemberAccess",referencedDeclaration:100777,src:"7045:9:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameId_$103265_$returns$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$bound_to$_t_userDefinedValueType$_GameId_$103265_$",typeString:"function (GameId) pure returns (GameType,Timestamp,contract IDisputeGame)"}},id:97578,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7045:11:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(GameType,Timestamp,contract IDisputeGame)"}},nodeType:"VariableDeclarationStatement",src:"6982:74:163"},{condition:{commonType:{typeIdentifier:"t_uint32",typeString:"uint32"},id:97586,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:97580,name:"gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97569,src:"7075:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:97581,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"7075:12:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:97582,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7075:14:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:97583,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97526,src:"7093:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:97584,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"7093:13:163",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:97585,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7093:15:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},src:"7075:33:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97623,nodeType:"IfStatement",src:"7071:834:163",trueBody:{id:97622,nodeType:"Block",src:"7110:795:163",statements:[{AST:{nodeType:"YulBlock",src:"7377:80:163",statements:[{expression:{arguments:[{name:"games_",nodeType:"YulIdentifier",src:"7406:6:163"},{arguments:[{arguments:[{name:"games_",nodeType:"YulIdentifier",src:"7424:6:163"}],functionName:{name:"mload",nodeType:"YulIdentifier",src:"7418:5:163"},nodeType:"YulFunctionCall",src:"7418:13:163"},{kind:"number",nodeType:"YulLiteral",src:"7433:4:163",type:"",value:"0x01"}],functionName:{name:"add",nodeType:"YulIdentifier",src:"7414:3:163"},nodeType:"YulFunctionCall",src:"7414:24:163"}],functionName:{name:"mstore",nodeType:"YulIdentifier",src:"7399:6:163"},nodeType:"YulFunctionCall",src:"7399:40:163"},nodeType:"YulExpressionStatement",src:"7399:40:163"}]},evmVersion:"london",externalReferences:[{declaration:97535,isOffset:!1,isSlot:!1,src:"7406:6:163",valueSize:1},{declaration:97535,isOffset:!1,isSlot:!1,src:"7424:6:163",valueSize:1}],id:97587,nodeType:"InlineAssembly",src:"7368:89:163"},{assignments:[97589],declarations:[{constant:!1,id:97589,mutability:"mutable",name:"extraData",nameLocation:"7488:9:163",nodeType:"VariableDeclaration",scope:97622,src:"7475:22:163",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:97588,name:"bytes",nodeType:"ElementaryTypeName",src:"7475:5:163",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],id:97593,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:97590,name:"proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97575,src:"7500:5:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:97591,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"extraData",nodeType:"MemberAccess",referencedDeclaration:100307,src:"7500:15:163",typeDescriptions:{typeIdentifier:"t_function_external_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure external returns (bytes memory)"}},id:97592,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7500:17:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"VariableDeclarationStatement",src:"7475:42:163"},{assignments:[97596],declarations:[{constant:!1,id:97596,mutability:"mutable",name:"rootClaim",nameLocation:"7541:9:163",nodeType:"VariableDeclaration",scope:97622,src:"7535:15:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97595,nodeType:"UserDefinedTypeName",pathNode:{id:97594,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"7535:5:163"},referencedDeclaration:103255,src:"7535:5:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],id:97600,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:97597,name:"proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97575,src:"7553:5:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:97598,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"rootClaim",nodeType:"MemberAccess",referencedDeclaration:100294,src:"7553:15:163",typeDescriptions:{typeIdentifier:"t_function_external_pure$__$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function () pure external returns (Claim)"}},id:97599,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7553:17:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"VariableDeclarationStatement",src:"7535:35:163"},{expression:{id:97614,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:97601,name:"games_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97535,src:"7588:6:163",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_memory_ptr_$dyn_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory[] memory"}},id:97606,indexExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97605,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:97602,name:"games_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97535,src:"7595:6:163",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_memory_ptr_$dyn_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory[] memory"}},id:97603,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"7595:13:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:97604,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"7611:1:163",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"7595:17:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"7588:25:163",typeDescriptions:{typeIdentifier:"t_struct$_GameSearchResult_$100374_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{id:97608,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97550,src:"7662:1:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:97609,name:"id",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97562,src:"7695:2:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"}},{id:97610,name:"timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97572,src:"7730:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},{id:97611,name:"rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97596,src:"7772:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97612,name:"extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97589,src:"7814:9:163",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_GameId_$103265",typeString:"GameId"},{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:97607,name:"GameSearchResult",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100374,src:"7616:16:163",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_GameSearchResult_$100374_storage_ptr_$",typeString:"type(struct IDisputeGameFactory.GameSearchResult storage pointer)"}},id:97613,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["index","metadata","timestamp","rootClaim","extraData"],nodeType:"FunctionCall",src:"7616:226:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_GameSearchResult_$100374_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory"}},src:"7588:254:163",typeDescriptions:{typeIdentifier:"t_struct$_GameSearchResult_$100374_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory"}},id:97615,nodeType:"ExpressionStatement",src:"7588:254:163"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97619,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:97616,name:"games_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97535,src:"7864:6:163",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_memory_ptr_$dyn_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult memory[] memory"}},id:97617,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"7864:13:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{id:97618,name:"_n",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97530,src:"7881:2:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"7864:19:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97621,nodeType:"IfStatement",src:"7860:30:163",trueBody:{id:97620,nodeType:"Break",src:"7885:5:163"}}]}},{id:97627,nodeType:"UncheckedBlock",src:"7919:46:163",statements:[{expression:{id:97625,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"--",prefix:!1,src:"7947:3:163",subExpression:{id:97624,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97550,src:"7947:1:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97626,nodeType:"ExpressionStatement",src:"7947:3:163"}]}]},condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:97559,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97555,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97553,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97550,src:"6899:1:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{hexValue:"30",id:97554,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6904:1:163",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"6899:6:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97558,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97556,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97550,src:"6909:1:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<=",rightExpression:{id:97557,name:"_start",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97528,src:"6914:6:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6909:11:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"6899:21:163",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97629,initializationExpression:{assignments:[97550],declarations:[{constant:!1,id:97550,mutability:"mutable",name:"i",nameLocation:"6887:1:163",nodeType:"VariableDeclaration",scope:97629,src:"6879:9:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97549,name:"uint256",nodeType:"ElementaryTypeName",src:"6879:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:97552,initialValue:{id:97551,name:"_start",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97528,src:"6891:6:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6879:18:163"},nodeType:"ForStatement",src:"6874:1101:163"}]},baseFunctions:[100496],documentation:{id:97523,nodeType:"StructuredDocumentation",src:"6012:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"254bd683",implemented:!0,kind:"function",modifiers:[],name:"findLatestGames",nameLocation:"6061:15:163",parameters:{id:97531,nodeType:"ParameterList",parameters:[{constant:!1,id:97526,mutability:"mutable",name:"_gameType",nameLocation:"6095:9:163",nodeType:"VariableDeclaration",scope:97631,src:"6086:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97525,nodeType:"UserDefinedTypeName",pathNode:{id:97524,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"6086:8:163"},referencedDeclaration:103271,src:"6086:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97528,mutability:"mutable",name:"_start",nameLocation:"6122:6:163",nodeType:"VariableDeclaration",scope:97631,src:"6114:14:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97527,name:"uint256",nodeType:"ElementaryTypeName",src:"6114:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:97530,mutability:"mutable",name:"_n",nameLocation:"6146:2:163",nodeType:"VariableDeclaration",scope:97631,src:"6138:10:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97529,name:"uint256",nodeType:"ElementaryTypeName",src:"6138:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"6076:78:163"},returnParameters:{id:97536,nodeType:"ParameterList",parameters:[{constant:!1,id:97535,mutability:"mutable",name:"games_",nameLocation:"6228:6:163",nodeType:"VariableDeclaration",scope:97631,src:"6202:32:163",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_memory_ptr_$dyn_memory_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult[]"},typeName:{baseType:{id:97533,nodeType:"UserDefinedTypeName",pathNode:{id:97532,name:"GameSearchResult",nodeType:"IdentifierPath",referencedDeclaration:100374,src:"6202:16:163"},referencedDeclaration:100374,src:"6202:16:163",typeDescriptions:{typeIdentifier:"t_struct$_GameSearchResult_$100374_storage_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult"}},id:97534,nodeType:"ArrayTypeName",src:"6202:18:163",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_GameSearchResult_$100374_storage_$dyn_storage_ptr",typeString:"struct IDisputeGameFactory.GameSearchResult[]"}},visibility:"internal"}],src:"6201:34:163"},scope:97682,stateMutability:"view",virtual:!1,visibility:"external"},{id:97658,nodeType:"FunctionDefinition",src:"8027:190:163",nodes:[],body:{id:97657,nodeType:"Block",src:"8113:104:163",nodes:[],statements:[{expression:{id:97647,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:97643,name:"gameImpls",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97221,src:"8123:9:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_contract$_IDisputeGame_$100327_$",typeString:"mapping(GameType => contract IDisputeGame)"}},id:97645,indexExpression:{id:97644,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97635,src:"8133:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"8123:20:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97646,name:"_impl",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97638,src:"8146:5:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},src:"8123:28:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:97648,nodeType:"ExpressionStatement",src:"8123:28:163"},{eventCall:{arguments:[{arguments:[{id:97652,name:"_impl",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97638,src:"8192:5:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}],id:97651,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8184:7:163",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97650,name:"address",nodeType:"ElementaryTypeName",src:"8184:7:163",typeDescriptions:{}}},id:97653,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8184:14:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:97654,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97635,src:"8200:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}],id:97649,name:"ImplementationSet",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100352,src:"8166:17:163",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_userDefinedValueType$_GameType_$103271_$returns$__$",typeString:"function (address,GameType)"}},id:97655,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8166:44:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97656,nodeType:"EmitStatement",src:"8161:49:163"}]},baseFunctions:[100457],documentation:{id:97632,nodeType:"StructuredDocumentation",src:"7987:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"14f6b1a3",implemented:!0,kind:"function",modifiers:[{id:97641,kind:"modifierInvocation",modifierName:{id:97640,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:46877,src:"8103:9:163"},nodeType:"ModifierInvocation",src:"8103:9:163"}],name:"setImplementation",nameLocation:"8036:17:163",parameters:{id:97639,nodeType:"ParameterList",parameters:[{constant:!1,id:97635,mutability:"mutable",name:"_gameType",nameLocation:"8063:9:163",nodeType:"VariableDeclaration",scope:97658,src:"8054:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97634,nodeType:"UserDefinedTypeName",pathNode:{id:97633,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"8054:8:163"},referencedDeclaration:103271,src:"8054:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97638,mutability:"mutable",name:"_impl",nameLocation:"8087:5:163",nodeType:"VariableDeclaration",scope:97658,src:"8074:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:97637,nodeType:"UserDefinedTypeName",pathNode:{id:97636,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"8074:12:163"},referencedDeclaration:100327,src:"8074:12:163",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],src:"8053:40:163"},returnParameters:{id:97642,nodeType:"ParameterList",parameters:[],src:"8113:0:163"},scope:97682,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:97681,nodeType:"FunctionDefinition",src:"8263:180:163",nodes:[],body:{id:97680,nodeType:"Block",src:"8342:101:163",nodes:[],statements:[{expression:{id:97673,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:97669,name:"initBonds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97227,src:"8352:9:163",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_GameType_$103271_$_t_uint256_$",typeString:"mapping(GameType => uint256)"}},id:97671,indexExpression:{id:97670,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97662,src:"8362:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"8352:20:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97672,name:"_initBond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97664,src:"8375:9:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"8352:32:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97674,nodeType:"ExpressionStatement",src:"8352:32:163"},{eventCall:{arguments:[{id:97676,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97662,src:"8415:9:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},{id:97677,name:"_initBond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97664,src:"8426:9:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:97675,name:"InitBondUpdated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100360,src:"8399:15:163",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_userDefinedValueType$_GameType_$103271_$_t_uint256_$returns$__$",typeString:"function (GameType,uint256)"}},id:97678,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8399:37:163",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97679,nodeType:"EmitStatement",src:"8394:42:163"}]},baseFunctions:[100466],documentation:{id:97659,nodeType:"StructuredDocumentation",src:"8223:35:163",text:"@inheritdoc IDisputeGameFactory"},functionSelector:"1e334240",implemented:!0,kind:"function",modifiers:[{id:97667,kind:"modifierInvocation",modifierName:{id:97666,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:46877,src:"8332:9:163"},nodeType:"ModifierInvocation",src:"8332:9:163"}],name:"setInitBond",nameLocation:"8272:11:163",parameters:{id:97665,nodeType:"ParameterList",parameters:[{constant:!1,id:97662,mutability:"mutable",name:"_gameType",nameLocation:"8293:9:163",nodeType:"VariableDeclaration",scope:97681,src:"8284:18:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97661,nodeType:"UserDefinedTypeName",pathNode:{id:97660,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"8284:8:163"},referencedDeclaration:103271,src:"8284:8:163",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97664,mutability:"mutable",name:"_initBond",nameLocation:"8312:9:163",nodeType:"VariableDeclaration",scope:97681,src:"8304:17:163",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97663,name:"uint256",nodeType:"ElementaryTypeName",src:"8304:7:163",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"8283:39:163"},returnParameters:{id:97668,nodeType:"ParameterList",parameters:[],src:"8342:0:163"},scope:97682,stateMutability:"nonpayable",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[{baseName:{id:97202,name:"OwnableUpgradeable",nodeType:"IdentifierPath",referencedDeclaration:46963,src:"1020:18:163"},id:97203,nodeType:"InheritanceSpecifier",src:"1020:18:163"},{baseName:{id:97204,name:"IDisputeGameFactory",nodeType:"IdentifierPath",referencedDeclaration:100497,src:"1040:19:163"},id:97205,nodeType:"InheritanceSpecifier",src:"1040:19:163"},{baseName:{id:97206,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1061:7:163"},id:97207,nodeType:"InheritanceSpecifier",src:"1061:7:163"}],canonicalName:"DisputeGameFactory",contractDependencies:[],contractKind:"contract",documentation:{id:97201,nodeType:"StructuredDocumentation",src:"573:416:163",text:`@title DisputeGameFactory + @notice A factory contract for creating \`IDisputeGame\` contracts. All created dispute games are stored in both a + mapping and an append only array. The timestamp of the creation time of the dispute game is packed tightly + into the storage slot with the address of the dispute game to make offchain discoverability of playable + dispute games easier.`},fullyImplemented:!0,linearizedBaseContracts:[97682,109417,100497,46963,48502,47114],name:"DisputeGameFactory",nameLocation:"998:18:163",scope:97683,usedErrors:[103105,103111,103123]}],license:"MIT"},id:163}});var SYe=B((J6a,fj0)=>{fj0.exports={abi:[{type:"constructor",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"},{name:"_absolutePrestate",type:"bytes32",internalType:"Claim"},{name:"_maxGameDepth",type:"uint256",internalType:"uint256"},{name:"_splitDepth",type:"uint256",internalType:"uint256"},{name:"_clockExtension",type:"uint64",internalType:"Duration"},{name:"_maxClockDuration",type:"uint64",internalType:"Duration"},{name:"_vm",type:"address",internalType:"contract IBigStepper"},{name:"_weth",type:"address",internalType:"contract IDelayedWETH"},{name:"_anchorStateRegistry",type:"address",internalType:"contract IAnchorStateRegistry"},{name:"_l2ChainId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"absolutePrestate",inputs:[],outputs:[{name:"absolutePrestate_",type:"bytes32",internalType:"Claim"}],stateMutability:"view"},{type:"function",name:"addLocalData",inputs:[{name:"_ident",type:"uint256",internalType:"uint256"},{name:"_execLeafIdx",type:"uint256",internalType:"uint256"},{name:"_partOffset",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"anchorStateRegistry",inputs:[],outputs:[{name:"registry_",type:"address",internalType:"contract IAnchorStateRegistry"}],stateMutability:"view"},{type:"function",name:"attack",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCredit",inputs:[{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claimData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"parentIndex",type:"uint32",internalType:"uint32"},{name:"counteredBy",type:"address",internalType:"address"},{name:"claimant",type:"address",internalType:"address"},{name:"bond",type:"uint128",internalType:"uint128"},{name:"claim",type:"bytes32",internalType:"Claim"},{name:"position",type:"uint128",internalType:"Position"},{name:"clock",type:"uint128",internalType:"Clock"}],stateMutability:"view"},{type:"function",name:"claimDataLen",inputs:[],outputs:[{name:"len_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"claims",inputs:[{name:"",type:"bytes32",internalType:"ClaimHash"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"clockExtension",inputs:[],outputs:[{name:"clockExtension_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"createdAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"credit",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"defend",inputs:[{name:"_parentIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"}],outputs:[],stateMutability:"payable"},{type:"function",name:"extraData",inputs:[],outputs:[{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"gameCreator",inputs:[],outputs:[{name:"creator_",type:"address",internalType:"address"}],stateMutability:"pure"},{type:"function",name:"gameData",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"},{name:"rootClaim_",type:"bytes32",internalType:"Claim"},{name:"extraData_",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"gameType",inputs:[],outputs:[{name:"gameType_",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"getChallengerDuration",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"duration_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"getRequiredBond",inputs:[{name:"_position",type:"uint128",internalType:"Position"}],outputs:[{name:"requiredBond_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"l1Head",inputs:[],outputs:[{name:"l1Head_",type:"bytes32",internalType:"Hash"}],stateMutability:"pure"},{type:"function",name:"l2BlockNumber",inputs:[],outputs:[{name:"l2BlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"l2ChainId",inputs:[],outputs:[{name:"l2ChainId_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxClockDuration",inputs:[],outputs:[{name:"maxClockDuration_",type:"uint64",internalType:"Duration"}],stateMutability:"view"},{type:"function",name:"maxGameDepth",inputs:[],outputs:[{name:"maxGameDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"move",inputs:[{name:"_challengeIndex",type:"uint256",internalType:"uint256"},{name:"_claim",type:"bytes32",internalType:"Claim"},{name:"_isAttack",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"payable"},{type:"function",name:"resolve",inputs:[],outputs:[{name:"status_",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"nonpayable"},{type:"function",name:"resolveClaim",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"resolvedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"Timestamp"}],stateMutability:"view"},{type:"function",name:"resolvedSubgames",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"rootClaim",inputs:[],outputs:[{name:"rootClaim_",type:"bytes32",internalType:"Claim"}],stateMutability:"pure"},{type:"function",name:"splitDepth",inputs:[],outputs:[{name:"splitDepth_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"startingBlockNumber_",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingOutputRoot",inputs:[],outputs:[{name:"root",type:"bytes32",internalType:"Hash"},{name:"l2BlockNumber",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingRootHash",inputs:[],outputs:[{name:"startingRootHash_",type:"bytes32",internalType:"Hash"}],stateMutability:"view"},{type:"function",name:"status",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum GameStatus"}],stateMutability:"view"},{type:"function",name:"step",inputs:[{name:"_claimIndex",type:"uint256",internalType:"uint256"},{name:"_isAttack",type:"bool",internalType:"bool"},{name:"_stateData",type:"bytes",internalType:"bytes"},{name:"_proof",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"subgames",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"vm",inputs:[],outputs:[{name:"vm_",type:"address",internalType:"contract IBigStepper"}],stateMutability:"view"},{type:"function",name:"weth",inputs:[],outputs:[{name:"weth_",type:"address",internalType:"contract IDelayedWETH"}],stateMutability:"view"},{type:"event",name:"Move",inputs:[{name:"parentIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claim",type:"bytes32",indexed:!0,internalType:"Claim"},{name:"claimant",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Resolved",inputs:[{name:"status",type:"uint8",indexed:!0,internalType:"enum GameStatus"}],anonymous:!1},{type:"error",name:"AlreadyInitialized",inputs:[]},{type:"error",name:"AnchorRootNotFound",inputs:[]},{type:"error",name:"BondTransferFailed",inputs:[]},{type:"error",name:"CannotDefendRootClaim",inputs:[]},{type:"error",name:"ClaimAboveSplit",inputs:[]},{type:"error",name:"ClaimAlreadyExists",inputs:[]},{type:"error",name:"ClaimAlreadyResolved",inputs:[]},{type:"error",name:"ClockNotExpired",inputs:[]},{type:"error",name:"ClockTimeExceeded",inputs:[]},{type:"error",name:"DuplicateStep",inputs:[]},{type:"error",name:"GameDepthExceeded",inputs:[]},{type:"error",name:"GameNotInProgress",inputs:[]},{type:"error",name:"IncorrectBondAmount",inputs:[]},{type:"error",name:"InvalidClockExtension",inputs:[]},{type:"error",name:"InvalidLocalIdent",inputs:[]},{type:"error",name:"InvalidParent",inputs:[]},{type:"error",name:"InvalidPrestate",inputs:[]},{type:"error",name:"InvalidSplitDepth",inputs:[]},{type:"error",name:"MaxDepthTooLarge",inputs:[]},{type:"error",name:"NoCreditToClaim",inputs:[]},{type:"error",name:"OutOfOrderResolution",inputs:[]},{type:"error",name:"UnexpectedRootClaim",inputs:[{name:"rootClaim",type:"bytes32",internalType:"Claim"}]},{type:"error",name:"ValidStep",inputs:[]}],bytecode:{object:"0x6101c06040523480156200001257600080fd5b5060405162004dfd38038062004dfd833981016040819052620000359162000187565b620000436001607e62000248565b60ff168811156200006757604051633beff19960e11b815260040160405180910390fd5b878710620000885760405163e62ccf3960e01b815260040160405180910390fd5b620000a7856001600160401b03166200014e60201b620029041760201c565b6001600160401b0316620000cf876001600160401b03166200014e60201b620029041760201c565b6001600160401b03161115620000f85760405163235dfb2b60e21b815260040160405180910390fd5b63ffffffff9099166101205260809790975260a09590955260c0939093526001600160401b039182166101a0521660e0526001600160a01b0390811661010052908116610140521661016052610180526200027a565b90565b80516001600160401b03811681146200016957600080fd5b919050565b6001600160a01b03811681146200018457600080fd5b50565b6000806000806000806000806000806101408b8d031215620001a857600080fd5b8a5163ffffffff81168114620001bd57600080fd5b809a505060208b0151985060408b0151975060608b01519650620001e460808c0162000151565b9550620001f460a08c0162000151565b945060c08b015162000206816200016e565b60e08c015190945062000219816200016e565b6101008c01519093506200022d816200016e565b809250506101208b015190509295989b9194979a5092959850565b600060ff821660ff8416808210156200027157634e487b7160e01b600052601160045260246000fd5b90039392505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051614a0b620003f2600039600081816105c60152818161124f0152818161130d015261133701526000818161084a0152612b5501526000818161050b01528181610c1f015261186001526000818161045201528181610da50152818161170701528181611c610152613f310152600081816106a60152818161181f0152612bef01526000818161041f015281816124c6015261281b01526000818161089d015281816111e90152818161127a0152818161136f01528181611e6d01528181611eaf0152612ced0152600081816108d00152818161108f01528181611158015281816112d80152818161231901528181612a1d015281816130fd0152818161382c0152818161395a01528181613a5b0152613b30015260008181610987015281816110fb01528181611f7e015281816120040152818161220f015261233a01526000818161066b01526123d80152614a0b6000f3fe6080604052600436106102bb5760003560e01c80638b85902b1161016e578063d6ae3cd5116100cb578063f8f43ff61161007f578063fa315aa911610064578063fa315aa914610978578063fdffbb28146109ab578063fe2bbeb2146109cb57600080fd5b8063f8f43ff614610934578063fa24f7431461095457600080fd5b8063dabd396d116100b0578063dabd396d1461088e578063ec5e6308146108c1578063eff0f592146108f457600080fd5b8063d6ae3cd51461083b578063d8cc1a3c1461086e57600080fd5b8063c395e1ca11610122578063c6f0308c11610107578063c6f0308c14610763578063cf09e0d0146107ed578063d5d44d801461080e57600080fd5b8063c395e1ca14610730578063c55cd0c71461075057600080fd5b8063bbdc02db11610153578063bbdc02db1461068f578063bcef3b55146106d0578063bd8da9561461071057600080fd5b80638b85902b1461061c5780638d450a951461065c57600080fd5b806357da950e1161021c5780636361506d116101d057806370872aa5116101b557806370872aa5146105ea5780638129fc1c146105ff5780638980e0cc1461060757600080fd5b80636361506d146105775780636b6716c0146105b757600080fd5b8063609d333411610201578063609d33341461052f57806360e2746414610544578063632247ea1461056457600080fd5b806357da950e146104cc5780635c0cba33146104fc57600080fd5b806335fef567116102735780633a768463116102585780633a768463146104105780633fc8cef31461044357806354fd4d501461047657600080fd5b806335fef5671461039a57806337b1b229146103af57600080fd5b806325fc2ace116102a457806325fc2ace146103465780632810e1d6146103655780632ad69aeb1461037a57600080fd5b806319effeb4146102c0578063200d2ed21461030b575b600080fd5b3480156102cc57600080fd5b506000546102ed9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561031757600080fd5b5060005461033990700100000000000000000000000000000000900460ff1681565b60405161030291906142b6565b34801561035257600080fd5b506006545b604051908152602001610302565b34801561037157600080fd5b506103396109fb565b34801561038657600080fd5b506103576103953660046142f7565b610ca0565b6103ad6103a83660046142f7565b610cd1565b005b3480156103bb57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560601c5b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610302565b34801561041c57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561044f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561048257600080fd5b506104bf6040518060400160405280600681526020017f302e31372e30000000000000000000000000000000000000000000000000000081525081565b6040516103029190614384565b3480156104d857600080fd5b506006546007546104e7919082565b60408051928352602083019190915201610302565b34801561050857600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561053b57600080fd5b506104bf610ce6565b34801561055057600080fd5b506103ad61055f3660046143bc565b610cf4565b6103ad6105723660046143f5565b610ea0565b34801561058357600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360340135610357565b3480156105c357600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ed565b3480156105f657600080fd5b50600754610357565b6103ad6117a0565b34801561061357600080fd5b50600154610357565b34801561062857600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360540135610357565b34801561066857600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561069b57600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610302565b3480156106dc57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360140135610357565b34801561071c57600080fd5b506102ed61072b36600461442a565b611cf8565b34801561073c57600080fd5b5061035761074b366004614443565b611ed8565b6103ad61075e3660046142f7565b6120bb565b34801561076f57600080fd5b5061078361077e36600461442a565b6120c7565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610302565b3480156107f957600080fd5b506000546102ed9067ffffffffffffffff1681565b34801561081a57600080fd5b506103576108293660046143bc565b60026020526000908152604090205481565b34801561084757600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561087a57600080fd5b506103ad6108893660046144be565b61215e565b34801561089a57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ed565b3480156108cd57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561090057600080fd5b5061092461090f36600461442a565b60036020526000908152604090205460ff1681565b6040519015158152602001610302565b34801561094057600080fd5b506103ad61094f366004614548565b61278d565b34801561096057600080fd5b50610969612bed565b60405161030293929190614574565b34801561098457600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b3480156109b757600080fd5b506103ad6109c636600461442a565b612c4d565b3480156109d757600080fd5b506109246109e636600461442a565b60056020526000908152604090205460ff1681565b600080600054700100000000000000000000000000000000900460ff166002811115610a2957610a29614287565b14610a60576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5460ff16610ac4576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001600081548110610af057610af0614599565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff1614610b2b576001610b2e565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff90911617700100000000000000000000000000000000836002811115610bdf57610bdf614287565b021790556002811115610bf457610bf4614287565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610c8557600080fd5b505af1158015610c99573d6000803e3d6000fd5b5050505090565b60046020528160005260406000208181548110610cbc57600080fd5b90600052602060002001600091509150505481565b610cdd82826000610ea0565b5050565b905090565b6060610ce16054602061305f565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610d59576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610de957600080fd5b505af1158015610dfd573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610e5b576040519150601f19603f3d011682016040523d82523d6000602084013e610e60565b606091505b5050905080610e9b576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610ecc57610ecc614287565b14610f03576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610f1857610f18614599565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610fdd90839086906130b116565b9050600061107d826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690508615806110b857506110b57f000000000000000000000000000000000000000000000000000000000000000060026145f7565b81145b80156110c2575084155b156110f9576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115611153576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61117e7f000000000000000000000000000000000000000000000000000000000000000060016145f7565b810361119057611190868885886130b9565b3461119a83611ed8565b146111d1576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111dc88611cf8565b905067ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811690821603611244576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001667ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166112a4919061460f565b67ffffffffffffffff166112bf8267ffffffffffffffff1690565b67ffffffffffffffff1611156113a15760006112fc60017f0000000000000000000000000000000000000000000000000000000000000000614638565b83146113325767ffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611367565b6113677f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16600261464f565b905061139d817f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1661460f565b9150505b6000604082901b42176000898152608086901b6fffffffffffffffffffffffffffffffff8c1617602052604081209192509060008181526003602052604090205490915060ff161561141f576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808c63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018b8152602001876fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008b8152602001908152602001600020600180805490506116b49190614638565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561174c57600080fd5b505af1158015611760573d6000803e3d6000fd5b50506040513393508c92508d91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a450505050505050505050565b60005471010000000000000000000000000000000000900460ff16156117f2576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa1580156118a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ca919061467f565b909250905081611906576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082019091528281526020018190526006829055600781905536607a1461193957639824bdab6000526004601cfd5b80367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360540135116119d3576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036014013560048201526024015b60405180910390fd5b6040805160e08101825263ffffffff8082526000602083018181527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90038035606090811c868801908152346fffffffffffffffffffffffffffffffff81811693890193845260149094013560808901908152600160a08a0181815242871660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549186167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921691909117905591517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf985015551955182167001000000000000000000000000000000000295909116949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015580547fffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffff167101000000000000000000000000000000000017815583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b158015611ca757600080fd5b505af1158015611cbb573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000164267ffffffffffffffff161790555050505050565b600080600054700100000000000000000000000000000000900460ff166002811115611d2657611d26614287565b14611d5d576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018381548110611d7257611d72614599565b600091825260208220600590910201805490925063ffffffff90811614611de157815460018054909163ffffffff16908110611db057611db0614599565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b6004820154600090611e1990700100000000000000000000000000000000900467ffffffffffffffff165b67ffffffffffffffff1690565b611e2d9067ffffffffffffffff1642614638565b611e4c611e0c846fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611e6091906145f7565b905067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001667ffffffffffffffff168167ffffffffffffffff1611611ead5780611ecf565b7f00000000000000000000000000000000000000000000000000000000000000005b95945050505050565b600080611f77836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611fd6576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ff183836146d2565b9050670de0b6b3a76400006000612028827f00000000000000000000000000000000000000000000000000000000000000006146e6565b90506000612046612041670de0b6b3a7640000866146e6565b613273565b9050600061205484846134ce565b90506000612062838361351d565b9050600061206f8261354b565b9050600061208e82612089670de0b6b3a76400008f6146e6565b613733565b9050600061209c8b8361351d565b90506120a8818d6146e6565b9f9e505050505050505050505050505050565b610cdd82826001610ea0565b600181815481106120d757600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff16600281111561218a5761218a614287565b146121c1576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600187815481106121d6576121d6614599565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b90506122357f000000000000000000000000000000000000000000000000000000000000000060016145f7565b6122d1826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff161461230b576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008089156124025761235e7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614638565b6001901b61237d846fffffffffffffffffffffffffffffffff1661376d565b6fffffffffffffffffffffffffffffffff166123999190614723565b156123d6576123cd6123be60016fffffffffffffffffffffffffffffffff8716614737565b865463ffffffff16600061380c565b600301546123f8565b7f00000000000000000000000000000000000000000000000000000000000000005b915084905061242c565b600385015491506124296123be6fffffffffffffffffffffffffffffffff86166001614760565b90505b600882901b60088a8a604051612443929190614794565b6040518091039020901b14612484576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061248f8c6138f0565b9050600061249e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290612518908f908f908f908f908a906004016147ed565b6020604051808303816000875af1158015612537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255b9190614827565b600485015491149150600090600290612606906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6126a2896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6126ac9190614840565b6126b69190614863565b60ff1615905081151581036126f7576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff161561274e576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156127b9576127b9614287565b146127f0576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806127ff8661391f565b9350935093509350600061281585858585613d28565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a89190614885565b9050600189036129a35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84612907367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036034013590565b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af1158015612979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299d9190614827565b50612be2565b600289036129cf5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a8489612907565b600389036129fb5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a8487612907565b60048903612b17576000612a416fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613de2565b600754612a4e91906145f7565b612a599060016145f7565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af1158015612aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b109190614827565b5050612be2565b60058903612bb0576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161295a565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003601401356060612c46610ce6565b9050909192565b60008054700100000000000000000000000000000000900460ff166002811115612c7957612c79614287565b14612cb0576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612cc557612cc5614599565b906000526020600020906005020190506000612ce083611cf8565b905067ffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169082161015612d49576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526005602052604090205460ff1615612d92576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600460205260409020805480158015612daf57508415155b15612e49578354640100000000900473ffffffffffffffffffffffffffffffffffffffff1660008115612de25781612dfe565b600186015473ffffffffffffffffffffffffffffffffffffffff165b9050612e0a8187613e90565b505050600093845250506005602052506040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60006fffffffffffffffffffffffffffffffff815b83811015612f91576000858281548110612e7a57612e7a614599565b6000918252602080832090910154808352600590915260409091205490915060ff16612ed2576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612ee757612ee7614599565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612f40575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612f7e576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612f8a906148a2565b9050612e5e565b50612fd973ffffffffffffffffffffffffffffffffffffffff831615612fb75782612fd3565b600187015473ffffffffffffffffffffffffffffffffffffffff165b87613e90565b50845473ffffffffffffffffffffffffffffffffffffffff909116640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff90911617909355505050600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b604051818152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90038284820160208401378260208301016000815260208101604052505092915050565b151760011b90565b60006130d86fffffffffffffffffffffffffffffffff84166001614760565b905060006130e88286600161380c565b9050600086901a83806131d4575061312160027f0000000000000000000000000000000000000000000000000000000000000000614723565b60048301546002906131c5906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6131cf9190614863565b60ff16145b1561322c5760ff8116600114806131ee575060ff81166002145b613227576040517ff40239db000000000000000000000000000000000000000000000000000000008152600481018890526024016119ca565b61326a565b60ff81161561326a576040517ff40239db000000000000000000000000000000000000000000000000000000008152600481018890526024016119ca565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b17600082136132d257631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261350b57637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b60008160001904831182021561353b5763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d7821361357957919050565b680755bf798b4a1bf1e582126135975763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b6000613764670de0b6b3a76400008361374b86613273565b61375591906148da565b61375f9190614996565b61354b565b90505b92915050565b6000806137fa837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600160ff919091161b90920392915050565b60008082613855576138506fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613f89565b613870565b613870856fffffffffffffffffffffffffffffffff16614139565b90506001848154811061388557613885614599565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff8281169116146138e857815460018054909163ffffffff169081106138d3576138d3614599565b90600052602060002090600502019150613896565b509392505050565b60008060008060006139018661391f565b935093509350935061391584848484613d28565b9695505050505050565b600080600080600085905060006001828154811061393f5761393f614599565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613a16906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611613a50576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f000000000000000000000000000000000000000000000000000000000000000090613b17906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169250821115613b8c57825463ffffffff16613b567f000000000000000000000000000000000000000000000000000000000000000060016145f7565b8303613b60578391505b60018181548110613b7357613b73614599565b9060005260206000209060050201935080945050613a54565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613bf5613be0856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff161490508015613cc4576000613c2d836fffffffffffffffffffffffffffffffff1661376d565b6fffffffffffffffffffffffffffffffff161115613c98576000613c6f613c6760016fffffffffffffffffffffffffffffffff8616614737565b89600161380c565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a50613c9e9050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff169750613d1a565b6000613ce6613c676fffffffffffffffffffffffffffffffff85166001614760565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841615613d955760408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a00160405160208183030381529060405280519060200120611ecf565b8282604051602001613dc39291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b6040516020818303038152906040528051906020012095945050505050565b600080613e6f847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690508083036001841b600180831b0386831b17039250505092915050565b60028082015473ffffffffffffffffffffffffffffffffffffffff841660009081526020929092526040822080546fffffffffffffffffffffffffffffffff909216928392613ee09084906145f7565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613f7557600080fd5b505af115801561326a573d6000803e3d6000fd5b600081614028846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611614062576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61406b83614139565b90508161410a826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611613767576137646141208360016145f7565b6fffffffffffffffffffffffffffffffff8316906141de565b600081196001830116816141cd827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169390931c8015179392505050565b60008061426b847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169050808303600180821b0385821b179250505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60208101600383106142f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561430a57600080fd5b50508035926020909101359150565b6000815180845260005b8181101561433f57602081850181015186830182015201614323565b81811115614351576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006137646020830184614319565b73ffffffffffffffffffffffffffffffffffffffff811681146143b957600080fd5b50565b6000602082840312156143ce57600080fd5b81356143d981614397565b9392505050565b803580151581146143f057600080fd5b919050565b60008060006060848603121561440a57600080fd5b8335925060208401359150614421604085016143e0565b90509250925092565b60006020828403121561443c57600080fd5b5035919050565b60006020828403121561445557600080fd5b81356fffffffffffffffffffffffffffffffff811681146143d957600080fd5b60008083601f84011261448757600080fd5b50813567ffffffffffffffff81111561449f57600080fd5b6020830191508360208285010111156144b757600080fd5b9250929050565b600080600080600080608087890312156144d757600080fd5b863595506144e7602088016143e0565b9450604087013567ffffffffffffffff8082111561450457600080fd5b6145108a838b01614475565b9096509450606089013591508082111561452957600080fd5b5061453689828a01614475565b979a9699509497509295939492505050565b60008060006060848603121561455d57600080fd5b505081359360208301359350604090920135919050565b63ffffffff84168152826020820152606060408201526000611ecf6060830184614319565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561460a5761460a6145c8565b500190565b600067ffffffffffffffff83811690831681811015614630576146306145c8565b039392505050565b60008282101561464a5761464a6145c8565b500390565b600067ffffffffffffffff80831681851681830481118215151615614676576146766145c8565b02949350505050565b6000806040838503121561469257600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826146e1576146e16146a3565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561471e5761471e6145c8565b500290565b600082614732576147326146a3565b500690565b60006fffffffffffffffffffffffffffffffff83811690831681811015614630576146306145c8565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561478b5761478b6145c8565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006148016060830187896147a4565b82810360208401526148148186886147a4565b9150508260408301529695505050505050565b60006020828403121561483957600080fd5b5051919050565b600060ff821660ff84168082101561485a5761485a6145c8565b90039392505050565b600060ff831680614876576148766146a3565b8060ff84160691505092915050565b60006020828403121561489757600080fd5b81516143d981614397565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148d3576148d36145c8565b5060010190565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561491b5761491b6145c8565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615614956576149566145c8565b60008712925087820587128484161615614972576149726145c8565b87850587128184161615614988576149886145c8565b505050929093029392505050565b6000826149a5576149a56146a3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156149f9576149f96145c8565b50059056fea164736f6c634300080f000a",sourceMap:"996:43827:164:-:0;;;4927:1230;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5391:35;5425:1;512:3:176;5391:35:164;:::i;:::-;5375:51;;:13;:51;5371:82;;;5435:18;;-1:-1:-1;;;5435:18:164;;;;;;;;;;;5371:82;5564:13;5549:11;:28;5545:60;;5586:19;;-1:-1:-1;;;5586:19:164;;;;;;;;;;;5545:60;5722:23;:17;-1:-1:-1;;;;;5722:21:164;;;;;;:23;;:::i;:::-;-1:-1:-1;;;;;5698:47:164;:21;:15;-1:-1:-1;;;;;5698:19:164;;;;;;:21;;:::i;:::-;-1:-1:-1;;;;;5698:47:164;;5694:83;;;5754:23;;-1:-1:-1;;;5754:23:164;;;;;;;;;;;5694:83;5788:21;;;;;;5819:37;;;;;-1:-1:-1;5866:30:164;;;;5906:25;;;;;-1:-1:-1;;;;;5941:33:164;;;;;5984:38;;;-1:-1:-1;;;;;6032:8:164;;;;;6050:12;;;;;6072:44;;;6126:24;;996:43827;;2881:145:177;3001:9;2881:145::o;14:198:357:-;115:13;;-1:-1:-1;;;;;157:30:357;;147:41;;137:69;;202:1;199;192:12;137:69;14:198;;;:::o;217:144::-;-1:-1:-1;;;;;305:31:357;;295:42;;285:70;;351:1;348;341:12;285:70;217:144;:::o;366:1384::-;714:6;722;730;738;746;754;762;770;778;786;839:3;827:9;818:7;814:23;810:33;807:53;;;856:1;853;846:12;807:53;888:9;882:16;938:10;931:5;927:22;920:5;917:33;907:61;;964:1;961;954:12;907:61;987:5;977:15;;;1032:2;1021:9;1017:18;1011:25;1001:35;;1076:2;1065:9;1061:18;1055:25;1045:35;;1120:2;1109:9;1105:18;1099:25;1089:35;;1143:72;1210:3;1199:9;1195:19;1143:72;:::i;:::-;1133:82;;1234:72;1301:3;1290:9;1286:19;1234:72;:::i;:::-;1224:82;;1351:3;1340:9;1336:19;1330:26;1365:46;1403:7;1365:46;:::i;:::-;1482:3;1467:19;;1461:26;1430:7;;-1:-1:-1;1496:46:357;1461:26;1496:46;:::i;:::-;1613:3;1598:19;;1592:26;1561:7;;-1:-1:-1;1627:46:357;1592:26;1627:46;:::i;:::-;1692:7;1682:17;;;1739:3;1728:9;1724:19;1718:26;1708:36;;366:1384;;;;;;;;;;;;;:::o;1755:292::-;1793:4;1830;1827:1;1823:12;1862:4;1859:1;1855:12;1887:3;1882;1879:12;1876:135;;;1933:10;1928:3;1924:20;1921:1;1914:31;1968:4;1965:1;1958:15;1996:4;1993:1;1986:15;1876:135;2028:13;;;1755:292;-1:-1:-1;;;1755:292:357:o;:::-;996:43827:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106102bb5760003560e01c80638b85902b1161016e578063d6ae3cd5116100cb578063f8f43ff61161007f578063fa315aa911610064578063fa315aa914610978578063fdffbb28146109ab578063fe2bbeb2146109cb57600080fd5b8063f8f43ff614610934578063fa24f7431461095457600080fd5b8063dabd396d116100b0578063dabd396d1461088e578063ec5e6308146108c1578063eff0f592146108f457600080fd5b8063d6ae3cd51461083b578063d8cc1a3c1461086e57600080fd5b8063c395e1ca11610122578063c6f0308c11610107578063c6f0308c14610763578063cf09e0d0146107ed578063d5d44d801461080e57600080fd5b8063c395e1ca14610730578063c55cd0c71461075057600080fd5b8063bbdc02db11610153578063bbdc02db1461068f578063bcef3b55146106d0578063bd8da9561461071057600080fd5b80638b85902b1461061c5780638d450a951461065c57600080fd5b806357da950e1161021c5780636361506d116101d057806370872aa5116101b557806370872aa5146105ea5780638129fc1c146105ff5780638980e0cc1461060757600080fd5b80636361506d146105775780636b6716c0146105b757600080fd5b8063609d333411610201578063609d33341461052f57806360e2746414610544578063632247ea1461056457600080fd5b806357da950e146104cc5780635c0cba33146104fc57600080fd5b806335fef567116102735780633a768463116102585780633a768463146104105780633fc8cef31461044357806354fd4d501461047657600080fd5b806335fef5671461039a57806337b1b229146103af57600080fd5b806325fc2ace116102a457806325fc2ace146103465780632810e1d6146103655780632ad69aeb1461037a57600080fd5b806319effeb4146102c0578063200d2ed21461030b575b600080fd5b3480156102cc57600080fd5b506000546102ed9068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b34801561031757600080fd5b5060005461033990700100000000000000000000000000000000900460ff1681565b60405161030291906142b6565b34801561035257600080fd5b506006545b604051908152602001610302565b34801561037157600080fd5b506103396109fb565b34801561038657600080fd5b506103576103953660046142f7565b610ca0565b6103ad6103a83660046142f7565b610cd1565b005b3480156103bb57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90033560601c5b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610302565b34801561041c57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561044f57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561048257600080fd5b506104bf6040518060400160405280600681526020017f302e31372e30000000000000000000000000000000000000000000000000000081525081565b6040516103029190614384565b3480156104d857600080fd5b506006546007546104e7919082565b60408051928352602083019190915201610302565b34801561050857600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103eb565b34801561053b57600080fd5b506104bf610ce6565b34801561055057600080fd5b506103ad61055f3660046143bc565b610cf4565b6103ad6105723660046143f5565b610ea0565b34801561058357600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360340135610357565b3480156105c357600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ed565b3480156105f657600080fd5b50600754610357565b6103ad6117a0565b34801561061357600080fd5b50600154610357565b34801561062857600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360540135610357565b34801561066857600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561069b57600080fd5b5060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610302565b3480156106dc57600080fd5b50367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360140135610357565b34801561071c57600080fd5b506102ed61072b36600461442a565b611cf8565b34801561073c57600080fd5b5061035761074b366004614443565b611ed8565b6103ad61075e3660046142f7565b6120bb565b34801561076f57600080fd5b5061078361077e36600461442a565b6120c7565b6040805163ffffffff909816885273ffffffffffffffffffffffffffffffffffffffff968716602089015295909416948601949094526fffffffffffffffffffffffffffffffff9182166060860152608085015291821660a08401521660c082015260e001610302565b3480156107f957600080fd5b506000546102ed9067ffffffffffffffff1681565b34801561081a57600080fd5b506103576108293660046143bc565b60026020526000908152604090205481565b34801561084757600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561087a57600080fd5b506103ad6108893660046144be565b61215e565b34801561089a57600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006102ed565b3480156108cd57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b34801561090057600080fd5b5061092461090f36600461442a565b60036020526000908152604090205460ff1681565b6040519015158152602001610302565b34801561094057600080fd5b506103ad61094f366004614548565b61278d565b34801561096057600080fd5b50610969612bed565b60405161030293929190614574565b34801561098457600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610357565b3480156109b757600080fd5b506103ad6109c636600461442a565b612c4d565b3480156109d757600080fd5b506109246109e636600461442a565b60056020526000908152604090205460ff1681565b600080600054700100000000000000000000000000000000900460ff166002811115610a2957610a29614287565b14610a60576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5460ff16610ac4576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001600081548110610af057610af0614599565b6000918252602090912060059091020154640100000000900473ffffffffffffffffffffffffffffffffffffffff1614610b2b576001610b2e565b60025b6000805467ffffffffffffffff421668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff82168117835592935083927fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffff000000000000000000ffffffffffffffff90911617700100000000000000000000000000000000836002811115610bdf57610bdf614287565b021790556002811115610bf457610bf4614287565b6040517f5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da6090600090a27f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663838c2d1e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610c8557600080fd5b505af1158015610c99573d6000803e3d6000fd5b5050505090565b60046020528160005260406000208181548110610cbc57600080fd5b90600052602060002001600091509150505481565b610cdd82826000610ea0565b5050565b905090565b6060610ce16054602061305f565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812080549082905590819003610d59576040517f17bfe5f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517ff3fef3a300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063f3fef3a390604401600060405180830381600087803b158015610de957600080fd5b505af1158015610dfd573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610e5b576040519150601f19603f3d011682016040523d82523d6000602084013e610e60565b606091505b5050905080610e9b576040517f83e6cc6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60008054700100000000000000000000000000000000900460ff166002811115610ecc57610ecc614287565b14610f03576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018481548110610f1857610f18614599565b600091825260208083206040805160e0810182526005909402909101805463ffffffff808216865273ffffffffffffffffffffffffffffffffffffffff6401000000009092048216948601949094526001820154169184019190915260028101546fffffffffffffffffffffffffffffffff90811660608501526003820154608085015260049091015480821660a0850181905270010000000000000000000000000000000090910490911660c0840152919350909190610fdd90839086906130b116565b9050600061107d826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690508615806110b857506110b57f000000000000000000000000000000000000000000000000000000000000000060026145f7565b81145b80156110c2575084155b156110f9576040517fa42637bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115611153576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61117e7f000000000000000000000000000000000000000000000000000000000000000060016145f7565b810361119057611190868885886130b9565b3461119a83611ed8565b146111d1576040517f8620aa1900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111dc88611cf8565b905067ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811690821603611244576040517f3381d11400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001667ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166112a4919061460f565b67ffffffffffffffff166112bf8267ffffffffffffffff1690565b67ffffffffffffffff1611156113a15760006112fc60017f0000000000000000000000000000000000000000000000000000000000000000614638565b83146113325767ffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611367565b6113677f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16600261464f565b905061139d817f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1661460f565b9150505b6000604082901b42176000898152608086901b6fffffffffffffffffffffffffffffffff8c1617602052604081209192509060008181526003602052604090205490915060ff161561141f576040517f80497e3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060016040518060e001604052808c63ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001346fffffffffffffffffffffffffffffffff1681526020018b8152602001876fffffffffffffffffffffffffffffffff168152602001846fffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160020160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506080820151816003015560a08201518160040160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060c08201518160040160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505050600460008b8152602001908152602001600020600180805490506116b49190614638565b81546001810183556000928352602083200155604080517fd0e30db0000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263d0e30db09234926004808301939282900301818588803b15801561174c57600080fd5b505af1158015611760573d6000803e3d6000fd5b50506040513393508c92508d91507f9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be90600090a450505050505050505050565b60005471010000000000000000000000000000000000900460ff16156117f2576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f7258a80700000000000000000000000000000000000000000000000000000000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637258a807906024016040805180830381865afa1580156118a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ca919061467f565b909250905081611906576040517f6a6bc3b200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082019091528281526020018190526006829055600781905536607a1461193957639824bdab6000526004601cfd5b80367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c900360540135116119d3576040517ff40239db000000000000000000000000000000000000000000000000000000008152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036014013560048201526024015b60405180910390fd5b6040805160e08101825263ffffffff8082526000602083018181527ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe369081013560f01c90038035606090811c868801908152346fffffffffffffffffffffffffffffffff81811693890193845260149094013560808901908152600160a08a0181815242871660c08c0190815282548084018455928a529a5160059092027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054995173ffffffffffffffffffffffffffffffffffffffff908116640100000000027fffffffffffffffff000000000000000000000000000000000000000000000000909b1694909c16939093179890981790915592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787018054918a167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8860180549186167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921691909117905591517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf985015551955182167001000000000000000000000000000000000295909116949094177fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091015580547fffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffff167101000000000000000000000000000000000017815583517fd0e30db000000000000000000000000000000000000000000000000000000000815293517f00000000000000000000000000000000000000000000000000000000000000009092169363d0e30db093926004828101939282900301818588803b158015611ca757600080fd5b505af1158015611cbb573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000164267ffffffffffffffff161790555050505050565b600080600054700100000000000000000000000000000000900460ff166002811115611d2657611d26614287565b14611d5d576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018381548110611d7257611d72614599565b600091825260208220600590910201805490925063ffffffff90811614611de157815460018054909163ffffffff16908110611db057611db0614599565b906000526020600020906005020160040160109054906101000a90046fffffffffffffffffffffffffffffffff1690505b6004820154600090611e1990700100000000000000000000000000000000900467ffffffffffffffff165b67ffffffffffffffff1690565b611e2d9067ffffffffffffffff1642614638565b611e4c611e0c846fffffffffffffffffffffffffffffffff1660401c90565b67ffffffffffffffff16611e6091906145f7565b905067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001667ffffffffffffffff168167ffffffffffffffff1611611ead5780611ecf565b7f00000000000000000000000000000000000000000000000000000000000000005b95945050505050565b600080611f77836fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690507f0000000000000000000000000000000000000000000000000000000000000000811115611fd6576040517f56f57b2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b642e90edd00062061a80630bebc2006000611ff183836146d2565b9050670de0b6b3a76400006000612028827f00000000000000000000000000000000000000000000000000000000000000006146e6565b90506000612046612041670de0b6b3a7640000866146e6565b613273565b9050600061205484846134ce565b90506000612062838361351d565b9050600061206f8261354b565b9050600061208e82612089670de0b6b3a76400008f6146e6565b613733565b9050600061209c8b8361351d565b90506120a8818d6146e6565b9f9e505050505050505050505050505050565b610cdd82826001610ea0565b600181815481106120d757600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015463ffffffff8416955064010000000090930473ffffffffffffffffffffffffffffffffffffffff908116949216926fffffffffffffffffffffffffffffffff91821692918082169170010000000000000000000000000000000090041687565b60008054700100000000000000000000000000000000900460ff16600281111561218a5761218a614287565b146121c1576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600187815481106121d6576121d6614599565b6000918252602082206005919091020160048101549092506fffffffffffffffffffffffffffffffff16908715821760011b90506122357f000000000000000000000000000000000000000000000000000000000000000060016145f7565b6122d1826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff161461230b576040517f5f53dd9800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008089156124025761235e7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000614638565b6001901b61237d846fffffffffffffffffffffffffffffffff1661376d565b6fffffffffffffffffffffffffffffffff166123999190614723565b156123d6576123cd6123be60016fffffffffffffffffffffffffffffffff8716614737565b865463ffffffff16600061380c565b600301546123f8565b7f00000000000000000000000000000000000000000000000000000000000000005b915084905061242c565b600385015491506124296123be6fffffffffffffffffffffffffffffffff86166001614760565b90505b600882901b60088a8a604051612443929190614794565b6040518091039020901b14612484576040517f696550ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061248f8c6138f0565b9050600061249e836003015490565b6040517fe14ced320000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e14ced3290612518908f908f908f908f908a906004016147ed565b6020604051808303816000875af1158015612537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255b9190614827565b600485015491149150600090600290612606906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6126a2896fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6126ac9190614840565b6126b69190614863565b60ff1615905081151581036126f7576040517ffb4e40dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8754640100000000900473ffffffffffffffffffffffffffffffffffffffff161561274e576040517f9071e6af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505085547fffffffffffffffff0000000000000000000000000000000000000000ffffffff163364010000000002179095555050505050505050505050565b60008054700100000000000000000000000000000000900460ff1660028111156127b9576127b9614287565b146127f0576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000806127ff8661391f565b9350935093509350600061281585858585613d28565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637dc0d1d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a89190614885565b9050600189036129a35773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a84612907367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90036034013590565b90565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815260048101939093526024830191909152604482015260206064820152608481018a905260a4015b6020604051808303816000875af1158015612979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299d9190614827565b50612be2565b600289036129cf5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a8489612907565b600389036129fb5773ffffffffffffffffffffffffffffffffffffffff81166352f0f3ad8a8487612907565b60048903612b17576000612a416fffffffffffffffffffffffffffffffff85167f0000000000000000000000000000000000000000000000000000000000000000613de2565b600754612a4e91906145f7565b612a599060016145f7565b905073ffffffffffffffffffffffffffffffffffffffff82166352f0f3ad8b8560405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526004810192909252602482015260c084901b604482015260086064820152608481018b905260a4016020604051808303816000875af1158015612aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b109190614827565b5050612be2565b60058903612bb0576040517f52f0f3ad000000000000000000000000000000000000000000000000000000008152600481018a9052602481018390527f000000000000000000000000000000000000000000000000000000000000000060c01b6044820152600860648201526084810188905273ffffffffffffffffffffffffffffffffffffffff8216906352f0f3ad9060a40161295a565b6040517fff137e6500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000000000367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c9003601401356060612c46610ce6565b9050909192565b60008054700100000000000000000000000000000000900460ff166002811115612c7957612c79614287565b14612cb0576040517f67fe195000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612cc557612cc5614599565b906000526020600020906005020190506000612ce083611cf8565b905067ffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169082161015612d49576040517ff2440b5300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526005602052604090205460ff1615612d92576040517ff1a9458100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600460205260409020805480158015612daf57508415155b15612e49578354640100000000900473ffffffffffffffffffffffffffffffffffffffff1660008115612de25781612dfe565b600186015473ffffffffffffffffffffffffffffffffffffffff165b9050612e0a8187613e90565b505050600093845250506005602052506040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60006fffffffffffffffffffffffffffffffff815b83811015612f91576000858281548110612e7a57612e7a614599565b6000918252602080832090910154808352600590915260409091205490915060ff16612ed2576040517f9a07664600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060018281548110612ee757612ee7614599565b600091825260209091206005909102018054909150640100000000900473ffffffffffffffffffffffffffffffffffffffff16158015612f40575060048101546fffffffffffffffffffffffffffffffff908116908516115b15612f7e576001810154600482015473ffffffffffffffffffffffffffffffffffffffff90911695506fffffffffffffffffffffffffffffffff1693505b505080612f8a906148a2565b9050612e5e565b50612fd973ffffffffffffffffffffffffffffffffffffffff831615612fb75782612fd3565b600187015473ffffffffffffffffffffffffffffffffffffffff165b87613e90565b50845473ffffffffffffffffffffffffffffffffffffffff909116640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff90911617909355505050600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b604051818152367ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81013560f01c90038284820160208401378260208301016000815260208101604052505092915050565b151760011b90565b60006130d86fffffffffffffffffffffffffffffffff84166001614760565b905060006130e88286600161380c565b9050600086901a83806131d4575061312160027f0000000000000000000000000000000000000000000000000000000000000000614723565b60048301546002906131c5906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b6131cf9190614863565b60ff16145b1561322c5760ff8116600114806131ee575060ff81166002145b613227576040517ff40239db000000000000000000000000000000000000000000000000000000008152600481018890526024016119ca565b61326a565b60ff81161561326a576040517ff40239db000000000000000000000000000000000000000000000000000000008152600481018890526024016119ca565b50505050505050565b6fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff1060061b1781811c63ffffffff1060051b1781811c61ffff1060041b1781811c60ff1060031b17600082136132d257631615e6386000526004601cfd5b7ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be83831c1c601f161a1890811b609f90811c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506029190037d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b302017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d90565b60007812725dd1d243aba0e75fe645cc4873f9e65afe688c928e1f218311670de0b6b3a76400000215820261350b57637c5f487d6000526004601cfd5b50670de0b6b3a7640000919091020490565b60008160001904831182021561353b5763bac65e5b6000526004601cfd5b50670de0b6b3a764000091020490565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdc0d0570925a462d7821361357957919050565b680755bf798b4a1bf1e582126135975763a37bfec96000526004601cfd5b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b6000613764670de0b6b3a76400008361374b86613273565b61375591906148da565b61375f9190614996565b61354b565b90505b92915050565b6000806137fa837e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b600160ff919091161b90920392915050565b60008082613855576138506fffffffffffffffffffffffffffffffff86167f0000000000000000000000000000000000000000000000000000000000000000613f89565b613870565b613870856fffffffffffffffffffffffffffffffff16614139565b90506001848154811061388557613885614599565b906000526020600020906005020191505b60048201546fffffffffffffffffffffffffffffffff8281169116146138e857815460018054909163ffffffff169081106138d3576138d3614599565b90600052602060002090600502019150613896565b509392505050565b60008060008060006139018661391f565b935093509350935061391584848484613d28565b9695505050505050565b600080600080600085905060006001828154811061393f5761393f614599565b600091825260209091206004600590920201908101549091507f000000000000000000000000000000000000000000000000000000000000000090613a16906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611613a50576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000815b60048301547f000000000000000000000000000000000000000000000000000000000000000090613b17906fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169250821115613b8c57825463ffffffff16613b567f000000000000000000000000000000000000000000000000000000000000000060016145f7565b8303613b60578391505b60018181548110613b7357613b73614599565b9060005260206000209060050201935080945050613a54565b600481810154908401546fffffffffffffffffffffffffffffffff91821691166000816fffffffffffffffffffffffffffffffff16613bf5613be0856fffffffffffffffffffffffffffffffff1660011c90565b6fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff161490508015613cc4576000613c2d836fffffffffffffffffffffffffffffffff1661376d565b6fffffffffffffffffffffffffffffffff161115613c98576000613c6f613c6760016fffffffffffffffffffffffffffffffff8616614737565b89600161380c565b6003810154600490910154909c506fffffffffffffffffffffffffffffffff169a50613c9e9050565b6006549a505b600386015460048701549099506fffffffffffffffffffffffffffffffff169750613d1a565b6000613ce6613c676fffffffffffffffffffffffffffffffff85166001614760565b6003808901546004808b015492840154930154909e506fffffffffffffffffffffffffffffffff9182169d50919b50169850505b505050505050509193509193565b60006fffffffffffffffffffffffffffffffff841615613d955760408051602081018790526fffffffffffffffffffffffffffffffff8087169282019290925260608101859052908316608082015260a00160405160208183030381529060405280519060200120611ecf565b8282604051602001613dc39291909182526fffffffffffffffffffffffffffffffff16602082015260400190565b6040516020818303038152906040528051906020012095945050505050565b600080613e6f847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1690508083036001841b600180831b0386831b17039250505092915050565b60028082015473ffffffffffffffffffffffffffffffffffffffff841660009081526020929092526040822080546fffffffffffffffffffffffffffffffff909216928392613ee09084906145f7565b90915550506040517f7eee288d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152602482018390527f00000000000000000000000000000000000000000000000000000000000000001690637eee288d90604401600060405180830381600087803b158015613f7557600080fd5b505af115801561326a573d6000803e3d6000fd5b600081614028846fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611614062576040517fb34b5c2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61406b83614139565b90508161410a826fffffffffffffffffffffffffffffffff167e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff1611613767576137646141208360016145f7565b6fffffffffffffffffffffffffffffffff8316906141de565b600081196001830116816141cd827e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169390931c8015179392505050565b60008061426b847e09010a0d15021d0b0e10121619031e080c141c0f111807131b17061a05041f7f07c4acdd0000000000000000000000000000000000000000000000000000000067ffffffffffffffff831160061b83811c63ffffffff1060051b1792831c600181901c17600281901c17600481901c17600881901c17601081901c170260fb1c1a1790565b60ff169050808303600180821b0385821b179250505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60208101600383106142f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561430a57600080fd5b50508035926020909101359150565b6000815180845260005b8181101561433f57602081850181015186830182015201614323565b81811115614351576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006137646020830184614319565b73ffffffffffffffffffffffffffffffffffffffff811681146143b957600080fd5b50565b6000602082840312156143ce57600080fd5b81356143d981614397565b9392505050565b803580151581146143f057600080fd5b919050565b60008060006060848603121561440a57600080fd5b8335925060208401359150614421604085016143e0565b90509250925092565b60006020828403121561443c57600080fd5b5035919050565b60006020828403121561445557600080fd5b81356fffffffffffffffffffffffffffffffff811681146143d957600080fd5b60008083601f84011261448757600080fd5b50813567ffffffffffffffff81111561449f57600080fd5b6020830191508360208285010111156144b757600080fd5b9250929050565b600080600080600080608087890312156144d757600080fd5b863595506144e7602088016143e0565b9450604087013567ffffffffffffffff8082111561450457600080fd5b6145108a838b01614475565b9096509450606089013591508082111561452957600080fd5b5061453689828a01614475565b979a9699509497509295939492505050565b60008060006060848603121561455d57600080fd5b505081359360208301359350604090920135919050565b63ffffffff84168152826020820152606060408201526000611ecf6060830184614319565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561460a5761460a6145c8565b500190565b600067ffffffffffffffff83811690831681811015614630576146306145c8565b039392505050565b60008282101561464a5761464a6145c8565b500390565b600067ffffffffffffffff80831681851681830481118215151615614676576146766145c8565b02949350505050565b6000806040838503121561469257600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826146e1576146e16146a3565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561471e5761471e6145c8565b500290565b600082614732576147326146a3565b500690565b60006fffffffffffffffffffffffffffffffff83811690831681811015614630576146306145c8565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561478b5761478b6145c8565b01949350505050565b8183823760009101908152919050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6060815260006148016060830187896147a4565b82810360208401526148148186886147a4565b9150508260408301529695505050505050565b60006020828403121561483957600080fd5b5051919050565b600060ff821660ff84168082101561485a5761485a6145c8565b90039392505050565b600060ff831680614876576148766146a3565b8060ff84160691505092915050565b60006020828403121561489757600080fd5b81516143d981614397565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148d3576148d36145c8565b5060010190565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60008413600084138583048511828216161561491b5761491b6145c8565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615614956576149566145c8565b60008712925087820587128484161615614972576149726145c8565b87850587128184161615614988576149886145c8565b505050929093029392505050565b6000826149a5576149a56146a3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f8000000000000000000000000000000000000000000000000000000000000000831416156149f9576149f96145c8565b50059056fea164736f6c634300080f000a",sourceMap:"996:43827:164:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3113:27;;;;;;;;;;-1:-1:-1;3113:27:164;;;;;;;;;;;;;;221:18:357;209:31;;;191:50;;179:2;164:18;3113:27:164;;;;;;;;3180:24;;;;;;;;;;-1:-1:-1;3180:24:164;;;;;;;;;;;;;;;;;;:::i;22098:135::-;;;;;;;;;;-1:-1:-1;22203:18:164;:23;22098:135;;;1021:25:357;;;1009:2;994:18;22098:135:164;848:204:357;22480:905:164;;;;;;;;;;;;;:::i;3777:45::-;;;;;;;;;;-1:-1:-1;3777:45:164;;;;;:::i;:::-;;:::i;19512:119::-;;;;;;:::i;:::-;;:::i;:::-;;27482:110;;;;;;;;;;-1:-1:-1;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;1993:36;1989:2;1985:45;27482:110:164;;;1949:42:357;1937:55;;;1919:74;;1907:2;1892:18;27482:110:164;1773:226:357;34509:79:164;;;;;;;;;;-1:-1:-1;34579:2:164;34509:79;;34653:88;;;;;;;;;;-1:-1:-1;34730:4:164;34653:88;;2918:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4061:36::-;;;;;;;;;;-1:-1:-1;4061:36:164;;;;;;;;;;;;;3473:25:357;;;3529:2;3514:18;;3507:34;;;;3446:18;4061:36:164;3272:275:357;34807:136:164;;;;;;;;;;-1:-1:-1;34915:21:164;34807:136;;27942:231;;;;;;;;;;;;;:::i;31160:671::-;;;;;;;;;;-1:-1:-1;31160:671:164;;;;;:::i;:::-;;:::i;14106:5200::-;;;;;;:::i;:::-;;:::i;27792:111::-;;;;;;;;;;-1:-1:-1;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;27890:4:164;3514:22:97;3501:36;27792:111:164;27482:110;34331:125;;;;;;;;;;-1:-1:-1;34434:15:164;34331:125;;21898:156;;;;;;;;;;-1:-1:-1;22015:32:164;;21898:156;;6198:2903;;;:::i;33244:101::-;;;;;;;;;;-1:-1:-1;33322:9:164;:16;33244:101;;21730:124;;;;;;;;;;-1:-1:-1;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;21842:4:164;3514:22:97;3501:36;21730:124:164;27482:110;33631:130;;;;;;;;;;-1:-1:-1;33737:17:164;33631:130;;27335:108;;;;;;;;;;-1:-1:-1;27335:108:164;;5615:10:357;27427:9:164;5603:23:357;5585:42;;5573:2;5558:18;27335:108:164;5409:224:357;27631:122:164;;;;;;;;;;-1:-1:-1;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;27740:4:164;3514:22:97;3501:36;27631:122:164;27482:110;32166:1011;;;;;;;;;;-1:-1:-1;32166:1011:164;;;;;:::i;:::-;;:::i;28849:2171::-;;;;;;;;;;-1:-1:-1;28849:2171:164;;;;;:::i;:::-;;:::i;19350:118::-;;;;;;:::i;:::-;;:::i;3405:28::-;;;;;;;;;;-1:-1:-1;3405:28:164;;;;;:::i;:::-;;:::i;:::-;;;;6590:10:357;6578:23;;;6560:42;;6621;6699:15;;;6694:2;6679:18;;6672:43;6751:15;;;;6731:18;;;6724:43;;;;6786:34;6856:15;;;6851:2;6836:18;;6829:43;6903:3;6888:19;;6881:35;6953:15;;;6947:3;6932:19;;6925:44;7006:15;7000:3;6985:19;;6978:44;6547:3;6532:19;3405:28:164;6160:868:357;3017:26:164;;;;;;;;;;-1:-1:-1;3017:26:164;;;;;;;;3500:41;;;;;;;;;;-1:-1:-1;3500:41:164;;;;;:::i;:::-;;;;;;;;;;;;;;35032:105;;;;;;;;;;-1:-1:-1;35119:11:164;35032:105;;9353:4442;;;;;;;;;;-1:-1:-1;9353:4442:164;;;;;:::i;:::-;;:::i;34137:134::-;;;;;;;;;;-1:-1:-1;34246:18:164;34137:134;;33975:108;;;;;;;;;;-1:-1:-1;34065:11:164;33975:108;;3629:40;;;;;;;;;;-1:-1:-1;3629:40:164;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8626:14:357;;8619:22;8601:41;;8589:2;8574:18;3629:40:164;8461:187:357;19675:2011:164;;;;;;;;;;-1:-1:-1;19675:2011:164;;;;;:::i;:::-;;:::i;28212:213::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;33811:117::-;;;;;;;;;;-1:-1:-1;33907:14:164;33811:117;;23429:3867;;;;;;;;;;-1:-1:-1;23429:3867:164;;;;;:::i;:::-;;:::i;3912:48::-;;;;;;;;;;-1:-1:-1;3912:48:164;;;;;:::i;:::-;;;;;;;;;;;;;;;;22480:905;22517:18;;22639:6;;;;;;;:32;;;;;;;;:::i;:::-;;22635:64;;22680:19;;;;;;;;;;;;;;22635:64;22813:19;;;:16;:19;;;;;;22808:55;;22841:22;;;;;;;;;;;;;;22808:55;22989:1;22953:38;;:9;22963:1;22953:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:24;;;;;;:38;:94;;23021:26;22953:94;;;22994:24;22953:94;23057:10;:52;;;23092:15;23057:52;;;;;;;;;;22943:104;;-1:-1:-1;22943:104:164;;23239:16;;;;;;;;22943:104;23239:16;;;;;;;;:::i;:::-;;;;;23230:26;;;;;;;;:::i;:::-;;;;;;;;23334:21;:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22480:905;:::o;3777:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19512:119::-;19591:33;19596:12;19610:6;19618:5;19591:4;:33::i;:::-;19512:119;;:::o;27565:20::-;27554:31;;27482:110;:::o;27942:231::-;27984:23;28142:24;28155:4;28161;28142:12;:24::i;31160:671::-;31333:18;;;31307:23;31333:18;;;:6;:18;;;;;;;31361:22;;;;31333:18;31457:20;;;31453:75;;31500:17;;;;;;;;;;;;;;31453:75;31605:42;;;;;:13;9795:55:357;;;31605:42:164;;;9777:74:357;9867:18;;;9860:34;;;31605:4:164;:13;;;;9750:18:357;;31605:42:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31708:12;31725:10;:15;;31749;31725:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31707:66;;;31788:7;31783:41;;31804:20;;;;;;;;;;;;;;31783:41;31210:621;;31160:671;:::o;14106:5200::-;14307:22;14297:6;;;;;;;:32;;;;;;;;:::i;:::-;;14293:64;;14338:19;;;;;;;;;;;;;;14293:64;14448:23;14474:9;14484:15;14474:26;;;;;;;;:::i;:::-;;;;;;;;;14448:52;;;;;;;;14474:26;;;;;;;14448:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14448:52:164;;14474:26;14829:25;;14448:52;;14844:9;;14829:14;:25;:::i;:::-;14805:49;;14864:25;14892:20;:12;:18;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;14892:20:164;14864:48;;;-1:-1:-1;15259:20:164;;;:60;;-1:-1:-1;15304:15:164;:11;15318:1;15304:15;:::i;:::-;15283:17;:36;15259:60;15258:76;;;;;15325:9;15324:10;15258:76;15254:137;;;15357:23;;;;;;;;;;;;;;15254:137;15752:14;15732:17;:34;15728:66;;;15775:19;;;;;;;;;;;;;;15728:66;16022:15;:11;16036:1;16022:15;:::i;:::-;16001:17;:36;15997:138;;16053:71;16078:6;16086:15;16103:9;16114;16053:24;:71::i;:::-;16258:9;16225:29;16241:12;16225:15;:29::i;:::-;:42;16221:76;;16276:21;;;;;;;;;;;;;;16221:76;16530:21;16554:38;16576:15;16554:21;:38::i;:::-;16530:62;-1:-1:-1;16764:22:164;:18;:22;;16742:16;;;:46;16738:78;;16797:19;;;;;;;;;;;;;;16738:78;17525:19;:15;:19;17498:22;:18;:22;:48;;;;:::i;:::-;17477:69;;:18;:12;:16;;3001:9:177;2881:145;17477:18:164;:69;;;17473:424;;;17671:22;17733:15;17747:1;17733:11;:15;:::i;:::-;17712:17;:36;:88;;17779:19;:15;:19;17712:88;;;17751:25;:15;:19;;17775:1;17751:25;:::i;:::-;17671:129;-1:-1:-1;17843:42:164;17671:129;17843:18;:22;;:42;:::i;:::-;17814:72;;17548:349;17473:424;17998:15;668:4:177;664:20;;;18066:15:164;661:36:177;18368:19:164;758:20:175;;;811:3;807:19;;;832:34;828:56;;804:81;798:4;791:95;929:4;913:21;;17998:86:164;;-1:-1:-1;18368:19:164;18454:17;;;;:6;:17;;;;;;18368:72;;-1:-1:-1;18454:17:164;;18450:50;;;18480:20;;;;;;;;;;;;;;18450:50;18530:4;18510:6;:17;18517:9;18510:17;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;18578:9;18606:366;;;;;;;;18654:15;18606:366;;;;;;18770:1;18606:366;;;;;;18800:10;18606:366;;;;;;18842:9;18606:366;;;;;;18877:6;18606:366;;;;18911:12;18606:366;;;;;;18948:9;18606:366;;;;;18578:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19051:8;:25;19060:15;19051:25;;;;;;;;;;;19101:1;19082:9;:16;;;;:20;;;;:::i;:::-;19051:52;;;;;;;-1:-1:-1;19051:52:164;;;;;;;;19143:34;;;;;;;;:12;:4;:12;;;;19164:9;;19143:34;;;;;-1:-1:-1;19143:34:164;;;;;19164:9;19143:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19258:41:164;;19288:10;;-1:-1:-1;19280:6:164;;-1:-1:-1;19263:15:164;;-1:-1:-1;19258:41:164;;;;;14198:5108;;;;;;;14106:5200;;;:::o;6198:2903::-;6888:11;;;;;;;6884:44;;;6908:20;;;;;;;;;;;;;;6884:44;7018:40;;;;;;7048:9;5603:23:357;7018:40:164;;;5585:42:357;6980:9:164;;;;7018:29;:21;:29;;;;5558:18:357;;7018:40:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6979:79;;-1:-1:-1;6979:79:164;-1:-1:-1;6979:79:164;7155:57;;7192:20;;;;;;;;;;;;;;7155:57;7285:58;;;;;;;;;;;;;;;;;7264:18;:79;;;;;;;7960:14;7976:4;7957:24;7947:195;;8082:10;8076:4;8069:24;8123:4;8117;8110:18;7947:195;8339:15;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;21842:4:164;3514:22:97;3501:36;8320:34:164;8316:79;;8363:32;;;;;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;27740:4:164;3514:22:97;3501:36;8363:32:164;;;1021:25:357;994:18;;8363:32:164;;;;;;;;8316:79;8464:370;;;;;;;;8505:16;8464:370;;;-1:-1:-1;8464:370:164;;;;;;14561:22:97;14565:14;14561:22;;;14548:36;14543:3;14539:46;14519:67;;1993:36;;1989:2;1985:45;;;8464:370:164;;;;;;8635:9;8464:370;;;;;;;;;;27740:4;3514:22:97;;;3501:36;8464:370:164;;;;;;8436:9;8464:370;;;;;;8801:15;8464:370;;;;;;;;8436:408;;;;;;;;;;;;;;;;;;;;;;;8464:370;8436:408;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8895:18;;;;;;;;8953:34;;;;;;;:4;:12;;;;;;8635:9;8436:408;8953:34;;;;-1:-1:-1;8953:34:164;;;;;8635:9;8953:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9043:9:164;:51;;;;9077:15;9043:51;;;;;-1:-1:-1;;;;;6198:2903:164:o;32166:1011::-;32239:18;;32381:6;;;;;;;:32;;;;;;;;:::i;:::-;;32377:89;;32436:19;;;;;;;;;;;;;;32377:89;32517:34;32554:9;32564:11;32554:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;32689:28;;32554:22;;-1:-1:-1;32721:16:164;32689:28;;;:48;32685:138;;32777:28;;32767:9;:39;;:9;;32777:28;;;32767:39;;;;;;:::i;:::-;;;;;;;;;;;:45;;;;;;;;;;;;32753:59;;32685:138;33006:22;;;;32910:24;;33006:40;;:22;;;1624:28:177;;33006:34:164;:38;;3001:9:177;2881:145;33006:40:164;32988:58;;;;:15;:58;:::i;:::-;32956:28;:22;:11;:20;;1135:4:177;1131:17;;913:251;32956:28:164;:91;;;;;;:::i;:::-;32910:138;-1:-1:-1;33090:22:164;:18;:22;33070:44;;:17;:44;;;:100;;33152:17;33070:100;;;33117:18;33070:100;33058:112;32166:1011;-1:-1:-1;;;;;32166:1011:164:o;28849:2171::-;28915:21;28948:13;28972:17;:9;:15;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;28972:17:164;28964:26;;28948:42;;29012:14;29004:5;:22;29000:54;;;29035:19;;;;;;;;;;;;;;29000:54;29145:8;29188:7;29230:11;29120:22;29997:31;29188:7;29230:11;29997:31;:::i;:::-;29985:43;-1:-1:-1;2458:4:98;30038:9:164;30093:38;2458:4:98;30093:14:164;:38;:::i;:::-;30081:50;-1:-1:-1;30228:11:164;30250:58;30281:25;2458:4:98;30281:1:164;:25;:::i;:::-;30250:23;:58::i;:::-;30228:81;;30386:14;30403:30;30428:1;30431;30403:24;:30::i;:::-;30386:47;;30567:17;30587:37;30612:3;30617:6;30587:24;:37::i;:::-;30567:57;;30634:11;30648:43;30680:9;30648:24;:43::i;:::-;30634:57;-1:-1:-1;30746:13:164;30762:69;30634:57;30800:29;2458:4:98;30800:5:164;:29;:::i;:::-;30762:24;:69::i;:::-;30746:85;;30841:19;30863:57;30888:14;30912:6;30863:24;:57::i;:::-;30841:79;-1:-1:-1;30985:28:164;30841:79;30985:14;:28;:::i;:::-;30969:44;28849:2171;-1:-1:-1;;;;;;;;;;;;;;;28849:2171:164:o;19350:118::-;19429:32;19434:12;19448:6;19456:4;19429;:32::i;3405:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3405:28:164;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9353:4442::-;9636:22;9626:6;;;;;;;:32;;;;;;;;:::i;:::-;;9622:64;;9667:19;;;;;;;;;;;;;;9622:64;9777:24;9804:9;9814:11;9804:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;9910:15;;;;9804:22;;-1:-1:-1;9910:15:164;;;8619:17:176;;8616:32;;8613:1;8609:40;9982:44:164;-1:-1:-1;10161:18:164;:14;10178:1;10161:18;:::i;:::-;10142:15;:7;:13;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;10142:15:164;:37;;;10138:65;;10188:15;;;;;;;;;;;;;;10138:65;10279:19;10308:27;10349:9;10345:1343;;;11080:28;11097:11;11080:14;:28;:::i;:::-;11074:1;:35;;11048:22;:7;:20;;;:22::i;:::-;:62;;;;;;:::i;:::-;11047:69;:211;;11171:81;11204:19;11222:1;11204:13;;;:19;:::i;:::-;11226:18;;;;;11171;:81::i;:::-;:87;;;11047:211;;;11135:17;11047:211;11031:227;;11351:6;11339:18;;10345:1343;;;11558:12;;;;;-1:-1:-1;11596:81:164;11629:19;:13;;;11647:1;11629:19;:::i;11596:81::-;11584:93;;10345:1343;12084:1;12061:13;:24;;12056:1;12041:10;;12031:21;;;;;;;:::i;:::-;;;;;;;;:26;;:54;12027:84;;12094:17;;;;;;;;;;;;;;12027:84;12182:9;12194:30;12212:11;12194:17;:30::i;:::-;12182:42;;13197:14;13257:21;:9;:15;;;3001:9:177;2881:145;13257:21:164;13214:39;;;;;:2;:7;;;;;:39;;13222:10;;;;13234:6;;;;13242:4;;13214:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13332:18;;;;13214:64;;;-1:-1:-1;13288:20:164;;13362:1;;13332:26;;:18;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;13332:26:164;13312:17;:9;:15;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;13312:17:164;:46;;;;:::i;:::-;13311:52;;;;:::i;:::-;:57;;;;-1:-1:-1;13382:28:164;;;;;13378:52;;13419:11;;;;;;;;;;;;;;13378:52;13524:18;;;;;:32;:18;:32;13520:60;;13565:15;;;;;;;;;;;;;;13520:60;-1:-1:-1;;13757:31:164;;;;13778:10;13757:31;;;;;;-1:-1:-1;;;;;;;;;;;9353:4442:164:o;19675:2011::-;19878:22;19868:6;;;;;;;:32;;;;;;;;:::i;:::-;;19864:64;;19909:19;;;;;;;;;;;;;;19864:64;19940:14;19956:20;19978:14;19994:20;20030:45;20062:12;20030:31;:45::i;:::-;19939:136;;;;;;;;20085:9;20097:66;20118:8;20128:11;20141:8;20151:11;20097:20;:66::i;:::-;20085:78;;20174:22;20199:2;:9;;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20174:36;;5253:4:194;20224:6:164;:39;20220:1460;;20316:20;;;;20337:6;20345:4;20357:14;14565::97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;27890:4:164;3514:22:97;3501:36;3001:9:177;2881:145;20357:8:164;3001:9:177;2881:145;20357:14:164;20316:73;;;;;;;;;;;;;14739:25:357;;;;14780:18;;;14773:34;;;;14823:18;;;14816:34;20373:2:164;14866:18:357;;;14859:34;14909:19;;;14902:35;;;14711:19;;20316:73:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20220:1460;;;5374:4:194;20410:6:164;:47;20406:1274;;20530:20;;;;20551:6;20559:4;20571:8;:14;2881:145:177;20406:1274:164;5495:4:194;20624:6:164;:47;20620:1060;;20743:20;;;;20764:6;20772:4;20784:8;:14;2881:145:177;20620:1060:164;5624:4:194;20837:6:164;:51;20833:847;;21168:16;21222:35;:22;;;21245:11;21222:22;:35::i;:::-;21187:32;;:70;;;;:::i;:::-;:74;;21260:1;21187:74;:::i;:::-;21168:93;-1:-1:-1;21276:20:164;;;;21297:6;21305:4;21276:83;;;;;;;;;;;;;14739:25:357;;;;14780:18;;;14773:34;21337:4:164;21325:16;;;14823:18:357;;;14816:34;21344:1:164;14866:18:357;;;14859:34;14909:19;;;14902:35;;;14711:19;;21276:83:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20890:480;20833:847;;;5721:4:194;21380:6:164;:35;21376:304;;21526:86;;;;;;;;14739:25:357;;;14780:18;;;14773:34;;;21575:11:164;21590:4;21575:19;14823:18:357;;;14816:34;21597:1:164;14866:18:357;;;14859:34;14909:19;;;14902:35;;;21526:20:164;;;;;;14711:19:357;;21526:86:164;14471:472:357;21376:304:164;21650:19;;;;;;;;;;;;;;21376:304;19765:1921;;;;;;19675:2011;;;:::o;28212:213::-;27427:9;14565:14:97;14561:22;;;14548:36;14543:3;14539:46;14519:67;;27740:4:164;3514:22:97;3501:36;28293:23:164;28407:11;:9;:11::i;:::-;28394:24;;28212:213;;;:::o;23429:3867::-;23593:22;23583:6;;;;;;;:32;;;;;;;;:::i;:::-;;23579:64;;23624:19;;;;;;;;;;;;;;23579:64;23654:34;23691:9;23701:11;23691:22;;;;;;;;:::i;:::-;;;;;;;;;;;23654:59;;23723:31;23757:34;23779:11;23757:21;:34::i;:::-;23723:68;-1:-1:-1;24102:22:164;:18;:22;;24071:26;;;:55;24067:85;;;24135:17;;;;;;;;;;;;;;24067:85;24221:29;;;;:16;:29;;;;;;;;24217:64;;;24259:22;;;;;;;;;;;;;;24217:64;24292:34;24329:21;;;:8;:21;;;;;24390:23;;24576:24;;:44;;;;-1:-1:-1;24604:16:164;;;24576:44;24572:805;;;25109:28;;;;;;;25087:19;25171:25;;:67;;25227:11;25171:67;;;25199:25;;;;;;25171:67;25151:87;;25252:44;25268:9;25279:16;25252:15;:44::i;:::-;-1:-1:-1;;;25310:29:164;;;;-1:-1:-1;;25310:16:164;:29;;-1:-1:-1;25310:29:164;;;:36;;;;25342:4;25310:36;;;23429:3867::o;24572:805::-;25445:17;25526;25445;25554:1129;25578:19;25574:1;:23;25554:1129;;;25618:22;25643:16;25660:1;25643:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;25764:32;;;:16;:32;;;;;;;;25643:19;;-1:-1:-1;25764:32:164;;25759:68;;25805:22;;;;;;;;;;;;;;25759:68;25842:23;25868:9;25878:14;25868:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;26483:17;;25868:25;;-1:-1:-1;26483:17:164;;;:31;:17;:31;:79;;;;-1:-1:-1;26542:14:164;;;;;;;;26518:19;;;:44;26483:79;26479:194;;;26594:14;;;;26644;;;;26594;;;;;-1:-1:-1;26644:14:164;;;-1:-1:-1;26479:194:164;25604:1079;;25599:3;;;;:::i;:::-;;;25554:1129;;;-1:-1:-1;26891:98:164;26907:23;;;;:63;;26961:9;26907:63;;;26933:25;;;;;;26907:63;26972:16;26891:15;:98::i;:::-;-1:-1:-1;27161:40:164;;;;;;;;;;;;;;;;-1:-1:-1;;;27161:28:164;27253:29;;;:16;:29;;;;;:36;;;;-1:-1:-1;27253:36:164;;;23429:3867::o;1122:588:97:-;1389:4;1383:11;1407:19;;;14565:14;14561:22;;;14548:36;14543:3;14539:46;14519:67;;1407:19;1489:22;;;1482:4;1473:14;;1460:60;1562:6;1555:4;1550:3;1546:14;1542:27;1592:1;1589;1582:12;1664:4;1661:1;1657:12;1651:4;1644:26;;1362:342;1122:588;;;;:::o;8478:187:176:-;8619:17;8616:32;8613:1;8609:40;;8478:187::o;36108:1977:164:-;36860:24;36901:20;:14;;;36920:1;36901:20;:::i;:::-;36860:62;;36932:26;36961:80;36988:15;37013:10;37034:4;36961:18;:80::i;:::-;36932:109;-1:-1:-1;37051:14:164;37074:19;;;37109:9;;:61;;-1:-1:-1;37155:15:164;37169:1;37155:11;:15;:::i;:::-;37122:17;;;;37150:1;;37122:25;;:17;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;37122:25:164;:29;;;;:::i;:::-;:48;;;37109:61;37105:974;;;37648:36;;;4806:1:194;37648:36:164;;:74;;-1:-1:-1;37688:34:164;;;4900:1:194;37688:34:164;37648:74;37642:154;;37750:31;;;;;;;;1021:25:357;;;994:18;;37750:31:164;848:204:357;37642:154:164;37105:974;;;37816:34;;;;37812:267;;38037:31;;;;;;;;1021:25:357;;;994:18;;38037:31:164;848:204:357;37812:267:164;36289:1796;;;36108:1977;;;;:::o;11843:3927:98:-;12373:34;12370:41;-1:-1:-1;12367:1:98;12363:49;12466:9;;;12446:18;12443:33;12440:1;12436:41;12430:48;12524:9;;;12512:10;12509:25;12506:1;12502:33;12496:40;12578:9;;;12570:6;12567:21;12564:1;12560:29;12554:36;12630:9;;;12624:4;12621:19;12618:1;12614:27;12608:34;11891:8;12739:9;;12729:135;;12781:10;12775:4;12768:24;12845:4;12839;12832:18;12729:135;13016:66;12962:34;12951:9;;;12947:50;12941:4;12937:61;12932:151;12925:159;13210:9;;;13205:3;13201:19;;;14173:31;14169:39;;14272:9;;13660:2;14264:18;;;14230:32;14226:57;14348:9;;14340:18;;14305:33;14301:58;14424:9;;14416:18;;14381:33;14377:58;14500:9;;14492:18;;14457:33;14453:58;14575:9;;14567:18;;14533:32;14529:57;14648:9;;14640:18;;14608:30;14604:55;13672:31;13668:59;;13664:67;;13656:76;;13606:32;13602:131;13598:139;;13590:148;;13540:32;13536:203;13532:211;;13524:220;;13430:349;;13809:9;;13801:18;;13797:57;;13884:9;;13876:18;;;13872:57;;13951:9;;;13947:55;;15131:10;15261:43;15257:51;15499:11;;;15426:71;15422:89;15418:97;15595:72;15591:80;15747:3;15743:11;;11843:3927::o;5293:468::-;5354:9;5574:16;5568:23;;5586:3;5559:33;5552:41;5545:49;;5535:173;;5627:10;5621:4;5614:24;5689:4;5683;5676:18;5535:173;-1:-1:-1;5737:3:98;5730:11;;;;5726:19;;5293:468::o;2809:424::-;2870:9;3063:1;3059;3055:6;3051:14;3048:1;3045:21;3042:1;3038:29;3035:145;;;3099:10;3093:4;3086:24;3161:4;3155;3148:18;3035:145;-1:-1:-1;3213:3:98;3202:9;;3198:19;;2809:424::o;8260:3448::-;8309:8;8504:21;8499:1;:26;8495:40;;8260:3448;;;:::o;8495:40::-;8841:21;8838:1;8834:29;8824:164;;8900:10;8894:4;8887:24;8965:4;8959;8952:18;8824:164;9280:7;9274:2;9269:7;;;9268:19;;-1:-1:-1;9551:8:98;9619:2;9575:29;9564:7;;;9563:41;9607:7;9563:51;9562:59;;9647:29;9643:33;;9639:37;;;10328:35;;;10383:5;;9959:2;10382:13;;;10399:32;10381:50;10451:5;;10450:13;;10449:51;;10520:5;;10519:13;;10536:34;10518:52;10590:5;;10589:13;;10588:53;;10661:5;;10660:13;;10677:35;10659:53;9965:32;9898:31;9894:35;;9949:5;;9948:13;;9947:50;;;10022:5;;;:40;;10082:5;10081:13;;;10098:35;10080:53;10151:5;;;10160:40;10151:50;11079:10;11607:49;11594:62;11669:3;:7;;;;11593:84;;;;;;-1:-1:-1;;8260:3448:98:o;7938:186::-;7997:6;8081:36;2458:4;8100:1;8089:8;8095:1;8089:5;:8::i;:::-;:12;;;;:::i;:::-;8088:28;;;;:::i;:::-;8081:6;:36::i;:::-;8074:43;;7938:186;;;;;:::o;2826:363:176:-;2891:21;3066:11;3080:16;3086:9;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;3080:16;3170:1;3066:30;;;;;3161:11;3146:27;;;;2826:363;-1:-1:-1;;2826:363:176:o;38605:677:164:-;38755:27;38854:25;38882:7;:71;;38915:38;:25;;;38941:11;38915:25;:38::i;:::-;38882:71;;;38892:20;:4;:18;;;:20::i;:::-;38854:99;;39121:9;39131:6;39121:17;;;;;;;;:::i;:::-;;;;;;;;;;;39109:29;;39148:128;39155:18;;;;39183:20;;;;39155:18;;:50;39148:128;;39243:21;;39233:9;:32;;:9;;39243:21;;;39233:32;;;;;;:::i;:::-;;;;;;;;;;;39221:44;;39148:128;;;38788:494;38605:677;;;;;:::o;43519:319::-;43590:10;43613:14;43629:20;43651:14;43667:20;43703:44;43735:11;43703:31;:44::i;:::-;43612:135;;;;;;;;43765:66;43786:8;43796:11;43809:8;43819:11;43765:20;:66::i;:::-;43757:74;43519:319;-1:-1:-1;;;;;;43519:319:164:o;39797:3468::-;39901:20;39923:21;39946:20;39968:21;40042:16;40061:6;40042:25;;40077:23;40103:9;40113:8;40103:19;;;;;;;;:::i;:::-;;;;;;;;;40245:14;40103:19;;;;;40245:14;;;;40103:19;;-1:-1:-1;40271:11:164;;40245:22;;:14;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;40245:22:164;:37;;;40241:67;;40291:17;;;;;;;;;;;;;;40241:67;40659:20;40723:5;40738:571;40761:14;;;;40787:11;;40761:22;;:14;;2237:66:176;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;40761:22:164;40746:37;;;;;40745:53;40738:571;;;40836:17;;;;41179:15;:11;40836:17;41179:15;:::i;:::-;41163:12;:31;41159:58;;41212:5;41196:21;;41159:58;41240:9;41250:11;41240:22;;;;;;;;:::i;:::-;;;;;;;;;;;41232:30;;41287:11;41276:22;;40800:509;40738:571;;;41622:22;;;;;41646:14;;;;41622:22;;;;;41646:14;41577:20;41646:14;41688:45;;:26;:20;:11;:18;;4185:1:176;4181:17;;4060:154;41688:20:164;:24;;3001:9:177;2881:145;41688:26:164;:45;;;41671:62;;42228:9;42224:1035;;;42567:1;42540:24;:9;:22;;;:24::i;:::-;:28;;;42536:349;;;42588:26;42617:70;42650:19;42668:1;42650:13;;;:19;:::i;:::-;42672:8;42682:4;42617:18;:70::i;:::-;42739:14;;;;42755:17;;;;;42739:14;;-1:-1:-1;42755:17:164;;;-1:-1:-1;42536:349:164;;-1:-1:-1;42536:349:164;;42840:18;:23;42812:58;;42536:349;42932:11;;;;42945:14;;;;42932:11;;-1:-1:-1;42945:14:164;;;-1:-1:-1;42224:1035:164;;;42991:26;43020:70;43053:19;:13;;;43071:1;43053:19;:::i;43020:70::-;43138:11;;;;;43151:14;;;;;43214;;;;43230:17;;;43138:11;;-1:-1:-1;43151:14:164;;;;;-1:-1:-1;43214:14:164;;-1:-1:-1;43230:17:164;;-1:-1:-1;;42224:1035:164;39995:3270;;;;;;;39797:3468;;;;;:::o;44205:616::-;44400:10;44622:16;;;:23;:192;;44752:60;;;;;;16946:25:357;;;16990:34;17060:15;;;17040:18;;;17033:43;;;;17092:18;;;17085:34;;;17155:15;;;17135:18;;;17128:43;16918:19;;44752:60:164;;;;;;;;;;;;44742:71;;;;;;44622:192;;;44691:9;44702:12;44680:35;;;;;;;;17415:25:357;;;17488:34;17476:47;17471:2;17456:18;;17449:75;17403:2;17388:18;;17182:348;44680:35:164;;;;;;;;;;;;;44670:46;;;;;;44614:200;44205:616;-1:-1:-1;;;;;44205:616:164:o;5396:336:176:-;5478:19;5509:11;5523:16;5529:9;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;5523:16;5509:30;;;;5604:3;5593:9;5589:19;5713:1;5702:9;5698:17;5693:1;5689;5678:9;5674:17;5670:25;5658:9;5647;5643:25;5640:56;5636:80;5621:95;;;5558:168;5396:336;;;;:::o;35528:361:164:-;35721:12;;;;;35788:18;;;35706:12;35788:18;;;;;;;;;;;:26;;35721:12;;;;;;;35788:26;;35721:12;;35788:26;:::i;:::-;;;;-1:-1:-1;;35853:29:164;;;;;:11;9795:55:357;;;35853:29:164;;;9777:74:357;9867:18;;;9860:34;;;35853:4:164;:11;;;;9750:18:357;;35853:29:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7263:794:176;7412:18;7553:20;7532:17;:9;:15;;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;7532:17;:41;;;7528:71;;7582:17;;;;;;;;;;;;;;7528:71;7665:24;7679:9;7665:13;:24::i;:::-;7653:36;;7946:20;7925:17;:9;:15;;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;7925:17;:41;;;7921:130;;7994:46;8015:24;:20;8038:1;8015:24;:::i;:::-;7994:20;;;;;:46::i;6034:710::-;6100:18;6263:14;;6294:1;6279:17;;6259:38;6100:18;6398:10;6259:38;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;6398:10;6384:24;;6607:19;;;;6718:9;;6712:16;;6034:710;-1:-1:-1;;;6034:710:176:o;4635:313::-;4717:20;4749:11;4763:16;4769:9;2237:66;2189:20;1511:18;1508:46;-1:-1:-1;1505:1:176;1501:54;1612:22;;;1600:10;1597:38;1594:1;1590:46;1579:58;1730:22;;;1796:1;1792:17;;;1778:32;1854:1;1850:17;;;1836:32;1912:1;1908:17;;;1894:32;1970:1;1966:17;;;1952:32;2028:2;2024:18;;;2010:33;2174:36;2169:3;2165:46;2135:190;2083:260;;1283:1076;4763:16;4749:30;;;;4844:3;4833:9;4829:19;4929:1;4925;4914:9;4910:17;4906:25;4894:9;4883;4879:25;4876:56;4861:71;;;4798:144;4635:313;;;;:::o;252:184:357:-;304:77;301:1;294:88;401:4;398:1;391:15;425:4;422:1;415:15;441:402;590:2;575:18;;623:1;612:13;;602:201;;659:77;656:1;649:88;760:4;757:1;750:15;788:4;785:1;778:15;602:201;812:25;;;441:402;:::o;1057:248::-;1125:6;1133;1186:2;1174:9;1165:7;1161:23;1157:32;1154:52;;;1202:1;1199;1192:12;1154:52;-1:-1:-1;;1225:23:357;;;1295:2;1280:18;;;1267:32;;-1:-1:-1;1057:248:357:o;2511:531::-;2553:3;2591:5;2585:12;2618:6;2613:3;2606:19;2643:1;2653:162;2667:6;2664:1;2661:13;2653:162;;;2729:4;2785:13;;;2781:22;;2775:29;2757:11;;;2753:20;;2746:59;2682:12;2653:162;;;2833:6;2830:1;2827:13;2824:87;;;2899:1;2892:4;2883:6;2878:3;2874:16;2870:27;2863:38;2824:87;-1:-1:-1;2956:2:357;2944:15;2961:66;2940:88;2931:98;;;;3031:4;2927:109;;2511:531;-1:-1:-1;;2511:531:357:o;3047:220::-;3196:2;3185:9;3178:21;3159:4;3216:45;3257:2;3246:9;3242:18;3234:6;3216:45;:::i;4037:154::-;4123:42;4116:5;4112:54;4105:5;4102:65;4092:93;;4181:1;4178;4171:12;4092:93;4037:154;:::o;4196:247::-;4255:6;4308:2;4296:9;4287:7;4283:23;4279:32;4276:52;;;4324:1;4321;4314:12;4276:52;4363:9;4350:23;4382:31;4407:5;4382:31;:::i;:::-;4432:5;4196:247;-1:-1:-1;;;4196:247:357:o;4448:160::-;4513:20;;4569:13;;4562:21;4552:32;;4542:60;;4598:1;4595;4588:12;4542:60;4448:160;;;:::o;4613:344::-;4715:6;4723;4731;4784:2;4772:9;4763:7;4759:23;4755:32;4752:52;;;4800:1;4797;4790:12;4752:52;4836:9;4823:23;4813:33;;4893:2;4882:9;4878:18;4865:32;4855:42;;4916:35;4947:2;4936:9;4932:18;4916:35;:::i;:::-;4906:45;;4613:344;;;;;:::o;5638:180::-;5697:6;5750:2;5738:9;5729:7;5725:23;5721:32;5718:52;;;5766:1;5763;5756:12;5718:52;-1:-1:-1;5789:23:357;;5638:180;-1:-1:-1;5638:180:357:o;5823:332::-;5913:6;5966:2;5954:9;5945:7;5941:23;5937:32;5934:52;;;5982:1;5979;5972:12;5934:52;6021:9;6008:23;6071:34;6064:5;6060:46;6053:5;6050:57;6040:85;;6121:1;6118;6111:12;7033:347;7084:8;7094:6;7148:3;7141:4;7133:6;7129:17;7125:27;7115:55;;7166:1;7163;7156:12;7115:55;-1:-1:-1;7189:20:357;;7232:18;7221:30;;7218:50;;;7264:1;7261;7254:12;7218:50;7301:4;7293:6;7289:17;7277:29;;7353:3;7346:4;7337:6;7329;7325:19;7321:30;7318:39;7315:59;;;7370:1;7367;7360:12;7315:59;7033:347;;;;;:::o;7385:854::-;7490:6;7498;7506;7514;7522;7530;7583:3;7571:9;7562:7;7558:23;7554:33;7551:53;;;7600:1;7597;7590:12;7551:53;7636:9;7623:23;7613:33;;7665:35;7696:2;7685:9;7681:18;7665:35;:::i;:::-;7655:45;;7751:2;7740:9;7736:18;7723:32;7774:18;7815:2;7807:6;7804:14;7801:34;;;7831:1;7828;7821:12;7801:34;7870:58;7920:7;7911:6;7900:9;7896:22;7870:58;:::i;:::-;7947:8;;-1:-1:-1;7844:84:357;-1:-1:-1;8035:2:357;8020:18;;8007:32;;-1:-1:-1;8051:16:357;;;8048:36;;;8080:1;8077;8070:12;8048:36;;8119:60;8171:7;8160:8;8149:9;8145:24;8119:60;:::i;:::-;7385:854;;;;-1:-1:-1;7385:854:357;;-1:-1:-1;7385:854:357;;8198:8;;7385:854;-1:-1:-1;;;7385:854:357:o;8653:316::-;8730:6;8738;8746;8799:2;8787:9;8778:7;8774:23;8770:32;8767:52;;;8815:1;8812;8805:12;8767:52;-1:-1:-1;;8838:23:357;;;8908:2;8893:18;;8880:32;;-1:-1:-1;8959:2:357;8944:18;;;8931:32;;8653:316;-1:-1:-1;8653:316:357:o;8974:435::-;9247:10;9239:6;9235:23;9224:9;9217:42;9295:6;9290:2;9279:9;9275:18;9268:34;9338:2;9333;9322:9;9318:18;9311:30;9198:4;9358:45;9399:2;9388:9;9384:18;9376:6;9358:45;:::i;9414:184::-;9466:77;9463:1;9456:88;9563:4;9560:1;9553:15;9587:4;9584:1;9577:15;10115:184;10167:77;10164:1;10157:88;10264:4;10261:1;10254:15;10288:4;10285:1;10278:15;10304:128;10344:3;10375:1;10371:6;10368:1;10365:13;10362:39;;;10381:18;;:::i;:::-;-1:-1:-1;10417:9:357;;10304:128::o;10437:229::-;10476:4;10505:18;10573:10;;;;10543;;10595:12;;;10592:38;;;10610:18;;:::i;:::-;10647:13;;10437:229;-1:-1:-1;;;10437:229:357:o;10671:125::-;10711:4;10739:1;10736;10733:8;10730:34;;;10744:18;;:::i;:::-;-1:-1:-1;10781:9:357;;10671:125::o;10801:270::-;10840:7;10872:18;10917:2;10914:1;10910:10;10947:2;10944:1;10940:10;11003:3;10999:2;10995:12;10990:3;10987:21;10980:3;10973:11;10966:19;10962:47;10959:73;;;11012:18;;:::i;:::-;11052:13;;10801:270;-1:-1:-1;;;;10801:270:357:o;11076:272::-;11182:6;11190;11243:2;11231:9;11222:7;11218:23;11214:32;11211:52;;;11259:1;11256;11249:12;11211:52;-1:-1:-1;;11282:16:357;;11338:2;11323:18;;;11317:25;11282:16;;11317:25;;-1:-1:-1;11076:272:357:o;11353:184::-;11405:77;11402:1;11395:88;11502:4;11499:1;11492:15;11526:4;11523:1;11516:15;11542:120;11582:1;11608;11598:35;;11613:18;;:::i;:::-;-1:-1:-1;11647:9:357;;11542:120::o;11667:228::-;11707:7;11833:1;11765:66;11761:74;11758:1;11755:81;11750:1;11743:9;11736:17;11732:105;11729:131;;;11840:18;;:::i;:::-;-1:-1:-1;11880:9:357;;11667:228::o;11900:112::-;11932:1;11958;11948:35;;11963:18;;:::i;:::-;-1:-1:-1;11997:9:357;;11900:112::o;12017:246::-;12057:4;12086:34;12170:10;;;;12140;;12192:12;;;12189:38;;;12207:18;;:::i;12268:253::-;12308:3;12336:34;12397:2;12394:1;12390:10;12427:2;12424:1;12420:10;12458:3;12454:2;12450:12;12445:3;12442:21;12439:47;;;12466:18;;:::i;:::-;12502:13;;12268:253;-1:-1:-1;;;;12268:253:357:o;12526:271::-;12709:6;12701;12696:3;12683:33;12665:3;12735:16;;12760:13;;;12735:16;12526:271;-1:-1:-1;12526:271:357:o;12802:325::-;12890:6;12885:3;12878:19;12942:6;12935:5;12928:4;12923:3;12919:14;12906:43;;12994:1;12987:4;12978:6;12973:3;12969:16;12965:27;12958:38;12860:3;13116:4;13046:66;13041:2;13033:6;13029:15;13025:88;13020:3;13016:98;13012:109;13005:116;;12802:325;;;;:::o;13132:502::-;13373:2;13362:9;13355:21;13336:4;13399:61;13456:2;13445:9;13441:18;13433:6;13425;13399:61;:::i;:::-;13508:9;13500:6;13496:22;13491:2;13480:9;13476:18;13469:50;13536:49;13578:6;13570;13562;13536:49;:::i;:::-;13528:57;;;13621:6;13616:2;13605:9;13601:18;13594:34;13132:502;;;;;;;;:::o;13639:184::-;13709:6;13762:2;13750:9;13741:7;13737:23;13733:32;13730:52;;;13778:1;13775;13768:12;13730:52;-1:-1:-1;13801:16:357;;13639:184;-1:-1:-1;13639:184:357:o;13828:195::-;13866:4;13903;13900:1;13896:12;13935:4;13932:1;13928:12;13960:3;13955;13952:12;13949:38;;;13967:18;;:::i;:::-;14004:13;;;13828:195;-1:-1:-1;;;13828:195:357:o;14028:157::-;14058:1;14092:4;14089:1;14085:12;14116:3;14106:37;;14123:18;;:::i;:::-;14175:3;14168:4;14165:1;14161:12;14157:22;14152:27;;;14028:157;;;;:::o;14190:276::-;14285:6;14338:2;14326:9;14317:7;14313:23;14309:32;14306:52;;;14354:1;14351;14344:12;14306:52;14386:9;14380:16;14405:31;14430:5;14405:31;:::i;15424:195::-;15463:3;15494:66;15487:5;15484:77;15481:103;;15564:18;;:::i;:::-;-1:-1:-1;15611:1:357;15600:13;;15424:195::o;15624:655::-;15663:7;15695:66;15787:1;15784;15780:9;15815:1;15812;15808:9;15860:1;15856:2;15852:10;15849:1;15846:17;15841:2;15837;15833:11;15829:35;15826:61;;;15867:18;;:::i;:::-;15906:66;15998:1;15995;15991:9;16045:1;16041:2;16036:11;16033:1;16029:19;16024:2;16020;16016:11;16012:37;16009:63;;;16052:18;;:::i;:::-;16098:1;16095;16091:9;16081:19;;16145:1;16141:2;16136:11;16133:1;16129:19;16124:2;16120;16116:11;16112:37;16109:63;;;16152:18;;:::i;:::-;16217:1;16213:2;16208:11;16205:1;16201:19;16196:2;16192;16188:11;16184:37;16181:63;;;16224:18;;:::i;:::-;-1:-1:-1;;;16264:9:357;;;;;15624:655;-1:-1:-1;;;15624:655:357:o;16284:308::-;16323:1;16349;16339:35;;16354:18;;:::i;:::-;16471:66;16468:1;16465:73;16396:66;16393:1;16390:73;16386:153;16383:179;;;16542:18;;:::i;:::-;-1:-1:-1;16576:10:357;;16284:308::o",linkReferences:{},immutableReferences:{"97720":[{start:1643,length:32},{start:9176,length:32}],"97723":[{start:2439,length:32},{start:4347,length:32},{start:8062,length:32},{start:8196,length:32},{start:8719,length:32},{start:9018,length:32}],"97726":[{start:2256,length:32},{start:4239,length:32},{start:4440,length:32},{start:4824,length:32},{start:8985,length:32},{start:10781,length:32},{start:12541,length:32},{start:14380,length:32},{start:14682,length:32},{start:14939,length:32},{start:15152,length:32}],"97730":[{start:2205,length:32},{start:4585,length:32},{start:4730,length:32},{start:4975,length:32},{start:7789,length:32},{start:7855,length:32},{start:11501,length:32}],"97734":[{start:1055,length:32},{start:9414,length:32},{start:10267,length:32}],"97738":[{start:1702,length:32},{start:6175,length:32},{start:11247,length:32}],"97742":[{start:1106,length:32},{start:3493,length:32},{start:5895,length:32},{start:7265,length:32},{start:16177,length:32}],"97746":[{start:1291,length:32},{start:3103,length:32},{start:6240,length:32}],"97749":[{start:2122,length:32},{start:11093,length:32}],"97753":[{start:1478,length:32},{start:4687,length:32},{start:4877,length:32},{start:4919,length:32}]}},methodIdentifiers:{"absolutePrestate()":"8d450a95","addLocalData(uint256,uint256,uint256)":"f8f43ff6","anchorStateRegistry()":"5c0cba33","attack(uint256,bytes32)":"c55cd0c7","claimCredit(address)":"60e27464","claimData(uint256)":"c6f0308c","claimDataLen()":"8980e0cc","claims(bytes32)":"eff0f592","clockExtension()":"6b6716c0","createdAt()":"cf09e0d0","credit(address)":"d5d44d80","defend(uint256,bytes32)":"35fef567","extraData()":"609d3334","gameCreator()":"37b1b229","gameData()":"fa24f743","gameType()":"bbdc02db","getChallengerDuration(uint256)":"bd8da956","getRequiredBond(uint128)":"c395e1ca","initialize()":"8129fc1c","l1Head()":"6361506d","l2BlockNumber()":"8b85902b","l2ChainId()":"d6ae3cd5","maxClockDuration()":"dabd396d","maxGameDepth()":"fa315aa9","move(uint256,bytes32,bool)":"632247ea","resolve()":"2810e1d6","resolveClaim(uint256)":"fdffbb28","resolvedAt()":"19effeb4","resolvedSubgames(uint256)":"fe2bbeb2","rootClaim()":"bcef3b55","splitDepth()":"ec5e6308","startingBlockNumber()":"70872aa5","startingOutputRoot()":"57da950e","startingRootHash()":"25fc2ace","status()":"200d2ed2","step(uint256,bool,bytes,bytes)":"d8cc1a3c","subgames(uint256,uint256)":"2ad69aeb","version()":"54fd4d50","vm()":"3a768463","weth()":"3fc8cef3"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"},{"internalType":"Claim","name":"_absolutePrestate","type":"bytes32"},{"internalType":"uint256","name":"_maxGameDepth","type":"uint256"},{"internalType":"uint256","name":"_splitDepth","type":"uint256"},{"internalType":"Duration","name":"_clockExtension","type":"uint64"},{"internalType":"Duration","name":"_maxClockDuration","type":"uint64"},{"internalType":"contract IBigStepper","name":"_vm","type":"address"},{"internalType":"contract IDelayedWETH","name":"_weth","type":"address"},{"internalType":"contract IAnchorStateRegistry","name":"_anchorStateRegistry","type":"address"},{"internalType":"uint256","name":"_l2ChainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"AnchorRootNotFound","type":"error"},{"inputs":[],"name":"BondTransferFailed","type":"error"},{"inputs":[],"name":"CannotDefendRootClaim","type":"error"},{"inputs":[],"name":"ClaimAboveSplit","type":"error"},{"inputs":[],"name":"ClaimAlreadyExists","type":"error"},{"inputs":[],"name":"ClaimAlreadyResolved","type":"error"},{"inputs":[],"name":"ClockNotExpired","type":"error"},{"inputs":[],"name":"ClockTimeExceeded","type":"error"},{"inputs":[],"name":"DuplicateStep","type":"error"},{"inputs":[],"name":"GameDepthExceeded","type":"error"},{"inputs":[],"name":"GameNotInProgress","type":"error"},{"inputs":[],"name":"IncorrectBondAmount","type":"error"},{"inputs":[],"name":"InvalidClockExtension","type":"error"},{"inputs":[],"name":"InvalidLocalIdent","type":"error"},{"inputs":[],"name":"InvalidParent","type":"error"},{"inputs":[],"name":"InvalidPrestate","type":"error"},{"inputs":[],"name":"InvalidSplitDepth","type":"error"},{"inputs":[],"name":"MaxDepthTooLarge","type":"error"},{"inputs":[],"name":"NoCreditToClaim","type":"error"},{"inputs":[],"name":"OutOfOrderResolution","type":"error"},{"inputs":[{"internalType":"Claim","name":"rootClaim","type":"bytes32"}],"name":"UnexpectedRootClaim","type":"error"},{"inputs":[],"name":"ValidStep","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"parentIndex","type":"uint256"},{"indexed":true,"internalType":"Claim","name":"claim","type":"bytes32"},{"indexed":true,"internalType":"address","name":"claimant","type":"address"}],"name":"Move","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum GameStatus","name":"status","type":"uint8"}],"name":"Resolved","type":"event"},{"inputs":[],"name":"absolutePrestate","outputs":[{"internalType":"Claim","name":"absolutePrestate_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ident","type":"uint256"},{"internalType":"uint256","name":"_execLeafIdx","type":"uint256"},{"internalType":"uint256","name":"_partOffset","type":"uint256"}],"name":"addLocalData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"anchorStateRegistry","outputs":[{"internalType":"contract IAnchorStateRegistry","name":"registry_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"attack","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"claimCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimData","outputs":[{"internalType":"uint32","name":"parentIndex","type":"uint32"},{"internalType":"address","name":"counteredBy","type":"address"},{"internalType":"address","name":"claimant","type":"address"},{"internalType":"uint128","name":"bond","type":"uint128"},{"internalType":"Claim","name":"claim","type":"bytes32"},{"internalType":"Position","name":"position","type":"uint128"},{"internalType":"Clock","name":"clock","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDataLen","outputs":[{"internalType":"uint256","name":"len_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"ClaimHash","name":"","type":"bytes32"}],"name":"claims","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clockExtension","outputs":[{"internalType":"Duration","name":"clockExtension_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"credit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_parentIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"}],"name":"defend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"extraData","outputs":[{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gameCreator","outputs":[{"internalType":"address","name":"creator_","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gameData","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"},{"internalType":"Claim","name":"rootClaim_","type":"bytes32"},{"internalType":"bytes","name":"extraData_","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameType","outputs":[{"internalType":"GameType","name":"gameType_","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"}],"name":"getChallengerDuration","outputs":[{"internalType":"Duration","name":"duration_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Position","name":"_position","type":"uint128"}],"name":"getRequiredBond","outputs":[{"internalType":"uint256","name":"requiredBond_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"l1Head","outputs":[{"internalType":"Hash","name":"l1Head_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2BlockNumber","outputs":[{"internalType":"uint256","name":"l2BlockNumber_","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"l2ChainId","outputs":[{"internalType":"uint256","name":"l2ChainId_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClockDuration","outputs":[{"internalType":"Duration","name":"maxClockDuration_","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGameDepth","outputs":[{"internalType":"uint256","name":"maxGameDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_challengeIndex","type":"uint256"},{"internalType":"Claim","name":"_claim","type":"bytes32"},{"internalType":"bool","name":"_isAttack","type":"bool"}],"name":"move","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"resolve","outputs":[{"internalType":"enum GameStatus","name":"status_","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"}],"name":"resolveClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resolvedAt","outputs":[{"internalType":"Timestamp","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"resolvedSubgames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootClaim","outputs":[{"internalType":"Claim","name":"rootClaim_","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"splitDepth","outputs":[{"internalType":"uint256","name":"splitDepth_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"startingBlockNumber_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingOutputRoot","outputs":[{"internalType":"Hash","name":"root","type":"bytes32"},{"internalType":"uint256","name":"l2BlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingRootHash","outputs":[{"internalType":"Hash","name":"startingRootHash_","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum GameStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimIndex","type":"uint256"},{"internalType":"bool","name":"_isAttack","type":"bool"},{"internalType":"bytes","name":"_stateData","type":"bytes"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"subgames","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vm","outputs":[{"internalType":"contract IBigStepper","name":"vm_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IDelayedWETH","name":"weth_","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"errors":{"UnexpectedRootClaim(bytes32)":[{"params":{"rootClaim":"is the claim that was unexpected."}}]},"kind":"dev","methods":{"addLocalData(uint256,uint256,uint256)":{"params":{"_execLeafIdx":"The index of the leaf claim in an execution subgame that requires the local data for a step.","_ident":"The local identifier of the data to post.","_partOffset":"The offset of the data to post."}},"attack(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative attack position.","_parentIndex":"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{"params":{"_recipient":"The owner and recipient of the credit."}},"constructor":{"params":{"_absolutePrestate":"The absolute prestate of the instruction trace.","_anchorStateRegistry":"The contract that stores the anchor state for each game type.","_clockExtension":"The clock extension to perform when the remaining duration is less than the extension.","_gameType":"The type ID of the game.","_l2ChainId":"Chain ID of the L2 network this contract argues about.","_maxClockDuration":"The maximum amount of time that may accumulate on a team\'s chess clock.","_maxGameDepth":"The maximum depth of bisection.","_splitDepth":"The final depth of the output bisection portion of the game.","_vm":"An onchain VM that performs single instruction steps on an FPP trace.","_weth":"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{"params":{"_claim":"The `Claim` at the relative defense position.","_parentIndex":"Index of the claim to defend in the `claimData` array."}},"extraData()":{"details":"`clones-with-immutable-args` argument #4","returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator."}},"gameCreator()":{"details":"`clones-with-immutable-args` argument #1","returns":{"creator_":"The creator of the dispute game."}},"gameData()":{"returns":{"extraData_":"Any extra data supplied to the dispute game contract by the creator.","gameType_":"The type of proof system being used.","rootClaim_":"The root claim of the DisputeGame."}},"gameType()":{"details":"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.","returns":{"gameType_":"The type of proof system being used."}},"getChallengerDuration(uint256)":{"params":{"_claimIndex":"The index of the subgame root claim."},"returns":{"duration_":"The time elapsed on the potential challenger to `_claimIndex`\'s chess clock."}},"getRequiredBond(uint128)":{"params":{"_position":"The position of the bonded interaction."},"returns":{"requiredBond_":"The required ETH bond for the given move, in wei."}},"initialize()":{"details":"This function may only be called once."},"l1Head()":{"details":"`clones-with-immutable-args` argument #3","returns":{"l1Head_":"The parent hash of the L1 block when the dispute game was created."}},"move(uint256,bytes32,bool)":{"params":{"_challengeIndex":"The index of the claim being moved against.","_claim":"The claim at the next logical position in the game.","_isAttack":"Whether or not the move is an attack or defense."}},"resolve()":{"details":"May only be called if the `status` is `IN_PROGRESS`.","returns":{"status_":"The status of the game after resolution."}},"resolveClaim(uint256)":{"details":"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there\'s a successful step against it.","params":{"_claimIndex":"The index of the subgame root claim to resolve."}},"rootClaim()":{"details":"`clones-with-immutable-args` argument #2","returns":{"rootClaim_":"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{"details":"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.","params":{"_claimIndex":"The index of the challenged claim within `claimData`.","_isAttack":"Whether or not the step is an attack or a defense.","_proof":"Proof to access memory nodes in the VM\'s merkle state tree.","_stateData":"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},"stateVariables":{"status":{"return":"The current status of the game.","returns":{"_0":"The current status of the game."}},"version":{"custom:semver":"0.17.0"}},"title":"FaultDisputeGame","version":1},"userdoc":{"errors":{"AlreadyInitialized()":[{"notice":"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{"notice":"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{"notice":"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{"notice":"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{"notice":"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{"notice":"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{"notice":"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{"notice":"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{"notice":"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{"notice":"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{"notice":"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{"notice":"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{"notice":"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidClockExtension()":[{"notice":"Thrown on deployment if the max clock duration is less than or equal to the clock extension."}],"InvalidLocalIdent()":[{"notice":"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{"notice":"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{"notice":"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{"notice":"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"MaxDepthTooLarge()":[{"notice":"Thrown on deployment if the max depth is greater than `LibPosition.`"}],"NoCreditToClaim()":[{"notice":"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{"notice":"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{"notice":"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{"notice":"Thrown when a step is made that computes the expected post state correctly."}]},"events":{"Move(uint256,bytes32,address)":{"notice":"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{"notice":"Emitted when the game is resolved."}},"kind":"user","methods":{"absolutePrestate()":{"notice":"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{"notice":"Posts the requested local data to the VM\'s `PreimageOralce`."},"anchorStateRegistry()":{"notice":"Returns the anchor state registry contract."},"attack(uint256,bytes32)":{"notice":"Attack a disagreed upon `Claim`."},"claimCredit(address)":{"notice":"Claim the credit belonging to the recipient address."},"claimData(uint256)":{"notice":"An append-only array of all claims made during the dispute game."},"claimDataLen()":{"notice":"Returns the length of the `claimData` array."},"claims(bytes32)":{"notice":"A mapping to allow for constant-time lookups of existing claims."},"clockExtension()":{"notice":"Returns the clock extension constant."},"createdAt()":{"notice":"The starting timestamp of the game"},"credit(address)":{"notice":"Credited balances for winning participants."},"defend(uint256,bytes32)":{"notice":"Defend an agreed upon `Claim`."},"extraData()":{"notice":"Getter for the extra data."},"gameCreator()":{"notice":"Getter for the creator of the dispute game."},"gameData()":{"notice":"A compliant implementation of this interface should return the components of the game UUID\'s preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameType()":{"notice":"Getter for the game type."},"getChallengerDuration(uint256)":{"notice":"Returns the amount of time elapsed on the potential challenger to `_claimIndex`\'s chess clock. Maxes out at `MAX_CLOCK_DURATION`."},"getRequiredBond(uint128)":{"notice":"Returns the required bond for a given move kind."},"initialize()":{"notice":"Initializes the contract."},"l1Head()":{"notice":"Getter for the parent hash of the L1 block when the dispute game was created."},"l2BlockNumber()":{"notice":"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{"notice":"Returns the chain ID of the L2 network this contract argues about."},"maxClockDuration()":{"notice":"Returns the max clock duration."},"maxGameDepth()":{"notice":"Returns the max game depth."},"move(uint256,bytes32,bool)":{"notice":"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{"notice":"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{"notice":"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{"notice":"The timestamp of the game\'s global resolution."},"resolvedSubgames(uint256)":{"notice":"An interneal mapping of resolved subgames rooted at a claim index."},"rootClaim()":{"notice":"Getter for the root claim."},"splitDepth()":{"notice":"Returns the split depth."},"startingBlockNumber()":{"notice":"Only the starting block number of the game."},"startingOutputRoot()":{"notice":"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{"notice":"Only the starting output root of the game."},"status()":{"notice":"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{"notice":"Perform an instruction step via an on-chain fault proof processor."},"subgames(uint256,uint256)":{"notice":"A mapping of subgames rooted at a claim index to other claim indices in the subgame."},"version()":{"notice":"Semantic version."},"vm()":{"notice":"Returns the address of the VM."},"weth()":{"notice":"Returns the WETH contract for holding ETH."}},"notice":"An implementation of the `IFaultDisputeGame` interface.","version":1}},"settings":{"compilationTarget":{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/solady/src/utils/Clone.sol":{"keccak256":"0xb408dc90294bacd394e59c83619e7dc76f45c83ad6f8e923eb07d3a5bab89f22","license":"MIT","urls":["bzz-raw://c3abeb55ad062c4b29b5b5edab6167de36615c51621ef71ef3ddfd9f6735a93b","dweb:/ipfs/Qmboh4zX6ZgFVhetUhZGJ14kKXiaGeB9bW3Vseg2MLMGHW"]},"lib/solady/src/utils/FixedPointMathLib.sol":{"keccak256":"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160","license":"MIT","urls":["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"]},"src/cannon/interfaces/IPreimageOracle.sol":{"keccak256":"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f","license":"MIT","urls":["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"]},"src/dispute/FaultDisputeGame.sol":{"keccak256":"0x0d90358576f7b5c14cfe338937ed4fea7d945f9a1b5e68111196310554b485b3","license":"MIT","urls":["bzz-raw://5d6d4ce62af4902e17af3a70b6c4688be4d148498c841af9c8ead2c076794e6e","dweb:/ipfs/QmS2ebpEDxbhnUwXYnKEChS2zVpFvfdnJr3AbfDSQovBAN"]},"src/dispute/interfaces/IAnchorStateRegistry.sol":{"keccak256":"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3","license":"MIT","urls":["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"]},"src/dispute/interfaces/IBigStepper.sol":{"keccak256":"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a","license":"MIT","urls":["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"]},"src/dispute/interfaces/IDelayedWETH.sol":{"keccak256":"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04","license":"MIT","urls":["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b","license":"MIT","urls":["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IFaultDisputeGame.sol":{"keccak256":"0xe2f3acb614ecffd6e0fee98443cf58fa95c1209f4ee43e723781733823da3437","license":"MIT","urls":["bzz-raw://e4cffbd5b53e6459aad472249e629ae5f52c725b6f6828050df019a18ab50278","dweb:/ipfs/QmTC1GgzbwSyqd9fbJz2veqHnbKJfAK5tBr5jUZcC5N271"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/interfaces/IWETH.sol":{"keccak256":"0x3858f6c0ce3ec7978b1ea1772484c25aec7c8c480ceaf18239f726fdd06fdd1f","license":"MIT","urls":["bzz-raw://b72cf3bc31324409480e9ae6eb3e2654da8dff3cbf9f2136b19fe714293b3766","dweb:/ipfs/QmTW3JiFUo8pYhDbthPH8ZSp5f1nmdga4CSzo4YdEzppnM"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6","license":"MIT","urls":["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f","license":"MIT","urls":["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937","license":"MIT","urls":["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c","license":"MIT","urls":["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"},{internalType:"Claim",name:"_absolutePrestate",type:"bytes32"},{internalType:"uint256",name:"_maxGameDepth",type:"uint256"},{internalType:"uint256",name:"_splitDepth",type:"uint256"},{internalType:"Duration",name:"_clockExtension",type:"uint64"},{internalType:"Duration",name:"_maxClockDuration",type:"uint64"},{internalType:"contract IBigStepper",name:"_vm",type:"address"},{internalType:"contract IDelayedWETH",name:"_weth",type:"address"},{internalType:"contract IAnchorStateRegistry",name:"_anchorStateRegistry",type:"address"},{internalType:"uint256",name:"_l2ChainId",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"AlreadyInitialized"},{inputs:[],type:"error",name:"AnchorRootNotFound"},{inputs:[],type:"error",name:"BondTransferFailed"},{inputs:[],type:"error",name:"CannotDefendRootClaim"},{inputs:[],type:"error",name:"ClaimAboveSplit"},{inputs:[],type:"error",name:"ClaimAlreadyExists"},{inputs:[],type:"error",name:"ClaimAlreadyResolved"},{inputs:[],type:"error",name:"ClockNotExpired"},{inputs:[],type:"error",name:"ClockTimeExceeded"},{inputs:[],type:"error",name:"DuplicateStep"},{inputs:[],type:"error",name:"GameDepthExceeded"},{inputs:[],type:"error",name:"GameNotInProgress"},{inputs:[],type:"error",name:"IncorrectBondAmount"},{inputs:[],type:"error",name:"InvalidClockExtension"},{inputs:[],type:"error",name:"InvalidLocalIdent"},{inputs:[],type:"error",name:"InvalidParent"},{inputs:[],type:"error",name:"InvalidPrestate"},{inputs:[],type:"error",name:"InvalidSplitDepth"},{inputs:[],type:"error",name:"MaxDepthTooLarge"},{inputs:[],type:"error",name:"NoCreditToClaim"},{inputs:[],type:"error",name:"OutOfOrderResolution"},{inputs:[{internalType:"Claim",name:"rootClaim",type:"bytes32"}],type:"error",name:"UnexpectedRootClaim"},{inputs:[],type:"error",name:"ValidStep"},{inputs:[{internalType:"uint256",name:"parentIndex",type:"uint256",indexed:!0},{internalType:"Claim",name:"claim",type:"bytes32",indexed:!0},{internalType:"address",name:"claimant",type:"address",indexed:!0}],type:"event",name:"Move",anonymous:!1},{inputs:[{internalType:"enum GameStatus",name:"status",type:"uint8",indexed:!0}],type:"event",name:"Resolved",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"absolutePrestate",outputs:[{internalType:"Claim",name:"absolutePrestate_",type:"bytes32"}]},{inputs:[{internalType:"uint256",name:"_ident",type:"uint256"},{internalType:"uint256",name:"_execLeafIdx",type:"uint256"},{internalType:"uint256",name:"_partOffset",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"addLocalData"},{inputs:[],stateMutability:"view",type:"function",name:"anchorStateRegistry",outputs:[{internalType:"contract IAnchorStateRegistry",name:"registry_",type:"address"}]},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"attack"},{inputs:[{internalType:"address",name:"_recipient",type:"address"}],stateMutability:"nonpayable",type:"function",name:"claimCredit"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"claimData",outputs:[{internalType:"uint32",name:"parentIndex",type:"uint32"},{internalType:"address",name:"counteredBy",type:"address"},{internalType:"address",name:"claimant",type:"address"},{internalType:"uint128",name:"bond",type:"uint128"},{internalType:"Claim",name:"claim",type:"bytes32"},{internalType:"Position",name:"position",type:"uint128"},{internalType:"Clock",name:"clock",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"claimDataLen",outputs:[{internalType:"uint256",name:"len_",type:"uint256"}]},{inputs:[{internalType:"ClaimHash",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"claims",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"clockExtension",outputs:[{internalType:"Duration",name:"clockExtension_",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"createdAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"credit",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_parentIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"}],stateMutability:"payable",type:"function",name:"defend"},{inputs:[],stateMutability:"pure",type:"function",name:"extraData",outputs:[{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"pure",type:"function",name:"gameCreator",outputs:[{internalType:"address",name:"creator_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameData",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"},{internalType:"Claim",name:"rootClaim_",type:"bytes32"},{internalType:"bytes",name:"extraData_",type:"bytes"}]},{inputs:[],stateMutability:"view",type:"function",name:"gameType",outputs:[{internalType:"GameType",name:"gameType_",type:"uint32"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"getChallengerDuration",outputs:[{internalType:"Duration",name:"duration_",type:"uint64"}]},{inputs:[{internalType:"Position",name:"_position",type:"uint128"}],stateMutability:"view",type:"function",name:"getRequiredBond",outputs:[{internalType:"uint256",name:"requiredBond_",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"initialize"},{inputs:[],stateMutability:"pure",type:"function",name:"l1Head",outputs:[{internalType:"Hash",name:"l1Head_",type:"bytes32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"l2BlockNumber",outputs:[{internalType:"uint256",name:"l2BlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2ChainId",outputs:[{internalType:"uint256",name:"l2ChainId_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"maxClockDuration",outputs:[{internalType:"Duration",name:"maxClockDuration_",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"maxGameDepth",outputs:[{internalType:"uint256",name:"maxGameDepth_",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_challengeIndex",type:"uint256"},{internalType:"Claim",name:"_claim",type:"bytes32"},{internalType:"bool",name:"_isAttack",type:"bool"}],stateMutability:"payable",type:"function",name:"move"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"resolve",outputs:[{internalType:"enum GameStatus",name:"status_",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"resolveClaim"},{inputs:[],stateMutability:"view",type:"function",name:"resolvedAt",outputs:[{internalType:"Timestamp",name:"",type:"uint64"}]},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"resolvedSubgames",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"pure",type:"function",name:"rootClaim",outputs:[{internalType:"Claim",name:"rootClaim_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"splitDepth",outputs:[{internalType:"uint256",name:"splitDepth_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"startingBlockNumber_",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingOutputRoot",outputs:[{internalType:"Hash",name:"root",type:"bytes32"},{internalType:"uint256",name:"l2BlockNumber",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingRootHash",outputs:[{internalType:"Hash",name:"startingRootHash_",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"status",outputs:[{internalType:"enum GameStatus",name:"",type:"uint8"}]},{inputs:[{internalType:"uint256",name:"_claimIndex",type:"uint256"},{internalType:"bool",name:"_isAttack",type:"bool"},{internalType:"bytes",name:"_stateData",type:"bytes"},{internalType:"bytes",name:"_proof",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"step"},{inputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"subgames",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"vm",outputs:[{internalType:"contract IBigStepper",name:"vm_",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"weth",outputs:[{internalType:"contract IDelayedWETH",name:"weth_",type:"address"}]}],devdoc:{kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_clockExtension:"The clock extension to perform when the remaining duration is less than the extension.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxClockDuration:"The maximum amount of time that may accumulate on a team's chess clock.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #4",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameCreator()":{details:"`clones-with-immutable-args` argument #1",returns:{creator_:"The creator of the dispute game."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getChallengerDuration(uint256)":{params:{_claimIndex:"The index of the subgame root claim."},returns:{duration_:"The time elapsed on the potential challenger to `_claimIndex`'s chess clock."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"l1Head()":{details:"`clones-with-immutable-args` argument #3",returns:{l1Head_:"The parent hash of the L1 block when the dispute game was created."}},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #2",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},version:1},userdoc:{kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"anchorStateRegistry()":{notice:"Returns the anchor state registry contract."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"claims(bytes32)":{notice:"A mapping to allow for constant-time lookups of existing claims."},"clockExtension()":{notice:"Returns the clock extension constant."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameCreator()":{notice:"Getter for the creator of the dispute game."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameType()":{notice:"Getter for the game type."},"getChallengerDuration(uint256)":{notice:"Returns the amount of time elapsed on the potential challenger to `_claimIndex`'s chess clock. Maxes out at `MAX_CLOCK_DURATION`."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"Getter for the parent hash of the L1 block when the dispute game was created."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxClockDuration()":{notice:"Returns the max clock duration."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"resolvedSubgames(uint256)":{notice:"An interneal mapping of resolved subgames rooted at a claim index."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"subgames(uint256,uint256)":{notice:"A mapping of subgames rooted at a claim index to other claim indices in the subgame."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/dispute/FaultDisputeGame.sol":"FaultDisputeGame"},evmVersion:"london",libraries:{}},sources:{"lib/solady/src/utils/Clone.sol":{keccak256:"0xb408dc90294bacd394e59c83619e7dc76f45c83ad6f8e923eb07d3a5bab89f22",urls:["bzz-raw://c3abeb55ad062c4b29b5b5edab6167de36615c51621ef71ef3ddfd9f6735a93b","dweb:/ipfs/Qmboh4zX6ZgFVhetUhZGJ14kKXiaGeB9bW3Vseg2MLMGHW"],license:"MIT"},"lib/solady/src/utils/FixedPointMathLib.sol":{keccak256:"0x1fbad6f61bd3e5875e6b0060b67626cb1ccb9542c0da368a44eb3870c9a9e160",urls:["bzz-raw://5189fcd5ecff0f449475cf3183e9d6b509cd1221555aba6cd76c70b097cc8260","dweb:/ipfs/Qmbt34Kf5h2DeYzmqXtg3jprYxDCFdENtf41NgCdcARA7u"],license:"MIT"},"src/cannon/interfaces/IPreimageOracle.sol":{keccak256:"0x7bda0156571b468cf0e22321945655f2dacd7082f440f742aa4612b36b388a9f",urls:["bzz-raw://5ba53777c65987bc20faa7731476c779e7794a58bafb40191a25275a05e3f8af","dweb:/ipfs/QmbxQwE2BC9aabTruDqkd2CLojwq7G9i2rkWKv46Wucae1"],license:"MIT"},"src/dispute/FaultDisputeGame.sol":{keccak256:"0x0d90358576f7b5c14cfe338937ed4fea7d945f9a1b5e68111196310554b485b3",urls:["bzz-raw://5d6d4ce62af4902e17af3a70b6c4688be4d148498c841af9c8ead2c076794e6e","dweb:/ipfs/QmS2ebpEDxbhnUwXYnKEChS2zVpFvfdnJr3AbfDSQovBAN"],license:"MIT"},"src/dispute/interfaces/IAnchorStateRegistry.sol":{keccak256:"0x5fd05f2482d149668897e54f92d556a0c3512aa35b51ba800ef15d18dd490cb3",urls:["bzz-raw://689d621bc5c43a41d5232980f0eceecd7a3d8aa99438dfd9fed5f73d5ecd2887","dweb:/ipfs/QmQ5jw54TkdxLuLFti6JZown54rGQ3m3Q93pvnVU1j1HRj"],license:"MIT"},"src/dispute/interfaces/IBigStepper.sol":{keccak256:"0xc92ee3069677b903826c83d5b4e46e3be462f9ccf1d95e72a12b1052e3451f0a",urls:["bzz-raw://f93692bd3c8d9533ab8024ce2df6d880328826d1a92fdb9cf45301e2d0c65884","dweb:/ipfs/QmUcmbjTw9gnCUNasgmQjVbSgcCPKZ1FQyA31dH4k5Nc75"],license:"MIT"},"src/dispute/interfaces/IDelayedWETH.sol":{keccak256:"0x0bb035e9bbb411696841ea292eeed6d4463c3c3eee7d6c5d8e38a101e8a4ff04",urls:["bzz-raw://0477cf2c137392d35081f23bfd7f3565881767dcb1489a62e7e80b3c178cfce8","dweb:/ipfs/QmTjALjrHg5rvhjfCKPmXLTgkMNneECWaqoarunSoVS37G"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b",urls:["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IFaultDisputeGame.sol":{keccak256:"0xe2f3acb614ecffd6e0fee98443cf58fa95c1209f4ee43e723781733823da3437",urls:["bzz-raw://e4cffbd5b53e6459aad472249e629ae5f52c725b6f6828050df019a18ab50278","dweb:/ipfs/QmTC1GgzbwSyqd9fbJz2veqHnbKJfAK5tBr5jUZcC5N271"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/interfaces/IWETH.sol":{keccak256:"0x3858f6c0ce3ec7978b1ea1772484c25aec7c8c480ceaf18239f726fdd06fdd1f",urls:["bzz-raw://b72cf3bc31324409480e9ae6eb3e2654da8dff3cbf9f2136b19fe714293b3766","dweb:/ipfs/QmTW3JiFUo8pYhDbthPH8ZSp5f1nmdga4CSzo4YdEzppnM"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6",urls:["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f",urls:["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937",urls:["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c",urls:["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:97769,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"createdAt",offset:0,slot:"0",type:"t_userDefinedValueType(Timestamp)103261"},{astId:97773,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"resolvedAt",offset:8,slot:"0",type:"t_userDefinedValueType(Timestamp)103261"},{astId:97777,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"status",offset:16,slot:"0",type:"t_enum(GameStatus)103277"},{astId:97780,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"initialized",offset:17,slot:"0",type:"t_bool"},{astId:97785,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimData",offset:0,slot:"1",type:"t_array(t_struct(ClaimData)100523_storage)dyn_storage"},{astId:97790,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"credit",offset:0,slot:"2",type:"t_mapping(t_address,t_uint256)"},{astId:97796,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claims",offset:0,slot:"3",type:"t_mapping(t_userDefinedValueType(ClaimHash)103257,t_bool)"},{astId:97802,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"subgames",offset:0,slot:"4",type:"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)"},{astId:97807,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"resolvedSubgames",offset:0,slot:"5",type:"t_mapping(t_uint256,t_bool)"},{astId:97811,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"startingOutputRoot",offset:0,slot:"6",type:"t_struct(OutputRoot)103283_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(ClaimData)100523_storage)dyn_storage":{encoding:"dynamic_array",label:"struct IFaultDisputeGame.ClaimData[]",numberOfBytes:"32",base:"t_struct(ClaimData)100523_storage"},"t_array(t_uint256)dyn_storage":{encoding:"dynamic_array",label:"uint256[]",numberOfBytes:"32",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_enum(GameStatus)103277":{encoding:"inplace",label:"enum GameStatus",numberOfBytes:"1"},"t_mapping(t_address,t_uint256)":{encoding:"mapping",key:"t_address",label:"mapping(address => uint256)",numberOfBytes:"32",value:"t_uint256"},"t_mapping(t_uint256,t_array(t_uint256)dyn_storage)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => uint256[])",numberOfBytes:"32",value:"t_array(t_uint256)dyn_storage"},"t_mapping(t_uint256,t_bool)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_userDefinedValueType(ClaimHash)103257,t_bool)":{encoding:"mapping",key:"t_userDefinedValueType(ClaimHash)103257",label:"mapping(ClaimHash => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ClaimData)100523_storage":{encoding:"inplace",label:"struct IFaultDisputeGame.ClaimData",numberOfBytes:"160",members:[{astId:100507,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"parentIndex",offset:0,slot:"0",type:"t_uint32"},{astId:100509,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"counteredBy",offset:4,slot:"0",type:"t_address"},{astId:100511,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claimant",offset:0,slot:"1",type:"t_address"},{astId:100513,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"bond",offset:0,slot:"2",type:"t_uint128"},{astId:100516,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"claim",offset:0,slot:"3",type:"t_userDefinedValueType(Claim)103255"},{astId:100519,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"position",offset:0,slot:"4",type:"t_userDefinedValueType(Position)103269"},{astId:100522,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"clock",offset:16,slot:"4",type:"t_userDefinedValueType(Clock)103267"}]},"t_struct(OutputRoot)103283_storage":{encoding:"inplace",label:"struct OutputRoot",numberOfBytes:"64",members:[{astId:103280,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"root",offset:0,slot:"0",type:"t_userDefinedValueType(Hash)103253"},{astId:103282,contract:"src/dispute/FaultDisputeGame.sol:FaultDisputeGame",label:"l2BlockNumber",offset:0,slot:"1",type:"t_uint256"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},"t_userDefinedValueType(Claim)103255":{encoding:"inplace",label:"Claim",numberOfBytes:"32"},"t_userDefinedValueType(ClaimHash)103257":{encoding:"inplace",label:"ClaimHash",numberOfBytes:"32"},"t_userDefinedValueType(Clock)103267":{encoding:"inplace",label:"Clock",numberOfBytes:"16"},"t_userDefinedValueType(Hash)103253":{encoding:"inplace",label:"Hash",numberOfBytes:"32"},"t_userDefinedValueType(Position)103269":{encoding:"inplace",label:"Position",numberOfBytes:"16"},"t_userDefinedValueType(Timestamp)103261":{encoding:"inplace",label:"Timestamp",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"absolutePrestate()":{notice:"Returns the absolute prestate of the instruction trace."},"addLocalData(uint256,uint256,uint256)":{notice:"Posts the requested local data to the VM's `PreimageOralce`."},"anchorStateRegistry()":{notice:"Returns the anchor state registry contract."},"attack(uint256,bytes32)":{notice:"Attack a disagreed upon `Claim`."},"claimCredit(address)":{notice:"Claim the credit belonging to the recipient address."},"claimData(uint256)":{notice:"An append-only array of all claims made during the dispute game."},"claimDataLen()":{notice:"Returns the length of the `claimData` array."},"claims(bytes32)":{notice:"A mapping to allow for constant-time lookups of existing claims."},"clockExtension()":{notice:"Returns the clock extension constant."},"createdAt()":{notice:"The starting timestamp of the game"},"credit(address)":{notice:"Credited balances for winning participants."},"defend(uint256,bytes32)":{notice:"Defend an agreed upon `Claim`."},"extraData()":{notice:"Getter for the extra data."},"gameCreator()":{notice:"Getter for the creator of the dispute game."},"gameData()":{notice:"A compliant implementation of this interface should return the components of the game UUID's preimage provided in the cwia payload. The preimage of the UUID is constructed as `keccak256(gameType . rootClaim . extraData)` where `.` denotes concatenation."},"gameType()":{notice:"Getter for the game type."},"getChallengerDuration(uint256)":{notice:"Returns the amount of time elapsed on the potential challenger to `_claimIndex`'s chess clock. Maxes out at `MAX_CLOCK_DURATION`."},"getRequiredBond(uint128)":{notice:"Returns the required bond for a given move kind."},"initialize()":{notice:"Initializes the contract."},"l1Head()":{notice:"Getter for the parent hash of the L1 block when the dispute game was created."},"l2BlockNumber()":{notice:"The l2BlockNumber of the disputed output root in the `L2OutputOracle`."},"l2ChainId()":{notice:"Returns the chain ID of the L2 network this contract argues about."},"maxClockDuration()":{notice:"Returns the max clock duration."},"maxGameDepth()":{notice:"Returns the max game depth."},"move(uint256,bytes32,bool)":{notice:"Generic move function, used for both `attack` and `defend` moves."},"resolve()":{notice:"If all necessary information has been gathered, this function should mark the game status as either `CHALLENGER_WINS` or `DEFENDER_WINS` and return the status of the resolved game. It is at this stage that the bonds should be awarded to the necessary parties."},"resolveClaim(uint256)":{notice:"Resolves the subgame rooted at the given claim index."},"resolvedAt()":{notice:"The timestamp of the game's global resolution."},"resolvedSubgames(uint256)":{notice:"An interneal mapping of resolved subgames rooted at a claim index."},"rootClaim()":{notice:"Getter for the root claim."},"splitDepth()":{notice:"Returns the split depth."},"startingBlockNumber()":{notice:"Only the starting block number of the game."},"startingOutputRoot()":{notice:"The latest finalized output root, serving as the anchor for output bisection."},"startingRootHash()":{notice:"Only the starting output root of the game."},"status()":{notice:"Returns the current status of the game."},"step(uint256,bool,bytes,bytes)":{notice:"Perform an instruction step via an on-chain fault proof processor."},"subgames(uint256,uint256)":{notice:"A mapping of subgames rooted at a claim index to other claim indices in the subgame."},"version()":{notice:"Semantic version."},"vm()":{notice:"Returns the address of the VM."},"weth()":{notice:"Returns the WETH contract for holding ETH."}},events:{"Move(uint256,bytes32,address)":{notice:"Emitted when a new claim is added to the DAG by `claimant`"},"Resolved(uint8)":{notice:"Emitted when the game is resolved."}},errors:{"AlreadyInitialized()":[{notice:"Thrown when a dispute game has already been initialized."}],"AnchorRootNotFound()":[{notice:"Thrown when an anchor root is not found for a given game type."}],"BondTransferFailed()":[{notice:"Thrown when the transfer of credit to a recipient account reverts."}],"CannotDefendRootClaim()":[{notice:"Thrown when a defense against the root claim is attempted."}],"ClaimAboveSplit()":[{notice:"Thrown when a parent output root is attempted to be found on a claim that is in the output root portion of the tree."}],"ClaimAlreadyExists()":[{notice:"Thrown when a claim is attempting to be made that already exists."}],"ClaimAlreadyResolved()":[{notice:"Thrown when resolving a claim that has already been resolved."}],"ClockNotExpired()":[{notice:"Thrown when the game is attempted to be resolved too early."}],"ClockTimeExceeded()":[{notice:"Thrown when a move is attempted to be made after the clock has timed out."}],"DuplicateStep()":[{notice:"Thrown when trying to step against a claim for a second time, after it has already been countered with an instruction step."}],"GameDepthExceeded()":[{notice:"Thrown when a move is attempted to be made at or greater than the max depth of the game."}],"GameNotInProgress()":[{notice:"Thrown when an action that requires the game to be `IN_PROGRESS` is invoked when the game is not in progress."}],"IncorrectBondAmount()":[{notice:"Thrown when a supplied bond is not equal to the required bond amount to cover the cost of the interaction."}],"InvalidClockExtension()":[{notice:"Thrown on deployment if the max clock duration is less than or equal to the clock extension."}],"InvalidLocalIdent()":[{notice:"Thrown when an invalid local identifier is passed to the `addLocalData` function."}],"InvalidParent()":[{notice:"Thrown when a step is attempted above the maximum game depth."}],"InvalidPrestate()":[{notice:"Thrown when an invalid prestate is supplied to `step`."}],"InvalidSplitDepth()":[{notice:"Thrown on deployment if the split depth is greater than or equal to the max depth of the game."}],"MaxDepthTooLarge()":[{notice:"Thrown on deployment if the max depth is greater than `LibPosition.`"}],"NoCreditToClaim()":[{notice:"Thrown when a credit claim is attempted for a value of 0."}],"OutOfOrderResolution()":[{notice:"Thrown when resolving claims out of order."}],"UnexpectedRootClaim(bytes32)":[{notice:"Thrown when the root claim has an unexpected VM status. Some games can only start with a root-claim with a specific status."}],"ValidStep()":[{notice:"Thrown when a step is made that computes the expected post state correctly."}]},notice:"An implementation of the `IFaultDisputeGame` interface."},devdoc:{version:1,kind:"dev",methods:{"addLocalData(uint256,uint256,uint256)":{params:{_execLeafIdx:"The index of the leaf claim in an execution subgame that requires the local data for a step.",_ident:"The local identifier of the data to post.",_partOffset:"The offset of the data to post."}},"attack(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative attack position.",_parentIndex:"Index of the `Claim` to attack in the `claimData` array."}},"claimCredit(address)":{params:{_recipient:"The owner and recipient of the credit."}},constructor:{params:{_absolutePrestate:"The absolute prestate of the instruction trace.",_anchorStateRegistry:"The contract that stores the anchor state for each game type.",_clockExtension:"The clock extension to perform when the remaining duration is less than the extension.",_gameType:"The type ID of the game.",_l2ChainId:"Chain ID of the L2 network this contract argues about.",_maxClockDuration:"The maximum amount of time that may accumulate on a team's chess clock.",_maxGameDepth:"The maximum depth of bisection.",_splitDepth:"The final depth of the output bisection portion of the game.",_vm:"An onchain VM that performs single instruction steps on an FPP trace.",_weth:"WETH contract for holding ETH."}},"defend(uint256,bytes32)":{params:{_claim:"The `Claim` at the relative defense position.",_parentIndex:"Index of the claim to defend in the `claimData` array."}},"extraData()":{details:"`clones-with-immutable-args` argument #4",returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator."}},"gameCreator()":{details:"`clones-with-immutable-args` argument #1",returns:{creator_:"The creator of the dispute game."}},"gameData()":{returns:{extraData_:"Any extra data supplied to the dispute game contract by the creator.",gameType_:"The type of proof system being used.",rootClaim_:"The root claim of the DisputeGame."}},"gameType()":{details:"The reference impl should be entirely different depending on the type (fault, validity) i.e. The game type should indicate the security model.",returns:{gameType_:"The type of proof system being used."}},"getChallengerDuration(uint256)":{params:{_claimIndex:"The index of the subgame root claim."},returns:{duration_:"The time elapsed on the potential challenger to `_claimIndex`'s chess clock."}},"getRequiredBond(uint128)":{params:{_position:"The position of the bonded interaction."},returns:{requiredBond_:"The required ETH bond for the given move, in wei."}},"initialize()":{details:"This function may only be called once."},"l1Head()":{details:"`clones-with-immutable-args` argument #3",returns:{l1Head_:"The parent hash of the L1 block when the dispute game was created."}},"move(uint256,bytes32,bool)":{params:{_challengeIndex:"The index of the claim being moved against.",_claim:"The claim at the next logical position in the game.",_isAttack:"Whether or not the move is an attack or defense."}},"resolve()":{details:"May only be called if the `status` is `IN_PROGRESS`.",returns:{status_:"The status of the game after resolution."}},"resolveClaim(uint256)":{details:"This function must be called bottom-up in the DAG A subgame is a tree of claims that has a maximum depth of 1. A subgame root claims is valid if, and only if, all of its child claims are invalid. At the deepest level in the DAG, a claim is invalid if there's a successful step against it.",params:{_claimIndex:"The index of the subgame root claim to resolve."}},"rootClaim()":{details:"`clones-with-immutable-args` argument #2",returns:{rootClaim_:"The root claim of the DisputeGame."}},"step(uint256,bool,bytes,bytes)":{details:"This function should point to a fault proof processor in order to execute a step in the fault proof program on-chain. The interface of the fault proof processor contract should adhere to the `IBigStepper` interface.",params:{_claimIndex:"The index of the challenged claim within `claimData`.",_isAttack:"Whether or not the step is an attack or a defense.",_proof:"Proof to access memory nodes in the VM's merkle state tree.",_stateData:"The stateData of the step is the preimage of the claim at the given prestate, which is at `_stateIndex` if the move is an attack and `_claimIndex` if the move is a defense. If the step is an attack on the first instruction, it is the absolute prestate of the fault proof VM."}}},errors:{"UnexpectedRootClaim(bytes32)":[{params:{rootClaim:"is the claim that was unexpected."}}]},title:"FaultDisputeGame"},ast:{absolutePath:"src/dispute/FaultDisputeGame.sol",id:99928,exportedSymbols:{AlreadyInitialized:[103120],AnchorRootNotFound:[103192],BadAuth:[103195],BadExtraData:[103132],BondAmount:[103259],BondTransferFailed:[103129],CannotDefendRootClaim:[103135],Claim:[103255],ClaimAboveSplit:[103177],ClaimAlreadyExists:[103138],ClaimAlreadyResolved:[103174],ClaimHash:[103257],Clock:[103267],ClockNotExpired:[103150],ClockTimeExceeded:[103147],Clone:[60963],DuplicateStep:[103189],Duration:[103263],FaultDisputeGame:[99927],FixedPointMathLib:[62288],GameAlreadyExists:[103111],GameDepthExceeded:[103153],GameId:[103265],GameNotInProgress:[103144],GameStatus:[103277],GameType:[103271],GameTypes:[103317],Hash:[103253],IAnchorStateRegistry:[100146],IBigStepper:[100171],IDelayedWETH:[100239],IDisputeGame:[100327],IFaultDisputeGame:[100608],IInitializable:[100616],IPreimageOracle:[96782],ISemver:[109417],IncorrectBondAmount:[103123],InvalidClaim:[103141],InvalidClockExtension:[103183],InvalidLocalIdent:[103168],InvalidParent:[103156],InvalidPrestate:[103159],InvalidSplitDepth:[103180],L1HeadTooOld:[103165],LibClaim:[101086],LibClock:[101073],LibDuration:[101099],LibGameId:[100778],LibGameType:[101151],LibHash:[101112],LibHashing:[100800],LibPosition:[101018],LibTimestamp:[101125],LibVMStatus:[101138],LocalPreimageKey:[103373],MaxDepthTooLarge:[103186],NoCreditToClaim:[103126],NoImplementation:[103105],OutOfOrderResolution:[103171],OutputRoot:[103283],Position:[103269],Timestamp:[103261],Types:[104349],UnexpectedRootClaim:[103117],VMStatus:[103273],VMStatuses:[103351],ValidStep:[103162]},nodeType:"SourceUnit",src:"32:44792:164",nodes:[{id:97684,nodeType:"PragmaDirective",src:"32:23:164",nodes:[],literals:["solidity","0.8",".15"]},{id:97686,nodeType:"ImportDirective",src:"57:72:164",nodes:[],absolutePath:"lib/solady/src/utils/FixedPointMathLib.sol",file:"@solady/utils/FixedPointMathLib.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:62289,symbolAliases:[{foreign:{id:97685,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"66:17:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97688,nodeType:"ImportDirective",src:"131:71:164",nodes:[],absolutePath:"src/dispute/interfaces/IDelayedWETH.sol",file:"src/dispute/interfaces/IDelayedWETH.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100240,symbolAliases:[{foreign:{id:97687,name:"IDelayedWETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100239,src:"140:12:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97690,nodeType:"ImportDirective",src:"203:71:164",nodes:[],absolutePath:"src/dispute/interfaces/IDisputeGame.sol",file:"src/dispute/interfaces/IDisputeGame.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100328,symbolAliases:[{foreign:{id:97689,name:"IDisputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100327,src:"212:12:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97692,nodeType:"ImportDirective",src:"275:81:164",nodes:[],absolutePath:"src/dispute/interfaces/IFaultDisputeGame.sol",file:"src/dispute/interfaces/IFaultDisputeGame.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100609,symbolAliases:[{foreign:{id:97691,name:"IFaultDisputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100608,src:"284:17:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97694,nodeType:"ImportDirective",src:"357:75:164",nodes:[],absolutePath:"src/dispute/interfaces/IInitializable.sol",file:"src/dispute/interfaces/IInitializable.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100617,symbolAliases:[{foreign:{id:97693,name:"IInitializable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100616,src:"366:14:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97697,nodeType:"ImportDirective",src:"433:86:164",nodes:[],absolutePath:"src/dispute/interfaces/IBigStepper.sol",file:"src/dispute/interfaces/IBigStepper.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100172,symbolAliases:[{foreign:{id:97695,name:"IBigStepper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100171,src:"442:11:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"},{foreign:{id:97696,name:"IPreimageOracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:96782,src:"455:15:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97699,nodeType:"ImportDirective",src:"520:87:164",nodes:[],absolutePath:"src/dispute/interfaces/IAnchorStateRegistry.sol",file:"src/dispute/interfaces/IAnchorStateRegistry.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:100147,symbolAliases:[{foreign:{id:97698,name:"IAnchorStateRegistry",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100146,src:"529:20:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97701,nodeType:"ImportDirective",src:"609:48:164",nodes:[],absolutePath:"lib/solady/src/utils/Clone.sol",file:"@solady/utils/Clone.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:60964,symbolAliases:[{foreign:{id:97700,name:"Clone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:60963,src:"618:5:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97703,nodeType:"ImportDirective",src:"658:48:164",nodes:[],absolutePath:"src/libraries/Types.sol",file:"src/libraries/Types.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:104350,symbolAliases:[{foreign:{id:97702,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"667:5:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97705,nodeType:"ImportDirective",src:"707:52:164",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:109418,symbolAliases:[{foreign:{id:97704,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"716:7:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97707,nodeType:"ImportDirective",src:"760:54:164",nodes:[],absolutePath:"src/dispute/lib/LibUDT.sol",file:"src/dispute/lib/LibUDT.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:101152,symbolAliases:[{foreign:{id:97706,name:"LibClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:101073,src:"769:8:164",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:97708,nodeType:"ImportDirective",src:"816:40:164",nodes:[],absolutePath:"src/libraries/DisputeTypes.sol",file:"src/libraries/DisputeTypes.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:103374,symbolAliases:[],unitAlias:""},{id:97709,nodeType:"ImportDirective",src:"857:41:164",nodes:[],absolutePath:"src/libraries/DisputeErrors.sol",file:"src/libraries/DisputeErrors.sol",nameLocation:"-1:-1:-1",scope:99928,sourceUnit:103196,symbolAliases:[],unitAlias:""},{id:99927,nodeType:"ContractDefinition",src:"996:43827:164",nodes:[{id:97720,nodeType:"VariableDeclaration",src:"1444:42:164",nodes:[],constant:!1,documentation:{id:97717,nodeType:"StructuredDocumentation",src:"1273:166:164",text:`@notice The absolute prestate of the instruction trace. This is a constant that is defined + by the program that is being used to execute the trace.`},mutability:"immutable",name:"ABSOLUTE_PRESTATE",nameLocation:"1469:17:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97719,nodeType:"UserDefinedTypeName",pathNode:{id:97718,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"1444:5:164"},referencedDeclaration:103255,src:"1444:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{id:97723,nodeType:"VariableDeclaration",src:"1536:41:164",nodes:[],constant:!1,documentation:{id:97721,nodeType:"StructuredDocumentation",src:"1493:38:164",text:"@notice The max depth of the game."},mutability:"immutable",name:"MAX_GAME_DEPTH",nameLocation:"1563:14:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97722,name:"uint256",nodeType:"ElementaryTypeName",src:"1536:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{id:97726,nodeType:"VariableDeclaration",src:"1750:38:164",nodes:[],constant:!1,documentation:{id:97724,nodeType:"StructuredDocumentation",src:"1584:161:164",text:`@notice The max depth of the output bisection portion of the position tree. Immediately beneath + this depth, execution trace bisection begins.`},mutability:"immutable",name:"SPLIT_DEPTH",nameLocation:"1777:11:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97725,name:"uint256",nodeType:"ElementaryTypeName",src:"1750:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{id:97730,nodeType:"VariableDeclaration",src:"1911:46:164",nodes:[],constant:!1,documentation:{id:97727,nodeType:"StructuredDocumentation",src:"1795:111:164",text:"@notice The maximum duration that may accumulate on a team's chess clock before they may no longer respond."},mutability:"immutable",name:"MAX_CLOCK_DURATION",nameLocation:"1939:18:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:97729,nodeType:"UserDefinedTypeName",pathNode:{id:97728,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"1911:8:164"},referencedDeclaration:103263,src:"1911:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"},{id:97734,nodeType:"VariableDeclaration",src:"2065:33:164",nodes:[],constant:!1,documentation:{id:97731,nodeType:"StructuredDocumentation",src:"1964:96:164",text:"@notice An onchain VM that performs single instruction steps on a fault proof program trace."},mutability:"immutable",name:"VM",nameLocation:"2096:2:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"},typeName:{id:97733,nodeType:"UserDefinedTypeName",pathNode:{id:97732,name:"IBigStepper",nodeType:"IdentifierPath",referencedDeclaration:100171,src:"2065:11:164"},referencedDeclaration:100171,src:"2065:11:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},visibility:"internal"},{id:97738,nodeType:"VariableDeclaration",src:"2139:37:164",nodes:[],constant:!1,documentation:{id:97735,nodeType:"StructuredDocumentation",src:"2105:29:164",text:"@notice The game type ID."},mutability:"immutable",name:"GAME_TYPE",nameLocation:"2167:9:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97737,nodeType:"UserDefinedTypeName",pathNode:{id:97736,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"2139:8:164"},referencedDeclaration:103271,src:"2139:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{id:97742,nodeType:"VariableDeclaration",src:"2230:36:164",nodes:[],constant:!1,documentation:{id:97739,nodeType:"StructuredDocumentation",src:"2183:42:164",text:"@notice WETH contract for holding ETH."},mutability:"immutable",name:"WETH",nameLocation:"2262:4:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"},typeName:{id:97741,nodeType:"UserDefinedTypeName",pathNode:{id:97740,name:"IDelayedWETH",nodeType:"IdentifierPath",referencedDeclaration:100239,src:"2230:12:164"},referencedDeclaration:100239,src:"2230:12:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},visibility:"internal"},{id:97746,nodeType:"VariableDeclaration",src:"2316:61:164",nodes:[],constant:!1,documentation:{id:97743,nodeType:"StructuredDocumentation",src:"2273:38:164",text:"@notice The anchor state registry."},mutability:"immutable",name:"ANCHOR_STATE_REGISTRY",nameLocation:"2356:21:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"},typeName:{id:97745,nodeType:"UserDefinedTypeName",pathNode:{id:97744,name:"IAnchorStateRegistry",nodeType:"IdentifierPath",referencedDeclaration:100146,src:"2316:20:164"},referencedDeclaration:100146,src:"2316:20:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},visibility:"internal"},{id:97749,nodeType:"VariableDeclaration",src:"2459:38:164",nodes:[],constant:!1,documentation:{id:97747,nodeType:"StructuredDocumentation",src:"2384:70:164",text:"@notice The chain ID of the L2 network this contract argues about."},mutability:"immutable",name:"L2_CHAIN_ID",nameLocation:"2486:11:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97748,name:"uint256",nodeType:"ElementaryTypeName",src:"2459:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{id:97753,nodeType:"VariableDeclaration",src:"2666:43:164",nodes:[],constant:!1,documentation:{id:97750,nodeType:"StructuredDocumentation",src:"2504:157:164",text:`@notice The duration of the clock extension. Will be doubled if the grandchild is the root claim of an execution + trace bisection subgame.`},mutability:"immutable",name:"CLOCK_EXTENSION",nameLocation:"2694:15:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:97752,nodeType:"UserDefinedTypeName",pathNode:{id:97751,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"2666:8:164"},referencedDeclaration:103263,src:"2666:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"},{id:97761,nodeType:"VariableDeclaration",src:"2788:59:164",nodes:[],constant:!0,documentation:{id:97754,nodeType:"StructuredDocumentation",src:"2716:67:164",text:"@notice The global root claim's position is always at gindex 1."},mutability:"constant",name:"ROOT_POSITION",nameLocation:"2815:13:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:97756,nodeType:"UserDefinedTypeName",pathNode:{id:97755,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"2788:8:164"},referencedDeclaration:103269,src:"2788:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},value:{arguments:[{hexValue:"31",id:97759,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2845:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"}],expression:{id:97757,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"2831:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:97758,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"2831:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:97760,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2831:16:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{id:97765,nodeType:"VariableDeclaration",src:"2918:41:164",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:97762,nodeType:"StructuredDocumentation",src:"2854:59:164",text:`@notice Semantic version. + @custom:semver 0.17.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2941:7:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:97763,name:"string",nodeType:"ElementaryTypeName",src:"2918:6:164",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"302e31372e30",id:97764,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2951:8:164",typeDescriptions:{typeIdentifier:"t_stringliteral_512d9a572f9735444291a88a6ab37093045e89287be8ab073814769d70f29bc8",typeString:'literal_string "0.17.0"'},value:"0.17.0"},visibility:"public"},{id:97769,nodeType:"VariableDeclaration",src:"3017:26:164",nodes:[],baseFunctions:[100260],constant:!1,documentation:{id:97766,nodeType:"StructuredDocumentation",src:"2966:46:164",text:"@notice The starting timestamp of the game"},functionSelector:"cf09e0d0",mutability:"mutable",name:"createdAt",nameLocation:"3034:9:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},typeName:{id:97768,nodeType:"UserDefinedTypeName",pathNode:{id:97767,name:"Timestamp",nodeType:"IdentifierPath",referencedDeclaration:103261,src:"3017:9:164"},referencedDeclaration:103261,src:"3017:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},visibility:"public"},{id:97773,nodeType:"VariableDeclaration",src:"3113:27:164",nodes:[],baseFunctions:[100267],constant:!1,documentation:{id:97770,nodeType:"StructuredDocumentation",src:"3050:58:164",text:"@notice The timestamp of the game's global resolution."},functionSelector:"19effeb4",mutability:"mutable",name:"resolvedAt",nameLocation:"3130:10:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"},typeName:{id:97772,nodeType:"UserDefinedTypeName",pathNode:{id:97771,name:"Timestamp",nodeType:"IdentifierPath",referencedDeclaration:103261,src:"3113:9:164"},referencedDeclaration:103261,src:"3113:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},visibility:"public"},{id:97777,nodeType:"VariableDeclaration",src:"3180:24:164",nodes:[],baseFunctions:[100274],constant:!1,documentation:{id:97774,nodeType:"StructuredDocumentation",src:"3147:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"200d2ed2",mutability:"mutable",name:"status",nameLocation:"3198:6:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},typeName:{id:97776,nodeType:"UserDefinedTypeName",pathNode:{id:97775,name:"GameStatus",nodeType:"IdentifierPath",referencedDeclaration:103277,src:"3180:10:164"},referencedDeclaration:103277,src:"3180:10:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},visibility:"public"},{id:97780,nodeType:"VariableDeclaration",src:"3292:25:164",nodes:[],constant:!1,documentation:{id:97778,nodeType:"StructuredDocumentation",src:"3211:76:164",text:"@notice Flag for the `initialize` function to prevent re-initialization."},mutability:"mutable",name:"initialized",nameLocation:"3306:11:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:97779,name:"bool",nodeType:"ElementaryTypeName",src:"3292:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},{id:97785,nodeType:"VariableDeclaration",src:"3405:28:164",nodes:[],constant:!1,documentation:{id:97781,nodeType:"StructuredDocumentation",src:"3324:76:164",text:"@notice An append-only array of all claims made during the dispute game."},functionSelector:"c6f0308c",mutability:"mutable",name:"claimData",nameLocation:"3424:9:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData[]"},typeName:{baseType:{id:97783,nodeType:"UserDefinedTypeName",pathNode:{id:97782,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"3405:9:164"},referencedDeclaration:100523,src:"3405:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},id:97784,nodeType:"ArrayTypeName",src:"3405:11:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData[]"}},visibility:"public"},{id:97790,nodeType:"VariableDeclaration",src:"3500:41:164",nodes:[],constant:!1,documentation:{id:97786,nodeType:"StructuredDocumentation",src:"3440:55:164",text:"@notice Credited balances for winning participants."},functionSelector:"d5d44d80",mutability:"mutable",name:"credit",nameLocation:"3535:6:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_uint256_$",typeString:"mapping(address => uint256)"},typeName:{id:97789,keyType:{id:97787,name:"address",nodeType:"ElementaryTypeName",src:"3508:7:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"3500:27:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_uint256_$",typeString:"mapping(address => uint256)"},valueType:{id:97788,name:"uint256",nodeType:"ElementaryTypeName",src:"3519:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}},visibility:"public"},{id:97796,nodeType:"VariableDeclaration",src:"3629:40:164",nodes:[],constant:!1,documentation:{id:97791,nodeType:"StructuredDocumentation",src:"3548:76:164",text:"@notice A mapping to allow for constant-time lookups of existing claims."},functionSelector:"eff0f592",mutability:"mutable",name:"claims",nameLocation:"3663:6:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_ClaimHash_$103257_$_t_bool_$",typeString:"mapping(ClaimHash => bool)"},typeName:{id:97795,keyType:{id:97793,nodeType:"UserDefinedTypeName",pathNode:{id:97792,name:"ClaimHash",nodeType:"IdentifierPath",referencedDeclaration:103257,src:"3637:9:164"},referencedDeclaration:103257,src:"3637:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"}},nodeType:"Mapping",src:"3629:26:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_ClaimHash_$103257_$_t_bool_$",typeString:"mapping(ClaimHash => bool)"},valueType:{id:97794,name:"bool",nodeType:"ElementaryTypeName",src:"3650:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:97802,nodeType:"VariableDeclaration",src:"3777:45:164",nodes:[],constant:!1,documentation:{id:97797,nodeType:"StructuredDocumentation",src:"3676:96:164",text:"@notice A mapping of subgames rooted at a claim index to other claim indices in the subgame."},functionSelector:"2ad69aeb",mutability:"mutable",name:"subgames",nameLocation:"3814:8:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$",typeString:"mapping(uint256 => uint256[])"},typeName:{id:97801,keyType:{id:97798,name:"uint256",nodeType:"ElementaryTypeName",src:"3785:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Mapping",src:"3777:29:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$",typeString:"mapping(uint256 => uint256[])"},valueType:{baseType:{id:97799,name:"uint256",nodeType:"ElementaryTypeName",src:"3796:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97800,nodeType:"ArrayTypeName",src:"3796:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage_ptr",typeString:"uint256[]"}}},visibility:"public"},{id:97807,nodeType:"VariableDeclaration",src:"3912:48:164",nodes:[],constant:!1,documentation:{id:97803,nodeType:"StructuredDocumentation",src:"3829:78:164",text:"@notice An interneal mapping of resolved subgames rooted at a claim index."},functionSelector:"fe2bbeb2",mutability:"mutable",name:"resolvedSubgames",nameLocation:"3944:16:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"},typeName:{id:97806,keyType:{id:97804,name:"uint256",nodeType:"ElementaryTypeName",src:"3920:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Mapping",src:"3912:24:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"},valueType:{id:97805,name:"bool",nodeType:"ElementaryTypeName",src:"3931:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:97811,nodeType:"VariableDeclaration",src:"4061:36:164",nodes:[],baseFunctions:[100594],constant:!1,documentation:{id:97808,nodeType:"StructuredDocumentation",src:"3967:89:164",text:"@notice The latest finalized output root, serving as the anchor for output bisection."},functionSelector:"57da950e",mutability:"mutable",name:"startingOutputRoot",nameLocation:"4079:18:164",scope:99927,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot"},typeName:{id:97810,nodeType:"UserDefinedTypeName",pathNode:{id:97809,name:"OutputRoot",nodeType:"IdentifierPath",referencedDeclaration:103283,src:"4061:10:164"},referencedDeclaration:103283,src:"4061:10:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage_ptr",typeString:"struct OutputRoot"}},visibility:"public"},{id:97911,nodeType:"FunctionDefinition",src:"4927:1230:164",nodes:[],body:{id:97910,nodeType:"Block",src:"5268:889:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97847,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97842,name:"_maxGameDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97820,src:"5375:13:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:97846,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:97843,name:"LibPosition",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:101018,src:"5391:11:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LibPosition_$101018_$",typeString:"type(library LibPosition)"}},id:97844,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"MAX_POSITION_BITLEN",nodeType:"MemberAccess",referencedDeclaration:100809,src:"5391:31:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:97845,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"5425:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"5391:35:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"5375:51:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97851,nodeType:"IfStatement",src:"5371:82:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97848,name:"MaxDepthTooLarge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103186,src:"5435:16:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97849,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5435:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97850,nodeType:"RevertStatement",src:"5428:25:164"}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97854,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:97852,name:"_splitDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97822,src:"5549:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{id:97853,name:"_maxGameDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97820,src:"5564:13:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5549:28:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97858,nodeType:"IfStatement",src:"5545:60:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97855,name:"InvalidSplitDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103180,src:"5586:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97856,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5586:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97857,nodeType:"RevertStatement",src:"5579:26:164"}},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:97865,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:97859,name:"_clockExtension",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97825,src:"5698:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:97860,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"5698:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:97861,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5698:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:">",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:97862,name:"_maxClockDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97828,src:"5722:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:97863,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"5722:21:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:97864,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5722:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"5698:47:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97869,nodeType:"IfStatement",src:"5694:83:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97866,name:"InvalidClockExtension",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103183,src:"5754:21:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97867,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5754:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97868,nodeType:"RevertStatement",src:"5747:30:164"}},{expression:{id:97872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97870,name:"GAME_TYPE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97738,src:"5788:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97871,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97815,src:"5800:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},src:"5788:21:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:97873,nodeType:"ExpressionStatement",src:"5788:21:164"},{expression:{id:97876,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97874,name:"ABSOLUTE_PRESTATE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97720,src:"5819:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97875,name:"_absolutePrestate",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97818,src:"5839:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"5819:37:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:97877,nodeType:"ExpressionStatement",src:"5819:37:164"},{expression:{id:97880,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97878,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"5866:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97879,name:"_maxGameDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97820,src:"5883:13:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5866:30:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97881,nodeType:"ExpressionStatement",src:"5866:30:164"},{expression:{id:97884,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97882,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"5906:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97883,name:"_splitDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97822,src:"5920:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5906:25:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97885,nodeType:"ExpressionStatement",src:"5906:25:164"},{expression:{id:97888,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97886,name:"CLOCK_EXTENSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97753,src:"5941:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97887,name:"_clockExtension",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97825,src:"5959:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"5941:33:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:97889,nodeType:"ExpressionStatement",src:"5941:33:164"},{expression:{id:97892,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97890,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"5984:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97891,name:"_maxClockDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97828,src:"6005:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"5984:38:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:97893,nodeType:"ExpressionStatement",src:"5984:38:164"},{expression:{id:97896,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97894,name:"VM",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97734,src:"6032:2:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97895,name:"_vm",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97831,src:"6037:3:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},src:"6032:8:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},id:97897,nodeType:"ExpressionStatement",src:"6032:8:164"},{expression:{id:97900,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97898,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"6050:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97899,name:"_weth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97834,src:"6057:5:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},src:"6050:12:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:97901,nodeType:"ExpressionStatement",src:"6050:12:164"},{expression:{id:97904,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97902,name:"ANCHOR_STATE_REGISTRY",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97746,src:"6072:21:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97903,name:"_anchorStateRegistry",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97837,src:"6096:20:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},src:"6072:44:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},id:97905,nodeType:"ExpressionStatement",src:"6072:44:164"},{expression:{id:97908,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97906,name:"L2_CHAIN_ID",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97749,src:"6126:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:97907,name:"_l2ChainId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97839,src:"6140:10:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6126:24:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:97909,nodeType:"ExpressionStatement",src:"6126:24:164"}]},documentation:{id:97812,nodeType:"StructuredDocumentation",src:"4104:818:164",text:`@param _gameType The type ID of the game. + @param _absolutePrestate The absolute prestate of the instruction trace. + @param _maxGameDepth The maximum depth of bisection. + @param _splitDepth The final depth of the output bisection portion of the game. + @param _clockExtension The clock extension to perform when the remaining duration is less than the extension. + @param _maxClockDuration The maximum amount of time that may accumulate on a team's chess clock. + @param _vm An onchain VM that performs single instruction steps on an FPP trace. + @param _weth WETH contract for holding ETH. + @param _anchorStateRegistry The contract that stores the anchor state for each game type. + @param _l2ChainId Chain ID of the L2 network this contract argues about.`},implemented:!0,kind:"constructor",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:97840,nodeType:"ParameterList",parameters:[{constant:!1,id:97815,mutability:"mutable",name:"_gameType",nameLocation:"4957:9:164",nodeType:"VariableDeclaration",scope:97911,src:"4948:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:97814,nodeType:"UserDefinedTypeName",pathNode:{id:97813,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"4948:8:164"},referencedDeclaration:103271,src:"4948:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:97818,mutability:"mutable",name:"_absolutePrestate",nameLocation:"4982:17:164",nodeType:"VariableDeclaration",scope:97911,src:"4976:23:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:97817,nodeType:"UserDefinedTypeName",pathNode:{id:97816,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"4976:5:164"},referencedDeclaration:103255,src:"4976:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:97820,mutability:"mutable",name:"_maxGameDepth",nameLocation:"5017:13:164",nodeType:"VariableDeclaration",scope:97911,src:"5009:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97819,name:"uint256",nodeType:"ElementaryTypeName",src:"5009:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:97822,mutability:"mutable",name:"_splitDepth",nameLocation:"5048:11:164",nodeType:"VariableDeclaration",scope:97911,src:"5040:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97821,name:"uint256",nodeType:"ElementaryTypeName",src:"5040:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:97825,mutability:"mutable",name:"_clockExtension",nameLocation:"5078:15:164",nodeType:"VariableDeclaration",scope:97911,src:"5069:24:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:97824,nodeType:"UserDefinedTypeName",pathNode:{id:97823,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"5069:8:164"},referencedDeclaration:103263,src:"5069:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"},{constant:!1,id:97828,mutability:"mutable",name:"_maxClockDuration",nameLocation:"5112:17:164",nodeType:"VariableDeclaration",scope:97911,src:"5103:26:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:97827,nodeType:"UserDefinedTypeName",pathNode:{id:97826,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"5103:8:164"},referencedDeclaration:103263,src:"5103:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"},{constant:!1,id:97831,mutability:"mutable",name:"_vm",nameLocation:"5151:3:164",nodeType:"VariableDeclaration",scope:97911,src:"5139:15:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"},typeName:{id:97830,nodeType:"UserDefinedTypeName",pathNode:{id:97829,name:"IBigStepper",nodeType:"IdentifierPath",referencedDeclaration:100171,src:"5139:11:164"},referencedDeclaration:100171,src:"5139:11:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},visibility:"internal"},{constant:!1,id:97834,mutability:"mutable",name:"_weth",nameLocation:"5177:5:164",nodeType:"VariableDeclaration",scope:97911,src:"5164:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"},typeName:{id:97833,nodeType:"UserDefinedTypeName",pathNode:{id:97832,name:"IDelayedWETH",nodeType:"IdentifierPath",referencedDeclaration:100239,src:"5164:12:164"},referencedDeclaration:100239,src:"5164:12:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},visibility:"internal"},{constant:!1,id:97837,mutability:"mutable",name:"_anchorStateRegistry",nameLocation:"5213:20:164",nodeType:"VariableDeclaration",scope:97911,src:"5192:41:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"},typeName:{id:97836,nodeType:"UserDefinedTypeName",pathNode:{id:97835,name:"IAnchorStateRegistry",nodeType:"IdentifierPath",referencedDeclaration:100146,src:"5192:20:164"},referencedDeclaration:100146,src:"5192:20:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},visibility:"internal"},{constant:!1,id:97839,mutability:"mutable",name:"_l2ChainId",nameLocation:"5251:10:164",nodeType:"VariableDeclaration",scope:97911,src:"5243:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97838,name:"uint256",nodeType:"ElementaryTypeName",src:"5243:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"4938:329:164"},returnParameters:{id:97841,nodeType:"ParameterList",parameters:[],src:"5268:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:98025,nodeType:"FunctionDefinition",src:"6198:2903:164",nodes:[],body:{id:98024,nodeType:"Block",src:"6243:2858:164",nodes:[],statements:[{condition:{id:97915,name:"initialized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97780,src:"6888:11:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97919,nodeType:"IfStatement",src:"6884:44:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97916,name:"AlreadyInitialized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103120,src:"6908:18:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97917,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6908:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97918,nodeType:"RevertStatement",src:"6901:27:164"}},{assignments:[97922,97924],declarations:[{constant:!1,id:97922,mutability:"mutable",name:"root",nameLocation:"6985:4:164",nodeType:"VariableDeclaration",scope:98024,src:"6980:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:97921,nodeType:"UserDefinedTypeName",pathNode:{id:97920,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"6980:4:164"},referencedDeclaration:103253,src:"6980:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"},{constant:!1,id:97924,mutability:"mutable",name:"rootBlockNumber",nameLocation:"6999:15:164",nodeType:"VariableDeclaration",scope:98024,src:"6991:23:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:97923,name:"uint256",nodeType:"ElementaryTypeName",src:"6991:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:97929,initialValue:{arguments:[{id:97927,name:"GAME_TYPE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97738,src:"7048:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}],expression:{id:97925,name:"ANCHOR_STATE_REGISTRY",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97746,src:"7018:21:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},id:97926,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"anchors",nodeType:"MemberAccess",referencedDeclaration:100134,src:"7018:29:164",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_userDefinedValueType$_GameType_$103271_$returns$_t_userDefinedValueType$_Hash_$103253_$_t_uint256_$",typeString:"function (GameType) view external returns (Hash,uint256)"}},id:97928,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7018:40:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Hash_$103253_$_t_uint256_$",typeString:"tuple(Hash,uint256)"}},nodeType:"VariableDeclarationStatement",src:"6979:79:164"},{condition:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:97937,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:97930,name:"root",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97922,src:"7159:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:97931,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"7159:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:97932,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7159:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:97935,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"7181:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:97934,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7173:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:97933,name:"bytes32",nodeType:"ElementaryTypeName",src:"7173:7:164",typeDescriptions:{}}},id:97936,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7173:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"7159:24:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97941,nodeType:"IfStatement",src:"7155:57:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:97938,name:"AnchorRootNotFound",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103192,src:"7192:18:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:97939,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7192:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97940,nodeType:"RevertStatement",src:"7185:27:164"}},{expression:{id:97947,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:97942,name:"startingOutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97811,src:"7264:18:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{id:97944,name:"rootBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97924,src:"7313:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:97945,name:"root",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97922,src:"7336:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}],id:97943,name:"OutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103283,src:"7285:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_OutputRoot_$103283_storage_ptr_$",typeString:"type(struct OutputRoot storage pointer)"}},id:97946,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["l2BlockNumber","root"],nodeType:"FunctionCall",src:"7285:58:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_memory_ptr",typeString:"struct OutputRoot memory"}},src:"7264:79:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},id:97948,nodeType:"ExpressionStatement",src:"7264:79:164"},{AST:{nodeType:"YulBlock",src:"7933:219:164",statements:[{body:{nodeType:"YulBlock",src:"7983:159:164",statements:[{expression:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"8076:4:164",type:"",value:"0x00"},{kind:"number",nodeType:"YulLiteral",src:"8082:10:164",type:"",value:"0x9824bdab"}],functionName:{name:"mstore",nodeType:"YulIdentifier",src:"8069:6:164"},nodeType:"YulFunctionCall",src:"8069:24:164"},nodeType:"YulExpressionStatement",src:"8069:24:164"},{expression:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"8117:4:164",type:"",value:"0x1C"},{kind:"number",nodeType:"YulLiteral",src:"8123:4:164",type:"",value:"0x04"}],functionName:{name:"revert",nodeType:"YulIdentifier",src:"8110:6:164"},nodeType:"YulFunctionCall",src:"8110:18:164"},nodeType:"YulExpressionStatement",src:"8110:18:164"}]},condition:{arguments:[{arguments:[{arguments:[],functionName:{name:"calldatasize",nodeType:"YulIdentifier",src:"7960:12:164"},nodeType:"YulFunctionCall",src:"7960:14:164"},{kind:"number",nodeType:"YulLiteral",src:"7976:4:164",type:"",value:"0x7A"}],functionName:{name:"eq",nodeType:"YulIdentifier",src:"7957:2:164"},nodeType:"YulFunctionCall",src:"7957:24:164"}],functionName:{name:"iszero",nodeType:"YulIdentifier",src:"7950:6:164"},nodeType:"YulFunctionCall",src:"7950:32:164"},nodeType:"YulIf",src:"7947:195:164"}]},evmVersion:"london",externalReferences:[],id:97949,nodeType:"InlineAssembly",src:"7924:228:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:97953,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],id:97950,name:"l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98690,src:"8320:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_uint256_$",typeString:"function () pure returns (uint256)"}},id:97951,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8320:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<=",rightExpression:{id:97952,name:"rootBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97924,src:"8339:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"8320:34:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:97959,nodeType:"IfStatement",src:"8316:79:164",trueBody:{errorCall:{arguments:[{arguments:[],expression:{argumentTypes:[],id:97955,name:"rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99027,src:"8383:9:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function () pure returns (Claim)"}},id:97956,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8383:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}],id:97954,name:"UnexpectedRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103117,src:"8363:19:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$_t_userDefinedValueType$_Claim_$103255_$returns$__$",typeString:"function (Claim) pure"}},id:97957,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8363:32:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:97958,nodeType:"RevertStatement",src:"8356:39:164"}},{expression:{arguments:[{arguments:[{expression:{arguments:[{id:97966,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8510:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint32_$",typeString:"type(uint32)"},typeName:{id:97965,name:"uint32",nodeType:"ElementaryTypeName",src:"8510:6:164",typeDescriptions:{}}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_uint32_$",typeString:"type(uint32)"}],id:97964,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"8505:4:164",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:97967,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8505:12:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_uint32",typeString:"type(uint32)"}},id:97968,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"max",nodeType:"MemberAccess",src:"8505:16:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{arguments:[{hexValue:"30",id:97971,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"8560:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:97970,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8552:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:97969,name:"address",nodeType:"ElementaryTypeName",src:"8552:7:164",typeDescriptions:{}}},id:97972,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8552:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{arguments:[],expression:{argumentTypes:[],id:97973,name:"gameCreator",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99010,src:"8590:11:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_address_$",typeString:"function () pure returns (address)"}},id:97974,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8590:13:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{arguments:[{expression:{id:97977,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"8635:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:97978,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"8635:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:97976,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8627:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:97975,name:"uint128",nodeType:"ElementaryTypeName",src:"8627:7:164",typeDescriptions:{}}},id:97979,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8627:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},{arguments:[],expression:{argumentTypes:[],id:97980,name:"rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99027,src:"8670:9:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function () pure returns (Claim)"}},id:97981,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8670:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:97982,name:"ROOT_POSITION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97761,src:"8709:13:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{arguments:[{arguments:[{hexValue:"30",id:97987,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"8775:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],expression:{id:97985,name:"Duration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103263,src:"8761:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Duration_$103263_$",typeString:"type(Duration)"}},id:97986,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"8761:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (uint64) pure returns (Duration)"}},id:97988,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8761:16:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},{arguments:[{arguments:[{expression:{id:97993,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"8801:5:164",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:97994,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"8801:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:97992,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8794:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:97991,name:"uint64",nodeType:"ElementaryTypeName",src:"8794:6:164",typeDescriptions:{}}},id:97995,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8794:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:97989,name:"Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103261,src:"8779:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"type(Timestamp)"}},id:97990,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"8779:14:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (uint64) pure returns (Timestamp)"}},id:97996,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8779:39:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}],expression:{id:97983,name:"LibClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:101073,src:"8747:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LibClock_$101073_$",typeString:"type(library LibClock)"}},id:97984,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",referencedDeclaration:101037,src:"8747:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$_t_userDefinedValueType$_Timestamp_$103261_$returns$_t_userDefinedValueType$_Clock_$103267_$",typeString:"function (Duration,Timestamp) pure returns (Clock)"}},id:97997,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8747:72:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint128",typeString:"uint128"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}],id:97963,name:"ClaimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100523,src:"8464:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"type(struct IFaultDisputeGame.ClaimData storage pointer)"}},id:97998,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["parentIndex","counteredBy","claimant","bond","claim","position","clock"],nodeType:"FunctionCall",src:"8464:370:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData memory"}],expression:{id:97960,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"8436:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:97962,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"8436:14:164",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage_ptr_$_t_struct$_ClaimData_$100523_storage_$returns$__$bound_to$_t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage_ptr_$",typeString:"function (struct IFaultDisputeGame.ClaimData storage ref[] storage pointer,struct IFaultDisputeGame.ClaimData storage ref)"}},id:97999,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8436:408:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98e3,nodeType:"ExpressionStatement",src:"8436:408:164"},{expression:{id:98003,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98001,name:"initialized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97780,src:"8895:11:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:98002,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"8909:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"8895:18:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98004,nodeType:"ExpressionStatement",src:"8895:18:164"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{argumentTypes:[],expression:{id:98005,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"8953:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:98007,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"deposit",nodeType:"MemberAccess",referencedDeclaration:100691,src:"8953:12:164",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$",typeString:"function () payable external"}},id:98010,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{expression:{id:98008,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"8974:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98009,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"8974:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"8953:32:164",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$value",typeString:"function () payable external"}},id:98011,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8953:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98012,nodeType:"ExpressionStatement",src:"8953:34:164"},{expression:{id:98022,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98013,name:"createdAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97769,src:"9043:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{expression:{id:98018,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"9077:5:164",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:98019,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"9077:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98017,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"9070:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:98016,name:"uint64",nodeType:"ElementaryTypeName",src:"9070:6:164",typeDescriptions:{}}},id:98020,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9070:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:98014,name:"Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103261,src:"9055:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"type(Timestamp)"}},id:98015,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"9055:14:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (uint64) pure returns (Timestamp)"}},id:98021,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9055:39:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},src:"9043:51:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},id:98023,nodeType:"ExpressionStatement",src:"9043:51:164"}]},baseFunctions:[100615],documentation:{id:97912,nodeType:"StructuredDocumentation",src:"6163:30:164",text:"@inheritdoc IInitializable"},functionSelector:"8129fc1c",implemented:!0,kind:"function",modifiers:[],name:"initialize",nameLocation:"6207:10:164",parameters:{id:97913,nodeType:"ParameterList",parameters:[],src:"6217:2:164"},returnParameters:{id:97914,nodeType:"ParameterList",parameters:[],src:"6243:0:164"},scope:99927,stateMutability:"payable",virtual:!0,visibility:"public"},{id:98227,nodeType:"FunctionDefinition",src:"9353:4442:164",nodes:[],body:{id:98226,nodeType:"Block",src:"9527:4268:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:98040,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98037,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"9626:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98038,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"9636:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98039,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"9636:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"9626:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98044,nodeType:"IfStatement",src:"9622:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98041,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"9667:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98042,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9667:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98043,nodeType:"RevertStatement",src:"9660:26:164"}},{assignments:[98047],declarations:[{constant:!1,id:98047,mutability:"mutable",name:"parent",nameLocation:"9795:6:164",nodeType:"VariableDeclaration",scope:98226,src:"9777:24:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:98046,nodeType:"UserDefinedTypeName",pathNode:{id:98045,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"9777:9:164"},referencedDeclaration:100523,src:"9777:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:98051,initialValue:{baseExpression:{id:98048,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"9804:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98050,indexExpression:{id:98049,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98028,src:"9814:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"9804:22:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"9777:49:164"},{assignments:[98054],declarations:[{constant:!1,id:98054,mutability:"mutable",name:"parentPos",nameLocation:"9898:9:164",nodeType:"VariableDeclaration",scope:98226,src:"9889:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98053,nodeType:"UserDefinedTypeName",pathNode:{id:98052,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"9889:8:164"},referencedDeclaration:103269,src:"9889:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98057,initialValue:{expression:{id:98055,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"9910:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98056,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"9910:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"9889:36:164"},{assignments:[98060],declarations:[{constant:!1,id:98060,mutability:"mutable",name:"stepPos",nameLocation:"9991:7:164",nodeType:"VariableDeclaration",scope:98226,src:"9982:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98059,nodeType:"UserDefinedTypeName",pathNode:{id:98058,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"9982:8:164"},referencedDeclaration:103269,src:"9982:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98065,initialValue:{arguments:[{id:98063,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98030,src:"10016:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"}],expression:{id:98061,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98054,src:"10001:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98062,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"move",nodeType:"MemberAccess",referencedDeclaration:101006,src:"10001:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$_t_bool_$returns$_t_userDefinedValueType$_Position_$103269_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position,bool) pure returns (Position)"}},id:98064,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10001:25:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"9982:44:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98072,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98066,name:"stepPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98060,src:"10142:7:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98067,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"10142:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:98068,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10142:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98071,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98069,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"10161:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:98070,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"10178:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"10161:18:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"10142:37:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98076,nodeType:"IfStatement",src:"10138:65:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98073,name:"InvalidParent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103156,src:"10188:13:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98074,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10188:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98075,nodeType:"RevertStatement",src:"10181:22:164"}},{assignments:[98079],declarations:[{constant:!1,id:98079,mutability:"mutable",name:"preStateClaim",nameLocation:"10285:13:164",nodeType:"VariableDeclaration",scope:98226,src:"10279:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98078,nodeType:"UserDefinedTypeName",pathNode:{id:98077,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"10279:5:164"},referencedDeclaration:103255,src:"10279:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],id:98080,nodeType:"VariableDeclarationStatement",src:"10279:19:164"},{assignments:[98083],declarations:[{constant:!1,id:98083,mutability:"mutable",name:"postState",nameLocation:"10326:9:164",nodeType:"VariableDeclaration",scope:98226,src:"10308:27:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:98082,nodeType:"UserDefinedTypeName",pathNode:{id:98081,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"10308:9:164"},referencedDeclaration:100523,src:"10308:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:98084,nodeType:"VariableDeclarationStatement",src:"10308:27:164"},{condition:{id:98085,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98030,src:"10349:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:98145,nodeType:"Block",src:"11374:314:164",statements:[{expression:{id:98127,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98124,name:"preStateClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98079,src:"11542:13:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98125,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"11558:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98126,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"11558:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"11542:28:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98128,nodeType:"ExpressionStatement",src:"11542:28:164"},{expression:{id:98143,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98129,name:"postState",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98083,src:"11584:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:98137,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98133,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98054,src:"11629:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98134,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"11629:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:98135,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11629:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:98136,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11647:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"11629:19:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:98131,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"11615:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:98132,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"11615:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:98138,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11615:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{expression:{id:98139,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"11651:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98140,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"11651:18:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{hexValue:"66616c7365",id:98141,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"11671:5:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bool",typeString:"bool"}],id:98130,name:"_findTraceAncestor",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99638,src:"11596:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$_t_bool_$returns$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"function (Position,uint256,bool) view returns (struct IFaultDisputeGame.ClaimData storage pointer)"}},id:98142,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11596:81:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},src:"11584:93:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98144,nodeType:"ExpressionStatement",src:"11584:93:164"}]},id:98146,nodeType:"IfStatement",src:"10345:1343:164",trueBody:{id:98123,nodeType:"Block",src:"10360:1008:164",statements:[{expression:{id:98117,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98086,name:"preStateClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98079,src:"11031:13:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98100,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98097,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98087,name:"stepPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98060,src:"11048:7:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98088,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"indexAtDepth",nodeType:"MemberAccess",referencedDeclaration:100850,src:"11048:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:98089,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11048:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"%",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98095,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{hexValue:"31",id:98090,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11074:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},nodeType:"BinaryOperation",operator:"<<",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98093,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98091,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"11080:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{id:98092,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"11097:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11080:28:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:98094,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"11079:30:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11074:35:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:98096,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"11073:37:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11048:62:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:98098,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"11047:64:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:98099,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11115:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"11047:69:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{expression:{arguments:[{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:98109,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98105,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98054,src:"11204:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98106,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"11204:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:98107,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11204:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:98108,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11222:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"11204:19:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:98103,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"11190:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:98104,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"11190:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:98110,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11190:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{expression:{id:98111,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"11226:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98112,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"11226:18:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{hexValue:"66616c7365",id:98113,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"11246:5:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_bool",typeString:"bool"}],id:98102,name:"_findTraceAncestor",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99638,src:"11171:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$_t_bool_$returns$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"function (Position,uint256,bool) view returns (struct IFaultDisputeGame.ClaimData storage pointer)"}},id:98114,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11171:81:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98115,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"11171:87:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98116,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"11047:211:164",trueExpression:{id:98101,name:"ABSOLUTE_PRESTATE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97720,src:"11135:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"11031:227:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98118,nodeType:"ExpressionStatement",src:"11031:227:164"},{expression:{id:98121,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98119,name:"postState",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98083,src:"11339:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:98120,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"11351:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},src:"11339:18:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98122,nodeType:"ExpressionStatement",src:"11339:18:164"}]}},{condition:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:98157,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:98151,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:98148,name:"_stateData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98032,src:"12041:10:164",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:98147,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"12031:9:164",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:98149,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12031:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"<<",rightExpression:{hexValue:"38",id:98150,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"12056:1:164",typeDescriptions:{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},value:"8"},src:"12031:26:164",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:98156,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98152,name:"preStateClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98079,src:"12061:13:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98153,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"12061:17:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:98154,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12061:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"<<",rightExpression:{hexValue:"38",id:98155,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"12084:1:164",typeDescriptions:{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},value:"8"},src:"12061:24:164",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"12031:54:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98161,nodeType:"IfStatement",src:"12027:84:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98158,name:"InvalidPrestate",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103159,src:"12094:15:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98159,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12094:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98160,nodeType:"RevertStatement",src:"12087:24:164"}},{assignments:[98164],declarations:[{constant:!1,id:98164,mutability:"mutable",name:"uuid",nameLocation:"12187:4:164",nodeType:"VariableDeclaration",scope:98226,src:"12182:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:98163,nodeType:"UserDefinedTypeName",pathNode:{id:98162,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"12182:4:164"},referencedDeclaration:103253,src:"12182:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],id:98168,initialValue:{arguments:[{id:98166,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98028,src:"12212:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98165,name:"_findLocalContext",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99875,src:"12194:17:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (uint256) view returns (Hash)"}},id:98167,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12194:30:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"VariableDeclarationStatement",src:"12182:42:164"},{assignments:[98170],declarations:[{constant:!1,id:98170,mutability:"mutable",name:"validStep",nameLocation:"13202:9:164",nodeType:"VariableDeclaration",scope:98226,src:"13197:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:98169,name:"bool",nodeType:"ElementaryTypeName",src:"13197:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],id:98184,initialValue:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:98183,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:98173,name:"_stateData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98032,src:"13222:10:164",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}},{id:98174,name:"_proof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98034,src:"13234:6:164",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98175,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98164,src:"13242:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98176,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"13242:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98177,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13242:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"},{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:98171,name:"VM",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97734,src:"13214:2:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},id:98172,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"step",nodeType:"MemberAccess",referencedDeclaration:100163,src:"13214:7:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes32_$returns$_t_bytes32_$",typeString:"function (bytes memory,bytes memory,bytes32) external returns (bytes32)"}},id:98178,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13214:39:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:98179,name:"postState",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98083,src:"13257:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98180,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"13257:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98181,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"13257:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:98182,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13257:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"13214:64:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"VariableDeclarationStatement",src:"13197:81:164"},{assignments:[98186],declarations:[{constant:!1,id:98186,mutability:"mutable",name:"parentPostAgree",nameLocation:"13293:15:164",nodeType:"VariableDeclaration",scope:98226,src:"13288:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:98185,name:"bool",nodeType:"ElementaryTypeName",src:"13288:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],id:98200,initialValue:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:98199,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:98197,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:98194,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98187,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98054,src:"13312:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98188,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"13312:15:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:98189,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13312:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:98190,name:"postState",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98083,src:"13332:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98191,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"13332:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98192,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"13332:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:98193,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13332:26:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"13312:46:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}}],id:98195,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"13311:48:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"%",rightExpression:{hexValue:"32",id:98196,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13362:1:164",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"13311:52:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:98198,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13367:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"13311:57:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"VariableDeclarationStatement",src:"13288:80:164"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:98203,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98201,name:"parentPostAgree",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98186,src:"13382:15:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:98202,name:"validStep",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98170,src:"13401:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"13382:28:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98207,nodeType:"IfStatement",src:"13378:52:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98204,name:"ValidStep",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103162,src:"13419:9:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98205,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13419:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98206,nodeType:"RevertStatement",src:"13412:18:164"}},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:98214,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:98208,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"13524:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98209,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"13524:18:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:98212,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13554:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98211,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"13546:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98210,name:"address",nodeType:"ElementaryTypeName",src:"13546:7:164",typeDescriptions:{}}},id:98213,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13546:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"13524:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98218,nodeType:"IfStatement",src:"13520:60:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98215,name:"DuplicateStep",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103189,src:"13565:13:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98216,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13565:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98217,nodeType:"RevertStatement",src:"13558:22:164"}},{expression:{id:98224,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{expression:{id:98219,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98047,src:"13757:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98221,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"13757:18:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98222,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"13778:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98223,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"13778:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"13757:31:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:98225,nodeType:"ExpressionStatement",src:"13757:31:164"}]},baseFunctions:[100563],documentation:{id:98026,nodeType:"StructuredDocumentation",src:"9315:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"d8cc1a3c",implemented:!0,kind:"function",modifiers:[],name:"step",nameLocation:"9362:4:164",parameters:{id:98035,nodeType:"ParameterList",parameters:[{constant:!1,id:98028,mutability:"mutable",name:"_claimIndex",nameLocation:"9384:11:164",nodeType:"VariableDeclaration",scope:98227,src:"9376:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98027,name:"uint256",nodeType:"ElementaryTypeName",src:"9376:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98030,mutability:"mutable",name:"_isAttack",nameLocation:"9410:9:164",nodeType:"VariableDeclaration",scope:98227,src:"9405:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:98029,name:"bool",nodeType:"ElementaryTypeName",src:"9405:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},{constant:!1,id:98032,mutability:"mutable",name:"_stateData",nameLocation:"9444:10:164",nodeType:"VariableDeclaration",scope:98227,src:"9429:25:164",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:98031,name:"bytes",nodeType:"ElementaryTypeName",src:"9429:5:164",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"},{constant:!1,id:98034,mutability:"mutable",name:"_proof",nameLocation:"9479:6:164",nodeType:"VariableDeclaration",scope:98227,src:"9464:21:164",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:98033,name:"bytes",nodeType:"ElementaryTypeName",src:"9464:5:164",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"9366:125:164"},returnParameters:{id:98036,nodeType:"ParameterList",parameters:[],src:"9527:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!0,visibility:"public"},{id:98470,nodeType:"FunctionDefinition",src:"14106:5200:164",nodes:[],body:{id:98469,nodeType:"Block",src:"14198:5108:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:98241,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98238,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"14297:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98239,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"14307:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98240,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"14307:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"14297:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98245,nodeType:"IfStatement",src:"14293:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98242,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"14338:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98243,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14338:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98244,nodeType:"RevertStatement",src:"14331:26:164"}},{assignments:[98248],declarations:[{constant:!1,id:98248,mutability:"mutable",name:"parent",nameLocation:"14465:6:164",nodeType:"VariableDeclaration",scope:98469,src:"14448:23:164",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:98247,nodeType:"UserDefinedTypeName",pathNode:{id:98246,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"14448:9:164"},referencedDeclaration:100523,src:"14448:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:98252,initialValue:{baseExpression:{id:98249,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"14474:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98251,indexExpression:{id:98250,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"14484:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"14474:26:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"14448:52:164"},{assignments:[98255],declarations:[{constant:!1,id:98255,mutability:"mutable",name:"parentPos",nameLocation:"14768:9:164",nodeType:"VariableDeclaration",scope:98469,src:"14759:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98254,nodeType:"UserDefinedTypeName",pathNode:{id:98253,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"14759:8:164"},referencedDeclaration:103269,src:"14759:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98258,initialValue:{expression:{id:98256,name:"parent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98248,src:"14780:6:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData memory"}},id:98257,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"14780:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"14759:36:164"},{assignments:[98261],declarations:[{constant:!1,id:98261,mutability:"mutable",name:"nextPosition",nameLocation:"14814:12:164",nodeType:"VariableDeclaration",scope:98469,src:"14805:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98260,nodeType:"UserDefinedTypeName",pathNode:{id:98259,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"14805:8:164"},referencedDeclaration:103269,src:"14805:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98266,initialValue:{arguments:[{id:98264,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98235,src:"14844:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"}],expression:{id:98262,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98255,src:"14829:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98263,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"move",nodeType:"MemberAccess",referencedDeclaration:101006,src:"14829:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$_t_bool_$returns$_t_userDefinedValueType$_Position_$103269_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position,bool) pure returns (Position)"}},id:98265,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14829:25:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"14805:49:164"},{assignments:[98268],declarations:[{constant:!1,id:98268,mutability:"mutable",name:"nextPositionDepth",nameLocation:"14872:17:164",nodeType:"VariableDeclaration",scope:98469,src:"14864:25:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98267,name:"uint256",nodeType:"ElementaryTypeName",src:"14864:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:98272,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:98269,name:"nextPosition",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98261,src:"14892:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98270,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"14892:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:98271,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14892:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"VariableDeclarationStatement",src:"14864:48:164"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:98285,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:98281,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98275,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98273,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"15259:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:98274,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"15278:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"15259:20:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98280,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98276,name:"nextPositionDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98268,src:"15283:17:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98279,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98277,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"15304:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"32",id:98278,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"15318:1:164",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"15304:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"15283:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"15259:60:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],id:98282,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"15258:62:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{id:98284,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"15324:10:164",subExpression:{id:98283,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98235,src:"15325:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"15258:76:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98290,nodeType:"IfStatement",src:"15254:137:164",trueBody:{id:98289,nodeType:"Block",src:"15336:55:164",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:98286,name:"CannotDefendRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103135,src:"15357:21:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98287,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15357:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98288,nodeType:"RevertStatement",src:"15350:30:164"}]}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98293,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98291,name:"nextPositionDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98268,src:"15732:17:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:98292,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"15752:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"15732:34:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98297,nodeType:"IfStatement",src:"15728:66:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98294,name:"GameDepthExceeded",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103153,src:"15775:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98295,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15775:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98296,nodeType:"RevertStatement",src:"15768:26:164"}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98302,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98298,name:"nextPositionDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98268,src:"16001:17:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98301,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98299,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"16022:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:98300,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"16036:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"16022:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"16001:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98311,nodeType:"IfStatement",src:"15997:138:164",trueBody:{id:98310,nodeType:"Block",src:"16039:96:164",statements:[{expression:{arguments:[{id:98304,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98233,src:"16078:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:98305,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"16086:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:98306,name:"parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98255,src:"16103:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:98307,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98235,src:"16114:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_bool",typeString:"bool"}],id:98303,name:"_verifyExecBisectionRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99587,src:"16053:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Claim_$103255_$_t_uint256_$_t_userDefinedValueType$_Position_$103269_$_t_bool_$returns$__$",typeString:"function (Claim,uint256,Position,bool) view"}},id:98308,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16053:71:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98309,nodeType:"ExpressionStatement",src:"16053:71:164"}]}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98317,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:98313,name:"nextPosition",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98261,src:"16241:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}],id:98312,name:"getRequiredBond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99215,src:"16225:15:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint256_$",typeString:"function (Position) view returns (uint256)"}},id:98314,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16225:29:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98315,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"16258:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98316,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"16258:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"16225:42:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98321,nodeType:"IfStatement",src:"16221:76:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98318,name:"IncorrectBondAmount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103123,src:"16276:19:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98319,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16276:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98320,nodeType:"RevertStatement",src:"16269:28:164"}},{assignments:[98324],declarations:[{constant:!1,id:98324,mutability:"mutable",name:"nextDuration",nameLocation:"16539:12:164",nodeType:"VariableDeclaration",scope:98469,src:"16530:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:98323,nodeType:"UserDefinedTypeName",pathNode:{id:98322,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"16530:8:164"},referencedDeclaration:103263,src:"16530:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"}],id:98328,initialValue:{arguments:[{id:98326,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"16576:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98325,name:"getChallengerDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99348,src:"16554:21:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (uint256) view returns (Duration)"}},id:98327,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16554:38:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"VariableDeclarationStatement",src:"16530:62:164"},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98335,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98329,name:"nextDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98324,src:"16742:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98330,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"16742:16:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98331,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16742:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98332,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"16764:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98333,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"16764:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98334,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16764:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"16742:46:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98339,nodeType:"IfStatement",src:"16738:78:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98336,name:"ClockTimeExceeded",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103147,src:"16797:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98337,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16797:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98338,nodeType:"RevertStatement",src:"16790:26:164"}},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98350,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98340,name:"nextDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98324,src:"17477:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98341,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17477:16:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98342,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17477:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:">",rightExpression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98349,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98343,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"17498:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98344,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17498:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98345,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17498:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98346,name:"CLOCK_EXTENSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97753,src:"17525:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98347,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17525:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98348,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17525:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"17498:48:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"17477:69:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98380,nodeType:"IfStatement",src:"17473:424:164",trueBody:{id:98379,nodeType:"Block",src:"17548:349:164",statements:[{assignments:[98352],declarations:[{constant:!1,id:98352,mutability:"mutable",name:"extensionPeriod",nameLocation:"17678:15:164",nodeType:"VariableDeclaration",scope:98379,src:"17671:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:98351,name:"uint64",nodeType:"ElementaryTypeName",src:"17671:6:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],id:98367,initialValue:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98357,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98353,name:"nextPositionDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98268,src:"17712:17:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98356,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98354,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"17733:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:98355,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"17747:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"17733:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"17712:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98363,name:"CLOCK_EXTENSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97753,src:"17779:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98364,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17779:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98365,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17779:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:98366,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"17712:88:164",trueExpression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98362,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98358,name:"CLOCK_EXTENSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97753,src:"17751:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98359,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17751:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98360,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17751:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{hexValue:"32",id:98361,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"17775:1:164",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"17751:25:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"VariableDeclarationStatement",src:"17671:129:164"},{expression:{id:98377,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98368,name:"nextDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98324,src:"17814:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98375,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98371,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"17843:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98372,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"17843:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98373,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17843:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{id:98374,name:"extensionPeriod",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98352,src:"17870:15:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"17843:42:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:98369,name:"Duration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103263,src:"17829:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Duration_$103263_$",typeString:"type(Duration)"}},id:98370,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"17829:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (uint64) pure returns (Duration)"}},id:98376,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17829:57:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"17814:72:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98378,nodeType:"ExpressionStatement",src:"17814:72:164"}]}},{assignments:[98383],declarations:[{constant:!1,id:98383,mutability:"mutable",name:"nextClock",nameLocation:"18004:9:164",nodeType:"VariableDeclaration",scope:98469,src:"17998:15:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"},typeName:{id:98382,nodeType:"UserDefinedTypeName",pathNode:{id:98381,name:"Clock",nodeType:"IdentifierPath",referencedDeclaration:103267,src:"17998:5:164"},referencedDeclaration:103267,src:"17998:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},visibility:"internal"}],id:98396,initialValue:{arguments:[{id:98386,name:"nextDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98324,src:"18030:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},{arguments:[{arguments:[{expression:{id:98391,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"18066:5:164",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:98392,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"18066:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98390,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18059:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:98389,name:"uint64",nodeType:"ElementaryTypeName",src:"18059:6:164",typeDescriptions:{}}},id:98393,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18059:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:98387,name:"Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103261,src:"18044:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"type(Timestamp)"}},id:98388,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"18044:14:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (uint64) pure returns (Timestamp)"}},id:98394,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18044:39:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}],expression:{id:98384,name:"LibClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:101073,src:"18016:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LibClock_$101073_$",typeString:"type(library LibClock)"}},id:98385,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",referencedDeclaration:101037,src:"18016:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$_t_userDefinedValueType$_Timestamp_$103261_$returns$_t_userDefinedValueType$_Clock_$103267_$",typeString:"function (Duration,Timestamp) pure returns (Clock)"}},id:98395,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18016:68:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},nodeType:"VariableDeclarationStatement",src:"17998:86:164"},{assignments:[98399],declarations:[{constant:!1,id:98399,mutability:"mutable",name:"claimHash",nameLocation:"18378:9:164",nodeType:"VariableDeclaration",scope:98469,src:"18368:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"},typeName:{id:98398,nodeType:"UserDefinedTypeName",pathNode:{id:98397,name:"ClaimHash",nodeType:"IdentifierPath",referencedDeclaration:103257,src:"18368:9:164"},referencedDeclaration:103257,src:"18368:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"}},visibility:"internal"}],id:98405,initialValue:{arguments:[{id:98402,name:"nextPosition",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98261,src:"18410:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:98403,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"18424:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98400,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98233,src:"18390:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98401,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashClaimPos",nodeType:"MemberAccess",referencedDeclaration:100799,src:"18390:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$returns$_t_userDefinedValueType$_ClaimHash_$103257_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim,Position,uint256) pure returns (ClaimHash)"}},id:98404,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18390:50:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"}},nodeType:"VariableDeclarationStatement",src:"18368:72:164"},{condition:{baseExpression:{id:98406,name:"claims",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97796,src:"18454:6:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_ClaimHash_$103257_$_t_bool_$",typeString:"mapping(ClaimHash => bool)"}},id:98408,indexExpression:{id:98407,name:"claimHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98399,src:"18461:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"18454:17:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98412,nodeType:"IfStatement",src:"18450:50:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98409,name:"ClaimAlreadyExists",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103138,src:"18480:18:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98410,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18480:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98411,nodeType:"RevertStatement",src:"18473:27:164"}},{expression:{id:98417,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:98413,name:"claims",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97796,src:"18510:6:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_userDefinedValueType$_ClaimHash_$103257_$_t_bool_$",typeString:"mapping(ClaimHash => bool)"}},id:98415,indexExpression:{id:98414,name:"claimHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98399,src:"18517:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_ClaimHash_$103257",typeString:"ClaimHash"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"18510:17:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:98416,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"18530:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"18510:24:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98418,nodeType:"ExpressionStatement",src:"18510:24:164"},{expression:{arguments:[{arguments:[{arguments:[{id:98425,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"18654:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98424,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18647:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint32_$",typeString:"type(uint32)"},typeName:{id:98423,name:"uint32",nodeType:"ElementaryTypeName",src:"18647:6:164",typeDescriptions:{}}},id:98426,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18647:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},{arguments:[{hexValue:"30",id:98429,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"18770:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98428,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18762:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98427,name:"address",nodeType:"ElementaryTypeName",src:"18762:7:164",typeDescriptions:{}}},id:98430,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18762:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:98431,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"18800:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98432,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"18800:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{arguments:[{expression:{id:98435,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"18842:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98436,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"18842:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98434,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18834:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:98433,name:"uint128",nodeType:"ElementaryTypeName",src:"18834:7:164",typeDescriptions:{}}},id:98437,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18834:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},{id:98438,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98233,src:"18877:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:98439,name:"nextPosition",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98261,src:"18911:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:98440,name:"nextClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98383,src:"18948:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint32",typeString:"uint32"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint128",typeString:"uint128"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}],id:98422,name:"ClaimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100523,src:"18606:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"type(struct IFaultDisputeGame.ClaimData storage pointer)"}},id:98441,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["parentIndex","counteredBy","claimant","bond","claim","position","clock"],nodeType:"FunctionCall",src:"18606:366:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_ClaimData_$100523_memory_ptr",typeString:"struct IFaultDisputeGame.ClaimData memory"}],expression:{id:98419,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"18578:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98421,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"18578:14:164",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage_ptr_$_t_struct$_ClaimData_$100523_storage_$returns$__$bound_to$_t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage_ptr_$",typeString:"function (struct IFaultDisputeGame.ClaimData storage ref[] storage pointer,struct IFaultDisputeGame.ClaimData storage ref)"}},id:98442,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18578:404:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98443,nodeType:"ExpressionStatement",src:"18578:404:164"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98451,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:98448,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"19082:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98449,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"19082:16:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:98450,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"19101:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"19082:20:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{baseExpression:{id:98444,name:"subgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97802,src:"19051:8:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$",typeString:"mapping(uint256 => uint256[] storage ref)"}},id:98446,indexExpression:{id:98445,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"19060:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"19051:25:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage",typeString:"uint256[] storage ref"}},id:98447,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"19051:30:164",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$bound_to$_t_array$_t_uint256_$dyn_storage_ptr_$",typeString:"function (uint256[] storage pointer,uint256)"}},id:98452,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19051:52:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98453,nodeType:"ExpressionStatement",src:"19051:52:164"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{argumentTypes:[],expression:{id:98454,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"19143:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:98456,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"deposit",nodeType:"MemberAccess",referencedDeclaration:100691,src:"19143:12:164",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$",typeString:"function () payable external"}},id:98459,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{expression:{id:98457,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19164:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98458,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"19164:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"19143:32:164",typeDescriptions:{typeIdentifier:"t_function_external_payable$__$returns$__$value",typeString:"function () payable external"}},id:98460,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19143:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98461,nodeType:"ExpressionStatement",src:"19143:34:164"},{eventCall:{arguments:[{id:98463,name:"_challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98230,src:"19263:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:98464,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98233,src:"19280:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{expression:{id:98465,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19288:3:164",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:98466,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"19288:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_address",typeString:"address"}],id:98462,name:"Move",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100533,src:"19258:4:164",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_uint256_$_t_userDefinedValueType$_Claim_$103255_$_t_address_$returns$__$",typeString:"function (uint256,Claim,address)"}},id:98467,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19258:41:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98468,nodeType:"EmitStatement",src:"19253:46:164"}]},documentation:{id:98228,nodeType:"StructuredDocumentation",src:"13801:300:164",text:"@notice Generic move function, used for both `attack` and `defend` moves.\n @param _challengeIndex The index of the claim being moved against.\n @param _claim The claim at the next logical position in the game.\n @param _isAttack Whether or not the move is an attack or defense."},functionSelector:"632247ea",implemented:!0,kind:"function",modifiers:[],name:"move",nameLocation:"14115:4:164",parameters:{id:98236,nodeType:"ParameterList",parameters:[{constant:!1,id:98230,mutability:"mutable",name:"_challengeIndex",nameLocation:"14128:15:164",nodeType:"VariableDeclaration",scope:98470,src:"14120:23:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98229,name:"uint256",nodeType:"ElementaryTypeName",src:"14120:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98233,mutability:"mutable",name:"_claim",nameLocation:"14151:6:164",nodeType:"VariableDeclaration",scope:98470,src:"14145:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98232,nodeType:"UserDefinedTypeName",pathNode:{id:98231,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"14145:5:164"},referencedDeclaration:103255,src:"14145:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:98235,mutability:"mutable",name:"_isAttack",nameLocation:"14164:9:164",nodeType:"VariableDeclaration",scope:98470,src:"14159:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:98234,name:"bool",nodeType:"ElementaryTypeName",src:"14159:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"14119:55:164"},returnParameters:{id:98237,nodeType:"ParameterList",parameters:[],src:"14198:0:164"},scope:99927,stateMutability:"payable",virtual:!0,visibility:"public"},{id:98486,nodeType:"FunctionDefinition",src:"19350:118:164",nodes:[],body:{id:98485,nodeType:"Block",src:"19419:49:164",nodes:[],statements:[{expression:{arguments:[{id:98480,name:"_parentIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98473,src:"19434:12:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:98481,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98476,src:"19448:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{hexValue:"74727565",id:98482,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"19456:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bool",typeString:"bool"}],id:98479,name:"move",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98470,src:"19429:4:164",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_uint256_$_t_userDefinedValueType$_Claim_$103255_$_t_bool_$returns$__$",typeString:"function (uint256,Claim,bool)"}},id:98483,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19429:32:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98484,nodeType:"ExpressionStatement",src:"19429:32:164"}]},baseFunctions:[100542],documentation:{id:98471,nodeType:"StructuredDocumentation",src:"19312:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"c55cd0c7",implemented:!0,kind:"function",modifiers:[],name:"attack",nameLocation:"19359:6:164",parameters:{id:98477,nodeType:"ParameterList",parameters:[{constant:!1,id:98473,mutability:"mutable",name:"_parentIndex",nameLocation:"19374:12:164",nodeType:"VariableDeclaration",scope:98486,src:"19366:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98472,name:"uint256",nodeType:"ElementaryTypeName",src:"19366:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98476,mutability:"mutable",name:"_claim",nameLocation:"19394:6:164",nodeType:"VariableDeclaration",scope:98486,src:"19388:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98475,nodeType:"UserDefinedTypeName",pathNode:{id:98474,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"19388:5:164"},referencedDeclaration:103255,src:"19388:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],src:"19365:36:164"},returnParameters:{id:98478,nodeType:"ParameterList",parameters:[],src:"19419:0:164"},scope:99927,stateMutability:"payable",virtual:!1,visibility:"external"},{id:98502,nodeType:"FunctionDefinition",src:"19512:119:164",nodes:[],body:{id:98501,nodeType:"Block",src:"19581:50:164",nodes:[],statements:[{expression:{arguments:[{id:98496,name:"_parentIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98489,src:"19596:12:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:98497,name:"_claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98492,src:"19610:6:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{hexValue:"66616c7365",id:98498,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"19618:5:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_bool",typeString:"bool"}],id:98495,name:"move",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98470,src:"19591:4:164",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_uint256_$_t_userDefinedValueType$_Claim_$103255_$_t_bool_$returns$__$",typeString:"function (uint256,Claim,bool)"}},id:98499,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19591:33:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98500,nodeType:"ExpressionStatement",src:"19591:33:164"}]},baseFunctions:[100551],documentation:{id:98487,nodeType:"StructuredDocumentation",src:"19474:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"35fef567",implemented:!0,kind:"function",modifiers:[],name:"defend",nameLocation:"19521:6:164",parameters:{id:98493,nodeType:"ParameterList",parameters:[{constant:!1,id:98489,mutability:"mutable",name:"_parentIndex",nameLocation:"19536:12:164",nodeType:"VariableDeclaration",scope:98502,src:"19528:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98488,name:"uint256",nodeType:"ElementaryTypeName",src:"19528:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98492,mutability:"mutable",name:"_claim",nameLocation:"19556:6:164",nodeType:"VariableDeclaration",scope:98502,src:"19550:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98491,nodeType:"UserDefinedTypeName",pathNode:{id:98490,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"19550:5:164"},referencedDeclaration:103255,src:"19550:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],src:"19527:36:164"},returnParameters:{id:98494,nodeType:"ParameterList",parameters:[],src:"19581:0:164"},scope:99927,stateMutability:"payable",virtual:!1,visibility:"external"},{id:98677,nodeType:"FunctionDefinition",src:"19675:2011:164",nodes:[],body:{id:98676,nodeType:"Block",src:"19765:1921:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:98515,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98512,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"19868:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98513,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"19878:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98514,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"19878:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"19868:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98519,nodeType:"IfStatement",src:"19864:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98516,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"19909:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98517,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19909:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98518,nodeType:"RevertStatement",src:"19902:26:164"}},{assignments:[98522,98525,98528,98531],declarations:[{constant:!1,id:98522,mutability:"mutable",name:"starting",nameLocation:"19946:8:164",nodeType:"VariableDeclaration",scope:98676,src:"19940:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98521,nodeType:"UserDefinedTypeName",pathNode:{id:98520,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"19940:5:164"},referencedDeclaration:103255,src:"19940:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:98525,mutability:"mutable",name:"startingPos",nameLocation:"19965:11:164",nodeType:"VariableDeclaration",scope:98676,src:"19956:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98524,nodeType:"UserDefinedTypeName",pathNode:{id:98523,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"19956:8:164"},referencedDeclaration:103269,src:"19956:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:98528,mutability:"mutable",name:"disputed",nameLocation:"19984:8:164",nodeType:"VariableDeclaration",scope:98676,src:"19978:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:98527,nodeType:"UserDefinedTypeName",pathNode:{id:98526,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"19978:5:164"},referencedDeclaration:103255,src:"19978:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:98531,mutability:"mutable",name:"disputedPos",nameLocation:"20003:11:164",nodeType:"VariableDeclaration",scope:98676,src:"19994:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98530,nodeType:"UserDefinedTypeName",pathNode:{id:98529,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"19994:8:164"},referencedDeclaration:103269,src:"19994:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98535,initialValue:{arguments:[{id:98533,name:"_execLeafIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98507,src:"20062:12:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98532,name:"_findStartingAndDisputedOutputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99840,src:"20030:31:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint256) view returns (Claim,Position,Claim,Position)"}},id:98534,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20030:45:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position,Claim,Position)"}},nodeType:"VariableDeclarationStatement",src:"19939:136:164"},{assignments:[98538],declarations:[{constant:!1,id:98538,mutability:"mutable",name:"uuid",nameLocation:"20090:4:164",nodeType:"VariableDeclaration",scope:98676,src:"20085:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:98537,nodeType:"UserDefinedTypeName",pathNode:{id:98536,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"20085:4:164"},referencedDeclaration:103253,src:"20085:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],id:98545,initialValue:{arguments:[{id:98540,name:"starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98522,src:"20118:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:98541,name:"startingPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98525,src:"20128:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:98542,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98528,src:"20141:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:98543,name:"disputedPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98531,src:"20151:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}],id:98539,name:"_computeLocalContext",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99926,src:"20097:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Claim,Position,Claim,Position) pure returns (Hash)"}},id:98544,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20097:66:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"VariableDeclarationStatement",src:"20085:78:164"},{assignments:[98548],declarations:[{constant:!1,id:98548,mutability:"mutable",name:"oracle",nameLocation:"20190:6:164",nodeType:"VariableDeclaration",scope:98676,src:"20174:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"},typeName:{id:98547,nodeType:"UserDefinedTypeName",pathNode:{id:98546,name:"IPreimageOracle",nodeType:"IdentifierPath",referencedDeclaration:96782,src:"20174:15:164"},referencedDeclaration:96782,src:"20174:15:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},visibility:"internal"}],id:98552,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:98549,name:"VM",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97734,src:"20199:2:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},id:98550,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"oracle",nodeType:"MemberAccess",referencedDeclaration:100170,src:"20199:9:164",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_contract$_IPreimageOracle_$96782_$",typeString:"function () view external returns (contract IPreimageOracle)"}},id:98551,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20199:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},nodeType:"VariableDeclarationStatement",src:"20174:36:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98556,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98553,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20224:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:98554,name:"LocalPreimageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103373,src:"20234:16:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LocalPreimageKey_$103373_$",typeString:"type(library LocalPreimageKey)"}},id:98555,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_HEAD_HASH",nodeType:"MemberAccess",referencedDeclaration:103356,src:"20234:29:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20224:39:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98576,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98573,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20410:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:98574,name:"LocalPreimageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103373,src:"20420:16:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LocalPreimageKey_$103373_$",typeString:"type(library LocalPreimageKey)"}},id:98575,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"STARTING_OUTPUT_ROOT",nodeType:"MemberAccess",referencedDeclaration:103360,src:"20420:37:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20410:47:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98595,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98592,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20624:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:98593,name:"LocalPreimageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103373,src:"20634:16:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LocalPreimageKey_$103373_$",typeString:"type(library LocalPreimageKey)"}},id:98594,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DISPUTED_OUTPUT_ROOT",nodeType:"MemberAccess",referencedDeclaration:103364,src:"20634:37:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20624:47:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98614,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98611,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20837:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:98612,name:"LocalPreimageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103373,src:"20847:16:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LocalPreimageKey_$103373_$",typeString:"type(library LocalPreimageKey)"}},id:98613,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DISPUTED_L2_BLOCK_NUMBER",nodeType:"MemberAccess",referencedDeclaration:103368,src:"20847:41:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20837:51:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98648,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98645,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"21380:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:98646,name:"LocalPreimageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103373,src:"21390:16:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_LocalPreimageKey_$103373_$",typeString:"type(library LocalPreimageKey)"}},id:98647,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"CHAIN_ID",nodeType:"MemberAccess",referencedDeclaration:103372,src:"21390:25:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"21380:35:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:98670,nodeType:"Block",src:"21629:51:164",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:98667,name:"InvalidLocalIdent",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103168,src:"21650:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98668,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21650:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98669,nodeType:"RevertStatement",src:"21643:26:164"}]},id:98671,nodeType:"IfStatement",src:"21376:304:164",trueBody:{id:98666,nodeType:"Block",src:"21417:206:164",statements:[{expression:{arguments:[{id:98652,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"21547:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98653,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98538,src:"21555:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98654,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"21555:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98655,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21555:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98660,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98658,name:"L2_CHAIN_ID",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97749,src:"21575:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<<",rightExpression:{hexValue:"30784330",id:98659,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21590:4:164",typeDescriptions:{typeIdentifier:"t_rational_192_by_1",typeString:"int_const 192"},value:"0xC0"},src:"21575:19:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98657,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"21567:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:98656,name:"bytes32",nodeType:"ElementaryTypeName",src:"21567:7:164",typeDescriptions:{}}},id:98661,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21567:28:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{hexValue:"38",id:98662,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21597:1:164",typeDescriptions:{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},value:"8"},{id:98663,name:"_partOffset",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98509,src:"21600:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98649,name:"oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98548,src:"21526:6:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},id:98651,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"loadLocalData",nodeType:"MemberAccess",referencedDeclaration:96741,src:"21526:20:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256,bytes32,bytes32,uint256,uint256) external returns (bytes32)"}},id:98664,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21526:86:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:98665,nodeType:"ExpressionStatement",src:"21526:86:164"}]}},id:98672,nodeType:"IfStatement",src:"20833:847:164",trueBody:{id:98644,nodeType:"Block",src:"20890:480:164",statements:[{assignments:[98616],declarations:[{constant:!1,id:98616,mutability:"mutable",name:"l2Number",nameLocation:"21176:8:164",nodeType:"VariableDeclaration",scope:98644,src:"21168:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98615,name:"uint256",nodeType:"ElementaryTypeName",src:"21168:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:98626,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98625,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98623,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:98617,name:"startingOutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97811,src:"21187:18:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},id:98618,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2BlockNumber",nodeType:"MemberAccess",referencedDeclaration:103282,src:"21187:32:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{arguments:[{id:98621,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"21245:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98619,name:"disputedPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98531,src:"21222:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98620,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"traceIndex",nodeType:"MemberAccess",referencedDeclaration:100925,src:"21222:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position,uint256) pure returns (uint256)"}},id:98622,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21222:35:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"21187:70:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:98624,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21260:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"21187:74:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"21168:93:164"},{expression:{arguments:[{id:98630,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"21297:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98631,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98538,src:"21305:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98632,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"21305:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98633,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21305:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98638,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98636,name:"l2Number",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98616,src:"21325:8:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<<",rightExpression:{hexValue:"30784330",id:98637,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21337:4:164",typeDescriptions:{typeIdentifier:"t_rational_192_by_1",typeString:"int_const 192"},value:"0xC0"},src:"21325:16:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98635,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"21317:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:98634,name:"bytes32",nodeType:"ElementaryTypeName",src:"21317:7:164",typeDescriptions:{}}},id:98639,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21317:25:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{hexValue:"38",id:98640,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21344:1:164",typeDescriptions:{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},value:"8"},{id:98641,name:"_partOffset",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98509,src:"21347:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_rational_8_by_1",typeString:"int_const 8"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98627,name:"oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98548,src:"21276:6:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},id:98629,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"loadLocalData",nodeType:"MemberAccess",referencedDeclaration:96741,src:"21276:20:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256,bytes32,bytes32,uint256,uint256) external returns (bytes32)"}},id:98642,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21276:83:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:98643,nodeType:"ExpressionStatement",src:"21276:83:164"}]}},id:98673,nodeType:"IfStatement",src:"20620:1060:164",trueBody:{id:98610,nodeType:"Block",src:"20673:154:164",statements:[{expression:{arguments:[{id:98599,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20764:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98600,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98538,src:"20772:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98601,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"20772:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98602,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20772:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98603,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98528,src:"20784:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98604,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"20784:12:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:98605,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20784:14:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{hexValue:"3332",id:98606,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"20800:2:164",typeDescriptions:{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},value:"32"},{id:98607,name:"_partOffset",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98509,src:"20804:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98596,name:"oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98548,src:"20743:6:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},id:98598,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"loadLocalData",nodeType:"MemberAccess",referencedDeclaration:96741,src:"20743:20:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256,bytes32,bytes32,uint256,uint256) external returns (bytes32)"}},id:98608,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20743:73:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:98609,nodeType:"ExpressionStatement",src:"20743:73:164"}]}},id:98674,nodeType:"IfStatement",src:"20406:1274:164",trueBody:{id:98591,nodeType:"Block",src:"20459:155:164",statements:[{expression:{arguments:[{id:98580,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20551:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98581,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98538,src:"20559:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98582,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"20559:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98583,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20559:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98584,name:"starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98522,src:"20571:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:98585,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"20571:12:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:98586,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20571:14:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{hexValue:"3332",id:98587,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"20587:2:164",typeDescriptions:{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},value:"32"},{id:98588,name:"_partOffset",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98509,src:"20591:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98577,name:"oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98548,src:"20530:6:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},id:98579,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"loadLocalData",nodeType:"MemberAccess",referencedDeclaration:96741,src:"20530:20:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256,bytes32,bytes32,uint256,uint256) external returns (bytes32)"}},id:98589,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20530:73:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:98590,nodeType:"ExpressionStatement",src:"20530:73:164"}]}},id:98675,nodeType:"IfStatement",src:"20220:1460:164",trueBody:{id:98572,nodeType:"Block",src:"20265:135:164",statements:[{expression:{arguments:[{id:98560,name:"_ident",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98505,src:"20337:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[],expression:{argumentTypes:[],expression:{id:98561,name:"uuid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98538,src:"20345:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98562,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"20345:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98563,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20345:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],id:98564,name:"l1Head",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99044,src:"20357:6:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function () pure returns (Hash)"}},id:98565,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20357:8:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98566,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"20357:12:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:98567,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20357:14:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{hexValue:"3332",id:98568,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"20373:2:164",typeDescriptions:{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},value:"32"},{id:98569,name:"_partOffset",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98509,src:"20377:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:98557,name:"oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98548,src:"20316:6:164",typeDescriptions:{typeIdentifier:"t_contract$_IPreimageOracle_$96782",typeString:"contract IPreimageOracle"}},id:98559,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"loadLocalData",nodeType:"MemberAccess",referencedDeclaration:96741,src:"20316:20:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256,bytes32,bytes32,uint256,uint256) external returns (bytes32)"}},id:98570,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20316:73:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:98571,nodeType:"ExpressionStatement",src:"20316:73:164"}]}}]},baseFunctions:[100573],documentation:{id:98503,nodeType:"StructuredDocumentation",src:"19637:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"f8f43ff6",implemented:!0,kind:"function",modifiers:[],name:"addLocalData",nameLocation:"19684:12:164",parameters:{id:98510,nodeType:"ParameterList",parameters:[{constant:!1,id:98505,mutability:"mutable",name:"_ident",nameLocation:"19705:6:164",nodeType:"VariableDeclaration",scope:98677,src:"19697:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98504,name:"uint256",nodeType:"ElementaryTypeName",src:"19697:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98507,mutability:"mutable",name:"_execLeafIdx",nameLocation:"19721:12:164",nodeType:"VariableDeclaration",scope:98677,src:"19713:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98506,name:"uint256",nodeType:"ElementaryTypeName",src:"19713:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:98509,mutability:"mutable",name:"_partOffset",nameLocation:"19743:11:164",nodeType:"VariableDeclaration",scope:98677,src:"19735:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98508,name:"uint256",nodeType:"ElementaryTypeName",src:"19735:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"19696:59:164"},returnParameters:{id:98511,nodeType:"ParameterList",parameters:[],src:"19765:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:98690,nodeType:"FunctionDefinition",src:"21730:124:164",nodes:[],body:{id:98689,nodeType:"Block",src:"21800:54:164",nodes:[],statements:[{expression:{id:98687,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98683,name:"l2BlockNumber_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98681,src:"21810:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{hexValue:"30783534",id:98685,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21842:4:164",typeDescriptions:{typeIdentifier:"t_rational_84_by_1",typeString:"int_const 84"},value:"0x54"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_84_by_1",typeString:"int_const 84"}],id:98684,name:"_getArgUint256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:60489,src:"21827:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256) pure returns (uint256)"}},id:98686,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21827:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"21810:37:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:98688,nodeType:"ExpressionStatement",src:"21810:37:164"}]},baseFunctions:[100585],documentation:{id:98678,nodeType:"StructuredDocumentation",src:"21692:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"8b85902b",implemented:!0,kind:"function",modifiers:[],name:"l2BlockNumber",nameLocation:"21739:13:164",parameters:{id:98679,nodeType:"ParameterList",parameters:[],src:"21752:2:164"},returnParameters:{id:98682,nodeType:"ParameterList",parameters:[{constant:!1,id:98681,mutability:"mutable",name:"l2BlockNumber_",nameLocation:"21784:14:164",nodeType:"VariableDeclaration",scope:98690,src:"21776:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98680,name:"uint256",nodeType:"ElementaryTypeName",src:"21776:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"21775:24:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"public"},{id:98702,nodeType:"FunctionDefinition",src:"21898:156:164",nodes:[],body:{id:98701,nodeType:"Block",src:"21982:72:164",nodes:[],statements:[{expression:{id:98699,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98696,name:"startingBlockNumber_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98694,src:"21992:20:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98697,name:"startingOutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97811,src:"22015:18:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},id:98698,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2BlockNumber",nodeType:"MemberAccess",referencedDeclaration:103282,src:"22015:32:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"21992:55:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:98700,nodeType:"ExpressionStatement",src:"21992:55:164"}]},baseFunctions:[100600],documentation:{id:98691,nodeType:"StructuredDocumentation",src:"21860:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"70872aa5",implemented:!0,kind:"function",modifiers:[],name:"startingBlockNumber",nameLocation:"21907:19:164",parameters:{id:98692,nodeType:"ParameterList",parameters:[],src:"21926:2:164"},returnParameters:{id:98695,nodeType:"ParameterList",parameters:[{constant:!1,id:98694,mutability:"mutable",name:"startingBlockNumber_",nameLocation:"21960:20:164",nodeType:"VariableDeclaration",scope:98702,src:"21952:28:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98693,name:"uint256",nodeType:"ElementaryTypeName",src:"21952:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"21951:30:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:98715,nodeType:"FunctionDefinition",src:"22098:135:164",nodes:[],body:{id:98714,nodeType:"Block",src:"22173:60:164",nodes:[],statements:[{expression:{id:98712,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98709,name:"startingRootHash_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98707,src:"22183:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98710,name:"startingOutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97811,src:"22203:18:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},id:98711,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"root",nodeType:"MemberAccess",referencedDeclaration:103280,src:"22203:23:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},src:"22183:43:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:98713,nodeType:"ExpressionStatement",src:"22183:43:164"}]},baseFunctions:[100607],documentation:{id:98703,nodeType:"StructuredDocumentation",src:"22060:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"25fc2ace",implemented:!0,kind:"function",modifiers:[],name:"startingRootHash",nameLocation:"22107:16:164",parameters:{id:98704,nodeType:"ParameterList",parameters:[],src:"22123:2:164"},returnParameters:{id:98708,nodeType:"ParameterList",parameters:[{constant:!1,id:98707,mutability:"mutable",name:"startingRootHash_",nameLocation:"22154:17:164",nodeType:"VariableDeclaration",scope:98715,src:"22149:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:98706,nodeType:"UserDefinedTypeName",pathNode:{id:98705,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"22149:4:164"},referencedDeclaration:103253,src:"22149:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],src:"22148:24:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:98778,nodeType:"FunctionDefinition",src:"22480:905:164",nodes:[],body:{id:98777,nodeType:"Block",src:"22537:848:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:98725,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98722,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"22639:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98723,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"22649:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98724,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"22649:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"22639:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98729,nodeType:"IfStatement",src:"22635:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98726,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"22680:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98727,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22680:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98728,nodeType:"RevertStatement",src:"22673:26:164"}},{condition:{id:98733,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"22812:20:164",subExpression:{baseExpression:{id:98730,name:"resolvedSubgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97807,src:"22813:16:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:98732,indexExpression:{hexValue:"30",id:98731,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"22830:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"22813:19:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98737,nodeType:"IfStatement",src:"22808:55:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98734,name:"OutOfOrderResolution",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103171,src:"22841:20:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98735,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22841:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98736,nodeType:"RevertStatement",src:"22834:29:164"}},{expression:{id:98753,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98738,name:"status_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98720,src:"22943:7:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"Assignment",operator:"=",rightHandSide:{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:98747,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{baseExpression:{id:98739,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"22953:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98741,indexExpression:{hexValue:"30",id:98740,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"22963:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"22953:12:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},id:98742,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"22953:24:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:98745,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"22989:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98744,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"22981:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98743,name:"address",nodeType:"ElementaryTypeName",src:"22981:7:164",typeDescriptions:{}}},id:98746,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22981:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"22953:38:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{expression:{id:98750,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"23021:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98751,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHALLENGER_WINS",nodeType:"MemberAccess",referencedDeclaration:103275,src:"23021:26:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},id:98752,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"22953:94:164",trueExpression:{expression:{id:98748,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"22994:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98749,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"DEFENDER_WINS",nodeType:"MemberAccess",referencedDeclaration:103276,src:"22994:24:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"22943:104:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},id:98754,nodeType:"ExpressionStatement",src:"22943:104:164"},{expression:{id:98764,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98755,name:"resolvedAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97773,src:"23057:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{expression:{id:98760,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"23092:5:164",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:98761,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"23092:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98759,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"23085:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:98758,name:"uint64",nodeType:"ElementaryTypeName",src:"23085:6:164",typeDescriptions:{}}},id:98762,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23085:23:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:98756,name:"Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103261,src:"23070:9:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"type(Timestamp)"}},id:98757,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"23070:14:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (uint64) pure returns (Timestamp)"}},id:98763,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23070:39:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},src:"23057:52:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},id:98765,nodeType:"ExpressionStatement",src:"23057:52:164"},{eventCall:{arguments:[{id:98769,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98767,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"23239:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:98768,name:"status_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98720,src:"23248:7:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"23239:16:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}}],expression:{argumentTypes:[{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}],id:98766,name:"Resolved",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100253,src:"23230:8:164",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_enum$_GameStatus_$103277_$returns$__$",typeString:"function (enum GameStatus)"}},id:98770,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23230:26:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98771,nodeType:"EmitStatement",src:"23225:31:164"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:98772,name:"ANCHOR_STATE_REGISTRY",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97746,src:"23334:21:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},id:98774,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"tryUpdateAnchorState",nodeType:"MemberAccess",referencedDeclaration:100145,src:"23334:42:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$__$returns$__$",typeString:"function () external"}},id:98775,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23334:44:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98776,nodeType:"ExpressionStatement",src:"23334:44:164"}]},baseFunctions:[100314],documentation:{id:98716,nodeType:"StructuredDocumentation",src:"22447:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"2810e1d6",implemented:!0,kind:"function",modifiers:[],name:"resolve",nameLocation:"22489:7:164",parameters:{id:98717,nodeType:"ParameterList",parameters:[],src:"22496:2:164"},returnParameters:{id:98721,nodeType:"ParameterList",parameters:[{constant:!1,id:98720,mutability:"mutable",name:"status_",nameLocation:"22528:7:164",nodeType:"VariableDeclaration",scope:98778,src:"22517:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},typeName:{id:98719,nodeType:"UserDefinedTypeName",pathNode:{id:98718,name:"GameStatus",nodeType:"IdentifierPath",referencedDeclaration:103277,src:"22517:10:164"},referencedDeclaration:103277,src:"22517:10:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},visibility:"internal"}],src:"22516:20:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:98984,nodeType:"FunctionDefinition",src:"23429:3867:164",nodes:[],body:{id:98983,nodeType:"Block",src:"23481:3815:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:98787,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98784,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"23583:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:98785,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"23593:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:98786,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"23593:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"23583:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98791,nodeType:"IfStatement",src:"23579:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98788,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"23624:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98789,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23624:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98790,nodeType:"RevertStatement",src:"23617:26:164"}},{assignments:[98794],declarations:[{constant:!1,id:98794,mutability:"mutable",name:"subgameRootClaim",nameLocation:"23672:16:164",nodeType:"VariableDeclaration",scope:98983,src:"23654:34:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:98793,nodeType:"UserDefinedTypeName",pathNode:{id:98792,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"23654:9:164"},referencedDeclaration:100523,src:"23654:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:98798,initialValue:{baseExpression:{id:98795,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"23691:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98797,indexExpression:{id:98796,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"23701:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"23691:22:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"23654:59:164"},{assignments:[98801],declarations:[{constant:!1,id:98801,mutability:"mutable",name:"challengeClockDuration",nameLocation:"23732:22:164",nodeType:"VariableDeclaration",scope:98983,src:"23723:31:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:98800,nodeType:"UserDefinedTypeName",pathNode:{id:98799,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"23723:8:164"},referencedDeclaration:103263,src:"23723:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"}],id:98805,initialValue:{arguments:[{id:98803,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"23779:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:98802,name:"getChallengerDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99348,src:"23757:21:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (uint256) view returns (Duration)"}},id:98804,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23757:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"VariableDeclarationStatement",src:"23723:68:164"},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:98812,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98806,name:"challengeClockDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98801,src:"24071:22:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98807,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"24071:26:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98808,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24071:28:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98809,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"24102:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:98810,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"24102:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:98811,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24102:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"24071:55:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98816,nodeType:"IfStatement",src:"24067:85:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98813,name:"ClockNotExpired",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103150,src:"24135:15:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98814,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24135:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98815,nodeType:"RevertStatement",src:"24128:24:164"}},{condition:{baseExpression:{id:98817,name:"resolvedSubgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97807,src:"24221:16:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:98819,indexExpression:{id:98818,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"24238:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"24221:29:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98823,nodeType:"IfStatement",src:"24217:64:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98820,name:"ClaimAlreadyResolved",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103174,src:"24259:20:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98821,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24259:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98822,nodeType:"RevertStatement",src:"24252:29:164"}},{assignments:[98828],declarations:[{constant:!1,id:98828,mutability:"mutable",name:"challengeIndices",nameLocation:"24310:16:164",nodeType:"VariableDeclaration",scope:98983,src:"24292:34:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage_ptr",typeString:"uint256[]"},typeName:{baseType:{id:98826,name:"uint256",nodeType:"ElementaryTypeName",src:"24292:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:98827,nodeType:"ArrayTypeName",src:"24292:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage_ptr",typeString:"uint256[]"}},visibility:"internal"}],id:98832,initialValue:{baseExpression:{id:98829,name:"subgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97802,src:"24329:8:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$",typeString:"mapping(uint256 => uint256[] storage ref)"}},id:98831,indexExpression:{id:98830,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"24338:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"24329:21:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage",typeString:"uint256[] storage ref"}},nodeType:"VariableDeclarationStatement",src:"24292:58:164"},{assignments:[98834],declarations:[{constant:!1,id:98834,mutability:"mutable",name:"challengeIndicesLen",nameLocation:"24368:19:164",nodeType:"VariableDeclaration",scope:98983,src:"24360:27:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98833,name:"uint256",nodeType:"ElementaryTypeName",src:"24360:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:98837,initialValue:{expression:{id:98835,name:"challengeIndices",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98828,src:"24390:16:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage_ptr",typeString:"uint256[] storage pointer"}},id:98836,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"24390:23:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"24360:53:164"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:98844,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98840,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98838,name:"challengeIndicesLen",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98834,src:"24576:19:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:98839,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"24599:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"24576:24:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98843,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98841,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"24604:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{hexValue:"30",id:98842,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"24619:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"24604:16:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"24576:44:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98876,nodeType:"IfStatement",src:"24572:805:164",trueBody:{id:98875,nodeType:"Block",src:"24622:755:164",statements:[{assignments:[98846],declarations:[{constant:!1,id:98846,mutability:"mutable",name:"counteredBy",nameLocation:"25095:11:164",nodeType:"VariableDeclaration",scope:98875,src:"25087:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:98845,name:"address",nodeType:"ElementaryTypeName",src:"25087:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:98849,initialValue:{expression:{id:98847,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"25109:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98848,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"25109:28:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"25087:50:164"},{assignments:[98851],declarations:[{constant:!1,id:98851,mutability:"mutable",name:"recipient",nameLocation:"25159:9:164",nodeType:"VariableDeclaration",scope:98875,src:"25151:17:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:98850,name:"address",nodeType:"ElementaryTypeName",src:"25151:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:98862,initialValue:{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:98857,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98852,name:"counteredBy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98846,src:"25171:11:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:98855,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"25194:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98854,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"25186:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98853,name:"address",nodeType:"ElementaryTypeName",src:"25186:7:164",typeDescriptions:{}}},id:98856,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25186:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"25171:25:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{id:98860,name:"counteredBy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98846,src:"25227:11:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:98861,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"25171:67:164",trueExpression:{expression:{id:98858,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"25199:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98859,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claimant",nodeType:"MemberAccess",referencedDeclaration:100511,src:"25199:25:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"25151:87:164"},{expression:{arguments:[{id:98864,name:"recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98851,src:"25268:9:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:98865,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"25279:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}],id:98863,name:"_distributeBond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99493,src:"25252:15:164",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_struct$_ClaimData_$100523_storage_ptr_$returns$__$",typeString:"function (address,struct IFaultDisputeGame.ClaimData storage pointer)"}},id:98866,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25252:44:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98867,nodeType:"ExpressionStatement",src:"25252:44:164"},{expression:{id:98872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:98868,name:"resolvedSubgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97807,src:"25310:16:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:98870,indexExpression:{id:98869,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"25327:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"25310:29:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:98871,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"25342:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"25310:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98873,nodeType:"ExpressionStatement",src:"25310:36:164"},{functionReturnParameters:98783,id:98874,nodeType:"Return",src:"25360:7:164"}]}},{assignments:[98878],declarations:[{constant:!1,id:98878,mutability:"mutable",name:"countered",nameLocation:"25453:9:164",nodeType:"VariableDeclaration",scope:98983,src:"25445:17:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:98877,name:"address",nodeType:"ElementaryTypeName",src:"25445:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:98883,initialValue:{arguments:[{hexValue:"30",id:98881,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"25473:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98880,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"25465:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98879,name:"address",nodeType:"ElementaryTypeName",src:"25465:7:164",typeDescriptions:{}}},id:98882,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25465:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"25445:30:164"},{assignments:[98886],declarations:[{constant:!1,id:98886,mutability:"mutable",name:"leftmostCounter",nameLocation:"25494:15:164",nodeType:"VariableDeclaration",scope:98983,src:"25485:24:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:98885,nodeType:"UserDefinedTypeName",pathNode:{id:98884,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"25485:8:164"},referencedDeclaration:103269,src:"25485:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:98895,initialValue:{arguments:[{expression:{arguments:[{id:98891,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"25531:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:98890,name:"uint128",nodeType:"ElementaryTypeName",src:"25531:7:164",typeDescriptions:{}}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"}],id:98889,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"25526:4:164",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:98892,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25526:13:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_uint128",typeString:"type(uint128)"}},id:98893,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"max",nodeType:"MemberAccess",src:"25526:17:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:98887,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"25512:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:98888,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"25512:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:98894,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25512:32:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"25485:59:164"},{body:{id:98955,nodeType:"Block",src:"25604:1079:164",statements:[{assignments:[98907],declarations:[{constant:!1,id:98907,mutability:"mutable",name:"challengeIndex",nameLocation:"25626:14:164",nodeType:"VariableDeclaration",scope:98955,src:"25618:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98906,name:"uint256",nodeType:"ElementaryTypeName",src:"25618:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:98911,initialValue:{baseExpression:{id:98908,name:"challengeIndices",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98828,src:"25643:16:164",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$dyn_storage_ptr",typeString:"uint256[] storage pointer"}},id:98910,indexExpression:{id:98909,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98897,src:"25660:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"25643:19:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"25618:44:164"},{condition:{id:98915,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"25763:33:164",subExpression:{baseExpression:{id:98912,name:"resolvedSubgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97807,src:"25764:16:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:98914,indexExpression:{id:98913,name:"challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98907,src:"25781:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"25764:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98919,nodeType:"IfStatement",src:"25759:68:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:98916,name:"OutOfOrderResolution",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103171,src:"25805:20:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:98917,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"25805:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98918,nodeType:"RevertStatement",src:"25798:29:164"}},{assignments:[98922],declarations:[{constant:!1,id:98922,mutability:"mutable",name:"claim",nameLocation:"25860:5:164",nodeType:"VariableDeclaration",scope:98955,src:"25842:23:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:98921,nodeType:"UserDefinedTypeName",pathNode:{id:98920,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"25842:9:164"},referencedDeclaration:100523,src:"25842:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:98926,initialValue:{baseExpression:{id:98923,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"25868:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:98925,indexExpression:{id:98924,name:"challengeIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98907,src:"25878:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"25868:25:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"25842:51:164"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:98942,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:98933,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:98927,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98922,src:"26483:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98928,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"26483:17:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:98931,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"26512:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98930,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"26504:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98929,name:"address",nodeType:"ElementaryTypeName",src:"26504:7:164",typeDescriptions:{}}},id:98932,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"26504:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"26483:31:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:98941,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:98934,name:"leftmostCounter",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98886,src:"26518:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98935,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"26518:19:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:98936,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"26518:21:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:">",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:98937,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98922,src:"26542:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98938,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"26542:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98939,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"26542:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:98940,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"26542:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},src:"26518:44:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"26483:79:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98954,nodeType:"IfStatement",src:"26479:194:164",trueBody:{id:98953,nodeType:"Block",src:"26564:109:164",statements:[{expression:{id:98946,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98943,name:"countered",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98878,src:"26582:9:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98944,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98922,src:"26594:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98945,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claimant",nodeType:"MemberAccess",referencedDeclaration:100511,src:"26594:14:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"26582:26:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:98947,nodeType:"ExpressionStatement",src:"26582:26:164"},{expression:{id:98951,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98948,name:"leftmostCounter",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98886,src:"26626:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:98949,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98922,src:"26644:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98950,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"26644:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},src:"26626:32:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:98952,nodeType:"ExpressionStatement",src:"26626:32:164"}]}}]},condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:98902,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98900,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98897,src:"25574:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{id:98901,name:"challengeIndicesLen",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98834,src:"25578:19:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"25574:23:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98956,initializationExpression:{assignments:[98897],declarations:[{constant:!1,id:98897,mutability:"mutable",name:"i",nameLocation:"25567:1:164",nodeType:"VariableDeclaration",scope:98956,src:"25559:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98896,name:"uint256",nodeType:"ElementaryTypeName",src:"25559:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:98899,initialValue:{hexValue:"30",id:98898,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"25571:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},nodeType:"VariableDeclarationStatement",src:"25559:13:164"},loopExpression:{expression:{id:98904,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"++",prefix:!0,src:"25599:3:164",subExpression:{id:98903,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98897,src:"25601:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:98905,nodeType:"ExpressionStatement",src:"25599:3:164"},nodeType:"ForStatement",src:"25554:1129:164"},{expression:{arguments:[{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:98963,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:98958,name:"countered",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98878,src:"26907:9:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:98961,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"26928:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:98960,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"26920:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:98959,name:"address",nodeType:"ElementaryTypeName",src:"26920:7:164",typeDescriptions:{}}},id:98962,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"26920:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"26907:23:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{id:98966,name:"countered",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98878,src:"26961:9:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:98967,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"26907:63:164",trueExpression:{expression:{id:98964,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"26933:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98965,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claimant",nodeType:"MemberAccess",referencedDeclaration:100511,src:"26933:25:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:98968,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"26972:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}],id:98957,name:"_distributeBond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99493,src:"26891:15:164",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_struct$_ClaimData_$100523_storage_ptr_$returns$__$",typeString:"function (address,struct IFaultDisputeGame.ClaimData storage pointer)"}},id:98969,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"26891:98:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:98970,nodeType:"ExpressionStatement",src:"26891:98:164"},{expression:{id:98975,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{expression:{id:98971,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98794,src:"27161:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:98973,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,memberName:"counteredBy",nodeType:"MemberAccess",referencedDeclaration:100509,src:"27161:28:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:98974,name:"countered",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98878,src:"27192:9:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"27161:40:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:98976,nodeType:"ExpressionStatement",src:"27161:40:164"},{expression:{id:98981,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:98977,name:"resolvedSubgames",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97807,src:"27253:16:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:98979,indexExpression:{id:98978,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98781,src:"27270:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"27253:29:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:98980,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"27285:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"27253:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:98982,nodeType:"ExpressionStatement",src:"27253:36:164"}]},baseFunctions:[100579],documentation:{id:98779,nodeType:"StructuredDocumentation",src:"23391:33:164",text:"@inheritdoc IFaultDisputeGame"},functionSelector:"fdffbb28",implemented:!0,kind:"function",modifiers:[],name:"resolveClaim",nameLocation:"23438:12:164",parameters:{id:98782,nodeType:"ParameterList",parameters:[{constant:!1,id:98781,mutability:"mutable",name:"_claimIndex",nameLocation:"23459:11:164",nodeType:"VariableDeclaration",scope:98984,src:"23451:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:98780,name:"uint256",nodeType:"ElementaryTypeName",src:"23451:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"23450:21:164"},returnParameters:{id:98783,nodeType:"ParameterList",parameters:[],src:"23481:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:98997,nodeType:"FunctionDefinition",src:"27335:108:164",nodes:[],body:{id:98996,nodeType:"Block",src:"27405:38:164",nodes:[],statements:[{expression:{id:98994,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:98992,name:"gameType_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98990,src:"27415:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:98993,name:"GAME_TYPE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97738,src:"27427:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},src:"27415:21:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:98995,nodeType:"ExpressionStatement",src:"27415:21:164"}]},baseFunctions:[100281],documentation:{id:98985,nodeType:"StructuredDocumentation",src:"27302:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"bbdc02db",implemented:!0,kind:"function",modifiers:[],name:"gameType",nameLocation:"27344:8:164",overrides:{id:98987,nodeType:"OverrideSpecifier",overrides:[],src:"27367:8:164"},parameters:{id:98986,nodeType:"ParameterList",parameters:[],src:"27352:2:164"},returnParameters:{id:98991,nodeType:"ParameterList",parameters:[{constant:!1,id:98990,mutability:"mutable",name:"gameType_",nameLocation:"27394:9:164",nodeType:"VariableDeclaration",scope:98997,src:"27385:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:98989,nodeType:"UserDefinedTypeName",pathNode:{id:98988,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"27385:8:164"},referencedDeclaration:103271,src:"27385:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"}],src:"27384:20:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"public"},{id:99010,nodeType:"FunctionDefinition",src:"27482:110:164",nodes:[],body:{id:99009,nodeType:"Block",src:"27544:48:164",nodes:[],statements:[{expression:{id:99007,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99003,name:"creator_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99001,src:"27554:8:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{hexValue:"30783030",id:99005,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"27580:4:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0x00"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:99004,name:"_getArgAddress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:60423,src:"27565:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$returns$_t_address_$",typeString:"function (uint256) pure returns (address)"}},id:99006,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"27565:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"27554:31:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:99008,nodeType:"ExpressionStatement",src:"27554:31:164"}]},baseFunctions:[100287],documentation:{id:98998,nodeType:"StructuredDocumentation",src:"27449:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"37b1b229",implemented:!0,kind:"function",modifiers:[],name:"gameCreator",nameLocation:"27491:11:164",parameters:{id:98999,nodeType:"ParameterList",parameters:[],src:"27502:2:164"},returnParameters:{id:99002,nodeType:"ParameterList",parameters:[{constant:!1,id:99001,mutability:"mutable",name:"creator_",nameLocation:"27534:8:164",nodeType:"VariableDeclaration",scope:99010,src:"27526:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:99e3,name:"address",nodeType:"ElementaryTypeName",src:"27526:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"27525:18:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"public"},{id:99027,nodeType:"FunctionDefinition",src:"27631:122:164",nodes:[],body:{id:99026,nodeType:"Block",src:"27691:62:164",nodes:[],statements:[{expression:{id:99024,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99017,name:"rootClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99015,src:"27701:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{hexValue:"30783134",id:99021,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"27740:4:164",typeDescriptions:{typeIdentifier:"t_rational_20_by_1",typeString:"int_const 20"},value:"0x14"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_20_by_1",typeString:"int_const 20"}],id:99020,name:"_getArgBytes32",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:60474,src:"27725:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256) pure returns (bytes32)"}},id:99022,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"27725:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:99018,name:"Claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103255,src:"27714:5:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Claim_$103255_$",typeString:"type(Claim)"}},id:99019,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"27714:10:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (bytes32) pure returns (Claim)"}},id:99023,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"27714:32:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"27701:45:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:99025,nodeType:"ExpressionStatement",src:"27701:45:164"}]},baseFunctions:[100294],documentation:{id:99011,nodeType:"StructuredDocumentation",src:"27598:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"bcef3b55",implemented:!0,kind:"function",modifiers:[],name:"rootClaim",nameLocation:"27640:9:164",parameters:{id:99012,nodeType:"ParameterList",parameters:[],src:"27649:2:164"},returnParameters:{id:99016,nodeType:"ParameterList",parameters:[{constant:!1,id:99015,mutability:"mutable",name:"rootClaim_",nameLocation:"27679:10:164",nodeType:"VariableDeclaration",scope:99027,src:"27673:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99014,nodeType:"UserDefinedTypeName",pathNode:{id:99013,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"27673:5:164"},referencedDeclaration:103255,src:"27673:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],src:"27672:18:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"public"},{id:99044,nodeType:"FunctionDefinition",src:"27792:111:164",nodes:[],body:{id:99043,nodeType:"Block",src:"27845:58:164",nodes:[],statements:[{expression:{id:99041,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99034,name:"l1Head_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99032,src:"27855:7:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[{hexValue:"30783334",id:99038,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"27890:4:164",typeDescriptions:{typeIdentifier:"t_rational_52_by_1",typeString:"int_const 52"},value:"0x34"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_52_by_1",typeString:"int_const 52"}],id:99037,name:"_getArgBytes32",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:60474,src:"27875:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256) pure returns (bytes32)"}},id:99039,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"27875:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:99035,name:"Hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103253,src:"27865:4:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Hash_$103253_$",typeString:"type(Hash)"}},id:99036,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"27865:9:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (bytes32) pure returns (Hash)"}},id:99040,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"27865:31:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},src:"27855:41:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:99042,nodeType:"ExpressionStatement",src:"27855:41:164"}]},baseFunctions:[100301],documentation:{id:99028,nodeType:"StructuredDocumentation",src:"27759:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"6361506d",implemented:!0,kind:"function",modifiers:[],name:"l1Head",nameLocation:"27801:6:164",parameters:{id:99029,nodeType:"ParameterList",parameters:[],src:"27807:2:164"},returnParameters:{id:99033,nodeType:"ParameterList",parameters:[{constant:!1,id:99032,mutability:"mutable",name:"l1Head_",nameLocation:"27836:7:164",nodeType:"VariableDeclaration",scope:99044,src:"27831:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:99031,nodeType:"UserDefinedTypeName",pathNode:{id:99030,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"27831:4:164"},referencedDeclaration:103253,src:"27831:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],src:"27830:14:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"public"},{id:99058,nodeType:"FunctionDefinition",src:"27942:231:164",nodes:[],body:{id:99057,nodeType:"Block",src:"28009:164:164",nodes:[],statements:[{expression:{id:99055,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99050,name:"extraData_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99048,src:"28129:10:164",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{hexValue:"30783534",id:99052,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"28155:4:164",typeDescriptions:{typeIdentifier:"t_rational_84_by_1",typeString:"int_const 84"},value:"0x54"},{hexValue:"30783230",id:99053,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"28161:4:164",typeDescriptions:{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"},value:"0x20"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_84_by_1",typeString:"int_const 84"},{typeIdentifier:"t_rational_32_by_1",typeString:"int_const 32"}],id:99051,name:"_getArgBytes",nodeType:"Identifier",overloadedDeclarations:[60391,60408],referencedDeclaration:60408,src:"28142:12:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$",typeString:"function (uint256,uint256) pure returns (bytes memory)"}},id:99054,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28142:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},src:"28129:37:164",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:99056,nodeType:"ExpressionStatement",src:"28129:37:164"}]},baseFunctions:[100307],documentation:{id:99045,nodeType:"StructuredDocumentation",src:"27909:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"609d3334",implemented:!0,kind:"function",modifiers:[],name:"extraData",nameLocation:"27951:9:164",parameters:{id:99046,nodeType:"ParameterList",parameters:[],src:"27960:2:164"},returnParameters:{id:99049,nodeType:"ParameterList",parameters:[{constant:!1,id:99048,mutability:"mutable",name:"extraData_",nameLocation:"27997:10:164",nodeType:"VariableDeclaration",scope:99058,src:"27984:23:164",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:99047,name:"bytes",nodeType:"ElementaryTypeName",src:"27984:5:164",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"27983:25:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"public"},{id:99086,nodeType:"FunctionDefinition",src:"28212:213:164",nodes:[],body:{id:99085,nodeType:"Block",src:"28318:107:164",nodes:[],statements:[{expression:{id:99073,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99070,name:"gameType_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99063,src:"28328:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],id:99071,name:"gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:98997,src:"28340:8:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function () view returns (GameType)"}},id:99072,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28340:10:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},src:"28328:22:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:99074,nodeType:"ExpressionStatement",src:"28328:22:164"},{expression:{id:99078,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99075,name:"rootClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99066,src:"28360:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],id:99076,name:"rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99027,src:"28373:9:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function () pure returns (Claim)"}},id:99077,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28373:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"28360:24:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:99079,nodeType:"ExpressionStatement",src:"28360:24:164"},{expression:{id:99083,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99080,name:"extraData_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99068,src:"28394:10:164",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],id:99081,name:"extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99058,src:"28407:9:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:99082,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28407:11:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},src:"28394:24:164",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:99084,nodeType:"ExpressionStatement",src:"28394:24:164"}]},baseFunctions:[100326],documentation:{id:99059,nodeType:"StructuredDocumentation",src:"28179:28:164",text:"@inheritdoc IDisputeGame"},functionSelector:"fa24f743",implemented:!0,kind:"function",modifiers:[],name:"gameData",nameLocation:"28221:8:164",parameters:{id:99060,nodeType:"ParameterList",parameters:[],src:"28229:2:164"},returnParameters:{id:99069,nodeType:"ParameterList",parameters:[{constant:!1,id:99063,mutability:"mutable",name:"gameType_",nameLocation:"28264:9:164",nodeType:"VariableDeclaration",scope:99086,src:"28255:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:99062,nodeType:"UserDefinedTypeName",pathNode:{id:99061,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"28255:8:164"},referencedDeclaration:103271,src:"28255:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},{constant:!1,id:99066,mutability:"mutable",name:"rootClaim_",nameLocation:"28281:10:164",nodeType:"VariableDeclaration",scope:99086,src:"28275:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99065,nodeType:"UserDefinedTypeName",pathNode:{id:99064,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"28275:5:164"},referencedDeclaration:103255,src:"28275:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99068,mutability:"mutable",name:"extraData_",nameLocation:"28306:10:164",nodeType:"VariableDeclaration",scope:99086,src:"28293:23:164",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:99067,name:"bytes",nodeType:"ElementaryTypeName",src:"28293:5:164",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"28254:63:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99215,nodeType:"FunctionDefinition",src:"28849:2171:164",nodes:[],body:{id:99214,nodeType:"Block",src:"28938:2082:164",nodes:[],statements:[{assignments:[99096],declarations:[{constant:!1,id:99096,mutability:"mutable",name:"depth",nameLocation:"28956:5:164",nodeType:"VariableDeclaration",scope:99214,src:"28948:13:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99095,name:"uint256",nodeType:"ElementaryTypeName",src:"28948:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99103,initialValue:{arguments:[{arguments:[],expression:{argumentTypes:[],expression:{id:99099,name:"_position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99090,src:"28972:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99100,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"28972:15:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:99101,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28972:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint8",typeString:"uint8"}],id:99098,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"28964:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:99097,name:"uint256",nodeType:"ElementaryTypeName",src:"28964:7:164",typeDescriptions:{}}},id:99102,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"28964:26:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"28948:42:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99106,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99104,name:"depth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99096,src:"29004:5:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:99105,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"29012:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"29004:22:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99110,nodeType:"IfStatement",src:"29000:54:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:99107,name:"GameDepthExceeded",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103153,src:"29035:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:99108,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"29035:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99109,nodeType:"RevertStatement",src:"29028:26:164"}},{assignments:[99112],declarations:[{constant:!1,id:99112,mutability:"mutable",name:"assumedBaseFee",nameLocation:"29128:14:164",nodeType:"VariableDeclaration",scope:99214,src:"29120:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99111,name:"uint256",nodeType:"ElementaryTypeName",src:"29120:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99114,initialValue:{hexValue:"323030",id:99113,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"29145:8:164",subdenomination:"gwei",typeDescriptions:{typeIdentifier:"t_rational_200000000000_by_1",typeString:"int_const 200000000000"},value:"200"},nodeType:"VariableDeclarationStatement",src:"29120:33:164"},{assignments:[99116],declarations:[{constant:!1,id:99116,mutability:"mutable",name:"baseGasCharged",nameLocation:"29171:14:164",nodeType:"VariableDeclaration",scope:99214,src:"29163:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99115,name:"uint256",nodeType:"ElementaryTypeName",src:"29163:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99118,initialValue:{hexValue:"3430305f303030",id:99117,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"29188:7:164",typeDescriptions:{typeIdentifier:"t_rational_400000_by_1",typeString:"int_const 400000"},value:"400_000"},nodeType:"VariableDeclarationStatement",src:"29163:32:164"},{assignments:[99120],declarations:[{constant:!1,id:99120,mutability:"mutable",name:"highGasCharged",nameLocation:"29213:14:164",nodeType:"VariableDeclaration",scope:99214,src:"29205:22:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99119,name:"uint256",nodeType:"ElementaryTypeName",src:"29205:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99122,initialValue:{hexValue:"3230305f3030305f303030",id:99121,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"29230:11:164",typeDescriptions:{typeIdentifier:"t_rational_200000000_by_1",typeString:"int_const 200000000"},value:"200_000_000"},nodeType:"VariableDeclarationStatement",src:"29205:36:164"},{assignments:[99124],declarations:[{constant:!1,id:99124,mutability:"mutable",name:"a",nameLocation:"29993:1:164",nodeType:"VariableDeclaration",scope:99214,src:"29985:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99123,name:"uint256",nodeType:"ElementaryTypeName",src:"29985:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99128,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99127,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99125,name:"highGasCharged",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99120,src:"29997:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"/",rightExpression:{id:99126,name:"baseGasCharged",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99116,src:"30014:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"29997:31:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"29985:43:164"},{assignments:[99130],declarations:[{constant:!1,id:99130,mutability:"mutable",name:"b",nameLocation:"30046:1:164",nodeType:"VariableDeclaration",scope:99214,src:"30038:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99129,name:"uint256",nodeType:"ElementaryTypeName",src:"30038:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99133,initialValue:{expression:{id:99131,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30050:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99132,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"WAD",nodeType:"MemberAccess",referencedDeclaration:61009,src:"30050:21:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30038:33:164"},{assignments:[99135],declarations:[{constant:!1,id:99135,mutability:"mutable",name:"c",nameLocation:"30089:1:164",nodeType:"VariableDeclaration",scope:99214,src:"30081:9:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99134,name:"uint256",nodeType:"ElementaryTypeName",src:"30081:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99140,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99139,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99136,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"30093:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{expression:{id:99137,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30110:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99138,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"WAD",nodeType:"MemberAccess",referencedDeclaration:61009,src:"30110:21:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"30093:38:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30081:50:164"},{assignments:[99142],declarations:[{constant:!1,id:99142,mutability:"mutable",name:"lnA",nameLocation:"30236:3:164",nodeType:"VariableDeclaration",scope:99214,src:"30228:11:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99141,name:"uint256",nodeType:"ElementaryTypeName",src:"30228:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99156,initialValue:{arguments:[{arguments:[{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99152,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99149,name:"a",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99124,src:"30281:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{expression:{id:99150,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30285:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99151,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"WAD",nodeType:"MemberAccess",referencedDeclaration:61009,src:"30285:21:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"30281:25:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:99148,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"30274:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_int256_$",typeString:"type(int256)"},typeName:{id:99147,name:"int256",nodeType:"ElementaryTypeName",src:"30274:6:164",typeDescriptions:{}}},id:99153,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30274:33:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}}],expression:{argumentTypes:[{typeIdentifier:"t_int256",typeString:"int256"}],expression:{id:99145,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30250:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99146,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"lnWad",nodeType:"MemberAccess",referencedDeclaration:61377,src:"30250:23:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_int256_$returns$_t_int256_$",typeString:"function (int256) pure returns (int256)"}},id:99154,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30250:58:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}}],expression:{argumentTypes:[{typeIdentifier:"t_int256",typeString:"int256"}],id:99144,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"30242:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:99143,name:"uint256",nodeType:"ElementaryTypeName",src:"30242:7:164",typeDescriptions:{}}},id:99155,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30242:67:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30228:81:164"},{assignments:[99158],declarations:[{constant:!1,id:99158,mutability:"mutable",name:"bOverC",nameLocation:"30394:6:164",nodeType:"VariableDeclaration",scope:99214,src:"30386:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99157,name:"uint256",nodeType:"ElementaryTypeName",src:"30386:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99164,initialValue:{arguments:[{id:99161,name:"b",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99130,src:"30428:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:99162,name:"c",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99135,src:"30431:1:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99159,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30403:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99160,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"divWad",nodeType:"MemberAccess",referencedDeclaration:61093,src:"30403:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256,uint256) pure returns (uint256)"}},id:99163,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30403:30:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30386:47:164"},{assignments:[99166],declarations:[{constant:!1,id:99166,mutability:"mutable",name:"numerator",nameLocation:"30575:9:164",nodeType:"VariableDeclaration",scope:99214,src:"30567:17:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99165,name:"uint256",nodeType:"ElementaryTypeName",src:"30567:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99172,initialValue:{arguments:[{id:99169,name:"lnA",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99142,src:"30612:3:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:99170,name:"bOverC",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99158,src:"30617:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99167,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30587:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99168,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"mulWad",nodeType:"MemberAccess",referencedDeclaration:61021,src:"30587:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256,uint256) pure returns (uint256)"}},id:99171,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30587:37:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30567:57:164"},{assignments:[99174],declarations:[{constant:!1,id:99174,mutability:"mutable",name:"base",nameLocation:"30641:4:164",nodeType:"VariableDeclaration",scope:99214,src:"30634:11:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"},typeName:{id:99173,name:"int256",nodeType:"ElementaryTypeName",src:"30634:6:164",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}},visibility:"internal"}],id:99182,initialValue:{arguments:[{arguments:[{id:99179,name:"numerator",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99166,src:"30680:9:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:99178,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"30673:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_int256_$",typeString:"type(int256)"},typeName:{id:99177,name:"int256",nodeType:"ElementaryTypeName",src:"30673:6:164",typeDescriptions:{}}},id:99180,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30673:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}}],expression:{argumentTypes:[{typeIdentifier:"t_int256",typeString:"int256"}],expression:{id:99175,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30648:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99176,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"expWad",nodeType:"MemberAccess",referencedDeclaration:61367,src:"30648:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_int256_$returns$_t_int256_$",typeString:"function (int256) pure returns (int256)"}},id:99181,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30648:43:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}},nodeType:"VariableDeclarationStatement",src:"30634:57:164"},{assignments:[99184],declarations:[{constant:!1,id:99184,mutability:"mutable",name:"rawGas",nameLocation:"30753:6:164",nodeType:"VariableDeclaration",scope:99214,src:"30746:13:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"},typeName:{id:99183,name:"int256",nodeType:"ElementaryTypeName",src:"30746:6:164",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}},visibility:"internal"}],id:99196,initialValue:{arguments:[{id:99187,name:"base",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99174,src:"30787:4:164",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}},{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99193,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99190,name:"depth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99096,src:"30800:5:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{expression:{id:99191,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30808:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99192,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"WAD",nodeType:"MemberAccess",referencedDeclaration:61009,src:"30808:21:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"30800:29:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:99189,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"30793:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_int256_$",typeString:"type(int256)"},typeName:{id:99188,name:"int256",nodeType:"ElementaryTypeName",src:"30793:6:164",typeDescriptions:{}}},id:99194,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30793:37:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}}],expression:{argumentTypes:[{typeIdentifier:"t_int256",typeString:"int256"},{typeIdentifier:"t_int256",typeString:"int256"}],expression:{id:99185,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30762:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99186,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"powWad",nodeType:"MemberAccess",referencedDeclaration:61178,src:"30762:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_int256_$",typeString:"function (int256,int256) pure returns (int256)"}},id:99195,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30762:69:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}},nodeType:"VariableDeclarationStatement",src:"30746:85:164"},{assignments:[99198],declarations:[{constant:!1,id:99198,mutability:"mutable",name:"requiredGas",nameLocation:"30849:11:164",nodeType:"VariableDeclaration",scope:99214,src:"30841:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99197,name:"uint256",nodeType:"ElementaryTypeName",src:"30841:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99207,initialValue:{arguments:[{id:99201,name:"baseGasCharged",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99116,src:"30888:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[{id:99204,name:"rawGas",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99184,src:"30912:6:164",typeDescriptions:{typeIdentifier:"t_int256",typeString:"int256"}}],expression:{argumentTypes:[{typeIdentifier:"t_int256",typeString:"int256"}],id:99203,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"30904:7:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:99202,name:"uint256",nodeType:"ElementaryTypeName",src:"30904:7:164",typeDescriptions:{}}},id:99205,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30904:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99199,name:"FixedPointMathLib",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:62288,src:"30863:17:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_FixedPointMathLib_$62288_$",typeString:"type(library FixedPointMathLib)"}},id:99200,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"mulWad",nodeType:"MemberAccess",referencedDeclaration:61021,src:"30863:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256,uint256) pure returns (uint256)"}},id:99206,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"30863:57:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"30841:79:164"},{expression:{id:99212,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99208,name:"requiredBond_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99093,src:"30969:13:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99211,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99209,name:"assumedBaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99112,src:"30985:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{id:99210,name:"requiredGas",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99198,src:"31002:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"30985:28:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"30969:44:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99213,nodeType:"ExpressionStatement",src:"30969:44:164"}]},documentation:{id:99087,nodeType:"StructuredDocumentation",src:"28639:205:164",text:`@notice Returns the required bond for a given move kind. + @param _position The position of the bonded interaction. + @return requiredBond_ The required ETH bond for the given move, in wei.`},functionSelector:"c395e1ca",implemented:!0,kind:"function",modifiers:[],name:"getRequiredBond",nameLocation:"28858:15:164",parameters:{id:99091,nodeType:"ParameterList",parameters:[{constant:!1,id:99090,mutability:"mutable",name:"_position",nameLocation:"28883:9:164",nodeType:"VariableDeclaration",scope:99215,src:"28874:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99089,nodeType:"UserDefinedTypeName",pathNode:{id:99088,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"28874:8:164"},referencedDeclaration:103269,src:"28874:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],src:"28873:20:164"},returnParameters:{id:99094,nodeType:"ParameterList",parameters:[{constant:!1,id:99093,mutability:"mutable",name:"requiredBond_",nameLocation:"28923:13:164",nodeType:"VariableDeclaration",scope:99215,src:"28915:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99092,name:"uint256",nodeType:"ElementaryTypeName",src:"28915:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"28914:23:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"public"},{id:99264,nodeType:"FunctionDefinition",src:"31160:671:164",nodes:[],body:{id:99263,nodeType:"Block",src:"31210:621:164",nodes:[],statements:[{assignments:[99222],declarations:[{constant:!1,id:99222,mutability:"mutable",name:"recipientCredit",nameLocation:"31315:15:164",nodeType:"VariableDeclaration",scope:99263,src:"31307:23:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99221,name:"uint256",nodeType:"ElementaryTypeName",src:"31307:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99226,initialValue:{baseExpression:{id:99223,name:"credit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97790,src:"31333:6:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_uint256_$",typeString:"mapping(address => uint256)"}},id:99225,indexExpression:{id:99224,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99218,src:"31340:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"31333:18:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"31307:44:164"},{expression:{id:99231,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:99227,name:"credit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97790,src:"31361:6:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_uint256_$",typeString:"mapping(address => uint256)"}},id:99229,indexExpression:{id:99228,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99218,src:"31368:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"31361:18:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"30",id:99230,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"31382:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"31361:22:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99232,nodeType:"ExpressionStatement",src:"31361:22:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99235,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99233,name:"recipientCredit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99222,src:"31457:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:99234,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"31476:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"31457:20:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99240,nodeType:"IfStatement",src:"31453:75:164",trueBody:{id:99239,nodeType:"Block",src:"31479:49:164",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:99236,name:"NoCreditToClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103126,src:"31500:15:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:99237,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"31500:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99238,nodeType:"RevertStatement",src:"31493:24:164"}]}},{expression:{arguments:[{id:99244,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99218,src:"31619:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:99245,name:"recipientCredit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99222,src:"31631:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99241,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"31605:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:99243,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"withdraw",nodeType:"MemberAccess",referencedDeclaration:100224,src:"31605:13:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256) external"}},id:99246,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"31605:42:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99247,nodeType:"ExpressionStatement",src:"31605:42:164"},{assignments:[99249,null],declarations:[{constant:!1,id:99249,mutability:"mutable",name:"success",nameLocation:"31713:7:164",nodeType:"VariableDeclaration",scope:99263,src:"31708:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:99248,name:"bool",nodeType:"ElementaryTypeName",src:"31708:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},null],id:99256,initialValue:{arguments:[{hexValue:"",id:99254,isConstant:!1,isLValue:!1,isPure:!0,kind:"hexString",lValueRequested:!1,nodeType:"Literal",src:"31767:5:164",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],expression:{id:99250,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99218,src:"31725:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:99251,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"call",nodeType:"MemberAccess",src:"31725:15:164",typeDescriptions:{typeIdentifier:"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",typeString:"function (bytes memory) payable returns (bool,bytes memory)"}},id:99253,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{id:99252,name:"recipientCredit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99222,src:"31749:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"31725:41:164",typeDescriptions:{typeIdentifier:"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",typeString:"function (bytes memory) payable returns (bool,bytes memory)"}},id:99255,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"31725:48:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_bool_$_t_bytes_memory_ptr_$",typeString:"tuple(bool,bytes memory)"}},nodeType:"VariableDeclarationStatement",src:"31707:66:164"},{condition:{id:99258,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"31787:8:164",subExpression:{id:99257,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99249,src:"31788:7:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99262,nodeType:"IfStatement",src:"31783:41:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:99259,name:"BondTransferFailed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103129,src:"31804:18:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:99260,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"31804:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99261,nodeType:"RevertStatement",src:"31797:27:164"}}]},documentation:{id:99216,nodeType:"StructuredDocumentation",src:"31026:129:164",text:`@notice Claim the credit belonging to the recipient address. + @param _recipient The owner and recipient of the credit.`},functionSelector:"60e27464",implemented:!0,kind:"function",modifiers:[],name:"claimCredit",nameLocation:"31169:11:164",parameters:{id:99219,nodeType:"ParameterList",parameters:[{constant:!1,id:99218,mutability:"mutable",name:"_recipient",nameLocation:"31189:10:164",nodeType:"VariableDeclaration",scope:99264,src:"31181:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:99217,name:"address",nodeType:"ElementaryTypeName",src:"31181:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"31180:20:164"},returnParameters:{id:99220,nodeType:"ParameterList",parameters:[],src:"31210:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:99348,nodeType:"FunctionDefinition",src:"32166:1011:164",nodes:[],body:{id:99347,nodeType:"Block",src:"32259:918:164",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:99276,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99273,name:"status",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97777,src:"32381:6:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:99274,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"32391:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:99275,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"IN_PROGRESS",nodeType:"MemberAccess",referencedDeclaration:103274,src:"32391:22:164",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"32381:32:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99281,nodeType:"IfStatement",src:"32377:89:164",trueBody:{id:99280,nodeType:"Block",src:"32415:51:164",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:99277,name:"GameNotInProgress",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103144,src:"32436:17:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:99278,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"32436:19:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99279,nodeType:"RevertStatement",src:"32429:26:164"}]}},{assignments:[99284],declarations:[{constant:!1,id:99284,mutability:"mutable",name:"subgameRootClaim",nameLocation:"32535:16:164",nodeType:"VariableDeclaration",scope:99347,src:"32517:34:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99283,nodeType:"UserDefinedTypeName",pathNode:{id:99282,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"32517:9:164"},referencedDeclaration:100523,src:"32517:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99288,initialValue:{baseExpression:{id:99285,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"32554:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99287,indexExpression:{id:99286,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99267,src:"32564:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"32554:22:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"32517:59:164"},{assignments:[99291],declarations:[{constant:!1,id:99291,mutability:"mutable",name:"parentClock",nameLocation:"32664:11:164",nodeType:"VariableDeclaration",scope:99347,src:"32658:17:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"},typeName:{id:99290,nodeType:"UserDefinedTypeName",pathNode:{id:99289,name:"Clock",nodeType:"IdentifierPath",referencedDeclaration:103267,src:"32658:5:164"},referencedDeclaration:103267,src:"32658:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},visibility:"internal"}],id:99292,nodeType:"VariableDeclarationStatement",src:"32658:17:164"},{condition:{commonType:{typeIdentifier:"t_uint32",typeString:"uint32"},id:99300,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:99293,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99284,src:"32689:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99294,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"32689:28:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{arguments:[{id:99297,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"32726:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint32_$",typeString:"type(uint32)"},typeName:{id:99296,name:"uint32",nodeType:"ElementaryTypeName",src:"32726:6:164",typeDescriptions:{}}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_uint32_$",typeString:"type(uint32)"}],id:99295,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"32721:4:164",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:99298,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"32721:12:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_uint32",typeString:"type(uint32)"}},id:99299,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"max",nodeType:"MemberAccess",src:"32721:16:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},src:"32689:48:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99310,nodeType:"IfStatement",src:"32685:138:164",trueBody:{id:99309,nodeType:"Block",src:"32739:84:164",statements:[{expression:{id:99307,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99301,name:"parentClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99291,src:"32753:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{baseExpression:{id:99302,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"32767:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99305,indexExpression:{expression:{id:99303,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99284,src:"32777:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99304,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"32777:28:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"32767:39:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},id:99306,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"clock",nodeType:"MemberAccess",referencedDeclaration:100522,src:"32767:45:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},src:"32753:59:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},id:99308,nodeType:"ExpressionStatement",src:"32753:59:164"}]}},{assignments:[99312],declarations:[{constant:!1,id:99312,mutability:"mutable",name:"challengeDuration",nameLocation:"32917:17:164",nodeType:"VariableDeclaration",scope:99347,src:"32910:24:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:99311,name:"uint64",nodeType:"ElementaryTypeName",src:"32910:6:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],id:99332,initialValue:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99330,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{id:99315,name:"parentClock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99291,src:"32956:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},id:99316,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"duration",nodeType:"MemberAccess",referencedDeclaration:101049,src:"32956:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Clock_$103267_$returns$_t_userDefinedValueType$_Duration_$103263_$bound_to$_t_userDefinedValueType$_Clock_$103267_$",typeString:"function (Clock) pure returns (Duration)"}},id:99317,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"32956:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99318,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"32956:26:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:99319,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"32956:28:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99328,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:99320,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"32988:5:164",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:99321,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"32988:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99322,name:"subgameRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99284,src:"33006:16:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99323,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"clock",nodeType:"MemberAccess",referencedDeclaration:100522,src:"33006:22:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Clock_$103267",typeString:"Clock"}},id:99324,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:101061,src:"33006:32:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Clock_$103267_$returns$_t_userDefinedValueType$_Timestamp_$103261_$bound_to$_t_userDefinedValueType$_Clock_$103267_$",typeString:"function (Clock) pure returns (Timestamp)"}},id:99325,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"33006:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},id:99326,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101124,src:"33006:38:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Timestamp_$103261_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (Timestamp) pure returns (uint64)"}},id:99327,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"33006:40:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"32988:58:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:99329,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"32987:60:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"32956:91:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:99314,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"32949:6:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:99313,name:"uint64",nodeType:"ElementaryTypeName",src:"32949:6:164",typeDescriptions:{}}},id:99331,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"32949:99:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"VariableDeclarationStatement",src:"32910:138:164"},{expression:{id:99345,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99333,name:"duration_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99271,src:"33058:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:99338,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99334,name:"challengeDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99312,src:"33070:17:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:">",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99335,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"33090:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99336,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101098,src:"33090:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Duration_$103263_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (Duration) pure returns (uint64)"}},id:99337,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"33090:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"33070:44:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{arguments:[{id:99342,name:"challengeDuration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99312,src:"33152:17:164",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],expression:{id:99340,name:"Duration",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103263,src:"33138:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Duration_$103263_$",typeString:"type(Duration)"}},id:99341,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"33138:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint64_$returns$_t_userDefinedValueType$_Duration_$103263_$",typeString:"function (uint64) pure returns (Duration)"}},id:99343,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"33138:32:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99344,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"33070:100:164",trueExpression:{id:99339,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"33117:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"33058:112:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99346,nodeType:"ExpressionStatement",src:"33058:112:164"}]},documentation:{id:99265,nodeType:"StructuredDocumentation",src:"31837:324:164",text:"@notice Returns the amount of time elapsed on the potential challenger to `_claimIndex`'s chess clock. Maxes\n out at `MAX_CLOCK_DURATION`.\n @param _claimIndex The index of the subgame root claim.\n @return duration_ The time elapsed on the potential challenger to `_claimIndex`'s chess clock."},functionSelector:"bd8da956",implemented:!0,kind:"function",modifiers:[],name:"getChallengerDuration",nameLocation:"32175:21:164",parameters:{id:99268,nodeType:"ParameterList",parameters:[{constant:!1,id:99267,mutability:"mutable",name:"_claimIndex",nameLocation:"32205:11:164",nodeType:"VariableDeclaration",scope:99348,src:"32197:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99266,name:"uint256",nodeType:"ElementaryTypeName",src:"32197:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"32196:21:164"},returnParameters:{id:99272,nodeType:"ParameterList",parameters:[{constant:!1,id:99271,mutability:"mutable",name:"duration_",nameLocation:"32248:9:164",nodeType:"VariableDeclaration",scope:99348,src:"32239:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:99270,nodeType:"UserDefinedTypeName",pathNode:{id:99269,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"32239:8:164"},referencedDeclaration:103263,src:"32239:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"}],src:"32238:20:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"public"},{id:99360,nodeType:"FunctionDefinition",src:"33244:101:164",nodes:[],body:{id:99359,nodeType:"Block",src:"33305:40:164",nodes:[],statements:[{expression:{id:99357,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99354,name:"len_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99352,src:"33315:4:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:99355,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"33322:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99356,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"33322:16:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"33315:23:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99358,nodeType:"ExpressionStatement",src:"33315:23:164"}]},documentation:{id:99349,nodeType:"StructuredDocumentation",src:"33183:56:164",text:"@notice Returns the length of the `claimData` array."},functionSelector:"8980e0cc",implemented:!0,kind:"function",modifiers:[],name:"claimDataLen",nameLocation:"33253:12:164",parameters:{id:99350,nodeType:"ParameterList",parameters:[],src:"33265:2:164"},returnParameters:{id:99353,nodeType:"ParameterList",parameters:[{constant:!1,id:99352,mutability:"mutable",name:"len_",nameLocation:"33299:4:164",nodeType:"VariableDeclaration",scope:99360,src:"33291:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99351,name:"uint256",nodeType:"ElementaryTypeName",src:"33291:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"33290:14:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99372,nodeType:"FunctionDefinition",src:"33631:130:164",nodes:[],body:{id:99371,nodeType:"Block",src:"33707:54:164",nodes:[],statements:[{expression:{id:99369,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99367,name:"absolutePrestate_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99365,src:"33717:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99368,name:"ABSOLUTE_PRESTATE",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97720,src:"33737:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"33717:37:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:99370,nodeType:"ExpressionStatement",src:"33717:37:164"}]},documentation:{id:99361,nodeType:"StructuredDocumentation",src:"33559:67:164",text:"@notice Returns the absolute prestate of the instruction trace."},functionSelector:"8d450a95",implemented:!0,kind:"function",modifiers:[],name:"absolutePrestate",nameLocation:"33640:16:164",parameters:{id:99362,nodeType:"ParameterList",parameters:[],src:"33656:2:164"},returnParameters:{id:99366,nodeType:"ParameterList",parameters:[{constant:!1,id:99365,mutability:"mutable",name:"absolutePrestate_",nameLocation:"33688:17:164",nodeType:"VariableDeclaration",scope:99372,src:"33682:23:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99364,nodeType:"UserDefinedTypeName",pathNode:{id:99363,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"33682:5:164"},referencedDeclaration:103255,src:"33682:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],src:"33681:25:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99383,nodeType:"FunctionDefinition",src:"33811:117:164",nodes:[],body:{id:99382,nodeType:"Block",src:"33881:47:164",nodes:[],statements:[{expression:{id:99380,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99378,name:"maxGameDepth_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99376,src:"33891:13:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99379,name:"MAX_GAME_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97723,src:"33907:14:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"33891:30:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99381,nodeType:"ExpressionStatement",src:"33891:30:164"}]},documentation:{id:99373,nodeType:"StructuredDocumentation",src:"33767:39:164",text:"@notice Returns the max game depth."},functionSelector:"fa315aa9",implemented:!0,kind:"function",modifiers:[],name:"maxGameDepth",nameLocation:"33820:12:164",parameters:{id:99374,nodeType:"ParameterList",parameters:[],src:"33832:2:164"},returnParameters:{id:99377,nodeType:"ParameterList",parameters:[{constant:!1,id:99376,mutability:"mutable",name:"maxGameDepth_",nameLocation:"33866:13:164",nodeType:"VariableDeclaration",scope:99383,src:"33858:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99375,name:"uint256",nodeType:"ElementaryTypeName",src:"33858:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"33857:23:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99394,nodeType:"FunctionDefinition",src:"33975:108:164",nodes:[],body:{id:99393,nodeType:"Block",src:"34041:42:164",nodes:[],statements:[{expression:{id:99391,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99389,name:"splitDepth_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99387,src:"34051:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99390,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"34065:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"34051:25:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99392,nodeType:"ExpressionStatement",src:"34051:25:164"}]},documentation:{id:99384,nodeType:"StructuredDocumentation",src:"33934:36:164",text:"@notice Returns the split depth."},functionSelector:"ec5e6308",implemented:!0,kind:"function",modifiers:[],name:"splitDepth",nameLocation:"33984:10:164",parameters:{id:99385,nodeType:"ParameterList",parameters:[],src:"33994:2:164"},returnParameters:{id:99388,nodeType:"ParameterList",parameters:[{constant:!1,id:99387,mutability:"mutable",name:"splitDepth_",nameLocation:"34028:11:164",nodeType:"VariableDeclaration",scope:99394,src:"34020:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99386,name:"uint256",nodeType:"ElementaryTypeName",src:"34020:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"34019:21:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99406,nodeType:"FunctionDefinition",src:"34137:134:164",nodes:[],body:{id:99405,nodeType:"Block",src:"34216:55:164",nodes:[],statements:[{expression:{id:99403,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99401,name:"maxClockDuration_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99399,src:"34226:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99402,name:"MAX_CLOCK_DURATION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97730,src:"34246:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"34226:38:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99404,nodeType:"ExpressionStatement",src:"34226:38:164"}]},documentation:{id:99395,nodeType:"StructuredDocumentation",src:"34089:43:164",text:"@notice Returns the max clock duration."},functionSelector:"dabd396d",implemented:!0,kind:"function",modifiers:[],name:"maxClockDuration",nameLocation:"34146:16:164",parameters:{id:99396,nodeType:"ParameterList",parameters:[],src:"34162:2:164"},returnParameters:{id:99400,nodeType:"ParameterList",parameters:[{constant:!1,id:99399,mutability:"mutable",name:"maxClockDuration_",nameLocation:"34197:17:164",nodeType:"VariableDeclaration",scope:99406,src:"34188:26:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:99398,nodeType:"UserDefinedTypeName",pathNode:{id:99397,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"34188:8:164"},referencedDeclaration:103263,src:"34188:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"}],src:"34187:28:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99418,nodeType:"FunctionDefinition",src:"34331:125:164",nodes:[],body:{id:99417,nodeType:"Block",src:"34406:50:164",nodes:[],statements:[{expression:{id:99415,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99413,name:"clockExtension_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99411,src:"34416:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99414,name:"CLOCK_EXTENSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97753,src:"34434:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},src:"34416:33:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},id:99416,nodeType:"ExpressionStatement",src:"34416:33:164"}]},documentation:{id:99407,nodeType:"StructuredDocumentation",src:"34277:49:164",text:"@notice Returns the clock extension constant."},functionSelector:"6b6716c0",implemented:!0,kind:"function",modifiers:[],name:"clockExtension",nameLocation:"34340:14:164",parameters:{id:99408,nodeType:"ParameterList",parameters:[],src:"34354:2:164"},returnParameters:{id:99412,nodeType:"ParameterList",parameters:[{constant:!1,id:99411,mutability:"mutable",name:"clockExtension_",nameLocation:"34389:15:164",nodeType:"VariableDeclaration",scope:99418,src:"34380:24:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"},typeName:{id:99410,nodeType:"UserDefinedTypeName",pathNode:{id:99409,name:"Duration",nodeType:"IdentifierPath",referencedDeclaration:103263,src:"34380:8:164"},referencedDeclaration:103263,src:"34380:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Duration_$103263",typeString:"Duration"}},visibility:"internal"}],src:"34379:26:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99430,nodeType:"FunctionDefinition",src:"34509:79:164",nodes:[],body:{id:99429,nodeType:"Block",src:"34563:25:164",nodes:[],statements:[{expression:{id:99427,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99425,name:"vm_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99423,src:"34573:3:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99426,name:"VM",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97734,src:"34579:2:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},src:"34573:8:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},id:99428,nodeType:"ExpressionStatement",src:"34573:8:164"}]},documentation:{id:99419,nodeType:"StructuredDocumentation",src:"34462:42:164",text:"@notice Returns the address of the VM."},functionSelector:"3a768463",implemented:!0,kind:"function",modifiers:[],name:"vm",nameLocation:"34518:2:164",parameters:{id:99420,nodeType:"ParameterList",parameters:[],src:"34520:2:164"},returnParameters:{id:99424,nodeType:"ParameterList",parameters:[{constant:!1,id:99423,mutability:"mutable",name:"vm_",nameLocation:"34558:3:164",nodeType:"VariableDeclaration",scope:99430,src:"34546:15:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"},typeName:{id:99422,nodeType:"UserDefinedTypeName",pathNode:{id:99421,name:"IBigStepper",nodeType:"IdentifierPath",referencedDeclaration:100171,src:"34546:11:164"},referencedDeclaration:100171,src:"34546:11:164",typeDescriptions:{typeIdentifier:"t_contract$_IBigStepper_$100171",typeString:"contract IBigStepper"}},visibility:"internal"}],src:"34545:17:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99442,nodeType:"FunctionDefinition",src:"34653:88:164",nodes:[],body:{id:99441,nodeType:"Block",src:"34712:29:164",nodes:[],statements:[{expression:{id:99439,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99437,name:"weth_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99435,src:"34722:5:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99438,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"34730:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},src:"34722:12:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:99440,nodeType:"ExpressionStatement",src:"34722:12:164"}]},documentation:{id:99431,nodeType:"StructuredDocumentation",src:"34594:54:164",text:"@notice Returns the WETH contract for holding ETH."},functionSelector:"3fc8cef3",implemented:!0,kind:"function",modifiers:[],name:"weth",nameLocation:"34662:4:164",parameters:{id:99432,nodeType:"ParameterList",parameters:[],src:"34666:2:164"},returnParameters:{id:99436,nodeType:"ParameterList",parameters:[{constant:!1,id:99435,mutability:"mutable",name:"weth_",nameLocation:"34705:5:164",nodeType:"VariableDeclaration",scope:99442,src:"34692:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"},typeName:{id:99434,nodeType:"UserDefinedTypeName",pathNode:{id:99433,name:"IDelayedWETH",nodeType:"IdentifierPath",referencedDeclaration:100239,src:"34692:12:164"},referencedDeclaration:100239,src:"34692:12:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},visibility:"internal"}],src:"34691:20:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99454,nodeType:"FunctionDefinition",src:"34807:136:164",nodes:[],body:{id:99453,nodeType:"Block",src:"34893:50:164",nodes:[],statements:[{expression:{id:99451,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99449,name:"registry_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99447,src:"34903:9:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99450,name:"ANCHOR_STATE_REGISTRY",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97746,src:"34915:21:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},src:"34903:33:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},id:99452,nodeType:"ExpressionStatement",src:"34903:33:164"}]},documentation:{id:99443,nodeType:"StructuredDocumentation",src:"34747:55:164",text:"@notice Returns the anchor state registry contract."},functionSelector:"5c0cba33",implemented:!0,kind:"function",modifiers:[],name:"anchorStateRegistry",nameLocation:"34816:19:164",parameters:{id:99444,nodeType:"ParameterList",parameters:[],src:"34835:2:164"},returnParameters:{id:99448,nodeType:"ParameterList",parameters:[{constant:!1,id:99447,mutability:"mutable",name:"registry_",nameLocation:"34882:9:164",nodeType:"VariableDeclaration",scope:99454,src:"34861:30:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"},typeName:{id:99446,nodeType:"UserDefinedTypeName",pathNode:{id:99445,name:"IAnchorStateRegistry",nodeType:"IdentifierPath",referencedDeclaration:100146,src:"34861:20:164"},referencedDeclaration:100146,src:"34861:20:164",typeDescriptions:{typeIdentifier:"t_contract$_IAnchorStateRegistry_$100146",typeString:"contract IAnchorStateRegistry"}},visibility:"internal"}],src:"34860:32:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99465,nodeType:"FunctionDefinition",src:"35032:105:164",nodes:[],body:{id:99464,nodeType:"Block",src:"35096:41:164",nodes:[],statements:[{expression:{id:99462,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99460,name:"l2ChainId_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99458,src:"35106:10:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99461,name:"L2_CHAIN_ID",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97749,src:"35119:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"35106:24:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99463,nodeType:"ExpressionStatement",src:"35106:24:164"}]},documentation:{id:99455,nodeType:"StructuredDocumentation",src:"34949:78:164",text:"@notice Returns the chain ID of the L2 network this contract argues about."},functionSelector:"d6ae3cd5",implemented:!0,kind:"function",modifiers:[],name:"l2ChainId",nameLocation:"35041:9:164",parameters:{id:99456,nodeType:"ParameterList",parameters:[],src:"35050:2:164"},returnParameters:{id:99459,nodeType:"ParameterList",parameters:[{constant:!1,id:99458,mutability:"mutable",name:"l2ChainId_",nameLocation:"35084:10:164",nodeType:"VariableDeclaration",scope:99465,src:"35076:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99457,name:"uint256",nodeType:"ElementaryTypeName",src:"35076:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"35075:20:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"external"},{id:99493,nodeType:"FunctionDefinition",src:"35528:361:164",nodes:[],body:{id:99492,nodeType:"Block",src:"35609:280:164",nodes:[],statements:[{assignments:[99475],declarations:[{constant:!1,id:99475,mutability:"mutable",name:"bond",nameLocation:"35714:4:164",nodeType:"VariableDeclaration",scope:99492,src:"35706:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99474,name:"uint256",nodeType:"ElementaryTypeName",src:"35706:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99478,initialValue:{expression:{id:99476,name:"_bonded",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99471,src:"35721:7:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99477,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"bond",nodeType:"MemberAccess",referencedDeclaration:100513,src:"35721:12:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"VariableDeclarationStatement",src:"35706:27:164"},{expression:{id:99483,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:99479,name:"credit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97790,src:"35788:6:164",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_uint256_$",typeString:"mapping(address => uint256)"}},id:99481,indexExpression:{id:99480,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99468,src:"35795:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"35788:18:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"+=",rightHandSide:{id:99482,name:"bond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99475,src:"35810:4:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"35788:26:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99484,nodeType:"ExpressionStatement",src:"35788:26:164"},{expression:{arguments:[{id:99488,name:"_recipient",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99468,src:"35865:10:164",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:99489,name:"bond",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99475,src:"35877:4:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99485,name:"WETH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97742,src:"35853:4:164",typeDescriptions:{typeIdentifier:"t_contract$_IDelayedWETH_$100239",typeString:"contract IDelayedWETH"}},id:99487,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"unlock",nodeType:"MemberAccess",referencedDeclaration:100216,src:"35853:11:164",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256) external"}},id:99490,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"35853:29:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99491,nodeType:"ExpressionStatement",src:"35853:29:164"}]},documentation:{id:99466,nodeType:"StructuredDocumentation",src:"35351:172:164",text:`@notice Pays out the bond of a claim to a given recipient. + @param _recipient The recipient of the bond. + @param _bonded The claim to pay out the bond of.`},implemented:!0,kind:"function",modifiers:[],name:"_distributeBond",nameLocation:"35537:15:164",parameters:{id:99472,nodeType:"ParameterList",parameters:[{constant:!1,id:99468,mutability:"mutable",name:"_recipient",nameLocation:"35561:10:164",nodeType:"VariableDeclaration",scope:99493,src:"35553:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:99467,name:"address",nodeType:"ElementaryTypeName",src:"35553:7:164",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:99471,mutability:"mutable",name:"_bonded",nameLocation:"35591:7:164",nodeType:"VariableDeclaration",scope:99493,src:"35573:25:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99470,nodeType:"UserDefinedTypeName",pathNode:{id:99469,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"35573:9:164"},referencedDeclaration:100523,src:"35573:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],src:"35552:47:164"},returnParameters:{id:99473,nodeType:"ParameterList",parameters:[],src:"35609:0:164"},scope:99927,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:99587,nodeType:"FunctionDefinition",src:"36108:1977:164",nodes:[],body:{id:99586,nodeType:"Block",src:"36289:1796:164",nodes:[],statements:[{assignments:[99509],declarations:[{constant:!1,id:99509,mutability:"mutable",name:"disputedLeafPos",nameLocation:"36869:15:164",nodeType:"VariableDeclaration",scope:99586,src:"36860:24:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99508,nodeType:"UserDefinedTypeName",pathNode:{id:99507,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"36860:8:164"},referencedDeclaration:103269,src:"36860:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:99518,initialValue:{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99516,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99512,name:"_parentPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99502,src:"36901:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99513,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"36901:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99514,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"36901:16:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:99515,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"36920:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"36901:20:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:99510,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"36887:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:99511,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"36887:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:99517,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"36887:35:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"36860:62:164"},{assignments:[99521],declarations:[{constant:!1,id:99521,mutability:"mutable",name:"disputed",nameLocation:"36950:8:164",nodeType:"VariableDeclaration",scope:99586,src:"36932:26:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99520,nodeType:"UserDefinedTypeName",pathNode:{id:99519,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"36932:9:164"},referencedDeclaration:100523,src:"36932:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99527,initialValue:{arguments:[{id:99523,name:"disputedLeafPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99509,src:"36988:15:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:99524,name:"_parentIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99499,src:"37013:10:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{hexValue:"74727565",id:99525,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"37034:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bool",typeString:"bool"}],id:99522,name:"_findTraceAncestor",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99638,src:"36961:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$_t_bool_$returns$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"function (Position,uint256,bool) view returns (struct IFaultDisputeGame.ClaimData storage pointer)"}},id:99526,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_pos","_start","_global"],nodeType:"FunctionCall",src:"36961:80:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"VariableDeclarationStatement",src:"36932:109:164"},{assignments:[99529],declarations:[{constant:!1,id:99529,mutability:"mutable",name:"vmStatus",nameLocation:"37057:8:164",nodeType:"VariableDeclaration",scope:99586,src:"37051:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"},typeName:{id:99528,name:"uint8",nodeType:"ElementaryTypeName",src:"37051:5:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},visibility:"internal"}],id:99538,initialValue:{arguments:[{baseExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99532,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99497,src:"37074:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:99533,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"37074:14:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:99534,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37074:16:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:99536,indexExpression:{hexValue:"30",id:99535,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"37091:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"37074:19:164",typeDescriptions:{typeIdentifier:"t_bytes1",typeString:"bytes1"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes1",typeString:"bytes1"}],id:99531,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"37068:5:164",typeDescriptions:{typeIdentifier:"t_type$_t_uint8_$",typeString:"type(uint8)"},typeName:{id:99530,name:"uint8",nodeType:"ElementaryTypeName",src:"37068:5:164",typeDescriptions:{}}},id:99537,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37068:26:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"VariableDeclarationStatement",src:"37051:43:164"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:99550,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99539,name:"_isAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99504,src:"37109:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99549,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:99545,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99540,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99521,src:"37122:8:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99541,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"37122:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99542,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"37122:23:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:99543,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37122:25:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"%",rightExpression:{hexValue:"32",id:99544,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"37150:1:164",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"37122:29:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99548,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99546,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"37155:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"%",rightExpression:{hexValue:"32",id:99547,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"37169:1:164",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"37155:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"37122:48:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"37109:61:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:99578,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99573,name:"vmStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99529,src:"37816:8:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99574,name:"VMStatuses",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103351,src:"37828:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_VMStatuses_$103351_$",typeString:"type(library VMStatuses)"}},id:99575,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"VALID",nodeType:"MemberAccess",referencedDeclaration:103326,src:"37828:16:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_VMStatus_$103273",typeString:"VMStatus"}},id:99576,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101137,src:"37828:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_VMStatus_$103273_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_VMStatus_$103273_$",typeString:"function (VMStatus) pure returns (uint8)"}},id:99577,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37828:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"37816:34:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99584,nodeType:"IfStatement",src:"37812:267:164",trueBody:{id:99583,nodeType:"Block",src:"37852:227:164",statements:[{errorCall:{arguments:[{id:99580,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99497,src:"38057:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}],id:99579,name:"UnexpectedRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103117,src:"38037:19:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$_t_userDefinedValueType$_Claim_$103255_$returns$__$",typeString:"function (Claim) pure"}},id:99581,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"38037:31:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99582,nodeType:"RevertStatement",src:"38030:38:164"}]}},id:99585,nodeType:"IfStatement",src:"37105:974:164",trueBody:{id:99572,nodeType:"Block",src:"37172:634:164",statements:[{condition:{id:99565,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"37646:77:164",subExpression:{components:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:99563,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:99556,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99551,name:"vmStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99529,src:"37648:8:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99552,name:"VMStatuses",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103351,src:"37660:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_VMStatuses_$103351_$",typeString:"type(library VMStatuses)"}},id:99553,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"INVALID",nodeType:"MemberAccess",referencedDeclaration:103334,src:"37660:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_VMStatus_$103273",typeString:"VMStatus"}},id:99554,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101137,src:"37660:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_VMStatus_$103273_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_VMStatus_$103273_$",typeString:"function (VMStatus) pure returns (uint8)"}},id:99555,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37660:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"37648:36:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_uint8",typeString:"uint8"},id:99562,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99557,name:"vmStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99529,src:"37688:8:164",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99558,name:"VMStatuses",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103351,src:"37700:10:164",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_VMStatuses_$103351_$",typeString:"type(library VMStatuses)"}},id:99559,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"PANIC",nodeType:"MemberAccess",referencedDeclaration:103342,src:"37700:16:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_VMStatus_$103273",typeString:"VMStatus"}},id:99560,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101137,src:"37700:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_VMStatus_$103273_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_VMStatus_$103273_$",typeString:"function (VMStatus) pure returns (uint8)"}},id:99561,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37700:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"37688:34:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"37648:74:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],id:99564,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"37647:76:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99571,nodeType:"IfStatement",src:"37642:154:164",trueBody:{id:99570,nodeType:"Block",src:"37725:71:164",statements:[{errorCall:{arguments:[{id:99567,name:"_rootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99497,src:"37770:10:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}],id:99566,name:"UnexpectedRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103117,src:"37750:19:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$_t_userDefinedValueType$_Claim_$103255_$returns$__$",typeString:"function (Claim) pure"}},id:99568,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"37750:31:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99569,nodeType:"RevertStatement",src:"37743:38:164"}]}}]}}]},documentation:{id:99494,nodeType:"StructuredDocumentation",src:"35895:208:164",text:`@notice Verifies the integrity of an execution bisection subgame's root claim. Reverts if the claim + is invalid. + @param _rootClaim The root claim of the execution bisection subgame.`},implemented:!0,kind:"function",modifiers:[],name:"_verifyExecBisectionRoot",nameLocation:"36117:24:164",parameters:{id:99505,nodeType:"ParameterList",parameters:[{constant:!1,id:99497,mutability:"mutable",name:"_rootClaim",nameLocation:"36157:10:164",nodeType:"VariableDeclaration",scope:99587,src:"36151:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99496,nodeType:"UserDefinedTypeName",pathNode:{id:99495,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"36151:5:164"},referencedDeclaration:103255,src:"36151:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99499,mutability:"mutable",name:"_parentIdx",nameLocation:"36185:10:164",nodeType:"VariableDeclaration",scope:99587,src:"36177:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99498,name:"uint256",nodeType:"ElementaryTypeName",src:"36177:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:99502,mutability:"mutable",name:"_parentPos",nameLocation:"36214:10:164",nodeType:"VariableDeclaration",scope:99587,src:"36205:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99501,nodeType:"UserDefinedTypeName",pathNode:{id:99500,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"36205:8:164"},referencedDeclaration:103269,src:"36205:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99504,mutability:"mutable",name:"_isAttack",nameLocation:"36239:9:164",nodeType:"VariableDeclaration",scope:99587,src:"36234:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:99503,name:"bool",nodeType:"ElementaryTypeName",src:"36234:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"36141:113:164"},returnParameters:{id:99506,nodeType:"ParameterList",parameters:[],src:"36289:0:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"internal"},{id:99638,nodeType:"FunctionDefinition",src:"38605:677:164",nodes:[],body:{id:99637,nodeType:"Block",src:"38788:494:164",nodes:[],statements:[{assignments:[99603],declarations:[{constant:!1,id:99603,mutability:"mutable",name:"traceAncestorPos",nameLocation:"38863:16:164",nodeType:"VariableDeclaration",scope:99637,src:"38854:25:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99602,nodeType:"UserDefinedTypeName",pathNode:{id:99601,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"38854:8:164"},referencedDeclaration:103269,src:"38854:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:99613,initialValue:{condition:{id:99604,name:"_global",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99595,src:"38882:7:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{arguments:[{id:99610,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"38941:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:99608,name:"_pos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99591,src:"38915:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99609,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"traceAncestorBounded",nodeType:"MemberAccess",referencedDeclaration:100992,src:"38915:25:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$returns$_t_userDefinedValueType$_Position_$103269_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position,uint256) pure returns (Position)"}},id:99611,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"38915:38:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99612,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"38882:71:164",trueExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99605,name:"_pos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99591,src:"38892:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99606,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"traceAncestor",nodeType:"MemberAccess",referencedDeclaration:100948,src:"38892:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_userDefinedValueType$_Position_$103269_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (Position)"}},id:99607,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"38892:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},nodeType:"VariableDeclarationStatement",src:"38854:99:164"},{expression:{id:99618,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99614,name:"ancestor_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99599,src:"39109:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{baseExpression:{id:99615,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"39121:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99617,indexExpression:{id:99616,name:"_start",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99593,src:"39131:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"39121:17:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},src:"39109:29:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99619,nodeType:"ExpressionStatement",src:"39109:29:164"},{body:{id:99635,nodeType:"Block",src:"39207:69:164",statements:[{expression:{id:99633,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99628,name:"ancestor_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99599,src:"39221:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{baseExpression:{id:99629,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"39233:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99632,indexExpression:{expression:{id:99630,name:"ancestor_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99599,src:"39243:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99631,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"39243:21:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"39233:32:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},src:"39221:44:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99634,nodeType:"ExpressionStatement",src:"39221:44:164"}]},condition:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99627,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99620,name:"ancestor_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99599,src:"39155:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99621,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"39155:18:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99622,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"39155:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99623,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"39155:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99624,name:"traceAncestorPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99603,src:"39183:16:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99625,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"39183:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99626,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"39183:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},src:"39155:50:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99636,nodeType:"WhileStatement",src:"39148:128:164"}]},documentation:{id:99588,nodeType:"StructuredDocumentation",src:"38091:509:164",text:"@notice Finds the trace ancestor of a given position within the DAG.\n @param _pos The position to find the trace ancestor claim of.\n @param _start The index to start searching from.\n @param _global Whether or not to search the entire dag or just within an execution trace subgame. If set to\n `true`, and `_pos` is at or above the split depth, this function will revert.\n @return ancestor_ The ancestor claim that commits to the same trace index as `_pos`."},implemented:!0,kind:"function",modifiers:[],name:"_findTraceAncestor",nameLocation:"38614:18:164",parameters:{id:99596,nodeType:"ParameterList",parameters:[{constant:!1,id:99591,mutability:"mutable",name:"_pos",nameLocation:"38651:4:164",nodeType:"VariableDeclaration",scope:99638,src:"38642:13:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99590,nodeType:"UserDefinedTypeName",pathNode:{id:99589,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"38642:8:164"},referencedDeclaration:103269,src:"38642:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99593,mutability:"mutable",name:"_start",nameLocation:"38673:6:164",nodeType:"VariableDeclaration",scope:99638,src:"38665:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99592,name:"uint256",nodeType:"ElementaryTypeName",src:"38665:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:99595,mutability:"mutable",name:"_global",nameLocation:"38694:7:164",nodeType:"VariableDeclaration",scope:99638,src:"38689:12:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:99594,name:"bool",nodeType:"ElementaryTypeName",src:"38689:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"38632:75:164"},returnParameters:{id:99600,nodeType:"ParameterList",parameters:[{constant:!1,id:99599,mutability:"mutable",name:"ancestor_",nameLocation:"38773:9:164",nodeType:"VariableDeclaration",scope:99638,src:"38755:27:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99598,nodeType:"UserDefinedTypeName",pathNode:{id:99597,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"38755:9:164"},referencedDeclaration:100523,src:"38755:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],src:"38754:29:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"internal"},{id:99840,nodeType:"FunctionDefinition",src:"39797:3468:164",nodes:[],body:{id:99839,nodeType:"Block",src:"39995:3270:164",nodes:[],statements:[{assignments:[99657],declarations:[{constant:!1,id:99657,mutability:"mutable",name:"claimIdx",nameLocation:"40050:8:164",nodeType:"VariableDeclaration",scope:99839,src:"40042:16:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99656,name:"uint256",nodeType:"ElementaryTypeName",src:"40042:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99659,initialValue:{id:99658,name:"_start",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99641,src:"40061:6:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"40042:25:164"},{assignments:[99662],declarations:[{constant:!1,id:99662,mutability:"mutable",name:"claim",nameLocation:"40095:5:164",nodeType:"VariableDeclaration",scope:99839,src:"40077:23:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99661,nodeType:"UserDefinedTypeName",pathNode:{id:99660,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"40077:9:164"},referencedDeclaration:100523,src:"40077:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99666,initialValue:{baseExpression:{id:99663,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"40103:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99665,indexExpression:{id:99664,name:"claimIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99657,src:"40113:8:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"40103:19:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},nodeType:"VariableDeclarationStatement",src:"40077:45:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99672,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99667,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"40245:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99668,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"40245:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99669,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"40245:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:99670,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"40245:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},nodeType:"BinaryOperation",operator:"<=",rightExpression:{id:99671,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"40271:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"40245:37:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99676,nodeType:"IfStatement",src:"40241:67:164",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:99673,name:"ClaimAboveSplit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103177,src:"40291:15:164",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:99674,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"40291:17:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99675,nodeType:"RevertStatement",src:"40284:24:164"}},{assignments:[99678],declarations:[{constant:!1,id:99678,mutability:"mutable",name:"currentDepth",nameLocation:"40667:12:164",nodeType:"VariableDeclaration",scope:99839,src:"40659:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99677,name:"uint256",nodeType:"ElementaryTypeName",src:"40659:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99679,nodeType:"VariableDeclarationStatement",src:"40659:20:164"},{assignments:[99682],declarations:[{constant:!1,id:99682,mutability:"mutable",name:"execRootClaim",nameLocation:"40707:13:164",nodeType:"VariableDeclaration",scope:99839,src:"40689:31:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99681,nodeType:"UserDefinedTypeName",pathNode:{id:99680,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"40689:9:164"},referencedDeclaration:100523,src:"40689:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99684,initialValue:{id:99683,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"40723:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"VariableDeclarationStatement",src:"40689:39:164"},{body:{id:99719,nodeType:"Block",src:"40800:509:164",statements:[{assignments:[99695],declarations:[{constant:!1,id:99695,mutability:"mutable",name:"parentIndex",nameLocation:"40822:11:164",nodeType:"VariableDeclaration",scope:99719,src:"40814:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99694,name:"uint256",nodeType:"ElementaryTypeName",src:"40814:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:99698,initialValue:{expression:{id:99696,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"40836:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99697,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"parentIndex",nodeType:"MemberAccess",referencedDeclaration:100507,src:"40836:17:164",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"VariableDeclarationStatement",src:"40814:39:164"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99703,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99699,name:"currentDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99678,src:"41163:12:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99702,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:99700,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"41179:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:99701,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"41193:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"41179:15:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"41163:31:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99708,nodeType:"IfStatement",src:"41159:58:164",trueBody:{expression:{id:99706,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99704,name:"execRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99682,src:"41196:13:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99705,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"41212:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},src:"41196:21:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99707,nodeType:"ExpressionStatement",src:"41196:21:164"}},{expression:{id:99713,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99709,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"41232:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"Assignment",operator:"=",rightHandSide:{baseExpression:{id:99710,name:"claimData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97785,src:"41240:9:164",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_ClaimData_$100523_storage_$dyn_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref[] storage ref"}},id:99712,indexExpression:{id:99711,name:"parentIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99695,src:"41250:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"41240:22:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage",typeString:"struct IFaultDisputeGame.ClaimData storage ref"}},src:"41232:30:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99714,nodeType:"ExpressionStatement",src:"41232:30:164"},{expression:{id:99717,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99715,name:"claimIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99657,src:"41276:8:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:99716,name:"parentIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99695,src:"41287:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"41276:22:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:99718,nodeType:"ExpressionStatement",src:"41276:22:164"}]},condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:99693,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{id:99690,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99685,name:"currentDepth",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99678,src:"40746:12:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99686,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"40761:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99687,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"40761:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99688,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depth",nodeType:"MemberAccess",referencedDeclaration:100833,src:"40761:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint8_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint8)"}},id:99689,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"40761:22:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},src:"40746:37:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:99691,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"40745:39:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:99692,name:"SPLIT_DEPTH",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97726,src:"40787:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"40745:53:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:99720,nodeType:"WhileStatement",src:"40738:571:164"},{assignments:[99723,99726],declarations:[{constant:!1,id:99723,mutability:"mutable",name:"execRootPos",nameLocation:"41586:11:164",nodeType:"VariableDeclaration",scope:99839,src:"41577:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99722,nodeType:"UserDefinedTypeName",pathNode:{id:99721,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"41577:8:164"},referencedDeclaration:103269,src:"41577:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99726,mutability:"mutable",name:"outputPos",nameLocation:"41608:9:164",nodeType:"VariableDeclaration",scope:99839,src:"41599:18:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99725,nodeType:"UserDefinedTypeName",pathNode:{id:99724,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"41599:8:164"},referencedDeclaration:103269,src:"41599:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:99732,initialValue:{components:[{expression:{id:99727,name:"execRootClaim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99682,src:"41622:13:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99728,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"41622:22:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{expression:{id:99729,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"41646:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99730,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"41646:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99731,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"41621:40:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Position,Position)"}},nodeType:"VariableDeclarationStatement",src:"41576:85:164"},{assignments:[99734],declarations:[{constant:!1,id:99734,mutability:"mutable",name:"wasAttack",nameLocation:"41676:9:164",nodeType:"VariableDeclaration",scope:99839,src:"41671:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:99733,name:"bool",nodeType:"ElementaryTypeName",src:"41671:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],id:99744,initialValue:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99743,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{id:99735,name:"execRootPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99723,src:"41688:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99736,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"parent",nodeType:"MemberAccess",referencedDeclaration:100886,src:"41688:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_userDefinedValueType$_Position_$103269_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (Position)"}},id:99737,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"41688:20:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99738,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"41688:24:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99739,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"41688:26:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99740,name:"outputPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99726,src:"41718:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99741,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"41718:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99742,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"41718:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},src:"41688:45:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"VariableDeclarationStatement",src:"41671:62:164"},{condition:{id:99745,name:"wasAttack",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99734,src:"42228:9:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:99837,nodeType:"Block",src:"42977:282:164",statements:[{assignments:[99803],declarations:[{constant:!1,id:99803,mutability:"mutable",name:"disputed",nameLocation:"43009:8:164",nodeType:"VariableDeclaration",scope:99837,src:"42991:26:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99802,nodeType:"UserDefinedTypeName",pathNode:{id:99801,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"42991:9:164"},referencedDeclaration:100523,src:"42991:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99816,initialValue:{arguments:[{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99811,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99807,name:"outputPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99726,src:"43053:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99808,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"43053:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99809,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"43053:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:99810,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"43071:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"43053:19:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:99805,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"43039:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:99806,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"43039:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:99812,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"43039:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:99813,name:"claimIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99657,src:"43075:8:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{hexValue:"74727565",id:99814,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"43085:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bool",typeString:"bool"}],id:99804,name:"_findTraceAncestor",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99638,src:"43020:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$_t_bool_$returns$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"function (Position,uint256,bool) view returns (struct IFaultDisputeGame.ClaimData storage pointer)"}},id:99815,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"43020:70:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"VariableDeclarationStatement",src:"42991:99:164"},{expression:{id:99825,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[{id:99817,name:"startingClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99645,src:"43105:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99818,name:"startingPos_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99648,src:"43121:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99819,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"43104:30:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},nodeType:"Assignment",operator:"=",rightHandSide:{components:[{expression:{id:99820,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"43138:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99821,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"43138:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{expression:{id:99822,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"43151:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99823,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"43151:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99824,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"43137:29:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},src:"43104:62:164",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99826,nodeType:"ExpressionStatement",src:"43104:62:164"},{expression:{id:99835,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[{id:99827,name:"disputedClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99651,src:"43181:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99828,name:"disputedPos_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99654,src:"43197:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99829,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"43180:30:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},nodeType:"Assignment",operator:"=",rightHandSide:{components:[{expression:{id:99830,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99803,src:"43214:8:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99831,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"43214:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{expression:{id:99832,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99803,src:"43230:8:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99833,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"43230:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99834,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"43213:35:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},src:"43180:68:164",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99836,nodeType:"ExpressionStatement",src:"43180:68:164"}]},id:99838,nodeType:"IfStatement",src:"42224:1035:164",trueBody:{id:99800,nodeType:"Block",src:"42239:732:164",statements:[{condition:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99750,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99746,name:"outputPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99726,src:"42540:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99747,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"indexAtDepth",nodeType:"MemberAccess",referencedDeclaration:100850,src:"42540:22:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99748,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42540:24:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"30",id:99749,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"42567:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"42540:28:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:99788,nodeType:"Block",src:"42794:91:164",statements:[{expression:{id:99786,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99778,name:"startingClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99645,src:"42812:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{arguments:[],expression:{argumentTypes:[],expression:{expression:{id:99781,name:"startingOutputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97811,src:"42840:18:164",typeDescriptions:{typeIdentifier:"t_struct$_OutputRoot_$103283_storage",typeString:"struct OutputRoot storage ref"}},id:99782,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"root",nodeType:"MemberAccess",referencedDeclaration:103280,src:"42840:23:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:99783,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101111,src:"42840:27:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Hash_$103253_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Hash) pure returns (bytes32)"}},id:99784,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42840:29:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:99779,name:"Claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103255,src:"42829:5:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Claim_$103255_$",typeString:"type(Claim)"}},id:99780,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"42829:10:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (bytes32) pure returns (Claim)"}},id:99785,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42829:41:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},src:"42812:58:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:99787,nodeType:"ExpressionStatement",src:"42812:58:164"}]},id:99789,nodeType:"IfStatement",src:"42536:349:164",trueBody:{id:99777,nodeType:"Block",src:"42570:218:164",statements:[{assignments:[99753],declarations:[{constant:!1,id:99753,mutability:"mutable",name:"starting",nameLocation:"42606:8:164",nodeType:"VariableDeclaration",scope:99777,src:"42588:26:164",stateVariable:!1,storageLocation:"storage",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"},typeName:{id:99752,nodeType:"UserDefinedTypeName",pathNode:{id:99751,name:"ClaimData",nodeType:"IdentifierPath",referencedDeclaration:100523,src:"42588:9:164"},referencedDeclaration:100523,src:"42588:9:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData"}},visibility:"internal"}],id:99766,initialValue:{arguments:[{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99761,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99757,name:"outputPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99726,src:"42650:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99758,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"42650:13:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99759,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42650:15:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:99760,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"42668:1:164",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"42650:19:164",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:99755,name:"Position",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103269,src:"42636:8:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Position_$103269_$",typeString:"type(Position)"}},id:99756,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"42636:13:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint128_$returns$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint128) pure returns (Position)"}},id:99762,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42636:34:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:99763,name:"claimIdx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99657,src:"42672:8:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{hexValue:"74727565",id:99764,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"42682:4:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bool",typeString:"bool"}],id:99754,name:"_findTraceAncestor",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99638,src:"42617:18:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_userDefinedValueType$_Position_$103269_$_t_uint256_$_t_bool_$returns$_t_struct$_ClaimData_$100523_storage_ptr_$",typeString:"function (Position,uint256,bool) view returns (struct IFaultDisputeGame.ClaimData storage pointer)"}},id:99765,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"42617:70:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},nodeType:"VariableDeclarationStatement",src:"42588:99:164"},{expression:{id:99775,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[{id:99767,name:"startingClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99645,src:"42706:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99768,name:"startingPos_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99648,src:"42722:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99769,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"42705:30:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},nodeType:"Assignment",operator:"=",rightHandSide:{components:[{expression:{id:99770,name:"starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99753,src:"42739:8:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99771,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"42739:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{expression:{id:99772,name:"starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99753,src:"42755:8:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99773,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"42755:17:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99774,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"42738:35:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},src:"42705:68:164",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99776,nodeType:"ExpressionStatement",src:"42705:68:164"}]}},{expression:{id:99798,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{components:[{id:99790,name:"disputedClaim_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99651,src:"42899:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99791,name:"disputedPos_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99654,src:"42915:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99792,isConstant:!1,isInlineArray:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"TupleExpression",src:"42898:30:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},nodeType:"Assignment",operator:"=",rightHandSide:{components:[{expression:{id:99793,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"42932:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99794,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"claim",nodeType:"MemberAccess",referencedDeclaration:100516,src:"42932:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{expression:{id:99795,name:"claim",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99662,src:"42945:5:164",typeDescriptions:{typeIdentifier:"t_struct$_ClaimData_$100523_storage_ptr",typeString:"struct IFaultDisputeGame.ClaimData storage pointer"}},id:99796,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"position",nodeType:"MemberAccess",referencedDeclaration:100519,src:"42945:14:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],id:99797,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"42931:29:164",typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position)"}},src:"42898:62:164",typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:99799,nodeType:"ExpressionStatement",src:"42898:62:164"}]}}]},documentation:{id:99639,nodeType:"StructuredDocumentation",src:"39288:504:164",text:"@notice Finds the starting and disputed output root for a given `ClaimData` within the DAG. This\n `ClaimData` must be below the `SPLIT_DEPTH`.\n @param _start The index within `claimData` of the claim to start searching from.\n @return startingClaim_ The starting output root claim.\n @return startingPos_ The starting output root position.\n @return disputedClaim_ The disputed output root claim.\n @return disputedPos_ The disputed output root position."},implemented:!0,kind:"function",modifiers:[],name:"_findStartingAndDisputedOutputs",nameLocation:"39806:31:164",parameters:{id:99642,nodeType:"ParameterList",parameters:[{constant:!1,id:99641,mutability:"mutable",name:"_start",nameLocation:"39846:6:164",nodeType:"VariableDeclaration",scope:99840,src:"39838:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99640,name:"uint256",nodeType:"ElementaryTypeName",src:"39838:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"39837:16:164"},returnParameters:{id:99655,nodeType:"ParameterList",parameters:[{constant:!1,id:99645,mutability:"mutable",name:"startingClaim_",nameLocation:"39907:14:164",nodeType:"VariableDeclaration",scope:99840,src:"39901:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99644,nodeType:"UserDefinedTypeName",pathNode:{id:99643,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"39901:5:164"},referencedDeclaration:103255,src:"39901:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99648,mutability:"mutable",name:"startingPos_",nameLocation:"39932:12:164",nodeType:"VariableDeclaration",scope:99840,src:"39923:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99647,nodeType:"UserDefinedTypeName",pathNode:{id:99646,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"39923:8:164"},referencedDeclaration:103269,src:"39923:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99651,mutability:"mutable",name:"disputedClaim_",nameLocation:"39952:14:164",nodeType:"VariableDeclaration",scope:99840,src:"39946:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99650,nodeType:"UserDefinedTypeName",pathNode:{id:99649,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"39946:5:164"},referencedDeclaration:103255,src:"39946:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99654,mutability:"mutable",name:"disputedPos_",nameLocation:"39977:12:164",nodeType:"VariableDeclaration",scope:99840,src:"39968:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99653,nodeType:"UserDefinedTypeName",pathNode:{id:99652,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"39968:8:164"},referencedDeclaration:103269,src:"39968:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],src:"39900:90:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"internal"},{id:99875,nodeType:"FunctionDefinition",src:"43519:319:164",nodes:[],body:{id:99874,nodeType:"Block",src:"43602:236:164",nodes:[],statements:[{assignments:[99851,99854,99857,99860],declarations:[{constant:!1,id:99851,mutability:"mutable",name:"starting",nameLocation:"43619:8:164",nodeType:"VariableDeclaration",scope:99874,src:"43613:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99850,nodeType:"UserDefinedTypeName",pathNode:{id:99849,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"43613:5:164"},referencedDeclaration:103255,src:"43613:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99854,mutability:"mutable",name:"startingPos",nameLocation:"43638:11:164",nodeType:"VariableDeclaration",scope:99874,src:"43629:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99853,nodeType:"UserDefinedTypeName",pathNode:{id:99852,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"43629:8:164"},referencedDeclaration:103269,src:"43629:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99857,mutability:"mutable",name:"disputed",nameLocation:"43657:8:164",nodeType:"VariableDeclaration",scope:99874,src:"43651:14:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99856,nodeType:"UserDefinedTypeName",pathNode:{id:99855,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"43651:5:164"},referencedDeclaration:103255,src:"43651:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99860,mutability:"mutable",name:"disputedPos",nameLocation:"43676:11:164",nodeType:"VariableDeclaration",scope:99874,src:"43667:20:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99859,nodeType:"UserDefinedTypeName",pathNode:{id:99858,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"43667:8:164"},referencedDeclaration:103269,src:"43667:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],id:99864,initialValue:{arguments:[{id:99862,name:"_claimIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99843,src:"43735:11:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:99861,name:"_findStartingAndDisputedOutputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99840,src:"43703:31:164",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (uint256) view returns (Claim,Position,Claim,Position)"}},id:99863,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"43703:44:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$",typeString:"tuple(Claim,Position,Claim,Position)"}},nodeType:"VariableDeclarationStatement",src:"43612:135:164"},{expression:{id:99872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99865,name:"uuid_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99847,src:"43757:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{id:99867,name:"starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99851,src:"43786:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99868,name:"startingPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99854,src:"43796:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:99869,name:"disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99857,src:"43809:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99870,name:"disputedPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99860,src:"43819:11:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}],id:99866,name:"_computeLocalContext",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99926,src:"43765:20:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$_t_userDefinedValueType$_Claim_$103255_$_t_userDefinedValueType$_Position_$103269_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (Claim,Position,Claim,Position) pure returns (Hash)"}},id:99871,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"43765:66:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},src:"43757:74:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:99873,nodeType:"ExpressionStatement",src:"43757:74:164"}]},documentation:{id:99841,nodeType:"StructuredDocumentation",src:"43271:243:164",text:`@notice Finds the local context hash for a given claim index that is present in an execution trace subgame. + @param _claimIndex The index of the claim to find the local context hash for. + @return uuid_ The local context hash.`},implemented:!0,kind:"function",modifiers:[],name:"_findLocalContext",nameLocation:"43528:17:164",parameters:{id:99844,nodeType:"ParameterList",parameters:[{constant:!1,id:99843,mutability:"mutable",name:"_claimIndex",nameLocation:"43554:11:164",nodeType:"VariableDeclaration",scope:99875,src:"43546:19:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:99842,name:"uint256",nodeType:"ElementaryTypeName",src:"43546:7:164",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"43545:21:164"},returnParameters:{id:99848,nodeType:"ParameterList",parameters:[{constant:!1,id:99847,mutability:"mutable",name:"uuid_",nameLocation:"43595:5:164",nodeType:"VariableDeclaration",scope:99875,src:"43590:10:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:99846,nodeType:"UserDefinedTypeName",pathNode:{id:99845,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"43590:4:164"},referencedDeclaration:103253,src:"43590:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],src:"43589:12:164"},scope:99927,stateMutability:"view",virtual:!1,visibility:"internal"},{id:99926,nodeType:"FunctionDefinition",src:"44205:616:164",nodes:[],body:{id:99925,nodeType:"Block",src:"44416:405:164",nodes:[],statements:[{expression:{id:99923,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:99894,name:"uuid_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99892,src:"44614:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},nodeType:"Assignment",operator:"=",rightHandSide:{condition:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:99899,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:99895,name:"_startingPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99882,src:"44622:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},id:99896,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101017,src:"44622:16:164",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Position_$103269_$returns$_t_uint128_$bound_to$_t_userDefinedValueType$_Position_$103269_$",typeString:"function (Position) pure returns (uint128)"}},id:99897,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44622:18:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:99898,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"44644:1:164",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"44622:23:164",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{arguments:[{arguments:[{arguments:[{id:99915,name:"_starting",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99879,src:"44763:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99916,name:"_startingPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99882,src:"44774:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},{id:99917,name:"_disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99885,src:"44788:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99918,name:"_disputedPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99888,src:"44799:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}],expression:{id:99913,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"44752:3:164",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:99914,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"44752:10:164",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:99919,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44752:60:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:99912,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"44742:9:164",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:99920,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44742:71:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:99910,name:"Hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103253,src:"44732:4:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Hash_$103253_$",typeString:"type(Hash)"}},id:99911,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"44732:9:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (bytes32) pure returns (Hash)"}},id:99921,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44732:82:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:99922,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"44622:192:164",trueExpression:{arguments:[{arguments:[{arguments:[{id:99905,name:"_disputed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99885,src:"44691:9:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},{id:99906,name:"_disputedPos",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:99888,src:"44702:12:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}}],expression:{argumentTypes:[{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}],expression:{id:99903,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"44680:3:164",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:99904,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"44680:10:164",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:99907,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44680:35:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:99902,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"44670:9:164",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:99908,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44670:46:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:99900,name:"Hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103253,src:"44660:4:164",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_Hash_$103253_$",typeString:"type(Hash)"}},id:99901,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"44660:9:164",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Hash_$103253_$",typeString:"function (bytes32) pure returns (Hash)"}},id:99909,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"44660:57:164",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},src:"44614:200:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},id:99924,nodeType:"ExpressionStatement",src:"44614:200:164"}]},documentation:{id:99876,nodeType:"StructuredDocumentation",src:"43844:356:164",text:`@notice Computes the local context hash for a set of starting/disputed claim values and positions. + @param _starting The starting claim. + @param _startingPos The starting claim's position. + @param _disputed The disputed claim. + @param _disputedPos The disputed claim's position. + @return uuid_ The local context hash.`},implemented:!0,kind:"function",modifiers:[],name:"_computeLocalContext",nameLocation:"44214:20:164",parameters:{id:99889,nodeType:"ParameterList",parameters:[{constant:!1,id:99879,mutability:"mutable",name:"_starting",nameLocation:"44250:9:164",nodeType:"VariableDeclaration",scope:99926,src:"44244:15:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99878,nodeType:"UserDefinedTypeName",pathNode:{id:99877,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"44244:5:164"},referencedDeclaration:103255,src:"44244:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99882,mutability:"mutable",name:"_startingPos",nameLocation:"44278:12:164",nodeType:"VariableDeclaration",scope:99926,src:"44269:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99881,nodeType:"UserDefinedTypeName",pathNode:{id:99880,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"44269:8:164"},referencedDeclaration:103269,src:"44269:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"},{constant:!1,id:99885,mutability:"mutable",name:"_disputed",nameLocation:"44306:9:164",nodeType:"VariableDeclaration",scope:99926,src:"44300:15:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:99884,nodeType:"UserDefinedTypeName",pathNode:{id:99883,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"44300:5:164"},referencedDeclaration:103255,src:"44300:5:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"},{constant:!1,id:99888,mutability:"mutable",name:"_disputedPos",nameLocation:"44334:12:164",nodeType:"VariableDeclaration",scope:99926,src:"44325:21:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"},typeName:{id:99887,nodeType:"UserDefinedTypeName",pathNode:{id:99886,name:"Position",nodeType:"IdentifierPath",referencedDeclaration:103269,src:"44325:8:164"},referencedDeclaration:103269,src:"44325:8:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Position_$103269",typeString:"Position"}},visibility:"internal"}],src:"44234:118:164"},returnParameters:{id:99893,nodeType:"ParameterList",parameters:[{constant:!1,id:99892,mutability:"mutable",name:"uuid_",nameLocation:"44405:5:164",nodeType:"VariableDeclaration",scope:99926,src:"44400:10:164",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"},typeName:{id:99891,nodeType:"UserDefinedTypeName",pathNode:{id:99890,name:"Hash",nodeType:"IdentifierPath",referencedDeclaration:103253,src:"44400:4:164"},referencedDeclaration:103253,src:"44400:4:164",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Hash_$103253",typeString:"Hash"}},visibility:"internal"}],src:"44399:12:164"},scope:99927,stateMutability:"pure",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:97711,name:"IFaultDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100608,src:"1025:17:164"},id:97712,nodeType:"InheritanceSpecifier",src:"1025:17:164"},{baseName:{id:97713,name:"Clone",nodeType:"IdentifierPath",referencedDeclaration:60963,src:"1044:5:164"},id:97714,nodeType:"InheritanceSpecifier",src:"1044:5:164"},{baseName:{id:97715,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1051:7:164"},id:97716,nodeType:"InheritanceSpecifier",src:"1051:7:164"}],canonicalName:"FaultDisputeGame",contractDependencies:[],contractKind:"contract",documentation:{id:97710,nodeType:"StructuredDocumentation",src:"900:96:164",text:"@title FaultDisputeGame\n @notice An implementation of the `IFaultDisputeGame` interface."},fullyImplemented:!0,linearizedBaseContracts:[99927,109417,60963,100608,100327,100616],name:"FaultDisputeGame",nameLocation:"1005:16:164",scope:99928,usedErrors:[103117,103120,103123,103126,103129,103135,103138,103144,103147,103150,103153,103156,103159,103162,103168,103171,103174,103177,103180,103183,103186,103189,103192]}],license:"MIT"},id:164}});var AYe=B((X6a,oj0)=>{oj0.exports={abi:[{type:"function",name:"DECIMALS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"gasPrice",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1Fee",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL1GasUsed",inputs:[{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"isEcotone",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l1BaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"overhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"scalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"setEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b50610fb5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:144:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",sourceMap:"1153:5825:144:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2951:202;;;:::i;:::-;;;160:25:357;;;148:2;133:18;2951:202:144;;;;;;;;2115:338;;;:::i;:::-;;1249:36;;1284:1;1249:36;;4561:82;1284:1;4561:82;;1835:196;;;;;;:::i;:::-;;:::i;1486:21::-;;;;;;;;;;;;1535:14:357;;1528:22;1510:41;;1498:2;1483:18;1486:21:144;1370:187:357;3568:124:144;;;:::i;1355:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4267:141::-;;;:::i;:::-;;;2397:10:357;2385:23;;;2367:42;;2355:2;2340:18;4267:141:144;2223:192:357;2746:86:144;2812:13;2746:86;;4022:133;;;:::i;4975:280::-;;;;;;:::i;:::-;;:::i;3268:196::-;;;:::i;3790:130::-;;;:::i;2951:202::-;2992:7;3020:9;;;;3019:10;3011:63;;;;;;;2622:2:357;3011:63:144;;;2604:21:357;2661:2;2641:18;;;2634:30;2700:34;2680:18;;;2673:62;2771:10;2751:18;;;2744:38;2799:19;;3011:63:144;;;;;;;;;1455:42:199;3091:53:144;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3084:62;;2951:202;:::o;2115:338::-;1455:42:199;2191:57:144;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2177:73;;:10;:73;;;2156:185;;;;;;;3538:2:357;2156:185:144;;;3520:21:357;3577:2;3557:18;;;3550:30;3616:34;3596:18;;;3589:62;3687:34;3667:18;;;3660:62;3759:3;3738:19;;;3731:32;3780:19;;2156:185:144;3336:469:357;2156:185:144;2359:9;;;;:18;2351:69;;;;;;;4012:2:357;2351:69:144;;;3994:21:357;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:8;4141:18;;;4134:36;4187:19;;2351:69:144;3810:402:357;2351:69:144;2430:9;:16;;;;2442:4;2430:16;;;2115:338::o;1835:196::-;1896:7;1919:9;;;;1915:70;;;1951:23;1968:5;1951:16;:23::i;:::-;1944:30;1835:196;-1:-1:-1;;1835:196:144:o;1915:70::-;2001:23;2018:5;2001:16;:23::i;3568:124::-;3610:7;1455:42:199;3636:47:144;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4267:141;4317:6;1455:42:199;4342:57:144;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4022:133::-;4068:6;1455:42:199;4093:53:144;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:280;5038:7;5057:17;5077:22;5093:5;5077:15;:22::i;:::-;5113:9;;5057:42;;-1:-1:-1;5113:9:144;;5109:56;;;5145:9;4975:280;-1:-1:-1;;4975:280:144:o;5109:56::-;1455:42:199;5193:53:144;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5181:67;;:9;:67;:::i;:::-;5174:74;4975:280;-1:-1:-1;;;4975:280:144:o;3268:196::-;3307:7;3335:9;;;;3334:10;3326:61;;;;;;;5026:2:357;3326:61:144;;;5008:21:357;5065:2;5045:18;;;5038:30;5104:34;5084:18;;;5077:62;5175:8;5155:18;;;5148:36;5201:19;;3326:61:144;4824:402:357;3326:61:144;1455:42:199;3404:51:144;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3790:130;3834:7;1455:42:199;3860:51:144;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6015:393;6084:7;6103:17;6123:22;6139:5;6123:15;:22::i;:::-;6103:42;;6155:21;6202:11;:9;:11::i;:::-;6179:15;:13;:15::i;:::-;:20;;6197:2;6179:20;:::i;:::-;:34;;;;;;:::i;:::-;6155:58;;6223:25;6273:13;:11;:13::i;:::-;6251:19;:17;:19::i;:::-;:35;;;;;;:::i;:::-;6223:63;-1:-1:-1;6296:11:144;6323:33;6223:63;6323:13;:33;:::i;:::-;6310:47;;:9;:47;:::i;:::-;6296:61;-1:-1:-1;6386:14:144;1284:1;6386:2;:14;:::i;:::-;6381:19;;:2;:19;:::i;:::-;6374:27;;:3;:27;:::i;:::-;6367:34;6015:393;-1:-1:-1;;;;;;6015:393:144:o;5468:351::-;5537:7;5556:17;5576:22;5592:5;5576:15;:22::i;:::-;5556:42;;5608:11;1455:42:199;5720:51:144;;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5694:11;:9;:11::i;:::-;1455:42:199;5635:53:144;;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5623:67;;:9;:67;:::i;:::-;5622:83;;;;:::i;:::-;:151;;;;:::i;:::-;5608:165;-1:-1:-1;5797:14:144;1284:1;5797:2;:14;:::i;:::-;5790:22;;:3;:22;:::i;:::-;5783:29;5468:351;-1:-1:-1;;;;5468:351:144:o;6610:366::-;6741:12;;6678:7;;;;;6763:173;6787:6;6783:1;:10;6763:173;;;6818:5;6824:1;6818:8;;;;;;;;:::i;:::-;;;;;;;6830:1;6818:13;6814:112;;6851:10;6860:1;6851:10;;:::i;:::-;;;6814:112;;;6900:11;6909:2;6900:11;;:::i;:::-;;;6814:112;6795:3;;;;:::i;:::-;;;;6763:173;;;-1:-1:-1;6952:17:144;:5;6961:7;6952:17;:::i;196:184:357:-;248:77;245:1;238:88;345:4;342:1;335:15;369:4;366:1;359:15;385:980;453:6;506:2;494:9;485:7;481:23;477:32;474:52;;;522:1;519;512:12;474:52;562:9;549:23;591:18;632:2;624:6;621:14;618:34;;;648:1;645;638:12;618:34;686:6;675:9;671:22;661:32;;731:7;724:4;720:2;716:13;712:27;702:55;;753:1;750;743:12;702:55;789:2;776:16;811:2;807;804:10;801:36;;;817:18;;:::i;:::-;951:2;945:9;1013:4;1005:13;;856:66;1001:22;;;1025:2;997:31;993:40;981:53;;;1049:18;;;1069:22;;;1046:46;1043:72;;;1095:18;;:::i;:::-;1135:10;1131:2;1124:22;1170:2;1162:6;1155:18;1210:7;1205:2;1200;1196;1192:11;1188:20;1185:33;1182:53;;;1231:1;1228;1221:12;1182:53;1287:2;1282;1278;1274:11;1269:2;1261:6;1257:15;1244:46;1332:1;1310:15;;;1327:2;1306:24;1299:35;;;;-1:-1:-1;1314:6:357;385:980;-1:-1:-1;;;;;385:980:357:o;1562:656::-;1674:4;1703:2;1732;1721:9;1714:21;1764:6;1758:13;1807:6;1802:2;1791:9;1787:18;1780:34;1832:1;1842:140;1856:6;1853:1;1850:13;1842:140;;;1951:14;;;1947:23;;1941:30;1917:17;;;1936:2;1913:26;1906:66;1871:10;;1842:140;;;2000:6;1997:1;1994:13;1991:91;;;2070:1;2065:2;2056:6;2045:9;2041:22;2037:31;2030:42;1991:91;-1:-1:-1;2134:2:357;2122:15;2139:66;2118:88;2103:104;;;;2209:2;2099:113;;1562:656;-1:-1:-1;;;1562:656:357:o;2829:184::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:52;;;2968:1;2965;2958:12;2920:52;-1:-1:-1;2991:16:357;;2829:184;-1:-1:-1;2829:184:357:o;3018:313::-;3088:6;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3189:9;3183:16;3239:42;3232:5;3228:54;3221:5;3218:65;3208:93;;3297:1;3294;3287:12;4217:280;4286:6;4339:2;4327:9;4318:7;4314:23;4310:32;4307:52;;;4355:1;4352;4345:12;4307:52;4387:9;4381:16;4437:10;4430:5;4426:22;4419:5;4416:33;4406:61;;4463:1;4460;4453:12;4502:184;4554:77;4551:1;4544:88;4651:4;4648:1;4641:15;4675:4;4672:1;4665:15;4691:128;4731:3;4762:1;4758:6;4755:1;4752:13;4749:39;;;4768:18;;:::i;:::-;-1:-1:-1;4804:9:357;;4691:128::o;5231:262::-;5270:7;5302:10;5339:2;5336:1;5332:10;5369:2;5366:1;5362:10;5425:3;5421:2;5417:12;5412:3;5409:21;5402:3;5395:11;5388:19;5384:47;5381:73;;;5434:18;;:::i;:::-;5474:13;;5231:262;-1:-1:-1;;;;5231:262:357:o;5498:228::-;5538:7;5664:1;5596:66;5592:74;5589:1;5586:81;5581:1;5574:9;5567:17;5563:105;5560:131;;;5671:18;;:::i;:::-;-1:-1:-1;5711:9:357;;5498:228::o;5731:482::-;5820:1;5863:5;5820:1;5877:330;5898:7;5888:8;5885:21;5877:330;;;6017:4;5949:66;5945:77;5939:4;5936:87;5933:113;;;6026:18;;:::i;:::-;6076:7;6066:8;6062:22;6059:55;;;6096:16;;;;6059:55;6175:22;;;;6135:15;;;;5877:330;;;5881:3;5731:482;;;;;:::o;6218:866::-;6267:5;6297:8;6287:80;;-1:-1:-1;6338:1:357;6352:5;;6287:80;6386:4;6376:76;;-1:-1:-1;6423:1:357;6437:5;;6376:76;6468:4;6486:1;6481:59;;;;6554:1;6549:130;;;;6461:218;;6481:59;6511:1;6502:10;;6525:5;;;6549:130;6586:3;6576:8;6573:17;6570:43;;;6593:18;;:::i;:::-;-1:-1:-1;;6649:1:357;6635:16;;6664:5;;6461:218;;6763:2;6753:8;6750:16;6744:3;6738:4;6735:13;6731:36;6725:2;6715:8;6712:16;6707:2;6701:4;6698:12;6694:35;6691:77;6688:159;;;-1:-1:-1;6800:19:357;;;6832:5;;6688:159;6879:34;6904:8;6898:4;6879:34;:::i;:::-;7009:6;6941:66;6937:79;6928:7;6925:92;6922:118;;;7020:18;;:::i;:::-;7058:20;;6218:866;-1:-1:-1;;;6218:866:357:o;7089:131::-;7149:5;7178:36;7205:8;7199:4;7178:36;:::i;7225:274::-;7265:1;7291;7281:189;;7326:77;7323:1;7316:88;7427:4;7424:1;7417:15;7455:4;7452:1;7445:15;7281:189;-1:-1:-1;7484:9:357;;7225:274::o;7504:184::-;7556:77;7553:1;7546:88;7653:4;7650:1;7643:15;7677:4;7674:1;7667:15;7693:195;7732:3;7763:66;7756:5;7753:77;7750:103;;7833:18;;:::i;:::-;-1:-1:-1;7880:1:357;7869:13;;7693:195::o",linkReferences:{}},methodIdentifiers:{"DECIMALS()":"2e0f2625","baseFee()":"6ef25c3a","baseFeeScalar()":"c5985918","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","decimals()":"313ce567","gasPrice()":"fe173b97","getL1Fee(bytes)":"49948e0e","getL1GasUsed(bytes)":"de26c4a1","isEcotone()":"4ef6e224","l1BaseFee()":"519b4bd3","overhead()":"0c18c162","scalar()":"f45e65d8","setEcotone()":"22b90ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gasPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getL1GasUsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEcotone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1BaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"overhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x420000000000000000000000000000000000000F","kind":"dev","methods":{"baseFee()":{"returns":{"_0":"Current L2 base fee."}},"baseFeeScalar()":{"returns":{"_0":"Current base fee scalar."}},"blobBaseFee()":{"returns":{"_0":"Current blob base fee."}},"blobBaseFeeScalar()":{"returns":{"_0":"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.","returns":{"_0":"Number of decimals used in the scalar."}},"gasPrice()":{"returns":{"_0":"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 fee for."},"returns":{"_0":"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{"params":{"_data":"Unsigned fully RLP-encoded transaction to get the L1 gas for."},"returns":{"_0":"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{"returns":{"_0":"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.","returns":{"_0":"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.","returns":{"_0":"Current fee scalar."}}},"stateVariables":{"version":{"custom:semver":"1.2.0"}},"title":"GasPriceOracle","version":1},"userdoc":{"kind":"user","methods":{"DECIMALS()":{"notice":"Number of decimals used in the scalar."},"baseFee()":{"notice":"Retrieves the current base fee."},"baseFeeScalar()":{"notice":"Retrieves the current base fee scalar."},"blobBaseFee()":{"notice":"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{"notice":"Retrieves the current blob base fee scalar."},"gasPrice()":{"notice":"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{"notice":"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{"notice":"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{"notice":"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{"notice":"Retrieves the latest known L1 base fee."},"setEcotone()":{"notice":"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{"notice":"Semantic version."}},"notice":"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);","version":1}},"settings":{"compilationTarget":{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/GasPriceOracle.sol":{"keccak256":"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1","license":"MIT","urls":["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"]},"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DECIMALS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"pure",type:"function",name:"decimals",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"gasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1Fee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"view",type:"function",name:"getL1GasUsed",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"isEcotone",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1BaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"overhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"scalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{"custom:legacy":"@notice Retrieves the number of decimals used in the scalar.",returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{"custom:legacy":"@notice Retrieves the current fee overhead.",returns:{_0:"Current fee overhead."}},"scalar()":{"custom:legacy":"@notice Retrieves the current fee scalar.",returns:{_0:"Current fee scalar."}}},version:1},userdoc:{kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/GasPriceOracle.sol":"GasPriceOracle"},evmVersion:"london",libraries:{}},sources:{"src/L2/GasPriceOracle.sol":{keccak256:"0x299b0722d301a4bc075ba09c73e55a98e3dc509444906f285e2ceba9c1fa69b1",urls:["bzz-raw://17f7ffe4744b7bde10d61ce376ac0b497d40dab962b1c4c47bf7fd9784350cb7","dweb:/ipfs/QmYp8vZtid8GBWrm7QSPxNCV9D4Mm9ELm29PGup7b6dJ7H"],license:"MIT"},"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:89850,contract:"src/L2/GasPriceOracle.sol:GasPriceOracle",label:"isEcotone",offset:0,slot:"0",type:"t_bool"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"DECIMALS()":{notice:"Number of decimals used in the scalar."},"baseFee()":{notice:"Retrieves the current base fee."},"baseFeeScalar()":{notice:"Retrieves the current base fee scalar."},"blobBaseFee()":{notice:"Retrieves the current blob base fee."},"blobBaseFeeScalar()":{notice:"Retrieves the current blob base fee scalar."},"gasPrice()":{notice:"Retrieves the current gas price (base fee)."},"getL1Fee(bytes)":{notice:"Computes the L1 portion of the fee based on the size of the rlp encoded input transaction, the current L1 base fee, and the various dynamic parameters."},"getL1GasUsed(bytes)":{notice:"Computes the amount of L1 gas used for a transaction. Adds 68 bytes of padding to account for the fact that the input does not have a signature."},"isEcotone()":{notice:"Indicates whether the network has gone through the Ecotone upgrade."},"l1BaseFee()":{notice:"Retrieves the latest known L1 base fee."},"setEcotone()":{notice:"Set chain to be Ecotone chain (callable by depositor account)"},"version()":{notice:"Semantic version."}},notice:"This contract maintains the variables responsible for computing the L1 portion of the total fee charged on L2. Before Bedrock, this contract held variables in state that were read during the state transition function to compute the L1 portion of the transaction fee. After Bedrock, this contract now simply proxies the L1Block contract, which has the values used to compute the L1 portion of the fee in its state. The contract exposes an API that is useful for knowing how large the L1 portion of the transaction fee will be. The following events were deprecated with Bedrock: - event OverheadUpdated(uint256 overhead); - event ScalarUpdated(uint256 scalar); - event DecimalsUpdated(uint256 decimals);"},devdoc:{version:1,kind:"dev",methods:{"baseFee()":{returns:{_0:"Current L2 base fee."}},"baseFeeScalar()":{returns:{_0:"Current base fee scalar."}},"blobBaseFee()":{returns:{_0:"Current blob base fee."}},"blobBaseFeeScalar()":{returns:{_0:"Current blob base fee scalar."}},"decimals()":{returns:{_0:"Number of decimals used in the scalar."}},"gasPrice()":{returns:{_0:"Current L2 gas price (base fee)."}},"getL1Fee(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 fee for."},returns:{_0:"L1 fee that should be paid for the tx"}},"getL1GasUsed(bytes)":{params:{_data:"Unsigned fully RLP-encoded transaction to get the L1 gas for."},returns:{_0:"Amount of L1 gas used to publish the transaction."}},"l1BaseFee()":{returns:{_0:"Latest known L1 base fee."}},"overhead()":{returns:{_0:"Current fee overhead."}},"scalar()":{returns:{_0:"Current fee scalar."}}},title:"GasPriceOracle"},ast:{absolutePath:"src/L2/GasPriceOracle.sol",id:90203,exportedSymbols:{GasPriceOracle:[90202],ISemver:[109417],L1Block:[90318],Predeploys:[104124]},nodeType:"SourceUnit",src:"32:6947:144",nodes:[{id:89830,nodeType:"PragmaDirective",src:"32:23:144",nodes:[],literals:["solidity","0.8",".15"]},{id:89832,nodeType:"ImportDirective",src:"57:52:144",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:90203,sourceUnit:109418,symbolAliases:[{foreign:{id:89831,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"66:7:144",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:89834,nodeType:"ImportDirective",src:"110:58:144",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:90203,sourceUnit:104125,symbolAliases:[{foreign:{id:89833,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"119:10:144",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:89836,nodeType:"ImportDirective",src:"169:45:144",nodes:[],absolutePath:"src/L2/L1Block.sol",file:"src/L2/L1Block.sol",nameLocation:"-1:-1:-1",scope:90203,sourceUnit:90319,symbolAliases:[{foreign:{id:89835,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"178:7:144",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90202,nodeType:"ContractDefinition",src:"1153:5825:144",nodes:[{id:89843,nodeType:"VariableDeclaration",src:"1249:36:144",nodes:[],constant:!0,documentation:{id:89840,nodeType:"StructuredDocumentation",src:"1194:50:144",text:"@notice Number of decimals used in the scalar."},functionSelector:"2e0f2625",mutability:"constant",name:"DECIMALS",nameLocation:"1273:8:144",scope:90202,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89841,name:"uint256",nodeType:"ElementaryTypeName",src:"1249:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},value:{hexValue:"36",id:89842,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1284:1:144",typeDescriptions:{typeIdentifier:"t_rational_6_by_1",typeString:"int_const 6"},value:"6"},visibility:"public"},{id:89847,nodeType:"VariableDeclaration",src:"1355:40:144",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:89844,nodeType:"StructuredDocumentation",src:"1292:58:144",text:`@notice Semantic version. + @custom:semver 1.2.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1378:7:144",scope:90202,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:89845,name:"string",nodeType:"ElementaryTypeName",src:"1355:6:144",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e322e30",id:89846,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1388:7:144",typeDescriptions:{typeIdentifier:"t_stringliteral_e374587661e69268352d25204d81b23ce801573f4b09f3545e69536dc085a37a",typeString:'literal_string "1.2.0"'},value:"1.2.0"},visibility:"public"},{id:89850,nodeType:"VariableDeclaration",src:"1486:21:144",nodes:[],constant:!1,documentation:{id:89848,nodeType:"StructuredDocumentation",src:"1402:79:144",text:"@notice Indicates whether the network has gone through the Ecotone upgrade."},functionSelector:"4ef6e224",mutability:"mutable",name:"isEcotone",nameLocation:"1498:9:144",scope:90202,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:89849,name:"bool",nodeType:"ElementaryTypeName",src:"1486:4:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"public"},{id:89870,nodeType:"FunctionDefinition",src:"1835:196:144",nodes:[],body:{id:89869,nodeType:"Block",src:"1905:126:144",nodes:[],statements:[{condition:{id:89858,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"1919:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:89864,nodeType:"IfStatement",src:"1915:70:144",trueBody:{id:89863,nodeType:"Block",src:"1930:55:144",statements:[{expression:{arguments:[{id:89860,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89853,src:"1968:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:89859,name:"_getL1FeeEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90148,src:"1951:16:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint256_$",typeString:"function (bytes memory) view returns (uint256)"}},id:89861,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1951:23:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89857,id:89862,nodeType:"Return",src:"1944:30:144"}]}},{expression:{arguments:[{id:89866,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89853,src:"2018:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:89865,name:"_getL1FeeBedrock",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90097,src:"2001:16:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_bytes_memory_ptr_$returns$_t_uint256_$",typeString:"function (bytes memory) view returns (uint256)"}},id:89867,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2001:23:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89857,id:89868,nodeType:"Return",src:"1994:30:144"}]},documentation:{id:89851,nodeType:"StructuredDocumentation",src:"1514:316:144",text:`@notice Computes the L1 portion of the fee based on the size of the rlp encoded input + transaction, the current L1 base fee, and the various dynamic parameters. + @param _data Unsigned fully RLP-encoded transaction to get the L1 fee for. + @return L1 fee that should be paid for the tx`},functionSelector:"49948e0e",implemented:!0,kind:"function",modifiers:[],name:"getL1Fee",nameLocation:"1844:8:144",parameters:{id:89854,nodeType:"ParameterList",parameters:[{constant:!1,id:89853,mutability:"mutable",name:"_data",nameLocation:"1866:5:144",nodeType:"VariableDeclaration",scope:89870,src:"1853:18:144",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:89852,name:"bytes",nodeType:"ElementaryTypeName",src:"1853:5:144",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"1852:20:144"},returnParameters:{id:89857,nodeType:"ParameterList",parameters:[{constant:!1,id:89856,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89870,src:"1896:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89855,name:"uint256",nodeType:"ElementaryTypeName",src:"1896:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"1895:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"external"},{id:89899,nodeType:"FunctionDefinition",src:"2115:338:144",nodes:[],body:{id:89898,nodeType:"Block",src:"2146:307:144",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:89883,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:89875,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"2177:3:144",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:89876,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"2177:10:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89878,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"2199:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89879,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"2199:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89877,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"2191:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89880,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2191:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89881,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEPOSITOR_ACCOUNT",nodeType:"MemberAccess",referencedDeclaration:90213,src:"2191:57:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:89882,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2191:59:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2177:73:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"47617350726963654f7261636c653a206f6e6c7920746865206465706f7369746f72206163636f756e742063616e2073657420697345636f746f6e6520666c6167",id:89884,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2264:67:144",typeDescriptions:{typeIdentifier:"t_stringliteral_a6497d84b1fcb87671ee1e7d83fa633da5bca5b69ea1e0c7b61a9ee91a07700c",typeString:'literal_string "GasPriceOracle: only the depositor account can set isEcotone flag"'},value:"GasPriceOracle: only the depositor account can set isEcotone flag"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_a6497d84b1fcb87671ee1e7d83fa633da5bca5b69ea1e0c7b61a9ee91a07700c",typeString:'literal_string "GasPriceOracle: only the depositor account can set isEcotone flag"'}],id:89874,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"2156:7:144",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:89885,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2156:185:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:89886,nodeType:"ExpressionStatement",src:"2156:185:144"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:89890,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:89888,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"2359:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"66616c7365",id:89889,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"2372:5:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},src:"2359:18:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"47617350726963654f7261636c653a2045636f746f6e6520616c726561647920616374697665",id:89891,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2379:40:144",typeDescriptions:{typeIdentifier:"t_stringliteral_5923a2a5f6dac6b5f7274d34a2dd94f4b6ab3b4a09fa25eddc1c3f3c5ff8cc39",typeString:'literal_string "GasPriceOracle: Ecotone already active"'},value:"GasPriceOracle: Ecotone already active"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_5923a2a5f6dac6b5f7274d34a2dd94f4b6ab3b4a09fa25eddc1c3f3c5ff8cc39",typeString:'literal_string "GasPriceOracle: Ecotone already active"'}],id:89887,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"2351:7:144",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:89892,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2351:69:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:89893,nodeType:"ExpressionStatement",src:"2351:69:144"},{expression:{id:89896,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:89894,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"2430:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:89895,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"2442:4:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"2430:16:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:89897,nodeType:"ExpressionStatement",src:"2430:16:144"}]},documentation:{id:89871,nodeType:"StructuredDocumentation",src:"2037:73:144",text:"@notice Set chain to be Ecotone chain (callable by depositor account)"},functionSelector:"22b90ab3",implemented:!0,kind:"function",modifiers:[],name:"setEcotone",nameLocation:"2124:10:144",parameters:{id:89872,nodeType:"ParameterList",parameters:[],src:"2134:2:144"},returnParameters:{id:89873,nodeType:"ParameterList",parameters:[],src:"2146:0:144"},scope:90202,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:89909,nodeType:"FunctionDefinition",src:"2568:87:144",nodes:[],body:{id:89908,nodeType:"Block",src:"2618:37:144",nodes:[],statements:[{expression:{expression:{id:89905,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"2635:5:144",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:89906,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"basefee",nodeType:"MemberAccess",src:"2635:13:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89904,id:89907,nodeType:"Return",src:"2628:20:144"}]},documentation:{id:89900,nodeType:"StructuredDocumentation",src:"2459:104:144",text:`@notice Retrieves the current gas price (base fee). + @return Current L2 gas price (base fee).`},functionSelector:"fe173b97",implemented:!0,kind:"function",modifiers:[],name:"gasPrice",nameLocation:"2577:8:144",parameters:{id:89901,nodeType:"ParameterList",parameters:[],src:"2585:2:144"},returnParameters:{id:89904,nodeType:"ParameterList",parameters:[{constant:!1,id:89903,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89909,src:"2609:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89902,name:"uint256",nodeType:"ElementaryTypeName",src:"2609:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2608:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:89919,nodeType:"FunctionDefinition",src:"2746:86:144",nodes:[],body:{id:89918,nodeType:"Block",src:"2795:37:144",nodes:[],statements:[{expression:{expression:{id:89915,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"2812:5:144",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:89916,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"basefee",nodeType:"MemberAccess",src:"2812:13:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89914,id:89917,nodeType:"Return",src:"2805:20:144"}]},documentation:{id:89910,nodeType:"StructuredDocumentation",src:"2661:80:144",text:`@notice Retrieves the current base fee. + @return Current L2 base fee.`},functionSelector:"6ef25c3a",implemented:!0,kind:"function",modifiers:[],name:"baseFee",nameLocation:"2755:7:144",parameters:{id:89911,nodeType:"ParameterList",parameters:[],src:"2762:2:144"},returnParameters:{id:89914,nodeType:"ParameterList",parameters:[{constant:!1,id:89913,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89919,src:"2786:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89912,name:"uint256",nodeType:"ElementaryTypeName",src:"2786:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2785:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:89939,nodeType:"FunctionDefinition",src:"2951:202:144",nodes:[],body:{id:89938,nodeType:"Block",src:"3001:152:144",nodes:[],statements:[{expression:{arguments:[{id:89927,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"3019:10:144",subExpression:{id:89926,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"3020:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"47617350726963654f7261636c653a206f7665726865616428292069732064657072656361746564",id:89928,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3031:42:144",typeDescriptions:{typeIdentifier:"t_stringliteral_25a8f9debbed12be50767fc7babd300130a5ca203afc2f904ec6e57d0959fbbf",typeString:'literal_string "GasPriceOracle: overhead() is deprecated"'},value:"GasPriceOracle: overhead() is deprecated"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_25a8f9debbed12be50767fc7babd300130a5ca203afc2f904ec6e57d0959fbbf",typeString:'literal_string "GasPriceOracle: overhead() is deprecated"'}],id:89925,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3011:7:144",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:89929,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3011:63:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:89930,nodeType:"ExpressionStatement",src:"3011:63:144"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89932,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"3099:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89933,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"3099:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89931,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"3091:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89934,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3091:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89935,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1FeeOverhead",nodeType:"MemberAccess",referencedDeclaration:90240,src:"3091:53:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:89936,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3091:55:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89924,id:89937,nodeType:"Return",src:"3084:62:144"}]},documentation:{id:89920,nodeType:"StructuredDocumentation",src:"2838:108:144",text:`@custom:legacy + @notice Retrieves the current fee overhead. + @return Current fee overhead.`},functionSelector:"0c18c162",implemented:!0,kind:"function",modifiers:[],name:"overhead",nameLocation:"2960:8:144",parameters:{id:89921,nodeType:"ParameterList",parameters:[],src:"2968:2:144"},returnParameters:{id:89924,nodeType:"ParameterList",parameters:[{constant:!1,id:89923,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89939,src:"2992:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89922,name:"uint256",nodeType:"ElementaryTypeName",src:"2992:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2991:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:89959,nodeType:"FunctionDefinition",src:"3268:196:144",nodes:[],body:{id:89958,nodeType:"Block",src:"3316:148:144",nodes:[],statements:[{expression:{arguments:[{id:89947,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"3334:10:144",subExpression:{id:89946,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"3335:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"47617350726963654f7261636c653a207363616c617228292069732064657072656361746564",id:89948,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3346:40:144",typeDescriptions:{typeIdentifier:"t_stringliteral_fdcd11c052395e9256e13a80dcc0e9d323cf16472d08af1bed3d17258d3603d3",typeString:'literal_string "GasPriceOracle: scalar() is deprecated"'},value:"GasPriceOracle: scalar() is deprecated"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_fdcd11c052395e9256e13a80dcc0e9d323cf16472d08af1bed3d17258d3603d3",typeString:'literal_string "GasPriceOracle: scalar() is deprecated"'}],id:89945,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3326:7:144",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:89949,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3326:61:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:89950,nodeType:"ExpressionStatement",src:"3326:61:144"},{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89952,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"3412:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89953,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"3412:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89951,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"3404:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89954,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3404:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89955,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1FeeScalar",nodeType:"MemberAccess",referencedDeclaration:90243,src:"3404:51:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:89956,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3404:53:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89944,id:89957,nodeType:"Return",src:"3397:60:144"}]},documentation:{id:89940,nodeType:"StructuredDocumentation",src:"3159:104:144",text:`@custom:legacy + @notice Retrieves the current fee scalar. + @return Current fee scalar.`},functionSelector:"f45e65d8",implemented:!0,kind:"function",modifiers:[],name:"scalar",nameLocation:"3277:6:144",parameters:{id:89941,nodeType:"ParameterList",parameters:[],src:"3283:2:144"},returnParameters:{id:89944,nodeType:"ParameterList",parameters:[{constant:!1,id:89943,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89959,src:"3307:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89942,name:"uint256",nodeType:"ElementaryTypeName",src:"3307:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"3306:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:89973,nodeType:"FunctionDefinition",src:"3568:124:144",nodes:[],body:{id:89972,nodeType:"Block",src:"3619:73:144",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89966,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"3644:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89967,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"3644:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89965,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"3636:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89968,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3636:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89969,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"basefee",nodeType:"MemberAccess",referencedDeclaration:90222,src:"3636:47:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:89970,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3636:49:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89964,id:89971,nodeType:"Return",src:"3629:56:144"}]},documentation:{id:89960,nodeType:"StructuredDocumentation",src:"3470:93:144",text:`@notice Retrieves the latest known L1 base fee. + @return Latest known L1 base fee.`},functionSelector:"519b4bd3",implemented:!0,kind:"function",modifiers:[],name:"l1BaseFee",nameLocation:"3577:9:144",parameters:{id:89961,nodeType:"ParameterList",parameters:[],src:"3586:2:144"},returnParameters:{id:89964,nodeType:"ParameterList",parameters:[{constant:!1,id:89963,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89973,src:"3610:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89962,name:"uint256",nodeType:"ElementaryTypeName",src:"3610:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"3609:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:89987,nodeType:"FunctionDefinition",src:"3790:130:144",nodes:[],body:{id:89986,nodeType:"Block",src:"3843:77:144",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89980,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"3868:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89981,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"3868:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89979,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"3860:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89982,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3860:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89983,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"blobBaseFee",nodeType:"MemberAccess",referencedDeclaration:90246,src:"3860:51:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:89984,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3860:53:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:89978,id:89985,nodeType:"Return",src:"3853:60:144"}]},documentation:{id:89974,nodeType:"StructuredDocumentation",src:"3698:87:144",text:`@notice Retrieves the current blob base fee. + @return Current blob base fee.`},functionSelector:"f8206140",implemented:!0,kind:"function",modifiers:[],name:"blobBaseFee",nameLocation:"3799:11:144",parameters:{id:89975,nodeType:"ParameterList",parameters:[],src:"3810:2:144"},returnParameters:{id:89978,nodeType:"ParameterList",parameters:[{constant:!1,id:89977,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:89987,src:"3834:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:89976,name:"uint256",nodeType:"ElementaryTypeName",src:"3834:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"3833:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:90001,nodeType:"FunctionDefinition",src:"4022:133:144",nodes:[],body:{id:9e4,nodeType:"Block",src:"4076:79:144",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:89994,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"4101:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:89995,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"4101:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:89993,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"4093:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:89996,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4093:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:89997,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"baseFeeScalar",nodeType:"MemberAccess",referencedDeclaration:90234,src:"4093:53:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint32_$",typeString:"function () view external returns (uint32)"}},id:89998,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4093:55:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},functionReturnParameters:89992,id:89999,nodeType:"Return",src:"4086:62:144"}]},documentation:{id:89988,nodeType:"StructuredDocumentation",src:"3926:91:144",text:`@notice Retrieves the current base fee scalar. + @return Current base fee scalar.`},functionSelector:"c5985918",implemented:!0,kind:"function",modifiers:[],name:"baseFeeScalar",nameLocation:"4031:13:144",parameters:{id:89989,nodeType:"ParameterList",parameters:[],src:"4044:2:144"},returnParameters:{id:89992,nodeType:"ParameterList",parameters:[{constant:!1,id:89991,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90001,src:"4068:6:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:89990,name:"uint32",nodeType:"ElementaryTypeName",src:"4068:6:144",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"}],src:"4067:8:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:90015,nodeType:"FunctionDefinition",src:"4267:141:144",nodes:[],body:{id:90014,nodeType:"Block",src:"4325:83:144",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:90008,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"4350:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90009,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"4350:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90007,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"4342:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:90010,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4342:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:90011,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"blobBaseFeeScalar",nodeType:"MemberAccess",referencedDeclaration:90231,src:"4342:57:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint32_$",typeString:"function () view external returns (uint32)"}},id:90012,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4342:59:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},functionReturnParameters:90006,id:90013,nodeType:"Return",src:"4335:66:144"}]},documentation:{id:90002,nodeType:"StructuredDocumentation",src:"4161:101:144",text:`@notice Retrieves the current blob base fee scalar. + @return Current blob base fee scalar.`},functionSelector:"68d5dca6",implemented:!0,kind:"function",modifiers:[],name:"blobBaseFeeScalar",nameLocation:"4276:17:144",parameters:{id:90003,nodeType:"ParameterList",parameters:[],src:"4293:2:144"},returnParameters:{id:90006,nodeType:"ParameterList",parameters:[{constant:!1,id:90005,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90015,src:"4317:6:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90004,name:"uint32",nodeType:"ElementaryTypeName",src:"4317:6:144",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"}],src:"4316:8:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:90024,nodeType:"FunctionDefinition",src:"4561:82:144",nodes:[],body:{id:90023,nodeType:"Block",src:"4611:32:144",nodes:[],statements:[{expression:{id:90021,name:"DECIMALS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89843,src:"4628:8:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90020,id:90022,nodeType:"Return",src:"4621:15:144"}]},documentation:{id:90016,nodeType:"StructuredDocumentation",src:"4414:142:144",text:`@custom:legacy + @notice Retrieves the number of decimals used in the scalar. + @return Number of decimals used in the scalar.`},functionSelector:"313ce567",implemented:!0,kind:"function",modifiers:[],name:"decimals",nameLocation:"4570:8:144",parameters:{id:90017,nodeType:"ParameterList",parameters:[],src:"4578:2:144"},returnParameters:{id:90020,nodeType:"ParameterList",parameters:[{constant:!1,id:90019,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90024,src:"4602:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90018,name:"uint256",nodeType:"ElementaryTypeName",src:"4602:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"4601:9:144"},scope:90202,stateMutability:"pure",virtual:!1,visibility:"public"},{id:90053,nodeType:"FunctionDefinition",src:"4975:280:144",nodes:[],body:{id:90052,nodeType:"Block",src:"5047:208:144",nodes:[],statements:[{assignments:[90033],declarations:[{constant:!1,id:90033,mutability:"mutable",name:"l1GasUsed",nameLocation:"5065:9:144",nodeType:"VariableDeclaration",scope:90052,src:"5057:17:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90032,name:"uint256",nodeType:"ElementaryTypeName",src:"5057:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90037,initialValue:{arguments:[{id:90035,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90027,src:"5093:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90034,name:"_getCalldataGas",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90201,src:"5077:15:144",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$",typeString:"function (bytes memory) pure returns (uint256)"}},id:90036,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5077:22:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"5057:42:144"},{condition:{id:90038,name:"isEcotone",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89850,src:"5113:9:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:90042,nodeType:"IfStatement",src:"5109:56:144",trueBody:{id:90041,nodeType:"Block",src:"5124:41:144",statements:[{expression:{id:90039,name:"l1GasUsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90033,src:"5145:9:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90031,id:90040,nodeType:"Return",src:"5138:16:144"}]}},{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90050,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90043,name:"l1GasUsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90033,src:"5181:9:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:90045,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"5201:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90046,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"5201:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90044,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"5193:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:90047,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5193:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:90048,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1FeeOverhead",nodeType:"MemberAccess",referencedDeclaration:90240,src:"5193:53:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:90049,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5193:55:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5181:67:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90031,id:90051,nodeType:"Return",src:"5174:74:144"}]},documentation:{id:90025,nodeType:"StructuredDocumentation",src:"4649:321:144",text:`@notice Computes the amount of L1 gas used for a transaction. Adds 68 bytes + of padding to account for the fact that the input does not have a signature. + @param _data Unsigned fully RLP-encoded transaction to get the L1 gas for. + @return Amount of L1 gas used to publish the transaction.`},functionSelector:"de26c4a1",implemented:!0,kind:"function",modifiers:[],name:"getL1GasUsed",nameLocation:"4984:12:144",parameters:{id:90028,nodeType:"ParameterList",parameters:[{constant:!1,id:90027,mutability:"mutable",name:"_data",nameLocation:"5010:5:144",nodeType:"VariableDeclaration",scope:90053,src:"4997:18:144",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90026,name:"bytes",nodeType:"ElementaryTypeName",src:"4997:5:144",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"4996:20:144"},returnParameters:{id:90031,nodeType:"ParameterList",parameters:[{constant:!1,id:90030,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90053,src:"5038:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90029,name:"uint256",nodeType:"ElementaryTypeName",src:"5038:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"5037:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"public"},{id:90097,nodeType:"FunctionDefinition",src:"5468:351:144",nodes:[],body:{id:90096,nodeType:"Block",src:"5546:273:144",nodes:[],statements:[{assignments:[90062],declarations:[{constant:!1,id:90062,mutability:"mutable",name:"l1GasUsed",nameLocation:"5564:9:144",nodeType:"VariableDeclaration",scope:90096,src:"5556:17:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90061,name:"uint256",nodeType:"ElementaryTypeName",src:"5556:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90066,initialValue:{arguments:[{id:90064,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90056,src:"5592:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90063,name:"_getCalldataGas",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90201,src:"5576:15:144",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$",typeString:"function (bytes memory) pure returns (uint256)"}},id:90065,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5576:22:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"5556:42:144"},{assignments:[90068],declarations:[{constant:!1,id:90068,mutability:"mutable",name:"fee",nameLocation:"5616:3:144",nodeType:"VariableDeclaration",scope:90096,src:"5608:11:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90067,name:"uint256",nodeType:"ElementaryTypeName",src:"5608:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90088,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90087,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90080,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90076,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90069,name:"l1GasUsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90062,src:"5623:9:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:90071,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"5643:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90072,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"5643:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90070,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"5635:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:90073,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5635:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:90074,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1FeeOverhead",nodeType:"MemberAccess",referencedDeclaration:90240,src:"5635:53:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:90075,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5635:55:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5623:67:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:90077,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"5622:69:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{arguments:[],expression:{argumentTypes:[],id:90078,name:"l1BaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89973,src:"5694:9:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:90079,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5694:11:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5622:83:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{expression:{id:90082,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"5728:10:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90083,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L1_BLOCK_ATTRIBUTES",nodeType:"MemberAccess",referencedDeclaration:104027,src:"5728:30:144",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90081,name:"L1Block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90318,src:"5720:7:144",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1Block_$90318_$",typeString:"type(contract L1Block)"}},id:90084,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5720:39:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1Block_$90318",typeString:"contract L1Block"}},id:90085,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l1FeeScalar",nodeType:"MemberAccess",referencedDeclaration:90243,src:"5720:51:144",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:90086,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5720:53:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5622:151:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"5608:165:144"},{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90094,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90089,name:"fee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90068,src:"5790:3:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"/",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90092,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,leftExpression:{hexValue:"3130",id:90090,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"5797:2:144",typeDescriptions:{typeIdentifier:"t_rational_10_by_1",typeString:"int_const 10"},value:"10"},nodeType:"BinaryOperation",operator:"**",rightExpression:{id:90091,name:"DECIMALS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89843,src:"5803:8:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5797:14:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:90093,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"TupleExpression",src:"5796:16:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"5790:22:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90060,id:90095,nodeType:"Return",src:"5783:29:144"}]},documentation:{id:90054,nodeType:"StructuredDocumentation",src:"5261:202:144",text:`@notice Computation of the L1 portion of the fee for Bedrock. + @param _data Unsigned fully RLP-encoded transaction to get the L1 fee for. + @return L1 fee that should be paid for the tx`},implemented:!0,kind:"function",modifiers:[],name:"_getL1FeeBedrock",nameLocation:"5477:16:144",parameters:{id:90057,nodeType:"ParameterList",parameters:[{constant:!1,id:90056,mutability:"mutable",name:"_data",nameLocation:"5507:5:144",nodeType:"VariableDeclaration",scope:90097,src:"5494:18:144",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90055,name:"bytes",nodeType:"ElementaryTypeName",src:"5494:5:144",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"5493:20:144"},returnParameters:{id:90060,nodeType:"ParameterList",parameters:[{constant:!1,id:90059,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90097,src:"5537:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90058,name:"uint256",nodeType:"ElementaryTypeName",src:"5537:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"5536:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"internal"},{id:90148,nodeType:"FunctionDefinition",src:"6015:393:144",nodes:[],body:{id:90147,nodeType:"Block",src:"6093:315:144",nodes:[],statements:[{assignments:[90106],declarations:[{constant:!1,id:90106,mutability:"mutable",name:"l1GasUsed",nameLocation:"6111:9:144",nodeType:"VariableDeclaration",scope:90147,src:"6103:17:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90105,name:"uint256",nodeType:"ElementaryTypeName",src:"6103:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90110,initialValue:{arguments:[{id:90108,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90100,src:"6139:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:90107,name:"_getCalldataGas",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90201,src:"6123:15:144",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$",typeString:"function (bytes memory) pure returns (uint256)"}},id:90109,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6123:22:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6103:42:144"},{assignments:[90112],declarations:[{constant:!1,id:90112,mutability:"mutable",name:"scaledBaseFee",nameLocation:"6163:13:144",nodeType:"VariableDeclaration",scope:90147,src:"6155:21:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90111,name:"uint256",nodeType:"ElementaryTypeName",src:"6155:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90120,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90119,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint32",typeString:"uint32"},id:90116,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],id:90113,name:"baseFeeScalar",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90001,src:"6179:13:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint32_$",typeString:"function () view returns (uint32)"}},id:90114,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6179:15:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{hexValue:"3136",id:90115,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6197:2:144",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},src:"6179:20:144",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{arguments:[],expression:{argumentTypes:[],id:90117,name:"l1BaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89973,src:"6202:9:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:90118,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6202:11:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6179:34:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6155:58:144"},{assignments:[90122],declarations:[{constant:!1,id:90122,mutability:"mutable",name:"scaledBlobBaseFee",nameLocation:"6231:17:144",nodeType:"VariableDeclaration",scope:90147,src:"6223:25:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90121,name:"uint256",nodeType:"ElementaryTypeName",src:"6223:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90128,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90127,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],id:90123,name:"blobBaseFeeScalar",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90015,src:"6251:17:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint32_$",typeString:"function () view returns (uint32)"}},id:90124,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6251:19:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{arguments:[],expression:{argumentTypes:[],id:90125,name:"blobBaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89987,src:"6273:11:144",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:90126,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6273:13:144",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6251:35:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6223:63:144"},{assignments:[90130],declarations:[{constant:!1,id:90130,mutability:"mutable",name:"fee",nameLocation:"6304:3:144",nodeType:"VariableDeclaration",scope:90147,src:"6296:11:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90129,name:"uint256",nodeType:"ElementaryTypeName",src:"6296:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90137,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90136,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90131,name:"l1GasUsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90106,src:"6310:9:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90134,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90132,name:"scaledBaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90112,src:"6323:13:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{id:90133,name:"scaledBlobBaseFee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90122,src:"6339:17:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6323:33:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:90135,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"6322:35:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6310:47:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6296:61:144"},{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90145,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90138,name:"fee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90130,src:"6374:3:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"/",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90143,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,leftExpression:{hexValue:"3136",id:90139,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6381:2:144",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},nodeType:"BinaryOperation",operator:"*",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90142,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,leftExpression:{hexValue:"3130",id:90140,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6386:2:144",typeDescriptions:{typeIdentifier:"t_rational_10_by_1",typeString:"int_const 10"},value:"10"},nodeType:"BinaryOperation",operator:"**",rightExpression:{id:90141,name:"DECIMALS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89843,src:"6392:8:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6386:14:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6381:19:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:90144,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"TupleExpression",src:"6380:21:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6374:27:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90104,id:90146,nodeType:"Return",src:"6367:34:144"}]},documentation:{id:90098,nodeType:"StructuredDocumentation",src:"5825:185:144",text:`@notice L1 portion of the fee after Ecotone. + @param _data Unsigned fully RLP-encoded transaction to get the L1 fee for. + @return L1 fee that should be paid for the tx`},implemented:!0,kind:"function",modifiers:[],name:"_getL1FeeEcotone",nameLocation:"6024:16:144",parameters:{id:90101,nodeType:"ParameterList",parameters:[{constant:!1,id:90100,mutability:"mutable",name:"_data",nameLocation:"6054:5:144",nodeType:"VariableDeclaration",scope:90148,src:"6041:18:144",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90099,name:"bytes",nodeType:"ElementaryTypeName",src:"6041:5:144",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"6040:20:144"},returnParameters:{id:90104,nodeType:"ParameterList",parameters:[{constant:!1,id:90103,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90148,src:"6084:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90102,name:"uint256",nodeType:"ElementaryTypeName",src:"6084:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"6083:9:144"},scope:90202,stateMutability:"view",virtual:!1,visibility:"internal"},{id:90201,nodeType:"FunctionDefinition",src:"6610:366:144",nodes:[],body:{id:90200,nodeType:"Block",src:"6687:289:144",nodes:[],statements:[{assignments:[90157],declarations:[{constant:!1,id:90157,mutability:"mutable",name:"total",nameLocation:"6705:5:144",nodeType:"VariableDeclaration",scope:90200,src:"6697:13:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90156,name:"uint256",nodeType:"ElementaryTypeName",src:"6697:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90159,initialValue:{hexValue:"30",id:90158,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6713:1:144",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},nodeType:"VariableDeclarationStatement",src:"6697:17:144"},{assignments:[90161],declarations:[{constant:!1,id:90161,mutability:"mutable",name:"length",nameLocation:"6732:6:144",nodeType:"VariableDeclaration",scope:90200,src:"6724:14:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90160,name:"uint256",nodeType:"ElementaryTypeName",src:"6724:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90164,initialValue:{expression:{id:90162,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90151,src:"6741:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:90163,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"6741:12:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"6724:29:144"},{body:{id:90191,nodeType:"Block",src:"6800:136:144",statements:[{condition:{commonType:{typeIdentifier:"t_bytes1",typeString:"bytes1"},id:90179,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{baseExpression:{id:90175,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90151,src:"6818:5:144",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:90177,indexExpression:{id:90176,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90166,src:"6824:1:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"6818:8:144",typeDescriptions:{typeIdentifier:"t_bytes1",typeString:"bytes1"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:90178,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6830:1:144",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"6818:13:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:90189,nodeType:"Block",src:"6882:44:144",statements:[{expression:{id:90187,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90185,name:"total",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90157,src:"6900:5:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"+=",rightHandSide:{hexValue:"3136",id:90186,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6909:2:144",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},src:"6900:11:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90188,nodeType:"ExpressionStatement",src:"6900:11:144"}]},id:90190,nodeType:"IfStatement",src:"6814:112:144",trueBody:{id:90184,nodeType:"Block",src:"6833:43:144",statements:[{expression:{id:90182,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90180,name:"total",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90157,src:"6851:5:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"+=",rightHandSide:{hexValue:"34",id:90181,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6860:1:144",typeDescriptions:{typeIdentifier:"t_rational_4_by_1",typeString:"int_const 4"},value:"4"},src:"6851:10:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90183,nodeType:"ExpressionStatement",src:"6851:10:144"}]}}]},condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90171,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90169,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90166,src:"6783:1:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{id:90170,name:"length",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90161,src:"6787:6:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6783:10:144",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:90192,initializationExpression:{assignments:[90166],declarations:[{constant:!1,id:90166,mutability:"mutable",name:"i",nameLocation:"6776:1:144",nodeType:"VariableDeclaration",scope:90192,src:"6768:9:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90165,name:"uint256",nodeType:"ElementaryTypeName",src:"6768:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:90168,initialValue:{hexValue:"30",id:90167,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6780:1:144",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},nodeType:"VariableDeclarationStatement",src:"6768:13:144"},loopExpression:{expression:{id:90173,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"++",prefix:!1,src:"6795:3:144",subExpression:{id:90172,name:"i",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90166,src:"6795:1:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90174,nodeType:"ExpressionStatement",src:"6795:3:144"},nodeType:"ForStatement",src:"6763:173:144"},{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:90198,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90193,name:"total",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90157,src:"6952:5:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{components:[{commonType:{typeIdentifier:"t_rational_1088_by_1",typeString:"int_const 1088"},id:90196,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,leftExpression:{hexValue:"3638",id:90194,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6961:2:144",typeDescriptions:{typeIdentifier:"t_rational_68_by_1",typeString:"int_const 68"},value:"68"},nodeType:"BinaryOperation",operator:"*",rightExpression:{hexValue:"3136",id:90195,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6966:2:144",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},src:"6961:7:144",typeDescriptions:{typeIdentifier:"t_rational_1088_by_1",typeString:"int_const 1088"}}],id:90197,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"TupleExpression",src:"6960:9:144",typeDescriptions:{typeIdentifier:"t_rational_1088_by_1",typeString:"int_const 1088"}},src:"6952:17:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:90155,id:90199,nodeType:"Return",src:"6945:24:144"}]},documentation:{id:90149,nodeType:"StructuredDocumentation",src:"6414:191:144",text:`@notice L1 gas estimation calculation. + @param _data Unsigned fully RLP-encoded transaction to get the L1 gas for. + @return Amount of L1 gas used to publish the transaction.`},implemented:!0,kind:"function",modifiers:[],name:"_getCalldataGas",nameLocation:"6619:15:144",parameters:{id:90152,nodeType:"ParameterList",parameters:[{constant:!1,id:90151,mutability:"mutable",name:"_data",nameLocation:"6648:5:144",nodeType:"VariableDeclaration",scope:90201,src:"6635:18:144",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90150,name:"bytes",nodeType:"ElementaryTypeName",src:"6635:5:144",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"6634:20:144"},returnParameters:{id:90155,nodeType:"ParameterList",parameters:[{constant:!1,id:90154,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90201,src:"6678:7:144",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90153,name:"uint256",nodeType:"ElementaryTypeName",src:"6678:7:144",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"6677:9:144"},scope:90202,stateMutability:"pure",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:89838,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1180:7:144"},id:89839,nodeType:"InheritanceSpecifier",src:"1180:7:144"}],canonicalName:"GasPriceOracle",contractDependencies:[],contractKind:"contract",documentation:{id:89837,nodeType:"StructuredDocumentation",src:"216:937:144",text:`@custom:proxied + @custom:predeploy 0x420000000000000000000000000000000000000F + @title GasPriceOracle + @notice This contract maintains the variables responsible for computing the L1 portion of the + total fee charged on L2. Before Bedrock, this contract held variables in state that were + read during the state transition function to compute the L1 portion of the transaction + fee. After Bedrock, this contract now simply proxies the L1Block contract, which has + the values used to compute the L1 portion of the fee in its state. + The contract exposes an API that is useful for knowing how large the L1 portion of the + transaction fee will be. The following events were deprecated with Bedrock: + - event OverheadUpdated(uint256 overhead); + - event ScalarUpdated(uint256 scalar); + - event DecimalsUpdated(uint256 decimals);`},fullyImplemented:!0,linearizedBaseContracts:[90202,109417],name:"GasPriceOracle",nameLocation:"1162:14:144",scope:90203,usedErrors:[]}],license:"MIT"},id:144}});var kYe=B((Z6a,cj0)=>{cj0.exports={abi:[{type:"function",name:"DEPOSITOR_ACCOUNT",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"baseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"basefee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batcherHash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"blobBaseFee",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"blobBaseFeeScalar",inputs:[],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"hash",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"l1FeeOverhead",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"l1FeeScalar",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"number",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"sequenceNumber",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setL1BlockValues",inputs:[{name:"_number",type:"uint64",internalType:"uint64"},{name:"_timestamp",type:"uint64",internalType:"uint64"},{name:"_basefee",type:"uint256",internalType:"uint256"},{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_sequenceNumber",type:"uint64",internalType:"uint64"},{name:"_batcherHash",type:"bytes32",internalType:"bytes32"},{name:"_l1FeeOverhead",type:"uint256",internalType:"uint256"},{name:"_l1FeeScalar",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setL1BlockValuesEcotone",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"timestamp",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"}],bytecode:{object:"0x608060405234801561001057600080fd5b5061053e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:145:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638381f58a11610097578063c598591811610066578063c598591814610229578063e591b28214610249578063e81b2c6d14610289578063f82061401461029257600080fd5b80638381f58a146101e35780638b239f73146101f75780639e8c496614610200578063b80777ea1461020957600080fd5b806354fd4d50116100d357806354fd4d50146101335780635cf249691461017c57806364ca23ef1461018557806368d5dca6146101b257600080fd5b8063015d8eb9146100fa57806309bd5a601461010f578063440a5e201461012b575b600080fd5b61010d61010836600461044c565b61029b565b005b61011860025481565b6040519081526020015b60405180910390f35b61010d6103da565b61016f6040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161012291906104be565b61011860015481565b6003546101999067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610122565b6003546101ce9068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610122565b6000546101999067ffffffffffffffff1681565b61011860055481565b61011860065481565b6000546101999068010000000000000000900467ffffffffffffffff1681565b6003546101ce906c01000000000000000000000000900463ffffffff1681565b61026473deaddeaddeaddeaddeaddeaddeaddeaddead000181565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b61011860045481565b61011860075481565b3373deaddeaddeaddeaddeaddeaddeaddeaddead000114610342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f60448201527f756e742063616e20736574204c3120626c6f636b2076616c7565730000000000606482015260840160405180910390fd5b6000805467ffffffffffffffff98891668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116998916999099179890981790975560019490945560029290925560038054919094167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009190911617909255600491909155600555600655565b3373deaddeaddeaddeaddeaddeaddeaddeaddead00011461040357633cc50b456000526004601cfd5b60043560801c60035560143560801c600055602435600155604435600755606435600255608435600455565b803567ffffffffffffffff8116811461044757600080fd5b919050565b600080600080600080600080610100898b03121561046957600080fd5b6104728961042f565b975061048060208a0161042f565b9650604089013595506060890135945061049c60808a0161042f565b979a969950949793969560a0850135955060c08501359460e001359350915050565b600060208083528351808285015260005b818110156104eb578581018301518582016040015282016104cf565b818111156104fd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201604001939250505056fea164736f6c634300080f000a",sourceMap:"588:4256:145:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:660;;;;;;:::i;:::-;;:::i;:::-;;1071:19;;;;;;;;;1014:25:357;;;1002:2;987:18;1071:19:145;;;;;;;;3886:956;;;:::i;1961:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1001:22::-;;;;;;1156:28;;;;;;;;;;;;2067:18:357;2055:31;;;2037:50;;2025:2;2010:18;1156:28:145;1893:200:357;1298:31:145;;;;;;;;;;;;;;;2272:10:357;2260:23;;;2242:42;;2230:2;2215:18;1298:31:145;2098:192:357;840:20:145;;;;;;;;;1680:28;;;;;;1821:26;;;;;;931:23;;;;;;;;;;;;1438:27;;;;;;;;;;;;680:86;;724:42;680:86;;;;;2471:42:357;2459:55;;;2441:74;;2429:2;2414:18;680:86:145;2295:226:357;1539:26:145;;;;;;1899;;;;;;2494:660;2789:10;724:42;2789:31;2781:103;;;;;;;2728:2:357;2781:103:145;;;2710:21:357;2767:2;2747:18;;;2740:30;2806:34;2786:18;;;2779:62;2877:29;2857:18;;;2850:57;2924:19;;2781:103:145;;;;;;;;2895:6;:16;;;2921:22;;;;;;;;;2895:16;;;2921:22;;;;;;;;;;;2895:16;2953:18;;;;2981:4;:12;;;;3003:14;:32;;;;;;2895:16;3003:32;;;;;;;;3045:11;:26;;;;3081:13;:30;3121:11;:26;2494:660::o;3886:956::-;4036:8;4046:17;4029:233;;;4096:10;4090:4;4083:24;4194:4;4188;4181:18;4029:233;4453:1;4440:15;4435:3;4431:25;4410:19;4403:54;4566:2;4553:16;4548:3;4544:26;4531:11;4524:47;4618:2;4605:16;4591:12;4584:38;4684:2;4671:16;4653;4646:42;4743:3;4730:17;4719:9;4712:36;4810:3;4797:17;4779:16;4772:43;3886:956::o;14:171:357:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:673::-;309:6;317;325;333;341;349;357;365;418:3;406:9;397:7;393:23;389:33;386:53;;;435:1;432;425:12;386:53;458:28;476:9;458:28;:::i;:::-;448:38;;505:37;538:2;527:9;523:18;505:37;:::i;:::-;495:47;;589:2;578:9;574:18;561:32;551:42;;640:2;629:9;625:18;612:32;602:42;;663:38;696:3;685:9;681:19;663:38;:::i;:::-;190:673;;;;-1:-1:-1;190:673:357;;;;653:48;748:3;733:19;;720:33;;-1:-1:-1;800:3:357;785:19;;772:33;;852:3;837:19;824:33;;-1:-1:-1;190:673:357;-1:-1:-1;;190:673:357:o;1050:656::-;1162:4;1191:2;1220;1209:9;1202:21;1252:6;1246:13;1295:6;1290:2;1279:9;1275:18;1268:34;1320:1;1330:140;1344:6;1341:1;1338:13;1330:140;;;1439:14;;;1435:23;;1429:30;1405:17;;;1424:2;1401:26;1394:66;1359:10;;1330:140;;;1488:6;1485:1;1482:13;1479:91;;;1558:1;1553:2;1544:6;1533:9;1529:22;1525:31;1518:42;1479:91;-1:-1:-1;1622:2:357;1610:15;1627:66;1606:88;1591:104;;;;1697:2;1587:113;;1050:656;-1:-1:-1;;;1050:656:357:o",linkReferences:{}},methodIdentifiers:{"DEPOSITOR_ACCOUNT()":"e591b282","baseFeeScalar()":"c5985918","basefee()":"5cf24969","batcherHash()":"e81b2c6d","blobBaseFee()":"f8206140","blobBaseFeeScalar()":"68d5dca6","hash()":"09bd5a60","l1FeeOverhead()":"8b239f73","l1FeeScalar()":"9e8c4966","number()":"8381f58a","sequenceNumber()":"64ca23ef","setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":"015d8eb9","setL1BlockValuesEcotone()":"440a5e20","timestamp()":"b80777ea","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"name":"DEPOSITOR_ACCOUNT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basefee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batcherHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blobBaseFeeScalar","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeOverhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l1FeeScalar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sequenceNumber","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_number","type":"uint64"},{"internalType":"uint64","name":"_timestamp","type":"uint64"},{"internalType":"uint256","name":"_basefee","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"uint64","name":"_sequenceNumber","type":"uint64"},{"internalType":"bytes32","name":"_batcherHash","type":"bytes32"},{"internalType":"uint256","name":"_l1FeeOverhead","type":"uint256"},{"internalType":"uint256","name":"_l1FeeScalar","type":"uint256"}],"name":"setL1BlockValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setL1BlockValuesEcotone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timestamp","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000015","kind":"dev","methods":{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.","params":{"_basefee":"L1 basefee.","_batcherHash":"Versioned hash to authenticate batcher by.","_hash":"L1 blockhash.","_l1FeeOverhead":"L1 fee overhead.","_l1FeeScalar":"L1 fee scalar.","_number":"L1 blocknumber.","_sequenceNumber":"Number of L2 blocks since epoch start.","_timestamp":"L1 timestamp."}}},"stateVariables":{"l1FeeOverhead":{"custom:legacy":""},"l1FeeScalar":{"custom:legacy":""},"version":{"custom:semver":"1.2.0"}},"title":"L1Block","version":1},"userdoc":{"kind":"user","methods":{"DEPOSITOR_ACCOUNT()":{"notice":"Address of the special depositor account."},"baseFeeScalar()":{"notice":"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{"notice":"The latest L1 base fee."},"batcherHash()":{"notice":"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{"notice":"The latest L1 blob base fee."},"blobBaseFeeScalar()":{"notice":"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{"notice":"The latest L1 blockhash."},"l1FeeOverhead()":{"notice":"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{"notice":"The scalar value applied to the L1 portion of the transaction fee."},"number()":{"notice":"The latest L1 block number known by the L2 system."},"sequenceNumber()":{"notice":"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{"notice":"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{"notice":"The latest L1 timestamp known by the L2 system."}},"notice":"The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the \\"depositor\\" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.","version":1}},"settings":{"compilationTarget":{"src/L2/L1Block.sol":"L1Block"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L1Block.sol":{"keccak256":"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6","license":"MIT","urls":["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"view",type:"function",name:"DEPOSITOR_ACCOUNT",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"baseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"basefee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"batcherHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"blobBaseFeeScalar",outputs:[{internalType:"uint32",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"hash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeOverhead",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"l1FeeScalar",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"number",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"sequenceNumber",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"uint64",name:"_number",type:"uint64"},{internalType:"uint64",name:"_timestamp",type:"uint64"},{internalType:"uint256",name:"_basefee",type:"uint256"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"uint64",name:"_sequenceNumber",type:"uint64"},{internalType:"bytes32",name:"_batcherHash",type:"bytes32"},{internalType:"uint256",name:"_l1FeeOverhead",type:"uint256"},{internalType:"uint256",name:"_l1FeeScalar",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"setL1BlockValues"},{inputs:[],stateMutability:"nonpayable",type:"function",name:"setL1BlockValuesEcotone"},{inputs:[],stateMutability:"view",type:"function",name:"timestamp",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{"custom:legacy":"@notice Updates the L1 block values.",params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},version:1},userdoc:{kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L1Block.sol":"L1Block"},evmVersion:"london",libraries:{}},sources:{"src/L2/L1Block.sol":{keccak256:"0x5819beb85b23c31c5f5d639977bf5d5cf6768975d6d3eecde78299f37ba04cd6",urls:["bzz-raw://55cdc404753dcc0cd9d3fac3554a4a16abd7dc39f43f7ae0ebcb0990fa52f7e7","dweb:/ipfs/QmNXMUmNBmNCmL5k8tC1jJ6CmY2hZKJ7owFwuvhMKXr5fv"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:90216,contract:"src/L2/L1Block.sol:L1Block",label:"number",offset:0,slot:"0",type:"t_uint64"},{astId:90219,contract:"src/L2/L1Block.sol:L1Block",label:"timestamp",offset:8,slot:"0",type:"t_uint64"},{astId:90222,contract:"src/L2/L1Block.sol:L1Block",label:"basefee",offset:0,slot:"1",type:"t_uint256"},{astId:90225,contract:"src/L2/L1Block.sol:L1Block",label:"hash",offset:0,slot:"2",type:"t_bytes32"},{astId:90228,contract:"src/L2/L1Block.sol:L1Block",label:"sequenceNumber",offset:0,slot:"3",type:"t_uint64"},{astId:90231,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFeeScalar",offset:8,slot:"3",type:"t_uint32"},{astId:90234,contract:"src/L2/L1Block.sol:L1Block",label:"baseFeeScalar",offset:12,slot:"3",type:"t_uint32"},{astId:90237,contract:"src/L2/L1Block.sol:L1Block",label:"batcherHash",offset:0,slot:"4",type:"t_bytes32"},{astId:90240,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeOverhead",offset:0,slot:"5",type:"t_uint256"},{astId:90243,contract:"src/L2/L1Block.sol:L1Block",label:"l1FeeScalar",offset:0,slot:"6",type:"t_uint256"},{astId:90246,contract:"src/L2/L1Block.sol:L1Block",label:"blobBaseFee",offset:0,slot:"7",type:"t_uint256"}],types:{t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint32:{encoding:"inplace",label:"uint32",numberOfBytes:"4"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"}}},userdoc:{version:1,kind:"user",methods:{"DEPOSITOR_ACCOUNT()":{notice:"Address of the special depositor account."},"baseFeeScalar()":{notice:"The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},"basefee()":{notice:"The latest L1 base fee."},"batcherHash()":{notice:"The versioned hash to authenticate the batcher by."},"blobBaseFee()":{notice:"The latest L1 blob base fee."},"blobBaseFeeScalar()":{notice:"The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},"hash()":{notice:"The latest L1 blockhash."},"l1FeeOverhead()":{notice:"The overhead value applied to the L1 portion of the transaction fee."},"l1FeeScalar()":{notice:"The scalar value applied to the L1 portion of the transaction fee."},"number()":{notice:"The latest L1 block number known by the L2 system."},"sequenceNumber()":{notice:"The number of L2 blocks in the same epoch."},"setL1BlockValuesEcotone()":{notice:"Updates the L1 block values for an Ecotone upgraded chain. Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. Params are expected to be in the following order: 1. _baseFeeScalar L1 base fee scalar 2. _blobBaseFeeScalar L1 blob base fee scalar 3. _sequenceNumber Number of L2 blocks since epoch start. 4. _timestamp L1 timestamp. 5. _number L1 blocknumber. 6. _basefee L1 base fee. 7. _blobBaseFee L1 blob base fee. 8. _hash L1 blockhash. 9. _batcherHash Versioned hash to authenticate batcher by."},"timestamp()":{notice:"The latest L1 timestamp known by the L2 system."}},notice:'The L1Block predeploy gives users access to information about the last known L1 block. Values within this contract are updated once per epoch (every L1 block) and can only be set by the "depositor" account, a special system address. Depositor account transactions are created by the protocol whenever we move to a new epoch.'},devdoc:{version:1,kind:"dev",methods:{"setL1BlockValues(uint64,uint64,uint256,bytes32,uint64,bytes32,uint256,uint256)":{params:{_basefee:"L1 basefee.",_batcherHash:"Versioned hash to authenticate batcher by.",_hash:"L1 blockhash.",_l1FeeOverhead:"L1 fee overhead.",_l1FeeScalar:"L1 fee scalar.",_number:"L1 blocknumber.",_sequenceNumber:"Number of L2 blocks since epoch start.",_timestamp:"L1 timestamp."}}},title:"L1Block"},ast:{absolutePath:"src/L2/L1Block.sol",id:90319,exportedSymbols:{ISemver:[109417],L1Block:[90318]},nodeType:"SourceUnit",src:"32:4813:145",nodes:[{id:90204,nodeType:"PragmaDirective",src:"32:23:145",nodes:[],literals:["solidity","0.8",".15"]},{id:90206,nodeType:"ImportDirective",src:"57:52:145",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:90319,sourceUnit:109418,symbolAliases:[{foreign:{id:90205,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"66:7:145",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90318,nodeType:"ContractDefinition",src:"588:4256:145",nodes:[{id:90213,nodeType:"VariableDeclaration",src:"680:86:145",nodes:[],constant:!0,documentation:{id:90210,nodeType:"StructuredDocumentation",src:"622:53:145",text:"@notice Address of the special depositor account."},functionSelector:"e591b282",mutability:"constant",name:"DEPOSITOR_ACCOUNT",nameLocation:"704:17:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90211,name:"address",nodeType:"ElementaryTypeName",src:"680:7:145",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},value:{hexValue:"307844656144444561444465416444654164444541644445616464654164644541644445416430303031",id:90212,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"724:42:145",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},value:"0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001"},visibility:"public"},{id:90216,nodeType:"VariableDeclaration",src:"840:20:145",nodes:[],constant:!1,documentation:{id:90214,nodeType:"StructuredDocumentation",src:"773:62:145",text:"@notice The latest L1 block number known by the L2 system."},functionSelector:"8381f58a",mutability:"mutable",name:"number",nameLocation:"854:6:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90215,name:"uint64",nodeType:"ElementaryTypeName",src:"840:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"public"},{id:90219,nodeType:"VariableDeclaration",src:"931:23:145",nodes:[],constant:!1,documentation:{id:90217,nodeType:"StructuredDocumentation",src:"867:59:145",text:"@notice The latest L1 timestamp known by the L2 system."},functionSelector:"b80777ea",mutability:"mutable",name:"timestamp",nameLocation:"945:9:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90218,name:"uint64",nodeType:"ElementaryTypeName",src:"931:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"public"},{id:90222,nodeType:"VariableDeclaration",src:"1001:22:145",nodes:[],constant:!1,documentation:{id:90220,nodeType:"StructuredDocumentation",src:"961:35:145",text:"@notice The latest L1 base fee."},functionSelector:"5cf24969",mutability:"mutable",name:"basefee",nameLocation:"1016:7:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90221,name:"uint256",nodeType:"ElementaryTypeName",src:"1001:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:90225,nodeType:"VariableDeclaration",src:"1071:19:145",nodes:[],constant:!1,documentation:{id:90223,nodeType:"StructuredDocumentation",src:"1030:36:145",text:"@notice The latest L1 blockhash."},functionSelector:"09bd5a60",mutability:"mutable",name:"hash",nameLocation:"1086:4:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:90224,name:"bytes32",nodeType:"ElementaryTypeName",src:"1071:7:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"public"},{id:90228,nodeType:"VariableDeclaration",src:"1156:28:145",nodes:[],constant:!1,documentation:{id:90226,nodeType:"StructuredDocumentation",src:"1097:54:145",text:"@notice The number of L2 blocks in the same epoch."},functionSelector:"64ca23ef",mutability:"mutable",name:"sequenceNumber",nameLocation:"1170:14:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90227,name:"uint64",nodeType:"ElementaryTypeName",src:"1156:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"public"},{id:90231,nodeType:"VariableDeclaration",src:"1298:31:145",nodes:[],constant:!1,documentation:{id:90229,nodeType:"StructuredDocumentation",src:"1191:102:145",text:"@notice The scalar value applied to the L1 blob base fee portion of the blob-capable L1 cost func."},functionSelector:"68d5dca6",mutability:"mutable",name:"blobBaseFeeScalar",nameLocation:"1312:17:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90230,name:"uint32",nodeType:"ElementaryTypeName",src:"1298:6:145",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"public"},{id:90234,nodeType:"VariableDeclaration",src:"1438:27:145",nodes:[],constant:!1,documentation:{id:90232,nodeType:"StructuredDocumentation",src:"1336:97:145",text:"@notice The scalar value applied to the L1 base fee portion of the blob-capable L1 cost func."},functionSelector:"c5985918",mutability:"mutable",name:"baseFeeScalar",nameLocation:"1452:13:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90233,name:"uint32",nodeType:"ElementaryTypeName",src:"1438:6:145",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"public"},{id:90237,nodeType:"VariableDeclaration",src:"1539:26:145",nodes:[],constant:!1,documentation:{id:90235,nodeType:"StructuredDocumentation",src:"1472:62:145",text:"@notice The versioned hash to authenticate the batcher by."},functionSelector:"e81b2c6d",mutability:"mutable",name:"batcherHash",nameLocation:"1554:11:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:90236,name:"bytes32",nodeType:"ElementaryTypeName",src:"1539:7:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"public"},{id:90240,nodeType:"VariableDeclaration",src:"1680:28:145",nodes:[],constant:!1,documentation:{id:90238,nodeType:"StructuredDocumentation",src:"1572:103:145",text:`@notice The overhead value applied to the L1 portion of the transaction fee. + @custom:legacy`},functionSelector:"8b239f73",mutability:"mutable",name:"l1FeeOverhead",nameLocation:"1695:13:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90239,name:"uint256",nodeType:"ElementaryTypeName",src:"1680:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:90243,nodeType:"VariableDeclaration",src:"1821:26:145",nodes:[],constant:!1,documentation:{id:90241,nodeType:"StructuredDocumentation",src:"1715:101:145",text:`@notice The scalar value applied to the L1 portion of the transaction fee. + @custom:legacy`},functionSelector:"9e8c4966",mutability:"mutable",name:"l1FeeScalar",nameLocation:"1836:11:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90242,name:"uint256",nodeType:"ElementaryTypeName",src:"1821:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:90246,nodeType:"VariableDeclaration",src:"1899:26:145",nodes:[],constant:!1,documentation:{id:90244,nodeType:"StructuredDocumentation",src:"1854:40:145",text:"@notice The latest L1 blob base fee."},functionSelector:"f8206140",mutability:"mutable",name:"blobBaseFee",nameLocation:"1914:11:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90245,name:"uint256",nodeType:"ElementaryTypeName",src:"1899:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:90250,nodeType:"VariableDeclaration",src:"1961:40:145",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:90247,nodeType:"StructuredDocumentation",src:"1932:24:145",text:"@custom:semver 1.2.0"},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1984:7:145",scope:90318,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:90248,name:"string",nodeType:"ElementaryTypeName",src:"1961:6:145",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e322e30",id:90249,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1994:7:145",typeDescriptions:{typeIdentifier:"t_stringliteral_e374587661e69268352d25204d81b23ce801573f4b09f3545e69536dc085a37a",typeString:'literal_string "1.2.0"'},value:"1.2.0"},visibility:"public"},{id:90311,nodeType:"FunctionDefinition",src:"2494:660:145",nodes:[],body:{id:90310,nodeType:"Block",src:"2771:383:145",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90274,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:90271,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"2789:3:145",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90272,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"2789:10:145",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:90273,name:"DEPOSITOR_ACCOUNT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90213,src:"2803:17:145",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2789:31:145",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c31426c6f636b3a206f6e6c7920746865206465706f7369746f72206163636f756e742063616e20736574204c3120626c6f636b2076616c756573",id:90275,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2822:61:145",typeDescriptions:{typeIdentifier:"t_stringliteral_c3c76ba7c08c4e35ee9214a1ee03dd5f5eafa75e54f6dcd9b82029d1cceb0d7b",typeString:'literal_string "L1Block: only the depositor account can set L1 block values"'},value:"L1Block: only the depositor account can set L1 block values"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_c3c76ba7c08c4e35ee9214a1ee03dd5f5eafa75e54f6dcd9b82029d1cceb0d7b",typeString:'literal_string "L1Block: only the depositor account can set L1 block values"'}],id:90270,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"2781:7:145",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90276,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2781:103:145",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90277,nodeType:"ExpressionStatement",src:"2781:103:145"},{expression:{id:90280,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90278,name:"number",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90216,src:"2895:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90279,name:"_number",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90253,src:"2904:7:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"2895:16:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:90281,nodeType:"ExpressionStatement",src:"2895:16:145"},{expression:{id:90284,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90282,name:"timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90219,src:"2921:9:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90283,name:"_timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90255,src:"2933:10:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"2921:22:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:90285,nodeType:"ExpressionStatement",src:"2921:22:145"},{expression:{id:90288,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90286,name:"basefee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90222,src:"2953:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90287,name:"_basefee",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90257,src:"2963:8:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"2953:18:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90289,nodeType:"ExpressionStatement",src:"2953:18:145"},{expression:{id:90292,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90290,name:"hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90225,src:"2981:4:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90291,name:"_hash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90259,src:"2988:5:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"2981:12:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:90293,nodeType:"ExpressionStatement",src:"2981:12:145"},{expression:{id:90296,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90294,name:"sequenceNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90228,src:"3003:14:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90295,name:"_sequenceNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90261,src:"3020:15:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"3003:32:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:90297,nodeType:"ExpressionStatement",src:"3003:32:145"},{expression:{id:90300,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90298,name:"batcherHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90237,src:"3045:11:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90299,name:"_batcherHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90263,src:"3059:12:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"3045:26:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},id:90301,nodeType:"ExpressionStatement",src:"3045:26:145"},{expression:{id:90304,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90302,name:"l1FeeOverhead",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90240,src:"3081:13:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90303,name:"_l1FeeOverhead",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90265,src:"3097:14:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"3081:30:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90305,nodeType:"ExpressionStatement",src:"3081:30:145"},{expression:{id:90308,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:90306,name:"l1FeeScalar",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90243,src:"3121:11:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:90307,name:"_l1FeeScalar",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90267,src:"3135:12:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"3121:26:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:90309,nodeType:"ExpressionStatement",src:"3121:26:145"}]},documentation:{id:90251,nodeType:"StructuredDocumentation",src:"2008:481:145",text:`@custom:legacy + @notice Updates the L1 block values. + @param _number L1 blocknumber. + @param _timestamp L1 timestamp. + @param _basefee L1 basefee. + @param _hash L1 blockhash. + @param _sequenceNumber Number of L2 blocks since epoch start. + @param _batcherHash Versioned hash to authenticate batcher by. + @param _l1FeeOverhead L1 fee overhead. + @param _l1FeeScalar L1 fee scalar.`},functionSelector:"015d8eb9",implemented:!0,kind:"function",modifiers:[],name:"setL1BlockValues",nameLocation:"2503:16:145",parameters:{id:90268,nodeType:"ParameterList",parameters:[{constant:!1,id:90253,mutability:"mutable",name:"_number",nameLocation:"2536:7:145",nodeType:"VariableDeclaration",scope:90311,src:"2529:14:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90252,name:"uint64",nodeType:"ElementaryTypeName",src:"2529:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:90255,mutability:"mutable",name:"_timestamp",nameLocation:"2560:10:145",nodeType:"VariableDeclaration",scope:90311,src:"2553:17:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90254,name:"uint64",nodeType:"ElementaryTypeName",src:"2553:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:90257,mutability:"mutable",name:"_basefee",nameLocation:"2588:8:145",nodeType:"VariableDeclaration",scope:90311,src:"2580:16:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90256,name:"uint256",nodeType:"ElementaryTypeName",src:"2580:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90259,mutability:"mutable",name:"_hash",nameLocation:"2614:5:145",nodeType:"VariableDeclaration",scope:90311,src:"2606:13:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:90258,name:"bytes32",nodeType:"ElementaryTypeName",src:"2606:7:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:90261,mutability:"mutable",name:"_sequenceNumber",nameLocation:"2636:15:145",nodeType:"VariableDeclaration",scope:90311,src:"2629:22:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90260,name:"uint64",nodeType:"ElementaryTypeName",src:"2629:6:145",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:90263,mutability:"mutable",name:"_batcherHash",nameLocation:"2669:12:145",nodeType:"VariableDeclaration",scope:90311,src:"2661:20:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:90262,name:"bytes32",nodeType:"ElementaryTypeName",src:"2661:7:145",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:90265,mutability:"mutable",name:"_l1FeeOverhead",nameLocation:"2699:14:145",nodeType:"VariableDeclaration",scope:90311,src:"2691:22:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90264,name:"uint256",nodeType:"ElementaryTypeName",src:"2691:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90267,mutability:"mutable",name:"_l1FeeScalar",nameLocation:"2731:12:145",nodeType:"VariableDeclaration",scope:90311,src:"2723:20:145",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90266,name:"uint256",nodeType:"ElementaryTypeName",src:"2723:7:145",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2519:230:145"},returnParameters:{id:90269,nodeType:"ParameterList",parameters:[],src:"2771:0:145"},scope:90318,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:90317,nodeType:"FunctionDefinition",src:"3886:956:145",nodes:[],body:{id:90316,nodeType:"Block",src:"3930:912:145",nodes:[],statements:[{AST:{nodeType:"YulBlock",src:"3949:887:145",statements:[{body:{nodeType:"YulBlock",src:"4065:197:145",statements:[{expression:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4090:4:145",type:"",value:"0x00"},{kind:"number",nodeType:"YulLiteral",src:"4096:10:145",type:"",value:"0x3cc50b45"}],functionName:{name:"mstore",nodeType:"YulIdentifier",src:"4083:6:145"},nodeType:"YulFunctionCall",src:"4083:24:145"},nodeType:"YulExpressionStatement",src:"4083:24:145"},{expression:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4188:4:145",type:"",value:"0x1C"},{kind:"number",nodeType:"YulLiteral",src:"4194:4:145",type:"",value:"0x04"}],functionName:{name:"revert",nodeType:"YulIdentifier",src:"4181:6:145"},nodeType:"YulFunctionCall",src:"4181:18:145"},nodeType:"YulExpressionStatement",src:"4181:18:145"}]},condition:{arguments:[{arguments:[],functionName:{name:"caller",nodeType:"YulIdentifier",src:"4036:6:145"},nodeType:"YulFunctionCall",src:"4036:8:145"},{name:"DEPOSITOR_ACCOUNT",nodeType:"YulIdentifier",src:"4046:17:145"}],functionName:{name:"xor",nodeType:"YulIdentifier",src:"4032:3:145"},nodeType:"YulFunctionCall",src:"4032:32:145"},nodeType:"YulIf",src:"4029:233:145"},{nodeType:"YulVariableDeclaration",src:"4275:27:145",value:{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4300:1:145",type:"",value:"4"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4287:12:145"},nodeType:"YulFunctionCall",src:"4287:15:145"},variables:[{name:"data",nodeType:"YulTypedName",src:"4279:4:145",type:""}]},{expression:{arguments:[{name:"sequenceNumber.slot",nodeType:"YulIdentifier",src:"4410:19:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4435:3:145",type:"",value:"128"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4453:1:145",type:"",value:"4"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4440:12:145"},nodeType:"YulFunctionCall",src:"4440:15:145"}],functionName:{name:"shr",nodeType:"YulIdentifier",src:"4431:3:145"},nodeType:"YulFunctionCall",src:"4431:25:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4403:6:145"},nodeType:"YulFunctionCall",src:"4403:54:145"},nodeType:"YulExpressionStatement",src:"4403:54:145"},{expression:{arguments:[{name:"number.slot",nodeType:"YulIdentifier",src:"4531:11:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4548:3:145",type:"",value:"128"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4566:2:145",type:"",value:"20"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4553:12:145"},nodeType:"YulFunctionCall",src:"4553:16:145"}],functionName:{name:"shr",nodeType:"YulIdentifier",src:"4544:3:145"},nodeType:"YulFunctionCall",src:"4544:26:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4524:6:145"},nodeType:"YulFunctionCall",src:"4524:47:145"},nodeType:"YulExpressionStatement",src:"4524:47:145"},{expression:{arguments:[{name:"basefee.slot",nodeType:"YulIdentifier",src:"4591:12:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4618:2:145",type:"",value:"36"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4605:12:145"},nodeType:"YulFunctionCall",src:"4605:16:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4584:6:145"},nodeType:"YulFunctionCall",src:"4584:38:145"},nodeType:"YulExpressionStatement",src:"4584:38:145"},{expression:{arguments:[{name:"blobBaseFee.slot",nodeType:"YulIdentifier",src:"4653:16:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4684:2:145",type:"",value:"68"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4671:12:145"},nodeType:"YulFunctionCall",src:"4671:16:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4646:6:145"},nodeType:"YulFunctionCall",src:"4646:42:145"},nodeType:"YulExpressionStatement",src:"4646:42:145"},{expression:{arguments:[{name:"hash.slot",nodeType:"YulIdentifier",src:"4719:9:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4743:3:145",type:"",value:"100"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4730:12:145"},nodeType:"YulFunctionCall",src:"4730:17:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4712:6:145"},nodeType:"YulFunctionCall",src:"4712:36:145"},nodeType:"YulExpressionStatement",src:"4712:36:145"},{expression:{arguments:[{name:"batcherHash.slot",nodeType:"YulIdentifier",src:"4779:16:145"},{arguments:[{kind:"number",nodeType:"YulLiteral",src:"4810:3:145",type:"",value:"132"}],functionName:{name:"calldataload",nodeType:"YulIdentifier",src:"4797:12:145"},nodeType:"YulFunctionCall",src:"4797:17:145"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"4772:6:145"},nodeType:"YulFunctionCall",src:"4772:43:145"},nodeType:"YulExpressionStatement",src:"4772:43:145"}]},evmVersion:"london",externalReferences:[{declaration:90213,isOffset:!1,isSlot:!1,src:"4046:17:145",valueSize:1},{declaration:90222,isOffset:!1,isSlot:!0,src:"4591:12:145",suffix:"slot",valueSize:1},{declaration:90237,isOffset:!1,isSlot:!0,src:"4779:16:145",suffix:"slot",valueSize:1},{declaration:90246,isOffset:!1,isSlot:!0,src:"4653:16:145",suffix:"slot",valueSize:1},{declaration:90225,isOffset:!1,isSlot:!0,src:"4719:9:145",suffix:"slot",valueSize:1},{declaration:90216,isOffset:!1,isSlot:!0,src:"4531:11:145",suffix:"slot",valueSize:1},{declaration:90228,isOffset:!1,isSlot:!0,src:"4410:19:145",suffix:"slot",valueSize:1}],id:90315,nodeType:"InlineAssembly",src:"3940:896:145"}]},documentation:{id:90312,nodeType:"StructuredDocumentation",src:"3160:721:145",text:`@notice Updates the L1 block values for an Ecotone upgraded chain. + Params are packed and passed in as raw msg.data instead of ABI to reduce calldata size. + Params are expected to be in the following order: + 1. _baseFeeScalar L1 base fee scalar + 2. _blobBaseFeeScalar L1 blob base fee scalar + 3. _sequenceNumber Number of L2 blocks since epoch start. + 4. _timestamp L1 timestamp. + 5. _number L1 blocknumber. + 6. _basefee L1 base fee. + 7. _blobBaseFee L1 blob base fee. + 8. _hash L1 blockhash. + 9. _batcherHash Versioned hash to authenticate batcher by.`},functionSelector:"440a5e20",implemented:!0,kind:"function",modifiers:[],name:"setL1BlockValuesEcotone",nameLocation:"3895:23:145",parameters:{id:90313,nodeType:"ParameterList",parameters:[],src:"3918:2:145"},returnParameters:{id:90314,nodeType:"ParameterList",parameters:[],src:"3930:0:145"},scope:90318,stateMutability:"nonpayable",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[{baseName:{id:90208,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"608:7:145"},id:90209,nodeType:"InheritanceSpecifier",src:"608:7:145"}],canonicalName:"L1Block",contractDependencies:[],contractKind:"contract",documentation:{id:90207,nodeType:"StructuredDocumentation",src:"111:477:145",text:`@custom:proxied + @custom:predeploy 0x4200000000000000000000000000000000000015 + @title L1Block + @notice The L1Block predeploy gives users access to information about the last known L1 block. + Values within this contract are updated once per epoch (every L1 block) and can only be + set by the "depositor" account, a special system address. Depositor account transactions + are created by the protocol whenever we move to a new epoch.`},fullyImplemented:!0,linearizedBaseContracts:[90318,109417],name:"L1Block",nameLocation:"597:7:145",scope:90319,usedErrors:[]}],license:"MIT"},id:145}});var PYe=B((ela,dj0)=>{dj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"PORTAL",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"},{name:"_portal",type:"address",internalType:"contract OptimismPortal"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"portal",inputs:[],outputs:[{name:"",type:"address",internalType:"contract OptimismPortal"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b6200027f565b600054600160a81b900460ff16158080156200004e57506000546001600160a01b90910460ff16105b806200008557506200006b30620001b960201b620014d61760201c565b158015620000855750600054600160a01b900460ff166001145b620000ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011c576000805460ff60a81b1916600160a81b1790555b60fb80546001600160a01b038086166001600160a01b03199283161790925560fc8054928516929091169190911790556200016b734200000000000000000000000000000000000007620001c8565b8015620001b4576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620002375760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e5565b60cc546001600160a01b03166200025d5760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611f94806200028f6000396000f3fe6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:130:-:0;;;1159:163;;;;;;;;;-1:-1:-1;1206:109:130::1;1263:1;::::0;1206:10:::1;:109::i;:::-;701:2432:::0;;1542:296;3111:19:27;3134:13;-1:-1:-1;;;3134:13:27;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;-1:-1:-1;;;3197:12:27;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:27;;-1:-1:-1;;;3268:12:27;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:27;;216:2:357;3157:201:27;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3157:201:27;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:27;-1:-1:-1;;;3368:16:27;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:27;-1:-1:-1;;;3428:20:27;;;3394:65;1651:16:130::1;:36:::0;;-1:-1:-1;;;;;1651:36:130;;::::1;-1:-1:-1::0;;;;;;1651:36:130;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:199;1723:27:130;:108::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:27;;;3553:14;;-1:-1:-1;581:36:357;;3553:14:27;;569:2:357;554:18;3553:14:27;;;;;;;3479:99;3101:483;1542:296:130;;:::o;1186:320:33:-;-1:-1:-1;;;;;1476:19:33;;:23;;;1186:320::o;18503:636:223:-;4910:13:27;;-1:-1:-1;;;4910:13:27;;;;4902:69;;;;-1:-1:-1;;;4902:69:27;;830:2:357;4902:69:27;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4902:69:27;628:407:357;4902:69:27;18988:16:223::1;::::0;-1:-1:-1;;;;;18988:16:223::1;18984:107;;19034:16;:46:::0;;-1:-1:-1;;;;;;19034:46:223::1;1338:42:192;19034:46:223;::::0;;18984:107:::1;19100:14;:32:::0;;-1:-1:-1;;;;;;19100:32:223::1;-1:-1:-1::0;;;;;19100:32:223;;;::::1;::::0;;;::::1;::::0;;18503:636::o;628:407:357:-;701:2432:130;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101805760003560e01c80635c975abb116100d6578063a4e7f8bd1161007f578063d764ad0b11610059578063d764ad0b14610463578063db505d8014610476578063ecc70428146104a357600080fd5b8063a4e7f8bd146103e3578063b1b1b20914610413578063b28ade251461044357600080fd5b806383a74074116100b057806383a74074146103a15780638cbeeef2146102b85780639fce812c146103b857600080fd5b80635c975abb1461033a5780636425666b1461035f5780636e296e451461038c57600080fd5b80633dbb202b116101385780634c1d6a69116101125780634c1d6a69146102b857806354fd4d50146102ce5780635644cfdf1461032457600080fd5b80633dbb202b1461025b5780633f827a5a14610270578063485cc9551461029857600080fd5b80630ff754ea116101695780630ff754ea146101cd5780632828d7e81461021957806335e80ab31461022e57600080fd5b8063028f85f7146101855780630c568498146101b8575b600080fd5b34801561019157600080fd5b5061019a601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101c457600080fd5b5061019a603f81565b3480156101d957600080fd5b5060fc5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b34801561022557600080fd5b5061019a604081565b34801561023a57600080fd5b5060fb546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b61026e610269366004611a22565b610508565b005b34801561027c57600080fd5b50610285600181565b60405161ffff90911681526020016101af565b3480156102a457600080fd5b5061026e6102b3366004611a89565b610765565b3480156102c457600080fd5b5061019a619c4081565b3480156102da57600080fd5b506103176040518060400160405280600581526020017f322e332e3000000000000000000000000000000000000000000000000000000081525081565b6040516101af9190611b2d565b34801561033057600080fd5b5061019a61138881565b34801561034657600080fd5b5061034f6109d3565b60405190151581526020016101af565b34801561036b57600080fd5b5060fc546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b34801561039857600080fd5b506101f4610a6c565b3480156103ad57600080fd5b5061019a62030d4081565b3480156103c457600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166101f4565b3480156103ef57600080fd5b5061034f6103fe366004611b47565b60ce6020526000908152604090205460ff1681565b34801561041f57600080fd5b5061034f61042e366004611b47565b60cb6020526000908152604090205460ff1681565b34801561044f57600080fd5b5061019a61045e366004611b60565b610b53565b61026e610471366004611bb4565b610bc1565b34801561048257600080fd5b5060cf546101f49073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104af57600080fd5b506104fa60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016101af565b60cf5461063a9073ffffffffffffffffffffffffffffffffffffffff16610530858585610b53565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061059c60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c6040516024016105b89796959493929190611c83565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526114f2565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a3385856106bf60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b866040516106d1959493929190611ce2565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b6000547501000000000000000000000000000000000000000000900460ff16158080156107b0575060005460017401000000000000000000000000000000000000000090910460ff16105b806107e25750303b1580156107e2575060005474010000000000000000000000000000000000000000900460ff166001145b610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156108f957600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b60fb805473ffffffffffffffffffffffffffffffffffffffff8086167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560fc80549285169290911691909117905561096b73420000000000000000000000000000000000000761158b565b80156109ce57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60fb54604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611d30565b905090565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610b36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f74207365740000000000000000000000606482015260840161086a565b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f610b6f604063ffffffff8816611d81565b610b799190611db1565b610b84601088611d81565b610b919062030d40611dff565b610b9b9190611dff565b610ba59190611dff565b610baf9190611dff565b610bb99190611dff565b949350505050565b610bc96109d3565b15610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43726f7373446f6d61696e4d657373656e6765723a2070617573656400000000604482015260640161086a565b60f087901c60028110610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161086a565b8061ffff16600003610de0576000610d3c878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506116c7915050565b600081815260cb602052604090205490915060ff1615610dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161086a565b505b6000610e26898989898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116e692505050565b9050610e30611709565b15610e6857853414610e4457610e44611e2b565b600081815260ce602052604090205460ff1615610e6357610e63611e2b565b610fba565b3415610f1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161086a565b600081815260ce602052604090205460ff16610fba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161086a565b610fc3876117e5565b15611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161086a565b600081815260cb602052604090205460ff1615611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161086a565b61113685611127611388619c40611dff565b67ffffffffffffffff1661182b565b158061115c575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b1561127557600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b50506114cd565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061130688619c405a6112c99190611e5a565b8988888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061184992505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156113bc57600082815260cb602052604090205460ff161561135957611359611e2b565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26114c9565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016114c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161086a565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60fc546040517fe9e05c4200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063e9e05c42908490611553908890839089906000908990600401611e71565b6000604051808303818588803b15801561156c57600080fd5b505af1158015611580573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff16611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086a565b60cc5473ffffffffffffffffffffffffffffffffffffffff166116805760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006116d585858585611863565b805190602001209050949350505050565b60006116f68787878787876118fc565b8051906020012090509695505050505050565b60fc5460009073ffffffffffffffffffffffffffffffffffffffff1633148015610a67575060cf5460fc54604080517f9bf62d82000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691639bf62d82916004808201926020929091908290030181865afa1580156117a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c99190611ec9565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600073ffffffffffffffffffffffffffffffffffffffff8216301480611825575060fc5473ffffffffffffffffffffffffffffffffffffffff8381169116145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b60608484848460405160240161187c9493929190611ee6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161191996959493929190611f30565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146119bd57600080fd5b50565b60008083601f8401126119d257600080fd5b50813567ffffffffffffffff8111156119ea57600080fd5b602083019150836020828501011115611a0257600080fd5b9250929050565b803563ffffffff81168114611a1d57600080fd5b919050565b60008060008060608587031215611a3857600080fd5b8435611a438161199b565b9350602085013567ffffffffffffffff811115611a5f57600080fd5b611a6b878288016119c0565b9094509250611a7e905060408601611a09565b905092959194509250565b60008060408385031215611a9c57600080fd5b8235611aa78161199b565b91506020830135611ab78161199b565b809150509250929050565b6000815180845260005b81811015611ae857602081850181015186830182015201611acc565b81811115611afa576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b406020830184611ac2565b9392505050565b600060208284031215611b5957600080fd5b5035919050565b600080600060408486031215611b7557600080fd5b833567ffffffffffffffff811115611b8c57600080fd5b611b98868287016119c0565b9094509250611bab905060208501611a09565b90509250925092565b600080600080600080600060c0888a031215611bcf57600080fd5b873596506020880135611be18161199b565b95506040880135611bf18161199b565b9450606088013593506080880135925060a088013567ffffffffffffffff811115611c1b57600080fd5b611c278a828b016119c0565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611cd560c083018486611c3a565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611d12608083018688611c3a565b905083604083015263ffffffff831660608301529695505050505050565b600060208284031215611d4257600080fd5b81518015158114611b4057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611da857611da8611d52565b02949350505050565b600067ffffffffffffffff80841680611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611e2257611e22611d52565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611e6c57611e6c611d52565b500390565b73ffffffffffffffffffffffffffffffffffffffff8616815284602082015267ffffffffffffffff84166040820152821515606082015260a060808201526000611ebe60a0830184611ac2565b979650505050505050565b600060208284031215611edb57600080fd5b8151611b408161199b565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611f1f6080830185611ac2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611f7b60c0830184611ac2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"701:2432:130:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:223;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:357;176:31;;;158:50;;146:2;131:18;4456:53:223;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;2107:87:130;;;;;;;;;;-1:-1:-1;2181:6:130;;;;2107:87;;;427:42:357;415:55;;;397:74;;385:2;370:18;2107:87:130;219:258:357;4146:62:223;;;;;;;;;;;;4206:2;4146:62;;822:40:130;;;;;;;;;;-1:-1:-1;822:40:130;;;;;;;;8628:995:223;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;2213:6:357;2201:19;;;2183:38;;2171:2;2156:18;3879:42:223;2039:188:357;1542:296:130;;;;;;;;;;-1:-1:-1;1542:296:130;;;;;:::i;:::-;;:::i;4597:51:223:-;;;;;;;;;;;;4642:6;4597:51;;1048:40:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:223:-;;;;;;;;;;;;4991:5;4943:53;;3028:103:130;;;;;;;;;;;;;:::i;:::-;;;3601:14:357;;3594:22;3576:41;;3564:2;3549:18;3028:103:130;3436:187:357;950:28:130;;;;;;;;;;-1:-1:-1;950:28:130;;;;;;;;15764:250:223;;;;;;;;;;;;;:::i;3999:56::-;;;;;;;;;;;;4048:7;3999:56;;16317:108;;;;;;;;;;-1:-1:-1;16404:14:223;;;;16317:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:223;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:223;;;;;:::i;:::-;;;;;;;;;;;;;;;;17493:894;;;;;;;;;;-1:-1:-1;17493:894:223;;;;;:::i;:::-;;:::i;10311:5066::-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:223;;;;;;;;16746:134;;;;;;;;;;;;16847:8;;;;4855:18:195;4852:30;;3028:103:130;16746:134:223;;;5835:25:357;;;5823:2;5808:18;16746:134:223;5689:177:357;8628:995:223;9128:14;;9088:326;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16847:8;;;;4855:18:195;4852:30;;3028:103:130;9319:14:223;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:152;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:326::i;:::-;9442:7;9430:72;;;9451:10;9463:8;;9473:14;16847:8;;;;4855:18:195;4852:30;;3028:103:130;9473:14:223;9489:12;9430:72;;;;;;;;;;:::i;:::-;;;;;;;;9517:44;;9551:9;5835:25:357;;9539:10:223;;9517:44;;5823:2:357;5808:18;9517:44:223;;;;;;;-1:-1:-1;;9598:8:223;9596:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:995:223:o;1542:296:130:-;3111:19:27;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:27;1476:19:33;:23;;;3219:66:27;;-1:-1:-1;3268:12:27;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;7634:2:357;3157:201:27;;;7616:21:357;7673:2;7653:18;;;7646:30;7712:34;7692:18;;;7685:62;7783:16;7763:18;;;7756:44;7817:19;;3157:201:27;;;;;;;;;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1651:16:130::1;:36:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;1697:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;1723:108:::1;480:42:199;1723:27:130;:108::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;7999:36:357;;3553:14:27;;7987:2:357;7972:18;3553:14:27;;;;;;;3479:99;3101:483;1542:296:130;;:::o;3028:103::-;3099:16;;:25;;;;;;;;3076:4;;3099:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3092:32;;3028:103;:::o;15764:250:223:-;15859:16;;15819:7;;15859:47;:16;:47;;15838:135;;;;;;;8530:2:357;15838:135:223;;;8512:21:357;8569:2;8549:18;;;8542:30;8608:34;8588:18;;;8581:62;8679:23;8659:18;;;8652:51;8720:19;;15838:135:223;8328:417:357;15838:135:223;-1:-1:-1;15991:16:223;;;;;15764:250::o;17493:894::-;17577:6;4991:5;4796:6;;4363:2;17806:49;4206:2;17806:49;;;;:::i;:::-;17805:90;;;;:::i;:::-;17703:51;4507:2;17710:8;17703:51;:::i;:::-;17639:116;;4048:7;17639:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17595:785;17493:894;-1:-1:-1;;;;17493:894:223:o;10311:5066::-;10722:8;:6;:8::i;:::-;:17;10714:58;;;;;;;10015:2:357;10714:58:223;;;9997:21:357;10054:2;10034:18;;;10027:30;10093;10073:18;;;10066:58;10141:18;;10714:58:223;9813:352:357;10714:58:223;5444:3:195;5440:16;;;10869:1:223;10859:11;;10851:101;;;;;;;10372:2:357;10851:101:223;;;10354:21:357;10411:2;10391:18;;;10384:30;10450:34;10430:18;;;10423:62;10521:34;10501:18;;;10494:62;10593:15;10572:19;;;10565:44;10626:19;;10851:101:223;10170:481:357;10851:101:223;11154:7;:12;;11165:1;11154:12;11150:247;;11182:15;11200:68;11233:7;11242;11251:8;;11200:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11261:6:223;;-1:-1:-1;11200:32:223;;-1:-1:-1;;11200:68:223:i;:::-;11290:27;;;;:18;:27;;;;;;11182:86;;-1:-1:-1;11290:27:223;;:36;11282:104;;;;;;;10858:2:357;11282:104:223;;;10840:21:357;10897:2;10877:18;;;10870:30;10936:34;10916:18;;;10909:62;11007:25;10987:18;;;10980:53;11050:19;;11282:104:223;10656:419:357;11282:104:223;11168:229;11150:247;11567:21;11603:90;11636:6;11644:7;11653;11662:6;11670:12;11684:8;;11603:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11603:32:223;;-1:-1:-1;;;11603:90:223:i;:::-;11567:126;;11708:19;:17;:19::i;:::-;11704:506;;;11897:6;11884:9;:19;11877:27;;;;:::i;:::-;11926:29;;;;:14;:29;;;;;;;;11925:30;11918:38;;;;:::i;:::-;11704:506;;;11995:9;:14;11987:107;;;;;;;11471:2:357;11987:107:223;;;11453:21:357;11510:2;11490:18;;;11483:30;11549:34;11529:18;;;11522:62;11620:34;11600:18;;;11593:62;11692:18;11671:19;;;11664:47;11728:19;;11987:107:223;11269:484:357;11987:107:223;12117:29;;;;:14;:29;;;;;;;;12109:90;;;;;;;11960:2:357;12109:90:223;;;11942:21:357;11999:2;11979:18;;;11972:30;12038:34;12018:18;;;12011:62;12109:18;12089;;;12082:46;12145:19;;12109:90:223;11758:412:357;12109:90:223;12241:24;12257:7;12241:15;:24::i;:::-;:33;12220:135;;;;;;;12377:2:357;12220:135:223;;;12359:21:357;12416:2;12396:18;;;12389:30;12455:34;12435:18;;;12428:62;12526:34;12506:18;;;12499:62;12598:5;12577:19;;;12570:34;12621:19;;12220:135:223;12175:471:357;12220:135:223;12374:33;;;;:18;:33;;;;;;;;:42;12366:109;;;;;;;12853:2:357;12366:109:223;;;12835:21:357;12892:2;12872:18;;;12865:30;12931:34;12911:18;;;12904:62;13002:24;12982:18;;;12975:52;13044:19;;12366:109:223;12651:418:357;12366:109:223;13169:77;13188:12;13202:43;4991:5;4796:6;13202:43;:::i;:::-;13169:77;;:18;:77::i;:::-;13168:78;:145;;;-1:-1:-1;13266:16:223;;:47;:16;1338:42:192;13266:47:223;;13168:145;13151:919;;;13338:29;;;;:14;:29;;;;;;:36;;;;13370:4;13338:36;;;13393:35;13353:13;;13393:35;;;13908:41;:9;:41;13904:135;;13969:55;;;;;13276:2:357;13969:55:223;;;13258:21:357;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;13969:55:223;13074:409:357;13904:135:223;14053:7;;;;13151:919;14080:16;:26;;;;;;;;;;-1:-1:-1;14131:72:223;14145:7;4796:6;14154:9;:30;;;;:::i;:::-;14186:6;14194:8;;14131:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14131:13:223;;-1:-1:-1;;;14131:72:223:i;:::-;14213:16;:46;;;;1338:42:192;14213:46:223;;;14116:87;-1:-1:-1;14270:1101:223;;;;14484:33;;;;:18;:33;;;;;;;;:42;14477:50;;;;:::i;:::-;14541:33;;;;:18;:33;;;;;;:40;;;;14577:4;14541:40;;;14600:29;14560:13;;14600:29;;;14270:1101;;;14660:29;;;;:14;:29;;;;;;:36;;;;14692:4;14660:36;;;14715:35;14675:13;;14715:35;;;15230:41;:9;:41;15226:135;;15291:55;;;;;13276:2:357;15291:55:223;;;13258:21:357;13315:2;13295:18;;;13288:30;13354:34;13334:18;;;13327:62;13425:15;13405:18;;;13398:43;13458:19;;15291:55:223;13074:409:357;15226:135:223;10537:4840;;;10311:5066;;;;;;;;:::o;1186:320:33:-;1476:19;;;:23;;;1186:320::o;2241::130:-;2358:6;;:196;;;;;:6;;;;;:25;;2392:6;;2358:196;;2420:3;;2392:6;;2476:9;;2358:6;;2538:5;;2358:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2241:320;;;;:::o;18503:636:223:-;4910:13:27;;;;;;;4902:69;;;;;;;14412:2:357;4902:69:27;;;14394:21:357;14451:2;14431:18;;;14424:30;14490:34;14470:18;;;14463:62;14561:13;14541:18;;;14534:41;14592:19;;4902:69:27;14210:407:357;4902:69:27;18988:16:223::1;::::0;:30:::1;:16;18984:107;;19034:16;:46:::0;;;::::1;1338:42:192;19034:46:223;::::0;;18984:107:::1;19100:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18503:636::o;3100:305:196:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2608:168:130:-;2714:6;;2669:4;;2714:6;;2692:10;:29;:77;;;;-1:-1:-1;2754:14:130;;2725:6;;:17;;;;;;;;2754:14;;;;;2725:6;;;;:15;;:17;;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;;;2685:84;;2608:168;:::o;2823:158::-;2897:4;2920:24;;;2939:4;2920:24;;:54;;-1:-1:-1;2967:6:130;;;2948:26;;;2967:6;;2948:26;2920:54;2913:61;2823:158;-1:-1:-1;;2823:158:130:o;3615:365:200:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:200:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:200:o;3073:336:195:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:195;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:195;;;;;;;;:::o;739:154:357:-;825:42;818:5;814:54;807:5;804:65;794:93;;883:1;880;873:12;794:93;739:154;:::o;898:347::-;949:8;959:6;1013:3;1006:4;998:6;994:17;990:27;980:55;;1031:1;1028;1021:12;980:55;-1:-1:-1;1054:20:357;;1097:18;1086:30;;1083:50;;;1129:1;1126;1119:12;1083:50;1166:4;1158:6;1154:17;1142:29;;1218:3;1211:4;1202:6;1194;1190:19;1186:30;1183:39;1180:59;;;1235:1;1232;1225:12;1180:59;898:347;;;;;:::o;1250:163::-;1317:20;;1377:10;1366:22;;1356:33;;1346:61;;1403:1;1400;1393:12;1346:61;1250:163;;;:::o;1418:616::-;1505:6;1513;1521;1529;1582:2;1570:9;1561:7;1557:23;1553:32;1550:52;;;1598:1;1595;1588:12;1550:52;1637:9;1624:23;1656:31;1681:5;1656:31;:::i;:::-;1706:5;-1:-1:-1;1762:2:357;1747:18;;1734:32;1789:18;1778:30;;1775:50;;;1821:1;1818;1811:12;1775:50;1860:58;1910:7;1901:6;1890:9;1886:22;1860:58;:::i;:::-;1937:8;;-1:-1:-1;1834:84:357;-1:-1:-1;1991:37:357;;-1:-1:-1;2024:2:357;2009:18;;1991:37;:::i;:::-;1981:47;;1418:616;;;;;;;:::o;2232:438::-;2350:6;2358;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;2466:9;2453:23;2485:31;2510:5;2485:31;:::i;:::-;2535:5;-1:-1:-1;2592:2:357;2577:18;;2564:32;2605:33;2564:32;2605:33;:::i;:::-;2657:7;2647:17;;;2232:438;;;;;:::o;2675:531::-;2717:3;2755:5;2749:12;2782:6;2777:3;2770:19;2807:1;2817:162;2831:6;2828:1;2825:13;2817:162;;;2893:4;2949:13;;;2945:22;;2939:29;2921:11;;;2917:20;;2910:59;2846:12;2817:162;;;2997:6;2994:1;2991:13;2988:87;;;3063:1;3056:4;3047:6;3042:3;3038:16;3034:27;3027:38;2988:87;-1:-1:-1;3120:2:357;3108:15;3125:66;3104:88;3095:98;;;;3195:4;3091:109;;2675:531;-1:-1:-1;;2675:531:357:o;3211:220::-;3360:2;3349:9;3342:21;3323:4;3380:45;3421:2;3410:9;3406:18;3398:6;3380:45;:::i;:::-;3372:53;3211:220;-1:-1:-1;;;3211:220:357:o;4121:180::-;4180:6;4233:2;4221:9;4212:7;4208:23;4204:32;4201:52;;;4249:1;4246;4239:12;4201:52;-1:-1:-1;4272:23:357;;4121:180;-1:-1:-1;4121:180:357:o;4306:481::-;4384:6;4392;4400;4453:2;4441:9;4432:7;4428:23;4424:32;4421:52;;;4469:1;4466;4459:12;4421:52;4509:9;4496:23;4542:18;4534:6;4531:30;4528:50;;;4574:1;4571;4564:12;4528:50;4613:58;4663:7;4654:6;4643:9;4639:22;4613:58;:::i;:::-;4690:8;;-1:-1:-1;4587:84:357;-1:-1:-1;4744:37:357;;-1:-1:-1;4777:2:357;4762:18;;4744:37;:::i;:::-;4734:47;;4306:481;;;;;:::o;4792:892::-;4907:6;4915;4923;4931;4939;4947;4955;5008:3;4996:9;4987:7;4983:23;4979:33;4976:53;;;5025:1;5022;5015:12;4976:53;5061:9;5048:23;5038:33;;5121:2;5110:9;5106:18;5093:32;5134:31;5159:5;5134:31;:::i;:::-;5184:5;-1:-1:-1;5241:2:357;5226:18;;5213:32;5254:33;5213:32;5254:33;:::i;:::-;5306:7;-1:-1:-1;5360:2:357;5345:18;;5332:32;;-1:-1:-1;5411:3:357;5396:19;;5383:33;;-1:-1:-1;5467:3:357;5452:19;;5439:33;5495:18;5484:30;;5481:50;;;5527:1;5524;5517:12;5481:50;5566:58;5616:7;5607:6;5596:9;5592:22;5566:58;:::i;:::-;4792:892;;;;-1:-1:-1;4792:892:357;;-1:-1:-1;4792:892:357;;;;5540:84;;-1:-1:-1;;;4792:892:357:o;5871:325::-;5959:6;5954:3;5947:19;6011:6;6004:5;5997:4;5992:3;5988:14;5975:43;;6063:1;6056:4;6047:6;6042:3;6038:16;6034:27;6027:38;5929:3;6185:4;6115:66;6110:2;6102:6;6098:15;6094:88;6089:3;6085:98;6081:109;6074:116;;5871:325;;;;:::o;6201:697::-;6496:6;6485:9;6478:25;6459:4;6522:42;6612:2;6604:6;6600:15;6595:2;6584:9;6580:18;6573:43;6664:2;6656:6;6652:15;6647:2;6636:9;6632:18;6625:43;;6704:6;6699:2;6688:9;6684:18;6677:34;6760:10;6752:6;6748:23;6742:3;6731:9;6727:19;6720:52;6809:3;6803;6792:9;6788:19;6781:32;6830:62;6887:3;6876:9;6872:19;6864:6;6856;6830:62;:::i;:::-;6822:70;6201:697;-1:-1:-1;;;;;;;;;6201:697:357:o;6903:524::-;7155:42;7147:6;7143:55;7132:9;7125:74;7235:3;7230:2;7219:9;7215:18;7208:31;7106:4;7256:62;7313:3;7302:9;7298:19;7290:6;7282;7256:62;:::i;:::-;7248:70;;7354:6;7349:2;7338:9;7334:18;7327:34;7409:10;7401:6;7397:23;7392:2;7381:9;7377:18;7370:51;6903:524;;;;;;;;:::o;8046:277::-;8113:6;8166:2;8154:9;8145:7;8141:23;8137:32;8134:52;;;8182:1;8179;8172:12;8134:52;8214:9;8208:16;8267:5;8260:13;8253:21;8246:5;8243:32;8233:60;;8289:1;8286;8279:12;8750:184;8802:77;8799:1;8792:88;8899:4;8896:1;8889:15;8923:4;8920:1;8913:15;8939:270;8978:7;9010:18;9055:2;9052:1;9048:10;9085:2;9082:1;9078:10;9141:3;9137:2;9133:12;9128:3;9125:21;9118:3;9111:11;9104:19;9100:47;9097:73;;;9150:18;;:::i;:::-;9190:13;;8939:270;-1:-1:-1;;;;8939:270:357:o;9214:353::-;9253:1;9279:18;9324:2;9321:1;9317:10;9346:3;9336:191;;9383:77;9380:1;9373:88;9484:4;9481:1;9474:15;9512:4;9509:1;9502:15;9336:191;9545:10;;9541:20;;;;;9214:353;-1:-1:-1;;9214:353:357:o;9572:236::-;9611:3;9639:18;9684:2;9681:1;9677:10;9714:2;9711:1;9707:10;9745:3;9741:2;9737:12;9732:3;9729:21;9726:47;;;9753:18;;:::i;:::-;9789:13;;9572:236;-1:-1:-1;;;;9572:236:357:o;11080:184::-;11132:77;11129:1;11122:88;11229:4;11226:1;11219:15;11253:4;11250:1;11243:15;13488:125;13528:4;13556:1;13553;13550:8;13547:34;;;13561:18;;:::i;:::-;-1:-1:-1;13598:9:357;;13488:125::o;13618:587::-;13881:42;13873:6;13869:55;13858:9;13851:74;13961:6;13956:2;13945:9;13941:18;13934:34;14016:18;14008:6;14004:31;13999:2;13988:9;13984:18;13977:59;14086:6;14079:14;14072:22;14067:2;14056:9;14052:18;14045:50;14132:3;14126;14115:9;14111:19;14104:32;13832:4;14153:46;14194:3;14183:9;14179:19;14171:6;14153:46;:::i;:::-;14145:54;13618:587;-1:-1:-1;;;;;;;13618:587:357:o;14622:251::-;14692:6;14745:2;14733:9;14724:7;14720:23;14716:32;14713:52;;;14761:1;14758;14751:12;14713:52;14793:9;14787:16;14812:31;14837:5;14812:31;:::i;14878:512::-;15072:4;15101:42;15182:2;15174:6;15170:15;15159:9;15152:34;15234:2;15226:6;15222:15;15217:2;15206:9;15202:18;15195:43;;15274:3;15269:2;15258:9;15254:18;15247:31;15295:46;15336:3;15325:9;15321:19;15313:6;15295:46;:::i;:::-;15287:54;;15377:6;15372:2;15361:9;15357:18;15350:34;14878:512;;;;;;;:::o;15395:656::-;15682:6;15671:9;15664:25;15645:4;15708:42;15798:2;15790:6;15786:15;15781:2;15770:9;15766:18;15759:43;15850:2;15842:6;15838:15;15833:2;15822:9;15818:18;15811:43;;15890:6;15885:2;15874:9;15870:18;15863:34;15934:6;15928:3;15917:9;15913:19;15906:35;15978:3;15972;15961:9;15957:19;15950:32;15999:46;16040:3;16029:9;16025:19;16017:6;15999:46;:::i;:::-;15991:54;15395:656;-1:-1:-1;;;;;;;;15395:656:357:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","PORTAL()":"0ff754ea","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address,address)":"485cc955","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","portal()":"6425666b","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","superchainConfig()":"35e80ab3","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PORTAL","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"},{"internalType":"contract OptimismPortal","name":"_portal","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"portal","outputs":[{"internalType":"contract OptimismPortal","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L1CrossDomainMessenger","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"","returns":{"_0":"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{"params":{"_portal":"Contract of the OptimismPortal contract on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"portal":{"custom:network-specific":""},"version":{"custom:semver":"2.3.0"}},"version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{"notice":"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{"notice":"Initializes the contract."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{"notice":"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{"notice":"Contract of the SuperchainConfig."},"version()":{"notice":"Semantic version."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly.","version":1}},"settings":{"compilationTarget":{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1CrossDomainMessenger.sol":{"keccak256":"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06","license":"MIT","urls":["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0xf46a1158e86edcbb157d0b06a32db37867c0bc9d2aeeed6a8110547c7537201a","license":"MIT","urls":["bzz-raw://0aeb33d425db200953063e3576403b78c50e3a5e7b4f56ef4bead28919406ee2","dweb:/ipfs/QmUFb1rEQnCFrGRZQPHgFFWJQ48SR7wodiSFLgQKu8Jx6k"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/PortalErrors.sol":{"keccak256":"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558","license":"MIT","urls":["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"PORTAL",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"},{internalType:"contract OptimismPortal",name:"_portal",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"portal",outputs:[{internalType:"contract OptimismPortal",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{"custom:legacy":"",returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1CrossDomainMessenger.sol":"L1CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1CrossDomainMessenger.sol":{keccak256:"0x1a93450f3f9e2262b32e7831709b01d4491befb79a90cc24509b569103674e06",urls:["bzz-raw://2896f906f07fb6ceb7fea3cb31a10b8289db628142cb0612d9890d62bce265b1","dweb:/ipfs/QmYGAMecafbcT4LRBbDCYFj6mPCa3u5hNGUq2tfjWU3s18"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0xf46a1158e86edcbb157d0b06a32db37867c0bc9d2aeeed6a8110547c7537201a",urls:["bzz-raw://0aeb33d425db200953063e3576403b78c50e3a5e7b4f56ef4bead28919406ee2","dweb:/ipfs/QmUFb1rEQnCFrGRZQPHgFFWJQ48SR7wodiSFLgQKu8Jx6k"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/PortalErrors.sol":{keccak256:"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558",urls:["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:108324,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:46970,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:46973,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:108331,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:108334,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:108339,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:108342,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:108347,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:108350,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:108355,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:108360,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:108365,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:108410,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:108413,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:108416,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:108421,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:108425,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)108888"},{astId:108430,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"},{astId:84986,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"superchainConfig",offset:0,slot:"251",type:"t_contract(SuperchainConfig)88793"},{astId:84990,contract:"src/L1/L1CrossDomainMessenger.sol:L1CrossDomainMessenger",label:"portal",offset:0,slot:"252",type:"t_contract(OptimismPortal)87104"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(OptimismPortal)87104":{encoding:"inplace",label:"contract OptimismPortal",numberOfBytes:"20"},"t_contract(SuperchainConfig)88793":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"PORTAL()":{notice:"Getter function for the OptimismPortal contract on this chain. Public getter is legacy and will be removed in the future. Use `portal()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L1CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address,address)":{notice:"Initializes the contract."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"portal()":{notice:"Contract of the OptimismPortal."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"superchainConfig()":{notice:"Contract of the SuperchainConfig."},"version()":{notice:"Semantic version."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible for sending and receiving data on the L1 side. Users are encouraged to use this interface instead of interacting with lower-level contracts directly."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"PORTAL()":{returns:{_0:"Contract of the OptimismPortal on this chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address,address)":{params:{_portal:"Contract of the OptimismPortal contract on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}}},ast:{absolutePath:"src/L1/L1CrossDomainMessenger.sol",id:85146,exportedSymbols:{CrossDomainMessenger:[108888],ISemver:[109417],L1CrossDomainMessenger:[85145],OptimismPortal:[87104],Predeploys:[104124],SuperchainConfig:[88793]},nodeType:"SourceUnit",src:"32:3102:130",nodes:[{id:84967,nodeType:"PragmaDirective",src:"32:23:130",nodes:[],literals:["solidity","0.8",".15"]},{id:84969,nodeType:"ImportDirective",src:"57:58:130",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:85146,sourceUnit:104125,symbolAliases:[{foreign:{id:84968,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"66:10:130",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:84971,nodeType:"ImportDirective",src:"116:59:130",nodes:[],absolutePath:"src/L1/OptimismPortal.sol",file:"src/L1/OptimismPortal.sol",nameLocation:"-1:-1:-1",scope:85146,sourceUnit:87105,symbolAliases:[{foreign:{id:84970,name:"OptimismPortal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87104,src:"125:14:130",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:84973,nodeType:"ImportDirective",src:"176:78:130",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:85146,sourceUnit:108889,symbolAliases:[{foreign:{id:84972,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"185:20:130",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:84975,nodeType:"ImportDirective",src:"255:52:130",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:85146,sourceUnit:109418,symbolAliases:[{foreign:{id:84974,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"264:7:130",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:84977,nodeType:"ImportDirective",src:"308:63:130",nodes:[],absolutePath:"src/L1/SuperchainConfig.sol",file:"src/L1/SuperchainConfig.sol",nameLocation:"-1:-1:-1",scope:85146,sourceUnit:88794,symbolAliases:[{foreign:{id:84976,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"317:16:130",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85145,nodeType:"ContractDefinition",src:"701:2432:130",nodes:[{id:84986,nodeType:"VariableDeclaration",src:"822:40:130",nodes:[],constant:!1,documentation:{id:84983,nodeType:"StructuredDocumentation",src:"772:45:130",text:"@notice Contract of the SuperchainConfig."},functionSelector:"35e80ab3",mutability:"mutable",name:"superchainConfig",nameLocation:"846:16:130",scope:85145,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:84985,nodeType:"UserDefinedTypeName",pathNode:{id:84984,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"822:16:130"},referencedDeclaration:88793,src:"822:16:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"public"},{id:84990,nodeType:"VariableDeclaration",src:"950:28:130",nodes:[],constant:!1,documentation:{id:84987,nodeType:"StructuredDocumentation",src:"869:76:130",text:`@notice Contract of the OptimismPortal. + @custom:network-specific`},functionSelector:"6425666b",mutability:"mutable",name:"portal",nameLocation:"972:6:130",scope:85145,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"},typeName:{id:84989,nodeType:"UserDefinedTypeName",pathNode:{id:84988,name:"OptimismPortal",nodeType:"IdentifierPath",referencedDeclaration:87104,src:"950:14:130"},referencedDeclaration:87104,src:"950:14:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},visibility:"public"},{id:84994,nodeType:"VariableDeclaration",src:"1048:40:130",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:84991,nodeType:"StructuredDocumentation",src:"985:58:130",text:`@notice Semantic version. + @custom:semver 2.3.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1071:7:130",scope:85145,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:84992,name:"string",nodeType:"ElementaryTypeName",src:"1048:6:130",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"322e332e30",id:84993,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1081:7:130",typeDescriptions:{typeIdentifier:"t_stringliteral_22fd31a466cd79bdd552fae6268088a4b5436c44416a9eb8cc3035d8d9e397ab",typeString:'literal_string "2.3.0"'},value:"2.3.0"},visibility:"public"},{id:85019,nodeType:"FunctionDefinition",src:"1159:163:130",nodes:[],body:{id:85018,nodeType:"Block",src:"1196:126:130",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:85004,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1263:1:130",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85003,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1255:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85002,name:"address",nodeType:"ElementaryTypeName",src:"1255:7:130",typeDescriptions:{}}},id:85005,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1255:10:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85001,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"1238:16:130",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SuperchainConfig_$88793_$",typeString:"type(contract SuperchainConfig)"}},id:85006,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1238:28:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},{arguments:[{arguments:[{arguments:[{hexValue:"30",id:85012,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1308:1:130",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85011,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1300:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85010,name:"address",nodeType:"ElementaryTypeName",src:"1300:7:130",typeDescriptions:{}}},id:85013,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1300:10:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85009,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1292:8:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:85008,name:"address",nodeType:"ElementaryTypeName",src:"1292:8:130",stateMutability:"payable",typeDescriptions:{}}},id:85014,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1292:19:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:85007,name:"OptimismPortal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87104,src:"1277:14:130",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_OptimismPortal_$87104_$",typeString:"type(contract OptimismPortal)"}},id:85015,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1277:35:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}],id:85e3,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85047,src:"1206:10:130",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_SuperchainConfig_$88793_$_t_contract$_OptimismPortal_$87104_$returns$__$",typeString:"function (contract SuperchainConfig,contract OptimismPortal)"}},id:85016,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_superchainConfig","_portal"],nodeType:"FunctionCall",src:"1206:109:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85017,nodeType:"ExpressionStatement",src:"1206:109:130"}]},documentation:{id:84995,nodeType:"StructuredDocumentation",src:"1095:59:130",text:"@notice Constructs the L1CrossDomainMessenger contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:84998,kind:"baseConstructorSpecifier",modifierName:{id:84997,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"1173:20:130"},nodeType:"ModifierInvocation",src:"1173:22:130"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:84996,nodeType:"ParameterList",parameters:[],src:"1170:2:130"},returnParameters:{id:84999,nodeType:"ParameterList",parameters:[],src:"1196:0:130"},scope:85145,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85047,nodeType:"FunctionDefinition",src:"1542:296:130",nodes:[],body:{id:85046,nodeType:"Block",src:"1641:197:130",nodes:[],statements:[{expression:{id:85033,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:85031,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84986,src:"1651:16:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:85032,name:"_superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85023,src:"1670:17:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},src:"1651:36:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85034,nodeType:"ExpressionStatement",src:"1651:36:130"},{expression:{id:85037,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:85035,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"1697:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:85036,name:"_portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85026,src:"1706:7:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},src:"1697:16:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},id:85038,nodeType:"ExpressionStatement",src:"1697:16:130"},{expression:{arguments:[{arguments:[{expression:{id:85041,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"1791:10:130",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:85042,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_CROSS_DOMAIN_MESSENGER",nodeType:"MemberAccess",referencedDeclaration:104004,src:"1791:36:130",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85040,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"1770:20:130",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:85043,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1770:58:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}],id:85039,name:"__CrossDomainMessenger_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108852,src:"1723:27:130",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$returns$__$",typeString:"function (contract CrossDomainMessenger)"}},id:85044,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_otherMessenger"],nodeType:"FunctionCall",src:"1723:108:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85045,nodeType:"ExpressionStatement",src:"1723:108:130"}]},documentation:{id:85020,nodeType:"StructuredDocumentation",src:"1328:209:130",text:`@notice Initializes the contract. + @param _superchainConfig Contract of the SuperchainConfig contract on this network. + @param _portal Contract of the OptimismPortal contract on this network.`},functionSelector:"485cc955",implemented:!0,kind:"function",modifiers:[{id:85029,kind:"modifierInvocation",modifierName:{id:85028,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:47034,src:"1629:11:130"},nodeType:"ModifierInvocation",src:"1629:11:130"}],name:"initialize",nameLocation:"1551:10:130",parameters:{id:85027,nodeType:"ParameterList",parameters:[{constant:!1,id:85023,mutability:"mutable",name:"_superchainConfig",nameLocation:"1579:17:130",nodeType:"VariableDeclaration",scope:85047,src:"1562:34:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:85022,nodeType:"UserDefinedTypeName",pathNode:{id:85021,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"1562:16:130"},referencedDeclaration:88793,src:"1562:16:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"internal"},{constant:!1,id:85026,mutability:"mutable",name:"_portal",nameLocation:"1613:7:130",nodeType:"VariableDeclaration",scope:85047,src:"1598:22:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"},typeName:{id:85025,nodeType:"UserDefinedTypeName",pathNode:{id:85024,name:"OptimismPortal",nodeType:"IdentifierPath",referencedDeclaration:87104,src:"1598:14:130"},referencedDeclaration:87104,src:"1598:14:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},visibility:"internal"}],src:"1561:60:130"},returnParameters:{id:85030,nodeType:"ParameterList",parameters:[],src:"1641:0:130"},scope:85145,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85057,nodeType:"FunctionDefinition",src:"2107:87:130",nodes:[],body:{id:85056,nodeType:"Block",src:"2164:30:130",nodes:[],statements:[{expression:{id:85054,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"2181:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},functionReturnParameters:85053,id:85055,nodeType:"Return",src:"2174:13:130"}]},documentation:{id:85048,nodeType:"StructuredDocumentation",src:"1844:258:130",text:`@notice Getter function for the OptimismPortal contract on this chain. + Public getter is legacy and will be removed in the future. Use \`portal()\` instead. + @return Contract of the OptimismPortal on this chain. + @custom:legacy`},functionSelector:"0ff754ea",implemented:!0,kind:"function",modifiers:[],name:"PORTAL",nameLocation:"2116:6:130",parameters:{id:85049,nodeType:"ParameterList",parameters:[],src:"2122:2:130"},returnParameters:{id:85053,nodeType:"ParameterList",parameters:[{constant:!1,id:85052,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85057,src:"2148:14:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"},typeName:{id:85051,nodeType:"UserDefinedTypeName",pathNode:{id:85050,name:"OptimismPortal",nodeType:"IdentifierPath",referencedDeclaration:87104,src:"2148:14:130"},referencedDeclaration:87104,src:"2148:14:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},visibility:"internal"}],src:"2147:16:130"},scope:85145,stateMutability:"view",virtual:!1,visibility:"external"},{id:85083,nodeType:"FunctionDefinition",src:"2241:320:130",nodes:[],body:{id:85082,nodeType:"Block",src:"2348:213:130",nodes:[],statements:[{expression:{arguments:[{id:85075,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85060,src:"2420:3:130",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85076,name:"_value",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85064,src:"2445:6:130",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85077,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85062,src:"2476:9:130",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{hexValue:"66616c7365",id:85078,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"2512:5:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},{id:85079,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85066,src:"2538:5:130",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:85070,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"2358:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},id:85072,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"depositTransaction",nodeType:"MemberAccess",referencedDeclaration:87068,src:"2358:25:130",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_uint256_$_t_uint64_$_t_bool_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,uint256,uint64,bool,bytes memory) payable external"}},id:85074,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{id:85073,name:"_value",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85064,src:"2392:6:130",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"2358:42:130",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_uint256_$_t_uint64_$_t_bool_$_t_bytes_memory_ptr_$returns$__$value",typeString:"function (address,uint256,uint64,bool,bytes memory) payable external"}},id:85080,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_to","_value","_gasLimit","_isCreation","_data"],nodeType:"FunctionCall",src:"2358:196:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85081,nodeType:"ExpressionStatement",src:"2358:196:130"}]},baseFunctions:[108864],documentation:{id:85058,nodeType:"StructuredDocumentation",src:"2200:36:130",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_sendMessage",nameLocation:"2250:12:130",overrides:{id:85068,nodeType:"OverrideSpecifier",overrides:[],src:"2339:8:130"},parameters:{id:85067,nodeType:"ParameterList",parameters:[{constant:!1,id:85060,mutability:"mutable",name:"_to",nameLocation:"2271:3:130",nodeType:"VariableDeclaration",scope:85083,src:"2263:11:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85059,name:"address",nodeType:"ElementaryTypeName",src:"2263:7:130",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85062,mutability:"mutable",name:"_gasLimit",nameLocation:"2283:9:130",nodeType:"VariableDeclaration",scope:85083,src:"2276:16:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:85061,name:"uint64",nodeType:"ElementaryTypeName",src:"2276:6:130",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:85064,mutability:"mutable",name:"_value",nameLocation:"2302:6:130",nodeType:"VariableDeclaration",scope:85083,src:"2294:14:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85063,name:"uint256",nodeType:"ElementaryTypeName",src:"2294:7:130",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85066,mutability:"mutable",name:"_data",nameLocation:"2323:5:130",nodeType:"VariableDeclaration",scope:85083,src:"2310:18:130",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85065,name:"bytes",nodeType:"ElementaryTypeName",src:"2310:5:130",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2262:67:130"},returnParameters:{id:85069,nodeType:"ParameterList",parameters:[],src:"2348:0:130"},scope:85145,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:85108,nodeType:"FunctionDefinition",src:"2608:168:130",nodes:[],body:{id:85107,nodeType:"Block",src:"2675:101:130",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:85105,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85096,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:85090,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"2692:3:130",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:85091,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"2692:10:130",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:85094,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"2714:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}],id:85093,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2706:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85092,name:"address",nodeType:"ElementaryTypeName",src:"2706:7:130",typeDescriptions:{}}},id:85095,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2706:15:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2692:29:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85104,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:85097,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"2725:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}},id:85098,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"l2Sender",nodeType:"MemberAccess",referencedDeclaration:86489,src:"2725:15:130",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:85099,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2725:17:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:85102,name:"otherMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108425,src:"2754:14:130",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}],id:85101,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2746:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85100,name:"address",nodeType:"ElementaryTypeName",src:"2746:7:130",typeDescriptions:{}}},id:85103,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2746:23:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2725:44:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"2692:77:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:85089,id:85106,nodeType:"Return",src:"2685:84:130"}]},baseFunctions:[108870],documentation:{id:85084,nodeType:"StructuredDocumentation",src:"2567:36:130",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_isOtherMessenger",nameLocation:"2617:17:130",overrides:{id:85086,nodeType:"OverrideSpecifier",overrides:[],src:"2651:8:130"},parameters:{id:85085,nodeType:"ParameterList",parameters:[],src:"2634:2:130"},returnParameters:{id:85089,nodeType:"ParameterList",parameters:[{constant:!1,id:85088,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85108,src:"2669:4:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:85087,name:"bool",nodeType:"ElementaryTypeName",src:"2669:4:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"2668:6:130"},scope:85145,stateMutability:"view",virtual:!1,visibility:"internal"},{id:85132,nodeType:"FunctionDefinition",src:"2823:158:130",nodes:[],body:{id:85131,nodeType:"Block",src:"2903:78:130",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:85129,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85122,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:85117,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85111,src:"2920:7:130",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:85120,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"2939:4:130",typeDescriptions:{typeIdentifier:"t_contract$_L1CrossDomainMessenger_$85145",typeString:"contract L1CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L1CrossDomainMessenger_$85145",typeString:"contract L1CrossDomainMessenger"}],id:85119,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2931:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85118,name:"address",nodeType:"ElementaryTypeName",src:"2931:7:130",typeDescriptions:{}}},id:85121,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2931:13:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2920:24:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85128,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:85123,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85111,src:"2948:7:130",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:85126,name:"portal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84990,src:"2967:6:130",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}],id:85125,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2959:7:130",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85124,name:"address",nodeType:"ElementaryTypeName",src:"2959:7:130",typeDescriptions:{}}},id:85127,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2959:15:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2948:26:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"2920:54:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:85116,id:85130,nodeType:"Return",src:"2913:61:130"}]},baseFunctions:[108878],documentation:{id:85109,nodeType:"StructuredDocumentation",src:"2782:36:130",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_isUnsafeTarget",nameLocation:"2832:15:130",overrides:{id:85113,nodeType:"OverrideSpecifier",overrides:[],src:"2879:8:130"},parameters:{id:85112,nodeType:"ParameterList",parameters:[{constant:!1,id:85111,mutability:"mutable",name:"_target",nameLocation:"2856:7:130",nodeType:"VariableDeclaration",scope:85132,src:"2848:15:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85110,name:"address",nodeType:"ElementaryTypeName",src:"2848:7:130",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2847:17:130"},returnParameters:{id:85116,nodeType:"ParameterList",parameters:[{constant:!1,id:85115,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85132,src:"2897:4:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:85114,name:"bool",nodeType:"ElementaryTypeName",src:"2897:4:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"2896:6:130"},scope:85145,stateMutability:"view",virtual:!1,visibility:"internal"},{id:85144,nodeType:"FunctionDefinition",src:"3028:103:130",nodes:[],body:{id:85143,nodeType:"Block",src:"3082:49:130",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:85139,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:84986,src:"3099:16:130",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85140,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"paused",nodeType:"MemberAccess",referencedDeclaration:88707,src:"3099:23:130",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_bool_$",typeString:"function () view external returns (bool)"}},id:85141,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3099:25:130",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:85138,id:85142,nodeType:"Return",src:"3092:32:130"}]},baseFunctions:[108887],documentation:{id:85133,nodeType:"StructuredDocumentation",src:"2987:36:130",text:"@inheritdoc CrossDomainMessenger"},functionSelector:"5c975abb",implemented:!0,kind:"function",modifiers:[],name:"paused",nameLocation:"3037:6:130",overrides:{id:85135,nodeType:"OverrideSpecifier",overrides:[],src:"3058:8:130"},parameters:{id:85134,nodeType:"ParameterList",parameters:[],src:"3043:2:130"},returnParameters:{id:85138,nodeType:"ParameterList",parameters:[{constant:!1,id:85137,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85144,src:"3076:4:130",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:85136,name:"bool",nodeType:"ElementaryTypeName",src:"3076:4:130",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"3075:6:130"},scope:85145,stateMutability:"view",virtual:!1,visibility:"public"}],abstract:!1,baseContracts:[{baseName:{id:84979,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"736:20:130"},id:84980,nodeType:"InheritanceSpecifier",src:"736:20:130"},{baseName:{id:84981,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"758:7:130"},id:84982,nodeType:"InheritanceSpecifier",src:"758:7:130"}],canonicalName:"L1CrossDomainMessenger",contractDependencies:[],contractKind:"contract",documentation:{id:84978,nodeType:"StructuredDocumentation",src:"373:328:130",text:`@custom:proxied + @title L1CrossDomainMessenger + @notice The L1CrossDomainMessenger is a message passing interface between L1 and L2 responsible + for sending and receiving data on the L1 side. Users are encouraged to use this + interface instead of interacting with lower-level contracts directly.`},fullyImplemented:!0,linearizedBaseContracts:[85145,109417,108888,108366,47114,108325],name:"L1CrossDomainMessenger",nameLocation:"710:22:130",scope:85146,usedErrors:[]}],license:"MIT"},id:130}});var RYe=B((tla,lj0)=>{lj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"deposits",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_messenger",type:"address",internalType:"contract CrossDomainMessenger"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001f60008062000025565b62000234565b600054610100900460ff1615808015620000465750600054600160ff909116105b8062000076575062000063306200018a60201b62000b141760201c565b15801562000076575060005460ff166001145b620000df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000103576000805461ff0019166101001790555b603280546001600160a01b0319166001600160a01b0384161790556200013e8373420000000000000000000000000000000000001462000199565b801562000185576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b600054610100900460ff16620002065760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d6565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b6113e980620002446000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:131:-:0;;;1492:155;;;;;;;;;-1:-1:-1;1531:109:131::1;1585:1;::::0;1531:10:::1;:109::i;:::-;922:4498:::0;;1869:318;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;1987:16:131::1;:36:::0;;-1:-1:-1;;;;;;1987:36:131::1;-1:-1:-1::0;;;;;1987:36:131;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:199::1;2033:19:131;:147::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;1869:318:131;;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;3043:234:224:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;830:2:357;4880:69:43;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4880:69:43;628:407:357;4880:69:43;3212:9:224::1;:22:::0;;-1:-1:-1;;;;;3212:22:224;;::::1;-1:-1:-1::0;;;;;;3212:22:224;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:357:-;922:4498:131;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80635d93a3fc11610081578063927ede2d1161005b578063927ede2d14610231578063aa5574521461024f578063c89701a21461026257600080fd5b80635d93a3fc146101cc578063761f4493146102005780637f46ddb21461021357600080fd5b8063485cc955116100b2578063485cc9551461015857806354fd4d501461016b5780635c975abb146101b457600080fd5b806335e80ab3146100d95780633687011a146101235780633cb747bf14610138575b600080fd5b6032546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610136610131366004610fe1565b610282565b005b6001546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b610136610166366004611064565b61032e565b6101a76040518060400160405280600581526020017f322e312e3000000000000000000000000000000000000000000000000000000081525081565b60405161011a9190611108565b6101bc610518565b604051901515815260200161011a565b6101bc6101da366004611122565b603160209081526000938452604080852082529284528284209052825290205460ff1681565b61013661020e366004611163565b6105b1565b60025473ffffffffffffffffffffffffffffffffffffffff166100f9565b60015473ffffffffffffffffffffffffffffffffffffffff166100f9565b61013661025d3660046111fb565b610a58565b6002546100f99073ffffffffffffffffffffffffffffffffffffffff1681565b333b15610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103268686333388888888610b30565b505050505050565b600054610100900460ff161580801561034e5750600054600160ff909116105b806103685750303b158015610368575060005460ff166001145b6103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161030d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561045257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556104b083734200000000000000000000000000000000000014610e70565b801561051357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b603254604080517f5c975abb000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635c975abb9160048083019260209291908290030181865afa158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190611272565b905090565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156106865750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190611294565b73ffffffffffffffffffffffffffffffffffffffff16145b610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161030d565b61071a610518565b15610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4c314552433732314272696467653a2070617573656400000000000000000000604482015260640161030d565b3073ffffffffffffffffffffffffffffffffffffffff881603610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152603160209081526040808320938a1683529281528282208683529052205460ff1615156001146108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4c314552433732314272696467653a20546f6b656e204944206973206e6f742060448201527f657363726f77656420696e20746865204c312042726964676500000000000000606482015260840161030d565b73ffffffffffffffffffffffffffffffffffffffff87811660008181526031602090815260408083208b8616845282528083208884529091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f42842e0e000000000000000000000000000000000000000000000000000000008152306004820152918616602483015260448201859052906342842e0e90606401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac87878787604051610a4794939291906112fa565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516610afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161030d565b610b0b8787338888888888610b30565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161030d565b600063761f449360e01b888a8989898888604051602401610bfa979695949392919061133a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000959095169490941790935273ffffffffffffffffffffffffffffffffffffffff8c81166000818152603186528381208e8416825286528381208b82529095529382902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517f23b872dd000000000000000000000000000000000000000000000000000000008152908a166004820152306024820152604481018890529092506323b872dd90606401600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b50506001546002546040517f3dbb202b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283169450633dbb202b9350610db1929091169085908990600401611397565b600060405180830381600087803b158015610dcb57600080fd5b505af1158015610ddf573d6000803e3d6000fd5b505050508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a589898888604051610e5d94939291906112fa565b60405180910390a4505050505050505050565b600054610100900460ff16610f07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161030d565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b73ffffffffffffffffffffffffffffffffffffffff81168114610f7c57600080fd5b50565b803563ffffffff81168114610f9357600080fd5b919050565b60008083601f840112610faa57600080fd5b50813567ffffffffffffffff811115610fc257600080fd5b602083019150836020828501011115610fda57600080fd5b9250929050565b60008060008060008060a08789031215610ffa57600080fd5b863561100581610f5a565b9550602087013561101581610f5a565b94506040870135935061102a60608801610f7f565b9250608087013567ffffffffffffffff81111561104657600080fd5b61105289828a01610f98565b979a9699509497509295939492505050565b6000806040838503121561107757600080fd5b823561108281610f5a565b9150602083013561109281610f5a565b809150509250929050565b6000815180845260005b818110156110c3576020818501810151868301820152016110a7565b818111156110d5576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061111b602083018461109d565b9392505050565b60008060006060848603121561113757600080fd5b833561114281610f5a565b9250602084013561115281610f5a565b929592945050506040919091013590565b600080600080600080600060c0888a03121561117e57600080fd5b873561118981610f5a565b9650602088013561119981610f5a565b955060408801356111a981610f5a565b945060608801356111b981610f5a565b93506080880135925060a088013567ffffffffffffffff8111156111dc57600080fd5b6111e88a828b01610f98565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561121657600080fd5b873561122181610f5a565b9650602088013561123181610f5a565b9550604088013561124181610f5a565b94506060880135935061125660808901610f7f565b925060a088013567ffffffffffffffff8111156111dc57600080fd5b60006020828403121561128457600080fd5b8151801515811461111b57600080fd5b6000602082840312156112a657600080fd5b815161111b81610f5a565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006113306060830184866112b1565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a083015261138a60c0830184866112b1565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006113c6606083018561109d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"922:4498:131:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1279:40;;;;;;;;;;;;216:42:357;204:55;;;186:74;;174:2;159:18;1279:40:131;;;;;;;;5688:971:224;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;1869:318:131;;;;;;:::i;:::-;;:::i;1389:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2226:103::-;;;:::i;:::-;;;3420:14:357;;3413:22;3395:41;;3383:2;3368:18;2226:103:131;3255:187:357;1134:80:131;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:1207;;;;;;:::i;:::-;;:::i;3858:98:224:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;967:33::-;;;;;;;;;5688:971;6472:10;1465:19:59;:23;6444:89:224;;;;;;;6391:2:357;6444:89:224;;;6373:21:357;6430:2;6410:18;;;6403:30;6469:34;6449:18;;;6442:62;6540:15;6520:18;;;6513:43;6573:19;;6444:89:224;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;1869:318:131:-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;6805:2:357;3146:190:43;;;6787:21:357;6844:2;6824:18;;;6817:30;6883:34;6863:18;;;6856:62;6954:16;6934:18;;;6927:44;6988:19;;3146:190:43;6603:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1987:16:131::1;:36:::0;;;::::1;;::::0;::::1;;::::0;;2033:147:::1;2079:10:::0;786:42:199::1;2033:19:131;:147::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;7170:36:357;;3531:14:43;;7158:2:357;7143:18;3531:14:43;;;;;;;3457:99;3090:472;1869:318:131;;:::o;2226:103::-;2297:16;;:25;;;;;;;;2274:4;;2297:16;;;:23;;:25;;;;;;;;;;;;;;:16;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2290:32;;2226:103;:::o;3096:1207::-;2669:9:224;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:224;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;7957:2:357;2626:202:224;;;7939:21:357;7996:2;7976:18;;;7969:30;8035:34;8015:18;;;8008:62;8106:33;8086:18;;;8079:61;8157:19;;2626:202:224;7755:427:357;2626:202:224;3359:8:131::1;:6;:8::i;:::-;:17;3351:52;;;::::0;::::1;::::0;;8389:2:357;3351:52:131::1;::::0;::::1;8371:21:357::0;8428:2;8408:18;;;8401:30;8467:24;8447:18;;;8440:52;8509:18;;3351:52:131::1;8187:346:357::0;3351:52:131::1;3444:4;3421:28;::::0;::::1;::::0;3413:83:::1;;;::::0;::::1;::::0;;8740:2:357;3413:83:131::1;::::0;::::1;8722:21:357::0;8779:2;8759:18;;;8752:30;8818:34;8798:18;;;8791:62;8889:12;8869:18;;;8862:40;8919:19;;3413:83:131::1;8538:406:357::0;3413:83:131::1;3620:21;::::0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;:45;;;;;;;::::1;;:53;;:45:::0;:53:::1;3599:157;;;::::0;::::1;::::0;;9151:2:357;3599:157:131::1;::::0;::::1;9133:21:357::0;9190:2;9170:18;;;9163:30;9229:34;9209:18;;;9202:62;9300:27;9280:18;;;9273:55;9345:19;;3599:157:131::1;8949:421:357::0;3599:157:131::1;3878:21;::::0;;::::1;3926:5;3878:21:::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:45;;;;;;;;;;:53;;;::::1;::::0;;4053:90;;;;4107:4:::1;4053:90;::::0;::::1;9638:34:357::0;9708:15;;;9688:18;;;9681:43;9740:18;;;9733:34;;;3878:21:131;4053:37:::1;::::0;9550:18:357;;4053:90:131::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4263:5;4214:82;;4249:12;4214:82;;4236:11;4214:82;;;4270:3;4275:8;4285:10;;4214:82;;;;;;;;;:::i;:::-;;;;;;;;3096:1207:::0;;;;;;;:::o;7885:428:224:-;8124:17;;;8116:78;;;;;;;10750:2:357;8116:78:224;;;10732:21:357;10789:2;10769:18;;;10762:30;10828:34;10808:18;;;10801:62;10899:18;10879;;;10872:46;10935:19;;8116:78:224;10548:412:357;8116:78:224;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1175:320:59:-;1465:19;;;:23;;;1175:320::o;4342:1076:131:-;4628:26;;;4620:88;;;;;;;11167:2:357;4620:88:131;;;11149:21:357;11206:2;11186:18;;;11179:30;11245:34;11225:18;;;11218:62;11316:19;11296:18;;;11289:47;11353:19;;4620:88:131;10965:413:357;4620:88:131;4798:20;4857:44;;;4903:12;4917:11;4930:5;4937:3;4942:8;4952:10;;4821:151;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5017:21;;;;-1:-1:-1;5017:21:131;;;:8;:21;;;;;:35;;;;;;;;;;:45;;;;;;;;;;:52;;;;5065:4;5017:52;;;5079:88;;;;;9656:15:357;;;5079:88:131;;;9638:34:357;5140:4:131;9688:18:357;;;9681:43;9740:18;;;9733:34;;;4821:151:131;;-1:-1:-1;5079:33:131;;9550:18:357;;5079:88:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5211:9:131;;5252:11;;5211:103;;;;;:9;;;;;-1:-1:-1;5211:21:131;;-1:-1:-1;5211:103:131;;5252:11;;;;5276:7;;5299:12;;5211:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5378:5;5329:82;;5364:12;5329:82;;5351:11;5329:82;;;5385:3;5390:8;5400:10;;5329:82;;;;;;;;;:::i;:::-;;;;;;;;4610:808;4342:1076;;;;;;;;:::o;3043:234:224:-;4888:13:43;;;;;;;4880:69;;;;;;;12719:2:357;4880:69:43;;;12701:21:357;12758:2;12738:18;;;12731:30;12797:34;12777:18;;;12770:62;12868:13;12848:18;;;12841:41;12899:19;;4880:69:43;12517:407:357;4880:69:43;3212:9:224::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;271:154:357:-;357:42;350:5;346:54;339:5;336:65;326:93;;415:1;412;405:12;326:93;271:154;:::o;430:163::-;497:20;;557:10;546:22;;536:33;;526:61;;583:1;580;573:12;526:61;430:163;;;:::o;598:347::-;649:8;659:6;713:3;706:4;698:6;694:17;690:27;680:55;;731:1;728;721:12;680:55;-1:-1:-1;754:20:357;;797:18;786:30;;783:50;;;829:1;826;819:12;783:50;866:4;858:6;854:17;842:29;;918:3;911:4;902:6;894;890:19;886:30;883:39;880:59;;;935:1;932;925:12;880:59;598:347;;;;;:::o;950:827::-;1055:6;1063;1071;1079;1087;1095;1148:3;1136:9;1127:7;1123:23;1119:33;1116:53;;;1165:1;1162;1155:12;1116:53;1204:9;1191:23;1223:31;1248:5;1223:31;:::i;:::-;1273:5;-1:-1:-1;1330:2:357;1315:18;;1302:32;1343:33;1302:32;1343:33;:::i;:::-;1395:7;-1:-1:-1;1449:2:357;1434:18;;1421:32;;-1:-1:-1;1472:37:357;1505:2;1490:18;;1472:37;:::i;:::-;1462:47;;1560:3;1549:9;1545:19;1532:33;1588:18;1580:6;1577:30;1574:50;;;1620:1;1617;1610:12;1574:50;1659:58;1709:7;1700:6;1689:9;1685:22;1659:58;:::i;:::-;950:827;;;;-1:-1:-1;950:827:357;;-1:-1:-1;950:827:357;;1736:8;;950:827;-1:-1:-1;;;950:827:357:o;2044:445::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2285:9;2272:23;2304:31;2329:5;2304:31;:::i;:::-;2354:5;-1:-1:-1;2411:2:357;2396:18;;2383:32;2424:33;2383:32;2424:33;:::i;:::-;2476:7;2466:17;;;2044:445;;;;;:::o;2494:531::-;2536:3;2574:5;2568:12;2601:6;2596:3;2589:19;2626:1;2636:162;2650:6;2647:1;2644:13;2636:162;;;2712:4;2768:13;;;2764:22;;2758:29;2740:11;;;2736:20;;2729:59;2665:12;2636:162;;;2816:6;2813:1;2810:13;2807:87;;;2882:1;2875:4;2866:6;2861:3;2857:16;2853:27;2846:38;2807:87;-1:-1:-1;2939:2:357;2927:15;2944:66;2923:88;2914:98;;;;3014:4;2910:109;;2494:531;-1:-1:-1;;2494:531:357:o;3030:220::-;3179:2;3168:9;3161:21;3142:4;3199:45;3240:2;3229:9;3225:18;3217:6;3199:45;:::i;:::-;3191:53;3030:220;-1:-1:-1;;;3030:220:357:o;3447:456::-;3524:6;3532;3540;3593:2;3581:9;3572:7;3568:23;3564:32;3561:52;;;3609:1;3606;3599:12;3561:52;3648:9;3635:23;3667:31;3692:5;3667:31;:::i;:::-;3717:5;-1:-1:-1;3774:2:357;3759:18;;3746:32;3787:33;3746:32;3787:33;:::i;:::-;3447:456;;3839:7;;-1:-1:-1;;;3893:2:357;3878:18;;;;3865:32;;3447:456::o;3908:1038::-;4023:6;4031;4039;4047;4055;4063;4071;4124:3;4112:9;4103:7;4099:23;4095:33;4092:53;;;4141:1;4138;4131:12;4092:53;4180:9;4167:23;4199:31;4224:5;4199:31;:::i;:::-;4249:5;-1:-1:-1;4306:2:357;4291:18;;4278:32;4319:33;4278:32;4319:33;:::i;:::-;4371:7;-1:-1:-1;4430:2:357;4415:18;;4402:32;4443:33;4402:32;4443:33;:::i;:::-;4495:7;-1:-1:-1;4554:2:357;4539:18;;4526:32;4567:33;4526:32;4567:33;:::i;:::-;4619:7;-1:-1:-1;4673:3:357;4658:19;;4645:33;;-1:-1:-1;4729:3:357;4714:19;;4701:33;4757:18;4746:30;;4743:50;;;4789:1;4786;4779:12;4743:50;4828:58;4878:7;4869:6;4858:9;4854:22;4828:58;:::i;:::-;3908:1038;;;;-1:-1:-1;3908:1038:357;;-1:-1:-1;3908:1038:357;;;;4802:84;;-1:-1:-1;;;3908:1038:357:o;5215:969::-;5329:6;5337;5345;5353;5361;5369;5377;5430:3;5418:9;5409:7;5405:23;5401:33;5398:53;;;5447:1;5444;5437:12;5398:53;5486:9;5473:23;5505:31;5530:5;5505:31;:::i;:::-;5555:5;-1:-1:-1;5612:2:357;5597:18;;5584:32;5625:33;5584:32;5625:33;:::i;:::-;5677:7;-1:-1:-1;5736:2:357;5721:18;;5708:32;5749:33;5708:32;5749:33;:::i;:::-;5801:7;-1:-1:-1;5855:2:357;5840:18;;5827:32;;-1:-1:-1;5878:38:357;5911:3;5896:19;;5878:38;:::i;:::-;5868:48;;5967:3;5956:9;5952:19;5939:33;5995:18;5987:6;5984:30;5981:50;;;6027:1;6024;6017:12;7217:277;7284:6;7337:2;7325:9;7316:7;7312:23;7308:32;7305:52;;;7353:1;7350;7343:12;7305:52;7385:9;7379:16;7438:5;7431:13;7424:21;7417:5;7414:32;7404:60;;7460:1;7457;7450:12;7499:251;7569:6;7622:2;7610:9;7601:7;7597:23;7593:32;7590:52;;;7638:1;7635;7628:12;7590:52;7670:9;7664:16;7689:31;7714:5;7689:31;:::i;9778:325::-;9866:6;9861:3;9854:19;9918:6;9911:5;9904:4;9899:3;9895:14;9882:43;;9970:1;9963:4;9954:6;9949:3;9945:16;9941:27;9934:38;9836:3;10092:4;10022:66;10017:2;10009:6;10005:15;10001:88;9996:3;9992:98;9988:109;9981:116;;9778:325;;;;:::o;10108:435::-;10333:42;10325:6;10321:55;10310:9;10303:74;10413:6;10408:2;10397:9;10393:18;10386:34;10456:2;10451;10440:9;10436:18;10429:30;10284:4;10476:61;10533:2;10522:9;10518:18;10510:6;10502;10476:61;:::i;:::-;10468:69;10108:435;-1:-1:-1;;;;;;10108:435:357:o;11383:700::-;11643:4;11672:42;11753:2;11745:6;11741:15;11730:9;11723:34;11805:2;11797:6;11793:15;11788:2;11777:9;11773:18;11766:43;11857:2;11849:6;11845:15;11840:2;11829:9;11825:18;11818:43;11909:2;11901:6;11897:15;11892:2;11881:9;11877:18;11870:43;;11950:6;11944:3;11933:9;11929:19;11922:35;11994:3;11988;11977:9;11973:19;11966:32;12015:62;12072:3;12061:9;12057:19;12049:6;12041;12015:62;:::i;:::-;12007:70;11383:700;-1:-1:-1;;;;;;;;;11383:700:357:o;12088:424::-;12301:42;12293:6;12289:55;12278:9;12271:74;12381:2;12376;12365:9;12361:18;12354:30;12252:4;12401:45;12442:2;12431:9;12427:18;12419:6;12401:45;:::i;:::-;12393:53;;12494:10;12486:6;12482:23;12477:2;12466:9;12462:18;12455:51;12088:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","deposits(address,address,uint256)":"5d93a3fc","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address,address)":"485cc955","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","superchainConfig()":"35e80ab3","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"deposits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_messenger","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address,address)":{"params":{"_messenger":"Contract of the CrossDomainMessenger on this network.","_superchainConfig":"Contract of the SuperchainConfig contract on this network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"2.1.0"}},"title":"L1ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{"notice":"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{"notice":"Address of the SuperchainConfig contract."},"version()":{"notice":"Semantic version."}},"notice":"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d","license":"MIT","urls":["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"deposits",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_messenger",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L1ERC721Bridge.sol":"L1ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d",urls:["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:108906,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:108910,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)108888"},{astId:108914,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)111675"},{astId:108919,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"},{astId:85179,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"deposits",offset:0,slot:"49",type:"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))"},{astId:85183,contract:"src/L1/L1ERC721Bridge.sol:L1ERC721Bridge",label:"superchainConfig",offset:0,slot:"50",type:"t_contract(SuperchainConfig)88793"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)111675":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},"t_contract(SuperchainConfig)88793":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_bool)))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(address => mapping(uint256 => bool)))",numberOfBytes:"32",value:"t_mapping(t_address,t_mapping(t_uint256,t_bool))"},"t_mapping(t_address,t_mapping(t_uint256,t_bool))":{encoding:"mapping",key:"t_address",label:"mapping(address => mapping(uint256 => bool))",numberOfBytes:"32",value:"t_mapping(t_uint256,t_bool)"},"t_mapping(t_uint256,t_bool)":{encoding:"mapping",key:"t_uint256",label:"mapping(uint256 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L1ERC721Bridge contract."},"deposits(address,address,uint256)":{notice:"Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token by ID was deposited for a given L2 token."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address,address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"superchainConfig()":{notice:"Address of the SuperchainConfig contract."},"version()":{notice:"Semantic version."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as an escrow for ERC721 tokens deposited into L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L2. Data supplied here will not be used to execute any code on L2 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address,address)":{params:{_messenger:"Contract of the CrossDomainMessenger on this network.",_superchainConfig:"Contract of the SuperchainConfig contract on this network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L1ERC721Bridge"},ast:{absolutePath:"src/L1/L1ERC721Bridge.sol",id:85419,exportedSymbols:{Constants:[103096],CrossDomainMessenger:[108888],ERC721Bridge:[109118],IERC721:[52560],ISemver:[109417],L1ERC721Bridge:[85418],L2ERC721Bridge:[90723],Predeploys:[104124],StandardBridge:[111675],SuperchainConfig:[88793]},nodeType:"SourceUnit",src:"32:5389:131",nodes:[{id:85147,nodeType:"PragmaDirective",src:"32:23:131",nodes:[],literals:["solidity","0.8",".15"]},{id:85149,nodeType:"ImportDirective",src:"57:62:131",nodes:[],absolutePath:"src/universal/ERC721Bridge.sol",file:"src/universal/ERC721Bridge.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:109119,symbolAliases:[{foreign:{id:85148,name:"ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109118,src:"66:12:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85151,nodeType:"ImportDirective",src:"120:75:131",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol",file:"@openzeppelin/contracts/token/ERC721/IERC721.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:52561,symbolAliases:[{foreign:{id:85150,name:"IERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:52560,src:"129:7:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85153,nodeType:"ImportDirective",src:"196:59:131",nodes:[],absolutePath:"src/L2/L2ERC721Bridge.sol",file:"src/L2/L2ERC721Bridge.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:90724,symbolAliases:[{foreign:{id:85152,name:"L2ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90723,src:"205:14:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85155,nodeType:"ImportDirective",src:"256:52:131",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:109418,symbolAliases:[{foreign:{id:85154,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"265:7:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85157,nodeType:"ImportDirective",src:"309:58:131",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:104125,symbolAliases:[{foreign:{id:85156,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"318:10:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85159,nodeType:"ImportDirective",src:"368:78:131",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:108889,symbolAliases:[{foreign:{id:85158,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"377:20:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85161,nodeType:"ImportDirective",src:"447:66:131",nodes:[],absolutePath:"src/universal/StandardBridge.sol",file:"src/universal/StandardBridge.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:111676,symbolAliases:[{foreign:{id:85160,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"456:14:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85163,nodeType:"ImportDirective",src:"514:56:131",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:103097,symbolAliases:[{foreign:{id:85162,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"523:9:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85165,nodeType:"ImportDirective",src:"571:63:131",nodes:[],absolutePath:"src/L1/SuperchainConfig.sol",file:"src/L1/SuperchainConfig.sol",nameLocation:"-1:-1:-1",scope:85419,sourceUnit:88794,symbolAliases:[{foreign:{id:85164,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"580:16:131",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85418,nodeType:"ContractDefinition",src:"922:4498:131",nodes:[{id:85179,nodeType:"VariableDeclaration",src:"1134:80:131",nodes:[],constant:!1,documentation:{id:85171,nodeType:"StructuredDocumentation",src:"977:152:131",text:`@notice Mapping of L1 token to L2 token to ID to boolean, indicating if the given L1 token + by ID was deposited for a given L2 token.`},functionSelector:"5d93a3fc",mutability:"mutable",name:"deposits",nameLocation:"1206:8:131",scope:85418,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$_$",typeString:"mapping(address => mapping(address => mapping(uint256 => bool)))"},typeName:{id:85178,keyType:{id:85172,name:"address",nodeType:"ElementaryTypeName",src:"1142:7:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"1134:64:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$_$",typeString:"mapping(address => mapping(address => mapping(uint256 => bool)))"},valueType:{id:85177,keyType:{id:85173,name:"address",nodeType:"ElementaryTypeName",src:"1161:7:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"1153:44:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$",typeString:"mapping(address => mapping(uint256 => bool))"},valueType:{id:85176,keyType:{id:85174,name:"uint256",nodeType:"ElementaryTypeName",src:"1180:7:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Mapping",src:"1172:24:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"},valueType:{id:85175,name:"bool",nodeType:"ElementaryTypeName",src:"1191:4:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}}}},visibility:"public"},{id:85183,nodeType:"VariableDeclaration",src:"1279:40:131",nodes:[],constant:!1,documentation:{id:85180,nodeType:"StructuredDocumentation",src:"1221:53:131",text:"@notice Address of the SuperchainConfig contract."},functionSelector:"35e80ab3",mutability:"mutable",name:"superchainConfig",nameLocation:"1303:16:131",scope:85418,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:85182,nodeType:"UserDefinedTypeName",pathNode:{id:85181,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"1279:16:131"},referencedDeclaration:88793,src:"1279:16:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"public"},{id:85187,nodeType:"VariableDeclaration",src:"1389:40:131",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:85184,nodeType:"StructuredDocumentation",src:"1326:58:131",text:`@notice Semantic version. + @custom:semver 2.1.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1412:7:131",scope:85418,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:85185,name:"string",nodeType:"ElementaryTypeName",src:"1389:6:131",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"322e312e30",id:85186,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1422:7:131",typeDescriptions:{typeIdentifier:"t_stringliteral_3bb4aeded157fe72f9bc813a9dc1bd69961c5b5f35dafc6dc601ab742eacac6b",typeString:'literal_string "2.1.0"'},value:"2.1.0"},visibility:"public"},{id:85209,nodeType:"FunctionDefinition",src:"1492:155:131",nodes:[],body:{id:85208,nodeType:"Block",src:"1521:126:131",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:85197,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1585:1:131",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85196,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1577:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85195,name:"address",nodeType:"ElementaryTypeName",src:"1577:7:131",typeDescriptions:{}}},id:85198,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1577:10:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85194,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"1556:20:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:85199,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1556:32:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{arguments:[{arguments:[{hexValue:"30",id:85203,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1634:1:131",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85202,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1626:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85201,name:"address",nodeType:"ElementaryTypeName",src:"1626:7:131",typeDescriptions:{}}},id:85204,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1626:10:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85200,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"1609:16:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SuperchainConfig_$88793_$",typeString:"type(contract SuperchainConfig)"}},id:85205,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1609:28:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}],id:85193,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85237,src:"1531:10:131",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_SuperchainConfig_$88793_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract SuperchainConfig)"}},id:85206,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_superchainConfig"],nodeType:"FunctionCall",src:"1531:109:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85207,nodeType:"ExpressionStatement",src:"1531:109:131"}]},documentation:{id:85188,nodeType:"StructuredDocumentation",src:"1436:51:131",text:"@notice Constructs the L1ERC721Bridge contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:85191,kind:"baseConstructorSpecifier",modifierName:{id:85190,name:"ERC721Bridge",nodeType:"IdentifierPath",referencedDeclaration:109118,src:"1506:12:131"},nodeType:"ModifierInvocation",src:"1506:14:131"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:85189,nodeType:"ParameterList",parameters:[],src:"1503:2:131"},returnParameters:{id:85192,nodeType:"ParameterList",parameters:[],src:"1521:0:131"},scope:85418,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85237,nodeType:"FunctionDefinition",src:"1869:318:131",nodes:[],body:{id:85236,nodeType:"Block",src:"1977:210:131",nodes:[],statements:[{expression:{id:85223,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:85221,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85183,src:"1987:16:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:85222,name:"_superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85216,src:"2006:17:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},src:"1987:36:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85224,nodeType:"ExpressionStatement",src:"1987:36:131"},{expression:{arguments:[{id:85226,name:"_messenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85213,src:"2079:10:131",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{arguments:[{arguments:[{expression:{id:85230,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"2140:10:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:85231,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_ERC721_BRIDGE",nodeType:"MemberAccess",referencedDeclaration:104012,src:"2140:27:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85229,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2132:8:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:85228,name:"address",nodeType:"ElementaryTypeName",src:"2132:8:131",stateMutability:"payable",typeDescriptions:{}}},id:85232,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2132:36:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:85227,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"2117:14:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_StandardBridge_$111675_$",typeString:"type(contract StandardBridge)"}},id:85233,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2117:52:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:85225,name:"__ERC721Bridge_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108995,src:"2033:19:131",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_StandardBridge_$111675_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract StandardBridge)"}},id:85234,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_otherBridge"],nodeType:"FunctionCall",src:"2033:147:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85235,nodeType:"ExpressionStatement",src:"2033:147:131"}]},documentation:{id:85210,nodeType:"StructuredDocumentation",src:"1653:211:131",text:`@notice Initializes the contract. + @param _messenger Contract of the CrossDomainMessenger on this network. + @param _superchainConfig Contract of the SuperchainConfig contract on this network.`},functionSelector:"485cc955",implemented:!0,kind:"function",modifiers:[{id:85219,kind:"modifierInvocation",modifierName:{id:85218,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"1965:11:131"},nodeType:"ModifierInvocation",src:"1965:11:131"}],name:"initialize",nameLocation:"1878:10:131",parameters:{id:85217,nodeType:"ParameterList",parameters:[{constant:!1,id:85213,mutability:"mutable",name:"_messenger",nameLocation:"1910:10:131",nodeType:"VariableDeclaration",scope:85237,src:"1889:31:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},typeName:{id:85212,nodeType:"UserDefinedTypeName",pathNode:{id:85211,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"1889:20:131"},referencedDeclaration:108888,src:"1889:20:131",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},visibility:"internal"},{constant:!1,id:85216,mutability:"mutable",name:"_superchainConfig",nameLocation:"1939:17:131",nodeType:"VariableDeclaration",scope:85237,src:"1922:34:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:85215,nodeType:"UserDefinedTypeName",pathNode:{id:85214,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"1922:16:131"},referencedDeclaration:88793,src:"1922:16:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"internal"}],src:"1888:69:131"},returnParameters:{id:85220,nodeType:"ParameterList",parameters:[],src:"1977:0:131"},scope:85418,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:85249,nodeType:"FunctionDefinition",src:"2226:103:131",nodes:[],body:{id:85248,nodeType:"Block",src:"2280:49:131",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:85244,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85183,src:"2297:16:131",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:85245,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"paused",nodeType:"MemberAccess",referencedDeclaration:88707,src:"2297:23:131",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_bool_$",typeString:"function () view external returns (bool)"}},id:85246,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2297:25:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:85243,id:85247,nodeType:"Return",src:"2290:32:131"}]},baseFunctions:[109024],documentation:{id:85238,nodeType:"StructuredDocumentation",src:"2193:28:131",text:"@inheritdoc ERC721Bridge"},functionSelector:"5c975abb",implemented:!0,kind:"function",modifiers:[],name:"paused",nameLocation:"2235:6:131",overrides:{id:85240,nodeType:"OverrideSpecifier",overrides:[],src:"2256:8:131"},parameters:{id:85239,nodeType:"ParameterList",parameters:[],src:"2241:2:131"},returnParameters:{id:85243,nodeType:"ParameterList",parameters:[{constant:!1,id:85242,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:85249,src:"2274:4:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:85241,name:"bool",nodeType:"ElementaryTypeName",src:"2274:4:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"2273:6:131"},scope:85418,stateMutability:"view",virtual:!1,visibility:"public"},{id:85330,nodeType:"FunctionDefinition",src:"3096:1207:131",nodes:[],body:{id:85329,nodeType:"Block",src:"3341:962:131",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:85271,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],id:85268,name:"paused",nodeType:"Identifier",overloadedDeclarations:[85249],referencedDeclaration:85249,src:"3359:6:131",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_bool_$",typeString:"function () view returns (bool)"}},id:85269,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3359:8:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"66616c7365",id:85270,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"3371:5:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},src:"3359:17:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c314552433732314272696467653a20706175736564",id:85272,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3378:24:131",typeDescriptions:{typeIdentifier:"t_stringliteral_0547274687a86ca0a34590eabb05ad0a44aae82bbc5d30b7acda91288e349519",typeString:'literal_string "L1ERC721Bridge: paused"'},value:"L1ERC721Bridge: paused"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_0547274687a86ca0a34590eabb05ad0a44aae82bbc5d30b7acda91288e349519",typeString:'literal_string "L1ERC721Bridge: paused"'}],id:85267,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3351:7:131",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:85273,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3351:52:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85274,nodeType:"ExpressionStatement",src:"3351:52:131"},{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85281,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:85276,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85252,src:"3421:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{id:85279,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"3444:4:131",typeDescriptions:{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}],id:85278,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3436:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85277,name:"address",nodeType:"ElementaryTypeName",src:"3436:7:131",typeDescriptions:{}}},id:85280,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3436:13:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"3421:28:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c314552433732314272696467653a206c6f63616c20746f6b656e2063616e6e6f742062652073656c66",id:85282,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3451:44:131",typeDescriptions:{typeIdentifier:"t_stringliteral_218d51cceb2e9e86022eea81b17e23e1e964bba3aa5268e422fe8d05e54eb832",typeString:'literal_string "L1ERC721Bridge: local token cannot be self"'},value:"L1ERC721Bridge: local token cannot be self"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_218d51cceb2e9e86022eea81b17e23e1e964bba3aa5268e422fe8d05e54eb832",typeString:'literal_string "L1ERC721Bridge: local token cannot be self"'}],id:85275,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3413:7:131",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:85283,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3413:83:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85284,nodeType:"ExpressionStatement",src:"3413:83:131"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:85294,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{baseExpression:{baseExpression:{baseExpression:{id:85286,name:"deposits",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85179,src:"3620:8:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$_$",typeString:"mapping(address => mapping(address => mapping(uint256 => bool)))"}},id:85288,indexExpression:{id:85287,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85252,src:"3629:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3620:21:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$",typeString:"mapping(address => mapping(uint256 => bool))"}},id:85290,indexExpression:{id:85289,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85254,src:"3642:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3620:35:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:85292,indexExpression:{id:85291,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85260,src:"3656:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3620:45:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"74727565",id:85293,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"3669:4:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"3620:53:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c314552433732314272696467653a20546f6b656e204944206973206e6f7420657363726f77656420696e20746865204c3120427269646765",id:85295,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3687:59:131",typeDescriptions:{typeIdentifier:"t_stringliteral_bee7d98e66133cf40de344b202cc1df78b20213eed80aaf4210604281fdaa6af",typeString:'literal_string "L1ERC721Bridge: Token ID is not escrowed in the L1 Bridge"'},value:"L1ERC721Bridge: Token ID is not escrowed in the L1 Bridge"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_bee7d98e66133cf40de344b202cc1df78b20213eed80aaf4210604281fdaa6af",typeString:'literal_string "L1ERC721Bridge: Token ID is not escrowed in the L1 Bridge"'}],id:85285,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3599:7:131",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:85296,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3599:157:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85297,nodeType:"ExpressionStatement",src:"3599:157:131"},{expression:{id:85306,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{baseExpression:{baseExpression:{id:85298,name:"deposits",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85179,src:"3878:8:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$_$",typeString:"mapping(address => mapping(address => mapping(uint256 => bool)))"}},id:85302,indexExpression:{id:85299,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85252,src:"3887:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3878:21:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$",typeString:"mapping(address => mapping(uint256 => bool))"}},id:85303,indexExpression:{id:85300,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85254,src:"3900:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"3878:35:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:85304,indexExpression:{id:85301,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85260,src:"3914:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"3878:45:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"66616c7365",id:85305,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"3926:5:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},src:"3878:53:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:85307,nodeType:"ExpressionStatement",src:"3878:53:131"},{expression:{arguments:[{arguments:[{id:85314,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"4107:4:131",typeDescriptions:{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}],id:85313,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4099:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85312,name:"address",nodeType:"ElementaryTypeName",src:"4099:7:131",typeDescriptions:{}}},id:85315,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4099:13:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85316,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85258,src:"4118:3:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85317,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85260,src:"4132:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{arguments:[{id:85309,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85252,src:"4061:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85308,name:"IERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:52560,src:"4053:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IERC721_$52560_$",typeString:"type(contract IERC721)"}},id:85310,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4053:20:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IERC721_$52560",typeString:"contract IERC721"}},id:85311,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"safeTransferFrom",nodeType:"MemberAccess",referencedDeclaration:52515,src:"4053:37:131",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,address,uint256) external"}},id:85318,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["from","to","tokenId"],nodeType:"FunctionCall",src:"4053:90:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85319,nodeType:"ExpressionStatement",src:"4053:90:131"},{eventCall:{arguments:[{id:85321,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85252,src:"4236:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85322,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85254,src:"4249:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85323,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85256,src:"4263:5:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85324,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85258,src:"4270:3:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85325,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85260,src:"4275:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85326,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85262,src:"4285:10:131",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85320,name:"ERC721BridgeFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108949,src:"4214:21:131",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85327,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4214:82:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85328,nodeType:"EmitStatement",src:"4209:87:131"}]},documentation:{id:85250,nodeType:"StructuredDocumentation",src:"2335:756:131",text:`@notice Completes an ERC721 bridge from the other domain and sends the ERC721 token to the + recipient on this domain. + @param _localToken Address of the ERC721 token on this domain. + @param _remoteToken Address of the ERC721 token on the other domain. + @param _from Address that triggered the bridge on the other domain. + @param _to Address to receive the token on this domain. + @param _tokenId ID of the token being deposited. + @param _extraData Optional data to forward to L2. + Data supplied here will not be used to execute any code on L2 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"761f4493",implemented:!0,kind:"function",modifiers:[{id:85265,kind:"modifierInvocation",modifierName:{id:85264,name:"onlyOtherBridge",nodeType:"IdentifierPath",referencedDeclaration:108974,src:"3321:15:131"},nodeType:"ModifierInvocation",src:"3321:15:131"}],name:"finalizeBridgeERC721",nameLocation:"3105:20:131",parameters:{id:85263,nodeType:"ParameterList",parameters:[{constant:!1,id:85252,mutability:"mutable",name:"_localToken",nameLocation:"3143:11:131",nodeType:"VariableDeclaration",scope:85330,src:"3135:19:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85251,name:"address",nodeType:"ElementaryTypeName",src:"3135:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85254,mutability:"mutable",name:"_remoteToken",nameLocation:"3172:12:131",nodeType:"VariableDeclaration",scope:85330,src:"3164:20:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85253,name:"address",nodeType:"ElementaryTypeName",src:"3164:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85256,mutability:"mutable",name:"_from",nameLocation:"3202:5:131",nodeType:"VariableDeclaration",scope:85330,src:"3194:13:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85255,name:"address",nodeType:"ElementaryTypeName",src:"3194:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85258,mutability:"mutable",name:"_to",nameLocation:"3225:3:131",nodeType:"VariableDeclaration",scope:85330,src:"3217:11:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85257,name:"address",nodeType:"ElementaryTypeName",src:"3217:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85260,mutability:"mutable",name:"_tokenId",nameLocation:"3246:8:131",nodeType:"VariableDeclaration",scope:85330,src:"3238:16:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85259,name:"uint256",nodeType:"ElementaryTypeName",src:"3238:7:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85262,mutability:"mutable",name:"_extraData",nameLocation:"3279:10:131",nodeType:"VariableDeclaration",scope:85330,src:"3264:25:131",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85261,name:"bytes",nodeType:"ElementaryTypeName",src:"3264:5:131",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3125:170:131"},returnParameters:{id:85266,nodeType:"ParameterList",parameters:[],src:"3341:0:131"},scope:85418,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:85417,nodeType:"FunctionDefinition",src:"4342:1076:131",nodes:[],body:{id:85416,nodeType:"Block",src:"4610:808:131",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:85355,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:85350,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85335,src:"4628:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:85353,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4652:1:131",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85352,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4644:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85351,name:"address",nodeType:"ElementaryTypeName",src:"4644:7:131",typeDescriptions:{}}},id:85354,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4644:10:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"4628:26:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c314552433732314272696467653a2072656d6f746520746f6b656e2063616e6e6f742062652061646472657373283029",id:85356,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4656:51:131",typeDescriptions:{typeIdentifier:"t_stringliteral_14e51418e54e820a40fc2643b1167465f7abe28f86e3d4e777c562f03e420dd1",typeString:'literal_string "L1ERC721Bridge: remote token cannot be address(0)"'},value:"L1ERC721Bridge: remote token cannot be address(0)"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_14e51418e54e820a40fc2643b1167465f7abe28f86e3d4e777c562f03e420dd1",typeString:'literal_string "L1ERC721Bridge: remote token cannot be address(0)"'}],id:85349,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4620:7:131",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:85357,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4620:88:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85358,nodeType:"ExpressionStatement",src:"4620:88:131"},{assignments:[85360],declarations:[{constant:!1,id:85360,mutability:"mutable",name:"message",nameLocation:"4811:7:131",nodeType:"VariableDeclaration",scope:85416,src:"4798:20:131",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:85359,name:"bytes",nodeType:"ElementaryTypeName",src:"4798:5:131",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],id:85373,initialValue:{arguments:[{expression:{expression:{id:85363,name:"L2ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90723,src:"4857:14:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L2ERC721Bridge_$90723_$",typeString:"type(contract L2ERC721Bridge)"}},id:85364,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"finalizeBridgeERC721",nodeType:"MemberAccess",referencedDeclaration:90622,src:"4857:35:131",typeDescriptions:{typeIdentifier:"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function L2ERC721Bridge.finalizeBridgeERC721(address,address,address,address,uint256,bytes calldata)"}},id:85365,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"selector",nodeType:"MemberAccess",src:"4857:44:131",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},{id:85366,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85335,src:"4903:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85367,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85333,src:"4917:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85368,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85337,src:"4930:5:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85369,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85339,src:"4937:3:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85370,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85341,src:"4942:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85371,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85345,src:"4952:10:131",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes4",typeString:"bytes4"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],expression:{id:85361,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"4821:3:131",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:85362,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encodeWithSelector",nodeType:"MemberAccess",src:"4821:22:131",typeDescriptions:{typeIdentifier:"t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$",typeString:"function (bytes4) pure returns (bytes memory)"}},id:85372,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4821:151:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"VariableDeclarationStatement",src:"4798:174:131"},{expression:{id:85382,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{baseExpression:{baseExpression:{id:85374,name:"deposits",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85179,src:"5017:8:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$_$",typeString:"mapping(address => mapping(address => mapping(uint256 => bool)))"}},id:85378,indexExpression:{id:85375,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85333,src:"5026:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"5017:21:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_bool_$_$",typeString:"mapping(address => mapping(uint256 => bool))"}},id:85379,indexExpression:{id:85376,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85335,src:"5039:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"5017:35:131",typeDescriptions:{typeIdentifier:"t_mapping$_t_uint256_$_t_bool_$",typeString:"mapping(uint256 => bool)"}},id:85380,indexExpression:{id:85377,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85341,src:"5053:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"5017:45:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:85381,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"5065:4:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"5017:52:131",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:85383,nodeType:"ExpressionStatement",src:"5017:52:131"},{expression:{arguments:[{id:85388,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85337,src:"5121:5:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{arguments:[{id:85391,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"5140:4:131",typeDescriptions:{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L1ERC721Bridge_$85418",typeString:"contract L1ERC721Bridge"}],id:85390,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5132:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85389,name:"address",nodeType:"ElementaryTypeName",src:"5132:7:131",typeDescriptions:{}}},id:85392,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5132:13:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85393,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85341,src:"5156:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{arguments:[{id:85385,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85333,src:"5087:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:85384,name:"IERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:52560,src:"5079:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IERC721_$52560_$",typeString:"type(contract IERC721)"}},id:85386,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5079:20:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IERC721_$52560",typeString:"contract IERC721"}},id:85387,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"transferFrom",nodeType:"MemberAccess",referencedDeclaration:52525,src:"5079:33:131",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,address,uint256) external"}},id:85394,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["from","to","tokenId"],nodeType:"FunctionCall",src:"5079:88:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85395,nodeType:"ExpressionStatement",src:"5079:88:131"},{expression:{arguments:[{arguments:[{id:85401,name:"otherBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108914,src:"5252:11:131",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:85400,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5244:7:131",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85399,name:"address",nodeType:"ElementaryTypeName",src:"5244:7:131",typeDescriptions:{}}},id:85402,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5244:20:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85403,name:"message",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85360,src:"5276:7:131",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},{id:85404,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85343,src:"5299:12:131",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"},{typeIdentifier:"t_uint32",typeString:"uint32"}],expression:{id:85396,name:"messenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108910,src:"5211:9:131",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},id:85398,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sendMessage",nodeType:"MemberAccess",referencedDeclaration:108520,src:"5211:21:131",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$_t_uint32_$returns$__$",typeString:"function (address,bytes memory,uint32) payable external"}},id:85405,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_target","_message","_minGasLimit"],nodeType:"FunctionCall",src:"5211:103:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85406,nodeType:"ExpressionStatement",src:"5211:103:131"},{eventCall:{arguments:[{id:85408,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85333,src:"5351:11:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85409,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85335,src:"5364:12:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85410,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85337,src:"5378:5:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85411,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85339,src:"5385:3:131",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:85412,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85341,src:"5390:8:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:85413,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85345,src:"5400:10:131",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:85407,name:"ERC721BridgeInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108934,src:"5329:21:131",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:85414,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5329:82:131",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:85415,nodeType:"EmitStatement",src:"5324:87:131"}]},baseFunctions:[109117],documentation:{id:85331,nodeType:"StructuredDocumentation",src:"4309:28:131",text:"@inheritdoc ERC721Bridge"},implemented:!0,kind:"function",modifiers:[],name:"_initiateBridgeERC721",nameLocation:"4351:21:131",overrides:{id:85347,nodeType:"OverrideSpecifier",overrides:[],src:"4597:8:131"},parameters:{id:85346,nodeType:"ParameterList",parameters:[{constant:!1,id:85333,mutability:"mutable",name:"_localToken",nameLocation:"4390:11:131",nodeType:"VariableDeclaration",scope:85417,src:"4382:19:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85332,name:"address",nodeType:"ElementaryTypeName",src:"4382:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85335,mutability:"mutable",name:"_remoteToken",nameLocation:"4419:12:131",nodeType:"VariableDeclaration",scope:85417,src:"4411:20:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85334,name:"address",nodeType:"ElementaryTypeName",src:"4411:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85337,mutability:"mutable",name:"_from",nameLocation:"4449:5:131",nodeType:"VariableDeclaration",scope:85417,src:"4441:13:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85336,name:"address",nodeType:"ElementaryTypeName",src:"4441:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85339,mutability:"mutable",name:"_to",nameLocation:"4472:3:131",nodeType:"VariableDeclaration",scope:85417,src:"4464:11:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85338,name:"address",nodeType:"ElementaryTypeName",src:"4464:7:131",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:85341,mutability:"mutable",name:"_tokenId",nameLocation:"4493:8:131",nodeType:"VariableDeclaration",scope:85417,src:"4485:16:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85340,name:"uint256",nodeType:"ElementaryTypeName",src:"4485:7:131",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85343,mutability:"mutable",name:"_minGasLimit",nameLocation:"4518:12:131",nodeType:"VariableDeclaration",scope:85417,src:"4511:19:131",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:85342,name:"uint32",nodeType:"ElementaryTypeName",src:"4511:6:131",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:85345,mutability:"mutable",name:"_extraData",nameLocation:"4555:10:131",nodeType:"VariableDeclaration",scope:85417,src:"4540:25:131",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:85344,name:"bytes",nodeType:"ElementaryTypeName",src:"4540:5:131",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"4372:199:131"},returnParameters:{id:85348,nodeType:"ParameterList",parameters:[],src:"4610:0:131"},scope:85418,stateMutability:"nonpayable",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:85167,name:"ERC721Bridge",nodeType:"IdentifierPath",referencedDeclaration:109118,src:"949:12:131"},id:85168,nodeType:"InheritanceSpecifier",src:"949:12:131"},{baseName:{id:85169,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"963:7:131"},id:85170,nodeType:"InheritanceSpecifier",src:"963:7:131"}],canonicalName:"L1ERC721Bridge",contractDependencies:[],contractKind:"contract",documentation:{id:85166,nodeType:"StructuredDocumentation",src:"636:286:131",text:`@title L1ERC721Bridge + @notice The L1 ERC721 bridge is a contract which works together with the L2 ERC721 bridge to + make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract + acts as an escrow for ERC721 tokens deposited into L2.`},fullyImplemented:!0,linearizedBaseContracts:[85418,109417,109118,49678],name:"L1ERC721Bridge",nameLocation:"931:14:131",scope:85419,usedErrors:[]}],license:"MIT"},id:131}});var LYe=B((nla,pj0)=>{pj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"OTHER_MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"RELAY_CALL_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_CONSTANT_OVERHEAD",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_GAS_CHECK_BUFFER",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"RELAY_RESERVED_GAS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"baseGas",inputs:[{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"failedMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l1CrossDomainMessenger",type:"address",internalType:"contract CrossDomainMessenger"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l1CrossDomainMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"otherMessenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"relayMessage",inputs:[{name:"_nonce",type:"uint256",internalType:"uint256"},{name:"_sender",type:"address",internalType:"address"},{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint256",internalType:"uint256"},{name:"_message",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"sendMessage",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_message",type:"bytes",internalType:"bytes"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"}],outputs:[],stateMutability:"payable"},{type:"function",name:"successfulMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"xDomainMessageSender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"FailedRelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"RelayedMessage",inputs:[{name:"msgHash",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"SentMessage",inputs:[{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!1,internalType:"address"},{name:"message",type:"bytes",indexed:!1,internalType:"bytes"},{name:"messageNonce",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SentMessageExtension1",inputs:[{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000239565b600054600160a81b900460ff16158080156200004d57506000546001600160a01b90910460ff16105b806200008457506200006a306200017360201b620013071760201c565b158015620000845750600054600160a01b900460ff166001145b620000ed5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff60a01b1916600160a01b17905580156200011b576000805460ff60a81b1916600160a81b1790555b620001268262000182565b80156200016f576000805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054600160a81b900460ff16620001f15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000e4565b60cc546001600160a01b0316620002175760cc80546001600160a01b03191661dead1790555b60cf80546001600160a01b0319166001600160a01b0392909216919091179055565b611c8280620002496000396000f3fe60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:147:-:0;;;1023:127;;;;;;;;;-1:-1:-1;1070:73:147::1;1137:1;1070:10;:73::i;:::-;812:1752:::0;;1278:175;3111:19:27;3134:13;-1:-1:-1;;;3134:13:27;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;-1:-1:-1;;;3197:12:27;;;;;:16;3179:34;3178:108;;;;3220:44;3258:4;3220:29;;;;;:44;;:::i;:::-;3219:45;:66;;;;-1:-1:-1;3268:12:27;;-1:-1:-1;;;3268:12:27;;;;3284:1;3268:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:27;;216:2:357;3157:201:27;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3157:201:27;;;;;;;;;3368:12;:16;;-1:-1:-1;;;;3368:16:27;-1:-1:-1;;;3368:16:27;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;;;3428:20:27;-1:-1:-1;;;3428:20:27;;;3394:65;1373:73:147::1;1420:23:::0;1373:27:::1;:73::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;;;3513:21:27;;;3553:14;;-1:-1:-1;581:36:357;;3553:14:27;;569:2:357;554:18;3553:14:27;;;;;;;3479:99;3101:483;1278:175:147;:::o;1186:320:33:-;-1:-1:-1;;;;;1476:19:33;;:23;;;1186:320::o;18503:636:223:-;4910:13:27;;-1:-1:-1;;;4910:13:27;;;;4902:69;;;;-1:-1:-1;;;4902:69:27;;830:2:357;4902:69:27;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4902:69:27;628:407:357;4902:69:27;18988:16:223::1;::::0;-1:-1:-1;;;;;18988:16:223::1;18984:107;;19034:16;:46:::0;;-1:-1:-1;;;;;;19034:46:223::1;1338:42:192;19034:46:223;::::0;;18984:107:::1;19100:14;:32:::0;;-1:-1:-1;;;;;;19100:32:223::1;-1:-1:-1::0;;;;;19100:32:223;;;::::1;::::0;;;::::1;::::0;;18503:636::o;628:407:357:-;812:1752:147;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061016a5760003560e01c806383a74074116100cb578063b1b1b2091161007f578063d764ad0b11610059578063d764ad0b146103c7578063db505d80146103da578063ecc704281461040757600080fd5b8063b1b1b20914610357578063b28ade2514610387578063c4d66de8146103a757600080fd5b80639fce812c116100b05780639fce812c146102fc578063a4e7f8bd14610327578063a7119869146102fc57600080fd5b806383a74074146102e55780638cbeeef21461020957600080fd5b80634c1d6a69116101225780635644cfdf116101075780635644cfdf146102755780635c975abb1461028b5780636e296e45146102ab57600080fd5b80634c1d6a691461020957806354fd4d501461021f57600080fd5b80632828d7e8116101535780632828d7e8146101b75780633dbb202b146101cc5780633f827a5a146101e157600080fd5b8063028f85f71461016f5780630c568498146101a2575b600080fd5b34801561017b57600080fd5b50610184601081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b3480156101ae57600080fd5b50610184603f81565b3480156101c357600080fd5b50610184604081565b6101df6101da36600461177b565b61046c565b005b3480156101ed57600080fd5b506101f6600181565b60405161ffff9091168152602001610199565b34801561021557600080fd5b50610184619c4081565b34801561022b57600080fd5b506102686040518060400160405280600581526020017f322e302e3000000000000000000000000000000000000000000000000000000081525081565b604051610199919061184d565b34801561028157600080fd5b5061018461138881565b34801561029757600080fd5b5060005b6040519015158152602001610199565b3480156102b757600080fd5b506102c06106c9565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610199565b3480156102f157600080fd5b5061018462030d4081565b34801561030857600080fd5b5060cf5473ffffffffffffffffffffffffffffffffffffffff166102c0565b34801561033357600080fd5b5061029b610342366004611867565b60ce6020526000908152604090205460ff1681565b34801561036357600080fd5b5061029b610372366004611867565b60cb6020526000908152604090205460ff1681565b34801561039357600080fd5b506101846103a2366004611880565b6107b5565b3480156103b357600080fd5b506101df6103c23660046118d4565b610823565b6101df6103d53660046118f1565b610a22565b3480156103e657600080fd5b5060cf546102c09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561041357600080fd5b5061045e60cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b604051908152602001610199565b60cf5461059e9073ffffffffffffffffffffffffffffffffffffffff166104948585856107b5565b347fd764ad0b0000000000000000000000000000000000000000000000000000000061050060cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b338a34898c8c60405160240161051c97969594939291906119c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611323565b8373ffffffffffffffffffffffffffffffffffffffff167fcb0f7ffd78f9aee47a248fae8db181db6eee833039123e026dcbff529522e52a33858561062360cd547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b86604051610635959493929190611a1f565b60405180910390a260405134815233907f8ebb2ec2465bdb2a06a66fc37a0963af8a2a6a1479d81d56fdb8cbb98096d5469060200160405180910390a2505060cd80547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808216600101167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b60cc5460009073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff215301610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f43726f7373446f6d61696e4d657373656e6765723a2078446f6d61696e4d657360448201527f7361676553656e646572206973206e6f7420736574000000000000000000000060648201526084015b60405180910390fd5b5060cc5473ffffffffffffffffffffffffffffffffffffffff1690565b6000611388619c4080603f6107d1604063ffffffff8816611a9c565b6107db9190611acc565b6107e6601088611a9c565b6107f39062030d40611b1a565b6107fd9190611b1a565b6108079190611b1a565b6108119190611b1a565b61081b9190611b1a565b949350505050565b6000547501000000000000000000000000000000000000000000900460ff161580801561086e575060005460017401000000000000000000000000000000000000000090910460ff16105b806108a05750303b1580156108a0575060005474010000000000000000000000000000000000000000900460ff166001145b61092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161078f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905580156109b257600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790555b6109bb826113b1565b8015610a1e57600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60f087901c60028110610add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f43726f7373446f6d61696e4d657373656e6765723a206f6e6c7920766572736960448201527f6f6e2030206f722031206d657373616765732061726520737570706f7274656460648201527f20617420746869732074696d6500000000000000000000000000000000000000608482015260a40161078f565b8061ffff16600003610bd2576000610b2e878986868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92506114ed915050565b600081815260cb602052604090205490915060ff1615610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f43726f7373446f6d61696e4d657373656e6765723a206c65676163792077697460448201527f6864726177616c20616c72656164792072656c61796564000000000000000000606482015260840161078f565b505b6000610c18898989898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b9050610c6160cf54337fffffffffffffffffffffffffeeeeffffffffffffffffffffffffffffffffeeef0173ffffffffffffffffffffffffffffffffffffffff90811691161490565b15610c9957853414610c7557610c75611b46565b600081815260ce602052604090205460ff1615610c9457610c94611b46565b610deb565b3415610d4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605060248201527f43726f7373446f6d61696e4d657373656e6765723a2076616c7565206d75737460448201527f206265207a65726f20756e6c657373206d6573736167652069732066726f6d2060648201527f612073797374656d206164647265737300000000000000000000000000000000608482015260a40161078f565b600081815260ce602052604090205460ff16610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520636160448201527f6e6e6f74206265207265706c6179656400000000000000000000000000000000606482015260840161078f565b610df48761152f565b15610ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f43726f7373446f6d61696e4d657373656e6765723a2063616e6e6f742073656e60448201527f64206d65737361676520746f20626c6f636b65642073797374656d206164647260648201527f6573730000000000000000000000000000000000000000000000000000000000608482015260a40161078f565b600081815260cb602052604090205460ff1615610f46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f7373446f6d61696e4d657373656e6765723a206d65737361676520686160448201527f7320616c7265616479206265656e2072656c6179656400000000000000000000606482015260840161078f565b610f6785610f58611388619c40611b1a565b67ffffffffffffffff16611584565b1580610f8d575060cc5473ffffffffffffffffffffffffffffffffffffffff1661dead14155b156110a657600081815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff320161109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b50506112fe565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a16179055600061113788619c405a6110fa9190611b75565b8988888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115a292505050565b60cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead179055905080156111ed57600082815260cb602052604090205460ff161561118a5761118a611b46565b600082815260cb602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f4641df4a962071e12719d8c8c8e5ac7fc4d97b927346a3d7a335b1f7517e133c91a26112fa565b600082815260ce602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555183917f99d0e048484baa1b1540b1367cb128acd7ab2946d1ed91ec10e3c85e4bf51b8f91a27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff32016112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f43726f7373446f6d61696e4d657373656e6765723a206661696c656420746f2060448201527f72656c6179206d65737361676500000000000000000000000000000000000000606482015260840161078f565b5050505b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6040517fc2b3e5ac0000000000000000000000000000000000000000000000000000000081527342000000000000000000000000000000000000169063c2b3e5ac90849061137990889088908790600401611b8c565b6000604051808303818588803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b505050505050505050565b6000547501000000000000000000000000000000000000000000900460ff1661145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161078f565b60cc5473ffffffffffffffffffffffffffffffffffffffff166114a65760cc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b60cf80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006114fb858585856115bc565b805190602001209050949350505050565b600061151c878787878787611655565b8051906020012090509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff821630148061157e575073ffffffffffffffffffffffffffffffffffffffff8216734200000000000000000000000000000000000016145b92915050565b600080603f83619c4001026040850201603f5a021015949350505050565b600080600080845160208601878a8af19695505050505050565b6060848484846040516024016115d59493929190611bd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fcbd4ece9000000000000000000000000000000000000000000000000000000001790529050949350505050565b606086868686868660405160240161167296959493929190611c1e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd764ad0b0000000000000000000000000000000000000000000000000000000017905290509695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461171657600080fd5b50565b60008083601f84011261172b57600080fd5b50813567ffffffffffffffff81111561174357600080fd5b60208301915083602082850101111561175b57600080fd5b9250929050565b803563ffffffff8116811461177657600080fd5b919050565b6000806000806060858703121561179157600080fd5b843561179c816116f4565b9350602085013567ffffffffffffffff8111156117b857600080fd5b6117c487828801611719565b90945092506117d7905060408601611762565b905092959194509250565b6000815180845260005b81811015611808576020818501810151868301820152016117ec565b8181111561181a576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061186060208301846117e2565b9392505050565b60006020828403121561187957600080fd5b5035919050565b60008060006040848603121561189557600080fd5b833567ffffffffffffffff8111156118ac57600080fd5b6118b886828701611719565b90945092506118cb905060208501611762565b90509250925092565b6000602082840312156118e657600080fd5b8135611860816116f4565b600080600080600080600060c0888a03121561190c57600080fd5b87359650602088013561191e816116f4565b9550604088013561192e816116f4565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561195857600080fd5b6119648a828b01611719565b989b979a50959850939692959293505050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b878152600073ffffffffffffffffffffffffffffffffffffffff808916602084015280881660408401525085606083015263ffffffff8516608083015260c060a0830152611a1260c083018486611977565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff86168152608060208201526000611a4f608083018688611977565b905083604083015263ffffffff831660608301529695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615611ac357611ac3611a6d565b02949350505050565b600067ffffffffffffffff80841680611b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600067ffffffffffffffff808316818516808303821115611b3d57611b3d611a6d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600082821015611b8757611b87611a6d565b500390565b73ffffffffffffffffffffffffffffffffffffffff8416815267ffffffffffffffff83166020820152606060408201526000611bcb60608301846117e2565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525060806040830152611c0d60808301856117e2565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152611c6960c08301846117e2565b9897505050505050505056fea164736f6c634300080f000a",sourceMap:"812:1752:147:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4456:53:223;;;;;;;;;;;;4507:2;4456:53;;;;;188:18:357;176:31;;;158:50;;146:2;131:18;4456:53:223;;;;;;;;4301:64;;;;;;;;;;;;4363:2;4301:64;;4146:62;;;;;;;;;;;;4206:2;4146:62;;8628:995;;;;;;:::i;:::-;;:::i;:::-;;3879:42;;;;;;;;;;;;3920:1;3879:42;;;;;1693:6:357;1681:19;;;1663:38;;1651:2;1636:18;3879:42:223;1519:188:357;4597:51:223;;;;;;;;;;;;4642:6;4597:51;;912:40:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4943:53:223:-;;;;;;;;;;;;4991:5;4943:53;;21032:82;;;;;;;;;;-1:-1:-1;21079:4:223;21032:82;;;2638:14:357;;2631:22;2613:41;;2601:2;2586:18;21032:82:223;2473:187:357;15764:250:223;;;;;;;;;;;;;:::i;:::-;;;2841:42:357;2829:55;;;2811:74;;2799:2;2784:18;15764:250:223;2665:226:357;3999:56:223;;;;;;;;;;;;4048:7;3999:56;;16317:108;;;;;;;;;;-1:-1:-1;16404:14:223;;;;16317:108;;6234:46;;;;;;;;;;-1:-1:-1;6234:46:223;;;;;:::i;:::-;;;;;;;;;;;;;;;;5252:50;;;;;;;;;;-1:-1:-1;5252:50:223;;;;;:::i;:::-;;;;;;;;;;;;;;;;17493:894;;;;;;;;;;-1:-1:-1;17493:894:223;;;;;:::i;:::-;;:::i;1278:175:147:-;;;;;;;;;;-1:-1:-1;1278:175:147;;;;;:::i;:::-;;:::i;10311:5066:223:-;;;;;;:::i;:::-;;:::i;6386:42::-;;;;;;;;;;-1:-1:-1;6386:42:223;;;;;;;;16746:134;;;;;;;;;;;;16847:8;;;;4855:18:195;4852:30;;16746:134:223;;;;5155:25:357;;;5143:2;5128:18;16746:134:223;5009:177:357;8628:995:223;9128:14;;9088:326;;9128:14;;9168:31;9176:8;;9186:12;9168:7;:31::i;:::-;9221:9;9291:26;9319:14;16847:8;;;;4855:18:195;4852:30;;16746:134:223;9319:14;9335:10;9347:7;9356:9;9367:12;9381:8;;9251:152;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9088:12;:326::i;:::-;9442:7;9430:72;;;9451:10;9463:8;;9473:14;16847:8;;;;4855:18:195;4852:30;;16746:134:223;9473:14;9489:12;9430:72;;;;;;;;;;:::i;:::-;;;;;;;;9517:44;;9551:9;5155:25:357;;9539:10:223;;9517:44;;5143:2:357;5128:18;9517:44:223;;;;;;;-1:-1:-1;;9598:8:223;9596:10;;;;;;;;;;;;;;;;-1:-1:-1;;8628:995:223:o;15764:250::-;15859:16;;15819:7;;15859:47;:16;:47;;15838:135;;;;;;;6954:2:357;15838:135:223;;;6936:21:357;6993:2;6973:18;;;6966:30;7032:34;7012:18;;;7005:62;7103:23;7083:18;;;7076:51;7144:19;;15838:135:223;;;;;;;;;-1:-1:-1;15991:16:223;;;;;15764:250::o;17493:894::-;17577:6;4991:5;4796:6;;4363:2;17806:49;4206:2;17806:49;;;;:::i;:::-;17805:90;;;;:::i;:::-;17703:51;4507:2;17710:8;17703:51;:::i;:::-;17639:116;;4048:7;17639:116;:::i;:::-;:257;;;;:::i;:::-;:412;;;;:::i;:::-;:587;;;;:::i;:::-;:741;;;;:::i;:::-;17595:785;17493:894;-1:-1:-1;;;;17493:894:223:o;1278:175:147:-;3111:19:27;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:27;;3212:1;3197:12;;;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:27;1476:19:33;:23;;;3219:66:27;;-1:-1:-1;3268:12:27;;;;;;;3284:1;3268:17;3219:66;3157:201;;;;;;;8439:2:357;3157:201:27;;;8421:21:357;8478:2;8458:18;;;8451:30;8517:34;8497:18;;;8490:62;8588:16;8568:18;;;8561:44;8622:19;;3157:201:27;8237:410:357;3157:201:27;3368:12;:16;;;;;;;;3394:65;;;;3428:13;:20;;;;;;;;3394:65;1373:73:147::1;1420:23;1373:27;:73::i;:::-;3483:14:27::0;3479:99;;;3529:5;3513:21;;;;;;3553:14;;-1:-1:-1;8804:36:357;;3553:14:27;;8792:2:357;8777:18;3553:14:27;;;;;;;3479:99;3101:483;1278:175:147;:::o;10311:5066:223:-;5444:3:195;5440:16;;;10869:1:223;10859:11;;10851:101;;;;;;;9410:2:357;10851:101:223;;;9392:21:357;9449:2;9429:18;;;9422:30;9488:34;9468:18;;;9461:62;9559:34;9539:18;;;9532:62;9631:15;9610:19;;;9603:44;9664:19;;10851:101:223;9208:481:357;10851:101:223;11154:7;:12;;11165:1;11154:12;11150:247;;11182:15;11200:68;11233:7;11242;11251:8;;11200:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11261:6:223;;-1:-1:-1;11200:32:223;;-1:-1:-1;;11200:68:223:i;:::-;11290:27;;;;:18;:27;;;;;;11182:86;;-1:-1:-1;11290:27:223;;:36;11282:104;;;;;;;9896:2:357;11282:104:223;;;9878:21:357;9935:2;9915:18;;;9908:30;9974:34;9954:18;;;9947:62;10045:25;10025:18;;;10018:53;10088:19;;11282:104:223;9694:419:357;11282:104:223;11168:229;11150:247;11567:21;11603:90;11636:6;11644:7;11653;11662:6;11670:12;11684:8;;11603:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11603:32:223;;-1:-1:-1;;;11603:90:223:i;:::-;11567:126;;11708:19;2307:14:147;;2284:10;1685:27:237;;2307:14:147;2249:73;;;2307:14;;2249:73;;2165:164;11708:19:223;11704:506;;;11897:6;11884:9;:19;11877:27;;;;:::i;:::-;11926:29;;;;:14;:29;;;;;;;;11925:30;11918:38;;;;:::i;:::-;11704:506;;;11995:9;:14;11987:107;;;;;;;10509:2:357;11987:107:223;;;10491:21:357;10548:2;10528:18;;;10521:30;10587:34;10567:18;;;10560:62;10658:34;10638:18;;;10631:62;10730:18;10709:19;;;10702:47;10766:19;;11987:107:223;10307:484:357;11987:107:223;12117:29;;;;:14;:29;;;;;;;;12109:90;;;;;;;10998:2:357;12109:90:223;;;10980:21:357;11037:2;11017:18;;;11010:30;11076:34;11056:18;;;11049:62;11147:18;11127;;;11120:46;11183:19;;12109:90:223;10796:412:357;12109:90:223;12241:24;12257:7;12241:15;:24::i;:::-;:33;12220:135;;;;;;;11415:2:357;12220:135:223;;;11397:21:357;11454:2;11434:18;;;11427:30;11493:34;11473:18;;;11466:62;11564:34;11544:18;;;11537:62;11636:5;11615:19;;;11608:34;11659:19;;12220:135:223;11213:471:357;12220:135:223;12374:33;;;;:18;:33;;;;;;;;:42;12366:109;;;;;;;11891:2:357;12366:109:223;;;11873:21:357;11930:2;11910:18;;;11903:30;11969:34;11949:18;;;11942:62;12040:24;12020:18;;;12013:52;12082:19;;12366:109:223;11689:418:357;12366:109:223;13169:77;13188:12;13202:43;4991:5;4796:6;13202:43;:::i;:::-;13169:77;;:18;:77::i;:::-;13168:78;:145;;;-1:-1:-1;13266:16:223;;:47;:16;1338:42:192;13266:47:223;;13168:145;13151:919;;;13338:29;;;;:14;:29;;;;;;:36;;;;13370:4;13338:36;;;13393:35;13353:13;;13393:35;;;13908:41;:9;:41;13904:135;;13969:55;;;;;12314:2:357;13969:55:223;;;12296:21:357;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;13969:55:223;12112:409:357;13904:135:223;14053:7;;;;13151:919;14080:16;:26;;;;;;;;;;-1:-1:-1;14131:72:223;14145:7;4796:6;14154:9;:30;;;;:::i;:::-;14186:6;14194:8;;14131:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14131:13:223;;-1:-1:-1;;;14131:72:223:i;:::-;14213:16;:46;;;;1338:42:192;14213:46:223;;;14116:87;-1:-1:-1;14270:1101:223;;;;14484:33;;;;:18;:33;;;;;;;;:42;14477:50;;;;:::i;:::-;14541:33;;;;:18;:33;;;;;;:40;;;;14577:4;14541:40;;;14600:29;14560:13;;14600:29;;;14270:1101;;;14660:29;;;;:14;:29;;;;;;:36;;;;14692:4;14660:36;;;14715:35;14675:13;;14715:35;;;15230:41;:9;:41;15226:135;;15291:55;;;;;12314:2:357;15291:55:223;;;12296:21:357;12353:2;12333:18;;;12326:30;12392:34;12372:18;;;12365:62;12463:15;12443:18;;;12436:43;12496:19;;15291:55:223;12112:409:357;15226:135:223;10537:4840;;;10311:5066;;;;;;;;:::o;1186:320:33:-;1476:19;;;:23;;;1186:320::o;1849:269:147:-;1966:145;;;;;312:42:199;;1966:83:147;;2058:6;;1966:145;;2080:3;;2085:9;;2096:5;;1966:145;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1849:269;;;;:::o;18503:636:223:-;4910:13:27;;;;;;;4902:69;;;;;;;13296:2:357;4902:69:27;;;13278:21:357;13335:2;13315:18;;;13308:30;13374:34;13354:18;;;13347:62;13445:13;13425:18;;;13418:41;13476:19;;4902:69:27;13094:407:357;4902:69:27;18988:16:223::1;::::0;:30:::1;:16;18984:107;;19034:16;:46:::0;;;::::1;1338:42:192;19034:46:223;::::0;;18984:107:::1;19100:14;:32:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;18503:636::o;3100:305:196:-;3289:7;3329:68;3365:7;3374;3383:5;3390:6;3329:35;:68::i;:::-;3319:79;;;;;;3312:86;;3100:305;;;;;;:::o;3877:375::-;4117:7;4157:87;4193:6;4201:7;4210;4219:6;4227:9;4238:5;4157:35;:87::i;:::-;4147:98;;;;;;4140:105;;3877:375;;;;;;;;:::o;2376:186:147:-;2450:4;2473:24;;;2492:4;2473:24;;:82;;-1:-1:-1;2501:54:147;;;312:42:199;2501:54:147;2473:82;2466:89;2376:186;-1:-1:-1;;2376:186:147:o;3615:365:200:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:200:o;1202:536::-;1305:4;1321:13;1668:1;1635;1594:9;1588:16;1554:2;1543:9;1539:18;1496:6;1454:7;1421:4;1395:302;1367:330;1202:536;-1:-1:-1;;;;;;1202:536:200:o;3073:336:195:-;3264:12;3370:7;3379;3388:5;3395:6;3299:103;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3073:336:195;;;;;;:::o;3883:516::-;4125:12;4272:6;4292:7;4313;4334:6;4354:9;4377:5;4160:232;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:516:195;;;;;;;;:::o;219:154:357:-;305:42;298:5;294:54;287:5;284:65;274:93;;363:1;360;353:12;274:93;219:154;:::o;378:347::-;429:8;439:6;493:3;486:4;478:6;474:17;470:27;460:55;;511:1;508;501:12;460:55;-1:-1:-1;534:20:357;;577:18;566:30;;563:50;;;609:1;606;599:12;563:50;646:4;638:6;634:17;622:29;;698:3;691:4;682:6;674;670:19;666:30;663:39;660:59;;;715:1;712;705:12;660:59;378:347;;;;;:::o;730:163::-;797:20;;857:10;846:22;;836:33;;826:61;;883:1;880;873:12;826:61;730:163;;;:::o;898:616::-;985:6;993;1001;1009;1062:2;1050:9;1041:7;1037:23;1033:32;1030:52;;;1078:1;1075;1068:12;1030:52;1117:9;1104:23;1136:31;1161:5;1136:31;:::i;:::-;1186:5;-1:-1:-1;1242:2:357;1227:18;;1214:32;1269:18;1258:30;;1255:50;;;1301:1;1298;1291:12;1255:50;1340:58;1390:7;1381:6;1370:9;1366:22;1340:58;:::i;:::-;1417:8;;-1:-1:-1;1314:84:357;-1:-1:-1;1471:37:357;;-1:-1:-1;1504:2:357;1489:18;;1471:37;:::i;:::-;1461:47;;898:616;;;;;;;:::o;1712:531::-;1754:3;1792:5;1786:12;1819:6;1814:3;1807:19;1844:1;1854:162;1868:6;1865:1;1862:13;1854:162;;;1930:4;1986:13;;;1982:22;;1976:29;1958:11;;;1954:20;;1947:59;1883:12;1854:162;;;2034:6;2031:1;2028:13;2025:87;;;2100:1;2093:4;2084:6;2079:3;2075:16;2071:27;2064:38;2025:87;-1:-1:-1;2157:2:357;2145:15;2162:66;2141:88;2132:98;;;;2232:4;2128:109;;1712:531;-1:-1:-1;;1712:531:357:o;2248:220::-;2397:2;2386:9;2379:21;2360:4;2417:45;2458:2;2447:9;2443:18;2435:6;2417:45;:::i;:::-;2409:53;2248:220;-1:-1:-1;;;2248:220:357:o;3158:180::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;-1:-1:-1;3309:23:357;;3158:180;-1:-1:-1;3158:180:357:o;3343:481::-;3421:6;3429;3437;3490:2;3478:9;3469:7;3465:23;3461:32;3458:52;;;3506:1;3503;3496:12;3458:52;3546:9;3533:23;3579:18;3571:6;3568:30;3565:50;;;3611:1;3608;3601:12;3565:50;3650:58;3700:7;3691:6;3680:9;3676:22;3650:58;:::i;:::-;3727:8;;-1:-1:-1;3624:84:357;-1:-1:-1;3781:37:357;;-1:-1:-1;3814:2:357;3799:18;;3781:37;:::i;:::-;3771:47;;3343:481;;;;;:::o;3829:278::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:52;;;3988:1;3985;3978:12;3940:52;4027:9;4014:23;4046:31;4071:5;4046:31;:::i;4112:892::-;4227:6;4235;4243;4251;4259;4267;4275;4328:3;4316:9;4307:7;4303:23;4299:33;4296:53;;;4345:1;4342;4335:12;4296:53;4381:9;4368:23;4358:33;;4441:2;4430:9;4426:18;4413:32;4454:31;4479:5;4454:31;:::i;:::-;4504:5;-1:-1:-1;4561:2:357;4546:18;;4533:32;4574:33;4533:32;4574:33;:::i;:::-;4626:7;-1:-1:-1;4680:2:357;4665:18;;4652:32;;-1:-1:-1;4731:3:357;4716:19;;4703:33;;-1:-1:-1;4787:3:357;4772:19;;4759:33;4815:18;4804:30;;4801:50;;;4847:1;4844;4837:12;4801:50;4886:58;4936:7;4927:6;4916:9;4912:22;4886:58;:::i;:::-;4112:892;;;;-1:-1:-1;4112:892:357;;-1:-1:-1;4112:892:357;;;;4860:84;;-1:-1:-1;;;4112:892:357:o;5191:325::-;5279:6;5274:3;5267:19;5331:6;5324:5;5317:4;5312:3;5308:14;5295:43;;5383:1;5376:4;5367:6;5362:3;5358:16;5354:27;5347:38;5249:3;5505:4;5435:66;5430:2;5422:6;5418:15;5414:88;5409:3;5405:98;5401:109;5394:116;;5191:325;;;;:::o;5521:697::-;5816:6;5805:9;5798:25;5779:4;5842:42;5932:2;5924:6;5920:15;5915:2;5904:9;5900:18;5893:43;5984:2;5976:6;5972:15;5967:2;5956:9;5952:18;5945:43;;6024:6;6019:2;6008:9;6004:18;5997:34;6080:10;6072:6;6068:23;6062:3;6051:9;6047:19;6040:52;6129:3;6123;6112:9;6108:19;6101:32;6150:62;6207:3;6196:9;6192:19;6184:6;6176;6150:62;:::i;:::-;6142:70;5521:697;-1:-1:-1;;;;;;;;;5521:697:357:o;6223:524::-;6475:42;6467:6;6463:55;6452:9;6445:74;6555:3;6550:2;6539:9;6535:18;6528:31;6426:4;6576:62;6633:3;6622:9;6618:19;6610:6;6602;6576:62;:::i;:::-;6568:70;;6674:6;6669:2;6658:9;6654:18;6647:34;6729:10;6721:6;6717:23;6712:2;6701:9;6697:18;6690:51;6223:524;;;;;;;;:::o;7174:184::-;7226:77;7223:1;7216:88;7323:4;7320:1;7313:15;7347:4;7344:1;7337:15;7363:270;7402:7;7434:18;7479:2;7476:1;7472:10;7509:2;7506:1;7502:10;7565:3;7561:2;7557:12;7552:3;7549:21;7542:3;7535:11;7528:19;7524:47;7521:73;;;7574:18;;:::i;:::-;7614:13;;7363:270;-1:-1:-1;;;;7363:270:357:o;7638:353::-;7677:1;7703:18;7748:2;7745:1;7741:10;7770:3;7760:191;;7807:77;7804:1;7797:88;7908:4;7905:1;7898:15;7936:4;7933:1;7926:15;7760:191;7969:10;;7965:20;;;;;7638:353;-1:-1:-1;;7638:353:357:o;7996:236::-;8035:3;8063:18;8108:2;8105:1;8101:10;8138:2;8135:1;8131:10;8169:3;8165:2;8161:12;8156:3;8153:21;8150:47;;;8177:18;;:::i;:::-;8213:13;;7996:236;-1:-1:-1;;;;7996:236:357:o;10118:184::-;10170:77;10167:1;10160:88;10267:4;10264:1;10257:15;10291:4;10288:1;10281:15;12526:125;12566:4;12594:1;12591;12588:8;12585:34;;;12599:18;;:::i;:::-;-1:-1:-1;12636:9:357;;12526:125::o;12656:433::-;12870:42;12862:6;12858:55;12847:9;12840:74;12962:18;12954:6;12950:31;12945:2;12934:9;12930:18;12923:59;13018:2;13013;13002:9;12998:18;12991:30;12821:4;13038:45;13079:2;13068:9;13064:18;13056:6;13038:45;:::i;:::-;13030:53;12656:433;-1:-1:-1;;;;;12656:433:357:o;13506:512::-;13700:4;13729:42;13810:2;13802:6;13798:15;13787:9;13780:34;13862:2;13854:6;13850:15;13845:2;13834:9;13830:18;13823:43;;13902:3;13897:2;13886:9;13882:18;13875:31;13923:46;13964:3;13953:9;13949:19;13941:6;13923:46;:::i;:::-;13915:54;;14005:6;14000:2;13989:9;13985:18;13978:34;13506:512;;;;;;;:::o;14023:656::-;14310:6;14299:9;14292:25;14273:4;14336:42;14426:2;14418:6;14414:15;14409:2;14398:9;14394:18;14387:43;14478:2;14470:6;14466:15;14461:2;14450:9;14446:18;14439:43;;14518:6;14513:2;14502:9;14498:18;14491:34;14562:6;14556:3;14545:9;14541:19;14534:35;14606:3;14600;14589:9;14585:19;14578:32;14627:46;14668:3;14657:9;14653:19;14645:6;14627:46;:::i;:::-;14619:54;14023:656;-1:-1:-1;;;;;;;;14023:656:357:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","MIN_GAS_CALLDATA_OVERHEAD()":"028f85f7","MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":"0c568498","MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":"2828d7e8","OTHER_MESSENGER()":"9fce812c","RELAY_CALL_OVERHEAD()":"4c1d6a69","RELAY_CONSTANT_OVERHEAD()":"83a74074","RELAY_GAS_CHECK_BUFFER()":"5644cfdf","RELAY_RESERVED_GAS()":"8cbeeef2","baseGas(bytes,uint32)":"b28ade25","failedMessages(bytes32)":"a4e7f8bd","initialize(address)":"c4d66de8","l1CrossDomainMessenger()":"a7119869","messageNonce()":"ecc70428","otherMessenger()":"db505d80","paused()":"5c975abb","relayMessage(uint256,address,address,uint256,uint256,bytes)":"d764ad0b","sendMessage(address,bytes,uint32)":"3dbb202b","successfulMessages(bytes32)":"b1b1b209","version()":"54fd4d50","xDomainMessageSender()":"6e296e45"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"FailedRelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"RelayedMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"bytes","name":"message","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"messageNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"}],"name":"SentMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SentMessageExtension1","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_CALLDATA_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CALL_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_CONSTANT_OVERHEAD","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_GAS_CHECK_BUFFER","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RELAY_RESERVED_GAS","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"baseGas","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract CrossDomainMessenger","name":"_l1CrossDomainMessenger","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l1CrossDomainMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherMessenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_minGasLimit","type":"uint256"},{"internalType":"bytes","name":"_message","type":"bytes"}],"name":"relayMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"successfulMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xDomainMessageSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000007","kind":"dev","methods":{"OTHER_MESSENGER()":{"custom:legacy":"","returns":{"_0":"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{"params":{"_message":"Message to compute the amount of required gas for.","_minGasLimit":"Minimum desired gas limit when message goes to target."},"returns":{"_0":"Amount of gas required to guarantee message receipt."}},"initialize(address)":{"params":{"_l1CrossDomainMessenger":"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"","returns":{"_0":"L1CrossDomainMessenger contract."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"params":{"_message":"Message to send to the target.","_minGasLimit":"Minimum amount of gas that the message can be executed with.","_nonce":"Nonce of the message being relayed.","_sender":"Address of the user who sent the message.","_target":"Address that the message is targeted at.","_value":"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{"params":{"_message":"Message to trigger the target address with.","_minGasLimit":"Minimum gas limit that the message can be executed with.","_target":"Target contract or wallet address."}},"xDomainMessageSender()":{"returns":{"_0":"Address of the sender of the currently executing message on the other chain."}}},"stateVariables":{"version":{"custom:semver":"2.0.0"}},"title":"L2CrossDomainMessenger","version":1},"userdoc":{"events":{"FailedRelayedMessage(bytes32)":{"notice":"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{"notice":"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{"notice":"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{"notice":"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{"notice":"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{"notice":"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{"notice":"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{"notice":"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{"notice":"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{"notice":"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{"notice":"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{"notice":"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{"notice":"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},"constructor":{"notice":"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{"notice":"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{"notice":"Initializer."},"l1CrossDomainMessenger()":{"notice":"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{"notice":"CrossDomainMessenger contract on the other chain."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{"notice":"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{"notice":"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{"notice":"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{"notice":"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},"notice":"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts.","version":1}},"settings":{"compilationTarget":{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L2/L2CrossDomainMessenger.sol":{"keccak256":"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355","license":"MIT","urls":["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"]},"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"FailedRelayedMessage",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"msgHash",type:"bytes32",indexed:!0}],type:"event",name:"RelayedMessage",anonymous:!1},{inputs:[{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!1},{internalType:"bytes",name:"message",type:"bytes",indexed:!1},{internalType:"uint256",name:"messageNonce",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1}],type:"event",name:"SentMessage",anonymous:!1},{inputs:[{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1}],type:"event",name:"SentMessageExtension1",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_CALLDATA_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CALL_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_CONSTANT_OVERHEAD",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_GAS_CHECK_BUFFER",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"RELAY_RESERVED_GAS",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"pure",type:"function",name:"baseGas",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"failedMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"contract CrossDomainMessenger",name:"_l1CrossDomainMessenger",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l1CrossDomainMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherMessenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[{internalType:"uint256",name:"_nonce",type:"uint256"},{internalType:"address",name:"_sender",type:"address"},{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint256",name:"_minGasLimit",type:"uint256"},{internalType:"bytes",name:"_message",type:"bytes"}],stateMutability:"payable",type:"function",name:"relayMessage"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"bytes",name:"_message",type:"bytes"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"}],stateMutability:"payable",type:"function",name:"sendMessage"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"successfulMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"xDomainMessageSender",outputs:[{internalType:"address",name:"",type:"address"}]}],devdoc:{kind:"dev",methods:{"OTHER_MESSENGER()":{"custom:legacy":"",returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{"custom:legacy":"",returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2CrossDomainMessenger.sol":"L2CrossDomainMessenger"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L2/L2CrossDomainMessenger.sol":{keccak256:"0xe6f3989bb296a3b8678a0d0734788cfdef8ed6632df10cba23af5a369293d355",urls:["bzz-raw://1ec3c85753657891b6c6bc5a7b941ac7cffd312f9589683e006f2d0f5b725f4b","dweb:/ipfs/QmTSLy4kv3ZVUR158NED6x31vy9J69wQunHWkJVDU5VYDC"],license:"MIT"},"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:108324,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_0_0_20",offset:0,slot:"0",type:"t_address"},{astId:46970,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initialized",offset:20,slot:"0",type:"t_uint8"},{astId:46973,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"_initializing",offset:21,slot:"0",type:"t_bool"},{astId:108331,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_1_0_1600",offset:0,slot:"1",type:"t_array(t_uint256)50_storage"},{astId:108334,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_51_0_20",offset:0,slot:"51",type:"t_address"},{astId:108339,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_52_0_1568",offset:0,slot:"52",type:"t_array(t_uint256)49_storage"},{astId:108342,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_101_0_1",offset:0,slot:"101",type:"t_bool"},{astId:108347,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_102_0_1568",offset:0,slot:"102",type:"t_array(t_uint256)49_storage"},{astId:108350,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_151_0_32",offset:0,slot:"151",type:"t_uint256"},{astId:108355,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_152_0_1568",offset:0,slot:"152",type:"t_array(t_uint256)49_storage"},{astId:108360,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_201_0_32",offset:0,slot:"201",type:"t_mapping(t_bytes32,t_bool)"},{astId:108365,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"spacer_202_0_32",offset:0,slot:"202",type:"t_mapping(t_bytes32,t_bool)"},{astId:108410,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"successfulMessages",offset:0,slot:"203",type:"t_mapping(t_bytes32,t_bool)"},{astId:108413,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"xDomainMsgSender",offset:0,slot:"204",type:"t_address"},{astId:108416,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"msgNonce",offset:0,slot:"205",type:"t_uint240"},{astId:108421,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"failedMessages",offset:0,slot:"206",type:"t_mapping(t_bytes32,t_bool)"},{astId:108425,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"otherMessenger",offset:0,slot:"207",type:"t_contract(CrossDomainMessenger)108888"},{astId:108430,contract:"src/L2/L2CrossDomainMessenger.sol:L2CrossDomainMessenger",label:"__gap",offset:0,slot:"208",type:"t_array(t_uint256)43_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)43_storage":{encoding:"inplace",label:"uint256[43]",numberOfBytes:"1376",base:"t_uint256"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},"t_array(t_uint256)50_storage":{encoding:"inplace",label:"uint256[50]",numberOfBytes:"1600",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"Current message version identifier."},"MIN_GAS_CALLDATA_OVERHEAD()":{notice:"Extra gas added to base gas for each byte of calldata in a message."},"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR()":{notice:"Denominator for dynamic overhead added to the base gas for a message."},"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR()":{notice:"Numerator for dynamic overhead added to the base gas for a message."},"OTHER_MESSENGER()":{notice:"Retrieves the address of the paired CrossDomainMessenger contract on the other chain Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"RELAY_CALL_OVERHEAD()":{notice:"Gas reserved for performing the external call in `relayMessage`."},"RELAY_CONSTANT_OVERHEAD()":{notice:"Constant overhead added to the base gas for a message."},"RELAY_GAS_CHECK_BUFFER()":{notice:"Gas reserved for the execution between the `hasMinGas` check and the external call in `relayMessage`."},"RELAY_RESERVED_GAS()":{notice:"Gas reserved for finalizing the execution of `relayMessage` after the safe call."},"baseGas(bytes,uint32)":{notice:"Computes the amount of gas required to guarantee that a given message will be received on the other chain without running out of gas. Guaranteeing that a message will not run out of gas is important because this ensures that a message can always be replayed on the other chain if it fails to execute completely."},constructor:{notice:"Constructs the L2CrossDomainMessenger contract."},"failedMessages(bytes32)":{notice:"Mapping of message hashes to a boolean if and only if the message has failed to be executed at least once. A message will not be present in this mapping if it successfully executed on the first attempt."},"initialize(address)":{notice:"Initializer."},"l1CrossDomainMessenger()":{notice:"Getter for the remote messenger. Public getter is legacy and will be removed in the future. Use `otherMessenger()` instead."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"otherMessenger()":{notice:"CrossDomainMessenger contract on the other chain."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{notice:"Relays a message that was sent by the other CrossDomainMessenger contract. Can only be executed via cross-chain call from the other messenger OR if the message was already received once and is currently being replayed."},"sendMessage(address,bytes,uint32)":{notice:"Sends a message to some target address on the other chain. Note that if the call always reverts, then the message will be unrelayable, and any ETH sent will be permanently locked. The same will occur if the target on the other chain is considered unsafe (see the _isUnsafeTarget() function)."},"successfulMessages(bytes32)":{notice:"Mapping of message hashes to boolean receipt values. Note that a message will only be present in this mapping if it has successfully been relayed on this chain, and can therefore not be relayed again."},"xDomainMessageSender()":{notice:"Retrieves the address of the contract or wallet that initiated the currently executing message on the other chain. Will throw an error if there is no message currently being executed. Allows the recipient of a call to see who triggered it."}},events:{"FailedRelayedMessage(bytes32)":{notice:"Emitted whenever a message fails to be relayed on this chain."},"RelayedMessage(bytes32)":{notice:"Emitted whenever a message is successfully relayed on this chain."},"SentMessage(address,address,bytes,uint256,uint256)":{notice:"Emitted whenever a message is sent to the other chain."},"SentMessageExtension1(address,uint256)":{notice:"Additional event data to emit, required as of Bedrock. Cannot be merged with the SentMessage event without breaking the ABI of this contract, this is good enough."}},notice:"The L2CrossDomainMessenger is a high-level interface for message passing between L1 and L2 on the L2 side. Users are generally encouraged to use this contract instead of lower level message passing contracts."},devdoc:{version:1,kind:"dev",methods:{"OTHER_MESSENGER()":{returns:{_0:"CrossDomainMessenger contract on the other chain."}},"baseGas(bytes,uint32)":{params:{_message:"Message to compute the amount of required gas for.",_minGasLimit:"Minimum desired gas limit when message goes to target."},returns:{_0:"Amount of gas required to guarantee message receipt."}},"initialize(address)":{params:{_l1CrossDomainMessenger:"L1CrossDomainMessenger contract on the other network."}},"l1CrossDomainMessenger()":{returns:{_0:"L1CrossDomainMessenger contract."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}},"relayMessage(uint256,address,address,uint256,uint256,bytes)":{params:{_message:"Message to send to the target.",_minGasLimit:"Minimum amount of gas that the message can be executed with.",_nonce:"Nonce of the message being relayed.",_sender:"Address of the user who sent the message.",_target:"Address that the message is targeted at.",_value:"ETH value to send with the message."}},"sendMessage(address,bytes,uint32)":{params:{_message:"Message to trigger the target address with.",_minGasLimit:"Minimum gas limit that the message can be executed with.",_target:"Target contract or wallet address."}},"xDomainMessageSender()":{returns:{_0:"Address of the sender of the currently executing message on the other chain."}}},title:"L2CrossDomainMessenger"},ast:{absolutePath:"src/L2/L2CrossDomainMessenger.sol",id:90489,exportedSymbols:{AddressAliasHelper:[111913],Constants:[103096],CrossDomainMessenger:[108888],ISemver:[109417],L2CrossDomainMessenger:[90488],L2ToL1MessagePasser:[91307],Predeploys:[104124]},nodeType:"SourceUnit",src:"32:2533:147",nodes:[{id:90353,nodeType:"PragmaDirective",src:"32:23:147",nodes:[],literals:["solidity","0.8",".15"]},{id:90355,nodeType:"ImportDirective",src:"57:71:147",nodes:[],absolutePath:"src/vendor/AddressAliasHelper.sol",file:"src/vendor/AddressAliasHelper.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:111914,symbolAliases:[{foreign:{id:90354,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"66:18:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90357,nodeType:"ImportDirective",src:"129:58:147",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:104125,symbolAliases:[{foreign:{id:90356,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"138:10:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90359,nodeType:"ImportDirective",src:"188:78:147",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:108889,symbolAliases:[{foreign:{id:90358,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"197:20:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90361,nodeType:"ImportDirective",src:"267:52:147",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:109418,symbolAliases:[{foreign:{id:90360,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"276:7:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90363,nodeType:"ImportDirective",src:"320:69:147",nodes:[],absolutePath:"src/L2/L2ToL1MessagePasser.sol",file:"src/L2/L2ToL1MessagePasser.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:91308,symbolAliases:[{foreign:{id:90362,name:"L2ToL1MessagePasser",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91307,src:"329:19:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90365,nodeType:"ImportDirective",src:"390:56:147",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:90489,sourceUnit:103097,symbolAliases:[{foreign:{id:90364,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"399:9:147",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90488,nodeType:"ContractDefinition",src:"812:1752:147",nodes:[{id:90374,nodeType:"VariableDeclaration",src:"912:40:147",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:90371,nodeType:"StructuredDocumentation",src:"883:24:147",text:"@custom:semver 2.0.0"},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"935:7:147",scope:90488,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:90372,name:"string",nodeType:"ElementaryTypeName",src:"912:6:147",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"322e302e30",id:90373,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"945:7:147",typeDescriptions:{typeIdentifier:"t_stringliteral_b4bcb154e38601c389396fa918314da42d4626f13ef6d0ceb07e5f5d26b2fbc3",typeString:'literal_string "2.0.0"'},value:"2.0.0"},visibility:"public"},{id:90390,nodeType:"FunctionDefinition",src:"1023:127:147",nodes:[],body:{id:90389,nodeType:"Block",src:"1060:90:147",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:90384,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1137:1:147",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:90383,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1129:7:147",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90382,name:"address",nodeType:"ElementaryTypeName",src:"1129:7:147",typeDescriptions:{}}},id:90385,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1129:10:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90381,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"1108:20:147",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:90386,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1108:32:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}],id:90380,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90404,src:"1070:10:147",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$returns$__$",typeString:"function (contract CrossDomainMessenger)"}},id:90387,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_l1CrossDomainMessenger"],nodeType:"FunctionCall",src:"1070:73:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90388,nodeType:"ExpressionStatement",src:"1070:73:147"}]},documentation:{id:90375,nodeType:"StructuredDocumentation",src:"959:59:147",text:"@notice Constructs the L2CrossDomainMessenger contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:90378,kind:"baseConstructorSpecifier",modifierName:{id:90377,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"1037:20:147"},nodeType:"ModifierInvocation",src:"1037:22:147"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:90376,nodeType:"ParameterList",parameters:[],src:"1034:2:147"},returnParameters:{id:90379,nodeType:"ParameterList",parameters:[],src:"1060:0:147"},scope:90488,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90404,nodeType:"FunctionDefinition",src:"1278:175:147",nodes:[],body:{id:90403,nodeType:"Block",src:"1363:90:147",nodes:[],statements:[{expression:{arguments:[{id:90400,name:"_l1CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90394,src:"1420:23:147",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}],id:90399,name:"__CrossDomainMessenger_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108852,src:"1373:27:147",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$returns$__$",typeString:"function (contract CrossDomainMessenger)"}},id:90401,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_otherMessenger"],nodeType:"FunctionCall",src:"1373:73:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90402,nodeType:"ExpressionStatement",src:"1373:73:147"}]},documentation:{id:90391,nodeType:"StructuredDocumentation",src:"1156:117:147",text:`@notice Initializer. + @param _l1CrossDomainMessenger L1CrossDomainMessenger contract on the other network.`},functionSelector:"c4d66de8",implemented:!0,kind:"function",modifiers:[{id:90397,kind:"modifierInvocation",modifierName:{id:90396,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:47034,src:"1351:11:147"},nodeType:"ModifierInvocation",src:"1351:11:147"}],name:"initialize",nameLocation:"1287:10:147",parameters:{id:90395,nodeType:"ParameterList",parameters:[{constant:!1,id:90394,mutability:"mutable",name:"_l1CrossDomainMessenger",nameLocation:"1319:23:147",nodeType:"VariableDeclaration",scope:90404,src:"1298:44:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},typeName:{id:90393,nodeType:"UserDefinedTypeName",pathNode:{id:90392,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"1298:20:147"},referencedDeclaration:108888,src:"1298:20:147",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},visibility:"internal"}],src:"1297:46:147"},returnParameters:{id:90398,nodeType:"ParameterList",parameters:[],src:"1363:0:147"},scope:90488,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90414,nodeType:"FunctionDefinition",src:"1687:115:147",nodes:[],body:{id:90413,nodeType:"Block",src:"1764:38:147",nodes:[],statements:[{expression:{id:90411,name:"otherMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108425,src:"1781:14:147",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},functionReturnParameters:90410,id:90412,nodeType:"Return",src:"1774:21:147"}]},documentation:{id:90405,nodeType:"StructuredDocumentation",src:"1459:223:147",text:`@notice Getter for the remote messenger. + Public getter is legacy and will be removed in the future. Use \`otherMessenger()\` instead. + @return L1CrossDomainMessenger contract. + @custom:legacy`},functionSelector:"a7119869",implemented:!0,kind:"function",modifiers:[],name:"l1CrossDomainMessenger",nameLocation:"1696:22:147",parameters:{id:90406,nodeType:"ParameterList",parameters:[],src:"1718:2:147"},returnParameters:{id:90410,nodeType:"ParameterList",parameters:[{constant:!1,id:90409,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90414,src:"1742:20:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},typeName:{id:90408,nodeType:"UserDefinedTypeName",pathNode:{id:90407,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"1742:20:147"},referencedDeclaration:108888,src:"1742:20:147",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},visibility:"internal"}],src:"1741:22:147"},scope:90488,stateMutability:"view",virtual:!1,visibility:"public"},{id:90443,nodeType:"FunctionDefinition",src:"1849:269:147",nodes:[],body:{id:90442,nodeType:"Block",src:"1956:162:147",nodes:[],statements:[{expression:{arguments:[{id:90437,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90417,src:"2080:3:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90438,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90419,src:"2085:9:147",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{id:90439,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90423,src:"2096:5:147",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{arguments:[{arguments:[{expression:{id:90430,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"1994:10:147",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90431,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_TO_L1_MESSAGE_PASSER",nodeType:"MemberAccess",referencedDeclaration:104e3,src:"1994:34:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90429,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1986:8:147",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:90428,name:"address",nodeType:"ElementaryTypeName",src:"1986:8:147",stateMutability:"payable",typeDescriptions:{}}},id:90432,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1986:43:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:90427,name:"L2ToL1MessagePasser",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91307,src:"1966:19:147",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L2ToL1MessagePasser_$91307_$",typeString:"type(contract L2ToL1MessagePasser)"}},id:90433,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1966:64:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L2ToL1MessagePasser_$91307",typeString:"contract L2ToL1MessagePasser"}},id:90434,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"initiateWithdrawal",nodeType:"MemberAccess",referencedDeclaration:91293,src:"1966:83:147",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,uint256,bytes memory) payable external"}},id:90436,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{id:90435,name:"_value",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90421,src:"2058:6:147",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"1966:100:147",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$value",typeString:"function (address,uint256,bytes memory) payable external"}},id:90440,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1966:145:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90441,nodeType:"ExpressionStatement",src:"1966:145:147"}]},baseFunctions:[108864],documentation:{id:90415,nodeType:"StructuredDocumentation",src:"1808:36:147",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_sendMessage",nameLocation:"1858:12:147",overrides:{id:90425,nodeType:"OverrideSpecifier",overrides:[],src:"1947:8:147"},parameters:{id:90424,nodeType:"ParameterList",parameters:[{constant:!1,id:90417,mutability:"mutable",name:"_to",nameLocation:"1879:3:147",nodeType:"VariableDeclaration",scope:90443,src:"1871:11:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90416,name:"address",nodeType:"ElementaryTypeName",src:"1871:7:147",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90419,mutability:"mutable",name:"_gasLimit",nameLocation:"1891:9:147",nodeType:"VariableDeclaration",scope:90443,src:"1884:16:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:90418,name:"uint64",nodeType:"ElementaryTypeName",src:"1884:6:147",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:90421,mutability:"mutable",name:"_value",nameLocation:"1910:6:147",nodeType:"VariableDeclaration",scope:90443,src:"1902:14:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90420,name:"uint256",nodeType:"ElementaryTypeName",src:"1902:7:147",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90423,mutability:"mutable",name:"_data",nameLocation:"1931:5:147",nodeType:"VariableDeclaration",scope:90443,src:"1918:18:147",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90422,name:"bytes",nodeType:"ElementaryTypeName",src:"1918:5:147",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"1870:67:147"},returnParameters:{id:90426,nodeType:"ParameterList",parameters:[],src:"1956:0:147"},scope:90488,stateMutability:"nonpayable",virtual:!1,visibility:"internal"},{id:90462,nodeType:"FunctionDefinition",src:"2165:164:147",nodes:[],body:{id:90461,nodeType:"Block",src:"2232:97:147",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90459,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{expression:{id:90452,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"2284:3:147",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:90453,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"2284:10:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{id:90450,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"2249:18:147",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_AddressAliasHelper_$111913_$",typeString:"type(library AddressAliasHelper)"}},id:90451,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"undoL1ToL2Alias",nodeType:"MemberAccess",referencedDeclaration:111912,src:"2249:34:147",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_address_$returns$_t_address_$",typeString:"function (address) pure returns (address)"}},id:90454,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2249:46:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:90457,name:"otherMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108425,src:"2307:14:147",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}],id:90456,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2299:7:147",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90455,name:"address",nodeType:"ElementaryTypeName",src:"2299:7:147",typeDescriptions:{}}},id:90458,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2299:23:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2249:73:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:90449,id:90460,nodeType:"Return",src:"2242:80:147"}]},baseFunctions:[108870],documentation:{id:90444,nodeType:"StructuredDocumentation",src:"2124:36:147",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_isOtherMessenger",nameLocation:"2174:17:147",overrides:{id:90446,nodeType:"OverrideSpecifier",overrides:[],src:"2208:8:147"},parameters:{id:90445,nodeType:"ParameterList",parameters:[],src:"2191:2:147"},returnParameters:{id:90449,nodeType:"ParameterList",parameters:[{constant:!1,id:90448,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90462,src:"2226:4:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:90447,name:"bool",nodeType:"ElementaryTypeName",src:"2226:4:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"2225:6:147"},scope:90488,stateMutability:"view",virtual:!1,visibility:"internal"},{id:90487,nodeType:"FunctionDefinition",src:"2376:186:147",nodes:[],body:{id:90486,nodeType:"Block",src:"2456:106:147",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:90484,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90476,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90471,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90465,src:"2473:7:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:90474,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"2492:4:147",typeDescriptions:{typeIdentifier:"t_contract$_L2CrossDomainMessenger_$90488",typeString:"contract L2CrossDomainMessenger"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L2CrossDomainMessenger_$90488",typeString:"contract L2CrossDomainMessenger"}],id:90473,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2484:7:147",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90472,name:"address",nodeType:"ElementaryTypeName",src:"2484:7:147",typeDescriptions:{}}},id:90475,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2484:13:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2473:24:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90483,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90477,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90465,src:"2501:7:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{expression:{id:90480,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"2520:10:147",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90481,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_TO_L1_MESSAGE_PASSER",nodeType:"MemberAccess",referencedDeclaration:104e3,src:"2520:34:147",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90479,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2512:7:147",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90478,name:"address",nodeType:"ElementaryTypeName",src:"2512:7:147",typeDescriptions:{}}},id:90482,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2512:43:147",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2501:54:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"2473:82:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:90470,id:90485,nodeType:"Return",src:"2466:89:147"}]},baseFunctions:[108878],documentation:{id:90463,nodeType:"StructuredDocumentation",src:"2335:36:147",text:"@inheritdoc CrossDomainMessenger"},implemented:!0,kind:"function",modifiers:[],name:"_isUnsafeTarget",nameLocation:"2385:15:147",overrides:{id:90467,nodeType:"OverrideSpecifier",overrides:[],src:"2432:8:147"},parameters:{id:90466,nodeType:"ParameterList",parameters:[{constant:!1,id:90465,mutability:"mutable",name:"_target",nameLocation:"2409:7:147",nodeType:"VariableDeclaration",scope:90487,src:"2401:15:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90464,name:"address",nodeType:"ElementaryTypeName",src:"2401:7:147",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2400:17:147"},returnParameters:{id:90470,nodeType:"ParameterList",parameters:[{constant:!1,id:90469,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:90487,src:"2450:4:147",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:90468,name:"bool",nodeType:"ElementaryTypeName",src:"2450:4:147",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"2449:6:147"},scope:90488,stateMutability:"view",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:90367,name:"CrossDomainMessenger",nodeType:"IdentifierPath",referencedDeclaration:108888,src:"847:20:147"},id:90368,nodeType:"InheritanceSpecifier",src:"847:20:147"},{baseName:{id:90369,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"869:7:147"},id:90370,nodeType:"InheritanceSpecifier",src:"869:7:147"}],canonicalName:"L2CrossDomainMessenger",contractDependencies:[],contractKind:"contract",documentation:{id:90366,nodeType:"StructuredDocumentation",src:"448:364:147",text:`@custom:proxied + @custom:predeploy 0x4200000000000000000000000000000000000007 + @title L2CrossDomainMessenger + @notice The L2CrossDomainMessenger is a high-level interface for message passing between L1 and + L2 on the L2 side. Users are generally encouraged to use this contract instead of lower + level message passing contracts.`},fullyImplemented:!0,linearizedBaseContracts:[90488,109417,108888,108366,47114,108325],name:"L2CrossDomainMessenger",nameLocation:"821:22:147",scope:90489,usedErrors:[]}],license:"MIT"},id:147}});var MYe=B((ala,uj0)=>{uj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"MESSENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"OTHER_BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"bridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bridgeERC721To",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_minGasLimit",type:"uint32",internalType:"uint32"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeBridgeERC721",inputs:[{name:"_localToken",type:"address",internalType:"address"},{name:"_remoteToken",type:"address",internalType:"address"},{name:"_from",type:"address",internalType:"address"},{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_extraData",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_l1ERC721Bridge",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"messenger",inputs:[],outputs:[{name:"",type:"address",internalType:"contract CrossDomainMessenger"}],stateMutability:"view"},{type:"function",name:"otherBridge",inputs:[],outputs:[{name:"",type:"address",internalType:"contract StandardBridge"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ERC721BridgeFinalized",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"ERC721BridgeInitiated",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"extraData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b506200001e600062000024565b62000217565b600054610100900460ff1615808015620000455750600054600160ff909116105b8062000075575062000062306200016d60201b62000a3e1760201c565b15801562000075575060005460ff166001145b620000de5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000102576000805461ff0019166101001790555b62000122734200000000000000000000000000000000000007836200017c565b801562000169576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff16620001e95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d5565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055565b61160c80620002276000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:148:-:0;;;1576:98;;;;;;;;;-1:-1:-1;1615:52:148::1;1661:1;1615:10;:52::i;:::-;1389:4507:::0;;1813:263;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;1895:174:148::1;480:42:199;2042:15:148::0;1895:19:::1;:174::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;1813:263:148;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;3043:234:224:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;830:2:357;4880:69:43;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4880:69:43;628:407:357;4880:69:43;3212:9:224::1;:22:::0;;-1:-1:-1;;;;;3212:22:224;;::::1;-1:-1:-1::0;;;;;;3212:22:224;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;628:407:357:-;1389:4507:148;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80637f46ddb211610076578063aa5574521161005b578063aa557452146101c9578063c4d66de8146101dc578063c89701a2146101ef57600080fd5b80637f46ddb21461018d578063927ede2d146101ab57600080fd5b806354fd4d50116100a757806354fd4d50146101225780635c975abb1461016b578063761f44931461017a57600080fd5b80633687011a146100c35780633cb747bf146100d8575b600080fd5b6100d66100d136600461128a565b61020f565b005b6001546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61015e6040518060400160405280600581526020017f312e372e3000000000000000000000000000000000000000000000000000000081525081565b6040516101199190611378565b60405160008152602001610119565b6100d661018836600461138b565b6102bb565b60025473ffffffffffffffffffffffffffffffffffffffff166100f8565b60015473ffffffffffffffffffffffffffffffffffffffff166100f8565b6100d66101d7366004611423565b6107d9565b6100d66101ea36600461149a565b610895565b6002546100f89073ffffffffffffffffffffffffffffffffffffffff1681565b333b156102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732314272696467653a206163636f756e74206973206e6f742065787460448201527f65726e616c6c79206f776e65640000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102b38686333388888888610a5a565b505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480156103905750600254600154604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9384169390921691636e296e45916004808201926020929091908290030181865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037891906114b7565b73ffffffffffffffffffffffffffffffffffffffff16145b61041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4552433732314272696467653a2066756e6374696f6e2063616e206f6e6c792060448201527f62652063616c6c65642066726f6d20746865206f746865722062726964676500606482015260840161029a565b3073ffffffffffffffffffffffffffffffffffffffff8816036104c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e60448201527f6f742062652073656c6600000000000000000000000000000000000000000000606482015260840161029a565b6104eb877f74259ebf00000000000000000000000000000000000000000000000000000000610fc2565b610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324552433732314272696467653a206c6f63616c20746f6b656e20696e746560448201527f7266616365206973206e6f7420636f6d706c69616e7400000000000000000000606482015260840161029a565b8673ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b60448201527f656e20666f72204f7074696d69736d204d696e7461626c65204552433732312060648201527f6c6f63616c20746f6b656e000000000000000000000000000000000000000000608482015260a40161029a565b6040517fa144819400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905288169063a144819490604401600060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f1f39bf6707b5d608453e0ae4c067b562bcc4c85c0f562ef5d2c774d2e7f131ac878787876040516107c8949392919061151d565b60405180910390a450505050505050565b73ffffffffffffffffffffffffffffffffffffffff851661087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4552433732314272696467653a206e667420726563697069656e742063616e6e60448201527f6f74206265206164647265737328302900000000000000000000000000000000606482015260840161029a565b61088c8787338888888888610a5a565b50505050505050565b600054610100900460ff16158080156108b55750600054600160ff909116105b806108cf5750303b1580156108cf575060005460ff166001145b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161029a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156109b957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6109d773420000000000000000000000000000000000000783610fe5565b8015610a3a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b73ffffffffffffffffffffffffffffffffffffffff8716610afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e60448201527f6e6f742062652061646472657373283029000000000000000000000000000000606482015260840161029a565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff891690636352211e90602401602060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c91906114b7565b73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610c46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324552433732314272696467653a205769746864726177616c206973206e6f60448201527f74206265696e6720696e69746961746564206279204e4654206f776e65720000606482015260840161029a565b60008873ffffffffffffffffffffffffffffffffffffffff1663d6c0b2c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb791906114b7565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6560448201527f73206e6f74206d6174636820676976656e2076616c7565000000000000000000606482015260840161029a565b6040517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152602482018790528a1690639dc29fac90604401600060405180830381600087803b158015610de457600080fd5b505af1158015610df8573d6000803e3d6000fd5b50505050600063761f449360e01b828b8a8a8a8989604051602401610e23979695949392919061155d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925260015460025492517f3dbb202b00000000000000000000000000000000000000000000000000000000815291935073ffffffffffffffffffffffffffffffffffffffff90811692633dbb202b92610f0292919091169085908a906004016115ba565b600060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050508773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167fb7460e2a880f256ebef3406116ff3eee0cee51ebccdc2a40698f87ebb2e9c1a58a8a8989604051610fae949392919061151d565b60405180910390a450505050505050505050565b6000610fcd836110cf565b8015610fde5750610fde8383611134565b9392505050565b600054610100900460ff1661107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161029a565b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560028054929093169116179055565b60006110fb827f01ffc9a700000000000000000000000000000000000000000000000000000000611134565b801561112e575061112c827fffffffff00000000000000000000000000000000000000000000000000000000611134565b155b92915050565b604080517fffffffff000000000000000000000000000000000000000000000000000000008316602480830191909152825180830390910181526044909101909152602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825160009392849283928392918391908a617530fa92503d915060005190508280156111ec575060208210155b80156111f85750600081115b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461122557600080fd5b50565b803563ffffffff8116811461123c57600080fd5b919050565b60008083601f84011261125357600080fd5b50813567ffffffffffffffff81111561126b57600080fd5b60208301915083602082850101111561128357600080fd5b9250929050565b60008060008060008060a087890312156112a357600080fd5b86356112ae81611203565b955060208701356112be81611203565b9450604087013593506112d360608801611228565b9250608087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a01611241565b979a9699509497509295939492505050565b6000815180845260005b8181101561133357602081850181015186830182015201611317565b81811115611345576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fde602083018461130d565b600080600080600080600060c0888a0312156113a657600080fd5b87356113b181611203565b965060208801356113c181611203565b955060408801356113d181611203565b945060608801356113e181611203565b93506080880135925060a088013567ffffffffffffffff81111561140457600080fd5b6114108a828b01611241565b989b979a50959850939692959293505050565b600080600080600080600060c0888a03121561143e57600080fd5b873561144981611203565b9650602088013561145981611203565b9550604088013561146981611203565b94506060880135935061147e60808901611228565b925060a088013567ffffffffffffffff81111561140457600080fd5b6000602082840312156114ac57600080fd5b8135610fde81611203565b6000602082840312156114c957600080fd5b8151610fde81611203565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006115536060830184866114d4565b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a1683528089166020840152808816604084015280871660608401525084608083015260c060a08301526115ad60c0830184866114d4565b9998505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff841681526060602082015260006115e9606083018561130d565b905063ffffffff8316604083015294935050505056fea164736f6c634300080f000a",sourceMap:"1389:4507:148:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5688:971:224;;;;;;:::i;:::-;;:::i;:::-;;829:37;;;;;;;;;;;;1732:42:357;1720:55;;;1702:74;;1690:2;1675:18;829:37:224;;;;;;;;1473:40:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4239:82:224:-;;;4286:4;2688:41:357;;2676:2;2661:18;4239:82:224;2548:187:357;2843:1275:148;;;;;;:::i;:::-;;:::i;3858:98:224:-;3938:11;;;;3858:98;;3511:99;3594:9;;;;3511:99;;7885:428;;;;;;:::i;:::-;;:::i;1813:263:148:-;;;;;;:::i;:::-;;:::i;967:33:224:-;;;;;;;;;5688:971;6472:10;1465:19:59;:23;6444:89:224;;;;;;;5483:2:357;6444:89:224;;;5465:21:357;5522:2;5502:18;;;5495:30;5561:34;5541:18;;;5534:62;5632:15;5612:18;;;5605:43;5665:19;;6444:89:224;;;;;;;;;6544:108;6566:11;6579:12;6593:10;6605;6617:8;6627:12;6641:10;;6544:21;:108::i;:::-;5688:971;;;;;;:::o;2843:1275:148:-;2669:9:224;;;;2647:10;:32;:92;;;;-1:-1:-1;2727:11:224;;;2683:9;:32;;;;;;;;2727:11;;;;;2683:9;;;;:30;;:32;;;;;;;;;;;;;;;:9;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;2647:92;2626:202;;;;;;;6153:2:357;2626:202:224;;;6135:21:357;6192:2;6172:18;;;6165:30;6231:34;6211:18;;;6204:62;6302:33;6282:18;;;6275:61;6353:19;;2626:202:224;5951:427:357;2626:202:224;3129:4:148::1;3106:28;::::0;::::1;::::0;3098:83:::1;;;::::0;::::1;::::0;;6585:2:357;3098:83:148::1;::::0;::::1;6567:21:357::0;6624:2;6604:18;;;6597:30;6663:34;6643:18;;;6636:62;6734:12;6714:18;;;6707:40;6764:19;;3098:83:148::1;6383:406:357::0;3098:83:148::1;3331:87;3363:11;3376:41;3331:31;:87::i;:::-;3310:188;;;::::0;::::1;::::0;;6996:2:357;3310:188:148::1;::::0;::::1;6978:21:357::0;7035:2;7015:18;;;7008:30;7074:34;7054:18;;;7047:62;7145:24;7125:18;;;7118:52;7187:19;;3310:188:148::1;6794:418:357::0;3310:188:148::1;3570:11;3546:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3530:66;;:12;:66;;;3509:188;;;::::0;::::1;::::0;;7419:2:357;3509:188:148::1;::::0;::::1;7401:21:357::0;7458:2;7438:18;;;7431:30;7497:34;7477:18;;;7470:62;7568:34;7548:18;;;7541:62;7640:13;7619:19;;;7612:42;7671:19;;3509:188:148::1;7217:479:357::0;3509:188:148::1;3898:60;::::0;;;;:45:::1;7893:55:357::0;;;3898:60:148::1;::::0;::::1;7875:74:357::0;7965:18;;;7958:34;;;3898:45:148;::::1;::::0;::::1;::::0;7848:18:357;;3898:60:148::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4078:5;4029:82;;4064:12;4029:82;;4051:11;4029:82;;;4085:3;4090:8;4100:10;;4029:82;;;;;;;;;:::i;:::-;;;;;;;;2843:1275:::0;;;;;;;:::o;7885:428:224:-;8124:17;;;8116:78;;;;;;;8975:2:357;8116:78:224;;;8957:21:357;9014:2;8994:18;;;8987:30;9053:34;9033:18;;;9026:62;9124:18;9104;;;9097:46;9160:19;;8116:78:224;8773:412:357;8116:78:224;8205:101;8227:11;8240:12;8254:10;8266:3;8271:8;8281:12;8295:10;;8205:21;:101::i;:::-;7885:428;;;;;;;:::o;1813:263:148:-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;9392:2:357;3146:190:43;;;9374:21:357;9431:2;9411:18;;;9404:30;9470:34;9450:18;;;9443:62;9541:16;9521:18;;;9514:44;9575:19;;3146:190:43;9190:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;1895:174:148::1;480:42:199;2042:15:148;1895:19;:174::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;9757:36:357;;3531:14:43;;9745:2:357;9730:18;3531:14:43;;;;;;;3457:99;3090:472;1813:263:148;:::o;1175:320:59:-;1465:19;;;:23;;;1175:320::o;4157:1737:148:-;4443:26;;;4435:88;;;;;;;10006:2:357;4435:88:148;;;9988:21:357;10045:2;10025:18;;;10018:30;10084:34;10064:18;;;10057:62;10155:19;10135:18;;;10128:47;10192:19;;4435:88:148;9804:413:357;4435:88:148;4637:54;;;;;;;;10368:25:357;;;4637:44:148;;;;;;10341:18:357;;4637:54:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4628:63;;:5;:63;;;4607:172;;;;;;;10606:2:357;4607:172:148;;;10588:21:357;10645:2;10625:18;;;10618:30;10684:34;10664:18;;;10657:62;10755:32;10735:18;;;10728:60;10805:19;;4607:172:148;10404:426:357;4607:172:148;4930:19;4976:11;4952:48;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4930:72;;5035:12;5020:27;;:11;:27;;;5012:95;;;;;;;11037:2:357;5012:95:148;;;11019:21:357;11076:2;11056:18;;;11049:30;11115:34;11095:18;;;11088:62;11186:25;11166:18;;;11159:53;11229:19;;5012:95:148;10835:419:357;5012:95:148;5287:58;;;;;:41;7893:55:357;;;5287:58:148;;;7875:74:357;7965:18;;;7958:34;;;5287:41:148;;;;;7848:18:357;;5287:58:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5356:20;5415:44;;;5461:11;5474;5487:5;5494:3;5499:8;5509:10;;5379:150;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5632:9;;5673:11;;5632:103;;;;;5379:150;;-1:-1:-1;5632:9:148;;;;;:21;;:103;;5673:11;;;;;5379:150;;5720:12;;5632:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5854:5;5806:81;;5841:11;5806:81;;5828:11;5806:81;;;5861:3;5866:8;5876:10;;5806:81;;;;;;;;;:::i;:::-;;;;;;;;4425:1469;;4157:1737;;;;;;;;:::o;1333:274:67:-;1420:4;1527:23;1542:7;1527:14;:23::i;:::-;:73;;;;;1554:46;1579:7;1588:11;1554:24;:46::i;:::-;1520:80;1333:274;-1:-1:-1;;;1333:274:67:o;3043:234:224:-;4888:13:43;;;;;;;4880:69;;;;;;;12595:2:357;4880:69:43;;;12577:21:357;12634:2;12614:18;;;12607:30;12673:34;12653:18;;;12646:62;12744:13;12724:18;;;12717:41;12775:19;;4880:69:43;12393:407:357;4880:69:43;3212:9:224::1;:22:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;3244:11:::1;:26:::0;;;;;::::1;::::0;::::1;;::::0;;3043:234::o;704:411:67:-;768:4;975:60;1000:7;1009:25;975:24;:60::i;:::-;:133;;;;-1:-1:-1;1052:56:67;1077:7;1086:21;1052:24;:56::i;:::-;1051:57;975:133;956:152;704:411;-1:-1:-1;;704:411:67:o;4223:638::-;4385:71;;;12979:66:357;12967:79;;4385:71:67;;;;12949:98:357;;;;4385:71:67;;;;;;;;;;12922:18:357;;;;4385:71:67;;;;;;;;;;;4408:34;4385:71;;;4664:20;;4316:4;;4385:71;4316:4;;;;;;4385:71;4316:4;;4664:20;4629:7;4622:5;4611:86;4600:97;;4724:16;4710:30;;4774:4;4768:11;4753:26;;4806:7;:29;;;;;4831:4;4817:10;:18;;4806:29;:48;;;;;4853:1;4839:11;:15;4806:48;4799:55;4223:638;-1:-1:-1;;;;;;;4223:638:67:o;14:154:357:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:163::-;240:20;;300:10;289:22;;279:33;;269:61;;326:1;323;316:12;269:61;173:163;;;:::o;341:347::-;392:8;402:6;456:3;449:4;441:6;437:17;433:27;423:55;;474:1;471;464:12;423:55;-1:-1:-1;497:20:357;;540:18;529:30;;526:50;;;572:1;569;562:12;526:50;609:4;601:6;597:17;585:29;;661:3;654:4;645:6;637;633:19;629:30;626:39;623:59;;;678:1;675;668:12;623:59;341:347;;;;;:::o;693:827::-;798:6;806;814;822;830;838;891:3;879:9;870:7;866:23;862:33;859:53;;;908:1;905;898:12;859:53;947:9;934:23;966:31;991:5;966:31;:::i;:::-;1016:5;-1:-1:-1;1073:2:357;1058:18;;1045:32;1086:33;1045:32;1086:33;:::i;:::-;1138:7;-1:-1:-1;1192:2:357;1177:18;;1164:32;;-1:-1:-1;1215:37:357;1248:2;1233:18;;1215:37;:::i;:::-;1205:47;;1303:3;1292:9;1288:19;1275:33;1331:18;1323:6;1320:30;1317:50;;;1363:1;1360;1353:12;1317:50;1402:58;1452:7;1443:6;1432:9;1428:22;1402:58;:::i;:::-;693:827;;;;-1:-1:-1;693:827:357;;-1:-1:-1;693:827:357;;1479:8;;693:827;-1:-1:-1;;;693:827:357:o;1787:531::-;1829:3;1867:5;1861:12;1894:6;1889:3;1882:19;1919:1;1929:162;1943:6;1940:1;1937:13;1929:162;;;2005:4;2061:13;;;2057:22;;2051:29;2033:11;;;2029:20;;2022:59;1958:12;1929:162;;;2109:6;2106:1;2103:13;2100:87;;;2175:1;2168:4;2159:6;2154:3;2150:16;2146:27;2139:38;2100:87;-1:-1:-1;2232:2:357;2220:15;2237:66;2216:88;2207:98;;;;2307:4;2203:109;;1787:531;-1:-1:-1;;1787:531:357:o;2323:220::-;2472:2;2461:9;2454:21;2435:4;2492:45;2533:2;2522:9;2518:18;2510:6;2492:45;:::i;2740:1038::-;2855:6;2863;2871;2879;2887;2895;2903;2956:3;2944:9;2935:7;2931:23;2927:33;2924:53;;;2973:1;2970;2963:12;2924:53;3012:9;2999:23;3031:31;3056:5;3031:31;:::i;:::-;3081:5;-1:-1:-1;3138:2:357;3123:18;;3110:32;3151:33;3110:32;3151:33;:::i;:::-;3203:7;-1:-1:-1;3262:2:357;3247:18;;3234:32;3275:33;3234:32;3275:33;:::i;:::-;3327:7;-1:-1:-1;3386:2:357;3371:18;;3358:32;3399:33;3358:32;3399:33;:::i;:::-;3451:7;-1:-1:-1;3505:3:357;3490:19;;3477:33;;-1:-1:-1;3561:3:357;3546:19;;3533:33;3589:18;3578:30;;3575:50;;;3621:1;3618;3611:12;3575:50;3660:58;3710:7;3701:6;3690:9;3686:22;3660:58;:::i;:::-;2740:1038;;;;-1:-1:-1;2740:1038:357;;-1:-1:-1;2740:1038:357;;;;3634:84;;-1:-1:-1;;;2740:1038:357:o;4047:969::-;4161:6;4169;4177;4185;4193;4201;4209;4262:3;4250:9;4241:7;4237:23;4233:33;4230:53;;;4279:1;4276;4269:12;4230:53;4318:9;4305:23;4337:31;4362:5;4337:31;:::i;:::-;4387:5;-1:-1:-1;4444:2:357;4429:18;;4416:32;4457:33;4416:32;4457:33;:::i;:::-;4509:7;-1:-1:-1;4568:2:357;4553:18;;4540:32;4581:33;4540:32;4581:33;:::i;:::-;4633:7;-1:-1:-1;4687:2:357;4672:18;;4659:32;;-1:-1:-1;4710:38:357;4743:3;4728:19;;4710:38;:::i;:::-;4700:48;;4799:3;4788:9;4784:19;4771:33;4827:18;4819:6;4816:30;4813:50;;;4859:1;4856;4849:12;5021:255;5088:6;5141:2;5129:9;5120:7;5116:23;5112:32;5109:52;;;5157:1;5154;5147:12;5109:52;5196:9;5183:23;5215:31;5240:5;5215:31;:::i;5695:251::-;5765:6;5818:2;5806:9;5797:7;5793:23;5789:32;5786:52;;;5834:1;5831;5824:12;5786:52;5866:9;5860:16;5885:31;5910:5;5885:31;:::i;8003:325::-;8091:6;8086:3;8079:19;8143:6;8136:5;8129:4;8124:3;8120:14;8107:43;;8195:1;8188:4;8179:6;8174:3;8170:16;8166:27;8159:38;8061:3;8317:4;8247:66;8242:2;8234:6;8230:15;8226:88;8221:3;8217:98;8213:109;8206:116;;8003:325;;;;:::o;8333:435::-;8558:42;8550:6;8546:55;8535:9;8528:74;8638:6;8633:2;8622:9;8618:18;8611:34;8681:2;8676;8665:9;8661:18;8654:30;8509:4;8701:61;8758:2;8747:9;8743:18;8735:6;8727;8701:61;:::i;:::-;8693:69;8333:435;-1:-1:-1;;;;;;8333:435:357:o;11259:700::-;11519:4;11548:42;11629:2;11621:6;11617:15;11606:9;11599:34;11681:2;11673:6;11669:15;11664:2;11653:9;11649:18;11642:43;11733:2;11725:6;11721:15;11716:2;11705:9;11701:18;11694:43;11785:2;11777:6;11773:15;11768:2;11757:9;11753:18;11746:43;;11826:6;11820:3;11809:9;11805:19;11798:35;11870:3;11864;11853:9;11849:19;11842:32;11891:62;11948:3;11937:9;11933:19;11925:6;11917;11891:62;:::i;:::-;11883:70;11259:700;-1:-1:-1;;;;;;;;;11259:700:357:o;11964:424::-;12177:42;12169:6;12165:55;12154:9;12147:74;12257:2;12252;12241:9;12237:18;12230:30;12128:4;12277:45;12318:2;12307:9;12303:18;12295:6;12277:45;:::i;:::-;12269:53;;12370:10;12362:6;12358:23;12353:2;12342:9;12338:18;12331:51;11964:424;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"MESSENGER()":"927ede2d","OTHER_BRIDGE()":"7f46ddb2","bridgeERC721(address,address,uint256,uint32,bytes)":"3687011a","bridgeERC721To(address,address,address,uint256,uint32,bytes)":"aa557452","finalizeBridgeERC721(address,address,address,address,uint256,bytes)":"761f4493","initialize(address)":"c4d66de8","messenger()":"3cb747bf","otherBridge()":"c89701a2","paused()":"5c975abb","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"ERC721BridgeInitiated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"MESSENGER","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OTHER_BRIDGE","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint32","name":"_minGasLimit","type":"uint32"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"bridgeERC721To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_localToken","type":"address"},{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"finalizeBridgeERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_l1ERC721Bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"messenger","outputs":[{"internalType":"contract CrossDomainMessenger","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"otherBridge","outputs":[{"internalType":"contract StandardBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"kind":"dev","methods":{"MESSENGER()":{"custom:legacy":"","returns":{"_0":"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"","returns":{"_0":"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_tokenId":"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"params":{"_extraData":"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.","_localToken":"Address of the ERC721 on this domain.","_minGasLimit":"Minimum gas limit for the bridge message on the other domain.","_remoteToken":"Address of the ERC721 on the remote domain.","_to":"Address to receive the token on the other domain.","_tokenId":"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"params":{"_extraData":"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.","_from":"Address that triggered the bridge on the other domain.","_localToken":"Address of the ERC721 token on this domain.","_remoteToken":"Address of the ERC721 token on the other domain.","_to":"Address to receive the token on this domain.","_tokenId":"ID of the token being deposited."}},"initialize(address)":{"params":{"_l1ERC721Bridge":"Address of the ERC721 bridge contract on the other network."}},"paused()":{"returns":{"_0":"Whether or not the contract is paused."}}},"stateVariables":{"version":{"custom:semver":"1.7.0"}},"title":"L2ERC721Bridge","version":1},"userdoc":{"events":{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{"notice":"Emitted when an ERC721 bridge to the other network is initiated."}},"kind":"user","methods":{"MESSENGER()":{"notice":"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{"notice":"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to the caller\'s account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{"notice":"Initiates a bridge of an NFT to some recipient\'s account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"constructor":{"notice":"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{"notice":"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{"notice":"Initializes the contract."},"messenger()":{"notice":"Messenger contract on this domain."},"otherBridge()":{"notice":"Contract of the bridge on the other network."},"paused()":{"notice":"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},"notice":"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{"keccak256":"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329","license":"MIT","urls":["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29","license":"MIT","urls":["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"]},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f","license":"MIT","urls":["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"]},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"keccak256":"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf","license":"MIT","urls":["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{"keccak256":"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed","license":"MIT","urls":["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L1ERC721Bridge.sol":{"keccak256":"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd","license":"MIT","urls":["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L2/L2ERC721Bridge.sol":{"keccak256":"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9","license":"MIT","urls":["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Predeploys.sol":{"keccak256":"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02","license":"MIT","urls":["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/CrossDomainMessenger.sol":{"keccak256":"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0","license":"MIT","urls":["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"]},"src/universal/ERC721Bridge.sol":{"keccak256":"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f","license":"MIT","urls":["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/IOptimismMintableERC721.sol":{"keccak256":"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52","license":"MIT","urls":["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/StandardBridge.sol":{"keccak256":"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d","license":"MIT","urls":["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeFinalized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!1},{internalType:"uint256",name:"tokenId",type:"uint256",indexed:!1},{internalType:"bytes",name:"extraData",type:"bytes",indexed:!1}],type:"event",name:"ERC721BridgeInitiated",anonymous:!1},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSENGER",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"OTHER_BRIDGE",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint32",name:"_minGasLimit",type:"uint32"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"bridgeERC721To"},{inputs:[{internalType:"address",name:"_localToken",type:"address"},{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"address",name:"_from",type:"address"},{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_extraData",type:"bytes"}],stateMutability:"nonpayable",type:"function",name:"finalizeBridgeERC721"},{inputs:[{internalType:"address payable",name:"_l1ERC721Bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"messenger",outputs:[{internalType:"contract CrossDomainMessenger",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"otherBridge",outputs:[{internalType:"contract StandardBridge",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"MESSENGER()":{"custom:legacy":"",returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{"custom:legacy":"",returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},version:1},userdoc:{kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ERC721Bridge.sol":"L2ERC721Bridge"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/draft-IERC20Permit.sol":{keccak256:"0xf41ca991f30855bf80ffd11e9347856a517b977f0a6c2d52e6421a99b7840329",urls:["bzz-raw://b2717fd2bdac99daa960a6de500754ea1b932093c946388c381da48658234b95","dweb:/ipfs/QmP6QVMn6UeA3ByahyJbYQr5M6coHKBKsf3ySZSfbyA8R7"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{keccak256:"0x032807210d1d7d218963d7355d62e021a84bf1b3339f4f50be2f63b53cccaf29",urls:["bzz-raw://11756f42121f6541a35a8339ea899ee7514cfaa2e6d740625fcc844419296aa6","dweb:/ipfs/QmekMuk6BY4DAjzeXr4MSbKdgoqqsZnA8JPtuyWc6CwXHf"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol":{keccak256:"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f",urls:["bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f","dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{keccak256:"0xd1556954440b31c97a142c6ba07d5cade45f96fafd52091d33a14ebe365aecbf",urls:["bzz-raw://26fef835622b46a5ba08b3ef6b46a22e94b5f285d0f0fb66b703bd30217d2c34","dweb:/ipfs/QmZ548qdwfL1qF7aXz3xh1GCdTiST81kGGuKRqVUfYmPZR"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol":{keccak256:"0xc65c83c1039508fa7a42a09a3c6a32babd1c438ba4dbb23581255e784b5d5eed",urls:["bzz-raw://a1b3b38db0f76429db899909025e534c366415e9ea8b5ddc4c8901e6a7fc1461","dweb:/ipfs/QmYv1KxyHjLEky9JWNSsSfpGJbiCxFyzVFgTwQKpiqYGUg"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L1ERC721Bridge.sol":{keccak256:"0x2a3177a2b025bf7ac58450d7dfc7f4f984a265b651d9f57f83c4b43d9fe5ebdd",urls:["bzz-raw://2f24ea47b324c2683f3dd00f5b47c93bfe7b45fda3dd85c2fc08999c2f1e62db","dweb:/ipfs/QmTKM64r67YGyRamy2pwBA47N7HeD6fk5HEMd3nM3vNkAK"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L2/L2ERC721Bridge.sol":{keccak256:"0xcacb39a7b6e5d2d5293834195363397010130ab88d2f4de860277dae6d4265f9",urls:["bzz-raw://f6cdcf63276957f9ca614567394b11ab3f6877baa5a6d33bf54dd8022ca2021f","dweb:/ipfs/QmZQBBfjk2UPLFtKeTd5DJCTRWw1KxKbQMmWr8WVDzZsat"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Predeploys.sol":{keccak256:"0x7b48b32b75e9ba0cd7f83b3304c6c1676dd8de20a5d40e8846bf7018ae9aff02",urls:["bzz-raw://7574fcc79c0d545b90071023aa81ee7880ab50b3057df598fa693bc4cf303663","dweb:/ipfs/QmWLxHzgfaTJ7thfb7khXkTY5UtSBZ5VTUB4DaAXVw7DRe"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/CrossDomainMessenger.sol":{keccak256:"0x330ae1479e88fc8a8b5b27a84df935a092a47ad13e59d9b9ea4982ad31bbe7b0",urls:["bzz-raw://66bf5fb4e78a03dcad4b9a8e2d5ed135f8e989aa02090747386843383fa6b7d1","dweb:/ipfs/QmTp66RoF6EaKeBrrZBuYAu3dsMfKo8de2XY9iHHnqfN3n"],license:"MIT"},"src/universal/ERC721Bridge.sol":{keccak256:"0xea04387e26c6b3ba2ce5762166b7f790ccb068012f2cd5cc16c5734b47e1cb4f",urls:["bzz-raw://37a697c0886aa201672ded4196c3e5506903522183f27c9c3455ccdbd5e1c3cb","dweb:/ipfs/QmdxhxBFR8J2obRzuFCMtUirB4Fsc8CvKwNwR8DFc9SEGK"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/IOptimismMintableERC721.sol":{keccak256:"0xb3a65b067e67a9e1fa0493401c8d247970377c6725eba4e7b02ce8099c4f4f52",urls:["bzz-raw://86bb6864027560ade2f4ced6a6e34213cbff8002977dc365377e5a0b473cf17b","dweb:/ipfs/QmQvjtodTK27as1g1PzsYk9NyJJ3X6a6251o1vrBwx7DPT"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/StandardBridge.sol":{keccak256:"0x1a2f6afd7f14430ae2b797e09497c3dc860ed5db752e1847e30649668060c01d",urls:["bzz-raw://fefe1356cdeb5b324e4e63e1c723c08f9e244ef2ef133b9f5df0cc0d180eeaa8","dweb:/ipfs/QmZzR3zWKodwdwrdWwXUyh7G3qcFn2cjUQLrE45gRyQMn3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:108906,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:108910,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"messenger",offset:0,slot:"1",type:"t_contract(CrossDomainMessenger)108888"},{astId:108914,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"otherBridge",offset:0,slot:"2",type:"t_contract(StandardBridge)111675"},{astId:108919,contract:"src/L2/L2ERC721Bridge.sol:L2ERC721Bridge",label:"__gap",offset:0,slot:"3",type:"t_array(t_uint256)46_storage"}],types:{"t_array(t_uint256)46_storage":{encoding:"inplace",label:"uint256[46]",numberOfBytes:"1472",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},"t_contract(CrossDomainMessenger)108888":{encoding:"inplace",label:"contract CrossDomainMessenger",numberOfBytes:"20"},"t_contract(StandardBridge)111675":{encoding:"inplace",label:"contract StandardBridge",numberOfBytes:"20"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"MESSENGER()":{notice:"Legacy getter for messenger contract. Public getter is legacy and will be removed in the future. Use `messenger` instead."},"OTHER_BRIDGE()":{notice:"Legacy getter for other bridge address. Public getter is legacy and will be removed in the future. Use `otherBridge` instead."},"bridgeERC721(address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to the caller's account on the other chain. Note that this function can only be called by EOAs. Smart contract wallets should use the `bridgeERC721To` function after ensuring that the recipient address on the remote chain exists. Also note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{notice:"Initiates a bridge of an NFT to some recipient's account on the other chain. Note that the current owner of the token on this chain must approve this contract to operate the NFT before it can be bridged. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge only supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},constructor:{notice:"Constructs the L2ERC721Bridge contract."},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{notice:"Completes an ERC721 bridge from the other domain and sends the ERC721 token to the recipient on this domain."},"initialize(address)":{notice:"Initializes the contract."},"messenger()":{notice:"Messenger contract on this domain."},"otherBridge()":{notice:"Contract of the bridge on the other network."},"paused()":{notice:"This function should return true if the contract is paused. On L1 this function will check the SuperchainConfig for its paused status. On L2 this function should be a no-op."}},events:{"ERC721BridgeFinalized(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge from the other network is finalized."},"ERC721BridgeInitiated(address,address,address,address,uint256,bytes)":{notice:"Emitted when an ERC721 bridge to the other network is initiated."}},notice:"The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. This contract also acts as a burner for tokens being withdrawn. **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to wait for the one-week challenge period to elapse before their Optimism-native NFT can be refunded on L2."},devdoc:{version:1,kind:"dev",methods:{"MESSENGER()":{returns:{_0:"Messenger contract on this domain."}},"OTHER_BRIDGE()":{returns:{_0:"Contract of the bridge on the other network."}},"bridgeERC721(address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_tokenId:"Token ID to bridge."}},"bridgeERC721To(address,address,address,uint256,uint32,bytes)":{params:{_extraData:"Optional data to forward to the other chain. Data supplied here will not be used to execute any code on the other chain and is only emitted as extra data for the convenience of off-chain tooling.",_localToken:"Address of the ERC721 on this domain.",_minGasLimit:"Minimum gas limit for the bridge message on the other domain.",_remoteToken:"Address of the ERC721 on the remote domain.",_to:"Address to receive the token on the other domain.",_tokenId:"Token ID to bridge."}},"finalizeBridgeERC721(address,address,address,address,uint256,bytes)":{params:{_extraData:"Optional data to forward to L1. Data supplied here will not be used to execute any code on L1 and is only emitted as extra data for the convenience of off-chain tooling.",_from:"Address that triggered the bridge on the other domain.",_localToken:"Address of the ERC721 token on this domain.",_remoteToken:"Address of the ERC721 token on the other domain.",_to:"Address to receive the token on this domain.",_tokenId:"ID of the token being deposited."}},"initialize(address)":{params:{_l1ERC721Bridge:"Address of the ERC721 bridge contract on the other network."}},"paused()":{returns:{_0:"Whether or not the contract is paused."}}},title:"L2ERC721Bridge"},ast:{absolutePath:"src/L2/L2ERC721Bridge.sol",id:90724,exportedSymbols:{Constants:[103096],CrossDomainMessenger:[108888],ERC165Checker:[54434],ERC721Bridge:[109118],IOptimismMintableERC721:[109407],ISemver:[109417],L1ERC721Bridge:[85418],L2ERC721Bridge:[90723],Predeploys:[104124],StandardBridge:[111675]},nodeType:"SourceUnit",src:"32:5865:148",nodes:[{id:90490,nodeType:"PragmaDirective",src:"32:23:148",nodes:[],literals:["solidity","0.8",".15"]},{id:90492,nodeType:"ImportDirective",src:"57:62:148",nodes:[],absolutePath:"src/universal/ERC721Bridge.sol",file:"src/universal/ERC721Bridge.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:109119,symbolAliases:[{foreign:{id:90491,name:"ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109118,src:"66:12:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90494,nodeType:"ImportDirective",src:"120:94:148",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165Checker.sol",file:"@openzeppelin/contracts/utils/introspection/ERC165Checker.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:54435,symbolAliases:[{foreign:{id:90493,name:"ERC165Checker",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:54434,src:"129:13:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90496,nodeType:"ImportDirective",src:"215:59:148",nodes:[],absolutePath:"src/L1/L1ERC721Bridge.sol",file:"src/L1/L1ERC721Bridge.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:85419,symbolAliases:[{foreign:{id:90495,name:"L1ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85418,src:"224:14:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90498,nodeType:"ImportDirective",src:"275:84:148",nodes:[],absolutePath:"src/universal/IOptimismMintableERC721.sol",file:"src/universal/IOptimismMintableERC721.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:109408,symbolAliases:[{foreign:{id:90497,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"284:23:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90500,nodeType:"ImportDirective",src:"360:78:148",nodes:[],absolutePath:"src/universal/CrossDomainMessenger.sol",file:"src/universal/CrossDomainMessenger.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:108889,symbolAliases:[{foreign:{id:90499,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"369:20:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90502,nodeType:"ImportDirective",src:"439:66:148",nodes:[],absolutePath:"src/universal/StandardBridge.sol",file:"src/universal/StandardBridge.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:111676,symbolAliases:[{foreign:{id:90501,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"448:14:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90504,nodeType:"ImportDirective",src:"506:52:148",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:109418,symbolAliases:[{foreign:{id:90503,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"515:7:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90506,nodeType:"ImportDirective",src:"559:56:148",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:103097,symbolAliases:[{foreign:{id:90505,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"568:9:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90508,nodeType:"ImportDirective",src:"616:58:148",nodes:[],absolutePath:"src/libraries/Predeploys.sol",file:"src/libraries/Predeploys.sol",nameLocation:"-1:-1:-1",scope:90724,sourceUnit:104125,symbolAliases:[{foreign:{id:90507,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"625:10:148",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:90723,nodeType:"ContractDefinition",src:"1389:4507:148",nodes:[{id:90517,nodeType:"VariableDeclaration",src:"1473:40:148",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:90514,nodeType:"StructuredDocumentation",src:"1444:24:148",text:"@custom:semver 1.7.0"},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"1496:7:148",scope:90723,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:90515,name:"string",nodeType:"ElementaryTypeName",src:"1473:6:148",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e372e30",id:90516,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"1506:7:148",typeDescriptions:{typeIdentifier:"t_stringliteral_fcd77289efc7773aa152b2b29fc41f05d9109a509f3f68a18547b233f97c1fdc",typeString:'literal_string "1.7.0"'},value:"1.7.0"},visibility:"public"},{id:90534,nodeType:"FunctionDefinition",src:"1576:98:148",nodes:[],body:{id:90533,nodeType:"Block",src:"1605:69:148",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:90528,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1661:1:148",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:90527,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1653:7:148",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90526,name:"address",nodeType:"ElementaryTypeName",src:"1653:7:148",typeDescriptions:{}}},id:90529,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1653:10:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90525,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"1645:8:148",typeDescriptions:{typeIdentifier:"t_type$_t_address_payable_$",typeString:"type(address payable)"},typeName:{id:90524,name:"address",nodeType:"ElementaryTypeName",src:"1645:8:148",stateMutability:"payable",typeDescriptions:{}}},id:90530,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1645:19:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:90523,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90553,src:"1615:10:148",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_payable_$returns$__$",typeString:"function (address payable)"}},id:90531,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_l1ERC721Bridge"],nodeType:"FunctionCall",src:"1615:52:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90532,nodeType:"ExpressionStatement",src:"1615:52:148"}]},documentation:{id:90518,nodeType:"StructuredDocumentation",src:"1520:51:148",text:"@notice Constructs the L2ERC721Bridge contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:90521,kind:"baseConstructorSpecifier",modifierName:{id:90520,name:"ERC721Bridge",nodeType:"IdentifierPath",referencedDeclaration:109118,src:"1590:12:148"},nodeType:"ModifierInvocation",src:"1590:14:148"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:90519,nodeType:"ParameterList",parameters:[],src:"1587:2:148"},returnParameters:{id:90522,nodeType:"ParameterList",parameters:[],src:"1605:0:148"},scope:90723,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90553,nodeType:"FunctionDefinition",src:"1813:263:148",nodes:[],body:{id:90552,nodeType:"Block",src:"1885:191:148",nodes:[],statements:[{expression:{arguments:[{arguments:[{expression:{id:90544,name:"Predeploys",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104124,src:"1962:10:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Predeploys_$104124_$",typeString:"type(library Predeploys)"}},id:90545,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"L2_CROSS_DOMAIN_MESSENGER",nodeType:"MemberAccess",referencedDeclaration:104004,src:"1962:36:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90543,name:"CrossDomainMessenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108888,src:"1941:20:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_CrossDomainMessenger_$108888_$",typeString:"type(contract CrossDomainMessenger)"}},id:90546,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"1941:58:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},{arguments:[{id:90548,name:"_l1ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90537,src:"2042:15:148",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:90547,name:"StandardBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111675,src:"2027:14:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_StandardBridge_$111675_$",typeString:"type(contract StandardBridge)"}},id:90549,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2027:31:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"},{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:90542,name:"__ERC721Bridge_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108995,src:"1895:19:148",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_CrossDomainMessenger_$108888_$_t_contract$_StandardBridge_$111675_$returns$__$",typeString:"function (contract CrossDomainMessenger,contract StandardBridge)"}},id:90550,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_messenger","_otherBridge"],nodeType:"FunctionCall",src:"1895:174:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90551,nodeType:"ExpressionStatement",src:"1895:174:148"}]},documentation:{id:90535,nodeType:"StructuredDocumentation",src:"1680:128:148",text:`@notice Initializes the contract. + @param _l1ERC721Bridge Address of the ERC721 bridge contract on the other network.`},functionSelector:"c4d66de8",implemented:!0,kind:"function",modifiers:[{id:90540,kind:"modifierInvocation",modifierName:{id:90539,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"1873:11:148"},nodeType:"ModifierInvocation",src:"1873:11:148"}],name:"initialize",nameLocation:"1822:10:148",parameters:{id:90538,nodeType:"ParameterList",parameters:[{constant:!1,id:90537,mutability:"mutable",name:"_l1ERC721Bridge",nameLocation:"1849:15:148",nodeType:"VariableDeclaration",scope:90553,src:"1833:31:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"},typeName:{id:90536,name:"address",nodeType:"ElementaryTypeName",src:"1833:15:148",stateMutability:"payable",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},visibility:"internal"}],src:"1832:33:148"},returnParameters:{id:90541,nodeType:"ParameterList",parameters:[],src:"1885:0:148"},scope:90723,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:90622,nodeType:"FunctionDefinition",src:"2843:1275:148",nodes:[],body:{id:90621,nodeType:"Block",src:"3088:1030:148",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90577,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90572,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90556,src:"3106:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{id:90575,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"3129:4:148",typeDescriptions:{typeIdentifier:"t_contract$_L2ERC721Bridge_$90723",typeString:"contract L2ERC721Bridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L2ERC721Bridge_$90723",typeString:"contract L2ERC721Bridge"}],id:90574,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3121:7:148",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90573,name:"address",nodeType:"ElementaryTypeName",src:"3121:7:148",typeDescriptions:{}}},id:90576,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3121:13:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"3106:28:148",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a206c6f63616c20746f6b656e2063616e6e6f742062652073656c66",id:90578,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3136:44:148",typeDescriptions:{typeIdentifier:"t_stringliteral_7e18be074e522c384c2b459d3f552ca9fb14628371ea9e81c37dfc2875bec911",typeString:'literal_string "L2ERC721Bridge: local token cannot be self"'},value:"L2ERC721Bridge: local token cannot be self"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_7e18be074e522c384c2b459d3f552ca9fb14628371ea9e81c37dfc2875bec911",typeString:'literal_string "L2ERC721Bridge: local token cannot be self"'}],id:90571,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3098:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90579,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3098:83:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90580,nodeType:"ExpressionStatement",src:"3098:83:148"},{expression:{arguments:[{arguments:[{id:90584,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90556,src:"3363:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{arguments:[{id:90586,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"3381:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}}],expression:{argumentTypes:[{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}],id:90585,name:"type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-27,src:"3376:4:148",typeDescriptions:{typeIdentifier:"t_function_metatype_pure$__$returns$__$",typeString:"function () pure"}},id:90587,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3376:29:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_magic_meta_type_t_contract$_IOptimismMintableERC721_$109407",typeString:"type(contract IOptimismMintableERC721)"}},id:90588,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"interfaceId",nodeType:"MemberAccess",src:"3376:41:148",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_bytes4",typeString:"bytes4"}],expression:{id:90582,name:"ERC165Checker",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:54434,src:"3331:13:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_ERC165Checker_$54434_$",typeString:"type(library ERC165Checker)"}},id:90583,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"supportsInterface",nodeType:"MemberAccess",referencedDeclaration:54290,src:"3331:31:148",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_address_$_t_bytes4_$returns$_t_bool_$",typeString:"function (address,bytes4) view returns (bool)"}},id:90589,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3331:87:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a206c6f63616c20746f6b656e20696e74657266616365206973206e6f7420636f6d706c69616e74",id:90590,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3432:56:148",typeDescriptions:{typeIdentifier:"t_stringliteral_07efea2f6062b2acb6eac32db41367de7f7d64803f2496130d2183dc5a0651ad",typeString:'literal_string "L2ERC721Bridge: local token interface is not compliant"'},value:"L2ERC721Bridge: local token interface is not compliant"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_07efea2f6062b2acb6eac32db41367de7f7d64803f2496130d2183dc5a0651ad",typeString:'literal_string "L2ERC721Bridge: local token interface is not compliant"'}],id:90581,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3310:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90591,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3310:188:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90592,nodeType:"ExpressionStatement",src:"3310:188:148"},{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90600,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90594,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90558,src:"3530:12:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:90596,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90556,src:"3570:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90595,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"3546:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}},id:90597,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3546:36:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IOptimismMintableERC721_$109407",typeString:"contract IOptimismMintableERC721"}},id:90598,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"remoteToken",nodeType:"MemberAccess",referencedDeclaration:109400,src:"3546:48:148",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:90599,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3546:50:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"3530:66:148",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a2077726f6e672072656d6f746520746f6b656e20666f72204f7074696d69736d204d696e7461626c6520455243373231206c6f63616c20746f6b656e",id:90601,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"3610:77:148",typeDescriptions:{typeIdentifier:"t_stringliteral_a297b13cacd808a47e4a8cb030741295c70e2e66399d9c0dd47e18d6f766c6dd",typeString:'literal_string "L2ERC721Bridge: wrong remote token for Optimism Mintable ERC721 local token"'},value:"L2ERC721Bridge: wrong remote token for Optimism Mintable ERC721 local token"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_a297b13cacd808a47e4a8cb030741295c70e2e66399d9c0dd47e18d6f766c6dd",typeString:'literal_string "L2ERC721Bridge: wrong remote token for Optimism Mintable ERC721 local token"'}],id:90593,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"3509:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90602,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3509:188:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90603,nodeType:"ExpressionStatement",src:"3509:188:148"},{expression:{arguments:[{id:90608,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90562,src:"3944:3:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90609,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90564,src:"3949:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{arguments:[{id:90605,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90556,src:"3922:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90604,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"3898:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}},id:90606,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3898:36:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IOptimismMintableERC721_$109407",typeString:"contract IOptimismMintableERC721"}},id:90607,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"safeMint",nodeType:"MemberAccess",referencedDeclaration:109362,src:"3898:45:148",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256) external"}},id:90610,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3898:60:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90611,nodeType:"ExpressionStatement",src:"3898:60:148"},{eventCall:{arguments:[{id:90613,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90556,src:"4051:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90614,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90558,src:"4064:12:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90615,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90560,src:"4078:5:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90616,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90562,src:"4085:3:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90617,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90564,src:"4090:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90618,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90566,src:"4100:10:148",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90612,name:"ERC721BridgeFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108949,src:"4029:21:148",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:90619,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4029:82:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90620,nodeType:"EmitStatement",src:"4024:87:148"}]},documentation:{id:90554,nodeType:"StructuredDocumentation",src:"2082:756:148",text:`@notice Completes an ERC721 bridge from the other domain and sends the ERC721 token to the + recipient on this domain. + @param _localToken Address of the ERC721 token on this domain. + @param _remoteToken Address of the ERC721 token on the other domain. + @param _from Address that triggered the bridge on the other domain. + @param _to Address to receive the token on this domain. + @param _tokenId ID of the token being deposited. + @param _extraData Optional data to forward to L1. + Data supplied here will not be used to execute any code on L1 and is + only emitted as extra data for the convenience of off-chain tooling.`},functionSelector:"761f4493",implemented:!0,kind:"function",modifiers:[{id:90569,kind:"modifierInvocation",modifierName:{id:90568,name:"onlyOtherBridge",nodeType:"IdentifierPath",referencedDeclaration:108974,src:"3068:15:148"},nodeType:"ModifierInvocation",src:"3068:15:148"}],name:"finalizeBridgeERC721",nameLocation:"2852:20:148",parameters:{id:90567,nodeType:"ParameterList",parameters:[{constant:!1,id:90556,mutability:"mutable",name:"_localToken",nameLocation:"2890:11:148",nodeType:"VariableDeclaration",scope:90622,src:"2882:19:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90555,name:"address",nodeType:"ElementaryTypeName",src:"2882:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90558,mutability:"mutable",name:"_remoteToken",nameLocation:"2919:12:148",nodeType:"VariableDeclaration",scope:90622,src:"2911:20:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90557,name:"address",nodeType:"ElementaryTypeName",src:"2911:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90560,mutability:"mutable",name:"_from",nameLocation:"2949:5:148",nodeType:"VariableDeclaration",scope:90622,src:"2941:13:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90559,name:"address",nodeType:"ElementaryTypeName",src:"2941:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90562,mutability:"mutable",name:"_to",nameLocation:"2972:3:148",nodeType:"VariableDeclaration",scope:90622,src:"2964:11:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90561,name:"address",nodeType:"ElementaryTypeName",src:"2964:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90564,mutability:"mutable",name:"_tokenId",nameLocation:"2993:8:148",nodeType:"VariableDeclaration",scope:90622,src:"2985:16:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90563,name:"uint256",nodeType:"ElementaryTypeName",src:"2985:7:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90566,mutability:"mutable",name:"_extraData",nameLocation:"3026:10:148",nodeType:"VariableDeclaration",scope:90622,src:"3011:25:148",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:90565,name:"bytes",nodeType:"ElementaryTypeName",src:"3011:5:148",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"2872:170:148"},returnParameters:{id:90570,nodeType:"ParameterList",parameters:[],src:"3088:0:148"},scope:90723,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:90722,nodeType:"FunctionDefinition",src:"4157:1737:148",nodes:[],body:{id:90721,nodeType:"Block",src:"4425:1469:148",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90647,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90642,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90627,src:"4443:12:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:90645,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4467:1:148",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:90644,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4459:7:148",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90643,name:"address",nodeType:"ElementaryTypeName",src:"4459:7:148",typeDescriptions:{}}},id:90646,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4459:10:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"4443:26:148",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a2072656d6f746520746f6b656e2063616e6e6f742062652061646472657373283029",id:90648,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4471:51:148",typeDescriptions:{typeIdentifier:"t_stringliteral_dda13b674104cff93529fc9113589ef9eda6a9e3d2414ccc2ce12f79952de0f9",typeString:'literal_string "L2ERC721Bridge: remote token cannot be address(0)"'},value:"L2ERC721Bridge: remote token cannot be address(0)"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_dda13b674104cff93529fc9113589ef9eda6a9e3d2414ccc2ce12f79952de0f9",typeString:'literal_string "L2ERC721Bridge: remote token cannot be address(0)"'}],id:90641,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4435:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90649,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4435:88:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90650,nodeType:"ExpressionStatement",src:"4435:88:148"},{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90659,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90652,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90629,src:"4628:5:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:90657,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90633,src:"4682:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{arguments:[{id:90654,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90625,src:"4661:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90653,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"4637:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}},id:90655,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4637:36:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IOptimismMintableERC721_$109407",typeString:"contract IOptimismMintableERC721"}},id:90656,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"ownerOf",nodeType:"MemberAccess",referencedDeclaration:52493,src:"4637:44:148",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_address_$",typeString:"function (uint256) view external returns (address)"}},id:90658,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4637:54:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"4628:63:148",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a205769746864726177616c206973206e6f74206265696e6720696e69746961746564206279204e4654206f776e6572",id:90660,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4705:64:148",typeDescriptions:{typeIdentifier:"t_stringliteral_5ee75d9b9b0c7320a30e3101dd31a8695dfeba929ef037ce562e2025d1f1db7f",typeString:'literal_string "L2ERC721Bridge: Withdrawal is not being initiated by NFT owner"'},value:"L2ERC721Bridge: Withdrawal is not being initiated by NFT owner"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_5ee75d9b9b0c7320a30e3101dd31a8695dfeba929ef037ce562e2025d1f1db7f",typeString:'literal_string "L2ERC721Bridge: Withdrawal is not being initiated by NFT owner"'}],id:90651,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4607:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90661,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4607:172:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90662,nodeType:"ExpressionStatement",src:"4607:172:148"},{assignments:[90664],declarations:[{constant:!1,id:90664,mutability:"mutable",name:"remoteToken",nameLocation:"4938:11:148",nodeType:"VariableDeclaration",scope:90721,src:"4930:19:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90663,name:"address",nodeType:"ElementaryTypeName",src:"4930:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:90670,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:90666,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90625,src:"4976:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90665,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"4952:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}},id:90667,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4952:36:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IOptimismMintableERC721_$109407",typeString:"contract IOptimismMintableERC721"}},id:90668,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"remoteToken",nodeType:"MemberAccess",referencedDeclaration:109400,src:"4952:48:148",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:90669,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4952:50:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"4930:72:148"},{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:90674,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:90672,name:"remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90664,src:"5020:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:90673,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90627,src:"5035:12:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"5020:27:148",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324552433732314272696467653a2072656d6f746520746f6b656e20646f6573206e6f74206d6174636820676976656e2076616c7565",id:90675,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"5049:57:148",typeDescriptions:{typeIdentifier:"t_stringliteral_3a41ad0de9429285711503556faaaf7a96337a91d3717dc15ffb9a52d12e98d9",typeString:'literal_string "L2ERC721Bridge: remote token does not match given value"'},value:"L2ERC721Bridge: remote token does not match given value"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_3a41ad0de9429285711503556faaaf7a96337a91d3717dc15ffb9a52d12e98d9",typeString:'literal_string "L2ERC721Bridge: remote token does not match given value"'}],id:90671,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"5012:7:148",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:90676,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5012:95:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90677,nodeType:"ExpressionStatement",src:"5012:95:148"},{expression:{arguments:[{id:90682,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90629,src:"5329:5:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90683,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90633,src:"5336:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{arguments:[{id:90679,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90625,src:"5311:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:90678,name:"IOptimismMintableERC721",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109407,src:"5287:23:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IOptimismMintableERC721_$109407_$",typeString:"type(contract IOptimismMintableERC721)"}},id:90680,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5287:36:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IOptimismMintableERC721_$109407",typeString:"contract IOptimismMintableERC721"}},id:90681,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"burn",nodeType:"MemberAccess",referencedDeclaration:109370,src:"5287:41:148",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$",typeString:"function (address,uint256) external"}},id:90684,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5287:58:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90685,nodeType:"ExpressionStatement",src:"5287:58:148"},{assignments:[90687],declarations:[{constant:!1,id:90687,mutability:"mutable",name:"message",nameLocation:"5369:7:148",nodeType:"VariableDeclaration",scope:90721,src:"5356:20:148",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:90686,name:"bytes",nodeType:"ElementaryTypeName",src:"5356:5:148",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],id:90700,initialValue:{arguments:[{expression:{expression:{id:90690,name:"L1ERC721Bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85418,src:"5415:14:148",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1ERC721Bridge_$85418_$",typeString:"type(contract L1ERC721Bridge)"}},id:90691,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"finalizeBridgeERC721",nodeType:"MemberAccess",referencedDeclaration:85330,src:"5415:35:148",typeDescriptions:{typeIdentifier:"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$",typeString:"function L1ERC721Bridge.finalizeBridgeERC721(address,address,address,address,uint256,bytes calldata)"}},id:90692,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"selector",nodeType:"MemberAccess",src:"5415:44:148",typeDescriptions:{typeIdentifier:"t_bytes4",typeString:"bytes4"}},{id:90693,name:"remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90664,src:"5461:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90694,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90625,src:"5474:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90695,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90629,src:"5487:5:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90696,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90631,src:"5494:3:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90697,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90633,src:"5499:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90698,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90637,src:"5509:10:148",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes4",typeString:"bytes4"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],expression:{id:90688,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"5379:3:148",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:90689,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encodeWithSelector",nodeType:"MemberAccess",src:"5379:22:148",typeDescriptions:{typeIdentifier:"t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$",typeString:"function (bytes4) pure returns (bytes memory)"}},id:90699,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5379:150:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"VariableDeclarationStatement",src:"5356:173:148"},{expression:{arguments:[{arguments:[{id:90706,name:"otherBridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108914,src:"5673:11:148",typeDescriptions:{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_StandardBridge_$111675",typeString:"contract StandardBridge"}],id:90705,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5665:7:148",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:90704,name:"address",nodeType:"ElementaryTypeName",src:"5665:7:148",typeDescriptions:{}}},id:90707,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5665:20:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90708,name:"message",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90687,src:"5697:7:148",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},{id:90709,name:"_minGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90635,src:"5720:12:148",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"},{typeIdentifier:"t_uint32",typeString:"uint32"}],expression:{id:90701,name:"messenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108910,src:"5632:9:148",typeDescriptions:{typeIdentifier:"t_contract$_CrossDomainMessenger_$108888",typeString:"contract CrossDomainMessenger"}},id:90703,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sendMessage",nodeType:"MemberAccess",referencedDeclaration:108520,src:"5632:21:148",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$_t_uint32_$returns$__$",typeString:"function (address,bytes memory,uint32) payable external"}},id:90710,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_target","_message","_minGasLimit"],nodeType:"FunctionCall",src:"5632:103:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90711,nodeType:"ExpressionStatement",src:"5632:103:148"},{eventCall:{arguments:[{id:90713,name:"_localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90625,src:"5828:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90714,name:"remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90664,src:"5841:11:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90715,name:"_from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90629,src:"5854:5:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90716,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90631,src:"5861:3:148",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:90717,name:"_tokenId",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90633,src:"5866:8:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:90718,name:"_extraData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:90637,src:"5876:10:148",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes calldata"}],id:90712,name:"ERC721BridgeInitiated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:108934,src:"5806:21:148",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,address,address,uint256,bytes memory)"}},id:90719,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5806:81:148",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:90720,nodeType:"EmitStatement",src:"5801:86:148"}]},baseFunctions:[109117],documentation:{id:90623,nodeType:"StructuredDocumentation",src:"4124:28:148",text:"@inheritdoc ERC721Bridge"},implemented:!0,kind:"function",modifiers:[],name:"_initiateBridgeERC721",nameLocation:"4166:21:148",overrides:{id:90639,nodeType:"OverrideSpecifier",overrides:[],src:"4412:8:148"},parameters:{id:90638,nodeType:"ParameterList",parameters:[{constant:!1,id:90625,mutability:"mutable",name:"_localToken",nameLocation:"4205:11:148",nodeType:"VariableDeclaration",scope:90722,src:"4197:19:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90624,name:"address",nodeType:"ElementaryTypeName",src:"4197:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90627,mutability:"mutable",name:"_remoteToken",nameLocation:"4234:12:148",nodeType:"VariableDeclaration",scope:90722,src:"4226:20:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90626,name:"address",nodeType:"ElementaryTypeName",src:"4226:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90629,mutability:"mutable",name:"_from",nameLocation:"4264:5:148",nodeType:"VariableDeclaration",scope:90722,src:"4256:13:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90628,name:"address",nodeType:"ElementaryTypeName",src:"4256:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90631,mutability:"mutable",name:"_to",nameLocation:"4287:3:148",nodeType:"VariableDeclaration",scope:90722,src:"4279:11:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:90630,name:"address",nodeType:"ElementaryTypeName",src:"4279:7:148",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:90633,mutability:"mutable",name:"_tokenId",nameLocation:"4308:8:148",nodeType:"VariableDeclaration",scope:90722,src:"4300:16:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:90632,name:"uint256",nodeType:"ElementaryTypeName",src:"4300:7:148",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:90635,mutability:"mutable",name:"_minGasLimit",nameLocation:"4333:12:148",nodeType:"VariableDeclaration",scope:90722,src:"4326:19:148",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"},typeName:{id:90634,name:"uint32",nodeType:"ElementaryTypeName",src:"4326:6:148",typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},visibility:"internal"},{constant:!1,id:90637,mutability:"mutable",name:"_extraData",nameLocation:"4370:10:148",nodeType:"VariableDeclaration",scope:90722,src:"4355:25:148",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_bytes_calldata_ptr",typeString:"bytes"},typeName:{id:90636,name:"bytes",nodeType:"ElementaryTypeName",src:"4355:5:148",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"4187:199:148"},returnParameters:{id:90640,nodeType:"ParameterList",parameters:[],src:"4425:0:148"},scope:90723,stateMutability:"nonpayable",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:90510,name:"ERC721Bridge",nodeType:"IdentifierPath",referencedDeclaration:109118,src:"1416:12:148"},id:90511,nodeType:"InheritanceSpecifier",src:"1416:12:148"},{baseName:{id:90512,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1430:7:148"},id:90513,nodeType:"InheritanceSpecifier",src:"1430:7:148"}],canonicalName:"L2ERC721Bridge",contractDependencies:[],contractKind:"contract",documentation:{id:90509,nodeType:"StructuredDocumentation",src:"676:713:148",text:`@title L2ERC721Bridge + @notice The L2 ERC721 bridge is a contract which works together with the L1 ERC721 bridge to + make it possible to transfer ERC721 tokens from Ethereum to Optimism. This contract + acts as a minter for new tokens when it hears about deposits into the L1 ERC721 bridge. + This contract also acts as a burner for tokens being withdrawn. + **WARNING**: Do not bridge an ERC721 that was originally deployed on Optimism. This + bridge ONLY supports ERC721s originally deployed on Ethereum. Users will need to + wait for the one-week challenge period to elapse before their Optimism-native NFT + can be refunded on L2.`},fullyImplemented:!0,linearizedBaseContracts:[90723,109417,109118,49678],name:"L2ERC721Bridge",nameLocation:"1398:14:148",scope:90724,usedErrors:[]}],license:"MIT"},id:148}});var BYe=B((rla,yj0)=>{yj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CHALLENGER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"FINALIZATION_PERIOD_SECONDS",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"L2_BLOCK_TIME",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"PROPOSER",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"SUBMISSION_INTERVAL",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"challenger",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"computeL2Timestamp",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deleteL2Outputs",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizationPeriodSeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getL2Output",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct Types.OutputProposal",components:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2BlockNumber",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getL2OutputIndexAfter",inputs:[{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_submissionInterval",type:"uint256",internalType:"uint256"},{name:"_l2BlockTime",type:"uint256",internalType:"uint256"},{name:"_startingBlockNumber",type:"uint256",internalType:"uint256"},{name:"_startingTimestamp",type:"uint256",internalType:"uint256"},{name:"_proposer",type:"address",internalType:"address"},{name:"_challenger",type:"address",internalType:"address"},{name:"_finalizationPeriodSeconds",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2BlockTime",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"latestOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextOutputIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposeL2Output",inputs:[{name:"_outputRoot",type:"bytes32",internalType:"bytes32"},{name:"_l2BlockNumber",type:"uint256",internalType:"uint256"},{name:"_l1BlockHash",type:"bytes32",internalType:"bytes32"},{name:"_l1BlockNumber",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"proposer",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"startingBlockNumber",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"startingTimestamp",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"submissionInterval",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OutputProposed",inputs:[{name:"outputRoot",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"l2OutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l2BlockNumber",type:"uint256",indexed:!0,internalType:"uint256"},{name:"l1Timestamp",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OutputsDeleted",inputs:[{name:"prevNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"newNextOutputIndex",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000256001806000808080806200002b565b62000328565b600054610100900460ff16158080156200004c5750600054600160ff909116105b806200007c575062000069306200031960201b6200135d1760201c565b1580156200007c575060005460ff166001145b620000e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000109576000805461ff0019166101001790555b60008811620001815760405162461bcd60e51b815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e20300000000000006064820152608401620000dc565b60008711620001f95760405162461bcd60e51b815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e20300000000000000000000000006064820152608401620000dc565b428511156200027f5760405162461bcd60e51b8152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201526374696d6560e01b608482015260a401620000dc565b6004889055600587905560018690556002859055600780546001600160a01b038087166001600160a01b0319928316179092556006805492861692909116919091179055600882905580156200030f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6001600160a01b03163b151590565b6115d580620003386000396000f3fe60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:133:-:0;;;2792:305;;;;;;;;;-1:-1:-1;2816:274:133;2862:1;;2928;;;;;2816:10;:274::i;:::-;611:13425;;3742:985;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;4088:1:133::1;4066:19;:23;4058:94;;;::::0;-1:-1:-1;;;4058:94:133;;631:2:357;4058:94:133::1;::::0;::::1;613:21:357::0;670:2;650:18;;;643:30;709:34;689:18;;;682:62;780:28;760:18;;;753:56;826:19;;4058:94:133::1;429:422:357::0;4058:94:133::1;4185:1;4170:12;:16;4162:81;;;::::0;-1:-1:-1;;;4162:81:133;;1058:2:357;4162:81:133::1;::::0;::::1;1040:21:357::0;1097:2;1077:18;;;1070:30;1136:34;1116:18;;;1109:62;1207:22;1187:18;;;1180:50;1247:19;;4162:81:133::1;856:416:357::0;4162:81:133::1;4296:15;4274:18;:37;;4253:152;;;::::0;-1:-1:-1;;;4253:152:133;;1479:2:357;4253:152:133::1;::::0;::::1;1461:21:357::0;1518:2;1498:18;;;1491:30;;;1557:34;1537:18;;;1530:62;1628:34;1608:18;;;1601:62;-1:-1:-1;;;1679:19:357;;;1672:35;1724:19;;4253:152:133::1;1277:472:357::0;4253:152:133::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;-1:-1:-1;;;;;4602:20:133;;::::1;-1:-1:-1::0;;;;;;4602:20:133;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:43;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;1906:36:357;;3531:14:43;;1894:2:357;1879:18;3531:14:43;;;;;;;3457:99;3090:472;3742:985:133;;;;;;;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;1754:194:357:-;611:13425:133;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061018a5760003560e01c806389c44cbb116100d6578063ce5db8d61161007f578063dcec334811610059578063dcec33481461049b578063e1a41bcf146104b0578063f4daa291146104c657600080fd5b8063ce5db8d614610445578063cf8e5cf01461045b578063d1de856c1461047b57600080fd5b8063a25ae557116100b0578063a25ae55714610391578063a8e4fb90146103ed578063bffa7f0f1461041a57600080fd5b806389c44cbb1461034857806393991af3146103685780639aaab6481461037e57600080fd5b806369f16eec1161013857806370872aa51161011257806370872aa5146102fc5780637f00642014610312578063887862721461033257600080fd5b806369f16eec146102a75780636abcf563146102bc5780636b4d98dd146102d157600080fd5b8063529933df11610169578063529933df146101ea578063534db0e2146101ff57806354fd4d501461025157600080fd5b80622134cc1461018f5780631c89c97d146101b35780634599c788146101d5575b600080fd5b34801561019b57600080fd5b506005545b6040519081526020015b60405180910390f35b3480156101bf57600080fd5b506101d36101ce3660046113a2565b6104db565b005b3480156101e157600080fd5b506101a06108b6565b3480156101f657600080fd5b506004546101a0565b34801561020b57600080fd5b5060065461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101aa565b34801561025d57600080fd5b5061029a6040518060400160405280600581526020017f312e382e3000000000000000000000000000000000000000000000000000000081525081565b6040516101aa9190611405565b3480156102b357600080fd5b506101a0610929565b3480156102c857600080fd5b506003546101a0565b3480156102dd57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561030857600080fd5b506101a060015481565b34801561031e57600080fd5b506101a061032d366004611478565b61093b565b34801561033e57600080fd5b506101a060025481565b34801561035457600080fd5b506101d3610363366004611478565b610b4f565b34801561037457600080fd5b506101a060055481565b6101d361038c366004611491565b610de9565b34801561039d57600080fd5b506103b16103ac366004611478565b61124a565b60408051825181526020808401516fffffffffffffffffffffffffffffffff9081169183019190915292820151909216908201526060016101aa565b3480156103f957600080fd5b5060075461022c9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561042657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff1661022c565b34801561045157600080fd5b506101a060085481565b34801561046757600080fd5b506103b1610476366004611478565b6112de565b34801561048757600080fd5b506101a0610496366004611478565b611316565b3480156104a757600080fd5b506101a0611346565b3480156104bc57600080fd5b506101a060045481565b3480156104d257600080fd5b506008546101a0565b600054610100900460ff16158080156104fb5750600054600160ff909116105b806105155750303b158015610515575060005460ff166001145b6105a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561060457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b60008811610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657260448201527f76616c206d7573742062652067726561746572207468616e2030000000000000606482015260840161059d565b60008711610724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7560448201527f73742062652067726561746572207468616e2030000000000000000000000000606482015260840161059d565b428511156107db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526044602482018190527f4c324f75747075744f7261636c653a207374617274696e67204c322074696d65908201527f7374616d70206d757374206265206c657373207468616e2063757272656e742060648201527f74696d6500000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60048890556005879055600186905560028590556007805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556006805492861692909116919091179055600882905580156108ac57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050565b6003546000901561092057600380546108d1906001906114f2565b815481106108e1576108e1611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16919050565b6001545b905090565b600354600090610924906001906114f2565b60006109456108b6565b8211156109fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f7420666f72206120626c6f636b207468617420686173206e6f74206265656e2060648201527f70726f706f736564000000000000000000000000000000000000000000000000608482015260a40161059d565b600354610aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707560448201527f74206173206e6f206f7574707574732068617665206265656e2070726f706f7360648201527f6564207965740000000000000000000000000000000000000000000000000000608482015260a40161059d565b6003546000905b80821015610b485760006002610acc8385611538565b610ad69190611550565b90508460038281548110610aec57610aec611509565b600091825260209091206002909102016001015470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff161015610b3e57610b37816001611538565b9250610b42565b8091505b50610ab6565b5092915050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e60448201527f67657220616464726573732063616e2064656c657465206f7574707574730000606482015260840161059d565b6003548110610cad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f747075747320616674657220746865206c6174657374206f757470757420696e60648201527f6465780000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b60085460038281548110610cc357610cc3611509565b6000918252602090912060016002909202010154610cf3906fffffffffffffffffffffffffffffffff16426114f2565b10610da6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7560448201527f74707574732074686174206861766520616c7265616479206265656e2066696e60648201527f616c697a65640000000000000000000000000000000000000000000000000000608482015260a40161059d565b6000610db160035490565b90508160035581817f4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b660405160405180910390a35050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610eb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f736560448201527f7220616464726573732063616e2070726f706f7365206e6577206f757470757460648201527f7300000000000000000000000000000000000000000000000000000000000000608482015260a40161059d565b610ebe611346565b8314610f72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d757360448201527f7420626520657175616c20746f206e65787420657870656374656420626c6f6360648201527f6b206e756d626572000000000000000000000000000000000000000000000000608482015260a40161059d565b42610f7c84611316565b10611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c60448201527f32206f757470757420696e207468652066757475726500000000000000000000606482015260840161059d565b83611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4c324f75747075744f7261636c653a204c32206f75747075742070726f706f7360448201527f616c2063616e6e6f7420626520746865207a65726f2068617368000000000000606482015260840161059d565b81156111525781814014611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4c324f75747075744f7261636c653a20626c6f636b206861736820646f65732060448201527f6e6f74206d61746368207468652068617368206174207468652065787065637460648201527f6564206865696768740000000000000000000000000000000000000000000000608482015260a40161059d565b8261115c60035490565b857fa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e24260405161118e91815260200190565b60405180910390a45050604080516060810182529283526fffffffffffffffffffffffffffffffff4281166020850190815292811691840191825260038054600181018255600091909152935160029094027fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810194909455915190518216700100000000000000000000000000000000029116177fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b60408051606081018252600080825260208201819052918101919091526003828154811061127a5761127a611509565b600091825260209182902060408051606081018252600290930290910180548352600101546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092169181019190915292915050565b604080516060810182526000808252602082018190529181019190915260036113068361093b565b8154811061127a5761127a611509565b60006005546001548361132991906114f2565b611333919061158b565b6002546113409190611538565b92915050565b60006004546113536108b6565b6109249190611538565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b803573ffffffffffffffffffffffffffffffffffffffff8116811461139d57600080fd5b919050565b600080600080600080600060e0888a0312156113bd57600080fd5b873596506020880135955060408801359450606088013593506113e260808901611379565b92506113f060a08901611379565b915060c0880135905092959891949750929550565b600060208083528351808285015260005b8181101561143257858101830151858201604001528201611416565b81811115611444576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561148a57600080fd5b5035919050565b600080600080608085870312156114a757600080fd5b5050823594602084013594506040840135936060013592509050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015611504576115046114c3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561154b5761154b6114c3565b500190565b600082611586577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115c3576115c36114c3565b50029056fea164736f6c634300080f000a",sourceMap:"611:13425:133:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5264:92;;;;;;;;;;-1:-1:-1;5338:11:133;;5264:92;;;160:25:357;;;148:2;133:18;5264:92:133;;;;;;;;3742:985;;;;;;;;;;-1:-1:-1;3742:985:133;;;;;:::i;:::-;;:::i;:::-;;13212:174;;;;;;;;;;;;;:::i;4953:105::-;;;;;;;;;;-1:-1:-1;5033:18:133;;4953:105;;1426:25;;;;;;;;;;-1:-1:-1;1426:25:133;;;;;;;;;;;1182:42:357;1170:55;;;1152:74;;1140:2;1125:18;1426:25:133;1006:226:357;2598:40:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;12608:105::-;;;;;;;;;;;;;:::i;12849:97::-;;;;;;;;;;-1:-1:-1;12923:9:133;:16;12849:97;;5580:88;;;;;;;;;;-1:-1:-1;5651:10:133;;;;5580:88;;743:34;;;;;;;;;;;;;;;;10969:896;;;;;;;;;;-1:-1:-1;10969:896:133;;;;;:::i;:::-;;:::i;863:32::-;;;;;;;;;;;;;;;;6689:975;;;;;;;;;;-1:-1:-1;6689:975:133;;;;;:::i;:::-;;:::i;1285:26::-;;;;;;;;;;;;;;;;8258:1981;;;;;;:::i;:::-;;:::i;10443:146::-;;;;;;;;;;-1:-1:-1;10443:146:133;;;;;:::i;:::-;;:::i;:::-;;;;2705:13:357;;2687:32;;2766:4;2754:17;;;2748:24;2791:34;2863:21;;;2841:20;;;2834:51;;;;2933:17;;;2927:24;2923:33;;;2901:20;;;2894:63;2675:2;2660:18;10443:146:133;2473:490:357;1564:23:133;;;;;;;;;;-1:-1:-1;1564:23:133;;;;;;;;5886:84;;;;;;;;;;-1:-1:-1;5955:8:133;;;;5886:84;;1728:40;;;;;;;;;;;;;;;;12228:174;;;;;;;;;;-1:-1:-1;12228:174:133;;;;;:::i;:::-;;:::i;13854:180::-;;;;;;;;;;-1:-1:-1;13854:180:133;;;;;:::i;:::-;;:::i;13524:121::-;;;;;;;;;;;;;:::i;1114:33::-;;;;;;;;;;;;;;;;6221:120;;;;;;;;;;-1:-1:-1;6309:25:133;;6221:120;;3742:985;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;3170:2:357;3146:190:43;;;3152:21:357;3209:2;3189:18;;;3182:30;3248:34;3228:18;;;3221:62;3319:16;3299:18;;;3292:44;3353:19;;3146:190:43;;;;;;;;;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;4088:1:133::1;4066:19;:23;4058:94;;;::::0;::::1;::::0;;3585:2:357;4058:94:133::1;::::0;::::1;3567:21:357::0;3624:2;3604:18;;;3597:30;3663:34;3643:18;;;3636:62;3734:28;3714:18;;;3707:56;3780:19;;4058:94:133::1;3383:422:357::0;4058:94:133::1;4185:1;4170:12;:16;4162:81;;;::::0;::::1;::::0;;4012:2:357;4162:81:133::1;::::0;::::1;3994:21:357::0;4051:2;4031:18;;;4024:30;4090:34;4070:18;;;4063:62;4161:22;4141:18;;;4134:50;4201:19;;4162:81:133::1;3810:416:357::0;4162:81:133::1;4296:15;4274:18;:37;;4253:152;;;::::0;::::1;::::0;;4433:2:357;4253:152:133::1;::::0;::::1;4415:21:357::0;4472:2;4452:18;;;4445:30;;;4511:34;4491:18;;;4484:62;4582:34;4562:18;;;4555:62;4654:6;4633:19;;;4626:35;4678:19;;4253:152:133::1;4231:472:357::0;4253:152:133::1;4416:18;:40:::0;;;4466:11:::1;:26:::0;;;4502:19:::1;:42:::0;;;4554:17:::1;:38:::0;;;4602:8:::1;:20:::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;;;4632:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4666:25:::1;:54:::0;;;3457:99:43;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;4860:36:357;;3531:14:43;;4848:2:357;4833:18;3531:14:43;;;;;;;3457:99;3090:472;3742:985:133;;;;;;;:::o;13212:174::-;13288:9;:16;13262:7;;13288:21;:91;;13334:9;13344:16;;:20;;13363:1;;13344:20;:::i;:::-;13334:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:45;;;;;;;;;13212:174;-1:-1:-1;13212:174:133:o;13288:91::-;13312:19;;13288:91;13281:98;;13212:174;:::o;12608:105::-;12686:9;:16;12660:7;;12686:20;;12705:1;;12686:20;:::i;10969:896::-;11045:7;11184:19;:17;:19::i;:::-;11166:14;:37;;11145:156;;;;;;;5617:2:357;11145:156:133;;;5599:21:357;5656:2;5636:18;;;5629:30;5695:34;5675:18;;;5668:62;5766:34;5746:18;;;5739:62;5838:10;5817:19;;;5810:39;5866:19;;11145:156:133;5415:476:357;11145:156:133;11379:9;:16;11371:103;;;;;;;6098:2:357;11371:103:133;;;6080:21:357;6137:2;6117:18;;;6110:30;6176:34;6156:18;;;6149:62;6247:34;6227:18;;;6220:62;6319:8;6298:19;;;6291:37;6345:19;;11371:103:133;5896:474:357;11371:103:133;11589:9;:16;11552:10;;11615:224;11627:2;11622;:7;11615:224;;;11645:11;11671:1;11660:7;11665:2;11660;:7;:::i;:::-;11659:13;;;;:::i;:::-;11645:27;;11721:14;11690:9;11700:3;11690:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;;;;;;;;:45;11686:143;;;11760:7;:3;11766:1;11760:7;:::i;:::-;11755:12;;11686:143;;;11811:3;11806:8;;11686:143;11631:208;11615:224;;;-1:-1:-1;11856:2:133;10969:896;-1:-1:-1;;10969:896:133:o;6689:975::-;6779:10;;;;6765;:24;6757:99;;;;;;;6989:2:357;6757:99:133;;;6971:21:357;7028:2;7008:18;;;7001:30;7067:34;7047:18;;;7040:62;7138:32;7118:18;;;7111:60;7188:19;;6757:99:133;6787:426:357;6757:99:133;6974:9;:16;6957:33;;6936:135;;;;;;;7420:2:357;6936:135:133;;;7402:21:357;7459:2;7439:18;;;7432:30;7498:34;7478:18;;;7471:62;7569:34;7549:18;;;7542:62;7641:5;7620:19;;;7613:34;7664:19;;6936:135:133;7218:471:357;6936:135:133;7238:25;;7200:9;7210:14;7200:25;;;;;;;;:::i;:::-;;;;;;;;;:35;:25;;;;;:35;;7182:53;;7200:35;;7182:15;:53;:::i;:::-;:81;7161:198;;;;;;;7896:2:357;7161:198:133;;;7878:21:357;7935:2;7915:18;;;7908:30;7974:34;7954:18;;;7947:62;8045:34;8025:18;;;8018:62;8117:8;8096:19;;;8089:37;8143:19;;7161:198:133;7694:474:357;7161:198:133;7370:29;7402:17;12923:9;:16;;12849:97;7402:17;7370:49;;7564:14;7548;7541:38;7642:14;7619:21;7604:53;;;;;;;;;;6747:917;6689:975;:::o;8258:1981::-;8481:8;;;;8467:10;:22;8459:100;;;;;;;8375:2:357;8459:100:133;;;8357:21:357;8414:2;8394:18;;;8387:30;8453:34;8433:18;;;8426:62;8524:34;8504:18;;;8497:62;8596:3;8575:19;;;8568:32;8617:19;;8459:100:133;8173:469:357;8459:100:133;8609:17;:15;:17::i;:::-;8591:14;:35;8570:154;;;;;;;8849:2:357;8570:154:133;;;8831:21:357;8888:2;8868:18;;;8861:30;8927:34;8907:18;;;8900:62;8998:34;8978:18;;;8971:62;9070:10;9049:19;;;9042:39;9098:19;;8570:154:133;8647:476:357;8570:154:133;8793:15;8756:34;8775:14;8756:18;:34::i;:::-;:52;8735:153;;;;;;;9330:2:357;8735:153:133;;;9312:21:357;9369:2;9349:18;;;9342:30;9408:34;9388:18;;;9381:62;9479:24;9459:18;;;9452:52;9521:19;;8735:153:133;9128:418:357;8735:153:133;8907:11;8899:96;;;;;;;9753:2:357;8899:96:133;;;9735:21:357;9792:2;9772:18;;;9765:30;9831:34;9811:18;;;9804:62;9902:28;9882:18;;;9875:56;9948:19;;8899:96:133;9551:422:357;8899:96:133;9010:26;;9006:897;;9773:12;9754:14;9744:25;:41;9719:173;;;;;;;10180:2:357;9719:173:133;;;10162:21:357;10219:2;10199:18;;;10192:30;10258:34;10238:18;;;10231:62;10329:34;10309:18;;;10302:62;10401:11;10380:19;;;10373:40;10430:19;;9719:173:133;9978:477:357;9719:173:133;9965:14;9946:17;12923:9;:16;;12849:97;9946:17;9933:11;9918:79;9981:15;9918:79;;;;160:25:357;;148:2;133:18;;14:177;9918:79:133;;;;;;;;-1:-1:-1;;10036:186:133;;;;;;;;;;;;10135:15;10036:186;;;;;;;;;;;;;;;;;10008:9;:224;;;;;;;-1:-1:-1;10008:224:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8258:1981::o;10443:146::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;10557:9:133;10567:14;10557:25;;;;;;;;:::i;:::-;;;;;;;;;;10550:32;;;;;;;;10557:25;;;;;;;10550:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10443:146;-1:-1:-1;;10443:146:133:o;12228:174::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;12347:9:133;12357:37;12379:14;12357:21;:37::i;:::-;12347:48;;;;;;;;:::i;13854:180::-;13927:7;14015:11;;13992:19;;13975:14;:36;;;;:::i;:::-;13974:52;;;;:::i;:::-;13953:17;;:74;;;;:::i;:::-;13946:81;13854:180;-1:-1:-1;;13854:180:133:o;13524:121::-;13572:7;13620:18;;13598:19;:17;:19::i;:::-;:40;;;;:::i;1175:320:59:-;1465:19;;;:23;;;1175:320::o;196:196:357:-;264:20;;324:42;313:54;;303:65;;293:93;;382:1;379;372:12;293:93;196:196;;;:::o;397:604::-;510:6;518;526;534;542;550;558;611:3;599:9;590:7;586:23;582:33;579:53;;;628:1;625;618:12;579:53;664:9;651:23;641:33;;721:2;710:9;706:18;693:32;683:42;;772:2;761:9;757:18;744:32;734:42;;823:2;812:9;808:18;795:32;785:42;;846:39;880:3;869:9;865:19;846:39;:::i;:::-;836:49;;904:39;938:3;927:9;923:19;904:39;:::i;:::-;894:49;;990:3;979:9;975:19;962:33;952:43;;397:604;;;;;;;;;;:::o;1237:656::-;1349:4;1378:2;1407;1396:9;1389:21;1439:6;1433:13;1482:6;1477:2;1466:9;1462:18;1455:34;1507:1;1517:140;1531:6;1528:1;1525:13;1517:140;;;1626:14;;;1622:23;;1616:30;1592:17;;;1611:2;1588:26;1581:66;1546:10;;1517:140;;;1675:6;1672:1;1669:13;1666:91;;;1745:1;1740:2;1731:6;1720:9;1716:22;1712:31;1705:42;1666:91;-1:-1:-1;1809:2:357;1797:15;1814:66;1793:88;1778:104;;;;1884:2;1774:113;;1237:656;-1:-1:-1;;;1237:656:357:o;1898:180::-;1957:6;2010:2;1998:9;1989:7;1985:23;1981:32;1978:52;;;2026:1;2023;2016:12;1978:52;-1:-1:-1;2049:23:357;;1898:180;-1:-1:-1;1898:180:357:o;2083:385::-;2169:6;2177;2185;2193;2246:3;2234:9;2225:7;2221:23;2217:33;2214:53;;;2263:1;2260;2253:12;2214:53;-1:-1:-1;;2286:23:357;;;2356:2;2341:18;;2328:32;;-1:-1:-1;2407:2:357;2392:18;;2379:32;;2458:2;2443:18;2430:32;;-1:-1:-1;2083:385:357;-1:-1:-1;2083:385:357:o;4907:184::-;4959:77;4956:1;4949:88;5056:4;5053:1;5046:15;5080:4;5077:1;5070:15;5096:125;5136:4;5164:1;5161;5158:8;5155:34;;;5169:18;;:::i;:::-;-1:-1:-1;5206:9:357;;5096:125::o;5226:184::-;5278:77;5275:1;5268:88;5375:4;5372:1;5365:15;5399:4;5396:1;5389:15;6375:128;6415:3;6446:1;6442:6;6439:1;6436:13;6433:39;;;6452:18;;:::i;:::-;-1:-1:-1;6488:9:357;;6375:128::o;6508:274::-;6548:1;6574;6564:189;;6609:77;6606:1;6599:88;6710:4;6707:1;6700:15;6738:4;6735:1;6728:15;6564:189;-1:-1:-1;6767:9:357;;6508:274::o;10460:228::-;10500:7;10626:1;10558:66;10554:74;10551:1;10548:81;10543:1;10536:9;10529:17;10525:105;10522:131;;;10633:18;;:::i;:::-;-1:-1:-1;10673:9:357;;10460:228::o",linkReferences:{}},methodIdentifiers:{"CHALLENGER()":"6b4d98dd","FINALIZATION_PERIOD_SECONDS()":"f4daa291","L2_BLOCK_TIME()":"002134cc","PROPOSER()":"bffa7f0f","SUBMISSION_INTERVAL()":"529933df","challenger()":"534db0e2","computeL2Timestamp(uint256)":"d1de856c","deleteL2Outputs(uint256)":"89c44cbb","finalizationPeriodSeconds()":"ce5db8d6","getL2Output(uint256)":"a25ae557","getL2OutputAfter(uint256)":"cf8e5cf0","getL2OutputIndexAfter(uint256)":"7f006420","initialize(uint256,uint256,uint256,uint256,address,address,uint256)":"1c89c97d","l2BlockTime()":"93991af3","latestBlockNumber()":"4599c788","latestOutputIndex()":"69f16eec","nextBlockNumber()":"dcec3348","nextOutputIndex()":"6abcf563","proposeL2Output(bytes32,uint256,bytes32,uint256)":"9aaab648","proposer()":"a8e4fb90","startingBlockNumber()":"70872aa5","startingTimestamp()":"88786272","submissionInterval()":"e1a41bcf","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"l2OutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"l2BlockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"l1Timestamp","type":"uint256"}],"name":"OutputProposed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"prevNextOutputIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newNextOutputIndex","type":"uint256"}],"name":"OutputsDeleted","type":"event"},{"inputs":[],"name":"CHALLENGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FINALIZATION_PERIOD_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"L2_BLOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUBMISSION_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"challenger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"computeL2Timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"deleteL2Outputs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizationPeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"getL2Output","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputAfter","outputs":[{"components":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2BlockNumber","type":"uint128"}],"internalType":"struct Types.OutputProposal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"}],"name":"getL2OutputIndexAfter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_submissionInterval","type":"uint256"},{"internalType":"uint256","name":"_l2BlockTime","type":"uint256"},{"internalType":"uint256","name":"_startingBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_startingTimestamp","type":"uint256"},{"internalType":"address","name":"_proposer","type":"address"},{"internalType":"address","name":"_challenger","type":"address"},{"internalType":"uint256","name":"_finalizationPeriodSeconds","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2BlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOutputIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_outputRoot","type":"bytes32"},{"internalType":"uint256","name":"_l2BlockNumber","type":"uint256"},{"internalType":"bytes32","name":"_l1BlockHash","type":"bytes32"},{"internalType":"uint256","name":"_l1BlockNumber","type":"uint256"}],"name":"proposeL2Output","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proposer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"submissionInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@title L2OutputOracle","events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"params":{"l1Timestamp":"The L1 timestamp when proposed.","l2BlockNumber":"The L2 block number of the output root.","l2OutputIndex":"The index of the output in the l2Outputs array.","outputRoot":"The output root."}},"OutputsDeleted(uint256,uint256)":{"params":{"newNextOutputIndex":"Next L2 output index after the deletion.","prevNextOutputIndex":"Next L2 output index before the deletion."}}},"kind":"dev","methods":{"CHALLENGER()":{"custom:legacy":"","returns":{"_0":"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"","returns":{"_0":"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"","returns":{"_0":"L2 block time."}},"PROPOSER()":{"custom:legacy":"","returns":{"_0":"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"","returns":{"_0":"Submission interval."}},"computeL2Timestamp(uint256)":{"params":{"_l2BlockNumber":"The L2 block number of the target block."},"returns":{"_0":"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{"params":{"_l2OutputIndex":"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{"params":{"_l2OutputIndex":"Index of the output to return."},"returns":{"_0":"The output at the given index."}},"getL2OutputAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{"params":{"_l2BlockNumber":"L2 block number to find a checkpoint for."},"returns":{"_0":"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"params":{"_challenger":"The address of the challenger.","_finalizationPeriodSeconds":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.","_l2BlockTime":"The time per L2 block, in seconds.","_proposer":"The address of the proposer.","_startingBlockNumber":"The number of the first L2 block.","_startingTimestamp":"The timestamp of the first L2 block.","_submissionInterval":"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{"returns":{"_0":"Latest submitted L2 block number."}},"latestOutputIndex()":{"returns":{"_0":"The number of outputs that have been proposed."}},"nextBlockNumber()":{"returns":{"_0":"Next L2 block number."}},"nextOutputIndex()":{"returns":{"_0":"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"params":{"_l1BlockHash":"A block hash which must be included in the current chain.","_l1BlockNumber":"The block number with the specified block hash.","_l2BlockNumber":"The L2 block number that resulted in _outputRoot.","_outputRoot":"The L2 output of the checkpoint block."}}},"stateVariables":{"challenger":{"custom:network-specific":""},"finalizationPeriodSeconds":{"custom:network-specific":""},"l2BlockTime":{"custom:network-specific":""},"proposer":{"custom:network-specific":""},"submissionInterval":{"custom:network-specific":""},"version":{"custom:semver":"1.8.0"}},"version":1},"userdoc":{"events":{"OutputProposed(bytes32,uint256,uint256,uint256)":{"notice":"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{"notice":"Emitted when outputs are deleted."}},"kind":"user","methods":{"CHALLENGER()":{"notice":"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{"notice":"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{"notice":"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{"notice":"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{"notice":"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{"notice":"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{"notice":"Returns the L2 timestamp corresponding to a given L2 block number."},"constructor":{"notice":"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{"notice":"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{"notice":"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{"notice":"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{"notice":"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{"notice":"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{"notice":"Initializer."},"l2BlockTime()":{"notice":"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{"notice":"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{"notice":"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{"notice":"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{"notice":"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{"notice":"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{"notice":"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{"notice":"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{"notice":"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{"notice":"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{"notice":"Semantic version."}},"notice":"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2.","version":1}},"settings":{"compilationTarget":{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32",indexed:!0},{internalType:"uint256",name:"l2OutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"l2BlockNumber",type:"uint256",indexed:!0},{internalType:"uint256",name:"l1Timestamp",type:"uint256",indexed:!1}],type:"event",name:"OutputProposed",anonymous:!1},{inputs:[{internalType:"uint256",name:"prevNextOutputIndex",type:"uint256",indexed:!0},{internalType:"uint256",name:"newNextOutputIndex",type:"uint256",indexed:!0}],type:"event",name:"OutputsDeleted",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"CHALLENGER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"FINALIZATION_PERIOD_SECONDS",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"L2_BLOCK_TIME",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"PROPOSER",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"SUBMISSION_INTERVAL",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"challenger",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"computeL2Timestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"deleteL2Outputs"},{inputs:[],stateMutability:"view",type:"function",name:"finalizationPeriodSeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2Output",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputAfter",outputs:[{internalType:"struct Types.OutputProposal",name:"",type:"tuple",components:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2BlockNumber",type:"uint128"}]}]},{inputs:[{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"}],stateMutability:"view",type:"function",name:"getL2OutputIndexAfter",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"uint256",name:"_submissionInterval",type:"uint256"},{internalType:"uint256",name:"_l2BlockTime",type:"uint256"},{internalType:"uint256",name:"_startingBlockNumber",type:"uint256"},{internalType:"uint256",name:"_startingTimestamp",type:"uint256"},{internalType:"address",name:"_proposer",type:"address"},{internalType:"address",name:"_challenger",type:"address"},{internalType:"uint256",name:"_finalizationPeriodSeconds",type:"uint256"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2BlockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"latestOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"nextOutputIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"_outputRoot",type:"bytes32"},{internalType:"uint256",name:"_l2BlockNumber",type:"uint256"},{internalType:"bytes32",name:"_l1BlockHash",type:"bytes32"},{internalType:"uint256",name:"_l1BlockNumber",type:"uint256"}],stateMutability:"payable",type:"function",name:"proposeL2Output"},{inputs:[],stateMutability:"view",type:"function",name:"proposer",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingBlockNumber",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"startingTimestamp",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"submissionInterval",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"CHALLENGER()":{"custom:legacy":"",returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{"custom:legacy":"",returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{"custom:legacy":"",returns:{_0:"L2 block time."}},"PROPOSER()":{"custom:legacy":"",returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{"custom:legacy":"",returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},version:1},userdoc:{kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/L2OutputOracle.sol":"L2OutputOracle"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:85939,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingBlockNumber",offset:0,slot:"1",type:"t_uint256"},{astId:85942,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"startingTimestamp",offset:0,slot:"2",type:"t_uint256"},{astId:85947,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2Outputs",offset:0,slot:"3",type:"t_array(t_struct(OutputProposal)104307_storage)dyn_storage"},{astId:85950,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"submissionInterval",offset:0,slot:"4",type:"t_uint256"},{astId:85953,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockTime",offset:0,slot:"5",type:"t_uint256"},{astId:85956,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"challenger",offset:0,slot:"6",type:"t_address"},{astId:85959,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"proposer",offset:0,slot:"7",type:"t_address"},{astId:85962,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"finalizationPeriodSeconds",offset:0,slot:"8",type:"t_uint256"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_struct(OutputProposal)104307_storage)dyn_storage":{encoding:"dynamic_array",label:"struct Types.OutputProposal[]",numberOfBytes:"32",base:"t_struct(OutputProposal)104307_storage"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_struct(OutputProposal)104307_storage":{encoding:"inplace",label:"struct Types.OutputProposal",numberOfBytes:"64",members:[{astId:104302,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:104304,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:104306,contract:"src/L1/L2OutputOracle.sol:L2OutputOracle",label:"l2BlockNumber",offset:16,slot:"1",type:"t_uint128"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"CHALLENGER()":{notice:"Getter for the challenger address. Public getter is legacy and will be removed in the future. Use `challenger` instead."},"FINALIZATION_PERIOD_SECONDS()":{notice:"Getter for the finalizationPeriodSeconds. Public getter is legacy and will be removed in the future. Use `finalizationPeriodSeconds` instead."},"L2_BLOCK_TIME()":{notice:"Getter for the l2BlockTime. Public getter is legacy and will be removed in the future. Use `l2BlockTime` instead."},"PROPOSER()":{notice:"Getter for the proposer address. Public getter is legacy and will be removed in the future. Use `proposer` instead."},"SUBMISSION_INTERVAL()":{notice:"Getter for the submissionInterval. Public getter is legacy and will be removed in the future. Use `submissionInterval` instead."},"challenger()":{notice:"The address of the challenger. Can be updated via upgrade."},"computeL2Timestamp(uint256)":{notice:"Returns the L2 timestamp corresponding to a given L2 block number."},constructor:{notice:"Constructs the L2OutputOracle contract. Initializes variables to the same values as in the getting-started config."},"deleteL2Outputs(uint256)":{notice:"Deletes all output proposals after and including the proposal that corresponds to the given output index. Only the challenger address can delete outputs."},"finalizationPeriodSeconds()":{notice:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized."},"getL2Output(uint256)":{notice:"Returns an output by index. Needed to return a struct instead of a tuple."},"getL2OutputAfter(uint256)":{notice:"Returns the L2 output proposal that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"getL2OutputIndexAfter(uint256)":{notice:"Returns the index of the L2 output that checkpoints a given L2 block number. Uses a binary search to find the first output greater than or equal to the given block."},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{notice:"Initializer."},"l2BlockTime()":{notice:"The time between L2 blocks in seconds. Once set, this value MUST NOT be modified."},"latestBlockNumber()":{notice:"Returns the block number of the latest submitted L2 output proposal. If no proposals been submitted yet then this function will return the starting block number."},"latestOutputIndex()":{notice:"Returns the number of outputs that have been proposed. Will revert if no outputs have been proposed yet."},"nextBlockNumber()":{notice:"Computes the block number of the next L2 block that needs to be checkpointed."},"nextOutputIndex()":{notice:"Returns the index of the next output to be proposed."},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{notice:"Accepts an outputRoot and the timestamp of the corresponding L2 block. The timestamp must be equal to the current value returned by `nextTimestamp()` in order to be accepted. This function may only be called by the Proposer."},"proposer()":{notice:"The address of the proposer. Can be updated via upgrade."},"startingBlockNumber()":{notice:"The number of the first L2 block recorded in this contract."},"startingTimestamp()":{notice:"The timestamp of the first L2 block recorded in this contract."},"submissionInterval()":{notice:"The interval in L2 blocks at which checkpoints must be submitted."},"version()":{notice:"Semantic version."}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{notice:"Emitted when an output is proposed."},"OutputsDeleted(uint256,uint256)":{notice:"Emitted when outputs are deleted."}},notice:"The L2OutputOracle contains an array of L2 state outputs, where each output is a commitment to the state of the L2 chain. Other contracts like the OptimismPortal use these outputs to verify information about the state of L2."},devdoc:{version:1,kind:"dev",methods:{"CHALLENGER()":{returns:{_0:"Address of the challenger."}},"FINALIZATION_PERIOD_SECONDS()":{returns:{_0:"Finalization period in seconds."}},"L2_BLOCK_TIME()":{returns:{_0:"L2 block time."}},"PROPOSER()":{returns:{_0:"Address of the proposer."}},"SUBMISSION_INTERVAL()":{returns:{_0:"Submission interval."}},"computeL2Timestamp(uint256)":{params:{_l2BlockNumber:"The L2 block number of the target block."},returns:{_0:"L2 timestamp of the given block."}},"deleteL2Outputs(uint256)":{params:{_l2OutputIndex:"Index of the first L2 output to be deleted. All outputs after this output will also be deleted."}},"getL2Output(uint256)":{params:{_l2OutputIndex:"Index of the output to return."},returns:{_0:"The output at the given index."}},"getL2OutputAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"First checkpoint that commits to the given L2 block number."}},"getL2OutputIndexAfter(uint256)":{params:{_l2BlockNumber:"L2 block number to find a checkpoint for."},returns:{_0:"Index of the first checkpoint that commits to the given L2 block number."}},"initialize(uint256,uint256,uint256,uint256,address,address,uint256)":{params:{_challenger:"The address of the challenger.",_finalizationPeriodSeconds:"The minimum time (in seconds) that must elapse before a withdrawal can be finalized.",_l2BlockTime:"The time per L2 block, in seconds.",_proposer:"The address of the proposer.",_startingBlockNumber:"The number of the first L2 block.",_startingTimestamp:"The timestamp of the first L2 block.",_submissionInterval:"Interval in blocks at which checkpoints must be submitted."}},"latestBlockNumber()":{returns:{_0:"Latest submitted L2 block number."}},"latestOutputIndex()":{returns:{_0:"The number of outputs that have been proposed."}},"nextBlockNumber()":{returns:{_0:"Next L2 block number."}},"nextOutputIndex()":{returns:{_0:"The index of the next output to be proposed."}},"proposeL2Output(bytes32,uint256,bytes32,uint256)":{params:{_l1BlockHash:"A block hash which must be included in the current chain.",_l1BlockNumber:"The block number with the specified block hash.",_l2BlockNumber:"The L2 block number that resulted in _outputRoot.",_outputRoot:"The L2 output of the checkpoint block."}}},events:{"OutputProposed(bytes32,uint256,uint256,uint256)":{params:{l1Timestamp:"The L1 timestamp when proposed.",l2BlockNumber:"The L2 block number of the output root.",l2OutputIndex:"The index of the output in the l2Outputs array.",outputRoot:"The output root."}},"OutputsDeleted(uint256,uint256)":{params:{newNextOutputIndex:"Next L2 output index after the deletion.",prevNextOutputIndex:"Next L2 output index before the deletion."}}}},ast:{absolutePath:"src/L1/L2OutputOracle.sol",id:86436,exportedSymbols:{Constants:[103096],ISemver:[109417],Initializable:[49678],L2OutputOracle:[86435],Types:[104349]},nodeType:"SourceUnit",src:"32:14005:133",nodes:[{id:85923,nodeType:"PragmaDirective",src:"32:23:133",nodes:[],literals:["solidity","0.8",".15"]},{id:85925,nodeType:"ImportDirective",src:"57:86:133",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol",file:"@openzeppelin/contracts/proxy/utils/Initializable.sol",nameLocation:"-1:-1:-1",scope:86436,sourceUnit:49679,symbolAliases:[{foreign:{id:85924,name:"Initializable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49678,src:"66:13:133",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85927,nodeType:"ImportDirective",src:"144:52:133",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:86436,sourceUnit:109418,symbolAliases:[{foreign:{id:85926,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"153:7:133",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85929,nodeType:"ImportDirective",src:"197:48:133",nodes:[],absolutePath:"src/libraries/Types.sol",file:"src/libraries/Types.sol",nameLocation:"-1:-1:-1",scope:86436,sourceUnit:104350,symbolAliases:[{foreign:{id:85928,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"206:5:133",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:85931,nodeType:"ImportDirective",src:"246:56:133",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:86436,sourceUnit:103097,symbolAliases:[{foreign:{id:85930,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"255:9:133",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86435,nodeType:"ContractDefinition",src:"611:13425:133",nodes:[{id:85939,nodeType:"VariableDeclaration",src:"743:34:133",nodes:[],constant:!1,documentation:{id:85937,nodeType:"StructuredDocumentation",src:"667:71:133",text:"@notice The number of the first L2 block recorded in this contract."},functionSelector:"70872aa5",mutability:"mutable",name:"startingBlockNumber",nameLocation:"758:19:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85938,name:"uint256",nodeType:"ElementaryTypeName",src:"743:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:85942,nodeType:"VariableDeclaration",src:"863:32:133",nodes:[],constant:!1,documentation:{id:85940,nodeType:"StructuredDocumentation",src:"784:74:133",text:"@notice The timestamp of the first L2 block recorded in this contract."},functionSelector:"88786272",mutability:"mutable",name:"startingTimestamp",nameLocation:"878:17:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85941,name:"uint256",nodeType:"ElementaryTypeName",src:"863:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:85947,nodeType:"VariableDeclaration",src:"951:41:133",nodes:[],constant:!1,documentation:{id:85943,nodeType:"StructuredDocumentation",src:"902:44:133",text:"@notice An array of L2 output proposals."},mutability:"mutable",name:"l2Outputs",nameLocation:"983:9:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal[]"},typeName:{baseType:{id:85945,nodeType:"UserDefinedTypeName",pathNode:{id:85944,name:"Types.OutputProposal",nodeType:"IdentifierPath",referencedDeclaration:104307,src:"951:20:133"},referencedDeclaration:104307,src:"951:20:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage_ptr",typeString:"struct Types.OutputProposal"}},id:85946,nodeType:"ArrayTypeName",src:"951:22:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage_ptr",typeString:"struct Types.OutputProposal[]"}},visibility:"internal"},{id:85950,nodeType:"VariableDeclaration",src:"1114:33:133",nodes:[],constant:!1,documentation:{id:85948,nodeType:"StructuredDocumentation",src:"999:110:133",text:`@notice The interval in L2 blocks at which checkpoints must be submitted. + @custom:network-specific`},functionSelector:"e1a41bcf",mutability:"mutable",name:"submissionInterval",nameLocation:"1129:18:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85949,name:"uint256",nodeType:"ElementaryTypeName",src:"1114:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:85953,nodeType:"VariableDeclaration",src:"1285:26:133",nodes:[],constant:!1,documentation:{id:85951,nodeType:"StructuredDocumentation",src:"1154:126:133",text:`@notice The time between L2 blocks in seconds. Once set, this value MUST NOT be modified. + @custom:network-specific`},functionSelector:"93991af3",mutability:"mutable",name:"l2BlockTime",nameLocation:"1300:11:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85952,name:"uint256",nodeType:"ElementaryTypeName",src:"1285:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:85956,nodeType:"VariableDeclaration",src:"1426:25:133",nodes:[],constant:!1,documentation:{id:85954,nodeType:"StructuredDocumentation",src:"1318:103:133",text:`@notice The address of the challenger. Can be updated via upgrade. + @custom:network-specific`},functionSelector:"534db0e2",mutability:"mutable",name:"challenger",nameLocation:"1441:10:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85955,name:"address",nodeType:"ElementaryTypeName",src:"1426:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:85959,nodeType:"VariableDeclaration",src:"1564:23:133",nodes:[],constant:!1,documentation:{id:85957,nodeType:"StructuredDocumentation",src:"1458:101:133",text:`@notice The address of the proposer. Can be updated via upgrade. + @custom:network-specific`},functionSelector:"a8e4fb90",mutability:"mutable",name:"proposer",nameLocation:"1579:8:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:85958,name:"address",nodeType:"ElementaryTypeName",src:"1564:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:85962,nodeType:"VariableDeclaration",src:"1728:40:133",nodes:[],constant:!1,documentation:{id:85960,nodeType:"StructuredDocumentation",src:"1594:129:133",text:`@notice The minimum time (in seconds) that must elapse before a withdrawal can be finalized. + @custom:network-specific`},functionSelector:"ce5db8d6",mutability:"mutable",name:"finalizationPeriodSeconds",nameLocation:"1743:25:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85961,name:"uint256",nodeType:"ElementaryTypeName",src:"1728:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"public"},{id:85973,nodeType:"EventDefinition",src:"2080:146:133",nodes:[],anonymous:!1,documentation:{id:85963,nodeType:"StructuredDocumentation",src:"1775:300:133",text:`@notice Emitted when an output is proposed. + @param outputRoot The output root. + @param l2OutputIndex The index of the output in the l2Outputs array. + @param l2BlockNumber The L2 block number of the output root. + @param l1Timestamp The L1 timestamp when proposed.`},eventSelector:"a7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2",name:"OutputProposed",nameLocation:"2086:14:133",parameters:{id:85972,nodeType:"ParameterList",parameters:[{constant:!1,id:85965,indexed:!0,mutability:"mutable",name:"outputRoot",nameLocation:"2126:10:133",nodeType:"VariableDeclaration",scope:85973,src:"2110:26:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:85964,name:"bytes32",nodeType:"ElementaryTypeName",src:"2110:7:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:85967,indexed:!0,mutability:"mutable",name:"l2OutputIndex",nameLocation:"2154:13:133",nodeType:"VariableDeclaration",scope:85973,src:"2138:29:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85966,name:"uint256",nodeType:"ElementaryTypeName",src:"2138:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85969,indexed:!0,mutability:"mutable",name:"l2BlockNumber",nameLocation:"2185:13:133",nodeType:"VariableDeclaration",scope:85973,src:"2169:29:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85968,name:"uint256",nodeType:"ElementaryTypeName",src:"2169:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85971,indexed:!1,mutability:"mutable",name:"l1Timestamp",nameLocation:"2208:11:133",nodeType:"VariableDeclaration",scope:85973,src:"2200:19:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85970,name:"uint256",nodeType:"ElementaryTypeName",src:"2200:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2100:125:133"}},{id:85980,nodeType:"EventDefinition",src:"2435:94:133",nodes:[],anonymous:!1,documentation:{id:85974,nodeType:"StructuredDocumentation",src:"2232:198:133",text:`@notice Emitted when outputs are deleted. + @param prevNextOutputIndex Next L2 output index before the deletion. + @param newNextOutputIndex Next L2 output index after the deletion.`},eventSelector:"4ee37ac2c786ec85e87592d3c5c8a1dd66f8496dda3f125d9ea8ca5f657629b6",name:"OutputsDeleted",nameLocation:"2441:14:133",parameters:{id:85979,nodeType:"ParameterList",parameters:[{constant:!1,id:85976,indexed:!0,mutability:"mutable",name:"prevNextOutputIndex",nameLocation:"2472:19:133",nodeType:"VariableDeclaration",scope:85980,src:"2456:35:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85975,name:"uint256",nodeType:"ElementaryTypeName",src:"2456:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:85978,indexed:!0,mutability:"mutable",name:"newNextOutputIndex",nameLocation:"2509:18:133",nodeType:"VariableDeclaration",scope:85980,src:"2493:34:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:85977,name:"uint256",nodeType:"ElementaryTypeName",src:"2493:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2455:73:133"}},{id:85984,nodeType:"VariableDeclaration",src:"2598:40:133",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:85981,nodeType:"StructuredDocumentation",src:"2535:58:133",text:`@notice Semantic version. + @custom:semver 1.8.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2621:7:133",scope:86435,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:85982,name:"string",nodeType:"ElementaryTypeName",src:"2598:6:133",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e382e30",id:85983,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2631:7:133",typeDescriptions:{typeIdentifier:"t_stringliteral_cd02a4b5da981b4c403351c949b2ca4bdb2fb4b72b50891f7eb106d3eb7049e9",typeString:'literal_string "1.8.0"'},value:"1.8.0"},visibility:"public"},{id:86005,nodeType:"FunctionDefinition",src:"2792:305:133",nodes:[],body:{id:86004,nodeType:"Block",src:"2806:291:133",nodes:[],statements:[{expression:{arguments:[{hexValue:"31",id:85989,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2862:1:133",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},{hexValue:"31",id:85990,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2891:1:133",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},{hexValue:"30",id:85991,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2928:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},{hexValue:"30",id:85992,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2963:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},{arguments:[{hexValue:"30",id:85995,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2997:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85994,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2989:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85993,name:"address",nodeType:"ElementaryTypeName",src:"2989:7:133",typeDescriptions:{}}},id:85996,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2989:10:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{arguments:[{hexValue:"30",id:85999,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3034:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85998,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"3026:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:85997,name:"address",nodeType:"ElementaryTypeName",src:"3026:7:133",typeDescriptions:{}}},id:86e3,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3026:10:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{hexValue:"30",id:86001,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"3078:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:85988,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86076,src:"2816:10:133",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_address_$_t_uint256_$returns$__$",typeString:"function (uint256,uint256,uint256,uint256,address,address,uint256)"}},id:86002,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_submissionInterval","_l2BlockTime","_startingBlockNumber","_startingTimestamp","_proposer","_challenger","_finalizationPeriodSeconds"],nodeType:"FunctionCall",src:"2816:274:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86003,nodeType:"ExpressionStatement",src:"2816:274:133"}]},documentation:{id:85985,nodeType:"StructuredDocumentation",src:"2645:142:133",text:`@notice Constructs the L2OutputOracle contract. Initializes variables to the same values as + in the getting-started config.`},implemented:!0,kind:"constructor",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:85986,nodeType:"ParameterList",parameters:[],src:"2803:2:133"},returnParameters:{id:85987,nodeType:"ParameterList",parameters:[],src:"2806:0:133"},scope:86435,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:86076,nodeType:"FunctionDefinition",src:"3742:985:133",nodes:[],body:{id:86075,nodeType:"Block",src:"4048:679:133",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86028,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86026,name:"_submissionInterval",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86008,src:"4066:19:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"30",id:86027,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4088:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"4066:23:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a207375626d697373696f6e20696e74657276616c206d7573742062652067726561746572207468616e2030",id:86029,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4091:60:133",typeDescriptions:{typeIdentifier:"t_stringliteral_a22226fa4dda9c6c644d22b26affbedef5d3fc150a8b26008a6baa26d85d543f",typeString:'literal_string "L2OutputOracle: submission interval must be greater than 0"'},value:"L2OutputOracle: submission interval must be greater than 0"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_a22226fa4dda9c6c644d22b26affbedef5d3fc150a8b26008a6baa26d85d543f",typeString:'literal_string "L2OutputOracle: submission interval must be greater than 0"'}],id:86025,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4058:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86030,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4058:94:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86031,nodeType:"ExpressionStatement",src:"4058:94:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86035,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86033,name:"_l2BlockTime",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86010,src:"4170:12:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"30",id:86034,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4185:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"4170:16:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a204c3220626c6f636b2074696d65206d7573742062652067726561746572207468616e2030",id:86036,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4188:54:133",typeDescriptions:{typeIdentifier:"t_stringliteral_ac9ff37c1a6529ab3b67321d57550ba5021740edf6aa58a5708726b9aa5179b7",typeString:'literal_string "L2OutputOracle: L2 block time must be greater than 0"'},value:"L2OutputOracle: L2 block time must be greater than 0"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_ac9ff37c1a6529ab3b67321d57550ba5021740edf6aa58a5708726b9aa5179b7",typeString:'literal_string "L2OutputOracle: L2 block time must be greater than 0"'}],id:86032,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4162:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86037,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4162:81:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86038,nodeType:"ExpressionStatement",src:"4162:81:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86043,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86040,name:"_startingTimestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86014,src:"4274:18:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<=",rightExpression:{expression:{id:86041,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"4296:5:133",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86042,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"4296:15:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4274:37:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a207374617274696e67204c322074696d657374616d70206d757374206265206c657373207468616e2063757272656e742074696d65",id:86044,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4325:70:133",typeDescriptions:{typeIdentifier:"t_stringliteral_898fd7ed8708de35483db60bd4b962ea9e8aa9058ba6455714580e35a9e067a7",typeString:'literal_string "L2OutputOracle: starting L2 timestamp must be less than current time"'},value:"L2OutputOracle: starting L2 timestamp must be less than current time"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_898fd7ed8708de35483db60bd4b962ea9e8aa9058ba6455714580e35a9e067a7",typeString:'literal_string "L2OutputOracle: starting L2 timestamp must be less than current time"'}],id:86039,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"4253:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86045,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4253:152:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86046,nodeType:"ExpressionStatement",src:"4253:152:133"},{expression:{id:86049,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86047,name:"submissionInterval",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85950,src:"4416:18:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86048,name:"_submissionInterval",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86008,src:"4437:19:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4416:40:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86050,nodeType:"ExpressionStatement",src:"4416:40:133"},{expression:{id:86053,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86051,name:"l2BlockTime",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85953,src:"4466:11:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86052,name:"_l2BlockTime",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86010,src:"4480:12:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4466:26:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86054,nodeType:"ExpressionStatement",src:"4466:26:133"},{expression:{id:86057,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86055,name:"startingBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85939,src:"4502:19:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86056,name:"_startingBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86012,src:"4524:20:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4502:42:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86058,nodeType:"ExpressionStatement",src:"4502:42:133"},{expression:{id:86061,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86059,name:"startingTimestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85942,src:"4554:17:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86060,name:"_startingTimestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86014,src:"4574:18:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4554:38:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86062,nodeType:"ExpressionStatement",src:"4554:38:133"},{expression:{id:86065,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86063,name:"proposer",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85959,src:"4602:8:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86064,name:"_proposer",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86016,src:"4613:9:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"4602:20:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:86066,nodeType:"ExpressionStatement",src:"4602:20:133"},{expression:{id:86069,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86067,name:"challenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85956,src:"4632:10:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86068,name:"_challenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86018,src:"4645:11:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"4632:24:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:86070,nodeType:"ExpressionStatement",src:"4632:24:133"},{expression:{id:86073,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86071,name:"finalizationPeriodSeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85962,src:"4666:25:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86072,name:"_finalizationPeriodSeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86020,src:"4694:26:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"4666:54:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86074,nodeType:"ExpressionStatement",src:"4666:54:133"}]},documentation:{id:86006,nodeType:"StructuredDocumentation",src:"3103:634:133",text:`@notice Initializer. + @param _submissionInterval Interval in blocks at which checkpoints must be submitted. + @param _l2BlockTime The time per L2 block, in seconds. + @param _startingBlockNumber The number of the first L2 block. + @param _startingTimestamp The timestamp of the first L2 block. + @param _proposer The address of the proposer. + @param _challenger The address of the challenger. + @param _finalizationPeriodSeconds The minimum time (in seconds) that must elapse before a withdrawal + can be finalized.`},functionSelector:"1c89c97d",implemented:!0,kind:"function",modifiers:[{id:86023,kind:"modifierInvocation",modifierName:{id:86022,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"4032:11:133"},nodeType:"ModifierInvocation",src:"4032:11:133"}],name:"initialize",nameLocation:"3751:10:133",parameters:{id:86021,nodeType:"ParameterList",parameters:[{constant:!1,id:86008,mutability:"mutable",name:"_submissionInterval",nameLocation:"3779:19:133",nodeType:"VariableDeclaration",scope:86076,src:"3771:27:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86007,name:"uint256",nodeType:"ElementaryTypeName",src:"3771:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86010,mutability:"mutable",name:"_l2BlockTime",nameLocation:"3816:12:133",nodeType:"VariableDeclaration",scope:86076,src:"3808:20:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86009,name:"uint256",nodeType:"ElementaryTypeName",src:"3808:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86012,mutability:"mutable",name:"_startingBlockNumber",nameLocation:"3846:20:133",nodeType:"VariableDeclaration",scope:86076,src:"3838:28:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86011,name:"uint256",nodeType:"ElementaryTypeName",src:"3838:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86014,mutability:"mutable",name:"_startingTimestamp",nameLocation:"3884:18:133",nodeType:"VariableDeclaration",scope:86076,src:"3876:26:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86013,name:"uint256",nodeType:"ElementaryTypeName",src:"3876:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86016,mutability:"mutable",name:"_proposer",nameLocation:"3920:9:133",nodeType:"VariableDeclaration",scope:86076,src:"3912:17:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86015,name:"address",nodeType:"ElementaryTypeName",src:"3912:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86018,mutability:"mutable",name:"_challenger",nameLocation:"3947:11:133",nodeType:"VariableDeclaration",scope:86076,src:"3939:19:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86017,name:"address",nodeType:"ElementaryTypeName",src:"3939:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86020,mutability:"mutable",name:"_finalizationPeriodSeconds",nameLocation:"3976:26:133",nodeType:"VariableDeclaration",scope:86076,src:"3968:34:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86019,name:"uint256",nodeType:"ElementaryTypeName",src:"3968:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"3761:247:133"},returnParameters:{id:86024,nodeType:"ParameterList",parameters:[],src:"4048:0:133"},scope:86435,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:86085,nodeType:"FunctionDefinition",src:"4953:105:133",nodes:[],body:{id:86084,nodeType:"Block",src:"5016:42:133",nodes:[],statements:[{expression:{id:86082,name:"submissionInterval",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85950,src:"5033:18:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86081,id:86083,nodeType:"Return",src:"5026:25:133"}]},documentation:{id:86077,nodeType:"StructuredDocumentation",src:"4733:215:133",text:`@notice Getter for the submissionInterval. + Public getter is legacy and will be removed in the future. Use \`submissionInterval\` instead. + @return Submission interval. + @custom:legacy`},functionSelector:"529933df",implemented:!0,kind:"function",modifiers:[],name:"SUBMISSION_INTERVAL",nameLocation:"4962:19:133",parameters:{id:86078,nodeType:"ParameterList",parameters:[],src:"4981:2:133"},returnParameters:{id:86081,nodeType:"ParameterList",parameters:[{constant:!1,id:86080,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86085,src:"5007:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86079,name:"uint256",nodeType:"ElementaryTypeName",src:"5007:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"5006:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86094,nodeType:"FunctionDefinition",src:"5264:92:133",nodes:[],body:{id:86093,nodeType:"Block",src:"5321:35:133",nodes:[],statements:[{expression:{id:86091,name:"l2BlockTime",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85953,src:"5338:11:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86090,id:86092,nodeType:"Return",src:"5331:18:133"}]},documentation:{id:86086,nodeType:"StructuredDocumentation",src:"5064:195:133",text:`@notice Getter for the l2BlockTime. + Public getter is legacy and will be removed in the future. Use \`l2BlockTime\` instead. + @return L2 block time. + @custom:legacy`},functionSelector:"002134cc",implemented:!0,kind:"function",modifiers:[],name:"L2_BLOCK_TIME",nameLocation:"5273:13:133",parameters:{id:86087,nodeType:"ParameterList",parameters:[],src:"5286:2:133"},returnParameters:{id:86090,nodeType:"ParameterList",parameters:[{constant:!1,id:86089,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86094,src:"5312:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86088,name:"uint256",nodeType:"ElementaryTypeName",src:"5312:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"5311:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86103,nodeType:"FunctionDefinition",src:"5580:88:133",nodes:[],body:{id:86102,nodeType:"Block",src:"5634:34:133",nodes:[],statements:[{expression:{id:86100,name:"challenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85956,src:"5651:10:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:86099,id:86101,nodeType:"Return",src:"5644:17:133"}]},documentation:{id:86095,nodeType:"StructuredDocumentation",src:"5362:213:133",text:`@notice Getter for the challenger address. + Public getter is legacy and will be removed in the future. Use \`challenger\` instead. + @return Address of the challenger. + @custom:legacy`},functionSelector:"6b4d98dd",implemented:!0,kind:"function",modifiers:[],name:"CHALLENGER",nameLocation:"5589:10:133",parameters:{id:86096,nodeType:"ParameterList",parameters:[],src:"5599:2:133"},returnParameters:{id:86099,nodeType:"ParameterList",parameters:[{constant:!1,id:86098,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86103,src:"5625:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86097,name:"address",nodeType:"ElementaryTypeName",src:"5625:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5624:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86112,nodeType:"FunctionDefinition",src:"5886:84:133",nodes:[],body:{id:86111,nodeType:"Block",src:"5938:32:133",nodes:[],statements:[{expression:{id:86109,name:"proposer",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85959,src:"5955:8:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:86108,id:86110,nodeType:"Return",src:"5948:15:133"}]},documentation:{id:86104,nodeType:"StructuredDocumentation",src:"5674:207:133",text:`@notice Getter for the proposer address. + Public getter is legacy and will be removed in the future. Use \`proposer\` instead. + @return Address of the proposer. + @custom:legacy`},functionSelector:"bffa7f0f",implemented:!0,kind:"function",modifiers:[],name:"PROPOSER",nameLocation:"5895:8:133",parameters:{id:86105,nodeType:"ParameterList",parameters:[],src:"5903:2:133"},returnParameters:{id:86108,nodeType:"ParameterList",parameters:[{constant:!1,id:86107,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86112,src:"5929:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86106,name:"address",nodeType:"ElementaryTypeName",src:"5929:7:133",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5928:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86121,nodeType:"FunctionDefinition",src:"6221:120:133",nodes:[],body:{id:86120,nodeType:"Block",src:"6292:49:133",nodes:[],statements:[{expression:{id:86118,name:"finalizationPeriodSeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85962,src:"6309:25:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86117,id:86119,nodeType:"Return",src:"6302:32:133"}]},documentation:{id:86113,nodeType:"StructuredDocumentation",src:"5976:240:133",text:`@notice Getter for the finalizationPeriodSeconds. + Public getter is legacy and will be removed in the future. Use \`finalizationPeriodSeconds\` instead. + @return Finalization period in seconds. + @custom:legacy`},functionSelector:"f4daa291",implemented:!0,kind:"function",modifiers:[],name:"FINALIZATION_PERIOD_SECONDS",nameLocation:"6230:27:133",parameters:{id:86114,nodeType:"ParameterList",parameters:[],src:"6257:2:133"},returnParameters:{id:86117,nodeType:"ParameterList",parameters:[{constant:!1,id:86116,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86121,src:"6283:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86115,name:"uint256",nodeType:"ElementaryTypeName",src:"6283:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"6282:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86168,nodeType:"FunctionDefinition",src:"6689:975:133",nodes:[],body:{id:86167,nodeType:"Block",src:"6747:917:133",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86131,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86128,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"6765:3:133",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:86129,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"6765:10:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:86130,name:"challenger",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85956,src:"6779:10:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"6765:24:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a206f6e6c7920746865206368616c6c656e67657220616464726573732063616e2064656c657465206f757470757473",id:86132,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"6791:64:133",typeDescriptions:{typeIdentifier:"t_stringliteral_73ca084205f86e7b7b010a7bf147aa19f097b7f0a2c7768452f50d69ddf1c8a6",typeString:'literal_string "L2OutputOracle: only the challenger address can delete outputs"'},value:"L2OutputOracle: only the challenger address can delete outputs"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_73ca084205f86e7b7b010a7bf147aa19f097b7f0a2c7768452f50d69ddf1c8a6",typeString:'literal_string "L2OutputOracle: only the challenger address can delete outputs"'}],id:86127,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"6757:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86133,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6757:99:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86134,nodeType:"ExpressionStatement",src:"6757:99:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86139,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86136,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86124,src:"6957:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{expression:{id:86137,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"6974:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86138,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"6974:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6957:33:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f75747075747320616674657220746865206c6174657374206f757470757420696e646578",id:86140,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"6992:69:133",typeDescriptions:{typeIdentifier:"t_stringliteral_8fade7eaadcf8920b61cd280bfaf9215de3229fd9b8bc0c114506f50c3323d08",typeString:'literal_string "L2OutputOracle: cannot delete outputs after the latest output index"'},value:"L2OutputOracle: cannot delete outputs after the latest output index"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_8fade7eaadcf8920b61cd280bfaf9215de3229fd9b8bc0c114506f50c3323d08",typeString:'literal_string "L2OutputOracle: cannot delete outputs after the latest output index"'}],id:86135,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"6936:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86141,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6936:135:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86142,nodeType:"ExpressionStatement",src:"6936:135:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86152,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86150,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86144,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"7182:5:133",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86145,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"7182:15:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{expression:{baseExpression:{id:86146,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"7200:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86148,indexExpression:{id:86147,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86124,src:"7210:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"7200:25:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage",typeString:"struct Types.OutputProposal storage ref"}},id:86149,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:104304,src:"7200:35:133",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},src:"7182:53:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{id:86151,name:"finalizationPeriodSeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85962,src:"7238:25:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"7182:81:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a2063616e6e6f742064656c657465206f7574707574732074686174206861766520616c7265616479206265656e2066696e616c697a6564",id:86153,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"7277:72:133",typeDescriptions:{typeIdentifier:"t_stringliteral_d750945a6d3cdf9f7770d0a5d95aa9b56f37a0ad47759ca246a1b772fdac6c07",typeString:'literal_string "L2OutputOracle: cannot delete outputs that have already been finalized"'},value:"L2OutputOracle: cannot delete outputs that have already been finalized"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_d750945a6d3cdf9f7770d0a5d95aa9b56f37a0ad47759ca246a1b772fdac6c07",typeString:'literal_string "L2OutputOracle: cannot delete outputs that have already been finalized"'}],id:86143,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"7161:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86154,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7161:198:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86155,nodeType:"ExpressionStatement",src:"7161:198:133"},{assignments:[86157],declarations:[{constant:!1,id:86157,mutability:"mutable",name:"prevNextL2OutputIndex",nameLocation:"7378:21:133",nodeType:"VariableDeclaration",scope:86167,src:"7370:29:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86156,name:"uint256",nodeType:"ElementaryTypeName",src:"7370:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:86160,initialValue:{arguments:[],expression:{argumentTypes:[],id:86158,name:"nextOutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86382,src:"7402:15:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:86159,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7402:17:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"7370:49:133"},{AST:{nodeType:"YulBlock",src:"7527:62:133",statements:[{expression:{arguments:[{name:"l2Outputs.slot",nodeType:"YulIdentifier",src:"7548:14:133"},{name:"_l2OutputIndex",nodeType:"YulIdentifier",src:"7564:14:133"}],functionName:{name:"sstore",nodeType:"YulIdentifier",src:"7541:6:133"},nodeType:"YulFunctionCall",src:"7541:38:133"},nodeType:"YulExpressionStatement",src:"7541:38:133"}]},evmVersion:"london",externalReferences:[{declaration:86124,isOffset:!1,isSlot:!1,src:"7564:14:133",valueSize:1},{declaration:85947,isOffset:!1,isSlot:!0,src:"7548:14:133",suffix:"slot",valueSize:1}],id:86161,nodeType:"InlineAssembly",src:"7518:71:133"},{eventCall:{arguments:[{id:86163,name:"prevNextL2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86157,src:"7619:21:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:86164,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86124,src:"7642:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86162,name:"OutputsDeleted",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85980,src:"7604:14:133",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",typeString:"function (uint256,uint256)"}},id:86165,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7604:53:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86166,nodeType:"EmitStatement",src:"7599:58:133"}]},documentation:{id:86122,nodeType:"StructuredDocumentation",src:"6347:337:133",text:`@notice Deletes all output proposals after and including the proposal that corresponds to + the given output index. Only the challenger address can delete outputs. + @param _l2OutputIndex Index of the first L2 output to be deleted. + All outputs after this output will also be deleted.`},functionSelector:"89c44cbb",implemented:!0,kind:"function",modifiers:[],name:"deleteL2Outputs",nameLocation:"6698:15:133",parameters:{id:86125,nodeType:"ParameterList",parameters:[{constant:!1,id:86124,mutability:"mutable",name:"_l2OutputIndex",nameLocation:"6722:14:133",nodeType:"VariableDeclaration",scope:86168,src:"6714:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86123,name:"uint256",nodeType:"ElementaryTypeName",src:"6714:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"6713:24:133"},returnParameters:{id:86126,nodeType:"ParameterList",parameters:[],src:"6747:0:133"},scope:86435,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:86261,nodeType:"FunctionDefinition",src:"8258:1981:133",nodes:[],body:{id:86260,nodeType:"Block",src:"8449:1790:133",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86184,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86181,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"8467:3:133",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:86182,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"8467:10:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:86183,name:"proposer",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85959,src:"8481:8:133",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"8467:22:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a206f6e6c79207468652070726f706f73657220616464726573732063616e2070726f706f7365206e6577206f757470757473",id:86185,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"8491:67:133",typeDescriptions:{typeIdentifier:"t_stringliteral_9f1c67e2dc62ce3502755d353f72e304832f39c730ef77e02614e374f1fb53d3",typeString:'literal_string "L2OutputOracle: only the proposer address can propose new outputs"'},value:"L2OutputOracle: only the proposer address can propose new outputs"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_9f1c67e2dc62ce3502755d353f72e304832f39c730ef77e02614e374f1fb53d3",typeString:'literal_string "L2OutputOracle: only the proposer address can propose new outputs"'}],id:86180,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"8459:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86186,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8459:100:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86187,nodeType:"ExpressionStatement",src:"8459:100:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86192,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86189,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86173,src:"8591:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],id:86190,name:"nextBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86415,src:"8609:15:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:86191,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8609:17:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"8591:35:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a20626c6f636b206e756d626572206d75737420626520657175616c20746f206e65787420657870656374656420626c6f636b206e756d626572",id:86193,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"8640:74:133",typeDescriptions:{typeIdentifier:"t_stringliteral_06e1bf88480451e9a05edd933fbefd888745eeb4cd60fea580144d9699d6c8c6",typeString:'literal_string "L2OutputOracle: block number must be equal to next expected block number"'},value:"L2OutputOracle: block number must be equal to next expected block number"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_06e1bf88480451e9a05edd933fbefd888745eeb4cd60fea580144d9699d6c8c6",typeString:'literal_string "L2OutputOracle: block number must be equal to next expected block number"'}],id:86188,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"8570:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86194,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8570:154:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86195,nodeType:"ExpressionStatement",src:"8570:154:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86202,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:86198,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86173,src:"8775:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86197,name:"computeL2Timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86434,src:"8756:18:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256) view returns (uint256)"}},id:86199,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8756:34:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{expression:{id:86200,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"8793:5:133",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86201,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"8793:15:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"8756:52:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a2063616e6e6f742070726f706f7365204c32206f757470757420696e2074686520667574757265",id:86203,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"8822:56:133",typeDescriptions:{typeIdentifier:"t_stringliteral_398aa710210a226bac70935aec326d363ca55bd0968a10f188845909ad22cbc6",typeString:'literal_string "L2OutputOracle: cannot propose L2 output in the future"'},value:"L2OutputOracle: cannot propose L2 output in the future"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_398aa710210a226bac70935aec326d363ca55bd0968a10f188845909ad22cbc6",typeString:'literal_string "L2OutputOracle: cannot propose L2 output in the future"'}],id:86196,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"8735:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86204,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8735:153:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86205,nodeType:"ExpressionStatement",src:"8735:153:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86212,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86207,name:"_outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86171,src:"8907:11:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:86210,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"8930:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86209,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8922:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:86208,name:"bytes32",nodeType:"ElementaryTypeName",src:"8922:7:133",typeDescriptions:{}}},id:86211,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8922:10:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"8907:25:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a204c32206f75747075742070726f706f73616c2063616e6e6f7420626520746865207a65726f2068617368",id:86213,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"8934:60:133",typeDescriptions:{typeIdentifier:"t_stringliteral_bd49586dceb93dcaff5457c4b7f965cdcdd796092fef31828e5d2ee522ee1ffa",typeString:'literal_string "L2OutputOracle: L2 output proposal cannot be the zero hash"'},value:"L2OutputOracle: L2 output proposal cannot be the zero hash"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_bd49586dceb93dcaff5457c4b7f965cdcdd796092fef31828e5d2ee522ee1ffa",typeString:'literal_string "L2OutputOracle: L2 output proposal cannot be the zero hash"'}],id:86206,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"8899:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86214,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8899:96:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86215,nodeType:"ExpressionStatement",src:"8899:96:133"},{condition:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86221,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86216,name:"_l1BlockHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86175,src:"9010:12:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:86219,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"9034:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86218,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"9026:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:86217,name:"bytes32",nodeType:"ElementaryTypeName",src:"9026:7:133",typeDescriptions:{}}},id:86220,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9026:10:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"9010:26:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86232,nodeType:"IfStatement",src:"9006:897:133",trueBody:{id:86231,nodeType:"Block",src:"9038:865:133",statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86227,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[{id:86224,name:"_l1BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86177,src:"9754:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86223,name:"blockhash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-5,src:"9744:9:133",typeDescriptions:{typeIdentifier:"t_function_blockhash_view$_t_uint256_$returns$_t_bytes32_$",typeString:"function (uint256) view returns (bytes32)"}},id:86225,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9744:25:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{id:86226,name:"_l1BlockHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86175,src:"9773:12:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"9744:41:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a20626c6f636b206861736820646f6573206e6f74206d617463682074686520686173682061742074686520657870656374656420686569676874",id:86228,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"9803:75:133",typeDescriptions:{typeIdentifier:"t_stringliteral_126a709d462b085b243904a4250a7244b58590dd3a6ba08b7c943ca19e9fb452",typeString:'literal_string "L2OutputOracle: block hash does not match the hash at the expected height"'},value:"L2OutputOracle: block hash does not match the hash at the expected height"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_126a709d462b085b243904a4250a7244b58590dd3a6ba08b7c943ca19e9fb452",typeString:'literal_string "L2OutputOracle: block hash does not match the hash at the expected height"'}],id:86222,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"9719:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86229,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9719:173:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86230,nodeType:"ExpressionStatement",src:"9719:173:133"}]}},{eventCall:{arguments:[{id:86234,name:"_outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86171,src:"9933:11:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[],expression:{argumentTypes:[],id:86235,name:"nextOutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86382,src:"9946:15:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:86236,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9946:17:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:86237,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86173,src:"9965:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:86238,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"9981:5:133",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86239,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"9981:15:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86233,name:"OutputProposed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85973,src:"9918:14:133",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$",typeString:"function (bytes32,uint256,uint256,uint256)"}},id:86240,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9918:79:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86241,nodeType:"EmitStatement",src:"9913:84:133"},{expression:{arguments:[{arguments:[{id:86247,name:"_outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86171,src:"10087:11:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{expression:{id:86250,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"10135:5:133",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86251,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"10135:15:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86249,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"10127:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:86248,name:"uint128",nodeType:"ElementaryTypeName",src:"10127:7:133",typeDescriptions:{}}},id:86252,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10127:24:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},{arguments:[{id:86255,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86173,src:"10192:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86254,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"10184:7:133",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:86253,name:"uint128",nodeType:"ElementaryTypeName",src:"10184:7:133",typeDescriptions:{}}},id:86256,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10184:23:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_uint128",typeString:"uint128"},{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:86245,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"10036:5:133",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Types_$104349_$",typeString:"type(library Types)"}},id:86246,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"OutputProposal",nodeType:"MemberAccess",referencedDeclaration:104307,src:"10036:20:133",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_OutputProposal_$104307_storage_ptr_$",typeString:"type(struct Types.OutputProposal storage pointer)"}},id:86257,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["outputRoot","timestamp","l2BlockNumber"],nodeType:"FunctionCall",src:"10036:186:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}],expression:{id:86242,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"10008:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86244,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"10008:14:133",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage_ptr_$_t_struct$_OutputProposal_$104307_storage_$returns$__$bound_to$_t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage_ptr_$",typeString:"function (struct Types.OutputProposal storage ref[] storage pointer,struct Types.OutputProposal storage ref)"}},id:86258,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10008:224:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86259,nodeType:"ExpressionStatement",src:"10008:224:133"}]},documentation:{id:86169,nodeType:"StructuredDocumentation",src:"7670:583:133",text:`@notice Accepts an outputRoot and the timestamp of the corresponding L2 block. + The timestamp must be equal to the current value returned by \`nextTimestamp()\` in + order to be accepted. This function may only be called by the Proposer. + @param _outputRoot The L2 output of the checkpoint block. + @param _l2BlockNumber The L2 block number that resulted in _outputRoot. + @param _l1BlockHash A block hash which must be included in the current chain. + @param _l1BlockNumber The block number with the specified block hash.`},functionSelector:"9aaab648",implemented:!0,kind:"function",modifiers:[],name:"proposeL2Output",nameLocation:"8267:15:133",parameters:{id:86178,nodeType:"ParameterList",parameters:[{constant:!1,id:86171,mutability:"mutable",name:"_outputRoot",nameLocation:"8300:11:133",nodeType:"VariableDeclaration",scope:86261,src:"8292:19:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86170,name:"bytes32",nodeType:"ElementaryTypeName",src:"8292:7:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:86173,mutability:"mutable",name:"_l2BlockNumber",nameLocation:"8329:14:133",nodeType:"VariableDeclaration",scope:86261,src:"8321:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86172,name:"uint256",nodeType:"ElementaryTypeName",src:"8321:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86175,mutability:"mutable",name:"_l1BlockHash",nameLocation:"8361:12:133",nodeType:"VariableDeclaration",scope:86261,src:"8353:20:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86174,name:"bytes32",nodeType:"ElementaryTypeName",src:"8353:7:133",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:86177,mutability:"mutable",name:"_l1BlockNumber",nameLocation:"8391:14:133",nodeType:"VariableDeclaration",scope:86261,src:"8383:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86176,name:"uint256",nodeType:"ElementaryTypeName",src:"8383:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"8282:129:133"},returnParameters:{id:86179,nodeType:"ParameterList",parameters:[],src:"8449:0:133"},scope:86435,stateMutability:"payable",virtual:!1,visibility:"external"},{id:86275,nodeType:"FunctionDefinition",src:"10443:146:133",nodes:[],body:{id:86274,nodeType:"Block",src:"10540:49:133",nodes:[],statements:[{expression:{baseExpression:{id:86270,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"10557:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86272,indexExpression:{id:86271,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86264,src:"10567:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"10557:25:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage",typeString:"struct Types.OutputProposal storage ref"}},functionReturnParameters:86269,id:86273,nodeType:"Return",src:"10550:32:133"}]},documentation:{id:86262,nodeType:"StructuredDocumentation",src:"10245:193:133",text:`@notice Returns an output by index. Needed to return a struct instead of a tuple. + @param _l2OutputIndex Index of the output to return. + @return The output at the given index.`},functionSelector:"a25ae557",implemented:!0,kind:"function",modifiers:[],name:"getL2Output",nameLocation:"10452:11:133",parameters:{id:86265,nodeType:"ParameterList",parameters:[{constant:!1,id:86264,mutability:"mutable",name:"_l2OutputIndex",nameLocation:"10472:14:133",nodeType:"VariableDeclaration",scope:86275,src:"10464:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86263,name:"uint256",nodeType:"ElementaryTypeName",src:"10464:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"10463:24:133"},returnParameters:{id:86269,nodeType:"ParameterList",parameters:[{constant:!1,id:86268,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86275,src:"10511:27:133",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal"},typeName:{id:86267,nodeType:"UserDefinedTypeName",pathNode:{id:86266,name:"Types.OutputProposal",nodeType:"IdentifierPath",referencedDeclaration:104307,src:"10511:20:133"},referencedDeclaration:104307,src:"10511:20:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage_ptr",typeString:"struct Types.OutputProposal"}},visibility:"internal"}],src:"10510:29:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86344,nodeType:"FunctionDefinition",src:"10969:896:133",nodes:[],body:{id:86343,nodeType:"Block",src:"11054:811:133",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86287,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86284,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86278,src:"11166:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<=",rightExpression:{arguments:[],expression:{argumentTypes:[],id:86285,name:"latestBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86403,src:"11184:17:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:86286,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11184:19:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11166:37:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a2063616e6e6f7420676574206f757470757420666f72206120626c6f636b207468617420686173206e6f74206265656e2070726f706f736564",id:86288,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"11217:74:133",typeDescriptions:{typeIdentifier:"t_stringliteral_e20eea09cda66a0de8aaee9225052cff8973e85b47dc903dda82ca1d2f5e4f1e",typeString:'literal_string "L2OutputOracle: cannot get output for a block that has not been proposed"'},value:"L2OutputOracle: cannot get output for a block that has not been proposed"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_e20eea09cda66a0de8aaee9225052cff8973e85b47dc903dda82ca1d2f5e4f1e",typeString:'literal_string "L2OutputOracle: cannot get output for a block that has not been proposed"'}],id:86283,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11145:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86289,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11145:156:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86290,nodeType:"ExpressionStatement",src:"11145:156:133"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86295,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86292,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"11379:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86293,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"11379:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"30",id:86294,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11398:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"11379:20:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4c324f75747075744f7261636c653a2063616e6e6f7420676574206f7574707574206173206e6f206f7574707574732068617665206265656e2070726f706f73656420796574",id:86296,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"11401:72:133",typeDescriptions:{typeIdentifier:"t_stringliteral_80c3451a3ec9750ebb6fb31ae69a5869a904e947867f132ba63cfb294c03b73e",typeString:'literal_string "L2OutputOracle: cannot get output as no outputs have been proposed yet"'},value:"L2OutputOracle: cannot get output as no outputs have been proposed yet"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_80c3451a3ec9750ebb6fb31ae69a5869a904e947867f132ba63cfb294c03b73e",typeString:'literal_string "L2OutputOracle: cannot get output as no outputs have been proposed yet"'}],id:86291,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11371:7:133",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86297,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11371:103:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86298,nodeType:"ExpressionStatement",src:"11371:103:133"},{assignments:[86300],declarations:[{constant:!1,id:86300,mutability:"mutable",name:"lo",nameLocation:"11560:2:133",nodeType:"VariableDeclaration",scope:86343,src:"11552:10:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86299,name:"uint256",nodeType:"ElementaryTypeName",src:"11552:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:86302,initialValue:{hexValue:"30",id:86301,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11565:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},nodeType:"VariableDeclarationStatement",src:"11552:14:133"},{assignments:[86304],declarations:[{constant:!1,id:86304,mutability:"mutable",name:"hi",nameLocation:"11584:2:133",nodeType:"VariableDeclaration",scope:86343,src:"11576:10:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86303,name:"uint256",nodeType:"ElementaryTypeName",src:"11576:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:86307,initialValue:{expression:{id:86305,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"11589:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86306,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"11589:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"11576:29:133"},{body:{id:86339,nodeType:"Block",src:"11631:208:133",statements:[{assignments:[86312],declarations:[{constant:!1,id:86312,mutability:"mutable",name:"mid",nameLocation:"11653:3:133",nodeType:"VariableDeclaration",scope:86339,src:"11645:11:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86311,name:"uint256",nodeType:"ElementaryTypeName",src:"11645:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:86319,initialValue:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86318,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86315,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86313,name:"lo",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86300,src:"11660:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{id:86314,name:"hi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86304,src:"11665:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11660:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:86316,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"11659:9:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"/",rightExpression:{hexValue:"32",id:86317,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11671:1:133",typeDescriptions:{typeIdentifier:"t_rational_2_by_1",typeString:"int_const 2"},value:"2"},src:"11659:13:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"11645:27:133"},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86325,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{baseExpression:{id:86320,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"11690:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86322,indexExpression:{id:86321,name:"mid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86312,src:"11700:3:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"11690:14:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage",typeString:"struct Types.OutputProposal storage ref"}},id:86323,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2BlockNumber",nodeType:"MemberAccess",referencedDeclaration:104306,src:"11690:28:133",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{id:86324,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86278,src:"11721:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11690:45:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:86337,nodeType:"Block",src:"11788:41:133",statements:[{expression:{id:86335,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86333,name:"hi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86304,src:"11806:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86334,name:"mid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86312,src:"11811:3:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11806:8:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86336,nodeType:"ExpressionStatement",src:"11806:8:133"}]},id:86338,nodeType:"IfStatement",src:"11686:143:133",trueBody:{id:86332,nodeType:"Block",src:"11737:45:133",statements:[{expression:{id:86330,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86326,name:"lo",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86300,src:"11755:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86329,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86327,name:"mid",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86312,src:"11760:3:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"31",id:86328,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"11766:1:133",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"11760:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11755:12:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:86331,nodeType:"ExpressionStatement",src:"11755:12:133"}]}}]},condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86310,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86308,name:"lo",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86300,src:"11622:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{id:86309,name:"hi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86304,src:"11627:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"11622:7:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86340,nodeType:"WhileStatement",src:"11615:224:133"},{expression:{id:86341,name:"lo",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86300,src:"11856:2:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86282,id:86342,nodeType:"Return",src:"11849:9:133"}]},documentation:{id:86276,nodeType:"StructuredDocumentation",src:"10595:369:133",text:`@notice Returns the index of the L2 output that checkpoints a given L2 block number. + Uses a binary search to find the first output greater than or equal to the given + block. + @param _l2BlockNumber L2 block number to find a checkpoint for. + @return Index of the first checkpoint that commits to the given L2 block number.`},functionSelector:"7f006420",implemented:!0,kind:"function",modifiers:[],name:"getL2OutputIndexAfter",nameLocation:"10978:21:133",parameters:{id:86279,nodeType:"ParameterList",parameters:[{constant:!1,id:86278,mutability:"mutable",name:"_l2BlockNumber",nameLocation:"11008:14:133",nodeType:"VariableDeclaration",scope:86344,src:"11000:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86277,name:"uint256",nodeType:"ElementaryTypeName",src:"11000:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"10999:24:133"},returnParameters:{id:86282,nodeType:"ParameterList",parameters:[{constant:!1,id:86281,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86344,src:"11045:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86280,name:"uint256",nodeType:"ElementaryTypeName",src:"11045:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"11044:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"public"},{id:86360,nodeType:"FunctionDefinition",src:"12228:174:133",nodes:[],body:{id:86359,nodeType:"Block",src:"12330:72:133",nodes:[],statements:[{expression:{baseExpression:{id:86353,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"12347:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86357,indexExpression:{arguments:[{id:86355,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86347,src:"12379:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86354,name:"getL2OutputIndexAfter",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86344,src:"12357:21:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_uint256_$",typeString:"function (uint256) view returns (uint256)"}},id:86356,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12357:37:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"12347:48:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage",typeString:"struct Types.OutputProposal storage ref"}},functionReturnParameters:86352,id:86358,nodeType:"Return",src:"12340:55:133"}]},documentation:{id:86345,nodeType:"StructuredDocumentation",src:"11871:352:133",text:`@notice Returns the L2 output proposal that checkpoints a given L2 block number. + Uses a binary search to find the first output greater than or equal to the given + block. + @param _l2BlockNumber L2 block number to find a checkpoint for. + @return First checkpoint that commits to the given L2 block number.`},functionSelector:"cf8e5cf0",implemented:!0,kind:"function",modifiers:[],name:"getL2OutputAfter",nameLocation:"12237:16:133",parameters:{id:86348,nodeType:"ParameterList",parameters:[{constant:!1,id:86347,mutability:"mutable",name:"_l2BlockNumber",nameLocation:"12262:14:133",nodeType:"VariableDeclaration",scope:86360,src:"12254:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86346,name:"uint256",nodeType:"ElementaryTypeName",src:"12254:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"12253:24:133"},returnParameters:{id:86352,nodeType:"ParameterList",parameters:[{constant:!1,id:86351,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86360,src:"12301:27:133",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal"},typeName:{id:86350,nodeType:"UserDefinedTypeName",pathNode:{id:86349,name:"Types.OutputProposal",nodeType:"IdentifierPath",referencedDeclaration:104307,src:"12301:20:133"},referencedDeclaration:104307,src:"12301:20:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage_ptr",typeString:"struct Types.OutputProposal"}},visibility:"internal"}],src:"12300:29:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86372,nodeType:"FunctionDefinition",src:"12608:105:133",nodes:[],body:{id:86371,nodeType:"Block",src:"12669:44:133",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86369,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86366,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"12686:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86367,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"12686:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:86368,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"12705:1:133",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"12686:20:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86365,id:86370,nodeType:"Return",src:"12679:27:133"}]},documentation:{id:86361,nodeType:"StructuredDocumentation",src:"12408:195:133",text:`@notice Returns the number of outputs that have been proposed. + Will revert if no outputs have been proposed yet. + @return The number of outputs that have been proposed.`},functionSelector:"69f16eec",implemented:!0,kind:"function",modifiers:[],name:"latestOutputIndex",nameLocation:"12617:17:133",parameters:{id:86362,nodeType:"ParameterList",parameters:[],src:"12634:2:133"},returnParameters:{id:86365,nodeType:"ParameterList",parameters:[{constant:!1,id:86364,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86372,src:"12660:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86363,name:"uint256",nodeType:"ElementaryTypeName",src:"12660:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"12659:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"external"},{id:86382,nodeType:"FunctionDefinition",src:"12849:97:133",nodes:[],body:{id:86381,nodeType:"Block",src:"12906:40:133",nodes:[],statements:[{expression:{expression:{id:86378,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"12923:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86379,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"12923:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86377,id:86380,nodeType:"Return",src:"12916:23:133"}]},documentation:{id:86373,nodeType:"StructuredDocumentation",src:"12719:125:133",text:`@notice Returns the index of the next output to be proposed. + @return The index of the next output to be proposed.`},functionSelector:"6abcf563",implemented:!0,kind:"function",modifiers:[],name:"nextOutputIndex",nameLocation:"12858:15:133",parameters:{id:86374,nodeType:"ParameterList",parameters:[],src:"12873:2:133"},returnParameters:{id:86377,nodeType:"ParameterList",parameters:[{constant:!1,id:86376,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86382,src:"12897:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86375,name:"uint256",nodeType:"ElementaryTypeName",src:"12897:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"12896:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"public"},{id:86403,nodeType:"FunctionDefinition",src:"13212:174:133",nodes:[],body:{id:86402,nodeType:"Block",src:"13271:115:133",nodes:[],statements:[{expression:{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86391,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86388,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"13288:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86389,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"13288:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:86390,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13308:1:133",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"13288:21:133",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseExpression:{expression:{baseExpression:{id:86393,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"13334:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86398,indexExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86397,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86394,name:"l2Outputs",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85947,src:"13344:9:133",typeDescriptions:{typeIdentifier:"t_array$_t_struct$_OutputProposal_$104307_storage_$dyn_storage",typeString:"struct Types.OutputProposal storage ref[] storage ref"}},id:86395,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"13344:16:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{hexValue:"31",id:86396,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13363:1:133",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},src:"13344:20:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"13334:31:133",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage",typeString:"struct Types.OutputProposal storage ref"}},id:86399,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2BlockNumber",nodeType:"MemberAccess",referencedDeclaration:104306,src:"13334:45:133",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},id:86400,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"Conditional",src:"13288:91:133",trueExpression:{id:86392,name:"startingBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85939,src:"13312:19:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86387,id:86401,nodeType:"Return",src:"13281:98:133"}]},documentation:{id:86383,nodeType:"StructuredDocumentation",src:"12952:255:133",text:`@notice Returns the block number of the latest submitted L2 output proposal. + If no proposals been submitted yet then this function will return the starting + block number. + @return Latest submitted L2 block number.`},functionSelector:"4599c788",implemented:!0,kind:"function",modifiers:[],name:"latestBlockNumber",nameLocation:"13221:17:133",parameters:{id:86384,nodeType:"ParameterList",parameters:[],src:"13238:2:133"},returnParameters:{id:86387,nodeType:"ParameterList",parameters:[{constant:!1,id:86386,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86403,src:"13262:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86385,name:"uint256",nodeType:"ElementaryTypeName",src:"13262:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"13261:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"public"},{id:86415,nodeType:"FunctionDefinition",src:"13524:121:133",nodes:[],body:{id:86414,nodeType:"Block",src:"13581:64:133",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86412,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],id:86409,name:"latestBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86403,src:"13598:17:133",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:86410,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13598:19:133",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{id:86411,name:"submissionInterval",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85950,src:"13620:18:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"13598:40:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86408,id:86413,nodeType:"Return",src:"13591:47:133"}]},documentation:{id:86404,nodeType:"StructuredDocumentation",src:"13392:127:133",text:`@notice Computes the block number of the next L2 block that needs to be checkpointed. + @return Next L2 block number.`},functionSelector:"dcec3348",implemented:!0,kind:"function",modifiers:[],name:"nextBlockNumber",nameLocation:"13533:15:133",parameters:{id:86405,nodeType:"ParameterList",parameters:[],src:"13548:2:133"},returnParameters:{id:86408,nodeType:"ParameterList",parameters:[{constant:!1,id:86407,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86415,src:"13572:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86406,name:"uint256",nodeType:"ElementaryTypeName",src:"13572:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"13571:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"public"},{id:86434,nodeType:"FunctionDefinition",src:"13854:180:133",nodes:[],body:{id:86433,nodeType:"Block",src:"13936:98:133",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86431,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86423,name:"startingTimestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85942,src:"13953:17:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86429,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{components:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86426,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86424,name:"_l2BlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86418,src:"13975:14:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{id:86425,name:"startingBlockNumber",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85939,src:"13992:19:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"13975:36:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:86427,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"13974:38:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{id:86428,name:"l2BlockTime",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:85953,src:"14015:11:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"13974:52:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],id:86430,isConstant:!1,isInlineArray:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"TupleExpression",src:"13973:54:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"13953:74:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:86422,id:86432,nodeType:"Return",src:"13946:81:133"}]},documentation:{id:86416,nodeType:"StructuredDocumentation",src:"13651:198:133",text:`@notice Returns the L2 timestamp corresponding to a given L2 block number. + @param _l2BlockNumber The L2 block number of the target block. + @return L2 timestamp of the given block.`},functionSelector:"d1de856c",implemented:!0,kind:"function",modifiers:[],name:"computeL2Timestamp",nameLocation:"13863:18:133",parameters:{id:86419,nodeType:"ParameterList",parameters:[{constant:!1,id:86418,mutability:"mutable",name:"_l2BlockNumber",nameLocation:"13890:14:133",nodeType:"VariableDeclaration",scope:86434,src:"13882:22:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86417,name:"uint256",nodeType:"ElementaryTypeName",src:"13882:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"13881:24:133"},returnParameters:{id:86422,nodeType:"ParameterList",parameters:[{constant:!1,id:86421,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86434,src:"13927:7:133",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86420,name:"uint256",nodeType:"ElementaryTypeName",src:"13927:7:133",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"13926:9:133"},scope:86435,stateMutability:"view",virtual:!1,visibility:"public"}],abstract:!1,baseContracts:[{baseName:{id:85933,name:"Initializable",nodeType:"IdentifierPath",referencedDeclaration:49678,src:"638:13:133"},id:85934,nodeType:"InheritanceSpecifier",src:"638:13:133"},{baseName:{id:85935,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"653:7:133"},id:85936,nodeType:"InheritanceSpecifier",src:"653:7:133"}],canonicalName:"L2OutputOracle",contractDependencies:[],contractKind:"contract",documentation:{id:85932,nodeType:"StructuredDocumentation",src:"304:307:133",text:`@custom:proxied + @title L2OutputOracle + @notice The L2OutputOracle contains an array of L2 state outputs, where each output is a + commitment to the state of the L2 chain. Other contracts like the OptimismPortal use + these outputs to verify information about the state of L2.`},fullyImplemented:!0,linearizedBaseContracts:[86435,109417,49678],name:"L2OutputOracle",nameLocation:"620:14:133",scope:86436,usedErrors:[]}],license:"MIT"},id:133}});var NYe=B((ila,mj0)=>{mj0.exports={abi:[{type:"receive",stateMutability:"payable"},{type:"function",name:"MESSAGE_VERSION",inputs:[],outputs:[{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"initiateWithdrawal",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_gasLimit",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"messageNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"sentMessages",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"MessagePassed",inputs:[{name:"nonce",type:"uint256",indexed:!0,internalType:"uint256"},{name:"sender",type:"address",indexed:!0,internalType:"address"},{name:"target",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"},{name:"gasLimit",type:"uint256",indexed:!1,internalType:"uint256"},{name:"data",type:"bytes",indexed:!1,internalType:"bytes"},{name:"withdrawalHash",type:"bytes32",indexed:!1,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"WithdrawerBalanceBurnt",inputs:[{name:"amount",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b506106d3806100206000396000f3fe6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:150:-:0;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106100695760003560e01c806382e3702d1161004357806382e3702d1461012a578063c2b3e5ac1461016a578063ecc704281461017d57600080fd5b80633f827a5a1461009257806344df8e70146100bf57806354fd4d50146100d457600080fd5b3661008d5761008b33620186a0604051806020016040528060008152506101e2565b005b600080fd5b34801561009e57600080fd5b506100a7600181565b60405161ffff90911681526020015b60405180910390f35b3480156100cb57600080fd5b5061008b6103a6565b3480156100e057600080fd5b5061011d6040518060400160405280600581526020017f312e312e3000000000000000000000000000000000000000000000000000000081525081565b6040516100b691906104d1565b34801561013657600080fd5b5061015a6101453660046104eb565b60006020819052908152604090205460ff1681565b60405190151581526020016100b6565b61008b610178366004610533565b6101e2565b34801561018957600080fd5b506101d46001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b6040519081526020016100b6565b60006102786040518060c0016040528061023c6001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b815233602082015273ffffffffffffffffffffffffffffffffffffffff871660408201523460608201526080810186905260a0018490526103de565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055905073ffffffffffffffffffffffffffffffffffffffff8416336103136001547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e010000000000000000000000000000000000000000000000000000000000001790565b7f02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054348787876040516103489493929190610637565b60405180910390a45050600180547dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082168301167fffff0000000000000000000000000000000000000000000000000000000000009091161790555050565b476103b08161042b565b60405181907f7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f90600090a250565b80516020808301516040808501516060860151608087015160a0880151935160009761040e979096959101610667565b604051602081830303815290604052805190602001209050919050565b806040516104389061045a565b6040518091039082f0905080158015610455573d6000803e3d6000fd5b505050565b6008806106bf83390190565b6000815180845260005b8181101561048c57602081850181015186830182015201610470565b8181111561049e576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104e46020830184610466565b9392505050565b6000602082840312156104fd57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060006060848603121561054857600080fd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461056c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561059057600080fd5b818601915086601f8301126105a457600080fd5b8135818111156105b6576105b6610504565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156105fc576105fc610504565b8160405282815289602084870101111561061557600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b8481528360208201526080604082015260006106566080830185610466565b905082606083015295945050505050565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526106b260c0830184610466565b9897505050505050505056fe608060405230fffea164736f6c634300080f000a",sourceMap:"722:3696:150:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:68;2493:10;911:7;2532:9;;;;;;;;;;;;2474:18;:68::i;:::-;722:3696;;;;;981:42;;;;;;;;;;;;1022:1;981:42;;;;;188:6:357;176:19;;;158:38;;146:2;131:18;981:42:150;;;;;;;;2915:154;;;;;;;;;;;;;:::i;2307:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1094:44::-;;;;;;;;;;-1:-1:-1;1094:44:150;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;1318:14:357;;1311:22;1293:41;;1281:2;1266:18;1094:44:150;1153:187:357;3311:650:150;;;;;;:::i;:::-;;:::i;4282:134::-;;;;;;;;;;;;4383:8;;;;4855:18:195;4852:30;;4282:134:150;;;;2930:25:357;;;2918:2;2903:18;4282:134:150;2784:177:357;3311:650:150;3420:22;3445:297;3481:251;;;;;;;;3534:14;4383:8;;;;4855:18:195;4852:30;;4282:134:150;3534:14;3481:251;;3574:10;3481:251;;;;;;;;;;;3642:9;3481:251;;;;;;;;;;;;;;;3445:22;:297::i;:::-;3753:12;:28;;;;;;;;;;:35;;;;3784:4;3753:35;;;3420:322;-1:-1:-1;3804:95:150;;;3834:10;3818:14;4383:8;;;;4855:18:195;4852:30;;4282:134:150;3818:14;3804:95;3855:9;3866;3877:5;3884:14;3804:95;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;3936:8:150;3934:10;;;;;;;;;;;;;;;;-1:-1:-1;;3311:650:150:o;2915:154::-;2968:21;2999:17;2968:21;2999:8;:17::i;:::-;3031:31;;3054:7;;3031:31;;;;;2940:129;2915:154::o;4456:211:196:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;224:86:190:-;292:7;273:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;224:86;:::o;-1:-1:-1:-;;;;;;;;:::o;207:531:357:-;249:3;287:5;281:12;314:6;309:3;302:19;339:1;349:162;363:6;360:1;357:13;349:162;;;425:4;481:13;;;477:22;;471:29;453:11;;;449:20;;442:59;378:12;349:162;;;529:6;526:1;523:13;520:87;;;595:1;588:4;579:6;574:3;570:16;566:27;559:38;520:87;-1:-1:-1;652:2:357;640:15;657:66;636:88;627:98;;;;727:4;623:109;;207:531;-1:-1:-1;;207:531:357:o;743:220::-;892:2;881:9;874:21;855:4;912:45;953:2;942:9;938:18;930:6;912:45;:::i;:::-;904:53;743:220;-1:-1:-1;;;743:220:357:o;968:180::-;1027:6;1080:2;1068:9;1059:7;1055:23;1051:32;1048:52;;;1096:1;1093;1086:12;1048:52;-1:-1:-1;1119:23:357;;968:180;-1:-1:-1;968:180:357:o;1345:184::-;1397:77;1394:1;1387:88;1494:4;1491:1;1484:15;1518:4;1515:1;1508:15;1534:1245;1620:6;1628;1636;1689:2;1677:9;1668:7;1664:23;1660:32;1657:52;;;1705:1;1702;1695:12;1657:52;1744:9;1731:23;1794:42;1787:5;1783:54;1776:5;1773:65;1763:93;;1852:1;1849;1842:12;1763:93;1875:5;-1:-1:-1;1927:2:357;1912:18;;1899:32;;-1:-1:-1;1982:2:357;1967:18;;1954:32;2005:18;2035:14;;;2032:34;;;2062:1;2059;2052:12;2032:34;2100:6;2089:9;2085:22;2075:32;;2145:7;2138:4;2134:2;2130:13;2126:27;2116:55;;2167:1;2164;2157:12;2116:55;2203:2;2190:16;2225:2;2221;2218:10;2215:36;;;2231:18;;:::i;:::-;2365:2;2359:9;2427:4;2419:13;;2270:66;2415:22;;;2439:2;2411:31;2407:40;2395:53;;;2463:18;;;2483:22;;;2460:46;2457:72;;;2509:18;;:::i;:::-;2549:10;2545:2;2538:22;2584:2;2576:6;2569:18;2624:7;2619:2;2614;2610;2606:11;2602:20;2599:33;2596:53;;;2645:1;2642;2635:12;2596:53;2701:2;2696;2692;2688:11;2683:2;2675:6;2671:15;2658:46;2746:1;2741:2;2736;2728:6;2724:15;2720:24;2713:35;2767:6;2757:16;;;;;;;1534:1245;;;;;:::o;2966:433::-;3197:6;3186:9;3179:25;3240:6;3235:2;3224:9;3220:18;3213:34;3283:3;3278:2;3267:9;3263:18;3256:31;3160:4;3304:46;3345:3;3334:9;3330:19;3322:6;3304:46;:::i;:::-;3296:54;;3386:6;3381:2;3370:9;3366:18;3359:34;2966:433;;;;;;;:::o;3404:656::-;3691:6;3680:9;3673:25;3654:4;3717:42;3807:2;3799:6;3795:15;3790:2;3779:9;3775:18;3768:43;3859:2;3851:6;3847:15;3842:2;3831:9;3827:18;3820:43;;3899:6;3894:2;3883:9;3879:18;3872:34;3943:6;3937:3;3926:9;3922:19;3915:35;3987:3;3981;3970:9;3966:19;3959:32;4008:46;4049:3;4038:9;4034:19;4026:6;4008:46;:::i;:::-;4000:54;3404:656;-1:-1:-1;;;;;;;;3404:656:357:o",linkReferences:{}},methodIdentifiers:{"MESSAGE_VERSION()":"3f827a5a","burn()":"44df8e70","initiateWithdrawal(address,uint256,bytes)":"c2b3e5ac","messageNonce()":"ecc70428","sentMessages(bytes32)":"82e3702d","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"gasLimit","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"}],"name":"MessagePassed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawerBalanceBurnt","type":"event"},{"inputs":[],"name":"MESSAGE_VERSION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_gasLimit","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initiateWithdrawal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"messageNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sentMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@custom:predeploy 0x4200000000000000000000000000000000000016","events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"params":{"data":"The data to be forwarded to the target on L1.","gasLimit":"The minimum amount of gas that must be provided when withdrawing.","nonce":"Unique value corresponding to each withdrawal.","sender":"The L2 account address which initiated the withdrawal.","target":"The L1 account address the call will be send to.","value":"The ETH value submitted for withdrawal, to be forwarded to the target.","withdrawalHash":"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{"params":{"amount":"Amount of ETh that was burned."}}},"kind":"dev","methods":{"initiateWithdrawal(address,uint256,bytes)":{"params":{"_data":"Data to forward to L1 target.","_gasLimit":"Minimum gas limit for executing the message on L1.","_target":"Address to call on L1 execution."}},"messageNonce()":{"returns":{"_0":"Nonce of the next message to be sent, with added message version."}}},"stateVariables":{"version":{"custom:semver":"1.1.0"}},"title":"L2ToL1MessagePasser","version":1},"userdoc":{"events":{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{"notice":"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{"notice":"Emitted when the balance of this contract is burned."}},"kind":"user","methods":{"MESSAGE_VERSION()":{"notice":"The current message version identifier."},"burn()":{"notice":"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{"notice":"Sends a message from L2 to L1."},"messageNonce()":{"notice":"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{"notice":"Includes the message hashes for all withdrawals"}},"notice":"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages.","version":1}},"settings":{"compilationTarget":{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"src/L2/L2ToL1MessagePasser.sol":{"keccak256":"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21","license":"MIT","urls":["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"nonce",type:"uint256",indexed:!0},{internalType:"address",name:"sender",type:"address",indexed:!0},{internalType:"address",name:"target",type:"address",indexed:!0},{internalType:"uint256",name:"value",type:"uint256",indexed:!1},{internalType:"uint256",name:"gasLimit",type:"uint256",indexed:!1},{internalType:"bytes",name:"data",type:"bytes",indexed:!1},{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!1}],type:"event",name:"MessagePassed",anonymous:!1},{inputs:[{internalType:"uint256",name:"amount",type:"uint256",indexed:!0}],type:"event",name:"WithdrawerBalanceBurnt",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"MESSAGE_VERSION",outputs:[{internalType:"uint16",name:"",type:"uint16"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"burn"},{inputs:[{internalType:"address",name:"_target",type:"address"},{internalType:"uint256",name:"_gasLimit",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"initiateWithdrawal"},{inputs:[],stateMutability:"view",type:"function",name:"messageNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"sentMessages",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},version:1},userdoc:{kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L2/L2ToL1MessagePasser.sol":"L2ToL1MessagePasser"},evmVersion:"london",libraries:{}},sources:{"src/L2/L2ToL1MessagePasser.sol":{keccak256:"0x67f440defc45e97bf1494274a9061876cbdcb10625707c534a0cb04b1c057e21",urls:["bzz-raw://47900ccfcd1e4506d50dd3b14069da285eeb5f783020a0c74f58181b4c011460","dweb:/ipfs/QmNUtEAxiwXT8QDbCHsX3uT4h2fh6k9f8LvMrmRK2N7K61"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:91174,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"sentMessages",offset:0,slot:"0",type:"t_mapping(t_bytes32,t_bool)"},{astId:91177,contract:"src/L2/L2ToL1MessagePasser.sol:L2ToL1MessagePasser",label:"msgNonce",offset:0,slot:"1",type:"t_uint240"}],types:{t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},t_uint240:{encoding:"inplace",label:"uint240",numberOfBytes:"30"}}},userdoc:{version:1,kind:"user",methods:{"MESSAGE_VERSION()":{notice:"The current message version identifier."},"burn()":{notice:"Removes all ETH held by this contract from the state. Used to prevent the amount of ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to create a contract and self-destruct it to itself. Anyone can call this function. Not incentivized since this function is very cheap."},"initiateWithdrawal(address,uint256,bytes)":{notice:"Sends a message from L2 to L1."},"messageNonce()":{notice:"Retrieves the next message nonce. Message version will be added to the upper two bytes of the message nonce. Message version allows us to treat messages as having different structures."},"sentMessages(bytes32)":{notice:"Includes the message hashes for all withdrawals"}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{notice:"Emitted any time a withdrawal is initiated."},"WithdrawerBalanceBurnt(uint256)":{notice:"Emitted when the balance of this contract is burned."}},notice:"The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from L2 to L1 can be stored. The storage root of this contract is pulled up to the top level of the L2 output to reduce the cost of proving the existence of sent messages."},devdoc:{version:1,kind:"dev",methods:{"initiateWithdrawal(address,uint256,bytes)":{params:{_data:"Data to forward to L1 target.",_gasLimit:"Minimum gas limit for executing the message on L1.",_target:"Address to call on L1 execution."}},"messageNonce()":{returns:{_0:"Nonce of the next message to be sent, with added message version."}}},events:{"MessagePassed(uint256,address,address,uint256,uint256,bytes,bytes32)":{params:{data:"The data to be forwarded to the target on L1.",gasLimit:"The minimum amount of gas that must be provided when withdrawing.",nonce:"Unique value corresponding to each withdrawal.",sender:"The L2 account address which initiated the withdrawal.",target:"The L1 account address the call will be send to.",value:"The ETH value submitted for withdrawal, to be forwarded to the target.",withdrawalHash:"The hash of the withdrawal."}},"WithdrawerBalanceBurnt(uint256)":{params:{amount:"Amount of ETh that was burned."}}},title:"L2ToL1MessagePasser"},ast:{absolutePath:"src/L2/L2ToL1MessagePasser.sol",id:91308,exportedSymbols:{Burn:[102909],Encoding:[103714],Hashing:[103936],ISemver:[109417],L2ToL1MessagePasser:[91307],Types:[104349]},nodeType:"SourceUnit",src:"32:4387:150",nodes:[{id:91148,nodeType:"PragmaDirective",src:"32:23:150",nodes:[],literals:["solidity","0.8",".15"]},{id:91150,nodeType:"ImportDirective",src:"57:48:150",nodes:[],absolutePath:"src/libraries/Types.sol",file:"src/libraries/Types.sol",nameLocation:"-1:-1:-1",scope:91308,sourceUnit:104350,symbolAliases:[{foreign:{id:91149,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"66:5:150",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91152,nodeType:"ImportDirective",src:"106:52:150",nodes:[],absolutePath:"src/libraries/Hashing.sol",file:"src/libraries/Hashing.sol",nameLocation:"-1:-1:-1",scope:91308,sourceUnit:103937,symbolAliases:[{foreign:{id:91151,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"115:7:150",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91154,nodeType:"ImportDirective",src:"159:54:150",nodes:[],absolutePath:"src/libraries/Encoding.sol",file:"src/libraries/Encoding.sol",nameLocation:"-1:-1:-1",scope:91308,sourceUnit:103715,symbolAliases:[{foreign:{id:91153,name:"Encoding",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103714,src:"168:8:150",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91156,nodeType:"ImportDirective",src:"214:46:150",nodes:[],absolutePath:"src/libraries/Burn.sol",file:"src/libraries/Burn.sol",nameLocation:"-1:-1:-1",scope:91308,sourceUnit:102926,symbolAliases:[{foreign:{id:91155,name:"Burn",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102909,src:"223:4:150",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91158,nodeType:"ImportDirective",src:"261:52:150",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:91308,sourceUnit:109418,symbolAliases:[{foreign:{id:91157,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"270:7:150",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:91307,nodeType:"ContractDefinition",src:"722:3696:150",nodes:[{id:91165,nodeType:"VariableDeclaration",src:"857:61:150",nodes:[],constant:!0,documentation:{id:91162,nodeType:"StructuredDocumentation",src:"768:84:150",text:"@notice The L1 gas limit set when eth is withdrawn using the receive() function."},mutability:"constant",name:"RECEIVE_DEFAULT_GAS_LIMIT",nameLocation:"883:25:150",scope:91307,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91163,name:"uint256",nodeType:"ElementaryTypeName",src:"857:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},value:{hexValue:"3130305f303030",id:91164,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"911:7:150",typeDescriptions:{typeIdentifier:"t_rational_100000_by_1",typeString:"int_const 100000"},value:"100_000"},visibility:"internal"},{id:91169,nodeType:"VariableDeclaration",src:"981:42:150",nodes:[],constant:!0,documentation:{id:91166,nodeType:"StructuredDocumentation",src:"925:51:150",text:"@notice The current message version identifier."},functionSelector:"3f827a5a",mutability:"constant",name:"MESSAGE_VERSION",nameLocation:"1004:15:150",scope:91307,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint16",typeString:"uint16"},typeName:{id:91167,name:"uint16",nodeType:"ElementaryTypeName",src:"981:6:150",typeDescriptions:{typeIdentifier:"t_uint16",typeString:"uint16"}},value:{hexValue:"31",id:91168,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1022:1:150",typeDescriptions:{typeIdentifier:"t_rational_1_by_1",typeString:"int_const 1"},value:"1"},visibility:"public"},{id:91174,nodeType:"VariableDeclaration",src:"1094:44:150",nodes:[],constant:!1,documentation:{id:91170,nodeType:"StructuredDocumentation",src:"1030:59:150",text:"@notice Includes the message hashes for all withdrawals"},functionSelector:"82e3702d",mutability:"mutable",name:"sentMessages",nameLocation:"1126:12:150",scope:91307,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},typeName:{id:91173,keyType:{id:91171,name:"bytes32",nodeType:"ElementaryTypeName",src:"1102:7:150",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"1094:24:150",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},valueType:{id:91172,name:"bool",nodeType:"ElementaryTypeName",src:"1113:4:150",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:91177,nodeType:"VariableDeclaration",src:"1205:25:150",nodes:[],constant:!1,documentation:{id:91175,nodeType:"StructuredDocumentation",src:"1145:55:150",text:"@notice A unique value hashed with each withdrawal."},mutability:"mutable",name:"msgNonce",nameLocation:"1222:8:150",scope:91307,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint240",typeString:"uint240"},typeName:{id:91176,name:"uint240",nodeType:"ElementaryTypeName",src:"1205:7:150",typeDescriptions:{typeIdentifier:"t_uint240",typeString:"uint240"}},visibility:"internal"},{id:91194,nodeType:"EventDefinition",src:"1869:222:150",nodes:[],anonymous:!1,documentation:{id:91178,nodeType:"StructuredDocumentation",src:"1237:627:150",text:`@notice Emitted any time a withdrawal is initiated. + @param nonce Unique value corresponding to each withdrawal. + @param sender The L2 account address which initiated the withdrawal. + @param target The L1 account address the call will be send to. + @param value The ETH value submitted for withdrawal, to be forwarded to the target. + @param gasLimit The minimum amount of gas that must be provided when withdrawing. + @param data The data to be forwarded to the target on L1. + @param withdrawalHash The hash of the withdrawal.`},eventSelector:"02a52367d10742d8032712c1bb8e0144ff1ec5ffda1ed7d70bb05a2744955054",name:"MessagePassed",nameLocation:"1875:13:150",parameters:{id:91193,nodeType:"ParameterList",parameters:[{constant:!1,id:91180,indexed:!0,mutability:"mutable",name:"nonce",nameLocation:"1914:5:150",nodeType:"VariableDeclaration",scope:91194,src:"1898:21:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91179,name:"uint256",nodeType:"ElementaryTypeName",src:"1898:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91182,indexed:!0,mutability:"mutable",name:"sender",nameLocation:"1945:6:150",nodeType:"VariableDeclaration",scope:91194,src:"1929:22:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91181,name:"address",nodeType:"ElementaryTypeName",src:"1929:7:150",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91184,indexed:!0,mutability:"mutable",name:"target",nameLocation:"1977:6:150",nodeType:"VariableDeclaration",scope:91194,src:"1961:22:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91183,name:"address",nodeType:"ElementaryTypeName",src:"1961:7:150",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91186,indexed:!1,mutability:"mutable",name:"value",nameLocation:"2001:5:150",nodeType:"VariableDeclaration",scope:91194,src:"1993:13:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91185,name:"uint256",nodeType:"ElementaryTypeName",src:"1993:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91188,indexed:!1,mutability:"mutable",name:"gasLimit",nameLocation:"2024:8:150",nodeType:"VariableDeclaration",scope:91194,src:"2016:16:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91187,name:"uint256",nodeType:"ElementaryTypeName",src:"2016:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91190,indexed:!1,mutability:"mutable",name:"data",nameLocation:"2048:4:150",nodeType:"VariableDeclaration",scope:91194,src:"2042:10:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91189,name:"bytes",nodeType:"ElementaryTypeName",src:"2042:5:150",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"},{constant:!1,id:91192,indexed:!1,mutability:"mutable",name:"withdrawalHash",nameLocation:"2070:14:150",nodeType:"VariableDeclaration",scope:91194,src:"2062:22:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:91191,name:"bytes32",nodeType:"ElementaryTypeName",src:"2062:7:150",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],src:"1888:202:150"}},{id:91199,nodeType:"EventDefinition",src:"2219:53:150",nodes:[],anonymous:!1,documentation:{id:91195,nodeType:"StructuredDocumentation",src:"2097:117:150",text:`@notice Emitted when the balance of this contract is burned. + @param amount Amount of ETh that was burned.`},eventSelector:"7967de617a5ac1cc7eba2d6f37570a0135afa950d8bb77cdd35f0d0b4e85a16f",name:"WithdrawerBalanceBurnt",nameLocation:"2225:22:150",parameters:{id:91198,nodeType:"ParameterList",parameters:[{constant:!1,id:91197,indexed:!0,mutability:"mutable",name:"amount",nameLocation:"2264:6:150",nodeType:"VariableDeclaration",scope:91199,src:"2248:22:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91196,name:"uint256",nodeType:"ElementaryTypeName",src:"2248:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"2247:24:150"}},{id:91203,nodeType:"VariableDeclaration",src:"2307:40:150",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:91200,nodeType:"StructuredDocumentation",src:"2278:24:150",text:"@custom:semver 1.1.0"},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2330:7:150",scope:91307,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:91201,name:"string",nodeType:"ElementaryTypeName",src:"2307:6:150",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e312e30",id:91202,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2340:7:150",typeDescriptions:{typeIdentifier:"t_stringliteral_6815ba53416ba06aff1932cc76b3832272bafab9bc8e066be382e32b06ba5546",typeString:'literal_string "1.1.0"'},value:"1.1.0"},visibility:"public"},{id:91218,nodeType:"FunctionDefinition",src:"2437:112:150",nodes:[],body:{id:91217,nodeType:"Block",src:"2464:85:150",nodes:[],statements:[{expression:{arguments:[{expression:{id:91208,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"2493:3:150",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:91209,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"2493:10:150",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91210,name:"RECEIVE_DEFAULT_GAS_LIMIT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91165,src:"2505:25:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{arguments:[{hexValue:"",id:91213,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2538:2:150",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],id:91212,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2532:5:150",typeDescriptions:{typeIdentifier:"t_type$_t_bytes_storage_ptr_$",typeString:"type(bytes storage pointer)"},typeName:{id:91211,name:"bytes",nodeType:"ElementaryTypeName",src:"2532:5:150",typeDescriptions:{}}},id:91214,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2532:9:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:91207,name:"initiateWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91293,src:"2474:18:150",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,uint256,bytes memory)"}},id:91215,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2474:68:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91216,nodeType:"ExpressionStatement",src:"2474:68:150"}]},documentation:{id:91204,nodeType:"StructuredDocumentation",src:"2354:78:150",text:"@notice Allows users to withdraw ETH by sending directly to this contract."},implemented:!0,kind:"receive",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:91205,nodeType:"ParameterList",parameters:[],src:"2444:2:150"},returnParameters:{id:91206,nodeType:"ParameterList",parameters:[],src:"2464:0:150"},scope:91307,stateMutability:"payable",virtual:!1,visibility:"external"},{id:91241,nodeType:"FunctionDefinition",src:"2915:154:150",nodes:[],body:{id:91240,nodeType:"Block",src:"2940:129:150",nodes:[],statements:[{assignments:[91223],declarations:[{constant:!1,id:91223,mutability:"mutable",name:"balance",nameLocation:"2958:7:150",nodeType:"VariableDeclaration",scope:91240,src:"2950:15:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91222,name:"uint256",nodeType:"ElementaryTypeName",src:"2950:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],id:91229,initialValue:{expression:{arguments:[{id:91226,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"2976:4:150",typeDescriptions:{typeIdentifier:"t_contract$_L2ToL1MessagePasser_$91307",typeString:"contract L2ToL1MessagePasser"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L2ToL1MessagePasser_$91307",typeString:"contract L2ToL1MessagePasser"}],id:91225,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2968:7:150",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:91224,name:"address",nodeType:"ElementaryTypeName",src:"2968:7:150",typeDescriptions:{}}},id:91227,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2968:13:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:91228,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"balance",nodeType:"MemberAccess",src:"2968:21:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"VariableDeclarationStatement",src:"2950:39:150"},{expression:{arguments:[{id:91233,name:"balance",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91223,src:"3008:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:91230,name:"Burn",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102909,src:"2999:4:150",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Burn_$102909_$",typeString:"type(library Burn)"}},id:91232,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"eth",nodeType:"MemberAccess",referencedDeclaration:102881,src:"2999:8:150",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_uint256_$returns$__$",typeString:"function (uint256)"}},id:91234,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2999:17:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91235,nodeType:"ExpressionStatement",src:"2999:17:150"},{eventCall:{arguments:[{id:91237,name:"balance",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91223,src:"3054:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:91236,name:"WithdrawerBalanceBurnt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91199,src:"3031:22:150",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_uint256_$returns$__$",typeString:"function (uint256)"}},id:91238,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3031:31:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91239,nodeType:"EmitStatement",src:"3026:36:150"}]},documentation:{id:91219,nodeType:"StructuredDocumentation",src:"2555:355:150",text:`@notice Removes all ETH held by this contract from the state. Used to prevent the amount of + ETH on L2 inflating when ETH is withdrawn. Currently only way to do this is to + create a contract and self-destruct it to itself. Anyone can call this function. Not + incentivized since this function is very cheap.`},functionSelector:"44df8e70",implemented:!0,kind:"function",modifiers:[],name:"burn",nameLocation:"2924:4:150",parameters:{id:91220,nodeType:"ParameterList",parameters:[],src:"2928:2:150"},returnParameters:{id:91221,nodeType:"ParameterList",parameters:[],src:"2940:0:150"},scope:91307,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:91293,nodeType:"FunctionDefinition",src:"3311:650:150",nodes:[],body:{id:91292,nodeType:"Block",src:"3410:551:150",nodes:[],statements:[{assignments:[91252],declarations:[{constant:!1,id:91252,mutability:"mutable",name:"withdrawalHash",nameLocation:"3428:14:150",nodeType:"VariableDeclaration",scope:91292,src:"3420:22:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:91251,name:"bytes32",nodeType:"ElementaryTypeName",src:"3420:7:150",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:91268,initialValue:{arguments:[{arguments:[{arguments:[],expression:{argumentTypes:[],id:91257,name:"messageNonce",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91306,src:"3534:12:150",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:91258,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3534:14:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:91259,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3574:3:150",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:91260,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"3574:10:150",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91261,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91244,src:"3610:7:150",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:91262,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3642:3:150",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:91263,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"3642:9:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91264,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91246,src:"3679:9:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91265,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91248,src:"3712:5:150",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:91255,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"3481:5:150",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Types_$104349_$",typeString:"type(library Types)"}},id:91256,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"WithdrawalTransaction",nodeType:"MemberAccess",referencedDeclaration:104348,src:"3481:27:150",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_WithdrawalTransaction_$104348_storage_ptr_$",typeString:"type(struct Types.WithdrawalTransaction storage pointer)"}},id:91266,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["nonce","sender","target","value","gasLimit","data"],nodeType:"FunctionCall",src:"3481:251:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}],expression:{id:91253,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"3445:7:150",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:91254,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashWithdrawal",nodeType:"MemberAccess",referencedDeclaration:103911,src:"3445:22:150",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.WithdrawalTransaction memory) pure returns (bytes32)"}},id:91267,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3445:297:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"3420:322:150"},{expression:{id:91273,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:91269,name:"sentMessages",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91174,src:"3753:12:150",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"}},id:91271,indexExpression:{id:91270,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91252,src:"3766:14:150",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"3753:28:150",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:91272,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"3784:4:150",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"3753:35:150",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:91274,nodeType:"ExpressionStatement",src:"3753:35:150"},{eventCall:{arguments:[{arguments:[],expression:{argumentTypes:[],id:91276,name:"messageNonce",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91306,src:"3818:12:150",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_uint256_$",typeString:"function () view returns (uint256)"}},id:91277,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3818:14:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:91278,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3834:3:150",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:91279,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"3834:10:150",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:91280,name:"_target",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91244,src:"3846:7:150",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:91281,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"3855:3:150",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:91282,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"3855:9:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91283,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91246,src:"3866:9:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:91284,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91248,src:"3877:5:150",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},{id:91285,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91252,src:"3884:14:150",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"},{typeIdentifier:"t_bytes32",typeString:"bytes32"}],id:91275,name:"MessagePassed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91194,src:"3804:13:150",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_uint256_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$_t_bytes32_$returns$__$",typeString:"function (uint256,address,address,uint256,uint256,bytes memory,bytes32)"}},id:91286,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3804:95:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:91287,nodeType:"EmitStatement",src:"3799:100:150"},{id:91291,nodeType:"UncheckedBlock",src:"3910:45:150",statements:[{expression:{id:91289,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"++",prefix:!0,src:"3934:10:150",subExpression:{id:91288,name:"msgNonce",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91177,src:"3936:8:150",typeDescriptions:{typeIdentifier:"t_uint240",typeString:"uint240"}},typeDescriptions:{typeIdentifier:"t_uint240",typeString:"uint240"}},id:91290,nodeType:"ExpressionStatement",src:"3934:10:150"}]}]},documentation:{id:91242,nodeType:"StructuredDocumentation",src:"3075:231:150",text:`@notice Sends a message from L2 to L1. + @param _target Address to call on L1 execution. + @param _gasLimit Minimum gas limit for executing the message on L1. + @param _data Data to forward to L1 target.`},functionSelector:"c2b3e5ac",implemented:!0,kind:"function",modifiers:[],name:"initiateWithdrawal",nameLocation:"3320:18:150",parameters:{id:91249,nodeType:"ParameterList",parameters:[{constant:!1,id:91244,mutability:"mutable",name:"_target",nameLocation:"3347:7:150",nodeType:"VariableDeclaration",scope:91293,src:"3339:15:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:91243,name:"address",nodeType:"ElementaryTypeName",src:"3339:7:150",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:91246,mutability:"mutable",name:"_gasLimit",nameLocation:"3364:9:150",nodeType:"VariableDeclaration",scope:91293,src:"3356:17:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91245,name:"uint256",nodeType:"ElementaryTypeName",src:"3356:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:91248,mutability:"mutable",name:"_data",nameLocation:"3388:5:150",nodeType:"VariableDeclaration",scope:91293,src:"3375:18:150",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:91247,name:"bytes",nodeType:"ElementaryTypeName",src:"3375:5:150",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3338:56:150"},returnParameters:{id:91250,nodeType:"ParameterList",parameters:[],src:"3410:0:150"},scope:91307,stateMutability:"payable",virtual:!1,visibility:"public"},{id:91306,nodeType:"FunctionDefinition",src:"4282:134:150",nodes:[],body:{id:91305,nodeType:"Block",src:"4336:80:150",nodes:[],statements:[{expression:{arguments:[{id:91301,name:"msgNonce",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91177,src:"4383:8:150",typeDescriptions:{typeIdentifier:"t_uint240",typeString:"uint240"}},{id:91302,name:"MESSAGE_VERSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:91169,src:"4393:15:150",typeDescriptions:{typeIdentifier:"t_uint16",typeString:"uint16"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint240",typeString:"uint240"},{typeIdentifier:"t_uint16",typeString:"uint16"}],expression:{id:91299,name:"Encoding",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103714,src:"4353:8:150",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Encoding_$103714_$",typeString:"type(library Encoding)"}},id:91300,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"encodeVersionedNonce",nodeType:"MemberAccess",referencedDeclaration:103643,src:"4353:29:150",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint240_$_t_uint16_$returns$_t_uint256_$",typeString:"function (uint240,uint16) pure returns (uint256)"}},id:91303,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4353:56:150",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:91298,id:91304,nodeType:"Return",src:"4346:63:150"}]},documentation:{id:91294,nodeType:"StructuredDocumentation",src:"3967:310:150",text:`@notice Retrieves the next message nonce. Message version will be added to the upper two + bytes of the message nonce. Message version allows us to treat messages as having + different structures. + @return Nonce of the next message to be sent, with added message version.`},functionSelector:"ecc70428",implemented:!0,kind:"function",modifiers:[],name:"messageNonce",nameLocation:"4291:12:150",parameters:{id:91295,nodeType:"ParameterList",parameters:[],src:"4303:2:150"},returnParameters:{id:91298,nodeType:"ParameterList",parameters:[{constant:!1,id:91297,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:91306,src:"4327:7:150",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:91296,name:"uint256",nodeType:"ElementaryTypeName",src:"4327:7:150",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"4326:9:150"},scope:91307,stateMutability:"view",virtual:!1,visibility:"public"}],abstract:!1,baseContracts:[{baseName:{id:91160,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"754:7:150"},id:91161,nodeType:"InheritanceSpecifier",src:"754:7:150"}],canonicalName:"L2ToL1MessagePasser",contractDependencies:[102925],contractKind:"contract",documentation:{id:91159,nodeType:"StructuredDocumentation",src:"315:407:150",text:`@custom:proxied + @custom:predeploy 0x4200000000000000000000000000000000000016 + @title L2ToL1MessagePasser + @notice The L2ToL1MessagePasser is a dedicated contract where messages that are being sent from + L2 to L1 can be stored. The storage root of this contract is pulled up to the top level + of the L2 output to reduce the cost of proving the existence of sent messages.`},fullyImplemented:!0,linearizedBaseContracts:[91307,109417],name:"L2ToL1MessagePasser",nameLocation:"731:19:150",scope:91308,usedErrors:[]}],license:"MIT"},id:150}});var FYe=B((sla,bj0)=>{bj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"BRIDGE",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"bridge",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"createOptimismMintableERC20",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createOptimismMintableERC20WithDecimals",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_decimals",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"createStandardL2Token",inputs:[{name:"_remoteToken",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_bridge",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OptimismMintableERC20Created",inputs:[{name:"localToken",type:"address",indexed:!0,internalType:"address"},{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"deployer",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"StandardL2TokenCreated",inputs:[{name:"remoteToken",type:"address",indexed:!0,internalType:"address"},{name:"localToken",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x608060405234801561001057600080fd5b5061001b6000610020565b610169565b600054610100900460ff16158080156100405750600054600160ff909116105b8061006b57506100593061015a60201b61059d1760201c565b15801561006b575060005460ff166001145b6100d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff1916600117905580156100f5576000805461ff0019166101001790555b600180546001600160a01b0319166001600160a01b0384161790558015610156576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b6120e5806101786000396000f3fe60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:230:-:0;;;2694:66;;;;;;;;;-1:-1:-1;2718:35:230;2748:1;2718:10;:35::i;:::-;770:5093;;2876:89;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;2942:6:230::1;:16:::0;;-1:-1:-1;;;;;;2942:16:230::1;-1:-1:-1::0;;;;;2942:16:230;::::1;;::::0;;3457:99:43;;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;2876:89:230;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;429:194:357:-;770:5093:230;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040523480156200001157600080fd5b5060043610620000875760003560e01c8063c4d66de81162000062578063c4d66de81462000135578063ce5ac90f146200014e578063e78cea921462000165578063ee9a31a2146200018657600080fd5b806354fd4d50146200008c578063896f93d114620000e15780638cf0629c146200011e575b600080fd5b620000c96040518060400160405280600581526020017f312e392e3000000000000000000000000000000000000000000000000000000081525081565b604051620000d8919062000635565b60405180910390f35b620000f8620000f23660046200075d565b620001a5565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620000d8565b620000f86200012f366004620007da565b620001bc565b6200014c6200014636600462000871565b620003ba565b005b620000f86200015f3660046200075d565b6200058c565b600154620000f89073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16620000f8565b6000620001b48484846200058c565b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff851662000267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7560448201527f73742070726f766964652072656d6f746520746f6b656e20616464726573730060648201526084015b60405180910390fd5b6000858585856040516020016200028294939291906200088f565b604051602081830303815290604052805190602001209050600081600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688888888604051620002d290620005b9565b620002e2959493929190620008e9565b8190604051809103906000f590508015801562000303573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf60405160405180910390a360405133815273ffffffffffffffffffffffffffffffffffffffff80891691908316907f52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb9060200160405180910390a39695505050505050565b600054610100900460ff1615808015620003db5750600054600160ff909116105b80620003f75750303b158015620003f7575060005460ff166001145b62000485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016200025e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015620004e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841617905580156200058857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000620001b48484846012620001bc565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b61178a806200094f83390190565b6000815180845260005b81811015620005ef57602081850181015186830182015201620005d1565b8181111562000602576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006200064a6020830184620005c7565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146200067657600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620006bc57600080fd5b813567ffffffffffffffff80821115620006da57620006da6200067b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156200072357620007236200067b565b816040528381528660208588010111156200073d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200077357600080fd5b6200077e8462000651565b9250602084013567ffffffffffffffff808211156200079c57600080fd5b620007aa87838801620006aa565b93506040860135915080821115620007c157600080fd5b50620007d086828701620006aa565b9150509250925092565b60008060008060808587031215620007f157600080fd5b620007fc8562000651565b9350602085013567ffffffffffffffff808211156200081a57600080fd5b6200082888838901620006aa565b945060408701359150808211156200083f57600080fd5b506200084e87828801620006aa565b925050606085013560ff811681146200086657600080fd5b939692955090935050565b6000602082840312156200088457600080fd5b6200064a8262000651565b73ffffffffffffffffffffffffffffffffffffffff85168152608060208201526000620008c06080830186620005c7565b8281036040840152620008d48186620005c7565b91505060ff8316606083015295945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526200092460a0830186620005c7565b8281036060840152620009388186620005c7565b91505060ff83166080830152969550505050505056fe60e06040523480156200001157600080fd5b506040516200178a3803806200178a833981016040819052620000349162000163565b828260036200004483826200029e565b5060046200005382826200029e565b5050506001600160a01b039384166080529390921660a052505060ff1660c0526200036a565b80516001600160a01b03811681146200009157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000be57600080fd5b81516001600160401b0380821115620000db57620000db62000096565b604051601f8301601f19908116603f0116810190828211818310171562000106576200010662000096565b816040528381526020925086838588010111156200012357600080fd5b600091505b8382101562000147578582018301518183018401529082019062000128565b83821115620001595760008385830101525b9695505050505050565b600080600080600060a086880312156200017c57600080fd5b620001878662000079565b9450620001976020870162000079565b60408701519094506001600160401b0380821115620001b557600080fd5b620001c389838a01620000ac565b94506060880151915080821115620001da57600080fd5b50620001e988828901620000ac565b925050608086015160ff811681146200020157600080fd5b809150509295509295909350565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000096565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516113d4620003b6600039600061024401526000818161034b015281816103e001528181610625015261075c0152600081816101a9015261037101526113d46000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610395578063e78cea9214610349578063ee9a31a2146103db57600080fd5b8063ae1f6aaf14610349578063c01e1bd61461036f578063d6c0b2c41461036f57600080fd5b80639dc29fac116100bd5780639dc29fac14610310578063a457c2d714610323578063a9059cbb1461033657600080fd5b806370a08231146102d257806395d89b411461030857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461026e57806340c10f191461028157806354fd4d501461029657600080fd5b806323b872dd1461022a578063313ce5671461023d57600080fd5b806306fdde031161016057806306fdde03146101f0578063095ea7b31461020557806318160ddd1461021857600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461117d565b610402565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101f86104f3565b60405161019b91906111c6565b61018f610213366004611262565b610585565b6002545b60405190815260200161019b565b61018f61023836600461128c565b61059d565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161019b565b61018f61027c366004611262565b6105c1565b61029461028f366004611262565b61060d565b005b6101f86040518060400160405280600581526020017f312e332e3000000000000000000000000000000000000000000000000000000081525081565b61021c6102e03660046112c8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f8610735565b61029461031e366004611262565b610744565b61018f610331366004611262565b61085b565b61018f610344366004611262565b61092c565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61021c6103a33660046112e3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000085168314806104bb57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b806104ea57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b60606003805461050290611316565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611316565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b60003361059381858561093a565b5060019392505050565b6000336105ab858285610aee565b6105b6858585610bc5565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906105939082908690610608908790611398565b61093a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106e18282610e78565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161072991815260200190565b60405180910390a25050565b60606004805461050290611316565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084016106ce565b6108138282610f98565b8173ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161072991815260200190565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106ce565b6105b6828686840361093a565b600033610593818585610bc5565b73ffffffffffffffffffffffffffffffffffffffff83166109dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610a7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bbf5781811015610bb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ce565b610bbf848484840361093a565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216610d0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610dc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610e05908490611398565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6b91815260200190565b60405180910390a3610bbf565b73ffffffffffffffffffffffffffffffffffffffff8216610ef5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ce565b8060026000828254610f079190611398565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610f41908490611398565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061112d9084906113b0565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ae1565b60006020828403121561118f57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146111bf57600080fd5b9392505050565b600060208083528351808285015260005b818110156111f3578581018301518582016040015282016111d7565b81811115611205576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461125d57600080fd5b919050565b6000806040838503121561127557600080fd5b61127e83611239565b946020939093013593505050565b6000806000606084860312156112a157600080fd5b6112aa84611239565b92506112b860208501611239565b9150604084013590509250925092565b6000602082840312156112da57600080fd5b6111bf82611239565b600080604083850312156112f657600080fd5b6112ff83611239565b915061130d60208401611239565b90509250929050565b600181811c9082168061132a57607f821691505b602082108103611363577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113ab576113ab611369565b500190565b6000828210156113c2576113c2611369565b50039056fea164736f6c634300080f000aa164736f6c634300080f000a",sourceMap:"770:5093:230:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;3740:255;;;;;;:::i;:::-;;:::i;:::-;;;2746:42:357;2734:55;;;2716:74;;2704:2;2689:18;3740:255:230;2570:226:357;4908:953:230;;;;;;:::i;:::-;;:::i;2876:89::-;;;;;;:::i;:::-;;:::i;:::-;;4280:275;;;;;;:::i;:::-;;:::i;1115:21::-;;;;;;;;;3237:80;3304:6;;;;3237:80;;3740:255;3901:7;3931:57;3959:12;3973:5;3980:7;3931:27;:57::i;:::-;3924:64;3740:255;-1:-1:-1;;;;3740:255:230:o;4908:953::-;5110:7;5141:26;;;5133:102;;;;;;;3974:2:357;5133:102:230;;;3956:21:357;4013:2;3993:18;;;3986:30;4052:34;4032:18;;;4025:62;4123:33;4103:18;;;4096:61;4174:19;;5133:102:230;;;;;;;;;5246:12;5282;5296:5;5303:7;5312:9;5271:51;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5261:62;;;;;;5246:77;;5333:18;5407:4;5414:6;;;;;;;;;;;5422:12;5436:5;5443:7;5452:9;5374:88;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;5333:130;;5570:10;5533:48;;5556:12;5533:48;;;;;;;;;;;;5760:66;;5815:10;2716:74:357;;5760:66:230;;;;;;;;;;;2704:2:357;2689:18;5760:66:230;;;;;;;5844:10;4908:953;-1:-1:-1;;;;;;4908:953:230:o;2876:89::-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;5684:2:357;3146:190:43;;;5666:21:357;5723:2;5703:18;;;5696:30;5762:34;5742:18;;;5735:62;5833:16;5813:18;;;5806:44;5867:19;;3146:190:43;5482:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;2942:6:230::1;:16:::0;;;::::1;;::::0;::::1;;::::0;;3457:99:43;;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;6049:36:357;;3531:14:43;;6037:2:357;6022:18;3531:14:43;;;;;;;3457:99;3090:472;2876:89:230;:::o;4280:275::-;4445:7;4475:73;4515:12;4529:5;4536:7;4545:2;4475:39;:73::i;1175:320:59:-;1465:19;;;:23;;;1175:320::o;-1:-1:-1:-;;;;;;;;:::o;14:531:357:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;336:6;333:1;330:13;327:87;;;402:1;395:4;386:6;381:3;377:16;373:27;366:38;327:87;-1:-1:-1;459:2:357;447:15;464:66;443:88;434:98;;;;534:4;430:109;;14:531;-1:-1:-1;;14:531:357:o;550:220::-;699:2;688:9;681:21;662:4;719:45;760:2;749:9;745:18;737:6;719:45;:::i;:::-;711:53;550:220;-1:-1:-1;;;550:220:357:o;775:196::-;843:20;;903:42;892:54;;882:65;;872:93;;961:1;958;951:12;872:93;775:196;;;:::o;976:184::-;1028:77;1025:1;1018:88;1125:4;1122:1;1115:15;1149:4;1146:1;1139:15;1165:778;1208:5;1261:3;1254:4;1246:6;1242:17;1238:27;1228:55;;1279:1;1276;1269:12;1228:55;1315:6;1302:20;1341:18;1378:2;1374;1371:10;1368:36;;;1384:18;;:::i;:::-;1518:2;1512:9;1580:4;1572:13;;1423:66;1568:22;;;1592:2;1564:31;1560:40;1548:53;;;1616:18;;;1636:22;;;1613:46;1610:72;;;1662:18;;:::i;:::-;1702:10;1698:2;1691:22;1737:2;1729:6;1722:18;1783:3;1776:4;1771:2;1763:6;1759:15;1755:26;1752:35;1749:55;;;1800:1;1797;1790:12;1749:55;1864:2;1857:4;1849:6;1845:17;1838:4;1830:6;1826:17;1813:54;1911:1;1904:4;1899:2;1891:6;1887:15;1883:26;1876:37;1931:6;1922:15;;;;;;1165:778;;;;:::o;1948:617::-;2045:6;2053;2061;2114:2;2102:9;2093:7;2089:23;2085:32;2082:52;;;2130:1;2127;2120:12;2082:52;2153:29;2172:9;2153:29;:::i;:::-;2143:39;;2233:2;2222:9;2218:18;2205:32;2256:18;2297:2;2289:6;2286:14;2283:34;;;2313:1;2310;2303:12;2283:34;2336:50;2378:7;2369:6;2358:9;2354:22;2336:50;:::i;:::-;2326:60;;2439:2;2428:9;2424:18;2411:32;2395:48;;2468:2;2458:8;2455:16;2452:36;;;2484:1;2481;2474:12;2452:36;;2507:52;2551:7;2540:8;2529:9;2525:24;2507:52;:::i;:::-;2497:62;;;1948:617;;;;;:::o;2801:775::-;2905:6;2913;2921;2929;2982:3;2970:9;2961:7;2957:23;2953:33;2950:53;;;2999:1;2996;2989:12;2950:53;3022:29;3041:9;3022:29;:::i;:::-;3012:39;;3102:2;3091:9;3087:18;3074:32;3125:18;3166:2;3158:6;3155:14;3152:34;;;3182:1;3179;3172:12;3152:34;3205:50;3247:7;3238:6;3227:9;3223:22;3205:50;:::i;:::-;3195:60;;3308:2;3297:9;3293:18;3280:32;3264:48;;3337:2;3327:8;3324:16;3321:36;;;3353:1;3350;3343:12;3321:36;;3376:52;3420:7;3409:8;3398:9;3394:24;3376:52;:::i;:::-;3366:62;;;3478:2;3467:9;3463:18;3450:32;3522:4;3515:5;3511:16;3504:5;3501:27;3491:55;;3542:1;3539;3532:12;3491:55;2801:775;;;;-1:-1:-1;2801:775:357;;-1:-1:-1;;2801:775:357:o;3581:186::-;3640:6;3693:2;3681:9;3672:7;3668:23;3664:32;3661:52;;;3709:1;3706;3699:12;3661:52;3732:29;3751:9;3732:29;:::i;4204:583::-;4465:42;4457:6;4453:55;4442:9;4435:74;4545:3;4540:2;4529:9;4525:18;4518:31;4416:4;4572:46;4613:3;4602:9;4598:19;4590:6;4572:46;:::i;:::-;4666:9;4658:6;4654:22;4649:2;4638:9;4634:18;4627:50;4694:33;4720:6;4712;4694:33;:::i;:::-;4686:41;;;4775:4;4767:6;4763:17;4758:2;4747:9;4743:18;4736:45;4204:583;;;;;;;:::o;4792:685::-;5032:4;5061:42;5142:2;5134:6;5130:15;5119:9;5112:34;5194:2;5186:6;5182:15;5177:2;5166:9;5162:18;5155:43;;5234:3;5229:2;5218:9;5214:18;5207:31;5261:46;5302:3;5291:9;5287:19;5279:6;5261:46;:::i;:::-;5355:9;5347:6;5343:22;5338:2;5327:9;5323:18;5316:50;5383:33;5409:6;5401;5383:33;:::i;:::-;5375:41;;;5465:4;5457:6;5453:17;5447:3;5436:9;5432:19;5425:46;4792:685;;;;;;;;:::o",linkReferences:{}},methodIdentifiers:{"BRIDGE()":"ee9a31a2","bridge()":"e78cea92","createOptimismMintableERC20(address,string,string)":"ce5ac90f","createOptimismMintableERC20WithDecimals(address,string,string,uint8)":"8cf0629c","createStandardL2Token(address,string,string)":"896f93d1","initialize(address)":"c4d66de8","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"localToken","type":"address"},{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":false,"internalType":"address","name":"deployer","type":"address"}],"name":"OptimismMintableERC20Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"remoteToken","type":"address"},{"indexed":true,"internalType":"address","name":"localToken","type":"address"}],"name":"StandardL2TokenCreated","type":"event"},{"inputs":[],"name":"BRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createOptimismMintableERC20","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"name":"createOptimismMintableERC20WithDecimals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_remoteToken","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createStandardL2Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}],"devdoc":{"custom:proxied":"@custom:predeployed 0x4200000000000000000000000000000000000012","events":{"OptimismMintableERC20Created(address,address,address)":{"params":{"deployer":"Address of the account that deployed the token.","localToken":"Address of the created token on the local chain.","remoteToken":"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{"custom:legacy":"@notice Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer OptimismMintableERC20Created event. We recommend relying on that event instead.","params":{"localToken":"Address of the created token on the local chain.","remoteToken":"Address of the token on the remote chain."}}},"kind":"dev","methods":{"BRIDGE()":{"custom:legacy":"","returns":{"_0":"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{"params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"params":{"_decimals":"ERC20 decimals","_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.","params":{"_name":"ERC20 name.","_remoteToken":"Address of the token on the remote chain.","_symbol":"ERC20 symbol."},"returns":{"_0":"Address of the newly created token."}},"initialize(address)":{"params":{"_bridge":"Address of the StandardBridge on this chain."}}},"stateVariables":{"bridge":{"custom:network-specific":""},"spacer_0_2_30":{"custom:spacer":"OptimismMintableERC20Factory\'s initializer slot spacing"},"version":{"custom:semver":"1.9.0"}},"title":"OptimismMintableERC20Factory","version":1},"userdoc":{"events":{"OptimismMintableERC20Created(address,address,address)":{"notice":"Emitted whenever a new OptimismMintableERC20 is created."}},"kind":"user","methods":{"BRIDGE()":{"notice":"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{"notice":"Address of the StandardBridge on this chain."},"constructor":{"notice":"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{"notice":"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{"notice":"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{"notice":"Initializes the contract."},"version()":{"notice":"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},"notice":"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it\'s deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract.","version":1}},"settings":{"compilationTarget":{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{"keccak256":"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238","license":"MIT","urls":["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b","license":"MIT","urls":["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca","license":"MIT","urls":["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1","license":"MIT","urls":["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"]},"src/universal/IOptimismMintableERC20.sol":{"keccak256":"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c","license":"MIT","urls":["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/universal/OptimismMintableERC20.sol":{"keccak256":"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df","license":"MIT","urls":["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"]},"src/universal/OptimismMintableERC20Factory.sol":{"keccak256":"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f","license":"MIT","urls":["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"localToken",type:"address",indexed:!0},{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"deployer",type:"address",indexed:!1}],type:"event",name:"OptimismMintableERC20Created",anonymous:!1},{inputs:[{internalType:"address",name:"remoteToken",type:"address",indexed:!0},{internalType:"address",name:"localToken",type:"address",indexed:!0}],type:"event",name:"StandardL2TokenCreated",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"BRIDGE",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"bridge",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"uint8",name:"_decimals",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"createOptimismMintableERC20WithDecimals",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_remoteToken",type:"address"},{internalType:"string",name:"_name",type:"string"},{internalType:"string",name:"_symbol",type:"string"}],stateMutability:"nonpayable",type:"function",name:"createStandardL2Token",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_bridge",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]}],devdoc:{kind:"dev",methods:{"BRIDGE()":{"custom:legacy":"",returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{"custom:legacy":"@notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.",params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},version:1},userdoc:{kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/OptimismMintableERC20Factory.sol":"OptimismMintableERC20Factory"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol":{keccak256:"0x24b04b8aacaaf1a4a0719117b29c9c3647b1f479c5ac2a60f5ff1bb6d839c238",urls:["bzz-raw://43e46da9d9f49741ecd876a269e71bc7494058d7a8e9478429998adb5bc3eaa0","dweb:/ipfs/QmUtp4cqzf22C5rJ76AabKADquGWcjsc33yjYXxXC4sDvy"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{keccak256:"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b",urls:["bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34","dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr"],license:"MIT"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{keccak256:"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca",urls:["bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd","dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{keccak256:"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",urls:["bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f","dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"],license:"MIT"},"src/universal/IOptimismMintableERC20.sol":{keccak256:"0x6f8133b39efcbcbd5088f195dfacf1bedc3146508429c3865443909af735a04c",urls:["bzz-raw://adc36971e2e120458769f050428d9d2b0504516660345020c2521ee46e6d8abf","dweb:/ipfs/QmPbFusQkZgGKpU8Fv5JoqL4oVeJtM3yqnhRGLY9eZT5zZ"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/universal/OptimismMintableERC20.sol":{keccak256:"0x18721f41a831ec39d47002e73ecc2aa3e6624f8d1ab7b9f25b53348e8b0765df",urls:["bzz-raw://2162fa7529a77b199a07f37fca26c778542f6c8805f0365f1ceef90c5cd3a3a7","dweb:/ipfs/QmaMmHJS52Bp95AGnrjh1zV7fLLqV3uAbFzkVLziMnPJYa"],license:"MIT"},"src/universal/OptimismMintableERC20Factory.sol":{keccak256:"0xb508dc7b6f7fbf6e7156a11ae7a1e6ceed86f627c82b94d4f37dd98691b5e00f",urls:["bzz-raw://5e27f27581f94a983c92809aeda85232e37e1de4552777fbf734c9a0fd84a5a9","dweb:/ipfs/QmVNzxCwipUN2UgcrYf8n7Ei7y6uE76cCYcorAwRg96Kp3"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:109661,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"spacer_0_2_30",offset:2,slot:"0",type:"t_bytes30"},{astId:109664,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"bridge",offset:0,slot:"1",type:"t_address"},{astId:109669,contract:"src/universal/OptimismMintableERC20Factory.sol:OptimismMintableERC20Factory",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)49_storage"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)49_storage":{encoding:"inplace",label:"uint256[49]",numberOfBytes:"1568",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes30:{encoding:"inplace",label:"bytes30",numberOfBytes:"30"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{"BRIDGE()":{notice:"Getter function for the address of the StandardBridge on this chain. Public getter is legacy and will be removed in the future. Use `bridge` instead."},"bridge()":{notice:"Address of the StandardBridge on this chain."},constructor:{notice:"Constructs the OptimismMintableERC20Factory contract."},"createOptimismMintableERC20(address,string,string)":{notice:"Creates an instance of the OptimismMintableERC20 contract."},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{notice:"Creates an instance of the OptimismMintableERC20 contract, with specified decimals."},"initialize(address)":{notice:"Initializes the contract."},"version()":{notice:"The semver MUST be bumped any time that there is a change in the OptimismMintableERC20 token contract since this contract is responsible for deploying OptimismMintableERC20 contracts.Semantic version."}},events:{"OptimismMintableERC20Created(address,address,address)":{notice:"Emitted whenever a new OptimismMintableERC20 is created."}},notice:"OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 contracts on the network it's deployed to. Simplifies the deployment process for users who may be less familiar with deploying smart contracts. Designed to be backwards compatible with the older StandardL2ERC20Factory contract."},devdoc:{version:1,kind:"dev",methods:{"BRIDGE()":{returns:{_0:"Address of the StandardBridge on this chain."}},"createOptimismMintableERC20(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createOptimismMintableERC20WithDecimals(address,string,string,uint8)":{params:{_decimals:"ERC20 decimals",_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"createStandardL2Token(address,string,string)":{params:{_name:"ERC20 name.",_remoteToken:"Address of the token on the remote chain.",_symbol:"ERC20 symbol."},returns:{_0:"Address of the newly created token."}},"initialize(address)":{params:{_bridge:"Address of the StandardBridge on this chain."}}},events:{"OptimismMintableERC20Created(address,address,address)":{params:{deployer:"Address of the account that deployed the token.",localToken:"Address of the created token on the local chain.",remoteToken:"Address of the corresponding token on the remote chain."}},"StandardL2TokenCreated(address,address)":{params:{localToken:"Address of the created token on the local chain.",remoteToken:"Address of the token on the remote chain."}}},title:"OptimismMintableERC20Factory"},ast:{absolutePath:"src/universal/OptimismMintableERC20Factory.sol",id:109832,exportedSymbols:{ISemver:[109417],Initializable:[49678],OptimismMintableERC20:[109645],OptimismMintableERC20Factory:[109831]},nodeType:"SourceUnit",src:"32:5832:230",nodes:[{id:109647,nodeType:"PragmaDirective",src:"32:23:230",nodes:[],literals:["solidity","0.8",".15"]},{id:109649,nodeType:"ImportDirective",src:"57:80:230",nodes:[],absolutePath:"src/universal/OptimismMintableERC20.sol",file:"src/universal/OptimismMintableERC20.sol",nameLocation:"-1:-1:-1",scope:109832,sourceUnit:109646,symbolAliases:[{foreign:{id:109648,name:"OptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109645,src:"66:21:230",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109651,nodeType:"ImportDirective",src:"138:52:230",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:109832,sourceUnit:109418,symbolAliases:[{foreign:{id:109650,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"147:7:230",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109653,nodeType:"ImportDirective",src:"191:86:230",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol",file:"@openzeppelin/contracts/proxy/utils/Initializable.sol",nameLocation:"-1:-1:-1",scope:109832,sourceUnit:49679,symbolAliases:[{foreign:{id:109652,name:"Initializable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49678,src:"200:13:230",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:109831,nodeType:"ContractDefinition",src:"770:5093:230",nodes:[{id:109661,nodeType:"VariableDeclaration",src:"985:29:230",nodes:[],constant:!1,documentation:{id:109659,nodeType:"StructuredDocumentation",src:"840:140:230",text:`@custom:spacer OptimismMintableERC20Factory's initializer slot spacing + @notice Spacer to avoid packing into the initializer slot`},mutability:"mutable",name:"spacer_0_2_30",nameLocation:"1001:13:230",scope:109831,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes30",typeString:"bytes30"},typeName:{id:109660,name:"bytes30",nodeType:"ElementaryTypeName",src:"985:7:230",typeDescriptions:{typeIdentifier:"t_bytes30",typeString:"bytes30"}},visibility:"private"},{id:109664,nodeType:"VariableDeclaration",src:"1115:21:230",nodes:[],constant:!1,documentation:{id:109662,nodeType:"StructuredDocumentation",src:"1021:89:230",text:`@notice Address of the StandardBridge on this chain. + @custom:network-specific`},functionSelector:"e78cea92",mutability:"mutable",name:"bridge",nameLocation:"1130:6:230",scope:109831,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109663,name:"address",nodeType:"ElementaryTypeName",src:"1115:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:109669,nodeType:"VariableDeclaration",src:"1370:25:230",nodes:[],constant:!1,documentation:{id:109665,nodeType:"StructuredDocumentation",src:"1143:222:230",text:`@notice Reserve extra slots in the storage layout for future upgrades. + A gap size of 49 was chosen here, so that the first slot used in a child contract + would be 1 plus a multiple of 50.`},mutability:"mutable",name:"__gap",nameLocation:"1390:5:230",scope:109831,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$49_storage",typeString:"uint256[49]"},typeName:{baseType:{id:109666,name:"uint256",nodeType:"ElementaryTypeName",src:"1370:7:230",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:109668,length:{hexValue:"3439",id:109667,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1378:2:230",typeDescriptions:{typeIdentifier:"t_rational_49_by_1",typeString:"int_const 49"},value:"49"},nodeType:"ArrayTypeName",src:"1370:11:230",typeDescriptions:{typeIdentifier:"t_array$_t_uint256_$49_storage_ptr",typeString:"uint256[49]"}},visibility:"private"},{id:109676,nodeType:"EventDefinition",src:"1767:86:230",nodes:[],anonymous:!1,documentation:{id:109670,nodeType:"StructuredDocumentation",src:"1402:360:230",text:`@custom:legacy + @notice Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer + OptimismMintableERC20Created event. We recommend relying on that event instead. + @param remoteToken Address of the token on the remote chain. + @param localToken Address of the created token on the local chain.`},eventSelector:"ceeb8e7d520d7f3b65fc11a262b91066940193b05d4f93df07cfdced0eb551cf",name:"StandardL2TokenCreated",nameLocation:"1773:22:230",parameters:{id:109675,nodeType:"ParameterList",parameters:[{constant:!1,id:109672,indexed:!0,mutability:"mutable",name:"remoteToken",nameLocation:"1812:11:230",nodeType:"VariableDeclaration",scope:109676,src:"1796:27:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109671,name:"address",nodeType:"ElementaryTypeName",src:"1796:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109674,indexed:!0,mutability:"mutable",name:"localToken",nameLocation:"1841:10:230",nodeType:"VariableDeclaration",scope:109676,src:"1825:26:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109673,name:"address",nodeType:"ElementaryTypeName",src:"1825:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"1795:57:230"}},{id:109685,nodeType:"EventDefinition",src:"2166:110:230",nodes:[],anonymous:!1,documentation:{id:109677,nodeType:"StructuredDocumentation",src:"1859:302:230",text:`@notice Emitted whenever a new OptimismMintableERC20 is created. + @param localToken Address of the created token on the local chain. + @param remoteToken Address of the corresponding token on the remote chain. + @param deployer Address of the account that deployed the token.`},eventSelector:"52fe89dd5930f343d25650b62fd367bae47088bcddffd2a88350a6ecdd620cdb",name:"OptimismMintableERC20Created",nameLocation:"2172:28:230",parameters:{id:109684,nodeType:"ParameterList",parameters:[{constant:!1,id:109679,indexed:!0,mutability:"mutable",name:"localToken",nameLocation:"2217:10:230",nodeType:"VariableDeclaration",scope:109685,src:"2201:26:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109678,name:"address",nodeType:"ElementaryTypeName",src:"2201:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109681,indexed:!0,mutability:"mutable",name:"remoteToken",nameLocation:"2245:11:230",nodeType:"VariableDeclaration",scope:109685,src:"2229:27:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109680,name:"address",nodeType:"ElementaryTypeName",src:"2229:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109683,indexed:!1,mutability:"mutable",name:"deployer",nameLocation:"2266:8:230",nodeType:"VariableDeclaration",scope:109685,src:"2258:16:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109682,name:"address",nodeType:"ElementaryTypeName",src:"2258:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2200:75:230"}},{id:109689,nodeType:"VariableDeclaration",src:"2577:40:230",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:109686,nodeType:"StructuredDocumentation",src:"2282:290:230",text:`@notice The semver MUST be bumped any time that there is a change in + the OptimismMintableERC20 token contract since this contract + is responsible for deploying OptimismMintableERC20 contracts. + @notice Semantic version. + @custom:semver 1.9.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"2600:7:230",scope:109831,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109687,name:"string",nodeType:"ElementaryTypeName",src:"2577:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"312e392e30",id:109688,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"2610:7:230",typeDescriptions:{typeIdentifier:"t_stringliteral_48b337767c221abef259fe87e655d8fa1026fb5e60ec68ad68fa7e00bb7f050c",typeString:'literal_string "1.9.0"'},value:"1.9.0"},visibility:"public"},{id:109701,nodeType:"FunctionDefinition",src:"2694:66:230",nodes:[],body:{id:109700,nodeType:"Block",src:"2708:52:230",nodes:[],statements:[{expression:{arguments:[{arguments:[{hexValue:"30",id:109696,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2748:1:230",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:109695,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"2740:7:230",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:109694,name:"address",nodeType:"ElementaryTypeName",src:"2740:7:230",typeDescriptions:{}}},id:109697,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2740:10:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:109693,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109714,src:"2718:10:230",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$returns$__$",typeString:"function (address)"}},id:109698,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_bridge"],nodeType:"FunctionCall",src:"2718:35:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109699,nodeType:"ExpressionStatement",src:"2718:35:230"}]},documentation:{id:109690,nodeType:"StructuredDocumentation",src:"2624:65:230",text:"@notice Constructs the OptimismMintableERC20Factory contract."},implemented:!0,kind:"constructor",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:109691,nodeType:"ParameterList",parameters:[],src:"2705:2:230"},returnParameters:{id:109692,nodeType:"ParameterList",parameters:[],src:"2708:0:230"},scope:109831,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:109714,nodeType:"FunctionDefinition",src:"2876:89:230",nodes:[],body:{id:109713,nodeType:"Block",src:"2932:33:230",nodes:[],statements:[{expression:{id:109711,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:109709,name:"bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109664,src:"2942:6:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:109710,name:"_bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109704,src:"2951:7:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"2942:16:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:109712,nodeType:"ExpressionStatement",src:"2942:16:230"}]},documentation:{id:109702,nodeType:"StructuredDocumentation",src:"2766:105:230",text:`@notice Initializes the contract. + @param _bridge Address of the StandardBridge on this chain.`},functionSelector:"c4d66de8",implemented:!0,kind:"function",modifiers:[{id:109707,kind:"modifierInvocation",modifierName:{id:109706,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"2920:11:230"},nodeType:"ModifierInvocation",src:"2920:11:230"}],name:"initialize",nameLocation:"2885:10:230",parameters:{id:109705,nodeType:"ParameterList",parameters:[{constant:!1,id:109704,mutability:"mutable",name:"_bridge",nameLocation:"2904:7:230",nodeType:"VariableDeclaration",scope:109714,src:"2896:15:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109703,name:"address",nodeType:"ElementaryTypeName",src:"2896:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2895:17:230"},returnParameters:{id:109708,nodeType:"ParameterList",parameters:[],src:"2932:0:230"},scope:109831,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:109723,nodeType:"FunctionDefinition",src:"3237:80:230",nodes:[],body:{id:109722,nodeType:"Block",src:"3287:30:230",nodes:[],statements:[{expression:{id:109720,name:"bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109664,src:"3304:6:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109719,id:109721,nodeType:"Return",src:"3297:13:230"}]},documentation:{id:109715,nodeType:"StructuredDocumentation",src:"2971:261:230",text:`@notice Getter function for the address of the StandardBridge on this chain. + Public getter is legacy and will be removed in the future. Use \`bridge\` instead. + @return Address of the StandardBridge on this chain. + @custom:legacy`},functionSelector:"ee9a31a2",implemented:!0,kind:"function",modifiers:[],name:"BRIDGE",nameLocation:"3246:6:230",parameters:{id:109716,nodeType:"ParameterList",parameters:[],src:"3252:2:230"},returnParameters:{id:109719,nodeType:"ParameterList",parameters:[{constant:!1,id:109718,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109723,src:"3278:7:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109717,name:"address",nodeType:"ElementaryTypeName",src:"3278:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"3277:9:230"},scope:109831,stateMutability:"view",virtual:!1,visibility:"external"},{id:109742,nodeType:"FunctionDefinition",src:"3740:255:230",nodes:[],body:{id:109741,nodeType:"Block",src:"3914:81:230",nodes:[],statements:[{expression:{arguments:[{id:109736,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109726,src:"3959:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109737,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109728,src:"3973:5:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109738,name:"_symbol",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109730,src:"3980:7:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}],id:109735,name:"createOptimismMintableERC20",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109762,src:"3931:27:230",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_address_$",typeString:"function (address,string memory,string memory) returns (address)"}},id:109739,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"3931:57:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109734,id:109740,nodeType:"Return",src:"3924:64:230"}]},documentation:{id:109724,nodeType:"StructuredDocumentation",src:"3323:412:230",text:`@custom:legacy + @notice Creates an instance of the OptimismMintableERC20 contract. Legacy version of the + newer createOptimismMintableERC20 function, which has a more intuitive name. + @param _remoteToken Address of the token on the remote chain. + @param _name ERC20 name. + @param _symbol ERC20 symbol. + @return Address of the newly created token.`},functionSelector:"896f93d1",implemented:!0,kind:"function",modifiers:[],name:"createStandardL2Token",nameLocation:"3749:21:230",parameters:{id:109731,nodeType:"ParameterList",parameters:[{constant:!1,id:109726,mutability:"mutable",name:"_remoteToken",nameLocation:"3788:12:230",nodeType:"VariableDeclaration",scope:109742,src:"3780:20:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109725,name:"address",nodeType:"ElementaryTypeName",src:"3780:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109728,mutability:"mutable",name:"_name",nameLocation:"3824:5:230",nodeType:"VariableDeclaration",scope:109742,src:"3810:19:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109727,name:"string",nodeType:"ElementaryTypeName",src:"3810:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109730,mutability:"mutable",name:"_symbol",nameLocation:"3853:7:230",nodeType:"VariableDeclaration",scope:109742,src:"3839:21:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109729,name:"string",nodeType:"ElementaryTypeName",src:"3839:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"}],src:"3770:96:230"},returnParameters:{id:109734,nodeType:"ParameterList",parameters:[{constant:!1,id:109733,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109742,src:"3901:7:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109732,name:"address",nodeType:"ElementaryTypeName",src:"3901:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"3900:9:230"},scope:109831,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:109762,nodeType:"FunctionDefinition",src:"4280:275:230",nodes:[],body:{id:109761,nodeType:"Block",src:"4458:97:230",nodes:[],statements:[{expression:{arguments:[{id:109755,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109745,src:"4515:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109756,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109747,src:"4529:5:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109757,name:"_symbol",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109749,src:"4536:7:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{hexValue:"3138",id:109758,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4545:2:230",typeDescriptions:{typeIdentifier:"t_rational_18_by_1",typeString:"int_const 18"},value:"18"}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_rational_18_by_1",typeString:"int_const 18"}],id:109754,name:"createOptimismMintableERC20WithDecimals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109830,src:"4475:39:230",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint8_$returns$_t_address_$",typeString:"function (address,string memory,string memory,uint8) returns (address)"}},id:109759,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4475:73:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109753,id:109760,nodeType:"Return",src:"4468:80:230"}]},documentation:{id:109743,nodeType:"StructuredDocumentation",src:"4001:274:230",text:`@notice Creates an instance of the OptimismMintableERC20 contract. + @param _remoteToken Address of the token on the remote chain. + @param _name ERC20 name. + @param _symbol ERC20 symbol. + @return Address of the newly created token.`},functionSelector:"ce5ac90f",implemented:!0,kind:"function",modifiers:[],name:"createOptimismMintableERC20",nameLocation:"4289:27:230",parameters:{id:109750,nodeType:"ParameterList",parameters:[{constant:!1,id:109745,mutability:"mutable",name:"_remoteToken",nameLocation:"4334:12:230",nodeType:"VariableDeclaration",scope:109762,src:"4326:20:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109744,name:"address",nodeType:"ElementaryTypeName",src:"4326:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109747,mutability:"mutable",name:"_name",nameLocation:"4370:5:230",nodeType:"VariableDeclaration",scope:109762,src:"4356:19:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109746,name:"string",nodeType:"ElementaryTypeName",src:"4356:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109749,mutability:"mutable",name:"_symbol",nameLocation:"4399:7:230",nodeType:"VariableDeclaration",scope:109762,src:"4385:21:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109748,name:"string",nodeType:"ElementaryTypeName",src:"4385:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"}],src:"4316:96:230"},returnParameters:{id:109753,nodeType:"ParameterList",parameters:[{constant:!1,id:109752,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109762,src:"4445:7:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109751,name:"address",nodeType:"ElementaryTypeName",src:"4445:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4444:9:230"},scope:109831,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:109830,nodeType:"FunctionDefinition",src:"4908:953:230",nodes:[],body:{id:109829,nodeType:"Block",src:"5123:738:230",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:109782,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:109777,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109765,src:"5141:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:109780,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"5165:1:230",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:109779,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5157:7:230",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:109778,name:"address",nodeType:"ElementaryTypeName",src:"5157:7:230",typeDescriptions:{}}},id:109781,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5157:10:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"5141:26:230",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d4d696e7461626c654552433230466163746f72793a206d7573742070726f766964652072656d6f746520746f6b656e2061646472657373",id:109783,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"5169:65:230",typeDescriptions:{typeIdentifier:"t_stringliteral_1fc9c38ce58e5889170de515a92b1e54913f12f8fd8aa9ab11446ca47e097779",typeString:'literal_string "OptimismMintableERC20Factory: must provide remote token address"'},value:"OptimismMintableERC20Factory: must provide remote token address"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_1fc9c38ce58e5889170de515a92b1e54913f12f8fd8aa9ab11446ca47e097779",typeString:'literal_string "OptimismMintableERC20Factory: must provide remote token address"'}],id:109776,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"5133:7:230",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:109784,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5133:102:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109785,nodeType:"ExpressionStatement",src:"5133:102:230"},{assignments:[109787],declarations:[{constant:!1,id:109787,mutability:"mutable",name:"salt",nameLocation:"5254:4:230",nodeType:"VariableDeclaration",scope:109829,src:"5246:12:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:109786,name:"bytes32",nodeType:"ElementaryTypeName",src:"5246:7:230",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:109797,initialValue:{arguments:[{arguments:[{id:109791,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109765,src:"5282:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109792,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109767,src:"5296:5:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109793,name:"_symbol",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109769,src:"5303:7:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109794,name:"_decimals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109771,src:"5312:9:230",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_uint8",typeString:"uint8"}],expression:{id:109789,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"5271:3:230",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:109790,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"5271:10:230",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:109795,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5271:51:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:109788,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"5261:9:230",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:109796,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5261:62:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"5246:77:230"},{assignments:[109799],declarations:[{constant:!1,id:109799,mutability:"mutable",name:"localToken",nameLocation:"5341:10:230",nodeType:"VariableDeclaration",scope:109829,src:"5333:18:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109798,name:"address",nodeType:"ElementaryTypeName",src:"5333:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:109814,initialValue:{arguments:[{arguments:[{id:109807,name:"bridge",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109664,src:"5414:6:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109808,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109765,src:"5422:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109809,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109767,src:"5436:5:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109810,name:"_symbol",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109769,src:"5443:7:230",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:109811,name:"_decimals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109771,src:"5452:9:230",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_uint8",typeString:"uint8"}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_uint8",typeString:"uint8"}],id:109804,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"NewExpression",src:"5374:25:230",typeDescriptions:{typeIdentifier:"t_function_creation_nonpayable$_t_address_$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint8_$returns$_t_contract$_OptimismMintableERC20_$109645_$",typeString:"function (address,address,string memory,string memory,uint8) returns (contract OptimismMintableERC20)"},typeName:{id:109803,nodeType:"UserDefinedTypeName",pathNode:{id:109802,name:"OptimismMintableERC20",nodeType:"IdentifierPath",referencedDeclaration:109645,src:"5378:21:230"},referencedDeclaration:109645,src:"5378:21:230",typeDescriptions:{typeIdentifier:"t_contract$_OptimismMintableERC20_$109645",typeString:"contract OptimismMintableERC20"}}},id:109806,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["salt"],nodeType:"FunctionCallOptions",options:[{id:109805,name:"salt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109787,src:"5407:4:230",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],src:"5374:39:230",typeDescriptions:{typeIdentifier:"t_function_creation_nonpayable$_t_address_$_t_address_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint8_$returns$_t_contract$_OptimismMintableERC20_$109645_$salt",typeString:"function (address,address,string memory,string memory,uint8) returns (contract OptimismMintableERC20)"}},id:109812,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5374:88:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_OptimismMintableERC20_$109645",typeString:"contract OptimismMintableERC20"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_OptimismMintableERC20_$109645",typeString:"contract OptimismMintableERC20"}],id:109801,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5366:7:230",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:109800,name:"address",nodeType:"ElementaryTypeName",src:"5366:7:230",typeDescriptions:{}}},id:109813,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5366:97:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"5333:130:230"},{eventCall:{arguments:[{id:109816,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109765,src:"5556:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109817,name:"localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109799,src:"5570:10:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"}],id:109815,name:"StandardL2TokenCreated",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109676,src:"5533:22:230",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$",typeString:"function (address,address)"}},id:109818,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5533:48:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109819,nodeType:"EmitStatement",src:"5528:53:230"},{eventCall:{arguments:[{id:109821,name:"localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109799,src:"5789:10:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:109822,name:"_remoteToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109765,src:"5801:12:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:109823,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"5815:3:230",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:109824,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"5815:10:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"}],id:109820,name:"OptimismMintableERC20Created",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109685,src:"5760:28:230",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$returns$__$",typeString:"function (address,address,address)"}},id:109825,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5760:66:230",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:109826,nodeType:"EmitStatement",src:"5755:71:230"},{expression:{id:109827,name:"localToken",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109799,src:"5844:10:230",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:109775,id:109828,nodeType:"Return",src:"5837:17:230"}]},documentation:{id:109763,nodeType:"StructuredDocumentation",src:"4561:342:230",text:`@notice Creates an instance of the OptimismMintableERC20 contract, with specified decimals. + @param _remoteToken Address of the token on the remote chain. + @param _name ERC20 name. + @param _symbol ERC20 symbol. + @param _decimals ERC20 decimals + @return Address of the newly created token.`},functionSelector:"8cf0629c",implemented:!0,kind:"function",modifiers:[],name:"createOptimismMintableERC20WithDecimals",nameLocation:"4917:39:230",parameters:{id:109772,nodeType:"ParameterList",parameters:[{constant:!1,id:109765,mutability:"mutable",name:"_remoteToken",nameLocation:"4974:12:230",nodeType:"VariableDeclaration",scope:109830,src:"4966:20:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109764,name:"address",nodeType:"ElementaryTypeName",src:"4966:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:109767,mutability:"mutable",name:"_name",nameLocation:"5010:5:230",nodeType:"VariableDeclaration",scope:109830,src:"4996:19:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109766,name:"string",nodeType:"ElementaryTypeName",src:"4996:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109769,mutability:"mutable",name:"_symbol",nameLocation:"5039:7:230",nodeType:"VariableDeclaration",scope:109830,src:"5025:21:230",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:109768,name:"string",nodeType:"ElementaryTypeName",src:"5025:6:230",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:109771,mutability:"mutable",name:"_decimals",nameLocation:"5062:9:230",nodeType:"VariableDeclaration",scope:109830,src:"5056:15:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"},typeName:{id:109770,name:"uint8",nodeType:"ElementaryTypeName",src:"5056:5:230",typeDescriptions:{typeIdentifier:"t_uint8",typeString:"uint8"}},visibility:"internal"}],src:"4956:121:230"},returnParameters:{id:109775,nodeType:"ParameterList",parameters:[{constant:!1,id:109774,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:109830,src:"5110:7:230",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:109773,name:"address",nodeType:"ElementaryTypeName",src:"5110:7:230",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5109:9:230"},scope:109831,stateMutability:"nonpayable",virtual:!1,visibility:"public"}],abstract:!1,baseContracts:[{baseName:{id:109655,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"811:7:230"},id:109656,nodeType:"InheritanceSpecifier",src:"811:7:230"},{baseName:{id:109657,name:"Initializable",nodeType:"IdentifierPath",referencedDeclaration:49678,src:"820:13:230"},id:109658,nodeType:"InheritanceSpecifier",src:"820:13:230"}],canonicalName:"OptimismMintableERC20Factory",contractDependencies:[109645],contractKind:"contract",documentation:{id:109654,nodeType:"StructuredDocumentation",src:"279:491:230",text:`@custom:proxied + @custom:predeployed 0x4200000000000000000000000000000000000012 + @title OptimismMintableERC20Factory + @notice OptimismMintableERC20Factory is a factory contract that generates OptimismMintableERC20 + contracts on the network it's deployed to. Simplifies the deployment process for users + who may be less familiar with deploying smart contracts. Designed to be backwards + compatible with the older StandardL2ERC20Factory contract.`},fullyImplemented:!0,linearizedBaseContracts:[109831,49678,109417],name:"OptimismMintableERC20Factory",nameLocation:"779:28:230",scope:109832,usedErrors:[]}],license:"MIT"},id:230}});var OYe=B((fla,hj0)=>{hj0.exports={abi:[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_l2Oracle",type:"address",internalType:"contract L2OutputOracle"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isOutputFinalized",inputs:[{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"l2Oracle",inputs:[],outputs:[{name:"",type:"address",internalType:"contract L2OutputOracle"}],stateMutability:"view"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"paused_",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_l2OutputIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"outputRoot",type:"bytes32",internalType:"bytes32"},{name:"timestamp",type:"uint128",internalType:"uint128"},{name:"l2OutputIndex",type:"uint128",internalType:"uint128"}],stateMutability:"view"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"BadTarget",inputs:[]},{type:"error",name:"CallPaused",inputs:[]},{type:"error",name:"GasEstimation",inputs:[]},{type:"error",name:"LargeCalldata",inputs:[]},{type:"error",name:"OutOfGas",inputs:[]},{type:"error",name:"SmallGasLimit",inputs:[]}],bytecode:{object:"0x60806040523480156200001157600080fd5b50620000206000808062000026565b6200028f565b600054610100900460ff1615808015620000475750600054600160ff909116105b806200007757506200006430620001c160201b6200191f1760201c565b15801562000077575060005460ff166001145b620000e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000104576000805461ff0019166101001790555b603680546001600160a01b03199081166001600160a01b03878116919091179092556037805490911685831617905560358054610100600160a81b03191661010085841602179055603254166200016a57603280546001600160a01b03191661dead1790555b62000174620001d0565b8015620001bb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b6001600160a01b03163b151590565b600054610100900460ff166200023d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000d7565b600154600160c01b90046001600160401b03166000036200028d5760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b615142806200029f6000396000f3fe6080604052600436106101125760003560e01c80638c3152e9116100a5578063a35d99df11610074578063cff0ab9611610059578063cff0ab961461039a578063e965084c1461043b578063e9e05c42146104c757600080fd5b8063a35d99df14610341578063c0c53b8b1461037a57600080fd5b80638c3152e9146102975780639b5f694a146102b75780639bf62d82146102e4578063a14238e71461031157600080fd5b806354fd4d50116100e157806354fd4d50146101fc5780635c975abb146102525780636dbffb78146102775780638b4c40b01461013757600080fd5b806333d7e2bd1461013e57806335e80ab314610195578063452a9320146101c75780634870496f146101dc57600080fd5b36610139576101373334620186a06000604051806020016040528060008152506104d5565b005b600080fd5b34801561014a57600080fd5b5060375461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101a157600080fd5b5060355461016b90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156101d357600080fd5b5061016b610692565b3480156101e857600080fd5b506101376101f7366004614709565b61072a565b34801561020857600080fd5b506102456040518060400160405280600581526020017f322e362e3000000000000000000000000000000000000000000000000000000081525081565b60405161018c919061485b565b34801561025e57600080fd5b50610267610d2d565b604051901515815260200161018c565b34801561028357600080fd5b5061026761029236600461486e565b610dc0565b3480156102a357600080fd5b506101376102b2366004614887565b610e7d565b3480156102c357600080fd5b5060365461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102f057600080fd5b5060325461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561031d57600080fd5b5061026761032c36600461486e565b60336020526000908152604090205460ff1681565b34801561034d57600080fd5b5061036161035c3660046148e1565b6116b8565b60405167ffffffffffffffff909116815260200161018c565b34801561038657600080fd5b506101376103953660046148fc565b6116d1565b3480156103a657600080fd5b50600154610402906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff928316602085015291169082015260600161018c565b34801561044757600080fd5b5061049961045636600461486e565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff928316602085015291169082015260600161018c565b6101376104d5366004614955565b8260005a90508380156104fd575073ffffffffffffffffffffffffffffffffffffffff871615155b15610534576040517f13496fda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61053e83516116b8565b67ffffffffffffffff168567ffffffffffffffff16101561058b576040517f4929b80800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201d4c0835111156105c9576040517f73052b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333281146105ea575033731111000000000000000000000000000000001111015b600034888888886040516020016106059594939291906149d2565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610675919061485b565b60405180910390a45050610689828261193b565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614a37565b905090565b610732610d2d565b15610769576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff160361082d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e74726163740060648201526084015b60405180910390fd5b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190614a74565b5190506108db6108d636869003860186614ad9565b611c12565b8114610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610824565b600061097487611c6e565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610a8a5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614a74565b5114155b610b16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e0000000000000000006064820152608401610824565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610bdf9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610bd5888a614b3f565b8a60400135611c9e565b610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610824565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614bc3565b6036546040517fa25ae55700000000000000000000000000000000000000000000000000000000815260048101839052600091610e759173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190614a74565b602001516fffffffffffffffffffffffffffffffff16611cc2565b92915050565b565b610e85610d2d565b15610ebc576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610f65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610824565b6000610f7082611c6e565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361105b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2079657400000000000000000000000000006064820152608401610824565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190614be0565b81602001516fffffffffffffffffffffffffffffffff1610156111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a401610824565b6111d681602001516fffffffffffffffffffffffffffffffff16611cc2565b611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a401610824565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561130f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113339190614a74565b82518151919250146113ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a401610824565b61140c81602001516fffffffffffffffffffffffffffffffff16611cc2565b6114be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a401610824565b60008381526033602052604090205460ff161561155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610824565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516115ff93929190611d68565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061166490841515815260200190565b60405180910390a28015801561167a5750326001145b156116b1576040517feeae4ed300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60006116c5826010614c28565b610e7590615208614c58565b600054610100900460ff16158080156116f15750600054600160ff909116105b8061170b5750303b15801561170b575060005460ff166001145b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610824565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156117f557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166118ae57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6118b6611dc6565b801561191957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611971907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614c84565b9050600061197d611ed9565b90506000816020015160ff16826000015163ffffffff1661199e9190614cca565b90508215611ad5576001546000906119d5908390700100000000000000000000000000000000900467ffffffffffffffff16614d32565b90506000836040015160ff16836119ec9190614da6565b600154611a0c9084906fffffffffffffffffffffffffffffffff16614da6565b611a169190614cca565b600154909150600090611a6790611a409084906fffffffffffffffffffffffffffffffff16614e62565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16611f9a565b90506001861115611a9657611a93611a4082876040015160ff1660018a611a8e9190614c84565b611fb9565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611b08908490700100000000000000000000000000000000900467ffffffffffffffff16614c58565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611b95576040517f77ebef4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154600090611bc1906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816614ed6565b90506000611bd348633b9aca0061200e565b611bdd9083614f13565b905060005a611bec9088614c84565b905080821115611c0857611c08611c038284614c84565b612025565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611c51949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611c51979096959101614f27565b600080611caa86612053565b9050611cb881868686612085565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d569190614be0565b611d609083614f7e565b421192915050565b6000806000611d788660006120b5565b905080611dae576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16611e5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610824565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff16600003610e7b5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614fbb565b6000611faf611fa985856120d3565b836120e3565b90505b9392505050565b6000670de0b6b3a7640000611ffa611fd18583614cca565b611fe390670de0b6b3a7640000614d32565b611ff585670de0b6b3a7640000614da6565b6120f2565b6120049086614da6565b611faf9190614cca565b60008183101561201e5781611fb2565b5090919050565b6000805a90505b825a6120389083614c84565b101561204e576120478261505a565b915061202c565b505050565b6060818051906020012060405160200161206f91815260200190565b6040516020818303038152906040529050919050565b60006120ac84612096878686612123565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60008183121561201e5781611fb2565b600081831261201e5781611fb2565b6000611fb2670de0b6b3a76400008361210a86612ba1565b6121149190614da6565b61211e9190614cca565b612de5565b60606000845111612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610824565b600061219b84613024565b905060006121a886613110565b90506000846040516020016121bf91815260200190565b60405160208183030381529060405290506000805b8451811015612b185760008582815181106121f1576121f1615092565b60200260200101519050845183111561228c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610824565b8260000361234557805180516020918201206040516122da926122b492910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610824565b61249c565b8051516020116123fb578051805160209182012060405161236f926122b492910190815260200190565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610824565b80518451602080870191909120825191909201201461249c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610824565b6124a860106001614f7e565b81602001515103612684578451830361261c576124e281602001516010815181106124d5576124d5615092565b6020026020010151613173565b96506000875111612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610824565b600186516125839190614c84565b8214612611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610824565b505050505050611fb2565b600085848151811061263057612630615092565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061265b5761265b615092565b6020026020010151905061266e816132d3565b955061267b600186614f7e565b94505050612b05565b600281602001515103612a7d57600061269c826132f8565b90506000816000815181106126b3576126b3615092565b016020015160f81c905060006126ca6002836150c1565b6126d59060026150e3565b905060006126e6848360ff1661331c565b905060006126f48a8961331c565b905060006127028383613352565b905080835114612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610824565b60ff8516600214806127a9575060ff85166003145b15612998578082511461283e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610824565b61285887602001516001815181106124d5576124d5615092565b9c5060008d51116128eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610824565b60018c516128f99190614c84565b8814612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610824565b505050505050505050505050611fb2565b60ff851615806129ab575060ff85166001145b156129ea576129d787602001516001815181106129ca576129ca615092565b60200260200101516132d3565b99506129e3818a614f7e565b9850612a72565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610824565b505050505050612b05565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610824565b5080612b108161505a565b9150506121d4565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610824565b6000808213612c0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b60006060612c1984613406565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213612e1657506000919050565b680755bf798b4a1bf1e58212612e88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610824565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff81111561304257613042614529565b60405190808252806020026020018201604052801561308757816020015b60408051808201909152606080825260208201528152602001906001900390816130605790505b50915060005b818110156131095760405180604001604052808583815181106130b2576130b2615092565b602002602001015181526020016130e18684815181106130d4576130d4615092565b60200260200101516134dc565b8152508382815181106130f6576130f6615092565b602090810291909101015260010161308d565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613168578060011b82018184015160001a8060041c8253600f81166001830153505060010161313a565b509295945050505050565b60606000806000613183856134ef565b91945092509050600081600181111561319e5761319e615106565b1461322b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610824565b6132358284614f7e565b8551146132c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610824565b6120ac85602001518484613f5c565b606060208260000151106132ef576132ea82613173565b610e75565b610e7582613ff0565b6060610e7561331783602001516000815181106124d5576124d5615092565b613110565b60608251821061333b5750604080516020810190915260008152610e75565b611fb2838384865161334d9190614c84565b614006565b6000808251845110613365578251613368565b83515b90505b80821080156133ef575082828151811061338757613387615092565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106133c6576133c6615092565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156133ff5781600101915061336b565b5092915050565b6000808211613471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b6060610e756134ea836141de565b6142c7565b6000806000808460000151116135ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b6020840151805160001a607f81116135d2576000600160009450945094505050613f55565b60b781116137e05760006135e7608083614c84565b9050808760000151116136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610824565b6001838101517fff0000000000000000000000000000000000000000000000000000000000000016908214158061371b57507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b6137cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610824565b5060019550935060009250613f55915050565b60bf8111613b2e5760006137f560b783614c84565b9050808760000151116138b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610824565b60018301517fff0000000000000000000000000000000000000000000000000000000000000016600081900361398e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613a52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610824565b613a5c8184614f7e565b895111613b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610824565b613b1c836001614f7e565b9750955060009450613f559350505050565b60f78111613c0f576000613b4360c083614c84565b905080876000015111613bfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b600195509350849250613f55915050565b6000613c1c60f783614c84565b905080876000015111613cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610824565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613e79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610824565b613e838184614f7e565b895111613f38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b613f43836001614f7e565b9750955060019450613f559350505050565b9193909250565b60608167ffffffffffffffff811115613f7757613f77614529565b6040519080825280601f01601f191660200182016040528015613fa1576020820181803683370190505b5090508115611fb2576000613fb68486614f7e565b90506020820160005b84811015613fd7578281015182820152602001613fbf565b84811115613fe6576000858301525b5050509392505050565b6060610e75826020015160008460000151613f5c565b60608182601f011015614075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8282840110156140e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8183018451101561414e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610824565b60608215801561416d57604051915060008252602082016040526141d5565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156141a657805183526020928301920161418e565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b604080518082019091526000808252602082015260008251116142a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b50604080518082019091528151815260209182019181019190915290565b606060008060006142d7856134ef565b9194509250905060018160018111156142f2576142f2615106565b1461437f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610824565b845161438b8385614f7e565b14614418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610824565b604080516020808252610420820190925290816020015b604080518082019091526000808252602082015281526020019060019003908161442f5790505093506000835b865181101561451d576000806144a26040518060400160405280858c600001516144869190614c84565b8152602001858c6020015161449b9190614f7e565b90526134ef565b5091509150604051806040016040528083836144be9190614f7e565b8152602001848b602001516144d39190614f7e565b8152508885815181106144e8576144e8615092565b60209081029190910101526144fe600185614f7e565b935061450a8183614f7e565b6145149084614f7e565b9250505061445c565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561459f5761459f614529565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff811681146145c957600080fd5b50565b600082601f8301126145dd57600080fd5b813567ffffffffffffffff8111156145f7576145f7614529565b61462860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614558565b81815284602083860101111561463d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561466c57600080fd5b60405160c0810167ffffffffffffffff828210818311171561469057614690614529565b8160405282935084358352602085013591506146ab826145a7565b816020840152604085013591506146c1826145a7565b816040840152606085013560608401526080850135608084015260a08501359150808211156146ef57600080fd5b506146fc858286016145cc565b60a0830152505092915050565b600080600080600085870360e081121561472257600080fd5b863567ffffffffffffffff8082111561473a57600080fd5b6147468a838b0161465a565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08401121561477f57600080fd5b60408901955060c089013592508083111561479957600080fd5b828901925089601f8401126147ad57600080fd5b82359150808211156147be57600080fd5b508860208260051b84010111156147d457600080fd5b959894975092955050506020019190565b60005b838110156148005781810151838201526020016147e8565b838111156119195750506000910152565b600081518084526148298160208601602086016147e5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611fb26020830184614811565b60006020828403121561488057600080fd5b5035919050565b60006020828403121561489957600080fd5b813567ffffffffffffffff8111156148b057600080fd5b6148bc8482850161465a565b949350505050565b803567ffffffffffffffff811681146148dc57600080fd5b919050565b6000602082840312156148f357600080fd5b611fb2826148c4565b60008060006060848603121561491157600080fd5b833561491c816145a7565b9250602084013561492c816145a7565b9150604084013561493c816145a7565b809150509250925092565b80151581146145c957600080fd5b600080600080600060a0868803121561496d57600080fd5b8535614978816145a7565b94506020860135935061498d604087016148c4565b9250606086013561499d81614947565b9150608086013567ffffffffffffffff8111156149b957600080fd5b6149c5888289016145cc565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614a268160498501602087016147e5565b919091016049019695505050505050565b600060208284031215614a4957600080fd5b8151611fb2816145a7565b80516fffffffffffffffffffffffffffffffff811681146148dc57600080fd5b600060608284031215614a8657600080fd5b6040516060810181811067ffffffffffffffff82111715614aa957614aa9614529565b60405282518152614abc60208401614a54565b6020820152614acd60408401614a54565b60408201529392505050565b600060808284031215614aeb57600080fd5b6040516080810181811067ffffffffffffffff82111715614b0e57614b0e614529565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614b5a57614b5a614529565b8360051b6020614b6b818301614558565b868152918501918181019036841115614b8357600080fd5b865b84811015614bb757803586811115614b9d5760008081fd5b614ba936828b016145cc565b845250918301918301614b85565b50979650505050505050565b600060208284031215614bd557600080fd5b8151611fb281614947565b600060208284031215614bf257600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614c4f57614c4f614bf9565b02949350505050565b600067ffffffffffffffff808316818516808303821115614c7b57614c7b614bf9565b01949350505050565b600082821015614c9657614c96614bf9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614cd957614cd9614c9b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614d2d57614d2d614bf9565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615614d6c57614d6c614bf9565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615614da057614da0614bf9565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615614de757614de7614bf9565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615614e2257614e22614bf9565b60008712925087820587128484161615614e3e57614e3e614bf9565b87850587128184161615614e5457614e54614bf9565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615614e9c57614e9c614bf9565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615614ed057614ed0614bf9565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0e57614f0e614bf9565b500290565b600082614f2257614f22614c9b565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152614f7260c0830184614811565b98975050505050505050565b60008219821115614f9157614f91614bf9565b500190565b805163ffffffff811681146148dc57600080fd5b805160ff811681146148dc57600080fd5b600060c08284031215614fcd57600080fd5b60405160c0810181811067ffffffffffffffff82111715614ff057614ff0614529565b604052614ffc83614f96565b815261500a60208401614faa565b602082015261501b60408401614faa565b604082015261502c60608401614f96565b606082015261503d60808401614f96565b608082015261504e60a08401614a54565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361508b5761508b614bf9565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff8316806150d4576150d4614c9b565b8060ff84160691505092915050565b600060ff821660ff8416808210156150fd576150fd614bf9565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1240:19301:134:-:0;;;4633:218;;;;;;;;;-1:-1:-1;4657:187:134;4716:1;;;4657:10;:187::i;:::-;1240:19301;;5069:435;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;216:2:357;3146:190:43;;;198:21:357;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:357;;;338:44;399:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;5258:8:134::1;:20:::0;;-1:-1:-1;;;;;;5258:20:134;;::::1;-1:-1:-1::0;;;;;5258:20:134;;::::1;::::0;;;::::1;::::0;;;5288:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5326:16:::1;:36:::0;;-1:-1:-1;;;;;;5326:36:134::1;5258:20;5326:36:::0;;::::1;;;::::0;;5376:8:::1;::::0;::::1;5372:91;;5414:8;:38:::0;;-1:-1:-1;;;;;;5414:38:134::1;1338:42:192;5414:38:134;::::0;;5372:91:::1;5472:25;:23;:25::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;581:36:357;;3531:14:43;;569:2:357;554:18;3531:14:43;;;;;;;3457:99;3090:472;5069:435:134;;;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;8340:234:137:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;830:2:357;4880:69:43;;;812:21:357;869:2;849:18;;;842:30;908:34;888:18;;;881:62;-1:-1:-1;;;959:18:357;;;952:41;1010:19;;4880:69:43;628:407:357;4880:69:43;8415:6:137::1;:19:::0;-1:-1:-1;;;8415:19:137;::::1;-1:-1:-1::0;;;;;8415:19:137::1;;:24:::0;8411:157:::1;;8464:93;::::0;;::::1;::::0;::::1;::::0;;8494:6:::1;8464:93:::0;;;-1:-1:-1;8464:93:137::1;::::0;::::1;::::0;8541:12:::1;-1:-1:-1::0;;;;;8464:93:137::1;::::0;;;;;;;-1:-1:-1;;;8455:102:137::1;;:6;:102:::0;8411:157:::1;8340:234::o:0;628:407:357:-;1240:19301:134;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101125760003560e01c80638c3152e9116100a5578063a35d99df11610074578063cff0ab9611610059578063cff0ab961461039a578063e965084c1461043b578063e9e05c42146104c757600080fd5b8063a35d99df14610341578063c0c53b8b1461037a57600080fd5b80638c3152e9146102975780639b5f694a146102b75780639bf62d82146102e4578063a14238e71461031157600080fd5b806354fd4d50116100e157806354fd4d50146101fc5780635c975abb146102525780636dbffb78146102775780638b4c40b01461013757600080fd5b806333d7e2bd1461013e57806335e80ab314610195578063452a9320146101c75780634870496f146101dc57600080fd5b36610139576101373334620186a06000604051806020016040528060008152506104d5565b005b600080fd5b34801561014a57600080fd5b5060375461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101a157600080fd5b5060355461016b90610100900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156101d357600080fd5b5061016b610692565b3480156101e857600080fd5b506101376101f7366004614709565b61072a565b34801561020857600080fd5b506102456040518060400160405280600581526020017f322e362e3000000000000000000000000000000000000000000000000000000081525081565b60405161018c919061485b565b34801561025e57600080fd5b50610267610d2d565b604051901515815260200161018c565b34801561028357600080fd5b5061026761029236600461486e565b610dc0565b3480156102a357600080fd5b506101376102b2366004614887565b610e7d565b3480156102c357600080fd5b5060365461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102f057600080fd5b5060325461016b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561031d57600080fd5b5061026761032c36600461486e565b60336020526000908152604090205460ff1681565b34801561034d57600080fd5b5061036161035c3660046148e1565b6116b8565b60405167ffffffffffffffff909116815260200161018c565b34801561038657600080fd5b506101376103953660046148fc565b6116d1565b3480156103a657600080fd5b50600154610402906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff928316602085015291169082015260600161018c565b34801561044757600080fd5b5061049961045636600461486e565b603460205260009081526040902080546001909101546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041683565b604080519384526fffffffffffffffffffffffffffffffff928316602085015291169082015260600161018c565b6101376104d5366004614955565b8260005a90508380156104fd575073ffffffffffffffffffffffffffffffffffffffff871615155b15610534576040517f13496fda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61053e83516116b8565b67ffffffffffffffff168567ffffffffffffffff16101561058b576040517f4929b80800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201d4c0835111156105c9576040517f73052b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b333281146105ea575033731111000000000000000000000000000000001111015b600034888888886040516020016106059594939291906149d2565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c3284604051610675919061485b565b60405180910390a45050610689828261193b565b50505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614a37565b905090565b610732610d2d565b15610769576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff160361082d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e74726163740060648201526084015b60405180910390fd5b6036546040517fa25ae5570000000000000000000000000000000000000000000000000000000081526004810186905260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190614a74565b5190506108db6108d636869003860186614ad9565b611c12565b8114610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f6600000000000000000000000000000000000000000000006064820152608401610824565b600061097487611c6e565b6000818152603460209081526040918290208251606081018452815481526001909101546fffffffffffffffffffffffffffffffff8082169383018490527001000000000000000000000000000000009091041692810192909252919250901580610a8a5750805160365460408084015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015273ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a869190614a74565b5114155b610b16576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173682060448201527f68617320616c7265616479206265656e2070726f76656e0000000000000000006064820152608401610824565b60408051602081018490526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815282825280516020918201209083018190529250610bdf9101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f0100000000000000000000000000000000000000000000000000000000000000602083015290610bd5888a614b3f565b8a60400135611c9e565b610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f6600000000000000000000000000006064820152608401610824565b604080516060810182528581526fffffffffffffffffffffffffffffffff42811660208084019182528c831684860190815260008981526034835286812095518655925190518416700100000000000000000000000000000000029316929092176001909301929092558b830151908c0151925173ffffffffffffffffffffffffffffffffffffffff918216939091169186917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f629190a4505050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614bc3565b6036546040517fa25ae55700000000000000000000000000000000000000000000000000000000815260048101839052600091610e759173ffffffffffffffffffffffffffffffffffffffff9091169063a25ae55790602401606060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190614a74565b602001516fffffffffffffffffffffffffffffffff16611cc2565b92915050565b565b610e85610d2d565b15610ebc576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60325473ffffffffffffffffffffffffffffffffffffffff1661dead14610f65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e006064820152608401610824565b6000610f7082611c6e565b60008181526034602090815260408083208151606081018352815481526001909101546fffffffffffffffffffffffffffffffff8082169483018590527001000000000000000000000000000000009091041691810191909152929350900361105b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2079657400000000000000000000000000006064820152608401610824565b603660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663887862726040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190614be0565b81602001516fffffffffffffffffffffffffffffffff1610156111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e204c32204f7261636c65207374617274696e60648201527f672074696d657374616d70000000000000000000000000000000000000000000608482015260a401610824565b6111d681602001516fffffffffffffffffffffffffffffffff16611cc2565b611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c60648201527f6170736564000000000000000000000000000000000000000000000000000000608482015260a401610824565b60365460408281015190517fa25ae5570000000000000000000000000000000000000000000000000000000081526fffffffffffffffffffffffffffffffff909116600482015260009173ffffffffffffffffffffffffffffffffffffffff169063a25ae55790602401606060405180830381865afa15801561130f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113339190614a74565b82518151919250146113ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604960248201527f4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f7660448201527f656e206973206e6f74207468652073616d652061732063757272656e74206f7560648201527f7470757420726f6f740000000000000000000000000000000000000000000000608482015260a401610824565b61140c81602001516fffffffffffffffffffffffffffffffff16611cc2565b6114be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604360248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f66696e616c697a6174696f6e20706572696f6420686173206e6f7420656c617060648201527f7365640000000000000000000000000000000000000000000000000000000000608482015260a401610824565b60008381526033602052604090205460ff161561155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a656400000000000000000000006064820152608401610824565b600083815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908601516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558501516080860151606087015160a08801516115ff93929190611d68565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915084907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b9061166490841515815260200190565b60405180910390a28015801561167a5750326001145b156116b1576040517feeae4ed300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60006116c5826010614c28565b610e7590615208614c58565b600054610100900460ff16158080156116f15750600054600160ff909116105b8061170b5750303b15801561170b575060005460ff166001145b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610824565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156117f557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603680547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8781169190911790925560378054909116858316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010085841602179055603254166118ae57603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead1790555b6118b6611dc6565b801561191957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090611971907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1643614c84565b9050600061197d611ed9565b90506000816020015160ff16826000015163ffffffff1661199e9190614cca565b90508215611ad5576001546000906119d5908390700100000000000000000000000000000000900467ffffffffffffffff16614d32565b90506000836040015160ff16836119ec9190614da6565b600154611a0c9084906fffffffffffffffffffffffffffffffff16614da6565b611a169190614cca565b600154909150600090611a6790611a409084906fffffffffffffffffffffffffffffffff16614e62565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff16611f9a565b90506001861115611a9657611a93611a4082876040015160ff1660018a611a8e9190614c84565b611fb9565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b60018054869190601090611b08908490700100000000000000000000000000000000900467ffffffffffffffff16614c58565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff161315611b95576040517f77ebef4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154600090611bc1906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816614ed6565b90506000611bd348633b9aca0061200e565b611bdd9083614f13565b905060005a611bec9088614c84565b905080821115611c0857611c08611c038284614c84565b612025565b5050505050505050565b60008160000151826020015183604001518460600151604051602001611c51949392919093845260208401929092526040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b80516020808301516040808501516060860151608087015160a08801519351600097611c51979096959101614f27565b600080611caa86612053565b9050611cb881868686612085565b9695505050505050565b603654604080517ff4daa291000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163f4daa2919160048083019260209291908290030181865afa158015611d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d569190614be0565b611d609083614f7e565b421192915050565b6000806000611d788660006120b5565b905080611dae576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600054610100900460ff16611e5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610824565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff16600003610e7b5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190614fbb565b6000611faf611fa985856120d3565b836120e3565b90505b9392505050565b6000670de0b6b3a7640000611ffa611fd18583614cca565b611fe390670de0b6b3a7640000614d32565b611ff585670de0b6b3a7640000614da6565b6120f2565b6120049086614da6565b611faf9190614cca565b60008183101561201e5781611fb2565b5090919050565b6000805a90505b825a6120389083614c84565b101561204e576120478261505a565b915061202c565b505050565b6060818051906020012060405160200161206f91815260200190565b6040516020818303038152906040529050919050565b60006120ac84612096878686612123565b8051602091820120825192909101919091201490565b95945050505050565b600080603f83619c4001026040850201603f5a021015949350505050565b60008183121561201e5781611fb2565b600081831261201e5781611fb2565b6000611fb2670de0b6b3a76400008361210a86612ba1565b6121149190614da6565b61211e9190614cca565b612de5565b60606000845111612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b657900000000000000000000006044820152606401610824565b600061219b84613024565b905060006121a886613110565b90506000846040516020016121bf91815260200190565b60405160208183030381529060405290506000805b8451811015612b185760008582815181106121f1576121f1615092565b60200260200101519050845183111561228c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e6774680000000000000000000000000000000000006064820152608401610824565b8260000361234557805180516020918201206040516122da926122b492910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f7420686173680000006044820152606401610824565b61249c565b8051516020116123fb578051805160209182012060405161236f926122b492910190815260200190565b612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c2068617368000000000000000000000000000000000000000000000000006064820152608401610824565b80518451602080870191909120825191909201201461249c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f65206861736800000000000000000000000000000000000000000000000000006064820152608401610824565b6124a860106001614f7e565b81602001515103612684578451830361261c576124e281602001516010815181106124d5576124d5615092565b6020026020010151613173565b96506000875111612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e63682900000000006064820152608401610824565b600186516125839190614c84565b8214612611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e6368290000000000006064820152608401610824565b505050505050611fb2565b600085848151811061263057612630615092565b602001015160f81c60f81b60f81c9050600082602001518260ff168151811061265b5761265b615092565b6020026020010151905061266e816132d3565b955061267b600186614f7e565b94505050612b05565b600281602001515103612a7d57600061269c826132f8565b90506000816000815181106126b3576126b3615092565b016020015160f81c905060006126ca6002836150c1565b6126d59060026150e3565b905060006126e6848360ff1661331c565b905060006126f48a8961331c565b905060006127028383613352565b905080835114612794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b65790000000000006064820152608401610824565b60ff8516600214806127a9575060ff85166003145b15612998578082511461283e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e6465720000006064820152608401610824565b61285887602001516001815181106124d5576124d5615092565b9c5060008d51116128eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c65616629000000000000006064820152608401610824565b60018c516128f99190614c84565b8814612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c6561662900000000000000006064820152608401610824565b505050505050505050505050611fb2565b60ff851615806129ab575060ff85166001145b156129ea576129d787602001516001815181106129ca576129ca615092565b60200260200101516132d3565b99506129e3818a614f7e565b9850612a72565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e2070726566697800000000000000000000000000006064820152608401610824565b505050505050612b05565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f64650000000000000000000000000000000000000000000000006064820152608401610824565b5080612b108161505a565b9150506121d4565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e74730000000000000000000000000000000000000000000000000000006064820152608401610824565b6000808213612c0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b60006060612c1984613406565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c18213612e1657506000919050565b680755bf798b4a1bf1e58212612e88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f5700000000000000000000000000000000000000006044820152606401610824565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff81111561304257613042614529565b60405190808252806020026020018201604052801561308757816020015b60408051808201909152606080825260208201528152602001906001900390816130605790505b50915060005b818110156131095760405180604001604052808583815181106130b2576130b2615092565b602002602001015181526020016130e18684815181106130d4576130d4615092565b60200260200101516134dc565b8152508382815181106130f6576130f6615092565b602090810291909101015260010161308d565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613168578060011b82018184015160001a8060041c8253600f81166001830153505060010161313a565b509295945050505050565b60606000806000613183856134ef565b91945092509050600081600181111561319e5761319e615106565b1461322b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d000000000000006064820152608401610824565b6132358284614f7e565b8551146132c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e6465720000000000000000000000006064820152608401610824565b6120ac85602001518484613f5c565b606060208260000151106132ef576132ea82613173565b610e75565b610e7582613ff0565b6060610e7561331783602001516000815181106124d5576124d5615092565b613110565b60608251821061333b5750604080516020810190915260008152610e75565b611fb2838384865161334d9190614c84565b614006565b6000808251845110613365578251613368565b83515b90505b80821080156133ef575082828151811061338757613387615092565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168483815181106133c6576133c6615092565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b156133ff5781600101915061336b565b5092915050565b6000808211613471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e454400000000000000000000000000000000000000000000006044820152606401610824565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b6060610e756134ea836141de565b6142c7565b6000806000808460000151116135ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b6020840151805160001a607f81116135d2576000600160009450945094505050613f55565b60b781116137e05760006135e7608083614c84565b9050808760000151116136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a401610824565b6001838101517fff0000000000000000000000000000000000000000000000000000000000000016908214158061371b57507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b6137cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a401610824565b5060019550935060009250613f55915050565b60bf8111613b2e5760006137f560b783614c84565b9050808760000151116138b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a401610824565b60018301517fff0000000000000000000000000000000000000000000000000000000000000016600081900361398e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613a52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a401610824565b613a5c8184614f7e565b895111613b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a401610824565b613b1c836001614f7e565b9750955060009450613f559350505050565b60f78111613c0f576000613b4360c083614c84565b905080876000015111613bfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b600195509350849250613f55915050565b6000613c1c60f783614c84565b905080876000015111613cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a401610824565b60018301517fff00000000000000000000000000000000000000000000000000000000000000166000819003613db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a401610824565b600184015160088302610100031c60378111613e79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a401610824565b613e838184614f7e565b895111613f38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a401610824565b613f43836001614f7e565b9750955060019450613f559350505050565b9193909250565b60608167ffffffffffffffff811115613f7757613f77614529565b6040519080825280601f01601f191660200182016040528015613fa1576020820181803683370190505b5090508115611fb2576000613fb68486614f7e565b90506020820160005b84811015613fd7578281015182820152602001613fbf565b84811115613fe6576000858301525b5050509392505050565b6060610e75826020015160008460000151613f5c565b60608182601f011015614075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8282840110156140e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401610824565b8183018451101561414e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401610824565b60608215801561416d57604051915060008252602082016040526141d5565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156141a657805183526020928301920161418e565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b604080518082019091526000808252602082015260008251116142a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a401610824565b50604080518082019091528151815260209182019181019190915290565b606060008060006142d7856134ef565b9194509250905060018160018111156142f2576142f2615106565b1461437f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d00000000000000006064820152608401610824565b845161438b8385614f7e565b14614418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e64657200000000000000000000000000006064820152608401610824565b604080516020808252610420820190925290816020015b604080518082019091526000808252602082015281526020019060019003908161442f5790505093506000835b865181101561451d576000806144a26040518060400160405280858c600001516144869190614c84565b8152602001858c6020015161449b9190614f7e565b90526134ef565b5091509150604051806040016040528083836144be9190614f7e565b8152602001848b602001516144d39190614f7e565b8152508885815181106144e8576144e8615092565b60209081029190910101526144fe600185614f7e565b935061450a8183614f7e565b6145149084614f7e565b9250505061445c565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561459f5761459f614529565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff811681146145c957600080fd5b50565b600082601f8301126145dd57600080fd5b813567ffffffffffffffff8111156145f7576145f7614529565b61462860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614558565b81815284602083860101111561463d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561466c57600080fd5b60405160c0810167ffffffffffffffff828210818311171561469057614690614529565b8160405282935084358352602085013591506146ab826145a7565b816020840152604085013591506146c1826145a7565b816040840152606085013560608401526080850135608084015260a08501359150808211156146ef57600080fd5b506146fc858286016145cc565b60a0830152505092915050565b600080600080600085870360e081121561472257600080fd5b863567ffffffffffffffff8082111561473a57600080fd5b6147468a838b0161465a565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08401121561477f57600080fd5b60408901955060c089013592508083111561479957600080fd5b828901925089601f8401126147ad57600080fd5b82359150808211156147be57600080fd5b508860208260051b84010111156147d457600080fd5b959894975092955050506020019190565b60005b838110156148005781810151838201526020016147e8565b838111156119195750506000910152565b600081518084526148298160208601602086016147e5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611fb26020830184614811565b60006020828403121561488057600080fd5b5035919050565b60006020828403121561489957600080fd5b813567ffffffffffffffff8111156148b057600080fd5b6148bc8482850161465a565b949350505050565b803567ffffffffffffffff811681146148dc57600080fd5b919050565b6000602082840312156148f357600080fd5b611fb2826148c4565b60008060006060848603121561491157600080fd5b833561491c816145a7565b9250602084013561492c816145a7565b9150604084013561493c816145a7565b809150509250925092565b80151581146145c957600080fd5b600080600080600060a0868803121561496d57600080fd5b8535614978816145a7565b94506020860135935061498d604087016148c4565b9250606086013561499d81614947565b9150608086013567ffffffffffffffff8111156149b957600080fd5b6149c5888289016145cc565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251614a268160498501602087016147e5565b919091016049019695505050505050565b600060208284031215614a4957600080fd5b8151611fb2816145a7565b80516fffffffffffffffffffffffffffffffff811681146148dc57600080fd5b600060608284031215614a8657600080fd5b6040516060810181811067ffffffffffffffff82111715614aa957614aa9614529565b60405282518152614abc60208401614a54565b6020820152614acd60408401614a54565b60408201529392505050565b600060808284031215614aeb57600080fd5b6040516080810181811067ffffffffffffffff82111715614b0e57614b0e614529565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600067ffffffffffffffff80841115614b5a57614b5a614529565b8360051b6020614b6b818301614558565b868152918501918181019036841115614b8357600080fd5b865b84811015614bb757803586811115614b9d5760008081fd5b614ba936828b016145cc565b845250918301918301614b85565b50979650505050505050565b600060208284031215614bd557600080fd5b8151611fb281614947565b600060208284031215614bf257600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff80831681851681830481118215151615614c4f57614c4f614bf9565b02949350505050565b600067ffffffffffffffff808316818516808303821115614c7b57614c7b614bf9565b01949350505050565b600082821015614c9657614c96614bf9565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614cd957614cd9614c9b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615614d2d57614d2d614bf9565b500590565b6000808312837f800000000000000000000000000000000000000000000000000000000000000001831281151615614d6c57614d6c614bf9565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615614da057614da0614bf9565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600084136000841385830485118282161615614de757614de7614bf9565b7f80000000000000000000000000000000000000000000000000000000000000006000871286820588128184161615614e2257614e22614bf9565b60008712925087820587128484161615614e3e57614e3e614bf9565b87850587128184161615614e5457614e54614bf9565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03841381151615614e9c57614e9c614bf9565b827f8000000000000000000000000000000000000000000000000000000000000000038412811615614ed057614ed0614bf9565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0e57614f0e614bf9565b500290565b600082614f2257614f22614c9b565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a0830152614f7260c0830184614811565b98975050505050505050565b60008219821115614f9157614f91614bf9565b500190565b805163ffffffff811681146148dc57600080fd5b805160ff811681146148dc57600080fd5b600060c08284031215614fcd57600080fd5b60405160c0810181811067ffffffffffffffff82111715614ff057614ff0614529565b604052614ffc83614f96565b815261500a60208401614faa565b602082015261501b60408401614faa565b604082015261502c60608401614f96565b606082015261503d60808401614f96565b608082015261504e60a08401614a54565b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361508b5761508b614bf9565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff8316806150d4576150d4614c9b565b8060ff84160691505092915050565b600060ff821660ff8416808210156150fd576150fd614bf9565b90039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c634300080f000a",sourceMap:"1240:19301:134:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7115:86;7134:10;7146:9;1971:7;7184:5;7191:9;;;;;;;;;;;;7115:18;:86::i;:::-;1240:19301;;;;;2983:32;;;;;;;;;;-1:-1:-1;2983:32:134;;;;;;;;;;;212:42:357;200:55;;;182:74;;170:2;155:18;2983:32:134;;;;;;;;2739:40;;;;;;;;;;-1:-1:-1;2739:40:134;;;;;;;;;;;5757:101;;;;;;;;;;;;;:::i;8288:3825::-;;;;;;;;;;-1:-1:-1;8288:3825:134;;;;;:::i;:::-;;:::i;4530:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;5981:105::-;;;;;;;;;;;;;:::i;:::-;;;5228:14:357;;5221:22;5203:41;;5191:2;5176:18;5981:105:134;5063:187:357;19926:180:134;;;;;;;;;;-1:-1:-1;19926:180:134;;;;;:::i;:::-;;:::i;12226:4818::-;;;;;;;;;;-1:-1:-1;12226:4818:134;;;;;:::i;:::-;;:::i;2867:30::-;;;;;;;;;;-1:-1:-1;2867:30:134;;;;;;;;2234:23;;;;;;;;;;-1:-1:-1;2234:23:134;;;;;;;;2348:52;;;;;;;;;;-1:-1:-1;2348:52:134;;;;;:::i;:::-;;;;;;;;;;;;;;;;6579:120;;;;;;;;;;-1:-1:-1;6579:120:134;;;;;:::i;:::-;;:::i;:::-;;;6799:18:357;6787:31;;;6769:50;;6757:2;6742:18;6579:120:134;6625:200:357;5069:435:134;;;;;;;;;;-1:-1:-1;5069:435:134;;;;;:::i;:::-;;:::i;3093:28:137:-;;;;;;;;;;-1:-1:-1;3093:28:137;;;;;;;;;;;;;;;;;;;;;;;;;7664:34:357;7652:47;;;7634:66;;7719:18;7773:15;;;7768:2;7753:18;;7746:43;7825:15;;7805:18;;;7798:43;7622:2;7607:18;3093:28:137;7436:411:357;2482:61:134;;;;;;;;;;-1:-1:-1;2482:61:134;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8054:25:357;;;8098:34;8168:15;;;8163:2;8148:18;;8141:43;8220:15;;8200:18;;;8193:43;8042:2;8027:18;2482:61:134;7852:390:357;17774:1855:134;;;;;;:::i;:::-;17980:9;3511:18:137;3532:9;3511:30;;18134:11:134::1;:32;;;;-1:-1:-1::0;18149:17:134::1;::::0;::::1;::::0;::::1;18134:32;18130:56;;;18175:11;;;;;;;;;;;;;;18130:56;18350:37;18373:5;:12;18350:15;:37::i;:::-;18338:49;;:9;:49;;;18334:77;;;18396:15;;;;;;;;;;;;;;18334:77;18801:7;18786:5;:12;:22;18782:50;;;18817:15;;;;;;;;;;;;;;18782:50;18938:10;18976:9;18962:23:::0;::::1;18958:108;;-1:-1:-1::0;19044:10:134::1;741:42:237::0;1213:27;18958:108:134::1;19323:23;19366:9;19377:6;19385:9;19396:11;19409:5;19349:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19323:92;;1821:1;19589:3;19562:60;;19583:4;19562:60;;;19611:10;19562:60;;;;;;:::i;:::-;;;;;;;;17995:1634;;3642:29:137::0;3651:7;3660:10;3642:8;:29::i;:::-;3433:245;17774:1855:134;;;;;;:::o;5757:101::-;5798:7;5824:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5817:34;;5757:101;:::o;8288:3825::-;4414:8;:6;:8::i;:::-;4410:33;;;4431:12;;;;;;;;;;;;;;4410:33;8820:4:::1;8798:27;;:3;:10;;;:27;;::::0;8790:103:::1;;;::::0;::::1;::::0;;10435:2:357;8790:103:134::1;::::0;::::1;10417:21:357::0;10474:2;10454:18;;;10447:30;10513:34;10493:18;;;10486:62;10584:33;10564:18;;;10557:61;10635:19;;8790:103:134::1;;;;;;;;;9091:8;::::0;:36:::1;::::0;;;;::::1;::::0;::::1;10811:25:357::0;;;9070:18:134::1;::::0;9091:8:::1;;::::0;:20:::1;::::0;10784:18:357;;9091:36:134::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47:::0;;-1:-1:-1;9272:45:134::1;;;::::0;;::::1;::::0;::::1;9300:16:::0;9272:45:::1;:::i;:::-;:27;:45::i;:::-;9258:10;:59;9237:135;;;::::0;::::1;::::0;;12521:2:357;9237:135:134::1;::::0;::::1;12503:21:357::0;12560:2;12540:18;;;12533:30;12599:34;12579:18;;;12572:62;12670:11;12650:18;;;12643:39;12699:19;;9237:135:134::1;12319:405:357::0;9237:135:134::1;9483:22;9508:27;9531:3;9508:22;:27::i;:::-;9545:40;9588:33:::0;;;:17:::1;:33;::::0;;;;;;;;9545:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;9483:52;;-1:-1:-1;9545:76:134;10175:31;;:145:::1;;-1:-1:-1::0;10293:27:134;;10226:8:::1;::::0;10247:30:::1;::::0;;::::1;::::0;10226:52;;;;;12905:34:357;12893:47;;;10226:52:134::1;::::0;::::1;12875:66:357::0;10226:8:134::1;::::0;;::::1;::::0;:20:::1;::::0;12848:18:357;;10226:52:134::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63:::0;:94:::1;;10175:145;10154:247;;;::::0;::::1;::::0;;13154:2:357;10154:247:134::1;::::0;::::1;13136:21:357::0;13193:2;13173:18;;;13166:30;13232:34;13212:18;;;13205:62;13303:25;13283:18;;;13276:53;13346:19;;10154:247:134::1;12952:419:357::0;10154:247:134::1;10681:147;::::0;;::::1;::::0;::::1;13550:25:357::0;;;10637:18:134::1;13591::357::0;;;13584:34;;;13523:18;;10681:147:134::1;::::0;;;;;::::1;::::0;;;;;;10658:180;;10681:147:::1;10658:180:::0;;::::1;::::0;11253:22;;::::1;10811:25:357::0;;;10658:180:134;-1:-1:-1;11191:240:134::1;::::0;10784:18:357;11253:22:134::1;::::0;;;;;::::1;::::0;;;11191:240;;::::1;::::0;;;::::1;::::0;;::::1;11253:22;11191:240:::0;::::1;::::0;11253:22;11191:240:::1;11334:16:::0;;11191:240:::1;:::i;:::-;11375:16;:41;;;11191:37;:240::i;:::-;11170:337;;;::::0;::::1;::::0;;14952:2:357;11170:337:134::1;::::0;::::1;14934:21:357::0;14991:2;14971:18;;;14964:30;15030:34;15010:18;;;15003:62;15101:20;15081:18;;;15074:48;15139:19;;11170:337:134::1;14750:414:357::0;11170:337:134::1;11825:165;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;11911:15;11825:165:::0;::::1;;::::0;;::::1;::::0;;;;;::::1;::::0;;;;;;-1:-1:-1;11789:33:134;;;:17:::1;:33:::0;;;;;:201;;;;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;12095:10;;::::1;::::0;12083;;::::1;::::0;12050:56;;::::1;::::0;;::::1;::::0;;;::::1;::::0;11807:14;;12050:56:::1;::::0;-1:-1:-1;12050:56:134::1;8553:3560;;;;8288:3825:::0;;;;;:::o;5981:105::-;6020:12;6054:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;19926:180::-;20052:8;;:36;;;;;;;;10811:25:357;;;20000:4:134;;20023:76;;20052:8;;;;;:20;;10784:18:357;;20052:36:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;;20023:76;;:28;:76::i;:::-;20016:83;19926:180;-1:-1:-1;;19926:180:134:o;7422:77::-;:::o;12226:4818::-;4414:8;:6;:8::i;:::-;4410:33;;;4431:12;;;;;;;;;;;;;;4410:33;12594:8:::1;::::0;:39:::1;:8;1338:42:192;12594:39:134;12573:137;;;::::0;::::1;::::0;;15621:2:357;12573:137:134::1;::::0;::::1;15603:21:357::0;15660:2;15640:18;;;15633:30;15699:34;15679:18;;;15672:62;15770:33;15750:18;;;15743:61;15821:19;;12573:137:134::1;15419:427:357::0;12573:137:134::1;12793:22;12818:27;12841:3;12818:22;:27::i;:::-;12855:40;12898:33:::0;;;:17:::1;:33;::::0;;;;;;;12855:76;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;;;;;;12793:52;;-1:-1:-1;13181:31:134;;13173:94:::1;;;::::0;::::1;::::0;;16053:2:357;13173:94:134::1;::::0;::::1;16035:21:357::0;16092:2;16072:18;;;16065:30;16131:34;16111:18;;;16104:62;16202:20;16182:18;;;16175:48;16240:19;;13173:94:134::1;15851:414:357::0;13173:94:134::1;13584:8;;;;;;;;;;;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13554:16;:26;;;:58;;;;13533:180;;;::::0;::::1;::::0;;16661:2:357;13533:180:134::1;::::0;::::1;16643:21:357::0;16700:2;16680:18;;;16673:30;16739:34;16719:18;;;16712:62;16810:34;16790:18;;;16783:62;16882:13;16861:19;;;16854:42;16913:19;;13533:180:134::1;16459:479:357::0;13533:180:134::1;14103:56;14132:16;:26;;;14103:56;;:28;:56::i;:::-;14082:172;;;::::0;::::1;::::0;;17145:2:357;14082:172:134::1;::::0;::::1;17127:21:357::0;17184:2;17164:18;;;17157:30;17223:34;17203:18;;;17196:62;17294:34;17274:18;;;17267:62;17366:7;17345:19;;;17338:36;17391:19;;14082:172:134::1;16943:473:357::0;14082:172:134::1;14464:8;::::0;14485:30:::1;::::0;;::::1;::::0;14464:52;;;;;12905:34:357;12893:47;;;14464:52:134::1;::::0;::::1;12875:66:357::0;14425:36:134::1;::::0;14464:8:::1;;::::0;:20:::1;::::0;12848:18:357;;14464:52:134::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14827:27:::0;;14804:19;;14425:91;;-1:-1:-1;14804:50:134::1;14783:170;;;::::0;::::1;::::0;;17623:2:357;14783:170:134::1;::::0;::::1;17605:21:357::0;17662:2;17642:18;;;17635:30;17701:34;17681:18;;;17674:62;17772:34;17752:18;;;17745:62;17844:11;17823:19;;;17816:40;17873:19;;14783:170:134::1;17421:477:357::0;14783:170:134::1;15052:48;15081:8;:18;;;15052:48;;:28;:48::i;:::-;15031:162;;;::::0;::::1;::::0;;18105:2:357;15031:162:134::1;::::0;::::1;18087:21:357::0;18144:2;18124:18;;;18117:30;18183:34;18163:18;;;18156:62;18254:34;18234:18;;;18227:62;18326:5;18305:19;;;18298:34;18349:19;;15031:162:134::1;17903:471:357::0;15031:162:134::1;15309:36;::::0;;;:20:::1;:36;::::0;;;;;::::1;;:45;15301:111;;;::::0;::::1;::::0;;18581:2:357;15301:111:134::1;::::0;::::1;18563:21:357::0;18620:2;18600:18;;;18593:30;18659:34;18639:18;;;18632:62;18730:23;18710:18;;;18703:51;18771:19;;15301:111:134::1;18379:417:357::0;15301:111:134::1;15492:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;15531:4;15492:43;::::0;;15640:10;;::::1;::::0;15629:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;16309:10;::::1;::::0;16321:12:::1;::::0;::::1;::::0;16335:9:::1;::::0;::::1;::::0;16346:8:::1;::::0;::::1;::::0;16285:70:::1;::::0;16309:10;16321:12;16335:9;16285:23:::1;:70::i;:::-;16423:8;:38:::0;;;::::1;1338:42:192;16423:38:134;::::0;;16620:44:::1;::::0;16270:85;;-1:-1:-1;16640:14:134;;16620:44:::1;::::0;::::1;::::0;16270:85;5228:14:357;5221:22;5203:41;;5191:2;5176:18;;5063:187;16620:44:134::1;;;;;;;;16928:16:::0;::::1;::::0;::::1;:61;;-1:-1:-1::0;16948:9:134::1;1016:1:192;16948:41:134;16928:61;16924:114;;;17012:15;;;;;;;;;;;;;;16924:114;12328:4716;;;;12226:4818:::0;:::o;6579:120::-;6644:6;6669:15;:10;6682:2;6669:15;:::i;:::-;:23;;6687:5;6669:23;:::i;5069:435::-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;19708:2:357;3146:190:43;;;19690:21:357;19747:2;19727:18;;;19720:30;19786:34;19766:18;;;19759:62;19857:16;19837:18;;;19830:44;19891:19;;3146:190:43;19506:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;5258:8:134::1;:20:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;5288:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;5326:16:::1;:36:::0;;;::::1;5258:20;5326:36:::0;;::::1;;;::::0;;5376:8:::1;::::0;::::1;5372:91;;5414:8;:38:::0;;;::::1;1338:42:192;5414:38:134;::::0;;5372:91:::1;5472:25;:23;:25::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;20073:36:357;;3531:14:43;;20061:2:357;20046:18;3531:14:43;;;;;;;3457:99;3090:472;5069:435:134;;;:::o;1175:320:59:-;1465:19;;;:23;;;1175:320::o;3911:3974:137:-;4078:6;:19;4043:17;;4063:34;;4078:19;;;;;4063:12;:34;:::i;:::-;4043:54;;4108:28;4139:17;:15;:17::i;:::-;4108:48;;4166:26;4265:6;:27;;;4257:36;;4222:6;:23;;;4214:32;;4207:87;;;;:::i;:::-;4166:128;-1:-1:-1;4309:13:137;;4305:2229;;4666:6;:20;4629:19;;4651:59;;4691:19;;4666:20;;;;;4651:59;:::i;:::-;4629:81;;4724:19;4855:6;:34;;;4847:43;;4818:19;:73;;;;:::i;:::-;4762:6;:18;4747:50;;4785:12;;4762:18;;4747:50;:::i;:::-;4746:146;;;;:::i;:::-;5111:6;:18;4724:168;;-1:-1:-1;5033:17:137;;5053:232;;5096:50;;4724:168;;5111:18;;5096:50;:::i;:::-;5185:6;:21;;;5177:30;;5247:6;:21;;;5239:30;;5053:16;:232::i;:::-;5033:252;;5562:1;5550:9;:13;5546:741;;;5835:437;5882:239;5939:10;6004:6;:34;;;5996:43;;6096:1;6084:9;:13;;;;:::i;:::-;5882:16;:239::i;5835:437::-;5822:450;;5546:741;6380:49;;6481:42;6443:24;6510:12;6481:42;;;6380:6;6481:42;-1:-1:-1;;4305:2229:137;6628:6;:31;;6652:7;;6628:6;:20;;:31;;6652:7;;6628:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6728:6;:23;;;6720:32;;6688:6;:20;;;;;;;;;;;;6680:29;;6673:80;6669:128;;;6776:10;;;;;;;;;;;;;;6669:128;6908:6;:18;6858:20;;6881:46;;6908:18;;6881:16;;;:46;:::i;:::-;6858:69;;7409:15;7442:31;7451:13;7466:6;7442:8;:31::i;:::-;7427:46;;:12;:46;:::i;:::-;7409:64;;7753:15;7785:9;7771:23;;:11;:23;:::i;:::-;7753:41;;7818:7;7808;:17;7804:75;;;7841:27;7850:17;7860:7;7850;:17;:::i;:::-;7841:8;:27::i;:::-;3975:3910;;;;;;3911:3974;;:::o;4961:384:196:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;22747:25:357;;;22803:2;22788:18;;22781:34;;;;22846:2;22831:18;;22824:34;22889:2;22874:18;;22867:34;22734:3;22719:19;;22516:391;5109:219:196;;;;;;;;;;;;;5086:252;;;;;;5079:259;;4961:384;;;:::o;4456:211::-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;1041:343:206:-;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:206:o;20359:180:134:-;20494:8;;:38;;;;;;;;20440:4;;20494:8;;;:36;;:38;;;;;;;;;;;;;;:8;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20481:51;;:10;:51;:::i;:::-;20463:15;:69;;20359:180;-1:-1:-1;;20359:180:134:o;4419:2320:200:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:200:o;8340:234:137:-;4888:13:43;;;;;;;4880:69;;;;;;;23908:2:357;4880:69:43;;;23890:21:357;23947:2;23927:18;;;23920:30;23986:34;23966:18;;;23959:62;24057:13;24037:18;;;24030:41;24088:19;;4880:69:43;23706:407:357;4880:69:43;8415:6:137::1;:19:::0;;;::::1;;;;:24:::0;8411:157:::1;;8464:93;::::0;;::::1;::::0;::::1;::::0;;8494:6:::1;8464:93:::0;;;-1:-1:-1;8464:93:137::1;::::0;::::1;::::0;8541:12:::1;8464:93;;::::0;;;;;;;8455:102;::::1;;:6;:102:::0;8340:234::o;7748:152:134:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7864:12:134;;:29;;;;;;;-1:-1:-1;;7864:12:134;;;;;:27;;:29;;;;;-1:-1:-1;;7864:29:134;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:189:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:69:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:69;;490:21;-1:-1:-1;413:105:69:o;407:192:190:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;2052:142:206:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;25677:19:357;;25721:2;25712:12;;25548:182;2154:33:206;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:205:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:191;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:205;2473:54;2253:281;-1:-1:-1;;;;;2253:281:205:o;3615:365:200:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:200:o;311:102:71:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:106;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:205:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;25937:2:357;2954:49:205;;;25919:21:357;25976:2;25956:18;;;25949:30;26015:23;25995:18;;;25988:51;26056:18;;2954:49:205;25735:345:357;2954:49:205;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;25677:19:357;;25721:2;25712:12;;25548:182;3148:23:205;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;26476:2:357;3489:88:205;;;26458:21:357;26515:2;26495:18;;;26488:30;26554:34;26534:18;;;26527:62;26625:16;26605:18;;;26598:44;26659:19;;3489:88:205;26274:410:357;3489:88:205;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;25677:19:357;;;25721:2;25712:12;;25548:182;3741:48:205;;;;;;;;;;;;;3791:13;6693:17:191;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:205;3700:176;;;;;;;26891:2:357;3700:176:205;;;26873:21:357;26930:2;26910:18;;;26903:30;26969:31;26949:18;;;26942:59;27018:18;;3700:176:205;26689:353:357;3700:176:205;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:205;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;25677:19:357;;;25721:2;25712:12;;25548:182;4058:76:205;4029:186;;;;;;;27249:2:357;4029:186:205;;;27231:21:357;27288:2;27268:18;;;27261:30;27327:34;27307:18;;;27300:62;27398:9;27378:18;;;27371:37;27425:19;;4029:186:205;27047:403:357;3897:532:205;4336:19;;6693:17:191;;;;;;;;;;6672;;;;;;;:38;4316:98:205;;;;;;;27657:2:357;4316:98:205;;;27639:21:357;27696:2;27676:18;;;27669:30;27735:34;27715:18;;;27708:62;27806:8;27786:18;;;27779:36;27832:19;;4316:98:205;27455:402:357;4316:98:205;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;28064:2:357;5121:89:205;;;28046:21:357;28103:2;28083:18;;;28076:30;28142:34;28122:18;;;28115:62;28213:29;28193:18;;;28186:57;28260:19;;5121:89:205;27862:423:357;5121:89:205;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;28492:2:357;5294:92:205;;;28474:21:357;28531:2;28511:18;;;28504:30;28570:34;28550:18;;;28543:62;28641:28;28621:18;;;28614:56;28687:19;;5294:92:205;28290:422:357;5294:92:205;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:205;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:205;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;29281:2:357;6608:171:205;;;29263:21:357;29320:2;29300:18;;;29293:30;29359:34;29339:18;;;29332:62;29430:28;29410:18;;;29403:56;29476:19;;6608:171:205;29079:422:357;6608:171:205;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:205;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;29708:2:357;7442:185:205;;;29690:21:357;29747:2;29727:18;;;29720:30;29786:34;29766:18;;;29759:62;29857:31;29837:18;;;29830:59;29906:19;;7442:185:205;29506:425:357;7442:185:205;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;30138:2:357;8050:87:205;;;30120:21:357;30177:2;30157:18;;;30150:30;30216:34;30196:18;;;30189:62;30287:27;30267:18;;;30260:55;30332:19;;8050:87:205;29936:421:357;8050:87:205;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;30564:2:357;8221:90:205;;;30546:21:357;30603:2;30583:18;;;30576:30;30642:34;30622:18;;;30615:62;30713:26;30693:18;;;30686:54;30757:19;;8221:90:205;30362:420:357;8221:90:205;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:205;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:205;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;30989:2:357;8888:60:205;;;30971:21:357;31028:2;31008:18;;;31001:30;31067:34;31047:18;;;31040:62;31138:20;31118:18;;;31111:48;31176:19;;8888:60:205;30787:414:357;8372:595:205;5946:3035;;;;;;5881:3189;;;9005:50;;;;;31408:2:357;9005:50:205;;;31390:21:357;31447:2;31427:18;;;31420:30;31486:34;31466:18;;;31459:62;31557:10;31537:18;;;31530:38;31585:19;;9005:50:205;31206:404:357;5881:3189:205;-1:-1:-1;3328:3:205;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:205;;;;;31817:2:357;9090:47:205;;;31799:21:357;31856:2;31836:18;;;31829:30;31895:34;31875:18;;;31868:62;31966:7;31946:18;;;31939:35;31991:19;;9090:47:205;31615:401:357;4596:2947:106;4644:8;4700:1;4696;:5;4688:27;;;;;;;32223:2:357;4688:27:106;;;32205:21:357;32262:1;32242:18;;;32235:29;32300:11;32280:18;;;32273:39;32329:18;;4688:27:106;32021:332:357;4688:27:106;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:106:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:106;;1487:3103;-1:-1:-1;1487:3103:106:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;32560:2:357;1971:22:106;;;32542:21:357;32599:2;32579:18;;;32572:30;32638:14;32618:18;;;32611:42;32670:18;;1971:22:106;32358:336:357;1939:54:106;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:106;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:106:o;9434:390:205:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:205;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:191:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:191;5695:12;5647:622;;;-1:-1:-1;6295:8:191;;4332:1978;-1:-1:-1;;;;;4332:1978:191:o;3993:464:203:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:203;-1:-1:-1;4084:83:203;-1:-1:-1;4198:21:203;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;33090:2:357;4178:103:203;;;33072:21:357;33129:2;33109:18;;;33102:30;33168:34;33148:18;;;33141:62;33239:27;33219:18;;;33212:55;33284:19;;4178:103:203;32888:421:357;4178:103:203;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;33516:2:357;4292:102:203;;;33498:21:357;33555:2;33535:18;;;33528:30;33594:34;33574:18;;;33567:62;33665:22;33645:18;;;33638:50;33705:19;;4292:102:203;33314:416:357;4292:102:203;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:205:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:191:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:191;;;;;;;;;-1:-1:-1;3954:9:191;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:205:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:106:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;32223:2:357;15397:27:106;;;32205:21:357;32262:1;32242:18;;;32235:29;32300:11;32280:18;;;32273:39;32329:18;;15397:27:106;32021:332:357;15397:27:106;-1:-1:-1;15821:1:106;15473:34;-1:-1:-1;;15467:1:106;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:106;;15328:575::o;3732:130:203:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;33937:2:357;5684:101:203;;;33919:21:357;33976:2;33956:18;;;33949:30;34015:34;33995:18;;;33988:62;34086:34;34066:18;;;34059:62;34158:12;34137:19;;;34130:41;34188:19;;5684:101:203;33735:478:357;5684:101:203;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;34420:2:357;6209:140:203;;;34402:21:357;34459:2;34439:18;;;34432:30;34498:34;34478:18;;;34471:62;34569:34;34549:18;;;34542:62;34641:16;34620:19;;;34613:45;34675:19;;6209:140:203;34218:482:357;6209:140:203;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:203;;;;;;6544:41;6519:177;;;;;;;34907:2:357;6519:177:203;;;34889:21:357;34946:2;34926:18;;;34919:30;34985:34;34965:18;;;34958:62;35056:34;35036:18;;;35029:62;35128:15;35107:19;;;35100:44;35161:19;;6519:177:203;34705:481:357;6519:177:203;-1:-1:-1;6719:1:203;;-1:-1:-1;6722:6:203;-1:-1:-1;6730:21:203;;-1:-1:-1;6711:41:203;;-1:-1:-1;;6711:41:203;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;35393:2:357;6881:164:203;;;35375:21:357;35432:2;35412:18;;;35405:30;35471:34;35451:18;;;35444:62;35542:34;35522:18;;;35515:62;35614:19;35593;;;35586:48;35651:19;;6881:164:203;35191:485:357;6881:164:203;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;35883:2:357;7215:143:203;;;35865:21:357;35922:2;35902:18;;;35895:30;35961:34;35941:18;;;35934:62;36032:34;36012:18;;;36005:62;36104:12;36083:19;;;36076:41;36134:19;;7215:143:203;35681:478:357;7215:143:203;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;36366:2:357;7520:96:203;;;36348:21:357;36405:2;36385:18;;;36378:30;36444:34;36424:18;;;36417:62;36515:34;36495:18;;;36488:62;36587:10;36566:19;;;36559:39;36615:19;;7520:96:203;36164:476:357;7520:96:203;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;36847:2:357;7631:168:203;;;36829:21:357;36886:2;36866:18;;;36859:30;36925:34;36905:18;;;36898:62;36996:34;36976:18;;;36969:62;37068:14;37047:19;;;37040:43;37100:19;;7631:168:203;36645:480:357;7631:168:203;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:203;-1:-1:-1;7847:21:203;;-1:-1:-1;7814:55:203;;-1:-1:-1;;;;7814:55:203;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;37332:2:357;8049:107:203;;;37314:21:357;37371:2;37351:18;;;37344:30;37410:34;37390:18;;;37383:62;37481:34;37461:18;;;37454:62;37553:12;37532:19;;;37525:41;37583:19;;8049:107:203;37130:478:357;8049:107:203;8179:1;;-1:-1:-1;8182:7:203;-1:-1:-1;8179:1:203;;-1:-1:-1;8171:42:203;;-1:-1:-1;;8171:42:203;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;37815:2:357;8321:161:203;;;37797:21:357;37854:2;37834:18;;;37827:30;37893:34;37873:18;;;37866:62;37964:34;37944:18;;;37937:62;38036:15;38015:19;;;38008:44;38069:19;;8321:161:203;37613:481:357;8321:161:203;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;38301:2:357;8652:141:203;;;38283:21:357;38340:2;38320:18;;;38313:30;38379:34;38359:18;;;38352:62;38450:34;38430:18;;;38423:62;38522:10;38501:19;;;38494:39;38550:19;;8652:141:203;38099:476:357;8652:141:203;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;38782:2:357;8958:95:203;;;38764:21:357;38821:2;38801:18;;;38794:30;38860:34;38840:18;;;38833:62;38931:34;38911:18;;;38904:62;39003:8;38982:19;;;38975:37;39029:19;;8958:95:203;38580:474:357;8958:95:203;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;39261:2:357;9068:168:203;;;39243:21:357;39300:2;39280:18;;;39273:30;39339:34;39319:18;;;39312:62;39410:34;39390:18;;;39383:62;39482:12;39461:19;;;39454:41;39512:19;;9068:168:203;39059:478:357;9068:168:203;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:203;-1:-1:-1;9286:21:203;;-1:-1:-1;9251:57:203;;-1:-1:-1;;;;9251:57:203;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:203;-1:-1:-1;9705:25:203;-1:-1:-1;9740:54:203;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:191:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;39744:2:357;800:50:191;;;39726:21:357;39783:2;39763:18;;;39756:30;39822:16;39802:18;;;39795:44;39856:18;;800:50:191;39542:338:357;800:50:191;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;39744:2:357;864:53:191;;;39726:21:357;39783:2;39763:18;;;39756:30;39822:16;39802:18;;;39795:44;39856:18;;864:53:191;39542:338:357;864:53:191;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;40087:2:357;931:63:191;;;40069:21:357;40126:2;40106:18;;;40099:30;40165:19;40145:18;;;40138:47;40202:18;;931:63:191;39885:341:357;931:63:191;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:191;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:191;-1:-1:-1;3460:9:191;660:2816;-1:-1:-1;;;;660:2816:191:o;1298:390:203:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:203;1440:3;:10;:14;1432:101;;;;;;;33937:2:357;1432:101:203;;;33919:21:357;33976:2;33956:18;;;33949:30;34015:34;33995:18;;;33988:62;34086:34;34066:18;;;34059:62;34158:12;34137:19;;;34130:41;34188:19;;1432:101:203;33735:478:357;1432:101:203;-1:-1:-1;1640:41:203;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:203;-1:-1:-1;1934:83:203;-1:-1:-1;2048:21:203;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;40433:2:357;2028:102:203;;;40415:21:357;40472:2;40452:18;;;40445:30;40511:34;40491:18;;;40484:62;40582:26;40562:18;;;40555:54;40626:19;;2028:102:203;40231:420:357;2028:102:203;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;40858:2:357;2141:100:203;;;40840:21:357;40897:2;40877:18;;;40870:30;40936:34;40916:18;;;40909:62;41007:20;40987:18;;;40980:48;41045:19;;2141:100:203;40656:414:357;2141:100:203;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:203;;;;;;;;;;;;;;-1:-1:-1;2644:37:203;-1:-1:-1;2692:17:203;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:203;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:203;;-1:-1:-1;3548:4:203;;1840:1740;-1:-1:-1;;;1840:1740:203:o;755:184:357:-;807:77;804:1;797:88;904:4;901:1;894:15;928:4;925:1;918:15;944:334;1015:2;1009:9;1071:2;1061:13;;1076:66;1057:86;1045:99;;1174:18;1159:34;;1195:22;;;1156:62;1153:88;;;1221:18;;:::i;:::-;1257:2;1250:22;944:334;;-1:-1:-1;944:334:357:o;1283:154::-;1369:42;1362:5;1358:54;1351:5;1348:65;1338:93;;1427:1;1424;1417:12;1338:93;1283:154;:::o;1442:589::-;1484:5;1537:3;1530:4;1522:6;1518:17;1514:27;1504:55;;1555:1;1552;1545:12;1504:55;1591:6;1578:20;1617:18;1613:2;1610:26;1607:52;;;1639:18;;:::i;:::-;1683:114;1791:4;1722:66;1715:4;1711:2;1707:13;1703:86;1699:97;1683:114;:::i;:::-;1822:2;1813:7;1806:19;1868:3;1861:4;1856:2;1848:6;1844:15;1840:26;1837:35;1834:55;;;1885:1;1882;1875:12;1834:55;1950:2;1943:4;1935:6;1931:17;1924:4;1915:7;1911:18;1898:55;1998:1;1973:16;;;1991:4;1969:27;1962:38;;;;1977:7;1442:589;-1:-1:-1;;;1442:589:357:o;2036:1032::-;2104:5;2152:4;2140:9;2135:3;2131:19;2127:30;2124:50;;;2170:1;2167;2160:12;2124:50;2203:2;2197:9;2245:4;2237:6;2233:17;2269:18;2337:6;2325:10;2322:22;2317:2;2305:10;2302:18;2299:46;2296:72;;;2348:18;;:::i;:::-;2388:10;2384:2;2377:22;2417:6;2408:15;;2460:9;2447:23;2439:6;2432:39;2523:2;2512:9;2508:18;2495:32;2480:47;;2536:33;2561:7;2536:33;:::i;:::-;2602:7;2597:2;2589:6;2585:15;2578:32;2662:2;2651:9;2647:18;2634:32;2619:47;;2675:33;2700:7;2675:33;:::i;:::-;2741:7;2736:2;2728:6;2724:15;2717:32;2810:2;2799:9;2795:18;2782:32;2777:2;2769:6;2765:15;2758:57;2877:3;2866:9;2862:19;2849:33;2843:3;2835:6;2831:16;2824:59;2934:3;2923:9;2919:19;2906:33;2892:47;;2962:2;2954:6;2951:14;2948:34;;;2978:1;2975;2968:12;2948:34;;3016:45;3057:3;3048:6;3037:9;3033:22;3016:45;:::i;:::-;3010:3;3002:6;2998:16;2991:71;;;2036:1032;;;;:::o;3073:1175::-;3275:6;3283;3291;3299;3307;3351:9;3342:7;3338:23;3381:3;3377:2;3373:12;3370:32;;;3398:1;3395;3388:12;3370:32;3438:9;3425:23;3467:18;3508:2;3500:6;3497:14;3494:34;;;3524:1;3521;3514:12;3494:34;3547:72;3611:7;3602:6;3591:9;3587:22;3547:72;:::i;:::-;3537:82;;3666:2;3655:9;3651:18;3638:32;3628:42;;3763:3;3694:66;3690:2;3686:75;3682:85;3679:105;;;3780:1;3777;3770:12;3679:105;3818:2;3807:9;3803:18;3793:28;;3874:3;3863:9;3859:19;3846:33;3830:49;;3904:2;3894:8;3891:16;3888:36;;;3920:1;3917;3910:12;3888:36;3958:8;3947:9;3943:24;3933:34;;4005:7;3998:4;3994:2;3990:13;3986:27;3976:55;;4027:1;4024;4017:12;3976:55;4067:2;4054:16;4040:30;;4093:2;4085:6;4082:14;4079:34;;;4109:1;4106;4099:12;4079:34;;4162:7;4157:2;4147:6;4144:1;4140:14;4136:2;4132:23;4128:32;4125:45;4122:65;;;4183:1;4180;4173:12;4122:65;3073:1175;;;;-1:-1:-1;3073:1175:357;;-1:-1:-1;;;4214:2:357;4206:11;;4236:6;3073:1175::o;4253:258::-;4325:1;4335:113;4349:6;4346:1;4343:13;4335:113;;;4425:11;;;4419:18;4406:11;;;4399:39;4371:2;4364:10;4335:113;;;4466:6;4463:1;4460:13;4457:48;;;-1:-1:-1;;4501:1:357;4483:16;;4476:27;4253:258::o;4516:317::-;4558:3;4596:5;4590:12;4623:6;4618:3;4611:19;4639:63;4695:6;4688:4;4683:3;4679:14;4672:4;4665:5;4661:16;4639:63;:::i;:::-;4747:2;4735:15;4752:66;4731:88;4722:98;;;;4822:4;4718:109;;4516:317;-1:-1:-1;;4516:317:357:o;4838:220::-;4987:2;4976:9;4969:21;4950:4;5007:45;5048:2;5037:9;5033:18;5025:6;5007:45;:::i;5255:180::-;5314:6;5367:2;5355:9;5346:7;5342:23;5338:32;5335:52;;;5383:1;5380;5373:12;5335:52;-1:-1:-1;5406:23:357;;5255:180;-1:-1:-1;5255:180:357:o;5440:375::-;5540:6;5593:2;5581:9;5572:7;5568:23;5564:32;5561:52;;;5609:1;5606;5599:12;5561:52;5649:9;5636:23;5682:18;5674:6;5671:30;5668:50;;;5714:1;5711;5704:12;5668:50;5737:72;5801:7;5792:6;5781:9;5777:22;5737:72;:::i;:::-;5727:82;5440:375;-1:-1:-1;;;;5440:375:357:o;6260:171::-;6327:20;;6387:18;6376:30;;6366:41;;6356:69;;6421:1;6418;6411:12;6356:69;6260:171;;;:::o;6436:184::-;6494:6;6547:2;6535:9;6526:7;6522:23;6518:32;6515:52;;;6563:1;6560;6553:12;6515:52;6586:28;6604:9;6586:28;:::i;6830:601::-;6979:6;6987;6995;7048:2;7036:9;7027:7;7023:23;7019:32;7016:52;;;7064:1;7061;7054:12;7016:52;7103:9;7090:23;7122:31;7147:5;7122:31;:::i;:::-;7172:5;-1:-1:-1;7229:2:357;7214:18;;7201:32;7242:33;7201:32;7242:33;:::i;:::-;7294:7;-1:-1:-1;7353:2:357;7338:18;;7325:32;7366:33;7325:32;7366:33;:::i;:::-;7418:7;7408:17;;;6830:601;;;;;:::o;8247:118::-;8333:5;8326:13;8319:21;8312:5;8309:32;8299:60;;8355:1;8352;8345:12;8370:732;8470:6;8478;8486;8494;8502;8555:3;8543:9;8534:7;8530:23;8526:33;8523:53;;;8572:1;8569;8562:12;8523:53;8611:9;8598:23;8630:31;8655:5;8630:31;:::i;:::-;8680:5;-1:-1:-1;8732:2:357;8717:18;;8704:32;;-1:-1:-1;8755:37:357;8788:2;8773:18;;8755:37;:::i;:::-;8745:47;;8844:2;8833:9;8829:18;8816:32;8857:30;8879:7;8857:30;:::i;:::-;8906:7;-1:-1:-1;8964:3:357;8949:19;;8936:33;8992:18;8981:30;;8978:50;;;9024:1;9021;9014:12;8978:50;9047:49;9088:7;9079:6;9068:9;9064:22;9047:49;:::i;:::-;9037:59;;;8370:732;;;;;;;;:::o;9107:642::-;9370:6;9365:3;9358:19;9407:6;9402:2;9397:3;9393:12;9386:28;9466:66;9457:6;9452:3;9448:16;9444:89;9439:2;9434:3;9430:12;9423:111;9587:6;9580:14;9573:22;9568:3;9564:32;9559:2;9554:3;9550:12;9543:54;9340:3;9626:6;9620:13;9642:60;9695:6;9690:2;9685:3;9681:12;9676:2;9668:6;9664:15;9642:60;:::i;:::-;9722:16;;;;9740:2;9718:25;;9107:642;-1:-1:-1;;;;;;9107:642:357:o;9977:251::-;10047:6;10100:2;10088:9;10079:7;10075:23;10071:32;10068:52;;;10116:1;10113;10106:12;10068:52;10148:9;10142:16;10167:31;10192:5;10167:31;:::i;10847:192::-;10926:13;;10979:34;10968:46;;10958:57;;10948:85;;11029:1;11026;11019:12;11044:617;11148:6;11201:2;11189:9;11180:7;11176:23;11172:32;11169:52;;;11217:1;11214;11207:12;11169:52;11250:2;11244:9;11292:2;11284:6;11280:15;11361:6;11349:10;11346:22;11325:18;11313:10;11310:34;11307:62;11304:88;;;11372:18;;:::i;:::-;11408:2;11401:22;11447:16;;11432:32;;11497:49;11542:2;11527:18;;11497:49;:::i;:::-;11492:2;11484:6;11480:15;11473:74;11580:49;11625:2;11614:9;11610:18;11580:49;:::i;:::-;11575:2;11563:15;;11556:74;11567:6;11044:617;-1:-1:-1;;;11044:617:357:o;11666:648::-;11760:6;11813:3;11801:9;11792:7;11788:23;11784:33;11781:53;;;11830:1;11827;11820:12;11781:53;11863:2;11857:9;11905:3;11897:6;11893:16;11975:6;11963:10;11960:22;11939:18;11927:10;11924:34;11921:62;11918:88;;;11986:18;;:::i;:::-;12026:10;12022:2;12015:22;;12074:9;12061:23;12053:6;12046:39;12146:2;12135:9;12131:18;12118:32;12113:2;12105:6;12101:15;12094:57;12212:2;12201:9;12197:18;12184:32;12179:2;12171:6;12167:15;12160:57;12278:2;12267:9;12263:18;12250:32;12245:2;12237:6;12233:15;12226:57;12302:6;12292:16;;;11666:648;;;;:::o;13811:934::-;13947:9;13981:18;14022:2;14014:6;14011:14;14008:40;;;14028:18;;:::i;:::-;14074:6;14071:1;14067:14;14100:4;14124:28;14148:2;14144;14140:11;14124:28;:::i;:::-;14186:19;;;14256:14;;;;14221:12;;;;14293:14;14282:26;;14279:46;;;14321:1;14318;14311:12;14279:46;14345:5;14359:353;14375:6;14370:3;14367:15;14359:353;;;14461:3;14448:17;14497:2;14484:11;14481:19;14478:109;;;14541:1;14570:2;14566;14559:14;14478:109;14612:57;14654:14;14640:11;14633:5;14629:23;14612:57;:::i;:::-;14600:70;;-1:-1:-1;14690:12:357;;;;14392;;14359:353;;;-1:-1:-1;14734:5:357;13811:934;-1:-1:-1;;;;;;;13811:934:357:o;15169:245::-;15236:6;15289:2;15277:9;15268:7;15264:23;15260:32;15257:52;;;15305:1;15302;15295:12;15257:52;15337:9;15331:16;15356:28;15378:5;15356:28;:::i;16270:184::-;16340:6;16393:2;16381:9;16372:7;16368:23;16364:32;16361:52;;;16409:1;16406;16399:12;16361:52;-1:-1:-1;16432:16:357;;16270:184;-1:-1:-1;16270:184:357:o;18801:::-;18853:77;18850:1;18843:88;18950:4;18947:1;18940:15;18974:4;18971:1;18964:15;18990:270;19029:7;19061:18;19106:2;19103:1;19099:10;19136:2;19133:1;19129:10;19192:3;19188:2;19184:12;19179:3;19176:21;19169:3;19162:11;19155:19;19151:47;19148:73;;;19201:18;;:::i;:::-;19241:13;;18990:270;-1:-1:-1;;;;18990:270:357:o;19265:236::-;19304:3;19332:18;19377:2;19374:1;19370:10;19407:2;19404:1;19400:10;19438:3;19434:2;19430:12;19425:3;19422:21;19419:47;;;19446:18;;:::i;:::-;19482:13;;19265:236;-1:-1:-1;;;;19265:236:357:o;20120:125::-;20160:4;20188:1;20185;20182:8;20179:34;;;20193:18;;:::i;:::-;-1:-1:-1;20230:9:357;;20120:125::o;20250:184::-;20302:77;20299:1;20292:88;20399:4;20396:1;20389:15;20423:4;20420:1;20413:15;20439:308;20478:1;20504;20494:35;;20509:18;;:::i;:::-;20626:66;20623:1;20620:73;20551:66;20548:1;20545:73;20541:153;20538:179;;;20697:18;;:::i;:::-;-1:-1:-1;20731:10:357;;20439:308::o;20752:369::-;20791:4;20827:1;20824;20820:9;20936:1;20868:66;20864:74;20861:1;20857:82;20852:2;20845:10;20841:99;20838:125;;;20943:18;;:::i;:::-;21062:1;20994:66;20990:74;20987:1;20983:82;20979:2;20975:91;20972:117;;;21069:18;;:::i;:::-;-1:-1:-1;;21106:9:357;;20752:369::o;21126:655::-;21165:7;21197:66;21289:1;21286;21282:9;21317:1;21314;21310:9;21362:1;21358:2;21354:10;21351:1;21348:17;21343:2;21339;21335:11;21331:35;21328:61;;;21369:18;;:::i;:::-;21408:66;21500:1;21497;21493:9;21547:1;21543:2;21538:11;21535:1;21531:19;21526:2;21522;21518:11;21514:37;21511:63;;;21554:18;;:::i;:::-;21600:1;21597;21593:9;21583:19;;21647:1;21643:2;21638:11;21635:1;21631:19;21626:2;21622;21618:11;21614:37;21611:63;;;21654:18;;:::i;:::-;21719:1;21715:2;21710:11;21707:1;21703:19;21698:2;21694;21690:11;21686:37;21683:63;;;21726:18;;:::i;:::-;-1:-1:-1;;;21766:9:357;;;;;21126:655;-1:-1:-1;;;21126:655:357:o;21786:367::-;21825:3;21860:1;21857;21853:9;21969:1;21901:66;21897:74;21894:1;21890:82;21885:2;21878:10;21874:99;21871:125;;;21976:18;;:::i;:::-;22095:1;22027:66;22023:74;22020:1;22016:82;22012:2;22008:91;22005:117;;;22102:18;;:::i;:::-;-1:-1:-1;;22138:9:357;;21786:367::o;22158:228::-;22198:7;22324:1;22256:66;22252:74;22249:1;22246:81;22241:1;22234:9;22227:17;22223:105;22220:131;;;22331:18;;:::i;:::-;-1:-1:-1;22371:9:357;;22158:228::o;22391:120::-;22431:1;22457;22447:35;;22462:18;;:::i;:::-;-1:-1:-1;22496:9:357;;22391:120::o;22912:656::-;23199:6;23188:9;23181:25;23162:4;23225:42;23315:2;23307:6;23303:15;23298:2;23287:9;23283:18;23276:43;23367:2;23359:6;23355:15;23350:2;23339:9;23335:18;23328:43;;23407:6;23402:2;23391:9;23387:18;23380:34;23451:6;23445:3;23434:9;23430:19;23423:35;23495:3;23489;23478:9;23474:19;23467:32;23516:46;23557:3;23546:9;23542:19;23534:6;23516:46;:::i;:::-;23508:54;22912:656;-1:-1:-1;;;;;;;;22912:656:357:o;23573:128::-;23613:3;23644:1;23640:6;23637:1;23634:13;23631:39;;;23650:18;;:::i;:::-;-1:-1:-1;23686:9:357;;23573:128::o;24118:167::-;24196:13;;24249:10;24238:22;;24228:33;;24218:61;;24275:1;24272;24265:12;24290:160;24367:13;;24420:4;24409:16;;24399:27;;24389:55;;24440:1;24437;24430:12;24455:888;24558:6;24611:3;24599:9;24590:7;24586:23;24582:33;24579:53;;;24628:1;24625;24618:12;24579:53;24661:2;24655:9;24703:3;24695:6;24691:16;24773:6;24761:10;24758:22;24737:18;24725:10;24722:34;24719:62;24716:88;;;24784:18;;:::i;:::-;24820:2;24813:22;24859:39;24888:9;24859:39;:::i;:::-;24851:6;24844:55;24932:47;24975:2;24964:9;24960:18;24932:47;:::i;:::-;24927:2;24919:6;24915:15;24908:72;25013:47;25056:2;25045:9;25041:18;25013:47;:::i;:::-;25008:2;25000:6;24996:15;24989:72;25094:48;25138:2;25127:9;25123:18;25094:48;:::i;:::-;25089:2;25081:6;25077:15;25070:73;25177:49;25221:3;25210:9;25206:19;25177:49;:::i;:::-;25171:3;25163:6;25159:16;25152:75;25261:50;25306:3;25295:9;25291:19;25261:50;:::i;:::-;25255:3;25243:16;;25236:76;25247:6;24455:888;-1:-1:-1;;;24455:888:357:o;25348:195::-;25387:3;25418:66;25411:5;25408:77;25405:103;;25488:18;;:::i;:::-;-1:-1:-1;25535:1:357;25524:13;;25348:195::o;26085:184::-;26137:77;26134:1;26127:88;26234:4;26231:1;26224:15;26258:4;26255:1;26248:15;28717:157;28747:1;28781:4;28778:1;28774:12;28805:3;28795:37;;28812:18;;:::i;:::-;28864:3;28857:4;28854:1;28850:12;28846:22;28841:27;;;28717:157;;;;:::o;28879:195::-;28917:4;28954;28951:1;28947:12;28986:4;28983:1;28979:12;29011:3;29006;29003:12;29000:38;;;29018:18;;:::i;:::-;29055:13;;;28879:195;-1:-1:-1;;;28879:195:357:o;32699:184::-;32751:77;32748:1;32741:88;32848:4;32845:1;32838:15;32872:4;32869:1;32862:15",linkReferences:{}},methodIdentifiers:{"depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address)":"c0c53b8b","isOutputFinalized(uint256)":"6dbffb78","l2Oracle()":"9b5f694a","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","params()":"cff0ab96","paused()":"5c975abb","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32)":"e965084c","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BadTarget","type":"error"},{"inputs":[],"name":"CallPaused","type":"error"},{"inputs":[],"name":"GasEstimation","type":"error"},{"inputs":[],"name":"LargeCalldata","type":"error"},{"inputs":[],"name":"OutOfGas","type":"error"},{"inputs":[],"name":"SmallGasLimit","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract L2OutputOracle","name":"_l2Oracle","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"}],"name":"isOutputFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Oracle","outputs":[{"internalType":"contract L2OutputOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_l2OutputIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provenWithdrawals","outputs":[{"internalType":"bytes32","name":"outputRoot","type":"bytes32"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"uint128","name":"l2OutputIndex","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address)":{"params":{"_l2Oracle":"Contract of the L2OutputOracle.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{"params":{"_l2OutputIndex":"Index of the L2 output to check."},"returns":{"_0":"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"paused()":{"returns":{"paused_":"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_l2OutputIndex":"L2 output index to prove against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},"stateVariables":{"l2Oracle":{"custom:network-specific":""},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"2.6.0"}},"version":1},"userdoc":{"errors":{"BadTarget()":[{"notice":"Error for when a deposit or withdrawal is to a bad target."}],"CallPaused()":[{"notice":"Error for when a method cannot be called when paused. This could be renamed to `Paused` in the future, but it collides with the `Paused` event."}],"GasEstimation()":[{"notice":"Error for special gas estimation."}],"LargeCalldata()":[{"notice":"Error for when a deposit has too much calldata."}],"OutOfGas()":[{"notice":"Error returned when too much gas resource is consumed."}],"SmallGasLimit()":[{"notice":"Error for when a deposit has too small of a gas limit."}]},"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{"notice":"Initializer."},"isOutputFinalized(uint256)":{"notice":"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{"notice":"Contract of the L2OutputOracle."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{"notice":"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal.sol":"OptimismPortal"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/L2OutputOracle.sol":{"keccak256":"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42","license":"MIT","urls":["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"]},"src/L1/OptimismPortal.sol":{"keccak256":"0xf46a1158e86edcbb157d0b06a32db37867c0bc9d2aeeed6a8110547c7537201a","license":"MIT","urls":["bzz-raw://0aeb33d425db200953063e3576403b78c50e3a5e7b4f56ef4bead28919406ee2","dweb:/ipfs/QmUFb1rEQnCFrGRZQPHgFFWJQ48SR7wodiSFLgQKu8Jx6k"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/PortalErrors.sol":{"keccak256":"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558","license":"MIT","urls":["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"BadTarget"},{inputs:[],type:"error",name:"CallPaused"},{inputs:[],type:"error",name:"GasEstimation"},{inputs:[],type:"error",name:"LargeCalldata"},{inputs:[],type:"error",name:"OutOfGas"},{inputs:[],type:"error",name:"SmallGasLimit"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract L2OutputOracle",name:"_l2Oracle",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"}],stateMutability:"view",type:"function",name:"isOutputFinalized",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Oracle",outputs:[{internalType:"contract L2OutputOracle",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"paused_",type:"bool"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_l2OutputIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"bytes32",name:"outputRoot",type:"bytes32"},{internalType:"uint128",name:"timestamp",type:"uint128"},{internalType:"uint128",name:"l2OutputIndex",type:"uint128"}]},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},version:1},userdoc:{kind:"user",methods:{constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal.sol":"OptimismPortal"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/L2OutputOracle.sol":{keccak256:"0x342c5084f3c640c90530122bd78372c011d6162e698dd8c8daec9496fef01d42",urls:["bzz-raw://8700a3d486bd62cbb861ff80175b8040336940515791073af6a036db7c2df303","dweb:/ipfs/QmSGKTH84rVHWgMg4d6GQZCmCJ16KuUuTsMwPMDdJxCsww"],license:"MIT"},"src/L1/OptimismPortal.sol":{keccak256:"0xf46a1158e86edcbb157d0b06a32db37867c0bc9d2aeeed6a8110547c7537201a",urls:["bzz-raw://0aeb33d425db200953063e3576403b78c50e3a5e7b4f56ef4bead28919406ee2","dweb:/ipfs/QmUFb1rEQnCFrGRZQPHgFFWJQ48SR7wodiSFLgQKu8Jx6k"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/PortalErrors.sol":{keccak256:"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558",urls:["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:88262,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)88245_storage"},{astId:88267,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:86489,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:86494,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:86500,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"provenWithdrawals",offset:0,slot:"52",type:"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)86478_storage)"},{astId:86503,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:86507,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)88793"},{astId:86511,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2Oracle",offset:0,slot:"54",type:"t_contract(L2OutputOracle)86435"},{astId:86515,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)89607"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(L2OutputOracle)86435":{encoding:"inplace",label:"contract L2OutputOracle",numberOfBytes:"20"},"t_contract(SuperchainConfig)88793":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)89607":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_struct(ProvenWithdrawal)86478_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)86478_storage"},"t_struct(ProvenWithdrawal)86478_storage":{encoding:"inplace",label:"struct OptimismPortal.ProvenWithdrawal",numberOfBytes:"64",members:[{astId:86473,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"outputRoot",offset:0,slot:"0",type:"t_bytes32"},{astId:86475,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"timestamp",offset:0,slot:"1",type:"t_uint128"},{astId:86477,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"l2OutputIndex",offset:16,slot:"1",type:"t_uint128"}]},"t_struct(ResourceParams)88245_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:88240,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:88242,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:88244,contract:"src/L1/OptimismPortal.sol:OptimismPortal",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"}}},userdoc:{version:1,kind:"user",methods:{constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address)":{notice:"Initializer."},"isOutputFinalized(uint256)":{notice:"Determine if a given output is finalized. Reverts if the call to l2Oracle.getL2Output reverts. Returns a boolean otherwise."},"l2Oracle()":{notice:"Contract of the L2OutputOracle."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32)":{notice:"A mapping of withdrawal hashes to `ProvenWithdrawal` data."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},errors:{"BadTarget()":[{notice:"Error for when a deposit or withdrawal is to a bad target."}],"CallPaused()":[{notice:"Error for when a method cannot be called when paused. This could be renamed to `Paused` in the future, but it collides with the `Paused` event."}],"GasEstimation()":[{notice:"Error for special gas estimation."}],"LargeCalldata()":[{notice:"Error for when a deposit has too much calldata."}],"OutOfGas()":[{notice:"Error returned when too much gas resource is consumed."}],"SmallGasLimit()":[{notice:"Error for when a deposit has too small of a gas limit."}]},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address)":{params:{_l2Oracle:"Contract of the L2OutputOracle.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"isOutputFinalized(uint256)":{params:{_l2OutputIndex:"Index of the L2 output to check."},returns:{_0:"Whether or not the output is finalized."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"paused()":{returns:{paused_:"Whether or not the contract is paused."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_l2OutputIndex:"L2 output index to prove against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},ast:{absolutePath:"src/L1/OptimismPortal.sol",id:87105,exportedSymbols:{AddressAliasHelper:[111913],BadTarget:[103969],CallPaused:[103990],Constants:[103096],GasEstimation:[103993],Hashing:[103936],ISemver:[109417],Initializable:[49678],L2OutputOracle:[86435],LargeCalldata:[103972],NoValue:[103984],OnlyCustomGasToken:[103981],OptimismPortal:[87104],ResourceMetering:[88581],SafeCall:[104213],SecureMerkleTrie:[106033],SmallGasLimit:[103975],SuperchainConfig:[88793],SystemConfig:[89607],TransferFailed:[103978],Types:[104349],Unauthorized:[103987]},nodeType:"SourceUnit",src:"32:20510:134",nodes:[{id:86437,nodeType:"PragmaDirective",src:"32:23:134",nodes:[],literals:["solidity","0.8",".15"]},{id:86439,nodeType:"ImportDirective",src:"57:86:134",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol",file:"@openzeppelin/contracts/proxy/utils/Initializable.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:49679,symbolAliases:[{foreign:{id:86438,name:"Initializable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49678,src:"66:13:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86441,nodeType:"ImportDirective",src:"144:54:134",nodes:[],absolutePath:"src/libraries/SafeCall.sol",file:"src/libraries/SafeCall.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:104214,symbolAliases:[{foreign:{id:86440,name:"SafeCall",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104213,src:"153:8:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86443,nodeType:"ImportDirective",src:"199:59:134",nodes:[],absolutePath:"src/L1/L2OutputOracle.sol",file:"src/L1/L2OutputOracle.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:86436,symbolAliases:[{foreign:{id:86442,name:"L2OutputOracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86435,src:"208:14:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86445,nodeType:"ImportDirective",src:"259:55:134",nodes:[],absolutePath:"src/L1/SystemConfig.sol",file:"src/L1/SystemConfig.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:89608,symbolAliases:[{foreign:{id:86444,name:"SystemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89607,src:"268:12:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86447,nodeType:"ImportDirective",src:"315:63:134",nodes:[],absolutePath:"src/L1/SuperchainConfig.sol",file:"src/L1/SuperchainConfig.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:88794,symbolAliases:[{foreign:{id:86446,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"324:16:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86449,nodeType:"ImportDirective",src:"379:56:134",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:103097,symbolAliases:[{foreign:{id:86448,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"388:9:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86451,nodeType:"ImportDirective",src:"436:48:134",nodes:[],absolutePath:"src/libraries/Types.sol",file:"src/libraries/Types.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:104350,symbolAliases:[{foreign:{id:86450,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"445:5:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86453,nodeType:"ImportDirective",src:"485:52:134",nodes:[],absolutePath:"src/libraries/Hashing.sol",file:"src/libraries/Hashing.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:103937,symbolAliases:[{foreign:{id:86452,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"494:7:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86455,nodeType:"ImportDirective",src:"538:75:134",nodes:[],absolutePath:"src/libraries/trie/SecureMerkleTrie.sol",file:"src/libraries/trie/SecureMerkleTrie.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:106034,symbolAliases:[{foreign:{id:86454,name:"SecureMerkleTrie",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:106033,src:"547:16:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86457,nodeType:"ImportDirective",src:"614:71:134",nodes:[],absolutePath:"src/vendor/AddressAliasHelper.sol",file:"src/vendor/AddressAliasHelper.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:111914,symbolAliases:[{foreign:{id:86456,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"623:18:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86459,nodeType:"ImportDirective",src:"686:63:134",nodes:[],absolutePath:"src/L1/ResourceMetering.sol",file:"src/L1/ResourceMetering.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:88582,symbolAliases:[{foreign:{id:86458,name:"ResourceMetering",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88581,src:"695:16:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86461,nodeType:"ImportDirective",src:"750:52:134",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:109418,symbolAliases:[{foreign:{id:86460,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"759:7:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86463,nodeType:"ImportDirective",src:"803:56:134",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:103097,symbolAliases:[{foreign:{id:86462,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"812:9:134",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:86464,nodeType:"ImportDirective",src:"860:40:134",nodes:[],absolutePath:"src/libraries/PortalErrors.sol",file:"src/libraries/PortalErrors.sol",nameLocation:"-1:-1:-1",scope:87105,sourceUnit:103994,symbolAliases:[],unitAlias:""},{id:87104,nodeType:"ContractDefinition",src:"1240:19301:134",nodes:[{id:86478,nodeType:"StructDefinition",src:"1608:117:134",nodes:[],canonicalName:"OptimismPortal.ProvenWithdrawal",members:[{constant:!1,id:86473,mutability:"mutable",name:"outputRoot",nameLocation:"1650:10:134",nodeType:"VariableDeclaration",scope:86478,src:"1642:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86472,name:"bytes32",nodeType:"ElementaryTypeName",src:"1642:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:86475,mutability:"mutable",name:"timestamp",nameLocation:"1678:9:134",nodeType:"VariableDeclaration",scope:86478,src:"1670:17:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"},typeName:{id:86474,name:"uint128",nodeType:"ElementaryTypeName",src:"1670:7:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},visibility:"internal"},{constant:!1,id:86477,mutability:"mutable",name:"l2OutputIndex",nameLocation:"1705:13:134",nodeType:"VariableDeclaration",scope:86478,src:"1697:21:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"},typeName:{id:86476,name:"uint128",nodeType:"ElementaryTypeName",src:"1697:7:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},visibility:"internal"}],name:"ProvenWithdrawal",nameLocation:"1615:16:134",scope:87104,visibility:"public"},{id:86482,nodeType:"VariableDeclaration",src:"1777:45:134",nodes:[],constant:!0,documentation:{id:86479,nodeType:"StructuredDocumentation",src:"1731:41:134",text:"@notice Version of the deposit event."},mutability:"constant",name:"DEPOSIT_VERSION",nameLocation:"1803:15:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86480,name:"uint256",nodeType:"ElementaryTypeName",src:"1777:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},value:{hexValue:"30",id:86481,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1821:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},visibility:"internal"},{id:86486,nodeType:"VariableDeclaration",src:"1918:60:134",nodes:[],constant:!0,documentation:{id:86483,nodeType:"StructuredDocumentation",src:"1829:84:134",text:"@notice The L2 gas limit set when eth is deposited using the receive() function."},mutability:"constant",name:"RECEIVE_DEFAULT_GAS_LIMIT",nameLocation:"1943:25:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:86484,name:"uint64",nodeType:"ElementaryTypeName",src:"1918:6:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:{hexValue:"3130305f303030",id:86485,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"1971:7:134",typeDescriptions:{typeIdentifier:"t_rational_100000_by_1",typeString:"int_const 100000"},value:"100_000"},visibility:"internal"},{id:86489,nodeType:"VariableDeclaration",src:"2234:23:134",nodes:[],constant:!1,documentation:{id:86487,nodeType:"StructuredDocumentation",src:"1985:244:134",text:`@notice Address of the L2 account which initiated a withdrawal in this transaction. + If the of this variable is the default L2 sender address, then we are NOT inside of + a call to finalizeWithdrawalTransaction.`},functionSelector:"9bf62d82",mutability:"mutable",name:"l2Sender",nameLocation:"2249:8:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86488,name:"address",nodeType:"ElementaryTypeName",src:"2234:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:86494,nodeType:"VariableDeclaration",src:"2348:52:134",nodes:[],constant:!1,documentation:{id:86490,nodeType:"StructuredDocumentation",src:"2264:79:134",text:"@notice A list of withdrawal hashes which have been successfully finalized."},functionSelector:"a14238e7",mutability:"mutable",name:"finalizedWithdrawals",nameLocation:"2380:20:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},typeName:{id:86493,keyType:{id:86491,name:"bytes32",nodeType:"ElementaryTypeName",src:"2356:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"2348:24:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},valueType:{id:86492,name:"bool",nodeType:"ElementaryTypeName",src:"2367:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:86500,nodeType:"VariableDeclaration",src:"2482:61:134",nodes:[],constant:!1,documentation:{id:86495,nodeType:"StructuredDocumentation",src:"2407:70:134",text:"@notice A mapping of withdrawal hashes to `ProvenWithdrawal` data."},functionSelector:"e965084c",mutability:"mutable",name:"provenWithdrawals",nameLocation:"2526:17:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_struct$_ProvenWithdrawal_$86478_storage_$",typeString:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)"},typeName:{id:86499,keyType:{id:86496,name:"bytes32",nodeType:"ElementaryTypeName",src:"2490:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"2482:36:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_struct$_ProvenWithdrawal_$86478_storage_$",typeString:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal)"},valueType:{id:86498,nodeType:"UserDefinedTypeName",pathNode:{id:86497,name:"ProvenWithdrawal",nodeType:"IdentifierPath",referencedDeclaration:86478,src:"2501:16:134"},referencedDeclaration:86478,src:"2501:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal"}}},visibility:"public"},{id:86503,nodeType:"VariableDeclaration",src:"2655:26:134",nodes:[],constant:!1,documentation:{id:86501,nodeType:"StructuredDocumentation",src:"2550:100:134",text:`@custom:legacy + @custom:spacer paused + @notice Spacer for backwards compatibility.`},mutability:"mutable",name:"spacer_53_0_1",nameLocation:"2668:13:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:86502,name:"bool",nodeType:"ElementaryTypeName",src:"2655:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"private"},{id:86507,nodeType:"VariableDeclaration",src:"2739:40:134",nodes:[],constant:!1,documentation:{id:86504,nodeType:"StructuredDocumentation",src:"2688:46:134",text:"@notice Contract of the Superchain Config."},functionSelector:"35e80ab3",mutability:"mutable",name:"superchainConfig",nameLocation:"2763:16:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:86506,nodeType:"UserDefinedTypeName",pathNode:{id:86505,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"2739:16:134"},referencedDeclaration:88793,src:"2739:16:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"public"},{id:86511,nodeType:"VariableDeclaration",src:"2867:30:134",nodes:[],constant:!1,documentation:{id:86508,nodeType:"StructuredDocumentation",src:"2786:76:134",text:`@notice Contract of the L2OutputOracle. + @custom:network-specific`},functionSelector:"9b5f694a",mutability:"mutable",name:"l2Oracle",nameLocation:"2889:8:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"},typeName:{id:86510,nodeType:"UserDefinedTypeName",pathNode:{id:86509,name:"L2OutputOracle",nodeType:"IdentifierPath",referencedDeclaration:86435,src:"2867:14:134"},referencedDeclaration:86435,src:"2867:14:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},visibility:"public"},{id:86515,nodeType:"VariableDeclaration",src:"2983:32:134",nodes:[],constant:!1,documentation:{id:86512,nodeType:"StructuredDocumentation",src:"2904:74:134",text:`@notice Contract of the SystemConfig. + @custom:network-specific`},functionSelector:"33d7e2bd",mutability:"mutable",name:"systemConfig",nameLocation:"3003:12:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},typeName:{id:86514,nodeType:"UserDefinedTypeName",pathNode:{id:86513,name:"SystemConfig",nodeType:"IdentifierPath",referencedDeclaration:89607,src:"2983:12:134"},referencedDeclaration:89607,src:"2983:12:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},visibility:"public"},{id:86526,nodeType:"EventDefinition",src:"3526:112:134",nodes:[],anonymous:!1,documentation:{id:86516,nodeType:"StructuredDocumentation",src:"3022:499:134",text:`@notice Emitted when a transaction is deposited from L1 to L2. + The parameters of this event are read by the rollup node and used to derive deposit + transactions on L2. + @param from Address that triggered the deposit transaction. + @param to Address that the deposit transaction is directed to. + @param version Version of this deposit transaction event. + @param opaqueData ABI encoded deposit data to be parsed off-chain.`},eventSelector:"b3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32",name:"TransactionDeposited",nameLocation:"3532:20:134",parameters:{id:86525,nodeType:"ParameterList",parameters:[{constant:!1,id:86518,indexed:!0,mutability:"mutable",name:"from",nameLocation:"3569:4:134",nodeType:"VariableDeclaration",scope:86526,src:"3553:20:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86517,name:"address",nodeType:"ElementaryTypeName",src:"3553:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86520,indexed:!0,mutability:"mutable",name:"to",nameLocation:"3591:2:134",nodeType:"VariableDeclaration",scope:86526,src:"3575:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86519,name:"address",nodeType:"ElementaryTypeName",src:"3575:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86522,indexed:!0,mutability:"mutable",name:"version",nameLocation:"3611:7:134",nodeType:"VariableDeclaration",scope:86526,src:"3595:23:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86521,name:"uint256",nodeType:"ElementaryTypeName",src:"3595:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86524,indexed:!1,mutability:"mutable",name:"opaqueData",nameLocation:"3626:10:134",nodeType:"VariableDeclaration",scope:86526,src:"3620:16:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:86523,name:"bytes",nodeType:"ElementaryTypeName",src:"3620:5:134",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"3552:85:134"}},{id:86535,nodeType:"EventDefinition",src:"3942:97:134",nodes:[],anonymous:!1,documentation:{id:86527,nodeType:"StructuredDocumentation",src:"3644:293:134",text:`@notice Emitted when a withdrawal transaction is proven. + @param withdrawalHash Hash of the withdrawal transaction. + @param from Address that triggered the withdrawal transaction. + @param to Address that the withdrawal transaction is directed to.`},eventSelector:"67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62",name:"WithdrawalProven",nameLocation:"3948:16:134",parameters:{id:86534,nodeType:"ParameterList",parameters:[{constant:!1,id:86529,indexed:!0,mutability:"mutable",name:"withdrawalHash",nameLocation:"3981:14:134",nodeType:"VariableDeclaration",scope:86535,src:"3965:30:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86528,name:"bytes32",nodeType:"ElementaryTypeName",src:"3965:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:86531,indexed:!0,mutability:"mutable",name:"from",nameLocation:"4013:4:134",nodeType:"VariableDeclaration",scope:86535,src:"3997:20:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86530,name:"address",nodeType:"ElementaryTypeName",src:"3997:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86533,indexed:!0,mutability:"mutable",name:"to",nameLocation:"4035:2:134",nodeType:"VariableDeclaration",scope:86535,src:"4019:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86532,name:"address",nodeType:"ElementaryTypeName",src:"4019:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"3964:74:134"}},{id:86542,nodeType:"EventDefinition",src:"4260:72:134",nodes:[],anonymous:!1,documentation:{id:86536,nodeType:"StructuredDocumentation",src:"4045:210:134",text:`@notice Emitted when a withdrawal transaction is finalized. + @param withdrawalHash Hash of the withdrawal transaction. + @param success Whether the withdrawal transaction was successful.`},eventSelector:"db5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b",name:"WithdrawalFinalized",nameLocation:"4266:19:134",parameters:{id:86541,nodeType:"ParameterList",parameters:[{constant:!1,id:86538,indexed:!0,mutability:"mutable",name:"withdrawalHash",nameLocation:"4302:14:134",nodeType:"VariableDeclaration",scope:86542,src:"4286:30:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86537,name:"bytes32",nodeType:"ElementaryTypeName",src:"4286:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:86540,indexed:!1,mutability:"mutable",name:"success",nameLocation:"4323:7:134",nodeType:"VariableDeclaration",scope:86542,src:"4318:12:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:86539,name:"bool",nodeType:"ElementaryTypeName",src:"4318:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"4285:46:134"}},{id:86553,nodeType:"ModifierDefinition",src:"4375:86:134",nodes:[],body:{id:86552,nodeType:"Block",src:"4400:61:134",nodes:[],statements:[{condition:{arguments:[],expression:{argumentTypes:[],id:86545,name:"paused",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86651,src:"4414:6:134",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_bool_$",typeString:"function () view returns (bool)"}},id:86546,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4414:8:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86550,nodeType:"IfStatement",src:"4410:33:134",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:86547,name:"CallPaused",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103990,src:"4431:10:134",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:86548,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4431:12:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86549,nodeType:"RevertStatement",src:"4424:19:134"}},{id:86551,nodeType:"PlaceholderStatement",src:"4453:1:134"}]},documentation:{id:86543,nodeType:"StructuredDocumentation",src:"4338:32:134",text:"@notice Reverts when paused."},name:"whenNotPaused",nameLocation:"4384:13:134",parameters:{id:86544,nodeType:"ParameterList",parameters:[],src:"4397:2:134"},virtual:!1,visibility:"internal"},{id:86557,nodeType:"VariableDeclaration",src:"4530:40:134",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:86554,nodeType:"StructuredDocumentation",src:"4467:58:134",text:`@notice Semantic version. + @custom:semver 2.6.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"4553:7:134",scope:87104,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:86555,name:"string",nodeType:"ElementaryTypeName",src:"4530:6:134",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"322e362e30",id:86556,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"4563:7:134",typeDescriptions:{typeIdentifier:"t_stringliteral_ad12b1ea91991aacd9b7a7ba82f559ec1ebe6024b70cee19177a7d0d7932dda1",typeString:'literal_string "2.6.0"'},value:"2.6.0"},visibility:"public"},{id:86583,nodeType:"FunctionDefinition",src:"4633:218:134",nodes:[],body:{id:86582,nodeType:"Block",src:"4647:204:134",nodes:[],statements:[{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:86565,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4716:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86564,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4708:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86563,name:"address",nodeType:"ElementaryTypeName",src:"4708:7:134",typeDescriptions:{}}},id:86566,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4708:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:86562,name:"L2OutputOracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86435,src:"4693:14:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L2OutputOracle_$86435_$",typeString:"type(contract L2OutputOracle)"}},id:86567,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4693:26:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},{arguments:[{arguments:[{hexValue:"30",id:86571,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4769:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86570,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4761:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86569,name:"address",nodeType:"ElementaryTypeName",src:"4761:7:134",typeDescriptions:{}}},id:86572,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4761:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:86568,name:"SystemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89607,src:"4748:12:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SystemConfig_$89607_$",typeString:"type(contract SystemConfig)"}},id:86573,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4748:24:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},{arguments:[{arguments:[{hexValue:"30",id:86577,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"4830:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86576,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"4822:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86575,name:"address",nodeType:"ElementaryTypeName",src:"4822:7:134",typeDescriptions:{}}},id:86578,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4822:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:86574,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"4805:16:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SuperchainConfig_$88793_$",typeString:"type(contract SuperchainConfig)"}},id:86579,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4805:28:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"},{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}],id:86561,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86627,src:"4657:10:134",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_L2OutputOracle_$86435_$_t_contract$_SystemConfig_$89607_$_t_contract$_SuperchainConfig_$88793_$returns$__$",typeString:"function (contract L2OutputOracle,contract SystemConfig,contract SuperchainConfig)"}},id:86580,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_l2Oracle","_systemConfig","_superchainConfig"],nodeType:"FunctionCall",src:"4657:187:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86581,nodeType:"ExpressionStatement",src:"4657:187:134"}]},documentation:{id:86558,nodeType:"StructuredDocumentation",src:"4577:51:134",text:"@notice Constructs the OptimismPortal contract."},implemented:!0,kind:"constructor",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:86559,nodeType:"ParameterList",parameters:[],src:"4644:2:134"},returnParameters:{id:86560,nodeType:"ParameterList",parameters:[],src:"4647:0:134"},scope:87104,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:86627,nodeType:"FunctionDefinition",src:"5069:435:134",nodes:[],body:{id:86626,nodeType:"Block",src:"5248:256:134",nodes:[],statements:[{expression:{id:86600,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86598,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"5258:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86599,name:"_l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86587,src:"5269:9:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},src:"5258:20:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:86601,nodeType:"ExpressionStatement",src:"5258:20:134"},{expression:{id:86604,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86602,name:"systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86515,src:"5288:12:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86603,name:"_systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86590,src:"5303:13:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},src:"5288:28:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},id:86605,nodeType:"ExpressionStatement",src:"5288:28:134"},{expression:{id:86608,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86606,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86507,src:"5326:16:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:86607,name:"_superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86593,src:"5345:17:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},src:"5326:36:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:86609,nodeType:"ExpressionStatement",src:"5326:36:134"},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86615,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86610,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86489,src:"5376:8:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:86613,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"5396:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86612,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"5388:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86611,name:"address",nodeType:"ElementaryTypeName",src:"5388:7:134",typeDescriptions:{}}},id:86614,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5388:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"5376:22:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86622,nodeType:"IfStatement",src:"5372:91:134",trueBody:{id:86621,nodeType:"Block",src:"5400:63:134",statements:[{expression:{id:86619,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86616,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86489,src:"5414:8:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:86617,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"5425:9:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:86618,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"5425:27:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"5414:38:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:86620,nodeType:"ExpressionStatement",src:"5414:38:134"}]}},{expression:{arguments:[],expression:{argumentTypes:[],id:86623,name:"__ResourceMetering_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88580,src:"5472:23:134",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$__$returns$__$",typeString:"function ()"}},id:86624,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5472:25:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86625,nodeType:"ExpressionStatement",src:"5472:25:134"}]},documentation:{id:86584,nodeType:"StructuredDocumentation",src:"4857:207:134",text:`@notice Initializer. + @param _l2Oracle Contract of the L2OutputOracle. + @param _systemConfig Contract of the SystemConfig. + @param _superchainConfig Contract of the SuperchainConfig.`},functionSelector:"c0c53b8b",implemented:!0,kind:"function",modifiers:[{id:86596,kind:"modifierInvocation",modifierName:{id:86595,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"5232:11:134"},nodeType:"ModifierInvocation",src:"5232:11:134"}],name:"initialize",nameLocation:"5078:10:134",parameters:{id:86594,nodeType:"ParameterList",parameters:[{constant:!1,id:86587,mutability:"mutable",name:"_l2Oracle",nameLocation:"5113:9:134",nodeType:"VariableDeclaration",scope:86627,src:"5098:24:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"},typeName:{id:86586,nodeType:"UserDefinedTypeName",pathNode:{id:86585,name:"L2OutputOracle",nodeType:"IdentifierPath",referencedDeclaration:86435,src:"5098:14:134"},referencedDeclaration:86435,src:"5098:14:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},visibility:"internal"},{constant:!1,id:86590,mutability:"mutable",name:"_systemConfig",nameLocation:"5145:13:134",nodeType:"VariableDeclaration",scope:86627,src:"5132:26:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},typeName:{id:86589,nodeType:"UserDefinedTypeName",pathNode:{id:86588,name:"SystemConfig",nodeType:"IdentifierPath",referencedDeclaration:89607,src:"5132:12:134"},referencedDeclaration:89607,src:"5132:12:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},visibility:"internal"},{constant:!1,id:86593,mutability:"mutable",name:"_superchainConfig",nameLocation:"5185:17:134",nodeType:"VariableDeclaration",scope:86627,src:"5168:34:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:86592,nodeType:"UserDefinedTypeName",pathNode:{id:86591,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"5168:16:134"},referencedDeclaration:88793,src:"5168:16:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"internal"}],src:"5088:120:134"},returnParameters:{id:86597,nodeType:"ParameterList",parameters:[],src:"5248:0:134"},scope:87104,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:86638,nodeType:"FunctionDefinition",src:"5757:101:134",nodes:[],body:{id:86637,nodeType:"Block",src:"5807:51:134",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:86633,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86507,src:"5824:16:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:86634,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"guardian",nodeType:"MemberAccess",referencedDeclaration:88693,src:"5824:25:134",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:86635,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5824:27:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:86632,id:86636,nodeType:"Return",src:"5817:34:134"}]},documentation:{id:86628,nodeType:"StructuredDocumentation",src:"5510:242:134",text:`@notice Getter function for the address of the guardian. + Public getter is legacy and will be removed in the future. Use \`SuperchainConfig.guardian()\` instead. + @return Address of the guardian. + @custom:legacy`},functionSelector:"452a9320",implemented:!0,kind:"function",modifiers:[],name:"guardian",nameLocation:"5766:8:134",parameters:{id:86629,nodeType:"ParameterList",parameters:[],src:"5774:2:134"},returnParameters:{id:86632,nodeType:"ParameterList",parameters:[{constant:!1,id:86631,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86638,src:"5798:7:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86630,name:"address",nodeType:"ElementaryTypeName",src:"5798:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5797:9:134"},scope:87104,stateMutability:"view",virtual:!1,visibility:"public"},{id:86651,nodeType:"FunctionDefinition",src:"5981:105:134",nodes:[],body:{id:86650,nodeType:"Block",src:"6034:52:134",nodes:[],statements:[{expression:{id:86648,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86644,name:"paused_",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86642,src:"6044:7:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[],expression:{argumentTypes:[],expression:{id:86645,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86507,src:"6054:16:134",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:86646,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"paused",nodeType:"MemberAccess",referencedDeclaration:88707,src:"6054:23:134",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_bool_$",typeString:"function () view external returns (bool)"}},id:86647,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6054:25:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"6044:35:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86649,nodeType:"ExpressionStatement",src:"6044:35:134"}]},documentation:{id:86639,nodeType:"StructuredDocumentation",src:"5864:112:134",text:`@notice Getter for the current paused status. + @return paused_ Whether or not the contract is paused.`},functionSelector:"5c975abb",implemented:!0,kind:"function",modifiers:[],name:"paused",nameLocation:"5990:6:134",parameters:{id:86640,nodeType:"ParameterList",parameters:[],src:"5996:2:134"},returnParameters:{id:86643,nodeType:"ParameterList",parameters:[{constant:!1,id:86642,mutability:"mutable",name:"paused_",nameLocation:"6025:7:134",nodeType:"VariableDeclaration",scope:86651,src:"6020:12:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:86641,name:"bool",nodeType:"ElementaryTypeName",src:"6020:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"6019:14:134"},scope:87104,stateMutability:"view",virtual:!1,visibility:"public"},{id:86666,nodeType:"FunctionDefinition",src:"6579:120:134",nodes:[],body:{id:86665,nodeType:"Block",src:"6652:47:134",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:86663,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:86661,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86659,name:"_byteCount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86654,src:"6669:10:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{hexValue:"3136",id:86660,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6682:2:134",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},src:"6669:15:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"3231303030",id:86662,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6687:5:134",typeDescriptions:{typeIdentifier:"t_rational_21000_by_1",typeString:"int_const 21000"},value:"21000"},src:"6669:23:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},functionReturnParameters:86658,id:86664,nodeType:"Return",src:"6662:30:134"}]},documentation:{id:86652,nodeType:"StructuredDocumentation",src:"6092:482:134",text:`@notice Computes the minimum gas limit for a deposit. + The minimum gas limit linearly increases based on the size of the calldata. + This is to prevent users from creating L2 resource usage without paying for it. + This function can be used when interacting with the portal to ensure forwards + compatibility. + @param _byteCount Number of bytes in the calldata. + @return The minimum gas limit for a deposit.`},functionSelector:"a35d99df",implemented:!0,kind:"function",modifiers:[],name:"minimumGasLimit",nameLocation:"6588:15:134",parameters:{id:86655,nodeType:"ParameterList",parameters:[{constant:!1,id:86654,mutability:"mutable",name:"_byteCount",nameLocation:"6611:10:134",nodeType:"VariableDeclaration",scope:86666,src:"6604:17:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:86653,name:"uint64",nodeType:"ElementaryTypeName",src:"6604:6:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],src:"6603:19:134"},returnParameters:{id:86658,nodeType:"ParameterList",parameters:[{constant:!1,id:86657,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86666,src:"6644:6:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:86656,name:"uint64",nodeType:"ElementaryTypeName",src:"6644:6:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],src:"6643:8:134"},scope:87104,stateMutability:"pure",virtual:!1,visibility:"public"},{id:86684,nodeType:"FunctionDefinition",src:"7078:130:134",nodes:[],body:{id:86683,nodeType:"Block",src:"7105:103:134",nodes:[],statements:[{expression:{arguments:[{expression:{id:86671,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"7134:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:86672,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"7134:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:86673,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"7146:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:86674,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"7146:9:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:86675,name:"RECEIVE_DEFAULT_GAS_LIMIT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86486,src:"7157:25:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{hexValue:"66616c7365",id:86676,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"7184:5:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},{arguments:[{hexValue:"",id:86679,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"7197:2:134",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],id:86678,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7191:5:134",typeDescriptions:{typeIdentifier:"t_type$_t_bytes_storage_ptr_$",typeString:"type(bytes storage pointer)"},typeName:{id:86677,name:"bytes",nodeType:"ElementaryTypeName",src:"7191:5:134",typeDescriptions:{}}},id:86680,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7191:9:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:86670,name:"depositTransaction",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87068,src:"7115:18:134",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint64_$_t_bool_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,uint256,uint64,bool,bytes memory)"}},id:86681,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7115:86:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86682,nodeType:"ExpressionStatement",src:"7115:86:134"}]},documentation:{id:86667,nodeType:"StructuredDocumentation",src:"6705:368:134",text:`@notice Accepts value so that users can send ETH directly to this contract and have the + funds be deposited to their address on L2. This is intended as a convenience + function for EOAs. Contracts should call the depositTransaction() function directly + otherwise any deposited funds will be lost due to address aliasing.`},implemented:!0,kind:"receive",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:86668,nodeType:"ParameterList",parameters:[],src:"7085:2:134"},returnParameters:{id:86669,nodeType:"ParameterList",parameters:[],src:"7105:0:134"},scope:87104,stateMutability:"payable",virtual:!1,visibility:"external"},{id:86689,nodeType:"FunctionDefinition",src:"7422:77:134",nodes:[],body:{id:86688,nodeType:"Block",src:"7460:39:134",nodes:[],statements:[]},documentation:{id:86685,nodeType:"StructuredDocumentation",src:"7214:203:134",text:`@notice Accepts ETH value without triggering a deposit to L2. + This function mainly exists for the sake of the migration between the legacy + Optimism system and Bedrock.`},functionSelector:"8b4c40b0",implemented:!0,kind:"function",modifiers:[],name:"donateETH",nameLocation:"7431:9:134",parameters:{id:86686,nodeType:"ParameterList",parameters:[],src:"7440:2:134"},returnParameters:{id:86687,nodeType:"ParameterList",parameters:[],src:"7460:0:134"},scope:87104,stateMutability:"payable",virtual:!1,visibility:"external"},{id:86702,nodeType:"FunctionDefinition",src:"7748:152:134",nodes:[],body:{id:86701,nodeType:"Block",src:"7847:53:134",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:86697,name:"systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86515,src:"7864:12:134",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},id:86698,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"resourceConfig",nodeType:"MemberAccess",referencedDeclaration:89527,src:"7864:27:134",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_struct$_ResourceConfig_$88258_memory_ptr_$",typeString:"function () view external returns (struct ResourceMetering.ResourceConfig memory)"}},id:86699,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7864:29:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_memory_ptr",typeString:"struct ResourceMetering.ResourceConfig memory"}},functionReturnParameters:86696,id:86700,nodeType:"Return",src:"7857:36:134"}]},baseFunctions:[88555],documentation:{id:86690,nodeType:"StructuredDocumentation",src:"7505:238:134",text:`@notice Getter for the resource config. + Used internally by the ResourceMetering contract. + The SystemConfig is the source of truth for the resource config. + @return ResourceMetering ResourceConfig`},implemented:!0,kind:"function",modifiers:[],name:"_resourceConfig",nameLocation:"7757:15:134",overrides:{id:86692,nodeType:"OverrideSpecifier",overrides:[],src:"7789:8:134"},parameters:{id:86691,nodeType:"ParameterList",parameters:[],src:"7772:2:134"},returnParameters:{id:86696,nodeType:"ParameterList",parameters:[{constant:!1,id:86695,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:86702,src:"7807:38:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_memory_ptr",typeString:"struct ResourceMetering.ResourceConfig"},typeName:{id:86694,nodeType:"UserDefinedTypeName",pathNode:{id:86693,name:"ResourceMetering.ResourceConfig",nodeType:"IdentifierPath",referencedDeclaration:88258,src:"7807:31:134"},referencedDeclaration:88258,src:"7807:31:134",typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_storage_ptr",typeString:"struct ResourceMetering.ResourceConfig"}},visibility:"internal"}],src:"7806:40:134"},scope:87104,stateMutability:"view",virtual:!1,visibility:"internal"},{id:86834,nodeType:"FunctionDefinition",src:"8288:3825:134",nodes:[],body:{id:86833,nodeType:"Block",src:"8553:3560:134",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86726,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86720,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86706,src:"8798:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86721,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"8798:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{id:86724,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"8820:4:134",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_OptimismPortal_$87104",typeString:"contract OptimismPortal"}],id:86723,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"8812:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86722,name:"address",nodeType:"ElementaryTypeName",src:"8812:7:134",typeDescriptions:{}}},id:86725,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8812:13:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"8798:27:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e64206d6573736167657320746f2074686520706f7274616c20636f6e7472616374",id:86727,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"8827:65:134",typeDescriptions:{typeIdentifier:"t_stringliteral_57e41062e2e7b97ddf730827f5249d28f602a3846dfe107ce36292fb1c029eb8",typeString:'literal_string "OptimismPortal: you cannot send messages to the portal contract"'},value:"OptimismPortal: you cannot send messages to the portal contract"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_57e41062e2e7b97ddf730827f5249d28f602a3846dfe107ce36292fb1c029eb8",typeString:'literal_string "OptimismPortal: you cannot send messages to the portal contract"'}],id:86719,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"8790:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86728,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8790:103:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86729,nodeType:"ExpressionStatement",src:"8790:103:134"},{assignments:[86731],declarations:[{constant:!1,id:86731,mutability:"mutable",name:"outputRoot",nameLocation:"9078:10:134",nodeType:"VariableDeclaration",scope:86833,src:"9070:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86730,name:"bytes32",nodeType:"ElementaryTypeName",src:"9070:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:86737,initialValue:{expression:{arguments:[{id:86734,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86708,src:"9112:14:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:86732,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"9091:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:86733,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getL2Output",nodeType:"MemberAccess",referencedDeclaration:86275,src:"9091:20:134",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_struct$_OutputProposal_$104307_memory_ptr_$",typeString:"function (uint256) view external returns (struct Types.OutputProposal memory)"}},id:86735,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9091:36:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},id:86736,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"outputRoot",nodeType:"MemberAccess",referencedDeclaration:104302,src:"9091:47:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"9070:68:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86744,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86739,name:"outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86731,src:"9258:10:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:86742,name:"_outputRootProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86711,src:"9300:16:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}],expression:{id:86740,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"9272:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:86741,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashOutputRootProof",nodeType:"MemberAccess",referencedDeclaration:103935,src:"9272:27:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_OutputRootProof_$104316_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.OutputRootProof memory) pure returns (bytes32)"}},id:86743,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9272:45:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"9258:59:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c6964206f757470757420726f6f742070726f6f66",id:86745,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"9319:43:134",typeDescriptions:{typeIdentifier:"t_stringliteral_490ec653897228799e7e4c4af8b1fd3b4a0688df98d026b46afa352ce9876996",typeString:'literal_string "OptimismPortal: invalid output root proof"'},value:"OptimismPortal: invalid output root proof"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_490ec653897228799e7e4c4af8b1fd3b4a0688df98d026b46afa352ce9876996",typeString:'literal_string "OptimismPortal: invalid output root proof"'}],id:86738,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"9237:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86746,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9237:135:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86747,nodeType:"ExpressionStatement",src:"9237:135:134"},{assignments:[86749],declarations:[{constant:!1,id:86749,mutability:"mutable",name:"withdrawalHash",nameLocation:"9491:14:134",nodeType:"VariableDeclaration",scope:86833,src:"9483:22:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86748,name:"bytes32",nodeType:"ElementaryTypeName",src:"9483:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:86754,initialValue:{arguments:[{id:86752,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86706,src:"9531:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}],expression:{id:86750,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"9508:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:86751,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashWithdrawal",nodeType:"MemberAccess",referencedDeclaration:103911,src:"9508:22:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.WithdrawalTransaction memory) pure returns (bytes32)"}},id:86753,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9508:27:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"9483:52:134"},{assignments:[86757],declarations:[{constant:!1,id:86757,mutability:"mutable",name:"provenWithdrawal",nameLocation:"9569:16:134",nodeType:"VariableDeclaration",scope:86833,src:"9545:40:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal"},typeName:{id:86756,nodeType:"UserDefinedTypeName",pathNode:{id:86755,name:"ProvenWithdrawal",nodeType:"IdentifierPath",referencedDeclaration:86478,src:"9545:16:134"},referencedDeclaration:86478,src:"9545:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal"}},visibility:"internal"}],id:86761,initialValue:{baseExpression:{id:86758,name:"provenWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86500,src:"9588:17:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_struct$_ProvenWithdrawal_$86478_storage_$",typeString:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal storage ref)"}},id:86760,indexExpression:{id:86759,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86749,src:"9606:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"9588:33:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage",typeString:"struct OptimismPortal.ProvenWithdrawal storage ref"}},nodeType:"VariableDeclarationStatement",src:"9545:76:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:86776,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:86766,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86763,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86757,src:"10175:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86764,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:86475,src:"10175:26:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"30",id:86765,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"10205:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"10175:31:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"||",rightExpression:{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86775,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{arguments:[{expression:{id:86769,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86757,src:"10247:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86770,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2OutputIndex",nodeType:"MemberAccess",referencedDeclaration:86477,src:"10247:30:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:86767,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"10226:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:86768,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getL2Output",nodeType:"MemberAccess",referencedDeclaration:86275,src:"10226:20:134",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_struct$_OutputProposal_$104307_memory_ptr_$",typeString:"function (uint256) view external returns (struct Types.OutputProposal memory)"}},id:86771,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10226:52:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},id:86772,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"outputRoot",nodeType:"MemberAccess",referencedDeclaration:104302,src:"10226:63:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:86773,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86757,src:"10293:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86774,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"outputRoot",nodeType:"MemberAccess",referencedDeclaration:86473,src:"10293:27:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"10226:94:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"10175:145:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c20686173682068617320616c7265616479206265656e2070726f76656e",id:86777,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"10334:57:134",typeDescriptions:{typeIdentifier:"t_stringliteral_5238e365e021f6fd781c2264a5a09100f0670031b56dacfc224b453789ac1dd0",typeString:'literal_string "OptimismPortal: withdrawal hash has already been proven"'},value:"OptimismPortal: withdrawal hash has already been proven"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_5238e365e021f6fd781c2264a5a09100f0670031b56dacfc224b453789ac1dd0",typeString:'literal_string "OptimismPortal: withdrawal hash has already been proven"'}],id:86762,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"10154:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86778,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10154:247:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86779,nodeType:"ExpressionStatement",src:"10154:247:134"},{assignments:[86781],declarations:[{constant:!1,id:86781,mutability:"mutable",name:"storageKey",nameLocation:"10645:10:134",nodeType:"VariableDeclaration",scope:86833,src:"10637:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86780,name:"bytes32",nodeType:"ElementaryTypeName",src:"10637:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:86792,initialValue:{arguments:[{arguments:[{id:86785,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86749,src:"10709:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{hexValue:"30",id:86788,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"10749:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86787,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"10741:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:86786,name:"uint256",nodeType:"ElementaryTypeName",src:"10741:7:134",typeDescriptions:{}}},id:86789,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10741:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:86783,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"10681:3:134",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:86784,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"10681:10:134",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:86790,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10681:147:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:86782,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"10658:9:134",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:86791,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10658:180:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"10637:201:134"},{expression:{arguments:[{arguments:[{arguments:[{id:86798,name:"storageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86781,src:"11264:10:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:86796,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"11253:3:134",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:86797,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"11253:10:134",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:86799,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11253:22:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},{hexValue:"01",id:86800,isConstant:!1,isLValue:!1,isPure:!0,kind:"hexString",lValueRequested:!1,nodeType:"Literal",src:"11301:7:134",typeDescriptions:{typeIdentifier:"t_stringliteral_5fe7f977e71dba2ea1a68e21057beebb9be2ac30c6410aa38d4f3fbe41dcffd2",typeString:'literal_string hex"01"'},value:""},{id:86801,name:"_withdrawalProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86714,src:"11334:16:134",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes calldata[] calldata"}},{expression:{id:86802,name:"_outputRootProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86711,src:"11375:16:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}},id:86803,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"messagePasserStorageRoot",nodeType:"MemberAccess",referencedDeclaration:104313,src:"11375:41:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"},{typeIdentifier:"t_stringliteral_5fe7f977e71dba2ea1a68e21057beebb9be2ac30c6410aa38d4f3fbe41dcffd2",typeString:'literal_string hex"01"'},{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes calldata[] calldata"},{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:86794,name:"SecureMerkleTrie",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:106033,src:"11191:16:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SecureMerkleTrie_$106033_$",typeString:"type(library SecureMerkleTrie)"}},id:86795,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"verifyInclusionProof",nodeType:"MemberAccess",referencedDeclaration:105985,src:"11191:37:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$_t_bytes32_$returns$_t_bool_$",typeString:"function (bytes memory,bytes memory,bytes memory[] memory,bytes32) pure returns (bool)"}},id:86804,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_key","_value","_proof","_root"],nodeType:"FunctionCall",src:"11191:240:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c6964207769746864726177616c20696e636c7573696f6e2070726f6f66",id:86805,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"11445:52:134",typeDescriptions:{typeIdentifier:"t_stringliteral_11b666636981dad70da1c1a9e87589eb7d9c042eacd4d25e887aac557f6cd6b9",typeString:'literal_string "OptimismPortal: invalid withdrawal inclusion proof"'},value:"OptimismPortal: invalid withdrawal inclusion proof"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_11b666636981dad70da1c1a9e87589eb7d9c042eacd4d25e887aac557f6cd6b9",typeString:'literal_string "OptimismPortal: invalid withdrawal inclusion proof"'}],id:86793,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11170:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86806,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11170:337:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86807,nodeType:"ExpressionStatement",src:"11170:337:134"},{expression:{id:86823,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:86808,name:"provenWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86500,src:"11789:17:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_struct$_ProvenWithdrawal_$86478_storage_$",typeString:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal storage ref)"}},id:86810,indexExpression:{id:86809,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86749,src:"11807:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"11789:33:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage",typeString:"struct OptimismPortal.ProvenWithdrawal storage ref"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{id:86812,name:"outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86731,src:"11868:10:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{expression:{id:86815,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"11911:5:134",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:86816,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"11911:15:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86814,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"11903:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:86813,name:"uint128",nodeType:"ElementaryTypeName",src:"11903:7:134",typeDescriptions:{}}},id:86817,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11903:24:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},{arguments:[{id:86820,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86708,src:"11964:14:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:86819,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"11956:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_uint128_$",typeString:"type(uint128)"},typeName:{id:86818,name:"uint128",nodeType:"ElementaryTypeName",src:"11956:7:134",typeDescriptions:{}}},id:86821,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11956:23:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_uint128",typeString:"uint128"},{typeIdentifier:"t_uint128",typeString:"uint128"}],id:86811,name:"ProvenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86478,src:"11825:16:134",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_ProvenWithdrawal_$86478_storage_ptr_$",typeString:"type(struct OptimismPortal.ProvenWithdrawal storage pointer)"}},id:86822,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["outputRoot","timestamp","l2OutputIndex"],nodeType:"FunctionCall",src:"11825:165:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},src:"11789:201:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage",typeString:"struct OptimismPortal.ProvenWithdrawal storage ref"}},id:86824,nodeType:"ExpressionStatement",src:"11789:201:134"},{eventCall:{arguments:[{id:86826,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86749,src:"12067:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{expression:{id:86827,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86706,src:"12083:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86828,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",referencedDeclaration:104339,src:"12083:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:86829,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86706,src:"12095:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86830,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"12095:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"}],id:86825,name:"WithdrawalProven",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86535,src:"12050:16:134",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$",typeString:"function (bytes32,address,address)"}},id:86831,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12050:56:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86832,nodeType:"EmitStatement",src:"12045:61:134"}]},documentation:{id:86703,nodeType:"StructuredDocumentation",src:"7906:377:134",text:`@notice Proves a withdrawal transaction. + @param _tx Withdrawal transaction to finalize. + @param _l2OutputIndex L2 output index to prove against. + @param _outputRootProof Inclusion proof of the L2ToL1MessagePasser contract's storage root. + @param _withdrawalProof Inclusion proof of the withdrawal in L2ToL1MessagePasser contract.`},functionSelector:"4870496f",implemented:!0,kind:"function",modifiers:[{id:86717,kind:"modifierInvocation",modifierName:{id:86716,name:"whenNotPaused",nodeType:"IdentifierPath",referencedDeclaration:86553,src:"8535:13:134"},nodeType:"ModifierInvocation",src:"8535:13:134"}],name:"proveWithdrawalTransaction",nameLocation:"8297:26:134",parameters:{id:86715,nodeType:"ParameterList",parameters:[{constant:!1,id:86706,mutability:"mutable",name:"_tx",nameLocation:"8368:3:134",nodeType:"VariableDeclaration",scope:86834,src:"8333:38:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction"},typeName:{id:86705,nodeType:"UserDefinedTypeName",pathNode:{id:86704,name:"Types.WithdrawalTransaction",nodeType:"IdentifierPath",referencedDeclaration:104348,src:"8333:27:134"},referencedDeclaration:104348,src:"8333:27:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_storage_ptr",typeString:"struct Types.WithdrawalTransaction"}},visibility:"internal"},{constant:!1,id:86708,mutability:"mutable",name:"_l2OutputIndex",nameLocation:"8389:14:134",nodeType:"VariableDeclaration",scope:86834,src:"8381:22:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86707,name:"uint256",nodeType:"ElementaryTypeName",src:"8381:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86711,mutability:"mutable",name:"_outputRootProof",nameLocation:"8444:16:134",nodeType:"VariableDeclaration",scope:86834,src:"8413:47:134",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof"},typeName:{id:86710,nodeType:"UserDefinedTypeName",pathNode:{id:86709,name:"Types.OutputRootProof",nodeType:"IdentifierPath",referencedDeclaration:104316,src:"8413:21:134"},referencedDeclaration:104316,src:"8413:21:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_storage_ptr",typeString:"struct Types.OutputRootProof"}},visibility:"internal"},{constant:!1,id:86714,mutability:"mutable",name:"_withdrawalProof",nameLocation:"8487:16:134",nodeType:"VariableDeclaration",scope:86834,src:"8470:33:134",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes[]"},typeName:{baseType:{id:86712,name:"bytes",nodeType:"ElementaryTypeName",src:"8470:5:134",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},id:86713,nodeType:"ArrayTypeName",src:"8470:7:134",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_storage_$dyn_storage_ptr",typeString:"bytes[]"}},visibility:"internal"}],src:"8323:186:134"},returnParameters:{id:86718,nodeType:"ParameterList",parameters:[],src:"8553:0:134"},scope:87104,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:86978,nodeType:"FunctionDefinition",src:"12226:4818:134",nodes:[],body:{id:86977,nodeType:"Block",src:"12328:4716:134",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86847,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86844,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86489,src:"12594:8:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:86845,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"12606:9:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:86846,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"12606:27:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"12594:39:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a2063616e206f6e6c792074726967676572206f6e65207769746864726177616c20706572207472616e73616374696f6e",id:86848,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"12635:65:134",typeDescriptions:{typeIdentifier:"t_stringliteral_452e6500a4013b85635a7a9b231d68a5197c7f7579d0b96d0b2f2e5fe6b5995b",typeString:'literal_string "OptimismPortal: can only trigger one withdrawal per transaction"'},value:"OptimismPortal: can only trigger one withdrawal per transaction"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_452e6500a4013b85635a7a9b231d68a5197c7f7579d0b96d0b2f2e5fe6b5995b",typeString:'literal_string "OptimismPortal: can only trigger one withdrawal per transaction"'}],id:86843,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"12573:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86849,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12573:137:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86850,nodeType:"ExpressionStatement",src:"12573:137:134"},{assignments:[86852],declarations:[{constant:!1,id:86852,mutability:"mutable",name:"withdrawalHash",nameLocation:"12801:14:134",nodeType:"VariableDeclaration",scope:86977,src:"12793:22:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:86851,name:"bytes32",nodeType:"ElementaryTypeName",src:"12793:7:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:86857,initialValue:{arguments:[{id:86855,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"12841:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}],expression:{id:86853,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"12818:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:86854,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashWithdrawal",nodeType:"MemberAccess",referencedDeclaration:103911,src:"12818:22:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.WithdrawalTransaction memory) pure returns (bytes32)"}},id:86856,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12818:27:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"12793:52:134"},{assignments:[86860],declarations:[{constant:!1,id:86860,mutability:"mutable",name:"provenWithdrawal",nameLocation:"12879:16:134",nodeType:"VariableDeclaration",scope:86977,src:"12855:40:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal"},typeName:{id:86859,nodeType:"UserDefinedTypeName",pathNode:{id:86858,name:"ProvenWithdrawal",nodeType:"IdentifierPath",referencedDeclaration:86478,src:"12855:16:134"},referencedDeclaration:86478,src:"12855:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal"}},visibility:"internal"}],id:86864,initialValue:{baseExpression:{id:86861,name:"provenWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86500,src:"12898:17:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_struct$_ProvenWithdrawal_$86478_storage_$",typeString:"mapping(bytes32 => struct OptimismPortal.ProvenWithdrawal storage ref)"}},id:86863,indexExpression:{id:86862,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86852,src:"12916:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"12898:33:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_storage",typeString:"struct OptimismPortal.ProvenWithdrawal storage ref"}},nodeType:"VariableDeclarationStatement",src:"12855:76:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint128",typeString:"uint128"},id:86869,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86866,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86860,src:"13181:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86867,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:86475,src:"13181:26:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{hexValue:"30",id:86868,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"13211:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"13181:31:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e6f74206265656e2070726f76656e20796574",id:86870,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"13214:52:134",typeDescriptions:{typeIdentifier:"t_stringliteral_bc94f9f4f2ecd47ddd807efca122bcc34325481f7fe9d60687e25c709aff1610",typeString:'literal_string "OptimismPortal: withdrawal has not been proven yet"'},value:"OptimismPortal: withdrawal has not been proven yet"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_bc94f9f4f2ecd47ddd807efca122bcc34325481f7fe9d60687e25c709aff1610",typeString:'literal_string "OptimismPortal: withdrawal has not been proven yet"'}],id:86865,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"13173:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86871,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13173:94:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86872,nodeType:"ExpressionStatement",src:"13173:94:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:86879,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86874,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86860,src:"13554:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86875,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:86475,src:"13554:26:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:86876,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"13584:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:86877,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"startingTimestamp",nodeType:"MemberAccess",referencedDeclaration:85942,src:"13584:26:134",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:86878,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13584:28:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"13554:58:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657374616d70206c657373207468616e204c32204f7261636c65207374617274696e672074696d657374616d70",id:86880,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"13626:77:134",typeDescriptions:{typeIdentifier:"t_stringliteral_5c7c78dd7f8d5d79f2ff5ac1a4442209661a78fffa24392f88331b760a60bedd",typeString:'literal_string "OptimismPortal: withdrawal timestamp less than L2 Oracle starting timestamp"'},value:"OptimismPortal: withdrawal timestamp less than L2 Oracle starting timestamp"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_5c7c78dd7f8d5d79f2ff5ac1a4442209661a78fffa24392f88331b760a60bedd",typeString:'literal_string "OptimismPortal: withdrawal timestamp less than L2 Oracle starting timestamp"'}],id:86873,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"13533:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86881,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13533:180:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86882,nodeType:"ExpressionStatement",src:"13533:180:134"},{expression:{arguments:[{arguments:[{expression:{id:86885,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86860,src:"14132:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86886,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:86475,src:"14132:26:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],id:86884,name:"_isFinalizationPeriodElapsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87103,src:"14103:28:134",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_bool_$",typeString:"function (uint256) view returns (bool)"}},id:86887,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14103:56:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a2070726f76656e207769746864726177616c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c6170736564",id:86888,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"14173:71:134",typeDescriptions:{typeIdentifier:"t_stringliteral_98a66ca0d4a8e5a839585f0aa5b4b8fc94a946382443fc5580ee1ed6e6237f70",typeString:'literal_string "OptimismPortal: proven withdrawal finalization period has not elapsed"'},value:"OptimismPortal: proven withdrawal finalization period has not elapsed"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_98a66ca0d4a8e5a839585f0aa5b4b8fc94a946382443fc5580ee1ed6e6237f70",typeString:'literal_string "OptimismPortal: proven withdrawal finalization period has not elapsed"'}],id:86883,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"14082:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86889,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14082:172:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86890,nodeType:"ExpressionStatement",src:"14082:172:134"},{assignments:[86895],declarations:[{constant:!1,id:86895,mutability:"mutable",name:"proposal",nameLocation:"14453:8:134",nodeType:"VariableDeclaration",scope:86977,src:"14425:36:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal"},typeName:{id:86894,nodeType:"UserDefinedTypeName",pathNode:{id:86893,name:"Types.OutputProposal",nodeType:"IdentifierPath",referencedDeclaration:104307,src:"14425:20:134"},referencedDeclaration:104307,src:"14425:20:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_storage_ptr",typeString:"struct Types.OutputProposal"}},visibility:"internal"}],id:86901,initialValue:{arguments:[{expression:{id:86898,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86860,src:"14485:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86899,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"l2OutputIndex",nodeType:"MemberAccess",referencedDeclaration:86477,src:"14485:30:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],expression:{id:86896,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"14464:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:86897,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getL2Output",nodeType:"MemberAccess",referencedDeclaration:86275,src:"14464:20:134",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_struct$_OutputProposal_$104307_memory_ptr_$",typeString:"function (uint256) view external returns (struct Types.OutputProposal memory)"}},id:86900,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14464:52:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},nodeType:"VariableDeclarationStatement",src:"14425:91:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:86907,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86903,name:"proposal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86895,src:"14804:8:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},id:86904,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"outputRoot",nodeType:"MemberAccess",referencedDeclaration:104302,src:"14804:19:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:86905,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86860,src:"14827:16:134",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$86478_memory_ptr",typeString:"struct OptimismPortal.ProvenWithdrawal memory"}},id:86906,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"outputRoot",nodeType:"MemberAccess",referencedDeclaration:86473,src:"14827:27:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"14804:50:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a206f757470757420726f6f742070726f76656e206973206e6f74207468652073616d652061732063757272656e74206f757470757420726f6f74",id:86908,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"14868:75:134",typeDescriptions:{typeIdentifier:"t_stringliteral_2bee9e90a055fc3fdea28727a1d039ffb281ae00c8962ca3262d0dabb187a280",typeString:'literal_string "OptimismPortal: output root proven is not the same as current output root"'},value:"OptimismPortal: output root proven is not the same as current output root"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_2bee9e90a055fc3fdea28727a1d039ffb281ae00c8962ca3262d0dabb187a280",typeString:'literal_string "OptimismPortal: output root proven is not the same as current output root"'}],id:86902,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"14783:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86909,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14783:170:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86910,nodeType:"ExpressionStatement",src:"14783:170:134"},{expression:{arguments:[{arguments:[{expression:{id:86913,name:"proposal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86895,src:"15081:8:134",typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},id:86914,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:104304,src:"15081:18:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],id:86912,name:"_isFinalizationPeriodElapsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87103,src:"15052:28:134",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_bool_$",typeString:"function (uint256) view returns (bool)"}},id:86915,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15052:48:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2066696e616c697a6174696f6e20706572696f6420686173206e6f7420656c6170736564",id:86916,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"15114:69:134",typeDescriptions:{typeIdentifier:"t_stringliteral_e2e53e5f2e5c146290963511529e48aa3e1570a42475ccc1fb3eba5190175c74",typeString:'literal_string "OptimismPortal: output proposal finalization period has not elapsed"'},value:"OptimismPortal: output proposal finalization period has not elapsed"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_e2e53e5f2e5c146290963511529e48aa3e1570a42475ccc1fb3eba5190175c74",typeString:'literal_string "OptimismPortal: output proposal finalization period has not elapsed"'}],id:86911,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"15031:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86917,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15031:162:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86918,nodeType:"ExpressionStatement",src:"15031:162:134"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:86924,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{baseExpression:{id:86920,name:"finalizedWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86494,src:"15309:20:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"}},id:86922,indexExpression:{id:86921,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86852,src:"15330:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"15309:36:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"66616c7365",id:86923,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"15349:5:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},src:"15309:45:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c2068617320616c7265616479206265656e2066696e616c697a6564",id:86925,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"15356:55:134",typeDescriptions:{typeIdentifier:"t_stringliteral_2a1157cbf4171a399f26106a5211324151853c78d2faca1fb1d3acbf755aa485",typeString:'literal_string "OptimismPortal: withdrawal has already been finalized"'},value:"OptimismPortal: withdrawal has already been finalized"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_2a1157cbf4171a399f26106a5211324151853c78d2faca1fb1d3acbf755aa485",typeString:'literal_string "OptimismPortal: withdrawal has already been finalized"'}],id:86919,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"15301:7:134",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:86926,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15301:111:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86927,nodeType:"ExpressionStatement",src:"15301:111:134"},{expression:{id:86932,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:86928,name:"finalizedWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86494,src:"15492:20:134",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"}},id:86930,indexExpression:{id:86929,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86852,src:"15513:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"15492:36:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:86931,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"15531:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"15492:43:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86933,nodeType:"ExpressionStatement",src:"15492:43:134"},{expression:{id:86937,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86934,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86489,src:"15629:8:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:86935,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"15640:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86936,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",referencedDeclaration:104339,src:"15640:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"15629:21:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:86938,nodeType:"ExpressionStatement",src:"15629:21:134"},{assignments:[86940],declarations:[{constant:!1,id:86940,mutability:"mutable",name:"success",nameLocation:"16275:7:134",nodeType:"VariableDeclaration",scope:86977,src:"16270:12:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:86939,name:"bool",nodeType:"ElementaryTypeName",src:"16270:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],id:86952,initialValue:{arguments:[{expression:{id:86943,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"16309:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86944,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"16309:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:86945,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"16321:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86946,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"gasLimit",nodeType:"MemberAccess",referencedDeclaration:104345,src:"16321:12:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:86947,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"16335:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86948,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",referencedDeclaration:104343,src:"16335:9:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:86949,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86838,src:"16346:3:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:86950,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"data",nodeType:"MemberAccess",referencedDeclaration:104347,src:"16346:8:134",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:86941,name:"SafeCall",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104213,src:"16285:8:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SafeCall_$104213_$",typeString:"type(library SafeCall)"}},id:86942,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"callWithMinGas",nodeType:"MemberAccess",referencedDeclaration:104212,src:"16285:23:134",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$",typeString:"function (address,uint256,uint256,bytes memory) returns (bool)"}},id:86951,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16285:70:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"VariableDeclarationStatement",src:"16270:85:134"},{expression:{id:86956,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:86953,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86489,src:"16423:8:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:86954,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"16434:9:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:86955,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"16434:27:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"16423:38:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:86957,nodeType:"ExpressionStatement",src:"16423:38:134"},{eventCall:{arguments:[{id:86959,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86852,src:"16640:14:134",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{id:86960,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86940,src:"16656:7:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bool",typeString:"bool"}],id:86958,name:"WithdrawalFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86542,src:"16620:19:134",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_bytes32_$_t_bool_$returns$__$",typeString:"function (bytes32,bool)"}},id:86961,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16620:44:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86962,nodeType:"EmitStatement",src:"16615:49:134"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:86971,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:86965,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86963,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86940,src:"16928:7:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{hexValue:"66616c7365",id:86964,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"16939:5:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},src:"16928:16:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:86970,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:86966,name:"tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-26,src:"16948:2:134",typeDescriptions:{typeIdentifier:"t_magic_transaction",typeString:"tx"}},id:86967,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"origin",nodeType:"MemberAccess",src:"16948:9:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:86968,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"16961:9:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:86969,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"ESTIMATION_ADDRESS",nodeType:"MemberAccess",referencedDeclaration:103054,src:"16961:28:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"16948:41:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"16928:61:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:86976,nodeType:"IfStatement",src:"16924:114:134",trueBody:{id:86975,nodeType:"Block",src:"16991:47:134",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:86972,name:"GasEstimation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103993,src:"17012:13:134",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:86973,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17012:15:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:86974,nodeType:"RevertStatement",src:"17005:22:134"}]}}]},documentation:{id:86835,nodeType:"StructuredDocumentation",src:"12119:102:134",text:`@notice Finalizes a withdrawal transaction. + @param _tx Withdrawal transaction to finalize.`},functionSelector:"8c3152e9",implemented:!0,kind:"function",modifiers:[{id:86841,kind:"modifierInvocation",modifierName:{id:86840,name:"whenNotPaused",nodeType:"IdentifierPath",referencedDeclaration:86553,src:"12314:13:134"},nodeType:"ModifierInvocation",src:"12314:13:134"}],name:"finalizeWithdrawalTransaction",nameLocation:"12235:29:134",parameters:{id:86839,nodeType:"ParameterList",parameters:[{constant:!1,id:86838,mutability:"mutable",name:"_tx",nameLocation:"12300:3:134",nodeType:"VariableDeclaration",scope:86978,src:"12265:38:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction"},typeName:{id:86837,nodeType:"UserDefinedTypeName",pathNode:{id:86836,name:"Types.WithdrawalTransaction",nodeType:"IdentifierPath",referencedDeclaration:104348,src:"12265:27:134"},referencedDeclaration:104348,src:"12265:27:134",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_storage_ptr",typeString:"struct Types.WithdrawalTransaction"}},visibility:"internal"}],src:"12264:40:134"},returnParameters:{id:86842,nodeType:"ParameterList",parameters:[],src:"12328:0:134"},scope:87104,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:87068,nodeType:"FunctionDefinition",src:"17774:1855:134",nodes:[],body:{id:87067,nodeType:"Block",src:"17995:1634:134",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:87002,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86995,name:"_isCreation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86987,src:"18134:11:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87001,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:86996,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86981,src:"18149:3:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:86999,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"18164:1:134",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:86998,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18156:7:134",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:86997,name:"address",nodeType:"ElementaryTypeName",src:"18156:7:134",typeDescriptions:{}}},id:87e3,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18156:10:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"18149:17:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"18134:32:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87006,nodeType:"IfStatement",src:"18130:56:134",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87003,name:"BadTarget",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103969,src:"18175:9:134",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87004,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18175:11:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87005,nodeType:"RevertStatement",src:"18168:18:134"}},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87015,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87007,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86985,src:"18338:9:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{arguments:[{arguments:[{expression:{id:87011,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86989,src:"18373:5:134",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:87012,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"18373:12:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:87010,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18366:6:134",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:87009,name:"uint64",nodeType:"ElementaryTypeName",src:"18366:6:134",typeDescriptions:{}}},id:87013,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18366:20:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],id:87008,name:"minimumGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86666,src:"18350:15:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint64_$returns$_t_uint64_$",typeString:"function (uint64) pure returns (uint64)"}},id:87014,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18350:37:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"18338:49:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87019,nodeType:"IfStatement",src:"18334:77:134",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87016,name:"SmallGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103975,src:"18396:13:134",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87017,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18396:15:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87018,nodeType:"RevertStatement",src:"18389:22:134"}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87023,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87020,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86989,src:"18786:5:134",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:87021,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"18786:12:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"3132305f303030",id:87022,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"18801:7:134",typeDescriptions:{typeIdentifier:"t_rational_120000_by_1",typeString:"int_const 120000"},value:"120_000"},src:"18786:22:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87027,nodeType:"IfStatement",src:"18782:50:134",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87024,name:"LargeCalldata",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103972,src:"18817:13:134",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87025,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18817:15:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87026,nodeType:"RevertStatement",src:"18810:22:134"}},{assignments:[87029],declarations:[{constant:!1,id:87029,mutability:"mutable",name:"from",nameLocation:"18931:4:134",nodeType:"VariableDeclaration",scope:87067,src:"18923:12:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87028,name:"address",nodeType:"ElementaryTypeName",src:"18923:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:87032,initialValue:{expression:{id:87030,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"18938:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87031,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"18938:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"18923:25:134"},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87037,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87033,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"18962:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87034,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"18962:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:87035,name:"tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-26,src:"18976:2:134",typeDescriptions:{typeIdentifier:"t_magic_transaction",typeString:"tx"}},id:87036,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"origin",nodeType:"MemberAccess",src:"18976:9:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"18962:23:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87047,nodeType:"IfStatement",src:"18958:108:134",trueBody:{id:87046,nodeType:"Block",src:"18987:79:134",statements:[{expression:{id:87044,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87038,name:"from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87029,src:"19001:4:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{expression:{id:87041,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19044:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87042,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"19044:10:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{id:87039,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"19008:18:134",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_AddressAliasHelper_$111913_$",typeString:"type(library AddressAliasHelper)"}},id:87040,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"applyL1ToL2Alias",nodeType:"MemberAccess",referencedDeclaration:111890,src:"19008:35:134",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_address_$returns$_t_address_$",typeString:"function (address) pure returns (address)"}},id:87043,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19008:47:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"19001:54:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87045,nodeType:"ExpressionStatement",src:"19001:54:134"}]}},{assignments:[87049],declarations:[{constant:!1,id:87049,mutability:"mutable",name:"opaqueData",nameLocation:"19336:10:134",nodeType:"VariableDeclaration",scope:87067,src:"19323:23:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:87048,name:"bytes",nodeType:"ElementaryTypeName",src:"19323:5:134",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],id:87059,initialValue:{arguments:[{expression:{id:87052,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19366:3:134",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87053,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"19366:9:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87054,name:"_value",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86983,src:"19377:6:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87055,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86985,src:"19385:9:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{id:87056,name:"_isCreation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86987,src:"19396:11:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{id:87057,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86989,src:"19409:5:134",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:87050,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"19349:3:134",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:87051,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encodePacked",nodeType:"MemberAccess",src:"19349:16:134",typeDescriptions:{typeIdentifier:"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:87058,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19349:66:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"VariableDeclarationStatement",src:"19323:92:134"},{eventCall:{arguments:[{id:87061,name:"from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87029,src:"19583:4:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:87062,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86981,src:"19589:3:134",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:87063,name:"DEPOSIT_VERSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86482,src:"19594:15:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87064,name:"opaqueData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87049,src:"19611:10:134",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:87060,name:"TransactionDeposited",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86526,src:"19562:20:134",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:87065,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19562:60:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87066,nodeType:"EmitStatement",src:"19557:65:134"}]},documentation:{id:86979,nodeType:"StructuredDocumentation",src:"17050:719:134",text:`@notice Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in + deriving deposit transactions. Note that if a deposit is made by a contract, its + address will be aliased when retrieved using \`tx.origin\` or \`msg.sender\`. Consider + using the CrossDomainMessenger contracts for a simpler developer experience. + @param _to Target address on L2. + @param _value ETH value to send to the recipient. + @param _gasLimit Amount of L2 gas to purchase by burning gas on L1. + @param _isCreation Whether or not the transaction is a contract creation. + @param _data Data to trigger the recipient with.`},functionSelector:"e9e05c42",implemented:!0,kind:"function",modifiers:[{arguments:[{id:86992,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86985,src:"17980:9:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],id:86993,kind:"modifierInvocation",modifierName:{id:86991,name:"metered",nodeType:"IdentifierPath",referencedDeclaration:88284,src:"17972:7:134"},nodeType:"ModifierInvocation",src:"17972:18:134"}],name:"depositTransaction",nameLocation:"17783:18:134",parameters:{id:86990,nodeType:"ParameterList",parameters:[{constant:!1,id:86981,mutability:"mutable",name:"_to",nameLocation:"17819:3:134",nodeType:"VariableDeclaration",scope:87068,src:"17811:11:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:86980,name:"address",nodeType:"ElementaryTypeName",src:"17811:7:134",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:86983,mutability:"mutable",name:"_value",nameLocation:"17840:6:134",nodeType:"VariableDeclaration",scope:87068,src:"17832:14:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:86982,name:"uint256",nodeType:"ElementaryTypeName",src:"17832:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:86985,mutability:"mutable",name:"_gasLimit",nameLocation:"17863:9:134",nodeType:"VariableDeclaration",scope:87068,src:"17856:16:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:86984,name:"uint64",nodeType:"ElementaryTypeName",src:"17856:6:134",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:86987,mutability:"mutable",name:"_isCreation",nameLocation:"17887:11:134",nodeType:"VariableDeclaration",scope:87068,src:"17882:16:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:86986,name:"bool",nodeType:"ElementaryTypeName",src:"17882:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},{constant:!1,id:86989,mutability:"mutable",name:"_data",nameLocation:"17921:5:134",nodeType:"VariableDeclaration",scope:87068,src:"17908:18:134",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:86988,name:"bytes",nodeType:"ElementaryTypeName",src:"17908:5:134",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"17801:131:134"},returnParameters:{id:86994,nodeType:"ParameterList",parameters:[],src:"17995:0:134"},scope:87104,stateMutability:"payable",virtual:!1,visibility:"public"},{id:87085,nodeType:"FunctionDefinition",src:"19926:180:134",nodes:[],body:{id:87084,nodeType:"Block",src:"20006:100:134",nodes:[],statements:[{expression:{arguments:[{expression:{arguments:[{id:87079,name:"_l2OutputIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87071,src:"20073:14:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:87077,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"20052:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:87078,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getL2Output",nodeType:"MemberAccess",referencedDeclaration:86275,src:"20052:20:134",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_struct$_OutputProposal_$104307_memory_ptr_$",typeString:"function (uint256) view external returns (struct Types.OutputProposal memory)"}},id:87080,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20052:36:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_OutputProposal_$104307_memory_ptr",typeString:"struct Types.OutputProposal memory"}},id:87081,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:104304,src:"20052:46:134",typeDescriptions:{typeIdentifier:"t_uint128",typeString:"uint128"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint128",typeString:"uint128"}],id:87076,name:"_isFinalizationPeriodElapsed",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87103,src:"20023:28:134",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_uint256_$returns$_t_bool_$",typeString:"function (uint256) view returns (bool)"}},id:87082,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20023:76:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:87075,id:87083,nodeType:"Return",src:"20016:83:134"}]},documentation:{id:87069,nodeType:"StructuredDocumentation",src:"19635:286:134",text:`@notice Determine if a given output is finalized. + Reverts if the call to l2Oracle.getL2Output reverts. + Returns a boolean otherwise. + @param _l2OutputIndex Index of the L2 output to check. + @return Whether or not the output is finalized.`},functionSelector:"6dbffb78",implemented:!0,kind:"function",modifiers:[],name:"isOutputFinalized",nameLocation:"19935:17:134",parameters:{id:87072,nodeType:"ParameterList",parameters:[{constant:!1,id:87071,mutability:"mutable",name:"_l2OutputIndex",nameLocation:"19961:14:134",nodeType:"VariableDeclaration",scope:87085,src:"19953:22:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87070,name:"uint256",nodeType:"ElementaryTypeName",src:"19953:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"19952:24:134"},returnParameters:{id:87075,nodeType:"ParameterList",parameters:[{constant:!1,id:87074,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87085,src:"20000:4:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87073,name:"bool",nodeType:"ElementaryTypeName",src:"20000:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"19999:6:134"},scope:87104,stateMutability:"view",virtual:!1,visibility:"external"},{id:87103,nodeType:"FunctionDefinition",src:"20359:180:134",nodes:[],body:{id:87102,nodeType:"Block",src:"20446:93:134",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87100,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87093,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"20463:5:134",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87094,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"20463:15:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87099,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87095,name:"_timestamp",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87088,src:"20481:10:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87096,name:"l2Oracle",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:86511,src:"20494:8:134",typeDescriptions:{typeIdentifier:"t_contract$_L2OutputOracle_$86435",typeString:"contract L2OutputOracle"}},id:87097,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"FINALIZATION_PERIOD_SECONDS",nodeType:"MemberAccess",referencedDeclaration:86121,src:"20494:36:134",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_uint256_$",typeString:"function () view external returns (uint256)"}},id:87098,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20494:38:134",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20481:51:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"20463:69:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:87092,id:87101,nodeType:"Return",src:"20456:76:134"}]},documentation:{id:87086,nodeType:"StructuredDocumentation",src:"20112:242:134",text:`@notice Determines whether the finalization period has elapsed with respect to + the provided block timestamp. + @param _timestamp Timestamp to check. + @return Whether or not the finalization period has elapsed.`},implemented:!0,kind:"function",modifiers:[],name:"_isFinalizationPeriodElapsed",nameLocation:"20368:28:134",parameters:{id:87089,nodeType:"ParameterList",parameters:[{constant:!1,id:87088,mutability:"mutable",name:"_timestamp",nameLocation:"20405:10:134",nodeType:"VariableDeclaration",scope:87103,src:"20397:18:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87087,name:"uint256",nodeType:"ElementaryTypeName",src:"20397:7:134",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"20396:20:134"},returnParameters:{id:87092,nodeType:"ParameterList",parameters:[{constant:!1,id:87091,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87103,src:"20440:4:134",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87090,name:"bool",nodeType:"ElementaryTypeName",src:"20440:4:134",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"20439:6:134"},scope:87104,stateMutability:"view",virtual:!1,visibility:"internal"}],abstract:!1,baseContracts:[{baseName:{id:86466,name:"Initializable",nodeType:"IdentifierPath",referencedDeclaration:49678,src:"1267:13:134"},id:86467,nodeType:"InheritanceSpecifier",src:"1267:13:134"},{baseName:{id:86468,name:"ResourceMetering",nodeType:"IdentifierPath",referencedDeclaration:88581,src:"1282:16:134"},id:86469,nodeType:"InheritanceSpecifier",src:"1282:16:134"},{baseName:{id:86470,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1300:7:134"},id:86471,nodeType:"InheritanceSpecifier",src:"1300:7:134"}],canonicalName:"OptimismPortal",contractDependencies:[],contractKind:"contract",documentation:{id:86465,nodeType:"StructuredDocumentation",src:"902:338:134",text:`@custom:proxied + @title OptimismPortal + @notice The OptimismPortal is a low-level contract responsible for passing messages between L1 + and L2. Messages sent directly to the OptimismPortal have no form of replayability. + Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.`},fullyImplemented:!0,linearizedBaseContracts:[87104,109417,88581,49678],name:"OptimismPortal",nameLocation:"1249:14:134",scope:87105,usedErrors:[88238,103969,103972,103975,103990,103993]}],license:"MIT"},id:134}});var VYe=B((ola,gj0)=>{gj0.exports={abi:[{type:"constructor",inputs:[{name:"_proofMaturityDelaySeconds",type:"uint256",internalType:"uint256"},{name:"_disputeGameFinalityDelaySeconds",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"blacklistDisputeGame",inputs:[{name:"_disputeGame",type:"address",internalType:"contract IDisputeGame"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkWithdrawal",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"view"},{type:"function",name:"depositTransaction",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_gasLimit",type:"uint64",internalType:"uint64"},{name:"_isCreation",type:"bool",internalType:"bool"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"disputeGameBlacklist",inputs:[{name:"",type:"address",internalType:"contract IDisputeGame"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"disputeGameFactory",inputs:[],outputs:[{name:"",type:"address",internalType:"contract DisputeGameFactory"}],stateMutability:"view"},{type:"function",name:"disputeGameFinalityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"donateETH",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"finalizeWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizeWithdrawalTransactionExternalProof",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_proofSubmitter",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"finalizedWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"guardian",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_disputeGameFactory",type:"address",internalType:"contract DisputeGameFactory"},{name:"_systemConfig",type:"address",internalType:"contract SystemConfig"},{name:"_superchainConfig",type:"address",internalType:"contract SuperchainConfig"},{name:"_initialRespectedGameType",type:"uint32",internalType:"GameType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"l2Sender",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"minimumGasLimit",inputs:[{name:"_byteCount",type:"uint64",internalType:"uint64"}],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"pure"},{type:"function",name:"numProofSubmitters",inputs:[{name:"_withdrawalHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"params",inputs:[],outputs:[{name:"prevBaseFee",type:"uint128",internalType:"uint128"},{name:"prevBoughtGas",type:"uint64",internalType:"uint64"},{name:"prevBlockNum",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"paused",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"proofMaturityDelaySeconds",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proofSubmitters",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proveWithdrawalTransaction",inputs:[{name:"_tx",type:"tuple",internalType:"struct Types.WithdrawalTransaction",components:[{name:"nonce",type:"uint256",internalType:"uint256"},{name:"sender",type:"address",internalType:"address"},{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"gasLimit",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}]},{name:"_disputeGameIndex",type:"uint256",internalType:"uint256"},{name:"_outputRootProof",type:"tuple",internalType:"struct Types.OutputRootProof",components:[{name:"version",type:"bytes32",internalType:"bytes32"},{name:"stateRoot",type:"bytes32",internalType:"bytes32"},{name:"messagePasserStorageRoot",type:"bytes32",internalType:"bytes32"},{name:"latestBlockhash",type:"bytes32",internalType:"bytes32"}]},{name:"_withdrawalProof",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"provenWithdrawals",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"disputeGameProxy",type:"address",internalType:"contract IDisputeGame"},{name:"timestamp",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"respectedGameType",inputs:[],outputs:[{name:"",type:"uint32",internalType:"GameType"}],stateMutability:"view"},{type:"function",name:"respectedGameTypeUpdatedAt",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"setRespectedGameType",inputs:[{name:"_gameType",type:"uint32",internalType:"GameType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"superchainConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SuperchainConfig"}],stateMutability:"view"},{type:"function",name:"systemConfig",inputs:[],outputs:[{name:"",type:"address",internalType:"contract SystemConfig"}],stateMutability:"view"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"TransactionDeposited",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"version",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opaqueData",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"WithdrawalFinalized",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"success",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"WithdrawalProven",inputs:[{name:"withdrawalHash",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"BadTarget",inputs:[]},{type:"error",name:"CallPaused",inputs:[]},{type:"error",name:"GasEstimation",inputs:[]},{type:"error",name:"LargeCalldata",inputs:[]},{type:"error",name:"OutOfGas",inputs:[]},{type:"error",name:"SmallGasLimit",inputs:[]},{type:"error",name:"Unauthorized",inputs:[]}],bytecode:{object:"0x60c06040523480156200001157600080fd5b5060405162005cbd38038062005cbd8339810160408190526200003491620002f2565b608082905260a08190526200004d600080808062000055565b505062000317565b600054610100900460ff1615808015620000765750600054600160ff909116105b80620000a6575062000093306200022460201b620020d41760201c565b158015620000a6575060005460ff166001145b6200010f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000133576000805461ff0019166101001790555b603880546001600160a01b03199081166001600160a01b03888116919091179092556037805490911686831617905560358054610100600160a81b0319166101008684160217905560325416620001cc576032805461dead6001600160a01b0319909116179055603b80546001600160601b031916640100000000426001600160401b03160263ffffffff19161763ffffffff84161790555b620001d662000233565b80156200021d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6001600160a01b03163b151590565b600054610100900460ff16620002a05760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840162000106565b600154600160c01b90046001600160401b0316600003620002f05760408051606081018252633b9aca0080825260006020830152436001600160401b031691909201819052600160c01b02176001555b565b600080604083850312156200030657600080fd5b505080516020909101519092909150565b60805160a0516159726200034b600039600081816104c30152611a4601526000818161063a015261168401526159726000f3fe6080604052600436106101b05760003560e01c80637fc48504116100ec578063a35d99df1161008a578063bf653a5c11610064578063bf653a5c1461062b578063cff0ab961461065e578063e9e05c42146106ff578063f2b4e6171461071257600080fd5b8063a35d99df14610544578063a3860f4814610564578063bb2c727e1461058457600080fd5b80638e819e54116100c65780638e819e5414610494578063952b2797146104b45780639bf62d82146104e7578063a14238e71461051457600080fd5b80637fc48504146104545780638b4c40b0146101d55780638c3152e91461047457600080fd5b80634870496f1161015957806354fd4d501161013357806354fd4d50146103a95780635c975abb146103ff57806371c1566e146104145780637d6be8dc1461043457600080fd5b80634870496f1461030c5780634fd0434c1461032c578063513747ab1461036e57600080fd5b806343ca1c501161018a57806343ca1c5014610297578063452a9320146102b757806345884d32146102cc57600080fd5b806333d7e2bd146101dc57806335e80ab3146102335780633c9f397c1461026557600080fd5b366101d7576101d53334620186a060006040518060200160405280600081525061073f565b005b600080fd5b3480156101e857600080fd5b506037546102099073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561023f57600080fd5b5060355461020990610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561027157600080fd5b50603b546102829063ffffffff1681565b60405163ffffffff909116815260200161022a565b3480156102a357600080fd5b506101d56102b2366004614e15565b6108fc565b3480156102c357600080fd5b50610209610b5a565b3480156102d857600080fd5b506102fc6102e7366004614e67565b603a6020526000908152604090205460ff1681565b604051901515815260200161022a565b34801561031857600080fd5b506101d5610327366004614e84565b610bf2565b34801561033857600080fd5b50603b5461035590640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161022a565b34801561037a57600080fd5b5061039b610389366004614f60565b6000908152603c602052604090205490565b60405190815260200161022a565b3480156103b557600080fd5b506103f26040518060400160405280600581526020017f332e382e3000000000000000000000000000000000000000000000000000000081525081565b60405161022a9190614fef565b34801561040b57600080fd5b506102fc6112d6565b34801561042057600080fd5b506101d561042f366004615002565b611369565b34801561044057600080fd5b506101d561044f366004614e67565b611bfa565b34801561046057600080fd5b506101d561046f366004615039565b611cb5565b34801561048057600080fd5b506101d561048f366004615056565b611d6f565b3480156104a057600080fd5b506101d56104af366004615093565b611dbb565b3480156104c057600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061039b565b3480156104f357600080fd5b506032546102099073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052057600080fd5b506102fc61052f366004614f60565b60336020526000908152604090205460ff1681565b34801561055057600080fd5b5061035561055f366004615105565b612070565b34801561057057600080fd5b5061020961057f366004615122565b61208f565b34801561059057600080fd5b506105f661059f366004615002565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff90911660208301520161022a565b34801561063757600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061039b565b34801561066a57600080fd5b506001546106c6906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff928316602085015291169082015260600161022a565b6101d561070d366004615152565b61073f565b34801561071e57600080fd5b506038546102099073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050838015610767575073ffffffffffffffffffffffffffffffffffffffff871615155b1561079e576040517f13496fda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107a88351612070565b67ffffffffffffffff168567ffffffffffffffff1610156107f5576040517f4929b80800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201d4c083511115610833576040517f73052b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33328114610854575033731111000000000000000000000000000000001111015b6000348888888860405160200161086f9594939291906151d1565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32846040516108df9190614fef565b60405180910390a450506108f382826120f0565b50505050505050565b6109046112d6565b1561093b576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60325473ffffffffffffffffffffffffffffffffffffffff1661dead146109e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e0060648201526084015b60405180910390fd5b60006109f4836123c7565b9050610a008183611369565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610aa293929190612414565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610b0790841515815260200190565b60405180910390a280158015610b1d5750326001145b15610b54576040517feeae4ed300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed9190615236565b905090565b610bfa6112d6565b15610c31576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610cf0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e74726163740060648201526084016109e0565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190615253565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfe91906152a0565b603b5490915063ffffffff848116911614610e9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016109e0565b610eb2610ead368890038801886152b9565b612472565b8114610f40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f66000000000000000000000000000000000000000000000060648201526084016109e0565b6000610f4b896123c7565b905060018373ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbe919061534e565b6002811115610fcf57610fcf61531f565b0361105c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d657300000000000060648201526084016109e0565b60408051602081018390526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012090830181905292506111259101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f010000000000000000000000000000000000000000000000000000000000000060208301529061111b898b61536f565b8b604001356124b1565b6111b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f66000000000000000000000000000060648201526084016109e0565b60408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff4281166020808501918252600088815260398252868120338252825286812095518654935190941674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090931693851693909317919091179093558d840151928e01519351928216939091169185917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6291a4506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906153f3565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff161561146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c697374656400000000000000000000000000000060648201526084016109e0565b816020015167ffffffffffffffff16600003611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a4016109e0565b60006115b38273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190615410565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a4016109e0565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff16426116bd919061545c565b1161174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d61747572656420796574000000000000000000000060648201526084016109e0565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb919061534e565b60028111156117cc576117cc61531f565b14611859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c6964617465640000000000000000000060648201526084016109e0565b603b5463ffffffff1663ffffffff166118e38373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118da9190615473565b63ffffffff1690565b63ffffffff1614611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016109e0565b603b5467ffffffffffffffff64010000000090910481169082161015611a44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a4016109e0565b7f0000000000000000000000000000000000000000000000000000000000000000611ab38373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611582573d6000803e3d6000fd5b611ac79067ffffffffffffffff164261545c565b11611b54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d6761700000000000000000000000000000000000000000000060648201526084016109e0565b60008581526033602052604090205460ff1615611bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a6564000000000000000000000060648201526084016109e0565b5050505050565b611c02610b5a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c66576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611cbd610b5a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d21576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b611d776112d6565b15611dae576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611db881336108fc565b50565b600054610100900460ff1615808015611ddb5750600054600160ff909116105b80611df55750303b158015611df5575060005460ff166001145b611e81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016109e0565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611edf57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8881169190911790925560378054909116868316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008684160217905560325416611fff576032805461dead7fffffffffffffffffffffffff0000000000000000000000000000000000000000909116179055603b80547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166401000000004267ffffffffffffffff16027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000161763ffffffff84161790555b6120076124d5565b8015611bf357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050505050565b600061207d826010615490565b612089906152086154c0565b92915050565b603c60205281600052604060002081815481106120ab57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090612126907801000000000000000000000000000000000000000000000000900467ffffffffffffffff164361545c565b905060006121326125e8565b90506000816020015160ff16826000015163ffffffff16612153919061551b565b9050821561228a5760015460009061218a908390700100000000000000000000000000000000900467ffffffffffffffff16615583565b90506000836040015160ff16836121a191906155f7565b6001546121c19084906fffffffffffffffffffffffffffffffff166155f7565b6121cb919061551b565b60015490915060009061221c906121f59084906fffffffffffffffffffffffffffffffff166156b3565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff166126a9565b9050600186111561224b576122486121f582876040015160ff1660018a612243919061545c565b6126c8565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b600180548691906010906122bd908490700100000000000000000000000000000000900467ffffffffffffffff166154c0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff16131561234a576040517f77ebef4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154600090612376906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615727565b9050600061238848633b9aca0061271d565b6123929083615764565b905060005a6123a1908861545c565b9050808211156123bd576123bd6123b8828461545c565b612734565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976123f7979096959101615778565b604051602081830303815290604052805190602001209050919050565b6000806000612424866000612762565b90508061245a576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016123f7949392919093845260208401929092526040830152606082015260800190565b6000806124bd86612780565b90506124cb818686866127b2565b9695505050505050565b600054610100900460ff1661256c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016109e0565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff16600003611d6d5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612685573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906157e5565b60006126be6126b885856127e2565b836127f2565b90505b9392505050565b6000670de0b6b3a76400006127096126e0858361551b565b6126f290670de0b6b3a7640000615583565b61270485670de0b6b3a76400006155f7565b612801565b61271390866155f7565b6126be919061551b565b60008183101561272d57816126c1565b5090919050565b6000805a90505b825a612747908361545c565b101561275d57612756826158a1565b915061273b565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6060818051906020012060405160200161279c91815260200190565b6040516020818303038152906040529050919050565b60006127d9846127c3878686612832565b8051602091820120825192909101919091201490565b95945050505050565b60008183121561272d57816126c1565b600081831261272d57816126c1565b60006126c1670de0b6b3a764000083612819866132b0565b61282391906155f7565b61282d919061551b565b6134f4565b6060600084511161289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b6579000000000000000000000060448201526064016109e0565b60006128aa84613733565b905060006128b78661381f565b90506000846040516020016128ce91815260200190565b60405160208183030381529060405290506000805b8451811015613227576000858281518110612900576129006158d9565b60200260200101519050845183111561299b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e67746800000000000000000000000000000000000060648201526084016109e0565b82600003612a5457805180516020918201206040516129e9926129c392910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f74206861736800000060448201526064016109e0565b612bab565b805151602011612b0a5780518051602091820120604051612a7e926129c392910190815260200190565b612a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c20686173680000000000000000000000000000000000000000000000000060648201526084016109e0565b805184516020808701919091208251919092012014612bab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f652068617368000000000000000000000000000000000000000000000000000060648201526084016109e0565b612bb760106001615908565b81602001515103612d935784518303612d2b57612bf18160200151601081518110612be457612be46158d9565b6020026020010151613882565b96506000875111612c84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e636829000000000060648201526084016109e0565b60018651612c92919061545c565b8214612d20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e63682900000000000060648201526084016109e0565b5050505050506126c1565b6000858481518110612d3f57612d3f6158d9565b602001015160f81c60f81b60f81c9050600082602001518260ff1681518110612d6a57612d6a6158d9565b60200260200101519050612d7d816139e2565b9550612d8a600186615908565b94505050613214565b60028160200151510361318c576000612dab82613a07565b9050600081600081518110612dc257612dc26158d9565b016020015160f81c90506000612dd9600283615920565b612de4906002615942565b90506000612df5848360ff16613a2b565b90506000612e038a89613a2b565b90506000612e118383613a61565b905080835114612ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b657900000000000060648201526084016109e0565b60ff851660021480612eb8575060ff85166003145b156130a75780825114612f4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e64657200000060648201526084016109e0565b612f678760200151600181518110612be457612be46158d9565b9c5060008d5111612ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c656166290000000000000060648201526084016109e0565b60018c51613008919061545c565b8814613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c65616629000000000000000060648201526084016109e0565b5050505050505050505050506126c1565b60ff851615806130ba575060ff85166001145b156130f9576130e687602001516001815181106130d9576130d96158d9565b60200260200101516139e2565b99506130f2818a615908565b9850613181565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e20707265666978000000000000000000000000000060648201526084016109e0565b505050505050613214565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f646500000000000000000000000000000000000000000000000060648201526084016109e0565b508061321f816158a1565b9150506128e3565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e747300000000000000000000000000000000000000000000000000000060648201526084016109e0565b600080821361331b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e4544000000000000000000000000000000000000000000000060448201526064016109e0565b6000606061332884613b15565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c1821361352557506000919050565b680755bf798b4a1bf1e58212613597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f57000000000000000000000000000000000000000060448201526064016109e0565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff81111561375157613751614c38565b60405190808252806020026020018201604052801561379657816020015b604080518082019091526060808252602082015281526020019060019003908161376f5790505b50915060005b818110156138185760405180604001604052808583815181106137c1576137c16158d9565b602002602001015181526020016137f08684815181106137e3576137e36158d9565b6020026020010151613beb565b815250838281518110613805576138056158d9565b602090810291909101015260010161379c565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613877578060011b82018184015160001a8060041c8253600f811660018301535050600101613849565b509295945050505050565b6060600080600061389285613bfe565b9194509250905060008160018111156138ad576138ad61531f565b1461393a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d0000000000000060648201526084016109e0565b6139448284615908565b8551146139d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e64657200000000000000000000000060648201526084016109e0565b6127d98560200151848461466b565b606060208260000151106139fe576139f982613882565b612089565b612089826146ff565b6060612089613a268360200151600081518110612be457612be46158d9565b61381f565b606082518210613a4a5750604080516020810190915260008152612089565b6126c18383848651613a5c919061545c565b614715565b6000808251845110613a74578251613a77565b83515b90505b8082108015613afe5750828281518110613a9657613a966158d9565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848381518110613ad557613ad56158d9565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b15613b0e57816001019150613a7a565b5092915050565b6000808211613b80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e4544000000000000000000000000000000000000000000000060448201526064016109e0565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b6060612089613bf9836148ed565b6149d6565b600080600080846000015111613cbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a4016109e0565b6020840151805160001a607f8111613ce1576000600160009450945094505050614664565b60b78111613eef576000613cf660808361545c565b905080876000015111613db1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a4016109e0565b6001838101517fff00000000000000000000000000000000000000000000000000000000000000169082141580613e2a57507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613edc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a4016109e0565b5060019550935060009250614664915050565b60bf811161423d576000613f0460b78361545c565b905080876000015111613fbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a4016109e0565b60018301517fff0000000000000000000000000000000000000000000000000000000000000016600081900361409d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a4016109e0565b600184015160088302610100031c60378111614161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a4016109e0565b61416b8184615908565b895111614220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a4016109e0565b61422b836001615908565b97509550600094506146649350505050565b60f7811161431e57600061425260c08361545c565b90508087600001511161430d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a4016109e0565b600195509350849250614664915050565b600061432b60f78361545c565b9050808760000151116143e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a4016109e0565b60018301517fff000000000000000000000000000000000000000000000000000000000000001660008190036144c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a4016109e0565b600184015160088302610100031c60378111614588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a4016109e0565b6145928184615908565b895111614647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a4016109e0565b614652836001615908565b97509550600194506146649350505050565b9193909250565b60608167ffffffffffffffff81111561468657614686614c38565b6040519080825280601f01601f1916602001820160405280156146b0576020820181803683370190505b50905081156126c15760006146c58486615908565b90506020820160005b848110156146e65782810151828201526020016146ce565b848111156146f5576000858301525b5050509392505050565b606061208982602001516000846000015161466b565b60608182601f011015614784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f7700000000000000000000000000000000000060448201526064016109e0565b8282840110156147f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f7700000000000000000000000000000000000060448201526064016109e0565b8183018451101561485d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e647300000000000000000000000000000060448201526064016109e0565b60608215801561487c57604051915060008252602082016040526148e4565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156148b557805183526020928301920161489d565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b604080518082019091526000808252602082015260008251116149b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a4016109e0565b50604080518082019091528151815260209182019181019190915290565b606060008060006149e685613bfe565b919450925090506001816001811115614a0157614a0161531f565b14614a8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d000000000000000060648201526084016109e0565b8451614a9a8385615908565b14614b27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e646572000000000000000000000000000060648201526084016109e0565b604080516020808252610420820190925290816020015b6040805180820190915260008082526020820152815260200190600190039081614b3e5790505093506000835b8651811015614c2c57600080614bb16040518060400160405280858c60000151614b95919061545c565b8152602001858c60200151614baa9190615908565b9052613bfe565b509150915060405180604001604052808383614bcd9190615908565b8152602001848b60200151614be29190615908565b815250888581518110614bf757614bf76158d9565b6020908102919091010152614c0d600185615908565b9350614c198183615908565b614c239084615908565b92505050614b6b565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614cae57614cae614c38565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611db857600080fd5b600082601f830112614ce957600080fd5b813567ffffffffffffffff811115614d0357614d03614c38565b614d3460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614c67565b818152846020838601011115614d4957600080fd5b816020850160208301376000918101602001919091529392505050565b600060c08284031215614d7857600080fd5b60405160c0810167ffffffffffffffff8282108183111715614d9c57614d9c614c38565b816040528293508435835260208501359150614db782614cb6565b81602084015260408501359150614dcd82614cb6565b816040840152606085013560608401526080850135608084015260a0850135915080821115614dfb57600080fd5b50614e0885828601614cd8565b60a0830152505092915050565b60008060408385031215614e2857600080fd5b823567ffffffffffffffff811115614e3f57600080fd5b614e4b85828601614d66565b9250506020830135614e5c81614cb6565b809150509250929050565b600060208284031215614e7957600080fd5b81356126c181614cb6565b600080600080600085870360e0811215614e9d57600080fd5b863567ffffffffffffffff80821115614eb557600080fd5b614ec18a838b01614d66565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614efa57600080fd5b60408901955060c0890135925080831115614f1457600080fd5b828901925089601f840112614f2857600080fd5b8235915080821115614f3957600080fd5b508860208260051b8401011115614f4f57600080fd5b959894975092955050506020019190565b600060208284031215614f7257600080fd5b5035919050565b60005b83811015614f94578181015183820152602001614f7c565b83811115610b545750506000910152565b60008151808452614fbd816020860160208601614f79565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006126c16020830184614fa5565b6000806040838503121561501557600080fd5b823591506020830135614e5c81614cb6565b63ffffffff81168114611db857600080fd5b60006020828403121561504b57600080fd5b81356126c181615027565b60006020828403121561506857600080fd5b813567ffffffffffffffff81111561507f57600080fd5b61508b84828501614d66565b949350505050565b600080600080608085870312156150a957600080fd5b84356150b481614cb6565b935060208501356150c481614cb6565b925060408501356150d481614cb6565b915060608501356150e481615027565b939692955090935050565b67ffffffffffffffff81168114611db857600080fd5b60006020828403121561511757600080fd5b81356126c1816150ef565b6000806040838503121561513557600080fd5b50508035926020909101359150565b8015158114611db857600080fd5b600080600080600060a0868803121561516a57600080fd5b853561517581614cb6565b945060208601359350604086013561518c816150ef565b9250606086013561519c81615144565b9150608086013567ffffffffffffffff8111156151b857600080fd5b6151c488828901614cd8565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251615225816049850160208701614f79565b919091016049019695505050505050565b60006020828403121561524857600080fd5b81516126c181614cb6565b60008060006060848603121561526857600080fd5b835161527381615027565b6020850151909350615284816150ef565b604085015190925061529581614cb6565b809150509250925092565b6000602082840312156152b257600080fd5b5051919050565b6000608082840312156152cb57600080fd5b6040516080810181811067ffffffffffffffff821117156152ee576152ee614c38565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006020828403121561536057600080fd5b8151600381106126c157600080fd5b600067ffffffffffffffff8084111561538a5761538a614c38565b8360051b602061539b818301614c67565b8681529185019181810190368411156153b357600080fd5b865b848110156153e7578035868111156153cd5760008081fd5b6153d936828b01614cd8565b8452509183019183016153b5565b50979650505050505050565b60006020828403121561540557600080fd5b81516126c181615144565b60006020828403121561542257600080fd5b81516126c1816150ef565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561546e5761546e61542d565b500390565b60006020828403121561548557600080fd5b81516126c181615027565b600067ffffffffffffffff808316818516818304811182151516156154b7576154b761542d565b02949350505050565b600067ffffffffffffffff8083168185168083038211156154e3576154e361542d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261552a5761552a6154ec565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f80000000000000000000000000000000000000000000000000000000000000008314161561557e5761557e61542d565b500590565b6000808312837f8000000000000000000000000000000000000000000000000000000000000000018312811516156155bd576155bd61542d565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0183138116156155f1576155f161542d565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156156385761563861542d565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156156735761567361542d565b6000871292508782058712848416161561568f5761568f61542d565b878505871281841616156156a5576156a561542d565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038413811516156156ed576156ed61542d565b827f80000000000000000000000000000000000000000000000000000000000000000384128116156157215761572161542d565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561575f5761575f61542d565b500290565b600082615773576157736154ec565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526157c360c0830184614fa5565b98975050505050505050565b805160ff811681146157e057600080fd5b919050565b600060c082840312156157f757600080fd5b60405160c0810181811067ffffffffffffffff8211171561581a5761581a614c38565b604052825161582881615027565b8152615836602084016157cf565b6020820152615847604084016157cf565b6040820152606083015161585a81615027565b6060820152608083015161586d81615027565b608082015260a08301516fffffffffffffffffffffffffffffffff8116811461589557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036158d2576158d261542d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561591b5761591b61542d565b500190565b600060ff831680615933576159336154ec565b8060ff84160691505092915050565b600060ff821660ff84168082101561595c5761595c61542d565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1310:23607:135:-:0;;;5985:513;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6085:57;;;;6152:70;;;;6233:258;6306:1;;;;6233:10;:258::i;:::-;5985:513;;1310:23607;;6730:971;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;;3209:33;3236:4;3209:18;;;;;:33;;:::i;:::-;3208:34;:55;;;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;-1:-1:-1;;;3146:190:43;;466:2:357;3146:190:43;;;448:21:357;505:2;485:18;;;478:30;544:34;524:18;;;517:62;-1:-1:-1;;;595:18:357;;;588:44;649:19;;3146:190:43;;;;;;;;;3346:12;:16;;-1:-1:-1;;3346:16:43;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;-1:-1:-1;;3406:20:43;;;;;3372:65;6977:18:135::1;:40:::0;;-1:-1:-1;;;;;;6977:40:135;;::::1;-1:-1:-1::0;;;;;6977:40:135;;::::1;::::0;;;::::1;::::0;;;7027:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7065:16:::1;:36:::0;;-1:-1:-1;;;;;;7065:36:135::1;6977:40;7065:36:::0;;::::1;;;::::0;;7249:8:::1;::::0;::::1;7245:414;;7287:8;:38:::0;;1338:42:192::1;-1:-1:-1::0;;;;;;7287:38:135;;::::1;;::::0;;7485:26:::1;:52:::0;;-1:-1:-1;;;;;;7603:45:135;7485:52;7521:15:::1;-1:-1:-1::0;;;;;7485:52:135::1;;-1:-1:-1::0;;7603:45:135;;::::1;::::0;::::1;;::::0;;7245:414:::1;7669:25;:23;:25::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;-1:-1:-1;;3491:21:43;;;3531:14;;-1:-1:-1;831:36:357;;3531:14:43;;819:2:357;804:18;3531:14:43;;;;;;;3457:99;3090:472;6730:971:135;;;;:::o;1175:320:59:-;-1:-1:-1;;;;;1465:19:59;;:23;;;1175:320::o;8340:234:137:-;4888:13:43;;;;;;;4880:69;;;;-1:-1:-1;;;4880:69:43;;1080:2:357;4880:69:43;;;1062:21:357;1119:2;1099:18;;;1092:30;1158:34;1138:18;;;1131:62;-1:-1:-1;;;1209:18:357;;;1202:41;1260:19;;4880:69:43;878:407:357;4880:69:43;8415:6:137::1;:19:::0;-1:-1:-1;;;8415:19:137;::::1;-1:-1:-1::0;;;;;8415:19:137::1;;:24:::0;8411:157:::1;;8464:93;::::0;;::::1;::::0;::::1;::::0;;8494:6:::1;8464:93:::0;;;-1:-1:-1;8464:93:137::1;::::0;::::1;::::0;8541:12:::1;-1:-1:-1::0;;;;;8464:93:137::1;::::0;;;;;;;-1:-1:-1;;;8455:102:137::1;;:6;:102:::0;8411:157:::1;8340:234::o:0;14:245:357:-;93:6;101;154:2;142:9;133:7;129:23;125:32;122:52;;;170:1;167;160:12;122:52;-1:-1:-1;;193:16:357;;249:2;234:18;;;228:25;193:16;;228:25;;-1:-1:-1;14:245:357:o;878:407::-;1310:23607:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x6080604052600436106101b05760003560e01c80637fc48504116100ec578063a35d99df1161008a578063bf653a5c11610064578063bf653a5c1461062b578063cff0ab961461065e578063e9e05c42146106ff578063f2b4e6171461071257600080fd5b8063a35d99df14610544578063a3860f4814610564578063bb2c727e1461058457600080fd5b80638e819e54116100c65780638e819e5414610494578063952b2797146104b45780639bf62d82146104e7578063a14238e71461051457600080fd5b80637fc48504146104545780638b4c40b0146101d55780638c3152e91461047457600080fd5b80634870496f1161015957806354fd4d501161013357806354fd4d50146103a95780635c975abb146103ff57806371c1566e146104145780637d6be8dc1461043457600080fd5b80634870496f1461030c5780634fd0434c1461032c578063513747ab1461036e57600080fd5b806343ca1c501161018a57806343ca1c5014610297578063452a9320146102b757806345884d32146102cc57600080fd5b806333d7e2bd146101dc57806335e80ab3146102335780633c9f397c1461026557600080fd5b366101d7576101d53334620186a060006040518060200160405280600081525061073f565b005b600080fd5b3480156101e857600080fd5b506037546102099073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561023f57600080fd5b5060355461020990610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561027157600080fd5b50603b546102829063ffffffff1681565b60405163ffffffff909116815260200161022a565b3480156102a357600080fd5b506101d56102b2366004614e15565b6108fc565b3480156102c357600080fd5b50610209610b5a565b3480156102d857600080fd5b506102fc6102e7366004614e67565b603a6020526000908152604090205460ff1681565b604051901515815260200161022a565b34801561031857600080fd5b506101d5610327366004614e84565b610bf2565b34801561033857600080fd5b50603b5461035590640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161022a565b34801561037a57600080fd5b5061039b610389366004614f60565b6000908152603c602052604090205490565b60405190815260200161022a565b3480156103b557600080fd5b506103f26040518060400160405280600581526020017f332e382e3000000000000000000000000000000000000000000000000000000081525081565b60405161022a9190614fef565b34801561040b57600080fd5b506102fc6112d6565b34801561042057600080fd5b506101d561042f366004615002565b611369565b34801561044057600080fd5b506101d561044f366004614e67565b611bfa565b34801561046057600080fd5b506101d561046f366004615039565b611cb5565b34801561048057600080fd5b506101d561048f366004615056565b611d6f565b3480156104a057600080fd5b506101d56104af366004615093565b611dbb565b3480156104c057600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061039b565b3480156104f357600080fd5b506032546102099073ffffffffffffffffffffffffffffffffffffffff1681565b34801561052057600080fd5b506102fc61052f366004614f60565b60336020526000908152604090205460ff1681565b34801561055057600080fd5b5061035561055f366004615105565b612070565b34801561057057600080fd5b5061020961057f366004615122565b61208f565b34801561059057600080fd5b506105f661059f366004615002565b603960209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900467ffffffffffffffff1682565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835267ffffffffffffffff90911660208301520161022a565b34801561063757600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061039b565b34801561066a57600080fd5b506001546106c6906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff928316602085015291169082015260600161022a565b6101d561070d366004615152565b61073f565b34801561071e57600080fd5b506038546102099073ffffffffffffffffffffffffffffffffffffffff1681565b8260005a9050838015610767575073ffffffffffffffffffffffffffffffffffffffff871615155b1561079e576040517f13496fda00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107a88351612070565b67ffffffffffffffff168567ffffffffffffffff1610156107f5576040517f4929b80800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6201d4c083511115610833576040517f73052b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33328114610854575033731111000000000000000000000000000000001111015b6000348888888860405160200161086f9594939291906151d1565b604051602081830303815290604052905060008973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32846040516108df9190614fef565b60405180910390a450506108f382826120f0565b50505050505050565b6109046112d6565b1561093b576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60325473ffffffffffffffffffffffffffffffffffffffff1661dead146109e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a2063616e206f6e6c79207472696767657260448201527f206f6e65207769746864726177616c20706572207472616e73616374696f6e0060648201526084015b60405180910390fd5b60006109f4836123c7565b9050610a008183611369565b600081815260336020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055908501516032805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790558401516080850151606086015160a0870151610aa293929190612414565b603280547fffffffffffffffffffffffff00000000000000000000000000000000000000001661dead17905560405190915082907fdb5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b90610b0790841515815260200190565b60405180910390a280158015610b1d5750326001145b15610b54576040517feeae4ed300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed9190615236565b905090565b610bfa6112d6565b15610c31576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16856040015173ffffffffffffffffffffffffffffffffffffffff1603610cf0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e642060448201527f6d6573736167657320746f2074686520706f7274616c20636f6e74726163740060648201526084016109e0565b6038546040517fbb8aa1fc00000000000000000000000000000000000000000000000000000000815260048101869052600091829173ffffffffffffffffffffffffffffffffffffffff9091169063bb8aa1fc90602401606060405180830381865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190615253565b925050915060008173ffffffffffffffffffffffffffffffffffffffff1663bcef3b556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfe91906152a0565b603b5490915063ffffffff848116911614610e9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016109e0565b610eb2610ead368890038801886152b9565b612472565b8114610f40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f7074696d69736d506f7274616c3a20696e76616c6964206f7574707574207260448201527f6f6f742070726f6f66000000000000000000000000000000000000000000000060648201526084016109e0565b6000610f4b896123c7565b905060018373ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbe919061534e565b6002811115610fcf57610fcf61531f565b0361105c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4f7074696d69736d506f7274616c3a2063616e6e6f742070726f76652061676160448201527f696e737420696e76616c696420646973707574652067616d657300000000000060648201526084016109e0565b60408051602081018390526000918101829052606001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828252805160209182012090830181905292506111259101604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152828201909152600182527f010000000000000000000000000000000000000000000000000000000000000060208301529061111b898b61536f565b8b604001356124b1565b6111b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4f7074696d69736d506f7274616c3a20696e76616c696420776974686472617760448201527f616c20696e636c7573696f6e2070726f6f66000000000000000000000000000060648201526084016109e0565b60408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff4281166020808501918252600088815260398252868120338252825286812095518654935190941674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090931693851693909317919091179093558d840151928e01519351928216939091169185917f67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f6291a4506000908152603c602090815260408220805460018101825590835291200180547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790555050505050505050565b6000603560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906153f3565b600082815260396020908152604080832073ffffffffffffffffffffffffffffffffffffffff85811685529083528184208251808401845290549182168082527401000000000000000000000000000000000000000090920467ffffffffffffffff1681850152818552603a90935292205490919060ff161561146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652068617360448201527f206265656e20626c61636b6c697374656400000000000000000000000000000060648201526084016109e0565b816020015167ffffffffffffffff16600003611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e60448201527f6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746560648201527f7220616464726573732079657400000000000000000000000000000000000000608482015260a4016109e0565b60006115b38273ffffffffffffffffffffffffffffffffffffffff1663cf09e0d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190615410565b67ffffffffffffffff1690565b90508067ffffffffffffffff16836020015167ffffffffffffffff1611611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657360448201527f74616d70206c657373207468616e20646973707574652067616d65206372656160648201527f74696f6e2074696d657374616d70000000000000000000000000000000000000608482015260a4016109e0565b7f0000000000000000000000000000000000000000000000000000000000000000836020015167ffffffffffffffff16426116bd919061545c565b1161174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a2070726f76656e2077697468647261776160448201527f6c20686173206e6f74206d61747572656420796574000000000000000000000060648201526084016109e0565b60028273ffffffffffffffffffffffffffffffffffffffff1663200d2ed26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611797573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bb919061534e565b60028111156117cc576117cc61531f565b14611859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f686173206e6f74206265656e2076616c6964617465640000000000000000000060648201526084016109e0565b603b5463ffffffff1663ffffffff166118e38373ffffffffffffffffffffffffffffffffffffffff1663bbdc02db6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118da9190615473565b63ffffffff1690565b63ffffffff1614611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797060448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016109e0565b603b5467ffffffffffffffff64010000000090910481169082161015611a44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604b60248201527f4f7074696d69736d506f7274616c3a20646973707574652067616d652063726560448201527f61746564206265666f7265207265737065637465642067616d6520747970652060648201527f7761732075706461746564000000000000000000000000000000000000000000608482015260a4016109e0565b7f0000000000000000000000000000000000000000000000000000000000000000611ab38373ffffffffffffffffffffffffffffffffffffffff166319effeb46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611582573d6000803e3d6000fd5b611ac79067ffffffffffffffff164261545c565b11611b54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c2060448201527f696e206169722d6761700000000000000000000000000000000000000000000060648201526084016109e0565b60008581526033602052604090205460ff1615611bf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4f7074696d69736d506f7274616c3a207769746864726177616c20686173206160448201527f6c7265616479206265656e2066696e616c697a6564000000000000000000000060648201526084016109e0565b5050505050565b611c02610b5a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c66576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff166000908152603a6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611cbd610b5a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d21576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b603b805463ffffffff929092167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000909216919091176401000000004267ffffffffffffffff1602179055565b565b611d776112d6565b15611dae576040517ff480973e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611db881336108fc565b50565b600054610100900460ff1615808015611ddb5750600054600160ff909116105b80611df55750303b158015611df5575060005460ff166001145b611e81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016109e0565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015611edf57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b603880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff8881169190911790925560378054909116868316179055603580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101008684160217905560325416611fff576032805461dead7fffffffffffffffffffffffff0000000000000000000000000000000000000000909116179055603b80547fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166401000000004267ffffffffffffffff16027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000161763ffffffff84161790555b6120076124d5565b8015611bf357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050505050565b600061207d826010615490565b612089906152086154c0565b92915050565b603c60205281600052604060002081815481106120ab57600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169150829050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b600154600090612126907801000000000000000000000000000000000000000000000000900467ffffffffffffffff164361545c565b905060006121326125e8565b90506000816020015160ff16826000015163ffffffff16612153919061551b565b9050821561228a5760015460009061218a908390700100000000000000000000000000000000900467ffffffffffffffff16615583565b90506000836040015160ff16836121a191906155f7565b6001546121c19084906fffffffffffffffffffffffffffffffff166155f7565b6121cb919061551b565b60015490915060009061221c906121f59084906fffffffffffffffffffffffffffffffff166156b3565b866060015163ffffffff168760a001516fffffffffffffffffffffffffffffffff166126a9565b9050600186111561224b576122486121f582876040015160ff1660018a612243919061545c565b6126c8565b90505b6fffffffffffffffffffffffffffffffff16780100000000000000000000000000000000000000000000000067ffffffffffffffff4316021760015550505b600180548691906010906122bd908490700100000000000000000000000000000000900467ffffffffffffffff166154c0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816000015163ffffffff16600160000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff16131561234a576040517f77ebef4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154600090612376906fffffffffffffffffffffffffffffffff1667ffffffffffffffff8816615727565b9050600061238848633b9aca0061271d565b6123929083615764565b905060005a6123a1908861545c565b9050808211156123bd576123bd6123b8828461545c565b612734565b5050505050505050565b80516020808301516040808501516060860151608087015160a088015193516000976123f7979096959101615778565b604051602081830303815290604052805190602001209050919050565b6000806000612424866000612762565b90508061245a576308c379a06000526020805278185361666543616c6c3a204e6f7420656e6f756768206761736058526064601cfd5b600080855160208701888b5af1979650505050505050565b600081600001518260200151836040015184606001516040516020016123f7949392919093845260208401929092526040830152606082015260800190565b6000806124bd86612780565b90506124cb818686866127b2565b9695505050505050565b600054610100900460ff1661256c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016109e0565b6001547801000000000000000000000000000000000000000000000000900467ffffffffffffffff16600003611d6d5760408051606081018252633b9aca00808252600060208301524367ffffffffffffffff169190920181905278010000000000000000000000000000000000000000000000000217600155565b6040805160c08082018352600080835260208301819052828401819052606083018190526080830181905260a083015260375483517fcc731b020000000000000000000000000000000000000000000000000000000081529351929373ffffffffffffffffffffffffffffffffffffffff9091169263cc731b02926004808401939192918290030181865afa158015612685573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906157e5565b60006126be6126b885856127e2565b836127f2565b90505b9392505050565b6000670de0b6b3a76400006127096126e0858361551b565b6126f290670de0b6b3a7640000615583565b61270485670de0b6b3a76400006155f7565b612801565b61271390866155f7565b6126be919061551b565b60008183101561272d57816126c1565b5090919050565b6000805a90505b825a612747908361545c565b101561275d57612756826158a1565b915061273b565b505050565b600080603f83619c4001026040850201603f5a021015949350505050565b6060818051906020012060405160200161279c91815260200190565b6040516020818303038152906040529050919050565b60006127d9846127c3878686612832565b8051602091820120825192909101919091201490565b95945050505050565b60008183121561272d57816126c1565b600081831261272d57816126c1565b60006126c1670de0b6b3a764000083612819866132b0565b61282391906155f7565b61282d919061551b565b6134f4565b6060600084511161289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d65726b6c65547269653a20656d707479206b6579000000000000000000000060448201526064016109e0565b60006128aa84613733565b905060006128b78661381f565b90506000846040516020016128ce91815260200190565b60405160208183030381529060405290506000805b8451811015613227576000858281518110612900576129006158d9565b60200260200101519050845183111561299b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4d65726b6c65547269653a206b657920696e646578206578636565647320746f60448201527f74616c206b6579206c656e67746800000000000000000000000000000000000060648201526084016109e0565b82600003612a5457805180516020918201206040516129e9926129c392910190815260200190565b604051602081830303815290604052858051602091820120825192909101919091201490565b612a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d65726b6c65547269653a20696e76616c696420726f6f74206861736800000060448201526064016109e0565b612bab565b805151602011612b0a5780518051602091820120604051612a7e926129c392910190815260200190565b612a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4d65726b6c65547269653a20696e76616c6964206c6172676520696e7465726e60448201527f616c20686173680000000000000000000000000000000000000000000000000060648201526084016109e0565b805184516020808701919091208251919092012014612bab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4d65726b6c65547269653a20696e76616c696420696e7465726e616c206e6f6460448201527f652068617368000000000000000000000000000000000000000000000000000060648201526084016109e0565b612bb760106001615908565b81602001515103612d935784518303612d2b57612bf18160200151601081518110612be457612be46158d9565b6020026020010151613882565b96506000875111612c84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286272616e636829000000000060648201526084016109e0565b60018651612c92919061545c565b8214612d20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286272616e63682900000000000060648201526084016109e0565b5050505050506126c1565b6000858481518110612d3f57612d3f6158d9565b602001015160f81c60f81b60f81c9050600082602001518260ff1681518110612d6a57612d6a6158d9565b60200260200101519050612d7d816139e2565b9550612d8a600186615908565b94505050613214565b60028160200151510361318c576000612dab82613a07565b9050600081600081518110612dc257612dc26158d9565b016020015160f81c90506000612dd9600283615920565b612de4906002615942565b90506000612df5848360ff16613a2b565b90506000612e038a89613a2b565b90506000612e118383613a61565b905080835114612ea3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f4d65726b6c65547269653a20706174682072656d61696e646572206d7573742060448201527f736861726520616c6c206e6962626c65732077697468206b657900000000000060648201526084016109e0565b60ff851660021480612eb8575060ff85166003145b156130a75780825114612f4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f4d65726b6c65547269653a206b65792072656d61696e646572206d757374206260448201527f65206964656e746963616c20746f20706174682072656d61696e64657200000060648201526084016109e0565b612f678760200151600181518110612be457612be46158d9565b9c5060008d5111612ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f4d65726b6c65547269653a2076616c7565206c656e677468206d75737420626560448201527f2067726561746572207468616e207a65726f20286c656166290000000000000060648201526084016109e0565b60018c51613008919061545c565b8814613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4d65726b6c65547269653a2076616c7565206e6f6465206d757374206265206c60448201527f617374206e6f646520696e2070726f6f6620286c65616629000000000000000060648201526084016109e0565b5050505050505050505050506126c1565b60ff851615806130ba575060ff85166001145b156130f9576130e687602001516001815181106130d9576130d96158d9565b60200260200101516139e2565b99506130f2818a615908565b9850613181565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4d65726b6c65547269653a2072656365697665642061206e6f6465207769746860448201527f20616e20756e6b6e6f776e20707265666978000000000000000000000000000060648201526084016109e0565b505050505050613214565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c65547269653a20726563656976656420616e20756e70617273656160448201527f626c65206e6f646500000000000000000000000000000000000000000000000060648201526084016109e0565b508061321f816158a1565b9150506128e3565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d65726b6c65547269653a2072616e206f7574206f662070726f6f6620656c6560448201527f6d656e747300000000000000000000000000000000000000000000000000000060648201526084016109e0565b600080821361331b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e4544000000000000000000000000000000000000000000000060448201526064016109e0565b6000606061332884613b15565b03609f8181039490941b90931c6c465772b2bbbb5f824b15207a3081018102606090811d6d0388eaa27412d5aca026815d636e018202811d6d0df99ac502031bf953eff472fdcc018202811d6d13cdffb29d51d99322bdff5f2211018202811d6d0a0f742023def783a307a986912e018202811d6d01920d8043ca89b5239253284e42018202811d6c0b7a86d7375468fac667a0a527016c29508e458543d8aa4df2abee7883018302821d6d0139601a2efabe717e604cbb4894018302821d6d02247f7a7b6594320649aa03aba1018302821d7fffffffffffffffffffffffffffffffffffffff73c0c716a594e00d54e3c4cbc9018302821d7ffffffffffffffffffffffffffffffffffffffdc7b88c420e53a9890533129f6f01830290911d7fffffffffffffffffffffffffffffffffffffff465fda27eb4d63ded474e5f832019091027ffffffffffffffff5f6af8f7b3396644f18e157960000000000000000000000000105711340daa0d5f769dba1915cef59f0815a5506027d0267a36c0c95b3975ab3ee5b203a7614a3f75373f047d803ae7b6687f2b393909302929092017d57115e47018c7177eebf7cd370a3356a1b7863008a5ae8028c72b88642840160ae1d92915050565b60007ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c1821361352557506000919050565b680755bf798b4a1bf1e58212613597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4558505f4f564552464c4f57000000000000000000000000000000000000000060448201526064016109e0565b6503782dace9d9604e83901b059150600060606bb17217f7d1cf79abc9e3b39884821b056b80000000000000000000000001901d6bb17217f7d1cf79abc9e3b39881029093037fffffffffffffffffffffffffffffffffffffffdbf3ccf1604d263450f02a550481018102606090811d6d0277594991cfc85f6e2461837cd9018202811d7fffffffffffffffffffffffffffffffffffffe5adedaa1cb095af9e4da10e363c018202811d6db1bbb201f443cf962f1a1d3db4a5018202811d7ffffffffffffffffffffffffffffffffffffd38dc772608b0ae56cce01296c0eb018202811d6e05180bb14799ab47a8a8cb2a527d57016d02d16720577bd19bf614176fe9ea6c10fe68e7fd37d0007b713f765084018402831d9081019084017ffffffffffffffffffffffffffffffffffffffe2c69812cf03b0763fd454a8f7e010290911d6e0587f503bb6ea29d25fcb7401964500190910279d835ebba824c98fb31b83b2ca45c000000000000000000000000010574029d9dc38563c32e5c2f6dc192ee70ef65f9978af30260c3939093039290921c92915050565b80516060908067ffffffffffffffff81111561375157613751614c38565b60405190808252806020026020018201604052801561379657816020015b604080518082019091526060808252602082015281526020019060019003908161376f5790505b50915060005b818110156138185760405180604001604052808583815181106137c1576137c16158d9565b602002602001015181526020016137f08684815181106137e3576137e36158d9565b6020026020010151613beb565b815250838281518110613805576138056158d9565b602090810291909101015260010161379c565b5050919050565b606080604051905082518060011b603f8101601f1916830160405280835250602084016020830160005b83811015613877578060011b82018184015160001a8060041c8253600f811660018301535050600101613849565b509295945050505050565b6060600080600061389285613bfe565b9194509250905060008160018111156138ad576138ad61531f565b1461393a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206279746573206973206e6f7420612064617461206974656d0000000000000060648201526084016109e0565b6139448284615908565b8551146139d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f524c505265616465723a2062797465732076616c756520636f6e7461696e732060448201527f616e20696e76616c69642072656d61696e64657200000000000000000000000060648201526084016109e0565b6127d98560200151848461466b565b606060208260000151106139fe576139f982613882565b612089565b612089826146ff565b6060612089613a268360200151600081518110612be457612be46158d9565b61381f565b606082518210613a4a5750604080516020810190915260008152612089565b6126c18383848651613a5c919061545c565b614715565b6000808251845110613a74578251613a77565b83515b90505b8082108015613afe5750828281518110613a9657613a966158d9565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848381518110613ad557613ad56158d9565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016145b15613b0e57816001019150613a7a565b5092915050565b6000808211613b80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f554e444546494e4544000000000000000000000000000000000000000000000060448201526064016109e0565b5060016fffffffffffffffffffffffffffffffff821160071b82811c67ffffffffffffffff1060061b1782811c63ffffffff1060051b1782811c61ffff1060041b1782811c60ff10600390811b90911783811c600f1060021b1783811c909110821b1791821c111790565b6060612089613bf9836148ed565b6149d6565b600080600080846000015111613cbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a4016109e0565b6020840151805160001a607f8111613ce1576000600160009450945094505050614664565b60b78111613eef576000613cf660808361545c565b905080876000015111613db1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20737472696e67206c656e6774682060648201527f2873686f727420737472696e6729000000000000000000000000000000000000608482015260a4016109e0565b6001838101517fff00000000000000000000000000000000000000000000000000000000000000169082141580613e2a57507f80000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610155b613edc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a20696e76616c6964207072656669782c2073696e676c60448201527f652062797465203c203078383020617265206e6f74207072656669786564202860648201527f73686f727420737472696e672900000000000000000000000000000000000000608482015260a4016109e0565b5060019550935060009250614664915050565b60bf811161423d576000613f0460b78361545c565b905080876000015111613fbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605160248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f6620737472696e67206c656e60648201527f67746820286c6f6e6720737472696e6729000000000000000000000000000000608482015260a4016109e0565b60018301517fff0000000000000000000000000000000000000000000000000000000000000016600081900361409d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e6720737472696e672900000000000000000000000000000000000000000000608482015260a4016109e0565b600184015160088302610100031c60378111614161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f20737472696e6729000000000000000000000000000000000000000000000000608482015260a4016109e0565b61416b8184615908565b895111614220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604c60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e6720737472696e67290000000000000000000000000000000000000000608482015260a4016109e0565b61422b836001615908565b97509550600094506146649350505050565b60f7811161431e57600061425260c08361545c565b90508087600001511161430d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e206c697374206c656e67746820287360648201527f686f7274206c6973742900000000000000000000000000000000000000000000608482015260a4016109e0565b600195509350849250614664915050565b600061432b60f78361545c565b9050808760000151116143e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604d60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206265203e207468616e206c656e677468206f66206c697374206c656e677460648201527f6820286c6f6e67206c6973742900000000000000000000000000000000000000608482015260a4016109e0565b60018301517fff000000000000000000000000000000000000000000000000000000000000001660008190036144c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604860248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f74206e6f74206861766520616e79206c656164696e67207a65726f7320286c6f60648201527f6e67206c69737429000000000000000000000000000000000000000000000000608482015260a4016109e0565b600184015160088302610100031c60378111614588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604660248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20353520627974657320286c6f6e6760648201527f206c697374290000000000000000000000000000000000000000000000000000608482015260a4016109e0565b6145928184615908565b895111614647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620636f6e74656e74206d757360448201527f742062652067726561746572207468616e20746f74616c206c656e677468202860648201527f6c6f6e67206c6973742900000000000000000000000000000000000000000000608482015260a4016109e0565b614652836001615908565b97509550600194506146649350505050565b9193909250565b60608167ffffffffffffffff81111561468657614686614c38565b6040519080825280601f01601f1916602001820160405280156146b0576020820181803683370190505b50905081156126c15760006146c58486615908565b90506020820160005b848110156146e65782810151828201526020016146ce565b848111156146f5576000858301525b5050509392505050565b606061208982602001516000846000015161466b565b60608182601f011015614784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f7700000000000000000000000000000000000060448201526064016109e0565b8282840110156147f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f7700000000000000000000000000000000000060448201526064016109e0565b8183018451101561485d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e647300000000000000000000000000000060448201526064016109e0565b60608215801561487c57604051915060008252602082016040526148e4565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156148b557805183526020928301920161489d565b5050858452601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016604052505b50949350505050565b604080518082019091526000808252602082015260008251116149b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604a60248201527f524c505265616465723a206c656e677468206f6620616e20524c50206974656d60448201527f206d7573742062652067726561746572207468616e207a65726f20746f20626560648201527f206465636f6461626c6500000000000000000000000000000000000000000000608482015260a4016109e0565b50604080518082019091528151815260209182019181019190915290565b606060008060006149e685613bfe565b919450925090506001816001811115614a0157614a0161531f565b14614a8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f524c505265616465723a206465636f646564206974656d207479706520666f7260448201527f206c697374206973206e6f742061206c697374206974656d000000000000000060648201526084016109e0565b8451614a9a8385615908565b14614b27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f524c505265616465723a206c697374206974656d2068617320616e20696e766160448201527f6c696420646174612072656d61696e646572000000000000000000000000000060648201526084016109e0565b604080516020808252610420820190925290816020015b6040805180820190915260008082526020820152815260200190600190039081614b3e5790505093506000835b8651811015614c2c57600080614bb16040518060400160405280858c60000151614b95919061545c565b8152602001858c60200151614baa9190615908565b9052613bfe565b509150915060405180604001604052808383614bcd9190615908565b8152602001848b60200151614be29190615908565b815250888581518110614bf757614bf76158d9565b6020908102919091010152614c0d600185615908565b9350614c198183615908565b614c239084615908565b92505050614b6b565b50845250919392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614cae57614cae614c38565b604052919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611db857600080fd5b600082601f830112614ce957600080fd5b813567ffffffffffffffff811115614d0357614d03614c38565b614d3460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601614c67565b818152846020838601011115614d4957600080fd5b816020850160208301376000918101602001919091529392505050565b600060c08284031215614d7857600080fd5b60405160c0810167ffffffffffffffff8282108183111715614d9c57614d9c614c38565b816040528293508435835260208501359150614db782614cb6565b81602084015260408501359150614dcd82614cb6565b816040840152606085013560608401526080850135608084015260a0850135915080821115614dfb57600080fd5b50614e0885828601614cd8565b60a0830152505092915050565b60008060408385031215614e2857600080fd5b823567ffffffffffffffff811115614e3f57600080fd5b614e4b85828601614d66565b9250506020830135614e5c81614cb6565b809150509250929050565b600060208284031215614e7957600080fd5b81356126c181614cb6565b600080600080600085870360e0811215614e9d57600080fd5b863567ffffffffffffffff80821115614eb557600080fd5b614ec18a838b01614d66565b97506020890135965060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc084011215614efa57600080fd5b60408901955060c0890135925080831115614f1457600080fd5b828901925089601f840112614f2857600080fd5b8235915080821115614f3957600080fd5b508860208260051b8401011115614f4f57600080fd5b959894975092955050506020019190565b600060208284031215614f7257600080fd5b5035919050565b60005b83811015614f94578181015183820152602001614f7c565b83811115610b545750506000910152565b60008151808452614fbd816020860160208601614f79565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006126c16020830184614fa5565b6000806040838503121561501557600080fd5b823591506020830135614e5c81614cb6565b63ffffffff81168114611db857600080fd5b60006020828403121561504b57600080fd5b81356126c181615027565b60006020828403121561506857600080fd5b813567ffffffffffffffff81111561507f57600080fd5b61508b84828501614d66565b949350505050565b600080600080608085870312156150a957600080fd5b84356150b481614cb6565b935060208501356150c481614cb6565b925060408501356150d481614cb6565b915060608501356150e481615027565b939692955090935050565b67ffffffffffffffff81168114611db857600080fd5b60006020828403121561511757600080fd5b81356126c1816150ef565b6000806040838503121561513557600080fd5b50508035926020909101359150565b8015158114611db857600080fd5b600080600080600060a0868803121561516a57600080fd5b853561517581614cb6565b945060208601359350604086013561518c816150ef565b9250606086013561519c81615144565b9150608086013567ffffffffffffffff8111156151b857600080fd5b6151c488828901614cd8565b9150509295509295909350565b8581528460208201527fffffffffffffffff0000000000000000000000000000000000000000000000008460c01b16604082015282151560f81b604882015260008251615225816049850160208701614f79565b919091016049019695505050505050565b60006020828403121561524857600080fd5b81516126c181614cb6565b60008060006060848603121561526857600080fd5b835161527381615027565b6020850151909350615284816150ef565b604085015190925061529581614cb6565b809150509250925092565b6000602082840312156152b257600080fd5b5051919050565b6000608082840312156152cb57600080fd5b6040516080810181811067ffffffffffffffff821117156152ee576152ee614c38565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006020828403121561536057600080fd5b8151600381106126c157600080fd5b600067ffffffffffffffff8084111561538a5761538a614c38565b8360051b602061539b818301614c67565b8681529185019181810190368411156153b357600080fd5b865b848110156153e7578035868111156153cd5760008081fd5b6153d936828b01614cd8565b8452509183019183016153b5565b50979650505050505050565b60006020828403121561540557600080fd5b81516126c181615144565b60006020828403121561542257600080fd5b81516126c1816150ef565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561546e5761546e61542d565b500390565b60006020828403121561548557600080fd5b81516126c181615027565b600067ffffffffffffffff808316818516818304811182151516156154b7576154b761542d565b02949350505050565b600067ffffffffffffffff8083168185168083038211156154e3576154e361542d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261552a5761552a6154ec565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f80000000000000000000000000000000000000000000000000000000000000008314161561557e5761557e61542d565b500590565b6000808312837f8000000000000000000000000000000000000000000000000000000000000000018312811516156155bd576155bd61542d565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0183138116156155f1576155f161542d565b50500390565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000841360008413858304851182821616156156385761563861542d565b7f800000000000000000000000000000000000000000000000000000000000000060008712868205881281841616156156735761567361542d565b6000871292508782058712848416161561568f5761568f61542d565b878505871281841616156156a5576156a561542d565b505050929093029392505050565b6000808212827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038413811516156156ed576156ed61542d565b827f80000000000000000000000000000000000000000000000000000000000000000384128116156157215761572161542d565b50500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561575f5761575f61542d565b500290565b600082615773576157736154ec565b500490565b868152600073ffffffffffffffffffffffffffffffffffffffff808816602084015280871660408401525084606083015283608083015260c060a08301526157c360c0830184614fa5565b98975050505050505050565b805160ff811681146157e057600080fd5b919050565b600060c082840312156157f757600080fd5b60405160c0810181811067ffffffffffffffff8211171561581a5761581a614c38565b604052825161582881615027565b8152615836602084016157cf565b6020820152615847604084016157cf565b6040820152606083015161585a81615027565b6060820152608083015161586d81615027565b608082015260a08301516fffffffffffffffffffffffffffffffff8116811461589557600080fd5b60a08201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036158d2576158d261542d565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561591b5761591b61542d565b500190565b600060ff831680615933576159336154ec565b8060ff84160691505092915050565b600060ff821660ff84168082101561595c5761595c61542d565b9003939250505056fea164736f6c634300080f000a",sourceMap:"1310:23607:135:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9614:86;9633:10;9645:9;2352:7;9683:5;9690:9;;;;;;;;;;;;9614:18;:86::i;:::-;1310:23607;;;;;3443:32;;;;;;;;;;-1:-1:-1;3443:32:135;;;;;;;;;;;212:42:357;200:55;;;182:74;;170:2;155:18;3443:32:135;;;;;;;;3156:40;;;;;;;;;;-1:-1:-1;3156:40:135;;;;;;;;;;;4041:33;;;;;;;;;;-1:-1:-1;4041:33:135;;;;;;;;;;;730:10:357;718:23;;;700:42;;688:2;673:18;4041:33:135;524:224:357;14882:2403:135;;;;;;;;;;-1:-1:-1;14882:2403:135;;;;;:::i;:::-;;:::i;7954:101::-;;;;;;;;;;;;;:::i;3892:57::-;;;;;;;;;;-1:-1:-1;3892:57:135;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4257:14:357;;4250:22;4232:41;;4220:2;4205:18;3892:57:135;4092:187:357;10816:3564:135;;;;;;;;;;-1:-1:-1;10816:3564:135;;;;;:::i;:::-;;:::i;4162:40::-;;;;;;;;;;-1:-1:-1;4162:40:135;;;;;;;;;;;;;;5638:18:357;5626:31;;;5608:50;;5596:2;5581:18;4162:40:135;5464:200:357;24767:148:135;;;;;;;;;;-1:-1:-1;24767:148:135;;;;;:::i;:::-;24843:7;24869:32;;;:15;:32;;;;;:39;;24767:148;;;;6000:25:357;;;5988:2;5973:18;24767:148:135;5854:177:357;5882:40:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8115:94::-;;;;;;;;;;;;;:::i;21034:3510::-;;;;;;;;;;-1:-1:-1;21034:3510:135;;;;;:::i;:::-;;:::i;20049:185::-;;;;;;;;;;-1:-1:-1;20049:185:135;;;;;:::i;:::-;;:::i;20481:228::-;;;;;;;;;;-1:-1:-1;20481:228:135;;;;;:::i;:::-;;:::i;14493:178::-;;;;;;;;;;-1:-1:-1;14493:178:135;;;;;:::i;:::-;;:::i;6730:971::-;;;;;;;;;;-1:-1:-1;6730:971:135;;;;;:::i;:::-;;:::i;8453:132::-;;;;;;;;;;-1:-1:-1;8543:35:135;8453:132;;2615:23;;;;;;;;;;-1:-1:-1;2615:23:135;;;;;;;;2729:52;;;;;;;;;;-1:-1:-1;2729:52:135;;;;;:::i;:::-;;;;;;;;;;;;;;;;9078:120;;;;;;;;;;-1:-1:-1;9078:120:135;;;;;:::i;:::-;;:::i;4315:52::-;;;;;;;;;;-1:-1:-1;4315:52:135;;;;;:::i;:::-;;:::i;3712:81::-;;;;;;;;;;-1:-1:-1;3712:81:135;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9667:42:357;9655:55;;;9637:74;;9759:18;9747:31;;;9742:2;9727:18;;9720:59;9610:18;3712:81:135;9442:343:357;8268:119:135;;;;;;;;;;-1:-1:-1;8352:28:135;8268:119;;3093:28:137;;;;;;;;;;-1:-1:-1;3093:28:137;;;;;;;;;;;;;;;;;;;;;;;;;10018:34:357;10006:47;;;9988:66;;10073:18;10127:15;;;10122:2;10107:18;;10100:43;10179:15;;10159:18;;;10152:43;9976:2;9961:18;3093:28:137;9790:411:357;18015:1855:135;;;;;;:::i;:::-;;:::i;3566:44::-;;;;;;;;;;-1:-1:-1;3566:44:135;;;;;;;;18015:1855;18221:9;3511:18:137;3532:9;3511:30;;18375:11:135::1;:32;;;;-1:-1:-1::0;18390:17:135::1;::::0;::::1;::::0;::::1;18375:32;18371:56;;;18416:11;;;;;;;;;;;;;;18371:56;18591:37;18614:5;:12;18591:15;:37::i;:::-;18579:49;;:9;:49;;;18575:77;;;18637:15;;;;;;;;;;;;;;18575:77;19042:7;19027:5;:12;:22;19023:50;;;19058:15;;;;;;;;;;;;;;19023:50;19179:10;19217:9;19203:23:::0;::::1;19199:108;;-1:-1:-1::0;19285:10:135::1;741:42:237::0;1213:27;19199:108:135::1;19564:23;19607:9;19618:6;19626:9;19637:11;19650:5;19590:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19564:92;;2202:1;19830:3;19803:60;;19824:4;19803:60;;;19852:10;19803:60;;;;;;:::i;:::-;;;;;;;;18236:1634;;3642:29:137::0;3651:7;3660:10;3642:8;:29::i;:::-;3433:245;18015:1855:135;;;;;;:::o;14882:2403::-;5766:8;:6;:8::i;:::-;5762:33;;;5783:12;;;;;;;;;;;;;;5762:33;15328:8:::1;::::0;:39:::1;:8;1338:42:192;15328:39:135;15307:137;;;::::0;::::1;::::0;;12464:2:357;15307:137:135::1;::::0;::::1;12446:21:357::0;12503:2;12483:18;;;12476:30;12542:34;12522:18;;;12515:62;12613:33;12593:18;;;12586:61;12664:19;;15307:137:135::1;;;;;;;;;15495:22;15520:27;15543:3;15520:22;:27::i;:::-;15495:52;;15613:48;15629:14;15645:15;15613;:48::i;:::-;15741:36;::::0;;;:20:::1;:36;::::0;;;;;;;:43;;;::::1;15780:4;15741:43;::::0;;15889:10;;::::1;::::0;15878:8:::1;:21:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;16558:10;::::1;::::0;16570:12:::1;::::0;::::1;::::0;16584:9:::1;::::0;::::1;::::0;16595:8:::1;::::0;::::1;::::0;16534:70:::1;::::0;16558:10;16570:12;16584:9;16534:23:::1;:70::i;:::-;16672:8;:38:::0;;;::::1;1338:42:192;16672:38:135;::::0;;16869:44:::1;::::0;16519:85;;-1:-1:-1;16889:14:135;;16869:44:::1;::::0;::::1;::::0;16519:85;4257:14:357;4250:22;4232:41;;4220:2;4205:18;;4092:187;16869:44:135::1;;;;;;;;17178:7;17177:8;:53;;;;-1:-1:-1::0;17189:9:135::1;1016:1:192;17189:41:135;17177:53;17173:106;;;17253:15;;;;;;;;;;;;;;17173:106;15062:2223;;14882:2403:::0;;:::o;7954:101::-;7995:7;8021:16;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8014:34;;7954:101;:::o;10816:3564::-;5766:8;:6;:8::i;:::-;5762:33;;;5783:12;;;;;;;;;;;;;;5762:33;11351:4:::1;11329:27;;:3;:10;;;:27;;::::0;11321:103:::1;;;::::0;::::1;::::0;;13152:2:357;11321:103:135::1;::::0;::::1;13134:21:357::0;13191:2;13171:18;;;13164:30;13230:34;13210:18;;;13203:62;13301:33;13281:18;;;13274:61;13352:19;;11321:103:135::1;12950:427:357::0;11321:103:135::1;11562:18;::::0;:49:::1;::::0;;;;::::1;::::0;::::1;6000:25:357::0;;;11516:17:135::1;::::0;;;11562:18:::1;::::0;;::::1;::::0;:30:::1;::::0;5973:18:357;;11562:49:135::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11515:96;;;;;11621:16;11640:9;:19;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11776:17;::::0;11621:40;;-1:-1:-1;11776:17:135::1;11758:12:::0;;::::1;11776:17:::0;::::1;11758:41;11750:87;;;::::0;::::1;::::0;;14432:2:357;11750:87:135::1;::::0;::::1;14414:21:357::0;14471:2;14451:18;;;14444:30;14510:34;14490:18;;;14483:62;14581:3;14561:18;;;14554:31;14602:19;;11750:87:135::1;14230:397:357::0;11750:87:135::1;11977:45;;;::::0;;::::1;::::0;::::1;12005:16:::0;11977:45:::1;:::i;:::-;:27;:45::i;:::-;11957:10:::0;:65:::1;11936:153;;;::::0;::::1;::::0;;15487:2:357;11936:153:135::1;::::0;::::1;15469:21:357::0;15526:2;15506:18;;;15499:30;15565:34;15545:18;;;15538:62;15636:11;15616:18;;;15609:39;15665:19;;11936:153:135::1;15285:405:357::0;11936:153:135::1;12200:22;12225:27;12248:3;12225:22;:27::i;:::-;12200:52:::0;-1:-1:-1;12446:26:135::1;12424:9;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;;;;;:::i;:::-;::::0;12403:153:::1;;;::::0;::::1;::::0;;16368:2:357;12403:153:135::1;::::0;::::1;16350:21:357::0;16407:2;16387:18;;;16380:30;16446:34;16426:18;;;16419:62;16517:28;16497:18;;;16490:56;16563:19;;12403:153:135::1;16166:422:357::0;12403:153:135::1;12836:147;::::0;;::::1;::::0;::::1;16767:25:357::0;;;12792:18:135::1;16808::357::0;;;16801:34;;;16740:18;;12836:147:135::1;::::0;;;;;::::1;::::0;;;;;;12813:180;;12836:147:::1;12813:180:::0;;::::1;::::0;13408:22;;::::1;6000:25:357::0;;;12813:180:135;-1:-1:-1;13346:240:135::1;::::0;5973:18:357;13408:22:135::1;::::0;;;;;::::1;::::0;;;13346:240;;::::1;::::0;;;::::1;::::0;;::::1;13408:22;13346:240:::0;::::1;::::0;13408:22;13346:240:::1;13489:16:::0;;13346:240:::1;:::i;:::-;13530:16;:41;;;13346:37;:240::i;:::-;13325:337;;;::::0;::::1;::::0;;18169:2:357;13325:337:135::1;::::0;::::1;18151:21:357::0;18208:2;18188:18;;;18181:30;18247:34;18227:18;;;18220:62;18318:20;18298:18;;;18291:48;18356:19;;13325:337:135::1;17967:414:357::0;13325:337:135::1;14020:85;::::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;14086:15;14020:85:::0;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;13960:33:135;;;:17:::1;:33:::0;;;;;13994:10:::1;13960:45:::0;;;;;;;:145;;;;;;;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;;;;;;::::1;::::0;;;14210:10;;::::1;::::0;14198;;::::1;::::0;14165:56;;;;::::1;::::0;;;::::1;::::0;13978:14;;14165:56:::1;::::0;::::1;-1:-1:-1::0;14325:31:135::1;::::0;;;:15:::1;:31;::::0;;;;;;:48;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;::::1;14362:10;14325:48;::::0;;-1:-1:-1;;;;;;;;10816:3564:135:o;8115:94::-;8154:4;8177:16;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21034:3510::-;21131:40;21174:34;;;:17;:34;;;;;;;;:51;;;;;;;;;;;;21131:94;;;;;;;;;;;;;;;;;;;;;;;;;21373:38;;;:20;:38;;;;;;21131:94;;;21373:38;;21372:39;21364:101;;;;;;;18838:2:357;21364:101:135;;;18820:21:357;18877:2;18857:18;;;18850:30;18916:34;18896:18;;;18889:62;18987:19;18967:18;;;18960:47;19024:19;;21364:101:135;18636:413:357;21364:101:135;21728:16;:26;;;:31;;21758:1;21728:31;21707:155;;;;;;;19256:2:357;21707:155:135;;;19238:21:357;19295:2;19275:18;;;19268:30;19334:34;19314:18;;;19307:62;19405:34;19385:18;;;19378:62;19477:15;19456:19;;;19449:44;19510:19;;21707:155:135;19054:481:357;21707:155:135;21873:16;21892:34;:16;:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:32;;5038:9:177;4918:145;21892:34:135;21873:53;;22240:9;22211:38;;:16;:26;;;:38;;;22190:163;;;;;;;20029:2:357;22190:163:135;;;20011:21:357;20068:2;20048:18;;;20041:30;20107:34;20087:18;;;20080:62;20178:34;20158:18;;;20151:62;20250:16;20229:19;;;20222:45;20284:19;;22190:163:135;19827:482:357;22190:163:135;22532:28;22503:16;:26;;;22485:44;;:15;:44;;;;:::i;:::-;:75;22464:175;;;;;;;20835:2:357;22464:175:135;;;20817:21:357;20874:2;20854:18;;;20847:30;20913:34;20893:18;;;20886:62;20984:23;20964:18;;;20957:51;21025:19;;22464:175:135;20633:417:357;22464:175:135;22972:24;22943:16;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;;;;;:::i;:::-;;22922:154;;;;;;;21257:2:357;22922:154:135;;;21239:21:357;21296:2;21276:18;;;21269:30;21335:34;21315:18;;;21308:62;21406:24;21386:18;;;21379:52;21448:19;;22922:154:135;21055:418:357;22922:154:135;23386:17;;;;23349:60;;:33;:16;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;5038:9:177;4918:145;23349:33:135;:60;;;23341:106;;;;;;;14432:2:357;23341:106:135;;;14414:21:357;14471:2;14451:18;;;14444:30;14510:34;14490:18;;;14483:62;14581:3;14561:18;;;14554:31;14602:19;;23341:106:135;14230:397:357;23341:106:135;23722:26;;;;;;;;;23709:39;;;;;23688:161;;;;;;;21989:2:357;23688:161:135;;;21971:21:357;22028:2;22008:18;;;22001:30;22067:34;22047:18;;;22040:62;22138:34;22118:18;;;22111:62;22210:13;22189:19;;;22182:42;22241:19;;23688:161:135;21787:479:357;23688:161:135;24222:35;24184;:16;:27;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:35;24166:53;;;;:15;:53;:::i;:::-;:91;24145:180;;;;;;;22473:2:357;24145:180:135;;;22455:21:357;22512:2;22492:18;;;22485:30;22551:34;22531:18;;;22524:62;22622:12;22602:18;;;22595:40;22652:19;;24145:180:135;22271:406:357;24145:180:135;24442:37;;;;:20;:37;;;;;;;;24441:38;24433:104;;;;;;;22884:2:357;24433:104:135;;;22866:21:357;22923:2;22903:18;;;22896:30;22962:34;22942:18;;;22935:62;23033:23;23013:18;;;23006:51;23074:19;;24433:104:135;22682:417:357;24433:104:135;21121:3423;;;21034:3510;;:::o;20049:185::-;20143:10;:8;:10::i;:::-;20129:24;;:10;:24;;;20125:51;;20162:14;;;;;;;;;;;;;;20125:51;20186:34;;;;;;:20;:34;;;;;:41;;;;20223:4;20186:41;;;20049:185::o;20481:228::-;20568:10;:8;:10::i;:::-;20554:24;;:10;:24;;;20550:51;;20587:14;;;;;;;;;;;;;;20550:51;20611:17;:29;;;;;;;20650:52;;;;;;;;;20686:15;20650:52;;;;;;20481:228::o;9921:77::-;:::o;14493:178::-;5766:8;:6;:8::i;:::-;5762:33;;;5783:12;;;;;;;;;;;;;;5762:33;14605:59:::1;14648:3;14653:10;14605:42;:59::i;:::-;14493:178:::0;:::o;6730:971::-;3100:19:43;3123:13;;;;;;3122:14;;3168:34;;;;-1:-1:-1;3186:12:43;;3201:1;3186:12;;;;:16;3168:34;3167:97;;;-1:-1:-1;3236:4:43;1465:19:59;:23;;;3208:55:43;;-1:-1:-1;3246:12:43;;;;;:17;3208:55;3146:190;;;;;;;23306:2:357;3146:190:43;;;23288:21:357;23345:2;23325:18;;;23318:30;23384:34;23364:18;;;23357:62;23455:16;23435:18;;;23428:44;23489:19;;3146:190:43;23104:410:357;3146:190:43;3346:12;:16;;;;3361:1;3346:16;;;3372:65;;;;3406:13;:20;;;;;;;;3372:65;6977:18:135::1;:40:::0;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;7027:12:::1;:28:::0;;;;::::1;::::0;;::::1;;::::0;;7065:16:::1;:36:::0;;;::::1;6977:40;7065:36:::0;;::::1;;;::::0;;7249:8:::1;::::0;::::1;7245:414;;7287:8;:38:::0;;1338:42:192::1;7287:38:135::0;;;::::1;;::::0;;7485:26:::1;:52:::0;;7603:45;;7485:52;7521:15:::1;7485:52;;;7603:45:::0;;;::::1;::::0;::::1;;::::0;;7245:414:::1;7669:25;:23;:25::i;:::-;3461:14:43::0;3457:99;;;3507:5;3491:21;;;;;;3531:14;;-1:-1:-1;23671:36:357;;3531:14:43;;23659:2:357;23644:18;3531:14:43;;;;;;;3090:472;6730:971:135;;;;:::o;9078:120::-;9143:6;9168:15;:10;9181:2;9168:15;:::i;:::-;:23;;9186:5;9168:23;:::i;:::-;9161:30;9078:120;-1:-1:-1;;9078:120:135:o;4315:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4315:52:135;;-1:-1:-1;4315:52:135:o;1175:320:59:-;1465:19;;;:23;;;1175:320::o;3911:3974:137:-;4078:6;:19;4043:17;;4063:34;;4078:19;;;;;4063:12;:34;:::i;:::-;4043:54;;4108:28;4139:17;:15;:17::i;:::-;4108:48;;4166:26;4265:6;:27;;;4257:36;;4222:6;:23;;;4214:32;;4207:87;;;;:::i;:::-;4166:128;-1:-1:-1;4309:13:137;;4305:2229;;4666:6;:20;4629:19;;4651:59;;4691:19;;4666:20;;;;;4651:59;:::i;:::-;4629:81;;4724:19;4855:6;:34;;;4847:43;;4818:19;:73;;;;:::i;:::-;4762:6;:18;4747:50;;4785:12;;4762:18;;4747:50;:::i;:::-;4746:146;;;;:::i;:::-;5111:6;:18;4724:168;;-1:-1:-1;5033:17:137;;5053:232;;5096:50;;4724:168;;5111:18;;5096:50;:::i;:::-;5185:6;:21;;;5177:30;;5247:6;:21;;;5239:30;;5053:16;:232::i;:::-;5033:252;;5562:1;5550:9;:13;5546:741;;;5835:437;5882:239;5939:10;6004:6;:34;;;5996:43;;6096:1;6084:9;:13;;;;:::i;:::-;5882:16;:239::i;5835:437::-;5822:450;;5546:741;6380:49;;6481:42;6443:24;6510:12;6481:42;;;6380:6;6481:42;-1:-1:-1;;4305:2229:137;6628:6;:31;;6652:7;;6628:6;:20;;:31;;6652:7;;6628:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6728:6;:23;;;6720:32;;6688:6;:20;;;;;;;;;;;;6680:29;;6673:80;6669:128;;;6776:10;;;;;;;;;;;;;;6669:128;6908:6;:18;6858:20;;6881:46;;6908:18;;6881:16;;;:46;:::i;:::-;6858:69;;7409:15;7442:31;7451:13;7466:6;7442:8;:31::i;:::-;7427:46;;:12;:46;:::i;:::-;7409:64;;7753:15;7785:9;7771:23;;:11;:23;:::i;:::-;7753:41;;7818:7;7808;:17;7804:75;;;7841:27;7850:17;7860:7;7850;:17;:::i;:::-;7841:8;:27::i;:::-;3975:3910;;;;;;3911:3974;;:::o;4456:211:196:-;4590:9;;4601:10;;;;;4613;;;;;4625:9;;;;4636:12;;;;4650:8;;;;4579:80;;4543:7;;4579:80;;4590:9;;4601:10;4650:8;4579:80;;:::i;:::-;;;;;;;;;;;;;4569:91;;;;;;4562:98;;4456:211;;;:::o;4419:2320:200:-;4589:4;4609:13;4632:15;4650:21;4660:7;4669:1;4650:9;:21::i;:::-;4632:39;;4782:10;4772:1146;;4894:10;4891:1;4884:21;5009:2;5005;4998:14;5747:56;5743:2;5736:68;5900:3;5896:2;5889:15;4772:1146;6666:4;6630;6589:9;6583:16;6549:2;6538:9;6534:18;6491:6;6449:7;6415:5;6389:309;6361:337;4419:2320;-1:-1:-1;;;;;;;4419:2320:200:o;4961:384:196:-;5060:7;5137:16;:24;;;5179:16;:26;;;5223:16;:41;;;5282:16;:32;;;5109:219;;;;;;;;;;27392:25:357;;;27448:2;27433:18;;27426:34;;;;27491:2;27476:18;;27469:34;27534:2;27519:18;;27512:34;27379:3;27364:19;;27161:391;1041:343:206;1234:11;1261:16;1280:19;1294:4;1280:13;:19::i;:::-;1261:38;;1318:59;1350:3;1355:6;1363;1371:5;1318:31;:59::i;:::-;1309:68;1041:343;-1:-1:-1;;;;;;1041:343:206:o;8340:234:137:-;4888:13:43;;;;;;;4880:69;;;;;;;27759:2:357;4880:69:43;;;27741:21:357;27798:2;27778:18;;;27771:30;27837:34;27817:18;;;27810:62;27908:13;27888:18;;;27881:41;27939:19;;4880:69:43;27557:407:357;4880:69:43;8415:6:137::1;:19:::0;;;::::1;;;;:24:::0;8411:157:::1;;8464:93;::::0;;::::1;::::0;::::1;::::0;;8494:6:::1;8464:93:::0;;;-1:-1:-1;8464:93:137::1;::::0;::::1;::::0;8541:12:::1;8464:93;;::::0;;;;;;;8455:102;::::1;;:6;:102:::0;8340:234::o;10247:152:135:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10363:12:135;;:29;;;;;;;-1:-1:-1;;10363:12:135;;;;;:27;;:29;;;;;-1:-1:-1;;10363:29:135;;;;;;:12;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;537:161:189:-;616:6;641:50;656:28;671:6;679:4;656:14;:28::i;:::-;686:4;641:14;:50::i;:::-;634:57;;537:161;;;;;;:::o;1040:228::-;1138:6;1257:4;1180:72;1213:19;1220:12;1257:4;1213:19;:::i;:::-;1205:28;;:4;:28;:::i;:::-;1235:16;:9;1247:4;1235:16;:::i;:::-;1180:24;:72::i;:::-;1164:89;;:12;:89;:::i;:::-;1163:98;;;;:::i;413:105:69:-;471:7;502:1;497;:6;;:14;;510:1;497:14;;;-1:-1:-1;506:1:69;;490:21;-1:-1:-1;413:105:69:o;407:192:190:-;461:9;484:18;505:9;484:30;;524:69;556:7;544:9;531:22;;:10;:22;:::i;:::-;:32;524:69;;;579:3;;;:::i;:::-;;;524:69;;;451:148;;407:192;:::o;3615:365:200:-;3696:4;3712:15;3931:2;3916:12;3909:5;3905:24;3901:33;3896:2;3887:7;3883:16;3879:56;3874:2;3867:5;3863:14;3860:76;3853:84;;3615:365;-1:-1:-1;;;;3615:365:200:o;2052:142:206:-;2116:18;2181:4;2171:15;;;;;;2154:33;;;;;;29671:19:357;;29715:2;29706:12;;29542:182;2154:33:206;;;;;;;;;;;;;2146:41;;2052:142;;;:::o;2253:281:205:-;2446:11;2482:45;2494:6;2502:24;2506:4;2512:6;2520:5;2502:3;:24::i;:::-;6693:17:191;;;;;;;6672;;;;;;;;;;:38;;6569:148;2482:45:205;2473:54;2253:281;-1:-1:-1;;;;;2253:281:205:o;311:102:71:-;367:6;397:1;392;:6;;:14;;405:1;392:14;;491:101;547:6;576:1;572;:5;:13;;584:1;572:13;;1208:273:106;1267:6;1391:36;491:4;1410:1;1399:8;1405:1;1399:5;:8::i;:::-;:12;;;;:::i;:::-;1398:28;;;;:::i;:::-;1391:6;:36::i;2830:6314:205:-;2923:19;2976:1;2962:4;:11;:15;2954:49;;;;;;;29931:2:357;2954:49:205;;;29913:21:357;29970:2;29950:18;;;29943:30;30009:23;29989:18;;;29982:51;30050:18;;2954:49:205;29729:345:357;2954:49:205;3014:23;3040:19;3052:6;3040:11;:19::i;:::-;3014:45;;3069:16;3088:21;3104:4;3088:15;:21::i;:::-;3069:40;;3119:26;3165:5;3148:23;;;;;;29671:19:357;;29715:2;29706:12;;29542:182;3148:23:205;;;;;;;;;;;;;3119:52;;3181:23;3295:9;3290:5790;3314:5;:12;3310:1;:16;3290:5790;;;3347:27;3377:5;3383:1;3377:8;;;;;;;;:::i;:::-;;;;;;;3347:38;;3516:3;:10;3497:15;:29;;3489:88;;;;;;;30470:2:357;3489:88:205;;;30452:21:357;30509:2;30489:18;;;30482:30;30548:34;30528:18;;;30521:62;30619:16;30599:18;;;30592:44;30653:19;;3489:88:205;30268:410:357;3489:88:205;3596:15;3615:1;3596:20;3592:837;;3768:19;;3758:30;;;;;;;3741:48;;3729:76;;3741:48;;3758:30;3741:48;29671:19:357;;;29715:2;29706:12;;29542:182;3741:48:205;;;;;;;;;;;;;3791:13;6693:17:191;;;;;;;6672;;;;;;;;;;:38;;6569:148;3729:76:205;3700:176;;;;;;;30885:2:357;3700:176:205;;;30867:21:357;30924:2;30904:18;;;30897:30;30963:31;30943:18;;;30936:59;31012:18;;3700:176:205;30683:353:357;3700:176:205;3592:837;;;3901:19;;:26;3931:2;-1:-1:-1;3897:532:205;;4097:19;;4087:30;;;;;;;4070:48;;4058:76;;4070:48;;4087:30;4070:48;29671:19:357;;;29715:2;29706:12;;29542:182;4058:76:205;4029:186;;;;;;;31243:2:357;4029:186:205;;;31225:21:357;31282:2;31262:18;;;31255:30;31321:34;31301:18;;;31294:62;31392:9;31372:18;;;31365:37;31419:19;;4029:186:205;31041:403:357;3897:532:205;4336:19;;6693:17:191;;;;;;;;;;6672;;;;;;;:38;4316:98:205;;;;;;;31651:2:357;4316:98:205;;;31633:21:357;31690:2;31670:18;;;31663:30;31729:34;31709:18;;;31702:62;31800:8;31780:18;;;31773:36;31826:19;;4316:98:205;31449:402:357;4316:98:205;936:14;803:2;949:1;936:14;:::i;:::-;4447:11;:19;;;:26;:48;4443:4627;;4538:3;:10;4519:15;:29;4515:1346;;5047:52;5067:11;:19;;;803:2;5067:31;;;;;;;;:::i;:::-;;;;;;;5047:19;:52::i;:::-;5038:61;;5145:1;5129:6;:13;:17;5121:89;;;;;;;32191:2:357;5121:89:205;;;32173:21:357;32230:2;32210:18;;;32203:30;32269:34;32249:18;;;32242:62;32340:29;32320:18;;;32313:57;32387:19;;5121:89:205;31989:423:357;5121:89:205;5322:1;5307:5;:12;:16;;;;:::i;:::-;5302:1;:21;5294:92;;;;;;;32619:2:357;5294:92:205;;;32601:21:357;32658:2;32638:18;;;32631:30;32697:34;32677:18;;;32670:62;32768:28;32748:18;;;32741:56;32814:19;;5294:92:205;32417:422:357;5294:92:205;5409:13;;;;;;;;4515:1346;5609:15;5633:3;5637:15;5633:20;;;;;;;;:::i;:::-;;;;;;;;;5627:27;;5609:45;;5676:33;5712:11;:19;;;5732:9;5712:30;;;;;;;;;;:::i;:::-;;;;;;;5676:66;;5780:20;5791:8;5780:10;:20::i;:::-;5764:36;-1:-1:-1;5822:20:205;5841:1;5822:20;;:::i;:::-;;;5447:414;;4443:4627;;;1105:1;5885:11;:19;;;:26;:59;5881:3189;;5964:17;5984:25;5997:11;5984:12;:25::i;:::-;5964:45;;6027:12;6048:4;6053:1;6048:7;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;6074:12:205;6094:10;6103:1;6048:7;6094:10;:::i;:::-;6089:16;;:1;:16;:::i;:::-;6074:31;;6123:26;6152:25;6164:4;6170:6;6152:25;;:11;:25::i;:::-;6123:54;;6195:25;6223:33;6235:3;6240:15;6223:11;:33::i;:::-;6195:61;;6274:26;6303:51;6326:13;6341:12;6303:22;:51::i;:::-;6274:80;;6661:18;6637:13;:20;:42;6608:171;;;;;;;33408:2:357;6608:171:205;;;33390:21:357;33447:2;33427:18;;;33420:30;33486:34;33466:18;;;33459:62;33557:28;33537:18;;;33530:56;33603:19;;6608:171:205;33206:422:357;6608:171:205;6802:26;;;1447:1;6802:26;;:55;;-1:-1:-1;6832:25:205;;;1553:1;6832:25;6802:55;6798:2169;;;7498:18;7475:12;:19;:41;7442:185;;;;;;;33835:2:357;7442:185:205;;;33817:21:357;33874:2;33854:18;;;33847:30;33913:34;33893:18;;;33886:62;33984:31;33964:18;;;33957:59;34033:19;;7442:185:205;33633:425:357;7442:185:205;7985:43;8005:11;:19;;;8025:1;8005:22;;;;;;;;:::i;7985:43::-;7976:52;;8074:1;8058:6;:13;:17;8050:87;;;;;;;34265:2:357;8050:87:205;;;34247:21:357;34304:2;34284:18;;;34277:30;34343:34;34323:18;;;34316:62;34414:27;34394:18;;;34387:55;34459:19;;8050:87:205;34063:421:357;8050:87:205;8249:1;8234:5;:12;:16;;;;:::i;:::-;8229:1;:21;8221:90;;;;;;;34691:2:357;8221:90:205;;;34673:21:357;34730:2;34710:18;;;34703:30;34769:34;34749:18;;;34742:62;34840:26;34820:18;;;34813:54;34884:19;;8221:90:205;34489:420:357;8221:90:205;8334:13;;;;;;;;;;;;;;6798:2169;8376:31;;;;;:65;;-1:-1:-1;8411:30:205;;;1339:1;8411:30;8376:65;8372:595;;;8748:34;8759:11;:19;;;8779:1;8759:22;;;;;;;;:::i;:::-;;;;;;;8748:10;:34::i;:::-;8732:50;-1:-1:-1;8804:37:205;8823:18;8804:37;;:::i;:::-;;;8372:595;;;8888:60;;;;;35116:2:357;8888:60:205;;;35098:21:357;35155:2;35135:18;;;35128:30;35194:34;35174:18;;;35167:62;35265:20;35245:18;;;35238:48;35303:19;;8888:60:205;34914:414:357;8372:595:205;5946:3035;;;;;;5881:3189;;;9005:50;;;;;35535:2:357;9005:50:205;;;35517:21:357;35574:2;35554:18;;;35547:30;35613:34;35593:18;;;35586:62;35684:10;35664:18;;;35657:38;35712:19;;9005:50:205;35333:404:357;5881:3189:205;-1:-1:-1;3328:3:205;;;;:::i;:::-;;;;3290:5790;;;-1:-1:-1;9090:47:205;;;;;35944:2:357;9090:47:205;;;35926:21:357;35983:2;35963:18;;;35956:30;36022:34;36002:18;;;35995:62;36093:7;36073:18;;;36066:35;36118:19;;9090:47:205;35742:401:357;4596:2947:106;4644:8;4700:1;4696;:5;4688:27;;;;;;;36350:2:357;4688:27:106;;;36332:21:357;36389:1;36369:18;;;36362:29;36427:11;36407:18;;;36400:39;36456:18;;4688:27:106;36148:332:357;4688:27:106;5107:8;5145:2;5125:16;5138:1;5125:4;:16::i;:::-;5118:29;5175:3;:7;;;5161:22;;;;5208:17;;;6001:31;5997:35;;6052:5;;5459:2;6051:13;;;6068:32;6050:50;6120:5;;6119:13;;6136:33;6118:51;6189:5;;6188:13;;6205:33;6187:51;6258:5;;6257:13;;6274:33;6256:51;6327:5;;6326:13;;6343:32;6325:50;6395:5;;6394:13;;6411:30;6393:48;5398:31;5394:35;;5449:5;;5448:13;;5465:32;5447:50;5517:5;;5516:13;;5533:32;5515:50;5585:5;;5584:13;;5583:50;;5653:5;;5652:13;;5651:50;;5721:5;;5720:13;;;5719:50;;5787:5;;;:46;;6735:10;7125:43;7120:48;7232:71;:75;;;;7227:80;;;;7380:72;7375:77;7523:3;7517:9;;;-1:-1:-1;;4596:2947:106:o;1487:3103::-;1536:8;1718:21;1713:1;:26;1709:40;;-1:-1:-1;1748:1:106;;1487:3103;-1:-1:-1;1487:3103:106:o;1709:40::-;1948:21;1943:1;:26;1939:54;;1971:22;;;;;36687:2:357;1971:22:106;;;36669:21:357;36726:2;36706:18;;;36699:30;36765:14;36745:18;;;36738:42;36797:18;;1971:22:106;36485:336:357;1939:54:106;2266:5;2260:2;2255:7;;;2254:17;;-1:-1:-1;2535:8:106;2601:2;2559:29;2548:7;;;2547:41;2591:5;2547:49;2546:57;;2629:29;2625:33;;2621:37;;;3300:35;;;3355:5;;2935:2;3354:13;;;3371:32;3353:50;3423:5;;3422:13;;3421:51;;3492:5;;3491:13;;3508:34;3490:52;3562:5;;3561:13;;3560:53;;3633:5;;3632:13;;3649:35;3631:53;2941:32;2874:31;2870:35;;2925:5;;2924:13;;2923:50;;;2998:5;;;:40;;3058:5;3057:13;;;3074:35;3056:53;3127:5;;;3136:40;3127:50;4002:10;4502:49;4489:62;4564:3;:7;;;;4488:84;;;;;;-1:-1:-1;;1487:3103:106:o;9434:390:205:-;9553:13;;9500:24;;9553:13;9585:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;9585:22:205;;;;;;;;;;;;;;;;9576:31;;9622:9;9617:201;9641:6;9637:1;:10;9617:201;;;9676:72;;;;;;;;9696:6;9703:1;9696:9;;;;;;;;:::i;:::-;;;;;;;9676:72;;;;9716:29;9735:6;9742:1;9735:9;;;;;;;;:::i;:::-;;;;;;;9716:18;:29::i;:::-;9676:72;;;9664:6;9671:1;9664:9;;;;;;;;:::i;:::-;;;;;;;;;;:84;9790:3;;9617:201;;;;9526:298;9434:390;;;:::o;4332:1978:191:-;4395:12;4419:21;4550:4;4544:11;4532:23;;4663:6;4657:13;4836:11;4830:4;4826:22;5195:4;5180:13;5176:24;5169:4;5165:9;5161:40;5151:8;5147:55;5141:4;5134:69;5293:13;5283:8;5276:31;;5434:4;5426:6;5422:17;5571:4;5561:8;5557:19;5662:4;5647:622;5675:11;5672:1;5669:18;5647:622;;;5854:1;5848:4;5844:12;5830;5826:31;5996:1;5984:10;5980:18;5974:25;5968:4;5963:37;6119:1;6113:4;6109:12;6101:6;6093:29;6249:4;6246:1;6242:12;6235:4;6227:6;6223:17;6215:40;-1:-1:-1;;5702:4:191;5695:12;5647:622;;;-1:-1:-1;6295:8:191;;4332:1978;-1:-1:-1;;;;;4332:1978:191:o;3993:464:203:-;4055:17;4085:18;4105;4125:20;4149:18;4163:3;4149:13;:18::i;:::-;4084:83;;-1:-1:-1;4084:83:203;-1:-1:-1;4084:83:203;-1:-1:-1;4198:21:203;4186:8;:33;;;;;;;;:::i;:::-;;4178:103;;;;;;;37028:2:357;4178:103:203;;;37010:21:357;37067:2;37047:18;;;37040:30;37106:34;37086:18;;;37079:62;37177:27;37157:18;;;37150:55;37222:19;;4178:103:203;36826:421:357;4178:103:203;4314:23;4327:10;4314;:23;:::i;:::-;4300:10;;:37;4292:102;;;;;;;37454:2:357;4292:102:203;;;37436:21:357;37493:2;37473:18;;;37466:30;37532:34;37512:18;;;37505:62;37603:22;37583:18;;;37576:50;37643:19;;4292:102:203;37252:416:357;4292:102:203;4412:38;4418:3;:7;;;4427:10;4439;4412:5;:38::i;10121:193:205:-;10195:16;10244:2;10229:5;:12;;;:17;:78;;10281:26;10301:5;10281:19;:26::i;:::-;10229:78;;;10249:29;10272:5;10249:22;:29::i;10495:172::-;10562:21;10606:54;10622:37;10642:5;:13;;;10656:1;10642:16;;;;;;;;:::i;10622:37::-;10606:15;:54::i;3805:237:191:-;3880:12;3918:6;:13;3908:6;:23;3904:70;;-1:-1:-1;3954:9:191;;;;;;;;;-1:-1:-1;3954:9:191;;3947:16;;3904:70;3990:45;3996:6;4004;4028;4012;:13;:22;;;;:::i;:::-;3990:5;:45::i;10892:321:205:-;10980:15;11007:11;11034:2;:9;11022:2;:9;:21;11021:47;;11059:2;:9;11021:47;;;11047:2;:9;11021:47;11007:61;;11078:129;11095:3;11085:7;:13;:43;;;;;11117:2;11120:7;11117:11;;;;;;;;:::i;:::-;;;;;;;;;11102:26;;;:2;11105:7;11102:11;;;;;;;;:::i;:::-;;;;;;;:26;11085:43;11078:129;;;11173:9;;;;;11078:129;;;10997:216;10892:321;;;;:::o;15328:575:106:-;15376:9;15409:1;15405;:5;15397:27;;;;;;;36350:2:357;15397:27:106;;;36332:21:357;36389:1;36369:18;;;36362:29;36427:11;36407:18;;;36400:39;36456:18;;15397:27:106;36148:332:357;15397:27:106;-1:-1:-1;15821:1:106;15473:34;-1:-1:-1;;15467:1:106;15463:49;15566:9;;;15546:18;15543:33;15540:1;15536:41;15530:48;15624:9;;;15612:10;15609:25;15606:1;15602:33;15596:40;15678:9;;;15670:6;15667:21;15664:1;15660:29;15654:36;15730:9;;;15724:4;15721:19;15718:1;15714:27;;;15708:34;;;15781:9;;;15776:3;15773:18;15770:1;15766:26;15760:33;15832:9;;;15824:18;;;15817:26;;15811:33;15876:9;;;-1:-1:-1;15862:25:106;;15328:575::o;3732:130:203:-;3791:21;3831:24;3840:14;3850:3;3840:9;:14::i;:::-;3831:8;:24::i;5246:4079::-;5335:15;5352;5369:17;5705:1;5692:3;:10;;;:14;5684:101;;;;;;;37875:2:357;5684:101:203;;;37857:21:357;37914:2;37894:18;;;37887:30;37953:34;37933:18;;;37926:62;38024:34;38004:18;;;37997:62;38096:12;38075:19;;;38068:41;38126:19;;5684:101:203;37673:478:357;5684:101:203;5816:7;;;;5898:10;;5796:17;5890:19;5943:4;5933:14;;5929:3390;;5999:1;6002;6005:21;5991:36;;;;;;;;;;5929:3390;6058:4;6048:6;:14;6044:3275;;6164:14;6181:13;6190:4;6181:6;:13;:::i;:::-;6164:30;;6247:6;6234:3;:10;;;:19;6209:140;;;;;;;38358:2:357;6209:140:203;;;38340:21:357;38397:2;38377:18;;;38370:30;38436:34;38416:18;;;38409:62;38507:34;38487:18;;;38480:62;38579:16;38558:19;;;38551:45;38613:19;;6209:140:203;38156:482:357;6209:140:203;6471:1;6462:11;;;6456:18;6476:14;6452:39;;6544:11;;;;:41;;-1:-1:-1;6559:26:203;;;;;;6544:41;6519:177;;;;;;;38845:2:357;6519:177:203;;;38827:21:357;38884:2;38864:18;;;38857:30;38923:34;38903:18;;;38896:62;38994:34;38974:18;;;38967:62;39066:15;39045:19;;;39038:44;39099:19;;6519:177:203;38643:481:357;6519:177:203;-1:-1:-1;6719:1:203;;-1:-1:-1;6722:6:203;-1:-1:-1;6730:21:203;;-1:-1:-1;6711:41:203;;-1:-1:-1;;6711:41:203;6044:3275;6783:4;6773:6;:14;6769:2550;;6831:19;6853:13;6862:4;6853:6;:13;:::i;:::-;6831:35;;6919:11;6906:3;:10;;;:24;6881:164;;;;;;;39331:2:357;6881:164:203;;;39313:21:357;39370:2;39350:18;;;39343:30;39409:34;39389:18;;;39382:62;39480:34;39460:18;;;39453:62;39552:19;39531;;;39524:48;39589:19;;6881:164:203;39129:485:357;6881:164:203;7167:1;7158:11;;7152:18;7172:14;7148:39;7060:25;7240:26;;;7215:143;;;;;;;39821:2:357;7215:143:203;;;39803:21:357;39860:2;39840:18;;;39833:30;39899:34;39879:18;;;39872:62;39970:34;39950:18;;;39943:62;40042:12;40021:19;;;40014:41;40072:19;;7215:143:203;39619:478:357;7215:143:203;7488:1;7479:11;;7473:18;7455:1;7451:19;;7446:3;7442:29;7438:54;7537:2;7528:11;;7520:96;;;;;;;40304:2:357;7520:96:203;;;40286:21:357;40343:2;40323:18;;;40316:30;40382:34;40362:18;;;40355:62;40453:34;40433:18;;;40426:62;40525:10;40504:19;;;40497:39;40553:19;;7520:96:203;40102:476:357;7520:96:203;7669:20;7683:6;7669:11;:20;:::i;:::-;7656:10;;:33;7631:168;;;;;;;40785:2:357;7631:168:203;;;40767:21:357;40824:2;40804:18;;;40797:30;40863:34;40843:18;;;40836:62;40934:34;40914:18;;;40907:62;41006:14;40985:19;;;40978:43;41038:19;;7631:168:203;40583:480:357;7631:168:203;7822:15;7826:11;7822:1;:15;:::i;:::-;7814:55;-1:-1:-1;7839:6:203;-1:-1:-1;7847:21:203;;-1:-1:-1;7814:55:203;;-1:-1:-1;;;;7814:55:203;6769:2550;7900:4;7890:6;:14;7886:1433;;8003:15;8021:13;8030:4;8021:6;:13;:::i;:::-;8003:31;;8070:7;8057:3;:10;;;:20;8049:107;;;;;;;41270:2:357;8049:107:203;;;41252:21:357;41309:2;41289:18;;;41282:30;41348:34;41328:18;;;41321:62;41419:34;41399:18;;;41392:62;41491:12;41470:19;;;41463:41;41521:19;;8049:107:203;41068:478:357;8049:107:203;8179:1;;-1:-1:-1;8182:7:203;-1:-1:-1;8179:1:203;;-1:-1:-1;8171:42:203;;-1:-1:-1;;8171:42:203;7886:1433;8270:20;8293:13;8302:4;8293:6;:13;:::i;:::-;8270:36;;8359:12;8346:3;:10;;;:25;8321:161;;;;;;;41753:2:357;8321:161:203;;;41735:21:357;41792:2;41772:18;;;41765:30;41831:34;41811:18;;;41804:62;41902:34;41882:18;;;41875:62;41974:15;41953:19;;;41946:44;42007:19;;8321:161:203;41551:481:357;8321:161:203;8604:1;8595:11;;8589:18;8609:14;8585:39;8497:25;8677:26;;;8652:141;;;;;;;42239:2:357;8652:141:203;;;42221:21:357;42278:2;42258:18;;;42251:30;42317:34;42297:18;;;42290:62;42388:34;42368:18;;;42361:62;42460:10;42439:19;;;42432:39;42488:19;;8652:141:203;42037:476:357;8652:141:203;8926:1;8917:11;;8911:18;8892:1;8888:20;;8883:3;8879:30;8875:55;8976:2;8966:12;;8958:95;;;;;;;42720:2:357;8958:95:203;;;42702:21:357;42759:2;42739:18;;;42732:30;42798:34;42778:18;;;42771:62;42869:34;42849:18;;;42842:62;42941:8;42920:19;;;42913:37;42967:19;;8958:95:203;42518:474:357;8958:95:203;9106:22;9121:7;9106:12;:22;:::i;:::-;9093:10;;:35;9068:168;;;;;;;43199:2:357;9068:168:203;;;43181:21:357;43238:2;43218:18;;;43211:30;43277:34;43257:18;;;43250:62;43348:34;43328:18;;;43321:62;43420:12;43399:19;;;43392:41;43450:19;;9068:168:203;42997:478:357;9068:168:203;9259:16;9263:12;9259:1;:16;:::i;:::-;9251:57;-1:-1:-1;9277:7:203;-1:-1:-1;9286:21:203;;-1:-1:-1;9251:57:203;;-1:-1:-1;;;;9251:57:203;5246:4079;;;;;;:::o;9585:737::-;9676:17;9722:7;9712:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9712:18:203;-1:-1:-1;9705:25:203;-1:-1:-1;9740:54:203;;9772:11;9740:54;10010:11;10024:36;10053:7;10045:4;10024:36;:::i;:::-;10010:50;;10115:2;10109:4;10105:13;10140:1;10154:87;10168:7;10165:1;10162:14;10154:87;;;10226:11;;;10220:18;10206:12;;;10199:40;10191:2;10184:10;10154:87;;;10264:7;10261:1;10258:14;10255:51;;;10302:1;10292:7;10286:4;10282:18;10275:29;10255:51;;;10079:237;9585:737;;;;;:::o;4847:137::-;4912:17;4948:29;4954:3;:7;;;4963:1;4966:3;:10;;;4948:5;:29::i;660:2816:191:-;752:12;824:7;808;818:2;808:12;:23;;800:50;;;;;;;43682:2:357;800:50:191;;;43664:21:357;43721:2;43701:18;;;43694:30;43760:16;43740:18;;;43733:44;43794:18;;800:50:191;43480:338:357;800:50:191;892:6;881:7;872:6;:16;:26;;864:53;;;;;;;43682:2:357;864:53:191;;;43664:21:357;43721:2;43701:18;;;43694:30;43760:16;43740:18;;;43733:44;43794:18;;864:53:191;43480:338:357;864:53:191;965:7;956:6;:16;939:6;:13;:33;;931:63;;;;;;;44025:2:357;931:63:191;;;44007:21:357;44064:2;44044:18;;;44037:30;44103:19;44083:18;;;44076:47;44140:18;;931:63:191;43823:341:357;931:63:191;1015:22;1078:15;;1106:1931;;;;3178:4;3172:11;3159:24;;3365:1;3354:9;3347:20;3413:4;3402:9;3398:20;3392:4;3385:34;1071:2362;;1106:1931;1288:4;1282:11;1269:24;;1947:2;1938:7;1934:16;2329:9;2322:17;2316:4;2312:28;2300:9;2289;2285:25;2281:60;2377:7;2373:2;2369:16;2629:6;2615:9;2608:17;2602:4;2598:28;2586:9;2578:6;2574:22;2570:57;2566:70;2403:389;2662:3;2658:2;2655:11;2403:389;;;2780:9;;2769:21;;2703:4;2695:13;;;;2735;2403:389;;;-1:-1:-1;;2810:26:191;;;3018:2;3001:11;3014:7;2997:25;2991:4;2984:39;-1:-1:-1;1071:2362:191;-1:-1:-1;3460:9:191;660:2816;-1:-1:-1;;;;660:2816:191:o;1298:390:203:-;-1:-1:-1;;;;;;;;;;;;;;;;;1453:1:203;1440:3;:10;:14;1432:101;;;;;;;37875:2:357;1432:101:203;;;37857:21:357;37914:2;37894:18;;;37887:30;37953:34;37933:18;;;37926:62;38024:34;38004:18;;;37997:62;38096:12;38075:19;;;38068:41;38126:19;;1432:101:203;37673:478:357;1432:101:203;-1:-1:-1;1640:41:203;;;;;;;;;1658:10;;1640:41;;1610:2;1601:12;;;1640:41;;;;;;;;1298:390::o;1840:1740::-;1901:21;1935:18;1955;1975:20;1999:18;2013:3;1999:13;:18::i;:::-;1934:83;;-1:-1:-1;1934:83:203;-1:-1:-1;1934:83:203;-1:-1:-1;2048:21:203;2036:8;:33;;;;;;;;:::i;:::-;;2028:102;;;;;;;44371:2:357;2028:102:203;;;44353:21:357;44410:2;44390:18;;;44383:30;44449:34;44429:18;;;44422:62;44520:26;44500:18;;;44493:54;44564:19;;2028:102:203;44169:420:357;2028:102:203;2176:10;;2149:23;2162:10;2149;:23;:::i;:::-;:37;2141:100;;;;;;;44796:2:357;2141:100:203;;;44778:21:357;44835:2;44815:18;;;44808:30;44874:34;44854:18;;;44847:62;44945:20;44925:18;;;44918:48;44983:19;;2141:100:203;44594:414:357;2141:100:203;2651:30;;;1123:2;2651:30;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;2651:30:203;;;;;;;;;;;;;;-1:-1:-1;2644:37:203;-1:-1:-1;2692:17:203;2740:10;2760:681;2776:10;;2767:19;;2760:681;;;2803:18;2823;2846:150;2877:105;;;;;;;;2908:6;2895:3;:10;;;:19;;;;:::i;:::-;2877:105;;;;2972:6;2961:3;:7;;;2940:38;;;;:::i;:::-;2877:105;;2846:13;:150::i;:::-;2802:194;;;;;3201:153;;;;;;;;3248:10;3235;:23;;;;:::i;:::-;3201:153;;;;3332:6;3321:3;:7;;;3300:38;;;;:::i;:::-;3201:153;;;3183:4;3188:9;3183:15;;;;;;;;:::i;:::-;;;;;;;;;;:171;3369:14;3382:1;3369:14;;:::i;:::-;;-1:-1:-1;3407:23:203;3420:10;3407;:23;:::i;:::-;3397:33;;;;:::i;:::-;;;2788:653;;2760:681;;;-1:-1:-1;3541:23:203;;-1:-1:-1;3548:4:203;;1840:1740;-1:-1:-1;;;1840:1740:203:o;753:184:357:-;805:77;802:1;795:88;902:4;899:1;892:15;926:4;923:1;916:15;942:334;1013:2;1007:9;1069:2;1059:13;;1074:66;1055:86;1043:99;;1172:18;1157:34;;1193:22;;;1154:62;1151:88;;;1219:18;;:::i;:::-;1255:2;1248:22;942:334;;-1:-1:-1;942:334:357:o;1281:154::-;1367:42;1360:5;1356:54;1349:5;1346:65;1336:93;;1425:1;1422;1415:12;1440:589;1482:5;1535:3;1528:4;1520:6;1516:17;1512:27;1502:55;;1553:1;1550;1543:12;1502:55;1589:6;1576:20;1615:18;1611:2;1608:26;1605:52;;;1637:18;;:::i;:::-;1681:114;1789:4;1720:66;1713:4;1709:2;1705:13;1701:86;1697:97;1681:114;:::i;:::-;1820:2;1811:7;1804:19;1866:3;1859:4;1854:2;1846:6;1842:15;1838:26;1835:35;1832:55;;;1883:1;1880;1873:12;1832:55;1948:2;1941:4;1933:6;1929:17;1922:4;1913:7;1909:18;1896:55;1996:1;1971:16;;;1989:4;1967:27;1960:38;;;;1975:7;1440:589;-1:-1:-1;;;1440:589:357:o;2034:1032::-;2102:5;2150:4;2138:9;2133:3;2129:19;2125:30;2122:50;;;2168:1;2165;2158:12;2122:50;2201:2;2195:9;2243:4;2235:6;2231:17;2267:18;2335:6;2323:10;2320:22;2315:2;2303:10;2300:18;2297:46;2294:72;;;2346:18;;:::i;:::-;2386:10;2382:2;2375:22;2415:6;2406:15;;2458:9;2445:23;2437:6;2430:39;2521:2;2510:9;2506:18;2493:32;2478:47;;2534:33;2559:7;2534:33;:::i;:::-;2600:7;2595:2;2587:6;2583:15;2576:32;2660:2;2649:9;2645:18;2632:32;2617:47;;2673:33;2698:7;2673:33;:::i;:::-;2739:7;2734:2;2726:6;2722:15;2715:32;2808:2;2797:9;2793:18;2780:32;2775:2;2767:6;2763:15;2756:57;2875:3;2864:9;2860:19;2847:33;2841:3;2833:6;2829:16;2822:59;2932:3;2921:9;2917:19;2904:33;2890:47;;2960:2;2952:6;2949:14;2946:34;;;2976:1;2973;2966:12;2946:34;;3014:45;3055:3;3046:6;3035:9;3031:22;3014:45;:::i;:::-;3008:3;3000:6;2996:16;2989:71;;;2034:1032;;;;:::o;3071:510::-;3180:6;3188;3241:2;3229:9;3220:7;3216:23;3212:32;3209:52;;;3257:1;3254;3247:12;3209:52;3297:9;3284:23;3330:18;3322:6;3319:30;3316:50;;;3362:1;3359;3352:12;3316:50;3385:72;3449:7;3440:6;3429:9;3425:22;3385:72;:::i;:::-;3375:82;;;3507:2;3496:9;3492:18;3479:32;3520:31;3545:5;3520:31;:::i;:::-;3570:5;3560:15;;;3071:510;;;;;:::o;3817:270::-;3899:6;3952:2;3940:9;3931:7;3927:23;3923:32;3920:52;;;3968:1;3965;3958:12;3920:52;4007:9;3994:23;4026:31;4051:5;4026:31;:::i;4284:1175::-;4486:6;4494;4502;4510;4518;4562:9;4553:7;4549:23;4592:3;4588:2;4584:12;4581:32;;;4609:1;4606;4599:12;4581:32;4649:9;4636:23;4678:18;4719:2;4711:6;4708:14;4705:34;;;4735:1;4732;4725:12;4705:34;4758:72;4822:7;4813:6;4802:9;4798:22;4758:72;:::i;:::-;4748:82;;4877:2;4866:9;4862:18;4849:32;4839:42;;4974:3;4905:66;4901:2;4897:75;4893:85;4890:105;;;4991:1;4988;4981:12;4890:105;5029:2;5018:9;5014:18;5004:28;;5085:3;5074:9;5070:19;5057:33;5041:49;;5115:2;5105:8;5102:16;5099:36;;;5131:1;5128;5121:12;5099:36;5169:8;5158:9;5154:24;5144:34;;5216:7;5209:4;5205:2;5201:13;5197:27;5187:55;;5238:1;5235;5228:12;5187:55;5278:2;5265:16;5251:30;;5304:2;5296:6;5293:14;5290:34;;;5320:1;5317;5310:12;5290:34;;5373:7;5368:2;5358:6;5355:1;5351:14;5347:2;5343:23;5339:32;5336:45;5333:65;;;5394:1;5391;5384:12;5333:65;4284:1175;;;;-1:-1:-1;4284:1175:357;;-1:-1:-1;;;5425:2:357;5417:11;;5447:6;4284:1175::o;5669:180::-;5728:6;5781:2;5769:9;5760:7;5756:23;5752:32;5749:52;;;5797:1;5794;5787:12;5749:52;-1:-1:-1;5820:23:357;;5669:180;-1:-1:-1;5669:180:357:o;6036:258::-;6108:1;6118:113;6132:6;6129:1;6126:13;6118:113;;;6208:11;;;6202:18;6189:11;;;6182:39;6154:2;6147:10;6118:113;;;6249:6;6246:1;6243:13;6240:48;;;-1:-1:-1;;6284:1:357;6266:16;;6259:27;6036:258::o;6299:317::-;6341:3;6379:5;6373:12;6406:6;6401:3;6394:19;6422:63;6478:6;6471:4;6466:3;6462:14;6455:4;6448:5;6444:16;6422:63;:::i;:::-;6530:2;6518:15;6535:66;6514:88;6505:98;;;;6605:4;6501:109;;6299:317;-1:-1:-1;;6299:317:357:o;6621:220::-;6770:2;6759:9;6752:21;6733:4;6790:45;6831:2;6820:9;6816:18;6808:6;6790:45;:::i;6846:315::-;6914:6;6922;6975:2;6963:9;6954:7;6950:23;6946:32;6943:52;;;6991:1;6988;6981:12;6943:52;7027:9;7014:23;7004:33;;7087:2;7076:9;7072:18;7059:32;7100:31;7125:5;7100:31;:::i;7166:144::-;7274:10;7267:5;7263:22;7256:5;7253:33;7243:61;;7300:1;7297;7290:12;7315:300;7405:6;7458:2;7446:9;7437:7;7433:23;7429:32;7426:52;;;7474:1;7471;7464:12;7426:52;7513:9;7500:23;7532:53;7579:5;7532:53;:::i;7620:375::-;7720:6;7773:2;7761:9;7752:7;7748:23;7744:32;7741:52;;;7789:1;7786;7779:12;7741:52;7829:9;7816:23;7862:18;7854:6;7851:30;7848:50;;;7894:1;7891;7884:12;7848:50;7917:72;7981:7;7972:6;7961:9;7957:22;7917:72;:::i;:::-;7907:82;7620:375;-1:-1:-1;;;;7620:375:357:o;8000:800::-;8193:6;8201;8209;8217;8270:3;8258:9;8249:7;8245:23;8241:33;8238:53;;;8287:1;8284;8277:12;8238:53;8326:9;8313:23;8345:31;8370:5;8345:31;:::i;:::-;8395:5;-1:-1:-1;8452:2:357;8437:18;;8424:32;8465:33;8424:32;8465:33;:::i;:::-;8517:7;-1:-1:-1;8576:2:357;8561:18;;8548:32;8589:33;8548:32;8589:33;:::i;:::-;8641:7;-1:-1:-1;8700:2:357;8685:18;;8672:32;8713:55;8672:32;8713:55;:::i;:::-;8000:800;;;;-1:-1:-1;8000:800:357;;-1:-1:-1;;8000:800:357:o;8805:129::-;8890:18;8883:5;8879:30;8872:5;8869:41;8859:69;;8924:1;8921;8914:12;8939:245;8997:6;9050:2;9038:9;9029:7;9025:23;9021:32;9018:52;;;9066:1;9063;9056:12;9018:52;9105:9;9092:23;9124:30;9148:5;9124:30;:::i;9189:248::-;9257:6;9265;9318:2;9306:9;9297:7;9293:23;9289:32;9286:52;;;9334:1;9331;9324:12;9286:52;-1:-1:-1;;9357:23:357;;;9427:2;9412:18;;;9399:32;;-1:-1:-1;9189:248:357:o;10206:118::-;10292:5;10285:13;10278:21;10271:5;10268:32;10258:60;;10314:1;10311;10304:12;10329:799;10429:6;10437;10445;10453;10461;10514:3;10502:9;10493:7;10489:23;10485:33;10482:53;;;10531:1;10528;10521:12;10482:53;10570:9;10557:23;10589:31;10614:5;10589:31;:::i;:::-;10639:5;-1:-1:-1;10691:2:357;10676:18;;10663:32;;-1:-1:-1;10747:2:357;10732:18;;10719:32;10760;10719;10760;:::i;:::-;10811:7;-1:-1:-1;10870:2:357;10855:18;;10842:32;10883:30;10842:32;10883:30;:::i;:::-;10932:7;-1:-1:-1;10990:3:357;10975:19;;10962:33;11018:18;11007:30;;11004:50;;;11050:1;11047;11040:12;11004:50;11073:49;11114:7;11105:6;11094:9;11090:22;11073:49;:::i;:::-;11063:59;;;10329:799;;;;;;;;:::o;11392:642::-;11655:6;11650:3;11643:19;11692:6;11687:2;11682:3;11678:12;11671:28;11751:66;11742:6;11737:3;11733:16;11729:89;11724:2;11719:3;11715:12;11708:111;11872:6;11865:14;11858:22;11853:3;11849:32;11844:2;11839:3;11835:12;11828:54;11625:3;11911:6;11905:13;11927:60;11980:6;11975:2;11970:3;11966:12;11961:2;11953:6;11949:15;11927:60;:::i;:::-;12007:16;;;;12025:2;12003:25;;11392:642;-1:-1:-1;;;;;;11392:642:357:o;12694:251::-;12764:6;12817:2;12805:9;12796:7;12792:23;12788:32;12785:52;;;12833:1;12830;12823:12;12785:52;12865:9;12859:16;12884:31;12909:5;12884:31;:::i;13382:626::-;13556:6;13564;13572;13625:2;13613:9;13604:7;13600:23;13596:32;13593:52;;;13641:1;13638;13631:12;13593:52;13673:9;13667:16;13692:53;13739:5;13692:53;:::i;:::-;13814:2;13799:18;;13793:25;13764:5;;-1:-1:-1;13827:32:357;13793:25;13827:32;:::i;:::-;13930:2;13915:18;;13909:25;13878:7;;-1:-1:-1;13943:33:357;13909:25;13943:33;:::i;:::-;13995:7;13985:17;;;13382:626;;;;;:::o;14013:212::-;14111:6;14164:2;14152:9;14143:7;14139:23;14135:32;14132:52;;;14180:1;14177;14170:12;14132:52;-1:-1:-1;14203:16:357;;14013:212;-1:-1:-1;14013:212:357:o;14632:648::-;14726:6;14779:3;14767:9;14758:7;14754:23;14750:33;14747:53;;;14796:1;14793;14786:12;14747:53;14829:2;14823:9;14871:3;14863:6;14859:16;14941:6;14929:10;14926:22;14905:18;14893:10;14890:34;14887:62;14884:88;;;14952:18;;:::i;:::-;14992:10;14988:2;14981:22;;15040:9;15027:23;15019:6;15012:39;15112:2;15101:9;15097:18;15084:32;15079:2;15071:6;15067:15;15060:57;15178:2;15167:9;15163:18;15150:32;15145:2;15137:6;15133:15;15126:57;15244:2;15233:9;15229:18;15216:32;15211:2;15203:6;15199:15;15192:57;15268:6;15258:16;;;14632:648;;;;:::o;15695:184::-;15747:77;15744:1;15737:88;15844:4;15841:1;15834:15;15868:4;15865:1;15858:15;15884:277;15971:6;16024:2;16012:9;16003:7;15999:23;15995:32;15992:52;;;16040:1;16037;16030:12;15992:52;16072:9;16066:16;16111:1;16104:5;16101:12;16091:40;;16127:1;16124;16117:12;17028:934;17164:9;17198:18;17239:2;17231:6;17228:14;17225:40;;;17245:18;;:::i;:::-;17291:6;17288:1;17284:14;17317:4;17341:28;17365:2;17361;17357:11;17341:28;:::i;:::-;17403:19;;;17473:14;;;;17438:12;;;;17510:14;17499:26;;17496:46;;;17538:1;17535;17528:12;17496:46;17562:5;17576:353;17592:6;17587:3;17584:15;17576:353;;;17678:3;17665:17;17714:2;17701:11;17698:19;17695:109;;;17758:1;17787:2;17783;17776:14;17695:109;17829:57;17871:14;17857:11;17850:5;17846:23;17829:57;:::i;:::-;17817:70;;-1:-1:-1;17907:12:357;;;;17609;;17576:353;;;-1:-1:-1;17951:5:357;17028:934;-1:-1:-1;;;;;;;17028:934:357:o;18386:245::-;18453:6;18506:2;18494:9;18485:7;18481:23;18477:32;18474:52;;;18522:1;18519;18512:12;18474:52;18554:9;18548:16;18573:28;18595:5;18573:28;:::i;19540:282::-;19642:6;19695:2;19683:9;19674:7;19670:23;19666:32;19663:52;;;19711:1;19708;19701:12;19663:52;19743:9;19737:16;19762:30;19786:5;19762:30;:::i;20314:184::-;20366:77;20363:1;20356:88;20463:4;20460:1;20453:15;20487:4;20484:1;20477:15;20503:125;20543:4;20571:1;20568;20565:8;20562:34;;;20576:18;;:::i;:::-;-1:-1:-1;20613:9:357;;20503:125::o;21478:304::-;21579:6;21632:2;21620:9;21611:7;21607:23;21603:32;21600:52;;;21648:1;21645;21638:12;21600:52;21680:9;21674:16;21699:53;21746:5;21699:53;:::i;23718:270::-;23757:7;23789:18;23834:2;23831:1;23827:10;23864:2;23861:1;23857:10;23920:3;23916:2;23912:12;23907:3;23904:21;23897:3;23890:11;23883:19;23879:47;23876:73;;;23929:18;;:::i;:::-;23969:13;;23718:270;-1:-1:-1;;;;23718:270:357:o;23993:236::-;24032:3;24060:18;24105:2;24102:1;24098:10;24135:2;24132:1;24128:10;24166:3;24162:2;24158:12;24153:3;24150:21;24147:47;;;24174:18;;:::i;:::-;24210:13;;23993:236;-1:-1:-1;;;;23993:236:357:o;24234:184::-;24286:77;24283:1;24276:88;24383:4;24380:1;24373:15;24407:4;24404:1;24397:15;24423:308;24462:1;24488;24478:35;;24493:18;;:::i;:::-;24610:66;24607:1;24604:73;24535:66;24532:1;24529:73;24525:153;24522:179;;;24681:18;;:::i;:::-;-1:-1:-1;24715:10:357;;24423:308::o;24736:369::-;24775:4;24811:1;24808;24804:9;24920:1;24852:66;24848:74;24845:1;24841:82;24836:2;24829:10;24825:99;24822:125;;;24927:18;;:::i;:::-;25046:1;24978:66;24974:74;24971:1;24967:82;24963:2;24959:91;24956:117;;;25053:18;;:::i;:::-;-1:-1:-1;;25090:9:357;;24736:369::o;25110:655::-;25149:7;25181:66;25273:1;25270;25266:9;25301:1;25298;25294:9;25346:1;25342:2;25338:10;25335:1;25332:17;25327:2;25323;25319:11;25315:35;25312:61;;;25353:18;;:::i;:::-;25392:66;25484:1;25481;25477:9;25531:1;25527:2;25522:11;25519:1;25515:19;25510:2;25506;25502:11;25498:37;25495:63;;;25538:18;;:::i;:::-;25584:1;25581;25577:9;25567:19;;25631:1;25627:2;25622:11;25619:1;25615:19;25610:2;25606;25602:11;25598:37;25595:63;;;25638:18;;:::i;:::-;25703:1;25699:2;25694:11;25691:1;25687:19;25682:2;25678;25674:11;25670:37;25667:63;;;25710:18;;:::i;:::-;-1:-1:-1;;;25750:9:357;;;;;25110:655;-1:-1:-1;;;25110:655:357:o;25770:367::-;25809:3;25844:1;25841;25837:9;25953:1;25885:66;25881:74;25878:1;25874:82;25869:2;25862:10;25858:99;25855:125;;;25960:18;;:::i;:::-;26079:1;26011:66;26007:74;26004:1;26000:82;25996:2;25992:91;25989:117;;;26086:18;;:::i;:::-;-1:-1:-1;;26122:9:357;;25770:367::o;26142:228::-;26182:7;26308:1;26240:66;26236:74;26233:1;26230:81;26225:1;26218:9;26211:17;26207:105;26204:131;;;26315:18;;:::i;:::-;-1:-1:-1;26355:9:357;;26142:228::o;26375:120::-;26415:1;26441;26431:35;;26446:18;;:::i;:::-;-1:-1:-1;26480:9:357;;26375:120::o;26500:656::-;26787:6;26776:9;26769:25;26750:4;26813:42;26903:2;26895:6;26891:15;26886:2;26875:9;26871:18;26864:43;26955:2;26947:6;26943:15;26938:2;26927:9;26923:18;26916:43;;26995:6;26990:2;26979:9;26975:18;26968:34;27039:6;27033:3;27022:9;27018:19;27011:35;27083:3;27077;27066:9;27062:19;27055:32;27104:46;27145:3;27134:9;27130:19;27122:6;27104:46;:::i;:::-;27096:54;26500:656;-1:-1:-1;;;;;;;;26500:656:357:o;27969:160::-;28046:13;;28099:4;28088:16;;28078:27;;28068:55;;28119:1;28116;28109:12;28068:55;27969:160;;;:::o;28134:1203::-;28237:6;28290:3;28278:9;28269:7;28265:23;28261:33;28258:53;;;28307:1;28304;28297:12;28258:53;28340:2;28334:9;28382:3;28374:6;28370:16;28452:6;28440:10;28437:22;28416:18;28404:10;28401:34;28398:62;28395:88;;;28463:18;;:::i;:::-;28499:2;28492:22;28536:16;;28561:53;28536:16;28561:53;:::i;:::-;28623:21;;28677:47;28720:2;28705:18;;28677:47;:::i;:::-;28672:2;28664:6;28660:15;28653:72;28758:47;28801:2;28790:9;28786:18;28758:47;:::i;:::-;28753:2;28745:6;28741:15;28734:72;28851:2;28840:9;28836:18;28830:25;28864:55;28911:7;28864:55;:::i;:::-;28947:2;28935:15;;28928:32;29005:3;28990:19;;28984:26;29019:55;28984:26;29019:55;:::i;:::-;29102:3;29090:16;;29083:33;29161:3;29146:19;;29140:26;29210:34;29197:48;;29185:61;;29175:89;;29260:1;29257;29250:12;29175:89;29292:3;29280:16;;29273:33;29284:6;28134:1203;-1:-1:-1;;;28134:1203:357:o;29342:195::-;29381:3;29412:66;29405:5;29402:77;29399:103;;29482:18;;:::i;:::-;-1:-1:-1;29529:1:357;29518:13;;29342:195::o;30079:184::-;30131:77;30128:1;30121:88;30228:4;30225:1;30218:15;30252:4;30249:1;30242:15;31856:128;31896:3;31927:1;31923:6;31920:1;31917:13;31914:39;;;31933:18;;:::i;:::-;-1:-1:-1;31969:9:357;;31856:128::o;32844:157::-;32874:1;32908:4;32905:1;32901:12;32932:3;32922:37;;32939:18;;:::i;:::-;32991:3;32984:4;32981:1;32977:12;32973:22;32968:27;;;32844:157;;;;:::o;33006:195::-;33044:4;33081;33078:1;33074:12;33113:4;33110:1;33106:12;33138:3;33133;33130:12;33127:38;;;33145:18;;:::i;:::-;33182:13;;;33006:195;-1:-1:-1;;;33006:195:357:o",linkReferences:{},immutableReferences:{"87151":[{start:1594,length:32},{start:5764,length:32}],"87154":[{start:1219,length:32},{start:6726,length:32}]}},methodIdentifiers:{"blacklistDisputeGame(address)":"7d6be8dc","checkWithdrawal(bytes32,address)":"71c1566e","depositTransaction(address,uint256,uint64,bool,bytes)":"e9e05c42","disputeGameBlacklist(address)":"45884d32","disputeGameFactory()":"f2b4e617","disputeGameFinalityDelaySeconds()":"952b2797","donateETH()":"8b4c40b0","finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":"8c3152e9","finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":"43ca1c50","finalizedWithdrawals(bytes32)":"a14238e7","guardian()":"452a9320","initialize(address,address,address,uint32)":"8e819e54","l2Sender()":"9bf62d82","minimumGasLimit(uint64)":"a35d99df","numProofSubmitters(bytes32)":"513747ab","params()":"cff0ab96","paused()":"5c975abb","proofMaturityDelaySeconds()":"bf653a5c","proofSubmitters(bytes32,uint256)":"a3860f48","proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":"4870496f","provenWithdrawals(bytes32,address)":"bb2c727e","respectedGameType()":"3c9f397c","respectedGameTypeUpdatedAt()":"4fd0434c","setRespectedGameType(uint32)":"7fc48504","superchainConfig()":"35e80ab3","systemConfig()":"33d7e2bd","version()":"54fd4d50"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_proofMaturityDelaySeconds","type":"uint256"},{"internalType":"uint256","name":"_disputeGameFinalityDelaySeconds","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BadTarget","type":"error"},{"inputs":[],"name":"CallPaused","type":"error"},{"inputs":[],"name":"GasEstimation","type":"error"},{"inputs":[],"name":"LargeCalldata","type":"error"},{"inputs":[],"name":"OutOfGas","type":"error"},{"inputs":[],"name":"SmallGasLimit","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"version","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"opaqueData","type":"bytes"}],"name":"TransactionDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"WithdrawalFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"withdrawalHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"WithdrawalProven","type":"event"},{"inputs":[{"internalType":"contract IDisputeGame","name":"_disputeGame","type":"address"}],"name":"blacklistDisputeGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"checkWithdrawal","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint64","name":"_gasLimit","type":"uint64"},{"internalType":"bool","name":"_isCreation","type":"bool"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"depositTransaction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IDisputeGame","name":"","type":"address"}],"name":"disputeGameBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFactory","outputs":[{"internalType":"contract DisputeGameFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disputeGameFinalityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donateETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"}],"name":"finalizeWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"address","name":"_proofSubmitter","type":"address"}],"name":"finalizeWithdrawalTransactionExternalProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finalizedWithdrawals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract DisputeGameFactory","name":"_disputeGameFactory","type":"address"},{"internalType":"contract SystemConfig","name":"_systemConfig","type":"address"},{"internalType":"contract SuperchainConfig","name":"_superchainConfig","type":"address"},{"internalType":"GameType","name":"_initialRespectedGameType","type":"uint32"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"l2Sender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_byteCount","type":"uint64"}],"name":"minimumGasLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_withdrawalHash","type":"bytes32"}],"name":"numProofSubmitters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"uint128","name":"prevBaseFee","type":"uint128"},{"internalType":"uint64","name":"prevBoughtGas","type":"uint64"},{"internalType":"uint64","name":"prevBlockNum","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofMaturityDelaySeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"proofSubmitters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Types.WithdrawalTransaction","name":"_tx","type":"tuple"},{"internalType":"uint256","name":"_disputeGameIndex","type":"uint256"},{"components":[{"internalType":"bytes32","name":"version","type":"bytes32"},{"internalType":"bytes32","name":"stateRoot","type":"bytes32"},{"internalType":"bytes32","name":"messagePasserStorageRoot","type":"bytes32"},{"internalType":"bytes32","name":"latestBlockhash","type":"bytes32"}],"internalType":"struct Types.OutputRootProof","name":"_outputRootProof","type":"tuple"},{"internalType":"bytes[]","name":"_withdrawalProof","type":"bytes[]"}],"name":"proveWithdrawalTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"provenWithdrawals","outputs":[{"internalType":"contract IDisputeGame","name":"disputeGameProxy","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameType","outputs":[{"internalType":"GameType","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"respectedGameTypeUpdatedAt","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"GameType","name":"_gameType","type":"uint32"}],"name":"setRespectedGameType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superchainConfig","outputs":[{"internalType":"contract SuperchainConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemConfig","outputs":[{"internalType":"contract SystemConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"custom:proxied":"@title OptimismPortal2","events":{"TransactionDeposited(address,address,uint256,bytes)":{"params":{"from":"Address that triggered the deposit transaction.","opaqueData":"ABI encoded deposit data to be parsed off-chain.","to":"Address that the deposit transaction is directed to.","version":"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{"params":{"success":"Whether the withdrawal transaction was successful.","withdrawalHash":"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{"params":{"from":"Address that triggered the withdrawal transaction.","to":"Address that the withdrawal transaction is directed to.","withdrawalHash":"Hash of the withdrawal transaction."}}},"kind":"dev","methods":{"blacklistDisputeGame(address)":{"params":{"_disputeGame":"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{"params":{"_proofSubmitter":"The submitter of the proof for the withdrawal hash","_withdrawalHash":"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{"params":{"_data":"Data to trigger the recipient with.","_gasLimit":"Amount of L2 gas to purchase by burning gas on L1.","_isCreation":"Whether or not the transaction is a contract creation.","_to":"Target address on L2.","_value":"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"params":{"_tx":"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"params":{"_proofSubmitter":"Address of the proof submitter.","_tx":"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"","returns":{"_0":"Address of the guardian."}},"initialize(address,address,address,uint32)":{"params":{"_disputeGameFactory":"Contract of the DisputeGameFactory.","_superchainConfig":"Contract of the SuperchainConfig.","_systemConfig":"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{"params":{"_byteCount":"Number of bytes in the calldata."},"returns":{"_0":"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{"params":{"_withdrawalHash":"Hash of the withdrawal."},"returns":{"_0":"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"params":{"_disputeGameIndex":"Index of the dispute game to prove the withdrawal against.","_outputRootProof":"Inclusion proof of the L2ToL1MessagePasser contract\'s storage root.","_tx":"Withdrawal transaction to finalize.","_withdrawalProof":"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{"params":{"_gameType":"The game type to consult for output proposals."}}},"stateVariables":{"disputeGameFactory":{"custom:network-specific":""},"spacer_52_0_32":{"custom:legacy":"@custom:spacer provenWithdrawals"},"spacer_53_0_1":{"custom:legacy":"@custom:spacer paused"},"spacer_54_0_20":{"custom:legacy":"@custom:spacer l2Oracle"},"systemConfig":{"custom:network-specific":""},"version":{"custom:semver":"3.8.0"}},"version":1},"userdoc":{"errors":{"BadTarget()":[{"notice":"Error for when a deposit or withdrawal is to a bad target."}],"CallPaused()":[{"notice":"Error for when a method cannot be called when paused. This could be renamed to `Paused` in the future, but it collides with the `Paused` event."}],"GasEstimation()":[{"notice":"Error for special gas estimation."}],"LargeCalldata()":[{"notice":"Error for when a deposit has too much calldata."}],"OutOfGas()":[{"notice":"Error returned when too much gas resource is consumed."}],"SmallGasLimit()":[{"notice":"Error for when a deposit has too small of a gas limit."}],"Unauthorized()":[{"notice":"Error for an unauthorized CALLER."}]},"events":{"TransactionDeposited(address,address,uint256,bytes)":{"notice":"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{"notice":"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{"notice":"Emitted when a withdrawal transaction is proven."}},"kind":"user","methods":{"blacklistDisputeGame(address)":{"notice":"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{"notice":"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},"constructor":{"notice":"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{"notice":"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{"notice":"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{"notice":"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{"notice":"Getter for the dispute game finality delay."},"donateETH()":{"notice":"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{"notice":"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{"notice":"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{"notice":"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{"notice":"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address,uint32)":{"notice":"Initializer."},"l2Sender()":{"notice":"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{"notice":"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{"notice":"External getter for the number of proof submitters for a withdrawal hash."},"params()":{"notice":"EIP-1559 style gas parameters."},"paused()":{"notice":"Getter for the current paused status."},"proofMaturityDelaySeconds()":{"notice":"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{"notice":"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{"notice":"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{"notice":"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{"notice":"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{"notice":"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{"notice":"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game\'s behavior."},"superchainConfig()":{"notice":"Contract of the Superchain Config."},"systemConfig()":{"notice":"Contract of the SystemConfig."},"version()":{"notice":"Semantic version."}},"notice":"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.","version":1}},"settings":{"compilationTarget":{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888","license":"MIT","urls":["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e","license":"MIT","urls":["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{"keccak256":"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3","license":"MIT","urls":["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149","license":"MIT","urls":["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solady/src/utils/LibClone.sol":{"keccak256":"0xfd4b40a4584e736d9d0b045fbc748023804c83819f5e018635a9f447834774a4","license":"MIT","urls":["bzz-raw://202fc57397118355d9d573c28d36ff45892e632a12b143f4bc5e7266bfb7737e","dweb:/ipfs/QmZYD6Va3nNUC4B9NHZcyvFmK59i3WnEPPpsi8N355GivN"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/OptimismPortal2.sol":{"keccak256":"0xcd1bb48f8005d9ed77120615d936441a8fd000b15bec1f32416f819999e4f0ca","license":"MIT","urls":["bzz-raw://251a0362b91185a1b53b4053651cc189e1411cdabc4003cbdc7f9efabbd7e22f","dweb:/ipfs/QmfW9o4Pxa2SAbiohXRnqDEbpHWZeqFM4d9QmD3gJjFLQE"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/L1/SuperchainConfig.sol":{"keccak256":"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d","license":"MIT","urls":["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"]},"src/L1/SystemConfig.sol":{"keccak256":"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a","license":"MIT","urls":["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"]},"src/dispute/DisputeGameFactory.sol":{"keccak256":"0xc7c6b0c2a051d4a14b3833243fa2e93e5e320bb106ef3979ce77098fb9d6629f","license":"MIT","urls":["bzz-raw://cd5cbabb1b0b41f9faf3d2329e519936ea43a1e7da1df6a9be90d2513603b09f","dweb:/ipfs/QmQM5FpgogJQnbmJjdQdoxxMzczx5PBiCNbiRUQiJqHyhM"]},"src/dispute/interfaces/IDisputeGame.sol":{"keccak256":"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b","license":"MIT","urls":["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"]},"src/dispute/interfaces/IDisputeGameFactory.sol":{"keccak256":"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda","license":"MIT","urls":["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"]},"src/dispute/interfaces/IInitializable.sol":{"keccak256":"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc","license":"MIT","urls":["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"]},"src/dispute/lib/LibGameId.sol":{"keccak256":"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6","license":"MIT","urls":["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"]},"src/dispute/lib/LibHashing.sol":{"keccak256":"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b","license":"MIT","urls":["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"]},"src/dispute/lib/LibPosition.sol":{"keccak256":"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6","license":"MIT","urls":["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"]},"src/dispute/lib/LibUDT.sol":{"keccak256":"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f","license":"MIT","urls":["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Bytes.sol":{"keccak256":"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859","license":"MIT","urls":["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/libraries/DisputeErrors.sol":{"keccak256":"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937","license":"MIT","urls":["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"]},"src/libraries/DisputeTypes.sol":{"keccak256":"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c","license":"MIT","urls":["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"]},"src/libraries/Encoding.sol":{"keccak256":"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87","license":"MIT","urls":["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"]},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","license":"MIT","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"]},"src/libraries/PortalErrors.sol":{"keccak256":"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558","license":"MIT","urls":["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"]},"src/libraries/SafeCall.sol":{"keccak256":"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f","license":"MIT","urls":["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"]},"src/libraries/Storage.sol":{"keccak256":"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f","license":"MIT","urls":["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"]},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","license":"MIT","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"]},"src/libraries/rlp/RLPReader.sol":{"keccak256":"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb","license":"MIT","urls":["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"]},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","license":"MIT","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"]},"src/libraries/trie/MerkleTrie.sol":{"keccak256":"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c","license":"MIT","urls":["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"]},"src/libraries/trie/SecureMerkleTrie.sol":{"keccak256":"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288","license":"MIT","urls":["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"]},"src/universal/ISemver.sol":{"keccak256":"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44","license":"MIT","urls":["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"]},"src/vendor/AddressAliasHelper.sol":{"keccak256":"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237","license":"Apache-2.0","urls":["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"uint256",name:"_proofMaturityDelaySeconds",type:"uint256"},{internalType:"uint256",name:"_disputeGameFinalityDelaySeconds",type:"uint256"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],type:"error",name:"BadTarget"},{inputs:[],type:"error",name:"CallPaused"},{inputs:[],type:"error",name:"GasEstimation"},{inputs:[],type:"error",name:"LargeCalldata"},{inputs:[],type:"error",name:"OutOfGas"},{inputs:[],type:"error",name:"SmallGasLimit"},{inputs:[],type:"error",name:"Unauthorized"},{inputs:[{internalType:"uint8",name:"version",type:"uint8",indexed:!1}],type:"event",name:"Initialized",anonymous:!1},{inputs:[{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0},{internalType:"uint256",name:"version",type:"uint256",indexed:!0},{internalType:"bytes",name:"opaqueData",type:"bytes",indexed:!1}],type:"event",name:"TransactionDeposited",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"bool",name:"success",type:"bool",indexed:!1}],type:"event",name:"WithdrawalFinalized",anonymous:!1},{inputs:[{internalType:"bytes32",name:"withdrawalHash",type:"bytes32",indexed:!0},{internalType:"address",name:"from",type:"address",indexed:!0},{internalType:"address",name:"to",type:"address",indexed:!0}],type:"event",name:"WithdrawalProven",anonymous:!1},{inputs:[{internalType:"contract IDisputeGame",name:"_disputeGame",type:"address"}],stateMutability:"nonpayable",type:"function",name:"blacklistDisputeGame"},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"view",type:"function",name:"checkWithdrawal"},{inputs:[{internalType:"address",name:"_to",type:"address"},{internalType:"uint256",name:"_value",type:"uint256"},{internalType:"uint64",name:"_gasLimit",type:"uint64"},{internalType:"bool",name:"_isCreation",type:"bool"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"depositTransaction"},{inputs:[{internalType:"contract IDisputeGame",name:"",type:"address"}],stateMutability:"view",type:"function",name:"disputeGameBlacklist",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFactory",outputs:[{internalType:"contract DisputeGameFactory",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"disputeGameFinalityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"payable",type:"function",name:"donateETH"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransaction"},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"address",name:"_proofSubmitter",type:"address"}],stateMutability:"nonpayable",type:"function",name:"finalizeWithdrawalTransactionExternalProof"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function",name:"finalizedWithdrawals",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"guardian",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"contract DisputeGameFactory",name:"_disputeGameFactory",type:"address"},{internalType:"contract SystemConfig",name:"_systemConfig",type:"address"},{internalType:"contract SuperchainConfig",name:"_superchainConfig",type:"address"},{internalType:"GameType",name:"_initialRespectedGameType",type:"uint32"}],stateMutability:"nonpayable",type:"function",name:"initialize"},{inputs:[],stateMutability:"view",type:"function",name:"l2Sender",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"uint64",name:"_byteCount",type:"uint64"}],stateMutability:"pure",type:"function",name:"minimumGasLimit",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"bytes32",name:"_withdrawalHash",type:"bytes32"}],stateMutability:"view",type:"function",name:"numProofSubmitters",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[],stateMutability:"view",type:"function",name:"params",outputs:[{internalType:"uint128",name:"prevBaseFee",type:"uint128"},{internalType:"uint64",name:"prevBoughtGas",type:"uint64"},{internalType:"uint64",name:"prevBlockNum",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"proofMaturityDelaySeconds",outputs:[{internalType:"uint256",name:"",type:"uint256"}]},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function",name:"proofSubmitters",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"struct Types.WithdrawalTransaction",name:"_tx",type:"tuple",components:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"sender",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gasLimit",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}]},{internalType:"uint256",name:"_disputeGameIndex",type:"uint256"},{internalType:"struct Types.OutputRootProof",name:"_outputRootProof",type:"tuple",components:[{internalType:"bytes32",name:"version",type:"bytes32"},{internalType:"bytes32",name:"stateRoot",type:"bytes32"},{internalType:"bytes32",name:"messagePasserStorageRoot",type:"bytes32"},{internalType:"bytes32",name:"latestBlockhash",type:"bytes32"}]},{internalType:"bytes[]",name:"_withdrawalProof",type:"bytes[]"}],stateMutability:"nonpayable",type:"function",name:"proveWithdrawalTransaction"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"provenWithdrawals",outputs:[{internalType:"contract IDisputeGame",name:"disputeGameProxy",type:"address"},{internalType:"uint64",name:"timestamp",type:"uint64"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameType",outputs:[{internalType:"GameType",name:"",type:"uint32"}]},{inputs:[],stateMutability:"view",type:"function",name:"respectedGameTypeUpdatedAt",outputs:[{internalType:"uint64",name:"",type:"uint64"}]},{inputs:[{internalType:"GameType",name:"_gameType",type:"uint32"}],stateMutability:"nonpayable",type:"function",name:"setRespectedGameType"},{inputs:[],stateMutability:"view",type:"function",name:"superchainConfig",outputs:[{internalType:"contract SuperchainConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"systemConfig",outputs:[{internalType:"contract SystemConfig",name:"",type:"address"}]},{inputs:[],stateMutability:"view",type:"function",name:"version",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"payable",type:"receive"}],devdoc:{kind:"dev",methods:{"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{"custom:legacy":"",returns:{_0:"Address of the guardian."}},"initialize(address,address,address,uint32)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},version:1},userdoc:{kind:"user",methods:{"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address,uint32)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/L1/OptimismPortal2.sol":"OptimismPortal2"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{keccak256:"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888",urls:["bzz-raw://d7fc8396619de513c96b6e00301b88dd790e83542aab918425633a5f7297a15a","dweb:/ipfs/QmXbP4kiZyp7guuS7xe8KaybnwkRPGrBc2Kbi3vhcTfpxb"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{keccak256:"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e",urls:["bzz-raw://6eb2fd1e9894dbe778f4b8131adecebe570689e63cf892f4e21257bfe1252497","dweb:/ipfs/QmXgUGNfZvrn6N2miv3nooSs7Jm34A41qz94fu2GtDFcx8"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/AddressUpgradeable.sol":{keccak256:"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3",urls:["bzz-raw://9b4b2110b7f2b3eb32951bc08046fa90feccffa594e1176cb91cdfb0e94726b4","dweb:/ipfs/QmSxLwYjicf9zWFuieRc8WQwE4FisA1Um5jp1iSa731TGt"],license:"MIT"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{keccak256:"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149",urls:["bzz-raw://d6520943ea55fdf5f0bafb39ed909f64de17051bc954ff3e88c9e5621412c79c","dweb:/ipfs/QmWZ4rAKTQbNG2HxGs46AcTXShsVytKeLs7CUCdCSv5N7a"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solady/src/utils/LibClone.sol":{keccak256:"0xfd4b40a4584e736d9d0b045fbc748023804c83819f5e018635a9f447834774a4",urls:["bzz-raw://202fc57397118355d9d573c28d36ff45892e632a12b143f4bc5e7266bfb7737e","dweb:/ipfs/QmZYD6Va3nNUC4B9NHZcyvFmK59i3WnEPPpsi8N355GivN"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/OptimismPortal2.sol":{keccak256:"0xcd1bb48f8005d9ed77120615d936441a8fd000b15bec1f32416f819999e4f0ca",urls:["bzz-raw://251a0362b91185a1b53b4053651cc189e1411cdabc4003cbdc7f9efabbd7e22f","dweb:/ipfs/QmfW9o4Pxa2SAbiohXRnqDEbpHWZeqFM4d9QmD3gJjFLQE"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/L1/SuperchainConfig.sol":{keccak256:"0x5fab874f980fe3e52c3398ddd25b655c56af0c98c15588b2ad9ebf30671d859d",urls:["bzz-raw://4e0aa613d38eceb621f8569fc714f521bc1f2df3d029552186ab3cdf2ee5d53f","dweb:/ipfs/QmZDzFxhTXLW79eohQbr1nghNh3oNC4CUfH7uMX8CsjVAB"],license:"MIT"},"src/L1/SystemConfig.sol":{keccak256:"0xc3d6392cbc44e38ddc93b84b82b08ab8e813df771a48926db3f94edde8f2b64a",urls:["bzz-raw://d326d644dc59a57a71f4ff6eaa5c6d1464697c7df337b641fe82091b9050e6ce","dweb:/ipfs/Qmd6tNzBmm8V4cpcMNyFWbWnKPNMRoysmmA62rZjGqpg7f"],license:"MIT"},"src/dispute/DisputeGameFactory.sol":{keccak256:"0xc7c6b0c2a051d4a14b3833243fa2e93e5e320bb106ef3979ce77098fb9d6629f",urls:["bzz-raw://cd5cbabb1b0b41f9faf3d2329e519936ea43a1e7da1df6a9be90d2513603b09f","dweb:/ipfs/QmQM5FpgogJQnbmJjdQdoxxMzczx5PBiCNbiRUQiJqHyhM"],license:"MIT"},"src/dispute/interfaces/IDisputeGame.sol":{keccak256:"0xe2611453d5cc05f8aa30dc0e5e15ee5ae29fd3eb55a2c034424250baebf12f9b",urls:["bzz-raw://274e00fbcea3b8455bbaa042130bf1f7a5b2b769f28ad57afbf9fabfd74a757a","dweb:/ipfs/QmRKQTfYdMjQYVbuZhdXts1d752eUq8RwrjqqwV5XRYLi6"],license:"MIT"},"src/dispute/interfaces/IDisputeGameFactory.sol":{keccak256:"0x204d89d38d4dc0db40fbf898d95e639ac5608810a5a5506a3d80d71177648bda",urls:["bzz-raw://71e5c0ff04f409f30ca4f8ebfae1592c6ca495e315b059f969d11812e6e84dbd","dweb:/ipfs/QmaNKkhkJv7qHzX6bKB3LjpWBupfMPLhoATUGx1HRTLtXh"],license:"MIT"},"src/dispute/interfaces/IInitializable.sol":{keccak256:"0xbc553af6501a972850a98fc6284943f8e95a5183a7b4f64198c16fca2338c9dc",urls:["bzz-raw://b1f1c422ce4a9e72f0bbdec36434206da4af3a32d38f922acab957942e994ce5","dweb:/ipfs/QmNQGWBceLxx1CKSMLfwTM584q8UCgUpF4rrFe8pdbWYtj"],license:"MIT"},"src/dispute/lib/LibGameId.sol":{keccak256:"0x9a9f30500da6eb7eeaa7193515dc5e45dc479f09ae7d522a07283c0fb5f4bfa6",urls:["bzz-raw://be113d8198d5822385de3d6ff3d7b3e8241993484aa95604ffaf38c2d33f40e0","dweb:/ipfs/QmY9mHC52fqc4gAFYCGobNyuP4TqugQgs8o1kTF33t17Hc"],license:"MIT"},"src/dispute/lib/LibHashing.sol":{keccak256:"0x5a072cd028094eee55acb84ed8d08d7422b1fb46658b7e043e916781530a383b",urls:["bzz-raw://b67e54f1318f1fd67b28b16c6861a56e27217c26a12aaea5c446e2ec53143920","dweb:/ipfs/QmVLSTP3PwXzRkR3A4qV9fjZhca9v8J1EnEYuVGUsSirAq"],license:"MIT"},"src/dispute/lib/LibPosition.sol":{keccak256:"0xf7ceb26f0ac7067ff8a43f263451050eef6fba2029eafb83d3cbe35224d894a6",urls:["bzz-raw://3bb403b0d707a8e2e3780a19185b918bfe907ca2d1b939ea74ae095a5cdf3b48","dweb:/ipfs/QmYFzkmF8TRomp1cBEbTsKxiEnqLnX6SvSh4y3rVa84pBR"],license:"MIT"},"src/dispute/lib/LibUDT.sol":{keccak256:"0x9b61b15f5edfac1e6528aec79c1be6ac712d5f6a62140db87ed749e41a46563f",urls:["bzz-raw://24ef4ecee91638e278886888192b7d2b1811ab99f4e90a06817a4b2651720046","dweb:/ipfs/QmdisoBv1mE9jDv6jvpcbvKhdmJZMMjQmATrEYfBQQrXtZ"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Bytes.sol":{keccak256:"0x827f47d123b0fdf3b08816d5b33831811704dbf4e554e53f2269354f6bba8859",urls:["bzz-raw://3137ac7204d30a245a8b0d67aa6da5286f1bd8c90379daab561f84963b6db782","dweb:/ipfs/QmWRhisw3axJK833gUScs23ETh2MLFbVzzqzYVMKSDN3S9"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/libraries/DisputeErrors.sol":{keccak256:"0x869bec0d79d97f2d0a00b1e70bf1e6955a2be585521e0084602e54455c0a6937",urls:["bzz-raw://a235c6349437cd2ade72909287404e2993c1c4bd356707299239c71fa3bf780e","dweb:/ipfs/QmcFSh6PWJ5sNg1CeoRyF9EnV8APWDz1kYP98v6ooGxc71"],license:"MIT"},"src/libraries/DisputeTypes.sol":{keccak256:"0xae3d053cf40b3e47669b89438524fec4eb571a78be296cc7e7ba23025b3bdf0c",urls:["bzz-raw://4a2b90604718ad29d19a8f21d45a5f8c6188320781fdb7102b3fccadae549961","dweb:/ipfs/QmUBTXgRFG7PvoCBJsXmgi2sZPZFPQQZTptQ91LL7tC2xQ"],license:"MIT"},"src/libraries/Encoding.sol":{keccak256:"0x1dafabcbd4877c7abe9698957b0a44b7e911cb8b11c1437a4ed897135669fa87",urls:["bzz-raw://6addfacefa26fdb44f56d73fa0172b97740de75629a962905ec2a20a28d40fff","dweb:/ipfs/QmboHMouqU19Rnbqrfo1gkfnuDBFcPiC9wsKgGtF2W1cNA"],license:"MIT"},"src/libraries/Hashing.sol":{keccak256:"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8",urls:["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],license:"MIT"},"src/libraries/PortalErrors.sol":{keccak256:"0x57adcaa45a1ce9c5af04d0fe4ecbc86e6ff3f947f7957ab55bdade129adcf558",urls:["bzz-raw://3cf485f11085ad6d1ba1386fdb340f65eb1048187692ad3d9eb8816e290140c1","dweb:/ipfs/Qmb423b45TLV8PdhFa8Hs72eom5D2C5q4gVcYGNzDh4EMU"],license:"MIT"},"src/libraries/SafeCall.sol":{keccak256:"0x0636a7abb242bb5d6f5606967c8929e6aa7e63468c1e2ce40ad4780d4c4bf94f",urls:["bzz-raw://a4daec2ac8f9907bbf84ef0a1c48f03bae8657619bc6f42b3a672f25c516f17a","dweb:/ipfs/Qmf8gfRxBv8gEmCkP8YMPb2GGfj9QUnoNUyKE7UR2SWGnq"],license:"MIT"},"src/libraries/Storage.sol":{keccak256:"0x7ce27a05552aa69afa6b2ab6684dfe99f27366cf8ef2046baeb1fb62fff0022f",urls:["bzz-raw://a6a24f3ed56681720707a5ab0372fd67fcb1a4f6fb072c7140cda28bdb70f269","dweb:/ipfs/QmW9uTpUULV4xmP7A7MoBDeDhVfQgmJG5qVUFGtXxWpWWK"],license:"MIT"},"src/libraries/Types.sol":{keccak256:"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4",urls:["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],license:"MIT"},"src/libraries/rlp/RLPReader.sol":{keccak256:"0x99731a39bc10203719d448117b0e6ef47771890440d595d118084d7988d59afb",urls:["bzz-raw://1dbeb75d0cc8de58350cc15df8867bf97d8492e0617b1c62733ace6155c6915a","dweb:/ipfs/QmNiXzskPE72h93F8EXT8wAXKzEh2EERLbubdVMfwTQbtj"],license:"MIT"},"src/libraries/rlp/RLPWriter.sol":{keccak256:"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6",urls:["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],license:"MIT"},"src/libraries/trie/MerkleTrie.sol":{keccak256:"0xf8ba770ee6666e73ae43184c700e9c704b2c4ace71f9e3c2227ddc11a8148b4c",urls:["bzz-raw://4702ccee1fe44aea3ee01d59e6152eb755da083f786f00947fec4437c064fe74","dweb:/ipfs/QmQjFj5J7hrEM1dxJjFszzW2Cs7g7eMhYNBXonF2DXBstE"],license:"MIT"},"src/libraries/trie/SecureMerkleTrie.sol":{keccak256:"0xeaff8315cfd21197bc6bc859c2decf5d4f4838c9c357c502cdf2b1eac863d288",urls:["bzz-raw://79dcdcaa560aea51d138da4f5dc553a1808b6de090b2dc1629f18375edbff681","dweb:/ipfs/QmbE4pUPhf5fLKW4W6cEjhQs55gEDvHmbmoBqkW1yz3bnw"],license:"MIT"},"src/universal/ISemver.sol":{keccak256:"0xba34562a8026f59886d2e07d1d58d90b9691d00e0788c6263cef6c22740cab44",urls:["bzz-raw://0826f998632f83c103c3085bf2e872db79a69022b6d2e0444c83a64ca5283c2a","dweb:/ipfs/QmcJ7PNqkAfKqbjFGRordtAg1v9DvcBSKvdTkVvciLyvQR"],license:"MIT"},"src/vendor/AddressAliasHelper.sol":{keccak256:"0x6ecb83b4ec80fbe49c22f4f95d90482de64660ef5d422a19f4d4b04df31c1237",urls:["bzz-raw://1d0885be6e473962f9a0622176a22300165ac0cc1a1d7f2e22b11c3d656ace88","dweb:/ipfs/QmPRa3KmRpXW5P9ykveKRDgYN5zYo4cYLAYSnoqHX3KnXR"],license:"Apache-2.0"}},version:1},storageLayout:{storage:[{astId:49534,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initialized",offset:0,slot:"0",type:"t_uint8"},{astId:49537,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"_initializing",offset:1,slot:"0",type:"t_bool"},{astId:88262,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"params",offset:0,slot:"1",type:"t_struct(ResourceParams)88245_storage"},{astId:88267,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"__gap",offset:0,slot:"2",type:"t_array(t_uint256)48_storage"},{astId:87165,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"l2Sender",offset:0,slot:"50",type:"t_address"},{astId:87170,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"finalizedWithdrawals",offset:0,slot:"51",type:"t_mapping(t_bytes32,t_bool)"},{astId:87173,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_52_0_32",offset:0,slot:"52",type:"t_bytes32"},{astId:87176,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_53_0_1",offset:0,slot:"53",type:"t_bool"},{astId:87180,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"superchainConfig",offset:1,slot:"53",type:"t_contract(SuperchainConfig)88793"},{astId:87183,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"spacer_54_0_20",offset:0,slot:"54",type:"t_address"},{astId:87187,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"systemConfig",offset:0,slot:"55",type:"t_contract(SystemConfig)89607"},{astId:87191,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameFactory",offset:0,slot:"56",type:"t_contract(DisputeGameFactory)97682"},{astId:87199,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"provenWithdrawals",offset:0,slot:"57",type:"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)87148_storage))"},{astId:87205,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameBlacklist",offset:0,slot:"58",type:"t_mapping(t_contract(IDisputeGame)100327,t_bool)"},{astId:87209,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameType",offset:0,slot:"59",type:"t_userDefinedValueType(GameType)103271"},{astId:87212,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"respectedGameTypeUpdatedAt",offset:4,slot:"59",type:"t_uint64"},{astId:87218,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"proofSubmitters",offset:0,slot:"60",type:"t_mapping(t_bytes32,t_array(t_address)dyn_storage)"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},"t_array(t_address)dyn_storage":{encoding:"dynamic_array",label:"address[]",numberOfBytes:"32",base:"t_address"},"t_array(t_uint256)48_storage":{encoding:"inplace",label:"uint256[48]",numberOfBytes:"1536",base:"t_uint256"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},t_bytes32:{encoding:"inplace",label:"bytes32",numberOfBytes:"32"},"t_contract(DisputeGameFactory)97682":{encoding:"inplace",label:"contract DisputeGameFactory",numberOfBytes:"20"},"t_contract(IDisputeGame)100327":{encoding:"inplace",label:"contract IDisputeGame",numberOfBytes:"20"},"t_contract(SuperchainConfig)88793":{encoding:"inplace",label:"contract SuperchainConfig",numberOfBytes:"20"},"t_contract(SystemConfig)89607":{encoding:"inplace",label:"contract SystemConfig",numberOfBytes:"20"},"t_mapping(t_address,t_struct(ProvenWithdrawal)87148_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => struct OptimismPortal2.ProvenWithdrawal)",numberOfBytes:"32",value:"t_struct(ProvenWithdrawal)87148_storage"},"t_mapping(t_bytes32,t_array(t_address)dyn_storage)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => address[])",numberOfBytes:"32",value:"t_array(t_address)dyn_storage"},"t_mapping(t_bytes32,t_bool)":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => bool)",numberOfBytes:"32",value:"t_bool"},"t_mapping(t_bytes32,t_mapping(t_address,t_struct(ProvenWithdrawal)87148_storage))":{encoding:"mapping",key:"t_bytes32",label:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))",numberOfBytes:"32",value:"t_mapping(t_address,t_struct(ProvenWithdrawal)87148_storage)"},"t_mapping(t_contract(IDisputeGame)100327,t_bool)":{encoding:"mapping",key:"t_contract(IDisputeGame)100327",label:"mapping(contract IDisputeGame => bool)",numberOfBytes:"32",value:"t_bool"},"t_struct(ProvenWithdrawal)87148_storage":{encoding:"inplace",label:"struct OptimismPortal2.ProvenWithdrawal",numberOfBytes:"32",members:[{astId:87145,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"disputeGameProxy",offset:0,slot:"0",type:"t_contract(IDisputeGame)100327"},{astId:87147,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"timestamp",offset:20,slot:"0",type:"t_uint64"}]},"t_struct(ResourceParams)88245_storage":{encoding:"inplace",label:"struct ResourceMetering.ResourceParams",numberOfBytes:"32",members:[{astId:88240,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBaseFee",offset:0,slot:"0",type:"t_uint128"},{astId:88242,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBoughtGas",offset:16,slot:"0",type:"t_uint64"},{astId:88244,contract:"src/L1/OptimismPortal2.sol:OptimismPortal2",label:"prevBlockNum",offset:24,slot:"0",type:"t_uint64"}]},t_uint128:{encoding:"inplace",label:"uint128",numberOfBytes:"16"},t_uint256:{encoding:"inplace",label:"uint256",numberOfBytes:"32"},t_uint64:{encoding:"inplace",label:"uint64",numberOfBytes:"8"},t_uint8:{encoding:"inplace",label:"uint8",numberOfBytes:"1"},"t_userDefinedValueType(GameType)103271":{encoding:"inplace",label:"GameType",numberOfBytes:"4"}}},userdoc:{version:1,kind:"user",methods:{"blacklistDisputeGame(address)":{notice:"Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly."},"checkWithdrawal(bytes32,address)":{notice:"Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be finalized, and otherwise has no side-effects."},constructor:{notice:"Constructs the OptimismPortal contract."},"depositTransaction(address,uint256,uint64,bool,bytes)":{notice:"Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in deriving deposit transactions. Note that if a deposit is made by a contract, its address will be aliased when retrieved using `tx.origin` or `msg.sender`. Consider using the CrossDomainMessenger contracts for a simpler developer experience."},"disputeGameBlacklist(address)":{notice:"A mapping of dispute game addresses to whether or not they are blacklisted."},"disputeGameFactory()":{notice:"Address of the DisputeGameFactory."},"disputeGameFinalityDelaySeconds()":{notice:"Getter for the dispute game finality delay."},"donateETH()":{notice:"Accepts ETH value without triggering a deposit to L2. This function mainly exists for the sake of the migration between the legacy Optimism system and Bedrock."},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{notice:"Finalizes a withdrawal transaction."},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{notice:"Finalizes a withdrawal transaction, using an external proof submitter."},"finalizedWithdrawals(bytes32)":{notice:"A list of withdrawal hashes which have been successfully finalized."},"guardian()":{notice:"Getter function for the address of the guardian. Public getter is legacy and will be removed in the future. Use `SuperchainConfig.guardian()` instead."},"initialize(address,address,address,uint32)":{notice:"Initializer."},"l2Sender()":{notice:"Address of the L2 account which initiated a withdrawal in this transaction. If the of this variable is the default L2 sender address, then we are NOT inside of a call to finalizeWithdrawalTransaction."},"minimumGasLimit(uint64)":{notice:"Computes the minimum gas limit for a deposit. The minimum gas limit linearly increases based on the size of the calldata. This is to prevent users from creating L2 resource usage without paying for it. This function can be used when interacting with the portal to ensure forwards compatibility."},"numProofSubmitters(bytes32)":{notice:"External getter for the number of proof submitters for a withdrawal hash."},"params()":{notice:"EIP-1559 style gas parameters."},"paused()":{notice:"Getter for the current paused status."},"proofMaturityDelaySeconds()":{notice:"Getter for the proof maturity delay."},"proofSubmitters(bytes32,uint256)":{notice:"Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{notice:"Proves a withdrawal transaction."},"provenWithdrawals(bytes32,address)":{notice:"A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},"respectedGameType()":{notice:"The game type that the OptimismPortal consults for output proposals."},"respectedGameTypeUpdatedAt()":{notice:"The timestamp at which the respected game type was last updated."},"setRespectedGameType(uint32)":{notice:"Sets the respected game type. Changing this value can alter the security properties of the system, depending on the new game's behavior."},"superchainConfig()":{notice:"Contract of the Superchain Config."},"systemConfig()":{notice:"Contract of the SystemConfig."},"version()":{notice:"Semantic version."}},events:{"TransactionDeposited(address,address,uint256,bytes)":{notice:"Emitted when a transaction is deposited from L1 to L2. The parameters of this event are read by the rollup node and used to derive deposit transactions on L2."},"WithdrawalFinalized(bytes32,bool)":{notice:"Emitted when a withdrawal transaction is finalized."},"WithdrawalProven(bytes32,address,address)":{notice:"Emitted when a withdrawal transaction is proven."}},errors:{"BadTarget()":[{notice:"Error for when a deposit or withdrawal is to a bad target."}],"CallPaused()":[{notice:"Error for when a method cannot be called when paused. This could be renamed to `Paused` in the future, but it collides with the `Paused` event."}],"GasEstimation()":[{notice:"Error for special gas estimation."}],"LargeCalldata()":[{notice:"Error for when a deposit has too much calldata."}],"OutOfGas()":[{notice:"Error returned when too much gas resource is consumed."}],"SmallGasLimit()":[{notice:"Error for when a deposit has too small of a gas limit."}],"Unauthorized()":[{notice:"Error for an unauthorized CALLER."}]},notice:"The OptimismPortal is a low-level contract responsible for passing messages between L1 and L2. Messages sent directly to the OptimismPortal have no form of replayability. Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface."},devdoc:{version:1,kind:"dev",methods:{"blacklistDisputeGame(address)":{params:{_disputeGame:"Dispute game to blacklist."}},"checkWithdrawal(bytes32,address)":{params:{_proofSubmitter:"The submitter of the proof for the withdrawal hash",_withdrawalHash:"Hash of the withdrawal to check."}},"depositTransaction(address,uint256,uint64,bool,bytes)":{params:{_data:"Data to trigger the recipient with.",_gasLimit:"Amount of L2 gas to purchase by burning gas on L1.",_isCreation:"Whether or not the transaction is a contract creation.",_to:"Target address on L2.",_value:"ETH value to send to the recipient."}},"finalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes))":{params:{_tx:"Withdrawal transaction to finalize."}},"finalizeWithdrawalTransactionExternalProof((uint256,address,address,uint256,uint256,bytes),address)":{params:{_proofSubmitter:"Address of the proof submitter.",_tx:"Withdrawal transaction to finalize."}},"guardian()":{returns:{_0:"Address of the guardian."}},"initialize(address,address,address,uint32)":{params:{_disputeGameFactory:"Contract of the DisputeGameFactory.",_superchainConfig:"Contract of the SuperchainConfig.",_systemConfig:"Contract of the SystemConfig."}},"minimumGasLimit(uint64)":{params:{_byteCount:"Number of bytes in the calldata."},returns:{_0:"The minimum gas limit for a deposit."}},"numProofSubmitters(bytes32)":{params:{_withdrawalHash:"Hash of the withdrawal."},returns:{_0:"The number of proof submitters for the withdrawal hash."}},"proveWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes),uint256,(bytes32,bytes32,bytes32,bytes32),bytes[])":{params:{_disputeGameIndex:"Index of the dispute game to prove the withdrawal against.",_outputRootProof:"Inclusion proof of the L2ToL1MessagePasser contract's storage root.",_tx:"Withdrawal transaction to finalize.",_withdrawalProof:"Inclusion proof of the withdrawal in L2ToL1MessagePasser contract."}},"setRespectedGameType(uint32)":{params:{_gameType:"The game type to consult for output proposals."}}},events:{"TransactionDeposited(address,address,uint256,bytes)":{params:{from:"Address that triggered the deposit transaction.",opaqueData:"ABI encoded deposit data to be parsed off-chain.",to:"Address that the deposit transaction is directed to.",version:"Version of this deposit transaction event."}},"WithdrawalFinalized(bytes32,bool)":{params:{success:"Whether the withdrawal transaction was successful.",withdrawalHash:"Hash of the withdrawal transaction."}},"WithdrawalProven(bytes32,address,address)":{params:{from:"Address that triggered the withdrawal transaction.",to:"Address that the withdrawal transaction is directed to.",withdrawalHash:"Hash of the withdrawal transaction."}}}},ast:{absolutePath:"src/L1/OptimismPortal2.sol",id:87972,exportedSymbols:{AddressAliasHelper:[111913],BadTarget:[103969],BondAmount:[103259],CallPaused:[103990],Claim:[103255],ClaimHash:[103257],Clock:[103267],Constants:[103096],DisputeGameFactory:[97682],Duration:[103263],GameId:[103265],GameStatus:[103277],GameType:[103271],GameTypes:[103317],GasEstimation:[103993],Hash:[103253],Hashing:[103936],IDisputeGame:[100327],ISemver:[109417],Initializable:[49678],LargeCalldata:[103972],LibClaim:[101086],LibClock:[101073],LibDuration:[101099],LibGameId:[100778],LibGameType:[101151],LibHash:[101112],LibHashing:[100800],LibPosition:[101018],LibTimestamp:[101125],LibVMStatus:[101138],LocalPreimageKey:[103373],NoValue:[103984],OnlyCustomGasToken:[103981],OptimismPortal2:[87971],OutputRoot:[103283],Position:[103269],ResourceMetering:[88581],SafeCall:[104213],SecureMerkleTrie:[106033],SmallGasLimit:[103975],SuperchainConfig:[88793],SystemConfig:[89607],Timestamp:[103261],TransferFailed:[103978],Types:[104349],Unauthorized:[103987],VMStatus:[103273],VMStatuses:[103351]},nodeType:"SourceUnit",src:"32:24886:135",nodes:[{id:87106,nodeType:"PragmaDirective",src:"32:23:135",nodes:[],literals:["solidity","0.8",".15"]},{id:87108,nodeType:"ImportDirective",src:"57:86:135",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol",file:"@openzeppelin/contracts/proxy/utils/Initializable.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:49679,symbolAliases:[{foreign:{id:87107,name:"Initializable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49678,src:"66:13:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87110,nodeType:"ImportDirective",src:"144:54:135",nodes:[],absolutePath:"src/libraries/SafeCall.sol",file:"src/libraries/SafeCall.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:104214,symbolAliases:[{foreign:{id:87109,name:"SafeCall",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104213,src:"153:8:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87113,nodeType:"ImportDirective",src:"199:86:135",nodes:[],absolutePath:"src/dispute/DisputeGameFactory.sol",file:"src/dispute/DisputeGameFactory.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:97683,symbolAliases:[{foreign:{id:87111,name:"DisputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97682,src:"208:18:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"},{foreign:{id:87112,name:"IDisputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:100327,src:"228:12:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87115,nodeType:"ImportDirective",src:"286:55:135",nodes:[],absolutePath:"src/L1/SystemConfig.sol",file:"src/L1/SystemConfig.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:89608,symbolAliases:[{foreign:{id:87114,name:"SystemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89607,src:"295:12:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87117,nodeType:"ImportDirective",src:"342:63:135",nodes:[],absolutePath:"src/L1/SuperchainConfig.sol",file:"src/L1/SuperchainConfig.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:88794,symbolAliases:[{foreign:{id:87116,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"351:16:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87119,nodeType:"ImportDirective",src:"406:56:135",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:103097,symbolAliases:[{foreign:{id:87118,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"415:9:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87121,nodeType:"ImportDirective",src:"463:48:135",nodes:[],absolutePath:"src/libraries/Types.sol",file:"src/libraries/Types.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:104350,symbolAliases:[{foreign:{id:87120,name:"Types",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104349,src:"472:5:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87123,nodeType:"ImportDirective",src:"512:52:135",nodes:[],absolutePath:"src/libraries/Hashing.sol",file:"src/libraries/Hashing.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:103937,symbolAliases:[{foreign:{id:87122,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"521:7:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87125,nodeType:"ImportDirective",src:"565:75:135",nodes:[],absolutePath:"src/libraries/trie/SecureMerkleTrie.sol",file:"src/libraries/trie/SecureMerkleTrie.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:106034,symbolAliases:[{foreign:{id:87124,name:"SecureMerkleTrie",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:106033,src:"574:16:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87127,nodeType:"ImportDirective",src:"641:71:135",nodes:[],absolutePath:"src/vendor/AddressAliasHelper.sol",file:"src/vendor/AddressAliasHelper.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:111914,symbolAliases:[{foreign:{id:87126,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"650:18:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87129,nodeType:"ImportDirective",src:"713:63:135",nodes:[],absolutePath:"src/L1/ResourceMetering.sol",file:"src/L1/ResourceMetering.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:88582,symbolAliases:[{foreign:{id:87128,name:"ResourceMetering",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88581,src:"722:16:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87131,nodeType:"ImportDirective",src:"777:52:135",nodes:[],absolutePath:"src/universal/ISemver.sol",file:"src/universal/ISemver.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:109418,symbolAliases:[{foreign:{id:87130,name:"ISemver",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:109417,src:"786:7:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87133,nodeType:"ImportDirective",src:"830:56:135",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:103097,symbolAliases:[{foreign:{id:87132,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"839:9:135",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:87134,nodeType:"ImportDirective",src:"888:40:135",nodes:[],absolutePath:"src/libraries/PortalErrors.sol",file:"src/libraries/PortalErrors.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:103994,symbolAliases:[],unitAlias:""},{id:87135,nodeType:"ImportDirective",src:"929:40:135",nodes:[],absolutePath:"src/libraries/DisputeTypes.sol",file:"src/libraries/DisputeTypes.sol",nameLocation:"-1:-1:-1",scope:87972,sourceUnit:103374,symbolAliases:[],unitAlias:""},{id:87971,nodeType:"ContractDefinition",src:"1310:23607:135",nodes:[{id:87148,nodeType:"StructDefinition",src:"1635:96:135",nodes:[],canonicalName:"OptimismPortal2.ProvenWithdrawal",members:[{constant:!1,id:87145,mutability:"mutable",name:"disputeGameProxy",nameLocation:"1682:16:135",nodeType:"VariableDeclaration",scope:87148,src:"1669:29:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:87144,nodeType:"UserDefinedTypeName",pathNode:{id:87143,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"1669:12:135"},referencedDeclaration:100327,src:"1669:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"},{constant:!1,id:87147,mutability:"mutable",name:"timestamp",nameLocation:"1715:9:135",nodeType:"VariableDeclaration",scope:87148,src:"1708:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87146,name:"uint64",nodeType:"ElementaryTypeName",src:"1708:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],name:"ProvenWithdrawal",nameLocation:"1642:16:135",scope:87971,visibility:"public"},{id:87151,nodeType:"VariableDeclaration",src:"1841:55:135",nodes:[],constant:!1,documentation:{id:87149,nodeType:"StructuredDocumentation",src:"1737:99:135",text:"@notice The delay between when a withdrawal transaction is proven and when it may be finalized."},mutability:"immutable",name:"PROOF_MATURITY_DELAY_SECONDS",nameLocation:"1868:28:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87150,name:"uint256",nodeType:"ElementaryTypeName",src:"1841:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{id:87154,nodeType:"VariableDeclaration",src:"2043:62:135",nodes:[],constant:!1,documentation:{id:87152,nodeType:"StructuredDocumentation",src:"1903:135:135",text:`@notice The delay between when a dispute game is resolved and when a withdrawal proven against it may be + finalized.`},mutability:"immutable",name:"DISPUTE_GAME_FINALITY_DELAY_SECONDS",nameLocation:"2070:35:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87153,name:"uint256",nodeType:"ElementaryTypeName",src:"2043:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{id:87158,nodeType:"VariableDeclaration",src:"2158:45:135",nodes:[],constant:!0,documentation:{id:87155,nodeType:"StructuredDocumentation",src:"2112:41:135",text:"@notice Version of the deposit event."},mutability:"constant",name:"DEPOSIT_VERSION",nameLocation:"2184:15:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87156,name:"uint256",nodeType:"ElementaryTypeName",src:"2158:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},value:{hexValue:"30",id:87157,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2202:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},visibility:"internal"},{id:87162,nodeType:"VariableDeclaration",src:"2299:60:135",nodes:[],constant:!0,documentation:{id:87159,nodeType:"StructuredDocumentation",src:"2210:84:135",text:"@notice The L2 gas limit set when eth is deposited using the receive() function."},mutability:"constant",name:"RECEIVE_DEFAULT_GAS_LIMIT",nameLocation:"2324:25:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87160,name:"uint64",nodeType:"ElementaryTypeName",src:"2299:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},value:{hexValue:"3130305f303030",id:87161,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"2352:7:135",typeDescriptions:{typeIdentifier:"t_rational_100000_by_1",typeString:"int_const 100000"},value:"100_000"},visibility:"internal"},{id:87165,nodeType:"VariableDeclaration",src:"2615:23:135",nodes:[],constant:!1,documentation:{id:87163,nodeType:"StructuredDocumentation",src:"2366:244:135",text:`@notice Address of the L2 account which initiated a withdrawal in this transaction. + If the of this variable is the default L2 sender address, then we are NOT inside of + a call to finalizeWithdrawalTransaction.`},functionSelector:"9bf62d82",mutability:"mutable",name:"l2Sender",nameLocation:"2630:8:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87164,name:"address",nodeType:"ElementaryTypeName",src:"2615:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"public"},{id:87170,nodeType:"VariableDeclaration",src:"2729:52:135",nodes:[],constant:!1,documentation:{id:87166,nodeType:"StructuredDocumentation",src:"2645:79:135",text:"@notice A list of withdrawal hashes which have been successfully finalized."},functionSelector:"a14238e7",mutability:"mutable",name:"finalizedWithdrawals",nameLocation:"2761:20:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},typeName:{id:87169,keyType:{id:87167,name:"bytes32",nodeType:"ElementaryTypeName",src:"2737:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"2729:24:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"},valueType:{id:87168,name:"bool",nodeType:"ElementaryTypeName",src:"2748:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:87173,nodeType:"VariableDeclaration",src:"2930:30:135",nodes:[],constant:!1,documentation:{id:87171,nodeType:"StructuredDocumentation",src:"2788:137:135",text:"@custom:legacy\n @custom:spacer provenWithdrawals\n @notice Spacer taking up the legacy `provenWithdrawals` mapping slot."},mutability:"mutable",name:"spacer_52_0_32",nameLocation:"2946:14:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87172,name:"bytes32",nodeType:"ElementaryTypeName",src:"2930:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"private"},{id:87176,nodeType:"VariableDeclaration",src:"3072:26:135",nodes:[],constant:!1,documentation:{id:87174,nodeType:"StructuredDocumentation",src:"2967:100:135",text:`@custom:legacy + @custom:spacer paused + @notice Spacer for backwards compatibility.`},mutability:"mutable",name:"spacer_53_0_1",nameLocation:"3085:13:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87175,name:"bool",nodeType:"ElementaryTypeName",src:"3072:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"private"},{id:87180,nodeType:"VariableDeclaration",src:"3156:40:135",nodes:[],constant:!1,documentation:{id:87177,nodeType:"StructuredDocumentation",src:"3105:46:135",text:"@notice Contract of the Superchain Config."},functionSelector:"35e80ab3",mutability:"mutable",name:"superchainConfig",nameLocation:"3180:16:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:87179,nodeType:"UserDefinedTypeName",pathNode:{id:87178,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"3156:16:135"},referencedDeclaration:88793,src:"3156:16:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"public"},{id:87183,nodeType:"VariableDeclaration",src:"3327:30:135",nodes:[],constant:!1,documentation:{id:87181,nodeType:"StructuredDocumentation",src:"3203:119:135",text:"@custom:legacy\n @custom:spacer l2Oracle\n @notice Spacer taking up the legacy `l2Oracle` address slot."},mutability:"mutable",name:"spacer_54_0_20",nameLocation:"3343:14:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87182,name:"address",nodeType:"ElementaryTypeName",src:"3327:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"private"},{id:87187,nodeType:"VariableDeclaration",src:"3443:32:135",nodes:[],constant:!1,documentation:{id:87184,nodeType:"StructuredDocumentation",src:"3364:74:135",text:`@notice Contract of the SystemConfig. + @custom:network-specific`},functionSelector:"33d7e2bd",mutability:"mutable",name:"systemConfig",nameLocation:"3463:12:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},typeName:{id:87186,nodeType:"UserDefinedTypeName",pathNode:{id:87185,name:"SystemConfig",nodeType:"IdentifierPath",referencedDeclaration:89607,src:"3443:12:135"},referencedDeclaration:89607,src:"3443:12:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},visibility:"public"},{id:87191,nodeType:"VariableDeclaration",src:"3566:44:135",nodes:[],constant:!1,documentation:{id:87188,nodeType:"StructuredDocumentation",src:"3482:79:135",text:`@notice Address of the DisputeGameFactory. + @custom:network-specific`},functionSelector:"f2b4e617",mutability:"mutable",name:"disputeGameFactory",nameLocation:"3592:18:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"},typeName:{id:87190,nodeType:"UserDefinedTypeName",pathNode:{id:87189,name:"DisputeGameFactory",nodeType:"IdentifierPath",referencedDeclaration:97682,src:"3566:18:135"},referencedDeclaration:97682,src:"3566:18:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},visibility:"public"},{id:87199,nodeType:"VariableDeclaration",src:"3712:81:135",nodes:[],constant:!1,documentation:{id:87192,nodeType:"StructuredDocumentation",src:"3617:90:135",text:"@notice A mapping of withdrawal hashes to proof submitters to `ProvenWithdrawal` data."},functionSelector:"bb2c727e",mutability:"mutable",name:"provenWithdrawals",nameLocation:"3776:17:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$_$",typeString:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))"},typeName:{id:87198,keyType:{id:87193,name:"bytes32",nodeType:"ElementaryTypeName",src:"3720:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"3712:56:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$_$",typeString:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal))"},valueType:{id:87197,keyType:{id:87194,name:"address",nodeType:"ElementaryTypeName",src:"3739:7:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"3731:36:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$",typeString:"mapping(address => struct OptimismPortal2.ProvenWithdrawal)"},valueType:{id:87196,nodeType:"UserDefinedTypeName",pathNode:{id:87195,name:"ProvenWithdrawal",nodeType:"IdentifierPath",referencedDeclaration:87148,src:"3750:16:135"},referencedDeclaration:87148,src:"3750:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_storage_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal"}}}},visibility:"public"},{id:87205,nodeType:"VariableDeclaration",src:"3892:57:135",nodes:[],constant:!1,documentation:{id:87200,nodeType:"StructuredDocumentation",src:"3800:87:135",text:"@notice A mapping of dispute game addresses to whether or not they are blacklisted."},functionSelector:"45884d32",mutability:"mutable",name:"disputeGameBlacklist",nameLocation:"3929:20:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_contract$_IDisputeGame_$100327_$_t_bool_$",typeString:"mapping(contract IDisputeGame => bool)"},typeName:{id:87204,keyType:{id:87202,nodeType:"UserDefinedTypeName",pathNode:{id:87201,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"3900:12:135"},referencedDeclaration:100327,src:"3900:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},nodeType:"Mapping",src:"3892:29:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_contract$_IDisputeGame_$100327_$_t_bool_$",typeString:"mapping(contract IDisputeGame => bool)"},valueType:{id:87203,name:"bool",nodeType:"ElementaryTypeName",src:"3916:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}},visibility:"public"},{id:87209,nodeType:"VariableDeclaration",src:"4041:33:135",nodes:[],constant:!1,documentation:{id:87206,nodeType:"StructuredDocumentation",src:"3956:80:135",text:"@notice The game type that the OptimismPortal consults for output proposals."},functionSelector:"3c9f397c",mutability:"mutable",name:"respectedGameType",nameLocation:"4057:17:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:87208,nodeType:"UserDefinedTypeName",pathNode:{id:87207,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"4041:8:135"},referencedDeclaration:103271,src:"4041:8:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"public"},{id:87212,nodeType:"VariableDeclaration",src:"4162:40:135",nodes:[],constant:!1,documentation:{id:87210,nodeType:"StructuredDocumentation",src:"4081:76:135",text:"@notice The timestamp at which the respected game type was last updated."},functionSelector:"4fd0434c",mutability:"mutable",name:"respectedGameTypeUpdatedAt",nameLocation:"4176:26:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87211,name:"uint64",nodeType:"ElementaryTypeName",src:"4162:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"public"},{id:87218,nodeType:"VariableDeclaration",src:"4315:52:135",nodes:[],constant:!1,documentation:{id:87213,nodeType:"StructuredDocumentation",src:"4209:101:135",text:"@notice Mapping of withdrawal hashes to addresses that have submitted a proof for the withdrawal."},functionSelector:"a3860f48",mutability:"mutable",name:"proofSubmitters",nameLocation:"4352:15:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_array$_t_address_$dyn_storage_$",typeString:"mapping(bytes32 => address[])"},typeName:{id:87217,keyType:{id:87214,name:"bytes32",nodeType:"ElementaryTypeName",src:"4323:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"Mapping",src:"4315:29:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_array$_t_address_$dyn_storage_$",typeString:"mapping(bytes32 => address[])"},valueType:{baseType:{id:87215,name:"address",nodeType:"ElementaryTypeName",src:"4334:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87216,nodeType:"ArrayTypeName",src:"4334:9:135",typeDescriptions:{typeIdentifier:"t_array$_t_address_$dyn_storage_ptr",typeString:"address[]"}}},visibility:"public"},{id:87229,nodeType:"EventDefinition",src:"4878:112:135",nodes:[],anonymous:!1,documentation:{id:87219,nodeType:"StructuredDocumentation",src:"4374:499:135",text:`@notice Emitted when a transaction is deposited from L1 to L2. + The parameters of this event are read by the rollup node and used to derive deposit + transactions on L2. + @param from Address that triggered the deposit transaction. + @param to Address that the deposit transaction is directed to. + @param version Version of this deposit transaction event. + @param opaqueData ABI encoded deposit data to be parsed off-chain.`},eventSelector:"b3813568d9991fc951961fcb4c784893574240a28925604d09fc577c55bb7c32",name:"TransactionDeposited",nameLocation:"4884:20:135",parameters:{id:87228,nodeType:"ParameterList",parameters:[{constant:!1,id:87221,indexed:!0,mutability:"mutable",name:"from",nameLocation:"4921:4:135",nodeType:"VariableDeclaration",scope:87229,src:"4905:20:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87220,name:"address",nodeType:"ElementaryTypeName",src:"4905:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:87223,indexed:!0,mutability:"mutable",name:"to",nameLocation:"4943:2:135",nodeType:"VariableDeclaration",scope:87229,src:"4927:18:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87222,name:"address",nodeType:"ElementaryTypeName",src:"4927:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:87225,indexed:!0,mutability:"mutable",name:"version",nameLocation:"4963:7:135",nodeType:"VariableDeclaration",scope:87229,src:"4947:23:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87224,name:"uint256",nodeType:"ElementaryTypeName",src:"4947:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:87227,indexed:!1,mutability:"mutable",name:"opaqueData",nameLocation:"4978:10:135",nodeType:"VariableDeclaration",scope:87229,src:"4972:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:87226,name:"bytes",nodeType:"ElementaryTypeName",src:"4972:5:135",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"4904:85:135"}},{id:87238,nodeType:"EventDefinition",src:"5294:97:135",nodes:[],anonymous:!1,documentation:{id:87230,nodeType:"StructuredDocumentation",src:"4996:293:135",text:`@notice Emitted when a withdrawal transaction is proven. + @param withdrawalHash Hash of the withdrawal transaction. + @param from Address that triggered the withdrawal transaction. + @param to Address that the withdrawal transaction is directed to.`},eventSelector:"67a6208cfcc0801d50f6cbe764733f4fddf66ac0b04442061a8a8c0cb6b63f62",name:"WithdrawalProven",nameLocation:"5300:16:135",parameters:{id:87237,nodeType:"ParameterList",parameters:[{constant:!1,id:87232,indexed:!0,mutability:"mutable",name:"withdrawalHash",nameLocation:"5333:14:135",nodeType:"VariableDeclaration",scope:87238,src:"5317:30:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87231,name:"bytes32",nodeType:"ElementaryTypeName",src:"5317:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:87234,indexed:!0,mutability:"mutable",name:"from",nameLocation:"5365:4:135",nodeType:"VariableDeclaration",scope:87238,src:"5349:20:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87233,name:"address",nodeType:"ElementaryTypeName",src:"5349:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:87236,indexed:!0,mutability:"mutable",name:"to",nameLocation:"5387:2:135",nodeType:"VariableDeclaration",scope:87238,src:"5371:18:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87235,name:"address",nodeType:"ElementaryTypeName",src:"5371:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5316:74:135"}},{id:87245,nodeType:"EventDefinition",src:"5612:72:135",nodes:[],anonymous:!1,documentation:{id:87239,nodeType:"StructuredDocumentation",src:"5397:210:135",text:`@notice Emitted when a withdrawal transaction is finalized. + @param withdrawalHash Hash of the withdrawal transaction. + @param success Whether the withdrawal transaction was successful.`},eventSelector:"db5c7652857aa163daadd670e116628fb42e869d8ac4251ef8971d9e5727df1b",name:"WithdrawalFinalized",nameLocation:"5618:19:135",parameters:{id:87244,nodeType:"ParameterList",parameters:[{constant:!1,id:87241,indexed:!0,mutability:"mutable",name:"withdrawalHash",nameLocation:"5654:14:135",nodeType:"VariableDeclaration",scope:87245,src:"5638:30:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87240,name:"bytes32",nodeType:"ElementaryTypeName",src:"5638:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:87243,indexed:!1,mutability:"mutable",name:"success",nameLocation:"5675:7:135",nodeType:"VariableDeclaration",scope:87245,src:"5670:12:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87242,name:"bool",nodeType:"ElementaryTypeName",src:"5670:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"5637:46:135"}},{id:87256,nodeType:"ModifierDefinition",src:"5727:86:135",nodes:[],body:{id:87255,nodeType:"Block",src:"5752:61:135",nodes:[],statements:[{condition:{arguments:[],expression:{argumentTypes:[],id:87248,name:"paused",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87383,src:"5766:6:135",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_bool_$",typeString:"function () view returns (bool)"}},id:87249,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5766:8:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87253,nodeType:"IfStatement",src:"5762:33:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87250,name:"CallPaused",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103990,src:"5783:10:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87251,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5783:12:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87252,nodeType:"RevertStatement",src:"5776:19:135"}},{id:87254,nodeType:"PlaceholderStatement",src:"5805:1:135"}]},documentation:{id:87246,nodeType:"StructuredDocumentation",src:"5690:32:135",text:"@notice Reverts when paused."},name:"whenNotPaused",nameLocation:"5736:13:135",parameters:{id:87247,nodeType:"ParameterList",parameters:[],src:"5749:2:135"},virtual:!1,visibility:"internal"},{id:87260,nodeType:"VariableDeclaration",src:"5882:40:135",nodes:[],baseFunctions:[109416],constant:!0,documentation:{id:87257,nodeType:"StructuredDocumentation",src:"5819:58:135",text:`@notice Semantic version. + @custom:semver 3.8.0`},functionSelector:"54fd4d50",mutability:"constant",name:"version",nameLocation:"5905:7:135",scope:87971,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:87258,name:"string",nodeType:"ElementaryTypeName",src:"5882:6:135",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},value:{hexValue:"332e382e30",id:87259,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"5915:7:135",typeDescriptions:{typeIdentifier:"t_stringliteral_f9c59c463d339610f985b3aa69b5b5031ed3afd32f941c9c4c60b492e8c1a90f",typeString:'literal_string "3.8.0"'},value:"3.8.0"},visibility:"public"},{id:87302,nodeType:"FunctionDefinition",src:"5985:513:135",nodes:[],body:{id:87301,nodeType:"Block",src:"6075:423:135",nodes:[],statements:[{expression:{id:87270,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87268,name:"PROOF_MATURITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87151,src:"6085:28:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87269,name:"_proofMaturityDelaySeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87263,src:"6116:26:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6085:57:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:87271,nodeType:"ExpressionStatement",src:"6085:57:135"},{expression:{id:87274,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87272,name:"DISPUTE_GAME_FINALITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87154,src:"6152:35:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87273,name:"_disputeGameFinalityDelaySeconds",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87265,src:"6190:32:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"6152:70:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},id:87275,nodeType:"ExpressionStatement",src:"6152:70:135"},{expression:{arguments:[{arguments:[{arguments:[{hexValue:"30",id:87280,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6306:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87279,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"6298:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87278,name:"address",nodeType:"ElementaryTypeName",src:"6298:7:135",typeDescriptions:{}}},id:87281,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6298:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:87277,name:"DisputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:97682,src:"6279:18:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_DisputeGameFactory_$97682_$",typeString:"type(contract DisputeGameFactory)"}},id:87282,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6279:30:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},{arguments:[{arguments:[{hexValue:"30",id:87286,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6359:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87285,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"6351:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87284,name:"address",nodeType:"ElementaryTypeName",src:"6351:7:135",typeDescriptions:{}}},id:87287,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6351:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:87283,name:"SystemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:89607,src:"6338:12:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SystemConfig_$89607_$",typeString:"type(contract SystemConfig)"}},id:87288,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6338:24:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},{arguments:[{arguments:[{hexValue:"30",id:87292,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6420:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87291,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"6412:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87290,name:"address",nodeType:"ElementaryTypeName",src:"6412:7:135",typeDescriptions:{}}},id:87293,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6412:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:87289,name:"SuperchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88793,src:"6395:16:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SuperchainConfig_$88793_$",typeString:"type(contract SuperchainConfig)"}},id:87294,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6395:28:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},{arguments:[{hexValue:"30",id:87297,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"6478:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],expression:{id:87295,name:"GameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103271,src:"6464:8:135",typeDescriptions:{typeIdentifier:"t_type$_t_userDefinedValueType$_GameType_$103271_$",typeString:"type(GameType)"}},id:87296,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"wrap",nodeType:"MemberAccess",src:"6464:13:135",typeDescriptions:{typeIdentifier:"t_function_wrap_pure$_t_uint32_$returns$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (uint32) pure returns (GameType)"}},id:87298,isConstant:!1,isLValue:!1,isPure:!0,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6464:16:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"},{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}],id:87276,name:"initialize",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87361,src:"6233:10:135",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_contract$_DisputeGameFactory_$97682_$_t_contract$_SystemConfig_$89607_$_t_contract$_SuperchainConfig_$88793_$_t_userDefinedValueType$_GameType_$103271_$returns$__$",typeString:"function (contract DisputeGameFactory,contract SystemConfig,contract SuperchainConfig,GameType)"}},id:87299,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_disputeGameFactory","_systemConfig","_superchainConfig","_initialRespectedGameType"],nodeType:"FunctionCall",src:"6233:258:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87300,nodeType:"ExpressionStatement",src:"6233:258:135"}]},documentation:{id:87261,nodeType:"StructuredDocumentation",src:"5929:51:135",text:"@notice Constructs the OptimismPortal contract."},implemented:!0,kind:"constructor",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:87266,nodeType:"ParameterList",parameters:[{constant:!1,id:87263,mutability:"mutable",name:"_proofMaturityDelaySeconds",nameLocation:"6005:26:135",nodeType:"VariableDeclaration",scope:87302,src:"5997:34:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87262,name:"uint256",nodeType:"ElementaryTypeName",src:"5997:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:87265,mutability:"mutable",name:"_disputeGameFinalityDelaySeconds",nameLocation:"6041:32:135",nodeType:"VariableDeclaration",scope:87302,src:"6033:40:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87264,name:"uint256",nodeType:"ElementaryTypeName",src:"6033:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"5996:78:135"},returnParameters:{id:87267,nodeType:"ParameterList",parameters:[],src:"6075:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:87361,nodeType:"FunctionDefinition",src:"6730:971:135",nodes:[],body:{id:87360,nodeType:"Block",src:"6967:734:135",nodes:[],statements:[{expression:{id:87322,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87320,name:"disputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87191,src:"6977:18:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87321,name:"_disputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87306,src:"6998:19:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},src:"6977:40:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},id:87323,nodeType:"ExpressionStatement",src:"6977:40:135"},{expression:{id:87326,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87324,name:"systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87187,src:"7027:12:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87325,name:"_systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87309,src:"7042:13:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},src:"7027:28:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},id:87327,nodeType:"ExpressionStatement",src:"7027:28:135"},{expression:{id:87330,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87328,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87180,src:"7065:16:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87329,name:"_superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87312,src:"7084:17:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},src:"7065:36:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:87331,nodeType:"ExpressionStatement",src:"7065:36:135"},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87337,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87332,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87165,src:"7249:8:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{hexValue:"30",id:87335,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"7269:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87334,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7261:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87333,name:"address",nodeType:"ElementaryTypeName",src:"7261:7:135",typeDescriptions:{}}},id:87336,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7261:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"7249:22:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87356,nodeType:"IfStatement",src:"7245:414:135",trueBody:{id:87355,nodeType:"Block",src:"7273:386:135",statements:[{expression:{id:87341,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87338,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87165,src:"7287:8:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:87339,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"7298:9:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:87340,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"7298:27:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"7287:38:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87342,nodeType:"ExpressionStatement",src:"7287:38:135"},{expression:{id:87349,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87343,name:"respectedGameTypeUpdatedAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87212,src:"7485:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{expression:{id:87346,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"7521:5:135",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87347,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"7521:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:87345,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7514:6:135",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:87344,name:"uint64",nodeType:"ElementaryTypeName",src:"7514:6:135",typeDescriptions:{}}},id:87348,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7514:23:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"7485:52:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:87350,nodeType:"ExpressionStatement",src:"7485:52:135"},{expression:{id:87353,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87351,name:"respectedGameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87209,src:"7603:17:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87352,name:"_initialRespectedGameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87315,src:"7623:25:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},src:"7603:45:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87354,nodeType:"ExpressionStatement",src:"7603:45:135"}]}},{expression:{arguments:[],expression:{argumentTypes:[],id:87357,name:"__ResourceMetering_init",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:88580,src:"7669:23:135",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$__$returns$__$",typeString:"function ()"}},id:87358,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7669:25:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87359,nodeType:"ExpressionStatement",src:"7669:25:135"}]},documentation:{id:87303,nodeType:"StructuredDocumentation",src:"6504:221:135",text:`@notice Initializer. + @param _disputeGameFactory Contract of the DisputeGameFactory. + @param _systemConfig Contract of the SystemConfig. + @param _superchainConfig Contract of the SuperchainConfig.`},functionSelector:"8e819e54",implemented:!0,kind:"function",modifiers:[{id:87318,kind:"modifierInvocation",modifierName:{id:87317,name:"initializer",nodeType:"IdentifierPath",referencedDeclaration:49598,src:"6951:11:135"},nodeType:"ModifierInvocation",src:"6951:11:135"}],name:"initialize",nameLocation:"6739:10:135",parameters:{id:87316,nodeType:"ParameterList",parameters:[{constant:!1,id:87306,mutability:"mutable",name:"_disputeGameFactory",nameLocation:"6778:19:135",nodeType:"VariableDeclaration",scope:87361,src:"6759:38:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"},typeName:{id:87305,nodeType:"UserDefinedTypeName",pathNode:{id:87304,name:"DisputeGameFactory",nodeType:"IdentifierPath",referencedDeclaration:97682,src:"6759:18:135"},referencedDeclaration:97682,src:"6759:18:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},visibility:"internal"},{constant:!1,id:87309,mutability:"mutable",name:"_systemConfig",nameLocation:"6820:13:135",nodeType:"VariableDeclaration",scope:87361,src:"6807:26:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"},typeName:{id:87308,nodeType:"UserDefinedTypeName",pathNode:{id:87307,name:"SystemConfig",nodeType:"IdentifierPath",referencedDeclaration:89607,src:"6807:12:135"},referencedDeclaration:89607,src:"6807:12:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},visibility:"internal"},{constant:!1,id:87312,mutability:"mutable",name:"_superchainConfig",nameLocation:"6860:17:135",nodeType:"VariableDeclaration",scope:87361,src:"6843:34:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"},typeName:{id:87311,nodeType:"UserDefinedTypeName",pathNode:{id:87310,name:"SuperchainConfig",nodeType:"IdentifierPath",referencedDeclaration:88793,src:"6843:16:135"},referencedDeclaration:88793,src:"6843:16:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},visibility:"internal"},{constant:!1,id:87315,mutability:"mutable",name:"_initialRespectedGameType",nameLocation:"6896:25:135",nodeType:"VariableDeclaration",scope:87361,src:"6887:34:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:87314,nodeType:"UserDefinedTypeName",pathNode:{id:87313,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"6887:8:135"},referencedDeclaration:103271,src:"6887:8:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"}],src:"6749:178:135"},returnParameters:{id:87319,nodeType:"ParameterList",parameters:[],src:"6967:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:87372,nodeType:"FunctionDefinition",src:"7954:101:135",nodes:[],body:{id:87371,nodeType:"Block",src:"8004:51:135",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87367,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87180,src:"8021:16:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:87368,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"guardian",nodeType:"MemberAccess",referencedDeclaration:88693,src:"8021:25:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:87369,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8021:27:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:87366,id:87370,nodeType:"Return",src:"8014:34:135"}]},documentation:{id:87362,nodeType:"StructuredDocumentation",src:"7707:242:135",text:`@notice Getter function for the address of the guardian. + Public getter is legacy and will be removed in the future. Use \`SuperchainConfig.guardian()\` instead. + @return Address of the guardian. + @custom:legacy`},functionSelector:"452a9320",implemented:!0,kind:"function",modifiers:[],name:"guardian",nameLocation:"7963:8:135",parameters:{id:87363,nodeType:"ParameterList",parameters:[],src:"7971:2:135"},returnParameters:{id:87366,nodeType:"ParameterList",parameters:[{constant:!1,id:87365,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87372,src:"7995:7:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87364,name:"address",nodeType:"ElementaryTypeName",src:"7995:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"7994:9:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"public"},{id:87383,nodeType:"FunctionDefinition",src:"8115:94:135",nodes:[],body:{id:87382,nodeType:"Block",src:"8160:49:135",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87378,name:"superchainConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87180,src:"8177:16:135",typeDescriptions:{typeIdentifier:"t_contract$_SuperchainConfig_$88793",typeString:"contract SuperchainConfig"}},id:87379,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"paused",nodeType:"MemberAccess",referencedDeclaration:88707,src:"8177:23:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_bool_$",typeString:"function () view external returns (bool)"}},id:87380,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8177:25:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:87377,id:87381,nodeType:"Return",src:"8170:32:135"}]},documentation:{id:87373,nodeType:"StructuredDocumentation",src:"8061:49:135",text:"@notice Getter for the current paused status."},functionSelector:"5c975abb",implemented:!0,kind:"function",modifiers:[],name:"paused",nameLocation:"8124:6:135",parameters:{id:87374,nodeType:"ParameterList",parameters:[],src:"8130:2:135"},returnParameters:{id:87377,nodeType:"ParameterList",parameters:[{constant:!1,id:87376,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87383,src:"8154:4:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87375,name:"bool",nodeType:"ElementaryTypeName",src:"8154:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"8153:6:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"public"},{id:87392,nodeType:"FunctionDefinition",src:"8268:119:135",nodes:[],body:{id:87391,nodeType:"Block",src:"8335:52:135",nodes:[],statements:[{expression:{id:87389,name:"PROOF_MATURITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87151,src:"8352:28:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:87388,id:87390,nodeType:"Return",src:"8345:35:135"}]},documentation:{id:87384,nodeType:"StructuredDocumentation",src:"8215:48:135",text:"@notice Getter for the proof maturity delay."},functionSelector:"bf653a5c",implemented:!0,kind:"function",modifiers:[],name:"proofMaturityDelaySeconds",nameLocation:"8277:25:135",parameters:{id:87385,nodeType:"ParameterList",parameters:[],src:"8302:2:135"},returnParameters:{id:87388,nodeType:"ParameterList",parameters:[{constant:!1,id:87387,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87392,src:"8326:7:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87386,name:"uint256",nodeType:"ElementaryTypeName",src:"8326:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"8325:9:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"public"},{id:87401,nodeType:"FunctionDefinition",src:"8453:132:135",nodes:[],body:{id:87400,nodeType:"Block",src:"8526:59:135",nodes:[],statements:[{expression:{id:87398,name:"DISPUTE_GAME_FINALITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87154,src:"8543:35:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:87397,id:87399,nodeType:"Return",src:"8536:42:135"}]},documentation:{id:87393,nodeType:"StructuredDocumentation",src:"8393:55:135",text:"@notice Getter for the dispute game finality delay."},functionSelector:"952b2797",implemented:!0,kind:"function",modifiers:[],name:"disputeGameFinalityDelaySeconds",nameLocation:"8462:31:135",parameters:{id:87394,nodeType:"ParameterList",parameters:[],src:"8493:2:135"},returnParameters:{id:87397,nodeType:"ParameterList",parameters:[{constant:!1,id:87396,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87401,src:"8517:7:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87395,name:"uint256",nodeType:"ElementaryTypeName",src:"8517:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"8516:9:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"public"},{id:87416,nodeType:"FunctionDefinition",src:"9078:120:135",nodes:[],body:{id:87415,nodeType:"Block",src:"9151:47:135",nodes:[],statements:[{expression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87413,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87411,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87409,name:"_byteCount",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87404,src:"9168:10:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"*",rightExpression:{hexValue:"3136",id:87410,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"9181:2:135",typeDescriptions:{typeIdentifier:"t_rational_16_by_1",typeString:"int_const 16"},value:"16"},src:"9168:15:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"+",rightExpression:{hexValue:"3231303030",id:87412,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"9186:5:135",typeDescriptions:{typeIdentifier:"t_rational_21000_by_1",typeString:"int_const 21000"},value:"21000"},src:"9168:23:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},functionReturnParameters:87408,id:87414,nodeType:"Return",src:"9161:30:135"}]},documentation:{id:87402,nodeType:"StructuredDocumentation",src:"8591:482:135",text:`@notice Computes the minimum gas limit for a deposit. + The minimum gas limit linearly increases based on the size of the calldata. + This is to prevent users from creating L2 resource usage without paying for it. + This function can be used when interacting with the portal to ensure forwards + compatibility. + @param _byteCount Number of bytes in the calldata. + @return The minimum gas limit for a deposit.`},functionSelector:"a35d99df",implemented:!0,kind:"function",modifiers:[],name:"minimumGasLimit",nameLocation:"9087:15:135",parameters:{id:87405,nodeType:"ParameterList",parameters:[{constant:!1,id:87404,mutability:"mutable",name:"_byteCount",nameLocation:"9110:10:135",nodeType:"VariableDeclaration",scope:87416,src:"9103:17:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87403,name:"uint64",nodeType:"ElementaryTypeName",src:"9103:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],src:"9102:19:135"},returnParameters:{id:87408,nodeType:"ParameterList",parameters:[{constant:!1,id:87407,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87416,src:"9143:6:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87406,name:"uint64",nodeType:"ElementaryTypeName",src:"9143:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],src:"9142:8:135"},scope:87971,stateMutability:"pure",virtual:!1,visibility:"public"},{id:87434,nodeType:"FunctionDefinition",src:"9577:130:135",nodes:[],body:{id:87433,nodeType:"Block",src:"9604:103:135",nodes:[],statements:[{expression:{arguments:[{expression:{id:87421,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"9633:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87422,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"9633:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:87423,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"9645:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87424,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"9645:9:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87425,name:"RECEIVE_DEFAULT_GAS_LIMIT",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87162,src:"9656:25:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{hexValue:"66616c7365",id:87426,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"9683:5:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"},{arguments:[{hexValue:"",id:87429,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"9696:2:135",typeDescriptions:{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'},value:""}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",typeString:'literal_string ""'}],id:87428,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"9690:5:135",typeDescriptions:{typeIdentifier:"t_type$_t_bytes_storage_ptr_$",typeString:"type(bytes storage pointer)"},typeName:{id:87427,name:"bytes",nodeType:"ElementaryTypeName",src:"9690:5:135",typeDescriptions:{}}},id:87430,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9690:9:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:87420,name:"depositTransaction",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87785,src:"9614:18:135",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint64_$_t_bool_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,uint256,uint64,bool,bytes memory)"}},id:87431,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9614:86:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87432,nodeType:"ExpressionStatement",src:"9614:86:135"}]},documentation:{id:87417,nodeType:"StructuredDocumentation",src:"9204:368:135",text:`@notice Accepts value so that users can send ETH directly to this contract and have the + funds be deposited to their address on L2. This is intended as a convenience + function for EOAs. Contracts should call the depositTransaction() function directly + otherwise any deposited funds will be lost due to address aliasing.`},implemented:!0,kind:"receive",modifiers:[],name:"",nameLocation:"-1:-1:-1",parameters:{id:87418,nodeType:"ParameterList",parameters:[],src:"9584:2:135"},returnParameters:{id:87419,nodeType:"ParameterList",parameters:[],src:"9604:0:135"},scope:87971,stateMutability:"payable",virtual:!1,visibility:"external"},{id:87439,nodeType:"FunctionDefinition",src:"9921:77:135",nodes:[],body:{id:87438,nodeType:"Block",src:"9959:39:135",nodes:[],statements:[]},documentation:{id:87435,nodeType:"StructuredDocumentation",src:"9713:203:135",text:`@notice Accepts ETH value without triggering a deposit to L2. + This function mainly exists for the sake of the migration between the legacy + Optimism system and Bedrock.`},functionSelector:"8b4c40b0",implemented:!0,kind:"function",modifiers:[],name:"donateETH",nameLocation:"9930:9:135",parameters:{id:87436,nodeType:"ParameterList",parameters:[],src:"9939:2:135"},returnParameters:{id:87437,nodeType:"ParameterList",parameters:[],src:"9959:0:135"},scope:87971,stateMutability:"payable",virtual:!1,visibility:"external"},{id:87452,nodeType:"FunctionDefinition",src:"10247:152:135",nodes:[],body:{id:87451,nodeType:"Block",src:"10346:53:135",nodes:[],statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87447,name:"systemConfig",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87187,src:"10363:12:135",typeDescriptions:{typeIdentifier:"t_contract$_SystemConfig_$89607",typeString:"contract SystemConfig"}},id:87448,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"resourceConfig",nodeType:"MemberAccess",referencedDeclaration:89527,src:"10363:27:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_struct$_ResourceConfig_$88258_memory_ptr_$",typeString:"function () view external returns (struct ResourceMetering.ResourceConfig memory)"}},id:87449,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"10363:29:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_memory_ptr",typeString:"struct ResourceMetering.ResourceConfig memory"}},functionReturnParameters:87446,id:87450,nodeType:"Return",src:"10356:36:135"}]},baseFunctions:[88555],documentation:{id:87440,nodeType:"StructuredDocumentation",src:"10004:238:135",text:`@notice Getter for the resource config. + Used internally by the ResourceMetering contract. + The SystemConfig is the source of truth for the resource config. + @return ResourceMetering ResourceConfig`},implemented:!0,kind:"function",modifiers:[],name:"_resourceConfig",nameLocation:"10256:15:135",overrides:{id:87442,nodeType:"OverrideSpecifier",overrides:[],src:"10288:8:135"},parameters:{id:87441,nodeType:"ParameterList",parameters:[],src:"10271:2:135"},returnParameters:{id:87446,nodeType:"ParameterList",parameters:[{constant:!1,id:87445,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87452,src:"10306:38:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_memory_ptr",typeString:"struct ResourceMetering.ResourceConfig"},typeName:{id:87444,nodeType:"UserDefinedTypeName",pathNode:{id:87443,name:"ResourceMetering.ResourceConfig",nodeType:"IdentifierPath",referencedDeclaration:88258,src:"10306:31:135"},referencedDeclaration:88258,src:"10306:31:135",typeDescriptions:{typeIdentifier:"t_struct$_ResourceConfig_$88258_storage_ptr",typeString:"struct ResourceMetering.ResourceConfig"}},visibility:"internal"}],src:"10305:40:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"internal"},{id:87599,nodeType:"FunctionDefinition",src:"10816:3564:135",nodes:[],body:{id:87598,nodeType:"Block",src:"11084:3296:135",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87476,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87470,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87456,src:"11329:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87471,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"11329:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{id:87474,name:"this",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-28,src:"11351:4:135",typeDescriptions:{typeIdentifier:"t_contract$_OptimismPortal2_$87971",typeString:"contract OptimismPortal2"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_OptimismPortal2_$87971",typeString:"contract OptimismPortal2"}],id:87473,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"11343:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87472,name:"address",nodeType:"ElementaryTypeName",src:"11343:7:135",typeDescriptions:{}}},id:87475,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11343:13:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"11329:27:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20796f752063616e6e6f742073656e64206d6573736167657320746f2074686520706f7274616c20636f6e7472616374",id:87477,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"11358:65:135",typeDescriptions:{typeIdentifier:"t_stringliteral_57e41062e2e7b97ddf730827f5249d28f602a3846dfe107ce36292fb1c029eb8",typeString:'literal_string "OptimismPortal: you cannot send messages to the portal contract"'},value:"OptimismPortal: you cannot send messages to the portal contract"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_57e41062e2e7b97ddf730827f5249d28f602a3846dfe107ce36292fb1c029eb8",typeString:'literal_string "OptimismPortal: you cannot send messages to the portal contract"'}],id:87469,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11321:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87478,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11321:103:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87479,nodeType:"ExpressionStatement",src:"11321:103:135"},{assignments:[87482,null,87485],declarations:[{constant:!1,id:87482,mutability:"mutable",name:"gameType",nameLocation:"11525:8:135",nodeType:"VariableDeclaration",scope:87598,src:"11516:17:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:87481,nodeType:"UserDefinedTypeName",pathNode:{id:87480,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"11516:8:135"},referencedDeclaration:103271,src:"11516:8:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"},null,{constant:!1,id:87485,mutability:"mutable",name:"gameProxy",nameLocation:"11549:9:135",nodeType:"VariableDeclaration",scope:87598,src:"11536:22:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:87484,nodeType:"UserDefinedTypeName",pathNode:{id:87483,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"11536:12:135"},referencedDeclaration:100327,src:"11536:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],id:87490,initialValue:{arguments:[{id:87488,name:"_disputeGameIndex",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87458,src:"11593:17:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:87486,name:"disputeGameFactory",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87191,src:"11562:18:135",typeDescriptions:{typeIdentifier:"t_contract$_DisputeGameFactory_$97682",typeString:"contract DisputeGameFactory"}},id:87487,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"gameAtIndex",nodeType:"MemberAccess",referencedDeclaration:97346,src:"11562:30:135",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_uint256_$returns$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"function (uint256) view external returns (GameType,Timestamp,contract IDisputeGame)"}},id:87489,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11562:49:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_userDefinedValueType$_GameType_$103271_$_t_userDefinedValueType$_Timestamp_$103261_$_t_contract$_IDisputeGame_$100327_$",typeString:"tuple(GameType,Timestamp,contract IDisputeGame)"}},nodeType:"VariableDeclarationStatement",src:"11515:96:135"},{assignments:[87493],declarations:[{constant:!1,id:87493,mutability:"mutable",name:"outputRoot",nameLocation:"11627:10:135",nodeType:"VariableDeclaration",scope:87598,src:"11621:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"},typeName:{id:87492,nodeType:"UserDefinedTypeName",pathNode:{id:87491,name:"Claim",nodeType:"IdentifierPath",referencedDeclaration:103255,src:"11621:5:135"},referencedDeclaration:103255,src:"11621:5:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},visibility:"internal"}],id:87497,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{id:87494,name:"gameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87485,src:"11640:9:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87495,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"rootClaim",nodeType:"MemberAccess",referencedDeclaration:100294,src:"11640:19:135",typeDescriptions:{typeIdentifier:"t_function_external_pure$__$returns$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function () pure external returns (Claim)"}},id:87496,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11640:21:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},nodeType:"VariableDeclarationStatement",src:"11621:40:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint32",typeString:"uint32"},id:87505,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87499,name:"gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87482,src:"11758:8:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87500,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"11758:12:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:87501,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11758:14:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87502,name:"respectedGameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87209,src:"11776:17:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87503,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"11776:21:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:87504,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11776:23:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},src:"11758:41:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797065",id:87506,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"11801:35:135",typeDescriptions:{typeIdentifier:"t_stringliteral_ea6e52a7a06be8d460d58a9fb591f5b7ad20643cdd834b0004aaeaa0647b1d4b",typeString:'literal_string "OptimismPortal: invalid game type"'},value:"OptimismPortal: invalid game type"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_ea6e52a7a06be8d460d58a9fb591f5b7ad20643cdd834b0004aaeaa0647b1d4b",typeString:'literal_string "OptimismPortal: invalid game type"'}],id:87498,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11750:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87507,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11750:87:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87508,nodeType:"ExpressionStatement",src:"11750:87:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_bytes32",typeString:"bytes32"},id:87517,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87510,name:"outputRoot",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87493,src:"11957:10:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Claim_$103255",typeString:"Claim"}},id:87511,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101085,src:"11957:14:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Claim_$103255_$returns$_t_bytes32_$bound_to$_t_userDefinedValueType$_Claim_$103255_$",typeString:"function (Claim) pure returns (bytes32)"}},id:87512,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11957:16:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[{id:87515,name:"_outputRootProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87461,src:"12005:16:135",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}],expression:{id:87513,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"11977:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:87514,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashOutputRootProof",nodeType:"MemberAccess",referencedDeclaration:103935,src:"11977:27:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_OutputRootProof_$104316_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.OutputRootProof memory) pure returns (bytes32)"}},id:87516,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11977:45:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},src:"11957:65:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c6964206f757470757420726f6f742070726f6f66",id:87518,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"12036:43:135",typeDescriptions:{typeIdentifier:"t_stringliteral_490ec653897228799e7e4c4af8b1fd3b4a0688df98d026b46afa352ce9876996",typeString:'literal_string "OptimismPortal: invalid output root proof"'},value:"OptimismPortal: invalid output root proof"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_490ec653897228799e7e4c4af8b1fd3b4a0688df98d026b46afa352ce9876996",typeString:'literal_string "OptimismPortal: invalid output root proof"'}],id:87509,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"11936:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87519,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"11936:153:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87520,nodeType:"ExpressionStatement",src:"11936:153:135"},{assignments:[87522],declarations:[{constant:!1,id:87522,mutability:"mutable",name:"withdrawalHash",nameLocation:"12208:14:135",nodeType:"VariableDeclaration",scope:87598,src:"12200:22:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87521,name:"bytes32",nodeType:"ElementaryTypeName",src:"12200:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:87527,initialValue:{arguments:[{id:87525,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87456,src:"12248:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}],expression:{id:87523,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"12225:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:87524,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashWithdrawal",nodeType:"MemberAccess",referencedDeclaration:103911,src:"12225:22:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.WithdrawalTransaction memory) pure returns (bytes32)"}},id:87526,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12225:27:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"12200:52:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:87534,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87529,name:"gameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87485,src:"12424:9:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87530,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"status",nodeType:"MemberAccess",referencedDeclaration:100274,src:"12424:16:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_enum$_GameStatus_$103277_$",typeString:"function () view external returns (enum GameStatus)"}},id:87531,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12424:18:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:87532,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"12446:10:135",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:87533,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHALLENGER_WINS",nodeType:"MemberAccess",referencedDeclaration:103275,src:"12446:26:135",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"12424:48:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a2063616e6e6f742070726f766520616761696e737420696e76616c696420646973707574652067616d6573",id:87535,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"12486:60:135",typeDescriptions:{typeIdentifier:"t_stringliteral_69fd02e8f1261d2d4a8ae7fdb140ea99e9eb488a3b5b9ae3c51756d573f7f1f7",typeString:'literal_string "OptimismPortal: cannot prove against invalid dispute games"'},value:"OptimismPortal: cannot prove against invalid dispute games"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_69fd02e8f1261d2d4a8ae7fdb140ea99e9eb488a3b5b9ae3c51756d573f7f1f7",typeString:'literal_string "OptimismPortal: cannot prove against invalid dispute games"'}],id:87528,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"12403:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87536,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12403:153:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87537,nodeType:"ExpressionStatement",src:"12403:153:135"},{assignments:[87539],declarations:[{constant:!1,id:87539,mutability:"mutable",name:"storageKey",nameLocation:"12800:10:135",nodeType:"VariableDeclaration",scope:87598,src:"12792:18:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87538,name:"bytes32",nodeType:"ElementaryTypeName",src:"12792:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:87550,initialValue:{arguments:[{arguments:[{id:87543,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87522,src:"12864:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{hexValue:"30",id:87546,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"12904:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87545,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"12896:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:87544,name:"uint256",nodeType:"ElementaryTypeName",src:"12896:7:135",typeDescriptions:{}}},id:87547,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12896:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_uint256",typeString:"uint256"}],expression:{id:87541,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"12836:3:135",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:87542,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"12836:10:135",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:87548,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12836:147:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:87540,name:"keccak256",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-8,src:"12813:9:135",typeDescriptions:{typeIdentifier:"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",typeString:"function (bytes memory) pure returns (bytes32)"}},id:87549,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"12813:180:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"12792:201:135"},{expression:{arguments:[{arguments:[{arguments:[{id:87556,name:"storageKey",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87539,src:"13419:10:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:87554,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"13408:3:135",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:87555,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encode",nodeType:"MemberAccess",src:"13408:10:135",typeDescriptions:{typeIdentifier:"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:87557,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13408:22:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},{hexValue:"01",id:87558,isConstant:!1,isLValue:!1,isPure:!0,kind:"hexString",lValueRequested:!1,nodeType:"Literal",src:"13456:7:135",typeDescriptions:{typeIdentifier:"t_stringliteral_5fe7f977e71dba2ea1a68e21057beebb9be2ac30c6410aa38d4f3fbe41dcffd2",typeString:'literal_string hex"01"'},value:""},{id:87559,name:"_withdrawalProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87464,src:"13489:16:135",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes calldata[] calldata"}},{expression:{id:87560,name:"_outputRootProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87461,src:"13530:16:135",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof calldata"}},id:87561,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"messagePasserStorageRoot",nodeType:"MemberAccess",referencedDeclaration:104313,src:"13530:41:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"},{typeIdentifier:"t_stringliteral_5fe7f977e71dba2ea1a68e21057beebb9be2ac30c6410aa38d4f3fbe41dcffd2",typeString:'literal_string hex"01"'},{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes calldata[] calldata"},{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{id:87552,name:"SecureMerkleTrie",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:106033,src:"13346:16:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SecureMerkleTrie_$106033_$",typeString:"type(library SecureMerkleTrie)"}},id:87553,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"verifyInclusionProof",nodeType:"MemberAccess",referencedDeclaration:105985,src:"13346:37:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$_t_bytes32_$returns$_t_bool_$",typeString:"function (bytes memory,bytes memory,bytes memory[] memory,bytes32) pure returns (bool)"}},id:87562,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:["_key","_value","_proof","_root"],nodeType:"FunctionCall",src:"13346:240:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c6964207769746864726177616c20696e636c7573696f6e2070726f6f66",id:87563,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"13600:52:135",typeDescriptions:{typeIdentifier:"t_stringliteral_11b666636981dad70da1c1a9e87589eb7d9c042eacd4d25e887aac557f6cd6b9",typeString:'literal_string "OptimismPortal: invalid withdrawal inclusion proof"'},value:"OptimismPortal: invalid withdrawal inclusion proof"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_11b666636981dad70da1c1a9e87589eb7d9c042eacd4d25e887aac557f6cd6b9",typeString:'literal_string "OptimismPortal: invalid withdrawal inclusion proof"'}],id:87551,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"13325:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87564,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"13325:337:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87565,nodeType:"ExpressionStatement",src:"13325:337:135"},{expression:{id:87580,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{baseExpression:{id:87566,name:"provenWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87199,src:"13960:17:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$_$",typeString:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal storage ref))"}},id:87570,indexExpression:{id:87567,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87522,src:"13978:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"13960:33:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$",typeString:"mapping(address => struct OptimismPortal2.ProvenWithdrawal storage ref)"}},id:87571,indexExpression:{expression:{id:87568,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"13994:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87569,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"13994:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"13960:45:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_storage",typeString:"struct OptimismPortal2.ProvenWithdrawal storage ref"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{id:87573,name:"gameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87485,src:"14057:9:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},{arguments:[{expression:{id:87576,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"14086:5:135",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87577,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"14086:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:87575,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"14079:6:135",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:87574,name:"uint64",nodeType:"ElementaryTypeName",src:"14079:6:135",typeDescriptions:{}}},id:87578,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14079:23:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},{typeIdentifier:"t_uint64",typeString:"uint64"}],id:87572,name:"ProvenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87148,src:"14020:16:135",typeDescriptions:{typeIdentifier:"t_type$_t_struct$_ProvenWithdrawal_$87148_storage_ptr_$",typeString:"type(struct OptimismPortal2.ProvenWithdrawal storage pointer)"}},id:87579,isConstant:!1,isLValue:!1,isPure:!1,kind:"structConstructorCall",lValueRequested:!1,names:["disputeGameProxy","timestamp"],nodeType:"FunctionCall",src:"14020:85:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal memory"}},src:"13960:145:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_storage",typeString:"struct OptimismPortal2.ProvenWithdrawal storage ref"}},id:87581,nodeType:"ExpressionStatement",src:"13960:145:135"},{eventCall:{arguments:[{id:87583,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87522,src:"14182:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{expression:{id:87584,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87456,src:"14198:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87585,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",referencedDeclaration:104339,src:"14198:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:87586,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87456,src:"14210:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87587,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"14210:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"}],id:87582,name:"WithdrawalProven",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87238,src:"14165:16:135",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$",typeString:"function (bytes32,address,address)"}},id:87588,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14165:56:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87589,nodeType:"EmitStatement",src:"14160:61:135"},{expression:{arguments:[{expression:{id:87594,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"14362:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87595,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"14362:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{baseExpression:{id:87590,name:"proofSubmitters",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87218,src:"14325:15:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_array$_t_address_$dyn_storage_$",typeString:"mapping(bytes32 => address[] storage ref)"}},id:87592,indexExpression:{id:87591,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87522,src:"14341:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"14325:31:135",typeDescriptions:{typeIdentifier:"t_array$_t_address_$dyn_storage",typeString:"address[] storage ref"}},id:87593,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"push",nodeType:"MemberAccess",src:"14325:36:135",typeDescriptions:{typeIdentifier:"t_function_arraypush_nonpayable$_t_array$_t_address_$dyn_storage_ptr_$_t_address_$returns$__$bound_to$_t_array$_t_address_$dyn_storage_ptr_$",typeString:"function (address[] storage pointer,address)"}},id:87596,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14325:48:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87597,nodeType:"ExpressionStatement",src:"14325:48:135"}]},documentation:{id:87453,nodeType:"StructuredDocumentation",src:"10405:406:135",text:`@notice Proves a withdrawal transaction. + @param _tx Withdrawal transaction to finalize. + @param _disputeGameIndex Index of the dispute game to prove the withdrawal against. + @param _outputRootProof Inclusion proof of the L2ToL1MessagePasser contract's storage root. + @param _withdrawalProof Inclusion proof of the withdrawal in L2ToL1MessagePasser contract.`},functionSelector:"4870496f",implemented:!0,kind:"function",modifiers:[{id:87467,kind:"modifierInvocation",modifierName:{id:87466,name:"whenNotPaused",nodeType:"IdentifierPath",referencedDeclaration:87256,src:"11066:13:135"},nodeType:"ModifierInvocation",src:"11066:13:135"}],name:"proveWithdrawalTransaction",nameLocation:"10825:26:135",parameters:{id:87465,nodeType:"ParameterList",parameters:[{constant:!1,id:87456,mutability:"mutable",name:"_tx",nameLocation:"10896:3:135",nodeType:"VariableDeclaration",scope:87599,src:"10861:38:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction"},typeName:{id:87455,nodeType:"UserDefinedTypeName",pathNode:{id:87454,name:"Types.WithdrawalTransaction",nodeType:"IdentifierPath",referencedDeclaration:104348,src:"10861:27:135"},referencedDeclaration:104348,src:"10861:27:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_storage_ptr",typeString:"struct Types.WithdrawalTransaction"}},visibility:"internal"},{constant:!1,id:87458,mutability:"mutable",name:"_disputeGameIndex",nameLocation:"10917:17:135",nodeType:"VariableDeclaration",scope:87599,src:"10909:25:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87457,name:"uint256",nodeType:"ElementaryTypeName",src:"10909:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:87461,mutability:"mutable",name:"_outputRootProof",nameLocation:"10975:16:135",nodeType:"VariableDeclaration",scope:87599,src:"10944:47:135",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_calldata_ptr",typeString:"struct Types.OutputRootProof"},typeName:{id:87460,nodeType:"UserDefinedTypeName",pathNode:{id:87459,name:"Types.OutputRootProof",nodeType:"IdentifierPath",referencedDeclaration:104316,src:"10944:21:135"},referencedDeclaration:104316,src:"10944:21:135",typeDescriptions:{typeIdentifier:"t_struct$_OutputRootProof_$104316_storage_ptr",typeString:"struct Types.OutputRootProof"}},visibility:"internal"},{constant:!1,id:87464,mutability:"mutable",name:"_withdrawalProof",nameLocation:"11018:16:135",nodeType:"VariableDeclaration",scope:87599,src:"11001:33:135",stateVariable:!1,storageLocation:"calldata",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",typeString:"bytes[]"},typeName:{baseType:{id:87462,name:"bytes",nodeType:"ElementaryTypeName",src:"11001:5:135",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},id:87463,nodeType:"ArrayTypeName",src:"11001:7:135",typeDescriptions:{typeIdentifier:"t_array$_t_bytes_storage_$dyn_storage_ptr",typeString:"bytes[]"}},visibility:"internal"}],src:"10851:189:135"},returnParameters:{id:87468,nodeType:"ParameterList",parameters:[],src:"11084:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:87615,nodeType:"FunctionDefinition",src:"14493:178:135",nodes:[],body:{id:87614,nodeType:"Block",src:"14595:76:135",nodes:[],statements:[{expression:{arguments:[{id:87609,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87603,src:"14648:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},{expression:{id:87610,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"14653:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87611,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"14653:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"},{typeIdentifier:"t_address",typeString:"address"}],id:87608,name:"finalizeWithdrawalTransactionExternalProof",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87695,src:"14605:42:135",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$_t_address_$returns$__$",typeString:"function (struct Types.WithdrawalTransaction memory,address)"}},id:87612,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"14605:59:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87613,nodeType:"ExpressionStatement",src:"14605:59:135"}]},documentation:{id:87600,nodeType:"StructuredDocumentation",src:"14386:102:135",text:`@notice Finalizes a withdrawal transaction. + @param _tx Withdrawal transaction to finalize.`},functionSelector:"8c3152e9",implemented:!0,kind:"function",modifiers:[{id:87606,kind:"modifierInvocation",modifierName:{id:87605,name:"whenNotPaused",nodeType:"IdentifierPath",referencedDeclaration:87256,src:"14581:13:135"},nodeType:"ModifierInvocation",src:"14581:13:135"}],name:"finalizeWithdrawalTransaction",nameLocation:"14502:29:135",parameters:{id:87604,nodeType:"ParameterList",parameters:[{constant:!1,id:87603,mutability:"mutable",name:"_tx",nameLocation:"14567:3:135",nodeType:"VariableDeclaration",scope:87615,src:"14532:38:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction"},typeName:{id:87602,nodeType:"UserDefinedTypeName",pathNode:{id:87601,name:"Types.WithdrawalTransaction",nodeType:"IdentifierPath",referencedDeclaration:104348,src:"14532:27:135"},referencedDeclaration:104348,src:"14532:27:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_storage_ptr",typeString:"struct Types.WithdrawalTransaction"}},visibility:"internal"}],src:"14531:40:135"},returnParameters:{id:87607,nodeType:"ParameterList",parameters:[],src:"14595:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:87695,nodeType:"FunctionDefinition",src:"14882:2403:135",nodes:[],body:{id:87694,nodeType:"Block",src:"15062:2223:135",nodes:[],statements:[{expression:{arguments:[{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87630,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87627,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87165,src:"15328:8:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:87628,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"15340:9:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:87629,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"15340:27:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"15328:39:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a2063616e206f6e6c792074726967676572206f6e65207769746864726177616c20706572207472616e73616374696f6e",id:87631,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"15369:65:135",typeDescriptions:{typeIdentifier:"t_stringliteral_452e6500a4013b85635a7a9b231d68a5197c7f7579d0b96d0b2f2e5fe6b5995b",typeString:'literal_string "OptimismPortal: can only trigger one withdrawal per transaction"'},value:"OptimismPortal: can only trigger one withdrawal per transaction"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_452e6500a4013b85635a7a9b231d68a5197c7f7579d0b96d0b2f2e5fe6b5995b",typeString:'literal_string "OptimismPortal: can only trigger one withdrawal per transaction"'}],id:87626,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"15307:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87632,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15307:137:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87633,nodeType:"ExpressionStatement",src:"15307:137:135"},{assignments:[87635],declarations:[{constant:!1,id:87635,mutability:"mutable",name:"withdrawalHash",nameLocation:"15503:14:135",nodeType:"VariableDeclaration",scope:87694,src:"15495:22:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87634,name:"bytes32",nodeType:"ElementaryTypeName",src:"15495:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],id:87640,initialValue:{arguments:[{id:87638,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"15543:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}],expression:{id:87636,name:"Hashing",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103936,src:"15520:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Hashing_$103936_$",typeString:"type(library Hashing)"}},id:87637,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"hashWithdrawal",nodeType:"MemberAccess",referencedDeclaration:103911,src:"15520:22:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_struct$_WithdrawalTransaction_$104348_memory_ptr_$returns$_t_bytes32_$",typeString:"function (struct Types.WithdrawalTransaction memory) pure returns (bytes32)"}},id:87639,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15520:27:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},nodeType:"VariableDeclarationStatement",src:"15495:52:135"},{expression:{arguments:[{id:87642,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87635,src:"15629:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{id:87643,name:"_proofSubmitter",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87621,src:"15645:15:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_address",typeString:"address"}],id:87641,name:"checkWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87956,src:"15613:15:135",typeDescriptions:{typeIdentifier:"t_function_internal_view$_t_bytes32_$_t_address_$returns$__$",typeString:"function (bytes32,address) view"}},id:87644,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"15613:48:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87645,nodeType:"ExpressionStatement",src:"15613:48:135"},{expression:{id:87650,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:87646,name:"finalizedWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87170,src:"15741:20:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"}},id:87648,indexExpression:{id:87647,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87635,src:"15762:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"15741:36:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:87649,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"15780:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"15741:43:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87651,nodeType:"ExpressionStatement",src:"15741:43:135"},{expression:{id:87655,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87652,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87165,src:"15878:8:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:87653,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"15889:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87654,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",referencedDeclaration:104339,src:"15889:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"15878:21:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87656,nodeType:"ExpressionStatement",src:"15878:21:135"},{assignments:[87658],declarations:[{constant:!1,id:87658,mutability:"mutable",name:"success",nameLocation:"16524:7:135",nodeType:"VariableDeclaration",scope:87694,src:"16519:12:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87657,name:"bool",nodeType:"ElementaryTypeName",src:"16519:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],id:87670,initialValue:{arguments:[{expression:{id:87661,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"16558:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87662,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"target",nodeType:"MemberAccess",referencedDeclaration:104341,src:"16558:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{expression:{id:87663,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"16570:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87664,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"gasLimit",nodeType:"MemberAccess",referencedDeclaration:104345,src:"16570:12:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:87665,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"16584:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87666,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",referencedDeclaration:104343,src:"16584:9:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{expression:{id:87667,name:"_tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87619,src:"16595:3:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction memory"}},id:87668,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"data",nodeType:"MemberAccess",referencedDeclaration:104347,src:"16595:8:135",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:87659,name:"SafeCall",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:104213,src:"16534:8:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_SafeCall_$104213_$",typeString:"type(library SafeCall)"}},id:87660,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"callWithMinGas",nodeType:"MemberAccess",referencedDeclaration:104212,src:"16534:23:135",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$",typeString:"function (address,uint256,uint256,bytes memory) returns (bool)"}},id:87669,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16534:70:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"VariableDeclarationStatement",src:"16519:85:135"},{expression:{id:87674,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87671,name:"l2Sender",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87165,src:"16672:8:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{expression:{id:87672,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"16683:9:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:87673,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"DEFAULT_L2_SENDER",nodeType:"MemberAccess",referencedDeclaration:103058,src:"16683:27:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"16672:38:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87675,nodeType:"ExpressionStatement",src:"16672:38:135"},{eventCall:{arguments:[{id:87677,name:"withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87635,src:"16889:14:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{id:87678,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87658,src:"16905:7:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bool",typeString:"bool"}],id:87676,name:"WithdrawalFinalized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87245,src:"16869:19:135",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_bytes32_$_t_bool_$returns$__$",typeString:"function (bytes32,bool)"}},id:87679,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"16869:44:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87680,nodeType:"EmitStatement",src:"16864:49:135"},{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:87688,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87682,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"17177:8:135",subExpression:{id:87681,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87658,src:"17178:7:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87687,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87683,name:"tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-26,src:"17189:2:135",typeDescriptions:{typeIdentifier:"t_magic_transaction",typeString:"tx"}},id:87684,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"origin",nodeType:"MemberAccess",src:"17189:9:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:87685,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"17202:9:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:87686,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"ESTIMATION_ADDRESS",nodeType:"MemberAccess",referencedDeclaration:103054,src:"17202:28:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"17189:41:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"17177:53:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87693,nodeType:"IfStatement",src:"17173:106:135",trueBody:{id:87692,nodeType:"Block",src:"17232:47:135",statements:[{errorCall:{arguments:[],expression:{argumentTypes:[],id:87689,name:"GasEstimation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103993,src:"17253:13:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87690,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"17253:15:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87691,nodeType:"RevertStatement",src:"17246:22:135"}]}}]},documentation:{id:87616,nodeType:"StructuredDocumentation",src:"14677:200:135",text:`@notice Finalizes a withdrawal transaction, using an external proof submitter. + @param _tx Withdrawal transaction to finalize. + @param _proofSubmitter Address of the proof submitter.`},functionSelector:"43ca1c50",implemented:!0,kind:"function",modifiers:[{id:87624,kind:"modifierInvocation",modifierName:{id:87623,name:"whenNotPaused",nodeType:"IdentifierPath",referencedDeclaration:87256,src:"15044:13:135"},nodeType:"ModifierInvocation",src:"15044:13:135"}],name:"finalizeWithdrawalTransactionExternalProof",nameLocation:"14891:42:135",parameters:{id:87622,nodeType:"ParameterList",parameters:[{constant:!1,id:87619,mutability:"mutable",name:"_tx",nameLocation:"14978:3:135",nodeType:"VariableDeclaration",scope:87695,src:"14943:38:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_memory_ptr",typeString:"struct Types.WithdrawalTransaction"},typeName:{id:87618,nodeType:"UserDefinedTypeName",pathNode:{id:87617,name:"Types.WithdrawalTransaction",nodeType:"IdentifierPath",referencedDeclaration:104348,src:"14943:27:135"},referencedDeclaration:104348,src:"14943:27:135",typeDescriptions:{typeIdentifier:"t_struct$_WithdrawalTransaction_$104348_storage_ptr",typeString:"struct Types.WithdrawalTransaction"}},visibility:"internal"},{constant:!1,id:87621,mutability:"mutable",name:"_proofSubmitter",nameLocation:"14999:15:135",nodeType:"VariableDeclaration",scope:87695,src:"14991:23:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87620,name:"address",nodeType:"ElementaryTypeName",src:"14991:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"14933:87:135"},returnParameters:{id:87625,nodeType:"ParameterList",parameters:[],src:"15062:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:87785,nodeType:"FunctionDefinition",src:"18015:1855:135",nodes:[],body:{id:87784,nodeType:"Block",src:"18236:1634:135",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_bool",typeString:"bool"},id:87719,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87712,name:"_isCreation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87704,src:"18375:11:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"BinaryOperation",operator:"&&",rightExpression:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87718,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87713,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87698,src:"18390:3:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[{hexValue:"30",id:87716,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"18405:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"}],expression:{argumentTypes:[{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"}],id:87715,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18397:7:135",typeDescriptions:{typeIdentifier:"t_type$_t_address_$",typeString:"type(address)"},typeName:{id:87714,name:"address",nodeType:"ElementaryTypeName",src:"18397:7:135",typeDescriptions:{}}},id:87717,isConstant:!1,isLValue:!1,isPure:!0,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18397:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"18390:17:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"18375:32:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87723,nodeType:"IfStatement",src:"18371:56:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87720,name:"BadTarget",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103969,src:"18416:9:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87721,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18416:11:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87722,nodeType:"RevertStatement",src:"18409:18:135"}},{condition:{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87732,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87724,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87702,src:"18579:9:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"<",rightExpression:{arguments:[{arguments:[{expression:{id:87728,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87706,src:"18614:5:135",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:87729,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"18614:12:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:87727,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"18607:6:135",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:87726,name:"uint64",nodeType:"ElementaryTypeName",src:"18607:6:135",typeDescriptions:{}}},id:87730,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18607:20:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint64",typeString:"uint64"}],id:87725,name:"minimumGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87416,src:"18591:15:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_uint64_$returns$_t_uint64_$",typeString:"function (uint64) pure returns (uint64)"}},id:87731,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18591:37:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"18579:49:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87736,nodeType:"IfStatement",src:"18575:77:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87733,name:"SmallGasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103975,src:"18637:13:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87734,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"18637:15:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87735,nodeType:"RevertStatement",src:"18630:22:135"}},{condition:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87740,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87737,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87706,src:"19027:5:135",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:87738,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"19027:12:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{hexValue:"3132305f303030",id:87739,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"19042:7:135",typeDescriptions:{typeIdentifier:"t_rational_120000_by_1",typeString:"int_const 120000"},value:"120_000"},src:"19027:22:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87744,nodeType:"IfStatement",src:"19023:50:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87741,name:"LargeCalldata",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103972,src:"19058:13:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87742,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19058:15:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87743,nodeType:"RevertStatement",src:"19051:22:135"}},{assignments:[87746],declarations:[{constant:!1,id:87746,mutability:"mutable",name:"from",nameLocation:"19172:4:135",nodeType:"VariableDeclaration",scope:87784,src:"19164:12:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87745,name:"address",nodeType:"ElementaryTypeName",src:"19164:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],id:87749,initialValue:{expression:{id:87747,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19179:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87748,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"19179:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"VariableDeclarationStatement",src:"19164:25:135"},{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87754,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87750,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19203:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87751,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"19203:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{expression:{id:87752,name:"tx",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-26,src:"19217:2:135",typeDescriptions:{typeIdentifier:"t_magic_transaction",typeString:"tx"}},id:87753,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"origin",nodeType:"MemberAccess",src:"19217:9:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"19203:23:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87764,nodeType:"IfStatement",src:"19199:108:135",trueBody:{id:87763,nodeType:"Block",src:"19228:79:135",statements:[{expression:{id:87761,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87755,name:"from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87746,src:"19242:4:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{expression:{id:87758,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19285:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87759,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"19285:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{id:87756,name:"AddressAliasHelper",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:111913,src:"19249:18:135",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_AddressAliasHelper_$111913_$",typeString:"type(library AddressAliasHelper)"}},id:87757,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"applyL1ToL2Alias",nodeType:"MemberAccess",referencedDeclaration:111890,src:"19249:35:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_address_$returns$_t_address_$",typeString:"function (address) pure returns (address)"}},id:87760,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19249:47:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"19242:54:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},id:87762,nodeType:"ExpressionStatement",src:"19242:54:135"}]}},{assignments:[87766],declarations:[{constant:!1,id:87766,mutability:"mutable",name:"opaqueData",nameLocation:"19577:10:135",nodeType:"VariableDeclaration",scope:87784,src:"19564:23:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:87765,name:"bytes",nodeType:"ElementaryTypeName",src:"19564:5:135",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],id:87776,initialValue:{arguments:[{expression:{id:87769,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"19607:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87770,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"19607:9:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87771,name:"_value",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87700,src:"19618:6:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87772,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87702,src:"19626:9:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},{id:87773,name:"_isCreation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87704,src:"19637:11:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{id:87774,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87706,src:"19650:5:135",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_uint64",typeString:"uint64"},{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:87767,name:"abi",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-1,src:"19590:3:135",typeDescriptions:{typeIdentifier:"t_magic_abi",typeString:"abi"}},id:87768,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"encodePacked",nodeType:"MemberAccess",src:"19590:16:135",typeDescriptions:{typeIdentifier:"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",typeString:"function () pure returns (bytes memory)"}},id:87775,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19590:66:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},nodeType:"VariableDeclarationStatement",src:"19564:92:135"},{eventCall:{arguments:[{id:87778,name:"from",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87746,src:"19824:4:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:87779,name:"_to",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87698,src:"19830:3:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:87780,name:"DEPOSIT_VERSION",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87158,src:"19835:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},{id:87781,name:"opaqueData",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87766,src:"19852:10:135",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_uint256",typeString:"uint256"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],id:87777,name:"TransactionDeposited",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87229,src:"19803:20:135",typeDescriptions:{typeIdentifier:"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",typeString:"function (address,address,uint256,bytes memory)"}},id:87782,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"19803:60:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87783,nodeType:"EmitStatement",src:"19798:65:135"}]},documentation:{id:87696,nodeType:"StructuredDocumentation",src:"17291:719:135",text:`@notice Accepts deposits of ETH and data, and emits a TransactionDeposited event for use in + deriving deposit transactions. Note that if a deposit is made by a contract, its + address will be aliased when retrieved using \`tx.origin\` or \`msg.sender\`. Consider + using the CrossDomainMessenger contracts for a simpler developer experience. + @param _to Target address on L2. + @param _value ETH value to send to the recipient. + @param _gasLimit Amount of L2 gas to purchase by burning gas on L1. + @param _isCreation Whether or not the transaction is a contract creation. + @param _data Data to trigger the recipient with.`},functionSelector:"e9e05c42",implemented:!0,kind:"function",modifiers:[{arguments:[{id:87709,name:"_gasLimit",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87702,src:"18221:9:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}}],id:87710,kind:"modifierInvocation",modifierName:{id:87708,name:"metered",nodeType:"IdentifierPath",referencedDeclaration:88284,src:"18213:7:135"},nodeType:"ModifierInvocation",src:"18213:18:135"}],name:"depositTransaction",nameLocation:"18024:18:135",parameters:{id:87707,nodeType:"ParameterList",parameters:[{constant:!1,id:87698,mutability:"mutable",name:"_to",nameLocation:"18060:3:135",nodeType:"VariableDeclaration",scope:87785,src:"18052:11:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87697,name:"address",nodeType:"ElementaryTypeName",src:"18052:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:87700,mutability:"mutable",name:"_value",nameLocation:"18081:6:135",nodeType:"VariableDeclaration",scope:87785,src:"18073:14:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87699,name:"uint256",nodeType:"ElementaryTypeName",src:"18073:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"},{constant:!1,id:87702,mutability:"mutable",name:"_gasLimit",nameLocation:"18104:9:135",nodeType:"VariableDeclaration",scope:87785,src:"18097:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87701,name:"uint64",nodeType:"ElementaryTypeName",src:"18097:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"},{constant:!1,id:87704,mutability:"mutable",name:"_isCreation",nameLocation:"18128:11:135",nodeType:"VariableDeclaration",scope:87785,src:"18123:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:87703,name:"bool",nodeType:"ElementaryTypeName",src:"18123:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},{constant:!1,id:87706,mutability:"mutable",name:"_data",nameLocation:"18162:5:135",nodeType:"VariableDeclaration",scope:87785,src:"18149:18:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:87705,name:"bytes",nodeType:"ElementaryTypeName",src:"18149:5:135",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"18042:131:135"},returnParameters:{id:87711,nodeType:"ParameterList",parameters:[],src:"18236:0:135"},scope:87971,stateMutability:"payable",virtual:!1,visibility:"public"},{id:87808,nodeType:"FunctionDefinition",src:"20049:185:135",nodes:[],body:{id:87807,nodeType:"Block",src:"20115:119:135",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87796,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87792,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"20129:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87793,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"20129:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[],expression:{argumentTypes:[],id:87794,name:"guardian",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87372,src:"20143:8:135",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_address_$",typeString:"function () view returns (address)"}},id:87795,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20143:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"20129:24:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87800,nodeType:"IfStatement",src:"20125:51:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87797,name:"Unauthorized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103987,src:"20162:12:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87798,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20162:14:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87799,nodeType:"RevertStatement",src:"20155:21:135"}},{expression:{id:87805,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:87801,name:"disputeGameBlacklist",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87205,src:"20186:20:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_contract$_IDisputeGame_$100327_$_t_bool_$",typeString:"mapping(contract IDisputeGame => bool)"}},id:87803,indexExpression:{id:87802,name:"_disputeGame",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87789,src:"20207:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"20186:34:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{hexValue:"74727565",id:87804,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"20223:4:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"true"},src:"20186:41:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87806,nodeType:"ExpressionStatement",src:"20186:41:135"}]},documentation:{id:87786,nodeType:"StructuredDocumentation",src:"19876:168:135",text:`@notice Blacklists a dispute game. Should only be used in the event that a dispute game resolves incorrectly. + @param _disputeGame Dispute game to blacklist.`},functionSelector:"7d6be8dc",implemented:!0,kind:"function",modifiers:[],name:"blacklistDisputeGame",nameLocation:"20058:20:135",parameters:{id:87790,nodeType:"ParameterList",parameters:[{constant:!1,id:87789,mutability:"mutable",name:"_disputeGame",nameLocation:"20092:12:135",nodeType:"VariableDeclaration",scope:87808,src:"20079:25:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:87788,nodeType:"UserDefinedTypeName",pathNode:{id:87787,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"20079:12:135"},referencedDeclaration:100327,src:"20079:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],src:"20078:27:135"},returnParameters:{id:87791,nodeType:"ParameterList",parameters:[],src:"20115:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:87837,nodeType:"FunctionDefinition",src:"20481:228:135",nodes:[],body:{id:87836,nodeType:"Block",src:"20540:169:135",nodes:[],statements:[{condition:{commonType:{typeIdentifier:"t_address",typeString:"address"},id:87819,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87815,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"20554:3:135",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:87816,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"sender",nodeType:"MemberAccess",src:"20554:10:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{arguments:[],expression:{argumentTypes:[],id:87817,name:"guardian",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87372,src:"20568:8:135",typeDescriptions:{typeIdentifier:"t_function_internal_view$__$returns$_t_address_$",typeString:"function () view returns (address)"}},id:87818,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20568:10:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},src:"20554:24:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:87823,nodeType:"IfStatement",src:"20550:51:135",trueBody:{errorCall:{arguments:[],expression:{argumentTypes:[],id:87820,name:"Unauthorized",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103987,src:"20587:12:135",typeDescriptions:{typeIdentifier:"t_function_error_pure$__$returns$__$",typeString:"function () pure"}},id:87821,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20587:14:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87822,nodeType:"RevertStatement",src:"20580:21:135"}},{expression:{id:87826,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87824,name:"respectedGameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87209,src:"20611:17:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:87825,name:"_gameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87812,src:"20631:9:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},src:"20611:29:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87827,nodeType:"ExpressionStatement",src:"20611:29:135"},{expression:{id:87834,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:87828,name:"respectedGameTypeUpdatedAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87212,src:"20650:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"Assignment",operator:"=",rightHandSide:{arguments:[{expression:{id:87831,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"20686:5:135",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87832,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"20686:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:87830,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"20679:6:135",typeDescriptions:{typeIdentifier:"t_type$_t_uint64_$",typeString:"type(uint64)"},typeName:{id:87829,name:"uint64",nodeType:"ElementaryTypeName",src:"20679:6:135",typeDescriptions:{}}},id:87833,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"20679:23:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"20650:52:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},id:87835,nodeType:"ExpressionStatement",src:"20650:52:135"}]},documentation:{id:87809,nodeType:"StructuredDocumentation",src:"20240:236:135",text:`@notice Sets the respected game type. Changing this value can alter the security properties of the system, + depending on the new game's behavior. + @param _gameType The game type to consult for output proposals.`},functionSelector:"7fc48504",implemented:!0,kind:"function",modifiers:[],name:"setRespectedGameType",nameLocation:"20490:20:135",parameters:{id:87813,nodeType:"ParameterList",parameters:[{constant:!1,id:87812,mutability:"mutable",name:"_gameType",nameLocation:"20520:9:135",nodeType:"VariableDeclaration",scope:87837,src:"20511:18:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"},typeName:{id:87811,nodeType:"UserDefinedTypeName",pathNode:{id:87810,name:"GameType",nodeType:"IdentifierPath",referencedDeclaration:103271,src:"20511:8:135"},referencedDeclaration:103271,src:"20511:8:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},visibility:"internal"}],src:"20510:20:135"},returnParameters:{id:87814,nodeType:"ParameterList",parameters:[],src:"20540:0:135"},scope:87971,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:87956,nodeType:"FunctionDefinition",src:"21034:3510:135",nodes:[],body:{id:87955,nodeType:"Block",src:"21121:3423:135",nodes:[],statements:[{assignments:[87847],declarations:[{constant:!1,id:87847,mutability:"mutable",name:"provenWithdrawal",nameLocation:"21155:16:135",nodeType:"VariableDeclaration",scope:87955,src:"21131:40:135",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal"},typeName:{id:87846,nodeType:"UserDefinedTypeName",pathNode:{id:87845,name:"ProvenWithdrawal",nodeType:"IdentifierPath",referencedDeclaration:87148,src:"21131:16:135"},referencedDeclaration:87148,src:"21131:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_storage_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal"}},visibility:"internal"}],id:87853,initialValue:{baseExpression:{baseExpression:{id:87848,name:"provenWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87199,src:"21174:17:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$_$",typeString:"mapping(bytes32 => mapping(address => struct OptimismPortal2.ProvenWithdrawal storage ref))"}},id:87850,indexExpression:{id:87849,name:"_withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87840,src:"21192:15:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"21174:34:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_struct$_ProvenWithdrawal_$87148_storage_$",typeString:"mapping(address => struct OptimismPortal2.ProvenWithdrawal storage ref)"}},id:87852,indexExpression:{id:87851,name:"_proofSubmitter",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87842,src:"21209:15:135",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"21174:51:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_storage",typeString:"struct OptimismPortal2.ProvenWithdrawal storage ref"}},nodeType:"VariableDeclarationStatement",src:"21131:94:135"},{assignments:[87856],declarations:[{constant:!1,id:87856,mutability:"mutable",name:"disputeGameProxy",nameLocation:"21248:16:135",nodeType:"VariableDeclaration",scope:87955,src:"21235:29:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"},typeName:{id:87855,nodeType:"UserDefinedTypeName",pathNode:{id:87854,name:"IDisputeGame",nodeType:"IdentifierPath",referencedDeclaration:100327,src:"21235:12:135"},referencedDeclaration:100327,src:"21235:12:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},visibility:"internal"}],id:87859,initialValue:{expression:{id:87857,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87847,src:"21267:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal memory"}},id:87858,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"disputeGameProxy",nodeType:"MemberAccess",referencedDeclaration:87145,src:"21267:33:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},nodeType:"VariableDeclarationStatement",src:"21235:65:135"},{expression:{arguments:[{id:87864,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"21372:39:135",subExpression:{baseExpression:{id:87861,name:"disputeGameBlacklist",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87205,src:"21373:20:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_contract$_IDisputeGame_$100327_$_t_bool_$",typeString:"mapping(contract IDisputeGame => bool)"}},id:87863,indexExpression:{id:87862,name:"disputeGameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87856,src:"21394:16:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"21373:38:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20646973707574652067616d6520686173206265656e20626c61636b6c6973746564",id:87865,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"21413:51:135",typeDescriptions:{typeIdentifier:"t_stringliteral_73f1817c6693b1e67cebb729644f638bfff163fd990e09b18d9a753bee9d3156",typeString:'literal_string "OptimismPortal: dispute game has been blacklisted"'},value:"OptimismPortal: dispute game has been blacklisted"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_73f1817c6693b1e67cebb729644f638bfff163fd990e09b18d9a753bee9d3156",typeString:'literal_string "OptimismPortal: dispute game has been blacklisted"'}],id:87860,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"21364:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87866,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21364:101:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87867,nodeType:"ExpressionStatement",src:"21364:101:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87869,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87847,src:"21728:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal memory"}},id:87870,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:87147,src:"21728:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:"!=",rightExpression:{hexValue:"30",id:87871,isConstant:!1,isLValue:!1,isPure:!0,kind:"number",lValueRequested:!1,nodeType:"Literal",src:"21758:1:135",typeDescriptions:{typeIdentifier:"t_rational_0_by_1",typeString:"int_const 0"},value:"0"},src:"21728:31:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c20686173206e6f74206265656e2070726f76656e2062792070726f6f66207375626d6974746572206164647265737320796574",id:87873,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"21773:79:135",typeDescriptions:{typeIdentifier:"t_stringliteral_dff7e2322b891da5e795cf007265ba6491e079cdcc6285755ab2ef47d12c1b3e",typeString:'literal_string "OptimismPortal: withdrawal has not been proven by proof submitter address yet"'},value:"OptimismPortal: withdrawal has not been proven by proof submitter address yet"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_dff7e2322b891da5e795cf007265ba6491e079cdcc6285755ab2ef47d12c1b3e",typeString:'literal_string "OptimismPortal: withdrawal has not been proven by proof submitter address yet"'}],id:87868,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"21707:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87874,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21707:155:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87875,nodeType:"ExpressionStatement",src:"21707:155:135"},{assignments:[87877],declarations:[{constant:!1,id:87877,mutability:"mutable",name:"createdAt",nameLocation:"21880:9:135",nodeType:"VariableDeclaration",scope:87955,src:"21873:16:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"},typeName:{id:87876,name:"uint64",nodeType:"ElementaryTypeName",src:"21873:6:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},visibility:"internal"}],id:87883,initialValue:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87878,name:"disputeGameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87856,src:"21892:16:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87879,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"createdAt",nodeType:"MemberAccess",referencedDeclaration:100260,src:"21892:26:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function () view external returns (Timestamp)"}},id:87880,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21892:28:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},id:87881,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101124,src:"21892:32:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Timestamp_$103261_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (Timestamp) pure returns (uint64)"}},id:87882,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"21892:34:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"VariableDeclarationStatement",src:"21873:53:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87888,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87885,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87847,src:"22211:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal memory"}},id:87886,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:87147,src:"22211:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:87887,name:"createdAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87877,src:"22240:9:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"22211:38:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c2074696d657374616d70206c657373207468616e20646973707574652067616d65206372656174696f6e2074696d657374616d70",id:87889,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"22263:80:135",typeDescriptions:{typeIdentifier:"t_stringliteral_0ad74f1e06ee42b3b76dc1e11cd4cd398b1f9faab8a48965612e5077366f3ac5",typeString:'literal_string "OptimismPortal: withdrawal timestamp less than dispute game creation timestamp"'},value:"OptimismPortal: withdrawal timestamp less than dispute game creation timestamp"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_0ad74f1e06ee42b3b76dc1e11cd4cd398b1f9faab8a48965612e5077366f3ac5",typeString:'literal_string "OptimismPortal: withdrawal timestamp less than dispute game creation timestamp"'}],id:87884,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"22190:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87890,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22190:163:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87891,nodeType:"ExpressionStatement",src:"22190:163:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87899,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87897,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87893,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"22485:5:135",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87894,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"22485:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{expression:{id:87895,name:"provenWithdrawal",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87847,src:"22503:16:135",typeDescriptions:{typeIdentifier:"t_struct$_ProvenWithdrawal_$87148_memory_ptr",typeString:"struct OptimismPortal2.ProvenWithdrawal memory"}},id:87896,isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",referencedDeclaration:87147,src:"22503:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"22485:44:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:87898,name:"PROOF_MATURITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87151,src:"22532:28:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"22485:75:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a2070726f76656e207769746864726177616c20686173206e6f74206d61747572656420796574",id:87900,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"22574:55:135",typeDescriptions:{typeIdentifier:"t_stringliteral_76db07ababbe7ead3930082886fa1efd5937fe1ef0c82ee1c6b5f5e6f3c5b440",typeString:'literal_string "OptimismPortal: proven withdrawal has not matured yet"'},value:"OptimismPortal: proven withdrawal has not matured yet"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_76db07ababbe7ead3930082886fa1efd5937fe1ef0c82ee1c6b5f5e6f3c5b440",typeString:'literal_string "OptimismPortal: proven withdrawal has not matured yet"'}],id:87892,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"22464:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87901,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22464:175:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87902,nodeType:"ExpressionStatement",src:"22464:175:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"},id:87909,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87904,name:"disputeGameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87856,src:"22943:16:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87905,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"status",nodeType:"MemberAccess",referencedDeclaration:100274,src:"22943:23:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_enum$_GameStatus_$103277_$",typeString:"function () view external returns (enum GameStatus)"}},id:87906,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22943:25:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:87907,name:"GameStatus",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103277,src:"22972:10:135",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_GameStatus_$103277_$",typeString:"type(enum GameStatus)"}},id:87908,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"DEFENDER_WINS",nodeType:"MemberAccess",referencedDeclaration:103276,src:"22972:24:135",typeDescriptions:{typeIdentifier:"t_enum$_GameStatus_$103277",typeString:"enum GameStatus"}},src:"22943:53:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c20686173206e6f74206265656e2076616c696461746564",id:87910,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"23010:56:135",typeDescriptions:{typeIdentifier:"t_stringliteral_6a59e1f27f0a2f1f7f0bcad40a1f45d3cc032caa0d85e86ecaf6cb415c3f90fc",typeString:'literal_string "OptimismPortal: output proposal has not been validated"'},value:"OptimismPortal: output proposal has not been validated"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_6a59e1f27f0a2f1f7f0bcad40a1f45d3cc032caa0d85e86ecaf6cb415c3f90fc",typeString:'literal_string "OptimismPortal: output proposal has not been validated"'}],id:87903,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"22922:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87911,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"22922:154:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87912,nodeType:"ExpressionStatement",src:"22922:154:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint32",typeString:"uint32"},id:87922,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87914,name:"disputeGameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87856,src:"23349:16:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87915,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"gameType",nodeType:"MemberAccess",referencedDeclaration:100281,src:"23349:25:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function () view external returns (GameType)"}},id:87916,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23349:27:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87917,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"23349:31:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:87918,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23349:33:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{id:87919,name:"respectedGameType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87209,src:"23386:17:135",typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_GameType_$103271",typeString:"GameType"}},id:87920,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101150,src:"23386:21:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_GameType_$103271_$returns$_t_uint32_$bound_to$_t_userDefinedValueType$_GameType_$103271_$",typeString:"function (GameType) pure returns (uint32)"}},id:87921,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23386:23:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint32",typeString:"uint32"}},src:"23349:60:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20696e76616c69642067616d652074797065",id:87923,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"23411:35:135",typeDescriptions:{typeIdentifier:"t_stringliteral_ea6e52a7a06be8d460d58a9fb591f5b7ad20643cdd834b0004aaeaa0647b1d4b",typeString:'literal_string "OptimismPortal: invalid game type"'},value:"OptimismPortal: invalid game type"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_ea6e52a7a06be8d460d58a9fb591f5b7ad20643cdd834b0004aaeaa0647b1d4b",typeString:'literal_string "OptimismPortal: invalid game type"'}],id:87913,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"23341:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87924,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23341:106:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87925,nodeType:"ExpressionStatement",src:"23341:106:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint64",typeString:"uint64"},id:87929,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:87927,name:"createdAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87877,src:"23709:9:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},nodeType:"BinaryOperation",operator:">=",rightExpression:{id:87928,name:"respectedGameTypeUpdatedAt",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87212,src:"23722:26:135",typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"23709:39:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a20646973707574652067616d652063726561746564206265666f7265207265737065637465642067616d652074797065207761732075706461746564",id:87930,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"23762:77:135",typeDescriptions:{typeIdentifier:"t_stringliteral_eb316f1f3803f121f540c3c08dac6b170256917a9481e6e8393a29885b3a291f",typeString:'literal_string "OptimismPortal: dispute game created before respected game type was updated"'},value:"OptimismPortal: dispute game created before respected game type was updated"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_eb316f1f3803f121f540c3c08dac6b170256917a9481e6e8393a29885b3a291f",typeString:'literal_string "OptimismPortal: dispute game created before respected game type was updated"'}],id:87926,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"23688:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87931,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"23688:161:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87932,nodeType:"ExpressionStatement",src:"23688:161:135"},{expression:{arguments:[{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87943,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{commonType:{typeIdentifier:"t_uint256",typeString:"uint256"},id:87941,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{expression:{id:87934,name:"block",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-4,src:"24166:5:135",typeDescriptions:{typeIdentifier:"t_magic_block",typeString:"block"}},id:87935,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"timestamp",nodeType:"MemberAccess",src:"24166:15:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:"-",rightExpression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[],expression:{argumentTypes:[],expression:{id:87936,name:"disputeGameProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87856,src:"24184:16:135",typeDescriptions:{typeIdentifier:"t_contract$_IDisputeGame_$100327",typeString:"contract IDisputeGame"}},id:87937,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"resolvedAt",nodeType:"MemberAccess",referencedDeclaration:100267,src:"24184:27:135",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function () view external returns (Timestamp)"}},id:87938,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24184:29:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_userDefinedValueType$_Timestamp_$103261",typeString:"Timestamp"}},id:87939,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"raw",nodeType:"MemberAccess",referencedDeclaration:101124,src:"24184:33:135",typeDescriptions:{typeIdentifier:"t_function_internal_pure$_t_userDefinedValueType$_Timestamp_$103261_$returns$_t_uint64_$bound_to$_t_userDefinedValueType$_Timestamp_$103261_$",typeString:"function (Timestamp) pure returns (uint64)"}},id:87940,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24184:35:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint64",typeString:"uint64"}},src:"24166:53:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},nodeType:"BinaryOperation",operator:">",rightExpression:{id:87942,name:"DISPUTE_GAME_FINALITY_DELAY_SECONDS",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87154,src:"24222:35:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},src:"24166:91:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a206f75747075742070726f706f73616c20696e206169722d676170",id:87944,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"24271:44:135",typeDescriptions:{typeIdentifier:"t_stringliteral_2a9b71e2152e178b3e39fef8c45fff793ac6b1f468eb7fbc612e0d564625c10f",typeString:'literal_string "OptimismPortal: output proposal in air-gap"'},value:"OptimismPortal: output proposal in air-gap"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_2a9b71e2152e178b3e39fef8c45fff793ac6b1f468eb7fbc612e0d564625c10f",typeString:'literal_string "OptimismPortal: output proposal in air-gap"'}],id:87933,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"24145:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87945,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24145:180:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87946,nodeType:"ExpressionStatement",src:"24145:180:135"},{expression:{arguments:[{id:87951,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,nodeType:"UnaryOperation",operator:"!",prefix:!0,src:"24441:38:135",subExpression:{baseExpression:{id:87948,name:"finalizedWithdrawals",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87170,src:"24442:20:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_bool_$",typeString:"mapping(bytes32 => bool)"}},id:87950,indexExpression:{id:87949,name:"_withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87840,src:"24463:15:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"24442:37:135",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"4f7074696d69736d506f7274616c3a207769746864726177616c2068617320616c7265616479206265656e2066696e616c697a6564",id:87952,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"24481:55:135",typeDescriptions:{typeIdentifier:"t_stringliteral_2a1157cbf4171a399f26106a5211324151853c78d2faca1fb1d3acbf755aa485",typeString:'literal_string "OptimismPortal: withdrawal has already been finalized"'},value:"OptimismPortal: withdrawal has already been finalized"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_2a1157cbf4171a399f26106a5211324151853c78d2faca1fb1d3acbf755aa485",typeString:'literal_string "OptimismPortal: withdrawal has already been finalized"'}],id:87947,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"24433:7:135",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:87953,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"24433:104:135",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:87954,nodeType:"ExpressionStatement",src:"24433:104:135"}]},documentation:{id:87838,nodeType:"StructuredDocumentation",src:"20715:314:135",text:`@notice Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be + finalized, and otherwise has no side-effects. + @param _withdrawalHash Hash of the withdrawal to check. + @param _proofSubmitter The submitter of the proof for the withdrawal hash`},functionSelector:"71c1566e",implemented:!0,kind:"function",modifiers:[],name:"checkWithdrawal",nameLocation:"21043:15:135",parameters:{id:87843,nodeType:"ParameterList",parameters:[{constant:!1,id:87840,mutability:"mutable",name:"_withdrawalHash",nameLocation:"21067:15:135",nodeType:"VariableDeclaration",scope:87956,src:"21059:23:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87839,name:"bytes32",nodeType:"ElementaryTypeName",src:"21059:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"},{constant:!1,id:87842,mutability:"mutable",name:"_proofSubmitter",nameLocation:"21092:15:135",nodeType:"VariableDeclaration",scope:87956,src:"21084:23:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:87841,name:"address",nodeType:"ElementaryTypeName",src:"21084:7:135",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"21058:50:135"},returnParameters:{id:87844,nodeType:"ParameterList",parameters:[],src:"21121:0:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"public"},{id:87970,nodeType:"FunctionDefinition",src:"24767:148:135",nodes:[],body:{id:87969,nodeType:"Block",src:"24852:63:135",nodes:[],statements:[{expression:{expression:{baseExpression:{id:87964,name:"proofSubmitters",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87218,src:"24869:15:135",typeDescriptions:{typeIdentifier:"t_mapping$_t_bytes32_$_t_array$_t_address_$dyn_storage_$",typeString:"mapping(bytes32 => address[] storage ref)"}},id:87966,indexExpression:{id:87965,name:"_withdrawalHash",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:87959,src:"24885:15:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"24869:32:135",typeDescriptions:{typeIdentifier:"t_array$_t_address_$dyn_storage",typeString:"address[] storage ref"}},id:87967,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"length",nodeType:"MemberAccess",src:"24869:39:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},functionReturnParameters:87963,id:87968,nodeType:"Return",src:"24862:46:135"}]},documentation:{id:87957,nodeType:"StructuredDocumentation",src:"24550:212:135",text:`@notice External getter for the number of proof submitters for a withdrawal hash. + @param _withdrawalHash Hash of the withdrawal. + @return The number of proof submitters for the withdrawal hash.`},functionSelector:"513747ab",implemented:!0,kind:"function",modifiers:[],name:"numProofSubmitters",nameLocation:"24776:18:135",parameters:{id:87960,nodeType:"ParameterList",parameters:[{constant:!1,id:87959,mutability:"mutable",name:"_withdrawalHash",nameLocation:"24803:15:135",nodeType:"VariableDeclaration",scope:87970,src:"24795:23:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"},typeName:{id:87958,name:"bytes32",nodeType:"ElementaryTypeName",src:"24795:7:135",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},visibility:"internal"}],src:"24794:25:135"},returnParameters:{id:87963,nodeType:"ParameterList",parameters:[{constant:!1,id:87962,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:87970,src:"24843:7:135",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"},typeName:{id:87961,name:"uint256",nodeType:"ElementaryTypeName",src:"24843:7:135",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}},visibility:"internal"}],src:"24842:9:135"},scope:87971,stateMutability:"view",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[{baseName:{id:87137,name:"Initializable",nodeType:"IdentifierPath",referencedDeclaration:49678,src:"1338:13:135"},id:87138,nodeType:"InheritanceSpecifier",src:"1338:13:135"},{baseName:{id:87139,name:"ResourceMetering",nodeType:"IdentifierPath",referencedDeclaration:88581,src:"1353:16:135"},id:87140,nodeType:"InheritanceSpecifier",src:"1353:16:135"},{baseName:{id:87141,name:"ISemver",nodeType:"IdentifierPath",referencedDeclaration:109417,src:"1371:7:135"},id:87142,nodeType:"InheritanceSpecifier",src:"1371:7:135"}],canonicalName:"OptimismPortal2",contractDependencies:[],contractKind:"contract",documentation:{id:87136,nodeType:"StructuredDocumentation",src:"971:339:135",text:`@custom:proxied + @title OptimismPortal2 + @notice The OptimismPortal is a low-level contract responsible for passing messages between L1 + and L2. Messages sent directly to the OptimismPortal have no form of replayability. + Users are encouraged to use the L1CrossDomainMessenger for a higher-level interface.`},fullyImplemented:!0,linearizedBaseContracts:[87971,109417,88581,49678],name:"OptimismPortal2",nameLocation:"1319:15:135",scope:87972,usedErrors:[88238,103969,103972,103975,103987,103990,103993]}],license:"MIT"},id:135}});var $Ye=B((cla,vj0)=>{vj0.exports={abi:[{type:"constructor",inputs:[{name:"_owner",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"addressManager",inputs:[],outputs:[{name:"",type:"address",internalType:"contract AddressManager"}],stateMutability:"view"},{type:"function",name:"changeProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_newAdmin",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getProxyAdmin",inputs:[{name:"_proxy",type:"address",internalType:"address payable"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getProxyImplementation",inputs:[{name:"_proxy",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"implementationName",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"isUpgrading",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proxyType",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],stateMutability:"view"},{type:"function",name:"renounceOwnership",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddress",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_address",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAddressManager",inputs:[{name:"_address",type:"address",internalType:"contract AddressManager"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setImplementationName",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProxyType",inputs:[{name:"_address",type:"address",internalType:"address"},{name:"_type",type:"uint8",internalType:"enum ProxyAdmin.ProxyType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setUpgrading",inputs:[{name:"_upgrading",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"transferOwnership",inputs:[{name:"newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgrade",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"upgradeAndCall",inputs:[{name:"_proxy",type:"address",internalType:"address payable"},{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"event",name:"OwnershipTransferred",inputs:[{name:"previousOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}],bytecode:{object:"0x60806040523480156200001157600080fd5b5060405162001a5f38038062001a5f8339810160408190526200003491620000a1565b6200003f3362000051565b6200004a8162000051565b50620000d3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000b457600080fd5b81516001600160a01b0381168114620000cc57600080fd5b9392505050565b61197c80620000e36000396000f3fe60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:234:-:0;;;2494:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:40;719:10:60;936:18:40;:32::i;:::-;2542:26:234::1;2561:6:::0;2542:18:::1;:26::i;:::-;2494:81:::0;1241:8036;;2433:187:40;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:40;;;-1:-1:-1;;;;;;2541:17:40;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:290:357:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:357;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:357:o;:::-;1241:8036:234;;;;;;",linkReferences:{}},deployedBytecode:{object:"0x60806040526004361061010e5760003560e01c8063860f7cda116100a557806399a88ec411610074578063b794726211610059578063b794726214610329578063f2fde38b14610364578063f3b7dead1461038457600080fd5b806399a88ec4146102e95780639b2ea4bd1461030957600080fd5b8063860f7cda1461026b5780638d52d4a01461028b5780638da5cb5b146102ab5780639623609d146102d657600080fd5b80633ab76e9f116100e15780633ab76e9f146101cc5780636bd9f516146101f9578063715018a6146102365780637eff275e1461024b57600080fd5b80630652b57a1461011357806307c8f7b014610135578063204e1c7a14610155578063238181ae1461019f575b600080fd5b34801561011f57600080fd5b5061013361012e3660046111f9565b6103a4565b005b34801561014157600080fd5b50610133610150366004611216565b6103f3565b34801561016157600080fd5b506101756101703660046111f9565b610445565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101ab57600080fd5b506101bf6101ba3660046111f9565b61066b565b60405161019691906112ae565b3480156101d857600080fd5b506003546101759073ffffffffffffffffffffffffffffffffffffffff1681565b34801561020557600080fd5b506102296102143660046111f9565b60016020526000908152604090205460ff1681565b60405161019691906112f0565b34801561024257600080fd5b50610133610705565b34801561025757600080fd5b50610133610266366004611331565b610719565b34801561027757600080fd5b5061013361028636600461148c565b6108cc565b34801561029757600080fd5b506101336102a63660046114dc565b610903565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610175565b6101336102e436600461150e565b610977565b3480156102f557600080fd5b50610133610304366004611331565b610b8e565b34801561031557600080fd5b50610133610324366004611584565b610e1e565b34801561033557600080fd5b5060035474010000000000000000000000000000000000000000900460ff166040519015158152602001610196565b34801561037057600080fd5b5061013361037f3660046111f9565b610eb4565b34801561039057600080fd5b5061017561039f3660046111f9565b610f6b565b6103ac6110e1565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fb6110e1565b6003805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610481576104816112c1565b036104fc578273ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f591906115cb565b9392505050565b6001816002811115610510576105106112c1565b03610560578273ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6002816002811115610574576105746112c1565b036105fe5760035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600260205260409081902090517fbf40fac1000000000000000000000000000000000000000000000000000000008152919092169163bf40fac1916105e19190600401611635565b602060405180830381865afa1580156104d1573d6000803e3d6000fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065000060448201526064015b60405180910390fd5b50919050565b60026020526000908152604090208054610684906115e8565b80601f01602080910402602001604051908101604052809291908181526020018280546106b0906115e8565b80156106fd5780601f106106d2576101008083540402835291602001916106fd565b820191906000526020600020905b8154815290600101906020018083116106e057829003601f168201915b505050505081565b61070d6110e1565b6107176000611162565b565b6107216110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff169081600281111561075d5761075d6112c1565b036107e9576040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690638f283970906024015b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b50505050505050565b60018160028111156107fd576107fd6112c1565b03610856576040517f13af403500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906313af4035906024016107b2565b600281600281111561086a5761086a6112c1565b036105fe576003546040517ff2fde38b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301529091169063f2fde38b906024016107b2565b505050565b6108d46110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090206108c78282611724565b61090b6110e1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600160208190526040909120805483927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600281111561096e5761096e6112c1565b02179055505050565b61097f6110e1565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081205460ff16908160028111156109bb576109bb6112c1565b03610a81576040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851690634f1ef286903490610a16908790879060040161183e565b60006040518083038185885af1158015610a34573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610a7b9190810190611875565b50610b88565b610a8b8484610b8e565b60008473ffffffffffffffffffffffffffffffffffffffff163484604051610ab391906118ec565b60006040518083038185875af1925050503d8060008114610af0576040519150601f19603f3d011682016040523d82523d6000602084013e610af5565b606091505b5050905080610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722060448201527f75706772616465206661696c6564000000000000000000000000000000000000606482015260840161065c565b505b50505050565b610b966110e1565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205460ff1690816002811115610bd257610bd26112c1565b03610c2b576040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152841690633659cfe6906024016107b2565b6001816002811115610c3f57610c3f6112c1565b03610cbe576040517f9b0b0fda0000000000000000000000000000000000000000000000000000000081527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152841690639b0b0fda906044016107b2565b6002816002811115610cd257610cd26112c1565b03610e165773ffffffffffffffffffffffffffffffffffffffff831660009081526002602052604081208054610d07906115e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906115e8565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b50506003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815294955073ffffffffffffffffffffffffffffffffffffffff1693639b2ea4bd9350610dde92508591508790600401611908565b600060405180830381600087803b158015610df857600080fd5b505af1158015610e0c573d6000803e3d6000fd5b5050505050505050565b6108c7611940565b610e266110e1565b6003546040517f9b2ea4bd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b2ea4bd90610e7e9085908590600401611908565b600060405180830381600087803b158015610e9857600080fd5b505af1158015610eac573d6000803e3d6000fd5b505050505050565b610ebc6110e1565b73ffffffffffffffffffffffffffffffffffffffff8116610f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161065c565b610f6881611162565b50565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205460ff1681816002811115610fa757610fa76112c1565b03610ff7578273ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600181600281111561100b5761100b6112c1565b0361105b578273ffffffffffffffffffffffffffffffffffffffff1663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b600281600281111561106f5761106f6112c1565b036105fe57600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff81168114610f6857600080fd5b60006020828403121561120b57600080fd5b81356104f5816111d7565b60006020828403121561122857600080fd5b813580151581146104f557600080fd5b60005b8381101561125357818101518382015260200161123b565b83811115610b885750506000910152565b6000815180845261127c816020860160208601611238565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104f56020830184611264565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061132b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6000806040838503121561134457600080fd5b823561134f816111d7565b9150602083013561135f816111d7565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156113e0576113e061136a565b604052919050565b600067ffffffffffffffff8211156114025761140261136a565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600061144161143c846113e8565b611399565b905082815283838301111561145557600080fd5b828260208301376000602084830101529392505050565b600082601f83011261147d57600080fd5b6104f58383356020850161142e565b6000806040838503121561149f57600080fd5b82356114aa816111d7565b9150602083013567ffffffffffffffff8111156114c657600080fd5b6114d28582860161146c565b9150509250929050565b600080604083850312156114ef57600080fd5b82356114fa816111d7565b915060208301356003811061135f57600080fd5b60008060006060848603121561152357600080fd5b833561152e816111d7565b9250602084013561153e816111d7565b9150604084013567ffffffffffffffff81111561155a57600080fd5b8401601f8101861361156b57600080fd5b61157a8682356020840161142e565b9150509250925092565b6000806040838503121561159757600080fd5b823567ffffffffffffffff8111156115ae57600080fd5b6115ba8582860161146c565b925050602083013561135f816111d7565b6000602082840312156115dd57600080fd5b81516104f5816111d7565b600181811c908216806115fc57607f821691505b602082108103610665577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000602080835260008454611649816115e8565b8084870152604060018084166000811461166a57600181146116a2576116d0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a010195506116d0565b896000528660002060005b858110156116c85781548b82018601529083019088016116ad565b8a0184019650505b509398975050505050505050565b601f8211156108c757600081815260208120601f850160051c810160208610156117055750805b601f850160051c820191505b81811015610eac57828155600101611711565b815167ffffffffffffffff81111561173e5761173e61136a565b6117528161174c84546115e8565b846116de565b602080601f8311600181146117a5576000841561176f5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555610eac565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156117f2578886015182559484019460019091019084016117d3565b508582101561182e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600061186d6040830184611264565b949350505050565b60006020828403121561188757600080fd5b815167ffffffffffffffff81111561189e57600080fd5b8201601f810184136118af57600080fd5b80516118bd61143c826113e8565b8181528560208385010111156118d257600080fd5b6118e3826020830160208601611238565b95945050505050565b600082516118fe818460208701611238565b9190910192915050565b60408152600061191b6040830185611264565b905073ffffffffffffffffffffffffffffffffffffffff831660208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea164736f6c634300080f000a",sourceMap:"1241:8036:234:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3571:113;;;;;;;;;;-1:-1:-1;3571:113:234;;;;;:::i;:::-;;:::i;:::-;;4430:97;;;;;;;;;;-1:-1:-1;4430:97:234;;;;;:::i;:::-;;:::i;5236:569::-;;;;;;;;;;-1:-1:-1;5236:569:234;;;;;:::i;:::-;;:::i;:::-;;;1204:42:357;1192:55;;;1174:74;;1162:2;1147:18;5236:569:234;;;;;;;;2087:52;;;;;;;;;;-1:-1:-1;2087:52:234;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2273:36::-;;;;;;;;;;-1:-1:-1;2273:36:234;;;;;;;;1760:46;;;;;;;;;;-1:-1:-1;1760:46:234;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;1831:101:40:-;;;;;;;;;;;;;:::i;6689:531:234:-;;;;;;;;;;-1:-1:-1;6689:531:234;;;;;:::i;:::-;;:::i;3219:142::-;;;;;;;;;;-1:-1:-1;3219:142:234;;;;;:::i;:::-;;:::i;2796:120::-;;;;;;;;;;-1:-1:-1;2796:120:234;;;;;:::i;:::-;;:::i;1201:85:40:-;;;;;;;;;;-1:-1:-1;1247:7:40;1273:6;;;1201:85;;8644:631:234;;;;;;:::i;:::-;;:::i;7423:816::-;;;;;;;;;;-1:-1:-1;7423:816:234;;;;;:::i;:::-;;:::i;4126:137::-;;;;;;;;;;-1:-1:-1;4126:137:234;;;;;:::i;:::-;;:::i;4941:85::-;;;;;;;;;;-1:-1:-1;5010:9:234;;;;;;;4941:85;;7028:14:357;;7021:22;7003:41;;6991:2;6976:18;4941:85:234;6863:187:357;2081:198:40;;;;;;;;;;-1:-1:-1;2081:198:40;;;;;:::i;:::-;;:::i;5988:519:234:-;;;;;;;;;;-1:-1:-1;5988:519:234;;;;;:::i;:::-;;:::i;3571:113::-;1094:13:40;:11;:13::i;:::-;3652:14:234::1;:25:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3571:113::o;4430:97::-;1094:13:40;:11;:13::i;:::-;4498:9:234::1;:22:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;4430:97::o;5236:569::-;5344:17;;;5307:7;5344:17;;;:9;:17;;;;;;;;5307:7;5375:5;:26;;;;;;;;:::i;:::-;;5371:428;;5444:6;5424:42;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:51;5236:569;-1:-1:-1;;;5236:569:234:o;5371:428::-;5498:20;5489:5;:29;;;;;;;;:::i;:::-;;5485:314;;5566:6;5541:50;;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5485:314;5623:18;5614:5;:27;;;;;;;;:::i;:::-;;5610:189;;5664:14;;;5690:26;;;5664:14;5690:26;;;:18;:26;;;;;;;5664:53;;;;;:14;;;;;:25;;:53;;5690:26;5664:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5610:189;5748:40;;;;;9399:2:357;5748:40:234;;;9381:21:357;9438:2;9418:18;;;9411:30;9477:32;9457:18;;;9450:60;9527:18;;5748:40:234;;;;;;;;5610:189;5316:489;5236:569;;;:::o;2087:52::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1831:101:40:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6689:531:234:-;1094:13:40;:11;:13::i;:::-;6805:17:234::1;::::0;::::1;6787:15;6805:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;6836:5:::1;:26;;;;;;;;:::i;:::-;::::0;6832:382:::1;;6878:36;::::0;;;;:25:::1;1192:55:357::0;;;6878:36:234::1;::::0;::::1;1174:74:357::0;6878:25:234;::::1;::::0;::::1;::::0;1147:18:357;;6878:36:234::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6777:443;6689:531:::0;;:::o;6832:382::-:1;6944:20;6935:5;:29;;;;;;;;:::i;:::-;::::0;6931:283:::1;;6980:45;::::0;;;;:34:::1;1192:55:357::0;;;6980:45:234::1;::::0;::::1;1174:74:357::0;6980:34:234;::::1;::::0;::::1;::::0;1147:18:357;;6980:45:234::1;1028:226:357::0;6931:283:234::1;7055:18;7046:5;:27;;;;;;;;:::i;:::-;::::0;7042:172:::1;;7089:14;::::0;:43:::1;::::0;;;;:14:::1;1192:55:357::0;;;7089:43:234::1;::::0;::::1;1174:74:357::0;7089:14:234;;::::1;::::0;:32:::1;::::0;1147:18:357;;7089:43:234::1;1028:226:357::0;7042:172:234::1;6777:443;6689:531:::0;;:::o;3219:142::-;1094:13:40;:11;:13::i;:::-;3318:28:234::1;::::0;::::1;;::::0;;;:18:::1;:28;::::0;;;;:36:::1;3349:5:::0;3318:28;:36:::1;:::i;2796:120::-:0;1094:13:40;:11;:13::i;:::-;2882:19:234::1;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;:27;;2904:5;;2882:27;;;::::1;::::0;2904:5;2882:27:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;2796:120:::0;;:::o;8644:631::-;1094:13:40;:11;:13::i;:::-;8850:17:234::1;::::0;::::1;8832:15;8850:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;8881:5:::1;:26;;;;;;;;:::i;:::-;::::0;8877:392:::1;;8923:74;::::0;;;;:30:::1;::::0;::::1;::::0;::::1;::::0;8962:9:::1;::::0;8923:74:::1;::::0;8974:15;;8991:5;;8923:74:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;;8877:392;;;9076:32;9084:6;9092:15;9076:7;:32::i;:::-;9123:12;9140:6;:11;;9160:9;9172:5;9140:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9122:56;;;9200:7;9192:66;;;::::0;::::1;::::0;;13277:2:357;9192:66:234::1;::::0;::::1;13259:21:357::0;13316:2;13296:18;;;13289:30;13355:34;13335:18;;;13328:62;13426:16;13406:18;;;13399:44;13460:19;;9192:66:234::1;13075:410:357::0;9192:66:234::1;9014:255;8877:392;8822:453;8644:631:::0;;;:::o;7423:816::-;1094:13:40;:11;:13::i;:::-;7534:17:234::1;::::0;::::1;7516:15;7534:17:::0;;;:9:::1;:17;::::0;;;;;::::1;;::::0;7565:5:::1;:26;;;;;;;;:::i;:::-;::::0;7561:672:::1;;7607:40;::::0;;;;:23:::1;1192:55:357::0;;;7607:40:234::1;::::0;::::1;1174:74:357::0;7607:23:234;::::1;::::0;::::1;::::0;1147:18:357;;7607:40:234::1;1028:226:357::0;7561:672:234::1;7677:20;7668:5;:29;;;;;;;;:::i;:::-;::::0;7664:569:::1;;7713:150;::::0;;;;1614:66:192::1;7713:150:234;::::0;::::1;13664:25:357::0;7713:36:234::1;7815:33:::0;;::::1;13705:18:357::0;;;13698:34;7713:36:234;::::1;::::0;::::1;::::0;13637:18:357;;7713:150:234::1;13490:248:357::0;7664:569:234::1;7893:18;7884:5;:27;;;;;;;;:::i;:::-;::::0;7880:353:::1;;7948:26;::::0;::::1;7927:18;7948:26:::0;;;:18:::1;:26;::::0;;;;7927:47;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;7988:14:234::1;::::0;:48:::1;::::0;;;;7927:47;;-1:-1:-1;7988:14:234::1;;::::0;:25:::1;::::0;-1:-1:-1;7988:48:234::1;::::0;-1:-1:-1;7927:47:234;;-1:-1:-1;8020:15:234;;7988:48:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7913:134;6777:443;6689:531:::0;;:::o;7880:353::-:1;8209:13;;:::i;4126:137::-:0;1094:13:40;:11;:13::i;:::-;4214:14:234::1;::::0;:42:::1;::::0;;;;:14:::1;::::0;;::::1;::::0;:25:::1;::::0;:42:::1;::::0;4240:5;;4247:8;;4214:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4126:137:::0;;:::o;2081:198:40:-;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;::::1;::::0;;14479:2:357;2161:73:40::1;::::0;::::1;14461:21:357::0;14518:2;14498:18;;;14491:30;14557:34;14537:18;;;14530:62;14628:8;14608:18;;;14601:36;14654:19;;2161:73:40::1;14277:402:357::0;2161:73:40::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;5988:519:234:-;6095:17;;;6058:7;6095:17;;;:9;:17;;;;;;;;6058:7;6126:5;:26;;;;;;;;:::i;:::-;;6122:379;;6195:6;6175:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6122:379;6240:20;6231:5;:29;;;;;;;;:::i;:::-;;6227:274;;6308:6;6283:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6227:274;6356:18;6347:5;:27;;;;;;;;:::i;:::-;;6343:158;;6397:14;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:130:40;1247:7;1273:6;1422:23;1273:6;719:10:60;1422:23:40;1414:68;;;;;;;14886:2:357;1414:68:40;;;14868:21:357;;;14905:18;;;14898:30;14964:34;14944:18;;;14937:62;15016:18;;1414:68:40;14684:356:357;2433:187:40;2506:16;2525:6;;;2541:17;;;;;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;14:170:357:-;116:42;109:5;105:54;98:5;95:65;85:93;;174:1;171;164:12;189:288;273:6;326:2;314:9;305:7;301:23;297:32;294:52;;;342:1;339;332:12;294:52;381:9;368:23;400:47;441:5;400:47;:::i;482:273::-;538:6;591:2;579:9;570:7;566:23;562:32;559:52;;;607:1;604;597:12;559:52;646:9;633:23;699:5;692:13;685:21;678:5;675:32;665:60;;721:1;718;711:12;1259:258;1331:1;1341:113;1355:6;1352:1;1349:13;1341:113;;;1431:11;;;1425:18;1412:11;;;1405:39;1377:2;1370:10;1341:113;;;1472:6;1469:1;1466:13;1463:48;;;-1:-1:-1;;1507:1:357;1489:16;;1482:27;1259:258::o;1522:317::-;1564:3;1602:5;1596:12;1629:6;1624:3;1617:19;1645:63;1701:6;1694:4;1689:3;1685:14;1678:4;1671:5;1667:16;1645:63;:::i;:::-;1753:2;1741:15;1758:66;1737:88;1728:98;;;;1828:4;1724:109;;1522:317;-1:-1:-1;;1522:317:357:o;1844:220::-;1993:2;1982:9;1975:21;1956:4;2013:45;2054:2;2043:9;2039:18;2031:6;2013:45;:::i;2325:184::-;2377:77;2374:1;2367:88;2474:4;2471:1;2464:15;2498:4;2495:1;2488:15;2514:401;2662:2;2647:18;;2695:1;2684:13;;2674:201;;2731:77;2728:1;2721:88;2832:4;2829:1;2822:15;2860:4;2857:1;2850:15;2674:201;2884:25;;;2514:401;:::o;2920:428::-;2996:6;3004;3057:2;3045:9;3036:7;3032:23;3028:32;3025:52;;;3073:1;3070;3063:12;3025:52;3112:9;3099:23;3131:47;3172:5;3131:47;:::i;:::-;3197:5;-1:-1:-1;3254:2:357;3239:18;;3226:32;3267:49;3226:32;3267:49;:::i;:::-;3335:7;3325:17;;;2920:428;;;;;:::o;3353:184::-;3405:77;3402:1;3395:88;3502:4;3499:1;3492:15;3526:4;3523:1;3516:15;3542:334;3613:2;3607:9;3669:2;3659:13;;3674:66;3655:86;3643:99;;3772:18;3757:34;;3793:22;;;3754:62;3751:88;;;3819:18;;:::i;:::-;3855:2;3848:22;3542:334;;-1:-1:-1;3542:334:357:o;3881:246::-;3930:4;3963:18;3955:6;3952:30;3949:56;;;3985:18;;:::i;:::-;-1:-1:-1;4042:2:357;4030:15;4047:66;4026:88;4116:4;4022:99;;3881:246::o;4132:338::-;4197:5;4226:53;4242:36;4271:6;4242:36;:::i;:::-;4226:53;:::i;:::-;4217:62;;4302:6;4295:5;4288:21;4342:3;4333:6;4328:3;4324:16;4321:25;4318:45;;;4359:1;4356;4349:12;4318:45;4408:6;4403:3;4396:4;4389:5;4385:16;4372:43;4462:1;4455:4;4446:6;4439:5;4435:18;4431:29;4424:40;4132:338;;;;;:::o;4475:222::-;4518:5;4571:3;4564:4;4556:6;4552:17;4548:27;4538:55;;4589:1;4586;4579:12;4538:55;4611:80;4687:3;4678:6;4665:20;4658:4;4650:6;4646:17;4611:80;:::i;4702:473::-;4780:6;4788;4841:2;4829:9;4820:7;4816:23;4812:32;4809:52;;;4857:1;4854;4847:12;4809:52;4896:9;4883:23;4915:47;4956:5;4915:47;:::i;:::-;4981:5;-1:-1:-1;5037:2:357;5022:18;;5009:32;5064:18;5053:30;;5050:50;;;5096:1;5093;5086:12;5050:50;5119;5161:7;5152:6;5141:9;5137:22;5119:50;:::i;:::-;5109:60;;;4702:473;;;;;:::o;5180:429::-;5264:6;5272;5325:2;5313:9;5304:7;5300:23;5296:32;5293:52;;;5341:1;5338;5331:12;5293:52;5380:9;5367:23;5399:47;5440:5;5399:47;:::i;:::-;5465:5;-1:-1:-1;5522:2:357;5507:18;;5494:32;5557:1;5545:14;;5535:42;;5573:1;5570;5563:12;5614:766;5708:6;5716;5724;5777:2;5765:9;5756:7;5752:23;5748:32;5745:52;;;5793:1;5790;5783:12;5745:52;5832:9;5819:23;5851:47;5892:5;5851:47;:::i;:::-;5917:5;-1:-1:-1;5974:2:357;5959:18;;5946:32;5987:49;5946:32;5987:49;:::i;:::-;6055:7;-1:-1:-1;6113:2:357;6098:18;;6085:32;6140:18;6129:30;;6126:50;;;6172:1;6169;6162:12;6126:50;6195:22;;6248:4;6240:13;;6236:27;-1:-1:-1;6226:55:357;;6277:1;6274;6267:12;6226:55;6300:74;6366:7;6361:2;6348:16;6343:2;6339;6335:11;6300:74;:::i;:::-;6290:84;;;5614:766;;;;;:::o;6385:473::-;6463:6;6471;6524:2;6512:9;6503:7;6499:23;6495:32;6492:52;;;6540:1;6537;6530:12;6492:52;6580:9;6567:23;6613:18;6605:6;6602:30;6599:50;;;6645:1;6642;6635:12;6599:50;6668;6710:7;6701:6;6690:9;6686:22;6668:50;:::i;:::-;6658:60;;;6768:2;6757:9;6753:18;6740:32;6781:47;6822:5;6781:47;:::i;7331:267::-;7401:6;7454:2;7442:9;7433:7;7429:23;7425:32;7422:52;;;7470:1;7467;7460:12;7422:52;7502:9;7496:16;7521:47;7562:5;7521:47;:::i;7603:437::-;7682:1;7678:12;;;;7725;;;7746:61;;7800:4;7792:6;7788:17;7778:27;;7746:61;7853:2;7845:6;7842:14;7822:18;7819:38;7816:218;;7890:77;7887:1;7880:88;7991:4;7988:1;7981:15;8019:4;8016:1;8009:15;8171:1021;8280:4;8309:2;8338;8327:9;8320:21;8361:1;8394:6;8388:13;8424:36;8450:9;8424:36;:::i;:::-;8496:6;8491:2;8480:9;8476:18;8469:34;8522:2;8543:1;8575:2;8564:9;8560:18;8592:1;8587:216;;;;8817:1;8812:354;;;;8553:613;;8587:216;8650:66;8639:9;8635:82;8630:2;8619:9;8615:18;8608:110;8790:2;8778:6;8771:14;8764:22;8761:1;8757:30;8746:9;8742:46;8738:55;8731:62;;8587:216;;8812:354;8843:6;8840:1;8833:17;8891:2;8888:1;8878:16;8916:1;8930:180;8944:6;8941:1;8938:13;8930:180;;;9037:14;;9013:17;;;9009:26;;9002:50;9080:16;;;;8959:10;;8930:180;;;9134:17;;9130:26;;;-1:-1:-1;;8553:613:357;-1:-1:-1;9183:3:357;;8171:1021;-1:-1:-1;;;;;;;;8171:1021:357:o;9556:545::-;9658:2;9653:3;9650:11;9647:448;;;9694:1;9719:5;9715:2;9708:17;9764:4;9760:2;9750:19;9834:2;9822:10;9818:19;9815:1;9811:27;9805:4;9801:38;9870:4;9858:10;9855:20;9852:47;;;-1:-1:-1;9893:4:357;9852:47;9948:2;9943:3;9939:12;9936:1;9932:20;9926:4;9922:31;9912:41;;10003:82;10021:2;10014:5;10011:13;10003:82;;;10066:17;;;10047:1;10036:13;10003:82;;10337:1471;10463:3;10457:10;10490:18;10482:6;10479:30;10476:56;;;10512:18;;:::i;:::-;10541:97;10631:6;10591:38;10623:4;10617:11;10591:38;:::i;:::-;10585:4;10541:97;:::i;:::-;10693:4;;10757:2;10746:14;;10774:1;10769:782;;;;11595:1;11612:6;11609:89;;;-1:-1:-1;11664:19:357;;;11658:26;11609:89;10243:66;10234:1;10230:11;;;10226:84;10222:89;10212:100;10318:1;10314:11;;;10209:117;11711:81;;10739:1063;;10769:782;8118:1;8111:14;;;8155:4;8142:18;;10817:66;10805:79;;;10982:236;10996:7;10993:1;10990:14;10982:236;;;11085:19;;;11079:26;11064:42;;11177:27;;;;11145:1;11133:14;;;;11012:19;;10982:236;;;10986:3;11246:6;11237:7;11234:19;11231:261;;;11307:19;;;11301:26;11408:66;11390:1;11386:14;;;11402:3;11382:24;11378:97;11374:102;11359:118;11344:134;;11231:261;-1:-1:-1;;;;;11538:1:357;11522:14;;;11518:22;11505:36;;-1:-1:-1;10337:1471:357:o;11813:338::-;12000:42;11992:6;11988:55;11977:9;11970:74;12080:2;12075;12064:9;12060:18;12053:30;11951:4;12100:45;12141:2;12130:9;12126:18;12118:6;12100:45;:::i;:::-;12092:53;11813:338;-1:-1:-1;;;;11813:338:357:o;12156:635::-;12235:6;12288:2;12276:9;12267:7;12263:23;12259:32;12256:52;;;12304:1;12301;12294:12;12256:52;12337:9;12331:16;12370:18;12362:6;12359:30;12356:50;;;12402:1;12399;12392:12;12356:50;12425:22;;12478:4;12470:13;;12466:27;-1:-1:-1;12456:55:357;;12507:1;12504;12497:12;12456:55;12536:2;12530:9;12561:49;12577:32;12606:2;12577:32;:::i;12561:49::-;12633:2;12626:5;12619:17;12673:7;12668:2;12663;12659;12655:11;12651:20;12648:33;12645:53;;;12694:1;12691;12684:12;12645:53;12707:54;12758:2;12753;12746:5;12742:14;12737:2;12733;12729:11;12707:54;:::i;:::-;12780:5;12156:635;-1:-1:-1;;;;;12156:635:357:o;12796:274::-;12925:3;12963:6;12957:13;12979:53;13025:6;13020:3;13013:4;13005:6;13001:17;12979:53;:::i;:::-;13048:16;;;;;12796:274;-1:-1:-1;;12796:274:357:o;13743:340::-;13920:2;13909:9;13902:21;13883:4;13940:45;13981:2;13970:9;13966:18;13958:6;13940:45;:::i;:::-;13932:53;;14033:42;14025:6;14021:55;14016:2;14005:9;14001:18;13994:83;13743:340;;;;;:::o;14088:184::-;14140:77;14137:1;14130:88;14237:4;14234:1;14227:15;14261:4;14258:1;14251:15",linkReferences:{}},methodIdentifiers:{"addressManager()":"3ab76e9f","changeProxyAdmin(address,address)":"7eff275e","getProxyAdmin(address)":"f3b7dead","getProxyImplementation(address)":"204e1c7a","implementationName(address)":"238181ae","isUpgrading()":"b7947262","owner()":"8da5cb5b","proxyType(address)":"6bd9f516","renounceOwnership()":"715018a6","setAddress(string,address)":"9b2ea4bd","setAddressManager(address)":"0652b57a","setImplementationName(address,string)":"860f7cda","setProxyType(address,uint8)":"8d52d4a0","setUpgrading(bool)":"07c8f7b0","transferOwnership(address)":"f2fde38b","upgrade(address,address)":"99a88ec4","upgradeAndCall(address,address,bytes)":"9623609d"},rawMetadata:'{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"addressManager","outputs":[{"internalType":"contract AddressManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeProxyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"}],"name":"getProxyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"getProxyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"implementationName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgrading","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyType","outputs":[{"internalType":"enum ProxyAdmin.ProxyType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract AddressManager","name":"_address","type":"address"}],"name":"setAddressManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_name","type":"string"}],"name":"setImplementationName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"enum ProxyAdmin.ProxyType","name":"_type","type":"uint8"}],"name":"setProxyType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_upgrading","type":"bool"}],"name":"setUpgrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_proxy","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"kind":"dev","methods":{"changeProxyAdmin(address,address)":{"params":{"_newAdmin":"Address of the new proxy admin.","_proxy":"Address of the proxy to update."}},"constructor":{"params":{"_owner":"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{"params":{"_proxy":"Address of the proxy to get the admin of."},"returns":{"_0":"Address of the admin of the proxy."}},"getProxyImplementation(address)":{"params":{"_proxy":"Address of the proxy to get the implementation of."},"returns":{"_0":"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.","returns":{"_0":"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don\'t currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.","params":{"_address":"Address to attach to the given name.","_name":"Name to set within the AddressManager."}},"setAddressManager(address)":{"params":{"_address":"Address of the AddressManager."}},"setImplementationName(address,string)":{"params":{"_address":"Address of the ResolvedDelegateProxy.","_name":"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{"params":{"_address":"Address of the proxy.","_type":"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.","params":{"_upgrading":"Whether or not the system is upgrading."}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{"params":{"_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{"params":{"_data":"Data to trigger the new implementation with.","_implementation":"Address of the new implementation address.","_proxy":"Address of the proxy to upgrade."}}},"title":"ProxyAdmin","version":1},"userdoc":{"kind":"user","methods":{"addressManager()":{"notice":"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{"notice":"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{"notice":"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{"notice":"Returns the implementation of the given proxy address."},"implementationName(address)":{"notice":"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{"notice":"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{"notice":"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{"notice":"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{"notice":"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{"notice":"Changes a proxy\'s implementation contract."},"upgradeAndCall(address,address,bytes)":{"notice":"Changes a proxy\'s implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},"notice":"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past.","version":1}},"settings":{"compilationTarget":{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":999999},"remappings":[":@lib-keccak/=lib/lib-keccak/contracts/lib/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@rari-capital/solmate/=lib/solmate/",":@solady-test/=lib/lib-keccak/lib/solady/test/",":@solady/=lib/solady/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":forge-std/=lib/forge-std/src/",":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/",":lib-keccak/=lib/lib-keccak/contracts/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":safe-contracts/=lib/safe-contracts/contracts/",":solady/=lib/solady/",":solmate/=lib/solmate/src/"]},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673","license":"MIT","urls":["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66","license":"MIT","urls":["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10","license":"MIT","urls":["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7","license":"MIT","urls":["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0","license":"MIT","urls":["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"]},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7","license":"MIT","urls":["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"]},"lib/solmate/src/utils/FixedPointMathLib.sol":{"keccak256":"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d","license":"MIT","urls":["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"]},"src/L1/ResourceMetering.sol":{"keccak256":"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408","license":"MIT","urls":["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"]},"src/legacy/AddressManager.sol":{"keccak256":"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19","license":"MIT","urls":["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"]},"src/legacy/L1ChugSplashProxy.sol":{"keccak256":"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23","license":"MIT","urls":["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"]},"src/libraries/Arithmetic.sol":{"keccak256":"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db","license":"MIT","urls":["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"]},"src/libraries/Burn.sol":{"keccak256":"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010","license":"MIT","urls":["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"]},"src/libraries/Constants.sol":{"keccak256":"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132","license":"MIT","urls":["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"]},"src/universal/Proxy.sol":{"keccak256":"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc","license":"MIT","urls":["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"]},"src/universal/ProxyAdmin.sol":{"keccak256":"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf","license":"MIT","urls":["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"]}},"version":1}',metadata:{compiler:{version:"0.8.15+commit.e14f2714"},language:"Solidity",output:{abi:[{inputs:[{internalType:"address",name:"_owner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{internalType:"address",name:"previousOwner",type:"address",indexed:!0},{internalType:"address",name:"newOwner",type:"address",indexed:!0}],type:"event",name:"OwnershipTransferred",anonymous:!1},{inputs:[],stateMutability:"view",type:"function",name:"addressManager",outputs:[{internalType:"contract AddressManager",name:"",type:"address"}]},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_newAdmin",type:"address"}],stateMutability:"nonpayable",type:"function",name:"changeProxyAdmin"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyAdmin",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"_proxy",type:"address"}],stateMutability:"view",type:"function",name:"getProxyImplementation",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"implementationName",outputs:[{internalType:"string",name:"",type:"string"}]},{inputs:[],stateMutability:"view",type:"function",name:"isUpgrading",outputs:[{internalType:"bool",name:"",type:"bool"}]},{inputs:[],stateMutability:"view",type:"function",name:"owner",outputs:[{internalType:"address",name:"",type:"address"}]},{inputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function",name:"proxyType",outputs:[{internalType:"enum ProxyAdmin.ProxyType",name:"",type:"uint8"}]},{inputs:[],stateMutability:"nonpayable",type:"function",name:"renounceOwnership"},{inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddress"},{inputs:[{internalType:"contract AddressManager",name:"_address",type:"address"}],stateMutability:"nonpayable",type:"function",name:"setAddressManager"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"string",name:"_name",type:"string"}],stateMutability:"nonpayable",type:"function",name:"setImplementationName"},{inputs:[{internalType:"address",name:"_address",type:"address"},{internalType:"enum ProxyAdmin.ProxyType",name:"_type",type:"uint8"}],stateMutability:"nonpayable",type:"function",name:"setProxyType"},{inputs:[{internalType:"bool",name:"_upgrading",type:"bool"}],stateMutability:"nonpayable",type:"function",name:"setUpgrading"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],stateMutability:"nonpayable",type:"function",name:"transferOwnership"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"}],stateMutability:"nonpayable",type:"function",name:"upgrade"},{inputs:[{internalType:"address payable",name:"_proxy",type:"address"},{internalType:"address",name:"_implementation",type:"address"},{internalType:"bytes",name:"_data",type:"bytes"}],stateMutability:"payable",type:"function",name:"upgradeAndCall"}],devdoc:{kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{"custom:legacy":"@notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening.",returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{"custom:legacy":"@notice Set an address in the address manager. Since only the owner of the AddressManager can directly modify addresses and the ProxyAdmin will own the AddressManager, this gives the owner of the ProxyAdmin the ability to modify addresses directly.",params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{"custom:legacy":"@notice Set the upgrading status for the Chugsplash proxy type.",params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},version:1},userdoc:{kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},version:1}},settings:{remappings:["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],optimizer:{enabled:!0,runs:999999},metadata:{bytecodeHash:"none"},compilationTarget:{"src/universal/ProxyAdmin.sol":"ProxyAdmin"},evmVersion:"london",libraries:{}},sources:{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{keccak256:"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",urls:["bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2","dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"],license:"MIT"},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{keccak256:"0x2a21b14ff90012878752f230d3ffd5c3405e5938d06c97a7d89c0a64561d0d66",urls:["bzz-raw://3313a8f9bb1f9476857c9050067b31982bf2140b83d84f3bc0cec1f62bbe947f","dweb:/ipfs/Qma17Pk8NRe7aB4UD3jjVxk7nSFaov3eQyv86hcyqkwJRV"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{keccak256:"0xd6153ce99bcdcce22b124f755e72553295be6abcd63804cfdffceb188b8bef10",urls:["bzz-raw://35c47bece3c03caaa07fab37dd2bb3413bfbca20db7bd9895024390e0a469487","dweb:/ipfs/QmPGWT2x3QHcKxqe6gRmAkdakhbaRgx3DLzcakHz5M4eXG"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{keccak256:"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",urls:["bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92","dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{keccak256:"0xd15c3e400531f00203839159b2b8e7209c5158b35618f570c695b7e47f12e9f0",urls:["bzz-raw://b600b852e0597aa69989cc263111f02097e2827edc1bdc70306303e3af5e9929","dweb:/ipfs/QmU4WfM28A1nDqghuuGeFmN3CnVrk6opWtiF65K4vhFPeC"],license:"MIT"},"lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol":{keccak256:"0xb3ebde1c8d27576db912d87c3560dab14adfb9cd001be95890ec4ba035e652e7",urls:["bzz-raw://a709421c4f5d4677db8216055d2d4dac96a613efdb08178a9f7041f0c5cef689","dweb:/ipfs/QmYs2rStvVLDnSJs8HgaMD1ABwoKKWdiVbQyNfLfFWTjTy"],license:"MIT"},"lib/solmate/src/utils/FixedPointMathLib.sol":{keccak256:"0x622fcd8a49e132df5ec7651cc6ae3aaf0cf59bdcd67a9a804a1b9e2485113b7d",urls:["bzz-raw://af77088eb606427d4c55e578984a615779c86bc30646a20f7bb27299ba390f7c","dweb:/ipfs/QmZGQdhdQDtHc7gZXWrKXgA3govc74X8U63BiWhPQK3mK8"],license:"MIT"},"src/L1/ResourceMetering.sol":{keccak256:"0xde3ac62c60f27a3f1ba06eec94f4eda45e7ec5544c6a5d6b79543a7184e44408",urls:["bzz-raw://265a2845c4ff0d9076dd0505755cf2bdf799f4fdc09ef016865a26b51f5c3409","dweb:/ipfs/QmRzSdBD8jmQf3U9u2ATRAzzuyo6c5ugz8VA5ZM4vzoGiM"],license:"MIT"},"src/legacy/AddressManager.sol":{keccak256:"0x1fcb990df6473f7fa360d5924d62d39ce2ca97d45668e3901e5405cfbe598b19",urls:["bzz-raw://9d08358b60dea54dbc32e988a1bb7ea909488063eaae3c5ae28a322f125c9b34","dweb:/ipfs/QmZPQwdjLh9gaamNAoTUmWwwbRKj3yHovBYfnTPnfuKvUt"],license:"MIT"},"src/legacy/L1ChugSplashProxy.sol":{keccak256:"0xdde5626645fa217ad3a37805c4c3012e4251de01df868aae73b986f5d03cdb23",urls:["bzz-raw://a99fd0ec440c17c826465001dc88c5185dd41dc72396254fdd3cdfcc84aeae8c","dweb:/ipfs/QmStHuecN89zBL8FH9SUK1TtkyYwfzMY2KkQaFJLHZLuyA"],license:"MIT"},"src/libraries/Arithmetic.sol":{keccak256:"0x91345e053584f82ad04d682ba821cf3ede808304f5b2a88116a894cf692c21db",urls:["bzz-raw://005e3c42d2edfca0a506cbda94d3b0104eddf20c00bd1bd25272f53f2ef74c72","dweb:/ipfs/QmdaW6Nge6NKoGvFqRpQjBpM2fXpc5y8WpZyBnDnKicdJq"],license:"MIT"},"src/libraries/Burn.sol":{keccak256:"0x90a795bcea3ef06d6d5011256c4bd63d1a4271f519246dbf1ee3e8f1c0e21010",urls:["bzz-raw://9f60c3aa77cf0c484ddda4754157cff4dc0e2eace4bea67990daff4c0612ab5f","dweb:/ipfs/QmSYGanMFve9uBC17X7hFneSFnwnJxz86Jgh6MX9BRMweb"],license:"MIT"},"src/libraries/Constants.sol":{keccak256:"0xe0aeec7d6e5d1e44a11405d3b5bfc384ea092c39bea0b763ab937a26fd427132",urls:["bzz-raw://11aa3bff9da26ca2545132ec7994866690446a5321023811c254410d9593bd9b","dweb:/ipfs/QmVxWqadxvdfkqdrhfWisDqeAthibn4HEE1P6o9aFxXLhp"],license:"MIT"},"src/universal/Proxy.sol":{keccak256:"0x4f6f02e154bbb37137bcedcc256bef1e647865c79ec694fcaf5b6968799d7ddc",urls:["bzz-raw://00df4d4c6f4813c883eb33e1ec812c953840e78237fecf09c5739389c0777223","dweb:/ipfs/QmQ1D5j7EwxBPtbQju55hKFQuruAwm8gnPHUTSXtDFjHUe"],license:"MIT"},"src/universal/ProxyAdmin.sol":{keccak256:"0xd15267cf5ed8c24d5a0f2099b8d470178d7ad729db52be16232eb143620b8dcf",urls:["bzz-raw://e9300ee0feb16fcf6c06ee541f2496eac533256bd97f79fe2128527d2f096894","dweb:/ipfs/Qme3Md8pGSnjkG94WFXUdi5UF3a47BTQgKCdGmTKcMgcRa"],license:"MIT"}},version:1},storageLayout:{storage:[{astId:49330,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"_owner",offset:0,slot:"0",type:"t_address"},{astId:110483,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"proxyType",offset:0,slot:"1",type:"t_mapping(t_address,t_enum(ProxyType)110477)"},{astId:110488,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"implementationName",offset:0,slot:"2",type:"t_mapping(t_address,t_string_storage)"},{astId:110492,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"addressManager",offset:0,slot:"3",type:"t_contract(AddressManager)102008"},{astId:110495,contract:"src/universal/ProxyAdmin.sol:ProxyAdmin",label:"upgrading",offset:20,slot:"3",type:"t_bool"}],types:{t_address:{encoding:"inplace",label:"address",numberOfBytes:"20"},t_bool:{encoding:"inplace",label:"bool",numberOfBytes:"1"},"t_contract(AddressManager)102008":{encoding:"inplace",label:"contract AddressManager",numberOfBytes:"20"},"t_enum(ProxyType)110477":{encoding:"inplace",label:"enum ProxyAdmin.ProxyType",numberOfBytes:"1"},"t_mapping(t_address,t_enum(ProxyType)110477)":{encoding:"mapping",key:"t_address",label:"mapping(address => enum ProxyAdmin.ProxyType)",numberOfBytes:"32",value:"t_enum(ProxyType)110477"},"t_mapping(t_address,t_string_storage)":{encoding:"mapping",key:"t_address",label:"mapping(address => string)",numberOfBytes:"32",value:"t_string_storage"},t_string_storage:{encoding:"bytes",label:"string",numberOfBytes:"32"}}},userdoc:{version:1,kind:"user",methods:{"addressManager()":{notice:"The address of the address manager, this is required to manage the ResolvedDelegateProxy type."},"changeProxyAdmin(address,address)":{notice:"Updates the admin of the given proxy address."},"getProxyAdmin(address)":{notice:"Returns the admin of the given proxy address."},"getProxyImplementation(address)":{notice:"Returns the implementation of the given proxy address."},"implementationName(address)":{notice:"A reverse mapping of addresses to names held in the AddressManager. This must be manually kept up to date with changes in the AddressManager for this contract to be able to work as an admin for the ResolvedDelegateProxy type."},"proxyType(address)":{notice:"A mapping of proxy types, used for backwards compatibility."},"setAddressManager(address)":{notice:"Set the address of the AddressManager. This is required to manage legacy ResolvedDelegateProxy type proxy contracts."},"setImplementationName(address,string)":{notice:"Sets the implementation name for a given address. Only required for ResolvedDelegateProxy type proxies that have an implementation name."},"setProxyType(address,uint8)":{notice:"Sets the proxy type for a given address. Only required for non-standard (legacy) proxy types."},"upgrade(address,address)":{notice:"Changes a proxy's implementation contract."},"upgradeAndCall(address,address,bytes)":{notice:"Changes a proxy's implementation contract and delegatecalls the new implementation with some given data. Useful for atomic upgrade-and-initialize calls."}},notice:"This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, based on the OpenZeppelin implementation. It has backwards compatibility logic to work with the various types of proxies that have been deployed by Optimism in the past."},devdoc:{version:1,kind:"dev",methods:{"changeProxyAdmin(address,address)":{params:{_newAdmin:"Address of the new proxy admin.",_proxy:"Address of the proxy to update."}},constructor:{params:{_owner:"Address of the initial owner of this contract."}},"getProxyAdmin(address)":{params:{_proxy:"Address of the proxy to get the admin of."},returns:{_0:"Address of the admin of the proxy."}},"getProxyImplementation(address)":{params:{_proxy:"Address of the proxy to get the implementation of."},returns:{_0:"Address of the implementation of the proxy."}},"isUpgrading()":{returns:{_0:"Whether or not there is an upgrade going on. May not actually tell you whether an upgrade is going on, since we don't currently plan to use this variable for anything other than a legacy indicator to fix a UX bug in the ChugSplash proxy."}},"owner()":{details:"Returns the address of the current owner."},"renounceOwnership()":{details:"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setAddress(string,address)":{params:{_address:"Address to attach to the given name.",_name:"Name to set within the AddressManager."}},"setAddressManager(address)":{params:{_address:"Address of the AddressManager."}},"setImplementationName(address,string)":{params:{_address:"Address of the ResolvedDelegateProxy.",_name:"Name of the implementation for the proxy."}},"setProxyType(address,uint8)":{params:{_address:"Address of the proxy.",_type:"Type of the proxy."}},"setUpgrading(bool)":{params:{_upgrading:"Whether or not the system is upgrading."}},"transferOwnership(address)":{details:"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgrade(address,address)":{params:{_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}},"upgradeAndCall(address,address,bytes)":{params:{_data:"Data to trigger the new implementation with.",_implementation:"Address of the new implementation address.",_proxy:"Address of the proxy to upgrade."}}},title:"ProxyAdmin"},ast:{absolutePath:"src/universal/ProxyAdmin.sol",id:110910,exportedSymbols:{AddressManager:[102008],Constants:[103096],IStaticERC1967Proxy:[110458],IStaticL1ChugSplashProxy:[110470],L1ChugSplashProxy:[102516],Ownable:[49435],Proxy:[110434],ProxyAdmin:[110909]},nodeType:"SourceUnit",src:"32:9246:234",nodes:[{id:110436,nodeType:"PragmaDirective",src:"32:23:234",nodes:[],literals:["solidity","0.8",".15"]},{id:110438,nodeType:"ImportDirective",src:"57:69:234",nodes:[],absolutePath:"lib/openzeppelin-contracts/contracts/access/Ownable.sol",file:"@openzeppelin/contracts/access/Ownable.sol",nameLocation:"-1:-1:-1",scope:110910,sourceUnit:49436,symbolAliases:[{foreign:{id:110437,name:"Ownable",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49435,src:"66:7:234",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:110440,nodeType:"ImportDirective",src:"127:48:234",nodes:[],absolutePath:"src/universal/Proxy.sol",file:"src/universal/Proxy.sol",nameLocation:"-1:-1:-1",scope:110910,sourceUnit:110435,symbolAliases:[{foreign:{id:110439,name:"Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110434,src:"136:5:234",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:110442,nodeType:"ImportDirective",src:"176:63:234",nodes:[],absolutePath:"src/legacy/AddressManager.sol",file:"src/legacy/AddressManager.sol",nameLocation:"-1:-1:-1",scope:110910,sourceUnit:102009,symbolAliases:[{foreign:{id:110441,name:"AddressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102008,src:"185:14:234",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:110444,nodeType:"ImportDirective",src:"240:69:234",nodes:[],absolutePath:"src/legacy/L1ChugSplashProxy.sol",file:"src/legacy/L1ChugSplashProxy.sol",nameLocation:"-1:-1:-1",scope:110910,sourceUnit:102517,symbolAliases:[{foreign:{id:110443,name:"L1ChugSplashProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102516,src:"249:17:234",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:110446,nodeType:"ImportDirective",src:"310:56:234",nodes:[],absolutePath:"src/libraries/Constants.sol",file:"src/libraries/Constants.sol",nameLocation:"-1:-1:-1",scope:110910,sourceUnit:103097,symbolAliases:[{foreign:{id:110445,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"319:9:234",typeDescriptions:{}},nameLocation:"-1:-1:-1"}],unitAlias:""},{id:110458,nodeType:"ContractDefinition",src:"483:151:234",nodes:[{id:110452,nodeType:"FunctionDefinition",src:"519:58:234",nodes:[],functionSelector:"5c60da1b",implemented:!1,kind:"function",modifiers:[],name:"implementation",nameLocation:"528:14:234",parameters:{id:110448,nodeType:"ParameterList",parameters:[],src:"542:2:234"},returnParameters:{id:110451,nodeType:"ParameterList",parameters:[{constant:!1,id:110450,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110452,src:"568:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110449,name:"address",nodeType:"ElementaryTypeName",src:"568:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"567:9:234"},scope:110458,stateMutability:"view",virtual:!1,visibility:"external"},{id:110457,nodeType:"FunctionDefinition",src:"583:49:234",nodes:[],functionSelector:"f851a440",implemented:!1,kind:"function",modifiers:[],name:"admin",nameLocation:"592:5:234",parameters:{id:110453,nodeType:"ParameterList",parameters:[],src:"597:2:234"},returnParameters:{id:110456,nodeType:"ParameterList",parameters:[{constant:!1,id:110455,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110457,src:"623:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110454,name:"address",nodeType:"ElementaryTypeName",src:"623:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"622:9:234"},scope:110458,stateMutability:"view",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[],canonicalName:"IStaticERC1967Proxy",contractDependencies:[],contractKind:"interface",documentation:{id:110447,nodeType:"StructuredDocumentation",src:"368:115:234",text:`@title IStaticERC1967Proxy + @notice IStaticERC1967Proxy is a static version of the ERC1967 proxy interface.`},fullyImplemented:!1,linearizedBaseContracts:[110458],name:"IStaticERC1967Proxy",nameLocation:"493:19:234",scope:110910,usedErrors:[]},{id:110470,nodeType:"ContractDefinition",src:"764:162:234",nodes:[{id:110464,nodeType:"FunctionDefinition",src:"805:61:234",nodes:[],functionSelector:"aaf10f42",implemented:!1,kind:"function",modifiers:[],name:"getImplementation",nameLocation:"814:17:234",parameters:{id:110460,nodeType:"ParameterList",parameters:[],src:"831:2:234"},returnParameters:{id:110463,nodeType:"ParameterList",parameters:[{constant:!1,id:110462,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110464,src:"857:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110461,name:"address",nodeType:"ElementaryTypeName",src:"857:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"856:9:234"},scope:110470,stateMutability:"view",virtual:!1,visibility:"external"},{id:110469,nodeType:"FunctionDefinition",src:"872:52:234",nodes:[],functionSelector:"893d20e8",implemented:!1,kind:"function",modifiers:[],name:"getOwner",nameLocation:"881:8:234",parameters:{id:110465,nodeType:"ParameterList",parameters:[],src:"889:2:234"},returnParameters:{id:110468,nodeType:"ParameterList",parameters:[{constant:!1,id:110467,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110469,src:"915:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110466,name:"address",nodeType:"ElementaryTypeName",src:"915:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"914:9:234"},scope:110470,stateMutability:"view",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[],canonicalName:"IStaticL1ChugSplashProxy",contractDependencies:[],contractKind:"interface",documentation:{id:110459,nodeType:"StructuredDocumentation",src:"636:128:234",text:`@title IStaticL1ChugSplashProxy + @notice IStaticL1ChugSplashProxy is a static version of the ChugSplash proxy interface.`},fullyImplemented:!1,linearizedBaseContracts:[110470],name:"IStaticL1ChugSplashProxy",nameLocation:"774:24:234",scope:110910,usedErrors:[]},{id:110909,nodeType:"ContractDefinition",src:"1241:8036:234",nodes:[{id:110477,nodeType:"EnumDefinition",src:"1602:76:234",nodes:[],canonicalName:"ProxyAdmin.ProxyType",members:[{id:110474,name:"ERC1967",nameLocation:"1627:7:234",nodeType:"EnumValue",src:"1627:7:234"},{id:110475,name:"CHUGSPLASH",nameLocation:"1644:10:234",nodeType:"EnumValue",src:"1644:10:234"},{id:110476,name:"RESOLVED",nameLocation:"1664:8:234",nodeType:"EnumValue",src:"1664:8:234"}],name:"ProxyType",nameLocation:"1607:9:234"},{id:110483,nodeType:"VariableDeclaration",src:"1760:46:234",nodes:[],constant:!1,documentation:{id:110478,nodeType:"StructuredDocumentation",src:"1684:71:234",text:"@notice A mapping of proxy types, used for backwards compatibility."},functionSelector:"6bd9f516",mutability:"mutable",name:"proxyType",nameLocation:"1797:9:234",scope:110909,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"},typeName:{id:110482,keyType:{id:110479,name:"address",nodeType:"ElementaryTypeName",src:"1768:7:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"1760:29:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"},valueType:{id:110481,nodeType:"UserDefinedTypeName",pathNode:{id:110480,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"1779:9:234"},referencedDeclaration:110477,src:"1779:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}}},visibility:"public"},{id:110488,nodeType:"VariableDeclaration",src:"2087:52:234",nodes:[],constant:!1,documentation:{id:110484,nodeType:"StructuredDocumentation",src:"1813:269:234",text:`@notice A reverse mapping of addresses to names held in the AddressManager. This must be + manually kept up to date with changes in the AddressManager for this contract + to be able to work as an admin for the ResolvedDelegateProxy type.`},functionSelector:"238181ae",mutability:"mutable",name:"implementationName",nameLocation:"2121:18:234",scope:110909,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_string_storage_$",typeString:"mapping(address => string)"},typeName:{id:110487,keyType:{id:110485,name:"address",nodeType:"ElementaryTypeName",src:"2095:7:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},nodeType:"Mapping",src:"2087:26:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_string_storage_$",typeString:"mapping(address => string)"},valueType:{id:110486,name:"string",nodeType:"ElementaryTypeName",src:"2106:6:234",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}}},visibility:"public"},{id:110492,nodeType:"VariableDeclaration",src:"2273:36:234",nodes:[],constant:!1,documentation:{id:110489,nodeType:"StructuredDocumentation",src:"2146:122:234",text:`@notice The address of the address manager, this is required to manage the + ResolvedDelegateProxy type.`},functionSelector:"3ab76e9f",mutability:"mutable",name:"addressManager",nameLocation:"2295:14:234",scope:110909,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"},typeName:{id:110491,nodeType:"UserDefinedTypeName",pathNode:{id:110490,name:"AddressManager",nodeType:"IdentifierPath",referencedDeclaration:102008,src:"2273:14:234"},referencedDeclaration:102008,src:"2273:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},visibility:"public"},{id:110495,nodeType:"VariableDeclaration",src:"2395:23:234",nodes:[],constant:!1,documentation:{id:110493,nodeType:"StructuredDocumentation",src:"2316:74:234",text:"@notice A legacy upgrading indicator used by the old Chugsplash Proxy."},mutability:"mutable",name:"upgrading",nameLocation:"2409:9:234",scope:110909,stateVariable:!0,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:110494,name:"bool",nodeType:"ElementaryTypeName",src:"2395:4:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},{id:110508,nodeType:"FunctionDefinition",src:"2494:81:234",nodes:[],body:{id:110507,nodeType:"Block",src:"2532:43:234",nodes:[],statements:[{expression:{arguments:[{id:110504,name:"_owner",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110498,src:"2561:6:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:110503,name:"_transferOwnership",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:49434,src:"2542:18:234",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_$returns$__$",typeString:"function (address)"}},id:110505,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"2542:26:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110506,nodeType:"ExpressionStatement",src:"2542:26:234"}]},documentation:{id:110496,nodeType:"StructuredDocumentation",src:"2425:64:234",text:"@param _owner Address of the initial owner of this contract."},implemented:!0,kind:"constructor",modifiers:[{arguments:[],id:110501,kind:"baseConstructorSpecifier",modifierName:{id:110500,name:"Ownable",nodeType:"IdentifierPath",referencedDeclaration:49435,src:"2522:7:234"},nodeType:"ModifierInvocation",src:"2522:9:234"}],name:"",nameLocation:"-1:-1:-1",parameters:{id:110499,nodeType:"ParameterList",parameters:[{constant:!1,id:110498,mutability:"mutable",name:"_owner",nameLocation:"2514:6:234",nodeType:"VariableDeclaration",scope:110508,src:"2506:14:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110497,name:"address",nodeType:"ElementaryTypeName",src:"2506:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"2505:16:234"},returnParameters:{id:110502,nodeType:"ParameterList",parameters:[],src:"2532:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:110526,nodeType:"FunctionDefinition",src:"2796:120:234",nodes:[],body:{id:110525,nodeType:"Block",src:"2872:44:234",nodes:[],statements:[{expression:{id:110523,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:110519,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"2882:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110521,indexExpression:{id:110520,name:"_address",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110511,src:"2892:8:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"2882:19:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:110522,name:"_type",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110514,src:"2904:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"2882:27:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},id:110524,nodeType:"ExpressionStatement",src:"2882:27:234"}]},documentation:{id:110509,nodeType:"StructuredDocumentation",src:"2581:210:234",text:`@notice Sets the proxy type for a given address. Only required for non-standard (legacy) + proxy types. + @param _address Address of the proxy. + @param _type Type of the proxy.`},functionSelector:"8d52d4a0",implemented:!0,kind:"function",modifiers:[{id:110517,kind:"modifierInvocation",modifierName:{id:110516,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"2862:9:234"},nodeType:"ModifierInvocation",src:"2862:9:234"}],name:"setProxyType",nameLocation:"2805:12:234",parameters:{id:110515,nodeType:"ParameterList",parameters:[{constant:!1,id:110511,mutability:"mutable",name:"_address",nameLocation:"2826:8:234",nodeType:"VariableDeclaration",scope:110526,src:"2818:16:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110510,name:"address",nodeType:"ElementaryTypeName",src:"2818:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:110514,mutability:"mutable",name:"_type",nameLocation:"2846:5:234",nodeType:"VariableDeclaration",scope:110526,src:"2836:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110513,nodeType:"UserDefinedTypeName",pathNode:{id:110512,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"2836:9:234"},referencedDeclaration:110477,src:"2836:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],src:"2817:35:234"},returnParameters:{id:110518,nodeType:"ParameterList",parameters:[],src:"2872:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110543,nodeType:"FunctionDefinition",src:"3219:142:234",nodes:[],body:{id:110542,nodeType:"Block",src:"3308:53:234",nodes:[],statements:[{expression:{id:110540,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{baseExpression:{id:110536,name:"implementationName",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110488,src:"3318:18:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_string_storage_$",typeString:"mapping(address => string storage ref)"}},id:110538,indexExpression:{id:110537,name:"_address",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110529,src:"3337:8:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!0,nodeType:"IndexAccess",src:"3318:28:234",typeDescriptions:{typeIdentifier:"t_string_storage",typeString:"string storage ref"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:110539,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110531,src:"3349:5:234",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},src:"3318:36:234",typeDescriptions:{typeIdentifier:"t_string_storage",typeString:"string storage ref"}},id:110541,nodeType:"ExpressionStatement",src:"3318:36:234"}]},documentation:{id:110527,nodeType:"StructuredDocumentation",src:"2922:292:234",text:`@notice Sets the implementation name for a given address. Only required for + ResolvedDelegateProxy type proxies that have an implementation name. + @param _address Address of the ResolvedDelegateProxy. + @param _name Name of the implementation for the proxy.`},functionSelector:"860f7cda",implemented:!0,kind:"function",modifiers:[{id:110534,kind:"modifierInvocation",modifierName:{id:110533,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"3298:9:234"},nodeType:"ModifierInvocation",src:"3298:9:234"}],name:"setImplementationName",nameLocation:"3228:21:234",parameters:{id:110532,nodeType:"ParameterList",parameters:[{constant:!1,id:110529,mutability:"mutable",name:"_address",nameLocation:"3258:8:234",nodeType:"VariableDeclaration",scope:110543,src:"3250:16:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110528,name:"address",nodeType:"ElementaryTypeName",src:"3250:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:110531,mutability:"mutable",name:"_name",nameLocation:"3282:5:234",nodeType:"VariableDeclaration",scope:110543,src:"3268:19:234",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:110530,name:"string",nodeType:"ElementaryTypeName",src:"3268:6:234",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"}],src:"3249:39:234"},returnParameters:{id:110535,nodeType:"ParameterList",parameters:[],src:"3308:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110557,nodeType:"FunctionDefinition",src:"3571:113:234",nodes:[],body:{id:110556,nodeType:"Block",src:"3642:42:234",nodes:[],statements:[{expression:{id:110554,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:110552,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"3652:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:110553,name:"_address",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110547,src:"3669:8:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},src:"3652:25:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110555,nodeType:"ExpressionStatement",src:"3652:25:234"}]},documentation:{id:110544,nodeType:"StructuredDocumentation",src:"3367:199:234",text:`@notice Set the address of the AddressManager. This is required to manage legacy + ResolvedDelegateProxy type proxy contracts. + @param _address Address of the AddressManager.`},functionSelector:"0652b57a",implemented:!0,kind:"function",modifiers:[{id:110550,kind:"modifierInvocation",modifierName:{id:110549,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"3632:9:234"},nodeType:"ModifierInvocation",src:"3632:9:234"}],name:"setAddressManager",nameLocation:"3580:17:234",parameters:{id:110548,nodeType:"ParameterList",parameters:[{constant:!1,id:110547,mutability:"mutable",name:"_address",nameLocation:"3613:8:234",nodeType:"VariableDeclaration",scope:110557,src:"3598:23:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"},typeName:{id:110546,nodeType:"UserDefinedTypeName",pathNode:{id:110545,name:"AddressManager",nodeType:"IdentifierPath",referencedDeclaration:102008,src:"3598:14:234"},referencedDeclaration:102008,src:"3598:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},visibility:"internal"}],src:"3597:25:234"},returnParameters:{id:110551,nodeType:"ParameterList",parameters:[],src:"3642:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110575,nodeType:"FunctionDefinition",src:"4126:137:234",nodes:[],body:{id:110574,nodeType:"Block",src:"4204:59:234",nodes:[],statements:[{expression:{arguments:[{id:110570,name:"_name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110560,src:"4240:5:234",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:110571,name:"_address",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110562,src:"4247:8:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_address",typeString:"address"}],expression:{id:110567,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"4214:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110569,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"setAddress",nodeType:"MemberAccess",referencedDeclaration:101976,src:"4214:25:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$",typeString:"function (string memory,address) external"}},id:110572,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"4214:42:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110573,nodeType:"ExpressionStatement",src:"4214:42:234"}]},documentation:{id:110558,nodeType:"StructuredDocumentation",src:"3690:431:234",text:`@custom:legacy + @notice Set an address in the address manager. Since only the owner of the AddressManager + can directly modify addresses and the ProxyAdmin will own the AddressManager, this + gives the owner of the ProxyAdmin the ability to modify addresses directly. + @param _name Name to set within the AddressManager. + @param _address Address to attach to the given name.`},functionSelector:"9b2ea4bd",implemented:!0,kind:"function",modifiers:[{id:110565,kind:"modifierInvocation",modifierName:{id:110564,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"4194:9:234"},nodeType:"ModifierInvocation",src:"4194:9:234"}],name:"setAddress",nameLocation:"4135:10:234",parameters:{id:110563,nodeType:"ParameterList",parameters:[{constant:!1,id:110560,mutability:"mutable",name:"_name",nameLocation:"4160:5:234",nodeType:"VariableDeclaration",scope:110575,src:"4146:19:234",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:110559,name:"string",nodeType:"ElementaryTypeName",src:"4146:6:234",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"},{constant:!1,id:110562,mutability:"mutable",name:"_address",nameLocation:"4175:8:234",nodeType:"VariableDeclaration",scope:110575,src:"4167:16:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110561,name:"address",nodeType:"ElementaryTypeName",src:"4167:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"4145:39:234"},returnParameters:{id:110566,nodeType:"ParameterList",parameters:[],src:"4204:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110588,nodeType:"FunctionDefinition",src:"4430:97:234",nodes:[],body:{id:110587,nodeType:"Block",src:"4488:39:234",nodes:[],statements:[{expression:{id:110585,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftHandSide:{id:110583,name:"upgrading",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110495,src:"4498:9:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},nodeType:"Assignment",operator:"=",rightHandSide:{id:110584,name:"_upgrading",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110578,src:"4510:10:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},src:"4498:22:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},id:110586,nodeType:"ExpressionStatement",src:"4498:22:234"}]},documentation:{id:110576,nodeType:"StructuredDocumentation",src:"4269:156:234",text:`@custom:legacy + @notice Set the upgrading status for the Chugsplash proxy type. + @param _upgrading Whether or not the system is upgrading.`},functionSelector:"07c8f7b0",implemented:!0,kind:"function",modifiers:[{id:110581,kind:"modifierInvocation",modifierName:{id:110580,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"4478:9:234"},nodeType:"ModifierInvocation",src:"4478:9:234"}],name:"setUpgrading",nameLocation:"4439:12:234",parameters:{id:110579,nodeType:"ParameterList",parameters:[{constant:!1,id:110578,mutability:"mutable",name:"_upgrading",nameLocation:"4457:10:234",nodeType:"VariableDeclaration",scope:110588,src:"4452:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:110577,name:"bool",nodeType:"ElementaryTypeName",src:"4452:4:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"4451:17:234"},returnParameters:{id:110582,nodeType:"ParameterList",parameters:[],src:"4488:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110597,nodeType:"FunctionDefinition",src:"4941:85:234",nodes:[],body:{id:110596,nodeType:"Block",src:"4993:33:234",nodes:[],statements:[{expression:{id:110594,name:"upgrading",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110495,src:"5010:9:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},functionReturnParameters:110593,id:110595,nodeType:"Return",src:"5003:16:234"}]},documentation:{id:110589,nodeType:"StructuredDocumentation",src:"4533:403:234",text:`@custom:legacy + @notice Legacy function used to tell ChugSplashProxy contracts if an upgrade is happening. + @return Whether or not there is an upgrade going on. May not actually tell you whether an + upgrade is going on, since we don't currently plan to use this variable for anything + other than a legacy indicator to fix a UX bug in the ChugSplash proxy.`},functionSelector:"b7947262",implemented:!0,kind:"function",modifiers:[],name:"isUpgrading",nameLocation:"4950:11:234",parameters:{id:110590,nodeType:"ParameterList",parameters:[],src:"4961:2:234"},returnParameters:{id:110593,nodeType:"ParameterList",parameters:[{constant:!1,id:110592,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110597,src:"4987:4:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:110591,name:"bool",nodeType:"ElementaryTypeName",src:"4987:4:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"}],src:"4986:6:234"},scope:110909,stateMutability:"view",virtual:!1,visibility:"external"},{id:110655,nodeType:"FunctionDefinition",src:"5236:569:234",nodes:[],body:{id:110654,nodeType:"Block",src:"5316:489:234",nodes:[],statements:[{assignments:[110607],declarations:[{constant:!1,id:110607,mutability:"mutable",name:"ptype",nameLocation:"5336:5:234",nodeType:"VariableDeclaration",scope:110654,src:"5326:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110606,nodeType:"UserDefinedTypeName",pathNode:{id:110605,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"5326:9:234"},referencedDeclaration:110477,src:"5326:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],id:110611,initialValue:{baseExpression:{id:110608,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"5344:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110610,indexExpression:{id:110609,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110600,src:"5354:6:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"5344:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"VariableDeclarationStatement",src:"5326:35:234"},{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110615,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110612,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110607,src:"5375:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110613,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"5384:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110614,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"ERC1967",nodeType:"MemberAccess",referencedDeclaration:110474,src:"5384:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"5375:26:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110626,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110623,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110607,src:"5489:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110624,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"5498:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110625,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHUGSPLASH",nodeType:"MemberAccess",referencedDeclaration:110475,src:"5498:20:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"5489:29:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110637,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110634,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110607,src:"5614:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110635,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"5623:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110636,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"RESOLVED",nodeType:"MemberAccess",referencedDeclaration:110476,src:"5623:18:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"5614:27:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:110650,nodeType:"Block",src:"5734:65:234",statements:[{expression:{arguments:[{hexValue:"50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065",id:110647,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"5755:32:234",typeDescriptions:{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'},value:"ProxyAdmin: unknown proxy type"}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'}],id:110646,name:"revert",nodeType:"Identifier",overloadedDeclarations:[-19,-19],referencedDeclaration:-19,src:"5748:6:234",typeDescriptions:{typeIdentifier:"t_function_revert_pure$_t_string_memory_ptr_$returns$__$",typeString:"function (string memory) pure"}},id:110648,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5748:40:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110649,nodeType:"ExpressionStatement",src:"5748:40:234"}]},id:110651,nodeType:"IfStatement",src:"5610:189:234",trueBody:{id:110645,nodeType:"Block",src:"5643:85:234",statements:[{expression:{arguments:[{baseExpression:{id:110640,name:"implementationName",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110488,src:"5690:18:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_string_storage_$",typeString:"mapping(address => string storage ref)"}},id:110642,indexExpression:{id:110641,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110600,src:"5709:6:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"5690:26:234",typeDescriptions:{typeIdentifier:"t_string_storage",typeString:"string storage ref"}}],expression:{argumentTypes:[{typeIdentifier:"t_string_storage",typeString:"string storage ref"}],expression:{id:110638,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"5664:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110639,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getAddress",nodeType:"MemberAccess",referencedDeclaration:101991,src:"5664:25:234",typeDescriptions:{typeIdentifier:"t_function_external_view$_t_string_memory_ptr_$returns$_t_address_$",typeString:"function (string memory) view external returns (address)"}},id:110643,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5664:53:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110604,id:110644,nodeType:"Return",src:"5657:60:234"}]}},id:110652,nodeType:"IfStatement",src:"5485:314:234",trueBody:{id:110633,nodeType:"Block",src:"5520:84:234",statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:110628,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110600,src:"5566:6:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:110627,name:"IStaticL1ChugSplashProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110470,src:"5541:24:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IStaticL1ChugSplashProxy_$110470_$",typeString:"type(contract IStaticL1ChugSplashProxy)"}},id:110629,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5541:32:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IStaticL1ChugSplashProxy_$110470",typeString:"contract IStaticL1ChugSplashProxy"}},id:110630,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getImplementation",nodeType:"MemberAccess",referencedDeclaration:110464,src:"5541:50:234",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:110631,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5541:52:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110604,id:110632,nodeType:"Return",src:"5534:59:234"}]}},id:110653,nodeType:"IfStatement",src:"5371:428:234",trueBody:{id:110622,nodeType:"Block",src:"5403:76:234",statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:110617,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110600,src:"5444:6:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:110616,name:"IStaticERC1967Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110458,src:"5424:19:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IStaticERC1967Proxy_$110458_$",typeString:"type(contract IStaticERC1967Proxy)"}},id:110618,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5424:27:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IStaticERC1967Proxy_$110458",typeString:"contract IStaticERC1967Proxy"}},id:110619,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"implementation",nodeType:"MemberAccess",referencedDeclaration:110452,src:"5424:42:234",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:110620,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"5424:44:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110604,id:110621,nodeType:"Return",src:"5417:51:234"}]}}]},documentation:{id:110598,nodeType:"StructuredDocumentation",src:"5032:199:234",text:`@notice Returns the implementation of the given proxy address. + @param _proxy Address of the proxy to get the implementation of. + @return Address of the implementation of the proxy.`},functionSelector:"204e1c7a",implemented:!0,kind:"function",modifiers:[],name:"getProxyImplementation",nameLocation:"5245:22:234",parameters:{id:110601,nodeType:"ParameterList",parameters:[{constant:!1,id:110600,mutability:"mutable",name:"_proxy",nameLocation:"5276:6:234",nodeType:"VariableDeclaration",scope:110655,src:"5268:14:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110599,name:"address",nodeType:"ElementaryTypeName",src:"5268:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5267:16:234"},returnParameters:{id:110604,nodeType:"ParameterList",parameters:[{constant:!1,id:110603,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110655,src:"5307:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110602,name:"address",nodeType:"ElementaryTypeName",src:"5307:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"5306:9:234"},scope:110909,stateMutability:"view",virtual:!1,visibility:"external"},{id:110710,nodeType:"FunctionDefinition",src:"5988:519:234",nodes:[],body:{id:110709,nodeType:"Block",src:"6067:440:234",nodes:[],statements:[{assignments:[110665],declarations:[{constant:!1,id:110665,mutability:"mutable",name:"ptype",nameLocation:"6087:5:234",nodeType:"VariableDeclaration",scope:110709,src:"6077:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110664,nodeType:"UserDefinedTypeName",pathNode:{id:110663,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"6077:9:234"},referencedDeclaration:110477,src:"6077:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],id:110669,initialValue:{baseExpression:{id:110666,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"6095:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110668,indexExpression:{id:110667,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110658,src:"6105:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"6095:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"VariableDeclarationStatement",src:"6077:35:234"},{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110673,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110670,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110665,src:"6126:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110671,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"6135:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110672,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"ERC1967",nodeType:"MemberAccess",referencedDeclaration:110474,src:"6135:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"6126:26:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110684,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110681,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110665,src:"6231:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110682,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"6240:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110683,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHUGSPLASH",nodeType:"MemberAccess",referencedDeclaration:110475,src:"6240:20:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"6231:29:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110695,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110692,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110665,src:"6347:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110693,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"6356:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110694,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"RESOLVED",nodeType:"MemberAccess",referencedDeclaration:110476,src:"6356:18:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"6347:27:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:110705,nodeType:"Block",src:"6436:65:234",statements:[{expression:{arguments:[{hexValue:"50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065",id:110702,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"6457:32:234",typeDescriptions:{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'},value:"ProxyAdmin: unknown proxy type"}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'}],id:110701,name:"revert",nodeType:"Identifier",overloadedDeclarations:[-19,-19],referencedDeclaration:-19,src:"6450:6:234",typeDescriptions:{typeIdentifier:"t_function_revert_pure$_t_string_memory_ptr_$returns$__$",typeString:"function (string memory) pure"}},id:110703,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6450:40:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110704,nodeType:"ExpressionStatement",src:"6450:40:234"}]},id:110706,nodeType:"IfStatement",src:"6343:158:234",trueBody:{id:110700,nodeType:"Block",src:"6376:54:234",statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{id:110696,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"6397:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110697,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"owner",nodeType:"MemberAccess",referencedDeclaration:49363,src:"6397:20:234",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:110698,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6397:22:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110662,id:110699,nodeType:"Return",src:"6390:29:234"}]}},id:110707,nodeType:"IfStatement",src:"6227:274:234",trueBody:{id:110691,nodeType:"Block",src:"6262:75:234",statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:110686,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110658,src:"6308:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110685,name:"IStaticL1ChugSplashProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110470,src:"6283:24:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IStaticL1ChugSplashProxy_$110470_$",typeString:"type(contract IStaticL1ChugSplashProxy)"}},id:110687,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6283:32:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IStaticL1ChugSplashProxy_$110470",typeString:"contract IStaticL1ChugSplashProxy"}},id:110688,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"getOwner",nodeType:"MemberAccess",referencedDeclaration:110469,src:"6283:41:234",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:110689,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6283:43:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110662,id:110690,nodeType:"Return",src:"6276:50:234"}]}},id:110708,nodeType:"IfStatement",src:"6122:379:234",trueBody:{id:110680,nodeType:"Block",src:"6154:67:234",statements:[{expression:{arguments:[],expression:{argumentTypes:[],expression:{arguments:[{id:110675,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110658,src:"6195:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110674,name:"IStaticERC1967Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110458,src:"6175:19:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_IStaticERC1967Proxy_$110458_$",typeString:"type(contract IStaticERC1967Proxy)"}},id:110676,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6175:27:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_IStaticERC1967Proxy_$110458",typeString:"contract IStaticERC1967Proxy"}},id:110677,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"admin",nodeType:"MemberAccess",referencedDeclaration:110457,src:"6175:33:234",typeDescriptions:{typeIdentifier:"t_function_external_view$__$returns$_t_address_$",typeString:"function () view external returns (address)"}},id:110678,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6175:35:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},functionReturnParameters:110662,id:110679,nodeType:"Return",src:"6168:42:234"}]}}]},documentation:{id:110656,nodeType:"StructuredDocumentation",src:"5811:172:234",text:`@notice Returns the admin of the given proxy address. + @param _proxy Address of the proxy to get the admin of. + @return Address of the admin of the proxy.`},functionSelector:"f3b7dead",implemented:!0,kind:"function",modifiers:[],name:"getProxyAdmin",nameLocation:"5997:13:234",parameters:{id:110659,nodeType:"ParameterList",parameters:[{constant:!1,id:110658,mutability:"mutable",name:"_proxy",nameLocation:"6027:6:234",nodeType:"VariableDeclaration",scope:110710,src:"6011:22:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"},typeName:{id:110657,name:"address",nodeType:"ElementaryTypeName",src:"6011:15:234",stateMutability:"payable",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},visibility:"internal"}],src:"6010:24:234"},returnParameters:{id:110662,nodeType:"ParameterList",parameters:[{constant:!1,id:110661,mutability:"mutable",name:"",nameLocation:"-1:-1:-1",nodeType:"VariableDeclaration",scope:110710,src:"6058:7:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110660,name:"address",nodeType:"ElementaryTypeName",src:"6058:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"6057:9:234"},scope:110909,stateMutability:"view",virtual:!1,visibility:"external"},{id:110771,nodeType:"FunctionDefinition",src:"6689:531:234",nodes:[],body:{id:110770,nodeType:"Block",src:"6777:443:234",nodes:[],statements:[{assignments:[110722],declarations:[{constant:!1,id:110722,mutability:"mutable",name:"ptype",nameLocation:"6797:5:234",nodeType:"VariableDeclaration",scope:110770,src:"6787:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110721,nodeType:"UserDefinedTypeName",pathNode:{id:110720,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"6787:9:234"},referencedDeclaration:110477,src:"6787:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],id:110726,initialValue:{baseExpression:{id:110723,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"6805:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110725,indexExpression:{id:110724,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110713,src:"6815:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"6805:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"VariableDeclarationStatement",src:"6787:35:234"},{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110730,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110727,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110722,src:"6836:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110728,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"6845:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110729,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"ERC1967",nodeType:"MemberAccess",referencedDeclaration:110474,src:"6845:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"6836:26:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110742,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110739,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110722,src:"6935:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110740,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"6944:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110741,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHUGSPLASH",nodeType:"MemberAccess",referencedDeclaration:110475,src:"6944:20:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"6935:29:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110754,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110751,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110722,src:"7046:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110752,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"7055:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110753,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"RESOLVED",nodeType:"MemberAccess",referencedDeclaration:110476,src:"7055:18:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"7046:27:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:110766,nodeType:"Block",src:"7149:65:234",statements:[{expression:{arguments:[{hexValue:"50726f787941646d696e3a20756e6b6e6f776e2070726f78792074797065",id:110763,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"7170:32:234",typeDescriptions:{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'},value:"ProxyAdmin: unknown proxy type"}],expression:{argumentTypes:[{typeIdentifier:"t_stringliteral_0d595a635c8f2d148646b25cd19d12c4c97462aeb17388cbeb2bf405cffe65f2",typeString:'literal_string "ProxyAdmin: unknown proxy type"'}],id:110762,name:"revert",nodeType:"Identifier",overloadedDeclarations:[-19,-19],referencedDeclaration:-19,src:"7163:6:234",typeDescriptions:{typeIdentifier:"t_function_revert_pure$_t_string_memory_ptr_$returns$__$",typeString:"function (string memory) pure"}},id:110764,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7163:40:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110765,nodeType:"ExpressionStatement",src:"7163:40:234"}]},id:110767,nodeType:"IfStatement",src:"7042:172:234",trueBody:{id:110761,nodeType:"Block",src:"7075:68:234",statements:[{expression:{arguments:[{id:110758,name:"_newAdmin",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110715,src:"7122:9:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{id:110755,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"7089:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110757,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"transferOwnership",nodeType:"MemberAccess",referencedDeclaration:49414,src:"7089:32:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$returns$__$",typeString:"function (address) external"}},id:110759,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7089:43:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110760,nodeType:"ExpressionStatement",src:"7089:43:234"}]}},id:110768,nodeType:"IfStatement",src:"6931:283:234",trueBody:{id:110750,nodeType:"Block",src:"6966:70:234",statements:[{expression:{arguments:[{id:110747,name:"_newAdmin",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110715,src:"7015:9:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{arguments:[{id:110744,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110713,src:"6998:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110743,name:"L1ChugSplashProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102516,src:"6980:17:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1ChugSplashProxy_$102516_$",typeString:"type(contract L1ChugSplashProxy)"}},id:110745,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6980:25:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1ChugSplashProxy_$102516",typeString:"contract L1ChugSplashProxy"}},id:110746,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"setOwner",nodeType:"MemberAccess",referencedDeclaration:102391,src:"6980:34:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$returns$__$",typeString:"function (address) external"}},id:110748,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6980:45:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110749,nodeType:"ExpressionStatement",src:"6980:45:234"}]}},id:110769,nodeType:"IfStatement",src:"6832:382:234",trueBody:{id:110738,nodeType:"Block",src:"6864:61:234",statements:[{expression:{arguments:[{id:110735,name:"_newAdmin",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110715,src:"6904:9:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{arguments:[{id:110732,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110713,src:"6884:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110731,name:"Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110434,src:"6878:5:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Proxy_$110434_$",typeString:"type(contract Proxy)"}},id:110733,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6878:13:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_Proxy_$110434",typeString:"contract Proxy"}},id:110734,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"changeAdmin",nodeType:"MemberAccess",referencedDeclaration:110312,src:"6878:25:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$returns$__$",typeString:"function (address) external"}},id:110736,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"6878:36:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110737,nodeType:"ExpressionStatement",src:"6878:36:234"}]}}]},documentation:{id:110711,nodeType:"StructuredDocumentation",src:"6513:171:234",text:`@notice Updates the admin of the given proxy address. + @param _proxy Address of the proxy to update. + @param _newAdmin Address of the new proxy admin.`},functionSelector:"7eff275e",implemented:!0,kind:"function",modifiers:[{id:110718,kind:"modifierInvocation",modifierName:{id:110717,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"6767:9:234"},nodeType:"ModifierInvocation",src:"6767:9:234"}],name:"changeProxyAdmin",nameLocation:"6698:16:234",parameters:{id:110716,nodeType:"ParameterList",parameters:[{constant:!1,id:110713,mutability:"mutable",name:"_proxy",nameLocation:"6731:6:234",nodeType:"VariableDeclaration",scope:110771,src:"6715:22:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"},typeName:{id:110712,name:"address",nodeType:"ElementaryTypeName",src:"6715:15:234",stateMutability:"payable",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},visibility:"internal"},{constant:!1,id:110715,mutability:"mutable",name:"_newAdmin",nameLocation:"6747:9:234",nodeType:"VariableDeclaration",scope:110771,src:"6739:17:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110714,name:"address",nodeType:"ElementaryTypeName",src:"6739:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"6714:43:234"},returnParameters:{id:110719,nodeType:"ParameterList",parameters:[],src:"6777:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"external"},{id:110850,nodeType:"FunctionDefinition",src:"7423:816:234",nodes:[],body:{id:110849,nodeType:"Block",src:"7506:733:234",nodes:[],statements:[{assignments:[110783],declarations:[{constant:!1,id:110783,mutability:"mutable",name:"ptype",nameLocation:"7526:5:234",nodeType:"VariableDeclaration",scope:110849,src:"7516:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110782,nodeType:"UserDefinedTypeName",pathNode:{id:110781,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"7516:9:234"},referencedDeclaration:110477,src:"7516:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],id:110787,initialValue:{baseExpression:{id:110784,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"7534:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110786,indexExpression:{id:110785,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110774,src:"7544:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"7534:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"VariableDeclarationStatement",src:"7516:35:234"},{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110791,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110788,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110783,src:"7565:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110789,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"7574:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110790,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"ERC1967",nodeType:"MemberAccess",referencedDeclaration:110474,src:"7574:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"7565:26:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110803,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110800,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110783,src:"7668:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110801,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"7677:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110802,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"CHUGSPLASH",nodeType:"MemberAccess",referencedDeclaration:110475,src:"7677:20:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"7668:29:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110826,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110823,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110783,src:"7884:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110824,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"7893:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110825,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"RESOLVED",nodeType:"MemberAccess",referencedDeclaration:110476,src:"7893:18:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"7884:27:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:110845,nodeType:"Block",src:"8053:180:234",statements:[{expression:{arguments:[{hexValue:"66616c7365",id:110842,isConstant:!1,isLValue:!1,isPure:!0,kind:"bool",lValueRequested:!1,nodeType:"Literal",src:"8216:5:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},value:"false"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"}],id:110841,name:"assert",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-3,src:"8209:6:234",typeDescriptions:{typeIdentifier:"t_function_assert_pure$_t_bool_$returns$__$",typeString:"function (bool) pure"}},id:110843,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8209:13:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110844,nodeType:"ExpressionStatement",src:"8209:13:234"}]},id:110846,nodeType:"IfStatement",src:"7880:353:234",trueBody:{id:110840,nodeType:"Block",src:"7913:134:234",statements:[{assignments:[110828],declarations:[{constant:!1,id:110828,mutability:"mutable",name:"name",nameLocation:"7941:4:234",nodeType:"VariableDeclaration",scope:110840,src:"7927:18:234",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string"},typeName:{id:110827,name:"string",nodeType:"ElementaryTypeName",src:"7927:6:234",typeDescriptions:{typeIdentifier:"t_string_storage_ptr",typeString:"string"}},visibility:"internal"}],id:110832,initialValue:{baseExpression:{id:110829,name:"implementationName",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110488,src:"7948:18:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_string_storage_$",typeString:"mapping(address => string storage ref)"}},id:110831,indexExpression:{id:110830,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110774,src:"7967:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"7948:26:234",typeDescriptions:{typeIdentifier:"t_string_storage",typeString:"string storage ref"}},nodeType:"VariableDeclarationStatement",src:"7927:47:234"},{expression:{arguments:[{id:110836,name:"name",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110828,src:"8014:4:234",typeDescriptions:{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"}},{id:110837,name:"_implementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110776,src:"8020:15:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_string_memory_ptr",typeString:"string memory"},{typeIdentifier:"t_address",typeString:"address"}],expression:{id:110833,name:"addressManager",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110492,src:"7988:14:234",typeDescriptions:{typeIdentifier:"t_contract$_AddressManager_$102008",typeString:"contract AddressManager"}},id:110835,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"setAddress",nodeType:"MemberAccess",referencedDeclaration:101976,src:"7988:25:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$",typeString:"function (string memory,address) external"}},id:110838,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7988:48:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110839,nodeType:"ExpressionStatement",src:"7988:48:234"}]}},id:110847,nodeType:"IfStatement",src:"7664:569:234",trueBody:{id:110822,nodeType:"Block",src:"7699:175:234",statements:[{expression:{arguments:[{expression:{id:110808,name:"Constants",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:103096,src:"7767:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Constants_$103096_$",typeString:"type(library Constants)"}},id:110809,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"PROXY_IMPLEMENTATION_ADDRESS",nodeType:"MemberAccess",referencedDeclaration:103062,src:"7767:38:234",typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}},{arguments:[{arguments:[{arguments:[{id:110816,name:"_implementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110776,src:"7831:15:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],id:110815,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7823:7:234",typeDescriptions:{typeIdentifier:"t_type$_t_uint160_$",typeString:"type(uint160)"},typeName:{id:110814,name:"uint160",nodeType:"ElementaryTypeName",src:"7823:7:234",typeDescriptions:{}}},id:110817,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7823:24:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint160",typeString:"uint160"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint160",typeString:"uint160"}],id:110813,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7815:7:234",typeDescriptions:{typeIdentifier:"t_type$_t_uint256_$",typeString:"type(uint256)"},typeName:{id:110812,name:"uint256",nodeType:"ElementaryTypeName",src:"7815:7:234",typeDescriptions:{}}},id:110818,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7815:33:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],expression:{argumentTypes:[{typeIdentifier:"t_uint256",typeString:"uint256"}],id:110811,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,nodeType:"ElementaryTypeNameExpression",src:"7807:7:234",typeDescriptions:{typeIdentifier:"t_type$_t_bytes32_$",typeString:"type(bytes32)"},typeName:{id:110810,name:"bytes32",nodeType:"ElementaryTypeName",src:"7807:7:234",typeDescriptions:{}}},id:110819,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7807:42:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes32",typeString:"bytes32"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes32",typeString:"bytes32"},{typeIdentifier:"t_bytes32",typeString:"bytes32"}],expression:{arguments:[{id:110805,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110774,src:"7731:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110804,name:"L1ChugSplashProxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:102516,src:"7713:17:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_L1ChugSplashProxy_$102516_$",typeString:"type(contract L1ChugSplashProxy)"}},id:110806,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7713:25:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_L1ChugSplashProxy_$102516",typeString:"contract L1ChugSplashProxy"}},id:110807,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"setStorage",nodeType:"MemberAccess",referencedDeclaration:102378,src:"7713:36:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$",typeString:"function (bytes32,bytes32) external"}},id:110820,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7713:150:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110821,nodeType:"ExpressionStatement",src:"7713:150:234"}]}},id:110848,nodeType:"IfStatement",src:"7561:672:234",trueBody:{id:110799,nodeType:"Block",src:"7593:65:234",statements:[{expression:{arguments:[{id:110796,name:"_implementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110776,src:"7631:15:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"}],expression:{arguments:[{id:110793,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110774,src:"7613:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110792,name:"Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110434,src:"7607:5:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Proxy_$110434_$",typeString:"type(contract Proxy)"}},id:110794,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7607:13:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_Proxy_$110434",typeString:"contract Proxy"}},id:110795,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"upgradeTo",nodeType:"MemberAccess",referencedDeclaration:110266,src:"7607:23:234",typeDescriptions:{typeIdentifier:"t_function_external_nonpayable$_t_address_$returns$__$",typeString:"function (address) external"}},id:110797,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"7607:40:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110798,nodeType:"ExpressionStatement",src:"7607:40:234"}]}}]},documentation:{id:110772,nodeType:"StructuredDocumentation",src:"7226:192:234",text:`@notice Changes a proxy's implementation contract. + @param _proxy Address of the proxy to upgrade. + @param _implementation Address of the new implementation address.`},functionSelector:"99a88ec4",implemented:!0,kind:"function",modifiers:[{id:110779,kind:"modifierInvocation",modifierName:{id:110778,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"7496:9:234"},nodeType:"ModifierInvocation",src:"7496:9:234"}],name:"upgrade",nameLocation:"7432:7:234",parameters:{id:110777,nodeType:"ParameterList",parameters:[{constant:!1,id:110774,mutability:"mutable",name:"_proxy",nameLocation:"7456:6:234",nodeType:"VariableDeclaration",scope:110850,src:"7440:22:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"},typeName:{id:110773,name:"address",nodeType:"ElementaryTypeName",src:"7440:15:234",stateMutability:"payable",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},visibility:"internal"},{constant:!1,id:110776,mutability:"mutable",name:"_implementation",nameLocation:"7472:15:234",nodeType:"VariableDeclaration",scope:110850,src:"7464:23:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110775,name:"address",nodeType:"ElementaryTypeName",src:"7464:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"}],src:"7439:49:234"},returnParameters:{id:110780,nodeType:"ParameterList",parameters:[],src:"7506:0:234"},scope:110909,stateMutability:"nonpayable",virtual:!1,visibility:"public"},{id:110908,nodeType:"FunctionDefinition",src:"8644:631:234",nodes:[],body:{id:110907,nodeType:"Block",src:"8822:453:234",nodes:[],statements:[{assignments:[110864],declarations:[{constant:!1,id:110864,mutability:"mutable",name:"ptype",nameLocation:"8842:5:234",nodeType:"VariableDeclaration",scope:110907,src:"8832:15:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},typeName:{id:110863,nodeType:"UserDefinedTypeName",pathNode:{id:110862,name:"ProxyType",nodeType:"IdentifierPath",referencedDeclaration:110477,src:"8832:9:234"},referencedDeclaration:110477,src:"8832:9:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},visibility:"internal"}],id:110868,initialValue:{baseExpression:{id:110865,name:"proxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110483,src:"8850:9:234",typeDescriptions:{typeIdentifier:"t_mapping$_t_address_$_t_enum$_ProxyType_$110477_$",typeString:"mapping(address => enum ProxyAdmin.ProxyType)"}},id:110867,indexExpression:{id:110866,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110853,src:"8860:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},isConstant:!1,isLValue:!0,isPure:!1,lValueRequested:!1,nodeType:"IndexAccess",src:"8850:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"VariableDeclarationStatement",src:"8832:35:234"},{condition:{commonType:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"},id:110872,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,leftExpression:{id:110869,name:"ptype",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110864,src:"8881:5:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},nodeType:"BinaryOperation",operator:"==",rightExpression:{expression:{id:110870,name:"ProxyType",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110477,src:"8890:9:234",typeDescriptions:{typeIdentifier:"t_type$_t_enum$_ProxyType_$110477_$",typeString:"type(enum ProxyAdmin.ProxyType)"}},id:110871,isConstant:!1,isLValue:!1,isPure:!0,lValueRequested:!1,memberName:"ERC1967",nodeType:"MemberAccess",referencedDeclaration:110474,src:"8890:17:234",typeDescriptions:{typeIdentifier:"t_enum$_ProxyType_$110477",typeString:"enum ProxyAdmin.ProxyType"}},src:"8881:26:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},falseBody:{id:110905,nodeType:"Block",src:"9014:255:234",statements:[{expression:{arguments:[{id:110886,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110853,src:"9084:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},{id:110887,name:"_implementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110855,src:"9092:15:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"},{typeIdentifier:"t_address",typeString:"address"}],id:110885,name:"upgrade",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110850,src:"9076:7:234",typeDescriptions:{typeIdentifier:"t_function_internal_nonpayable$_t_address_payable_$_t_address_$returns$__$",typeString:"function (address payable,address)"}},id:110888,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9076:32:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110889,nodeType:"ExpressionStatement",src:"9076:32:234"},{assignments:[110891,null],declarations:[{constant:!1,id:110891,mutability:"mutable",name:"success",nameLocation:"9128:7:234",nodeType:"VariableDeclaration",scope:110905,src:"9123:12:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"},typeName:{id:110890,name:"bool",nodeType:"ElementaryTypeName",src:"9123:4:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},visibility:"internal"},null],id:110899,initialValue:{arguments:[{id:110897,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110857,src:"9172:5:234",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{argumentTypes:[{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{id:110892,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110853,src:"9140:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},id:110893,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"call",nodeType:"MemberAccess",src:"9140:11:234",typeDescriptions:{typeIdentifier:"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",typeString:"function (bytes memory) payable returns (bool,bytes memory)"}},id:110896,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{expression:{id:110894,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"9160:3:234",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:110895,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"9160:9:234",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"9140:31:234",typeDescriptions:{typeIdentifier:"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",typeString:"function (bytes memory) payable returns (bool,bytes memory)"}},id:110898,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9140:38:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$_t_bool_$_t_bytes_memory_ptr_$",typeString:"tuple(bool,bytes memory)"}},nodeType:"VariableDeclarationStatement",src:"9122:56:234"},{expression:{arguments:[{id:110901,name:"success",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110891,src:"9200:7:234",typeDescriptions:{typeIdentifier:"t_bool",typeString:"bool"}},{hexValue:"50726f787941646d696e3a2063616c6c20746f2070726f78792061667465722075706772616465206661696c6564",id:110902,isConstant:!1,isLValue:!1,isPure:!0,kind:"string",lValueRequested:!1,nodeType:"Literal",src:"9209:48:234",typeDescriptions:{typeIdentifier:"t_stringliteral_9dbbe4927f0b34687229d178ecf6fef1e21d5f949373ef3cb14376a90927e2f4",typeString:'literal_string "ProxyAdmin: call to proxy after upgrade failed"'},value:"ProxyAdmin: call to proxy after upgrade failed"}],expression:{argumentTypes:[{typeIdentifier:"t_bool",typeString:"bool"},{typeIdentifier:"t_stringliteral_9dbbe4927f0b34687229d178ecf6fef1e21d5f949373ef3cb14376a90927e2f4",typeString:'literal_string "ProxyAdmin: call to proxy after upgrade failed"'}],id:110900,name:"require",nodeType:"Identifier",overloadedDeclarations:[-18,-18],referencedDeclaration:-18,src:"9192:7:234",typeDescriptions:{typeIdentifier:"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",typeString:"function (bool,string memory) pure"}},id:110903,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"9192:66:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_tuple$__$",typeString:"tuple()"}},id:110904,nodeType:"ExpressionStatement",src:"9192:66:234"}]},id:110906,nodeType:"IfStatement",src:"8877:392:234",trueBody:{id:110884,nodeType:"Block",src:"8909:99:234",statements:[{expression:{arguments:[{id:110880,name:"_implementation",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110855,src:"8974:15:234",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},{id:110881,name:"_data",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110857,src:"8991:5:234",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{argumentTypes:[{typeIdentifier:"t_address",typeString:"address"},{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}],expression:{arguments:[{id:110874,name:"_proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110853,src:"8929:6:234",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}}],expression:{argumentTypes:[{typeIdentifier:"t_address_payable",typeString:"address payable"}],id:110873,name:"Proxy",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:110434,src:"8923:5:234",typeDescriptions:{typeIdentifier:"t_type$_t_contract$_Proxy_$110434_$",typeString:"type(contract Proxy)"}},id:110875,isConstant:!1,isLValue:!1,isPure:!1,kind:"typeConversion",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8923:13:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_contract$_Proxy_$110434",typeString:"contract Proxy"}},id:110876,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"upgradeToAndCall",nodeType:"MemberAccess",referencedDeclaration:110299,src:"8923:30:234",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",typeString:"function (address,bytes memory) payable external returns (bytes memory)"}},id:110879,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,names:["value"],nodeType:"FunctionCallOptions",options:[{expression:{id:110877,name:"msg",nodeType:"Identifier",overloadedDeclarations:[],referencedDeclaration:-15,src:"8962:3:234",typeDescriptions:{typeIdentifier:"t_magic_message",typeString:"msg"}},id:110878,isConstant:!1,isLValue:!1,isPure:!1,lValueRequested:!1,memberName:"value",nodeType:"MemberAccess",src:"8962:9:234",typeDescriptions:{typeIdentifier:"t_uint256",typeString:"uint256"}}],src:"8923:50:234",typeDescriptions:{typeIdentifier:"t_function_external_payable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$value",typeString:"function (address,bytes memory) payable external returns (bytes memory)"}},id:110882,isConstant:!1,isLValue:!1,isPure:!1,kind:"functionCall",lValueRequested:!1,names:[],nodeType:"FunctionCall",src:"8923:74:234",tryCall:!1,typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes memory"}},id:110883,nodeType:"ExpressionStatement",src:"8923:74:234"}]}}]},documentation:{id:110851,nodeType:"StructuredDocumentation",src:"8245:394:234",text:`@notice Changes a proxy's implementation contract and delegatecalls the new implementation + with some given data. Useful for atomic upgrade-and-initialize calls. + @param _proxy Address of the proxy to upgrade. + @param _implementation Address of the new implementation address. + @param _data Data to trigger the new implementation with.`},functionSelector:"9623609d",implemented:!0,kind:"function",modifiers:[{id:110860,kind:"modifierInvocation",modifierName:{id:110859,name:"onlyOwner",nodeType:"IdentifierPath",referencedDeclaration:49354,src:"8808:9:234"},nodeType:"ModifierInvocation",src:"8808:9:234"}],name:"upgradeAndCall",nameLocation:"8653:14:234",parameters:{id:110858,nodeType:"ParameterList",parameters:[{constant:!1,id:110853,mutability:"mutable",name:"_proxy",nameLocation:"8693:6:234",nodeType:"VariableDeclaration",scope:110908,src:"8677:22:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"},typeName:{id:110852,name:"address",nodeType:"ElementaryTypeName",src:"8677:15:234",stateMutability:"payable",typeDescriptions:{typeIdentifier:"t_address_payable",typeString:"address payable"}},visibility:"internal"},{constant:!1,id:110855,mutability:"mutable",name:"_implementation",nameLocation:"8717:15:234",nodeType:"VariableDeclaration",scope:110908,src:"8709:23:234",stateVariable:!1,storageLocation:"default",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"},typeName:{id:110854,name:"address",nodeType:"ElementaryTypeName",src:"8709:7:234",stateMutability:"nonpayable",typeDescriptions:{typeIdentifier:"t_address",typeString:"address"}},visibility:"internal"},{constant:!1,id:110857,mutability:"mutable",name:"_data",nameLocation:"8755:5:234",nodeType:"VariableDeclaration",scope:110908,src:"8742:18:234",stateVariable:!1,storageLocation:"memory",typeDescriptions:{typeIdentifier:"t_bytes_memory_ptr",typeString:"bytes"},typeName:{id:110856,name:"bytes",nodeType:"ElementaryTypeName",src:"8742:5:234",typeDescriptions:{typeIdentifier:"t_bytes_storage_ptr",typeString:"bytes"}},visibility:"internal"}],src:"8667:99:234"},returnParameters:{id:110861,nodeType:"ParameterList",parameters:[],src:"8822:0:234"},scope:110909,stateMutability:"payable",virtual:!1,visibility:"external"}],abstract:!1,baseContracts:[{baseName:{id:110472,name:"Ownable",nodeType:"IdentifierPath",referencedDeclaration:49435,src:"1264:7:234"},id:110473,nodeType:"InheritanceSpecifier",src:"1264:7:234"}],canonicalName:"ProxyAdmin",contractDependencies:[],contractKind:"contract",documentation:{id:110471,nodeType:"StructuredDocumentation",src:"928:313:234",text:`@title ProxyAdmin + @notice This is an auxiliary contract meant to be assigned as the admin of an ERC1967 Proxy, + based on the OpenZeppelin implementation. It has backwards compatibility logic to work + with the various types of proxies that have been deployed by Optimism in the past.`},fullyImplemented:!0,linearizedBaseContracts:[110909,49435,53291],name:"ProxyAdmin",nameLocation:"1250:10:234",scope:110910,usedErrors:[]}],license:"MIT"},id:234}});var HYe=B(P1=>{"use strict";p();u();var Gf=P1&&P1.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(P1,"__esModule",{value:!0});P1.getBridgeAdapters=P1.getAllOEContracts=P1.getOEContract=P1.getContractInterfaceBedrock=void 0;var woe=B_(),qYe=Ue(),UYe=uq(),Tj0=Gf(CYe()),_j0=Gf(SYe()),wj0=Gf(AYe()),xj0=Gf(kYe()),Ij0=Gf(PYe()),Ej0=Gf(RYe()),Dj0=Gf(Ofe()),Cj0=Gf(LYe()),Sj0=Gf(MYe()),Aj0=Gf(BYe()),kj0=Gf(Vfe()),Pj0=Gf(NYe()),Rj0=Gf($fe()),Lj0=Gf(FYe()),Mj0=Gf(OYe()),Bj0=Gf(VYe()),Nj0=Gf($Ye()),r3=_oe(),Fj0=y7(),Oj0={AddressManager:"Lib_AddressManager",OVM_L1BlockNumber:"iOVM_L1BlockNumber",WETH:"WETH9",BedrockMessagePasser:"L2ToL1MessagePasser"},Vj0=n=>{let e="";switch(n){case"Lib_AddressManager":case"AddressManager":e="";break;case"L1CrossDomainMessenger":e=Ij0.default;break;case"L1ERC721Bridge":e=Ej0.default;break;case"L2OutputOracle":e=Aj0.default;break;case"OptimismMintableERC20Factory":e=Lj0.default;break;case"ProxyAdmin":e=Nj0.default;break;case"L1StandardBridge":e=Dj0.default;break;case"L2StandardBridge":e=kj0.default;break;case"OptimismPortal":e=Mj0.default;break;case"L2CrossDomainMessenger":e=Cj0.default;break;case"OptimismMintableERC20":e=Rj0.default;break;case"L2ERC721Bridge":e=Sj0.default;break;case"L1Block":e=xj0.default;break;case"L2ToL1MessagePasser":e=Pj0.default;break;case"GasPriceOracle":e=wj0.default;break;case"DisputeGameFactory":e=Tj0.default;break;case"OptimismPortal2":e=Bj0.default;break;case"FaultDisputeGame":e=_j0.default;break}return new qYe.ethers.utils.Interface(e.abi)};P1.getContractInterfaceBedrock=Vj0;var $j0=(n,e,t={})=>{let a=r3.CONTRACT_ADDRESSES[e];if(a===void 0&&t.address===void 0){if(r3.IGNORABLE_CONTRACTS.includes(n))return;throw new Error(`cannot get contract ${n} for unknown L2 chain ID ${e}, you must provide an address`)}let r=Oj0[n]||n,i;try{i=(0,P1.getContractInterfaceBedrock)(r)}catch{i=(0,woe.getContractInterface)(r)}return new qYe.Contract((0,Fj0.toAddress)(t.address||a.l1[n]||a.l2[n]),i,t.signerOrProvider)};P1.getOEContract=$j0;var Uj0=(n,e={})=>{var t,a,r,i;let s=r3.CONTRACT_ADDRESSES[n]||{l1:{AddressManager:void 0,L1CrossDomainMessenger:void 0,L1StandardBridge:void 0,StateCommitmentChain:void 0,CanonicalTransactionChain:void 0,BondManager:void 0,OptimismPortal:void 0,L2OutputOracle:void 0,DisputeGameFactory:void 0,OptimismPortal2:void 0},l2:r3.DEFAULT_L2_CONTRACT_ADDRESSES},f={};for(let[c,d]of Object.entries(s.l1))f[c]=(0,P1.getOEContract)(c,n,{address:((a=(t=e.overrides)===null||t===void 0?void 0:t.l1)===null||a===void 0?void 0:a[c])||d,signerOrProvider:e.l1SignerOrProvider});let o={};for(let[c,d]of Object.entries(s.l2))o[c]=(0,P1.getOEContract)(c,n,{address:((i=(r=e.overrides)===null||r===void 0?void 0:r.l2)===null||i===void 0?void 0:i[c])||d,signerOrProvider:e.l2SignerOrProvider});return{l1:f,l2:o}};P1.getAllOEContracts=Uj0;var qj0=(n,e,t)=>{var a,r,i,s,f,o;let c=Object.assign(Object.assign(Object.assign({},r3.CONTRACT_ADDRESSES[n]||!((r=(a=t?.contracts)===null||a===void 0?void 0:a.l1)===null||r===void 0)&&r.L1StandardBridge?{Standard:{Adapter:UYe.StandardBridgeAdapter,l1Bridge:((s=(i=t?.contracts)===null||i===void 0?void 0:i.l1)===null||s===void 0?void 0:s.L1StandardBridge)||r3.CONTRACT_ADDRESSES[n].l1.L1StandardBridge,l2Bridge:woe.predeploys.L2StandardBridge},ETH:{Adapter:UYe.ETHBridgeAdapter,l1Bridge:((o=(f=t?.contracts)===null||f===void 0?void 0:f.l1)===null||o===void 0?void 0:o.L1StandardBridge)||r3.CONTRACT_ADDRESSES[n].l1.L1StandardBridge,l2Bridge:woe.predeploys.L2StandardBridge}}:{}),r3.BRIDGE_ADAPTER_DATA[n]||{}),t?.overrides||{}),d={};for(let[l,y]of Object.entries(c))d[l]=new y.Adapter({messenger:e,l1Bridge:y.l1Bridge,l2Bridge:y.l2Bridge});return d};P1.getBridgeAdapters=qj0});var xoe=B((ula,zYe)=>{p();u();zYe.exports=function(e){for(var t=new D.Buffer(e.length),a=0,r=e.length-1;a<=r;++a,--r)t[a]=e[r],t[r]=e[a];return t}});var jn=B((Dq,WYe)=>{p();u();(function(n,e){typeof Dq=="object"?WYe.exports=Dq=e():typeof define=="function"&&define.amd?define([],e):n.CryptoJS=e()})(Dq,function(){var n=n||function(e,t){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof global<"u"&&global.crypto&&(a=global.crypto),!a&&typeof Tl=="function")try{a=yO()}catch{}var r=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function N(){}return function(U){var q;return N.prototype=U,q=new N,N.prototype=null,q}}(),s={},f=s.lib={},o=f.Base=function(){return{extend:function(N){var U=i(this);return N&&U.mixIn(N),(!U.hasOwnProperty("init")||this.init===U.init)&&(U.init=function(){U.$super.init.apply(this,arguments)}),U.init.prototype=U,U.$super=this,U},create:function(){var N=this.extend();return N.init.apply(N,arguments),N},init:function(){},mixIn:function(N){for(var U in N)N.hasOwnProperty(U)&&(this[U]=N[U]);N.hasOwnProperty("toString")&&(this.toString=N.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=f.WordArray=o.extend({init:function(N,U){N=this.words=N||[],U!=t?this.sigBytes=U:this.sigBytes=N.length*4},toString:function(N){return(N||l).stringify(this)},concat:function(N){var U=this.words,q=N.words,W=this.sigBytes,G=N.sigBytes;if(this.clamp(),W%4)for(var X=0;X>>2]>>>24-X%4*8&255;U[W+X>>>2]|=J<<24-(W+X)%4*8}else for(var j=0;j>>2]=q[j>>>2];return this.sigBytes+=G,this},clamp:function(){var N=this.words,U=this.sigBytes;N[U>>>2]&=4294967295<<32-U%4*8,N.length=e.ceil(U/4)},clone:function(){var N=o.clone.call(this);return N.words=this.words.slice(0),N},random:function(N){for(var U=[],q=0;q>>2]>>>24-G%4*8&255;W.push((X>>>4).toString(16)),W.push((X&15).toString(16))}return W.join("")},parse:function(N){for(var U=N.length,q=[],W=0;W>>3]|=parseInt(N.substr(W,2),16)<<24-W%8*4;return new c.init(q,U/2)}},y=d.Latin1={stringify:function(N){for(var U=N.words,q=N.sigBytes,W=[],G=0;G>>2]>>>24-G%4*8&255;W.push(String.fromCharCode(X))}return W.join("")},parse:function(N){for(var U=N.length,q=[],W=0;W>>2]|=(N.charCodeAt(W)&255)<<24-W%4*8;return new c.init(q,U)}},h=d.Utf8={stringify:function(N){try{return decodeURIComponent(escape(y.stringify(N)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(N){return y.parse(unescape(encodeURIComponent(N)))}},T=f.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(N){typeof N=="string"&&(N=h.parse(N)),this._data.concat(N),this._nDataBytes+=N.sigBytes},_process:function(N){var U,q=this._data,W=q.words,G=q.sigBytes,X=this.blockSize,J=X*4,j=G/J;N?j=e.ceil(j):j=e.max((j|0)-this._minBufferSize,0);var z=j*X,P=e.min(z*4,G);if(z){for(var _=0;_{p();u();(function(n,e){typeof Cq=="object"?jYe.exports=Cq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Cq,function(n){return function(e){var t=n,a=t.lib,r=a.WordArray,i=a.Hasher,s=t.algo,f=[],o=[];(function(){function l(A){for(var O=e.sqrt(A),N=2;N<=O;N++)if(!(A%N))return!1;return!0}function y(A){return(A-(A|0))*4294967296|0}for(var h=2,T=0;T<64;)l(h)&&(T<8&&(f[T]=y(e.pow(h,1/2))),o[T]=y(e.pow(h,1/3)),T++),h++})();var c=[],d=s.SHA256=i.extend({_doReset:function(){this._hash=new r.init(f.slice(0))},_doProcessBlock:function(l,y){for(var h=this._hash.words,T=h[0],A=h[1],O=h[2],N=h[3],U=h[4],q=h[5],W=h[6],G=h[7],X=0;X<64;X++){if(X<16)c[X]=l[y+X]|0;else{var J=c[X-15],j=(J<<25|J>>>7)^(J<<14|J>>>18)^J>>>3,z=c[X-2],P=(z<<15|z>>>17)^(z<<13|z>>>19)^z>>>10;c[X]=j+c[X-7]+P+c[X-16]}var _=U&q^~U&W,F=T&A^T&O^A&O,v=(T<<30|T>>>2)^(T<<19|T>>>13)^(T<<10|T>>>22),b=(U<<26|U>>>6)^(U<<21|U>>>11)^(U<<7|U>>>25),x=G+b+_+o[X]+c[X],L=v+F;G=W,W=q,q=U,U=N+x|0,N=O,O=A,A=T,T=x+L|0}h[0]=h[0]+T|0,h[1]=h[1]+A|0,h[2]=h[2]+O|0,h[3]=h[3]+N|0,h[4]=h[4]+U|0,h[5]=h[5]+q|0,h[6]=h[6]+W|0,h[7]=h[7]+G|0},_doFinalize:function(){var l=this._data,y=l.words,h=this._nDataBytes*8,T=l.sigBytes*8;return y[T>>>5]|=128<<24-T%32,y[(T+64>>>9<<4)+14]=e.floor(h/4294967296),y[(T+64>>>9<<4)+15]=h,l.sigBytes=y.length*4,this._process(),this._hash},clone:function(){var l=i.clone.call(this);return l._hash=this._hash.clone(),l}});t.SHA256=i._createHelper(d),t.HmacSHA256=i._createHmacHelper(d)}(Math),n.SHA256})});var Sq=B((Ioe,GYe)=>{p();u();(function(n,e){typeof Ioe=="object"?GYe.exports=e():typeof define=="function"&&define.amd?define(e):n.treeify=e()})(Ioe,function(){function n(r,i){var s=i?"\u2514":"\u251C";return r?s+="\u2500 ":s+="\u2500\u2500\u2510",s}function e(r,i){var s=[];for(var f in r)r.hasOwnProperty(f)&&(i&&typeof r[f]=="function"||s.push(f));return s}function t(r,i,s,f,o,c,d){var l="",y=0,h,T,A=f.slice(0);if(A.push([i,s])&&f.length>0&&(f.forEach(function(N,U){U>0&&(l+=(N[1]?" ":"\u2502")+" "),!T&&N[0]===i&&(T=!0)}),l+=n(r,s)+r,o&&(typeof i!="object"||i instanceof Date)&&(l+=": "+i),T&&(l+=" (circular ref.)"),d(l)),!T&&typeof i=="object"){var O=e(i,c);O.forEach(function(N){h=++y===O.length,t(N,i[N],h,A,o,c,d)})}}var a={};return a.asLines=function(r,i,s,f){var o=typeof s!="function"?s:!1;t(".",r,!1,[],i,o,f||s)},a.asTree=function(r,i,s){var f="";return t(".",r,!1,[],i,s,function(o){f+=o+` +`}),f},a})});var lA=B((Aq,KYe)=>{p();u();(function(n,e){typeof Aq=="object"?KYe.exports=Aq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Aq,function(n){return function(e){var t=n,a=t.lib,r=a.Base,i=a.WordArray,s=t.x64={},f=s.Word=r.extend({init:function(c,d){this.high=c,this.low=d}}),o=s.WordArray=r.extend({init:function(c,d){c=this.words=c||[],d!=e?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,l=[],y=0;y{p();u();(function(n,e){typeof kq=="object"?QYe.exports=kq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(kq,function(n){return function(){if(typeof ArrayBuffer=="function"){var e=n,t=e.lib,a=t.WordArray,r=a.init,i=a.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var f=s.byteLength,o=[],c=0;c>>2]|=s[c]<<24-c%4*8;r.call(this,o,f)}else r.apply(this,arguments)};i.prototype=a}}(),n.lib.WordArray})});var XYe=B((Pq,JYe)=>{p();u();(function(n,e){typeof Pq=="object"?JYe.exports=Pq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Pq,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=e.enc,i=r.Utf16=r.Utf16BE={stringify:function(f){for(var o=f.words,c=f.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535;d.push(String.fromCharCode(y))}return d.join("")},parse:function(f){for(var o=f.length,c=[],d=0;d>>1]|=f.charCodeAt(d)<<16-d%2*16;return a.create(c,o*2)}};r.Utf16LE={stringify:function(f){for(var o=f.words,c=f.sigBytes,d=[],l=0;l>>2]>>>16-l%4*8&65535);d.push(String.fromCharCode(y))}return d.join("")},parse:function(f){for(var o=f.length,c=[],d=0;d>>1]|=s(f.charCodeAt(d)<<16-d%2*16);return a.create(c,o*2)}};function s(f){return f<<8&4278255360|f>>>8&16711935}}(),n.enc.Utf16})});var i3=B((Rq,ZYe)=>{p();u();(function(n,e){typeof Rq=="object"?ZYe.exports=Rq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Rq,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=e.enc,i=r.Base64={stringify:function(f){var o=f.words,c=f.sigBytes,d=this._map;f.clamp();for(var l=[],y=0;y>>2]>>>24-y%4*8&255,T=o[y+1>>>2]>>>24-(y+1)%4*8&255,A=o[y+2>>>2]>>>24-(y+2)%4*8&255,O=h<<16|T<<8|A,N=0;N<4&&y+N*.75>>6*(3-N)&63));var U=d.charAt(64);if(U)for(;l.length%4;)l.push(U);return l.join("")},parse:function(f){var o=f.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var l=0;l>>6-y%4*2,A=h|T;d[l>>>2]|=A<<24-l%4*8,l++}return a.create(d,l)}}(),n.enc.Base64})});var tJe=B((Lq,eJe)=>{p();u();(function(n,e){typeof Lq=="object"?eJe.exports=Lq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Lq,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=e.enc,i=r.Base64url={stringify:function(f,o){o===void 0&&(o=!0);var c=f.words,d=f.sigBytes,l=o?this._safe_map:this._map;f.clamp();for(var y=[],h=0;h>>2]>>>24-h%4*8&255,A=c[h+1>>>2]>>>24-(h+1)%4*8&255,O=c[h+2>>>2]>>>24-(h+2)%4*8&255,N=T<<16|A<<8|O,U=0;U<4&&h+U*.75>>6*(3-U)&63));var q=l.charAt(64);if(q)for(;y.length%4;)y.push(q);return y.join("")},parse:function(f,o){o===void 0&&(o=!0);var c=f.length,d=o?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var y=0;y>>6-y%4*2,A=h|T;d[l>>>2]|=A<<24-l%4*8,l++}return a.create(d,l)}}(),n.enc.Base64url})});var s3=B((Mq,nJe)=>{p();u();(function(n,e){typeof Mq=="object"?nJe.exports=Mq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Mq,function(n){return function(e){var t=n,a=t.lib,r=a.WordArray,i=a.Hasher,s=t.algo,f=[];(function(){for(var h=0;h<64;h++)f[h]=e.abs(e.sin(h+1))*4294967296|0})();var o=s.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,T){for(var A=0;A<16;A++){var O=T+A,N=h[O];h[O]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360}var U=this._hash.words,q=h[T+0],W=h[T+1],G=h[T+2],X=h[T+3],J=h[T+4],j=h[T+5],z=h[T+6],P=h[T+7],_=h[T+8],F=h[T+9],v=h[T+10],b=h[T+11],x=h[T+12],L=h[T+13],M=h[T+14],w=h[T+15],g=U[0],R=U[1],k=U[2],C=U[3];g=c(g,R,k,C,q,7,f[0]),C=c(C,g,R,k,W,12,f[1]),k=c(k,C,g,R,G,17,f[2]),R=c(R,k,C,g,X,22,f[3]),g=c(g,R,k,C,J,7,f[4]),C=c(C,g,R,k,j,12,f[5]),k=c(k,C,g,R,z,17,f[6]),R=c(R,k,C,g,P,22,f[7]),g=c(g,R,k,C,_,7,f[8]),C=c(C,g,R,k,F,12,f[9]),k=c(k,C,g,R,v,17,f[10]),R=c(R,k,C,g,b,22,f[11]),g=c(g,R,k,C,x,7,f[12]),C=c(C,g,R,k,L,12,f[13]),k=c(k,C,g,R,M,17,f[14]),R=c(R,k,C,g,w,22,f[15]),g=d(g,R,k,C,W,5,f[16]),C=d(C,g,R,k,z,9,f[17]),k=d(k,C,g,R,b,14,f[18]),R=d(R,k,C,g,q,20,f[19]),g=d(g,R,k,C,j,5,f[20]),C=d(C,g,R,k,v,9,f[21]),k=d(k,C,g,R,w,14,f[22]),R=d(R,k,C,g,J,20,f[23]),g=d(g,R,k,C,F,5,f[24]),C=d(C,g,R,k,M,9,f[25]),k=d(k,C,g,R,X,14,f[26]),R=d(R,k,C,g,_,20,f[27]),g=d(g,R,k,C,L,5,f[28]),C=d(C,g,R,k,G,9,f[29]),k=d(k,C,g,R,P,14,f[30]),R=d(R,k,C,g,x,20,f[31]),g=l(g,R,k,C,j,4,f[32]),C=l(C,g,R,k,_,11,f[33]),k=l(k,C,g,R,b,16,f[34]),R=l(R,k,C,g,M,23,f[35]),g=l(g,R,k,C,W,4,f[36]),C=l(C,g,R,k,J,11,f[37]),k=l(k,C,g,R,P,16,f[38]),R=l(R,k,C,g,v,23,f[39]),g=l(g,R,k,C,L,4,f[40]),C=l(C,g,R,k,q,11,f[41]),k=l(k,C,g,R,X,16,f[42]),R=l(R,k,C,g,z,23,f[43]),g=l(g,R,k,C,F,4,f[44]),C=l(C,g,R,k,x,11,f[45]),k=l(k,C,g,R,w,16,f[46]),R=l(R,k,C,g,G,23,f[47]),g=y(g,R,k,C,q,6,f[48]),C=y(C,g,R,k,P,10,f[49]),k=y(k,C,g,R,M,15,f[50]),R=y(R,k,C,g,j,21,f[51]),g=y(g,R,k,C,x,6,f[52]),C=y(C,g,R,k,X,10,f[53]),k=y(k,C,g,R,v,15,f[54]),R=y(R,k,C,g,W,21,f[55]),g=y(g,R,k,C,_,6,f[56]),C=y(C,g,R,k,w,10,f[57]),k=y(k,C,g,R,z,15,f[58]),R=y(R,k,C,g,L,21,f[59]),g=y(g,R,k,C,J,6,f[60]),C=y(C,g,R,k,b,10,f[61]),k=y(k,C,g,R,G,15,f[62]),R=y(R,k,C,g,F,21,f[63]),U[0]=U[0]+g|0,U[1]=U[1]+R|0,U[2]=U[2]+k|0,U[3]=U[3]+C|0},_doFinalize:function(){var h=this._data,T=h.words,A=this._nDataBytes*8,O=h.sigBytes*8;T[O>>>5]|=128<<24-O%32;var N=e.floor(A/4294967296),U=A;T[(O+64>>>9<<4)+15]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,T[(O+64>>>9<<4)+14]=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360,h.sigBytes=(T.length+1)*4,this._process();for(var q=this._hash,W=q.words,G=0;G<4;G++){var X=W[G];W[G]=(X<<8|X>>>24)&16711935|(X<<24|X>>>8)&4278255360}return q},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h}});function c(h,T,A,O,N,U,q){var W=h+(T&A|~T&O)+N+q;return(W<>>32-U)+T}function d(h,T,A,O,N,U,q){var W=h+(T&O|A&~O)+N+q;return(W<>>32-U)+T}function l(h,T,A,O,N,U,q){var W=h+(T^A^O)+N+q;return(W<>>32-U)+T}function y(h,T,A,O,N,U,q){var W=h+(A^(T|~O))+N+q;return(W<>>32-U)+T}t.MD5=i._createHelper(o),t.HmacMD5=i._createHmacHelper(o)}(Math),n.MD5})});var Eoe=B((Bq,aJe)=>{p();u();(function(n,e){typeof Bq=="object"?aJe.exports=Bq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Bq,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=t.Hasher,i=e.algo,s=[],f=i.SHA1=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,c){for(var d=this._hash.words,l=d[0],y=d[1],h=d[2],T=d[3],A=d[4],O=0;O<80;O++){if(O<16)s[O]=o[c+O]|0;else{var N=s[O-3]^s[O-8]^s[O-14]^s[O-16];s[O]=N<<1|N>>>31}var U=(l<<5|l>>>27)+A+s[O];O<20?U+=(y&h|~y&T)+1518500249:O<40?U+=(y^h^T)+1859775393:O<60?U+=(y&h|y&T|h&T)-1894007588:U+=(y^h^T)-899497514,A=T,T=h,h=y<<30|y>>>2,y=l,l=U}d[0]=d[0]+l|0,d[1]=d[1]+y|0,d[2]=d[2]+h|0,d[3]=d[3]+T|0,d[4]=d[4]+A|0},_doFinalize:function(){var o=this._data,c=o.words,d=this._nDataBytes*8,l=o.sigBytes*8;return c[l>>>5]|=128<<24-l%32,c[(l+64>>>9<<4)+14]=Math.floor(d/4294967296),c[(l+64>>>9<<4)+15]=d,o.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var o=r.clone.call(this);return o._hash=this._hash.clone(),o}});e.SHA1=r._createHelper(f),e.HmacSHA1=r._createHmacHelper(f)}(),n.SHA1})});var iJe=B((Nq,rJe)=>{p();u();(function(n,e,t){typeof Nq=="object"?rJe.exports=Nq=e(jn(),q_()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(n.CryptoJS)})(Nq,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=e.algo,i=r.SHA256,s=r.SHA224=i.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var f=i._doFinalize.call(this);return f.sigBytes-=4,f}});e.SHA224=i._createHelper(s),e.HmacSHA224=i._createHmacHelper(s)}(),n.SHA224})});var Doe=B((Fq,sJe)=>{p();u();(function(n,e,t){typeof Fq=="object"?sJe.exports=Fq=e(jn(),lA()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Fq,function(n){return function(){var e=n,t=e.lib,a=t.Hasher,r=e.x64,i=r.Word,s=r.WordArray,f=e.algo;function o(){return i.create.apply(i,arguments)}var c=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],d=[];(function(){for(var y=0;y<80;y++)d[y]=o()})();var l=f.SHA512=a.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(y,h){for(var T=this._hash.words,A=T[0],O=T[1],N=T[2],U=T[3],q=T[4],W=T[5],G=T[6],X=T[7],J=A.high,j=A.low,z=O.high,P=O.low,_=N.high,F=N.low,v=U.high,b=U.low,x=q.high,L=q.low,M=W.high,w=W.low,g=G.high,R=G.low,k=X.high,C=X.low,H=J,te=j,V=z,Y=P,ee=_,ae=F,pe=v,Q=b,ie=x,se=L,be=M,de=w,we=g,Oe=R,Se=k,it=C,qe=0;qe<80;qe++){var Me,mt,kt=d[qe];if(qe<16)mt=kt.high=y[h+qe*2]|0,Me=kt.low=y[h+qe*2+1]|0;else{var je=d[qe-15],Et=je.high,Ct=je.low,rt=(Et>>>1|Ct<<31)^(Et>>>8|Ct<<24)^Et>>>7,Pt=(Ct>>>1|Et<<31)^(Ct>>>8|Et<<24)^(Ct>>>7|Et<<25),Dt=d[qe-2],We=Dt.high,Lt=Dt.low,$t=(We>>>19|Lt<<13)^(We<<3|Lt>>>29)^We>>>6,Qe=(Lt>>>19|We<<13)^(Lt<<3|We>>>29)^(Lt>>>6|We<<26),Ft=d[qe-7],Ut=Ft.high,et=Ft.low,ue=d[qe-16],me=ue.high,_e=ue.low;Me=Pt+et,mt=rt+Ut+(Me>>>0>>0?1:0),Me=Me+Qe,mt=mt+$t+(Me>>>0>>0?1:0),Me=Me+_e,mt=mt+me+(Me>>>0<_e>>>0?1:0),kt.high=mt,kt.low=Me}var Be=ie&be^~ie&we,Fe=se&de^~se&Oe,Le=H&V^H&ee^V&ee,ct=te&Y^te&ae^Y&ae,ot=(H>>>28|te<<4)^(H<<30|te>>>2)^(H<<25|te>>>7),$e=(te>>>28|H<<4)^(te<<30|H>>>2)^(te<<25|H>>>7),wt=(ie>>>14|se<<18)^(ie>>>18|se<<14)^(ie<<23|se>>>9),It=(se>>>14|ie<<18)^(se>>>18|ie<<14)^(se<<23|ie>>>9),Ge=c[qe],qt=Ge.high,Nt=Ge.low,Ve=it+It,xt=Se+wt+(Ve>>>0>>0?1:0),Ve=Ve+Fe,xt=xt+Be+(Ve>>>0>>0?1:0),Ve=Ve+Nt,xt=xt+qt+(Ve>>>0>>0?1:0),Ve=Ve+Me,xt=xt+mt+(Ve>>>0>>0?1:0),Ht=$e+ct,tt=ot+Le+(Ht>>>0<$e>>>0?1:0);Se=we,it=Oe,we=be,Oe=de,be=ie,de=se,se=Q+Ve|0,ie=pe+xt+(se>>>0>>0?1:0)|0,pe=ee,Q=ae,ee=V,ae=Y,V=H,Y=te,te=Ve+Ht|0,H=xt+tt+(te>>>0>>0?1:0)|0}j=A.low=j+te,A.high=J+H+(j>>>0>>0?1:0),P=O.low=P+Y,O.high=z+V+(P>>>0>>0?1:0),F=N.low=F+ae,N.high=_+ee+(F>>>0>>0?1:0),b=U.low=b+Q,U.high=v+pe+(b>>>0>>0?1:0),L=q.low=L+se,q.high=x+ie+(L>>>0>>0?1:0),w=W.low=w+de,W.high=M+be+(w>>>0>>0?1:0),R=G.low=R+Oe,G.high=g+we+(R>>>0>>0?1:0),C=X.low=C+it,X.high=k+Se+(C>>>0>>0?1:0)},_doFinalize:function(){var y=this._data,h=y.words,T=this._nDataBytes*8,A=y.sigBytes*8;h[A>>>5]|=128<<24-A%32,h[(A+128>>>10<<5)+30]=Math.floor(T/4294967296),h[(A+128>>>10<<5)+31]=T,y.sigBytes=h.length*4,this._process();var O=this._hash.toX32();return O},clone:function(){var y=a.clone.call(this);return y._hash=this._hash.clone(),y},blockSize:1024/32});e.SHA512=a._createHelper(l),e.HmacSHA512=a._createHmacHelper(l)}(),n.SHA512})});var oJe=B((Oq,fJe)=>{p();u();(function(n,e,t){typeof Oq=="object"?fJe.exports=Oq=e(jn(),lA(),Doe()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(n.CryptoJS)})(Oq,function(n){return function(){var e=n,t=e.x64,a=t.Word,r=t.WordArray,i=e.algo,s=i.SHA512,f=i.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=16,o}});e.SHA384=s._createHelper(f),e.HmacSHA384=s._createHmacHelper(f)}(),n.SHA384})});var dJe=B((Vq,cJe)=>{p();u();(function(n,e,t){typeof Vq=="object"?cJe.exports=Vq=e(jn(),lA()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Vq,function(n){return function(e){var t=n,a=t.lib,r=a.WordArray,i=a.Hasher,s=t.x64,f=s.Word,o=t.algo,c=[],d=[],l=[];(function(){for(var T=1,A=0,O=0;O<24;O++){c[T+5*A]=(O+1)*(O+2)/2%64;var N=A%5,U=(2*T+3*A)%5;T=N,A=U}for(var T=0;T<5;T++)for(var A=0;A<5;A++)d[T+5*A]=A+(2*T+3*A)%5*5;for(var q=1,W=0;W<24;W++){for(var G=0,X=0,J=0;J<7;J++){if(q&1){var j=(1<>>24)&16711935|(q<<24|q>>>8)&4278255360,W=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360;var G=O[U];G.high^=W,G.low^=q}for(var X=0;X<24;X++){for(var J=0;J<5;J++){for(var j=0,z=0,P=0;P<5;P++){var G=O[J+5*P];j^=G.high,z^=G.low}var _=y[J];_.high=j,_.low=z}for(var J=0;J<5;J++)for(var F=y[(J+4)%5],v=y[(J+1)%5],b=v.high,x=v.low,j=F.high^(b<<1|x>>>31),z=F.low^(x<<1|b>>>31),P=0;P<5;P++){var G=O[J+5*P];G.high^=j,G.low^=z}for(var L=1;L<25;L++){var j,z,G=O[L],M=G.high,w=G.low,g=c[L];g<32?(j=M<>>32-g,z=w<>>32-g):(j=w<>>64-g,z=M<>>64-g);var R=y[d[L]];R.high=j,R.low=z}var k=y[0],C=O[0];k.high=C.high,k.low=C.low;for(var J=0;J<5;J++)for(var P=0;P<5;P++){var L=J+5*P,G=O[L],H=y[L],te=y[(J+1)%5+5*P],V=y[(J+2)%5+5*P];G.high=H.high^~te.high&V.high,G.low=H.low^~te.low&V.low}var G=O[0],Y=l[X];G.high^=Y.high,G.low^=Y.low}},_doFinalize:function(){var T=this._data,A=T.words,O=this._nDataBytes*8,N=T.sigBytes*8,U=this.blockSize*32;A[N>>>5]|=1<<24-N%32,A[(e.ceil((N+1)/U)*U>>>5)-1]|=128,T.sigBytes=A.length*4,this._process();for(var q=this._state,W=this.cfg.outputLength/8,G=W/8,X=[],J=0;J>>24)&16711935|(z<<24|z>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,X.push(P),X.push(z)}return new r.init(X,W)},clone:function(){for(var T=i.clone.call(this),A=T._state=this._state.slice(0),O=0;O<25;O++)A[O]=A[O].clone();return T}});t.SHA3=i._createHelper(h),t.HmacSHA3=i._createHmacHelper(h)}(Math),n.SHA3})});var pJe=B(($q,lJe)=>{p();u();(function(n,e){typeof $q=="object"?lJe.exports=$q=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})($q,function(n){return function(e){var t=n,a=t.lib,r=a.WordArray,i=a.Hasher,s=t.algo,f=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),y=r.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=i.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(W,G){for(var X=0;X<16;X++){var J=G+X,j=W[J];W[J]=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360}var z=this._hash.words,P=l.words,_=y.words,F=f.words,v=o.words,b=c.words,x=d.words,L,M,w,g,R,k,C,H,te,V;k=L=z[0],C=M=z[1],H=w=z[2],te=g=z[3],V=R=z[4];for(var Y,X=0;X<80;X+=1)Y=L+W[G+F[X]]|0,X<16?Y+=T(M,w,g)+P[0]:X<32?Y+=A(M,w,g)+P[1]:X<48?Y+=O(M,w,g)+P[2]:X<64?Y+=N(M,w,g)+P[3]:Y+=U(M,w,g)+P[4],Y=Y|0,Y=q(Y,b[X]),Y=Y+R|0,L=R,R=g,g=q(w,10),w=M,M=Y,Y=k+W[G+v[X]]|0,X<16?Y+=U(C,H,te)+_[0]:X<32?Y+=N(C,H,te)+_[1]:X<48?Y+=O(C,H,te)+_[2]:X<64?Y+=A(C,H,te)+_[3]:Y+=T(C,H,te)+_[4],Y=Y|0,Y=q(Y,x[X]),Y=Y+V|0,k=V,V=te,te=q(H,10),H=C,C=Y;Y=z[1]+w+te|0,z[1]=z[2]+g+V|0,z[2]=z[3]+R+k|0,z[3]=z[4]+L+C|0,z[4]=z[0]+M+H|0,z[0]=Y},_doFinalize:function(){var W=this._data,G=W.words,X=this._nDataBytes*8,J=W.sigBytes*8;G[J>>>5]|=128<<24-J%32,G[(J+64>>>9<<4)+14]=(X<<8|X>>>24)&16711935|(X<<24|X>>>8)&4278255360,W.sigBytes=(G.length+1)*4,this._process();for(var j=this._hash,z=j.words,P=0;P<5;P++){var _=z[P];z[P]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return j},clone:function(){var W=i.clone.call(this);return W._hash=this._hash.clone(),W}});function T(W,G,X){return W^G^X}function A(W,G,X){return W&G|~W&X}function O(W,G,X){return(W|~G)^X}function N(W,G,X){return W&X|G&~X}function U(W,G,X){return W^(G|~X)}function q(W,G){return W<>>32-G}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160})});var qq=B((Uq,uJe)=>{p();u();(function(n,e){typeof Uq=="object"?uJe.exports=Uq=e(jn()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Uq,function(n){(function(){var e=n,t=e.lib,a=t.Base,r=e.enc,i=r.Utf8,s=e.algo,f=s.HMAC=a.extend({init:function(o,c){o=this._hasher=new o.init,typeof c=="string"&&(c=i.parse(c));var d=o.blockSize,l=d*4;c.sigBytes>l&&(c=o.finalize(c)),c.clamp();for(var y=this._oKey=c.clone(),h=this._iKey=c.clone(),T=y.words,A=h.words,O=0;O{p();u();(function(n,e,t){typeof Hq=="object"?yJe.exports=Hq=e(jn(),q_(),qq()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],e):e(n.CryptoJS)})(Hq,function(n){return function(){var e=n,t=e.lib,a=t.Base,r=t.WordArray,i=e.algo,s=i.SHA256,f=i.HMAC,o=i.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:s,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,d){for(var l=this.cfg,y=f.create(l.hasher,c),h=r.create(),T=r.create([1]),A=h.words,O=T.words,N=l.keySize,U=l.iterations;A.length{p();u();(function(n,e,t){typeof zq=="object"?bJe.exports=zq=e(jn(),Eoe(),qq()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(n.CryptoJS)})(zq,function(n){return function(){var e=n,t=e.lib,a=t.Base,r=t.WordArray,i=e.algo,s=i.MD5,f=i.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:s,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,c){for(var d,l=this.cfg,y=l.hasher.create(),h=r.create(),T=h.words,A=l.keySize,O=l.iterations;T.length{p();u();(function(n,e,t){typeof Wq=="object"?hJe.exports=Wq=e(jn(),ly()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(n.CryptoJS)})(Wq,function(n){n.lib.Cipher||function(e){var t=n,a=t.lib,r=a.Base,i=a.WordArray,s=a.BufferedBlockAlgorithm,f=t.enc,o=f.Utf8,c=f.Base64,d=t.algo,l=d.EvpKDF,y=a.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(_,F){return this.create(this._ENC_XFORM_MODE,_,F)},createDecryptor:function(_,F){return this.create(this._DEC_XFORM_MODE,_,F)},init:function(_,F,v){this.cfg=this.cfg.extend(v),this._xformMode=_,this._key=F,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(_){return this._append(_),this._process()},finalize:function(_){_&&this._append(_);var F=this._doFinalize();return F},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function _(F){return typeof F=="string"?P:J}return function(F){return{encrypt:function(v,b,x){return _(b).encrypt(F,v,b,x)},decrypt:function(v,b,x){return _(b).decrypt(F,v,b,x)}}}}()}),h=a.StreamCipher=y.extend({_doFinalize:function(){var _=this._process(!0);return _},blockSize:1}),T=t.mode={},A=a.BlockCipherMode=r.extend({createEncryptor:function(_,F){return this.Encryptor.create(_,F)},createDecryptor:function(_,F){return this.Decryptor.create(_,F)},init:function(_,F){this._cipher=_,this._iv=F}}),O=T.CBC=function(){var _=A.extend();_.Encryptor=_.extend({processBlock:function(v,b){var x=this._cipher,L=x.blockSize;F.call(this,v,b,L),x.encryptBlock(v,b),this._prevBlock=v.slice(b,b+L)}}),_.Decryptor=_.extend({processBlock:function(v,b){var x=this._cipher,L=x.blockSize,M=v.slice(b,b+L);x.decryptBlock(v,b),F.call(this,v,b,L),this._prevBlock=M}});function F(v,b,x){var L,M=this._iv;M?(L=M,this._iv=e):L=this._prevBlock;for(var w=0;w>>2]&255;_.sigBytes-=F}},q=a.BlockCipher=y.extend({cfg:y.cfg.extend({mode:O,padding:U}),reset:function(){var _;y.reset.call(this);var F=this.cfg,v=F.iv,b=F.mode;this._xformMode==this._ENC_XFORM_MODE?_=b.createEncryptor:(_=b.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,v&&v.words):(this._mode=_.call(b,this,v&&v.words),this._mode.__creator=_)},_doProcessBlock:function(_,F){this._mode.processBlock(_,F)},_doFinalize:function(){var _,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),F.unpad(_)),_},blockSize:128/32}),W=a.CipherParams=r.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),G=t.format={},X=G.OpenSSL={stringify:function(_){var F,v=_.ciphertext,b=_.salt;return b?F=i.create([1398893684,1701076831]).concat(b).concat(v):F=v,F.toString(c)},parse:function(_){var F,v=c.parse(_),b=v.words;return b[0]==1398893684&&b[1]==1701076831&&(F=i.create(b.slice(2,4)),b.splice(0,4),v.sigBytes-=16),W.create({ciphertext:v,salt:F})}},J=a.SerializableCipher=r.extend({cfg:r.extend({format:X}),encrypt:function(_,F,v,b){b=this.cfg.extend(b);var x=_.createEncryptor(v,b),L=x.finalize(F),M=x.cfg;return W.create({ciphertext:L,key:v,iv:M.iv,algorithm:_,mode:M.mode,padding:M.padding,blockSize:_.blockSize,formatter:b.format})},decrypt:function(_,F,v,b){b=this.cfg.extend(b),F=this._parse(F,b.format);var x=_.createDecryptor(v,b).finalize(F.ciphertext);return x},_parse:function(_,F){return typeof _=="string"?F.parse(_,this):_}}),j=t.kdf={},z=j.OpenSSL={execute:function(_,F,v,b,x){if(b||(b=i.random(64/8)),x)var L=l.create({keySize:F+v,hasher:x}).compute(_,b);else var L=l.create({keySize:F+v}).compute(_,b);var M=i.create(L.words.slice(F),v*4);return L.sigBytes=F*4,W.create({key:L,iv:M,salt:b})}},P=a.PasswordBasedCipher=J.extend({cfg:J.cfg.extend({kdf:z}),encrypt:function(_,F,v,b){b=this.cfg.extend(b);var x=b.kdf.execute(v,_.keySize,_.ivSize,b.salt,b.hasher);b.iv=x.iv;var L=J.encrypt.call(this,_,F,x.key,b);return L.mixIn(x),L},decrypt:function(_,F,v,b){b=this.cfg.extend(b),F=this._parse(F,b.format);var x=b.kdf.execute(v,_.keySize,_.ivSize,F.salt,b.hasher);b.iv=x.iv;var L=J.decrypt.call(this,_,F,x.key,b);return L}})}()})});var vJe=B((jq,gJe)=>{p();u();(function(n,e,t){typeof jq=="object"?gJe.exports=jq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(jq,function(n){return n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(a,r){var i=this._cipher,s=i.blockSize;t.call(this,a,r,s,i),this._prevBlock=a.slice(r,r+s)}}),e.Decryptor=e.extend({processBlock:function(a,r){var i=this._cipher,s=i.blockSize,f=a.slice(r,r+s);t.call(this,a,r,s,i),this._prevBlock=f}});function t(a,r,i,s){var f,o=this._iv;o?(f=o.slice(0),this._iv=void 0):f=this._prevBlock,s.encryptBlock(f,0);for(var c=0;c{p();u();(function(n,e,t){typeof Gq=="object"?TJe.exports=Gq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Gq,function(n){return n.mode.CTR=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(a,r){var i=this._cipher,s=i.blockSize,f=this._iv,o=this._counter;f&&(o=this._counter=f.slice(0),this._iv=void 0);var c=o.slice(0);i.encryptBlock(c,0),o[s-1]=o[s-1]+1|0;for(var d=0;d{p();u();(function(n,e,t){typeof Kq=="object"?wJe.exports=Kq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Kq,function(n){return n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(i){if((i>>24&255)===255){var s=i>>16&255,f=i>>8&255,o=i&255;s===255?(s=0,f===255?(f=0,o===255?o=0:++o):++f):++s,i=0,i+=s<<16,i+=f<<8,i+=o}else i+=1<<24;return i}function a(i){return(i[0]=t(i[0]))===0&&(i[1]=t(i[1])),i}var r=e.Encryptor=e.extend({processBlock:function(i,s){var f=this._cipher,o=f.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0),a(d);var l=d.slice(0);f.encryptBlock(l,0);for(var y=0;y{p();u();(function(n,e,t){typeof Qq=="object"?IJe.exports=Qq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Qq,function(n){return n.mode.OFB=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(a,r){var i=this._cipher,s=i.blockSize,f=this._iv,o=this._keystream;f&&(o=this._keystream=f.slice(0),this._iv=void 0),i.encryptBlock(o,0);for(var c=0;c{p();u();(function(n,e,t){typeof Yq=="object"?DJe.exports=Yq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Yq,function(n){return n.mode.ECB=function(){var e=n.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,a){this._cipher.encryptBlock(t,a)}}),e.Decryptor=e.extend({processBlock:function(t,a){this._cipher.decryptBlock(t,a)}}),e}(),n.mode.ECB})});var AJe=B((Jq,SJe)=>{p();u();(function(n,e,t){typeof Jq=="object"?SJe.exports=Jq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Jq,function(n){return n.pad.AnsiX923={pad:function(e,t){var a=e.sigBytes,r=t*4,i=r-a%r,s=a+i-1;e.clamp(),e.words[s>>>2]|=i<<24-s%4*8,e.sigBytes+=i},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Ansix923})});var PJe=B((Xq,kJe)=>{p();u();(function(n,e,t){typeof Xq=="object"?kJe.exports=Xq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Xq,function(n){return n.pad.Iso10126={pad:function(e,t){var a=t*4,r=a-e.sigBytes%a;e.concat(n.lib.WordArray.random(r-1)).concat(n.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Iso10126})});var LJe=B((Zq,RJe)=>{p();u();(function(n,e,t){typeof Zq=="object"?RJe.exports=Zq=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Zq,function(n){return n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971})});var BJe=B((eH,MJe)=>{p();u();(function(n,e,t){typeof eH=="object"?MJe.exports=eH=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(eH,function(n){return n.pad.ZeroPadding={pad:function(e,t){var a=t*4;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){for(var t=e.words,a=e.sigBytes-1,a=e.sigBytes-1;a>=0;a--)if(t[a>>>2]>>>24-a%4*8&255){e.sigBytes=a+1;break}}},n.pad.ZeroPadding})});var FJe=B((tH,NJe)=>{p();u();(function(n,e,t){typeof tH=="object"?NJe.exports=tH=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(tH,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})});var VJe=B((nH,OJe)=>{p();u();(function(n,e,t){typeof nH=="object"?OJe.exports=nH=e(jn(),Fs()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(nH,function(n){return function(e){var t=n,a=t.lib,r=a.CipherParams,i=t.enc,s=i.Hex,f=t.format,o=f.Hex={stringify:function(c){return c.ciphertext.toString(s)},parse:function(c){var d=s.parse(c);return r.create({ciphertext:d})}}}(),n.format.Hex})});var UJe=B((aH,$Je)=>{p();u();(function(n,e,t){typeof aH=="object"?$Je.exports=aH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(aH,function(n){return function(){var e=n,t=e.lib,a=t.BlockCipher,r=e.algo,i=[],s=[],f=[],o=[],c=[],d=[],l=[],y=[],h=[],T=[];(function(){for(var N=[],U=0;U<256;U++)U<128?N[U]=U<<1:N[U]=U<<1^283;for(var q=0,W=0,U=0;U<256;U++){var G=W^W<<1^W<<2^W<<3^W<<4;G=G>>>8^G&255^99,i[q]=G,s[G]=q;var X=N[q],J=N[X],j=N[J],z=N[G]*257^G*16843008;f[q]=z<<24|z>>>8,o[q]=z<<16|z>>>16,c[q]=z<<8|z>>>24,d[q]=z;var z=j*16843009^J*65537^X*257^q*16843008;l[G]=z<<24|z>>>8,y[G]=z<<16|z>>>16,h[G]=z<<8|z>>>24,T[G]=z,q?(q=X^N[N[N[j^X]]],W^=N[N[W]]):q=W=1}})();var A=[0,1,2,4,8,16,32,64,128,27,54],O=r.AES=a.extend({_doReset:function(){var N;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var U=this._keyPriorReset=this._key,q=U.words,W=U.sigBytes/4,G=this._nRounds=W+6,X=(G+1)*4,J=this._keySchedule=[],j=0;j6&&j%W==4&&(N=i[N>>>24]<<24|i[N>>>16&255]<<16|i[N>>>8&255]<<8|i[N&255]):(N=N<<8|N>>>24,N=i[N>>>24]<<24|i[N>>>16&255]<<16|i[N>>>8&255]<<8|i[N&255],N^=A[j/W|0]<<24),J[j]=J[j-W]^N);for(var z=this._invKeySchedule=[],P=0;P>>24]]^y[i[N>>>16&255]]^h[i[N>>>8&255]]^T[i[N&255]]}}},encryptBlock:function(N,U){this._doCryptBlock(N,U,this._keySchedule,f,o,c,d,i)},decryptBlock:function(N,U){var q=N[U+1];N[U+1]=N[U+3],N[U+3]=q,this._doCryptBlock(N,U,this._invKeySchedule,l,y,h,T,s);var q=N[U+1];N[U+1]=N[U+3],N[U+3]=q},_doCryptBlock:function(N,U,q,W,G,X,J,j){for(var z=this._nRounds,P=N[U]^q[0],_=N[U+1]^q[1],F=N[U+2]^q[2],v=N[U+3]^q[3],b=4,x=1;x>>24]^G[_>>>16&255]^X[F>>>8&255]^J[v&255]^q[b++],M=W[_>>>24]^G[F>>>16&255]^X[v>>>8&255]^J[P&255]^q[b++],w=W[F>>>24]^G[v>>>16&255]^X[P>>>8&255]^J[_&255]^q[b++],g=W[v>>>24]^G[P>>>16&255]^X[_>>>8&255]^J[F&255]^q[b++];P=L,_=M,F=w,v=g}var L=(j[P>>>24]<<24|j[_>>>16&255]<<16|j[F>>>8&255]<<8|j[v&255])^q[b++],M=(j[_>>>24]<<24|j[F>>>16&255]<<16|j[v>>>8&255]<<8|j[P&255])^q[b++],w=(j[F>>>24]<<24|j[v>>>16&255]<<16|j[P>>>8&255]<<8|j[_&255])^q[b++],g=(j[v>>>24]<<24|j[P>>>16&255]<<16|j[_>>>8&255]<<8|j[F&255])^q[b++];N[U]=L,N[U+1]=M,N[U+2]=w,N[U+3]=g},keySize:256/32});e.AES=a._createHelper(O)}(),n.AES})});var HJe=B((rH,qJe)=>{p();u();(function(n,e,t){typeof rH=="object"?qJe.exports=rH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(rH,function(n){return function(){var e=n,t=e.lib,a=t.WordArray,r=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=i.DES=r.extend({_doReset:function(){for(var A=this._key,O=A.words,N=[],U=0;U<56;U++){var q=s[U]-1;N[U]=O[q>>>5]>>>31-q%32&1}for(var W=this._subKeys=[],G=0;G<16;G++){for(var X=W[G]=[],J=o[G],U=0;U<24;U++)X[U/6|0]|=N[(f[U]-1+J)%28]<<31-U%6,X[4+(U/6|0)]|=N[28+(f[U+24]-1+J)%28]<<31-U%6;X[0]=X[0]<<1|X[0]>>>31;for(var U=1;U<7;U++)X[U]=X[U]>>>(U-1)*4+3;X[7]=X[7]<<5|X[7]>>>27}for(var j=this._invSubKeys=[],U=0;U<16;U++)j[U]=W[15-U]},encryptBlock:function(A,O){this._doCryptBlock(A,O,this._subKeys)},decryptBlock:function(A,O){this._doCryptBlock(A,O,this._invSubKeys)},_doCryptBlock:function(A,O,N){this._lBlock=A[O],this._rBlock=A[O+1],y.call(this,4,252645135),y.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),y.call(this,1,1431655765);for(var U=0;U<16;U++){for(var q=N[U],W=this._lBlock,G=this._rBlock,X=0,J=0;J<8;J++)X|=c[J][((G^q[J])&d[J])>>>0];this._lBlock=G,this._rBlock=W^X}var j=this._lBlock;this._lBlock=this._rBlock,this._rBlock=j,y.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),y.call(this,16,65535),y.call(this,4,252645135),A[O]=this._lBlock,A[O+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function y(A,O){var N=(this._lBlock>>>A^this._rBlock)&O;this._rBlock^=N,this._lBlock^=N<>>A^this._lBlock)&O;this._lBlock^=N,this._rBlock^=N<192.");var N=O.slice(0,2),U=O.length<4?O.slice(0,2):O.slice(2,4),q=O.length<6?O.slice(0,2):O.slice(4,6);this._des1=l.createEncryptor(a.create(N)),this._des2=l.createEncryptor(a.create(U)),this._des3=l.createEncryptor(a.create(q))},encryptBlock:function(A,O){this._des1.encryptBlock(A,O),this._des2.decryptBlock(A,O),this._des3.encryptBlock(A,O)},decryptBlock:function(A,O){this._des3.decryptBlock(A,O),this._des2.encryptBlock(A,O),this._des1.decryptBlock(A,O)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(T)}(),n.TripleDES})});var WJe=B((iH,zJe)=>{p();u();(function(n,e,t){typeof iH=="object"?zJe.exports=iH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(iH,function(n){return function(){var e=n,t=e.lib,a=t.StreamCipher,r=e.algo,i=r.RC4=a.extend({_doReset:function(){for(var o=this._key,c=o.words,d=o.sigBytes,l=this._S=[],y=0;y<256;y++)l[y]=y;for(var y=0,h=0;y<256;y++){var T=y%d,A=c[T>>>2]>>>24-T%4*8&255;h=(h+l[y]+A)%256;var O=l[y];l[y]=l[h],l[h]=O}this._i=this._j=0},_doProcessBlock:function(o,c){o[c]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var o=this._S,c=this._i,d=this._j,l=0,y=0;y<4;y++){c=(c+1)%256,d=(d+o[c])%256;var h=o[c];o[c]=o[d],o[d]=h,l|=o[(o[c]+o[d])%256]<<24-y*8}return this._i=c,this._j=d,l}e.RC4=a._createHelper(i);var f=r.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)s.call(this)}});e.RC4Drop=a._createHelper(f)}(),n.RC4})});var GJe=B((sH,jJe)=>{p();u();(function(n,e,t){typeof sH=="object"?jJe.exports=sH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(sH,function(n){return function(){var e=n,t=e.lib,a=t.StreamCipher,r=e.algo,i=[],s=[],f=[],o=r.Rabbit=a.extend({_doReset:function(){for(var d=this._key.words,l=this.cfg.iv,y=0;y<4;y++)d[y]=(d[y]<<8|d[y]>>>24)&16711935|(d[y]<<24|d[y]>>>8)&4278255360;var h=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],T=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var y=0;y<4;y++)c.call(this);for(var y=0;y<8;y++)T[y]^=h[y+4&7];if(l){var A=l.words,O=A[0],N=A[1],U=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,q=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,W=U>>>16|q&4294901760,G=q<<16|U&65535;T[0]^=U,T[1]^=W,T[2]^=q,T[3]^=G,T[4]^=U,T[5]^=W,T[6]^=q,T[7]^=G;for(var y=0;y<4;y++)c.call(this)}},_doProcessBlock:function(d,l){var y=this._X;c.call(this),i[0]=y[0]^y[5]>>>16^y[3]<<16,i[1]=y[2]^y[7]>>>16^y[5]<<16,i[2]=y[4]^y[1]>>>16^y[7]<<16,i[3]=y[6]^y[3]>>>16^y[1]<<16;for(var h=0;h<4;h++)i[h]=(i[h]<<8|i[h]>>>24)&16711935|(i[h]<<24|i[h]>>>8)&4278255360,d[l+h]^=i[h]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,y=0;y<8;y++)s[y]=l[y];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var y=0;y<8;y++){var h=d[y]+l[y],T=h&65535,A=h>>>16,O=((T*T>>>17)+T*A>>>15)+A*A,N=((h&4294901760)*h|0)+((h&65535)*h|0);f[y]=O^N}d[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,d[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,d[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,d[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,d[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,d[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,d[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,d[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}e.Rabbit=a._createHelper(o)}(),n.Rabbit})});var QJe=B((fH,KJe)=>{p();u();(function(n,e,t){typeof fH=="object"?KJe.exports=fH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(fH,function(n){return function(){var e=n,t=e.lib,a=t.StreamCipher,r=e.algo,i=[],s=[],f=[],o=r.RabbitLegacy=a.extend({_doReset:function(){var d=this._key.words,l=this.cfg.iv,y=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],h=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var T=0;T<4;T++)c.call(this);for(var T=0;T<8;T++)h[T]^=y[T+4&7];if(l){var A=l.words,O=A[0],N=A[1],U=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,q=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,W=U>>>16|q&4294901760,G=q<<16|U&65535;h[0]^=U,h[1]^=W,h[2]^=q,h[3]^=G,h[4]^=U,h[5]^=W,h[6]^=q,h[7]^=G;for(var T=0;T<4;T++)c.call(this)}},_doProcessBlock:function(d,l){var y=this._X;c.call(this),i[0]=y[0]^y[5]>>>16^y[3]<<16,i[1]=y[2]^y[7]>>>16^y[5]<<16,i[2]=y[4]^y[1]>>>16^y[7]<<16,i[3]=y[6]^y[3]>>>16^y[1]<<16;for(var h=0;h<4;h++)i[h]=(i[h]<<8|i[h]>>>24)&16711935|(i[h]<<24|i[h]>>>8)&4278255360,d[l+h]^=i[h]},blockSize:128/32,ivSize:64/32});function c(){for(var d=this._X,l=this._C,y=0;y<8;y++)s[y]=l[y];l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0;for(var y=0;y<8;y++){var h=d[y]+l[y],T=h&65535,A=h>>>16,O=((T*T>>>17)+T*A>>>15)+A*A,N=((h&4294901760)*h|0)+((h&65535)*h|0);f[y]=O^N}d[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,d[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,d[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,d[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,d[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,d[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,d[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,d[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}e.RabbitLegacy=a._createHelper(o)}(),n.RabbitLegacy})});var JJe=B((oH,YJe)=>{p();u();(function(n,e,t){typeof oH=="object"?YJe.exports=oH=e(jn(),i3(),s3(),ly(),Fs()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(oH,function(n){return function(){var e=n,t=e.lib,a=t.BlockCipher,r=e.algo;let i=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],f=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function c(T,A){let O=A>>24&255,N=A>>16&255,U=A>>8&255,q=A&255,W=T.sbox[0][O]+T.sbox[1][N];return W=W^T.sbox[2][U],W=W+T.sbox[3][q],W}function d(T,A,O){let N=A,U=O,q;for(let W=0;W1;--W)N=N^T.pbox[W],U=c(T,N)^U,q=N,N=U,U=q;return q=N,N=U,U=q,U=U^T.pbox[1],N=N^T.pbox[0],{left:N,right:U}}function y(T,A,O){for(let G=0;G<4;G++){T.sbox[G]=[];for(let X=0;X<256;X++)T.sbox[G][X]=f[G][X]}let N=0;for(let G=0;G=O&&(N=0);let U=0,q=0,W=0;for(let G=0;G{p();u();(function(n,e,t){typeof cH=="object"?XJe.exports=cH=e(jn(),lA(),YYe(),XYe(),i3(),tJe(),s3(),Eoe(),q_(),iJe(),Doe(),oJe(),dJe(),pJe(),qq(),mJe(),ly(),Fs(),vJe(),_Je(),xJe(),EJe(),CJe(),AJe(),PJe(),LJe(),BJe(),FJe(),VJe(),UJe(),HJe(),WJe(),GJe(),QJe(),JJe()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],e):n.CryptoJS=e(n.CryptoJS)})(cH,function(n){return n})});var pA=B(b7=>{"use strict";p();u();var Hj0=b7&&b7.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(b7,"__esModule",{value:!0});b7.Base=void 0;var Kf=ki(),Coe=Hj0(ZJe()),dH=class n{print(){n.print(this)}bufferIndexOf(e,t,a=!1){if(a)return this.binarySearch(e,t,Kf.Buffer.compare);let r=(i,s)=>i.equals(s);return this.linearSearch(e,t,r)}static binarySearch(e,t,a){let r=0,i=e.length-1;for(;r<=i;){let s=Math.floor((r+i)/2),f=a(e[s],t);if(f===0){for(let o=s-1;o>=0;o--)if(a(e[o],t)!==0)return o+1;return 0}else f<0?r=s+1:i=s-1}return-1}binarySearch(e,t,a){return n.binarySearch(e,t,a)}static linearSearch(e,t,a){for(let r=0;r{let a=e(t);return Kf.Buffer.isBuffer(a)?a:this.isHexString(a)?Kf.Buffer.from(a.replace("0x",""),"hex"):typeof a=="string"?Kf.Buffer.from(a):typeof a=="bigint"?Kf.Buffer.from(t.toString(16),"hex"):ArrayBuffer.isView(a)?Kf.Buffer.from(a.buffer,a.byteOffset,a.byteLength):Kf.Buffer.from(e(Coe.default.enc.Hex.parse(t.toString("hex"))).toString(Coe.default.enc.Hex),"hex")}}isHexString(e){return n.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,t){return e.map((a,r)=>[a,t[r]])}static hexZeroPad(e,t){return"0x"+e.replace("0x","").padStart(t,"0")}};b7.Base=dH;b7.default=dH});var eXe=B(h7=>{"use strict";p();u();var lH=h7&&h7.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(h7,"__esModule",{value:!0});h7.MerkleTree=void 0;var lf=ki(),py=lH(xoe()),Soe=lH(q_()),zj0=lH(Sq()),Wj0=lH(pA()),uA=class n extends Wj0.default{constructor(e,t=Soe.default,a={}){if(super(),this.duplicateOdd=!1,this.concatenator=lf.Buffer.concat,this.hashLeaves=!1,this.isBitcoinTree=!1,this.leaves=[],this.layers=[],this.sortLeaves=!1,this.sortPairs=!1,this.sort=!1,this.fillDefaultHash=null,this.complete=!1,a.complete){if(a.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(a.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!a.isBitcoinTree,this.hashLeaves=!!a.hashLeaves,this.sortLeaves=!!a.sortLeaves,this.sortPairs=!!a.sortPairs,this.complete=!!a.complete,a.fillDefaultHash)if(typeof a.fillDefaultHash=="function")this.fillDefaultHash=a.fillDefaultHash;else if(lf.Buffer.isBuffer(a.fillDefaultHash)||typeof a.fillDefaultHash=="string")this.fillDefaultHash=(r,i)=>a.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!a.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!a.duplicateOdd,a.concatenator&&(this.concatenator=a.concatenator),this.hashFn=this.bufferifyFn(t),this.processLeaves(e)}getOptions(){var e,t;return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:(t=(e=this.fillDefaultHash)===null||e===void 0?void 0:e.toString())!==null&&t!==void 0?t:null,duplicateOdd:this.duplicateOdd}}processLeaves(e){if(this.hashLeaves&&(e=e.map(this.hashFn)),this.leaves=e.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(lf.Buffer.compare)),this.fillDefaultHash)for(let t=this.leaves.length;t1;){let t=this.layers.length;this.layers.push([]);let a=this.complete&&t===1&&!Number.isInteger(Math.log2(e.length))?2*e.length-Math.pow(2,Math.ceil(Math.log2(e.length))):e.length;for(let r=0;r=a){this.layers[t].push(...e.slice(a));break}else if(r+1===e.length&&e.length%2===1){let c=e[e.length-1],d=c;if(this.isBitcoinTree){d=this.hashFn(this.concatenator([py.default(c),py.default(c)])),d=py.default(this.hashFn(d)),this.layers[t].push(d);continue}else if(!this.duplicateOdd){this.layers[t].push(e[r]);continue}}let i=e[r],s=r+1===e.length?i:e[r+1],f=null;this.isBitcoinTree?f=[py.default(i),py.default(s)]:f=[i,s],this.sortPairs&&f.sort(lf.Buffer.compare);let o=this.hashFn(this.concatenator(f));this.isBitcoinTree&&(o=py.default(this.hashFn(o))),this.layers[t].push(o)}e=this.layers[t]}}addLeaf(e,t=!1){t&&(e=this.hashFn(e)),this.processLeaves(this.leaves.concat(e))}addLeaves(e,t=!1){t&&(e=e.map(this.hashFn)),this.processLeaves(this.leaves.concat(e))}getLeaves(e){return Array.isArray(e)?(this.hashLeaves&&(e=e.map(this.hashFn),this.sortLeaves&&(e=e.sort(lf.Buffer.compare))),this.leaves.filter(t=>this.bufferIndexOf(e,t,this.sortLeaves)!==-1)):this.leaves}getLeaf(e){return e<0||e>this.leaves.length-1?lf.Buffer.from([]):this.leaves[e]}getLeafIndex(e){e=this.bufferify(e);let t=this.getLeaves();for(let a=0;athis.bufferToHex(e))}static marshalLeaves(e){return JSON.stringify(e.map(t=>n.bufferToHex(t)),null,2)}static unmarshalLeaves(e){let t=null;if(typeof e=="string")t=JSON.parse(e);else if(e instanceof Object)t=e;else throw new Error("Expected type of string or object");if(!t)return[];if(!Array.isArray(t))throw new Error("Expected JSON string to be array");return t.map(n.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((e,t)=>(Array.isArray(t)?e.push(t.map(a=>this.bufferToHex(a))):e.push(t),e),[])}getLayersFlat(){let e=this.layers.reduce((t,a)=>(Array.isArray(a)?t.unshift(...a):t.unshift(a),t),[]);return e.unshift(lf.Buffer.from([0])),e}getHexLayersFlat(){return this.getLayersFlat().map(e=>this.bufferToHex(e))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?lf.Buffer.from([]):this.layers[this.layers.length-1][0]||lf.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(e,t){if(typeof e>"u")throw new Error("leaf is required");e=this.bufferify(e);let a=[];if(!Number.isInteger(t)){t=-1;for(let r=0;rthis.bufferToHex(a.data))}getProofs(){let e=[],t=[];return this.getProofsDFS(this.layers.length-1,0,e,t),t}getProofsDFS(e,t,a,r){let i=t%2;if(e===-1){i||r.push([...a].reverse());return}if(t>=this.layers[e].length)return;let s=this.layers[e],f=i?t-1:t+1,o=!1;fthis.bufferToHex(e.data))}getPositionalHexProof(e,t){return this.getProof(e,t).map(a=>[a.position==="left"?0:1,this.bufferToHex(a.data)])}static marshalProof(e){let t=e.map(a=>typeof a=="string"?a:lf.Buffer.isBuffer(a)?n.bufferToHex(a):{position:a.position,data:n.bufferToHex(a.data)});return JSON.stringify(t,null,2)}static unmarshalProof(e){let t=null;if(typeof e=="string")t=JSON.parse(e);else if(e instanceof Object)t=e;else throw new Error("Expected type of string or object");if(!t)return[];if(!Array.isArray(t))throw new Error("Expected JSON string to be array");return t.map(a=>{if(typeof a=="string")return n.bufferify(a);if(a instanceof Object)return{position:a.position,data:n.bufferify(a.data)};throw new Error("Expected item to be of type string or object")})}static marshalTree(e){let t=e.getHexRoot(),a=e.leaves.map(s=>n.bufferToHex(s)),r=e.getHexLayers(),i=e.getOptions();return JSON.stringify({options:i,root:t,layers:r,leaves:a},null,2)}static unmarshalTree(e,t=Soe.default,a={}){let r=null;if(typeof e=="string")r=JSON.parse(e);else if(e instanceof Object)r=e;else throw new Error("Expected type of string or object");if(!r)throw new Error("could not parse json");return a=Object.assign({},r.options||{},a),new n(r.leaves,t,a)}getProofIndices(e,t){let a=Math.pow(2,t),r=new Set;for(let c of e){let d=a+c;for(;d>1;)r.add(d^1),d=d/2|0}let i=e.map(c=>a+c),s=Array.from(r).sort((c,d)=>c-d).reverse();r=i.concat(s);let f=new Set,o=[];for(let c of r)if(!f.has(c))for(o.push(c);c>1&&(f.add(c),!!f.has(c^1));)c=c/2|0;return o.filter(c=>!e.includes(c-a))}getProofIndicesForUnevenTree(e,t){let a=Math.ceil(Math.log2(t)),r=[];for(let f=0;fl%2===0?l+1:l-1).filter(l=>!s.includes(l)),d=r.find(({index:l})=>l===f);d&&s.includes(d.leavesCount-1)&&(c=c.slice(0,-1)),i.push(c),s=[...new Set(s.map(l=>l%2===0?l/2:l%2===0?(l+1)/2:(l-1)/2))]}return i}getMultiProof(e,t){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),t||(t=e,e=this.getLayersFlat()),this.isUnevenTree()&&t.every(Number.isInteger))return this.getMultiProofForUnevenTree(t);if(!t.every(Number.isInteger)){let r=t;this.sortPairs&&(r=r.sort(lf.Buffer.compare));let i=r.map(c=>this.bufferIndexOf(this.leaves,c,this.sortLeaves)).sort((c,d)=>c===d?0:c>d?1:-1);if(!i.every(c=>c!==-1))throw new Error("Element does not exist in Merkle tree");let s=[],f=[],o=[];for(let c=0;ch.indexOf(l)===y),o=[]}return f.filter(c=>!s.includes(c))}return this.getProofIndices(t,Math.log2(e.length/2|0)).map(r=>e[r])}getMultiProofForUnevenTree(e,t){t||(t=e,e=this.getLayers());let a=[],r=t;for(let i of e){let s=[];for(let o of r){if(o%2===0){let d=o+1;if(!r.includes(d)&&i[d]){s.push(i[d]);continue}}let c=o-1;if(!r.includes(c)&&i[c]){s.push(i[c]);continue}}a=a.concat(s);let f=new Set;for(let o of r){if(o%2===0){f.add(o/2);continue}if(o%2===0){f.add((o+1)/2);continue}f.add((o-1)/2)}r=Array.from(f)}return a}getHexMultiProof(e,t){return this.getMultiProof(e,t).map(a=>this.bufferToHex(a))}getProofFlags(e,t){if(!Array.isArray(e)||e.length<=0)throw new Error("Invalid Inputs!");let a;if(e.every(Number.isInteger)?a=[...e].sort((f,o)=>f===o?0:f>o?1:-1):a=e.map(f=>this.bufferIndexOf(this.leaves,f,this.sortLeaves)).sort((f,o)=>f===o?0:f>o?1:-1),!a.every(f=>f!==-1))throw new Error("Element does not exist in Merkle tree");let r=t.map(f=>this.bufferify(f)),i=[],s=[];for(let f=0;f{if(!i.includes(o[d])){let y=this.getPairNode(o,d),h=r.includes(o[d])||r.includes(y);y&&s.push(!h),i.push(o[d]),i.push(y)}return c.push(d/2|0),c},[])}return s}verify(e,t,a){let r=this.bufferify(t);if(a=this.bufferify(a),!Array.isArray(e)||!t||!a)return!1;for(let i=0;ithis.bufferify(l)),i=i.map(l=>this.bufferify(l));let o={};for(let[l,y]of this.zip(t,a))o[Math.pow(2,f)+l]=y;for(let[l,y]of this.zip(this.getProofIndices(t,f),i))o[l]=y;let c=Object.keys(o).map(l=>+l).sort((l,y)=>l-y);c=c.slice(0,c.length-1);let d=0;for(;d=2&&{}.hasOwnProperty.call(o,l^1)){let y=[o[l-l%2],o[l-l%2+1]];this.sortPairs&&(y=y.sort(lf.Buffer.compare));let h=y[1]?this.hashFn(this.concatenator(y)):y[0];o[l/2|0]=h,c.push(l/2|0)}d+=1}return!t.length||{}.hasOwnProperty.call(o,1)&&o[1].equals(e)}verifyMultiProofWithFlags(e,t,a,r){e=this.bufferify(e),t=t.map(this.bufferify),a=a.map(this.bufferify);let i=t.length,s=r.length,f=[],o=0,c=0,d=0;for(let l=0;lthis.bufferify(f)),i=i.map(f=>this.bufferify(f));let s=this.calculateRootForUnevenTree(t,a,r,i);return e.equals(s)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(r,!1))),t=[];for(let a=0;al-y),s=i.map(([l])=>l),f=this.getProofIndicesForUnevenTree(s,a),o=0,c=[];for(let l=0;lO-N).map(([,O])=>O),h=d[l].map(([O])=>O),T=[...new Set(h.map(O=>O%2===0?O/2:O%2===0?(O+1)/2:(O-1)/2))],A=[];for(let O=0;O{"use strict";p();u();var tXe=g7&&g7.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(g7,"__esModule",{value:!0});g7.MerkleMountainRange=void 0;var yA=ki(),jj0=tXe(q_()),Gj0=tXe(pA()),mA=class extends Gj0.default{constructor(e=jj0.default,t=[],a,r,i){super(),this.root=yA.Buffer.alloc(0),this.size=0,this.width=0,this.hashes={},this.data={},t=t.map(this.bufferify),this.hashFn=this.bufferifyFn(e),this.hashLeafFn=a,this.peakBaggingFn=r,this.hashBranchFn=i;for(let s of t)this.append(s)}append(e){e=this.bufferify(e);let t=this.hashFn(e),a=this.bufferToHex(t);(!this.data[a]||this.bufferToHex(this.hashFn(this.data[a]))!==a)&&(this.data[a]=e);let r=this.hashLeaf(this.size+1,t);this.hashes[this.size+1]=r,this.width+=1;let i=this.getPeakIndexes(this.width);this.size=this.getSize(this.width);let s=[];for(let f=0;f0&&!(e&1<=t));s--);if(r!==a.length)throw new Error("invalid bit calculation");return a}numOfPeaks(e){let t=e,a=0;for(;t>0;)t%2===1&&a++,t=t>>1;return a}peakBagging(e,t){let a=this.getSize(e);if(this.numOfPeaks(e)!==t.length)throw new Error("received invalid number of peaks");return e===0&&!t.length?yA.Buffer.alloc(0):this.peakBaggingFn?this.bufferify(this.peakBaggingFn(a,t)):this.hashFn(yA.Buffer.concat([this.bufferify(a),...t.map(this.bufferify)]))}getSize(e){return(e<<1)-this.numOfPeaks(e)}getRoot(){return this.root}getHexRoot(){return this.bufferToHex(this.getRoot())}getNode(e){return this.hashes[e]}mountainHeight(e){let t=1;for(;1<a;)t-=(1<this.size)throw new Error("out of range");if(!this.isLeaf(e))throw new Error("not a leaf");let t=this.root,a=this.width,r=this.getPeakIndexes(this.width),i=[],s=0;for(let l=0;l=e&&s===0&&(s=r[l]);let f=0,o=0,c=this.heightAt(s),d=[];for(;s!==e;)c--,[f,o]=this.getChildren(s),s=e<=f?f:o,d[c-1]=this.hashes[e<=f?o:f];return{root:t,width:a,peakBagging:i,siblings:d}}verify(e,t,a,r,i,s){if(r=this.bufferify(r),this.getSize(t)=a){c=i[O],o=d[O];break}if(!c)throw new Error("target not found");let l=s.length+1,y=new Array(l),h=0,T=0;for(;l>0&&(y[--l]=o,o!==a);)[h,T]=this.getChildren(o),o=a>h?T:h;let A;for(;lthis.size)throw new Error("out of range");if(!this.hashes[e]){let[t,a]=this.getChildren(e),r=this._getOrCreateNode(t),i=this._getOrCreateNode(a);this.hashes[e]=this.hashBranch(e,r,i)}return this.hashes[e]}};g7.MerkleMountainRange=mA;typeof window<"u"&&(window.MerkleMountainRange=mA);g7.default=mA});var rXe=B(v7=>{"use strict";p();u();var aXe=v7&&v7.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(v7,"__esModule",{value:!0});v7.IncrementalMerkleTree=void 0;var Kj0=aXe(pA()),Qj0=aXe(Sq()),bA=class extends Kj0.default{constructor(e,t){if(super(),this.hashFn=e,t.depth&&(this.depth=t.depth),t.arity&&(this.arity=t.arity),this.depth<1)throw new Error("depth must be greater than 0");if(this.arity<1)throw new Error("arity must be greater than 0");let a=[],r=t.zeroValue;if(this.zeroValue=r,this.zeroes=[],this.depth)for(let i=0;i=this.getMaxLeaves())throw new Error("tree is full");let t=e,a=this.nodes[0].length;for(let r=0;r=this.nodes[0].length)throw new Error("out of bounds");let a=t;for(let r=0;rBigInt(t))}getLayers(){let e=[];for(let t of this.nodes)e.push(this.copyList(t));if(e[0].length=e[a].length&&(e[a][f]=this.zeroes[a]);t=Math.floor(t/this.arity)}}return e.push([this.root]),e}getHexLayers(){return this.getLayers().reduce((e,t)=>(Array.isArray(t)?e.push(t.map(a=>this.bufferToHex(this.bufferify(a)))):e.push(t),e),[])}getLayersAsObject(){let e=this.getLayers().map(a=>a.map(r=>this.bufferToHex(this.bufferify(r),!1))),t=[];for(let a=0;a=this.nodes[0].length)throw new Error("The leaf does not exist in this tree");let t=[],a=[],r=e;for(let i=0;i{"use strict";p();u();Object.defineProperty(ep,"__esModule",{value:!0});ep.MerkleSumTree=ep.ProofStep=ep.Leaf=ep.Bucket=void 0;var Yj0=pA(),H_=class{constructor(e,t){this.size=BigInt(e),this.hashed=t,this.parent=null,this.left=null,this.right=null}};ep.Bucket=H_;var Aoe=class{constructor(e,t,a){this.hashFn=e,this.rng=t.map(r=>BigInt(r)),this.data=a}getBucket(){let e;return this.data?e=this.hashFn(this.data):e=D.Buffer.alloc(32),new H_(BigInt(this.rng[1])-BigInt(this.rng[0]),e)}};ep.Leaf=Aoe;var pH=class{constructor(e,t){this.bucket=e,this.right=t}};ep.ProofStep=pH;var hA=class n extends Yj0.Base{constructor(e,t){super(),this.leaves=e,this.hashFn=t,n.checkConsecutive(e),this.buckets=[];for(let r of e)this.buckets.push(r.getBucket());let a=[];for(let r of this.buckets)a.push(r);for(;a.length!==1;){let r=[];for(;a.length;)if(a.length>=2){let i=a.shift(),s=a.shift(),f=i.size+s.size,o=this.hashFn(D.Buffer.concat([this.sizeToBuffer(i.size),this.bufferify(i.hashed),this.sizeToBuffer(s.size),this.bufferify(s.hashed)])),c=new H_(f,o);s.parent=c,i.parent=s.parent,i.right=s,s.left=i,r.push(c)}else r.push(a.shift());a=r}this.root=a[0]}sizeToBuffer(e){let t=D.Buffer.alloc(8);return new DataView(t.buffer).setBigInt64(0,BigInt(e),!1),t}static checkConsecutive(e){let t=BigInt(0);for(let a of e){if(a.rng[0]!==t)throw new Error("leaf ranges are invalid");t=BigInt(a.rng[1])}}getProof(e){let t=this.buckets[Number(e)],a=[];for(;t&&t.parent;){let r=!!t.right,i=t.right?t.right:t.left;t=t.parent,a.push(new pH(i,r))}return a}sum(e){let t=BigInt(0);for(let a of e)t+=BigInt(a);return t}verifyProof(e,t,a){let r=[this.sum(a.filter(f=>!f.right).map(f=>f.bucket.size)),BigInt(e.size)-this.sum(a.filter(f=>f.right).map(f=>f.bucket.size))];if(!(r[0]===t.rng[0]&&r[1]===t.rng[1]))return!1;let i=t.getBucket(),s;for(let f of a)f.right?s=this.hashFn(D.Buffer.concat([this.sizeToBuffer(i.size),this.bufferify(i.hashed),this.sizeToBuffer(f.bucket.size),this.bufferify(f.bucket.hashed)])):s=this.hashFn(D.Buffer.concat([this.sizeToBuffer(f.bucket.size),this.bufferify(f.bucket.hashed),this.sizeToBuffer(i.size),this.bufferify(i.hashed)])),i=new H_(BigInt(i.size)+BigInt(f.bucket.size),s);return i.size===e.size&&i.hashed.toString("hex")===e.hashed.toString("hex")}};ep.MerkleSumTree=hA;typeof window<"u"&&(window.MerkleSumTree=hA);ep.default=hA});var fXe=B(B5=>{"use strict";p();u();var Jj0=B5&&B5.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(B5,"__esModule",{value:!0});B5.MerkleTree=void 0;var sXe=Jj0(eXe());B5.MerkleTree=sXe.default;var Xj0=nXe();Object.defineProperty(B5,"MerkleMountainRange",{enumerable:!0,get:function(){return Xj0.MerkleMountainRange}});var Zj0=rXe();Object.defineProperty(B5,"IncrementalMerkleTree",{enumerable:!0,get:function(){return Zj0.IncrementalMerkleTree}});var eG0=iXe();Object.defineProperty(B5,"MerkleSumTree",{enumerable:!0,get:function(){return eG0.MerkleSumTree}});B5.default=sXe.default});var cXe=B(R1=>{"use strict";p();u();var tG0=R1&&R1.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),nG0=R1&&R1.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),aG0=R1&&R1.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&tG0(e,n,t);return nG0(e,n),e};Object.defineProperty(R1,"__esModule",{value:!0});R1.makeStateTrieProof=R1.maybeAddProofNode=R1.makeMerkleTreeProof=void 0;var z_=fy(),uH=Ue(),rG0=fXe(),oXe=aG0(yq()),iG0=(n,e)=>{let t=Math.pow(2,Math.ceil(Math.log2(n.length))),a=[];for(let f=0;f(0,z_.fromHexString)(uH.ethers.utils.keccak256(f))).getProof(r[e],e).map(f=>(0,z_.toHexString)(f.data))};R1.makeMerkleTreeProof=iG0;var sG0=(n,e)=>{let t=[...e],a=t[t.length-1],r=oXe.decode(a);if(r.length===17){for(let i of r)if(Array.isArray(i)){let s=(0,z_.toHexString)(i[0]).slice(3);n.endsWith(s)&&t.push((0,z_.toHexString)(oXe.encode(i)))}}return t};R1.maybeAddProofNode=sG0;var fG0=async(n,e,t,a)=>{let r=await n.send("eth_getProof",[t,[a],(0,z_.toRpcHexString)(e)]);return r.storageProof[0].proof=(0,R1.maybeAddProofNode)(uH.ethers.utils.keccak256(a),r.storageProof[0].proof),{accountProof:r.accountProof,storageProof:r.storageProof[0].proof,storageValue:uH.BigNumber.from(r.storageProof[0].value),storageRoot:r.storageHash}};R1.makeStateTrieProof=fG0});var dXe=B(f3=>{"use strict";p();u();Object.defineProperty(f3,"__esModule",{value:!0});f3.migratedWithdrawalGasLimit=f3.hashMessageHash=f3.hashLowLevelMessage=void 0;var oG0=fy(),xc=Ue(),{hexDataLength:cG0}=xc.utils,dG0=xc.BigNumber.from(2e5),lG0=xc.BigNumber.from(16),pG0=xc.BigNumber.from(64),uG0=xc.BigNumber.from(63),yG0=xc.BigNumber.from(4e4),mG0=xc.BigNumber.from(4e4),bG0=xc.BigNumber.from(5e3),hG0=n=>(0,oG0.hashWithdrawal)(n.messageNonce,n.sender,n.target,n.value,n.minGasLimit,n.message);f3.hashLowLevelMessage=hG0;var gG0=n=>{let e=xc.ethers.utils.defaultAbiCoder.encode(["bytes32","uint256"],[n,xc.ethers.constants.HashZero]);return xc.ethers.utils.keccak256(e)};f3.hashMessageHash=gG0;var vG0=(n,e)=>{let t=xc.BigNumber.from(cG0(n)).mul(lG0),a;if(e===420)a=xc.BigNumber.from(2e5);else{let i=pG0.mul(1e6).div(uG0);a=dG0.add(i).add(yG0).add(mG0).add(bG0)}let r=t.add(a);return r.gt(25e6)&&(r=xc.BigNumber.from(25e6)),r};f3.migratedWithdrawalGasLimit=vG0});var pXe=B(lXe=>{"use strict";p();u();Object.defineProperty(lXe,"__esModule",{value:!0})});var yH=B(pd=>{"use strict";p();u();var TG0=pd&&pd.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),T7=pd&&pd.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&TG0(e,n,t)};Object.defineProperty(pd,"__esModule",{value:!0});T7(_oe(),pd);T7(y7(),pd);T7(HYe(),pd);T7(cXe(),pd);T7(dXe(),pd);T7(Kfe(),pd);T7(pXe(),pd)});var yXe=B(L6=>{"use strict";p();u();var _G0=L6&&L6.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),wG0=L6&&L6.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),xG0=L6&&L6.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&_G0(e,n,t);return wG0(e,n),e},IG0=L6&&L6.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(L6,"__esModule",{value:!0});L6.CrossChainMessenger=void 0;var mH=B_(),pf=fy(),bH=q8(),ns=Ue(),uXe=xG0(yq()),EG0=IG0(EYe()),B0=N_(),jr=yH(),koe=class{constructor(e){var t;this._outputCache=[],this.populateTransaction={sendMessage:async(a,r)=>a.direction===B0.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,r?.l2GasLimit||await this.estimateL2MessageGasLimit(a),r?.overrides||{}):this.contracts.l2.L2CrossDomainMessenger.populateTransaction.sendMessage(a.target,a.message,0,r?.overrides||{}),resendMessage:async(a,r,i,s=0)=>{let f=await this.toCrossChainMessage(a,s);if(f.direction===B0.MessageDirection.L2_TO_L1)throw new Error("cannot resend L2 to L1 message");return this.bedrock?this.populateTransaction.finalizeMessage(f,Object.assign(Object.assign({},i||{}),{overrides:Object.assign(Object.assign({},i?.overrides),{gasLimit:r})}),s):new ns.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,mH.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.replayMessage(f.target,f.sender,f.message,f.messageNonce,f.minGasLimit,r,i?.overrides||{})},proveMessage:async(a,r,i=0)=>{let s=await this.toCrossChainMessage(a,i);if(s.direction===B0.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");let f=await this.toLowLevelMessage(s,i),o=await this.getBedrockMessageProof(s,i),c=[[f.messageNonce,f.sender,f.target,f.value,f.minGasLimit,f.message],o.l2OutputIndex,[o.outputRootProof.version,o.outputRootProof.stateRoot,o.outputRootProof.messagePasserStorageRoot,o.outputRootProof.latestBlockhash],o.withdrawalProof,r?.overrides||{}];return this.contracts.l1.OptimismPortal.populateTransaction.proveWithdrawalTransaction(...c)},finalizeMessage:async(a,r,i=0)=>{let s=await this.toCrossChainMessage(a,i);if(s.direction===B0.MessageDirection.L1_TO_L2)throw new Error("cannot finalize L1 to L2 message");if(this.bedrock){let f=(0,pf.hashCrossDomainMessagev1)(s.messageNonce,s.sender,s.target,s.value,s.minGasLimit,s.message),[o,c]=await Promise.allSettled([this.contracts.l1.L1CrossDomainMessenger.failedMessages(f),this.toLowLevelMessage(s,i)]);if(o.status==="rejected"||c.status==="rejected"){let d=[o,c].filter(l=>l.status==="rejected").map(l=>l.reason);throw d.length>1?new AggregateError(d):d[0]}if(o.value===!0){let d=this.contracts.l1.L1CrossDomainMessenger.interface.decodeFunctionData("relayMessage",c.value.message);return this.contracts.l1.L1CrossDomainMessenger.populateTransaction.relayMessage(d._nonce,d._sender,d._target,d._value,d._minGasLimit,d._message,r?.overrides||{})}return this.contracts.l1.OptimismPortal.populateTransaction.finalizeWithdrawalTransaction([c.value.messageNonce,c.value.sender,c.value.target,c.value.value,c.value.minGasLimit,c.value.message],r?.overrides||{})}else{let f=await this.getMessageProof(s,i);return new ns.ethers.Contract(this.contracts.l1.L1CrossDomainMessenger.address,(0,mH.getContractInterface)("L1CrossDomainMessenger"),this.l1SignerOrProvider).populateTransaction.relayMessage(s.target,s.sender,s.message,s.messageNonce,f,r?.overrides||{})}},depositETH:async(a,r,i=!1)=>{let s=async()=>{if(i)return r;let f=await this.estimateGas.depositETH(a,r);return Object.assign(Object.assign({},r),{overrides:Object.assign(Object.assign({},r?.overrides),{gasLimit:f.add(f.div(2))})})};return this.bridges.ETH.populateTransaction.deposit(ns.ethers.constants.AddressZero,mH.predeploys.OVM_ETH,a,await s())},withdrawETH:async(a,r)=>this.bridges.ETH.populateTransaction.withdraw(ns.ethers.constants.AddressZero,mH.predeploys.OVM_ETH,a,r),approveERC20:async(a,r,i,s)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.approve(a,r,i,s),depositERC20:async(a,r,i,s,f=!1)=>{let o=await this.getBridgeForTokenPair(a,r),c=async()=>{var d,l,y,h;if(f)return s;if(!ns.ethers.Signer.isSigner(this.l1SignerOrProvider))throw new Error("unable to deposit without an l1 signer");let T=this.l1SignerOrProvider.getAddress(),A=await this.estimateGas.depositERC20(a,r,i,Object.assign(Object.assign({},s),{overrides:Object.assign(Object.assign({},s?.overrides),{from:(l=(d=s?.overrides)===null||d===void 0?void 0:d.from)!==null&&l!==void 0?l:T})}));return Object.assign(Object.assign({},s),{overrides:Object.assign(Object.assign({},s?.overrides),{gasLimit:A.add(A.div(2)),from:(h=(y=s?.overrides)===null||y===void 0?void 0:y.from)!==null&&h!==void 0?h:T})})};return o.populateTransaction.deposit(a,r,i,await c())},withdrawERC20:async(a,r,i,s)=>(await this.getBridgeForTokenPair(a,r)).populateTransaction.withdraw(a,r,i,s)},this.estimateGas={sendMessage:async(a,r)=>{let i=await this.populateTransaction.sendMessage(a,r);return a.direction===B0.MessageDirection.L1_TO_L2?this.l1Provider.estimateGas(i):this.l2Provider.estimateGas(i)},resendMessage:async(a,r,i)=>this.l1Provider.estimateGas(await this.populateTransaction.resendMessage(a,r,i)),proveMessage:async(a,r,i=0)=>this.l1Provider.estimateGas(await this.populateTransaction.proveMessage(a,r,i)),finalizeMessage:async(a,r,i=0)=>this.l1Provider.estimateGas(await this.populateTransaction.finalizeMessage(a,r,i)),depositETH:async(a,r)=>this.l1Provider.estimateGas(await this.populateTransaction.depositETH(a,r,!0)),withdrawETH:async(a,r)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawETH(a,r)),approveERC20:async(a,r,i,s)=>this.l1Provider.estimateGas(await this.populateTransaction.approveERC20(a,r,i,s)),depositERC20:async(a,r,i,s)=>this.l1Provider.estimateGas(await this.populateTransaction.depositERC20(a,r,i,s,!0)),withdrawERC20:async(a,r,i,s)=>this.l2Provider.estimateGas(await this.populateTransaction.withdrawERC20(a,r,i,s))},this.bedrock=(t=e.bedrock)!==null&&t!==void 0?t:!0,this.l1SignerOrProvider=(0,jr.toSignerOrProvider)(e.l1SignerOrProvider),this.l2SignerOrProvider=(0,jr.toSignerOrProvider)(e.l2SignerOrProvider);try{this.l1ChainId=(0,jr.toNumber)(e.l1ChainId)}catch{throw new Error(`L1 chain ID is missing or invalid: ${e.l1ChainId}`)}try{this.l2ChainId=(0,jr.toNumber)(e.l2ChainId)}catch{throw new Error(`L2 chain ID is missing or invalid: ${e.l2ChainId}`)}this.depositConfirmationBlocks=e?.depositConfirmationBlocks!==void 0?(0,jr.toNumber)(e.depositConfirmationBlocks):jr.DEPOSIT_CONFIRMATION_BLOCKS[this.l2ChainId]||0,this.l1BlockTimeSeconds=e?.l1BlockTimeSeconds!==void 0?(0,jr.toNumber)(e.l1BlockTimeSeconds):jr.CHAIN_BLOCK_TIMES[this.l1ChainId]||1,this.contracts=(0,jr.getAllOEContracts)(this.l2ChainId,{l1SignerOrProvider:this.l1SignerOrProvider,l2SignerOrProvider:this.l2SignerOrProvider,overrides:e.contracts}),this.bridges=(0,jr.getBridgeAdapters)(this.l2ChainId,this,{overrides:e.bridges,contracts:e.contracts})}get l1Provider(){return bH.Provider.isProvider(this.l1SignerOrProvider)?this.l1SignerOrProvider:this.l1SignerOrProvider.provider}get l2Provider(){return bH.Provider.isProvider(this.l2SignerOrProvider)?this.l2SignerOrProvider:this.l2SignerOrProvider.provider}get l1Signer(){if(bH.Provider.isProvider(this.l1SignerOrProvider))throw new Error("messenger has no L1 signer");return this.l1SignerOrProvider}get l2Signer(){if(bH.Provider.isProvider(this.l2SignerOrProvider))throw new Error("messenger has no L2 signer");return this.l2SignerOrProvider}async fpac(){return this.contracts.l1.OptimismPortal.address===ns.ethers.constants.AddressZero?!1:EG0.default.gte(await this.contracts.l1.OptimismPortal.version(),"3.0.0")}async getMessagesByTransaction(e,t={}){var a,r;await((r=(a=e).wait)===null||r===void 0?void 0:r.call(a));let i=(0,jr.toTransactionHash)(e),s;if(t.direction!==void 0?t.direction===B0.MessageDirection.L1_TO_L2?s=await this.l1Provider.getTransactionReceipt(i):s=await this.l2Provider.getTransactionReceipt(i):(s=await this.l1Provider.getTransactionReceipt(i),s?t.direction=B0.MessageDirection.L1_TO_L2:(s=await this.l2Provider.getTransactionReceipt(i),t.direction=B0.MessageDirection.L2_TO_L1)),!s)throw new Error(`unable to find transaction receipt for ${i}`);let f=t.direction===B0.MessageDirection.L1_TO_L2?this.contracts.l1.L1CrossDomainMessenger:this.contracts.l2.L2CrossDomainMessenger;return s.logs.filter(o=>o.address===f.address).filter(o=>f.interface.parseLog(o).name==="SentMessage").map(o=>{let c=ns.ethers.BigNumber.from(0),d=s.logs.find(y=>y.logIndex===o.logIndex+1&&y.address===f.address);if(d){let y=f.interface.parseLog(d);y.name==="SentMessageExtension1"&&(c=y.args.value)}let l=f.interface.parseLog(o);return{direction:t.direction,target:l.args.target,sender:l.args.sender,message:l.args.message,messageNonce:l.args.messageNonce,value:c,minGasLimit:l.args.gasLimit,logIndex:o.logIndex,blockNumber:o.blockNumber,transactionHash:o.transactionHash}})}async toBedrockCrossChainMessage(e,t=0){let a=await this.toCrossChainMessage(e,t),{version:r}=(0,pf.decodeVersionedNonce)(a.messageNonce);if(r.eq(1))return a;let i=ns.BigNumber.from(0);if(a.direction===B0.MessageDirection.L2_TO_L1&&a.sender===this.contracts.l2.L2StandardBridge.address&&a.target===this.contracts.l1.L1StandardBridge.address)try{[,,i]=this.contracts.l1.L1StandardBridge.interface.decodeFunctionData("finalizeETHWithdrawal",a.message)}catch{}return Object.assign(Object.assign({},a),{value:i,minGasLimit:ns.BigNumber.from(0),messageNonce:(0,pf.encodeVersionedNonce)(ns.BigNumber.from(0),a.messageNonce)})}async toLowLevelMessage(e,t=0){let a=await this.toCrossChainMessage(e,t);if(a.direction===B0.MessageDirection.L1_TO_L2)throw new Error("can only convert L2 to L1 messages to low level");let{version:r}=(0,pf.decodeVersionedNonce)(a.messageNonce),i;r.eq(0)?i=await this.toBedrockCrossChainMessage(a,t):i=a;let s=(0,pf.encodeCrossDomainMessageV1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),f,o;if(r.eq(0)){let c=await(0,pf.getChainId)(this.l2Provider);f=(0,jr.migratedWithdrawalGasLimit)(s,c),o=a.messageNonce}else{let c=await this.l2Provider.getTransactionReceipt((await this.toCrossChainMessage(e)).transactionHash),d=[];for(let y of c.logs)if(y.address===this.contracts.l2.BedrockMessagePasser.address){let h=this.contracts.l2.L2ToL1MessagePasser.interface.parseLog(y);h.name==="MessagePassed"&&d.push(h.args)}if(d.length===0)throw new Error("no withdrawals found in receipt");let l=d[t];if(!l)throw new Error(`withdrawal index ${t} out of bounds there are ${d.length} withdrawals`);o=l.nonce,f=l.gasLimit}return{messageNonce:o,sender:this.contracts.l2.L2CrossDomainMessenger.address,target:this.contracts.l1.L1CrossDomainMessenger.address,value:i.value,minGasLimit:f,message:s}}async getBridgeForTokenPair(e,t){var a,r;let i=[];for(let s of Object.values(this.bridges))try{await s.supportsTokenPair(e,t)&&i.push(s)}catch(f){!(!((a=f?.message)===null||a===void 0)&&a.toString().includes("CALL_EXCEPTION"))&&!(!((r=f?.stack)===null||r===void 0)&&r.toString().includes("execution reverted"))&&console.error("Unexpected error when checking bridge",f)}if(i.length===0)throw new Error("no supported bridge for token pair");if(i.length>1)throw new Error("found more than one bridge for token pair");return i[0]}async getDepositsByAddress(e,t={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getDepositsByAddress(e,t)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async getWithdrawalsByAddress(e,t={}){return(await Promise.all(Object.values(this.bridges).map(async a=>a.getWithdrawalsByAddress(e,t)))).reduce((a,r)=>a.concat(r),[]).sort((a,r)=>r.blockNumber-a.blockNumber)}async toCrossChainMessage(e,t=0){if(!e)throw new Error("message is undefined");if(e.message)return e;if(e.l1Token&&e.l2Token&&e.transactionHash){let r=(await this.getMessagesByTransaction(e.transactionHash)).sort((i,s)=>i.logIndex-s.logIndex).find(i=>i.logIndex>e.logIndex);if(!r)throw new Error("could not find SentMessage event for message");return r}else{let a=await this.getMessagesByTransaction(e),r=a[t];if(!r)throw new Error(`withdrawal index ${t} out of bounds. There are ${a.length} withdrawals`);return r}}async getMessageStatus(e,t=0,a,r){let i=await this.toCrossChainMessage(e,t),s=(0,pf.hashCrossDomainMessagev0)(i.target,i.sender,i.message,i.messageNonce),f=(0,pf.hashCrossDomainMessagev1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),o=i.direction===B0.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger;if(await o.successfulMessages(s)||await o.successfulMessages(f))return B0.MessageStatus.RELAYED;let d=await o.failedMessages(s)||await o.failedMessages(f);if(i.direction===B0.MessageDirection.L1_TO_L2)return d?B0.MessageStatus.FAILED_L1_TO_L2_MESSAGE:B0.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE;if(d)return B0.MessageStatus.READY_FOR_RELAY;{let l;if(this.bedrock){if(await this.getMessageBedrockOutput(i,t)===null)return B0.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let h=await this.toLowLevelMessage(i,t),T=await this.getProvenWithdrawal((0,jr.hashLowLevelMessage)(h));if(T===null)return B0.MessageStatus.READY_TO_PROVE;l=T.timestamp.toNumber()}else{let y=await this.getMessageStateRoot(i,t);if(y===null)return B0.MessageStatus.STATE_ROOT_NOT_PUBLISHED;let h=y.batch.blockNumber;l=(await this.l1Provider.getBlock(h)).timestamp}if(await this.fpac()){let y=await this.toLowLevelMessage(i,t),h=(0,jr.hashLowLevelMessage)(y),T=await this.getProvenWithdrawal(h);if(T===null)return console.warn("Unexpected code path reached in getMessageStatus, returning READY_TO_PROVE"),B0.MessageStatus.READY_TO_PROVE;if(!("proofSubmitter"in T))throw new Error("expected to get FPAC withdrawal but got legacy withdrawal");try{return await this.contracts.l1.OptimismPortal2.checkWithdrawal((0,jr.hashLowLevelMessage)(y),T.proofSubmitter),B0.MessageStatus.READY_FOR_RELAY}catch{return B0.MessageStatus.IN_CHALLENGE_PERIOD}}else{let y=await this.getChallengePeriodSeconds(),h=await this.l1Provider.getBlock("latest");return l+y>h.timestamp?B0.MessageStatus.IN_CHALLENGE_PERIOD:B0.MessageStatus.READY_FOR_RELAY}}}async getMessageReceipt(e,t=0,a,r){let i=await this.toCrossChainMessage(e,t),s=(0,pf.hashCrossDomainMessagev0)(i.target,i.sender,i.message,i.messageNonce),f=(0,pf.hashCrossDomainMessagev1)(i.messageNonce,i.sender,i.target,i.value,i.minGasLimit,i.message),o=i.direction===B0.MessageDirection.L1_TO_L2?this.contracts.l2.L2CrossDomainMessenger:this.contracts.l1.L1CrossDomainMessenger,c=[...await o.queryFilter(o.filters.RelayedMessage(s),a,r),...await o.queryFilter(o.filters.RelayedMessage(f),a,r)];if(c.length===1)return{receiptStatus:B0.MessageReceiptStatus.RELAYED_SUCCEEDED,transactionReceipt:await c[0].getTransactionReceipt()};if(c.length>1)throw new Error("multiple successful relays for message");let d=[...await o.queryFilter(o.filters.FailedRelayedMessage(s),a,r),...await o.queryFilter(o.filters.FailedRelayedMessage(f),a,r)];return d.length>0?{receiptStatus:B0.MessageReceiptStatus.RELAYED_FAILED,transactionReceipt:await d[d.length-1].getTransactionReceipt()}:null}async waitForMessageReceipt(e,t={},a=0){let r=await this.toCrossChainMessage(e,a),i=0;for(;i<(t.timeoutMs||1/0);){let s=Date.now(),f=await this.getMessageReceipt(r,a,t.fromBlockOrBlockHash,t.toBlockOrHash);if(f!==null)return f;await(0,pf.sleep)(t.pollIntervalMs||4e3),i+=Date.now()-s}throw new Error("timed out waiting for message receipt")}async waitForMessageStatus(e,t,a={},r=0){let i=await this.toCrossChainMessage(e,r),s=0;for(;s<(a.timeoutMs||1/0);){let f=Date.now(),o=await this.getMessageStatus(i,r,a.fromBlockOrBlockHash,a.toBlockOrBlockHash);if(i.direction===B0.MessageDirection.L1_TO_L2){if(o===t||t===B0.MessageStatus.UNCONFIRMED_L1_TO_L2_MESSAGE&&o>t)return;if(t===B0.MessageStatus.FAILED_L1_TO_L2_MESSAGE&&o===B0.MessageStatus.RELAYED)throw new Error("incompatible message status, expected FAILED_L1_TO_L2_MESSAGE got RELAYED");if(t===B0.MessageStatus.RELAYED&&o===B0.MessageStatus.FAILED_L1_TO_L2_MESSAGE)throw new Error("incompatible message status, expected RELAYED got FAILED_L1_TO_L2_MESSAGE")}if(i.direction===B0.MessageDirection.L2_TO_L1&&o>=t)return;await(0,pf.sleep)(a.pollIntervalMs||4e3),s+=Date.now()-f}throw new Error("timed out waiting for message status change")}async estimateL2MessageGasLimit(e,t,a=0){let r,i;if(e.messageNonce===void 0?(r=e,i=t?.from):(r=await this.toCrossChainMessage(e,a),i=t?.from||r.sender),r.direction===B0.MessageDirection.L2_TO_L1)throw new Error("cannot estimate gas limit for L2 => L1 message");let s=await this.l2Provider.estimateGas({from:i,to:r.target,data:r.message}),f=t?.bufferPercent||20;return s.mul(100+f).div(100)}async estimateMessageWaitTimeSeconds(e,t=0,a,r){let i=await this.toCrossChainMessage(e,t),s=await this.getMessageStatus(i,t,a,r);if(i.direction===B0.MessageDirection.L1_TO_L2){if(s===B0.MessageStatus.RELAYED||s===B0.MessageStatus.FAILED_L1_TO_L2_MESSAGE)return 0;{let f=await this.l1Provider.getTransactionReceipt(i.transactionHash);return Math.max(this.depositConfirmationBlocks-f.confirmations,0)*this.l1BlockTimeSeconds}}else{if(s===B0.MessageStatus.RELAYED||s===B0.MessageStatus.READY_FOR_RELAY)return 0;if(s===B0.MessageStatus.STATE_ROOT_NOT_PUBLISHED)return this.getChallengePeriodSeconds();if(s===B0.MessageStatus.IN_CHALLENGE_PERIOD){let f=await this.getMessageStateRoot(i,t),o=await this.getChallengePeriodSeconds(),c=await this.l1Provider.getBlock(f.batch.blockNumber),d=await this.l1Provider.getBlock("latest");return Math.max(o-(d.timestamp-c.timestamp),0)}else throw new Error("unexpected message status")}}async getChallengePeriodSeconds(){return this.bedrock?(await this.contracts.l1.L2OutputOracle.version()==="1.0.0"?ns.BigNumber.from(await this.contracts.l1.OptimismPortal.provider.call({to:this.contracts.l1.OptimismPortal.address,data:"0xf4daa291"})):await this.contracts.l1.L2OutputOracle.FINALIZATION_PERIOD_SECONDS()).toNumber():(await this.contracts.l1.StateCommitmentChain.FRAUD_PROOF_WINDOW()).toNumber()}async getProvenWithdrawal(e){if(!this.bedrock)throw new Error("message proving only applies after the bedrock upgrade");if(!await this.fpac()){let a=await this.contracts.l1.OptimismPortal.provenWithdrawals(e);return a.timestamp.eq(0)?null:a}let t=ns.BigNumber.from(await this.contracts.l1.OptimismPortal2.numProofSubmitters(e)).toNumber();for(let a=0;a2)throw new Error("got invalid game status");let o=await s.extraData(),c;try{[c]=ns.ethers.utils.defaultAbiCoder.decode(["uint256"],o)}catch{continue}if(await this.isValidOutputRoot(await s.rootClaim(),c))return Object.assign(Object.assign({},i),{proofSubmitter:r})}return null}async isValidOutputRoot(e,t){let a=this._outputCache.find(r=>r.root===e);if(a)return a.valid;this._outputCache.length>1e4&&(this._outputCache=this._outputCache.slice(5e3));try{let r=(0,jr.toJsonRpcProvider)(this.l2Provider),[i,s]=await Promise.all([r.send("eth_getBlockByNumber",[(0,pf.toRpcHexString)(t),!1]),(0,jr.makeStateTrieProof)(r,t,this.contracts.l2.OVM_L2ToL1MessagePasser.address,ns.ethers.constants.HashZero)]),o=ns.ethers.utils.solidityKeccak256(["bytes32","bytes32","bytes32","bytes32"],[ns.ethers.constants.HashZero,i.stateRoot,s.storageRoot,i.hash])===e;return this._outputCache.push({root:e,valid:o}),o}catch{return!1}}async getMessageBedrockOutput(e,t=0){let a=await this.toCrossChainMessage(e,t);if(a.direction===B0.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let r,i;if(await this.fpac()){let s=await this.contracts.l1.OptimismPortal2.respectedGameType(),f=await this.contracts.l1.DisputeGameFactory.gameCount(),o=await this.contracts.l1.DisputeGameFactory.findLatestGames(s,Math.max(0,f.sub(1).toNumber()),Math.min(100,f.toNumber())),c=[];for(let l of o)try{let[y]=ns.ethers.utils.defaultAbiCoder.decode(["uint256"],l.extraData);y.gte(a.blockNumber)&&c.push(Object.assign(Object.assign({},l),{l2BlockNumber:y}))}catch{continue}for(let l=c.length-1;l>0;l--){let y=Math.floor(Math.random()*(l+1));[c[l],c[y]]=[c[y],c[l]]}let d;for(let l of c)if(await this.isValidOutputRoot(l.rootClaim,l.l2BlockNumber)){d=l;break}if(!d)return null;i=d.index,r={outputRoot:d.rootClaim,timestamp:d.timestamp,l2BlockNumber:d.l2BlockNumber}}else{try{i=await this.contracts.l1.L2OutputOracle.getL2OutputIndexAfter(a.blockNumber)}catch(s){if(s.message.includes("L2OutputOracle: cannot get output"))return null;throw s}r=await this.contracts.l1.L2OutputOracle.getL2Output(i)}return{outputRoot:r.outputRoot,l1Timestamp:r.timestamp.toNumber(),l2BlockNumber:r.l2BlockNumber.toNumber(),l2OutputIndex:i.toNumber()}}async getMessageStateRoot(e,t=0){let a=await this.toCrossChainMessage(e,t);if(a.direction===B0.MessageDirection.L1_TO_L2)throw new Error("cannot get a state root for an L1 to L2 message");let i=(await this.l2Provider.getTransactionReceipt(a.transactionHash)).blockNumber-1,s=await this.getStateRootBatchByTransactionIndex(i);if(s===null)return null;let f=i-s.header.prevTotalElements.toNumber();if(s.stateRoots.length<=f)throw new Error("state root does not exist in batch");return{stateRoot:s.stateRoots[f],stateRootIndexInBatch:f,batch:s}}async getStateBatchAppendedEventByBatchIndex(e){let t=await this.contracts.l1.StateCommitmentChain.queryFilter(this.contracts.l1.StateCommitmentChain.filters.StateBatchAppended(e));if(t.length===0)return null;if(t.length>1)throw new Error("found more than one StateBatchAppended event");return t[0]}async getStateBatchAppendedEventByTransactionIndex(e){let t=(o,c)=>{let d=o.args._prevTotalElements.toNumber();return c{let d=o.args._prevTotalElements.toNumber(),l=o.args._batchSize.toNumber();return c>=d+l},r=await this.contracts.l1.StateCommitmentChain.getTotalBatches();if(r.eq(0))return null;let i=0,s=r.toNumber()-1,f=await this.getStateBatchAppendedEventByBatchIndex(s);if(f===null||a(f,e))return null;if(!t(f,e))return f;for(;i{p();u();function DG0(){this.__data__=[],this.size=0}mXe.exports=DG0});var Poe=B((v5a,hXe)=>{p();u();function CG0(n,e){return n===e||n!==n&&e!==e}hXe.exports=CG0});var gA=B((w5a,gXe)=>{p();u();var SG0=Poe();function AG0(n,e){for(var t=n.length;t--;)if(SG0(n[t][0],e))return t;return-1}gXe.exports=AG0});var TXe=B((E5a,vXe)=>{p();u();var kG0=gA(),PG0=Array.prototype,RG0=PG0.splice;function LG0(n){var e=this.__data__,t=kG0(e,n);if(t<0)return!1;var a=e.length-1;return t==a?e.pop():RG0.call(e,t,1),--this.size,!0}vXe.exports=LG0});var wXe=B((S5a,_Xe)=>{p();u();var MG0=gA();function BG0(n){var e=this.__data__,t=MG0(e,n);return t<0?void 0:e[t][1]}_Xe.exports=BG0});var IXe=B((P5a,xXe)=>{p();u();var NG0=gA();function FG0(n){return NG0(this.__data__,n)>-1}xXe.exports=FG0});var DXe=B((M5a,EXe)=>{p();u();var OG0=gA();function VG0(n,e){var t=this.__data__,a=OG0(t,n);return a<0?(++this.size,t.push([n,e])):t[a][1]=e,this}EXe.exports=VG0});var vA=B((F5a,CXe)=>{p();u();var $G0=bXe(),UG0=TXe(),qG0=wXe(),HG0=IXe(),zG0=DXe();function W_(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e{p();u();var WG0=vA();function jG0(){this.__data__=new WG0,this.size=0}SXe.exports=jG0});var PXe=B((H5a,kXe)=>{p();u();function GG0(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t}kXe.exports=GG0});var LXe=B((j5a,RXe)=>{p();u();function KG0(n){return this.__data__.get(n)}RXe.exports=KG0});var BXe=B((Q5a,MXe)=>{p();u();function QG0(n){return this.__data__.has(n)}MXe.exports=QG0});var Roe=B((X5a,NXe)=>{p();u();var YG0=typeof global=="object"&&global&&global.Object===Object&&global;NXe.exports=YG0});var tp=B((tua,FXe)=>{p();u();var JG0=Roe(),XG0=typeof self=="object"&&self&&self.Object===Object&&self,ZG0=JG0||XG0||Function("return this")();FXe.exports=ZG0});var hH=B((rua,OXe)=>{p();u();var eK0=tp(),tK0=eK0.Symbol;OXe.exports=tK0});var qXe=B((fua,UXe)=>{p();u();var VXe=hH(),$Xe=Object.prototype,nK0=$Xe.hasOwnProperty,aK0=$Xe.toString,TA=VXe?VXe.toStringTag:void 0;function rK0(n){var e=nK0.call(n,TA),t=n[TA];try{n[TA]=void 0;var a=!0}catch{}var r=aK0.call(n);return a&&(e?n[TA]=t:delete n[TA]),r}UXe.exports=rK0});var zXe=B((dua,HXe)=>{p();u();var iK0=Object.prototype,sK0=iK0.toString;function fK0(n){return sK0.call(n)}HXe.exports=fK0});var _A=B((uua,GXe)=>{p();u();var WXe=hH(),oK0=qXe(),cK0=zXe(),dK0="[object Null]",lK0="[object Undefined]",jXe=WXe?WXe.toStringTag:void 0;function pK0(n){return n==null?n===void 0?lK0:dK0:jXe&&jXe in Object(n)?oK0(n):cK0(n)}GXe.exports=pK0});var j_=B((bua,KXe)=>{p();u();function uK0(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}KXe.exports=uK0});var Loe=B((vua,QXe)=>{p();u();var yK0=_A(),mK0=j_(),bK0="[object AsyncFunction]",hK0="[object Function]",gK0="[object GeneratorFunction]",vK0="[object Proxy]";function TK0(n){if(!mK0(n))return!1;var e=yK0(n);return e==hK0||e==gK0||e==bK0||e==vK0}QXe.exports=TK0});var JXe=B((wua,YXe)=>{p();u();var _K0=tp(),wK0=_K0["__core-js_shared__"];YXe.exports=wK0});var eZe=B((Eua,ZXe)=>{p();u();var Moe=JXe(),XXe=function(){var n=/[^.]+$/.exec(Moe&&Moe.keys&&Moe.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function xK0(n){return!!XXe&&XXe in n}ZXe.exports=xK0});var Boe=B((Sua,tZe)=>{p();u();var IK0=Function.prototype,EK0=IK0.toString;function DK0(n){if(n!=null){try{return EK0.call(n)}catch{}try{return n+""}catch{}}return""}tZe.exports=DK0});var aZe=B((Pua,nZe)=>{p();u();var CK0=Loe(),SK0=eZe(),AK0=j_(),kK0=Boe(),PK0=/[\\^$.*+?()[\]{}|]/g,RK0=/^\[object .+?Constructor\]$/,LK0=Function.prototype,MK0=Object.prototype,BK0=LK0.toString,NK0=MK0.hasOwnProperty,FK0=RegExp("^"+BK0.call(NK0).replace(PK0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function OK0(n){if(!AK0(n)||SK0(n))return!1;var e=CK0(n)?FK0:RK0;return e.test(kK0(n))}nZe.exports=OK0});var iZe=B((Mua,rZe)=>{p();u();function VK0(n,e){return n?.[e]}rZe.exports=VK0});var o3=B((Fua,sZe)=>{p();u();var $K0=aZe(),UK0=iZe();function qK0(n,e){var t=UK0(n,e);return $K0(t)?t:void 0}sZe.exports=qK0});var gH=B(($ua,fZe)=>{p();u();var HK0=o3(),zK0=tp(),WK0=HK0(zK0,"Map");fZe.exports=WK0});var wA=B((Hua,oZe)=>{p();u();var jK0=o3(),GK0=jK0(Object,"create");oZe.exports=GK0});var lZe=B((jua,dZe)=>{p();u();var cZe=wA();function KK0(){this.__data__=cZe?cZe(null):{},this.size=0}dZe.exports=KK0});var uZe=B((Qua,pZe)=>{p();u();function QK0(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}pZe.exports=QK0});var mZe=B((Xua,yZe)=>{p();u();var YK0=wA(),JK0="__lodash_hash_undefined__",XK0=Object.prototype,ZK0=XK0.hasOwnProperty;function eQ0(n){var e=this.__data__;if(YK0){var t=e[n];return t===JK0?void 0:t}return ZK0.call(e,n)?e[n]:void 0}yZe.exports=eQ0});var hZe=B((t2a,bZe)=>{p();u();var tQ0=wA(),nQ0=Object.prototype,aQ0=nQ0.hasOwnProperty;function rQ0(n){var e=this.__data__;return tQ0?e[n]!==void 0:aQ0.call(e,n)}bZe.exports=rQ0});var vZe=B((r2a,gZe)=>{p();u();var iQ0=wA(),sQ0="__lodash_hash_undefined__";function fQ0(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=iQ0&&e===void 0?sQ0:e,this}gZe.exports=fQ0});var _Ze=B((f2a,TZe)=>{p();u();var oQ0=lZe(),cQ0=uZe(),dQ0=mZe(),lQ0=hZe(),pQ0=vZe();function G_(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e{p();u();var wZe=_Ze(),uQ0=vA(),yQ0=gH();function mQ0(){this.size=0,this.__data__={hash:new wZe,map:new(yQ0||uQ0),string:new wZe}}xZe.exports=mQ0});var DZe=B((u2a,EZe)=>{p();u();function bQ0(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null}EZe.exports=bQ0});var xA=B((b2a,CZe)=>{p();u();var hQ0=DZe();function gQ0(n,e){var t=n.__data__;return hQ0(e)?t[typeof e=="string"?"string":"hash"]:t.map}CZe.exports=gQ0});var AZe=B((v2a,SZe)=>{p();u();var vQ0=xA();function TQ0(n){var e=vQ0(this,n).delete(n);return this.size-=e?1:0,e}SZe.exports=TQ0});var PZe=B((w2a,kZe)=>{p();u();var _Q0=xA();function wQ0(n){return _Q0(this,n).get(n)}kZe.exports=wQ0});var LZe=B((E2a,RZe)=>{p();u();var xQ0=xA();function IQ0(n){return xQ0(this,n).has(n)}RZe.exports=IQ0});var BZe=B((S2a,MZe)=>{p();u();var EQ0=xA();function DQ0(n,e){var t=EQ0(this,n),a=t.size;return t.set(n,e),this.size+=t.size==a?0:1,this}MZe.exports=DQ0});var FZe=B((P2a,NZe)=>{p();u();var CQ0=IZe(),SQ0=AZe(),AQ0=PZe(),kQ0=LZe(),PQ0=BZe();function K_(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e{p();u();var RQ0=vA(),LQ0=gH(),MQ0=FZe(),BQ0=200;function NQ0(n,e){var t=this.__data__;if(t instanceof RQ0){var a=t.__data__;if(!LQ0||a.length{p();u();var FQ0=vA(),OQ0=AXe(),VQ0=PXe(),$Q0=LXe(),UQ0=BXe(),qQ0=VZe();function Q_(n){var e=this.__data__=new FQ0(n);this.size=e.size}Q_.prototype.clear=OQ0;Q_.prototype.delete=VQ0;Q_.prototype.get=$Q0;Q_.prototype.has=UQ0;Q_.prototype.set=qQ0;$Ze.exports=Q_});var HZe=B(($2a,qZe)=>{p();u();function HQ0(n,e){for(var t=-1,a=n==null?0:n.length;++t{p();u();var zQ0=o3(),WQ0=function(){try{var n=zQ0(Object,"defineProperty");return n({},"",{}),n}catch{}}();zZe.exports=WQ0});var Noe=B((j2a,GZe)=>{p();u();var jZe=WZe();function jQ0(n,e,t){e=="__proto__"&&jZe?jZe(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}GZe.exports=jQ0});var Foe=B((Q2a,KZe)=>{p();u();var GQ0=Noe(),KQ0=Poe(),QQ0=Object.prototype,YQ0=QQ0.hasOwnProperty;function JQ0(n,e,t){var a=n[e];(!(YQ0.call(n,e)&&KQ0(a,t))||t===void 0&&!(e in n))&&GQ0(n,e,t)}KZe.exports=JQ0});var IA=B((X2a,QZe)=>{p();u();var XQ0=Foe(),ZQ0=Noe();function eY0(n,e,t,a){var r=!t;t||(t={});for(var i=-1,s=e.length;++i{p();u();function tY0(n,e){for(var t=-1,a=Array(n);++t{p();u();function nY0(n){return n!=null&&typeof n=="object"}XZe.exports=nY0});var eet=B((fya,ZZe)=>{p();u();var aY0=_A(),rY0=Y_(),iY0="[object Arguments]";function sY0(n){return rY0(n)&&aY0(n)==iY0}ZZe.exports=sY0});var ret=B((dya,aet)=>{p();u();var tet=eet(),fY0=Y_(),net=Object.prototype,oY0=net.hasOwnProperty,cY0=net.propertyIsEnumerable,dY0=tet(function(){return arguments}())?tet:function(n){return fY0(n)&&oY0.call(n,"callee")&&!cY0.call(n,"callee")};aet.exports=dY0});var vH=B((uya,iet)=>{p();u();var lY0=Array.isArray;iet.exports=lY0});var fet=B((bya,set)=>{p();u();function pY0(){return!1}set.exports=pY0});var Ooe=B((EA,J_)=>{p();u();var uY0=tp(),yY0=fet(),det=typeof EA=="object"&&EA&&!EA.nodeType&&EA,oet=det&&typeof J_=="object"&&J_&&!J_.nodeType&&J_,mY0=oet&&oet.exports===det,cet=mY0?uY0.Buffer:void 0,bY0=cet?cet.isBuffer:void 0,hY0=bY0||yY0;J_.exports=hY0});var uet=B((_ya,pet)=>{p();u();var gY0=9007199254740991,vY0=/^(?:0|[1-9]\d*)$/;function TY0(n,e){var t=typeof n;return e=e??gY0,!!e&&(t=="number"||t!="symbol"&&vY0.test(n))&&n>-1&&n%1==0&&n{p();u();var _Y0=9007199254740991;function wY0(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=_Y0}yet.exports=wY0});var bet=B((Cya,met)=>{p();u();var xY0=_A(),IY0=Voe(),EY0=Y_(),DY0="[object Arguments]",CY0="[object Array]",SY0="[object Boolean]",AY0="[object Date]",kY0="[object Error]",PY0="[object Function]",RY0="[object Map]",LY0="[object Number]",MY0="[object Object]",BY0="[object RegExp]",NY0="[object Set]",FY0="[object String]",OY0="[object WeakMap]",VY0="[object ArrayBuffer]",$Y0="[object DataView]",UY0="[object Float32Array]",qY0="[object Float64Array]",HY0="[object Int8Array]",zY0="[object Int16Array]",WY0="[object Int32Array]",jY0="[object Uint8Array]",GY0="[object Uint8ClampedArray]",KY0="[object Uint16Array]",QY0="[object Uint32Array]",Gr={};Gr[UY0]=Gr[qY0]=Gr[HY0]=Gr[zY0]=Gr[WY0]=Gr[jY0]=Gr[GY0]=Gr[KY0]=Gr[QY0]=!0;Gr[DY0]=Gr[CY0]=Gr[VY0]=Gr[SY0]=Gr[$Y0]=Gr[AY0]=Gr[kY0]=Gr[PY0]=Gr[RY0]=Gr[LY0]=Gr[MY0]=Gr[BY0]=Gr[NY0]=Gr[FY0]=Gr[OY0]=!1;function YY0(n){return EY0(n)&&IY0(n.length)&&!!Gr[xY0(n)]}met.exports=YY0});var TH=B((kya,het)=>{p();u();function JY0(n){return function(e){return n(e)}}het.exports=JY0});var _H=B((DA,X_)=>{p();u();var XY0=Roe(),get=typeof DA=="object"&&DA&&!DA.nodeType&&DA,CA=get&&typeof X_=="object"&&X_&&!X_.nodeType&&X_,ZY0=CA&&CA.exports===get,$oe=ZY0&&XY0.process,eJ0=function(){try{var n=CA&&CA.require&&CA.require("util").types;return n||$oe&&$oe.binding&&$oe.binding("util")}catch{}}();X_.exports=eJ0});var wet=B((Bya,_et)=>{p();u();var tJ0=bet(),nJ0=TH(),vet=_H(),Tet=vet&&vet.isTypedArray,aJ0=Tet?nJ0(Tet):tJ0;_et.exports=aJ0});var Uoe=B((Oya,xet)=>{p();u();var rJ0=JZe(),iJ0=ret(),sJ0=vH(),fJ0=Ooe(),oJ0=uet(),cJ0=wet(),dJ0=Object.prototype,lJ0=dJ0.hasOwnProperty;function pJ0(n,e){var t=sJ0(n),a=!t&&iJ0(n),r=!t&&!a&&fJ0(n),i=!t&&!a&&!r&&cJ0(n),s=t||a||r||i,f=s?rJ0(n.length,String):[],o=f.length;for(var c in n)(e||lJ0.call(n,c))&&!(s&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||oJ0(c,o)))&&f.push(c);return f}xet.exports=pJ0});var wH=B((Uya,Iet)=>{p();u();var uJ0=Object.prototype;function yJ0(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||uJ0;return n===t}Iet.exports=yJ0});var qoe=B((zya,Eet)=>{p();u();function mJ0(n,e){return function(t){return n(e(t))}}Eet.exports=mJ0});var Cet=B((Gya,Det)=>{p();u();var bJ0=qoe(),hJ0=bJ0(Object.keys,Object);Det.exports=hJ0});var ket=B((Yya,Aet)=>{p();u();var gJ0=wH(),vJ0=Cet(),TJ0=Object.prototype,_J0=TJ0.hasOwnProperty;function wJ0(n){if(!gJ0(n))return vJ0(n);var e=[];for(var t in Object(n))_J0.call(n,t)&&t!="constructor"&&e.push(t);return e}Aet.exports=wJ0});var Hoe=B((Zya,Pet)=>{p();u();var xJ0=Loe(),IJ0=Voe();function EJ0(n){return n!=null&&IJ0(n.length)&&!xJ0(n)}Pet.exports=EJ0});var xH=B((n8a,Ret)=>{p();u();var DJ0=Uoe(),CJ0=ket(),SJ0=Hoe();function AJ0(n){return SJ0(n)?DJ0(n):CJ0(n)}Ret.exports=AJ0});var Met=B((i8a,Let)=>{p();u();var kJ0=IA(),PJ0=xH();function RJ0(n,e){return n&&kJ0(e,PJ0(e),n)}Let.exports=RJ0});var Net=B((o8a,Bet)=>{p();u();function LJ0(n){var e=[];if(n!=null)for(var t in Object(n))e.push(t);return e}Bet.exports=LJ0});var Oet=B((l8a,Fet)=>{p();u();var MJ0=j_(),BJ0=wH(),NJ0=Net(),FJ0=Object.prototype,OJ0=FJ0.hasOwnProperty;function VJ0(n){if(!MJ0(n))return NJ0(n);var e=BJ0(n),t=[];for(var a in n)a=="constructor"&&(e||!OJ0.call(n,a))||t.push(a);return t}Fet.exports=VJ0});var IH=B((y8a,Vet)=>{p();u();var $J0=Uoe(),UJ0=Oet(),qJ0=Hoe();function HJ0(n){return qJ0(n)?$J0(n,!0):UJ0(n)}Vet.exports=HJ0});var Uet=B((h8a,$et)=>{p();u();var zJ0=IA(),WJ0=IH();function jJ0(n,e){return n&&zJ0(e,WJ0(e),n)}$et.exports=jJ0});var jet=B((SA,Z_)=>{p();u();var GJ0=tp(),Wet=typeof SA=="object"&&SA&&!SA.nodeType&&SA,qet=Wet&&typeof Z_=="object"&&Z_&&!Z_.nodeType&&Z_,KJ0=qet&&qet.exports===Wet,Het=KJ0?GJ0.Buffer:void 0,zet=Het?Het.allocUnsafe:void 0;function QJ0(n,e){if(e)return n.slice();var t=n.length,a=zet?zet(t):new n.constructor(t);return n.copy(a),a}Z_.exports=QJ0});var Ket=B((w8a,Get)=>{p();u();function YJ0(n,e){var t=-1,a=n.length;for(e||(e=Array(a));++t{p();u();function JJ0(n,e){for(var t=-1,a=n==null?0:n.length,r=0,i=[];++t{p();u();function XJ0(){return[]}Jet.exports=XJ0});var EH=B((P8a,Zet)=>{p();u();var ZJ0=Yet(),eX0=zoe(),tX0=Object.prototype,nX0=tX0.propertyIsEnumerable,Xet=Object.getOwnPropertySymbols,aX0=Xet?function(n){return n==null?[]:(n=Object(n),ZJ0(Xet(n),function(e){return nX0.call(n,e)}))}:eX0;Zet.exports=aX0});var ttt=B((M8a,ett)=>{p();u();var rX0=IA(),iX0=EH();function sX0(n,e){return rX0(n,iX0(n),e)}ett.exports=sX0});var Woe=B((F8a,ntt)=>{p();u();function fX0(n,e){for(var t=-1,a=e.length,r=n.length;++t{p();u();var oX0=qoe(),cX0=oX0(Object.getPrototypeOf,Object);att.exports=cX0});var Goe=B((H8a,rtt)=>{p();u();var dX0=Woe(),lX0=joe(),pX0=EH(),uX0=zoe(),yX0=Object.getOwnPropertySymbols,mX0=yX0?function(n){for(var e=[];n;)dX0(e,pX0(n)),n=lX0(n);return e}:uX0;rtt.exports=mX0});var stt=B((j8a,itt)=>{p();u();var bX0=IA(),hX0=Goe();function gX0(n,e){return bX0(n,hX0(n),e)}itt.exports=gX0});var Koe=B((Q8a,ftt)=>{p();u();var vX0=Woe(),TX0=vH();function _X0(n,e,t){var a=e(n);return TX0(n)?a:vX0(a,t(n))}ftt.exports=_X0});var ctt=B((X8a,ott)=>{p();u();var wX0=Koe(),xX0=EH(),IX0=xH();function EX0(n){return wX0(n,IX0,xX0)}ott.exports=EX0});var ltt=B((tma,dtt)=>{p();u();var DX0=Koe(),CX0=Goe(),SX0=IH();function AX0(n){return DX0(n,SX0,CX0)}dtt.exports=AX0});var utt=B((rma,ptt)=>{p();u();var kX0=o3(),PX0=tp(),RX0=kX0(PX0,"DataView");ptt.exports=RX0});var mtt=B((fma,ytt)=>{p();u();var LX0=o3(),MX0=tp(),BX0=LX0(MX0,"Promise");ytt.exports=BX0});var htt=B((dma,btt)=>{p();u();var NX0=o3(),FX0=tp(),OX0=NX0(FX0,"Set");btt.exports=OX0});var vtt=B((uma,gtt)=>{p();u();var VX0=o3(),$X0=tp(),UX0=VX0($X0,"WeakMap");gtt.exports=UX0});var DH=B((bma,Dtt)=>{p();u();var Qoe=utt(),Yoe=gH(),Joe=mtt(),Xoe=htt(),Zoe=vtt(),Ett=_A(),ew=Boe(),Ttt="[object Map]",qX0="[object Object]",_tt="[object Promise]",wtt="[object Set]",xtt="[object WeakMap]",Itt="[object DataView]",HX0=ew(Qoe),zX0=ew(Yoe),WX0=ew(Joe),jX0=ew(Xoe),GX0=ew(Zoe),_7=Ett;(Qoe&&_7(new Qoe(new ArrayBuffer(1)))!=Itt||Yoe&&_7(new Yoe)!=Ttt||Joe&&_7(Joe.resolve())!=_tt||Xoe&&_7(new Xoe)!=wtt||Zoe&&_7(new Zoe)!=xtt)&&(_7=function(n){var e=Ett(n),t=e==qX0?n.constructor:void 0,a=t?ew(t):"";if(a)switch(a){case HX0:return Itt;case zX0:return Ttt;case WX0:return _tt;case jX0:return wtt;case GX0:return xtt}return e});Dtt.exports=_7});var Stt=B((vma,Ctt)=>{p();u();var KX0=Object.prototype,QX0=KX0.hasOwnProperty;function YX0(n){var e=n.length,t=new n.constructor(e);return e&&typeof n[0]=="string"&&QX0.call(n,"index")&&(t.index=n.index,t.input=n.input),t}Ctt.exports=YX0});var ktt=B((wma,Att)=>{p();u();var JX0=tp(),XX0=JX0.Uint8Array;Att.exports=XX0});var CH=B((Ema,Rtt)=>{p();u();var Ptt=ktt();function ZX0(n){var e=new n.constructor(n.byteLength);return new Ptt(e).set(new Ptt(n)),e}Rtt.exports=ZX0});var Mtt=B((Sma,Ltt)=>{p();u();var eZ0=CH();function tZ0(n,e){var t=e?eZ0(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}Ltt.exports=tZ0});var Ntt=B((Pma,Btt)=>{p();u();var nZ0=/\w*$/;function aZ0(n){var e=new n.constructor(n.source,nZ0.exec(n));return e.lastIndex=n.lastIndex,e}Btt.exports=aZ0});var Utt=B((Mma,$tt)=>{p();u();var Ftt=hH(),Ott=Ftt?Ftt.prototype:void 0,Vtt=Ott?Ott.valueOf:void 0;function rZ0(n){return Vtt?Object(Vtt.call(n)):{}}$tt.exports=rZ0});var Htt=B((Fma,qtt)=>{p();u();var iZ0=CH();function sZ0(n,e){var t=e?iZ0(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}qtt.exports=sZ0});var Wtt=B(($ma,ztt)=>{p();u();var fZ0=CH(),oZ0=Mtt(),cZ0=Ntt(),dZ0=Utt(),lZ0=Htt(),pZ0="[object Boolean]",uZ0="[object Date]",yZ0="[object Map]",mZ0="[object Number]",bZ0="[object RegExp]",hZ0="[object Set]",gZ0="[object String]",vZ0="[object Symbol]",TZ0="[object ArrayBuffer]",_Z0="[object DataView]",wZ0="[object Float32Array]",xZ0="[object Float64Array]",IZ0="[object Int8Array]",EZ0="[object Int16Array]",DZ0="[object Int32Array]",CZ0="[object Uint8Array]",SZ0="[object Uint8ClampedArray]",AZ0="[object Uint16Array]",kZ0="[object Uint32Array]";function PZ0(n,e,t){var a=n.constructor;switch(e){case TZ0:return fZ0(n);case pZ0:case uZ0:return new a(+n);case _Z0:return oZ0(n,t);case wZ0:case xZ0:case IZ0:case EZ0:case DZ0:case CZ0:case SZ0:case AZ0:case kZ0:return lZ0(n,t);case yZ0:return new a;case mZ0:case gZ0:return new a(n);case bZ0:return cZ0(n);case hZ0:return new a;case vZ0:return dZ0(n)}}ztt.exports=PZ0});var Ktt=B((Hma,Gtt)=>{p();u();var RZ0=j_(),jtt=Object.create,LZ0=function(){function n(){}return function(e){if(!RZ0(e))return{};if(jtt)return jtt(e);n.prototype=e;var t=new n;return n.prototype=void 0,t}}();Gtt.exports=LZ0});var Ytt=B((jma,Qtt)=>{p();u();var MZ0=Ktt(),BZ0=joe(),NZ0=wH();function FZ0(n){return typeof n.constructor=="function"&&!NZ0(n)?MZ0(BZ0(n)):{}}Qtt.exports=FZ0});var Xtt=B((Qma,Jtt)=>{p();u();var OZ0=DH(),VZ0=Y_(),$Z0="[object Map]";function UZ0(n){return VZ0(n)&&OZ0(n)==$Z0}Jtt.exports=UZ0});var n0t=B((Xma,t0t)=>{p();u();var qZ0=Xtt(),HZ0=TH(),Ztt=_H(),e0t=Ztt&&Ztt.isMap,zZ0=e0t?HZ0(e0t):qZ0;t0t.exports=zZ0});var r0t=B((t3a,a0t)=>{p();u();var WZ0=DH(),jZ0=Y_(),GZ0="[object Set]";function KZ0(n){return jZ0(n)&&WZ0(n)==GZ0}a0t.exports=KZ0});var o0t=B((r3a,f0t)=>{p();u();var QZ0=r0t(),YZ0=TH(),i0t=_H(),s0t=i0t&&i0t.isSet,JZ0=s0t?YZ0(s0t):QZ0;f0t.exports=JZ0});var u0t=B((f3a,p0t)=>{p();u();var XZ0=UZe(),ZZ0=HZe(),een=Foe(),ten=Met(),nen=Uet(),aen=jet(),ren=Ket(),ien=ttt(),sen=stt(),fen=ctt(),oen=ltt(),cen=DH(),den=Stt(),len=Wtt(),pen=Ytt(),uen=vH(),yen=Ooe(),men=n0t(),ben=j_(),hen=o0t(),gen=xH(),ven=IH(),Ten=1,_en=2,wen=4,c0t="[object Arguments]",xen="[object Array]",Ien="[object Boolean]",Een="[object Date]",Den="[object Error]",d0t="[object Function]",Cen="[object GeneratorFunction]",Sen="[object Map]",Aen="[object Number]",l0t="[object Object]",ken="[object RegExp]",Pen="[object Set]",Ren="[object String]",Len="[object Symbol]",Men="[object WeakMap]",Ben="[object ArrayBuffer]",Nen="[object DataView]",Fen="[object Float32Array]",Oen="[object Float64Array]",Ven="[object Int8Array]",$en="[object Int16Array]",Uen="[object Int32Array]",qen="[object Uint8Array]",Hen="[object Uint8ClampedArray]",zen="[object Uint16Array]",Wen="[object Uint32Array]",Pr={};Pr[c0t]=Pr[xen]=Pr[Ben]=Pr[Nen]=Pr[Ien]=Pr[Een]=Pr[Fen]=Pr[Oen]=Pr[Ven]=Pr[$en]=Pr[Uen]=Pr[Sen]=Pr[Aen]=Pr[l0t]=Pr[ken]=Pr[Pen]=Pr[Ren]=Pr[Len]=Pr[qen]=Pr[Hen]=Pr[zen]=Pr[Wen]=!0;Pr[Den]=Pr[d0t]=Pr[Men]=!1;function SH(n,e,t,a,r,i){var s,f=e&Ten,o=e&_en,c=e&wen;if(t&&(s=r?t(n,a,r,i):t(n)),s!==void 0)return s;if(!ben(n))return n;var d=uen(n);if(d){if(s=den(n),!f)return ren(n,s)}else{var l=cen(n),y=l==d0t||l==Cen;if(yen(n))return aen(n,f);if(l==l0t||l==c0t||y&&!r){if(s=o||y?{}:pen(n),!f)return o?sen(n,nen(s,n)):ien(n,ten(s,n))}else{if(!Pr[l])return r?n:{};s=len(n,l,f)}}i||(i=new XZ0);var h=i.get(n);if(h)return h;i.set(n,s),hen(n)?n.forEach(function(O){s.add(SH(O,e,t,O,n,i))}):men(n)&&n.forEach(function(O,N){s.set(N,SH(O,e,t,N,n,i))});var T=c?o?oen:fen:o?ven:gen,A=d?void 0:T(n);return ZZ0(A||n,function(O,N){A&&(N=O,O=n[N]),een(s,N,SH(O,e,t,N,n,i))}),s}p0t.exports=SH});var m0t=B((d3a,y0t)=>{p();u();var jen=u0t(),Gen=1,Ken=4;function Qen(n){return jen(n,Gen|Ken)}y0t.exports=Qen});var v0t=B(Rr=>{"use strict";p();u();var Yen=Rr&&Rr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Rr,"__esModule",{value:!0});Rr.asL2Provider=Rr.isL2Provider=Rr.estimateTotalGasCost=Rr.estimateL2GasCost=Rr.estimateL1GasCost=Rr.estimateL1Gas=Rr.getL1GasPrice=void 0;var b0t=B_(),h0t=f5(),e1e=Ue(),Jen=Yen(m0t()),uy=yH(),Xen=Nfe(),g0t=async(n,e)=>e.nonce!==void 0?(0,uy.toNumber)(e.nonce):e.from!==void 0?(0,uy.toProvider)(n).getTransactionCount(e.from):4294967295,t1e=n=>new e1e.Contract(b0t.predeploys.OVM_GasPriceOracle,(0,b0t.getContractInterface)("OVM_GasPriceOracle"),(0,uy.toProvider)(n)),Zen=async n=>t1e(n).l1BaseFee();Rr.getL1GasPrice=Zen;var etn=async(n,e)=>t1e(n).getL1GasUsed((0,h0t.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?e1e.BigNumber.from(e.nonce).toNumber():await g0t(n,e)}));Rr.estimateL1Gas=etn;var ttn=async(n,e)=>t1e(n).getL1Fee((0,h0t.serialize)({to:e.to,gasLimit:e.gasLimit,gasPrice:e.gasPrice,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,data:e.data,value:e.value,chainId:e.chainId,type:e.type,accessList:e.accessList,nonce:e.nonce?e1e.BigNumber.from(e.nonce).toNumber():await g0t(n,e)}));Rr.estimateL1GasCost=ttn;var ntn=async(n,e)=>{let t=(0,uy.toProvider)(n),a=await t.getGasPrice(),r=await t.estimateGas(e);return a.mul(r)};Rr.estimateL2GasCost=ntn;var atn=async(n,e)=>{let t=await(0,Rr.estimateL1GasCost)(n,e),a=await(0,Rr.estimateL2GasCost)(n,e);return t.add(a)};Rr.estimateTotalGasCost=atn;var rtn=n=>!!n._isL2Provider;Rr.isL2Provider=rtn;var itn=n=>{if((0,Rr.isL2Provider)(n))return n;let e=(0,Jen.default)(n),t=e.formatter;(0,Xen.assert)(t,"provider.formatter must be defined");let a=t.block.bind(t);t.block=f=>{let o=a(f);return o.stateRoot=f.stateRoot,o};let r=t.blockWithTransactions.bind(t);t.blockWithTransactions=f=>{let o=r(f);return o.stateRoot=f.stateRoot,o.transactions=o.transactions.map((c,d)=>{let l=f.transactions[d];return c.l1BlockNumber=l.l1BlockNumber?(0,uy.toNumber)(l.l1BlockNumber):l.l1BlockNumber,c.l1Timestamp=l.l1Timestamp?(0,uy.toNumber)(l.l1Timestamp):l.l1Timestamp,c.l1TxOrigin=l.l1TxOrigin,c.queueOrigin=l.queueOrigin,c.rawTransaction=l.rawTransaction,c}),o};let i=t.transactionResponse.bind(t);t.transactionResponse=f=>{let o=i(f);return o.txType=f.txType,o.queueOrigin=f.queueOrigin,o.rawTransaction=f.rawTransaction,o.l1TxOrigin=f.l1TxOrigin,o.l1BlockNumber=f.l1BlockNumber?parseInt(f.l1BlockNumber,16):f.l1BlockNumbers,o};let s=t.receipt.bind(t);return t.receipt=f=>{let o=s(f);return o.l1GasPrice=(0,uy.toBigNumber)(f.l1GasPrice),o.l1GasUsed=(0,uy.toBigNumber)(f.l1GasUsed),o.l1Fee=(0,uy.toBigNumber)(f.l1Fee),o.l1FeeScalar=parseFloat(f.l1FeeScalar),o},e.getL1GasPrice=async()=>(0,Rr.getL1GasPrice)(e),e.estimateL1Gas=async f=>(0,Rr.estimateL1Gas)(e,f),e.estimateL1GasCost=async f=>(0,Rr.estimateL1GasCost)(e,f),e.estimateL2GasCost=async f=>(0,Rr.estimateL2GasCost)(e,f),e.estimateTotalGasCost=async f=>(0,Rr.estimateTotalGasCost)(e,f),e._isL2Provider=!0,e};Rr.asL2Provider=itn});var T0t=B(np=>{"use strict";p();u();var stn=np&&np.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),AA=np&&np.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&stn(e,n,t)};Object.defineProperty(np,"__esModule",{value:!0});AA(uq(),np);AA(yXe(),np);AA(N_(),np);AA(v0t(),np);AA(yH(),np)});async function ap(n){n.originalProvider&&(n=n.originalProvider);let e=await kH(n);return e.maxFeePerGas&&e.maxPriorityFeePerGas?{maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}:{gasPrice:await tw(n)}}async function kH(n){let e=null,t=null,[{chainId:a},r,i]=await Promise.all([n.getNetwork(),n.getBlock("latest"),n.send("eth_maxPriorityFeePerGas",[]).catch(()=>null)]),s=r&&r.baseFeePerGas?r.baseFeePerGas:c0.utils.parseUnits("100","wei");if(a===Bie.chainId||a===Nie.chainId)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};if(a===Oie.chainId||a===t7.chainId)t=await _0t(a);else if(i)t=c0.BigNumber.from(i);else if(t=(await n.getFeeData()).maxPriorityFeePerGas,!t)return{maxFeePerGas:null,maxPriorityFeePerGas:null,baseFee:null};return t=ftn(t),e=s.mul(2).add(t),{maxFeePerGas:e,maxPriorityFeePerGas:t,baseFee:s}}function ftn(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,t=n.div(100).mul(e);return n.add(t)}async function tw(n){let e=await n.getGasPrice(),t=c0.utils.parseUnits("300","gwei"),a=e.div(100).mul(10),r=e.add(a);return r.gt(t)?t:r}async function PA(n,e){let t=(await n.getNetwork()).chainId,a=c0.BigNumber.from(0);if(otn(t)){let{asL2Provider:f}=await Promise.resolve().then(()=>Te(T0t()));a=await f(n).estimateL1GasCost(e)}let r=e.gasLimit||await n.estimateGas(e),i=await tw(n);return c0.BigNumber.from(r).mul(i).add(a)}function otn(n){return n===tU.chainId||n===rU.chainId||n===nU.chainId||n===aU.chainId||n===Vie.chainId||n===$ie.chainId||n===CS.chainId||n===SS.chainId||n===204||n===5611}function ctn(n){switch(n){case yt.Polygon:return"https://gasstation.polygon.technology/v2";case 80002:return"https://gasstation-testnet.polygon.technology/v2"}}async function _0t(n){let e=ctn(n);try{let a=(await(await fetch(e)).json()).fast.maxPriorityFee;if(a>0){let r=parseFloat(a).toFixed(9);return c0.utils.parseUnits(r,"gwei")}}catch{}return dtn}function Tr(n){async function e(){return(await n(...arguments)).execute()}return e.prepare=n,e}function ye(n){async function e(){return(await n(...arguments)).execute()}return e.prepare=n,e}async function ltn(n,e,t,a,r){return r&&"biconomy"in r?ptn(n,e,t,r):r&&"openzeppelin"in r?utn(n,e,t,a,r):w0t(n,e,t,a,r)}async function w0t(n,e,t,a,r){at(r&&"engine"in r,"calling engine gasless transaction without engine config in the SDK options");let i=await ytn(n,e,t,a,r),f=await(await fetch(r.engine.relayerUrl,{...i,headers:{"Content-Type":"application/json"}})).json();if(f.error)throw new Error(f.error?.message||JSON.stringify(f.error));let o=f.result.queueId,c=r.engine.relayerUrl.split("/relayer/")[0],d=Date.now();for(;;){let y=await(await fetch(`${c}/transaction/status/${o}`)).json();if(y.result.transactionHash)return y.result.transactionHash;if(Date.now()-d>30*1e3)throw new Error("timeout");await new Promise(h=>setTimeout(h,2e3))}}async function ptn(n,e,t,a){let r=await btn(n,e,t,a),i=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",r);if(i.ok){let s=await i.json();if(!s.txHash)throw new Error(`relay transaction failed: ${s.log}`);return s.txHash}throw new Error(`relay transaction failed with status: ${i.status} (${i.statusText})`)}async function utn(n,e,t,a,r){at(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let i=await mtn(n,e,t,a,r),s=await fetch(r.openzeppelin.relayerUrl,i);if(s.ok){let f=await s.json();if(!f.result)throw new Error(`Relay transaction failed: ${f.message}`);return JSON.parse(f.result).txHash}throw new Error(`relay transaction failed with status: ${s.status} (${s.statusText})`)}async function ytn(n,e,t,a,r){at(r&&"engine"in r,"calling engine gasless transaction without openzeppelin config in the SDK options");try{let i=await $i(n.to,t,a),s=(await t.getNetwork()).chainId,f=await c3(n.to,i.abi,t,{},a),o=new f0(e,n.to,f,{},a);if(f.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+s.toString(16).padStart(64,"0"),verifyingContract:n.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},h={nonce:await o.call("getNonce",[n.from]),from:n.from,functionSignature:n.data},{signature:T}=await Ic(e,d,l,h);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:n.from,to:n.to,data:n.data},signature:T})}}}catch{}if(n.functionName==="approve"&&n.functionArgs.length===2){let i=n.functionArgs[0],s=n.functionArgs[1],{message:f,signature:o}=await NA(e,n.to,n.from,i,s,r.engine.domainSeparatorVersion),c={to:n.to,owner:f.owner,spender:f.spender,value:c0.BigNumber.from(f.value).toString(),nonce:c0.BigNumber.from(f.nonce).toString(),deadline:c0.BigNumber.from(f.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:c,signature:o})}}else{let i=r.engine.relayerForwarderAddress||N5[n.chainId]?.openzeppelinForwarder||await w7(t,a),s=(await Promise.resolve().then(()=>Te(kS()))).default,f=new c0.Contract(i,s,t),o=await I7(f,"getNonce",[n.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:BA},l={from:n.from,to:n.to,value:c0.BigNumber.from(0).toString(),gas:c0.BigNumber.from(n.gasLimit).toString(),nonce:c0.BigNumber.from(o).toString(),data:n.data,chainid:c0.BigNumber.from(n.chainId).toString()}):(c={name:r.engine.domainName,version:r.engine.domainVersion,chainId:n.chainId,verifyingContract:i},d={ForwardRequest:MA},l={from:n.from,to:n.to,value:c0.BigNumber.from(0).toString(),gas:c0.BigNumber.from(n.gasLimit).toString(),nonce:c0.BigNumber.from(o).toString(),data:n.data});let{signature:y}=await Ic(e,c,d,l);return{method:"POST",body:JSON.stringify({type:"forward",request:l,signature:y,forwarderAddress:i})}}}async function mtn(n,e,t,a,r){at(r&&"openzeppelin"in r,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options"),at(e,"provider is not set"),at(t,"provider is not set");let i=r.openzeppelin.relayerForwarderAddress||(r.openzeppelin.useEOAForwarder?N5[n.chainId]?.openzeppelinForwarderEOA||await PH(t,a):N5[n.chainId]?.openzeppelinForwarder||await w7(t,a)),s=(await Promise.resolve().then(()=>Te(kS()))).default,f=new c0.Contract(i,s,t),o=await I7(f,"getNonce",[n.from]),c,d,l;r.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:BA},l={from:n.from,to:n.to,value:c0.BigNumber.from(0).toString(),gas:c0.BigNumber.from(n.gasLimit).toString(),nonce:c0.BigNumber.from(o).toString(),data:n.data,chainid:c0.BigNumber.from(n.chainId).toString()}):(c={name:r.openzeppelin.domainName,version:r.openzeppelin.domainVersion,chainId:n.chainId,verifyingContract:i},d={ForwardRequest:MA},l={from:n.from,to:n.to,value:c0.BigNumber.from(0).toString(),gas:c0.BigNumber.from(n.gasLimit).toString(),nonce:c0.BigNumber.from(o).toString(),data:n.data});let y;if(n.functionName==="approve"&&n.functionArgs.length===2){let T=n.functionArgs[0],A=n.functionArgs[1],{message:O,signature:N}=await NA(e,n.to,n.from,T,A,r.openzeppelin.domainSeparatorVersion),{r:U,s:q,v:W}=c0.utils.splitSignature(N);l={to:n.to,owner:O.owner,spender:O.spender,value:c0.BigNumber.from(O.value).toString(),nonce:c0.BigNumber.from(O.nonce).toString(),deadline:c0.BigNumber.from(O.deadline).toString(),r:U,s:q,v:W},y=N}else{let{signature:T}=await Ic(e,c,d,l);y=T}let h="forward";return l?.owner&&(h="permit"),{method:"POST",body:JSON.stringify({request:l,signature:y,forwarderAddress:i,type:h})}}async function btn(n,e,t,a){at(a&&"biconomy"in a,"calling biconomySendFunction without biconomy"),at(e&&t,"signer and provider must be set");let r=new c0.Contract(E7(n.chainId,"biconomyForwarder"),n1e,t),i=0,s=await I7(r,"getNonce",[n.from,i]),f={from:n.from,to:n.to,token:c0.constants.AddressZero,txGas:n.gasLimit.toNumber(),tokenGasPrice:"0",batchId:i,batchNonce:s.toNumber(),deadline:Math.floor(Date.now()/1e3+(a&&"biconomy"in a&&a.biconomy?.deadlineSeconds||3600)),data:n.data},o=c0.utils.arrayify(c0.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[f.from,f.to,f.token,f.txGas,f.tokenGasPrice,f.batchId,f.batchNonce,f.deadline,c0.utils.keccak256(f.data)])),c=await e.signMessage(o);return{method:"POST",body:JSON.stringify({from:n.from,apiId:a.biconomy.apiId,params:[f,c],to:n.to,gasLimit:n.gasLimit.toHexString()}),headers:{"x-api-key":a.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}}}var c0,dtn,AH,De,kA,Ia=ce(()=>{"use strict";p();u();sn();c0=Te(Ue());gc();w_();Ga();dtn=c0.utils.parseUnits("31","gwei");AH=class{constructor(e){this.args=e.args,this.overrides=e.overrides||{},this.provider=e.provider,this.signer=e.signer,this.storage=e.storage,this.signer.provider||(this.signer=this.signer.connect(this.provider))}get getSigner(){return this.signer}get getProvider(){return this.provider}get getStorage(){return this.storage}getArgs(){return this.args}getOverrides(){return this.overrides}getValue(){return this.overrides.value||0}setArgs(e){return this.args=e,this}setOverrides(e){return this.overrides=e,this}updateOverrides(e){return this.overrides={...this.overrides,...e},this}setValue(e){return this.updateOverrides({value:e}),this}setGasLimit(e){return this.updateOverrides({gasLimit:e}),this}setGasPrice(e){return this.updateOverrides({gasPrice:e}),this}setNonce(e){return this.updateOverrides({nonce:e}),this}setMaxFeePerGas(e){return this.updateOverrides({maxFeePerGas:e}),this}setMaxPriorityFeePerGas(e){return this.updateOverrides({maxPriorityFeePerGas:e}),this}setType(e){return this.updateOverrides({type:e}),this}setAccessList(e){return this.updateOverrides({accessList:e}),this}setCustomData(e){return this.updateOverrides({customData:e}),this}setCcipReadEnabled(e){return this.updateOverrides({ccipReadEnabled:e}),this}setGasLimitMultiple(e){c0.BigNumber.isBigNumber(this.overrides.gasLimit)?this.overrides.gasLimit=c0.BigNumber.from(Math.floor(c0.BigNumber.from(this.overrides.gasLimit).toNumber()*e)):this.gasMultiple=e}async getGasPrice(){return tw(this.provider)}async getSignerAddress(){return this.signer.getAddress()}async getGasOverrides(){return r7()?{}:this.overrides.gasLimit?{}:this.overrides.maxFeePerGas&&this.overrides.maxPriorityFeePerGas?{}:ap(this.provider)}},De=class n extends AH{static fromContractWrapper(e){let t=e.contractWrapper.getSigner();if(!t)throw new Error("Cannot create a transaction without a signer. Please ensure that you have a connected signer.");let a={...e,contract:e.contractWrapper.writeContract,provider:e.contractWrapper.getProvider(),signer:t,gasless:e.contractWrapper.options.gasless,storage:e.contractWrapper.storage};return new n(a)}static async fromContractInfo(e){let t=e.storage,a=e.contractAbi;if(!a)try{a=(await $i(e.contractAddress,e.provider,t)).abi}catch{throw new Error(`Could resolve contract metadata for address ${e.contractAddress}. Please pass the contract ABI manually with the 'contractAbi' option.`)}let r=new c0.Contract(e.contractAddress,a,e.provider),i={...e,storage:t,contract:r};return new n(i)}constructor(e){super({args:e.args,overrides:e.overrides,provider:e.provider,signer:e.signer,storage:e.storage}),this.method=e.method,this.gaslessOptions=e.gasless,this.parse=e.parse,this.contract=e.contract.connect(this.signer),this.storage=e.storage}getTarget(){return this.contract.address}getMethod(){return this.method}getGaslessOptions(){return this.gaslessOptions}setGaslessOptions(e){return this.gaslessOptions=e,this}setParse(e){return this.parse=e,this}encode(){return this.contract.interface.encodeFunctionData(this.method,this.args)}async sign(){let e=await this.populateTransaction();return await this.contract.signer.signTransaction(e)}async populateTransaction(){let t={...await this.getGasOverrides(),...this.overrides};t.gasLimit||(t.gasLimit=await this.estimateGasLimit());let a=await this.contract.populateTransaction[this.method](...this.args,t);return await this.contract.signer.populateTransaction(a)}async simulate(){if(!this.contract.callStatic[this.method])throw this.functionError();try{return await this.contract.callStatic[this.method](...this.args,...this.overrides.value?[{value:this.overrides.value}]:[])}catch(e){throw await this.transactionError(e)}}async estimateGasLimit(){if(!this.contract.estimateGas[this.method])throw this.functionError();try{let e=await this.contract.estimateGas[this.method](...this.args,this.overrides);return this.gasMultiple?c0.BigNumber.from(Math.floor(c0.BigNumber.from(e).toNumber()*this.gasMultiple)):e}catch(e){throw await this.simulate(),await this.transactionError(e)}}async estimateGasCost(){let e=await PA(this.provider,await this.populateTransaction());return{ether:c0.utils.formatEther(e),wei:e}}async send(){if(!this.contract.functions[this.method])throw this.functionError();if(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions))return this.sendGasless();let t={...await this.getGasOverrides(),...this.overrides};t.gasLimit||(t.gasLimit=await this.estimateGasLimit());try{return await this.contract.functions[this.method](...this.args,t)}catch(a){throw await this.transactionError(a)}}async execute(){let e=await this.send(),t;try{t=await e.wait()}catch(a){throw await this.simulate(),await this.transactionError(a)}return this.parse?this.parse(t):{receipt:t}}async sendGasless(){let e=await this.prepareGasless(),t=await ltn(e,this.signer,this.provider,this.storage,this.gaslessOptions),a,r=1;for(;!a;){try{a=await this.provider.getTransaction(t)}catch{}if(a||(await new Promise(i=>setTimeout(i,Math.min(r*1e3,1e4))),r++),r>20)throw new Error(`Unable to retrieve transaction with hash ${t}`)}return a}async prepareGasless(){at(this.gaslessOptions&&("openzeppelin"in this.gaslessOptions||"biconomy"in this.gaslessOptions||"engine"in this.gaslessOptions),"No gasless options set on this transaction!");let e=await this.getSignerAddress(),t=[...this.args];this.method==="multicall"&&Array.isArray(this.args[0])&&t[0].length>0&&(t[0]=t[0].map(c=>c0.utils.solidityPack(["bytes","address"],[c,e]))),at(this.signer,"Cannot execute gasless transaction without valid signer");let[{chainId:a},r]=await Promise.all([this.provider.getNetwork(),this.overrides.from||e]),i=this.contract.address,s=this.overrides?.value||0;if(c0.BigNumber.from(s).gt(0))throw new Error("Cannot send native token value with gasless transaction");let f=this.contract.interface.encodeFunctionData(this.method,t),o=c0.BigNumber.from(0);try{o=(await this.contract.estimateGas[this.method](...t)).mul(2)}catch{}return o.lt(1e5)&&(o=c0.BigNumber.from(5e5)),this.overrides.gasLimit&&c0.BigNumber.from(this.overrides.gasLimit).gt(o)&&(o=c0.BigNumber.from(this.overrides.gasLimit)),{from:r,to:i,data:f,chainId:a,gasLimit:o,functionName:this.method,functionArgs:t,callOverrides:this.overrides}}functionError(){return new Error(`Contract "${this.contract.address}" does not have function "${this.method}"`)}async transactionError(e){let t=this.provider,[a,r]=await Promise.all([t.getNetwork(),this.overrides.from||this.getSignerAddress()]),i=this.contract.address,s=this.encode(),f=c0.BigNumber.from(this.overrides.value||0),o=t.connection?.url,c=this.contract.interface.getFunction(this.method),d=this.args.map(O=>JSON.stringify(O).length<=80?JSON.stringify(O):JSON.stringify(O,void 0,2)),l=d.join(", ").length<=80?d.join(", "):` `+d.map(O=>" "+O.split(` `).join(` `)).join(`, `)+` -`,h=`${c.name}(${l})`,y=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,v=fM(e),k;try{let O=(await n.getNetwork()).chainId,F=rM(this.contract.address,O);F?.name&&(k=F.name)}catch{}return new h9({reason:v,from:r,to:f,method:h,data:i,network:a,rpcUrl:o,value:s,hash:y,contractName:k},e)}},nM=class extends tG{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return dt.utils.hexlify(dt.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return dt.constants.AddressZero}getMethod(){return"deploy"}async sign(){let e=await this.populateTransaction();return this.signer.signTransaction(e)}async simulate(){let e=await this.populateTransaction();return this.signer.call(e)}async estimateGasLimit(){try{let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n);return this.signer.estimateGas(a)}catch(e){throw await this.deployError(e)}}async estimateGasCost(){let n={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,n),r=await aM(this.provider,a);return{ether:dt.utils.formatEther(r),wei:r}}async send(){try{let e=await this.populateTransaction();return await this.signer.sendTransaction(e)}catch(e){throw await this.deployError(e)}}async execute(){let e=await this.send();try{await e.wait()}catch(a){throw await this.simulate(),await this.deployError(a)}let n=dt.utils.getContractAddress({from:e.from,nonce:e.nonce});return this.events&&this.events.emit("contractDeployed",{status:"completed",contractAddress:n,transactionHash:e.hash}),n}async populateTransaction(){let n={...await this.getGasOverrides(),...this.overrides};return n.gasLimit||(n.gasLimit=await this.estimateGasLimit()),this.factory.getDeployTransaction(...this.args,n)}async deployError(e){let n=this.provider,[a,r]=await Promise.all([n.getNetwork(),this.overrides.from||this.getSignerAddress()]),f=this.encode(),i=dt.BigNumber.from(this.overrides.value||0),s=n.connection?.url,o=this.args.map(y=>JSON.stringify(y).length<=80?JSON.stringify(y):JSON.stringify(y,void 0,2)),d=`deployContract(${o.join(", ").length<=80?o.join(", "):` -`+o.map(y=>" "+y.split(` +`,y=`${c.name}(${l})`,h=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,T=LA(e),A;try{let O=(await t.getNetwork()).chainId,N=RA(this.contract.address,O);N?.name&&(A=N.name)}catch{}return new x7({reason:T,from:r,to:i,method:y,data:s,network:a,rpcUrl:o,value:f,hash:h,contractName:A},e)}},kA=class extends AH{constructor(e){super(e),this.factory=e.factory,this.events=e.events}encode(){return c0.utils.hexlify(c0.utils.concat([this.factory.bytecode,this.factory.interface.encodeDeploy(this.args)]))}getTarget(){return c0.constants.AddressZero}getMethod(){return"deploy"}async sign(){let e=await this.populateTransaction();return this.signer.signTransaction(e)}async simulate(){let e=await this.populateTransaction();return this.signer.call(e)}async estimateGasLimit(){try{let t={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,t);return this.signer.estimateGas(a)}catch(e){throw await this.deployError(e)}}async estimateGasCost(){let t={...await this.getGasOverrides(),...this.overrides},a=this.factory.getDeployTransaction(...this.args,t),r=await PA(this.provider,a);return{ether:c0.utils.formatEther(r),wei:r}}async send(){try{let e=await this.populateTransaction();return await this.signer.sendTransaction(e)}catch(e){throw await this.deployError(e)}}async execute(){let e=await this.send();try{await e.wait()}catch(a){throw await this.simulate(),await this.deployError(a)}let t=c0.utils.getContractAddress({from:e.from,nonce:e.nonce});return this.events&&this.events.emit("contractDeployed",{status:"completed",contractAddress:t,transactionHash:e.hash}),t}async populateTransaction(){let t={...await this.getGasOverrides(),...this.overrides};return t.gasLimit||(t.gasLimit=await this.estimateGasLimit()),this.factory.getDeployTransaction(...this.args,t)}async deployError(e){let t=this.provider,[a,r]=await Promise.all([t.getNetwork(),this.overrides.from||this.getSignerAddress()]),i=this.encode(),s=c0.BigNumber.from(this.overrides.value||0),f=t.connection?.url,o=this.args.map(h=>JSON.stringify(h).length<=80?JSON.stringify(h):JSON.stringify(h,void 0,2)),d=`deployContract(${o.join(", ").length<=80?o.join(", "):` +`+o.map(h=>" "+h.split(` `).join(` `)).join(`, `)+` -`})`,l=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,h=fM(e);return new h9({reason:h,from:r,method:d,data:f,network:a,rpcUrl:s,value:i,hash:l},e)}}});function k0(t,e){return fE(t.abi,e,t.extensions)}function wr(t,e){return t in e.readContract.functions}function Han(t){return u6e.utils.formatEther(t)}var u6e,Wn,Rn,va,ja,Rf=oe(()=>{"use strict";u();p();ln();Da();u6e=Ee(Je());Ax();Wn=class{constructor(e,n,a){ae(this,"featureName",cM.name);ae(this,"set",be(async e=>{let n=await this._parseAndUploadMetadata(e),a=this.contractWrapper;if(this.supportsContractMetadata(a))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setContractURI",args:[n],parse:r=>({receipt:r,data:this.get})});throw new Z1(cM)}));ae(this,"update",be(async e=>await this.set.prepare({...await this.get(),...e})));this.contractWrapper=e,this.schema=n,this.storage=a}parseOutputMetadata(e){return this.schema.output.parseAsync(e)}parseInputMetadata(e){return this.schema.input.parseAsync(e)}async get(){let e;if(this.supportsContractMetadata(this.contractWrapper)){let n=await this.contractWrapper.read("contractURI",[]);n&&n.includes("://")&&(e=await this.storage.downloadJSON(n))}if(!e)try{let n;try{wr("name",this.contractWrapper)&&(n=await this.contractWrapper.read("name",[]))}catch{}let a;try{wr("symbol",this.contractWrapper)&&(a=await this.contractWrapper.read("symbol",[]))}catch{}let r;try{r=await ni(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options)}catch{}e={name:n||r?.name,symbol:a,description:r?.info.title}}catch{throw new Error("Could not fetch contract metadata")}return this.parseOutputMetadata(e)}async _parseAndUploadMetadata(e){let n=await this.parseInputMetadata(e);return this.storage.upload(n)}supportsContractMetadata(e){return k0(e,"ContractMetadata")}},Rn=class{constructor(e){this.contractWrapper=e}addTransactionListener(e){this.contractWrapper.addListener(o1.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(o1.Transaction,e)}addEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e),f={address:this.contractWrapper.address,topics:[this.contractWrapper.readContract.interface.getEventTopic(a)]},i=s=>{let o=this.contractWrapper.readContract.interface.parseLog(s);n(this.toContractEvent(o.eventFragment,o.args,s))};return this.contractWrapper.getProvider().on(f,i),()=>{this.contractWrapper.getProvider().off(f,i)}}listenToAllEvents(e){let a={address:this.contractWrapper.address},r=f=>{try{let i=this.contractWrapper.readContract.interface.parseLog(f);e(this.toContractEvent(i.eventFragment,i.args,f))}catch(i){console.error("Could not parse event:",f,i)}};return this.contractWrapper.getProvider().on(a,r),()=>{this.contractWrapper.getProvider().off(a,r)}}removeEventListener(e,n){let a=this.contractWrapper.readContract.interface.getEvent(e);this.contractWrapper.readContract.off(a.name,n)}removeAllListeners(){this.contractWrapper.readContract.removeAllListeners();let n={address:this.contractWrapper.address};this.contractWrapper.getProvider().removeAllListeners(n)}async getAllEvents(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{fromBlock:0,toBlock:"latest",order:"desc"},a=(await this.contractWrapper.readContract.queryFilter({},e.fromBlock,e.toBlock)).sort((r,f)=>e.order==="desc"?f.blockNumber-r.blockNumber:r.blockNumber-f.blockNumber);return this.parseEvents(a)}async getEvents(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fromBlock:0,toBlock:"latest",order:"desc"},a=this.contractWrapper.readContract.interface.getEvent(e),r=n.filters?a.inputs.map(o=>n.filters[o.name]):[],f=this.contractWrapper.readContract.filters[a.name](...r),s=(await this.contractWrapper.readContract.queryFilter(f,n.fromBlock,n.toBlock)).sort((o,c)=>n.order==="desc"?c.blockNumber-o.blockNumber:o.blockNumber-c.blockNumber);return this.parseEvents(s)}parseEvents(e){return e.map(n=>{let a=Object.fromEntries(Object.entries(n).filter(r=>typeof r[1]!="function"&&r[0]!=="args"));if(n.args){let r=Object.entries(n.args),f=r.slice(r.length/2,r.length),i={};for(let[s,o]of f)i[s]=o;return{eventName:n.event||"",data:i,transaction:a}}return{eventName:n.event||"",data:{},transaction:a}})}toContractEvent(e,n,a){let r=Object.fromEntries(Object.entries(a).filter(i=>typeof i[1]!="function"&&i[0]!=="args")),f={};return e.inputs.forEach((i,s)=>{if(Array.isArray(n[s])){let o=i.components;if(o){let c=n[s];if(i.type==="tuple[]"){let d=[];for(let l=0;lk0(this.contractWrapper,"AppURI")?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAppURI",args:[e]}):await this.metadata.update.prepare({app_uri:e})));this.contractWrapper=e,this.metadata=n,this.storage=a}async get(){return k0(this.contractWrapper,"AppURI")?await this.contractWrapper.read("appURI",[]):Yoe((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function mf(t){return t.toLowerCase()===bf||t.toLowerCase()===$m.constants.AddressZero}async function Pi(t,e){if(mf(e)){let n=await t.getNetwork(),a=rG(n.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let n=(await Promise.resolve().then(()=>Ee(uoe()))).default,a=new $m.Contract(e,n,t),[r,f,i]=await Promise.all([a.name(),a.symbol(),a.decimals()]);return{name:r,symbol:f,decimals:i}}}async function Ja(t,e,n){let a=await Pi(t,e);return{...a,value:$m.BigNumber.from(n),displayValue:$m.utils.formatUnits(n,a.decimals)}}var $m,it,or=oe(()=>{"use strict";u();p();$m=Ee(Je());ln();it=class{constructor(e){this.contractWrapper=e}encode(e,n){return this.contractWrapper.readContract.interface.encodeFunctionData(e,n)}decode(e,n){return this.contractWrapper.readContract.interface.decodeFunctionData(e,n)}decodeResult(e,n){return this.contractWrapper.readContract.interface.decodeFunctionResult(e,n)}}});var Pa,ec=oe(()=>{"use strict";u();p();Pa=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function c1(t,e,n,a){if(mf(n))a.value=e;else{let r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=t.getSigner(),i=t.getProvider(),s=new lt(f||i,n,r,t.options,t.storage),o=await t.getSignerAddress(),c=t.address;return(await s.read("allowance",[o,c])).lt(e)&&await s.sendTransaction("approve",[c,e]),a}}var p6e,tr0,h6e,Dl,y9,fG,h2=oe(()=>{"use strict";u();p();ln();J5();or();p6e=fe.object({}).catchall(fe.union([m6e,fe.unknown()])),tr0=fe.union([fe.array(fe.array(p6e)).transform(t=>t.flat()),fe.array(p6e),p6e]).optional().nullable(),h6e=fe.object({name:fe.union([fe.string(),fe.number()]).optional().nullable(),description:fe.string().nullable().optional().nullable(),image:Jm.nullable().optional(),animation_url:Jm.optional().nullable()}),Dl=h6e.extend({external_url:Jm.nullable().optional(),background_color:nr0.optional().nullable(),properties:tr0,attributes:tr0}).catchall(fe.union([m6e,fe.unknown()])),y9=fe.union([Dl,fe.string()]),fG=Dl.extend({id:fe.string(),uri:fe.string(),image:fe.string().nullable().optional(),external_url:fe.string().nullable().optional(),animation_url:fe.string().nullable().optional()})});var iE=D((Wva,zan)=>{zan.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function dM(t,e,n){if(e.startsWith("data:application/json;base64")&&typeof _.Buffer<"u"){let f=e.split(",")[1],i=JSON.parse(_.Buffer.from(f,"base64").toString("utf-8"));return fG.parse({...i,id:Qc.BigNumber.from(t).toString(),uri:e})}let a=e.replace("{id}",Qc.utils.hexZeroPad(Qc.BigNumber.from(t).toHexString(),32).slice(2)),r;try{r=await n.downloadJSON(a)}catch{let i=e.replace("{id}",Qc.BigNumber.from(t).toString());try{r=await n.downloadJSON(i)}catch{console.warn(`failed to get token metadata: ${JSON.stringify({tokenId:t.toString(),tokenUri:e})} -- falling back to default metadata`),r=sE}}return fG.parse({...r,id:Qc.BigNumber.from(t).toString(),uri:e})}async function $8(t,e,n,a){let r,f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new Qc.Contract(t,f,e),[s,o]=await Promise.all([i.supportsInterface(Xm),i.supportsInterface(Zm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(boe()))).default;r=await new Qc.Contract(t,c,e).tokenURI(n)}else if(o){let c=(await Promise.resolve().then(()=>Ee(goe()))).default;r=await new Qc.Contract(t,c,e).uri(n)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?dM(n,r,a):fG.parse({...sE,id:Qc.BigNumber.from(n).toString(),uri:""})}async function J8(t,e){return typeof t=="string"?t:await e.upload(Dl.parse(t))}async function Pl(t,e,n,a){if(Wan(t))return t;if(qan(t))return await e.uploadBatch(t.map(f=>Dl.parse(f)),{rewriteFileNames:{fileStartNumber:n||0},onProgress:a?.onProgress});throw new Error("NFT metadatas must all be of the same type (all URI or all NFTMetadataInput)")}function eb(t){let e=t[0].substring(0,t[0].lastIndexOf("/"));for(let n=0;ntypeof e!="string")===void 0}function qan(t){return t.find(e=>typeof e!="object")===void 0}var Qc,Xm,Zm,sE,Li,Ll=oe(()=>{"use strict";u();p();h2();Qc=Ee(Je()),Xm=Qc.utils.arrayify("0x80ac58cd"),Zm=Qc.utils.arrayify("0xd9b67a26"),sE={name:"Failed to load NFT metadata"};Li=100});async function ta(t,e,n){let a=await Pi(t,n);return ar0.utils.parseUnits(ff.parse(e),a.decimals)}var ar0,i5=oe(()=>{"use strict";u();p();ln();ar0=Ee(Je());or()});function Gan(t){let e=t.words,n=new ArrayBuffer(e.length*4),a=new Uint8Array(n);for(let r=0;r>24&255,a[r*4+1]=e[r]>>16&255,a[r*4+2]=e[r]>>8&255,a[r*4+3]=e[r]&255;return n}function Kan(t){let e=new Uint8Array(t.length/2);for(let n=0;nn.toString(16).padStart(2,"0")).join("")}function Van(t){let e=Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var ca,m2,rr0,b6e,jan,oE,fr0=oe(()=>{"use strict";u();p();ca=Ee(Qf()),m2=Ee(cce()),rr0=Ee(jq()),b6e=class t{print(){t.print(this)}bufferIndexOf(e,n){if(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)return this.binarySearch(e,n,ca.Buffer.compare);let r=(f,i)=>f.equals(i);return this.linearSearch(e,n,r)}static binarySearch(e,n,a){let r=0,f=e.length-1;for(;r<=f;){let i=Math.floor((r+f)/2),s=a(e[i],n);if(s===0){for(let o=i-1;o>=0;o--)if(a(e[o],n)!==0)return o+1;return 0}else s<0?r=i+1:f=i-1}return-1}binarySearch(e,n,a){return t.binarySearch(e,n,a)}static linearSearch(e,n,a){for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:!0;return t.bufferToHex(e,n)}static bufferToHex(e){return`${(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?"0x":""}${(e||ca.Buffer.alloc(0)).toString("hex")}`}bufferify(e){return t.bufferify(e)}bufferifyFn(e){return n=>{let a=e(n);if(ca.Buffer.isBuffer(a))return a;if(this.isHexString(a))return ca.Buffer.from(a.replace("0x",""),"hex");if(typeof a=="string")return ca.Buffer.from(a);if(typeof a=="bigint")return ca.Buffer.from(n.toString(16),"hex");if(ArrayBuffer.isView(a))return ca.Buffer.from(a.buffer,a.byteOffset,a.byteLength);let r=Kan(n.toString("hex")),f=e(r),i=Qan(f);return ca.Buffer.from(i,"hex")}}isHexString(e){return t.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,n){return e.map((a,r)=>[a,n[r]])}static hexZeroPad(e,n){return"0x"+e.replace("0x","").padStart(n,"0")}},jan=b6e;oE=class t extends jan{constructor(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};super();ae(this,"duplicateOdd",!1);ae(this,"concatenator",ca.Buffer.concat);ae(this,"hashLeaves",!1);ae(this,"isBitcoinTree",!1);ae(this,"leaves",[]);ae(this,"layers",[]);ae(this,"sortLeaves",!1);ae(this,"sortPairs",!1);ae(this,"sort",!1);ae(this,"fillDefaultHash",null);ae(this,"complete",!1);if(r.complete){if(r.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(r.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!r.isBitcoinTree,this.hashLeaves=!!r.hashLeaves,this.sortLeaves=!!r.sortLeaves,this.sortPairs=!!r.sortPairs,this.complete=!!r.complete,r.fillDefaultHash)if(typeof r.fillDefaultHash=="function")this.fillDefaultHash=r.fillDefaultHash;else if(ca.Buffer.isBuffer(r.fillDefaultHash)||typeof r.fillDefaultHash=="string")this.fillDefaultHash=(f,i)=>r.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!r.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!r.duplicateOdd,r.concatenator&&(this.concatenator=r.concatenator),this.hashFn=this.bufferifyFn(a),this.processLeaves(n)}getOptions(){return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:this.fillDefaultHash?.toString()??null,duplicateOdd:this.duplicateOdd}}processLeaves(n){if(this.hashLeaves&&(n=n.map(this.hashFn)),this.leaves=n.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(ca.Buffer.compare)),this.fillDefaultHash)for(let a=this.leaves.length;a1;){let a=this.layers.length;this.layers.push([]);let r=this.complete&&a===1&&!Number.isInteger(Math.log2(n.length))?2*n.length-2**Math.ceil(Math.log2(n.length)):n.length;for(let f=0;f=r){this.layers[a].push(...n.slice(r));break}else if(f+1===n.length&&n.length%2===1){let d=n[n.length-1],l=d;if(this.isBitcoinTree){l=this.hashFn(this.concatenator([(0,m2.default)(d),(0,m2.default)(d)])),l=(0,m2.default)(this.hashFn(l)),this.layers[a].push(l);continue}else if(!this.duplicateOdd){this.layers[a].push(n[f]);continue}}let i=n[f],s=f+1===n.length?i:n[f+1],o=null;this.isBitcoinTree?o=[(0,m2.default)(i),(0,m2.default)(s)]:o=[i,s],this.sortPairs&&o.sort(ca.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,m2.default)(this.hashFn(c))),this.layers[a].push(c)}n=this.layers[a]}}addLeaf(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=this.hashFn(n)),this.processLeaves(this.leaves.concat(n))}addLeaves(n){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(n=n.map(this.hashFn)),this.processLeaves(this.leaves.concat(n))}getLeaves(n){return Array.isArray(n)?(this.hashLeaves&&(n=n.map(this.hashFn),this.sortLeaves&&(n=n.sort(ca.Buffer.compare))),this.leaves.filter(a=>this.bufferIndexOf(n,a,this.sortLeaves)!==-1)):this.leaves}getLeaf(n){return n<0||n>this.leaves.length-1?ca.Buffer.from([]):this.leaves[n]}getLeafIndex(n){n=this.bufferify(n);let a=this.getLeaves();for(let r=0;rthis.bufferToHex(n))}static marshalLeaves(n){return JSON.stringify(n.map(a=>t.bufferToHex(a)),null,2)}static unmarshalLeaves(n){let a=null;if(typeof n=="string")a=JSON.parse(n);else if(n instanceof Object)a=n;else throw new Error("Expected type of string or object");if(!a)return[];if(!Array.isArray(a))throw new Error("Expected JSON string to be array");return a.map(t.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((n,a)=>(Array.isArray(a)?n.push(a.map(r=>this.bufferToHex(r))):n.push(a),n),[])}getLayersFlat(){let n=this.layers.reduce((a,r)=>(Array.isArray(r)?a.unshift(...r):a.unshift(r),a),[]);return n.unshift(ca.Buffer.from([0])),n}getHexLayersFlat(){return this.getLayersFlat().map(n=>this.bufferToHex(n))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?ca.Buffer.from([]):this.layers[this.layers.length-1][0]||ca.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(n,a){if(typeof n>"u")throw new Error("leaf is required");n=this.bufferify(n);let r=[];if(!Number.isInteger(a)){a=-1;for(let f=0;fthis.bufferToHex(r.data))}getProofs(){let n=[],a=[];return this.getProofsDFS(this.layers.length-1,0,n,a),a}getProofsDFS(n,a,r,f){let i=a%2;if(n===-1){i||f.push([...r].reverse());return}if(a>=this.layers[n].length)return;let s=this.layers[n],o=i?a-1:a+1,c=!1;othis.bufferToHex(n.data))}getPositionalHexProof(n,a){return this.getProof(n,a).map(r=>[r.position==="left"?0:1,this.bufferToHex(r.data)])}getProofIndices(n,a){let r=2**a,f=new Set;for(let d of n){let l=r+d;for(;l>1;)f.add(l^1),l=l/2|0}let i=n.map(d=>r+d),s=Array.from(f).sort((d,l)=>d-l).reverse();f=i.concat(s);let o=new Set,c=[];for(let d of f)if(!o.has(d))for(c.push(d);d>1&&(o.add(d),!!o.has(d^1));)d=d/2|0;return c.filter(d=>!n.includes(d-r))}getProofIndicesForUnevenTree(n,a){let r=Math.ceil(Math.log2(a)),f=[];for(let o=0;oh%2===0?h+1:h-1).filter(h=>!s.includes(h)),l=f.find(h=>{let{index:y}=h;return y===o});l&&s.includes(l.leavesCount-1)&&(d=d.slice(0,-1)),i.push(d),s=[...new Set(s.map(h=>h%2===0?h/2:h%2===0?(h+1)/2:(h-1)/2))]}return i}getMultiProof(n,a){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),a||(a=n,n=this.getLayersFlat()),this.isUnevenTree()&&a.every(Number.isInteger))return this.getMultiProofForUnevenTree(a);if(!a.every(Number.isInteger)){let f=a;this.sortPairs&&(f=f.sort(ca.Buffer.compare));let i=f.map(d=>this.bufferIndexOf(this.leaves,d,this.sortLeaves)).sort((d,l)=>d===l?0:d>l?1:-1);if(!i.every(d=>d!==-1))throw new Error("Element does not exist in Merkle tree");let s=[],o=[],c=[];for(let d=0;dv.indexOf(h)===y),c=[]}return o.filter(d=>!s.includes(d))}return this.getProofIndices(a,Math.log2(n.length/2|0)).map(f=>n[f])}getMultiProofForUnevenTree(n,a){a||(a=n,n=this.getLayers());let r=[],f=a;for(let i of n){let s=[];for(let c of f){if(c%2===0){let l=c+1;if(!f.includes(l)&&i[l]){s.push(i[l]);continue}}let d=c-1;if(!f.includes(d)&&i[d]){s.push(i[d]);continue}}r=r.concat(s);let o=new Set;for(let c of f){if(c%2===0){o.add(c/2);continue}if(c%2===0){o.add((c+1)/2);continue}o.add((c-1)/2)}f=Array.from(o)}return r}getHexMultiProof(n,a){return this.getMultiProof(n,a).map(r=>this.bufferToHex(r))}getProofFlags(n,a){if(!Array.isArray(n)||n.length<=0)throw new Error("Invalid Inputs!");let r;if(n.every(Number.isInteger)?r=[...n].sort((o,c)=>o===c?0:o>c?1:-1):r=n.map(o=>this.bufferIndexOf(this.leaves,o,this.sortLeaves)).sort((o,c)=>o===c?0:o>c?1:-1),!r.every(o=>o!==-1))throw new Error("Element does not exist in Merkle tree");let f=a.map(o=>this.bufferify(o)),i=[],s=[];for(let o=0;o{if(!i.includes(c[l])){let y=this.getPairNode(c,l),v=f.includes(c[l])||f.includes(y);y&&s.push(!v),i.push(c[l]),i.push(y)}return d.push(l/2|0),d},[])}return s}verify(n,a,r){let f=this.bufferify(a);if(r=this.bufferify(r),!Array.isArray(n)||!a||!r)return!1;for(let i=0;ithis.bufferify(h)),i=i.map(h=>this.bufferify(h));let c={};for(let[h,y]of this.zip(a,r))c[2**o+h]=y;for(let[h,y]of this.zip(this.getProofIndices(a,o),i))c[h]=y;let d=Object.keys(c).map(h=>Number(h)).sort((h,y)=>h-y);d=d.slice(0,d.length-1);let l=0;for(;l=2&&{}.hasOwnProperty.call(c,h^1)){let y=[c[h-h%2],c[h-h%2+1]];this.sortPairs&&(y=y.sort(ca.Buffer.compare));let v=y[1]?this.hashFn(this.concatenator(y)):y[0];c[h/2|0]=v,d.push(h/2|0)}l+=1}return!a.length||{}.hasOwnProperty.call(c,1)&&c[1].equals(n)}verifyMultiProofWithFlags(n,a,r,f){n=this.bufferify(n),a=a.map(this.bufferify),r=r.map(this.bufferify);let i=a.length,s=f.length,o=[],c=0,d=0,l=0;for(let h=0;hthis.bufferify(o)),i=i.map(o=>this.bufferify(o));let s=this.calculateRootForUnevenTree(a,r,f,i);return n.equals(s)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let n=this.getLayers().map(r=>r.map(f=>this.bufferToHex(f,!1))),a=[];for(let r=0;r{let[v]=h,[k]=y;return v-k}),s=i.map(h=>{let[y]=h;return y}),o=this.getProofIndicesForUnevenTree(s,r),c=0,d=[];for(let h=0;h{let[W]=F,[j]=z;return W-j}).map(F=>{let[,z]=F;return z}),v=l[h].map(F=>{let[z]=F;return z}),k=[...new Set(v.map(F=>F%2===0?F/2:F%2===0?(F+1)/2:(F-1)/2))],O=[];for(let F=0;F{"use strict";u();p();y6e=Ee(Je());J5();ln();g9=fe.union([fe.date().transform(t=>y6e.BigNumber.from(Math.floor(t.getTime()/1e3))),fe.number().transform(t=>y6e.BigNumber.from(t))]),lM=g9.default(new Date(0)),tb=g9.default(new Date(Date.now()+1e3*60*60*24*365*10))});function cE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerTransaction:t.maxClaimablePerWallet,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims||0}}function dE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot,pricePerToken:t.pricePerToken,currency:t.currency,quantityLimitPerWallet:t.maxClaimablePerWallet,metadata:t.metadata||""}}function s5(t,e){return t==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(t,e)}async function ir0(t){let n=Array.from({length:Math.ceil(t.length/25e3)},(f,i)=>t.slice(i*25e3,i*25e3+25e3)),a=[],r=await Promise.all(n.map(f=>hM.parseAsync(f)));for(let f of r)a.push(...f);return a}async function pM(t,e,n,a,r,f){if(!n)return null;let i=n[e];if(i){let s=await r.downloadJSON(i);if(s.isShardedMerkleTree&&s.merkleRoot===e)return await(await uM.fromShardedMerkleTreeInfo(s,r)).getProof(t,a,f);let o=await hG.parseAsync(s);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===t.toLowerCase())||null}return null}function lE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerTransaction,waitTimeInSecondsBetweenClaims:t.waitTimeInSecondsBetweenClaims}}function uE(t){return{startTimestamp:t.startTimestamp,maxClaimableSupply:t.maxClaimableSupply,supplyClaimed:t.supplyClaimed,merkleRoot:t.merkleRoot.toString(),pricePerToken:t.pricePerToken,currency:t.currency,maxClaimablePerWallet:t.quantityLimitPerWallet,waitTimeInSecondsBetweenClaims:0,metadata:t.metadata}}async function g6e(t,e,n,a,r){let f=t.getSigner(),i=t.getProvider(),s=(await Promise.resolve().then(()=>Ee(K1()))).default,o=new lt(f||i,e,s,t.options,t.storage),c=await t.getSignerAddress(),d=t.address,l=await o.read("allowance",[c,d]),h=rn.BigNumber.from(n).mul(rn.BigNumber.from(a)).div(rn.utils.parseUnits("1",r));l.lt(h)&&await o.sendTransaction("approve",[d,l.add(h)])}async function sG(t,e,n,a,r,f,i,s,o){let c=s5(n.maxClaimablePerWallet,r),d=[rn.utils.hexZeroPad([0],32)],l=n.price,h=n.currencyAddress;try{if(!n.merkleRootHash.toString().startsWith(rn.constants.AddressZero)){let O=await pM(t,n.merkleRootHash.toString(),await a(),f.getProvider(),i,o);if(O)d=O.proof,c=O.maxClaimable==="unlimited"?rn.constants.MaxUint256:rn.utils.parseUnits(O.maxClaimable,r),l=O.price===void 0||O.price==="unlimited"?rn.constants.MaxUint256:await ta(f.getProvider(),O.price,O.currencyAddress||rn.constants.AddressZero),h=O.currencyAddress||rn.constants.AddressZero;else if(o===X8.V1)throw new Error("No claim found for this address")}}catch(O){if(O?.message==="No claim found for this address")throw O;console.warn("failed to check claim condition merkle root hash, continuing anyways",O)}let y=await f.getCallOverrides()||{},v=l.toString()!==rn.constants.MaxUint256.toString()?l:n.price,k=h!==rn.constants.AddressZero?h:n.currencyAddress;return v.gt(0)&&(mf(k)?y.value=rn.BigNumber.from(v).mul(e).div(rn.utils.parseUnits("1",r)):s&&await g6e(f,k,v,e,r)),{overrides:y,proofs:d,maxClaimable:c,price:v,currencyAddress:k,priceInProof:l,currencyAddressInProof:h}}async function ern(t,e,n,a,r){let f=await ir0(t),i=f.map(c=>c.address);if(new Set(i).size{if(s.snapshot&&s.snapshot.length>0){let o=await ern(s.snapshot,e,n,a,r);f.push(o),s.merkleRootHash=o.merkleRoot}else s.merkleRootHash=rn.utils.hexZeroPad([0],32);return s})),snapshotInfos:f}}async function arn(t,e,n,a){let r=t.currencyAddress===rn.constants.AddressZero?bf:t.currencyAddress,f=s5(t.maxClaimableSupply,e),i=s5(t.maxClaimablePerWallet,e),s;return t.metadata&&(typeof t.metadata=="string"?s=t.metadata:s=await a.upload(t.metadata)),{startTimestamp:t.startTime,maxClaimableSupply:f,supplyClaimed:0,maxClaimablePerWallet:i,pricePerToken:await ta(n,t.price,r),currency:r,merkleRoot:t.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:t.waitInSeconds||0,metadata:s}}async function oG(t,e,n,a,r){let{inputsWithSnapshots:f,snapshotInfos:i}=await nrn(t,e,n,a,r),s=await Zan.parseAsync(f),o=(await Promise.all(s.map(c=>arn(c,e,n,a)))).sort((c,d)=>trn(c.startTimestamp,d.startTimestamp));return{snapshotInfos:i,sortedConditions:o}}async function rrn(t,e,n){if(!e)return null;let a=e[t];if(a){let r=await n.downloadJSON(a);if(r.isShardedMerkleTree&&r.merkleRoot===t)return(await uM.fromUri(a,n))?.getAllEntries()||null;{let f=await hG.parseAsync(r);if(t===f.merkleRoot)return f.claims.map(i=>({address:i.address,maxClaimable:i.maxClaimable,price:i.price,currencyAddress:i.currencyAddress}))}}return null}function iG(t,e){return t.toString()===rn.constants.MaxUint256.toString()?"unlimited":rn.utils.formatUnits(t,e)}async function pE(t,e,n,a,r,f){let i=await Ja(n,t.currency,t.pricePerToken),s=iG(t.maxClaimableSupply,e),o=iG(t.maxClaimablePerWallet,e),c=iG(rn.BigNumber.from(t.maxClaimableSupply).sub(t.supplyClaimed),e),d=iG(t.supplyClaimed,e),l;return t.metadata&&(l=await r.downloadJSON(t.metadata)),sr0.parseAsync({startTime:t.startTimestamp,maxClaimableSupply:s,maxClaimablePerWallet:o,currentMintSupply:d,availableSupply:c,waitInSeconds:t.waitTimeInSecondsBetweenClaims?.toString(),price:rn.BigNumber.from(t.pricePerToken),currency:t.currency,currencyAddress:t.currency,currencyMetadata:i,merkleRootHash:t.merkleRoot,snapshot:f?await rrn(t.merkleRoot,a,r):void 0,metadata:l})}async function cG(t,e,n){if(t>=n.length)throw Error(`Index out of bounds - got index: ${t} with ${n.length} conditions`);let a=n[t].currencyMetadata.decimals,r=n[t].price,f=rn.utils.formatUnits(r,a),i=await v6e.parseAsync({...n[t],price:f,...e}),s=await sr0.parseAsync({...i,price:r});return n.map((o,c)=>{let d;c===t?d=s:d=o;let l=rn.utils.formatUnits(d.price,a);return{...d,price:l}})}function dG(t){if(t===void 0){let e=_.Buffer.alloc(16);return Jv({},e),rn.utils.hexlify(rn.utils.toUtf8Bytes(e.toString("hex")))}else return rn.utils.hexlify(t)}var rn,Yan,X8,uM,$an,Jan,Xan,v6e,Zan,sr0,qn,lG,w6e,or0,T6e,cr0,frn,dr0,lr0,ur0,pr0,hr0,mr0,br0,yr0,w9=oe(()=>{"use strict";u();p();rn=Ee(Je());ln();or();i5();fr0();Fl();J5();h2();k0e();Yan=2,X8=function(t){return t[t.V1=1]="V1",t[t.V2=2]="V2",t}({}),uM=class t{constructor(e,n,a,r,f){this.storage=e,this.shardNybbles=r,this.baseUri=n,this.originalEntriesUri=a,this.tokenDecimals=f,this.shards={},this.trees={}}static async fromUri(e,n){try{let a=await n.downloadJSON(e);if(a.isShardedMerkleTree)return t.fromShardedMerkleTreeInfo(a,n)}catch{return}}static async fromShardedMerkleTreeInfo(e,n){return new t(n,e.baseUri,e.originalEntriesUri,e.shardNybbles,e.tokenDecimals)}static hashEntry(e,n,a,r){switch(r){case X8.V1:return rn.utils.solidityKeccak256(["address","uint256"],[e.address,s5(e.maxClaimable,n)]);case X8.V2:return rn.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,s5(e.maxClaimable,n),s5(e.price||"unlimited",a),e.currencyAddress||rn.constants.AddressZero])}}static async fetchAndCacheDecimals(e,n,a){if(!a)return 18;let r=e[a];return r===void 0&&(r=(await Pi(n,a)).decimals,e[a]=r),r}static async buildAndUpload(e,n,a,r,f){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Yan,s=await ir0(e),o={};for(let W of s){let j=W.address.slice(2,2+i).toLowerCase();o[j]===void 0&&(o[j]=[]),o[j].push(W)}let c={},d=await Promise.all(Object.entries(o).map(async W=>{let[j,Q]=W;return[j,new oE(await Promise.all(Q.map(async V=>{let X=await t.fetchAndCacheDecimals(c,a,V.currencyAddress);return t.hashEntry(V,n,X,f)})),rn.utils.keccak256,{sort:!0}).getHexRoot()]})),l=Object.fromEntries(d),h=new oE(Object.values(l),rn.utils.keccak256,{sort:!0}),y=[];for(let[W,j]of Object.entries(o)){let Q={proofs:h.getProof(l[W]).map(V=>"0x"+V.data.toString("hex")),entries:j};y.push({data:JSON.stringify(Q),name:`${W}.json`})}let v=await r.uploadBatch(y),k=v[0].slice(0,v[0].lastIndexOf("/")),O=await r.upload(s),F={merkleRoot:h.getHexRoot(),baseUri:k,originalEntriesUri:O,shardNybbles:i,tokenDecimals:n,isShardedMerkleTree:!0},z=await r.upload(F);return{shardedMerkleInfo:F,uri:z}}async getProof(e,n,a){let r=e.slice(2,2+this.shardNybbles).toLowerCase(),f=this.shards[r],i={};if(f===void 0)try{let l=this.baseUri.endsWith("/")?this.baseUri:`${this.baseUri}/`;f=this.shards[r]=await this.storage.downloadJSON(`${l}${r}.json`);let h=await Promise.all(f.entries.map(async y=>{let v=await t.fetchAndCacheDecimals(i,n,y.currencyAddress);return t.hashEntry(y,this.tokenDecimals,v,a)}));this.trees[r]=new oE(h,rn.utils.keccak256,{sort:!0})}catch{return null}let s=f.entries.find(l=>l.address.toLowerCase()===e.toLowerCase());if(!s)return null;let o=await t.fetchAndCacheDecimals(i,n,s.currencyAddress),c=t.hashEntry(s,this.tokenDecimals,o,a),d=this.trees[r].getProof(c).map(l=>"0x"+l.data.toString("hex"));return pG.parseAsync({...s,proof:d.concat(f.proofs)})}async getAllEntries(){try{return await this.storage.downloadJSON(this.originalEntriesUri)}catch(e){return console.warn("Could not fetch original snapshot entries",e),[]}}};$an=fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),Jan=$an.extend({value:ts,displayValue:fe.string()}),Xan=fe.object({name:fe.string().optional()}).catchall(fe.unknown()),v6e=fe.object({startTime:lM,currencyAddress:fe.string().default(bf),price:ff.default(0),maxClaimableSupply:v9,maxClaimablePerWallet:v9,waitInSeconds:Xa.default(0),merkleRootHash:gr0.default(rn.utils.hexZeroPad([0],32)),snapshot:fe.optional(hM).nullable(),metadata:Xan.optional()}),Zan=fe.array(v6e),sr0=v6e.extend({availableSupply:v9,currentMintSupply:v9,currencyMetadata:Jan.default({value:rn.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:ts,waitInSeconds:ts,startTime:ts.transform(t=>new Date(t.toNumber()*1e3)),snapshot:hM.optional().nullable()});qn=function(t){return t.NotEnoughSupply="There is not enough supply to claim.",t.AddressNotAllowed="This address is not on the allowlist.",t.WaitBeforeNextClaimTransaction="Not enough time since last claim transaction. Please wait.",t.ClaimPhaseNotStarted="Claim phase has not started yet.",t.AlreadyClaimed="You have already claimed the token.",t.WrongPriceOrCurrency="Incorrect price or currency.",t.OverMaxClaimablePerWallet="Cannot claim more than maximum allowed quantity.",t.NotEnoughTokens="There are not enough tokens in the wallet to pay for the claim.",t.NoActiveClaimPhase="There is no active claim phase at the moment. Please check back in later.",t.NoClaimConditionSet="There is no claim condition set.",t.NoWallet="No wallet connected.",t.Unknown="No claim conditions found.",t}({});lG=fe.object({to:da.refine(t=>t.toLowerCase()!==rn.constants.AddressZero,{message:"Cannot create payload to mint to zero address"}),price:ff.default(0),currencyAddress:uG.default(bf),mintStartTime:lM,mintEndTime:tb,uid:fe.string().optional().transform(t=>dG(t)),primarySaleRecipient:da.default(rn.constants.AddressZero)}),w6e=lG.extend({quantity:ff}),or0=w6e.extend({mintStartTime:ts,mintEndTime:ts}),T6e=lG.extend({metadata:y9,royaltyRecipient:fe.string().default(rn.constants.AddressZero),royaltyBps:nb.default(0)}),cr0=T6e.extend({metadata:y9.default(""),uri:fe.string(),royaltyBps:ts,mintStartTime:ts,mintEndTime:ts}),frn=T6e.extend({metadata:y9.default(""),quantity:Xa}),dr0=frn.extend({tokenId:Xa}),lr0=cr0.extend({tokenId:ts,quantity:ts}),ur0=T6e.extend({metadata:y9.default(""),quantity:ts.default(1)}),pr0=cr0.extend({quantity:ts.default(1)}),hr0=[{name:"to",type:"address"},{name:"primarySaleRecipient",type:"address"},{name:"quantity",type:"uint256"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],mr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],br0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"tokenId",type:"uint256"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],yr0=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}]});var vr0=D((gwa,irn)=>{irn.exports=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedBaseURI",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});async function mG(t,e,n,a,r){let f={},i=a||bf,o=(await ta(t.getProvider(),e,i)).mul(n);return o.gt(0)&&(i===bf?f={value:o}:i!==bf&&r&&await g6e(t,i,o,n,0)),f}var L6,Ss,b2,Rs,Nl=oe(()=>{"use strict";u();p();Rf();Da();ln();or();L6=Ee(Je());h2();Ll();w9();i5();Ss=class{constructor(e,n){ae(this,"featureName",hE.name);ae(this,"setDefaultRoyaltyInfo",be(async e=>{let n=await this.metadata.get(),a=await this.metadata.parseInputMetadata({...n,...e}),r=await this.metadata._parseAndUploadMetadata(a);if(wr("setContractURI",this.contractWrapper)){let f=new it(this.contractWrapper),i=[f.encode("setDefaultRoyaltyInfo",[a.fee_recipient,a.seller_fee_basis_points]),f.encode("setContractURI",[r])];return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>({receipt:s,data:()=>this.getDefaultRoyaltyInfo()})})}else throw new Error("Updating royalties requires implementing ContractMetadata in your contract to support marketplaces like OpenSea.")}));ae(this,"setTokenRoyaltyInfo",be(async(e,n)=>{let a=vi.parse(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setRoyaltyInfoForToken",args:[e,a.fee_recipient,a.seller_fee_basis_points],parse:r=>({receipt:r,data:()=>this.getDefaultRoyaltyInfo()})})}));this.contractWrapper=e,this.metadata=n}async getDefaultRoyaltyInfo(){let[e,n]=await this.contractWrapper.read("getDefaultRoyaltyInfo",[]);return vi.parseAsync({fee_recipient:e,seller_fee_basis_points:n})}async getTokenRoyaltyInfo(e){let[n,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return vi.parseAsync({fee_recipient:n,seller_fee_basis_points:a})}},b2=class{constructor(e,n,a,r){ae(this,"createDelayedRevealBatch",be(async(e,n,a,r)=>{if(!a)throw new Error("Password is required");let f=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),i=eb(f),s=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(n.map(k=>Dl.parse(k)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:s.toNumber()}}),c=eb(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),h=await this.contractWrapper.read("encryptDecrypt",[L6.utils.toUtf8Bytes(c),l]),y;if(await this.isLegacyContract())y=h;else{let k=await this.contractWrapper.getChainID(),O=L6.utils.solidityKeccak256(["bytes","bytes","uint256"],[L6.utils.toUtf8Bytes(c),l,k]);y=L6.utils.defaultAbiCoder.encode(["bytes","bytes32"],[h,O])}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[o.length,i.endsWith("/")?i:`${i}/`,y],parse:k=>{let O=this.contractWrapper.parseLogs("TokensLazyMinted",k?.logs),F=O[0].args.startTokenId,z=O[0].args.endTokenId,W=[];for(let j=F;j.lte(z);j=j.add(1))W.push({id:j,receipt:k});return W}})}));ae(this,"reveal",be(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.hashDelayRevealPassword(e,n);try{let r=await this.contractWrapper.callStatic().reveal(e,a);if(!r.includes("://")||!r.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,a]})}));this.featureName=a,this.nextTokenIdToMintFn=r,this.contractWrapper=e,this.storage=n}async getBatchesToReveal(){let e=await this.contractWrapper.read("getBaseURICount",[]);if(e.isZero())return[];let n=Array.from(Array(e.toNumber()).keys()),a=await Promise.all(n.map(c=>{if(wr("getBatchIdAtIndex",this.contractWrapper))return this.contractWrapper.read("getBatchIdAtIndex",[c]);if(wr("baseURIIndices",this.contractWrapper))return this.contractWrapper.read("baseURIIndices",[c]);throw new Error("Contract does not have getBatchIdAtIndex or baseURIIndices.")})),r=a.slice(0,a.length-1),f=await Promise.all(Array.from([0,...r]).map(c=>this.getNftMetadata(c.toString()))),i=await this.isLegacyContract(),o=(await Promise.all(Array.from([...a]).map(c=>i?this.getLegacyEncryptedData(c):this.contractWrapper.read("encryptedData",[c])))).map(c=>L6.utils.hexDataLength(c)>0?i?c:L6.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return f.map((c,d)=>({batchId:L6.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>L6.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,n){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return L6.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,r])}async getNftMetadata(e){return $8(this.contractWrapper.address,this.contractWrapper.getProvider(),e,this.storage)}async isLegacyContract(){if(wr("contractVersion",this.contractWrapper))try{return await this.contractWrapper.read("contractVersion",[])<=2}catch{return!1}return!1}async getLegacyEncryptedData(e){let n=(await Promise.resolve().then(()=>Ee(vr0()))).default,r=await new L6.Contract(this.contractWrapper.address,n,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};Rs=class{constructor(e){ae(this,"featureName",mE.name);ae(this,"set",be(async e=>{let n=await Oe(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setOwner",args:[n]})}));this.contractWrapper=e}async get(){return this.contractWrapper.read("owner",[])}}});var ai,Ol=oe(()=>{"use strict";u();p();Da();ln();ai=class{constructor(e){ae(this,"featureName",bE.name);ae(this,"set",be(async e=>{let n=await tc.parseAsync(e);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPlatformFeeInfo",args:[n.platform_fee_recipient,n.platform_fee_basis_points]})}));this.contractWrapper=e}async get(){let[e,n]=await this.contractWrapper.read("getPlatformFeeInfo",[]);return tc.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:n})}}});var Tr,Vc=oe(()=>{"use strict";u();p();ir();ln();Rf();Da();or();Tr=class{constructor(e,n){ae(this,"featureName",yE.name);ae(this,"setAll",be(async(e,n)=>{let a=n||await this.contractWrapper.getSignerAddress(),r=new it(this.contractWrapper),f=Object.keys(e);d0(f.length,"you must provide at least one role to set"),d0(f.every(c=>this.roles.includes(c)),"this contract does not support the given role");let i=await this.getAll(),s=[],o=f.sort(c=>c==="admin"?1:-1);for(let c=0;cOe(k))||[]),Promise.all(i[d]?.map(k=>Oe(k))||[])]),y=l.filter(k=>!h.includes(k)),v=h.filter(k=>!l.includes(k));if(v.length>1){let k=v.indexOf(a);k>-1&&(v.splice(k,1),v.push(a))}y.length&&y.forEach(k=>{s.push(r.encode("grantRole",[cr(d),k]))}),v.length&&(await Promise.all(v.map(O=>this.getRevokeRoleFunctionName(O)))).forEach((O,F)=>s.push(r.encode(O,[cr(d),v[F]])))}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[s]})}));ae(this,"grant",be(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"grantRole",args:[cr(e),a]})}));ae(this,"revoke",be(async(e,n)=>{d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Oe(n),r=await this.getRevokeRoleFunctionName(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:r,args:[cr(e),a]})}));this.contractWrapper=e,this.roles=n}async getAll(){d0(this.roles.length,"this contract has no support for roles");let e={},n=Object.entries(this.roles);return(await Promise.all(n.map(a=>{let[,r]=a;return this.get(r)}))).forEach((a,r)=>e[n[r][1]]=a),e}async get(e){d0(this.roles.includes(e),`this contract does not support the "${e}" role`);let n=this.contractWrapper;if(wr("getRoleMemberCount",n)&&wr("getRoleMember",n)){let a=cr(e),r=(await n.read("getRoleMemberCount",[a])).toNumber();return await Promise.all(Array.from(Array(r).keys()).map(f=>n.read("getRoleMember",[a,f])))}throw new Error("Contract does not support enumerating roles. Please implement IPermissionsEnumerable to unlock this functionality.")}async verify(e,n){await Promise.all(e.map(async a=>{let[r,f]=await Promise.all([this.get(a),Oe(n)]);if(!r.map(i=>i.toLowerCase()).includes(f.toLowerCase()))throw new bM(f,a)}))}async getRevokeRoleFunctionName(e){let[n,a]=await Promise.all([Oe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===n.toLowerCase()?"renounceRole":"revokeRole"}}});var Ms,Z8=oe(()=>{"use strict";u();p();Da();ln();Ms=class{constructor(e){ae(this,"featureName",gE.name);ae(this,"setRecipient",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Yc=D((Xwa,wr0)=>{"use strict";u();p();wr0.exports=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var a,r,f;if(Array.isArray(e)){if(a=e.length,a!=n.length)return!1;for(r=a;r--!==0;)if(!t(e[r],n[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(f=Object.keys(e),a=f.length,a!==Object.keys(n).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,f[r]))return!1;for(r=a;r--!==0;){var i=f[r];if(!t(e[i],n[i]))return!1}return!0}return e!==e&&n!==n}});var la,xr0,yM,Tr0,srn,x6e,E6e,gM,_6e,A6e,I6e,C6e,k6e,vE,vM=oe(()=>{"use strict";u();p();la=Ee(Je());ln();Fl();Rf();Ll();Da();J5();Nl();xr0=Ee(Yc());w9();or();ir();i5();h2();yM=class{constructor(e,n,a){ae(this,"set",be((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e.setBatch.prepare([{tokenId:n,claimConditions:a}],r)}})()));ae(this,"setBatch",be((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={},f=await Promise.all(n.map(async o=>{let{tokenId:c,claimConditions:d}=o,l=d;if(e.isLegacySinglePhaseDrop(e.contractWrapper)){if(a=!0,d.length===0)l=[{startTime:new Date(0),currencyAddress:la.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:la.utils.hexZeroPad([0],32),snapshot:[]}];else if(d.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&l.forEach(v=>{if(v.snapshot&&v.snapshot.length>0&&(v.maxClaimablePerWallet===void 0||v.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. +`})`,l=e.transactionHash||e.transaction?.hash||e.receipt?.transactionHash,y=LA(e);return new x7({reason:y,from:r,method:d,data:i,network:a,rpcUrl:f,value:s,hash:l},e)}}});function gt(n,e){return D7(n.abi,e,n.extensions)}function cr(n,e){return n in e.readContract.functions}function htn(n){return a1e.utils.formatEther(n)}var a1e,Bn,xn,pa,Ma,hi=ce(()=>{"use strict";p();u();sn();Ia();a1e=Te(Ue());w_();Bn=class{constructor(e,t,a){Z(this,"featureName",FA.name);Z(this,"set",ye(async e=>{let t=await this._parseAndUploadMetadata(e),a=this.contractWrapper;if(this.supportsContractMetadata(a))return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setContractURI",args:[t],parse:r=>({receipt:r,data:this.get})});throw new L1(FA)}));Z(this,"update",ye(async e=>await this.set.prepare({...await this.get(),...e})));this.contractWrapper=e,this.schema=t,this.storage=a}parseOutputMetadata(e){return this.schema.output.parseAsync(e)}parseInputMetadata(e){return this.schema.input.parseAsync(e)}async get(){let e;if(this.supportsContractMetadata(this.contractWrapper)){let t=await this.contractWrapper.read("contractURI",[]);t&&t.includes("://")&&(e=await this.storage.downloadJSON(t))}if(!e)try{let t;try{cr("name",this.contractWrapper)&&(t=await this.contractWrapper.read("name",[]))}catch{}let a;try{cr("symbol",this.contractWrapper)&&(a=await this.contractWrapper.read("symbol",[]))}catch{}let r;try{r=await $i(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options)}catch{}e={name:t||r?.name,symbol:a,description:r?.info.title}}catch{throw new Error("Could not fetch contract metadata")}return this.parseOutputMetadata(e)}async _parseAndUploadMetadata(e){let t=await this.parseInputMetadata(e);return this.storage.upload(t)}supportsContractMetadata(e){return gt(e,"ContractMetadata")}},xn=class{constructor(e){this.contractWrapper=e}addTransactionListener(e){this.contractWrapper.addListener(jo.Transaction,e)}removeTransactionListener(e){this.contractWrapper.off(jo.Transaction,e)}addEventListener(e,t){let a=this.contractWrapper.readContract.interface.getEvent(e),i={address:this.contractWrapper.address,topics:[this.contractWrapper.readContract.interface.getEventTopic(a)]},s=f=>{let o=this.contractWrapper.readContract.interface.parseLog(f);t(this.toContractEvent(o.eventFragment,o.args,f))};return this.contractWrapper.getProvider().on(i,s),()=>{this.contractWrapper.getProvider().off(i,s)}}listenToAllEvents(e){let a={address:this.contractWrapper.address},r=i=>{try{let s=this.contractWrapper.readContract.interface.parseLog(i);e(this.toContractEvent(s.eventFragment,s.args,i))}catch(s){console.error("Could not parse event:",i,s)}};return this.contractWrapper.getProvider().on(a,r),()=>{this.contractWrapper.getProvider().off(a,r)}}removeEventListener(e,t){let a=this.contractWrapper.readContract.interface.getEvent(e);this.contractWrapper.readContract.off(a.name,t)}removeAllListeners(){this.contractWrapper.readContract.removeAllListeners();let t={address:this.contractWrapper.address};this.contractWrapper.getProvider().removeAllListeners(t)}async getAllEvents(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{fromBlock:0,toBlock:"latest",order:"desc"},a=(await this.contractWrapper.readContract.queryFilter({},e.fromBlock,e.toBlock)).sort((r,i)=>e.order==="desc"?i.blockNumber-r.blockNumber:r.blockNumber-i.blockNumber);return this.parseEvents(a)}async getEvents(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fromBlock:0,toBlock:"latest",order:"desc"},a=this.contractWrapper.readContract.interface.getEvent(e),r=t.filters?a.inputs.map(o=>t.filters[o.name]):[],i=this.contractWrapper.readContract.filters[a.name](...r),f=(await this.contractWrapper.readContract.queryFilter(i,t.fromBlock,t.toBlock)).sort((o,c)=>t.order==="desc"?c.blockNumber-o.blockNumber:o.blockNumber-c.blockNumber);return this.parseEvents(f)}parseEvents(e){return e.map(t=>{let a=Object.fromEntries(Object.entries(t).filter(r=>typeof r[1]!="function"&&r[0]!=="args"));if(t.args){let r=Object.entries(t.args),i=r.slice(r.length/2,r.length),s={};for(let[f,o]of i)s[f]=o;return{eventName:t.event||"",data:s,transaction:a}}return{eventName:t.event||"",data:{},transaction:a}})}toContractEvent(e,t,a){let r=Object.fromEntries(Object.entries(a).filter(s=>typeof s[1]!="function"&&s[0]!=="args")),i={};return e.inputs.forEach((s,f)=>{if(Array.isArray(t[f])){let o=s.components;if(o){let c=t[f];if(s.type==="tuple[]"){let d=[];for(let l=0;lgt(this.contractWrapper,"AppURI")?De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAppURI",args:[e]}):await this.metadata.update.prepare({app_uri:e})));this.contractWrapper=e,this.metadata=t,this.storage=a}async get(){return gt(this.contractWrapper,"AppURI")?await this.contractWrapper.read("appURI",[]):Use((await this.metadata.get()).app_uri||"",this.storage.getGatewayUrls())}}});function ai(n){return n.toLowerCase()===ri||n.toLowerCase()===d3.constants.AddressZero}async function vs(n,e){if(ai(e)){let t=await n.getNetwork(),a=RH(t.chainId);return{name:a.name,symbol:a.symbol,decimals:a.decimals}}else{let t=(await Promise.resolve().then(()=>Te(rse()))).default,a=new d3.Contract(e,t,n),[r,i,s]=await Promise.all([a.name(),a.symbol(),a.decimals()]);return{name:r,symbol:i,decimals:s}}}async function Va(n,e,t){let a=await vs(n,e);return{...a,value:d3.BigNumber.from(t),displayValue:d3.utils.formatUnits(t,a.decimals)}}var d3,r0,Qa=ce(()=>{"use strict";p();u();d3=Te(Ue());sn();r0=class{constructor(e){this.contractWrapper=e}encode(e,t){return this.contractWrapper.readContract.interface.encodeFunctionData(e,t)}decode(e,t){return this.contractWrapper.readContract.interface.decodeFunctionData(e,t)}decodeResult(e,t){return this.contractWrapper.readContract.interface.decodeFunctionResult(e,t)}}});var Ea,M1=ce(()=>{"use strict";p();u();Ea=class{constructor(e){this.contractWrapper=e}overrideNextTransaction(e){this.contractWrapper.withTransactionOverride(e)}}});async function Go(n,e,t,a){if(ai(t))a.value=e;else{let r=(await Promise.resolve().then(()=>Te(D1()))).default,i=n.getSigner(),s=n.getProvider(),f=new f0(i||s,t,r,n.options,n.storage),o=await n.getSignerAddress(),c=n.address;return(await f.read("allowance",[o,c])).lt(e)&&await f.sendTransaction("approve",[c,e]),a}}var r1e,x0t,i1e,rp,C7,LH,F5=ce(()=>{"use strict";p();u();sn();wl();Qa();r1e=re.object({}).catchall(re.union([s1e,re.unknown()])),x0t=re.union([re.array(re.array(r1e)).transform(n=>n.flat()),re.array(r1e),r1e]).optional().nullable(),i1e=re.object({name:re.union([re.string(),re.number()]).optional().nullable(),description:re.string().nullable().optional().nullable(),image:l3.nullable().optional(),animation_url:l3.optional().nullable()}),rp=i1e.extend({external_url:l3.nullable().optional(),background_color:I0t.optional().nullable(),properties:x0t,attributes:x0t}).catchall(re.union([s1e,re.unknown()])),C7=re.union([rp,re.string()]),LH=rp.extend({id:re.string(),uri:re.string(),image:re.string().nullable().optional(),external_url:re.string().nullable().optional(),animation_url:re.string().nullable().optional()})});var aw=B((j3a,gtn)=>{gtn.exports=[{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"}]});async function OA(n,e,t){if(e.startsWith("data:application/json;base64")&&typeof D.Buffer<"u"){let i=e.split(",")[1],s=JSON.parse(D.Buffer.from(i,"base64").toString("utf-8"));return LH.parse({...s,id:Ec.BigNumber.from(n).toString(),uri:e})}let a=e.replace("{id}",Ec.utils.hexZeroPad(Ec.BigNumber.from(n).toHexString(),32).slice(2)),r;try{r=await t.downloadJSON(a)}catch{let s=e.replace("{id}",Ec.BigNumber.from(n).toString());try{r=await t.downloadJSON(s)}catch{console.warn(`failed to get token metadata: ${JSON.stringify({tokenId:n.toString(),tokenUri:e})} -- falling back to default metadata`),r=rw}}return LH.parse({...r,id:Ec.BigNumber.from(n).toString(),uri:e})}async function yy(n,e,t,a){let r,i=(await Promise.resolve().then(()=>Te(aw()))).default,s=new Ec.Contract(n,i,e),[f,o]=await Promise.all([s.supportsInterface(p3),s.supportsInterface(u3)]);if(f){let c=(await Promise.resolve().then(()=>Te(ose()))).default;r=await new Ec.Contract(n,c,e).tokenURI(t)}else if(o){let c=(await Promise.resolve().then(()=>Te(dse()))).default;r=await new Ec.Contract(n,c,e).uri(t)}else throw Error("Contract must implement ERC 1155 or ERC 721.");return r?OA(t,r,a):LH.parse({...rw,id:Ec.BigNumber.from(t).toString(),uri:""})}async function my(n,e){return typeof n=="string"?n:await e.upload(rp.parse(n))}async function ip(n,e,t,a){if(vtn(n))return n;if(Ttn(n))return await e.uploadBatch(n.map(i=>rp.parse(i)),{rewriteFileNames:{fileStartNumber:t||0},onProgress:a?.onProgress});throw new Error("NFT metadatas must all be of the same type (all URI or all NFTMetadataInput)")}function y3(n){let e=n[0].substring(0,n[0].lastIndexOf("/"));for(let t=0;ttypeof e!="string")===void 0}function Ttn(n){return n.find(e=>typeof e!="object")===void 0}var Ec,p3,u3,rw,Ts,sp=ce(()=>{"use strict";p();u();F5();Ec=Te(Ue()),p3=Ec.utils.arrayify("0x80ac58cd"),u3=Ec.utils.arrayify("0xd9b67a26"),rw={name:"Failed to load NFT metadata"};Ts=100});async function Gn(n,e,t){let a=await vs(n,t);return E0t.utils.parseUnits(Kr.parse(e),a.decimals)}var E0t,M6=ce(()=>{"use strict";p();u();sn();E0t=Te(Ue());Qa()});function wtn(n){let e=n.words,t=new ArrayBuffer(e.length*4),a=new Uint8Array(t);for(let r=0;r>24&255,a[r*4+1]=e[r]>>16&255,a[r*4+2]=e[r]>>8&255,a[r*4+3]=e[r]&255;return t}function xtn(n){let e=new Uint8Array(n.length/2);for(let t=0;tt.toString(16).padStart(2,"0")).join("")}function Etn(n){let e=Array.from(n).map(t=>t.toString(16).padStart(2,"0")).join("");return BigInt(`0x${e}`)}var na,O5,D0t,f1e,_tn,iw,C0t=ce(()=>{"use strict";p();u();na=Te(ki()),O5=Te(xoe()),D0t=Te(Sq()),f1e=class n{print(){n.print(this)}bufferIndexOf(e,t){if(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)return this.binarySearch(e,t,na.Buffer.compare);let r=(i,s)=>i.equals(s);return this.linearSearch(e,t,r)}static binarySearch(e,t,a){let r=0,i=e.length-1;for(;r<=i;){let s=Math.floor((r+i)/2),f=a(e[s],t);if(f===0){for(let o=s-1;o>=0;o--)if(a(e[o],t)!==0)return o+1;return 0}else f<0?r=s+1:i=s-1}return-1}binarySearch(e,t,a){return n.binarySearch(e,t,a)}static linearSearch(e,t,a){for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:!0;return n.bufferToHex(e,t)}static bufferToHex(e){return`${(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?"0x":""}${(e||na.Buffer.alloc(0)).toString("hex")}`}bufferify(e){return n.bufferify(e)}bufferifyFn(e){return t=>{let a=e(t);if(na.Buffer.isBuffer(a))return a;if(this.isHexString(a))return na.Buffer.from(a.replace("0x",""),"hex");if(typeof a=="string")return na.Buffer.from(a);if(typeof a=="bigint")return na.Buffer.from(t.toString(16),"hex");if(ArrayBuffer.isView(a))return na.Buffer.from(a.buffer,a.byteOffset,a.byteLength);let r=xtn(t.toString("hex")),i=e(r),s=Itn(i);return na.Buffer.from(s,"hex")}}isHexString(e){return n.isHexString(e)}log2(e){return e===1?0:1+this.log2(e/2|0)}zip(e,t){return e.map((a,r)=>[a,t[r]])}static hexZeroPad(e,t){return"0x"+e.replace("0x","").padStart(t,"0")}},_tn=f1e;iw=class n extends _tn{constructor(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};super();Z(this,"duplicateOdd",!1);Z(this,"concatenator",na.Buffer.concat);Z(this,"hashLeaves",!1);Z(this,"isBitcoinTree",!1);Z(this,"leaves",[]);Z(this,"layers",[]);Z(this,"sortLeaves",!1);Z(this,"sortPairs",!1);Z(this,"sort",!1);Z(this,"fillDefaultHash",null);Z(this,"complete",!1);if(r.complete){if(r.isBitcoinTree)throw new Error('option "complete" is incompatible with "isBitcoinTree"');if(r.duplicateOdd)throw new Error('option "complete" is incompatible with "duplicateOdd"')}if(this.isBitcoinTree=!!r.isBitcoinTree,this.hashLeaves=!!r.hashLeaves,this.sortLeaves=!!r.sortLeaves,this.sortPairs=!!r.sortPairs,this.complete=!!r.complete,r.fillDefaultHash)if(typeof r.fillDefaultHash=="function")this.fillDefaultHash=r.fillDefaultHash;else if(na.Buffer.isBuffer(r.fillDefaultHash)||typeof r.fillDefaultHash=="string")this.fillDefaultHash=(i,s)=>r.fillDefaultHash;else throw new Error('method "fillDefaultHash" must be a function, Buffer, or string');this.sort=!!r.sort,this.sort&&(this.sortLeaves=!0,this.sortPairs=!0),this.duplicateOdd=!!r.duplicateOdd,r.concatenator&&(this.concatenator=r.concatenator),this.hashFn=this.bufferifyFn(a),this.processLeaves(t)}getOptions(){return{complete:this.complete,isBitcoinTree:this.isBitcoinTree,hashLeaves:this.hashLeaves,sortLeaves:this.sortLeaves,sortPairs:this.sortPairs,sort:this.sort,fillDefaultHash:this.fillDefaultHash?.toString()??null,duplicateOdd:this.duplicateOdd}}processLeaves(t){if(this.hashLeaves&&(t=t.map(this.hashFn)),this.leaves=t.map(this.bufferify),this.sortLeaves&&(this.leaves=this.leaves.sort(na.Buffer.compare)),this.fillDefaultHash)for(let a=this.leaves.length;a1;){let a=this.layers.length;this.layers.push([]);let r=this.complete&&a===1&&!Number.isInteger(Math.log2(t.length))?2*t.length-2**Math.ceil(Math.log2(t.length)):t.length;for(let i=0;i=r){this.layers[a].push(...t.slice(r));break}else if(i+1===t.length&&t.length%2===1){let d=t[t.length-1],l=d;if(this.isBitcoinTree){l=this.hashFn(this.concatenator([(0,O5.default)(d),(0,O5.default)(d)])),l=(0,O5.default)(this.hashFn(l)),this.layers[a].push(l);continue}else if(!this.duplicateOdd){this.layers[a].push(t[i]);continue}}let s=t[i],f=i+1===t.length?s:t[i+1],o=null;this.isBitcoinTree?o=[(0,O5.default)(s),(0,O5.default)(f)]:o=[s,f],this.sortPairs&&o.sort(na.Buffer.compare);let c=this.hashFn(this.concatenator(o));this.isBitcoinTree&&(c=(0,O5.default)(this.hashFn(c))),this.layers[a].push(c)}t=this.layers[a]}}addLeaf(t){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(t=this.hashFn(t)),this.processLeaves(this.leaves.concat(t))}addLeaves(t){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&(t=t.map(this.hashFn)),this.processLeaves(this.leaves.concat(t))}getLeaves(t){return Array.isArray(t)?(this.hashLeaves&&(t=t.map(this.hashFn),this.sortLeaves&&(t=t.sort(na.Buffer.compare))),this.leaves.filter(a=>this.bufferIndexOf(t,a,this.sortLeaves)!==-1)):this.leaves}getLeaf(t){return t<0||t>this.leaves.length-1?na.Buffer.from([]):this.leaves[t]}getLeafIndex(t){t=this.bufferify(t);let a=this.getLeaves();for(let r=0;rthis.bufferToHex(t))}static marshalLeaves(t){return JSON.stringify(t.map(a=>n.bufferToHex(a)),null,2)}static unmarshalLeaves(t){let a=null;if(typeof t=="string")a=JSON.parse(t);else if(t instanceof Object)a=t;else throw new Error("Expected type of string or object");if(!a)return[];if(!Array.isArray(a))throw new Error("Expected JSON string to be array");return a.map(n.bufferify)}getLayers(){return this.layers}getHexLayers(){return this.layers.reduce((t,a)=>(Array.isArray(a)?t.push(a.map(r=>this.bufferToHex(r))):t.push(a),t),[])}getLayersFlat(){let t=this.layers.reduce((a,r)=>(Array.isArray(r)?a.unshift(...r):a.unshift(r),a),[]);return t.unshift(na.Buffer.from([0])),t}getHexLayersFlat(){return this.getLayersFlat().map(t=>this.bufferToHex(t))}getLayerCount(){return this.getLayers().length}getRoot(){return this.layers.length===0?na.Buffer.from([]):this.layers[this.layers.length-1][0]||na.Buffer.from([])}getHexRoot(){return this.bufferToHex(this.getRoot())}getProof(t,a){if(typeof t>"u")throw new Error("leaf is required");t=this.bufferify(t);let r=[];if(!Number.isInteger(a)){a=-1;for(let i=0;ithis.bufferToHex(r.data))}getProofs(){let t=[],a=[];return this.getProofsDFS(this.layers.length-1,0,t,a),a}getProofsDFS(t,a,r,i){let s=a%2;if(t===-1){s||i.push([...r].reverse());return}if(a>=this.layers[t].length)return;let f=this.layers[t],o=s?a-1:a+1,c=!1;othis.bufferToHex(t.data))}getPositionalHexProof(t,a){return this.getProof(t,a).map(r=>[r.position==="left"?0:1,this.bufferToHex(r.data)])}getProofIndices(t,a){let r=2**a,i=new Set;for(let d of t){let l=r+d;for(;l>1;)i.add(l^1),l=l/2|0}let s=t.map(d=>r+d),f=Array.from(i).sort((d,l)=>d-l).reverse();i=s.concat(f);let o=new Set,c=[];for(let d of i)if(!o.has(d))for(c.push(d);d>1&&(o.add(d),!!o.has(d^1));)d=d/2|0;return c.filter(d=>!t.includes(d-r))}getProofIndicesForUnevenTree(t,a){let r=Math.ceil(Math.log2(a)),i=[];for(let o=0;oy%2===0?y+1:y-1).filter(y=>!f.includes(y)),l=i.find(y=>{let{index:h}=y;return h===o});l&&f.includes(l.leavesCount-1)&&(d=d.slice(0,-1)),s.push(d),f=[...new Set(f.map(y=>y%2===0?y/2:y%2===0?(y+1)/2:(y-1)/2))]}return s}getMultiProof(t,a){if(this.complete||console.warn("Warning: For correct multiProofs it's strongly recommended to set complete: true"),a||(a=t,t=this.getLayersFlat()),this.isUnevenTree()&&a.every(Number.isInteger))return this.getMultiProofForUnevenTree(a);if(!a.every(Number.isInteger)){let i=a;this.sortPairs&&(i=i.sort(na.Buffer.compare));let s=i.map(d=>this.bufferIndexOf(this.leaves,d,this.sortLeaves)).sort((d,l)=>d===l?0:d>l?1:-1);if(!s.every(d=>d!==-1))throw new Error("Element does not exist in Merkle tree");let f=[],o=[],c=[];for(let d=0;dT.indexOf(y)===h),c=[]}return o.filter(d=>!f.includes(d))}return this.getProofIndices(a,Math.log2(t.length/2|0)).map(i=>t[i])}getMultiProofForUnevenTree(t,a){a||(a=t,t=this.getLayers());let r=[],i=a;for(let s of t){let f=[];for(let c of i){if(c%2===0){let l=c+1;if(!i.includes(l)&&s[l]){f.push(s[l]);continue}}let d=c-1;if(!i.includes(d)&&s[d]){f.push(s[d]);continue}}r=r.concat(f);let o=new Set;for(let c of i){if(c%2===0){o.add(c/2);continue}if(c%2===0){o.add((c+1)/2);continue}o.add((c-1)/2)}i=Array.from(o)}return r}getHexMultiProof(t,a){return this.getMultiProof(t,a).map(r=>this.bufferToHex(r))}getProofFlags(t,a){if(!Array.isArray(t)||t.length<=0)throw new Error("Invalid Inputs!");let r;if(t.every(Number.isInteger)?r=[...t].sort((o,c)=>o===c?0:o>c?1:-1):r=t.map(o=>this.bufferIndexOf(this.leaves,o,this.sortLeaves)).sort((o,c)=>o===c?0:o>c?1:-1),!r.every(o=>o!==-1))throw new Error("Element does not exist in Merkle tree");let i=a.map(o=>this.bufferify(o)),s=[],f=[];for(let o=0;o{if(!s.includes(c[l])){let h=this.getPairNode(c,l),T=i.includes(c[l])||i.includes(h);h&&f.push(!T),s.push(c[l]),s.push(h)}return d.push(l/2|0),d},[])}return f}verify(t,a,r){let i=this.bufferify(a);if(r=this.bufferify(r),!Array.isArray(t)||!a||!r)return!1;for(let s=0;sthis.bufferify(y)),s=s.map(y=>this.bufferify(y));let c={};for(let[y,h]of this.zip(a,r))c[2**o+y]=h;for(let[y,h]of this.zip(this.getProofIndices(a,o),s))c[y]=h;let d=Object.keys(c).map(y=>Number(y)).sort((y,h)=>y-h);d=d.slice(0,d.length-1);let l=0;for(;l=2&&{}.hasOwnProperty.call(c,y^1)){let h=[c[y-y%2],c[y-y%2+1]];this.sortPairs&&(h=h.sort(na.Buffer.compare));let T=h[1]?this.hashFn(this.concatenator(h)):h[0];c[y/2|0]=T,d.push(y/2|0)}l+=1}return!a.length||{}.hasOwnProperty.call(c,1)&&c[1].equals(t)}verifyMultiProofWithFlags(t,a,r,i){t=this.bufferify(t),a=a.map(this.bufferify),r=r.map(this.bufferify);let s=a.length,f=i.length,o=[],c=0,d=0,l=0;for(let y=0;ythis.bufferify(o)),s=s.map(o=>this.bufferify(o));let f=this.calculateRootForUnevenTree(a,r,i,s);return t.equals(f)}getDepth(){return this.getLayers().length-1}getLayersAsObject(){let t=this.getLayers().map(r=>r.map(i=>this.bufferToHex(i,!1))),a=[];for(let r=0;r{let[T]=y,[A]=h;return T-A}),f=s.map(y=>{let[h]=y;return h}),o=this.getProofIndicesForUnevenTree(f,r),c=0,d=[];for(let y=0;y{let[q]=N,[W]=U;return q-W}).map(N=>{let[,U]=N;return U}),T=l[y].map(N=>{let[U]=N;return U}),A=[...new Set(T.map(N=>N%2===0?N/2:N%2===0?(N+1)/2:(N-1)/2))],O=[];for(let N=0;N{"use strict";p();u();o1e=Te(Ue());wl();sn();S7=re.union([re.date().transform(n=>o1e.BigNumber.from(Math.floor(n.getTime()/1e3))),re.number().transform(n=>o1e.BigNumber.from(n))]),VA=S7.default(new Date(0)),m3=S7.default(new Date(Date.now()+1e3*60*60*24*365*10))});function sw(n){return{startTimestamp:n.startTimestamp,maxClaimableSupply:n.maxClaimableSupply,supplyClaimed:n.supplyClaimed,merkleRoot:n.merkleRoot,pricePerToken:n.pricePerToken,currency:n.currency,quantityLimitPerTransaction:n.maxClaimablePerWallet,waitTimeInSecondsBetweenClaims:n.waitTimeInSecondsBetweenClaims||0}}function fw(n){return{startTimestamp:n.startTimestamp,maxClaimableSupply:n.maxClaimableSupply,supplyClaimed:n.supplyClaimed,merkleRoot:n.merkleRoot,pricePerToken:n.pricePerToken,currency:n.currency,quantityLimitPerWallet:n.maxClaimablePerWallet,metadata:n.metadata||""}}function B6(n,e){return n==="unlimited"?Z0.constants.MaxUint256:Z0.utils.parseUnits(n,e)}async function S0t(n){let t=Array.from({length:Math.ceil(n.length/25e3)},(i,s)=>n.slice(s*25e3,s*25e3+25e3)),a=[],r=await Promise.all(t.map(i=>qA.parseAsync(i)));for(let i of r)a.push(...i);return a}async function UA(n,e,t,a,r,i){if(!t)return null;let s=t[e];if(s){let f=await r.downloadJSON(s);if(f.isShardedMerkleTree&&f.merkleRoot===e)return await(await $A.fromShardedMerkleTreeInfo(f,r)).getProof(n,a,i);let o=await qH.parseAsync(f);if(e===o.merkleRoot)return o.claims.find(c=>c.address.toLowerCase()===n.toLowerCase())||null}return null}function ow(n){return{startTimestamp:n.startTimestamp,maxClaimableSupply:n.maxClaimableSupply,supplyClaimed:n.supplyClaimed,merkleRoot:n.merkleRoot.toString(),pricePerToken:n.pricePerToken,currency:n.currency,maxClaimablePerWallet:n.quantityLimitPerTransaction,waitTimeInSecondsBetweenClaims:n.waitTimeInSecondsBetweenClaims}}function cw(n){return{startTimestamp:n.startTimestamp,maxClaimableSupply:n.maxClaimableSupply,supplyClaimed:n.supplyClaimed,merkleRoot:n.merkleRoot.toString(),pricePerToken:n.pricePerToken,currency:n.currency,maxClaimablePerWallet:n.quantityLimitPerWallet,waitTimeInSecondsBetweenClaims:0,metadata:n.metadata}}async function c1e(n,e,t,a,r){let i=n.getSigner(),s=n.getProvider(),f=(await Promise.resolve().then(()=>Te(D1()))).default,o=new f0(i||s,e,f,n.options,n.storage),c=await n.getSignerAddress(),d=n.address,l=await o.read("allowance",[c,d]),y=Z0.BigNumber.from(t).mul(Z0.BigNumber.from(a)).div(Z0.utils.parseUnits("1",r));l.lt(y)&&await o.sendTransaction("approve",[d,l.add(y)])}async function BH(n,e,t,a,r,i,s,f,o){let c=B6(t.maxClaimablePerWallet,r),d=[Z0.utils.hexZeroPad([0],32)],l=t.price,y=t.currencyAddress;try{if(!t.merkleRootHash.toString().startsWith(Z0.constants.AddressZero)){let O=await UA(n,t.merkleRootHash.toString(),await a(),i.getProvider(),s,o);if(O)d=O.proof,c=O.maxClaimable==="unlimited"?Z0.constants.MaxUint256:Z0.utils.parseUnits(O.maxClaimable,r),l=O.price===void 0||O.price==="unlimited"?Z0.constants.MaxUint256:await Gn(i.getProvider(),O.price,O.currencyAddress||Z0.constants.AddressZero),y=O.currencyAddress||Z0.constants.AddressZero;else if(o===by.V1)throw new Error("No claim found for this address")}}catch(O){if(O?.message==="No claim found for this address")throw O;console.warn("failed to check claim condition merkle root hash, continuing anyways",O)}let h=await i.getCallOverrides()||{},T=l.toString()!==Z0.constants.MaxUint256.toString()?l:t.price,A=y!==Z0.constants.AddressZero?y:t.currencyAddress;return T.gt(0)&&(ai(A)?h.value=Z0.BigNumber.from(T).mul(e).div(Z0.utils.parseUnits("1",r)):f&&await c1e(i,A,T,e,r)),{overrides:h,proofs:d,maxClaimable:c,price:T,currencyAddress:A,priceInProof:l,currencyAddressInProof:y}}async function Ptn(n,e,t,a,r){let i=await S0t(n),s=i.map(c=>c.address);if(new Set(s).size{if(f.snapshot&&f.snapshot.length>0){let o=await Ptn(f.snapshot,e,t,a,r);i.push(o),f.merkleRootHash=o.merkleRoot}else f.merkleRootHash=Z0.utils.hexZeroPad([0],32);return f})),snapshotInfos:i}}async function Mtn(n,e,t,a){let r=n.currencyAddress===Z0.constants.AddressZero?ri:n.currencyAddress,i=B6(n.maxClaimableSupply,e),s=B6(n.maxClaimablePerWallet,e),f;return n.metadata&&(typeof n.metadata=="string"?f=n.metadata:f=await a.upload(n.metadata)),{startTimestamp:n.startTime,maxClaimableSupply:i,supplyClaimed:0,maxClaimablePerWallet:s,pricePerToken:await Gn(t,n.price,r),currency:r,merkleRoot:n.merkleRootHash.toString(),waitTimeInSecondsBetweenClaims:n.waitInSeconds||0,metadata:f}}async function NH(n,e,t,a,r){let{inputsWithSnapshots:i,snapshotInfos:s}=await Ltn(n,e,t,a,r),f=await ktn.parseAsync(i),o=(await Promise.all(f.map(c=>Mtn(c,e,t,a)))).sort((c,d)=>Rtn(c.startTimestamp,d.startTimestamp));return{snapshotInfos:s,sortedConditions:o}}async function Btn(n,e,t){if(!e)return null;let a=e[n];if(a){let r=await t.downloadJSON(a);if(r.isShardedMerkleTree&&r.merkleRoot===n)return(await $A.fromUri(a,t))?.getAllEntries()||null;{let i=await qH.parseAsync(r);if(n===i.merkleRoot)return i.claims.map(s=>({address:s.address,maxClaimable:s.maxClaimable,price:s.price,currencyAddress:s.currencyAddress}))}}return null}function MH(n,e){return n.toString()===Z0.constants.MaxUint256.toString()?"unlimited":Z0.utils.formatUnits(n,e)}async function dw(n,e,t,a,r,i){let s=await Va(t,n.currency,n.pricePerToken),f=MH(n.maxClaimableSupply,e),o=MH(n.maxClaimablePerWallet,e),c=MH(Z0.BigNumber.from(n.maxClaimableSupply).sub(n.supplyClaimed),e),d=MH(n.supplyClaimed,e),l;return n.metadata&&(l=await r.downloadJSON(n.metadata)),A0t.parseAsync({startTime:n.startTimestamp,maxClaimableSupply:f,maxClaimablePerWallet:o,currentMintSupply:d,availableSupply:c,waitInSeconds:n.waitTimeInSecondsBetweenClaims?.toString(),price:Z0.BigNumber.from(n.pricePerToken),currency:n.currency,currencyAddress:n.currency,currencyMetadata:s,merkleRootHash:n.merkleRoot,snapshot:i?await Btn(n.merkleRoot,a,r):void 0,metadata:l})}async function FH(n,e,t){if(n>=t.length)throw Error(`Index out of bounds - got index: ${n} with ${t.length} conditions`);let a=t[n].currencyMetadata.decimals,r=t[n].price,i=Z0.utils.formatUnits(r,a),s=await d1e.parseAsync({...t[n],price:i,...e}),f=await A0t.parseAsync({...s,price:r});return t.map((o,c)=>{let d;c===n?d=f:d=o;let l=Z0.utils.formatUnits(d.price,a);return{...d,price:l}})}function OH(n){if(n===void 0){let e=D.Buffer.alloc(16);return Kg({},e),Z0.utils.hexlify(Z0.utils.toUtf8Bytes(e.toString("hex")))}else return Z0.utils.hexlify(n)}var Z0,Dtn,by,$A,Ctn,Stn,Atn,d1e,ktn,A0t,Nn,VH,l1e,k0t,p1e,P0t,Ntn,R0t,L0t,M0t,B0t,N0t,F0t,O0t,V0t,k7=ce(()=>{"use strict";p();u();Z0=Te(Ue());sn();Qa();M6();C0t();fp();wl();F5();vZ();Dtn=2,by=function(n){return n[n.V1=1]="V1",n[n.V2=2]="V2",n}({}),$A=class n{constructor(e,t,a,r,i){this.storage=e,this.shardNybbles=r,this.baseUri=t,this.originalEntriesUri=a,this.tokenDecimals=i,this.shards={},this.trees={}}static async fromUri(e,t){try{let a=await t.downloadJSON(e);if(a.isShardedMerkleTree)return n.fromShardedMerkleTreeInfo(a,t)}catch{return}}static async fromShardedMerkleTreeInfo(e,t){return new n(t,e.baseUri,e.originalEntriesUri,e.shardNybbles,e.tokenDecimals)}static hashEntry(e,t,a,r){switch(r){case by.V1:return Z0.utils.solidityKeccak256(["address","uint256"],[e.address,B6(e.maxClaimable,t)]);case by.V2:return Z0.utils.solidityKeccak256(["address","uint256","uint256","address"],[e.address,B6(e.maxClaimable,t),B6(e.price||"unlimited",a),e.currencyAddress||Z0.constants.AddressZero])}}static async fetchAndCacheDecimals(e,t,a){if(!a)return 18;let r=e[a];return r===void 0&&(r=(await vs(t,a)).decimals,e[a]=r),r}static async buildAndUpload(e,t,a,r,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Dtn,f=await S0t(e),o={};for(let q of f){let W=q.address.slice(2,2+s).toLowerCase();o[W]===void 0&&(o[W]=[]),o[W].push(q)}let c={},d=await Promise.all(Object.entries(o).map(async q=>{let[W,G]=q;return[W,new iw(await Promise.all(G.map(async X=>{let J=await n.fetchAndCacheDecimals(c,a,X.currencyAddress);return n.hashEntry(X,t,J,i)})),Z0.utils.keccak256,{sort:!0}).getHexRoot()]})),l=Object.fromEntries(d),y=new iw(Object.values(l),Z0.utils.keccak256,{sort:!0}),h=[];for(let[q,W]of Object.entries(o)){let G={proofs:y.getProof(l[q]).map(X=>"0x"+X.data.toString("hex")),entries:W};h.push({data:JSON.stringify(G),name:`${q}.json`})}let T=await r.uploadBatch(h),A=T[0].slice(0,T[0].lastIndexOf("/")),O=await r.upload(f),N={merkleRoot:y.getHexRoot(),baseUri:A,originalEntriesUri:O,shardNybbles:s,tokenDecimals:t,isShardedMerkleTree:!0},U=await r.upload(N);return{shardedMerkleInfo:N,uri:U}}async getProof(e,t,a){let r=e.slice(2,2+this.shardNybbles).toLowerCase(),i=this.shards[r],s={};if(i===void 0)try{let l=this.baseUri.endsWith("/")?this.baseUri:`${this.baseUri}/`;i=this.shards[r]=await this.storage.downloadJSON(`${l}${r}.json`);let y=await Promise.all(i.entries.map(async h=>{let T=await n.fetchAndCacheDecimals(s,t,h.currencyAddress);return n.hashEntry(h,this.tokenDecimals,T,a)}));this.trees[r]=new iw(y,Z0.utils.keccak256,{sort:!0})}catch{return null}let f=i.entries.find(l=>l.address.toLowerCase()===e.toLowerCase());if(!f)return null;let o=await n.fetchAndCacheDecimals(s,t,f.currencyAddress),c=n.hashEntry(f,this.tokenDecimals,o,a),d=this.trees[r].getProof(c).map(l=>"0x"+l.data.toString("hex"));return UH.parseAsync({...f,proof:d.concat(i.proofs)})}async getAllEntries(){try{return await this.storage.downloadJSON(this.originalEntriesUri)}catch(e){return console.warn("Could not fetch original snapshot entries",e),[]}}};Ctn=re.object({name:re.string(),symbol:re.string(),decimals:re.number()}),Stn=Ctn.extend({value:Os,displayValue:re.string()}),Atn=re.object({name:re.string().optional()}).catchall(re.unknown()),d1e=re.object({startTime:VA,currencyAddress:re.string().default(ri),price:Kr.default(0),maxClaimableSupply:A7,maxClaimablePerWallet:A7,waitInSeconds:$a.default(0),merkleRootHash:$0t.default(Z0.utils.hexZeroPad([0],32)),snapshot:re.optional(qA).nullable(),metadata:Atn.optional()}),ktn=re.array(d1e),A0t=d1e.extend({availableSupply:A7,currentMintSupply:A7,currencyMetadata:Stn.default({value:Z0.BigNumber.from("0"),displayValue:"0",symbol:"",decimals:18,name:""}),price:Os,waitInSeconds:Os,startTime:Os.transform(n=>new Date(n.toNumber()*1e3)),snapshot:qA.optional().nullable()});Nn=function(n){return n.NotEnoughSupply="There is not enough supply to claim.",n.AddressNotAllowed="This address is not on the allowlist.",n.WaitBeforeNextClaimTransaction="Not enough time since last claim transaction. Please wait.",n.ClaimPhaseNotStarted="Claim phase has not started yet.",n.AlreadyClaimed="You have already claimed the token.",n.WrongPriceOrCurrency="Incorrect price or currency.",n.OverMaxClaimablePerWallet="Cannot claim more than maximum allowed quantity.",n.NotEnoughTokens="There are not enough tokens in the wallet to pay for the claim.",n.NoActiveClaimPhase="There is no active claim phase at the moment. Please check back in later.",n.NoClaimConditionSet="There is no claim condition set.",n.NoWallet="No wallet connected.",n.Unknown="No claim conditions found.",n}({});VH=re.object({to:Kn.refine(n=>n.toLowerCase()!==Z0.constants.AddressZero,{message:"Cannot create payload to mint to zero address"}),price:Kr.default(0),currencyAddress:$H.default(ri),mintStartTime:VA,mintEndTime:m3,uid:re.string().optional().transform(n=>OH(n)),primarySaleRecipient:Kn.default(Z0.constants.AddressZero)}),l1e=VH.extend({quantity:Kr}),k0t=l1e.extend({mintStartTime:Os,mintEndTime:Os}),p1e=VH.extend({metadata:C7,royaltyRecipient:re.string().default(Z0.constants.AddressZero),royaltyBps:b3.default(0)}),P0t=p1e.extend({metadata:C7.default(""),uri:re.string(),royaltyBps:Os,mintStartTime:Os,mintEndTime:Os}),Ntn=p1e.extend({metadata:C7.default(""),quantity:$a}),R0t=Ntn.extend({tokenId:$a}),L0t=P0t.extend({tokenId:Os,quantity:Os}),M0t=p1e.extend({metadata:C7.default(""),quantity:Os.default(1)}),B0t=P0t.extend({quantity:Os.default(1)}),N0t=[{name:"to",type:"address"},{name:"primarySaleRecipient",type:"address"},{name:"quantity",type:"uint256"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],F0t=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"price",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],O0t=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"tokenId",type:"uint256"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],V0t=[{name:"to",type:"address"},{name:"royaltyRecipient",type:"address"},{name:"royaltyBps",type:"uint256"},{name:"primarySaleRecipient",type:"address"},{name:"uri",type:"string"},{name:"quantity",type:"uint256"},{name:"pricePerToken",type:"uint256"},{name:"currency",type:"address"},{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}]});var U0t=B((w4a,Ftn)=>{Ftn.exports=[{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedBaseURI",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"reveal",inputs:[{name:"identifier",type:"uint256",internalType:"uint256"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1}]});async function HH(n,e,t,a,r){let i={},s=a||ri,o=(await Gn(n.getProvider(),e,s)).mul(t);return o.gt(0)&&(s===ri?i={value:o}:s!==ri&&r&&await c1e(n,s,o,t,0)),i}var ud,uf,V5,yf,op=ce(()=>{"use strict";p();u();hi();Ia();sn();Qa();ud=Te(Ue());F5();sp();k7();M6();uf=class{constructor(e,t){Z(this,"featureName",lw.name);Z(this,"setDefaultRoyaltyInfo",ye(async e=>{let t=await this.metadata.get(),a=await this.metadata.parseInputMetadata({...t,...e}),r=await this.metadata._parseAndUploadMetadata(a);if(cr("setContractURI",this.contractWrapper)){let i=new r0(this.contractWrapper),s=[i.encode("setDefaultRoyaltyInfo",[a.fee_recipient,a.seller_fee_basis_points]),i.encode("setContractURI",[r])];return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[s],parse:f=>({receipt:f,data:()=>this.getDefaultRoyaltyInfo()})})}else throw new Error("Updating royalties requires implementing ContractMetadata in your contract to support marketplaces like OpenSea.")}));Z(this,"setTokenRoyaltyInfo",ye(async(e,t)=>{let a=as.parse(t);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setRoyaltyInfoForToken",args:[e,a.fee_recipient,a.seller_fee_basis_points],parse:r=>({receipt:r,data:()=>this.getDefaultRoyaltyInfo()})})}));this.contractWrapper=e,this.metadata=t}async getDefaultRoyaltyInfo(){let[e,t]=await this.contractWrapper.read("getDefaultRoyaltyInfo",[]);return as.parseAsync({fee_recipient:e,seller_fee_basis_points:t})}async getTokenRoyaltyInfo(e){let[t,a]=await this.contractWrapper.read("getRoyaltyInfoForToken",[e]);return as.parseAsync({fee_recipient:t,seller_fee_basis_points:a})}},V5=class{constructor(e,t,a,r){Z(this,"createDelayedRevealBatch",ye(async(e,t,a,r)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([rp.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=y3(i),f=await this.nextTokenIdToMintFn(),o=await this.storage.uploadBatch(t.map(A=>rp.parse(A)),{onProgress:r?.onProgress,rewriteFileNames:{fileStartNumber:f.toNumber()}}),c=y3(o),d=await this.contractWrapper.read("getBaseURICount",[]),l=await this.hashDelayRevealPassword(d,a),y=await this.contractWrapper.read("encryptDecrypt",[ud.utils.toUtf8Bytes(c),l]),h;if(await this.isLegacyContract())h=y;else{let A=await this.contractWrapper.getChainID(),O=ud.utils.solidityKeccak256(["bytes","bytes","uint256"],[ud.utils.toUtf8Bytes(c),l,A]);h=ud.utils.defaultAbiCoder.encode(["bytes","bytes32"],[y,O])}return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[o.length,s.endsWith("/")?s:`${s}/`,h],parse:A=>{let O=this.contractWrapper.parseLogs("TokensLazyMinted",A?.logs),N=O[0].args.startTokenId,U=O[0].args.endTokenId,q=[];for(let W=N;W.lte(U);W=W.add(1))q.push({id:W,receipt:A});return q}})}));Z(this,"reveal",ye(async(e,t)=>{if(!t)throw new Error("Password is required");let a=await this.hashDelayRevealPassword(e,t);try{let r=await this.contractWrapper.callStatic().reveal(e,a);if(!r.includes("://")||!r.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,a]})}));this.featureName=a,this.nextTokenIdToMintFn=r,this.contractWrapper=e,this.storage=t}async getBatchesToReveal(){let e=await this.contractWrapper.read("getBaseURICount",[]);if(e.isZero())return[];let t=Array.from(Array(e.toNumber()).keys()),a=await Promise.all(t.map(c=>{if(cr("getBatchIdAtIndex",this.contractWrapper))return this.contractWrapper.read("getBatchIdAtIndex",[c]);if(cr("baseURIIndices",this.contractWrapper))return this.contractWrapper.read("baseURIIndices",[c]);throw new Error("Contract does not have getBatchIdAtIndex or baseURIIndices.")})),r=a.slice(0,a.length-1),i=await Promise.all(Array.from([0,...r]).map(c=>this.getNftMetadata(c.toString()))),s=await this.isLegacyContract(),o=(await Promise.all(Array.from([...a]).map(c=>s?this.getLegacyEncryptedData(c):this.contractWrapper.read("encryptedData",[c])))).map(c=>ud.utils.hexDataLength(c)>0?s?c:ud.utils.defaultAbiCoder.decode(["bytes","bytes32"],c)[0]:c);return i.map((c,d)=>({batchId:ud.BigNumber.from(d),batchUri:c.uri,placeholderMetadata:c})).filter((c,d)=>ud.utils.hexDataLength(o[d])>0)}async hashDelayRevealPassword(e,t){let a=await this.contractWrapper.getChainID(),r=this.contractWrapper.address;return ud.utils.solidityKeccak256(["string","uint256","uint256","address"],[t,a,e,r])}async getNftMetadata(e){return yy(this.contractWrapper.address,this.contractWrapper.getProvider(),e,this.storage)}async isLegacyContract(){if(cr("contractVersion",this.contractWrapper))try{return await this.contractWrapper.read("contractVersion",[])<=2}catch{return!1}return!1}async getLegacyEncryptedData(e){let t=(await Promise.resolve().then(()=>Te(U0t()))).default,r=await new ud.Contract(this.contractWrapper.address,t,this.contractWrapper.getProvider()).functions.encryptedBaseURI(e);return r.length>0?r[0]:"0x"}};yf=class{constructor(e){Z(this,"featureName",pw.name);Z(this,"set",ye(async e=>{let t=await Pe(e);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setOwner",args:[t]})}));this.contractWrapper=e}async get(){return this.contractWrapper.read("owner",[])}}});var Ui,cp=ce(()=>{"use strict";p();u();Ia();sn();Ui=class{constructor(e){Z(this,"featureName",uw.name);Z(this,"set",ye(async e=>{let t=await B1.parseAsync(e);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPlatformFeeInfo",args:[t.platform_fee_recipient,t.platform_fee_basis_points]})}));this.contractWrapper=e}async get(){let[e,t]=await this.contractWrapper.read("getPlatformFeeInfo",[]);return B1.parseAsync({platform_fee_recipient:e,platform_fee_basis_points:t})}}});var dr,Dc=ce(()=>{"use strict";p();u();Ga();sn();hi();Ia();Qa();dr=class{constructor(e,t){Z(this,"featureName",yw.name);Z(this,"setAll",ye(async(e,t)=>{let a=t||await this.contractWrapper.getSignerAddress(),r=new r0(this.contractWrapper),i=Object.keys(e);at(i.length,"you must provide at least one role to set"),at(i.every(c=>this.roles.includes(c)),"this contract does not support the given role");let s=await this.getAll(),f=[],o=i.sort(c=>c==="admin"?1:-1);for(let c=0;cPe(A))||[]),Promise.all(s[d]?.map(A=>Pe(A))||[])]),h=l.filter(A=>!y.includes(A)),T=y.filter(A=>!l.includes(A));if(T.length>1){let A=T.indexOf(a);A>-1&&(T.splice(A,1),T.push(a))}h.length&&h.forEach(A=>{f.push(r.encode("grantRole",[Ya(d),A]))}),T.length&&(await Promise.all(T.map(O=>this.getRevokeRoleFunctionName(O)))).forEach((O,N)=>f.push(r.encode(O,[Ya(d),T[N]])))}return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f]})}));Z(this,"grant",ye(async(e,t)=>{at(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Pe(t);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"grantRole",args:[Ya(e),a]})}));Z(this,"revoke",ye(async(e,t)=>{at(this.roles.includes(e),`this contract does not support the "${e}" role`);let a=await Pe(t),r=await this.getRevokeRoleFunctionName(a);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:r,args:[Ya(e),a]})}));this.contractWrapper=e,this.roles=t}async getAll(){at(this.roles.length,"this contract has no support for roles");let e={},t=Object.entries(this.roles);return(await Promise.all(t.map(a=>{let[,r]=a;return this.get(r)}))).forEach((a,r)=>e[t[r][1]]=a),e}async get(e){at(this.roles.includes(e),`this contract does not support the "${e}" role`);let t=this.contractWrapper;if(cr("getRoleMemberCount",t)&&cr("getRoleMember",t)){let a=Ya(e),r=(await t.read("getRoleMemberCount",[a])).toNumber();return await Promise.all(Array.from(Array(r).keys()).map(i=>t.read("getRoleMember",[a,i])))}throw new Error("Contract does not support enumerating roles. Please implement IPermissionsEnumerable to unlock this functionality.")}async verify(e,t){await Promise.all(e.map(async a=>{let[r,i]=await Promise.all([this.get(a),Pe(t)]);if(!r.map(s=>s.toLowerCase()).includes(i.toLowerCase()))throw new zA(i,a)}))}async getRevokeRoleFunctionName(e){let[t,a]=await Promise.all([Pe(e),this.contractWrapper.getSignerAddress()]);return a.toLowerCase()===t.toLowerCase()?"renounceRole":"revokeRole"}}});var mf,hy=ce(()=>{"use strict";p();u();Ia();sn();mf=class{constructor(e){Z(this,"featureName",mw.name);Z(this,"setRecipient",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPrimarySaleRecipient",args:[e]})));this.contractWrapper=e}async getRecipient(){return await this.contractWrapper.read("primarySaleRecipient",[])}}});var Cc=B((nba,q0t)=>{"use strict";p();u();q0t.exports=function n(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var a,r,i;if(Array.isArray(e)){if(a=e.length,a!=t.length)return!1;for(r=a;r--!==0;)if(!n(e[r],t[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),a=i.length,a!==Object.keys(t).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=a;r--!==0;){var s=i[r];if(!n(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}});var aa,z0t,WA,H0t,Otn,u1e,y1e,jA,m1e,b1e,h1e,g1e,v1e,bw,GA=ce(()=>{"use strict";p();u();aa=Te(Ue());sn();fp();hi();sp();Ia();wl();op();z0t=Te(Cc());k7();Qa();Ga();M6();F5();WA=class{constructor(e,t,a){Z(this,"set",ye((()=>{var e=this;return async function(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e.setBatch.prepare([{tokenId:t,claimConditions:a}],r)}})()));Z(this,"setBatch",ye((()=>{var e=this;return async function(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={},i=await Promise.all(t.map(async o=>{let{tokenId:c,claimConditions:d}=o,l=d;if(e.isLegacySinglePhaseDrop(e.contractWrapper)){if(a=!0,d.length===0)l=[{startTime:new Date(0),currencyAddress:aa.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:aa.utils.hexZeroPad([0],32),snapshot:[]}];else if(d.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&l.forEach(T=>{if(T.snapshot&&T.snapshot.length>0&&(T.maxClaimablePerWallet===void 0||T.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. Set it to 0 to only allow addresses in the allowlist to claim the amount specified in the allowlist. ex: -contract.claimConditions.set(tokenId, [{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(v.snapshot&&v.snapshot.length>0&&v.maxClaimablePerWallet?.toString()==="0"&&v.snapshot.map(k=>typeof k=="string"?0:Number(k.maxClaimable?.toString()||0)).reduce((k,O)=>k+O,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:h,sortedConditions:y}=await oG(l,0,e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion());return h.forEach(v=>{r[v.merkleRoot]=v.snapshotUri}),{tokenId:c,sortedConditions:y}})),i=await e.metadata.get(),s=[];for(let o of Object.keys(i.merkle||{}))r[o]=i.merkle[o];if(!(0,xr0.default)(i.merkle,r)){let o=await e.metadata.parseInputMetadata({...i,merkle:r}),c=await e.metadata._parseAndUploadMetadata(o);if(wr("setContractURI",e.contractWrapper)){let d=new it(e.contractWrapper);s.push(d.encode("setContractURI",[c]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}if(f.forEach(o=>{let{tokenId:c,sortedConditions:d}=o,l=new it(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let h=new it(e.contractWrapper);s.push(h.encode("setClaimConditions",[c,cE(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(cE),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,dE(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))s.push(l.encode("setClaimConditions",[c,d.map(dE),a]));else throw new Error("Contract does not support claim conditions")}),wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[s]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",be(async(e,n,a)=>{let r=await this.getAll(e),f=await cG(n,a,r);return await this.set.prepare(e,f)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e,n){let a=await this.get(e),r=await this.metadata.get();return await pE(a,0,this.contractWrapper.getProvider(),r.merkle,this.storage,n?.withAllowList||!1)}async get(e,n){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return lE(a)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return lE(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return uE(a)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=n!==void 0?n:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return uE(r)}else throw new Error("Contract does not support claim conditions")}async getAll(e,n){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]),r=a.currentStartId.toNumber(),f=a.count.toNumber(),i=[];for(let o=r;opE(o,0,this.contractWrapper.getProvider(),s.merkle,this.storage,n?.withAllowList||!1)))}else return[await this.getActive(e,n)]}async canClaim(e,n,a){return a&&(a=await Oe(a)),(await this.getClaimIneligibilityReasons(e,n,a)).length===0}async getClaimIneligibilityReasons(e,n,a){let r=[],f,i;if(a===void 0)try{a=await this.contractWrapper.getSignerAddress()}catch(v){console.warn("failed to get signer address",v)}if(!a)return[qn.NoWallet];let s=await Oe(a);try{i=await this.getActive(e)}catch(v){return eh(v,"!CONDITION")||eh(v,"no active mint condition")||eh(v,"DropNoActiveCondition")?(r.push(qn.NoClaimConditionSet),r):(r.push(qn.Unknown),r)}if(i.availableSupply!=="unlimited"&&la.BigNumber.from(i.availableSupply).lt(n))return r.push(qn.NotEnoughSupply),r;let c=la.utils.stripZeros(i.merkleRootHash).length>0,d=null;if(c){if(d=await this.getClaimerProofs(e,s),!d&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return r.push(qn.AddressNotAllowed),r;if(d)try{let v=await this.prepareClaim(e,n,!1,s),k;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[k]=await this.contractWrapper.read("verifyClaimMerkleProof",[f,s,e,n,v.proofs,v.maxClaimable]),!k)return r.push(qn.AddressNotAllowed),r}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([k]=await this.contractWrapper.read("verifyClaimMerkleProof",[e,s,n,{proof:v.proofs,maxQuantityInAllowlist:v.maxClaimable}]),!k)return r.push(qn.AddressNotAllowed),r}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[e,s,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),await this.contractWrapper.read("verifyClaim",[f,s,e,n,v.currencyAddress,v.price,{proof:v.proofs,quantityLimitPerWallet:v.maxClaimable,currency:v.currencyAddressInProof,pricePerToken:v.priceInProof}]))}catch(v){switch(console.warn("Merkle proof verification failed:","reason"in v?v.reason||v.errorName:v),v.reason||v.errorName){case"!Qty":case"DropClaimExceedLimit":r.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":r.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":r.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":r.push(qn.ClaimPhaseNotStarted);break;default:{r.push(qn.AddressNotAllowed);break}}return r}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let v=la.BigNumber.from(0),k=s5(i.maxClaimablePerWallet,0);try{v=await this.getSupplyClaimedByWallet(e,s)}catch{}if(d&&(k=s5(d.maxClaimable,0)),k.gt(0)&&k.lt(v.add(n)))return r.push(qn.OverMaxClaimablePerWallet),r;if((!c||c&&!d)&&(k.lte(v)||k.eq(0)))return r.push(qn.AddressNotAllowed),r}let[l,h]=[la.BigNumber.from(0),la.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(f=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,f,s])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([l,h]=await this.contractWrapper.read("getClaimTimestamp",[e,s]));let y=la.BigNumber.from(Date.now()).div(1e3);if(l.gt(0)&&y.lt(h))return h.eq(la.constants.MaxUint256)?r.push(qn.AlreadyClaimed):r.push(qn.WaitBeforeNextClaimTransaction),r;if(i.price.gt(0)&&bG()){let v=i.price.mul(n),k=this.contractWrapper.getProvider();if(mf(i.currencyAddress))(await k.getBalance(s)).lt(v)&&r.push(qn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(k,i.currencyAddress,O,{},this.storage).read("balanceOf",[s])).lt(v)&&r.push(qn.NotEnoughTokens)}}return r}async getClaimerProofs(e,n,a){let f=(await this.get(e,a)).merkleRoot;if(la.utils.stripZeros(f).length>0){let s=await this.metadata.get(),o=await Oe(n);return await pM(o,f.toString(),s.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e,n){let a=await Oe(n);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,a]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let r=await this.contractWrapper.read("getActiveClaimConditionId",[e]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,r,a])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async prepareClaim(e,n,a,r){let f=await Oe(r||await this.contractWrapper.getSignerAddress());return sG(f,n,await this.getActive(e),async()=>(await this.metadata.get()).merkle,0,this.contractWrapper,this.storage,a,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a,r){let f=await Oe(n);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,r.proofs,r.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,maxQuantityInAllowlist:r.maxClaimable},la.utils.toUtf8Bytes("")]:[f,e,a,r.currencyAddress,r.price,{proof:r.proofs,quantityLimitPerWallet:r.maxClaimable,pricePerToken:r.priceInProof,currency:r.currencyAddressInProof},la.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a,r){if(r?.pricePerToken)throw new Error("Price per token should be set via claim conditions by calling `contract.erc1155.claimConditions.set()`");let f=await this.prepareClaim(n,a,r?.checkERC20Allowance||!0);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(n,e,a,f),overrides:f.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC1155ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC1155ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC1155ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?X8.V1:X8.V2}},Tr0=fe.object({address:da,quantity:ff.default(1)}),srn=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>Tr0.parseAsync({address:e})))),fe.array(Tr0)]),x6e=class{constructor(e){ae(this,"featureName",wE.name);ae(this,"to",be(async(e,n,a,r)=>await this.getClaimTransaction(e,n,a,r)));this.contractWrapper=e}async getClaimTransaction(e,n,a,r){let f={};return r&&r.pricePerToken&&(f=await mG(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Oe(e),n,a],overrides:f})}},E6e=class{constructor(e,n){ae(this,"featureName",wM.name);ae(this,"to",be(async(e,n,a,r)=>await this.conditions.getClaimTransaction(e,n,a,r)));this.contractWrapper=e,this.storage=n;let a=new Wn(this.contractWrapper,Ul,this.storage);this.conditions=new yM(e,a,this.storage)}},gM=class{constructor(e,n,a){ae(this,"featureName",xM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(this.contractWrapper,r.pricePerToken.mul(r.quantity),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f,parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}}})}));ae(this,"mintBatch",be(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(la.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new it(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not supported on this contract!")}));this.contractWrapper=e,this.storage=n,this.roles=a}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){let n={...e,tokenId:la.constants.MaxUint256};return this.generateFromTokenId(n)}async generateFromTokenId(e){return(await this.generateBatchFromTokenIds([e]))[0]}async generateBatch(e){let n=e.map(a=>({...a,tokenId:la.constants.MaxUint256}));return this.generateBatchFromTokenIds(n)}async generateBatchFromTokenIds(e){let n=this.contractWrapper.getSigner();d0(n,"No signer available"),await this.roles?.verify(["minter"],await n.getAddress());let a=await Promise.all(e.map(h=>dr0.parseAsync(h))),r=a.map(h=>h.metadata),[f,i,s]=await Promise.all([Pl(r,this.storage),this.contractWrapper.getChainID(),yG(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((h,y)=>lr0.parseAsync({...h,uri:f[y]}))),c=await Promise.all(o.map(h=>this.mapPayloadToContractStruct(h))),d=s?.type==="TokenERC1155";return(await Promise.all(c.map(h=>this.contractWrapper.signTypedData(n,{name:d?"TokenERC1155":"SignatureMintERC1155",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:br0},h)))).map((h,y)=>({payload:o[y],signature:h.toString()}))}async mapPayloadToContractStruct(e){let n=await ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,tokenId:e.tokenId,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}},_6e=class{constructor(e){ae(this,"featureName",ab.name);ae(this,"tokens",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,n)}));ae(this,"from",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Oe(e),n,a]})));ae(this,"batch",be(async(e,n)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,n)}));ae(this,"batchFrom",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Oe(e),n,a]})));this.contractWrapper=e}},A6e=class{constructor(e,n){ae(this,"featureName",fb.name);this.erc1155=e,this.contractWrapper=n}async all(e){let n=la.BigNumber.from(e?.start||0).toNumber(),a=la.BigNumber.from(e?.count||Li).toNumber(),r=Math.min((await this.totalCount()).toNumber(),n+a);return await Promise.all([...Array(r-n).keys()].map(f=>this.erc1155.get((n+f).toString())))}async totalCount(){return await this.contractWrapper.read("nextTokenIdToMint",[])}async totalCirculatingSupply(e){return await this.contractWrapper.read("totalSupply",[e])}async owned(e,n){let[a,r]=await Promise.all([Oe(e||await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("nextTokenIdToMint",[])]),i=(await this.contractWrapper.read("balanceOfBatch",[Array(r.toNumber()).fill(a),Array.from(Array(r.toNumber()).keys())])).map((o,c)=>({tokenId:c,balance:o})).filter(o=>o.balance.gt(0));if(n){let o=n?.start||0,c=n?.count||Li;i=i.slice(o,o+c)}return(await Promise.all(i.map(o=>this.erc1155.get(o.tokenId.toString())))).map((o,c)=>({...o,owner:a,quantityOwned:i[c].balance.toString()}))}},I6e=class{constructor(e,n,a){ae(this,"featureName",TM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await Pl(e,this.storage,a.toNumber(),n),f=r[0].substring(0,r[0].lastIndexOf("/"));for(let o=0;o{let c=this.contractWrapper.parseLogs("TokensLazyMinted",o?.logs),d=c[0].args.startTokenId,l=c[0].args.endTokenId,h=[];for(let y=d;y.lte(l);y=y.add(1))h.push({id:y,receipt:o,data:()=>this.erc1155.getTokenMetadata(y)});return h},s=await yG(this.contractWrapper.address,this.contractWrapper.getProvider());return this.isLegacyEditionDropContract(this.contractWrapper,s)?Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`],parse:i}):Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${f.endsWith("/")?f:`${f}/`}`,la.utils.toUtf8Bytes("")],parse:i})}));ae(this,"updateMetadata",be(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=la.BigNumber.from(e),i=la.BigNumber.from(0),s=la.BigNumber.from(0),o=0;for(let v=0;vk+i.toNumber()),d=await Promise.all(c.map(v=>this.erc1155.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc1155.nextTokenIdToMint())}isLegacyEditionDropContract(e,n){return n&&n.type==="DropERC1155"&&n.version<3||!1}},C6e=class{constructor(e,n,a){ae(this,"featureName",EM.name);ae(this,"to",be(async(e,n)=>{let a=n.map(c=>c.metadata),r=n.map(c=>c.supply),f=await Pl(a,this.storage),i=await Oe(e),s=new it(this.contractWrapper),o=await Promise.all(f.map(async(c,d)=>s.encode("mintTo",[i,la.constants.MaxUint256,c,r[d]])));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[o],parse:c=>{let d=this.contractWrapper.parseLogs("TokensMinted",c.logs);if(d.length===0||d.length{let h=l.args.tokenIdMinted;return{id:h,receipt:c,data:()=>this.erc1155.get(h)}})}})}));this.erc1155=e,this.contractWrapper=n,this.storage=a}},k6e=class{constructor(e,n,a){ae(this,"featureName",rb.name);ae(this,"to",be(async(e,n)=>{let a=await this.getMintTransaction(e,n);return a.setParse(r=>{let f=this.contractWrapper.parseLogs("TransferSingle",r?.logs);if(f.length===0)throw new Error("TransferSingleEvent event not found");let i=f[0].args.id;return{id:i,receipt:r,data:()=>this.erc1155.get(i.toString())}}),a}));ae(this,"additionalSupplyTo",be(async(e,n,a)=>{let r=await this.erc1155.getTokenMetadata(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),n,r.uri,a],parse:f=>({id:la.BigNumber.from(n),receipt:f,data:()=>this.erc1155.get(n)})})}));this.erc1155=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc1155BatchMintable()}async getMintTransaction(e,n){let a=await J8(n.metadata,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Oe(e),la.constants.MaxUint256,a,n.supply]})}detectErc1155BatchMintable(){if(k0(this.contractWrapper,"ERC1155BatchMintable"))return new C6e(this.erc1155,this.contractWrapper,this.storage)}},vE=class{constructor(e,n,a){ae(this,"featureName",TE.name);ae(this,"transfer",be((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[i,await Oe(n),a,r,f]})}})()));ae(this,"transferBatch",be((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0],s=f?await Oe(f):await e.contractWrapper.getSignerAddress();return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeBatchTransferFrom",args:[s,await Oe(n),a,r,i]})}})()));ae(this,"transferFrom",be((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[await Oe(n),await Oe(a),r,f,i]})}})()));ae(this,"setApprovalForAll",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,n]})));ae(this,"airdrop",be((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],i=r?await Oe(r):await e.contractWrapper.getSignerAddress(),s=await e.balanceOf(i,n),o=await srn.parseAsync(a),c=o.reduce((h,y)=>la.BigNumber.from(h).add(la.BigNumber.from(y?.quantity||1)),la.BigNumber.from(0));if(s.lt(la.BigNumber.from(c)))throw new Error(`The caller owns ${s.toString()} NFTs, but wants to airdrop ${c.toString()} NFTs.`);let d=new it(e.contractWrapper),l=o.map(h=>{let{address:y,quantity:v}=h;return d.encode("safeTransferFrom",[i,y,n,v,f])});return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[l]})}})()));ae(this,"mint",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,rb).to.prepare(e,n)));ae(this,"mintAdditionalSupply",be(async(e,n)=>O0(this.mintable,rb).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"mintAdditionalSupplyTo",be(async(e,n,a)=>O0(this.mintable,rb).additionalSupplyTo.prepare(e,n,a)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,EM).to.prepare(e,n)));ae(this,"burn",be(async(e,n)=>O0(this.burnable,ab).tokens.prepare(e,n)));ae(this,"burnFrom",be(async(e,n,a)=>O0(this.burnable,ab).from.prepare(e,n,a)));ae(this,"burnBatch",be(async(e,n)=>O0(this.burnable,ab).batch.prepare(e,n)));ae(this,"burnBatchFrom",be(async(e,n,a)=>O0(this.burnable,ab).batchFrom.prepare(e,n,a)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,TM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(async(e,n)=>{if(this.lazyMintable)return this.lazyMintable.updateMetadata.prepare(e,n);if(k0(this.contractWrapper,"ERC1155UpdatableMetadata")){let a=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}else throw new Z1(gG)}));ae(this,"claim",be(async(e,n,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n,a)));ae(this,"claimTo",be(async(e,n,a,r)=>{let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.to.prepare(e,n,a,r);if(i)return i.to.prepare(e,n,a,r);throw new Z1(wE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc1155Enumerable(),this.mintable=this.detectErc1155Mintable(),this.burnable=this.detectErc1155Burnable(),this.lazyMintable=this.detectErc1155LazyMintable(),this.signatureMintable=this.detectErc1155SignatureMintable(),this.claimCustom=this.detectErc1155Claimable(),this.claimWithConditions=this.detectErc1155ClaimableWithConditions(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.contractWrapper.read("totalSupply",[e]).catch(()=>la.BigNumber.from(0)),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...sE}))]);return{owner:la.constants.AddressZero,metadata:a,type:"ERC1155",supply:n.toString()}}async totalSupply(e){if(k0(this.contractWrapper,"ERC1155Supply"))return await this.contractWrapper.read("totalSupply",[e]);throw new Z1(vG)}async balanceOf(e,n){return await this.contractWrapper.read("balanceOf",[await Oe(e),n])}async balance(e){return await this.balanceOf(await this.contractWrapper.getSignerAddress(),e)}async isApproved(e,n){return await this.contractWrapper.read("isApprovedForAll",[await Oe(e),await Oe(n)])}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper))return await this.contractWrapper.read("nextTokenIdToMint",[]);throw new Error("Contract requires the `nextTokenIdToMint` function available to determine the next token ID to mint")}async getAll(e){return O0(this.query,fb).all(e)}async totalCount(){return O0(this.query,fb).totalCount()}async totalCirculatingSupply(e){return O0(this.query,fb).totalCirculatingSupply(e)}async getOwned(e,n){return e&&(e=await Oe(e)),O0(this.query,fb).owned(e,n)}async getMintTransaction(e,n){return O0(this.mintable,rb).getMintTransaction(e,n)}async getClaimTransaction(e,n,a,r){let f=this.claimWithConditions,i=this.claimCustom;if(f)return f.conditions.getClaimTransaction(e,n,a,r);if(i)return i.getClaimTransaction(e,n,a,r);throw new Z1(wE)}get claimConditions(){return O0(this.claimWithConditions,wM).conditions}get signature(){return O0(this.signatureMintable,xM)}get revealer(){return O0(this.lazyMintable?.revealer,T9)}async getTokenMetadata(e){let n=await this.contractWrapper.read("uri",[e]);if(!n)throw new x9;return dM(e,n,this.storage)}detectErc1155Enumerable(){if(k0(this.contractWrapper,"ERC1155Enumerable"))return new A6e(this,this.contractWrapper)}detectErc1155Mintable(){if(k0(this.contractWrapper,"ERC1155Mintable"))return new k6e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(k0(this.contractWrapper,"ERC1155Burnable"))return new _6e(this.contractWrapper)}detectErc1155LazyMintable(){if(k0(this.contractWrapper,"ERC1155LazyMintableV1")||k0(this.contractWrapper,"ERC1155LazyMintableV2"))return new I6e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(k0(this.contractWrapper,"ERC1155SignatureMintable"))return new gM(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(k0(this.contractWrapper,"ERC1155ClaimCustom"))return new x6e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC1155ClaimConditionsV1")||k0(this.contractWrapper,"ERC1155ClaimConditionsV2")||k0(this.contractWrapper,"ERC1155ClaimPhasesV1")||k0(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new E6e(this.contractWrapper,this.storage)}}});var ib,wG=oe(()=>{"use strict";u();p();Da();vM();ib=class{constructor(e,n,a){ae(this,"transfer",be((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.transfer.prepare(n,a,r,f)}})()));ae(this,"transferBatch",be((()=>{var e=this;return async function(n,a,r,f){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return e.erc1155.transferBatch.prepare(n,a,r,f,i)}})()));ae(this,"setApprovalForAll",be(async(e,n)=>this.erc1155.setApprovalForAll.prepare(e,n)));ae(this,"airdrop",be((()=>{var e=this;return async function(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.airdrop.prepare(n,a,r,f)}})()));this.contractWrapper=e,this.storage=n,this.erc1155=new vE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){return this.erc1155.get(e)}async totalSupply(e){return this.erc1155.totalSupply(e)}async balanceOf(e,n){return this.erc1155.balanceOf(e,n)}async balance(e){return this.erc1155.balance(e)}async isApproved(e,n){return this.erc1155.isApproved(e,n)}}});function drn(t){return d0(t in Er0,`chainId not supported by paper: ${t}`),Er0[t]}async function lrn(t,e){let n=drn(e),r=await(await fetch(`${_r0}/register-contract?contractAddress=${t}&chain=${n}`)).json();return d0(r.result.id,"Contract is not registered with paper"),r.result.id}async function prn(t,e){let a=await(await fetch(`${_r0}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:t,...urn,...e,metadata:{...e.metadata,via_platform:"thirdweb"},hideNativeMint:!0,hidePaperWallet:!!e.walletAddress,hideExternalWallet:!0,hidePayWithCrypto:!0,usePaperKey:!1})})).json();return d0(a.checkoutLinkIntentUrl,"Failed to create checkout link intent"),a.checkoutLinkIntentUrl}var orn,crn,_r0,Er0,urn,sb,TG=oe(()=>{"use strict";u();p();ln();ir();orn="https://paper.xyz/api",crn="2022-08-12",_r0=`${orn}/${crn}/platform/thirdweb`,Er0={[E0.Mainnet]:"Ethereum",[E0.Goerli]:"Goerli",[E0.Polygon]:"Polygon",[E0.Mumbai]:"Mumbai",[E0.Avalanche]:"Avalanche"};urn={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};sb=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return lrn(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await prn(await this.getCheckoutId(),e)}}});var Ar0={};G0(Ar0,{EditionDrop:()=>R6e});var EG,zTa,WTa,jTa,S6e,xG,R6e,Ir0=oe(()=>{"use strict";u();p();EG=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();vM();wG();TG();ir();zTa=Ee(Va()),WTa=Ee(io());W0();jTa=Ee(Yc()),S6e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let n=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&EG.BigNumber.isBigNumber(a.data.tokenId)?a.data.tokenId.eq(e):!1);return Array.from(new Set(n.filter(a=>typeof a.data?.claimer=="string").map(a=>a.data.claimer)))}},xG=class xG extends ib{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc1155.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return n.erc1155.claimTo.prepare(a,r,f,{checkERC20Allowance:i})}})()));ae(this,"claim",be((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=await n.contractWrapper.getSignerAddress();return n.claimTo.prepare(i,a,r,f)}})()));ae(this,"burnTokens",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i),this.metadata=new Wn(this.contractWrapper,_G,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,xG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new yM(this.contractWrapper,this.metadata,this.storage),this.events=new Rn(this.contractWrapper),this.history=new S6e(this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.checkout=new sb(this.contractWrapper),this.owner=new Rs(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),EG.constants.AddressZero])}async getClaimTransaction(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return this.erc1155.getClaimTransaction(n,a,r,{checkERC20Allowance:f})}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(xG,"contractRoles",Bs);R6e=xG});var Cr0=D((VTa,hrn)=>{hrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var kr0=D((YTa,mrn)=>{mrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"_tokenURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var Rr0={};G0(Rr0,{Edition:()=>M6e});var Sr0,oxa,cxa,lxa,AG,M6e,Mr0=oe(()=>{"use strict";u();p();Sr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();vM();wG();ir();oxa=Ee(Va()),cxa=Ee(io());W0();lxa=Ee(Yc()),AG=class AG extends ib{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc1155.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc1155.mintTo.prepare(n,a)));ae(this,"mintAdditionalSupply",be(async(n,a)=>this.erc1155.mintAdditionalSupply.prepare(n,a)));ae(this,"mintAdditionalSupplyTo",be(async(n,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(n,a,r)));ae(this,"mintBatch",be(async n=>this.erc1155.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc1155.mintBatchTo.prepare(n,a)));ae(this,"burn",be(async(n,a)=>this.erc1155.burn.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,IG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,AG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new gM(this.contractWrapper,this.storage,this.roles),this.owner=new Rs(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n,a){return this.erc1155.getOwned(n,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Sr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc1155.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(AG,"contractRoles",Bs);M6e=AG});var Br0=D((mxa,brn)=>{brn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipientForToken",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});async function y2(t,e,n,a,r){try{let f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new th.Contract(n,f,t),[s,o]=await Promise.all([i.supportsInterface(Xm),i.supportsInterface(Zm)]);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new th.Contract(n,c,t);if(await d.isApprovedForAll(r,e))return!0;let h;try{h=await d.getApproved(a)}catch{}return h?.toLowerCase()===e.toLowerCase()}else if(o){let c=(await Promise.resolve().then(()=>Ee(gx()))).default;return await new th.Contract(n,c,t).isApprovedForAll(r,e)}else return console.error("Contract does not implement ERC 1155 or ERC 721."),!1}catch(f){return console.error("Failed to check if token is approved",f),!1}}async function ob(t,e,n,a,r){let f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new lt(t.getSignerOrProvider(),n,f,t.options,t.storage),[s,o]=await Promise.all([i.read("supportsInterface",[Xm]),i.read("supportsInterface",[Zm])]);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new lt(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||(await d.read("getApproved",[a])).toLowerCase()===e.toLowerCase()||await d.sendTransaction("setApprovalForAll",[e,!0])}else if(o){let c=(await Promise.resolve().then(()=>Ee(gx()))).default,d=new lt(t.getSignerOrProvider(),n,c,t.options,t.storage);await d.read("isApprovedForAll",[r,e])||await d.sendTransaction("setApprovalForAll",[e,!0])}else throw Error("Contract must implement ERC 1155 or ERC 721.")}function B6e(t){switch(d0(t.assetContractAddress!==void 0&&t.assetContractAddress!==null,"Asset contract address is required"),d0(t.buyoutPricePerToken!==void 0&&t.buyoutPricePerToken!==null,"Buyout price is required"),d0(t.listingDurationInSeconds!==void 0&&t.listingDurationInSeconds!==null,"Listing duration is required"),d0(t.startTimestamp!==void 0&&t.startTimestamp!==null,"Start time is required"),d0(t.tokenId!==void 0&&t.tokenId!==null,"Token ID is required"),d0(t.quantity!==void 0&&t.quantity!==null,"Quantity is required"),t.type){case"NewAuctionListing":d0(t.reservePricePerToken!==void 0&&t.reservePricePerToken!==null,"Reserve price is required")}}async function CG(t,e,n){return{quantity:n.quantityDesired,pricePerToken:n.pricePerToken,currencyContractAddress:n.currency,buyerAddress:n.offeror,quantityDesired:n.quantityWanted,currencyValue:await Ja(t,n.currency,n.quantityWanted.mul(n.pricePerToken)),listingId:e}}function Dr0(t,e,n){return n=th.BigNumber.from(n),t=th.BigNumber.from(t),e=th.BigNumber.from(e),t.eq(th.BigNumber.from(0))?!1:e.sub(t).mul(D6e).div(t).gte(n)}async function E9(t,e,n){let a=[];for(;e-t>Li;)a.push(n(t,t+Li-1)),t+=Li;return a.push(n(t,e-1)),await Promise.all(a)}var th,_M=oe(()=>{"use strict";u();p();th=Ee(Je());ir();Ll();ln();or()});function _9(t){return mf(t)?bf:t}var P6e=oe(()=>{"use strict";u();p();ln();or()});var d1,Pr0=oe(()=>{"use strict";u();p();d1=function(t){return t[t.Direct=0]="Direct",t[t.Auction=1]="Auction",t}({})});var Lr0={};G0(Lr0,{Marketplace:()=>N6e});var st,Gxa,Kxa,L6e,F6e,kG,N6e,Fr0=oe(()=>{"use strict";u();p();st=Ee(Je());ir();Ll();or();ln();_M();Da();Rf();ec();Ol();Vc();P6e();i5();h2();Pr0();Gxa=Ee(Va()),Kxa=Ee(io());W0();L6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{B6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await ob(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=await ta(this.contractWrapper.getProvider(),e.reservePricePerToken,a),i=Math.floor(e.startTimestamp.getTime()/1e3),o=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;i({id:this.contractWrapper.parseLogs("ListingAdded",d?.logs)[0].args.listingId,receipt:d})});return c.setGasLimitMultiple(1.2),c}));ae(this,"createListingsBatch",be(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutListing",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,st.utils.formatUnits(n.buyoutPrice,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateListing(st.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(st.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");let f=await this.contractWrapper.read("bidBufferBps",[]),i=await this.getWinningBid(e);if(i){let l=Dr0(i.pricePerToken,r,f);d0(l,"Bid price is too low based on the current winning bid and the bid buffer")}else{let l=r,h=st.BigNumber.from(a.reservePrice);d0(l.gte(h),"Bid price is too low based on reserve price")}let s=st.BigNumber.from(a.quantity),o=r.mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a.currencyContractAddress,c);let d=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,st.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));ae(this,"cancelListing",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e)),a=st.BigNumber.from(Math.floor(Date.now()/1e3)),r=st.BigNumber.from(n.startTimeInEpochSeconds),f=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&f.offeror!==st.constants.AddressZero)throw new AM(e.toString());let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return i.setGasLimitMultiple(1.2),i}));ae(this,"closeListing",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(st.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[st.BigNumber.from(e),n]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new v2(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));ae(this,"executeSale",be(async e=>{let n=await this.validateListing(st.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("closeAuction",[e,n.sellerAddress]),f=this.encoder.encode("closeAuction",[e,a.buyerAddress]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r,f]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("cannot close auction before it has ended")?new v2(e.toString(),n.endTimeInEpochSeconds.toString()):a}}));ae(this,"updateListing",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.reservePrice,e.buyoutPrice,e.currencyContractAddress,e.startTimeInEpochSeconds,e.endTimeInEpochSeconds]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n,this.encoder=new it(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());if(n.listingType!==d1.Auction)throw new xE(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(n)}async getWinningBid(e){await this.validateListing(st.BigNumber.from(e));let n=await this.contractWrapper.read("winningBid",[e]);if(n.offeror!==st.constants.AddressZero)return await CG(this.contractWrapper.getProvider(),st.BigNumber.from(e),n)}async getWinner(e){let n=await this.validateListing(st.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=st.BigNumber.from(Math.floor(Date.now()/1e3)),f=st.BigNumber.from(n.endTimeInEpochSeconds);if(r.gt(f)&&a.offeror!==st.constants.AddressZero)return a.offeror;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(st.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with listingId ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(),this.getWinningBid(e),this.validateListing(st.BigNumber.from(e))]),f=a?a.currencyValue.value:r.reservePrice,i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:st.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInEpochSeconds:e.startTime,asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:st.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:d1.Auction}}},F6e=class{constructor(e,n){ae(this,"createListing",be(async e=>{B6e(e);let n=await Oe(e.assetContractAddress),a=await Oe(e.currencyContractAddress);await ob(this.contractWrapper,this.getAddress(),n,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),f=Math.floor(e.startTimestamp.getTime()/1e3),s=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;f({id:this.contractWrapper.parseLogs("ListingAdded",c?.logs)[0].args.listingId,receipt:c})});return o.setGasLimitMultiple(1.2),o}));ae(this,"createListingsBatch",be(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"makeOffer",be(async(e,n,a,r,f)=>{if(mf(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let i=await ta(this.contractWrapper.getProvider(),r,a);try{await this.getListing(e)}catch(h){throw console.error("Failed to get listing, err =",h),new Error(`Error getting the listing with id ${e}`)}let s=st.BigNumber.from(n),o=st.BigNumber.from(i).mul(s),c=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,o,a,c);let d=st.constants.MaxUint256;f&&(d=st.BigNumber.from(Math.floor(f.getTime()/1e3)));let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,n,a,i,d],overrides:c});return l.setGasLimitMultiple(1.2),l}));ae(this,"acceptOffer",be(async(e,n)=>{await this.validateListing(st.BigNumber.from(e));let a=await Oe(n),r=await this.contractWrapper.read("offers",[e,a]),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e,a,r.currency,r.pricePerToken]});return f.setGasLimitMultiple(1.2),f}));ae(this,"buyoutListing",be(async(e,n,a)=>{let r=await this.validateListing(st.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=st.BigNumber.from(n),c=st.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buy",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"updateListing",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.buyoutPrice,e.buyoutPrice,await Oe(e.currencyContractAddress),e.startTimeInSeconds,e.secondsUntilEnd]});return n.setGasLimitMultiple(1.2),n}));ae(this,"cancelListing",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelDirectListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));this.contractWrapper=e,this.storage=n}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());if(n.listingType!==d1.Direct)throw new xE(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(n)}async getActiveOffer(e,n){await this.validateListing(st.BigNumber.from(e)),d0(st.utils.isAddress(n),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Oe(n)]);if(a.offeror!==st.constants.AddressZero)return await CG(this.contractWrapper.getProvider(),st.BigNumber.from(e),a)}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:st.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInSeconds:e.startTime,asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:d1.Direct}}async isStillValidListing(e,n){if(!await y2(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.sellerAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new st.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Xm),o=await i.supportsInterface(Zm);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new st.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.sellerAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(gx()))).default,h=(await new st.Contract(e.assetContractAddress,c,r).balanceOf(e.sellerAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}},kG=class kG{constructor(e,n,a){ae(this,"getAll",this.getAllListings);ae(this,"buyoutListing",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());switch(r.listingType){case d1.Direct:return d0(n!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,n,a);case d1.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"makeOffer",be(async(e,n,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new g2(this.getAddress(),e.toString());let f=await this.contractWrapper.getChainID();switch(r.listingType){case d1.Direct:return d0(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,mf(r.currency)?cb[f].wrapped.address:r.currency,n);case d1.Auction:return await this.auction.makeBid.prepare(e,n);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));ae(this,"setBidBufferBps",be(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getTimeBufferInSeconds();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[n,st.BigNumber.from(e)]})}));ae(this,"setTimeBufferInSeconds",be(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let n=await this.getBidBufferBps();return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[st.BigNumber.from(e),n]})}));ae(this,"allowListingFromSpecificAssetOnly",be(async e=>{let n=[];return(await this.roles.get("asset")).includes(st.constants.AddressZero)&&n.push(this.encoder.encode("revokeRole",[cr("asset"),st.constants.AddressZero])),n.push(this.encoder.encode("grantRole",[cr("asset"),e])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n]})}));ae(this,"allowListingFromAnyAsset",be(async()=>{let e=[],n=await this.roles.get("asset");for(let a in n)e.push(this.encoder.encode("revokeRole",[cr("asset"),a]));return e.push(this.encoder.encode("grantRole",[cr("asset"),st.constants.AddressZero])),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[e]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,A9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,kG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.direct=new F6e(this.contractWrapper,this.storage),this.auction=new L6e(this.contractWrapper,this.storage),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let n=await this.contractWrapper.read("listings",[e]);if(n.assetContract===st.constants.AddressZero)throw new g2(this.getAddress(),e.toString());switch(n.listingType){case d1.Auction:return await this.auction.mapListing(n);case d1.Direct:return await this.direct.mapListing(n);default:throw new Error(`Unknown listing type: ${n.listingType}`)}}async getActiveListings(e){let n=await this.getAllListingsNoFilter(!0),a=this.applyFilter(n,e),r=st.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(f=>f.type===d1.Auction&&st.BigNumber.from(f.endTimeInEpochSeconds).gt(r)&&st.BigNumber.from(f.startTimeInEpochSeconds).lte(r)||f.type===d1.Direct&&st.BigNumber.from(f.quantity).gt(0))}async getAllListings(e){let n=await this.getAllListingsNoFilter(!1);return this.applyFilter(n,e)}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async isRestrictedToListerRoleOnly(){return!await this.contractWrapper.read("hasRole",[cr("lister"),st.constants.AddressZero])}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getTimeBufferInSeconds(){return this.contractWrapper.read("timeBuffer",[])}async getOffers(e){let n=await this.events.getEvents("NewOffer",{order:"desc",filters:{listingId:e}});return await Promise.all(n.map(a=>CG(this.contractWrapper.getProvider(),st.BigNumber.from(e),{quantityWanted:a.data.quantityWanted,pricePerToken:a.data.quantityWanted.gt(0)?a.data.totalOfferAmount.div(a.data.quantityWanted):a.data.totalOfferAmount,currency:a.data.currency,offeror:a.data.offeror})))}async getAllListingsNoFilter(e){return(await Promise.all(Array.from(Array((await this.contractWrapper.read("totalListings",[])).toNumber()).keys()).map(async a=>{let r;try{r=await this.getListing(a)}catch(f){if(f instanceof g2)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===d1.Auction)return r;if(e){let{valid:f}=await this.direct.isStillValidListing(r);if(!f)return}return r}))).filter(a=>a!==void 0)}applyFilter(e,n){let a=[...e],r=st.BigNumber.from(n?.start||0).toNumber(),f=st.BigNumber.from(n?.count||Li).toNumber();return n&&(n.seller&&(a=a.filter(i=>i.sellerAddress.toString().toLowerCase()===n?.seller?.toString().toLowerCase())),n.tokenContract&&(a=a.filter(i=>i.assetContractAddress.toString().toLowerCase()===n?.tokenContract?.toString().toLowerCase())),n.tokenId!==void 0&&(a=a.filter(i=>i.tokenId.toString()===n?.tokenId?.toString())),a=a.filter((i,s)=>s>=r),a=a.slice(0,f)),a}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(kG,"contractRoles",EE);N6e=kG});var Nr0=D((Jxa,yrn)=>{yrn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"MAX_BPS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"acceptOffer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_offeror",type:"address",internalType:"address"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bidBufferBps",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"buy",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantityToBuy",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_totalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelDirectListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"closeAuction",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_closeFor",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IMarketplace.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"secondsUntilEndTime",type:"uint256",internalType:"uint256"},{name:"quantityToList",type:"uint256",internalType:"uint256"},{name:"currencyToAccept",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"listings",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"offer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityWanted",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_expirationTimestamp",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"offers",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"pure"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAuctionBuffers",inputs:[{name:"_timeBuffer",type:"uint256",internalType:"uint256"},{name:"_bidBufferBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"timeBuffer",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityToList",type:"uint256",internalType:"uint256"},{name:"_reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"_buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"_currencyToAccept",type:"address",internalType:"address"},{name:"_startTime",type:"uint256",internalType:"uint256"},{name:"_secondsUntilEndTime",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"winningBid",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"AuctionBuffersUpdated",inputs:[{name:"timeBuffer",type:"uint256",indexed:!1,internalType:"uint256"},{name:"bidBufferBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"AuctionClosed",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"cancelled",type:"bool",indexed:!0,internalType:"bool"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ListingAdded",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IMarketplace.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],anonymous:!1},{type:"event",name:"ListingRemoved",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"ListingUpdated",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"listingType",type:"uint8",indexed:!0,internalType:"enum IMarketplace.ListingType"},{name:"quantityWanted",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalOfferAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"currency",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]}]});var ut,Or0,uo,_E,grn,AE,vrn,IE,O6e=oe(()=>{"use strict";u();p();ut=Ee(Je());ir();P6e();or();i5();h2();ln();_M();Ll();Da();Fl();J5();Rf();ec();Or0=fe.object({assetContractAddress:da,tokenId:Xa,quantity:Xa.default(1),currencyContractAddress:da.default(bf),pricePerToken:ff,startTimestamp:g9.default(new Date),endTimestamp:tb,isReservedListing:fe.boolean().default(!1)}),uo=function(t){return t[t.UNSET=0]="UNSET",t[t.Created=1]="Created",t[t.Completed=2]="Completed",t[t.Cancelled=3]="Cancelled",t[t.Active=4]="Active",t[t.Expired=5]="Expired",t}({}),_E=class{constructor(e,n){ae(this,"featureName",db.name);ae(this,"createListing",be(async e=>{let n=await Or0.parseAsync(e);await ob(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.pricePerToken,n.currencyContractAddress),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(f)&&(n.startTimestamp=ut.BigNumber.from(f));let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:_9(n.currencyContractAddress),pricePerToken:a,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp,reserved:n.isReservedListing}],parse:s=>({id:this.contractWrapper.parseLogs("NewListing",s?.logs)[0].args.listingId,receipt:s})});return i.setGasLimitMultiple(1.2),i}));ae(this,"createListingsBatch",be(async e=>{let n=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewListing",r?.logs).map(i=>({id:i.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"updateListing",be(async(e,n)=>{let a=await Or0.parseAsync(n);await ob(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await ta(this.contractWrapper.getProvider(),a.pricePerToken,a.currencyContractAddress),f=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e,{assetContract:a.assetContractAddress,tokenId:a.tokenId,quantity:a.quantity,currency:_9(a.currencyContractAddress),pricePerToken:r,startTimestamp:a.startTimestamp,endTimestamp:a.endTimestamp,reserved:a.isReservedListing}],parse:i=>({id:this.contractWrapper.parseLogs("UpdatedListing",i?.logs)[0].args.listingId,receipt:i})});return f.setGasLimitMultiple(1.2),f}));ae(this,"cancelListing",be(async e=>{let n=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return n.setGasLimitMultiple(1.2),n}));ae(this,"buyFromListing",be(async(e,n,a)=>{a&&(a=await Oe(a));let r=await this.validateListing(ut.BigNumber.from(e)),{valid:f,error:i}=await this.isStillValidListing(r,n);if(!f)throw new Error(`Listing ${e} is no longer valid. ${i}`);let s=a||await this.contractWrapper.getSignerAddress(),o=ut.BigNumber.from(n),c=ut.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,c,r.currencyContractAddress,d);let l=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buyFromListing",args:[e,s,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));ae(this,"approveBuyerForReservedListing",be(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n))throw new Error(`Buyer ${n} already approved for listing ${e}.`);{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!0]});return r.setGasLimitMultiple(1.2),r}}));ae(this,"revokeBuyerApprovalForReservedListing",be(async(e,n)=>{if(await this.isBuyerApprovedForListing(e,n)){let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,n,!1]});return r.setGasLimitMultiple(1.2),r}else throw new Error(`Buyer ${n} not approved for listing ${e}.`)}));ae(this,"approveCurrencyForListing",be(async(e,n,a)=>{let r=await this.validateListing(ut.BigNumber.from(e)),f=await Oe(n);f===r.currencyContractAddress&&d0(a===r.pricePerToken,"Approving listing currency with a different price.");let i=await this.contractWrapper.read("currencyPriceForListing",[e,f]);d0(a===i,"Currency already approved with this price.");let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,f,a]});return s.setGasLimitMultiple(1.2),s}));ae(this,"revokeCurrencyApprovalForListing",be(async(e,n)=>{let a=await this.validateListing(ut.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)throw new Error("Can't revoke approval for main listing currency.");let f=await this.contractWrapper.read("currencyPriceForListing",[e,r]);d0(!f.isZero(),"Currency not approved.");let i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,r,ut.BigNumber.from(0)]});return i.setGasLimitMultiple(1.2),i}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async getAll(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllValidListings",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapListing(o)))}async getListing(e){let n=await this.contractWrapper.read("getListing",[e]);return await this.mapListing(n)}async isBuyerApprovedForListing(e,n){if(!(await this.validateListing(ut.BigNumber.from(e))).isReservedListing)throw new Error(`Listing ${e} is not a reserved listing.`);return await this.contractWrapper.read("isBuyerApprovedForListing",[e,await Oe(n)])}async isCurrencyApprovedForListing(e,n){return await this.validateListing(ut.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Oe(n)])}async currencyPriceForListing(e,n){let a=await this.validateListing(ut.BigNumber.from(e)),r=await Oe(n);if(r===a.currencyContractAddress)return a.pricePerToken;if(!await this.isCurrencyApprovedForListing(e,r))throw new Error(`Currency ${r} is not approved for Listing ${e}.`);return await this.contractWrapper.read("currencyPriceForListing",[e,r])}async validateListing(e){try{return await this.getListing(e)}catch(n){throw console.error(`Error getting the listing with id ${e}`),n}}async mapListing(e){let n=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.Cancelled;break}return{assetContractAddress:e.assetContract,currencyContractAddress:e.currency,pricePerToken:e.pricePerToken.toString(),currencyValuePerToken:await Ja(this.contractWrapper.getProvider(),e.currency,e.pricePerToken),id:e.listingId.toString(),tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),startTimeInSeconds:ut.BigNumber.from(e.startTimestamp).toNumber(),asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:n}}async isStillValidListing(e,n){if(!await y2(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.creatorAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),f=(await Promise.resolve().then(()=>Ee(iE()))).default,i=new ut.Contract(e.assetContractAddress,f,r),s=await i.supportsInterface(Xm),o=await i.supportsInterface(Zm);if(s){let c=(await Promise.resolve().then(()=>Ee(yx()))).default,d=new ut.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let h=l?.toLowerCase()===e.creatorAddress.toLowerCase();return{valid:h,error:h?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Ee(gx()))).default,h=(await new ut.Contract(e.assetContractAddress,c,r).balanceOf(e.creatorAddress,e.tokenId)).gte(n||e.quantity);return{valid:h,error:h?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.listingCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=grn.parse(e);await ob(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress());let a=await ta(this.contractWrapper.getProvider(),n.buyoutBidAmount,n.currencyContractAddress),r=await ta(this.contractWrapper.getProvider(),n.minimumBidAmount,n.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;n.startTimestamp.lt(i)&&(n.startTimestamp=ut.BigNumber.from(i));let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:_9(n.currencyContractAddress),minimumBidAmount:r,buyoutBidAmount:a,timeBufferInSeconds:n.timeBufferInSeconds,bidBufferBps:n.bidBufferBps,startTimestamp:n.startTimestamp,endTimestamp:n.endTimestamp}],parse:o=>({id:this.contractWrapper.parseLogs("NewAuction",o.logs)[0].args.auctionId,receipt:o})});return s.setGasLimitMultiple(1.2),s}));ae(this,"createAuctionsBatch",be(async e=>{let n=(await Promise.all(e.map(r=>this.createAuction.prepare(r)))).map(r=>r.encode()),a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[n],parse:r=>this.contractWrapper.parseLogs("NewAuction",r?.logs).map(i=>({id:i.args.auctionId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));ae(this,"buyoutAuction",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e)),a=await Pi(this.contractWrapper.getProvider(),n.currencyContractAddress);return this.makeBid.prepare(e,ut.utils.formatUnits(n.buyoutBidAmount,a.decimals))}));ae(this,"makeBid",be(async(e,n)=>{let a=await this.validateAuction(ut.BigNumber.from(e)),r=await ta(this.contractWrapper.getProvider(),n,a.currencyContractAddress);if(r.eq(ut.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(ut.BigNumber.from(a.buyoutBidAmount).gt(0)&&r.gt(a.buyoutBidAmount))throw new Error("Bid amount must be less than or equal to buyoutBidAmount");if(await this.getWinningBid(e)){let o=await this.isWinningBid(e,r);d0(o,"Bid price is too low based on the current winning bid and the bid buffer")}else{let o=r,c=ut.BigNumber.from(a.minimumBidAmount);d0(o.gte(c),"Bid price is too low based on minimum bid amount")}let i=await this.contractWrapper.getCallOverrides()||{};await c1(this.contractWrapper,r,a.currencyContractAddress,i);let s=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"bidInAuction",overrides:i,args:[e,r]});return s.setGasLimitMultiple(1.2),s}));ae(this,"cancelAuction",be(async e=>{if(await this.getWinningBid(e))throw new Error("Bids already made.");let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelAuction",args:[e]});return a.setGasLimitMultiple(1.2),a}));ae(this,"closeAuctionForBidder",be(async(e,n)=>{n||(n=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(ut.BigNumber.from(e));try{let r=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[ut.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new v2(e.toString(),a.endTimeInSeconds.toString()):r}}));ae(this,"closeAuctionForSeller",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e));try{let a=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[ut.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new v2(e.toString(),n.endTimeInSeconds.toString()):a}}));ae(this,"executeSale",be(async e=>{let n=await this.validateAuction(ut.BigNumber.from(e));try{let a=await this.getWinningBid(e);d0(a,"No winning bid found");let r=this.encoder.encode("collectAuctionPayout",[e]),f=this.encoder.encode("collectAuctionTokens",[e]),i=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[[r,f]]});return i.setGasLimitMultiple(1.2),i}catch(a){throw a.message.includes("Marketplace: auction still active.")?new v2(e.toString(),n.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalAuctions",[])}async getAll(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllValidAuctions",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapAuction(o)))}async getAuction(e){let n=await this.contractWrapper.read("getAuction",[e]);return await this.mapAuction(n)}async getWinningBid(e){await this.validateAuction(ut.BigNumber.from(e));let n=await this.contractWrapper.read("getWinningBid",[e]);if(n._bidder!==ut.constants.AddressZero)return await this.mapBid(e.toString(),n._bidder,n._currency,n._bidAmount.toString())}async isWinningBid(e,n){return await this.contractWrapper.read("isNewWinningBid",[e,n])}async getWinner(e){let n=await this.validateAuction(ut.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=ut.BigNumber.from(Math.floor(Date.now()/1e3)),f=ut.BigNumber.from(n.endTimeInSeconds);if(r.gt(f)&&a._bidder!==ut.constants.AddressZero)return a._bidder;let o=(await new Rn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(ut.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with ID ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(e){return(await this.getAuction(e)).bidBufferBps}async getMinimumNextBid(e){let[n,a,r]=await Promise.all([this.getBidBufferBps(e),this.getWinningBid(e),this.validateAuction(ut.BigNumber.from(e))]),f=a?ut.BigNumber.from(a.bidAmount):ut.BigNumber.from(r.minimumBidAmount),i=f.add(f.mul(n).div(1e4));return Ja(this.contractWrapper.getProvider(),r.currencyContractAddress,i)}async validateAuction(e){try{return await this.getAuction(e)}catch(n){throw console.error(`Error getting the auction with id ${e}`),n}}async mapAuction(e){let n=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.startTimestamp).gt(r)?uo.Created:ut.BigNumber.from(e.endTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.Cancelled;break}return{id:e.auctionId.toString(),creatorAddress:e.auctionCreator,assetContractAddress:e.assetContract,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),currencyContractAddress:e.currency,minimumBidAmount:e.minimumBidAmount.toString(),minimumBidCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.minimumBidAmount),buyoutBidAmount:e.buyoutBidAmount.toString(),buyoutCurrencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.buyoutBidAmount),timeBufferInSeconds:ut.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:ut.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:ut.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:ut.BigNumber.from(e.endTimestamp).toNumber(),asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),status:n}}async mapBid(e,n,a,r){let f=await Oe(n),i=await Oe(a);return{auctionId:e,bidderAddress:f,currencyContractAddress:i,bidAmount:r,bidAmountCurrencyValue:await Ja(this.contractWrapper.getProvider(),i,r)}}async applyFilter(e,n){let a=[...e];if(n){if(n.seller){let r=await Oe(n.seller);a=a.filter(f=>f.auctionCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.count{let n=await vrn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=mf(n.currencyContractAddress)?cb[a].wrapped.address:n.currencyContractAddress,f=await ta(this.contractWrapper.getProvider(),n.totalPrice,r),i=await this.contractWrapper.getCallOverrides();return await c1(this.contractWrapper,f,r,i),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"makeOffer",args:[{assetContract:n.assetContractAddress,tokenId:n.tokenId,quantity:n.quantity,currency:r,totalPrice:f,expirationTimestamp:n.endTimestamp}],parse:s=>({id:this.contractWrapper.parseLogs("NewOffer",s?.logs)[0].args.offerId,receipt:s})})}));ae(this,"cancelOffer",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));ae(this,"acceptOffer",be(async e=>{let n=await this.validateOffer(ut.BigNumber.from(e)),{valid:a,error:r}=await this.isStillValidOffer(n);if(!a)throw new Error(`Offer ${e} is no longer valid. ${r}`);let f=await this.contractWrapper.getCallOverrides()||{};return await ob(this.contractWrapper,this.getAddress(),n.assetContractAddress,n.tokenId,await this.contractWrapper.getSignerAddress()),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e],overrides:f})}));this.contractWrapper=e,this.storage=n,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalOffers",[])}async getAll(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getAllValid(e){let n=await this.getTotalCount(),a=ut.BigNumber.from(e?.start||0).toNumber(),r=n.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let f=[];f=(await E9(a,r,(o,c)=>this.contractWrapper.read("getAllValidOffers",[o,c]))).flat();let s=await this.applyFilter(f,e);return await Promise.all(s.map(o=>this.mapOffer(o)))}async getOffer(e){let n=await this.contractWrapper.read("getOffer",[e]);return await this.mapOffer(n)}async validateOffer(e){try{return await this.getOffer(e)}catch(n){throw console.error(`Error getting the offer with id ${e}`),n}}async mapOffer(e){let n=uo.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:n=ut.BigNumber.from(e.expirationTimestamp).lt(r)?uo.Expired:uo.Active;break;case 2:n=uo.Completed;break;case 3:n=uo.Cancelled;break}return{id:e.offerId.toString(),offerorAddress:e.offeror,assetContractAddress:e.assetContract,currencyContractAddress:e.currency,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),totalPrice:e.totalPrice.toString(),currencyValue:await Ja(this.contractWrapper.getProvider(),e.currency,e.totalPrice),asset:await $8(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:ut.BigNumber.from(e.expirationTimestamp).toNumber(),status:n}}async isStillValidOffer(e){if(ut.BigNumber.from(Math.floor(Date.now()/1e3)).gt(e.endTimeInSeconds))return{valid:!1,error:`Offer with ID ${e.id} has expired`};let a=await this.contractWrapper.getChainID(),r=mf(e.currencyContractAddress)?cb[a].wrapped.address:e.currencyContractAddress,f=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Ee(K1()))).default,s=new lt(f,r,i,{},this.storage);return(await s.read("balanceOf",[e.offerorAddress])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} doesn't have enough balance of token ${r}`}:(await s.read("allowance",[e.offerorAddress,this.getAddress()])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} hasn't approved enough amount of token ${r}`}:{valid:!0,error:""}}async applyFilter(e,n){let a=[...e];if(n){if(n.offeror){let r=await Oe(n.offeror);a=a.filter(f=>f.offeror.toString().toLowerCase()===r?.toString().toLowerCase())}if(n.tokenContract){let r=await Oe(n.tokenContract);a=a.filter(f=>f.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}n.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===n?.tokenId?.toString()))}return n?.count&&n.countU6e});var AEa,IEa,SG,U6e,Hr0=oe(()=>{"use strict";u();p();Fl();Rf();ln();or();ec();Ol();Vc();O6e();Da();ir();AEa=Ee(Va()),IEa=Ee(io());W0();SG=class SG{get directListings(){return O0(this.detectDirectListings(),db)}get englishAuctions(){return O0(this.detectEnglishAuctions(),lb)}get offers(){return O0(this.detectOffers(),ub)}get chainId(){return this._chainId}constructor(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,A9,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,SG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new _E(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new AE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new IE(this.contractWrapper,this.storage)}};ae(SG,"contractRoles",EE);U6e=SG});var zr0=D((MEa,wrn)=>{wrn.exports=[{type:"constructor",inputs:[{name:"_marketplaceV3Params",type:"tuple",internalType:"struct MarketplaceV3.MarketplaceConstructorParams",components:[{name:"extensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]},{name:"royaltyEngineAddress",type:"address",internalType:"address"},{name:"nativeTokenWrapper",type:"address",internalType:"address"}]}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"addExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"defaultExtensions",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"enableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_function",type:"tuple",internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllExtensions",inputs:[],outputs:[{name:"allExtensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getExtension",inputs:[{name:"extensionName",type:"string",internalType:"string"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getImplementationForFunction",inputs:[{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getMetadataForFunction",inputs:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyalty",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"recipients",type:"address[]",internalType:"address payable[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"nonpayable"},{type:"function",name:"getRoyaltyEngineAddress",inputs:[],outputs:[{name:"royaltyEngineAddress",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint16",internalType:"uint16"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"removeExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"replaceExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyEngine",inputs:[{name:"_royaltyEngineAddress",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ExtensionAdded",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionRemoved",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionReplaced",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FunctionDisabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"FunctionEnabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extFunction",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyEngineUpdated",inputs:[{name:"previousAddress",type:"address",indexed:!0,internalType:"address"},{name:"newAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"InvalidCodeAtRange",inputs:[{name:"_size",type:"uint256",internalType:"uint256"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_end",type:"uint256",internalType:"uint256"}]},{type:"error",name:"WriteError",inputs:[]}]});async function RG(t,e,n){let a=t.getProvider(),r=(await Promise.resolve().then(()=>Ee(K1()))).default,f=new lt(a,e,r,{},t.storage),i=await t.getSignerAddress(),s=t.address;return(await f.read("allowance",[i,s])).gte(n)}var H6e=oe(()=>{"use strict";u();p();ln()});var po,Wr0,o5,CE=oe(()=>{"use strict";u();p();po=Ee(Je()),Wr0=Ee(Yc());ln();w9();or();Rf();Da();o5=class{constructor(e,n,a){ae(this,"set",be((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n;if(e.isLegacySinglePhaseDrop(e.contractWrapper)||e.isNewSinglePhaseDrop(e.contractWrapper)){if(a=!0,n.length===0)r=[{startTime:new Date(0),currencyAddress:po.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:po.utils.hexZeroPad([0],32),snapshot:[]}];else if(n.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&r.forEach(h=>{if(h.snapshot&&h.snapshot.length>0&&(h.maxClaimablePerWallet===void 0||h.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. +contract.claimConditions.set(tokenId, [{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(T.snapshot&&T.snapshot.length>0&&T.maxClaimablePerWallet?.toString()==="0"&&T.snapshot.map(A=>typeof A=="string"?0:Number(A.maxClaimable?.toString()||0)).reduce((A,O)=>A+O,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:y,sortedConditions:h}=await NH(l,0,e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion());return y.forEach(T=>{r[T.merkleRoot]=T.snapshotUri}),{tokenId:c,sortedConditions:h}})),s=await e.metadata.get(),f=[];for(let o of Object.keys(s.merkle||{}))r[o]=s.merkle[o];if(!(0,z0t.default)(s.merkle,r)){let o=await e.metadata.parseInputMetadata({...s,merkle:r}),c=await e.metadata._parseAndUploadMetadata(o);if(cr("setContractURI",e.contractWrapper)){let d=new r0(e.contractWrapper);f.push(d.encode("setContractURI",[c]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}if(i.forEach(o=>{let{tokenId:c,sortedConditions:d}=o,l=new r0(e.contractWrapper);if(e.isLegacySinglePhaseDrop(e.contractWrapper)){let y=new r0(e.contractWrapper);f.push(y.encode("setClaimConditions",[c,sw(d[0]),a]))}else if(e.isLegacyMultiPhaseDrop(e.contractWrapper))f.push(l.encode("setClaimConditions",[c,d.map(sw),a]));else if(e.isNewSinglePhaseDrop(e.contractWrapper))f.push(l.encode("setClaimConditions",[c,fw(d[0]),a]));else if(e.isNewMultiphaseDrop(e.contractWrapper))f.push(l.encode("setClaimConditions",[c,d.map(fw),a]));else throw new Error("Contract does not support claim conditions")}),cr("multicall",e.contractWrapper))return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[f]});throw new Error("Contract does not support multicall")}})()));Z(this,"update",ye(async(e,t,a)=>{let r=await this.getAll(e),i=await FH(t,a,r);return await this.set.prepare(e,i)}));this.storage=a,this.contractWrapper=e,this.metadata=t}async getActive(e,t){let a=await this.get(e),r=await this.metadata.get();return await dw(a,0,this.contractWrapper.getProvider(),r.merkle,this.storage,t?.withAllowList||!1)}async get(e,t){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return ow(a)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let a=t!==void 0?t:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return ow(r)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]);return cw(a)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=t!==void 0?t:await this.contractWrapper.read("getActiveClaimConditionId",[e]),r=await this.contractWrapper.read("getClaimConditionById",[e,a]);return cw(r)}else throw new Error("Contract does not support claim conditions")}async getAll(e,t){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("claimCondition",[e]),r=a.currentStartId.toNumber(),i=a.count.toNumber(),s=[];for(let o=r;odw(o,0,this.contractWrapper.getProvider(),f.merkle,this.storage,t?.withAllowList||!1)))}else return[await this.getActive(e,t)]}async canClaim(e,t,a){return a&&(a=await Pe(a)),(await this.getClaimIneligibilityReasons(e,t,a)).length===0}async getClaimIneligibilityReasons(e,t,a){let r=[],i,s;if(a===void 0)try{a=await this.contractWrapper.getSignerAddress()}catch(T){console.warn("failed to get signer address",T)}if(!a)return[Nn.NoWallet];let f=await Pe(a);try{s=await this.getActive(e)}catch(T){return gy(T,"!CONDITION")||gy(T,"no active mint condition")||gy(T,"DropNoActiveCondition")?(r.push(Nn.NoClaimConditionSet),r):(r.push(Nn.Unknown),r)}if(s.availableSupply!=="unlimited"&&aa.BigNumber.from(s.availableSupply).lt(t))return r.push(Nn.NotEnoughSupply),r;let c=aa.utils.stripZeros(s.merkleRootHash).length>0,d=null;if(c){if(d=await this.getClaimerProofs(e,f),!d&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return r.push(Nn.AddressNotAllowed),r;if(d)try{let T=await this.prepareClaim(e,t,!1,f),A;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(i=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[A]=await this.contractWrapper.read("verifyClaimMerkleProof",[i,f,e,t,T.proofs,T.maxClaimable]),!A)return r.push(Nn.AddressNotAllowed),r}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([A]=await this.contractWrapper.read("verifyClaimMerkleProof",[e,f,t,{proof:T.proofs,maxQuantityInAllowlist:T.maxClaimable}]),!A)return r.push(Nn.AddressNotAllowed),r}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[e,f,t,T.currencyAddress,T.price,{proof:T.proofs,quantityLimitPerWallet:T.maxClaimable,currency:T.currencyAddressInProof,pricePerToken:T.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(i=await this.contractWrapper.read("getActiveClaimConditionId",[e]),await this.contractWrapper.read("verifyClaim",[i,f,e,t,T.currencyAddress,T.price,{proof:T.proofs,quantityLimitPerWallet:T.maxClaimable,currency:T.currencyAddressInProof,pricePerToken:T.priceInProof}]))}catch(T){switch(console.warn("Merkle proof verification failed:","reason"in T?T.reason||T.errorName:T),T.reason||T.errorName){case"!Qty":case"DropClaimExceedLimit":r.push(Nn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":r.push(Nn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":r.push(Nn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":r.push(Nn.ClaimPhaseNotStarted);break;default:{r.push(Nn.AddressNotAllowed);break}}return r}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let T=aa.BigNumber.from(0),A=B6(s.maxClaimablePerWallet,0);try{T=await this.getSupplyClaimedByWallet(e,f)}catch{}if(d&&(A=B6(d.maxClaimable,0)),A.gt(0)&&A.lt(T.add(t)))return r.push(Nn.OverMaxClaimablePerWallet),r;if((!c||c&&!d)&&(A.lte(T)||A.eq(0)))return r.push(Nn.AddressNotAllowed),r}let[l,y]=[aa.BigNumber.from(0),aa.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(i=await this.contractWrapper.read("getActiveClaimConditionId",[e]),[l,y]=await this.contractWrapper.read("getClaimTimestamp",[e,i,f])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([l,y]=await this.contractWrapper.read("getClaimTimestamp",[e,f]));let h=aa.BigNumber.from(Date.now()).div(1e3);if(l.gt(0)&&h.lt(y))return y.eq(aa.constants.MaxUint256)?r.push(Nn.AlreadyClaimed):r.push(Nn.WaitBeforeNextClaimTransaction),r;if(s.price.gt(0)&&zH()){let T=s.price.mul(t),A=this.contractWrapper.getProvider();if(ai(s.currencyAddress))(await A.getBalance(f)).lt(T)&&r.push(Nn.NotEnoughTokens);else{let O=(await Promise.resolve().then(()=>Te(D1()))).default;(await new f0(A,s.currencyAddress,O,{},this.storage).read("balanceOf",[f])).lt(T)&&r.push(Nn.NotEnoughTokens)}}return r}async getClaimerProofs(e,t,a){let i=(await this.get(e,a)).merkleRoot;if(aa.utils.stripZeros(i).length>0){let f=await this.metadata.get(),o=await Pe(t);return await UA(o,i.toString(),f.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e,t){let a=await Pe(t);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,a]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let r=await this.contractWrapper.read("getActiveClaimConditionId",[e]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[e,r,a])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async prepareClaim(e,t,a,r){let i=await Pe(r||await this.contractWrapper.getSignerAddress());return BH(i,t,await this.getActive(e),async()=>(await this.metadata.get()).merkle,0,this.contractWrapper,this.storage,a,this.getSnapshotFormatVersion())}async getClaimArguments(e,t,a,r){let i=await Pe(t);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[i,e,a,r.currencyAddress,r.price,r.proofs,r.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[i,e,a,r.currencyAddress,r.price,{proof:r.proofs,maxQuantityInAllowlist:r.maxClaimable},aa.utils.toUtf8Bytes("")]:[i,e,a,r.currencyAddress,r.price,{proof:r.proofs,quantityLimitPerWallet:r.maxClaimable,pricePerToken:r.priceInProof,currency:r.currencyAddressInProof},aa.utils.toUtf8Bytes("")]}async getClaimTransaction(e,t,a,r){if(r?.pricePerToken)throw new Error("Price per token should be set via claim conditions by calling `contract.erc1155.claimConditions.set()`");let i=await this.prepareClaim(t,a,r?.checkERC20Allowance||!0);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(t,e,a,i),overrides:i.overrides})}isNewSinglePhaseDrop(e){return gt(e,"ERC1155ClaimConditionsV2")}isNewMultiphaseDrop(e){return gt(e,"ERC1155ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return gt(e,"ERC1155ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return gt(e,"ERC1155ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?by.V1:by.V2}},H0t=re.object({address:Kn,quantity:Kr.default(1)}),Otn=re.union([re.array(re.string()).transform(async n=>await Promise.all(n.map(e=>H0t.parseAsync({address:e})))),re.array(H0t)]),u1e=class{constructor(e){Z(this,"featureName",hw.name);Z(this,"to",ye(async(e,t,a,r)=>await this.getClaimTransaction(e,t,a,r)));this.contractWrapper=e}async getClaimTransaction(e,t,a,r){let i={};return r&&r.pricePerToken&&(i=await HH(this.contractWrapper,r.pricePerToken,a,r.currencyAddress,r.checkERC20Allowance)),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[await Pe(e),t,a],overrides:i})}},y1e=class{constructor(e,t){Z(this,"featureName",KA.name);Z(this,"to",ye(async(e,t,a,r)=>await this.conditions.getClaimTransaction(e,t,a,r)));this.contractWrapper=e,this.storage=t;let a=new Bn(this.contractWrapper,dp,this.storage);this.conditions=new WA(e,a,this.storage)}},jA=class{constructor(e,t,a){Z(this,"featureName",YA.name);Z(this,"mint",ye(async e=>{let t=e.payload,a=e.signature,[r,i]=await Promise.all([this.mapPayloadToContractStruct(t),this.contractWrapper.getCallOverrides()]);return await Go(this.contractWrapper,r.pricePerToken.mul(r.quantity),t.currencyAddress,i),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:i,parse:s=>{let f=this.contractWrapper.parseLogs("TokensMintedWithSignature",s.logs);if(f.length===0)throw new Error("No MintWithSignature event found");return{id:f[0].args.tokenIdMinted,receipt:s}}})}));Z(this,"mintBatch",ye(async e=>{let t=await Promise.all(e.map(s=>this.mapPayloadToContractStruct(s.payload))),a=e.map((s,f)=>{let o=t[f],c=s.signature,d=s.payload.price;if(aa.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new r0(this.contractWrapper),i=a.map(s=>r.encode("mintWithSignature",[s.message,s.signature]));if(cr("multicall",this.contractWrapper))return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>{let f=this.contractWrapper.parseLogs("TokensMintedWithSignature",s.logs);if(f.length===0)throw new Error("No MintWithSignature event found");return f.map(o=>({id:o.args.tokenIdMinted,receipt:s}))}});throw new Error("Multicall not supported on this contract!")}));this.contractWrapper=e,this.storage=t,this.roles=a}async verify(e){let t=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(t);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){let t={...e,tokenId:aa.constants.MaxUint256};return this.generateFromTokenId(t)}async generateFromTokenId(e){return(await this.generateBatchFromTokenIds([e]))[0]}async generateBatch(e){let t=e.map(a=>({...a,tokenId:aa.constants.MaxUint256}));return this.generateBatchFromTokenIds(t)}async generateBatchFromTokenIds(e){let t=this.contractWrapper.getSigner();at(t,"No signer available"),await this.roles?.verify(["minter"],await t.getAddress());let a=await Promise.all(e.map(y=>R0t.parseAsync(y))),r=a.map(y=>y.metadata),[i,s,f]=await Promise.all([ip(r,this.storage),this.contractWrapper.getChainID(),WH(this.contractWrapper.address,this.contractWrapper.getProvider())]),o=await Promise.all(a.map((y,h)=>L0t.parseAsync({...y,uri:i[h]}))),c=await Promise.all(o.map(y=>this.mapPayloadToContractStruct(y))),d=f?.type==="TokenERC1155";return(await Promise.all(c.map(y=>this.contractWrapper.signTypedData(t,{name:d?"TokenERC1155":"SignatureMintERC1155",version:"1",chainId:s,verifyingContract:this.contractWrapper.address},{MintRequest:O0t},y)))).map((y,h)=>({payload:o[h],signature:y.toString()}))}async mapPayloadToContractStruct(e){let t=await Gn(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,tokenId:e.tokenId,uri:e.uri,quantity:e.quantity,pricePerToken:t,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}},m1e=class{constructor(e){Z(this,"featureName",h3.name);Z(this,"tokens",ye(async(e,t)=>{let a=await this.contractWrapper.getSignerAddress();return this.from.prepare(a,e,t)}));Z(this,"from",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await Pe(e),t,a]})));Z(this,"batch",ye(async(e,t)=>{let a=await this.contractWrapper.getSignerAddress();return this.batchFrom.prepare(a,e,t)}));Z(this,"batchFrom",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnBatch",args:[await Pe(e),t,a]})));this.contractWrapper=e}},b1e=class{constructor(e,t){Z(this,"featureName",v3.name);this.erc1155=e,this.contractWrapper=t}async all(e){let t=aa.BigNumber.from(e?.start||0).toNumber(),a=aa.BigNumber.from(e?.count||Ts).toNumber(),r=Math.min((await this.totalCount()).toNumber(),t+a);return await Promise.all([...Array(r-t).keys()].map(i=>this.erc1155.get((t+i).toString())))}async totalCount(){return await this.contractWrapper.read("nextTokenIdToMint",[])}async totalCirculatingSupply(e){return await this.contractWrapper.read("totalSupply",[e])}async owned(e,t){let[a,r]=await Promise.all([Pe(e||await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("nextTokenIdToMint",[])]),s=(await this.contractWrapper.read("balanceOfBatch",[Array(r.toNumber()).fill(a),Array.from(Array(r.toNumber()).keys())])).map((o,c)=>({tokenId:c,balance:o})).filter(o=>o.balance.gt(0));if(t){let o=t?.start||0,c=t?.count||Ts;s=s.slice(o,o+c)}return(await Promise.all(s.map(o=>this.erc1155.get(o.tokenId.toString())))).map((o,c)=>({...o,owner:a,quantityOwned:s[c].balance.toString()}))}},h1e=class{constructor(e,t,a){Z(this,"featureName",QA.name);Z(this,"lazyMint",ye(async(e,t)=>{let a=await this.erc1155.nextTokenIdToMint(),r=await ip(e,this.storage,a.toNumber(),t),i=r[0].substring(0,r[0].lastIndexOf("/"));for(let o=0;o{let c=this.contractWrapper.parseLogs("TokensLazyMinted",o?.logs),d=c[0].args.startTokenId,l=c[0].args.endTokenId,y=[];for(let h=d;h.lte(l);h=h.add(1))y.push({id:h,receipt:o,data:()=>this.erc1155.getTokenMetadata(h)});return y},f=await WH(this.contractWrapper.address,this.contractWrapper.getProvider());return this.isLegacyEditionDropContract(this.contractWrapper,f)?De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${i.endsWith("/")?i:`${i}/`}`],parse:s}):De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,`${i.endsWith("/")?i:`${i}/`}`,aa.utils.toUtf8Bytes("")],parse:s})}));Z(this,"updateMetadata",ye(async(e,t,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let i=aa.BigNumber.from(e),s=aa.BigNumber.from(0),f=aa.BigNumber.from(0),o=0;for(let T=0;TA+s.toNumber()),d=await Promise.all(c.map(T=>this.erc1155.getTokenMetadata(T))),l=[];for(let T=0;Tthis.erc1155.nextTokenIdToMint())}isLegacyEditionDropContract(e,t){return t&&t.type==="DropERC1155"&&t.version<3||!1}},g1e=class{constructor(e,t,a){Z(this,"featureName",JA.name);Z(this,"to",ye(async(e,t)=>{let a=t.map(c=>c.metadata),r=t.map(c=>c.supply),i=await ip(a,this.storage),s=await Pe(e),f=new r0(this.contractWrapper),o=await Promise.all(i.map(async(c,d)=>f.encode("mintTo",[s,aa.constants.MaxUint256,c,r[d]])));return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[o],parse:c=>{let d=this.contractWrapper.parseLogs("TokensMinted",c.logs);if(d.length===0||d.length{let y=l.args.tokenIdMinted;return{id:y,receipt:c,data:()=>this.erc1155.get(y)}})}})}));this.erc1155=e,this.contractWrapper=t,this.storage=a}},v1e=class{constructor(e,t,a){Z(this,"featureName",g3.name);Z(this,"to",ye(async(e,t)=>{let a=await this.getMintTransaction(e,t);return a.setParse(r=>{let i=this.contractWrapper.parseLogs("TransferSingle",r?.logs);if(i.length===0)throw new Error("TransferSingleEvent event not found");let s=i[0].args.id;return{id:s,receipt:r,data:()=>this.erc1155.get(s.toString())}}),a}));Z(this,"additionalSupplyTo",ye(async(e,t,a)=>{let r=await this.erc1155.getTokenMetadata(t);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Pe(e),t,r.uri,a],parse:i=>({id:aa.BigNumber.from(t),receipt:i,data:()=>this.erc1155.get(t)})})}));this.erc1155=e,this.contractWrapper=t,this.storage=a,this.batch=this.detectErc1155BatchMintable()}async getMintTransaction(e,t){let a=await my(t.metadata,this.storage);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[await Pe(e),aa.constants.MaxUint256,a,t.supply]})}detectErc1155BatchMintable(){if(gt(this.contractWrapper,"ERC1155BatchMintable"))return new g1e(this.erc1155,this.contractWrapper,this.storage)}},bw=class{constructor(e,t,a){Z(this,"featureName",gw.name);Z(this,"transfer",ye((()=>{var e=this;return async function(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],s=await e.contractWrapper.getSignerAddress();return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[s,await Pe(t),a,r,i]})}})()));Z(this,"transferBatch",ye((()=>{var e=this;return async function(t,a,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0],f=i?await Pe(i):await e.contractWrapper.getSignerAddress();return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeBatchTransferFrom",args:[f,await Pe(t),a,r,s]})}})()));Z(this,"transferFrom",ye((()=>{var e=this;return async function(t,a,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"safeTransferFrom",args:[await Pe(t),await Pe(a),r,i,s]})}})()));Z(this,"setApprovalForAll",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[e,t]})));Z(this,"airdrop",ye((()=>{var e=this;return async function(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0],s=r?await Pe(r):await e.contractWrapper.getSignerAddress(),f=await e.balanceOf(s,t),o=await Otn.parseAsync(a),c=o.reduce((y,h)=>aa.BigNumber.from(y).add(aa.BigNumber.from(h?.quantity||1)),aa.BigNumber.from(0));if(f.lt(aa.BigNumber.from(c)))throw new Error(`The caller owns ${f.toString()} NFTs, but wants to airdrop ${c.toString()} NFTs.`);let d=new r0(e.contractWrapper),l=o.map(y=>{let{address:h,quantity:T}=y;return d.encode("safeTransferFrom",[s,h,t,T,i])});return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[l]})}})()));Z(this,"mint",ye(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));Z(this,"mintTo",ye(async(e,t)=>Rt(this.mintable,g3).to.prepare(e,t)));Z(this,"mintAdditionalSupply",ye(async(e,t)=>Rt(this.mintable,g3).additionalSupplyTo.prepare(await this.contractWrapper.getSignerAddress(),e,t)));Z(this,"mintAdditionalSupplyTo",ye(async(e,t,a)=>Rt(this.mintable,g3).additionalSupplyTo.prepare(e,t,a)));Z(this,"mintBatch",ye(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));Z(this,"mintBatchTo",ye(async(e,t)=>Rt(this.mintable?.batch,JA).to.prepare(e,t)));Z(this,"burn",ye(async(e,t)=>Rt(this.burnable,h3).tokens.prepare(e,t)));Z(this,"burnFrom",ye(async(e,t,a)=>Rt(this.burnable,h3).from.prepare(e,t,a)));Z(this,"burnBatch",ye(async(e,t)=>Rt(this.burnable,h3).batch.prepare(e,t)));Z(this,"burnBatchFrom",ye(async(e,t,a)=>Rt(this.burnable,h3).batchFrom.prepare(e,t,a)));Z(this,"lazyMint",ye(async(e,t)=>Rt(this.lazyMintable,QA).lazyMint.prepare(e,t)));Z(this,"updateMetadata",ye(async(e,t)=>{if(this.lazyMintable)return this.lazyMintable.updateMetadata.prepare(e,t);if(gt(this.contractWrapper,"ERC1155UpdatableMetadata")){let a=await this.storage.upload(t);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}else throw new L1(jH)}));Z(this,"claim",ye(async(e,t,a)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,t,a)));Z(this,"claimTo",ye(async(e,t,a,r)=>{let i=this.claimWithConditions,s=this.claimCustom;if(i)return i.to.prepare(e,t,a,r);if(s)return s.to.prepare(e,t,a,r);throw new L1(hw)}));this.contractWrapper=e,this.storage=t,this.query=this.detectErc1155Enumerable(),this.mintable=this.detectErc1155Mintable(),this.burnable=this.detectErc1155Burnable(),this.lazyMintable=this.detectErc1155LazyMintable(),this.signatureMintable=this.detectErc1155SignatureMintable(),this.claimCustom=this.detectErc1155Claimable(),this.claimWithConditions=this.detectErc1155ClaimableWithConditions(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[t,a]=await Promise.all([this.contractWrapper.read("totalSupply",[e]).catch(()=>aa.BigNumber.from(0)),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...rw}))]);return{owner:aa.constants.AddressZero,metadata:a,type:"ERC1155",supply:t.toString()}}async totalSupply(e){if(gt(this.contractWrapper,"ERC1155Supply"))return await this.contractWrapper.read("totalSupply",[e]);throw new L1(GH)}async balanceOf(e,t){return await this.contractWrapper.read("balanceOf",[await Pe(e),t])}async balance(e){return await this.balanceOf(await this.contractWrapper.getSignerAddress(),e)}async isApproved(e,t){return await this.contractWrapper.read("isApprovedForAll",[await Pe(e),await Pe(t)])}async nextTokenIdToMint(){if(cr("nextTokenIdToMint",this.contractWrapper))return await this.contractWrapper.read("nextTokenIdToMint",[]);throw new Error("Contract requires the `nextTokenIdToMint` function available to determine the next token ID to mint")}async getAll(e){return Rt(this.query,v3).all(e)}async totalCount(){return Rt(this.query,v3).totalCount()}async totalCirculatingSupply(e){return Rt(this.query,v3).totalCirculatingSupply(e)}async getOwned(e,t){return e&&(e=await Pe(e)),Rt(this.query,v3).owned(e,t)}async getMintTransaction(e,t){return Rt(this.mintable,g3).getMintTransaction(e,t)}async getClaimTransaction(e,t,a,r){let i=this.claimWithConditions,s=this.claimCustom;if(i)return i.conditions.getClaimTransaction(e,t,a,r);if(s)return s.getClaimTransaction(e,t,a,r);throw new L1(hw)}get claimConditions(){return Rt(this.claimWithConditions,KA).conditions}get signature(){return Rt(this.signatureMintable,YA)}get revealer(){return Rt(this.lazyMintable?.revealer,P7)}async getTokenMetadata(e){let t=await this.contractWrapper.read("uri",[e]);if(!t)throw new R7;return OA(e,t,this.storage)}detectErc1155Enumerable(){if(gt(this.contractWrapper,"ERC1155Enumerable"))return new b1e(this,this.contractWrapper)}detectErc1155Mintable(){if(gt(this.contractWrapper,"ERC1155Mintable"))return new v1e(this,this.contractWrapper,this.storage)}detectErc1155Burnable(){if(gt(this.contractWrapper,"ERC1155Burnable"))return new m1e(this.contractWrapper)}detectErc1155LazyMintable(){if(gt(this.contractWrapper,"ERC1155LazyMintableV1")||gt(this.contractWrapper,"ERC1155LazyMintableV2"))return new h1e(this,this.contractWrapper,this.storage)}detectErc1155SignatureMintable(){if(gt(this.contractWrapper,"ERC1155SignatureMintable"))return new jA(this.contractWrapper,this.storage)}detectErc1155Claimable(){if(gt(this.contractWrapper,"ERC1155ClaimCustom"))return new u1e(this.contractWrapper)}detectErc1155ClaimableWithConditions(){if(gt(this.contractWrapper,"ERC1155ClaimConditionsV1")||gt(this.contractWrapper,"ERC1155ClaimConditionsV2")||gt(this.contractWrapper,"ERC1155ClaimPhasesV1")||gt(this.contractWrapper,"ERC1155ClaimPhasesV2"))return new y1e(this.contractWrapper,this.storage)}}});var T3,KH=ce(()=>{"use strict";p();u();Ia();GA();T3=class{constructor(e,t,a){Z(this,"transfer",ye((()=>{var e=this;return async function(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.transfer.prepare(t,a,r,i)}})()));Z(this,"transferBatch",ye((()=>{var e=this;return async function(t,a,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[0];return e.erc1155.transferBatch.prepare(t,a,r,i,s)}})()));Z(this,"setApprovalForAll",ye(async(e,t)=>this.erc1155.setApprovalForAll.prepare(e,t)));Z(this,"airdrop",ye((()=>{var e=this;return async function(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[0];return e.erc1155.airdrop.prepare(t,a,r,i)}})()));this.contractWrapper=e,this.storage=t,this.erc1155=new bw(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){return this.erc1155.get(e)}async totalSupply(e){return this.erc1155.totalSupply(e)}async balanceOf(e,t){return this.erc1155.balanceOf(e,t)}async balance(e){return this.erc1155.balance(e)}async isApproved(e,t){return this.erc1155.isApproved(e,t)}}});function Utn(n){return at(n in W0t,`chainId not supported by paper: ${n}`),W0t[n]}async function qtn(n,e){let t=Utn(e),r=await(await fetch(`${j0t}/register-contract?contractAddress=${n}&chain=${t}`)).json();return at(r.result.id,"Contract is not registered with paper"),r.result.id}async function ztn(n,e){let a=await(await fetch(`${j0t}/checkout-link-intent`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contractId:n,...Htn,...e,metadata:{...e.metadata,via_platform:"thirdweb"},hideNativeMint:!0,hidePaperWallet:!!e.walletAddress,hideExternalWallet:!0,hidePayWithCrypto:!0,usePaperKey:!1})})).json();return at(a.checkoutLinkIntentUrl,"Failed to create checkout link intent"),a.checkoutLinkIntentUrl}var Vtn,$tn,j0t,W0t,Htn,_3,QH=ce(()=>{"use strict";p();u();sn();Ga();Vtn="https://paper.xyz/api",$tn="2022-08-12",j0t=`${Vtn}/${$tn}/platform/thirdweb`,W0t={[yt.Mainnet]:"Ethereum",[yt.Goerli]:"Goerli",[yt.Polygon]:"Polygon",[yt.Mumbai]:"Mumbai",[yt.Avalanche]:"Avalanche"};Htn={expiresInMinutes:15,feeBearer:"BUYER",sendEmailOnSuccess:!0,redirectAfterPayment:!1};_3=class{constructor(e){this.contractWrapper=e}async getCheckoutId(){return qtn(this.contractWrapper.address,await this.contractWrapper.getChainID())}async isEnabled(){try{return!!await this.getCheckoutId()}catch{return!1}}async createLinkIntent(e){return await ztn(await this.getCheckoutId(),e)}}});var G0t={};jt(G0t,{EditionDrop:()=>_1e});var JH,Wba,jba,Kba,T1e,YH,_1e,K0t=ce(()=>{"use strict";p();u();JH=Te(Ue());sn();Ia();hi();Qa();M1();op();cp();Dc();hy();GA();KH();QH();Ga();Wba=Te(Dr()),jba=Te(zf());Ot();Kba=Te(Cc()),T1e=class{constructor(e){this.events=e}async getAllClaimerAddresses(e){let t=(await this.events.getEvents("TokensClaimed")).filter(a=>a.data&&JH.BigNumber.isBigNumber(a.data.tokenId)?a.data.tokenId.eq(e):!1);return Array.from(new Set(t.filter(a=>typeof a.data?.claimer=="string").map(a=>a.data.claimer)))}},YH=class YH extends T3{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"createBatch",ye(async(t,a)=>this.erc1155.lazyMint.prepare(t,a)));Z(this,"claimTo",ye((()=>{var t=this;return async function(a,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return t.erc1155.claimTo.prepare(a,r,i,{checkERC20Allowance:s})}})()));Z(this,"claim",ye((()=>{var t=this;return async function(a,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=await t.contractWrapper.getSignerAddress();return t.claimTo.prepare(s,a,r,i)}})()));Z(this,"burnTokens",ye(async(t,a)=>this.erc1155.burn.prepare(t,a)));this.abi=p0.parse(s),this.metadata=new Bn(this.contractWrapper,XH,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,YH.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.sales=new mf(this.contractWrapper),this.claimConditions=new WA(this.contractWrapper,this.metadata,this.storage),this.events=new xn(this.contractWrapper),this.history=new T1e(this.events),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.checkout=new _3(this.contractWrapper),this.owner=new yf(this.contractWrapper)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t)}getAddress(){return this.contractWrapper.address}async getAll(t){return this.erc1155.getAll(t)}async getOwned(t,a){return this.erc1155.getOwned(t,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),JH.constants.AddressZero])}async getClaimTransaction(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return this.erc1155.getClaimTransaction(t,a,r,{checkERC20Allowance:i})}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(YH,"contractRoles",bf);_1e=YH});var Q0t=B((Xba,Wtn)=>{Wtn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop1155.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Y0t=B((Zba,jtn)=>{jtn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getActiveClaimConditionId",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipient",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setSaleRecipientForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"_tokenURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"SaleRecipientForTokenUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"saleRecipient",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!1,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"tokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var X0t={};jt(X0t,{Edition:()=>w1e});var J0t,pha,uha,mha,ZH,w1e,Z0t=ce(()=>{"use strict";p();u();J0t=Te(Ue());sn();Ia();hi();Qa();M1();op();cp();Dc();hy();GA();KH();Ga();pha=Te(Dr()),uha=Te(zf());Ot();mha=Te(Cc()),ZH=class ZH extends T3{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"mint",ye(async t=>this.erc1155.mint.prepare(t)));Z(this,"mintTo",ye(async(t,a)=>this.erc1155.mintTo.prepare(t,a)));Z(this,"mintAdditionalSupply",ye(async(t,a)=>this.erc1155.mintAdditionalSupply.prepare(t,a)));Z(this,"mintAdditionalSupplyTo",ye(async(t,a,r)=>this.erc1155.mintAdditionalSupplyTo.prepare(t,a,r)));Z(this,"mintBatch",ye(async t=>this.erc1155.mintBatch.prepare(t)));Z(this,"mintBatchTo",ye(async(t,a)=>this.erc1155.mintBatchTo.prepare(t,a)));Z(this,"burn",ye(async(t,a)=>this.erc1155.burn.prepare(t,a)));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,ez,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,ZH.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.sales=new mf(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.signature=new jA(this.contractWrapper,this.storage,this.roles),this.owner=new yf(this.contractWrapper)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t)}getAddress(){return this.contractWrapper.address}async getAll(t){return this.erc1155.getAll(t)}async getOwned(t,a){return this.erc1155.getOwned(t,a)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),J0t.constants.AddressZero])}async getMintTransaction(t,a){return this.erc1155.getMintTransaction(t,a)}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(ZH,"contractRoles",bf);w1e=ZH});var ent=B((vha,Gtn)=>{Gtn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnBatch",inputs:[{name:"account",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"},{name:"_amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"saleRecipientForToken",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC1155.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});async function $5(n,e,t,a,r){try{let i=(await Promise.resolve().then(()=>Te(aw()))).default,s=new vy.Contract(t,i,n),[f,o]=await Promise.all([s.supportsInterface(p3),s.supportsInterface(u3)]);if(f){let c=(await Promise.resolve().then(()=>Te(y_()))).default,d=new vy.Contract(t,c,n);if(await d.isApprovedForAll(r,e))return!0;let y;try{y=await d.getApproved(a)}catch{}return y?.toLowerCase()===e.toLowerCase()}else if(o){let c=(await Promise.resolve().then(()=>Te(m_()))).default;return await new vy.Contract(t,c,n).isApprovedForAll(r,e)}else return console.error("Contract does not implement ERC 1155 or ERC 721."),!1}catch(i){return console.error("Failed to check if token is approved",i),!1}}async function w3(n,e,t,a,r){let i=(await Promise.resolve().then(()=>Te(aw()))).default,s=new f0(n.getSignerOrProvider(),t,i,n.options,n.storage),[f,o]=await Promise.all([s.read("supportsInterface",[p3]),s.read("supportsInterface",[u3])]);if(f){let c=(await Promise.resolve().then(()=>Te(y_()))).default,d=new f0(n.getSignerOrProvider(),t,c,n.options,n.storage);await d.read("isApprovedForAll",[r,e])||(await d.read("getApproved",[a])).toLowerCase()===e.toLowerCase()||await d.sendTransaction("setApprovalForAll",[e,!0])}else if(o){let c=(await Promise.resolve().then(()=>Te(m_()))).default,d=new f0(n.getSignerOrProvider(),t,c,n.options,n.storage);await d.read("isApprovedForAll",[r,e])||await d.sendTransaction("setApprovalForAll",[e,!0])}else throw Error("Contract must implement ERC 1155 or ERC 721.")}function x1e(n){switch(at(n.assetContractAddress!==void 0&&n.assetContractAddress!==null,"Asset contract address is required"),at(n.buyoutPricePerToken!==void 0&&n.buyoutPricePerToken!==null,"Buyout price is required"),at(n.listingDurationInSeconds!==void 0&&n.listingDurationInSeconds!==null,"Listing duration is required"),at(n.startTimestamp!==void 0&&n.startTimestamp!==null,"Start time is required"),at(n.tokenId!==void 0&&n.tokenId!==null,"Token ID is required"),at(n.quantity!==void 0&&n.quantity!==null,"Quantity is required"),n.type){case"NewAuctionListing":at(n.reservePricePerToken!==void 0&&n.reservePricePerToken!==null,"Reserve price is required")}}async function tz(n,e,t){return{quantity:t.quantityDesired,pricePerToken:t.pricePerToken,currencyContractAddress:t.currency,buyerAddress:t.offeror,quantityDesired:t.quantityWanted,currencyValue:await Va(n,t.currency,t.quantityWanted.mul(t.pricePerToken)),listingId:e}}function tnt(n,e,t){return t=vy.BigNumber.from(t),n=vy.BigNumber.from(n),e=vy.BigNumber.from(e),n.eq(vy.BigNumber.from(0))?!1:e.sub(n).mul(I1e).div(n).gte(t)}async function L7(n,e,t){let a=[];for(;e-n>Ts;)a.push(t(n,n+Ts-1)),n+=Ts;return a.push(t(n,e-1)),await Promise.all(a)}var vy,XA=ce(()=>{"use strict";p();u();vy=Te(Ue());Ga();sp();sn();Qa()});function M7(n){return ai(n)?ri:n}var E1e=ce(()=>{"use strict";p();u();sn();Qa()});var Ko,nnt=ce(()=>{"use strict";p();u();Ko=function(n){return n[n.Direct=0]="Direct",n[n.Auction=1]="Auction",n}({})});var ant={};jt(ant,{Marketplace:()=>S1e});var i0,Qha,Yha,D1e,C1e,nz,S1e,rnt=ce(()=>{"use strict";p();u();i0=Te(Ue());Ga();sp();Qa();sn();XA();Ia();hi();M1();cp();Dc();E1e();M6();F5();nnt();Qha=Te(Dr()),Yha=Te(zf());Ot();D1e=class{constructor(e,t){Z(this,"createListing",ye(async e=>{x1e(e);let t=await Pe(e.assetContractAddress),a=await Pe(e.currencyContractAddress);await w3(this.contractWrapper,this.getAddress(),t,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await Gn(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),i=await Gn(this.contractWrapper.getProvider(),e.reservePricePerToken,a),s=Math.floor(e.startTimestamp.getTime()/1e3),o=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;s({id:this.contractWrapper.parseLogs("ListingAdded",d?.logs)[0].args.listingId,receipt:d})});return c.setGasLimitMultiple(1.2),c}));Z(this,"createListingsBatch",ye(async e=>{let t=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[t],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(s=>({id:s.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));Z(this,"buyoutListing",ye(async e=>{let t=await this.validateListing(i0.BigNumber.from(e)),a=await vs(this.contractWrapper.getProvider(),t.currencyContractAddress);return this.makeBid.prepare(e,i0.utils.formatUnits(t.buyoutPrice,a.decimals))}));Z(this,"makeBid",ye(async(e,t)=>{let a=await this.validateListing(i0.BigNumber.from(e)),r=await Gn(this.contractWrapper.getProvider(),t,a.currencyContractAddress);if(r.eq(i0.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");let i=await this.contractWrapper.read("bidBufferBps",[]),s=await this.getWinningBid(e);if(s){let l=tnt(s.pricePerToken,r,i);at(l,"Bid price is too low based on the current winning bid and the bid buffer")}else{let l=r,y=i0.BigNumber.from(a.reservePrice);at(l.gte(y),"Bid price is too low based on reserve price")}let f=i0.BigNumber.from(a.quantity),o=r.mul(f),c=await this.contractWrapper.getCallOverrides()||{};await Go(this.contractWrapper,o,a.currencyContractAddress,c);let d=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,a.quantity,a.currencyContractAddress,r,i0.constants.MaxUint256],overrides:c});return d.setGasLimitMultiple(1.2),d}));Z(this,"cancelListing",ye(async e=>{let t=await this.validateListing(i0.BigNumber.from(e)),a=i0.BigNumber.from(Math.floor(Date.now()/1e3)),r=i0.BigNumber.from(t.startTimeInEpochSeconds),i=await this.contractWrapper.read("winningBid",[e]);if(a.gt(r)&&i.offeror!==i0.constants.AddressZero)throw new ZA(e.toString());let s=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[i0.BigNumber.from(e),await this.contractWrapper.getSignerAddress()]});return s.setGasLimitMultiple(1.2),s}));Z(this,"closeListing",ye(async(e,t)=>{t||(t=await this.contractWrapper.getSignerAddress());let a=await this.validateListing(i0.BigNumber.from(e));try{let r=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"closeAuction",args:[i0.BigNumber.from(e),t]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("cannot close auction before it has ended")?new q5(e.toString(),a.endTimeInEpochSeconds.toString()):r}}));Z(this,"executeSale",ye(async e=>{let t=await this.validateListing(i0.BigNumber.from(e));try{let a=await this.getWinningBid(e);at(a,"No winning bid found");let r=this.encoder.encode("closeAuction",[e,t.sellerAddress]),i=this.encoder.encode("closeAuction",[e,a.buyerAddress]),s=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r,i]});return s.setGasLimitMultiple(1.2),s}catch(a){throw a.message.includes("cannot close auction before it has ended")?new q5(e.toString(),t.endTimeInEpochSeconds.toString()):a}}));Z(this,"updateListing",ye(async e=>{let t=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.reservePrice,e.buyoutPrice,e.currencyContractAddress,e.startTimeInEpochSeconds,e.endTimeInEpochSeconds]});return t.setGasLimitMultiple(1.2),t}));this.contractWrapper=e,this.storage=t,this.encoder=new r0(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let t=await this.contractWrapper.read("listings",[e]);if(t.listingId.toString()!==e.toString())throw new U5(this.getAddress(),e.toString());if(t.listingType!==Ko.Auction)throw new vw(this.getAddress(),e.toString(),"Direct","Auction");return await this.mapListing(t)}async getWinningBid(e){await this.validateListing(i0.BigNumber.from(e));let t=await this.contractWrapper.read("winningBid",[e]);if(t.offeror!==i0.constants.AddressZero)return await tz(this.contractWrapper.getProvider(),i0.BigNumber.from(e),t)}async getWinner(e){let t=await this.validateListing(i0.BigNumber.from(e)),a=await this.contractWrapper.read("winningBid",[e]),r=i0.BigNumber.from(Math.floor(Date.now()/1e3)),i=i0.BigNumber.from(t.endTimeInEpochSeconds);if(r.gt(i)&&a.offeror!==i0.constants.AddressZero)return a.offeror;let o=(await new xn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.listingId.eq(i0.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with listingId ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getMinimumNextBid(e){let[t,a,r]=await Promise.all([this.getBidBufferBps(),this.getWinningBid(e),this.validateListing(i0.BigNumber.from(e))]),i=a?a.currencyValue.value:r.reservePrice,s=i.add(i.mul(t).div(1e4));return Va(this.contractWrapper.getProvider(),r.currencyContractAddress,s)}async validateListing(e){try{return await this.getListing(e)}catch(t){throw console.error(`Error getting the listing with id ${e}`),t}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:i0.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Va(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInEpochSeconds:e.startTime,asset:await yy(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),reservePriceCurrencyValuePerToken:await Va(this.contractWrapper.getProvider(),e.currency,e.reservePricePerToken),reservePrice:i0.BigNumber.from(e.reservePricePerToken),endTimeInEpochSeconds:e.endTime,sellerAddress:e.tokenOwner,type:Ko.Auction}}},C1e=class{constructor(e,t){Z(this,"createListing",ye(async e=>{x1e(e);let t=await Pe(e.assetContractAddress),a=await Pe(e.currencyContractAddress);await w3(this.contractWrapper,this.getAddress(),t,e.tokenId,await this.contractWrapper.getSignerAddress());let r=await Gn(this.contractWrapper.getProvider(),e.buyoutPricePerToken,a),i=Math.floor(e.startTimestamp.getTime()/1e3),f=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;i({id:this.contractWrapper.parseLogs("ListingAdded",c?.logs)[0].args.listingId,receipt:c})});return o.setGasLimitMultiple(1.2),o}));Z(this,"createListingsBatch",ye(async e=>{let t=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[t],parse:r=>this.contractWrapper.parseLogs("ListingAdded",r?.logs).map(s=>({id:s.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));Z(this,"makeOffer",ye(async(e,t,a,r,i)=>{if(ai(a))throw new Error("You must use the wrapped native token address when making an offer with a native token");let s=await Gn(this.contractWrapper.getProvider(),r,a);try{await this.getListing(e)}catch(y){throw console.error("Failed to get listing, err =",y),new Error(`Error getting the listing with id ${e}`)}let f=i0.BigNumber.from(t),o=i0.BigNumber.from(s).mul(f),c=await this.contractWrapper.getCallOverrides()||{};await Go(this.contractWrapper,o,a,c);let d=i0.constants.MaxUint256;i&&(d=i0.BigNumber.from(Math.floor(i.getTime()/1e3)));let l=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"offer",args:[e,t,a,s,d],overrides:c});return l.setGasLimitMultiple(1.2),l}));Z(this,"acceptOffer",ye(async(e,t)=>{await this.validateListing(i0.BigNumber.from(e));let a=await Pe(t),r=await this.contractWrapper.read("offers",[e,a]),i=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e,a,r.currency,r.pricePerToken]});return i.setGasLimitMultiple(1.2),i}));Z(this,"buyoutListing",ye(async(e,t,a)=>{let r=await this.validateListing(i0.BigNumber.from(e)),{valid:i,error:s}=await this.isStillValidListing(r,t);if(!i)throw new Error(`Listing ${e} is no longer valid. ${s}`);let f=a||await this.contractWrapper.getSignerAddress(),o=i0.BigNumber.from(t),c=i0.BigNumber.from(r.buyoutPrice).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await Go(this.contractWrapper,c,r.currencyContractAddress,d);let l=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buy",args:[e,f,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));Z(this,"updateListing",ye(async e=>{let t=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e.id,e.quantity,e.buyoutPrice,e.buyoutPrice,await Pe(e.currencyContractAddress),e.startTimeInSeconds,e.secondsUntilEnd]});return t.setGasLimitMultiple(1.2),t}));Z(this,"cancelListing",ye(async e=>{let t=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelDirectListing",args:[e]});return t.setGasLimitMultiple(1.2),t}));this.contractWrapper=e,this.storage=t}getAddress(){return this.contractWrapper.address}async getListing(e){let t=await this.contractWrapper.read("listings",[e]);if(t.assetContract===i0.constants.AddressZero)throw new U5(this.getAddress(),e.toString());if(t.listingType!==Ko.Direct)throw new vw(this.getAddress(),e.toString(),"Auction","Direct");return await this.mapListing(t)}async getActiveOffer(e,t){await this.validateListing(i0.BigNumber.from(e)),at(i0.utils.isAddress(t),"Address must be a valid address");let a=await this.contractWrapper.read("offers",[e,await Pe(t)]);if(a.offeror!==i0.constants.AddressZero)return await tz(this.contractWrapper.getProvider(),i0.BigNumber.from(e),a)}async validateListing(e){try{return await this.getListing(e)}catch(t){throw console.error(`Error getting the listing with id ${e}`),t}}async mapListing(e){return{assetContractAddress:e.assetContract,buyoutPrice:i0.BigNumber.from(e.buyoutPricePerToken),currencyContractAddress:e.currency,buyoutCurrencyValuePerToken:await Va(this.contractWrapper.getProvider(),e.currency,e.buyoutPricePerToken),id:e.listingId.toString(),tokenId:e.tokenId,quantity:e.quantity,startTimeInSeconds:e.startTime,asset:await yy(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),secondsUntilEnd:e.endTime,sellerAddress:e.tokenOwner,type:Ko.Direct}}async isStillValidListing(e,t){if(!await $5(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.sellerAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Te(aw()))).default,s=new i0.Contract(e.assetContractAddress,i,r),f=await s.supportsInterface(p3),o=await s.supportsInterface(u3);if(f){let c=(await Promise.resolve().then(()=>Te(y_()))).default,d=new i0.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let y=l?.toLowerCase()===e.sellerAddress.toLowerCase();return{valid:y,error:y?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Te(m_()))).default,y=(await new i0.Contract(e.assetContractAddress,c,r).balanceOf(e.sellerAddress,e.tokenId)).gte(t||e.quantity);return{valid:y,error:y?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}},nz=class nz{constructor(e,t,a){Z(this,"getAll",this.getAllListings);Z(this,"buyoutListing",ye(async(e,t,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new U5(this.getAddress(),e.toString());switch(r.listingType){case Ko.Direct:return at(t!==void 0,"quantityDesired is required when buying out a direct listing"),await this.direct.buyoutListing.prepare(e,t,a);case Ko.Auction:return await this.auction.buyoutListing.prepare(e);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));Z(this,"makeOffer",ye(async(e,t,a)=>{let r=await this.contractWrapper.read("listings",[e]);if(r.listingId.toString()!==e.toString())throw new U5(this.getAddress(),e.toString());let i=await this.contractWrapper.getChainID();switch(r.listingType){case Ko.Direct:return at(a,"quantity is required when making an offer on a direct listing"),await this.direct.makeOffer.prepare(e,a,ai(r.currency)?x3[i].wrapped.address:r.currency,t);case Ko.Auction:return await this.auction.makeBid.prepare(e,t);default:throw Error(`Unknown listing type: ${r.listingType}`)}}));Z(this,"setBidBufferBps",ye(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let t=await this.getTimeBufferInSeconds();return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[t,i0.BigNumber.from(e)]})}));Z(this,"setTimeBufferInSeconds",ye(async e=>{await this.roles.verify(["admin"],await this.contractWrapper.getSignerAddress());let t=await this.getBidBufferBps();return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setAuctionBuffers",args:[i0.BigNumber.from(e),t]})}));Z(this,"allowListingFromSpecificAssetOnly",ye(async e=>{let t=[];return(await this.roles.get("asset")).includes(i0.constants.AddressZero)&&t.push(this.encoder.encode("revokeRole",[Ya("asset"),i0.constants.AddressZero])),t.push(this.encoder.encode("grantRole",[Ya("asset"),e])),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[t]})}));Z(this,"allowListingFromAnyAsset",ye(async()=>{let e=[],t=await this.roles.get("asset");for(let a in t)e.push(this.encoder.encode("revokeRole",[Ya("asset"),a]));return e.push(this.encoder.encode("grantRole",[Ya("asset"),i0.constants.AddressZero])),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[e]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(e,t,i,r,a);this._chainId=s,this.abi=p0.parse(i||[]),this.contractWrapper=f,this.storage=a,this.metadata=new Bn(this.contractWrapper,B7,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,nz.contractRoles),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.direct=new C1e(this.contractWrapper,this.storage),this.auction=new D1e(this.contractWrapper,this.storage),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getListing(e){let t=await this.contractWrapper.read("listings",[e]);if(t.assetContract===i0.constants.AddressZero)throw new U5(this.getAddress(),e.toString());switch(t.listingType){case Ko.Auction:return await this.auction.mapListing(t);case Ko.Direct:return await this.direct.mapListing(t);default:throw new Error(`Unknown listing type: ${t.listingType}`)}}async getActiveListings(e){let t=await this.getAllListingsNoFilter(!0),a=this.applyFilter(t,e),r=i0.BigNumber.from(Math.floor(Date.now()/1e3));return a.filter(i=>i.type===Ko.Auction&&i0.BigNumber.from(i.endTimeInEpochSeconds).gt(r)&&i0.BigNumber.from(i.startTimeInEpochSeconds).lte(r)||i.type===Ko.Direct&&i0.BigNumber.from(i.quantity).gt(0))}async getAllListings(e){let t=await this.getAllListingsNoFilter(!1);return this.applyFilter(t,e)}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async isRestrictedToListerRoleOnly(){return!await this.contractWrapper.read("hasRole",[Ya("lister"),i0.constants.AddressZero])}async getBidBufferBps(){return this.contractWrapper.read("bidBufferBps",[])}async getTimeBufferInSeconds(){return this.contractWrapper.read("timeBuffer",[])}async getOffers(e){let t=await this.events.getEvents("NewOffer",{order:"desc",filters:{listingId:e}});return await Promise.all(t.map(a=>tz(this.contractWrapper.getProvider(),i0.BigNumber.from(e),{quantityWanted:a.data.quantityWanted,pricePerToken:a.data.quantityWanted.gt(0)?a.data.totalOfferAmount.div(a.data.quantityWanted):a.data.totalOfferAmount,currency:a.data.currency,offeror:a.data.offeror})))}async getAllListingsNoFilter(e){return(await Promise.all(Array.from(Array((await this.contractWrapper.read("totalListings",[])).toNumber()).keys()).map(async a=>{let r;try{r=await this.getListing(a)}catch(i){if(i instanceof U5)return;console.warn(`Failed to get listing ${a}' - skipping. Try 'marketplace.getListing(${a})' to get the underlying error.`);return}if(r.type===Ko.Auction)return r;if(e){let{valid:i}=await this.direct.isStillValidListing(r);if(!i)return}return r}))).filter(a=>a!==void 0)}applyFilter(e,t){let a=[...e],r=i0.BigNumber.from(t?.start||0).toNumber(),i=i0.BigNumber.from(t?.count||Ts).toNumber();return t&&(t.seller&&(a=a.filter(s=>s.sellerAddress.toString().toLowerCase()===t?.seller?.toString().toLowerCase())),t.tokenContract&&(a=a.filter(s=>s.assetContractAddress.toString().toLowerCase()===t?.tokenContract?.toString().toLowerCase())),t.tokenId!==void 0&&(a=a.filter(s=>s.tokenId.toString()===t?.tokenId?.toString())),a=a.filter((s,f)=>f>=r),a=a.slice(0,i)),a}async prepare(e,t,a){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:t,overrides:a})}async call(e,t,a){return this.contractWrapper.call(e,t,a)}};Z(nz,"contractRoles",Tw);S1e=nz});var int=B((t7a,Ktn)=>{Ktn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"MAX_BPS",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"acceptOffer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_offeror",type:"address",internalType:"address"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"bidBufferBps",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"buy",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_buyFor",type:"address",internalType:"address"},{name:"_quantityToBuy",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_totalPrice",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"cancelDirectListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"closeAuction",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_closeFor",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createListing",inputs:[{name:"_params",type:"tuple",internalType:"struct IMarketplace.ListingParameters",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"secondsUntilEndTime",type:"uint256",internalType:"uint256"},{name:"quantityToList",type:"uint256",internalType:"uint256"},{name:"currencyToAccept",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"listings",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"offer",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityWanted",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_expirationTimestamp",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"offers",inputs:[{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"address",internalType:"address"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"pure"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setAuctionBuffers",inputs:[{name:"_timeBuffer",type:"uint256",internalType:"uint256"},{name:"_bidBufferBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"timeBuffer",inputs:[],outputs:[{name:"",type:"uint64",internalType:"uint64"}],stateMutability:"view"},{type:"function",name:"totalListings",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"updateListing",inputs:[{name:"_listingId",type:"uint256",internalType:"uint256"},{name:"_quantityToList",type:"uint256",internalType:"uint256"},{name:"_reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"_buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"_currencyToAccept",type:"address",internalType:"address"},{name:"_startTime",type:"uint256",internalType:"uint256"},{name:"_secondsUntilEndTime",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"winningBid",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"offeror",type:"address",internalType:"address"},{name:"quantityWanted",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"expirationTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"AuctionBuffersUpdated",inputs:[{name:"timeBuffer",type:"uint256",indexed:!1,internalType:"uint256"},{name:"bidBufferBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"AuctionClosed",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"closer",type:"address",indexed:!0,internalType:"address"},{name:"cancelled",type:"bool",indexed:!0,internalType:"bool"},{name:"auctionCreator",type:"address",indexed:!1,internalType:"address"},{name:"winningBidder",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ListingAdded",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"listing",type:"tuple",indexed:!1,internalType:"struct IMarketplace.Listing",components:[{name:"listingId",type:"uint256",internalType:"uint256"},{name:"tokenOwner",type:"address",internalType:"address"},{name:"assetContract",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"reservePricePerToken",type:"uint256",internalType:"uint256"},{name:"buyoutPricePerToken",type:"uint256",internalType:"uint256"},{name:"tokenType",type:"uint8",internalType:"enum IMarketplace.TokenType"},{name:"listingType",type:"uint8",internalType:"enum IMarketplace.ListingType"}]}],anonymous:!1},{type:"event",name:"ListingRemoved",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"ListingUpdated",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"listingCreator",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"NewOffer",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"offeror",type:"address",indexed:!0,internalType:"address"},{name:"listingType",type:"uint8",indexed:!0,internalType:"enum IMarketplace.ListingType"},{name:"quantityWanted",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalOfferAmount",type:"uint256",indexed:!1,internalType:"uint256"},{name:"currency",type:"address",indexed:!1,internalType:"address"}],anonymous:!1},{type:"event",name:"NewSale",inputs:[{name:"listingId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"assetContract",type:"address",indexed:!0,internalType:"address"},{name:"lister",type:"address",indexed:!0,internalType:"address"},{name:"buyer",type:"address",indexed:!1,internalType:"address"},{name:"quantityBought",type:"uint256",indexed:!1,internalType:"uint256"},{name:"totalPricePaid",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]}]});var d0,snt,Qf,_w,Qtn,ww,Ytn,xw,A1e=ce(()=>{"use strict";p();u();d0=Te(Ue());Ga();E1e();Qa();M6();F5();sn();XA();sp();Ia();fp();wl();hi();M1();snt=re.object({assetContractAddress:Kn,tokenId:$a,quantity:$a.default(1),currencyContractAddress:Kn.default(ri),pricePerToken:Kr,startTimestamp:S7.default(new Date),endTimestamp:m3,isReservedListing:re.boolean().default(!1)}),Qf=function(n){return n[n.UNSET=0]="UNSET",n[n.Created=1]="Created",n[n.Completed=2]="Completed",n[n.Cancelled=3]="Cancelled",n[n.Active=4]="Active",n[n.Expired=5]="Expired",n}({}),_w=class{constructor(e,t){Z(this,"featureName",I3.name);Z(this,"createListing",ye(async e=>{let t=await snt.parseAsync(e);await w3(this.contractWrapper,this.getAddress(),t.assetContractAddress,t.tokenId,await this.contractWrapper.getSignerAddress());let a=await Gn(this.contractWrapper.getProvider(),t.pricePerToken,t.currencyContractAddress),i=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;t.startTimestamp.lt(i)&&(t.startTimestamp=d0.BigNumber.from(i));let s=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createListing",args:[{assetContract:t.assetContractAddress,tokenId:t.tokenId,quantity:t.quantity,currency:M7(t.currencyContractAddress),pricePerToken:a,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp,reserved:t.isReservedListing}],parse:f=>({id:this.contractWrapper.parseLogs("NewListing",f?.logs)[0].args.listingId,receipt:f})});return s.setGasLimitMultiple(1.2),s}));Z(this,"createListingsBatch",ye(async e=>{let t=(await Promise.all(e.map(r=>this.createListing.prepare(r)))).map(r=>r.encode()),a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[t],parse:r=>this.contractWrapper.parseLogs("NewListing",r?.logs).map(s=>({id:s.args.listingId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));Z(this,"updateListing",ye(async(e,t)=>{let a=await snt.parseAsync(t);await w3(this.contractWrapper,this.getAddress(),a.assetContractAddress,a.tokenId,await this.contractWrapper.getSignerAddress());let r=await Gn(this.contractWrapper.getProvider(),a.pricePerToken,a.currencyContractAddress),i=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"updateListing",args:[e,{assetContract:a.assetContractAddress,tokenId:a.tokenId,quantity:a.quantity,currency:M7(a.currencyContractAddress),pricePerToken:r,startTimestamp:a.startTimestamp,endTimestamp:a.endTimestamp,reserved:a.isReservedListing}],parse:s=>({id:this.contractWrapper.parseLogs("UpdatedListing",s?.logs)[0].args.listingId,receipt:s})});return i.setGasLimitMultiple(1.2),i}));Z(this,"cancelListing",ye(async e=>{let t=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelListing",args:[e]});return t.setGasLimitMultiple(1.2),t}));Z(this,"buyFromListing",ye(async(e,t,a)=>{a&&(a=await Pe(a));let r=await this.validateListing(d0.BigNumber.from(e)),{valid:i,error:s}=await this.isStillValidListing(r,t);if(!i)throw new Error(`Listing ${e} is no longer valid. ${s}`);let f=a||await this.contractWrapper.getSignerAddress(),o=d0.BigNumber.from(t),c=d0.BigNumber.from(r.pricePerToken).mul(o),d=await this.contractWrapper.getCallOverrides()||{};await Go(this.contractWrapper,c,r.currencyContractAddress,d);let l=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"buyFromListing",args:[e,f,o,r.currencyContractAddress,c],overrides:d});return l.setGasLimitMultiple(1.2),l}));Z(this,"approveBuyerForReservedListing",ye(async(e,t)=>{if(await this.isBuyerApprovedForListing(e,t))throw new Error(`Buyer ${t} already approved for listing ${e}.`);{let r=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,t,!0]});return r.setGasLimitMultiple(1.2),r}}));Z(this,"revokeBuyerApprovalForReservedListing",ye(async(e,t)=>{if(await this.isBuyerApprovedForListing(e,t)){let r=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveBuyerForListing",args:[e,t,!1]});return r.setGasLimitMultiple(1.2),r}else throw new Error(`Buyer ${t} not approved for listing ${e}.`)}));Z(this,"approveCurrencyForListing",ye(async(e,t,a)=>{let r=await this.validateListing(d0.BigNumber.from(e)),i=await Pe(t);i===r.currencyContractAddress&&at(a===r.pricePerToken,"Approving listing currency with a different price.");let s=await this.contractWrapper.read("currencyPriceForListing",[e,i]);at(a===s,"Currency already approved with this price.");let f=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,i,a]});return f.setGasLimitMultiple(1.2),f}));Z(this,"revokeCurrencyApprovalForListing",ye(async(e,t)=>{let a=await this.validateListing(d0.BigNumber.from(e)),r=await Pe(t);if(r===a.currencyContractAddress)throw new Error("Can't revoke approval for main listing currency.");let i=await this.contractWrapper.read("currencyPriceForListing",[e,r]);at(!i.isZero(),"Currency not approved.");let s=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approveCurrencyForListing",args:[e,r,d0.BigNumber.from(0)]});return s.setGasLimitMultiple(1.2),s}));this.contractWrapper=e,this.storage=t,this.events=new xn(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.estimator=new pa(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalListings",[])}async getAll(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllListings",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapListing(o)))}async getAllValid(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No listings exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllValidListings",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapListing(o)))}async getListing(e){let t=await this.contractWrapper.read("getListing",[e]);return await this.mapListing(t)}async isBuyerApprovedForListing(e,t){if(!(await this.validateListing(d0.BigNumber.from(e))).isReservedListing)throw new Error(`Listing ${e} is not a reserved listing.`);return await this.contractWrapper.read("isBuyerApprovedForListing",[e,await Pe(t)])}async isCurrencyApprovedForListing(e,t){return await this.validateListing(d0.BigNumber.from(e)),await this.contractWrapper.read("isCurrencyApprovedForListing",[e,await Pe(t)])}async currencyPriceForListing(e,t){let a=await this.validateListing(d0.BigNumber.from(e)),r=await Pe(t);if(r===a.currencyContractAddress)return a.pricePerToken;if(!await this.isCurrencyApprovedForListing(e,r))throw new Error(`Currency ${r} is not approved for Listing ${e}.`);return await this.contractWrapper.read("currencyPriceForListing",[e,r])}async validateListing(e){try{return await this.getListing(e)}catch(t){throw console.error(`Error getting the listing with id ${e}`),t}}async mapListing(e){let t=Qf.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:t=d0.BigNumber.from(e.startTimestamp).gt(r)?Qf.Created:d0.BigNumber.from(e.endTimestamp).lt(r)?Qf.Expired:Qf.Active;break;case 2:t=Qf.Completed;break;case 3:t=Qf.Cancelled;break}return{assetContractAddress:e.assetContract,currencyContractAddress:e.currency,pricePerToken:e.pricePerToken.toString(),currencyValuePerToken:await Va(this.contractWrapper.getProvider(),e.currency,e.pricePerToken),id:e.listingId.toString(),tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),startTimeInSeconds:d0.BigNumber.from(e.startTimestamp).toNumber(),asset:await yy(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:d0.BigNumber.from(e.endTimestamp).toNumber(),creatorAddress:e.listingCreator,isReservedListing:e.reserved,status:t}}async isStillValidListing(e,t){if(!await $5(this.contractWrapper.getProvider(),this.getAddress(),e.assetContractAddress,e.tokenId,e.creatorAddress))return{valid:!1,error:`Token '${e.tokenId}' from contract '${e.assetContractAddress}' is not approved for transfer`};let r=this.contractWrapper.getProvider(),i=(await Promise.resolve().then(()=>Te(aw()))).default,s=new d0.Contract(e.assetContractAddress,i,r),f=await s.supportsInterface(p3),o=await s.supportsInterface(u3);if(f){let c=(await Promise.resolve().then(()=>Te(y_()))).default,d=new d0.Contract(e.assetContractAddress,c,r),l;try{l=await d.ownerOf(e.tokenId)}catch{}let y=l?.toLowerCase()===e.creatorAddress.toLowerCase();return{valid:y,error:y?void 0:`Seller is not the owner of Token '${e.tokenId}' from contract '${e.assetContractAddress} anymore'`}}else if(o){let c=(await Promise.resolve().then(()=>Te(m_()))).default,y=(await new d0.Contract(e.assetContractAddress,c,r).balanceOf(e.creatorAddress,e.tokenId)).gte(t||e.quantity);return{valid:y,error:y?void 0:`Seller does not have enough balance of Token '${e.tokenId}' from contract '${e.assetContractAddress} to fulfill the listing`}}else return{valid:!1,error:"Contract does not implement ERC 1155 or ERC 721."}}async applyFilter(e,t){let a=[...e];if(t){if(t.seller){let r=await Pe(t.seller);a=a.filter(i=>i.listingCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(t.tokenContract){let r=await Pe(t.tokenContract);a=a.filter(i=>i.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}t.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===t?.tokenId?.toString()))}return t?.count&&t.count{let t=Qtn.parse(e);await w3(this.contractWrapper,this.getAddress(),t.assetContractAddress,t.tokenId,await this.contractWrapper.getSignerAddress());let a=await Gn(this.contractWrapper.getProvider(),t.buyoutBidAmount,t.currencyContractAddress),r=await Gn(this.contractWrapper.getProvider(),t.minimumBidAmount,t.currencyContractAddress),s=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;t.startTimestamp.lt(s)&&(t.startTimestamp=d0.BigNumber.from(s));let f=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAuction",args:[{assetContract:t.assetContractAddress,tokenId:t.tokenId,quantity:t.quantity,currency:M7(t.currencyContractAddress),minimumBidAmount:r,buyoutBidAmount:a,timeBufferInSeconds:t.timeBufferInSeconds,bidBufferBps:t.bidBufferBps,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp}],parse:o=>({id:this.contractWrapper.parseLogs("NewAuction",o.logs)[0].args.auctionId,receipt:o})});return f.setGasLimitMultiple(1.2),f}));Z(this,"createAuctionsBatch",ye(async e=>{let t=(await Promise.all(e.map(r=>this.createAuction.prepare(r)))).map(r=>r.encode()),a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[t],parse:r=>this.contractWrapper.parseLogs("NewAuction",r?.logs).map(s=>({id:s.args.auctionId,receipt:r}))});return a.setGasLimitMultiple(1.2),a}));Z(this,"buyoutAuction",ye(async e=>{let t=await this.validateAuction(d0.BigNumber.from(e)),a=await vs(this.contractWrapper.getProvider(),t.currencyContractAddress);return this.makeBid.prepare(e,d0.utils.formatUnits(t.buyoutBidAmount,a.decimals))}));Z(this,"makeBid",ye(async(e,t)=>{let a=await this.validateAuction(d0.BigNumber.from(e)),r=await Gn(this.contractWrapper.getProvider(),t,a.currencyContractAddress);if(r.eq(d0.BigNumber.from(0)))throw new Error("Cannot make a bid with 0 value");if(d0.BigNumber.from(a.buyoutBidAmount).gt(0)&&r.gt(a.buyoutBidAmount))throw new Error("Bid amount must be less than or equal to buyoutBidAmount");if(await this.getWinningBid(e)){let o=await this.isWinningBid(e,r);at(o,"Bid price is too low based on the current winning bid and the bid buffer")}else{let o=r,c=d0.BigNumber.from(a.minimumBidAmount);at(o.gte(c),"Bid price is too low based on minimum bid amount")}let s=await this.contractWrapper.getCallOverrides()||{};await Go(this.contractWrapper,r,a.currencyContractAddress,s);let f=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"bidInAuction",overrides:s,args:[e,r]});return f.setGasLimitMultiple(1.2),f}));Z(this,"cancelAuction",ye(async e=>{if(await this.getWinningBid(e))throw new Error("Bids already made.");let a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelAuction",args:[e]});return a.setGasLimitMultiple(1.2),a}));Z(this,"closeAuctionForBidder",ye(async(e,t)=>{t||(t=await this.contractWrapper.getSignerAddress());let a=await this.validateAuction(d0.BigNumber.from(e));try{let r=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionTokens",args:[d0.BigNumber.from(e)]});return r.setGasLimitMultiple(1.2),r}catch(r){throw r.message.includes("Marketplace: auction still active.")?new q5(e.toString(),a.endTimeInSeconds.toString()):r}}));Z(this,"closeAuctionForSeller",ye(async e=>{let t=await this.validateAuction(d0.BigNumber.from(e));try{let a=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"collectAuctionPayout",args:[d0.BigNumber.from(e)]});return a.setGasLimitMultiple(1.2),a}catch(a){throw a.message.includes("Marketplace: auction still active.")?new q5(e.toString(),t.endTimeInSeconds.toString()):a}}));Z(this,"executeSale",ye(async e=>{let t=await this.validateAuction(d0.BigNumber.from(e));try{let a=await this.getWinningBid(e);at(a,"No winning bid found");let r=this.encoder.encode("collectAuctionPayout",[e]),i=this.encoder.encode("collectAuctionTokens",[e]),s=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[[r,i]]});return s.setGasLimitMultiple(1.2),s}catch(a){throw a.message.includes("Marketplace: auction still active.")?new q5(e.toString(),t.endTimeInSeconds.toString()):a}}));this.contractWrapper=e,this.storage=t,this.events=new xn(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.estimator=new pa(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalAuctions",[])}async getAll(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllAuctions",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapAuction(o)))}async getAllValid(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No auctions exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllValidAuctions",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapAuction(o)))}async getAuction(e){let t=await this.contractWrapper.read("getAuction",[e]);return await this.mapAuction(t)}async getWinningBid(e){await this.validateAuction(d0.BigNumber.from(e));let t=await this.contractWrapper.read("getWinningBid",[e]);if(t._bidder!==d0.constants.AddressZero)return await this.mapBid(e.toString(),t._bidder,t._currency,t._bidAmount.toString())}async isWinningBid(e,t){return await this.contractWrapper.read("isNewWinningBid",[e,t])}async getWinner(e){let t=await this.validateAuction(d0.BigNumber.from(e)),a=await this.contractWrapper.read("getWinningBid",[e]),r=d0.BigNumber.from(Math.floor(Date.now()/1e3)),i=d0.BigNumber.from(t.endTimeInSeconds);if(r.gt(i)&&a._bidder!==d0.constants.AddressZero)return a._bidder;let o=(await new xn(this.contractWrapper).getEvents("AuctionClosed")).find(c=>c.data.auctionId.eq(d0.BigNumber.from(e)));if(!o)throw new Error(`Could not find auction with ID ${e} in closed auctions`);return o.data.winningBidder}async getBidBufferBps(e){return(await this.getAuction(e)).bidBufferBps}async getMinimumNextBid(e){let[t,a,r]=await Promise.all([this.getBidBufferBps(e),this.getWinningBid(e),this.validateAuction(d0.BigNumber.from(e))]),i=a?d0.BigNumber.from(a.bidAmount):d0.BigNumber.from(r.minimumBidAmount),s=i.add(i.mul(t).div(1e4));return Va(this.contractWrapper.getProvider(),r.currencyContractAddress,s)}async validateAuction(e){try{return await this.getAuction(e)}catch(t){throw console.error(`Error getting the auction with id ${e}`),t}}async mapAuction(e){let t=Qf.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:t=d0.BigNumber.from(e.startTimestamp).gt(r)?Qf.Created:d0.BigNumber.from(e.endTimestamp).lt(r)?Qf.Expired:Qf.Active;break;case 2:t=Qf.Completed;break;case 3:t=Qf.Cancelled;break}return{id:e.auctionId.toString(),creatorAddress:e.auctionCreator,assetContractAddress:e.assetContract,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),currencyContractAddress:e.currency,minimumBidAmount:e.minimumBidAmount.toString(),minimumBidCurrencyValue:await Va(this.contractWrapper.getProvider(),e.currency,e.minimumBidAmount),buyoutBidAmount:e.buyoutBidAmount.toString(),buyoutCurrencyValue:await Va(this.contractWrapper.getProvider(),e.currency,e.buyoutBidAmount),timeBufferInSeconds:d0.BigNumber.from(e.timeBufferInSeconds).toNumber(),bidBufferBps:d0.BigNumber.from(e.bidBufferBps).toNumber(),startTimeInSeconds:d0.BigNumber.from(e.startTimestamp).toNumber(),endTimeInSeconds:d0.BigNumber.from(e.endTimestamp).toNumber(),asset:await yy(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),status:t}}async mapBid(e,t,a,r){let i=await Pe(t),s=await Pe(a);return{auctionId:e,bidderAddress:i,currencyContractAddress:s,bidAmount:r,bidAmountCurrencyValue:await Va(this.contractWrapper.getProvider(),s,r)}}async applyFilter(e,t){let a=[...e];if(t){if(t.seller){let r=await Pe(t.seller);a=a.filter(i=>i.auctionCreator.toString().toLowerCase()===r?.toString().toLowerCase())}if(t.tokenContract){let r=await Pe(t.tokenContract);a=a.filter(i=>i.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}t.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===t?.tokenId?.toString()))}return t?.count&&t.count{let t=await Ytn.parseAsync(e),a=await this.contractWrapper.getChainID(),r=ai(t.currencyContractAddress)?x3[a].wrapped.address:t.currencyContractAddress,i=await Gn(this.contractWrapper.getProvider(),t.totalPrice,r),s=await this.contractWrapper.getCallOverrides();return await Go(this.contractWrapper,i,r,s),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"makeOffer",args:[{assetContract:t.assetContractAddress,tokenId:t.tokenId,quantity:t.quantity,currency:r,totalPrice:i,expirationTimestamp:t.endTimestamp}],parse:f=>({id:this.contractWrapper.parseLogs("NewOffer",f?.logs)[0].args.offerId,receipt:f})})}));Z(this,"cancelOffer",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancelOffer",args:[e]})));Z(this,"acceptOffer",ye(async e=>{let t=await this.validateOffer(d0.BigNumber.from(e)),{valid:a,error:r}=await this.isStillValidOffer(t);if(!a)throw new Error(`Offer ${e} is no longer valid. ${r}`);let i=await this.contractWrapper.getCallOverrides()||{};return await w3(this.contractWrapper,this.getAddress(),t.assetContractAddress,t.tokenId,await this.contractWrapper.getSignerAddress()),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"acceptOffer",args:[e],overrides:i})}));this.contractWrapper=e,this.storage=t,this.events=new xn(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.estimator=new pa(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async getTotalCount(){return await this.contractWrapper.read("totalOffers",[])}async getAll(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllOffers",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapOffer(o)))}async getAllValid(e){let t=await this.getTotalCount(),a=d0.BigNumber.from(e?.start||0).toNumber(),r=t.toNumber();if(r===0)throw new Error("No offers exist on the contract.");let i=[];i=(await L7(a,r,(o,c)=>this.contractWrapper.read("getAllValidOffers",[o,c]))).flat();let f=await this.applyFilter(i,e);return await Promise.all(f.map(o=>this.mapOffer(o)))}async getOffer(e){let t=await this.contractWrapper.read("getOffer",[e]);return await this.mapOffer(t)}async validateOffer(e){try{return await this.getOffer(e)}catch(t){throw console.error(`Error getting the offer with id ${e}`),t}}async mapOffer(e){let t=Qf.UNSET,r=(await this.contractWrapper.getProvider().getBlock("latest")).timestamp;switch(e.status){case 1:t=d0.BigNumber.from(e.expirationTimestamp).lt(r)?Qf.Expired:Qf.Active;break;case 2:t=Qf.Completed;break;case 3:t=Qf.Cancelled;break}return{id:e.offerId.toString(),offerorAddress:e.offeror,assetContractAddress:e.assetContract,currencyContractAddress:e.currency,tokenId:e.tokenId.toString(),quantity:e.quantity.toString(),totalPrice:e.totalPrice.toString(),currencyValue:await Va(this.contractWrapper.getProvider(),e.currency,e.totalPrice),asset:await yy(e.assetContract,this.contractWrapper.getProvider(),e.tokenId,this.storage),endTimeInSeconds:d0.BigNumber.from(e.expirationTimestamp).toNumber(),status:t}}async isStillValidOffer(e){if(d0.BigNumber.from(Math.floor(Date.now()/1e3)).gt(e.endTimeInSeconds))return{valid:!1,error:`Offer with ID ${e.id} has expired`};let a=await this.contractWrapper.getChainID(),r=ai(e.currencyContractAddress)?x3[a].wrapped.address:e.currencyContractAddress,i=this.contractWrapper.getProvider(),s=(await Promise.resolve().then(()=>Te(D1()))).default,f=new f0(i,r,s,{},this.storage);return(await f.read("balanceOf",[e.offerorAddress])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} doesn't have enough balance of token ${r}`}:(await f.read("allowance",[e.offerorAddress,this.getAddress()])).lt(e.totalPrice)?{valid:!1,error:`Offeror ${e.offerorAddress} hasn't approved enough amount of token ${r}`}:{valid:!0,error:""}}async applyFilter(e,t){let a=[...e];if(t){if(t.offeror){let r=await Pe(t.offeror);a=a.filter(i=>i.offeror.toString().toLowerCase()===r?.toString().toLowerCase())}if(t.tokenContract){let r=await Pe(t.tokenContract);a=a.filter(i=>i.assetContract.toString().toLowerCase()===r?.toString().toLowerCase())}t.tokenId!==void 0&&(a=a.filter(r=>r.tokenId.toString()===t?.tokenId?.toString()))}return t?.count&&t.countk1e});var A7a,k7a,az,k1e,ont=ce(()=>{"use strict";p();u();fp();hi();sn();Qa();M1();cp();Dc();A1e();Ia();Ga();A7a=Te(Dr()),k7a=Te(zf());Ot();az=class az{get directListings(){return Rt(this.detectDirectListings(),I3)}get englishAuctions(){return Rt(this.detectEnglishAuctions(),E3)}get offers(){return Rt(this.detectOffers(),D3)}get chainId(){return this._chainId}constructor(e,t,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(e,t,i,r,a);this._chainId=s,this.abi=p0.parse(i||[]),this.contractWrapper=f,this.storage=a,this.metadata=new Bn(this.contractWrapper,B7,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,az.contractRoles),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async prepare(e,t,a){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:t,overrides:a})}async call(e,t,a){return this.contractWrapper.call(e,t,a)}detectDirectListings(){if(gt(this.contractWrapper,"DirectListings"))return new _w(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(gt(this.contractWrapper,"EnglishAuctions"))return new ww(this.contractWrapper,this.storage)}detectOffers(){if(gt(this.contractWrapper,"Offers"))return new xw(this.contractWrapper,this.storage)}};Z(az,"contractRoles",Tw);k1e=az});var cnt=B((B7a,Jtn)=>{Jtn.exports=[{type:"constructor",inputs:[{name:"_marketplaceV3Params",type:"tuple",internalType:"struct MarketplaceV3.MarketplaceConstructorParams",components:[{name:"extensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]},{name:"royaltyEngineAddress",type:"address",internalType:"address"},{name:"nativeTokenWrapper",type:"address",internalType:"address"}]}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"addExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"defaultExtensions",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"disableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"enableFunctionInExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"},{name:"_function",type:"tuple",internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllExtensions",inputs:[],outputs:[{name:"allExtensions",type:"tuple[]",internalType:"struct IExtension.Extension[]",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getExtension",inputs:[{name:"extensionName",type:"string",internalType:"string"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getImplementationForFunction",inputs:[{name:"_functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getMetadataForFunction",inputs:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyalty",inputs:[{name:"tokenAddress",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"value",type:"uint256",internalType:"uint256"}],outputs:[{name:"recipients",type:"address[]",internalType:"address payable[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"nonpayable"},{type:"function",name:"getRoyaltyEngineAddress",inputs:[],outputs:[{name:"royaltyEngineAddress",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint16",internalType:"uint16"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"removeExtension",inputs:[{name:"_extensionName",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"replaceExtension",inputs:[{name:"_extension",type:"tuple",internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyEngine",inputs:[{name:"_royaltyEngineAddress",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ExtensionAdded",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionRemoved",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"ExtensionReplaced",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"extension",type:"tuple",indexed:!1,internalType:"struct IExtension.Extension",components:[{name:"metadata",type:"tuple",internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]},{name:"functions",type:"tuple[]",internalType:"struct IExtension.ExtensionFunction[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]}]}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FunctionDisabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"FunctionEnabled",inputs:[{name:"name",type:"string",indexed:!0,internalType:"string"},{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"extFunction",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionFunction",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"}]},{name:"extMetadata",type:"tuple",indexed:!1,internalType:"struct IExtension.ExtensionMetadata",components:[{name:"name",type:"string",internalType:"string"},{name:"metadataURI",type:"string",internalType:"string"},{name:"implementation",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyEngineUpdated",inputs:[{name:"previousAddress",type:"address",indexed:!0,internalType:"address"},{name:"newAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"error",name:"InvalidCodeAtRange",inputs:[{name:"_size",type:"uint256",internalType:"uint256"},{name:"_start",type:"uint256",internalType:"uint256"},{name:"_end",type:"uint256",internalType:"uint256"}]},{type:"error",name:"WriteError",inputs:[]}]});async function rz(n,e,t){let a=n.getProvider(),r=(await Promise.resolve().then(()=>Te(D1()))).default,i=new f0(a,e,r,{},n.storage),s=await n.getSignerAddress(),f=n.address;return(await i.read("allowance",[s,f])).gte(t)}var P1e=ce(()=>{"use strict";p();u();sn()});var Yf,dnt,N6,Iw=ce(()=>{"use strict";p();u();Yf=Te(Ue()),dnt=Te(Cc());sn();k7();Qa();hi();Ia();N6=class{constructor(e,t,a){Z(this,"set",ye((()=>{var e=this;return async function(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t;if(e.isLegacySinglePhaseDrop(e.contractWrapper)||e.isNewSinglePhaseDrop(e.contractWrapper)){if(a=!0,t.length===0)r=[{startTime:new Date(0),currencyAddress:Yf.constants.AddressZero,price:0,maxClaimableSupply:0,maxClaimablePerWallet:0,waitInSeconds:0,merkleRootHash:Yf.utils.hexZeroPad([0],32),snapshot:[]}];else if(t.length>1)throw new Error("Single phase drop contract cannot have multiple claim conditions, only one is allowed")}(e.isNewSinglePhaseDrop(e.contractWrapper)||e.isNewMultiphaseDrop(e.contractWrapper))&&r.forEach(y=>{if(y.snapshot&&y.snapshot.length>0&&(y.maxClaimablePerWallet===void 0||y.maxClaimablePerWallet==="unlimited"))throw new Error(`maxClaimablePerWallet must be set to a specific value when an allowlist is set. Example: Set it to 0 to only allow addresses in the allowlist to claim the amount specified in the allowlist. -contract.claimConditions.set([{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(h.snapshot&&h.snapshot.length>0&&h.maxClaimablePerWallet?.toString()==="0"&&h.snapshot.map(y=>typeof y=="string"?0:Number(y.maxClaimable?.toString()||0)).reduce((y,v)=>y+v,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:f,sortedConditions:i}=await oG(r,await e.getTokenDecimals(),e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion()),s={};f.forEach(h=>{s[h.merkleRoot]=h.snapshotUri});let o=await e.metadata.get(),c=[];if(!(0,Wr0.default)(o.merkle,s)){let h=await e.metadata.parseInputMetadata({...o,merkle:s}),y=await e.metadata._parseAndUploadMetadata(h);if(wr("setContractURI",e.contractWrapper)){let v=new it(e.contractWrapper);c.push(v.encode("setContractURI",[y]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}let d=e.contractWrapper,l=new it(d);if(e.isLegacySinglePhaseDrop(d)){let h=new it(d);c.push(h.encode("setClaimConditions",[cE(i[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(cE),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[dE(i[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[i.map(dE),a]));else throw new Error("Contract does not support claim conditions");if(wr("multicall",e.contractWrapper))return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[c]});throw new Error("Contract does not support multicall")}})()));ae(this,"update",be(async(e,n)=>{let a=await this.getAll(),r=await cG(e,n,a);return await this.set.prepare(r)}));this.storage=a,this.contractWrapper=e,this.metadata=n}async getActive(e){let[n,a,r]=await Promise.all([this.get(),this.metadata.get(),this.getTokenDecimals()]);return await pE(n,r,this.contractWrapper.getProvider(),a.merkle||{},this.storage,e?.withAllowList||!1)}async get(e){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return lE(n)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return lE(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let n=await this.contractWrapper.read("claimCondition",[]);return uE(n)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let n=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[n]);return uE(a)}else throw new Error("Contract does not support claim conditions")}async getAll(e){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let[n,a]=await this.contractWrapper.read("claimCondition",[]),r=n.toNumber(),f=a.toNumber(),i=[];for(let d=r;dpE(d,o,this.contractWrapper.getProvider(),s.merkle,this.storage,e?.withAllowList||!1)))}else return[await this.getActive(e)]}async canClaim(e,n){return n&&(n=await Oe(n)),(await this.getClaimIneligibilityReasons(e,n)).length===0}async getClaimIneligibilityReasons(e,n){let a=[],r,f;if(n===void 0)try{n=await this.contractWrapper.getSignerAddress()}catch(h){console.warn("failed to get signer address",h)}if(!n)return[qn.NoWallet];let[i,s]=await Promise.all([Oe(n),this.getTokenDecimals()]),o=po.utils.parseUnits(ff.parse(e),s);try{f=await this.getActive()}catch(h){return eh(h,"!CONDITION")||eh(h,"no active mint condition")||eh(h,"DropNoActiveCondition")?(a.push(qn.NoClaimConditionSet),a):(console.warn("failed to get active claim condition",h),a.push(qn.Unknown),a)}if(f.availableSupply!=="unlimited"&&po.utils.parseUnits(f.availableSupply,s).lt(o))return a.push(qn.NotEnoughSupply),a;let d=po.utils.stripZeros(f.merkleRootHash).length>0,l=null;if(d){if(l=await this.getClaimerProofs(i),!l&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return a.push(qn.AddressNotAllowed),a;if(l)try{let h=await this.prepareClaim(e,!1,s,i),y;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[y]=await this.contractWrapper.read("verifyClaimMerkleProof",[r,i,e,h.proofs,h.maxClaimable]),!y)return a.push(qn.AddressNotAllowed),a}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([y]=await this.contractWrapper.read("verifyClaimMerkleProof",[i,e,{proof:h.proofs,maxQuantityInAllowlist:h.maxClaimable}]),!y)return a.push(qn.AddressNotAllowed),a}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),await this.contractWrapper.read("verifyClaim",[r,i,e,h.currencyAddress,h.price,{proof:h.proofs,quantityLimitPerWallet:h.maxClaimable,currency:h.currencyAddressInProof,pricePerToken:h.priceInProof}]))}catch(h){switch(console.warn("Merkle proof verification failed:","reason"in h?h.reason||h.errorName:h),h.reason||h.errorName){case"!Qty":case"DropClaimExceedLimit":a.push(qn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":a.push(qn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":a.push(qn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":a.push(qn.ClaimPhaseNotStarted);break;default:{a.push(qn.AddressNotAllowed);break}}return a}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let h=po.BigNumber.from(0),y=s5(f.maxClaimablePerWallet,s);try{h=await this.getSupplyClaimedByWallet(i)}catch{}if(l&&(y=s5(l.maxClaimable,s)),y.gt(0)&&y.lt(h.add(o)))return a.push(qn.OverMaxClaimablePerWallet),a;if((!d||d&&!l)&&(y.lte(h)||y.eq(0)))return a.push(qn.AddressNotAllowed),a}if(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)){let[h,y]=[po.BigNumber.from(0),po.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[h,y]=await this.contractWrapper.read("getClaimTimestamp",[r,i])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([h,y]=await this.contractWrapper.read("getClaimTimestamp",[i]));let v=po.BigNumber.from(Date.now()).div(1e3);if(h.gt(0)&&v.lt(y))return y.eq(po.constants.MaxUint256)?a.push(qn.AlreadyClaimed):a.push(qn.WaitBeforeNextClaimTransaction),a}if(f.price.gt(0)&&bG()){let h=f.price.mul(po.BigNumber.from(e)),y=this.contractWrapper.getProvider();if(mf(f.currencyAddress))(await y.getBalance(i)).lt(h)&&a.push(qn.NotEnoughTokens);else{let v=(await Promise.resolve().then(()=>Ee(K1()))).default;(await new lt(y,f.currencyAddress,v,{},this.storage).read("balanceOf",[i])).lt(h)&&a.push(qn.NotEnoughTokens)}}return a}async getClaimerProofs(e,n){let r=(await this.get(n)).merkleRoot;if(po.utils.stripZeros(r).length>0){let[i,s]=await Promise.all([this.metadata.get(),Oe(e)]);return await pM(s,r.toString(),i.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e){let n=await Oe(e);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[n]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("getActiveClaimConditionId",[]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[a,n])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async getTokenDecimals(){return k0(this.contractWrapper,"ERC20")?this.contractWrapper.read("decimals",[]):Promise.resolve(0)}async prepareClaim(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,[f,i]=await Promise.all([r||this.contractWrapper.getSignerAddress(),this.getActive()]);return sG(f,e,i,async()=>(await this.metadata.get()).merkle,a,this.contractWrapper,this.storage,n,this.getSnapshotFormatVersion())}async getClaimArguments(e,n,a){let r=await Oe(e);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,a.proofs,a.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[r,n,a.currencyAddress,a.price,{proof:a.proofs,maxQuantityInAllowlist:a.maxClaimable},po.utils.toUtf8Bytes("")]:[r,n,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},po.utils.toUtf8Bytes("")]}async getClaimTransaction(e,n,a){if(a?.pricePerToken)throw new Error("Price per token is be set via claim conditions by calling `contract.erc721.claimConditions.set()`");let r=await this.prepareClaim(n,a?.checkERC20Allowance===void 0?!0:a.checkERC20Allowance,await this.getTokenDecimals());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(e,n,r),overrides:r.overrides})}isNewSinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV2")||k0(e,"ERC20ClaimConditionsV2")}isNewMultiphaseDrop(e){return k0(e,"ERC721ClaimPhasesV2")||k0(e,"ERC20ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return k0(e,"ERC721ClaimConditionsV1")||k0(e,"ERC20ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return k0(e,"ERC721ClaimPhasesV1")||k0(e,"ERC20ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?X8.V1:X8.V2}}});function Trn(t){return dr.utils.parseEther(ff.parse(t))}var dr,z6e,W6e,q6e,j6e,G6e,K6e,Q6e,V6e,Y6e,$6e,J6e,X6e,Z6e,xrn,Ern,ede,pb,kE,IM=oe(()=>{"use strict";u();p();dr=Ee(Je());ln();Fl();Rf();Ll();Da();CE();Nl();or();Ax();h2();ir();i5();J5();w9();z6e=class{constructor(e){ae(this,"featureName",CM.name);ae(this,"token",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},W6e=class{constructor(e,n,a){ae(this,"featureName",SM.name);ae(this,"to",be(async(e,n,a)=>{let r=await this.conditions.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Ul,this.storage);this.conditions=new o5(this.contractWrapper,r,this.storage)}};q6e=class{constructor(e,n){ae(this,"featureName",MG.name);ae(this,"to",be(async(e,n,a)=>{let r=await this.contractWrapper.getSigner()?.getAddress();if(e!==r)throw new Error("Zora Drop: Destination address must match connected wallet address");if(a?.pricePerToken)throw new Error("Zora Drop: Custom pricePerToken is not supported. Price is automatically calculated");let i=(await this.getSaleDetails()).publicSalePrice,s=Trn("0.000777"),o=dr.BigNumber.from(i).add(s).mul(n),c=Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"purchase",args:[n],overrides:{value:o}});return c.setParse(d=>{let h=this.contractWrapper.parseLogs("Sale",d?.logs)[0].args.firstPurchasedTokenId,y=h.add(n),v=[];for(let k=h;k.lt(y);k=k.add(1))v.push({id:k,receipt:d,data:()=>this.erc721.get(k)});return v}),c}));this.erc721=e,this.contractWrapper=n}async getSaleDetails(){return this.contractWrapper.read("saleDetails",[])}},j6e=class{constructor(e,n){ae(this,"featureName",SE.name);ae(this,"to",be(async(e,n,a)=>{let r=await this.getClaimTransaction(e,n,a);return r.setParse(f=>{let s=this.contractWrapper.parseLogs("TokensClaimed",f?.logs)[0].args.startTokenId,o=s.add(n),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=n}async getClaimTransaction(e,n,a){let r={};return a&&a.pricePerToken&&(r=await mG(this.contractWrapper,a.pricePerToken,n,a.currencyAddress,a.checkERC20Allowance)),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,n],overrides:r})}},G6e=class{constructor(e,n,a){ae(this,"featureName",RM.name);ae(this,"lazyMint",be(async(e,n)=>{let a=await this.erc721.nextTokenIdToMint(),r=await Pl(e,this.storage,a.toNumber(),n),f=eb(r);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,f.endsWith("/")?f:`${f}/`,dr.utils.toUtf8Bytes("")],parse:i=>{let s=this.contractWrapper.parseLogs("TokensLazyMinted",i?.logs),o=s[0].args.startTokenId,c=s[0].args.endTokenId,d=[];for(let l=o;l.lte(c);l=l.add(1))d.push({id:l,receipt:i,data:()=>this.erc721.getTokenMetadata(l)});return d}})}));ae(this,"updateMetadata",be(async(e,n,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let f=dr.BigNumber.from(e),i=dr.BigNumber.from(0),s=dr.BigNumber.from(0),o=0;for(let v=0;vk+i.toNumber()),d=await Promise.all(c.map(v=>this.erc721.getTokenMetadata(v))),l=[];for(let v=0;vthis.erc721.nextTokenIdToMint())}},K6e=class{constructor(e){ae(this,"featureName",hb.name);ae(this,"cancel",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));ae(this,"revoke",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},Q6e=class{constructor(e,n){ae(this,"featureName",C9.name);ae(this,"update",be(async(e,n)=>{let a=await J8(n,this.storage);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=n}},V6e=class{constructor(e,n,a){ae(this,"featureName",MM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([Pl(n,this.storage),Oe(e)]),f=new it(this.contractWrapper),i=a.map(s=>f.encode("mintTo",[r,s]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>{let o=this.contractWrapper.parseLogs("TokensMinted",s.logs);if(o.length===0||o.length{let d=c.args.tokenIdMinted;return{id:d,receipt:s,data:()=>this.erc721.get(d)}})}})}));this.erc721=e,this.contractWrapper=n,this.storage=a}},Y6e=class{constructor(e,n,a){ae(this,"featureName",BM.name);ae(this,"to",be(async(e,n)=>{let[a,r]=await Promise.all([J8(n,this.storage),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[r,a],parse:f=>{let i=this.contractWrapper.parseLogs("Transfer",f?.logs);if(i.length===0)throw new Error("TransferEvent event not found");let s=i[0].args.tokenId;return{id:s,receipt:f,data:()=>this.erc721.get(s)}}})}));this.erc721=e,this.contractWrapper=n,this.storage=a,this.batch=this.detectErc721BatchMintable()}async getMintTransaction(e,n){return this.to.prepare(await Oe(e),n)}detectErc721BatchMintable(){if(k0(this.contractWrapper,"ERC721BatchMintable"))return new V6e(this.erc721,this.contractWrapper,this.storage)}},$6e=class{constructor(e,n){ae(this,"featureName",PM.name);ae(this,"set",be(async e=>{let n=h6e.parse(e);n.description=this.sanitizeJSONString(n.description);let a=[];Sm(n.image)?a.push(this.storage.upload(n.image)):typeof n.image=="string"?a.push(Promise.resolve(n.image)):a.push(Promise.resolve(void 0)),Sm(n.animation_url)?a.push(this.storage.upload(n.animation_url)):typeof n.animation_url=="string"?a.push(Promise.resolve(n.animation_url)):a.push(Promise.resolve(void 0));let[r,f]=await Promise.all(a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setSharedMetadata",args:[{name:`${n.name||""}`,description:n.description||"",imageURI:r||"",animationURI:f||""}]})}));this.contractWrapper=e,this.storage=n}async get(){let e=await this.contractWrapper.read("sharedMetadata",[]);if(!e.every(n=>n===""))return{name:e.name,description:e.description,image:e.imageURI,animation_url:e.animationURI}}sanitizeJSONString(e){if(!e)return e;let n=JSON.stringify(e);return n.slice(1,n.length-1)}},J6e=class{constructor(e,n){ae(this,"featureName",BG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Li;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress()),a=await this.contractWrapper.read("balanceOf",[n]),r=Array.from(Array(a.toNumber()).keys());return await Promise.all(r.map(f=>this.contractWrapper.read("tokenOfOwnerByIndex",[n,f])))}},X6e=class{constructor(e,n){ae(this,"featureName",DG.name);this.erc721=e,this.contractWrapper=n}async all(e,n){let a=await this.tokenIds(e);if(n){let r=n?.start||0,f=n?.count||Li;a=a.slice(r,r+f)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("tokensOfOwner",[n])}},Z6e=class{constructor(e,n){ae(this,"featureName",I9.name);this.erc721=e,this.contractWrapper=n,this.owned=this.detectErc721Owned()}async all(e){let n=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(n=await this.contractWrapper.read("startTokenId",[]));let a=dr.BigNumber.from(e?.start||0).add(n).toNumber(),r=dr.BigNumber.from(e?.count||Li).toNumber(),f=await this.erc721.nextTokenIdToMint(),i=Math.min(f.add(n).toNumber(),a+r);return await Promise.all([...Array(i-a).keys()].map(s=>this.erc721.get((a+s).toString())))}async allOwners(e){let n,a=dr.BigNumber.from(0);wr("startTokenId",this.contractWrapper)&&(a=await this.contractWrapper.read("startTokenId",[]));try{n=await this.erc721.totalClaimedSupply()}catch{n=await this.totalCount()}n=n.add(a);let r=[...new Array(n.toNumber()).keys()];if(e){let i=e?.start||0,s=e?.count||Li;r=r.slice(i,i+s)}let f=await Promise.all(r.map(i=>this.erc721.ownerOf(i).catch(()=>dr.constants.AddressZero)));return r.map(i=>({tokenId:i,owner:f[i]})).filter(i=>i.owner!==dr.constants.AddressZero)}async totalCount(){return await this.erc721.nextTokenIdToMint()}async totalCirculatingSupply(){return await this.contractWrapper.read("totalSupply",[])}detectErc721Owned(){if(k0(this.contractWrapper,"ERC721Enumerable"))return new J6e(this.erc721,this.contractWrapper);if(k0(this.contractWrapper,"ERC721AQueryable"))return new X6e(this.erc721,this.contractWrapper)}},xrn=lG.extend({tierPriority:fe.array(fe.string()),royaltyRecipient:da.default(dr.constants.AddressZero),royaltyBps:nb.default(0),quantity:ts.default(1)}),Ern=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],ede=class{constructor(e,n,a){ae(this,"featureName",kM.name);ae(this,"createBatchWithTier",be(async(e,n,a)=>{let r=await this.erc721.nextTokenIdToMint(),f=await Pl(e,this.storage,r.toNumber(),a),i=eb(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[f.length,i.endsWith("/")?i:`${i}/`,n,dr.utils.toUtf8Bytes("")],parse:s=>{let o=this.contractWrapper.parseLogs("TokensLazyMinted",s?.logs),c=o[0].args[1],d=o[0].args[2],l=[];for(let h=c;h.lte(d);h=h.add(1))l.push({id:h,receipt:s,data:()=>this.erc721.getTokenMetadata(h)});return l}})}));ae(this,"createDelayedRevealBatchWithTier",be(async(e,n,a,r,f)=>{if(!a)throw new Error("Password is required");let i=await this.storage.uploadBatch([Dl.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),s=eb(i),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(n.map(F=>Dl.parse(F)),{onProgress:f?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=eb(c),l=await this.contractWrapper.read("getBaseURICount",[]),h=await this.contractWrapper.getChainID(),y=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[a,h,l,this.contractWrapper.address]),v=await this.contractWrapper.read("encryptDecrypt",[dr.utils.toUtf8Bytes(d),y]),k=dr.utils.solidityKeccak256(["bytes","bytes","uint256"],[dr.utils.toUtf8Bytes(d),y,h]),O=dr.utils.defaultAbiCoder.encode(["bytes","bytes32"],[v,k]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[c.length,s.endsWith("/")?s:`${s}/`,r,O],parse:F=>{let z=this.contractWrapper.parseLogs("TokensLazyMinted",F?.logs),W=z[0].args[1],j=z[0].args[2],Q=[];for(let V=W;V.lte(j);V=V.add(1))Q.push({id:V,receipt:F,data:()=>this.erc721.getTokenMetadata(V)});return Q}})}));ae(this,"reveal",be(async(e,n)=>{if(!n)throw new Error("Password is required");let a=await this.contractWrapper.getChainID(),r=dr.utils.solidityKeccak256(["string","uint256","uint256","address"],[n,a,e,this.contractWrapper.address]);try{let f=await this.contractWrapper.callStatic().reveal(e,r);if(!f.includes("://")||!f.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,r]})}));this.erc721=e,this.contractWrapper=n,this.storage=a}async getMetadataInTier(e){let a=(await this.contractWrapper.read("getMetadataForAllTiers",[])).find(f=>f.tier===e);if(!a)throw new Error("Tier not found in contract.");return await Promise.all(a.ranges.map((f,i)=>{let s=[],o=a.baseURIs[i];for(let c=f.startIdInclusive.toNumber();c{let i=[];for(let s=f.startIdInclusive.toNumber();sxrn.parseAsync(f))),a=await this.contractWrapper.getChainID(),r=this.contractWrapper.getSigner();return d0(r,"No signer available"),await Promise.all(n.map(async f=>{let i=await this.contractWrapper.signTypedData(r,{name:"SignatureAction",version:"1",chainId:a,verifyingContract:this.contractWrapper.address},{GenericRequest:Ern},await this.mapPayloadToContractStruct(f));return{payload:f,signature:i.toString()}}))}async verify(e){let n=await this.mapPayloadToContractStruct(e.payload);return(await this.contractWrapper.read("verify",[n,e.signature]))[0]}async claimWithSignature(e){let n=await this.mapPayloadToContractStruct(e.payload),a=await ta(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await c1(this.contractWrapper,a,e.payload.currencyAddress,r);let f=await this.contractWrapper.sendTransaction("claimWithSignature",[n,e.signature],r),i=this.contractWrapper.parseLogs("TokensClaimed",f?.logs),s=i[0].args.startTokenId,o=s.add(i[0].args.quantityClaimed),c=[];for(let d=s;d.lt(o);d=d.add(1))c.push({id:d,receipt:f,data:()=>this.erc721.get(d)});return c}async mapPayloadToContractStruct(e){let n=await ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress),a=dr.utils.defaultAbiCoder.encode(["string[]","address","address","uint256","address","uint256","uint256","address"],[e.tierPriority,e.to,e.royaltyRecipient,e.royaltyBps,e.primarySaleRecipient,e.quantity,n,e.currencyAddress]);return{uid:e.uid,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,data:a}}},pb=class{constructor(e,n){ae(this,"featureName",DM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,r=await this.contractWrapper.getCallOverrides(),f=i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return{id:s[0].args.tokenIdMinted,receipt:i}};if(await this.isLegacyNFTContract()){let i=await this.mapLegacyPayloadToContractStruct(n),s=i.price;return await c1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}else{let i=await this.mapPayloadToContractStruct(n),s=i.pricePerToken.mul(i.quantity);return await c1(this.contractWrapper,s,n.currencyAddress,r),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[i,a],overrides:r,parse:f})}}));ae(this,"mintBatch",be(async e=>{let n=await this.isLegacyNFTContract(),a=(await Promise.all(e.map(i=>n?this.mapLegacyPayloadToContractStruct(i.payload):this.mapPayloadToContractStruct(i.payload)))).map((i,s)=>{let o=e[s],c=o.signature,d=o.payload.price;if(dr.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:i,signature:c}}),r=new it(this.contractWrapper),f=a.map(i=>n?r.encode("mintWithSignature",[i.message,i.signature]):r.encode("mintWithSignature",[i.message,i.signature]));if(wr("multicall",this.contractWrapper))return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f],parse:i=>{let s=this.contractWrapper.parseLogs("TokensMintedWithSignature",i.logs);if(s.length===0)throw new Error("No MintWithSignature event found");return s.map(o=>({id:o.args.tokenIdMinted,receipt:i}))}});throw new Error("Multicall not available on this contract!")}));this.contractWrapper=e,this.storage=n}async verify(e){let n=await this.isLegacyNFTContract(),a=e.payload,r=e.signature,f,i;return n?(f=await this.mapLegacyPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])):(f=await this.mapPayloadToContractStruct(a),i=await this.contractWrapper.read("verify",[f,r])),i[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){let n=await this.isLegacyNFTContract(),a=await Promise.all(e.map(o=>ur0.parseAsync(o))),r=a.map(o=>o.metadata),f=await Pl(r,this.storage),i=await this.contractWrapper.getChainID(),s=this.contractWrapper.getSigner();return d0(s,"No signer available"),await Promise.all(a.map(async(o,c)=>{let d=f[c],l=await pr0.parseAsync({...o,uri:d}),h;return n?h=await this.contractWrapper.signTypedData(s,{name:"TokenERC721",version:"1",chainId:i,verifyingContract:this.contractWrapper.address},{MintRequest:mr0},await this.mapLegacyPayloadToContractStruct(l)):h=await this.contractWrapper.signTypedData(s,{name:"SignatureMintERC721",version:"1",chainId:i,verifyingContract:await this.contractWrapper.address},{MintRequest:yr0},await this.mapPayloadToContractStruct(l)),{payload:l,signature:h.toString()}}))}async mapPayloadToContractStruct(e){let n=await ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient,uri:e.uri,quantity:e.quantity,pricePerToken:n,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid}}async mapLegacyPayloadToContractStruct(e){let n=await ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,price:n,uri:e.uri,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}async isLegacyNFTContract(){return k0(this.contractWrapper,"ERC721SignatureMintV1")}},kE=class{constructor(e,n,a){ae(this,"featureName",RE.name);ae(this,"transfer",be(async(e,n)=>{let[a,r]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[a,r,n]})}));ae(this,"transferFrom",be(async(e,n,a)=>{let[r,f]=await Promise.all([Oe(e),Oe(n)]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[r,f,a]})}));ae(this,"setApprovalForAll",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Oe(e),n]})));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));ae(this,"mint",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,BM).to.prepare(e,n)));ae(this,"mintBatch",be(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintBatchTo",be(async(e,n)=>O0(this.mintable?.batch,MM).to.prepare(e,n)));ae(this,"burn",be(async e=>O0(this.burnable,CM).token.prepare(e)));ae(this,"cancel",be(async e=>O0(this.loyaltyCard,hb).cancel.prepare(e)));ae(this,"revoke",be(async e=>O0(this.loyaltyCard,hb).revoke.prepare(e)));ae(this,"lazyMint",be(async(e,n)=>O0(this.lazyMintable,RM).lazyMint.prepare(e,n)));ae(this,"updateMetadata",be(async(e,n)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,n):O0(this.updatableMetadata,C9).update.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(async(e,n,a)=>{let r=this.claimWithConditions,f=this.claimCustom,i=this.claimZora;if(r)return r.to.prepare(e,n,a);if(f)return f.to.prepare(e,n,a);if(i)return i.to.prepare(e,n,a);throw new Z1(SE)}));this.contractWrapper=e,this.storage=n,this.query=this.detectErc721Enumerable(),this.mintable=this.detectErc721Mintable(),this.burnable=this.detectErc721Burnable(),this.lazyMintable=this.detectErc721LazyMintable(),this.tieredDropable=this.detectErc721TieredDrop(),this.signatureMintable=this.detectErc721SignatureMintable(),this.claimWithConditions=this.detectErc721ClaimableWithConditions(),this.claimCustom=this.detectErc721Claimable(),this.claimZora=this.detectErc721ClaimableZora(),this.erc721SharedMetadata=this.detectErc721SharedMetadata(),this.loyaltyCard=this.detectErc721LoyaltyCard(),this.updatableMetadata=this.detectErc721UpdatableMetadata(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[n,a]=await Promise.all([this.ownerOf(e).catch(()=>dr.constants.AddressZero),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...sE}))]);return{owner:n,metadata:a,type:"ERC721",supply:"1"}}async ownerOf(e){return await this.contractWrapper.read("ownerOf",[e])}async balanceOf(e){return await this.contractWrapper.read("balanceOf",[await Oe(e)])}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async isApproved(e,n){let[a,r]=await Promise.all([Oe(e),Oe(n)]);return await this.contractWrapper.read("isApprovedForAll",[a,r])}async getAll(e){return O0(this.query,I9).all(e)}async getAllOwners(e){return O0(this.query,I9).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return O0(this.query,I9).totalCirculatingSupply()}async getOwned(e,n){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.all(e,n);{let[a,r]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners(n)]),f=(r||[]).filter(i=>a?.toLowerCase()===i.owner?.toLowerCase());return await Promise.all(f.map(async i=>this.get(i.tokenId)))}}async getOwnedTokenIds(e){if(e&&(e=await Oe(e)),this.query?.owned)return this.query.owned.tokenIds(e);{let[n,a]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners()]);return(a||[]).filter(r=>n?.toLowerCase()===r.owner?.toLowerCase()).map(r=>dr.BigNumber.from(r.tokenId))}}async getMintTransaction(e,n){return this.mintTo.prepare(e,n)}async update(e,n){return this.updateMetadata(e,n)}async getClaimTransaction(e,n,a){let r=this.claimWithConditions,f=this.claimCustom;if(r)return r.conditions.getClaimTransaction(e,n,a);if(f)return f.getClaimTransaction(e,n,a);throw new Z1(SE)}async totalClaimedSupply(){let e=this.contractWrapper;if(wr("totalMinted",e))return this.contractWrapper.read("totalMinted",[]);if(wr("nextTokenIdToClaim",e))return this.contractWrapper.read("nextTokenIdToClaim",[]);throw new Error("No function found on contract to get total claimed supply")}async totalUnclaimedSupply(){let[e,n]=await Promise.all([this.nextTokenIdToMint(),this.totalClaimedSupply()]);return e.sub(n)}get claimConditions(){return O0(this.claimWithConditions,SM).conditions}get tieredDrop(){return O0(this.tieredDropable,kM)}get signature(){return O0(this.signatureMintable,DM)}get revealer(){return O0(this.lazyMintable?.revealer,nh)}get sharedMetadata(){return O0(this.erc721SharedMetadata,PM)}async getTokenMetadata(e){let n=await this.contractWrapper.read("tokenURI",[e]);if(!n)throw new x9;return dM(e,n,this.storage)}async nextTokenIdToMint(){if(wr("nextTokenIdToMint",this.contractWrapper)){let e=await this.contractWrapper.read("nextTokenIdToMint",[]);return wr("startTokenId",this.contractWrapper)&&(e=e.sub(await this.contractWrapper.read("startTokenId",[]))),e}else{if(wr("totalSupply",this.contractWrapper))return await this.contractWrapper.read("totalSupply",[]);throw new Error("Contract requires either `nextTokenIdToMint` or `totalSupply` function available to determine the next token ID to mint")}}detectErc721Enumerable(){if(k0(this.contractWrapper,"ERC721Supply")||wr("nextTokenIdToMint",this.contractWrapper))return new Z6e(this,this.contractWrapper)}detectErc721Mintable(){if(k0(this.contractWrapper,"ERC721Mintable"))return new Y6e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(k0(this.contractWrapper,"ERC721Burnable"))return new z6e(this.contractWrapper)}detectErc721LazyMintable(){if(k0(this.contractWrapper,"ERC721LazyMintable"))return new G6e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(k0(this.contractWrapper,"ERC721TieredDrop"))return new ede(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(k0(this.contractWrapper,"ERC721SignatureMintV1")||k0(this.contractWrapper,"ERC721SignatureMintV2"))return new pb(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(k0(this.contractWrapper,"ERC721ClaimConditionsV1")||k0(this.contractWrapper,"ERC721ClaimConditionsV2")||k0(this.contractWrapper,"ERC721ClaimPhasesV1")||k0(this.contractWrapper,"ERC721ClaimPhasesV2"))return new W6e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(k0(this.contractWrapper,"ERC721ClaimCustom"))return new j6e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(k0(this.contractWrapper,"ERC721ClaimZora"))return new q6e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(k0(this.contractWrapper,"ERC721SharedMetadata"))return new $6e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(k0(this.contractWrapper,"ERC721LoyaltyCard"))return new K6e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(k0(this.contractWrapper,"ERC721UpdatableMetadata"))return new Q6e(this.contractWrapper,this.storage)}}});var w2,LM=oe(()=>{"use strict";u();p();ln();Da();IM();w2=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc721.transfer.prepare(e,n)));ae(this,"setApprovalForAll",be(async(e,n)=>this.erc721.setApprovalForAll.prepare(e,n)));ae(this,"setApprovalForToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Oe(e),n]})));this.contractWrapper=e,this.storage=n,this.erc721=new kE(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAll(e){return this.erc721.getAll(e)}async getOwned(e,n){return e&&(e=await Oe(e)),this.erc721.getOwned(e,n)}async getOwnedTokenIds(e){return e&&(e=await Oe(e)),this.erc721.getOwnedTokenIds(e)}async totalSupply(){return this.erc721.totalCirculatingSupply()}async get(e){return this.erc721.get(e)}async ownerOf(e){return this.erc721.ownerOf(e)}async balanceOf(e){return this.erc721.balanceOf(e)}async balance(){return this.erc721.balance()}async isApproved(e,n){return this.erc721.isApproved(e,n)}}});var jr0={};G0(jr0,{Multiwrap:()=>tde});var qr0,k_a,S_a,M_a,PG,tde,Gr0=oe(()=>{"use strict";u();p();qr0=Ee(Je());or();H6e();i5();ln();_M();Ll();Da();Rf();Nl();Vc();LM();ir();k_a=Ee(Va()),S_a=Ee(io());W0();M_a=Ee(Yc()),PG=class PG extends w2{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"wrap",be(async(n,a,r)=>{let[f,i,s]=await Promise.all([J8(a,this.storage),this.toTokenStructList(n),Oe(r||await this.contractWrapper.getSignerAddress())]);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"wrap",args:[i,f,s],parse:o=>{let c=this.contractWrapper.parseLogs("TokensWrapped",o?.logs);if(c.length===0)throw new Error("TokensWrapped event not found");let d=c[0].args.tokenIdOfWrappedToken;return{id:d,receipt:o,data:()=>this.get(d)}}})}));ae(this,"unwrap",be(async(n,a)=>{let r=await Oe(a||await this.contractWrapper.getSignerAddress());return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"unwrap",args:[n,r]})}));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,nde,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,PG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.royalties=new Ss(this.contractWrapper,this.metadata),this.owner=new Rs(this.contractWrapper)}async getWrappedContents(n){let a=await this.contractWrapper.read("getWrappedContents",[n]),r=[],f=[],i=[];for(let s of a)switch(s.tokenType){case 0:{let o=await Pi(this.contractWrapper.getProvider(),s.assetContract);r.push({contractAddress:s.assetContract,quantity:qr0.utils.formatUnits(s.totalAmount,o.decimals)});break}case 1:{f.push({contractAddress:s.assetContract,tokenId:s.tokenId});break}case 2:{i.push({contractAddress:s.assetContract,tokenId:s.tokenId,quantity:s.totalAmount.toString()});break}}return{erc20Tokens:r,erc721Tokens:f,erc1155Tokens:i}}async toTokenStructList(n){let a=[],r=this.contractWrapper.getProvider(),f=await this.contractWrapper.getSignerAddress();if(n.erc20Tokens)for(let i of n.erc20Tokens){let s=await ta(r,i.quantity,i.contractAddress);if(!await RG(this.contractWrapper,i.contractAddress,s))throw new Error(`ERC20 token with contract address "${i.contractAddress}" does not have enough allowance to transfer. +contract.claimConditions.set([{ snapshot: [{ address: '0x...', maxClaimable: 1 }], maxClaimablePerWallet: 0 }])`);if(y.snapshot&&y.snapshot.length>0&&y.maxClaimablePerWallet?.toString()==="0"&&y.snapshot.map(h=>typeof h=="string"?0:Number(h.maxClaimable?.toString()||0)).reduce((h,T)=>h+T,0)===0)throw new Error("maxClaimablePerWallet is set to 0, and all addresses in the allowlist have max claimable 0. This means that no one can claim.")});let{snapshotInfos:i,sortedConditions:s}=await NH(r,await e.getTokenDecimals(),e.contractWrapper.getProvider(),e.storage,e.getSnapshotFormatVersion()),f={};i.forEach(y=>{f[y.merkleRoot]=y.snapshotUri});let o=await e.metadata.get(),c=[];if(!(0,dnt.default)(o.merkle,f)){let y=await e.metadata.parseInputMetadata({...o,merkle:f}),h=await e.metadata._parseAndUploadMetadata(y);if(cr("setContractURI",e.contractWrapper)){let T=new r0(e.contractWrapper);c.push(T.encode("setContractURI",[h]))}else throw new Error("Setting a merkle root requires implementing ContractMetadata in your contract to support storing a merkle root.")}let d=e.contractWrapper,l=new r0(d);if(e.isLegacySinglePhaseDrop(d)){let y=new r0(d);c.push(y.encode("setClaimConditions",[sw(s[0]),a]))}else if(e.isLegacyMultiPhaseDrop(d))c.push(l.encode("setClaimConditions",[s.map(sw),a]));else if(e.isNewSinglePhaseDrop(d))c.push(l.encode("setClaimConditions",[fw(s[0]),a]));else if(e.isNewMultiphaseDrop(d))c.push(l.encode("setClaimConditions",[s.map(fw),a]));else throw new Error("Contract does not support claim conditions");if(cr("multicall",e.contractWrapper))return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"multicall",args:[c]});throw new Error("Contract does not support multicall")}})()));Z(this,"update",ye(async(e,t)=>{let a=await this.getAll(),r=await FH(e,t,a);return await this.set.prepare(r)}));this.storage=a,this.contractWrapper=e,this.metadata=t}async getActive(e){let[t,a,r]=await Promise.all([this.get(),this.metadata.get(),this.getTokenDecimals()]);return await dw(t,r,this.contractWrapper.getProvider(),a.merkle||{},this.storage,e?.withAllowList||!1)}async get(e){if(this.isLegacySinglePhaseDrop(this.contractWrapper)){let t=await this.contractWrapper.read("claimCondition",[]);return ow(t)}else if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){let t=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[t]);return ow(a)}else if(this.isNewSinglePhaseDrop(this.contractWrapper)){let t=await this.contractWrapper.read("claimCondition",[]);return cw(t)}else if(this.isNewMultiphaseDrop(this.contractWrapper)){let t=e!==void 0?e:await this.contractWrapper.read("getActiveClaimConditionId",[]),a=await this.contractWrapper.read("getClaimConditionById",[t]);return cw(a)}else throw new Error("Contract does not support claim conditions")}async getAll(e){if(this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let[t,a]=await this.contractWrapper.read("claimCondition",[]),r=t.toNumber(),i=a.toNumber(),s=[];for(let d=r;ddw(d,o,this.contractWrapper.getProvider(),f.merkle,this.storage,e?.withAllowList||!1)))}else return[await this.getActive(e)]}async canClaim(e,t){return t&&(t=await Pe(t)),(await this.getClaimIneligibilityReasons(e,t)).length===0}async getClaimIneligibilityReasons(e,t){let a=[],r,i;if(t===void 0)try{t=await this.contractWrapper.getSignerAddress()}catch(y){console.warn("failed to get signer address",y)}if(!t)return[Nn.NoWallet];let[s,f]=await Promise.all([Pe(t),this.getTokenDecimals()]),o=Yf.utils.parseUnits(Kr.parse(e),f);try{i=await this.getActive()}catch(y){return gy(y,"!CONDITION")||gy(y,"no active mint condition")||gy(y,"DropNoActiveCondition")?(a.push(Nn.NoClaimConditionSet),a):(console.warn("failed to get active claim condition",y),a.push(Nn.Unknown),a)}if(i.availableSupply!=="unlimited"&&Yf.utils.parseUnits(i.availableSupply,f).lt(o))return a.push(Nn.NotEnoughSupply),a;let d=Yf.utils.stripZeros(i.merkleRootHash).length>0,l=null;if(d){if(l=await this.getClaimerProofs(s),!l&&(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)))return a.push(Nn.AddressNotAllowed),a;if(l)try{let y=await this.prepareClaim(e,!1,f,s),h;if(this.isLegacyMultiPhaseDrop(this.contractWrapper)){if(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[h]=await this.contractWrapper.read("verifyClaimMerkleProof",[r,s,e,y.proofs,y.maxClaimable]),!h)return a.push(Nn.AddressNotAllowed),a}else if(this.isLegacySinglePhaseDrop(this.contractWrapper)){if([h]=await this.contractWrapper.read("verifyClaimMerkleProof",[s,e,{proof:y.proofs,maxQuantityInAllowlist:y.maxClaimable}]),!h)return a.push(Nn.AddressNotAllowed),a}else this.isNewSinglePhaseDrop(this.contractWrapper)?await this.contractWrapper.read("verifyClaim",[s,e,y.currencyAddress,y.price,{proof:y.proofs,quantityLimitPerWallet:y.maxClaimable,currency:y.currencyAddressInProof,pricePerToken:y.priceInProof}]):this.isNewMultiphaseDrop(this.contractWrapper)&&(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),await this.contractWrapper.read("verifyClaim",[r,s,e,y.currencyAddress,y.price,{proof:y.proofs,quantityLimitPerWallet:y.maxClaimable,currency:y.currencyAddressInProof,pricePerToken:y.priceInProof}]))}catch(y){switch(console.warn("Merkle proof verification failed:","reason"in y?y.reason||y.errorName:y),y.reason||y.errorName){case"!Qty":case"DropClaimExceedLimit":a.push(Nn.OverMaxClaimablePerWallet);break;case"!PriceOrCurrency":case"DropClaimInvalidTokenPrice":a.push(Nn.WrongPriceOrCurrency);break;case"!MaxSupply":case"DropClaimExceedMaxSupply":a.push(Nn.NotEnoughSupply);break;case"cant claim yet":case"DropClaimNotStarted":a.push(Nn.ClaimPhaseNotStarted);break;default:{a.push(Nn.AddressNotAllowed);break}}return a}}if(this.isNewSinglePhaseDrop(this.contractWrapper)||this.isNewMultiphaseDrop(this.contractWrapper)){let y=Yf.BigNumber.from(0),h=B6(i.maxClaimablePerWallet,f);try{y=await this.getSupplyClaimedByWallet(s)}catch{}if(l&&(h=B6(l.maxClaimable,f)),h.gt(0)&&h.lt(y.add(o)))return a.push(Nn.OverMaxClaimablePerWallet),a;if((!d||d&&!l)&&(h.lte(y)||h.eq(0)))return a.push(Nn.AddressNotAllowed),a}if(this.isLegacySinglePhaseDrop(this.contractWrapper)||this.isLegacyMultiPhaseDrop(this.contractWrapper)){let[y,h]=[Yf.BigNumber.from(0),Yf.BigNumber.from(0)];this.isLegacyMultiPhaseDrop(this.contractWrapper)?(r=await this.contractWrapper.read("getActiveClaimConditionId",[]),[y,h]=await this.contractWrapper.read("getClaimTimestamp",[r,s])):this.isLegacySinglePhaseDrop(this.contractWrapper)&&([y,h]=await this.contractWrapper.read("getClaimTimestamp",[s]));let T=Yf.BigNumber.from(Date.now()).div(1e3);if(y.gt(0)&&T.lt(h))return h.eq(Yf.constants.MaxUint256)?a.push(Nn.AlreadyClaimed):a.push(Nn.WaitBeforeNextClaimTransaction),a}if(i.price.gt(0)&&zH()){let y=i.price.mul(Yf.BigNumber.from(e)),h=this.contractWrapper.getProvider();if(ai(i.currencyAddress))(await h.getBalance(s)).lt(y)&&a.push(Nn.NotEnoughTokens);else{let T=(await Promise.resolve().then(()=>Te(D1()))).default;(await new f0(h,i.currencyAddress,T,{},this.storage).read("balanceOf",[s])).lt(y)&&a.push(Nn.NotEnoughTokens)}}return a}async getClaimerProofs(e,t){let r=(await this.get(t)).merkleRoot;if(Yf.utils.stripZeros(r).length>0){let[s,f]=await Promise.all([this.metadata.get(),Pe(e)]);return await UA(f,r.toString(),s.merkle,this.contractWrapper.getProvider(),this.storage,this.getSnapshotFormatVersion())}else return null}async getSupplyClaimedByWallet(e){let t=await Pe(e);if(this.isNewSinglePhaseDrop(this.contractWrapper))return await this.contractWrapper.read("getSupplyClaimedByWallet",[t]);if(this.isNewMultiphaseDrop(this.contractWrapper)){let a=await this.contractWrapper.read("getActiveClaimConditionId",[]);return await this.contractWrapper.read("getSupplyClaimedByWallet",[a,t])}throw new Error("This contract does not support the getSupplyClaimedByWallet function")}async getTokenDecimals(){return gt(this.contractWrapper,"ERC20")?this.contractWrapper.read("decimals",[]):Promise.resolve(0)}async prepareClaim(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,[i,s]=await Promise.all([r||this.contractWrapper.getSignerAddress(),this.getActive()]);return BH(i,e,s,async()=>(await this.metadata.get()).merkle,a,this.contractWrapper,this.storage,t,this.getSnapshotFormatVersion())}async getClaimArguments(e,t,a){let r=await Pe(e);return this.isLegacyMultiPhaseDrop(this.contractWrapper)?[r,t,a.currencyAddress,a.price,a.proofs,a.maxClaimable]:this.isLegacySinglePhaseDrop(this.contractWrapper)?[r,t,a.currencyAddress,a.price,{proof:a.proofs,maxQuantityInAllowlist:a.maxClaimable},Yf.utils.toUtf8Bytes("")]:[r,t,a.currencyAddress,a.price,{proof:a.proofs,quantityLimitPerWallet:a.maxClaimable,pricePerToken:a.priceInProof,currency:a.currencyAddressInProof},Yf.utils.toUtf8Bytes("")]}async getClaimTransaction(e,t,a){if(a?.pricePerToken)throw new Error("Price per token is be set via claim conditions by calling `contract.erc721.claimConditions.set()`");let r=await this.prepareClaim(t,a?.checkERC20Allowance===void 0?!0:a.checkERC20Allowance,await this.getTokenDecimals());return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:await this.getClaimArguments(e,t,r),overrides:r.overrides})}isNewSinglePhaseDrop(e){return gt(e,"ERC721ClaimConditionsV2")||gt(e,"ERC20ClaimConditionsV2")}isNewMultiphaseDrop(e){return gt(e,"ERC721ClaimPhasesV2")||gt(e,"ERC20ClaimPhasesV2")}isLegacySinglePhaseDrop(e){return gt(e,"ERC721ClaimConditionsV1")||gt(e,"ERC20ClaimConditionsV1")}isLegacyMultiPhaseDrop(e){return gt(e,"ERC721ClaimPhasesV1")||gt(e,"ERC20ClaimPhasesV1")}getSnapshotFormatVersion(){return this.isLegacyMultiPhaseDrop(this.contractWrapper)||this.isLegacySinglePhaseDrop(this.contractWrapper)?by.V1:by.V2}}});function Xtn(n){return Ja.utils.parseEther(Kr.parse(n))}var Ja,R1e,L1e,M1e,B1e,N1e,F1e,O1e,V1e,$1e,U1e,q1e,H1e,z1e,Ztn,e0n,W1e,C3,Ew,ek=ce(()=>{"use strict";p();u();Ja=Te(Ue());sn();fp();hi();sp();Ia();Iw();op();Qa();w_();F5();Ga();M6();wl();k7();R1e=class{constructor(e){Z(this,"featureName",tk.name);Z(this,"token",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[e]})));this.contractWrapper=e}},L1e=class{constructor(e,t,a){Z(this,"featureName",ak.name);Z(this,"to",ye(async(e,t,a)=>{let r=await this.conditions.getClaimTransaction(e,t,a);return r.setParse(i=>{let f=this.contractWrapper.parseLogs("TokensClaimed",i?.logs)[0].args.startTokenId,o=f.add(t),c=[];for(let d=f;d.lt(o);d=d.add(1))c.push({id:d,receipt:i,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=t,this.storage=a;let r=new Bn(this.contractWrapper,dp,this.storage);this.conditions=new N6(this.contractWrapper,r,this.storage)}};M1e=class{constructor(e,t){Z(this,"featureName",iz.name);Z(this,"to",ye(async(e,t,a)=>{let r=await this.contractWrapper.getSigner()?.getAddress();if(e!==r)throw new Error("Zora Drop: Destination address must match connected wallet address");if(a?.pricePerToken)throw new Error("Zora Drop: Custom pricePerToken is not supported. Price is automatically calculated");let s=(await this.getSaleDetails()).publicSalePrice,f=Xtn("0.000777"),o=Ja.BigNumber.from(s).add(f).mul(t),c=De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"purchase",args:[t],overrides:{value:o}});return c.setParse(d=>{let y=this.contractWrapper.parseLogs("Sale",d?.logs)[0].args.firstPurchasedTokenId,h=y.add(t),T=[];for(let A=y;A.lt(h);A=A.add(1))T.push({id:A,receipt:d,data:()=>this.erc721.get(A)});return T}),c}));this.erc721=e,this.contractWrapper=t}async getSaleDetails(){return this.contractWrapper.read("saleDetails",[])}},B1e=class{constructor(e,t){Z(this,"featureName",Dw.name);Z(this,"to",ye(async(e,t,a)=>{let r=await this.getClaimTransaction(e,t,a);return r.setParse(i=>{let f=this.contractWrapper.parseLogs("TokensClaimed",i?.logs)[0].args.startTokenId,o=f.add(t),c=[];for(let d=f;d.lt(o);d=d.add(1))c.push({id:d,receipt:i,data:()=>this.erc721.get(d)});return c}),r}));this.erc721=e,this.contractWrapper=t}async getClaimTransaction(e,t,a){let r={};return a&&a.pricePerToken&&(r=await HH(this.contractWrapper,a.pricePerToken,t,a.currencyAddress,a.checkERC20Allowance)),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"claim",args:[e,t],overrides:r})}},N1e=class{constructor(e,t,a){Z(this,"featureName",rk.name);Z(this,"lazyMint",ye(async(e,t)=>{let a=await this.erc721.nextTokenIdToMint(),r=await ip(e,this.storage,a.toNumber(),t),i=y3(r);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[r.length,i.endsWith("/")?i:`${i}/`,Ja.utils.toUtf8Bytes("")],parse:s=>{let f=this.contractWrapper.parseLogs("TokensLazyMinted",s?.logs),o=f[0].args.startTokenId,c=f[0].args.endTokenId,d=[];for(let l=o;l.lte(c);l=l.add(1))d.push({id:l,receipt:s,data:()=>this.erc721.getTokenMetadata(l)});return d}})}));Z(this,"updateMetadata",ye(async(e,t,a)=>{let r=await this.contractWrapper.read("getBaseURICount",[]);if(r.eq(0))throw new Error("No base URI set. Please set a base URI before updating metadata");let i=Ja.BigNumber.from(e),s=Ja.BigNumber.from(0),f=Ja.BigNumber.from(0),o=0;for(let T=0;TA+s.toNumber()),d=await Promise.all(c.map(T=>this.erc721.getTokenMetadata(T))),l=[];for(let T=0;Tthis.erc721.nextTokenIdToMint())}},F1e=class{constructor(e){Z(this,"featureName",S3.name);Z(this,"cancel",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"cancel",args:[e]})));Z(this,"revoke",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"revoke",args:[e]})));this.contractWrapper=e}},O1e=class{constructor(e,t){Z(this,"featureName",F7.name);Z(this,"update",ye(async(e,t)=>{let a=await my(t,this.storage);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setTokenURI",args:[e,a]})}));this.contractWrapper=e,this.storage=t}},V1e=class{constructor(e,t,a){Z(this,"featureName",ik.name);Z(this,"to",ye(async(e,t)=>{let[a,r]=await Promise.all([ip(t,this.storage),Pe(e)]),i=new r0(this.contractWrapper),s=a.map(f=>i.encode("mintTo",[r,f]));return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[s],parse:f=>{let o=this.contractWrapper.parseLogs("TokensMinted",f.logs);if(o.length===0||o.length{let d=c.args.tokenIdMinted;return{id:d,receipt:f,data:()=>this.erc721.get(d)}})}})}));this.erc721=e,this.contractWrapper=t,this.storage=a}},$1e=class{constructor(e,t,a){Z(this,"featureName",sk.name);Z(this,"to",ye(async(e,t)=>{let[a,r]=await Promise.all([my(t,this.storage),Pe(e)]);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:[r,a],parse:i=>{let s=this.contractWrapper.parseLogs("Transfer",i?.logs);if(s.length===0)throw new Error("TransferEvent event not found");let f=s[0].args.tokenId;return{id:f,receipt:i,data:()=>this.erc721.get(f)}}})}));this.erc721=e,this.contractWrapper=t,this.storage=a,this.batch=this.detectErc721BatchMintable()}async getMintTransaction(e,t){return this.to.prepare(await Pe(e),t)}detectErc721BatchMintable(){if(gt(this.contractWrapper,"ERC721BatchMintable"))return new V1e(this.erc721,this.contractWrapper,this.storage)}},U1e=class{constructor(e,t){Z(this,"featureName",ok.name);Z(this,"set",ye(async e=>{let t=i1e.parse(e);t.description=this.sanitizeJSONString(t.description);let a=[];zm(t.image)?a.push(this.storage.upload(t.image)):typeof t.image=="string"?a.push(Promise.resolve(t.image)):a.push(Promise.resolve(void 0)),zm(t.animation_url)?a.push(this.storage.upload(t.animation_url)):typeof t.animation_url=="string"?a.push(Promise.resolve(t.animation_url)):a.push(Promise.resolve(void 0));let[r,i]=await Promise.all(a);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setSharedMetadata",args:[{name:`${t.name||""}`,description:t.description||"",imageURI:r||"",animationURI:i||""}]})}));this.contractWrapper=e,this.storage=t}async get(){let e=await this.contractWrapper.read("sharedMetadata",[]);if(!e.every(t=>t===""))return{name:e.name,description:e.description,image:e.imageURI,animation_url:e.animationURI}}sanitizeJSONString(e){if(!e)return e;let t=JSON.stringify(e);return t.slice(1,t.length-1)}},q1e=class{constructor(e,t){Z(this,"featureName",sz.name);this.erc721=e,this.contractWrapper=t}async all(e,t){let a=await this.tokenIds(e);if(t){let r=t?.start||0,i=t?.count||Ts;a=a.slice(r,r+i)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let t=await Pe(e||await this.contractWrapper.getSignerAddress()),a=await this.contractWrapper.read("balanceOf",[t]),r=Array.from(Array(a.toNumber()).keys());return await Promise.all(r.map(i=>this.contractWrapper.read("tokenOfOwnerByIndex",[t,i])))}},H1e=class{constructor(e,t){Z(this,"featureName",fz.name);this.erc721=e,this.contractWrapper=t}async all(e,t){let a=await this.tokenIds(e);if(t){let r=t?.start||0,i=t?.count||Ts;a=a.slice(r,r+i)}return await Promise.all(a.map(r=>this.erc721.get(r.toString())))}async tokenIds(e){let t=await Pe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("tokensOfOwner",[t])}},z1e=class{constructor(e,t){Z(this,"featureName",N7.name);this.erc721=e,this.contractWrapper=t,this.owned=this.detectErc721Owned()}async all(e){let t=Ja.BigNumber.from(0);cr("startTokenId",this.contractWrapper)&&(t=await this.contractWrapper.read("startTokenId",[]));let a=Ja.BigNumber.from(e?.start||0).add(t).toNumber(),r=Ja.BigNumber.from(e?.count||Ts).toNumber(),i=await this.erc721.nextTokenIdToMint(),s=Math.min(i.add(t).toNumber(),a+r);return await Promise.all([...Array(s-a).keys()].map(f=>this.erc721.get((a+f).toString())))}async allOwners(e){let t,a=Ja.BigNumber.from(0);cr("startTokenId",this.contractWrapper)&&(a=await this.contractWrapper.read("startTokenId",[]));try{t=await this.erc721.totalClaimedSupply()}catch{t=await this.totalCount()}t=t.add(a);let r=[...new Array(t.toNumber()).keys()];if(e){let s=e?.start||0,f=e?.count||Ts;r=r.slice(s,s+f)}let i=await Promise.all(r.map(s=>this.erc721.ownerOf(s).catch(()=>Ja.constants.AddressZero)));return r.map(s=>({tokenId:s,owner:i[s]})).filter(s=>s.owner!==Ja.constants.AddressZero)}async totalCount(){return await this.erc721.nextTokenIdToMint()}async totalCirculatingSupply(){return await this.contractWrapper.read("totalSupply",[])}detectErc721Owned(){if(gt(this.contractWrapper,"ERC721Enumerable"))return new q1e(this.erc721,this.contractWrapper);if(gt(this.contractWrapper,"ERC721AQueryable"))return new H1e(this.erc721,this.contractWrapper)}},Ztn=VH.extend({tierPriority:re.array(re.string()),royaltyRecipient:Kn.default(Ja.constants.AddressZero),royaltyBps:b3.default(0),quantity:Os.default(1)}),e0n=[{name:"validityStartTimestamp",type:"uint128"},{name:"validityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"},{name:"data",type:"bytes"}],W1e=class{constructor(e,t,a){Z(this,"featureName",nk.name);Z(this,"createBatchWithTier",ye(async(e,t,a)=>{let r=await this.erc721.nextTokenIdToMint(),i=await ip(e,this.storage,r.toNumber(),a),s=y3(i);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[i.length,s.endsWith("/")?s:`${s}/`,t,Ja.utils.toUtf8Bytes("")],parse:f=>{let o=this.contractWrapper.parseLogs("TokensLazyMinted",f?.logs),c=o[0].args[1],d=o[0].args[2],l=[];for(let y=c;y.lte(d);y=y.add(1))l.push({id:y,receipt:f,data:()=>this.erc721.getTokenMetadata(y)});return l}})}));Z(this,"createDelayedRevealBatchWithTier",ye(async(e,t,a,r,i)=>{if(!a)throw new Error("Password is required");let s=await this.storage.uploadBatch([rp.parse(e)],{rewriteFileNames:{fileStartNumber:0}}),f=y3(s),o=await this.erc721.nextTokenIdToMint(),c=await this.storage.uploadBatch(t.map(N=>rp.parse(N)),{onProgress:i?.onProgress,rewriteFileNames:{fileStartNumber:o.toNumber()}}),d=y3(c),l=await this.contractWrapper.read("getBaseURICount",[]),y=await this.contractWrapper.getChainID(),h=Ja.utils.solidityKeccak256(["string","uint256","uint256","address"],[a,y,l,this.contractWrapper.address]),T=await this.contractWrapper.read("encryptDecrypt",[Ja.utils.toUtf8Bytes(d),h]),A=Ja.utils.solidityKeccak256(["bytes","bytes","uint256"],[Ja.utils.toUtf8Bytes(d),h,y]),O=Ja.utils.defaultAbiCoder.encode(["bytes","bytes32"],[T,A]);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"lazyMint",args:[c.length,f.endsWith("/")?f:`${f}/`,r,O],parse:N=>{let U=this.contractWrapper.parseLogs("TokensLazyMinted",N?.logs),q=U[0].args[1],W=U[0].args[2],G=[];for(let X=q;X.lte(W);X=X.add(1))G.push({id:X,receipt:N,data:()=>this.erc721.getTokenMetadata(X)});return G}})}));Z(this,"reveal",ye(async(e,t)=>{if(!t)throw new Error("Password is required");let a=await this.contractWrapper.getChainID(),r=Ja.utils.solidityKeccak256(["string","uint256","uint256","address"],[t,a,e,this.contractWrapper.address]);try{let i=await this.contractWrapper.callStatic().reveal(e,r);if(!i.includes("://")||!i.endsWith("/"))throw new Error("invalid password")}catch{throw new Error("invalid password")}return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"reveal",args:[e,r]})}));this.erc721=e,this.contractWrapper=t,this.storage=a}async getMetadataInTier(e){let a=(await this.contractWrapper.read("getMetadataForAllTiers",[])).find(i=>i.tier===e);if(!a)throw new Error("Tier not found in contract.");return await Promise.all(a.ranges.map((i,s)=>{let f=[],o=a.baseURIs[s];for(let c=i.startIdInclusive.toNumber();c{let s=[];for(let f=i.startIdInclusive.toNumber();fZtn.parseAsync(i))),a=await this.contractWrapper.getChainID(),r=this.contractWrapper.getSigner();return at(r,"No signer available"),await Promise.all(t.map(async i=>{let s=await this.contractWrapper.signTypedData(r,{name:"SignatureAction",version:"1",chainId:a,verifyingContract:this.contractWrapper.address},{GenericRequest:e0n},await this.mapPayloadToContractStruct(i));return{payload:i,signature:s.toString()}}))}async verify(e){let t=await this.mapPayloadToContractStruct(e.payload);return(await this.contractWrapper.read("verify",[t,e.signature]))[0]}async claimWithSignature(e){let t=await this.mapPayloadToContractStruct(e.payload),a=await Gn(this.contractWrapper.getProvider(),e.payload.price,e.payload.currencyAddress),r=await this.contractWrapper.getCallOverrides();await Go(this.contractWrapper,a,e.payload.currencyAddress,r);let i=await this.contractWrapper.sendTransaction("claimWithSignature",[t,e.signature],r),s=this.contractWrapper.parseLogs("TokensClaimed",i?.logs),f=s[0].args.startTokenId,o=f.add(s[0].args.quantityClaimed),c=[];for(let d=f;d.lt(o);d=d.add(1))c.push({id:d,receipt:i,data:()=>this.erc721.get(d)});return c}async mapPayloadToContractStruct(e){let t=await Gn(this.contractWrapper.getProvider(),e.price,e.currencyAddress),a=Ja.utils.defaultAbiCoder.encode(["string[]","address","address","uint256","address","uint256","uint256","address"],[e.tierPriority,e.to,e.royaltyRecipient,e.royaltyBps,e.primarySaleRecipient,e.quantity,t,e.currencyAddress]);return{uid:e.uid,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,data:a}}},C3=class{constructor(e,t){Z(this,"featureName",fk.name);Z(this,"mint",ye(async e=>{let t=e.payload,a=e.signature,r=await this.contractWrapper.getCallOverrides(),i=s=>{let f=this.contractWrapper.parseLogs("TokensMintedWithSignature",s.logs);if(f.length===0)throw new Error("No MintWithSignature event found");return{id:f[0].args.tokenIdMinted,receipt:s}};if(await this.isLegacyNFTContract()){let s=await this.mapLegacyPayloadToContractStruct(t),f=s.price;return await Go(this.contractWrapper,f,t.currencyAddress,r),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[s,a],overrides:r,parse:i})}else{let s=await this.mapPayloadToContractStruct(t),f=s.pricePerToken.mul(s.quantity);return await Go(this.contractWrapper,f,t.currencyAddress,r),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[s,a],overrides:r,parse:i})}}));Z(this,"mintBatch",ye(async e=>{let t=await this.isLegacyNFTContract(),a=(await Promise.all(e.map(s=>t?this.mapLegacyPayloadToContractStruct(s.payload):this.mapPayloadToContractStruct(s.payload)))).map((s,f)=>{let o=e[f],c=o.signature,d=o.payload.price;if(Ja.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:s,signature:c}}),r=new r0(this.contractWrapper),i=a.map(s=>t?r.encode("mintWithSignature",[s.message,s.signature]):r.encode("mintWithSignature",[s.message,s.signature]));if(cr("multicall",this.contractWrapper))return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i],parse:s=>{let f=this.contractWrapper.parseLogs("TokensMintedWithSignature",s.logs);if(f.length===0)throw new Error("No MintWithSignature event found");return f.map(o=>({id:o.args.tokenIdMinted,receipt:s}))}});throw new Error("Multicall not available on this contract!")}));this.contractWrapper=e,this.storage=t}async verify(e){let t=await this.isLegacyNFTContract(),a=e.payload,r=e.signature,i,s;return t?(i=await this.mapLegacyPayloadToContractStruct(a),s=await this.contractWrapper.read("verify",[i,r])):(i=await this.mapPayloadToContractStruct(a),s=await this.contractWrapper.read("verify",[i,r])),s[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){let t=await this.isLegacyNFTContract(),a=await Promise.all(e.map(o=>M0t.parseAsync(o))),r=a.map(o=>o.metadata),i=await ip(r,this.storage),s=await this.contractWrapper.getChainID(),f=this.contractWrapper.getSigner();return at(f,"No signer available"),await Promise.all(a.map(async(o,c)=>{let d=i[c],l=await B0t.parseAsync({...o,uri:d}),y;return t?y=await this.contractWrapper.signTypedData(f,{name:"TokenERC721",version:"1",chainId:s,verifyingContract:this.contractWrapper.address},{MintRequest:F0t},await this.mapLegacyPayloadToContractStruct(l)):y=await this.contractWrapper.signTypedData(f,{name:"SignatureMintERC721",version:"1",chainId:s,verifyingContract:await this.contractWrapper.address},{MintRequest:V0t},await this.mapPayloadToContractStruct(l)),{payload:l,signature:y.toString()}}))}async mapPayloadToContractStruct(e){let t=await Gn(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient,uri:e.uri,quantity:e.quantity,pricePerToken:t,currency:e.currencyAddress,validityStartTimestamp:e.mintStartTime,validityEndTimestamp:e.mintEndTime,uid:e.uid}}async mapLegacyPayloadToContractStruct(e){let t=await Gn(this.contractWrapper.getProvider(),e.price,e.currencyAddress);return{to:e.to,price:t,uri:e.uri,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid,royaltyRecipient:e.royaltyRecipient,royaltyBps:e.royaltyBps,primarySaleRecipient:e.primarySaleRecipient}}async isLegacyNFTContract(){return gt(this.contractWrapper,"ERC721SignatureMintV1")}},Ew=class{constructor(e,t,a){Z(this,"featureName",Cw.name);Z(this,"transfer",ye(async(e,t)=>{let[a,r]=await Promise.all([this.contractWrapper.getSignerAddress(),Pe(e)]);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[a,r,t]})}));Z(this,"transferFrom",ye(async(e,t,a)=>{let[r,i]=await Promise.all([Pe(e),Pe(t)]);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom(address,address,uint256)",args:[r,i,a]})}));Z(this,"setApprovalForAll",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setApprovalForAll",args:[await Pe(e),t]})));Z(this,"setApprovalForToken",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Pe(e),t]})));Z(this,"mint",ye(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));Z(this,"mintTo",ye(async(e,t)=>Rt(this.mintable,sk).to.prepare(e,t)));Z(this,"mintBatch",ye(async e=>this.mintBatchTo.prepare(await this.contractWrapper.getSignerAddress(),e)));Z(this,"mintBatchTo",ye(async(e,t)=>Rt(this.mintable?.batch,ik).to.prepare(e,t)));Z(this,"burn",ye(async e=>Rt(this.burnable,tk).token.prepare(e)));Z(this,"cancel",ye(async e=>Rt(this.loyaltyCard,S3).cancel.prepare(e)));Z(this,"revoke",ye(async e=>Rt(this.loyaltyCard,S3).revoke.prepare(e)));Z(this,"lazyMint",ye(async(e,t)=>Rt(this.lazyMintable,rk).lazyMint.prepare(e,t)));Z(this,"updateMetadata",ye(async(e,t)=>this.lazyMintable?this.lazyMintable.updateMetadata.prepare(e,t):Rt(this.updatableMetadata,F7).update.prepare(e,t)));Z(this,"claim",ye(async(e,t)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,t)));Z(this,"claimTo",ye(async(e,t,a)=>{let r=this.claimWithConditions,i=this.claimCustom,s=this.claimZora;if(r)return r.to.prepare(e,t,a);if(i)return i.to.prepare(e,t,a);if(s)return s.to.prepare(e,t,a);throw new L1(Dw)}));this.contractWrapper=e,this.storage=t,this.query=this.detectErc721Enumerable(),this.mintable=this.detectErc721Mintable(),this.burnable=this.detectErc721Burnable(),this.lazyMintable=this.detectErc721LazyMintable(),this.tieredDropable=this.detectErc721TieredDrop(),this.signatureMintable=this.detectErc721SignatureMintable(),this.claimWithConditions=this.detectErc721ClaimableWithConditions(),this.claimCustom=this.detectErc721Claimable(),this.claimZora=this.detectErc721ClaimableZora(),this.erc721SharedMetadata=this.detectErc721SharedMetadata(),this.loyaltyCard=this.detectErc721LoyaltyCard(),this.updatableMetadata=this.detectErc721UpdatableMetadata(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let[t,a]=await Promise.all([this.ownerOf(e).catch(()=>Ja.constants.AddressZero),this.getTokenMetadata(e).catch(()=>({id:e.toString(),uri:"",...rw}))]);return{owner:t,metadata:a,type:"ERC721",supply:"1"}}async ownerOf(e){return await this.contractWrapper.read("ownerOf",[e])}async balanceOf(e){return await this.contractWrapper.read("balanceOf",[await Pe(e)])}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async isApproved(e,t){let[a,r]=await Promise.all([Pe(e),Pe(t)]);return await this.contractWrapper.read("isApprovedForAll",[a,r])}async getAll(e){return Rt(this.query,N7).all(e)}async getAllOwners(e){return Rt(this.query,N7).allOwners(e)}async totalCount(){return this.nextTokenIdToMint()}async totalCirculatingSupply(){return Rt(this.query,N7).totalCirculatingSupply()}async getOwned(e,t){if(e&&(e=await Pe(e)),this.query?.owned)return this.query.owned.all(e,t);{let[a,r]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners(t)]),i=(r||[]).filter(s=>a?.toLowerCase()===s.owner?.toLowerCase());return await Promise.all(i.map(async s=>this.get(s.tokenId)))}}async getOwnedTokenIds(e){if(e&&(e=await Pe(e)),this.query?.owned)return this.query.owned.tokenIds(e);{let[t,a]=await Promise.all([e||this.contractWrapper.getSignerAddress(),this.getAllOwners()]);return(a||[]).filter(r=>t?.toLowerCase()===r.owner?.toLowerCase()).map(r=>Ja.BigNumber.from(r.tokenId))}}async getMintTransaction(e,t){return this.mintTo.prepare(e,t)}async update(e,t){return this.updateMetadata(e,t)}async getClaimTransaction(e,t,a){let r=this.claimWithConditions,i=this.claimCustom;if(r)return r.conditions.getClaimTransaction(e,t,a);if(i)return i.getClaimTransaction(e,t,a);throw new L1(Dw)}async totalClaimedSupply(){let e=this.contractWrapper;if(cr("totalMinted",e))return this.contractWrapper.read("totalMinted",[]);if(cr("nextTokenIdToClaim",e))return this.contractWrapper.read("nextTokenIdToClaim",[]);throw new Error("No function found on contract to get total claimed supply")}async totalUnclaimedSupply(){let[e,t]=await Promise.all([this.nextTokenIdToMint(),this.totalClaimedSupply()]);return e.sub(t)}get claimConditions(){return Rt(this.claimWithConditions,ak).conditions}get tieredDrop(){return Rt(this.tieredDropable,nk)}get signature(){return Rt(this.signatureMintable,fk)}get revealer(){return Rt(this.lazyMintable?.revealer,Ty)}get sharedMetadata(){return Rt(this.erc721SharedMetadata,ok)}async getTokenMetadata(e){let t=await this.contractWrapper.read("tokenURI",[e]);if(!t)throw new R7;return OA(e,t,this.storage)}async nextTokenIdToMint(){if(cr("nextTokenIdToMint",this.contractWrapper)){let e=await this.contractWrapper.read("nextTokenIdToMint",[]);return cr("startTokenId",this.contractWrapper)&&(e=e.sub(await this.contractWrapper.read("startTokenId",[]))),e}else{if(cr("totalSupply",this.contractWrapper))return await this.contractWrapper.read("totalSupply",[]);throw new Error("Contract requires either `nextTokenIdToMint` or `totalSupply` function available to determine the next token ID to mint")}}detectErc721Enumerable(){if(gt(this.contractWrapper,"ERC721Supply")||cr("nextTokenIdToMint",this.contractWrapper))return new z1e(this,this.contractWrapper)}detectErc721Mintable(){if(gt(this.contractWrapper,"ERC721Mintable"))return new $1e(this,this.contractWrapper,this.storage)}detectErc721Burnable(){if(gt(this.contractWrapper,"ERC721Burnable"))return new R1e(this.contractWrapper)}detectErc721LazyMintable(){if(gt(this.contractWrapper,"ERC721LazyMintable"))return new N1e(this,this.contractWrapper,this.storage)}detectErc721TieredDrop(){if(gt(this.contractWrapper,"ERC721TieredDrop"))return new W1e(this,this.contractWrapper,this.storage)}detectErc721SignatureMintable(){if(gt(this.contractWrapper,"ERC721SignatureMintV1")||gt(this.contractWrapper,"ERC721SignatureMintV2"))return new C3(this.contractWrapper,this.storage)}detectErc721ClaimableWithConditions(){if(gt(this.contractWrapper,"ERC721ClaimConditionsV1")||gt(this.contractWrapper,"ERC721ClaimConditionsV2")||gt(this.contractWrapper,"ERC721ClaimPhasesV1")||gt(this.contractWrapper,"ERC721ClaimPhasesV2"))return new L1e(this,this.contractWrapper,this.storage)}detectErc721Claimable(){if(gt(this.contractWrapper,"ERC721ClaimCustom"))return new B1e(this,this.contractWrapper)}detectErc721ClaimableZora(){if(gt(this.contractWrapper,"ERC721ClaimZora"))return new M1e(this,this.contractWrapper)}detectErc721SharedMetadata(){if(gt(this.contractWrapper,"ERC721SharedMetadata"))return new U1e(this.contractWrapper,this.storage)}detectErc721LoyaltyCard(){if(gt(this.contractWrapper,"ERC721LoyaltyCard"))return new F1e(this.contractWrapper)}detectErc721UpdatableMetadata(){if(gt(this.contractWrapper,"ERC721UpdatableMetadata"))return new O1e(this.contractWrapper,this.storage)}}});var H5,ck=ce(()=>{"use strict";p();u();sn();Ia();ek();H5=class{constructor(e,t,a){Z(this,"transfer",ye(async(e,t)=>this.erc721.transfer.prepare(e,t)));Z(this,"setApprovalForAll",ye(async(e,t)=>this.erc721.setApprovalForAll.prepare(e,t)));Z(this,"setApprovalForToken",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[await Pe(e),t]})));this.contractWrapper=e,this.storage=t,this.erc721=new Ew(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAll(e){return this.erc721.getAll(e)}async getOwned(e,t){return e&&(e=await Pe(e)),this.erc721.getOwned(e,t)}async getOwnedTokenIds(e){return e&&(e=await Pe(e)),this.erc721.getOwnedTokenIds(e)}async totalSupply(){return this.erc721.totalCirculatingSupply()}async get(e){return this.erc721.get(e)}async ownerOf(e){return this.erc721.ownerOf(e)}async balanceOf(e){return this.erc721.balanceOf(e)}async balance(){return this.erc721.balance()}async isApproved(e,t){return this.erc721.isApproved(e,t)}}});var pnt={};jt(pnt,{Multiwrap:()=>j1e});var lnt,R9a,L9a,B9a,oz,j1e,unt=ce(()=>{"use strict";p();u();lnt=Te(Ue());Qa();P1e();M6();sn();XA();sp();Ia();hi();op();Dc();ck();Ga();R9a=Te(Dr()),L9a=Te(zf());Ot();B9a=Te(Cc()),oz=class oz extends H5{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"wrap",ye(async(t,a,r)=>{let[i,s,f]=await Promise.all([my(a,this.storage),this.toTokenStructList(t),Pe(r||await this.contractWrapper.getSignerAddress())]);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"wrap",args:[s,i,f],parse:o=>{let c=this.contractWrapper.parseLogs("TokensWrapped",o?.logs);if(c.length===0)throw new Error("TokensWrapped event not found");let d=c[0].args.tokenIdOfWrappedToken;return{id:d,receipt:o,data:()=>this.get(d)}}})}));Z(this,"unwrap",ye(async(t,a)=>{let r=await Pe(a||await this.contractWrapper.getSignerAddress());return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"unwrap",args:[t,r]})}));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,G1e,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,oz.contractRoles),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.royalties=new uf(this.contractWrapper,this.metadata),this.owner=new yf(this.contractWrapper)}async getWrappedContents(t){let a=await this.contractWrapper.read("getWrappedContents",[t]),r=[],i=[],s=[];for(let f of a)switch(f.tokenType){case 0:{let o=await vs(this.contractWrapper.getProvider(),f.assetContract);r.push({contractAddress:f.assetContract,quantity:lnt.utils.formatUnits(f.totalAmount,o.decimals)});break}case 1:{i.push({contractAddress:f.assetContract,tokenId:f.tokenId});break}case 2:{s.push({contractAddress:f.assetContract,tokenId:f.tokenId,quantity:f.totalAmount.toString()});break}}return{erc20Tokens:r,erc721Tokens:i,erc1155Tokens:s}}async toTokenStructList(t){let a=[],r=this.contractWrapper.getProvider(),i=await this.contractWrapper.getSignerAddress();if(t.erc20Tokens)for(let s of t.erc20Tokens){let f=await Gn(r,s.quantity,s.contractAddress);if(!await rz(this.contractWrapper,s.contractAddress,f))throw new Error(`ERC20 token with contract address "${s.contractAddress}" does not have enough allowance to transfer. You can set allowance to the multiwrap contract to transfer these tokens by running: -await sdk.getToken("${i.contractAddress}").setAllowance("${this.getAddress()}", ${i.quantity}); +await sdk.getToken("${s.contractAddress}").setAllowance("${this.getAddress()}", ${s.quantity}); -`);a.push({assetContract:i.contractAddress,totalAmount:s,tokenId:0,tokenType:0})}if(n.erc721Tokens)for(let i of n.erc721Tokens){if(!await y2(this.contractWrapper.getProvider(),this.getAddress(),i.contractAddress,i.tokenId,f))throw new Error(`ERC721 token "${i.tokenId}" with contract address "${i.contractAddress}" is not approved for transfer. +`);a.push({assetContract:s.contractAddress,totalAmount:f,tokenId:0,tokenType:0})}if(t.erc721Tokens)for(let s of t.erc721Tokens){if(!await $5(this.contractWrapper.getProvider(),this.getAddress(),s.contractAddress,s.tokenId,i))throw new Error(`ERC721 token "${s.tokenId}" with contract address "${s.contractAddress}" is not approved for transfer. You can give approval the multiwrap contract to transfer this token by running: -await sdk.getNFTCollection("${i.contractAddress}").setApprovalForToken("${this.getAddress()}", ${i.tokenId}); +await sdk.getNFTCollection("${s.contractAddress}").setApprovalForToken("${this.getAddress()}", ${s.tokenId}); -`);a.push({assetContract:i.contractAddress,totalAmount:0,tokenId:i.tokenId,tokenType:1})}if(n.erc1155Tokens)for(let i of n.erc1155Tokens){if(!await y2(this.contractWrapper.getProvider(),this.getAddress(),i.contractAddress,i.tokenId,f))throw new Error(`ERC1155 token "${i.tokenId}" with contract address "${i.contractAddress}" is not approved for transfer. +`);a.push({assetContract:s.contractAddress,totalAmount:0,tokenId:s.tokenId,tokenType:1})}if(t.erc1155Tokens)for(let s of t.erc1155Tokens){if(!await $5(this.contractWrapper.getProvider(),this.getAddress(),s.contractAddress,s.tokenId,i))throw new Error(`ERC1155 token "${s.tokenId}" with contract address "${s.contractAddress}" is not approved for transfer. You can give approval the multiwrap contract to transfer this token by running: -await sdk.getEdition("${i.contractAddress}").setApprovalForAll("${this.getAddress()}", true); +await sdk.getEdition("${s.contractAddress}").setApprovalForAll("${this.getAddress()}", true); -`);a.push({assetContract:i.contractAddress,totalAmount:i.quantity,tokenId:i.tokenId,tokenType:2})}return a}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(PG,"contractRoles",ade);tde=PG});var Kr0=D((L_a,_rn)=>{_rn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getWrappedContents",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"unwrap",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"wrap",inputs:[{name:"_tokensToWrap",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_uriForWrappedToken",type:"string",internalType:"string"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensUnwrapped",inputs:[{name:"unwrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedContents",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensWrapped",inputs:[{name:"wrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedToken",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"},{name:"wrappedContents",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Vr0={};G0(Vr0,{NFTCollection:()=>rde});var Qr0,V_a,Y_a,J_a,LG,rde,Yr0=oe(()=>{"use strict";u();p();Qr0=Ee(Je());ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();LM();IM();ir();V_a=Ee(Va()),Y_a=Ee(io());W0();J_a=Ee(Yc()),LG=class LG extends w2{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc721.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc721.mintTo.prepare(n,a)));ae(this,"mintBatch",be(async n=>this.erc721.mintBatch.prepare(n)));ae(this,"mintBatchTo",be(async(n,a)=>this.erc721.mintBatchTo.prepare(n,a)));ae(this,"burn",be(n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,FG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,LG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new pb(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),Qr0.constants.AddressZero])}async getMintTransaction(n,a){return this.erc721.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(LG,"contractRoles",Bs);rde=LG});var $r0=D((tAa,Arn)=>{Arn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});var Jr0={};G0(Jr0,{NFTDrop:()=>fde});var ah,bAa,yAa,vAa,NG,fde,Xr0=oe(()=>{"use strict";u();p();ah=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();CE();LM();TG();ir();bAa=Ee(Va()),yAa=Ee(io());W0();vAa=Ee(Yc()),NG=class NG extends w2{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc721.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"claim",be((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"burn",be(async n=>this.erc721.burn.prepare(n)));ae(this,"transfer",be(async(n,a)=>this.erc721.transfer.prepare(n,a)));ae(this,"setApprovalForAll",be(async(n,a)=>this.erc721.setApprovalForAll.prepare(n,a)));ae(this,"setApprovalForToken",be(async(n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[n,a]})));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,NG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.claimConditions=new o5(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this.checkout=new sb(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Li).toNumber(),f=Math.min((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=ah.BigNumber.from(n?.start||0).toNumber(),r=ah.BigNumber.from(n?.count||Li).toNumber(),f=ah.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a)),i=ah.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),ah.constants.AddressZero])}async getClaimTransaction(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return this.erc721.getClaimTransaction(n,a,{checkERC20Allowance:r})}async get(n){return this.erc721.get(n)}async ownerOf(n){return this.erc721.ownerOf(n)}async balanceOf(n){return this.erc721.balanceOf(n)}async balance(){return this.erc721.balance()}async isApproved(n,a){return this.erc721.isApproved(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(NG,"contractRoles",Bs);fde=NG});var Zr0=D((EAa,Irn)=>{Irn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var ef0=D((_Aa,Crn)=>{Crn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseURIIndices",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});async function krn(t,e){let n=await t.read("decimals",[]);return k9.utils.parseUnits(ff.parse(e),n)}var k9,ide,sde,ode,cde,dde,FM,mb,NM=oe(()=>{"use strict";u();p();k9=Ee(Je());or();ln();Fl();Rf();Da();CE();ir();i5();h2();w9();ide=class{constructor(e,n){ae(this,"featureName",BE.name);ae(this,"tokens",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));ae(this,"from",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnFrom",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})));this.erc20=e,this.contractWrapper=n}},sde=class{constructor(e,n,a){ae(this,"featureName",ME.name);ae(this,"to",be(async(e,n,a)=>{let r=await this.erc20.normalizeAmount(n);return await this.conditions.getClaimTransaction(e,r,a)}));this.erc20=e,this.contractWrapper=n,this.storage=a;let r=new Wn(this.contractWrapper,Ul,this.storage);this.conditions=new o5(this.contractWrapper,r,this.storage)}},ode=class{constructor(e,n,a){this.erc20=e,this.contractWrapper=n,this.storage=a,this.claim=new sde(this.erc20,this.contractWrapper,this.storage)}},cde=class{constructor(e,n){ae(this,"featureName",UM.name);ae(this,"to",be(async e=>{let n=new it(this.contractWrapper),r=(await Promise.all(e.map(f=>Promise.all([Oe(f.toAddress),this.erc20.normalizeAmount(f.amount)])))).map(f=>{let[i,s]=f;return n.encode("mintTo",[i,s])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r]})}));this.erc20=e,this.contractWrapper=n}},dde=class{constructor(e,n){ae(this,"featureName",DE.name);ae(this,"to",be(async(e,n)=>await this.getMintTransaction(e,n)));this.erc20=e,this.contractWrapper=n,this.batch=this.detectErc20BatchMintable()}async getMintTransaction(e,n){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:await Promise.all([Oe(e),this.erc20.normalizeAmount(n)])})}detectErc20BatchMintable(){if(k0(this.contractWrapper,"ERC20BatchMintable"))return new cde(this.erc20,this.contractWrapper)}},FM=class{constructor(e,n){ae(this,"featureName",OM.name);ae(this,"mint",be(async e=>{let n=e.payload,a=e.signature,[r,f]=await Promise.all([this.mapPayloadToContractStruct(n),this.contractWrapper.getCallOverrides()]);return await c1(this.contractWrapper,k9.BigNumber.from(r.price),n.currencyAddress,f),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:f})}));ae(this,"mintBatch",be(async e=>{let n=await Promise.all(e.map(i=>this.mapPayloadToContractStruct(i.payload))),a=e.map((i,s)=>{let o=n[s],c=i.signature,d=i.payload.price;if(k9.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new it(this.contractWrapper),f=a.map(i=>r.encode("mintWithSignature",[i.message,i.signature]));return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[f]})}));this.contractWrapper=e,this.roles=n}async verify(e){let n=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(n);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){await this.roles?.verify(["minter"],await this.contractWrapper.getSignerAddress());let[n,a,r]=await Promise.all([this.contractWrapper.getChainID(),this.contractWrapper.read("name",[]),Promise.all(e.map(c=>w6e.parseAsync(c)))]),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await Promise.all(r.map(c=>or0.parseAsync(c))),s=await Promise.all(i.map(c=>this.mapPayloadToContractStruct(c))),o=await Promise.all(s.map(c=>this.contractWrapper.signTypedData(f,{name:a,version:"1",chainId:n,verifyingContract:this.contractWrapper.address},{MintRequest:hr0},c)));return r.map((c,d)=>{let l=i[d],h=o[d];return{payload:l,signature:h.toString()}})}async mapPayloadToContractStruct(e){let[n,a]=await Promise.all([ta(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=k9.utils.parseUnits(e.quantity,a);return{to:e.to,primarySaleRecipient:e.primarySaleRecipient,quantity:r,price:n,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid}}},mb=class{constructor(e,n,a){ae(this,"featureName",PE.name);ae(this,"transfer",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferFrom",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom",args:await Promise.all([Oe(e),Oe(n),this.normalizeAmount(a)])})));ae(this,"setAllowance",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Oe(e),this.normalizeAmount(n)])})));ae(this,"transferBatch",be(async e=>{let n=new it(this.contractWrapper),a=(await Promise.all(e.map(r=>Promise.all([this.normalizeAmount(r.amount),Oe(r.toAddress)])))).map(r=>{let[f,i]=r;return n.encode("transfer",[i,f])});return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[a]})}));ae(this,"mint",be(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));ae(this,"mintTo",be(async(e,n)=>O0(this.mintable,DE).to.prepare(e,n)));ae(this,"mintBatchTo",be(async e=>O0(this.mintable?.batch,UM).to.prepare(e)));ae(this,"burn",be(async e=>O0(this.burnable,BE).tokens.prepare(e)));ae(this,"burnFrom",be(async(e,n)=>O0(this.burnable,BE).from.prepare(e,n)));ae(this,"claim",be(async(e,n)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,n)));ae(this,"claimTo",be(async(e,n,a)=>O0(this.droppable?.claim,ME).to.prepare(e,n,a)));this.contractWrapper=e,this.storage=n,this.mintable=this.detectErc20Mintable(),this.burnable=this.detectErc20Burnable(),this.droppable=this.detectErc20Droppable(),this.signatureMintable=this.detectErc20SignatureMintable(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return await Pi(this.contractWrapper.getProvider(),this.getAddress())}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async balanceOf(e){return this.getValue(await this.contractWrapper.read("balanceOf",[await Oe(e)]))}async totalSupply(){return await this.getValue(await this.contractWrapper.read("totalSupply",[]))}async allowance(e){let[n,a]=await Promise.all([this.contractWrapper.getSignerAddress(),Oe(e)]);return await this.allowanceOf(n,a)}async allowanceOf(e,n){let a=await Promise.all([Oe(e),Oe(n)]);return await this.getValue(await this.contractWrapper.read("allowance",a))}async getMintTransaction(e,n){return O0(this.mintable,DE).getMintTransaction(e,n)}get claimConditions(){return O0(this.droppable?.claim,ME).conditions}get signature(){return O0(this.signatureMintable,OM)}async normalizeAmount(e){return krn(this.contractWrapper,e)}async getValue(e){return await Ja(this.contractWrapper.getProvider(),this.getAddress(),k9.BigNumber.from(e))}detectErc20Mintable(){if(k0(this.contractWrapper,"ERC20"))return new dde(this,this.contractWrapper)}detectErc20Burnable(){if(k0(this.contractWrapper,"ERC20Burnable"))return new ide(this,this.contractWrapper)}detectErc20Droppable(){if(k0(this.contractWrapper,"ERC20ClaimConditionsV1")||k0(this.contractWrapper,"ERC20ClaimConditionsV2")||k0(this.contractWrapper,"ERC20ClaimPhasesV1")||k0(this.contractWrapper,"ERC20ClaimPhasesV2"))return new ode(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(k0(this.contractWrapper,"ERC20SignatureMintable"))return new FM(this.contractWrapper)}}});var lde,Srn,Rrn,Mrn,Brn,Drn,Prn,Lrn,Frn,Nrn,ude,tf0,nf0=oe(()=>{"use strict";u();p();h2();ln();Fl();J5();lde=fe.object({contractAddress:da}),Srn=lde.extend({quantity:ff}),Rrn=lde.extend({tokenId:Xa}),Mrn=lde.extend({tokenId:Xa,quantity:Xa}),Brn=Srn.omit({quantity:!0}).extend({quantityPerReward:ff}),Drn=Rrn,Prn=Mrn.omit({quantity:!0}).extend({quantityPerReward:Xa}),Lrn=Brn.extend({totalRewards:Xa.default("1")}),Frn=Drn,Nrn=Prn.extend({totalRewards:Xa.default("1")}),ude=fe.object({erc20Rewards:fe.array(Lrn).default([]),erc721Rewards:fe.array(Frn).default([]),erc1155Rewards:fe.array(Nrn).default([])}),tf0=ude.extend({packMetadata:y9,rewardsPerPack:Xa.default("1"),openStartTime:g9.default(new Date)})});var af0={};G0(af0,{Pack:()=>hde});var nc,cIa,dIa,uIa,pde,OG,hde,rf0=oe(()=>{"use strict";u();p();nc=Ee(Je());or();H6e();i5();ln();Fl();Rf();_M();Ll();Da();ec();Nl();Vc();wG();woe();NM();nf0();ir();cIa=Ee(Va()),dIa=Ee(io());W0();uIa=Ee(Yc()),pde=class{constructor(e,n,a,r,f){ae(this,"featureName",HM.name);ae(this,"open",be((()=>{var e=this;return async function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"openPack",args:[n,a],overrides:{gasLimit:r},parse:f=>{let i=nc.BigNumber.from(0);try{i=e.contractWrapper.parseLogs("PackOpenRequested",f?.logs)[0].args.requestId}catch{}return{receipt:f,id:i}}})}})()));ae(this,"claimRewards",be((()=>{var e=this;return async function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5e5;return Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"claimRewards",args:[],overrides:{gasLimit:n},parse:async a=>{let r=e.contractWrapper.parseLogs("PackOpened",a?.logs);if(r.length===0)throw new Error("PackOpened event not found");let f=r[0].args.rewardUnitsDistributed;return await e.parseRewards(f)}})}})()));let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new lt(e,n,WW,r,a);this.contractWrapper=i,this.storage=a,this.chainId=f,this.events=new Rn(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async parseRewards(e){let n=[],a=[],r=[];for(let f of e)switch(f.tokenType){case 0:{let i=await Pi(this.contractWrapper.getProvider(),f.assetContract);n.push({contractAddress:f.assetContract,quantityPerReward:nc.utils.formatUnits(f.totalAmount,i.decimals).toString()});break}case 1:{a.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString()});break}case 2:{r.push({contractAddress:f.assetContract,tokenId:f.tokenId.toString(),quantityPerReward:f.totalAmount.toString()});break}}return{erc20Rewards:n,erc721Rewards:a,erc1155Rewards:r}}async addPackOpenEventListener(e){return this.events.addEventListener("PackOpened",async n=>{e(n.data.packId.toString(),n.data.opener,await this.parseRewards(n.data.rewardUnitsDistributed))})}async canClaimRewards(e){let n=await Oe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("canClaimRewards",[n])}async openAndClaim(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5,r=await this.contractWrapper.sendTransaction("openPackAndClaimRewards",[e,n,a],{gasLimit:nc.BigNumber.from(5e5)}),f=nc.BigNumber.from(0);try{f=this.contractWrapper.parseLogs("PackOpenRequested",r?.logs)[0].args.requestId}catch{}return{receipt:r,id:f}}async getLinkBalance(){let e=(await Promise.resolve().then(()=>Ee(K1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default;await this.getLinkContract(n).transfer(this.contractWrapper.address,e)}getLinkContract(e){let n=mde[this.chainId];if(!n)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new lt(this.contractWrapper.getSignerOrProvider(),n,e,this.contractWrapper.options,this.storage);return new mb(a,this.storage,this.chainId)}},OG=class OG extends ib{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f.gasless&&"openzeppelin"in f.gasless?{...f,gasless:{...f.gasless,openzeppelin:{...f.gasless.openzeppelin,useEOAForwarder:!0}}}:f,r);super(o,r,s);ae(this,"create",be(async n=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,n)}));ae(this,"addPackContents",be(async(n,a)=>{let[r,f]=await Promise.all([this.contractWrapper.getSignerAddress(),ude.parseAsync(a)]),{contents:i,numOfRewardUnits:s}=await this.toPackContentArgs(f);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addPackContents",args:[n,i,s,r],parse:o=>{let c=this.contractWrapper.parseLogs("PackUpdated",o?.logs);if(c.length===0)throw new Error("PackUpdated event not found");let d=c[0].args.packId;return{id:d,receipt:o,data:()=>this.erc1155.get(d)}}})}));ae(this,"createTo",be(async(n,a)=>{let[r,f,i]=await Promise.all([J8(a.packMetadata,this.storage),tf0.parseAsync(a),Oe(n)]),{erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c}=f,d={erc20Rewards:s,erc721Rewards:o,erc1155Rewards:c},{contents:l,numOfRewardUnits:h}=await this.toPackContentArgs(d);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createPack",args:[l,h,r,f.openStartTime,f.rewardsPerPack,i],parse:y=>{let v=this.contractWrapper.parseLogs("PackCreated",y?.logs);if(v.length===0)throw new Error("PackCreated event not found");let k=v[0].args.packId;return{id:k,receipt:y,data:()=>this.erc1155.get(k)}}})}));ae(this,"open",be((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;if(n._vrf)throw new Error("This contract is using Chainlink VRF, use `contract.vrf.open()` or `contract.vrf.openAndClaim()` instead");return Me.fromContractWrapper({contractWrapper:n.contractWrapper,method:"openPack",args:[a,r],overrides:{gasLimit:f},parse:async i=>{let s=n.contractWrapper.parseLogs("PackOpened",i?.logs);if(s.length===0)throw new Error("PackOpened event not found");let o=s[0].args.rewardUnitsDistributed,c=[],d=[],l=[];for(let h of o)switch(h.tokenType){case 0:{let y=await Pi(n.contractWrapper.getProvider(),h.assetContract);c.push({contractAddress:h.assetContract,quantityPerReward:nc.utils.formatUnits(h.totalAmount,y.decimals).toString()});break}case 1:{d.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString()});break}case 2:{l.push({contractAddress:h.assetContract,tokenId:h.tokenId.toString(),quantityPerReward:h.totalAmount.toString()});break}}return{erc20Rewards:c,erc721Rewards:d,erc1155Rewards:l}}})}})()));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,UG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,OG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.owner=new Rs(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return O0(this._vrf,HM)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n),this._vrf?.onNetworkUpdated(n)}getAddress(){return this.contractWrapper.address}async get(n){return this.erc1155.get(n)}async getAll(n){return this.erc1155.getAll(n)}async getOwned(n){return this.erc1155.getOwned(n)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),nc.constants.AddressZero])}async getPackContents(n){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[n]),f=[],i=[],s=[];for(let o=0;o{t0n.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getWrappedContents",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"unwrap",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"wrap",inputs:[{name:"_tokensToWrap",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_uriForWrappedToken",type:"string",internalType:"string"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensUnwrapped",inputs:[{name:"unwrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedContents",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensWrapped",inputs:[{name:"wrapper",type:"address",indexed:!0,internalType:"address"},{name:"recipientOfWrappedToken",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdOfWrappedToken",type:"uint256",indexed:!0,internalType:"uint256"},{name:"wrappedContents",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var bnt={};jt(bnt,{NFTCollection:()=>Q1e});var mnt,X9a,Z9a,tga,cz,Q1e,hnt=ce(()=>{"use strict";p();u();mnt=Te(Ue());sn();Ia();hi();Qa();M1();op();cp();Dc();hy();ck();ek();Ga();X9a=Te(Dr()),Z9a=Te(zf());Ot();tga=Te(Cc()),cz=class cz extends H5{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"mint",ye(async t=>this.erc721.mint.prepare(t)));Z(this,"mintTo",ye(async(t,a)=>this.erc721.mintTo.prepare(t,a)));Z(this,"mintBatch",ye(async t=>this.erc721.mintBatch.prepare(t)));Z(this,"mintBatchTo",ye(async(t,a)=>this.erc721.mintBatchTo.prepare(t,a)));Z(this,"burn",ye(t=>this.erc721.burn.prepare(t)));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,dz,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,cz.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.sales=new mf(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.signature=new C3(this.contractWrapper,this.storage),this.owner=new yf(this.contractWrapper)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t)}getAddress(){return this.contractWrapper.address}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),mnt.constants.AddressZero])}async getMintTransaction(t,a){return this.erc721.getMintTransaction(t,a)}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(cz,"contractRoles",bf);Q1e=cz});var gnt=B((iga,n0n)=>{n0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"freezeMetadata",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"_to",type:"address",internalType:"address"},{name:"_uri",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"tokenIdMinted",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"platformFeeRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setTokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"uriFrozen",inputs:[],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"MetadataUpdate",inputs:[{name:"_tokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"uri",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataFrozen",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"NFTMetadataInvalidUrl",inputs:[]},{type:"error",name:"NFTMetadataUnauthorized",inputs:[]}]});var vnt={};jt(vnt,{NFTDrop:()=>Y1e});var _y,Tga,_ga,xga,lz,Y1e,Tnt=ce(()=>{"use strict";p();u();_y=Te(Ue());sp();sn();Ia();hi();Qa();M1();op();cp();Dc();hy();Iw();ck();QH();Ga();Tga=Te(Dr()),_ga=Te(zf());Ot();xga=Te(Cc()),lz=class lz extends H5{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"createBatch",ye(async(t,a)=>this.erc721.lazyMint.prepare(t,a)));Z(this,"claimTo",ye((()=>{var t=this;return async function(a,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return t.erc721.claimTo.prepare(a,r,{checkERC20Allowance:i})}})()));Z(this,"claim",ye((()=>{var t=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.claimTo.prepare(await t.contractWrapper.getSignerAddress(),a,r)}})()));Z(this,"burn",ye(async t=>this.erc721.burn.prepare(t)));Z(this,"transfer",ye(async(t,a)=>this.erc721.transfer.prepare(t,a)));Z(this,"setApprovalForAll",ye(async(t,a)=>this.erc721.setApprovalForAll.prepare(t,a)));Z(this,"setApprovalForToken",ye(async(t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:[t,a]})));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,wy,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,lz.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.sales=new mf(this.contractWrapper),this.claimConditions=new N6(this.contractWrapper,this.metadata,this.storage),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.revealer=new V5(this.contractWrapper,this.storage,Ty.name,()=>this.erc721.nextTokenIdToMint()),this.interceptor=new Ea(this.contractWrapper),this.owner=new yf(this.contractWrapper),this.checkout=new _3(this.contractWrapper)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[t,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return t.add(a)}async getAllClaimed(t){let a=_y.BigNumber.from(t?.start||0).toNumber(),r=_y.BigNumber.from(t?.count||Ts).toNumber(),i=Math.min((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a+r);return await Promise.all(Array.from(Array(i).keys()).map(s=>this.get(s.toString())))}async getAllUnclaimed(t){let a=_y.BigNumber.from(t?.start||0).toNumber(),r=_y.BigNumber.from(t?.count||Ts).toNumber(),i=_y.BigNumber.from(Math.max((await this.contractWrapper.read("nextTokenIdToClaim",[])).toNumber(),a)),s=_y.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),i.toNumber()+r));return await Promise.all(Array.from(Array(s.sub(i).toNumber()).keys()).map(f=>this.erc721.getTokenMetadata(i.add(f).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),_y.constants.AddressZero])}async getClaimTransaction(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return this.erc721.getClaimTransaction(t,a,{checkERC20Allowance:r})}async get(t){return this.erc721.get(t)}async ownerOf(t){return this.erc721.ownerOf(t)}async balanceOf(t){return this.erc721.balanceOf(t)}async balance(){return this.erc721.balance()}async isApproved(t,a){return this.erc721.isApproved(t,a)}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(lz,"contractRoles",bf);Y1e=lz});var _nt=B((Cga,a0n)=>{a0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"freezeBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"updateBatchBaseURI",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var wnt=B((Sga,r0n)=>{r0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"baseURIIndices",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToClaim",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenByIndex",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenOfOwnerByIndex",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"NFTRevealed",inputs:[{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});async function i0n(n,e){let t=await n.read("decimals",[]);return O7.utils.parseUnits(Kr.parse(e),t)}var O7,J1e,X1e,Z1e,ece,tce,dk,A3,lk=ce(()=>{"use strict";p();u();O7=Te(Ue());Qa();sn();fp();hi();Ia();Iw();Ga();M6();F5();k7();J1e=class{constructor(e,t){Z(this,"featureName",Aw.name);Z(this,"tokens",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burn",args:[await this.erc20.normalizeAmount(e)]})));Z(this,"from",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"burnFrom",args:await Promise.all([Pe(e),this.erc20.normalizeAmount(t)])})));this.erc20=e,this.contractWrapper=t}},X1e=class{constructor(e,t,a){Z(this,"featureName",Sw.name);Z(this,"to",ye(async(e,t,a)=>{let r=await this.erc20.normalizeAmount(t);return await this.conditions.getClaimTransaction(e,r,a)}));this.erc20=e,this.contractWrapper=t,this.storage=a;let r=new Bn(this.contractWrapper,dp,this.storage);this.conditions=new N6(this.contractWrapper,r,this.storage)}},Z1e=class{constructor(e,t,a){this.erc20=e,this.contractWrapper=t,this.storage=a,this.claim=new X1e(this.erc20,this.contractWrapper,this.storage)}},ece=class{constructor(e,t){Z(this,"featureName",uk.name);Z(this,"to",ye(async e=>{let t=new r0(this.contractWrapper),r=(await Promise.all(e.map(i=>Promise.all([Pe(i.toAddress),this.erc20.normalizeAmount(i.amount)])))).map(i=>{let[s,f]=i;return t.encode("mintTo",[s,f])});return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[r]})}));this.erc20=e,this.contractWrapper=t}},tce=class{constructor(e,t){Z(this,"featureName",kw.name);Z(this,"to",ye(async(e,t)=>await this.getMintTransaction(e,t)));this.erc20=e,this.contractWrapper=t,this.batch=this.detectErc20BatchMintable()}async getMintTransaction(e,t){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintTo",args:await Promise.all([Pe(e),this.erc20.normalizeAmount(t)])})}detectErc20BatchMintable(){if(gt(this.contractWrapper,"ERC20BatchMintable"))return new ece(this.erc20,this.contractWrapper)}},dk=class{constructor(e,t){Z(this,"featureName",pk.name);Z(this,"mint",ye(async e=>{let t=e.payload,a=e.signature,[r,i]=await Promise.all([this.mapPayloadToContractStruct(t),this.contractWrapper.getCallOverrides()]);return await Go(this.contractWrapper,O7.BigNumber.from(r.price),t.currencyAddress,i),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"mintWithSignature",args:[r,a],overrides:i})}));Z(this,"mintBatch",ye(async e=>{let t=await Promise.all(e.map(s=>this.mapPayloadToContractStruct(s.payload))),a=e.map((s,f)=>{let o=t[f],c=s.signature,d=s.payload.price;if(O7.BigNumber.from(d).gt(0))throw new Error("Can only batch free mints. For mints with a price, use regular mint()");return{message:o,signature:c}}),r=new r0(this.contractWrapper),i=a.map(s=>r.encode("mintWithSignature",[s.message,s.signature]));return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[i]})}));this.contractWrapper=e,this.roles=t}async verify(e){let t=e.payload,a=e.signature,r=await this.mapPayloadToContractStruct(t);return(await this.contractWrapper.read("verify",[r,a]))[0]}async generate(e){return(await this.generateBatch([e]))[0]}async generateBatch(e){await this.roles?.verify(["minter"],await this.contractWrapper.getSignerAddress());let[t,a,r]=await Promise.all([this.contractWrapper.getChainID(),this.contractWrapper.read("name",[]),Promise.all(e.map(c=>l1e.parseAsync(c)))]),i=this.contractWrapper.getSigner();at(i,"No signer available");let s=await Promise.all(r.map(c=>k0t.parseAsync(c))),f=await Promise.all(s.map(c=>this.mapPayloadToContractStruct(c))),o=await Promise.all(f.map(c=>this.contractWrapper.signTypedData(i,{name:a,version:"1",chainId:t,verifyingContract:this.contractWrapper.address},{MintRequest:N0t},c)));return r.map((c,d)=>{let l=s[d],y=o[d];return{payload:l,signature:y.toString()}})}async mapPayloadToContractStruct(e){let[t,a]=await Promise.all([Gn(this.contractWrapper.getProvider(),e.price,e.currencyAddress),this.contractWrapper.read("decimals",[])]),r=O7.utils.parseUnits(e.quantity,a);return{to:e.to,primarySaleRecipient:e.primarySaleRecipient,quantity:r,price:t,currency:e.currencyAddress,validityEndTimestamp:e.mintEndTime,validityStartTimestamp:e.mintStartTime,uid:e.uid}}},A3=class{constructor(e,t,a){Z(this,"featureName",Pw.name);Z(this,"transfer",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transfer",args:await Promise.all([Pe(e),this.normalizeAmount(t)])})));Z(this,"transferFrom",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"transferFrom",args:await Promise.all([Pe(e),Pe(t),this.normalizeAmount(a)])})));Z(this,"setAllowance",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"approve",args:await Promise.all([Pe(e),this.normalizeAmount(t)])})));Z(this,"transferBatch",ye(async e=>{let t=new r0(this.contractWrapper),a=(await Promise.all(e.map(r=>Promise.all([this.normalizeAmount(r.amount),Pe(r.toAddress)])))).map(r=>{let[i,s]=r;return t.encode("transfer",[s,i])});return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[a]})}));Z(this,"mint",ye(async e=>this.mintTo.prepare(await this.contractWrapper.getSignerAddress(),e)));Z(this,"mintTo",ye(async(e,t)=>Rt(this.mintable,kw).to.prepare(e,t)));Z(this,"mintBatchTo",ye(async e=>Rt(this.mintable?.batch,uk).to.prepare(e)));Z(this,"burn",ye(async e=>Rt(this.burnable,Aw).tokens.prepare(e)));Z(this,"burnFrom",ye(async(e,t)=>Rt(this.burnable,Aw).from.prepare(e,t)));Z(this,"claim",ye(async(e,t)=>this.claimTo.prepare(await this.contractWrapper.getSignerAddress(),e,t)));Z(this,"claimTo",ye(async(e,t,a)=>Rt(this.droppable?.claim,Sw).to.prepare(e,t,a)));this.contractWrapper=e,this.storage=t,this.mintable=this.detectErc20Mintable(),this.burnable=this.detectErc20Burnable(),this.droppable=this.detectErc20Droppable(),this.signatureMintable=this.detectErc20SignatureMintable(),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return await vs(this.contractWrapper.getProvider(),this.getAddress())}async balance(){return await this.balanceOf(await this.contractWrapper.getSignerAddress())}async balanceOf(e){return this.getValue(await this.contractWrapper.read("balanceOf",[await Pe(e)]))}async totalSupply(){return await this.getValue(await this.contractWrapper.read("totalSupply",[]))}async allowance(e){let[t,a]=await Promise.all([this.contractWrapper.getSignerAddress(),Pe(e)]);return await this.allowanceOf(t,a)}async allowanceOf(e,t){let a=await Promise.all([Pe(e),Pe(t)]);return await this.getValue(await this.contractWrapper.read("allowance",a))}async getMintTransaction(e,t){return Rt(this.mintable,kw).getMintTransaction(e,t)}get claimConditions(){return Rt(this.droppable?.claim,Sw).conditions}get signature(){return Rt(this.signatureMintable,pk)}async normalizeAmount(e){return i0n(this.contractWrapper,e)}async getValue(e){return await Va(this.contractWrapper.getProvider(),this.getAddress(),O7.BigNumber.from(e))}detectErc20Mintable(){if(gt(this.contractWrapper,"ERC20"))return new tce(this,this.contractWrapper)}detectErc20Burnable(){if(gt(this.contractWrapper,"ERC20Burnable"))return new J1e(this,this.contractWrapper)}detectErc20Droppable(){if(gt(this.contractWrapper,"ERC20ClaimConditionsV1")||gt(this.contractWrapper,"ERC20ClaimConditionsV2")||gt(this.contractWrapper,"ERC20ClaimPhasesV1")||gt(this.contractWrapper,"ERC20ClaimPhasesV2"))return new Z1e(this,this.contractWrapper,this.storage)}detectErc20SignatureMintable(){if(gt(this.contractWrapper,"ERC20SignatureMintable"))return new dk(this.contractWrapper)}}});var nce,s0n,f0n,o0n,c0n,d0n,l0n,p0n,u0n,y0n,ace,xnt,Int=ce(()=>{"use strict";p();u();F5();sn();fp();wl();nce=re.object({contractAddress:Kn}),s0n=nce.extend({quantity:Kr}),f0n=nce.extend({tokenId:$a}),o0n=nce.extend({tokenId:$a,quantity:$a}),c0n=s0n.omit({quantity:!0}).extend({quantityPerReward:Kr}),d0n=f0n,l0n=o0n.omit({quantity:!0}).extend({quantityPerReward:$a}),p0n=c0n.extend({totalRewards:$a.default("1")}),u0n=d0n,y0n=l0n.extend({totalRewards:$a.default("1")}),ace=re.object({erc20Rewards:re.array(p0n).default([]),erc721Rewards:re.array(u0n).default([]),erc1155Rewards:re.array(y0n).default([])}),xnt=ace.extend({packMetadata:C7,rewardsPerPack:$a.default("1"),openStartTime:S7.default(new Date)})});var Ent={};jt(Ent,{Pack:()=>ice});var N1,uva,yva,bva,rce,pz,ice,Dnt=ce(()=>{"use strict";p();u();N1=Te(Ue());Qa();P1e();M6();sn();fp();hi();XA();sp();Ia();M1();op();Dc();KH();pse();lk();Int();Ga();uva=Te(Dr()),yva=Te(zf());Ot();bva=Te(Cc()),rce=class{constructor(e,t,a,r,i){Z(this,"featureName",yk.name);Z(this,"open",ye((()=>{var e=this;return async function(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"openPack",args:[t,a],overrides:{gasLimit:r},parse:i=>{let s=N1.BigNumber.from(0);try{s=e.contractWrapper.parseLogs("PackOpenRequested",i?.logs)[0].args.requestId}catch{}return{receipt:i,id:s}}})}})()));Z(this,"claimRewards",ye((()=>{var e=this;return async function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5e5;return De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"claimRewards",args:[],overrides:{gasLimit:t},parse:async a=>{let r=e.contractWrapper.parseLogs("PackOpened",a?.logs);if(r.length===0)throw new Error("PackOpened event not found");let i=r[0].args.rewardUnitsDistributed;return await e.parseRewards(i)}})}})()));let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new f0(e,t,uU,r,a);this.contractWrapper=s,this.storage=a,this.chainId=i,this.events=new xn(this.contractWrapper)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async parseRewards(e){let t=[],a=[],r=[];for(let i of e)switch(i.tokenType){case 0:{let s=await vs(this.contractWrapper.getProvider(),i.assetContract);t.push({contractAddress:i.assetContract,quantityPerReward:N1.utils.formatUnits(i.totalAmount,s.decimals).toString()});break}case 1:{a.push({contractAddress:i.assetContract,tokenId:i.tokenId.toString()});break}case 2:{r.push({contractAddress:i.assetContract,tokenId:i.tokenId.toString(),quantityPerReward:i.totalAmount.toString()});break}}return{erc20Rewards:t,erc721Rewards:a,erc1155Rewards:r}}async addPackOpenEventListener(e){return this.events.addEventListener("PackOpened",async t=>{e(t.data.packId.toString(),t.data.opener,await this.parseRewards(t.data.rewardUnitsDistributed))})}async canClaimRewards(e){let t=await Pe(e||await this.contractWrapper.getSignerAddress());return await this.contractWrapper.read("canClaimRewards",[t])}async openAndClaim(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5,r=await this.contractWrapper.sendTransaction("openPackAndClaimRewards",[e,t,a],{gasLimit:N1.BigNumber.from(5e5)}),i=N1.BigNumber.from(0);try{i=this.contractWrapper.parseLogs("PackOpenRequested",r?.logs)[0].args.requestId}catch{}return{receipt:r,id:i}}async getLinkBalance(){let e=(await Promise.resolve().then(()=>Te(D1()))).default;return this.getLinkContract(e).balanceOf(this.contractWrapper.address)}async transferLink(e){let t=(await Promise.resolve().then(()=>Te(D1()))).default;await this.getLinkContract(t).transfer(this.contractWrapper.address,e)}getLinkContract(e){let t=sce[this.chainId];if(!t)throw new Error(`No LINK token address found for chainId ${this.chainId}`);let a=new f0(this.contractWrapper.getSignerOrProvider(),t,e,this.contractWrapper.options,this.storage);return new A3(a,this.storage,this.chainId)}},pz=class pz extends T3{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i.gasless&&"openzeppelin"in i.gasless?{...i,gasless:{...i.gasless,openzeppelin:{...i.gasless.openzeppelin,useEOAForwarder:!0}}}:i,r);super(o,r,f);Z(this,"create",ye(async t=>{let a=await this.contractWrapper.getSignerAddress();return this.createTo.prepare(a,t)}));Z(this,"addPackContents",ye(async(t,a)=>{let[r,i]=await Promise.all([this.contractWrapper.getSignerAddress(),ace.parseAsync(a)]),{contents:s,numOfRewardUnits:f}=await this.toPackContentArgs(i);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addPackContents",args:[t,s,f,r],parse:o=>{let c=this.contractWrapper.parseLogs("PackUpdated",o?.logs);if(c.length===0)throw new Error("PackUpdated event not found");let d=c[0].args.packId;return{id:d,receipt:o,data:()=>this.erc1155.get(d)}}})}));Z(this,"createTo",ye(async(t,a)=>{let[r,i,s]=await Promise.all([my(a.packMetadata,this.storage),xnt.parseAsync(a),Pe(t)]),{erc20Rewards:f,erc721Rewards:o,erc1155Rewards:c}=i,d={erc20Rewards:f,erc721Rewards:o,erc1155Rewards:c},{contents:l,numOfRewardUnits:y}=await this.toPackContentArgs(d);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createPack",args:[l,y,r,i.openStartTime,i.rewardsPerPack,s],parse:h=>{let T=this.contractWrapper.parseLogs("PackCreated",h?.logs);if(T.length===0)throw new Error("PackCreated event not found");let A=T[0].args.packId;return{id:A,receipt:h,data:()=>this.erc1155.get(A)}}})}));Z(this,"open",ye((()=>{var t=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e5;if(t._vrf)throw new Error("This contract is using Chainlink VRF, use `contract.vrf.open()` or `contract.vrf.openAndClaim()` instead");return De.fromContractWrapper({contractWrapper:t.contractWrapper,method:"openPack",args:[a,r],overrides:{gasLimit:i},parse:async s=>{let f=t.contractWrapper.parseLogs("PackOpened",s?.logs);if(f.length===0)throw new Error("PackOpened event not found");let o=f[0].args.rewardUnitsDistributed,c=[],d=[],l=[];for(let y of o)switch(y.tokenType){case 0:{let h=await vs(t.contractWrapper.getProvider(),y.assetContract);c.push({contractAddress:y.assetContract,quantityPerReward:N1.utils.formatUnits(y.totalAmount,h.decimals).toString()});break}case 1:{d.push({contractAddress:y.assetContract,tokenId:y.tokenId.toString()});break}case 2:{l.push({contractAddress:y.assetContract,tokenId:y.tokenId.toString(),quantityPerReward:y.totalAmount.toString()});break}}return{erc20Rewards:c,erc721Rewards:d,erc1155Rewards:l}}})}})()));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,uz,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,pz.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.owner=new yf(this.contractWrapper),this._vrf=this.detectVrf()}get vrf(){return Rt(this._vrf,yk)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t),this._vrf?.onNetworkUpdated(t)}getAddress(){return this.contractWrapper.address}async get(t){return this.erc1155.get(t)}async getAll(t){return this.erc1155.getAll(t)}async getOwned(t){return this.erc1155.getOwned(t)}async getTotalCount(){return this.erc1155.totalCount()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),N1.constants.AddressZero])}async getPackContents(t){let{contents:a,perUnitAmounts:r}=await this.contractWrapper.read("getPackContents",[t]),i=[],s=[],f=[];for(let o=0;o{Orn.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packTotalSupply",type:"uint256",internalType:"uint256"},{name:"newSupplyAdded",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"canUpdatePack",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createPack",inputs:[{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_packUri",type:"string",internalType:"string"},{name:"_openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"_amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"perUnitAmounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"openPack",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackUpdated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var if0={};G0(if0,{SignatureDrop:()=>yde});var fh,BIa,DIa,LIa,HG,yde,sf0=oe(()=>{"use strict";u();p();fh=Ee(Je());Ll();ln();Da();Rf();or();ec();Nl();Ol();Vc();Z8();CE();LM();IM();TG();ir();BIa=Ee(Va()),DIa=Ee(io());W0();LIa=Ee(Yc()),HG=class HG extends w2{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"createBatch",be(async(n,a)=>this.erc721.lazyMint.prepare(n,a)));ae(this,"claimTo",be(async(n,a,r)=>this.erc721.claimTo.prepare(n,a,r)));ae(this,"claim",be(async(n,a)=>this.erc721.claim.prepare(n,a)));ae(this,"burn",be(async n=>this.erc721.burn.prepare(n)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,rh,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,HG.contractRoles),this.royalties=new Ss(this.contractWrapper,this.metadata),this.sales=new Ms(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new o5(this.contractWrapper,this.metadata,this.storage),this.signature=new pb(this.contractWrapper,this.storage),this.revealer=new b2(this.contractWrapper,this.storage,nh.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new pb(this.contractWrapper,this.storage),this.owner=new Rs(this.contractWrapper),this.checkout=new sb(this.contractWrapper)}onNetworkUpdated(n){this.contractWrapper.updateSignerOrProvider(n)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[n,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return n.add(a)}async getAllClaimed(n){let a=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).toNumber(),f=Math.min((await this.totalClaimedSupply()).toNumber(),a+r);return await Promise.all(Array.from(Array(f).keys()).map(i=>this.get(i.toString())))}async getAllUnclaimed(n){let a=fh.BigNumber.from(n?.start||0).toNumber(),r=fh.BigNumber.from(n?.count||Li).toNumber(),f=fh.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),i=fh.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),f.toNumber()+r));return await Promise.all(Array.from(Array(i.sub(f).toNumber()).keys()).map(s=>this.erc721.getTokenMetadata(f.add(s).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),fh.constants.AddressZero])}async getClaimTransaction(n,a,r){return this.erc721.getClaimTransaction(n,a,r)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(HG,"contractRoles",Bs);yde=HG});var of0=D((UIa,Urn)=>{Urn.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var cf0=D((HIa,Hrn)=>{Hrn.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimedAt",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var df0={};G0(df0,{Split:()=>gde});var zM,VIa,YIa,zG,gde,lf0=oe(()=>{"use strict";u();p();zM=Ee(Je());or();ln();Da();Rf();ec();Vc();ir();VIa=Ee(Va()),YIa=Ee(io());W0();zG=class zG{constructor(e,n,a){ae(this,"withdraw",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Oe(e)]})));ae(this,"withdrawToken",be(async(e,n)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Oe(n),Oe(e)])})));ae(this,"distribute",be(async()=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));ae(this,"distributeToken",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute(address)",args:[await Oe(e)]})));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,WG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,zG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAllRecipients(){let e=[],n=zM.BigNumber.from(0),a=await this.contractWrapper.read("payeeCount",[]);for(;n.lt(a);)try{let r=await this.contractWrapper.read("payee",[n]);e.push(await this.getRecipientSplitPercentage(r)),n=n.add(1)}catch(r){if("method"in r&&r.method.toLowerCase().includes("payee(uint256)"))break;throw r}return e}async balanceOfAllRecipients(){let e=await this.getAllRecipients(),n={};for(let a of e)n[a.address]=await this.balanceOf(a.address);return n}async balanceOfTokenAllRecipients(e){let[n,a]=await Promise.all([Oe(e),this.getAllRecipients()]),r={};for(let f of a)r[f.address]=await this.balanceOfToken(f.address,n);return r}async balanceOf(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.getProvider().getBalance(this.getAddress()),this.contractWrapper.read("totalReleased",[])]),f=a.add(r);return this._pendingPayment(n,f,await this.contractWrapper.read("released",[n]))}async balanceOfToken(e,n){let[a,r]=await Promise.all([Oe(n),Oe(e)]),f=(await Promise.resolve().then(()=>Ee(K1()))).default,i=new zM.Contract(a,f,this.contractWrapper.getProvider()),[s,o,c]=await Promise.all([i.balanceOf(this.getAddress()),this.contractWrapper.read("totalReleased",[a]),this.contractWrapper.read("released",[a,r])]),d=s.add(o),l=await this._pendingPayment(r,d,c);return await Ja(this.contractWrapper.getProvider(),a,l)}async getRecipientSplitPercentage(e){let[n,a,r]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[]),this.contractWrapper.read("shares",[e])]);return{address:n,splitPercentage:r.mul(zM.BigNumber.from(1e7)).div(a).toNumber()/1e5}}async _pendingPayment(e,n,a){let[r,f]=await Promise.all([Oe(e),this.contractWrapper.read("totalShares",[])]);return n.mul(await this.contractWrapper.read("shares",[r])).div(f).sub(a)}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}};ae(zG,"contractRoles",vde);gde=zG});var uf0=D((eCa,zrn)=>{zrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"distribute",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"distribute",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_payees",type:"address[]",internalType:"address[]"},{name:"_shares",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"payee",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"payeeCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"release",inputs:[{name:"account",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"release",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"released",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"released",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"shares",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalShares",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ERC20PaymentReleased",inputs:[{name:"token",type:"address",indexed:!0,internalType:"contract IERC20Upgradeable"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PayeeAdded",inputs:[{name:"account",type:"address",indexed:!1,internalType:"address"},{name:"shares",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReceived",inputs:[{name:"from",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReleased",inputs:[{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var LE,wde=oe(()=>{"use strict";u();p();Da();NM();LE=class{constructor(e,n,a){ae(this,"transfer",be(async(e,n)=>this.erc20.transfer.prepare(e,n)));ae(this,"transferFrom",be(async(e,n,a)=>this.erc20.transferFrom.prepare(e,n,a)));ae(this,"setAllowance",be(async(e,n)=>this.erc20.setAllowance.prepare(e,n)));ae(this,"transferBatch",be(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=n,this.erc20=new mb(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return this.erc20.get()}async balance(){return await this.erc20.balance()}async balanceOf(e){return this.erc20.balanceOf(e)}async totalSupply(){return await this.erc20.totalSupply()}async allowance(e){return await this.erc20.allowance(e)}async allowanceOf(e,n){return await this.erc20.allowanceOf(e,n)}}});var hf0={};G0(hf0,{TokenDrop:()=>Tde});var pf0,gCa,vCa,TCa,qG,Tde,mf0=oe(()=>{"use strict";u();p();pf0=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();CE();wde();ir();gCa=Ee(Va()),vCa=Ee(io());W0();TCa=Ee(Yc()),qG=class qG extends LE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"claim",be((()=>{var n=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n.claimTo.prepare(await n.contractWrapper.getSignerAddress(),a,r)}})()));ae(this,"claimTo",be((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.erc20.claimTo.prepare(a,r,{checkERC20Allowance:f})}})()));ae(this,"delegateTo",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burnTokens",be(async n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,xde,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,qG.contractRoles),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.sales=new Ms(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.claimConditions=new o5(this.contractWrapper,this.metadata,this.storage)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[await Oe(n)]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),pf0.constants.AddressZero])}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(qG,"contractRoles",Ede);Tde=qG});var bf0=D((ACa,Wrn)=>{Wrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]}]});var yf0=D((ICa,qrn)=>{qrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var gf0={};G0(gf0,{Token:()=>Ade});var S9,OCa,UCa,zCa,_de,jG,Ade,vf0=oe(()=>{"use strict";u();p();S9=Ee(Je());ln();Da();Rf();or();ec();Ol();Vc();Z8();NM();wde();ir();OCa=Ee(Va()),UCa=Ee(io());W0();zCa=Ee(Yc()),_de=class{constructor(e,n){this.contractWrapper=e,this.events=n}async getAllHolderBalances(){let n=(await this.events.getEvents("Transfer")).map(i=>i.data),a={};n.forEach(i=>{let s=i?.from,o=i?.to,c=i?.value;s!==S9.constants.AddressZero&&(s in a||(a[s]=S9.BigNumber.from(0)),a[s]=a[s].sub(c)),o!==S9.constants.AddressZero&&(o in a||(a[o]=S9.BigNumber.from(0)),a[o]=a[o].add(c))});let r=Object.entries(a),f=await Promise.all(r.map(i=>{let[,s]=i;return Ja(this.contractWrapper.getProvider(),this.contractWrapper.address,s)}));return r.map((i,s)=>{let[o]=i;return{holder:o,balance:f[s]}})}},jG=class jG extends LE{constructor(n,a,r){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(n,a,i,f,r);super(o,r,s);ae(this,"mint",be(async n=>this.erc20.mint.prepare(n)));ae(this,"mintTo",be(async(n,a)=>this.erc20.mintTo.prepare(n,a)));ae(this,"mintBatchTo",be(async n=>this.erc20.mintBatchTo.prepare(n)));ae(this,"delegateTo",be(async n=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Oe(n)]})));ae(this,"burn",be(n=>this.erc20.burn.prepare(n)));ae(this,"burnFrom",be(async(n,a)=>this.erc20.burnFrom.prepare(n,a)));this.abi=ht.parse(i||[]),this.metadata=new Wn(this.contractWrapper,GG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.roles=new Tr(this.contractWrapper,jG.contractRoles),this.sales=new Ms(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.history=new _de(this.contractWrapper,this.events),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.platformFees=new ai(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.signature=new FM(this.contractWrapper,this.roles)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(n){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[n]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(n){return await this.contractWrapper.read("delegates",[await Oe(n)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[cr("transfer"),S9.constants.AddressZero])}async getMintTransaction(n,a){return this.erc20.getMintTransaction(n,a)}async prepare(n,a,r){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:n,args:a,overrides:r})}async call(n,a,r){return this.contractWrapper.call(n,a,r)}};ae(jG,"contractRoles",Bs);Ade=jG});var wf0=D((GCa,jrn)=>{jrn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var KG,Tf0=oe(()=>{"use strict";u();p();KG=function(t){return t[t.Against=0]="Against",t[t.For=1]="For",t[t.Abstain=2]="Abstain",t}({})});var xf0={};G0(xf0,{Vote:()=>Ide});var bb,nka,aka,Ide,Ef0=oe(()=>{"use strict";u();p();bb=Ee(Je());or();ln();Da();Rf();ec();Tf0();ir();nka=Ee(Va()),aka=Ee(io());W0();Ide=class{constructor(e,n,a){ae(this,"propose",be(async(e,n)=>{n||(n=[{toAddress:this.contractWrapper.address,nativeTokenValue:0,transactionData:"0x"}]);let a=n.map(i=>i.toAddress),r=n.map(i=>i.nativeTokenValue),f=n.map(i=>i.transactionData);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"propose",args:[a,r,f,e],parse:i=>({id:this.contractWrapper.parseLogs("ProposalCreated",i?.logs)[0].args.proposalId,receipt:i})})}));ae(this,"vote",be((()=>{var e=this;return async function(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return await e.ensureExists(n),Me.fromContractWrapper({contractWrapper:e.contractWrapper,method:"castVoteWithReason",args:[n,a,r]})}})()));ae(this,"execute",be(async e=>{await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=bb.utils.id(n.description);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"execute",args:[a,r,f,i]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(e,n,f,r,a);this._chainId=i,this.abi=ht.parse(f||[]),this.contractWrapper=s,this.storage=a,this.metadata=new Wn(this.contractWrapper,QG,this.storage),this.app=new ja(this.contractWrapper,this.metadata,this.storage),this.encoder=new it(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.events=new Rn(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let a=(await this.getAll()).filter(r=>r.proposalId.eq(bb.BigNumber.from(e)));if(a.length===0)throw new Error("proposal not found");return a[0]}async getAll(){let e=await this.contractWrapper.read("getAllProposals",[])??[];return(await Promise.all(e.map(a=>Promise.all([this.contractWrapper.read("state",[a.proposalId]),this.getProposalVotes(a.proposalId)])))).map((a,r)=>{let[f,i]=a,s=e[r];return{proposalId:s.proposalId,proposer:s.proposer,description:s.description,startBlock:s.startBlock,endBlock:s.endBlock,state:f,votes:i,executions:s[3].map((o,c)=>({toAddress:s.targets[c],nativeTokenValue:o,transactionData:s.calldatas[c]}))}})}async getProposalVotes(e){let n=await this.contractWrapper.read("proposalVotes",[e]);return[{type:KG.Against,label:"Against",count:n.againstVotes},{type:KG.For,label:"For",count:n.forVotes},{type:KG.Abstain,label:"Abstain",count:n.abstainVotes}]}async hasVoted(e,n){return n||(n=await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("hasVoted",[e,await Oe(n)])}async canExecute(e){await this.ensureExists(e);let n=await this.get(e),a=n.executions.map(s=>s.toAddress),r=n.executions.map(s=>s.nativeTokenValue),f=n.executions.map(s=>s.transactionData),i=bb.utils.id(n.description);try{return await this.contractWrapper.callStatic().execute(a,r,f,i),!0}catch{return!1}}async balance(){let e=await this.contractWrapper.getProvider().getBalance(this.contractWrapper.address);return{name:"",symbol:"",decimals:18,value:e,displayValue:bb.utils.formatUnits(e,18)}}async balanceOfToken(e){let n=(await Promise.resolve().then(()=>Ee(K1()))).default,a=new bb.Contract(await Oe(e),n,this.contractWrapper.getProvider());return await Ja(this.contractWrapper.getProvider(),e,await a.balanceOf(this.contractWrapper.address))}async ensureExists(e){try{await this.contractWrapper.read("state",[e])}catch{throw Error(`Proposal ${e} not found`)}}async settings(){let[e,n,a,r,f]=await Promise.all([this.contractWrapper.read("votingDelay",[]),this.contractWrapper.read("votingPeriod",[]),this.contractWrapper.read("token",[]),this.contractWrapper.read("quorumNumerator",[]),this.contractWrapper.read("proposalThreshold",[])]),i=await Pi(this.contractWrapper.getProvider(),a);return{votingDelay:e.toString(),votingPeriod:n.toString(),votingTokenAddress:a,votingTokenMetadata:i,votingQuorumFraction:r.toString(),proposalTokenThreshold:f.toString()}}async prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}}});var _f0=D((oka,Grn)=>{Grn.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"COUNTING_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"pure"},{type:"function",name:"EXTENDED_BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"cancel",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVote",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReason",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParams",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParamsBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getAllProposals",inputs:[],outputs:[{name:"allProposals",type:"tuple[]",internalType:"struct VoteERC20.Proposal[]",components:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"signatures",type:"string[]",internalType:"string[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotesWithParams",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"hasVoted",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hashProposal",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"initialize",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_token",type:"address",internalType:"address"},{name:"_initialVotingDelay",type:"uint256",internalType:"uint256"},{name:"_initialVotingPeriod",type:"uint256",internalType:"uint256"},{name:"_initialProposalThreshold",type:"uint256",internalType:"uint256"},{name:"_initialVoteQuorumFraction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"proposalDeadline",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalProposer",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proposalSnapshot",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalThreshold",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalVotes",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"againstVotes",type:"uint256",internalType:"uint256"},{name:"forVotes",type:"uint256",internalType:"uint256"},{name:"abstainVotes",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposals",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"propose",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"description",type:"string",internalType:"string"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"quorum",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumDenominator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"relay",inputs:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setContractURI",inputs:[{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProposalThreshold",inputs:[{name:"newProposalThreshold",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingDelay",inputs:[{name:"newVotingDelay",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingPeriod",inputs:[{name:"newVotingPeriod",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"state",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint8",internalType:"enum IGovernorUpgradeable.ProposalState"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"token",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC5805Upgradeable"}],stateMutability:"view"},{type:"function",name:"updateQuorumNumerator",inputs:[{name:"newQuorumNumerator",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"votingDelay",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"votingPeriod",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ProposalCanceled",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalCreated",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"proposer",type:"address",indexed:!1,internalType:"address"},{name:"targets",type:"address[]",indexed:!1,internalType:"address[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"signatures",type:"string[]",indexed:!1,internalType:"string[]"},{name:"calldatas",type:"bytes[]",indexed:!1,internalType:"bytes[]"},{name:"voteStart",type:"uint256",indexed:!1,internalType:"uint256"},{name:"voteEnd",type:"uint256",indexed:!1,internalType:"uint256"},{name:"description",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ProposalExecuted",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalThresholdSet",inputs:[{name:"oldProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"QuorumNumeratorUpdated",inputs:[{name:"oldQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VoteCast",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"VoteCastWithParams",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"},{name:"params",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"VotingDelaySet",inputs:[{name:"oldVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VotingPeriodSet",inputs:[{name:"oldVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"Empty",inputs:[]}]});function UE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof x<"u"&&x.env[t]?x.env[t]:e}function GE(){return UE("contractPublisherAddress",Krn)}function iK(t){return!!(t&&t._isSigner)}function Qde(t){return!!(t&&t._isProvider)}function Yrn(t){for(let e=0,n=Af0.length;e"u"?{x_sdk_name:VG.name,x_sdk_platform:Cf0(),x_sdk_version:VG.version,x_sdk_os:If0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=VG.name,globalThis.X_SDK_PLATFORM=Cf0(),globalThis.X_SDK_VERSION=VG.version,globalThis.X_SDK_OS=If0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Cf0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function Xrn(t){return t.supportedChains.reduce((e,n)=>(e[n.chainId]||(e[n.chainId]=n),e),{})}function Bf(t,e){if(typeof t=="string"&&Zrn(t))return ZG(t,e);let n=XG.parse(e);VM(t)&&(n.supportedChains=[t,...n.supportedChains.filter(i=>i.chainId===t.chainId)]);let a=Xrn(n),r="",f;try{f=yi0(t,n),r=Tl(a[f],n.clientId)[0]}catch{}if(r||(r=`https://${f||t}.rpc.thirdweb.com/${n.clientId||""}`),!r)throw new Error(`No rpc url found for chain ${t}. Please provide a valid rpc url via the 'supportedChains' property of the sdk options.`);return ZG(r,e,f)}function yi0(t,e){if(VM(t))return t.chainId;if(typeof t=="number")return t;{let n=e.supportedChains.reduce((a,r)=>(a[r.slug]=r.chainId,a),{});if(t in n)return n[t]}throw new Error(`Cannot resolve chainId from: ${t} - please pass the chainId instead and specify it in the 'supportedChains' property of the SDK options.`)}function VM(t){return typeof t!="string"&&typeof t!="number"&&!iK(t)&&!Qde(t)}function Zrn(t){let e=t.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":case"ws":case"wss":return!0}return!1}function ZG(t,e,n){try{let a={},r="none";if(efn(t)){if(e?.secretKey)throw new Error("Cannot use secretKey in browser context");if(e?.clientId){let s=new URL(t);s.pathname=e.clientId,a["x-client-id"]=e.clientId,t=s.toString(),r="clientId"}typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(a.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`,r="twAuthToken"),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(a["x-authorize-wallet"]="true"),$rn(a);let i=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;!t.includes("bundleId")&&i&&(t=t+(i?`?bundleId=${i}`:""))}let f=t.match(/^(ws|http)s?:/i);if(f)switch(f[1].toLowerCase()){case"http":case"https":let i=`${t}-${n||-1}-${r}`,s=kf0.get(i);if(s)return s;let o=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(o=globalThis.TW_SKIP_FETCH_SETUP);let c=n?new JG({url:t,headers:a,skipFetchSetup:o},n,e?.rpcBatchSettings):new a0.providers.JsonRpcBatchProvider({url:t,headers:a,skipFetchSetup:o});return kf0.set(i,c),c;case"ws":case"wss":return new a0.providers.WebSocketProvider(t,n)}}catch{}return a0.providers.getDefaultProvider(t)}function efn(t){return new URL(t).hostname.endsWith(".thirdweb.com")}function as(t,e){let n,a;if(iK(t)?(n=t,t.provider&&(a=t.provider)):Qde(t)?a=t:a=Bf(t,e),e?.readonlySettings&&(a=ZG(e.readonlySettings.rpcUrl,e,e.readonlySettings.chainId)),!a)throw n?new Error("No provider passed to the SDK! Please make sure that your signer is connected to a provider!"):new Error("No provider found! Make sure to specify which network to connect to, or pass a signer or provider to the SDK!");return[n,a]}async function Vde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Cde||(Cde=as("ethereum")[1]);let n;kde.has(t)?n=kde.get(t):n=Cde.resolveName(t).then(r=>r?{address:r,expirationTime:new Date(Date.now()+1e3*60*5)}:{address:null,expirationTime:new Date(Date.now()+1e3*30)});let a=await n;return a.expirationTimeRf0)throw new Error(`version is longer than ${Rf0} characters`);let e=t.trim().match(ffn);if(!e||e?.length!==4)throw new Error(`${t} is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`);let n=Number(e[1]),a=Number(e[2]),r=Number(e[3]),f=[n,a,r].join(".");return{major:n,minor:a,patch:r,versionString:f}}function Yde(t,e){let n=eK(t),a=eK(e);if(a.major>n.major)return!0;let r=a.major===n.major;if(r&&a.minor>n.minor)return!0;let f=a.minor===n.minor;return r&&f&&a.patch>n.patch}async function KE(t,e){let n=await(await e.download(t)).text();return Ri0.parse(JSON.parse(n))}async function $M(t,e){let n=await e.downloadJSON(t,{timeoutInSeconds:ifn});if(!n||!n.output)throw new Error(`Could not resolve metadata for contract at ${t}`);return t5e(n)}function t5e(t){let e=ht.parse(t.output.abi),n=t.settings.compilationTarget,a=Object.keys(n),r=n[a[0]],f=e5e.parse({title:t.output.devdoc.title,author:t.output.devdoc.author,details:t.output.devdoc.detail,notice:t.output.userdoc.notice}),i=[...new Set(Object.entries(t.sources).map(s=>{let[,o]=s;return o.license}))];return{name:r,abi:e,metadata:t,info:f,licenses:i,isPartialAbi:t.isPartialAbi}}async function sK(t,e){return YM.parse(JSON.parse(await(await e.download(t)).text()))}async function F9(t,e,n){let a=await sK(t,e),r,f;if(n&&a.compilers){let o;switch(n.compilerType){case"solc":{if(n.compilerVersion)o=a.compilers.solc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.solc){let c=a.compilers.solc.length;o=a.compilers.solc[c-1]}break}case"zksolc":{if(n.compilerVersion)o=a.compilers.zksolc?.find(c=>c.compilerVersion===n.compilerVersion&&c.evmVersion===n.evmVersion);else if(a.compilers.zksolc){let c=a.compilers.zksolc.length;o=a.compilers.zksolc[c-1]}break}}d0(o,"Compiler or EVM version not found"),r=o.bytecodeUri,f=o.metadataUri}else r=a.bytecodeUri,f=a.metadataUri;let[i,s]=await Promise.all([e.download(r),$M(f,e)]);return Di0.parse({...a,...s,bytecode:await i.text(),fetchedMetadataUri:f,fetchedBytecodeUri:r})}function ofn(t,e){if(t.length===0||t.length===1||!e)return t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:new Map;function n(f,i){if(e.size>=t){let s=e.keys().next().value;e.delete(s)}e.set(f,i)}function a(f){if(!e.has(f))return;let s=e.get(f);return e.delete(f),e.set(f,s),s}function r(f){return e.has(f)}return{put:n,get:a,has:r,maxEntries:t,store:e}}async function Ls(t,e,n){let r=`${n?`${n.compilerType}_${n.compilerVersion||""}_${n.evmVersion||""} - `:"default"}_${t}`,f=Bf0.get(r);if(f)return f;let i=await F9(t,e,n),s;try{s=await KE(t,e)}catch{}let o={compilerMetadata:i,extendedMetadata:s};return Bf0.put(r,o),o}function a5e(t){t&&t.length>0?Fde=t:Fde=r1}function r5e(){return Fde}async function fc(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,s=r5e().find(h=>h.chainId===137)||Q7,o=await Oe(t),c=(await Promise.resolve().then(()=>Ee(qW()))).default,d=new a0.Contract(GE(),c,Bf(s,{clientId:r,secretKey:f})),l;if(!n||n==="latest"){let h=await d.getPublishedContract(o,e);l=GM.parse({id:h.contractId,timestamp:h.publishTimestamp,metadataUri:h.publishMetadataUri})}else{let h=(await d.getPublishedContractVersions(o,e)).map(k=>GM.parse({id:k.contractId,timestamp:k.publishTimestamp,metadataUri:k.publishMetadataUri})),v=(await Promise.all(h.map(k=>Ls(k.metadataUri,a)))).map((k,O)=>({name:h[O].id,publishedTimestamp:h[O].timestamp,publishedMetadata:k})).find(k=>k.publishedMetadata.extendedMetadata?.version===n);d0(v,"Contract version not found"),l=h.find(k=>k.timestamp===v.publishedTimestamp)}if(!l)throw new Error(`No published contract found for ${e} at version by '${I2}'`);return l}async function yG(t,e){try{let n=(await Promise.resolve().then(()=>Ee(Toe()))).default,a=new a0.Contract(t,n,e),[r,f]=await Promise.all([a.contractType(),a.contractVersion()]);return{type:a0.utils.toUtf8String(r).replace(/\x00/g,""),version:f}}catch{return}}function Ff0(){try{let t=La();if(ns){if(o0>=ns.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}o0=ns.postBundlePosition,ns=null}if(o0==B9)ri=null,ot=null,Hl&&(Hl=null);else if(o0>B9){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!Ude)throw new Error("Data read, but end of buffer not reached");return t}catch(t){throw Oi0(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer"))&&(t.incomplete=!0),t}}function La(){let t=ot[o0++],e=t>>5;if(t=t&31,t>23)switch(t){case 24:t=ot[o0++];break;case 25:if(e==7)return mfn();t=ac.getUint16(o0),o0+=2;break;case 26:if(e==7){let n=ac.getFloat32(o0);if(ua.useFloat32>2){let a=Ui0[(ot[o0]&127)<<1|ot[o0+1]>>7];return o0+=4,(a*n+(n>0?.5:-.5)>>0)/a}return o0+=4,n}t=ac.getUint32(o0),o0+=4;break;case 27:if(e==7){let n=ac.getFloat64(o0);return o0+=8,n}if(e>1){if(ac.getUint32(o0)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");t=ac.getUint32(o0+4)}else ua.int64AsNumber?(t=ac.getUint32(o0)*4294967296,t+=ac.getUint32(o0+4)):t=ac.getBigUint64(o0);o0+=8;break;case 31:switch(e){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let n=[],a,r=0;for(;(a=La())!=FE;)n[r++]=a;return e==4?n:e==3?n.join(""):_.Buffer.concat(n);case 5:let f;if(ua.mapsAsObjects){let i={};if(ua.keyMap)for(;(f=La())!=FE;)i[T2(ua.decodeKey(f))]=La();else for(;(f=La())!=FE;)i[T2(f)]=La();return i}else{WM&&(ua.mapsAsObjects=!0,WM=!1);let i=new Map;if(ua.keyMap)for(;(f=La())!=FE;)i.set(ua.decodeKey(f),La());else for(;(f=La())!=FE;)i.set(f,La());return i}case 7:return FE;default:throw new Error("Invalid major type for indefinite length "+e)}default:throw new Error("Unknown token "+t)}switch(e){case 0:return t;case 1:return~t;case 2:return hfn(t);case 3:if(KM>=o0)return aK.slice(o0-rK,(o0+=t)-rK);if(KM==0&&B9<140&&t<32){let r=t<16?Pi0(t):pfn(t);if(r!=null)return r}return ufn(t);case 4:let n=new Array(t);for(let r=0;r=Df0){let r=ri[t&8191];if(r)return r.read||(r.read=zde(r)),r.read();if(t<65536){if(t==lfn)return qde(La());if(t==dfn){let f=qM(),i=La();for(let s=2;s23)switch(n){case 24:n=ot[o0++];break;case 25:n=ac.getUint16(o0),o0+=2;break;case 26:n=ac.getUint32(o0),o0+=4;break;default:throw new Error("Expected array header, but got "+ot[o0-1])}let a=this.compiledReader;for(;a;){if(a.propertyCount===n)return a(La);a=a.next}if(this.slowReads++>=3){let f=this.length==n?this:this.slice(0,n);return a=ua.keyMap?new Function("r","return {"+f.map(i=>ua.decodeKey(i)).map(i=>Nf0.test(i)?T2(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"):new Function("r","return {"+f.map(i=>Nf0.test(i)?T2(i)+":r()":"["+JSON.stringify(i)+"]:r()").join(",")+"}"),this.compiledReader&&(a.next=this.compiledReader),a.propertyCount=n,this.compiledReader=a,a(La)}let r={};if(ua.keyMap)for(let f=0;f64&&Nde)return Nde.decode(ot.subarray(o0,o0+=t));let n=o0+t,a=[];for(e="";o065535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|o&1023),a.push(o)}else a.push(r);a.length>=4096&&(e+=Ds.apply(String,a),a.length=0)}return a.length>0&&(e+=Ds.apply(String,a)),e}function pfn(t){let e=o0,n=new Array(t);for(let a=0;a0){o0=e;return}n[a]=r}return Ds.apply(String,n)}function Pi0(t){if(t<4)if(t<2){if(t===0)return"";{let e=ot[o0++];if((e&128)>1){o0-=1;return}return Ds(e)}}else{let e=ot[o0++],n=ot[o0++];if((e&128)>0||(n&128)>0){o0-=2;return}if(t<3)return Ds(e,n);let a=ot[o0++];if((a&128)>0){o0-=3;return}return Ds(e,n,a)}else{let e=ot[o0++],n=ot[o0++],a=ot[o0++],r=ot[o0++];if((e&128)>0||(n&128)>0||(a&128)>0||(r&128)>0){o0-=4;return}if(t<6){if(t===4)return Ds(e,n,a,r);{let f=ot[o0++];if((f&128)>0){o0-=5;return}return Ds(e,n,a,r,f)}}else if(t<8){let f=ot[o0++],i=ot[o0++];if((f&128)>0||(i&128)>0){o0-=6;return}if(t<7)return Ds(e,n,a,r,f,i);let s=ot[o0++];if((s&128)>0){o0-=7;return}return Ds(e,n,a,r,f,i,s)}else{let f=ot[o0++],i=ot[o0++],s=ot[o0++],o=ot[o0++];if((f&128)>0||(i&128)>0||(s&128)>0||(o&128)>0){o0-=8;return}if(t<10){if(t===8)return Ds(e,n,a,r,f,i,s,o);{let c=ot[o0++];if((c&128)>0){o0-=9;return}return Ds(e,n,a,r,f,i,s,o,c)}}else if(t<12){let c=ot[o0++],d=ot[o0++];if((c&128)>0||(d&128)>0){o0-=10;return}if(t<11)return Ds(e,n,a,r,f,i,s,o,c,d);let l=ot[o0++];if((l&128)>0){o0-=11;return}return Ds(e,n,a,r,f,i,s,o,c,d,l)}else{let c=ot[o0++],d=ot[o0++],l=ot[o0++],h=ot[o0++];if((c&128)>0||(d&128)>0||(l&128)>0||(h&128)>0){o0-=12;return}if(t<14){if(t===12)return Ds(e,n,a,r,f,i,s,o,c,d,l,h);{let y=ot[o0++];if((y&128)>0){o0-=13;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y)}}else{let y=ot[o0++],v=ot[o0++];if((y&128)>0||(v&128)>0){o0-=14;return}if(t<15)return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v);let k=ot[o0++];if((k&128)>0){o0-=15;return}return Ds(e,n,a,r,f,i,s,o,c,d,l,h,y,v,k)}}}}}function hfn(t){return ua.copyBuffers?Uint8Array.prototype.slice.call(ot,o0,o0+=t):ot.subarray(o0,o0+=t)}function mfn(){let t=ot[o0++],e=ot[o0++],n=(t&127)>>2;if(n===31)return e||t&3?NaN:t&128?-1/0:1/0;if(n===0){let a=((t&3)<<8|e)/16777216;return t&128?-a:a}return YG[3]=t&128|(n>>1)+56,YG[2]=(t&7)<<5|e>>3,YG[1]=e<<5,YG[0]=0,Li0[0]}function NE(t,e){return typeof t=="string"?t+e:t instanceof Array?t.concat(e):Object.assign({},t,e)}function M9(){if(!Jc)if(ua.getShared)f5e();else throw new Error("No packed values available");return Jc}function wfn(t,e){let n="get"+t.name.slice(0,-5);typeof t!="function"&&(t=null);let a=t.BYTES_PER_ELEMENT;for(let r=0;r<2;r++){if(!r&&a==1)continue;let f=a==2?1:a==4?2:3;Mf[r?e:e-4]=a==1||r==gfn?i=>{if(!t)throw new Error("Could not find typed array for code "+e);return new t(Uint8Array.prototype.slice.call(i,0).buffer)}:i=>{if(!t)throw new Error("Could not find typed array for code "+e);let s=new DataView(i.buffer,i.byteOffset,i.byteLength),o=i.length>>f,c=new t(o),d=s[n];for(let l=0;l23)switch(t){case 24:t=ot[o0++];break;case 25:t=ac.getUint16(o0),o0+=2;break;case 26:t=ac.getUint32(o0),o0+=4;break}return t}function f5e(){if(ua.getShared){let t=Ni0(()=>(ot=null,ua.getShared()))||{},e=t.structures||[];ua.sharedVersion=t.version,Jc=ua.sharedValues=t.packedValues,ri===!0?ua.structures=ri=e:ri.splice.apply(ri,[0,e.length].concat(e))}}function Ni0(t){let e=B9,n=o0,a=rK,r=KM,f=aK,i=Hl,s=ns,o=new Uint8Array(ot.slice(0,B9)),c=ri,d=ua,l=Ude,h=t();return B9=e,o0=n,rK=a,KM=r,aK=f,Hl=i,ns=s,ot=o,Ude=l,ri=c,ua=d,ac=new DataView(ot.buffer,ot.byteOffset,ot.byteLength),h}function Oi0(){ot=null,Hl=null,ri=null}function _fn(t){if(t=t.toString(16),t.startsWith("0x")||(t=`0x${t}`),!Afn(t))throw new Error(`Given value "${t}" is not a valid hex string.`);t=t.replace(/^0x/i,"");let e=[];for(let n=0;nht.parse(f)).flat().filter(f=>f.type!=="constructor");e&&a.push(...ht.parse(e));let r=ofn(a,(f,i)=>f.name===i.name&&f.type===i.type&&f.inputs.length===i.inputs.length);return ht.parse(r)}function jde(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=t.type,r=!1;return a.endsWith("[]")&&(r=!0,a=a.slice(0,-2)),a.startsWith("bytes")&&(a="BytesLike"),(a.startsWith("uint")||a.startsWith("int"))&&(a=e?"BigNumber":"BigNumberish"),a.startsWith("bool")&&(a="boolean"),a==="address"&&(a="string"),a==="tuple"&&t.components&&(a=`{ ${t.components.map(f=>jde(f,!1,!0)).join(", ")} }`),r&&(a+="[]"),n&&(a=`${t.name}: ${a}`),a}function oK(t,e,n){return e?.output?.userdoc?.[n]?.[Object.keys(e?.output?.userdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.notice||e?.output?.devdoc?.[n]?.[Object.keys(e?.output?.devdoc[n]||{}).find(a=>a.includes(t||"unknown"))||""]?.details}function x2(t,e){let n=(t||[]).filter(r=>r.type==="function"),a=[];for(let r of n){let f=oK(r.name,e,"methods"),i=r.inputs?.map(l=>`${l.name||"key"}: ${jde(l)}`)?.join(", ")||"",s=i?`, [${i}]`:"",o=r.outputs?.map(l=>jde(l,!0))?.join(", "),c=o?`: Promise<${o}>`:": Promise",d=`contract.call("${r.name}"${s})${c}`;a.push({inputs:r.inputs||[],outputs:r.outputs||[],name:r.name||"unknown",signature:d,stateMutability:r.stateMutability||"",comment:f})}return a}function ji0(t,e){let n=x2(t),a=e.flatMap(f=>x2(f));return n.filter(f=>a.find(s=>s.name===f.name&&s.inputs.length===f.inputs.length&&s.inputs.every((o,c)=>o.type==="tuple"||o.type==="tuple[]"?o.type===f.inputs[c].type&&o.components?.every((d,l)=>d.type===f.inputs[c].components?.[l]?.type):o.type===f.inputs[c].type))!==void 0).length===a.length}function Gi0(t,e){let a=e.map(f=>new pi0.Interface(f)).flatMap(f=>Object.values(f.functions).map(i=>Number(f.getSighash(i)).toString(16)));return[...new Set(a)].every(f=>t.includes(f))}function vb(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s5e,n=JSON.stringify(t);if(Mde.has(n))return Mde.get(n);let a=Ki0(t,e);return Mde.put(n,a),a}function Ki0(t,e){let n={};for(let a in e){let r=e[a],f=Dfn(t,r),i=Ki0(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function o5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s5e,n={};for(let a in e){let r=e[a],f=Gi0(t,r.abis),i=o5e(t,r.features);n[a]={...r,features:i,enabled:f}}return n}function Dfn(t,e){return ji0(t,e.abis)}function cK(t,e){if(t)for(let n in t){let a=t[n];a.enabled&&e.push(a),cK(a.features,e)}}function Qi0(t){let e=[];return cK(o5e(t),e),e}function Vi0(t){let e=Qi0(t);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),ih(e.map(a=>ih(a.abis)))}function $i0(t,e){return`${t}-${e}`}function Lfn(t,e,n){Yi0.put($i0(t,e),n)}function rM(t,e){return Yi0.get($i0(t,e))}async function ni(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,f=rM(t,r);if(f)return f;let i;if(!(r===31337||r===1337))try{let o=await fetch(`${Pfn}/${r}/${t}`,{headers:{...Jrn()}});if(o.ok){let c=await o.json();i=t5e(c)}}catch{}if(i||(i=await Ji0(t,r,e,n,a)),!i)throw new Error(`Could not resolve contract. Try importing it by visiting: https://thirdweb.com/${r}/${t}`);return i.isPartialAbi?console.warn(`Contract metadata could only be partially resolved, some contract functions might be unavailable. Try importing the contract by visiting: https://thirdweb.com/${r}/${t}`):Lfn(t,r,i),i}async function Ji0(t,e,n,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},f,[i,s]=await Promise.all([zi0(t,n).catch(()=>{}),Ffn(t,e,r).then(d=>{if(d)return{uri:d,bytecode:""}}).catch(()=>{})]),o=i?.bytecode,c=s?.uri||i?.uri;if(!c&&!o)throw new Error(`Could not fetch bytecode for contract at ${t} on chain ${e}, double check that the address and chainId are correct.`);try{f=await $M(c,a)}catch{}if(!f&&o){let d=Vi0(o);if(d&&d.length>0)return f={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},f}return f}async function Ffn(t,e,n){let a=(await Promise.resolve().then(()=>Ee(xoe()))).default;if(!Bde){let i=n?.supportedChains?.find(s=>s.chainId===137)||Q7;Bde=new a0.Contract(ZM(),a,Bf(i,n))}return await Bde.getMetadataUri(e,t)}async function Zc(t,e,n){try{let a=await ni(t,e,n);if(a&&a.abi)return a.abi}catch{}}async function Nfn(t,e){let{extendedMetadata:n}=await Ls(t,e);return n?.compositeAbi||[]}function ni0(t){return Ofn.some(a=>t.includes(a))?!0:Ufn.some(a=>a.some(r=>t.includes(r)))}async function Xc(t,e){let n=await e.getCode(t);return n!=="0x"&&n!=="0x0"}async function Kde(t){try{await t.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let n=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(ni0(n)||ni0(a))}return!1}function ts0(t,e){let n=a0.utils.arrayify(a0.utils.keccak256(a0.utils.serializeTransaction(t))),a=a0.utils.recoverAddress(n,e),r=a0.utils.serializeTransaction(t,e);return{signer:a,transaction:r}}function jM(t,e){let n=a0.utils.joinSignature(Zi0),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,f=ts0({gasPrice:a,gasLimit:r,nonce:0,data:Xi0,chainId:t},n),i=a0.utils.getContractAddress({from:f.signer,nonce:0});return{...f,deployment:i,valueToSend:a0.BigNumber.from(a).mul(r)}}async function c5(t){return(await dK(t)).deployment}async function dK(t){let e=(await t.getNetwork()).chainId;if(Dde[e]){let l=await Kde(t)?e:0,h=Dde[e]?.gasPrice,y=Dde[e]?.gasLimit,v=jM(l,{gasPrice:h?a0.BigNumber.from(h):void 0,gasLimit:y?a0.BigNumber.from(y):void 0});return await Xc(v.deployment,t)&&(v.transaction=""),v}let n=[...Gde.map(d=>jM(e,{gasPrice:a0.BigNumber.from(d)})),...Gde.map(d=>jM(0,{gasPrice:a0.BigNumber.from(d)}))],a=await Promise.all(n.map(d=>Xc(d.deployment,t))),r=n.findIndex(d=>d.deployment===es0);if(r&&a[r])return{...n[r],transaction:""};let f=a.findIndex(d=>d);if(f&&n[f])return{...n[f],transaction:""};let[i,s]=await Promise.all([Kde(t),t.getGasPrice()]),o=i?e:0,c=Hfn(s);return jM(o,{gasPrice:c})}function Hfn(t){let e=Gde.find(n=>a0.BigNumber.from(n).gte(t));return e?a0.BigNumber.from(e):t}function u5e(t){let e=t.startsWith("0x")?t:`0x${t}`,a=`tw.${a0.utils.id(e)}`;return a0.utils.id(a)}function QM(t,e,n){let a=t.startsWith("0x")?t:`0x${t}`,r=n?a0.utils.id(n):u5e(a);return a0.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function jE(t,e,n,a){let r=t.startsWith("0x")?t:`0x${t}`,f=a?a0.utils.id(a):u5e(r),i=a0.utils.solidityPack(["bytes","bytes"],[r,e]),s=a0.utils.solidityPack(["bytes1","address","bytes32","bytes32"],["0xff",n,f,a0.utils.solidityKeccak256(["bytes"],[i])]);return`0x${a0.utils.solidityKeccak256(["bytes"],[s]).slice(26)}`}function rG(t){let e=r5e().find(n=>n.chainId===t);return e&&e.nativeCurrency?{name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol,decimals:18,wrapped:{address:a0.constants.AddressZero,name:`Wrapped ${e.nativeCurrency.name}`,symbol:`W${e.nativeCurrency.symbol}`}}:cb[t]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:a0.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function ch(t){let e=ht.parse(t||[]);for(let n of e)if(n.type==="constructor")return n.inputs||[];return[]}function ri0(t){return zfn[t]||a0.constants.AddressZero}async function e6(t,e,n,a,r,f,i){let s=r&&r.contractName,o=r&&r.version,c=r&&r.publisherAddress,d=r&&r.metadata;if(d0(s||d,"Require contract name or metadata"),s&&sh.deploymentPresets[s])return sh.deploymentPresets[s];if(s==="WETH9"){let k=jE(ai0,[],a),O=await Xc(k,e),F="";return O||(F=QM(ai0,[])),{name:s,type:t,transaction:{predictedAddress:k,to:a,data:F}}}if(!d){d0(s,"Require contract name"),c||(c=I2);let k=await fc(c,s,o,n,f,i);d=(await Ls(k.metadataUri,n)).compilerMetadata}let l=await lK(d,e,n,a,r?.constructorParams,f,i),h=jE(d.bytecode,l,a),y=await Xc(h,e),v="";return y||(v=QM(d.bytecode,l)),{name:s,type:t,transaction:{predictedAddress:h,to:a,data:v},encodedArgs:l}}async function lK(t,e,n,a,r,f,i){let s=ch(t.abi),o=s.map(l=>l.type==="tuple[]"||l.type==="tuple"?a0.utils.ParamType.from(l):l.type),c=await Promise.all(s.map(async l=>{if(r&&r[l.name])return r[l.name].type&&d0(r[l.name].type===l.type,`Provided type ${r[l.name].type} doesn't match the actual type ${l.type} from Abi`),r[l.name].value;if(l.name&&l.name.includes("nativeTokenWrapper"))return await fi0(e,n,a,f,i);if(l.name&&l.name.includes("trustedForwarder")){if(t.name==="Pack")return xr;let h=await e6("infra",e,n,a,{contractName:"Forwarder"},f,i);return sh.deploymentPresets.Forwarder||(sh.deploymentPresets.Forwarder=h),h.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let h=(await e.getNetwork()).chainId;return ri0(h)}else if(l.name&&l.name.includes("marketplaceV3Params")){let h=(await e.getNetwork()).chainId,y=ri0(h),v=await fi0(e,n,a,f,i);return{extensions:r?r._extensions.value:[],royaltyEngineAddress:y,nativeTokenWrapper:v}}else throw new Error("Can't resolve constructor arguments")}));return a0.utils.defaultAbiCoder.encode(o,c)}async function fi0(t,e,n,a,r){let f=(await t.getNetwork()).chainId,i=rG(f).wrapped.address;if(i===a0.constants.AddressZero){let s=await e6("infra",t,e,n,{contractName:"WETH9"},a,r);sh.deploymentPresets.WETH9||(sh.deploymentPresets.WETH9=s),i=s.transaction.predictedAddress}return i}async function aG(t,e,n,a,r){return(!n||n==="")&&(n=await c5(t)),(await e6("infra",t,e,n,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function p9(t,e,n,a,r){return(!n||n==="")&&(n=await c5(t)),(await e6("infra",t,e,n,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function fM(t){if(t.reason&&!t.reason.includes("cannot estimate gas"))return t.reason;if(t.error)return t.error;let e=t;return typeof t=="object"?e=JSON.stringify(t):typeof t!="string"&&(e=t.toString()),e.length>5e3?t.message||"":ii0(/.*?"message":"([^"\\]*).*?/,e)||ii0(/.*?"reason":"([^"\\]*).*?/,e)||t.message||""}function yb(t,e){if(e==="")return e;let n=Array(10-t.length).fill(" ").join("");return e.includes(` +`);r.push(d.totalRewards),a.push({assetContract:d.contractAddress,tokenType:2,totalAmount:N1.BigNumber.from(d.quantityPerReward).mul(N1.BigNumber.from(d.totalRewards)),tokenId:d.tokenId})}return{contents:a,numOfRewardUnits:r}}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}detectVrf(){if(gt(this.contractWrapper,"PackVRF"))return new rce(this.contractWrapper.getSignerOrProvider(),this.contractWrapper.address,this.storage,this.contractWrapper.options,this.chainId)}};Z(pz,"contractRoles",fce);ice=pz});var Cnt=B((Tva,m0n)=>{m0n.exports=[{type:"constructor",inputs:[{name:"_nativeTokenWrapper",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packTotalSupply",type:"uint256",internalType:"uint256"},{name:"newSupplyAdded",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"balanceOfBatch",inputs:[{name:"accounts",type:"address[]",internalType:"address[]"},{name:"ids",type:"uint256[]",internalType:"uint256[]"}],outputs:[{name:"",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"canUpdatePack",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"createPack",inputs:[{name:"_contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"_numOfRewardUnits",type:"uint256[]",internalType:"uint256[]"},{name:"_packUri",type:"string",internalType:"string"},{name:"_openStartTimestamp",type:"uint128",internalType:"uint128"},{name:"_amountDistributedPerOpen",type:"uint128",internalType:"uint128"},{name:"_recipient",type:"address",internalType:"address"}],outputs:[{name:"packId",type:"uint256",internalType:"uint256"},{name:"packTotalSupply",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPackContents",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"}],outputs:[{name:"contents",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]},{name:"perUnitAmounts",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getTokenCountOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getTokenOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple",internalType:"struct ITokenBundle.Token",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"view"},{type:"function",name:"getUriOfBundle",inputs:[{name:"_bundleId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"account",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"openPack",inputs:[{name:"_packId",type:"uint256",internalType:"uint256"},{name:"_amountToOpen",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"tuple[]",internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],stateMutability:"nonpayable"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeBatchTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"ids",type:"uint256[]",internalType:"uint256[]"},{name:"amounts",type:"uint256[]",internalType:"uint256[]"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"id",type:"uint256",internalType:"uint256"},{name:"amount",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"uri",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"event",name:"ApprovalForAll",inputs:[{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PackCreated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PackOpened",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"opener",type:"address",indexed:!0,internalType:"address"},{name:"numOfPacksOpened",type:"uint256",indexed:!1,internalType:"uint256"},{name:"rewardUnitsDistributed",type:"tuple[]",indexed:!1,internalType:"struct ITokenBundle.Token[]",components:[{name:"assetContract",type:"address",internalType:"address"},{name:"tokenType",type:"uint8",internalType:"enum ITokenBundle.TokenType"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"totalAmount",type:"uint256",internalType:"uint256"}]}],anonymous:!1},{type:"event",name:"PackUpdated",inputs:[{name:"packId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"recipient",type:"address",indexed:!1,internalType:"address"},{name:"totalPacksCreated",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TransferBatch",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"ids",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"}],anonymous:!1},{type:"event",name:"TransferSingle",inputs:[{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"id",type:"uint256",indexed:!1,internalType:"uint256"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"URI",inputs:[{name:"value",type:"string",indexed:!1,internalType:"string"},{name:"id",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibMismatchedValue",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]}]});var Snt={};jt(Snt,{SignatureDrop:()=>oce});var xy,Nva,Fva,Vva,yz,oce,Ant=ce(()=>{"use strict";p();u();xy=Te(Ue());sp();sn();Ia();hi();Qa();M1();op();cp();Dc();hy();Iw();ck();ek();QH();Ga();Nva=Te(Dr()),Fva=Te(zf());Ot();Vva=Te(Cc()),yz=class yz extends H5{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"createBatch",ye(async(t,a)=>this.erc721.lazyMint.prepare(t,a)));Z(this,"claimTo",ye(async(t,a,r)=>this.erc721.claimTo.prepare(t,a,r)));Z(this,"claim",ye(async(t,a)=>this.erc721.claim.prepare(t,a)));Z(this,"burn",ye(async t=>this.erc721.burn.prepare(t)));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,wy,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,yz.contractRoles),this.royalties=new uf(this.contractWrapper,this.metadata),this.sales=new mf(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.claimConditions=new N6(this.contractWrapper,this.metadata,this.storage),this.signature=new C3(this.contractWrapper,this.storage),this.revealer=new V5(this.contractWrapper,this.storage,Ty.name,()=>this.erc721.nextTokenIdToMint()),this.signature=new C3(this.contractWrapper,this.storage),this.owner=new yf(this.contractWrapper),this.checkout=new _3(this.contractWrapper)}onNetworkUpdated(t){this.contractWrapper.updateSignerOrProvider(t)}getAddress(){return this.contractWrapper.address}async totalSupply(){let[t,a]=await Promise.all([this.totalClaimedSupply(),this.totalUnclaimedSupply()]);return t.add(a)}async getAllClaimed(t){let a=xy.BigNumber.from(t?.start||0).toNumber(),r=xy.BigNumber.from(t?.count||Ts).toNumber(),i=Math.min((await this.totalClaimedSupply()).toNumber(),a+r);return await Promise.all(Array.from(Array(i).keys()).map(s=>this.get(s.toString())))}async getAllUnclaimed(t){let a=xy.BigNumber.from(t?.start||0).toNumber(),r=xy.BigNumber.from(t?.count||Ts).toNumber(),i=xy.BigNumber.from(Math.max((await this.totalClaimedSupply()).toNumber(),a)),s=xy.BigNumber.from(Math.min((await this.contractWrapper.read("nextTokenIdToMint",[])).toNumber(),i.toNumber()+r));return await Promise.all(Array.from(Array(s.sub(i).toNumber()).keys()).map(f=>this.erc721.getTokenMetadata(i.add(f).toString())))}async totalClaimedSupply(){return this.erc721.totalClaimedSupply()}async totalUnclaimedSupply(){return this.erc721.totalUnclaimedSupply()}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),xy.constants.AddressZero])}async getClaimTransaction(t,a,r){return this.erc721.getClaimTransaction(t,a,r)}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(yz,"contractRoles",bf);oce=yz});var knt=B((Hva,b0n)=>{b0n.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"batchFrozen",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"BatchMetadataUpdate",inputs:[{name:"_fromTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"_toTokenId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MetadataFrozen",inputs:[],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"BatchMintInvalidBatchId",inputs:[{name:"index",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintInvalidTokenId",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"BatchMintMetadataFrozen",inputs:[{name:"batchId",type:"uint256",internalType:"uint256"}]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"LazyMintInvalidAmount",inputs:[]},{type:"error",name:"LazyMintUnauthorized",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Pnt=B((zva,h0n)=>{h0n.exports=[{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"encryptDecrypt",inputs:[{name:"data",type:"bytes",internalType:"bytes"},{name:"key",type:"bytes",internalType:"bytes"}],outputs:[{name:"result",type:"bytes",internalType:"bytes"}],stateMutability:"pure"},{type:"function",name:"encryptedData",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bytes",internalType:"bytes"}],stateMutability:"view"},{type:"function",name:"getApproved",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getBaseURICount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getBatchIdAtIndex",inputs:[{name:"_index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimedAt",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getDefaultRoyaltyInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRevealURI",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"},{name:"_platformFeeRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isApprovedForAll",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"operator",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isEncryptedBatch",inputs:[{name:"_batchId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"lazyMint",inputs:[{name:"_amount",type:"uint256",internalType:"uint256"},{name:"_baseURIForTokens",type:"string",internalType:"string"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"batchId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"signer",type:"address",internalType:"address"}],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nextTokenIdToMint",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"owner",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"ownerOf",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"reveal",inputs:[{name:"_index",type:"uint256",internalType:"uint256"},{name:"_key",type:"bytes",internalType:"bytes"}],outputs:[{name:"revealedURI",type:"string",internalType:"string"}],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"royaltyInfo",inputs:[{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"salePrice",type:"uint256",internalType:"uint256"}],outputs:[{name:"receiver",type:"address",internalType:"address"},{name:"royaltyAmount",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"safeTransferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setApprovalForAll",inputs:[{name:"operator",type:"address",internalType:"address"},{name:"approved",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_condition",type:"tuple",internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setDefaultRoyaltyInfo",inputs:[{name:"_royaltyRecipient",type:"address",internalType:"address"},{name:"_royaltyBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setOwner",inputs:[{name:"_newOwner",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setRoyaltyInfoForToken",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"},{name:"_recipient",type:"address",internalType:"address"},{name:"_bps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"tokenURI",inputs:[{name:"_tokenId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalMinted",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"tokenId",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"verifyClaim",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDropSinglePhase_V1.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"maxQuantityInAllowlist",type:"uint256",internalType:"uint256"}]}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ApprovalForAll",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"operator",type:"address",indexed:!0,internalType:"address"},{name:"approved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ClaimConditionUpdated",inputs:[{name:"condition",type:"tuple",indexed:!1,internalType:"struct IClaimCondition_V1.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DefaultRoyalty",inputs:[{name:"newRoyaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"newRoyaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"OwnerUpdated",inputs:[{name:"prevOwner",type:"address",indexed:!0,internalType:"address"},{name:"newOwner",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoyaltyForToken",inputs:[{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"royaltyRecipient",type:"address",indexed:!0,internalType:"address"},{name:"royaltyBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokenURIRevealed",inputs:[{name:"index",type:"uint256",indexed:!0,internalType:"uint256"},{name:"revealedURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensLazyMinted",inputs:[{name:"startTokenId",type:"uint256",indexed:!0,internalType:"uint256"},{name:"endTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"baseURI",type:"string",indexed:!1,internalType:"string"},{name:"encryptedBaseURI",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"tokenIdMinted",type:"uint256",indexed:!0,internalType:"uint256"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ISignatureMintERC721.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"royaltyRecipient",type:"address",internalType:"address"},{name:"royaltyBps",type:"uint256",internalType:"uint256"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"uri",type:"string",internalType:"string"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"tokenId",type:"uint256",indexed:!0,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ApprovalCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"ApprovalQueryForNonexistentToken",inputs:[]},{type:"error",name:"ApprovalToCurrentOwner",inputs:[]},{type:"error",name:"ApproveToCaller",inputs:[]},{type:"error",name:"BalanceQueryForZeroAddress",inputs:[]},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DelayedRevealIncorrectResultHash",inputs:[{name:"expected",type:"bytes32",internalType:"bytes32"},{name:"actual",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"DelayedRevealNothingToReveal",inputs:[]},{type:"error",name:"MintToZeroAddress",inputs:[]},{type:"error",name:"MintZeroQuantity",inputs:[]},{type:"error",name:"OwnableUnauthorized",inputs:[]},{type:"error",name:"OwnerQueryForNonexistentToken",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]},{type:"error",name:"RoyaltyExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"RoyaltyInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"RoyaltyUnauthorized",inputs:[]},{type:"error",name:"SignatureMintInvalidQuantity",inputs:[]},{type:"error",name:"SignatureMintInvalidRecipient",inputs:[]},{type:"error",name:"SignatureMintInvalidSigner",inputs:[]},{type:"error",name:"SignatureMintInvalidTime",inputs:[{name:"startTime",type:"uint256",internalType:"uint256"},{name:"endTime",type:"uint256",internalType:"uint256"},{name:"actualTime",type:"uint256",internalType:"uint256"}]},{type:"error",name:"SignatureMintUnauthorized",inputs:[]},{type:"error",name:"TransferCallerNotOwnerNorApproved",inputs:[]},{type:"error",name:"TransferFromIncorrectOwner",inputs:[]},{type:"error",name:"TransferToNonERC721ReceiverImplementer",inputs:[]},{type:"error",name:"TransferToZeroAddress",inputs:[]},{type:"error",name:"URIQueryForNonexistentToken",inputs:[]}]});var Rnt={};jt(Rnt,{Split:()=>cce});var mk,Xva,Zva,mz,cce,Lnt=ce(()=>{"use strict";p();u();mk=Te(Ue());Qa();sn();Ia();hi();M1();Dc();Ga();Xva=Te(Dr()),Zva=Te(zf());Ot();mz=class mz{constructor(e,t,a){Z(this,"withdraw",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address)",args:[await Pe(e)]})));Z(this,"withdrawToken",ye(async(e,t)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"release(address,address)",args:await Promise.all([Pe(t),Pe(e)])})));Z(this,"distribute",ye(async()=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute()",args:[]})));Z(this,"distributeToken",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"distribute(address)",args:[await Pe(e)]})));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(e,t,i,r,a);this._chainId=s,this.abi=p0.parse(i||[]),this.contractWrapper=f,this.storage=a,this.metadata=new Bn(this.contractWrapper,bz,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,mz.contractRoles),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async getAllRecipients(){let e=[],t=mk.BigNumber.from(0),a=await this.contractWrapper.read("payeeCount",[]);for(;t.lt(a);)try{let r=await this.contractWrapper.read("payee",[t]);e.push(await this.getRecipientSplitPercentage(r)),t=t.add(1)}catch(r){if("method"in r&&r.method.toLowerCase().includes("payee(uint256)"))break;throw r}return e}async balanceOfAllRecipients(){let e=await this.getAllRecipients(),t={};for(let a of e)t[a.address]=await this.balanceOf(a.address);return t}async balanceOfTokenAllRecipients(e){let[t,a]=await Promise.all([Pe(e),this.getAllRecipients()]),r={};for(let i of a)r[i.address]=await this.balanceOfToken(i.address,t);return r}async balanceOf(e){let[t,a,r]=await Promise.all([Pe(e),this.contractWrapper.getProvider().getBalance(this.getAddress()),this.contractWrapper.read("totalReleased",[])]),i=a.add(r);return this._pendingPayment(t,i,await this.contractWrapper.read("released",[t]))}async balanceOfToken(e,t){let[a,r]=await Promise.all([Pe(t),Pe(e)]),i=(await Promise.resolve().then(()=>Te(D1()))).default,s=new mk.Contract(a,i,this.contractWrapper.getProvider()),[f,o,c]=await Promise.all([s.balanceOf(this.getAddress()),this.contractWrapper.read("totalReleased",[a]),this.contractWrapper.read("released",[a,r])]),d=f.add(o),l=await this._pendingPayment(r,d,c);return await Va(this.contractWrapper.getProvider(),a,l)}async getRecipientSplitPercentage(e){let[t,a,r]=await Promise.all([Pe(e),this.contractWrapper.read("totalShares",[]),this.contractWrapper.read("shares",[e])]);return{address:t,splitPercentage:r.mul(mk.BigNumber.from(1e7)).div(a).toNumber()/1e5}}async _pendingPayment(e,t,a){let[r,i]=await Promise.all([Pe(e),this.contractWrapper.read("totalShares",[])]);return t.mul(await this.contractWrapper.read("shares",[r])).div(i).sub(a)}async prepare(e,t,a){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:t,overrides:a})}async call(e,t,a){return this.contractWrapper.call(e,t,a)}};Z(mz,"contractRoles",dce);cce=mz});var Mnt=B((rTa,g0n)=>{g0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"distribute",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"distribute",inputs:[],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_payees",type:"address[]",internalType:"address[]"},{name:"_shares",type:"uint256[]",internalType:"uint256[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"payee",inputs:[{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"payeeCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"releasable",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"release",inputs:[{name:"account",type:"address",internalType:"address payable"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"release",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"released",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"released",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"shares",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[{name:"token",type:"address",internalType:"contract IERC20Upgradeable"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalReleased",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"totalShares",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"ERC20PaymentReleased",inputs:[{name:"token",type:"address",indexed:!0,internalType:"contract IERC20Upgradeable"},{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PayeeAdded",inputs:[{name:"account",type:"address",indexed:!1,internalType:"address"},{name:"shares",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReceived",inputs:[{name:"from",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PaymentReleased",inputs:[{name:"to",type:"address",indexed:!1,internalType:"address"},{name:"amount",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var Rw,lce=ce(()=>{"use strict";p();u();Ia();lk();Rw=class{constructor(e,t,a){Z(this,"transfer",ye(async(e,t)=>this.erc20.transfer.prepare(e,t)));Z(this,"transferFrom",ye(async(e,t,a)=>this.erc20.transferFrom.prepare(e,t,a)));Z(this,"setAllowance",ye(async(e,t)=>this.erc20.setAllowance.prepare(e,t)));Z(this,"transferBatch",ye(async e=>this.erc20.transferBatch.prepare(e)));this.contractWrapper=e,this.storage=t,this.erc20=new A3(this.contractWrapper,this.storage,a),this._chainId=a}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(){return this.erc20.get()}async balance(){return await this.erc20.balance()}async balanceOf(e){return this.erc20.balanceOf(e)}async totalSupply(){return await this.erc20.totalSupply()}async allowance(e){return await this.erc20.allowance(e)}async allowanceOf(e,t){return await this.erc20.allowanceOf(e,t)}}});var Nnt={};jt(Nnt,{TokenDrop:()=>pce});var Bnt,wTa,xTa,ETa,hz,pce,Fnt=ce(()=>{"use strict";p();u();Bnt=Te(Ue());sn();Ia();hi();Qa();M1();cp();Dc();hy();Iw();lce();Ga();wTa=Te(Dr()),xTa=Te(zf());Ot();ETa=Te(Cc()),hz=class hz extends Rw{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"claim",ye((()=>{var t=this;return async function(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.claimTo.prepare(await t.contractWrapper.getSignerAddress(),a,r)}})()));Z(this,"claimTo",ye((()=>{var t=this;return async function(a,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return t.erc20.claimTo.prepare(a,r,{checkERC20Allowance:i})}})()));Z(this,"delegateTo",ye(async t=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Pe(t)]})));Z(this,"burnTokens",ye(async t=>this.erc20.burn.prepare(t)));Z(this,"burnFrom",ye(async(t,a)=>this.erc20.burnFrom.prepare(t,a)));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,uce,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,hz.contractRoles),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.sales=new mf(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.claimConditions=new N6(this.contractWrapper,this.metadata,this.storage)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(t){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[await Pe(t)]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(t){return await this.contractWrapper.read("delegates",[await Pe(t)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),Bnt.constants.AddressZero])}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(hz,"contractRoles",yce);pce=hz});var Ont=B((ATa,v0n)=>{v0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IClaimCondition.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getFlatPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeType",inputs:[],outputs:[{name:"",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getSupplyClaimedByWallet",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"supplyClaimedByWallet",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_saleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint128",internalType:"uint128"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_conditions",type:"tuple[]",internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setFlatPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_flatFee",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeType",inputs:[{name:"_feeType",type:"uint8",internalType:"enum IPlatformFee.PlatformFeeType"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_allowlistProof",type:"tuple",internalType:"struct IDrop.AllowlistProof",components:[{name:"proof",type:"bytes32[]",internalType:"bytes32[]"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],outputs:[{name:"isOverride",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IClaimCondition.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerWallet",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"metadata",type:"string",internalType:"string"}]},{name:"resetEligibility",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"startTokenId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"ContractMetadataUnauthorized",inputs:[]},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedLimit",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimExceedMaxSupply",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimInvalidTokenPrice",inputs:[{name:"expectedCurrency",type:"address",internalType:"address"},{name:"expectedPricePerToken",type:"uint256",internalType:"uint256"},{name:"actualCurrency",type:"address",internalType:"address"},{name:"actualExpectedPricePerToken",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropClaimNotStarted",inputs:[{name:"expected",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"DropExceedMaxSupply",inputs:[]},{type:"error",name:"DropNoActiveCondition",inputs:[]},{type:"error",name:"DropUnauthorized",inputs:[]},{type:"error",name:"PermissionsAlreadyGranted",inputs:[{name:"account",type:"address",internalType:"address"},{name:"role",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PermissionsInvalidPermission",inputs:[{name:"expected",type:"address",internalType:"address"},{name:"actual",type:"address",internalType:"address"}]},{type:"error",name:"PermissionsUnauthorizedAccount",inputs:[{name:"account",type:"address",internalType:"address"},{name:"neededRole",type:"bytes32",internalType:"bytes32"}]},{type:"error",name:"PlatformFeeExceededMaxFeeBps",inputs:[{name:"max",type:"uint256",internalType:"uint256"},{name:"actual",type:"uint256",internalType:"uint256"}]},{type:"error",name:"PlatformFeeInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PlatformFeeUnauthorized",inputs:[]},{type:"error",name:"PrimarySaleInvalidRecipient",inputs:[{name:"recipient",type:"address",internalType:"address"}]},{type:"error",name:"PrimarySaleUnauthorized",inputs:[]}]});var Vnt=B((kTa,T0n)=>{T0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"claim",inputs:[{name:"_receiver",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"payable"},{type:"function",name:"claimCondition",inputs:[],outputs:[{name:"currentStartId",type:"uint256",internalType:"uint256"},{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getActiveClaimConditionId",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getClaimConditionById",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"}],outputs:[{name:"condition",type:"tuple",internalType:"struct IDropClaimCondition_V2.ClaimCondition",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getClaimTimestamp",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"}],outputs:[{name:"lastClaimTimestamp",type:"uint256",internalType:"uint256"},{name:"nextValidClaimTimestamp",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"maxTotalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"maxWalletClaimCount",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setClaimConditions",inputs:[{name:"_phases",type:"tuple[]",internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]},{name:"_resetClaimEligibility",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxTotalSupply",inputs:[{name:"_maxTotalSupply",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setMaxWalletClaimCount",inputs:[{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setWalletClaimCount",inputs:[{name:"_claimer",type:"address",internalType:"address"},{name:"_count",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verifyClaim",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_currency",type:"address",internalType:"address"},{name:"_pricePerToken",type:"uint256",internalType:"uint256"},{name:"verifyMaxQuantityPerTransaction",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"view"},{type:"function",name:"verifyClaimMerkleProof",inputs:[{name:"_conditionId",type:"uint256",internalType:"uint256"},{name:"_claimer",type:"address",internalType:"address"},{name:"_quantity",type:"uint256",internalType:"uint256"},{name:"_proofs",type:"bytes32[]",internalType:"bytes32[]"},{name:"_proofMaxQuantityPerTransaction",type:"uint256",internalType:"uint256"}],outputs:[{name:"validMerkleProof",type:"bool",internalType:"bool"},{name:"merkleProofIndex",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"walletClaimCount",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ClaimConditionsUpdated",inputs:[{name:"claimConditions",type:"tuple[]",indexed:!1,internalType:"struct IDropClaimCondition_V2.ClaimCondition[]",components:[{name:"startTimestamp",type:"uint256",internalType:"uint256"},{name:"maxClaimableSupply",type:"uint256",internalType:"uint256"},{name:"supplyClaimed",type:"uint256",internalType:"uint256"},{name:"quantityLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"waitTimeInSecondsBetweenClaims",type:"uint256",internalType:"uint256"},{name:"merkleRoot",type:"bytes32",internalType:"bytes32"},{name:"pricePerToken",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"}]}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"MaxTotalSupplyUpdated",inputs:[{name:"maxTotalSupply",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"MaxWalletClaimCountUpdated",inputs:[{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensClaimed",inputs:[{name:"claimConditionIndex",type:"uint256",indexed:!0,internalType:"uint256"},{name:"claimer",type:"address",indexed:!0,internalType:"address"},{name:"receiver",type:"address",indexed:!0,internalType:"address"},{name:"quantityClaimed",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"WalletClaimCountUpdated",inputs:[{name:"wallet",type:"address",indexed:!0,internalType:"address"},{name:"count",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var $nt={};jt($nt,{Token:()=>bce});var V7,qTa,HTa,WTa,mce,gz,bce,Unt=ce(()=>{"use strict";p();u();V7=Te(Ue());sn();Ia();hi();Qa();M1();cp();Dc();hy();lk();lce();Ga();qTa=Te(Dr()),HTa=Te(zf());Ot();WTa=Te(Cc()),mce=class{constructor(e,t){this.contractWrapper=e,this.events=t}async getAllHolderBalances(){let t=(await this.events.getEvents("Transfer")).map(s=>s.data),a={};t.forEach(s=>{let f=s?.from,o=s?.to,c=s?.value;f!==V7.constants.AddressZero&&(f in a||(a[f]=V7.BigNumber.from(0)),a[f]=a[f].sub(c)),o!==V7.constants.AddressZero&&(o in a||(a[o]=V7.BigNumber.from(0)),a[o]=a[o].add(c))});let r=Object.entries(a),i=await Promise.all(r.map(s=>{let[,f]=s;return Va(this.contractWrapper.getProvider(),this.contractWrapper.address,f)}));return r.map((s,f)=>{let[o]=s;return{holder:o,balance:i[f]}})}},gz=class gz extends Rw{constructor(t,a,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(t,a,s,i,r);super(o,r,f);Z(this,"mint",ye(async t=>this.erc20.mint.prepare(t)));Z(this,"mintTo",ye(async(t,a)=>this.erc20.mintTo.prepare(t,a)));Z(this,"mintBatchTo",ye(async t=>this.erc20.mintBatchTo.prepare(t)));Z(this,"delegateTo",ye(async t=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"delegate",args:[await Pe(t)]})));Z(this,"burn",ye(t=>this.erc20.burn.prepare(t)));Z(this,"burnFrom",ye(async(t,a)=>this.erc20.burnFrom.prepare(t,a)));this.abi=p0.parse(s||[]),this.metadata=new Bn(this.contractWrapper,vz,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.roles=new dr(this.contractWrapper,gz.contractRoles),this.sales=new mf(this.contractWrapper),this.events=new xn(this.contractWrapper),this.history=new mce(this.contractWrapper,this.events),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.platformFees=new Ui(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.signature=new dk(this.contractWrapper,this.roles)}async getVoteBalance(){return await this.getVoteBalanceOf(await this.contractWrapper.getSignerAddress())}async getVoteBalanceOf(t){return await this.erc20.getValue(await this.contractWrapper.read("getVotes",[t]))}async getDelegation(){return await this.getDelegationOf(await this.contractWrapper.getSignerAddress())}async getDelegationOf(t){return await this.contractWrapper.read("delegates",[await Pe(t)])}async isTransferRestricted(){return!await this.contractWrapper.read("hasRole",[Ya("transfer"),V7.constants.AddressZero])}async getMintTransaction(t,a){return this.erc20.getMintTransaction(t,a)}async prepare(t,a,r){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:t,args:a,overrides:r})}async call(t,a,r){return this.contractWrapper.call(t,a,r)}};Z(gz,"contractRoles",bf);bce=gz});var qnt=B((QTa,_0n)=>{_0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"DOMAIN_SEPARATOR",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"allowance",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"approve",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"balanceOf",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"burn",inputs:[{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"burnFrom",inputs:[{name:"account",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"checkpoints",inputs:[{name:"account",type:"address",internalType:"address"},{name:"pos",type:"uint32",internalType:"uint32"}],outputs:[{name:"",type:"tuple",internalType:"struct ERC20VotesUpgradeable.Checkpoint",components:[{name:"fromBlock",type:"uint32",internalType:"uint32"},{name:"votes",type:"uint224",internalType:"uint224"}]}],stateMutability:"view"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"decimals",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"view"},{type:"function",name:"decreaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"subtractedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"delegate",inputs:[{name:"delegatee",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegateBySig",inputs:[{name:"delegatee",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"expiry",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"delegates",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"getPastTotalSupply",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPastVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPlatformFeeInfo",inputs:[],outputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"uint16",internalType:"uint16"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"increaseAllowance",inputs:[{name:"spender",type:"address",internalType:"address"},{name:"addedValue",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_name",type:"string",internalType:"string"},{name:"_symbol",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_primarySaleRecipient",type:"address",internalType:"address"},{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"mintTo",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"mintWithSignature",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"nonces",inputs:[{name:"owner",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"numCheckpoints",inputs:[{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint32",internalType:"uint32"}],stateMutability:"view"},{type:"function",name:"permit",inputs:[{name:"owner",type:"address",internalType:"address"},{name:"spender",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"deadline",type:"uint256",internalType:"uint256"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"primarySaleRecipient",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPlatformFeeInfo",inputs:[{name:"_platformFeeRecipient",type:"address",internalType:"address"},{name:"_platformFeeBps",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPrimarySaleRecipient",inputs:[{name:"_saleRecipient",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"symbol",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"totalSupply",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"transfer",inputs:[{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"transferFrom",inputs:[{name:"from",type:"address",internalType:"address"},{name:"to",type:"address",internalType:"address"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"nonpayable"},{type:"function",name:"verify",inputs:[{name:"_req",type:"tuple",internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bool",internalType:"bool"},{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"event",name:"Approval",inputs:[{name:"owner",type:"address",indexed:!0,internalType:"address"},{name:"spender",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"DelegateChanged",inputs:[{name:"delegator",type:"address",indexed:!0,internalType:"address"},{name:"fromDelegate",type:"address",indexed:!0,internalType:"address"},{name:"toDelegate",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"DelegateVotesChanged",inputs:[{name:"delegate",type:"address",indexed:!0,internalType:"address"},{name:"previousBalance",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newBalance",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"FlatPlatformFeeUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!1,internalType:"address"},{name:"flatFee",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"PlatformFeeInfoUpdated",inputs:[{name:"platformFeeRecipient",type:"address",indexed:!0,internalType:"address"},{name:"platformFeeBps",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"PlatformFeeTypeUpdated",inputs:[{name:"feeType",type:"uint8",indexed:!1,internalType:"enum IPlatformFee.PlatformFeeType"}],anonymous:!1},{type:"event",name:"PrimarySaleRecipientUpdated",inputs:[{name:"recipient",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"TokensMinted",inputs:[{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"quantityMinted",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"TokensMintedWithSignature",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"mintedTo",type:"address",indexed:!0,internalType:"address"},{name:"mintRequest",type:"tuple",indexed:!1,internalType:"struct ITokenERC20.MintRequest",components:[{name:"to",type:"address",internalType:"address"},{name:"primarySaleRecipient",type:"address",internalType:"address"},{name:"quantity",type:"uint256",internalType:"uint256"},{name:"price",type:"uint256",internalType:"uint256"},{name:"currency",type:"address",internalType:"address"},{name:"validityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"validityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1},{type:"event",name:"Transfer",inputs:[{name:"from",type:"address",indexed:!0,internalType:"address"},{name:"to",type:"address",indexed:!0,internalType:"address"},{name:"value",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"CurrencyTransferLibFailedNativeTransfer",inputs:[{name:"recipient",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"}]}]});var Tz,Hnt=ce(()=>{"use strict";p();u();Tz=function(n){return n[n.Against=0]="Against",n[n.For=1]="For",n[n.Abstain=2]="Abstain",n}({})});var znt={};jt(znt,{Vote:()=>hce});var k3,s_a,f_a,hce,Wnt=ce(()=>{"use strict";p();u();k3=Te(Ue());Qa();sn();Ia();hi();M1();Hnt();Ga();s_a=Te(Dr()),f_a=Te(zf());Ot();hce=class{constructor(e,t,a){Z(this,"propose",ye(async(e,t)=>{t||(t=[{toAddress:this.contractWrapper.address,nativeTokenValue:0,transactionData:"0x"}]);let a=t.map(s=>s.toAddress),r=t.map(s=>s.nativeTokenValue),i=t.map(s=>s.transactionData);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"propose",args:[a,r,i,e],parse:s=>({id:this.contractWrapper.parseLogs("ProposalCreated",s?.logs)[0].args.proposalId,receipt:s})})}));Z(this,"vote",ye((()=>{var e=this;return async function(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return await e.ensureExists(t),De.fromContractWrapper({contractWrapper:e.contractWrapper,method:"castVoteWithReason",args:[t,a,r]})}})()));Z(this,"execute",ye(async e=>{await this.ensureExists(e);let t=await this.get(e),a=t.executions.map(f=>f.toAddress),r=t.executions.map(f=>f.nativeTokenValue),i=t.executions.map(f=>f.transactionData),s=k3.utils.id(t.description);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"execute",args:[a,r,i,s]})}));let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(e,t,i,r,a);this._chainId=s,this.abi=p0.parse(i||[]),this.contractWrapper=f,this.storage=a,this.metadata=new Bn(this.contractWrapper,_z,this.storage),this.app=new Ma(this.contractWrapper,this.metadata,this.storage),this.encoder=new r0(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.events=new xn(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper)}get chainId(){return this._chainId}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}async get(e){let a=(await this.getAll()).filter(r=>r.proposalId.eq(k3.BigNumber.from(e)));if(a.length===0)throw new Error("proposal not found");return a[0]}async getAll(){let e=await this.contractWrapper.read("getAllProposals",[])??[];return(await Promise.all(e.map(a=>Promise.all([this.contractWrapper.read("state",[a.proposalId]),this.getProposalVotes(a.proposalId)])))).map((a,r)=>{let[i,s]=a,f=e[r];return{proposalId:f.proposalId,proposer:f.proposer,description:f.description,startBlock:f.startBlock,endBlock:f.endBlock,state:i,votes:s,executions:f[3].map((o,c)=>({toAddress:f.targets[c],nativeTokenValue:o,transactionData:f.calldatas[c]}))}})}async getProposalVotes(e){let t=await this.contractWrapper.read("proposalVotes",[e]);return[{type:Tz.Against,label:"Against",count:t.againstVotes},{type:Tz.For,label:"For",count:t.forVotes},{type:Tz.Abstain,label:"Abstain",count:t.abstainVotes}]}async hasVoted(e,t){return t||(t=await this.contractWrapper.getSignerAddress()),this.contractWrapper.read("hasVoted",[e,await Pe(t)])}async canExecute(e){await this.ensureExists(e);let t=await this.get(e),a=t.executions.map(f=>f.toAddress),r=t.executions.map(f=>f.nativeTokenValue),i=t.executions.map(f=>f.transactionData),s=k3.utils.id(t.description);try{return await this.contractWrapper.callStatic().execute(a,r,i,s),!0}catch{return!1}}async balance(){let e=await this.contractWrapper.getProvider().getBalance(this.contractWrapper.address);return{name:"",symbol:"",decimals:18,value:e,displayValue:k3.utils.formatUnits(e,18)}}async balanceOfToken(e){let t=(await Promise.resolve().then(()=>Te(D1()))).default,a=new k3.Contract(await Pe(e),t,this.contractWrapper.getProvider());return await Va(this.contractWrapper.getProvider(),e,await a.balanceOf(this.contractWrapper.address))}async ensureExists(e){try{await this.contractWrapper.read("state",[e])}catch{throw Error(`Proposal ${e} not found`)}}async settings(){let[e,t,a,r,i]=await Promise.all([this.contractWrapper.read("votingDelay",[]),this.contractWrapper.read("votingPeriod",[]),this.contractWrapper.read("token",[]),this.contractWrapper.read("quorumNumerator",[]),this.contractWrapper.read("proposalThreshold",[])]),s=await vs(this.contractWrapper.getProvider(),a);return{votingDelay:e.toString(),votingPeriod:t.toString(),votingTokenAddress:a,votingTokenMetadata:s,votingQuorumFraction:r.toString(),proposalTokenThreshold:i.toString()}}async prepare(e,t,a){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:t,overrides:a})}async call(e,t,a){return this.contractWrapper.call(e,t,a)}}});var jnt=B((p_a,w0n)=>{w0n.exports=[{type:"constructor",inputs:[],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"CLOCK_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"COUNTING_MODE",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"pure"},{type:"function",name:"EXTENDED_BALLOT_TYPEHASH",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"cancel",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVote",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReason",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParams",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"castVoteWithReasonAndParamsBySig",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"support",type:"uint8",internalType:"uint8"},{name:"reason",type:"string",internalType:"string"},{name:"params",type:"bytes",internalType:"bytes"},{name:"v",type:"uint8",internalType:"uint8"},{name:"r",type:"bytes32",internalType:"bytes32"},{name:"s",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"clock",inputs:[],outputs:[{name:"",type:"uint48",internalType:"uint48"}],stateMutability:"view"},{type:"function",name:"contractType",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"pure"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"contractVersion",inputs:[],outputs:[{name:"",type:"uint8",internalType:"uint8"}],stateMutability:"pure"},{type:"function",name:"eip712Domain",inputs:[],outputs:[{name:"fields",type:"bytes1",internalType:"bytes1"},{name:"name",type:"string",internalType:"string"},{name:"version",type:"string",internalType:"string"},{name:"chainId",type:"uint256",internalType:"uint256"},{name:"verifyingContract",type:"address",internalType:"address"},{name:"salt",type:"bytes32",internalType:"bytes32"},{name:"extensions",type:"uint256[]",internalType:"uint256[]"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"payable"},{type:"function",name:"getAllProposals",inputs:[],outputs:[{name:"allProposals",type:"tuple[]",internalType:"struct VoteERC20.Proposal[]",components:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"signatures",type:"string[]",internalType:"string[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}]}],stateMutability:"view"},{type:"function",name:"getVotes",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getVotesWithParams",inputs:[{name:"account",type:"address",internalType:"address"},{name:"timepoint",type:"uint256",internalType:"uint256"},{name:"params",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"hasVoted",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hashProposal",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"descriptionHash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"pure"},{type:"function",name:"initialize",inputs:[{name:"_name",type:"string",internalType:"string"},{name:"_contractURI",type:"string",internalType:"string"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"},{name:"_token",type:"address",internalType:"address"},{name:"_initialVotingDelay",type:"uint256",internalType:"uint256"},{name:"_initialVotingPeriod",type:"uint256",internalType:"uint256"},{name:"_initialProposalThreshold",type:"uint256",internalType:"uint256"},{name:"_initialVoteQuorumFraction",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"name",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"proposalDeadline",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalIndex",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalProposer",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"proposalSnapshot",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalThreshold",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposalVotes",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"againstVotes",type:"uint256",internalType:"uint256"},{name:"forVotes",type:"uint256",internalType:"uint256"},{name:"abstainVotes",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"proposals",inputs:[{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"},{name:"proposer",type:"address",internalType:"address"},{name:"startBlock",type:"uint256",internalType:"uint256"},{name:"endBlock",type:"uint256",internalType:"uint256"},{name:"description",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"propose",inputs:[{name:"targets",type:"address[]",internalType:"address[]"},{name:"values",type:"uint256[]",internalType:"uint256[]"},{name:"calldatas",type:"bytes[]",internalType:"bytes[]"},{name:"description",type:"string",internalType:"string"}],outputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"quorum",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumDenominator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[{name:"timepoint",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"quorumNumerator",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"relay",inputs:[{name:"target",type:"address",internalType:"address"},{name:"value",type:"uint256",internalType:"uint256"},{name:"data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"payable"},{type:"function",name:"setContractURI",inputs:[{name:"uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setProposalThreshold",inputs:[{name:"newProposalThreshold",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingDelay",inputs:[{name:"newVotingDelay",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setVotingPeriod",inputs:[{name:"newVotingPeriod",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"state",inputs:[{name:"proposalId",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"uint8",internalType:"enum IGovernorUpgradeable.ProposalState"}],stateMutability:"view"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"token",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IERC5805Upgradeable"}],stateMutability:"view"},{type:"function",name:"updateQuorumNumerator",inputs:[{name:"newQuorumNumerator",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"version",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"votingDelay",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"votingPeriod",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"event",name:"EIP712DomainChanged",inputs:[],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"ProposalCanceled",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalCreated",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"proposer",type:"address",indexed:!1,internalType:"address"},{name:"targets",type:"address[]",indexed:!1,internalType:"address[]"},{name:"values",type:"uint256[]",indexed:!1,internalType:"uint256[]"},{name:"signatures",type:"string[]",indexed:!1,internalType:"string[]"},{name:"calldatas",type:"bytes[]",indexed:!1,internalType:"bytes[]"},{name:"voteStart",type:"uint256",indexed:!1,internalType:"uint256"},{name:"voteEnd",type:"uint256",indexed:!1,internalType:"uint256"},{name:"description",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"ProposalExecuted",inputs:[{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ProposalThresholdSet",inputs:[{name:"oldProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newProposalThreshold",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"QuorumNumeratorUpdated",inputs:[{name:"oldQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newQuorumNumerator",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VoteCast",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"VoteCastWithParams",inputs:[{name:"voter",type:"address",indexed:!0,internalType:"address"},{name:"proposalId",type:"uint256",indexed:!1,internalType:"uint256"},{name:"support",type:"uint8",indexed:!1,internalType:"uint8"},{name:"weight",type:"uint256",indexed:!1,internalType:"uint256"},{name:"reason",type:"string",indexed:!1,internalType:"string"},{name:"params",type:"bytes",indexed:!1,internalType:"bytes"}],anonymous:!1},{type:"event",name:"VotingDelaySet",inputs:[{name:"oldVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingDelay",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"VotingPeriodSet",inputs:[{name:"oldVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"},{name:"newVotingPeriod",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"error",name:"Empty",inputs:[]}]});function Nw(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof E<"u"&&E.env[n]?E.env[n]:e}function qw(){return Nw("contractPublisherAddress",x0n)}function Bz(n){return!!(n&&n._isSigner)}function Fce(n){return!!(n&&n._isProvider)}function D0n(n){for(let e=0,t=Gnt.length;e"u"?{x_sdk_name:wz.name,x_sdk_platform:Qnt(),x_sdk_version:wz.version,x_sdk_os:Knt(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=wz.name,globalThis.X_SDK_PLATFORM=Qnt(),globalThis.X_SDK_VERSION=wz.version,globalThis.X_SDK_OS=Knt(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Qnt(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}function A0n(n){return n.supportedChains.reduce((e,t)=>(e[t.chainId]||(e[t.chainId]=t),e),{})}function vi(n,e){if(typeof n=="string"&&k0n(n))return Sz(n,e);let t=Cz.parse(e);wk(n)&&(t.supportedChains=[n,...t.supportedChains.filter(s=>s.chainId===n.chainId)]);let a=A0n(t),r="",i;try{i=Uat(n,t),r=jl(a[i],t.clientId)[0]}catch{}if(r||(r=`https://${i||n}.rpc.thirdweb.com/${t.clientId||""}`),!r)throw new Error(`No rpc url found for chain ${n}. Please provide a valid rpc url via the 'supportedChains' property of the sdk options.`);return Sz(r,e,i)}function Uat(n,e){if(wk(n))return n.chainId;if(typeof n=="number")return n;{let t=e.supportedChains.reduce((a,r)=>(a[r.slug]=r.chainId,a),{});if(n in t)return t[n]}throw new Error(`Cannot resolve chainId from: ${n} - please pass the chainId instead and specify it in the 'supportedChains' property of the SDK options.`)}function wk(n){return typeof n!="string"&&typeof n!="number"&&!Bz(n)&&!Fce(n)}function k0n(n){let e=n.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":case"ws":case"wss":return!0}return!1}function Sz(n,e,t){try{let a={},r="none";if(P0n(n)){if(e?.secretKey)throw new Error("Cannot use secretKey in browser context");if(e?.clientId){let f=new URL(n);f.pathname=e.clientId,a["x-client-id"]=e.clientId,n=f.toString(),r="clientId"}typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(a.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`,r="twAuthToken"),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(a["x-authorize-wallet"]="true"),C0n(a);let s=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;!n.includes("bundleId")&&s&&(n=n+(s?`?bundleId=${s}`:""))}let i=n.match(/^(ws|http)s?:/i);if(i)switch(i[1].toLowerCase()){case"http":case"https":let s=`${n}-${t||-1}-${r}`,f=Ynt.get(s);if(f)return f;let o=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(o=globalThis.TW_SKIP_FETCH_SETUP);let c=t?new Dz({url:n,headers:a,skipFetchSetup:o},t,e?.rpcBatchSettings):new Ye.providers.JsonRpcBatchProvider({url:n,headers:a,skipFetchSetup:o});return Ynt.set(s,c),c;case"ws":case"wss":return new Ye.providers.WebSocketProvider(n,t)}}catch{}return Ye.providers.getDefaultProvider(n)}function P0n(n){return new URL(n).hostname.endsWith(".thirdweb.com")}function $s(n,e){let t,a;if(Bz(n)?(t=n,n.provider&&(a=n.provider)):Fce(n)?a=n:a=vi(n,e),e?.readonlySettings&&(a=Sz(e.readonlySettings.rpcUrl,e,e.readonlySettings.chainId)),!a)throw t?new Error("No provider passed to the SDK! Please make sure that your signer is connected to a provider!"):new Error("No provider found! Make sure to specify which network to connect to, or pass a signer or provider to the SDK!");return[t,a]}async function Oce(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;gce||(gce=$s("ethereum")[1]);let t;vce.has(n)?t=vce.get(n):t=gce.resolveName(n).then(r=>r?{address:r,expirationTime:new Date(Date.now()+1e3*60*5)}:{address:null,expirationTime:new Date(Date.now()+1e3*30)});let a=await t;return a.expirationTimeXnt)throw new Error(`version is longer than ${Xnt} characters`);let e=n.trim().match(N0n);if(!e||e?.length!==4)throw new Error(`${n} is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`);let t=Number(e[1]),a=Number(e[2]),r=Number(e[3]),i=[t,a,r].join(".");return{major:t,minor:a,patch:r,versionString:i}}function Vce(n,e){let t=Az(n),a=Az(e);if(a.major>t.major)return!0;let r=a.major===t.major;if(r&&a.minor>t.minor)return!0;let i=a.minor===t.minor;return r&&i&&a.patch>t.patch}async function Hw(n,e){let t=await(await e.download(n)).text();return trt.parse(JSON.parse(t))}async function Ik(n,e){let t=await e.downloadJSON(n,{timeoutInSeconds:F0n});if(!t||!t.output)throw new Error(`Could not resolve metadata for contract at ${n}`);return Wce(t)}function Wce(n){let e=p0.parse(n.output.abi),t=n.settings.compilationTarget,a=Object.keys(t),r=t[a[0]],i=zce.parse({title:n.output.devdoc.title,author:n.output.devdoc.author,details:n.output.devdoc.detail,notice:n.output.userdoc.notice}),s=[...new Set(Object.entries(n.sources).map(f=>{let[,o]=f;return o.license}))];return{name:r,abi:e,metadata:n,info:i,licenses:s,isPartialAbi:n.isPartialAbi}}async function Nz(n,e){return xk.parse(JSON.parse(await(await e.download(n)).text()))}async function j7(n,e,t){let a=await Nz(n,e),r,i;if(t&&a.compilers){let o;switch(t.compilerType){case"solc":{if(t.compilerVersion)o=a.compilers.solc?.find(c=>c.compilerVersion===t.compilerVersion&&c.evmVersion===t.evmVersion);else if(a.compilers.solc){let c=a.compilers.solc.length;o=a.compilers.solc[c-1]}break}case"zksolc":{if(t.compilerVersion)o=a.compilers.zksolc?.find(c=>c.compilerVersion===t.compilerVersion&&c.evmVersion===t.evmVersion);else if(a.compilers.zksolc){let c=a.compilers.zksolc.length;o=a.compilers.zksolc[c-1]}break}}at(o,"Compiler or EVM version not found"),r=o.bytecodeUri,i=o.metadataUri}else r=a.bytecodeUri,i=a.metadataUri;let[s,f]=await Promise.all([e.download(r),Ik(i,e)]);return rrt.parse({...a,...f,name:a.name,bytecode:await s.text(),fetchedMetadataUri:i,fetchedBytecodeUri:r})}function V0n(n,e){if(n.length===0||n.length===1||!e)return n;for(let t=0;t1&&arguments[1]!==void 0?arguments[1]:new Map;function t(i,s){if(e.size>=n){let f=e.keys().next().value;e.delete(f)}e.set(i,s)}function a(i){if(!e.has(i))return;let f=e.get(i);return e.delete(i),e.set(i,f),f}function r(i){return e.has(i)}return{put:t,get:a,has:r,maxEntries:n,store:e}}async function ws(n,e,t){let r=`${t?`${t.compilerType}_${t.compilerVersion||""}_${t.evmVersion||""} + `:"default"}_${n}`,i=eat.get(r);if(i)return i;let s=await j7(n,e,t),f;try{f=await Hw(n,e)}catch{}let o={compilerMetadata:s,extendedMetadata:f};return eat.put(r,o),o}function Gce(n){n&&n.length>0?Dce=n:Dce=qo}function Kce(){return Dce}async function Yo(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,f=Kce().find(y=>y.chainId===137)||t7,o=await Pe(n),c=(await Promise.resolve().then(()=>Te(yU()))).default,d=new Ye.Contract(qw(),c,vi(f,{clientId:r,secretKey:i})),l;if(!t||t==="latest"){let y=await d.getPublishedContract(o,e);l=vk.parse({id:y.contractId,timestamp:y.publishTimestamp,metadataUri:y.publishMetadataUri})}else{let y=(await d.getPublishedContractVersions(o,e)).map(A=>vk.parse({id:A.contractId,timestamp:A.publishTimestamp,metadataUri:A.publishMetadataUri})),T=(await Promise.all(y.map(A=>ws(A.metadataUri,a)))).map((A,O)=>({name:y[O].id,publishedTimestamp:y[O].timestamp,publishedMetadata:A})).find(A=>A.publishedMetadata.extendedMetadata?.version===t);at(T,"Contract version not found"),l=y.find(A=>A.timestamp===T.publishedTimestamp)}if(!l)throw new Error(`No published contract found for ${e} at version by '${Q5}'`);return l}async function WH(n,e){try{let t=(await Promise.resolve().then(()=>Te(use()))).default,a=new Ye.Contract(n,t,e),[r,i]=await Promise.all([a.contractType(),a.contractVersion()]);return{type:Ye.utils.toUtf8String(r).replace(/\x00/g,""),version:i}}catch{return}}function rat(){try{let n=Da();if(Vs){if(nt>=Vs.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}nt=Vs.postBundlePosition,Vs=null}if(nt==q7)qi=null,s0=null,lp&&(lp=null);else if(nt>q7){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}else if(!Ace)throw new Error("Data read, but end of buffer not reached");return n}catch(n){throw crt(),(n instanceof RangeError||n.message.startsWith("Unexpected end of buffer"))&&(n.incomplete=!0),n}}function Da(){let n=s0[nt++],e=n>>5;if(n=n&31,n>23)switch(n){case 24:n=s0[nt++];break;case 25:if(e==7)return j0n();n=F1.getUint16(nt),nt+=2;break;case 26:if(e==7){let t=F1.getFloat32(nt);if(ra.useFloat32>2){let a=drt[(s0[nt]&127)<<1|s0[nt+1]>>7];return nt+=4,(a*t+(t>0?.5:-.5)>>0)/a}return nt+=4,t}n=F1.getUint32(nt),nt+=4;break;case 27:if(e==7){let t=F1.getFloat64(nt);return nt+=8,t}if(e>1){if(F1.getUint32(nt)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");n=F1.getUint32(nt+4)}else ra.int64AsNumber?(n=F1.getUint32(nt)*4294967296,n+=F1.getUint32(nt+4)):n=F1.getBigUint64(nt);nt+=8;break;case 31:switch(e){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let t=[],a,r=0;for(;(a=Da())!=Lw;)t[r++]=a;return e==4?t:e==3?t.join(""):D.Buffer.concat(t);case 5:let i;if(ra.mapsAsObjects){let s={};if(ra.keyMap)for(;(i=Da())!=Lw;)s[z5(ra.decodeKey(i))]=Da();else for(;(i=Da())!=Lw;)s[z5(i)]=Da();return s}else{bk&&(ra.mapsAsObjects=!0,bk=!1);let s=new Map;if(ra.keyMap)for(;(i=Da())!=Lw;)s.set(ra.decodeKey(i),Da());else for(;(i=Da())!=Lw;)s.set(i,Da());return s}case 7:return Lw;default:throw new Error("Invalid major type for indefinite length "+e)}default:throw new Error("Unknown token "+n)}switch(e){case 0:return n;case 1:return~n;case 2:return W0n(n);case 3:if(Tk>=nt)return Rz.slice(nt-Lz,(nt+=n)-Lz);if(Tk==0&&q7<140&&n<32){let r=n<16?irt(n):z0n(n);if(r!=null)return r}return H0n(n);case 4:let t=new Array(n);for(let r=0;r=tat){let r=qi[n&8191];if(r)return r.read||(r.read=Pce(r)),r.read();if(n<65536){if(n==q0n)return Lce(Da());if(n==U0n){let i=hk(),s=Da();for(let f=2;f23)switch(t){case 24:t=s0[nt++];break;case 25:t=F1.getUint16(nt),nt+=2;break;case 26:t=F1.getUint32(nt),nt+=4;break;default:throw new Error("Expected array header, but got "+s0[nt-1])}let a=this.compiledReader;for(;a;){if(a.propertyCount===t)return a(Da);a=a.next}if(this.slowReads++>=3){let i=this.length==t?this:this.slice(0,t);return a=ra.keyMap?new Function("r","return {"+i.map(s=>ra.decodeKey(s)).map(s=>iat.test(s)?z5(s)+":r()":"["+JSON.stringify(s)+"]:r()").join(",")+"}"):new Function("r","return {"+i.map(s=>iat.test(s)?z5(s)+":r()":"["+JSON.stringify(s)+"]:r()").join(",")+"}"),this.compiledReader&&(a.next=this.compiledReader),a.propertyCount=t,this.compiledReader=a,a(Da)}let r={};if(ra.keyMap)for(let i=0;i64&&Cce)return Cce.decode(s0.subarray(nt,nt+=n));let t=nt+n,a=[];for(e="";nt65535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|o&1023),a.push(o)}else a.push(r);a.length>=4096&&(e+=hf.apply(String,a),a.length=0)}return a.length>0&&(e+=hf.apply(String,a)),e}function z0n(n){let e=nt,t=new Array(n);for(let a=0;a0){nt=e;return}t[a]=r}return hf.apply(String,t)}function irt(n){if(n<4)if(n<2){if(n===0)return"";{let e=s0[nt++];if((e&128)>1){nt-=1;return}return hf(e)}}else{let e=s0[nt++],t=s0[nt++];if((e&128)>0||(t&128)>0){nt-=2;return}if(n<3)return hf(e,t);let a=s0[nt++];if((a&128)>0){nt-=3;return}return hf(e,t,a)}else{let e=s0[nt++],t=s0[nt++],a=s0[nt++],r=s0[nt++];if((e&128)>0||(t&128)>0||(a&128)>0||(r&128)>0){nt-=4;return}if(n<6){if(n===4)return hf(e,t,a,r);{let i=s0[nt++];if((i&128)>0){nt-=5;return}return hf(e,t,a,r,i)}}else if(n<8){let i=s0[nt++],s=s0[nt++];if((i&128)>0||(s&128)>0){nt-=6;return}if(n<7)return hf(e,t,a,r,i,s);let f=s0[nt++];if((f&128)>0){nt-=7;return}return hf(e,t,a,r,i,s,f)}else{let i=s0[nt++],s=s0[nt++],f=s0[nt++],o=s0[nt++];if((i&128)>0||(s&128)>0||(f&128)>0||(o&128)>0){nt-=8;return}if(n<10){if(n===8)return hf(e,t,a,r,i,s,f,o);{let c=s0[nt++];if((c&128)>0){nt-=9;return}return hf(e,t,a,r,i,s,f,o,c)}}else if(n<12){let c=s0[nt++],d=s0[nt++];if((c&128)>0||(d&128)>0){nt-=10;return}if(n<11)return hf(e,t,a,r,i,s,f,o,c,d);let l=s0[nt++];if((l&128)>0){nt-=11;return}return hf(e,t,a,r,i,s,f,o,c,d,l)}else{let c=s0[nt++],d=s0[nt++],l=s0[nt++],y=s0[nt++];if((c&128)>0||(d&128)>0||(l&128)>0||(y&128)>0){nt-=12;return}if(n<14){if(n===12)return hf(e,t,a,r,i,s,f,o,c,d,l,y);{let h=s0[nt++];if((h&128)>0){nt-=13;return}return hf(e,t,a,r,i,s,f,o,c,d,l,y,h)}}else{let h=s0[nt++],T=s0[nt++];if((h&128)>0||(T&128)>0){nt-=14;return}if(n<15)return hf(e,t,a,r,i,s,f,o,c,d,l,y,h,T);let A=s0[nt++];if((A&128)>0){nt-=15;return}return hf(e,t,a,r,i,s,f,o,c,d,l,y,h,T,A)}}}}}function W0n(n){return ra.copyBuffers?Uint8Array.prototype.slice.call(s0,nt,nt+=n):s0.subarray(nt,nt+=n)}function j0n(){let n=s0[nt++],e=s0[nt++],t=(n&127)>>2;if(t===31)return e||n&3?NaN:n&128?-1/0:1/0;if(t===0){let a=((n&3)<<8|e)/16777216;return n&128?-a:a}return xz[3]=n&128|(t>>1)+56,xz[2]=(n&7)<<5|e>>3,xz[1]=e<<5,xz[0]=0,srt[0]}function Mw(n,e){return typeof n=="string"?n+e:n instanceof Array?n.concat(e):Object.assign({},n,e)}function U7(){if(!Ac)if(ra.getShared)Qce();else throw new Error("No packed values available");return Ac}function J0n(n,e){let t="get"+n.name.slice(0,-5);typeof n!="function"&&(n=null);let a=n.BYTES_PER_ELEMENT;for(let r=0;r<2;r++){if(!r&&a==1)continue;let i=a==2?1:a==4?2:3;gi[r?e:e-4]=a==1||r==Q0n?s=>{if(!n)throw new Error("Could not find typed array for code "+e);return new n(Uint8Array.prototype.slice.call(s,0).buffer)}:s=>{if(!n)throw new Error("Could not find typed array for code "+e);let f=new DataView(s.buffer,s.byteOffset,s.byteLength),o=s.length>>i,c=new n(o),d=f[t];for(let l=0;l23)switch(n){case 24:n=s0[nt++];break;case 25:n=F1.getUint16(nt),nt+=2;break;case 26:n=F1.getUint32(nt),nt+=4;break}return n}function Qce(){if(ra.getShared){let n=ort(()=>(s0=null,ra.getShared()))||{},e=n.structures||[];ra.sharedVersion=n.version,Ac=ra.sharedValues=n.packedValues,qi===!0?ra.structures=qi=e:qi.splice.apply(qi,[0,e.length].concat(e))}}function ort(n){let e=q7,t=nt,a=Lz,r=Tk,i=Rz,s=lp,f=Vs,o=new Uint8Array(s0.slice(0,q7)),c=qi,d=ra,l=Ace,y=n();return q7=e,nt=t,Lz=a,Tk=r,Rz=i,lp=s,Vs=f,s0=o,Ace=l,qi=c,ra=d,F1=new DataView(s0.buffer,s0.byteOffset,s0.byteLength),y}function crt(){s0=null,lp=null,qi=null}function tnn(n){if(n=n.toString(16),n.startsWith("0x")||(n=`0x${n}`),!nnn(n))throw new Error(`Given value "${n}" is not a valid hex string.`);n=n.replace(/^0x/i,"");let e=[];for(let t=0;tp0.parse(i)).flat().filter(i=>i.type!=="constructor");e&&a.push(...p0.parse(e));let r=V0n(a,(i,s)=>i.name===s.name&&i.type===s.type&&i.inputs.length===s.inputs.length);return p0.parse(r)}function Mce(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=n.type,r=!1;return a.endsWith("[]")&&(r=!0,a=a.slice(0,-2)),a.startsWith("bytes")&&(a="BytesLike"),(a.startsWith("uint")||a.startsWith("int"))&&(a=e?"BigNumber":"BigNumberish"),a.startsWith("bool")&&(a="boolean"),a==="address"&&(a="string"),a==="tuple"&&n.components&&(a=`{ ${n.components.map(i=>Mce(i,!1,!0)).join(", ")} }`),r&&(a+="[]"),t&&(a=`${n.name}: ${a}`),a}function Fz(n,e,t){return e?.output?.userdoc?.[t]?.[Object.keys(e?.output?.userdoc[t]||{}).find(a=>a.includes(n||"unknown"))||""]?.notice||e?.output?.devdoc?.[t]?.[Object.keys(e?.output?.devdoc[t]||{}).find(a=>a.includes(n||"unknown"))||""]?.details}function W5(n,e){let t=(n||[]).filter(r=>r.type==="function"),a=[];for(let r of t){let i=Fz(r.name,e,"methods"),s=r.inputs?.map(l=>`${l.name||"key"}: ${Mce(l)}`)?.join(", ")||"",f=s?`, [${s}]`:"",o=r.outputs?.map(l=>Mce(l,!0))?.join(", "),c=o?`: Promise<${o}>`:": Promise",d=`contract.call("${r.name}"${f})${c}`;a.push({inputs:r.inputs||[],outputs:r.outputs||[],name:r.name||"unknown",signature:d,stateMutability:r.stateMutability||"",comment:i})}return a}function brt(n,e){let t=W5(n),a=e.flatMap(i=>W5(i));return t.filter(i=>a.find(f=>f.name===i.name&&f.inputs.length===i.inputs.length&&f.inputs.every((o,c)=>o.type==="tuple"||o.type==="tuple[]"?o.type===i.inputs[c].type&&o.components?.every((d,l)=>d.type===i.inputs[c].components?.[l]?.type):o.type===i.inputs[c].type))!==void 0).length===a.length}function hrt(n,e){let a=e.map(i=>new Fat.Interface(i)).flatMap(i=>Object.values(i.functions).map(s=>Number(i.getSighash(s)).toString(16)));return[...new Set(a)].every(i=>n.includes(i))}function L3(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jce,t=JSON.stringify(n);if(wce.has(t))return wce.get(t);let a=grt(n,e);return wce.put(t,a),a}function grt(n,e){let t={};for(let a in e){let r=e[a],i=lnn(n,r),s=grt(n,r.features);t[a]={...r,features:s,enabled:i}}return t}function Xce(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jce,t={};for(let a in e){let r=e[a],i=hrt(n,r.abis),s=Xce(n,r.features);t[a]={...r,features:s,enabled:i}}return t}function lnn(n,e){return brt(n,e.abis)}function Oz(n,e){if(n)for(let t in n){let a=n[t];a.enabled&&e.push(a),Oz(a.features,e)}}function vrt(n){let e=[];return Oz(Xce(n),e),e}function Trt(n){let e=vrt(n);return e.find(a=>a.name==="ERC721")&&(e=e.filter(a=>a.name!=="ERC20")),Iy(e.map(a=>Iy(a.abis)))}function wrt(n,e){return`${n}-${e}`}function unn(n,e,t){_rt.put(wrt(n,e),t)}function RA(n,e){return _rt.get(wrt(n,e))}async function $i(n,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=(await e.getNetwork()).chainId,i=RA(n,r);if(i)return i;let s;if(!(r===31337||r===1337))try{let o=await fetch(`${pnn}/${r}/${n}`,{headers:{...S0n()}});if(o.ok){let c=await o.json();s=Wce(c)}}catch{}if(s||(s=await xrt(n,r,e,t,a)),!s)throw new Error(`Could not resolve contract. Try importing it by visiting: https://thirdweb.com/${r}/${n}`);return s.isPartialAbi?console.warn(`Contract metadata could only be partially resolved, some contract functions might be unavailable. Try importing the contract by visiting: https://thirdweb.com/${r}/${n}`):unn(n,r,s),s}async function xrt(n,e,t,a){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},i,[s,f]=await Promise.all([prt(n,t).catch(()=>{}),ynn(n,e,r).then(d=>{if(d)return{uri:d,bytecode:""}}).catch(()=>{})]),o=s?.bytecode,c=f?.uri||s?.uri;if(!c&&!o)throw new Error(`Could not fetch bytecode for contract at ${n} on chain ${e}, double check that the address and chainId are correct.`);try{i=await Ik(c,a)}catch{}if(!i&&o){let d=Trt(o);if(d&&d.length>0)return i={name:"Unimported Contract",abi:d,metadata:{},info:{},licenses:[],isPartialAbi:!0},i}return i}async function ynn(n,e,t){let a=(await Promise.resolve().then(()=>Te(yse()))).default;if(!xce){let s=t?.supportedChains?.find(f=>f.chainId===137)||t7;xce=new Ye.Contract(Ck(),a,vi(s,t))}return await xce.getMetadataUri(e,n)}async function Pc(n,e,t){try{let a=await $i(n,e,t);if(a&&a.abi)return a.abi}catch{}}async function mnn(n,e){let{extendedMetadata:t}=await ws(n,e);return t?.compositeAbi||[]}function Dat(n){return bnn.some(a=>n.includes(a))?!0:hnn.some(a=>{let r=!0;return a.forEach(i=>{r&&(r=n.includes(i))}),r})}async function kc(n,e){let t=await e.getCode(n);return t!=="0x"&&t!=="0x0"}async function Nce(n){try{await n.sendTransaction("0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222")}catch(e){let t=e.toString().toLowerCase(),a=JSON.stringify(e).toLowerCase();return!!(Dat(t)||Dat(a))}return!1}function Crt(n,e){let t=Ye.utils.arrayify(Ye.utils.keccak256(Ye.utils.serializeTransaction(n))),a=Ye.utils.recoverAddress(t,e),r=Ye.utils.serializeTransaction(n,e);return{signer:a,transaction:r}}function gk(n,e){let t=Ye.utils.joinSignature(Ert),a=e.gasPrice?e.gasPrice:100*10**9,r=e.gasLimit?e.gasLimit:1e5,i=Crt({gasPrice:a,gasLimit:r,nonce:0,data:Irt,chainId:n},t),s=Ye.utils.getContractAddress({from:i.signer,nonce:0});return{...i,deployment:s,valueToSend:Ye.BigNumber.from(a).mul(r)}}async function md(n){return(await Vz(n)).deployment}async function Vz(n){let e=(await n.getNetwork()).chainId;if(Ice[e]){let l=await Nce(n)?e:0,y=Ice[e]?.gasPrice,h=Ice[e]?.gasLimit,T=gk(l,{gasPrice:y?Ye.BigNumber.from(y):void 0,gasLimit:h?Ye.BigNumber.from(h):void 0});return await kc(T.deployment,n)&&(T.transaction=""),T}let t=[...Bce.map(d=>gk(e,{gasPrice:Ye.BigNumber.from(d)})),...Bce.map(d=>gk(0,{gasPrice:Ye.BigNumber.from(d)}))],a=await Promise.all(t.map(d=>kc(d.deployment,n))),r=t.findIndex(d=>d.deployment===Drt);if(r&&a[r])return{...t[r],transaction:""};let i=a.findIndex(d=>d);if(i&&t[i])return{...t[i],transaction:""};let[s,f]=await Promise.all([Nce(n),n.getGasPrice()]),o=s?e:0,c=gnn(f);return gk(o,{gasPrice:c})}function gnn(n){let e=Bce.find(t=>Ye.BigNumber.from(t).gte(n));return e?Ye.BigNumber.from(e):n}function nde(n){let e=n.startsWith("0x")?n:`0x${n}`,a=`tw.${Ye.utils.id(e)}`;return Ye.utils.id(a)}function _k(n,e,t){let a=n.startsWith("0x")?n:`0x${n}`,r=t?Ye.utils.id(t):nde(a);return Ye.utils.solidityPack(["bytes32","bytes","bytes"],[r,a,e])}function Uw(n,e,t,a){let r=n.startsWith("0x")?n:`0x${n}`,i=a?Ye.utils.id(a):nde(r),s=Ye.utils.solidityPack(["bytes","bytes"],[r,e]),f=Ye.utils.solidityPack(["bytes1","address","bytes32","bytes32"],["0xff",t,i,Ye.utils.solidityKeccak256(["bytes"],[s])]);return`0x${Ye.utils.solidityKeccak256(["bytes"],[f]).slice(26)}`}function RH(n){let e=Kce().find(t=>t.chainId===n);return e&&e.nativeCurrency?{name:e.nativeCurrency.name,symbol:e.nativeCurrency.symbol,decimals:18,wrapped:{address:Ye.constants.AddressZero,name:`Wrapped ${e.nativeCurrency.name}`,symbol:`W${e.nativeCurrency.symbol}`}}:x3[n]||{name:"Ether",symbol:"ETH",decimals:18,wrapped:{address:Ye.constants.AddressZero,name:"Wrapped Ether",symbol:"WETH"}}}function Dy(n){let e=p0.parse(n||[]);for(let t of e)if(t.type==="constructor")return t.inputs||[];return[]}function Sat(n){return vnn[n]||Ye.constants.AddressZero}async function Xf(n,e,t,a,r,i,s){let f=r&&r.contractName,o=r&&r.version,c=r&&r.publisherAddress,d=r&&r.metadata;if(at(f||d,"Require contract name or metadata"),f&&F6.deploymentPresets[f])return F6.deploymentPresets[f];if(f==="WETH9"){let A=Uw(Cat,[],a),O=await kc(A,e),N="";return O||(N=_k(Cat,[])),{name:f,type:n,transaction:{predictedAddress:A,to:a,data:N}}}if(!d){at(f,"Require contract name"),c||(c=Q5);let A=await Yo(c,f,o,t,i,s);d=(await ws(A.metadataUri,t)).compilerMetadata}let l=await $z(d,e,t,a,r?.constructorParams,i,s),y=Uw(d.bytecode,l,a),h=await kc(y,e),T="";return h||(T=_k(d.bytecode,l)),{name:f,type:n,transaction:{predictedAddress:y,to:a,data:T},encodedArgs:l}}async function $z(n,e,t,a,r,i,s){let f=Dy(n.abi),o=f.map(l=>l.type==="tuple[]"||l.type==="tuple"?Ye.utils.ParamType.from(l):l.type),c=await Promise.all(f.map(async l=>{if(r&&r[l.name])return r[l.name].type&&at(r[l.name].type===l.type,`Provided type ${r[l.name].type} doesn't match the actual type ${l.type} from Abi`),r[l.name].value;if(l.name&&l.name.includes("nativeTokenWrapper"))return await Aat(e,t,a,i,s);if(l.name&&l.name.includes("trustedForwarder")){if(n.name==="Pack")return lr;let y=await Xf("infra",e,t,a,{contractName:"Forwarder"},i,s);return F6.deploymentPresets.Forwarder||(F6.deploymentPresets.Forwarder=y),y.transaction.predictedAddress}else if(l.name&&l.name.includes("royaltyEngineAddress")){let y=(await e.getNetwork()).chainId;return Sat(y)}else if(l.name&&l.name.includes("marketplaceV3Params")){let y=(await e.getNetwork()).chainId,h=Sat(y),T=await Aat(e,t,a,i,s);return{extensions:r?r._extensions.value:[],royaltyEngineAddress:h,nativeTokenWrapper:T}}else throw new Error("Can't resolve constructor arguments")}));return Ye.utils.defaultAbiCoder.encode(o,c)}async function Aat(n,e,t,a,r){let i=(await n.getNetwork()).chainId,s=RH(i).wrapped.address;if(s===Ye.constants.AddressZero){let f=await Xf("infra",n,e,t,{contractName:"WETH9"},a,r);F6.deploymentPresets.WETH9||(F6.deploymentPresets.WETH9=f),s=f.transaction.predictedAddress}return s}async function PH(n,e,t,a,r){return(!t||t==="")&&(t=await md(n)),(await Xf("infra",n,e,t,{contractName:"ForwarderEOAOnly"},a,r)).transaction.predictedAddress}async function w7(n,e,t,a,r){return(!t||t==="")&&(t=await md(n)),(await Xf("infra",n,e,t,{contractName:"Forwarder"},a,r)).transaction.predictedAddress}function LA(n){if(n.reason&&!n.reason.includes("cannot estimate gas"))return n.reason;if(n.error)return n.error;let e=n;return typeof n=="object"?e=JSON.stringify(n):typeof n!="string"&&(e=n.toString()),e.length>5e3?n.message||"":kat(/.*?"message":"([^"\\]*).*?/,e)||kat(/.*?"reason":"([^"\\]*).*?/,e)||n.message||""}function P3(n,e){if(e==="")return e;let t=Array(10-n.length).fill(" ").join("");return e.includes(` `)?e=` `+e.split(` `).join(` - `):e=`${n}${e}`,` -${t}:${e}`}function ii0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n[1]),a}function eh(t,e){return t?t&&t.toString().includes(e)||t&&t.message&&t.message.toString().includes(e)||t&&t.error&&t.error.toString().includes(e):!1}async function m9(t,e,n){let a=n.join("|"),r=si0[a],f=Date.now()-r>=2e3;if(!(a in OE)||f){let s=await t.functions[e](...n);Array.isArray(s)&&s.length>0?OE[a]=a0.BigNumber.from(s[0]):OE[a]=a0.BigNumber.from(s),si0[a]=Date.now()}let i=OE[a];return OE[a]=a0.BigNumber.from(OE[a]).add(1),i}async function Kc(t,e,n,a){let r=t;t.originalSigner&&(r=t.originalSigner);let f=r?.provider;if(!f)throw new Error("missing provider");let i=a0.utils._TypedDataEncoder.getPayload(e,n,a),s="",o=(await r.getAddress()).toLowerCase();if(f?.provider?.isWalletConnect)try{s=await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else throw c}else try{s=await r._signTypedData(e,n,a)}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))s=await f.send("eth_signTypedData",[o,JSON.stringify(i)]);else try{await f.send("eth_signTypedData_v4",[o,JSON.stringify(i)])}catch(d){throw d}}return{payload:i,signature:a0.utils.joinSignature(a0.utils.splitSignature(s))}}async function Gfn(t,e){let n=new a0.Contract(e,jfn,t);try{return await n.nonces(await t.getAddress())}catch{return await n.getNonce(await t.getAddress())}}async function Kfn(t,e){let n=new a0.Contract(e,qfn,t);try{return await n.DOMAIN_SEPARATOR()}catch{try{return await n.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function Qfn(t,e){return new a0.Contract(e,Wfn,t).name()}async function Vfn(t,e){let n=await Kfn(t,e.verifyingContract),a={name:e.name,version:e.version,verifyingContract:e.verifyingContract,salt:a0.utils.hexZeroPad(a0.BigNumber.from(e.chainId).toHexString(),32)};return a0.utils._TypedDataEncoder.hashDomain(a)===n?a:e}async function oM(t,e,n,a,r,f,i,s){let[o,c,d]=await Promise.all([Qfn(t,e),t.getChainId(),Gfn(t,e)]),l=await Vfn(t,{name:o,version:s||"1",chainId:c,verifyingContract:e});i=i||d.toString(),f=f||a0.constants.MaxUint256;let h={owner:n,spender:a,value:r,nonce:i,deadline:f},y={Permit:[{name:"owner",type:"address"},{name:"spender",type:"address"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint256"}]},{signature:v}=await Kc(t,l,y,h);return{message:h,signature:v}}function b9(t,e){return t===E0.Hardhat||t===E0.Localhost?e==="twFactory"?UE("factoryAddress"):e==="twRegistry"?UE("registryAddress"):xr:p2[t]?.[e]}function eB(t,e,n){return as0(n,e)}function fE(t,e,n){return eB(t,e,n)}function as0(t,e){let n=Object.keys(t);if(!n.includes(e)){let r=!1;for(let f of n){let i=t[f];if(r=as0(i.features,e),r)break}return r}return t[e].enabled}async function Pde(t,e,n){return(await Promise.all(t.map(a=>ni(a,e,n).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function Ym(t,e,n,a,r){let f=[];try{let i=vb(e),s=fE(e,"PluginRouter",i),o=fE(e,"DynamicContract",i),c=fE(e,"Fallback",i);if(o){let h=(await new lt(n,t,qi0,a,r).call("getAllExtensions")).map(y=>y.metadata.implementation);f=await Pde(h,n,r)}else if(s){let h=(await new lt(n,t,Wi0,a,r).call("getAllPlugins")).map(v=>v.pluginAddress),y=Array.from(new Set(h));f=await Pde(y,n,r)}else if(c){let d=["function facets() external view returns (tuple(address,bytes4[])[])"],y=(await new a0.Contract(t,d,n).facets()).map(v=>v[0]);f=await Pde(y,n,r)}}catch{}return f.length>0?ih([...f],e):e}function cr(t){return t==="admin"?a0.utils.hexZeroPad([0],32):a0.utils.id(rs0[t])}async function pK(t,e){try{return await yG(t,e)}catch{return}}function _5e(t){return Object.values(E5e).find(e=>e.name===t)?.contractType||"custom"}function hK(t){return Object.values(E5e).find(e=>e.contractType===t)?.name}var a0,$G,ci0,_2,di0,Ps,li0,rc,ui0,pi0,Krn,hi0,mi0,Qrn,JG,Vrn,XG,VG,Af0,kf0,Cde,kde,tfn,uG,da,Sf0,nfn,Jm,D6e,gr0,m6e,nb,afn,nr0,ff,v9,Rf0,Sde,rfn,ffn,ts,Xa,gi0,Fi,F6,vi,A2,tc,l1,fi,oh,tK,hM,pG,hG,vi0,$de,wi0,Ti0,Ul,Mf0,Lde,xi0,ht,Ei0,YM,nK,_i0,Ai0,Ii0,Ci0,ki0,Jde,Si0,Xde,Ri0,Mi0,Zde,GM,e5e,Bi0,Di0,ifn,sfn,bG,Bf0,Fde,I2,Nde,ot,B9,o0,cfn,dfn,lfn,Df0,Pf0,FE,ua,ri,aK,rK,KM,ns,Hl,Mf,Ode,Jc,ac,WM,Lf0,Ude,Hde,Nf0,ufn,Ds,Li0,YG,HE,qde,bfn,Fi0,yfn,gfn,Of0,vfn,Ui0,xfn,Efn,Sfn,Rfn,Uf0,ME,Hf0,zf0,BE,OM,UM,DE,Wf0,PE,CM,nh,kM,qf0,SM,jf0,Gf0,SE,MG,RM,MM,BM,DM,Kf0,BG,DG,I9,PM,hb,C9,RE,Mfn,ab,Qf0,wM,Vf0,Yf0,wE,T9,TM,$f0,xM,EM,rb,fb,gG,vG,TE,Bfn,Wi0,qi0,hE,gE,bE,Jf0,yE,cM,rE,mE,Xf0,HM,Zf0,D9,db,lb,ub,P9,ei0,ho,L9,zE,WE,qE,ti0,s5e,Mde,Pfn,Yi0,Bde,Ofn,Ufn,Gde,Dde,Xi0,Zi0,es0,c5e,d5e,l5e,ai0,E0,bf,cb,mde,sh,zfn,xr,x9,bM,mM,AM,g2,xE,v2,Z1,h9,iM,sM,l6e,OE,si0,Wfn,qfn,jfn,$c,R9,gb,p2,o1,ns0,E2,lt,rs0,uK,p5e,fs0,is0,_G,ss0,Yfn,$fn,xde,h5e,os0,cs0,rh,m5e,ds0,ls0,A9,us0,Jfn,Xfn,nde,b5e,ps0,hs0,UG,ms0,Zfn,fK,bs0,ys0,WG,y5e,gs0,vs0,IG,g5e,ws0,Ts0,GG,v5e,xs0,Es0,FG,w5e,_s0,T5e,As0,Is0,QG,vde,Bs,EE,bde,Ede,ade,Mn,C2,wb,k2,dh,S2,Tb,R2,M2,B2,D2,xb,P2,L2,Eb,x5e,oi0,E5e,ln=oe(()=>{"use strict";u();p();a0=Ee(Je());J5();Hc();HW();ir();$G=Ee(Va()),ci0=Ee(io());ize();oze();cze();lze();uze();_2=Ee(K1());pze();mze();bze();yze();di0=Ee(uoe());vze();Tze();Eze();_ze();Ps=Ee(yx());Ize();kze();Rze();Bze();Dze();Pze();Fze();Oze();Hze();Wze();jze();Kze();li0=Ee(boe());Qze();Yze();Jze();Zze();eWe();nWe();rc=Ee(gx()),ui0=Ee(goe());rWe();iWe();oWe();cWe();lWe();pWe();mWe();yWe();vWe();TWe();woe();EWe();AWe();CWe();SWe();MWe();DWe();LWe();NWe();UWe();zWe();qWe();GWe();QWe();pi0=Ee(C7());W0();Krn="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";hi0=10,mi0=200,Qrn={timeLimitMs:hi0,sizeLimit:mi0},JG=class extends a0.providers.StaticJsonRpcProvider{constructor(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qrn;super(e,n),this._timeLimitMs=a.timeLimitMs||hi0,this._sizeLimit=a.sizeLimit||mi0,this._pendingBatchAggregator=null,this._pendingBatch=null}sendCurrentBatch(e){this._pendingBatchAggregator&&clearTimeout(this._pendingBatchAggregator);let n=this._pendingBatch||[];this._pendingBatch=null,this._pendingBatchAggregator=null;let a=n.map(r=>r.request);return this.emit("debug",{action:"requestBatch",request:a0.utils.deepCopy(e),provider:this}),a0.utils.fetchJson(this.connection,JSON.stringify(a)).then(r=>{this.emit("debug",{action:"response",request:a,response:r,provider:this}),n.forEach((f,i)=>{let s=r[i];if(s)if(s.error){let o=new Error(s.error.message);o.code=s.error.code,o.data=s.error.data,f.reject(o)}else f.resolve(s.result);else f.reject(new Error("No response for request"))})},r=>{this.emit("debug",{action:"response",error:r,request:a,provider:this}),n.forEach(f=>{f.reject(r)})})}send(e,n){let a={method:e,params:n,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch===null&&(this._pendingBatch=[]);let r={request:a,resolve:null,reject:null},f=new Promise((i,s)=>{r.resolve=i,r.reject=s});return this._pendingBatch.push(r),this._pendingBatch.length===this._sizeLimit&&this.sendCurrentBatch(a),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{this.sendCurrentBatch(a)},this._timeLimitMs)),f}},Vrn=fe.object({rpc:fe.array(fe.string().url()),chainId:fe.number(),nativeCurrency:fe.object({name:fe.string(),symbol:fe.string(),decimals:fe.number()}),slug:fe.string()}),XG=fe.object({supportedChains:fe.array(Vrn).default(r1),clientId:fe.string().optional(),secretKey:fe.string().optional(),readonlySettings:fe.object({rpcUrl:fe.string().url(),chainId:fe.number().optional()}).optional(),gasSettings:fe.object({maxPriceInGwei:fe.number().min(1,"gas price cannot be less than 1").default(300),speed:fe.enum(["standard","fast","fastest"]).default("fastest")}).default({maxPriceInGwei:300,speed:"fastest"}),gasless:fe.union([fe.object({openzeppelin:fe.object({relayerUrl:fe.string().url(),relayerForwarderAddress:fe.string().optional(),useEOAForwarder:fe.boolean().default(!1),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)}),fe.object({biconomy:fe.object({apiId:fe.string(),apiKey:fe.string(),deadlineSeconds:fe.number().min(1,"deadlineSeconds cannot be les than 1").default(3600)})}),fe.object({engine:fe.object({relayerUrl:fe.string().url().transform(t=>t.replace(/\/$/,"")),relayerForwarderAddress:fe.string().optional(),domainName:fe.string().default("GSNv2 Forwarder"),domainVersion:fe.string().default("0.0.1"),domainSeparatorVersion:fe.string().default("1")}),experimentalChainlessSupport:fe.boolean().default(!1)})]).optional(),gatewayUrls:fe.array(fe.string()).optional(),rpcBatchSettings:fe.object({sizeLimit:fe.number().default(200),timeLimit:fe.number().default(10)}).optional()}).default({gasSettings:{maxPriceInGwei:300,speed:"fastest"}}),VG={name:"@thirdweb-dev/sdk",version:"4.0.94",description:"The main thirdweb SDK.",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",license:"Apache-2.0",main:"dist/thirdweb-dev-sdk.cjs.js",module:"dist/thirdweb-dev-sdk.esm.js",browser:{"./dist/thirdweb-dev-sdk.esm.js":"./dist/thirdweb-dev-sdk.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-sdk.browser.esm.js",default:"./dist/thirdweb-dev-sdk.esm.js"},default:"./dist/thirdweb-dev-sdk.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-sdk-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-sdk-evm.esm.js"},default:"./evm/dist/thirdweb-dev-sdk-evm.cjs.js"},"./evm/zksync":{module:{browser:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.browser.esm.js",default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.esm.js"},default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.cjs.js"},"./evm/functions":{module:{browser:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.browser.esm.js",default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.esm.js"},default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.cjs.js"},"./package.json":"./package.json"},files:["dist/","evm/","server/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/functions/index.ts","evm/zksync/index.ts"],exports:{envConditions:["browser"]}},sideEffects:!1,scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/","generate-docs":"mkdir -p etc && pnpm generate-docs:evm && pnpm generate-snippets","generate-docs:evm":"api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm","generate-snippets":"node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",build:"tsc && preconstruct build","test:all":"SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 180000 --parallel './test/evm/**/*.test.ts'",test:"make test-evm","test:single":"SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",push:"yalc push",typedoc:"node scripts/typedoc.mjs"},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@ethersproject/abstract-provider":"^5.7.0","@microsoft/api-documenter":"^7.24.5","@microsoft/api-extractor":"^7.43.0","@microsoft/tsdoc":"^0.14.2","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.9.0","@swc/core":"^1.5.24","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5","@types/chai":"^4.3.14","@types/deep-equal-in-any-order":"^1.0.3","@types/mocha":"^10.0.6","@types/node":"20.12.7","@types/uuid":"^9.0.8",chai:"^4.4.1","deep-equal-in-any-order":"^1.1.20","dotenv-mono":"^1.3.14",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-inclusive-language":"^2.2.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-tsdoc":"^0.2.17",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",mocha:"10.4.0",nyc:"^15.1.0",rimraf:"5.0.5","typedoc-gen":"workspace:*",typescript:"5.4.4","zksync-ethers":"^5.7.0"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.215.0",ethers:"^5","ethers-aws-kms-signer":"^1.3.2","zksync-ethers":"^5.6.0"},peerDependenciesMeta:{"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},"zksync-ethers":{optional:!0}},dependencies:{"@eth-optimism/sdk":"3.3.0","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/generated-abis":"workspace:*","@thirdweb-dev/merkletree":"workspace:*","@thirdweb-dev/storage":"workspace:*",abitype:"1.0.0","bn.js":"5.2.1",bs58:"^5.0.0",buffer:"^6.0.3",eventemitter3:"^5.0.1","fast-deep-equal":"^3.1.3",thirdweb:"workspace:*","tiny-invariant":"^1.3.3",tweetnacl:"^1.0.3",uuid:"^9.0.1",yaml:"^2.4.1",zod:"^3.22.4"},bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",engines:{node:">=18"}},Af0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];kf0=new Map;kde=new Map;tfn=fe.custom(t=>typeof t=="string"&&(t.endsWith(".eth")||t.endsWith(".cb.id"))).transform(async t=>Vde(t)).refine(t=>!!t&&a0.utils.isAddress(t),{message:"Provided value was not a valid ENS name"}),uG=fe.custom(t=>typeof t=="string"&&a0.utils.isAddress(t),t=>({message:`${t} is not a valid address`})),da=fe.union([uG,tfn],{invalid_type_error:"Provided value was not a valid address or ENS name"});Sf0=fe.instanceof(File),nfn=fe.union([Sf0,fe.object({data:fe.union([Sf0,fe.string()]),name:fe.string()})]),Jm=fe.union([nfn,fe.string()]),D6e=1e4,gr0=fe.union([fe.array(fe.number()),fe.string()]),m6e=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t)),fe.custom(t=>$G.default.isBN(t))]).transform(t=>$G.default.isBN(t)?new $G.default(t).toString():a0.BigNumber.from(t).toString()),nb=fe.number().max(D6e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),afn=fe.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),nr0=fe.union([fe.string().regex(/^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color"),fe.string().regex(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color").transform(t=>t.replace("#","")),fe.string().length(0)]),ff=fe.union([fe.string().regex(/^([0-9]+\.?[0-9]*|\.[0-9]+)$/,"Invalid amount"),fe.number().min(0,"Amount cannot be negative")]).transform(t=>typeof t=="number"?t.toString():t),v9=fe.union([ff,fe.literal("unlimited")]).default("unlimited"),Rf0=256,Sde="0|[1-9]\\d*",rfn=`(${Sde})\\.(${Sde})\\.(${Sde})`,ffn=new RegExp(rfn);ts=fe.union([fe.string(),fe.number(),fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t)),Xa=ts.transform(t=>t.toString()),gi0=fe.union([fe.bigint(),fe.custom(t=>a0.BigNumber.isBigNumber(t))]).transform(t=>a0.BigNumber.from(t).toString()),Fi=fe.object({name:fe.string(),description:fe.string().optional(),image:Jm.optional(),external_link:fe.string().optional(),app_uri:fe.string().optional(),social_urls:fe.record(fe.string()).optional(),defaultAdmin:da.optional()}).catchall(fe.unknown()),F6=Fi.extend({image:fe.string().optional()}).catchall(fe.unknown()),vi=fe.object({seller_fee_basis_points:nb.default(0),fee_recipient:da.default(a0.constants.AddressZero)}),A2=fe.object({primary_sale_recipient:da.default(a0.constants.AddressZero)}),tc=fe.object({platform_fee_basis_points:nb.default(0),platform_fee_recipient:da.default(a0.constants.AddressZero)}),l1=fe.object({trusted_forwarders:fe.array(da).default([])}),fi=fe.object({symbol:fe.string().default("")}),oh=fe.object({merkle:fe.record(fe.string()).default({})}),tK=fe.object({address:da,maxClaimable:v9.default(0),price:v9.optional(),currencyAddress:da.default(a0.constants.AddressZero).optional()}),hM=fe.union([fe.array(fe.string()).transform(async t=>await Promise.all(t.map(e=>tK.parseAsync({address:e})))),fe.array(tK)]),pG=tK.extend({proof:fe.array(fe.string())}),hG=fe.object({merkleRoot:fe.string(),claims:fe.array(pG)}),vi0=Fi.catchall(fe.union([gi0,fe.unknown()])),$de=vi0.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),wi0=F6.merge(vi.merge(oh).merge(fi).partial()).catchall(fe.any()),Ti0=$de.merge(tc.merge(A2).merge(l1).partial()),Ul={deploy:Ti0,output:wi0,input:$de},Mf0=fe.object({type:fe.string(),name:fe.string().default("")}).catchall(fe.any()),Lde=Mf0.extend({stateMutability:fe.string().optional(),components:fe.array(Mf0).optional()}).catchall(fe.any()),xi0=fe.object({type:fe.string(),name:fe.string().default(""),inputs:fe.array(Lde).default([]),outputs:fe.array(Lde).default([])}).catchall(fe.any()),ht=fe.array(xi0),Ei0=fe.union([fe.literal("solc"),fe.literal("zksolc")]),YM=fe.object({name:fe.string(),metadataUri:fe.string(),bytecodeUri:fe.string(),analytics:fe.any().optional(),compilers:fe.record(Ei0,fe.array(fe.object({compilerVersion:fe.string().optional(),evmVersion:fe.string().optional(),metadataUri:fe.string(),bytecodeUri:fe.string()}))).optional()}).catchall(fe.any()),nK=fe.record(fe.string(),fe.string()),_i0=fe.object({factoryFunction:fe.string(),params:fe.array(fe.object({name:fe.string(),type:fe.string()})).default([]),customFactoryAddresses:nK}),Ai0=fe.object({implementationAddresses:nK,implementationInitializerFunction:fe.string().default("initialize"),customFactoryInput:_i0.optional(),factoryAddresses:nK.optional()}),Ii0=fe.union([fe.literal("standard"),fe.literal("autoFactory"),fe.literal("customFactory")]),Ci0=fe.union([fe.literal("none"),fe.literal("plugin"),fe.literal("dynamic")]),ki0=fe.object({allNetworks:fe.boolean().optional(),networksEnabled:fe.array(fe.number()).default([])}),Jde=fe.object({version:fe.string().refine(t=>{try{return eK(t),!0}catch{return!1}},t=>({message:`'${t}' is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`})),displayName:fe.string().optional(),description:fe.string().optional(),externalLinks:fe.array(fe.object({name:fe.string(),url:fe.string()})).optional(),readme:fe.string().optional(),license:fe.string().optional(),changelog:fe.string().optional(),tags:fe.array(fe.string()).optional(),audit:Jm.nullable().optional(),logo:Jm.nullable().optional(),isDeployableViaFactory:fe.boolean().optional(),isDeployableViaProxy:fe.boolean().optional(),factoryDeploymentData:Ai0.optional(),deployType:Ii0.optional(),routerType:Ci0.optional(),defaultExtensions:fe.array(fe.object({extensionName:fe.string(),extensionVersion:fe.string().default("latest"),publisherAddress:da})).optional(),networksForDeployment:ki0.optional(),constructorParams:fe.record(fe.string(),fe.object({displayName:fe.string().optional(),description:fe.string().optional(),defaultValue:fe.string().optional(),hidden:fe.boolean().optional()}).catchall(fe.any())).optional(),compositeAbi:ht.optional()}).catchall(fe.any()),Si0=Jde.extend({audit:fe.string().nullable().optional(),logo:fe.string().nullable().optional()}),Xde=YM.merge(Jde).extend({publisher:da.optional()}),Ri0=YM.merge(Si0).extend({publisher:da.optional()}),Mi0=fe.object({name:fe.string().optional(),bio:fe.string().optional(),avatar:Jm.nullable().optional(),website:fe.string().optional(),twitter:fe.string().optional(),telegram:fe.string().optional(),facebook:fe.string().optional(),github:fe.string().optional(),medium:fe.string().optional(),linkedin:fe.string().optional(),reddit:fe.string().optional(),discord:fe.string().optional()}),Zde=Mi0.extend({avatar:fe.string().nullable().optional()}),GM=fe.object({id:fe.string(),timestamp:Xa,metadataUri:fe.string()}),e5e=fe.object({title:fe.string().optional(),author:fe.string().optional(),details:fe.string().optional(),notice:fe.string().optional()}),Bi0=fe.object({name:fe.string(),abi:ht,metadata:fe.record(fe.string(),fe.any()),info:e5e,licenses:fe.array(fe.string().optional()).default([]).transform(t=>t.filter(e=>e!==void 0)),isPartialAbi:fe.boolean().optional()}),Di0=YM.merge(Bi0).extend({bytecode:fe.string(),fetchedMetadataUri:fe.string(),fetchedBytecodeUri:fe.string()});ifn=2;sfn=()=>!0,bG=()=>!sfn();Bf0=n5e(20);Fde=r1;I2="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{Nde=new TextDecoder}catch{}o0=0,cfn=105,dfn=57342,lfn=57343,Df0=57337,Pf0=6,FE={},ua={},rK=0,KM=0,Mf=[],Ode=[],Lf0={useRecords:!1,mapsAsObjects:!0},Ude=!1,Hde=class t{constructor(e){if(e&&((e.keyMap||e._keyMap)&&!e.useRecords&&(e.useRecords=!1,e.mapsAsObjects=!0),e.useRecords===!1&&e.mapsAsObjects===void 0&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[n,a]of Object.entries(e.keyMap))this.mapKey.set(a,n)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}decode(e,n){if(ot)return Ni0(()=>(Oi0(),this?this.decode(e,n):t.prototype.decode.call(Lf0,e,n)));B9=n>-1?n:e.length,o0=0,KM=0,aK=null,ns=null,ot=e;try{ac=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw ot=null,e instanceof Uint8Array?a:new Error("Source must be a Uint8Array or Buffer but was a "+(e&&typeof e=="object"?e.constructor.name:typeof e))}if(this instanceof t){if(ua=this,Jc=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ri=this.structures,Ff0();(!ri||ri.length>0)&&(ri=[])}else ua=Lf0,(!ri||ri.length>0)&&(ri=[]),Jc=null;return Ff0()}};Nf0=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;ufn=Wde;Ds=String.fromCharCode;Li0=new Float32Array(1),YG=new Uint8Array(Li0.buffer,0,4);HE=class{constructor(e,n){this.value=e,this.tag=n}};Mf[0]=t=>new Date(t);Mf[1]=t=>new Date(Math.round(t*1e3));Mf[2]=t=>{let e=BigInt(0);for(let n=0,a=t.byteLength;nBigInt(-1)-Mf[2](t);Mf[4]=t=>+(t[1]+"e"+t[0]);Mf[5]=t=>t[1]*Math.exp(t[0]*Math.log(2));qde=t=>{let e=t[0]-57344,n=t[1],a=ri[e];a&&a.isShared&&((ri.restoreStructures||(ri.restoreStructures=[]))[e]=a),ri[e]=n,n.read=zde(n);let r={};if(ua.keyMap)for(let f=2,i=t.length;fns?ns[0].slice(ns.position0,ns.position0+=t):new HE(t,14);Mf[15]=t=>ns?ns[1].slice(ns.position1,ns.position1+=t):new HE(t,15);bfn={Error,RegExp};Mf[27]=t=>(bfn[t[0]]||Error)(t[1],t[2]);Fi0=t=>{if(ot[o0++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=t();return Jc=Jc?e.concat(Jc.slice(e.length)):e,Jc.prefixes=t(),Jc.suffixes=t(),t()};Fi0.handlesRead=!0;Mf[51]=Fi0;Mf[Pf0]=t=>{if(!Jc)if(ua.getShared)f5e();else return new HE(t,Pf0);if(typeof t=="number")return Jc[16+(t>=0?2*t:-2*t-1)];throw new Error("No support for non-integer packed references yet")};Mf[25]=t=>stringRefs[t];Mf[256]=t=>{stringRefs=[];try{return t()}finally{stringRefs=null}};Mf[256].handlesRead=!0;Mf[28]=t=>{Hl||(Hl=new Map,Hl.id=0);let e=Hl.id++,n=ot[o0],a;n>>5==4?a=[]:a={};let r={target:a};Hl.set(e,r);let f=t();return r.used?Object.assign(a,f):(r.target=f,f)};Mf[28].handlesRead=!0;Mf[29]=t=>{let e=Hl.get(t);return e.used=!0,e.target};Mf[258]=t=>new Set(t);(Mf[259]=t=>(ua.mapsAsObjects&&(ua.mapsAsObjects=!1,WM=!0),t())).handlesRead=!0;yfn=1399353956;Ode.push((t,e)=>{if(t>=225&&t<=255)return NE(M9().prefixes[t-224],e);if(t>=28704&&t<=32767)return NE(M9().prefixes[t-28672],e);if(t>=1879052288&&t<=2147483647)return NE(M9().prefixes[t-1879048192],e);if(t>=216&&t<=223)return NE(e,M9().suffixes[t-216]);if(t>=27647&&t<=28671)return NE(e,M9().suffixes[t-27639]);if(t>=1811940352&&t<=1879048191)return NE(e,M9().suffixes[t-1811939328]);if(t==yfn)return{packedValues:Jc,structures:ri.slice(0),version:e};if(t==55799)return e});gfn=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,Of0=[Uint8Array],vfn=[64];for(let t=0;t0&&(a+=t[1]),a}function gy(n,e){return n?n&&n.toString().includes(e)||n&&n.message&&n.message.toString().includes(e)||n&&n.error&&n.error.toString().includes(e):!1}async function I7(n,e,t){let a=t.join("|"),r=Pat[a],i=Date.now()-r>=2e3;if(!(a in Bw)||i){let f=await n.functions[e](...t);Array.isArray(f)&&f.length>0?Bw[a]=Ye.BigNumber.from(f[0]):Bw[a]=Ye.BigNumber.from(f),Pat[a]=Date.now()}let s=Bw[a];return Bw[a]=Ye.BigNumber.from(Bw[a]).add(1),s}async function Ic(n,e,t,a){let r=n;n.originalSigner&&(r=n.originalSigner);let i=r?.provider;if(!i)throw new Error("missing provider");let s=Ye.utils._TypedDataEncoder.getPayload(e,t,a),f="",o=(await r.getAddress()).toLowerCase();if(i?.provider?.isWalletConnect)try{f=await i.send("eth_signTypedData_v4",[o,JSON.stringify(s)])}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))f=await i.send("eth_signTypedData",[o,JSON.stringify(s)]);else throw c}else try{f=await r._signTypedData(e,t,a)}catch(c){if(c?.message?.includes("eth_signTypedData_v4"))f=await i.send("eth_signTypedData",[o,JSON.stringify(s)]);else try{await i.send("eth_signTypedData_v4",[o,JSON.stringify(s)])}catch(d){throw d}}return{payload:s,signature:Ye.utils.joinSignature(Ye.utils.splitSignature(f))}}async function xnn(n,e){let t=new Ye.Contract(e,wnn,n);try{return await t.nonces(await n.getAddress())}catch{return await t.getNonce(await n.getAddress())}}async function Inn(n,e){let t=new Ye.Contract(e,_nn,n);try{return await t.DOMAIN_SEPARATOR()}catch{try{return await t.getDomainSeperator()}catch(r){console.error("Error getting domain separator",r)}}}async function Enn(n,e){return new Ye.Contract(e,Tnn,n).name()}async function Dnn(n,e){let t=await Inn(n,e.verifyingContract),a={name:e.name,version:e.version,verifyingContract:e.verifyingContract,salt:Ye.utils.hexZeroPad(Ye.BigNumber.from(e.chainId).toHexString(),32)};return Ye.utils._TypedDataEncoder.hashDomain(a)===t?a:e}async function NA(n,e,t,a,r,i,s,f){let[o,c,d]=await Promise.all([Enn(n,e),n.getChainId(),xnn(n,e)]),l=await Dnn(n,{name:o,version:f||"1",chainId:c,verifyingContract:e});s=s||d.toString(),i=i||Ye.constants.MaxUint256;let y={owner:t,spender:a,value:r,nonce:s,deadline:i},h={Permit:[{name:"owner",type:"address"},{name:"spender",type:"address"},{name:"value",type:"uint256"},{name:"nonce",type:"uint256"},{name:"deadline",type:"uint256"}]},{signature:T}=await Ic(n,l,h,y);return{message:y,signature:T}}function E7(n,e){return n===yt.Hardhat||n===yt.Localhost?e==="twFactory"?Nw("factoryAddress"):e==="twRegistry"?Nw("registryAddress"):lr:N5[n]?.[e]}function zw(n,e,t){return Art(t,e)}function D7(n,e,t){return zw(n,e,t)}function Art(n,e){let t=Object.keys(n);if(!t.includes(e)){let r=!1;for(let i of t){let s=n[i];if(r=Art(s.features,e),r)break}return r}return n[e].enabled}async function Iz(n,e,t){return(await Promise.all(n.map(a=>$i(a,e,t).catch(r=>(console.error(`Failed to fetch plug-in for ${a}`,r),{abi:[]}))))).map(a=>a.abi)}async function c3(n,e,t,a,r){let i=[];try{let s=L3(e),f=D7(e,"PluginRouter",s),o=D7(e,"DynamicContract",s),c=D7(e,"ModularCore",s),d=D7(e,"Fallback",s);if(o){let h=(await new f0(t,n,yrt,a,r).call("getAllExtensions")).map(T=>T.metadata.implementation);i=await Iz(h,t,r)}else if(c){let h=(await new f0(t,n,mrt,a,r).call("getInstalledExtensions")).map(T=>T.implementation);i=await Iz(h,t,r)}else if(f){let h=(await new f0(t,n,urt,a,r).call("getAllPlugins")).map(A=>A.pluginAddress),T=Array.from(new Set(h));i=await Iz(T,t,r)}else if(d){let l=["function facets() external view returns (tuple(address,bytes4[])[])"],T=(await new Ye.Contract(n,l,t).facets()).map(A=>A[0]);i=await Iz(T,t,r)}}catch{}return i.length>0?Iy([...i],e):e}function Ya(n){return n==="admin"?Ye.utils.hexZeroPad([0],32):Ye.utils.id(krt[n])}async function qz(n,e){try{return await WH(n,e)}catch{return}}function yde(n){return Object.values(ude).find(e=>e.name===n)?.contractType||"custom"}function Hz(n){return Object.values(ude).find(e=>e.contractType===n)?.name}var Ye,Ez,Lat,G5,Mat,gf,Bat,O1,Nat,Fat,x0n,Oat,Vat,I0n,Dz,E0n,Cz,wz,Gnt,Ynt,gce,vce,R0n,$H,Kn,Jnt,L0n,l3,I1e,$0t,s1e,b3,M0n,I0t,Kr,A7,Xnt,Tce,B0n,N0n,Os,$a,qat,_s,yd,as,K5,B1,Qo,Hi,Ey,kz,qA,UH,qH,Hat,$ce,zat,Wat,dp,Znt,Ece,jat,p0,Gat,xk,Pz,Kat,Qat,Yat,Jat,Xat,Zat,Uce,ert,qce,trt,nrt,Hce,vk,zce,art,rrt,F0n,O0n,zH,eat,Dce,Q5,Cce,s0,q7,nt,$0n,U0n,q0n,tat,nat,Lw,ra,qi,Rz,Lz,Tk,Vs,lp,gi,Sce,Ac,F1,bk,aat,Ace,kce,iat,H0n,hf,srt,xz,Fw,Lce,G0n,frt,K0n,Q0n,sat,Y0n,drt,Z0n,enn,snn,fnn,fat,Sw,oat,cat,Aw,pk,uk,kw,dat,Pw,tk,Ty,nk,lat,ak,pat,uat,Dw,iz,rk,ik,sk,fk,yat,sz,fz,N7,ok,S3,F7,Cw,onn,h3,mat,KA,bat,hat,hw,P7,QA,gat,YA,JA,g3,v3,jH,GH,gw,cnn,urt,yrt,mrt,dnn,lw,mw,uw,vat,yw,FA,nw,pw,Tat,yk,_at,H7,wat,xat,I3,E3,D3,z7,Iat,Jf,W7,Ow,Vw,$w,Eat,Jce,wce,pnn,_rt,xce,bnn,hnn,Bce,Ice,Irt,Ert,Drt,Zce,ede,tde,Cat,yt,ri,x3,sce,F6,vnn,lr,R7,zA,HA,ZA,U5,vw,q5,L1,x7,MA,BA,n1e,Bw,Pat,Tnn,_nn,wnn,Sc,$7,R3,N5,jo,Srt,j5,Cnn,f0,krt,Uz,ade,Prt,Rrt,XH,Lrt,Snn,Ann,uce,rde,Mrt,Brt,wy,ide,Nrt,Frt,B7,Ort,knn,Pnn,G1e,sde,Vrt,$rt,uz,Urt,Rnn,Mz,qrt,Hrt,bz,fde,zrt,Wrt,ez,ode,jrt,Grt,vz,cde,Krt,Qrt,dz,dde,Yrt,lde,Jrt,Xrt,_z,dce,bf,Tw,fce,yce,K1e,In,Y5,M3,J5,Cy,X5,B3,Z5,eu,tu,nu,N3,au,ru,F3,pde,Rat,ude,sn=ce(()=>{"use strict";p();u();Ye=Te(Ue());wl();gc();lU();Ga();Ez=Te(Dr()),Lat=Te(zf());DOe();SOe();AOe();POe();ROe();G5=Te(D1());LOe();BOe();NOe();FOe();Mat=Te(rse());VOe();UOe();HOe();zOe();gf=Te(y_());jOe();KOe();YOe();XOe();ZOe();eVe();nVe();rVe();sVe();oVe();dVe();pVe();Bat=Te(ose());uVe();mVe();hVe();vVe();TVe();wVe();O1=Te(m_()),Nat=Te(dse());IVe();DVe();SVe();AVe();PVe();LVe();BVe();FVe();VVe();UVe();pse();HVe();WVe();GVe();QVe();JVe();ZVe();t$e();a$e();i$e();f$e();c$e();l$e();u$e();Fat=Te(Bh());Ot();x0n="0xf5b896Ddb5146D5dA77efF4efBb3Eae36E300808";Oat=10,Vat=200,I0n={timeLimitMs:Oat,sizeLimit:Vat},Dz=class extends Ye.providers.StaticJsonRpcProvider{constructor(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:I0n;super(e,t),this._timeLimitMs=a.timeLimitMs||Oat,this._sizeLimit=a.sizeLimit||Vat,this._pendingBatchAggregator=null,this._pendingBatch=null}sendCurrentBatch(e){this._pendingBatchAggregator&&clearTimeout(this._pendingBatchAggregator);let t=this._pendingBatch||[];this._pendingBatch=null,this._pendingBatchAggregator=null;let a=t.map(r=>r.request);return this.emit("debug",{action:"requestBatch",request:Ye.utils.deepCopy(e),provider:this}),Ye.utils.fetchJson(this.connection,JSON.stringify(a)).then(r=>{this.emit("debug",{action:"response",request:a,response:r,provider:this}),t.forEach((i,s)=>{let f=r[s];if(f)if(f.error){let o=new Error(f.error.message);o.code=f.error.code,o.data=f.error.data,i.reject(o)}else i.resolve(f.result);else i.reject(new Error("No response for request"))})},r=>{this.emit("debug",{action:"response",error:r,request:a,provider:this}),t.forEach(i=>{i.reject(r)})})}send(e,t){let a={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch===null&&(this._pendingBatch=[]);let r={request:a,resolve:null,reject:null},i=new Promise((s,f)=>{r.resolve=s,r.reject=f});return this._pendingBatch.push(r),this._pendingBatch.length===this._sizeLimit&&this.sendCurrentBatch(a),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{this.sendCurrentBatch(a)},this._timeLimitMs)),i}},E0n=re.object({rpc:re.array(re.string().url()),chainId:re.number(),nativeCurrency:re.object({name:re.string(),symbol:re.string(),decimals:re.number()}),slug:re.string()}),Cz=re.object({supportedChains:re.array(E0n).default(qo),clientId:re.string().optional(),secretKey:re.string().optional(),readonlySettings:re.object({rpcUrl:re.string().url(),chainId:re.number().optional()}).optional(),gasSettings:re.object({maxPriceInGwei:re.number().min(1,"gas price cannot be less than 1").default(300),speed:re.enum(["standard","fast","fastest"]).default("fastest")}).default({maxPriceInGwei:300,speed:"fastest"}),gasless:re.union([re.object({openzeppelin:re.object({relayerUrl:re.string().url(),relayerForwarderAddress:re.string().optional(),useEOAForwarder:re.boolean().default(!1),domainName:re.string().default("GSNv2 Forwarder"),domainVersion:re.string().default("0.0.1"),domainSeparatorVersion:re.string().default("1")}),experimentalChainlessSupport:re.boolean().default(!1)}),re.object({biconomy:re.object({apiId:re.string(),apiKey:re.string(),deadlineSeconds:re.number().min(1,"deadlineSeconds cannot be les than 1").default(3600)})}),re.object({engine:re.object({relayerUrl:re.string().url().transform(n=>n.replace(/\/$/,"")),relayerForwarderAddress:re.string().optional(),domainName:re.string().default("GSNv2 Forwarder"),domainVersion:re.string().default("0.0.1"),domainSeparatorVersion:re.string().default("1")}),experimentalChainlessSupport:re.boolean().default(!1)})]).optional(),gatewayUrls:re.array(re.string()).optional(),rpcBatchSettings:re.object({sizeLimit:re.number().default(200),timeLimit:re.number().default(10)}).optional()}).default({gasSettings:{maxPriceInGwei:300,speed:"fastest"}}),wz={name:"@thirdweb-dev/sdk",version:"4.0.99",description:"The main thirdweb SDK.",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",license:"Apache-2.0",main:"dist/thirdweb-dev-sdk.cjs.js",module:"dist/thirdweb-dev-sdk.esm.js",browser:{"./dist/thirdweb-dev-sdk.esm.js":"./dist/thirdweb-dev-sdk.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-sdk.browser.esm.js",default:"./dist/thirdweb-dev-sdk.esm.js"},default:"./dist/thirdweb-dev-sdk.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-sdk-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-sdk-evm.esm.js"},default:"./evm/dist/thirdweb-dev-sdk-evm.cjs.js"},"./evm/zksync":{module:{browser:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.browser.esm.js",default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.esm.js"},default:"./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.cjs.js"},"./evm/functions":{module:{browser:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.browser.esm.js",default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.esm.js"},default:"./evm/functions/dist/thirdweb-dev-sdk-evm-functions.cjs.js"},"./package.json":"./package.json"},files:["dist/","evm/","server/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/functions/index.ts","evm/zksync/index.ts"],exports:{envConditions:["browser"]}},sideEffects:!1,scripts:{format:"biome format ./src --write",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/","generate-docs":"mkdir -p etc && pnpm generate-docs:evm && pnpm generate-snippets","generate-docs:evm":"api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm","generate-snippets":"node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",build:"tsc && preconstruct build","test:all":"SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 180000 --parallel './test/evm/**/*.test.ts'",test:"make test-evm","test:single":"SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",push:"yalc push",typedoc:"bun run scripts/typedoc.mjs"},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@ethersproject/abstract-provider":"^5.7.0","@microsoft/api-documenter":"^7.25.4","@microsoft/api-extractor":"^7.47.0","@microsoft/tsdoc":"^0.15.0","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@swc-node/register":"^1.10.9","@swc/core":"^1.6.6","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5","@types/chai":"^4.3.14","@types/deep-equal-in-any-order":"^1.0.3","@types/mocha":"^10.0.7","@types/node":"20.14.9","@types/uuid":"^10.0.0",chai:"^5.1.1","deep-equal-in-any-order":"^2.0.6","dotenv-mono":"^1.3.14",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-inclusive-language":"^2.2.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-tsdoc":"^0.3.0",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",mocha:"10.5.1",nyc:"^15.1.0",rimraf:"5.0.7","typedoc-gen":"workspace:*",typescript:"5.5.4","zksync-ethers":"5.9.0"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.215.0",ethers:"^5","ethers-aws-kms-signer":"^1.3.2","zksync-ethers":"^5.6.0"},peerDependenciesMeta:{"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},"zksync-ethers":{optional:!0}},dependencies:{"@eth-optimism/sdk":"3.3.2","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/generated-abis":"workspace:*","@thirdweb-dev/merkletree":"workspace:*","@thirdweb-dev/storage":"workspace:*",abitype:"1.0.5","bn.js":"5.2.1",bs58:"^5.0.0",buffer:"^6.0.3",eventemitter3:"^5.0.1","fast-deep-equal":"^3.1.3",thirdweb:"workspace:*","tiny-invariant":"^1.3.3",tweetnacl:"^1.0.3",uuid:"^9.0.1",yaml:"^2.4.5",zod:"3.23.8"},bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",engines:{node:">=18"}},Gnt=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];Ynt=new Map;vce=new Map;R0n=re.custom(n=>typeof n=="string"&&(n.endsWith(".eth")||n.endsWith(".cb.id"))).transform(async n=>Oce(n)).refine(n=>!!n&&Ye.utils.isAddress(n),{message:"Provided value was not a valid ENS name"}),$H=re.custom(n=>typeof n=="string"&&Ye.utils.isAddress(n),n=>({message:`${n} is not a valid address`})),Kn=re.union([$H,R0n],{invalid_type_error:"Provided value was not a valid address or ENS name"});Jnt=re.instanceof(File),L0n=re.union([Jnt,re.object({data:re.union([Jnt,re.string()]),name:re.string()})]),l3=re.union([L0n,re.string()]),I1e=1e4,$0t=re.union([re.array(re.number()),re.string()]),s1e=re.union([re.bigint(),re.custom(n=>Ye.BigNumber.isBigNumber(n)),re.custom(n=>Ez.default.isBN(n))]).transform(n=>Ez.default.isBN(n)?new Ez.default(n).toString():Ye.BigNumber.from(n).toString()),b3=re.number().max(I1e,"Cannot exceed 100%").min(0,"Cannot be below 0%"),M0n=re.number().max(100,"Cannot exceed 100%").min(0,"Cannot be below 0%"),I0t=re.union([re.string().regex(/^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color"),re.string().regex(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,"Invalid hex color").transform(n=>n.replace("#","")),re.string().length(0)]),Kr=re.union([re.string().regex(/^([0-9]+\.?[0-9]*|\.[0-9]+)$/,"Invalid amount"),re.number().min(0,"Amount cannot be negative")]).transform(n=>typeof n=="number"?n.toString():n),A7=re.union([Kr,re.literal("unlimited")]).default("unlimited"),Xnt=256,Tce="0|[1-9]\\d*",B0n=`(${Tce})\\.(${Tce})\\.(${Tce})`,N0n=new RegExp(B0n);Os=re.union([re.string(),re.number(),re.bigint(),re.custom(n=>Ye.BigNumber.isBigNumber(n))]).transform(n=>Ye.BigNumber.from(n)),$a=Os.transform(n=>n.toString()),qat=re.union([re.bigint(),re.custom(n=>Ye.BigNumber.isBigNumber(n))]).transform(n=>Ye.BigNumber.from(n).toString()),_s=re.object({name:re.string(),description:re.string().optional(),image:l3.optional(),external_link:re.string().optional(),app_uri:re.string().optional(),social_urls:re.record(re.string()).optional(),defaultAdmin:Kn.optional()}).catchall(re.unknown()),yd=_s.extend({image:re.string().optional()}).catchall(re.unknown()),as=re.object({seller_fee_basis_points:b3.default(0),fee_recipient:Kn.default(Ye.constants.AddressZero)}),K5=re.object({primary_sale_recipient:Kn.default(Ye.constants.AddressZero)}),B1=re.object({platform_fee_basis_points:b3.default(0),platform_fee_recipient:Kn.default(Ye.constants.AddressZero)}),Qo=re.object({trusted_forwarders:re.array(Kn).default([])}),Hi=re.object({symbol:re.string().default("")}),Ey=re.object({merkle:re.record(re.string()).default({})}),kz=re.object({address:Kn,maxClaimable:A7.default(0),price:A7.optional(),currencyAddress:Kn.default(Ye.constants.AddressZero).optional()}),qA=re.union([re.array(re.string()).transform(async n=>await Promise.all(n.map(e=>kz.parseAsync({address:e})))),re.array(kz)]),UH=kz.extend({proof:re.array(re.string())}),qH=re.object({merkleRoot:re.string(),claims:re.array(UH)}),Hat=_s.catchall(re.union([qat,re.unknown()])),$ce=Hat.merge(as.merge(Ey).merge(Hi).partial()).catchall(re.any()),zat=yd.merge(as.merge(Ey).merge(Hi).partial()).catchall(re.any()),Wat=$ce.merge(B1.merge(K5).merge(Qo).partial()),dp={deploy:Wat,output:zat,input:$ce},Znt=re.object({type:re.string(),name:re.string().default("")}).catchall(re.any()),Ece=Znt.extend({stateMutability:re.string().optional(),components:re.array(Znt).optional()}).catchall(re.any()),jat=re.object({type:re.string(),name:re.string().default(""),inputs:re.array(Ece).default([]),outputs:re.array(Ece).default([])}).catchall(re.any()),p0=re.array(jat),Gat=re.union([re.literal("solc"),re.literal("zksolc")]),xk=re.object({name:re.string(),metadataUri:re.string(),bytecodeUri:re.string(),analytics:re.any().optional(),compilers:re.record(Gat,re.array(re.object({compilerVersion:re.string().optional(),evmVersion:re.string().optional(),metadataUri:re.string(),bytecodeUri:re.string()}))).optional()}).catchall(re.any()),Pz=re.record(re.string(),re.string()),Kat=re.object({factoryFunction:re.string(),params:re.array(re.object({name:re.string(),type:re.string()})).default([]),customFactoryAddresses:Pz}),Qat=re.object({hooksParamName:re.string().optional(),extensionsParamName:re.string().optional(),modulesParamName:re.string().optional()}),Yat=re.object({implementationAddresses:Pz,implementationInitializerFunction:re.string().default("initialize"),customFactoryInput:Kat.optional(),modularFactoryInput:Qat.optional(),factoryAddresses:Pz.optional()}),Jat=re.union([re.literal("standard"),re.literal("autoFactory"),re.literal("customFactory")]),Xat=re.union([re.literal("none"),re.literal("plugin"),re.literal("dynamic"),re.literal("modular")]),Zat=re.object({allNetworks:re.boolean().optional(),networksEnabled:re.array(re.number()).default([])}),Uce=re.object({version:re.string().refine(n=>{try{return Az(n),!0}catch{return!1}},n=>({message:`'${n}' is not a valid semantic version. Should be in the format of major.minor.patch. Ex: 0.4.1`})).optional(),displayName:re.string().optional(),description:re.string().optional(),externalLinks:re.array(re.object({name:re.string(),url:re.string()})).optional(),readme:re.string().optional(),license:re.string().optional(),changelog:re.string().optional(),tags:re.array(re.string()).optional(),audit:l3.nullable().optional(),logo:l3.nullable().optional(),isDeployableViaFactory:re.boolean().optional(),isDeployableViaProxy:re.boolean().optional(),factoryDeploymentData:Yat.optional(),deployType:Jat.optional(),routerType:Xat.optional(),defaultExtensions:re.array(re.object({extensionName:re.string(),extensionVersion:re.string().default("latest"),publisherAddress:Kn})).optional(),defaultModules:re.array(re.object({moduleName:re.string(),moduleVersion:re.string().default("latest"),publisherAddress:Kn})).optional(),networksForDeployment:Zat.optional(),constructorParams:re.record(re.string(),re.object({displayName:re.string().optional(),description:re.string().optional(),defaultValue:re.string().optional(),hidden:re.boolean().optional()}).catchall(re.any())).optional(),compositeAbi:p0.optional()}).catchall(re.any()),ert=Uce.extend({audit:re.string().nullable().optional(),logo:re.string().nullable().optional()}),qce=xk.merge(Uce).extend({publisher:Kn.optional()}),trt=xk.merge(ert).extend({publisher:Kn.optional()}),nrt=re.object({name:re.string().optional(),bio:re.string().optional(),avatar:l3.nullable().optional(),website:re.string().optional(),twitter:re.string().optional(),telegram:re.string().optional(),facebook:re.string().optional(),github:re.string().optional(),medium:re.string().optional(),linkedin:re.string().optional(),reddit:re.string().optional(),discord:re.string().optional()}),Hce=nrt.extend({avatar:re.string().nullable().optional()}),vk=re.object({id:re.string(),timestamp:$a,metadataUri:re.string()}),zce=re.object({title:re.string().optional(),author:re.string().optional(),details:re.string().optional(),notice:re.string().optional()}),art=re.object({name:re.string(),abi:p0,metadata:re.record(re.string(),re.any()),info:zce,licenses:re.array(re.string().optional()).default([]).transform(n=>n.filter(e=>e!==void 0)),isPartialAbi:re.boolean().optional()}),rrt=xk.merge(art).extend({bytecode:re.string(),fetchedMetadataUri:re.string(),fetchedBytecodeUri:re.string()});F0n=2;O0n=()=>!0,zH=()=>!O0n();eat=jce(20);Dce=qo;Q5="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024";try{Cce=new TextDecoder}catch{}nt=0,$0n=105,U0n=57342,q0n=57343,tat=57337,nat=6,Lw={},ra={},Lz=0,Tk=0,gi=[],Sce=[],aat={useRecords:!1,mapsAsObjects:!0},Ace=!1,kce=class n{constructor(e){if(e&&((e.keyMap||e._keyMap)&&!e.useRecords&&(e.useRecords=!1,e.mapsAsObjects=!0),e.useRecords===!1&&e.mapsAsObjects===void 0&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[t,a]of Object.entries(e.keyMap))this.mapKey.set(a,t)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}decode(e,t){if(s0)return ort(()=>(crt(),this?this.decode(e,t):n.prototype.decode.call(aat,e,t)));q7=t>-1?t:e.length,nt=0,Tk=0,Rz=null,Vs=null,s0=e;try{F1=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(a){throw s0=null,e instanceof Uint8Array?a:new Error("Source must be a Uint8Array or Buffer but was a "+(e&&typeof e=="object"?e.constructor.name:typeof e))}if(this instanceof n){if(ra=this,Ac=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return qi=this.structures,rat();(!qi||qi.length>0)&&(qi=[])}else ra=aat,(!qi||qi.length>0)&&(qi=[]),Ac=null;return rat()}};iat=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;H0n=Rce;hf=String.fromCharCode;srt=new Float32Array(1),xz=new Uint8Array(srt.buffer,0,4);Fw=class{constructor(e,t){this.value=e,this.tag=t}};gi[0]=n=>new Date(n);gi[1]=n=>new Date(Math.round(n*1e3));gi[2]=n=>{let e=BigInt(0);for(let t=0,a=n.byteLength;tBigInt(-1)-gi[2](n);gi[4]=n=>+(n[1]+"e"+n[0]);gi[5]=n=>n[1]*Math.exp(n[0]*Math.log(2));Lce=n=>{let e=n[0]-57344,t=n[1],a=qi[e];a&&a.isShared&&((qi.restoreStructures||(qi.restoreStructures=[]))[e]=a),qi[e]=t,t.read=Pce(t);let r={};if(ra.keyMap)for(let i=2,s=n.length;iVs?Vs[0].slice(Vs.position0,Vs.position0+=n):new Fw(n,14);gi[15]=n=>Vs?Vs[1].slice(Vs.position1,Vs.position1+=n):new Fw(n,15);G0n={Error,RegExp};gi[27]=n=>(G0n[n[0]]||Error)(n[1],n[2]);frt=n=>{if(s0[nt++]!=132)throw new Error("Packed values structure must be followed by a 4 element array");let e=n();return Ac=Ac?e.concat(Ac.slice(e.length)):e,Ac.prefixes=n(),Ac.suffixes=n(),n()};frt.handlesRead=!0;gi[51]=frt;gi[nat]=n=>{if(!Ac)if(ra.getShared)Qce();else return new Fw(n,nat);if(typeof n=="number")return Ac[16+(n>=0?2*n:-2*n-1)];throw new Error("No support for non-integer packed references yet")};gi[25]=n=>stringRefs[n];gi[256]=n=>{stringRefs=[];try{return n()}finally{stringRefs=null}};gi[256].handlesRead=!0;gi[28]=n=>{lp||(lp=new Map,lp.id=0);let e=lp.id++,t=s0[nt],a;t>>5==4?a=[]:a={};let r={target:a};lp.set(e,r);let i=n();return r.used?Object.assign(a,i):(r.target=i,i)};gi[28].handlesRead=!0;gi[29]=n=>{let e=lp.get(n);return e.used=!0,e.target};gi[258]=n=>new Set(n);(gi[259]=n=>(ra.mapsAsObjects&&(ra.mapsAsObjects=!1,bk=!0),n())).handlesRead=!0;K0n=1399353956;Sce.push((n,e)=>{if(n>=225&&n<=255)return Mw(U7().prefixes[n-224],e);if(n>=28704&&n<=32767)return Mw(U7().prefixes[n-28672],e);if(n>=1879052288&&n<=2147483647)return Mw(U7().prefixes[n-1879048192],e);if(n>=216&&n<=223)return Mw(e,U7().suffixes[n-216]);if(n>=27647&&n<=28671)return Mw(e,U7().suffixes[n-27639]);if(n>=1811940352&&n<=1879048191)return Mw(e,U7().suffixes[n-1811939328]);if(n==K0n)return{packedValues:Ac,structures:qi.slice(0),version:e};if(n==55799)return e});Q0n=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,sat=[Uint8Array],Y0n=[64];for(let n=0;n0&&(a+=n \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557 \u2551 TRANSACTION INFORMATION \u2551 \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D -`,a+=yb("from",e.from),e.to&&(a+=yb("to",e.contractName?`${e.to} (${e.contractName})`:e.to)),a+=yb("chain",`${e.network.name} (${e.network.chainId})`),e.rpcUrl)try{let r=new URL(e.rpcUrl);a+=yb("rpc",r.hostname)}catch{}if(e.hash&&(a+=yb("tx hash",e.hash)),e.value&&e.value.gt(0)&&(a+=yb("value",`${a0.utils.formatEther(e.value)} ${cb[e.network.chainId]?.symbol||""}`)),a+=yb("data",`${e.data}`),e.method&&(a+=yb("method",e.method)),e.sources){let r=e.sources.find(f=>f.source.includes(e.reason));if(r){let f=r.source.split(` -`).map((o,c)=>`${c+1} ${o}`),i=f.findIndex(o=>o.includes(e.reason));f[i]+=" <-- REVERT";let s=f.slice(i-8,i+4);a+=` +`,a+=P3("from",e.from),e.to&&(a+=P3("to",e.contractName?`${e.to} (${e.contractName})`:e.to)),a+=P3("chain",`${e.network.name} (${e.network.chainId})`),e.rpcUrl)try{let r=new URL(e.rpcUrl);a+=P3("rpc",r.hostname)}catch{}if(e.hash&&(a+=P3("tx hash",e.hash)),e.value&&e.value.gt(0)&&(a+=P3("value",`${Ye.utils.formatEther(e.value)} ${x3[e.network.chainId]?.symbol||""}`)),a+=P3("data",`${e.data}`),e.method&&(a+=P3("method",e.method)),e.sources){let r=e.sources.find(i=>i.source.includes(e.reason));if(r){let i=r.source.split(` +`).map((o,c)=>`${c+1} ${o}`),s=i.findIndex(o=>o.includes(e.reason));i[s]+=" <-- REVERT";let f=i.slice(s-8,s+4);a+=` \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557 @@ -176,7 +818,7 @@ ${t}:${e}`}function ii0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n `,a+=`File: ${r.filename.replace("node_modules/","")} -`,a+=s.join(` +`,a+=f.join(` `)}}a+=` @@ -186,90 +828,84 @@ ${t}:${e}`}function ii0(t,e){let n=e.match(t)||[],a="";return n?.length>0&&(a+=n `,a+="Need helping debugging? Visit our support site: https://thirdweb.com/support",a+=` -`,super(a),this._reason=e.reason,this._info=e,this._raw=n}get reason(){return this._reason}get raw(){return this._raw}get info(){return this._info}};iM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],sM=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"},{name:"chainid",type:"uint256"}],l6e=[{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"uint256",name:"batchId",type:"uint256"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],OE={},si0={};Wfn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],qfn=[{constant:!0,inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeperator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],jfn=[{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"}];$c="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",R9="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",gb="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",p2={[E0.Mainnet]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:R9,twRegistry:$c,twBYOCRegistry:xr},[E0.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[E0.Polygon]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[E0.Mumbai]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[E0.Avalanche]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:R9,twRegistry:$c,twBYOCRegistry:xr},[E0.AvalancheFujiTestnet]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Fantom]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:$c,twBYOCRegistry:xr},[E0.FantomTestnet]:{openzeppelinForwarder:gb,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:R9,twRegistry:$c,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[E0.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c,twBYOCRegistry:xr},[E0.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[E0.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:xr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:$c},[E0.Hardhat]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr},[E0.Localhost]:{openzeppelinForwarder:xr,openzeppelinForwarderEOA:xr,biconomyForwarder:xr,twFactory:xr,twRegistry:xr,twBYOCRegistry:xr}};o1=function(t){return t.Transaction="transaction",t.Signature="signature",t}({}),ns0=fe.object({gasLimit:Xa.optional(),gasPrice:Xa.optional(),maxFeePerGas:Xa.optional(),maxPriorityFeePerGas:Xa.optional(),nonce:Xa.optional(),value:Xa.optional(),blockTag:fe.union([fe.string(),fe.number()]).optional(),from:da.optional(),type:fe.number().optional()}).strict(),E2=class extends R6{constructor(e,n){super();try{this.options=XG.parse(n)}catch(f){console.error("invalid sdk options object passed, falling back to default options",f),this.options=XG.parse({})}let[a,r]=as(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[n,a]=as(e,this.options);this.network=e,this.signer=n,this.provider=a}isReadOnly(){return!iK(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},lt=class t extends E2{constructor(n,a,r,f,i){super(n,f);ae(this,"isValidContract",!1);ae(this,"customOverrides",()=>({}));this.abi=ht.parse(r),this.address=a,this.writeContract=new a0.Contract(a,r,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.storage=i,this.functions=x2(this.abi),this.extensions=vb(this.abi)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.writeContract=this.writeContract.connect(this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider())}updateAbi(n){this.writeContract=new a0.Contract(this.address,n,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.abi=ht.parse(n),this.functions=x2(this.abi),this.extensions=vb(this.abi)}async getChainID(){let n=this.getProvider(),{chainId:a}=await n.getNetwork();return a}async getSignerAddress(){let n=this.getSigner();if(!n)throw new Error("This action requires a connected wallet to sign the transaction. Please pass a valid signer to the SDK.");return await n.getAddress()}callStatic(){return this.writeContract.callStatic}async getCallOverrides(){return{}}emitTransactionEvent(n,a){this.emit(o1.Transaction,{status:n,transactionHash:a})}async multiCall(n){return this.sendTransaction("multicall",[n])}async estimateGas(n,a){return this.writeContract.estimateGas[n](...a)}async populateTransaction(n,a){return this.writeContract.populateTransaction[n](...a)}withTransactionOverride(n){this.customOverrides=n}async read(n,a){let r=this.functions.filter(o=>o.name===n);if(!r.length)throw new Error(`Function "${n.toString()}" not found in contract. Check your dashboard for the list of functions available`);let f=r.find(o=>o.name===n&&o.inputs.length===a.length);if(!f)throw new Error(`Function "${n.toString()}" requires ${r[0].inputs.length} arguments, but ${a.length} were provided. -Expected function signature: ${r[0].signature}`);let i=`${n.toString()}(${f.inputs.map(o=>o.type).join()})`,s=i in this.readContract.functions?i:n;if(f.stateMutability==="view"||f.stateMutability==="pure")return await this.readContract[s.toString()](...a);throw new Error("Cannot call a write function with read()")}async call(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,f=r?await ns0.parseAsync(r):void 0,i=x2(ht.parse(this.abi)).filter(d=>d.name===n);if(!i.length)throw new Error(`Function "${n}" not found in contract. Check your dashboard for the list of functions available`);let s=i.find(d=>d.name===n&&d.inputs.length===a.length);if(!s)throw new Error(`Function "${n}" requires ${i[0].inputs.length} arguments, but ${a.length} were provided. -Expected function signature: ${i[0].signature}`);let o=`${n}(${s.inputs.map(d=>d.type).join()})`,c=o in this.readContract.functions?o:n;return s.stateMutability==="view"||s.stateMutability==="pure"?f?this.readContract[c](...a,f):this.readContract[c](...a):{receipt:await this.sendTransaction(c,a,f)}}async sendTransaction(n,a,r){if(r||(r=await this.getCallOverrides()),r={...r,...this.customOverrides()},this.customOverrides=()=>({}),this.options?.gasless&&("openzeppelin"in this.options.gasless||"biconomy"in this.options.gasless||"engine"in this.options.gasless)){if(n==="multicall"&&Array.isArray(a[0])&&a[0].length>0){let o=await this.getSignerAddress();a[0]=a[0].map(c=>a0.utils.solidityPack(["bytes","address"],[c,o]))}let f=this.getProvider(),i=await this.sendGaslessTransaction(n,a,r);this.emitTransactionEvent("submitted",i);let s=await f.waitForTransaction(i);return this.emitTransactionEvent("completed",i),s}else{if(!this.isValidContract){let s=await this.getProvider().getCode(this.address);if(this.isValidContract=s!=="0x",!this.isValidContract)throw new Error("The address you're trying to send a transaction to is not a smart contract. Make sure you are on the correct network and the contract address is correct")}let f=await this.sendTransactionByFunction(n,a,r);this.emitTransactionEvent("submitted",f.hash);let i;try{i=await f.wait()}catch(s){try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(o){throw await this.formatError(o,n,a,r)}throw await this.formatError(s,n,a,r)}return this.emitTransactionEvent("completed",f.hash),i}}async sendTransactionByFunction(n,a,r){let f=this.writeContract.functions[n];if(!f)throw new Error(`invalid function: "${n.toString()}"`);if(!r.gasLimit)try{r.gasLimit=await this.writeContract.estimateGas[n](...a,r)}catch{try{await this.writeContract.callStatic[n](...a,...r.value?[{value:r.value}]:[])}catch(s){throw await this.formatError(s,n,a,r)}}try{return await f(...a,r)}catch(i){throw await this.formatError(i,n,a,r)}}async formatError(n,a,r,f){let i=this.getProvider(),s=await i.getNetwork(),o=await(f.from||this.getSignerAddress()),c=this.address,d=this.readContract.interface.encodeFunctionData(a,r),l=a0.BigNumber.from(f.value||0),h=i.connection?.url,y=this.readContract.interface.getFunction(a),v=r.map(j=>JSON.stringify(j).length<=80?JSON.stringify(j):JSON.stringify(j,void 0,2)),k=v.join(", ").length<=80?v.join(", "):` -`+v.map(j=>" "+j.split(` +`,super(a),this._reason=e.reason,this._info=e,this._raw=t}get reason(){return this._reason}get raw(){return this._raw}get info(){return this._info}};MA=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"}],BA=[{name:"from",type:"address"},{name:"to",type:"address"},{name:"value",type:"uint256"},{name:"gas",type:"uint256"},{name:"nonce",type:"uint256"},{name:"data",type:"bytes"},{name:"chainid",type:"uint256"}],n1e=[{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"uint256",name:"batchId",type:"uint256"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],Bw={},Pat={};Tnn=[{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"}],_nn=[{constant:!0,inputs:[],name:"DOMAIN_SEPARATOR",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{inputs:[],name:"getDomainSeperator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],wnn=[{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"nonces",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"}];Sc="0x7c487845f98938Bb955B1D5AD069d9a30e4131fd",$7="0x5DBC7B840baa9daBcBe9D2492E45D7244B54A2A0",R3="0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81",N5={[yt.Mainnet]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0x76ce2CB1Ae48Fa067f4fb8c5f803111AE0B24BEA",biconomyForwarder:"0x84a0856b038eaAd1cC7E297cF34A7e72685A8693",twFactory:$7,twRegistry:Sc,twBYOCRegistry:lr},[yt.Goerli]:{openzeppelinForwarder:"0x5001A14CA6163143316a7C614e30e6041033Ac20",openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0xE041608922d06a4F26C0d4c27d8bCD01daf1f792",twFactory:$7,twRegistry:Sc,twBYOCRegistry:"0xB1Bd9d7942A250BA2Dce27DD601F2ED4211A60C4"},[yt.Polygon]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twFactory:$7,twRegistry:Sc,twBYOCRegistry:"0x308473Be900F4185A56587dE54bDFF5E8f7a6AE7"},[yt.Mumbai]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x9399BB24DBB5C4b782C70c2969F58716Ebbd6a3b",twFactory:$7,twRegistry:Sc,twBYOCRegistry:"0x3F17972CB27506eb4a6a3D59659e0B57a43fd16C"},[yt.Avalanche]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:$7,twRegistry:Sc,twBYOCRegistry:lr},[yt.AvalancheFujiTestnet]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0xe73c50cB9c5B378627ff625BB6e6725A4A5D65d2",biconomyForwarder:"0x6271Ca63D30507f2Dcbf99B52787032506D75BBF",twFactory:$7,twRegistry:Sc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[yt.Fantom]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0xb1A2883fc4d287d9cB8Dbb96cFF60C76BEf2D250",biconomyForwarder:"0x64CD353384109423a966dCd3Aa30D884C9b2E057",twFactory:"0x97EA0Fcc552D5A8Fb5e9101316AAd0D62Ea0876B",twRegistry:Sc,twBYOCRegistry:lr},[yt.FantomTestnet]:{openzeppelinForwarder:R3,openzeppelinForwarderEOA:"0x42D3048b595B6e1c28a588d70366CcC2AA4dB47b",biconomyForwarder:"0x69FB8Dca8067A5D38703b9e8b39cf2D51473E4b4",twFactory:$7,twRegistry:Sc,twBYOCRegistry:"0x3E6eE864f850F5e5A98bc950B68E181Cf4010F23"},[yt.Arbitrum]:{openzeppelinForwarder:"0x4a8AC7f22DeD2CF923A51e4A1c67490bd8868add",openzeppelinForwarderEOA:"0x4f247c69184ad61036EC2Bb3213b69F10FbEDe1F",biconomyForwarder:"0xfe0fa3C06d03bDC7fb49c892BbB39113B534fB57",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc,twBYOCRegistry:lr},[yt.ArbitrumGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:lr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc,twBYOCRegistry:lr},[yt.Optimism]:{openzeppelinForwarder:"0xd85da690EF288A6976DE0E85Fb2Aad512eBAfbf7",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0xefba8a2a82ec1fb1273806174f5e28fbb917cf95",twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc,twBYOCRegistry:lr},[yt.OptimismGoerli]:{openzeppelinForwarder:"0x8cbc8B5d71702032904750A66AEfE8B603eBC538",openzeppelinForwarderEOA:"0x119704314Ef304EaAAE4b3c7C9ABd59272A28310",biconomyForwarder:lr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc,twBYOCRegistry:lr},[yt.BinanceSmartChainMainnet]:{openzeppelinForwarder:"0x7C4717039B89d5859c4Fbb85EDB19A6E2ce61171",openzeppelinForwarderEOA:"0xE8dd2Ff0212F86d3197b4AfDC6dAC6ac47eb10aC",biconomyForwarder:"0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8",twBYOCRegistry:lr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc},[yt.BinanceSmartChainTestnet]:{openzeppelinForwarder:"0x44bE9D54B9C8b5e57a3325E8Ec9154640e7c6955",openzeppelinForwarderEOA:"0x7e80648EB2071E26937F9D42A513ccf4815fc702",biconomyForwarder:"0x61456BF1715C1415730076BB79ae118E806E74d2",twBYOCRegistry:lr,twFactory:"0xd24b3de085CFd8c54b94feAD08a7962D343E6DE0",twRegistry:Sc},[yt.Hardhat]:{openzeppelinForwarder:lr,openzeppelinForwarderEOA:lr,biconomyForwarder:lr,twFactory:lr,twRegistry:lr,twBYOCRegistry:lr},[yt.Localhost]:{openzeppelinForwarder:lr,openzeppelinForwarderEOA:lr,biconomyForwarder:lr,twFactory:lr,twRegistry:lr,twBYOCRegistry:lr}};jo=function(n){return n.Transaction="transaction",n.Signature="signature",n}({}),Srt=re.object({gasLimit:$a.optional(),gasPrice:$a.optional(),maxFeePerGas:$a.optional(),maxPriorityFeePerGas:$a.optional(),nonce:$a.optional(),value:$a.optional(),blockTag:re.union([re.string(),re.number()]).optional(),from:Kn.optional(),type:re.number().optional()}).strict(),j5=class extends od{constructor(e,t){super();try{this.options=Cz.parse(t)}catch(i){console.error("invalid sdk options object passed, falling back to default options",i),this.options=Cz.parse({})}let[a,r]=$s(e,this.options);this.network=e,this.signer=a,this.provider=r}updateSignerOrProvider(e){let[t,a]=$s(e,this.options);this.network=e,this.signer=t,this.provider=a}isReadOnly(){return!Bz(this.signer)}getSigner(){return this.signer}getProvider(){return this.provider}getSignerOrProvider(){return this.getSigner()||this.getProvider()}},Cnn=[75513,75512],f0=class n extends j5{constructor(t,a,r,i,s){super(t,i);Z(this,"isValidContract",!1);Z(this,"customOverrides",()=>({}));this.abi=p0.parse(r),this.address=a,this.writeContract=new Ye.Contract(a,r,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.storage=s,this.functions=W5(this.abi),this.extensions=L3(this.abi)}updateSignerOrProvider(t){super.updateSignerOrProvider(t),this.writeContract=this.writeContract.connect(this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider())}updateAbi(t){this.writeContract=new Ye.Contract(this.address,t,this.getSignerOrProvider()),this.readContract=this.writeContract.connect(this.getProvider()),this.abi=p0.parse(t),this.functions=W5(this.abi),this.extensions=L3(this.abi)}async getChainID(){let t=this.getProvider(),{chainId:a}=await t.getNetwork();return a}async getSignerAddress(){let t=this.getSigner();if(!t)throw new Error("This action requires a connected wallet to sign the transaction. Please pass a valid signer to the SDK.");return await t.getAddress()}callStatic(){return this.writeContract.callStatic}async getCallOverrides(){let t=await this.getChainID();return Cnn.includes(t)?{maxFeePerGas:0,maxPriorityFeePerGas:0}:{}}emitTransactionEvent(t,a){this.emit(jo.Transaction,{status:t,transactionHash:a})}async multiCall(t){return this.sendTransaction("multicall",[t])}async estimateGas(t,a){return this.writeContract.estimateGas[t](...a)}async populateTransaction(t,a){return this.writeContract.populateTransaction[t](...a)}withTransactionOverride(t){this.customOverrides=t}async read(t,a){let r=this.functions.filter(o=>o.name===t);if(!r.length)throw new Error(`Function "${t.toString()}" not found in contract. Check your dashboard for the list of functions available`);let i=r.find(o=>o.name===t&&o.inputs.length===a.length);if(!i)throw new Error(`Function "${t.toString()}" requires ${r[0].inputs.length} arguments, but ${a.length} were provided. +Expected function signature: ${r[0].signature}`);let s=`${t.toString()}(${i.inputs.map(o=>o.type).join()})`,f=s in this.readContract.functions?s:t;if(i.stateMutability==="view"||i.stateMutability==="pure")return await this.readContract[f.toString()](...a);throw new Error("Cannot call a write function with read()")}async call(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=r?await Srt.parseAsync(r):void 0,s=W5(p0.parse(this.abi)).filter(d=>d.name===t);if(!s.length)throw new Error(`Function "${t}" not found in contract. Check your dashboard for the list of functions available`);let f=s.find(d=>d.name===t&&d.inputs.length===a.length);if(!f)throw new Error(`Function "${t}" requires ${s[0].inputs.length} arguments, but ${a.length} were provided. +Expected function signature: ${s[0].signature}`);let o=`${t}(${f.inputs.map(d=>d.type).join()})`,c=o in this.readContract.functions?o:t;return f.stateMutability==="view"||f.stateMutability==="pure"?i?this.readContract[c](...a,i):this.readContract[c](...a):{receipt:await this.sendTransaction(c,a,i)}}async sendTransaction(t,a,r){if(r||(r=await this.getCallOverrides()),r={...r,...this.customOverrides()},this.customOverrides=()=>({}),this.options?.gasless&&("openzeppelin"in this.options.gasless||"biconomy"in this.options.gasless||"engine"in this.options.gasless)){if(t==="multicall"&&Array.isArray(a[0])&&a[0].length>0){let o=await this.getSignerAddress();a[0]=a[0].map(c=>Ye.utils.solidityPack(["bytes","address"],[c,o]))}let i=this.getProvider(),s=await this.sendGaslessTransaction(t,a,r);this.emitTransactionEvent("submitted",s);let f=await i.waitForTransaction(s);return this.emitTransactionEvent("completed",s),f}else{if(!this.isValidContract){let f=await this.getProvider().getCode(this.address);if(this.isValidContract=f!=="0x",!this.isValidContract)throw new Error("The address you're trying to send a transaction to is not a smart contract. Make sure you are on the correct network and the contract address is correct")}let i=await this.sendTransactionByFunction(t,a,r);this.emitTransactionEvent("submitted",i.hash);let s;try{s=await i.wait()}catch(f){try{await this.writeContract.callStatic[t](...a,...r.value?[{value:r.value}]:[])}catch(o){throw await this.formatError(o,t,a,r)}throw await this.formatError(f,t,a,r)}return this.emitTransactionEvent("completed",i.hash),s}}async sendTransactionByFunction(t,a,r){let i=this.writeContract.functions[t];if(!i)throw new Error(`invalid function: "${t.toString()}"`);if(!r.gasLimit)try{r.gasLimit=await this.writeContract.estimateGas[t](...a,r)}catch{try{await this.writeContract.callStatic[t](...a,...r.value?[{value:r.value}]:[])}catch(f){throw await this.formatError(f,t,a,r)}}try{return await i(...a,r)}catch(s){throw await this.formatError(s,t,a,r)}}async formatError(t,a,r,i){let s=this.getProvider(),f=await s.getNetwork(),o=await(i.from||this.getSignerAddress()),c=this.address,d=this.readContract.interface.encodeFunctionData(a,r),l=Ye.BigNumber.from(i.value||0),y=s.connection?.url,h=this.readContract.interface.getFunction(a),T=r.map(W=>JSON.stringify(W).length<=80?JSON.stringify(W):JSON.stringify(W,void 0,2)),A=T.join(", ").length<=80?T.join(", "):` +`+T.map(W=>" "+W.split(` `).join(` `)).join(`, `)+` -`,O=`${y.name}(${k})`,F=n.transactionHash||n.transaction?.hash||n.receipt?.transactionHash,z=fM(n),W;try{let j=(await i.getNetwork()).chainId,Q=rM(this.address,j);Q?.name&&(W=Q.name)}catch{}return new h9({reason:z,from:o,to:c,method:O,data:d,network:s,rpcUrl:h,value:l,hash:F,contractName:W},n)}async sendGaslessTransaction(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,f=this.getSigner();d0(f,"Cannot execute gasless transaction without valid signer");let i=await this.getChainID(),s=await this.getSignerAddress(),o=this.writeContract.address,c=r?.value||0;if(a0.BigNumber.from(c).gt(0))throw new Error("Cannot send native token value with gasless transaction");let d=this.writeContract.interface.encodeFunctionData(n,a),l=a0.BigNumber.from(0);try{l=(await this.readContract.estimateGas[n](...a)).mul(2)}catch{}l.lt(1e5)&&(l=a0.BigNumber.from(5e5)),r.gasLimit&&a0.BigNumber.from(r.gasLimit).gt(l)&&(l=a0.BigNumber.from(r.gasLimit));let h={from:s,to:o,data:d,chainId:i,gasLimit:l,functionName:n.toString(),functionArgs:a,callOverrides:r};return await this.defaultGaslessSendFunction(h)}async signTypedData(n,a,r,f){this.emit(o1.Signature,{status:"submitted",message:f,signature:""});let{signature:i}=await Kc(n,a,r,f);return this.emit(o1.Signature,{status:"completed",message:f,signature:i}),i}parseLogs(n,a){if(!a||a.length===0)return[];let r=this.writeContract.interface.getEventTopic(n);return a.filter(i=>i.topics.indexOf(r)>=0).map(i=>this.writeContract.interface.parseLog(i))}async defaultGaslessSendFunction(n){return this.options.gasless&&"biconomy"in this.options.gasless?this.biconomySendFunction(n):this.options.gasless&&"openzeppelin"in this.options.gasless?this.defenderSendFunction(n):this.engineSendFunction(n)}async engineSendFunction(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without engine config in the SDK options");let a=await this.enginePrepareRequest(n),f=await(await fetch(this.options.gasless.engine.relayerUrl,{...a,headers:{"Content-Type":"application/json"}})).json();if(f.error)throw new Error(f.error?.message||JSON.stringify(f.error));let i=f.result.queueId,s=this.options.gasless.engine.relayerUrl.split("/relayer/")[0],o=Date.now();for(;;){let d=await(await fetch(`${s}/transaction/status/${i}`)).json();if(d.result.transactionHash)return d.result.transactionHash;if(Date.now()-o>30*1e3)throw new Error("timeout");await new Promise(l=>setTimeout(l,2e3))}}async enginePrepareRequest(n){d0(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider(),f=this.storage;d0(a,"signer is not set");try{let{abi:i}=await ni(n.to,r,f),s=(await r.getNetwork()).chainId,o=new t(a,n.to,i,{},f);if(i.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+s.toString(16).padStart(64,"0"),verifyingContract:n.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},y={nonce:await o.call("getNonce",[n.from]),from:n.from,functionSignature:n.data},{signature:v}=await Kc(a,d,l,y);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:n.from,to:n.to,data:n.data},signature:v})}}}catch{}if(n.functionName==="approve"&&n.functionArgs.length===2){let i=n.functionArgs[0],s=n.functionArgs[1],{message:o,signature:c}=await oM(a,n.to,n.from,i,s,this.options.gasless.engine.domainSeparatorVersion),d={to:n.to,owner:o.owner,spender:o.spender,value:a0.BigNumber.from(o.value).toString(),nonce:a0.BigNumber.from(o.nonce).toString(),deadline:a0.BigNumber.from(o.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:d,signature:c})}}else{let i=this.options.gasless.engine.relayerForwarderAddress||p2[n.chainId]?.openzeppelinForwarder||await p9(r,f),s=(await Promise.resolve().then(()=>Ee(tR()))).default,o=new a0.Contract(i,s,r),c=await m9(o,"getNonce",[n.from]),d,l,h;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},l={ForwardRequest:sM},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(d={name:this.options.gasless.engine.domainName,version:this.options.gasless.engine.domainVersion,chainId:n.chainId,verifyingContract:i},l={ForwardRequest:iM},h={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(c).toString(),data:n.data});let{signature:y}=await Kc(a,d,l,h);return{method:"POST",body:JSON.stringify({type:"forward",request:h,signature:y,forwarderAddress:i})}}}async biconomySendFunction(n){d0(this.options.gasless&&"biconomy"in this.options.gasless,"calling biconomySendFunction without biconomy");let a=this.getSigner(),r=this.getProvider();d0(a&&r,"signer and provider must be set");let f=new a0.Contract(b9(n.chainId,"biconomyForwarder"),l6e,r),i=0,s=await m9(f,"getNonce",[n.from,i]),o={from:n.from,to:n.to,token:a0.constants.AddressZero,txGas:n.gasLimit.toNumber(),tokenGasPrice:"0",batchId:i,batchNonce:s.toNumber(),deadline:Math.floor(Date.now()/1e3+(this.options?.gasless&&"biconomy"in this.options.gasless&&this.options.gasless.biconomy?.deadlineSeconds||3600)),data:n.data},c=a0.utils.arrayify(a0.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[o.from,o.to,o.token,o.txGas,o.tokenGasPrice,o.batchId,o.batchNonce,o.deadline,a0.utils.keccak256(o.data)]));this.emit(o1.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(o1.Signature,{status:"completed",message:c,signature:d});let l=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",{method:"POST",body:JSON.stringify({from:n.from,apiId:this.options.gasless.biconomy.apiId,params:[o,d],to:n.to,gasLimit:n.gasLimit.toHexString()}),headers:{"x-api-key":this.options.gasless.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}});if(l.ok){let h=await l.json();if(!h.txHash)throw new Error(`relay transaction failed: ${h.log}`);return h.txHash}throw new Error(`relay transaction failed with status: ${l.status} (${l.statusText})`)}async defenderSendFunction(n){d0(this.options.gasless&&"openzeppelin"in this.options.gasless,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider();d0(a,"provider is not set"),d0(r,"provider is not set");let f=(await Promise.resolve().then(()=>Ee(tR()))).default,i=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?p2[n.chainId]?.openzeppelinForwarderEOA||await aG(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):p2[n.chainId]?.openzeppelinForwarder||await p9(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),s=new a0.Contract(i,f,r),o=await m9(s,"getNonce",[n.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:i},d={ForwardRequest:sM},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data,chainid:a0.BigNumber.from(n.chainId).toString()}):(c={name:this.options.gasless.openzeppelin.domainName,version:this.options.gasless.openzeppelin.domainVersion,chainId:n.chainId,verifyingContract:i},d={ForwardRequest:iM},l={from:n.from,to:n.to,value:a0.BigNumber.from(0).toString(),gas:a0.BigNumber.from(n.gasLimit).toString(),nonce:a0.BigNumber.from(o).toString(),data:n.data});let h;if(this.emit(o1.Signature,{status:"submitted",message:l,signature:""}),n.functionName==="approve"&&n.functionArgs.length===2){let O=n.functionArgs[0],F=n.functionArgs[1],{message:z,signature:W}=await oM(a,this.writeContract.address,n.from,O,F,this.options.gasless.openzeppelin.domainSeparatorVersion),{r:j,s:Q,v:V}=a0.utils.splitSignature(W);l={to:this.address,owner:z.owner,spender:z.spender,value:a0.BigNumber.from(z.value).toString(),nonce:a0.BigNumber.from(z.nonce).toString(),deadline:a0.BigNumber.from(z.deadline).toString(),r:j,s:Q,v:V},h=W}else{let{signature:O}=await Kc(a,c,d,l);h=O}let y="forward";l?.owner&&(y="permit");let v=JSON.stringify({request:l,signature:h,forwarderAddress:i,type:y});this.emit(o1.Signature,{status:"completed",message:l,signature:h});let k=await fetch(this.options.gasless.openzeppelin.relayerUrl,{method:"POST",body:v});if(k.ok){let O=await k.json();if(!O.result)throw new Error(`Relay transaction failed: ${O.message}`);return JSON.parse(O.result).txHash}throw new Error(`relay transaction failed with status: ${k.status} (${k.statusText})`)}};rs0={admin:"",transfer:"TRANSFER_ROLE",minter:"MINTER_ROLE",pauser:"PAUSER_ROLE",lister:"LISTER_ROLE",asset:"ASSET_ROLE",unwrap:"UNWRAP_ROLE",factory:"FACTORY_ROLE",signer:"SIGNER_ROLE",metadata:"METADATA_ROLE",revoke:"REVOKE_ROLE",migration:"MIGRATION_ROLE"},uK=Object.keys(rs0);p5e=Fi.merge(vi).merge(oh).merge(fi),fs0=F6.merge(vi).merge(oh).merge(fi),is0=p5e.merge(tc).merge(A2).merge(l1),_G={deploy:is0,output:fs0,input:p5e},ss0=Fi.merge(oh).merge(fi),Yfn=F6.merge(oh).merge(fi),$fn=ss0.merge(tc).merge(A2).merge(l1),xde={deploy:$fn,output:Yfn,input:ss0},h5e=Fi.merge(vi).merge(oh).merge(fi),os0=F6.merge(vi).merge(oh).merge(fi),cs0=h5e.merge(tc).merge(A2).merge(l1),rh={deploy:cs0,output:os0,input:h5e},m5e=Fi,ds0=F6,ls0=m5e.merge(tc).merge(l1),A9={deploy:ls0,output:ds0,input:m5e},us0=Fi.merge(vi).merge(fi),Jfn=F6.merge(vi).merge(fi),Xfn=us0.merge(l1),nde={deploy:Xfn,output:Jfn,input:us0},b5e=Fi.merge(vi).merge(fi),ps0=F6.merge(vi).merge(fi),hs0=b5e.merge(tc).merge(l1),UG={deploy:hs0,output:ps0,input:b5e},ms0=fe.object({address:da,sharesBps:nb.gt(0,"Shares must be greater than 0")}),Zfn=ms0.extend({address:da,sharesBps:nb}),fK=Fi.extend({recipients:fe.array(ms0).default([]).superRefine((t,e)=>{let n={},a=0;for(let r=0;r1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:"Total shares cannot go over 100%.",path:[r,"sharesBps"]})}a!==1e4&&e.addIssue({code:fe.ZodIssueCode.custom,message:`Total shares need to add up to 100%. Total shares are currently ${a/100}%`,path:[]})})}),bs0=F6.extend({recipients:fe.array(Zfn)}),ys0=fK.merge(fK).merge(l1),WG={deploy:ys0,output:bs0,input:fK},y5e=Fi.merge(vi).merge(fi),gs0=F6.merge(vi).merge(fi),vs0=y5e.merge(tc).merge(A2).merge(l1),IG={deploy:vs0,output:gs0,input:y5e},g5e=Fi.merge(fi),ws0=F6.merge(fi),Ts0=g5e.merge(tc).merge(A2).merge(l1),GG={deploy:Ts0,output:ws0,input:g5e},v5e=Fi.merge(vi).merge(fi),xs0=F6.merge(vi).merge(fi),Es0=v5e.merge(tc).merge(A2).merge(l1),FG={deploy:Es0,output:xs0,input:v5e},w5e=fe.object({voting_delay_in_blocks:fe.number().min(0).default(0),voting_period_in_blocks:fe.number().min(1).default(1),voting_token_address:da,voting_quorum_fraction:afn.default(0),proposal_token_threshold:Xa.default(1)}),_s0=w5e.extend({proposal_token_threshold:ts}),T5e=Fi.merge(w5e),As0=F6.merge(_s0),Is0=T5e.merge(l1),QG={deploy:Is0,output:As0,input:T5e},vde=["admin"],Bs=["admin","minter","transfer","metadata"],EE=["admin","lister","asset"],bde=["admin","minter","asset","transfer"],Ede=["admin","transfer"],ade=["admin","transfer","minter","unwrap","asset"],Mn={vote:"vote",token:"token","edition-drop":"edition-drop",edition:"edition",marketplace:"marketplace","marketplace-v3":"marketplace-v3",multiwrap:"multiwrap","nft-collection":"nft-collection","nft-drop":"nft-drop",pack:"pack","signature-drop":"signature-drop",split:"split","token-drop":"token-drop"},C2={name:"DropERC1155",contractType:Mn["edition-drop"],schema:_G,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ir0(),Ar0)),s.getNetwork()]);return new c.EditionDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(Cr0()))).default:(await Promise.resolve().then(()=>Ee(kr0()))).default}},wb={name:"TokenERC1155",contractType:Mn.edition,schema:IG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Mr0(),Rr0)),s.getNetwork()]);return new c.Edition(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Br0()))).default}},k2={name:"Marketplace",contractType:Mn.marketplace,schema:A9,roles:EE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Fr0(),Lr0)),s.getNetwork()]);return new c.Marketplace(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Nr0()))).default}},dh={name:"MarketplaceV3",contractType:Mn["marketplace-v3"],schema:A9,roles:EE,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Hr0(),Ur0)),s.getNetwork()]);return new c.MarketplaceV3(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n,a)=>{let r=(await e.getNetwork()).chainId;if(r===280||r===300||r===324||r===302){let c=(await fc(I2,"MarketplaceV3","latest",n,a?.clientId,a?.secretKey)).metadataUri;return await Nfn(c,n)}let i=await Zc(t,e,n);if(i)return await Ym(t,i,e,{},n);let s=(await Promise.resolve().then(()=>Ee(zr0()))).default;return await Ym(t,ht.parse(s||[]),e,{},n)}},S2={name:"Multiwrap",contractType:Mn.multiwrap,schema:nde,roles:ade,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Gr0(),jr0)),s.getNetwork()]);return new c.Multiwrap(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(Kr0()))).default}},Tb={name:"TokenERC721",contractType:Mn["nft-collection"],schema:FG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Yr0(),Vr0)),s.getNetwork()]);return new c.NFTCollection(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee($r0()))).default}},R2={name:"DropERC721",contractType:Mn["nft-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Xr0(),Jr0)),s.getNetwork()]);return new c.NFTDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>3?(await Promise.resolve().then(()=>Ee(Zr0()))).default:(await Promise.resolve().then(()=>Ee(ef0()))).default}},M2={name:"Pack",contractType:Mn.pack,schema:UG,roles:bde,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(rf0(),af0)),s.getNetwork()]);return new c.Pack(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||ht.parse((await Promise.resolve().then(()=>Ee(ff0()))).default||[])}},B2={name:"SignatureDrop",contractType:Mn["signature-drop"],schema:rh,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(sf0(),if0)),s.getNetwork()]);return new c.SignatureDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>4?(await Promise.resolve().then(()=>Ee(of0()))).default:(await Promise.resolve().then(()=>Ee(cf0()))).default}},D2={name:"Split",contractType:Mn.split,schema:WG,roles:vde,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(lf0(),df0)),s.getNetwork()]);return new c.Split(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(uf0()))).default}},xb={name:"DropERC20",contractType:Mn["token-drop"],schema:xde,roles:Ede,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(mf0(),hf0)),s.getNetwork()]);return new c.TokenDrop(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);if(a)return a;let r=await pK(t,e);return!r||r.version>2?(await Promise.resolve().then(()=>Ee(bf0()))).default:(await Promise.resolve().then(()=>Ee(yf0()))).default}},P2={name:"TokenERC20",contractType:Mn.token,schema:GG,roles:Bs,initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(vf0(),gf0)),s.getNetwork()]);return new c.Token(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(wf0()))).default}},L2={name:"VoteERC20",contractType:Mn.vote,schema:QG,roles:[],initialize:async function(){for(var t=arguments.length,e=new Array(t),n=0;n(Ef0(),xf0)),s.getNetwork()]);return new c.Vote(a,r,f,i,o,d.chainId)},getAbi:async(t,e,n)=>{let a=await Zc(t,e,n);return a||(await Promise.resolve().then(()=>Ee(_f0()))).default}};Eb={[Mn["edition-drop"]]:C2,[Mn.edition]:wb,[Mn.marketplace]:k2,[Mn["marketplace-v3"]]:dh,[Mn.multiwrap]:S2,[Mn["nft-collection"]]:Tb,[Mn["nft-drop"]]:R2,[Mn.pack]:M2,[Mn["signature-drop"]]:B2,[Mn.split]:D2,[Mn["token-drop"]]:xb,[Mn.token]:P2,[Mn.vote]:L2},x5e={[Mn["edition-drop"]]:"ipfs://QmNm3wRzpKYWo1SRtJfgfxtvudp5p2nXD6EttcsQJHwTmk",[Mn.edition]:"",[Mn.marketplace]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace.html",[Mn["marketplace-v3"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace-v3.html",[Mn.multiwrap]:"",[Mn["nft-collection"]]:"",[Mn["nft-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.pack]:"",[Mn["signature-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[Mn.split]:"",[Mn["token-drop"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/erc20.html",[Mn.token]:"",[Mn.vote]:""},oi0={name:"SmartContract",contractType:"custom",schema:{},roles:uK},E5e={...Eb,[oi0.contractType]:oi0}});async function QE(t,e){return await Promise.all(Object.entries(t.metadata.sources).map(async n=>{let[a,r]=n,f=r.urls,i=f?f.find(s=>s.includes("ipfs")):void 0;if(i){let s=i.split("ipfs/")[1],o=new Promise((d,l)=>setTimeout(()=>l("timeout"),3e3)),c=await Promise.race([(await e.download(`ipfs://${s}`)).text(),o]);return{filename:a,source:c}}else return{filename:a,source:r.content||"Could not find source for this contract"}}))}var mK=oe(()=>{"use strict";u();p()});async function ein(t,e){let n=await F9(t,e);return ch(n.abi)}async function tin(t,e){let n=await F9(t,e);return x2(n.abi,n.metadata)}var Cs0,yK,bK,ks0=oe(()=>{"use strict";u();p();Cs0=Ee(qW()),yK=Ee(Je());ir();ln();mK();Da();bK=class extends E2{constructor(n,a,r){super(n,a);ae(this,"updatePublisherProfile",be(async n=>{let a=this.getSigner();d0(a,"A signer is required");let r=await a.getAddress(),f=await this.storage.upload(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"setPublisherProfileUri",args:[r,f]})}));ae(this,"publish",be(async(n,a)=>{let r=this.cleanupOldPublishFlowData(a),f=this.getSigner();d0(f,"A signer is required");let i=await f.getAddress(),s=await sK(n,this.storage),o=await $M(s.metadataUri,this.storage),c=vb(o.abi),d=eB(o.abi,"PluginRouter",c),l=eB(o.abi,"DynamicContract",c);if(r.routerType=d?"plugin":l?"dynamic":"none",l||d){let W=r.defaultExtensions;if(W&&W.length>0)try{let Q=(await Promise.all(W.map(K=>fc(K.publisherAddress,K.extensionName,K.extensionVersion,this.storage,this.options.clientId,this.options.secretKey)))).map(K=>K.metadataUri),V=(await Promise.all(Q.map(async K=>Ls(K,this.storage)))).map(K=>K.compilerMetadata.abi),X=ih([o.abi,...V]);r.compositeAbi=ht.parse(X)}catch{}}let h=await this.getLatest(i,s.name);if(h&&h.metadataUri){let j=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!Yde(j,r.version))throw Error(`Version ${r.version} is not greater than ${j}`)}let y=await(await this.storage.download(s.bytecodeUri)).text(),v=y.startsWith("0x")?y:`0x${y}`,k=yK.utils.solidityKeccak256(["bytes"],[v]),O=s.name,F=await Xde.parseAsync({...r,metadataUri:s.metadataUri,bytecodeUri:s.bytecodeUri,name:s.name,analytics:s.analytics,compilers:s.compilers,publisher:i}),z=await this.storage.upload(F);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"publishContract",args:[i,O,z,s.metadataUri,k,yK.constants.AddressZero],parse:W=>{let j=this.publisher.parseLogs("ContractPublished",W.logs);if(j.length<1)throw new Error("No ContractPublished event found");let Q=j[0].args.publishedContract;return{receipt:W,data:async()=>this.toPublishedContract(Q)}}})}));ae(this,"unpublish",be(async(n,a)=>{let r=await Oe(n);return Me.fromContractWrapper({contractWrapper:this.publisher,method:"unpublishContract",args:[r,a]})}));this.storage=r,this.publisher=new lt(n,GE(),Cs0.default,a,r)}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.publisher.updateSignerOrProvider(n)}async extractConstructorParams(n){return ein(n,this.storage)}async extractFunctions(n){return tin(n,this.storage)}async fetchCompilerMetadataFromPredeployURI(n){return F9(n,this.storage)}async fetchPrePublishMetadata(n,a){let r=await F9(n,this.storage),f=a?await this.getLatest(a,r.name):void 0,i=f?await this.fetchPublishedContractInfo(f):void 0;return{preDeployMetadata:r,latestPublishedContractMetadata:i}}async fetchCompilerMetadataFromAddress(n){let a=await Oe(n);return ni(a,this.getProvider(),this.storage,this.options)}async fetchPublishedContractInfo(n){return{name:n.id,publishedTimestamp:n.timestamp,publishedMetadata:await this.fetchFullPublishMetadata(n.metadataUri)}}async fetchFullPublishMetadata(n){return KE(n,this.storage)}async resolvePublishMetadataFromCompilerMetadata(n){let a=await this.publisher.read("getPublishedUriFromCompilerUri",[n]);if(a.length===0)throw Error(`Could not resolve published metadata URI from ${n}`);return await Promise.all(a.filter(r=>r.length>0).map(r=>this.fetchFullPublishMetadata(r)))}async resolveContractUriFromAddress(n){let a=await Oe(n),r=await JM(a,this.getProvider());return d0(r,"Could not resolve contract URI from address"),r}async fetchContractSourcesFromAddress(n){let a=await Oe(n),r=await this.fetchCompilerMetadataFromAddress(a);return await QE(r,this.storage)}async fetchContractAbiFromAddress(n){let a=await Oe(n);return(await ni(a,this.getProvider(),this.storage)).abi}async getPublisherProfile(n){let a=await Oe(n),r=await this.publisher.read("getPublisherProfileUri",[a]);return!r||r.length===0?{}:Zde.parse(await this.storage.downloadJSON(r))}async getAll(n){let a=await Oe(n),f=(await this.publisher.read("getAllPublishedContracts",[a])).reduce((i,s)=>(i[s.contractId]=s,i),{});return Object.entries(f).map(i=>{let[,s]=i;return this.toPublishedContract(s)})}async getAllVersions(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContractVersions",[r,a]);if(f.length===0)throw Error("Not found");return f.map(i=>this.toPublishedContract(i))}async getVersion(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",f=await Oe(n);if(r==="latest")return this.getLatest(f,a);let i=await this.getAllVersions(f,a),o=(await Promise.all(i.map(c=>this.fetchPublishedContractInfo(c)))).find(c=>c.publishedMetadata.version===r);return d0(o,"Contract version not found"),i.find(c=>c.timestamp===o.publishedTimestamp)}async getLatest(n,a){let r=await Oe(n),f=await this.publisher.read("getPublishedContract",[r,a]);if(f&&f.publishMetadataUri)return this.toPublishedContract(f)}toPublishedContract(n){return GM.parse({id:n.contractId,timestamp:n.publishTimestamp,metadataUri:n.publishMetadataUri})}cleanupOldPublishFlowData(n){return n.compositeAbi&&delete n.compositeAbi,{...n,isDeployableViaFactory:!1,isDeployableViaProxy:!1,factoryDeploymentData:{...n.factoryDeploymentData,implementationAddresses:{},factoryAddresses:{}}}}}});var Rs0,Ss0=oe(()=>{Rs0=[{type:"constructor",inputs:[{name:"_pluginMap",type:"address",internalType:"address"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"addPlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllFunctionsOfPlugin",inputs:[{name:"_pluginAddress",type:"address",internalType:"address"}],outputs:[{name:"registered",type:"bytes4[]",internalType:"bytes4[]"}],stateMutability:"view"},{type:"function",name:"getAllPlugins",inputs:[],outputs:[{name:"registered",type:"tuple[]",internalType:"struct IPluginMap.Plugin[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"pluginMap",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"removePlugin",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"updatePlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PluginAdded",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginRemoved",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginSet",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"functionSignature",type:"string",indexed:!0,internalType:"string"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginUpdated",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"oldPluginAddress",type:"address",indexed:!0,internalType:"address"},{name:"newPluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var A5e,Ms0=oe(()=>{u();p();A5e={}});function gK(t){return"("+t.map(e=>e.type==="tuple"?gK(e.components):e.type==="tuple[]"?gK(e.components)+"[]":e.type).join(",")+")"}function ain(t,e){let n=new _b.utils.Interface(e),a=[];for(let r of Object.values(n.functions)){let f=n.getFunction(n.getSighash(r));f.name.includes("_")||a.push({functionSelector:n.getSighash(f),functionSignature:f.name+gK(f.inputs),pluginAddress:t})}return a}function vK(t){let e=new _b.utils.Interface(t),n=[];for(let a of Object.values(e.functions)){let r=e.getFunction(e.getSighash(a));r.name.startsWith("_")||n.push({functionSelector:e.getSighash(r),functionSignature:r.name+gK(r.inputs)})}return n}async function N9(t,e,n,a,r,f){sh.deploymentPresets={};let[i,{compilerMetadata:s,extendedMetadata:o}]=await Promise.all([a||c5(n),Ls(t,e)]),c={},d=[],l=o?.defaultExtensions;if(o?.routerType==="plugin"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(W=>fc(W.publisherAddress,W.extensionName,W.extensionVersion,e,r,f))),k=(await Promise.all(v.map(W=>Ls(W.metadataUri,e)))).map(W=>W.compilerMetadata),O=await Promise.all(k.map(W=>e6("plugin",n,e,i,{metadata:W},r,f))),F=[];k.forEach((W,j)=>{let Q=ain(O[j].transaction.predictedAddress,W.abi);F.push(...Q)});let z=await e6("plugin",n,e,i,{contractName:"PluginMap",constructorParams:{_pluginsToAdd:{value:F}}},r,f);c._pluginMap={value:z.transaction.predictedAddress},d.push(...O,z)}else if(o?.routerType==="dynamic"&&l){d0(r||f,"Require Client Id / Secret Key");let v=await Promise.all(l.map(z=>fc(z.publisherAddress,z.extensionName,z.extensionVersion,e,r,f))),k=(await Promise.all(v.map(async z=>Ls(z.metadataUri,e)))).map(z=>z.compilerMetadata),O=await Promise.all(k.map(z=>e6("extension",n,e,i,{metadata:z},r,f))),F=[];k.forEach((z,W)=>{let j=vK(z.abi);F.push({metadata:{name:z.name,metadataURI:"",implementation:O[W].transaction.predictedAddress},functions:j})}),c._extensions={value:F},d.push(...O)}let[h,y]=await Promise.all([e6("implementation",n,e,i,{metadata:s,constructorParams:c},r,f),e6("infra",n,e,i,{contractName:"TWCloneFactory"},r,f)]);return d.push(y),d.push(...Object.values(sh.deploymentPresets)),d.push(h),d}function rin(t){let e=_b.utils.arrayify(t).map(n=>n===0?4:16).reduce((n,a)=>n+a)+200*t.length/2+6*Math.ceil(t.length/64)+32e3+21e3;return e=Math.floor(e*64/63),e}function I5e(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c5e;if(t=t.filter(f=>f.data.length>0),t.length===0)return[];let n=[],a=0,r=[];return t.forEach(f=>{let i=rin(f.data);a+i>e?r.length===0?n.push([f]):(n.push(r),a=i,r=[f]):(a+=i,r.push(f))}),r.length>0&&n.push(r),n}async function wK(t,e,n){let a=I5e(e);if(a.length===0)return;n?.notifier?.("deploying","infra");let r=await Promise.all(a.map(f=>new _b.ContractFactory(l5e,d5e).connect(t).deploy(f)));await Promise.all(r.map(f=>f.deployed())),n?.notifier?.("deployed","infra")}async function TK(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(d0(t.provider,"Provider required"),!await Xc(e.predictedAddress,t.provider)){console.debug(`deploying contract via create2 factory at: ${e.predictedAddress}`);let f={to:e.to,data:e.data};try{await t.estimateGas(f)}catch(i){console.debug("error estimating gas while deploying prebuilt: ",i),f.gasLimit=_b.BigNumber.from(a)}n?.notifier?.("deploying","preset"),await(await t.sendTransaction(f)).wait(),n?.notifier?.("deployed","preset")}}var _b,C5e=oe(()=>{"use strict";u();p();ln();_b=Ee(Je());ir()});var Ds0,Bs0=oe(()=>{Ds0=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_registry",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"FACTORY_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approval",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"approveImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"currentVersion",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deployProxy",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyByImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"deployedProxy",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyDeterministic",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployer",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_version",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getLatestImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"implementation",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"registry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract TWRegistry"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ImplementationAdded",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"contractType",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"version",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ImplementationApproved",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"isApproved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ProxyDeployed",inputs:[{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"proxy",type:"address",indexed:!1,internalType:"address"},{name:"deployer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function cin(t,e){let a=ht.parse(t||[]).filter(f=>f.type==="event"),r=[];for(let f of a){let i=oK(f.name,e,"events");r.push({inputs:f.inputs||[],outputs:f.outputs||[],name:f.name||"unknown",comment:i})}return r}var Kr,zl,tB,k5e,iin,sin,oin,S5e,xK,EK,_K,AK,IK,CK,kK,Ps0=oe(()=>{"use strict";u();p();ln();Da();Kr=Ee(Je());ir();w9();J5();Fl();Rf();mK();C5e();zl=function(t){return t[t.None=0]="None",t[t.AddAdmin=1]="AddAdmin",t[t.RemoveAdmin=2]="RemoveAdmin",t}({}),tB={startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},k5e=fe.object({startDate:lM,expirationDate:tb,nativeTokenLimitPerTransaction:ff.default(0),approvedCallTargets:fe.union([fe.array(da),fe.literal("*")])}),iin=fe.array(fe.object({signer:da,makeAdmin:fe.boolean(),permissions:k5e})),sin=[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],oin=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],S5e=class{constructor(e){ae(this,"featureName",ho.name);ae(this,"grantAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,tB,zl.AddAdmin)}));ae(this,"revokeAdminPermissions",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,tB,zl.RemoveAdmin)}));ae(this,"grantPermissions",be(async(e,n)=>{let a=await Oe(e),r=await k5e.parseAsync(n);return await this.sendSignerPermissionRequest(a,r,zl.None)}));ae(this,"updatePermissions",be(async(e,n)=>{let a=await Oe(e),r=await k5e.parseAsync(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot update permissions of an existing admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");return await this.sendSignerPermissionRequest(a,r,zl.None)}));ae(this,"revokeAccess",be(async e=>{let n=await Oe(e);return await this.sendSignerPermissionRequest(n,{startDate:Kr.BigNumber.from(0),expirationDate:Kr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},zl.None)}));ae(this,"approveTargetForSigner",be(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(f.approvedTargets.includes(n))throw new Error("Target is already approved");let i=[...f.approvedTargets,r];return await this.sendSignerPermissionRequest(a,{startDate:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"disapproveTargetForSigner",be(async(e,n)=>{let a=await Oe(e),r=await Oe(n);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let f=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(!f.approvedTargets.includes(r))throw new Error("Target is currently not approved");let i=f.approvedTargets.filter(s=>Kr.utils.getAddress(s)!==Kr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Kr.BigNumber.from(f.startTimestamp),expirationDate:Kr.BigNumber.from(f.endTimestamp),approvedCallTargets:i,nativeTokenLimitPerTransaction:f.nativeTokenLimitPerTransaction.toString()},zl.None)}));ae(this,"resetAllPermissions",be(async e=>{let n=await iin.parseAsync(e);if(this.hasDuplicateSigners(n))throw new Error("Duplicate signers found in input.");let a=[],r=[],f=[],i=await this.getAllAdmins(),s=n.filter(l=>l.makeAdmin).map(l=>l.signer);i.forEach(async l=>{if(!s.includes(l)){let h=(await this.sendSignerPermissionRequest(l,tB,zl.RemoveAdmin)).encode();a.push(h)}});let o=await this.getAllSigners(),c=n.filter(l=>!l.makeAdmin).map(l=>l.signer);await Promise.all(o.map(async l=>{if(!c.includes(l.signer)){let h=(await this.sendSignerPermissionRequest(l.signer,tB,zl.None)).encode();f.push(h)}}));for(let l of n)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,tB,zl.AddAdmin)).encode();else{let h=(await this.sendSignerPermissionRequest(l.signer,l.permissions,zl.None)).encode();r.push(h)}let d=[];return a.forEach(l=>{d.push(l)}),f.forEach(l=>{d.push(l)}),r.forEach(l=>{d.push(l)}),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[d]})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}hasDuplicateSigners(e){let n={},a=e.map(r=>r.signer);for(let r of a)if(!n[r])n[r]=!0;else return!0;return!1}parseSignerPermissionsStruct(e){return{startDate:new Date(parseInt(e.startTimestamp.toString())*1e3),expirationDate:new Date(parseInt(e.endTimestamp.toString())*1e3),nativeTokenLimitPerTransaction:Kr.BigNumber.from(e.nativeTokenLimitPerTransaction),approvedCallTargets:e.approvedTargets}}async sendSignerPermissionRequest(e,n,a){let{payload:r,signature:f}=await this.generatePayload(e,n,a);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPermissionsForSigner",args:[r,f]})}async generatePayload(e,n,a){let r={signer:e,isAdmin:a.valueOf(),approvedTargets:n.approvedCallTargets==="*"?[xr]:n.approvedCallTargets,nativeTokenLimitPerTransaction:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:dG(void 0)},f=await this.contractWrapper.getChainID(),i=this.contractWrapper.getSigner();d0(i,"No signer available");let s=await this.contractWrapper.signTypedData(i,{name:"Account",version:"1",chainId:f,verifyingContract:this.getAddress()},{SignerPermissionRequest:oin},r);return{payload:r,signature:s}}async generateLegacyPayload(e,n){if(n.approvedCallTargets==="*")throw new Error("Wildcard call targets are not supported on legacy account permissions contract, please deploy an updated contract factory.");let a={signer:e,approvedTargets:n.approvedCallTargets,nativeTokenLimitPerTransaction:Kr.utils.parseEther(n.nativeTokenLimitPerTransaction),permissionStartTimestamp:n.startDate,permissionEndTimestamp:n.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Kr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:dG(void 0)},r=await this.contractWrapper.getChainID(),f=this.contractWrapper.getSigner();d0(f,"No signer available");let i=await this.contractWrapper.signTypedData(f,{name:"Account",version:"1",chainId:r,verifyingContract:this.getAddress()},{SignerPermissionRequest:sin},a);return{payload:a,signature:i}}async isAdmin(e){let n=await Oe(e);return await this.contractWrapper.read("isAdmin",[n])}async isSigner(e){let n=await Oe(e);return await this.contractWrapper.read("isActiveSigner",[n])}async getAllAdmins(){return await this.contractWrapper.read("getAllAdmins",[])}async getAllSigners(){let e=await this.contractWrapper.read("getAllActiveSigners",[]);return await Promise.all(e.map(async n=>{let a=n.signer,r=this.parseSignerPermissionsStruct(n);return{signer:a,permissions:r}}))}async getAllAdminsAndSigners(){let n=(await this.getAllAdmins()).map(r=>({isAdmin:!0,signer:r,permissions:{startDate:new Date(0),expirationDate:new Date(0),nativeTokenLimitPerTransaction:Kr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...n,...a]}},xK=class{constructor(e){ae(this,"featureName",L9.name);ae(this,"grantAdminPermissions",be(async e=>O0(this.accountPermissions,ho).grantAdminPermissions.prepare(e)));ae(this,"revokeAdminPermissions",be(async e=>O0(this.accountPermissions,ho).revokeAdminPermissions.prepare(e)));ae(this,"grantPermissions",be(async(e,n)=>O0(this.accountPermissions,ho).grantPermissions.prepare(e,n)));ae(this,"updatePermissions",be(async(e,n)=>O0(this.accountPermissions,ho).updatePermissions.prepare(e,n)));ae(this,"revokeAccess",be(async e=>O0(this.accountPermissions,ho).revokeAccess.prepare(e)));ae(this,"approveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).approveTargetForSigner.prepare(e,n)));ae(this,"disapproveTargetForSigner",be(async(e,n)=>O0(this.accountPermissions,ho).disapproveTargetForSigner.prepare(e,n)));ae(this,"resetAllPermissions",be(async e=>O0(this.accountPermissions,ho).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(k0(this.contractWrapper,"AccountPermissions")||k0(this.contractWrapper,"AccountPermissionsV1"))return new S5e(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return O0(this.accountPermissions,ho).isAdmin(e)}async isSigner(e){return O0(this.accountPermissions,ho).isSigner(e)}async getAllAdmins(){return O0(this.accountPermissions,ho).getAllAdmins()}async getAllSigners(){return O0(this.accountPermissions,ho).getAllSigners()}async getAllAdminsAndSigners(){return O0(this.accountPermissions,ho).getAllAdminsAndSigners()}},EK=class{constructor(e){ae(this,"featureName",P9.name);ae(this,"createAccount",be(async(e,n)=>{if(await this.isAccountDeployed(e,n))throw new Error(`Account already deployed for admin: ${e}`);let a=Kr.utils.toUtf8Bytes("");return n&&(a=n),Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAccount",args:[e,a],parse:r=>({address:this.contractWrapper.parseLogs("AccountCreated",r?.logs)[0].args.account,receipt:r})})}));this.contractWrapper=e,this.events=new Rn(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async predictAccountAddress(e,n){let a=Kr.utils.toUtf8Bytes("");return n&&(a=n),this.contractWrapper.read("getAddress",[e,a])}async getAssociatedAccounts(e){return this.contractWrapper.read("getAccountsOfSigner",[e])}async getAllAccounts(){return await this.contractWrapper.read("getAllAccounts",[])}async isAccountDeployed(e,n){let a=await this.predictAccountAddress(e,n);return Xc(a,this.contractWrapper.getProvider())}};_K=class{constructor(e,n){this.contractWrapper=e,this.storage=n}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await ni(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return QE(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return x2(ht.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return cin(ht.parse(this.contractWrapper.abi),e?.metadata)}},AK=class{constructor(e){ae(this,"featureName",D9.name);ae(this,"add",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionAdded",n.logs).length<1)throw new Error("No ExtensionAdded event found");let r=e.extensionAbi?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForAdd(r,e.extension),i=ih([ht.parse(this.contractWrapper.abi),f]);return this.contractWrapper.updateAbi(i),n}})));ae(this,"addDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.add.prepare({extension:f,extensionAbi:n})}));ae(this,"addPublished",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||I2,n);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"replace",be(async e=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"replaceExtension",args:[e.extension],parse:async n=>{if(this.contractWrapper.parseLogs("ExtensionReplaced",n.logs).length<1)throw new Error("No ExtensionReplaced event found");let r=e.extensionAbi?ht.parse(e.extensionAbi):(await ni(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,f=this.filterAbiForRemove(ht.parse(this.contractWrapper.abi),r),i=this.filterAbiForAdd(r,e.extension),s=ih([f,i]);return this.contractWrapper.updateAbi(s),n}})));ae(this,"replaceDeployed",be(async e=>{let n=e.extensionAbi;n||(n=(await ni(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),d0(n,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let i=await Fi.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(i)}let r=vK(ht.parse(n)),f={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.replace.prepare({extension:f,extensionAbi:n})}));ae(this,"replacePublished",be(async e=>{let n=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||I2,n);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));ae(this,"remove",be(async e=>{let n=await this.getExtensionAddress(e.extensionName);return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"removeExtension",args:[e.extensionName],parse:async a=>{if(this.contractWrapper.parseLogs("ExtensionRemoved",a.logs).length<1)throw new Error("No ExtensionRemoved event found");let f=(await ni(n,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(ht.parse(this.contractWrapper.abi),f);return this.contractWrapper.updateAbi(i),a}})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.readContract.address}async getAll(){return await this.contractWrapper.readContract.getAllExtensions()}async get(e){return await this.contractWrapper.readContract.getExtension(e)}async getExtensionAddress(e){return(await this.get(e)).metadata.implementation}async getAllFunctions(e){return(await this.get(e)).functions}async getExtensionForFunction(e){let n=e.functionSelector;return n||(d0(e.functionSignature,"Atleast one of function selector and signature must be provided"),n=Kr.utils.id(e.functionSignature).substring(0,10)),await this.contractWrapper.readContract.getMetadataForFunction(n)}async getExtensionAddressForFunction(e){return(await this.getExtensionForFunction(e)).implementation}filterAbiForAdd(e,n){let a=new Kr.utils.Interface(e),r=n.functions.map(i=>i.functionSelector);return e.filter(i=>{let s=Object.values(new Kr.utils.Interface([i]).functions);if(s.length===0)return!1;let o=a.getSighash(s[0]);return r.includes(o)})}filterAbiForRemove(e,n){let a=new Kr.utils.Interface(e),r=new Kr.utils.Interface(n),f=Object.values(r.functions).map(s=>r.getSighash(s));return e.filter(s=>{let o=Object.values(new Kr.utils.Interface([s]).functions);if(o.length===0)return!1;let c=a.getSighash(o[0]);return!f.includes(c)})}async deployExtension(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",r=await fc(n,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),f=await N9(r.metadataUri,this.contractWrapper.storage,this.contractWrapper.getProvider(),"",this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),i=f.find(l=>l.type==="implementation")?.transaction.predictedAddress,s=f.filter(l=>l.transaction.data&&l.transaction.data.length>0),o=s.filter(l=>l.type!=="infra").map(l=>l.transaction),c=s.filter(l=>l.type==="infra").map(l=>l.transaction),d=this.contractWrapper.getSigner();d0(d,"Signer is required"),await wK(d,c,{});for(let l of o)try{await TK(d,l)}catch(h){console.debug(`Error deploying contract at ${l.predictedAddress}`,h?.message)}return{deployedExtensionAddress:i,extensionMetadata:r.metadataUri}}},IK=class{constructor(e){ae(this,"featureName",zE.name);ae(this,"drop",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC20",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},CK=class{constructor(e){ae(this,"featureName",WE.name);ae(this,"drop",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC721",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},kK=class{constructor(e){ae(this,"featureName",qE.name);ae(this,"drop",be(async(e,n,a)=>Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC1155",args:[e,n,a],parse:r=>{let i=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(s=>({recipient:s.args.recipient,tokenId:s.args.tokenId.toNumber(),amount:s.args.amount.toString()}));return{successfulDropCount:a.length-i.length,failedDropCount:i.length,failedDrops:i}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}}});var Ls0={};G0(Ls0,{SmartContract:()=>R5e});var mRa,bRa,gRa,R5e,Fs0=oe(()=>{"use strict";u();p();Fl();Rf();ln();Ps0();or();ec();Nl();Ol();Vc();Z8();vM();NM();IM();O6e();Da();ir();mRa=Ee(Va()),bRa=Ee(io());W0();gRa=Ee(Yc()),R5e=class{get abi(){return ht.parse(this.contractWrapper.abi||[])}get royalties(){return O0(this.detectRoyalties(),hE)}get roles(){return O0(this.detectRoles(),yE)}get sales(){return O0(this.detectPrimarySales(),gE)}get platformFees(){return O0(this.detectPlatformFees(),bE)}get owner(){return O0(this.detectOwnable(),mE)}get erc20(){return O0(this.detectErc20(),PE)}get erc721(){return O0(this.detectErc721(),RE)}get erc1155(){return O0(this.detectErc1155(),TE)}get app(){return O0(this.detectApp(),rE)}get directListings(){return O0(this.detectDirectListings(),db)}get englishAuctions(){return O0(this.detectEnglishAuctions(),lb)}get offers(){return O0(this.detectOffers(),ub)}get airdrop20(){return O0(this.detectAirdrop20(),zE)}get airdrop721(){return O0(this.detectAirdrop721(),WE)}get airdrop1155(){return O0(this.detectAirdrop1155(),qE)}get accountFactory(){return O0(this.detectAccountFactory(),P9)}get account(){return O0(this.detectAccount(),L9)}get extensions(){return O0(this.detectBaseRouter(),D9)}get chainId(){return this._chainId}constructor(e,n,a,r){let f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new lt(e,n,a,f,r);this._chainId=i,this.storage=r,this.contractWrapper=s,this.events=new Rn(this.contractWrapper),this.encoder=new it(this.contractWrapper),this.interceptor=new Pa(this.contractWrapper),this.estimator=new va(this.contractWrapper),this.publishedMetadata=new _K(this.contractWrapper,this.storage),this.metadata=new Wn(this.contractWrapper,Ul,this.storage)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}prepare(e,n,a){return Me.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:n,overrides:a})}async call(e,n,a){return this.contractWrapper.call(e,n,a)}detectRoyalties(){if(k0(this.contractWrapper,"Royalty")){let e=new Wn(this.contractWrapper,Ul,this.storage);return new Ss(this.contractWrapper,e)}}detectRoles(){if(k0(this.contractWrapper,"Permissions"))return new Tr(this.contractWrapper,uK)}detectPrimarySales(){if(k0(this.contractWrapper,"PrimarySale"))return new Ms(this.contractWrapper)}detectPlatformFees(){if(k0(this.contractWrapper,"PlatformFee"))return new ai(this.contractWrapper)}detectErc20(){if(k0(this.contractWrapper,"ERC20"))return new mb(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(k0(this.contractWrapper,"ERC721"))return new kE(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(k0(this.contractWrapper,"ERC1155"))return new vE(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(k0(this.contractWrapper,"Ownable"))return new Rs(this.contractWrapper)}detectApp(){let e=new Wn(this.contractWrapper,Ul,this.storage);if(k0(this.contractWrapper,"AppURI"))return new ja(this.contractWrapper,e,this.storage);if(k0(this.contractWrapper,"ContractMetadata"))return new ja(this.contractWrapper,e,this.storage)}detectDirectListings(){if(k0(this.contractWrapper,"DirectListings"))return new _E(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(k0(this.contractWrapper,"EnglishAuctions"))return new AE(this.contractWrapper,this.storage)}detectOffers(){if(k0(this.contractWrapper,"Offers"))return new IE(this.contractWrapper,this.storage)}detectBaseRouter(){if(k0(this.contractWrapper,D9.name))return new AK(this.contractWrapper)}detectAirdrop20(){if(k0(this.contractWrapper,"AirdropERC20"))return new IK(this.contractWrapper)}detectAirdrop721(){if(k0(this.contractWrapper,"AirdropERC721"))return new CK(this.contractWrapper)}detectAirdrop1155(){if(k0(this.contractWrapper,"AirdropERC1155"))return new kK(this.contractWrapper)}detectAccountFactory(){if(k0(this.contractWrapper,P9.name))return new EK(this.contractWrapper)}detectAccount(){if(k0(this.contractWrapper,L9.name))return new xK(this.contractWrapper)}}});var Os0={};G0(Os0,{TWProxy__factory:()=>nB});var VE,SK,Ns0,din,nB,Us0=oe(()=>{"use strict";u();p();VE=Ee(Je()),SK=[{type:"constructor",inputs:[{name:"_logic",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],Ns0="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",din=t=>t.length>1,nB=class extends VE.ContractFactory{constructor(){for(var e=arguments.length,n=new Array(e),a=0;a{lin.exports=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function js0(t,e,n){zs0||(zs0=!0,!(e||n)&&console.warn(t))}async function Gs0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=Bf(e,{clientId:r,secretKey:f}),c=(await fc(I2,t,a,n,r,f)).metadataUri,d=await Ls(c,n),l=await c5(s);d0(l,"Thirdweb stack not found");let{extendedMetadata:h}=await Ls(c,n),y;return h?.routerType==="plugin"||h?.routerType==="dynamic"?y=(await N9(c,n,s,l,r,f)).find(k=>k.type==="implementation")?.encodedArgs:y=await lK(d.compilerMetadata,s,n,l,i,r,f),y}async function Ks0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=Bf(e,{clientId:r,secretKey:f}),o=(await fc(I2,t,a,n,r,f)).metadataUri,c=await c5(i);d0(c,"Thirdweb stack not found");let{extendedMetadata:d}=await Ls(o,n);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let y=(await N9(o,n,i,c,r,f)).find(v=>v.type==="implementation")?.transaction.predictedAddress;return d0(y,"Error computing address for plugin router"),y}return(await e6("implementation",i,n,c,{contractName:t},r,f)).transaction.predictedAddress}async function Qs0(t,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=Bf(e,{clientId:r,secretKey:f}),s=await Ks0(t,e,n,a,r,f),o=await Xc(s,i);return d0(o,"Contract not deployed yet"),s}async function Ys0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"latest",i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=await Qs0(t,e,r,f,i,s),d=await Gs0(t,e,r,f,i,s,o);return console.info(`Verifying ${t} at address ${c}`),await U5e(c,e,n,a,r,d?.toString().replace("0x",""))}async function U5e(t,e,n,a,r,f){try{let i=Bf(e,{});t=(await XM(t,i)).address;let s=await ni(t,i,r),o=s.metadata.compiler.version,c=await QE(s,r),d=s.metadata.sources,l={};for(let Q of Object.keys(d)){let V=c.find(X=>Q===X.filename);if(!V)throw new Error(`Could not find source file for ${Q}`);l[Q]={content:V.source}}let h={language:"Solidity",sources:l,settings:{optimizer:s.metadata.settings.optimizer,evmVersion:s.metadata.settings.evmVersion,remappings:s.metadata.settings.remappings,outputSelection:{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},y=s.metadata.settings.compilationTarget,k=Object.keys(y)[0],O=f||await uin(n,a,t,s.abi,i,r),F={apikey:a,module:"contract",action:"verifysourcecode",contractaddress:t,sourceCode:JSON.stringify(h),codeformat:"solidity-standard-json-input",contractname:`${k}:${s.name}`,compilerversion:`v${o}`,constructorArguements:O},z=new URLSearchParams({...F}),j=await(await fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:z.toString()})).json();if(j.status===Vs0.OK)return j.result;throw new Error(`${j.result}`)}catch(i){throw new Error(i.toString())}}async function D5e(t,e,n){let a=`${t}?module=contract&action=checkverifystatus&guid=${n}&apikey=${e}"`;return new Promise((r,f)=>{let i=setInterval(async()=>{try{let o=await(await fetch(a,{method:"GET"})).json();o?.result!==Ws0.PENDING&&o?.result!==Ws0.IN_PROGRESS&&(clearInterval(i),r(o))}catch(s){clearInterval(i),f(s)}},3e3)})}async function uin(t,e,n,a,r,f){let i=ch(a);if(i.length===0)return"";let o=await(await fetch(`${t}?module=contract&action=getcontractcreation&contractaddresses=${n}&apikey=${e}`)).json();if(o&&o.status===Vs0.OK&&o.result[0]!==void 0){let c=new Ht.utils.Interface(a),d=o.result[0].txHash,l="";if(c.deploy.inputs.length===0)return"";let h=await r.getTransaction(d),y=h.data;try{let v=await pin(n,r,f);if(v){let k=v.startsWith("0x")?v:`0x${v}`,O;try{O=await c5(r)}catch{}let F=h.to===O?64:0;l=y.substring(k.length+F)}}catch{}if(!l){let v=[...y.matchAll(/(64736f6c6343[\w]{6}[\w]{4})(?!.*\1)(.*)$/g)];v.length>0&&(l=v[0][2])}if(!l){let v=i.length*64;l=y.substring(y.length-v)}try{Ht.utils.defaultAbiCoder.decode(c.deploy.inputs,`0x${l}`)}catch{throw new Error("Verifying this contract requires it to be published. Run `npx thirdweb publish` to publish this contract, then try again.")}return l}else return""}async function pin(t,e,n){let a=await JM(t,e);if(a){let r=(await Promise.resolve().then(()=>Ee(qW()))).default,i=await new Ht.Contract(GE(),r,Bf("polygon",{})).getPublishedUriFromCompilerUri(a);if(i.length===0)throw Error(`Could not resolve published metadata URI from ${a}`);let s=await Promise.all(i.filter(o=>o.length>0).map(o=>KE(o,n)));return s.length>0?await(await n.download(s[0].bytecodeUri)).text():void 0}}function $s0(t){let e=[];return cK(vb(t),e),e.map(n=>n.name)}function P5e(t){return $s0(t)}function hin(t,e){return t||(e?.gatewayUrls?new km({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new km({clientId:e?.clientId,secretKey:e?.secretKey}))}function F5e(t,e){let n=ht.parse(t||[]);for(let a of n)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Js0(t,e,n,a,r){return n||(n=await c5(t)),(await e6("infra",t,e,n,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function YE(t,e){if(t.length!==e.length)throw Error(`Passed the wrong number of constructor arguments: ${e.length}, expected ${t.length}`);return t.map((n,a)=>n==="tuple"||n.endsWith("[]")?typeof e[a]=="string"?JSON.parse(e[a]):e[a]:n==="bytes32"?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes32 value. Expected valid hex string but got "${e[a]}".`),Ht.utils.hexZeroPad(e[a],32)):n.startsWith("bytes")?(d0(Ht.utils.isHexString(e[a]),`Could not parse bytes value. Expected valid hex string but got "${e[a]}".`),e[a]):n.startsWith("uint")||n.startsWith("int")?Ht.BigNumber.from(e[a].toString()):e[a])}async function H5e(t,e){d0(t.provider,"No provider");let n=await dK(t.provider);if(n.transaction.length>0){(await t.provider.getBalance(n.signer)).lt(n.valueToSend)&&await(await t.sendTransaction({to:n.signer,value:n.valueToSend})).wait();try{console.debug(`deploying CREATE2 factory at: ${n.deployment}`),e?.notifier?.("deploying","create2Factory"),await(await t.provider.sendTransaction(n.transaction)).wait(),e?.notifier?.("deployed","create2Factory")}catch(a){throw new Error(`Couldn't deploy CREATE2 factory: ${JSON.stringify(a)}`)}}return n.deployment}function rs(t,e){return e===Ht.constants.AddressZero?t:e}async function z5e(t,e,n,a){let r=e.defaultAdmin||await a.getAddress(),f=[];switch(e.trusted_forwarders&&e.trusted_forwarders.length>0&&f.push(...e.trusted_forwarders),t){case R2.contractType:case Tb.contractType:let i=await R2.schema.deploy.parseAsync(e);return[r,i.name,i.symbol,n,f,rs(r,i.primary_sale_recipient),i.fee_recipient,i.seller_fee_basis_points,i.platform_fee_basis_points,rs(r,i.platform_fee_recipient)];case B2.contractType:let s=await B2.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,n,f,rs(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(r,s.platform_fee_recipient)];case S2.contractType:let o=await S2.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,n,f,o.fee_recipient,o.seller_fee_basis_points];case C2.contractType:case wb.contractType:let c=await C2.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,n,f,rs(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,rs(r,c.platform_fee_recipient)];case xb.contractType:case P2.contractType:let d=await P2.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,n,f,rs(r,d.primary_sale_recipient),rs(r,d.platform_fee_recipient),d.platform_fee_basis_points];case L2.contractType:let l=await L2.schema.deploy.parseAsync(e);return[l.name,n,f,l.voting_token_address,l.voting_delay_in_blocks,l.voting_period_in_blocks,Ht.BigNumber.from(l.proposal_token_threshold),l.voting_quorum_fraction];case D2.contractType:let h=await D2.schema.deploy.parseAsync(e);return[r,n,f,h.recipients.map(k=>k.address),h.recipients.map(k=>Ht.BigNumber.from(k.sharesBps))];case k2.contractType:case dh.contractType:let y=await k2.schema.deploy.parseAsync(e);return[r,n,f,rs(r,y.platform_fee_recipient),y.platform_fee_basis_points];case M2.contractType:let v=await M2.schema.deploy.parseAsync(e);return[r,v.name,v.symbol,n,f,v.fee_recipient,v.seller_fee_basis_points];default:return[]}}function Xs0(t,e){if(t in N5e){let n=N5e[t];if(e in n)return n[e]}return null}async function Zs0(t,e,n,a,r){let f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7e6;d0(n.provider,"Provider is required");let i=t.startsWith("0x")?t:`0x${t}`,s=await H5e(n),o=ch(e),c=o.map(O=>O.type),d=YE(c,a),l=o.map(O=>O.type==="tuple[]"?Ht.utils.ParamType.from(O):O.type),h=Ht.utils.defaultAbiCoder.encode(l,d),y=jE(i,h,s,r),v=await Xc(y,n.provider),k="";if(v)throw new Error(`Contract already deployed at ${y}`);{console.debug(`deploying contract via create2 factory at: ${y}`),k=QM(i,h,r);let O={to:s,data:k};try{await n.estimateGas(O)}catch(F){console.debug("error estimating gas while deploying prebuilt: ",F),O.gasLimit=Ht.BigNumber.from(f)}await(await n.sendTransaction(O)).wait()}return y}async function eo0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:7e6,d=(await fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:l,extendedMetadata:h}=await Ls(d,f);return d0(h?.deployType==="standard","Must be direct deploy"),await Zs0(l.bytecode,l.abi,r,a,o,c)}async function to0(t,e,n,a,r){let f=t.startsWith("0x")?t:`0x${t}`,i=await c5(n),s=ch(e),o=s.map(y=>y.type),c=YE(o,a),d=s.map(y=>y.type==="tuple[]"?Ht.utils.ParamType.from(y):y.type),l=Ht.utils.defaultAbiCoder.encode(d,c);return jE(f,l,i,r)}async function no0(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=(await fc(e,t,n,f,i,s)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await Ls(c,f);return d0(l?.deployType==="standard","Must be direct deploy"),await to0(d.bytecode,d.abi,r,a,o)}function B5e(t,e){return VM(t)&&(e={...e,supportedChains:[t,...e?.supportedChains||[]]}),e}var qs0,Ht,zs0,Ws0,Vs0,RK,aB,MK,L5e,min,N5e,BK,O5e,bin,yin,gin,M5e,Wl,Ab,DK,ao0=oe(()=>{"use strict";u();p();ln();Ax();ks0();qs0=Ee(xoe());Ss0();Ht=Ee(Je());Da();or();W0();ir();i5();Hc();Ms0();C5e();mK();Bs0();zs0=!1;Ws0={FAILED:"Fail - Unable to verify",SUCCESS:"Pass - Verified",PENDING:"Pending in queue",IN_PROGRESS:"In progress",ALREADY_VERIFIED:"Contract source code already verified",AUTOMATICALLY_VERIFIED:"Already Verified"},Vs0={OK:"1",NOTOK:"0"};RK=class extends E2{constructor(e,n,a){super(e,n),this.storage=a}updateSignerOrProvider(e){super.updateSignerOrProvider(e)}async verifyThirdwebContract(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",f=arguments.length>4?arguments[4]:void 0,i=(await this.getProvider().getNetwork()).chainId,s=await Ys0(e,i,n,a,this.storage,r,this.options.clientId,this.options.secretKey,f);console.info("Checking verification status...");let o=await D5e(n,a,s);console.info(o)}async verifyContract(e,n,a,r){let f=(await this.getProvider().getNetwork()).chainId,i;if(r){let c=Object.values(r).map(l=>(d0(l.type,"Param type is required"),l.type)),d=Object.values(r).map(l=>l.value);i=Ht.utils.defaultAbiCoder.encode(c,d)}let s=await U5e(e,f,n,a,this.storage,i);console.info("Checking verification status...");let o=await D5e(n,a,s);console.info(o)}},aB="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",MK=class t{constructor(e,n,a){ae(this,"events",new R6);this.connection=new E2(e,n),this.options=n,this.events=new R6,this.storage=a}connect(e){this.connection.updateSignerOrProvider(e),this.events.emit("signerChanged",this.connection.getSigner())}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,[r,f,i]=await Promise.all([Oe(e),Oe(a),ta(this.connection.getProvider(),n,a)]),s=this.requireWallet();if(mf(f)){let o=await s.getAddress(),c=$7()?{}:await Bl(this.connection.getProvider());return{receipt:await(await s.sendTransaction({from:o,to:r,value:i,...c})).wait()}}else{let o=(await Promise.resolve().then(()=>Ee(K1()))).default;return{receipt:await this.createErc20(f,o).sendTransaction("transfer",[r,i])}}}async balance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf;this.requireWallet();let n=await Oe(e),a=this.connection.getProvider(),r;if(mf(n))r=await a.getBalance(await this.getAddress());else{let f=(await Promise.resolve().then(()=>Ee(K1()))).default;r=await this.createErc20(n,f).read("balanceOf",[await this.getAddress()])}return await Ja(a,n,r)}async getAddress(){return await this.requireWallet().getAddress()}async getChainId(){return await this.requireWallet().getChainId()}async getNonce(e){return await this.connection.getProvider().getTransactionCount(await this.getAddress(),e)}isConnected(){try{return this.requireWallet(),!0}catch{return!1}}async sign(e){return await this.requireWallet().signMessage(e)}async signTypedData(e,n,a){return await Kc(this.requireWallet(),e,n,a)}recoverAddress(e,n){let a=Ht.utils.hashMessage(e),r=Ht.utils.arrayify(a);return Ht.utils.recoverAddress(r,n)}async sendRawTransaction(e){let n=this.requireWallet();return e={...$7()?{}:await Bl(this.connection.getProvider()),...e},n.sendTransaction(e)}async executeRawTransaction(e){return{receipt:await(await this.sendRawTransaction(e)).wait()}}async requestFunds(e){let n=await this.getChainId();if(n===E0.Localhost||n===E0.Hardhat)return new t(new Ht.Wallet(aB,Bf(n,this.options)),this.options,this.storage).transfer(await this.getAddress(),e);throw new Error(`Requesting funds is not supported on chain: '${n}'.`)}requireWallet(){let e=this.connection.getSigner();return d0(e,"This action requires a connected wallet. Please pass a valid signer to the SDK."),e}createErc20(e,n){return new lt(this.connection.getSignerOrProvider(),e,n,this.options,this.storage)}};L5e=class{constructor(e,n){ae(this,"addContract",be(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"add",args:[n,e.address,e.chainId,e.metadataURI||""]})}));ae(this,"addContracts",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=[],r=new it(this.registryLogic);return e.forEach(f=>{a.push(r.encode("add",[n,f.address,f.chainId,f.metadataURI||""]))}),Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[a]})}));ae(this,"removeContract",be(async e=>{let n=await this.registryRouter.getSignerAddress();return Me.fromContractWrapper({contractWrapper:this.registryLogic,method:"remove",args:[n,await Oe(e.address),e.chainId]})}));ae(this,"removeContracts",be(async e=>{let n=await this.registryRouter.getSignerAddress(),a=new it(this.registryLogic),r=await Promise.all(e.map(async f=>a.encode("remove",[n,await Oe(f.address),f.chainId])));return Me.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[r]})}));let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.storage=n,this.registryLogic=new lt(e,ZM(),qs0.default,a,n),this.registryRouter=new lt(e,ZM(),Rs0,a,n)}async updateSigner(e){this.registryLogic.updateSignerOrProvider(e),this.registryRouter.updateSignerOrProvider(e)}async getContractMetadataURI(e,n){return await this.registryLogic.read("getMetadataUri",[e,await Oe(n)])}async getContractMetadata(e,n){let a=await this.getContractMetadataURI(e,n);if(!a)throw new Error(`No metadata URI found for contract ${n} on chain ${e}`);return await this.storage.downloadJSON(a)}async getContractAddresses(e){return(await this.registryLogic.read("getAll",[await Oe(e)])).filter(n=>Ht.utils.isAddress(n.deploymentAddress)&&n.deploymentAddress.toLowerCase()!==Ht.constants.AddressZero).map(n=>({address:n.deploymentAddress,chainId:n.chainId.toNumber()}))}};min=[E0.Mainnet,E0.Goerli,E0.Polygon,E0.Mumbai,E0.Fantom,E0.FantomTestnet,E0.Avalanche,E0.AvalancheFujiTestnet,E0.Optimism,E0.OptimismGoerli,E0.Arbitrum,E0.ArbitrumGoerli,E0.BinanceSmartChainMainnet,E0.BinanceSmartChainTestnet,E0.Hardhat,E0.Localhost];N5e={[E0.Mainnet]:{"nft-drop":"0x60fF9952e0084A6DEac44203838cDC91ABeC8736","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","signature-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A"},[E0.Polygon]:{"nft-drop":"0xB96508050Ba0925256184103560EBADA912Fcc69","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","signature-drop":"0xBE2fDc35410E268e41Bec62DBb01AEb43245c7d5"},[E0.Fantom]:{"nft-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","edition-drop":"0x06395FCF9AC6ED827f9dD6e776809cEF1Be0d21B","token-drop":"0x0148b28a38efaaC31b6aa0a6D9FEb70FE7C91FFa","signature-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10"},[E0.Avalanche]:{"nft-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","edition-drop":"0x135fC9D26E5eC51260ece1DF4ED424E2f55c7766","token-drop":"0xca0B071899E575BA86495D46c5066971b6f3A901","signature-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3"},[E0.Optimism]:{"nft-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","edition-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","token-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","signature-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD"},[E0.Arbitrum]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.BinanceSmartChainMainnet]:{"nft-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","edition-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","token-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","signature-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1"},[E0.Goerli]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","token-drop":"0x5680933221B752EB443654a014f88B101F868d50","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.Mumbai]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[E0.FantomTestnet]:{"nft-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD","edition-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","token-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","signature-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf"},[E0.AvalancheFujiTestnet]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","token-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","signature-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F"},[E0.OptimismGoerli]:{"nft-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","edition-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","token-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[E0.ArbitrumGoerli]:{"nft-drop":"0x9CfE807a5b124b962064Fa8F7FD823Cc701255b6","edition-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","token-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3","signature-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728"},[E0.BinanceSmartChainTestnet]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Hardhat]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[E0.Localhost]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""}};BK=class extends lt{constructor(n,a,r,f){super(a,n,Ds0,f,r);ae(this,"DEFAULT_VERSION_MAP",{[R2.contractType]:3,[Tb.contractType]:1,[B2.contractType]:4,[S2.contractType]:1,[C2.contractType]:2,[wb.contractType]:1,[xb.contractType]:2,[P2.contractType]:1,[L2.contractType]:1,[D2.contractType]:1,[k2.contractType]:2,[dh.contractType]:3,[M2.contractType]:2});ae(this,"deploy",be(async(n,a,r,f,i,s)=>{let o=Eb[n],c=await o.schema.deploy.parseAsync(a),d=await this.storage.upload(c),l=await this.getImplementation(o,f)||void 0;if(!l||l===Ht.constants.AddressZero)throw new Error(`No implementation found for ${n}`);let h=await o.getAbi(l,this.getProvider(),this.storage),y=this.getSigner();d0(y,"A signer is required to deploy contracts");let v=await z5e(n,c,d,y),k=Ht.Contract.getInterface(h).encodeFunctionData("initialize",v),O=await this.getProvider().getBlockNumber(),F=i?.saltForProxyDeploy?Ht.utils.id(i.saltForProxyDeploy):Ht.utils.formatBytes32String(O.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[l,k,F],parse:z=>{s&&s();let W=this.parseLogs("ProxyDeployed",z.logs);if(W.length<1)throw new Error("No ProxyDeployed event found");let j=W[0].args.proxy;return r.emit("contractDeployed",{status:"completed",contractAddress:j,transactionHash:z.transactionHash}),j}})}));ae(this,"deployProxyByImplementation",be(async(n,a,r,f,i,s,o)=>{let c=Ht.Contract.getInterface(a).encodeFunctionData(r,f),d=await this.getProvider().getBlockNumber(),l=s?Ht.utils.id(s):Ht.utils.formatBytes32String(d.toString());return Me.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[n,c,l],parse:h=>{o&&o();let y=this.parseLogs("ProxyDeployed",h.logs);if(y.length<1)throw new Error("No ProxyDeployed event found");let v=y[0].args.proxy;return i.emit("contractDeployed",{status:"completed",contractAddress:v,transactionHash:h.transactionHash}),v}})}));this.storage=r}async getDeployArguments(n,a,r){let f=[];a.trusted_forwarders&&a.trusted_forwarders.length>0&&(f=a.trusted_forwarders);let i=await this.getSignerAddress();switch(n){case R2.contractType:case Tb.contractType:let s=await R2.schema.deploy.parseAsync(a);return[i,s.name,s.symbol,r,f,rs(i,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,rs(i,s.platform_fee_recipient)];case B2.contractType:let o=await B2.schema.deploy.parseAsync(a);return[i,o.name,o.symbol,r,f,rs(i,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,rs(i,o.platform_fee_recipient)];case S2.contractType:let c=await S2.schema.deploy.parseAsync(a);return[i,c.name,c.symbol,r,f,c.fee_recipient,c.seller_fee_basis_points];case C2.contractType:case wb.contractType:let d=await C2.schema.deploy.parseAsync(a);return[i,d.name,d.symbol,r,f,rs(i,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,rs(i,d.platform_fee_recipient)];case xb.contractType:case P2.contractType:let l=await P2.schema.deploy.parseAsync(a);return[i,l.name,l.symbol,r,f,rs(i,l.primary_sale_recipient),rs(i,l.platform_fee_recipient),l.platform_fee_basis_points];case L2.contractType:let h=await L2.schema.deploy.parseAsync(a);return[h.name,r,f,h.voting_token_address,h.voting_delay_in_blocks,h.voting_period_in_blocks,Ht.BigNumber.from(h.proposal_token_threshold),h.voting_quorum_fraction];case D2.contractType:let y=await D2.schema.deploy.parseAsync(a);return[i,r,f,y.recipients.map(F=>F.address),y.recipients.map(F=>Ht.BigNumber.from(F.sharesBps))];case k2.contractType:let v=await k2.schema.deploy.parseAsync(a);return[i,r,f,rs(i,v.platform_fee_recipient),v.platform_fee_basis_points];case dh.contractType:let k=await dh.schema.deploy.parseAsync(a);return[i,r,f,rs(i,k.platform_fee_recipient),k.platform_fee_basis_points];case M2.contractType:let O=await M2.schema.deploy.parseAsync(a);return[i,O.name,O.symbol,r,f,O.fee_recipient,O.seller_fee_basis_points];default:return[]}}async getImplementation(n,a){let r=Ht.utils.formatBytes32String(n.name),f=await this.getChainID(),i=Xs0(f,n.contractType);return i&&i.length>0&&a===void 0?i:this.read("getImplementation",[r,a!==void 0?a:this.DEFAULT_VERSION_MAP[n.contractType]])}async getLatestVersion(n){let a=hK(n);if(!a)throw new Error(`Invalid contract type ${n}`);let r=Ht.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},O5e=class extends lt{constructor(n,a,r,f,i){super(a,n,f,i,r);ae(this,"addContract",be(async n=>await this.addContracts.prepare([n])));ae(this,"addContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("add",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}));ae(this,"removeContract",be(async n=>await this.removeContracts.prepare([n])));ae(this,"removeContracts",be(async n=>{let a=await this.getSignerAddress(),r=new it(this),f=(await Promise.all(n.map(i=>Oe(i)))).map(i=>r.encode("remove",[a,i]));return Me.fromContractWrapper({contractWrapper:this,method:"multicall",args:[f]})}))}async getContractAddresses(n){return(await this.read("getAll",[await Oe(n)])).filter(a=>Ht.utils.isAddress(a)&&a.toLowerCase()!==Ht.constants.AddressZero)}},bin=Fi.merge(vi).merge(fi),yin=bin.merge(tc).merge(A2).merge(l1),gin=Fi.merge(fi),M5e=gin.merge(l1);Wl=class t extends E2{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;js0("No API key. Please provide a clientId. It is required to access thirdweb's services. You can create a key at https://thirdweb.com/create-api-key",a.clientId,a.secretKey),a=B5e(n,a);super(n,a);ae(this,"contractCache",new Map);a5e(a?.supportedChains);let s=hin(r,a);this.storage=s,this.storageHandler=s,this.wallet=new MK(n,a,s),this.deployer=new DK(n,a,s),this.verifier=new RK(n,a,s),this.multiChainRegistry=new L5e(n,this.storageHandler,this.options),this._publisher=new bK(n,this.options,this.storageHandler)}static async fromWallet(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=await n.getSigner();return t.fromSigner(i,a,r,f)}static fromSigner(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=n;if(a)try{let o=Bf(a,r);i=n.connect(o)}catch{}let s=new t(a||i,a?B5e(a,r):r,f);return s.updateSignerOrProvider(i),s}static fromPrivateKey(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0,i=Bf(a,r),s=new Ht.Wallet(n,i);return new t(s,B5e(a,r),f)}get auth(){throw new Error(`The sdk.auth namespace has been moved to the @thirdweb-dev/auth package and is no longer available after @thirdweb-dev/sdk >= 3.7.0. +`,O=`${h.name}(${A})`,N=t.transactionHash||t.transaction?.hash||t.receipt?.transactionHash,U=LA(t),q;try{let W=(await s.getNetwork()).chainId,G=RA(this.address,W);G?.name&&(q=G.name)}catch{}return new x7({reason:U,from:o,to:c,method:O,data:d,network:f,rpcUrl:y,value:l,hash:N,contractName:q},t)}async sendGaslessTransaction(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=this.getSigner();at(i,"Cannot execute gasless transaction without valid signer");let s=await this.getChainID(),f=await this.getSignerAddress(),o=this.writeContract.address,c=r?.value||0;if(Ye.BigNumber.from(c).gt(0))throw new Error("Cannot send native token value with gasless transaction");let d=this.writeContract.interface.encodeFunctionData(t,a),l=Ye.BigNumber.from(0);try{l=(await this.readContract.estimateGas[t](...a)).mul(2)}catch{}l.lt(1e5)&&(l=Ye.BigNumber.from(5e5)),r.gasLimit&&Ye.BigNumber.from(r.gasLimit).gt(l)&&(l=Ye.BigNumber.from(r.gasLimit));let y={from:f,to:o,data:d,chainId:s,gasLimit:l,functionName:t.toString(),functionArgs:a,callOverrides:r};return await this.defaultGaslessSendFunction(y)}async signTypedData(t,a,r,i){this.emit(jo.Signature,{status:"submitted",message:i,signature:""});let{signature:s}=await Ic(t,a,r,i);return this.emit(jo.Signature,{status:"completed",message:i,signature:s}),s}parseLogs(t,a){if(!a||a.length===0)return[];let r=this.writeContract.interface.getEventTopic(t);return a.filter(s=>s.topics.indexOf(r)>=0).map(s=>this.writeContract.interface.parseLog(s))}async defaultGaslessSendFunction(t){return this.options.gasless&&"biconomy"in this.options.gasless?this.biconomySendFunction(t):this.options.gasless&&"openzeppelin"in this.options.gasless?this.defenderSendFunction(t):this.engineSendFunction(t)}async engineSendFunction(t){at(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without engine config in the SDK options");let a=await this.enginePrepareRequest(t),i=await(await fetch(this.options.gasless.engine.relayerUrl,{...a,headers:{"Content-Type":"application/json"}})).json();if(i.error)throw new Error(i.error?.message||JSON.stringify(i.error));let s=i.result.queueId,f=this.options.gasless.engine.relayerUrl.split("/relayer/")[0],o=Date.now();for(;;){let d=await(await fetch(`${f}/transaction/status/${s}`)).json();if(d.result.transactionHash)return d.result.transactionHash;if(Date.now()-o>30*1e3)throw new Error("timeout");await new Promise(l=>setTimeout(l,2e3))}}async enginePrepareRequest(t){at(this.options.gasless&&"engine"in this.options.gasless,"calling engine gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider(),i=this.storage;at(a,"signer is not set");try{let{abi:s}=await $i(t.to,r,i),f=(await r.getNetwork()).chainId,o=new n(a,t.to,s,{},i);if(s.find(c=>c.name==="executeMetaTransaction")){let d={name:await o.call("name",[]),version:"1",salt:"0x"+f.toString(16).padStart(64,"0"),verifyingContract:t.to},l={MetaTransaction:[{name:"nonce",type:"uint256"},{name:"from",type:"address"},{name:"functionSignature",type:"bytes"}]},h={nonce:await o.call("getNonce",[t.from]),from:t.from,functionSignature:t.data},{signature:T}=await Ic(a,d,l,h);return{method:"POST",body:JSON.stringify({type:"execute-meta-transaction",request:{from:t.from,to:t.to,data:t.data},signature:T})}}}catch{}if(t.functionName==="approve"&&t.functionArgs.length===2){let s=t.functionArgs[0],f=t.functionArgs[1],{message:o,signature:c}=await NA(a,t.to,t.from,s,f,this.options.gasless.engine.domainSeparatorVersion),d={to:t.to,owner:o.owner,spender:o.spender,value:Ye.BigNumber.from(o.value).toString(),nonce:Ye.BigNumber.from(o.nonce).toString(),deadline:Ye.BigNumber.from(o.deadline).toString()};return{method:"POST",body:JSON.stringify({type:"permit",request:d,signature:c})}}else{let s=this.options.gasless.engine.relayerForwarderAddress||N5[t.chainId]?.openzeppelinForwarder||await w7(r,i),f=(await Promise.resolve().then(()=>Te(kS()))).default,o=new Ye.Contract(s,f,r),c=await I7(o,"getNonce",[t.from]),d,l,y;this.options.gasless.experimentalChainlessSupport?(d={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:s},l={ForwardRequest:BA},y={from:t.from,to:t.to,value:Ye.BigNumber.from(0).toString(),gas:Ye.BigNumber.from(t.gasLimit).toString(),nonce:Ye.BigNumber.from(c).toString(),data:t.data,chainid:Ye.BigNumber.from(t.chainId).toString()}):(d={name:this.options.gasless.engine.domainName,version:this.options.gasless.engine.domainVersion,chainId:t.chainId,verifyingContract:s},l={ForwardRequest:MA},y={from:t.from,to:t.to,value:Ye.BigNumber.from(0).toString(),gas:Ye.BigNumber.from(t.gasLimit).toString(),nonce:Ye.BigNumber.from(c).toString(),data:t.data});let{signature:h}=await Ic(a,d,l,y);return{method:"POST",body:JSON.stringify({type:"forward",request:y,signature:h,forwarderAddress:s})}}}async biconomySendFunction(t){at(this.options.gasless&&"biconomy"in this.options.gasless,"calling biconomySendFunction without biconomy");let a=this.getSigner(),r=this.getProvider();at(a&&r,"signer and provider must be set");let i=new Ye.Contract(E7(t.chainId,"biconomyForwarder"),n1e,r),s=0,f=await I7(i,"getNonce",[t.from,s]),o={from:t.from,to:t.to,token:Ye.constants.AddressZero,txGas:t.gasLimit.toNumber(),tokenGasPrice:"0",batchId:s,batchNonce:f.toNumber(),deadline:Math.floor(Date.now()/1e3+(this.options?.gasless&&"biconomy"in this.options.gasless&&this.options.gasless.biconomy?.deadlineSeconds||3600)),data:t.data},c=Ye.utils.arrayify(Ye.utils.solidityKeccak256(["address","address","address","uint256","uint256","uint256","uint256","uint256","bytes32"],[o.from,o.to,o.token,o.txGas,o.tokenGasPrice,o.batchId,o.batchNonce,o.deadline,Ye.utils.keccak256(o.data)]));this.emit(jo.Signature,{status:"submitted",message:c,signature:""});let d=await a.signMessage(c);this.emit(jo.Signature,{status:"completed",message:c,signature:d});let l=await fetch("https://api.biconomy.io/api/v2/meta-tx/native",{method:"POST",body:JSON.stringify({from:t.from,apiId:this.options.gasless.biconomy.apiId,params:[o,d],to:t.to,gasLimit:t.gasLimit.toHexString()}),headers:{"x-api-key":this.options.gasless.biconomy.apiKey,"Content-Type":"application/json;charset=utf-8"}});if(l.ok){let y=await l.json();if(!y.txHash)throw new Error(`relay transaction failed: ${y.log}`);return y.txHash}throw new Error(`relay transaction failed with status: ${l.status} (${l.statusText})`)}async defenderSendFunction(t){at(this.options.gasless&&"openzeppelin"in this.options.gasless,"calling openzeppelin gasless transaction without openzeppelin config in the SDK options");let a=this.getSigner(),r=this.getProvider();at(a,"provider is not set"),at(r,"provider is not set");let i=(await Promise.resolve().then(()=>Te(kS()))).default,s=this.options.gasless.openzeppelin.relayerForwarderAddress||(this.options.gasless.openzeppelin.useEOAForwarder?N5[t.chainId]?.openzeppelinForwarderEOA||await PH(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey):N5[t.chainId]?.openzeppelinForwarder||await w7(this.getProvider(),this.storage,"",this.options.clientId,this.options.secretKey)),f=new Ye.Contract(s,i,r),o=await I7(f,"getNonce",[t.from]),c,d,l;this.options.gasless.experimentalChainlessSupport?(c={name:"GSNv2 Forwarder",version:"0.0.1",verifyingContract:s},d={ForwardRequest:BA},l={from:t.from,to:t.to,value:Ye.BigNumber.from(0).toString(),gas:Ye.BigNumber.from(t.gasLimit).toString(),nonce:Ye.BigNumber.from(o).toString(),data:t.data,chainid:Ye.BigNumber.from(t.chainId).toString()}):(c={name:this.options.gasless.openzeppelin.domainName,version:this.options.gasless.openzeppelin.domainVersion,chainId:t.chainId,verifyingContract:s},d={ForwardRequest:MA},l={from:t.from,to:t.to,value:Ye.BigNumber.from(0).toString(),gas:Ye.BigNumber.from(t.gasLimit).toString(),nonce:Ye.BigNumber.from(o).toString(),data:t.data});let y;if(this.emit(jo.Signature,{status:"submitted",message:l,signature:""}),t.functionName==="approve"&&t.functionArgs.length===2){let O=t.functionArgs[0],N=t.functionArgs[1],{message:U,signature:q}=await NA(a,this.writeContract.address,t.from,O,N,this.options.gasless.openzeppelin.domainSeparatorVersion),{r:W,s:G,v:X}=Ye.utils.splitSignature(q);l={to:this.address,owner:U.owner,spender:U.spender,value:Ye.BigNumber.from(U.value).toString(),nonce:Ye.BigNumber.from(U.nonce).toString(),deadline:Ye.BigNumber.from(U.deadline).toString(),r:W,s:G,v:X},y=q}else{let{signature:O}=await Ic(a,c,d,l);y=O}let h="forward";l?.owner&&(h="permit");let T=JSON.stringify({request:l,signature:y,forwarderAddress:s,type:h});this.emit(jo.Signature,{status:"completed",message:l,signature:y});let A=await fetch(this.options.gasless.openzeppelin.relayerUrl,{method:"POST",body:T});if(A.ok){let O=await A.json();if(!O.result)throw new Error(`Relay transaction failed: ${O.message}`);return JSON.parse(O.result).txHash}throw new Error(`relay transaction failed with status: ${A.status} (${A.statusText})`)}};krt={admin:"",transfer:"TRANSFER_ROLE",minter:"MINTER_ROLE",pauser:"PAUSER_ROLE",lister:"LISTER_ROLE",asset:"ASSET_ROLE",unwrap:"UNWRAP_ROLE",factory:"FACTORY_ROLE",signer:"SIGNER_ROLE",metadata:"METADATA_ROLE",revoke:"REVOKE_ROLE",migration:"MIGRATION_ROLE"},Uz=Object.keys(krt);ade=_s.merge(as).merge(Ey).merge(Hi),Prt=yd.merge(as).merge(Ey).merge(Hi),Rrt=ade.merge(B1).merge(K5).merge(Qo),XH={deploy:Rrt,output:Prt,input:ade},Lrt=_s.merge(Ey).merge(Hi),Snn=yd.merge(Ey).merge(Hi),Ann=Lrt.merge(B1).merge(K5).merge(Qo),uce={deploy:Ann,output:Snn,input:Lrt},rde=_s.merge(as).merge(Ey).merge(Hi),Mrt=yd.merge(as).merge(Ey).merge(Hi),Brt=rde.merge(B1).merge(K5).merge(Qo),wy={deploy:Brt,output:Mrt,input:rde},ide=_s,Nrt=yd,Frt=ide.merge(B1).merge(Qo),B7={deploy:Frt,output:Nrt,input:ide},Ort=_s.merge(as).merge(Hi),knn=yd.merge(as).merge(Hi),Pnn=Ort.merge(Qo),G1e={deploy:Pnn,output:knn,input:Ort},sde=_s.merge(as).merge(Hi),Vrt=yd.merge(as).merge(Hi),$rt=sde.merge(B1).merge(Qo),uz={deploy:$rt,output:Vrt,input:sde},Urt=re.object({address:Kn,sharesBps:b3.gt(0,"Shares must be greater than 0")}),Rnn=Urt.extend({address:Kn,sharesBps:b3}),Mz=_s.extend({recipients:re.array(Urt).default([]).superRefine((n,e)=>{let t={},a=0;for(let r=0;r1e4&&e.addIssue({code:re.ZodIssueCode.custom,message:"Total shares cannot go over 100%.",path:[r,"sharesBps"]})}a!==1e4&&e.addIssue({code:re.ZodIssueCode.custom,message:`Total shares need to add up to 100%. Total shares are currently ${a/100}%`,path:[]})})}),qrt=yd.extend({recipients:re.array(Rnn)}),Hrt=Mz.merge(Mz).merge(Qo),bz={deploy:Hrt,output:qrt,input:Mz},fde=_s.merge(as).merge(Hi),zrt=yd.merge(as).merge(Hi),Wrt=fde.merge(B1).merge(K5).merge(Qo),ez={deploy:Wrt,output:zrt,input:fde},ode=_s.merge(Hi),jrt=yd.merge(Hi),Grt=ode.merge(B1).merge(K5).merge(Qo),vz={deploy:Grt,output:jrt,input:ode},cde=_s.merge(as).merge(Hi),Krt=yd.merge(as).merge(Hi),Qrt=cde.merge(B1).merge(K5).merge(Qo),dz={deploy:Qrt,output:Krt,input:cde},dde=re.object({voting_delay_in_blocks:re.number().min(0).default(0),voting_period_in_blocks:re.number().min(1).default(1),voting_token_address:Kn,voting_quorum_fraction:M0n.default(0),proposal_token_threshold:$a.default(1)}),Yrt=dde.extend({proposal_token_threshold:Os}),lde=_s.merge(dde),Jrt=yd.merge(Yrt),Xrt=lde.merge(Qo),_z={deploy:Xrt,output:Jrt,input:lde},dce=["admin"],bf=["admin","minter","transfer","metadata"],Tw=["admin","lister","asset"],fce=["admin","minter","asset","transfer"],yce=["admin","transfer"],K1e=["admin","transfer","minter","unwrap","asset"],In={vote:"vote",token:"token","edition-drop":"edition-drop",edition:"edition",marketplace:"marketplace","marketplace-v3":"marketplace-v3",multiwrap:"multiwrap","nft-collection":"nft-collection","nft-drop":"nft-drop",pack:"pack","signature-drop":"signature-drop",split:"split","token-drop":"token-drop"},Y5={name:"DropERC1155",contractType:In["edition-drop"],schema:XH,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(K0t(),G0t)),f.getNetwork()]);return new c.EditionDrop(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);if(a)return a;let r=await qz(n,e);return!r||r.version>2?(await Promise.resolve().then(()=>Te(Q0t()))).default:(await Promise.resolve().then(()=>Te(Y0t()))).default}},M3={name:"TokenERC1155",contractType:In.edition,schema:ez,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Z0t(),X0t)),f.getNetwork()]);return new c.Edition(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(ent()))).default}},J5={name:"Marketplace",contractType:In.marketplace,schema:B7,roles:Tw,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(rnt(),ant)),f.getNetwork()]);return new c.Marketplace(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(int()))).default}},Cy={name:"MarketplaceV3",contractType:In["marketplace-v3"],schema:B7,roles:Tw,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(ont(),fnt)),f.getNetwork()]);return new c.MarketplaceV3(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t,a)=>{let r=(await e.getNetwork()).chainId;if(r===280||r===300||r===324||r===302||r===11124){let c=(await Yo(Q5,"MarketplaceV3","latest",t,a?.clientId,a?.secretKey)).metadataUri;return await mnn(c,t)}let s=await Pc(n,e,t);if(s)return await c3(n,s,e,{},t);let f=(await Promise.resolve().then(()=>Te(cnt()))).default;return await c3(n,p0.parse(f||[]),e,{},t)}},X5={name:"Multiwrap",contractType:In.multiwrap,schema:G1e,roles:K1e,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(unt(),pnt)),f.getNetwork()]);return new c.Multiwrap(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(ynt()))).default}},B3={name:"TokenERC721",contractType:In["nft-collection"],schema:dz,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(hnt(),bnt)),f.getNetwork()]);return new c.NFTCollection(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(gnt()))).default}},Z5={name:"DropERC721",contractType:In["nft-drop"],schema:wy,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Tnt(),vnt)),f.getNetwork()]);return new c.NFTDrop(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);if(a)return a;let r=await qz(n,e);return!r||r.version>3?(await Promise.resolve().then(()=>Te(_nt()))).default:(await Promise.resolve().then(()=>Te(wnt()))).default}},eu={name:"Pack",contractType:In.pack,schema:uz,roles:fce,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Dnt(),Ent)),f.getNetwork()]);return new c.Pack(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||p0.parse((await Promise.resolve().then(()=>Te(Cnt()))).default||[])}},tu={name:"SignatureDrop",contractType:In["signature-drop"],schema:wy,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Ant(),Snt)),f.getNetwork()]);return new c.SignatureDrop(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);if(a)return a;let r=await qz(n,e);return!r||r.version>4?(await Promise.resolve().then(()=>Te(knt()))).default:(await Promise.resolve().then(()=>Te(Pnt()))).default}},nu={name:"Split",contractType:In.split,schema:bz,roles:dce,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Lnt(),Rnt)),f.getNetwork()]);return new c.Split(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(Mnt()))).default}},N3={name:"DropERC20",contractType:In["token-drop"],schema:uce,roles:yce,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Fnt(),Nnt)),f.getNetwork()]);return new c.TokenDrop(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);if(a)return a;let r=await qz(n,e);return!r||r.version>2?(await Promise.resolve().then(()=>Te(Ont()))).default:(await Promise.resolve().then(()=>Te(Vnt()))).default}},au={name:"TokenERC20",contractType:In.token,schema:vz,roles:bf,initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Unt(),$nt)),f.getNetwork()]);return new c.Token(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(qnt()))).default}},ru={name:"VoteERC20",contractType:In.vote,schema:_z,roles:[],initialize:async function(){for(var n=arguments.length,e=new Array(n),t=0;t(Wnt(),znt)),f.getNetwork()]);return new c.Vote(a,r,i,s,o,d.chainId)},getAbi:async(n,e,t)=>{let a=await Pc(n,e,t);return a||(await Promise.resolve().then(()=>Te(jnt()))).default}};F3={[In["edition-drop"]]:Y5,[In.edition]:M3,[In.marketplace]:J5,[In["marketplace-v3"]]:Cy,[In.multiwrap]:X5,[In["nft-collection"]]:B3,[In["nft-drop"]]:Z5,[In.pack]:eu,[In["signature-drop"]]:tu,[In.split]:nu,[In["token-drop"]]:N3,[In.token]:au,[In.vote]:ru},pde={[In["edition-drop"]]:"ipfs://QmNm3wRzpKYWo1SRtJfgfxtvudp5p2nXD6EttcsQJHwTmk",[In.edition]:"",[In.marketplace]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace.html",[In["marketplace-v3"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/marketplace-v3.html",[In.multiwrap]:"",[In["nft-collection"]]:"",[In["nft-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[In.pack]:"",[In["signature-drop"]]:"ipfs://QmZptmVipc6SGFbKAyXcxGgohzTwYRXZ9LauRX5ite1xDK",[In.split]:"",[In["token-drop"]]:"ipfs://QmbAgC8YwY36n8H2kuvSWsRisxDZ15QZw3xGZyk9aDvcv7/erc20.html",[In.token]:"",[In.vote]:""},Rat={name:"SmartContract",contractType:"custom",schema:{},roles:Uz},ude={...F3,[Rat.contractType]:Rat}});async function Ww(n,e){return await Promise.all(Object.entries(n.metadata.sources).map(async t=>{let[a,r]=t,i=r.urls,s=i?i.find(f=>f.includes("ipfs")):void 0;if(s){let f=s.split("ipfs/")[1],o=new Promise((d,l)=>setTimeout(()=>l("timeout"),3e3)),c=await Promise.race([(await e.download(`ipfs://${f}`)).text(),o]);return{filename:a,source:c}}else return{filename:a,source:r.content||"Could not find source for this contract"}}))}var zz=ce(()=>{"use strict";p();u()});async function Lnn(n,e){let t=await j7(n,e);return Dy(t.abi)}async function Mnn(n,e){let t=await j7(n,e);return W5(t.abi,t.metadata)}var Zrt,jz,Wz,eit=ce(()=>{"use strict";p();u();Zrt=Te(yU()),jz=Te(Ue());Ga();sn();zz();Ia();Wz=class extends j5{constructor(t,a,r){super(t,a);Z(this,"updatePublisherProfile",ye(async t=>{let a=this.getSigner();at(a,"A signer is required");let r=await a.getAddress(),i=await this.storage.upload(t);return De.fromContractWrapper({contractWrapper:this.publisher,method:"setPublisherProfileUri",args:[r,i]})}));Z(this,"publish",ye(async(t,a)=>{let r=this.cleanupOldPublishFlowData(a),i=this.getSigner();at(i,"A signer is required");let s=await i.getAddress(),f=await Nz(t,this.storage),o=await Ik(f.metadataUri,this.storage),c=L3(o.abi),d=zw(o.abi,"PluginRouter",c),l=zw(o.abi,"DynamicContract",c),y=zw(o.abi,"ModularCore",c);if(r.routerType=d?"plugin":l?"dynamic":y?"modular":"none",l||d){let W=r.defaultExtensions;if(W&&W.length>0)try{let X=(await Promise.all(W.map(z=>Yo(z.publisherAddress,z.extensionName,z.extensionVersion,this.storage,this.options.clientId,this.options.secretKey)))).map(z=>z.metadataUri),J=(await Promise.all(X.map(async z=>ws(z,this.storage)))).map(z=>z.compilerMetadata.abi),j=Iy([o.abi,...J]);r.compositeAbi=p0.parse(j)}catch{}}let h=await this.getLatest(s,f.name);if(h&&h.metadataUri){let G=(await this.fetchPublishedContractInfo(h)).publishedMetadata.version;if(!Vce(G||"0.0.0",r.version||"0.0.0"))throw Error(`Version ${r.version} is not greater than ${G}`)}let T=await(await this.storage.download(f.bytecodeUri)).text(),A=T.startsWith("0x")?T:`0x${T}`,O=jz.utils.solidityKeccak256(["bytes"],[A]),N=f.name,U=await qce.parseAsync({...r,metadataUri:f.metadataUri,bytecodeUri:f.bytecodeUri,name:f.name,analytics:f.analytics,compilers:f.compilers,publisher:s}),q=await this.storage.upload(U);return De.fromContractWrapper({contractWrapper:this.publisher,method:"publishContract",args:[s,N,q,f.metadataUri,O,jz.constants.AddressZero],parse:W=>{let G=this.publisher.parseLogs("ContractPublished",W.logs);if(G.length<1)throw new Error("No ContractPublished event found");let X=G[0].args.publishedContract;return{receipt:W,data:async()=>this.toPublishedContract(X)}}})}));Z(this,"unpublish",ye(async(t,a)=>{let r=await Pe(t);return De.fromContractWrapper({contractWrapper:this.publisher,method:"unpublishContract",args:[r,a]})}));this.storage=r,this.publisher=new f0(t,qw(),Zrt.default,a,r)}updateSignerOrProvider(t){super.updateSignerOrProvider(t),this.publisher.updateSignerOrProvider(t)}async extractConstructorParams(t){return Lnn(t,this.storage)}async extractFunctions(t){return Mnn(t,this.storage)}async fetchCompilerMetadataFromPredeployURI(t){return j7(t,this.storage)}async fetchPrePublishMetadata(t,a){let r=await j7(t,this.storage),i=a?await this.getLatest(a,r.name):void 0,s=i?await this.fetchPublishedContractInfo(i):void 0;return{preDeployMetadata:r,latestPublishedContractMetadata:s}}async fetchCompilerMetadataFromAddress(t){let a=await Pe(t);return $i(a,this.getProvider(),this.storage,this.options)}async fetchPublishedContractInfo(t){return{name:t.id,publishedTimestamp:t.timestamp,publishedMetadata:await this.fetchFullPublishMetadata(t.metadataUri)}}async fetchFullPublishMetadata(t){return Hw(t,this.storage)}async resolvePublishMetadataFromCompilerMetadata(t){let a=await this.publisher.read("getPublishedUriFromCompilerUri",[t]);if(a.length===0)throw Error(`Could not resolve published metadata URI from ${t}`);return(await Promise.allSettled(a.filter(i=>i.length>0).map(i=>this.fetchFullPublishMetadata(i)))).filter(i=>i.status==="fulfilled").map(i=>i.value)}async resolveContractUriFromAddress(t){let a=await Pe(t),r=await Ek(a,this.getProvider());return at(r,"Could not resolve contract URI from address"),r}async fetchContractSourcesFromAddress(t){let a=await Pe(t),r=await this.fetchCompilerMetadataFromAddress(a);return await Ww(r,this.storage)}async fetchContractAbiFromAddress(t){let a=await Pe(t);return(await $i(a,this.getProvider(),this.storage)).abi}async getPublisherProfile(t){let a=await Pe(t),r=await this.publisher.read("getPublisherProfileUri",[a]);return!r||r.length===0?{}:Hce.parse(await this.storage.downloadJSON(r))}async getAll(t){let a=await Pe(t),i=(await this.publisher.read("getAllPublishedContracts",[a])).reduce((s,f)=>(s[f.contractId]=f,s),{});return Object.entries(i).map(s=>{let[,f]=s;return this.toPublishedContract(f)})}async getAllVersions(t,a){let r=await Pe(t),i=await this.publisher.read("getPublishedContractVersions",[r,a]);if(i.length===0)throw Error("Not found");return i.map(s=>this.toPublishedContract(s))}async getVersion(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",i=await Pe(t);if(r==="latest")return this.getLatest(i,a);let s=await this.getAllVersions(i,a),o=(await Promise.all(s.map(c=>this.fetchPublishedContractInfo(c)))).find(c=>c.publishedMetadata.version===r);return at(o,"Contract version not found"),s.find(c=>c.timestamp===o.publishedTimestamp)}async getLatest(t,a){let r=await Pe(t),i=await this.publisher.read("getPublishedContract",[r,a]);if(i&&i.publishMetadataUri)return this.toPublishedContract(i)}toPublishedContract(t){return vk.parse({id:t.contractId,timestamp:t.publishTimestamp,metadataUri:t.publishMetadataUri})}cleanupOldPublishFlowData(t){return t.compositeAbi&&delete t.compositeAbi,{...t,isDeployableViaFactory:!1,isDeployableViaProxy:!1,factoryDeploymentData:{...t.factoryDeploymentData,implementationAddresses:{},factoryAddresses:{}}}}}});var nit,tit=ce(()=>{nit=[{type:"constructor",inputs:[{name:"_pluginMap",type:"address",internalType:"address"},{name:"_trustedForwarders",type:"address[]",internalType:"address[]"}],stateMutability:"nonpayable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"_getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"addPlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"getAllFunctionsOfPlugin",inputs:[{name:"_pluginAddress",type:"address",internalType:"address"}],outputs:[{name:"registered",type:"bytes4[]",internalType:"bytes4[]"}],stateMutability:"view"},{type:"function",name:"getAllPlugins",inputs:[],outputs:[{name:"registered",type:"tuple[]",internalType:"struct IPluginMap.Plugin[]",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],stateMutability:"view"},{type:"function",name:"getPluginForFunction",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"member",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"count",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"hasRoleWithSwitch",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"pluginMap",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"removePlugin",inputs:[{name:"_selector",type:"bytes4",internalType:"bytes4"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"updatePlugin",inputs:[{name:"_plugin",type:"tuple",internalType:"struct IPluginMap.Plugin",components:[{name:"functionSelector",type:"bytes4",internalType:"bytes4"},{name:"functionSignature",type:"string",internalType:"string"},{name:"pluginAddress",type:"address",internalType:"address"}]}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"PluginAdded",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginRemoved",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginSet",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"functionSignature",type:"string",indexed:!0,internalType:"string"},{name:"pluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"PluginUpdated",inputs:[{name:"functionSelector",type:"bytes4",indexed:!0,internalType:"bytes4"},{name:"oldPluginAddress",type:"address",indexed:!0,internalType:"address"},{name:"newPluginAddress",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});var mde,ait=ce(()=>{p();u();mde={}});function Gz(n){return"("+n.map(e=>e.type==="tuple"?Gz(e.components):e.type==="tuple[]"?Gz(e.components)+"[]":e.type).join(",")+")"}function Nnn(n,e){let t=new O3.utils.Interface(e),a=[];for(let r of Object.values(t.functions)){let i=t.getFunction(t.getSighash(r));i.name.includes("_")||a.push({functionSelector:t.getSighash(i),functionSignature:i.name+Gz(i.inputs),pluginAddress:n})}return a}function Kz(n){let e=new O3.utils.Interface(n),t=[];for(let a of Object.values(e.functions)){let r=e.getFunction(e.getSighash(a));r.name.startsWith("_")||t.push({functionSelector:e.getSighash(r),functionSignature:r.name+Gz(r.inputs)})}return t}async function G7(n,e,t,a,r,i){F6.deploymentPresets={};let[s,{compilerMetadata:f,extendedMetadata:o}]=await Promise.all([a||md(t),ws(n,e)]),c={},d=[],l=o?.defaultExtensions;if(o?.routerType==="plugin"&&l){at(r||i,"Require Client Id / Secret Key");let T=await Promise.all(l.map(q=>Yo(q.publisherAddress,q.extensionName,q.extensionVersion,e,r,i))),A=(await Promise.all(T.map(q=>ws(q.metadataUri,e)))).map(q=>q.compilerMetadata),O=await Promise.all(A.map(q=>Xf("plugin",t,e,s,{metadata:q},r,i))),N=[];A.forEach((q,W)=>{let G=Nnn(O[W].transaction.predictedAddress,q.abi);N.push(...G)});let U=await Xf("plugin",t,e,s,{contractName:"PluginMap",constructorParams:{_pluginsToAdd:{value:N}}},r,i);c._pluginMap={value:U.transaction.predictedAddress},d.push(...O,U)}else if(o?.routerType==="dynamic"&&l){at(r||i,"Require Client Id / Secret Key");let T=await Promise.all(l.map(U=>Yo(U.publisherAddress,U.extensionName,U.extensionVersion,e,r,i))),A=(await Promise.all(T.map(async U=>ws(U.metadataUri,e)))).map(U=>U.compilerMetadata),O=await Promise.all(A.map(U=>Xf("extension",t,e,s,{metadata:U},r,i))),N=[];A.forEach((U,q)=>{let W=Kz(U.abi);N.push({metadata:{name:U.name,metadataURI:"",implementation:O[q].transaction.predictedAddress},functions:W})}),c._extensions={value:N},d.push(...O)}let[y,h]=await Promise.all([Xf("implementation",t,e,s,{metadata:f,constructorParams:c},r,i),Xf("infra",t,e,s,{contractName:"TWCloneFactory"},r,i)]);return d.push(h),d.push(...Object.values(F6.deploymentPresets)),d.push(y),d}function Fnn(n){let e=O3.utils.arrayify(n).map(t=>t===0?4:16).reduce((t,a)=>t+a)+200*n.length/2+6*Math.ceil(n.length/64)+32e3+21e3;return e=Math.floor(e*64/63),e}function bde(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zce;if(n=n.filter(i=>i.data.length>0),n.length===0)return[];let t=[],a=0,r=[];return n.forEach(i=>{let s=Fnn(i.data);a+s>e?r.length===0?t.push([i]):(t.push(r),a=s,r=[i]):(a+=s,r.push(i))}),r.length>0&&t.push(r),t}async function Sk(n,e,t){let a=bde(e);if(a.length===0)return;t?.notifier?.("deploying","infra");let r=await Promise.all(a.map(i=>new O3.ContractFactory(tde,ede).connect(n).deploy(i)));await Promise.all(r.map(i=>i.deployed())),t?.notifier?.("deployed","infra")}async function Ak(n,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:7e6;if(at(n.provider,"Provider required"),!await kc(e.predictedAddress,n.provider)){console.debug(`deploying contract via create2 factory at: ${e.predictedAddress}`);let i={to:e.to,data:e.data};try{await n.estimateGas(i)}catch(s){console.debug("error estimating gas while deploying prebuilt: ",s),i.gasLimit=O3.BigNumber.from(a)}t?.notifier?.("deploying","preset"),await(await n.sendTransaction(i)).wait(),t?.notifier?.("deployed","preset")}}var O3,hde=ce(()=>{"use strict";p();u();sn();O3=Te(Ue());Ga()});var iit,rit=ce(()=>{iit=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"},{name:"_registry",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"FACTORY_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"addImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"approval",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"approveImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_toApprove",type:"bool",internalType:"bool"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"currentVersion",inputs:[{name:"",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"deployProxy",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyByImplementation",inputs:[{name:"_implementation",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"deployedProxy",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployProxyDeterministic",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_data",type:"bytes",internalType:"bytes"},{name:"_salt",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"deployer",inputs:[{name:"",type:"address",internalType:"address"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"},{name:"_version",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getLatestImplementation",inputs:[{name:"_type",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"implementation",inputs:[{name:"",type:"bytes32",internalType:"bytes32"},{name:"",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"registry",inputs:[],outputs:[{name:"",type:"address",internalType:"contract TWRegistry"}],stateMutability:"view"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"ImplementationAdded",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"contractType",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"version",type:"uint256",indexed:!1,internalType:"uint256"}],anonymous:!1},{type:"event",name:"ImplementationApproved",inputs:[{name:"implementation",type:"address",indexed:!1,internalType:"address"},{name:"isApproved",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ProxyDeployed",inputs:[{name:"implementation",type:"address",indexed:!0,internalType:"address"},{name:"proxy",type:"address",indexed:!1,internalType:"address"},{name:"deployer",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function qnn(n,e){let a=p0.parse(n||[]).filter(i=>i.type==="event"),r=[];for(let i of a){let s=Fz(i.name,e,"events");r.push({inputs:i.inputs||[],outputs:i.outputs||[],name:i.name||"unknown",comment:s})}return r}var Lr,pp,kk,gde,Vnn,$nn,Unn,vde,Qz,Yz,Jz,Xz,Zz,eW,tW,sit=ce(()=>{"use strict";p();u();sn();Ia();Lr=Te(Ue());Ga();k7();wl();fp();hi();zz();hde();pp=function(n){return n[n.None=0]="None",n[n.AddAdmin=1]="AddAdmin",n[n.RemoveAdmin=2]="RemoveAdmin",n}({}),kk={startDate:Lr.BigNumber.from(0),expirationDate:Lr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},gde=re.object({startDate:VA,expirationDate:m3,nativeTokenLimitPerTransaction:Kr.default(0),approvedCallTargets:re.union([re.array(Kn),re.literal("*")])}),Vnn=re.array(re.object({signer:Kn,makeAdmin:re.boolean(),permissions:gde})),$nn=[{name:"signer",type:"address"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],Unn=[{name:"signer",type:"address"},{name:"isAdmin",type:"uint8"},{name:"approvedTargets",type:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256"},{name:"permissionStartTimestamp",type:"uint128"},{name:"permissionEndTimestamp",type:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128"},{name:"uid",type:"bytes32"}],vde=class{constructor(e){Z(this,"featureName",Jf.name);Z(this,"grantAdminPermissions",ye(async e=>{let t=await Pe(e);return await this.sendSignerPermissionRequest(t,kk,pp.AddAdmin)}));Z(this,"revokeAdminPermissions",ye(async e=>{let t=await Pe(e);return await this.sendSignerPermissionRequest(t,kk,pp.RemoveAdmin)}));Z(this,"grantPermissions",ye(async(e,t)=>{let a=await Pe(e),r=await gde.parseAsync(t);return await this.sendSignerPermissionRequest(a,r,pp.None)}));Z(this,"updatePermissions",ye(async(e,t)=>{let a=await Pe(e),r=await gde.parseAsync(t);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot update permissions of an existing admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");return await this.sendSignerPermissionRequest(a,r,pp.None)}));Z(this,"revokeAccess",ye(async e=>{let t=await Pe(e);return await this.sendSignerPermissionRequest(t,{startDate:Lr.BigNumber.from(0),expirationDate:Lr.BigNumber.from(0),approvedCallTargets:[],nativeTokenLimitPerTransaction:"0"},pp.None)}));Z(this,"approveTargetForSigner",ye(async(e,t)=>{let a=await Pe(e),r=await Pe(t);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let i=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(i.approvedTargets.includes(t))throw new Error("Target is already approved");let s=[...i.approvedTargets,r];return await this.sendSignerPermissionRequest(a,{startDate:Lr.BigNumber.from(i.startTimestamp),expirationDate:Lr.BigNumber.from(i.endTimestamp),approvedCallTargets:s,nativeTokenLimitPerTransaction:i.nativeTokenLimitPerTransaction.toString()},pp.None)}));Z(this,"disapproveTargetForSigner",ye(async(e,t)=>{let a=await Pe(e),r=await Pe(t);if(await this.isAdmin(a))throw new Error("Signer is already an admin. Cannot approve targets for an admin.");if(!await this.isSigner(a))throw new Error("Signer does not already have permissions. You can grant permissions using `grantPermissions`.");let i=await this.contractWrapper.read("getPermissionsForSigner",[a]);if(!i.approvedTargets.includes(r))throw new Error("Target is currently not approved");let s=i.approvedTargets.filter(f=>Lr.utils.getAddress(f)!==Lr.utils.getAddress(r));return await this.sendSignerPermissionRequest(a,{startDate:Lr.BigNumber.from(i.startTimestamp),expirationDate:Lr.BigNumber.from(i.endTimestamp),approvedCallTargets:s,nativeTokenLimitPerTransaction:i.nativeTokenLimitPerTransaction.toString()},pp.None)}));Z(this,"resetAllPermissions",ye(async e=>{let t=await Vnn.parseAsync(e);if(this.hasDuplicateSigners(t))throw new Error("Duplicate signers found in input.");let a=[],r=[],i=[],s=await this.getAllAdmins(),f=t.filter(l=>l.makeAdmin).map(l=>l.signer);s.forEach(async l=>{if(!f.includes(l)){let y=(await this.sendSignerPermissionRequest(l,kk,pp.RemoveAdmin)).encode();a.push(y)}});let o=await this.getAllSigners(),c=t.filter(l=>!l.makeAdmin).map(l=>l.signer);await Promise.all(o.map(async l=>{if(!c.includes(l.signer)){let y=(await this.sendSignerPermissionRequest(l.signer,kk,pp.None)).encode();i.push(y)}}));for(let l of t)if(l.makeAdmin)(await this.sendSignerPermissionRequest(l.signer,kk,pp.AddAdmin)).encode();else{let y=(await this.sendSignerPermissionRequest(l.signer,l.permissions,pp.None)).encode();r.push(y)}let d=[];return a.forEach(l=>{d.push(l)}),i.forEach(l=>{d.push(l)}),r.forEach(l=>{d.push(l)}),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"multicall",args:[d]})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}hasDuplicateSigners(e){let t={},a=e.map(r=>r.signer);for(let r of a)if(!t[r])t[r]=!0;else return!0;return!1}parseSignerPermissionsStruct(e){return{startDate:new Date(parseInt(e.startTimestamp.toString())*1e3),expirationDate:new Date(parseInt(e.endTimestamp.toString())*1e3),nativeTokenLimitPerTransaction:Lr.BigNumber.from(e.nativeTokenLimitPerTransaction),approvedCallTargets:e.approvedTargets}}async sendSignerPermissionRequest(e,t,a){let{payload:r,signature:i}=await this.generatePayload(e,t,a);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"setPermissionsForSigner",args:[r,i]})}async generatePayload(e,t,a){let r={signer:e,isAdmin:a.valueOf(),approvedTargets:t.approvedCallTargets==="*"?[lr]:t.approvedCallTargets,nativeTokenLimitPerTransaction:Lr.utils.parseEther(t.nativeTokenLimitPerTransaction),permissionStartTimestamp:t.startDate,permissionEndTimestamp:t.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Lr.BigNumber.from(Math.floor(new Date(Date.now()+31536e7).getTime()/1e3)),uid:OH(void 0)},i=await this.contractWrapper.getChainID(),s=this.contractWrapper.getSigner();at(s,"No signer available");let f=await this.contractWrapper.signTypedData(s,{name:"Account",version:"1",chainId:i,verifyingContract:this.getAddress()},{SignerPermissionRequest:Unn},r);return{payload:r,signature:f}}async generateLegacyPayload(e,t){if(t.approvedCallTargets==="*")throw new Error("Wildcard call targets are not supported on legacy account permissions contract, please deploy an updated contract factory.");let a={signer:e,approvedTargets:t.approvedCallTargets,nativeTokenLimitPerTransaction:Lr.utils.parseEther(t.nativeTokenLimitPerTransaction),permissionStartTimestamp:t.startDate,permissionEndTimestamp:t.expirationDate,reqValidityStartTimestamp:0,reqValidityEndTimestamp:Lr.BigNumber.from(Math.floor(new Date(Date.now()+1e3*60*60*24*365*10).getTime()/1e3)),uid:OH(void 0)},r=await this.contractWrapper.getChainID(),i=this.contractWrapper.getSigner();at(i,"No signer available");let s=await this.contractWrapper.signTypedData(i,{name:"Account",version:"1",chainId:r,verifyingContract:this.getAddress()},{SignerPermissionRequest:$nn},a);return{payload:a,signature:s}}async isAdmin(e){let t=await Pe(e);return await this.contractWrapper.read("isAdmin",[t])}async isSigner(e){let t=await Pe(e);return await this.contractWrapper.read("isActiveSigner",[t])}async getAllAdmins(){return await this.contractWrapper.read("getAllAdmins",[])}async getAllSigners(){let e=await this.contractWrapper.read("getAllActiveSigners",[]);return await Promise.all(e.map(async t=>{let a=t.signer,r=this.parseSignerPermissionsStruct(t);return{signer:a,permissions:r}}))}async getAllAdminsAndSigners(){let t=(await this.getAllAdmins()).map(r=>({isAdmin:!0,signer:r,permissions:{startDate:new Date(0),expirationDate:new Date(0),nativeTokenLimitPerTransaction:Lr.BigNumber.from(0),approvedCallTargets:[]}})),a=await this.getAllSigners();return[...t,...a]}},Qz=class{constructor(e){Z(this,"featureName",W7.name);Z(this,"grantAdminPermissions",ye(async e=>Rt(this.accountPermissions,Jf).grantAdminPermissions.prepare(e)));Z(this,"revokeAdminPermissions",ye(async e=>Rt(this.accountPermissions,Jf).revokeAdminPermissions.prepare(e)));Z(this,"grantPermissions",ye(async(e,t)=>Rt(this.accountPermissions,Jf).grantPermissions.prepare(e,t)));Z(this,"updatePermissions",ye(async(e,t)=>Rt(this.accountPermissions,Jf).updatePermissions.prepare(e,t)));Z(this,"revokeAccess",ye(async e=>Rt(this.accountPermissions,Jf).revokeAccess.prepare(e)));Z(this,"approveTargetForSigner",ye(async(e,t)=>Rt(this.accountPermissions,Jf).approveTargetForSigner.prepare(e,t)));Z(this,"disapproveTargetForSigner",ye(async(e,t)=>Rt(this.accountPermissions,Jf).disapproveTargetForSigner.prepare(e,t)));Z(this,"resetAllPermissions",ye(async e=>Rt(this.accountPermissions,Jf).resetAllPermissions.prepare(e)));this.contractWrapper=e,this.accountPermissions=this.detectAccountPermissions()}detectAccountPermissions(){if(gt(this.contractWrapper,"AccountPermissions")||gt(this.contractWrapper,"AccountPermissionsV1"))return new vde(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async isAdmin(e){return Rt(this.accountPermissions,Jf).isAdmin(e)}async isSigner(e){return Rt(this.accountPermissions,Jf).isSigner(e)}async getAllAdmins(){return Rt(this.accountPermissions,Jf).getAllAdmins()}async getAllSigners(){return Rt(this.accountPermissions,Jf).getAllSigners()}async getAllAdminsAndSigners(){return Rt(this.accountPermissions,Jf).getAllAdminsAndSigners()}},Yz=class{constructor(e){Z(this,"featureName",z7.name);Z(this,"createAccount",ye(async(e,t)=>{if(await this.isAccountDeployed(e,t))throw new Error(`Account already deployed for admin: ${e}`);let a=Lr.utils.toUtf8Bytes("");return t&&(a=t),De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"createAccount",args:[e,a],parse:r=>({address:this.contractWrapper.parseLogs("AccountCreated",r?.logs)[0].args.account,receipt:r})})}));this.contractWrapper=e,this.events=new xn(this.contractWrapper)}getAddress(){return this.contractWrapper.address}async predictAccountAddress(e,t){let a=Lr.utils.toUtf8Bytes("");return t&&(a=t),this.contractWrapper.read("getAddress",[e,a])}async getAssociatedAccounts(e){return this.contractWrapper.read("getAccountsOfSigner",[e])}async getAllAccounts(){return await this.contractWrapper.read("getAllAccounts",[])}async isAccountDeployed(e,t){let a=await this.predictAccountAddress(e,t);return kc(a,this.contractWrapper.getProvider())}};Jz=class{constructor(e,t){this.contractWrapper=e,this.storage=t}async get(){return this._cachedMetadata?this._cachedMetadata:(this._cachedMetadata=await $i(this.contractWrapper.address,this.contractWrapper.getProvider(),this.storage,this.contractWrapper.options),this._cachedMetadata)}async extractSources(){let e=await this.get();return Ww(e,this.storage)}async extractFunctions(){let e;try{e=await this.get()}catch{}return W5(p0.parse(this.contractWrapper.abi),e?.metadata)}async extractEvents(){let e;try{e=await this.get()}catch{}return qnn(p0.parse(this.contractWrapper.abi),e?.metadata)}},Xz=class{constructor(e){Z(this,"featureName",H7.name);Z(this,"add",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"addExtension",args:[e.extension],parse:async t=>{if(this.contractWrapper.parseLogs("ExtensionAdded",t.logs).length<1)throw new Error("No ExtensionAdded event found");let r=e.extensionAbi?p0.parse(e.extensionAbi):(await $i(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForAdd(r,e.extension),s=Iy([p0.parse(this.contractWrapper.abi),i]);return this.contractWrapper.updateAbi(s),t}})));Z(this,"addDeployed",ye(async e=>{let t=e.extensionAbi;t||(t=(await $i(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),at(t,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let s=await _s.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(s)}let r=Kz(p0.parse(t)),i={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.add.prepare({extension:i,extensionAbi:t})}));Z(this,"addPublished",ye(async e=>{let t=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Q5,t);return this.addDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));Z(this,"replace",ye(async e=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"replaceExtension",args:[e.extension],parse:async t=>{if(this.contractWrapper.parseLogs("ExtensionReplaced",t.logs).length<1)throw new Error("No ExtensionReplaced event found");let r=e.extensionAbi?p0.parse(e.extensionAbi):(await $i(e.extension.metadata.implementation,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,i=this.filterAbiForRemove(p0.parse(this.contractWrapper.abi),r),s=this.filterAbiForAdd(r,e.extension),f=Iy([i,s]);return this.contractWrapper.updateAbi(f),t}})));Z(this,"replaceDeployed",ye(async e=>{let t=e.extensionAbi;t||(t=(await $i(e.extensionAddress,this.contractWrapper.getProvider(),this.contractWrapper.storage,this.contractWrapper.options)).abi),at(t,"Require extension ABI");let a="";if(e.extensionMetadata)if(typeof e.extensionMetadata=="string")a=e.extensionMetadata;else{let s=await _s.parseAsync(e.extensionMetadata);a=await this.contractWrapper.storage.upload(s)}let r=Kz(p0.parse(t)),i={metadata:{name:e.extensionName,metadataURI:a,implementation:e.extensionAddress},functions:r};return this.replace.prepare({extension:i,extensionAbi:t})}));Z(this,"replacePublished",ye(async e=>{let t=e.version||"latest",{deployedExtensionAddress:a,extensionMetadata:r}=await this.deployExtension(e.extensionName,e.publisherAddress||Q5,t);return this.replaceDeployed.prepare({extensionName:e.extensionName,extensionAddress:a,extensionMetadata:e.extensionMetadataOverride||r})}));Z(this,"remove",ye(async e=>{let t=await this.getExtensionAddress(e.extensionName);return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"removeExtension",args:[e.extensionName],parse:async a=>{if(this.contractWrapper.parseLogs("ExtensionRemoved",a.logs).length<1)throw new Error("No ExtensionRemoved event found");let i=(await $i(t,this.contractWrapper.getProvider(),this.contractWrapper.storage)).abi,s=this.filterAbiForRemove(p0.parse(this.contractWrapper.abi),i);return this.contractWrapper.updateAbi(s),a}})}));this.contractWrapper=e}getAddress(){return this.contractWrapper.readContract.address}async getAll(){return await this.contractWrapper.readContract.getAllExtensions()}async get(e){return await this.contractWrapper.readContract.getExtension(e)}async getExtensionAddress(e){return(await this.get(e)).metadata.implementation}async getAllFunctions(e){return(await this.get(e)).functions}async getExtensionForFunction(e){let t=e.functionSelector;return t||(at(e.functionSignature,"Atleast one of function selector and signature must be provided"),t=Lr.utils.id(e.functionSignature).substring(0,10)),await this.contractWrapper.readContract.getMetadataForFunction(t)}async getExtensionAddressForFunction(e){return(await this.getExtensionForFunction(e)).implementation}filterAbiForAdd(e,t){let a=new Lr.utils.Interface(e),r=t.functions.map(s=>s.functionSelector);return e.filter(s=>{let f=Object.values(new Lr.utils.Interface([s]).functions);if(f.length===0)return!1;let o=a.getSighash(f[0]);return r.includes(o)})}filterAbiForRemove(e,t){let a=new Lr.utils.Interface(e),r=new Lr.utils.Interface(t),i=Object.values(r.functions).map(f=>r.getSighash(f));return e.filter(f=>{let o=Object.values(new Lr.utils.Interface([f]).functions);if(o.length===0)return!1;let c=a.getSighash(o[0]);return!i.includes(c)})}async deployExtension(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",r=await Yo(t,e,a,this.contractWrapper.storage,this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),i=await G7(r.metadataUri,this.contractWrapper.storage,this.contractWrapper.getProvider(),"",this.contractWrapper.options.clientId,this.contractWrapper.options.secretKey),s=i.find(l=>l.type==="implementation")?.transaction.predictedAddress,f=i.filter(l=>l.transaction.data&&l.transaction.data.length>0),o=f.filter(l=>l.type!=="infra").map(l=>l.transaction),c=f.filter(l=>l.type==="infra").map(l=>l.transaction),d=this.contractWrapper.getSigner();at(d,"Signer is required"),await Sk(d,c,{});for(let l of o)try{await Ak(d,l)}catch(y){console.debug(`Error deploying contract at ${l.predictedAddress}`,y?.message)}return{deployedExtensionAddress:s,extensionMetadata:r.metadataUri}}},Zz=class{constructor(e){Z(this,"featureName",Ow.name);Z(this,"drop",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC20",args:[e,t,a],parse:r=>{let s=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(f=>({recipient:f.args.recipient,amount:f.args.amount.toString()}));return{successfulDropCount:a.length-s.length,failedDropCount:s.length,failedDrops:s}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},eW=class{constructor(e){Z(this,"featureName",Vw.name);Z(this,"drop",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC721",args:[e,t,a],parse:r=>{let s=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(f=>({recipient:f.args.recipient,tokenId:f.args.tokenId.toNumber()}));return{successfulDropCount:a.length-s.length,failedDropCount:s.length,failedDrops:s}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}},tW=class{constructor(e){Z(this,"featureName",$w.name);Z(this,"drop",ye(async(e,t,a)=>De.fromContractWrapper({contractWrapper:this.contractWrapper,method:"airdropERC1155",args:[e,t,a],parse:r=>{let s=this.contractWrapper.parseLogs("AirdropFailed",r.logs).map(f=>({recipient:f.args.recipient,tokenId:f.args.tokenId.toNumber(),amount:f.args.amount.toString()}));return{successfulDropCount:a.length-s.length,failedDropCount:s.length,failedDrops:s}}})));this.contractWrapper=e}getAddress(){return this.contractWrapper.address}}});var fit={};jt(fit,{SmartContract:()=>Tde});var vxa,Txa,wxa,Tde,oit=ce(()=>{"use strict";p();u();fp();hi();sn();sit();Qa();M1();op();cp();Dc();hy();GA();lk();ek();A1e();Ia();Ga();vxa=Te(Dr()),Txa=Te(zf());Ot();wxa=Te(Cc()),Tde=class{get abi(){return p0.parse(this.contractWrapper.abi||[])}get royalties(){return Rt(this.detectRoyalties(),lw)}get roles(){return Rt(this.detectRoles(),yw)}get sales(){return Rt(this.detectPrimarySales(),mw)}get platformFees(){return Rt(this.detectPlatformFees(),uw)}get owner(){return Rt(this.detectOwnable(),pw)}get erc20(){return Rt(this.detectErc20(),Pw)}get erc721(){return Rt(this.detectErc721(),Cw)}get erc1155(){return Rt(this.detectErc1155(),gw)}get app(){return Rt(this.detectApp(),nw)}get directListings(){return Rt(this.detectDirectListings(),I3)}get englishAuctions(){return Rt(this.detectEnglishAuctions(),E3)}get offers(){return Rt(this.detectOffers(),D3)}get airdrop20(){return Rt(this.detectAirdrop20(),Ow)}get airdrop721(){return Rt(this.detectAirdrop721(),Vw)}get airdrop1155(){return Rt(this.detectAirdrop1155(),$w)}get accountFactory(){return Rt(this.detectAccountFactory(),z7)}get account(){return Rt(this.detectAccount(),W7)}get extensions(){return Rt(this.detectBaseRouter(),H7)}get chainId(){return this._chainId}constructor(e,t,a,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},s=arguments.length>5?arguments[5]:void 0,f=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new f0(e,t,a,i,r);this._chainId=s,this.storage=r,this.contractWrapper=f,this.events=new xn(this.contractWrapper),this.encoder=new r0(this.contractWrapper),this.interceptor=new Ea(this.contractWrapper),this.estimator=new pa(this.contractWrapper),this.publishedMetadata=new Jz(this.contractWrapper,this.storage),this.metadata=new Bn(this.contractWrapper,dp,this.storage)}onNetworkUpdated(e){this.contractWrapper.updateSignerOrProvider(e)}getAddress(){return this.contractWrapper.address}prepare(e,t,a){return De.fromContractWrapper({contractWrapper:this.contractWrapper,method:e,args:t,overrides:a})}async call(e,t,a){return this.contractWrapper.call(e,t,a)}detectRoyalties(){if(gt(this.contractWrapper,"Royalty")){let e=new Bn(this.contractWrapper,dp,this.storage);return new uf(this.contractWrapper,e)}}detectRoles(){if(gt(this.contractWrapper,"Permissions"))return new dr(this.contractWrapper,Uz)}detectPrimarySales(){if(gt(this.contractWrapper,"PrimarySale"))return new mf(this.contractWrapper)}detectPlatformFees(){if(gt(this.contractWrapper,"PlatformFee"))return new Ui(this.contractWrapper)}detectErc20(){if(gt(this.contractWrapper,"ERC20"))return new A3(this.contractWrapper,this.storage,this.chainId)}detectErc721(){if(gt(this.contractWrapper,"ERC721"))return new Ew(this.contractWrapper,this.storage,this.chainId)}detectErc1155(){if(gt(this.contractWrapper,"ERC1155"))return new bw(this.contractWrapper,this.storage,this.chainId)}detectOwnable(){if(gt(this.contractWrapper,"Ownable"))return new yf(this.contractWrapper)}detectApp(){let e=new Bn(this.contractWrapper,dp,this.storage);if(gt(this.contractWrapper,"AppURI"))return new Ma(this.contractWrapper,e,this.storage);if(gt(this.contractWrapper,"ContractMetadata"))return new Ma(this.contractWrapper,e,this.storage)}detectDirectListings(){if(gt(this.contractWrapper,"DirectListings"))return new _w(this.contractWrapper,this.storage)}detectEnglishAuctions(){if(gt(this.contractWrapper,"EnglishAuctions"))return new ww(this.contractWrapper,this.storage)}detectOffers(){if(gt(this.contractWrapper,"Offers"))return new xw(this.contractWrapper,this.storage)}detectBaseRouter(){if(gt(this.contractWrapper,H7.name))return new Xz(this.contractWrapper)}detectAirdrop20(){if(gt(this.contractWrapper,"AirdropERC20"))return new Zz(this.contractWrapper)}detectAirdrop721(){if(gt(this.contractWrapper,"AirdropERC721"))return new eW(this.contractWrapper)}detectAirdrop1155(){if(gt(this.contractWrapper,"AirdropERC1155"))return new tW(this.contractWrapper)}detectAccountFactory(){if(gt(this.contractWrapper,z7.name))return new Yz(this.contractWrapper)}detectAccount(){if(gt(this.contractWrapper,W7.name))return new Qz(this.contractWrapper)}}});var dit={};jt(dit,{TWProxy__factory:()=>Pk});var jw,nW,cit,Hnn,Pk,lit=ce(()=>{"use strict";p();u();jw=Te(Ue()),nW=[{type:"constructor",inputs:[{name:"_logic",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],stateMutability:"payable"},{type:"fallback",stateMutability:"payable"},{type:"receive",stateMutability:"payable"}],cit="0x60806040526040516104893803806104898339810160408190526100229161023c565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61030a565b600080516020610442833981519152146100695761006961032b565b60008051602061044283398151915280546001600160a01b0319166001600160a01b0384161790558051156100a4576100a282826100ab565b505b5050610390565b60606100d08383604051806060016040528060278152602001610462602791396100d9565b90505b92915050565b6060600080856001600160a01b0316856040516100f69190610341565b600060405180830381855af49150503d8060008114610131576040519150601f19603f3d011682016040523d82523d6000602084013e610136565b606091505b50909250905061014886838387610152565b9695505050505050565b606083156101c65782516000036101bf576001600160a01b0385163b6101bf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101d0565b6101d083836101d8565b949350505050565b8151156101e85781518083602001fd5b8060405162461bcd60e51b81526004016101b6919061035d565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561023357818101518382015260200161021b565b50506000910152565b6000806040838503121561024f57600080fd5b82516001600160a01b038116811461026657600080fd5b60208401519092506001600160401b038082111561028357600080fd5b818501915085601f83011261029757600080fd5b8151818111156102a9576102a9610202565b604051601f8201601f19908116603f011681019083821181831017156102d1576102d1610202565b816040528281528860208487010111156102ea57600080fd5b6102fb836020830160208801610218565b80955050505050509250929050565b818103818111156100d357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251610353818460208701610218565b9190910192915050565b602081526000825180602084015261037c816040850160208701610218565b601f01601f19169190910160400192915050565b60a48061039e6000396000f3fe608060405236601057600e6013565b005b600e5b604960457f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b604b565b565b3660008037600080366000845af43d6000803e8080156069573d6000f35b3d6000fdfea2646970667358221220907079b2d3c19f0cba25799fa046304af5956938245ce0932da8cf0c0af0f43e64736f6c63430008170033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",Hnn=n=>n.length>1,Pk=class extends jw.ContractFactory{constructor(){for(var e=arguments.length,t=new Array(e),a=0;a{znn.exports=[{type:"constructor",inputs:[{name:"_trustedForwarder",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"function",name:"DEFAULT_ADMIN_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"OPERATOR_ROLE",inputs:[],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"add",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"count",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getAll",inputs:[{name:"_deployer",type:"address",internalType:"address"}],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getRoleAdmin",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getRoleMember",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"index",type:"uint256",internalType:"uint256"}],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getRoleMemberCount",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"grantRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"hasRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isTrustedForwarder",inputs:[{name:"forwarder",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"remove",inputs:[{name:"_deployer",type:"address",internalType:"address"},{name:"_deployment",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"renounceRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"revokeRole",inputs:[{name:"role",type:"bytes32",internalType:"bytes32"},{name:"account",type:"address",internalType:"address"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"event",name:"Added",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"Deleted",inputs:[{name:"deployer",type:"address",indexed:!0,internalType:"address"},{name:"deployment",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleAdminChanged",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"previousAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"newAdminRole",type:"bytes32",indexed:!0,internalType:"bytes32"}],anonymous:!1},{type:"event",name:"RoleGranted",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1},{type:"event",name:"RoleRevoked",inputs:[{name:"role",type:"bytes32",indexed:!0,internalType:"bytes32"},{name:"account",type:"address",indexed:!0,internalType:"address"},{name:"sender",type:"address",indexed:!0,internalType:"address"}],anonymous:!1}]});function hit(n,e,t){uit||(uit=!0,!(e||t)&&console.warn(n))}async function git(n,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,f=vi(e,{clientId:r,secretKey:i}),c=(await Yo(Q5,n,a,t,r,i)).metadataUri,d=await ws(c,t),l=await md(f);at(l,"Thirdweb stack not found");let{extendedMetadata:y}=await ws(c,t),h;return y?.routerType==="plugin"||y?.routerType==="dynamic"?h=(await G7(c,t,f,l,r,i)).find(A=>A.type==="implementation")?.encodedArgs:h=await $z(d.compilerMetadata,f,t,l,s,r,i),h}async function vit(n,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=vi(e,{clientId:r,secretKey:i}),o=(await Yo(Q5,n,a,t,r,i)).metadataUri,c=await md(s);at(c,"Thirdweb stack not found");let{extendedMetadata:d}=await ws(o,t);if(d?.routerType==="plugin"||d?.routerType==="dynamic"){let h=(await G7(o,t,s,c,r,i)).find(T=>T.type==="implementation")?.transaction.predictedAddress;return at(h,"Error computing address for plugin router"),h}return(await Xf("implementation",s,t,c,{contractName:n},r,i)).transaction.predictedAddress}async function Tit(n,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=vi(e,{clientId:r,secretKey:i}),f=await vit(n,e,t,a,r,i),o=await kc(f,s);return at(o,"Contract not deployed yet"),f}async function wit(n,e,t,a,r){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"latest",s=arguments.length>6?arguments[6]:void 0,f=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,d=await Tit(n,e,r,i,s,f),l=await git(n,e,r,i,s,f,c);return console.info(`Verifying ${n} at address ${d}`),await Ade(d,e,t,a,r,o,l?.toString().replace("0x",""))}async function Ade(n,e,t,a,r,i,s){try{let f=vi(e,{});n=(await Dk(n,f)).address;let o=await $i(n,f,r),c=o.metadata.compiler.version,d=await Ww(o,r),l=o.metadata.sources,y={};for(let N of Object.keys(l)){let U=d.find(q=>N===q.filename);if(!U)throw new Error(`Could not find source file for ${N}`);y[N]={content:U.source}}let h={language:"Solidity",sources:y,settings:{optimizer:o.metadata.settings.optimizer,evmVersion:o.metadata.settings.evmVersion,remappings:o.metadata.settings.remappings,outputSelection:{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},T=o.metadata.settings.compilationTarget,O=Object.keys(T)[0];if(i==="blockscoutV2"){let N=new Blob([JSON.stringify(h)],{type:"application/json"}),U=new FormData;U.append("address_hash",n),U.append("contract_name",`${O}:${o.name}`),U.append("compiler_version",`v${o.metadata.compiler.version}`),U.append("autodetect_constructor_args","true"),U.append("files[0]",N,"metadata.json");let W=await(await fetch(`${t}/v2/smart-contracts/${n}/verification/via/standard-input`,{method:"POST",body:U})).json();if(W.message)return W.message;throw new Error(`${W}`)}else{let N=s||await Wnn(t,a,n,o.abi,f,r),U={apikey:a,module:"contract",action:"verifysourcecode",contractaddress:n,sourceCode:JSON.stringify(h),codeformat:"solidity-standard-json-input",contractname:`${O}:${o.name}`,compilerversion:`v${c}`,constructorArguements:N},q=new URLSearchParams({...U}),G=await(await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:q.toString()})).json();if(G.status===_it.OK)return G.result;throw new Error(`${G.result}`)}}catch(f){throw new Error(f.toString())}}async function xde(n,e,t){let a=`${n}?module=contract&action=checkverifystatus&guid=${t}&apikey=${e}"`;return new Promise((r,i)=>{let s=setInterval(async()=>{try{let o=await(await fetch(a,{method:"GET"})).json();o?.result!==yit.PENDING&&o?.result!==yit.IN_PROGRESS&&(clearInterval(s),r(o))}catch(f){clearInterval(s),i(f)}},3e3)})}async function Wnn(n,e,t,a,r,i){let s=Dy(a);if(s.length===0)return"";let o=await(await fetch(`${n}?module=contract&action=getcontractcreation&contractaddresses=${t}&apikey=${e}`)).json();if(o&&o.status===_it.OK&&o.result[0]!==void 0){let c=new O0.utils.Interface(a),d=o.result[0].txHash,l="";if(c.deploy.inputs.length===0)return"";let y=await r.getTransaction(d),h=y.data;try{let T=await jnn(t,r,i);if(T){let A=T.startsWith("0x")?T:`0x${T}`,O;try{O=await md(r)}catch{}let N=y.to===O?64:0;l=h.substring(A.length+N)}}catch{}if(!l){let T=[...h.matchAll(/(64736f6c6343[\w]{6}[\w]{4})(?!.*\1)(.*)$/g)];T.length>0&&(l=T[0][2])}if(!l){let T=s.length*64;l=h.substring(h.length-T)}try{O0.utils.defaultAbiCoder.decode(c.deploy.inputs,`0x${l}`)}catch{throw new Error("Verifying this contract requires it to be published. Run `npx thirdweb publish` to publish this contract, then try again.")}return l}else return""}async function jnn(n,e,t){let a=await Ek(n,e);if(a){let r=(await Promise.resolve().then(()=>Te(yU()))).default,s=await new O0.Contract(qw(),r,vi("polygon",{})).getPublishedUriFromCompilerUri(a);if(s.length===0)throw Error(`Could not resolve published metadata URI from ${a}`);let f=await Promise.all(s.filter(o=>o.length>0).map(o=>Hw(o,t)));return f.length>0?await(await t.download(f[0].bytecodeUri)).text():void 0}}function xit(n){let e=[];return Oz(L3(n),e),e.map(t=>t.name)}function Ide(n){return xit(n)}function Gnn(n,e){return n||(e?.gatewayUrls?new Hm({gatewayUrls:e.gatewayUrls,clientId:e.clientId,secretKey:e.secretKey}):new Hm({clientId:e?.clientId,secretKey:e?.secretKey}))}function Rk(n,e){let t=p0.parse(n||[]);for(let a of t)if(a.type==="function"&&a.name===e)return a.inputs||[];return[]}async function Dde(n,e,t,a,r){return t||(t=await md(n)),(await Xf("infra",n,e,t,{contractName:"TWCloneFactory"},a,r)).transaction.predictedAddress}function K7(n,e){if(n.length!==e.length)throw Error(`Passed the wrong number of constructor arguments: ${e.length}, expected ${n.length}`);return n.map((t,a)=>t==="tuple"||t.endsWith("[]")?typeof e[a]=="string"?JSON.parse(e[a]):e[a]:t==="bytes32"?(at(O0.utils.isHexString(e[a]),`Could not parse bytes32 value. Expected valid hex string but got "${e[a]}".`),O0.utils.hexZeroPad(e[a],32)):t.startsWith("bytes")?(at(O0.utils.isHexString(e[a]),`Could not parse bytes value. Expected valid hex string but got "${e[a]}".`),e[a]):t.startsWith("uint")||t.startsWith("int")?O0.BigNumber.from(e[a].toString()):e[a])}async function iW(n,e){at(n.provider,"No provider");let t=await Vz(n.provider);if(t.transaction.length>0){(await n.provider.getBalance(t.signer)).lt(t.valueToSend)&&await(await n.sendTransaction({to:t.signer,value:t.valueToSend})).wait();try{console.debug(`deploying CREATE2 factory at: ${t.deployment}`),e?.notifier?.("deploying","create2Factory"),await(await n.provider.sendTransaction(t.transaction)).wait(),e?.notifier?.("deployed","create2Factory")}catch(a){throw new Error(`Couldn't deploy CREATE2 factory: ${JSON.stringify(a)}`)}}return t.deployment}function Us(n,e){return e===O0.constants.AddressZero?n:e}async function kde(n,e,t,a){let r=e.defaultAdmin||await a.getAddress(),i=[];switch(e.trusted_forwarders&&e.trusted_forwarders.length>0&&i.push(...e.trusted_forwarders),n){case Z5.contractType:case B3.contractType:let s=await Z5.schema.deploy.parseAsync(e);return[r,s.name,s.symbol,t,i,Us(r,s.primary_sale_recipient),s.fee_recipient,s.seller_fee_basis_points,s.platform_fee_basis_points,Us(r,s.platform_fee_recipient)];case tu.contractType:let f=await tu.schema.deploy.parseAsync(e);return[r,f.name,f.symbol,t,i,Us(r,f.primary_sale_recipient),f.fee_recipient,f.seller_fee_basis_points,f.platform_fee_basis_points,Us(r,f.platform_fee_recipient)];case X5.contractType:let o=await X5.schema.deploy.parseAsync(e);return[r,o.name,o.symbol,t,i,o.fee_recipient,o.seller_fee_basis_points];case Y5.contractType:case M3.contractType:let c=await Y5.schema.deploy.parseAsync(e);return[r,c.name,c.symbol,t,i,Us(r,c.primary_sale_recipient),c.fee_recipient,c.seller_fee_basis_points,c.platform_fee_basis_points,Us(r,c.platform_fee_recipient)];case N3.contractType:case au.contractType:let d=await au.schema.deploy.parseAsync(e);return[r,d.name,d.symbol,t,i,Us(r,d.primary_sale_recipient),Us(r,d.platform_fee_recipient),d.platform_fee_basis_points];case ru.contractType:let l=await ru.schema.deploy.parseAsync(e);return[l.name,t,i,l.voting_token_address,l.voting_delay_in_blocks,l.voting_period_in_blocks,O0.BigNumber.from(l.proposal_token_threshold),l.voting_quorum_fraction];case nu.contractType:let y=await nu.schema.deploy.parseAsync(e);return[r,t,i,y.recipients.map(A=>A.address),y.recipients.map(A=>O0.BigNumber.from(A.sharesBps))];case J5.contractType:case Cy.contractType:let h=await J5.schema.deploy.parseAsync(e);return[r,t,i,Us(r,h.platform_fee_recipient),h.platform_fee_basis_points];case eu.contractType:let T=await eu.schema.deploy.parseAsync(e);return[r,T.name,T.symbol,t,i,T.fee_recipient,T.seller_fee_basis_points];default:return[]}}function Iit(n,e){if(n in Cde){let t=Cde[n];if(e in t)return t[e]}return null}async function Eit(n,e,t,a,r){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7e6;at(t.provider,"Provider is required");let s=n.startsWith("0x")?n:`0x${n}`,f=await iW(t),o=Dy(e),c=o.map(O=>O.type),d=K7(c,a),l=o.map(O=>O.type==="tuple[]"?O0.utils.ParamType.from(O):O.type),y=O0.utils.defaultAbiCoder.encode(l,d),h=Uw(s,y,f,r),T=await kc(h,t.provider),A="";if(T)throw new Error(`Contract already deployed at ${h}`);{console.debug(`deploying contract via create2 factory at: ${h}`),A=_k(s,y,r);let O={to:f,data:A};try{await t.estimateGas(O)}catch(N){console.debug("error estimating gas while deploying prebuilt: ",N),O.gasLimit=O0.BigNumber.from(i)}await(await t.sendTransaction(O)).wait()}return h}async function Dit(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,f=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:7e6,d=(await Yo(e,n,t,i,s,f)).metadataUri,{compilerMetadata:l,extendedMetadata:y}=await ws(d,i);return at(y?.deployType==="standard","Must be direct deploy"),await Eit(l.bytecode,l.abi,r,a,o,c)}async function Cit(n,e,t,a,r){let i=n.startsWith("0x")?n:`0x${n}`,s=await md(t),f=Dy(e),o=f.map(h=>h.type),c=K7(o,a),d=f.map(h=>h.type==="tuple[]"?O0.utils.ParamType.from(h):h.type),l=O0.utils.defaultAbiCoder.encode(d,c);return Uw(i,l,s,r)}async function Sit(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,f=arguments.length>7?arguments[7]:void 0,o=arguments.length>8?arguments[8]:void 0,c=(await Yo(e,n,t,i,s,f)).metadataUri,{compilerMetadata:d,extendedMetadata:l}=await ws(c,i);return at(l?.deployType==="standard","Must be direct deploy"),await Cit(d.bytecode,d.abi,r,a,o)}async function mit(n,e,t,a,r,i){F6.deploymentPresets={};let[s,{compilerMetadata:f,extendedMetadata:o}]=await Promise.all([a||md(t),ws(n,e)]),c={},d=[],l=o?.defaultModules,y=await Xf("infra",t,e,s,{contractName:"TWCloneFactory"},r,i);if(d.push(y),l){let T=await Promise.all(l.map(N=>Yo(N.publisherAddress,N.moduleName,N.moduleVersion,e,r,i))),A=await Promise.all(T.map(N=>ws(N.metadataUri,e))),O=await Promise.all(A.map(N=>Xf("module",t,e,s,{metadata:N.compilerMetadata},r,i)));d.push(...O)}let h=await Xf("implementation",t,e,s,{metadata:f,constructorParams:c},r,i);return d.push(...Object.values(F6.deploymentPresets)),d.push(h),d}function wde(n,e){return wk(n)&&(e={...e,supportedChains:[n,...e?.supportedChains||[]]}),e}var bit,O0,uit,yit,_it,aW,Lk,rW,Ede,Knn,Cde,sW,Sde,Qnn,Ynn,Jnn,_de,up,V3,fW,Ait=ce(()=>{"use strict";p();u();sn();w_();eit();bit=Te(yse());tit();O0=Te(Ue());Ia();Qa();Ot();Ga();M6();gc();ait();hde();zz();rit();uit=!1;yit={FAILED:"Fail - Unable to verify",SUCCESS:"Pass - Verified",PENDING:"Pending in queue",IN_PROGRESS:"In progress",ALREADY_VERIFIED:"Contract source code already verified",AUTOMATICALLY_VERIFIED:"Already Verified"},_it={OK:"1",NOTOK:"0"};aW=class extends j5{constructor(e,t,a){super(e,t),this.storage=a}updateSignerOrProvider(e){super.updateSignerOrProvider(e)}async verifyThirdwebContract(e,t,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,f=(await this.getProvider().getNetwork()).chainId,o=await wit(e,f,t,a,this.storage,r,this.options.clientId,this.options.secretKey,i,s);if(i!=="blockscoutV2"){console.info("Checking verification status...");let c=await xde(t,a,o);console.info(c)}}async verifyContract(e,t,a,r,i){let s=(await this.getProvider().getNetwork()).chainId,f;if(i){let c=Object.values(i).map(l=>(at(l.type,"Param type is required"),l.type)),d=Object.values(i).map(l=>l.value);f=O0.utils.defaultAbiCoder.encode(c,d)}let o=await Ade(e,s,t,a,this.storage,r,f);if(r!=="blockscoutV2"){console.info("Checking verification status...");let c=await xde(t,a,o);console.info(c)}}},Lk="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",rW=class n{constructor(e,t,a){Z(this,"events",new od);this.connection=new j5(e,t),this.options=t,this.events=new od,this.storage=a}connect(e){this.connection.updateSignerOrProvider(e),this.events.emit("signerChanged",this.connection.getSigner())}async transfer(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ri,[r,i,s]=await Promise.all([Pe(e),Pe(a),Gn(this.connection.getProvider(),t,a)]),f=this.requireWallet();if(ai(i)){let o=await f.getAddress(),c=r7()?{}:await ap(this.connection.getProvider());return{receipt:await(await f.sendTransaction({from:o,to:r,value:s,...c})).wait()}}else{let o=(await Promise.resolve().then(()=>Te(D1()))).default;return{receipt:await this.createErc20(i,o).sendTransaction("transfer",[r,s])}}}async balance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ri;this.requireWallet();let t=await Pe(e),a=this.connection.getProvider(),r;if(ai(t))r=await a.getBalance(await this.getAddress());else{let i=(await Promise.resolve().then(()=>Te(D1()))).default;r=await this.createErc20(t,i).read("balanceOf",[await this.getAddress()])}return await Va(a,t,r)}async getAddress(){return await this.requireWallet().getAddress()}async getChainId(){return await this.requireWallet().getChainId()}async getNonce(e){return await this.connection.getProvider().getTransactionCount(await this.getAddress(),e)}isConnected(){try{return this.requireWallet(),!0}catch{return!1}}async sign(e){return await this.requireWallet().signMessage(e)}async signTypedData(e,t,a){return await Ic(this.requireWallet(),e,t,a)}recoverAddress(e,t){let a=O0.utils.hashMessage(e),r=O0.utils.arrayify(a);return O0.utils.recoverAddress(r,t)}async sendRawTransaction(e){let t=this.requireWallet();return e={...r7()||e.gasLimit||e.maxFeePerGas&&e.maxPriorityFeePerGas?{}:await ap(this.connection.getProvider()),...e},t.sendTransaction(e)}async executeRawTransaction(e){return{receipt:await(await this.sendRawTransaction(e)).wait()}}async requestFunds(e){let t=await this.getChainId();if(t===yt.Localhost||t===yt.Hardhat)return new n(new O0.Wallet(Lk,vi(t,this.options)),this.options,this.storage).transfer(await this.getAddress(),e);throw new Error(`Requesting funds is not supported on chain: '${t}'.`)}requireWallet(){let e=this.connection.getSigner();return at(e,"This action requires a connected wallet. Please pass a valid signer to the SDK."),e}createErc20(e,t){return new f0(this.connection.getSignerOrProvider(),e,t,this.options,this.storage)}};Ede=class{constructor(e,t){Z(this,"addContract",ye(async e=>{let t=await this.registryRouter.getSignerAddress();return De.fromContractWrapper({contractWrapper:this.registryLogic,method:"add",args:[t,e.address,e.chainId,e.metadataURI||""]})}));Z(this,"addContracts",ye(async e=>{let t=await this.registryRouter.getSignerAddress(),a=[],r=new r0(this.registryLogic);return e.forEach(i=>{a.push(r.encode("add",[t,i.address,i.chainId,i.metadataURI||""]))}),De.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[a]})}));Z(this,"removeContract",ye(async e=>{let t=await this.registryRouter.getSignerAddress();return De.fromContractWrapper({contractWrapper:this.registryLogic,method:"remove",args:[t,await Pe(e.address),e.chainId]})}));Z(this,"removeContracts",ye(async e=>{let t=await this.registryRouter.getSignerAddress(),a=new r0(this.registryLogic),r=await Promise.all(e.map(async i=>a.encode("remove",[t,await Pe(i.address),i.chainId])));return De.fromContractWrapper({contractWrapper:this.registryRouter,method:"multicall",args:[r]})}));let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.storage=t,this.registryLogic=new f0(e,Ck(),bit.default,a,t),this.registryRouter=new f0(e,Ck(),nit,a,t)}async updateSigner(e){this.registryLogic.updateSignerOrProvider(e),this.registryRouter.updateSignerOrProvider(e)}async getContractMetadataURI(e,t){return await this.registryLogic.read("getMetadataUri",[e,await Pe(t)])}async getContractMetadata(e,t){let a=await this.getContractMetadataURI(e,t);if(!a)throw new Error(`No metadata URI found for contract ${t} on chain ${e}`);return await this.storage.downloadJSON(a)}async getContractAddresses(e){return(await this.registryLogic.read("getAll",[await Pe(e)])).filter(t=>O0.utils.isAddress(t.deploymentAddress)&&t.deploymentAddress.toLowerCase()!==O0.constants.AddressZero).map(t=>({address:t.deploymentAddress,chainId:t.chainId.toNumber()}))}};Knn=[yt.Mainnet,yt.Goerli,yt.Polygon,yt.Mumbai,yt.Fantom,yt.FantomTestnet,yt.Avalanche,yt.AvalancheFujiTestnet,yt.Optimism,yt.OptimismGoerli,yt.Arbitrum,yt.ArbitrumGoerli,yt.BinanceSmartChainMainnet,yt.BinanceSmartChainTestnet,yt.Hardhat,yt.Localhost];Cde={[yt.Mainnet]:{"nft-drop":"0x60fF9952e0084A6DEac44203838cDC91ABeC8736","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","signature-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A"},[yt.Polygon]:{"nft-drop":"0xB96508050Ba0925256184103560EBADA912Fcc69","edition-drop":"0x74af262d0671F378F97a1EDC3d0970Dbe8A1C550","token-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","signature-drop":"0xBE2fDc35410E268e41Bec62DBb01AEb43245c7d5"},[yt.Fantom]:{"nft-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","edition-drop":"0x06395FCF9AC6ED827f9dD6e776809cEF1Be0d21B","token-drop":"0x0148b28a38efaaC31b6aa0a6D9FEb70FE7C91FFa","signature-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10"},[yt.Avalanche]:{"nft-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","edition-drop":"0x135fC9D26E5eC51260ece1DF4ED424E2f55c7766","token-drop":"0xca0B071899E575BA86495D46c5066971b6f3A901","signature-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3"},[yt.Optimism]:{"nft-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","edition-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","token-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","signature-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD"},[yt.Arbitrum]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[yt.BinanceSmartChainMainnet]:{"nft-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","edition-drop":"0x2A396b2D90BAcEF19cDa973586B2633d22710fC2","token-drop":"0xe135Ef65C2B2213C3fD56d0Bd6500A2cA147aC10","signature-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1"},[yt.Goerli]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf","token-drop":"0x5680933221B752EB443654a014f88B101F868d50","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[yt.Mumbai]:{"nft-drop":"0xC4903c1Ff5367b9ac2c349B63DC2409421AaEE2a","edition-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","token-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9","signature-drop":"0x2dF9851af45dd41C8584ac55D983C604da985Bc7"},[yt.FantomTestnet]:{"nft-drop":"0x8a4cd3549e548bbEEb38C16E041FFf040a5acabD","edition-drop":"0x902Dd246e66d8C3CE652375a723F2a52b43b9AAE","token-drop":"0xFBd7D24d80ee005671E731a7287DEB6073264dD1","signature-drop":"0x5A8eA4Adad8289746D073947BA06D69A62499aaf"},[yt.AvalancheFujiTestnet]:{"nft-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","edition-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728","token-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","signature-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F"},[yt.OptimismGoerli]:{"nft-drop":"0xCcddcec1831646Beff2753249f1B9C580327E89F","edition-drop":"0x6fD690EB509BdE4C50028C5D9C0dE3750C2Fad6A","token-drop":"0xD11c97DD5F5546B5bBd630D7D1d7327481B0b92C","signature-drop":"0x1b5947e1a2d5a29D0df20931DeAB0B87818209B9"},[yt.ArbitrumGoerli]:{"nft-drop":"0x9CfE807a5b124b962064Fa8F7FD823Cc701255b6","edition-drop":"0x9cF91118C8ee2913F0588e0F10e36B3d63F68bF6","token-drop":"0x1d47526C3292B0130ef0afD5F02c1DA052A017B3","signature-drop":"0xE1eE43D23f247b6A9aF81fcE2766E76709482728"},[yt.BinanceSmartChainTestnet]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[yt.Hardhat]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""},[yt.Localhost]:{"nft-drop":"","edition-drop":"","token-drop":"","signature-drop":""}};sW=class extends f0{constructor(t,a,r,i){super(a,t,iit,i,r);Z(this,"DEFAULT_VERSION_MAP",{[Z5.contractType]:3,[B3.contractType]:1,[tu.contractType]:4,[X5.contractType]:1,[Y5.contractType]:2,[M3.contractType]:1,[N3.contractType]:2,[au.contractType]:1,[ru.contractType]:1,[nu.contractType]:1,[J5.contractType]:2,[Cy.contractType]:3,[eu.contractType]:2});Z(this,"deploy",ye(async(t,a,r,i,s,f)=>{let o=F3[t],c=await o.schema.deploy.parseAsync(a),d=await this.storage.upload(c),l=await this.getImplementation(o,i)||void 0;if(!l||l===O0.constants.AddressZero)throw new Error(`No implementation found for ${t}`);let y=await o.getAbi(l,this.getProvider(),this.storage),h=this.getSigner();at(h,"A signer is required to deploy contracts");let T=await kde(t,c,d,h),A=O0.Contract.getInterface(y).encodeFunctionData("initialize",T),O=await this.getProvider().getBlockNumber(),N=s?.saltForProxyDeploy?O0.utils.id(s.saltForProxyDeploy):O0.utils.formatBytes32String(O.toString());return De.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[l,A,N],parse:U=>{f&&f();let q=this.parseLogs("ProxyDeployed",U.logs);if(q.length<1)throw new Error("No ProxyDeployed event found");let W=q[0].args.proxy;return r.emit("contractDeployed",{status:"completed",contractAddress:W,transactionHash:U.transactionHash}),W}})}));Z(this,"deployProxyByImplementation",ye(async(t,a,r,i,s,f,o)=>{let c=O0.Contract.getInterface(a).encodeFunctionData(r,i),d=await this.getProvider().getBlockNumber(),l=f?O0.utils.id(f):O0.utils.formatBytes32String(d.toString());return De.fromContractWrapper({contractWrapper:this,method:"deployProxyByImplementation",args:[t,c,l],parse:y=>{o&&o();let h=this.parseLogs("ProxyDeployed",y.logs);if(h.length<1)throw new Error("No ProxyDeployed event found");let T=h[0].args.proxy;return s.emit("contractDeployed",{status:"completed",contractAddress:T,transactionHash:y.transactionHash}),T}})}));this.storage=r}async getDeployArguments(t,a,r){let i=[];a.trusted_forwarders&&a.trusted_forwarders.length>0&&(i=a.trusted_forwarders);let s=await this.getSignerAddress();switch(t){case Z5.contractType:case B3.contractType:let f=await Z5.schema.deploy.parseAsync(a);return[s,f.name,f.symbol,r,i,Us(s,f.primary_sale_recipient),f.fee_recipient,f.seller_fee_basis_points,f.platform_fee_basis_points,Us(s,f.platform_fee_recipient)];case tu.contractType:let o=await tu.schema.deploy.parseAsync(a);return[s,o.name,o.symbol,r,i,Us(s,o.primary_sale_recipient),o.fee_recipient,o.seller_fee_basis_points,o.platform_fee_basis_points,Us(s,o.platform_fee_recipient)];case X5.contractType:let c=await X5.schema.deploy.parseAsync(a);return[s,c.name,c.symbol,r,i,c.fee_recipient,c.seller_fee_basis_points];case Y5.contractType:case M3.contractType:let d=await Y5.schema.deploy.parseAsync(a);return[s,d.name,d.symbol,r,i,Us(s,d.primary_sale_recipient),d.fee_recipient,d.seller_fee_basis_points,d.platform_fee_basis_points,Us(s,d.platform_fee_recipient)];case N3.contractType:case au.contractType:let l=await au.schema.deploy.parseAsync(a);return[s,l.name,l.symbol,r,i,Us(s,l.primary_sale_recipient),Us(s,l.platform_fee_recipient),l.platform_fee_basis_points];case ru.contractType:let y=await ru.schema.deploy.parseAsync(a);return[y.name,r,i,y.voting_token_address,y.voting_delay_in_blocks,y.voting_period_in_blocks,O0.BigNumber.from(y.proposal_token_threshold),y.voting_quorum_fraction];case nu.contractType:let h=await nu.schema.deploy.parseAsync(a);return[s,r,i,h.recipients.map(N=>N.address),h.recipients.map(N=>O0.BigNumber.from(N.sharesBps))];case J5.contractType:let T=await J5.schema.deploy.parseAsync(a);return[s,r,i,Us(s,T.platform_fee_recipient),T.platform_fee_basis_points];case Cy.contractType:let A=await Cy.schema.deploy.parseAsync(a);return[s,r,i,Us(s,A.platform_fee_recipient),A.platform_fee_basis_points];case eu.contractType:let O=await eu.schema.deploy.parseAsync(a);return[s,O.name,O.symbol,r,i,O.fee_recipient,O.seller_fee_basis_points];default:return[]}}async getImplementation(t,a){let r=O0.utils.formatBytes32String(t.name),i=await this.getChainID(),s=Iit(i,t.contractType);return s&&s.length>0&&a===void 0?s:this.read("getImplementation",[r,a!==void 0?a:this.DEFAULT_VERSION_MAP[t.contractType]])}async getLatestVersion(t){let a=Hz(t);if(!a)throw new Error(`Invalid contract type ${t}`);let r=O0.utils.formatBytes32String(a);return this.read("currentVersion",[r])}},Sde=class extends f0{constructor(t,a,r,i,s){super(a,t,i,s,r);Z(this,"addContract",ye(async t=>await this.addContracts.prepare([t])));Z(this,"addContracts",ye(async t=>{let a=await this.getSignerAddress(),r=new r0(this),i=(await Promise.all(t.map(s=>Pe(s)))).map(s=>r.encode("add",[a,s]));return De.fromContractWrapper({contractWrapper:this,method:"multicall",args:[i]})}));Z(this,"removeContract",ye(async t=>await this.removeContracts.prepare([t])));Z(this,"removeContracts",ye(async t=>{let a=await this.getSignerAddress(),r=new r0(this),i=(await Promise.all(t.map(s=>Pe(s)))).map(s=>r.encode("remove",[a,s]));return De.fromContractWrapper({contractWrapper:this,method:"multicall",args:[i]})}))}async getContractAddresses(t){return(await this.read("getAll",[await Pe(t)])).filter(a=>O0.utils.isAddress(a)&&a.toLowerCase()!==O0.constants.AddressZero)}},Qnn=_s.merge(as).merge(Hi),Ynn=Qnn.merge(B1).merge(K5).merge(Qo),Jnn=_s.merge(Hi),_de=Jnn.merge(Qo);up=class n extends j5{constructor(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;hit("No API key. Please provide a clientId. It is required to access thirdweb's services. You can create a key at https://thirdweb.com/create-api-key",a.clientId,a.secretKey),a=wde(t,a);super(t,a);Z(this,"contractCache",new Map);Gce(a?.supportedChains);let f=Gnn(r,a);this.storage=f,this.storageHandler=f,this.wallet=new rW(t,a,f),this.deployer=new fW(t,a,f),this.verifier=new aW(t,a,f),this.multiChainRegistry=new Ede(t,this.storageHandler,this.options),this._publisher=new Wz(t,this.options,this.storageHandler)}static async fromWallet(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,s=await t.getSigner();return n.fromSigner(s,a,r,i)}static fromSigner(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,s=t;if(a)try{let o=vi(a,r);s=t.connect(o)}catch{}let f=new n(a||s,a?wde(a,r):r,i);return f.updateSignerOrProvider(s),f}static fromPrivateKey(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,s=vi(a,r),f=new O0.Wallet(t,s);return new n(f,wde(a,r),i)}get auth(){throw new Error(`The sdk.auth namespace has been moved to the @thirdweb-dev/auth package and is no longer available after @thirdweb-dev/sdk >= 3.7.0. Please visit https://portal.thirdweb.com/wallets/auth for instructions on how to switch to using the new auth package (@thirdweb-dev/auth@3.0.0). - If you still want to use the old @thirdweb-dev/auth@2.0.0 package, you can downgrade the SDK to version 3.6.0.`)}async getNFTDrop(n){return await this.getContract(n,"nft-drop")}async getSignatureDrop(n){return await this.getContract(n,"signature-drop")}async getNFTCollection(n){return await this.getContract(n,"nft-collection")}async getEditionDrop(n){return await this.getContract(n,"edition-drop")}async getEdition(n){return await this.getContract(n,"edition")}async getTokenDrop(n){return await this.getContract(n,"token-drop")}async getToken(n){return await this.getContract(n,"token")}async getVote(n){return await this.getContract(n,"vote")}async getSplit(n){return await this.getContract(n,"split")}async getMarketplace(n){return await this.getContract(n,"marketplace")}async getMarketplaceV3(n){return await this.getContract(n,"marketplace-v3")}async getPack(n){return await this.getContract(n,"pack")}async getMultiwrap(n){return await this.getContract(n,"multiwrap")}async getContract(n,a){let r=await Oe(n);if(this.contractCache.has(r))return this.contractCache.get(r);if(r in A5e)return await this.getContractFromAbi(r,A5e[r]);let f;if(!a||a==="custom")try{let i=await this.getPublisher().fetchCompilerMetadataFromAddress(r);f=await this.getContractFromAbi(r,await Ym(r,ht.parse(i.abi),this.getProvider(),this.options,this.storage))}catch(i){let s=await this.resolveContractType(r);if(s&&s!=="custom"){let o=await Eb[s].getAbi(r,this.getProvider(),this.storage);f=await this.getContractFromAbi(r,await Ym(r,ht.parse(o),this.getProvider(),this.options,this.storage))}else throw i}else typeof a=="string"&&a in Eb?f=await Eb[a].initialize(this.getSignerOrProvider(),r,this.storage,this.options):f=await this.getContractFromAbi(r,a);return this.contractCache.set(r,f),f}async getBuiltInContract(n,a){return await this.getContract(n,a)}async resolveContractType(n){try{let a=(await Promise.resolve().then(()=>Ee(Toe()))).default,r=new Ht.Contract(await Oe(n),a,this.getProvider()),f=Ht.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return _5e(f)}catch{return"custom"}}async getContractList(n){let a=await(await this.deployer.getRegistry())?.getContractAddresses(await Oe(n))||[],r=(await this.getProvider().getNetwork()).chainId;return await Promise.all(a.map(async f=>({address:f,chainId:r,contractType:()=>this.resolveContractType(f),metadata:async()=>(await this.getContract(f)).metadata.get(),extensions:async()=>P5e((await this.getContract(f)).abi)})))}async getMultichainContractList(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r1,r=await this.multiChainRegistry.getContractAddresses(n),f=a.reduce((s,o)=>(s[o.chainId]=o,s),{}),i={};return r.map(s=>{let{address:o,chainId:c}=s;if(!f[c])return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]};try{let d=i[c];return d||(d=new t(c,{...this.options,readonlySettings:void 0,supportedChains:a},this.storage),i[c]=d),{address:o,chainId:c,contractType:()=>d.resolveContractType(o),metadata:async()=>(await d.getContract(o)).metadata.get(),extensions:async()=>P5e((await d.getContract(o)).abi)}}catch{return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]}}})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this.wallet.connect(this.getSignerOrProvider()),this.deployer.updateSignerOrProvider(this.getSignerOrProvider()),this._publisher.updateSignerOrProvider(this.getSignerOrProvider()),this.multiChainRegistry.updateSigner(this.getSignerOrProvider()),this.verifier.updateSignerOrProvider(this.getSignerOrProvider());for(let[,n]of this.contractCache)n.onNetworkUpdated(this.getSignerOrProvider())}async getContractFromAbi(n,a){let[r,{SmartContract:f}]=await Promise.all([Oe(n),Promise.resolve().then(()=>(Fs0(),Ls0))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,i]=as(this.getSignerOrProvider(),this.options),s=typeof a=="string"?JSON.parse(a):a,o=new f(this.getSignerOrProvider(),r,s,this.storageHandler,this.options,(await i.getNetwork()).chainId);return this.contractCache.set(r,o),o}async getBalance(n){return Ja(this.getProvider(),bf,await this.getProvider().getBalance(await Oe(n)))}getPublisher(){return this._publisher}};Ab="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",DK=class extends E2{constructor(n,a,r){super(n,a);ae(this,"transactionListener",n=>{n.status==="submitted"&&this.events.emit("contractDeployed",{status:"submitted",transactionHash:n.transactionHash})});ae(this,"deployNFTCollection",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(Tb.contractType,n,"latest",a)));ae(this,"deployNFTDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(R2.contractType,n,"latest",a)));ae(this,"deployLoyaltyCard",Gr(async(n,a)=>{let r=await yin.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points,r.platform_fee_basis_points,r.platform_fee_recipient];return await this.deployReleasedContract.prepare(Ab,"LoyaltyCard",o,"latest",a)}));ae(this,"deployOpenEdition",Gr(async(n,a)=>{let r=await rh.deploy.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,f,i,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points];return await this.deployPublishedContract.prepare(Ab,"OpenEditionERC721",o,"latest",a)}));ae(this,"deploySignatureDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(B2.contractType,n,"latest",a)));ae(this,"deployMultiwrap",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(S2.contractType,n,"latest",a)));ae(this,"deployEdition",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(wb.contractType,n,"latest",a)));ae(this,"deployEditionDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(C2.contractType,n,"latest",a)));ae(this,"deployToken",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(P2.contractType,n,"latest",a)));ae(this,"deployTokenDrop",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(xb.contractType,n,"latest",a)));ae(this,"deployMarketplace",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(k2.contractType,n,"latest",a)));ae(this,"deployMarketplaceV3",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(dh.contractType,n,"latest",a)));ae(this,"deployPack",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(M2.contractType,n,"latest",a)));ae(this,"deploySplit",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(D2.contractType,n,"latest",a)));ae(this,"deployVote",Gr(async(n,a)=>await this.deployBuiltInContract.prepare(L2.contractType,n,"latest",a)));ae(this,"deployAirdropERC20",Gr(async(n,a)=>{let r=await M5e.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Ab,"AirdropERC20",o,"latest",a)}));ae(this,"deployAirdropERC721",Gr(async(n,a)=>{let r=await M5e.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Ab,"AirdropERC721",o,"latest",a)}));ae(this,"deployAirdropERC1155",Gr(async(n,a)=>{let r=await M5e.parseAsync(n),f=await this.storage.upload(r),i=[];n.trusted_forwarders&&n.trusted_forwarders.length>0&&i.push(...n.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),f,i];return await this.deployReleasedContract.prepare(Ab,"AirdropERC1155",o,"latest",a)}));ae(this,"deployBuiltInContract",Gr((()=>{var n=this;return async function(a,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",i=arguments.length>3?arguments[3]:void 0,s=n.getSigner();d0(s,"A signer is required to deploy contracts");let o={app_uri:x5e[a],...await Eb[a].schema.deploy.parseAsync(r)};if(n.hasLocalFactory()){let y;try{y=parseInt(f),isNaN(y)&&(y=void 0)}catch{y=void 0}let v=await n.getFactory();if(!v)throw new Error("Factory not found");return v.on(o1.Transaction,n.transactionListener),v.deploy.prepare(a,o,n.events,y,i,()=>{v.off(o1.Transaction,n.transactionListener)})}let c=hK(a);d0(c,"Contract name not found");let d=await n.storage.upload(o),l=await z5e(a,o,d,s),h=await n.fetchPublishedContractFromPolygon(Ab,c,f);return n.deployContractFromUri.prepare(h.metadataUri,l,i)}})()));ae(this,"deployReleasedContract",Gr((()=>{var n=this;return async function(a,r,f){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",s=arguments.length>4?arguments[4]:void 0,o=await n.fetchPublishedContractFromPolygon(a,r,i);return await n.deployContractFromUri.prepare(o.metadataUri,f,s)}})()));ae(this,"deployPublishedContract",this.deployReleasedContract);ae(this,"deployViaFactory",be(async(n,a,r,f,i,s)=>{let o=await Oe(n),c=await Oe(a),d=this.getSigner();d0(d,"signer is required");let l=new BK(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(o1.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,f,i,this.events,s,()=>{l.off(o1.Transaction,this.transactionListener)})}));ae(this,"deployProxy",Gr(async(n,a,r,f)=>{let i=await Oe(n),s=Ht.Contract.getInterface(a).encodeFunctionData(r,f),{TWProxy__factory:o}=await Promise.resolve().then(()=>(Us0(),Os0));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[i,s])}));ae(this,"deployViaAutoFactory",Gr(async(n,a,r,f,i,s)=>{let o=await H5e(r,s),c=await N9(n,this.storage,this.getProvider(),o,this.options.clientId,this.options.secretKey),d=c.find(F=>F.type==="implementation")?.transaction.predictedAddress,l=c.filter(F=>F.transaction.data&&F.transaction.data.length>0),h=l.filter(F=>F.type!=="infra").map(F=>F.transaction),y=l.filter(F=>F.type==="infra").map(F=>F.transaction);await wK(r,y,s);for(let F of h)try{await TK(r,F,s)}catch(z){throw console.debug(`Error deploying contract at ${F.predictedAddress}`,z?.message),z}let v=await Oe(d),k=await Js0(this.getProvider(),this.storage,o,this.options.clientId,this.options.secretKey);s?.notifier?.("deploying","proxy");let O=await this.deployViaFactory.prepare(k,v,a.compilerMetadata.abi,f,i,s?.saltForProxyDeploy);return s?.notifier?.("deployed","proxy"),O}));ae(this,"deployViaCustomFactory",Gr(async(n,a,r,f)=>{let i=a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.customFactoryAddresses[f],s=await Oe(i);d0(s,`customFactoryAddress not found for chainId '${f}'`),d0(a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.factoryFunction,"customFactoryFunction not set'");let o=await ni(s,this.getProvider(),this.storage,this.options),c=F5e(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(y=>y.type),d=YE(c,n),l,h=await Me.fromContractInfo({contractAddress:s,contractAbi:o.abi,provider:this.getProvider(),signer:r,method:a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction,args:d,parse:()=>l,storage:this.storage});return l=await h.simulate(),h}));ae(this,"deployContractFromUri",Gr(async(n,a,r)=>{let f=this.getSigner();d0(f,"A signer is required");let{compilerMetadata:i,extendedMetadata:s}=await Ls(n,this.storage),o=r?.forceDirectDeploy||!1,c=(await this.getProvider().getNetwork()).chainId,d=s?.networksForDeployment?.networksEnabled.includes(c)||s?.networksForDeployment?.allNetworks;if(s?.networksForDeployment&&!d&&i.name!=="AccountFactory")throw new Error(`Deployments disabled on this network, with chainId: ${c}`);if(s&&s.factoryDeploymentData&&(s.isDeployableViaProxy||s.isDeployableViaFactory||s.deployType&&s.deployType!=="standard")&&!o){if(s.deployType==="customFactory")return await this.deployViaCustomFactory.prepare(a,{compilerMetadata:i,extendedMetadata:s},f,c);{d0(s.factoryDeploymentData.implementationInitializerFunction,"implementationInitializerFunction not set'");let v=F5e(i.abi,s.factoryDeploymentData.implementationInitializerFunction).map(z=>z.type),k=YE(v,a),O=s.factoryDeploymentData.implementationAddresses[c];if(!O||s.deployType==="autoFactory")return await this.deployViaAutoFactory.prepare(n,{compilerMetadata:i,extendedMetadata:s},f,s.factoryDeploymentData.implementationInitializerFunction,k,r);let F=await Oe(O);if(d0(F,`implementationAddress not found for chainId '${c}'`),s.isDeployableViaFactory){d0(s.factoryDeploymentData.factoryAddresses,"isDeployableViaFactory is true so factoryAddresses is required");let z=s.factoryDeploymentData.factoryAddresses[c];d0(z,`isDeployableViaFactory is true and factoryAddress not found for chainId '${c}'`);let W=await Oe(z);return await this.deployViaFactory.prepare(W,F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,k,r?.saltForProxyDeploy)}else if(s.isDeployableViaProxy)return await this.deployProxy.prepare(F,i.abi,s.factoryDeploymentData.implementationInitializerFunction,k)}}let l=i.bytecode.startsWith("0x")?i.bytecode:`0x${i.bytecode}`;if(!Ht.utils.isHexString(l))throw new Error(`Contract bytecode is invalid. + If you still want to use the old @thirdweb-dev/auth@2.0.0 package, you can downgrade the SDK to version 3.6.0.`)}async getNFTDrop(t){return await this.getContract(t,"nft-drop")}async getSignatureDrop(t){return await this.getContract(t,"signature-drop")}async getNFTCollection(t){return await this.getContract(t,"nft-collection")}async getEditionDrop(t){return await this.getContract(t,"edition-drop")}async getEdition(t){return await this.getContract(t,"edition")}async getTokenDrop(t){return await this.getContract(t,"token-drop")}async getToken(t){return await this.getContract(t,"token")}async getVote(t){return await this.getContract(t,"vote")}async getSplit(t){return await this.getContract(t,"split")}async getMarketplace(t){return await this.getContract(t,"marketplace")}async getMarketplaceV3(t){return await this.getContract(t,"marketplace-v3")}async getPack(t){return await this.getContract(t,"pack")}async getMultiwrap(t){return await this.getContract(t,"multiwrap")}async getContract(t,a){let r=await Pe(t);if(this.contractCache.has(r))return this.contractCache.get(r);if(r in mde)return await this.getContractFromAbi(r,mde[r]);let i;if(!a||a==="custom")try{let s=await this.getPublisher().fetchCompilerMetadataFromAddress(r);i=await this.getContractFromAbi(r,await c3(r,p0.parse(s.abi),this.getProvider(),this.options,this.storage))}catch(s){let f=await this.resolveContractType(r);if(f&&f!=="custom"){let o=await F3[f].getAbi(r,this.getProvider(),this.storage);i=await this.getContractFromAbi(r,await c3(r,p0.parse(o),this.getProvider(),this.options,this.storage))}else throw s}else typeof a=="string"&&a in F3?i=await F3[a].initialize(this.getSignerOrProvider(),r,this.storage,this.options):i=await this.getContractFromAbi(r,a);return this.contractCache.set(r,i),i}async getBuiltInContract(t,a){return await this.getContract(t,a)}async resolveContractType(t){try{let a=(await Promise.resolve().then(()=>Te(use()))).default,r=new O0.Contract(await Pe(t),a,this.getProvider()),i=O0.utils.toUtf8String(await r.contractType()).replace(/\x00/g,"");return yde(i)}catch{return"custom"}}async getContractList(t){let a=await(await this.deployer.getRegistry())?.getContractAddresses(await Pe(t))||[],r=(await this.getProvider().getNetwork()).chainId;return await Promise.all(a.map(async i=>({address:i,chainId:r,contractType:()=>this.resolveContractType(i),metadata:async()=>(await this.getContract(i)).metadata.get(),extensions:async()=>Ide((await this.getContract(i)).abi)})))}async getMultichainContractList(t){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qo,r=await this.multiChainRegistry.getContractAddresses(t),i=a.reduce((f,o)=>(f[o.chainId]=o,f),{}),s={};return r.map(f=>{let{address:o,chainId:c}=f;if(!i[c])return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]};try{let d=s[c];return d||(d=new n(c,{...this.options,readonlySettings:void 0,supportedChains:a},this.storage),s[c]=d),{address:o,chainId:c,contractType:()=>d.resolveContractType(o),metadata:async()=>(await d.getContract(o)).metadata.get(),extensions:async()=>Ide((await d.getContract(o)).abi)}}catch{return{address:o,chainId:c,contractType:async()=>"custom",metadata:async()=>({name:""}),extensions:async()=>[]}}})}updateSignerOrProvider(t){super.updateSignerOrProvider(t),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this.wallet.connect(this.getSignerOrProvider()),this.deployer.updateSignerOrProvider(this.getSignerOrProvider()),this._publisher.updateSignerOrProvider(this.getSignerOrProvider()),this.multiChainRegistry.updateSigner(this.getSignerOrProvider()),this.verifier.updateSignerOrProvider(this.getSignerOrProvider());for(let[,t]of this.contractCache)t.onNetworkUpdated(this.getSignerOrProvider())}async getContractFromAbi(t,a){let[r,{SmartContract:i}]=await Promise.all([Pe(t),Promise.resolve().then(()=>(oit(),fit))]);if(this.contractCache.has(r))return this.contractCache.get(r);let[,s]=$s(this.getSignerOrProvider(),this.options),f=typeof a=="string"?JSON.parse(a):a,o=new i(this.getSignerOrProvider(),r,f,this.storageHandler,this.options,(await s.getNetwork()).chainId);return this.contractCache.set(r,o),o}async getBalance(t){return Va(this.getProvider(),ri,await this.getProvider().getBalance(await Pe(t)))}getPublisher(){return this._publisher}};V3="0xdd99b75f095d0c4d5112aCe938e4e6ed962fb024",fW=class extends j5{constructor(t,a,r){super(t,a);Z(this,"transactionListener",t=>{t.status==="submitted"&&this.events.emit("contractDeployed",{status:"submitted",transactionHash:t.transactionHash})});Z(this,"deployNFTCollection",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(B3.contractType,t,"latest",a)));Z(this,"deployNFTDrop",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(Z5.contractType,t,"latest",a)));Z(this,"deployLoyaltyCard",Tr(async(t,a)=>{let r=await Ynn.parseAsync(t),i=await this.storage.upload(r),s=[];t.trusted_forwarders&&t.trusted_forwarders.length>0&&s.push(...t.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,i,s,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points,r.platform_fee_basis_points,r.platform_fee_recipient];return await this.deployReleasedContract.prepare(V3,"LoyaltyCard",o,"latest",a)}));Z(this,"deployOpenEdition",Tr(async(t,a)=>{let r=await wy.deploy.parseAsync(t),i=await this.storage.upload(r),s=[];t.trusted_forwarders&&t.trusted_forwarders.length>0&&s.push(...t.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),r.name,r.symbol,i,s,r.primary_sale_recipient,r.fee_recipient,r.seller_fee_basis_points];return await this.deployPublishedContract.prepare(V3,"OpenEditionERC721",o,"latest",a)}));Z(this,"deploySignatureDrop",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(tu.contractType,t,"latest",a)));Z(this,"deployMultiwrap",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(X5.contractType,t,"latest",a)));Z(this,"deployEdition",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(M3.contractType,t,"latest",a)));Z(this,"deployEditionDrop",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(Y5.contractType,t,"latest",a)));Z(this,"deployToken",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(au.contractType,t,"latest",a)));Z(this,"deployTokenDrop",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(N3.contractType,t,"latest",a)));Z(this,"deployMarketplace",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(J5.contractType,t,"latest",a)));Z(this,"deployMarketplaceV3",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(Cy.contractType,t,"latest",a)));Z(this,"deployPack",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(eu.contractType,t,"latest",a)));Z(this,"deploySplit",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(nu.contractType,t,"latest",a)));Z(this,"deployVote",Tr(async(t,a)=>await this.deployBuiltInContract.prepare(ru.contractType,t,"latest",a)));Z(this,"deployAirdropERC20",Tr(async(t,a)=>{let r=await _de.parseAsync(t),i=await this.storage.upload(r),s=[];t.trusted_forwarders&&t.trusted_forwarders.length>0&&s.push(...t.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),i,s];return await this.deployReleasedContract.prepare(V3,"AirdropERC20",o,"latest",a)}));Z(this,"deployAirdropERC721",Tr(async(t,a)=>{let r=await _de.parseAsync(t),i=await this.storage.upload(r),s=[];t.trusted_forwarders&&t.trusted_forwarders.length>0&&s.push(...t.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),i,s];return await this.deployReleasedContract.prepare(V3,"AirdropERC721",o,"latest",a)}));Z(this,"deployAirdropERC1155",Tr(async(t,a)=>{let r=await _de.parseAsync(t),i=await this.storage.upload(r),s=[];t.trusted_forwarders&&t.trusted_forwarders.length>0&&s.push(...t.trusted_forwarders);let o=[await this.getSigner()?.getAddress(),i,s];return await this.deployReleasedContract.prepare(V3,"AirdropERC1155",o,"latest",a)}));Z(this,"deployBuiltInContract",Tr((()=>{var t=this;return async function(a,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"latest",s=arguments.length>3?arguments[3]:void 0,f=t.getSigner();at(f,"A signer is required to deploy contracts");let o={app_uri:pde[a],...await F3[a].schema.deploy.parseAsync(r)};if(t.hasLocalFactory()){let h;try{h=parseInt(i),isNaN(h)&&(h=void 0)}catch{h=void 0}let T=await t.getFactory();if(!T)throw new Error("Factory not found");return T.on(jo.Transaction,t.transactionListener),T.deploy.prepare(a,o,t.events,h,s,()=>{T.off(jo.Transaction,t.transactionListener)})}let c=Hz(a);at(c,"Contract name not found");let d=await t.storage.upload(o),l=await kde(a,o,d,f),y=await t.fetchPublishedContractFromPolygon(V3,c,i);return t.deployContractFromUri.prepare(y.metadataUri,l,s)}})()));Z(this,"deployReleasedContract",Tr((()=>{var t=this;return async function(a,r,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",f=arguments.length>4?arguments[4]:void 0,o=await t.fetchPublishedContractFromPolygon(a,r,s);return await t.deployContractFromUri.prepare(o.metadataUri,i,f)}})()));Z(this,"deployPublishedContract",this.deployReleasedContract);Z(this,"deployViaFactory",ye(async(t,a,r,i,s,f)=>{let o=await Pe(t),c=await Pe(a),d=this.getSigner();at(d,"signer is required");let l=new sW(o,this.getSignerOrProvider(),this.storage,this.options);return l.on(jo.Transaction,this.transactionListener),await l.deployProxyByImplementation.prepare(c,r,i,s,this.events,f,()=>{l.off(jo.Transaction,this.transactionListener)})}));Z(this,"deployProxy",Tr(async(t,a,r,i)=>{let s=await Pe(t),f=O0.Contract.getInterface(a).encodeFunctionData(r,i),{TWProxy__factory:o}=await Promise.resolve().then(()=>(lit(),dit));return this.deployContractWithAbi.prepare(o.abi,o.bytecode,[s,f])}));Z(this,"deployViaAutoFactory",Tr(async(t,a,r,i,s,f)=>{let o=await iW(r,f),c=await G7(t,this.storage,this.getProvider(),o,this.options.clientId,this.options.secretKey),d=c.find(N=>N.type==="implementation")?.transaction.predictedAddress,l=c.filter(N=>N.transaction.data&&N.transaction.data.length>0),y=l.filter(N=>N.type!=="infra").map(N=>N.transaction),h=l.filter(N=>N.type==="infra").map(N=>N.transaction);await Sk(r,h,f);for(let N of y)try{await Ak(r,N,f)}catch(U){throw console.debug(`Error deploying contract at ${N.predictedAddress}`,U?.message),U}let T=await Pe(d),A=await Dde(this.getProvider(),this.storage,o,this.options.clientId,this.options.secretKey);f?.notifier?.("deploying","proxy");let O=await this.deployViaFactory.prepare(A,T,a.compilerMetadata.abi,i,s,f?.saltForProxyDeploy);return f?.notifier?.("deployed","proxy"),O}));Z(this,"deployModular",Tr(async(t,a,r,i,s,f)=>{let o=await iW(s,f),c=await mit(t,this.storage,this.getProvider(),o,this.options.clientId,this.options.secretKey),d=c.find(J=>J.type==="implementation")?.transaction.predictedAddress,l=c.filter(J=>J.transaction.data&&J.transaction.data.length>0),y=l.filter(J=>J.type!=="infra").map(J=>J.transaction),h=l.filter(J=>J.type==="infra").map(J=>J.transaction);await Sk(s,h,f);for(let J of y)try{await Ak(s,J,f)}catch(j){throw console.debug(`Error deploying contract at ${J.predictedAddress}`,j?.message),j}let T=await Pe(d),A=await Dde(this.getProvider(),this.storage,o,this.options.clientId,this.options.secretKey),O=[];for(let J of c)J.type==="module"&&O.push(J.transaction.predictedAddress);let N=r.extendedMetadata?.factoryDeploymentData?.modularFactoryInput?.modulesParamName;at(r.extendedMetadata?.factoryDeploymentData?.implementationInitializerFunction,"implementationInitializerFunction not set'");let U=Rk(r.compilerMetadata.abi,r.extendedMetadata.factoryDeploymentData.implementationInitializerFunction);at(U.length===a.length,"Wrong number of constructor arguments");let q=U.findIndex(J=>J.name===N);(a[q].length===0||a[q]==="[]")&&(a[q]=O);let W=Rk(r.compilerMetadata.abi,r.extendedMetadata.factoryDeploymentData.implementationInitializerFunction).map(J=>J.type),G=K7(W,a);f?.notifier?.("deploying","proxy");let X=await this.deployViaFactory.prepare(A,T,r.compilerMetadata.abi,i,G,f?.saltForProxyDeploy);return f?.notifier?.("deployed","proxy"),X}));Z(this,"deployViaCustomFactory",Tr(async(t,a,r,i)=>{let s=a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.customFactoryAddresses[i],f=await Pe(s);at(f,`customFactoryAddress not found for chainId '${i}'`),at(a.extendedMetadata?.factoryDeploymentData?.customFactoryInput?.factoryFunction,"customFactoryFunction not set'");let o=await $i(f,this.getProvider(),this.storage,this.options),c=Rk(o.abi,a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction).map(h=>h.type),d=K7(c,t),l,y=await De.fromContractInfo({contractAddress:f,contractAbi:o.abi,provider:this.getProvider(),signer:r,method:a.extendedMetadata.factoryDeploymentData.customFactoryInput.factoryFunction,args:d,parse:()=>l,storage:this.storage});return l=await y.simulate(),y}));Z(this,"deployContractFromUri",Tr(async(t,a,r)=>{let i=this.getSigner();at(i,"A signer is required");let{compilerMetadata:s,extendedMetadata:f}=await ws(t,this.storage),o=r?.forceDirectDeploy||!1,c=(await this.getProvider().getNetwork()).chainId,d=f?.networksForDeployment?.networksEnabled.includes(c)||f?.networksForDeployment?.allNetworks;if(f?.networksForDeployment&&!d&&s.name!=="AccountFactory")throw new Error(`Deployments disabled on this network, with chainId: ${c}`);if(f&&f.factoryDeploymentData&&(f.isDeployableViaProxy||f.isDeployableViaFactory||f.deployType&&f.deployType!=="standard")&&!o){if(f.deployType==="customFactory")return await this.deployViaCustomFactory.prepare(a,{compilerMetadata:s,extendedMetadata:f},i,c);if(f.deployType==="autoFactory"&&f.routerType==="modular")return await this.deployModular.prepare(t,a,{compilerMetadata:s,extendedMetadata:f},f.factoryDeploymentData.implementationInitializerFunction,i,r);{at(f.factoryDeploymentData.implementationInitializerFunction,"implementationInitializerFunction not set'");let T=Rk(s.abi,f.factoryDeploymentData.implementationInitializerFunction).map(U=>U.type),A=K7(T,a),O=f.factoryDeploymentData.implementationAddresses[c];if(!O||f.deployType==="autoFactory")return await this.deployViaAutoFactory.prepare(t,{compilerMetadata:s,extendedMetadata:f},i,f.factoryDeploymentData.implementationInitializerFunction,A,r);let N=await Pe(O);if(at(N,`implementationAddress not found for chainId '${c}'`),f.isDeployableViaFactory){at(f.factoryDeploymentData.factoryAddresses,"isDeployableViaFactory is true so factoryAddresses is required");let U=f.factoryDeploymentData.factoryAddresses[c];at(U,`isDeployableViaFactory is true and factoryAddress not found for chainId '${c}'`);let q=await Pe(U);return await this.deployViaFactory.prepare(q,N,s.abi,f.factoryDeploymentData.implementationInitializerFunction,A,r?.saltForProxyDeploy)}else if(f.isDeployableViaProxy)return await this.deployProxy.prepare(N,s.abi,f.factoryDeploymentData.implementationInitializerFunction,A)}}let l=s.bytecode.startsWith("0x")?s.bytecode:`0x${s.bytecode}`;if(!O0.utils.isHexString(l))throw new Error(`Contract bytecode is invalid. -${l}`);let h=ch(i.abi).map(v=>v.type),y=YE(h,a);return this.deployContractWithAbi.prepare(i.abi,l,y)}));ae(this,"deployContractWithAbi",Gr(async(n,a,r)=>{let f=this.getSigner(),i=this.getProvider();d0(f,"Signer is required to deploy contracts");let s=new Ht.ContractFactory(n,a).connect(f);return new nM({args:r,provider:i,signer:f,factory:s,storage:this.storage,events:this.events})}));this.storage=r,this.events=new R6,this.getFactory(),this.getRegistry()}async getLatestBuiltInContractVersion(n){let a=await this.getFactory();if(!a)throw new Error("Factory not found");return await a.getLatestVersion(n)}async deployPublishedContractDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ab,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getSigner();return d0(s,"Signer is required"),eo0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async predictAddressDeterministic(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ab,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",i=arguments.length>4?arguments[4]:void 0,s=this.getProvider();return d0(s,"Provider is required"),no0(n,r,f,a,s,this.storage,this.options.clientId,this.options.secretKey,i)}async getRegistry(){return this._registry?this._registry:this._registry=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=b9(a,"twRegistry");if(!r)return;let f=(await Promise.resolve().then(()=>Ee(Hs0()))).default;return new O5e(r,this.getSignerOrProvider(),this.storage,f,this.options)})}async getFactory(){return this._factory?this._factory:this._factory=this.getProvider().getNetwork().then(async n=>{let{chainId:a}=n,r=b9(a,"twFactory");return r?new BK(r,this.getSignerOrProvider(),this.storage,this.options):void 0})}updateSignerOrProvider(n){super.updateSignerOrProvider(n),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this._factory?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{}),this._registry?.then(n=>{n?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{})}async getTransactionsForDeploy(n,a){let r=[],f=this.getProvider();d0(f,"A provider is required");let{extendedMetadata:i}=await Ls(n,this.storage),s=a?.forceDirectDeploy||!1;if(i&&i.factoryDeploymentData&&(i.isDeployableViaProxy||i.isDeployableViaFactory||i.deployType==="autoFactory")&&!s){let o=(await this.getProvider().getNetwork()).chainId;if(!i.factoryDeploymentData.implementationAddresses[o]||i.deployType==="autoFactory"){let d=await c5(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let h=(await N9(n,this.storage,this.getProvider(),d,this.options.clientId,this.options.secretKey)).filter(O=>O.transaction.data&&O.transaction.data.length>0);h.filter(O=>O.type!=="infra").map(O=>O.transaction).forEach(O=>{r.push({contractType:"preset",addresses:[O.predictedAddress]})});let v=h.filter(O=>O.type==="infra").map(O=>O.transaction);I5e(v).forEach(O=>{let F=O.map(z=>z.predictedAddress);r.push({contractType:"infra",addresses:F})})}r=(await Promise.all(r.map(async d=>(await Promise.all(d.addresses.map(async h=>await Xc(h,f)?null:h))).filter(Boolean).length>0?d:null))).filter(Boolean),r.push({contractType:"proxy",addresses:[]})}else r.push({contractType:"custom",addresses:[]});return r}addDeployListener(n){this.events.on("contractDeployed",n)}removeDeployListener(n){this.events.off("contractDeployed",n)}removeAllDeployListeners(){this.events.removeAllListeners("contractDeployed")}async fetchPublishedContractFromPolygon(n,a,r){let f=await Oe(n),i=await new Wl("polygon",{clientId:this.options.clientId,secretKey:this.options.secretKey},this.storage).getPublisher().getVersion(f,a,r);if(!i)throw new Error(`No published contract found for '${a}' at version '${r}' by '${f}'`);return i}hasLocalFactory(){return!!UE("factoryAddress")}}});var mMa,bMa,yMa,O9=oe(()=>{"use strict";u();p();ao0();ln();or();i5();Da();W0();ir();mMa=Ee(Va()),bMa=Ee(io()),yMa=Ee(Yc());globalThis.global=globalThis});function ro0(t,e){return new $E.Contract(e,vin,t)}function PK(t,e){return`https://${t}.rpc.thirdweb.com${e?`/${e}`:""}${typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`?bundleId=${globalThis.APP_BUNDLE_ID}`:""}`}var $E,vin,U9,$n=oe(()=>{"use strict";u();p();It();$E=Ee(Je());W0();O9();vin=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"who",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"}];U9=class extends R6{constructor(){super(...arguments),Pe(this,"type","evm")}async getAddress(){return(await this.getSigner()).getAddress()}async getBalance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bf,n=await this.getSigner(),a=await this.getAddress();if(!n.provider)throw new Error("Please connect a provider");let r;return mf(e)?r=await n.provider.getBalance(a):r=await ro0(n,e).balanceOf(a),await Ja(n.provider,e,r)}async getChainId(){return(await this.getSigner()).getChainId()}async transfer(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bf,r=await this.getSigner(),f=await this.getAddress();if(!r.provider)throw new Error("Please connect a provider");let i=await ta(r.provider,n,a);if(mf(a)){let s=Bl(r.provider);return{receipt:await(await r.sendTransaction({from:f,to:e,value:i,...s})).wait()}}else return{receipt:await(await ro0(r,a).transfer(e,i)).wait()}}async signMessage(e){return await(await this.getSigner()).signMessage(e)}async verifySignature(e,n,a,r){try{let f=$E.utils.hashMessage(e),i=$E.utils.arrayify(f);if($E.utils.recoverAddress(i,n)===a)return!0}catch{}return!1}}});function win(t){for(let e=0,n=fo0.length;e"u"?{x_sdk_name:LK.name,x_sdk_platform:so0(),x_sdk_version:LK.version,x_sdk_os:io0(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=LK.name,globalThis.X_SDK_PLATFORM=so0(),globalThis.X_SDK_VERSION=LK.version,globalThis.X_SDK_OS=io0(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function so0(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var LK,fo0,rB=oe(()=>{"use strict";u();p();LK={name:"@thirdweb-dev/wallets",version:"2.5.34",main:"dist/thirdweb-dev-wallets.cjs.js",module:"dist/thirdweb-dev-wallets.esm.js",browser:{"./dist/thirdweb-dev-wallets.esm.js":"./dist/thirdweb-dev-wallets.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-wallets.browser.esm.js",default:"./dist/thirdweb-dev-wallets.esm.js"},default:"./dist/thirdweb-dev-wallets.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-wallets-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-wallets-evm.esm.js"},default:"./evm/dist/thirdweb-dev-wallets-evm.cjs.js"},"./evm/wallets/okx":{module:{browser:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.browser.esm.js",default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.esm.js"},default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.cjs.js"},"./evm/wallets/base":{module:{browser:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.browser.esm.js",default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.esm.js"},default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.cjs.js"},"./evm/wallets/safe":{module:{browser:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.browser.esm.js",default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.esm.js"},default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.cjs.js"},"./evm/wallets/async":{module:{browser:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.browser.esm.js",default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.esm.js"},default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.cjs.js"},"./evm/wallets/frame":{module:{browser:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.browser.esm.js",default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.esm.js"},default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.cjs.js"},"./evm/wallets/magic":{module:{browser:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.browser.esm.js",default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.esm.js"},default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.cjs.js"},"./evm/wallets/rabby":{module:{browser:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.browser.esm.js",default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.esm.js"},default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.cjs.js"},"./evm/wallets/trust":{module:{browser:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.browser.esm.js",default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.esm.js"},default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.cjs.js"},"./evm/wallets/xdefi":{module:{browser:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.browser.esm.js",default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.esm.js"},default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.cjs.js"},"./evm/wallets/blocto":{module:{browser:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.browser.esm.js",default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.esm.js"},default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.cjs.js"},"./evm/wallets/coin98":{module:{browser:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.browser.esm.js",default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.esm.js"},default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.cjs.js"},"./evm/wallets/engine":{module:{browser:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.browser.esm.js",default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.esm.js"},default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.cjs.js"},"./evm/wallets/ethers":{module:{browser:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.browser.esm.js",default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.esm.js"},default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.cjs.js"},"./evm/wallets/onekey":{module:{browser:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.browser.esm.js",default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.esm.js"},default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.cjs.js"},"./evm/wallets/signer":{module:{browser:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.browser.esm.js",default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.esm.js"},default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.cjs.js"},"./evm/wallets/zerion":{module:{browser:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.browser.esm.js",default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.esm.js"},default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.cjs.js"},"./evm/wallets/aws-kms":{module:{browser:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.browser.esm.js",default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.esm.js"},default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.cjs.js"},"./evm/wallets/gcp-kms":{module:{browser:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.browser.esm.js",default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.esm.js"},default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.cjs.js"},"./evm/wallets/imtoken":{module:{browser:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.browser.esm.js",default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.esm.js"},default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.cjs.js"},"./evm/wallets/phantom":{module:{browser:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.browser.esm.js",default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.esm.js"},default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.cjs.js"},"./evm/wallets/abstract":{module:{browser:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.browser.esm.js",default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.esm.js"},default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.cjs.js"},"./evm/wallets/injected":{module:{browser:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.browser.esm.js",default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.esm.js"},default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.cjs.js"},"./evm/wallets/metamask":{module:{browser:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.browser.esm.js",default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.esm.js"},default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.cjs.js"},"./evm/wallets/magic-eden":{module:{browser:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.browser.esm.js",default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.esm.js"},default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.cjs.js"},"./evm/wallets/core-wallet":{module:{browser:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.browser.esm.js",default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.esm.js"},default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.cjs.js"},"./evm/wallets/private-key":{module:{browser:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.browser.esm.js",default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.esm.js"},default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.cjs.js"},"./evm/connectors/okx":{module:{browser:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.browser.esm.js",default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.esm.js"},default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.cjs.js"},"./evm/wallets/local-wallet":{module:{browser:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.browser.esm.js",default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.esm.js"},default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.cjs.js"},"./evm/wallets/paper-wallet":{module:{browser:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.browser.esm.js",default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.esm.js"},default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.cjs.js"},"./evm/wallets/smart-wallet":{module:{browser:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.browser.esm.js",default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.esm.js"},default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.cjs.js"},"./evm/connectors/safe":{module:{browser:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.browser.esm.js",default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.esm.js"},default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.cjs.js"},"./evm/connectors/frame":{module:{browser:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.browser.esm.js",default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.esm.js"},default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.cjs.js"},"./evm/connectors/magic":{module:{browser:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.browser.esm.js",default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.esm.js"},default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.cjs.js"},"./evm/connectors/paper":{module:{browser:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.browser.esm.js",default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.esm.js"},default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.cjs.js"},"./evm/connectors/rabby":{module:{browser:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.browser.esm.js",default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.esm.js"},default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.cjs.js"},"./evm/connectors/trust":{module:{browser:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.browser.esm.js",default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.esm.js"},default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.cjs.js"},"./evm/connectors/xdefi":{module:{browser:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.browser.esm.js",default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.esm.js"},default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.cjs.js"},"./evm/wallets/rainbow-wallet":{module:{browser:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.browser.esm.js",default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.esm.js"},default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.cjs.js"},"./evm/wallets/wallet-connect":{module:{browser:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.browser.esm.js",default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.esm.js"},default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.cjs.js"},"./evm/connectors/blocto":{module:{browser:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.browser.esm.js",default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.esm.js"},default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.cjs.js"},"./evm/connectors/coin98":{module:{browser:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.browser.esm.js",default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.esm.js"},default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.cjs.js"},"./evm/connectors/onekey":{module:{browser:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.browser.esm.js",default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.esm.js"},default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.cjs.js"},"./evm/connectors/signer":{module:{browser:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.browser.esm.js",default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.esm.js"},default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.cjs.js"},"./evm/connectors/zerion":{module:{browser:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.browser.esm.js",default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.esm.js"},default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.cjs.js"},"./evm/wallets/coinbase-wallet":{module:{browser:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.browser.esm.js",default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.esm.js"},default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.cjs.js"},"./evm/wallets/embedded-wallet":{module:{browser:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.browser.esm.js",default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.esm.js"},default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.cjs.js"},"./evm/connectors/imtoken":{module:{browser:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.browser.esm.js",default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.esm.js"},default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.cjs.js"},"./evm/connectors/phantom":{module:{browser:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.browser.esm.js",default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.esm.js"},default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.cjs.js"},"./evm/connectors/rainbow":{module:{browser:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.browser.esm.js",default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.esm.js"},default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.cjs.js"},"./evm/connectors/injected":{module:{browser:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.browser.esm.js",default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.esm.js"},default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.cjs.js"},"./evm/connectors/metamask":{module:{browser:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.browser.esm.js",default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.esm.js"},default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.cjs.js"},"./evm/wallets/local-wallet-node":{module:{browser:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.browser.esm.js",default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.esm.js"},default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.cjs.js"},"./evm/wallets/wallet-connect-v1":{module:{browser:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.browser.esm.js",default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.esm.js"},default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.cjs.js"},"./evm/wallets/crypto-defi-wallet":{module:{browser:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.browser.esm.js",default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.esm.js"},default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.cjs.js"},"./evm/connectors/magic-eden":{module:{browser:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.browser.esm.js",default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.esm.js"},default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.cjs.js"},"./evm/wallets/aws-secrets-manager":{module:{browser:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.browser.esm.js",default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.esm.js"},default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.cjs.js"},"./evm/connectors/core-wallet":{module:{browser:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.browser.esm.js",default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.esm.js"},default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.cjs.js"},"./evm/connectors/local-wallet":{module:{browser:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.browser.esm.js",default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.esm.js"},default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.cjs.js"},"./evm/connectors/smart-wallet":{module:{browser:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.browser.esm.js",default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.esm.js"},default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect":{module:{browser:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.browser.esm.js",default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.esm.js"},default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.cjs.js"},"./evm/connectors/coinbase-wallet":{module:{browser:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.browser.esm.js",default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.esm.js"},default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.cjs.js"},"./evm/connectors/embedded-wallet":{module:{browser:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.browser.esm.js",default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.esm.js"},default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.cjs.js"},"./evm/wallets/token-bound-smart-wallet":{module:{browser:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.browser.esm.js",default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js"},default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect-v1":{module:{browser:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.browser.esm.js",default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.esm.js"},default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.cjs.js"},"./evm/connectors/crypto-defi-wallet":{module:{browser:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.browser.esm.js",default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.esm.js"},default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.cjs.js"},"./evm/connectors/token-bound-smart-wallet":{module:{browser:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.browser.esm.js",default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js"},default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.cjs.js"},"./evm/connectors/embedded-wallet/implementations":{module:{browser:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.browser.esm.js",default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.esm.js"},default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.cjs.js"},"./package.json":"./package.json"},types:"dist/thirdweb-dev-wallets.cjs.d.ts",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/wallets",license:"Apache-2.0",bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",files:["dist/","evm/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/connectors/*/index.ts","evm/connectors/embedded-wallet/implementations/index.ts","evm/wallets/**"],exports:{envConditions:["browser"]}},sideEffects:!1,dependencies:{"@account-abstraction/contracts":"^0.5.0","@blocto/sdk":"0.10.2","@coinbase/wallet-sdk":"^3.9.0","@google-cloud/kms":"^4.4.0","@magic-ext/connect":"^6.7.2","@magic-ext/oauth":"^7.6.2","@magic-sdk/provider":"^13.6.2","@metamask/eth-sig-util":"^4.0.1","@paperxyz/embedded-wallet-service-sdk":"^1.2.5","@paperxyz/sdk-common-utilities":"^0.1.1","@safe-global/safe-core-sdk":"^3.3.5","@safe-global/safe-ethers-adapters":"0.1.0-alpha.19","@safe-global/safe-ethers-lib":"^1.9.4","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/sdk":"workspace:*","@walletconnect/core":"^2.13.2","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.13.2","@walletconnect/utils":"^2.13.2","@walletconnect/web3wallet":"^1.12.2","asn1.js":"5.4.1","bn.js":"5.2.1",buffer:"^6.0.3","eth-provider":"^0.13.6","ethereumjs-util":"^7.1.5",eventemitter3:"^5.0.1","key-encoder":"2.0.3","magic-sdk":"^13.6.2","web3-core":"1.5.2"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.256.0",bs58:"^5.0.0",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",tweetnacl:"^1.0.3"},peerDependenciesMeta:{tweetnacl:{optional:!0},"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},bs58:{optional:!0},ethers:{optional:!0}},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@babel/plugin-transform-class-properties":"^7.24.1","@babel/plugin-transform-flow-strip-types":"^7.24.1","@babel/plugin-transform-private-methods":"^7.24.1","@microsoft/api-extractor":"^7.43.0","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5",abitype:"1.0.0","babel-plugin-transform-inline-environment-variables":"^0.4.4",bs58:"^5.0.0","cross-env":"^7.0.3","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-tsdoc":"^0.2.17","ethereum-provider":"^0.7.7",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",rimraf:"5.0.5",tweetnacl:"^1.0.3","typedoc-gen":"workspace:*",typescript:"5.4.4"},scripts:{format:"prettier --write 'src/**/*'",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && cross-env THIRDWEB_EWS_SDK_VERSION=$npm_package_version preconstruct build","preconstruct:fix":"preconstruct fix",push:"yalc push",typedoc:"node scripts/typedoc.mjs",test:"vitest run"},engines:{node:">=18"}},fo0=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]]});var U0,wn=oe(()=>{"use strict";u();p();U0={blocto:"blocto",coin98:"coin98",coinbase:"coinbase",coreWallet:"coreWallet",cryptoDefiWallet:"cryptoDefiWallet",frame:"frame",imtoken:"imToken",localWallet:"localWallet",magicLink:"magicLink",metamask:"metamask",paper:"paper",rainbow:"rainbowWallet",smartWallet:"smartWallet",tokenBoundSmartWallet:"tokenBoundSmartWallet",safe:"safe",trust:"trust",embeddedWallet:"embeddedWallet",walletConnectV1:"walletConnectV1",walletConnect:"walletConnect",phantom:"phantom",okx:"okx",oneKey:"oneKey",rabby:"rabby",xdefi:"xdefi",magicEden:"magicEden"}});var t6,z9=oe(()=>{"use strict";u();p();Hc();W0();t6=class extends R6{constructor(e){let{chains:n=r1,options:a}=e;super(),this.chains=n,this.options=a}getBlockExplorerUrls(e){let n=e.explorers?.map(a=>a.url)??[];return n.length>0?n:void 0}isChainUnsupported(e){return!this.chains.some(n=>n.chainId===e)}updateChains(e){this.chains=e}}});var FK,NK,Ib,Cb,Bn,Er,ic,_t,mo=oe(()=>{"use strict";u();p();It();FK=class extends Error{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!Number.isInteger(r))throw new Error('"code" must be an integer.');if(!e||typeof e!="string")throw new Error('"message" must be a nonempty string.');super(`${e}. Cause: ${JSON.stringify(a)}`),this.cause=a,this.code=r,this.data=f}},NK=class extends FK{constructor(e,n){let{cause:a,code:r,data:f}=n;if(!(Number.isInteger(r)&&r>=1e3&&r<=4999))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,{cause:a,code:r,data:f})}},Ib=class extends Error{constructor(){super(...arguments),Pe(this,"name","AddChainError"),Pe(this,"message","Error adding chain")}},Cb=class extends Error{constructor(e){let{chainId:n,connectorId:a}=e;super(`Chain "${n}" not configured for connector "${a}".`),Pe(this,"name","ChainNotConfigured")}},Bn=class extends Error{constructor(){super(...arguments),Pe(this,"name","ConnectorNotFoundError"),Pe(this,"message","Connector not found")}},Er=class extends FK{constructor(e){super("Resource unavailable",{cause:e,code:-32002}),Pe(this,"name","ResourceUnavailable")}},ic=class extends NK{constructor(e){super("Error switching chain",{cause:e,code:4902}),Pe(this,"name","SwitchChainError")}},_t=class extends NK{constructor(e){super("User rejected request",{cause:e,code:4001}),Pe(this,"name","UserRejectedRequestError")}}});function wi(t){return typeof t=="string"?Number.parseInt(t,t.trim().substring(0,2)==="0x"?16:10):typeof t=="bigint"?Number(t):t}var lh=oe(()=>{"use strict";u();p()});var sc,Ct,Mr=oe(()=>{"use strict";u();p();W0();sc=class extends R6{},Ct=class extends sc{constructor(e){super(),this.wagmiConnector=e}async connect(e){return this.setupConnectorListeners(),(await this.wagmiConnector.connect(e)).account}disconnect(){return this.wagmiConnector.removeAllListeners("connect"),this.wagmiConnector.removeAllListeners("change"),this.wagmiConnector.disconnect()}isConnected(){return this.wagmiConnector.isAuthorized()}getAddress(){return this.wagmiConnector.getAccount()}getSigner(){return this.wagmiConnector.getSigner()}getProvider(){return this.wagmiConnector.getProvider()}async switchChain(e){if(!this.wagmiConnector.switchChain)throw new Error("Switch chain not supported");await this.wagmiConnector.switchChain(e)}setupConnectorListeners(){this.wagmiConnector.addListener("connect",e=>{this.emit("connect",e)}),this.wagmiConnector.addListener("change",e=>{this.emit("change",e)}),this.wagmiConnector.addListener("disconnect",()=>{this.emit("disconnect")})}async setupListeners(){this.setupConnectorListeners(),await this.wagmiConnector.setupListeners()}updateChains(e){this.wagmiConnector.updateChains(e)}}});function kb(t){let e=new URL(t).hostname;return e.endsWith(".thirdweb.com")||e.endsWith(".thirdweb-dev.com")||e==="localhost"||e==="0.0.0.0"}function F2(t){return Tl(t).map(e=>{try{let n=new URL(e);return n.hostname.endsWith(".thirdweb.com")&&(n.pathname="",n.search=""),n.toString()}catch{return e}})}var uh=oe(()=>{"use strict";u();p();Hc()});var K5e=D(OK=>{"use strict";u();p();OK.__esModule=!0;OK.BaseAccount__factory=void 0;var do0=Je(),G5e=[{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],Iin=function(){function t(){}return t.createInterface=function(){return new do0.utils.Interface(G5e)},t.connect=function(e,n){return new do0.Contract(e,G5e,n)},t.abi=G5e,t}();OK.BaseAccount__factory=Iin});var V5e=D(UK=>{"use strict";u();p();UK.__esModule=!0;UK.BasePaymaster__factory=void 0;var lo0=Je(),Q5e=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Cin=function(){function t(){}return t.createInterface=function(){return new lo0.utils.Interface(Q5e)},t.connect=function(e,n){return new lo0.Contract(e,Q5e,n)},t.abi=Q5e,t}();UK.BasePaymaster__factory=Cin});var $5e=D(JE=>{"use strict";u();p();var kin=JE&&JE.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();JE.__esModule=!0;JE.BrokenBLSAccount__factory=void 0;var Y5e=Je(),HK=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"},{internalType:"address",name:"anAggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256[4]",name:"oldPublicKey",type:"uint256[4]"},{indexed:!1,internalType:"uint256[4]",name:"newPublicKey",type:"uint256[4]"}],name:"PublicKeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"aggregator",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getBlsPublicKey",outputs:[{internalType:"uint256[4]",name:"",type:"uint256[4]"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],uo0="0x60e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",Sin=function(t){return t.length>1},Rin=function(t){kin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Min=XE&&XE.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();XE.__esModule=!0;XE.BrokenBLSAccountFactory__factory=void 0;var J5e=Je(),zK=[{inputs:[{internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{internalType:"address",name:"aggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"createAccount",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],po0="0x60a060405234801561001057600080fd5b50604051612ede380380612ede83398101604081905261002f916100aa565b818160405161003d90610085565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015610070573d6000803e3d6000fd5b506001600160a01b0316608052506100e49050565b6120c680610e1883390190565b6001600160a01b03811681146100a757600080fd5b50565b600080604083850312156100bd57600080fd5b82516100c881610092565b60208401519092506100d981610092565b809150509250929050565b608051610d0d61010b60003960008181604b0152818160f7015261020d0152610d0d6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe1461004657806319c2a1b214610096578063de3398dd146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461038e565b6100bc565b61006d6100b736600461038e565b6101de565b6000806100c984846101de565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101d8565b8460001b7f0000000000000000000000000000000000000000000000000000000000000000856040516024016101279190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f3600000000000000000000000000000000000000000000000000000000179052516101a790610352565b6101b2929190610479565b8190604051809103906000f59050801580156101d2573d6000803e3d6000fd5b50925050505b92915050565b60006103198360001b604051806020016101f790610352565b6020820181038252601f19601f820116604052507f00000000000000000000000000000000000000000000000000000000000000008560405160240161023d9190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f360000000000000000000000000000000000000000000000000000000017905290516102c293929101610479565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526102fe92916020016104e7565b60405160208183030381529060405280519060200120610320565b9392505050565b60006103198383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c18061051783390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060a083850312156103a157600080fd5b82359150602084603f8501126103b657600080fd5b6040516080810181811067ffffffffffffffff821117156103d9576103d961035f565b6040528060a08601878111156103ee57600080fd5b8387015b8181101561040957803583529184019184016103f2565b50505080925050509250929050565b60808101818360005b6004811015610440578151835260209283019290910190600101610421565b50505092915050565b60005b8381101561046457818101518382015260200161044c565b83811115610473576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600082518060408401526104b4816060850160208701610449565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104f9818460208801610449565b83519083019061050d818360208801610449565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a47065a7c8ac5bac8ed56ef1cf7419a59dfdae21ba812180654b545d4faab85f64736f6c634300080f003360e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",Bin=function(t){return t.length>1},Din=function(t){Min(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Pin=ZE&&ZE.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();ZE.__esModule=!0;ZE.DepositPaymaster__factory=void 0;var Z5e=Je(),WK=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"addDepositFor",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"contract IOracle",name:"tokenPriceOracle",type:"address"}],name:"addToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"balances",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"}],name:"depositInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"_unlockBlock",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"}],name:"oracles",outputs:[{internalType:"contract IOracle",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"unlockBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTokensTo",outputs:[],stateMutability:"nonpayable",type:"function"}],ho0="0x60a06040523480156200001157600080fd5b5060405162001fa938038062001fa98339810160408190526200003491620000bb565b8062000040336200006b565b6001600160a01b031660805262000064336000908152600360205260409020439055565b50620000ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000ce57600080fd5b81516001600160a01b0381168114620000e657600080fd5b9392505050565b608051611e6f6200013a600039600081816103b30152818161052b015281816105f50152818161089001528181610957015281816109e701528181610bb90152610ed70152611e6f6000f3fe6080604052600436106101755760003560e01c8063addd5099116100cb578063c399ec881161007f578063d0e30db011610059578063d0e30db014610499578063f2fde38b146104a1578063f465c77e146104c157600080fd5b8063c399ec8814610442578063cc9c837c14610457578063cd8f80c21461047757600080fd5b8063bb9fe6bf116100b0578063bb9fe6bf146103d5578063c23a5cea146103ea578063c23f001f1461040a57600080fd5b8063addd50991461035e578063b0d691fe146103a157600080fd5b80635476bd721161012d5780638da5cb5b116101075780638da5cb5b146102ce5780639ed0fb681461031a578063a9a234091461033e57600080fd5b80635476bd7214610283578063715018a6146102a3578063796d4371146102b857600080fd5b8063382edd9e1161015e578063382edd9e146101af578063493b0170146101cf5780634a6f84cf1461024857600080fd5b80630396cb601461017a578063205c28781461018f575b600080fd5b61018d610188366004611915565b6104ef565b005b34801561019b57600080fd5b5061018d6101aa36600461195d565b6105a1565b3480156101bb57600080fd5b5061018d6101ca366004611989565b610639565b3480156101db57600080fd5b5061022e6101ea3660046119ca565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291825282812054600390925291909120549091565b604080519283526020830191909152015b60405180910390f35b34801561025457600080fd5b50610275610263366004611a03565b60036020526000908152604090205481565b60405190815260200161023f565b34801561028f57600080fd5b5061018d61029e3660046119ca565b61076e565b3480156102af57600080fd5b5061018d610858565b3480156102c457600080fd5b506102756188b881565b3480156102da57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161023f565b34801561032657600080fd5b5061018d336000908152600360205260409020439055565b34801561034a57600080fd5b5061018d610359366004611a20565b61086c565b34801561036a57600080fd5b506102f5610379366004611a03565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156103ad57600080fd5b506102f57f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e157600080fd5b5061018d610886565b3480156103f657600080fd5b5061018d610405366004611a03565b61090a565b34801561041657600080fd5b506102756104253660046119ca565b600260209081526000928352604080842090915290825290205481565b34801561044e57600080fd5b506102756109b6565b34801561046357600080fd5b5061018d610472366004611989565b610a6c565b34801561048357600080fd5b5061018d33600090815260036020526040812055565b61018d610b8b565b3480156104ad57600080fd5b5061018d6104bc366004611a03565b610c13565b3480156104cd57600080fd5b506104e16104dc366004611aaf565b610cca565b60405161023f929190611b79565b6104f7610ced565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b15801561058557600080fd5b505af1158015610599573d6000803e3d6000fd5b505050505050565b6105a9610ced565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b15801561058557600080fd5b61065b73ffffffffffffffffffffffffffffffffffffffff8416333084610d6e565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260016020526040902054166106ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f756e737570706f7274656420746f6b656e00000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600090815260026020908152604080832093861683529290529081208054839290610732908490611bca565b909155505073ffffffffffffffffffffffffffffffffffffffff821633036107695761076933600090815260036020526040812055565b505050565b610776610ced565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020541615610805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f546f6b656e20616c72656164792073657400000000000000000000000000000060448201526064016106e5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001691909216179055565b610860610ced565b61086a6000610e4a565b565b610874610ebf565b61088084848484610f5e565b50505050565b61088e610ced565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f657600080fd5b505af1158015610880573d6000803e3d6000fd5b610912610ced565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611be2565b905090565b3360009081526003602052604090205415801590610a9857503360009081526003602052604090205443115b610b24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4465706f7369745061796d61737465723a206d75737420756e6c6f636b546f6b60448201527f656e4465706f736974000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020908152604080832033845290915281208054839290610b64908490611bfb565b90915550610769905073ffffffffffffffffffffffffffffffffffffffff841683836110d6565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561099b57600080fd5b610c1b610ced565b73ffffffffffffffffffffffffffffffffffffffff8116610cbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106e5565b610cc781610e4a565b50565b60606000610cd6610ebf565b610ce185858561112c565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526108809085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611475565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016106e5565b600080808080610f7087890189611c12565b9450945094509450945060008183856188b8610f8c9190611c63565b610f96908a611bca565b610fa09190611c63565b610faa9190611ca0565b905060028a6002811115610fc057610fc0611cdb565b14610fec57610fe773ffffffffffffffffffffffffffffffffffffffff8616873084610d6e565b611036565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600260209081526040808320938a1683529290529081208054839290611030908490611bfb565b90915550505b73ffffffffffffffffffffffffffffffffffffffff85166000908152600260205260408120829161107c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c59190611bca565b909155505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526107699084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610dc8565b606060006188b88560a00135116111c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4465706f7369745061796d61737465723a2067617320746f6f206c6f7720666f60448201527f7220706f73744f7000000000000000000000000000000000000000000000000060648201526084016106e5565b3660006111d6610120880188611d0a565b90925090506028811461126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4465706f7369745061796d61737465723a207061796d6173746572416e64446160448201527f7461206d757374207370656369667920746f6b656e000000000000000000000060648201526084016106e5565b600061127a8260148186611d76565b61128391611da0565b60601c9050873560006112968389611581565b905060006112a38b6116cf565b73ffffffffffffffffffffffffffffffffffffffff841660009081526003602052604090205490915015611358576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4465706f7369745061796d61737465723a206465706f736974206e6f74206c6f60448201527f636b65640000000000000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526002602090815260408083209387168352929052205482111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4465706f7369745061796d61737465723a206465706f73697420746f6f206c6f60448201527f770000000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040805173ffffffffffffffffffffffffffffffffffffffff948516602082015294909316848401526060840152608083015260a0808301979097528051808303909701875260c09091019052509295600095509350505050565b60006114d7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116f69092919063ffffffff16565b80519091501561076957808060200190518101906114f59190611de8565b610769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602052604081205490911680611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4465706f7369745061796d61737465723a20756e737570706f7274656420746f60448201527f6b656e000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040517fd1eca9cf0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff82169063d1eca9cf90602401602060405180830381865afa1580156116a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c79190611be2565b949350505050565b600060e08201356101008301358082036116ea575092915050565b6116c782488301611705565b60606116c7848460008561171d565b60008183106117145781611716565b825b9392505050565b6060824710156117af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106e5565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117d89190611e0a565b60006040518083038185875af1925050503d8060008114611815576040519150601f19603f3d011682016040523d82523d6000602084013e61181a565b606091505b509150915061182b87838387611836565b979650505050505050565b606083156118cc5782516000036118c55773ffffffffffffffffffffffffffffffffffffffff85163b6118c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106e5565b50816116c7565b6116c783838151156118e15781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e59190611e26565b60006020828403121561192757600080fd5b813563ffffffff8116811461171657600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610cc757600080fd5b6000806040838503121561197057600080fd5b823561197b8161193b565b946020939093013593505050565b60008060006060848603121561199e57600080fd5b83356119a98161193b565b925060208401356119b98161193b565b929592945050506040919091013590565b600080604083850312156119dd57600080fd5b82356119e88161193b565b915060208301356119f88161193b565b809150509250929050565b600060208284031215611a1557600080fd5b81356117168161193b565b60008060008060608587031215611a3657600080fd5b843560038110611a4557600080fd5b9350602085013567ffffffffffffffff80821115611a6257600080fd5b818701915087601f830112611a7657600080fd5b813581811115611a8557600080fd5b886020828501011115611a9757600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215611ac457600080fd5b833567ffffffffffffffff811115611adb57600080fd5b84016101608187031215611aee57600080fd5b95602085013595506040909401359392505050565b60005b83811015611b1e578181015183820152602001611b06565b838111156108805750506000910152565b60008151808452611b47816020860160208601611b03565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b604081526000611b8c6040830185611b2f565b90508260208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611bdd57611bdd611b9b565b500190565b600060208284031215611bf457600080fd5b5051919050565b600082821015611c0d57611c0d611b9b565b500390565b600080600080600060a08688031215611c2a57600080fd5b8535611c358161193b565b94506020860135611c458161193b565b94979496505050506040830135926060810135926080909101359150565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c9b57611c9b611b9b565b500290565b600082611cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611d3f57600080fd5b83018035915067ffffffffffffffff821115611d5a57600080fd5b602001915036819003821315611d6f57600080fd5b9250929050565b60008085851115611d8657600080fd5b83861115611d9357600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611de05780818660140360031b1b83161692505b505092915050565b600060208284031215611dfa57600080fd5b8151801515811461171657600080fd5b60008251611e1c818460208701611b03565b9190910192915050565b6020815260006117166020830184611b2f56fea2646970667358221220f935cbe4ea2ae13e8fff0cb7f87458bc2f28e69d759658a51d6206dc7702573a64736f6c634300080f0033",Lin=function(t){return t.length>1},Fin=function(t){Pin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Nin=e_&&e_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();e_.__esModule=!0;e_.EntryPoint__factory=void 0;var tle=Je(),qK=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[],name:"SIG_VALIDATION_FAILED",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"address",name:"sender",type:"address"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"_validateSenderAndPaymaster",outputs:[],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"callData",type:"bytes"},{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"address",name:"paymaster",type:"address"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"}],internalType:"struct EntryPoint.MemoryUserOp",name:"mUserOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"uint256",name:"contextOffset",type:"uint256"},{internalType:"uint256",name:"preOpGas",type:"uint256"}],internalType:"struct EntryPoint.UserOpInfo",name:"opInfo",type:"tuple"},{internalType:"bytes",name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{internalType:"uint256",name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],mo0="0x60a08060405234620000845761022c8181016001600160401b038111838210176200006e57829162005773833903906000f0801562000062576080526040516156e990816200008a8239608051818181611321015281816139700152613c910152f35b6040513d6000823e3d90fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe60806040526004361015610023575b361561001957600080fd5b610021614f9c565b005b60003560e01c80630396cb60146101775780631d7327561461016e5780631fad948c14610165578063205c28781461015c5780634b1d7cf5146101535780635287ce121461014a57806370a08231146101415780638f41ec5a14610138578063957122ab1461012f5780639b249f6914610126578063a61935311461011d578063b760faf914610114578063bb9fe6bf1461010b578063c23a5cea14610102578063d6383f94146100f9578063ee219423146100f05763fc7e286d0361000e576100eb611b0f565b61000e565b506100eb6118f7565b506100eb61178f565b506100eb6115f6565b506100eb611478565b506100eb611439565b506100eb611418565b506100eb611279565b506100eb6110a6565b506100eb61106b565b506100eb610fe6565b506100eb610e96565b506100eb610b6b565b506100eb6109cc565b506100eb61071c565b506100eb610549565b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043563ffffffff811680820361031d576103187fa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01916102356102053373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b91610211811515615102565b61022e610225600185015463ffffffff1690565b63ffffffff1690565b1115615167565b54926102fa6dffffffffffffffffffffffffffff946102b861025c34888460781c166120aa565b966102688815156151cc565b61027481891115615231565b61029881610280610409565b941684906dffffffffffffffffffffffffffff169052565b6001602084015287166dffffffffffffffffffffffffffff166040830152565b63ffffffff83166060820152600060808201526102f53373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b615296565b6040805194855263ffffffff90911660208501523393918291820190565b0390a2005b600080fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60a0810190811067ffffffffffffffff82111761036e57604052565b610376610322565b604052565b610100810190811067ffffffffffffffff82111761036e57604052565b67ffffffffffffffff811161036e57604052565b6060810190811067ffffffffffffffff82111761036e57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761036e57604052565b6040519061041682610352565b565b6040519060c0820182811067ffffffffffffffff82111761036e57604052565b604051906040820182811067ffffffffffffffff82111761036e57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610494575b01160190565b61049c610322565b61048e565b9291926104ad82610458565b916104bb60405193846103c8565b82948184528183011161031d578281602093846000960137010152565b73ffffffffffffffffffffffffffffffffffffffff81160361031d57565b60243590610416826104d8565b60c43590610416826104d8565b3590610416826104d8565b9181601f8401121561031d5782359167ffffffffffffffff831161031d576020838186019501011161031d57565b503461031d576101c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d573660238201121561031d576105ac9036906024816004013591016104a1565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc3601610180811261031d57610100604051916105e983610352565b1261031d576040516105fa8161037b565b6106026104f6565b815260443560208201526064356040820152608435606082015260a435608082015261062c610503565b60a082015260e43560c08201526101043560e082015281526101243560208201526101443560408201526101643560608201526101843560808201526101a43591821161031d576106a09261068861069093369060040161051b565b929091612786565b6040519081529081906020820190565b0390f35b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261031d5760043567ffffffffffffffff9283821161031d578060238301121561031d57816004013593841161031d5760248460051b8301011161031d576024019190602435610719816104d8565b90565b503461031d5761072b366106a4565b610736829392611c6f565b60005b848110610788575060009283915b858310610758576100218585611dac565b90919360019061077e61076c878987611d2e565b6107768886611d0c565b519088612214565b0194019190610747565b6107b36107ac61079a83859795611d0c565b516107a6848987611d2e565b84612fc4565b9190612d9b565b73ffffffffffffffffffffffffffffffffffffffff9291831661095e576108f0576107dd90612d9b565b9116610882576107f257600101929092610739565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602160448201527f41413332207061796d61737465722065787069726564206f72206e6f7420647560648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a490fd5b0390fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413334207369676e6174757265206572726f7200000000000000000000000060608201520190565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601760408201527f414132322065787069726564206f72206e6f742064756500000000000000000060608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413234207369676e6174757265206572726f7200000000000000000000000060608201520190565b503461031d5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435610a08816104d8565b6024359060009133835282602052604083206dffffffffffffffffffffffffffff81541692838311610b0d57848373ffffffffffffffffffffffffffffffffffffffff829593610ab08496610a77610a648798610b0a9c612095565b6dffffffffffffffffffffffffffff1690565b6dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810185905233917fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb91a2165af1610b04611d7c565b5061560d565b80f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f576974686472617720616d6f756e7420746f6f206c61726765000000000000006044820152fd5b503461031d57610b7a366106a4565b6000805b838210610d3c57610b8f9150611c6f565b6000805b848110610ca257505060008093815b818110610bd957610021868660007f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d8180a2611dac565b610c3d610be782848a6123a0565b610c12610bf9610bf960208401612442565b73ffffffffffffffffffffffffffffffffffffffff1690565b7f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d600080a2806123ee565b906000915b808310610c5a57505050610c5590612366565b610ba2565b90919497610c95610c8f610c9b92610c898c8b610c8282610c7c8e8b8d611d2e565b92611d0c565b5191612214565b906120aa565b99612366565b95612366565b9190610c42565b610cad8186886123a0565b6020610cc5610cbc83806123ee565b92909301612442565b9173ffffffffffffffffffffffffffffffffffffffff60009316905b828410610cfa5750505050610cf590612366565b610b93565b90919294610c9581610d2f85610d28610d16610d34968d611d0c565b51610d228c8b8a611d2e565b85612fc4565b908b612d53565b612366565b929190610ce1565b610d478285876123a0565b90610d5282806123ee565b92610d62610bf960208301612442565b9173ffffffffffffffffffffffffffffffffffffffff8316610d87600182141561244c565b610da8575b505050610da291610d9c916120aa565b91612366565b90610b7e565b909592610dc16040999693999895989788810190611e9d565b92908a3b1561031d5789938b918a5193849283927fe3563a4f00000000000000000000000000000000000000000000000000000000845260049e8f850193610e08946125e6565b03815a93600094fa9081610e7d575b50610e675786517f86a9f75000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a16818a0190815281906020010390fd5b9497509295509093509181610d9c610da2610d8c565b80610e8a610e9092610398565b80611060565b38610e17565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d576106a073ffffffffffffffffffffffffffffffffffffffff600435610eea816104d8565b608060409283928351610efc81610352565b600093818580935282602082015282878201528260608201520152168152806020522090610f8b65ffffffffffff6001835194610f3886610352565b80546dffffffffffffffffffffffffffff8082168852607082901c60ff161515602089015260789190911c1685870152015463ffffffff8116606086015260201c16608084019065ffffffffffff169052565b5191829182919091608065ffffffffffff8160a08401956dffffffffffffffffffffffffffff808251168652602082015115156020870152604082015116604086015263ffffffff6060820151166060860152015116910152565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611037816104d8565b16600052600060205260206dffffffffffffffffffffffffffff60406000205416604051908152f35b600091031261031d57565b503461031d5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57602060405160018152f35b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600467ffffffffffffffff813581811161031d576110f7903690840161051b565b905060243591611106836104d8565b60443590811161031d5761111d903690850161051b565b92909115908161126f575b50611208576014821015611178575b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160409060208152600060208201520190565b6111886111949261118e926129ab565b906129b9565b60601c90565b3b156111a1573880611137565b61087e906040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601b60208201527f41413330207061796d6173746572206e6f74206465706c6f796564000000000060408201520190565b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601960208201527f41413230206163636f756e74206e6f74206465706c6f7965640000000000000060408201520190565b90503b1538611128565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043567ffffffffffffffff811161031d576112cb602491369060040161051b565b906113016040519283927f570e1a3600000000000000000000000000000000000000000000000000000000845260048401612b4f565b0360208273ffffffffffffffffffffffffffffffffffffffff92816000857f0000000000000000000000000000000000000000000000000000000000000000165af19182156113b3575b600092611383575b50604051917f6ca7b806000000000000000000000000000000000000000000000000000000008352166004820152fd5b6113a591925060203d81116113ac575b61139d81836103c8565b810190612b3a565b9038611353565b503d611393565b6113bb612058565b61134b565b908161016091031261031d5790565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261031d576004359067ffffffffffffffff821161031d57610719916004016113c0565b503461031d57602061143161142c366113cf565b6128e1565b604051908152f35b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57610021600435611473816104d8565b615096565b503461031d576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126115f3573381528060205260408120600181019063ffffffff825416908115611595576115326114f761155a936114e96114e4855460ff9060701c1690565b6153fa565b65ffffffffffff421661545f565b84547fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff16602082901b69ffffffffffff000000001617909455565b7fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff8154169055565b60405165ffffffffffff91909116815233907ffa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a90602090a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74207374616b6564000000000000000000000000000000000000000000006044820152fd5b80fd5b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435611632816104d8565b610b0a73ffffffffffffffffffffffffffffffffffffffff6116743373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9261172c611697610a6486546dffffffffffffffffffffffffffff9060781c1690565b946116a3861515615479565b611704600182016116dc65ffffffffffff6116c8835465ffffffffffff9060201c1690565b166116d48115156154de565b421015615543565b80547fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000169055565b7fffffff0000000000000000000000000000ffffffffffffffffffffffffffffff8154169055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810186905233917fb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda391a2600080809581948294165af1611789611d7c565b506155a8565b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d576117e09036906004016113c0565b602435916117ed836104d8565b60443590811161031d5761180861087e91369060040161051b565b611810611bec565b61181985612c4e565b61182c6118268287612e5c565b90614e95565b9461183c826000924384526120b7565b96438252819360609573ffffffffffffffffffffffffffffffffffffffff83166118c3575b5050505060800151936118906040611882602084015165ffffffffffff1690565b92015165ffffffffffff1690565b906040519687967f8b7ac980000000000000000000000000000000000000000000000000000000008852600488016126b6565b839550839496506118dd60409492939451809481936126a8565b03925af19060806118ec611d7c565b929190388080611861565b503461031d57611906366113cf565b61190e611bec565b61191782612c4e565b6119218183612e5c565b825160a0015191939161194e9073ffffffffffffffffffffffffffffffffffffffff16614f47565b614f47565b90611972611949855173ffffffffffffffffffffffffffffffffffffffff90511690565b9461197b612973565b506119aa61198e60409586810190611e9d565b90600060148310611b0757506111886119499261118e926129ab565b916119b491614e95565b805173ffffffffffffffffffffffffffffffffffffffff169073ffffffffffffffffffffffffffffffffffffffff821660018114916080880151978781015191886020820151611a099065ffffffffffff1690565b91015165ffffffffffff16916060015192611a22610418565b9a8b5260208b0152841515898b015265ffffffffffff1660608a015265ffffffffffff16608089015260a088015215159081611afe575b50611a93575061087e92519485947fe0cff05f00000000000000000000000000000000000000000000000000000000865260048601612ae0565b919061087e93611aa284614f47565b611ac9611aad610438565b73ffffffffffffffffffffffffffffffffffffffff9096168652565b6020850152519586957ffaecb4e400000000000000000000000000000000000000000000000000000000875260048701612a4e565b90501538611a59565b915050614f47565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611b60816104d8565b16600052600060205260a0604060002065ffffffffffff60018254920154604051926dffffffffffffffffffffffffffff90818116855260ff8160701c161515602086015260781c16604084015263ffffffff8116606084015260201c166080820152f35b60209067ffffffffffffffff8111611bdf575b60051b0190565b611be7610322565b611bd8565b60405190611bf982610352565b604051608083610100830167ffffffffffffffff811184821017611c62575b60405260009283815283602082015283604082015283606082015283838201528360a08201528360c08201528360e082015281528260208201528260408201528260608201520152565b611c6a610322565b611c18565b90611c7982611bc5565b611c8660405191826103c8565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0611cb48294611bc5565b019060005b828110611cc557505050565b602090611cd0611bec565b82828501015201611cb9565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020918151811015611d21575b60051b010190565b611d29611cdc565b611d19565b9190811015611d6f575b60051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea18136030182121561031d570190565b611d77611cdc565b611d38565b3d15611da7573d90611d8d82610458565b91611d9b60405193846103c8565b82523d6000602084013e565b606090565b73ffffffffffffffffffffffffffffffffffffffff168015611e3f57600080809381935af1611dd9611d7c565b5015611de157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f41413931206661696c65642073656e6420746f2062656e6566696369617279006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4141393020696e76616c69642062656e656669636961727900000000000000006044820152fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d5760200191813603831361031d57565b9081602091031261031d575190565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b60005b838110611f4f5750506000910152565b8181015183820152602001611f3f565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093611f9b81518092818752878088019101611f3c565b0116010190565b90611fbc60809161071996946101c0808652850191611efd565b9360e0815173ffffffffffffffffffffffffffffffffffffffff80825116602087015260208201516040870152604082015160608701526060820151858701528482015160a087015260a08201511660c086015260c081015182860152015161010084015260208101516101208401526040810151610140840152606081015161016084015201516101808201526101a0818403910152611f5f565b506040513d6000823e3d90fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b919082039182116120a257565b610416612065565b919082018092116120a257565b905a918160206120d06060830151936060810190611e9d565b906121098560405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af1600091816121e4575b506121dd575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146121705761216a61215f610719945a90612095565b6080840151906120aa565b916145d7565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9250505090565b61220691925060203d811161220d575b6121fe81836103c8565b810190611eee565b9038612119565b503d6121f4565b909291925a938060206122306060830151946060810190611e9d565b906122698660405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af160009181612346575b5061233f575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146122d1576122cb6122c061071995965a90612095565b6080830151906120aa565b926148ba565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9450505050565b61235f91925060203d811161220d576121fe81836103c8565b9038612279565b6001907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612394570190565b61239c612065565b0190565b91908110156123e1575b60051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18136030182121561031d570190565b6123e9611cdc565b6123aa565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d57602001918160051b3603831361031d57565b35610719816104d8565b1561245357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393620696e76616c69642061676772656761746f720000000000000000006044820152fd5b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561031d57016020813591019167ffffffffffffffff821161031d57813603831361031d57565b6107199161252c8161251284610510565b73ffffffffffffffffffffffffffffffffffffffff169052565b602082013560208201526125c761257861255d61254c60408601866124b1565b610160806040880152860191611efd565b61256a60608601866124b1565b908583036060870152611efd565b6080840135608084015260a084013560a084015260c084013560c084015260e084013560e084015261010080850135908401526101206125ba818601866124b1565b9185840390860152611efd565b916125d861014091828101906124b1565b929091818503910152611efd565b949391929083604087016040885252606086019360608160051b8801019482600090815b8483106126295750505050505084602061071995968503910152611efd565b9091929394977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08b820301855288357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea1843603018112156126a457600191846126929201612501565b9860209081019695019301919061260a565b8280fd5b908092918237016000815290565b92909361071996959260c0958552602085015265ffffffffffff8092166040850152166060830152151560808201528160a08201520190611f5f565b156126f957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393220696e7465726e616c2063616c6c206f6e6c790000000000000000006044820152fd5b90604061071992600081528160208201520190611f5f565b604090610719939281528160208201520190611f5f565b909291925a936127973033146126f2565b8151946040860151955a6113886060830151890101116128b7576107199660009580516127de575b505050906127d8915a90036080840151019436916104a1565b91614b22565b61280d9161280991612804855173ffffffffffffffffffffffffffffffffffffffff1690565b615672565b1590565b612819575b80806127bf565b6127d892919450612828615684565b90815161283c575b50506001939091612812565b7f1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a20173ffffffffffffffffffffffffffffffffffffffff6020870151926128ad602061289b835173ffffffffffffffffffffffffffffffffffffffff1690565b9201519560405193849316968361276f565b0390a33880612830565b7fdeaddead0000000000000000000000000000000000000000000000000000000060005260206000fd5b806128f0610140820182611e9d565b50037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081016040519182016040528082526020820192833751902060405160208101918252306040820152466060820152606081526080810181811067ffffffffffffffff821117612966575b60405251902090565b61296e610322565b61295d565b604051906040820182811067ffffffffffffffff82111761299e575b60405260006020838281520152565b6129a6610322565b61298f565b9060141161031d5790601490565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090358181169392601481106129ee57505050565b60140360031b82901b16169150565b9060c060a061071993805184526020810151602085015260408101511515604085015265ffffffffffff80606083015116606086015260808201511660808501520151918160a08201520190611f5f565b9294612aaf61041695612a9d610100959998612a8b612a77602097610140808c528b01906129fd565b9b878a019060208091805184520151910152565b80516060890152602001516080880152565b805160a08701526020015160c0860152565b73ffffffffffffffffffffffffffffffffffffffff81511660e0850152015191019060208091805184520151910152565b612b2961041694612b17612b0260a0959998969960e0865260e08601906129fd565b98602085019060208091805184520151910152565b80516060840152602001516080830152565b019060208091805184520151910152565b9081602091031261031d5751610719816104d8565b916020610719938181520191611efd565b90612b8f73ffffffffffffffffffffffffffffffffffffffff9161071997959694606085526060850191611efd565b941660208201526040818503910152611efd565b60009060033d11612bb057565b905060046000803e60005160e01c90565b600060443d10610719576040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc91823d016004833e815167ffffffffffffffff918282113d602484011117612c3d57818401948551938411612c45573d85010160208487010111612c3d5750610719929101602001906103c8565b949350505050565b50949350505050565b612c5b6040820182611e9d565b612c73612c6784612442565b93610120810190611e9d565b9290303b1561031d57600093612cb79160405196879586957f957122ab00000000000000000000000000000000000000000000000000000000875260048701612b60565b0381305afa9081612d40575b50610416576001612cd2612ba3565b6308c379a014612ceb575b612ce357565b610416612058565b612cf3612bc1565b80612cff575b50612cdd565b80516000925015612cf95761087e906040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b80610e8a612d4d92610398565b38612cc3565b929190612d5f90612d9b565b909273ffffffffffffffffffffffffffffffffffffffff8080951691160361095e576108f057612d8e90612d9b565b9116610882576107f25750565b8015612dee57612daa90614e3a565b73ffffffffffffffffffffffffffffffffffffffff65ffffffffffff806040840151164211908115612dde575b5091511691565b9050602083015116421038612dd7565b50600090600090565b15612dfe57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41413934206761732076616c756573206f766572666c6f7700000000000000006044820152fd5b916000915a93815190612e6f828261318e565b612e78816128e1565b6020840152612eb66effffffffffffffffffffffffffffff60808401516060850151176040850151176101008401359060e085013517171115612df7565b612ebf82613250565b612eca818584613311565b9790612ed543600052565b73ffffffffffffffffffffffffffffffffffffffff612f0d60a0606097015173ffffffffffffffffffffffffffffffffffffffff1690565b16612faa575b505a810360a084013510612f3d5760809360c092604087015260608601525a900391013501910152565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413430206f76657220766572696669636174696f6e4761734c696d6974000060608201520190565b90935081612fbb9297508584614037565b95909238612f13565b9290916000925a8251612fd7818461318e565b612fe0836128e1565b602085015261301e6effffffffffffffffffffffffffffff60808301516060840151176040840151176101008601359060e087013517171115612df7565b61302781613250565b6130338186868b61367d565b989061303e43600052565b73ffffffffffffffffffffffffffffffffffffffff61307660a0606096015173ffffffffffffffffffffffffffffffffffffffff1690565b1661310e575b505a840360a0860135106130a85750604085015260608401526080919060c0905a900391013501910152565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601e60448201527f41413430206f76657220766572696669636174696f6e4761734c696d697400006064820152608490fd5b909250816131209298508686856142ca565b9690913861307c565b1561313057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4141393320696e76616c6964207061796d6173746572416e64446174610000006044820152fd5b613200906131b861319e82612442565b73ffffffffffffffffffffffffffffffffffffffff168452565b602081013560208401526080810135604084015260a0810135606084015260c0810135608084015260e081013560c084015261010081013560e0840152610120810190611e9d565b9081156132455761322a61118e6111888460a094613225601461041699981015613129565b6129ab565b73ffffffffffffffffffffffffffffffffffffffff16910152565b505060a06000910152565b60a081015173ffffffffffffffffffffffffffffffffffffffff16156132925760c060035b60ff60408401519116606084015102016080830151019101510290565b60c06001613275565b6132b360409295949395606083526060830190612501565b9460208201520152565b90610416602f60405180947f414132332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b810103600f8101855201836103c8565b916000926000925a936133df6020835193613340855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586133516040830183611e9d565b90846138e8565b60a086015173ffffffffffffffffffffffffffffffffffffffff169061337d43600052565b85809373ffffffffffffffffffffffffffffffffffffffff809416159889613615575b60600151908601516040517f3a871cdd00000000000000000000000000000000000000000000000000000000815297889687958693906004850161329b565b03938a1690f18291816135f5575b506135ec57506001906133fe612ba3565b6308c379a014613598575b5061352b575b61341c575b50505a900391565b6134469073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b613461610a6482546dffffffffffffffffffffffffffff1690565b8083116134be576134b7926dffffffffffffffffffffffffffff9103166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b3880613414565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601760408201527f41413231206469646e2774207061792070726566756e6400000000000000000060608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b6135a0612bc1565b90816135ac5750613409565b61087e916135ba91506132bd565b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b955061340f9050565b61360e91925060203d811161220d576121fe81836103c8565b90386133ed565b945061365b610a646136478c73ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b546dffffffffffffffffffffffffffff1690565b8b8111156136725750856060835b969150506133a0565b606087918d03613669565b90926000936000935a946136c660208351936136ad855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586136be6040830183611e9d565b90848c613c06565b03938a1690f18291816138c8575b506138bf57506001906136e5612ba3565b6308c379a014613869575b506137fb575b613704575b5050505a900391565b61372e9073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9161374a610a6484546dffffffffffffffffffffffffffff1690565b90818311613795575082547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000169190036dffffffffffffffffffffffffffff161790553880806136fb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601760448201527f41413231206469646e2774207061792070726566756e640000000000000000006064820152608490fd5b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b613871612bc1565b908161387d57506136f0565b869161388991506132bd565b9061087e6040519283927f220266b60000000000000000000000000000000000000000000000000000000084526004840161276f565b96506136f69050565b6138e191925060203d811161220d576121fe81836103c8565b90386136d4565b9091806138f457505050565b81515173ffffffffffffffffffffffffffffffffffffffff1692833b613b9957606083510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613953878760048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613b8c575b600092613b6c575b50808216958615613aff5716809503613a92573b15613a255761118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d936139ec936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a3565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313520696e6974436f6465206d757374206372656174652073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613b8591925060203d81116113ac5761139d81836103c8565b90386139a2565b613b94612058565b61399a565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601f60408201527f414131302073656e64657220616c726561647920636f6e73747275637465640060608201520190565b92909181613c15575b50505050565b82515173ffffffffffffffffffffffffffffffffffffffff1693843b613ebd57606084510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613c74888860048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613eb0575b600092613e90575b50808216968715613e225716809603613db4573b15613d4e575061118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d93613d0e936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a338808080613c0f565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f4141313520696e6974436f6465206d757374206372656174652073656e6465726064820152608490fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613ea991925060203d81116113ac5761139d81836103c8565b9038613cc3565b613eb8612058565b613cbb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601f60448201527f414131302073656e64657220616c726561647920636f6e7374727563746564006064820152608490fd5b15613f2a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4141343120746f6f206c6974746c6520766572696669636174696f6e476173006044820152fd5b919060408382031261031d57825167ffffffffffffffff811161031d5783019080601f8301121561031d57815191613fbf83610458565b91613fcd60405193846103c8565b8383526020848301011161031d57602092613fed91848085019101611f3c565b92015190565b90610416602f60405180947f414133332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b93919260609460009460009380519261407660a08a8601519561405b888811613f23565b015173ffffffffffffffffffffffffffffffffffffffff1690565b916140a18373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b946140bd610a6487546dffffffffffffffffffffffffffff1690565b9685881061425d5773ffffffffffffffffffffffffffffffffffffffff60208a98946141338a966dffffffffffffffffffffffffffff8b61416c9e03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b015194604051998a98899788937ff465c77e0000000000000000000000000000000000000000000000000000000085526004850161329b565b0395169103f1908183918493614237575b5061423057505060019061418f612ba3565b6308c379a01461420e575b506141a157565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141333320726576657274656420286f72204f4f47290000000000000000000060608201520190565b614216612bc1565b9081614222575061419a565b61087e916135ba9150613ff3565b9450925050565b90925061425691503d8085833e61424e81836103c8565b810190613f88565b913861417d565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b9194929390936060956000956000938251906142f160a08b8401519361405b848611613f23565b9361431c8573ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b614337610a6482546dffffffffffffffffffffffffffff1690565b878110614492579273ffffffffffffffffffffffffffffffffffffffff60208a989693946141338a966dffffffffffffffffffffffffffff8d6143b19e9c9a03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b0395169103f1908183918493614474575b5061446c5750506001906143d4612ba3565b6308c379a01461444d575b506143e75750565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601660448201527f4141333320726576657274656420286f72204f4f4729000000000000000000006064820152608490fd5b614455612bc1565b908161446157506143df565b613889925050613ff3565b955093505050565b90925061448b91503d8085833e61424e81836103c8565b91386143c2565b61087e8a6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b6003111561450a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b92919061455760409160028652606060208701526060860190611f5f565b930152565b93929190600381101561450a57604091614557918652606060208701526060860190611f5f565b90610416603660405180947f4141353020706f73744f702072657665727465643a200000000000000000000060208301526145c78151809260208686019101611f3c565b81010360168101855201836103c8565b929190925a936000918051916145ec83614df3565b9260a0810195614610875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff9390848116908161477f57505050614651825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f9461469d6020928c61470d95510390614fa5565b0151948960206146df6146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b9a5173ffffffffffffffffffffffffffffffffffffffff1690565b9401519785604051968796169a16988590949392606092608083019683521515602083015260408201520152565b0390a4565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f414135312070726566756e642062656c6f772061637475616c476173436f737460608201520190565b9a91805161478f575b5050614653565b6060850151600099509091803b156148b65791899189836147e2956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f190816148a3575b5061489e5760016147fb612ba3565b6308c379a01461487f575b614812575b3880614788565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614887612bc1565b806148925750614806565b6135ba61087e91614583565b61480b565b80610e8a6148b092610398565b386147ec565b8980fd5b9392915a906000928051906148ce82614df3565b9360a08301966148f2885173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff959086811690816149e857505050614933845173ffffffffffffffffffffffffffffffffffffffff1690565b915b5a9003019485029860408301908a82511061498257507f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94939261469d61470d938c602094510390614fa5565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f414135312070726566756e642062656c6f772061637475616c476173436f73746064820152608490fd5b939180516149f8575b5050614935565b606087015160009a509091803b15614b1e57918a918a83614a4b956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f19081614b0b575b50614b06576001614a64612ba3565b6308c379a014614ae9575b614a7b575b38806149f1565b61087e8b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614af1612bc1565b80614afc5750614a6f565b6138898d91614583565b614a74565b80610e8a614b1892610398565b38614a55565b8a80fd5b909392915a94805191614b3483614df3565b9260a0810195614b58875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff938185169182614c4057505050614b98825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94614be46020928c61470d95510390614fa5565b614bed88614500565b015194896020614c146146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b940151604080519182529815602082015297880152606087015290821695909116939081906080820190565b9a918151614c50575b5050614b9a565b878402614c5c8a614500565b60028a14614ce7576060860151823b1561031d57614caf93600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f18015614cda575b614cc7575b505b3880614c49565b80610e8a614cd492610398565b38614cbe565b614ce2612058565b614cb9565b6060860151823b1561031d57614d3293600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f19081614de0575b50614ddb576001614d4b612ba3565b6308c379a014614dc8575b15614cc0576040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614dd0612bc1565b806148925750614d56565b614cc0565b80610e8a614ded92610398565b38614d3c565b60e060c0820151910151808214614e1757480180821015614e12575090565b905090565b5090565b60405190614e28826103ac565b60006040838281528260208201520152565b614e42614e1b565b5065ffffffffffff808260a01c168015614e8e575b60405192614e64846103ac565b73ffffffffffffffffffffffffffffffffffffffff8116845260d01c602084015216604082015290565b5080614e57565b614eaa614eb091614ea4614e1b565b50614e3a565b91614e3a565b9073ffffffffffffffffffffffffffffffffffffffff9182825116928315614f3c575b65ffffffffffff928391826040816020850151169301511693836040816020840151169201511690808410614f34575b50808511614f2c575b5060405195614f1a876103ac565b16855216602084015216604082015290565b935038614f0c565b925038614f03565b815181169350614ed3565b9073ffffffffffffffffffffffffffffffffffffffff614f65612973565b9216600052600060205263ffffffff600160406000206dffffffffffffffffffffffffffff815460781c1685520154166020830152565b61041633615096565b73ffffffffffffffffffffffffffffffffffffffff16600052600060205260406000206dffffffffffffffffffffffffffff80825416928301809311615089575b80831161502b5761041692166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6465706f736974206f766572666c6f77000000000000000000000000000000006044820152fd5b615091612065565b614fe6565b73ffffffffffffffffffffffffffffffffffffffff906150b63482614fa5565b168060005260006020527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c460206dffffffffffffffffffffffffffff60406000205416604051908152a2565b1561510957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d757374207370656369667920756e7374616b652064656c61790000000000006044820152fd5b1561516e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616e6e6f7420646563726561736520756e7374616b652074696d65000000006044820152fd5b156151d357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f207374616b652073706563696669656400000000000000000000000000006044820152fd5b1561523857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f7374616b65206f766572666c6f770000000000000000000000000000000000006044820152fd5b9065ffffffffffff60806001610416946152f66dffffffffffffffffffffffffffff86511682906dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b602085015115156eff000000000000000000000000000082549160701b16807fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff83161783557fffffff000000000000000000000000000000ffffffffffffffffffffffffffff7cffffffffffffffffffffffffffff000000000000000000000000000000604089015160781b16921617178155019263ffffffff6060820151167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000008554161784550151167fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff69ffffffffffff0000000083549260201b169116179055565b1561540157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f616c726561647920756e7374616b696e670000000000000000000000000000006044820152fd5b91909165ffffffffffff808094169116019182116120a257565b1561548057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f207374616b6520746f2077697468647261770000000000000000000000006044820152fd5b156154e557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6d7573742063616c6c20756e6c6f636b5374616b6528292066697273740000006044820152fd5b1561554a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f5374616b65207769746864726177616c206973206e6f742064756500000000006044820152fd5b156155af57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6661696c656420746f207769746864726177207374616b6500000000000000006044820152fd5b1561561457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6661696c656420746f20776974686472617700000000000000000000000000006044820152fd5b9060009283809360208451940192f190565b3d6108008082116156ab575b50604051906020818301016040528082526000602083013e90565b90503861569056fea2646970667358221220ae4a26a2417d41eec912cee72664fcf55e9abebe95b0def4d185ac695cb88b5564736f6c634300081100336080806040523461001657610210908161001c8239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c63570e1a361461002857600080fd5b346100c95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c95760043567ffffffffffffffff918282116100c957366023830112156100c95781600401359283116100c95736602484840101116100c9576100c561009e84602485016100fc565b60405173ffffffffffffffffffffffffffffffffffffffff90911681529081906020820190565b0390f35b80fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90806014116101bb5767ffffffffffffffff917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec82018381116101cd575b604051937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f81600b8701160116850190858210908211176101c0575b604052808452602084019036848401116101bb576020946000600c819682946014880187378301015251923560601c5af19060005191156101b557565b60009150565b600080fd5b6101c86100cc565b610178565b6101d56100cc565b61013a56fea26469706673582212201927e80b76ab9b71c952137dd676621a9fdf520c25928815636594036eb1c40364736f6c63430008110033",Oin=function(t){return t.length>1},Uin=function(t){Nin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();jK.__esModule=!0;jK.IAccount__factory=void 0;var bo0=Je(),ale=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],Hin=function(){function t(){}return t.createInterface=function(){return new bo0.utils.Interface(ale)},t.connect=function(e,n){return new bo0.Contract(e,ale,n)},t.abi=ale,t}();jK.IAccount__factory=Hin});var ile=D(GK=>{"use strict";u();p();GK.__esModule=!0;GK.IAggregator__factory=void 0;var yo0=Je(),fle=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"}],name:"aggregateSignatures",outputs:[{internalType:"bytes",name:"aggregatedSignature",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"validateSignatures",outputs:[],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"validateUserOpSignature",outputs:[{internalType:"bytes",name:"sigForUserOp",type:"bytes"}],stateMutability:"view",type:"function"}],zin=function(){function t(){}return t.createInterface=function(){return new yo0.utils.Interface(fle)},t.connect=function(e,n){return new yo0.Contract(e,fle,n)},t.abi=fle,t}();GK.IAggregator__factory=zin});var ole=D(KK=>{"use strict";u();p();KK.__esModule=!0;KK.IEntryPoint__factory=void 0;var go0=Je(),sle=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Win=function(){function t(){}return t.createInterface=function(){return new go0.utils.Interface(sle)},t.connect=function(e,n){return new go0.Contract(e,sle,n)},t.abi=sle,t}();KK.IEntryPoint__factory=Win});var dle=D(QK=>{"use strict";u();p();QK.__esModule=!0;QK.IPaymaster__factory=void 0;var vo0=Je(),cle=[{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],qin=function(){function t(){}return t.createInterface=function(){return new vo0.utils.Interface(cle)},t.connect=function(e,n){return new vo0.Contract(e,cle,n)},t.abi=cle,t}();QK.IPaymaster__factory=qin});var ule=D(VK=>{"use strict";u();p();VK.__esModule=!0;VK.IStakeManager__factory=void 0;var wo0=Je(),lle=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],jin=function(){function t(){}return t.createInterface=function(){return new wo0.utils.Interface(lle)},t.connect=function(e,n){return new wo0.Contract(e,lle,n)},t.abi=lle,t}();VK.IStakeManager__factory=jin});var hle=D(t_=>{"use strict";u();p();var Gin=t_&&t_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();t_.__esModule=!0;t_.MaliciousAccount__factory=void 0;var ple=Je(),YK=[{inputs:[{internalType:"contract IEntryPoint",name:"_ep",type:"address"}],stateMutability:"payable",type:"constructor"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],To0="0x608060405260405161034a38038061034a83398101604081905261002291610047565b600080546001600160a01b0319166001600160a01b0392909216919091179055610077565b60006020828403121561005957600080fd5b81516001600160a01b038116811461007057600080fd5b9392505050565b6102c4806100866000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633a871cdd14610030575b600080fd5b61004361003e3660046101a1565b610055565b60405190815260200160405180910390f35b600080546040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063b760faf99084906024016000604051808303818588803b1580156100c257600080fd5b505af11580156100d6573d6000803e3d6000fd5b505050505060008460c001358560a0013586608001356100f69190610224565b6101009190610224565b9050600061010e828561023c565b9050600061012161010088013583610277565b905086602001358114610194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5265766572742061667465722066697273742076616c69646174696f6e000000604482015260640160405180910390fd5b5060009695505050505050565b6000806000606084860312156101b657600080fd5b833567ffffffffffffffff8111156101cd57600080fd5b840161016081870312156101e057600080fd5b95602085013595506040909401359392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610237576102376101f5565b500190565b600082610272577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015610289576102896101f5565b50039056fea2646970667358221220233c1b53bed3630405955a2809bf977fcd3053b67e56cf39bd460d18cc03844c64736f6c634300080f0033",Kin=function(t){return t.length>1},Qin=function(t){Gin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Vin=n_&&n_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();n_.__esModule=!0;n_.SenderCreator__factory=void 0;var mle=Je(),$K=[{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"createSender",outputs:[{internalType:"address",name:"sender",type:"address"}],stateMutability:"nonpayable",type:"function"}],xo0="0x608060405234801561001057600080fd5b50610213806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063570e1a3614610030575b600080fd5b61004361003e3660046100f9565b61006c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60008061007c601482858761016b565b61008591610195565b60601c90506000610099846014818861016b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525084519495509360209350849250905082850182875af190506000519350806100f057600093505b50505092915050565b6000806020838503121561010c57600080fd5b823567ffffffffffffffff8082111561012457600080fd5b818501915085601f83011261013857600080fd5b81358181111561014757600080fd5b86602082850101111561015957600080fd5b60209290920196919550909350505050565b6000808585111561017b57600080fd5b8386111561018857600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000081358181169160148510156101d55780818660140360031b1b83161692505b50509291505056fea2646970667358221220d5d7cb55b3123d86b2710028be2074a469cca162ad2a26c50fb1cfdce4424b9464736f6c634300080f0033",Yin=function(t){return t.length>1},$in=function(t){Vin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Jin=a_&&a_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();a_.__esModule=!0;a_.SimpleAccount__factory=void 0;var yle=Je(),JK=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Eo0="0x60c03461015a57601f62001ed338819003918201601f19168301916001600160401b0383118484101761015f5780849260209460405283398101031261015a57516001600160a01b038116810361015a573060805260a05260005460ff8160081c166101055760ff808216106100ca575b604051611d5d908162000176823960805181818161032601528181610a460152610c23015260a051818181610548015281816107180152818161080101528181610dcf01528181610ef20152818161187301526118d10152f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a138610070565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001b575b361561001957600080fd5b005b60003560e01c806318dfb3c71461011f5780633659cfe6146101165780633a871cdd1461010d5780634a58db19146101045780634d44560d146100fb5780634f1ef286146100f257806352d1902d146100e95780638da5cb5b146100e0578063affed0e0146100d7578063b0d691fe146100ce578063b61d27f6146100c5578063c399ec88146100bc5763c4d66de80361000e576100b7610f75565b61000e565b506100b7610e78565b506100b7610df3565b506100b7610d83565b506100b7610d38565b506100b7610cf8565b506100b7610bdc565b506100b76109c4565b506100b76107a2565b506100b76106d5565b506100b76104dd565b506100b76102d1565b506100b761015e565b9181601f840112156101595782359167ffffffffffffffff8311610159576020808501948460051b01011161015957565b600080fd5b50346101595760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595767ffffffffffffffff600435818111610159576101af903690600401610128565b9091602435908111610159576101c9903690600401610128565b91906101d36118ba565b8282036102555760005b8281106101e657005b8061021a6101ff6101fa600194878a61173f565b61175d565b61021461020d848988611767565b369161098d565b90611c93565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610248575b016101dd565b6102506116df565b610242565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e67746873000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff81160361015957565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760043561030d816102b3565b73ffffffffffffffffffffffffffffffffffffffff90817f00000000000000000000000000000000000000000000000000000000000000001691610353833014156110d9565b6103827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc938285541614611164565b61038a611caa565b60405190610397826108cb565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156103d15750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa600091816104ad575b5061049a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b610019936104a8911461120b565b611382565b6104cf91925060203d81116104d6575b6104c78183610903565b8101906111ef565b9038610410565b503d6104bd565b5034610159577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6060813601126101595760043567ffffffffffffffff811161015957610160816004019282360301126101595773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036106775761058861057d6024358461196d565b926044830190611620565b9050156105b3575b6105af8261059f604435611671565b6040519081529081906020820190565b0390f35b6024600154916bffffffffffffffffffffffff927fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008482169480861461066a575b600186011691161760015501350361060c5738610590565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152fd5b6106726116df565b6105f4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152fd5b506000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f5773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681813b1561079f57602491604051928380927fb760faf900000000000000000000000000000000000000000000000000000000825230600483015234905af18015610792575b610786575080f35b61078f906108aa565b80f35b61079a6111fe565b61077e565b80fd5b503461015957600060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576004356107e0816102b3565b6107e8611caa565b8173ffffffffffffffffffffffffffffffffffffffff807f00000000000000000000000000000000000000000000000000000000000000001692833b15610876576044908360405195869485937f205c287800000000000000000000000000000000000000000000000000000000855216600484015260243560248401525af1801561079257610786575080f35b8280fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff81116108be57604052565b6108c661087a565b604052565b6020810190811067ffffffffffffffff8211176108be57604052565b6060810190811067ffffffffffffffff8211176108be57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176108be57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610980575b01160190565b61098861087a565b61097a565b92919261099982610944565b916109a76040519384610903565b829481845281830111610159578281602093846000960137010152565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159576004356109fb816102b3565b60243567ffffffffffffffff8111610159573660238201121561015957610a2c90369060248160040135910161098d565b9073ffffffffffffffffffffffffffffffffffffffff91827f00000000000000000000000000000000000000000000000000000000000000001692610a73843014156110d9565b610aa27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc948286541614611164565b610aaa611caa565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610ae05750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa60009181610bbc575b50610ba9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b61001993610bb7911461120b565b611461565b610bd591925060203d81116104d6576104c78183610903565b9038610b1f565b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610c74576040517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152602090f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152fd5b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060015460601c604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760206bffffffffffffffffffffffff60015416604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346101595760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610e2f816102b3565b6044359067ffffffffffffffff908183116101595736602384011215610159578260040135918211610159573660248385010111610159576024610019930190602435906116ab565b5034610159576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115610f68575b8291610f2e575b604051828152602090f35b90506020813d8211610f60575b81610f4860209383610903565b81010312610f5c576105af91505138610f23565b5080fd5b3d9150610f3b565b610f706111fe565b610f1c565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610fb1816102b3565b61101360005491610fd960ff8460081c1615809481956110cb575b81156110ab575b50611791565b8261100a60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006000541617600055565b6110755761181c565b61101957005b6110467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b6110a66101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b61181c565b303b159150816110bd575b5038610fd3565b6001915060ff1614386110b6565b600160ff8216109150610fcc565b156110e057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152fd5b1561116b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152fd5b90816020910312610159575190565b506040513d6000823e3d90fd5b1561121257565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152fd5b803b156112fe5773ffffffffffffffffffffffffffffffffffffffff7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc91167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152fd5b9061138c82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2805115801590611459575b6113db575050565b61145691600080604051936113ef856108e7565b602785527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208601527f206661696c6564000000000000000000000000000000000000000000000000006040860152602081519101845af46114506114c1565b91611556565b50565b5060006113d3565b9061146b82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906114b9576113db575050565b5060016113d3565b3d156114ec573d906114d282610944565b916114e06040519384610903565b82523d6000602084013e565b606090565b156114f857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b91929015611579575081511561156a575090565b611576903b15156114f1565b90565b82519091501561158c5750805190602001fd5b604051907f08c379a000000000000000000000000000000000000000000000000000000000825281602080600483015282519283602484015260005b848110611609575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f836000604480968601015201168101030190fd5b8181018301518682016044015285935082016115c8565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610159570180359067ffffffffffffffff82116101595760200191813603831361015957565b806116795750565b600080808093337ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1506114566114c1565b6116bc60009493859461020d6118ba565b91602083519301915af16116ce6114c1565b90156116d75750565b602081519101fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9190811015611750575b60051b0190565b61175861170f565b611749565b35611576816102b3565b909161178092811015611784575b60051b810190611620565b9091565b61178c61170f565b611775565b1561179857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b6bffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006001549260601b169116178060015560601c73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de600080a3565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163314801561195f575b1561190157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152fd5b5060015460601c33146118fa565b906119f06119e873ffffffffffffffffffffffffffffffffffffffff9260405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c81526119c7816108e7565b5190206119e261020d60015460601c96610140810190611620565b90611bc2565b919091611a39565b16036119fb57600090565b600190565b60051115611a0a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611a4281611a00565b80611a4a5750565b611a5381611a00565b60018103611aba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b611ac381611a00565b60028103611b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b80611b36600392611a00565b14611b3d57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608490fd5b906041815114600014611bec57611780916020820151906060604084015193015160001a90611bf6565b5050600090600290565b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311611c875791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa15611c7a575b815173ffffffffffffffffffffffffffffffffffffffff811615611c74579190565b50600190565b611c826111fe565b611c52565b50505050600090600390565b600091829182602083519301915af16116ce6114c1565b60015460601c33148015611d1e575b15611cc057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152fd5b50303314611cb956fea2646970667358221220593fa2403beef0636f4ff38625c8e0f27859145384a308b0a9f2e56754fd82f664736f6c63430008110033",Xin=function(t){return t.length>1},Zin=function(t){Jin(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var esn=r_&&r_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();r_.__esModule=!0;r_.SimpleAccountFactory__factory=void 0;var vle=Je(),XK=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract SimpleAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"createAccount",outputs:[{internalType:"contract SimpleAccount",name:"ret",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],_o0="0x60a060405234801561001057600080fd5b50604051612f0f380380612f0f83398101604081905261002f91610088565b8060405161003c9061007b565b6001600160a01b039091168152602001604051809103906000f080158015610068573d6000803e3d6000fd5b506001600160a01b0316608052506100b8565b61218980610d8683390190565b60006020828403121561009a57600080fd5b81516001600160a01b03811681146100b157600080fd5b9392505050565b608051610ca66100e060003960008181604b0152818161011401526102580152610ca66000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe146100465780635fbfb9cf146100965780638cb84e18146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461039d565b6100bc565b61006d6100b736600461039d565b6101ee565b6000806100c984846101ee565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101e8565b60405173ffffffffffffffffffffffffffffffffffffffff8616602482015284907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052516101b790610390565b6101c2929190610412565b8190604051809103906000f59050801580156101e2573d6000803e3d6000fd5b50925050505b92915050565b60006103578260001b6040518060200161020790610390565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f90910116604081905273ffffffffffffffffffffffffffffffffffffffff871660248201527f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052905161030093929101610412565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261033c9291602001610480565b6040516020818303038152906040528051906020012061035e565b9392505050565b60006103578383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c1806104b083390190565b600080604083850312156103b057600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146103d457600080fd5b946020939093013593505050565b60005b838110156103fd5781810151838201526020016103e5565b8381111561040c576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000825180604084015261044d8160608501602087016103e2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104928184602088016103e2565b8351908301906104a68183602088016103e2565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122030a4cd3aed4a6d9ec37ebc1d87061b12ed9906b5ba9c82d2d00395cabba20fbd64736f6c634300080f003360c0604052306080523480156200001557600080fd5b506040516200218938038062002189833981016040819052620000389162000118565b6001600160a01b03811660a0526200004f62000056565b506200014a565b600054610100900460ff1615620000c35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000116576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200012b57600080fd5b81516001600160a01b03811681146200014357600080fd5b9392505050565b60805160a051611fd3620001b66000396000818161023b01528181610624015281816106cb01528181610aad01528181610d0c0152818161106801526113fc0152600081816103ef0152818161049f0152818161078f0152818161083f01526109880152611fd36000f3fe6080604052600436106100d65760003560e01c806352d1902d1161007f578063b0d691fe11610059578063b0d691fe1461022c578063b61d27f61461025f578063c399ec881461027f578063c4d66de81461029457600080fd5b806352d1902d146101925780638da5cb5b146101a7578063affed0e01461020957600080fd5b80634a58db19116100b05780634a58db19146101575780634d44560d1461015f5780634f1ef2861461017f57600080fd5b806318dfb3c7146100e25780633659cfe6146101045780633a871cdd1461012457600080fd5b366100dd57005b600080fd5b3480156100ee57600080fd5b506101026100fd366004611aaa565b6102b4565b005b34801561011057600080fd5b5061010261011f366004611b38565b6103d8565b34801561013057600080fd5b5061014461013f366004611b55565b6105dd565b6040519081526020015b60405180910390f35b610102610622565b34801561016b57600080fd5b5061010261017a366004611ba9565b6106c1565b61010261018d366004611c04565b610778565b34801561019e57600080fd5b5061014461096e565b3480156101b357600080fd5b506001546101e4906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161014e565b34801561021557600080fd5b506001546bffffffffffffffffffffffff16610144565b34801561023857600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006101e4565b34801561026b57600080fd5b5061010261027a366004611ce6565b610a5a565b34801561028b57600080fd5b50610144610aa9565b3480156102a057600080fd5b506101026102af366004611b38565b610b61565b6102bc610cf4565b82811461032a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b838110156103d1576103bf85858381811061034a5761034a611d6f565b905060200201602081019061035f9190611b38565b600085858581811061037357610373611d6f565b90506020028101906103859190611d9e565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b806103c981611e32565b91505061032d565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361049d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105127f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16146105b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b6105be81610e44565b604080516000808252602082019092526105da91839190610e4c565b50565b60006105e7611050565b6105f184846110ef565b90506106006040850185611d9e565b905060000361061257610612846111e1565b61061b826112aa565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b1580156106ad57600080fd5b505af11580156103d1573d6000803e3d6000fd5b6106c9611315565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561075c57600080fd5b505af1158015610770573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108b27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b61095e82610e44565b61096a82826001610e4c565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610a35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610321565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610a62610cf4565b610aa3848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c9190611e6a565b905090565b600054610100900460ff1615808015610b815750600054600160ff909116105b80610b9b5750303b158015610b9b575060005460ff166001145b610c27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610321565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610c8557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610c8e826113b0565b801561096a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610d5f57506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152606401610321565b565b6000808473ffffffffffffffffffffffffffffffffffffffff168484604051610df09190611eaf565b60006040518083038185875af1925050503d8060008114610e2d576040519150601f19603f3d011682016040523d82523d6000602084013e610e32565b606091505b5091509150816103d157805160208201fd5b6105da611315565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e8457610e7f83611448565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f09575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252610f0691810190611e6a565b60015b610f95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152608401610321565b50610e7f838383611552565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152606401610321565b600080611149836040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b905061119961115c610140860186611d9e565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506115779050565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff9081169116146111d55760019150506111db565b60009150505b92915050565b600180546020830135916bffffffffffffffffffffffff90911690600061120783611ecb565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff16146105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152606401610321565b80156105da5760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d80600081146103d1576040519150601f19603f3d011682016040523d82523d6000602084013e6103d1565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061134a57503330145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152606401610321565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b6114ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61155b8361159b565b6000825111806115685750805b15610e7f57610aa383836115e8565b6000806000611586858561160d565b9150915061159381611652565b509392505050565b6115a481611448565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061061b8383604051806060016040528060278152602001611f7760279139611805565b60008082516041036116435760208301516040840151606085015160001a6116378782858561188a565b9450945050505061164b565b506000905060025b9250929050565b600081600481111561166657611666611ef6565b0361166e5750565b600181600481111561168257611682611ef6565b036116e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610321565b60028160048111156116fd576116fd611ef6565b03611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610321565b600381600481111561177857611778611ef6565b036105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610321565b60606000808573ffffffffffffffffffffffffffffffffffffffff168560405161182f9190611eaf565b600060405180830381855af49150503d806000811461186a576040519150601f19603f3d011682016040523d82523d6000602084013e61186f565b606091505b509150915061188086838387611979565b9695505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156118c15750600090506003611970565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611915573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661196957600060019250925050611970565b9150600090505b94509492505050565b60608315611a0f578251600003611a085773ffffffffffffffffffffffffffffffffffffffff85163b611a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610321565b5081611a19565b611a198383611a21565b949350505050565b815115611a315781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103219190611f25565b60008083601f840112611a7757600080fd5b50813567ffffffffffffffff811115611a8f57600080fd5b6020830191508360208260051b850101111561164b57600080fd5b60008060008060408587031215611ac057600080fd5b843567ffffffffffffffff80821115611ad857600080fd5b611ae488838901611a65565b90965094506020870135915080821115611afd57600080fd5b50611b0a87828801611a65565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff811681146105da57600080fd5b600060208284031215611b4a57600080fd5b813561061b81611b16565b600080600060608486031215611b6a57600080fd5b833567ffffffffffffffff811115611b8157600080fd5b84016101608187031215611b9457600080fd5b95602085013595506040909401359392505050565b60008060408385031215611bbc57600080fd5b8235611bc781611b16565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060408385031215611c1757600080fd5b8235611c2281611b16565b9150602083013567ffffffffffffffff80821115611c3f57600080fd5b818501915085601f830112611c5357600080fd5b813581811115611c6557611c65611bd5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611cab57611cab611bd5565b81604052828152886020848701011115611cc457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060008060608587031215611cfc57600080fd5b8435611d0781611b16565b935060208501359250604085013567ffffffffffffffff80821115611d2b57600080fd5b818701915087601f830112611d3f57600080fd5b813581811115611d4e57600080fd5b886020828501011115611d6057600080fd5b95989497505060200194505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611dd357600080fd5b83018035915067ffffffffffffffff821115611dee57600080fd5b60200191503681900382131561164b57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e6357611e63611e03565b5060010190565b600060208284031215611e7c57600080fd5b5051919050565b60005b83811015611e9e578181015183820152602001611e86565b83811115610aa35750506000910152565b60008251611ec1818460208701611e83565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611eec57611eec611e03565b6001019392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020815260008251806020840152611f44816040850160208701611e83565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fd4b8799a91c8d4b8c5386672729ac9615b60b5f5b7dbac6da122be87a2a90b164736f6c634300080f0033",tsn=function(t){return t.length>1},nsn=function(t){esn(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();ZK.__esModule=!0;ZK.StakeManager__factory=void 0;var Ao0=Je(),Tle=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],asn=function(){function t(){}return t.createInterface=function(){return new Ao0.utils.Interface(Tle)},t.connect=function(e,n){return new Ao0.Contract(e,Tle,n)},t.abi=Tle,t}();ZK.StakeManager__factory=asn});var _le=D(f_=>{"use strict";u();p();var rsn=f_&&f_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();f_.__esModule=!0;f_.TokenPaymaster__factory=void 0;var Ele=Je(),eQ=[{inputs:[{internalType:"address",name:"accountFactory",type:"address"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[],name:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"mintTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"theFactory",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Io0="0x60c06040523480156200001157600080fd5b506040516200224438038062002244833981016040819052620000349162000327565b8180826200004233620000a0565b6001600160a01b031660805260046200005c8382620004bc565b5060056200006b8282620004bc565b5050506001600160a01b03831660a05262000088306001620000f0565b620000973033600019620001b9565b505050620005af565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200014c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806003600082825462000160919062000588565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200021d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000143565b6001600160a01b038216620002805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000143565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b6001600160a01b0381168114620002fc57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b80516200032281620002e6565b919050565b6000806000606084860312156200033d57600080fd5b83516200034a81620002e6565b602085810151919450906001600160401b03808211156200036a57600080fd5b818701915087601f8301126200037f57600080fd5b815181811115620003945762000394620002ff565b604051601f8201601f19908116603f01168101908382118183101715620003bf57620003bf620002ff565b816040528281528a86848701011115620003d857600080fd5b600093505b82841015620003fc5784840186015181850187015292850192620003dd565b828411156200040e5760008684830101525b809750505050505050620004256040850162000315565b90509250925092565b600181811c908216806200044357607f821691505b6020821081036200046457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e157600081815260208120601f850160051c81016020861015620004935750805b601f850160051c820191505b81811015620004b4578281556001016200049f565b505050505050565b81516001600160401b03811115620004d857620004d8620002ff565b620004f081620004e984546200042e565b846200046a565b602080601f8311600181146200052857600084156200050f5750858301515b600019600386901b1c1916600185901b178555620004b4565b600085815260208120601f198616915b82811015620005595788860151825594840194600190910190840162000538565b5085821015620005785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115620005aa57634e487b7160e01b600052601160045260246000fd5b500190565b60805160a051611c376200060d6000396000818161039201526116fa015260008181610426015281816105970152818161070b015281816108ea015281816109b101528181610a4101528181610af401526111f80152611c376000f3fe6080604052600436106101a15760003560e01c80639f5ca221116100e1578063c23a5cea1161008a578063dd62ed3e11610064578063dd62ed3e1461049a578063f0dda65c146104ed578063f2fde38b1461050d578063f465c77e1461052d57600080fd5b8063c23a5cea1461045d578063c399ec881461047d578063d0e30db01461049257600080fd5b8063a9a23409116100bb578063a9a23409146103f4578063b0d691fe14610414578063bb9fe6bf1461044857600080fd5b80639f5ca22114610380578063a457c2d7146103b4578063a9059cbb146103d457600080fd5b8063313ce5671161014e578063715018a611610128578063715018a6146102f4578063796d4371146103095780638da5cb5b1461031f57806395d89b411461036b57600080fd5b8063313ce56714610275578063395093511461029157806370a08231146102b157600080fd5b806318160ddd1161017f57806318160ddd14610216578063205c28781461023557806323b872dd1461025557600080fd5b80630396cb60146101a657806306fdde03146101bb578063095ea7b3146101e6575b600080fd5b6101b96101b43660046117a8565b61055b565b005b3480156101c757600080fd5b506101d061060d565b6040516101dd9190611840565b60405180910390f35b3480156101f257600080fd5b50610206610201366004611875565b61069f565b60405190151581526020016101dd565b34801561022257600080fd5b506003545b6040519081526020016101dd565b34801561024157600080fd5b506101b9610250366004611875565b6106b7565b34801561026157600080fd5b506102066102703660046118a1565b61074f565b34801561028157600080fd5b50604051601281526020016101dd565b34801561029d57600080fd5b506102066102ac366004611875565b610773565b3480156102bd57600080fd5b506102276102cc3660046118e2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b34801561030057600080fd5b506101b96107bf565b34801561031557600080fd5b50610227613a9881565b34801561032b57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101dd565b34801561037757600080fd5b506101d06107d3565b34801561038c57600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c057600080fd5b506102066103cf366004611875565b6107e2565b3480156103e057600080fd5b506102066103ef366004611875565b6108b8565b34801561040057600080fd5b506101b961040f3660046118ff565b6108c6565b34801561042057600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b34801561045457600080fd5b506101b96108e0565b34801561046957600080fd5b506101b96104783660046118e2565b610964565b34801561048957600080fd5b50610227610a10565b6101b9610ac6565b3480156104a657600080fd5b506102276104b536600461198e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b3480156104f957600080fd5b506101b9610508366004611875565b610b4e565b34801561051957600080fd5b506101b96105283660046118e2565b610b64565b34801561053957600080fd5b5061054d6105483660046119c7565b610bcd565b6040516101dd929190611a1b565b610563610bf0565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156105f157600080fd5b505af1158015610605573d6000803e3d6000fd5b505050505050565b60606004805461061c90611a3d565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611a3d565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b6000336106ad818585610c71565b5060019392505050565b6106bf610bf0565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156105f157600080fd5b60003361075d858285610e24565b610768858585610ef5565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906106ad90829086906107ba908790611a90565b610c71565b6107c7610bf0565b6107d1600061116b565b565b60606005805461061c90611a3d565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156108ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107688286868403610c71565b6000336106ad818585610ef5565b6108ce6111e0565b6108da8484848461127f565b50505050565b6108e8610bf0565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561095057600080fd5b505af11580156108da573d6000803e3d6000fd5b61096c610bf0565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac19190611acf565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b1580156109f557600080fd5b610b56610bf0565b610b6082826112b2565b5050565b610b6c610bf0565b610b9630610b8f60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000610c71565b610b9f816113a7565b610bca30827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610c71565b50565b60606000610bd96111e0565b610be485858561145b565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8216610db6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600260209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108da5781811015610ee8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a2565b6108da8484848403610c71565b73ffffffffffffffffffffffffffffffffffffffff8316610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115e9086815260200190565b60405180910390a36108da565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016108a2565b600061128d838501856118e2565b905060006112a56112a0613a9885611a90565b6116a4565b9050610605823083610ef5565b73ffffffffffffffffffffffffffffffffffffffff821661132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108a2565b80600360008282546113419190611a90565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6113af610bf0565b73ffffffffffffffffffffffffffffffffffffffff8116611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108a2565b610bca8161116b565b6060600080611469846116a4565b9050613a988660a0013511611500576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f546f6b656e5061796d61737465723a2067617320746f6f206c6f7720666f722060448201527f706f73744f70000000000000000000000000000000000000000000000000000060648201526084016108a2565b61150d6040870187611ae8565b1590506115c15761151d866116b7565b8061152e6102cc60208901896118e2565b10156115bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636520287072652d60448201527f637265617465290000000000000000000000000000000000000000000000000060648201526084016108a2565b61163a565b806115d26102cc60208901896118e2565b101561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636500000000000060448201526064016108a2565b61164760208701876118e2565b6040805173ffffffffffffffffffffffffffffffffffffffff909216602083015201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190529660009650945050505050565b60006116b1606483611b54565b92915050565b60006116c66040830183611ae8565b6116d591601491600091611b8f565b6116de91611bb9565b60601c905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168114610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f546f6b656e5061796d61737465723a2077726f6e67206163636f756e7420666160448201527f63746f727900000000000000000000000000000000000000000000000000000060648201526084016108a2565b6000602082840312156117ba57600080fd5b813563ffffffff811681146117ce57600080fd5b9392505050565b6000815180845260005b818110156117fb576020818501810151868301820152016117df565b8181111561180d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006117ce60208301846117d5565b73ffffffffffffffffffffffffffffffffffffffff81168114610bca57600080fd5b6000806040838503121561188857600080fd5b823561189381611853565b946020939093013593505050565b6000806000606084860312156118b657600080fd5b83356118c181611853565b925060208401356118d181611853565b929592945050506040919091013590565b6000602082840312156118f457600080fd5b81356117ce81611853565b6000806000806060858703121561191557600080fd5b84356003811061192457600080fd5b9350602085013567ffffffffffffffff8082111561194157600080fd5b818701915087601f83011261195557600080fd5b81358181111561196457600080fd5b88602082850101111561197657600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156119a157600080fd5b82356119ac81611853565b915060208301356119bc81611853565b809150509250929050565b6000806000606084860312156119dc57600080fd5b833567ffffffffffffffff8111156119f357600080fd5b84016101608187031215611a0657600080fd5b95602085013595506040909401359392505050565b604081526000611a2e60408301856117d5565b90508260208301529392505050565b600181811c90821680611a5157607f821691505b602082108103611a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008219821115611aca577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b600060208284031215611ae157600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611b1d57600080fd5b83018035915067ffffffffffffffff821115611b3857600080fd5b602001915036819003821315611b4d57600080fd5b9250929050565b600082611b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008085851115611b9f57600080fd5b83861115611bac57600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611bf95780818660140360031b1b83161692505b50509291505056fea2646970667358221220a332863119321216e5189708c2880dbc64e46a1707c0f292f429daa2c9a7ea3764736f6c634300080f0033",fsn=function(t){return t.length>1},isn=function(t){rsn(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var ssn=i_&&i_.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(a[f]=r[f])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}();i_.__esModule=!0;i_.VerifyingPaymaster__factory=void 0;var Ale=Je(),tQ=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"},{internalType:"address",name:"_verifyingSigner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"}],name:"getHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"parsePaymasterAndData",outputs:[{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"bytes",name:"signature",type:"bytes"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"senderNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"verifyingSigner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Co0="0x60c06040523480156200001157600080fd5b5060405162001723380380620017238339810160408190526200003491620000c2565b81620000403362000059565b6001600160a01b039081166080521660a0525062000101565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000bf57600080fd5b50565b60008060408385031215620000d657600080fd5b8251620000e381620000a9565b6020840151909250620000f681620000a9565b809150509250929050565b60805160a0516115c46200015f6000396000818161013f0152610ca20152600081816102880152818161038601528181610450015281816105730152818161063a015281816106ca0152818161077d0152610a0401526115c46000f3fe6080604052600436106100f35760003560e01c8063a9a234091161008a578063c399ec8811610059578063c399ec88146102df578063d0e30db0146102f4578063f2fde38b146102fc578063f465c77e1461031c57600080fd5b8063a9a2340914610256578063b0d691fe14610276578063bb9fe6bf146102aa578063c23a5cea146102bf57600080fd5b80638da5cb5b116100c65780638da5cb5b146101a057806394d4ad60146101cb57806394e1fc19146101fb5780639c90b4431461022957600080fd5b80630396cb60146100f8578063205c28781461010d57806323d9ac9b1461012d578063715018a61461018b575b600080fd5b61010b610106366004611075565b61034a565b005b34801561011957600080fd5b5061010b6101283660046110c4565b6103fc565b34801561013957600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561019757600080fd5b5061010b610494565b3480156101ac57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610161565b3480156101d757600080fd5b506101eb6101e6366004611132565b6104a8565b6040516101829493929190611174565b34801561020757600080fd5b5061021b610216366004611212565b6104e5565b604051908152602001610182565b34801561023557600080fd5b5061021b610244366004611270565b60016020526000908152604090205481565b34801561026257600080fd5b5061010b61027136600461128d565b61054f565b34801561028257600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b3480156102b657600080fd5b5061010b610569565b3480156102cb57600080fd5b5061010b6102da366004611270565b6105ed565b3480156102eb57600080fd5b5061021b610699565b61010b61074f565b34801561030857600080fd5b5061010b610317366004611270565b6107d7565b34801561032857600080fd5b5061033c6103373660046112ed565b610893565b6040516101829291906113a6565b6103526108b7565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156103e057600080fd5b505af11580156103f4573d6000803e3d6000fd5b505050505050565b6104046108b7565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156103e057600080fd5b61049c6108b7565b6104a66000610938565b565b60008036816104bb6054601487896113c8565b8101906104c891906113f2565b90945092506104da85605481896113c8565b949793965094505050565b60006104f0846109ad565b73ffffffffffffffffffffffffffffffffffffffff8535166000908152600160209081526040918290205491516105309392469230928991899101611425565b6040516020818303038152906040528051906020012090509392505050565b6105576109ec565b61056384848484610a8b565b50505050565b6105716108b7565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156105d957600080fd5b505af1158015610563573d6000803e3d6000fd5b6105f56108b7565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561067e57600080fd5b505af1158015610692573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610726573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074a9190611482565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561067e57600080fd5b6107df6108b7565b73ffffffffffffffffffffffffffffffffffffffff8116610887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61089081610938565b50565b6060600061089f6109ec565b6108aa858585610aed565b915091505b935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087e565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60603660006109c061012085018561149b565b915091508360208184030360405194506020810185016040528085528082602087013750505050919050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e740000000000000000000000604482015260640161087e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6d757374206f7665727269646500000000000000000000000000000000000000604482015260640161087e565b6060600080803681610b066101e66101208b018b61149b565b929650909450925090506040811480610b1f5750604181145b610bad57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f566572696679696e675061796d61737465723a20696e76616c6964207369676e60448201527f6174757265206c656e67746820696e207061796d6173746572416e6444617461606482015260840161087e565b6000610c10610bbd8b87876104e5565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff8b35166000908152600160205260408120805492935090610c4583611500565b9190505550610c8a8184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610d3292505050565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610d0757610ce860018686610d56565b60405180602001604052806000815250909650965050505050506108af565b610d1360008686610d56565b6040805160208101909152600081529b909a5098505050505050505050565b6000806000610d418585610d8e565b91509150610d4e81610dd3565b509392505050565b600060d08265ffffffffffff16901b60a08465ffffffffffff16901b85610d7e576000610d81565b60015b60ff161717949350505050565b6000808251604103610dc45760208301516040840151606085015160001a610db887828585610f86565b94509450505050610dcc565b506000905060025b9250929050565b6000816004811115610de757610de761155f565b03610def5750565b6001816004811115610e0357610e0361155f565b03610e6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161087e565b6002816004811115610e7e57610e7e61155f565b03610ee5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161087e565b6003816004811115610ef957610ef961155f565b03610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161087e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610fbd575060009050600361106c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611011573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166110655760006001925092505061106c565b9150600090505b94509492505050565b60006020828403121561108757600080fd5b813563ffffffff8116811461109b57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461089057600080fd5b600080604083850312156110d757600080fd5b82356110e2816110a2565b946020939093013593505050565b60008083601f84011261110257600080fd5b50813567ffffffffffffffff81111561111a57600080fd5b602083019150836020828501011115610dcc57600080fd5b6000806020838503121561114557600080fd5b823567ffffffffffffffff81111561115c57600080fd5b611168858286016110f0565b90969095509350505050565b600065ffffffffffff8087168352808616602084015250606060408301528260608301528284608084013760006080848401015260807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116830101905095945050505050565b600061016082840312156111f157600080fd5b50919050565b803565ffffffffffff8116811461120d57600080fd5b919050565b60008060006060848603121561122757600080fd5b833567ffffffffffffffff81111561123e57600080fd5b61124a868287016111de565b935050611259602085016111f7565b9150611267604085016111f7565b90509250925092565b60006020828403121561128257600080fd5b813561109b816110a2565b600080600080606085870312156112a357600080fd5b8435600381106112b257600080fd5b9350602085013567ffffffffffffffff8111156112ce57600080fd5b6112da878288016110f0565b9598909750949560400135949350505050565b60008060006060848603121561130257600080fd5b833567ffffffffffffffff81111561131957600080fd5b611325868287016111de565b9660208601359650604090950135949350505050565b6000815180845260005b8181101561136157602081850181015186830182015201611345565b81811115611373576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6040815260006113b9604083018561133b565b90508260208301529392505050565b600080858511156113d857600080fd5b838611156113e557600080fd5b5050820193919092039150565b6000806040838503121561140557600080fd5b61140e836111f7565b915061141c602084016111f7565b90509250929050565b60c08152600061143860c083018961133b565b60208301979097525073ffffffffffffffffffffffffffffffffffffffff949094166040850152606084019290925265ffffffffffff90811660808401521660a090910152919050565b60006020828403121561149457600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126114d057600080fd5b83018035915067ffffffffffffffff8211156114eb57600080fd5b602001915036819003821315610dcc57600080fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611558577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212201f0be91b92179d101ae4aa96dcbd313210e5b62f1b15c18338e0acb937cb466a64736f6c634300080f0033",osn=function(t){return t.length>1},csn=function(t){ssn(e,t);function e(){for(var n=[],a=0;a{"use strict";u();p();var Fs=An&&An.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]});An.__esModule=!0;An.VerifyingPaymaster__factory=An.TokenPaymaster__factory=An.StakeManager__factory=An.SimpleAccountFactory__factory=An.SimpleAccount__factory=An.SenderCreator__factory=An.MaliciousAccount__factory=An.IStakeManager__factory=An.IPaymaster__factory=An.IEntryPoint__factory=An.IAggregator__factory=An.IAccount__factory=An.EntryPoint__factory=An.DepositPaymaster__factory=An.BrokenBLSAccountFactory__factory=An.BrokenBLSAccount__factory=An.BasePaymaster__factory=An.BaseAccount__factory=void 0;var dsn=K5e();Fs(An,dsn,"BaseAccount__factory");var lsn=V5e();Fs(An,lsn,"BasePaymaster__factory");var usn=$5e();Fs(An,usn,"BrokenBLSAccount__factory");var psn=X5e();Fs(An,psn,"BrokenBLSAccountFactory__factory");var hsn=ele();Fs(An,hsn,"DepositPaymaster__factory");var msn=nle();Fs(An,msn,"EntryPoint__factory");var bsn=rle();Fs(An,bsn,"IAccount__factory");var ysn=ile();Fs(An,ysn,"IAggregator__factory");var gsn=ole();Fs(An,gsn,"IEntryPoint__factory");var vsn=dle();Fs(An,vsn,"IPaymaster__factory");var wsn=ule();Fs(An,wsn,"IStakeManager__factory");var Tsn=hle();Fs(An,Tsn,"MaliciousAccount__factory");var xsn=ble();Fs(An,xsn,"SenderCreator__factory");var Esn=gle();Fs(An,Esn,"SimpleAccount__factory");var _sn=wle();Fs(An,_sn,"SimpleAccountFactory__factory");var Asn=xle();Fs(An,Asn,"StakeManager__factory");var Isn=_le();Fs(An,Isn,"TokenPaymaster__factory");var Csn=Ile();Fs(An,Csn,"VerifyingPaymaster__factory")});var So0=D(un=>{"use strict";u();p();var Ns=un&&un.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]});un.__esModule=!0;un.VerifyingPaymaster__factory=un.TokenPaymaster__factory=un.StakeManager__factory=un.SimpleAccountFactory__factory=un.SimpleAccount__factory=un.SenderCreator__factory=un.MaliciousAccount__factory=un.IStakeManager__factory=un.IPaymaster__factory=un.IEntryPoint__factory=un.IAggregator__factory=un.IAccount__factory=un.EntryPoint__factory=un.DepositPaymaster__factory=un.BrokenBLSAccountFactory__factory=un.BrokenBLSAccount__factory=un.BasePaymaster__factory=un.BaseAccount__factory=un.factories=void 0;un.factories=ko0();var ksn=K5e();Ns(un,ksn,"BaseAccount__factory");var Ssn=V5e();Ns(un,Ssn,"BasePaymaster__factory");var Rsn=$5e();Ns(un,Rsn,"BrokenBLSAccount__factory");var Msn=X5e();Ns(un,Msn,"BrokenBLSAccountFactory__factory");var Bsn=ele();Ns(un,Bsn,"DepositPaymaster__factory");var Dsn=nle();Ns(un,Dsn,"EntryPoint__factory");var Psn=rle();Ns(un,Psn,"IAccount__factory");var Lsn=ile();Ns(un,Lsn,"IAggregator__factory");var Fsn=ole();Ns(un,Fsn,"IEntryPoint__factory");var Nsn=dle();Ns(un,Nsn,"IPaymaster__factory");var Osn=ule();Ns(un,Osn,"IStakeManager__factory");var Usn=hle();Ns(un,Usn,"MaliciousAccount__factory");var Hsn=ble();Ns(un,Hsn,"SenderCreator__factory");var zsn=gle();Ns(un,zsn,"SimpleAccount__factory");var Wsn=wle();Ns(un,Wsn,"SimpleAccountFactory__factory");var qsn=xle();Ns(un,qsn,"StakeManager__factory");var jsn=_le();Ns(un,jsn,"TokenPaymaster__factory");var Gsn=Ile();Ns(un,Gsn,"VerifyingPaymaster__factory")});var Sb=D(W9=>{"use strict";u();p();var Ksn=W9&&W9.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Qsn=W9&&W9.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Ksn(e,t,n)};W9.__esModule=!0;Qsn(So0(),W9)});async function q9(t,e,n,a,r,f){let i=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(i=globalThis.TW_SKIP_FETCH_SETUP);let s=PK(a,r),o={};if(kb(s)){let l=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;f?o["x-secret-key"]=f:r&&(o["x-client-id"]=r,l&&(o["x-bundle-id"]=l)),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,o["x-authorize-wallet"]="true"),H9(o)}let c=new s_.providers.StaticJsonRpcProvider({url:s,skipFetchSetup:i,headers:o},a),d=new s_.Contract(n,Ysn,c);try{return await d.isValidSignature(s_.utils.hashMessage(t),e)===$sn}catch{return!1}}async function Rb(t,e,n){let r=(await Bf(t,{clientId:e,secretKey:n}).getNetwork()).chainId;return r===324||r===300||r===302}var s_,Vsn,Ysn,$sn,nQ,aQ,Ro0,Cle,kle,Mb=oe(()=>{"use strict";u();p();s_=Ee(Je());rB();uh();$n();O9();Vsn=Ee(Sb()),Ysn=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],$sn="0x1626ba7e";nQ="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",aQ="0x02101dfB77FDE026414827Fdc604ddAF224F0921",Ro0=5e4,Cle="0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00",kle=[{type:"constructor",inputs:[{name:"_entrypoint",type:"address",internalType:"contract IEntryPoint"},{name:"_factory",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"addDeposit",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"entryPoint",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IEntryPoint"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_calldata",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"executeBatch",inputs:[{name:"_target",type:"address[]",internalType:"address[]"},{name:"_value",type:"uint256[]",internalType:"uint256[]"},{name:"_calldata",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"factory",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getMessageHash",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"_account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isValidSignature",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"magicValue",type:"bytes4",internalType:"bytes4"}],stateMutability:"view"},{type:"function",name:"isValidSigner",inputs:[{name:"_signer",type:"address",internalType:"address"},{name:"_userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setEntrypointOverride",inputs:[{name:"_entrypointOverride",type:"address",internalType:"contract IEntryPoint"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"_req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"withdrawDepositTo",inputs:[{name:"withdrawAddress",type:"address",internalType:"address payable"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});function wa(t,e,n,a){function r(f){return f instanceof n?f:new n(function(i){i(f)})}return new(n||(n=Promise))(function(f,i){function s(d){try{c(a.next(d))}catch(l){i(l)}}function o(d){try{c(a.throw(d))}catch(l){i(l)}}function c(d){d.done?f(d.value):r(d.value).then(s,o)}c((a=a.apply(t,e||[])).next())})}function yf(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function o_(t,e){if(!t)throw new Error(e)}function rQ(t){let e=document.createElement("iframe");return e.setAttribute("src",t),e.setAttribute("style",aon),e}function fQ(t){document.body.appendChild(t)}function N6(t){let e=t&&t.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(t)}function iQ(t,e,n){return wa(this,void 0,void 0,function*(){if((t.status===403||t.status===401)&&(n&&n(),hQ(e)),!t.ok){let a=yield t.json(),r=new Error(a?.message||"unknown error");throw r.error_code=a?.error_code,r}return t.json()})}function Wo0(){jle=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");f=t[s-2]==="="?2:t[s-1]==="="?1:0,i=new oon(s*3/4-f),a=f>0?s-4:s;var o=0;for(e=0,n=0;e>16&255,i[o++]=r>>8&255,i[o++]=r&255;return f===2?(r=l5[t.charCodeAt(e)]<<2|l5[t.charCodeAt(e+1)]>>4,i[o++]=r&255):f===1&&(r=l5[t.charCodeAt(e)]<<10|l5[t.charCodeAt(e+1)]<<4|l5[t.charCodeAt(e+2)]>>2,i[o++]=r>>8&255,i[o++]=r&255),i}function don(t){return O2[t>>18&63]+O2[t>>12&63]+O2[t>>6&63]+O2[t&63]}function lon(t,e,n){for(var a,r=[],f=e;fo?o:s+i));return a===1?(e=t[n-1],r+=O2[e>>2],r+=O2[e<<4&63],r+="=="):a===2&&(e=(t[n-2]<<8)+t[n-1],r+=O2[e>>10],r+=O2[e>>4&63],r+=O2[e<<2&63],r+="="),f.push(r),f.join("")}function mQ(t,e,n,a,r){var f,i,s=r*8-a-1,o=(1<>1,d=-7,l=n?r-1:0,h=n?-1:1,y=t[e+l];for(l+=h,f=y&(1<<-d)-1,y>>=-d,d+=s;d>0;f=f*256+t[e+l],l+=h,d-=8);for(i=f&(1<<-d)-1,f>>=-d,d+=a;d>0;i=i*256+t[e+l],l+=h,d-=8);if(f===0)f=1-c;else{if(f===o)return i?NaN:(y?-1:1)*(1/0);i=i+Math.pow(2,a),f=f-c}return(y?-1:1)*i*Math.pow(2,f-a)}function qo0(t,e,n,a,r,f){var i,s,o,c=f*8-r-1,d=(1<>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=a?0:f-1,v=a?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=d):(i=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-i))<1&&(i--,o*=2),i+l>=1?e+=h/o:e+=h*Math.pow(2,1-l),e*o>=2&&(i++,o/=2),i+l>=d?(s=0,i=d):i+l>=1?(s=(e*o-1)*Math.pow(2,r),i=i+l):(s=e*Math.pow(2,l-1)*Math.pow(2,r),i=0));r>=8;t[n+y]=s&255,y+=v,s/=256,r-=8);for(i=i<0;t[n+y]=i&255,y+=v,i/=256,c-=8);t[n+y-v]|=k*128}function cQ(){return y0.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ph(t,e){if(cQ()=cQ())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+cQ().toString(16)+" bytes");return t|0}function U2(t){return!!(t!=null&&t._isBuffer)}function Qo0(t,e){if(U2(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var n=t.length;if(n===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return dQ(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return e10(t).length;default:if(a)return dQ(t).length;e=(""+e).toLowerCase(),a=!0}}function gon(t,e,n){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return kon(this,e,n);case"utf8":case"utf-8":return $o0(this,e,n);case"ascii":return Ion(this,e,n);case"latin1":case"binary":return Con(this,e,n);case"base64":return _on(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Son(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function G9(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function Vo0(t,e,n,a,r){if(t.length===0)return-1;if(typeof n=="string"?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0)if(r)n=0;else return-1;if(typeof e=="string"&&(e=y0.from(e,a)),U2(e))return e.length===0?-1:Oo0(t,e,n,a,r);if(typeof e=="number")return e=e&255,y0.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):Oo0(t,[e],n,a,r);throw new TypeError("val must be string, number or Buffer")}function Oo0(t,e,n,a,r){var f=1,i=t.length,s=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(t.length<2||e.length<2)return-1;f=2,i/=2,s/=2,n/=2}function o(y,v){return f===1?y[v]:y.readUInt16BE(v*f)}var c;if(r){var d=-1;for(c=n;ci&&(n=i-s),c=n;c>=0;c--){for(var l=!0,h=0;hr&&(a=r)):a=r;var f=e.length;if(f%2!==0)throw new TypeError("Invalid hex string");a>f/2&&(a=f/2);for(var i=0;i239?4:f>223?3:f>191?2:1;if(r+s<=n){var o,c,d,l;switch(s){case 1:f<128&&(i=f);break;case 2:o=t[r+1],(o&192)===128&&(l=(f&31)<<6|o&63,l>127&&(i=l));break;case 3:o=t[r+1],c=t[r+2],(o&192)===128&&(c&192)===128&&(l=(f&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:o=t[r+1],c=t[r+2],d=t[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(f&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(i=l))}}i===null?(i=65533,s=1):i>65535&&(i-=65536,a.push(i>>>10&1023|55296),i=56320|i&1023),a.push(i),r+=s}return Aon(a)}function Aon(t){var e=t.length;if(e<=Uo0)return String.fromCharCode.apply(String,t);for(var n="",a=0;aa)&&(n=a);for(var r="",f=e;fn)throw new RangeError("Trying to access beyond buffer length")}function n6(t,e,n,a,r,f){if(!U2(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function bQ(t,e,n,a){e<0&&(e=65535+e+1);for(var r=0,f=Math.min(t.length-n,2);r>>(a?r:1-r)*8}function yQ(t,e,n,a){e<0&&(e=4294967295+e+1);for(var r=0,f=Math.min(t.length-n,4);r>>(a?r:3-r)*8&255}function Jo0(t,e,n,a,r,f){if(n+a>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Xo0(t,e,n,a,r){return r||Jo0(t,e,n,4),qo0(t,e,n,a,23,4),n+4}function Zo0(t,e,n,a,r){return r||Jo0(t,e,n,8),qo0(t,e,n,a,52,8),n+8}function Mon(t){if(t=Bon(t).replace(Ron,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Bon(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Don(t){return t<16?"0"+t.toString(16):t.toString(16)}function dQ(t,e){e=e||1/0;for(var n,a=t.length,r=null,f=[],i=0;i55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&f.push(239,191,189);continue}else if(i+1===a){(e-=3)>-1&&f.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&f.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&f.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;f.push(n)}else if(n<2048){if((e-=2)<0)break;f.push(n>>6|192,n&63|128)}else if(n<65536){if((e-=3)<0)break;f.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((e-=4)<0)break;f.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return f}function Pon(t){for(var e=[],n=0;n>8,r=n%256,f.push(r),f.push(a);return f}function e10(t){return con(Mon(t))}function gQ(t,e,n,a){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function Fon(t){return t!==t}function Non(t){return t!=null&&(!!t._isBuffer||t10(t)||Oon(t))}function t10(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Oon(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&t10(t.slice(0,0))}function Dle(){return wa(this,void 0,void 0,function*(){let{networks:t}=yield fetch("https://api.blocto.app/networks/evm").then(n=>n.json());return t.reduce((n,a)=>Object.assign(Object.assign({},n),{[a.chain_id]:a}),{})})}function a10(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O6(t){"@babel/helpers - typeof";return O6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O6(t)}function zon(t,e){if(O6(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(O6(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Won(t){var e=zon(t,"string");return O6(e)==="symbol"?e:String(e)}function Ho0(t,e){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sQ(t,e,n){return Kon()?sQ=Reflect.construct.bind():sQ=function(r,f,i){var s=[null];s.push.apply(s,f);var o=Function.bind.apply(r,s),c=new o;return i&&oB(c,i.prototype),c},sQ.apply(null,arguments)}function Ple(t){var e=typeof Map=="function"?new Map:void 0;return Ple=function(a){if(a===null||!Gon(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(a))return e.get(a);e.set(a,r)}function r(){return sQ(a,arguments,cB(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),oB(r,a)},Ple(t)}function s10(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function dB(t,e,n,a){typeof a>"u"&&(a=s10()),Lle(t,"",0,[],void 0,0,a);var r;try{K9.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,c10(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Q9.length!==0;){var f=Q9.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function c_(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Q9.push([a,n,e,r])):K9.push([e,n,t]):(a[n]=t,Q9.push([a,n,e]))}function Lle(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){c_(lQ,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){c_(lQ,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function o10(t,e,n,a){typeof a>"u"&&(a=s10());var r=Fle(t,"",0,[],void 0,0,a)||t,f;try{K9.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,c10(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Q9.length!==0;){var i=Q9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function Fle(t,e,n,a,r,f,i){f+=1;var s;if(O6(t)==="object"&&t!==null){for(s=0;si.depthLimit){c_(lQ,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){c_(lQ,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xon(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function Zon(t,e){if(e!=="[Circular]")return e}function e1n(t){if(Array.isArray(t))return t}function t1n(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var a,r,f,i,s=[],o=!0,c=!1;try{if(f=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=f.call(n)).done)&&(s.push(a.value),s.length!==e);o=!0);}catch(d){c=!0,r=d}finally{try{if(!o&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return s}}function zo0(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n{u();p();(function(t){t.prod="BLOCTO_SDK",t.dev="BLOCTO_SDK_DEV",t.staging="BLOCTO_SDK_STAGING"})(ql||(ql={}));(function(t){t.ETHEREUM="ethereum",t.APTOS="aptos"})(fs||(fs={}));Sle={56:"https://bsc-dataseed1.binance.org",97:"https://data-seed-prebsc-1-s1.binance.org:8545",137:"https://rpc-mainnet.maticvigil.com/",80002:"https://rpc-amoy.polygon.technology/",43114:"https://api.avax.network/ext/bc/C/rpc",43113:"https://api.avax-test.network/ext/bc/C/rpc",42161:"https://arb1.arbitrum.io/rpc",421614:"https://arbitrum-sepolia.blockpi.network/v1/rpc/public",10:"https://mainnet.optimism.io",11155420:"https://sepolia.optimism.io",8453:"https://mainnet.base.org",84532:"https://sepolia.base.org",7777777:"https://rpc.zora.energy",999999999:"https://sepolia.rpc.zora.energy",534352:"https://rpc.scroll.io",534351:"https://sepolia-rpc.scroll.io",59144:"https://rpc.linea.build",1261120:"https://rpc.startale.com/zkatana",81457:"https://rpc.blast.io",168587773:"https://sepolia.blast.io"},Mo0={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},Jsn={prod:ql.prod,staging:ql.staging,dev:ql.dev},Xsn={1:ql.prod,2:ql.dev,3:ql.dev,4:ql.dev,5:ql.staging},Zsn={1:"https://wallet-v2.blocto.app",2:"https://wallet-v2-dev.blocto.app",3:"https://wallet-v2-dev.blocto.app",4:"https://wallet-v2-dev.blocto.app",5:"https://wallet-v2-staging.blocto.app"};(function(t){t.Mainnet="mainnet",t.Testnet="testnet",t.Devnet="devnet",t.Testing="testing",t.Premainnet="premainnet"})(j9||(j9={}));eon={1:j9.Mainnet,2:j9.Testnet,3:j9.Devnet,4:j9.Testing,5:j9.Premainnet},ton={1:"https://fullnode.mainnet.aptoslabs.com/v1",2:"https://fullnode.testnet.aptoslabs.com/v1",3:"https://fullnode.devnet.aptoslabs.com/v1",4:"",5:"https://premainnet.aptosdev.com/v1"},Bo0=["connect","disconnect","message","chainChanged","accountsChanged"],non=86400*1e3,Hle="00000000-0000-0000-0000-000000000000",pQ="0.10.2",oQ=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,Bo0.forEach(e=>{this.eventListeners[e]=[]}),this.appId=Hle}request(e){return wa(this,void 0,void 0,function*(){})}on(e,n){Bo0.includes(e)&&this.eventListeners[e].push(n)}once(){}removeListener(e,n){let r=this.eventListeners[e].findIndex(f=>f===n);r!==-1&&this.eventListeners[e].splice(r,1)}},aon="width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;box-sizing:border-box;color-scheme:light;inset:0px;display:block;pointer-events:auto;";Db=(t,e,n=window)=>{function a(r){e(r,()=>n.removeEventListener(t,a))}n.addEventListener(t,a)},ron=()=>{if(typeof window>"u")return!1;try{window.sessionStorage.setItem("local_storage_supported","1");let t=window.sessionStorage.getItem("local_storage_supported");return window.sessionStorage.removeItem("local_storage_supported"),t==="1"}catch{return!1}},Rle=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,n){this.storage[e]=n}removeItem(e){delete this.storage[e]}},fon=typeof window<"u"?window.memoryStorage:new Rle,zle=ron()?window.sessionStorage:fon,Wle=(t,e=null)=>{let n=zle.getItem(t);try{return n&&JSON.parse(n)||e}catch{return n||e}},qle=(t,e)=>zle.setItem(t,typeof e=="string"?e:JSON.stringify(e)),hQ=t=>{qle(t,""),zle.removeItem(t)},Pb=t=>{let e=Wle(t,null);return e?new Date().getTime()>e.expiry||e.v!==pQ?(hQ(t),null):e?.data:null},d_=(t,e,n)=>{var a,r,f;let i=Wle(t),s={data:{code:e?.code||((a=i?.data)===null||a===void 0?void 0:a.code),accounts:Object.assign(Object.assign({},(r=i?.data)===null||r===void 0?void 0:r.accounts),e?.accounts),evm:Object.assign(Object.assign({},(f=i?.data)===null||f===void 0?void 0:f.evm),e?.evm)},expiry:n||i?.expiry||new Date().getTime()+non,v:pQ};qle(t,s)},N2=(t,e)=>{var n,a,r;return!((n=Pb(t))===null||n===void 0)&&n.code?((r=(a=Pb(t))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(hQ(t),null)},ion=(t,e,n)=>{d_(t,{accounts:{[e]:n}})},son=(t,e)=>{d_(t,{accounts:{[e]:void 0}})},fB=(t,e)=>{var n,a,r;return!((n=Pb(t))===null||n===void 0)&&n.code?((r=(a=Pb(t))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(hQ(t),null)},Do0=(t,e,n)=>{d_(t,{evm:{[e]:n}})},Po0=t=>{let e=Wle(t);e&&(e.data.evm={},qle(t,e))};Lo0=t=>/\S+@\S+\.\S+/.test(t);(function(t){t.INVALID_TRANSACTION="Invalid transaction",t.INVALID_TRANSACTIONS="Invalid transactions",t.INVALID_TRANSACTION_VALUE='Transaction params "value" should be hex-encoded string'})(sB||(sB={}));Fo0=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},O2=[],l5=[],oon=typeof Uint8Array<"u"?Uint8Array:Array,jle=!1;uon={}.toString,jo0=Array.isArray||function(t){return uon.call(t)=="[object Array]"};pon=50;y0.TYPED_ARRAY_SUPPORT=Fo0.TYPED_ARRAY_SUPPORT!==void 0?Fo0.TYPED_ARRAY_SUPPORT:!0;cQ();y0.poolSize=8192;y0._augment=function(t){return t.__proto__=y0.prototype,t};y0.from=function(t,e,n){return Go0(null,t,e,n)};y0.TYPED_ARRAY_SUPPORT&&(y0.prototype.__proto__=Uint8Array.prototype,y0.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&y0[Symbol.species]);y0.alloc=function(t,e,n){return hon(null,t,e,n)};y0.allocUnsafe=function(t){return Gle(null,t)};y0.allocUnsafeSlow=function(t){return Gle(null,t)};y0.isBuffer=Non;y0.compare=function(e,n){if(!U2(e)||!U2(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var a=e.length,r=n.length,f=0,i=Math.min(a,r);f0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""};y0.prototype.compare=function(e,n,a,r,f){if(!U2(e))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),f===void 0&&(f=this.length),n<0||a>e.length||r<0||f>this.length)throw new RangeError("out of range index");if(r>=f&&n>=a)return 0;if(r>=f)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,r>>>=0,f>>>=0,this===e)return 0;for(var i=f-r,s=a-n,o=Math.min(i,s),c=this.slice(r,f),d=e.slice(n,a),l=0;lf)&&(a=f),e.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return von(this,e,n,a);case"utf8":case"utf-8":return won(this,e,n,a);case"ascii":return Yo0(this,e,n,a);case"latin1":case"binary":return Ton(this,e,n,a);case"base64":return xon(this,e,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Eon(this,e,n,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}};y0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};Uo0=4096;y0.prototype.slice=function(e,n){var a=this.length;e=~~e,n=n===void 0?a:~~n,e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),n0&&(f*=256);)r+=this[e+--n]*f;return r};y0.prototype.readUInt8=function(e,n){return n||Os(e,1,this.length),this[e]};y0.prototype.readUInt16LE=function(e,n){return n||Os(e,2,this.length),this[e]|this[e+1]<<8};y0.prototype.readUInt16BE=function(e,n){return n||Os(e,2,this.length),this[e]<<8|this[e+1]};y0.prototype.readUInt32LE=function(e,n){return n||Os(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};y0.prototype.readUInt32BE=function(e,n){return n||Os(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};y0.prototype.readIntLE=function(e,n,a){e=e|0,n=n|0,a||Os(e,n,this.length);for(var r=this[e],f=1,i=0;++i=f&&(r-=Math.pow(2,8*n)),r};y0.prototype.readIntBE=function(e,n,a){e=e|0,n=n|0,a||Os(e,n,this.length);for(var r=n,f=1,i=this[e+--r];r>0&&(f*=256);)i+=this[e+--r]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*n)),i};y0.prototype.readInt8=function(e,n){return n||Os(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};y0.prototype.readInt16LE=function(e,n){n||Os(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt16BE=function(e,n){n||Os(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};y0.prototype.readInt32LE=function(e,n){return n||Os(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};y0.prototype.readInt32BE=function(e,n){return n||Os(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};y0.prototype.readFloatLE=function(e,n){return n||Os(e,4,this.length),mQ(this,e,!0,23,4)};y0.prototype.readFloatBE=function(e,n){return n||Os(e,4,this.length),mQ(this,e,!1,23,4)};y0.prototype.readDoubleLE=function(e,n){return n||Os(e,8,this.length),mQ(this,e,!0,52,8)};y0.prototype.readDoubleBE=function(e,n){return n||Os(e,8,this.length),mQ(this,e,!1,52,8)};y0.prototype.writeUIntLE=function(e,n,a,r){if(e=+e,n=n|0,a=a|0,!r){var f=Math.pow(2,8*a)-1;n6(this,e,n,a,f,0)}var i=1,s=0;for(this[n]=e&255;++s=0&&(s*=256);)this[n+i]=e/s&255;return n+a};y0.prototype.writeUInt8=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,1,255,0),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=e&255,n+1};y0.prototype.writeUInt16LE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):bQ(this,e,n,!0),n+2};y0.prototype.writeUInt16BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,65535,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):bQ(this,e,n,!1),n+2};y0.prototype.writeUInt32LE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255):yQ(this,e,n,!0),n+4};y0.prototype.writeUInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,4,4294967295,0),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):yQ(this,e,n,!1),n+4};y0.prototype.writeIntLE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);n6(this,e,n,a,f-1,-f)}var i=0,s=1,o=0;for(this[n]=e&255;++i>0)-o&255;return n+a};y0.prototype.writeIntBE=function(e,n,a,r){if(e=+e,n=n|0,!r){var f=Math.pow(2,8*a-1);n6(this,e,n,a,f-1,-f)}var i=a-1,s=1,o=0;for(this[n+i]=e&255;--i>=0&&(s*=256);)e<0&&o===0&&this[n+i+1]!==0&&(o=1),this[n+i]=(e/s>>0)-o&255;return n+a};y0.prototype.writeInt8=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,1,127,-128),y0.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=e&255,n+1};y0.prototype.writeInt16LE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8):bQ(this,e,n,!0),n+2};y0.prototype.writeInt16BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,2,32767,-32768),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=e&255):bQ(this,e,n,!1),n+2};y0.prototype.writeInt32LE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,4,2147483647,-2147483648),y0.TYPED_ARRAY_SUPPORT?(this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):yQ(this,e,n,!0),n+4};y0.prototype.writeInt32BE=function(e,n,a){return e=+e,n=n|0,a||n6(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),y0.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255):yQ(this,e,n,!1),n+4};y0.prototype.writeFloatLE=function(e,n,a){return Xo0(this,e,n,!0,a)};y0.prototype.writeFloatBE=function(e,n,a){return Xo0(this,e,n,!1,a)};y0.prototype.writeDoubleLE=function(e,n,a){return Zo0(this,e,n,!0,a)};y0.prototype.writeDoubleBE=function(e,n,a){return Zo0(this,e,n,!1,a)};y0.prototype.copy=function(e,n,a,r){if(a||(a=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n=0;--i)e[i+n]=this[i+a];else if(f<1e3||!y0.TYPED_ARRAY_SUPPORT)for(i=0;i>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var i;if(typeof e=="number")for(i=n;itypeof t=="string"&&/^0x[0-9A-Fa-f]*$/.test(t),Uon=t=>y0.from(t,"utf8").toString("hex"),n10=t=>!t||typeof t!="object"||!("from"in t)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION}:t.value&&!Ble(t.value)?{isValid:!1,invalidMsg:sB.INVALID_TRANSACTION_VALUE}:{isValid:!0},Hon=t=>{if(!Array.isArray(t))return{isValid:!1,invalidMsg:sB.INVALID_TRANSACTIONS};for(let e=0;e1&&arguments[1]!==void 0?arguments[1]:r;if(Number.isInteger(h)){var v=h.toString();if(l(e.errorValues,v))return e.errorValues[v].message;if(c(h))return t.JSON_RPC_SERVER_ERROR_MESSAGE}return y}t.getMessageFromCode=i;function s(h){if(!Number.isInteger(h))return!1;var y=h.toString();return!!(e.errorValues[y]||c(h))}t.isValidCode=s;function o(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=y.fallbackError,k=v===void 0?f:v,O=y.shouldIncludeStack,F=O===void 0?!1:O,z,W;if(!k||!Number.isInteger(k.code)||typeof k.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(h instanceof n.EthereumRpcError)return h.serialize();var j={};if(h&&O6(h)==="object"&&!Array.isArray(h)&&l(h,"code")&&s(h.code)){var Q=h;j.code=Q.code,Q.message&&typeof Q.message=="string"?(j.message=Q.message,l(Q,"data")&&(j.data=Q.data)):(j.message=i(j.code),j.data={originalError:d(h)})}else{j.code=k.code;var V=(z=h)===null||z===void 0?void 0:z.message;j.message=V&&typeof V=="string"?V:k.message,j.data={originalError:d(h)}}var X=(W=h)===null||W===void 0?void 0:W.stack;return F&&h&&X&&typeof X=="string"&&(j.stack=X),j}t.serializeError=o;function c(h){return h>=-32099&&h<=-32e3}function d(h){return h&&O6(h)==="object"&&!Array.isArray(h)?Object.assign({},h):h}function l(h,y){return Object.prototype.hasOwnProperty.call(h,y)}})(Qle);vQ={};Object.defineProperty(vQ,"__esModule",{value:!0});vQ.ethErrors=void 0;Vle=Lb,p10=Qle,u1=Fb;vQ.ethErrors={rpc:{parse:function(e){return d5(u1.errorCodes.rpc.parse,e)},invalidRequest:function(e){return d5(u1.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return d5(u1.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return d5(u1.errorCodes.rpc.methodNotFound,e)},internal:function(e){return d5(u1.errorCodes.rpc.internal,e)},server:function(e){if(!e||O6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");var n=e.code;if(!Number.isInteger(n)||n>-32005||n<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return d5(n,e)},invalidInput:function(e){return d5(u1.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return d5(u1.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return d5(u1.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return d5(u1.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return d5(u1.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return d5(u1.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return iB(u1.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return iB(u1.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return iB(u1.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return iB(u1.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return iB(u1.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||O6(e)!=="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");var n=e.code,a=e.message,r=e.data;if(!a||typeof a!="string")throw new Error('"message" must be a nonempty string');return new Vle.EthereumProviderError(n,a,r)}}};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageFromCode=t.serializeError=t.EthereumProviderError=t.EthereumRpcError=t.ethErrors=t.errorCodes=void 0;var e=Lb;Object.defineProperty(t,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(t,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var n=Qle;Object.defineProperty(t,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(t,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});var a=vQ;Object.defineProperty(t,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Fb;Object.defineProperty(t,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(jn);Ole=class extends oQ{get existedSDK(){if(!(typeof window>"u"))return window.ethereum}constructor(e){var n;if(super(),Qr.add(this),this.networkVersion="1",this.off=this.removeListener,this.injectedWalletServer=e.walletServer,this._blocto={sessionKeyEnv:ql.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||Hle,"chainId"in e){let{chainId:a,rpc:r}=e;o_(a,"'chainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`,this.rpc=r||Sle[this.networkVersion],o_(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;o_(a,"'defaultChainId' is required"),this.networkVersion=`${p1(a)}`,this.chainId=`0x${p1(a).toString(16)}`;let f=r.find(i=>p1(i.chainId)===p1(a));if(!f)throw jn.ethErrors.provider.custom({code:1001,message:`Chain ${a} is not in switchableChains list`});this.rpc=((n=f.rpcUrls)===null||n===void 0?void 0:n[0])||Sle[this.networkVersion],o_(this.rpc,"'rpc' is required"),this._blocto.unloadedNetwork=r}}send(e,n){return wa(this,void 0,void 0,function*(){switch(!0){case n instanceof Function:return this.sendAsync(e,n);case(typeof e=="string"&&Array.isArray(n)):return this.sendAsync({jsonrpc:"2.0",method:e,params:n});default:return this.sendAsync(e)}})}sendAsync(e,n){return wa(this,void 0,void 0,function*(){let a=s=>s.reduce((o,c)=>{var d;return c.method==="eth_sendTransaction"?o.sendRequests.push((d=c.params)===null||d===void 0?void 0:d[0]):o.otherRequests.push(this.request(c)),o},{sendRequests:[],otherRequests:[]});function r(s){return{id:String(s.id),jsonrpc:"2.0",method:s.method}}function f(s,o){let c=[],d=1;return s.forEach(l=>{let h=r(l);l.method==="eth_sendTransaction"?(h.result=o[0].value,h.error=o[0].status!=="fulfilled"?o[0].reason:void 0):d{if(Array.isArray(e)){let{sendRequests:o,otherRequests:c}=a(e),d={method:"wallet_sendMultiCallTransaction",params:[o,!1]},l=o.length===0,h=Math.floor(Math.random()*1e4),y=l?[...c]:[this.request(d),...c];Promise.allSettled(y).then(v=>{if(l)return s(v.map((O,F)=>{var z;return{id:String(((z=e[F])===null||z===void 0?void 0:z.id)||h+F+1),jsonrpc:"2.0",method:e[F].method,result:O.status==="fulfilled"?O.value:void 0,error:O.status!=="fulfilled"?O.reason:void 0}}));let k=f(e,v);return s(k)}).catch(v=>{throw jn.ethErrors.rpc.internal(v?.message)})}else this.request(Object.assign(Object.assign({},e),{id:Number(e.id)})).then(s)});if(typeof n=="function")i.then(s=>n(null,s)).catch(s=>n(s));else return i})}sendUserOperation(e){return wa(this,void 0,void 0,function*(){return this.request({method:"eth_sendUserOperation",params:[e]})})}request(e){var n,a,r,f,i,s,o,c;return wa(this,void 0,void 0,function*(){if(Array.isArray(e))return this.sendAsync(e);if(!e?.method)throw jn.ethErrors.rpc.invalidRequest();let{blockchainName:d,switchableNetwork:l,sessionKeyEnv:h}=yield yf(this,Qr,"m",oc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto){if(e.method==="wallet_switchEthereumChain"){if(!(!((r=(a=e?.params)===null||a===void 0?void 0:a[0])===null||r===void 0)&&r.chainId))throw jn.ethErrors.rpc.invalidParams();return this.existedSDK.request(e).then(()=>{var y,v,k;return this.networkVersion=`${p1((y=e?.params)===null||y===void 0?void 0:y[0].chainId)}`,this.chainId=`0x${p1((v=e?.params)===null||v===void 0?void 0:v[0].chainId).toString(16)}`,this.rpc=(k=l?.[this.networkVersion])===null||k===void 0?void 0:k.rpc_url,null})}return this.existedSDK.request(e)}switch(e.method){case"eth_chainId":return this.chainId;case"net_version":return this.networkVersion;case"wallet_addEthereumChain":return this.loadSwitchableNetwork(e?.params||[]);case"eth_blockNumber":case"web3_clientVersion":case"eth_call":{let y=yield this.handleReadRequests(e);if(!y||y&&!y.result&&y.error){let v=!((f=y?.error)===null||f===void 0)&&f.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(v)}return typeof e?.callback=="function"&&e.callback(null,y.result),y.result}case"wallet_switchEthereumChain":return this.handleSwitchChain((s=(i=e?.params)===null||i===void 0?void 0:i[0])===null||s===void 0?void 0:s.chainId);case"wallet_disconnect":return this.handleDisconnect();case"eth_accounts":return fB(h,d)||[]}if(!fB(h,d)){let y=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&Lo0(y)?yield this.enable(y):yield this.enable()}try{let y=null,v=null;switch(e.method){case"eth_requestAccounts":{v=yield this.fetchAccounts();break}case"eth_coinbase":{v=(c=fB(h,d))===null||c===void 0?void 0:c[0];break}case"eth_signTypedData_v3":case"eth_signTypedData":case"eth_signTypedData_v4":case"personal_sign":{v=yield this.handleSign(e);break}case"eth_sign":throw jn.ethErrors.rpc.methodNotFound("Method Not Supported: eth_sign has been disabled");case"eth_sendTransaction":v=yield this.handleSendTransaction(e);break;case"wallet_sendMultiCallTransaction":v=yield this.handleSendBatchTransaction(e);break;case"eth_signTransaction":case"eth_sendRawTransaction":throw jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+e.method);case"eth_sendUserOperation":v=yield this.handleSendUserOperation(e);break;case"eth_estimateUserOperationGas":case"eth_getUserOperationByHash":case"eth_getUserOperationReceipt":case"eth_supportedEntryPoints":v=yield this.handleBundler(e);break;default:y=yield this.handleReadRequests(e)}if(y&&!y.result&&y.error){let k=y.error.message?y.error.message:"Request failed";throw jn.ethErrors.rpc.internal(k)}return y?y.result:v}catch(y){throw jn.ethErrors.rpc.internal(y?.message)}})}bloctoApi(e,n){var a;return wa(this,void 0,void 0,function*(){let{walletServer:r,blockchainName:f,sessionKeyEnv:i}=yield yf(this,Qr,"m",oc).call(this),s=((a=Pb(i))===null||a===void 0?void 0:a.code)||"";if(!s)throw jn.ethErrors.provider.unauthorized();return fetch(`${r}/api/${f}${e}`,Object.assign({headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":s}},n)).then(o=>iQ(o,i,()=>{var c;(c=this.eventListeners)===null||c===void 0||c.disconnect.forEach(d=>d(jn.ethErrors.provider.disconnected()))})).catch(o=>{throw o?.error_code==="unsupported_method"?jn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+o.message):jn.ethErrors.rpc.server({code:-32005,message:`Blocto server error: ${o.message}`})})})}responseListener(e,n){return wa(this,void 0,void 0,function*(){let{walletServer:a}=yield yf(this,Qr,"m",oc).call(this);return new Promise((r,f)=>Db("message",(i,s)=>{let o=i;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(s(),N6(e),r(o.data[n])),o.data.status==="DECLINED"&&(s(),N6(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),f(jn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(s(),N6(e),f(jn.ethErrors.provider.userRejectedRequest("User declined the request")))}))})}setIframe(e,n){return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r}=yield yf(this,Qr,"m",oc).call(this),f=rQ(`${a}/${this.appId}/${n||r}${e}`);return fQ(f),f})}enable(e){var n;return wa(this,void 0,void 0,function*(){if(typeof window>"u")throw jn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r,sessionKeyEnv:f}=yield yf(this,Qr,"m",oc).call(this);if(!((n=this.existedSDK)===null||n===void 0)&&n.isBlocto)return this.existedSDK.chainId!==this.chainId&&(yield this.existedSDK.request({method:"wallet_addEthereumChain",params:[{chainId:this.chainId}]}),yield this.existedSDK.request({method:"wallet_switchEthereumChain",params:[{chainId:this.chainId}]}),Do0(f,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let i=fB(f,r);if(i)return new Promise(d=>{d(i)});let s=new URLSearchParams;s.set("l6n",window.location.origin),s.set("v",pQ),s.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&Lo0(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${s.toString()}`);return new Promise((d,l)=>{Db("message",(h,y)=>{var v,k;let O=h;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(y(),N6(c),(v=this.eventListeners)===null||v===void 0||v.connect.forEach(F=>F({chainId:this.chainId})),d_(f,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((k=O.data)===null||k===void 0)&&k.isAccountChanged&&postMessage({originChain:fs.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Db("message",(F,z)=>{var W,j,Q;let V=F,X=((W=V.data)===null||W===void 0?void 0:W.type)==="BLOCTO_SDK:ACCOUNT_CHANGED",K=((j=V.data)===null||j===void 0?void 0:j.originChain)!==fs.ETHEREUM;X&&((Q=this.eventListeners)===null||Q===void 0||Q.accountsChanged.forEach(G=>G([O.data.addr]))),X&&K&&(this.handleDisconnect(),z())}),d([O.data.addr])),O.data.type==="ETH:FRAME:CLOSE"&&(y(),N6(c),l(jn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Bb).call(this);let{blockchainName:e,sessionKeyEnv:n}=yield yf(this,Qr,"m",oc).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return Do0(n,e,a),a})}handleReadRequests(e){return wa(this,void 0,void 0,function*(){return yf(this,Qr,"m",Bb).call(this),fetch(this.rpc,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))}).then(n=>n.json()).catch(n=>{throw jn.ethErrors.rpc.internal(n)})})}handleSign({method:e,params:n}){return wa(this,void 0,void 0,function*(){let a="";if(Array.isArray(n)){if(e==="personal_sign")a=Ble(n[0])?n[0].slice(2):Uon(n[0]);else if(["eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4"].includes(e)){a=n[1];let{domain:i}=JSON.parse(a);if(Ble(i.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must be a number`);if(p1(i.chainId)!==p1(this.chainId))throw jn.ethErrors.rpc.invalidParams(`Provided chainId "${i.chainId}" must match the active chainId "${p1(this.chainId)}"`)}}yf(this,Qr,"m",Bb).call(this);let{signatureId:r}=yield this.bloctoApi("/user-signature",{method:"POST",body:JSON.stringify({method:e,message:a})}),f=yield this.setIframe(`/user-signature/${r}`);return this.responseListener(f,"signature")})}handleSwitchChain(e){var n,a;return wa(this,void 0,void 0,function*(){if(!e)throw jn.ethErrors.rpc.invalidParams();let{walletServer:r,blockchainName:f,sessionKeyEnv:i,switchableNetwork:s}=yield yf(this,Qr,"m",oc).call(this),o=(n=fB(i,f))===null||n===void 0?void 0:n[0],c=p1(this.chainId),d=p1(e);if(c===d)return null;if(!s[d])throw jn.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${d}". Try adding the chain using wallet_addEthereumChain first.`});if(this.networkVersion=`${d}`,this.chainId=`0x${d.toString(16)}`,this.rpc=s[d].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),!o)return(a=this.eventListeners)===null||a===void 0||a.chainChanged.forEach(h=>h(this.chainId)),yield yf(this,Qr,"m",oc).call(this),null;if(s[d].wallet_web_url!==s[c].wallet_web_url)return this.enable().then(([h])=>{var y;return h!==o&&((y=this.eventListeners)===null||y===void 0||y.accountsChanged.forEach(v=>v([h]))),this.eventListeners.chainChanged.forEach(v=>v(this.chainId)),null}).catch(h=>{throw this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),yf(this,Qr,"m",oc).call(this),h});let l=yield this.setIframe(`/switch-chain?to=${s[d].name}`,s[c].name);return new Promise((h,y)=>{Db("message",(v,k)=>{var O,F,z,W,j,Q,V,X;let K=v;K.origin===r&&(K.data.type==="ETH:FRAME:RESPONSE"&&(k(),N6(l),!((O=K.data)===null||O===void 0)&&O.addr&&o&&(d_(i,{code:(F=K.data)===null||F===void 0?void 0:F.code,evm:{[s[d].name]:[K.data.addr]}},(z=K.data)===null||z===void 0?void 0:z.exp),K.data.addr!==o&&((W=this.eventListeners)===null||W===void 0||W.accountsChanged.forEach(G=>G([K.data.addr])))),(j=this.eventListeners)===null||j===void 0||j.chainChanged.forEach(G=>G(this.chainId)),yf(this,Qr,"m",oc).call(this),h(null)),K.data.type==="ETH:FRAME:CLOSE"&&(k(),N6(l),!((Q=K.data)===null||Q===void 0)&&Q.hasApprovedSwitchChain?((V=this.eventListeners)===null||V===void 0||V.chainChanged.forEach(G=>G(this.chainId)),Po0(i),(X=this.eventListeners)===null||X===void 0||X.disconnect.forEach(G=>G(jn.ethErrors.provider.disconnected())),yf(this,Qr,"m",oc).call(this),h(null)):(this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=s[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),yf(this,Qr,"m",oc).call(this),y(jn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var n;return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Bb).call(this);let{isValid:a,invalidMsg:r}=n10((n=e.params)===null||n===void 0?void 0:n[0]);if(!a)throw jn.ethErrors.rpc.invalidParams(r);return yf(this,Qr,"m",Nle).call(this,e.params)})}handleSendBatchTransaction(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Bb).call(this);let n,a;Array.isArray(e.params)&&e.params.length>=2?[n,a]=e.params:(n=e.params,a=!1);let r=a||!1,{isValid:f,invalidMsg:i}=Hon(n);if(!f)throw jn.ethErrors.rpc.invalidParams(i);return yf(this,Qr,"m",Nle).call(this,n,r)})}handleSendUserOperation(e){return wa(this,void 0,void 0,function*(){yf(this,Qr,"m",Bb).call(this);let{authorizationId:n}=yield this.bloctoApi("/user-operation",{method:"POST",body:JSON.stringify(e.params)}),a=yield this.setIframe(`/user-operation/${n}`);return this.responseListener(a,"userOpHash")})}handleBundler(e){return wa(this,void 0,void 0,function*(){return yf(this,Qr,"m",Bb).call(this),this.bloctoApi("/rpc/bundler",{method:"POST",body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))})})}handleDisconnect(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto)return this.existedSDK.request({method:"wallet_disconnect"});let{sessionKeyEnv:a}=yield yf(this,Qr,"m",oc).call(this);Po0(a),(n=this.eventListeners)===null||n===void 0||n.disconnect.forEach(r=>r(jn.ethErrors.provider.disconnected()))})}loadSwitchableNetwork(e){return wa(this,void 0,void 0,function*(){if(e?.length){let n=e.map(({chainId:a,rpcUrls:r})=>{if(!a)throw jn.ethErrors.rpc.invalidParams("Empty chainId");let f=`${p1(a)}`;if(this._blocto.switchableNetwork[f])return null;let i=r?.[0]||Sle[f];if(!i)throw jn.ethErrors.rpc.invalidParams("rpcUrls required");return yf(this,Qr,"m",m10).call(this,{chainId:f,rpcUrls:[i]})});return Promise.all(n).then(()=>null)}else throw jn.ethErrors.rpc.invalidParams("Empty networkList")})}supportChainList(){return wa(this,void 0,void 0,function*(){let e=yield Dle().catch(n=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${n.message}`})});return Object.keys(e).map(n=>{let{display_name:a}=e[n];return{chainId:n,chainName:a}})})}on(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.off(e,n),super.removeListener(e,n)}};Qr=new WeakSet,oc=function(){var e,n;return wa(this,void 0,void 0,function*(){if(!((e=this._blocto)===null||e===void 0)&&e.unloadedNetwork&&(yield this.loadSwitchableNetwork(this._blocto.unloadedNetwork),delete this._blocto.unloadedNetwork),this._blocto.sessionKeyEnv&&this._blocto.walletServer&&this._blocto.blockchainName&&this._blocto.networkType&&this._blocto.switchableNetwork)return this._blocto;let a=yield Dle().catch(d=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${d.message}`})}),{chain_id:r,name:f,network_type:i,blocto_service_environment:s,display_name:o}=(n=a[this.networkVersion])!==null&&n!==void 0?n:{};if(!r)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${this.networkVersion} might not be supported yet.`);let c=this.injectedWalletServer||Mo0[s];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:Jsn[s],walletServer:c,blockchainName:f,networkType:i,switchableNetwork:Object.assign(Object.assign({},this._blocto.switchableNetwork),{[r]:{name:f,display_name:o,network_type:i,wallet_web_url:c,rpc_url:this.rpc}})}),this._blocto})},m10=function({chainId:e,rpcUrls:n}){var a;return wa(this,void 0,void 0,function*(){yield yf(this,Qr,"m",oc).call(this);let r=yield Dle().catch(l=>{throw jn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${l.message}`})}),{chain_id:f,name:i,display_name:s,network_type:o,blocto_service_environment:c}=(a=r[e])!==null&&a!==void 0?a:{};if(!f)throw jn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${e} might not be supported yet.`);let d=Mo0[c];this._blocto.switchableNetwork[f]={name:i,display_name:s,network_type:o,wallet_web_url:d,rpc_url:n[0]}})},Bb=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&p1(this.existedSDK.chainId)!==p1(this.chainId))throw jn.ethErrors.provider.chainDisconnected()},Nle=function(e,n=!0){return wa(this,void 0,void 0,function*(){let{authorizationId:a}=yield this.bloctoApi("/authz",{method:"POST",body:JSON.stringify([e,n])}),r=new URLSearchParams;r.set("l6n",window.location.origin),r.set("q",`${window.location.pathname}${window.location.search}`);let f=yield this.setIframe(`/authz/${a}?${r.toString()}`);return this.responseListener(f,"txHash")})};r1n=t=>{var e,n;let a=Object.assign({},t),{message:r,nonce:f,address:i,application:s,chainId:o}=t;return typeof r!="string"&&(a.message=(e=String(r))!==null&&e!==void 0?e:""),typeof f!="string"&&(a.nonce=(n=String(f))!==null&&n!==void 0?n:""),i&&typeof i!="boolean"&&(a.address=!!i),s&&typeof s!="boolean"&&(a.application=!!s),o&&typeof o!="boolean"&&(a.chainId=!!o),a},Ule=class extends oQ{get existedSDK(){if(!(typeof window>"u"))return window.bloctoAptos}constructor({chainId:e,server:n,appId:a}){super(),this.publicKey=[],this.authKey="",this.off=this.removeListener,o_(e,"'chainId' is required"),o_(a,"It is necessary to interact with Blocto wallet via your app id. Please visit https://developers.blocto.app for more details."),this.chainId=e,this.networkName=eon[e],this.api=ton[e],this.sessionKey=Xsn[e];let r=Zsn[e];this.appId=a||Hle,this.server=n||r||""}get publicAccount(){var e;return{address:((e=N2(this.sessionKey,fs.APTOS))===null||e===void 0?void 0:e[0])||null,publicKey:this.publicKey.length?this.publicKey:null,authKey:null,minKeysRequired:2}}network(){return wa(this,void 0,void 0,function*(){return{name:this.networkName,api:this.api,chainId:this.chainId.toString()}})}isConnected(){var e;return wa(this,void 0,void 0,function*(){return!!(!((e=N2(this.sessionKey,fs.APTOS))===null||e===void 0)&&e.length)})}signTransaction(e){var n;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signTransaction(e);throw(yield this.isConnected())||(yield this.connect()),!((n=N2(this.sessionKey,fs.APTOS))===null||n===void 0)&&n.length?new Error("signTransaction method not supported."):new Error("Fail to get account")})}disconnect(){var e;return wa(this,void 0,void 0,function*(){if(this.existedSDK){yield this.existedSDK.disconnect();return}son(this.sessionKey,fs.APTOS),(e=this.eventListeners)===null||e===void 0||e.disconnect.forEach(n=>n({code:4900,message:"Wallet disconnected"}))})}signAndSubmitTransaction(e,n={}){var a,r;return wa(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signAndSubmitTransaction(e,n);if((yield this.isConnected())||(yield this.connect()),!(!((a=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let i=((r=Pb(this.sessionKey))===null||r===void 0?void 0:r.code)||"",{authorizationId:s}=yield fetch(`${this.server}/api/aptos/authz`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(Object.assign(Object.assign({},e),n))}).then(c=>iQ(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=rQ(`${this.server}/${this.appId}/aptos/authz/${s}`);return fQ(o),new Promise((c,d)=>Db("message",(l,h)=>{let y=l;y.origin===this.server&&y.data.type==="APTOS:FRAME:RESPONSE"&&(y.data.status==="APPROVED"&&(h(),N6(o),c({hash:y.data.txHash})),y.data.status==="DECLINED"&&(h(),N6(o),y.data.errorCode==="incorrect_session_id"&&this.disconnect(),d(new Error(y.data.errorMessage))))}))})}signMessage(e){var n,a;return wa(this,void 0,void 0,function*(){let r=r1n(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((n=N2(this.sessionKey,fs.APTOS))===null||n===void 0)&&n.length))throw new Error("Fail to get account");if(typeof window>"u")throw new Error("Currently only supported in browser");let i=((a=Pb(this.sessionKey))===null||a===void 0?void 0:a.code)||"",{signatureId:s}=yield fetch(`${this.server}/api/aptos/user-signature`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":i},body:JSON.stringify(r)}).then(d=>iQ(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${s}`,c=rQ(o);return fQ(c),new Promise((d,l)=>Db("message",(h,y)=>{let v=h;v.origin===this.server&&v.data.type==="APTOS:FRAME:RESPONSE"&&(v.data.status==="APPROVED"&&(y(),N6(c),d(v.data)),v.data.status==="DECLINED"&&(y(),N6(c),v.data.errorCode==="incorrect_session_id"&&this.disconnect(),l(new Error(v.data.errorMessage))))}))})}connect(){return wa(this,void 0,void 0,function*(){return this.existedSDK?new Promise((e,n)=>setTimeout(()=>this.existedSDK.connect().then(e).catch(n),10)):new Promise((e,n)=>{var a,r;if(typeof window>"u")return n("Currently only supported in browser");if(!((a=N2(this.sessionKey,fs.APTOS))===null||a===void 0)&&a.length)return e({address:((r=N2(this.sessionKey,fs.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let f=encodeURIComponent(window.location.origin),i=rQ(`${this.server}/${this.appId}/aptos/authn?l6n=${f}&v=${pQ}}`);fQ(i),Db("message",(s,o)=>wa(this,void 0,void 0,function*(){var c,d,l,h;let y=s;if(y.origin===this.server){if(y.data.type==="APTOS:FRAME:RESPONSE")if(o(),N6(i),d_(this.sessionKey,{code:y.data.code,accounts:{[fs.APTOS]:[y.data.addr]}},y.data.exp),!((c=y.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:fs.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),Db("message",(v,k)=>{var O,F;let z=v;((O=z.data)===null||O===void 0?void 0:O.type)==="BLOCTO_SDK:ACCOUNT_CHANGED"&&((F=z.data)===null||F===void 0?void 0:F.originChain)!==fs.APTOS&&(this.disconnect(),k())}),!((d=N2(this.sessionKey,fs.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:v}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=N2(this.sessionKey,fs.APTOS))===null||l===void 0?void 0:l[0]}`).then(k=>k.json());this.publicKey=v||[],e({address:((h=N2(this.sessionKey,fs.APTOS))===null||h===void 0?void 0:h[0])||"",publicKey:this.publicKey,authKey:null,minKeysRequired:2})}catch{return n(y)}else return n();y.data.type==="APTOS:FRAME:CLOSE"&&(o(),N6(i),n(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return wa(this,void 0,void 0,function*(){let n=((e=Pb(this.sessionKey))===null||e===void 0?void 0:e.code)||"",{accounts:a}=yield fetch(`${this.server}/api/aptos/accounts`,{headers:{"Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":n}}).then(r=>iQ(r,this.sessionKey));return ion(this.sessionKey,fs.APTOS,a),a?.[0]||""})}on(e,n){this.existedSDK&&this.existedSDK.on(e,n),super.on(e,n)}removeListener(e,n){this.existedSDK&&this.existedSDK.off(e,n),super.removeListener(e,n)}},uQ=class{constructor({appId:e,ethereum:n,aptos:a}){n&&(this.ethereum=new Ole(Object.assign(Object.assign({},n),{appId:e}))),a&&(this.aptos=new Ule(Object.assign(Object.assign({},a),{appId:e})))}}});var y10={};G0(y10,{BloctoConnector:()=>Yle});var lB,Yle,g10=oe(()=>{"use strict";u();p();It();z9();mo();b10();lB=Ee(Je());wn();uh();lh();W0();Yle=class extends t6{constructor(e){let{chains:n,options:a={}}=e;super({chains:n,options:a}),Pe(this,"id",U0.blocto),Pe(this,"name","Blocto"),Pe(this,"ready",!0),this._onAccountsChangedBind=this.onAccountsChanged.bind(this),this._onChainChangedBind=this.onChainChanged.bind(this),this._onDisconnectBind=this.onDisconnect.bind(this)}async connect(e){try{let n=await this.getProvider(e);this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=lB.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return{account:r,chain:{id:f,unsupported:i},provider:n}}catch(n){throw this._handleConnectReset(),this._isUserRejectedRequestError(n)?new _t(n):n}}async disconnect(){await(await this.getProvider()).request({method:"wallet_disconnect"}),this.removeListeners(),this._handleConnectReset()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"}),[a]=n||[];if(!a)throw new Error("No accounts found");return a}async getChainId(){let n=await(await this.getProvider()).request({method:"eth_chainId"});return wi(n)}getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._provider){let n=e??this.chains[0]?.chainId??1,a=this.chains.find(r=>r.chainId===n)?.rpc[0];this._provider=new uQ({ethereum:{chainId:n,rpc:a},appId:this.options.appId})?.ethereum}if(!this._provider)throw new Bn;return Promise.resolve(this._provider)}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new lB.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(e){let n=await this.getProvider(),a=lB.utils.hexValue(e),r=this.chains.find(s=>s.chainId===e);if(!r)throw new ic(new Error("chain not found on connector."));if(!(await n.supportChainList())[`${e}`])throw new ic(new Error(`Blocto unsupported chain: ${a}`));try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,rpcUrls:F2(r)}]}),await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),r}catch(s){throw this._isUserRejectedRequestError(s)?new _t(s):new ic(s)}}onAccountsChanged(){}async onChainChanged(e){let n=wi(e),a=this.isChainUnsupported(n),r=await this.getAccount();this.emit("change",{chain:{id:n,unsupported:a},account:r})}onDisconnect(){this.emit("disconnect")}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this._onAccountsChangedBind),e.on("chainChanged",this._onChainChangedBind),e.on("disconnect",this._onDisconnectBind)}async removeListeners(){let e=await this.getProvider();e.off("accountsChanged",this._onAccountsChangedBind),e.off("chainChanged",this._onChainChangedBind),e.off("disconnect",this._onDisconnectBind)}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}_handleConnectReset(){this._provider=void 0}}});var wQ,f1n,i1n,s1n,H2,l_=oe(()=>{u();p();wQ={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"},f1n=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",i1n=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),s1n=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),H2=()=>{var t;return f1n()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":i1n()||s1n()?window.location.origin:"https://withpaper.com"}});function Zle(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function u1n(t){let{clientId:e,path:n,queryParams:a}=t,r=new URL(`${n}`,TQ());if(a)for(let f of Object.keys(a))r.searchParams.set(f,a[f]?.toString()||"");return r.searchParams.set("clientId",e),r}var EQ,w10,o1n,TQ,$le,c1n,Jle,d1n,Xle,hB,hh,v10,pB,l1n,eue,tue,nue,p1n,aue,rue,fue,iue,sue,xQ,T10=oe(()=>{"use strict";u();p();It();l_();EQ=Ee(Je()),w10=Ee(C7());O9();o1n="/sdk/2022-08-12/embedded-wallet",TQ=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",$le=t=>`thirdwebEwsWalletUserId-${t}`,c1n="walletToken",Jle=t=>`${c1n}-${t}`,d1n="a",Xle=(t,e)=>`${d1n}-${t}-${e}`,hB=function(t){return t.COGNITO="Cognito",t.GOOGLE="Google",t.EMAIL_OTP="EmailOtp",t.CUSTOM_JWT="CustomJWT",t.CUSTOM_AUTH_ENDPOINT="CustomAuthEndpoint",t.FACEBOOK="Facebook",t.APPLE="Apple",t.PASSKEY="Passkey",t.EXTERNAL_WALLET="ExternalWallet",t.DISCORD="Discord",t}({}),hh=function(t){return t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t}({}),v10=new Map,pB=class{constructor(e){let{clientId:n}=e;this.isSupported=!!window.localStorage,this.clientId=n}async getItem(e){return this.isSupported?window.localStorage.getItem(e):v10.get(e)??null}async setItem(e,n){if(this.isSupported)return window.localStorage.setItem(e,n);v10.set(e,n)}async removeItem(e){let n=await this.getItem(e);return this.isSupported&&n?(window.localStorage.removeItem(e),!0):!1}async saveAuthCookie(e){await this.setItem(Jle(this.clientId),e)}async getAuthCookie(){return this.getItem(Jle(this.clientId))}async removeAuthCookie(){return this.removeItem(Jle(this.clientId))}async saveDeviceShare(e,n){await this.saveWalletUserId(n),await this.setItem(Xle(this.clientId,n),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(Xle(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(Xle(this.clientId,e)):!1}async getWalletUserId(){return this.getItem($le(this.clientId))}async saveWalletUserId(e){await this.setItem($le(this.clientId),e)}async removeWalletUserId(){return this.removeItem($le(this.clientId))}};l1n={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},eue=new Map,tue=class{constructor(e){let{link:n,iframeId:a,container:r=document.body,iframeStyles:f,onIframeInitialize:i}=e;Pe(this,"POLLING_INTERVAL_SECONDS",1.4),this.iframeBaseUrl=TQ();let s=document.getElementById(a),o=new URL(n),c="2.5.34";if(o.searchParams.set("sdkVersion",c),!s||s.src!==o.href){if(!s){s=document.createElement("iframe");let l={...l1n,...f};Object.assign(s.style,l),s.setAttribute("id",a),s.setAttribute("fetchpriority","high"),r.appendChild(s)}s.src=o.href,s.setAttribute("data-version",c);let d=l=>{if(l.data.eventType==="ewsIframeLoaded"){if(window.removeEventListener("message",d),!s){console.warn("thirdweb Iframe not found");return}this.onIframeLoadHandler(s,i)()}};window.addEventListener("message",d)}this.iframe=s}async onIframeLoadedInitVariables(){return{}}onIframeLoadHandler(e,n){return async()=>{await new Promise(async(r,f)=>{let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(eue.set(e.src,!0),n&&n(),r(!0)):f(new Error(c.error))},e?.contentWindow?.postMessage({eventType:"initIframe",data:await this.onIframeLoadedInitVariables()},this.iframeBaseUrl,[i.port2])})}}async call(e){let{procedureName:n,params:a,showIframe:r=!1}=e;for(;!eue.get(this.iframe.src);)await Zle(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await Zle(.005)),new Promise((i,s)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await Zle(.1),this.iframe.style.display="none"),d.success?i(d.data):s(new Error(d.error))},this.iframe.contentWindow?.postMessage({eventType:n,data:a},this.iframeBaseUrl,[o.port2])})}destroy(){eue.delete(this.iframe.src)}},nue=class extends tue{constructor(e){let{clientId:n,customizationOptions:a}=e;super({iframeId:p1n,link:u1n({clientId:n,path:o1n,queryParams:a}).href,container:document.body}),this.clientId=n}async onIframeLoadedInitVariables(){let e=new pB({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};p1n="thirdweb-embedded-wallet-iframe",aue=class{constructor(e){let{querier:n,preLogin:a,postLogin:r,clientId:f}=e;this.LoginQuerier=n,this.preLogin=a,this.postLogin=r,this.clientId=f}async sendEmailLoginOtp(e){let{email:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebEmailLoginOtp",params:{email:n}})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebSmsLoginOtp",params:{phoneNumber:n}})}},rue=class extends aue{constructor(){super(...arguments),Pe(this,"closeWindow",e=>{let{isWindowOpenedByFn:n,win:a,closeOpenedWindow:r}=e;n?a?.close():a&&r?r(a):a&&a.close()})}async getOauthLoginUrl(e){return await this.LoginQuerier.call({procedureName:"getHeadlessOauthLoginLink",params:{authProvider:e}})}async loginWithModal(){await this.preLogin();let e=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:void 0,showIframe:!0});return this.postLogin(e)}async loginWithEmailOtp(e){let{email:n}=e;await this.preLogin();let a=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:{email:n},showIframe:!0});return this.postLogin(a)}getOauthPopUpSizing(e){switch(e){case hB.FACEBOOK:return"width=715, height=555";default:return"width=350, height=500"}}async loginWithOauth(e){let n=e?.openedWindow,a=!1;if(n||(n=window.open("","Login",this.getOauthPopUpSizing(e.oauthProvider)),a=!0),!n)throw new Error("Something went wrong opening pop-up");let[{loginLink:r}]=await Promise.all([this.getOauthLoginUrl(e.oauthProvider),this.preLogin()]);n.location.href=r;let f=await new Promise((i,s)=>{let o=window.setInterval(async()=>{n&&n.closed&&(clearInterval(o),window.removeEventListener("message",c),s(new Error("User closed login window")))},1e3),c=async d=>{if(d.origin===TQ()){if(typeof d.data!="object"){s(new Error("Invalid event data"));return}switch(d.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),d.data.authResult&&i(d.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",c),clearInterval(o),this.closeWindow({isWindowOpenedByFn:a,win:n,closeOpenedWindow:e?.closeOpenedWindow}),s(new Error(d.data.error));break}case"injectDeveloperClientId":{n?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId,authOption:e.oauthProvider},TQ());break}}}};window.addEventListener("message",c)});return this.postLogin({storedToken:{...f.storedToken,shouldStoreCookieString:!0},walletDetails:{...f.walletDetails,isIframeStorageEnabled:!1}})}async loginWithCustomJwt(e){let{encryptionKey:n,jwt:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomJwt",params:{encryptionKey:n,jwt:a}});return this.postLogin(r)}async loginWithCustomAuthEndpoint(e){let{encryptionKey:n,payload:a}=e;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithCustomAuthEndpoint",params:{encryptionKey:n,payload:a}});return this.postLogin(r)}async verifyEmailLoginOtp(e){let{email:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebEmailLoginOtp",params:{email:n,otp:a,recoveryCode:r}});return this.postLogin(f)}async verifySmsLoginOtp(e){let{phoneNumber:n,otp:a,recoveryCode:r}=e,f=await this.LoginQuerier.call({procedureName:"verifyThirdwebSmsLoginOtp",params:{phoneNumber:n,otp:a,recoveryCode:r}});return this.postLogin(f)}},fue=class{constructor(e){let{clientId:n,querier:a,onAuthSuccess:r}=e;this.clientId=n,this.AuthQuerier=a,this.localStorage=new pB({clientId:n}),this.onAuthSuccess=r,this.BaseLogin=new rue({postLogin:async f=>this.postLogin(f),preLogin:async()=>{await this.preLogin()},querier:a,clientId:n})}async preLogin(){await this.logout()}async postLogin(e){let{storedToken:n,walletDetails:a}=e;return n.shouldStoreCookieString&&await this.localStorage.saveAuthCookie(n.cookieString),await this.onAuthSuccess({storedToken:n,walletDetails:a})}async loginWithModal(){return this.BaseLogin.loginWithModal()}async loginWithEmailOtp(e){return this.BaseLogin.loginWithEmailOtp(e)}async loginWithCustomJwt(e){return this.BaseLogin.loginWithCustomJwt(e)}async loginWithCustomAuthEndpoint(e){return this.BaseLogin.loginWithCustomAuthEndpoint(e)}async loginWithOauth(e){return this.BaseLogin.loginWithOauth(e)}async sendEmailLoginOtp(e){let{email:n}=e;return this.BaseLogin.sendEmailLoginOtp({email:n})}async sendSmsLoginOtp(e){let{phoneNumber:n}=e;return this.BaseLogin.sendSmsLoginOtp({phoneNumber:n})}async verifyEmailLoginOtp(e){return this.BaseLogin.verifyEmailLoginOtp(e)}async verifySmsLoginOtp(e){return this.BaseLogin.verifySmsLoginOtp(e)}async logout(){let{success:e}=await this.AuthQuerier.call({procedureName:"logout",params:void 0}),n=await this.localStorage.removeAuthCookie(),a=await this.localStorage.removeWalletUserId();return{success:e||n||a}}},iue=class t extends EQ.Signer{constructor(e){let{provider:n,clientId:a,querier:r}=e;super(),Pe(this,"DEFAULT_ETHEREUM_CHAIN_ID",5),this.clientId=a,this.querier=r,this.endpoint=n.connection?.url,(0,w10.defineReadOnly)(this,"provider",n)}async getAddress(){let{address:e}=await this.querier.call({procedureName:"getAddress",params:void 0});return e}async signMessage(e){let{signedMessage:n}=await this.querier.call({procedureName:"signMessage",params:{message:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async signTransaction(e){let{signedTransaction:n}=await this.querier.call({procedureName:"signTransaction",params:{transaction:e,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return n}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Bl(this.provider),...e};return super.sendTransaction(a)}async _signTypedData(e,n,a){let{signedTypedData:r}=await this.querier.call({procedureName:"signTypedDataV4",params:{domain:e,types:n,message:a,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r}connect(e){return new t({clientId:this.clientId,provider:e,querier:this.querier})}},sue=class{constructor(e){let{clientId:n,chain:a,querier:r}=e;this.clientId=n,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new pB({clientId:n})}async postWalletSetUp(e){let{deviceShareStored:n,walletAddress:a,isIframeStorageEnabled:r,walletUserId:f}=e;return r||await this.localStorage.saveDeviceShare(n,f),{walletAddress:a}}async getUserWalletStatus(){let e=await this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return e.status===hh.LOGGED_IN_WALLET_INITIALIZED?{status:hh.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===hh.LOGGED_IN_NEW_DEVICE?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===hh.LOGGED_IN_WALLET_UNINITIALIZED?{status:hh.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:n}=e;this.chain=n}async getEthersJsSigner(e){return new iue({clientId:this.clientId,provider:(0,EQ.getDefaultProvider)(e?.rpcEndpoint??wQ[this.chain]),querier:this.walletManagerQuerier})}},xQ=class{isClientIdLegacyPaper(e){return e.indexOf("-")>0&&e.length===36}constructor(e){let{clientId:n,chain:a,styles:r,onAuthSuccess:f}=e;if(this.isClientIdLegacyPaper(n))throw new Error("You are using a legacy clientId. Please use the clientId found on the thirdweb dashboard settings page");this.clientId=n,this.querier=new nue({clientId:n,customizationOptions:r}),this.wallet=new sue({clientId:n,chain:a,querier:this.querier}),this.auth=new fue({clientId:n,querier:this.querier,onAuthSuccess:async i=>(f?.(i),await this.wallet.postWalletSetUp({...i.walletDetails,walletUserId:i.storedToken.authDetails.userWalletId}),await this.querier.call({procedureName:"initIframe",params:{deviceShareStored:i.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:i.storedToken.authDetails.userWalletId,authCookie:i.storedToken.cookieString}}),{user:{status:hh.LOGGED_IN_WALLET_INITIALIZED,authDetails:i.storedToken.authDetails,wallet:this.wallet,walletAddress:i.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var E10={};G0(E10,{EmbeddedWalletConnector:()=>oue});function h1n(t){throw new Error("Invalid param: "+t)}var x10,oue,m1n,_10=oe(()=>{"use strict";u();p();It();x10=Ee(Je());lh();wn();Mr();T10();W0();oue=class extends sc{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Embedded Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:x10.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getEmbeddedWalletSDK(){return this._embeddedWalletSdk||(this._embeddedWalletSdk=new xQ({clientId:this.options.clientId,chain:"Ethereum",onAuthSuccess:this.options.onAuthSuccess})),this._embeddedWalletSdk}async connect(e){if(e){if(!e.authResult)throw new Error("Missing authData - call authenticate() first with your authentication strategy");if(!e.authResult.user)throw new Error("Missing authData.user - call authenticate() first with your authentication strategy");this.user=e.authResult.user}else{let n=await this.authenticate({strategy:"iframe"});if(!n.user)throw new Error("Error connecting User");this.user=n.user}return e?.chainId&&this.switchChain(e.chainId),this.getAddress()}async disconnect(){await this._embeddedWalletSdk?.auth.logout(),this._signer=void 0,this._embeddedWalletSdk=void 0,this.user=null}async getAddress(){if(!this.user)throw new Error("Embedded Wallet is not connected");return await this.getSigner().then(e=>e.getAddress())}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;let n=await(await this.getUser()).wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!n)throw new Error("Signer not found");return this._signer=n,n}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");try{await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}catch(a){console.warn("Failed to switch chain",a)}}async setupListeners(){return Promise.resolve()}updateChains(e){this.options.chains=e}async getUser(){if(!this.user||!this.user.wallet||!this.user.wallet.getEthersJsSigner){let n=await this.getEmbeddedWalletSDK().getUser();switch(n.status){case hh.LOGGED_IN_WALLET_INITIALIZED:{this.user=n;break}default:throw new Error("Embedded Wallet is not authenticated, please authenticate first")}}return this.user}async getEmail(){return(await this.getUser()).authDetails.email}async getPhoneNumber(){return(await this.getUser()).authDetails.phoneNumber}async getRecoveryInformation(){return(await this.getUser()).authDetails}async sendVerificationEmail(e){let{email:n}=e;return this.getEmbeddedWalletSDK().auth.sendEmailLoginOtp({email:n})}async sendVerificationSms(e){let{phoneNumber:n}=e;return this.getEmbeddedWalletSDK().auth.sendSmsLoginOtp({phoneNumber:n})}async authenticate(e){let n=this.getEmbeddedWalletSDK(),a=e.strategy;switch(a){case"email_verification":return await n.auth.verifyEmailLoginOtp({email:e.email,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"phone_number_verification":return await n.auth.verifySmsLoginOtp({phoneNumber:e.phoneNumber,otp:e.verificationCode,recoveryCode:e.recoveryCode});case"apple":case"facebook":case"google":{let r=m1n[a];return n.auth.loginWithOauth({oauthProvider:r,closeOpenedWindow:e.closeOpenedWindow,openedWindow:e.openedWindow})}case"jwt":return n.auth.loginWithCustomJwt({jwt:e.jwt,encryptionKey:e.encryptionKey});case"auth_endpoint":return n.auth.loginWithCustomAuthEndpoint({payload:e.payload,encryptionKey:e.encryptionKey});case"iframe_email_verification":return n.auth.loginWithEmailOtp({email:e.email});case"iframe":return n.auth.loginWithModal();default:h1n(a)}}};m1n={google:hB.GOOGLE,facebook:hB.FACEBOOK,apple:hB.APPLE}});function Za(t){return typeof t<"u"&&!!t&&"ethereum"in t&&!!t.ethereum}var h1=oe(()=>{"use strict";u();p()});function _Q(){function t(e){if(e?.isMetaMask&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isRainbow&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary&&!e.isRabbyWallet&&!e.isImToken)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var cue=oe(()=>{"use strict";u();p();h1()});var I10={};G0(I10,{InjectedConnector:()=>Ga});function b1n(t){if(!t)return"Injected";let e=n=>{if(n.isAvalanche)return"Core Wallet";if(n.isBitKeep)return"BitKeep";if(n.isBraveWallet)return"Brave Wallet";if(n.isCoinbaseWallet)return"Coinbase Wallet";if(n.isExodus)return"Exodus";if(n.isFrame)return"Frame";if(n.isKuCoinWallet)return"KuCoin Wallet";if(n.isMathWallet)return"MathWallet";if(n.isOneInchIOSWallet||n.isOneInchAndroidWallet)return"1inch Wallet";if(n.isOpera)return"Opera";if(n.isPortal)return"Ripio Portal";if(n.isTally)return"Tally";if(n.isTokenPocket)return"TokenPocket";if(n.isTokenary)return"Tokenary";if(n.isTrust||n.isTrustWallet)return"Trust Wallet";if(n.isMetaMask)return"MetaMask";if(n.isImToken)return"imToken"};if(t.providers?.length){let n=new Set,a=1;for(let f of t.providers){let i=e(f);i||(i=`Unknown Wallet #${a}`,a+=1),n.add(i)}let r=[...n];return r.length?r:r[0]??"Injected"}return e(t)??"Injected"}var V9,Ga,m1=oe(()=>{"use strict";u();p();It();z9();mo();h1();uh();V9=Ee(Je());lh();W0();Ga=class extends t6{constructor(e){let a={...{shimDisconnect:!0,getProvider:()=>{if(Za(globalThis.window))return globalThis.window.ethereum}},...e.options};super({chains:e.chains,options:a}),Pe(this,"shimDisconnectKey","injected.shimDisconnect"),Pe(this,"onAccountsChanged",async f=>{f.length===0?this.emit("disconnect"):this.emit("change",{account:V9.utils.getAddress(f[0])})}),Pe(this,"onChainChanged",f=>{let i=wi(f),s=this.isChainUnsupported(i);this.emit("change",{chain:{id:i,unsupported:s}})}),Pe(this,"onDisconnect",async f=>{if(f.code===1013&&await this.getProvider())try{if(await this.getAccount())return}catch{}this.emit("disconnect"),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey)});let r=a.getProvider();if(typeof a.name=="string")this.name=a.name;else if(r){let f=b1n(r);a.name?this.name=a.name(f):typeof f=="string"?this.name=f:this.name=f[0]}else this.name="Injected";this.id="injected",this.ready=!!r,this.connectorStorage=e.connectorStorage}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=V9.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e.chainId&&f!==e.chainId)try{await this.switchChain(e.chainId),f=e.chainId,i=this.isChainUnsupported(e.chainId)}catch(o){console.error(`Could not switch to chain id: ${e.chainId}`,o)}this.options.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let s={account:r,chain:{id:f,unsupported:i},provider:n};return this.emit("connect",s),s}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return V9.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;return e.request({method:"eth_chainId"}).then(wi)}async getProvider(){let e=this.options.getProvider();return e&&(this._provider=e),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new V9.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!await this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=V9.utils.hexValue(e);try{await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]});let r=this.chains.find(f=>f.chainId===e);return r||{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Cb({chainId:e,connectorId:this.id});if(r.code===4902||r?.data?.originalError?.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(r):new Ib}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(r)}}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}}});var k10={};G0(k10,{MetaMaskConnector:()=>due});var C10,due,S10=oe(()=>{"use strict";u();p();It();mo();wn();m1();C10=Ee(Je());cue();W0();due=class extends Ga{constructor(e){let a={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:_Q},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.metamask),this._UNSTABLE_shimOnConnectSelectAccount=a.UNSTABLE_shimOnConnectSelectAccount}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this._UNSTABLE_shimOnConnectSelectAccount&&this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=C10.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});var R10=oe(()=>{u();p()});var M10=oe(()=>{u();p();Pz();kS()});var lue=oe(()=>{u();p();R10();fx();Poe();PS();dx();M10()});function v_(t){let[e,n]=t.split(y1n);return{namespace:e,reference:n}}function Nue(t,e=[]){let n=[];return Object.keys(t).forEach(a=>{if(e.length&&!e.includes(a))return;let r=t[a];n.push(...r.accounts)}),n}function uc0(t,e){return t.includes(":")?[t]:e.chains||[]}function w_(){return typeof x<"u"&&typeof x.versions<"u"&&typeof x.versions.node<"u"}function X9(){return!(0,Wb.getDocument)()&&!!(0,Wb.getNavigator)()&&navigator.product===T1n}function qb(){return!w_()&&!!(0,Wb.getNavigator)()&&!!(0,Wb.getDocument)()}function AB(){return X9()?r6.reactNative:w_()?r6.node:qb()?r6.browser:r6.unknown}function pc0(){var t;try{return X9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function E1n(t,e){let n=g_.parse(t);return n=P10(P10({},n),e),t=g_.stringify(n),t}function hc0(){return(0,dc0.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function _1n(){if(AB()===r6.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){let{OS:n,Version:a}=global.Platform;return[n,a].join("-")}let t=Vz();if(t===null)return"unknown";let e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function A1n(){var t;let e=AB();return e===r6.browser?[e,((t=(0,Wb.getLocation)())==null?void 0:t.host)||"unknown"].join(":"):e}function I1n(t,e,n){let a=_1n(),r=A1n();return[[t,e].join("-"),[x1n,n].join("-"),a,r].join("/")}function mc0({protocol:t,version:e,relayUrl:n,sdkVersion:a,auth:r,projectId:f,useOnCloseEvent:i,bundleId:s}){let o=n.split("?"),c=I1n(t,e,a),d={auth:r,ua:c,projectId:f,useOnCloseEvent:i||void 0,origin:s||void 0},l=E1n(o[1]||"",d);return o[0]+"?"+l}function Y9(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Oue(t){return Object.fromEntries(t.entries())}function Uue(t){return new Map(Object.entries(t))}function wh(t=vh.FIVE_MINUTES,e){let n=(0,vh.toMiliseconds)(t||vh.FIVE_MINUTES),a,r,f;return{resolve:i=>{f&&a&&(clearTimeout(f),a(i))},reject:i=>{f&&r&&(clearTimeout(f),r(i))},done:()=>new Promise((i,s)=>{f=setTimeout(()=>{s(new Error(e))},n),a=i,r=s})}}function T_(t,e,n){return new Promise(async(a,r)=>{let f=setTimeout(()=>r(new Error(n)),e);try{let i=await t;a(i)}catch(i){r(i)}clearTimeout(f)})}function bc0(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function yc0(t){return bc0("topic",t)}function gc0(t){return bc0("id",t)}function HQ(t){let[e,n]=t.split(":"),a={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")a.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))a.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return a}function Hs(t,e){return(0,vh.fromMiliseconds)((e||Date.now())+(0,vh.toMiliseconds)(t))}function $2(t){return Date.now()>=(0,vh.toMiliseconds)(t)}function Dn(t,e){return`${t}${e?`:${e}`:""}`}function IB(t=[],e=[]){return[...new Set([...t,...e])]}async function vc0({id:t,topic:e,wcDeepLink:n}){try{if(!n)return;let r=(typeof n=="string"?JSON.parse(n):n)?.href;if(typeof r!="string")return;r.endsWith("/")&&(r=r.slice(0,-1));let f=`${r}/wc?requestId=${t}&sessionTopic=${e}`,i=AB();i===r6.browser?f.startsWith("https://")||f.startsWith("http://")?window.open(f,"_blank","noreferrer noopener"):window.open(f,"_self","noreferrer noopener"):i===r6.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(f)}catch(a){console.error(a)}}async function wc0(t,e){try{return await t.getItem(e)||(qb()?localStorage.getItem(e):void 0)}catch(n){console.error(n)}}function C1n(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:function(){return t[a]}})}),n}function R1n(){try{let t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(t){return t.message}return null}function Ec0(t){return!!t.toHexString}function p_(t){return t.slice||(t.slice=function(){let e=Array.prototype.slice.call(arguments);return p_(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function B1n(t){return U6(t)&&!(t.length%2)||x_(t)}function H10(t){return typeof t=="number"&&t==t&&t%1===0}function x_(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!H10(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function ii(t,e){if(e||(e={}),typeof t=="number"){Ti.checkSafeUint53(t,"invalid arrayify value");let n=[];for(;t;)n.unshift(t&255),t=parseInt(String(t/256));return n.length===0&&n.push(0),p_(new Uint8Array(n))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),Ec0(t)&&(t=t.toHexString()),U6(t)){let n=t.substring(2);n.length%2&&(e.hexPad==="left"?n="0"+n:e.hexPad==="right"?n+="0":Ti.throwArgumentError("hex data is odd-length","value",t));let a=[];for(let r=0;rii(r)),n=e.reduce((r,f)=>r+f.length,0),a=new Uint8Array(n);return e.reduce((r,f)=>(a.set(f,r),r+f.length),0),p_(a)}function P1n(t,e){t=ii(t),t.length>e&&Ti.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(e);return n.set(t,e-t.length),p_(n)}function U6(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function cc(t,e){if(e||(e={}),typeof t=="number"){Ti.checkSafeUint53(t,"invalid hexlify value");let n="";for(;t;)n=pue[t&15]+n,t=Math.floor(t/16);return n.length?(n.length%2&&(n="0"+n),"0x"+n):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),Ec0(t))return t.toHexString();if(U6(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Ti.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(x_(t)){let n="0x";for(let a=0;a>4]+pue[r&15]}return n}return Ti.throwArgumentError("invalid hexlify value","value",t)}function L1n(t){if(typeof t!="string")t=cc(t);else if(!U6(t)||t.length%2)return null;return(t.length-2)/2}function z10(t,e,n){return typeof t!="string"?t=cc(t):(!U6(t)||t.length%2)&&Ti.throwArgumentError("invalid hexData","value",t),e=2+2*e,n!=null?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function K2(t,e){for(typeof t!="string"?t=cc(t):U6(t)||Ti.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&Ti.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function _c0(t){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(B1n(t)){let n=ii(t);n.length===64?(e.v=27+(n[32]>>7),n[32]&=127,e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64))):n.length===65?(e.r=cc(n.slice(0,32)),e.s=cc(n.slice(32,64)),e.v=n[64]):Ti.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Ti.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=cc(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){let r=P1n(ii(e._vs),32);e._vs=cc(r);let f=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=f:e.recoveryParam!==f&&Ti.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;let i=cc(r);e.s==null?e.s=i:e.s!==i&&Ti.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Ti.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{let r=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==r&&Ti.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!U6(e.r)?Ti.throwArgumentError("signature missing or invalid r","signature",t):e.r=K2(e.r,32),e.s==null||!U6(e.s)?Ti.throwArgumentError("signature missing or invalid s","signature",t):e.s=K2(e.s,32);let n=ii(e.s);n[0]>=128&&Ti.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);let a=cc(n);e._vs&&(U6(e._vs)||Ti.throwArgumentError("signature invalid _vs","signature",t),e._vs=K2(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&Ti.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function Hue(t){return"0x"+k1n.keccak_256(ii(t))}function U1n(t){return t!=null&&(go.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||U6(t)||typeof t=="bigint"||x_(t))}function xB(t){if(typeof t!="string")return xB(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&bh.throwArgumentError("invalid hex","value",t),t=xB(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function a6(t){return go.from(xB(t))}function na(t){let e=go.from(t).toHexString();return e[0]==="-"?new DQ("-"+e.substring(3),16):new DQ(e.substring(2),16)}function u5(t,e,n){let a={fault:t,operation:e};return n!=null&&(a.value=n),bh.throwError(t,gf.errors.NUMERIC_FAULT,a)}function H1n(t){return new DQ(t,36).toString(16)}function Sc0(t,e,n,a){let r={fault:e,operation:n};return a!==void 0&&(r.value=a),dc.throwError(t,gf.errors.NUMERIC_FAULT,r)}function zue(t){if(typeof t!="number")try{t=go.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+wB.substring(0,t):dc.throwArgumentError("invalid decimal size","decimals",t)}function mue(t,e){e==null&&(e=0);let n=zue(e);t=go.from(t);let a=t.lt(Cc0);a&&(t=t.mul(kc0));let r=t.mod(n).toString();for(;r.length2&&dc.throwArgumentError("too many decimal points","value",t);let f=r[0],i=r[1];for(f||(f="0"),i||(i="0");i[i.length-1]==="0";)i=i.substring(0,i.length-1);for(i.length>n.length-1&&Sc0("fractional component exceeds decimals","underflow","parseFixed"),i===""&&(i="0");i.length>6===2;i++)f++;return f}return t===h_.OVERRUN?n.length-e-1:0}function j1n(t,e,n,a,r){return t===h_.OVERLONG?(a.push(r),0):(a.push(65533),Mc0(t,e,n))}function bue(t,e=LQ.current){e!=LQ.current&&(Rc0.checkNormalize(),t=t.normalize(e));let n=[];for(let a=0;a>6|192),n.push(r&63|128);else if((r&64512)==55296){a++;let f=t.charCodeAt(a);if(a>=t.length||(f&64512)!==56320)throw new Error("invalid utf-8 string");let i=65536+((r&1023)<<10)+(f&1023);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(i&63|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128)}return ii(n)}function G1n(t){if(t.length%4!==0)throw new Error("bad data");let e=[];for(let n=0;n{let f=r.split(":");n+=parseInt(f[0],16),a[n]=e(f[1])}),a}function G10(t){let e=0;return t.split(",").map(n=>{let a=n.split("-");a.length===1?a[1]="0":a[1]===""&&(a[1]="1");let r=e+parseInt(a[0],16);return e=parseInt(a[1],16),{l:r,h:e}})}function K1n(t){t=atob(t);let e=[];for(let n=0;n0&&Array.isArray(s)?r(s,i-1):n.push(s)})};return r(t,e),n}function Q1n(t){let e={};for(let n=0;n>--o&1}let l=31,h=Math.pow(2,l),y=h>>>1,v=y>>1,k=h-1,O=0;for(let Q=0;Q1;){let R=V+X>>>1;Q>>1|d(),K=K<<1^y,G=(G^y)<<1|y|1;z=K,W=1+G-K}let j=a-4;return F.map(Q=>{switch(Q-j){case 3:return j+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return j+256+(t[s++]<<8|t[s++]);case 1:return j+t[s++];default:return Q-1}})}function Y1n(t){let e=0;return()=>t[e++]}function $1n(t){return Y1n(V1n(t))}function J1n(t){return t&1?~t>>1:t>>1}function X1n(t,e){let n=Array(t);for(let a=0;ae[i]):n}function ecn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(ncn(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(acn(n,t))}return Q1n(Dc0(e))}function tcn(t){let e=[];for(;;){let n=t();if(n==0)break;e.push(n)}return e}function Pc0(t,e,n){let a=Array(t).fill(void 0).map(()=>[]);for(let r=0;ra[i].push(f));return a}function ncn(t,e){let n=1+e(),a=e(),r=tcn(e),f=Pc0(r.length,1+t,e);return Dc0(f.map((i,s)=>{let o=i[0],c=i.slice(1);return Array(r[s]).fill(void 0).map((d,l)=>{let h=l*a;return[o+l*n,c.map(y=>y+h)]})}))}function acn(t,e){let n=1+e();return Pc0(n,1+t,e).map(a=>[a[0],a.slice(1)])}function rcn(t){let e=FQ(t).sort((a,r)=>a-r);return n();function n(){let a=[];for(;;){let c=FQ(t,e);if(c.length==0)break;a.push({set:new Set(c),node:n()})}a.sort((c,d)=>d.set.size-c.set.size);let r=t(),f=r%3;r=r/3|0;let i=!!(r&1);r>>=1;let s=r==1,o=r==2;return{branches:a,valid:f,fe0f:i,save:s,check:o}}}function fcn(){return $1n(K1n("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}function Lc0(t){return typeof t=="string"&&(t=bue(t)),Hue(D1n([bue(scn),bue(String(t.length)),t]))}function Q10(t){U6(t,20)||gB.throwArgumentError("invalid address","address",t),t=t.toLowerCase();let e=t.substring(2).split(""),n=new Uint8Array(40);for(let r=0;r<40;r++)n[r]=e[r].charCodeAt(0);let a=ii(Hue(n));for(let r=0;r<40;r+=2)a[r>>1]>>4>=8&&(e[r]=e[r].toUpperCase()),(a[r>>1]&15)>=8&&(e[r+1]=e[r+1].toUpperCase());return"0x"+e.join("")}function lcn(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}function ucn(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>Wue[a]).join("");for(;e.length>=V10;){let a=e.substring(0,V10);e=parseInt(a,10)%97+e.substring(a.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}function pcn(t){let e=null;if(typeof t!="string"&&gB.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Q10(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&gB.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==ucn(t)&&gB.throwArgumentError("bad icap checksum","address",t),e=H1n(t.substring(4));e.length<40;)e="0"+e;e=Q10("0x"+e)}else gB.throwArgumentError("invalid address","address",t);return e}function mB(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function Fc0(t,e){if(!t)throw new Error(e||"Assertion failed")}function wcn(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function Tcn(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),r=0;r>6|192,n[a++]=f&63|128):wcn(t,r)?(f=65536+((f&1023)<<10)+(t.charCodeAt(++r)&1023),n[a++]=f>>18|240,n[a++]=f>>12&63|128,n[a++]=f>>6&63|128,n[a++]=f&63|128):(n[a++]=f>>12|224,n[a++]=f>>6&63|128,n[a++]=f&63|128)}else for(r=0;r>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}function Ecn(t,e){for(var n="",a=0;a>>0}return f}function Acn(t,e){for(var n=new Array(t.length*4),a=0,r=0;a>>24,n[r+1]=f>>>16&255,n[r+2]=f>>>8&255,n[r+3]=f&255):(n[r+3]=f>>>24,n[r+2]=f>>>16&255,n[r+1]=f>>>8&255,n[r]=f&255)}return n}function Icn(t,e){return t>>>e|t<<32-e}function Ccn(t,e){return t<>>32-e}function kcn(t,e){return t+e>>>0}function Scn(t,e,n){return t+e+n>>>0}function Rcn(t,e,n,a){return t+e+n+a>>>0}function Mcn(t,e,n,a,r){return t+e+n+a+r>>>0}function Bcn(t,e,n,a){var r=t[e],f=t[e+1],i=a+f>>>0,s=(i>>0,t[e+1]=i}function Dcn(t,e,n,a){var r=e+a>>>0,f=(r>>0}function Pcn(t,e,n,a){var r=e+a;return r>>>0}function Lcn(t,e,n,a,r,f,i,s){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}function Fcn(t,e,n,a,r,f,i,s){var o=e+a+f+s;return o>>>0}function Ncn(t,e,n,a,r,f,i,s,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}function Ocn(t,e,n,a,r,f,i,s,o,c){var d=e+a+f+s+c;return d>>>0}function Ucn(t,e,n){var a=e<<32-n|t>>>n;return a>>>0}function Hcn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function zcn(t,e,n){return t>>>n}function Wcn(t,e,n){var a=t<<32-n|e>>>n;return a>>>0}function IQ(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}function Gcn(t,e,n,a){if(t===0)return Hc0(e,n,a);if(t===1||t===3)return Wc0(e,n,a);if(t===2)return zc0(e,n,a)}function Hc0(t,e,n){return t&e^~t&n}function zc0(t,e,n){return t&e^t&n^e&n}function Wc0(t,e,n){return t^e^n}function Kcn(t){return Q2(t,2)^Q2(t,13)^Q2(t,22)}function Qcn(t){return Q2(t,6)^Q2(t,11)^Q2(t,25)}function Vcn(t){return Q2(t,7)^Q2(t,18)^t>>>3}function Ycn(t){return Q2(t,17)^Q2(t,19)^t>>>10}function q2(){if(!(this instanceof q2))return new q2;qc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function j2(){if(!(this instanceof j2))return new j2;jc0.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=u6n,this.W=new Array(64)}function yh(){if(!(this instanceof yh))return new yh;Kc0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function Kl(){if(!(this instanceof Kl))return new Kl;Yc0.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=w6n,this.W=new Array(160)}function T6n(t,e,n,a,r){var f=t&n^~t&r;return f<0&&(f+=4294967296),f}function x6n(t,e,n,a,r,f){var i=e&a^~e&f;return i<0&&(i+=4294967296),i}function E6n(t,e,n,a,r){var f=t&n^t&r^n&r;return f<0&&(f+=4294967296),f}function _6n(t,e,n,a,r,f){var i=e&a^e&f^a&f;return i<0&&(i+=4294967296),i}function A6n(t,e){var n=V2(t,e,28),a=V2(e,t,2),r=V2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function I6n(t,e){var n=Y2(t,e,28),a=Y2(e,t,2),r=Y2(e,t,7),f=n^a^r;return f<0&&(f+=4294967296),f}function C6n(t,e){var n=V2(t,e,14),a=V2(t,e,18),r=V2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function k6n(t,e){var n=Y2(t,e,14),a=Y2(t,e,18),r=Y2(e,t,9),f=n^a^r;return f<0&&(f+=4294967296),f}function S6n(t,e){var n=V2(t,e,1),a=V2(t,e,8),r=Qc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function R6n(t,e){var n=Y2(t,e,1),a=Y2(t,e,8),r=Vc0(t,e,7),f=n^a^r;return f<0&&(f+=4294967296),f}function M6n(t,e){var n=V2(t,e,19),a=V2(e,t,29),r=Qc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function B6n(t,e){var n=Y2(t,e,19),a=Y2(e,t,29),r=Vc0(t,e,6),f=n^a^r;return f<0&&(f+=4294967296),f}function gh(){if(!(this instanceof gh))return new gh;Jc0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function W2(){if(!(this instanceof W2))return new W2;Zc0.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function X10(t,e,n,a){return t<=15?e^n^a:t<=31?e&n|~e&a:t<=47?(e|~n)^a:t<=63?e&a|n&~a:e^(n|~a)}function L6n(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function F6n(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}function m_(t,e,n){if(!(this instanceof m_))return new m_(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(z6n.toArray(e,n))}function A_(t,e,n){return n={path:e,exports:{},require:function(a,r){return j6n(a,r??n.path)}},t(n,n.exports),n.exports}function j6n(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function e60(t,e){if(!t)throw new Error(e||"Assertion failed")}function Ub(t,e){this.type=t,this.p=new fn(e.p,16),this.red=e.prime?fn.red(e.prime):fn.mont(this.p),this.zero=new fn(0).toRed(this.red),this.one=new fn(1).toRed(this.red),this.two=new fn(2).toRed(this.red),this.n=e.n&&new fn(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function p5(t,e){this.curve=t,this.type=e,this.precomputed=null}function m5(t){Z9.call(this,"short",t),this.a=new fn(t.a,16).toRed(this.red),this.b=new fn(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Us(t,e,n,a){Z9.BasePoint.call(this,t,"affine"),e===null&&n===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new fn(e,16),this.y=new fn(n,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function bo(t,e,n,a){Z9.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new fn(0)):(this.x=new fn(e,16),this.y=new fn(n,16),this.z=new fn(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}function Hb(t){if(!(this instanceof Hb))return new Hb(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=Ql.toArray(t.entropy,t.entropyEnc||"hex"),n=Ql.toArray(t.nonce,t.nonceEnc||"hex"),a=Ql.toArray(t.pers,t.persEnc||"hex");que(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,a)}function b1(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}function zQ(t,e){if(t instanceof zQ)return t;this._importDER(t,e)||(V6n(t.r&&t.s,"Signature without r or s"),this.r=new fn(t.r,16),this.s=new fn(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function Y6n(){this.place=0}function Eue(t,e){var n=t[e.place++];if(!(n&128))return n;var a=n&15;if(a===0||a>4)return!1;for(var r=0,f=0,i=e.place;f>>=0;return r<=127?!1:(e.place=i,r)}function ec0(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}function h5(t){if(!(this instanceof h5))return new h5(t);typeof t=="string"&&(t60(Object.prototype.hasOwnProperty.call(BQ,t),"Unknown curve "+t),t=BQ[t]),t instanceof BQ.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}function G2(){return Aue||(Aue=new Z6n("secp256k1")),Aue}function tdn(t,e){let n=_c0(e),a={r:ii(n.r),s:ii(n.s)};return"0x"+G2().recoverPubKey(ii(t),a,n.recoveryParam).encode("hex",!1)}function n60(t,e){let n=ii(t);if(n.length===32){let a=new Bue(n);return e?"0x"+G2().keyFromPrivate(n).getPublic(!0,"hex"):a.publicKey}else{if(n.length===33)return e?cc(n):"0x"+G2().keyFromPublic(n).getPublic(!1,"hex");if(n.length===65)return e?"0x"+G2().keyFromPublic(n).getPublic(!0,"hex"):cc(n)}return Mue.throwArgumentError("invalid public or private key","key","[REDACTED]")}function adn(t){let e=n60(t);return pcn(z10(Hue(z10(e,1)),12))}function rdn(t,e){return adn(tdn(ii(t),e))}async function idn(t,e,n,a,r,f){switch(n.t){case"eip191":return sdn(t,e,n.s);case"eip1271":return await odn(t,e,n.s,a,r,f);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function sdn(t,e,n){return rdn(Lc0(e),n).toLowerCase()===t.toLowerCase()}async function odn(t,e,n,a,r,f){try{let i="0x1626ba7e",s="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=n.substring(2),d=Lc0(e).substring(2),l=i+d+s+o+c,h=await fetch(`${f||fdn}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:cdn(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:l},"latest"]})}),{result:y}=await h.json();return y?y.slice(0,i.length).toLowerCase()===i.toLowerCase():!1}catch(i){return console.error("isValidEip1271Signature: ",i),!1}}function cdn(){return Date.now()+Math.floor(Math.random()*1e3)}async function Que(t){let{cacao:e,projectId:n}=t,{s:a,p:r}=e,f=Vue(r,r.iss),i=kB(r.iss);return await idn(i,f,a,a60(r.iss),n)}function gdn(t){return _.Buffer.from(JSON.stringify(t)).toString("base64")}function vdn(t){return JSON.parse(_.Buffer.from(t,"base64").toString("utf-8"))}function J9(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");let e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{let a=t.att[n];if(Array.isArray(a))throw new Error(`Resource must be an object: ${n}`);if(typeof a!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(a).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(a).forEach(r=>{let f=a[r];if(!Array.isArray(f))throw new Error(`Ability limits ${r} must be an array of objects, found: ${f}`);if(!f.length)throw new Error(`Value of ${r} is empty array, must be an array with objects`);f.forEach(i=>{if(typeof i!="object")throw new Error(`Ability limits (${r}) must be an array of objects, found: ${i}`)})})})}function wdn(t,e,n,a={}){return n?.sort((r,f)=>r.localeCompare(f)),{att:{[t]:Tdn(e,n,a)}}}function Tdn(t,e,n={}){e=e?.sort((r,f)=>r.localeCompare(f));let a=e.map(r=>({[`${t}/${r}`]:[n]}));return Object.assign({},...a)}function r60(t){return J9(t),`urn:recap:${gdn(t).replace(/=/g,"")}`}function EB(t){let e=vdn(t.replace("urn:recap:",""));return J9(e),e}function f60(t,e,n){let a=wdn(t,e,n);return r60(a)}function xdn(t){return t&&t.includes("urn:recap:")}function i60(t,e){let n=EB(t),a=EB(e),r=Edn(n,a);return r60(r)}function Edn(t,e){J9(t),J9(e);let n=Object.keys(t.att).concat(Object.keys(e.att)).sort((r,f)=>r.localeCompare(f)),a={att:{}};return n.forEach(r=>{var f,i;Object.keys(((f=t.att)==null?void 0:f[r])||{}).concat(Object.keys(((i=e.att)==null?void 0:i[r])||{})).sort((s,o)=>s.localeCompare(o)).forEach(s=>{var o,c;a.att[r]=bdn(mdn({},a.att[r]),{[s]:((o=t.att[r])==null?void 0:o[s])||((c=e.att[r])==null?void 0:c[s])})})}),a}function _dn(t="",e){J9(e);let n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;let a=[],r=0;Object.keys(e.att).forEach(s=>{let o=Object.keys(e.att[s]).map(l=>({ability:l.split("/")[0],action:l.split("/")[1]}));o.sort((l,h)=>l.action.localeCompare(h.action));let c={};o.forEach(l=>{c[l.ability]||(c[l.ability]=[]),c[l.ability].push(l.action)});let d=Object.keys(c).map(l=>(r++,`(${r}) '${l}': '${c[l].join("', '")}' for '${s}'.`));a.push(d.join(", ").replace(".,","."))});let f=a.join(" "),i=`${n}${f}`;return`${t?t+" ":""}${i}`}function Yue(t){var e;let n=EB(t);J9(n);let a=(e=n.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function $ue(t){let e=EB(t);J9(e);let n=[];return Object.values(e.att).forEach(a=>{Object.values(a).forEach(r=>{var f;(f=r?.[0])!=null&&f.chains&&n.push(r[0].chains)})}),[...new Set(n.flat())]}function SB(t){if(!t)return;let e=t?.[t.length-1];return xdn(e)?e:void 0}function c60(){let t=UQ.generateKeyPair();return{privateKey:Bi(t.secretKey,y1),publicKey:Bi(t.publicKey,y1)}}function WQ(){let t=(0,Fue.randomBytes)(Xue);return Bi(t,y1)}function d60(t,e){let n=UQ.sharedKey(As(t,y1),As(e,y1),!0),a=new lc0.HKDF(_B.SHA256,n).expand(Xue);return Bi(a,y1)}function I_(t){let e=(0,_B.hash)(As(t,y1));return Bi(e,y1)}function Th(t){let e=(0,_B.hash)(As(t,Jue));return Bi(e,y1)}function Idn(t){return As(`${t}`,s60)}function C_(t){return Number(Bi(t,s60))}function l60(t){let e=Idn(typeof t.type<"u"?t.type:o60);if(C_(e)===X2&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let n=typeof t.senderPublicKey<"u"?As(t.senderPublicKey,y1):void 0,a=typeof t.iv<"u"?As(t.iv,y1):(0,Fue.randomBytes)(Pue),r=new Lue.ChaCha20Poly1305(As(t.symKey,y1)).seal(a,As(t.message,Jue));return Cdn({type:e,sealed:r,iv:a,senderPublicKey:n})}function u60(t){let e=new Lue.ChaCha20Poly1305(As(t.symKey,y1)),{sealed:n,iv:a}=RB(t.encoded),r=e.open(a,n);if(r===null)throw new Error("Failed to decrypt");return Bi(r,Jue)}function Cdn(t){if(C_(t.type)===X2){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return Bi(N7([t.type,t.senderPublicKey,t.iv,t.sealed]),Due)}return Bi(N7([t.type,t.iv,t.sealed]),Due)}function RB(t){let e=As(t,Due),n=e.slice(Adn,rc0),a=rc0;if(C_(n)===X2){let s=a+Xue,o=s+Pue,c=e.slice(a,s),d=e.slice(s,o),l=e.slice(o);return{type:n,sealed:l,iv:d,senderPublicKey:c}}let r=a+Pue,f=e.slice(a,r),i=e.slice(r);return{type:n,sealed:i,iv:f}}function p60(t,e){let n=RB(t);return Zue({type:C_(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?Bi(n.senderPublicKey,y1):void 0,receiverPublicKey:e?.receiverPublicKey})}function Zue(t){let e=t?.type||o60;if(e===X2){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function e2e(t){return t.type===X2&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function qQ(t){return t?.relay||{protocol:kdn}}function MB(t){let e=hUe[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}function Ldn(t,e="-"){let n={},a="relay"+e;return Object.keys(t).forEach(r=>{if(r.startsWith(a)){let f=r.replace(a,""),i=t[r];n[f]=i}}),n}function t2e(t){t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;let e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,a=t.substring(0,e),r=t.substring(e+1,n).split("@"),f=typeof n<"u"?t.substring(n):"",i=g_.parse(f),s=typeof i.methods=="string"?i.methods.split(","):void 0;return{protocol:a,topic:Fdn(r[0]),version:parseInt(r[1],10),symKey:i.symKey,relay:Ldn(i),methods:s,expiryTimestamp:i.expiryTimestamp?parseInt(i.expiryTimestamp,10):void 0}}function Fdn(t){return t.startsWith("//")?t.substring(2):t}function Ndn(t,e="-"){let n="relay",a={};return Object.keys(t).forEach(r=>{let f=n+e+r;t[r]&&(a[f]=t[r])}),a}function h60(t){return`${t.protocol}:${t.topic}@${t.version}?`+g_.stringify(sc0(Pdn(sc0({symKey:t.symKey},Ndn(t.relay)),{expiryTimestamp:t.expiryTimestamp}),t.methods?{methods:t.methods.join(",")}:{}))}function k_(t){let e=[];return t.forEach(n=>{let[a,r]=n.split(":");e.push(`${a}:${r}`)}),e}function Odn(t){let e=[];return Object.values(t).forEach(n=>{e.push(...k_(n.accounts))}),e}function Udn(t,e){let n=[];return Object.values(t).forEach(a=>{k_(a.accounts).includes(e)&&n.push(...a.methods)}),n}function Hdn(t,e){let n=[];return Object.values(t).forEach(a=>{k_(a.accounts).includes(e)&&n.push(...a.events)}),n}function jQ(t){return t.includes(":")}function S_(t){return jQ(t)?t.split(":")[0]:t}function zdn(t){let e={};return t?.forEach(n=>{let[a,r]=n.split(":");e[a]||(e[a]={accounts:[],chains:[],events:[]}),e[a].accounts.push(n),e[a].chains.push(`${a}:${r}`)}),e}function n2e(t,e){e=e.map(a=>a.replace("did:pkh:",""));let n=zdn(e);for(let[a,r]of Object.entries(n))r.methods?r.methods=IB(r.methods,t):r.methods=t,r.events=["chainChanged","accountsChanged"];return n}function F0(t,e){let{message:n,code:a}=qdn[t];return{message:e?`${n} ${e}`:n,code:a}}function Ia(t,e){let{message:n,code:a}=Wdn[t];return{message:e?`${n} ${e}`:n,code:a}}function z6(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function eg(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function yo(t){return typeof t>"u"}function Df(t,e){return e&&yo(t)?!0:typeof t=="string"&&!!t.trim().length}function a2e(t,e){return e&&yo(t)?!0:typeof t=="number"&&!isNaN(t)}function m60(t,e){let{requiredNamespaces:n}=e,a=Object.keys(t.namespaces),r=Object.keys(n),f=!0;return Y9(r,a)?(a.forEach(i=>{let{accounts:s,methods:o,events:c}=t.namespaces[i],d=k_(s),l=n[i];(!Y9(uc0(i,l),d)||!Y9(l.methods,o)||!Y9(l.events,c))&&(f=!1)}),f):!1}function OQ(t){return Df(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function jdn(t){if(Df(t,!1)&&t.includes(":")){let e=t.split(":");if(e.length===3){let n=e[0]+":"+e[1];return!!e[2]&&OQ(n)}}return!1}function b60(t){if(Df(t,!1))try{return typeof new URL(t)<"u"}catch{return!1}return!1}function y60(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function g60(t){return t?.topic}function v60(t,e){let n=null;return Df(t?.publicKey,!1)||(n=F0("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function oc0(t){let e=!0;return z6(t)?t.length&&(e=t.every(n=>Df(n,!1))):e=!1,e}function Gdn(t,e,n){let a=null;return z6(e)&&e.length?e.forEach(r=>{a||OQ(r)||(a=Ia("UNSUPPORTED_CHAINS",`${n}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):OQ(t)||(a=Ia("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),a}function Kdn(t,e,n){let a=null;return Object.entries(t).forEach(([r,f])=>{if(a)return;let i=Gdn(r,uc0(r,f),`${e} ${n}`);i&&(a=i)}),a}function Qdn(t,e){let n=null;return z6(t)?t.forEach(a=>{n||jdn(a)||(n=Ia("UNSUPPORTED_ACCOUNTS",`${e}, account ${a} should be a string and conform to "namespace:chainId:address" format`))}):n=Ia("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function Vdn(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=Qdn(a?.accounts,`${e} namespace`);r&&(n=r)}),n}function Ydn(t,e){let n=null;return oc0(t?.methods)?oc0(t?.events)||(n=Ia("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ia("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function w60(t,e){let n=null;return Object.values(t).forEach(a=>{if(n)return;let r=Ydn(a,`${e}, namespace`);r&&(n=r)}),n}function T60(t,e,n){let a=null;if(t&&eg(t)){let r=w60(t,e);r&&(a=r);let f=Kdn(t,e,n);f&&(a=f)}else a=F0("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return a}function GQ(t,e){let n=null;if(t&&eg(t)){let a=w60(t,e);a&&(n=a);let r=Vdn(t,e);r&&(n=r)}else n=F0("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function r2e(t){return Df(t.protocol,!0)}function x60(t,e){let n=!1;return e&&!t?n=!0:t&&z6(t)&&t.length&&t.forEach(a=>{n=r2e(a)}),n}function E60(t){return typeof t=="number"}function g1(t){return typeof t<"u"&&typeof t!==null}function _60(t){return!(!t||typeof t!="object"||!t.code||!a2e(t.code,!1)||!t.message||!Df(t.message,!1))}function A60(t){return!(yo(t)||!Df(t.method,!1))}function I60(t){return!(yo(t)||yo(t.result)&&yo(t.error)||!a2e(t.id,!1)||!Df(t.jsonrpc,!1))}function C60(t){return!(yo(t)||!Df(t.name,!1))}function f2e(t,e){return!(!OQ(e)||!Odn(t).includes(e))}function k60(t,e,n){return Df(n,!1)?Udn(t,e).includes(n):!1}function S60(t,e,n){return Df(n,!1)?Hdn(t,e).includes(n):!1}function i2e(t,e,n){let a=null,r=$dn(t),f=Jdn(e),i=Object.keys(r),s=Object.keys(f),o=cc0(Object.keys(t)),c=cc0(Object.keys(e)),d=o.filter(l=>!c.includes(l));return d.length&&(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces. +${l}`);let y=Dy(s.abi).map(T=>T.type),h=K7(y,a);return this.deployContractWithAbi.prepare(s.abi,l,h)}));Z(this,"deployContractWithAbi",Tr(async(t,a,r)=>{let i=this.getSigner(),s=this.getProvider();at(i,"Signer is required to deploy contracts");let f=new O0.ContractFactory(t,a).connect(i);return new kA({args:r,provider:s,signer:i,factory:f,storage:this.storage,events:this.events})}));this.storage=r,this.events=new od,this.getFactory(),this.getRegistry()}async getLatestBuiltInContractVersion(t){let a=await this.getFactory();if(!a)throw new Error("Factory not found");return await a.getLatestVersion(t)}async deployPublishedContractDeterministic(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:V3,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",s=arguments.length>4?arguments[4]:void 0,f=this.getSigner();return at(f,"Signer is required"),Dit(t,r,i,a,f,this.storage,this.options.clientId,this.options.secretKey,s)}async predictAddressDeterministic(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:V3,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"latest",s=arguments.length>4?arguments[4]:void 0,f=this.getProvider();return at(f,"Provider is required"),Sit(t,r,i,a,f,this.storage,this.options.clientId,this.options.secretKey,s)}async getRegistry(){return this._registry?this._registry:this._registry=this.getProvider().getNetwork().then(async t=>{let{chainId:a}=t,r=E7(a,"twRegistry");if(!r)return;let i=(await Promise.resolve().then(()=>Te(pit()))).default;return new Sde(r,this.getSignerOrProvider(),this.storage,i,this.options)})}async getFactory(){return this._factory?this._factory:this._factory=this.getProvider().getNetwork().then(async t=>{let{chainId:a}=t,r=E7(a,"twFactory");return r?new sW(r,this.getSignerOrProvider(),this.storage,this.options):void 0})}updateSignerOrProvider(t){super.updateSignerOrProvider(t),this.updateContractSignerOrProvider()}updateContractSignerOrProvider(){this._factory?.then(t=>{t?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{}),this._registry?.then(t=>{t?.updateSignerOrProvider(this.getSignerOrProvider())}).catch(()=>{})}async getTransactionsForDeploy(t,a){let r=[],i=this.getProvider();at(i,"A provider is required");let{extendedMetadata:s}=await ws(t,this.storage),f=a?.forceDirectDeploy||!1;if(s&&s.factoryDeploymentData&&(s.isDeployableViaProxy||s.isDeployableViaFactory||s.deployType==="autoFactory")&&!f){let o=(await this.getProvider().getNetwork()).chainId;if(!s.factoryDeploymentData.implementationAddresses[o]||s.deployType==="autoFactory"){let d=await md(this.getProvider());r.push({contractType:"create2Factory",addresses:[d]});let l;s.routerType==="modular"?l=await mit(t,this.storage,this.getProvider(),d,this.options.clientId,this.options.secretKey):l=await G7(t,this.storage,this.getProvider(),d,this.options.clientId,this.options.secretKey);let y=l.filter(O=>O.transaction.data&&O.transaction.data.length>0);y.filter(O=>O.type!=="infra").map(O=>O.transaction).forEach(O=>{r.push({contractType:"preset",addresses:[O.predictedAddress]})});let T=y.filter(O=>O.type==="infra").map(O=>O.transaction);bde(T).forEach(O=>{let N=O.map(U=>U.predictedAddress);r.push({contractType:"infra",addresses:N})})}r=(await Promise.all(r.map(async d=>(await Promise.all(d.addresses.map(async y=>await kc(y,i)?null:y))).filter(Boolean).length>0?d:null))).filter(Boolean),r.push({contractType:"proxy",addresses:[]})}else r.push({contractType:"custom",addresses:[]});return r}addDeployListener(t){this.events.on("contractDeployed",t)}removeDeployListener(t){this.events.off("contractDeployed",t)}removeAllDeployListeners(){this.events.removeAllListeners("contractDeployed")}async fetchPublishedContractFromPolygon(t,a,r){let i=await Pe(t),s=await new up("polygon",{clientId:this.options.clientId,secretKey:this.options.secretKey},this.storage).getPublisher().getVersion(i,a,r);if(!s)throw new Error(`No published contract found for '${a}' at version '${r}' by '${i}'`);return s}hasLocalFactory(){return!!Nw("factoryAddress")}}});var vIa,TIa,_Ia,Q7=ce(()=>{"use strict";p();u();Ait();sn();Qa();M6();Ia();Ot();Ga();vIa=Te(Dr()),TIa=Te(zf()),_Ia=Te(Cc());globalThis.global=globalThis});function kit(n,e){return new Gw.Contract(e,Xnn,n)}function oW(n,e){return`https://${n}.rpc.thirdweb.com${e?`/${e}`:""}${typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis&&globalThis.APP_BUNDLE_ID?`?bundleId=${globalThis.APP_BUNDLE_ID}`:""}`}var Gw,Xnn,Y7,qn=ce(()=>{"use strict";p();u();Gw=Te(Ue());Ot();Q7();Xnn=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"who",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"}];Y7=class extends od{constructor(){super(...arguments);Z(this,"type","evm")}async getAddress(){return(await this.getSigner()).getAddress()}async getBalance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ri,a=await this.getSigner(),r=await this.getAddress();if(!a.provider)throw new Error("Please connect a provider");let i;return ai(t)?i=await a.provider.getBalance(r):i=await kit(a,t).balanceOf(r),await Va(a.provider,t,i)}async getChainId(){return(await this.getSigner()).getChainId()}async transfer(t,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ri,i=await this.getSigner(),s=await this.getAddress();if(!i.provider)throw new Error("Please connect a provider");let f=await Gn(i.provider,a,r);if(ai(r)){let o=ap(i.provider);return{receipt:await(await i.sendTransaction({from:s,to:t,value:f,...o})).wait()}}else return{receipt:await(await kit(i,r).transfer(t,f)).wait()}}async signMessage(t){return await(await this.getSigner()).signMessage(t)}async verifySignature(t,a,r,i){try{let s=Gw.utils.hashMessage(t),f=Gw.utils.arrayify(s);if(Gw.utils.recoverAddress(f,a)===r)return!0}catch{}return!1}}});function Znn(n){for(let e=0,t=Pit.length;e"u"?{x_sdk_name:cW.name,x_sdk_platform:Lit(),x_sdk_version:cW.version,x_sdk_os:Rit(),app_bundle_id:void 0}:(globalThis.X_SDK_NAME===void 0&&(globalThis.X_SDK_NAME=cW.name,globalThis.X_SDK_PLATFORM=Lit(),globalThis.X_SDK_VERSION=cW.version,globalThis.X_SDK_OS=Rit(),globalThis.APP_BUNDLE_ID=void 0),{x_sdk_name:globalThis.X_SDK_NAME,x_sdk_platform:globalThis.X_SDK_PLATFORM,x_sdk_version:globalThis.X_SDK_VERSION,x_sdk_os:globalThis.X_SDK_OS,app_bundle_id:globalThis.APP_BUNDLE_ID||""})}function Lit(){return typeof navigator<"u"&&navigator.product==="ReactNative"?"mobile":"browser"}var cW,Pit,Mk=ce(()=>{"use strict";p();u();cW={name:"@thirdweb-dev/wallets",version:"2.5.39",main:"dist/thirdweb-dev-wallets.cjs.js",module:"dist/thirdweb-dev-wallets.esm.js",browser:{"./dist/thirdweb-dev-wallets.esm.js":"./dist/thirdweb-dev-wallets.browser.esm.js"},exports:{".":{module:{browser:"./dist/thirdweb-dev-wallets.browser.esm.js",default:"./dist/thirdweb-dev-wallets.esm.js"},default:"./dist/thirdweb-dev-wallets.cjs.js"},"./evm":{module:{browser:"./evm/dist/thirdweb-dev-wallets-evm.browser.esm.js",default:"./evm/dist/thirdweb-dev-wallets-evm.esm.js"},default:"./evm/dist/thirdweb-dev-wallets-evm.cjs.js"},"./evm/wallets/okx":{module:{browser:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.browser.esm.js",default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.esm.js"},default:"./evm/wallets/okx/dist/thirdweb-dev-wallets-evm-wallets-okx.cjs.js"},"./evm/wallets/base":{module:{browser:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.browser.esm.js",default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.esm.js"},default:"./evm/wallets/base/dist/thirdweb-dev-wallets-evm-wallets-base.cjs.js"},"./evm/wallets/safe":{module:{browser:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.browser.esm.js",default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.esm.js"},default:"./evm/wallets/safe/dist/thirdweb-dev-wallets-evm-wallets-safe.cjs.js"},"./evm/wallets/async":{module:{browser:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.browser.esm.js",default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.esm.js"},default:"./evm/wallets/async/dist/thirdweb-dev-wallets-evm-wallets-async.cjs.js"},"./evm/wallets/frame":{module:{browser:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.browser.esm.js",default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.esm.js"},default:"./evm/wallets/frame/dist/thirdweb-dev-wallets-evm-wallets-frame.cjs.js"},"./evm/wallets/magic":{module:{browser:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.browser.esm.js",default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.esm.js"},default:"./evm/wallets/magic/dist/thirdweb-dev-wallets-evm-wallets-magic.cjs.js"},"./evm/wallets/rabby":{module:{browser:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.browser.esm.js",default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.esm.js"},default:"./evm/wallets/rabby/dist/thirdweb-dev-wallets-evm-wallets-rabby.cjs.js"},"./evm/wallets/trust":{module:{browser:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.browser.esm.js",default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.esm.js"},default:"./evm/wallets/trust/dist/thirdweb-dev-wallets-evm-wallets-trust.cjs.js"},"./evm/wallets/xdefi":{module:{browser:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.browser.esm.js",default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.esm.js"},default:"./evm/wallets/xdefi/dist/thirdweb-dev-wallets-evm-wallets-xdefi.cjs.js"},"./evm/wallets/blocto":{module:{browser:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.browser.esm.js",default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.esm.js"},default:"./evm/wallets/blocto/dist/thirdweb-dev-wallets-evm-wallets-blocto.cjs.js"},"./evm/wallets/coin98":{module:{browser:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.browser.esm.js",default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.esm.js"},default:"./evm/wallets/coin98/dist/thirdweb-dev-wallets-evm-wallets-coin98.cjs.js"},"./evm/wallets/engine":{module:{browser:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.browser.esm.js",default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.esm.js"},default:"./evm/wallets/engine/dist/thirdweb-dev-wallets-evm-wallets-engine.cjs.js"},"./evm/wallets/ethers":{module:{browser:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.browser.esm.js",default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.esm.js"},default:"./evm/wallets/ethers/dist/thirdweb-dev-wallets-evm-wallets-ethers.cjs.js"},"./evm/wallets/onekey":{module:{browser:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.browser.esm.js",default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.esm.js"},default:"./evm/wallets/onekey/dist/thirdweb-dev-wallets-evm-wallets-onekey.cjs.js"},"./evm/wallets/signer":{module:{browser:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.browser.esm.js",default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.esm.js"},default:"./evm/wallets/signer/dist/thirdweb-dev-wallets-evm-wallets-signer.cjs.js"},"./evm/wallets/zerion":{module:{browser:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.browser.esm.js",default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.esm.js"},default:"./evm/wallets/zerion/dist/thirdweb-dev-wallets-evm-wallets-zerion.cjs.js"},"./evm/wallets/aws-kms":{module:{browser:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.browser.esm.js",default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.esm.js"},default:"./evm/wallets/aws-kms/dist/thirdweb-dev-wallets-evm-wallets-aws-kms.cjs.js"},"./evm/wallets/gcp-kms":{module:{browser:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.browser.esm.js",default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.esm.js"},default:"./evm/wallets/gcp-kms/dist/thirdweb-dev-wallets-evm-wallets-gcp-kms.cjs.js"},"./evm/wallets/imtoken":{module:{browser:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.browser.esm.js",default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.esm.js"},default:"./evm/wallets/imtoken/dist/thirdweb-dev-wallets-evm-wallets-imtoken.cjs.js"},"./evm/wallets/phantom":{module:{browser:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.browser.esm.js",default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.esm.js"},default:"./evm/wallets/phantom/dist/thirdweb-dev-wallets-evm-wallets-phantom.cjs.js"},"./evm/wallets/abstract":{module:{browser:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.browser.esm.js",default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.esm.js"},default:"./evm/wallets/abstract/dist/thirdweb-dev-wallets-evm-wallets-abstract.cjs.js"},"./evm/wallets/injected":{module:{browser:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.browser.esm.js",default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.esm.js"},default:"./evm/wallets/injected/dist/thirdweb-dev-wallets-evm-wallets-injected.cjs.js"},"./evm/wallets/metamask":{module:{browser:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.browser.esm.js",default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.esm.js"},default:"./evm/wallets/metamask/dist/thirdweb-dev-wallets-evm-wallets-metamask.cjs.js"},"./evm/wallets/magic-eden":{module:{browser:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.browser.esm.js",default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.esm.js"},default:"./evm/wallets/magic-eden/dist/thirdweb-dev-wallets-evm-wallets-magic-eden.cjs.js"},"./evm/wallets/core-wallet":{module:{browser:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.browser.esm.js",default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.esm.js"},default:"./evm/wallets/core-wallet/dist/thirdweb-dev-wallets-evm-wallets-core-wallet.cjs.js"},"./evm/wallets/private-key":{module:{browser:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.browser.esm.js",default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.esm.js"},default:"./evm/wallets/private-key/dist/thirdweb-dev-wallets-evm-wallets-private-key.cjs.js"},"./evm/connectors/okx":{module:{browser:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.browser.esm.js",default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.esm.js"},default:"./evm/connectors/okx/dist/thirdweb-dev-wallets-evm-connectors-okx.cjs.js"},"./evm/wallets/local-wallet":{module:{browser:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.browser.esm.js",default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.esm.js"},default:"./evm/wallets/local-wallet/dist/thirdweb-dev-wallets-evm-wallets-local-wallet.cjs.js"},"./evm/wallets/paper-wallet":{module:{browser:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.browser.esm.js",default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.esm.js"},default:"./evm/wallets/paper-wallet/dist/thirdweb-dev-wallets-evm-wallets-paper-wallet.cjs.js"},"./evm/wallets/smart-wallet":{module:{browser:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.browser.esm.js",default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.esm.js"},default:"./evm/wallets/smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-smart-wallet.cjs.js"},"./evm/connectors/safe":{module:{browser:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.browser.esm.js",default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.esm.js"},default:"./evm/connectors/safe/dist/thirdweb-dev-wallets-evm-connectors-safe.cjs.js"},"./evm/connectors/frame":{module:{browser:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.browser.esm.js",default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.esm.js"},default:"./evm/connectors/frame/dist/thirdweb-dev-wallets-evm-connectors-frame.cjs.js"},"./evm/connectors/magic":{module:{browser:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.browser.esm.js",default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.esm.js"},default:"./evm/connectors/magic/dist/thirdweb-dev-wallets-evm-connectors-magic.cjs.js"},"./evm/connectors/paper":{module:{browser:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.browser.esm.js",default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.esm.js"},default:"./evm/connectors/paper/dist/thirdweb-dev-wallets-evm-connectors-paper.cjs.js"},"./evm/connectors/rabby":{module:{browser:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.browser.esm.js",default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.esm.js"},default:"./evm/connectors/rabby/dist/thirdweb-dev-wallets-evm-connectors-rabby.cjs.js"},"./evm/connectors/trust":{module:{browser:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.browser.esm.js",default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.esm.js"},default:"./evm/connectors/trust/dist/thirdweb-dev-wallets-evm-connectors-trust.cjs.js"},"./evm/connectors/xdefi":{module:{browser:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.browser.esm.js",default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.esm.js"},default:"./evm/connectors/xdefi/dist/thirdweb-dev-wallets-evm-connectors-xdefi.cjs.js"},"./evm/wallets/rainbow-wallet":{module:{browser:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.browser.esm.js",default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.esm.js"},default:"./evm/wallets/rainbow-wallet/dist/thirdweb-dev-wallets-evm-wallets-rainbow-wallet.cjs.js"},"./evm/wallets/wallet-connect":{module:{browser:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.browser.esm.js",default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.esm.js"},default:"./evm/wallets/wallet-connect/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect.cjs.js"},"./evm/connectors/blocto":{module:{browser:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.browser.esm.js",default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.esm.js"},default:"./evm/connectors/blocto/dist/thirdweb-dev-wallets-evm-connectors-blocto.cjs.js"},"./evm/connectors/coin98":{module:{browser:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.browser.esm.js",default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.esm.js"},default:"./evm/connectors/coin98/dist/thirdweb-dev-wallets-evm-connectors-coin98.cjs.js"},"./evm/connectors/onekey":{module:{browser:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.browser.esm.js",default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.esm.js"},default:"./evm/connectors/onekey/dist/thirdweb-dev-wallets-evm-connectors-onekey.cjs.js"},"./evm/connectors/signer":{module:{browser:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.browser.esm.js",default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.esm.js"},default:"./evm/connectors/signer/dist/thirdweb-dev-wallets-evm-connectors-signer.cjs.js"},"./evm/connectors/zerion":{module:{browser:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.browser.esm.js",default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.esm.js"},default:"./evm/connectors/zerion/dist/thirdweb-dev-wallets-evm-connectors-zerion.cjs.js"},"./evm/wallets/coinbase-wallet":{module:{browser:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.browser.esm.js",default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.esm.js"},default:"./evm/wallets/coinbase-wallet/dist/thirdweb-dev-wallets-evm-wallets-coinbase-wallet.cjs.js"},"./evm/wallets/embedded-wallet":{module:{browser:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.browser.esm.js",default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.esm.js"},default:"./evm/wallets/embedded-wallet/dist/thirdweb-dev-wallets-evm-wallets-embedded-wallet.cjs.js"},"./evm/connectors/imtoken":{module:{browser:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.browser.esm.js",default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.esm.js"},default:"./evm/connectors/imtoken/dist/thirdweb-dev-wallets-evm-connectors-imtoken.cjs.js"},"./evm/connectors/phantom":{module:{browser:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.browser.esm.js",default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.esm.js"},default:"./evm/connectors/phantom/dist/thirdweb-dev-wallets-evm-connectors-phantom.cjs.js"},"./evm/connectors/rainbow":{module:{browser:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.browser.esm.js",default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.esm.js"},default:"./evm/connectors/rainbow/dist/thirdweb-dev-wallets-evm-connectors-rainbow.cjs.js"},"./evm/connectors/injected":{module:{browser:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.browser.esm.js",default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.esm.js"},default:"./evm/connectors/injected/dist/thirdweb-dev-wallets-evm-connectors-injected.cjs.js"},"./evm/connectors/metamask":{module:{browser:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.browser.esm.js",default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.esm.js"},default:"./evm/connectors/metamask/dist/thirdweb-dev-wallets-evm-connectors-metamask.cjs.js"},"./evm/wallets/local-wallet-node":{module:{browser:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.browser.esm.js",default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.esm.js"},default:"./evm/wallets/local-wallet-node/dist/thirdweb-dev-wallets-evm-wallets-local-wallet-node.cjs.js"},"./evm/wallets/wallet-connect-v1":{module:{browser:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.browser.esm.js",default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.esm.js"},default:"./evm/wallets/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-wallets-wallet-connect-v1.cjs.js"},"./evm/wallets/crypto-defi-wallet":{module:{browser:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.browser.esm.js",default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.esm.js"},default:"./evm/wallets/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-wallets-crypto-defi-wallet.cjs.js"},"./evm/connectors/magic-eden":{module:{browser:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.browser.esm.js",default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.esm.js"},default:"./evm/connectors/magic-eden/dist/thirdweb-dev-wallets-evm-connectors-magic-eden.cjs.js"},"./evm/wallets/aws-secrets-manager":{module:{browser:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.browser.esm.js",default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.esm.js"},default:"./evm/wallets/aws-secrets-manager/dist/thirdweb-dev-wallets-evm-wallets-aws-secrets-manager.cjs.js"},"./evm/connectors/core-wallet":{module:{browser:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.browser.esm.js",default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.esm.js"},default:"./evm/connectors/core-wallet/dist/thirdweb-dev-wallets-evm-connectors-core-wallet.cjs.js"},"./evm/connectors/local-wallet":{module:{browser:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.browser.esm.js",default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.esm.js"},default:"./evm/connectors/local-wallet/dist/thirdweb-dev-wallets-evm-connectors-local-wallet.cjs.js"},"./evm/connectors/smart-wallet":{module:{browser:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.browser.esm.js",default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.esm.js"},default:"./evm/connectors/smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect":{module:{browser:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.browser.esm.js",default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.esm.js"},default:"./evm/connectors/wallet-connect/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect.cjs.js"},"./evm/connectors/coinbase-wallet":{module:{browser:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.browser.esm.js",default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.esm.js"},default:"./evm/connectors/coinbase-wallet/dist/thirdweb-dev-wallets-evm-connectors-coinbase-wallet.cjs.js"},"./evm/connectors/embedded-wallet":{module:{browser:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.browser.esm.js",default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.esm.js"},default:"./evm/connectors/embedded-wallet/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet.cjs.js"},"./evm/wallets/token-bound-smart-wallet":{module:{browser:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.browser.esm.js",default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.esm.js"},default:"./evm/wallets/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-wallets-token-bound-smart-wallet.cjs.js"},"./evm/connectors/wallet-connect-v1":{module:{browser:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.browser.esm.js",default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.esm.js"},default:"./evm/connectors/wallet-connect-v1/dist/thirdweb-dev-wallets-evm-connectors-wallet-connect-v1.cjs.js"},"./evm/connectors/crypto-defi-wallet":{module:{browser:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.browser.esm.js",default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.esm.js"},default:"./evm/connectors/crypto-defi-wallet/dist/thirdweb-dev-wallets-evm-connectors-crypto-defi-wallet.cjs.js"},"./evm/connectors/token-bound-smart-wallet":{module:{browser:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.browser.esm.js",default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.esm.js"},default:"./evm/connectors/token-bound-smart-wallet/dist/thirdweb-dev-wallets-evm-connectors-token-bound-smart-wallet.cjs.js"},"./evm/connectors/embedded-wallet/implementations":{module:{browser:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.browser.esm.js",default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.esm.js"},default:"./evm/connectors/embedded-wallet/implementations/dist/thirdweb-dev-wallets-evm-connectors-embedded-wallet-implementations.cjs.js"},"./package.json":"./package.json"},types:"dist/thirdweb-dev-wallets.cjs.d.ts",repository:"https://github.com/thirdweb-dev/js/tree/main/legacy_packages/wallets",license:"Apache-2.0",bugs:{url:"https://github.com/thirdweb-dev/js/issues"},author:"thirdweb eng ",files:["dist/","evm/"],preconstruct:{entrypoints:["index.ts","evm/index.ts","evm/connectors/*/index.ts","evm/connectors/embedded-wallet/implementations/index.ts","evm/wallets/**"],exports:{envConditions:["browser"]}},sideEffects:!1,dependencies:{"@account-abstraction/contracts":"^0.5.0","@blocto/sdk":"0.10.2","@coinbase/wallet-sdk":"^4.0.4","@google-cloud/kms":"^4.4.0","@magic-ext/connect":"^6.7.2","@magic-ext/oauth":"^7.6.2","@magic-sdk/provider":"^13.6.2","@metamask/eth-sig-util":"^4.0.1","@paperxyz/embedded-wallet-service-sdk":"^1.2.5","@paperxyz/sdk-common-utilities":"^0.1.1","@safe-global/safe-core-sdk":"^3.3.5","@safe-global/safe-ethers-adapters":"0.1.0-alpha.19","@safe-global/safe-ethers-lib":"^1.9.4","@thirdweb-dev/chains":"workspace:*","@thirdweb-dev/contracts-js":"workspace:*","@thirdweb-dev/crypto":"workspace:*","@thirdweb-dev/sdk":"workspace:*","@walletconnect/core":"^2.13.2","@walletconnect/ethereum-provider":"2.12.2","@walletconnect/jsonrpc-utils":"^1.0.8","@walletconnect/modal":"^2.6.2","@walletconnect/types":"^2.13.2","@walletconnect/utils":"^2.13.2","@walletconnect/web3wallet":"^1.12.2","asn1.js":"5.4.1","bn.js":"5.2.1",buffer:"^6.0.3","eth-provider":"^0.13.6","ethereumjs-util":"^7.1.5",eventemitter3:"^5.0.1","key-encoder":"2.0.3","magic-sdk":"^13.6.2","web3-core":"1.5.2"},peerDependencies:{"@aws-sdk/client-secrets-manager":"^3.256.0",bs58:"^5.0.0",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",tweetnacl:"^1.0.3"},peerDependenciesMeta:{tweetnacl:{optional:!0},"@aws-sdk/client-secrets-manager":{optional:!0},"ethers-aws-kms-signer":{optional:!0},bs58:{optional:!0},ethers:{optional:!0}},devDependencies:{"@aws-sdk/client-secrets-manager":"^3.549.0","@babel/plugin-transform-class-properties":"^7.24.1","@babel/plugin-transform-flow-strip-types":"^7.24.7","@babel/plugin-transform-private-methods":"^7.24.7","@microsoft/api-extractor":"^7.47.0","@nomiclabs/hardhat-ethers":"^2.2.3","@preconstruct/cli":"2.7.0","@thirdweb-dev/tsconfig":"workspace:*","@types/bn.js":"^5.1.5",abitype:"1.0.5","babel-plugin-transform-inline-environment-variables":"^0.4.4",bs58:"^5.0.0","cross-env":"^7.0.3",eslint:"8.57.0","eslint-config-thirdweb":"workspace:*","eslint-plugin-better-tree-shaking":"0.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-inclusive-language":"^2.2.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-tsdoc":"^0.3.0","ethereum-provider":"^0.7.7",ethers:"^5.7.2","ethers-aws-kms-signer":"^1.3.2",hardhat:"^2.22.2",rimraf:"5.0.7",tweetnacl:"^1.0.3","typedoc-gen":"workspace:*",typescript:"5.5.4"},scripts:{format:"biome format ./src --write",lint:"eslint src/",fix:"eslint src/ --fix",clean:"rm -rf dist/",build:"tsc && cross-env THIRDWEB_EWS_SDK_VERSION=$npm_package_version preconstruct build","preconstruct:fix":"preconstruct fix",push:"yalc push",typedoc:"bun run scripts/typedoc.mjs",test:"vitest run"},engines:{node:">=18"}},Pit=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]]});var Mt,yn=ce(()=>{"use strict";p();u();Mt={blocto:"blocto",coin98:"coin98",coinbase:"coinbase",coreWallet:"coreWallet",cryptoDefiWallet:"cryptoDefiWallet",frame:"frame",imtoken:"imToken",localWallet:"localWallet",magicLink:"magicLink",metamask:"metamask",paper:"paper",rainbow:"rainbowWallet",smartWallet:"smartWallet",tokenBoundSmartWallet:"tokenBoundSmartWallet",safe:"safe",trust:"trust",embeddedWallet:"embeddedWallet",walletConnectV1:"walletConnectV1",walletConnect:"walletConnect",phantom:"phantom",okx:"okx",oneKey:"oneKey",rabby:"rabby",xdefi:"xdefi",magicEden:"magicEden"}});var Rc,X7=ce(()=>{"use strict";p();u();gc();Ot();Rc=class extends od{constructor(e){let{chains:t=qo,options:a}=e;super(),this.chains=t,this.options=a}getBlockExplorerUrls(e){let t=e.explorers?.map(a=>a.url)??[];return t.length>0?t:void 0}isChainUnsupported(e){return!this.chains.some(t=>t.chainId===e)}updateChains(e){this.chains=e}}});var dW,lW,$3,U3,En,pr,V1,w0,Zf=ce(()=>{"use strict";p();u();dW=class extends Error{constructor(e,t){let{cause:a,code:r,data:i}=t;if(!Number.isInteger(r))throw new Error('"code" must be an integer.');if(!e||typeof e!="string")throw new Error('"message" must be a nonempty string.');super(`${e}. Cause: ${JSON.stringify(a)}`),this.cause=a,this.code=r,this.data=i}},lW=class extends dW{constructor(e,t){let{cause:a,code:r,data:i}=t;if(!(Number.isInteger(r)&&r>=1e3&&r<=4999))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,{cause:a,code:r,data:i})}},$3=class extends Error{constructor(){super(...arguments);Z(this,"name","AddChainError");Z(this,"message","Error adding chain")}},U3=class extends Error{constructor(t){let{chainId:a,connectorId:r}=t;super(`Chain "${a}" not configured for connector "${r}".`);Z(this,"name","ChainNotConfigured")}},En=class extends Error{constructor(){super(...arguments);Z(this,"name","ConnectorNotFoundError");Z(this,"message","Connector not found")}},pr=class extends dW{constructor(t){super("Resource unavailable",{cause:t,code:-32002});Z(this,"name","ResourceUnavailable")}},V1=class extends lW{constructor(t){super("Error switching chain",{cause:t,code:4902});Z(this,"name","SwitchChainError")}},w0=class extends lW{constructor(t){super("User rejected request",{cause:t,code:4001});Z(this,"name","UserRejectedRequestError")}}});function rs(n){return typeof n=="string"?Number.parseInt(n,n.trim().substring(0,2)==="0x"?16:10):typeof n=="bigint"?Number(n):n}var Sy=ce(()=>{"use strict";p();u()});var $1,A0,Mr=ce(()=>{"use strict";p();u();Ot();$1=class extends od{},A0=class extends $1{constructor(e){super(),this.wagmiConnector=e}async connect(e){return this.setupConnectorListeners(),(await this.wagmiConnector.connect(e)).account}disconnect(){return this.wagmiConnector.removeAllListeners("connect"),this.wagmiConnector.removeAllListeners("change"),this.wagmiConnector.disconnect()}isConnected(){return this.wagmiConnector.isAuthorized()}getAddress(){return this.wagmiConnector.getAccount()}getSigner(){return this.wagmiConnector.getSigner()}getProvider(){return this.wagmiConnector.getProvider()}async switchChain(e){if(!this.wagmiConnector.switchChain)throw new Error("Switch chain not supported");await this.wagmiConnector.switchChain(e)}setupConnectorListeners(){this.wagmiConnector.addListener("connect",e=>{this.emit("connect",e)}),this.wagmiConnector.addListener("change",e=>{this.emit("change",e)}),this.wagmiConnector.addListener("disconnect",()=>{this.emit("disconnect")})}async setupListeners(){this.setupConnectorListeners(),await this.wagmiConnector.setupListeners()}updateChains(e){this.wagmiConnector.updateChains(e)}}});function q3(n){let e=new URL(n).hostname;return e.endsWith(".thirdweb.com")||e.endsWith(".thirdweb-dev.com")||e==="localhost"||e==="0.0.0.0"}function iu(n){return jl(n).map(e=>{try{let t=new URL(e);return t.hostname.endsWith(".thirdweb.com")&&(t.pathname="",t.search=""),t.toString()}catch{return e}})}var Ay=ce(()=>{"use strict";p();u();gc()});var Bde=B(pW=>{"use strict";p();u();pW.__esModule=!0;pW.BaseAccount__factory=void 0;var Nit=Ue(),Mde=[{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],ian=function(){function n(){}return n.createInterface=function(){return new Nit.utils.Interface(Mde)},n.connect=function(e,t){return new Nit.Contract(e,Mde,t)},n.abi=Mde,n}();pW.BaseAccount__factory=ian});var Fde=B(uW=>{"use strict";p();u();uW.__esModule=!0;uW.BasePaymaster__factory=void 0;var Fit=Ue(),Nde=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],san=function(){function n(){}return n.createInterface=function(){return new Fit.utils.Interface(Nde)},n.connect=function(e,t){return new Fit.Contract(e,Nde,t)},n.abi=Nde,n}();uW.BasePaymaster__factory=san});var Vde=B(Kw=>{"use strict";p();u();var fan=Kw&&Kw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Kw.__esModule=!0;Kw.BrokenBLSAccount__factory=void 0;var Ode=Ue(),yW=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"},{internalType:"address",name:"anAggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256[4]",name:"oldPublicKey",type:"uint256[4]"},{indexed:!1,internalType:"uint256[4]",name:"newPublicKey",type:"uint256[4]"}],name:"PublicKeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"aggregator",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getBlsPublicKey",outputs:[{internalType:"uint256[4]",name:"",type:"uint256[4]"}],stateMutability:"pure",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Oit="0x60e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",oan=function(n){return n.length>1},can=function(n){fan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var dan=Qw&&Qw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Qw.__esModule=!0;Qw.BrokenBLSAccountFactory__factory=void 0;var $de=Ue(),mW=[{inputs:[{internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{internalType:"address",name:"aggregator",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"createAccount",outputs:[{internalType:"contract BrokenBLSAccount",name:"",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"salt",type:"uint256"},{internalType:"uint256[4]",name:"aPublicKey",type:"uint256[4]"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],Vit="0x60a060405234801561001057600080fd5b50604051612ede380380612ede83398101604081905261002f916100aa565b818160405161003d90610085565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015610070573d6000803e3d6000fd5b506001600160a01b0316608052506100e49050565b6120c680610e1883390190565b6001600160a01b03811681146100a757600080fd5b50565b600080604083850312156100bd57600080fd5b82516100c881610092565b60208401519092506100d981610092565b809150509250929050565b608051610d0d61010b60003960008181604b0152818160f7015261020d0152610d0d6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe1461004657806319c2a1b214610096578063de3398dd146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461038e565b6100bc565b61006d6100b736600461038e565b6101de565b6000806100c984846101de565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101d8565b8460001b7f0000000000000000000000000000000000000000000000000000000000000000856040516024016101279190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f3600000000000000000000000000000000000000000000000000000000179052516101a790610352565b6101b2929190610479565b8190604051809103906000f59050801580156101d2573d6000803e3d6000fd5b50925050505b92915050565b60006103198360001b604051806020016101f790610352565b6020820181038252601f19601f820116604052507f00000000000000000000000000000000000000000000000000000000000000008560405160240161023d9190610418565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fee472f360000000000000000000000000000000000000000000000000000000017905290516102c293929101610479565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526102fe92916020016104e7565b60405160208183030381529060405280519060200120610320565b9392505050565b60006103198383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c18061051783390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060a083850312156103a157600080fd5b82359150602084603f8501126103b657600080fd5b6040516080810181811067ffffffffffffffff821117156103d9576103d961035f565b6040528060a08601878111156103ee57600080fd5b8387015b8181101561040957803583529184019184016103f2565b50505080925050509250929050565b60808101818360005b6004811015610440578151835260209283019290910190600101610421565b50505092915050565b60005b8381101561046457818101518382015260200161044c565b83811115610473576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316815260406020820152600082518060408401526104b4816060850160208701610449565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104f9818460208801610449565b83519083019061050d818360208801610449565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a47065a7c8ac5bac8ed56ef1cf7419a59dfdae21ba812180654b545d4faab85f64736f6c634300080f003360e0604052306080523480156200001557600080fd5b50604051620020c6380380620020c683398101604081905262000038916200013f565b6001600160a01b03821660a052816200005062000064565b506001600160a01b031660c052506200017e565b600054610100900460ff1615620000d15760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000124576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b03811681146200013c57600080fd5b50565b600080604083850312156200015357600080fd5b8251620001608162000126565b6020840151909250620001738162000126565b809150509250929050565b60805160a05160c051611ecb620001fb60003960008181610137015261068a01526000818161029001528181610703015281816107aa01528181610b8c01528181610f2e0152818161128a015261152c015260008181610486015281816105360152818161086e0152818161091e0152610a670152611ecb6000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063c399ec8811610059578063c399ec88146102d4578063c4d66de8146102e9578063e02afbae14610309578063ee472f361461032b57600080fd5b80638da5cb5b14610221578063affed0e01461025e578063b0d691fe14610281578063b61d27f6146102b457600080fd5b80634a58db19116100c65780634a58db19146101d15780634d44560d146101d95780634f1ef286146101f957806352d1902d1461020c57600080fd5b806318dfb3c714610103578063245a7bfc146101255780633659cfe6146101835780633a871cdd146101a357600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e3660046118ef565b61034b565b005b34801561013157600080fd5b506101597f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018f57600080fd5b5061012361019e36600461197d565b61046f565b3480156101af57600080fd5b506101c36101be36600461199a565b610674565b60405190815260200161017a565b610123610701565b3480156101e557600080fd5b506101236101f43660046119ee565b6107a0565b610123610207366004611a98565b610857565b34801561021857600080fd5b506101c3610a4d565b34801561022d57600080fd5b50600154610159906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561026a57600080fd5b506001546bffffffffffffffffffffffff166101c3565b34801561028d57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610159565b3480156102c057600080fd5b506101236102cf366004611b5e565b610b39565b3480156102e057600080fd5b506101c3610b88565b3480156102f557600080fd5b5061012361030436600461197d565b610c40565b34801561031557600080fd5b5061031e610dd3565b60405161017a9190611be7565b34801561033757600080fd5b50610123610346366004611c18565b610de8565b610353610f16565b8281146103c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b83811015610468576104568585838181106103e1576103e1611c96565b90506020020160208101906103f6919061197d565b600085858581811061040a5761040a611c96565b905060200281019061041c9190611cc5565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b8061046081611d59565b9150506103c4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105a97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b61065581611066565b604080516000808252602082019092526106719183919061106e565b50565b600061067e611272565b604080516060810182527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16808252600060208301819052919092015290506106df6040850185611cc5565b90506000036106f1576106f184611311565b6106fa826113da565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b15801561078c57600080fd5b505af1158015610468573d6000803e3d6000fd5b6107a8611445565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c000000000000000000000000000000000000000060648201526084016103b8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166109917f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f7879000000000000000000000000000000000000000060648201526084016103b8565b610a3d82611066565b610a498282600161106e565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610b14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016103b8565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610b41610f16565b610b82848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fe992505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611d91565b905090565b600054610100900460ff1615808015610c605750600054600160ff909116105b80610c7a5750303b158015610c7a575060005460ff166001145b610d06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610d6457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d826114e0565b8015610a4957600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ddb611885565b610de3611885565b919050565b600054610100900460ff1615808015610e085750600054600160ff909116105b80610e225750303b158015610e22575060005460ff166001145b610eae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103b8565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f0c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610d6d60006114e0565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610f8157506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e7460448201526064016103b8565b565b6000808473ffffffffffffffffffffffffffffffffffffffff1684846040516110129190611dd6565b60006040518083038185875af1925050503d806000811461104f576040519150601f19603f3d011682016040523d82523d6000602084013e611054565b606091505b50915091508161046857805160208201fd5b610671611445565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a6576110a183611578565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561112b575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261112891810190611d91565b60015b6111b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f74205555505300000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c6555554944000000000000000000000000000000000000000000000060648201526084016103b8565b506110a1838383611682565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e740000000060448201526064016103b8565b600180546020830135916bffffffffffffffffffffffff90911690600061133783611df2565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff1614610671576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e63650000000000000000000060448201526064016103b8565b80156106715760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d8060008114610468576040519150601f19603f3d011682016040523d82523d6000602084013e610468565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061147a57503330145b610fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e65720000000000000000000000000000000000000000000060448201526064016103b8565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b61161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103b8565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61168b836116a7565b6000825111806116985750805b156110a157610b8283836116f4565b6116b081611578565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606106fa8383604051806060016040528060278152602001611e6f6027913960606000808573ffffffffffffffffffffffffffffffffffffffff168560405161173e9190611dd6565b600060405180830381855af49150503d8060008114611779576040519150601f19603f3d011682016040523d82523d6000602084013e61177e565b606091505b509150915061178f86838387611799565b9695505050505050565b6060831561182f5782516000036118285773ffffffffffffffffffffffffffffffffffffffff85163b611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b8565b5081611839565b6118398383611841565b949350505050565b8151156118515781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b89190611e1d565b60405180608001604052806004906020820280368337509192915050565b60008083601f8401126118b557600080fd5b50813567ffffffffffffffff8111156118cd57600080fd5b6020830191508360208260051b85010111156118e857600080fd5b9250929050565b6000806000806040858703121561190557600080fd5b843567ffffffffffffffff8082111561191d57600080fd5b611929888389016118a3565b9096509450602087013591508082111561194257600080fd5b5061194f878288016118a3565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461067157600080fd5b60006020828403121561198f57600080fd5b81356106fa8161195b565b6000806000606084860312156119af57600080fd5b833567ffffffffffffffff8111156119c657600080fd5b840161016081870312156119d957600080fd5b95602085013595506040909401359392505050565b60008060408385031215611a0157600080fd5b8235611a0c8161195b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611a9057611a90611a1a565b604052919050565b60008060408385031215611aab57600080fd5b8235611ab68161195b565b915060208381013567ffffffffffffffff80821115611ad457600080fd5b818601915086601f830112611ae857600080fd5b813581811115611afa57611afa611a1a565b611b2a847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611a49565b91508082528784828501011115611b4057600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060608587031215611b7457600080fd5b8435611b7f8161195b565b935060208501359250604085013567ffffffffffffffff80821115611ba357600080fd5b818701915087601f830112611bb757600080fd5b813581811115611bc657600080fd5b886020828501011115611bd857600080fd5b95989497505060200194505050565b60808101818360005b6004811015611c0f578151835260209283019290910190600101611bf0565b50505092915050565b600060808284031215611c2a57600080fd5b82601f830112611c3957600080fd5b6040516080810181811067ffffffffffffffff82111715611c5c57611c5c611a1a565b604052806080840185811115611c7157600080fd5b845b81811015611c8b578035835260209283019201611c73565b509195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611cfa57600080fd5b83018035915067ffffffffffffffff821115611d1557600080fd5b6020019150368190038213156118e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d8a57611d8a611d2a565b5060010190565b600060208284031215611da357600080fd5b5051919050565b60005b83811015611dc5578181015183820152602001611dad565b83811115610b825750506000910152565b60008251611de8818460208701611daa565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611e1357611e13611d2a565b6001019392505050565b6020815260008251806020840152611e3c816040850160208701611daa565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212205cf49810dc1024bbe2d76f8f79dcc489e3b6a79d7f0e35498db5239b1077074564736f6c634300080f0033",lan=function(n){return n.length>1},pan=function(n){dan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var uan=Yw&&Yw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Yw.__esModule=!0;Yw.DepositPaymaster__factory=void 0;var qde=Ue(),bW=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[],name:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"addDepositFor",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"contract IOracle",name:"tokenPriceOracle",type:"address"}],name:"addToken",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"balances",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"account",type:"address"}],name:"depositInfo",outputs:[{internalType:"uint256",name:"amount",type:"uint256"},{internalType:"uint256",name:"_unlockBlock",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"lockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"",type:"address"}],name:"oracles",outputs:[{internalType:"contract IOracle",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"unlockBlock",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockTokenDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract IERC20",name:"token",type:"address"},{internalType:"address",name:"target",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTokensTo",outputs:[],stateMutability:"nonpayable",type:"function"}],$it="0x60a06040523480156200001157600080fd5b5060405162001fa938038062001fa98339810160408190526200003491620000bb565b8062000040336200006b565b6001600160a01b031660805262000064336000908152600360205260409020439055565b50620000ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000ce57600080fd5b81516001600160a01b0381168114620000e657600080fd5b9392505050565b608051611e6f6200013a600039600081816103b30152818161052b015281816105f50152818161089001528181610957015281816109e701528181610bb90152610ed70152611e6f6000f3fe6080604052600436106101755760003560e01c8063addd5099116100cb578063c399ec881161007f578063d0e30db011610059578063d0e30db014610499578063f2fde38b146104a1578063f465c77e146104c157600080fd5b8063c399ec8814610442578063cc9c837c14610457578063cd8f80c21461047757600080fd5b8063bb9fe6bf116100b0578063bb9fe6bf146103d5578063c23a5cea146103ea578063c23f001f1461040a57600080fd5b8063addd50991461035e578063b0d691fe146103a157600080fd5b80635476bd721161012d5780638da5cb5b116101075780638da5cb5b146102ce5780639ed0fb681461031a578063a9a234091461033e57600080fd5b80635476bd7214610283578063715018a6146102a3578063796d4371146102b857600080fd5b8063382edd9e1161015e578063382edd9e146101af578063493b0170146101cf5780634a6f84cf1461024857600080fd5b80630396cb601461017a578063205c28781461018f575b600080fd5b61018d610188366004611915565b6104ef565b005b34801561019b57600080fd5b5061018d6101aa36600461195d565b6105a1565b3480156101bb57600080fd5b5061018d6101ca366004611989565b610639565b3480156101db57600080fd5b5061022e6101ea3660046119ca565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291825282812054600390925291909120549091565b604080519283526020830191909152015b60405180910390f35b34801561025457600080fd5b50610275610263366004611a03565b60036020526000908152604090205481565b60405190815260200161023f565b34801561028f57600080fd5b5061018d61029e3660046119ca565b61076e565b3480156102af57600080fd5b5061018d610858565b3480156102c457600080fd5b506102756188b881565b3480156102da57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161023f565b34801561032657600080fd5b5061018d336000908152600360205260409020439055565b34801561034a57600080fd5b5061018d610359366004611a20565b61086c565b34801561036a57600080fd5b506102f5610379366004611a03565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156103ad57600080fd5b506102f57f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e157600080fd5b5061018d610886565b3480156103f657600080fd5b5061018d610405366004611a03565b61090a565b34801561041657600080fd5b506102756104253660046119ca565b600260209081526000928352604080842090915290825290205481565b34801561044e57600080fd5b506102756109b6565b34801561046357600080fd5b5061018d610472366004611989565b610a6c565b34801561048357600080fd5b5061018d33600090815260036020526040812055565b61018d610b8b565b3480156104ad57600080fd5b5061018d6104bc366004611a03565b610c13565b3480156104cd57600080fd5b506104e16104dc366004611aaf565b610cca565b60405161023f929190611b79565b6104f7610ced565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b15801561058557600080fd5b505af1158015610599573d6000803e3d6000fd5b505050505050565b6105a9610ced565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b15801561058557600080fd5b61065b73ffffffffffffffffffffffffffffffffffffffff8416333084610d6e565b73ffffffffffffffffffffffffffffffffffffffff838116600090815260016020526040902054166106ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f756e737570706f7274656420746f6b656e00000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600090815260026020908152604080832093861683529290529081208054839290610732908490611bca565b909155505073ffffffffffffffffffffffffffffffffffffffff821633036107695761076933600090815260036020526040812055565b505050565b610776610ced565b73ffffffffffffffffffffffffffffffffffffffff8281166000908152600160205260409020541615610805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f546f6b656e20616c72656164792073657400000000000000000000000000000060448201526064016106e5565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001691909216179055565b610860610ced565b61086a6000610e4a565b565b610874610ebf565b61088084848484610f5e565b50505050565b61088e610ced565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f657600080fd5b505af1158015610880573d6000803e3d6000fd5b610912610ced565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611be2565b905090565b3360009081526003602052604090205415801590610a9857503360009081526003602052604090205443115b610b24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4465706f7369745061796d61737465723a206d75737420756e6c6f636b546f6b60448201527f656e4465706f736974000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020908152604080832033845290915281208054839290610b64908490611bfb565b90915550610769905073ffffffffffffffffffffffffffffffffffffffff841683836110d6565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561099b57600080fd5b610c1b610ced565b73ffffffffffffffffffffffffffffffffffffffff8116610cbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106e5565b610cc781610e4a565b50565b60606000610cd6610ebf565b610ce185858561112c565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106e5565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526108809085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611475565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016106e5565b600080808080610f7087890189611c12565b9450945094509450945060008183856188b8610f8c9190611c63565b610f96908a611bca565b610fa09190611c63565b610faa9190611ca0565b905060028a6002811115610fc057610fc0611cdb565b14610fec57610fe773ffffffffffffffffffffffffffffffffffffffff8616873084610d6e565b611036565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600260209081526040808320938a1683529290529081208054839290611030908490611bfb565b90915550505b73ffffffffffffffffffffffffffffffffffffffff85166000908152600260205260408120829161107c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c59190611bca565b909155505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526107699084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610dc8565b606060006188b88560a00135116111c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4465706f7369745061796d61737465723a2067617320746f6f206c6f7720666f60448201527f7220706f73744f7000000000000000000000000000000000000000000000000060648201526084016106e5565b3660006111d6610120880188611d0a565b90925090506028811461126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4465706f7369745061796d61737465723a207061796d6173746572416e64446160448201527f7461206d757374207370656369667920746f6b656e000000000000000000000060648201526084016106e5565b600061127a8260148186611d76565b61128391611da0565b60601c9050873560006112968389611581565b905060006112a38b6116cf565b73ffffffffffffffffffffffffffffffffffffffff841660009081526003602052604090205490915015611358576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4465706f7369745061796d61737465723a206465706f736974206e6f74206c6f60448201527f636b65640000000000000000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526002602090815260408083209387168352929052205482111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4465706f7369745061796d61737465723a206465706f73697420746f6f206c6f60448201527f770000000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040805173ffffffffffffffffffffffffffffffffffffffff948516602082015294909316848401526060840152608083015260a0808301979097528051808303909701875260c09091019052509295600095509350505050565b60006114d7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116f69092919063ffffffff16565b80519091501561076957808060200190518101906114f59190611de8565b610769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106e5565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526001602052604081205490911680611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4465706f7369745061796d61737465723a20756e737570706f7274656420746f60448201527f6b656e000000000000000000000000000000000000000000000000000000000060648201526084016106e5565b6040517fd1eca9cf0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff82169063d1eca9cf90602401602060405180830381865afa1580156116a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c79190611be2565b949350505050565b600060e08201356101008301358082036116ea575092915050565b6116c782488301611705565b60606116c7848460008561171d565b60008183106117145781611716565b825b9392505050565b6060824710156117af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106e5565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117d89190611e0a565b60006040518083038185875af1925050503d8060008114611815576040519150601f19603f3d011682016040523d82523d6000602084013e61181a565b606091505b509150915061182b87838387611836565b979650505050505050565b606083156118cc5782516000036118c55773ffffffffffffffffffffffffffffffffffffffff85163b6118c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106e5565b50816116c7565b6116c783838151156118e15781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e59190611e26565b60006020828403121561192757600080fd5b813563ffffffff8116811461171657600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610cc757600080fd5b6000806040838503121561197057600080fd5b823561197b8161193b565b946020939093013593505050565b60008060006060848603121561199e57600080fd5b83356119a98161193b565b925060208401356119b98161193b565b929592945050506040919091013590565b600080604083850312156119dd57600080fd5b82356119e88161193b565b915060208301356119f88161193b565b809150509250929050565b600060208284031215611a1557600080fd5b81356117168161193b565b60008060008060608587031215611a3657600080fd5b843560038110611a4557600080fd5b9350602085013567ffffffffffffffff80821115611a6257600080fd5b818701915087601f830112611a7657600080fd5b813581811115611a8557600080fd5b886020828501011115611a9757600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215611ac457600080fd5b833567ffffffffffffffff811115611adb57600080fd5b84016101608187031215611aee57600080fd5b95602085013595506040909401359392505050565b60005b83811015611b1e578181015183820152602001611b06565b838111156108805750506000910152565b60008151808452611b47816020860160208601611b03565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b604081526000611b8c6040830185611b2f565b90508260208301529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115611bdd57611bdd611b9b565b500190565b600060208284031215611bf457600080fd5b5051919050565b600082821015611c0d57611c0d611b9b565b500390565b600080600080600060a08688031215611c2a57600080fd5b8535611c358161193b565b94506020860135611c458161193b565b94979496505050506040830135926060810135926080909101359150565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c9b57611c9b611b9b565b500290565b600082611cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611d3f57600080fd5b83018035915067ffffffffffffffff821115611d5a57600080fd5b602001915036819003821315611d6f57600080fd5b9250929050565b60008085851115611d8657600080fd5b83861115611d9357600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611de05780818660140360031b1b83161692505b505092915050565b600060208284031215611dfa57600080fd5b8151801515811461171657600080fd5b60008251611e1c818460208701611b03565b9190910192915050565b6020815260006117166020830184611b2f56fea2646970667358221220f935cbe4ea2ae13e8fff0cb7f87458bc2f28e69d759658a51d6206dc7702573a64736f6c634300080f0033",yan=function(n){return n.length>1},man=function(n){uan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var ban=Jw&&Jw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Jw.__esModule=!0;Jw.EntryPoint__factory=void 0;var zde=Ue(),hW=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[],name:"SIG_VALIDATION_FAILED",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"address",name:"sender",type:"address"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"_validateSenderAndPaymaster",outputs:[],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"callData",type:"bytes"},{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"address",name:"paymaster",type:"address"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"}],internalType:"struct EntryPoint.MemoryUserOp",name:"mUserOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"uint256",name:"contextOffset",type:"uint256"},{internalType:"uint256",name:"preOpGas",type:"uint256"}],internalType:"struct EntryPoint.UserOpInfo",name:"opInfo",type:"tuple"},{internalType:"bytes",name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{internalType:"uint256",name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Uit="0x60a08060405234620000845761022c8181016001600160401b038111838210176200006e57829162005773833903906000f0801562000062576080526040516156e990816200008a8239608051818181611321015281816139700152613c910152f35b6040513d6000823e3d90fd5b634e487b7160e01b600052604160045260246000fd5b600080fdfe60806040526004361015610023575b361561001957600080fd5b610021614f9c565b005b60003560e01c80630396cb60146101775780631d7327561461016e5780631fad948c14610165578063205c28781461015c5780634b1d7cf5146101535780635287ce121461014a57806370a08231146101415780638f41ec5a14610138578063957122ab1461012f5780639b249f6914610126578063a61935311461011d578063b760faf914610114578063bb9fe6bf1461010b578063c23a5cea14610102578063d6383f94146100f9578063ee219423146100f05763fc7e286d0361000e576100eb611b0f565b61000e565b506100eb6118f7565b506100eb61178f565b506100eb6115f6565b506100eb611478565b506100eb611439565b506100eb611418565b506100eb611279565b506100eb6110a6565b506100eb61106b565b506100eb610fe6565b506100eb610e96565b506100eb610b6b565b506100eb6109cc565b506100eb61071c565b506100eb610549565b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043563ffffffff811680820361031d576103187fa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01916102356102053373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b91610211811515615102565b61022e610225600185015463ffffffff1690565b63ffffffff1690565b1115615167565b54926102fa6dffffffffffffffffffffffffffff946102b861025c34888460781c166120aa565b966102688815156151cc565b61027481891115615231565b61029881610280610409565b941684906dffffffffffffffffffffffffffff169052565b6001602084015287166dffffffffffffffffffffffffffff166040830152565b63ffffffff83166060820152600060808201526102f53373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b615296565b6040805194855263ffffffff90911660208501523393918291820190565b0390a2005b600080fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60a0810190811067ffffffffffffffff82111761036e57604052565b610376610322565b604052565b610100810190811067ffffffffffffffff82111761036e57604052565b67ffffffffffffffff811161036e57604052565b6060810190811067ffffffffffffffff82111761036e57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761036e57604052565b6040519061041682610352565b565b6040519060c0820182811067ffffffffffffffff82111761036e57604052565b604051906040820182811067ffffffffffffffff82111761036e57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610494575b01160190565b61049c610322565b61048e565b9291926104ad82610458565b916104bb60405193846103c8565b82948184528183011161031d578281602093846000960137010152565b73ffffffffffffffffffffffffffffffffffffffff81160361031d57565b60243590610416826104d8565b60c43590610416826104d8565b3590610416826104d8565b9181601f8401121561031d5782359167ffffffffffffffff831161031d576020838186019501011161031d57565b503461031d576101c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d573660238201121561031d576105ac9036906024816004013591016104a1565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc3601610180811261031d57610100604051916105e983610352565b1261031d576040516105fa8161037b565b6106026104f6565b815260443560208201526064356040820152608435606082015260a435608082015261062c610503565b60a082015260e43560c08201526101043560e082015281526101243560208201526101443560408201526101643560608201526101843560808201526101a43591821161031d576106a09261068861069093369060040161051b565b929091612786565b6040519081529081906020820190565b0390f35b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261031d5760043567ffffffffffffffff9283821161031d578060238301121561031d57816004013593841161031d5760248460051b8301011161031d576024019190602435610719816104d8565b90565b503461031d5761072b366106a4565b610736829392611c6f565b60005b848110610788575060009283915b858310610758576100218585611dac565b90919360019061077e61076c878987611d2e565b6107768886611d0c565b519088612214565b0194019190610747565b6107b36107ac61079a83859795611d0c565b516107a6848987611d2e565b84612fc4565b9190612d9b565b73ffffffffffffffffffffffffffffffffffffffff9291831661095e576108f0576107dd90612d9b565b9116610882576107f257600101929092610739565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602160448201527f41413332207061796d61737465722065787069726564206f72206e6f7420647560648201527f6500000000000000000000000000000000000000000000000000000000000000608482015260a490fd5b0390fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413334207369676e6174757265206572726f7200000000000000000000000060608201520190565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601760408201527f414132322065787069726564206f72206e6f742064756500000000000000000060608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601460408201527f41413234207369676e6174757265206572726f7200000000000000000000000060608201520190565b503461031d5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435610a08816104d8565b6024359060009133835282602052604083206dffffffffffffffffffffffffffff81541692838311610b0d57848373ffffffffffffffffffffffffffffffffffffffff829593610ab08496610a77610a648798610b0a9c612095565b6dffffffffffffffffffffffffffff1690565b6dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810185905233917fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb91a2165af1610b04611d7c565b5061560d565b80f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f576974686472617720616d6f756e7420746f6f206c61726765000000000000006044820152fd5b503461031d57610b7a366106a4565b6000805b838210610d3c57610b8f9150611c6f565b6000805b848110610ca257505060008093815b818110610bd957610021868660007f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d8180a2611dac565b610c3d610be782848a6123a0565b610c12610bf9610bf960208401612442565b73ffffffffffffffffffffffffffffffffffffffff1690565b7f575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d600080a2806123ee565b906000915b808310610c5a57505050610c5590612366565b610ba2565b90919497610c95610c8f610c9b92610c898c8b610c8282610c7c8e8b8d611d2e565b92611d0c565b5191612214565b906120aa565b99612366565b95612366565b9190610c42565b610cad8186886123a0565b6020610cc5610cbc83806123ee565b92909301612442565b9173ffffffffffffffffffffffffffffffffffffffff60009316905b828410610cfa5750505050610cf590612366565b610b93565b90919294610c9581610d2f85610d28610d16610d34968d611d0c565b51610d228c8b8a611d2e565b85612fc4565b908b612d53565b612366565b929190610ce1565b610d478285876123a0565b90610d5282806123ee565b92610d62610bf960208301612442565b9173ffffffffffffffffffffffffffffffffffffffff8316610d87600182141561244c565b610da8575b505050610da291610d9c916120aa565b91612366565b90610b7e565b909592610dc16040999693999895989788810190611e9d565b92908a3b1561031d5789938b918a5193849283927fe3563a4f00000000000000000000000000000000000000000000000000000000845260049e8f850193610e08946125e6565b03815a93600094fa9081610e7d575b50610e675786517f86a9f75000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a16818a0190815281906020010390fd5b9497509295509093509181610d9c610da2610d8c565b80610e8a610e9092610398565b80611060565b38610e17565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d576106a073ffffffffffffffffffffffffffffffffffffffff600435610eea816104d8565b608060409283928351610efc81610352565b600093818580935282602082015282878201528260608201520152168152806020522090610f8b65ffffffffffff6001835194610f3886610352565b80546dffffffffffffffffffffffffffff8082168852607082901c60ff161515602089015260789190911c1685870152015463ffffffff8116606086015260201c16608084019065ffffffffffff169052565b5191829182919091608065ffffffffffff8160a08401956dffffffffffffffffffffffffffff808251168652602082015115156020870152604082015116604086015263ffffffff6060820151166060860152015116910152565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611037816104d8565b16600052600060205260206dffffffffffffffffffffffffffff60406000205416604051908152f35b600091031261031d57565b503461031d5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57602060405160018152f35b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600467ffffffffffffffff813581811161031d576110f7903690840161051b565b905060243591611106836104d8565b60443590811161031d5761111d903690850161051b565b92909115908161126f575b50611208576014821015611178575b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160409060208152600060208201520190565b6111886111949261118e926129ab565b906129b9565b60601c90565b3b156111a1573880611137565b61087e906040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601b60208201527f41413330207061796d6173746572206e6f74206465706c6f796564000000000060408201520190565b61087e836040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160609060208152601960208201527f41413230206163636f756e74206e6f74206465706c6f7965640000000000000060408201520190565b90503b1538611128565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5760043567ffffffffffffffff811161031d576112cb602491369060040161051b565b906113016040519283927f570e1a3600000000000000000000000000000000000000000000000000000000845260048401612b4f565b0360208273ffffffffffffffffffffffffffffffffffffffff92816000857f0000000000000000000000000000000000000000000000000000000000000000165af19182156113b3575b600092611383575b50604051917f6ca7b806000000000000000000000000000000000000000000000000000000008352166004820152fd5b6113a591925060203d81116113ac575b61139d81836103c8565b810190612b3a565b9038611353565b503d611393565b6113bb612058565b61134b565b908161016091031261031d5790565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261031d576004359067ffffffffffffffff821161031d57610719916004016113c0565b503461031d57602061143161142c366113cf565b6128e1565b604051908152f35b5060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57610021600435611473816104d8565b615096565b503461031d576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126115f3573381528060205260408120600181019063ffffffff825416908115611595576115326114f761155a936114e96114e4855460ff9060701c1690565b6153fa565b65ffffffffffff421661545f565b84547fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff16602082901b69ffffffffffff000000001617909455565b7fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff8154169055565b60405165ffffffffffff91909116815233907ffa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a90602090a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6e6f74207374616b6564000000000000000000000000000000000000000000006044820152fd5b80fd5b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d57600435611632816104d8565b610b0a73ffffffffffffffffffffffffffffffffffffffff6116743373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9261172c611697610a6486546dffffffffffffffffffffffffffff9060781c1690565b946116a3861515615479565b611704600182016116dc65ffffffffffff6116c8835465ffffffffffff9060201c1690565b166116d48115156154de565b421015615543565b80547fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000169055565b7fffffff0000000000000000000000000000ffffffffffffffffffffffffffffff8154169055565b6040805173ffffffffffffffffffffffffffffffffffffffff831681526020810186905233917fb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda391a2600080809581948294165af1611789611d7c565b506155a8565b503461031d5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5767ffffffffffffffff60043581811161031d576117e09036906004016113c0565b602435916117ed836104d8565b60443590811161031d5761180861087e91369060040161051b565b611810611bec565b61181985612c4e565b61182c6118268287612e5c565b90614e95565b9461183c826000924384526120b7565b96438252819360609573ffffffffffffffffffffffffffffffffffffffff83166118c3575b5050505060800151936118906040611882602084015165ffffffffffff1690565b92015165ffffffffffff1690565b906040519687967f8b7ac980000000000000000000000000000000000000000000000000000000008852600488016126b6565b839550839496506118dd60409492939451809481936126a8565b03925af19060806118ec611d7c565b929190388080611861565b503461031d57611906366113cf565b61190e611bec565b61191782612c4e565b6119218183612e5c565b825160a0015191939161194e9073ffffffffffffffffffffffffffffffffffffffff16614f47565b614f47565b90611972611949855173ffffffffffffffffffffffffffffffffffffffff90511690565b9461197b612973565b506119aa61198e60409586810190611e9d565b90600060148310611b0757506111886119499261118e926129ab565b916119b491614e95565b805173ffffffffffffffffffffffffffffffffffffffff169073ffffffffffffffffffffffffffffffffffffffff821660018114916080880151978781015191886020820151611a099065ffffffffffff1690565b91015165ffffffffffff16916060015192611a22610418565b9a8b5260208b0152841515898b015265ffffffffffff1660608a015265ffffffffffff16608089015260a088015215159081611afe575b50611a93575061087e92519485947fe0cff05f00000000000000000000000000000000000000000000000000000000865260048601612ae0565b919061087e93611aa284614f47565b611ac9611aad610438565b73ffffffffffffffffffffffffffffffffffffffff9096168652565b6020850152519586957ffaecb4e400000000000000000000000000000000000000000000000000000000875260048701612a4e565b90501538611a59565b915050614f47565b503461031d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031d5773ffffffffffffffffffffffffffffffffffffffff600435611b60816104d8565b16600052600060205260a0604060002065ffffffffffff60018254920154604051926dffffffffffffffffffffffffffff90818116855260ff8160701c161515602086015260781c16604084015263ffffffff8116606084015260201c166080820152f35b60209067ffffffffffffffff8111611bdf575b60051b0190565b611be7610322565b611bd8565b60405190611bf982610352565b604051608083610100830167ffffffffffffffff811184821017611c62575b60405260009283815283602082015283604082015283606082015283838201528360a08201528360c08201528360e082015281528260208201528260408201528260608201520152565b611c6a610322565b611c18565b90611c7982611bc5565b611c8660405191826103c8565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0611cb48294611bc5565b019060005b828110611cc557505050565b602090611cd0611bec565b82828501015201611cb9565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020918151811015611d21575b60051b010190565b611d29611cdc565b611d19565b9190811015611d6f575b60051b810135907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea18136030182121561031d570190565b611d77611cdc565b611d38565b3d15611da7573d90611d8d82610458565b91611d9b60405193846103c8565b82523d6000602084013e565b606090565b73ffffffffffffffffffffffffffffffffffffffff168015611e3f57600080809381935af1611dd9611d7c565b5015611de157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f41413931206661696c65642073656e6420746f2062656e6566696369617279006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4141393020696e76616c69642062656e656669636961727900000000000000006044820152fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d5760200191813603831361031d57565b9081602091031261031d575190565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b60005b838110611f4f5750506000910152565b8181015183820152602001611f3f565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093611f9b81518092818752878088019101611f3c565b0116010190565b90611fbc60809161071996946101c0808652850191611efd565b9360e0815173ffffffffffffffffffffffffffffffffffffffff80825116602087015260208201516040870152604082015160608701526060820151858701528482015160a087015260a08201511660c086015260c081015182860152015161010084015260208101516101208401526040810151610140840152606081015161016084015201516101808201526101a0818403910152611f5f565b506040513d6000823e3d90fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b919082039182116120a257565b610416612065565b919082018092116120a257565b905a918160206120d06060830151936060810190611e9d565b906121098560405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af1600091816121e4575b506121dd575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146121705761216a61215f610719945a90612095565b6080840151906120aa565b916145d7565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9250505090565b61220691925060203d811161220d575b6121fe81836103c8565b810190611eee565b9038612119565b503d6121f4565b909291925a938060206122306060830151946060810190611e9d565b906122698660405195869485947f1d73275600000000000000000000000000000000000000000000000000000000865260048601611fa2565b03816000305af160009181612346575b5061233f575060206000803e7fdeaddead00000000000000000000000000000000000000000000000000000000600051146122d1576122cb6122c061071995965a90612095565b6080830151906120aa565b926148ba565b61087e836040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152600f60408201527f41413935206f7574206f6620676173000000000000000000000000000000000060608201520190565b9450505050565b61235f91925060203d811161220d576121fe81836103c8565b9038612279565b6001907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612394570190565b61239c612065565b0190565b91908110156123e1575b60051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18136030182121561031d570190565b6123e9611cdc565b6123aa565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561031d570180359067ffffffffffffffff821161031d57602001918160051b3603831361031d57565b35610719816104d8565b1561245357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393620696e76616c69642061676772656761746f720000000000000000006044820152fd5b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561031d57016020813591019167ffffffffffffffff821161031d57813603831361031d57565b6107199161252c8161251284610510565b73ffffffffffffffffffffffffffffffffffffffff169052565b602082013560208201526125c761257861255d61254c60408601866124b1565b610160806040880152860191611efd565b61256a60608601866124b1565b908583036060870152611efd565b6080840135608084015260a084013560a084015260c084013560c084015260e084013560e084015261010080850135908401526101206125ba818601866124b1565b9185840390860152611efd565b916125d861014091828101906124b1565b929091818503910152611efd565b949391929083604087016040885252606086019360608160051b8801019482600090815b8483106126295750505050505084602061071995968503910152611efd565b9091929394977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08b820301855288357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea1843603018112156126a457600191846126929201612501565b9860209081019695019301919061260a565b8280fd5b908092918237016000815290565b92909361071996959260c0958552602085015265ffffffffffff8092166040850152166060830152151560808201528160a08201520190611f5f565b156126f957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4141393220696e7465726e616c2063616c6c206f6e6c790000000000000000006044820152fd5b90604061071992600081528160208201520190611f5f565b604090610719939281528160208201520190611f5f565b909291925a936127973033146126f2565b8151946040860151955a6113886060830151890101116128b7576107199660009580516127de575b505050906127d8915a90036080840151019436916104a1565b91614b22565b61280d9161280991612804855173ffffffffffffffffffffffffffffffffffffffff1690565b615672565b1590565b612819575b80806127bf565b6127d892919450612828615684565b90815161283c575b50506001939091612812565b7f1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a20173ffffffffffffffffffffffffffffffffffffffff6020870151926128ad602061289b835173ffffffffffffffffffffffffffffffffffffffff1690565b9201519560405193849316968361276f565b0390a33880612830565b7fdeaddead0000000000000000000000000000000000000000000000000000000060005260206000fd5b806128f0610140820182611e9d565b50037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081016040519182016040528082526020820192833751902060405160208101918252306040820152466060820152606081526080810181811067ffffffffffffffff821117612966575b60405251902090565b61296e610322565b61295d565b604051906040820182811067ffffffffffffffff82111761299e575b60405260006020838281520152565b6129a6610322565b61298f565b9060141161031d5790601490565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090358181169392601481106129ee57505050565b60140360031b82901b16169150565b9060c060a061071993805184526020810151602085015260408101511515604085015265ffffffffffff80606083015116606086015260808201511660808501520151918160a08201520190611f5f565b9294612aaf61041695612a9d610100959998612a8b612a77602097610140808c528b01906129fd565b9b878a019060208091805184520151910152565b80516060890152602001516080880152565b805160a08701526020015160c0860152565b73ffffffffffffffffffffffffffffffffffffffff81511660e0850152015191019060208091805184520151910152565b612b2961041694612b17612b0260a0959998969960e0865260e08601906129fd565b98602085019060208091805184520151910152565b80516060840152602001516080830152565b019060208091805184520151910152565b9081602091031261031d5751610719816104d8565b916020610719938181520191611efd565b90612b8f73ffffffffffffffffffffffffffffffffffffffff9161071997959694606085526060850191611efd565b941660208201526040818503910152611efd565b60009060033d11612bb057565b905060046000803e60005160e01c90565b600060443d10610719576040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc91823d016004833e815167ffffffffffffffff918282113d602484011117612c3d57818401948551938411612c45573d85010160208487010111612c3d5750610719929101602001906103c8565b949350505050565b50949350505050565b612c5b6040820182611e9d565b612c73612c6784612442565b93610120810190611e9d565b9290303b1561031d57600093612cb79160405196879586957f957122ab00000000000000000000000000000000000000000000000000000000875260048701612b60565b0381305afa9081612d40575b50610416576001612cd2612ba3565b6308c379a014612ceb575b612ce357565b610416612058565b612cf3612bc1565b80612cff575b50612cdd565b80516000925015612cf95761087e906040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b80610e8a612d4d92610398565b38612cc3565b929190612d5f90612d9b565b909273ffffffffffffffffffffffffffffffffffffffff8080951691160361095e576108f057612d8e90612d9b565b9116610882576107f25750565b8015612dee57612daa90614e3a565b73ffffffffffffffffffffffffffffffffffffffff65ffffffffffff806040840151164211908115612dde575b5091511691565b9050602083015116421038612dd7565b50600090600090565b15612dfe57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41413934206761732076616c756573206f766572666c6f7700000000000000006044820152fd5b916000915a93815190612e6f828261318e565b612e78816128e1565b6020840152612eb66effffffffffffffffffffffffffffff60808401516060850151176040850151176101008401359060e085013517171115612df7565b612ebf82613250565b612eca818584613311565b9790612ed543600052565b73ffffffffffffffffffffffffffffffffffffffff612f0d60a0606097015173ffffffffffffffffffffffffffffffffffffffff1690565b16612faa575b505a810360a084013510612f3d5760809360c092604087015260608601525a900391013501910152565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413430206f76657220766572696669636174696f6e4761734c696d6974000060608201520190565b90935081612fbb9297508584614037565b95909238612f13565b9290916000925a8251612fd7818461318e565b612fe0836128e1565b602085015261301e6effffffffffffffffffffffffffffff60808301516060840151176040840151176101008601359060e087013517171115612df7565b61302781613250565b6130338186868b61367d565b989061303e43600052565b73ffffffffffffffffffffffffffffffffffffffff61307660a0606096015173ffffffffffffffffffffffffffffffffffffffff1690565b1661310e575b505a840360a0860135106130a85750604085015260608401526080919060c0905a900391013501910152565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601e60448201527f41413430206f76657220766572696669636174696f6e4761734c696d697400006064820152608490fd5b909250816131209298508686856142ca565b9690913861307c565b1561313057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4141393320696e76616c6964207061796d6173746572416e64446174610000006044820152fd5b613200906131b861319e82612442565b73ffffffffffffffffffffffffffffffffffffffff168452565b602081013560208401526080810135604084015260a0810135606084015260c0810135608084015260e081013560c084015261010081013560e0840152610120810190611e9d565b9081156132455761322a61118e6111888460a094613225601461041699981015613129565b6129ab565b73ffffffffffffffffffffffffffffffffffffffff16910152565b505060a06000910152565b60a081015173ffffffffffffffffffffffffffffffffffffffff16156132925760c060035b60ff60408401519116606084015102016080830151019101510290565b60c06001613275565b6132b360409295949395606083526060830190612501565b9460208201520152565b90610416602f60405180947f414132332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b810103600f8101855201836103c8565b916000926000925a936133df6020835193613340855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586133516040830183611e9d565b90846138e8565b60a086015173ffffffffffffffffffffffffffffffffffffffff169061337d43600052565b85809373ffffffffffffffffffffffffffffffffffffffff809416159889613615575b60600151908601516040517f3a871cdd00000000000000000000000000000000000000000000000000000000815297889687958693906004850161329b565b03938a1690f18291816135f5575b506135ec57506001906133fe612ba3565b6308c379a014613598575b5061352b575b61341c575b50505a900391565b6134469073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b613461610a6482546dffffffffffffffffffffffffffff1690565b8083116134be576134b7926dffffffffffffffffffffffffffff9103166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b3880613414565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601760408201527f41413231206469646e2774207061792070726566756e6400000000000000000060608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b6135a0612bc1565b90816135ac5750613409565b61087e916135ba91506132bd565b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301612757565b955061340f9050565b61360e91925060203d811161220d576121fe81836103c8565b90386133ed565b945061365b610a646136478c73ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b546dffffffffffffffffffffffffffff1690565b8b8111156136725750856060835b969150506133a0565b606087918d03613669565b90926000936000935a946136c660208351936136ad855173ffffffffffffffffffffffffffffffffffffffff1690565b956133586136be6040830183611e9d565b90848c613c06565b03938a1690f18291816138c8575b506138bf57506001906136e5612ba3565b6308c379a014613869575b506137fb575b613704575b5050505a900391565b61372e9073ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b9161374a610a6484546dffffffffffffffffffffffffffff1690565b90818311613795575082547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000169190036dffffffffffffffffffffffffffff161790553880806136fb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601760448201527f41413231206469646e2774207061792070726566756e640000000000000000006064820152608490fd5b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601660408201527f4141323320726576657274656420286f72204f4f47290000000000000000000060608201520190565b613871612bc1565b908161387d57506136f0565b869161388991506132bd565b9061087e6040519283927f220266b60000000000000000000000000000000000000000000000000000000084526004840161276f565b96506136f69050565b6138e191925060203d811161220d576121fe81836103c8565b90386136d4565b9091806138f457505050565b81515173ffffffffffffffffffffffffffffffffffffffff1692833b613b9957606083510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613953878760048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613b8c575b600092613b6c575b50808216958615613aff5716809503613a92573b15613a255761118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d936139ec936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a3565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313520696e6974436f6465206d757374206372656174652073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613b8591925060203d81116113ac5761139d81836103c8565b90386139a2565b613b94612058565b61399a565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601f60408201527f414131302073656e64657220616c726561647920636f6e73747275637465640060608201520190565b92909181613c15575b50505050565b82515173ffffffffffffffffffffffffffffffffffffffff1693843b613ebd57606084510151604051907f570e1a3600000000000000000000000000000000000000000000000000000000825260208280613c74888860048401612b4f565b0381600073ffffffffffffffffffffffffffffffffffffffff95867f00000000000000000000000000000000000000000000000000000000000000001690f1918215613eb0575b600092613e90575b50808216968715613e225716809603613db4573b15613d4e575061118e6111887fd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d93613d0e936129ab565b602083810151935160a001516040805173ffffffffffffffffffffffffffffffffffffffff9485168152939091169183019190915290a338808080613c0f565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f4141313520696e6974436f6465206d757374206372656174652073656e6465726064820152608490fd5b61087e826040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152602060408201527f4141313420696e6974436f6465206d7573742072657475726e2073656e64657260608201520190565b61087e846040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601b60408201527f4141313320696e6974436f6465206661696c6564206f72204f4f47000000000060608201520190565b613ea991925060203d81116113ac5761139d81836103c8565b9038613cc3565b613eb8612058565b613cbb565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601f60448201527f414131302073656e64657220616c726561647920636f6e7374727563746564006064820152608490fd5b15613f2a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4141343120746f6f206c6974746c6520766572696669636174696f6e476173006044820152fd5b919060408382031261031d57825167ffffffffffffffff811161031d5783019080601f8301121561031d57815191613fbf83610458565b91613fcd60405193846103c8565b8383526020848301011161031d57602092613fed91848085019101611f3c565b92015190565b90610416602f60405180947f414133332072657665727465643a20000000000000000000000000000000000060208301526133018151809260208686019101611f3c565b93919260609460009460009380519261407660a08a8601519561405b888811613f23565b015173ffffffffffffffffffffffffffffffffffffffff1690565b916140a18373ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b946140bd610a6487546dffffffffffffffffffffffffffff1690565b9685881061425d5773ffffffffffffffffffffffffffffffffffffffff60208a98946141338a966dffffffffffffffffffffffffffff8b61416c9e03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b015194604051998a98899788937ff465c77e0000000000000000000000000000000000000000000000000000000085526004850161329b565b0395169103f1908183918493614237575b5061423057505060019061418f612ba3565b6308c379a01461420e575b506141a157565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601660408201527f4141333320726576657274656420286f72204f4f47290000000000000000000060608201520190565b614216612bc1565b9081614222575061419a565b61087e916135ba9150613ff3565b9450925050565b90925061425691503d8085833e61424e81836103c8565b810190613f88565b913861417d565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b9194929390936060956000956000938251906142f160a08b8401519361405b848611613f23565b9361431c8573ffffffffffffffffffffffffffffffffffffffff166000526000602052604060002090565b614337610a6482546dffffffffffffffffffffffffffff1690565b878110614492579273ffffffffffffffffffffffffffffffffffffffff60208a989693946141338a966dffffffffffffffffffffffffffff8d6143b19e9c9a03166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b0395169103f1908183918493614474575b5061446c5750506001906143d4612ba3565b6308c379a01461444d575b506143e75750565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152601660448201527f4141333320726576657274656420286f72204f4f4729000000000000000000006064820152608490fd5b614455612bc1565b908161446157506143df565b613889925050613ff3565b955093505050565b90925061448b91503d8085833e61424e81836103c8565b91386143c2565b61087e8a6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601e60408201527f41413331207061796d6173746572206465706f73697420746f6f206c6f77000060608201520190565b6003111561450a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b92919061455760409160028652606060208701526060860190611f5f565b930152565b93929190600381101561450a57604091614557918652606060208701526060860190611f5f565b90610416603660405180947f4141353020706f73744f702072657665727465643a200000000000000000000060208301526145c78151809260208686019101611f3c565b81010360168101855201836103c8565b929190925a936000918051916145ec83614df3565b9260a0810195614610875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff9390848116908161477f57505050614651825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f9461469d6020928c61470d95510390614fa5565b0151948960206146df6146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b9a5173ffffffffffffffffffffffffffffffffffffffff1690565b9401519785604051968796169a16988590949392606092608083019683521515602083015260408201520152565b0390a4565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152602060408201527f414135312070726566756e642062656c6f772061637475616c476173436f737460608201520190565b9a91805161478f575b5050614653565b6060850151600099509091803b156148b65791899189836147e2956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f190816148a3575b5061489e5760016147fb612ba3565b6308c379a01461487f575b614812575b3880614788565b6040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614887612bc1565b806148925750614806565b6135ba61087e91614583565b61480b565b80610e8a6148b092610398565b386147ec565b8980fd5b9392915a906000928051906148ce82614df3565b9360a08301966148f2885173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff959086811690816149e857505050614933845173ffffffffffffffffffffffffffffffffffffffff1690565b915b5a9003019485029860408301908a82511061498257507f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94939261469d61470d938c602094510390614fa5565b604080517f220266b600000000000000000000000000000000000000000000000000000000815260048101929092526024820152602060448201527f414135312070726566756e642062656c6f772061637475616c476173436f73746064820152608490fd5b939180516149f8575b5050614935565b606087015160009a509091803b15614b1e57918a918a83614a4b956040518097819682957fa9a234090000000000000000000000000000000000000000000000000000000084528c029060048401614539565b0393f19081614b0b575b50614b06576001614a64612ba3565b6308c379a014614ae9575b614a7b575b38806149f1565b61087e8b6040519182917f220266b600000000000000000000000000000000000000000000000000000000835260048301608091815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614af1612bc1565b80614afc5750614a6f565b6138898d91614583565b614a74565b80610e8a614b1892610398565b38614a55565b8a80fd5b909392915a94805191614b3483614df3565b9260a0810195614b58875173ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff938185169182614c4057505050614b98825173ffffffffffffffffffffffffffffffffffffffff1690565b985b5a90030193840297604084019089825110614712577f49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f94614be46020928c61470d95510390614fa5565b614bed88614500565b015194896020614c146146c4865173ffffffffffffffffffffffffffffffffffffffff1690565b940151604080519182529815602082015297880152606087015290821695909116939081906080820190565b9a918151614c50575b5050614b9a565b878402614c5c8a614500565b60028a14614ce7576060860151823b1561031d57614caf93600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f18015614cda575b614cc7575b505b3880614c49565b80610e8a614cd492610398565b38614cbe565b614ce2612058565b614cb9565b6060860151823b1561031d57614d3293600080948d604051978896879586937fa9a234090000000000000000000000000000000000000000000000000000000085526004850161455c565b0393f19081614de0575b50614ddb576001614d4b612ba3565b6308c379a014614dc8575b15614cc0576040517f220266b60000000000000000000000000000000000000000000000000000000081528061087e600482016080906000815260406020820152601260408201527f4141353020706f73744f7020726576657274000000000000000000000000000060608201520190565b614dd0612bc1565b806148925750614d56565b614cc0565b80610e8a614ded92610398565b38614d3c565b60e060c0820151910151808214614e1757480180821015614e12575090565b905090565b5090565b60405190614e28826103ac565b60006040838281528260208201520152565b614e42614e1b565b5065ffffffffffff808260a01c168015614e8e575b60405192614e64846103ac565b73ffffffffffffffffffffffffffffffffffffffff8116845260d01c602084015216604082015290565b5080614e57565b614eaa614eb091614ea4614e1b565b50614e3a565b91614e3a565b9073ffffffffffffffffffffffffffffffffffffffff9182825116928315614f3c575b65ffffffffffff928391826040816020850151169301511693836040816020840151169201511690808410614f34575b50808511614f2c575b5060405195614f1a876103ac565b16855216602084015216604082015290565b935038614f0c565b925038614f03565b815181169350614ed3565b9073ffffffffffffffffffffffffffffffffffffffff614f65612973565b9216600052600060205263ffffffff600160406000206dffffffffffffffffffffffffffff815460781c1685520154166020830152565b61041633615096565b73ffffffffffffffffffffffffffffffffffffffff16600052600060205260406000206dffffffffffffffffffffffffffff80825416928301809311615089575b80831161502b5761041692166dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6465706f736974206f766572666c6f77000000000000000000000000000000006044820152fd5b615091612065565b614fe6565b73ffffffffffffffffffffffffffffffffffffffff906150b63482614fa5565b168060005260006020527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c460206dffffffffffffffffffffffffffff60406000205416604051908152a2565b1561510957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6d757374207370656369667920756e7374616b652064656c61790000000000006044820152fd5b1561516e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616e6e6f7420646563726561736520756e7374616b652074696d65000000006044820152fd5b156151d357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f207374616b652073706563696669656400000000000000000000000000006044820152fd5b1561523857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f7374616b65206f766572666c6f770000000000000000000000000000000000006044820152fd5b9065ffffffffffff60806001610416946152f66dffffffffffffffffffffffffffff86511682906dffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffff0000000000000000000000000000825416179055565b602085015115156eff000000000000000000000000000082549160701b16807fffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffff83161783557fffffff000000000000000000000000000000ffffffffffffffffffffffffffff7cffffffffffffffffffffffffffff000000000000000000000000000000604089015160781b16921617178155019263ffffffff6060820151167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000008554161784550151167fffffffffffffffffffffffffffffffffffffffffffff000000000000ffffffff69ffffffffffff0000000083549260201b169116179055565b1561540157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f616c726561647920756e7374616b696e670000000000000000000000000000006044820152fd5b91909165ffffffffffff808094169116019182116120a257565b1561548057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f207374616b6520746f2077697468647261770000000000000000000000006044820152fd5b156154e557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6d7573742063616c6c20756e6c6f636b5374616b6528292066697273740000006044820152fd5b1561554a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f5374616b65207769746864726177616c206973206e6f742064756500000000006044820152fd5b156155af57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6661696c656420746f207769746864726177207374616b6500000000000000006044820152fd5b1561561457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6661696c656420746f20776974686472617700000000000000000000000000006044820152fd5b9060009283809360208451940192f190565b3d6108008082116156ab575b50604051906020818301016040528082526000602083013e90565b90503861569056fea2646970667358221220ae4a26a2417d41eec912cee72664fcf55e9abebe95b0def4d185ac695cb88b5564736f6c634300081100336080806040523461001657610210908161001c8239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c63570e1a361461002857600080fd5b346100c95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c95760043567ffffffffffffffff918282116100c957366023830112156100c95781600401359283116100c95736602484840101116100c9576100c561009e84602485016100fc565b60405173ffffffffffffffffffffffffffffffffffffffff90911681529081906020820190565b0390f35b80fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90806014116101bb5767ffffffffffffffff917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec82018381116101cd575b604051937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f81600b8701160116850190858210908211176101c0575b604052808452602084019036848401116101bb576020946000600c819682946014880187378301015251923560601c5af19060005191156101b557565b60009150565b600080fd5b6101c86100cc565b610178565b6101d56100cc565b61013a56fea26469706673582212201927e80b76ab9b71c952137dd676621a9fdf520c25928815636594036eb1c40364736f6c63430008110033",han=function(n){return n.length>1},gan=function(n){ban(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();gW.__esModule=!0;gW.IAccount__factory=void 0;var qit=Ue(),jde=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],van=function(){function n(){}return n.createInterface=function(){return new qit.utils.Interface(jde)},n.connect=function(e,t){return new qit.Contract(e,jde,t)},n.abi=jde,n}();gW.IAccount__factory=van});var Qde=B(vW=>{"use strict";p();u();vW.__esModule=!0;vW.IAggregator__factory=void 0;var Hit=Ue(),Kde=[{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"}],name:"aggregateSignatures",outputs:[{internalType:"bytes",name:"aggregatedSignature",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"validateSignatures",outputs:[],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"validateUserOpSignature",outputs:[{internalType:"bytes",name:"sigForUserOp",type:"bytes"}],stateMutability:"view",type:"function"}],Tan=function(){function n(){}return n.createInterface=function(){return new Hit.utils.Interface(Kde)},n.connect=function(e,t){return new Hit.Contract(e,Kde,t)},n.abi=Kde,n}();vW.IAggregator__factory=Tan});var Jde=B(TW=>{"use strict";p();u();TW.__esModule=!0;TW.IEntryPoint__factory=void 0;var zit=Ue(),Yde=[{inputs:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"paid",type:"uint256"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bool",name:"targetSuccess",type:"bool"},{internalType:"bytes",name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{internalType:"uint256",name:"opIndex",type:"uint256"},{internalType:"string",name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{internalType:"address",name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{internalType:"address",name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{internalType:"uint256",name:"preOpGas",type:"uint256"},{internalType:"uint256",name:"prefund",type:"uint256"},{internalType:"bool",name:"sigFailed",type:"bool"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"bytes",name:"paymasterContext",type:"bytes"}],internalType:"struct IEntryPoint.ReturnInfo",name:"returnInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"senderInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"factoryInfo",type:"tuple"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"paymasterInfo",type:"tuple"},{components:[{internalType:"address",name:"aggregator",type:"address"},{components:[{internalType:"uint256",name:"stake",type:"uint256"},{internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],internalType:"struct IStakeManager.StakeInfo",name:"stakeInfo",type:"tuple"}],internalType:"struct IEntryPoint.AggregatorStakeInfo",name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"address",name:"factory",type:"address"},{indexed:!1,internalType:"address",name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!0,internalType:"address",name:"paymaster",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bool",name:"success",type:"bool"},{indexed:!1,internalType:"uint256",name:"actualGasCost",type:"uint256"},{indexed:!1,internalType:"uint256",name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"userOpHash",type:"bytes32"},{indexed:!0,internalType:"address",name:"sender",type:"address"},{indexed:!1,internalType:"uint256",name:"nonce",type:"uint256"},{indexed:!1,internalType:"bytes",name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"userOps",type:"tuple[]"},{internalType:"contract IAggregator",name:"aggregator",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct IEntryPoint.UserOpsPerAggregator[]",name:"opsPerAggregator",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation[]",name:"ops",type:"tuple[]"},{internalType:"address payable",name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"op",type:"tuple"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],_an=function(){function n(){}return n.createInterface=function(){return new zit.utils.Interface(Yde)},n.connect=function(e,t){return new zit.Contract(e,Yde,t)},n.abi=Yde,n}();TW.IEntryPoint__factory=_an});var Zde=B(_W=>{"use strict";p();u();_W.__esModule=!0;_W.IPaymaster__factory=void 0;var Wit=Ue(),Xde=[{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],wan=function(){function n(){}return n.createInterface=function(){return new Wit.utils.Interface(Xde)},n.connect=function(e,t){return new Wit.Contract(e,Xde,t)},n.abi=Xde,n}();_W.IPaymaster__factory=wan});var t6e=B(wW=>{"use strict";p();u();wW.__esModule=!0;wW.IStakeManager__factory=void 0;var jit=Ue(),e6e=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"_unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],xan=function(){function n(){}return n.createInterface=function(){return new jit.utils.Interface(e6e)},n.connect=function(e,t){return new jit.Contract(e,e6e,t)},n.abi=e6e,n}();wW.IStakeManager__factory=xan});var a6e=B(Xw=>{"use strict";p();u();var Ian=Xw&&Xw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Xw.__esModule=!0;Xw.MaliciousAccount__factory=void 0;var n6e=Ue(),xW=[{inputs:[{internalType:"contract IEntryPoint",name:"_ep",type:"address"}],stateMutability:"payable",type:"constructor"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"}],Git="0x608060405260405161034a38038061034a83398101604081905261002291610047565b600080546001600160a01b0319166001600160a01b0392909216919091179055610077565b60006020828403121561005957600080fd5b81516001600160a01b038116811461007057600080fd5b9392505050565b6102c4806100866000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80633a871cdd14610030575b600080fd5b61004361003e3660046101a1565b610055565b60405190815260200160405180910390f35b600080546040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169063b760faf99084906024016000604051808303818588803b1580156100c257600080fd5b505af11580156100d6573d6000803e3d6000fd5b505050505060008460c001358560a0013586608001356100f69190610224565b6101009190610224565b9050600061010e828561023c565b9050600061012161010088013583610277565b905086602001358114610194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5265766572742061667465722066697273742076616c69646174696f6e000000604482015260640160405180910390fd5b5060009695505050505050565b6000806000606084860312156101b657600080fd5b833567ffffffffffffffff8111156101cd57600080fd5b840161016081870312156101e057600080fd5b95602085013595506040909401359392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610237576102376101f5565b500190565b600082610272577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015610289576102896101f5565b50039056fea2646970667358221220233c1b53bed3630405955a2809bf977fcd3053b67e56cf39bd460d18cc03844c64736f6c634300080f0033",Ean=function(n){return n.length>1},Dan=function(n){Ian(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var Can=Zw&&Zw.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();Zw.__esModule=!0;Zw.SenderCreator__factory=void 0;var r6e=Ue(),IW=[{inputs:[{internalType:"bytes",name:"initCode",type:"bytes"}],name:"createSender",outputs:[{internalType:"address",name:"sender",type:"address"}],stateMutability:"nonpayable",type:"function"}],Kit="0x608060405234801561001057600080fd5b50610213806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063570e1a3614610030575b600080fd5b61004361003e3660046100f9565b61006c565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b60008061007c601482858761016b565b61008591610195565b60601c90506000610099846014818861016b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525084519495509360209350849250905082850182875af190506000519350806100f057600093505b50505092915050565b6000806020838503121561010c57600080fd5b823567ffffffffffffffff8082111561012457600080fd5b818501915085601f83011261013857600080fd5b81358181111561014757600080fd5b86602082850101111561015957600080fd5b60209290920196919550909350505050565b6000808585111561017b57600080fd5b8386111561018857600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000081358181169160148510156101d55780818660140360031b1b83161692505b50509291505056fea2646970667358221220d5d7cb55b3123d86b2710028be2074a469cca162ad2a26c50fb1cfdce4424b9464736f6c634300080f0033",San=function(n){return n.length>1},Aan=function(n){Can(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var kan=ex&&ex.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();ex.__esModule=!0;ex.SimpleAccount__factory=void 0;var s6e=Ue(),EW=[{inputs:[{internalType:"contract IEntryPoint",name:"anEntryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"previousAdmin",type:"address"},{indexed:!1,internalType:"address",name:"newAdmin",type:"address"}],name:"AdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"beacon",type:"address"}],name:"BeaconUpgraded",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IEntryPoint",name:"entryPoint",type:"address"},{indexed:!0,internalType:"address",name:"owner",type:"address"}],name:"SimpleAccountInitialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{inputs:[],name:"addDeposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"dest",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"bytes",name:"func",type:"bytes"}],name:"execute",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"dest",type:"address[]"},{internalType:"bytes[]",name:"func",type:"bytes[]"}],name:"executeBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"anOwner",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"}],name:"upgradeTo",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newImplementation",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawDepositTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Qit="0x60c03461015a57601f62001ed338819003918201601f19168301916001600160401b0383118484101761015f5780849260209460405283398101031261015a57516001600160a01b038116810361015a573060805260a05260005460ff8160081c166101055760ff808216106100ca575b604051611d5d908162000176823960805181818161032601528181610a460152610c23015260a051818181610548015281816107180152818161080101528181610dcf01528181610ef20152818161187301526118d10152f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a138610070565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001b575b361561001957600080fd5b005b60003560e01c806318dfb3c71461011f5780633659cfe6146101165780633a871cdd1461010d5780634a58db19146101045780634d44560d146100fb5780634f1ef286146100f257806352d1902d146100e95780638da5cb5b146100e0578063affed0e0146100d7578063b0d691fe146100ce578063b61d27f6146100c5578063c399ec88146100bc5763c4d66de80361000e576100b7610f75565b61000e565b506100b7610e78565b506100b7610df3565b506100b7610d83565b506100b7610d38565b506100b7610cf8565b506100b7610bdc565b506100b76109c4565b506100b76107a2565b506100b76106d5565b506100b76104dd565b506100b76102d1565b506100b761015e565b9181601f840112156101595782359167ffffffffffffffff8311610159576020808501948460051b01011161015957565b600080fd5b50346101595760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595767ffffffffffffffff600435818111610159576101af903690600401610128565b9091602435908111610159576101c9903690600401610128565b91906101d36118ba565b8282036102555760005b8281106101e657005b8061021a6101ff6101fa600194878a61173f565b61175d565b61021461020d848988611767565b369161098d565b90611c93565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610248575b016101dd565b6102506116df565b610242565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e67746873000000000000000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff81160361015957565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760043561030d816102b3565b73ffffffffffffffffffffffffffffffffffffffff90817f00000000000000000000000000000000000000000000000000000000000000001691610353833014156110d9565b6103827f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc938285541614611164565b61038a611caa565b60405190610397826108cb565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156103d15750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa600091816104ad575b5061049a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b610019936104a8911461120b565b611382565b6104cf91925060203d81116104d6575b6104c78183610903565b8101906111ef565b9038610410565b503d6104bd565b5034610159577ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6060813601126101595760043567ffffffffffffffff811161015957610160816004019282360301126101595773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036106775761058861057d6024358461196d565b926044830190611620565b9050156105b3575b6105af8261059f604435611671565b6040519081529081906020820190565b0390f35b6024600154916bffffffffffffffffffffffff927fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008482169480861461066a575b600186011691161760015501350361060c5738610590565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152fd5b6106726116df565b6105f4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152fd5b506000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f5773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681813b1561079f57602491604051928380927fb760faf900000000000000000000000000000000000000000000000000000000825230600483015234905af18015610792575b610786575080f35b61078f906108aa565b80f35b61079a6111fe565b61077e565b80fd5b503461015957600060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576004356107e0816102b3565b6107e8611caa565b8173ffffffffffffffffffffffffffffffffffffffff807f00000000000000000000000000000000000000000000000000000000000000001692833b15610876576044908360405195869485937f205c287800000000000000000000000000000000000000000000000000000000855216600484015260243560248401525af1801561079257610786575080f35b8280fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff81116108be57604052565b6108c661087a565b604052565b6020810190811067ffffffffffffffff8211176108be57604052565b6060810190811067ffffffffffffffff8211176108be57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176108be57604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610980575b01160190565b61098861087a565b61097a565b92919261099982610944565b916109a76040519384610903565b829481845281830111610159578281602093846000960137010152565b5060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159576004356109fb816102b3565b60243567ffffffffffffffff8111610159573660238201121561015957610a2c90369060248160040135910161098d565b9073ffffffffffffffffffffffffffffffffffffffff91827f00000000000000000000000000000000000000000000000000000000000000001692610a73843014156110d9565b610aa27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc948286541614611164565b610aaa611caa565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610ae05750506100199150611296565b6020600491604094939451928380927f52d1902d00000000000000000000000000000000000000000000000000000000825286165afa60009181610bbc575b50610ba9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608490fd5b61001993610bb7911461120b565b611461565b610bd591925060203d81116104d6576104c78183610903565b9038610b1f565b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003610c74576040517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152602090f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152fd5b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060015460601c604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595760206bffffffffffffffffffffffff60015416604051908152f35b50346101595760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346101595760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610e2f816102b3565b6044359067ffffffffffffffff908183116101595736602384011215610159578260040135918211610159573660248385010111610159576024610019930190602435906116ab565b5034610159576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261079f576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115610f68575b8291610f2e575b604051828152602090f35b90506020813d8211610f60575b81610f4860209383610903565b81010312610f5c576105af91505138610f23565b5080fd5b3d9150610f3b565b610f706111fe565b610f1c565b50346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957600435610fb1816102b3565b61101360005491610fd960ff8460081c1615809481956110cb575b81156110ab575b50611791565b8261100a60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006000541617600055565b6110755761181c565b61101957005b6110467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b6110a66101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b61181c565b303b159150816110bd575b5038610fd3565b6001915060ff1614386110b6565b600160ff8216109150610fcc565b156110e057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152fd5b1561116b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152fd5b90816020910312610159575190565b506040513d6000823e3d90fd5b1561121257565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152fd5b803b156112fe5773ffffffffffffffffffffffffffffffffffffffff7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc91167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152fd5b9061138c82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2805115801590611459575b6113db575050565b61145691600080604051936113ef856108e7565b602785527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208601527f206661696c6564000000000000000000000000000000000000000000000000006040860152602081519101845af46114506114c1565b91611556565b50565b5060006113d3565b9061146b82611296565b73ffffffffffffffffffffffffffffffffffffffff82167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906114b9576113db575050565b5060016113d3565b3d156114ec573d906114d282610944565b916114e06040519384610903565b82523d6000602084013e565b606090565b156114f857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b91929015611579575081511561156a575090565b611576903b15156114f1565b90565b82519091501561158c5750805190602001fd5b604051907f08c379a000000000000000000000000000000000000000000000000000000000825281602080600483015282519283602484015260005b848110611609575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f836000604480968601015201168101030190fd5b8181018301518682016044015285935082016115c8565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610159570180359067ffffffffffffffff82116101595760200191813603831361015957565b806116795750565b600080808093337ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1506114566114c1565b6116bc60009493859461020d6118ba565b91602083519301915af16116ce6114c1565b90156116d75750565b602081519101fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9190811015611750575b60051b0190565b61175861170f565b611749565b35611576816102b3565b909161178092811015611784575b60051b810190611620565b9091565b61178c61170f565b611775565b1561179857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b6bffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006001549260601b169116178060015560601c73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000167f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de600080a3565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163314801561195f575b1561190157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152fd5b5060015460601c33146118fa565b906119f06119e873ffffffffffffffffffffffffffffffffffffffff9260405160208101917f19457468657265756d205369676e6564204d6573736167653a0a3332000000008352603c820152603c81526119c7816108e7565b5190206119e261020d60015460601c96610140810190611620565b90611bc2565b919091611a39565b16036119fb57600090565b600190565b60051115611a0a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b611a4281611a00565b80611a4a5750565b611a5381611a00565b60018103611aba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b611ac381611a00565b60028103611b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b80611b36600392611a00565b14611b3d57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608490fd5b906041815114600014611bec57611780916020820151906060604084015193015160001a90611bf6565b5050600090600290565b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311611c875791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa15611c7a575b815173ffffffffffffffffffffffffffffffffffffffff811615611c74579190565b50600190565b611c826111fe565b611c52565b50505050600090600390565b600091829182602083519301915af16116ce6114c1565b60015460601c33148015611d1e575b15611cc057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152fd5b50303314611cb956fea2646970667358221220593fa2403beef0636f4ff38625c8e0f27859145384a308b0a9f2e56754fd82f664736f6c63430008110033",Pan=function(n){return n.length>1},Ran=function(n){kan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var Lan=tx&&tx.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();tx.__esModule=!0;tx.SimpleAccountFactory__factory=void 0;var o6e=Ue(),DW=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"accountImplementation",outputs:[{internalType:"contract SimpleAccount",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"createAccount",outputs:[{internalType:"contract SimpleAccount",name:"ret",type:"address"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"salt",type:"uint256"}],name:"getAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],Yit="0x60a060405234801561001057600080fd5b50604051612f0f380380612f0f83398101604081905261002f91610088565b8060405161003c9061007b565b6001600160a01b039091168152602001604051809103906000f080158015610068573d6000803e3d6000fd5b506001600160a01b0316608052506100b8565b61218980610d8683390190565b60006020828403121561009a57600080fd5b81516001600160a01b03811681146100b157600080fd5b9392505050565b608051610ca66100e060003960008181604b0152818161011401526102580152610ca66000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806311464fbe146100465780635fbfb9cf146100965780638cb84e18146100a9575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61006d6100a436600461039d565b6100bc565b61006d6100b736600461039d565b6101ee565b6000806100c984846101ee565b905073ffffffffffffffffffffffffffffffffffffffff81163b80156100f1575090506101e8565b60405173ffffffffffffffffffffffffffffffffffffffff8616602482015284907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052516101b790610390565b6101c2929190610412565b8190604051809103906000f59050801580156101e2573d6000803e3d6000fd5b50925050505b92915050565b60006103578260001b6040518060200161020790610390565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f90910116604081905273ffffffffffffffffffffffffffffffffffffffff871660248201527f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052905161030093929101610412565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261033c9291602001610480565b6040516020818303038152906040528051906020012061035e565b9392505050565b60006103578383306000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6107c1806104b083390190565b600080604083850312156103b057600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146103d457600080fd5b946020939093013593505050565b60005b838110156103fd5781810151838201526020016103e5565b8381111561040c576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201526000825180604084015261044d8160608501602087016103e2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b600083516104928184602088016103e2565b8351908301906104a68183602088016103e2565b0194935050505056fe60806040526040516107c13803806107c183398101604081905261002291610321565b61002e82826000610035565b505061043e565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161079a602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ef565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a357825160000361029c576001600160a01b0385163b61029c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102ad565b6102ad83836102b5565b949350505050565b8151156102c55781518083602001fd5b8060405162461bcd60e51b8152600401610148919061040b565b634e487b7160e01b600052604160045260246000fd5b60005b838110156103105781810151838201526020016102f8565b838111156100645750506000910152565b6000806040838503121561033457600080fd5b82516001600160a01b038116811461034b57600080fd5b60208401519092506001600160401b038082111561036857600080fd5b818501915085601f83011261037c57600080fd5b81518181111561038e5761038e6102df565b604051601f8201601f19908116603f011681019083821181831017156103b6576103b66102df565b816040528281528860208487010111156103cf57600080fd5b6103e08360208301602088016102f5565b80955050505050509250929050565b600082516104018184602087016102f5565b9190910192915050565b602081526000825180602084015261042a8160408501602087016102f5565b601f01601f19169190910160400192915050565b61034d8061044d6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102f1602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516101079190610283565b600060405180830381855af49150503d8060008114610142576040519150601f19603f3d011682016040523d82523d6000602084013e610147565b606091505b509150915061015886838387610162565b9695505050505050565b606083156101fd5782516000036101f65773ffffffffffffffffffffffffffffffffffffffff85163b6101f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610207565b610207838361020f565b949350505050565b81511561021f5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed919061029f565b60005b8381101561026e578181015183820152602001610256565b8381111561027d576000848401525b50505050565b60008251610295818460208701610253565b9190910192915050565b60208152600082518060208401526102be816040850160208701610253565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201cd78ab6a31213989661cff2d7d05fc9b9c38b1a848e8249e2e398659a9eb7e364736f6c634300080f0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122030a4cd3aed4a6d9ec37ebc1d87061b12ed9906b5ba9c82d2d00395cabba20fbd64736f6c634300080f003360c0604052306080523480156200001557600080fd5b506040516200218938038062002189833981016040819052620000389162000118565b6001600160a01b03811660a0526200004f62000056565b506200014a565b600054610100900460ff1615620000c35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000116576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200012b57600080fd5b81516001600160a01b03811681146200014357600080fd5b9392505050565b60805160a051611fd3620001b66000396000818161023b01528181610624015281816106cb01528181610aad01528181610d0c0152818161106801526113fc0152600081816103ef0152818161049f0152818161078f0152818161083f01526109880152611fd36000f3fe6080604052600436106100d65760003560e01c806352d1902d1161007f578063b0d691fe11610059578063b0d691fe1461022c578063b61d27f61461025f578063c399ec881461027f578063c4d66de81461029457600080fd5b806352d1902d146101925780638da5cb5b146101a7578063affed0e01461020957600080fd5b80634a58db19116100b05780634a58db19146101575780634d44560d1461015f5780634f1ef2861461017f57600080fd5b806318dfb3c7146100e25780633659cfe6146101045780633a871cdd1461012457600080fd5b366100dd57005b600080fd5b3480156100ee57600080fd5b506101026100fd366004611aaa565b6102b4565b005b34801561011057600080fd5b5061010261011f366004611b38565b6103d8565b34801561013057600080fd5b5061014461013f366004611b55565b6105dd565b6040519081526020015b60405180910390f35b610102610622565b34801561016b57600080fd5b5061010261017a366004611ba9565b6106c1565b61010261018d366004611c04565b610778565b34801561019e57600080fd5b5061014461096e565b3480156101b357600080fd5b506001546101e4906c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161014e565b34801561021557600080fd5b506001546bffffffffffffffffffffffff16610144565b34801561023857600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006101e4565b34801561026b57600080fd5b5061010261027a366004611ce6565b610a5a565b34801561028b57600080fd5b50610144610aa9565b3480156102a057600080fd5b506101026102af366004611b38565b610b61565b6102bc610cf4565b82811461032a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f77726f6e67206172726179206c656e677468730000000000000000000000000060448201526064015b60405180910390fd5b60005b838110156103d1576103bf85858381811061034a5761034a611d6f565b905060200201602081019061035f9190611b38565b600085858581811061037357610373611d6f565b90506020028101906103859190611d9e565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b806103c981611e32565b91505061032d565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361049d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166105127f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16146105b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b6105be81610e44565b604080516000808252602082019092526105da91839190610e4c565b50565b60006105e7611050565b6105f184846110ef565b90506106006040850185611d9e565b905060000361061257610612846111e1565b61061b826112aa565b9392505050565b7f00000000000000000000000000000000000000000000000000000000000000006040517fb760faf900000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff919091169063b760faf99034906024016000604051808303818588803b1580156106ad57600080fd5b505af11580156103d1573d6000803e3d6000fd5b6106c9611315565b7f00000000000000000000000000000000000000000000000000000000000000006040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260248201849052919091169063205c287890604401600060405180830381600087803b15801561075c57600080fd5b505af1158015610770573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300361083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152608401610321565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108b27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152608401610321565b61095e82610e44565b61096a82826001610e4c565b5050565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610a35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610321565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b610a62610cf4565b610aa3848484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dc792505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5c9190611e6a565b905090565b600054610100900460ff1615808015610b815750600054600160ff909116105b80610b9b5750303b158015610b9b575060005460ff166001145b610c27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610321565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610c8557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610c8e826113b0565b801561096a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161480610d5f57506001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6163636f756e743a206e6f74204f776e6572206f7220456e747279506f696e746044820152606401610321565b565b6000808473ffffffffffffffffffffffffffffffffffffffff168484604051610df09190611eaf565b60006040518083038185875af1925050503d8060008114610e2d576040519150601f19603f3d011682016040523d82523d6000602084013e610e32565b606091505b5091509150816103d157805160208201fd5b6105da611315565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e8457610e7f83611448565b505050565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f09575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252610f0691810190611e6a565b60015b610f95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8114611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152608401610321565b50610e7f838383611552565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6163636f756e743a206e6f742066726f6d20456e747279506f696e74000000006044820152606401610321565b600080611149836040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b905061119961115c610140860186611d9e565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506115779050565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff9081169116146111d55760019150506111db565b60009150505b92915050565b600180546020830135916bffffffffffffffffffffffff90911690600061120783611ecb565b91906101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506bffffffffffffffffffffffff16146105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f6163636f756e743a20696e76616c6964206e6f6e6365000000000000000000006044820152606401610321565b80156105da5760405160009033907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90849084818181858888f193505050503d80600081146103d1576040519150601f19603f3d011682016040523d82523d6000602084013e6103d1565b6001546c01000000000000000000000000900473ffffffffffffffffffffffffffffffffffffffff1633148061134a57503330145b610dc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c79206f776e6572000000000000000000000000000000000000000000006044820152606401610321565b600180546bffffffffffffffffffffffff166c0100000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8481168202929092179283905560405192048116917f0000000000000000000000000000000000000000000000000000000000000000909116907f47e55c76e7a6f1fd8996a1da8008c1ea29699cca35e7bcd057f2dec313b6e5de90600090a350565b73ffffffffffffffffffffffffffffffffffffffff81163b6114ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152608401610321565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61155b8361159b565b6000825111806115685750805b15610e7f57610aa383836115e8565b6000806000611586858561160d565b9150915061159381611652565b509392505050565b6115a481611448565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061061b8383604051806060016040528060278152602001611f7760279139611805565b60008082516041036116435760208301516040840151606085015160001a6116378782858561188a565b9450945050505061164b565b506000905060025b9250929050565b600081600481111561166657611666611ef6565b0361166e5750565b600181600481111561168257611682611ef6565b036116e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610321565b60028160048111156116fd576116fd611ef6565b03611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610321565b600381600481111561177857611778611ef6565b036105da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610321565b60606000808573ffffffffffffffffffffffffffffffffffffffff168560405161182f9190611eaf565b600060405180830381855af49150503d806000811461186a576040519150601f19603f3d011682016040523d82523d6000602084013e61186f565b606091505b509150915061188086838387611979565b9695505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156118c15750600090506003611970565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611915573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661196957600060019250925050611970565b9150600090505b94509492505050565b60608315611a0f578251600003611a085773ffffffffffffffffffffffffffffffffffffffff85163b611a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610321565b5081611a19565b611a198383611a21565b949350505050565b815115611a315781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103219190611f25565b60008083601f840112611a7757600080fd5b50813567ffffffffffffffff811115611a8f57600080fd5b6020830191508360208260051b850101111561164b57600080fd5b60008060008060408587031215611ac057600080fd5b843567ffffffffffffffff80821115611ad857600080fd5b611ae488838901611a65565b90965094506020870135915080821115611afd57600080fd5b50611b0a87828801611a65565b95989497509550505050565b73ffffffffffffffffffffffffffffffffffffffff811681146105da57600080fd5b600060208284031215611b4a57600080fd5b813561061b81611b16565b600080600060608486031215611b6a57600080fd5b833567ffffffffffffffff811115611b8157600080fd5b84016101608187031215611b9457600080fd5b95602085013595506040909401359392505050565b60008060408385031215611bbc57600080fd5b8235611bc781611b16565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060408385031215611c1757600080fd5b8235611c2281611b16565b9150602083013567ffffffffffffffff80821115611c3f57600080fd5b818501915085601f830112611c5357600080fd5b813581811115611c6557611c65611bd5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611cab57611cab611bd5565b81604052828152886020848701011115611cc457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060008060608587031215611cfc57600080fd5b8435611d0781611b16565b935060208501359250604085013567ffffffffffffffff80821115611d2b57600080fd5b818701915087601f830112611d3f57600080fd5b813581811115611d4e57600080fd5b886020828501011115611d6057600080fd5b95989497505060200194505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611dd357600080fd5b83018035915067ffffffffffffffff821115611dee57600080fd5b60200191503681900382131561164b57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e6357611e63611e03565b5060010190565b600060208284031215611e7c57600080fd5b5051919050565b60005b83811015611e9e578181015183820152602001611e86565b83811115610aa35750506000910152565b60008251611ec1818460208701611e83565b9190910192915050565b60006bffffffffffffffffffffffff808316818103611eec57611eec611e03565b6001019392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020815260008251806020840152611f44816040850160208701611e83565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fd4b8799a91c8d4b8c5386672729ac9615b60b5f5b7dbac6da122be87a2a90b164736f6c634300080f0033",Man=function(n){return n.length>1},Ban=function(n){Lan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();CW.__esModule=!0;CW.StakeManager__factory=void 0;var Jit=Ue(),d6e=[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"totalStaked",type:"uint256"},{indexed:!1,internalType:"uint256",name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"uint256",name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!1,internalType:"address",name:"withdrawAddress",type:"address"},{indexed:!1,internalType:"uint256",name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"deposits",outputs:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{internalType:"uint112",name:"deposit",type:"uint112"},{internalType:"bool",name:"staked",type:"bool"},{internalType:"uint112",name:"stake",type:"uint112"},{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"},{internalType:"uint48",name:"withdrawTime",type:"uint48"}],internalType:"struct IStakeManager.DepositInfo",name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Nan=function(){function n(){}return n.createInterface=function(){return new Jit.utils.Interface(d6e)},n.connect=function(e,t){return new Jit.Contract(e,d6e,t)},n.abi=d6e,n}();CW.StakeManager__factory=Nan});var u6e=B(nx=>{"use strict";p();u();var Fan=nx&&nx.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();nx.__esModule=!0;nx.TokenPaymaster__factory=void 0;var p6e=Ue(),SW=[{inputs:[{internalType:"address",name:"accountFactory",type:"address"},{internalType:"string",name:"_symbol",type:"string"},{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"spender",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!1,internalType:"uint256",name:"value",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[],name:"COST_OF_POST",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"spender",type:"address"}],name:"allowance",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"approve",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"account",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"decimals",outputs:[{internalType:"uint8",name:"",type:"uint8"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"subtractedValue",type:"uint256"}],name:"decreaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"spender",type:"address"},{internalType:"uint256",name:"addedValue",type:"uint256"}],name:"increaseAllowance",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"recipient",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"mintTokens",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"theFactory",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transfer",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"transferFrom",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Xit="0x60c06040523480156200001157600080fd5b506040516200224438038062002244833981016040819052620000349162000327565b8180826200004233620000a0565b6001600160a01b031660805260046200005c8382620004bc565b5060056200006b8282620004bc565b5050506001600160a01b03831660a05262000088306001620000f0565b620000973033600019620001b9565b505050620005af565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200014c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806003600082825462000160919062000588565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200021d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000143565b6001600160a01b038216620002805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000143565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b6001600160a01b0381168114620002fc57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b80516200032281620002e6565b919050565b6000806000606084860312156200033d57600080fd5b83516200034a81620002e6565b602085810151919450906001600160401b03808211156200036a57600080fd5b818701915087601f8301126200037f57600080fd5b815181811115620003945762000394620002ff565b604051601f8201601f19908116603f01168101908382118183101715620003bf57620003bf620002ff565b816040528281528a86848701011115620003d857600080fd5b600093505b82841015620003fc5784840186015181850187015292850192620003dd565b828411156200040e5760008684830101525b809750505050505050620004256040850162000315565b90509250925092565b600181811c908216806200044357607f821691505b6020821081036200046457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e157600081815260208120601f850160051c81016020861015620004935750805b601f850160051c820191505b81811015620004b4578281556001016200049f565b505050505050565b81516001600160401b03811115620004d857620004d8620002ff565b620004f081620004e984546200042e565b846200046a565b602080601f8311600181146200052857600084156200050f5750858301515b600019600386901b1c1916600185901b178555620004b4565b600085815260208120601f198616915b82811015620005595788860151825594840194600190910190840162000538565b5085821015620005785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115620005aa57634e487b7160e01b600052601160045260246000fd5b500190565b60805160a051611c376200060d6000396000818161039201526116fa015260008181610426015281816105970152818161070b015281816108ea015281816109b101528181610a4101528181610af401526111f80152611c376000f3fe6080604052600436106101a15760003560e01c80639f5ca221116100e1578063c23a5cea1161008a578063dd62ed3e11610064578063dd62ed3e1461049a578063f0dda65c146104ed578063f2fde38b1461050d578063f465c77e1461052d57600080fd5b8063c23a5cea1461045d578063c399ec881461047d578063d0e30db01461049257600080fd5b8063a9a23409116100bb578063a9a23409146103f4578063b0d691fe14610414578063bb9fe6bf1461044857600080fd5b80639f5ca22114610380578063a457c2d7146103b4578063a9059cbb146103d457600080fd5b8063313ce5671161014e578063715018a611610128578063715018a6146102f4578063796d4371146103095780638da5cb5b1461031f57806395d89b411461036b57600080fd5b8063313ce56714610275578063395093511461029157806370a08231146102b157600080fd5b806318160ddd1161017f57806318160ddd14610216578063205c28781461023557806323b872dd1461025557600080fd5b80630396cb60146101a657806306fdde03146101bb578063095ea7b3146101e6575b600080fd5b6101b96101b43660046117a8565b61055b565b005b3480156101c757600080fd5b506101d061060d565b6040516101dd9190611840565b60405180910390f35b3480156101f257600080fd5b50610206610201366004611875565b61069f565b60405190151581526020016101dd565b34801561022257600080fd5b506003545b6040519081526020016101dd565b34801561024157600080fd5b506101b9610250366004611875565b6106b7565b34801561026157600080fd5b506102066102703660046118a1565b61074f565b34801561028157600080fd5b50604051601281526020016101dd565b34801561029d57600080fd5b506102066102ac366004611875565b610773565b3480156102bd57600080fd5b506102276102cc3660046118e2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b34801561030057600080fd5b506101b96107bf565b34801561031557600080fd5b50610227613a9881565b34801561032b57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101dd565b34801561037757600080fd5b506101d06107d3565b34801561038c57600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c057600080fd5b506102066103cf366004611875565b6107e2565b3480156103e057600080fd5b506102066103ef366004611875565b6108b8565b34801561040057600080fd5b506101b961040f3660046118ff565b6108c6565b34801561042057600080fd5b506103467f000000000000000000000000000000000000000000000000000000000000000081565b34801561045457600080fd5b506101b96108e0565b34801561046957600080fd5b506101b96104783660046118e2565b610964565b34801561048957600080fd5b50610227610a10565b6101b9610ac6565b3480156104a657600080fd5b506102276104b536600461198e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b3480156104f957600080fd5b506101b9610508366004611875565b610b4e565b34801561051957600080fd5b506101b96105283660046118e2565b610b64565b34801561053957600080fd5b5061054d6105483660046119c7565b610bcd565b6040516101dd929190611a1b565b610563610bf0565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156105f157600080fd5b505af1158015610605573d6000803e3d6000fd5b505050505050565b60606004805461061c90611a3d565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611a3d565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b6000336106ad818585610c71565b5060019392505050565b6106bf610bf0565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156105f157600080fd5b60003361075d858285610e24565b610768858585610ef5565b506001949350505050565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906106ad90829086906107ba908790611a90565b610c71565b6107c7610bf0565b6107d1600061116b565b565b60606005805461061c90611a3d565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156108ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107688286868403610c71565b6000336106ad818585610ef5565b6108ce6111e0565b6108da8484848461127f565b50505050565b6108e8610bf0565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561095057600080fd5b505af11580156108da573d6000803e3d6000fd5b61096c610bf0565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac19190611acf565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b1580156109f557600080fd5b610b56610bf0565b610b6082826112b2565b5050565b610b6c610bf0565b610b9630610b8f60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000610c71565b610b9f816113a7565b610bca30827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610c71565b50565b60606000610bd96111e0565b610be485858561145b565b91509150935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8216610db6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600260209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108da5781811015610ee8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a2565b6108da8484848403610c71565b73ffffffffffffffffffffffffffffffffffffffff8316610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff821661103b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902054818110156110f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108a2565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115e9086815260200190565b60405180910390a36108da565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146107d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e74000000000000000000000060448201526064016108a2565b600061128d838501856118e2565b905060006112a56112a0613a9885611a90565b6116a4565b9050610605823083610ef5565b73ffffffffffffffffffffffffffffffffffffffff821661132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108a2565b80600360008282546113419190611a90565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6113af610bf0565b73ffffffffffffffffffffffffffffffffffffffff8116611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108a2565b610bca8161116b565b6060600080611469846116a4565b9050613a988660a0013511611500576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f546f6b656e5061796d61737465723a2067617320746f6f206c6f7720666f722060448201527f706f73744f70000000000000000000000000000000000000000000000000000060648201526084016108a2565b61150d6040870187611ae8565b1590506115c15761151d866116b7565b8061152e6102cc60208901896118e2565b10156115bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636520287072652d60448201527f637265617465290000000000000000000000000000000000000000000000000060648201526084016108a2565b61163a565b806115d26102cc60208901896118e2565b101561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f546f6b656e5061796d61737465723a206e6f2062616c616e636500000000000060448201526064016108a2565b61164760208701876118e2565b6040805173ffffffffffffffffffffffffffffffffffffffff909216602083015201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190529660009650945050505050565b60006116b1606483611b54565b92915050565b60006116c66040830183611ae8565b6116d591601491600091611b8f565b6116de91611bb9565b60601c905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168114610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f546f6b656e5061796d61737465723a2077726f6e67206163636f756e7420666160448201527f63746f727900000000000000000000000000000000000000000000000000000060648201526084016108a2565b6000602082840312156117ba57600080fd5b813563ffffffff811681146117ce57600080fd5b9392505050565b6000815180845260005b818110156117fb576020818501810151868301820152016117df565b8181111561180d576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006117ce60208301846117d5565b73ffffffffffffffffffffffffffffffffffffffff81168114610bca57600080fd5b6000806040838503121561188857600080fd5b823561189381611853565b946020939093013593505050565b6000806000606084860312156118b657600080fd5b83356118c181611853565b925060208401356118d181611853565b929592945050506040919091013590565b6000602082840312156118f457600080fd5b81356117ce81611853565b6000806000806060858703121561191557600080fd5b84356003811061192457600080fd5b9350602085013567ffffffffffffffff8082111561194157600080fd5b818701915087601f83011261195557600080fd5b81358181111561196457600080fd5b88602082850101111561197657600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156119a157600080fd5b82356119ac81611853565b915060208301356119bc81611853565b809150509250929050565b6000806000606084860312156119dc57600080fd5b833567ffffffffffffffff8111156119f357600080fd5b84016101608187031215611a0657600080fd5b95602085013595506040909401359392505050565b604081526000611a2e60408301856117d5565b90508260208301529392505050565b600181811c90821680611a5157607f821691505b602082108103611a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008219821115611aca577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500190565b600060208284031215611ae157600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611b1d57600080fd5b83018035915067ffffffffffffffff821115611b3857600080fd5b602001915036819003821315611b4d57600080fd5b9250929050565b600082611b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008085851115611b9f57600080fd5b83861115611bac57600080fd5b5050820193919092039150565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008135818116916014851015611bf95780818660140360031b1b83161692505b50509291505056fea2646970667358221220a332863119321216e5189708c2880dbc64e46a1707c0f292f429daa2c9a7ea3764736f6c634300080f0033",Oan=function(n){return n.length>1},Van=function(n){Fan(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var $an=ax&&ax.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}();ax.__esModule=!0;ax.VerifyingPaymaster__factory=void 0;var y6e=Ue(),AW=[{inputs:[{internalType:"contract IEntryPoint",name:"_entryPoint",type:"address"},{internalType:"address",name:"_verifyingSigner",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{inputs:[{internalType:"uint32",name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"deposit",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"entryPoint",outputs:[{internalType:"contract IEntryPoint",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDeposit",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"}],name:"getHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"paymasterAndData",type:"bytes"}],name:"parsePaymasterAndData",outputs:[{internalType:"uint48",name:"validUntil",type:"uint48"},{internalType:"uint48",name:"validAfter",type:"uint48"},{internalType:"bytes",name:"signature",type:"bytes"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"enum IPaymaster.PostOpMode",name:"mode",type:"uint8"},{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"actualGasCost",type:"uint256"}],name:"postOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"senderNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"sender",type:"address"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"initCode",type:"bytes"},{internalType:"bytes",name:"callData",type:"bytes"},{internalType:"uint256",name:"callGasLimit",type:"uint256"},{internalType:"uint256",name:"verificationGasLimit",type:"uint256"},{internalType:"uint256",name:"preVerificationGas",type:"uint256"},{internalType:"uint256",name:"maxFeePerGas",type:"uint256"},{internalType:"uint256",name:"maxPriorityFeePerGas",type:"uint256"},{internalType:"bytes",name:"paymasterAndData",type:"bytes"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct UserOperation",name:"userOp",type:"tuple"},{internalType:"bytes32",name:"userOpHash",type:"bytes32"},{internalType:"uint256",name:"maxCost",type:"uint256"}],name:"validatePaymasterUserOp",outputs:[{internalType:"bytes",name:"context",type:"bytes"},{internalType:"uint256",name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"verifyingSigner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address payable",name:"withdrawAddress",type:"address"},{internalType:"uint256",name:"amount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"}],Zit="0x60c06040523480156200001157600080fd5b5060405162001723380380620017238339810160408190526200003491620000c2565b81620000403362000059565b6001600160a01b039081166080521660a0525062000101565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000bf57600080fd5b50565b60008060408385031215620000d657600080fd5b8251620000e381620000a9565b6020840151909250620000f681620000a9565b809150509250929050565b60805160a0516115c46200015f6000396000818161013f0152610ca20152600081816102880152818161038601528181610450015281816105730152818161063a015281816106ca0152818161077d0152610a0401526115c46000f3fe6080604052600436106100f35760003560e01c8063a9a234091161008a578063c399ec8811610059578063c399ec88146102df578063d0e30db0146102f4578063f2fde38b146102fc578063f465c77e1461031c57600080fd5b8063a9a2340914610256578063b0d691fe14610276578063bb9fe6bf146102aa578063c23a5cea146102bf57600080fd5b80638da5cb5b116100c65780638da5cb5b146101a057806394d4ad60146101cb57806394e1fc19146101fb5780639c90b4431461022957600080fd5b80630396cb60146100f8578063205c28781461010d57806323d9ac9b1461012d578063715018a61461018b575b600080fd5b61010b610106366004611075565b61034a565b005b34801561011957600080fd5b5061010b6101283660046110c4565b6103fc565b34801561013957600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561019757600080fd5b5061010b610494565b3480156101ac57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610161565b3480156101d757600080fd5b506101eb6101e6366004611132565b6104a8565b6040516101829493929190611174565b34801561020757600080fd5b5061021b610216366004611212565b6104e5565b604051908152602001610182565b34801561023557600080fd5b5061021b610244366004611270565b60016020526000908152604090205481565b34801561026257600080fd5b5061010b61027136600461128d565b61054f565b34801561028257600080fd5b506101617f000000000000000000000000000000000000000000000000000000000000000081565b3480156102b657600080fd5b5061010b610569565b3480156102cb57600080fd5b5061010b6102da366004611270565b6105ed565b3480156102eb57600080fd5b5061021b610699565b61010b61074f565b34801561030857600080fd5b5061010b610317366004611270565b6107d7565b34801561032857600080fd5b5061033c6103373660046112ed565b610893565b6040516101829291906113a6565b6103526108b7565b6040517f0396cb6000000000000000000000000000000000000000000000000000000000815263ffffffff821660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690630396cb609034906024016000604051808303818588803b1580156103e057600080fd5b505af11580156103f4573d6000803e3d6000fd5b505050505050565b6104046108b7565b6040517f205c287800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063205c287890604401600060405180830381600087803b1580156103e057600080fd5b61049c6108b7565b6104a66000610938565b565b60008036816104bb6054601487896113c8565b8101906104c891906113f2565b90945092506104da85605481896113c8565b949793965094505050565b60006104f0846109ad565b73ffffffffffffffffffffffffffffffffffffffff8535166000908152600160209081526040918290205491516105309392469230928991899101611425565b6040516020818303038152906040528051906020012090509392505050565b6105576109ec565b61056384848484610a8b565b50505050565b6105716108b7565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bb9fe6bf6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156105d957600080fd5b505af1158015610563573d6000803e3d6000fd5b6105f56108b7565b6040517fc23a5cea00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c23a5cea90602401600060405180830381600087803b15801561067e57600080fd5b505af1158015610692573d6000803e3d6000fd5b5050505050565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610726573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074a9190611482565b905090565b6040517fb760faf90000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b760faf99034906024016000604051808303818588803b15801561067e57600080fd5b6107df6108b7565b73ffffffffffffffffffffffffffffffffffffffff8116610887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61089081610938565b50565b6060600061089f6109ec565b6108aa858585610aed565b915091505b935093915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087e565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60603660006109c061012085018561149b565b915091508360208184030360405194506020810185016040528085528082602087013750505050919050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f53656e646572206e6f7420456e747279506f696e740000000000000000000000604482015260640161087e565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6d757374206f7665727269646500000000000000000000000000000000000000604482015260640161087e565b6060600080803681610b066101e66101208b018b61149b565b929650909450925090506040811480610b1f5750604181145b610bad57604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f566572696679696e675061796d61737465723a20696e76616c6964207369676e60448201527f6174757265206c656e67746820696e207061796d6173746572416e6444617461606482015260840161087e565b6000610c10610bbd8b87876104e5565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff8b35166000908152600160205260408120805492935090610c4583611500565b9190505550610c8a8184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610d3292505050565b73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610d0757610ce860018686610d56565b60405180602001604052806000815250909650965050505050506108af565b610d1360008686610d56565b6040805160208101909152600081529b909a5098505050505050505050565b6000806000610d418585610d8e565b91509150610d4e81610dd3565b509392505050565b600060d08265ffffffffffff16901b60a08465ffffffffffff16901b85610d7e576000610d81565b60015b60ff161717949350505050565b6000808251604103610dc45760208301516040840151606085015160001a610db887828585610f86565b94509450505050610dcc565b506000905060025b9250929050565b6000816004811115610de757610de761155f565b03610def5750565b6001816004811115610e0357610e0361155f565b03610e6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161087e565b6002816004811115610e7e57610e7e61155f565b03610ee5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161087e565b6003816004811115610ef957610ef961155f565b03610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161087e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610fbd575060009050600361106c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611011573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166110655760006001925092505061106c565b9150600090505b94509492505050565b60006020828403121561108757600080fd5b813563ffffffff8116811461109b57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116811461089057600080fd5b600080604083850312156110d757600080fd5b82356110e2816110a2565b946020939093013593505050565b60008083601f84011261110257600080fd5b50813567ffffffffffffffff81111561111a57600080fd5b602083019150836020828501011115610dcc57600080fd5b6000806020838503121561114557600080fd5b823567ffffffffffffffff81111561115c57600080fd5b611168858286016110f0565b90969095509350505050565b600065ffffffffffff8087168352808616602084015250606060408301528260608301528284608084013760006080848401015260807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f850116830101905095945050505050565b600061016082840312156111f157600080fd5b50919050565b803565ffffffffffff8116811461120d57600080fd5b919050565b60008060006060848603121561122757600080fd5b833567ffffffffffffffff81111561123e57600080fd5b61124a868287016111de565b935050611259602085016111f7565b9150611267604085016111f7565b90509250925092565b60006020828403121561128257600080fd5b813561109b816110a2565b600080600080606085870312156112a357600080fd5b8435600381106112b257600080fd5b9350602085013567ffffffffffffffff8111156112ce57600080fd5b6112da878288016110f0565b9598909750949560400135949350505050565b60008060006060848603121561130257600080fd5b833567ffffffffffffffff81111561131957600080fd5b611325868287016111de565b9660208601359650604090950135949350505050565b6000815180845260005b8181101561136157602081850181015186830182015201611345565b81811115611373576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6040815260006113b9604083018561133b565b90508260208301529392505050565b600080858511156113d857600080fd5b838611156113e557600080fd5b5050820193919092039150565b6000806040838503121561140557600080fd5b61140e836111f7565b915061141c602084016111f7565b90509250929050565b60c08152600061143860c083018961133b565b60208301979097525073ffffffffffffffffffffffffffffffffffffffff949094166040850152606084019290925265ffffffffffff90811660808401521660a090910152919050565b60006020828403121561149457600080fd5b5051919050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126114d057600080fd5b83018035915067ffffffffffffffff8211156114eb57600080fd5b602001915036819003821315610dcc57600080fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611558577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212201f0be91b92179d101ae4aa96dcbd313210e5b62f1b15c18338e0acb937cb466a64736f6c634300080f0033",Uan=function(n){return n.length>1},qan=function(n){$an(e,n);function e(){for(var t=[],a=0;a{"use strict";p();u();var vf=vn&&vn.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]});vn.__esModule=!0;vn.VerifyingPaymaster__factory=vn.TokenPaymaster__factory=vn.StakeManager__factory=vn.SimpleAccountFactory__factory=vn.SimpleAccount__factory=vn.SenderCreator__factory=vn.MaliciousAccount__factory=vn.IStakeManager__factory=vn.IPaymaster__factory=vn.IEntryPoint__factory=vn.IAggregator__factory=vn.IAccount__factory=vn.EntryPoint__factory=vn.DepositPaymaster__factory=vn.BrokenBLSAccountFactory__factory=vn.BrokenBLSAccount__factory=vn.BasePaymaster__factory=vn.BaseAccount__factory=void 0;var Han=Bde();vf(vn,Han,"BaseAccount__factory");var zan=Fde();vf(vn,zan,"BasePaymaster__factory");var Wan=Vde();vf(vn,Wan,"BrokenBLSAccount__factory");var jan=Ude();vf(vn,jan,"BrokenBLSAccountFactory__factory");var Gan=Hde();vf(vn,Gan,"DepositPaymaster__factory");var Kan=Wde();vf(vn,Kan,"EntryPoint__factory");var Qan=Gde();vf(vn,Qan,"IAccount__factory");var Yan=Qde();vf(vn,Yan,"IAggregator__factory");var Jan=Jde();vf(vn,Jan,"IEntryPoint__factory");var Xan=Zde();vf(vn,Xan,"IPaymaster__factory");var Zan=t6e();vf(vn,Zan,"IStakeManager__factory");var ern=a6e();vf(vn,ern,"MaliciousAccount__factory");var trn=i6e();vf(vn,trn,"SenderCreator__factory");var nrn=f6e();vf(vn,nrn,"SimpleAccount__factory");var arn=c6e();vf(vn,arn,"SimpleAccountFactory__factory");var rrn=l6e();vf(vn,rrn,"StakeManager__factory");var irn=u6e();vf(vn,irn,"TokenPaymaster__factory");var srn=m6e();vf(vn,srn,"VerifyingPaymaster__factory")});var tst=B(fn=>{"use strict";p();u();var Tf=fn&&fn.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]});fn.__esModule=!0;fn.VerifyingPaymaster__factory=fn.TokenPaymaster__factory=fn.StakeManager__factory=fn.SimpleAccountFactory__factory=fn.SimpleAccount__factory=fn.SenderCreator__factory=fn.MaliciousAccount__factory=fn.IStakeManager__factory=fn.IPaymaster__factory=fn.IEntryPoint__factory=fn.IAggregator__factory=fn.IAccount__factory=fn.EntryPoint__factory=fn.DepositPaymaster__factory=fn.BrokenBLSAccountFactory__factory=fn.BrokenBLSAccount__factory=fn.BasePaymaster__factory=fn.BaseAccount__factory=fn.factories=void 0;fn.factories=est();var frn=Bde();Tf(fn,frn,"BaseAccount__factory");var orn=Fde();Tf(fn,orn,"BasePaymaster__factory");var crn=Vde();Tf(fn,crn,"BrokenBLSAccount__factory");var drn=Ude();Tf(fn,drn,"BrokenBLSAccountFactory__factory");var lrn=Hde();Tf(fn,lrn,"DepositPaymaster__factory");var prn=Wde();Tf(fn,prn,"EntryPoint__factory");var urn=Gde();Tf(fn,urn,"IAccount__factory");var yrn=Qde();Tf(fn,yrn,"IAggregator__factory");var mrn=Jde();Tf(fn,mrn,"IEntryPoint__factory");var brn=Zde();Tf(fn,brn,"IPaymaster__factory");var hrn=t6e();Tf(fn,hrn,"IStakeManager__factory");var grn=a6e();Tf(fn,grn,"MaliciousAccount__factory");var vrn=i6e();Tf(fn,vrn,"SenderCreator__factory");var Trn=f6e();Tf(fn,Trn,"SimpleAccount__factory");var _rn=c6e();Tf(fn,_rn,"SimpleAccountFactory__factory");var wrn=l6e();Tf(fn,wrn,"StakeManager__factory");var xrn=u6e();Tf(fn,xrn,"TokenPaymaster__factory");var Irn=m6e();Tf(fn,Irn,"VerifyingPaymaster__factory")});var H3=B(Z7=>{"use strict";p();u();var Ern=Z7&&Z7.__createBinding||(Object.create?function(n,e,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,a,r)}:function(n,e,t,a){a===void 0&&(a=t),n[a]=e[t]}),Drn=Z7&&Z7.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Ern(e,n,t)};Z7.__esModule=!0;Drn(tst(),Z7)});async function e9(n,e,t,a,r,i){let s=!1;typeof globalThis<"u"&&"TW_SKIP_FETCH_SETUP"in globalThis&&typeof globalThis.TW_SKIP_FETCH_SETUP=="boolean"&&(s=globalThis.TW_SKIP_FETCH_SETUP);let f=oW(a,r),o={};if(q3(f)){let l=typeof globalThis<"u"&&"APP_BUNDLE_ID"in globalThis?globalThis.APP_BUNDLE_ID:void 0;i?o["x-secret-key"]=i:r&&(o["x-client-id"]=r,l&&(o["x-bundle-id"]=l)),typeof globalThis<"u"&&"TW_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_AUTH_TOKEN}`),typeof globalThis<"u"&&"TW_CLI_AUTH_TOKEN"in globalThis&&typeof globalThis.TW_CLI_AUTH_TOKEN=="string"&&(o.authorization=`Bearer ${globalThis.TW_CLI_AUTH_TOKEN}`,o["x-authorize-wallet"]="true"),J7(o)}let c=new rx.providers.StaticJsonRpcProvider({url:f,skipFetchSetup:s,headers:o},a),d=new rx.Contract(t,Srn,c);try{return await d.isValidSignature(rx.utils.hashMessage(n),e)===Arn}catch{return!1}}async function z3(n,e,t){let r=(await vi(n,{clientId:e,secretKey:t}).getNetwork()).chainId;return r===324||r===300||r===302||r===11124}var rx,Crn,Srn,Arn,kW,PW,nst,b6e,h6e,W3=ce(()=>{"use strict";p();u();rx=Te(Ue());Mk();Ay();qn();Q7();Crn=Te(H3()),Srn=["function isValidSignature(bytes32 _hash, bytes _signature) public view returns (bytes4)"],Arn="0x1626ba7e";kW="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",PW="0x02101dfB77FDE026414827Fdc604ddAF224F0921",nst=5e4,b6e="0x85e23b94e7F5E9cC1fF78BCe78cfb15B81f0DF00",h6e=[{type:"constructor",inputs:[{name:"_entrypoint",type:"address",internalType:"contract IEntryPoint"},{name:"_factory",type:"address",internalType:"address"}],stateMutability:"nonpayable"},{type:"receive",stateMutability:"payable"},{type:"function",name:"addDeposit",inputs:[],outputs:[],stateMutability:"payable"},{type:"function",name:"contractURI",inputs:[],outputs:[{name:"",type:"string",internalType:"string"}],stateMutability:"view"},{type:"function",name:"entryPoint",inputs:[],outputs:[{name:"",type:"address",internalType:"contract IEntryPoint"}],stateMutability:"view"},{type:"function",name:"execute",inputs:[{name:"_target",type:"address",internalType:"address"},{name:"_value",type:"uint256",internalType:"uint256"},{name:"_calldata",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"executeBatch",inputs:[{name:"_target",type:"address[]",internalType:"address[]"},{name:"_value",type:"uint256[]",internalType:"uint256[]"},{name:"_calldata",type:"bytes[]",internalType:"bytes[]"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"factory",inputs:[],outputs:[{name:"",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"getAllActiveSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getAllAdmins",inputs:[],outputs:[{name:"",type:"address[]",internalType:"address[]"}],stateMutability:"view"},{type:"function",name:"getAllSigners",inputs:[],outputs:[{name:"signers",type:"tuple[]",internalType:"struct IAccountPermissions.SignerPermissions[]",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"getMessageHash",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"}],outputs:[{name:"",type:"bytes32",internalType:"bytes32"}],stateMutability:"view"},{type:"function",name:"getNonce",inputs:[],outputs:[{name:"",type:"uint256",internalType:"uint256"}],stateMutability:"view"},{type:"function",name:"getPermissionsForSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissions",components:[{name:"signer",type:"address",internalType:"address"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"startTimestamp",type:"uint128",internalType:"uint128"},{name:"endTimestamp",type:"uint128",internalType:"uint128"}]}],stateMutability:"view"},{type:"function",name:"initialize",inputs:[{name:"_defaultAdmin",type:"address",internalType:"address"},{name:"_data",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"isActiveSigner",inputs:[{name:"signer",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isAdmin",inputs:[{name:"_account",type:"address",internalType:"address"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"isValidSignature",inputs:[{name:"_hash",type:"bytes32",internalType:"bytes32"},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"magicValue",type:"bytes4",internalType:"bytes4"}],stateMutability:"view"},{type:"function",name:"isValidSigner",inputs:[{name:"_signer",type:"address",internalType:"address"},{name:"_userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"multicall",inputs:[{name:"data",type:"bytes[]",internalType:"bytes[]"}],outputs:[{name:"results",type:"bytes[]",internalType:"bytes[]"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155BatchReceived",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"uint256[]",internalType:"uint256[]"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC1155Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"onERC721Received",inputs:[{name:"",type:"address",internalType:"address"},{name:"",type:"address",internalType:"address"},{name:"",type:"uint256",internalType:"uint256"},{name:"",type:"bytes",internalType:"bytes"}],outputs:[{name:"",type:"bytes4",internalType:"bytes4"}],stateMutability:"nonpayable"},{type:"function",name:"setContractURI",inputs:[{name:"_uri",type:"string",internalType:"string"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setEntrypointOverride",inputs:[{name:"_entrypointOverride",type:"address",internalType:"contract IEntryPoint"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"setPermissionsForSigner",inputs:[{name:"_req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"_signature",type:"bytes",internalType:"bytes"}],outputs:[],stateMutability:"nonpayable"},{type:"function",name:"supportsInterface",inputs:[{name:"interfaceId",type:"bytes4",internalType:"bytes4"}],outputs:[{name:"",type:"bool",internalType:"bool"}],stateMutability:"view"},{type:"function",name:"validateUserOp",inputs:[{name:"userOp",type:"tuple",internalType:"struct UserOperation",components:[{name:"sender",type:"address",internalType:"address"},{name:"nonce",type:"uint256",internalType:"uint256"},{name:"initCode",type:"bytes",internalType:"bytes"},{name:"callData",type:"bytes",internalType:"bytes"},{name:"callGasLimit",type:"uint256",internalType:"uint256"},{name:"verificationGasLimit",type:"uint256",internalType:"uint256"},{name:"preVerificationGas",type:"uint256",internalType:"uint256"},{name:"maxFeePerGas",type:"uint256",internalType:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256",internalType:"uint256"},{name:"paymasterAndData",type:"bytes",internalType:"bytes"},{name:"signature",type:"bytes",internalType:"bytes"}]},{name:"userOpHash",type:"bytes32",internalType:"bytes32"},{name:"missingAccountFunds",type:"uint256",internalType:"uint256"}],outputs:[{name:"validationData",type:"uint256",internalType:"uint256"}],stateMutability:"nonpayable"},{type:"function",name:"verifySignerPermissionRequest",inputs:[{name:"req",type:"tuple",internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]},{name:"signature",type:"bytes",internalType:"bytes"}],outputs:[{name:"success",type:"bool",internalType:"bool"},{name:"signer",type:"address",internalType:"address"}],stateMutability:"view"},{type:"function",name:"withdrawDepositTo",inputs:[{name:"withdrawAddress",type:"address",internalType:"address payable"},{name:"amount",type:"uint256",internalType:"uint256"}],outputs:[],stateMutability:"nonpayable"},{type:"event",name:"AdminUpdated",inputs:[{name:"signer",type:"address",indexed:!0,internalType:"address"},{name:"isAdmin",type:"bool",indexed:!1,internalType:"bool"}],anonymous:!1},{type:"event",name:"ContractURIUpdated",inputs:[{name:"prevURI",type:"string",indexed:!1,internalType:"string"},{name:"newURI",type:"string",indexed:!1,internalType:"string"}],anonymous:!1},{type:"event",name:"Initialized",inputs:[{name:"version",type:"uint8",indexed:!1,internalType:"uint8"}],anonymous:!1},{type:"event",name:"SignerPermissionsUpdated",inputs:[{name:"authorizingSigner",type:"address",indexed:!0,internalType:"address"},{name:"targetSigner",type:"address",indexed:!0,internalType:"address"},{name:"permissions",type:"tuple",indexed:!1,internalType:"struct IAccountPermissions.SignerPermissionRequest",components:[{name:"signer",type:"address",internalType:"address"},{name:"isAdmin",type:"uint8",internalType:"uint8"},{name:"approvedTargets",type:"address[]",internalType:"address[]"},{name:"nativeTokenLimitPerTransaction",type:"uint256",internalType:"uint256"},{name:"permissionStartTimestamp",type:"uint128",internalType:"uint128"},{name:"permissionEndTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityStartTimestamp",type:"uint128",internalType:"uint128"},{name:"reqValidityEndTimestamp",type:"uint128",internalType:"uint128"},{name:"uid",type:"bytes32",internalType:"bytes32"}]}],anonymous:!1}]});function ua(n,e,t,a){function r(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(d){try{c(a.next(d))}catch(l){s(l)}}function o(d){try{c(a.throw(d))}catch(l){s(l)}}function c(d){d.done?i(d.value):r(d.value).then(f,o)}c((a=a.apply(n,e||[])).next())})}function ii(n,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?n!==e||!a:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(n):a?a.value:e.get(n)}function ix(n,e){if(!n)throw new Error(e)}function RW(n){let e=document.createElement("iframe");return e.setAttribute("src",n),e.setAttribute("style",Nrn),e}function LW(n){document.body.appendChild(n)}function bd(n){let e=n&&n.parentNode;e&&e.removeChild instanceof Function&&e.removeChild(n)}function MW(n,e,t){return ua(this,void 0,void 0,function*(){if((n.status===403||n.status===401)&&(t&&t(),qW(e)),!n.ok){let a=yield n.json(),r=new Error(a?.message||"unknown error");throw r.error_code=a?.error_code,r}return n.json()})}function yst(){L6e=!0;for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=n.length;e0)throw new Error("Invalid string. Length must be a multiple of 4");i=n[f-2]==="="?2:n[f-1]==="="?1:0,s=new Urn(f*3/4-i),a=i>0?f-4:f;var o=0;for(e=0,t=0;e>16&255,s[o++]=r>>8&255,s[o++]=r&255;return i===2?(r=V6[n.charCodeAt(e)]<<2|V6[n.charCodeAt(e+1)]>>4,s[o++]=r&255):i===1&&(r=V6[n.charCodeAt(e)]<<10|V6[n.charCodeAt(e+1)]<<4|V6[n.charCodeAt(e+2)]>>2,s[o++]=r>>8&255,s[o++]=r&255),s}function Hrn(n){return fu[n>>18&63]+fu[n>>12&63]+fu[n>>6&63]+fu[n&63]}function zrn(n,e,t){for(var a,r=[],i=e;io?o:f+s));return a===1?(e=n[t-1],r+=fu[e>>2],r+=fu[e<<4&63],r+="=="):a===2&&(e=(n[t-2]<<8)+n[t-1],r+=fu[e>>10],r+=fu[e>>4&63],r+=fu[e<<2&63],r+="="),i.push(r),i.join("")}function HW(n,e,t,a,r){var i,s,f=r*8-a-1,o=(1<>1,d=-7,l=t?r-1:0,y=t?-1:1,h=n[e+l];for(l+=y,i=h&(1<<-d)-1,h>>=-d,d+=f;d>0;i=i*256+n[e+l],l+=y,d-=8);for(s=i&(1<<-d)-1,i>>=-d,d+=a;d>0;s=s*256+n[e+l],l+=y,d-=8);if(i===0)i=1-c;else{if(i===o)return s?NaN:(h?-1:1)*(1/0);s=s+Math.pow(2,a),i=i-c}return(h?-1:1)*s*Math.pow(2,i-a)}function mst(n,e,t,a,r,i){var s,f,o,c=i*8-r-1,d=(1<>1,y=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=a?0:i-1,T=a?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=d):(s=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-s))<1&&(s--,o*=2),s+l>=1?e+=y/o:e+=y*Math.pow(2,1-l),e*o>=2&&(s++,o/=2),s+l>=d?(f=0,s=d):s+l>=1?(f=(e*o-1)*Math.pow(2,r),s=s+l):(f=e*Math.pow(2,l-1)*Math.pow(2,r),s=0));r>=8;n[t+h]=f&255,h+=T,f/=256,r-=8);for(s=s<0;n[t+h]=s&255,h+=T,s/=256,c-=8);n[t+h-T]|=A*128}function FW(){return lt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ky(n,e){if(FW()=FW())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+FW().toString(16)+" bytes");return n|0}function ou(n){return!!(n!=null&&n._isBuffer)}function vst(n,e){if(ou(n))return n.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(n)||n instanceof ArrayBuffer))return n.byteLength;typeof n!="string"&&(n=""+n);var t=n.length;if(t===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return OW(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Dst(n).length;default:if(a)return OW(n).length;e=(""+e).toLowerCase(),a=!0}}function Jrn(n,e,t){var a=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return fin(this,e,t);case"utf8":case"utf-8":return wst(this,e,t);case"ascii":return iin(this,e,t);case"latin1":case"binary":return sin(this,e,t);case"base64":return ain(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oin(this,e,t);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}function n9(n,e,t){var a=n[e];n[e]=n[t],n[t]=a}function Tst(n,e,t,a,r){if(n.length===0)return-1;if(typeof t=="string"?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=r?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(r)return-1;t=n.length-1}else if(t<0)if(r)t=0;else return-1;if(typeof e=="string"&&(e=lt.from(e,a)),ou(e))return e.length===0?-1:dst(n,e,t,a,r);if(typeof e=="number")return e=e&255,lt.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):dst(n,[e],t,a,r);throw new TypeError("val must be string, number or Buffer")}function dst(n,e,t,a,r){var i=1,s=n.length,f=e.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(n.length<2||e.length<2)return-1;i=2,s/=2,f/=2,t/=2}function o(h,T){return i===1?h[T]:h.readUInt16BE(T*i)}var c;if(r){var d=-1;for(c=t;cs&&(t=s-f),c=t;c>=0;c--){for(var l=!0,y=0;yr&&(a=r)):a=r;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");a>i/2&&(a=i/2);for(var s=0;s239?4:i>223?3:i>191?2:1;if(r+f<=t){var o,c,d,l;switch(f){case 1:i<128&&(s=i);break;case 2:o=n[r+1],(o&192)===128&&(l=(i&31)<<6|o&63,l>127&&(s=l));break;case 3:o=n[r+1],c=n[r+2],(o&192)===128&&(c&192)===128&&(l=(i&15)<<12|(o&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:o=n[r+1],c=n[r+2],d=n[r+3],(o&192)===128&&(c&192)===128&&(d&192)===128&&(l=(i&15)<<18|(o&63)<<12|(c&63)<<6|d&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,f=1):s>65535&&(s-=65536,a.push(s>>>10&1023|55296),s=56320|s&1023),a.push(s),r+=f}return rin(a)}function rin(n){var e=n.length;if(e<=lst)return String.fromCharCode.apply(String,n);for(var t="",a=0;aa)&&(t=a);for(var r="",i=e;it)throw new RangeError("Trying to access beyond buffer length")}function Lc(n,e,t,a,r,i){if(!ou(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||en.length)throw new RangeError("Index out of range")}function zW(n,e,t,a){e<0&&(e=65535+e+1);for(var r=0,i=Math.min(n.length-t,2);r>>(a?r:1-r)*8}function WW(n,e,t,a){e<0&&(e=4294967295+e+1);for(var r=0,i=Math.min(n.length-t,4);r>>(a?r:3-r)*8&255}function xst(n,e,t,a,r,i){if(t+a>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ist(n,e,t,a,r){return r||xst(n,e,t,4),mst(n,e,t,a,23,4),t+4}function Est(n,e,t,a,r){return r||xst(n,e,t,8),mst(n,e,t,a,52,8),t+8}function din(n){if(n=lin(n).replace(cin,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function lin(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function pin(n){return n<16?"0"+n.toString(16):n.toString(16)}function OW(n,e){e=e||1/0;for(var t,a=n.length,r=null,i=[],s=0;s55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(s+1===a){(e-=3)>-1&&i.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&i.push(239,191,189),r=t;continue}t=(r-55296<<10|t-56320)+65536}else r&&(e-=3)>-1&&i.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;i.push(t)}else if(t<2048){if((e-=2)<0)break;i.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;i.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;i.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return i}function uin(n){for(var e=[],t=0;t>8,r=t%256,i.push(r),i.push(a);return i}function Dst(n){return qrn(din(n))}function jW(n,e,t,a){for(var r=0;r=e.length||r>=n.length);++r)e[r+t]=n[r];return r}function min(n){return n!==n}function bin(n){return n!=null&&(!!n._isBuffer||Cst(n)||hin(n))}function Cst(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function hin(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&Cst(n.slice(0,0))}function w6e(){return ua(this,void 0,void 0,function*(){let{networks:n}=yield fetch("https://api.blocto.app/networks/evm").then(t=>t.json());return n.reduce((t,a)=>Object.assign(Object.assign({},t),{[a.chain_id]:a}),{})})}function Ast(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function hd(n){"@babel/helpers - typeof";return hd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hd(n)}function Tin(n,e){if(hd(n)!=="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var a=t.call(n,e||"default");if(hd(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function _in(n){var e=Tin(n,"string");return hd(e)==="symbol"?e:String(e)}function pst(n,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function BW(n,e,t){return Ein()?BW=Reflect.construct.bind():BW=function(r,i,s){var f=[null];f.push.apply(f,i);var o=Function.bind.apply(r,f),c=new o;return s&&Ok(c,s.prototype),c},BW.apply(null,arguments)}function x6e(n){var e=typeof Map=="function"?new Map:void 0;return x6e=function(a){if(a===null||!Iin(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(a))return e.get(a);e.set(a,r)}function r(){return BW(a,arguments,Vk(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ok(r,a)},x6e(n)}function Lst(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function $k(n,e,t,a){typeof a>"u"&&(a=Lst()),I6e(n,"",0,[],void 0,0,a);var r;try{a9.length===0?r=JSON.stringify(n,e,t):r=JSON.stringify(n,Bst(e),t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r9.length!==0;){var i=r9.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return r}function sx(n,e,t,a){var r=Object.getOwnPropertyDescriptor(a,t);r.get!==void 0?r.configurable?(Object.defineProperty(a,t,{value:n}),r9.push([a,t,e,r])):a9.push([e,t,n]):(a[t]=n,r9.push([a,t,e]))}function I6e(n,e,t,a,r,i,s){i+=1;var f;if(hd(n)==="object"&&n!==null){for(f=0;fs.depthLimit){sx(VW,n,e,r);return}if(typeof s.edgesLimit<"u"&&t+1>s.edgesLimit){sx(VW,n,e,r);return}if(a.push(n),Array.isArray(n))for(f=0;fe?1:0}function Mst(n,e,t,a){typeof a>"u"&&(a=Lst());var r=E6e(n,"",0,[],void 0,0,a)||n,i;try{a9.length===0?i=JSON.stringify(r,e,t):i=JSON.stringify(r,Bst(e),t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r9.length!==0;){var s=r9.pop();s.length===4?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return i}function E6e(n,e,t,a,r,i,s){i+=1;var f;if(hd(n)==="object"&&n!==null){for(f=0;fs.depthLimit){sx(VW,n,e,r);return}if(typeof s.edgesLimit<"u"&&t+1>s.edgesLimit){sx(VW,n,e,r);return}if(a.push(n),Array.isArray(n))for(f=0;f0)for(var a=0;a"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pin(n){return Number.isInteger(n)&&n>=1e3&&n<=4999}function Rin(n,e){if(e!=="[Circular]")return e}function Lin(n){if(Array.isArray(n))return n}function Min(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var a,r,i,s,f=[],o=!0,c=!1;try{if(i=(t=t.call(n)).next,e===0){if(Object(t)!==t)return;o=!1}else for(;!(o=(a=i.call(t)).done)&&(f.push(a.value),f.length!==e);o=!0);}catch(d){c=!0,r=d}finally{try{if(!o&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(c)throw r}}return f}}function ust(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t{p();u();(function(n){n.prod="BLOCTO_SDK",n.dev="BLOCTO_SDK_DEV",n.staging="BLOCTO_SDK_STAGING"})(yp||(yp={}));(function(n){n.ETHEREUM="ethereum",n.APTOS="aptos"})(qs||(qs={}));g6e={56:"https://bsc-dataseed1.binance.org",97:"https://data-seed-prebsc-1-s1.binance.org:8545",137:"https://rpc-mainnet.maticvigil.com/",80002:"https://rpc-amoy.polygon.technology/",43114:"https://api.avax.network/ext/bc/C/rpc",43113:"https://api.avax-test.network/ext/bc/C/rpc",42161:"https://arb1.arbitrum.io/rpc",421614:"https://arbitrum-sepolia.blockpi.network/v1/rpc/public",10:"https://mainnet.optimism.io",11155420:"https://sepolia.optimism.io",8453:"https://mainnet.base.org",84532:"https://sepolia.base.org",7777777:"https://rpc.zora.energy",999999999:"https://sepolia.rpc.zora.energy",534352:"https://rpc.scroll.io",534351:"https://sepolia-rpc.scroll.io",59144:"https://rpc.linea.build",1261120:"https://rpc.startale.com/zkatana",81457:"https://rpc.blast.io",168587773:"https://sepolia.blast.io"},ast={prod:"https://wallet-v2.blocto.app",staging:"https://wallet-v2-staging.blocto.app",dev:"https://wallet-v2-dev.blocto.app"},krn={prod:yp.prod,staging:yp.staging,dev:yp.dev},Prn={1:yp.prod,2:yp.dev,3:yp.dev,4:yp.dev,5:yp.staging},Rrn={1:"https://wallet-v2.blocto.app",2:"https://wallet-v2-dev.blocto.app",3:"https://wallet-v2-dev.blocto.app",4:"https://wallet-v2-dev.blocto.app",5:"https://wallet-v2-staging.blocto.app"};(function(n){n.Mainnet="mainnet",n.Testnet="testnet",n.Devnet="devnet",n.Testing="testing",n.Premainnet="premainnet"})(t9||(t9={}));Lrn={1:t9.Mainnet,2:t9.Testnet,3:t9.Devnet,4:t9.Testing,5:t9.Premainnet},Mrn={1:"https://fullnode.mainnet.aptoslabs.com/v1",2:"https://fullnode.testnet.aptoslabs.com/v1",3:"https://fullnode.devnet.aptoslabs.com/v1",4:"",5:"https://premainnet.aptosdev.com/v1"},rst=["connect","disconnect","message","chainChanged","accountsChanged"],Brn=86400*1e3,A6e="00000000-0000-0000-0000-000000000000",UW="0.10.2",NW=class{constructor(){this.isBlocto=!0,this.isConnecting=!1,this.eventListeners={},this.off=this.removeListener,rst.forEach(e=>{this.eventListeners[e]=[]}),this.appId=A6e}request(e){return ua(this,void 0,void 0,function*(){})}on(e,t){rst.includes(e)&&this.eventListeners[e].push(t)}once(){}removeListener(e,t){let r=this.eventListeners[e].findIndex(i=>i===t);r!==-1&&this.eventListeners[e].splice(r,1)}},Nrn="width:100vw;height:100%;position:fixed;top:0;left:0;z-index:2147483646;border:none;box-sizing:border-box;color-scheme:light;inset:0px;display:block;pointer-events:auto;";G3=(n,e,t=window)=>{function a(r){e(r,()=>t.removeEventListener(n,a))}t.addEventListener(n,a)},Frn=()=>{if(typeof window>"u")return!1;try{window.sessionStorage.setItem("local_storage_supported","1");let n=window.sessionStorage.getItem("local_storage_supported");return window.sessionStorage.removeItem("local_storage_supported"),n==="1"}catch{return!1}},v6e=class{constructor(){this.storage={}}getItem(e){return this[e]||null}setItem(e,t){this.storage[e]=t}removeItem(e){delete this.storage[e]}},Orn=typeof window<"u"?window.memoryStorage:new v6e,k6e=Frn()?window.sessionStorage:Orn,P6e=(n,e=null)=>{let t=k6e.getItem(n);try{return t&&JSON.parse(t)||e}catch{return t||e}},R6e=(n,e)=>k6e.setItem(n,typeof e=="string"?e:JSON.stringify(e)),qW=n=>{R6e(n,""),k6e.removeItem(n)},K3=n=>{let e=P6e(n,null);return e?new Date().getTime()>e.expiry||e.v!==UW?(qW(n),null):e?.data:null},fx=(n,e,t)=>{var a,r,i;let s=P6e(n),f={data:{code:e?.code||((a=s?.data)===null||a===void 0?void 0:a.code),accounts:Object.assign(Object.assign({},(r=s?.data)===null||r===void 0?void 0:r.accounts),e?.accounts),evm:Object.assign(Object.assign({},(i=s?.data)===null||i===void 0?void 0:i.evm),e?.evm)},expiry:t||s?.expiry||new Date().getTime()+Brn,v:UW};R6e(n,f)},su=(n,e)=>{var t,a,r;return!((t=K3(n))===null||t===void 0)&&t.code?((r=(a=K3(n))===null||a===void 0?void 0:a.accounts)===null||r===void 0?void 0:r[e])||null:(qW(n),null)},Vrn=(n,e,t)=>{fx(n,{accounts:{[e]:t}})},$rn=(n,e)=>{fx(n,{accounts:{[e]:void 0}})},Bk=(n,e)=>{var t,a,r;return!((t=K3(n))===null||t===void 0)&&t.code?((r=(a=K3(n))===null||a===void 0?void 0:a.evm)===null||r===void 0?void 0:r[e])||null:(qW(n),null)},ist=(n,e,t)=>{fx(n,{evm:{[e]:t}})},sst=n=>{let e=P6e(n);e&&(e.data.evm={},R6e(n,e))};fst=n=>/\S+@\S+\.\S+/.test(n);(function(n){n.INVALID_TRANSACTION="Invalid transaction",n.INVALID_TRANSACTIONS="Invalid transactions",n.INVALID_TRANSACTION_VALUE='Transaction params "value" should be hex-encoded string'})(Fk||(Fk={}));ost=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},fu=[],V6=[],Urn=typeof Uint8Array<"u"?Uint8Array:Array,L6e=!1;Wrn={}.toString,bst=Array.isArray||function(n){return Wrn.call(n)=="[object Array]"};jrn=50;lt.TYPED_ARRAY_SUPPORT=ost.TYPED_ARRAY_SUPPORT!==void 0?ost.TYPED_ARRAY_SUPPORT:!0;FW();lt.poolSize=8192;lt._augment=function(n){return n.__proto__=lt.prototype,n};lt.from=function(n,e,t){return hst(null,n,e,t)};lt.TYPED_ARRAY_SUPPORT&&(lt.prototype.__proto__=Uint8Array.prototype,lt.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&<[Symbol.species]);lt.alloc=function(n,e,t){return Grn(null,n,e,t)};lt.allocUnsafe=function(n){return M6e(null,n)};lt.allocUnsafeSlow=function(n){return M6e(null,n)};lt.isBuffer=bin;lt.compare=function(e,t){if(!ou(e)||!ou(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var a=e.length,r=t.length,i=0,s=Math.min(a,r);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""};lt.prototype.compare=function(e,t,a,r,i){if(!ou(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),a===void 0&&(a=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||a>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=a)return 0;if(r>=i)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var s=i-r,f=a-t,o=Math.min(s,f),c=this.slice(r,i),d=e.slice(t,a),l=0;li)&&(a=i),e.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return Xrn(this,e,t,a);case"utf8":case"utf-8":return Zrn(this,e,t,a);case"ascii":return _st(this,e,t,a);case"latin1":case"binary":return ein(this,e,t,a);case"base64":return tin(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nin(this,e,t,a);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}};lt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};lst=4096;lt.prototype.slice=function(e,t){var a=this.length;e=~~e,t=t===void 0?a:~~t,e<0?(e+=a,e<0&&(e=0)):e>a&&(e=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),t0&&(i*=256);)r+=this[e+--t]*i;return r};lt.prototype.readUInt8=function(e,t){return t||_f(e,1,this.length),this[e]};lt.prototype.readUInt16LE=function(e,t){return t||_f(e,2,this.length),this[e]|this[e+1]<<8};lt.prototype.readUInt16BE=function(e,t){return t||_f(e,2,this.length),this[e]<<8|this[e+1]};lt.prototype.readUInt32LE=function(e,t){return t||_f(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};lt.prototype.readUInt32BE=function(e,t){return t||_f(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};lt.prototype.readIntLE=function(e,t,a){e=e|0,t=t|0,a||_f(e,t,this.length);for(var r=this[e],i=1,s=0;++s=i&&(r-=Math.pow(2,8*t)),r};lt.prototype.readIntBE=function(e,t,a){e=e|0,t=t|0,a||_f(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s};lt.prototype.readInt8=function(e,t){return t||_f(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};lt.prototype.readInt16LE=function(e,t){t||_f(e,2,this.length);var a=this[e]|this[e+1]<<8;return a&32768?a|4294901760:a};lt.prototype.readInt16BE=function(e,t){t||_f(e,2,this.length);var a=this[e+1]|this[e]<<8;return a&32768?a|4294901760:a};lt.prototype.readInt32LE=function(e,t){return t||_f(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};lt.prototype.readInt32BE=function(e,t){return t||_f(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};lt.prototype.readFloatLE=function(e,t){return t||_f(e,4,this.length),HW(this,e,!0,23,4)};lt.prototype.readFloatBE=function(e,t){return t||_f(e,4,this.length),HW(this,e,!1,23,4)};lt.prototype.readDoubleLE=function(e,t){return t||_f(e,8,this.length),HW(this,e,!0,52,8)};lt.prototype.readDoubleBE=function(e,t){return t||_f(e,8,this.length),HW(this,e,!1,52,8)};lt.prototype.writeUIntLE=function(e,t,a,r){if(e=+e,t=t|0,a=a|0,!r){var i=Math.pow(2,8*a)-1;Lc(this,e,t,a,i,0)}var s=1,f=0;for(this[t]=e&255;++f=0&&(f*=256);)this[t+s]=e/f&255;return t+a};lt.prototype.writeUInt8=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,1,255,0),lt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};lt.prototype.writeUInt16LE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,2,65535,0),lt.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):zW(this,e,t,!0),t+2};lt.prototype.writeUInt16BE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,2,65535,0),lt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):zW(this,e,t,!1),t+2};lt.prototype.writeUInt32LE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,4,4294967295,0),lt.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):WW(this,e,t,!0),t+4};lt.prototype.writeUInt32BE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,4,4294967295,0),lt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):WW(this,e,t,!1),t+4};lt.prototype.writeIntLE=function(e,t,a,r){if(e=+e,t=t|0,!r){var i=Math.pow(2,8*a-1);Lc(this,e,t,a,i-1,-i)}var s=0,f=1,o=0;for(this[t]=e&255;++s>0)-o&255;return t+a};lt.prototype.writeIntBE=function(e,t,a,r){if(e=+e,t=t|0,!r){var i=Math.pow(2,8*a-1);Lc(this,e,t,a,i-1,-i)}var s=a-1,f=1,o=0;for(this[t+s]=e&255;--s>=0&&(f*=256);)e<0&&o===0&&this[t+s+1]!==0&&(o=1),this[t+s]=(e/f>>0)-o&255;return t+a};lt.prototype.writeInt8=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,1,127,-128),lt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};lt.prototype.writeInt16LE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,2,32767,-32768),lt.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):zW(this,e,t,!0),t+2};lt.prototype.writeInt16BE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,2,32767,-32768),lt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):zW(this,e,t,!1),t+2};lt.prototype.writeInt32LE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,4,2147483647,-2147483648),lt.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):WW(this,e,t,!0),t+4};lt.prototype.writeInt32BE=function(e,t,a){return e=+e,t=t|0,a||Lc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),lt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):WW(this,e,t,!1),t+4};lt.prototype.writeFloatLE=function(e,t,a){return Ist(this,e,t,!0,a)};lt.prototype.writeFloatBE=function(e,t,a){return Ist(this,e,t,!1,a)};lt.prototype.writeDoubleLE=function(e,t,a){return Est(this,e,t,!0,a)};lt.prototype.writeDoubleBE=function(e,t,a){return Est(this,e,t,!1,a)};lt.prototype.copy=function(e,t,a,r){if(a||(a=0),!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--s)e[s+t]=this[s+a];else if(i<1e3||!lt.TYPED_ARRAY_SUPPORT)for(s=0;s>>0,a=a===void 0?this.length:a>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;stypeof n=="string"&&/^0x[0-9A-Fa-f]*$/.test(n),gin=n=>lt.from(n,"utf8").toString("hex"),Sst=n=>!n||typeof n!="object"||!("from"in n)?{isValid:!1,invalidMsg:Fk.INVALID_TRANSACTION}:n.value&&!_6e(n.value)?{isValid:!1,invalidMsg:Fk.INVALID_TRANSACTION_VALUE}:{isValid:!0},vin=n=>{if(!Array.isArray(n))return{isValid:!1,invalidMsg:Fk.INVALID_TRANSACTIONS};for(let e=0;e1&&arguments[1]!==void 0?arguments[1]:r;if(Number.isInteger(y)){var T=y.toString();if(l(e.errorValues,T))return e.errorValues[T].message;if(c(y))return n.JSON_RPC_SERVER_ERROR_MESSAGE}return h}n.getMessageFromCode=s;function f(y){if(!Number.isInteger(y))return!1;var h=y.toString();return!!(e.errorValues[h]||c(y))}n.isValidCode=f;function o(y){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=h.fallbackError,A=T===void 0?i:T,O=h.shouldIncludeStack,N=O===void 0?!1:O,U,q;if(!A||!Number.isInteger(A.code)||typeof A.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(y instanceof t.EthereumRpcError)return y.serialize();var W={};if(y&&hd(y)==="object"&&!Array.isArray(y)&&l(y,"code")&&f(y.code)){var G=y;W.code=G.code,G.message&&typeof G.message=="string"?(W.message=G.message,l(G,"data")&&(W.data=G.data)):(W.message=s(W.code),W.data={originalError:d(y)})}else{W.code=A.code;var X=(U=y)===null||U===void 0?void 0:U.message;W.message=X&&typeof X=="string"?X:A.message,W.data={originalError:d(y)}}var J=(q=y)===null||q===void 0?void 0:q.stack;return N&&y&&J&&typeof J=="string"&&(W.stack=J),W}n.serializeError=o;function c(y){return y>=-32099&&y<=-32e3}function d(y){return y&&hd(y)==="object"&&!Array.isArray(y)?Object.assign({},y):y}function l(y,h){return Object.prototype.hasOwnProperty.call(y,h)}})(N6e);GW={};Object.defineProperty(GW,"__esModule",{value:!0});GW.ethErrors=void 0;F6e=Q3,Vst=N6e,Jo=Y3;GW.ethErrors={rpc:{parse:function(e){return O6(Jo.errorCodes.rpc.parse,e)},invalidRequest:function(e){return O6(Jo.errorCodes.rpc.invalidRequest,e)},invalidParams:function(e){return O6(Jo.errorCodes.rpc.invalidParams,e)},methodNotFound:function(e){return O6(Jo.errorCodes.rpc.methodNotFound,e)},internal:function(e){return O6(Jo.errorCodes.rpc.internal,e)},server:function(e){if(!e||hd(e)!=="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");var t=e.code;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return O6(t,e)},invalidInput:function(e){return O6(Jo.errorCodes.rpc.invalidInput,e)},resourceNotFound:function(e){return O6(Jo.errorCodes.rpc.resourceNotFound,e)},resourceUnavailable:function(e){return O6(Jo.errorCodes.rpc.resourceUnavailable,e)},transactionRejected:function(e){return O6(Jo.errorCodes.rpc.transactionRejected,e)},methodNotSupported:function(e){return O6(Jo.errorCodes.rpc.methodNotSupported,e)},limitExceeded:function(e){return O6(Jo.errorCodes.rpc.limitExceeded,e)}},provider:{userRejectedRequest:function(e){return Nk(Jo.errorCodes.provider.userRejectedRequest,e)},unauthorized:function(e){return Nk(Jo.errorCodes.provider.unauthorized,e)},unsupportedMethod:function(e){return Nk(Jo.errorCodes.provider.unsupportedMethod,e)},disconnected:function(e){return Nk(Jo.errorCodes.provider.disconnected,e)},chainDisconnected:function(e){return Nk(Jo.errorCodes.provider.chainDisconnected,e)},custom:function(e){if(!e||hd(e)!=="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");var t=e.code,a=e.message,r=e.data;if(!a||typeof a!="string")throw new Error('"message" must be a nonempty string');return new F6e.EthereumProviderError(t,a,r)}}};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.getMessageFromCode=n.serializeError=n.EthereumProviderError=n.EthereumRpcError=n.ethErrors=n.errorCodes=void 0;var e=Q3;Object.defineProperty(n,"EthereumRpcError",{enumerable:!0,get:function(){return e.EthereumRpcError}}),Object.defineProperty(n,"EthereumProviderError",{enumerable:!0,get:function(){return e.EthereumProviderError}});var t=N6e;Object.defineProperty(n,"serializeError",{enumerable:!0,get:function(){return t.serializeError}}),Object.defineProperty(n,"getMessageFromCode",{enumerable:!0,get:function(){return t.getMessageFromCode}});var a=GW;Object.defineProperty(n,"ethErrors",{enumerable:!0,get:function(){return a.ethErrors}});var r=Y3;Object.defineProperty(n,"errorCodes",{enumerable:!0,get:function(){return r.errorCodes}})})(Fn);C6e=class extends NW{get existedSDK(){if(!(typeof window>"u"))return window.ethereum}constructor(e){var t;if(super(),Br.add(this),this.networkVersion="1",this.off=this.removeListener,this.injectedWalletServer=e.walletServer,this._blocto={sessionKeyEnv:yp.prod,walletServer:this.injectedWalletServer||"",blockchainName:"",networkType:"",switchableNetwork:{}},this.appId=e.appId||A6e,"chainId"in e){let{chainId:a,rpc:r}=e;ix(a,"'chainId' is required"),this.networkVersion=`${Xo(a)}`,this.chainId=`0x${Xo(a).toString(16)}`,this.rpc=r||g6e[this.networkVersion],ix(this.rpc,"'rpc' is required")}else{let{defaultChainId:a,switchableChains:r}=e;ix(a,"'defaultChainId' is required"),this.networkVersion=`${Xo(a)}`,this.chainId=`0x${Xo(a).toString(16)}`;let i=r.find(s=>Xo(s.chainId)===Xo(a));if(!i)throw Fn.ethErrors.provider.custom({code:1001,message:`Chain ${a} is not in switchableChains list`});this.rpc=((t=i.rpcUrls)===null||t===void 0?void 0:t[0])||g6e[this.networkVersion],ix(this.rpc,"'rpc' is required"),this._blocto.unloadedNetwork=r}}send(e,t){return ua(this,void 0,void 0,function*(){switch(!0){case t instanceof Function:return this.sendAsync(e,t);case(typeof e=="string"&&Array.isArray(t)):return this.sendAsync({jsonrpc:"2.0",method:e,params:t});default:return this.sendAsync(e)}})}sendAsync(e,t){return ua(this,void 0,void 0,function*(){let a=f=>f.reduce((o,c)=>{var d;return c.method==="eth_sendTransaction"?o.sendRequests.push((d=c.params)===null||d===void 0?void 0:d[0]):o.otherRequests.push(this.request(c)),o},{sendRequests:[],otherRequests:[]});function r(f){return{id:String(f.id),jsonrpc:"2.0",method:f.method}}function i(f,o){let c=[],d=1;return f.forEach(l=>{let y=r(l);l.method==="eth_sendTransaction"?(y.result=o[0].value,y.error=o[0].status!=="fulfilled"?o[0].reason:void 0):d{if(Array.isArray(e)){let{sendRequests:o,otherRequests:c}=a(e),d={method:"wallet_sendMultiCallTransaction",params:[o,!1]},l=o.length===0,y=Math.floor(Math.random()*1e4),h=l?[...c]:[this.request(d),...c];Promise.allSettled(h).then(T=>{if(l)return f(T.map((O,N)=>{var U;return{id:String(((U=e[N])===null||U===void 0?void 0:U.id)||y+N+1),jsonrpc:"2.0",method:e[N].method,result:O.status==="fulfilled"?O.value:void 0,error:O.status!=="fulfilled"?O.reason:void 0}}));let A=i(e,T);return f(A)}).catch(T=>{throw Fn.ethErrors.rpc.internal(T?.message)})}else this.request(Object.assign(Object.assign({},e),{id:Number(e.id)})).then(f)});if(typeof t=="function")s.then(f=>t(null,f)).catch(f=>t(f));else return s})}sendUserOperation(e){return ua(this,void 0,void 0,function*(){return this.request({method:"eth_sendUserOperation",params:[e]})})}request(e){var t,a,r,i,s,f,o,c;return ua(this,void 0,void 0,function*(){if(Array.isArray(e))return this.sendAsync(e);if(!e?.method)throw Fn.ethErrors.rpc.invalidRequest();let{blockchainName:d,switchableNetwork:l,sessionKeyEnv:y}=yield ii(this,Br,"m",U1).call(this);if(!((t=this.existedSDK)===null||t===void 0)&&t.isBlocto){if(e.method==="wallet_switchEthereumChain"){if(!(!((r=(a=e?.params)===null||a===void 0?void 0:a[0])===null||r===void 0)&&r.chainId))throw Fn.ethErrors.rpc.invalidParams();return this.existedSDK.request(e).then(()=>{var h,T,A;return this.networkVersion=`${Xo((h=e?.params)===null||h===void 0?void 0:h[0].chainId)}`,this.chainId=`0x${Xo((T=e?.params)===null||T===void 0?void 0:T[0].chainId).toString(16)}`,this.rpc=(A=l?.[this.networkVersion])===null||A===void 0?void 0:A.rpc_url,null})}return this.existedSDK.request(e)}switch(e.method){case"eth_chainId":return this.chainId;case"net_version":return this.networkVersion;case"wallet_addEthereumChain":return this.loadSwitchableNetwork(e?.params||[]);case"eth_blockNumber":case"web3_clientVersion":case"eth_call":{let h=yield this.handleReadRequests(e);if(!h||h&&!h.result&&h.error){let T=!((i=h?.error)===null||i===void 0)&&i.message?h.error.message:"Request failed";throw Fn.ethErrors.rpc.internal(T)}return typeof e?.callback=="function"&&e.callback(null,h.result),h.result}case"wallet_switchEthereumChain":return this.handleSwitchChain((f=(s=e?.params)===null||s===void 0?void 0:s[0])===null||f===void 0?void 0:f.chainId);case"wallet_disconnect":return this.handleDisconnect();case"eth_accounts":return Bk(y,d)||[]}if(!Bk(y,d)){let h=(o=e?.params)===null||o===void 0?void 0:o[0];e.method==="eth_requestAccounts"&&fst(h)?yield this.enable(h):yield this.enable()}try{let h=null,T=null;switch(e.method){case"eth_requestAccounts":{T=yield this.fetchAccounts();break}case"eth_coinbase":{T=(c=Bk(y,d))===null||c===void 0?void 0:c[0];break}case"eth_signTypedData_v3":case"eth_signTypedData":case"eth_signTypedData_v4":case"personal_sign":{T=yield this.handleSign(e);break}case"eth_sign":throw Fn.ethErrors.rpc.methodNotFound("Method Not Supported: eth_sign has been disabled");case"eth_sendTransaction":T=yield this.handleSendTransaction(e);break;case"wallet_sendMultiCallTransaction":T=yield this.handleSendBatchTransaction(e);break;case"eth_signTransaction":case"eth_sendRawTransaction":throw Fn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+e.method);case"eth_sendUserOperation":T=yield this.handleSendUserOperation(e);break;case"eth_estimateUserOperationGas":case"eth_getUserOperationByHash":case"eth_getUserOperationReceipt":case"eth_supportedEntryPoints":T=yield this.handleBundler(e);break;default:h=yield this.handleReadRequests(e)}if(h&&!h.result&&h.error){let A=h.error.message?h.error.message:"Request failed";throw Fn.ethErrors.rpc.internal(A)}return h?h.result:T}catch(h){throw Fn.ethErrors.rpc.internal(h?.message)}})}bloctoApi(e,t){var a;return ua(this,void 0,void 0,function*(){let{walletServer:r,blockchainName:i,sessionKeyEnv:s}=yield ii(this,Br,"m",U1).call(this),f=((a=K3(s))===null||a===void 0?void 0:a.code)||"";if(!f)throw Fn.ethErrors.provider.unauthorized();return fetch(`${r}/api/${i}${e}`,Object.assign({headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":f}},t)).then(o=>MW(o,s,()=>{var c;(c=this.eventListeners)===null||c===void 0||c.disconnect.forEach(d=>d(Fn.ethErrors.provider.disconnected()))})).catch(o=>{throw o?.error_code==="unsupported_method"?Fn.ethErrors.rpc.methodNotSupported("Method Not Supported: "+o.message):Fn.ethErrors.rpc.server({code:-32005,message:`Blocto server error: ${o.message}`})})})}responseListener(e,t){return ua(this,void 0,void 0,function*(){let{walletServer:a}=yield ii(this,Br,"m",U1).call(this);return new Promise((r,i)=>G3("message",(s,f)=>{let o=s;o.origin===a&&o.data.type==="ETH:FRAME:RESPONSE"&&(o.data.status==="APPROVED"&&(f(),bd(e),r(o.data[t])),o.data.status==="DECLINED"&&(f(),bd(e),o.data.errorCode==="incorrect_session_id"&&this.handleDisconnect(),i(Fn.ethErrors.provider.userRejectedRequest(o.data.errorMessage)))),o.data.type==="ETH:FRAME:CLOSE"&&(f(),bd(e),i(Fn.ethErrors.provider.userRejectedRequest("User declined the request")))}))})}setIframe(e,t){return ua(this,void 0,void 0,function*(){if(typeof window>"u")throw Fn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r}=yield ii(this,Br,"m",U1).call(this),i=RW(`${a}/${this.appId}/${t||r}${e}`);return LW(i),i})}enable(e){var t;return ua(this,void 0,void 0,function*(){if(typeof window>"u")throw Fn.ethErrors.provider.custom({code:1001,message:"Blocto SDK only works in browser environment"});let{walletServer:a,blockchainName:r,sessionKeyEnv:i}=yield ii(this,Br,"m",U1).call(this);if(!((t=this.existedSDK)===null||t===void 0)&&t.isBlocto)return this.existedSDK.chainId!==this.chainId&&(yield this.existedSDK.request({method:"wallet_addEthereumChain",params:[{chainId:this.chainId}]}),yield this.existedSDK.request({method:"wallet_switchEthereumChain",params:[{chainId:this.chainId}]}),ist(i,r,[this.existedSDK.address])),new Promise((d,l)=>setTimeout(()=>this.existedSDK.enable().then(d).catch(l),10));let s=Bk(i,r);if(s)return new Promise(d=>{d(s)});let f=new URLSearchParams;f.set("l6n",window.location.origin),f.set("v",UW),f.set("q",`${window.location.pathname}${window.location.search}`);let o=e&&fst(e)?`/${e}`:"",c=yield this.setIframe(`/authn${o}?${f.toString()}`);return new Promise((d,l)=>{G3("message",(y,h)=>{var T,A;let O=y;O.origin===a&&(O.data.type==="ETH:FRAME:RESPONSE"&&(h(),bd(c),(T=this.eventListeners)===null||T===void 0||T.connect.forEach(N=>N({chainId:this.chainId})),fx(i,{code:O.data.code,evm:{[r]:[O.data.addr]}},O.data.exp),!((A=O.data)===null||A===void 0)&&A.isAccountChanged&&postMessage({originChain:qs.ETHEREUM,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),G3("message",(N,U)=>{var q,W,G;let X=N,J=((q=X.data)===null||q===void 0?void 0:q.type)==="BLOCTO_SDK:ACCOUNT_CHANGED",j=((W=X.data)===null||W===void 0?void 0:W.originChain)!==qs.ETHEREUM;J&&((G=this.eventListeners)===null||G===void 0||G.accountsChanged.forEach(z=>z([O.data.addr]))),J&&j&&(this.handleDisconnect(),U())}),d([O.data.addr])),O.data.type==="ETH:FRAME:CLOSE"&&(h(),bd(c),l(Fn.ethErrors.provider.userRejectedRequest())))})})})}fetchAccounts(){return ua(this,void 0,void 0,function*(){ii(this,Br,"m",j3).call(this);let{blockchainName:e,sessionKeyEnv:t}=yield ii(this,Br,"m",U1).call(this),{accounts:a}=yield this.bloctoApi("/accounts");return ist(t,e,a),a})}handleReadRequests(e){return ua(this,void 0,void 0,function*(){return ii(this,Br,"m",j3).call(this),fetch(this.rpc,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))}).then(t=>t.json()).catch(t=>{throw Fn.ethErrors.rpc.internal(t)})})}handleSign({method:e,params:t}){return ua(this,void 0,void 0,function*(){let a="";if(Array.isArray(t)){if(e==="personal_sign")a=_6e(t[0])?t[0].slice(2):gin(t[0]);else if(["eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4"].includes(e)){a=t[1];let{domain:s}=JSON.parse(a);if(_6e(s.chainId))throw Fn.ethErrors.rpc.invalidParams(`Provided chainId "${s.chainId}" must be a number`);if(Xo(s.chainId)!==Xo(this.chainId))throw Fn.ethErrors.rpc.invalidParams(`Provided chainId "${s.chainId}" must match the active chainId "${Xo(this.chainId)}"`)}}ii(this,Br,"m",j3).call(this);let{signatureId:r}=yield this.bloctoApi("/user-signature",{method:"POST",body:JSON.stringify({method:e,message:a})}),i=yield this.setIframe(`/user-signature/${r}`);return this.responseListener(i,"signature")})}handleSwitchChain(e){var t,a;return ua(this,void 0,void 0,function*(){if(!e)throw Fn.ethErrors.rpc.invalidParams();let{walletServer:r,blockchainName:i,sessionKeyEnv:s,switchableNetwork:f}=yield ii(this,Br,"m",U1).call(this),o=(t=Bk(s,i))===null||t===void 0?void 0:t[0],c=Xo(this.chainId),d=Xo(e);if(c===d)return null;if(!f[d])throw Fn.ethErrors.provider.custom({code:4902,message:`Unrecognized chain ID "${d}". Try adding the chain using wallet_addEthereumChain first.`});if(this.networkVersion=`${d}`,this.chainId=`0x${d.toString(16)}`,this.rpc=f[d].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),!o)return(a=this.eventListeners)===null||a===void 0||a.chainChanged.forEach(y=>y(this.chainId)),yield ii(this,Br,"m",U1).call(this),null;if(f[d].wallet_web_url!==f[c].wallet_web_url)return this.enable().then(([y])=>{var h;return y!==o&&((h=this.eventListeners)===null||h===void 0||h.accountsChanged.forEach(T=>T([y]))),this.eventListeners.chainChanged.forEach(T=>T(this.chainId)),null}).catch(y=>{throw this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=f[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),ii(this,Br,"m",U1).call(this),y});let l=yield this.setIframe(`/switch-chain?to=${f[d].name}`,f[c].name);return new Promise((y,h)=>{G3("message",(T,A)=>{var O,N,U,q,W,G,X,J;let j=T;j.origin===r&&(j.data.type==="ETH:FRAME:RESPONSE"&&(A(),bd(l),!((O=j.data)===null||O===void 0)&&O.addr&&o&&(fx(s,{code:(N=j.data)===null||N===void 0?void 0:N.code,evm:{[f[d].name]:[j.data.addr]}},(U=j.data)===null||U===void 0?void 0:U.exp),j.data.addr!==o&&((q=this.eventListeners)===null||q===void 0||q.accountsChanged.forEach(z=>z([j.data.addr])))),(W=this.eventListeners)===null||W===void 0||W.chainChanged.forEach(z=>z(this.chainId)),ii(this,Br,"m",U1).call(this),y(null)),j.data.type==="ETH:FRAME:CLOSE"&&(A(),bd(l),!((G=j.data)===null||G===void 0)&&G.hasApprovedSwitchChain?((X=this.eventListeners)===null||X===void 0||X.chainChanged.forEach(z=>z(this.chainId)),sst(s),(J=this.eventListeners)===null||J===void 0||J.disconnect.forEach(z=>z(Fn.ethErrors.provider.disconnected())),ii(this,Br,"m",U1).call(this),y(null)):(this.networkVersion=`${c}`,this.chainId=`0x${c.toString(16)}`,this.rpc=f[c].rpc_url,this._blocto=Object.assign(Object.assign({},this._blocto),{blockchainName:"",networkType:""}),ii(this,Br,"m",U1).call(this),h(Fn.ethErrors.provider.userRejectedRequest()))))})})})}handleSendTransaction(e){var t;return ua(this,void 0,void 0,function*(){ii(this,Br,"m",j3).call(this);let{isValid:a,invalidMsg:r}=Sst((t=e.params)===null||t===void 0?void 0:t[0]);if(!a)throw Fn.ethErrors.rpc.invalidParams(r);return ii(this,Br,"m",D6e).call(this,e.params)})}handleSendBatchTransaction(e){return ua(this,void 0,void 0,function*(){ii(this,Br,"m",j3).call(this);let t,a;Array.isArray(e.params)&&e.params.length>=2?[t,a]=e.params:(t=e.params,a=!1);let r=a||!1,{isValid:i,invalidMsg:s}=vin(t);if(!i)throw Fn.ethErrors.rpc.invalidParams(s);return ii(this,Br,"m",D6e).call(this,t,r)})}handleSendUserOperation(e){return ua(this,void 0,void 0,function*(){ii(this,Br,"m",j3).call(this);let{authorizationId:t}=yield this.bloctoApi("/user-operation",{method:"POST",body:JSON.stringify(e.params)}),a=yield this.setIframe(`/user-operation/${t}`);return this.responseListener(a,"userOpHash")})}handleBundler(e){return ua(this,void 0,void 0,function*(){return ii(this,Br,"m",j3).call(this),this.bloctoApi("/rpc/bundler",{method:"POST",body:JSON.stringify(Object.assign({id:1,jsonrpc:"2.0"},e))})})}handleDisconnect(){var e,t;return ua(this,void 0,void 0,function*(){if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto)return this.existedSDK.request({method:"wallet_disconnect"});let{sessionKeyEnv:a}=yield ii(this,Br,"m",U1).call(this);sst(a),(t=this.eventListeners)===null||t===void 0||t.disconnect.forEach(r=>r(Fn.ethErrors.provider.disconnected()))})}loadSwitchableNetwork(e){return ua(this,void 0,void 0,function*(){if(e?.length){let t=e.map(({chainId:a,rpcUrls:r})=>{if(!a)throw Fn.ethErrors.rpc.invalidParams("Empty chainId");let i=`${Xo(a)}`;if(this._blocto.switchableNetwork[i])return null;let s=r?.[0]||g6e[i];if(!s)throw Fn.ethErrors.rpc.invalidParams("rpcUrls required");return ii(this,Br,"m",Ust).call(this,{chainId:i,rpcUrls:[s]})});return Promise.all(t).then(()=>null)}else throw Fn.ethErrors.rpc.invalidParams("Empty networkList")})}supportChainList(){return ua(this,void 0,void 0,function*(){let e=yield w6e().catch(t=>{throw Fn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${t.message}`})});return Object.keys(e).map(t=>{let{display_name:a}=e[t];return{chainId:t,chainName:a}})})}on(e,t){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.on(e,t),super.on(e,t)}removeListener(e,t){var a;!((a=this.existedSDK)===null||a===void 0)&&a.isBlocto&&this.existedSDK.off(e,t),super.removeListener(e,t)}};Br=new WeakSet,U1=function(){var e,t;return ua(this,void 0,void 0,function*(){if(!((e=this._blocto)===null||e===void 0)&&e.unloadedNetwork&&(yield this.loadSwitchableNetwork(this._blocto.unloadedNetwork),delete this._blocto.unloadedNetwork),this._blocto.sessionKeyEnv&&this._blocto.walletServer&&this._blocto.blockchainName&&this._blocto.networkType&&this._blocto.switchableNetwork)return this._blocto;let a=yield w6e().catch(d=>{throw Fn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${d.message}`})}),{chain_id:r,name:i,network_type:s,blocto_service_environment:f,display_name:o}=(t=a[this.networkVersion])!==null&&t!==void 0?t:{};if(!r)throw Fn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${this.networkVersion} might not be supported yet.`);let c=this.injectedWalletServer||ast[f];return this._blocto=Object.assign(Object.assign({},this._blocto),{sessionKeyEnv:krn[f],walletServer:c,blockchainName:i,networkType:s,switchableNetwork:Object.assign(Object.assign({},this._blocto.switchableNetwork),{[r]:{name:i,display_name:o,network_type:s,wallet_web_url:c,rpc_url:this.rpc}})}),this._blocto})},Ust=function({chainId:e,rpcUrls:t}){var a;return ua(this,void 0,void 0,function*(){yield ii(this,Br,"m",U1).call(this);let r=yield w6e().catch(l=>{throw Fn.ethErrors.provider.custom({code:1001,message:`Get blocto server failed: ${l.message}`})}),{chain_id:i,name:s,display_name:f,network_type:o,blocto_service_environment:c}=(a=r[e])!==null&&a!==void 0?a:{};if(!i)throw Fn.ethErrors.provider.unsupportedMethod(`Get support chain failed: ${e} might not be supported yet.`);let d=ast[c];this._blocto.switchableNetwork[i]={name:s,display_name:f,network_type:o,wallet_web_url:d,rpc_url:t[0]}})},j3=function(){var e;if(!((e=this.existedSDK)===null||e===void 0)&&e.isBlocto&&Xo(this.existedSDK.chainId)!==Xo(this.chainId))throw Fn.ethErrors.provider.chainDisconnected()},D6e=function(e,t=!0){return ua(this,void 0,void 0,function*(){let{authorizationId:a}=yield this.bloctoApi("/authz",{method:"POST",body:JSON.stringify([e,t])}),r=new URLSearchParams;r.set("l6n",window.location.origin),r.set("q",`${window.location.pathname}${window.location.search}`);let i=yield this.setIframe(`/authz/${a}?${r.toString()}`);return this.responseListener(i,"txHash")})};Fin=n=>{var e,t;let a=Object.assign({},n),{message:r,nonce:i,address:s,application:f,chainId:o}=n;return typeof r!="string"&&(a.message=(e=String(r))!==null&&e!==void 0?e:""),typeof i!="string"&&(a.nonce=(t=String(i))!==null&&t!==void 0?t:""),s&&typeof s!="boolean"&&(a.address=!!s),f&&typeof f!="boolean"&&(a.application=!!f),o&&typeof o!="boolean"&&(a.chainId=!!o),a},S6e=class extends NW{get existedSDK(){if(!(typeof window>"u"))return window.bloctoAptos}constructor({chainId:e,server:t,appId:a}){super(),this.publicKey=[],this.authKey="",this.off=this.removeListener,ix(e,"'chainId' is required"),ix(a,"It is necessary to interact with Blocto wallet via your app id. Please visit https://developers.blocto.app for more details."),this.chainId=e,this.networkName=Lrn[e],this.api=Mrn[e],this.sessionKey=Prn[e];let r=Rrn[e];this.appId=a||A6e,this.server=t||r||""}get publicAccount(){var e;return{address:((e=su(this.sessionKey,qs.APTOS))===null||e===void 0?void 0:e[0])||null,publicKey:this.publicKey.length?this.publicKey:null,authKey:null,minKeysRequired:2}}network(){return ua(this,void 0,void 0,function*(){return{name:this.networkName,api:this.api,chainId:this.chainId.toString()}})}isConnected(){var e;return ua(this,void 0,void 0,function*(){return!!(!((e=su(this.sessionKey,qs.APTOS))===null||e===void 0)&&e.length)})}signTransaction(e){var t;return ua(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signTransaction(e);throw(yield this.isConnected())||(yield this.connect()),!((t=su(this.sessionKey,qs.APTOS))===null||t===void 0)&&t.length?new Error("signTransaction method not supported."):new Error("Fail to get account")})}disconnect(){var e;return ua(this,void 0,void 0,function*(){if(this.existedSDK){yield this.existedSDK.disconnect();return}$rn(this.sessionKey,qs.APTOS),(e=this.eventListeners)===null||e===void 0||e.disconnect.forEach(t=>t({code:4900,message:"Wallet disconnected"}))})}signAndSubmitTransaction(e,t={}){var a,r;return ua(this,void 0,void 0,function*(){if(this.existedSDK)return this.existedSDK.signAndSubmitTransaction(e,t);if((yield this.isConnected())||(yield this.connect()),!(!((a=su(this.sessionKey,qs.APTOS))===null||a===void 0)&&a.length))throw new Error("Fail to get account");let s=((r=K3(this.sessionKey))===null||r===void 0?void 0:r.code)||"",{authorizationId:f}=yield fetch(`${this.server}/api/aptos/authz`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":s},body:JSON.stringify(Object.assign(Object.assign({},e),t))}).then(c=>MW(c,this.sessionKey));if(typeof window>"u")throw new Error("Currently only supported in browser");let o=RW(`${this.server}/${this.appId}/aptos/authz/${f}`);return LW(o),new Promise((c,d)=>G3("message",(l,y)=>{let h=l;h.origin===this.server&&h.data.type==="APTOS:FRAME:RESPONSE"&&(h.data.status==="APPROVED"&&(y(),bd(o),c({hash:h.data.txHash})),h.data.status==="DECLINED"&&(y(),bd(o),h.data.errorCode==="incorrect_session_id"&&this.disconnect(),d(new Error(h.data.errorMessage))))}))})}signMessage(e){var t,a;return ua(this,void 0,void 0,function*(){let r=Fin(e);if(this.existedSDK)return this.existedSDK.signMessage(r);if((yield this.isConnected())||(yield this.connect()),!(!((t=su(this.sessionKey,qs.APTOS))===null||t===void 0)&&t.length))throw new Error("Fail to get account");if(typeof window>"u")throw new Error("Currently only supported in browser");let s=((a=K3(this.sessionKey))===null||a===void 0?void 0:a.code)||"",{signatureId:f}=yield fetch(`${this.server}/api/aptos/user-signature`,{method:"POST",headers:{"Content-Type":"application/json","Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":s},body:JSON.stringify(r)}).then(d=>MW(d,this.sessionKey)),o=`${this.server}/${this.appId}/aptos/user-signature/${f}`,c=RW(o);return LW(c),new Promise((d,l)=>G3("message",(y,h)=>{let T=y;T.origin===this.server&&T.data.type==="APTOS:FRAME:RESPONSE"&&(T.data.status==="APPROVED"&&(h(),bd(c),d(T.data)),T.data.status==="DECLINED"&&(h(),bd(c),T.data.errorCode==="incorrect_session_id"&&this.disconnect(),l(new Error(T.data.errorMessage))))}))})}connect(){return ua(this,void 0,void 0,function*(){return this.existedSDK?new Promise((e,t)=>setTimeout(()=>this.existedSDK.connect().then(e).catch(t),10)):new Promise((e,t)=>{var a,r;if(typeof window>"u")return t("Currently only supported in browser");if(!((a=su(this.sessionKey,qs.APTOS))===null||a===void 0)&&a.length)return e({address:((r=su(this.sessionKey,qs.APTOS))===null||r===void 0?void 0:r[0])||null,publicKey:this.publicKey,authKey:null,minKeysRequired:2});let i=encodeURIComponent(window.location.origin),s=RW(`${this.server}/${this.appId}/aptos/authn?l6n=${i}&v=${UW}}`);LW(s),G3("message",(f,o)=>ua(this,void 0,void 0,function*(){var c,d,l,y;let h=f;if(h.origin===this.server){if(h.data.type==="APTOS:FRAME:RESPONSE")if(o(),bd(s),fx(this.sessionKey,{code:h.data.code,accounts:{[qs.APTOS]:[h.data.addr]}},h.data.exp),!((c=h.data)===null||c===void 0)&&c.isAccountChanged&&postMessage({originChain:qs.APTOS,type:"BLOCTO_SDK:ACCOUNT_CHANGED"}),G3("message",(T,A)=>{var O,N;let U=T;((O=U.data)===null||O===void 0?void 0:O.type)==="BLOCTO_SDK:ACCOUNT_CHANGED"&&((N=U.data)===null||N===void 0?void 0:N.originChain)!==qs.APTOS&&(this.disconnect(),A())}),!((d=su(this.sessionKey,qs.APTOS))===null||d===void 0)&&d.length)try{let{public_keys:T}=yield fetch(`${this.server}/blocto/aptos/accounts/${(l=su(this.sessionKey,qs.APTOS))===null||l===void 0?void 0:l[0]}`).then(A=>A.json());this.publicKey=T||[],e({address:((y=su(this.sessionKey,qs.APTOS))===null||y===void 0?void 0:y[0])||"",publicKey:this.publicKey,authKey:null,minKeysRequired:2})}catch{return t(h)}else return t();h.data.type==="APTOS:FRAME:CLOSE"&&(o(),bd(s),t(new Error("User declined the login request")))}}))})})}fetchAddress(){var e;return ua(this,void 0,void 0,function*(){let t=((e=K3(this.sessionKey))===null||e===void 0?void 0:e.code)||"",{accounts:a}=yield fetch(`${this.server}/api/aptos/accounts`,{headers:{"Blocto-Application-Identifier":this.appId,"Blocto-Session-Identifier":t}}).then(r=>MW(r,this.sessionKey));return Vrn(this.sessionKey,qs.APTOS,a),a?.[0]||""})}on(e,t){this.existedSDK&&this.existedSDK.on(e,t),super.on(e,t)}removeListener(e,t){this.existedSDK&&this.existedSDK.off(e,t),super.removeListener(e,t)}},$W=class{constructor({appId:e,ethereum:t,aptos:a}){t&&(this.ethereum=new C6e(Object.assign(Object.assign({},t),{appId:e}))),a&&(this.aptos=new S6e(Object.assign(Object.assign({},a),{appId:e})))}}});var Hst={};jt(Hst,{BloctoConnector:()=>O6e});var Uk,O6e,zst=ce(()=>{"use strict";p();u();X7();Zf();qst();Uk=Te(Ue());yn();Ay();Sy();Ot();O6e=class extends Rc{constructor(t){let{chains:a,options:r={}}=t;super({chains:a,options:r});Z(this,"id",Mt.blocto);Z(this,"name","Blocto");Z(this,"ready",!0);this._onAccountsChangedBind=this.onAccountsChanged.bind(this),this._onChainChangedBind=this.onChainChanged.bind(this),this._onDisconnectBind=this.onDisconnect.bind(this)}async connect(t){try{let a=await this.getProvider(t);this.setupListeners(),this.emit("message",{type:"connecting"});let r=await a.request({method:"eth_requestAccounts"}),i=Uk.utils.getAddress(r[0]),s=await this.getChainId(),f=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:f},provider:a}}catch(a){throw this._handleConnectReset(),this._isUserRejectedRequestError(a)?new w0(a):a}}async disconnect(){await(await this.getProvider()).request({method:"wallet_disconnect"}),this.removeListeners(),this._handleConnectReset()}async getAccount(){let a=await(await this.getProvider()).request({method:"eth_accounts"}),[r]=a||[];if(!r)throw new Error("No accounts found");return r}async getChainId(){let a=await(await this.getProvider()).request({method:"eth_chainId"});return rs(a)}getProvider(){let{chainId:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._provider){let a=t??this.chains[0]?.chainId??1,r=this.chains.find(i=>i.chainId===a)?.rpc[0];this._provider=new $W({ethereum:{chainId:a,rpc:r},appId:this.options.appId})?.ethereum}if(!this._provider)throw new En;return Promise.resolve(this._provider)}async getSigner(){let{chainId:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[a,r]=await Promise.all([this.getProvider(),this.getAccount()]);return new Uk.providers.Web3Provider(a,t).getSigner(r)}async isAuthorized(){return!!this._provider?._blocto?.sessionKeyEnv}async switchChain(t){let a=await this.getProvider(),r=Uk.utils.hexValue(t),i=this.chains.find(o=>o.chainId===t);if(!i)throw new V1(new Error("chain not found on connector."));if(!(await a.supportChainList())[`${t}`])throw new V1(new Error(`Blocto unsupported chain: ${r}`));try{return await a.request({method:"wallet_addEthereumChain",params:[{chainId:r,rpcUrls:iu(i)}]}),await a.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]}),i}catch(o){throw this._isUserRejectedRequestError(o)?new w0(o):new V1(o)}}onAccountsChanged(){}async onChainChanged(t){let a=rs(t),r=this.isChainUnsupported(a),i=await this.getAccount();this.emit("change",{chain:{id:a,unsupported:r},account:i})}onDisconnect(){this.emit("disconnect")}async setupListeners(){let t=await this.getProvider();t.on("accountsChanged",this._onAccountsChangedBind),t.on("chainChanged",this._onChainChangedBind),t.on("disconnect",this._onDisconnectBind)}async removeListeners(){let t=await this.getProvider();t.off("accountsChanged",this._onAccountsChangedBind),t.off("chainChanged",this._onChainChangedBind),t.off("disconnect",this._onDisconnectBind)}_isUserRejectedRequestError(t){return/(user rejected)/i.test(t.message)}_handleConnectReset(){this._provider=void 0}}});var KW,Oin,Vin,$in,cu,ox=ce(()=>{p();u();KW={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"},Oin=()=>typeof window<"u"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",Vin=()=>typeof window<"u"&&window.location.origin.includes("paper.xyz"),$in=()=>typeof window<"u"&&window.location.origin.includes("thirdweb.com"),cu=()=>{var n;return Oin()?(n=window.localStorage.getItem("PAPER_DEV_URL"))!=null?n:"http://localhost:3000":Vin()||$in()?window.location.origin:"https://withpaper.com"}});function H6e(n){return new Promise(e=>{setTimeout(e,n*1e3)})}function Win(n){let{clientId:e,path:t,queryParams:a}=n,r=new URL(`${t}`,QW());if(a)for(let i of Object.keys(a))r.searchParams.set(i,a[i]?.toString()||"");return r.searchParams.set("clientId",e),r}var JW,jst,Uin,QW,$6e,qin,U6e,Hin,q6e,zk,Py,Wst,Hk,zin,z6e,W6e,j6e,jin,G6e,K6e,Q6e,Y6e,J6e,YW,Gst=ce(()=>{"use strict";p();u();ox();JW=Te(Ue()),jst=Te(Bh());Q7();Uin="/sdk/2022-08-12/embedded-wallet",QW=()=>localStorage.getItem("IS_THIRDWEB_DEV")==="true"?window.localStorage.getItem("THIRDWEB_DEV_URL")??"http://localhost:3000":"https://embedded-wallet.thirdweb.com",$6e=n=>`thirdwebEwsWalletUserId-${n}`,qin="walletToken",U6e=n=>`${qin}-${n}`,Hin="a",q6e=(n,e)=>`${Hin}-${n}-${e}`,zk=function(n){return n.COGNITO="Cognito",n.GOOGLE="Google",n.EMAIL_OTP="EmailOtp",n.CUSTOM_JWT="CustomJWT",n.CUSTOM_AUTH_ENDPOINT="CustomAuthEndpoint",n.FACEBOOK="Facebook",n.APPLE="Apple",n.PASSKEY="Passkey",n.DISCORD="Discord",n.EOA_WALLET="EoaWallet",n.TELEGRAM="Telegram",n}({}),Py=function(n){return n.LOGGED_OUT="Logged Out",n.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",n.LOGGED_IN_NEW_DEVICE="Logged In, New Device",n.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",n}({}),Wst=new Map,Hk=class{constructor(e){let{clientId:t}=e;this.isSupported=!!window.localStorage,this.clientId=t}async getItem(e){return this.isSupported?window.localStorage.getItem(e):Wst.get(e)??null}async setItem(e,t){if(this.isSupported)return window.localStorage.setItem(e,t);Wst.set(e,t)}async removeItem(e){let t=await this.getItem(e);return this.isSupported&&t?(window.localStorage.removeItem(e),!0):!1}async saveAuthCookie(e){await this.setItem(U6e(this.clientId),e)}async getAuthCookie(){return this.getItem(U6e(this.clientId))}async removeAuthCookie(){return this.removeItem(U6e(this.clientId))}async saveDeviceShare(e,t){await this.saveWalletUserId(t),await this.setItem(q6e(this.clientId,t),e)}async getDeviceShare(){let e=await this.getWalletUserId();return e?this.getItem(q6e(this.clientId,e)):null}async removeDeviceShare(){let e=await this.getWalletUserId();return e?this.removeItem(q6e(this.clientId,e)):!1}async getWalletUserId(){return this.getItem($6e(this.clientId))}async saveWalletUserId(e){await this.setItem($6e(this.clientId),e)}async removeWalletUserId(){return this.removeItem($6e(this.clientId))}};zin={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},z6e=new Map,W6e=class{constructor(e){Z(this,"POLLING_INTERVAL_SECONDS",1.4);let{link:t,iframeId:a,container:r=document.body,iframeStyles:i,onIframeInitialize:s}=e;this.iframeBaseUrl=QW();let f=document.getElementById(a),o=new URL(t),c="2.5.39";if(o.searchParams.set("sdkVersion",c),!f||f.src!==o.href){if(!f){f=document.createElement("iframe");let l={...zin,...i};Object.assign(f.style,l),f.setAttribute("id",a),f.setAttribute("fetchpriority","high"),r.appendChild(f)}f.src=o.href,f.setAttribute("data-version",c);let d=l=>{if(l.data.eventType==="ewsIframeLoaded"){if(window.removeEventListener("message",d),!f){console.warn("thirdweb Iframe not found");return}this.onIframeLoadHandler(f,s)()}};window.addEventListener("message",d)}this.iframe=f}async onIframeLoadedInitVariables(){return{}}onIframeLoadHandler(e,t){return async()=>{await new Promise(async(r,i)=>{let s=new MessageChannel;s.port1.onmessage=o=>{let{data:c}=o;return s.port1.close(),c.success?(z6e.set(e.src,!0),t&&t(),r(!0)):i(new Error(c.error))},e?.contentWindow?.postMessage({eventType:"initIframe",data:await this.onIframeLoadedInitVariables()},this.iframeBaseUrl,[s.port2])})}}async call(e){let{procedureName:t,params:a,showIframe:r=!1}=e;for(;!z6e.get(this.iframe.src);)await H6e(this.POLLING_INTERVAL_SECONDS);return r&&(this.iframe.style.display="block",await H6e(.005)),new Promise((s,f)=>{let o=new MessageChannel;o.port1.onmessage=async c=>{let{data:d}=c;o.port1.close(),r&&(await H6e(.1),this.iframe.style.display="none"),d.success?s(d.data):f(new Error(d.error))},this.iframe.contentWindow?.postMessage({eventType:t,data:a},this.iframeBaseUrl,[o.port2])})}destroy(){z6e.delete(this.iframe.src)}},j6e=class extends W6e{constructor(e){let{clientId:t,customizationOptions:a}=e;super({iframeId:jin,link:Win({clientId:t,path:Uin,queryParams:a}).href,container:document.body}),this.clientId=t}async onIframeLoadedInitVariables(){let e=new Hk({clientId:this.clientId});return{authCookie:await e.getAuthCookie(),deviceShareStored:await e.getDeviceShare(),walletUserId:await e.getWalletUserId(),clientId:this.clientId}}};jin="thirdweb-embedded-wallet-iframe",G6e=class{constructor(e){let{querier:t,preLogin:a,postLogin:r,clientId:i}=e;this.LoginQuerier=t,this.preLogin=a,this.postLogin=r,this.clientId=i}async sendEmailLoginOtp(e){let{email:t}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebEmailLoginOtp",params:{email:t}})}async sendSmsLoginOtp(e){let{phoneNumber:t}=e;return await this.preLogin(),await this.LoginQuerier.call({procedureName:"sendThirdwebSmsLoginOtp",params:{phoneNumber:t}})}},K6e=class extends G6e{constructor(){super(...arguments);Z(this,"closeWindow",t=>{let{isWindowOpenedByFn:a,win:r,closeOpenedWindow:i}=t;a?r?.close():r&&i?i(r):r&&r.close()})}async getOauthLoginUrl(t){return await this.LoginQuerier.call({procedureName:"getHeadlessOauthLoginLink",params:{authProvider:t}})}async loginWithModal(){await this.preLogin();let t=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:void 0,showIframe:!0});return this.postLogin(t)}async loginWithEmailOtp(t){let{email:a}=t;await this.preLogin();let r=await this.LoginQuerier.call({procedureName:"loginWithThirdwebModal",params:{email:a},showIframe:!0});return this.postLogin(r)}getOauthPopUpSizing(t){switch(t){case zk.FACEBOOK:return"width=715, height=555";default:return"width=350, height=500"}}async loginWithOauth(t){let a=t?.openedWindow,r=!1;if(a||(a=window.open("","Login",this.getOauthPopUpSizing(t.oauthProvider)),r=!0),!a)throw new Error("Something went wrong opening pop-up");let[{loginLink:i}]=await Promise.all([this.getOauthLoginUrl(t.oauthProvider),this.preLogin()]);a.location.href=i;let s=await new Promise((f,o)=>{let c=window.setInterval(async()=>{a&&a.closed&&(clearInterval(c),window.removeEventListener("message",d),o(new Error("User closed login window")))},1e3),d=async l=>{if(l.origin===QW()){if(typeof l.data!="object"){o(new Error("Invalid event data"));return}switch(l.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",d),clearInterval(c),this.closeWindow({isWindowOpenedByFn:r,win:a,closeOpenedWindow:t?.closeOpenedWindow}),l.data.authResult&&f(l.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",d),clearInterval(c),this.closeWindow({isWindowOpenedByFn:r,win:a,closeOpenedWindow:t?.closeOpenedWindow}),o(new Error(l.data.error));break}case"injectDeveloperClientId":{a?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId,authOption:t.oauthProvider},QW());break}}}};window.addEventListener("message",d)});return this.postLogin({storedToken:{...s.storedToken,shouldStoreCookieString:!0},walletDetails:{...s.walletDetails,isIframeStorageEnabled:!1}})}async loginWithCustomJwt(t){let{encryptionKey:a,jwt:r}=t;await this.preLogin();let i=await this.LoginQuerier.call({procedureName:"loginWithCustomJwt",params:{encryptionKey:a,jwt:r}});return this.postLogin(i)}async loginWithCustomAuthEndpoint(t){let{encryptionKey:a,payload:r}=t;await this.preLogin();let i=await this.LoginQuerier.call({procedureName:"loginWithCustomAuthEndpoint",params:{encryptionKey:a,payload:r}});return this.postLogin(i)}async verifyEmailLoginOtp(t){let{email:a,otp:r,recoveryCode:i}=t,s=await this.LoginQuerier.call({procedureName:"verifyThirdwebEmailLoginOtp",params:{email:a,otp:r,recoveryCode:i}});return this.postLogin(s)}async verifySmsLoginOtp(t){let{phoneNumber:a,otp:r,recoveryCode:i}=t,s=await this.LoginQuerier.call({procedureName:"verifyThirdwebSmsLoginOtp",params:{phoneNumber:a,otp:r,recoveryCode:i}});return this.postLogin(s)}},Q6e=class{constructor(e){let{clientId:t,querier:a,onAuthSuccess:r}=e;this.clientId=t,this.AuthQuerier=a,this.localStorage=new Hk({clientId:t}),this.onAuthSuccess=r,this.BaseLogin=new K6e({postLogin:async i=>this.postLogin(i),preLogin:async()=>{await this.preLogin()},querier:a,clientId:t})}async preLogin(){await this.logout()}async postLogin(e){let{storedToken:t,walletDetails:a}=e;return t.shouldStoreCookieString&&await this.localStorage.saveAuthCookie(t.cookieString),await this.onAuthSuccess({storedToken:t,walletDetails:a})}async loginWithModal(){return this.BaseLogin.loginWithModal()}async loginWithEmailOtp(e){return this.BaseLogin.loginWithEmailOtp(e)}async loginWithCustomJwt(e){return this.BaseLogin.loginWithCustomJwt(e)}async loginWithCustomAuthEndpoint(e){return this.BaseLogin.loginWithCustomAuthEndpoint(e)}async loginWithOauth(e){return this.BaseLogin.loginWithOauth(e)}async sendEmailLoginOtp(e){let{email:t}=e;return this.BaseLogin.sendEmailLoginOtp({email:t})}async sendSmsLoginOtp(e){let{phoneNumber:t}=e;return this.BaseLogin.sendSmsLoginOtp({phoneNumber:t})}async verifyEmailLoginOtp(e){return this.BaseLogin.verifyEmailLoginOtp(e)}async verifySmsLoginOtp(e){return this.BaseLogin.verifySmsLoginOtp(e)}async logout(){let{success:e}=await this.AuthQuerier.call({procedureName:"logout",params:void 0}),t=await this.localStorage.removeAuthCookie(),a=await this.localStorage.removeWalletUserId();return{success:e||t||a}}},Y6e=class n extends JW.Signer{constructor(t){let{provider:a,clientId:r,querier:i}=t;super();Z(this,"DEFAULT_ETHEREUM_CHAIN_ID",5);this.clientId=r,this.querier=i,this.endpoint=a.connection?.url,(0,jst.defineReadOnly)(this,"provider",a)}async getAddress(){let{address:t}=await this.querier.call({procedureName:"getAddress",params:void 0});return t}async signMessage(t){let{signedMessage:a}=await this.querier.call({procedureName:"signMessage",params:{message:t,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return a}async signTransaction(t){let{signedTransaction:a}=await this.querier.call({procedureName:"signTransaction",params:{transaction:t,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return a}async sendTransaction(t){if(!this.provider)throw new Error("Provider not found");let a={};!t.gasLimit&&!(t.maxFeePerGas&&t.maxPriorityFeePerGas)&&(a=await ap(this.provider));let r={...a,...t};return super.sendTransaction(r)}async _signTypedData(t,a,r){let{signedTypedData:i}=await this.querier.call({procedureName:"signTypedDataV4",params:{domain:t,types:a,message:r,chainId:(await this.provider?.getNetwork())?.chainId??this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i}connect(t){return new n({clientId:this.clientId,provider:t,querier:this.querier})}},J6e=class{constructor(e){let{clientId:t,chain:a,querier:r}=e;this.clientId=t,this.chain=a,this.walletManagerQuerier=r,this.localStorage=new Hk({clientId:t})}async postWalletSetUp(e){let{deviceShareStored:t,walletAddress:a,isIframeStorageEnabled:r,walletUserId:i}=e;return r||await this.localStorage.saveDeviceShare(t,i),{walletAddress:a}}async getUserWalletStatus(){let e=await this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return e.status===Py.LOGGED_IN_WALLET_INITIALIZED?{status:Py.LOGGED_IN_WALLET_INITIALIZED,...e.user,wallet:this}:e.status===Py.LOGGED_IN_NEW_DEVICE?{status:Py.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:e.status===Py.LOGGED_IN_WALLET_UNINITIALIZED?{status:Py.LOGGED_IN_WALLET_UNINITIALIZED,...e.user}:{status:e.status}}async setChain(e){let{chain:t}=e;this.chain=t}async getEthersJsSigner(e){return new Y6e({clientId:this.clientId,provider:(0,JW.getDefaultProvider)(e?.rpcEndpoint??KW[this.chain]),querier:this.walletManagerQuerier})}},YW=class{isClientIdLegacyPaper(e){return e.indexOf("-")>0&&e.length===36}constructor(e){let{clientId:t,chain:a,styles:r,onAuthSuccess:i}=e;if(this.isClientIdLegacyPaper(t))throw new Error("You are using a legacy clientId. Please use the clientId found on the thirdweb dashboard settings page");this.clientId=t,this.querier=new j6e({clientId:t,customizationOptions:r}),this.wallet=new J6e({clientId:t,chain:a,querier:this.querier}),this.auth=new Q6e({clientId:t,querier:this.querier,onAuthSuccess:async s=>(i?.(s),await this.wallet.postWalletSetUp({...s.walletDetails,walletUserId:s.storedToken.authDetails.userWalletId}),await this.querier.call({procedureName:"initIframe",params:{deviceShareStored:s.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:s.storedToken.authDetails.userWalletId,authCookie:s.storedToken.cookieString}}),{user:{status:Py.LOGGED_IN_WALLET_INITIALIZED,authDetails:s.storedToken.authDetails,wallet:this.wallet,walletAddress:s.walletDetails.walletAddress}})})}async getUser(){return this.wallet.getUserWalletStatus()}}});var Qst={};jt(Qst,{EmbeddedWalletConnector:()=>X6e});function Gin(n){throw new Error("Invalid param: "+n)}var Kst,X6e,Kin,Yst=ce(()=>{"use strict";p();u();Kst=Te(Ue());Sy();yn();Mr();Gst();Ot();X6e=class extends $1{constructor(t){super();Z(this,"id",Mt.paper);Z(this,"name","Embedded Wallet");Z(this,"ready",!0);Z(this,"user",null);Z(this,"onAccountsChanged",async t=>{t.length===0?await this.onDisconnect():this.emit("change",{account:Kst.utils.getAddress(t[0])})});Z(this,"onChainChanged",t=>{let a=rs(t),r=this.options.chains.findIndex(i=>i.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})});Z(this,"onDisconnect",async()=>{this.emit("disconnect")});this.options=t}getEmbeddedWalletSDK(){return this._embeddedWalletSdk||(this._embeddedWalletSdk=new YW({clientId:this.options.clientId,chain:"Ethereum",onAuthSuccess:this.options.onAuthSuccess})),this._embeddedWalletSdk}async connect(t){if(t){if(!t.authResult)throw new Error("Missing authData - call authenticate() first with your authentication strategy");if(!t.authResult.user)throw new Error("Missing authData.user - call authenticate() first with your authentication strategy");this.user=t.authResult.user}else{let a=await this.authenticate({strategy:"iframe"});if(!a.user)throw new Error("Error connecting User");this.user=a.user}return t?.chainId&&this.switchChain(t.chainId),this.getAddress()}async disconnect(){await this._embeddedWalletSdk?.auth.logout(),this._signer=void 0,this._embeddedWalletSdk=void 0,this.user=null}async getAddress(){if(!this.user)throw new Error("Embedded Wallet is not connected");return await this.getSigner().then(t=>t.getAddress())}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let t=await this.getSigner();if(!t.provider)throw new Error("Provider not found");return t.provider}async getSigner(){if(this._signer)return this._signer;let a=await(await this.getUser()).wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!a)throw new Error("Signer not found");return this._signer=a,a}async isAuthorized(){return!1}async switchChain(t){let a=this.options.chains.find(r=>r.chainId===t);if(!a)throw new Error("Chain not configured");try{await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:a.rpc[0]||""}),this.emit("change",{chain:{id:t,unsupported:!1}})}catch(r){console.warn("Failed to switch chain",r)}}async setupListeners(){return Promise.resolve()}updateChains(t){this.options.chains=t}async getUser(){if(!this.user||!this.user.wallet||!this.user.wallet.getEthersJsSigner){let a=await this.getEmbeddedWalletSDK().getUser();switch(a.status){case Py.LOGGED_IN_WALLET_INITIALIZED:{this.user=a;break}default:throw new Error("Embedded Wallet is not authenticated, please authenticate first")}}return this.user}async getEmail(){return(await this.getUser()).authDetails.email}async getPhoneNumber(){return(await this.getUser()).authDetails.phoneNumber}async getRecoveryInformation(){return(await this.getUser()).authDetails}async sendVerificationEmail(t){let{email:a}=t;return this.getEmbeddedWalletSDK().auth.sendEmailLoginOtp({email:a})}async sendVerificationSms(t){let{phoneNumber:a}=t;return this.getEmbeddedWalletSDK().auth.sendSmsLoginOtp({phoneNumber:a})}async authenticate(t){let a=this.getEmbeddedWalletSDK(),r=t.strategy;switch(r){case"email_verification":return await a.auth.verifyEmailLoginOtp({email:t.email,otp:t.verificationCode,recoveryCode:t.recoveryCode});case"phone_number_verification":return await a.auth.verifySmsLoginOtp({phoneNumber:t.phoneNumber,otp:t.verificationCode,recoveryCode:t.recoveryCode});case"apple":case"facebook":case"google":{let i=Kin[r];return a.auth.loginWithOauth({oauthProvider:i,closeOpenedWindow:t.closeOpenedWindow,openedWindow:t.openedWindow})}case"jwt":return a.auth.loginWithCustomJwt({jwt:t.jwt,encryptionKey:t.encryptionKey});case"auth_endpoint":return a.auth.loginWithCustomAuthEndpoint({payload:t.payload,encryptionKey:t.encryptionKey});case"iframe_email_verification":return a.auth.loginWithEmailOtp({email:t.email});case"iframe":return a.auth.loginWithModal();default:Gin(r)}}};Kin={google:zk.GOOGLE,facebook:zk.FACEBOOK,apple:zk.APPLE}});function Nr(n){return typeof n<"u"&&!!n&&"ethereum"in n&&!!n.ethereum}var Mc=ce(()=>{"use strict";p();u()});function XW(){function n(e){if(e?.isMetaMask&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isRainbow&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary&&!e.isRabbyWallet&&!e.isImToken)return e}if(Nr(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(n):n(globalThis.window.ethereum)}var Z6e=ce(()=>{"use strict";p();u();Mc()});var Xst={};jt(Xst,{InjectedConnector:()=>Xa});function Qin(n){if(!n)return"Injected";let e=t=>{if(t.isAvalanche)return"Core Wallet";if(t.isBitKeep)return"BitKeep";if(t.isBraveWallet)return"Brave Wallet";if(t.isCoinbaseWallet)return"Coinbase Wallet";if(t.isExodus)return"Exodus";if(t.isFrame)return"Frame";if(t.isKuCoinWallet)return"KuCoin Wallet";if(t.isMathWallet)return"MathWallet";if(t.isOneInchIOSWallet||t.isOneInchAndroidWallet)return"1inch Wallet";if(t.isOpera)return"Opera";if(t.isPortal)return"Ripio Portal";if(t.isTally)return"Tally";if(t.isTokenPocket)return"TokenPocket";if(t.isTokenary)return"Tokenary";if(t.isTrust||t.isTrustWallet)return"Trust Wallet";if(t.isMetaMask)return"MetaMask";if(t.isImToken)return"imToken"};if(n.providers?.length){let t=new Set,a=1;for(let i of n.providers){let s=e(i);s||(s=`Unknown Wallet #${a}`,a+=1),t.add(s)}let r=[...t];return r.length?r:r[0]??"Injected"}return e(n)??"Injected"}var s9,Xa,q1=ce(()=>{"use strict";p();u();X7();Zf();Mc();Ay();s9=Te(Ue());Sy();Ot();Xa=class extends Rc{constructor(t){let r={...{shimDisconnect:!0,getProvider:()=>{if(Nr(globalThis.window))return globalThis.window.ethereum}},...t.options};super({chains:t.chains,options:r});Z(this,"shimDisconnectKey","injected.shimDisconnect");Z(this,"onAccountsChanged",async t=>{t.length===0?this.emit("disconnect"):this.emit("change",{account:s9.utils.getAddress(t[0])})});Z(this,"onChainChanged",t=>{let a=rs(t),r=this.isChainUnsupported(a);this.emit("change",{chain:{id:a,unsupported:r}})});Z(this,"onDisconnect",async t=>{if(t.code===1013&&await this.getProvider())try{if(await this.getAccount())return}catch{}this.emit("disconnect"),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey)});let i=r.getProvider();if(typeof r.name=="string")this.name=r.name;else if(i){let s=Qin(i);r.name?this.name=r.name(s):typeof s=="string"?this.name=s:this.name=s[0]}else this.name="Injected";this.id="injected",this.ready=!!i,this.connectorStorage=t.connectorStorage}async connect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let a=await this.getProvider();if(!a)throw new En;this.setupListeners(),this.emit("message",{type:"connecting"});let r=await a.request({method:"eth_requestAccounts"}),i=s9.utils.getAddress(r[0]),s=await this.getChainId(),f=this.isChainUnsupported(s);if(t.chainId&&s!==t.chainId)try{await this.switchChain(t.chainId),s=t.chainId,f=this.isChainUnsupported(t.chainId)}catch(c){console.error(`Could not switch to chain id: ${t.chainId}`,c)}this.options.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let o={account:i,chain:{id:s,unsupported:f},provider:a};return this.emit("connect",o),o}catch(a){throw this.isUserRejectedRequestError(a)?new w0(a):a.code===-32002?new pr(a):a}}async disconnect(){let t=await this.getProvider();t?.removeListener&&(t.removeListener("accountsChanged",this.onAccountsChanged),t.removeListener("chainChanged",this.onChainChanged),t.removeListener("disconnect",this.onDisconnect),this.options.shimDisconnect&&await this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let t=await this.getProvider();if(!t)throw new En;let a=await t.request({method:"eth_accounts"});return s9.utils.getAddress(a[0])}async getChainId(){let t=await this.getProvider();if(!t)throw new En;return t.request({method:"eth_chainId"}).then(rs)}async getProvider(){let t=this.options.getProvider();return t&&(this._provider=t),this._provider}async getSigner(){let{chainId:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[a,r]=await Promise.all([this.getProvider(),this.getAccount()]);return new s9.providers.Web3Provider(a,t).getSigner(r)}async isAuthorized(){try{if(this.options.shimDisconnect&&!await this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new En;return!!await this.getAccount()}catch{return!1}}async switchChain(t){let a=await this.getProvider();if(!a)throw new En;let r=s9.utils.hexValue(t);try{await a.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]});let i=this.chains.find(s=>s.chainId===t);return i||{chainId:t,name:`Chain ${r}`,slug:`${r}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(i){let s=this.chains.find(f=>f.chainId===t);if(!s)throw new U3({chainId:t,connectorId:this.id});if(i.code===4902||i?.data?.originalError?.code===4902)try{return await a.request({method:"wallet_addEthereumChain",params:[{chainId:r,chainName:s.name,nativeCurrency:s.nativeCurrency,rpcUrls:iu(s),blockExplorerUrls:this.getBlockExplorerUrls(s)}]}),s}catch(f){throw this.isUserRejectedRequestError(f)?new w0(i):new $3}throw this.isUserRejectedRequestError(i)?new w0(i):new V1(i)}}async setupListeners(){let t=await this.getProvider();t.on&&(t.on("accountsChanged",this.onAccountsChanged),t.on("chainChanged",this.onChainChanged),t.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(t){return t.code===4001}}});var eft={};jt(eft,{MetaMaskConnector:()=>ele});var Zst,ele,tft=ce(()=>{"use strict";p();u();Zf();yn();q1();Zst=Te(Ue());Z6e();Ot();ele=class extends Xa{constructor(t){let r={...{name:"MetaMask",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:XW},...t.options};super({chains:t.chains,options:r,connectorStorage:t.connectorStorage});Z(this,"id",Mt.metamask);this._UNSTABLE_shimOnConnectSelectAccount=r.UNSTABLE_shimOnConnectSelectAccount}async connect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let a=await this.getProvider();if(!a)throw new En;this.setupListeners(),this.emit("message",{type:"connecting"});let r=null;if(this._UNSTABLE_shimOnConnectSelectAccount&&this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(r=await this.getAccount().catch(()=>null),!!r))try{await a.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(c){if(this.isUserRejectedRequestError(c))throw new w0(c)}if(!r){let o=await a.request({method:"eth_requestAccounts"});r=Zst.utils.getAddress(o[0])}let i=await this.getChainId(),s=this.isChainUnsupported(i);if(t.chainId&&i!==t.chainId)try{await this.switchChain(t.chainId),i=t.chainId,s=this.isChainUnsupported(t.chainId)}catch(o){console.error(`Could not switch to chain id : ${t.chainId}`,o)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let f={chain:{id:i,unsupported:s},provider:a,account:r};return this.emit("connect",f),f}catch(a){throw this.isUserRejectedRequestError(a)?new w0(a):a.code===-32002?new pr(a):a}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});var nft=ce(()=>{p();u()});var aft=ce(()=>{p();u();s$();aS()});var tle=ce(()=>{p();u();nft();n_();Dse();cS();f_();aft()});function hx(n){let[e,t]=n.split(Yin);return{namespace:e,reference:t}}function Cle(n,e=[]){let t=[];return Object.keys(n).forEach(a=>{if(e.length&&!e.includes(a))return;let r=n[a];t.push(...r.accounts)}),t}function Oft(n,e){return n.includes(":")?[n]:e.chains||[]}function gx(){return typeof E<"u"&&typeof E.versions<"u"&&typeof E.versions.node<"u"}function d9(){return!(0,t4.getDocument)()&&!!(0,t4.getNavigator)()&&navigator.product===esn}function n4(){return!gx()&&!!(0,t4.getNavigator)()&&!!(0,t4.getDocument)()}function tP(){return d9()?Nc.reactNative:gx()?Nc.node:n4()?Nc.browser:Nc.unknown}function Vft(){var n;try{return d9()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(n=global.Application)==null?void 0:n.applicationId:void 0}catch{return}}function nsn(n,e){let t=bx.parse(n);return t=sft(sft({},t),e),n=bx.stringify(t),n}function $ft(){return(0,Nft.getWindowMetadata)()||{name:"",description:"",url:"",icons:[""]}}function asn(){if(tP()===Nc.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){let{OS:t,Version:a}=global.Platform;return[t,a].join("-")}let n=T$();if(n===null)return"unknown";let e=n.os?n.os.replace(" ","").toLowerCase():"unknown";return n.type==="browser"?[e,n.name,n.version].join("-"):[e,n.version].join("-")}function rsn(){var n;let e=tP();return e===Nc.browser?[e,((n=(0,t4.getLocation)())==null?void 0:n.host)||"unknown"].join(":"):e}function isn(n,e,t){let a=asn(),r=rsn();return[[n,e].join("-"),[tsn,t].join("-"),a,r].join("/")}function Uft({protocol:n,version:e,relayUrl:t,sdkVersion:a,auth:r,projectId:i,useOnCloseEvent:s,bundleId:f}){let o=t.split("?"),c=isn(n,e,a),d={auth:r,ua:c,projectId:i,useOnCloseEvent:s||void 0,origin:f||void 0},l=nsn(o[1]||"",d);return o[0]+"?"+l}function f9(n,e){return n.filter(t=>e.includes(t)).length===n.length}function Sle(n){return Object.fromEntries(n.entries())}function Ale(n){return new Map(Object.entries(n))}function Fy(n=Ny.FIVE_MINUTES,e){let t=(0,Ny.toMiliseconds)(n||Ny.FIVE_MINUTES),a,r,i;return{resolve:s=>{i&&a&&(clearTimeout(i),a(s))},reject:s=>{i&&r&&(clearTimeout(i),r(s))},done:()=>new Promise((s,f)=>{i=setTimeout(()=>{f(new Error(e))},t),a=s,r=f})}}function vx(n,e,t){return new Promise(async(a,r)=>{let i=setTimeout(()=>r(new Error(t)),e);try{let s=await n;a(s)}catch(s){r(s)}clearTimeout(i)})}function qft(n,e){if(typeof e=="string"&&e.startsWith(`${n}:`))return e;if(n.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(n.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${n}`)}function Hft(n){return qft("topic",n)}function zft(n){return qft("id",n)}function yj(n){let[e,t]=n.split(":"),a={id:void 0,topic:void 0};if(e==="topic"&&typeof t=="string")a.topic=t;else if(e==="id"&&Number.isInteger(Number(t)))a.id=Number(t);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${t}`);return a}function xf(n,e){return(0,Ny.fromMiliseconds)((e||Date.now())+(0,Ny.toMiliseconds)(n))}function vu(n){return Date.now()>=(0,Ny.toMiliseconds)(n)}function Dn(n,e){return`${n}${e?`:${e}`:""}`}function nP(n=[],e=[]){return[...new Set([...n,...e])]}async function Wft({id:n,topic:e,wcDeepLink:t}){try{if(!t)return;let r=(typeof t=="string"?JSON.parse(t):t)?.href;if(typeof r!="string")return;r.endsWith("/")&&(r=r.slice(0,-1));let i=`${r}/wc?requestId=${n}&sessionTopic=${e}`,s=tP();s===Nc.browser?i.startsWith("https://")||i.startsWith("http://")?window.open(i,"_blank","noreferrer noopener"):window.open(i,"_self","noreferrer noopener"):s===Nc.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(i)}catch(a){console.error(a)}}async function jft(n,e){try{return await n.getItem(e)||(n4()?localStorage.getItem(e):void 0)}catch(t){console.error(t)}}function ssn(n){var e=n.default;if(typeof e=="function"){var t=function(){return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(a){var r=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return n[a]}})}),t}function csn(){try{let n=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{n.push(e)}}),n.length)throw new Error("missing "+n.join(", "));if("\xE9".normalize("NFD")!=="e\u0301")throw new Error("broken implementation")}catch(n){return n.message}return null}function Qft(n){return!!n.toHexString}function lx(n){return n.slice||(n.slice=function(){let e=Array.prototype.slice.call(arguments);return lx(new Uint8Array(Array.prototype.slice.apply(n,e)))}),n}function lsn(n){return gd(n)&&!(n.length%2)||Tx(n)}function pft(n){return typeof n=="number"&&n==n&&n%1===0}function Tx(n){if(n==null)return!1;if(n.constructor===Uint8Array)return!0;if(typeof n=="string"||!pft(n.length)||n.length<0)return!1;for(let e=0;e=256)return!1}return!0}function zi(n,e){if(e||(e={}),typeof n=="number"){is.checkSafeUint53(n,"invalid arrayify value");let t=[];for(;n;)t.unshift(n&255),n=parseInt(String(n/256));return t.length===0&&t.push(0),lx(new Uint8Array(t))}if(e.allowMissingPrefix&&typeof n=="string"&&n.substring(0,2)!=="0x"&&(n="0x"+n),Qft(n)&&(n=n.toHexString()),gd(n)){let t=n.substring(2);t.length%2&&(e.hexPad==="left"?t="0"+t:e.hexPad==="right"?t+="0":is.throwArgumentError("hex data is odd-length","value",n));let a=[];for(let r=0;rzi(r)),t=e.reduce((r,i)=>r+i.length,0),a=new Uint8Array(t);return e.reduce((r,i)=>(a.set(i,r),r+i.length),0),lx(a)}function usn(n,e){n=zi(n),n.length>e&&is.throwArgumentError("value out of range","value",arguments[0]);let t=new Uint8Array(e);return t.set(n,e-n.length),lx(t)}function gd(n,e){return!(typeof n!="string"||!n.match(/^0x[0-9A-Fa-f]*$/)||e&&n.length!==2+2*e)}function H1(n,e){if(e||(e={}),typeof n=="number"){is.checkSafeUint53(n,"invalid hexlify value");let t="";for(;n;)t=ale[n&15]+t,n=Math.floor(n/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if(typeof n=="bigint")return n=n.toString(16),n.length%2?"0x0"+n:"0x"+n;if(e.allowMissingPrefix&&typeof n=="string"&&n.substring(0,2)!=="0x"&&(n="0x"+n),Qft(n))return n.toHexString();if(gd(n))return n.length%2&&(e.hexPad==="left"?n="0x0"+n.substring(2):e.hexPad==="right"?n+="0":is.throwArgumentError("hex data is odd-length","value",n)),n.toLowerCase();if(Tx(n)){let t="0x";for(let a=0;a>4]+ale[r&15]}return t}return is.throwArgumentError("invalid hexlify value","value",n)}function ysn(n){if(typeof n!="string")n=H1(n);else if(!gd(n)||n.length%2)return null;return(n.length-2)/2}function uft(n,e,t){return typeof n!="string"?n=H1(n):(!gd(n)||n.length%2)&&is.throwArgumentError("invalid hexData","value",n),e=2+2*e,t!=null?"0x"+n.substring(e,2+2*t):"0x"+n.substring(e)}function mu(n,e){for(typeof n!="string"?n=H1(n):gd(n)||is.throwArgumentError("invalid hex string","value",n),n.length>2*e+2&&is.throwArgumentError("value out of range","value",arguments[1]);n.length<2*e+2;)n="0x0"+n.substring(2);return n}function Yft(n){let e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(lsn(n)){let t=zi(n);t.length===64?(e.v=27+(t[32]>>7),t[32]&=127,e.r=H1(t.slice(0,32)),e.s=H1(t.slice(32,64))):t.length===65?(e.r=H1(t.slice(0,32)),e.s=H1(t.slice(32,64)),e.v=t[64]):is.throwArgumentError("invalid signature string","signature",n),e.v<27&&(e.v===0||e.v===1?e.v+=27:is.throwArgumentError("signature invalid v byte","signature",n)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(t[32]|=128),e._vs=H1(t.slice(32,64))}else{if(e.r=n.r,e.s=n.s,e.v=n.v,e.recoveryParam=n.recoveryParam,e._vs=n._vs,e._vs!=null){let r=usn(zi(e._vs),32);e._vs=H1(r);let i=r[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=i:e.recoveryParam!==i&&is.throwArgumentError("signature recoveryParam mismatch _vs","signature",n),r[0]&=127;let s=H1(r);e.s==null?e.s=s:e.s!==s&&is.throwArgumentError("signature v mismatch _vs","signature",n)}if(e.recoveryParam==null)e.v==null?is.throwArgumentError("signature missing v and recoveryParam","signature",n):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{let r=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==r&&is.throwArgumentError("signature recoveryParam mismatch v","signature",n)}e.r==null||!gd(e.r)?is.throwArgumentError("signature missing or invalid r","signature",n):e.r=mu(e.r,32),e.s==null||!gd(e.s)?is.throwArgumentError("signature missing or invalid s","signature",n):e.s=mu(e.s,32);let t=zi(e.s);t[0]>=128&&is.throwArgumentError("signature s out of range","signature",n),e.recoveryParam&&(t[0]|=128);let a=H1(t);e._vs&&(gd(e._vs)||is.throwArgumentError("signature invalid _vs","signature",n),e._vs=mu(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&is.throwArgumentError("signature _vs mismatch v and s","signature",n)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function kle(n){return"0x"+fsn.keccak_256(zi(n))}function gsn(n){return n!=null&&(no.isBigNumber(n)||typeof n=="number"&&n%1===0||typeof n=="string"&&!!n.match(/^-?[0-9]+$/)||gd(n)||typeof n=="bigint"||Tx(n))}function Xk(n){if(typeof n!="string")return Xk(n.toString(16));if(n[0]==="-")return n=n.substring(1),n[0]==="-"&&Ly.throwArgumentError("invalid hex","value",n),n=Xk(n),n==="0x00"?n:"-"+n;if(n.substring(0,2)!=="0x"&&(n="0x"+n),n==="0x")return"0x00";for(n.length%2&&(n="0x0"+n.substring(2));n.length>4&&n.substring(0,4)==="0x00";)n="0x"+n.substring(4);return n}function Bc(n){return no.from(Xk(n))}function Qn(n){let e=no.from(n).toHexString();return e[0]==="-"?new fj("-"+e.substring(3),16):new fj(e.substring(2),16)}function $6(n,e,t){let a={fault:n,operation:e};return t!=null&&(a.value=t),Ly.throwError(n,si.errors.NUMERIC_FAULT,a)}function vsn(n){return new fj(n,36).toString(16)}function tot(n,e,t,a){let r={fault:e,operation:t};return a!==void 0&&(r.value=a),z1.throwError(n,si.errors.NUMERIC_FAULT,r)}function Ple(n){if(typeof n!="number")try{n=no.from(n).toNumber()}catch{}return typeof n=="number"&&n>=0&&n<=256&&!(n%1)?"1"+Yk.substring(0,n):z1.throwArgumentError("invalid decimal size","decimals",n)}function ile(n,e){e==null&&(e=0);let t=Ple(e);n=no.from(n);let a=n.lt(Zft);a&&(n=n.mul(eot));let r=n.mod(t).toString();for(;r.length2&&z1.throwArgumentError("too many decimal points","value",n);let i=r[0],s=r[1];for(i||(i="0"),s||(s="0");s[s.length-1]==="0";)s=s.substring(0,s.length-1);for(s.length>t.length-1&&tot("fractional component exceeds decimals","underflow","parseFixed"),s===""&&(s="0");s.length>6===2;s++)i++;return i}return n===px.OVERRUN?t.length-e-1:0}function xsn(n,e,t,a,r){return n===px.OVERLONG?(a.push(r),0):(a.push(65533),aot(n,e,t))}function sle(n,e=cj.current){e!=cj.current&&(not.checkNormalize(),n=n.normalize(e));let t=[];for(let a=0;a>6|192),t.push(r&63|128);else if((r&64512)==55296){a++;let i=n.charCodeAt(a);if(a>=n.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");let s=65536+((r&1023)<<10)+(i&1023);t.push(s>>18|240),t.push(s>>12&63|128),t.push(s>>6&63|128),t.push(s&63|128)}else t.push(r>>12|224),t.push(r>>6&63|128),t.push(r&63|128)}return zi(t)}function Isn(n){if(n.length%4!==0)throw new Error("bad data");let e=[];for(let t=0;t{let i=r.split(":");t+=parseInt(i[0],16),a[t]=e(i[1])}),a}function hft(n){let e=0;return n.split(",").map(t=>{let a=t.split("-");a.length===1?a[1]="0":a[1]===""&&(a[1]="1");let r=e+parseInt(a[0],16);return e=parseInt(a[1],16),{l:r,h:e}})}function Esn(n){n=atob(n);let e=[];for(let t=0;t0&&Array.isArray(f)?r(f,s-1):t.push(f)})};return r(n,e),t}function Dsn(n){let e={};for(let t=0;t>--o&1}let l=31,y=Math.pow(2,l),h=y>>>1,T=h>>1,A=y-1,O=0;for(let G=0;G1;){let P=X+J>>>1;G>>1|d(),j=j<<1^h,z=(z^h)<<1|h|1;U=j,q=1+z-j}let W=a-4;return N.map(G=>{switch(G-W){case 3:return W+65792+(n[f++]<<16|n[f++]<<8|n[f++]);case 2:return W+256+(n[f++]<<8|n[f++]);case 1:return W+n[f++];default:return G-1}})}function Ssn(n){let e=0;return()=>n[e++]}function Asn(n){return Ssn(Csn(n))}function ksn(n){return n&1?~n>>1:n>>1}function Psn(n,e){let t=Array(n);for(let a=0;ae[s]):t}function Lsn(n){let e=[];for(;;){let t=n();if(t==0)break;e.push(Bsn(t,n))}for(;;){let t=n()-1;if(t<0)break;e.push(Nsn(t,n))}return Dsn(iot(e))}function Msn(n){let e=[];for(;;){let t=n();if(t==0)break;e.push(t)}return e}function sot(n,e,t){let a=Array(n).fill(void 0).map(()=>[]);for(let r=0;ra[s].push(i));return a}function Bsn(n,e){let t=1+e(),a=e(),r=Msn(e),i=sot(r.length,1+n,e);return iot(i.map((s,f)=>{let o=s[0],c=s.slice(1);return Array(r[f]).fill(void 0).map((d,l)=>{let y=l*a;return[o+l*t,c.map(h=>h+y)]})}))}function Nsn(n,e){let t=1+e();return sot(t,1+n,e).map(a=>[a[0],a.slice(1)])}function Fsn(n){let e=dj(n).sort((a,r)=>a-r);return t();function t(){let a=[];for(;;){let c=dj(n,e);if(c.length==0)break;a.push({set:new Set(c),node:t()})}a.sort((c,d)=>d.set.size-c.set.size);let r=n(),i=r%3;r=r/3|0;let s=!!(r&1);r>>=1;let f=r==1,o=r==2;return{branches:a,valid:i,fe0f:s,save:f,check:o}}}function Osn(){return Asn(Esn("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}function fot(n){return typeof n=="string"&&(n=sle(n)),kle(psn([sle($sn),sle(String(n.length)),n]))}function vft(n){gd(n,20)||Kk.throwArgumentError("invalid address","address",n),n=n.toLowerCase();let e=n.substring(2).split(""),t=new Uint8Array(40);for(let r=0;r<40;r++)t[r]=e[r].charCodeAt(0);let a=zi(kle(t));for(let r=0;r<40;r+=2)a[r>>1]>>4>=8&&(e[r]=e[r].toUpperCase()),(a[r>>1]&15)>=8&&(e[r+1]=e[r+1].toUpperCase());return"0x"+e.join("")}function zsn(n){return Math.log10?Math.log10(n):Math.log(n)/Math.LN10}function Wsn(n){n=n.toUpperCase(),n=n.substring(4)+n.substring(0,2)+"00";let e=n.split("").map(a=>Rle[a]).join("");for(;e.length>=Tft;){let a=e.substring(0,Tft);e=parseInt(a,10)%97+e.substring(a.length)}let t=String(98-parseInt(e,10)%97);for(;t.length<2;)t="0"+t;return t}function jsn(n){let e=null;if(typeof n!="string"&&Kk.throwArgumentError("invalid address","address",n),n.match(/^(0x)?[0-9a-fA-F]{40}$/))n.substring(0,2)!=="0x"&&(n="0x"+n),e=vft(n),n.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==n&&Kk.throwArgumentError("bad address checksum","address",n);else if(n.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(n.substring(2,4)!==Wsn(n)&&Kk.throwArgumentError("bad icap checksum","address",n),e=vsn(n.substring(4));e.length<40;)e="0"+e;e=vft("0x"+e)}else Kk.throwArgumentError("invalid address","address",n);return e}function Wk(n,e,t){Object.defineProperty(n,e,{enumerable:!0,value:t,writable:!1})}function oot(n,e){if(!n)throw new Error(e||"Assertion failed")}function Zsn(n,e){return(n.charCodeAt(e)&64512)!==55296||e<0||e+1>=n.length?!1:(n.charCodeAt(e+1)&64512)===56320}function efn(n,e){if(Array.isArray(n))return n.slice();if(!n)return[];var t=[];if(typeof n=="string")if(e){if(e==="hex")for(n=n.replace(/[^a-z0-9]+/ig,""),n.length%2!==0&&(n="0"+n),r=0;r>6|192,t[a++]=i&63|128):Zsn(n,r)?(i=65536+((i&1023)<<10)+(n.charCodeAt(++r)&1023),t[a++]=i>>18|240,t[a++]=i>>12&63|128,t[a++]=i>>6&63|128,t[a++]=i&63|128):(t[a++]=i>>12|224,t[a++]=i>>6&63|128,t[a++]=i&63|128)}else for(r=0;r>>24|n>>>8&65280|n<<8&16711680|(n&255)<<24;return e>>>0}function nfn(n,e){for(var t="",a=0;a>>0}return i}function rfn(n,e){for(var t=new Array(n.length*4),a=0,r=0;a>>24,t[r+1]=i>>>16&255,t[r+2]=i>>>8&255,t[r+3]=i&255):(t[r+3]=i>>>24,t[r+2]=i>>>16&255,t[r+1]=i>>>8&255,t[r]=i&255)}return t}function ifn(n,e){return n>>>e|n<<32-e}function sfn(n,e){return n<>>32-e}function ffn(n,e){return n+e>>>0}function ofn(n,e,t){return n+e+t>>>0}function cfn(n,e,t,a){return n+e+t+a>>>0}function dfn(n,e,t,a,r){return n+e+t+a+r>>>0}function lfn(n,e,t,a){var r=n[e],i=n[e+1],s=a+i>>>0,f=(s>>0,n[e+1]=s}function pfn(n,e,t,a){var r=e+a>>>0,i=(r>>0}function ufn(n,e,t,a){var r=e+a;return r>>>0}function yfn(n,e,t,a,r,i,s,f){var o=0,c=e;c=c+a>>>0,o+=c>>0,o+=c>>0,o+=c>>0}function mfn(n,e,t,a,r,i,s,f){var o=e+a+i+f;return o>>>0}function bfn(n,e,t,a,r,i,s,f,o,c){var d=0,l=e;l=l+a>>>0,d+=l>>0,d+=l>>0,d+=l>>0,d+=l>>0}function hfn(n,e,t,a,r,i,s,f,o,c){var d=e+a+i+f+c;return d>>>0}function gfn(n,e,t){var a=e<<32-t|n>>>t;return a>>>0}function vfn(n,e,t){var a=n<<32-t|e>>>t;return a>>>0}function Tfn(n,e,t){return n>>>t}function _fn(n,e,t){var a=n<<32-t|e>>>t;return a>>>0}function ej(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}function Ifn(n,e,t,a){if(n===0)return pot(e,t,a);if(n===1||n===3)return yot(e,t,a);if(n===2)return uot(e,t,a)}function pot(n,e,t){return n&e^~n&t}function uot(n,e,t){return n&e^n&t^e&t}function yot(n,e,t){return n^e^t}function Efn(n){return bu(n,2)^bu(n,13)^bu(n,22)}function Dfn(n){return bu(n,6)^bu(n,11)^bu(n,25)}function Cfn(n){return bu(n,7)^bu(n,18)^n>>>3}function Sfn(n){return bu(n,17)^bu(n,19)^n>>>10}function pu(){if(!(this instanceof pu))return new pu;mot.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}function uu(){if(!(this instanceof uu))return new uu;bot.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=Wfn,this.W=new Array(64)}function My(){if(!(this instanceof My))return new My;got.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}function hp(){if(!(this instanceof hp))return new hp;_ot.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Zfn,this.W=new Array(160)}function eon(n,e,t,a,r){var i=n&t^~n&r;return i<0&&(i+=4294967296),i}function ton(n,e,t,a,r,i){var s=e&a^~e&i;return s<0&&(s+=4294967296),s}function non(n,e,t,a,r){var i=n&t^n&r^t&r;return i<0&&(i+=4294967296),i}function aon(n,e,t,a,r,i){var s=e&a^e&i^a&i;return s<0&&(s+=4294967296),s}function ron(n,e){var t=hu(n,e,28),a=hu(e,n,2),r=hu(e,n,7),i=t^a^r;return i<0&&(i+=4294967296),i}function ion(n,e){var t=gu(n,e,28),a=gu(e,n,2),r=gu(e,n,7),i=t^a^r;return i<0&&(i+=4294967296),i}function son(n,e){var t=hu(n,e,14),a=hu(n,e,18),r=hu(e,n,9),i=t^a^r;return i<0&&(i+=4294967296),i}function fon(n,e){var t=gu(n,e,14),a=gu(n,e,18),r=gu(e,n,9),i=t^a^r;return i<0&&(i+=4294967296),i}function oon(n,e){var t=hu(n,e,1),a=hu(n,e,8),r=vot(n,e,7),i=t^a^r;return i<0&&(i+=4294967296),i}function con(n,e){var t=gu(n,e,1),a=gu(n,e,8),r=Tot(n,e,7),i=t^a^r;return i<0&&(i+=4294967296),i}function don(n,e){var t=hu(n,e,19),a=hu(e,n,29),r=vot(n,e,6),i=t^a^r;return i<0&&(i+=4294967296),i}function lon(n,e){var t=gu(n,e,19),a=gu(e,n,29),r=Tot(n,e,6),i=t^a^r;return i<0&&(i+=4294967296),i}function By(){if(!(this instanceof By))return new By;xot.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}function lu(){if(!(this instanceof lu))return new lu;Eot.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function Ift(n,e,t,a){return n<=15?e^t^a:n<=31?e&t|~e&a:n<=47?(e|~t)^a:n<=63?e&a|t&~a:e^(t|~a)}function yon(n){return n<=15?0:n<=31?1518500249:n<=47?1859775393:n<=63?2400959708:2840853838}function mon(n){return n<=15?1352829926:n<=31?1548603684:n<=47?1836072691:n<=63?2053994217:0}function ux(n,e,t){if(!(this instanceof ux))return new ux(n,e,t);this.Hash=n,this.blockSize=n.blockSize/8,this.outSize=n.outSize/8,this.inner=null,this.outer=null,this._init(Ton.toArray(e,t))}function xx(n,e,t){return t={path:e,exports:{},require:function(a,r){return xon(a,r??t.path)}},n(t,t.exports),t.exports}function xon(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}function Dot(n,e){if(!n)throw new Error(e||"Assertion failed")}function X3(n,e){this.type=n,this.p=new en(e.p,16),this.red=e.prime?en.red(e.prime):en.mont(this.p),this.zero=new en(0).toRed(this.red),this.one=new en(1).toRed(this.red),this.two=new en(2).toRed(this.red),this.n=e.n&&new en(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function U6(n,e){this.curve=n,this.type=e,this.precomputed=null}function H6(n){l9.call(this,"short",n),this.a=new en(n.a,16).toRed(this.red),this.b=new en(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function wf(n,e,t,a){l9.BasePoint.call(this,n,"affine"),e===null&&t===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new en(e,16),this.y=new en(t,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function eo(n,e,t,a){l9.BasePoint.call(this,n,"jacobian"),e===null&&t===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new en(0)):(this.x=new en(e,16),this.y=new en(t,16),this.z=new en(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}function Z3(n){if(!(this instanceof Z3))return new Z3(n);this.hash=n.hash,this.predResist=!!n.predResist,this.outLen=this.hash.outSize,this.minEntropy=n.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=gp.toArray(n.entropy,n.entropyEnc||"hex"),t=gp.toArray(n.nonce,n.nonceEnc||"hex"),a=gp.toArray(n.pers,n.persEnc||"hex");Lle(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,t,a)}function Zo(n,e){this.ec=n,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}function mj(n,e){if(n instanceof mj)return n;this._importDER(n,e)||(Con(n.r&&n.s,"Signature without r or s"),this.r=new en(n.r,16),this.s=new en(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}function Son(){this.place=0}function ule(n,e){var t=n[e.place++];if(!(t&128))return t;var a=t&15;if(a===0||a>4)return!1;for(var r=0,i=0,s=e.place;i>>=0;return r<=127?!1:(e.place=s,r)}function Dft(n){for(var e=0,t=n.length-1;!n[e]&&!(n[e+1]&128)&&e>>3);for(n.push(t|128);--t;)n.push(e>>>(t<<3)&255);n.push(e)}function q6(n){if(!(this instanceof q6))return new q6(n);typeof n=="string"&&(Cot(Object.prototype.hasOwnProperty.call(sj,n),"Unknown curve "+n),n=sj[n]),n instanceof sj.PresetCurve&&(n={curve:n}),this.curve=n.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=n.curve.g,this.g.precompute(n.curve.n.bitLength()+1),this.hash=n.hash||n.curve.hash}function yu(){return mle||(mle=new Ron("secp256k1")),mle}function Mon(n,e){let t=Yft(e),a={r:zi(t.r),s:zi(t.s)};return"0x"+yu().recoverPubKey(zi(n),a,t.recoveryParam).encode("hex",!1)}function Sot(n,e){let t=zi(n);if(t.length===32){let a=new wle(t);return e?"0x"+yu().keyFromPrivate(t).getPublic(!0,"hex"):a.publicKey}else{if(t.length===33)return e?H1(t):"0x"+yu().keyFromPublic(t).getPublic(!1,"hex");if(t.length===65)return e?"0x"+yu().keyFromPublic(t).getPublic(!0,"hex"):H1(t)}return _le.throwArgumentError("invalid public or private key","key","[REDACTED]")}function Non(n){let e=Sot(n);return jsn(uft(kle(uft(e,1)),12))}function Fon(n,e){return Non(Mon(zi(n),e))}async function Von(n,e,t,a,r,i){switch(t.t){case"eip191":return $on(n,e,t.s);case"eip1271":return await Uon(n,e,t.s,a,r,i);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${t.t}`)}}function $on(n,e,t){return Fon(fot(e),t).toLowerCase()===n.toLowerCase()}async function Uon(n,e,t,a,r,i){try{let s="0x1626ba7e",f="0000000000000000000000000000000000000000000000000000000000000040",o="0000000000000000000000000000000000000000000000000000000000000041",c=t.substring(2),d=fot(e).substring(2),l=s+d+f+o+c,y=await fetch(`${i||Oon}/?chainId=${a}&projectId=${r}`,{method:"POST",body:JSON.stringify({id:qon(),jsonrpc:"2.0",method:"eth_call",params:[{to:n,data:l},"latest"]})}),{result:h}=await y.json();return h?h.slice(0,s.length).toLowerCase()===s.toLowerCase():!1}catch(s){return console.error("isValidEip1271Signature: ",s),!1}}function qon(){return Date.now()+Math.floor(Math.random()*1e3)}async function Fle(n){let{cacao:e,projectId:t}=n,{s:a,p:r}=e,i=Ole(r,r.iss),s=rP(r.iss);return await Von(s,i,a,Aot(r.iss),t)}function Jon(n){return D.Buffer.from(JSON.stringify(n)).toString("base64")}function Xon(n){return JSON.parse(D.Buffer.from(n,"base64").toString("utf-8"))}function c9(n){if(!n)throw new Error("No recap provided, value is undefined");if(!n.att)throw new Error("No `att` property found");let e=Object.keys(n.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(t=>{let a=n.att[t];if(Array.isArray(a))throw new Error(`Resource must be an object: ${t}`);if(typeof a!="object")throw new Error(`Resource must be an object: ${t}`);if(!Object.keys(a).length)throw new Error(`Resource object is empty: ${t}`);Object.keys(a).forEach(r=>{let i=a[r];if(!Array.isArray(i))throw new Error(`Ability limits ${r} must be an array of objects, found: ${i}`);if(!i.length)throw new Error(`Value of ${r} is empty array, must be an array with objects`);i.forEach(s=>{if(typeof s!="object")throw new Error(`Ability limits (${r}) must be an array of objects, found: ${s}`)})})})}function Zon(n,e,t,a={}){return t?.sort((r,i)=>r.localeCompare(i)),{att:{[n]:e1n(e,t,a)}}}function e1n(n,e,t={}){e=e?.sort((r,i)=>r.localeCompare(i));let a=e.map(r=>({[`${n}/${r}`]:[t]}));return Object.assign({},...a)}function kot(n){return c9(n),`urn:recap:${Jon(n).replace(/=/g,"")}`}function Zk(n){let e=Xon(n.replace("urn:recap:",""));return c9(e),e}function Pot(n,e,t){let a=Zon(n,e,t);return kot(a)}function t1n(n){return n&&n.includes("urn:recap:")}function Rot(n,e){let t=Zk(n),a=Zk(e),r=n1n(t,a);return kot(r)}function n1n(n,e){c9(n),c9(e);let t=Object.keys(n.att).concat(Object.keys(e.att)).sort((r,i)=>r.localeCompare(i)),a={att:{}};return t.forEach(r=>{var i,s;Object.keys(((i=n.att)==null?void 0:i[r])||{}).concat(Object.keys(((s=e.att)==null?void 0:s[r])||{})).sort((f,o)=>f.localeCompare(o)).forEach(f=>{var o,c;a.att[r]=Qon(Kon({},a.att[r]),{[f]:((o=n.att[r])==null?void 0:o[f])||((c=e.att[r])==null?void 0:c[f])})})}),a}function a1n(n="",e){c9(e);let t="I further authorize the stated URI to perform the following actions on my behalf: ";if(n.includes(t))return n;let a=[],r=0;Object.keys(e.att).forEach(f=>{let o=Object.keys(e.att[f]).map(l=>({ability:l.split("/")[0],action:l.split("/")[1]}));o.sort((l,y)=>l.action.localeCompare(y.action));let c={};o.forEach(l=>{c[l.ability]||(c[l.ability]=[]),c[l.ability].push(l.action)});let d=Object.keys(c).map(l=>(r++,`(${r}) '${l}': '${c[l].join("', '")}' for '${f}'.`));a.push(d.join(", ").replace(".,","."))});let i=a.join(" "),s=`${t}${i}`;return`${n?n+" ":""}${s}`}function Vle(n){var e;let t=Zk(n);c9(t);let a=(e=t.att)==null?void 0:e.eip155;return a?Object.keys(a).map(r=>r.split("/")[1]):[]}function $le(n){let e=Zk(n);c9(e);let t=[];return Object.values(e.att).forEach(a=>{Object.values(a).forEach(r=>{var i;(i=r?.[0])!=null&&i.chains&&t.push(r[0].chains)})}),[...new Set(t.flat())]}function iP(n){if(!n)return;let e=n?.[n.length-1];return t1n(e)?e:void 0}function Bot(){let n=uj.generateKeyPair();return{privateKey:hs(n.secretKey,e1),publicKey:hs(n.publicKey,e1)}}function bj(){let n=(0,Dle.randomBytes)(qle);return hs(n,e1)}function Not(n,e){let t=uj.sharedKey(cf(n,e1),cf(e,e1),!0),a=new Fft.HKDF(eP.SHA256,t).expand(qle);return hs(a,e1)}function Ix(n){let e=(0,eP.hash)(cf(n,e1));return hs(e,e1)}function Oy(n){let e=(0,eP.hash)(cf(n,Ule));return hs(e,e1)}function i1n(n){return cf(`${n}`,Lot)}function Ex(n){return Number(hs(n,Lot))}function Fot(n){let e=i1n(typeof n.type<"u"?n.type:Mot);if(Ex(e)===_u&&typeof n.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");let t=typeof n.senderPublicKey<"u"?cf(n.senderPublicKey,e1):void 0,a=typeof n.iv<"u"?cf(n.iv,e1):(0,Dle.randomBytes)(Ile),r=new Ele.ChaCha20Poly1305(cf(n.symKey,e1)).seal(a,cf(n.message,Ule));return s1n({type:e,sealed:r,iv:a,senderPublicKey:t})}function Oot(n){let e=new Ele.ChaCha20Poly1305(cf(n.symKey,e1)),{sealed:t,iv:a}=sP(n.encoded),r=e.open(a,t);if(r===null)throw new Error("Failed to decrypt");return hs(r,Ule)}function s1n(n){if(Ex(n.type)===_u){if(typeof n.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return hs(Wh([n.type,n.senderPublicKey,n.iv,n.sealed]),xle)}return hs(Wh([n.type,n.iv,n.sealed]),xle)}function sP(n){let e=cf(n,xle),t=e.slice(r1n,kft),a=kft;if(Ex(t)===_u){let f=a+qle,o=f+Ile,c=e.slice(a,f),d=e.slice(f,o),l=e.slice(o);return{type:t,sealed:l,iv:d,senderPublicKey:c}}let r=a+Ile,i=e.slice(a,r),s=e.slice(r);return{type:t,sealed:s,iv:i}}function Vot(n,e){let t=sP(n);return Hle({type:Ex(t.type),senderPublicKey:typeof t.senderPublicKey<"u"?hs(t.senderPublicKey,e1):void 0,receiverPublicKey:e?.receiverPublicKey})}function Hle(n){let e=n?.type||Mot;if(e===_u){if(typeof n?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof n?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:n?.senderPublicKey,receiverPublicKey:n?.receiverPublicKey}}function zle(n){return n.type===_u&&typeof n.senderPublicKey=="string"&&typeof n.receiverPublicKey=="string"}function hj(n){return n?.relay||{protocol:f1n}}function fP(n){let e=LNe[n];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${n}`);return e}function y1n(n,e="-"){let t={},a="relay"+e;return Object.keys(n).forEach(r=>{if(r.startsWith(a)){let i=r.replace(a,""),s=n[r];t[i]=s}}),t}function Wle(n){n=n.includes("wc://")?n.replace("wc://",""):n,n=n.includes("wc:")?n.replace("wc:",""):n;let e=n.indexOf(":"),t=n.indexOf("?")!==-1?n.indexOf("?"):void 0,a=n.substring(0,e),r=n.substring(e+1,t).split("@"),i=typeof t<"u"?n.substring(t):"",s=bx.parse(i),f=typeof s.methods=="string"?s.methods.split(","):void 0;return{protocol:a,topic:m1n(r[0]),version:parseInt(r[1],10),symKey:s.symKey,relay:y1n(s),methods:f,expiryTimestamp:s.expiryTimestamp?parseInt(s.expiryTimestamp,10):void 0}}function m1n(n){return n.startsWith("//")?n.substring(2):n}function b1n(n,e="-"){let t="relay",a={};return Object.keys(n).forEach(r=>{let i=t+e+r;n[r]&&(a[i]=n[r])}),a}function $ot(n){return`${n.protocol}:${n.topic}@${n.version}?`+bx.stringify(Lft(u1n(Lft({symKey:n.symKey},b1n(n.relay)),{expiryTimestamp:n.expiryTimestamp}),n.methods?{methods:n.methods.join(",")}:{}))}function Dx(n){let e=[];return n.forEach(t=>{let[a,r]=t.split(":");e.push(`${a}:${r}`)}),e}function h1n(n){let e=[];return Object.values(n).forEach(t=>{e.push(...Dx(t.accounts))}),e}function g1n(n,e){let t=[];return Object.values(n).forEach(a=>{Dx(a.accounts).includes(e)&&t.push(...a.methods)}),t}function v1n(n,e){let t=[];return Object.values(n).forEach(a=>{Dx(a.accounts).includes(e)&&t.push(...a.events)}),t}function gj(n){return n.includes(":")}function Cx(n){return gj(n)?n.split(":")[0]:n}function T1n(n){let e={};return n?.forEach(t=>{let[a,r]=t.split(":");e[a]||(e[a]={accounts:[],chains:[],events:[]}),e[a].accounts.push(t),e[a].chains.push(`${a}:${r}`)}),e}function jle(n,e){e=e.map(a=>a.replace("did:pkh:",""));let t=T1n(e);for(let[a,r]of Object.entries(t))r.methods?r.methods=nP(r.methods,n):r.methods=n,r.events=["chainChanged","accountsChanged"];return t}function St(n,e){let{message:t,code:a}=w1n[n];return{message:e?`${t} ${e}`:t,code:a}}function Ta(n,e){let{message:t,code:a}=_1n[n];return{message:e?`${t} ${e}`:t,code:a}}function Td(n,e){return Array.isArray(n)?typeof e<"u"&&n.length?n.every(e):!0:!1}function p9(n){return Object.getPrototypeOf(n)===Object.prototype&&Object.keys(n).length}function to(n){return typeof n>"u"}function Ti(n,e){return e&&to(n)?!0:typeof n=="string"&&!!n.trim().length}function Gle(n,e){return e&&to(n)?!0:typeof n=="number"&&!isNaN(n)}function Uot(n,e){let{requiredNamespaces:t}=e,a=Object.keys(n.namespaces),r=Object.keys(t),i=!0;return f9(r,a)?(a.forEach(s=>{let{accounts:f,methods:o,events:c}=n.namespaces[s],d=Dx(f),l=t[s];(!f9(Oft(s,l),d)||!f9(l.methods,o)||!f9(l.events,c))&&(i=!1)}),i):!1}function pj(n){return Ti(n,!1)&&n.includes(":")?n.split(":").length===2:!1}function x1n(n){if(Ti(n,!1)&&n.includes(":")){let e=n.split(":");if(e.length===3){let t=e[0]+":"+e[1];return!!e[2]&&pj(t)}}return!1}function qot(n){if(Ti(n,!1))try{return typeof new URL(n)<"u"}catch{return!1}return!1}function Hot(n){var e;return(e=n?.proposer)==null?void 0:e.publicKey}function zot(n){return n?.topic}function Wot(n,e){let t=null;return Ti(n?.publicKey,!1)||(t=St("MISSING_OR_INVALID",`${e} controller public key should be a string`)),t}function Mft(n){let e=!0;return Td(n)?n.length&&(e=n.every(t=>Ti(t,!1))):e=!1,e}function I1n(n,e,t){let a=null;return Td(e)&&e.length?e.forEach(r=>{a||pj(r)||(a=Ta("UNSUPPORTED_CHAINS",`${t}, chain ${r} should be a string and conform to "namespace:chainId" format`))}):pj(n)||(a=Ta("UNSUPPORTED_CHAINS",`${t}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),a}function E1n(n,e,t){let a=null;return Object.entries(n).forEach(([r,i])=>{if(a)return;let s=I1n(r,Oft(r,i),`${e} ${t}`);s&&(a=s)}),a}function D1n(n,e){let t=null;return Td(n)?n.forEach(a=>{t||x1n(a)||(t=Ta("UNSUPPORTED_ACCOUNTS",`${e}, account ${a} should be a string and conform to "namespace:chainId:address" format`))}):t=Ta("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),t}function C1n(n,e){let t=null;return Object.values(n).forEach(a=>{if(t)return;let r=D1n(a?.accounts,`${e} namespace`);r&&(t=r)}),t}function S1n(n,e){let t=null;return Mft(n?.methods)?Mft(n?.events)||(t=Ta("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):t=Ta("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),t}function jot(n,e){let t=null;return Object.values(n).forEach(a=>{if(t)return;let r=S1n(a,`${e}, namespace`);r&&(t=r)}),t}function Got(n,e,t){let a=null;if(n&&p9(n)){let r=jot(n,e);r&&(a=r);let i=E1n(n,e,t);i&&(a=i)}else a=St("MISSING_OR_INVALID",`${e}, ${t} should be an object with data`);return a}function vj(n,e){let t=null;if(n&&p9(n)){let a=jot(n,e);a&&(t=a);let r=C1n(n,e);r&&(t=r)}else t=St("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return t}function Kle(n){return Ti(n.protocol,!0)}function Kot(n,e){let t=!1;return e&&!n?t=!0:n&&Td(n)&&n.length&&n.forEach(a=>{t=Kle(a)}),t}function Qot(n){return typeof n=="number"}function t1(n){return typeof n<"u"&&typeof n!==null}function Yot(n){return!(!n||typeof n!="object"||!n.code||!Gle(n.code,!1)||!n.message||!Ti(n.message,!1))}function Jot(n){return!(to(n)||!Ti(n.method,!1))}function Xot(n){return!(to(n)||to(n.result)&&to(n.error)||!Gle(n.id,!1)||!Ti(n.jsonrpc,!1))}function Zot(n){return!(to(n)||!Ti(n.name,!1))}function Qle(n,e){return!(!pj(e)||!h1n(n).includes(e))}function e1t(n,e,t){return Ti(t,!1)?g1n(n,e).includes(t):!1}function t1t(n,e,t){return Ti(t,!1)?v1n(n,e).includes(t):!1}function Yle(n,e,t){let a=null,r=A1n(n),i=k1n(e),s=Object.keys(r),f=Object.keys(i),o=Bft(Object.keys(n)),c=Bft(Object.keys(e)),d=o.filter(l=>!c.includes(l));return d.length&&(a=St("NON_CONFORMING_NAMESPACES",`${t} namespaces keys don't satisfy requiredNamespaces. Required: ${d.toString()} - Received: ${Object.keys(e).toString()}`)),Y9(i,s)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces. - Required: ${i.toString()} - Approved: ${s.toString()}`)),Object.keys(e).forEach(l=>{if(!l.includes(":")||a)return;let h=k_(e[l].accounts);h.includes(l)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${l} + Received: ${Object.keys(e).toString()}`)),f9(s,f)||(a=St("NON_CONFORMING_NAMESPACES",`${t} namespaces chains don't satisfy required namespaces. + Required: ${s.toString()} + Approved: ${f.toString()}`)),Object.keys(e).forEach(l=>{if(!l.includes(":")||a)return;let y=Dx(e[l].accounts);y.includes(l)||(a=St("NON_CONFORMING_NAMESPACES",`${t} namespaces accounts don't satisfy namespace accounts for ${l} Required: ${l} - Approved: ${h.toString()}`))}),i.forEach(l=>{a||(Y9(r[l].methods,f[l].methods)?Y9(r[l].events,f[l].events)||(a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${l}`)):a=F0("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${l}`))}),a}function $dn(t){let e={};return Object.keys(t).forEach(n=>{var a;n.includes(":")?e[n]=t[n]:(a=t[n].chains)==null||a.forEach(r=>{e[r]={methods:t[n].methods,events:t[n].events}})}),e}function cc0(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function Jdn(t){let e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:k_(t[n].accounts)?.forEach(r=>{e[r]={accounts:t[n].accounts.filter(f=>f.includes(`${r}:`)),methods:t[n].methods,events:t[n].events}})}),e}function R60(t,e){return a2e(t,!1)&&t<=e.max&&t>=e.min}function s2e(){let t=AB();return new Promise(e=>{switch(t){case r6.browser:e(Xdn());break;case r6.reactNative:e(Zdn());break;case r6.node:e(e5n());break;default:e(!0)}})}function Xdn(){return qb()&&navigator?.onLine}async function Zdn(){return X9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function e5n(){return!0}function M60(t){switch(AB()){case r6.browser:t5n(t);break;case r6.reactNative:n5n(t);break;case r6.node:break}}function t5n(t){!X9()&&qb()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function n5n(t){X9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}var vh,Wb,dc0,g_,Lue,lc0,Fue,_B,UQ,y1n,g1n,B10,v1n,w1n,D10,P10,T1n,r6,x1n,Tc0,xc0,k1n,S1n,L10,F10,RQ,N10,uue,O10,Cue,Gl,U10,gf,M1n,Ti,pue,Ac0,F1n,N1n,O1n,fn,Ic0,DQ,bh,hue,W10,q10,go,dc,vB,Cc0,kc0,wB,TB,PQ,j10,z1n,W1n,Rc0,LQ,h_,Bc0,AQ,icn,scn,ocn,ccn,gB,dcn,Wue,V10,hcn,mcn,bcn,ycn,z2,aa,CB,kue,gcn,vcn,E_,Y10,qcn,u_,J2,jcn,Q2,b_,$cn,Jcn,gue,bB,Xcn,Zcn,qc0,e6n,t6n,y_,n6n,__,a6n,jl,r6n,f6n,i6n,s6n,o6n,c6n,d6n,l6n,jc0,u6n,Gc0,Sue,Kc0,p6n,f6,h6n,m6n,V2,Y2,Qc0,Vc0,Ob,vue,wue,b6n,y6n,g6n,v6n,Yc0,w6n,$c0,Rue,Jc0,D6n,Xc0,$9,P6n,CQ,$10,yB,J10,Zc0,N6n,O6n,U6n,H6n,z6n,W6n,q6n,que,Ql,H6,kQ,G6n,NQ,Z9,jue,K6n,Q6n,MQ,BQ,Z10,Tue,xue,V6n,SQ,$6n,t60,J6n,X6n,Z6n,edn,Mue,Aue,Bue,ndn,tc0,fdn,ddn,ldn,udn,nc0,pdn,hdn,ac0,mdn,bdn,ydn,Gue,a60,Kue,kB,Vue,s60,y1,Due,Jue,o60,X2,Adn,rc0,Pue,Xue,kdn,Sdn,Rdn,Mdn,fc0,Bdn,Ddn,ic0,sc0,Pdn,Wdn,qdn,Iue,zb,BB=oe(()=>{u();p();pse();vh=Ee(R7()),Wb=Ee(hse()),dc0=Ee(kOe()),g_=Ee(QOe()),Lue=Ee(tUe()),lc0=Ee(sUe()),Fue=Ee(AS()),_B=Ee(cUe()),UQ=Ee(pUe());lue();mUe();y1n=":";g1n=Object.defineProperty,B10=Object.getOwnPropertySymbols,v1n=Object.prototype.hasOwnProperty,w1n=Object.prototype.propertyIsEnumerable,D10=(t,e,n)=>e in t?g1n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,P10=(t,e)=>{for(var n in e||(e={}))v1n.call(e,n)&&D10(t,n,e[n]);if(B10)for(var n of B10(e))w1n.call(e,n)&&D10(t,n,e[n]);return t},T1n="ReactNative",r6={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},x1n="js";Tc0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};xc0={exports:{}};(function(t){(function(){var e="input is invalid type",n="finalize already called",a=typeof window=="object",r=a?window:{};r.JS_SHA3_NO_WINDOW&&(a=!1);var f=!a&&typeof self=="object",i=!r.JS_SHA3_NO_NODE_JS&&typeof x=="object"&&x.versions&&x.versions.node;i?r=Tc0:f&&(r=self);var s=!r.JS_SHA3_NO_COMMON_JS&&!0&&t.exports,o=!r.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],h=[1,256,65536,16777216],y=[6,1536,393216,100663296],v=[0,8,16,24],k=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],F=[128,256],z=["hex","buffer","arrayBuffer","array","digest"],W={128:168,256:136};(r.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return Object.prototype.toString.call(U)==="[object Array]"}),o&&(r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return typeof U=="object"&&U.buffer&&U.buffer.constructor===ArrayBuffer});for(var j=function(U,J,Z){return function(ne){return new S(U,J,U).update(ne)[Z]()}},Q=function(U,J,Z){return function(ne,ue){return new S(U,J,ue).update(ne)[Z]()}},V=function(U,J,Z){return function(ne,ue,Y,re){return b["cshake"+U].update(ne,ue,Y,re)[Z]()}},X=function(U,J,Z){return function(ne,ue,Y,re){return b["kmac"+U].update(ne,ue,Y,re)[Z]()}},K=function(U,J,Z,ne){for(var ue=0;ue>5,this.byteCount=this.blockCount<<2,this.outputBlocks=Z>>5,this.extraBytes=(Z&31)>>3;for(var ne=0;ne<50;++ne)this.s[ne]=0}S.prototype.update=function(U){if(this.finalized)throw new Error(n);var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}for(var ne=this.blocks,ue=this.byteCount,Y=U.length,re=this.blockCount,ie=0,ge=this.s,de,Ae;ie>2]|=U[ie]<>2]|=Ae<>2]|=(192|Ae>>6)<>2]|=(128|Ae&63)<=57344?(ne[de>>2]|=(224|Ae>>12)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<>2]|=(240|Ae>>18)<>2]|=(128|Ae>>12&63)<>2]|=(128|Ae>>6&63)<>2]|=(128|Ae&63)<=ue){for(this.start=de-ue,this.block=ne[re],de=0;de>8,Z=U&255;Z>0;)ue.unshift(Z),U=U>>8,Z=U&255,++ne;return J?ue.push(ne):ue.unshift(ne),this.update(ue),ue.length},S.prototype.encodeString=function(U){var J,Z=typeof U;if(Z!=="string"){if(Z==="object"){if(U===null)throw new Error(e);if(o&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!o||!ArrayBuffer.isView(U)))throw new Error(e)}else throw new Error(e);J=!0}var ne=0,ue=U.length;if(J)ne=ue;else for(var Y=0;Y=57344?ne+=3:(re=65536+((re&1023)<<10|U.charCodeAt(++Y)&1023),ne+=4)}return ne+=this.encode(ne*8),this.update(U),ne},S.prototype.bytepad=function(U,J){for(var Z=this.encode(J),ne=0;ne>2]|=this.padding[J&3],this.lastByteIndex===this.byteCount)for(U[0]=U[Z],J=1;J>4&15]+c[ie&15]+c[ie>>12&15]+c[ie>>8&15]+c[ie>>20&15]+c[ie>>16&15]+c[ie>>28&15]+c[ie>>24&15];Y%U===0&&(ee(J),ue=0)}return ne&&(ie=J[ue],re+=c[ie>>4&15]+c[ie&15],ne>1&&(re+=c[ie>>12&15]+c[ie>>8&15]),ne>2&&(re+=c[ie>>20&15]+c[ie>>16&15])),re},S.prototype.arrayBuffer=function(){this.finalize();var U=this.blockCount,J=this.s,Z=this.outputBlocks,ne=this.extraBytes,ue=0,Y=0,re=this.outputBits>>3,ie;ne?ie=new ArrayBuffer(Z+1<<2):ie=new ArrayBuffer(re);for(var ge=new Uint32Array(ie);Y>8&255,re[ie+2]=ge>>16&255,re[ie+3]=ge>>24&255;Y%U===0&&ee(J)}return ne&&(ie=Y<<2,ge=J[ue],re[ie]=ge&255,ne>1&&(re[ie+1]=ge>>8&255),ne>2&&(re[ie+2]=ge>>16&255)),re};function q(U,J,Z){S.call(this,U,J,Z)}q.prototype=new S,q.prototype.finalize=function(){return this.encode(this.outputBits,!0),S.prototype.finalize.call(this)};var ee=function(U){var J,Z,ne,ue,Y,re,ie,ge,de,Ae,Ge,Be,c0,Ye,He,_0,L0,Ze,C0,pe,he,Te,Ie,Se,Qe,u0,qe,v0,w0,Ve,me,ye,_e,ze,je,Ue,m0,h0,$e,M0,P0,t0,j0,z0,Ke,B0,K0,s0,J0,Y0,l0,Q0,et,p0,Z0,Et,$0,Tt,Pn,Ln,Fn,Nn,On;for(ne=0;ne<48;ne+=2)ue=U[0]^U[10]^U[20]^U[30]^U[40],Y=U[1]^U[11]^U[21]^U[31]^U[41],re=U[2]^U[12]^U[22]^U[32]^U[42],ie=U[3]^U[13]^U[23]^U[33]^U[43],ge=U[4]^U[14]^U[24]^U[34]^U[44],de=U[5]^U[15]^U[25]^U[35]^U[45],Ae=U[6]^U[16]^U[26]^U[36]^U[46],Ge=U[7]^U[17]^U[27]^U[37]^U[47],Be=U[8]^U[18]^U[28]^U[38]^U[48],c0=U[9]^U[19]^U[29]^U[39]^U[49],J=Be^(re<<1|ie>>>31),Z=c0^(ie<<1|re>>>31),U[0]^=J,U[1]^=Z,U[10]^=J,U[11]^=Z,U[20]^=J,U[21]^=Z,U[30]^=J,U[31]^=Z,U[40]^=J,U[41]^=Z,J=ue^(ge<<1|de>>>31),Z=Y^(de<<1|ge>>>31),U[2]^=J,U[3]^=Z,U[12]^=J,U[13]^=Z,U[22]^=J,U[23]^=Z,U[32]^=J,U[33]^=Z,U[42]^=J,U[43]^=Z,J=re^(Ae<<1|Ge>>>31),Z=ie^(Ge<<1|Ae>>>31),U[4]^=J,U[5]^=Z,U[14]^=J,U[15]^=Z,U[24]^=J,U[25]^=Z,U[34]^=J,U[35]^=Z,U[44]^=J,U[45]^=Z,J=ge^(Be<<1|c0>>>31),Z=de^(c0<<1|Be>>>31),U[6]^=J,U[7]^=Z,U[16]^=J,U[17]^=Z,U[26]^=J,U[27]^=Z,U[36]^=J,U[37]^=Z,U[46]^=J,U[47]^=Z,J=Ae^(ue<<1|Y>>>31),Z=Ge^(Y<<1|ue>>>31),U[8]^=J,U[9]^=Z,U[18]^=J,U[19]^=Z,U[28]^=J,U[29]^=Z,U[38]^=J,U[39]^=Z,U[48]^=J,U[49]^=Z,Ye=U[0],He=U[1],B0=U[11]<<4|U[10]>>>28,K0=U[10]<<4|U[11]>>>28,v0=U[20]<<3|U[21]>>>29,w0=U[21]<<3|U[20]>>>29,Ln=U[31]<<9|U[30]>>>23,Fn=U[30]<<9|U[31]>>>23,t0=U[40]<<18|U[41]>>>14,j0=U[41]<<18|U[40]>>>14,ze=U[2]<<1|U[3]>>>31,je=U[3]<<1|U[2]>>>31,_0=U[13]<<12|U[12]>>>20,L0=U[12]<<12|U[13]>>>20,s0=U[22]<<10|U[23]>>>22,J0=U[23]<<10|U[22]>>>22,Ve=U[33]<<13|U[32]>>>19,me=U[32]<<13|U[33]>>>19,Nn=U[42]<<2|U[43]>>>30,On=U[43]<<2|U[42]>>>30,p0=U[5]<<30|U[4]>>>2,Z0=U[4]<<30|U[5]>>>2,Ue=U[14]<<6|U[15]>>>26,m0=U[15]<<6|U[14]>>>26,Ze=U[25]<<11|U[24]>>>21,C0=U[24]<<11|U[25]>>>21,Y0=U[34]<<15|U[35]>>>17,l0=U[35]<<15|U[34]>>>17,ye=U[45]<<29|U[44]>>>3,_e=U[44]<<29|U[45]>>>3,Se=U[6]<<28|U[7]>>>4,Qe=U[7]<<28|U[6]>>>4,Et=U[17]<<23|U[16]>>>9,$0=U[16]<<23|U[17]>>>9,h0=U[26]<<25|U[27]>>>7,$e=U[27]<<25|U[26]>>>7,pe=U[36]<<21|U[37]>>>11,he=U[37]<<21|U[36]>>>11,Q0=U[47]<<24|U[46]>>>8,et=U[46]<<24|U[47]>>>8,z0=U[8]<<27|U[9]>>>5,Ke=U[9]<<27|U[8]>>>5,u0=U[18]<<20|U[19]>>>12,qe=U[19]<<20|U[18]>>>12,Tt=U[29]<<7|U[28]>>>25,Pn=U[28]<<7|U[29]>>>25,M0=U[38]<<8|U[39]>>>24,P0=U[39]<<8|U[38]>>>24,Te=U[48]<<14|U[49]>>>18,Ie=U[49]<<14|U[48]>>>18,U[0]=Ye^~_0&Ze,U[1]=He^~L0&C0,U[10]=Se^~u0&v0,U[11]=Qe^~qe&w0,U[20]=ze^~Ue&h0,U[21]=je^~m0&$e,U[30]=z0^~B0&s0,U[31]=Ke^~K0&J0,U[40]=p0^~Et&Tt,U[41]=Z0^~$0&Pn,U[2]=_0^~Ze&pe,U[3]=L0^~C0&he,U[12]=u0^~v0&Ve,U[13]=qe^~w0&me,U[22]=Ue^~h0&M0,U[23]=m0^~$e&P0,U[32]=B0^~s0&Y0,U[33]=K0^~J0&l0,U[42]=Et^~Tt&Ln,U[43]=$0^~Pn&Fn,U[4]=Ze^~pe&Te,U[5]=C0^~he&Ie,U[14]=v0^~Ve&ye,U[15]=w0^~me&_e,U[24]=h0^~M0&t0,U[25]=$e^~P0&j0,U[34]=s0^~Y0&Q0,U[35]=J0^~l0&et,U[44]=Tt^~Ln&Nn,U[45]=Pn^~Fn&On,U[6]=pe^~Te&Ye,U[7]=he^~Ie&He,U[16]=Ve^~ye&Se,U[17]=me^~_e&Qe,U[26]=M0^~t0&ze,U[27]=P0^~j0&je,U[36]=Y0^~Q0&z0,U[37]=l0^~et&Ke,U[46]=Ln^~Nn&p0,U[47]=Fn^~On&Z0,U[8]=Te^~Ye&_0,U[9]=Ie^~He&L0,U[18]=ye^~Se&u0,U[19]=_e^~Qe&qe,U[28]=t0^~ze&Ue,U[29]=j0^~je&m0,U[38]=Q0^~z0&B0,U[39]=et^~Ke&K0,U[48]=Nn^~p0&Et,U[49]=On^~Z0&$0,U[0]^=k[ne],U[1]^=k[ne+1]};if(s)t.exports=b;else for(P=0;PRQ[a])&&console.log.apply(console,n)}debug(...e){this._log(t.levels.DEBUG,e)}info(...e){this._log(t.levels.INFO,e)}warn(...e){this._log(t.levels.WARNING,e)}makeError(e,n,a){if(F10)return this.makeError("censored error",n,{});n||(n=t.errors.UNKNOWN_ERROR),a||(a={});let r=[];Object.keys(a).forEach(o=>{let c=a[o];try{if(c instanceof Uint8Array){let d="";for(let l=0;l>4],d+=U10[c[l]&15];r.push(o+"=Uint8Array(0x"+d+")")}else r.push(o+"="+JSON.stringify(c))}catch{r.push(o+"="+JSON.stringify(a[o].toString()))}}),r.push(`code=${n}`),r.push(`version=${this.version}`);let f=e,i="";switch(n){case Gl.NUMERIC_FAULT:{i="NUMERIC_FAULT";let o=e;switch(o){case"overflow":case"underflow":case"division-by-zero":i+="-"+o;break;case"negative-power":case"negative-width":i+="-unsupported";break;case"unbound-bitwise-result":i+="-unbound-result";break}break}case Gl.CALL_EXCEPTION:case Gl.INSUFFICIENT_FUNDS:case Gl.MISSING_NEW:case Gl.NONCE_EXPIRED:case Gl.REPLACEMENT_UNDERPRICED:case Gl.TRANSACTION_REPLACED:case Gl.UNPREDICTABLE_GAS_LIMIT:i=n;break}i&&(e+=" [ See: https://links.ethers.org/v5-errors-"+i+" ]"),r.length&&(e+=" ("+r.join(", ")+")");let s=new Error(e);return s.reason=f,s.code=n,Object.keys(a).forEach(function(o){s[o]=a[o]}),s}throwError(e,n,a){throw this.makeError(e,n,a)}throwArgumentError(e,n,a){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:n,value:a})}assert(e,n,a,r){e||this.throwError(n,a,r)}assertArgument(e,n,a,r){e||this.throwArgumentError(n,a,r)}checkNormalize(e){O10&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:O10})}checkSafeUint53(e,n){typeof e=="number"&&(n==null&&(n="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(n,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,n,a){a?a=": "+a:a="",en&&this.throwError("too many arguments"+a,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:n})}checkNew(e,n){(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}checkAbstract(e,n){e===n?this.throwError("cannot instantiate abstract class "+JSON.stringify(n.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",t.errors.MISSING_NEW,{name:n.name})}static globalLogger(){return uue||(uue=new t(S1n)),uue}static setCensorship(e,n){if(!e&&n&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),L10){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}F10=!!e,L10=!!n}static setLogLevel(e){let n=RQ[e.toLowerCase()];if(n==null){t.globalLogger().warn("invalid log level - "+e);return}N10=n}static from(e){return new t(e)}};gf.errors=Gl,gf.levels=Cue;M1n="bytes/5.7.0",Ti=new gf(M1n);pue="0123456789abcdef";Ac0={exports:{}},F1n={},N1n=Object.freeze({__proto__:null,default:F1n}),O1n=C1n(N1n);(function(t){(function(e,n){function a(w,b){if(!w)throw new Error(b||"Assertion failed")}function r(w,b){w.super_=b;var A=function(){};A.prototype=b.prototype,w.prototype=new A,w.prototype.constructor=w}function f(w,b,A){if(f.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((b==="le"||b==="be")&&(A=b,b=10),this._init(w||0,b||10,A||"be"))}typeof e=="object"?e.exports=f:n.BN=f,f.BN=f,f.wordSize=26;var i;try{typeof window<"u"&&typeof window.Buffer<"u"?i=window.Buffer:i=O1n.Buffer}catch{}f.isBN=function(w){return w instanceof f?!0:w!==null&&typeof w=="object"&&w.constructor.wordSize===f.wordSize&&Array.isArray(w.words)},f.max=function(w,b){return w.cmp(b)>0?w:b},f.min=function(w,b){return w.cmp(b)<0?w:b},f.prototype._init=function(w,b,A){if(typeof w=="number")return this._initNumber(w,b,A);if(typeof w=="object")return this._initArray(w,b,A);b==="hex"&&(b=16),a(b===(b|0)&&b>=2&&b<=36),w=w.toString().replace(/\s+/g,"");var P=0;w[0]==="-"&&(P++,this.negative=1),P=0;P-=3)E=w[P]|w[P-1]<<8|w[P-2]<<16,this.words[L]|=E<>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);else if(A==="le")for(P=0,L=0;P>>26-g&67108863,g+=24,g>=26&&(g-=26,L++);return this._strip()};function s(w,b){var A=w.charCodeAt(b);if(A>=48&&A<=57)return A-48;if(A>=65&&A<=70)return A-55;if(A>=97&&A<=102)return A-87;a(!1,"Invalid character in "+w)}function o(w,b,A){var P=s(w,A);return A-1>=b&&(P|=s(w,A-1)<<4),P}f.prototype._parseHex=function(w,b,A){this.length=Math.ceil((w.length-b)/6),this.words=new Array(this.length);for(var P=0;P=b;P-=2)g=o(w,b,P)<=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8;else{var B=w.length-b;for(P=B%2===0?b+1:b;P=18?(L-=18,E+=1,this.words[E]|=g>>>26):L+=8}this._strip()};function c(w,b,A,P){for(var L=0,E=0,g=Math.min(w.length,A),B=b;B=49?E=M-49+10:M>=17?E=M-17+10:E=M,a(M>=0&&E1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{f.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{f.prototype.inspect=l}else f.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];f.prototype.toString=function(w,b){w=w||10,b=b|0||1;var A;if(w===16||w==="hex"){A="";for(var P=0,L=0,E=0;E>>24-P&16777215,P+=2,P>=26&&(P-=26,E--),L!==0||E!==this.length-1?A=h[6-B.length]+B+A:A=B+A}for(L!==0&&(A=L.toString(16)+A);A.length%b!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}if(w===(w|0)&&w>=2&&w<=36){var M=y[w],S=v[w];A="";var q=this.clone();for(q.negative=0;!q.isZero();){var ee=q.modrn(S).toString(w);q=q.idivn(S),q.isZero()?A=ee+A:A=h[M-ee.length]+ee+A}for(this.isZero()&&(A="0"+A);A.length%b!==0;)A="0"+A;return this.negative!==0&&(A="-"+A),A}a(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var w=this.words[0];return this.length===2?w+=this.words[1]*67108864:this.length===3&&this.words[2]===1?w+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-w:w},f.prototype.toJSON=function(){return this.toString(16,2)},i&&(f.prototype.toBuffer=function(w,b){return this.toArrayLike(i,w,b)}),f.prototype.toArray=function(w,b){return this.toArrayLike(Array,w,b)};var k=function(w,b){return w.allocUnsafe?w.allocUnsafe(b):new w(b)};f.prototype.toArrayLike=function(w,b,A){this._strip();var P=this.byteLength(),L=A||Math.max(1,P);a(P<=L,"byte array longer than desired length"),a(L>0,"Requested array length <= 0");var E=k(w,L),g=b==="le"?"LE":"BE";return this["_toArrayLike"+g](E,P),E},f.prototype._toArrayLikeLE=function(w,b){for(var A=0,P=0,L=0,E=0;L>8&255),A>16&255),E===6?(A>24&255),P=0,E=0):(P=g>>>24,E+=2)}if(A=0&&(w[A--]=g>>8&255),A>=0&&(w[A--]=g>>16&255),E===6?(A>=0&&(w[A--]=g>>24&255),P=0,E=0):(P=g>>>24,E+=2)}if(A>=0)for(w[A--]=P;A>=0;)w[A--]=0},Math.clz32?f.prototype._countBits=function(w){return 32-Math.clz32(w)}:f.prototype._countBits=function(w){var b=w,A=0;return b>=4096&&(A+=13,b>>>=13),b>=64&&(A+=7,b>>>=7),b>=8&&(A+=4,b>>>=4),b>=2&&(A+=2,b>>>=2),A+b},f.prototype._zeroBits=function(w){if(w===0)return 26;var b=w,A=0;return b&8191||(A+=13,b>>>=13),b&127||(A+=7,b>>>=7),b&15||(A+=4,b>>>=4),b&3||(A+=2,b>>>=2),b&1||A++,A},f.prototype.bitLength=function(){var w=this.words[this.length-1],b=this._countBits(w);return(this.length-1)*26+b};function O(w){for(var b=new Array(w.bitLength()),A=0;A>>L&1}return b}f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,b=0;bw.length?this.clone().ior(w):w.clone().ior(this)},f.prototype.uor=function(w){return this.length>w.length?this.clone().iuor(w):w.clone().iuor(this)},f.prototype.iuand=function(w){var b;this.length>w.length?b=w:b=this;for(var A=0;Aw.length?this.clone().iand(w):w.clone().iand(this)},f.prototype.uand=function(w){return this.length>w.length?this.clone().iuand(w):w.clone().iuand(this)},f.prototype.iuxor=function(w){var b,A;this.length>w.length?(b=this,A=w):(b=w,A=this);for(var P=0;Pw.length?this.clone().ixor(w):w.clone().ixor(this)},f.prototype.uxor=function(w){return this.length>w.length?this.clone().iuxor(w):w.clone().iuxor(this)},f.prototype.inotn=function(w){a(typeof w=="number"&&w>=0);var b=Math.ceil(w/26)|0,A=w%26;this._expand(b),A>0&&b--;for(var P=0;P0&&(this.words[P]=~this.words[P]&67108863>>26-A),this._strip()},f.prototype.notn=function(w){return this.clone().inotn(w)},f.prototype.setn=function(w,b){a(typeof w=="number"&&w>=0);var A=w/26|0,P=w%26;return this._expand(A+1),b?this.words[A]=this.words[A]|1<w.length?(A=this,P=w):(A=w,P=this);for(var L=0,E=0;E>>26;for(;L!==0&&E>>26;if(this.length=A.length,L!==0)this.words[this.length]=L,this.length++;else if(A!==this)for(;Ew.length?this.clone().iadd(w):w.clone().iadd(this)},f.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var b=this.iadd(w);return w.negative=1,b._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(w),this.negative=1,this._normSign();var A=this.cmp(w);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;var P,L;A>0?(P=this,L=w):(P=w,L=this);for(var E=0,g=0;g>26,this.words[g]=b&67108863;for(;E!==0&&g>26,this.words[g]=b&67108863;if(E===0&&g>>26,ee=M&67108863,U=Math.min(S,b.length-1),J=Math.max(0,S-w.length+1);J<=U;J++){var Z=S-J|0;L=w.words[Z]|0,E=b.words[J]|0,g=L*E+ee,q+=g/67108864|0,ee=g&67108863}A.words[S]=ee|0,M=q|0}return M!==0?A.words[S]=M|0:A.length--,A._strip()}var z=function(w,b,A){var P=w.words,L=b.words,E=A.words,g=0,B,M,S,q=P[0]|0,ee=q&8191,U=q>>>13,J=P[1]|0,Z=J&8191,ne=J>>>13,ue=P[2]|0,Y=ue&8191,re=ue>>>13,ie=P[3]|0,ge=ie&8191,de=ie>>>13,Ae=P[4]|0,Ge=Ae&8191,Be=Ae>>>13,c0=P[5]|0,Ye=c0&8191,He=c0>>>13,_0=P[6]|0,L0=_0&8191,Ze=_0>>>13,C0=P[7]|0,pe=C0&8191,he=C0>>>13,Te=P[8]|0,Ie=Te&8191,Se=Te>>>13,Qe=P[9]|0,u0=Qe&8191,qe=Qe>>>13,v0=L[0]|0,w0=v0&8191,Ve=v0>>>13,me=L[1]|0,ye=me&8191,_e=me>>>13,ze=L[2]|0,je=ze&8191,Ue=ze>>>13,m0=L[3]|0,h0=m0&8191,$e=m0>>>13,M0=L[4]|0,P0=M0&8191,t0=M0>>>13,j0=L[5]|0,z0=j0&8191,Ke=j0>>>13,B0=L[6]|0,K0=B0&8191,s0=B0>>>13,J0=L[7]|0,Y0=J0&8191,l0=J0>>>13,Q0=L[8]|0,et=Q0&8191,p0=Q0>>>13,Z0=L[9]|0,Et=Z0&8191,$0=Z0>>>13;A.negative=w.negative^b.negative,A.length=19,B=Math.imul(ee,w0),M=Math.imul(ee,Ve),M=M+Math.imul(U,w0)|0,S=Math.imul(U,Ve);var Tt=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,B=Math.imul(Z,w0),M=Math.imul(Z,Ve),M=M+Math.imul(ne,w0)|0,S=Math.imul(ne,Ve),B=B+Math.imul(ee,ye)|0,M=M+Math.imul(ee,_e)|0,M=M+Math.imul(U,ye)|0,S=S+Math.imul(U,_e)|0;var Pn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,B=Math.imul(Y,w0),M=Math.imul(Y,Ve),M=M+Math.imul(re,w0)|0,S=Math.imul(re,Ve),B=B+Math.imul(Z,ye)|0,M=M+Math.imul(Z,_e)|0,M=M+Math.imul(ne,ye)|0,S=S+Math.imul(ne,_e)|0,B=B+Math.imul(ee,je)|0,M=M+Math.imul(ee,Ue)|0,M=M+Math.imul(U,je)|0,S=S+Math.imul(U,Ue)|0;var Ln=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,B=Math.imul(ge,w0),M=Math.imul(ge,Ve),M=M+Math.imul(de,w0)|0,S=Math.imul(de,Ve),B=B+Math.imul(Y,ye)|0,M=M+Math.imul(Y,_e)|0,M=M+Math.imul(re,ye)|0,S=S+Math.imul(re,_e)|0,B=B+Math.imul(Z,je)|0,M=M+Math.imul(Z,Ue)|0,M=M+Math.imul(ne,je)|0,S=S+Math.imul(ne,Ue)|0,B=B+Math.imul(ee,h0)|0,M=M+Math.imul(ee,$e)|0,M=M+Math.imul(U,h0)|0,S=S+Math.imul(U,$e)|0;var Fn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,B=Math.imul(Ge,w0),M=Math.imul(Ge,Ve),M=M+Math.imul(Be,w0)|0,S=Math.imul(Be,Ve),B=B+Math.imul(ge,ye)|0,M=M+Math.imul(ge,_e)|0,M=M+Math.imul(de,ye)|0,S=S+Math.imul(de,_e)|0,B=B+Math.imul(Y,je)|0,M=M+Math.imul(Y,Ue)|0,M=M+Math.imul(re,je)|0,S=S+Math.imul(re,Ue)|0,B=B+Math.imul(Z,h0)|0,M=M+Math.imul(Z,$e)|0,M=M+Math.imul(ne,h0)|0,S=S+Math.imul(ne,$e)|0,B=B+Math.imul(ee,P0)|0,M=M+Math.imul(ee,t0)|0,M=M+Math.imul(U,P0)|0,S=S+Math.imul(U,t0)|0;var Nn=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Nn>>>26)|0,Nn&=67108863,B=Math.imul(Ye,w0),M=Math.imul(Ye,Ve),M=M+Math.imul(He,w0)|0,S=Math.imul(He,Ve),B=B+Math.imul(Ge,ye)|0,M=M+Math.imul(Ge,_e)|0,M=M+Math.imul(Be,ye)|0,S=S+Math.imul(Be,_e)|0,B=B+Math.imul(ge,je)|0,M=M+Math.imul(ge,Ue)|0,M=M+Math.imul(de,je)|0,S=S+Math.imul(de,Ue)|0,B=B+Math.imul(Y,h0)|0,M=M+Math.imul(Y,$e)|0,M=M+Math.imul(re,h0)|0,S=S+Math.imul(re,$e)|0,B=B+Math.imul(Z,P0)|0,M=M+Math.imul(Z,t0)|0,M=M+Math.imul(ne,P0)|0,S=S+Math.imul(ne,t0)|0,B=B+Math.imul(ee,z0)|0,M=M+Math.imul(ee,Ke)|0,M=M+Math.imul(U,z0)|0,S=S+Math.imul(U,Ke)|0;var On=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(On>>>26)|0,On&=67108863,B=Math.imul(L0,w0),M=Math.imul(L0,Ve),M=M+Math.imul(Ze,w0)|0,S=Math.imul(Ze,Ve),B=B+Math.imul(Ye,ye)|0,M=M+Math.imul(Ye,_e)|0,M=M+Math.imul(He,ye)|0,S=S+Math.imul(He,_e)|0,B=B+Math.imul(Ge,je)|0,M=M+Math.imul(Ge,Ue)|0,M=M+Math.imul(Be,je)|0,S=S+Math.imul(Be,Ue)|0,B=B+Math.imul(ge,h0)|0,M=M+Math.imul(ge,$e)|0,M=M+Math.imul(de,h0)|0,S=S+Math.imul(de,$e)|0,B=B+Math.imul(Y,P0)|0,M=M+Math.imul(Y,t0)|0,M=M+Math.imul(re,P0)|0,S=S+Math.imul(re,t0)|0,B=B+Math.imul(Z,z0)|0,M=M+Math.imul(Z,Ke)|0,M=M+Math.imul(ne,z0)|0,S=S+Math.imul(ne,Ke)|0,B=B+Math.imul(ee,K0)|0,M=M+Math.imul(ee,s0)|0,M=M+Math.imul(U,K0)|0,S=S+Math.imul(U,s0)|0;var Ha=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Ha>>>26)|0,Ha&=67108863,B=Math.imul(pe,w0),M=Math.imul(pe,Ve),M=M+Math.imul(he,w0)|0,S=Math.imul(he,Ve),B=B+Math.imul(L0,ye)|0,M=M+Math.imul(L0,_e)|0,M=M+Math.imul(Ze,ye)|0,S=S+Math.imul(Ze,_e)|0,B=B+Math.imul(Ye,je)|0,M=M+Math.imul(Ye,Ue)|0,M=M+Math.imul(He,je)|0,S=S+Math.imul(He,Ue)|0,B=B+Math.imul(Ge,h0)|0,M=M+Math.imul(Ge,$e)|0,M=M+Math.imul(Be,h0)|0,S=S+Math.imul(Be,$e)|0,B=B+Math.imul(ge,P0)|0,M=M+Math.imul(ge,t0)|0,M=M+Math.imul(de,P0)|0,S=S+Math.imul(de,t0)|0,B=B+Math.imul(Y,z0)|0,M=M+Math.imul(Y,Ke)|0,M=M+Math.imul(re,z0)|0,S=S+Math.imul(re,Ke)|0,B=B+Math.imul(Z,K0)|0,M=M+Math.imul(Z,s0)|0,M=M+Math.imul(ne,K0)|0,S=S+Math.imul(ne,s0)|0,B=B+Math.imul(ee,Y0)|0,M=M+Math.imul(ee,l0)|0,M=M+Math.imul(U,Y0)|0,S=S+Math.imul(U,l0)|0;var pr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(pr>>>26)|0,pr&=67108863,B=Math.imul(Ie,w0),M=Math.imul(Ie,Ve),M=M+Math.imul(Se,w0)|0,S=Math.imul(Se,Ve),B=B+Math.imul(pe,ye)|0,M=M+Math.imul(pe,_e)|0,M=M+Math.imul(he,ye)|0,S=S+Math.imul(he,_e)|0,B=B+Math.imul(L0,je)|0,M=M+Math.imul(L0,Ue)|0,M=M+Math.imul(Ze,je)|0,S=S+Math.imul(Ze,Ue)|0,B=B+Math.imul(Ye,h0)|0,M=M+Math.imul(Ye,$e)|0,M=M+Math.imul(He,h0)|0,S=S+Math.imul(He,$e)|0,B=B+Math.imul(Ge,P0)|0,M=M+Math.imul(Ge,t0)|0,M=M+Math.imul(Be,P0)|0,S=S+Math.imul(Be,t0)|0,B=B+Math.imul(ge,z0)|0,M=M+Math.imul(ge,Ke)|0,M=M+Math.imul(de,z0)|0,S=S+Math.imul(de,Ke)|0,B=B+Math.imul(Y,K0)|0,M=M+Math.imul(Y,s0)|0,M=M+Math.imul(re,K0)|0,S=S+Math.imul(re,s0)|0,B=B+Math.imul(Z,Y0)|0,M=M+Math.imul(Z,l0)|0,M=M+Math.imul(ne,Y0)|0,S=S+Math.imul(ne,l0)|0,B=B+Math.imul(ee,et)|0,M=M+Math.imul(ee,p0)|0,M=M+Math.imul(U,et)|0,S=S+Math.imul(U,p0)|0;var za=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(za>>>26)|0,za&=67108863,B=Math.imul(u0,w0),M=Math.imul(u0,Ve),M=M+Math.imul(qe,w0)|0,S=Math.imul(qe,Ve),B=B+Math.imul(Ie,ye)|0,M=M+Math.imul(Ie,_e)|0,M=M+Math.imul(Se,ye)|0,S=S+Math.imul(Se,_e)|0,B=B+Math.imul(pe,je)|0,M=M+Math.imul(pe,Ue)|0,M=M+Math.imul(he,je)|0,S=S+Math.imul(he,Ue)|0,B=B+Math.imul(L0,h0)|0,M=M+Math.imul(L0,$e)|0,M=M+Math.imul(Ze,h0)|0,S=S+Math.imul(Ze,$e)|0,B=B+Math.imul(Ye,P0)|0,M=M+Math.imul(Ye,t0)|0,M=M+Math.imul(He,P0)|0,S=S+Math.imul(He,t0)|0,B=B+Math.imul(Ge,z0)|0,M=M+Math.imul(Ge,Ke)|0,M=M+Math.imul(Be,z0)|0,S=S+Math.imul(Be,Ke)|0,B=B+Math.imul(ge,K0)|0,M=M+Math.imul(ge,s0)|0,M=M+Math.imul(de,K0)|0,S=S+Math.imul(de,s0)|0,B=B+Math.imul(Y,Y0)|0,M=M+Math.imul(Y,l0)|0,M=M+Math.imul(re,Y0)|0,S=S+Math.imul(re,l0)|0,B=B+Math.imul(Z,et)|0,M=M+Math.imul(Z,p0)|0,M=M+Math.imul(ne,et)|0,S=S+Math.imul(ne,p0)|0,B=B+Math.imul(ee,Et)|0,M=M+Math.imul(ee,$0)|0,M=M+Math.imul(U,Et)|0,S=S+Math.imul(U,$0)|0;var hr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(hr>>>26)|0,hr&=67108863,B=Math.imul(u0,ye),M=Math.imul(u0,_e),M=M+Math.imul(qe,ye)|0,S=Math.imul(qe,_e),B=B+Math.imul(Ie,je)|0,M=M+Math.imul(Ie,Ue)|0,M=M+Math.imul(Se,je)|0,S=S+Math.imul(Se,Ue)|0,B=B+Math.imul(pe,h0)|0,M=M+Math.imul(pe,$e)|0,M=M+Math.imul(he,h0)|0,S=S+Math.imul(he,$e)|0,B=B+Math.imul(L0,P0)|0,M=M+Math.imul(L0,t0)|0,M=M+Math.imul(Ze,P0)|0,S=S+Math.imul(Ze,t0)|0,B=B+Math.imul(Ye,z0)|0,M=M+Math.imul(Ye,Ke)|0,M=M+Math.imul(He,z0)|0,S=S+Math.imul(He,Ke)|0,B=B+Math.imul(Ge,K0)|0,M=M+Math.imul(Ge,s0)|0,M=M+Math.imul(Be,K0)|0,S=S+Math.imul(Be,s0)|0,B=B+Math.imul(ge,Y0)|0,M=M+Math.imul(ge,l0)|0,M=M+Math.imul(de,Y0)|0,S=S+Math.imul(de,l0)|0,B=B+Math.imul(Y,et)|0,M=M+Math.imul(Y,p0)|0,M=M+Math.imul(re,et)|0,S=S+Math.imul(re,p0)|0,B=B+Math.imul(Z,Et)|0,M=M+Math.imul(Z,$0)|0,M=M+Math.imul(ne,Et)|0,S=S+Math.imul(ne,$0)|0;var ar=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(ar>>>26)|0,ar&=67108863,B=Math.imul(u0,je),M=Math.imul(u0,Ue),M=M+Math.imul(qe,je)|0,S=Math.imul(qe,Ue),B=B+Math.imul(Ie,h0)|0,M=M+Math.imul(Ie,$e)|0,M=M+Math.imul(Se,h0)|0,S=S+Math.imul(Se,$e)|0,B=B+Math.imul(pe,P0)|0,M=M+Math.imul(pe,t0)|0,M=M+Math.imul(he,P0)|0,S=S+Math.imul(he,t0)|0,B=B+Math.imul(L0,z0)|0,M=M+Math.imul(L0,Ke)|0,M=M+Math.imul(Ze,z0)|0,S=S+Math.imul(Ze,Ke)|0,B=B+Math.imul(Ye,K0)|0,M=M+Math.imul(Ye,s0)|0,M=M+Math.imul(He,K0)|0,S=S+Math.imul(He,s0)|0,B=B+Math.imul(Ge,Y0)|0,M=M+Math.imul(Ge,l0)|0,M=M+Math.imul(Be,Y0)|0,S=S+Math.imul(Be,l0)|0,B=B+Math.imul(ge,et)|0,M=M+Math.imul(ge,p0)|0,M=M+Math.imul(de,et)|0,S=S+Math.imul(de,p0)|0,B=B+Math.imul(Y,Et)|0,M=M+Math.imul(Y,$0)|0,M=M+Math.imul(re,Et)|0,S=S+Math.imul(re,$0)|0;var Ir=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,B=Math.imul(u0,h0),M=Math.imul(u0,$e),M=M+Math.imul(qe,h0)|0,S=Math.imul(qe,$e),B=B+Math.imul(Ie,P0)|0,M=M+Math.imul(Ie,t0)|0,M=M+Math.imul(Se,P0)|0,S=S+Math.imul(Se,t0)|0,B=B+Math.imul(pe,z0)|0,M=M+Math.imul(pe,Ke)|0,M=M+Math.imul(he,z0)|0,S=S+Math.imul(he,Ke)|0,B=B+Math.imul(L0,K0)|0,M=M+Math.imul(L0,s0)|0,M=M+Math.imul(Ze,K0)|0,S=S+Math.imul(Ze,s0)|0,B=B+Math.imul(Ye,Y0)|0,M=M+Math.imul(Ye,l0)|0,M=M+Math.imul(He,Y0)|0,S=S+Math.imul(He,l0)|0,B=B+Math.imul(Ge,et)|0,M=M+Math.imul(Ge,p0)|0,M=M+Math.imul(Be,et)|0,S=S+Math.imul(Be,p0)|0,B=B+Math.imul(ge,Et)|0,M=M+Math.imul(ge,$0)|0,M=M+Math.imul(de,Et)|0,S=S+Math.imul(de,$0)|0;var Jr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,B=Math.imul(u0,P0),M=Math.imul(u0,t0),M=M+Math.imul(qe,P0)|0,S=Math.imul(qe,t0),B=B+Math.imul(Ie,z0)|0,M=M+Math.imul(Ie,Ke)|0,M=M+Math.imul(Se,z0)|0,S=S+Math.imul(Se,Ke)|0,B=B+Math.imul(pe,K0)|0,M=M+Math.imul(pe,s0)|0,M=M+Math.imul(he,K0)|0,S=S+Math.imul(he,s0)|0,B=B+Math.imul(L0,Y0)|0,M=M+Math.imul(L0,l0)|0,M=M+Math.imul(Ze,Y0)|0,S=S+Math.imul(Ze,l0)|0,B=B+Math.imul(Ye,et)|0,M=M+Math.imul(Ye,p0)|0,M=M+Math.imul(He,et)|0,S=S+Math.imul(He,p0)|0,B=B+Math.imul(Ge,Et)|0,M=M+Math.imul(Ge,$0)|0,M=M+Math.imul(Be,Et)|0,S=S+Math.imul(Be,$0)|0;var rr=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(rr>>>26)|0,rr&=67108863,B=Math.imul(u0,z0),M=Math.imul(u0,Ke),M=M+Math.imul(qe,z0)|0,S=Math.imul(qe,Ke),B=B+Math.imul(Ie,K0)|0,M=M+Math.imul(Ie,s0)|0,M=M+Math.imul(Se,K0)|0,S=S+Math.imul(Se,s0)|0,B=B+Math.imul(pe,Y0)|0,M=M+Math.imul(pe,l0)|0,M=M+Math.imul(he,Y0)|0,S=S+Math.imul(he,l0)|0,B=B+Math.imul(L0,et)|0,M=M+Math.imul(L0,p0)|0,M=M+Math.imul(Ze,et)|0,S=S+Math.imul(Ze,p0)|0,B=B+Math.imul(Ye,Et)|0,M=M+Math.imul(Ye,$0)|0,M=M+Math.imul(He,Et)|0,S=S+Math.imul(He,$0)|0;var cf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(cf>>>26)|0,cf&=67108863,B=Math.imul(u0,K0),M=Math.imul(u0,s0),M=M+Math.imul(qe,K0)|0,S=Math.imul(qe,s0),B=B+Math.imul(Ie,Y0)|0,M=M+Math.imul(Ie,l0)|0,M=M+Math.imul(Se,Y0)|0,S=S+Math.imul(Se,l0)|0,B=B+Math.imul(pe,et)|0,M=M+Math.imul(pe,p0)|0,M=M+Math.imul(he,et)|0,S=S+Math.imul(he,p0)|0,B=B+Math.imul(L0,Et)|0,M=M+Math.imul(L0,$0)|0,M=M+Math.imul(Ze,Et)|0,S=S+Math.imul(Ze,$0)|0;var Gf=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Gf>>>26)|0,Gf&=67108863,B=Math.imul(u0,Y0),M=Math.imul(u0,l0),M=M+Math.imul(qe,Y0)|0,S=Math.imul(qe,l0),B=B+Math.imul(Ie,et)|0,M=M+Math.imul(Ie,p0)|0,M=M+Math.imul(Se,et)|0,S=S+Math.imul(Se,p0)|0,B=B+Math.imul(pe,Et)|0,M=M+Math.imul(pe,$0)|0,M=M+Math.imul(he,Et)|0,S=S+Math.imul(he,$0)|0;var Qs=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(Qs>>>26)|0,Qs&=67108863,B=Math.imul(u0,et),M=Math.imul(u0,p0),M=M+Math.imul(qe,et)|0,S=Math.imul(qe,p0),B=B+Math.imul(Ie,Et)|0,M=M+Math.imul(Ie,$0)|0,M=M+Math.imul(Se,Et)|0,S=S+Math.imul(Se,$0)|0;var W5=(g+B|0)+((M&8191)<<13)|0;g=(S+(M>>>13)|0)+(W5>>>26)|0,W5&=67108863,B=Math.imul(u0,Et),M=Math.imul(u0,$0),M=M+Math.imul(qe,Et)|0,S=Math.imul(qe,$0);var q5=(g+B|0)+((M&8191)<<13)|0;return g=(S+(M>>>13)|0)+(q5>>>26)|0,q5&=67108863,E[0]=Tt,E[1]=Pn,E[2]=Ln,E[3]=Fn,E[4]=Nn,E[5]=On,E[6]=Ha,E[7]=pr,E[8]=za,E[9]=hr,E[10]=ar,E[11]=Ir,E[12]=Jr,E[13]=rr,E[14]=cf,E[15]=Gf,E[16]=Qs,E[17]=W5,E[18]=q5,g!==0&&(E[19]=g,A.length++),A};Math.imul||(z=F);function W(w,b,A){A.negative=b.negative^w.negative,A.length=w.length+b.length;for(var P=0,L=0,E=0;E>>26)|0,L+=g>>>26,g&=67108863}A.words[E]=B,P=g,g=L}return P!==0?A.words[E]=P:A.length--,A._strip()}function j(w,b,A){return W(w,b,A)}f.prototype.mulTo=function(w,b){var A,P=this.length+w.length;return this.length===10&&w.length===10?A=z(this,w,b):P<63?A=F(this,w,b):P<1024?A=W(this,w,b):A=j(this,w,b),A},f.prototype.mul=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),this.mulTo(w,b)},f.prototype.mulf=function(w){var b=new f(null);return b.words=new Array(this.length+w.length),j(this,w,b)},f.prototype.imul=function(w){return this.clone().mulTo(w,this)},f.prototype.imuln=function(w){var b=w<0;b&&(w=-w),a(typeof w=="number"),a(w<67108864);for(var A=0,P=0;P>=26,A+=L/67108864|0,A+=E>>>26,this.words[P]=E&67108863}return A!==0&&(this.words[P]=A,this.length++),b?this.ineg():this},f.prototype.muln=function(w){return this.clone().imuln(w)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(w){var b=O(w);if(b.length===0)return new f(1);for(var A=this,P=0;P=0);var b=w%26,A=(w-b)/26,P=67108863>>>26-b<<26-b,L;if(b!==0){var E=0;for(L=0;L>>26-b}E&&(this.words[L]=E,this.length++)}if(A!==0){for(L=this.length-1;L>=0;L--)this.words[L+A]=this.words[L];for(L=0;L=0);var P;b?P=(b-b%26)/26:P=0;var L=w%26,E=Math.min((w-L)/26,this.length),g=67108863^67108863>>>L<E)for(this.length-=E,M=0;M=0&&(S!==0||M>=P);M--){var q=this.words[M]|0;this.words[M]=S<<26-L|q>>>L,S=q&g}return B&&S!==0&&(B.words[B.length++]=S),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},f.prototype.ishrn=function(w,b,A){return a(this.negative===0),this.iushrn(w,b,A)},f.prototype.shln=function(w){return this.clone().ishln(w)},f.prototype.ushln=function(w){return this.clone().iushln(w)},f.prototype.shrn=function(w){return this.clone().ishrn(w)},f.prototype.ushrn=function(w){return this.clone().iushrn(w)},f.prototype.testn=function(w){a(typeof w=="number"&&w>=0);var b=w%26,A=(w-b)/26,P=1<=0);var b=w%26,A=(w-b)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=A)return this;if(b!==0&&A++,this.length=Math.min(A,this.length),b!==0){var P=67108863^67108863>>>b<=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},f.prototype.isubn=function(w){if(a(typeof w=="number"),a(w<67108864),w<0)return this.iaddn(-w);if(this.negative!==0)return this.negative=0,this.iaddn(w),this.negative=1,this;if(this.words[0]-=w,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b>26)-(B/67108864|0),this.words[L+A]=E&67108863}for(;L>26,this.words[L+A]=E&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,L=0;L>26,this.words[L]=E&67108863;return this.negative=1,this._strip()},f.prototype._wordDiv=function(w,b){var A=this.length-w.length,P=this.clone(),L=w,E=L.words[L.length-1]|0,g=this._countBits(E);A=26-g,A!==0&&(L=L.ushln(A),P.iushln(A),E=L.words[L.length-1]|0);var B=P.length-L.length,M;if(b!=="mod"){M=new f(null),M.length=B+1,M.words=new Array(M.length);for(var S=0;S=0;ee--){var U=(P.words[L.length+ee]|0)*67108864+(P.words[L.length+ee-1]|0);for(U=Math.min(U/E|0,67108863),P._ishlnsubmul(L,U,ee);P.negative!==0;)U--,P.negative=0,P._ishlnsubmul(L,1,ee),P.isZero()||(P.negative^=1);M&&(M.words[ee]=U)}return M&&M._strip(),P._strip(),b!=="div"&&A!==0&&P.iushrn(A),{div:M||null,mod:P}},f.prototype.divmod=function(w,b,A){if(a(!w.isZero()),this.isZero())return{div:new f(0),mod:new f(0)};var P,L,E;return this.negative!==0&&w.negative===0?(E=this.neg().divmod(w,b),b!=="mod"&&(P=E.div.neg()),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.iadd(w)),{div:P,mod:L}):this.negative===0&&w.negative!==0?(E=this.divmod(w.neg(),b),b!=="mod"&&(P=E.div.neg()),{div:P,mod:E.mod}):this.negative&w.negative?(E=this.neg().divmod(w.neg(),b),b!=="div"&&(L=E.mod.neg(),A&&L.negative!==0&&L.isub(w)),{div:E.div,mod:L}):w.length>this.length||this.cmp(w)<0?{div:new f(0),mod:this}:w.length===1?b==="div"?{div:this.divn(w.words[0]),mod:null}:b==="mod"?{div:null,mod:new f(this.modrn(w.words[0]))}:{div:this.divn(w.words[0]),mod:new f(this.modrn(w.words[0]))}:this._wordDiv(w,b)},f.prototype.div=function(w){return this.divmod(w,"div",!1).div},f.prototype.mod=function(w){return this.divmod(w,"mod",!1).mod},f.prototype.umod=function(w){return this.divmod(w,"mod",!0).mod},f.prototype.divRound=function(w){var b=this.divmod(w);if(b.mod.isZero())return b.div;var A=b.div.negative!==0?b.mod.isub(w):b.mod,P=w.ushrn(1),L=w.andln(1),E=A.cmp(P);return E<0||L===1&&E===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},f.prototype.modrn=function(w){var b=w<0;b&&(w=-w),a(w<=67108863);for(var A=(1<<26)%w,P=0,L=this.length-1;L>=0;L--)P=(A*P+(this.words[L]|0))%w;return b?-P:P},f.prototype.modn=function(w){return this.modrn(w)},f.prototype.idivn=function(w){var b=w<0;b&&(w=-w),a(w<=67108863);for(var A=0,P=this.length-1;P>=0;P--){var L=(this.words[P]|0)+A*67108864;this.words[P]=L/w|0,A=L%w}return this._strip(),b?this.ineg():this},f.prototype.divn=function(w){return this.clone().idivn(w)},f.prototype.egcd=function(w){a(w.negative===0),a(!w.isZero());var b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=new f(0),g=new f(1),B=0;b.isEven()&&A.isEven();)b.iushrn(1),A.iushrn(1),++B;for(var M=A.clone(),S=b.clone();!b.isZero();){for(var q=0,ee=1;!(b.words[0]&ee)&&q<26;++q,ee<<=1);if(q>0)for(b.iushrn(q);q-- >0;)(P.isOdd()||L.isOdd())&&(P.iadd(M),L.isub(S)),P.iushrn(1),L.iushrn(1);for(var U=0,J=1;!(A.words[0]&J)&&U<26;++U,J<<=1);if(U>0)for(A.iushrn(U);U-- >0;)(E.isOdd()||g.isOdd())&&(E.iadd(M),g.isub(S)),E.iushrn(1),g.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(E),L.isub(g)):(A.isub(b),E.isub(P),g.isub(L))}return{a:E,b:g,gcd:A.iushln(B)}},f.prototype._invmp=function(w){a(w.negative===0),a(!w.isZero());var b=this,A=w.clone();b.negative!==0?b=b.umod(w):b=b.clone();for(var P=new f(1),L=new f(0),E=A.clone();b.cmpn(1)>0&&A.cmpn(1)>0;){for(var g=0,B=1;!(b.words[0]&B)&&g<26;++g,B<<=1);if(g>0)for(b.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(E),P.iushrn(1);for(var M=0,S=1;!(A.words[0]&S)&&M<26;++M,S<<=1);if(M>0)for(A.iushrn(M);M-- >0;)L.isOdd()&&L.iadd(E),L.iushrn(1);b.cmp(A)>=0?(b.isub(A),P.isub(L)):(A.isub(b),L.isub(P))}var q;return b.cmpn(1)===0?q=P:q=L,q.cmpn(0)<0&&q.iadd(w),q},f.prototype.gcd=function(w){if(this.isZero())return w.abs();if(w.isZero())return this.abs();var b=this.clone(),A=w.clone();b.negative=0,A.negative=0;for(var P=0;b.isEven()&&A.isEven();P++)b.iushrn(1),A.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;A.isEven();)A.iushrn(1);var L=b.cmp(A);if(L<0){var E=b;b=A,A=E}else if(L===0||A.cmpn(1)===0)break;b.isub(A)}while(!0);return A.iushln(P)},f.prototype.invm=function(w){return this.egcd(w).a.umod(w)},f.prototype.isEven=function(){return(this.words[0]&1)===0},f.prototype.isOdd=function(){return(this.words[0]&1)===1},f.prototype.andln=function(w){return this.words[0]&w},f.prototype.bincn=function(w){a(typeof w=="number");var b=w%26,A=(w-b)/26,P=1<>>26,g&=67108863,this.words[E]=g}return L!==0&&(this.words[E]=L,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(w){var b=w<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var A;if(this.length>1)A=1;else{b&&(w=-w),a(w<=67108863,"Number is too big");var P=this.words[0]|0;A=P===w?0:Pw.length)return 1;if(this.length=0;A--){var P=this.words[A]|0,L=w.words[A]|0;if(P!==L){PL&&(b=1);break}}return b},f.prototype.gtn=function(w){return this.cmpn(w)===1},f.prototype.gt=function(w){return this.cmp(w)===1},f.prototype.gten=function(w){return this.cmpn(w)>=0},f.prototype.gte=function(w){return this.cmp(w)>=0},f.prototype.ltn=function(w){return this.cmpn(w)===-1},f.prototype.lt=function(w){return this.cmp(w)===-1},f.prototype.lten=function(w){return this.cmpn(w)<=0},f.prototype.lte=function(w){return this.cmp(w)<=0},f.prototype.eqn=function(w){return this.cmpn(w)===0},f.prototype.eq=function(w){return this.cmp(w)===0},f.red=function(w){return new T(w)},f.prototype.toRed=function(w){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),w.convertTo(this)._forceRed(w)},f.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(w){return this.red=w,this},f.prototype.forceRed=function(w){return a(!this.red,"Already a number in reduction context"),this._forceRed(w)},f.prototype.redAdd=function(w){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,w)},f.prototype.redIAdd=function(w){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,w)},f.prototype.redSub=function(w){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,w)},f.prototype.redISub=function(w){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,w)},f.prototype.redShl=function(w){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,w)},f.prototype.redMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.mul(this,w)},f.prototype.redIMul=function(w){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.imul(this,w)},f.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(w){return a(this.red&&!w.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,w)};var Q={k256:null,p224:null,p192:null,p25519:null};function V(w,b){this.name=w,this.p=new f(b,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}V.prototype._tmp=function(){var w=new f(null);return w.words=new Array(Math.ceil(this.n/13)),w},V.prototype.ireduce=function(w){var b=w,A;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),A=b.bitLength();while(A>this.n);var P=A0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},V.prototype.split=function(w,b){w.iushrn(this.n,0,b)},V.prototype.imulK=function(w){return w.imul(this.k)};function X(){V.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}r(X,V),X.prototype.split=function(w,b){for(var A=4194303,P=Math.min(w.length,9),L=0;L>>22,E=g}E>>>=22,w.words[L-10]=E,E===0&&w.length>10?w.length-=10:w.length-=9},X.prototype.imulK=function(w){w.words[w.length]=0,w.words[w.length+1]=0,w.length+=2;for(var b=0,A=0;A>>=26,w.words[A]=L,b=P}return b!==0&&(w.words[w.length++]=b),w},f._prime=function(w){if(Q[w])return Q[w];var b;if(w==="k256")b=new X;else if(w==="p224")b=new K;else if(w==="p192")b=new G;else if(w==="p25519")b=new R;else throw new Error("Unknown prime "+w);return Q[w]=b,b};function T(w){if(typeof w=="string"){var b=f._prime(w);this.m=b.p,this.prime=b}else a(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}T.prototype._verify1=function(w){a(w.negative===0,"red works only with positives"),a(w.red,"red works only with red numbers")},T.prototype._verify2=function(w,b){a((w.negative|b.negative)===0,"red works only with positives"),a(w.red&&w.red===b.red,"red works only with red numbers")},T.prototype.imod=function(w){return this.prime?this.prime.ireduce(w)._forceRed(this):(d(w,w.umod(this.m)._forceRed(this)),w)},T.prototype.neg=function(w){return w.isZero()?w.clone():this.m.sub(w)._forceRed(this)},T.prototype.add=function(w,b){this._verify2(w,b);var A=w.add(b);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},T.prototype.iadd=function(w,b){this._verify2(w,b);var A=w.iadd(b);return A.cmp(this.m)>=0&&A.isub(this.m),A},T.prototype.sub=function(w,b){this._verify2(w,b);var A=w.sub(b);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},T.prototype.isub=function(w,b){this._verify2(w,b);var A=w.isub(b);return A.cmpn(0)<0&&A.iadd(this.m),A},T.prototype.shl=function(w,b){return this._verify1(w),this.imod(w.ushln(b))},T.prototype.imul=function(w,b){return this._verify2(w,b),this.imod(w.imul(b))},T.prototype.mul=function(w,b){return this._verify2(w,b),this.imod(w.mul(b))},T.prototype.isqr=function(w){return this.imul(w,w.clone())},T.prototype.sqr=function(w){return this.mul(w,w)},T.prototype.sqrt=function(w){if(w.isZero())return w.clone();var b=this.m.andln(3);if(a(b%2===1),b===3){var A=this.m.add(new f(1)).iushrn(2);return this.pow(w,A)}for(var P=this.m.subn(1),L=0;!P.isZero()&&P.andln(1)===0;)L++,P.iushrn(1);a(!P.isZero());var E=new f(1).toRed(this),g=E.redNeg(),B=this.m.subn(1).iushrn(1),M=this.m.bitLength();for(M=new f(2*M*M).toRed(this);this.pow(M,B).cmp(g)!==0;)M.redIAdd(g);for(var S=this.pow(M,P),q=this.pow(w,P.addn(1).iushrn(1)),ee=this.pow(w,P),U=L;ee.cmp(E)!==0;){for(var J=ee,Z=0;J.cmp(E)!==0;Z++)J=J.redSqr();a(Z=0;L--){for(var S=b.words[L],q=M-1;q>=0;q--){var ee=S>>q&1;if(E!==P[0]&&(E=this.sqr(E)),ee===0&&g===0){B=0;continue}g<<=1,g|=ee,B++,!(B!==A&&(L!==0||q!==0))&&(E=this.mul(E,P[g]),B=0,g=0)}M=26}return E},T.prototype.convertTo=function(w){var b=w.umod(this.m);return b===w?b.clone():b},T.prototype.convertFrom=function(w){var b=w.clone();return b.red=null,b},f.mont=function(w){return new N(w)};function N(w){T.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new f(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}r(N,T),N.prototype.convertTo=function(w){return this.imod(w.ushln(this.shift))},N.prototype.convertFrom=function(w){var b=this.imod(w.mul(this.rinv));return b.red=null,b},N.prototype.imul=function(w,b){if(w.isZero()||b.isZero())return w.words[0]=0,w.length=1,w;var A=w.imul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.mul=function(w,b){if(w.isZero()||b.isZero())return new f(0)._forceRed(this);var A=w.mul(b),P=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=A.isub(P).iushrn(this.shift),E=L;return L.cmp(this.m)>=0?E=L.isub(this.m):L.cmpn(0)<0&&(E=L.iadd(this.m)),E._forceRed(this)},N.prototype.invm=function(w){var b=this.imod(w._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(t,Tc0)})(Ac0);fn=Ac0.exports,Ic0="bignumber/5.7.0",DQ=fn.BN,bh=new gf(Ic0),hue={},W10=9007199254740991;q10=!1,go=class t{constructor(e,n){e!==hue&&bh.throwError("cannot call constructor directly; use BigNumber.from",gf.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=n,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return a6(na(this).fromTwos(e))}toTwos(e){return a6(na(this).toTwos(e))}abs(){return this._hex[0]==="-"?t.from(this._hex.substring(1)):this}add(e){return a6(na(this).add(na(e)))}sub(e){return a6(na(this).sub(na(e)))}div(e){return t.from(e).isZero()&&u5("division-by-zero","div"),a6(na(this).div(na(e)))}mul(e){return a6(na(this).mul(na(e)))}mod(e){let n=na(e);return n.isNeg()&&u5("division-by-zero","mod"),a6(na(this).umod(n))}pow(e){let n=na(e);return n.isNeg()&&u5("negative-power","pow"),a6(na(this).pow(n))}and(e){let n=na(e);return(this.isNegative()||n.isNeg())&&u5("unbound-bitwise-result","and"),a6(na(this).and(n))}or(e){let n=na(e);return(this.isNegative()||n.isNeg())&&u5("unbound-bitwise-result","or"),a6(na(this).or(n))}xor(e){let n=na(e);return(this.isNegative()||n.isNeg())&&u5("unbound-bitwise-result","xor"),a6(na(this).xor(n))}mask(e){return(this.isNegative()||e<0)&&u5("negative-width","mask"),a6(na(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&u5("negative-width","shl"),a6(na(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&u5("negative-width","shr"),a6(na(this).shrn(e))}eq(e){return na(this).eq(na(e))}lt(e){return na(this).lt(na(e))}lte(e){return na(this).lte(na(e))}gt(e){return na(this).gt(na(e))}gte(e){return na(this).gte(na(e))}isNegative(){return this._hex[0]==="-"}isZero(){return na(this).isZero()}toNumber(){try{return na(this).toNumber()}catch{u5("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return bh.throwError("this platform does not support BigInt",gf.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?q10||(q10=!0,bh.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?bh.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",gf.errors.UNEXPECTED_ARGUMENT,{}):bh.throwError("BigNumber.toString does not accept parameters",gf.errors.UNEXPECTED_ARGUMENT,{})),na(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof t)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new t(hue,xB(e)):e.match(/^-?[0-9]+$/)?new t(hue,xB(new DQ(e))):bh.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&u5("underflow","BigNumber.from",e),(e>=W10||e<=-W10)&&u5("overflow","BigNumber.from",e),t.from(String(e));let n=e;if(typeof n=="bigint")return t.from(n.toString());if(x_(n))return t.from(cc(n));if(n)if(n.toHexString){let a=n.toHexString();if(typeof a=="string")return t.from(a)}else{let a=n._hex;if(a==null&&n.type==="BigNumber"&&(a=n.hex),typeof a=="string"&&(U6(a)||a[0]==="-"&&U6(a.substring(1))))return t.from(a)}return bh.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};dc=new gf(Ic0),vB={},Cc0=go.from(0),kc0=go.from(-1);wB="0";for(;wB.length<256;)wB+=wB;TB=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedFormat constructor; use FixedFormat.from",gf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=n,this.width=a,this.decimals=r,this.name=(n?"":"u")+"fixed"+String(a)+"x"+String(r),this._multiplier=zue(r),Object.freeze(this)}static from(e){if(e instanceof t)return e;typeof e=="number"&&(e=`fixed128x${e}`);let n=!0,a=128,r=18;if(typeof e=="string"){if(e!=="fixed")if(e==="ufixed")n=!1;else{let f=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);f||dc.throwArgumentError("invalid fixed format","format",e),n=f[1]!=="u",a=parseInt(f[2]),r=parseInt(f[3])}}else if(e){let f=(i,s,o)=>e[i]==null?o:(typeof e[i]!==s&&dc.throwArgumentError("invalid fixed format ("+i+" not "+s+")","format."+i,e[i]),e[i]);n=f("signed","boolean",n),a=f("width","number",a),r=f("decimals","number",r)}return a%8&&dc.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&dc.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new t(vB,n,a,r)}},PQ=class t{constructor(e,n,a,r){e!==vB&&dc.throwError("cannot use FixedNumber constructor; use FixedNumber.from",gf.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=n,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&dc.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.mul(a).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let n=mh(this._value,this.format.decimals),a=mh(e._value,e.format.decimals);return t.fromValue(n.mul(this.format._multiplier).div(a),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(n=n.subUnsafe(j10.toFormat(n.format))),n}ceiling(){let e=this.toString().split(".");e.length===1&&e.push("0");let n=t.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(n=n.addUnsafe(j10.toFormat(n.format))),n}round(e){e==null&&(e=0);let n=this.toString().split(".");if(n.length===1&&n.push("0"),(e<0||e>80||e%1)&&dc.throwArgumentError("invalid decimal count","decimals",e),n[1].length<=e)return this;let a=t.from("1"+wB.substring(0,e),this.format),r=z1n.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(e){if(e==null)return this._hex;e%8&&dc.throwArgumentError("invalid byte width","width",e);let n=go.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return K2(n,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return t.fromString(this._value,e)}static fromValue(e,n,a){return a==null&&n!=null&&!U1n(n)&&(a=n,n=null),n==null&&(n=0),a==null&&(a="fixed"),t.fromString(mue(e,n),TB.from(a))}static fromString(e,n){n==null&&(n="fixed");let a=TB.from(n),r=mh(e,a.decimals);!a.signed&&r.lt(Cc0)&&Sc0("unsigned value cannot be negative","overflow","value",e);let f=null;a.signed?f=r.toTwos(a.width).toHexString():(f=r.toHexString(),f=K2(f,a.width/8));let i=mue(r,a.decimals);return new t(vB,f,i,a)}static fromBytes(e,n){n==null&&(n="fixed");let a=TB.from(n);if(ii(e).length>a.width/8)throw new Error("overflow");let r=go.from(e);a.signed&&(r=r.fromTwos(a.width));let f=r.toTwos((a.signed?0:1)+a.width).toHexString(),i=mue(r,a.decimals);return new t(vB,f,i,a)}static from(e,n){if(typeof e=="string")return t.fromString(e,n);if(x_(e))return t.fromBytes(e,n);try{return t.fromValue(e,0,n)}catch(a){if(a.code!==gf.errors.INVALID_ARGUMENT)throw a}return dc.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},j10=PQ.from(1),z1n=PQ.from("0.5"),W1n="strings/5.7.0",Rc0=new gf(W1n);(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})(LQ||(LQ={}));(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(h_||(h_={}));Object.freeze({error:q1n,ignore:Mc0,replace:j1n});G10("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),"ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(t=>parseInt(t,16)),yue("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),yue("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),yue("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",G1n),G10("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");Bc0="hash/5.7.0";AQ=fcn();new Set(FQ(AQ)),new Set(FQ(AQ)),ecn(AQ),rcn(AQ),new gf(Bc0);icn=new Uint8Array(32);icn.fill(0);scn=`Ethereum Signed Message: -`;ocn="rlp/5.7.0";new gf(ocn);ccn="address/5.7.0",gB=new gf(ccn);dcn=9007199254740991;Wue={};for(let t=0;t<10;t++)Wue[String(t)]=String(t);for(let t=0;t<26;t++)Wue[String.fromCharCode(65+t)]=String(10+t);V10=Math.floor(lcn(dcn));hcn="properties/5.7.0";new gf(hcn);new gf(Bc0);mcn=new Uint8Array(32);mcn.fill(0),go.from(-1);bcn=go.from(0),ycn=go.from(1);go.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),K2(ycn.toHexString(),32),K2(bcn.toHexString(),32);z2={},aa={},CB=Fc0;Fc0.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};kue={exports:{}};typeof Object.create=="function"?kue.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:kue.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};gcn=CB,vcn=kue.exports;aa.inherits=vcn;aa.toArray=Tcn;aa.toHex=xcn;aa.htonl=Nc0;aa.toHex32=Ecn;aa.zero2=Oc0;aa.zero8=Uc0;aa.join32=_cn;aa.split32=Acn;aa.rotr32=Icn;aa.rotl32=Ccn;aa.sum32=kcn;aa.sum32_3=Scn;aa.sum32_4=Rcn;aa.sum32_5=Mcn;aa.sum64=Bcn;aa.sum64_hi=Dcn;aa.sum64_lo=Pcn;aa.sum64_4_hi=Lcn;aa.sum64_4_lo=Fcn;aa.sum64_5_hi=Ncn;aa.sum64_5_lo=Ocn;aa.rotr64_hi=Ucn;aa.rotr64_lo=Hcn;aa.shr64_hi=zcn;aa.shr64_lo=Wcn;E_={},Y10=aa,qcn=CB;E_.BlockHash=IQ,IQ.prototype.update=function(t,e){if(t=Y10.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){t=this.pending;var n=t.length%this._delta8;this.pending=t.slice(t.length-n,t.length),this.pending.length===0&&(this.pending=null),t=Y10.join32(t,0,t.length-n,this.endian);for(var a=0;a>>24&255,a[r++]=t>>>16&255,a[r++]=t>>>8&255,a[r++]=t&255}else for(a[r++]=t&255,a[r++]=t>>>8&255,a[r++]=t>>>16&255,a[r++]=t>>>24&255,a[r++]=0,a[r++]=0,a[r++]=0,a[r++]=0,f=8;fthis.blockSize&&(t=new this.Hash().update(t).digest()),W6n(t.length<=this.blockSize);for(var e=t.length;e>8,h=d&255;l?o.push(l,h):o.push(h)}return o}n.toArray=a;function r(i){return i.length===1?"0"+i:i}n.zero2=r;function f(i){for(var s="",o=0;o(h>>1)-1?k=(h>>1)-O:k=O,y.isubn(k)):k=0,l[v]=k,y.iushrn(1)}return l}n.getNAF=a;function r(o,c){var d=[[],[]];o=o.clone(),c=c.clone();for(var l=0,h=0,y;o.cmpn(-l)>0||c.cmpn(-h)>0;){var v=o.andln(3)+l&3,k=c.andln(3)+h&3;v===3&&(v=-1),k===3&&(k=-1);var O;v&1?(y=o.andln(7)+l&7,(y===3||y===5)&&k===2?O=-v:O=v):O=0,d[0].push(O);var F;k&1?(y=c.andln(7)+h&7,(y===3||y===5)&&v===2?F=-k:F=k):F=0,d[1].push(F),2*l===O+1&&(l=1-l),2*h===F+1&&(h=1-h),o.iushrn(1),c.iushrn(1)}return d}n.getJSF=r;function f(o,c,d){var l="_"+c;o.prototype[c]=function(){return this[l]!==void 0?this[l]:this[l]=d.call(this)}}n.cachedProperty=f;function i(o){return typeof o=="string"?n.toArray(o,"hex"):o}n.parseBytes=i;function s(o){return new fn(o,"hex","le")}n.intFromLE=s}),kQ=H6.getNAF,G6n=H6.getJSF,NQ=H6.assert;Z9=Ub;Ub.prototype.point=function(){throw new Error("Not implemented")},Ub.prototype.validate=function(){throw new Error("Not implemented")},Ub.prototype._fixedNafMul=function(t,e){NQ(t.precomputed);var n=t._getDoubles(),a=kQ(e,1,this._bitLength),r=(1<=i;o--)s=(s<<1)+a[o];f.push(s)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),l=r;l>0;l--){for(i=0;i=0;s--){for(var o=0;s>=0&&f[s]===0;s--)o++;if(s>=0&&o++,i=i.dblp(o),s<0)break;var c=f[s];NQ(c!==0),t.type==="affine"?c>0?i=i.mixedAdd(r[c-1>>1]):i=i.mixedAdd(r[-c-1>>1].neg()):c>0?i=i.add(r[c-1>>1]):i=i.add(r[-c-1>>1].neg())}return t.type==="affine"?i.toP():i},Ub.prototype._wnafMulAdd=function(t,e,n,a,r){var f=this._wnafT1,i=this._wnafT2,s=this._wnafT3,o=0,c,d,l;for(c=0;c=1;c-=2){var y=c-1,v=c;if(f[y]!==1||f[v]!==1){s[y]=kQ(n[y],f[y],this._bitLength),s[v]=kQ(n[v],f[v],this._bitLength),o=Math.max(s[y].length,o),o=Math.max(s[v].length,o);continue}var k=[e[y],null,null,e[v]];e[y].y.cmp(e[v].y)===0?(k[1]=e[y].add(e[v]),k[2]=e[y].toJ().mixedAdd(e[v].neg())):e[y].y.cmp(e[v].y.redNeg())===0?(k[1]=e[y].toJ().mixedAdd(e[v]),k[2]=e[y].add(e[v].neg())):(k[1]=e[y].toJ().mixedAdd(e[v]),k[2]=e[y].toJ().mixedAdd(e[v].neg()));var O=[-3,-1,-5,-7,0,7,5,1,3],F=G6n(n[y],n[v]);for(o=Math.max(F[0].length,o),s[y]=new Array(o),s[v]=new Array(o),d=0;d=0;c--){for(var V=0;c>=0;){var X=!0;for(d=0;d=0&&V++,j=j.dblp(V),c<0)break;for(d=0;d0?l=i[d][K-1>>1]:K<0&&(l=i[d][-K-1>>1].neg()),l.type==="affine"?j=j.mixedAdd(l):j=j.add(l))}}for(c=0;c=Math.ceil((t.bitLength()+1)/e.step):!1},p5.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],a=this,r=0;r=0&&(h=o,y=c),d.negative&&(d=d.neg(),l=l.neg()),h.negative&&(h=h.neg(),y=y.neg()),[{a:d,b:l},{a:h,b:y}]},m5.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],a=e[1],r=a.b.mul(t).divRound(this.n),f=n.b.neg().mul(t).divRound(this.n),i=r.mul(n.a),s=f.mul(a.a),o=r.mul(n.b),c=f.mul(a.b),d=t.sub(i).sub(s),l=o.add(c).neg();return{k1:d,k2:l}},m5.prototype.pointFromX=function(t,e){t=new fn(t,16),t.red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),a=n.redSqrt();if(a.redSqr().redSub(n).cmp(this.zero)!==0)throw new Error("invalid point");var r=a.fromRed().isOdd();return(e&&!r||!e&&r)&&(a=a.redNeg()),this.point(t,a)},m5.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,a=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(a).redIAdd(this.b);return n.redSqr().redISub(r).cmpn(0)===0},m5.prototype._endoWnafMulAdd=function(t,e,n){for(var a=this._endoWnafT1,r=this._endoWnafT2,f=0;f":""},Us.prototype.isInfinity=function(){return this.inf},Us.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var e=this.y.redSub(t.y);e.cmpn(0)!==0&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),a=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,a)},Us.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),a=t.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(a),f=r.redSqr().redISub(this.x.redAdd(this.x)),i=r.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,i)},Us.prototype.getX=function(){return this.x.fromRed()},Us.prototype.getY=function(){return this.y.fromRed()},Us.prototype.mul=function(t){return t=new fn(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Us.prototype.mulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r):this.curve._wnafMulAdd(1,a,r,2)},Us.prototype.jmulAdd=function(t,e,n){var a=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(a,r,!0):this.curve._wnafMulAdd(1,a,r,2,!0)},Us.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)},Us.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,a=function(r){return r.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(a)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(a)}}}return e},Us.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};jue(bo,Z9.BasePoint),m5.prototype.jpoint=function(t,e,n){return new bo(this,t,e,n)},bo.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),a=this.y.redMul(e).redMul(t);return this.curve.point(n,a)},bo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},bo.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),a=this.x.redMul(e),r=t.x.redMul(n),f=this.y.redMul(e.redMul(t.z)),i=t.y.redMul(n.redMul(this.z)),s=a.redSub(r),o=f.redSub(i);if(s.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),d=c.redMul(s),l=a.redMul(c),h=o.redSqr().redIAdd(d).redISub(l).redISub(l),y=o.redMul(l.redISub(h)).redISub(f.redMul(d)),v=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,y,v)},bo.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,a=t.x.redMul(e),r=this.y,f=t.y.redMul(e).redMul(this.z),i=n.redSub(a),s=r.redSub(f);if(i.cmpn(0)===0)return s.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var o=i.redSqr(),c=o.redMul(i),d=n.redMul(o),l=s.redSqr().redIAdd(c).redISub(d).redISub(d),h=s.redMul(d.redISub(l)).redISub(r.redMul(c)),y=this.z.redMul(i);return this.curve.jpoint(l,h,y)},bo.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(r),this.x.cmp(n)===0)return!0}},bo.prototype.inspect=function(){return this.isInfinity()?"":""},bo.prototype.isInfinity=function(){return this.z.cmpn(0)===0};MQ=A_(function(t,e){var n=e;n.base=Z9,n.short=Q6n,n.mont=null,n.edwards=null}),BQ=A_(function(t,e){var n=e,a=H6.assert;function r(s){s.type==="short"?this.curve=new MQ.short(s):s.type==="edwards"?this.curve=new MQ.edwards(s):this.curve=new MQ.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}n.PresetCurve=r;function f(s,o){Object.defineProperty(n,s,{configurable:!0,enumerable:!0,get:function(){var c=new r(o);return Object.defineProperty(n,s,{configurable:!0,enumerable:!0,value:c}),c}})}f("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:z2.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:z2.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:z2.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:z2.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),f("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:z2.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z2.sha256,gRed:!1,g:["9"]}),f("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:z2.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var i;try{i=null.crash()}catch{i=void 0}f("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:z2.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})});Z10=Hb;Hb.prototype._init=function(t,e,n){var a=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},Hb.prototype.generate=function(t,e,n,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof e!="string"&&(a=n,n=e,e=null),n&&(n=Ql.toArray(n,a||"hex"),this._update(n));for(var r=[];r.length"};V6n=H6.assert;SQ=zQ;zQ.prototype._importDER=function(t,e){t=H6.toArray(t,e);var n=new Y6n;if(t[n.place++]!==48)return!1;var a=Eue(t,n);if(a===!1||a+n.place!==t.length||t[n.place++]!==2)return!1;var r=Eue(t,n);if(r===!1)return!1;var f=t.slice(n.place,r+n.place);if(n.place+=r,t[n.place++]!==2)return!1;var i=Eue(t,n);if(i===!1||t.length!==i+n.place)return!1;var s=t.slice(n.place,i+n.place);if(f[0]===0)if(f[1]&128)f=f.slice(1);else return!1;if(s[0]===0)if(s[1]&128)s=s.slice(1);else return!1;return this.r=new fn(f),this.s=new fn(s),this.recoveryParam=null,!0};zQ.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(e[0]&128&&(e=[0].concat(e)),n[0]&128&&(n=[0].concat(n)),e=ec0(e),n=ec0(n);!n[0]&&!(n[1]&128);)n=n.slice(1);var a=[2];_ue(a,e.length),a=a.concat(e),a.push(2),_ue(a,n.length);var r=a.concat(n),f=[48];return _ue(f,r.length),f=f.concat(r),H6.encode(f,t)};$6n=function(){throw new Error("unsupported")},t60=H6.assert;J6n=h5;h5.prototype.keyPair=function(t){return new xue(this,t)},h5.prototype.keyFromPrivate=function(t,e){return xue.fromPrivate(this,t,e)},h5.prototype.keyFromPublic=function(t,e){return xue.fromPublic(this,t,e)},h5.prototype.genKeyPair=function(t){t||(t={});for(var e=new Z10({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||$6n(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new fn(2));;){var r=new fn(e.generate(n));if(!(r.cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)}},h5.prototype._truncateToN=function(t,e){var n=t.byteLength()*8-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h5.prototype.sign=function(t,e,n,a){typeof n=="object"&&(a=n,n=null),a||(a={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new fn(t,16));for(var r=this.n.byteLength(),f=e.getPrivate().toArray("be",r),i=t.toArray("be",r),s=new Z10({hash:this.hash,entropy:f,nonce:i,pers:a.pers,persEnc:a.persEnc||"utf8"}),o=this.n.sub(new fn(1)),c=0;;c++){var d=a.k?a.k(c):new fn(s.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(o)>=0)){var l=this.g.mul(d);if(!l.isInfinity()){var h=l.getX(),y=h.umod(this.n);if(y.cmpn(0)!==0){var v=d.invm(this.n).mul(y.mul(e.getPrivate()).iadd(t));if(v=v.umod(this.n),v.cmpn(0)!==0){var k=(l.getY().isOdd()?1:0)|(h.cmp(y)!==0?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),k^=1),new SQ({r:y,s:v,recoveryParam:k})}}}}}},h5.prototype.verify=function(t,e,n,a){t=this._truncateToN(new fn(t,16)),n=this.keyFromPublic(n,a),e=new SQ(e,"hex");var r=e.r,f=e.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0||f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;var i=f.invm(this.n),s=i.mul(t).umod(this.n),o=i.mul(r).umod(this.n),c;return this.curve._maxwellTrick?(c=this.g.jmulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.eqXToP(r)):(c=this.g.mulAdd(s,n.getPublic(),o),c.isInfinity()?!1:c.getX().umod(this.n).cmp(r)===0)},h5.prototype.recoverPubKey=function(t,e,n,a){t60((3&n)===n,"The recovery param is more than two bits"),e=new SQ(e,a);var r=this.n,f=new fn(t),i=e.r,s=e.s,o=n&1,c=n>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?i=this.curve.pointFromX(i.add(this.curve.n),o):i=this.curve.pointFromX(i,o);var d=e.r.invm(r),l=r.sub(f).mul(d).umod(r),h=s.mul(d).umod(r);return this.g.mulAdd(l,i,h)},h5.prototype.getKeyRecoveryParam=function(t,e,n,a){if(e=new SQ(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var f;try{f=this.recoverPubKey(t,e,r)}catch{continue}if(f.eq(n))return r}throw new Error("Unable to find valid recovery factor")};X6n=A_(function(t,e){var n=e;n.version="6.5.4",n.utils=H6,n.rand=function(){throw new Error("unsupported")},n.curve=MQ,n.curves=BQ,n.ec=J6n,n.eddsa=null}),Z6n=X6n.ec,edn="signing-key/5.7.0",Mue=new gf(edn),Aue=null;Bue=class{constructor(e){mB(this,"curve","secp256k1"),mB(this,"privateKey",cc(e)),L1n(this.privateKey)!==32&&Mue.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let n=G2().keyFromPrivate(ii(this.privateKey));mB(this,"publicKey","0x"+n.getPublic(!1,"hex")),mB(this,"compressedPublicKey","0x"+n.getPublic(!0,"hex")),mB(this,"_isSigningKey",!0)}_addPoint(e){let n=G2().keyFromPublic(ii(this.publicKey)),a=G2().keyFromPublic(ii(e));return"0x"+n.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=ii(e);a.length!==32&&Mue.throwArgumentError("bad digest length","digest",e);let r=n.sign(a,{canonical:!0});return _c0({recoveryParam:r.recoveryParam,r:K2("0x"+r.r.toString(16),32),s:K2("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let n=G2().keyFromPrivate(ii(this.privateKey)),a=G2().keyFromPublic(ii(n60(e)));return K2("0x"+n.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};ndn="transactions/5.7.0";new gf(ndn);(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(tc0||(tc0={}));fdn="https://rpc.walletconnect.com/v1";ddn=Object.defineProperty,ldn=Object.defineProperties,udn=Object.getOwnPropertyDescriptors,nc0=Object.getOwnPropertySymbols,pdn=Object.prototype.hasOwnProperty,hdn=Object.prototype.propertyIsEnumerable,ac0=(t,e,n)=>e in t?ddn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mdn=(t,e)=>{for(var n in e||(e={}))pdn.call(e,n)&&ac0(t,n,e[n]);if(nc0)for(var n of nc0(e))hdn.call(e,n)&&ac0(t,n,e[n]);return t},bdn=(t,e)=>ldn(t,udn(e)),ydn="did:pkh:",Gue=t=>t?.split(":"),a60=t=>{let e=t&&Gue(t);if(e)return t.includes(ydn)?e[3]:e[1]},Kue=t=>{let e=t&&Gue(t);if(e)return e[2]+":"+e[3]},kB=t=>{let e=t&&Gue(t);if(e)return e.pop()};Vue=(t,e)=>{let n=`${t.domain} wants you to sign in with your Ethereum account:`,a=kB(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let r=t.statement||void 0,f=`URI: ${t.aud||t.uri}`,i=`Version: ${t.version}`,s=`Chain ID: ${a60(e)}`,o=`Nonce: ${t.nonce}`,c=`Issued At: ${t.iat}`,d=t.resources?`Resources:${t.resources.map(h=>` -- ${h}`).join("")}`:void 0,l=SB(t.resources);if(l){let h=EB(l);r=_dn(r,h)}return[n,a,"",r,"",f,i,s,o,c,d].filter(h=>h!=null).join(` -`)};s60="base10",y1="base16",Due="base64pad",Jue="utf8",o60=0,X2=1,Adn=0,rc0=1,Pue=12,Xue=32;kdn="irn";Sdn=Object.defineProperty,Rdn=Object.defineProperties,Mdn=Object.getOwnPropertyDescriptors,fc0=Object.getOwnPropertySymbols,Bdn=Object.prototype.hasOwnProperty,Ddn=Object.prototype.propertyIsEnumerable,ic0=(t,e,n)=>e in t?Sdn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,sc0=(t,e)=>{for(var n in e||(e={}))Bdn.call(e,n)&&ic0(t,n,e[n]);if(fc0)for(var n of fc0(e))Ddn.call(e,n)&&ic0(t,n,e[n]);return t},Pdn=(t,e)=>Rdn(t,Mdn(e));Wdn={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},qdn={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};Iue={},zb=class{static get(e){return Iue[e]}static set(e,n){Iue[e]=n}static delete(e){delete Iue[e]}}});var B60=D(KQ=>{"use strict";u();p();Object.defineProperty(KQ,"__esModule",{value:!0});KQ.IHeartBeat=void 0;var a5n=(iie(),vn(qFe)),o2e=class extends a5n.IEvents{constructor(e){super()}};KQ.IHeartBeat=o2e});var d2e=D(c2e=>{"use strict";u();p();Object.defineProperty(c2e,"__esModule",{value:!0});var r5n=(Xu(),vn(Ju));r5n.__exportStar(B60(),c2e)});var D60=D(R_=>{"use strict";u();p();Object.defineProperty(R_,"__esModule",{value:!0});R_.HEARTBEAT_EVENTS=R_.HEARTBEAT_INTERVAL=void 0;var f5n=R7();R_.HEARTBEAT_INTERVAL=f5n.FIVE_SECONDS;R_.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var u2e=D(l2e=>{"use strict";u();p();Object.defineProperty(l2e,"__esModule",{value:!0});var i5n=(Xu(),vn(Ju));i5n.__exportStar(D60(),l2e)});var P60=D(QQ=>{"use strict";u();p();Object.defineProperty(QQ,"__esModule",{value:!0});QQ.HeartBeat=void 0;var p2e=(Xu(),vn(Ju)),s5n=Or(),o5n=R7(),c5n=d2e(),h2e=u2e(),m2e=class t extends c5n.IHeartBeat{constructor(e){super(e),this.events=new s5n.EventEmitter,this.interval=h2e.HEARTBEAT_INTERVAL,this.interval=e?.interval||h2e.HEARTBEAT_INTERVAL}static init(e){return p2e.__awaiter(this,void 0,void 0,function*(){let n=new t(e);return yield n.init(),n})}init(){return p2e.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}initialize(){return p2e.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),o5n.toMiliseconds(this.interval))})}pulse(){this.events.emit(h2e.HEARTBEAT_EVENTS.pulse)}};QQ.HeartBeat=m2e});var L60=D(DB=>{"use strict";u();p();Object.defineProperty(DB,"__esModule",{value:!0});var b2e=(Xu(),vn(Ju));b2e.__exportStar(P60(),DB);b2e.__exportStar(d2e(),DB);b2e.__exportStar(u2e(),DB)});var F60,VQ,YQ,$Q,JQ,XQ,ZQ,eV,tV,nV,aV,rV,fV,y2e=oe(()=>{u();p();iie();F60=Ee(Or()),VQ=class extends Zu{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},YQ=class extends Zu{constructor(e,n){super(),this.core=e,this.logger=n,this.records=new Map}},$Q=class{constructor(e,n){this.logger=e,this.core=n}},JQ=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},XQ=class extends Zu{constructor(e){super()}},ZQ=class{constructor(e,n,a,r){this.core=e,this.logger=n,this.name=a}},eV=class extends Zu{constructor(e,n){super(),this.relayer=e,this.logger=n}},tV=class extends Zu{constructor(e,n){super(),this.core=e,this.logger=n}},nV=class{constructor(e,n){this.projectId=e,this.logger=n}},aV=class{constructor(e,n){this.projectId=e,this.logger=n}},rV=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},fV=class{constructor(e){this.client=e}}});var N60,W6,g2e=oe(()=>{u();p();N60=Ee(Or());Em();W6=class extends jS{constructor(e){super(e),this.events=new N60.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(f2(e.method,e.params||[],e.id||wl().toString()),n)}async requestStrict(e,n){return new Promise(async(a,r)=>{if(!this.connection.connected)try{await this.open()}catch(f){r(f)}this.events.on(`${e.id}`,f=>{n1(f)?r(f.error):a(f.result)});try{await this.connection.send(e,n)}catch(f){r(f)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),xm(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}});var v2e=oe(()=>{u();p();g2e();g2e()});function d5n(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),a=0;a>>0,j=new Uint8Array(W);F!==z;){for(var Q=v[F],V=0,X=W-1;(Q!==0||V>>0,j[X]=Q%s>>>0,Q=Q/s>>>0;if(Q!==0)throw new Error("Non-zero carry");O=V,F++}for(var K=W-O;K!==W&&j[K]===0;)K++;for(var G=o.repeat(k);K>>0,W=new Uint8Array(z);v[k];){var j=n[v.charCodeAt(k)];if(j===255)return;for(var Q=0,V=z-1;(j!==0||Q>>0,W[V]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");F=Q,k++}if(v[k]!==" "){for(var X=z-F;X!==z&&W[X]===0;)X++;for(var K=new Uint8Array(O+(z-X)),G=O;X!==z;)K[G++]=W[X++];return K}}}function y(v){var k=h(v);if(k)return k;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:h,decode:y}}function J5n(t){return t.reduce((e,n)=>(e+=Y5n[n],e),"")}function X5n(t){let e=[];for(let n of t){let a=$5n[n.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(a)}return new Uint8Array(e)}function sd0(t,e,n){e=e||[],n=n||0;for(var a=n;t>=rln;)e[n++]=t&255|O60,t/=128;for(;t&aln;)e[n++]=t&255|O60,t>>>=7;return e[n]=t|0,sd0.bytes=n-a+1,e}function C2e(t,a){var n=0,a=a||0,r=0,f=a,i,s=t.length;do{if(f>=s)throw C2e.bytes=0,new RangeError("Could not decode varint");i=t[f++],n+=r<28?(i&U60)<=iln);return C2e.bytes=f-a,n}function pd0(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function Aln(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?pd0(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function hd0(t,e,n,a){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:a}}}function Cln(t,e="utf8"){let n=Iln[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?pd0(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var xh,ag,Xt,nd0,ad0,l5n,u5n,rd0,p5n,h5n,E2e,_2e,A2e,fd0,I2e,iV,FB,m5n,b5n,vo,y5n,g5n,v5n,w5n,T5n,x5n,E5n,_5n,A5n,I5n,C5n,k5n,S5n,R5n,M5n,B5n,D5n,P5n,L5n,F5n,N5n,O5n,U5n,H5n,z5n,W5n,q5n,j5n,G5n,K5n,Q5n,V5n,id0,Y5n,$5n,Z5n,eln,tln,O60,nln,aln,rln,fln,iln,U60,sln,oln,cln,dln,lln,uln,pln,hln,mln,bln,yln,od0,H60,z60,k2e,S2e,cd0,R2e,dd0,gln,vln,wln,ld0,Tln,ud0,xln,Eln,_ln,W60,q60,w2e,Iln,md0,kln,G2e,jb,Sln,Rln,Mln,j60,Bln,Dln,Pln,Lln,Fln,Nln,Oln,K2e,Uln,bd0,G60,Hln,i6,zln,b5,Wln,qln,jln,Gln,Kln,Z2,Qln,Vln,Yln,$ln,Jln,PB,tg,Vl,Xln,Zln,eun,q6,tun,T2e,ng,M2e,nun,aun,run,B2e,D2e,P2e,L2e,F2e,fun,iun,sun,K60,oun,cun,Q60,LB,x2e,N2e,dun,V60,lun,uun,Y60,pun,O2e,hun,$60,mun,bun,J60,X60,ep,U2e,H2e,z2e,W2e,q2e,yun,Z60,gun,vun,ed0,td0,j2e,yd0,gd0=oe(()=>{u();p();xh=Ee(Or());SFe();ag=Ee(L60());Cz();y2e();S7();xOe();BB();lue();Xt=Ee(R7());v2e();Em();qUe();nd0=Ee(_He()),ad0=Ee(CHe());l5n=d5n,u5n=l5n,rd0=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},p5n=t=>new TextEncoder().encode(t),h5n=t=>new TextDecoder().decode(t),E2e=class{constructor(e,n,a){this.name=e,this.prefix=n,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},_2e=class{constructor(e,n,a){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return fd0(this,e)}},A2e=class{constructor(e){this.decoders=e}or(e){return fd0(this,e)}decode(e){let n=e[0],a=this.decoders[n];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},fd0=(t,e)=>new A2e({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}}),I2e=class{constructor(e,n,a,r){this.name=e,this.prefix=n,this.baseEncode=a,this.baseDecode=r,this.encoder=new E2e(e,n,a),this.decoder=new _2e(e,n,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},iV=({name:t,prefix:e,encode:n,decode:a})=>new I2e(t,e,n,a),FB=({prefix:t,name:e,alphabet:n})=>{let{encode:a,decode:r}=u5n(n,e);return iV({prefix:t,name:e,encode:a,decode:f=>rd0(r(f))})},m5n=(t,e,n,a)=>{let r={};for(let d=0;d=8&&(s-=8,i[c++]=255&o>>s)}if(s>=n||255&o<<8-s)throw new SyntaxError("Unexpected end of data");return i},b5n=(t,e,n)=>{let a=e[e.length-1]==="=",r=(1<n;)i-=n,f+=e[r&s>>i];if(i&&(f+=e[r&s<iV({prefix:e,name:t,encode(r){return b5n(r,a,n)},decode(r){return m5n(r,a,n,t)}}),y5n=iV({prefix:"\0",name:"identity",encode:t=>h5n(t),decode:t=>p5n(t)}),g5n=Object.freeze({__proto__:null,identity:y5n}),v5n=vo({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),w5n=Object.freeze({__proto__:null,base2:v5n}),T5n=vo({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),x5n=Object.freeze({__proto__:null,base8:T5n}),E5n=FB({prefix:"9",name:"base10",alphabet:"0123456789"}),_5n=Object.freeze({__proto__:null,base10:E5n}),A5n=vo({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),I5n=vo({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),C5n=Object.freeze({__proto__:null,base16:A5n,base16upper:I5n}),k5n=vo({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),S5n=vo({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),R5n=vo({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),M5n=vo({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),B5n=vo({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),D5n=vo({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),P5n=vo({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),L5n=vo({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),F5n=vo({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),N5n=Object.freeze({__proto__:null,base32:k5n,base32upper:S5n,base32pad:R5n,base32padupper:M5n,base32hex:B5n,base32hexupper:D5n,base32hexpad:P5n,base32hexpadupper:L5n,base32z:F5n}),O5n=FB({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),U5n=FB({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),H5n=Object.freeze({__proto__:null,base36:O5n,base36upper:U5n}),z5n=FB({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),W5n=FB({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),q5n=Object.freeze({__proto__:null,base58btc:z5n,base58flickr:W5n}),j5n=vo({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),G5n=vo({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),K5n=vo({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Q5n=vo({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),V5n=Object.freeze({__proto__:null,base64:j5n,base64pad:G5n,base64url:K5n,base64urlpad:Q5n}),id0=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),Y5n=id0.reduce((t,e,n)=>(t[n]=e,t),[]),$5n=id0.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);Z5n=iV({prefix:"\u{1F680}",name:"base256emoji",encode:J5n,decode:X5n}),eln=Object.freeze({__proto__:null,base256emoji:Z5n}),tln=sd0,O60=128,nln=127,aln=~nln,rln=Math.pow(2,31);fln=C2e,iln=128,U60=127;sln=Math.pow(2,7),oln=Math.pow(2,14),cln=Math.pow(2,21),dln=Math.pow(2,28),lln=Math.pow(2,35),uln=Math.pow(2,42),pln=Math.pow(2,49),hln=Math.pow(2,56),mln=Math.pow(2,63),bln=function(t){return t(od0.encode(t,e,n),e),z60=t=>od0.encodingLength(t),k2e=(t,e)=>{let n=e.byteLength,a=z60(t),r=a+z60(n),f=new Uint8Array(r+n);return H60(t,f,0),H60(n,f,a),f.set(e,r),new S2e(t,n,e,f)},S2e=class{constructor(e,n,a,r){this.code=e,this.size=n,this.digest=a,this.bytes=r}},cd0=({name:t,code:e,encode:n})=>new R2e(t,e,n),R2e=class{constructor(e,n,a){this.name=e,this.code=n,this.encode=a}digest(e){if(e instanceof Uint8Array){let n=this.encode(e);return n instanceof Uint8Array?k2e(this.code,n):n.then(a=>k2e(this.code,a))}else throw Error("Unknown type, must be binary type")}},dd0=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),gln=cd0({name:"sha2-256",code:18,encode:dd0("SHA-256")}),vln=cd0({name:"sha2-512",code:19,encode:dd0("SHA-512")}),wln=Object.freeze({__proto__:null,sha256:gln,sha512:vln}),ld0=0,Tln="identity",ud0=rd0,xln=t=>k2e(ld0,ud0(t)),Eln={code:ld0,name:Tln,encode:ud0,digest:xln},_ln=Object.freeze({__proto__:null,identity:Eln});new TextEncoder,new TextDecoder;W60={...g5n,...w5n,...x5n,..._5n,...C5n,...N5n,...H5n,...q5n,...V5n,...eln};({...wln,..._ln});q60=hd0("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),w2e=hd0("ascii","a",t=>{let e="a";for(let n=0;n{t=t.substring(1);let e=Aln(t.length);for(let n=0;n{if(!this.initialized){let a=await this.getKeyChain();typeof a<"u"&&(this.keychain=a),this.initialized=!0}},this.has=a=>(this.isInitialized(),this.keychain.has(a)),this.set=async(a,r)=>{this.isInitialized(),this.keychain.set(a,r),await this.persist()},this.get=a=>{this.isInitialized();let r=this.keychain.get(a);if(typeof r>"u"){let{message:f}=F0("NO_MATCHING_KEY",`${this.name}: ${a}`);throw new Error(f)}return r},this.del=async a=>{this.isInitialized(),this.keychain.delete(a),await this.persist()},this.core=e,this.logger=Zo(n,this.name)}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Oue(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Uue(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},D2e=class{constructor(e,n,a){this.core=e,this.logger=n,this.name=Mln,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=r=>(this.isInitialized(),this.keychain.has(r)),this.getClientId=async()=>{this.isInitialized();let r=await this.getClientSeed(),f=use(r);return Qz(f.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=c60();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let f=await this.getClientSeed(),i=use(f),s=WQ();return await vOe(s,r,Bln,i)},this.generateSharedKey=(r,f,i)=>{this.isInitialized();let s=this.getPrivateKey(r),o=d60(s,f);return this.setSymKey(o,i)},this.setSymKey=async(r,f)=>{this.isInitialized();let i=f||I_(r);return await this.keychain.set(i,r),i},this.deleteKeyPair=async r=>{this.isInitialized(),await this.keychain.del(r)},this.deleteSymKey=async r=>{this.isInitialized(),await this.keychain.del(r)},this.encode=async(r,f,i)=>{this.isInitialized();let s=Zue(i),o=q1(f);if(e2e(s)){let h=s.senderPublicKey,y=s.receiverPublicKey;r=await this.generateSharedKey(h,y)}let c=this.getSymKey(r),{type:d,senderPublicKey:l}=s;return l60({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,f,i)=>{this.isInitialized();let s=p60(f,i);if(e2e(s)){let o=s.receiverPublicKey,c=s.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=u60({symKey:o,encoded:f});return $u(c)}catch(o){this.logger.error(`Failed to decode message from topic: '${r}', clientId: '${await this.getClientId()}'`),this.logger.error(o)}},this.getPayloadType=r=>{let f=RB(r);return C_(f.type)},this.getPayloadSenderPublicKey=r=>{let f=RB(r);return f.senderPublicKey?Bi(f.senderPublicKey,y1):void 0},this.core=e,this.logger=Zo(n,this.name),this.keychain=a||new B2e(this.core,this.logger)}get context(){return Xo(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(j60)}catch{e=WQ(),await this.keychain.set(j60,e)}return Cln(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},P2e=class extends $Q{constructor(e,n){super(e,n),this.logger=e,this.core=n,this.messages=new Map,this.name=Lln,this.version=Fln,this.initialized=!1,this.storagePrefix=jb,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{let a=await this.getRelayerMessages();typeof a<"u"&&(this.messages=a),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(a){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(a)}finally{this.initialized=!0}}},this.set=async(a,r)=>{this.isInitialized();let f=Th(r),i=this.messages.get(a);return typeof i>"u"&&(i={}),typeof i[f]<"u"||(i[f]=r,this.messages.set(a,i),await this.persist()),f},this.get=a=>{this.isInitialized();let r=this.messages.get(a);return typeof r>"u"&&(r={}),r},this.has=(a,r)=>{this.isInitialized();let f=this.get(a),i=Th(r);return typeof f[i]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Zo(e,this.name),this.core=n}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Oue(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Uue(e):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},L2e=class extends JQ{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.events=new xh.EventEmitter,this.name=Oln,this.queue=new Map,this.publishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.failedPublishTimeout=(0,Xt.toMiliseconds)(Xt.ONE_SECOND),this.needsTransportRestart=!1,this.publish=async(a,r,f)=>{var i;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:a,message:r,opts:f}});let s=f?.ttl||Nln,o=qQ(f),c=f?.prompt||!1,d=f?.tag||0,l=f?.id||wl().toString(),h={topic:a,message:r,opts:{ttl:s,relay:o,prompt:c,tag:d,id:l}},y=`Failed to publish payload, please try again. id:${l} tag:${d}`,v=Date.now(),k,O=1;try{for(;k===void 0;){if(Date.now()-v>this.publishTimeout)throw new Error(y);this.logger.trace({id:l,attempts:O},`publisher.publish - attempt ${O}`),k=await await T_(this.rpcPublish(a,r,s,o,c,d,l).catch(F=>this.logger.warn(F)),this.publishTimeout,y),O++,k||await new Promise(F=>setTimeout(F,this.failedPublishTimeout))}this.relayer.events.emit(i6.publish,h),this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{id:l,topic:a,message:r,opts:f}})}catch(F){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(F),(i=f?.internal)!=null&&i.throwOnFailedPublish)throw F;this.queue.set(l,h)}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.relayer=e,this.logger=Zo(n,this.name),this.registerEventListeners()}get context(){return Xo(this.logger)}rpcPublish(e,n,a,r,f,i,s){var o,c,d,l;let h={method:MB(r.protocol).publish,params:{topic:e,message:n,ttl:a,prompt:f,tag:i},id:s};return yo((o=h.params)==null?void 0:o.prompt)&&((c=h.params)==null||delete c.prompt),yo((d=h.params)==null?void 0:d.tag)&&((l=h.params)==null||delete l.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:h}),this.relayer.request(h)}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async e=>{let{topic:n,message:a,opts:r}=e;await this.publish(n,a,r)})}registerEventListeners(){this.relayer.core.heartbeat.on(ag.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(i6.connection_stalled);return}this.checkQueue()}),this.relayer.on(i6.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},F2e=class{constructor(){this.map=new Map,this.set=(e,n)=>{let a=this.get(e);this.exists(e,n)||this.map.set(e,[...a,n])},this.get=e=>this.map.get(e)||[],this.exists=(e,n)=>this.get(e).includes(n),this.delete=(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;let a=this.get(e);if(!this.exists(e,n))return;let r=a.filter(f=>f!==n);if(!r.length){this.map.delete(e);return}this.map.set(e,r)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}},fun=Object.defineProperty,iun=Object.defineProperties,sun=Object.getOwnPropertyDescriptors,K60=Object.getOwnPropertySymbols,oun=Object.prototype.hasOwnProperty,cun=Object.prototype.propertyIsEnumerable,Q60=(t,e,n)=>e in t?fun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,LB=(t,e)=>{for(var n in e||(e={}))oun.call(e,n)&&Q60(t,n,e[n]);if(K60)for(var n of K60(e))cun.call(e,n)&&Q60(t,n,e[n]);return t},x2e=(t,e)=>iun(t,sun(e)),N2e=class extends eV{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,this.subscriptions=new Map,this.topicMap=new F2e,this.events=new xh.EventEmitter,this.name=Qln,this.version=Vln,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=jb,this.subscribeTimeout=(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}});try{let f=qQ(r),i={topic:a,relay:f};this.pending.set(a,i);let s=await this.rpcSubscribe(a,f);return typeof s=="string"&&(this.onSubscribe(s,i),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}})),s}catch(f){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(f),f}},this.unsubscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),typeof r?.id<"u"?await this.unsubscribeById(a,r.id,r):await this.unsubscribeByTopic(a,r)},this.isSubscribed=async a=>{if(this.topics.includes(a))return!0;let r=`${this.pendingSubscriptionWatchLabel}_${a}`;return await new Promise((f,i)=>{let s=new Xt.Watch;s.start(r);let o=setInterval(()=>{!this.pending.has(a)&&this.topics.includes(a)&&(clearInterval(o),s.stop(r),f(!0)),s.elapsed(r)>=Yln&&(clearInterval(o),s.stop(r),i(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1)},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.start=async()=>{await this.onConnect()},this.stop=async()=>{await this.onDisconnect()},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=e,this.logger=Zo(n,this.name),this.clientId=""}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}hasSubscription(e,n){let a=!1;try{a=this.getSubscription(e).topic===n}catch{}return a}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){let a=this.topicMap.get(e);await Promise.all(a.map(async r=>await this.unsubscribeById(e,r,n)))}async unsubscribeById(e,n,a){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}});try{let r=qQ(a);await this.rpcUnsubscribe(e,n,r);let f=Ia("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,f),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:a}})}catch(r){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(r),r}}async rpcSubscribe(e,n){let a={method:MB(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await T_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?Th(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(i6.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let n=e[0].relay,a={method:MB(n.protocol).batchSubscribe,params:{topics:e.map(r=>r.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await T_(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(i6.connection_stalled)}}rpcUnsubscribe(e,n,a){let r={method:MB(a.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r}),this.relayer.request(r)}onSubscribe(e,n){this.setSubscription(e,x2e(LB({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,LB({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,a){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,a),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,LB({},n)),this.topicMap.set(n.topic,e),this.events.emit(Z2.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});let n=this.subscriptions.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});let a=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(a.topic,e),this.events.emit(Z2.deleted,x2e(LB({},a),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Z2.sync)}async reset(){if(this.cached.length){let e=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let n=0;n"u"||!e.length)return;if(this.subscriptions.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(!e.length)return;let n=await this.rpcBatchSubscribe(e);z6(n)&&this.onBatchSubscribe(n.map((a,r)=>x2e(LB({},e[r]),{id:a})))}async onConnect(){await this.restart(),this.onEnable()}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||!this.relayer.connected)return;let e=[];this.pending.forEach(n=>{e.push(n)}),await this.batchSubscribe(e)}registerEventListeners(){this.relayer.core.heartbeat.on(ag.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(Z2.created,async e=>{let n=Z2.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()}),this.events.on(Z2.deleted,async e=>{let n=Z2.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),await this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(){this.restartInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.restartInProgress||(clearInterval(n),e())},this.pollingInterval)})}},dun=Object.defineProperty,V60=Object.getOwnPropertySymbols,lun=Object.prototype.hasOwnProperty,uun=Object.prototype.propertyIsEnumerable,Y60=(t,e,n)=>e in t?dun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pun=(t,e)=>{for(var n in e||(e={}))lun.call(e,n)&&Y60(t,n,e[n]);if(V60)for(var n of V60(e))uun.call(e,n)&&Y60(t,n,e[n]);return t},O2e=class extends XQ{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new xh.EventEmitter,this.name=Hln,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled","interrupted"],this.hasExperiencedNetworkDisruption=!1,this.requestsInFlight=new Map,this.heartBeatTimeout=(0,Xt.toMiliseconds)(Xt.THIRTY_SECONDS+Xt.ONE_SECOND),this.request=async n=>{var a,r;this.logger.debug("Publishing Request Payload");let f=n.id||wl().toString();await this.toEstablishConnection();try{let i=this.provider.request(n);this.requestsInFlight.set(f,{promise:i,request:n}),this.logger.trace({id:f,method:n.method,topic:(a=n.params)==null?void 0:a.topic},"relayer.request - attempt to publish...");let s=await new Promise(async(o,c)=>{let d=()=>{c(new Error(`relayer.request - publish interrupted, id: ${f}`))};this.provider.on(b5.disconnect,d);let l=await i;this.provider.off(b5.disconnect,d),o(l)});return this.logger.trace({id:f,method:n.method,topic:(r=n.params)==null?void 0:r.topic},"relayer.request - published"),s}catch(i){throw this.logger.debug(`Failed to Publish Request: ${f}`),i}finally{this.requestsInFlight.delete(f)}},this.resetPingTimeout=()=>{if(w_())try{clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var n,a,r;(r=(a=(n=this.provider)==null?void 0:n.connection)==null?void 0:a.socket)==null||r.terminate()},this.heartBeatTimeout)}catch(n){this.logger.warn(n)}},this.onPayloadHandler=n=>{this.onProviderPayload(n),this.resetPingTimeout()},this.onConnectHandler=()=>{this.startPingTimeout(),this.events.emit(i6.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=n=>{this.logger.error(n),this.events.emit(i6.error,n),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(b5.payload,this.onPayloadHandler),this.provider.on(b5.connect,this.onConnectHandler),this.provider.on(b5.disconnect,this.onDisconnectHandler),this.provider.on(b5.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Zo(e.logger,this.name):(0,M7.default)(B7({level:e.logger||Uln})),this.messages=new P2e(this.logger,e.core),this.subscriber=new N2e(this,this.logger),this.publisher=new L2e(this,this.logger),this.relayUrl=e?.relayUrl||bd0,this.projectId=e.projectId,this.bundleId=pc0(),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${G60}...`),await this.restartTransport(G60)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&this.subscriber.pending.size===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},jln)}get context(){return Xo(this.logger)}get connected(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===1}get connecting(){var e,n,a;return((a=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:a.readyState)===0}async publish(e,n,a){this.isInitialized(),await this.publisher.publish(e,n,a),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now()})}async subscribe(e,n){var a;this.isInitialized();let r=((a=this.subscriber.topicMap.get(e))==null?void 0:a[0])||"",f,i=s=>{s.topic===e&&(this.subscriber.off(Z2.created,i),f())};return await Promise.all([new Promise(s=>{f=s,this.subscriber.on(Z2.created,i)}),new Promise(async s=>{r=await this.subscriber.subscribe(e,n)||r,s()})]),r}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){if(!this.hasExperiencedNetworkDisruption&&this.connected&&this.requestsInFlight.size>0)try{await Promise.all(Array.from(this.requestsInFlight.values()).map(e=>e.promise))}catch(e){this.logger.warn(e)}this.hasExperiencedNetworkDisruption||this.connected?await T_(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect(),await this.createProvider()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;try{await new Promise(async(n,a)=>{let r=()=>{this.provider.off(b5.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(b5.disconnect,r),await T_(this.provider.connect(),(0,Xt.toMiliseconds)(Xt.ONE_MINUTE),`Socket stalled when trying to connect to ${this.relayUrl}`).catch(f=>{a(f)}),await this.subscriber.start(),this.hasExperiencedNetworkDisruption=!1,n()})}catch(n){this.logger.error(n);let a=n;if(!this.isConnectionStalled(a.message))throw n}finally{this.connectionAttemptInProgress=!1}}async restartTransport(e){this.connectionAttemptInProgress||(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await s2e())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,n,a,r,f;if(w_())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((f=(r=(a=this.provider)==null?void 0:a.connection)==null?void 0:r.socket)==null||f.once("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(i){this.logger.warn(i)}}isConnectionStalled(e){return this.staleConnectionErrors.some(n=>e.includes(n))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();let e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new W6(new bW(mc0({sdkVersion:qln,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId}))),this.registerProviderListeners()}async recordMessageEvent(e){let{topic:n,message:a}=e;await this.messages.set(n,a)}async shouldIgnoreMessageEvent(e){let{topic:n,message:a}=e;if(!a||a.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${a}`),!0;if(!await this.subscriber.isSubscribed(n))return this.logger.debug(`Ignoring message for non-subscribed topic ${n}`),!0;let r=this.messages.has(n,a);return r&&this.logger.debug(`Ignoring duplicate message: ${a}`),r}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),px(e)){if(!e.method.endsWith(zln))return;let n=e.params,{topic:a,message:r,publishedAt:f}=n.data,i={topic:a,message:r,publishedAt:f};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(pun({type:"event",event:n.id},i)),this.events.emit(n.id,i),await this.acknowledgePayload(e),await this.onMessageEvent(i)}else xm(e)&&this.events.emit(i6.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(i6.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let n=N8(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(b5.payload,this.onPayloadHandler),this.provider.off(b5.connect,this.onConnectHandler),this.provider.off(b5.disconnect,this.onDisconnectHandler),this.provider.off(b5.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await s2e();M60(async n=>{e!==n&&(e=n,n?await this.restartTransport().catch(a=>this.logger.error(a)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))})}async onProviderDisconnect(){await this.subscriber.stop(),this.events.emit(i6.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,Xt.toMiliseconds)(Wln))}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){await this.confirmOnlineStateOrThrow(),!this.connected&&(this.connectionAttemptInProgress&&await new Promise(e=>{let n=setInterval(()=>{this.connected&&(clearInterval(n),e())},this.connectionStatusPollingInterval)}),await this.transportOpen())}},hun=Object.defineProperty,$60=Object.getOwnPropertySymbols,mun=Object.prototype.hasOwnProperty,bun=Object.prototype.propertyIsEnumerable,J60=(t,e,n)=>e in t?hun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,X60=(t,e)=>{for(var n in e||(e={}))mun.call(e,n)&&J60(t,n,e[n]);if($60)for(var n of $60(e))bun.call(e,n)&&J60(t,n,e[n]);return t},ep=class extends ZQ{constructor(e,n,a,r=jb,f=void 0){super(e,n,a,r),this.core=e,this.logger=n,this.name=a,this.map=new Map,this.version=Gln,this.cached=[],this.initialized=!1,this.storagePrefix=jb,this.recentlyDeleted=[],this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(i=>{this.getKey&&i!==null&&!yo(i)?this.map.set(this.getKey(i),i):y60(i)?this.map.set(i.id,i):g60(i)&&this.map.set(i.topic,i)}),this.cached=[],this.initialized=!0)},this.set=async(i,s)=>{this.isInitialized(),this.map.has(i)?await this.update(i,s):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:i,value:s}),this.map.set(i,s),await this.persist())},this.get=i=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:i}),this.getData(i)),this.getAll=i=>(this.isInitialized(),i?this.values.filter(s=>Object.keys(i).every(o=>(0,nd0.default)(s[o],i[o]))):this.values),this.update=async(i,s)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:i,update:s});let o=X60(X60({},this.getData(i)),s);this.map.set(i,o),await this.persist()},this.delete=async(i,s)=>{this.isInitialized(),this.map.has(i)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:i,reason:s}),this.map.delete(i),this.addToRecentlyDeleted(i),await this.persist())},this.logger=Zo(n,this.name),this.storagePrefix=r,this.getKey=f}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){let n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(a),new Error(a)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{let e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},U2e=class{constructor(e,n){this.core=e,this.logger=n,this.name=$ln,this.version=Jln,this.events=new xh.default,this.initialized=!1,this.storagePrefix=jb,this.ignoredPayloadTypes=[X2],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:a})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...a])]},this.create=async a=>{this.isInitialized();let r=WQ(),f=await this.core.crypto.setSymKey(r),i=Hs(Xt.FIVE_MINUTES),s={protocol:K2e},o={topic:f,expiry:i,relay:s,active:!1},c=h60({protocol:this.core.protocol,version:this.core.version,topic:f,symKey:r,relay:s,expiryTimestamp:i,methods:a?.methods});return await this.pairings.set(f,o),await this.core.relayer.subscribe(f),this.core.expirer.set(f,i),{topic:f,uri:c}},this.pair=async a=>{this.isInitialized(),this.isValidPair(a);let{topic:r,symKey:f,relay:i,expiryTimestamp:s,methods:o}=t2e(a.uri),c;if(this.pairings.keys.includes(r)&&(c=this.pairings.get(r),c.active))throw new Error(`Pairing already exists: ${r}. Please try again with a new connection URI.`);let d=s||Hs(Xt.FIVE_MINUTES),l={topic:r,relay:i,expiry:d,active:!1,methods:o};return await this.pairings.set(r,l),this.core.expirer.set(r,d),a.activatePairing&&await this.activate({topic:r}),this.events.emit(tg.create,l),this.core.crypto.keychain.has(r)||await this.core.crypto.setSymKey(f,r),await this.core.relayer.subscribe(r,{relay:i}),l},this.activate=async({topic:a})=>{this.isInitialized();let r=Hs(Xt.THIRTY_DAYS);await this.pairings.update(a,{active:!0,expiry:r}),this.core.expirer.set(a,r)},this.ping=async a=>{this.isInitialized(),await this.isValidPing(a);let{topic:r}=a;if(this.pairings.keys.includes(r)){let f=await this.sendRequest(r,"wc_pairingPing",{}),{done:i,resolve:s,reject:o}=wh();this.events.once(Dn("pairing_ping",f),({error:c})=>{c?o(c):s()}),await i()}},this.updateExpiry=async({topic:a,expiry:r})=>{this.isInitialized(),await this.pairings.update(a,{expiry:r})},this.updateMetadata=async({topic:a,metadata:r})=>{this.isInitialized(),await this.pairings.update(a,{peerMetadata:r})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async a=>{this.isInitialized(),await this.isValidDisconnect(a);let{topic:r}=a;this.pairings.keys.includes(r)&&(await this.sendRequest(r,"wc_pairingDelete",Ia("USER_DISCONNECTED")),await this.deletePairing(r))},this.sendRequest=async(a,r,f)=>{let i=f2(r,f),s=await this.core.crypto.encode(a,i),o=PB[r].req;return this.core.history.set(a,i),this.core.relayer.publish(a,s,o),i.id},this.sendResult=async(a,r,f)=>{let i=N8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[o.request.method].res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.sendError=async(a,r,f)=>{let i=O8(a,f),s=await this.core.crypto.encode(r,i),o=await this.core.history.get(r,a),c=PB[o.request.method]?PB[o.request.method].res:PB.unregistered_method.res;await this.core.relayer.publish(r,s,c),await this.core.history.resolve(i)},this.deletePairing=async(a,r)=>{await this.core.relayer.unsubscribe(a),await Promise.all([this.pairings.delete(a,Ia("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(a),r?Promise.resolve():this.core.expirer.del(a)])},this.cleanup=async()=>{let a=this.pairings.getAll().filter(r=>$2(r.expiry));await Promise.all(a.map(r=>this.deletePairing(r.topic)))},this.onRelayEventRequest=a=>{let{topic:r,payload:f}=a;switch(f.method){case"wc_pairingPing":return this.onPairingPingRequest(r,f);case"wc_pairingDelete":return this.onPairingDeleteRequest(r,f);default:return this.onUnknownRpcMethodRequest(r,f)}},this.onRelayEventResponse=async a=>{let{topic:r,payload:f}=a,i=(await this.core.history.get(r,f.id)).request.method;switch(i){case"wc_pairingPing":return this.onPairingPingResponse(r,f);default:return this.onUnknownRpcMethodResponse(i)}},this.onPairingPingRequest=async(a,r)=>{let{id:f}=r;try{this.isValidPing({topic:a}),await this.sendResult(f,a,!0),this.events.emit(tg.ping,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onPairingPingResponse=(a,r)=>{let{id:f}=r;setTimeout(()=>{S6(r)?this.events.emit(Dn("pairing_ping",f),{}):n1(r)&&this.events.emit(Dn("pairing_ping",f),{error:r.error})},500)},this.onPairingDeleteRequest=async(a,r)=>{let{id:f}=r;try{this.isValidDisconnect({topic:a}),await this.deletePairing(a),this.events.emit(tg.delete,{id:f,topic:a})}catch(i){await this.sendError(f,a,i),this.logger.error(i)}},this.onUnknownRpcMethodRequest=async(a,r)=>{let{id:f,method:i}=r;try{if(this.registeredMethods.includes(i))return;let s=Ia("WC_METHOD_UNSUPPORTED",i);await this.sendError(f,a,s),this.logger.error(s)}catch(s){await this.sendError(f,a,s),this.logger.error(s)}},this.onUnknownRpcMethodResponse=a=>{this.registeredMethods.includes(a)||this.logger.error(Ia("WC_METHOD_UNSUPPORTED",a))},this.isValidPair=a=>{var r;if(!g1(a)){let{message:i}=F0("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(i)}if(!b60(a.uri)){let{message:i}=F0("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(i)}let f=t2e(a.uri);if(!((r=f?.relay)!=null&&r.protocol)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#relay-protocol");throw new Error(i)}if(!(f!=null&&f.symKey)){let{message:i}=F0("MISSING_OR_INVALID","pair() uri#symKey");throw new Error(i)}if(f!=null&&f.expiryTimestamp&&(0,Xt.toMiliseconds)(f?.expiryTimestamp){if(!g1(a)){let{message:f}=F0("MISSING_OR_INVALID",`ping() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidDisconnect=async a=>{if(!g1(a)){let{message:f}=F0("MISSING_OR_INVALID",`disconnect() params: ${a}`);throw new Error(f)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidPairingTopic=async a=>{if(!Df(a,!1)){let{message:r}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${a}`);throw new Error(r)}if(!this.pairings.keys.includes(a)){let{message:r}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${a}`);throw new Error(r)}if($2(this.pairings.get(a).expiry)){await this.deletePairing(a);let{message:r}=F0("EXPIRED",`pairing topic: ${a}`);throw new Error(r)}},this.core=e,this.logger=Zo(n,this.name),this.pairings=new ep(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Xo(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(i6.message,async e=>{let{topic:n,message:a}=e;if(!this.pairings.keys.includes(n)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(a)))return;let r=await this.core.crypto.decode(n,a);try{px(r)?(this.core.history.set(n,r),this.onRelayEventRequest({topic:n,payload:r})):xm(r)&&(await this.core.history.resolve(r),await this.onRelayEventResponse({topic:n,payload:r}),this.core.history.delete(n,r.id))}catch(f){this.logger.error(f)}})}registerExpirerEvents(){this.core.expirer.on(q6.expired,async e=>{let{topic:n}=HQ(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(tg.expire,{topic:n}))})}},H2e=class extends YQ{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.records=new Map,this.events=new xh.EventEmitter,this.name=Xln,this.version=Zln,this.cached=[],this.initialized=!1,this.storagePrefix=jb,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.records.set(a.id,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(a,r,f)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:a,request:r,chainId:f}),this.records.has(r.id))return;let i={id:r.id,topic:a,request:{method:r.method,params:r.params||null},chainId:f,expiry:Hs(Xt.THIRTY_DAYS)};this.records.set(i.id,i),this.persist(),this.events.emit(Vl.created,i)},this.resolve=async a=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:a}),!this.records.has(a.id))return;let r=await this.getRecord(a.id);typeof r.response>"u"&&(r.response=n1(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(Vl.updated,r))},this.get=async(a,r)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:a,id:r}),await this.getRecord(r)),this.delete=(a,r)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:r}),this.values.forEach(f=>{if(f.topic===a){if(typeof r<"u"&&f.id!==r)return;this.records.delete(f.id),this.events.emit(Vl.deleted,f)}}),this.persist()},this.exists=async(a,r)=>(this.isInitialized(),this.records.has(r)?(await this.getRecord(r)).topic===a:!1),this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Zo(n,this.name)}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){let e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;let a={topic:n.topic,request:f2(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(a)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();let n=this.records.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(Vl.sync)}async restore(){try{let e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(Vl.created,e=>{let n=Vl.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.updated,e=>{let n=Vl.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(Vl.deleted,e=>{let n=Vl.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(ag.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{(0,Xt.toMiliseconds)(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(Vl.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},z2e=class extends tV{constructor(e,n){super(e,n),this.core=e,this.logger=n,this.expirations=new Map,this.events=new xh.EventEmitter,this.name=eun,this.version=tun,this.cached=[],this.initialized=!1,this.storagePrefix=jb,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.expirations.set(a.target,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=a=>{try{let r=this.formatTarget(a);return typeof this.getExpiration(r)<"u"}catch{return!1}},this.set=(a,r)=>{this.isInitialized();let f=this.formatTarget(a),i={target:f,expiry:r};this.expirations.set(f,i),this.checkExpiry(f,i),this.events.emit(q6.created,{target:f,expiration:i})},this.get=a=>{this.isInitialized();let r=this.formatTarget(a);return this.getExpiration(r)},this.del=a=>{if(this.isInitialized(),this.has(a)){let r=this.formatTarget(a),f=this.getExpiration(r);this.expirations.delete(r),this.events.emit(q6.deleted,{target:r,expiration:f})}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Zo(n,this.name)}get context(){return Xo(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return yc0(e);if(typeof e=="number")return gc0(e);let{message:n}=F0("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(q6.sync)}async restore(){try{let e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){let{message:n}=F0("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){let n=this.expirations.get(e);if(!n){let{message:a}=F0("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(a),new Error(a)}return n}checkExpiry(e,n){let{expiry:a}=n;(0,Xt.toMiliseconds)(a)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(q6.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(ag.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(q6.created,e=>{let n=q6.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.expired,e=>{let n=q6.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(q6.deleted,e=>{let n=q6.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}}},W2e=class extends nV{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.name=T2e,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||X9()||!qb())return;let r=this.getVerifyUrl(a?.verifyUrl);this.verifyUrl!==r&&this.removeIframe(),this.verifyUrl=r;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f)}if(!this.initialized){this.removeIframe(),this.verifyUrl=M2e;try{await this.createIframe()}catch(f){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(f),this.verifyDisabled=!0}}},this.register=async a=>{this.initialized?this.sendPost(a.attestationId):(this.addToQueue(a.attestationId),await this.init())},this.resolve=async a=>{if(this.isDevEnv)return"";let r=this.getVerifyUrl(a?.verifyUrl),f;try{f=await this.fetchAttestation(a.attestationId,r)}catch(i){this.logger.info(`failed to resolve attestation: ${a.attestationId} from url: ${r}`),this.logger.info(i),f=await this.fetchAttestation(a.attestationId,M2e)}return f},this.fetchAttestation=async(a,r)=>{this.logger.info(`resolving attestation: ${a} from url: ${r}`);let f=this.startAbortTimer(Xt.ONE_SECOND*2),i=await fetch(`${r}/attestation/${a}`,{signal:this.abortController.signal});return clearTimeout(f),i.status===200?await i.json():void 0},this.addToQueue=a=>{this.queue.push(a)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(a=>this.sendPost(a)),this.queue=[])},this.sendPost=a=>{var r;try{if(!this.iframe)return;(r=this.iframe.contentWindow)==null||r.postMessage(a,"*"),this.logger.info(`postMessage sent: ${a} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let a,r=f=>{f.data==="verify_ready"&&(this.onInit(),window.removeEventListener("message",r),a())};await Promise.race([new Promise(f=>{let i=document.getElementById(T2e);if(i)return this.iframe=i,this.onInit(),f();window.addEventListener("message",r);let s=document.createElement("iframe");s.id=T2e,s.src=`${this.verifyUrl}/${this.projectId}`,s.style.display="none",document.body.append(s),this.iframe=s,a=f}),new Promise((f,i)=>setTimeout(()=>{window.removeEventListener("message",r),i("verify iframe load timeout")},(0,Xt.toMiliseconds)(Xt.FIVE_SECONDS)))])},this.onInit=()=>{this.initialized=!0,this.processQueue()},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.getVerifyUrl=a=>{let r=a||ng;return nun.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${ng}`),r=ng),r},this.logger=Zo(n,this.name),this.verifyUrl=ng,this.abortController=new AbortController,this.isDevEnv=w_()&&x.env.IS_VITEST}get context(){return Xo(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,Xt.toMiliseconds)(e))}},q2e=class extends aV{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,this.context=aun,this.registerDeviceToken=async a=>{let{clientId:r,token:f,notificationType:i,enableEncrypted:s=!1}=a,o=`${run}/${this.projectId}/clients`;await(0,ad0.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:i,token:f,always_raw:s})})},this.logger=Zo(n,this.context)}},yun=Object.defineProperty,Z60=Object.getOwnPropertySymbols,gun=Object.prototype.hasOwnProperty,vun=Object.prototype.propertyIsEnumerable,ed0=(t,e,n)=>e in t?yun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,td0=(t,e)=>{for(var n in e||(e={}))gun.call(e,n)&&ed0(t,n,e[n]);if(Z60)for(var n of Z60(e))vun.call(e,n)&&ed0(t,n,e[n]);return t},j2e=class t extends VQ{constructor(e){var n;super(e),this.protocol=md0,this.version=kln,this.name=G2e,this.events=new xh.EventEmitter,this.initialized=!1,this.on=(i,s)=>this.events.on(i,s),this.once=(i,s)=>this.events.once(i,s),this.off=(i,s)=>this.events.off(i,s),this.removeListener=(i,s)=>this.events.removeListener(i,s),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||bd0,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=B7({level:typeof e?.logger=="string"&&e.logger?e.logger:Sln.logger}),{logger:r,chunkLoggerController:f}=XFe({opts:a,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=f,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var i,s;(i=this.logChunkController)!=null&&i.downloadLogsBlobInBrowser&&((s=this.logChunkController)==null||s.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Zo(r,this.name),this.heartbeat=new ag.HeartBeat,this.crypto=new D2e(this,this.logger,e?.keychain),this.history=new H2e(this,this.logger),this.expirer=new z2e(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new hz(td0(td0({},Rln),e?.storageOptions)),this.relayer=new O2e({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new U2e(this,this.logger),this.verify=new W2e(this.projectId||"",this.logger),this.echoClient=new q2e(this.projectId||"",this.logger)}static async init(e){let n=new t(e);await n.initialize();let a=await n.crypto.getClientId();return await n.storage.setItem(Kln,a),n}get context(){return Xo(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,e),this.logger.error(e.message),e}}},yd0=j2e});var cV,Fa,xd0,Ed0,_d0,ape,Q2e,vd0,wun,rpe,Tun,M_,xun,y5,V2e,Eh,Eun,_un,Aun,Iun,Cun,kun,Sun,dV,sV,Run,Mun,Bun,wd0,Dun,Pun,Td0,zs,B_,Y2e,$2e,J2e,X2e,Z2e,epe,tpe,npe,oV,Ad0=oe(()=>{u();p();gd0();Cz();y2e();BB();cV=Ee(Or()),Fa=Ee(R7());Em();xd0="wc",Ed0=2,_d0="client",ape=`${xd0}@${Ed0}:${_d0}:`,Q2e={name:_d0,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},vd0="WALLETCONNECT_DEEPLINK_CHOICE",wun="proposal",rpe="Proposal expired",Tun="session",M_=Fa.SEVEN_DAYS,xun="engine",y5={wc_sessionPropose:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Fa.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Fa.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Fa.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Fa.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Fa.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Fa.ONE_HOUR,prompt:!1,tag:1117}}},V2e={min:Fa.FIVE_MINUTES,max:Fa.SEVEN_DAYS},Eh={idle:"IDLE",active:"ACTIVE"},Eun="request",_un=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],Aun="wc",Iun="auth",Cun="authKeys",kun="pairingTopics",Sun="requests",dV=`${Aun}@${1.5}:${Iun}:`,sV=`${dV}:PUB_KEY`,Run=Object.defineProperty,Mun=Object.defineProperties,Bun=Object.getOwnPropertyDescriptors,wd0=Object.getOwnPropertySymbols,Dun=Object.prototype.hasOwnProperty,Pun=Object.prototype.propertyIsEnumerable,Td0=(t,e,n)=>e in t?Run(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zs=(t,e)=>{for(var n in e||(e={}))Dun.call(e,n)&&Td0(t,n,e[n]);if(wd0)for(var n of wd0(e))Pun.call(e,n)&&Td0(t,n,e[n]);return t},B_=(t,e)=>Mun(t,Bun(e)),Y2e=class extends fV{constructor(e){super(e),this.name=xun,this.events=new cV.default,this.initialized=!1,this.requestQueue={state:Eh.idle,queue:[]},this.sessionRequestQueue={state:Eh.idle,queue:[]},this.requestQueueDelay=Fa.ONE_SECOND,this.expectedPairingMethodMap=new Map,this.recentlyDeletedMap=new Map,this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(y5)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay)))},this.connect=async n=>{await this.isInitialized();let a=B_(zs({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(a);let{pairingTopic:r,requiredNamespaces:f,optionalNamespaces:i,sessionProperties:s,relays:o}=a,c=r,d,l=!1;try{c&&(l=this.client.core.pairing.pairings.get(c).active)}catch(j){throw this.client.logger.error(`connect() -> pairing.get(${c}) failed`),j}if(!c||!l){let{topic:j,uri:Q}=await this.client.core.pairing.create();c=j,d=Q}if(!c){let{message:j}=F0("NO_MATCHING_KEY",`connect() pairing topic: ${c}`);throw new Error(j)}let h=await this.client.core.crypto.generateKeyPair(),y=y5.wc_sessionPropose.req.ttl||Fa.FIVE_MINUTES,v=Hs(y),k=zs({requiredNamespaces:f,optionalNamespaces:i,relays:o??[{protocol:K2e}],proposer:{publicKey:h,metadata:this.client.metadata},expiryTimestamp:v},s&&{sessionProperties:s}),{reject:O,resolve:F,done:z}=wh(y,rpe);this.events.once(Dn("session_connect"),async({error:j,session:Q})=>{if(j)O(j);else if(Q){Q.self.publicKey=h;let V=B_(zs({},Q),{requiredNamespaces:k.requiredNamespaces,optionalNamespaces:k.optionalNamespaces});await this.client.session.set(Q.topic,V),await this.setExpiry(Q.topic,Q.expiry),c&&await this.client.core.pairing.updateMetadata({topic:c,metadata:Q.peer.metadata}),F(V)}});let W=await this.sendRequest({topic:c,method:"wc_sessionPropose",params:k,throwOnFailedPublish:!0});return await this.setProposal(W,zs({id:W},k)),{uri:d,approval:z}},this.pair=async n=>{await this.isInitialized();try{return await this.client.core.pairing.pair(n)}catch(a){throw this.client.logger.error("pair() failed"),a}},this.approve=async n=>{await this.isInitialized();try{await this.isValidApprove(n)}catch(z){throw this.client.logger.error("approve() -> isValidApprove() failed"),z}let{id:a,relayProtocol:r,namespaces:f,sessionProperties:i,sessionConfig:s}=n,o;try{o=this.client.proposal.get(a)}catch(z){throw this.client.logger.error(`approve() -> proposal.get(${a}) failed`),z}let{pairingTopic:c,proposer:d,requiredNamespaces:l,optionalNamespaces:h}=o;c=c||"";let y=await this.client.core.crypto.generateKeyPair(),v=d.publicKey,k=await this.client.core.crypto.generateSharedKey(y,v),O=zs(zs({relay:{protocol:r??"irn"},namespaces:f,pairingTopic:c,controller:{publicKey:y,metadata:this.client.metadata},expiry:Hs(M_)},i&&{sessionProperties:i}),s&&{sessionConfig:s});await this.client.core.relayer.subscribe(k);let F=B_(zs({},O),{topic:k,requiredNamespaces:l,optionalNamespaces:h,pairingTopic:c,acknowledged:!1,self:O.controller,peer:{publicKey:d.publicKey,metadata:d.metadata},controller:y});await this.client.session.set(k,F);try{await this.sendResult({id:a,topic:c,result:{relay:{protocol:r??"irn"},responderPublicKey:y},throwOnFailedPublish:!0}),await this.sendRequest({topic:k,method:"wc_sessionSettle",params:O,throwOnFailedPublish:!0})}catch(z){throw this.client.logger.error(z),this.client.session.delete(k,Ia("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(k),z}return await this.client.core.pairing.updateMetadata({topic:c,metadata:d.metadata}),await this.client.proposal.delete(a,Ia("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:c}),await this.setExpiry(k,Hs(M_)),{topic:k,acknowledged:()=>new Promise(z=>setTimeout(()=>z(this.client.session.get(k)),500))}},this.reject=async n=>{await this.isInitialized();try{await this.isValidReject(n)}catch(i){throw this.client.logger.error("reject() -> isValidReject() failed"),i}let{id:a,reason:r}=n,f;try{f=this.client.proposal.get(a).pairingTopic}catch(i){throw this.client.logger.error(`reject() -> proposal.get(${a}) failed`),i}f&&(await this.sendError({id:a,topic:f,error:r}),await this.client.proposal.delete(a,Ia("USER_DISCONNECTED")))},this.update=async n=>{await this.isInitialized();try{await this.isValidUpdate(n)}catch(l){throw this.client.logger.error("update() -> isValidUpdate() failed"),l}let{topic:a,namespaces:r}=n,{done:f,resolve:i,reject:s}=wh(),o=r2(),c=wl().toString(),d=this.client.session.get(a).namespaces;return this.events.once(Dn("session_update",o),({error:l})=>{l?s(l):i()}),await this.client.session.update(a,{namespaces:r}),this.sendRequest({topic:a,method:"wc_sessionUpdate",params:{namespaces:r},throwOnFailedPublish:!0,clientRpcId:o,relayRpcId:c}).catch(l=>{this.client.logger.error(l),this.client.session.update(a,{namespaces:d}),s(l)}),{acknowledged:f}},this.extend=async n=>{await this.isInitialized();try{await this.isValidExtend(n)}catch(o){throw this.client.logger.error("extend() -> isValidExtend() failed"),o}let{topic:a}=n,r=r2(),{done:f,resolve:i,reject:s}=wh();return this.events.once(Dn("session_extend",r),({error:o})=>{o?s(o):i()}),await this.setExpiry(a,Hs(M_)),this.sendRequest({topic:a,method:"wc_sessionExtend",params:{},clientRpcId:r,throwOnFailedPublish:!0}).catch(o=>{s(o)}),{acknowledged:f}},this.request=async n=>{await this.isInitialized();try{await this.isValidRequest(n)}catch(y){throw this.client.logger.error("request() -> isValidRequest() failed"),y}let{chainId:a,request:r,topic:f,expiry:i=y5.wc_sessionRequest.req.ttl}=n,s=this.client.session.get(f),o=r2(),c=wl().toString(),{done:d,resolve:l,reject:h}=wh(i,"Request expired. Please try again.");return this.events.once(Dn("session_request",o),({error:y,result:v})=>{y?h(y):l(v)}),await Promise.all([new Promise(async y=>{await this.sendRequest({clientRpcId:o,relayRpcId:c,topic:f,method:"wc_sessionRequest",params:{request:B_(zs({},r),{expiryTimestamp:Hs(i)}),chainId:a},expiry:i,throwOnFailedPublish:!0}).catch(v=>h(v)),this.client.events.emit("session_request_sent",{topic:f,request:r,chainId:a,id:o}),y()}),new Promise(async y=>{var v;if(!((v=s.sessionConfig)!=null&&v.disableDeepLink)){let k=await wc0(this.client.core.storage,vd0);vc0({id:o,topic:f,wcDeepLink:k})}y()}),d()]).then(y=>y[2])},this.respond=async n=>{await this.isInitialized(),await this.isValidRespond(n);let{topic:a,response:r}=n,{id:f}=r;S6(r)?await this.sendResult({id:f,topic:a,result:r.result,throwOnFailedPublish:!0}):n1(r)&&await this.sendError({id:f,topic:a,error:r.error}),this.cleanupAfterResponse(n)},this.ping=async n=>{await this.isInitialized();try{await this.isValidPing(n)}catch(r){throw this.client.logger.error("ping() -> isValidPing() failed"),r}let{topic:a}=n;if(this.client.session.keys.includes(a)){let r=r2(),f=wl().toString(),{done:i,resolve:s,reject:o}=wh();this.events.once(Dn("session_ping",r),({error:c})=>{c?o(c):s()}),await Promise.all([this.sendRequest({topic:a,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:r,relayRpcId:f}),i()])}else this.client.core.pairing.pairings.keys.includes(a)&&await this.client.core.pairing.ping({topic:a})},this.emit=async n=>{await this.isInitialized(),await this.isValidEmit(n);let{topic:a,event:r,chainId:f}=n,i=wl().toString();await this.sendRequest({topic:a,method:"wc_sessionEvent",params:{event:r,chainId:f},throwOnFailedPublish:!0,relayRpcId:i})},this.disconnect=async n=>{await this.isInitialized(),await this.isValidDisconnect(n);let{topic:a}=n;if(this.client.session.keys.includes(a))await this.sendRequest({topic:a,method:"wc_sessionDelete",params:Ia("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:a,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(a))await this.client.core.pairing.disconnect({topic:a});else{let{message:r}=F0("MISMATCHED_TOPIC",`Session or pairing topic not found: ${a}`);throw new Error(r)}},this.find=n=>(this.isInitialized(),this.client.session.getAll().filter(a=>m60(a,n))),this.getPendingSessionRequests=()=>this.client.pendingRequest.getAll(),this.authenticate=async n=>{this.isInitialized(),this.isValidAuthenticate(n);let{chains:a,statement:r="",uri:f,domain:i,nonce:s,type:o,exp:c,nbf:d,methods:l=[]}=n,h=[...n.resources||[]],{topic:y,uri:v}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"]});this.client.logger.info({message:"Generated new pairing",pairing:{topic:y,uri:v}});let k=await this.client.core.crypto.generateKeyPair(),O=I_(k);if(await Promise.all([this.client.auth.authKeys.set(sV,{responseTopic:O,publicKey:k}),this.client.auth.pairingTopics.set(O,{topic:O,pairingTopic:y})]),await this.client.core.relayer.subscribe(O),this.client.logger.info(`sending request to new pairing topic: ${y}`),l.length>0){let{namespace:N}=v_(a[0]),w=f60(N,"request",l);SB(h)&&(w=i60(w,h.pop())),h.push(w)}let F=Hs(y5.wc_sessionPropose.req.ttl),z={authPayload:{type:o??"caip122",chains:a,statement:r,aud:f,domain:i,version:"1",nonce:s,iat:new Date().toISOString(),exp:c,nbf:d,resources:h},requester:{publicKey:k,metadata:this.client.metadata},expiryTimestamp:F},W={eip155:{chains:a,methods:[...new Set(["personal_sign",...l])],events:["chainChanged","accountsChanged"]}},j={requiredNamespaces:{},optionalNamespaces:W,relays:[{protocol:"irn"}],proposer:{publicKey:k,metadata:this.client.metadata},expiryTimestamp:F},{done:Q,resolve:V,reject:X}=wh(y5.wc_sessionAuthenticate.req.ttl,"Request expired"),K=async({error:N,session:w})=>{if(this.events.off(Dn("session_request",R),G),N)X(N);else if(w){w.self.publicKey=k,await this.client.session.set(w.topic,w),await this.setExpiry(w.topic,w.expiry),y&&await this.client.core.pairing.updateMetadata({topic:y,metadata:w.peer.metadata});let b=this.client.session.get(w.topic);V({session:b})}},G=async N=>{if(N.error){let g=Ia("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return N.error.code===g.code?void 0:(this.events.off(Dn("session_connect"),K),X(N.error.message))}this.events.off(Dn("session_connect"),K);let{cacaos:w,responder:b}=N.result,A=[],P=[];for(let g of w){await Que({cacao:g,projectId:this.client.core.projectId})||(this.client.logger.error(g,"Signature verification failed"),X(Ia("SESSION_SETTLEMENT_FAILED","Signature verification failed")));let{p:B}=g,M=SB(B.resources),S=[Kue(B.iss)],q=kB(B.iss);if(M){let ee=Yue(M),U=$ue(M);A.push(...ee),S.push(...U)}for(let ee of S)P.push(`${ee}:${q}`)}let L=await this.client.core.crypto.generateSharedKey(k,b.publicKey),E;A.length>0&&(E={topic:L,acknowledged:!0,self:{publicKey:k,metadata:this.client.metadata},peer:b,controller:b.publicKey,expiry:Hs(M_),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:y,namespaces:n2e([...new Set(A)],[...new Set(P)])},await this.client.core.relayer.subscribe(L),await this.client.session.set(L,E),E=this.client.session.get(L)),V({auths:w,session:E})},R=r2(),T=r2();this.events.once(Dn("session_connect"),K),this.events.once(Dn("session_request",R),G);try{await Promise.all([this.sendRequest({topic:y,method:"wc_sessionAuthenticate",params:z,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:R}),this.sendRequest({topic:y,method:"wc_sessionPropose",params:j,expiry:y5.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:T})])}catch(N){throw this.events.off(Dn("session_connect"),K),this.events.off(Dn("session_request",R),G),N}return await this.setProposal(T,zs({id:T},j)),await this.client.auth.requests.set(R,{authPayload:z.authPayload,requester:z.requester,expiryTimestamp:F,id:R,pairingTopic:y,verifyContext:{}}),{uri:v,response:Q}},this.approveSessionAuthenticate=async n=>{this.isInitialized();let{id:a,auths:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=I_(i),c={type:X2,receiverPublicKey:i,senderPublicKey:s},d=[],l=[];for(let v of r){if(!await Que({cacao:v,projectId:this.client.core.projectId})){let W=Ia("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:a,topic:o,error:W,encodeOpts:c}),new Error(W.message)}let{p:k}=v,O=SB(k.resources),F=[Kue(k.iss)],z=kB(k.iss);if(O){let W=Yue(O),j=$ue(O);d.push(...W),F.push(...j)}for(let W of F)l.push(`${W}:${z}`)}let h=await this.client.core.crypto.generateSharedKey(s,i),y;return d?.length>0&&(y={topic:h,acknowledged:!0,self:{publicKey:s,metadata:this.client.metadata},peer:{publicKey:i,metadata:f.requester.metadata},controller:i,expiry:Hs(M_),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:n2e([...new Set(d)],[...new Set(l)])},await this.client.core.relayer.subscribe(h),await this.client.session.set(h,y)),await this.sendResult({topic:o,id:a,result:{cacaos:r,responder:{publicKey:s,metadata:this.client.metadata}},encodeOpts:c,throwOnFailedPublish:!0}),await this.client.auth.requests.delete(a,{message:"fullfilled",code:0}),await this.client.core.pairing.activate({topic:f.pairingTopic}),{session:y}},this.rejectSessionAuthenticate=async n=>{await this.isInitialized();let{id:a,reason:r}=n,f=this.getPendingAuthRequest(a);if(!f)throw new Error(`Could not find pending auth request with id ${a}`);let i=f.requester.publicKey,s=await this.client.core.crypto.generateKeyPair(),o=I_(i),c={type:X2,receiverPublicKey:i,senderPublicKey:s};await this.sendError({id:a,topic:o,error:r,encodeOpts:c}),await this.client.auth.requests.delete(a,{message:"rejected",code:0}),await this.client.proposal.delete(a,Ia("USER_DISCONNECTED"))},this.formatAuthMessage=n=>{this.isInitialized();let{request:a,iss:r}=n;return Vue(a,r)},this.cleanupDuplicatePairings=async n=>{if(n.pairingTopic)try{let a=this.client.core.pairing.pairings.get(n.pairingTopic),r=this.client.core.pairing.pairings.getAll().filter(f=>{var i,s;return((i=f.peerMetadata)==null?void 0:i.url)&&((s=f.peerMetadata)==null?void 0:s.url)===n.peer.metadata.url&&f.topic&&f.topic!==a.topic});if(r.length===0)return;this.client.logger.info(`Cleaning up ${r.length} duplicate pairing(s)`),await Promise.all(r.map(f=>this.client.core.pairing.disconnect({topic:f.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(a){this.client.logger.error(a)}},this.deleteSession=async n=>{let{topic:a,expirerHasDeleted:r=!1,emitEvent:f=!0,id:i=0}=n,{self:s}=this.client.session.get(a);await this.client.core.relayer.unsubscribe(a),await this.client.session.delete(a,Ia("USER_DISCONNECTED")),this.addToRecentlyDeleted(a,"session"),this.client.core.crypto.keychain.has(s.publicKey)&&await this.client.core.crypto.deleteKeyPair(s.publicKey),this.client.core.crypto.keychain.has(a)&&await this.client.core.crypto.deleteSymKey(a),r||this.client.core.expirer.del(a),this.client.core.storage.removeItem(vd0).catch(o=>this.client.logger.warn(o)),this.getPendingSessionRequests().forEach(o=>{o.topic===a&&this.deletePendingSessionRequest(o.id,Ia("USER_DISCONNECTED"))}),f&&this.client.events.emit("session_delete",{id:i,topic:a})},this.deleteProposal=async(n,a)=>{await Promise.all([this.client.proposal.delete(n,Ia("USER_DISCONNECTED")),a?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")},this.deletePendingSessionRequest=async(n,a,r=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,a),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(f=>f.id!==n),r&&(this.sessionRequestQueue.state=Eh.idle,this.client.events.emit("session_request_expire",{id:n}))},this.setExpiry=async(n,a)=>{this.client.session.keys.includes(n)&&await this.client.session.update(n,{expiry:a}),this.client.core.expirer.set(n,a)},this.setProposal=async(n,a)=>{await this.client.proposal.set(n,a),this.client.core.expirer.set(n,Hs(y5.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async n=>{let{id:a,topic:r,params:f,verifyContext:i}=n,s=f.request.expiryTimestamp||Hs(y5.wc_sessionRequest.req.ttl);await this.client.pendingRequest.set(a,{id:a,topic:r,params:f,verifyContext:i}),s&&this.client.core.expirer.set(a,s)},this.sendRequest=async n=>{let{topic:a,method:r,params:f,expiry:i,relayRpcId:s,clientRpcId:o,throwOnFailedPublish:c}=n,d=f2(r,f,o);if(qb()&&_un.includes(r)){let y=Th(JSON.stringify(d));this.client.core.verify.register({attestationId:y})}let l;try{l=await this.client.core.crypto.encode(a,d)}catch(y){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${a} failed`),y}let h=y5[r].req;return i&&(h.ttl=i),s&&(h.id=s),this.client.core.history.set(a,d),c?(h.internal=B_(zs({},h.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(a,l,h)):this.client.core.relayer.publish(a,l,h).catch(y=>this.client.logger.error(y)),d.id},this.sendResult=async n=>{let{id:a,topic:r,result:f,throwOnFailedPublish:i,encodeOpts:s}=n,o=N8(a,f),c;try{c=await this.client.core.crypto.encode(r,o,s)}catch(h){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${r} failed`),h}let d;try{d=await this.client.core.history.get(r,a)}catch(h){throw this.client.logger.error(`sendResult() -> history.get(${r}, ${a}) failed`),h}let l=y5[d.request.method].res;i?(l.internal=B_(zs({},l.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,c,l)):this.client.core.relayer.publish(r,c,l).catch(h=>this.client.logger.error(h)),await this.client.core.history.resolve(o)},this.sendError=async n=>{let{id:a,topic:r,error:f,encodeOpts:i}=n,s=O8(a,f),o;try{o=await this.client.core.crypto.encode(r,s,i)}catch(l){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${r} failed`),l}let c;try{c=await this.client.core.history.get(r,a)}catch(l){throw this.client.logger.error(`sendError() -> history.get(${r}, ${a}) failed`),l}let d=y5[c.request.method].res;this.client.core.relayer.publish(r,o,d),await this.client.core.history.resolve(s)},this.cleanup=async()=>{let n=[],a=[];this.client.session.getAll().forEach(r=>{let f=!1;$2(r.expiry)&&(f=!0),this.client.core.crypto.keychain.has(r.topic)||(f=!0),f&&n.push(r.topic)}),this.client.proposal.getAll().forEach(r=>{$2(r.expiryTimestamp)&&a.push(r.id)}),await Promise.all([...n.map(r=>this.deleteSession({topic:r})),...a.map(r=>this.deleteProposal(r))])},this.onRelayEventRequest=async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===Eh.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=Eh.active;let n=this.requestQueue.queue.shift();if(n)try{this.processRequest(n),await new Promise(a=>setTimeout(a,300))}catch(a){this.client.logger.warn(a)}}this.requestQueue.state=Eh.idle},this.processRequest=n=>{let{topic:a,payload:r}=n,f=r.method;if(!this.shouldIgnorePairingRequest({topic:a,requestMethod:f}))switch(f){case"wc_sessionPropose":return this.onSessionProposeRequest(a,r);case"wc_sessionSettle":return this.onSessionSettleRequest(a,r);case"wc_sessionUpdate":return this.onSessionUpdateRequest(a,r);case"wc_sessionExtend":return this.onSessionExtendRequest(a,r);case"wc_sessionPing":return this.onSessionPingRequest(a,r);case"wc_sessionDelete":return this.onSessionDeleteRequest(a,r);case"wc_sessionRequest":return this.onSessionRequest(a,r);case"wc_sessionEvent":return this.onSessionEventRequest(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateRequest(a,r);default:return this.client.logger.info(`Unsupported request method ${f}`)}},this.onRelayEventResponse=async n=>{let{topic:a,payload:r}=n,f=(await this.client.core.history.get(a,r.id)).request.method;switch(f){case"wc_sessionPropose":return this.onSessionProposeResponse(a,r);case"wc_sessionSettle":return this.onSessionSettleResponse(a,r);case"wc_sessionUpdate":return this.onSessionUpdateResponse(a,r);case"wc_sessionExtend":return this.onSessionExtendResponse(a,r);case"wc_sessionPing":return this.onSessionPingResponse(a,r);case"wc_sessionRequest":return this.onSessionRequestResponse(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(a,r);default:return this.client.logger.info(`Unsupported response method ${f}`)}},this.onRelayEventUnknownPayload=n=>{let{topic:a}=n,{message:r}=F0("MISSING_OR_INVALID",`Decoded payload on topic ${a} is not identifiable as a JSON-RPC request or a response.`);throw new Error(r)},this.shouldIgnorePairingRequest=n=>{let{topic:a,requestMethod:r}=n,f=this.expectedPairingMethodMap.get(a);return!f||f.includes(r)?!1:!!(f.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)},this.onSessionProposeRequest=async(n,a)=>{let{params:r,id:f}=a;try{this.isValidConnect(zs({},a.params));let i=r.expiryTimestamp||Hs(y5.wc_sessionPropose.req.ttl),s=zs({id:f,pairingTopic:n,expiryTimestamp:i},r);await this.setProposal(f,s);let o=Th(JSON.stringify(a)),c=await this.getVerifyContext(o,s.proposer.metadata);this.client.events.emit("session_proposal",{id:f,params:s,verifyContext:c})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionProposeResponse=async(n,a)=>{let{id:r}=a;if(S6(a)){let{result:f}=a;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:f});let i=this.client.proposal.get(r);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:i});let s=i.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:s});let o=f.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:o});let c=await this.client.core.crypto.generateSharedKey(s,o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:c});let d=await this.client.core.relayer.subscribe(c);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:d}),await this.client.core.pairing.activate({topic:n})}else if(n1(a)){await this.client.proposal.delete(r,Ia("USER_DISCONNECTED"));let f=Dn("session_connect");if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners, 954`);this.events.emit(Dn("session_connect"),{error:a.error})}},this.onSessionSettleRequest=async(n,a)=>{let{id:r,params:f}=a;try{this.isValidSessionSettleRequest(f);let{relay:i,controller:s,expiry:o,namespaces:c,sessionProperties:d,pairingTopic:l,sessionConfig:h}=a.params,y=zs(zs({topic:n,relay:i,expiry:o,namespaces:c,acknowledged:!0,pairingTopic:l,requiredNamespaces:{},optionalNamespaces:{},controller:s.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:s.publicKey,metadata:s.metadata}},d&&{sessionProperties:d}),h&&{sessionConfig:h});await this.sendResult({id:a.id,topic:n,result:!0,throwOnFailedPublish:!0});let v=Dn("session_connect");if(this.events.listenerCount(v)===0)throw new Error(`emitting ${v} without any listeners 997`);this.events.emit(Dn("session_connect"),{session:y}),this.cleanupDuplicatePairings(y)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionSettleResponse=async(n,a)=>{let{id:r}=a;S6(a)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):n1(a)&&(await this.client.session.delete(n,Ia("USER_DISCONNECTED")),this.events.emit(Dn("session_approve",r),{error:a.error}))},this.onSessionUpdateRequest=async(n,a)=>{let{params:r,id:f}=a;try{let i=`${n}_session_update`,s=zb.get(i);if(s&&this.isRequestOutOfSync(s,f)){this.client.logger.info(`Discarding out of sync request - ${f}`),this.sendError({id:f,topic:n,error:Ia("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(zs({topic:n},r));try{zb.set(i,f),await this.client.session.update(n,{namespaces:r.namespaces}),await this.sendResult({id:f,topic:n,result:!0,throwOnFailedPublish:!0})}catch(o){throw zb.delete(i),o}this.client.events.emit("session_update",{id:f,topic:n,params:r})}catch(i){await this.sendError({id:f,topic:n,error:i}),this.client.logger.error(i)}},this.isRequestOutOfSync=(n,a)=>parseInt(a.toString().slice(0,-3))<=parseInt(n.toString().slice(0,-3)),this.onSessionUpdateResponse=(n,a)=>{let{id:r}=a,f=Dn("session_update",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);S6(a)?this.events.emit(Dn("session_update",r),{}):n1(a)&&this.events.emit(Dn("session_update",r),{error:a.error})},this.onSessionExtendRequest=async(n,a)=>{let{id:r}=a;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Hs(M_)),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_extend",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionExtendResponse=(n,a)=>{let{id:r}=a,f=Dn("session_extend",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);S6(a)?this.events.emit(Dn("session_extend",r),{}):n1(a)&&this.events.emit(Dn("session_extend",r),{error:a.error})},this.onSessionPingRequest=async(n,a)=>{let{id:r}=a;try{this.isValidPing({topic:n}),await this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:r,topic:n})}catch(f){await this.sendError({id:r,topic:n,error:f}),this.client.logger.error(f)}},this.onSessionPingResponse=(n,a)=>{let{id:r}=a,f=Dn("session_ping",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);setTimeout(()=>{S6(a)?this.events.emit(Dn("session_ping",r),{}):n1(a)&&this.events.emit(Dn("session_ping",r),{error:a.error})},500)},this.onSessionDeleteRequest=async(n,a)=>{let{id:r}=a;try{this.isValidDisconnect({topic:n,reason:a.params}),await Promise.all([new Promise(f=>{this.client.core.relayer.once(i6.publish,async()=>{f(await this.deleteSession({topic:n,id:r}))})}),this.sendResult({id:r,topic:n,result:!0,throwOnFailedPublish:!0}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ia("USER_DISCONNECTED")})])}catch(f){this.client.logger.error(f)}},this.onSessionRequest=async(n,a)=>{let{id:r,params:f}=a;try{await this.isValidRequest(zs({topic:n},f));let i=Th(JSON.stringify(f2("wc_sessionRequest",f,r))),s=this.client.session.get(n),o=await this.getVerifyContext(i,s.peer.metadata),c={id:r,topic:n,params:f,verifyContext:o};await this.setPendingSessionRequest(c),this.addSessionRequestToSessionRequestQueue(c),this.processSessionRequestQueue()}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionRequestResponse=(n,a)=>{let{id:r}=a,f=Dn("session_request",r);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionEventRequest=async(n,a)=>{let{id:r,params:f}=a;try{let i=`${n}_session_event_${f.event.name}`,s=zb.get(i);if(s&&this.isRequestOutOfSync(s,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(zs({topic:n},f)),this.client.events.emit("session_event",{id:r,topic:n,params:f}),zb.set(i,r)}catch(i){await this.sendError({id:r,topic:n,error:i}),this.client.logger.error(i)}},this.onSessionAuthenticateResponse=(n,a)=>{let{id:r}=a;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:a}),S6(a)?this.events.emit(Dn("session_request",r),{result:a.result}):n1(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionAuthenticateRequest=async(n,a)=>{let{requester:r,authPayload:f,expiryTimestamp:i}=a.params,s=Th(JSON.stringify(a)),o=await this.getVerifyContext(s,this.client.metadata),c={requester:r,pairingTopic:n,id:a.id,authPayload:f,verifyContext:o,expiryTimestamp:i};await this.client.auth.requests.set(a.id,c),this.client.events.emit("session_authenticate",{topic:n,params:a.params,id:a.id})},this.addSessionRequestToSessionRequestQueue=n=>{this.sessionRequestQueue.queue.push(n)},this.cleanupAfterResponse=n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=Eh.idle,this.processSessionRequestQueue()},(0,Fa.toMiliseconds)(this.requestQueueDelay))},this.cleanupPendingSentRequestsForTopic=({topic:n,error:a})=>{let r=this.client.core.history.pending;r.length>0&&r.filter(f=>f.topic===n&&f.request.method==="wc_sessionRequest").forEach(f=>{let i=f.request.id,s=Dn("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);this.events.emit(Dn("session_request",f.request.id),{error:a})})},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===Eh.active){this.client.logger.info("session request queue is already active.");return}let n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=Eh.active,this.client.events.emit("session_request",n)}catch(a){this.client.logger.error(a)}},this.onPairingCreated=n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;let a=this.client.proposal.getAll().find(r=>r.pairingTopic===n.topic);a&&this.onSessionProposeRequest(n.topic,f2("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async n=>{if(!g1(n)){let{message:o}=F0("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(o)}let{pairingTopic:a,requiredNamespaces:r,optionalNamespaces:f,sessionProperties:i,relays:s}=n;if(yo(a)||await this.isValidPairingTopic(a),!x60(s,!0)){let{message:o}=F0("MISSING_OR_INVALID",`connect() relays: ${s}`);throw new Error(o)}!yo(r)&&eg(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!yo(f)&&eg(f)!==0&&this.validateNamespaces(f,"optionalNamespaces"),yo(i)||this.validateSessionProps(i,"sessionProperties")},this.validateNamespaces=(n,a)=>{let r=T60(n,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async n=>{if(!g1(n))throw new Error(F0("MISSING_OR_INVALID",`approve() params: ${n}`).message);let{id:a,namespaces:r,relayProtocol:f,sessionProperties:i}=n;this.checkRecentlyDeleted(a),await this.isValidProposalId(a);let s=this.client.proposal.get(a),o=GQ(r,"approve()");if(o)throw new Error(o.message);let c=i2e(s.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Df(f,!0)){let{message:d}=F0("MISSING_OR_INVALID",`approve() relayProtocol: ${f}`);throw new Error(d)}yo(i)||this.validateSessionProps(i,"sessionProperties")},this.isValidReject=async n=>{if(!g1(n)){let{message:f}=F0("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(f)}let{id:a,reason:r}=n;if(this.checkRecentlyDeleted(a),await this.isValidProposalId(a),!_60(r)){let{message:f}=F0("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidSessionSettleRequest=n=>{if(!g1(n)){let{message:c}=F0("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(c)}let{relay:a,controller:r,namespaces:f,expiry:i}=n;if(!r2e(a)){let{message:c}=F0("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let s=v60(r,"onSessionSettleRequest()");if(s)throw new Error(s.message);let o=GQ(f,"onSessionSettleRequest()");if(o)throw new Error(o.message);if($2(i)){let{message:c}=F0("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async n=>{if(!g1(n)){let{message:o}=F0("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(o)}let{topic:a,namespaces:r}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let f=this.client.session.get(a),i=GQ(r,"update()");if(i)throw new Error(i.message);let s=i2e(f.requiredNamespaces,r,"update()");if(s)throw new Error(s.message)},this.isValidExtend=async n=>{if(!g1(n)){let{message:r}=F0("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(r)}let{topic:a}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a)},this.isValidRequest=async n=>{if(!g1(n)){let{message:o}=F0("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(o)}let{topic:a,request:r,chainId:f,expiry:i}=n;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let{namespaces:s}=this.client.session.get(a);if(!f2e(s,f)){let{message:o}=F0("MISSING_OR_INVALID",`request() chainId: ${f}`);throw new Error(o)}if(!A60(r)){let{message:o}=F0("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!k60(s,f,r.method)){let{message:o}=F0("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(i&&!R60(i,V2e)){let{message:o}=F0("MISSING_OR_INVALID",`request() expiry: ${i}. Expiry must be a number (in seconds) between ${V2e.min} and ${V2e.max}`);throw new Error(o)}},this.isValidRespond=async n=>{var a;if(!g1(n)){let{message:i}=F0("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(i)}let{topic:r,response:f}=n;try{await this.isValidSessionTopic(r)}catch(i){throw(a=n?.response)!=null&&a.id&&this.cleanupAfterResponse(n),i}if(!I60(f)){let{message:i}=F0("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(f)}`);throw new Error(i)}},this.isValidPing=async n=>{if(!g1(n)){let{message:r}=F0("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidEmit=async n=>{if(!g1(n)){let{message:s}=F0("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(s)}let{topic:a,event:r,chainId:f}=n;await this.isValidSessionTopic(a);let{namespaces:i}=this.client.session.get(a);if(!f2e(i,f)){let{message:s}=F0("MISSING_OR_INVALID",`emit() chainId: ${f}`);throw new Error(s)}if(!C60(r)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}if(!S60(i,f,r.name)){let{message:s}=F0("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(s)}},this.isValidDisconnect=async n=>{if(!g1(n)){let{message:r}=F0("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(r)}let{topic:a}=n;await this.isValidSessionOrPairingTopic(a)},this.isValidAuthenticate=n=>{let{chains:a,uri:r,domain:f,nonce:i}=n;if(!Array.isArray(a)||a.length===0)throw new Error("chains is required and must be a non-empty array");if(!Df(r,!1))throw new Error("uri is required parameter");if(!Df(f,!1))throw new Error("domain is required parameter");if(!Df(i,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>v_(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:s}=v_(a[0]);if(s!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")},this.getVerifyContext=async(n,a)=>{let r={verified:{verifyUrl:a.verifyUrl||ng,validation:"UNKNOWN",origin:a.url||""}};try{let f=await this.client.core.verify.resolve({attestationId:n,verifyUrl:a.verifyUrl});f&&(r.verified.origin=f.origin,r.verified.isScam=f.isScam,r.verified.validation=f.origin===new URL(a.url).origin?"VALID":"INVALID")}catch(f){this.client.logger.info(f)}return this.client.logger.info(`Verify context: ${JSON.stringify(r)}`),r},this.validateSessionProps=(n,a)=>{Object.values(n).forEach(r=>{if(!Df(r,!1)){let{message:f}=F0("MISSING_OR_INVALID",`${a} must be in Record format. Received: ${JSON.stringify(r)}`);throw new Error(f)}})},this.getPendingAuthRequest=n=>{let a=this.client.auth.requests.get(n);return typeof a=="object"?a:void 0},this.addToRecentlyDeleted=(n,a)=>{if(this.recentlyDeletedMap.set(n,a),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let r=0,f=this.recentlyDeletedLimit/2;for(let i of this.recentlyDeletedMap.keys()){if(r++>=f)break;this.recentlyDeletedMap.delete(i)}}},this.checkRecentlyDeleted=n=>{let a=this.recentlyDeletedMap.get(n);if(a){let{message:r}=F0("MISSING_OR_INVALID",`Record was recently deleted - ${a}: ${n}`);throw new Error(r)}}}async isInitialized(){if(!this.initialized){let{message:e}=F0("NOT_INITIALIZED",this.name);throw new Error(e)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(i6.message,async e=>{let{topic:n,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(sV)?this.client.auth.authKeys.get(sV):{responseTopic:void 0,publicKey:void 0},f=await this.client.core.crypto.decode(n,a,{receiverPublicKey:r});try{px(f)?(this.client.core.history.set(n,f),this.onRelayEventRequest({topic:n,payload:f})):xm(f)?(await this.client.core.history.resolve(f),await this.onRelayEventResponse({topic:n,payload:f}),this.client.core.history.delete(n,f.id)):this.onRelayEventUnknownPayload({topic:n,payload:f})}catch(i){this.client.logger.error(i)}})}registerExpirerEvents(){this.client.core.expirer.on(q6.expired,async e=>{let{topic:n,id:a}=HQ(e.target);if(a&&this.client.pendingRequest.keys.includes(a))return await this.deletePendingSessionRequest(a,F0("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):a&&(await this.deleteProposal(a,!0),this.client.events.emit("proposal_expire",{id:a}))})}registerPairingEvents(){this.client.core.pairing.events.on(tg.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(tg.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Df(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if($2(this.client.core.pairing.pairings.get(e).expiry)){let{message:n}=F0("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Df(e,!1)){let{message:n}=F0("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if($2(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});let{message:n}=F0("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){let{message:n}=F0("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Df(e,!1)){let{message:n}=F0("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{let{message:n}=F0("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!E60(e)){let{message:n}=F0("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){let{message:n}=F0("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if($2(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:n}=F0("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}},$2e=class extends ep{constructor(e,n){super(e,n,wun,ape),this.core=e,this.logger=n}},J2e=class extends ep{constructor(e,n){super(e,n,Tun,ape),this.core=e,this.logger=n}},X2e=class extends ep{constructor(e,n){super(e,n,Eun,ape,a=>a.id),this.core=e,this.logger=n}},Z2e=class extends ep{constructor(e,n){super(e,n,Cun,dV,()=>sV),this.core=e,this.logger=n}},epe=class extends ep{constructor(e,n){super(e,n,kun,dV),this.core=e,this.logger=n}},tpe=class extends ep{constructor(e,n){super(e,n,Sun,dV,a=>a.id),this.core=e,this.logger=n}},npe=class{constructor(e,n){this.core=e,this.logger=n,this.authKeys=new Z2e(this.core,this.logger),this.pairingTopics=new epe(this.core,this.logger),this.requests=new tpe(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},oV=class t extends rV{constructor(e){super(e),this.protocol=xd0,this.version=Ed0,this.name=Q2e.name,this.events=new cV.EventEmitter,this.on=(a,r)=>this.events.on(a,r),this.once=(a,r)=>this.events.once(a,r),this.off=(a,r)=>this.events.off(a,r),this.removeListener=(a,r)=>this.events.removeListener(a,r),this.removeAllListeners=a=>this.events.removeAllListeners(a),this.connect=async a=>{try{return await this.engine.connect(a)}catch(r){throw this.logger.error(r.message),r}},this.pair=async a=>{try{return await this.engine.pair(a)}catch(r){throw this.logger.error(r.message),r}},this.approve=async a=>{try{return await this.engine.approve(a)}catch(r){throw this.logger.error(r.message),r}},this.reject=async a=>{try{return await this.engine.reject(a)}catch(r){throw this.logger.error(r.message),r}},this.update=async a=>{try{return await this.engine.update(a)}catch(r){throw this.logger.error(r.message),r}},this.extend=async a=>{try{return await this.engine.extend(a)}catch(r){throw this.logger.error(r.message),r}},this.request=async a=>{try{return await this.engine.request(a)}catch(r){throw this.logger.error(r.message),r}},this.respond=async a=>{try{return await this.engine.respond(a)}catch(r){throw this.logger.error(r.message),r}},this.ping=async a=>{try{return await this.engine.ping(a)}catch(r){throw this.logger.error(r.message),r}},this.emit=async a=>{try{return await this.engine.emit(a)}catch(r){throw this.logger.error(r.message),r}},this.disconnect=async a=>{try{return await this.engine.disconnect(a)}catch(r){throw this.logger.error(r.message),r}},this.find=a=>{try{return this.engine.find(a)}catch(r){throw this.logger.error(r.message),r}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(a){throw this.logger.error(a.message),a}},this.authenticate=async a=>{try{return await this.engine.authenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.formatAuthMessage=a=>{try{return this.engine.formatAuthMessage(a)}catch(r){throw this.logger.error(r.message),r}},this.approveSessionAuthenticate=async a=>{try{return await this.engine.approveSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.rejectSessionAuthenticate=async a=>{try{return await this.engine.rejectSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.name=e?.name||Q2e.name,this.metadata=e?.metadata||hc0();let n=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,M7.default)(B7({level:e?.logger||Q2e.logger}));this.core=e?.core||new yd0(e),this.logger=Zo(n,this.name),this.session=new J2e(this.core,this.logger),this.proposal=new $2e(this.core,this.logger),this.pendingRequest=new X2e(this.core,this.logger),this.engine=new Y2e(this),this.auth=new npe(this.core,this.logger)}static async init(e){let n=new t(e);return await n.initialize(),n}get context(){return Xo(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.engine.init(),await this.auth.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}});var kd0=D((_h,Cd0)=>{u();p();var Id0=typeof self<"u"?self:_h,lV=function(){function t(){this.fetch=!1,this.DOMException=Id0.DOMException}return t.prototype=Id0,new t}();(function(t){var e=function(n){var a={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function r(R){return R&&DataView.prototype.isPrototypeOf(R)}if(a.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(R){return R&&f.indexOf(Object.prototype.toString.call(R))>-1};function s(R){if(typeof R!="string"&&(R=String(R)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(R))throw new TypeError("Invalid character in header field name");return R.toLowerCase()}function o(R){return typeof R!="string"&&(R=String(R)),R}function c(R){var T={next:function(){var N=R.shift();return{done:N===void 0,value:N}}};return a.iterable&&(T[Symbol.iterator]=function(){return T}),T}function d(R){this.map={},R instanceof d?R.forEach(function(T,N){this.append(N,T)},this):Array.isArray(R)?R.forEach(function(T){this.append(T[0],T[1])},this):R&&Object.getOwnPropertyNames(R).forEach(function(T){this.append(T,R[T])},this)}d.prototype.append=function(R,T){R=s(R),T=o(T);var N=this.map[R];this.map[R]=N?N+", "+T:T},d.prototype.delete=function(R){delete this.map[s(R)]},d.prototype.get=function(R){return R=s(R),this.has(R)?this.map[R]:null},d.prototype.has=function(R){return this.map.hasOwnProperty(s(R))},d.prototype.set=function(R,T){this.map[s(R)]=o(T)},d.prototype.forEach=function(R,T){for(var N in this.map)this.map.hasOwnProperty(N)&&R.call(T,this.map[N],N,this)},d.prototype.keys=function(){var R=[];return this.forEach(function(T,N){R.push(N)}),c(R)},d.prototype.values=function(){var R=[];return this.forEach(function(T){R.push(T)}),c(R)},d.prototype.entries=function(){var R=[];return this.forEach(function(T,N){R.push([N,T])}),c(R)},a.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function l(R){if(R.bodyUsed)return Promise.reject(new TypeError("Already read"));R.bodyUsed=!0}function h(R){return new Promise(function(T,N){R.onload=function(){T(R.result)},R.onerror=function(){N(R.error)}})}function y(R){var T=new FileReader,N=h(T);return T.readAsArrayBuffer(R),N}function v(R){var T=new FileReader,N=h(T);return T.readAsText(R),N}function k(R){for(var T=new Uint8Array(R),N=new Array(T.length),w=0;w-1?T:R}function j(R,T){T=T||{};var N=T.body;if(R instanceof j){if(R.bodyUsed)throw new TypeError("Already read");this.url=R.url,this.credentials=R.credentials,T.headers||(this.headers=new d(R.headers)),this.method=R.method,this.mode=R.mode,this.signal=R.signal,!N&&R._bodyInit!=null&&(N=R._bodyInit,R.bodyUsed=!0)}else this.url=String(R);if(this.credentials=T.credentials||this.credentials||"same-origin",(T.headers||!this.headers)&&(this.headers=new d(T.headers)),this.method=W(T.method||this.method||"GET"),this.mode=T.mode||this.mode||null,this.signal=T.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function Q(R){var T=new FormData;return R.trim().split("&").forEach(function(N){if(N){var w=N.split("="),b=w.shift().replace(/\+/g," "),A=w.join("=").replace(/\+/g," ");T.append(decodeURIComponent(b),decodeURIComponent(A))}}),T}function V(R){var T=new d,N=R.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(w){var b=w.split(":"),A=b.shift().trim();if(A){var P=b.join(":").trim();T.append(A,P)}}),T}F.call(j.prototype);function X(R,T){T||(T={}),this.type="default",this.status=T.status===void 0?200:T.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in T?T.statusText:"OK",this.headers=new d(T.headers),this.url=T.url||"",this._initBody(R)}F.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},X.error=function(){var R=new X(null,{status:0,statusText:""});return R.type="error",R};var K=[301,302,303,307,308];X.redirect=function(R,T){if(K.indexOf(T)===-1)throw new RangeError("Invalid status code");return new X(null,{status:T,headers:{location:R}})},n.DOMException=t.DOMException;try{new n.DOMException}catch{n.DOMException=function(T,N){this.message=T,this.name=N;var w=Error(T);this.stack=w.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function G(R,T){return new Promise(function(N,w){var b=new j(R,T);if(b.signal&&b.signal.aborted)return w(new n.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function P(){A.abort()}A.onload=function(){var L={status:A.status,statusText:A.statusText,headers:V(A.getAllResponseHeaders()||"")};L.url="responseURL"in A?A.responseURL:L.headers.get("X-Request-URL");var E="response"in A?A.response:A.responseText;N(new X(E,L))},A.onerror=function(){w(new TypeError("Network request failed"))},A.ontimeout=function(){w(new TypeError("Network request failed"))},A.onabort=function(){w(new n.DOMException("Aborted","AbortError"))},A.open(b.method,b.url,!0),b.credentials==="include"?A.withCredentials=!0:b.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&a.blob&&(A.responseType="blob"),b.headers.forEach(function(L,E){A.setRequestHeader(E,L)}),b.signal&&(b.signal.addEventListener("abort",P),A.onreadystatechange=function(){A.readyState===4&&b.signal.removeEventListener("abort",P)}),A.send(typeof b._bodyInit>"u"?null:b._bodyInit)})}return G.polyfill=!0,t.fetch||(t.fetch=G,t.Headers=d,t.Request=j,t.Response=X),n.Headers=d,n.Request=j,n.Response=X,n.fetch=G,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(lV);lV.fetch.ponyfill=!0;delete lV.fetch.polyfill;var D_=lV;_h=D_.fetch;_h.default=D_.fetch;_h.fetch=D_.fetch;_h.Headers=D_.Headers;_h.Request=D_.Request;_h.Response=D_.Response;Cd0.exports=_h});var Ld0,fpe,Lun,Fun,Nun,Sd0,Oun,Uun,Rd0,Md0,Bd0,Hun,zun,Dd0,Pd0,g5,Fd0=oe(()=>{u();p();Ld0=Ee(Or()),fpe=Ee(kd0());S7();Em();Lun=Object.defineProperty,Fun=Object.defineProperties,Nun=Object.getOwnPropertyDescriptors,Sd0=Object.getOwnPropertySymbols,Oun=Object.prototype.hasOwnProperty,Uun=Object.prototype.propertyIsEnumerable,Rd0=(t,e,n)=>e in t?Lun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Md0=(t,e)=>{for(var n in e||(e={}))Oun.call(e,n)&&Rd0(t,n,e[n]);if(Sd0)for(var n of Sd0(e))Uun.call(e,n)&&Rd0(t,n,e[n]);return t},Bd0=(t,e)=>Fun(t,Nun(e)),Hun={Accept:"application/json","Content-Type":"application/json"},zun="POST",Dd0={headers:Hun,method:zun},Pd0=10,g5=class{constructor(e,n=!1){if(this.url=e,this.disableProviderPing=n,this.events=new Ld0.EventEmitter,this.isAvailable=!1,this.registering=!1,!hW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=n}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(e){this.isAvailable||await this.register();try{let n=q1(e),a=await(await(0,fpe.default)(this.url,Bd0(Md0({},Dd0),{body:n}))).json();this.onPayload({data:a})}catch(n){this.onError(e.id,n)}}async register(e=this.url){if(!hW(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering){let n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((a,r)=>{this.events.once("register_error",f=>{this.resetMaxListeners(),r(f)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return r(new Error("HTTP connection is missing or invalid"));a()})})}this.url=e,this.registering=!0;try{if(!this.disableProviderPing){let n=q1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,fpe.default)(e,Bd0(Md0({},Dd0),{body:n}))}this.onOpen()}catch(n){let a=this.parseError(n);throw this.events.emit("register_error",a),this.onClose(),a}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;let n=typeof e.data=="string"?$u(e.data):e.data;this.events.emit("payload",n)}onError(e,n){let a=this.parseError(n),r=a.message||a.toString(),f=O8(e,r);this.events.emit("payload",f)}parseError(e,n=this.url){return WS(e,n,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>Pd0&&this.events.setMaxListeners(Pd0)}}});function Gb(t,e,n){var a;let r=v_(t);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${Gun}?chainId=${r.namespace}:${r.reference}&projectId=${n}`}function rg(t){return t.includes(":")?t.split(":")[1]:t}function Kd0(t){return t.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function Xun(t,e){let n=Object.keys(e.namespaces).filter(r=>r.includes(t));if(!n.length)return[];let a=[];return n.forEach(r=>{let f=e.namespaces[r].accounts;a.push(...f)}),a}function ipe(t={},e={}){let n=zd0(t),a=zd0(e);return dpe.exports.merge(n,a)}function zd0(t){var e,n,a,r;let f={};if(!eg(t))return f;for(let[i,s]of Object.entries(t)){let o=jQ(i)?[i]:s.chains,c=s.methods||[],d=s.events||[],l=s.rpcMap||{},h=S_(i);f[h]=Jun(uV(uV({},f[h]),s),{chains:IB(o,(e=f[h])==null?void 0:e.chains),methods:IB(c,(n=f[h])==null?void 0:n.methods),events:IB(d,(a=f[h])==null?void 0:a.events),rpcMap:uV(uV({},l),(r=f[h])==null?void 0:r.rpcMap)})}return f}function Zun(t){return t.includes(":")?t.split(":")[2]:t}function Wd0(t){let e={};for(let[n,a]of Object.entries(t)){let r=a.methods||[],f=a.events||[],i=a.accounts||[],s=jQ(n)?[n]:a.chains?a.chains:Kd0(a.accounts);e[n]={chains:s,methods:r,events:f,accounts:i}}return e}function spe(t){return typeof t=="number"?t:t.includes("0x")?parseInt(t,16):(t=t.includes(":")?t.split(":")[1]:t,isNaN(Number(t))?t:Number(t))}var Gd0,Nd0,Wun,qun,jun,Od0,Gun,Ah,NB,dpe,Kun,Qun,Vun,Ud0,Yun,$un,Hd0,uV,Jun,Qd0,vf,ope,lpe,upe,ppe,hpe,mpe,bpe,ype,gpe,e2n,t2n,n2n,qd0,a2n,r2n,jd0,pV,cpe,vpe,Vd0,Yd0=oe(()=>{u();p();Ad0();BB();Cz();Fd0();v2e();Gd0=Ee(Or());Em();Nd0="error",Wun="wss://relay.walletconnect.com",qun="wc",jun="universal_provider",Od0=`${qun}@2:${jun}:`,Gun="https://rpc.walletconnect.com/v1/",Ah={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},NB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dpe={exports:{}};(function(t,e){(function(){var n,a="4.17.21",r=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",l=1,h=2,y=4,v=1,k=2,O=1,F=2,z=4,W=8,j=16,Q=32,V=64,X=128,K=256,G=512,R=30,T="...",N=800,w=16,b=1,A=2,P=3,L=1/0,E=9007199254740991,g=17976931348623157e292,B=NaN,M=4294967295,S=M-1,q=M>>>1,ee=[["ary",X],["bind",O],["bindKey",F],["curry",W],["curryRight",j],["flip",G],["partial",Q],["partialRight",V],["rearg",K]],U="[object Arguments]",J="[object Array]",Z="[object AsyncFunction]",ne="[object Boolean]",ue="[object Date]",Y="[object DOMException]",re="[object Error]",ie="[object Function]",ge="[object GeneratorFunction]",de="[object Map]",Ae="[object Number]",Ge="[object Null]",Be="[object Object]",c0="[object Promise]",Ye="[object Proxy]",He="[object RegExp]",_0="[object Set]",L0="[object String]",Ze="[object Symbol]",C0="[object Undefined]",pe="[object WeakMap]",he="[object WeakSet]",Te="[object ArrayBuffer]",Ie="[object DataView]",Se="[object Float32Array]",Qe="[object Float64Array]",u0="[object Int8Array]",qe="[object Int16Array]",v0="[object Int32Array]",w0="[object Uint8Array]",Ve="[object Uint8ClampedArray]",me="[object Uint16Array]",ye="[object Uint32Array]",_e=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ue=/&(?:amp|lt|gt|quot|#39);/g,m0=/[&<>"']/g,h0=RegExp(Ue.source),$e=RegExp(m0.source),M0=/<%-([\s\S]+?)%>/g,P0=/<%([\s\S]+?)%>/g,t0=/<%=([\s\S]+?)%>/g,j0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z0=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B0=/[\\^$.*+?()[\]{}|]/g,K0=RegExp(B0.source),s0=/^\s+/,J0=/\s/,Y0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,l0=/\{\n\/\* \[wrapped with (.+)\] \*/,Q0=/,? & /,et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,p0=/[()=,{}\[\]\/\s]/,Z0=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$0=/\w*$/,Tt=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,Ln=/^\[object .+?Constructor\]$/,Fn=/^0o[0-7]+$/i,Nn=/^(?:0|[1-9]\d*)$/,On=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ha=/($^)/,pr=/['\n\r\u2028\u2029\\]/g,za="\\ud800-\\udfff",hr="\\u0300-\\u036f",ar="\\ufe20-\\ufe2f",Ir="\\u20d0-\\u20ff",Jr=hr+ar+Ir,rr="\\u2700-\\u27bf",cf="a-z\\xdf-\\xf6\\xf8-\\xff",Gf="\\xac\\xb1\\xd7\\xf7",Qs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",W5="\\u2000-\\u206f",q5=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ru="A-Z\\xc0-\\xd6\\xd8-\\xde",DL="\\ufe0e\\ufe0f",PL=Gf+Qs+W5+q5,ce="['\u2019]",we="["+za+"]",ve="["+PL+"]",Le="["+Jr+"]",Re="\\d+",Ne="["+rr+"]",e0="["+cf+"]",x0="[^"+za+PL+Re+rr+cf+ru+"]",S0="\\ud83c[\\udffb-\\udfff]",R0="(?:"+Le+"|"+S0+")",A0="[^"+za+"]",pt="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",ya="["+ru+"]",Ra="\\u200d",If="(?:"+e0+"|"+x0+")",Xr="(?:"+ya+"|"+x0+")",P1="(?:"+ce+"(?:d|ll|m|re|s|t|ve))?",Av="(?:"+ce+"(?:D|LL|M|RE|S|T|VE))?",Iv=R0+"?",LL="["+DL+"]?",aee="(?:"+Ra+"(?:"+[A0,pt,yn].join("|")+")"+LL+Iv+")*",FL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A_0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",y9e=LL+Iv+aee,I_0="(?:"+[Ne,pt,yn].join("|")+")"+y9e,C_0="(?:"+[A0+Le+"?",Le,pt,yn,we].join("|")+")",k_0=RegExp(ce,"g"),S_0=RegExp(Le,"g"),ree=RegExp(S0+"(?="+S0+")|"+C_0+y9e,"g"),R_0=RegExp([ya+"?"+e0+"+"+P1+"(?="+[ve,ya,"$"].join("|")+")",Xr+"+"+Av+"(?="+[ve,ya+If,"$"].join("|")+")",ya+"?"+If+"+"+P1,ya+"+"+Av,A_0,FL,Re,I_0].join("|"),"g"),M_0=RegExp("["+Ra+za+Jr+DL+"]"),B_0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,D_0=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],P_0=-1,Zr={};Zr[Se]=Zr[Qe]=Zr[u0]=Zr[qe]=Zr[v0]=Zr[w0]=Zr[Ve]=Zr[me]=Zr[ye]=!0,Zr[U]=Zr[J]=Zr[Te]=Zr[ne]=Zr[Ie]=Zr[ue]=Zr[re]=Zr[ie]=Zr[de]=Zr[Ae]=Zr[Be]=Zr[He]=Zr[_0]=Zr[L0]=Zr[pe]=!1;var Nr={};Nr[U]=Nr[J]=Nr[Te]=Nr[Ie]=Nr[ne]=Nr[ue]=Nr[Se]=Nr[Qe]=Nr[u0]=Nr[qe]=Nr[v0]=Nr[de]=Nr[Ae]=Nr[Be]=Nr[He]=Nr[_0]=Nr[L0]=Nr[Ze]=Nr[w0]=Nr[Ve]=Nr[me]=Nr[ye]=!0,Nr[re]=Nr[ie]=Nr[pe]=!1;var L_0={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},F_0={"&":"&","<":"<",">":">",'"':""","'":"'"},N_0={"&":"&","<":"<",">":">",""":'"',"'":"'"},O_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},U_0=parseFloat,H_0=parseInt,g9e=typeof NB=="object"&&NB&&NB.Object===Object&&NB,z_0=typeof self=="object"&&self&&self.Object===Object&&self,Vs=g9e||z_0||Function("return this")(),fee=e&&!e.nodeType&&e,J4=fee&&!0&&t&&!t.nodeType&&t,v9e=J4&&J4.exports===fee,iee=v9e&&g9e.process,sd=function(){try{var De=J4&&J4.require&&J4.require("util").types;return De||iee&&iee.binding&&iee.binding("util")}catch{}}(),w9e=sd&&sd.isArrayBuffer,T9e=sd&&sd.isDate,x9e=sd&&sd.isMap,E9e=sd&&sd.isRegExp,_9e=sd&&sd.isSet,A9e=sd&&sd.isTypedArray;function h6(De,Xe,We){switch(We.length){case 0:return De.call(Xe);case 1:return De.call(Xe,We[0]);case 2:return De.call(Xe,We[0],We[1]);case 3:return De.call(Xe,We[0],We[1],We[2])}return De.apply(Xe,We)}function W_0(De,Xe,We,rt){for(var Kt=-1,Wa=De==null?0:De.length;++Kt-1}function see(De,Xe,We){for(var rt=-1,Kt=De==null?0:De.length;++rt-1;);return We}function D9e(De,Xe){for(var We=De.length;We--&&Cv(Xe,De[We],0)>-1;);return We}function J_0(De,Xe){for(var We=De.length,rt=0;We--;)De[We]===Xe&&++rt;return rt}var X_0=lee(L_0),Z_0=lee(F_0);function eA0(De){return"\\"+O_0[De]}function tA0(De,Xe){return De==null?n:De[Xe]}function kv(De){return M_0.test(De)}function nA0(De){return B_0.test(De)}function aA0(De){for(var Xe,We=[];!(Xe=De.next()).done;)We.push(Xe.value);return We}function mee(De){var Xe=-1,We=Array(De.size);return De.forEach(function(rt,Kt){We[++Xe]=[Kt,rt]}),We}function P9e(De,Xe){return function(We){return De(Xe(We))}}function o3(De,Xe){for(var We=-1,rt=De.length,Kt=0,Wa=[];++We-1}function jA0(m,I){var H=this.__data__,$=eF(H,m);return $<0?(++this.size,H.push([m,I])):H[$][1]=I,this}Up.prototype.clear=HA0,Up.prototype.delete=zA0,Up.prototype.get=WA0,Up.prototype.has=qA0,Up.prototype.set=jA0;function Hp(m){var I=-1,H=m==null?0:m.length;for(this.clear();++I=I?m:I)),m}function ld(m,I,H,$,te,le){var xe,Ce=I&l,Fe=I&h,r0=I&y;if(H&&(xe=te?H(m,$,te,le):H(m)),xe!==n)return xe;if(!Cf(m))return m;var f0=nn(m);if(f0){if(xe=VI0(m),!Ce)return _c(m,xe)}else{var b0=Ro(m),V0=b0==ie||b0==ge;if(h3(m))return bge(m,Ce);if(b0==Be||b0==U||V0&&!te){if(xe=Fe||V0?{}:Lge(m),!Ce)return Fe?NI0(m,iI0(xe,m)):FI0(m,K9e(xe,m))}else{if(!Nr[b0])return te?m:{};xe=YI0(m,b0,Ce)}}le||(le=new G5);var ct=le.get(m);if(ct)return ct;le.set(m,xe),dve(m)?m.forEach(function(Dt){xe.add(ld(Dt,I,H,Dt,m,le))}):ove(m)&&m.forEach(function(Dt,Kn){xe.set(Kn,ld(Dt,I,H,Kn,m,le))});var Bt=r0?Fe?zee:Hee:Fe?Ic:ds,xn=f0?n:Bt(m);return od(xn||m,function(Dt,Kn){xn&&(Kn=Dt,Dt=m[Kn]),JI(xe,Kn,ld(Dt,I,H,Kn,m,le))}),xe}function sI0(m){var I=ds(m);return function(H){return Q9e(H,m,I)}}function Q9e(m,I,H){var $=H.length;if(m==null)return!$;for(m=Cr(m);$--;){var te=H[$],le=I[te],xe=m[te];if(xe===n&&!(te in m)||!le(xe))return!1}return!0}function V9e(m,I,H){if(typeof m!="function")throw new cd(i);return rC(function(){m.apply(n,H)},I)}function XI(m,I,H,$){var te=-1,le=NL,xe=!0,Ce=m.length,Fe=[],r0=I.length;if(!Ce)return Fe;H&&(I=df(I,m6(H))),$?(le=see,xe=!1):I.length>=r&&(le=GI,xe=!1,I=new ey(I));e:for(;++tete?0:te+H),$=$===n||$>te?te:gn($),$<0&&($+=te),$=H>$?0:uve($);H<$;)m[H++]=I;return m}function $9e(m,I){var H=[];return d3(m,function($,te,le){I($,te,le)&&H.push($)}),H}function Ys(m,I,H,$,te){var le=-1,xe=m.length;for(H||(H=JI0),te||(te=[]);++le0&&H(Ce)?I>1?Ys(Ce,I-1,H,$,te):s3(te,Ce):$||(te[te.length]=Ce)}return te}var xee=xge(),J9e=xge(!0);function fu(m,I){return m&&xee(m,I,ds)}function Eee(m,I){return m&&J9e(m,I,ds)}function nF(m,I){return i3(I,function(H){return Gp(m[H])})}function ny(m,I){I=u3(I,m);for(var H=0,$=I.length;m!=null&&H<$;)m=m[su(I[H++])];return H&&H==$?m:n}function X9e(m,I,H){var $=I(m);return nn(m)?$:s3($,H(m))}function L1(m){return m==null?m===n?C0:Ge:X4&&X4 in Cr(m)?GI0(m):rC0(m)}function _ee(m,I){return m>I}function dI0(m,I){return m!=null&&fr.call(m,I)}function lI0(m,I){return m!=null&&I in Cr(m)}function uI0(m,I,H){return m>=So(I,H)&&m=120&&f0.length>=120)?new ey(xe&&f0):n}f0=m[0];var b0=-1,V0=Ce[0];e:for(;++b0-1;)Ce!==m&&QL.call(Ce,Fe,1),QL.call(m,Fe,1);return m}function oge(m,I){for(var H=m?I.length:0,$=H-1;H--;){var te=I[H];if(H==$||te!==le){var le=te;jp(te)?QL.call(m,te,1):Dee(m,te)}}return m}function Ree(m,I){return m+$L(W9e()*(I-m+1))}function AI0(m,I,H,$){for(var te=-1,le=Yi(YL((I-m)/(H||1)),0),xe=We(le);le--;)xe[$?le:++te]=m,m+=H;return xe}function Mee(m,I){var H="";if(!m||I<1||I>E)return H;do I%2&&(H+=m),I=$L(I/2),I&&(m+=m);while(I);return H}function Sn(m,I){return Vee(Oge(m,I,Cc),m+"")}function II0(m){return G9e(Uv(m))}function CI0(m,I){var H=Uv(m);return pF(H,ty(I,0,H.length))}function tC(m,I,H,$){if(!Cf(m))return m;I=u3(I,m);for(var te=-1,le=I.length,xe=le-1,Ce=m;Ce!=null&&++tete?0:te+I),H=H>te?te:H,H<0&&(H+=te),te=I>H?0:H-I>>>0,I>>>=0;for(var le=We(te);++$>>1,xe=m[le];xe!==null&&!y6(xe)&&(H?xe<=I:xe=r){var r0=I?null:zI0(m);if(r0)return UL(r0);xe=!1,te=GI,Fe=new ey}else Fe=I?[]:Ce;e:for(;++$=$?m:ud(m,I,H)}var mge=gA0||function(m){return Vs.clearTimeout(m)};function bge(m,I){if(I)return m.slice();var H=m.length,$=N9e?N9e(H):new m.constructor(H);return m.copy($),$}function Nee(m){var I=new m.constructor(m.byteLength);return new GL(I).set(new GL(m)),I}function BI0(m,I){var H=I?Nee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.byteLength)}function DI0(m){var I=new m.constructor(m.source,$0.exec(m));return I.lastIndex=m.lastIndex,I}function PI0(m){return $I?Cr($I.call(m)):{}}function yge(m,I){var H=I?Nee(m.buffer):m.buffer;return new m.constructor(H,m.byteOffset,m.length)}function gge(m,I){if(m!==I){var H=m!==n,$=m===null,te=m===m,le=y6(m),xe=I!==n,Ce=I===null,Fe=I===I,r0=y6(I);if(!Ce&&!r0&&!le&&m>I||le&&xe&&Fe&&!Ce&&!r0||$&&xe&&Fe||!H&&Fe||!te)return 1;if(!$&&!le&&!r0&&m=Ce)return Fe;var r0=H[$];return Fe*(r0=="desc"?-1:1)}}return m.index-I.index}function vge(m,I,H,$){for(var te=-1,le=m.length,xe=H.length,Ce=-1,Fe=I.length,r0=Yi(le-xe,0),f0=We(Fe+r0),b0=!$;++Ce1?H[te-1]:n,xe=te>2?H[2]:n;for(le=m.length>3&&typeof le=="function"?(te--,le):n,xe&&F1(H[0],H[1],xe)&&(le=te<3?n:le,te=1),I=Cr(I);++$-1?te[le?I[xe]:xe]:n}}function Age(m){return qp(function(I){var H=I.length,$=H,te=dd.prototype.thru;for(m&&I.reverse();$--;){var le=I[$];if(typeof le!="function")throw new cd(i);if(te&&!xe&&lF(le)=="wrapper")var xe=new dd([],!0)}for($=xe?$:H;++$1&&fa.reverse(),f0&&FeCe))return!1;var r0=le.get(m),f0=le.get(I);if(r0&&f0)return r0==I&&f0==m;var b0=-1,V0=!0,ct=H&k?new ey:n;for(le.set(m,I),le.set(I,m);++b01?"& ":"")+I[$],I=I.join(H>2?", ":" "),m.replace(Y0,`{ + Approved: ${y.toString()}`))}),s.forEach(l=>{a||(f9(r[l].methods,i[l].methods)?f9(r[l].events,i[l].events)||(a=St("NON_CONFORMING_NAMESPACES",`${t} namespaces events don't satisfy namespace events for ${l}`)):a=St("NON_CONFORMING_NAMESPACES",`${t} namespaces methods don't satisfy namespace methods for ${l}`))}),a}function A1n(n){let e={};return Object.keys(n).forEach(t=>{var a;t.includes(":")?e[t]=n[t]:(a=n[t].chains)==null||a.forEach(r=>{e[r]={methods:n[t].methods,events:n[t].events}})}),e}function Bft(n){return[...new Set(n.map(e=>e.includes(":")?e.split(":")[0]:e))]}function k1n(n){let e={};return Object.keys(n).forEach(t=>{t.includes(":")?e[t]=n[t]:Dx(n[t].accounts)?.forEach(r=>{e[r]={accounts:n[t].accounts.filter(i=>i.includes(`${r}:`)),methods:n[t].methods,events:n[t].events}})}),e}function n1t(n,e){return Gle(n,!1)&&n<=e.max&&n>=e.min}function Jle(){let n=tP();return new Promise(e=>{switch(n){case Nc.browser:e(P1n());break;case Nc.reactNative:e(R1n());break;case Nc.node:e(L1n());break;default:e(!0)}})}function P1n(){return n4()&&navigator?.onLine}async function R1n(){return d9()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function L1n(){return!0}function a1t(n){switch(tP()){case Nc.browser:M1n(n);break;case Nc.reactNative:B1n(n);break;case Nc.node:break}}function M1n(n){!d9()&&n4()&&(window.addEventListener("online",()=>n(!0)),window.addEventListener("offline",()=>n(!1)))}function B1n(n){d9()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>n(e?.isConnected))}var Ny,t4,Nft,bx,Ele,Fft,Dle,eP,uj,Yin,Jin,rft,Xin,Zin,ift,sft,esn,Nc,tsn,Gft,Kft,fsn,osn,fft,oft,rj,cft,nle,dft,hle,bp,lft,si,dsn,is,ale,Jft,msn,bsn,hsn,en,Xft,fj,Ly,rle,yft,mft,no,z1,Qk,Zft,eot,Yk,Jk,oj,bft,Tsn,_sn,not,cj,px,rot,ZW,Vsn,$sn,Usn,qsn,Kk,Hsn,Rle,Tft,Gsn,Ksn,Qsn,Ysn,du,Yn,aP,gle,Jsn,Xsn,_x,_ft,wfn,dx,Tu,xfn,bu,yx,Afn,kfn,ole,jk,Pfn,Rfn,mot,Lfn,Mfn,mx,Bfn,wx,Nfn,mp,Ffn,Ofn,Vfn,$fn,Ufn,qfn,Hfn,zfn,bot,Wfn,hot,vle,got,jfn,Fc,Gfn,Kfn,hu,gu,vot,Tot,J3,cle,dle,Qfn,Yfn,Jfn,Xfn,_ot,Zfn,wot,Tle,xot,pon,Iot,o9,uon,tj,wft,Gk,xft,Eot,bon,hon,gon,von,Ton,_on,won,Lle,gp,vd,nj,Ion,lj,l9,Mle,Eon,Don,ij,sj,Eft,lle,ple,Con,aj,Aon,Cot,kon,Pon,Ron,Lon,_le,mle,wle,Bon,Cft,Oon,Hon,zon,Won,Sft,jon,Gon,Aft,Kon,Qon,Yon,Ble,Aot,Nle,rP,Ole,Lot,e1,xle,Ule,Mot,_u,r1n,kft,Ile,qle,f1n,o1n,c1n,d1n,Pft,l1n,p1n,Rft,Lft,u1n,_1n,w1n,ble,e4,oP=ce(()=>{p();u();rie();Ny=Te(Oh()),t4=Te(iie()),Nft=Te(GBe()),bx=Te(pNe()),Ele=Te(TNe()),Fft=Te(DNe()),Dle=Te(eS()),eP=Te(SNe()),uj=Te(RNe());tle();MNe();Yin=":";Jin=Object.defineProperty,rft=Object.getOwnPropertySymbols,Xin=Object.prototype.hasOwnProperty,Zin=Object.prototype.propertyIsEnumerable,ift=(n,e,t)=>e in n?Jin(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,sft=(n,e)=>{for(var t in e||(e={}))Xin.call(e,t)&&ift(n,t,e[t]);if(rft)for(var t of rft(e))Zin.call(e,t)&&ift(n,t,e[t]);return n},esn="ReactNative",Nc={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},tsn="js";Gft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Kft={exports:{}};(function(n){(function(){var e="input is invalid type",t="finalize already called",a=typeof window=="object",r=a?window:{};r.JS_SHA3_NO_WINDOW&&(a=!1);var i=!a&&typeof self=="object",s=!r.JS_SHA3_NO_NODE_JS&&typeof E=="object"&&E.versions&&E.versions.node;s?r=Gft:i&&(r=self);var f=!r.JS_SHA3_NO_COMMON_JS&&!0&&n.exports,o=!r.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",c="0123456789abcdef".split(""),d=[31,7936,2031616,520093696],l=[4,1024,262144,67108864],y=[1,256,65536,16777216],h=[6,1536,393216,100663296],T=[0,8,16,24],A=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],O=[224,256,384,512],N=[128,256],U=["hex","buffer","arrayBuffer","array","digest"],q={128:168,256:136};(r.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(V){return Object.prototype.toString.call(V)==="[object Array]"}),o&&(r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(V){return typeof V=="object"&&V.buffer&&V.buffer.constructor===ArrayBuffer});for(var W=function(V,Y,ee){return function(ae){return new C(V,Y,V).update(ae)[ee]()}},G=function(V,Y,ee){return function(ae,pe){return new C(V,Y,pe).update(ae)[ee]()}},X=function(V,Y,ee){return function(ae,pe,Q,ie){return b["cshake"+V].update(ae,pe,Q,ie)[ee]()}},J=function(V,Y,ee){return function(ae,pe,Q,ie){return b["kmac"+V].update(ae,pe,Q,ie)[ee]()}},j=function(V,Y,ee,ae){for(var pe=0;pe>5,this.byteCount=this.blockCount<<2,this.outputBlocks=ee>>5,this.extraBytes=(ee&31)>>3;for(var ae=0;ae<50;++ae)this.s[ae]=0}C.prototype.update=function(V){if(this.finalized)throw new Error(t);var Y,ee=typeof V;if(ee!=="string"){if(ee==="object"){if(V===null)throw new Error(e);if(o&&V.constructor===ArrayBuffer)V=new Uint8Array(V);else if(!Array.isArray(V)&&(!o||!ArrayBuffer.isView(V)))throw new Error(e)}else throw new Error(e);Y=!0}for(var ae=this.blocks,pe=this.byteCount,Q=V.length,ie=this.blockCount,se=0,be=this.s,de,we;se>2]|=V[se]<>2]|=we<>2]|=(192|we>>6)<>2]|=(128|we&63)<=57344?(ae[de>>2]|=(224|we>>12)<>2]|=(128|we>>6&63)<>2]|=(128|we&63)<>2]|=(240|we>>18)<>2]|=(128|we>>12&63)<>2]|=(128|we>>6&63)<>2]|=(128|we&63)<=pe){for(this.start=de-pe,this.block=ae[ie],de=0;de>8,ee=V&255;ee>0;)pe.unshift(ee),V=V>>8,ee=V&255,++ae;return Y?pe.push(ae):pe.unshift(ae),this.update(pe),pe.length},C.prototype.encodeString=function(V){var Y,ee=typeof V;if(ee!=="string"){if(ee==="object"){if(V===null)throw new Error(e);if(o&&V.constructor===ArrayBuffer)V=new Uint8Array(V);else if(!Array.isArray(V)&&(!o||!ArrayBuffer.isView(V)))throw new Error(e)}else throw new Error(e);Y=!0}var ae=0,pe=V.length;if(Y)ae=pe;else for(var Q=0;Q=57344?ae+=3:(ie=65536+((ie&1023)<<10|V.charCodeAt(++Q)&1023),ae+=4)}return ae+=this.encode(ae*8),this.update(V),ae},C.prototype.bytepad=function(V,Y){for(var ee=this.encode(Y),ae=0;ae>2]|=this.padding[Y&3],this.lastByteIndex===this.byteCount)for(V[0]=V[ee],Y=1;Y>4&15]+c[se&15]+c[se>>12&15]+c[se>>8&15]+c[se>>20&15]+c[se>>16&15]+c[se>>28&15]+c[se>>24&15];Q%V===0&&(te(Y),pe=0)}return ae&&(se=Y[pe],ie+=c[se>>4&15]+c[se&15],ae>1&&(ie+=c[se>>12&15]+c[se>>8&15]),ae>2&&(ie+=c[se>>20&15]+c[se>>16&15])),ie},C.prototype.arrayBuffer=function(){this.finalize();var V=this.blockCount,Y=this.s,ee=this.outputBlocks,ae=this.extraBytes,pe=0,Q=0,ie=this.outputBits>>3,se;ae?se=new ArrayBuffer(ee+1<<2):se=new ArrayBuffer(ie);for(var be=new Uint32Array(se);Q>8&255,ie[se+2]=be>>16&255,ie[se+3]=be>>24&255;Q%V===0&&te(Y)}return ae&&(se=Q<<2,be=Y[pe],ie[se]=be&255,ae>1&&(ie[se+1]=be>>8&255),ae>2&&(ie[se+2]=be>>16&255)),ie};function H(V,Y,ee){C.call(this,V,Y,ee)}H.prototype=new C,H.prototype.finalize=function(){return this.encode(this.outputBits,!0),C.prototype.finalize.call(this)};var te=function(V){var Y,ee,ae,pe,Q,ie,se,be,de,we,Oe,Se,it,qe,Me,mt,kt,je,Et,Ct,rt,Pt,Dt,We,Lt,$t,Qe,Ft,Ut,et,ue,me,_e,Be,Fe,Le,ct,ot,$e,wt,It,Ge,qt,Nt,Ve,xt,Ht,tt,Qt,Gt,st,zt,Zt,ft,Xt,_0,Kt,v0,Cn,Sn,An,kn,Pn;for(ae=0;ae<48;ae+=2)pe=V[0]^V[10]^V[20]^V[30]^V[40],Q=V[1]^V[11]^V[21]^V[31]^V[41],ie=V[2]^V[12]^V[22]^V[32]^V[42],se=V[3]^V[13]^V[23]^V[33]^V[43],be=V[4]^V[14]^V[24]^V[34]^V[44],de=V[5]^V[15]^V[25]^V[35]^V[45],we=V[6]^V[16]^V[26]^V[36]^V[46],Oe=V[7]^V[17]^V[27]^V[37]^V[47],Se=V[8]^V[18]^V[28]^V[38]^V[48],it=V[9]^V[19]^V[29]^V[39]^V[49],Y=Se^(ie<<1|se>>>31),ee=it^(se<<1|ie>>>31),V[0]^=Y,V[1]^=ee,V[10]^=Y,V[11]^=ee,V[20]^=Y,V[21]^=ee,V[30]^=Y,V[31]^=ee,V[40]^=Y,V[41]^=ee,Y=pe^(be<<1|de>>>31),ee=Q^(de<<1|be>>>31),V[2]^=Y,V[3]^=ee,V[12]^=Y,V[13]^=ee,V[22]^=Y,V[23]^=ee,V[32]^=Y,V[33]^=ee,V[42]^=Y,V[43]^=ee,Y=ie^(we<<1|Oe>>>31),ee=se^(Oe<<1|we>>>31),V[4]^=Y,V[5]^=ee,V[14]^=Y,V[15]^=ee,V[24]^=Y,V[25]^=ee,V[34]^=Y,V[35]^=ee,V[44]^=Y,V[45]^=ee,Y=be^(Se<<1|it>>>31),ee=de^(it<<1|Se>>>31),V[6]^=Y,V[7]^=ee,V[16]^=Y,V[17]^=ee,V[26]^=Y,V[27]^=ee,V[36]^=Y,V[37]^=ee,V[46]^=Y,V[47]^=ee,Y=we^(pe<<1|Q>>>31),ee=Oe^(Q<<1|pe>>>31),V[8]^=Y,V[9]^=ee,V[18]^=Y,V[19]^=ee,V[28]^=Y,V[29]^=ee,V[38]^=Y,V[39]^=ee,V[48]^=Y,V[49]^=ee,qe=V[0],Me=V[1],xt=V[11]<<4|V[10]>>>28,Ht=V[10]<<4|V[11]>>>28,Ft=V[20]<<3|V[21]>>>29,Ut=V[21]<<3|V[20]>>>29,Sn=V[31]<<9|V[30]>>>23,An=V[30]<<9|V[31]>>>23,Ge=V[40]<<18|V[41]>>>14,qt=V[41]<<18|V[40]>>>14,Be=V[2]<<1|V[3]>>>31,Fe=V[3]<<1|V[2]>>>31,mt=V[13]<<12|V[12]>>>20,kt=V[12]<<12|V[13]>>>20,tt=V[22]<<10|V[23]>>>22,Qt=V[23]<<10|V[22]>>>22,et=V[33]<<13|V[32]>>>19,ue=V[32]<<13|V[33]>>>19,kn=V[42]<<2|V[43]>>>30,Pn=V[43]<<2|V[42]>>>30,ft=V[5]<<30|V[4]>>>2,Xt=V[4]<<30|V[5]>>>2,Le=V[14]<<6|V[15]>>>26,ct=V[15]<<6|V[14]>>>26,je=V[25]<<11|V[24]>>>21,Et=V[24]<<11|V[25]>>>21,Gt=V[34]<<15|V[35]>>>17,st=V[35]<<15|V[34]>>>17,me=V[45]<<29|V[44]>>>3,_e=V[44]<<29|V[45]>>>3,We=V[6]<<28|V[7]>>>4,Lt=V[7]<<28|V[6]>>>4,_0=V[17]<<23|V[16]>>>9,Kt=V[16]<<23|V[17]>>>9,ot=V[26]<<25|V[27]>>>7,$e=V[27]<<25|V[26]>>>7,Ct=V[36]<<21|V[37]>>>11,rt=V[37]<<21|V[36]>>>11,zt=V[47]<<24|V[46]>>>8,Zt=V[46]<<24|V[47]>>>8,Nt=V[8]<<27|V[9]>>>5,Ve=V[9]<<27|V[8]>>>5,$t=V[18]<<20|V[19]>>>12,Qe=V[19]<<20|V[18]>>>12,v0=V[29]<<7|V[28]>>>25,Cn=V[28]<<7|V[29]>>>25,wt=V[38]<<8|V[39]>>>24,It=V[39]<<8|V[38]>>>24,Pt=V[48]<<14|V[49]>>>18,Dt=V[49]<<14|V[48]>>>18,V[0]=qe^~mt&je,V[1]=Me^~kt&Et,V[10]=We^~$t&Ft,V[11]=Lt^~Qe&Ut,V[20]=Be^~Le&ot,V[21]=Fe^~ct&$e,V[30]=Nt^~xt&tt,V[31]=Ve^~Ht&Qt,V[40]=ft^~_0&v0,V[41]=Xt^~Kt&Cn,V[2]=mt^~je&Ct,V[3]=kt^~Et&rt,V[12]=$t^~Ft&et,V[13]=Qe^~Ut&ue,V[22]=Le^~ot&wt,V[23]=ct^~$e&It,V[32]=xt^~tt&Gt,V[33]=Ht^~Qt&st,V[42]=_0^~v0&Sn,V[43]=Kt^~Cn&An,V[4]=je^~Ct&Pt,V[5]=Et^~rt&Dt,V[14]=Ft^~et&me,V[15]=Ut^~ue&_e,V[24]=ot^~wt&Ge,V[25]=$e^~It&qt,V[34]=tt^~Gt&zt,V[35]=Qt^~st&Zt,V[44]=v0^~Sn&kn,V[45]=Cn^~An&Pn,V[6]=Ct^~Pt&qe,V[7]=rt^~Dt&Me,V[16]=et^~me&We,V[17]=ue^~_e&Lt,V[26]=wt^~Ge&Be,V[27]=It^~qt&Fe,V[36]=Gt^~zt&Nt,V[37]=st^~Zt&Ve,V[46]=Sn^~kn&ft,V[47]=An^~Pn&Xt,V[8]=Pt^~qe&mt,V[9]=Dt^~Me&kt,V[18]=me^~We&$t,V[19]=_e^~Lt&Qe,V[28]=Ge^~Be&Le,V[29]=qt^~Fe&ct,V[38]=zt^~Nt&xt,V[39]=Zt^~Ve&Ht,V[48]=kn^~ft&_0,V[49]=Pn^~Xt&Kt,V[0]^=A[ae],V[1]^=A[ae+1]};if(f)n.exports=b;else for(L=0;Lrj[a])&&console.log.apply(console,t)}debug(...e){this._log(n.levels.DEBUG,e)}info(...e){this._log(n.levels.INFO,e)}warn(...e){this._log(n.levels.WARNING,e)}makeError(e,t,a){if(oft)return this.makeError("censored error",t,{});t||(t=n.errors.UNKNOWN_ERROR),a||(a={});let r=[];Object.keys(a).forEach(o=>{let c=a[o];try{if(c instanceof Uint8Array){let d="";for(let l=0;l>4],d+=lft[c[l]&15];r.push(o+"=Uint8Array(0x"+d+")")}else r.push(o+"="+JSON.stringify(c))}catch{r.push(o+"="+JSON.stringify(a[o].toString()))}}),r.push(`code=${t}`),r.push(`version=${this.version}`);let i=e,s="";switch(t){case bp.NUMERIC_FAULT:{s="NUMERIC_FAULT";let o=e;switch(o){case"overflow":case"underflow":case"division-by-zero":s+="-"+o;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case bp.CALL_EXCEPTION:case bp.INSUFFICIENT_FUNDS:case bp.MISSING_NEW:case bp.NONCE_EXPIRED:case bp.REPLACEMENT_UNDERPRICED:case bp.TRANSACTION_REPLACED:case bp.UNPREDICTABLE_GAS_LIMIT:s=t;break}s&&(e+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),r.length&&(e+=" ("+r.join(", ")+")");let f=new Error(e);return f.reason=i,f.code=t,Object.keys(a).forEach(function(o){f[o]=a[o]}),f}throwError(e,t,a){throw this.makeError(e,t,a)}throwArgumentError(e,t,a){return this.throwError(e,n.errors.INVALID_ARGUMENT,{argument:t,value:a})}assert(e,t,a,r){e||this.throwError(t,a,r)}assertArgument(e,t,a,r){e||this.throwArgumentError(t,a,r)}checkNormalize(e){dft&&this.throwError("platform missing String.prototype.normalize",n.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:dft})}checkSafeUint53(e,t){typeof e=="number"&&(t==null&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,n.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,n.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,a){a?a=": "+a:a="",et&&this.throwError("too many arguments"+a,n.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||e==null)&&this.throwError("missing new",n.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",n.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",n.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return nle||(nle=new n(osn)),nle}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",n.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),fft){if(!e)return;this.globalLogger().throwError("error censorship permanent",n.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}oft=!!e,fft=!!t}static setLogLevel(e){let t=rj[e.toLowerCase()];if(t==null){n.globalLogger().warn("invalid log level - "+e);return}cft=t}static from(e){return new n(e)}};si.errors=bp,si.levels=hle;dsn="bytes/5.7.0",is=new si(dsn);ale="0123456789abcdef";Jft={exports:{}},msn={},bsn=Object.freeze({__proto__:null,default:msn}),hsn=ssn(bsn);(function(n){(function(e,t){function a(v,b){if(!v)throw new Error(b||"Assertion failed")}function r(v,b){v.super_=b;var x=function(){};x.prototype=b.prototype,v.prototype=new x,v.prototype.constructor=v}function i(v,b,x){if(i.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&((b==="le"||b==="be")&&(x=b,b=10),this._init(v||0,b||10,x||"be"))}typeof e=="object"?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;var s;try{typeof window<"u"&&typeof window.Buffer<"u"?s=window.Buffer:s=hsn.Buffer}catch{}i.isBN=function(v){return v instanceof i?!0:v!==null&&typeof v=="object"&&v.constructor.wordSize===i.wordSize&&Array.isArray(v.words)},i.max=function(v,b){return v.cmp(b)>0?v:b},i.min=function(v,b){return v.cmp(b)<0?v:b},i.prototype._init=function(v,b,x){if(typeof v=="number")return this._initNumber(v,b,x);if(typeof v=="object")return this._initArray(v,b,x);b==="hex"&&(b=16),a(b===(b|0)&&b>=2&&b<=36),v=v.toString().replace(/\s+/g,"");var L=0;v[0]==="-"&&(L++,this.negative=1),L=0;L-=3)w=v[L]|v[L-1]<<8|v[L-2]<<16,this.words[M]|=w<>>26-g&67108863,g+=24,g>=26&&(g-=26,M++);else if(x==="le")for(L=0,M=0;L>>26-g&67108863,g+=24,g>=26&&(g-=26,M++);return this._strip()};function f(v,b){var x=v.charCodeAt(b);if(x>=48&&x<=57)return x-48;if(x>=65&&x<=70)return x-55;if(x>=97&&x<=102)return x-87;a(!1,"Invalid character in "+v)}function o(v,b,x){var L=f(v,x);return x-1>=b&&(L|=f(v,x-1)<<4),L}i.prototype._parseHex=function(v,b,x){this.length=Math.ceil((v.length-b)/6),this.words=new Array(this.length);for(var L=0;L=b;L-=2)g=o(v,b,L)<=18?(M-=18,w+=1,this.words[w]|=g>>>26):M+=8;else{var R=v.length-b;for(L=R%2===0?b+1:b;L=18?(M-=18,w+=1,this.words[w]|=g>>>26):M+=8}this._strip()};function c(v,b,x,L){for(var M=0,w=0,g=Math.min(v.length,x),R=b;R=49?w=k-49+10:k>=17?w=k-17+10:w=k,a(k>=0&&w1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var y=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],T=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(v,b){v=v||10,b=b|0||1;var x;if(v===16||v==="hex"){x="";for(var L=0,M=0,w=0;w>>24-L&16777215,L+=2,L>=26&&(L-=26,w--),M!==0||w!==this.length-1?x=y[6-R.length]+R+x:x=R+x}for(M!==0&&(x=M.toString(16)+x);x.length%b!==0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(v===(v|0)&&v>=2&&v<=36){var k=h[v],C=T[v];x="";var H=this.clone();for(H.negative=0;!H.isZero();){var te=H.modrn(C).toString(v);H=H.idivn(C),H.isZero()?x=te+x:x=y[k-te.length]+te+x}for(this.isZero()&&(x="0"+x);x.length%b!==0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}a(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var v=this.words[0];return this.length===2?v+=this.words[1]*67108864:this.length===3&&this.words[2]===1?v+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-v:v},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(v,b){return this.toArrayLike(s,v,b)}),i.prototype.toArray=function(v,b){return this.toArrayLike(Array,v,b)};var A=function(v,b){return v.allocUnsafe?v.allocUnsafe(b):new v(b)};i.prototype.toArrayLike=function(v,b,x){this._strip();var L=this.byteLength(),M=x||Math.max(1,L);a(L<=M,"byte array longer than desired length"),a(M>0,"Requested array length <= 0");var w=A(v,M),g=b==="le"?"LE":"BE";return this["_toArrayLike"+g](w,L),w},i.prototype._toArrayLikeLE=function(v,b){for(var x=0,L=0,M=0,w=0;M>8&255),x>16&255),w===6?(x>24&255),L=0,w=0):(L=g>>>24,w+=2)}if(x=0&&(v[x--]=g>>8&255),x>=0&&(v[x--]=g>>16&255),w===6?(x>=0&&(v[x--]=g>>24&255),L=0,w=0):(L=g>>>24,w+=2)}if(x>=0)for(v[x--]=L;x>=0;)v[x--]=0},Math.clz32?i.prototype._countBits=function(v){return 32-Math.clz32(v)}:i.prototype._countBits=function(v){var b=v,x=0;return b>=4096&&(x+=13,b>>>=13),b>=64&&(x+=7,b>>>=7),b>=8&&(x+=4,b>>>=4),b>=2&&(x+=2,b>>>=2),x+b},i.prototype._zeroBits=function(v){if(v===0)return 26;var b=v,x=0;return b&8191||(x+=13,b>>>=13),b&127||(x+=7,b>>>=7),b&15||(x+=4,b>>>=4),b&3||(x+=2,b>>>=2),b&1||x++,x},i.prototype.bitLength=function(){var v=this.words[this.length-1],b=this._countBits(v);return(this.length-1)*26+b};function O(v){for(var b=new Array(v.bitLength()),x=0;x>>M&1}return b}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var v=0,b=0;bv.length?this.clone().ior(v):v.clone().ior(this)},i.prototype.uor=function(v){return this.length>v.length?this.clone().iuor(v):v.clone().iuor(this)},i.prototype.iuand=function(v){var b;this.length>v.length?b=v:b=this;for(var x=0;xv.length?this.clone().iand(v):v.clone().iand(this)},i.prototype.uand=function(v){return this.length>v.length?this.clone().iuand(v):v.clone().iuand(this)},i.prototype.iuxor=function(v){var b,x;this.length>v.length?(b=this,x=v):(b=v,x=this);for(var L=0;Lv.length?this.clone().ixor(v):v.clone().ixor(this)},i.prototype.uxor=function(v){return this.length>v.length?this.clone().iuxor(v):v.clone().iuxor(this)},i.prototype.inotn=function(v){a(typeof v=="number"&&v>=0);var b=Math.ceil(v/26)|0,x=v%26;this._expand(b),x>0&&b--;for(var L=0;L0&&(this.words[L]=~this.words[L]&67108863>>26-x),this._strip()},i.prototype.notn=function(v){return this.clone().inotn(v)},i.prototype.setn=function(v,b){a(typeof v=="number"&&v>=0);var x=v/26|0,L=v%26;return this._expand(x+1),b?this.words[x]=this.words[x]|1<v.length?(x=this,L=v):(x=v,L=this);for(var M=0,w=0;w>>26;for(;M!==0&&w>>26;if(this.length=x.length,M!==0)this.words[this.length]=M,this.length++;else if(x!==this)for(;wv.length?this.clone().iadd(v):v.clone().iadd(this)},i.prototype.isub=function(v){if(v.negative!==0){v.negative=0;var b=this.iadd(v);return v.negative=1,b._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(v),this.negative=1,this._normSign();var x=this.cmp(v);if(x===0)return this.negative=0,this.length=1,this.words[0]=0,this;var L,M;x>0?(L=this,M=v):(L=v,M=this);for(var w=0,g=0;g>26,this.words[g]=b&67108863;for(;w!==0&&g>26,this.words[g]=b&67108863;if(w===0&&g>>26,te=k&67108863,V=Math.min(C,b.length-1),Y=Math.max(0,C-v.length+1);Y<=V;Y++){var ee=C-Y|0;M=v.words[ee]|0,w=b.words[Y]|0,g=M*w+te,H+=g/67108864|0,te=g&67108863}x.words[C]=te|0,k=H|0}return k!==0?x.words[C]=k|0:x.length--,x._strip()}var U=function(v,b,x){var L=v.words,M=b.words,w=x.words,g=0,R,k,C,H=L[0]|0,te=H&8191,V=H>>>13,Y=L[1]|0,ee=Y&8191,ae=Y>>>13,pe=L[2]|0,Q=pe&8191,ie=pe>>>13,se=L[3]|0,be=se&8191,de=se>>>13,we=L[4]|0,Oe=we&8191,Se=we>>>13,it=L[5]|0,qe=it&8191,Me=it>>>13,mt=L[6]|0,kt=mt&8191,je=mt>>>13,Et=L[7]|0,Ct=Et&8191,rt=Et>>>13,Pt=L[8]|0,Dt=Pt&8191,We=Pt>>>13,Lt=L[9]|0,$t=Lt&8191,Qe=Lt>>>13,Ft=M[0]|0,Ut=Ft&8191,et=Ft>>>13,ue=M[1]|0,me=ue&8191,_e=ue>>>13,Be=M[2]|0,Fe=Be&8191,Le=Be>>>13,ct=M[3]|0,ot=ct&8191,$e=ct>>>13,wt=M[4]|0,It=wt&8191,Ge=wt>>>13,qt=M[5]|0,Nt=qt&8191,Ve=qt>>>13,xt=M[6]|0,Ht=xt&8191,tt=xt>>>13,Qt=M[7]|0,Gt=Qt&8191,st=Qt>>>13,zt=M[8]|0,Zt=zt&8191,ft=zt>>>13,Xt=M[9]|0,_0=Xt&8191,Kt=Xt>>>13;x.negative=v.negative^b.negative,x.length=19,R=Math.imul(te,Ut),k=Math.imul(te,et),k=k+Math.imul(V,Ut)|0,C=Math.imul(V,et);var v0=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(v0>>>26)|0,v0&=67108863,R=Math.imul(ee,Ut),k=Math.imul(ee,et),k=k+Math.imul(ae,Ut)|0,C=Math.imul(ae,et),R=R+Math.imul(te,me)|0,k=k+Math.imul(te,_e)|0,k=k+Math.imul(V,me)|0,C=C+Math.imul(V,_e)|0;var Cn=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Cn>>>26)|0,Cn&=67108863,R=Math.imul(Q,Ut),k=Math.imul(Q,et),k=k+Math.imul(ie,Ut)|0,C=Math.imul(ie,et),R=R+Math.imul(ee,me)|0,k=k+Math.imul(ee,_e)|0,k=k+Math.imul(ae,me)|0,C=C+Math.imul(ae,_e)|0,R=R+Math.imul(te,Fe)|0,k=k+Math.imul(te,Le)|0,k=k+Math.imul(V,Fe)|0,C=C+Math.imul(V,Le)|0;var Sn=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Sn>>>26)|0,Sn&=67108863,R=Math.imul(be,Ut),k=Math.imul(be,et),k=k+Math.imul(de,Ut)|0,C=Math.imul(de,et),R=R+Math.imul(Q,me)|0,k=k+Math.imul(Q,_e)|0,k=k+Math.imul(ie,me)|0,C=C+Math.imul(ie,_e)|0,R=R+Math.imul(ee,Fe)|0,k=k+Math.imul(ee,Le)|0,k=k+Math.imul(ae,Fe)|0,C=C+Math.imul(ae,Le)|0,R=R+Math.imul(te,ot)|0,k=k+Math.imul(te,$e)|0,k=k+Math.imul(V,ot)|0,C=C+Math.imul(V,$e)|0;var An=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(An>>>26)|0,An&=67108863,R=Math.imul(Oe,Ut),k=Math.imul(Oe,et),k=k+Math.imul(Se,Ut)|0,C=Math.imul(Se,et),R=R+Math.imul(be,me)|0,k=k+Math.imul(be,_e)|0,k=k+Math.imul(de,me)|0,C=C+Math.imul(de,_e)|0,R=R+Math.imul(Q,Fe)|0,k=k+Math.imul(Q,Le)|0,k=k+Math.imul(ie,Fe)|0,C=C+Math.imul(ie,Le)|0,R=R+Math.imul(ee,ot)|0,k=k+Math.imul(ee,$e)|0,k=k+Math.imul(ae,ot)|0,C=C+Math.imul(ae,$e)|0,R=R+Math.imul(te,It)|0,k=k+Math.imul(te,Ge)|0,k=k+Math.imul(V,It)|0,C=C+Math.imul(V,Ge)|0;var kn=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(kn>>>26)|0,kn&=67108863,R=Math.imul(qe,Ut),k=Math.imul(qe,et),k=k+Math.imul(Me,Ut)|0,C=Math.imul(Me,et),R=R+Math.imul(Oe,me)|0,k=k+Math.imul(Oe,_e)|0,k=k+Math.imul(Se,me)|0,C=C+Math.imul(Se,_e)|0,R=R+Math.imul(be,Fe)|0,k=k+Math.imul(be,Le)|0,k=k+Math.imul(de,Fe)|0,C=C+Math.imul(de,Le)|0,R=R+Math.imul(Q,ot)|0,k=k+Math.imul(Q,$e)|0,k=k+Math.imul(ie,ot)|0,C=C+Math.imul(ie,$e)|0,R=R+Math.imul(ee,It)|0,k=k+Math.imul(ee,Ge)|0,k=k+Math.imul(ae,It)|0,C=C+Math.imul(ae,Ge)|0,R=R+Math.imul(te,Nt)|0,k=k+Math.imul(te,Ve)|0,k=k+Math.imul(V,Nt)|0,C=C+Math.imul(V,Ve)|0;var Pn=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,R=Math.imul(kt,Ut),k=Math.imul(kt,et),k=k+Math.imul(je,Ut)|0,C=Math.imul(je,et),R=R+Math.imul(qe,me)|0,k=k+Math.imul(qe,_e)|0,k=k+Math.imul(Me,me)|0,C=C+Math.imul(Me,_e)|0,R=R+Math.imul(Oe,Fe)|0,k=k+Math.imul(Oe,Le)|0,k=k+Math.imul(Se,Fe)|0,C=C+Math.imul(Se,Le)|0,R=R+Math.imul(be,ot)|0,k=k+Math.imul(be,$e)|0,k=k+Math.imul(de,ot)|0,C=C+Math.imul(de,$e)|0,R=R+Math.imul(Q,It)|0,k=k+Math.imul(Q,Ge)|0,k=k+Math.imul(ie,It)|0,C=C+Math.imul(ie,Ge)|0,R=R+Math.imul(ee,Nt)|0,k=k+Math.imul(ee,Ve)|0,k=k+Math.imul(ae,Nt)|0,C=C+Math.imul(ae,Ve)|0,R=R+Math.imul(te,Ht)|0,k=k+Math.imul(te,tt)|0,k=k+Math.imul(V,Ht)|0,C=C+Math.imul(V,tt)|0;var ka=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(ka>>>26)|0,ka&=67108863,R=Math.imul(Ct,Ut),k=Math.imul(Ct,et),k=k+Math.imul(rt,Ut)|0,C=Math.imul(rt,et),R=R+Math.imul(kt,me)|0,k=k+Math.imul(kt,_e)|0,k=k+Math.imul(je,me)|0,C=C+Math.imul(je,_e)|0,R=R+Math.imul(qe,Fe)|0,k=k+Math.imul(qe,Le)|0,k=k+Math.imul(Me,Fe)|0,C=C+Math.imul(Me,Le)|0,R=R+Math.imul(Oe,ot)|0,k=k+Math.imul(Oe,$e)|0,k=k+Math.imul(Se,ot)|0,C=C+Math.imul(Se,$e)|0,R=R+Math.imul(be,It)|0,k=k+Math.imul(be,Ge)|0,k=k+Math.imul(de,It)|0,C=C+Math.imul(de,Ge)|0,R=R+Math.imul(Q,Nt)|0,k=k+Math.imul(Q,Ve)|0,k=k+Math.imul(ie,Nt)|0,C=C+Math.imul(ie,Ve)|0,R=R+Math.imul(ee,Ht)|0,k=k+Math.imul(ee,tt)|0,k=k+Math.imul(ae,Ht)|0,C=C+Math.imul(ae,tt)|0,R=R+Math.imul(te,Gt)|0,k=k+Math.imul(te,st)|0,k=k+Math.imul(V,Gt)|0,C=C+Math.imul(V,st)|0;var nr=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(nr>>>26)|0,nr&=67108863,R=Math.imul(Dt,Ut),k=Math.imul(Dt,et),k=k+Math.imul(We,Ut)|0,C=Math.imul(We,et),R=R+Math.imul(Ct,me)|0,k=k+Math.imul(Ct,_e)|0,k=k+Math.imul(rt,me)|0,C=C+Math.imul(rt,_e)|0,R=R+Math.imul(kt,Fe)|0,k=k+Math.imul(kt,Le)|0,k=k+Math.imul(je,Fe)|0,C=C+Math.imul(je,Le)|0,R=R+Math.imul(qe,ot)|0,k=k+Math.imul(qe,$e)|0,k=k+Math.imul(Me,ot)|0,C=C+Math.imul(Me,$e)|0,R=R+Math.imul(Oe,It)|0,k=k+Math.imul(Oe,Ge)|0,k=k+Math.imul(Se,It)|0,C=C+Math.imul(Se,Ge)|0,R=R+Math.imul(be,Nt)|0,k=k+Math.imul(be,Ve)|0,k=k+Math.imul(de,Nt)|0,C=C+Math.imul(de,Ve)|0,R=R+Math.imul(Q,Ht)|0,k=k+Math.imul(Q,tt)|0,k=k+Math.imul(ie,Ht)|0,C=C+Math.imul(ie,tt)|0,R=R+Math.imul(ee,Gt)|0,k=k+Math.imul(ee,st)|0,k=k+Math.imul(ae,Gt)|0,C=C+Math.imul(ae,st)|0,R=R+Math.imul(te,Zt)|0,k=k+Math.imul(te,ft)|0,k=k+Math.imul(V,Zt)|0,C=C+Math.imul(V,ft)|0;var Pa=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Pa>>>26)|0,Pa&=67108863,R=Math.imul($t,Ut),k=Math.imul($t,et),k=k+Math.imul(Qe,Ut)|0,C=Math.imul(Qe,et),R=R+Math.imul(Dt,me)|0,k=k+Math.imul(Dt,_e)|0,k=k+Math.imul(We,me)|0,C=C+Math.imul(We,_e)|0,R=R+Math.imul(Ct,Fe)|0,k=k+Math.imul(Ct,Le)|0,k=k+Math.imul(rt,Fe)|0,C=C+Math.imul(rt,Le)|0,R=R+Math.imul(kt,ot)|0,k=k+Math.imul(kt,$e)|0,k=k+Math.imul(je,ot)|0,C=C+Math.imul(je,$e)|0,R=R+Math.imul(qe,It)|0,k=k+Math.imul(qe,Ge)|0,k=k+Math.imul(Me,It)|0,C=C+Math.imul(Me,Ge)|0,R=R+Math.imul(Oe,Nt)|0,k=k+Math.imul(Oe,Ve)|0,k=k+Math.imul(Se,Nt)|0,C=C+Math.imul(Se,Ve)|0,R=R+Math.imul(be,Ht)|0,k=k+Math.imul(be,tt)|0,k=k+Math.imul(de,Ht)|0,C=C+Math.imul(de,tt)|0,R=R+Math.imul(Q,Gt)|0,k=k+Math.imul(Q,st)|0,k=k+Math.imul(ie,Gt)|0,C=C+Math.imul(ie,st)|0,R=R+Math.imul(ee,Zt)|0,k=k+Math.imul(ee,ft)|0,k=k+Math.imul(ae,Zt)|0,C=C+Math.imul(ae,ft)|0,R=R+Math.imul(te,_0)|0,k=k+Math.imul(te,Kt)|0,k=k+Math.imul(V,_0)|0,C=C+Math.imul(V,Kt)|0;var ar=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(ar>>>26)|0,ar&=67108863,R=Math.imul($t,me),k=Math.imul($t,_e),k=k+Math.imul(Qe,me)|0,C=Math.imul(Qe,_e),R=R+Math.imul(Dt,Fe)|0,k=k+Math.imul(Dt,Le)|0,k=k+Math.imul(We,Fe)|0,C=C+Math.imul(We,Le)|0,R=R+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,$e)|0,k=k+Math.imul(rt,ot)|0,C=C+Math.imul(rt,$e)|0,R=R+Math.imul(kt,It)|0,k=k+Math.imul(kt,Ge)|0,k=k+Math.imul(je,It)|0,C=C+Math.imul(je,Ge)|0,R=R+Math.imul(qe,Nt)|0,k=k+Math.imul(qe,Ve)|0,k=k+Math.imul(Me,Nt)|0,C=C+Math.imul(Me,Ve)|0,R=R+Math.imul(Oe,Ht)|0,k=k+Math.imul(Oe,tt)|0,k=k+Math.imul(Se,Ht)|0,C=C+Math.imul(Se,tt)|0,R=R+Math.imul(be,Gt)|0,k=k+Math.imul(be,st)|0,k=k+Math.imul(de,Gt)|0,C=C+Math.imul(de,st)|0,R=R+Math.imul(Q,Zt)|0,k=k+Math.imul(Q,ft)|0,k=k+Math.imul(ie,Zt)|0,C=C+Math.imul(ie,ft)|0,R=R+Math.imul(ee,_0)|0,k=k+Math.imul(ee,Kt)|0,k=k+Math.imul(ae,_0)|0,C=C+Math.imul(ae,Kt)|0;var za=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(za>>>26)|0,za&=67108863,R=Math.imul($t,Fe),k=Math.imul($t,Le),k=k+Math.imul(Qe,Fe)|0,C=Math.imul(Qe,Le),R=R+Math.imul(Dt,ot)|0,k=k+Math.imul(Dt,$e)|0,k=k+Math.imul(We,ot)|0,C=C+Math.imul(We,$e)|0,R=R+Math.imul(Ct,It)|0,k=k+Math.imul(Ct,Ge)|0,k=k+Math.imul(rt,It)|0,C=C+Math.imul(rt,Ge)|0,R=R+Math.imul(kt,Nt)|0,k=k+Math.imul(kt,Ve)|0,k=k+Math.imul(je,Nt)|0,C=C+Math.imul(je,Ve)|0,R=R+Math.imul(qe,Ht)|0,k=k+Math.imul(qe,tt)|0,k=k+Math.imul(Me,Ht)|0,C=C+Math.imul(Me,tt)|0,R=R+Math.imul(Oe,Gt)|0,k=k+Math.imul(Oe,st)|0,k=k+Math.imul(Se,Gt)|0,C=C+Math.imul(Se,st)|0,R=R+Math.imul(be,Zt)|0,k=k+Math.imul(be,ft)|0,k=k+Math.imul(de,Zt)|0,C=C+Math.imul(de,ft)|0,R=R+Math.imul(Q,_0)|0,k=k+Math.imul(Q,Kt)|0,k=k+Math.imul(ie,_0)|0,C=C+Math.imul(ie,Kt)|0;var mr=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(mr>>>26)|0,mr&=67108863,R=Math.imul($t,ot),k=Math.imul($t,$e),k=k+Math.imul(Qe,ot)|0,C=Math.imul(Qe,$e),R=R+Math.imul(Dt,It)|0,k=k+Math.imul(Dt,Ge)|0,k=k+Math.imul(We,It)|0,C=C+Math.imul(We,Ge)|0,R=R+Math.imul(Ct,Nt)|0,k=k+Math.imul(Ct,Ve)|0,k=k+Math.imul(rt,Nt)|0,C=C+Math.imul(rt,Ve)|0,R=R+Math.imul(kt,Ht)|0,k=k+Math.imul(kt,tt)|0,k=k+Math.imul(je,Ht)|0,C=C+Math.imul(je,tt)|0,R=R+Math.imul(qe,Gt)|0,k=k+Math.imul(qe,st)|0,k=k+Math.imul(Me,Gt)|0,C=C+Math.imul(Me,st)|0,R=R+Math.imul(Oe,Zt)|0,k=k+Math.imul(Oe,ft)|0,k=k+Math.imul(Se,Zt)|0,C=C+Math.imul(Se,ft)|0,R=R+Math.imul(be,_0)|0,k=k+Math.imul(be,Kt)|0,k=k+Math.imul(de,_0)|0,C=C+Math.imul(de,Kt)|0;var $r=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+($r>>>26)|0,$r&=67108863,R=Math.imul($t,It),k=Math.imul($t,Ge),k=k+Math.imul(Qe,It)|0,C=Math.imul(Qe,Ge),R=R+Math.imul(Dt,Nt)|0,k=k+Math.imul(Dt,Ve)|0,k=k+Math.imul(We,Nt)|0,C=C+Math.imul(We,Ve)|0,R=R+Math.imul(Ct,Ht)|0,k=k+Math.imul(Ct,tt)|0,k=k+Math.imul(rt,Ht)|0,C=C+Math.imul(rt,tt)|0,R=R+Math.imul(kt,Gt)|0,k=k+Math.imul(kt,st)|0,k=k+Math.imul(je,Gt)|0,C=C+Math.imul(je,st)|0,R=R+Math.imul(qe,Zt)|0,k=k+Math.imul(qe,ft)|0,k=k+Math.imul(Me,Zt)|0,C=C+Math.imul(Me,ft)|0,R=R+Math.imul(Oe,_0)|0,k=k+Math.imul(Oe,Kt)|0,k=k+Math.imul(Se,_0)|0,C=C+Math.imul(Se,Kt)|0;var Wa=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Wa>>>26)|0,Wa&=67108863,R=Math.imul($t,Nt),k=Math.imul($t,Ve),k=k+Math.imul(Qe,Nt)|0,C=Math.imul(Qe,Ve),R=R+Math.imul(Dt,Ht)|0,k=k+Math.imul(Dt,tt)|0,k=k+Math.imul(We,Ht)|0,C=C+Math.imul(We,tt)|0,R=R+Math.imul(Ct,Gt)|0,k=k+Math.imul(Ct,st)|0,k=k+Math.imul(rt,Gt)|0,C=C+Math.imul(rt,st)|0,R=R+Math.imul(kt,Zt)|0,k=k+Math.imul(kt,ft)|0,k=k+Math.imul(je,Zt)|0,C=C+Math.imul(je,ft)|0,R=R+Math.imul(qe,_0)|0,k=k+Math.imul(qe,Kt)|0,k=k+Math.imul(Me,_0)|0,C=C+Math.imul(Me,Kt)|0;var Jr=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Jr>>>26)|0,Jr&=67108863,R=Math.imul($t,Ht),k=Math.imul($t,tt),k=k+Math.imul(Qe,Ht)|0,C=Math.imul(Qe,tt),R=R+Math.imul(Dt,Gt)|0,k=k+Math.imul(Dt,st)|0,k=k+Math.imul(We,Gt)|0,C=C+Math.imul(We,st)|0,R=R+Math.imul(Ct,Zt)|0,k=k+Math.imul(Ct,ft)|0,k=k+Math.imul(rt,Zt)|0,C=C+Math.imul(rt,ft)|0,R=R+Math.imul(kt,_0)|0,k=k+Math.imul(kt,Kt)|0,k=k+Math.imul(je,_0)|0,C=C+Math.imul(je,Kt)|0;var Si=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Si>>>26)|0,Si&=67108863,R=Math.imul($t,Gt),k=Math.imul($t,st),k=k+Math.imul(Qe,Gt)|0,C=Math.imul(Qe,st),R=R+Math.imul(Dt,Zt)|0,k=k+Math.imul(Dt,ft)|0,k=k+Math.imul(We,Zt)|0,C=C+Math.imul(We,ft)|0,R=R+Math.imul(Ct,_0)|0,k=k+Math.imul(Ct,Kt)|0,k=k+Math.imul(rt,_0)|0,C=C+Math.imul(rt,Kt)|0;var Pf=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(Pf>>>26)|0,Pf&=67108863,R=Math.imul($t,Zt),k=Math.imul($t,ft),k=k+Math.imul(Qe,Zt)|0,C=Math.imul(Qe,ft),R=R+Math.imul(Dt,_0)|0,k=k+Math.imul(Dt,Kt)|0,k=k+Math.imul(We,_0)|0,C=C+Math.imul(We,Kt)|0;var yl=(g+R|0)+((k&8191)<<13)|0;g=(C+(k>>>13)|0)+(yl>>>26)|0,yl&=67108863,R=Math.imul($t,_0),k=Math.imul($t,Kt),k=k+Math.imul(Qe,_0)|0,C=Math.imul(Qe,Kt);var ml=(g+R|0)+((k&8191)<<13)|0;return g=(C+(k>>>13)|0)+(ml>>>26)|0,ml&=67108863,w[0]=v0,w[1]=Cn,w[2]=Sn,w[3]=An,w[4]=kn,w[5]=Pn,w[6]=ka,w[7]=nr,w[8]=Pa,w[9]=ar,w[10]=za,w[11]=mr,w[12]=$r,w[13]=Wa,w[14]=Jr,w[15]=Si,w[16]=Pf,w[17]=yl,w[18]=ml,g!==0&&(w[19]=g,x.length++),x};Math.imul||(U=N);function q(v,b,x){x.negative=b.negative^v.negative,x.length=v.length+b.length;for(var L=0,M=0,w=0;w>>26)|0,M+=g>>>26,g&=67108863}x.words[w]=R,L=g,g=M}return L!==0?x.words[w]=L:x.length--,x._strip()}function W(v,b,x){return q(v,b,x)}i.prototype.mulTo=function(v,b){var x,L=this.length+v.length;return this.length===10&&v.length===10?x=U(this,v,b):L<63?x=N(this,v,b):L<1024?x=q(this,v,b):x=W(this,v,b),x},i.prototype.mul=function(v){var b=new i(null);return b.words=new Array(this.length+v.length),this.mulTo(v,b)},i.prototype.mulf=function(v){var b=new i(null);return b.words=new Array(this.length+v.length),W(this,v,b)},i.prototype.imul=function(v){return this.clone().mulTo(v,this)},i.prototype.imuln=function(v){var b=v<0;b&&(v=-v),a(typeof v=="number"),a(v<67108864);for(var x=0,L=0;L>=26,x+=M/67108864|0,x+=w>>>26,this.words[L]=w&67108863}return x!==0&&(this.words[L]=x,this.length++),b?this.ineg():this},i.prototype.muln=function(v){return this.clone().imuln(v)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(v){var b=O(v);if(b.length===0)return new i(1);for(var x=this,L=0;L=0);var b=v%26,x=(v-b)/26,L=67108863>>>26-b<<26-b,M;if(b!==0){var w=0;for(M=0;M>>26-b}w&&(this.words[M]=w,this.length++)}if(x!==0){for(M=this.length-1;M>=0;M--)this.words[M+x]=this.words[M];for(M=0;M=0);var L;b?L=(b-b%26)/26:L=0;var M=v%26,w=Math.min((v-M)/26,this.length),g=67108863^67108863>>>M<w)for(this.length-=w,k=0;k=0&&(C!==0||k>=L);k--){var H=this.words[k]|0;this.words[k]=C<<26-M|H>>>M,C=H&g}return R&&C!==0&&(R.words[R.length++]=C),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(v,b,x){return a(this.negative===0),this.iushrn(v,b,x)},i.prototype.shln=function(v){return this.clone().ishln(v)},i.prototype.ushln=function(v){return this.clone().iushln(v)},i.prototype.shrn=function(v){return this.clone().ishrn(v)},i.prototype.ushrn=function(v){return this.clone().iushrn(v)},i.prototype.testn=function(v){a(typeof v=="number"&&v>=0);var b=v%26,x=(v-b)/26,L=1<=0);var b=v%26,x=(v-b)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(b!==0&&x++,this.length=Math.min(x,this.length),b!==0){var L=67108863^67108863>>>b<=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},i.prototype.isubn=function(v){if(a(typeof v=="number"),a(v<67108864),v<0)return this.iaddn(-v);if(this.negative!==0)return this.negative=0,this.iaddn(v),this.negative=1,this;if(this.words[0]-=v,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b>26)-(R/67108864|0),this.words[M+x]=w&67108863}for(;M>26,this.words[M+x]=w&67108863;if(g===0)return this._strip();for(a(g===-1),g=0,M=0;M>26,this.words[M]=w&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(v,b){var x=this.length-v.length,L=this.clone(),M=v,w=M.words[M.length-1]|0,g=this._countBits(w);x=26-g,x!==0&&(M=M.ushln(x),L.iushln(x),w=M.words[M.length-1]|0);var R=L.length-M.length,k;if(b!=="mod"){k=new i(null),k.length=R+1,k.words=new Array(k.length);for(var C=0;C=0;te--){var V=(L.words[M.length+te]|0)*67108864+(L.words[M.length+te-1]|0);for(V=Math.min(V/w|0,67108863),L._ishlnsubmul(M,V,te);L.negative!==0;)V--,L.negative=0,L._ishlnsubmul(M,1,te),L.isZero()||(L.negative^=1);k&&(k.words[te]=V)}return k&&k._strip(),L._strip(),b!=="div"&&x!==0&&L.iushrn(x),{div:k||null,mod:L}},i.prototype.divmod=function(v,b,x){if(a(!v.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var L,M,w;return this.negative!==0&&v.negative===0?(w=this.neg().divmod(v,b),b!=="mod"&&(L=w.div.neg()),b!=="div"&&(M=w.mod.neg(),x&&M.negative!==0&&M.iadd(v)),{div:L,mod:M}):this.negative===0&&v.negative!==0?(w=this.divmod(v.neg(),b),b!=="mod"&&(L=w.div.neg()),{div:L,mod:w.mod}):this.negative&v.negative?(w=this.neg().divmod(v.neg(),b),b!=="div"&&(M=w.mod.neg(),x&&M.negative!==0&&M.isub(v)),{div:w.div,mod:M}):v.length>this.length||this.cmp(v)<0?{div:new i(0),mod:this}:v.length===1?b==="div"?{div:this.divn(v.words[0]),mod:null}:b==="mod"?{div:null,mod:new i(this.modrn(v.words[0]))}:{div:this.divn(v.words[0]),mod:new i(this.modrn(v.words[0]))}:this._wordDiv(v,b)},i.prototype.div=function(v){return this.divmod(v,"div",!1).div},i.prototype.mod=function(v){return this.divmod(v,"mod",!1).mod},i.prototype.umod=function(v){return this.divmod(v,"mod",!0).mod},i.prototype.divRound=function(v){var b=this.divmod(v);if(b.mod.isZero())return b.div;var x=b.div.negative!==0?b.mod.isub(v):b.mod,L=v.ushrn(1),M=v.andln(1),w=x.cmp(L);return w<0||M===1&&w===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},i.prototype.modrn=function(v){var b=v<0;b&&(v=-v),a(v<=67108863);for(var x=(1<<26)%v,L=0,M=this.length-1;M>=0;M--)L=(x*L+(this.words[M]|0))%v;return b?-L:L},i.prototype.modn=function(v){return this.modrn(v)},i.prototype.idivn=function(v){var b=v<0;b&&(v=-v),a(v<=67108863);for(var x=0,L=this.length-1;L>=0;L--){var M=(this.words[L]|0)+x*67108864;this.words[L]=M/v|0,x=M%v}return this._strip(),b?this.ineg():this},i.prototype.divn=function(v){return this.clone().idivn(v)},i.prototype.egcd=function(v){a(v.negative===0),a(!v.isZero());var b=this,x=v.clone();b.negative!==0?b=b.umod(v):b=b.clone();for(var L=new i(1),M=new i(0),w=new i(0),g=new i(1),R=0;b.isEven()&&x.isEven();)b.iushrn(1),x.iushrn(1),++R;for(var k=x.clone(),C=b.clone();!b.isZero();){for(var H=0,te=1;!(b.words[0]&te)&&H<26;++H,te<<=1);if(H>0)for(b.iushrn(H);H-- >0;)(L.isOdd()||M.isOdd())&&(L.iadd(k),M.isub(C)),L.iushrn(1),M.iushrn(1);for(var V=0,Y=1;!(x.words[0]&Y)&&V<26;++V,Y<<=1);if(V>0)for(x.iushrn(V);V-- >0;)(w.isOdd()||g.isOdd())&&(w.iadd(k),g.isub(C)),w.iushrn(1),g.iushrn(1);b.cmp(x)>=0?(b.isub(x),L.isub(w),M.isub(g)):(x.isub(b),w.isub(L),g.isub(M))}return{a:w,b:g,gcd:x.iushln(R)}},i.prototype._invmp=function(v){a(v.negative===0),a(!v.isZero());var b=this,x=v.clone();b.negative!==0?b=b.umod(v):b=b.clone();for(var L=new i(1),M=new i(0),w=x.clone();b.cmpn(1)>0&&x.cmpn(1)>0;){for(var g=0,R=1;!(b.words[0]&R)&&g<26;++g,R<<=1);if(g>0)for(b.iushrn(g);g-- >0;)L.isOdd()&&L.iadd(w),L.iushrn(1);for(var k=0,C=1;!(x.words[0]&C)&&k<26;++k,C<<=1);if(k>0)for(x.iushrn(k);k-- >0;)M.isOdd()&&M.iadd(w),M.iushrn(1);b.cmp(x)>=0?(b.isub(x),L.isub(M)):(x.isub(b),M.isub(L))}var H;return b.cmpn(1)===0?H=L:H=M,H.cmpn(0)<0&&H.iadd(v),H},i.prototype.gcd=function(v){if(this.isZero())return v.abs();if(v.isZero())return this.abs();var b=this.clone(),x=v.clone();b.negative=0,x.negative=0;for(var L=0;b.isEven()&&x.isEven();L++)b.iushrn(1),x.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;x.isEven();)x.iushrn(1);var M=b.cmp(x);if(M<0){var w=b;b=x,x=w}else if(M===0||x.cmpn(1)===0)break;b.isub(x)}while(!0);return x.iushln(L)},i.prototype.invm=function(v){return this.egcd(v).a.umod(v)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(v){return this.words[0]&v},i.prototype.bincn=function(v){a(typeof v=="number");var b=v%26,x=(v-b)/26,L=1<>>26,g&=67108863,this.words[w]=g}return M!==0&&(this.words[w]=M,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(v){var b=v<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var x;if(this.length>1)x=1;else{b&&(v=-v),a(v<=67108863,"Number is too big");var L=this.words[0]|0;x=L===v?0:Lv.length)return 1;if(this.length=0;x--){var L=this.words[x]|0,M=v.words[x]|0;if(L!==M){LM&&(b=1);break}}return b},i.prototype.gtn=function(v){return this.cmpn(v)===1},i.prototype.gt=function(v){return this.cmp(v)===1},i.prototype.gten=function(v){return this.cmpn(v)>=0},i.prototype.gte=function(v){return this.cmp(v)>=0},i.prototype.ltn=function(v){return this.cmpn(v)===-1},i.prototype.lt=function(v){return this.cmp(v)===-1},i.prototype.lten=function(v){return this.cmpn(v)<=0},i.prototype.lte=function(v){return this.cmp(v)<=0},i.prototype.eqn=function(v){return this.cmpn(v)===0},i.prototype.eq=function(v){return this.cmp(v)===0},i.red=function(v){return new _(v)},i.prototype.toRed=function(v){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),v.convertTo(this)._forceRed(v)},i.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(v){return this.red=v,this},i.prototype.forceRed=function(v){return a(!this.red,"Already a number in reduction context"),this._forceRed(v)},i.prototype.redAdd=function(v){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,v)},i.prototype.redIAdd=function(v){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,v)},i.prototype.redSub=function(v){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,v)},i.prototype.redISub=function(v){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,v)},i.prototype.redShl=function(v){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,v)},i.prototype.redMul=function(v){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.mul(this,v)},i.prototype.redIMul=function(v){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.imul(this,v)},i.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(v){return a(this.red&&!v.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,v)};var G={k256:null,p224:null,p192:null,p25519:null};function X(v,b){this.name=v,this.p=new i(b,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}X.prototype._tmp=function(){var v=new i(null);return v.words=new Array(Math.ceil(this.n/13)),v},X.prototype.ireduce=function(v){var b=v,x;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),x=b.bitLength();while(x>this.n);var L=x0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},X.prototype.split=function(v,b){v.iushrn(this.n,0,b)},X.prototype.imulK=function(v){return v.imul(this.k)};function J(){X.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}r(J,X),J.prototype.split=function(v,b){for(var x=4194303,L=Math.min(v.length,9),M=0;M>>22,w=g}w>>>=22,v.words[M-10]=w,w===0&&v.length>10?v.length-=10:v.length-=9},J.prototype.imulK=function(v){v.words[v.length]=0,v.words[v.length+1]=0,v.length+=2;for(var b=0,x=0;x>>=26,v.words[x]=M,b=L}return b!==0&&(v.words[v.length++]=b),v},i._prime=function(v){if(G[v])return G[v];var b;if(v==="k256")b=new J;else if(v==="p224")b=new j;else if(v==="p192")b=new z;else if(v==="p25519")b=new P;else throw new Error("Unknown prime "+v);return G[v]=b,b};function _(v){if(typeof v=="string"){var b=i._prime(v);this.m=b.p,this.prime=b}else a(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}_.prototype._verify1=function(v){a(v.negative===0,"red works only with positives"),a(v.red,"red works only with red numbers")},_.prototype._verify2=function(v,b){a((v.negative|b.negative)===0,"red works only with positives"),a(v.red&&v.red===b.red,"red works only with red numbers")},_.prototype.imod=function(v){return this.prime?this.prime.ireduce(v)._forceRed(this):(d(v,v.umod(this.m)._forceRed(this)),v)},_.prototype.neg=function(v){return v.isZero()?v.clone():this.m.sub(v)._forceRed(this)},_.prototype.add=function(v,b){this._verify2(v,b);var x=v.add(b);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},_.prototype.iadd=function(v,b){this._verify2(v,b);var x=v.iadd(b);return x.cmp(this.m)>=0&&x.isub(this.m),x},_.prototype.sub=function(v,b){this._verify2(v,b);var x=v.sub(b);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},_.prototype.isub=function(v,b){this._verify2(v,b);var x=v.isub(b);return x.cmpn(0)<0&&x.iadd(this.m),x},_.prototype.shl=function(v,b){return this._verify1(v),this.imod(v.ushln(b))},_.prototype.imul=function(v,b){return this._verify2(v,b),this.imod(v.imul(b))},_.prototype.mul=function(v,b){return this._verify2(v,b),this.imod(v.mul(b))},_.prototype.isqr=function(v){return this.imul(v,v.clone())},_.prototype.sqr=function(v){return this.mul(v,v)},_.prototype.sqrt=function(v){if(v.isZero())return v.clone();var b=this.m.andln(3);if(a(b%2===1),b===3){var x=this.m.add(new i(1)).iushrn(2);return this.pow(v,x)}for(var L=this.m.subn(1),M=0;!L.isZero()&&L.andln(1)===0;)M++,L.iushrn(1);a(!L.isZero());var w=new i(1).toRed(this),g=w.redNeg(),R=this.m.subn(1).iushrn(1),k=this.m.bitLength();for(k=new i(2*k*k).toRed(this);this.pow(k,R).cmp(g)!==0;)k.redIAdd(g);for(var C=this.pow(k,L),H=this.pow(v,L.addn(1).iushrn(1)),te=this.pow(v,L),V=M;te.cmp(w)!==0;){for(var Y=te,ee=0;Y.cmp(w)!==0;ee++)Y=Y.redSqr();a(ee=0;M--){for(var C=b.words[M],H=k-1;H>=0;H--){var te=C>>H&1;if(w!==L[0]&&(w=this.sqr(w)),te===0&&g===0){R=0;continue}g<<=1,g|=te,R++,!(R!==x&&(M!==0||H!==0))&&(w=this.mul(w,L[g]),R=0,g=0)}k=26}return w},_.prototype.convertTo=function(v){var b=v.umod(this.m);return b===v?b.clone():b},_.prototype.convertFrom=function(v){var b=v.clone();return b.red=null,b},i.mont=function(v){return new F(v)};function F(v){_.call(this,v),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}r(F,_),F.prototype.convertTo=function(v){return this.imod(v.ushln(this.shift))},F.prototype.convertFrom=function(v){var b=this.imod(v.mul(this.rinv));return b.red=null,b},F.prototype.imul=function(v,b){if(v.isZero()||b.isZero())return v.words[0]=0,v.length=1,v;var x=v.imul(b),L=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=x.isub(L).iushrn(this.shift),w=M;return M.cmp(this.m)>=0?w=M.isub(this.m):M.cmpn(0)<0&&(w=M.iadd(this.m)),w._forceRed(this)},F.prototype.mul=function(v,b){if(v.isZero()||b.isZero())return new i(0)._forceRed(this);var x=v.mul(b),L=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=x.isub(L).iushrn(this.shift),w=M;return M.cmp(this.m)>=0?w=M.isub(this.m):M.cmpn(0)<0&&(w=M.iadd(this.m)),w._forceRed(this)},F.prototype.invm=function(v){var b=this.imod(v._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(n,Gft)})(Jft);en=Jft.exports,Xft="bignumber/5.7.0",fj=en.BN,Ly=new si(Xft),rle={},yft=9007199254740991;mft=!1,no=class n{constructor(e,t){e!==rle&&Ly.throwError("cannot call constructor directly; use BigNumber.from",si.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return Bc(Qn(this).fromTwos(e))}toTwos(e){return Bc(Qn(this).toTwos(e))}abs(){return this._hex[0]==="-"?n.from(this._hex.substring(1)):this}add(e){return Bc(Qn(this).add(Qn(e)))}sub(e){return Bc(Qn(this).sub(Qn(e)))}div(e){return n.from(e).isZero()&&$6("division-by-zero","div"),Bc(Qn(this).div(Qn(e)))}mul(e){return Bc(Qn(this).mul(Qn(e)))}mod(e){let t=Qn(e);return t.isNeg()&&$6("division-by-zero","mod"),Bc(Qn(this).umod(t))}pow(e){let t=Qn(e);return t.isNeg()&&$6("negative-power","pow"),Bc(Qn(this).pow(t))}and(e){let t=Qn(e);return(this.isNegative()||t.isNeg())&&$6("unbound-bitwise-result","and"),Bc(Qn(this).and(t))}or(e){let t=Qn(e);return(this.isNegative()||t.isNeg())&&$6("unbound-bitwise-result","or"),Bc(Qn(this).or(t))}xor(e){let t=Qn(e);return(this.isNegative()||t.isNeg())&&$6("unbound-bitwise-result","xor"),Bc(Qn(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&$6("negative-width","mask"),Bc(Qn(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&$6("negative-width","shl"),Bc(Qn(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&$6("negative-width","shr"),Bc(Qn(this).shrn(e))}eq(e){return Qn(this).eq(Qn(e))}lt(e){return Qn(this).lt(Qn(e))}lte(e){return Qn(this).lte(Qn(e))}gt(e){return Qn(this).gt(Qn(e))}gte(e){return Qn(this).gte(Qn(e))}isNegative(){return this._hex[0]==="-"}isZero(){return Qn(this).isZero()}toNumber(){try{return Qn(this).toNumber()}catch{$6("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return Ly.throwError("this platform does not support BigInt",si.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?mft||(mft=!0,Ly.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Ly.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",si.errors.UNEXPECTED_ARGUMENT,{}):Ly.throwError("BigNumber.toString does not accept parameters",si.errors.UNEXPECTED_ARGUMENT,{})),Qn(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof n)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new n(rle,Xk(e)):e.match(/^-?[0-9]+$/)?new n(rle,Xk(new fj(e))):Ly.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&$6("underflow","BigNumber.from",e),(e>=yft||e<=-yft)&&$6("overflow","BigNumber.from",e),n.from(String(e));let t=e;if(typeof t=="bigint")return n.from(t.toString());if(Tx(t))return n.from(H1(t));if(t)if(t.toHexString){let a=t.toHexString();if(typeof a=="string")return n.from(a)}else{let a=t._hex;if(a==null&&t.type==="BigNumber"&&(a=t.hex),typeof a=="string"&&(gd(a)||a[0]==="-"&&gd(a.substring(1))))return n.from(a)}return Ly.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}};z1=new si(Xft),Qk={},Zft=no.from(0),eot=no.from(-1);Yk="0";for(;Yk.length<256;)Yk+=Yk;Jk=class n{constructor(e,t,a,r){e!==Qk&&z1.throwError("cannot use FixedFormat constructor; use FixedFormat.from",si.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=t,this.width=a,this.decimals=r,this.name=(t?"":"u")+"fixed"+String(a)+"x"+String(r),this._multiplier=Ple(r),Object.freeze(this)}static from(e){if(e instanceof n)return e;typeof e=="number"&&(e=`fixed128x${e}`);let t=!0,a=128,r=18;if(typeof e=="string"){if(e!=="fixed")if(e==="ufixed")t=!1;else{let i=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);i||z1.throwArgumentError("invalid fixed format","format",e),t=i[1]!=="u",a=parseInt(i[2]),r=parseInt(i[3])}}else if(e){let i=(s,f,o)=>e[s]==null?o:(typeof e[s]!==f&&z1.throwArgumentError("invalid fixed format ("+s+" not "+f+")","format."+s,e[s]),e[s]);t=i("signed","boolean",t),a=i("width","number",a),r=i("decimals","number",r)}return a%8&&z1.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),r>80&&z1.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new n(Qk,t,a,r)}},oj=class n{constructor(e,t,a,r){e!==Qk&&z1.throwError("cannot use FixedNumber constructor; use FixedNumber.from",si.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=t,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&z1.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let t=Ry(this._value,this.format.decimals),a=Ry(e._value,e.format.decimals);return n.fromValue(t.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let t=Ry(this._value,this.format.decimals),a=Ry(e._value,e.format.decimals);return n.fromValue(t.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let t=Ry(this._value,this.format.decimals),a=Ry(e._value,e.format.decimals);return n.fromValue(t.mul(a).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let t=Ry(this._value,this.format.decimals),a=Ry(e._value,e.format.decimals);return n.fromValue(t.mul(this.format._multiplier).div(a),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");e.length===1&&e.push("0");let t=n.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(t=t.subUnsafe(bft.toFormat(t.format))),t}ceiling(){let e=this.toString().split(".");e.length===1&&e.push("0");let t=n.from(e[0],this.format),a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(t=t.addUnsafe(bft.toFormat(t.format))),t}round(e){e==null&&(e=0);let t=this.toString().split(".");if(t.length===1&&t.push("0"),(e<0||e>80||e%1)&&z1.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;let a=n.from("1"+Yk.substring(0,e),this.format),r=Tsn.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(r).floor().divUnsafe(a)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(e){if(e==null)return this._hex;e%8&&z1.throwArgumentError("invalid byte width","width",e);let t=no.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return mu(t,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return n.fromString(this._value,e)}static fromValue(e,t,a){return a==null&&t!=null&&!gsn(t)&&(a=t,t=null),t==null&&(t=0),a==null&&(a="fixed"),n.fromString(ile(e,t),Jk.from(a))}static fromString(e,t){t==null&&(t="fixed");let a=Jk.from(t),r=Ry(e,a.decimals);!a.signed&&r.lt(Zft)&&tot("unsigned value cannot be negative","overflow","value",e);let i=null;a.signed?i=r.toTwos(a.width).toHexString():(i=r.toHexString(),i=mu(i,a.width/8));let s=ile(r,a.decimals);return new n(Qk,i,s,a)}static fromBytes(e,t){t==null&&(t="fixed");let a=Jk.from(t);if(zi(e).length>a.width/8)throw new Error("overflow");let r=no.from(e);a.signed&&(r=r.fromTwos(a.width));let i=r.toTwos((a.signed?0:1)+a.width).toHexString(),s=ile(r,a.decimals);return new n(Qk,i,s,a)}static from(e,t){if(typeof e=="string")return n.fromString(e,t);if(Tx(e))return n.fromBytes(e,t);try{return n.fromValue(e,0,t)}catch(a){if(a.code!==si.errors.INVALID_ARGUMENT)throw a}return z1.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}},bft=oj.from(1),Tsn=oj.from("0.5"),_sn="strings/5.7.0",not=new si(_sn);(function(n){n.current="",n.NFC="NFC",n.NFD="NFD",n.NFKC="NFKC",n.NFKD="NFKD"})(cj||(cj={}));(function(n){n.UNEXPECTED_CONTINUE="unexpected continuation byte",n.BAD_PREFIX="bad codepoint prefix",n.OVERRUN="string overrun",n.MISSING_CONTINUE="missing continuation byte",n.OUT_OF_RANGE="out of UTF-8 range",n.UTF16_SURROGATE="UTF-16 surrogate",n.OVERLONG="overlong representation"})(px||(px={}));Object.freeze({error:wsn,ignore:aot,replace:xsn});hft("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),"ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(n=>parseInt(n,16)),fle("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),fle("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),fle("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",Isn),hft("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");rot="hash/5.7.0";ZW=Osn();new Set(dj(ZW)),new Set(dj(ZW)),Lsn(ZW),Fsn(ZW),new si(rot);Vsn=new Uint8Array(32);Vsn.fill(0);$sn=`Ethereum Signed Message: +`;Usn="rlp/5.7.0";new si(Usn);qsn="address/5.7.0",Kk=new si(qsn);Hsn=9007199254740991;Rle={};for(let n=0;n<10;n++)Rle[String(n)]=String(n);for(let n=0;n<26;n++)Rle[String.fromCharCode(65+n)]=String(10+n);Tft=Math.floor(zsn(Hsn));Gsn="properties/5.7.0";new si(Gsn);new si(rot);Ksn=new Uint8Array(32);Ksn.fill(0),no.from(-1);Qsn=no.from(0),Ysn=no.from(1);no.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),mu(Ysn.toHexString(),32),mu(Qsn.toHexString(),32);du={},Yn={},aP=oot;oot.equal=function(n,e,t){if(n!=e)throw new Error(t||"Assertion failed: "+n+" != "+e)};gle={exports:{}};typeof Object.create=="function"?gle.exports=function(n,e){e&&(n.super_=e,n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:gle.exports=function(n,e){if(e){n.super_=e;var t=function(){};t.prototype=e.prototype,n.prototype=new t,n.prototype.constructor=n}};Jsn=aP,Xsn=gle.exports;Yn.inherits=Xsn;Yn.toArray=efn;Yn.toHex=tfn;Yn.htonl=cot;Yn.toHex32=nfn;Yn.zero2=dot;Yn.zero8=lot;Yn.join32=afn;Yn.split32=rfn;Yn.rotr32=ifn;Yn.rotl32=sfn;Yn.sum32=ffn;Yn.sum32_3=ofn;Yn.sum32_4=cfn;Yn.sum32_5=dfn;Yn.sum64=lfn;Yn.sum64_hi=pfn;Yn.sum64_lo=ufn;Yn.sum64_4_hi=yfn;Yn.sum64_4_lo=mfn;Yn.sum64_5_hi=bfn;Yn.sum64_5_lo=hfn;Yn.rotr64_hi=gfn;Yn.rotr64_lo=vfn;Yn.shr64_hi=Tfn;Yn.shr64_lo=_fn;_x={},_ft=Yn,wfn=aP;_x.BlockHash=ej,ej.prototype.update=function(n,e){if(n=_ft.toArray(n,e),this.pending?this.pending=this.pending.concat(n):this.pending=n,this.pendingTotal+=n.length,this.pending.length>=this._delta8){n=this.pending;var t=n.length%this._delta8;this.pending=n.slice(n.length-t,n.length),this.pending.length===0&&(this.pending=null),n=_ft.join32(n,0,n.length-t,this.endian);for(var a=0;a>>24&255,a[r++]=n>>>16&255,a[r++]=n>>>8&255,a[r++]=n&255}else for(a[r++]=n&255,a[r++]=n>>>8&255,a[r++]=n>>>16&255,a[r++]=n>>>24&255,a[r++]=0,a[r++]=0,a[r++]=0,a[r++]=0,i=8;ithis.blockSize&&(n=new this.Hash().update(n).digest()),_on(n.length<=this.blockSize);for(var e=n.length;e>8,y=d&255;l?o.push(l,y):o.push(y)}return o}t.toArray=a;function r(s){return s.length===1?"0"+s:s}t.zero2=r;function i(s){for(var f="",o=0;o(y>>1)-1?A=(y>>1)-O:A=O,h.isubn(A)):A=0,l[T]=A,h.iushrn(1)}return l}t.getNAF=a;function r(o,c){var d=[[],[]];o=o.clone(),c=c.clone();for(var l=0,y=0,h;o.cmpn(-l)>0||c.cmpn(-y)>0;){var T=o.andln(3)+l&3,A=c.andln(3)+y&3;T===3&&(T=-1),A===3&&(A=-1);var O;T&1?(h=o.andln(7)+l&7,(h===3||h===5)&&A===2?O=-T:O=T):O=0,d[0].push(O);var N;A&1?(h=c.andln(7)+y&7,(h===3||h===5)&&T===2?N=-A:N=A):N=0,d[1].push(N),2*l===O+1&&(l=1-l),2*y===N+1&&(y=1-y),o.iushrn(1),c.iushrn(1)}return d}t.getJSF=r;function i(o,c,d){var l="_"+c;o.prototype[c]=function(){return this[l]!==void 0?this[l]:this[l]=d.call(this)}}t.cachedProperty=i;function s(o){return typeof o=="string"?t.toArray(o,"hex"):o}t.parseBytes=s;function f(o){return new en(o,"hex","le")}t.intFromLE=f}),nj=vd.getNAF,Ion=vd.getJSF,lj=vd.assert;l9=X3;X3.prototype.point=function(){throw new Error("Not implemented")},X3.prototype.validate=function(){throw new Error("Not implemented")},X3.prototype._fixedNafMul=function(n,e){lj(n.precomputed);var t=n._getDoubles(),a=nj(e,1,this._bitLength),r=(1<=s;o--)f=(f<<1)+a[o];i.push(f)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),l=r;l>0;l--){for(s=0;s=0;f--){for(var o=0;f>=0&&i[f]===0;f--)o++;if(f>=0&&o++,s=s.dblp(o),f<0)break;var c=i[f];lj(c!==0),n.type==="affine"?c>0?s=s.mixedAdd(r[c-1>>1]):s=s.mixedAdd(r[-c-1>>1].neg()):c>0?s=s.add(r[c-1>>1]):s=s.add(r[-c-1>>1].neg())}return n.type==="affine"?s.toP():s},X3.prototype._wnafMulAdd=function(n,e,t,a,r){var i=this._wnafT1,s=this._wnafT2,f=this._wnafT3,o=0,c,d,l;for(c=0;c=1;c-=2){var h=c-1,T=c;if(i[h]!==1||i[T]!==1){f[h]=nj(t[h],i[h],this._bitLength),f[T]=nj(t[T],i[T],this._bitLength),o=Math.max(f[h].length,o),o=Math.max(f[T].length,o);continue}var A=[e[h],null,null,e[T]];e[h].y.cmp(e[T].y)===0?(A[1]=e[h].add(e[T]),A[2]=e[h].toJ().mixedAdd(e[T].neg())):e[h].y.cmp(e[T].y.redNeg())===0?(A[1]=e[h].toJ().mixedAdd(e[T]),A[2]=e[h].add(e[T].neg())):(A[1]=e[h].toJ().mixedAdd(e[T]),A[2]=e[h].toJ().mixedAdd(e[T].neg()));var O=[-3,-1,-5,-7,0,7,5,1,3],N=Ion(t[h],t[T]);for(o=Math.max(N[0].length,o),f[h]=new Array(o),f[T]=new Array(o),d=0;d=0;c--){for(var X=0;c>=0;){var J=!0;for(d=0;d=0&&X++,W=W.dblp(X),c<0)break;for(d=0;d0?l=s[d][j-1>>1]:j<0&&(l=s[d][-j-1>>1].neg()),l.type==="affine"?W=W.mixedAdd(l):W=W.add(l))}}for(c=0;c=Math.ceil((n.bitLength()+1)/e.step):!1},U6.prototype._getDoubles=function(n,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var t=[this],a=this,r=0;r=0&&(y=o,h=c),d.negative&&(d=d.neg(),l=l.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:d,b:l},{a:y,b:h}]},H6.prototype._endoSplit=function(n){var e=this.endo.basis,t=e[0],a=e[1],r=a.b.mul(n).divRound(this.n),i=t.b.neg().mul(n).divRound(this.n),s=r.mul(t.a),f=i.mul(a.a),o=r.mul(t.b),c=i.mul(a.b),d=n.sub(s).sub(f),l=o.add(c).neg();return{k1:d,k2:l}},H6.prototype.pointFromX=function(n,e){n=new en(n,16),n.red||(n=n.toRed(this.red));var t=n.redSqr().redMul(n).redIAdd(n.redMul(this.a)).redIAdd(this.b),a=t.redSqrt();if(a.redSqr().redSub(t).cmp(this.zero)!==0)throw new Error("invalid point");var r=a.fromRed().isOdd();return(e&&!r||!e&&r)&&(a=a.redNeg()),this.point(n,a)},H6.prototype.validate=function(n){if(n.inf)return!0;var e=n.x,t=n.y,a=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(a).redIAdd(this.b);return t.redSqr().redISub(r).cmpn(0)===0},H6.prototype._endoWnafMulAdd=function(n,e,t){for(var a=this._endoWnafT1,r=this._endoWnafT2,i=0;i":""},wf.prototype.isInfinity=function(){return this.inf},wf.prototype.add=function(n){if(this.inf)return n;if(n.inf)return this;if(this.eq(n))return this.dbl();if(this.neg().eq(n))return this.curve.point(null,null);if(this.x.cmp(n.x)===0)return this.curve.point(null,null);var e=this.y.redSub(n.y);e.cmpn(0)!==0&&(e=e.redMul(this.x.redSub(n.x).redInvm()));var t=e.redSqr().redISub(this.x).redISub(n.x),a=e.redMul(this.x.redSub(t)).redISub(this.y);return this.curve.point(t,a)},wf.prototype.dbl=function(){if(this.inf)return this;var n=this.y.redAdd(this.y);if(n.cmpn(0)===0)return this.curve.point(null,null);var e=this.curve.a,t=this.x.redSqr(),a=n.redInvm(),r=t.redAdd(t).redIAdd(t).redIAdd(e).redMul(a),i=r.redSqr().redISub(this.x.redAdd(this.x)),s=r.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)},wf.prototype.getX=function(){return this.x.fromRed()},wf.prototype.getY=function(){return this.y.fromRed()},wf.prototype.mul=function(n){return n=new en(n,16),this.isInfinity()?this:this._hasDoubles(n)?this.curve._fixedNafMul(this,n):this.curve.endo?this.curve._endoWnafMulAdd([this],[n]):this.curve._wnafMul(this,n)},wf.prototype.mulAdd=function(n,e,t){var a=[this,e],r=[n,t];return this.curve.endo?this.curve._endoWnafMulAdd(a,r):this.curve._wnafMulAdd(1,a,r,2)},wf.prototype.jmulAdd=function(n,e,t){var a=[this,e],r=[n,t];return this.curve.endo?this.curve._endoWnafMulAdd(a,r,!0):this.curve._wnafMulAdd(1,a,r,2,!0)},wf.prototype.eq=function(n){return this===n||this.inf===n.inf&&(this.inf||this.x.cmp(n.x)===0&&this.y.cmp(n.y)===0)},wf.prototype.neg=function(n){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(n&&this.precomputed){var t=this.precomputed,a=function(r){return r.neg()};e.precomputed={naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(a)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(a)}}}return e},wf.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var n=this.curve.jpoint(this.x,this.y,this.curve.one);return n};Mle(eo,l9.BasePoint),H6.prototype.jpoint=function(n,e,t){return new eo(this,n,e,t)},eo.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var n=this.z.redInvm(),e=n.redSqr(),t=this.x.redMul(e),a=this.y.redMul(e).redMul(n);return this.curve.point(t,a)},eo.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},eo.prototype.add=function(n){if(this.isInfinity())return n;if(n.isInfinity())return this;var e=n.z.redSqr(),t=this.z.redSqr(),a=this.x.redMul(e),r=n.x.redMul(t),i=this.y.redMul(e.redMul(n.z)),s=n.y.redMul(t.redMul(this.z)),f=a.redSub(r),o=i.redSub(s);if(f.cmpn(0)===0)return o.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var c=f.redSqr(),d=c.redMul(f),l=a.redMul(c),y=o.redSqr().redIAdd(d).redISub(l).redISub(l),h=o.redMul(l.redISub(y)).redISub(i.redMul(d)),T=this.z.redMul(n.z).redMul(f);return this.curve.jpoint(y,h,T)},eo.prototype.mixedAdd=function(n){if(this.isInfinity())return n.toJ();if(n.isInfinity())return this;var e=this.z.redSqr(),t=this.x,a=n.x.redMul(e),r=this.y,i=n.y.redMul(e).redMul(this.z),s=t.redSub(a),f=r.redSub(i);if(s.cmpn(0)===0)return f.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var o=s.redSqr(),c=o.redMul(s),d=t.redMul(o),l=f.redSqr().redIAdd(c).redISub(d).redISub(d),y=f.redMul(d.redISub(l)).redISub(r.redMul(c)),h=this.z.redMul(s);return this.curve.jpoint(l,y,h)},eo.prototype.dblp=function(n){if(n===0)return this;if(this.isInfinity())return this;if(!n)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var t=this;for(e=0;e=0)return!1;if(t.redIAdd(r),this.x.cmp(t)===0)return!0}},eo.prototype.inspect=function(){return this.isInfinity()?"":""},eo.prototype.isInfinity=function(){return this.z.cmpn(0)===0};ij=xx(function(n,e){var t=e;t.base=l9,t.short=Don,t.mont=null,t.edwards=null}),sj=xx(function(n,e){var t=e,a=vd.assert;function r(f){f.type==="short"?this.curve=new ij.short(f):f.type==="edwards"?this.curve=new ij.edwards(f):this.curve=new ij.mont(f),this.g=this.curve.g,this.n=this.curve.n,this.hash=f.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}t.PresetCurve=r;function i(f,o){Object.defineProperty(t,f,{configurable:!0,enumerable:!0,get:function(){var c=new r(o);return Object.defineProperty(t,f,{configurable:!0,enumerable:!0,value:c}),c}})}i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:du.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:du.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:du.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:du.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:du.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:du.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:du.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var s;try{s=null.crash()}catch{s=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:du.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",s]})});Eft=Z3;Z3.prototype._init=function(n,e,t){var a=n.concat(e).concat(t);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(n.concat(t||[])),this._reseed=1},Z3.prototype.generate=function(n,e,t,a){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof e!="string"&&(a=t,t=e,e=null),t&&(t=gp.toArray(t,a||"hex"),this._update(t));for(var r=[];r.length"};Con=vd.assert;aj=mj;mj.prototype._importDER=function(n,e){n=vd.toArray(n,e);var t=new Son;if(n[t.place++]!==48)return!1;var a=ule(n,t);if(a===!1||a+t.place!==n.length||n[t.place++]!==2)return!1;var r=ule(n,t);if(r===!1)return!1;var i=n.slice(t.place,r+t.place);if(t.place+=r,n[t.place++]!==2)return!1;var s=ule(n,t);if(s===!1||n.length!==s+t.place)return!1;var f=n.slice(t.place,s+t.place);if(i[0]===0)if(i[1]&128)i=i.slice(1);else return!1;if(f[0]===0)if(f[1]&128)f=f.slice(1);else return!1;return this.r=new en(i),this.s=new en(f),this.recoveryParam=null,!0};mj.prototype.toDER=function(n){var e=this.r.toArray(),t=this.s.toArray();for(e[0]&128&&(e=[0].concat(e)),t[0]&128&&(t=[0].concat(t)),e=Dft(e),t=Dft(t);!t[0]&&!(t[1]&128);)t=t.slice(1);var a=[2];yle(a,e.length),a=a.concat(e),a.push(2),yle(a,t.length);var r=a.concat(t),i=[48];return yle(i,r.length),i=i.concat(r),vd.encode(i,n)};Aon=function(){throw new Error("unsupported")},Cot=vd.assert;kon=q6;q6.prototype.keyPair=function(n){return new ple(this,n)},q6.prototype.keyFromPrivate=function(n,e){return ple.fromPrivate(this,n,e)},q6.prototype.keyFromPublic=function(n,e){return ple.fromPublic(this,n,e)},q6.prototype.genKeyPair=function(n){n||(n={});for(var e=new Eft({hash:this.hash,pers:n.pers,persEnc:n.persEnc||"utf8",entropy:n.entropy||Aon(this.hash.hmacStrength),entropyEnc:n.entropy&&n.entropyEnc||"utf8",nonce:this.n.toArray()}),t=this.n.byteLength(),a=this.n.sub(new en(2));;){var r=new en(e.generate(t));if(!(r.cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)}},q6.prototype._truncateToN=function(n,e){var t=n.byteLength()*8-this.n.bitLength();return t>0&&(n=n.ushrn(t)),!e&&n.cmp(this.n)>=0?n.sub(this.n):n},q6.prototype.sign=function(n,e,t,a){typeof t=="object"&&(a=t,t=null),a||(a={}),e=this.keyFromPrivate(e,t),n=this._truncateToN(new en(n,16));for(var r=this.n.byteLength(),i=e.getPrivate().toArray("be",r),s=n.toArray("be",r),f=new Eft({hash:this.hash,entropy:i,nonce:s,pers:a.pers,persEnc:a.persEnc||"utf8"}),o=this.n.sub(new en(1)),c=0;;c++){var d=a.k?a.k(c):new en(f.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(o)>=0)){var l=this.g.mul(d);if(!l.isInfinity()){var y=l.getX(),h=y.umod(this.n);if(h.cmpn(0)!==0){var T=d.invm(this.n).mul(h.mul(e.getPrivate()).iadd(n));if(T=T.umod(this.n),T.cmpn(0)!==0){var A=(l.getY().isOdd()?1:0)|(y.cmp(h)!==0?2:0);return a.canonical&&T.cmp(this.nh)>0&&(T=this.n.sub(T),A^=1),new aj({r:h,s:T,recoveryParam:A})}}}}}},q6.prototype.verify=function(n,e,t,a){n=this._truncateToN(new en(n,16)),t=this.keyFromPublic(t,a),e=new aj(e,"hex");var r=e.r,i=e.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0||i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s=i.invm(this.n),f=s.mul(n).umod(this.n),o=s.mul(r).umod(this.n),c;return this.curve._maxwellTrick?(c=this.g.jmulAdd(f,t.getPublic(),o),c.isInfinity()?!1:c.eqXToP(r)):(c=this.g.mulAdd(f,t.getPublic(),o),c.isInfinity()?!1:c.getX().umod(this.n).cmp(r)===0)},q6.prototype.recoverPubKey=function(n,e,t,a){Cot((3&t)===t,"The recovery param is more than two bits"),e=new aj(e,a);var r=this.n,i=new en(n),s=e.r,f=e.s,o=t&1,c=t>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");c?s=this.curve.pointFromX(s.add(this.curve.n),o):s=this.curve.pointFromX(s,o);var d=e.r.invm(r),l=r.sub(i).mul(d).umod(r),y=f.mul(d).umod(r);return this.g.mulAdd(l,s,y)},q6.prototype.getKeyRecoveryParam=function(n,e,t,a){if(e=new aj(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var r=0;r<4;r++){var i;try{i=this.recoverPubKey(n,e,r)}catch{continue}if(i.eq(t))return r}throw new Error("Unable to find valid recovery factor")};Pon=xx(function(n,e){var t=e;t.version="6.5.4",t.utils=vd,t.rand=function(){throw new Error("unsupported")},t.curve=ij,t.curves=sj,t.ec=kon,t.eddsa=null}),Ron=Pon.ec,Lon="signing-key/5.7.0",_le=new si(Lon),mle=null;wle=class{constructor(e){Wk(this,"curve","secp256k1"),Wk(this,"privateKey",H1(e)),ysn(this.privateKey)!==32&&_le.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let t=yu().keyFromPrivate(zi(this.privateKey));Wk(this,"publicKey","0x"+t.getPublic(!1,"hex")),Wk(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),Wk(this,"_isSigningKey",!0)}_addPoint(e){let t=yu().keyFromPublic(zi(this.publicKey)),a=yu().keyFromPublic(zi(e));return"0x"+t.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){let t=yu().keyFromPrivate(zi(this.privateKey)),a=zi(e);a.length!==32&&_le.throwArgumentError("bad digest length","digest",e);let r=t.sign(a,{canonical:!0});return Yft({recoveryParam:r.recoveryParam,r:mu("0x"+r.r.toString(16),32),s:mu("0x"+r.s.toString(16),32)})}computeSharedSecret(e){let t=yu().keyFromPrivate(zi(this.privateKey)),a=yu().keyFromPublic(zi(Sot(e)));return mu("0x"+t.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}};Bon="transactions/5.7.0";new si(Bon);(function(n){n[n.legacy=0]="legacy",n[n.eip2930=1]="eip2930",n[n.eip1559=2]="eip1559"})(Cft||(Cft={}));Oon="https://rpc.walletconnect.com/v1";Hon=Object.defineProperty,zon=Object.defineProperties,Won=Object.getOwnPropertyDescriptors,Sft=Object.getOwnPropertySymbols,jon=Object.prototype.hasOwnProperty,Gon=Object.prototype.propertyIsEnumerable,Aft=(n,e,t)=>e in n?Hon(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Kon=(n,e)=>{for(var t in e||(e={}))jon.call(e,t)&&Aft(n,t,e[t]);if(Sft)for(var t of Sft(e))Gon.call(e,t)&&Aft(n,t,e[t]);return n},Qon=(n,e)=>zon(n,Won(e)),Yon="did:pkh:",Ble=n=>n?.split(":"),Aot=n=>{let e=n&&Ble(n);if(e)return n.includes(Yon)?e[3]:e[1]},Nle=n=>{let e=n&&Ble(n);if(e)return e[2]+":"+e[3]},rP=n=>{let e=n&&Ble(n);if(e)return e.pop()};Ole=(n,e)=>{let t=`${n.domain} wants you to sign in with your Ethereum account:`,a=rP(e);if(!n.aud&&!n.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let r=n.statement||void 0,i=`URI: ${n.aud||n.uri}`,s=`Version: ${n.version}`,f=`Chain ID: ${Aot(e)}`,o=`Nonce: ${n.nonce}`,c=`Issued At: ${n.iat}`,d=n.resources?`Resources:${n.resources.map(y=>` +- ${y}`).join("")}`:void 0,l=iP(n.resources);if(l){let y=Zk(l);r=a1n(r,y)}return[t,a,"",r,"",i,s,f,o,c,d].filter(y=>y!=null).join(` +`)};Lot="base10",e1="base16",xle="base64pad",Ule="utf8",Mot=0,_u=1,r1n=0,kft=1,Ile=12,qle=32;f1n="irn";o1n=Object.defineProperty,c1n=Object.defineProperties,d1n=Object.getOwnPropertyDescriptors,Pft=Object.getOwnPropertySymbols,l1n=Object.prototype.hasOwnProperty,p1n=Object.prototype.propertyIsEnumerable,Rft=(n,e,t)=>e in n?o1n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Lft=(n,e)=>{for(var t in e||(e={}))l1n.call(e,t)&&Rft(n,t,e[t]);if(Pft)for(var t of Pft(e))p1n.call(e,t)&&Rft(n,t,e[t]);return n},u1n=(n,e)=>c1n(n,d1n(e));_1n={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},w1n={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};ble={},e4=class{static get(e){return ble[e]}static set(e,t){ble[e]=t}static delete(e){delete ble[e]}}});var r1t=B(Tj=>{"use strict";p();u();Object.defineProperty(Tj,"__esModule",{value:!0});Tj.IHeartBeat=void 0;var N1n=(Jae(),yi(oMe)),Xle=class extends N1n.IEvents{constructor(e){super()}};Tj.IHeartBeat=Xle});var epe=B(Zle=>{"use strict";p();u();Object.defineProperty(Zle,"__esModule",{value:!0});var F1n=(w5(),yi(_5));F1n.__exportStar(r1t(),Zle)});var i1t=B(Sx=>{"use strict";p();u();Object.defineProperty(Sx,"__esModule",{value:!0});Sx.HEARTBEAT_EVENTS=Sx.HEARTBEAT_INTERVAL=void 0;var O1n=Oh();Sx.HEARTBEAT_INTERVAL=O1n.FIVE_SECONDS;Sx.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var npe=B(tpe=>{"use strict";p();u();Object.defineProperty(tpe,"__esModule",{value:!0});var V1n=(w5(),yi(_5));V1n.__exportStar(i1t(),tpe)});var s1t=B(_j=>{"use strict";p();u();Object.defineProperty(_j,"__esModule",{value:!0});_j.HeartBeat=void 0;var ape=(w5(),yi(_5)),$1n=ti(),U1n=Oh(),q1n=epe(),rpe=npe(),ipe=class n extends q1n.IHeartBeat{constructor(e){super(e),this.events=new $1n.EventEmitter,this.interval=rpe.HEARTBEAT_INTERVAL,this.interval=e?.interval||rpe.HEARTBEAT_INTERVAL}static init(e){return ape.__awaiter(this,void 0,void 0,function*(){let t=new n(e);return yield t.init(),t})}init(){return ape.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}initialize(){return ape.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),U1n.toMiliseconds(this.interval))})}pulse(){this.events.emit(rpe.HEARTBEAT_EVENTS.pulse)}};_j.HeartBeat=ipe});var f1t=B(cP=>{"use strict";p();u();Object.defineProperty(cP,"__esModule",{value:!0});var spe=(w5(),yi(_5));spe.__exportStar(s1t(),cP);spe.__exportStar(epe(),cP);spe.__exportStar(npe(),cP)});var o1t,wj,xj,Ij,Ej,Dj,Cj,Sj,Aj,kj,Pj,Rj,Lj,fpe=ce(()=>{p();u();Jae();o1t=Te(ti()),wj=class extends x5{constructor(e){super(),this.opts=e,this.protocol="wc",this.version=2}},xj=class extends x5{constructor(e,t){super(),this.core=e,this.logger=t,this.records=new Map}},Ij=class{constructor(e,t){this.logger=e,this.core=t}},Ej=class extends x5{constructor(e,t){super(),this.relayer=e,this.logger=t}},Dj=class extends x5{constructor(e){super()}},Cj=class{constructor(e,t,a,r){this.core=e,this.logger=t,this.name=a}},Sj=class extends x5{constructor(e,t){super(),this.relayer=e,this.logger=t}},Aj=class extends x5{constructor(e,t){super(),this.core=e,this.logger=t}},kj=class{constructor(e,t){this.projectId=e,this.logger=t}},Pj=class{constructor(e,t){this.projectId=e,this.logger=t}},Rj=class{constructor(e){this.opts=e,this.protocol="wc",this.version=2}},Lj=class{constructor(e){this.client=e}}});var c1t,_d,ope=ce(()=>{p();u();c1t=Te(ti());Om();_d=class extends vS{constructor(e){super(e),this.events=new c1t.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async request(e,t){return this.requestStrict(A5(e.method,e.params||[],e.id||Wl().toString()),t)}async requestStrict(e,t){return new Promise(async(a,r)=>{if(!this.connection.connected)try{await this.open()}catch(i){r(i)}this.events.on(`${e.id}`,i=>{$o(i)?r(i.error):a(i.result)});try{await this.connection.send(e,t)}catch(i){r(i)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),Fm(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}});var cpe=ce(()=>{p();u();ope();ope()});function H1n(n,e){if(n.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),a=0;a>>0,W=new Uint8Array(q);N!==U;){for(var G=T[N],X=0,J=q-1;(G!==0||X>>0,W[J]=G%f>>>0,G=G/f>>>0;if(G!==0)throw new Error("Non-zero carry");O=X,N++}for(var j=q-O;j!==q&&W[j]===0;)j++;for(var z=o.repeat(A);j>>0,q=new Uint8Array(U);T[A];){var W=t[T.charCodeAt(A)];if(W===255)return;for(var G=0,X=U-1;(W!==0||G>>0,q[X]=W%256>>>0,W=W/256>>>0;if(W!==0)throw new Error("Non-zero carry");N=G,A++}if(T[A]!==" "){for(var J=U-N;J!==U&&q[J]===0;)J++;for(var j=new Uint8Array(O+(U-J)),z=O;J!==U;)j[z++]=q[J++];return j}}}function h(T){var A=y(T);if(A)return A;throw new Error(`Non-${e} character`)}return{encode:l,decodeUnsafe:y,decode:h}}function kcn(n){return n.reduce((e,t)=>(e+=Scn[t],e),"")}function Pcn(n){let e=[];for(let t of n){let a=Acn[t.codePointAt(0)];if(a===void 0)throw new Error(`Non-base256emoji character: ${t}`);e.push(a)}return new Uint8Array(e)}function L1t(n,e,t){e=e||[],t=t||0;for(var a=t;n>=Fcn;)e[t++]=n&255|d1t,n/=128;for(;n&Ncn;)e[t++]=n&255|d1t,n>>>=7;return e[t]=n|0,L1t.bytes=t-a+1,e}function hpe(n,a){var t=0,a=a||0,r=0,i=a,s,f=n.length;do{if(i>=f)throw hpe.bytes=0,new RangeError("Could not decode varint");s=n[i++],t+=r<28?(s&l1t)<=Vcn);return hpe.bytes=i-a,t}function V1t(n){return globalThis.Buffer!=null?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):n}function rdn(n=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?V1t(globalThis.Buffer.allocUnsafe(n)):new Uint8Array(n)}function $1t(n,e,t,a){return{name:n,prefix:e,encoder:{name:n,prefix:e,encode:t},decoder:{decode:a}}}function sdn(n,e="utf8"){let t=idn[e];if(!t)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?V1t(globalThis.Buffer.from(n,"utf-8")):t.decoder.decode(`${t.prefix}${n}`)}var Vy,m9,G0,S1t,A1t,z1n,W1n,k1t,j1n,G1n,upe,ype,mpe,P1t,bpe,Mj,pP,K1n,Q1n,ao,Y1n,J1n,X1n,Z1n,ecn,tcn,ncn,acn,rcn,icn,scn,fcn,ocn,ccn,dcn,lcn,pcn,ucn,ycn,mcn,bcn,hcn,gcn,vcn,Tcn,_cn,wcn,xcn,Icn,Ecn,Dcn,Ccn,R1t,Scn,Acn,Rcn,Lcn,Mcn,d1t,Bcn,Ncn,Fcn,Ocn,Vcn,l1t,$cn,Ucn,qcn,Hcn,zcn,Wcn,jcn,Gcn,Kcn,Qcn,Ycn,M1t,p1t,u1t,gpe,vpe,B1t,Tpe,N1t,Jcn,Xcn,Zcn,F1t,edn,O1t,tdn,ndn,adn,y1t,m1t,dpe,idn,U1t,fdn,Bpe,a4,odn,cdn,ddn,b1t,ldn,pdn,udn,ydn,mdn,bdn,hdn,Npe,gdn,q1t,h1t,vdn,Oc,Tdn,z6,_dn,wdn,xdn,Idn,Edn,wu,Ddn,Cdn,Sdn,Adn,kdn,dP,u9,vp,Pdn,Rdn,Ldn,wd,Mdn,lpe,y9,_pe,Bdn,Ndn,Fdn,wpe,xpe,Ipe,Epe,Dpe,Odn,Vdn,$dn,g1t,Udn,qdn,v1t,lP,ppe,Cpe,Hdn,T1t,zdn,Wdn,_1t,jdn,Spe,Gdn,w1t,Kdn,Qdn,x1t,I1t,xu,Ape,kpe,Ppe,Rpe,Lpe,Ydn,E1t,Jdn,Xdn,D1t,C1t,Mpe,H1t,z1t=ce(()=>{p();u();Vy=Te(ti());KLe();m9=Te(f1t());ZV();fpe();Fh();UBe();oP();tle();G0=Te(Oh());cpe();Om();oFe();S1t=Te(HFe()),A1t=Te(jFe());z1n=H1n,W1n=z1n,k1t=n=>{if(n instanceof Uint8Array&&n.constructor.name==="Uint8Array")return n;if(n instanceof ArrayBuffer)return new Uint8Array(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength);throw new Error("Unknown type, must be binary type")},j1n=n=>new TextEncoder().encode(n),G1n=n=>new TextDecoder().decode(n),upe=class{constructor(e,t,a){this.name=e,this.prefix=t,this.baseEncode=a}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},ype=class{constructor(e,t,a){if(this.name=e,this.prefix=t,t.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=t.codePointAt(0),this.baseDecode=a}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return P1t(this,e)}},mpe=class{constructor(e){this.decoders=e}or(e){return P1t(this,e)}decode(e){let t=e[0],a=this.decoders[t];if(a)return a.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},P1t=(n,e)=>new mpe({...n.decoders||{[n.prefix]:n},...e.decoders||{[e.prefix]:e}}),bpe=class{constructor(e,t,a,r){this.name=e,this.prefix=t,this.baseEncode=a,this.baseDecode=r,this.encoder=new upe(e,t,a),this.decoder=new ype(e,t,r)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},Mj=({name:n,prefix:e,encode:t,decode:a})=>new bpe(n,e,t,a),pP=({prefix:n,name:e,alphabet:t})=>{let{encode:a,decode:r}=W1n(t,e);return Mj({prefix:n,name:e,encode:a,decode:i=>k1t(r(i))})},K1n=(n,e,t,a)=>{let r={};for(let d=0;d=8&&(f-=8,s[c++]=255&o>>f)}if(f>=t||255&o<<8-f)throw new SyntaxError("Unexpected end of data");return s},Q1n=(n,e,t)=>{let a=e[e.length-1]==="=",r=(1<t;)s-=t,i+=e[r&f>>s];if(s&&(i+=e[r&f<Mj({prefix:e,name:n,encode(r){return Q1n(r,a,t)},decode(r){return K1n(r,a,t,n)}}),Y1n=Mj({prefix:"\0",name:"identity",encode:n=>G1n(n),decode:n=>j1n(n)}),J1n=Object.freeze({__proto__:null,identity:Y1n}),X1n=ao({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),Z1n=Object.freeze({__proto__:null,base2:X1n}),ecn=ao({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),tcn=Object.freeze({__proto__:null,base8:ecn}),ncn=pP({prefix:"9",name:"base10",alphabet:"0123456789"}),acn=Object.freeze({__proto__:null,base10:ncn}),rcn=ao({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),icn=ao({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),scn=Object.freeze({__proto__:null,base16:rcn,base16upper:icn}),fcn=ao({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),ocn=ao({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),ccn=ao({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),dcn=ao({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),lcn=ao({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),pcn=ao({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),ucn=ao({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),ycn=ao({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),mcn=ao({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),bcn=Object.freeze({__proto__:null,base32:fcn,base32upper:ocn,base32pad:ccn,base32padupper:dcn,base32hex:lcn,base32hexupper:pcn,base32hexpad:ucn,base32hexpadupper:ycn,base32z:mcn}),hcn=pP({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),gcn=pP({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),vcn=Object.freeze({__proto__:null,base36:hcn,base36upper:gcn}),Tcn=pP({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),_cn=pP({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),wcn=Object.freeze({__proto__:null,base58btc:Tcn,base58flickr:_cn}),xcn=ao({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Icn=ao({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),Ecn=ao({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),Dcn=ao({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),Ccn=Object.freeze({__proto__:null,base64:xcn,base64pad:Icn,base64url:Ecn,base64urlpad:Dcn}),R1t=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),Scn=R1t.reduce((n,e,t)=>(n[t]=e,n),[]),Acn=R1t.reduce((n,e,t)=>(n[e.codePointAt(0)]=t,n),[]);Rcn=Mj({prefix:"\u{1F680}",name:"base256emoji",encode:kcn,decode:Pcn}),Lcn=Object.freeze({__proto__:null,base256emoji:Rcn}),Mcn=L1t,d1t=128,Bcn=127,Ncn=~Bcn,Fcn=Math.pow(2,31);Ocn=hpe,Vcn=128,l1t=127;$cn=Math.pow(2,7),Ucn=Math.pow(2,14),qcn=Math.pow(2,21),Hcn=Math.pow(2,28),zcn=Math.pow(2,35),Wcn=Math.pow(2,42),jcn=Math.pow(2,49),Gcn=Math.pow(2,56),Kcn=Math.pow(2,63),Qcn=function(n){return n<$cn?1:n(M1t.encode(n,e,t),e),u1t=n=>M1t.encodingLength(n),gpe=(n,e)=>{let t=e.byteLength,a=u1t(n),r=a+u1t(t),i=new Uint8Array(r+t);return p1t(n,i,0),p1t(t,i,a),i.set(e,r),new vpe(n,t,e,i)},vpe=class{constructor(e,t,a,r){this.code=e,this.size=t,this.digest=a,this.bytes=r}},B1t=({name:n,code:e,encode:t})=>new Tpe(n,e,t),Tpe=class{constructor(e,t,a){this.name=e,this.code=t,this.encode=a}digest(e){if(e instanceof Uint8Array){let t=this.encode(e);return t instanceof Uint8Array?gpe(this.code,t):t.then(a=>gpe(this.code,a))}else throw Error("Unknown type, must be binary type")}},N1t=n=>async e=>new Uint8Array(await crypto.subtle.digest(n,e)),Jcn=B1t({name:"sha2-256",code:18,encode:N1t("SHA-256")}),Xcn=B1t({name:"sha2-512",code:19,encode:N1t("SHA-512")}),Zcn=Object.freeze({__proto__:null,sha256:Jcn,sha512:Xcn}),F1t=0,edn="identity",O1t=k1t,tdn=n=>gpe(F1t,O1t(n)),ndn={code:F1t,name:edn,encode:O1t,digest:tdn},adn=Object.freeze({__proto__:null,identity:ndn});new TextEncoder,new TextDecoder;y1t={...J1n,...Z1n,...tcn,...acn,...scn,...bcn,...vcn,...wcn,...Ccn,...Lcn};({...Zcn,...adn});m1t=$1t("utf8","u",n=>"u"+new TextDecoder("utf8").decode(n),n=>new TextEncoder().encode(n.substring(1))),dpe=$1t("ascii","a",n=>{let e="a";for(let t=0;t{n=n.substring(1);let e=rdn(n.length);for(let t=0;t{if(!this.initialized){let a=await this.getKeyChain();typeof a<"u"&&(this.keychain=a),this.initialized=!0}},this.has=a=>(this.isInitialized(),this.keychain.has(a)),this.set=async(a,r)=>{this.isInitialized(),this.keychain.set(a,r),await this.persist()},this.get=a=>{this.isInitialized();let r=this.keychain.get(a);if(typeof r>"u"){let{message:i}=St("NO_MATCHING_KEY",`${this.name}: ${a}`);throw new Error(i)}return r},this.del=async a=>{this.isInitialized(),this.keychain.delete(a),await this.persist()},this.core=e,this.logger=Fo(t,this.name)}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Sle(e))}async getKeyChain(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Ale(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},xpe=class{constructor(e,t,a){this.core=e,this.logger=t,this.name=ddn,this.initialized=!1,this.init=async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)},this.hasKeys=r=>(this.isInitialized(),this.keychain.has(r)),this.getClientId=async()=>{this.isInitialized();let r=await this.getClientSeed(),i=aie(r);return v$(i.publicKey)},this.generateKeyPair=()=>{this.isInitialized();let r=Bot();return this.setPrivateKey(r.publicKey,r.privateKey)},this.signJWT=async r=>{this.isInitialized();let i=await this.getClientSeed(),s=aie(i),f=bj();return await OBe(f,r,ldn,s)},this.generateSharedKey=(r,i,s)=>{this.isInitialized();let f=this.getPrivateKey(r),o=Not(f,i);return this.setSymKey(o,s)},this.setSymKey=async(r,i)=>{this.isInitialized();let s=i||Ix(r);return await this.keychain.set(s,r),s},this.deleteKeyPair=async r=>{this.isInitialized(),await this.keychain.del(r)},this.deleteSymKey=async r=>{this.isInitialized(),await this.keychain.del(r)},this.encode=async(r,i,s)=>{this.isInitialized();let f=Hle(s),o=x1(i);if(zle(f)){let y=f.senderPublicKey,h=f.receiverPublicKey;r=await this.generateSharedKey(y,h)}let c=this.getSymKey(r),{type:d,senderPublicKey:l}=f;return Fot({type:d,symKey:c,message:o,senderPublicKey:l})},this.decode=async(r,i,s)=>{this.isInitialized();let f=Vot(i,s);if(zle(f)){let o=f.receiverPublicKey,c=f.senderPublicKey;r=await this.generateSharedKey(o,c)}try{let o=this.getSymKey(r),c=Oot({symKey:o,encoded:i});return T5(c)}catch(o){this.logger.error(`Failed to decode message from topic: '${r}', clientId: '${await this.getClientId()}'`),this.logger.error(o)}},this.getPayloadType=r=>{let i=sP(r);return Ex(i.type)},this.getPayloadSenderPublicKey=r=>{let i=sP(r);return i.senderPublicKey?hs(i.senderPublicKey,e1):void 0},this.core=e,this.logger=Fo(t,this.name),this.keychain=a||new wpe(this.core,this.logger)}get context(){return No(this.logger)}async setPrivateKey(e,t){return await this.keychain.set(e,t),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(b1t)}catch{e=bj(),await this.keychain.set(b1t,e)}return sdn(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},Ipe=class extends Ij{constructor(e,t){super(e,t),this.logger=e,this.core=t,this.messages=new Map,this.name=ydn,this.version=mdn,this.initialized=!1,this.storagePrefix=a4,this.init=async()=>{if(!this.initialized){this.logger.trace("Initialized");try{let a=await this.getRelayerMessages();typeof a<"u"&&(this.messages=a),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(a){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(a)}finally{this.initialized=!0}}},this.set=async(a,r)=>{this.isInitialized();let i=Oy(r),s=this.messages.get(a);return typeof s>"u"&&(s={}),typeof s[i]<"u"||(s[i]=r,this.messages.set(a,s),await this.persist()),i},this.get=a=>{this.isInitialized();let r=this.messages.get(a);return typeof r>"u"&&(r={}),r},this.has=(a,r)=>{this.isInitialized();let i=this.get(a),s=Oy(r);return typeof i[s]<"u"},this.del=async a=>{this.isInitialized(),this.messages.delete(a),await this.persist()},this.logger=Fo(e,this.name),this.core=t}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Sle(e))}async getRelayerMessages(){let e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Ale(e):void 0}async persist(){await this.setRelayerMessages(this.messages)}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},Epe=class extends Ej{constructor(e,t){super(e,t),this.relayer=e,this.logger=t,this.events=new Vy.EventEmitter,this.name=hdn,this.queue=new Map,this.publishTimeout=(0,G0.toMiliseconds)(G0.ONE_MINUTE),this.failedPublishTimeout=(0,G0.toMiliseconds)(G0.ONE_SECOND),this.needsTransportRestart=!1,this.publish=async(a,r,i)=>{var s;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:a,message:r,opts:i}});let f=i?.ttl||bdn,o=hj(i),c=i?.prompt||!1,d=i?.tag||0,l=i?.id||Wl().toString(),y={topic:a,message:r,opts:{ttl:f,relay:o,prompt:c,tag:d,id:l}},h=`Failed to publish payload, please try again. id:${l} tag:${d}`,T=Date.now(),A,O=1;try{for(;A===void 0;){if(Date.now()-T>this.publishTimeout)throw new Error(h);this.logger.trace({id:l,attempts:O},`publisher.publish - attempt ${O}`),A=await await vx(this.rpcPublish(a,r,f,o,c,d,l).catch(N=>this.logger.warn(N)),this.publishTimeout,h),O++,A||await new Promise(N=>setTimeout(N,this.failedPublishTimeout))}this.relayer.events.emit(Oc.publish,y),this.logger.debug("Successfully Published Payload"),this.logger.trace({type:"method",method:"publish",params:{id:l,topic:a,message:r,opts:i}})}catch(N){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(N),(s=i?.internal)!=null&&s.throwOnFailedPublish)throw N;this.queue.set(l,y)}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.relayer=e,this.logger=Fo(t,this.name),this.registerEventListeners()}get context(){return No(this.logger)}rpcPublish(e,t,a,r,i,s,f){var o,c,d,l;let y={method:fP(r.protocol).publish,params:{topic:e,message:t,ttl:a,prompt:i,tag:s},id:f};return to((o=y.params)==null?void 0:o.prompt)&&((c=y.params)==null||delete c.prompt),to((d=y.params)==null?void 0:d.tag)&&((l=y.params)==null||delete l.tag),this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:y}),this.relayer.request(y)}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async e=>{let{topic:t,message:a,opts:r}=e;await this.publish(t,a,r)})}registerEventListeners(){this.relayer.core.heartbeat.on(m9.HEARTBEAT_EVENTS.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Oc.connection_stalled);return}this.checkQueue()}),this.relayer.on(Oc.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}},Dpe=class{constructor(){this.map=new Map,this.set=(e,t)=>{let a=this.get(e);this.exists(e,t)||this.map.set(e,[...a,t])},this.get=e=>this.map.get(e)||[],this.exists=(e,t)=>this.get(e).includes(t),this.delete=(e,t)=>{if(typeof t>"u"){this.map.delete(e);return}if(!this.map.has(e))return;let a=this.get(e);if(!this.exists(e,t))return;let r=a.filter(i=>i!==t);if(!r.length){this.map.delete(e);return}this.map.set(e,r)},this.clear=()=>{this.map.clear()}}get topics(){return Array.from(this.map.keys())}},Odn=Object.defineProperty,Vdn=Object.defineProperties,$dn=Object.getOwnPropertyDescriptors,g1t=Object.getOwnPropertySymbols,Udn=Object.prototype.hasOwnProperty,qdn=Object.prototype.propertyIsEnumerable,v1t=(n,e,t)=>e in n?Odn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,lP=(n,e)=>{for(var t in e||(e={}))Udn.call(e,t)&&v1t(n,t,e[t]);if(g1t)for(var t of g1t(e))qdn.call(e,t)&&v1t(n,t,e[t]);return n},ppe=(n,e)=>Vdn(n,$dn(e)),Cpe=class extends Sj{constructor(e,t){super(e,t),this.relayer=e,this.logger=t,this.subscriptions=new Map,this.topicMap=new Dpe,this.events=new Vy.EventEmitter,this.name=Ddn,this.version=Cdn,this.pending=new Map,this.cached=[],this.initialized=!1,this.pendingSubscriptionWatchLabel="pending_sub_watch_label",this.pollingInterval=20,this.storagePrefix=a4,this.subscribeTimeout=(0,G0.toMiliseconds)(G0.ONE_MINUTE),this.restartInProgress=!1,this.batchSubscribeTopicsLimit=500,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),this.clientId=await this.relayer.core.crypto.getClientId())},this.subscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}});try{let i=hj(r),s={topic:a,relay:i};this.pending.set(a,s);let f=await this.rpcSubscribe(a,i);return typeof f=="string"&&(this.onSubscribe(f,s),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:a,opts:r}})),f}catch(i){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(i),i}},this.unsubscribe=async(a,r)=>{await this.restartToComplete(),this.isInitialized(),typeof r?.id<"u"?await this.unsubscribeById(a,r.id,r):await this.unsubscribeByTopic(a,r)},this.isSubscribed=async a=>{if(this.topics.includes(a))return!0;let r=`${this.pendingSubscriptionWatchLabel}_${a}`;return await new Promise((i,s)=>{let f=new G0.Watch;f.start(r);let o=setInterval(()=>{!this.pending.has(a)&&this.topics.includes(a)&&(clearInterval(o),f.stop(r),i(!0)),f.elapsed(r)>=Sdn&&(clearInterval(o),f.stop(r),s(new Error("Subscription resolution timeout")))},this.pollingInterval)}).catch(()=>!1)},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.start=async()=>{await this.onConnect()},this.stop=async()=>{await this.onDisconnect()},this.restart=async()=>{this.restartInProgress=!0,await this.restore(),await this.reset(),this.restartInProgress=!1},this.relayer=e,this.logger=Fo(t,this.name),this.clientId=""}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}hasSubscription(e,t){let a=!1;try{a=this.getSubscription(e).topic===t}catch{}return a}onEnable(){this.cached=[],this.initialized=!0}onDisable(){this.cached=this.values,this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,t){let a=this.topicMap.get(e);await Promise.all(a.map(async r=>await this.unsubscribeById(e,r,t)))}async unsubscribeById(e,t,a){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:t,opts:a}});try{let r=hj(a);await this.rpcUnsubscribe(e,t,r);let i=Ta("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,t,i),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:t,opts:a}})}catch(r){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(r),r}}async rpcSubscribe(e,t){let a={method:fP(t.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await vx(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)?Oy(e+this.clientId):null}catch{this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Oc.connection_stalled)}return null}async rpcBatchSubscribe(e){if(!e.length)return;let t=e[0].relay,a={method:fP(t.protocol).batchSubscribe,params:{topics:e.map(r=>r.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});try{return await await vx(this.relayer.request(a).catch(r=>this.logger.warn(r)),this.subscribeTimeout)}catch{this.relayer.events.emit(Oc.connection_stalled)}}rpcUnsubscribe(e,t,a){let r={method:fP(a.protocol).unsubscribe,params:{topic:e,id:t}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r}),this.relayer.request(r)}onSubscribe(e,t){this.setSubscription(e,ppe(lP({},t),{id:e})),this.pending.delete(t.topic)}onBatchSubscribe(e){e.length&&e.forEach(t=>{this.setSubscription(t.id,lP({},t)),this.pending.delete(t.topic)})}async onUnsubscribe(e,t,a){this.events.removeAllListeners(t),this.hasSubscription(t,e)&&this.deleteSubscription(t,a),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,t){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:t}),this.addSubscription(e,t)}addSubscription(e,t){this.subscriptions.set(e,lP({},t)),this.topicMap.set(t.topic,e),this.events.emit(wu.created,t)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});let t=this.subscriptions.get(e);if(!t){let{message:a}=St("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return t}deleteSubscription(e,t){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:t});let a=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(a.topic,e),this.events.emit(wu.deleted,ppe(lP({},a),{reason:t}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(wu.sync)}async reset(){if(this.cached.length){let e=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let t=0;t"u"||!e.length)return;if(this.subscriptions.size){let{message:t}=St("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(t),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(t)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(!e.length)return;let t=await this.rpcBatchSubscribe(e);Td(t)&&this.onBatchSubscribe(t.map((a,r)=>ppe(lP({},e[r]),{id:a})))}async onConnect(){await this.restart(),this.onEnable()}onDisconnect(){this.onDisable()}async checkPending(){if(!this.initialized||!this.relayer.connected)return;let e=[];this.pending.forEach(t=>{e.push(t)}),await this.batchSubscribe(e)}registerEventListeners(){this.relayer.core.heartbeat.on(m9.HEARTBEAT_EVENTS.pulse,async()=>{await this.checkPending()}),this.events.on(wu.created,async e=>{let t=wu.created;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,data:e}),await this.persist()}),this.events.on(wu.deleted,async e=>{let t=wu.deleted;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,data:e}),await this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(){this.restartInProgress&&await new Promise(e=>{let t=setInterval(()=>{this.restartInProgress||(clearInterval(t),e())},this.pollingInterval)})}},Hdn=Object.defineProperty,T1t=Object.getOwnPropertySymbols,zdn=Object.prototype.hasOwnProperty,Wdn=Object.prototype.propertyIsEnumerable,_1t=(n,e,t)=>e in n?Hdn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,jdn=(n,e)=>{for(var t in e||(e={}))zdn.call(e,t)&&_1t(n,t,e[t]);if(T1t)for(var t of T1t(e))Wdn.call(e,t)&&_1t(n,t,e[t]);return n},Spe=class extends Dj{constructor(e){super(e),this.protocol="wc",this.version=2,this.events=new Vy.EventEmitter,this.name=vdn,this.transportExplicitlyClosed=!1,this.initialized=!1,this.connectionAttemptInProgress=!1,this.connectionStatusPollingInterval=20,this.staleConnectionErrors=["socket hang up","socket stalled","interrupted"],this.hasExperiencedNetworkDisruption=!1,this.requestsInFlight=new Map,this.heartBeatTimeout=(0,G0.toMiliseconds)(G0.THIRTY_SECONDS+G0.ONE_SECOND),this.request=async t=>{var a,r;this.logger.debug("Publishing Request Payload");let i=t.id||Wl().toString();await this.toEstablishConnection();try{let s=this.provider.request(t);this.requestsInFlight.set(i,{promise:s,request:t}),this.logger.trace({id:i,method:t.method,topic:(a=t.params)==null?void 0:a.topic},"relayer.request - attempt to publish...");let f=await new Promise(async(o,c)=>{let d=()=>{c(new Error(`relayer.request - publish interrupted, id: ${i}`))};this.provider.on(z6.disconnect,d);let l=await s;this.provider.off(z6.disconnect,d),o(l)});return this.logger.trace({id:i,method:t.method,topic:(r=t.params)==null?void 0:r.topic},"relayer.request - published"),f}catch(s){throw this.logger.debug(`Failed to Publish Request: ${i}`),s}finally{this.requestsInFlight.delete(i)}},this.resetPingTimeout=()=>{if(gx())try{clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var t,a,r;(r=(a=(t=this.provider)==null?void 0:t.connection)==null?void 0:a.socket)==null||r.terminate()},this.heartBeatTimeout)}catch(t){this.logger.warn(t)}},this.onPayloadHandler=t=>{this.onProviderPayload(t),this.resetPingTimeout()},this.onConnectHandler=()=>{this.startPingTimeout(),this.events.emit(Oc.connect)},this.onDisconnectHandler=()=>{this.onProviderDisconnect()},this.onProviderErrorHandler=t=>{this.logger.error(t),this.events.emit(Oc.error,t),this.logger.info("Fatal socket error received, closing transport"),this.transportClose()},this.registerProviderListeners=()=>{this.provider.on(z6.payload,this.onPayloadHandler),this.provider.on(z6.connect,this.onConnectHandler),this.provider.on(z6.disconnect,this.onDisconnectHandler),this.provider.on(z6.error,this.onProviderErrorHandler)},this.core=e.core,this.logger=typeof e.logger<"u"&&typeof e.logger!="string"?Fo(e.logger,this.name):(0,Vh.default)($h({level:e.logger||gdn})),this.messages=new Ipe(this.logger,e.core),this.subscriber=new Cpe(this,this.logger),this.publisher=new Epe(this,this.logger),this.relayUrl=e?.relayUrl||q1t,this.projectId=e.projectId,this.bundleId=Vft(),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await this.createProvider(),await Promise.all([this.messages.init(),this.subscriber.init()]);try{await this.transportOpen()}catch{this.logger.warn(`Connection via ${this.relayUrl} failed, attempting to connect via failover domain ${h1t}...`),await this.restartTransport(h1t)}this.initialized=!0,setTimeout(async()=>{this.subscriber.topics.length===0&&this.subscriber.pending.size===0&&(this.logger.info("No topics subscribed to after init, closing transport"),await this.transportClose(),this.transportExplicitlyClosed=!1)},xdn)}get context(){return No(this.logger)}get connected(){var e,t,a;return((a=(t=(e=this.provider)==null?void 0:e.connection)==null?void 0:t.socket)==null?void 0:a.readyState)===1}get connecting(){var e,t,a;return((a=(t=(e=this.provider)==null?void 0:e.connection)==null?void 0:t.socket)==null?void 0:a.readyState)===0}async publish(e,t,a){this.isInitialized(),await this.publisher.publish(e,t,a),await this.recordMessageEvent({topic:e,message:t,publishedAt:Date.now()})}async subscribe(e,t){var a;this.isInitialized();let r=((a=this.subscriber.topicMap.get(e))==null?void 0:a[0])||"",i,s=f=>{f.topic===e&&(this.subscriber.off(wu.created,s),i())};return await Promise.all([new Promise(f=>{i=f,this.subscriber.on(wu.created,s)}),new Promise(async f=>{r=await this.subscriber.subscribe(e,t)||r,f()})]),r}async unsubscribe(e,t){this.isInitialized(),await this.subscriber.unsubscribe(e,t)}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async transportDisconnect(){if(!this.hasExperiencedNetworkDisruption&&this.connected&&this.requestsInFlight.size>0)try{await Promise.all(Array.from(this.requestsInFlight.values()).map(e=>e.promise))}catch(e){this.logger.warn(e)}this.hasExperiencedNetworkDisruption||this.connected?await vx(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,await this.transportDisconnect()}async transportOpen(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect(),await this.createProvider()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;try{await new Promise(async(t,a)=>{let r=()=>{this.provider.off(z6.disconnect,r),a(new Error("Connection interrupted while trying to subscribe"))};this.provider.on(z6.disconnect,r),await vx(this.provider.connect(),(0,G0.toMiliseconds)(G0.ONE_MINUTE),`Socket stalled when trying to connect to ${this.relayUrl}`).catch(i=>{a(i)}),await this.subscriber.start(),this.hasExperiencedNetworkDisruption=!1,t()})}catch(t){this.logger.error(t);let a=t;if(!this.isConnectionStalled(a.message))throw t}finally{this.connectionAttemptInProgress=!1}}async restartTransport(e){this.connectionAttemptInProgress||(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.createProvider(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await Jle())throw new Error("No internet connection detected. Please restart your network and try again.")}startPingTimeout(){var e,t,a,r,i;if(gx())try{(t=(e=this.provider)==null?void 0:e.connection)!=null&&t.socket&&((i=(r=(a=this.provider)==null?void 0:a.connection)==null?void 0:r.socket)==null||i.once("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(s){this.logger.warn(s)}}isConnectionStalled(e){return this.staleConnectionErrors.some(t=>e.includes(t))}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();let e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new _d(new q$(Uft({sdkVersion:wdn,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId}))),this.registerProviderListeners()}async recordMessageEvent(e){let{topic:t,message:a}=e;await this.messages.set(t,a)}async shouldIgnoreMessageEvent(e){let{topic:t,message:a}=e;if(!a||a.length===0)return this.logger.debug(`Ignoring invalid/empty message: ${a}`),!0;if(!await this.subscriber.isSubscribed(t))return this.logger.debug(`Ignoring message for non-subscribed topic ${t}`),!0;let r=this.messages.has(t,a);return r&&this.logger.debug(`Ignoring duplicate message: ${a}`),r}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),d_(e)){if(!e.method.endsWith(Tdn))return;let t=e.params,{topic:a,message:r,publishedAt:i}=t.data,s={topic:a,message:r,publishedAt:i};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(jdn({type:"event",event:t.id},s)),this.events.emit(t.id,s),await this.acknowledgePayload(e),await this.onMessageEvent(s)}else Fm(e)&&this.events.emit(Oc.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(this.events.emit(Oc.message,e),await this.recordMessageEvent(e))}async acknowledgePayload(e){let t=ty(e.id,!0);await this.provider.connection.send(t)}unregisterProviderListeners(){this.provider.off(z6.payload,this.onPayloadHandler),this.provider.off(z6.connect,this.onConnectHandler),this.provider.off(z6.disconnect,this.onDisconnectHandler),this.provider.off(z6.error,this.onProviderErrorHandler)}async registerEventListeners(){let e=await Jle();a1t(async t=>{e!==t&&(e=t,t?await this.restartTransport().catch(a=>this.logger.error(a)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))})}async onProviderDisconnect(){await this.subscriber.stop(),this.events.emit(Oc.disconnect),this.connectionAttemptInProgress=!1,!this.transportExplicitlyClosed&&setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e))},(0,G0.toMiliseconds)(_dn))}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){await this.confirmOnlineStateOrThrow(),!this.connected&&(this.connectionAttemptInProgress&&await new Promise(e=>{let t=setInterval(()=>{this.connected&&(clearInterval(t),e())},this.connectionStatusPollingInterval)}),await this.transportOpen())}},Gdn=Object.defineProperty,w1t=Object.getOwnPropertySymbols,Kdn=Object.prototype.hasOwnProperty,Qdn=Object.prototype.propertyIsEnumerable,x1t=(n,e,t)=>e in n?Gdn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,I1t=(n,e)=>{for(var t in e||(e={}))Kdn.call(e,t)&&x1t(n,t,e[t]);if(w1t)for(var t of w1t(e))Qdn.call(e,t)&&x1t(n,t,e[t]);return n},xu=class extends Cj{constructor(e,t,a,r=a4,i=void 0){super(e,t,a,r),this.core=e,this.logger=t,this.name=a,this.map=new Map,this.version=Idn,this.cached=[],this.initialized=!1,this.storagePrefix=a4,this.recentlyDeleted=[],this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(s=>{this.getKey&&s!==null&&!to(s)?this.map.set(this.getKey(s),s):Hot(s)?this.map.set(s.id,s):zot(s)&&this.map.set(s.topic,s)}),this.cached=[],this.initialized=!0)},this.set=async(s,f)=>{this.isInitialized(),this.map.has(s)?await this.update(s,f):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:s,value:f}),this.map.set(s,f),await this.persist())},this.get=s=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:s}),this.getData(s)),this.getAll=s=>(this.isInitialized(),s?this.values.filter(f=>Object.keys(s).every(o=>(0,S1t.default)(f[o],s[o]))):this.values),this.update=async(s,f)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:s,update:f});let o=I1t(I1t({},this.getData(s)),f);this.map.set(s,o),await this.persist()},this.delete=async(s,f)=>{this.isInitialized(),this.map.has(s)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:s,reason:f}),this.map.delete(s),this.addToRecentlyDeleted(s),await this.persist())},this.logger=Fo(t,this.name),this.storagePrefix=r,this.getKey=i}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){let t=this.map.get(e);if(!t){if(this.recentlyDeleted.includes(e)){let{message:r}=St("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}let{message:a}=St("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(a),new Error(a)}return t}async persist(){await this.setDataStore(this.values)}async restore(){try{let e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){let{message:t}=St("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(t),new Error(t)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},Ape=class{constructor(e,t){this.core=e,this.logger=t,this.name=Adn,this.version=kdn,this.events=new Vy.default,this.initialized=!1,this.storagePrefix=a4,this.ignoredPayloadTypes=[_u],this.registeredMethods=[],this.init=async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))},this.register=({methods:a})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...a])]},this.create=async a=>{this.isInitialized();let r=bj(),i=await this.core.crypto.setSymKey(r),s=xf(G0.FIVE_MINUTES),f={protocol:Npe},o={topic:i,expiry:s,relay:f,active:!1},c=$ot({protocol:this.core.protocol,version:this.core.version,topic:i,symKey:r,relay:f,expiryTimestamp:s,methods:a?.methods});return await this.pairings.set(i,o),await this.core.relayer.subscribe(i),this.core.expirer.set(i,s),{topic:i,uri:c}},this.pair=async a=>{this.isInitialized(),this.isValidPair(a);let{topic:r,symKey:i,relay:s,expiryTimestamp:f,methods:o}=Wle(a.uri),c;if(this.pairings.keys.includes(r)&&(c=this.pairings.get(r),c.active))throw new Error(`Pairing already exists: ${r}. Please try again with a new connection URI.`);let d=f||xf(G0.FIVE_MINUTES),l={topic:r,relay:s,expiry:d,active:!1,methods:o};return await this.pairings.set(r,l),this.core.expirer.set(r,d),a.activatePairing&&await this.activate({topic:r}),this.events.emit(u9.create,l),this.core.crypto.keychain.has(r)||await this.core.crypto.setSymKey(i,r),await this.core.relayer.subscribe(r,{relay:s}),l},this.activate=async({topic:a})=>{this.isInitialized();let r=xf(G0.THIRTY_DAYS);await this.pairings.update(a,{active:!0,expiry:r}),this.core.expirer.set(a,r)},this.ping=async a=>{this.isInitialized(),await this.isValidPing(a);let{topic:r}=a;if(this.pairings.keys.includes(r)){let i=await this.sendRequest(r,"wc_pairingPing",{}),{done:s,resolve:f,reject:o}=Fy();this.events.once(Dn("pairing_ping",i),({error:c})=>{c?o(c):f()}),await s()}},this.updateExpiry=async({topic:a,expiry:r})=>{this.isInitialized(),await this.pairings.update(a,{expiry:r})},this.updateMetadata=async({topic:a,metadata:r})=>{this.isInitialized(),await this.pairings.update(a,{peerMetadata:r})},this.getPairings=()=>(this.isInitialized(),this.pairings.values),this.disconnect=async a=>{this.isInitialized(),await this.isValidDisconnect(a);let{topic:r}=a;this.pairings.keys.includes(r)&&(await this.sendRequest(r,"wc_pairingDelete",Ta("USER_DISCONNECTED")),await this.deletePairing(r))},this.sendRequest=async(a,r,i)=>{let s=A5(r,i),f=await this.core.crypto.encode(a,s),o=dP[r].req;return this.core.history.set(a,s),this.core.relayer.publish(a,f,o),s.id},this.sendResult=async(a,r,i)=>{let s=ty(a,i),f=await this.core.crypto.encode(r,s),o=await this.core.history.get(r,a),c=dP[o.request.method].res;await this.core.relayer.publish(r,f,c),await this.core.history.resolve(s)},this.sendError=async(a,r,i)=>{let s=ny(a,i),f=await this.core.crypto.encode(r,s),o=await this.core.history.get(r,a),c=dP[o.request.method]?dP[o.request.method].res:dP.unregistered_method.res;await this.core.relayer.publish(r,f,c),await this.core.history.resolve(s)},this.deletePairing=async(a,r)=>{await this.core.relayer.unsubscribe(a),await Promise.all([this.pairings.delete(a,Ta("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(a),r?Promise.resolve():this.core.expirer.del(a)])},this.cleanup=async()=>{let a=this.pairings.getAll().filter(r=>vu(r.expiry));await Promise.all(a.map(r=>this.deletePairing(r.topic)))},this.onRelayEventRequest=a=>{let{topic:r,payload:i}=a;switch(i.method){case"wc_pairingPing":return this.onPairingPingRequest(r,i);case"wc_pairingDelete":return this.onPairingDeleteRequest(r,i);default:return this.onUnknownRpcMethodRequest(r,i)}},this.onRelayEventResponse=async a=>{let{topic:r,payload:i}=a,s=(await this.core.history.get(r,i.id)).request.method;switch(s){case"wc_pairingPing":return this.onPairingPingResponse(r,i);default:return this.onUnknownRpcMethodResponse(s)}},this.onPairingPingRequest=async(a,r)=>{let{id:i}=r;try{this.isValidPing({topic:a}),await this.sendResult(i,a,!0),this.events.emit(u9.ping,{id:i,topic:a})}catch(s){await this.sendError(i,a,s),this.logger.error(s)}},this.onPairingPingResponse=(a,r)=>{let{id:i}=r;setTimeout(()=>{fd(r)?this.events.emit(Dn("pairing_ping",i),{}):$o(r)&&this.events.emit(Dn("pairing_ping",i),{error:r.error})},500)},this.onPairingDeleteRequest=async(a,r)=>{let{id:i}=r;try{this.isValidDisconnect({topic:a}),await this.deletePairing(a),this.events.emit(u9.delete,{id:i,topic:a})}catch(s){await this.sendError(i,a,s),this.logger.error(s)}},this.onUnknownRpcMethodRequest=async(a,r)=>{let{id:i,method:s}=r;try{if(this.registeredMethods.includes(s))return;let f=Ta("WC_METHOD_UNSUPPORTED",s);await this.sendError(i,a,f),this.logger.error(f)}catch(f){await this.sendError(i,a,f),this.logger.error(f)}},this.onUnknownRpcMethodResponse=a=>{this.registeredMethods.includes(a)||this.logger.error(Ta("WC_METHOD_UNSUPPORTED",a))},this.isValidPair=a=>{var r;if(!t1(a)){let{message:s}=St("MISSING_OR_INVALID",`pair() params: ${a}`);throw new Error(s)}if(!qot(a.uri)){let{message:s}=St("MISSING_OR_INVALID",`pair() uri: ${a.uri}`);throw new Error(s)}let i=Wle(a.uri);if(!((r=i?.relay)!=null&&r.protocol)){let{message:s}=St("MISSING_OR_INVALID","pair() uri#relay-protocol");throw new Error(s)}if(!(i!=null&&i.symKey)){let{message:s}=St("MISSING_OR_INVALID","pair() uri#symKey");throw new Error(s)}if(i!=null&&i.expiryTimestamp&&(0,G0.toMiliseconds)(i?.expiryTimestamp){if(!t1(a)){let{message:i}=St("MISSING_OR_INVALID",`ping() params: ${a}`);throw new Error(i)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidDisconnect=async a=>{if(!t1(a)){let{message:i}=St("MISSING_OR_INVALID",`disconnect() params: ${a}`);throw new Error(i)}let{topic:r}=a;await this.isValidPairingTopic(r)},this.isValidPairingTopic=async a=>{if(!Ti(a,!1)){let{message:r}=St("MISSING_OR_INVALID",`pairing topic should be a string: ${a}`);throw new Error(r)}if(!this.pairings.keys.includes(a)){let{message:r}=St("NO_MATCHING_KEY",`pairing topic doesn't exist: ${a}`);throw new Error(r)}if(vu(this.pairings.get(a).expiry)){await this.deletePairing(a);let{message:r}=St("EXPIRED",`pairing topic: ${a}`);throw new Error(r)}},this.core=e,this.logger=Fo(t,this.name),this.pairings=new xu(this.core,this.logger,this.name,this.storagePrefix)}get context(){return No(this.logger)}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(Oc.message,async e=>{let{topic:t,message:a}=e;if(!this.pairings.keys.includes(t)||this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(a)))return;let r=await this.core.crypto.decode(t,a);try{d_(r)?(this.core.history.set(t,r),this.onRelayEventRequest({topic:t,payload:r})):Fm(r)&&(await this.core.history.resolve(r),await this.onRelayEventResponse({topic:t,payload:r}),this.core.history.delete(t,r.id))}catch(i){this.logger.error(i)}})}registerExpirerEvents(){this.core.expirer.on(wd.expired,async e=>{let{topic:t}=yj(e.target);t&&this.pairings.keys.includes(t)&&(await this.deletePairing(t,!0),this.events.emit(u9.expire,{topic:t}))})}},kpe=class extends xj{constructor(e,t){super(e,t),this.core=e,this.logger=t,this.records=new Map,this.events=new Vy.EventEmitter,this.name=Pdn,this.version=Rdn,this.cached=[],this.initialized=!1,this.storagePrefix=a4,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.records.set(a.id,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.set=(a,r,i)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:a,request:r,chainId:i}),this.records.has(r.id))return;let s={id:r.id,topic:a,request:{method:r.method,params:r.params||null},chainId:i,expiry:xf(G0.THIRTY_DAYS)};this.records.set(s.id,s),this.persist(),this.events.emit(vp.created,s)},this.resolve=async a=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:a}),!this.records.has(a.id))return;let r=await this.getRecord(a.id);typeof r.response>"u"&&(r.response=$o(a)?{error:a.error}:{result:a.result},this.records.set(r.id,r),this.persist(),this.events.emit(vp.updated,r))},this.get=async(a,r)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:a,id:r}),await this.getRecord(r)),this.delete=(a,r)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:r}),this.values.forEach(i=>{if(i.topic===a){if(typeof r<"u"&&i.id!==r)return;this.records.delete(i.id),this.events.emit(vp.deleted,i)}}),this.persist()},this.exists=async(a,r)=>(this.isInitialized(),this.records.has(r)?(await this.getRecord(r)).topic===a:!1),this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Fo(t,this.name)}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){let e=[];return this.values.forEach(t=>{if(typeof t.response<"u")return;let a={topic:t.topic,request:A5(t.request.method,t.request.params,t.id),chainId:t.chainId};return e.push(a)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();let t=this.records.get(e);if(!t){let{message:a}=St("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(a)}return t}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(vp.sync)}async restore(){try{let e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){let{message:t}=St("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(t),new Error(t)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(vp.created,e=>{let t=vp.created;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,record:e})}),this.events.on(vp.updated,e=>{let t=vp.updated;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,record:e})}),this.events.on(vp.deleted,e=>{let t=vp.deleted;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,record:e})}),this.core.heartbeat.on(m9.HEARTBEAT_EVENTS.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(t=>{(0,G0.toMiliseconds)(t.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${t.id}`),this.records.delete(t.id),this.events.emit(vp.deleted,t,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},Ppe=class extends Aj{constructor(e,t){super(e,t),this.core=e,this.logger=t,this.expirations=new Map,this.events=new Vy.EventEmitter,this.name=Ldn,this.version=Mdn,this.cached=[],this.initialized=!1,this.storagePrefix=a4,this.init=async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(a=>this.expirations.set(a.target,a)),this.cached=[],this.registerEventListeners(),this.initialized=!0)},this.has=a=>{try{let r=this.formatTarget(a);return typeof this.getExpiration(r)<"u"}catch{return!1}},this.set=(a,r)=>{this.isInitialized();let i=this.formatTarget(a),s={target:i,expiry:r};this.expirations.set(i,s),this.checkExpiry(i,s),this.events.emit(wd.created,{target:i,expiration:s})},this.get=a=>{this.isInitialized();let r=this.formatTarget(a);return this.getExpiration(r)},this.del=a=>{if(this.isInitialized(),this.has(a)){let r=this.formatTarget(a),i=this.getExpiration(r);this.expirations.delete(r),this.events.emit(wd.deleted,{target:r,expiration:i})}},this.on=(a,r)=>{this.events.on(a,r)},this.once=(a,r)=>{this.events.once(a,r)},this.off=(a,r)=>{this.events.off(a,r)},this.removeListener=(a,r)=>{this.events.removeListener(a,r)},this.logger=Fo(t,this.name)}get context(){return No(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return Hft(e);if(typeof e=="number")return zft(e);let{message:t}=St("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(t)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(wd.sync)}async restore(){try{let e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){let{message:t}=St("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(t),new Error(t)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){let t=this.expirations.get(e);if(!t){let{message:a}=St("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(a),new Error(a)}return t}checkExpiry(e,t){let{expiry:a}=t;(0,G0.toMiliseconds)(a)-Date.now()<=0&&this.expire(e,t)}expire(e,t){this.expirations.delete(e),this.events.emit(wd.expired,{target:e,expiration:t})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,t)=>this.checkExpiry(t,e))}registerEventListeners(){this.core.heartbeat.on(m9.HEARTBEAT_EVENTS.pulse,()=>this.checkExpirations()),this.events.on(wd.created,e=>{let t=wd.created;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,data:e}),this.persist()}),this.events.on(wd.expired,e=>{let t=wd.expired;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,data:e}),this.persist()}),this.events.on(wd.deleted,e=>{let t=wd.deleted;this.logger.info(`Emitting ${t}`),this.logger.debug({type:"event",event:t,data:e}),this.persist()})}isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}}},Rpe=class extends kj{constructor(e,t){super(e,t),this.projectId=e,this.logger=t,this.name=lpe,this.initialized=!1,this.queue=[],this.verifyDisabled=!1,this.init=async a=>{if(this.verifyDisabled||d9()||!n4())return;let r=this.getVerifyUrl(a?.verifyUrl);this.verifyUrl!==r&&this.removeIframe(),this.verifyUrl=r;try{await this.createIframe()}catch(i){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(i)}if(!this.initialized){this.removeIframe(),this.verifyUrl=_pe;try{await this.createIframe()}catch(i){this.logger.info(`Verify iframe failed to load: ${this.verifyUrl}`),this.logger.info(i),this.verifyDisabled=!0}}},this.register=async a=>{this.initialized?this.sendPost(a.attestationId):(this.addToQueue(a.attestationId),await this.init())},this.resolve=async a=>{if(this.isDevEnv)return"";let r=this.getVerifyUrl(a?.verifyUrl),i;try{i=await this.fetchAttestation(a.attestationId,r)}catch(s){this.logger.info(`failed to resolve attestation: ${a.attestationId} from url: ${r}`),this.logger.info(s),i=await this.fetchAttestation(a.attestationId,_pe)}return i},this.fetchAttestation=async(a,r)=>{this.logger.info(`resolving attestation: ${a} from url: ${r}`);let i=this.startAbortTimer(G0.ONE_SECOND*2),s=await fetch(`${r}/attestation/${a}`,{signal:this.abortController.signal});return clearTimeout(i),s.status===200?await s.json():void 0},this.addToQueue=a=>{this.queue.push(a)},this.processQueue=()=>{this.queue.length!==0&&(this.queue.forEach(a=>this.sendPost(a)),this.queue=[])},this.sendPost=a=>{var r;try{if(!this.iframe)return;(r=this.iframe.contentWindow)==null||r.postMessage(a,"*"),this.logger.info(`postMessage sent: ${a} ${this.verifyUrl}`)}catch{}},this.createIframe=async()=>{let a,r=i=>{i.data==="verify_ready"&&(this.onInit(),window.removeEventListener("message",r),a())};await Promise.race([new Promise(i=>{let s=document.getElementById(lpe);if(s)return this.iframe=s,this.onInit(),i();window.addEventListener("message",r);let f=document.createElement("iframe");f.id=lpe,f.src=`${this.verifyUrl}/${this.projectId}`,f.style.display="none",document.body.append(f),this.iframe=f,a=i}),new Promise((i,s)=>setTimeout(()=>{window.removeEventListener("message",r),s("verify iframe load timeout")},(0,G0.toMiliseconds)(G0.FIVE_SECONDS)))])},this.onInit=()=>{this.initialized=!0,this.processQueue()},this.removeIframe=()=>{this.iframe&&(this.iframe.remove(),this.iframe=void 0,this.initialized=!1)},this.getVerifyUrl=a=>{let r=a||y9;return Bdn.includes(r)||(this.logger.info(`verify url: ${r}, not included in trusted list, assigning default: ${y9}`),r=y9),r},this.logger=Fo(t,this.name),this.verifyUrl=y9,this.abortController=new AbortController,this.isDevEnv=gx()&&E.env.IS_VITEST}get context(){return No(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),(0,G0.toMiliseconds)(e))}},Lpe=class extends Pj{constructor(e,t){super(e,t),this.projectId=e,this.logger=t,this.context=Ndn,this.registerDeviceToken=async a=>{let{clientId:r,token:i,notificationType:s,enableEncrypted:f=!1}=a,o=`${Fdn}/${this.projectId}/clients`;await(0,A1t.default)(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:r,type:s,token:i,always_raw:f})})},this.logger=Fo(t,this.context)}},Ydn=Object.defineProperty,E1t=Object.getOwnPropertySymbols,Jdn=Object.prototype.hasOwnProperty,Xdn=Object.prototype.propertyIsEnumerable,D1t=(n,e,t)=>e in n?Ydn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,C1t=(n,e)=>{for(var t in e||(e={}))Jdn.call(e,t)&&D1t(n,t,e[t]);if(E1t)for(var t of E1t(e))Xdn.call(e,t)&&D1t(n,t,e[t]);return n},Mpe=class n extends wj{constructor(e){var t;super(e),this.protocol=U1t,this.version=fdn,this.name=Bpe,this.events=new Vy.EventEmitter,this.initialized=!1,this.on=(s,f)=>this.events.on(s,f),this.once=(s,f)=>this.events.once(s,f),this.off=(s,f)=>this.events.off(s,f),this.removeListener=(s,f)=>this.events.removeListener(s,f),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||q1t,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";let a=$h({level:typeof e?.logger=="string"&&e.logger?e.logger:odn.logger}),{logger:r,chunkLoggerController:i}=hMe({opts:a,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=i,(t=this.logChunkController)!=null&&t.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var s,f;(s=this.logChunkController)!=null&&s.downloadLogsBlobInBrowser&&((f=this.logChunkController)==null||f.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Fo(r,this.name),this.heartbeat=new m9.HeartBeat,this.crypto=new xpe(this,this.logger,e?.keychain),this.history=new kpe(this,this.logger),this.expirer=new Ppe(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new $V(C1t(C1t({},cdn),e?.storageOptions)),this.relayer=new Spe({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new Ape(this,this.logger),this.verify=new Rpe(this.projectId||"",this.logger),this.echoClient=new Lpe(this.projectId||"",this.logger)}static async init(e){let t=new n(e);await t.initialize();let a=await t.crypto.getClientId();return await t.storage.setItem(Edn,a),t}get context(){return No(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(`Core Initialization Failure at epoch ${Date.now()}`,e),this.logger.error(e.message),e}}},H1t=Mpe});var Fj,Ca,K1t,Q1t,Y1t,Gpe,Fpe,W1t,Zdn,Kpe,e6n,Ax,t6n,W6,Ope,$y,n6n,a6n,r6n,i6n,s6n,f6n,o6n,Oj,Bj,c6n,d6n,l6n,j1t,p6n,u6n,G1t,If,kx,Vpe,$pe,Upe,qpe,Hpe,zpe,Wpe,jpe,Nj,J1t=ce(()=>{p();u();z1t();ZV();fpe();oP();Fj=Te(ti()),Ca=Te(Oh());Om();K1t="wc",Q1t=2,Y1t="client",Gpe=`${K1t}@${Q1t}:${Y1t}:`,Fpe={name:Y1t,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.com"},W1t="WALLETCONNECT_DEEPLINK_CHOICE",Zdn="proposal",Kpe="Proposal expired",e6n="session",Ax=Ca.SEVEN_DAYS,t6n="engine",W6={wc_sessionPropose:{req:{ttl:Ca.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Ca.FIVE_MINUTES,prompt:!1,tag:1101}},wc_sessionSettle:{req:{ttl:Ca.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Ca.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Ca.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Ca.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Ca.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Ca.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Ca.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Ca.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Ca.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Ca.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Ca.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Ca.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Ca.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Ca.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Ca.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Ca.ONE_HOUR,prompt:!1,tag:1117}}},Ope={min:Ca.FIVE_MINUTES,max:Ca.SEVEN_DAYS},$y={idle:"IDLE",active:"ACTIVE"},n6n="request",a6n=["wc_sessionPropose","wc_sessionRequest","wc_authRequest"],r6n="wc",i6n="auth",s6n="authKeys",f6n="pairingTopics",o6n="requests",Oj=`${r6n}@${1.5}:${i6n}:`,Bj=`${Oj}:PUB_KEY`,c6n=Object.defineProperty,d6n=Object.defineProperties,l6n=Object.getOwnPropertyDescriptors,j1t=Object.getOwnPropertySymbols,p6n=Object.prototype.hasOwnProperty,u6n=Object.prototype.propertyIsEnumerable,G1t=(n,e,t)=>e in n?c6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,If=(n,e)=>{for(var t in e||(e={}))p6n.call(e,t)&&G1t(n,t,e[t]);if(j1t)for(var t of j1t(e))u6n.call(e,t)&&G1t(n,t,e[t]);return n},kx=(n,e)=>d6n(n,l6n(e)),Vpe=class extends Lj{constructor(e){super(e),this.name=t6n,this.events=new Fj.default,this.initialized=!1,this.requestQueue={state:$y.idle,queue:[]},this.sessionRequestQueue={state:$y.idle,queue:[]},this.requestQueueDelay=Ca.ONE_SECOND,this.expectedPairingMethodMap=new Map,this.recentlyDeletedMap=new Map,this.recentlyDeletedLimit=200,this.init=async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),this.client.core.pairing.register({methods:Object.keys(W6)}),this.initialized=!0,setTimeout(()=>{this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},(0,Ca.toMiliseconds)(this.requestQueueDelay)))},this.connect=async t=>{await this.isInitialized();let a=kx(If({},t),{requiredNamespaces:t.requiredNamespaces||{},optionalNamespaces:t.optionalNamespaces||{}});await this.isValidConnect(a);let{pairingTopic:r,requiredNamespaces:i,optionalNamespaces:s,sessionProperties:f,relays:o}=a,c=r,d,l=!1;try{c&&(l=this.client.core.pairing.pairings.get(c).active)}catch(W){throw this.client.logger.error(`connect() -> pairing.get(${c}) failed`),W}if(!c||!l){let{topic:W,uri:G}=await this.client.core.pairing.create();c=W,d=G}if(!c){let{message:W}=St("NO_MATCHING_KEY",`connect() pairing topic: ${c}`);throw new Error(W)}let y=await this.client.core.crypto.generateKeyPair(),h=W6.wc_sessionPropose.req.ttl||Ca.FIVE_MINUTES,T=xf(h),A=If({requiredNamespaces:i,optionalNamespaces:s,relays:o??[{protocol:Npe}],proposer:{publicKey:y,metadata:this.client.metadata},expiryTimestamp:T},f&&{sessionProperties:f}),{reject:O,resolve:N,done:U}=Fy(h,Kpe);this.events.once(Dn("session_connect"),async({error:W,session:G})=>{if(W)O(W);else if(G){G.self.publicKey=y;let X=kx(If({},G),{requiredNamespaces:A.requiredNamespaces,optionalNamespaces:A.optionalNamespaces});await this.client.session.set(G.topic,X),await this.setExpiry(G.topic,G.expiry),c&&await this.client.core.pairing.updateMetadata({topic:c,metadata:G.peer.metadata}),N(X)}});let q=await this.sendRequest({topic:c,method:"wc_sessionPropose",params:A,throwOnFailedPublish:!0});return await this.setProposal(q,If({id:q},A)),{uri:d,approval:U}},this.pair=async t=>{await this.isInitialized();try{return await this.client.core.pairing.pair(t)}catch(a){throw this.client.logger.error("pair() failed"),a}},this.approve=async t=>{await this.isInitialized();try{await this.isValidApprove(t)}catch(U){throw this.client.logger.error("approve() -> isValidApprove() failed"),U}let{id:a,relayProtocol:r,namespaces:i,sessionProperties:s,sessionConfig:f}=t,o;try{o=this.client.proposal.get(a)}catch(U){throw this.client.logger.error(`approve() -> proposal.get(${a}) failed`),U}let{pairingTopic:c,proposer:d,requiredNamespaces:l,optionalNamespaces:y}=o;c=c||"";let h=await this.client.core.crypto.generateKeyPair(),T=d.publicKey,A=await this.client.core.crypto.generateSharedKey(h,T),O=If(If({relay:{protocol:r??"irn"},namespaces:i,pairingTopic:c,controller:{publicKey:h,metadata:this.client.metadata},expiry:xf(Ax)},s&&{sessionProperties:s}),f&&{sessionConfig:f});await this.client.core.relayer.subscribe(A);let N=kx(If({},O),{topic:A,requiredNamespaces:l,optionalNamespaces:y,pairingTopic:c,acknowledged:!1,self:O.controller,peer:{publicKey:d.publicKey,metadata:d.metadata},controller:h});await this.client.session.set(A,N);try{await this.sendResult({id:a,topic:c,result:{relay:{protocol:r??"irn"},responderPublicKey:h},throwOnFailedPublish:!0}),await this.sendRequest({topic:A,method:"wc_sessionSettle",params:O,throwOnFailedPublish:!0})}catch(U){throw this.client.logger.error(U),this.client.session.delete(A,Ta("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(A),U}return await this.client.core.pairing.updateMetadata({topic:c,metadata:d.metadata}),await this.client.proposal.delete(a,Ta("USER_DISCONNECTED")),await this.client.core.pairing.activate({topic:c}),await this.setExpiry(A,xf(Ax)),{topic:A,acknowledged:()=>new Promise(U=>setTimeout(()=>U(this.client.session.get(A)),500))}},this.reject=async t=>{await this.isInitialized();try{await this.isValidReject(t)}catch(s){throw this.client.logger.error("reject() -> isValidReject() failed"),s}let{id:a,reason:r}=t,i;try{i=this.client.proposal.get(a).pairingTopic}catch(s){throw this.client.logger.error(`reject() -> proposal.get(${a}) failed`),s}i&&(await this.sendError({id:a,topic:i,error:r}),await this.client.proposal.delete(a,Ta("USER_DISCONNECTED")))},this.update=async t=>{await this.isInitialized();try{await this.isValidUpdate(t)}catch(l){throw this.client.logger.error("update() -> isValidUpdate() failed"),l}let{topic:a,namespaces:r}=t,{done:i,resolve:s,reject:f}=Fy(),o=S5(),c=Wl().toString(),d=this.client.session.get(a).namespaces;return this.events.once(Dn("session_update",o),({error:l})=>{l?f(l):s()}),await this.client.session.update(a,{namespaces:r}),this.sendRequest({topic:a,method:"wc_sessionUpdate",params:{namespaces:r},throwOnFailedPublish:!0,clientRpcId:o,relayRpcId:c}).catch(l=>{this.client.logger.error(l),this.client.session.update(a,{namespaces:d}),f(l)}),{acknowledged:i}},this.extend=async t=>{await this.isInitialized();try{await this.isValidExtend(t)}catch(o){throw this.client.logger.error("extend() -> isValidExtend() failed"),o}let{topic:a}=t,r=S5(),{done:i,resolve:s,reject:f}=Fy();return this.events.once(Dn("session_extend",r),({error:o})=>{o?f(o):s()}),await this.setExpiry(a,xf(Ax)),this.sendRequest({topic:a,method:"wc_sessionExtend",params:{},clientRpcId:r,throwOnFailedPublish:!0}).catch(o=>{f(o)}),{acknowledged:i}},this.request=async t=>{await this.isInitialized();try{await this.isValidRequest(t)}catch(h){throw this.client.logger.error("request() -> isValidRequest() failed"),h}let{chainId:a,request:r,topic:i,expiry:s=W6.wc_sessionRequest.req.ttl}=t,f=this.client.session.get(i),o=S5(),c=Wl().toString(),{done:d,resolve:l,reject:y}=Fy(s,"Request expired. Please try again.");return this.events.once(Dn("session_request",o),({error:h,result:T})=>{h?y(h):l(T)}),await Promise.all([new Promise(async h=>{await this.sendRequest({clientRpcId:o,relayRpcId:c,topic:i,method:"wc_sessionRequest",params:{request:kx(If({},r),{expiryTimestamp:xf(s)}),chainId:a},expiry:s,throwOnFailedPublish:!0}).catch(T=>y(T)),this.client.events.emit("session_request_sent",{topic:i,request:r,chainId:a,id:o}),h()}),new Promise(async h=>{var T;if(!((T=f.sessionConfig)!=null&&T.disableDeepLink)){let A=await jft(this.client.core.storage,W1t);Wft({id:o,topic:i,wcDeepLink:A})}h()}),d()]).then(h=>h[2])},this.respond=async t=>{await this.isInitialized(),await this.isValidRespond(t);let{topic:a,response:r}=t,{id:i}=r;fd(r)?await this.sendResult({id:i,topic:a,result:r.result,throwOnFailedPublish:!0}):$o(r)&&await this.sendError({id:i,topic:a,error:r.error}),this.cleanupAfterResponse(t)},this.ping=async t=>{await this.isInitialized();try{await this.isValidPing(t)}catch(r){throw this.client.logger.error("ping() -> isValidPing() failed"),r}let{topic:a}=t;if(this.client.session.keys.includes(a)){let r=S5(),i=Wl().toString(),{done:s,resolve:f,reject:o}=Fy();this.events.once(Dn("session_ping",r),({error:c})=>{c?o(c):f()}),await Promise.all([this.sendRequest({topic:a,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:r,relayRpcId:i}),s()])}else this.client.core.pairing.pairings.keys.includes(a)&&await this.client.core.pairing.ping({topic:a})},this.emit=async t=>{await this.isInitialized(),await this.isValidEmit(t);let{topic:a,event:r,chainId:i}=t,s=Wl().toString();await this.sendRequest({topic:a,method:"wc_sessionEvent",params:{event:r,chainId:i},throwOnFailedPublish:!0,relayRpcId:s})},this.disconnect=async t=>{await this.isInitialized(),await this.isValidDisconnect(t);let{topic:a}=t;if(this.client.session.keys.includes(a))await this.sendRequest({topic:a,method:"wc_sessionDelete",params:Ta("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:a,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(a))await this.client.core.pairing.disconnect({topic:a});else{let{message:r}=St("MISMATCHED_TOPIC",`Session or pairing topic not found: ${a}`);throw new Error(r)}},this.find=t=>(this.isInitialized(),this.client.session.getAll().filter(a=>Uot(a,t))),this.getPendingSessionRequests=()=>this.client.pendingRequest.getAll(),this.authenticate=async t=>{this.isInitialized(),this.isValidAuthenticate(t);let{chains:a,statement:r="",uri:i,domain:s,nonce:f,type:o,exp:c,nbf:d,methods:l=[]}=t,y=[...t.resources||[]],{topic:h,uri:T}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"]});this.client.logger.info({message:"Generated new pairing",pairing:{topic:h,uri:T}});let A=await this.client.core.crypto.generateKeyPair(),O=Ix(A);if(await Promise.all([this.client.auth.authKeys.set(Bj,{responseTopic:O,publicKey:A}),this.client.auth.pairingTopics.set(O,{topic:O,pairingTopic:h})]),await this.client.core.relayer.subscribe(O),this.client.logger.info(`sending request to new pairing topic: ${h}`),l.length>0){let{namespace:F}=hx(a[0]),v=Pot(F,"request",l);iP(y)&&(v=Rot(v,y.pop())),y.push(v)}let N=xf(W6.wc_sessionPropose.req.ttl),U={authPayload:{type:o??"caip122",chains:a,statement:r,aud:i,domain:s,version:"1",nonce:f,iat:new Date().toISOString(),exp:c,nbf:d,resources:y},requester:{publicKey:A,metadata:this.client.metadata},expiryTimestamp:N},q={eip155:{chains:a,methods:[...new Set(["personal_sign",...l])],events:["chainChanged","accountsChanged"]}},W={requiredNamespaces:{},optionalNamespaces:q,relays:[{protocol:"irn"}],proposer:{publicKey:A,metadata:this.client.metadata},expiryTimestamp:N},{done:G,resolve:X,reject:J}=Fy(W6.wc_sessionAuthenticate.req.ttl,"Request expired"),j=async({error:F,session:v})=>{if(this.events.off(Dn("session_request",P),z),F)J(F);else if(v){v.self.publicKey=A,await this.client.session.set(v.topic,v),await this.setExpiry(v.topic,v.expiry),h&&await this.client.core.pairing.updateMetadata({topic:h,metadata:v.peer.metadata});let b=this.client.session.get(v.topic);X({session:b})}},z=async F=>{if(F.error){let g=Ta("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return F.error.code===g.code?void 0:(this.events.off(Dn("session_connect"),j),J(F.error.message))}this.events.off(Dn("session_connect"),j);let{cacaos:v,responder:b}=F.result,x=[],L=[];for(let g of v){await Fle({cacao:g,projectId:this.client.core.projectId})||(this.client.logger.error(g,"Signature verification failed"),J(Ta("SESSION_SETTLEMENT_FAILED","Signature verification failed")));let{p:R}=g,k=iP(R.resources),C=[Nle(R.iss)],H=rP(R.iss);if(k){let te=Vle(k),V=$le(k);x.push(...te),C.push(...V)}for(let te of C)L.push(`${te}:${H}`)}let M=await this.client.core.crypto.generateSharedKey(A,b.publicKey),w;x.length>0&&(w={topic:M,acknowledged:!0,self:{publicKey:A,metadata:this.client.metadata},peer:b,controller:b.publicKey,expiry:xf(Ax),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:h,namespaces:jle([...new Set(x)],[...new Set(L)])},await this.client.core.relayer.subscribe(M),await this.client.session.set(M,w),w=this.client.session.get(M)),X({auths:v,session:w})},P=S5(),_=S5();this.events.once(Dn("session_connect"),j),this.events.once(Dn("session_request",P),z);try{await Promise.all([this.sendRequest({topic:h,method:"wc_sessionAuthenticate",params:U,expiry:t.expiry,throwOnFailedPublish:!0,clientRpcId:P}),this.sendRequest({topic:h,method:"wc_sessionPropose",params:W,expiry:W6.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:_})])}catch(F){throw this.events.off(Dn("session_connect"),j),this.events.off(Dn("session_request",P),z),F}return await this.setProposal(_,If({id:_},W)),await this.client.auth.requests.set(P,{authPayload:U.authPayload,requester:U.requester,expiryTimestamp:N,id:P,pairingTopic:h,verifyContext:{}}),{uri:T,response:G}},this.approveSessionAuthenticate=async t=>{this.isInitialized();let{id:a,auths:r}=t,i=this.getPendingAuthRequest(a);if(!i)throw new Error(`Could not find pending auth request with id ${a}`);let s=i.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),o=Ix(s),c={type:_u,receiverPublicKey:s,senderPublicKey:f},d=[],l=[];for(let T of r){if(!await Fle({cacao:T,projectId:this.client.core.projectId})){let q=Ta("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:a,topic:o,error:q,encodeOpts:c}),new Error(q.message)}let{p:A}=T,O=iP(A.resources),N=[Nle(A.iss)],U=rP(A.iss);if(O){let q=Vle(O),W=$le(O);d.push(...q),N.push(...W)}for(let q of N)l.push(`${q}:${U}`)}let y=await this.client.core.crypto.generateSharedKey(f,s),h;return d?.length>0&&(h={topic:y,acknowledged:!0,self:{publicKey:f,metadata:this.client.metadata},peer:{publicKey:s,metadata:i.requester.metadata},controller:s,expiry:xf(Ax),authentication:r,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:"",namespaces:jle([...new Set(d)],[...new Set(l)])},await this.client.core.relayer.subscribe(y),await this.client.session.set(y,h)),await this.sendResult({topic:o,id:a,result:{cacaos:r,responder:{publicKey:f,metadata:this.client.metadata}},encodeOpts:c,throwOnFailedPublish:!0}),await this.client.auth.requests.delete(a,{message:"fullfilled",code:0}),await this.client.core.pairing.activate({topic:i.pairingTopic}),{session:h}},this.rejectSessionAuthenticate=async t=>{await this.isInitialized();let{id:a,reason:r}=t,i=this.getPendingAuthRequest(a);if(!i)throw new Error(`Could not find pending auth request with id ${a}`);let s=i.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),o=Ix(s),c={type:_u,receiverPublicKey:s,senderPublicKey:f};await this.sendError({id:a,topic:o,error:r,encodeOpts:c}),await this.client.auth.requests.delete(a,{message:"rejected",code:0}),await this.client.proposal.delete(a,Ta("USER_DISCONNECTED"))},this.formatAuthMessage=t=>{this.isInitialized();let{request:a,iss:r}=t;return Ole(a,r)},this.cleanupDuplicatePairings=async t=>{if(t.pairingTopic)try{let a=this.client.core.pairing.pairings.get(t.pairingTopic),r=this.client.core.pairing.pairings.getAll().filter(i=>{var s,f;return((s=i.peerMetadata)==null?void 0:s.url)&&((f=i.peerMetadata)==null?void 0:f.url)===t.peer.metadata.url&&i.topic&&i.topic!==a.topic});if(r.length===0)return;this.client.logger.info(`Cleaning up ${r.length} duplicate pairing(s)`),await Promise.all(r.map(i=>this.client.core.pairing.disconnect({topic:i.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(a){this.client.logger.error(a)}},this.deleteSession=async t=>{let{topic:a,expirerHasDeleted:r=!1,emitEvent:i=!0,id:s=0}=t,{self:f}=this.client.session.get(a);await this.client.core.relayer.unsubscribe(a),await this.client.session.delete(a,Ta("USER_DISCONNECTED")),this.addToRecentlyDeleted(a,"session"),this.client.core.crypto.keychain.has(f.publicKey)&&await this.client.core.crypto.deleteKeyPair(f.publicKey),this.client.core.crypto.keychain.has(a)&&await this.client.core.crypto.deleteSymKey(a),r||this.client.core.expirer.del(a),this.client.core.storage.removeItem(W1t).catch(o=>this.client.logger.warn(o)),this.getPendingSessionRequests().forEach(o=>{o.topic===a&&this.deletePendingSessionRequest(o.id,Ta("USER_DISCONNECTED"))}),i&&this.client.events.emit("session_delete",{id:s,topic:a})},this.deleteProposal=async(t,a)=>{await Promise.all([this.client.proposal.delete(t,Ta("USER_DISCONNECTED")),a?Promise.resolve():this.client.core.expirer.del(t)]),this.addToRecentlyDeleted(t,"proposal")},this.deletePendingSessionRequest=async(t,a,r=!1)=>{await Promise.all([this.client.pendingRequest.delete(t,a),r?Promise.resolve():this.client.core.expirer.del(t)]),this.addToRecentlyDeleted(t,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(i=>i.id!==t),r&&(this.sessionRequestQueue.state=$y.idle,this.client.events.emit("session_request_expire",{id:t}))},this.setExpiry=async(t,a)=>{this.client.session.keys.includes(t)&&await this.client.session.update(t,{expiry:a}),this.client.core.expirer.set(t,a)},this.setProposal=async(t,a)=>{await this.client.proposal.set(t,a),this.client.core.expirer.set(t,xf(W6.wc_sessionPropose.req.ttl))},this.setPendingSessionRequest=async t=>{let{id:a,topic:r,params:i,verifyContext:s}=t,f=i.request.expiryTimestamp||xf(W6.wc_sessionRequest.req.ttl);await this.client.pendingRequest.set(a,{id:a,topic:r,params:i,verifyContext:s}),f&&this.client.core.expirer.set(a,f)},this.sendRequest=async t=>{let{topic:a,method:r,params:i,expiry:s,relayRpcId:f,clientRpcId:o,throwOnFailedPublish:c}=t,d=A5(r,i,o);if(n4()&&a6n.includes(r)){let h=Oy(JSON.stringify(d));this.client.core.verify.register({attestationId:h})}let l;try{l=await this.client.core.crypto.encode(a,d)}catch(h){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${a} failed`),h}let y=W6[r].req;return s&&(y.ttl=s),f&&(y.id=f),this.client.core.history.set(a,d),c?(y.internal=kx(If({},y.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(a,l,y)):this.client.core.relayer.publish(a,l,y).catch(h=>this.client.logger.error(h)),d.id},this.sendResult=async t=>{let{id:a,topic:r,result:i,throwOnFailedPublish:s,encodeOpts:f}=t,o=ty(a,i),c;try{c=await this.client.core.crypto.encode(r,o,f)}catch(y){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${r} failed`),y}let d;try{d=await this.client.core.history.get(r,a)}catch(y){throw this.client.logger.error(`sendResult() -> history.get(${r}, ${a}) failed`),y}let l=W6[d.request.method].res;s?(l.internal=kx(If({},l.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,c,l)):this.client.core.relayer.publish(r,c,l).catch(y=>this.client.logger.error(y)),await this.client.core.history.resolve(o)},this.sendError=async t=>{let{id:a,topic:r,error:i,encodeOpts:s}=t,f=ny(a,i),o;try{o=await this.client.core.crypto.encode(r,f,s)}catch(l){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${r} failed`),l}let c;try{c=await this.client.core.history.get(r,a)}catch(l){throw this.client.logger.error(`sendError() -> history.get(${r}, ${a}) failed`),l}let d=W6[c.request.method].res;this.client.core.relayer.publish(r,o,d),await this.client.core.history.resolve(f)},this.cleanup=async()=>{let t=[],a=[];this.client.session.getAll().forEach(r=>{let i=!1;vu(r.expiry)&&(i=!0),this.client.core.crypto.keychain.has(r.topic)||(i=!0),i&&t.push(r.topic)}),this.client.proposal.getAll().forEach(r=>{vu(r.expiryTimestamp)&&a.push(r.id)}),await Promise.all([...t.map(r=>this.deleteSession({topic:r})),...a.map(r=>this.deleteProposal(r))])},this.onRelayEventRequest=async t=>{this.requestQueue.queue.push(t),await this.processRequestsQueue()},this.processRequestsQueue=async()=>{if(this.requestQueue.state===$y.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=$y.active;let t=this.requestQueue.queue.shift();if(t)try{this.processRequest(t),await new Promise(a=>setTimeout(a,300))}catch(a){this.client.logger.warn(a)}}this.requestQueue.state=$y.idle},this.processRequest=t=>{let{topic:a,payload:r}=t,i=r.method;if(!this.shouldIgnorePairingRequest({topic:a,requestMethod:i}))switch(i){case"wc_sessionPropose":return this.onSessionProposeRequest(a,r);case"wc_sessionSettle":return this.onSessionSettleRequest(a,r);case"wc_sessionUpdate":return this.onSessionUpdateRequest(a,r);case"wc_sessionExtend":return this.onSessionExtendRequest(a,r);case"wc_sessionPing":return this.onSessionPingRequest(a,r);case"wc_sessionDelete":return this.onSessionDeleteRequest(a,r);case"wc_sessionRequest":return this.onSessionRequest(a,r);case"wc_sessionEvent":return this.onSessionEventRequest(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateRequest(a,r);default:return this.client.logger.info(`Unsupported request method ${i}`)}},this.onRelayEventResponse=async t=>{let{topic:a,payload:r}=t,i=(await this.client.core.history.get(a,r.id)).request.method;switch(i){case"wc_sessionPropose":return this.onSessionProposeResponse(a,r);case"wc_sessionSettle":return this.onSessionSettleResponse(a,r);case"wc_sessionUpdate":return this.onSessionUpdateResponse(a,r);case"wc_sessionExtend":return this.onSessionExtendResponse(a,r);case"wc_sessionPing":return this.onSessionPingResponse(a,r);case"wc_sessionRequest":return this.onSessionRequestResponse(a,r);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(a,r);default:return this.client.logger.info(`Unsupported response method ${i}`)}},this.onRelayEventUnknownPayload=t=>{let{topic:a}=t,{message:r}=St("MISSING_OR_INVALID",`Decoded payload on topic ${a} is not identifiable as a JSON-RPC request or a response.`);throw new Error(r)},this.shouldIgnorePairingRequest=t=>{let{topic:a,requestMethod:r}=t,i=this.expectedPairingMethodMap.get(a);return!i||i.includes(r)?!1:!!(i.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)},this.onSessionProposeRequest=async(t,a)=>{let{params:r,id:i}=a;try{this.isValidConnect(If({},a.params));let s=r.expiryTimestamp||xf(W6.wc_sessionPropose.req.ttl),f=If({id:i,pairingTopic:t,expiryTimestamp:s},r);await this.setProposal(i,f);let o=Oy(JSON.stringify(a)),c=await this.getVerifyContext(o,f.proposer.metadata);this.client.events.emit("session_proposal",{id:i,params:f,verifyContext:c})}catch(s){await this.sendError({id:i,topic:t,error:s}),this.client.logger.error(s)}},this.onSessionProposeResponse=async(t,a)=>{let{id:r}=a;if(fd(a)){let{result:i}=a;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:i});let s=this.client.proposal.get(r);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:s});let f=s.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:f});let o=i.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:o});let c=await this.client.core.crypto.generateSharedKey(f,o);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",sessionTopic:c});let d=await this.client.core.relayer.subscribe(c);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:d}),await this.client.core.pairing.activate({topic:t})}else if($o(a)){await this.client.proposal.delete(r,Ta("USER_DISCONNECTED"));let i=Dn("session_connect");if(this.events.listenerCount(i)===0)throw new Error(`emitting ${i} without any listeners, 954`);this.events.emit(Dn("session_connect"),{error:a.error})}},this.onSessionSettleRequest=async(t,a)=>{let{id:r,params:i}=a;try{this.isValidSessionSettleRequest(i);let{relay:s,controller:f,expiry:o,namespaces:c,sessionProperties:d,pairingTopic:l,sessionConfig:y}=a.params,h=If(If({topic:t,relay:s,expiry:o,namespaces:c,acknowledged:!0,pairingTopic:l,requiredNamespaces:{},optionalNamespaces:{},controller:f.publicKey,self:{publicKey:"",metadata:this.client.metadata},peer:{publicKey:f.publicKey,metadata:f.metadata}},d&&{sessionProperties:d}),y&&{sessionConfig:y});await this.sendResult({id:a.id,topic:t,result:!0,throwOnFailedPublish:!0});let T=Dn("session_connect");if(this.events.listenerCount(T)===0)throw new Error(`emitting ${T} without any listeners 997`);this.events.emit(Dn("session_connect"),{session:h}),this.cleanupDuplicatePairings(h)}catch(s){await this.sendError({id:r,topic:t,error:s}),this.client.logger.error(s)}},this.onSessionSettleResponse=async(t,a)=>{let{id:r}=a;fd(a)?(await this.client.session.update(t,{acknowledged:!0}),this.events.emit(Dn("session_approve",r),{})):$o(a)&&(await this.client.session.delete(t,Ta("USER_DISCONNECTED")),this.events.emit(Dn("session_approve",r),{error:a.error}))},this.onSessionUpdateRequest=async(t,a)=>{let{params:r,id:i}=a;try{let s=`${t}_session_update`,f=e4.get(s);if(f&&this.isRequestOutOfSync(f,i)){this.client.logger.info(`Discarding out of sync request - ${i}`),this.sendError({id:i,topic:t,error:Ta("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(If({topic:t},r));try{e4.set(s,i),await this.client.session.update(t,{namespaces:r.namespaces}),await this.sendResult({id:i,topic:t,result:!0,throwOnFailedPublish:!0})}catch(o){throw e4.delete(s),o}this.client.events.emit("session_update",{id:i,topic:t,params:r})}catch(s){await this.sendError({id:i,topic:t,error:s}),this.client.logger.error(s)}},this.isRequestOutOfSync=(t,a)=>parseInt(a.toString().slice(0,-3))<=parseInt(t.toString().slice(0,-3)),this.onSessionUpdateResponse=(t,a)=>{let{id:r}=a,i=Dn("session_update",r);if(this.events.listenerCount(i)===0)throw new Error(`emitting ${i} without any listeners`);fd(a)?this.events.emit(Dn("session_update",r),{}):$o(a)&&this.events.emit(Dn("session_update",r),{error:a.error})},this.onSessionExtendRequest=async(t,a)=>{let{id:r}=a;try{this.isValidExtend({topic:t}),await this.setExpiry(t,xf(Ax)),await this.sendResult({id:r,topic:t,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_extend",{id:r,topic:t})}catch(i){await this.sendError({id:r,topic:t,error:i}),this.client.logger.error(i)}},this.onSessionExtendResponse=(t,a)=>{let{id:r}=a,i=Dn("session_extend",r);if(this.events.listenerCount(i)===0)throw new Error(`emitting ${i} without any listeners`);fd(a)?this.events.emit(Dn("session_extend",r),{}):$o(a)&&this.events.emit(Dn("session_extend",r),{error:a.error})},this.onSessionPingRequest=async(t,a)=>{let{id:r}=a;try{this.isValidPing({topic:t}),await this.sendResult({id:r,topic:t,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:r,topic:t})}catch(i){await this.sendError({id:r,topic:t,error:i}),this.client.logger.error(i)}},this.onSessionPingResponse=(t,a)=>{let{id:r}=a,i=Dn("session_ping",r);if(this.events.listenerCount(i)===0)throw new Error(`emitting ${i} without any listeners`);setTimeout(()=>{fd(a)?this.events.emit(Dn("session_ping",r),{}):$o(a)&&this.events.emit(Dn("session_ping",r),{error:a.error})},500)},this.onSessionDeleteRequest=async(t,a)=>{let{id:r}=a;try{this.isValidDisconnect({topic:t,reason:a.params}),await Promise.all([new Promise(i=>{this.client.core.relayer.once(Oc.publish,async()=>{i(await this.deleteSession({topic:t,id:r}))})}),this.sendResult({id:r,topic:t,result:!0,throwOnFailedPublish:!0}),this.cleanupPendingSentRequestsForTopic({topic:t,error:Ta("USER_DISCONNECTED")})])}catch(i){this.client.logger.error(i)}},this.onSessionRequest=async(t,a)=>{let{id:r,params:i}=a;try{await this.isValidRequest(If({topic:t},i));let s=Oy(JSON.stringify(A5("wc_sessionRequest",i,r))),f=this.client.session.get(t),o=await this.getVerifyContext(s,f.peer.metadata),c={id:r,topic:t,params:i,verifyContext:o};await this.setPendingSessionRequest(c),this.addSessionRequestToSessionRequestQueue(c),this.processSessionRequestQueue()}catch(s){await this.sendError({id:r,topic:t,error:s}),this.client.logger.error(s)}},this.onSessionRequestResponse=(t,a)=>{let{id:r}=a,i=Dn("session_request",r);if(this.events.listenerCount(i)===0)throw new Error(`emitting ${i} without any listeners`);fd(a)?this.events.emit(Dn("session_request",r),{result:a.result}):$o(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionEventRequest=async(t,a)=>{let{id:r,params:i}=a;try{let s=`${t}_session_event_${i.event.name}`,f=e4.get(s);if(f&&this.isRequestOutOfSync(f,r)){this.client.logger.info(`Discarding out of sync request - ${r}`);return}this.isValidEmit(If({topic:t},i)),this.client.events.emit("session_event",{id:r,topic:t,params:i}),e4.set(s,r)}catch(s){await this.sendError({id:r,topic:t,error:s}),this.client.logger.error(s)}},this.onSessionAuthenticateResponse=(t,a)=>{let{id:r}=a;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:t,payload:a}),fd(a)?this.events.emit(Dn("session_request",r),{result:a.result}):$o(a)&&this.events.emit(Dn("session_request",r),{error:a.error})},this.onSessionAuthenticateRequest=async(t,a)=>{let{requester:r,authPayload:i,expiryTimestamp:s}=a.params,f=Oy(JSON.stringify(a)),o=await this.getVerifyContext(f,this.client.metadata),c={requester:r,pairingTopic:t,id:a.id,authPayload:i,verifyContext:o,expiryTimestamp:s};await this.client.auth.requests.set(a.id,c),this.client.events.emit("session_authenticate",{topic:t,params:a.params,id:a.id})},this.addSessionRequestToSessionRequestQueue=t=>{this.sessionRequestQueue.queue.push(t)},this.cleanupAfterResponse=t=>{this.deletePendingSessionRequest(t.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=$y.idle,this.processSessionRequestQueue()},(0,Ca.toMiliseconds)(this.requestQueueDelay))},this.cleanupPendingSentRequestsForTopic=({topic:t,error:a})=>{let r=this.client.core.history.pending;r.length>0&&r.filter(i=>i.topic===t&&i.request.method==="wc_sessionRequest").forEach(i=>{let s=i.request.id,f=Dn("session_request",s);if(this.events.listenerCount(f)===0)throw new Error(`emitting ${f} without any listeners`);this.events.emit(Dn("session_request",i.request.id),{error:a})})},this.processSessionRequestQueue=()=>{if(this.sessionRequestQueue.state===$y.active){this.client.logger.info("session request queue is already active.");return}let t=this.sessionRequestQueue.queue[0];if(!t){this.client.logger.info("session request queue is empty.");return}try{this.sessionRequestQueue.state=$y.active,this.client.events.emit("session_request",t)}catch(a){this.client.logger.error(a)}},this.onPairingCreated=t=>{if(t.methods&&this.expectedPairingMethodMap.set(t.topic,t.methods),t.active)return;let a=this.client.proposal.getAll().find(r=>r.pairingTopic===t.topic);a&&this.onSessionProposeRequest(t.topic,A5("wc_sessionPropose",{requiredNamespaces:a.requiredNamespaces,optionalNamespaces:a.optionalNamespaces,relays:a.relays,proposer:a.proposer,sessionProperties:a.sessionProperties},a.id))},this.isValidConnect=async t=>{if(!t1(t)){let{message:o}=St("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(t)}`);throw new Error(o)}let{pairingTopic:a,requiredNamespaces:r,optionalNamespaces:i,sessionProperties:s,relays:f}=t;if(to(a)||await this.isValidPairingTopic(a),!Kot(f,!0)){let{message:o}=St("MISSING_OR_INVALID",`connect() relays: ${f}`);throw new Error(o)}!to(r)&&p9(r)!==0&&this.validateNamespaces(r,"requiredNamespaces"),!to(i)&&p9(i)!==0&&this.validateNamespaces(i,"optionalNamespaces"),to(s)||this.validateSessionProps(s,"sessionProperties")},this.validateNamespaces=(t,a)=>{let r=Got(t,"connect()",a);if(r)throw new Error(r.message)},this.isValidApprove=async t=>{if(!t1(t))throw new Error(St("MISSING_OR_INVALID",`approve() params: ${t}`).message);let{id:a,namespaces:r,relayProtocol:i,sessionProperties:s}=t;this.checkRecentlyDeleted(a),await this.isValidProposalId(a);let f=this.client.proposal.get(a),o=vj(r,"approve()");if(o)throw new Error(o.message);let c=Yle(f.requiredNamespaces,r,"approve()");if(c)throw new Error(c.message);if(!Ti(i,!0)){let{message:d}=St("MISSING_OR_INVALID",`approve() relayProtocol: ${i}`);throw new Error(d)}to(s)||this.validateSessionProps(s,"sessionProperties")},this.isValidReject=async t=>{if(!t1(t)){let{message:i}=St("MISSING_OR_INVALID",`reject() params: ${t}`);throw new Error(i)}let{id:a,reason:r}=t;if(this.checkRecentlyDeleted(a),await this.isValidProposalId(a),!Yot(r)){let{message:i}=St("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(r)}`);throw new Error(i)}},this.isValidSessionSettleRequest=t=>{if(!t1(t)){let{message:c}=St("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${t}`);throw new Error(c)}let{relay:a,controller:r,namespaces:i,expiry:s}=t;if(!Kle(a)){let{message:c}=St("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(c)}let f=Wot(r,"onSessionSettleRequest()");if(f)throw new Error(f.message);let o=vj(i,"onSessionSettleRequest()");if(o)throw new Error(o.message);if(vu(s)){let{message:c}=St("EXPIRED","onSessionSettleRequest()");throw new Error(c)}},this.isValidUpdate=async t=>{if(!t1(t)){let{message:o}=St("MISSING_OR_INVALID",`update() params: ${t}`);throw new Error(o)}let{topic:a,namespaces:r}=t;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let i=this.client.session.get(a),s=vj(r,"update()");if(s)throw new Error(s.message);let f=Yle(i.requiredNamespaces,r,"update()");if(f)throw new Error(f.message)},this.isValidExtend=async t=>{if(!t1(t)){let{message:r}=St("MISSING_OR_INVALID",`extend() params: ${t}`);throw new Error(r)}let{topic:a}=t;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a)},this.isValidRequest=async t=>{if(!t1(t)){let{message:o}=St("MISSING_OR_INVALID",`request() params: ${t}`);throw new Error(o)}let{topic:a,request:r,chainId:i,expiry:s}=t;this.checkRecentlyDeleted(a),await this.isValidSessionTopic(a);let{namespaces:f}=this.client.session.get(a);if(!Qle(f,i)){let{message:o}=St("MISSING_OR_INVALID",`request() chainId: ${i}`);throw new Error(o)}if(!Jot(r)){let{message:o}=St("MISSING_OR_INVALID",`request() ${JSON.stringify(r)}`);throw new Error(o)}if(!e1t(f,i,r.method)){let{message:o}=St("MISSING_OR_INVALID",`request() method: ${r.method}`);throw new Error(o)}if(s&&!n1t(s,Ope)){let{message:o}=St("MISSING_OR_INVALID",`request() expiry: ${s}. Expiry must be a number (in seconds) between ${Ope.min} and ${Ope.max}`);throw new Error(o)}},this.isValidRespond=async t=>{var a;if(!t1(t)){let{message:s}=St("MISSING_OR_INVALID",`respond() params: ${t}`);throw new Error(s)}let{topic:r,response:i}=t;try{await this.isValidSessionTopic(r)}catch(s){throw(a=t?.response)!=null&&a.id&&this.cleanupAfterResponse(t),s}if(!Xot(i)){let{message:s}=St("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(i)}`);throw new Error(s)}},this.isValidPing=async t=>{if(!t1(t)){let{message:r}=St("MISSING_OR_INVALID",`ping() params: ${t}`);throw new Error(r)}let{topic:a}=t;await this.isValidSessionOrPairingTopic(a)},this.isValidEmit=async t=>{if(!t1(t)){let{message:f}=St("MISSING_OR_INVALID",`emit() params: ${t}`);throw new Error(f)}let{topic:a,event:r,chainId:i}=t;await this.isValidSessionTopic(a);let{namespaces:s}=this.client.session.get(a);if(!Qle(s,i)){let{message:f}=St("MISSING_OR_INVALID",`emit() chainId: ${i}`);throw new Error(f)}if(!Zot(r)){let{message:f}=St("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(f)}if(!t1t(s,i,r.name)){let{message:f}=St("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(r)}`);throw new Error(f)}},this.isValidDisconnect=async t=>{if(!t1(t)){let{message:r}=St("MISSING_OR_INVALID",`disconnect() params: ${t}`);throw new Error(r)}let{topic:a}=t;await this.isValidSessionOrPairingTopic(a)},this.isValidAuthenticate=t=>{let{chains:a,uri:r,domain:i,nonce:s}=t;if(!Array.isArray(a)||a.length===0)throw new Error("chains is required and must be a non-empty array");if(!Ti(r,!1))throw new Error("uri is required parameter");if(!Ti(i,!1))throw new Error("domain is required parameter");if(!Ti(s,!1))throw new Error("nonce is required parameter");if([...new Set(a.map(o=>hx(o).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");let{namespace:f}=hx(a[0]);if(f!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")},this.getVerifyContext=async(t,a)=>{let r={verified:{verifyUrl:a.verifyUrl||y9,validation:"UNKNOWN",origin:a.url||""}};try{let i=await this.client.core.verify.resolve({attestationId:t,verifyUrl:a.verifyUrl});i&&(r.verified.origin=i.origin,r.verified.isScam=i.isScam,r.verified.validation=i.origin===new URL(a.url).origin?"VALID":"INVALID")}catch(i){this.client.logger.info(i)}return this.client.logger.info(`Verify context: ${JSON.stringify(r)}`),r},this.validateSessionProps=(t,a)=>{Object.values(t).forEach(r=>{if(!Ti(r,!1)){let{message:i}=St("MISSING_OR_INVALID",`${a} must be in Record format. Received: ${JSON.stringify(r)}`);throw new Error(i)}})},this.getPendingAuthRequest=t=>{let a=this.client.auth.requests.get(t);return typeof a=="object"?a:void 0},this.addToRecentlyDeleted=(t,a)=>{if(this.recentlyDeletedMap.set(t,a),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let r=0,i=this.recentlyDeletedLimit/2;for(let s of this.recentlyDeletedMap.keys()){if(r++>=i)break;this.recentlyDeletedMap.delete(s)}}},this.checkRecentlyDeleted=t=>{let a=this.recentlyDeletedMap.get(t);if(a){let{message:r}=St("MISSING_OR_INVALID",`Record was recently deleted - ${a}: ${t}`);throw new Error(r)}}}async isInitialized(){if(!this.initialized){let{message:e}=St("NOT_INITIALIZED",this.name);throw new Error(e)}await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Oc.message,async e=>{let{topic:t,message:a}=e,{publicKey:r}=this.client.auth.authKeys.keys.includes(Bj)?this.client.auth.authKeys.get(Bj):{responseTopic:void 0,publicKey:void 0},i=await this.client.core.crypto.decode(t,a,{receiverPublicKey:r});try{d_(i)?(this.client.core.history.set(t,i),this.onRelayEventRequest({topic:t,payload:i})):Fm(i)?(await this.client.core.history.resolve(i),await this.onRelayEventResponse({topic:t,payload:i}),this.client.core.history.delete(t,i.id)):this.onRelayEventUnknownPayload({topic:t,payload:i})}catch(s){this.client.logger.error(s)}})}registerExpirerEvents(){this.client.core.expirer.on(wd.expired,async e=>{let{topic:t,id:a}=yj(e.target);if(a&&this.client.pendingRequest.keys.includes(a))return await this.deletePendingSessionRequest(a,St("EXPIRED"),!0);t?this.client.session.keys.includes(t)&&(await this.deleteSession({topic:t,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:t})):a&&(await this.deleteProposal(a,!0),this.client.events.emit("proposal_expire",{id:a}))})}registerPairingEvents(){this.client.core.pairing.events.on(u9.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(u9.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Ti(e,!1)){let{message:t}=St("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(t)}if(!this.client.core.pairing.pairings.keys.includes(e)){let{message:t}=St("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(t)}if(vu(this.client.core.pairing.pairings.get(e).expiry)){let{message:t}=St("EXPIRED",`pairing topic: ${e}`);throw new Error(t)}}async isValidSessionTopic(e){if(!Ti(e,!1)){let{message:t}=St("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(t)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){let{message:t}=St("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(t)}if(vu(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});let{message:t}=St("EXPIRED",`session topic: ${e}`);throw new Error(t)}if(!this.client.core.crypto.keychain.has(e)){let{message:t}=St("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(t)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Ti(e,!1)){let{message:t}=St("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(t)}else{let{message:t}=St("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(t)}}async isValidProposalId(e){if(!Qot(e)){let{message:t}=St("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(t)}if(!this.client.proposal.keys.includes(e)){let{message:t}=St("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(t)}if(vu(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);let{message:t}=St("EXPIRED",`proposal id: ${e}`);throw new Error(t)}}},$pe=class extends xu{constructor(e,t){super(e,t,Zdn,Gpe),this.core=e,this.logger=t}},Upe=class extends xu{constructor(e,t){super(e,t,e6n,Gpe),this.core=e,this.logger=t}},qpe=class extends xu{constructor(e,t){super(e,t,n6n,Gpe,a=>a.id),this.core=e,this.logger=t}},Hpe=class extends xu{constructor(e,t){super(e,t,s6n,Oj,()=>Bj),this.core=e,this.logger=t}},zpe=class extends xu{constructor(e,t){super(e,t,f6n,Oj),this.core=e,this.logger=t}},Wpe=class extends xu{constructor(e,t){super(e,t,o6n,Oj,a=>a.id),this.core=e,this.logger=t}},jpe=class{constructor(e,t){this.core=e,this.logger=t,this.authKeys=new Hpe(this.core,this.logger),this.pairingTopics=new zpe(this.core,this.logger),this.requests=new Wpe(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}},Nj=class n extends Rj{constructor(e){super(e),this.protocol=K1t,this.version=Q1t,this.name=Fpe.name,this.events=new Fj.EventEmitter,this.on=(a,r)=>this.events.on(a,r),this.once=(a,r)=>this.events.once(a,r),this.off=(a,r)=>this.events.off(a,r),this.removeListener=(a,r)=>this.events.removeListener(a,r),this.removeAllListeners=a=>this.events.removeAllListeners(a),this.connect=async a=>{try{return await this.engine.connect(a)}catch(r){throw this.logger.error(r.message),r}},this.pair=async a=>{try{return await this.engine.pair(a)}catch(r){throw this.logger.error(r.message),r}},this.approve=async a=>{try{return await this.engine.approve(a)}catch(r){throw this.logger.error(r.message),r}},this.reject=async a=>{try{return await this.engine.reject(a)}catch(r){throw this.logger.error(r.message),r}},this.update=async a=>{try{return await this.engine.update(a)}catch(r){throw this.logger.error(r.message),r}},this.extend=async a=>{try{return await this.engine.extend(a)}catch(r){throw this.logger.error(r.message),r}},this.request=async a=>{try{return await this.engine.request(a)}catch(r){throw this.logger.error(r.message),r}},this.respond=async a=>{try{return await this.engine.respond(a)}catch(r){throw this.logger.error(r.message),r}},this.ping=async a=>{try{return await this.engine.ping(a)}catch(r){throw this.logger.error(r.message),r}},this.emit=async a=>{try{return await this.engine.emit(a)}catch(r){throw this.logger.error(r.message),r}},this.disconnect=async a=>{try{return await this.engine.disconnect(a)}catch(r){throw this.logger.error(r.message),r}},this.find=a=>{try{return this.engine.find(a)}catch(r){throw this.logger.error(r.message),r}},this.getPendingSessionRequests=()=>{try{return this.engine.getPendingSessionRequests()}catch(a){throw this.logger.error(a.message),a}},this.authenticate=async a=>{try{return await this.engine.authenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.formatAuthMessage=a=>{try{return this.engine.formatAuthMessage(a)}catch(r){throw this.logger.error(r.message),r}},this.approveSessionAuthenticate=async a=>{try{return await this.engine.approveSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.rejectSessionAuthenticate=async a=>{try{return await this.engine.rejectSessionAuthenticate(a)}catch(r){throw this.logger.error(r.message),r}},this.name=e?.name||Fpe.name,this.metadata=e?.metadata||$ft();let t=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,Vh.default)($h({level:e?.logger||Fpe.logger}));this.core=e?.core||new H1t(e),this.logger=Fo(t,this.name),this.session=new Upe(this.core,this.logger),this.proposal=new $pe(this.core,this.logger),this.pendingRequest=new qpe(this.core,this.logger),this.engine=new Vpe(this),this.auth=new jpe(this.core,this.logger)}static async init(e){let t=new n(e);return await t.initialize(),t}get context(){return No(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.engine.init(),await this.auth.init(),this.core.verify.init({verifyUrl:this.metadata.verifyUrl}),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}});var ect=B((Uy,Z1t)=>{p();u();var X1t=typeof self<"u"?self:Uy,Vj=function(){function n(){this.fetch=!1,this.DOMException=X1t.DOMException}return n.prototype=X1t,new n}();(function(n){var e=function(t){var a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function r(P){return P&&DataView.prototype.isPrototypeOf(P)}if(a.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(P){return P&&i.indexOf(Object.prototype.toString.call(P))>-1};function f(P){if(typeof P!="string"&&(P=String(P)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(P))throw new TypeError("Invalid character in header field name");return P.toLowerCase()}function o(P){return typeof P!="string"&&(P=String(P)),P}function c(P){var _={next:function(){var F=P.shift();return{done:F===void 0,value:F}}};return a.iterable&&(_[Symbol.iterator]=function(){return _}),_}function d(P){this.map={},P instanceof d?P.forEach(function(_,F){this.append(F,_)},this):Array.isArray(P)?P.forEach(function(_){this.append(_[0],_[1])},this):P&&Object.getOwnPropertyNames(P).forEach(function(_){this.append(_,P[_])},this)}d.prototype.append=function(P,_){P=f(P),_=o(_);var F=this.map[P];this.map[P]=F?F+", "+_:_},d.prototype.delete=function(P){delete this.map[f(P)]},d.prototype.get=function(P){return P=f(P),this.has(P)?this.map[P]:null},d.prototype.has=function(P){return this.map.hasOwnProperty(f(P))},d.prototype.set=function(P,_){this.map[f(P)]=o(_)},d.prototype.forEach=function(P,_){for(var F in this.map)this.map.hasOwnProperty(F)&&P.call(_,this.map[F],F,this)},d.prototype.keys=function(){var P=[];return this.forEach(function(_,F){P.push(F)}),c(P)},d.prototype.values=function(){var P=[];return this.forEach(function(_){P.push(_)}),c(P)},d.prototype.entries=function(){var P=[];return this.forEach(function(_,F){P.push([F,_])}),c(P)},a.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function l(P){if(P.bodyUsed)return Promise.reject(new TypeError("Already read"));P.bodyUsed=!0}function y(P){return new Promise(function(_,F){P.onload=function(){_(P.result)},P.onerror=function(){F(P.error)}})}function h(P){var _=new FileReader,F=y(_);return _.readAsArrayBuffer(P),F}function T(P){var _=new FileReader,F=y(_);return _.readAsText(P),F}function A(P){for(var _=new Uint8Array(P),F=new Array(_.length),v=0;v<_.length;v++)F[v]=String.fromCharCode(_[v]);return F.join("")}function O(P){if(P.slice)return P.slice(0);var _=new Uint8Array(P.byteLength);return _.set(new Uint8Array(P)),_.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(P){this._bodyInit=P,P?typeof P=="string"?this._bodyText=P:a.blob&&Blob.prototype.isPrototypeOf(P)?this._bodyBlob=P:a.formData&&FormData.prototype.isPrototypeOf(P)?this._bodyFormData=P:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(P)?this._bodyText=P.toString():a.arrayBuffer&&a.blob&&r(P)?(this._bodyArrayBuffer=O(P.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(P)||s(P))?this._bodyArrayBuffer=O(P):this._bodyText=P=Object.prototype.toString.call(P):this._bodyText="",this.headers.get("content-type")||(typeof P=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(P)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var P=l(this);if(P)return P;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var P=l(this);if(P)return P;if(this._bodyBlob)return T(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function q(P){var _=P.toUpperCase();return U.indexOf(_)>-1?_:P}function W(P,_){_=_||{};var F=_.body;if(P instanceof W){if(P.bodyUsed)throw new TypeError("Already read");this.url=P.url,this.credentials=P.credentials,_.headers||(this.headers=new d(P.headers)),this.method=P.method,this.mode=P.mode,this.signal=P.signal,!F&&P._bodyInit!=null&&(F=P._bodyInit,P.bodyUsed=!0)}else this.url=String(P);if(this.credentials=_.credentials||this.credentials||"same-origin",(_.headers||!this.headers)&&(this.headers=new d(_.headers)),this.method=q(_.method||this.method||"GET"),this.mode=_.mode||this.mode||null,this.signal=_.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(F)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function G(P){var _=new FormData;return P.trim().split("&").forEach(function(F){if(F){var v=F.split("="),b=v.shift().replace(/\+/g," "),x=v.join("=").replace(/\+/g," ");_.append(decodeURIComponent(b),decodeURIComponent(x))}}),_}function X(P){var _=new d,F=P.replace(/\r?\n[\t ]+/g," ");return F.split(/\r?\n/).forEach(function(v){var b=v.split(":"),x=b.shift().trim();if(x){var L=b.join(":").trim();_.append(x,L)}}),_}N.call(W.prototype);function J(P,_){_||(_={}),this.type="default",this.status=_.status===void 0?200:_.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in _?_.statusText:"OK",this.headers=new d(_.headers),this.url=_.url||"",this._initBody(P)}N.call(J.prototype),J.prototype.clone=function(){return new J(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},J.error=function(){var P=new J(null,{status:0,statusText:""});return P.type="error",P};var j=[301,302,303,307,308];J.redirect=function(P,_){if(j.indexOf(_)===-1)throw new RangeError("Invalid status code");return new J(null,{status:_,headers:{location:P}})},t.DOMException=n.DOMException;try{new t.DOMException}catch{t.DOMException=function(_,F){this.message=_,this.name=F;var v=Error(_);this.stack=v.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function z(P,_){return new Promise(function(F,v){var b=new W(P,_);if(b.signal&&b.signal.aborted)return v(new t.DOMException("Aborted","AbortError"));var x=new XMLHttpRequest;function L(){x.abort()}x.onload=function(){var M={status:x.status,statusText:x.statusText,headers:X(x.getAllResponseHeaders()||"")};M.url="responseURL"in x?x.responseURL:M.headers.get("X-Request-URL");var w="response"in x?x.response:x.responseText;F(new J(w,M))},x.onerror=function(){v(new TypeError("Network request failed"))},x.ontimeout=function(){v(new TypeError("Network request failed"))},x.onabort=function(){v(new t.DOMException("Aborted","AbortError"))},x.open(b.method,b.url,!0),b.credentials==="include"?x.withCredentials=!0:b.credentials==="omit"&&(x.withCredentials=!1),"responseType"in x&&a.blob&&(x.responseType="blob"),b.headers.forEach(function(M,w){x.setRequestHeader(w,M)}),b.signal&&(b.signal.addEventListener("abort",L),x.onreadystatechange=function(){x.readyState===4&&b.signal.removeEventListener("abort",L)}),x.send(typeof b._bodyInit>"u"?null:b._bodyInit)})}return z.polyfill=!0,n.fetch||(n.fetch=z,n.Headers=d,n.Request=W,n.Response=J),t.Headers=d,t.Request=W,t.Response=J,t.fetch=z,Object.defineProperty(t,"__esModule",{value:!0}),t}({})})(Vj);Vj.fetch.ponyfill=!0;delete Vj.fetch.polyfill;var Px=Vj;Uy=Px.fetch;Uy.default=Px.fetch;Uy.fetch=Px.fetch;Uy.Headers=Px.Headers;Uy.Request=Px.Request;Uy.Response=Px.Response;Z1t.exports=Uy});var fct,Qpe,y6n,m6n,b6n,tct,h6n,g6n,nct,act,rct,v6n,T6n,ict,sct,j6,oct=ce(()=>{p();u();fct=Te(ti()),Qpe=Te(ect());Fh();Om();y6n=Object.defineProperty,m6n=Object.defineProperties,b6n=Object.getOwnPropertyDescriptors,tct=Object.getOwnPropertySymbols,h6n=Object.prototype.hasOwnProperty,g6n=Object.prototype.propertyIsEnumerable,nct=(n,e,t)=>e in n?y6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,act=(n,e)=>{for(var t in e||(e={}))h6n.call(e,t)&&nct(n,t,e[t]);if(tct)for(var t of tct(e))g6n.call(e,t)&&nct(n,t,e[t]);return n},rct=(n,e)=>m6n(n,b6n(e)),v6n={Accept:"application/json","Content-Type":"application/json"},T6n="POST",ict={headers:v6n,method:T6n},sct=10,j6=class{constructor(e,t=!1){if(this.url=e,this.disableProviderPing=t,this.events=new fct.EventEmitter,this.isAvailable=!1,this.registering=!1,!$$(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=t}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}async open(e=this.url){await this.register(e)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(e){this.isAvailable||await this.register();try{let t=x1(e),a=await(await(0,Qpe.default)(this.url,rct(act({},ict),{body:t}))).json();this.onPayload({data:a})}catch(t){this.onError(e.id,t)}}async register(e=this.url){if(!$$(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering){let t=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=t||this.events.listenerCount("open")>=t)&&this.events.setMaxListeners(t+1),new Promise((a,r)=>{this.events.once("register_error",i=>{this.resetMaxListeners(),r(i)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return r(new Error("HTTP connection is missing or invalid"));a()})})}this.url=e,this.registering=!0;try{if(!this.disableProviderPing){let t=x1({id:1,jsonrpc:"2.0",method:"test",params:[]});await(0,Qpe.default)(e,rct(act({},ict),{body:t}))}this.onOpen()}catch(t){let a=this.parseError(t);throw this.events.emit("register_error",a),this.onClose(),a}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;let t=typeof e.data=="string"?T5(e.data):e.data;this.events.emit("payload",t)}onError(e,t){let a=this.parseError(t),r=a.message||a.toString(),i=ny(e,r);this.events.emit("payload",i)}parseError(e,t=this.url){return hS(e,t,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>sct&&this.events.setMaxListeners(sct)}}});function r4(n,e,t){var a;let r=hx(n);return((a=e.rpcMap)==null?void 0:a[r.reference])||`${I6n}?chainId=${r.namespace}:${r.reference}&projectId=${t}`}function b9(n){return n.includes(":")?n.split(":")[1]:n}function gct(n){return n.map(e=>`${e.split(":")[0]}:${e.split(":")[1]}`)}function P6n(n,e){let t=Object.keys(e.namespaces).filter(r=>r.includes(n));if(!t.length)return[];let a=[];return t.forEach(r=>{let i=e.namespaces[r].accounts;a.push(...i)}),a}function Ype(n={},e={}){let t=uct(n),a=uct(e);return e5e.exports.merge(t,a)}function uct(n){var e,t,a,r;let i={};if(!p9(n))return i;for(let[s,f]of Object.entries(n)){let o=gj(s)?[s]:f.chains,c=f.methods||[],d=f.events||[],l=f.rpcMap||{},y=Cx(s);i[y]=k6n($j($j({},i[y]),f),{chains:nP(o,(e=i[y])==null?void 0:e.chains),methods:nP(c,(t=i[y])==null?void 0:t.methods),events:nP(d,(a=i[y])==null?void 0:a.events),rpcMap:$j($j({},l),(r=i[y])==null?void 0:r.rpcMap)})}return i}function R6n(n){return n.includes(":")?n.split(":")[2]:n}function yct(n){let e={};for(let[t,a]of Object.entries(n)){let r=a.methods||[],i=a.events||[],s=a.accounts||[],f=gj(t)?[t]:a.chains?a.chains:gct(a.accounts);e[t]={chains:f,methods:r,events:i,accounts:s}}return e}function Jpe(n){return typeof n=="number"?n:n.includes("0x")?parseInt(n,16):(n=n.includes(":")?n.split(":")[1]:n,isNaN(Number(n))?n:Number(n))}var hct,cct,_6n,w6n,x6n,dct,I6n,qy,uP,e5e,E6n,D6n,C6n,lct,S6n,A6n,pct,$j,k6n,vct,fi,Xpe,t5e,n5e,a5e,r5e,i5e,s5e,f5e,o5e,L6n,M6n,B6n,mct,N6n,F6n,bct,Uj,Zpe,c5e,Tct,_ct=ce(()=>{p();u();J1t();oP();ZV();oct();cpe();hct=Te(ti());Om();cct="error",_6n="wss://relay.walletconnect.com",w6n="wc",x6n="universal_provider",dct=`${w6n}@2:${x6n}:`,I6n="https://rpc.walletconnect.com/v1/",qy={DEFAULT_CHAIN_CHANGED:"default_chain_changed"},uP=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e5e={exports:{}};(function(n,e){(function(){var t,a="4.17.21",r=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",f="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",l=1,y=2,h=4,T=1,A=2,O=1,N=2,U=4,q=8,W=16,G=32,X=64,J=128,j=256,z=512,P=30,_="...",F=800,v=16,b=1,x=2,L=3,M=1/0,w=9007199254740991,g=17976931348623157e292,R=NaN,k=4294967295,C=k-1,H=k>>>1,te=[["ary",J],["bind",O],["bindKey",N],["curry",q],["curryRight",W],["flip",z],["partial",G],["partialRight",X],["rearg",j]],V="[object Arguments]",Y="[object Array]",ee="[object AsyncFunction]",ae="[object Boolean]",pe="[object Date]",Q="[object DOMException]",ie="[object Error]",se="[object Function]",be="[object GeneratorFunction]",de="[object Map]",we="[object Number]",Oe="[object Null]",Se="[object Object]",it="[object Promise]",qe="[object Proxy]",Me="[object RegExp]",mt="[object Set]",kt="[object String]",je="[object Symbol]",Et="[object Undefined]",Ct="[object WeakMap]",rt="[object WeakSet]",Pt="[object ArrayBuffer]",Dt="[object DataView]",We="[object Float32Array]",Lt="[object Float64Array]",$t="[object Int8Array]",Qe="[object Int16Array]",Ft="[object Int32Array]",Ut="[object Uint8Array]",et="[object Uint8ClampedArray]",ue="[object Uint16Array]",me="[object Uint32Array]",_e=/\b__p \+= '';/g,Be=/\b(__p \+=) '' \+/g,Fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Le=/&(?:amp|lt|gt|quot|#39);/g,ct=/[&<>"']/g,ot=RegExp(Le.source),$e=RegExp(ct.source),wt=/<%-([\s\S]+?)%>/g,It=/<%([\s\S]+?)%>/g,Ge=/<%=([\s\S]+?)%>/g,qt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/[\\^$.*+?()[\]{}|]/g,Ht=RegExp(xt.source),tt=/^\s+/,Qt=/\s/,Gt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ft=/[()=,{}\[\]\/\s]/,Xt=/\\(\\)?/g,_0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kt=/\w*$/,v0=/^[-+]0x[0-9a-f]+$/i,Cn=/^0b[01]+$/i,Sn=/^\[object .+?Constructor\]$/,An=/^0o[0-7]+$/i,kn=/^(?:0|[1-9]\d*)$/,Pn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ka=/($^)/,nr=/['\n\r\u2028\u2029\\]/g,Pa="\\ud800-\\udfff",ar="\\u0300-\\u036f",za="\\ufe20-\\ufe2f",mr="\\u20d0-\\u20ff",$r=ar+za+mr,Wa="\\u2700-\\u27bf",Jr="a-z\\xdf-\\xf6\\xf8-\\xff",Si="\\xac\\xb1\\xd7\\xf7",Pf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",yl="\\u2000-\\u206f",ml=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Cp="A-Z\\xc0-\\xd6\\xd8-\\xde",fM="\\ufe0e\\ufe0f",oM=Si+Pf+yl+ml,oe="['\u2019]",ge="["+Pa+"]",he="["+oM+"]",Ae="["+$r+"]",Ee="\\d+",Re="["+Wa+"]",ze="["+Jr+"]",ut="[^"+Pa+oM+Ee+Wa+Jr+Cp+"]",vt="\\ud83c[\\udffb-\\udfff]",_t="(?:"+Ae+"|"+vt+")",bt="[^"+Pa+"]",l0="(?:\\ud83c[\\udde6-\\uddff]){2}",pn="[\\ud800-\\udbff][\\udc00-\\udfff]",ca="["+Cp+"]",wa="\\u200d",pi="(?:"+ze+"|"+ut+")",Ur="(?:"+ca+"|"+ut+")",y1="(?:"+oe+"(?:d|ll|m|re|s|t|ve))?",wg="(?:"+oe+"(?:D|LL|M|RE|S|T|VE))?",xg=_t+"?",cM="["+fM+"]?",KJ="(?:"+wa+"(?:"+[bt,l0,pn].join("|")+")"+cM+xg+")*",dM="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rvt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Lbe=cM+xg+KJ,ivt="(?:"+[Re,l0,pn].join("|")+")"+Lbe,svt="(?:"+[bt+Ae+"?",Ae,l0,pn,ge].join("|")+")",fvt=RegExp(oe,"g"),ovt=RegExp(Ae,"g"),QJ=RegExp(vt+"(?="+vt+")|"+svt+Lbe,"g"),cvt=RegExp([ca+"?"+ze+"+"+y1+"(?="+[he,ca,"$"].join("|")+")",Ur+"+"+wg+"(?="+[he,ca+pi,"$"].join("|")+")",ca+"?"+pi+"+"+y1,ca+"+"+wg,rvt,dM,Ee,ivt].join("|"),"g"),dvt=RegExp("["+wa+Pa+$r+fM+"]"),lvt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pvt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],uvt=-1,qr={};qr[We]=qr[Lt]=qr[$t]=qr[Qe]=qr[Ft]=qr[Ut]=qr[et]=qr[ue]=qr[me]=!0,qr[V]=qr[Y]=qr[Pt]=qr[ae]=qr[Dt]=qr[pe]=qr[ie]=qr[se]=qr[de]=qr[we]=qr[Se]=qr[Me]=qr[mt]=qr[kt]=qr[Ct]=!1;var Er={};Er[V]=Er[Y]=Er[Pt]=Er[Dt]=Er[ae]=Er[pe]=Er[We]=Er[Lt]=Er[$t]=Er[Qe]=Er[Ft]=Er[de]=Er[we]=Er[Se]=Er[Me]=Er[mt]=Er[kt]=Er[je]=Er[Ut]=Er[et]=Er[ue]=Er[me]=!0,Er[ie]=Er[se]=Er[Ct]=!1;var yvt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},mvt={"&":"&","<":"<",">":">",'"':""","'":"'"},bvt={"&":"&","<":"<",">":">",""":'"',"'":"'"},hvt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},gvt=parseFloat,vvt=parseInt,Mbe=typeof uP=="object"&&uP&&uP.Object===Object&&uP,Tvt=typeof self=="object"&&self&&self.Object===Object&&self,Rf=Mbe||Tvt||Function("return this")(),YJ=e&&!e.nodeType&&e,ab=YJ&&!0&&n&&!n.nodeType&&n,Bbe=ab&&ab.exports===YJ,JJ=Bbe&&Mbe.process,Md=function(){try{var Ce=ab&&ab.require&&ab.require("util").types;return Ce||JJ&&JJ.binding&&JJ.binding("util")}catch{}}(),Nbe=Md&&Md.isArrayBuffer,Fbe=Md&&Md.isDate,Obe=Md&&Md.isMap,Vbe=Md&&Md.isRegExp,$be=Md&&Md.isSet,Ube=Md&&Md.isTypedArray;function jc(Ce,He,Ne){switch(Ne.length){case 0:return Ce.call(He);case 1:return Ce.call(He,Ne[0]);case 2:return Ce.call(He,Ne[0],Ne[1]);case 3:return Ce.call(He,Ne[0],Ne[1],Ne[2])}return Ce.apply(He,Ne)}function _vt(Ce,He,Ne,a0){for(var q0=-1,Ra=Ce==null?0:Ce.length;++q0-1}function XJ(Ce,He,Ne){for(var a0=-1,q0=Ce==null?0:Ce.length;++a0-1;);return Ne}function Qbe(Ce,He){for(var Ne=Ce.length;Ne--&&Ig(He,Ce[Ne],0)>-1;);return Ne}function kvt(Ce,He){for(var Ne=Ce.length,a0=0;Ne--;)Ce[Ne]===He&&++a0;return a0}var Pvt=nX(yvt),Rvt=nX(mvt);function Lvt(Ce){return"\\"+hvt[Ce]}function Mvt(Ce,He){return Ce==null?t:Ce[He]}function Eg(Ce){return dvt.test(Ce)}function Bvt(Ce){return lvt.test(Ce)}function Nvt(Ce){for(var He,Ne=[];!(He=Ce.next()).done;)Ne.push(He.value);return Ne}function sX(Ce){var He=-1,Ne=Array(Ce.size);return Ce.forEach(function(a0,q0){Ne[++He]=[q0,a0]}),Ne}function Ybe(Ce,He){return function(Ne){return Ce(He(Ne))}}function x8(Ce,He){for(var Ne=-1,a0=Ce.length,q0=0,Ra=[];++Ne-1}function xTt(m,I){var $=this.__data__,K=SM($,m);return K<0?(++this.size,$.push([m,I])):$[K][1]=I,this}a2.prototype.clear=vTt,a2.prototype.delete=TTt,a2.prototype.get=_Tt,a2.prototype.has=wTt,a2.prototype.set=xTt;function r2(m){var I=-1,$=m==null?0:m.length;for(this.clear();++I<$;){var K=m[I];this.set(K[0],K[1])}}function ITt(){this.size=0,this.__data__={hash:new ib,map:new(vE||a2),string:new ib}}function ETt(m){var I=$M(this,m).delete(m);return this.size-=I?1:0,I}function DTt(m){return $M(this,m).get(m)}function CTt(m){return $M(this,m).has(m)}function STt(m,I){var $=$M(this,m),K=$.size;return $.set(m,I),this.size+=$.size==K?0:1,this}r2.prototype.clear=ITt,r2.prototype.delete=ETt,r2.prototype.get=DTt,r2.prototype.has=CTt,r2.prototype.set=STt;function sb(m){var I=-1,$=m==null?0:m.length;for(this.__data__=new r2;++I<$;)this.add(m[I])}function ATt(m){return this.__data__.set(m,o),this}function kTt(m){return this.__data__.has(m)}sb.prototype.add=sb.prototype.push=ATt,sb.prototype.has=kTt;function hl(m){var I=this.__data__=new a2(m);this.size=I.size}function PTt(){this.__data__=new a2,this.size=0}function RTt(m){var I=this.__data__,$=I.delete(m);return this.size=I.size,$}function LTt(m){return this.__data__.get(m)}function MTt(m){return this.__data__.has(m)}function BTt(m,I){var $=this.__data__;if($ instanceof a2){var K=$.__data__;if(!vE||K.length=I?m:I)),m}function Od(m,I,$,K,ne,le){var ve,xe=I&l,ke=I&y,Je=I&h;if($&&(ve=ne?$(m,K,ne,le):$(m)),ve!==t)return ve;if(!ui(m))return m;var Xe=J0(m);if(Xe){if(ve=C_t(m),!xe)return nc(m,ve)}else{var dt=yo(m),Wt=dt==se||dt==be;if(A8(m))return Rhe(m,xe);if(dt==Se||dt==V||Wt&&!ne){if(ve=ke||Wt?{}:Jhe(m),!xe)return ke?b_t(m,VTt(ve,m)):m_t(m,ohe(ve,m))}else{if(!Er[dt])return ne?m:{};ve=S_t(m,dt,xe)}}le||(le=new hl);var o0=le.get(m);if(o0)return o0;le.set(m,ve),D7e(m)?m.forEach(function(C0){ve.add(Od(C0,I,$,C0,m,le))}):I7e(m)&&m.forEach(function(C0,On){ve.set(On,Od(C0,I,$,On,m,le))});var D0=Je?ke?RX:PX:ke?rc:Gs,bn=Xe?t:D0(m);return Bd(bn||m,function(C0,On){bn&&(On=C0,C0=m[On]),xE(ve,On,Od(C0,I,$,On,m,le))}),ve}function $Tt(m){var I=Gs(m);return function($){return che($,m,I)}}function che(m,I,$){var K=$.length;if(m==null)return!K;for(m=br(m);K--;){var ne=$[K],le=I[ne],ve=m[ne];if(ve===t&&!(ne in m)||!le(ve))return!1}return!0}function dhe(m,I,$){if(typeof m!="function")throw new Nd(s);return kE(function(){m.apply(t,$)},I)}function IE(m,I,$,K){var ne=-1,le=lM,ve=!0,xe=m.length,ke=[],Je=I.length;if(!xe)return ke;$&&(I=Xr(I,Gc($))),K?(le=XJ,ve=!1):I.length>=r&&(le=hE,ve=!1,I=new sb(I));e:for(;++nene?0:ne+$),K=K===t||K>ne?ne:un(K),K<0&&(K+=ne),K=$>K?0:S7e(K);$0&&$(xe)?I>1?Lf(xe,I-1,$,K,ne):w8(ne,xe):K||(ne[ne.length]=xe)}return ne}var uX=Ohe(),uhe=Ohe(!0);function Sp(m,I){return m&&uX(m,I,Gs)}function yX(m,I){return m&&uhe(m,I,Gs)}function kM(m,I){return _8(I,function($){return c2(m[$])})}function ob(m,I){I=C8(I,m);for(var $=0,K=I.length;m!=null&&$I}function HTt(m,I){return m!=null&&ja.call(m,I)}function zTt(m,I){return m!=null&&I in br(m)}function WTt(m,I,$){return m>=uo(I,$)&&m=120&&Xe.length>=120)?new sb(ve&&Xe):t}Xe=m[0];var dt=-1,Wt=xe[0];e:for(;++dt-1;)xe!==m&&_M.call(xe,ke,1),_M.call(m,ke,1);return m}function Ihe(m,I){for(var $=m?I.length:0,K=$-1;$--;){var ne=I[$];if($==K||ne!==le){var le=ne;o2(ne)?_M.call(m,ne,1):IX(m,ne)}}return m}function _X(m,I){return m+IM(rhe()*(I-m+1))}function r_t(m,I,$,K){for(var ne=-1,le=Rs(xM((I-m)/($||1)),0),ve=Ne(le);le--;)ve[K?le:++ne]=m,m+=$;return ve}function wX(m,I){var $="";if(!m||I<1||I>w)return $;do I%2&&($+=m),I=IM(I/2),I&&(m+=m);while(I);return $}function wn(m,I){return VX(e7e(m,I,ic),m+"")}function i_t(m){return fhe(Ng(m))}function s_t(m,I){var $=Ng(m);return UM($,fb(I,0,$.length))}function CE(m,I,$,K){if(!ui(m))return m;I=C8(I,m);for(var ne=-1,le=I.length,ve=le-1,xe=m;xe!=null&&++nene?0:ne+I),$=$>ne?ne:$,$<0&&($+=ne),ne=I>$?0:$-I>>>0,I>>>=0;for(var le=Ne(ne);++K>>1,ve=m[le];ve!==null&&!Qc(ve)&&($?ve<=I:ve=r){var Je=I?null:T_t(m);if(Je)return uM(Je);ve=!1,ne=hE,ke=new sb}else ke=I?[]:xe;e:for(;++K=K?m:Vd(m,I,$)}var Phe=Jvt||function(m){return Rf.clearTimeout(m)};function Rhe(m,I){if(I)return m.slice();var $=m.length,K=Zbe?Zbe($):new m.constructor($);return m.copy(K),K}function SX(m){var I=new m.constructor(m.byteLength);return new vM(I).set(new vM(m)),I}function l_t(m,I){var $=I?SX(m.buffer):m.buffer;return new m.constructor($,m.byteOffset,m.byteLength)}function p_t(m){var I=new m.constructor(m.source,Kt.exec(m));return I.lastIndex=m.lastIndex,I}function u_t(m){return wE?br(wE.call(m)):{}}function Lhe(m,I){var $=I?SX(m.buffer):m.buffer;return new m.constructor($,m.byteOffset,m.length)}function Mhe(m,I){if(m!==I){var $=m!==t,K=m===null,ne=m===m,le=Qc(m),ve=I!==t,xe=I===null,ke=I===I,Je=Qc(I);if(!xe&&!Je&&!le&&m>I||le&&ve&&ke&&!xe&&!Je||K&&ve&&ke||!$&&ke||!ne)return 1;if(!K&&!le&&!Je&&m=xe)return ke;var Je=$[K];return ke*(Je=="desc"?-1:1)}}return m.index-I.index}function Bhe(m,I,$,K){for(var ne=-1,le=m.length,ve=$.length,xe=-1,ke=I.length,Je=Rs(le-ve,0),Xe=Ne(ke+Je),dt=!K;++xe1?$[ne-1]:t,ve=ne>2?$[2]:t;for(le=m.length>3&&typeof le=="function"?(ne--,le):t,ve&&b1($[0],$[1],ve)&&(le=ne<3?t:le,ne=1),I=br(I);++K-1?ne[le?I[ve]:ve]:t}}function Uhe(m){return f2(function(I){var $=I.length,K=$,ne=Fd.prototype.thru;for(m&&I.reverse();K--;){var le=I[K];if(typeof le!="function")throw new Nd(s);if(ne&&!ve&&VM(le)=="wrapper")var ve=new Fd([],!0)}for(K=ve?K:$;++K<$;){le=I[K];var xe=VM(le),ke=xe=="wrapper"?LX(le):t;ke&&FX(ke[0])&&ke[1]==(J|q|G|j)&&!ke[4].length&&ke[9]==1?ve=ve[VM(ke[0])].apply(ve,ke[3]):ve=le.length==1&&FX(le)?ve[xe]():ve.thru(le)}return function(){var Je=arguments,Xe=Je[0];if(ve&&Je.length==1&&J0(Xe))return ve.plant(Xe).value();for(var dt=0,Wt=$?I[dt].apply(this,Je):Xe;++dt<$;)Wt=I[dt].call(this,Wt);return Wt}})}function BM(m,I,$,K,ne,le,ve,xe,ke,Je){var Xe=I&J,dt=I&O,Wt=I&N,o0=I&(q|W),D0=I&z,bn=Wt?t:SE(m);function C0(){for(var On=arguments.length,Xn=Ne(On),Yc=On;Yc--;)Xn[Yc]=arguments[Yc];if(o0)var h1=Mg(C0),Jc=kvt(Xn,h1);if(K&&(Xn=Bhe(Xn,K,ne,o0)),le&&(Xn=Nhe(Xn,le,ve,o0)),On-=Jc,o0&&On1&&Xn.reverse(),Xe&&kexe))return!1;var Je=le.get(m),Xe=le.get(I);if(Je&&Xe)return Je==I&&Xe==m;var dt=-1,Wt=!0,o0=$&A?new sb:t;for(le.set(m,I),le.set(I,m);++dt1?"& ":"")+I[K],I=I.join($>2?", ":" "),m.replace(Gt,`{ /* [wrapped with `+I+`] */ -`)}function JI0(m){return nn(m)||fy(m)||!!(H9e&&m&&m[H9e])}function jp(m,I){var H=typeof m;return I=I??E,!!I&&(H=="number"||H!="symbol"&&Nn.test(m))&&m>-1&&m%1==0&&m0){if(++I>=N)return arguments[0]}else I=0;return m.apply(n,arguments)}}function pF(m,I){var H=-1,$=m.length,te=$-1;for(I=I===n?$:I;++H1?m[I-1]:n;return H=typeof H=="function"?(m.pop(),H):n,$ge(m,H)});function Jge(m){var I=se(m);return I.__chain__=!0,I}function ok0(m,I){return I(m),m}function hF(m,I){return I(m)}var ck0=qp(function(m){var I=m.length,H=I?m[0]:0,$=this.__wrapped__,te=function(le){return Tee(le,m)};return I>1||this.__actions__.length||!($ instanceof Jn)||!jp(H)?this.thru(te):($=$.slice(H,+H+(I?1:0)),$.__actions__.push({func:hF,args:[te],thisArg:n}),new dd($,this.__chain__).thru(function(le){return I&&!le.length&&le.push(n),le}))});function dk0(){return Jge(this)}function lk0(){return new dd(this.value(),this.__chain__)}function uk0(){this.__values__===n&&(this.__values__=lve(this.value()));var m=this.__index__>=this.__values__.length,I=m?n:this.__values__[this.__index__++];return{done:m,value:I}}function pk0(){return this}function hk0(m){for(var I,H=this;H instanceof ZL;){var $=jge(H);$.__index__=0,$.__values__=n,I?te.__wrapped__=$:I=$;var te=$;H=H.__wrapped__}return te.__wrapped__=m,I}function mk0(){var m=this.__wrapped__;if(m instanceof Jn){var I=m;return this.__actions__.length&&(I=new Jn(this)),I=I.reverse(),I.__actions__.push({func:hF,args:[Yee],thisArg:n}),new dd(I,this.__chain__)}return this.thru(Yee)}function bk0(){return pge(this.__wrapped__,this.__actions__)}var yk0=iF(function(m,I,H){fr.call(m,H)?++m[H]:zp(m,H,1)});function gk0(m,I,H){var $=nn(m)?I9e:oI0;return H&&F1(m,I,H)&&(I=n),$(m,Mt(I,3))}function vk0(m,I){var H=nn(m)?i3:$9e;return H(m,Mt(I,3))}var wk0=_ge(Gge),Tk0=_ge(Kge);function xk0(m,I){return Ys(mF(m,I),1)}function Ek0(m,I){return Ys(mF(m,I),L)}function _k0(m,I,H){return H=H===n?1:gn(H),Ys(mF(m,I),H)}function Xge(m,I){var H=nn(m)?od:d3;return H(m,Mt(I,3))}function Zge(m,I){var H=nn(m)?q_0:Y9e;return H(m,Mt(I,3))}var Ak0=iF(function(m,I,H){fr.call(m,H)?m[H].push(I):zp(m,H,[I])});function Ik0(m,I,H,$){m=Ac(m)?m:Uv(m),H=H&&!$?gn(H):0;var te=m.length;return H<0&&(H=Yi(te+H,0)),wF(m)?H<=te&&m.indexOf(I,H)>-1:!!te&&Cv(m,I,H)>-1}var Ck0=Sn(function(m,I,H){var $=-1,te=typeof I=="function",le=Ac(m)?We(m.length):[];return d3(m,function(xe){le[++$]=te?h6(I,xe,H):ZI(xe,I,H)}),le}),kk0=iF(function(m,I,H){zp(m,H,I)});function mF(m,I){var H=nn(m)?df:nge;return H(m,Mt(I,3))}function Sk0(m,I,H,$){return m==null?[]:(nn(I)||(I=I==null?[]:[I]),H=$?n:H,nn(H)||(H=H==null?[]:[H]),ige(m,I,H))}var Rk0=iF(function(m,I,H){m[H?0:1].push(I)},function(){return[[],[]]});function Mk0(m,I,H){var $=nn(m)?oee:R9e,te=arguments.length<3;return $(m,Mt(I,4),H,te,d3)}function Bk0(m,I,H){var $=nn(m)?j_0:R9e,te=arguments.length<3;return $(m,Mt(I,4),H,te,Y9e)}function Dk0(m,I){var H=nn(m)?i3:$9e;return H(m,gF(Mt(I,3)))}function Pk0(m){var I=nn(m)?G9e:II0;return I(m)}function Lk0(m,I,H){(H?F1(m,I,H):I===n)?I=1:I=gn(I);var $=nn(m)?aI0:CI0;return $(m,I)}function Fk0(m){var I=nn(m)?rI0:SI0;return I(m)}function Nk0(m){if(m==null)return 0;if(Ac(m))return wF(m)?Sv(m):m.length;var I=Ro(m);return I==de||I==_0?m.size:Cee(m).length}function Ok0(m,I,H){var $=nn(m)?cee:RI0;return H&&F1(m,I,H)&&(I=n),$(m,Mt(I,3))}var Uk0=Sn(function(m,I){if(m==null)return[];var H=I.length;return H>1&&F1(m,I[0],I[1])?I=[]:H>2&&F1(I[0],I[1],I[2])&&(I=[I[0]]),ige(m,Ys(I,1),[])}),bF=vA0||function(){return Vs.Date.now()};function Hk0(m,I){if(typeof I!="function")throw new cd(i);return m=gn(m),function(){if(--m<1)return I.apply(this,arguments)}}function eve(m,I,H){return I=H?n:I,I=m&&I==null?m.length:I,Wp(m,X,n,n,n,n,I)}function tve(m,I){var H;if(typeof I!="function")throw new cd(i);return m=gn(m),function(){return--m>0&&(H=I.apply(this,arguments)),m<=1&&(I=n),H}}var Jee=Sn(function(m,I,H){var $=O;if(H.length){var te=o3(H,Nv(Jee));$|=Q}return Wp(m,$,I,H,te)}),nve=Sn(function(m,I,H){var $=O|F;if(H.length){var te=o3(H,Nv(nve));$|=Q}return Wp(I,$,m,H,te)});function ave(m,I,H){I=H?n:I;var $=Wp(m,W,n,n,n,n,n,I);return $.placeholder=ave.placeholder,$}function rve(m,I,H){I=H?n:I;var $=Wp(m,j,n,n,n,n,n,I);return $.placeholder=rve.placeholder,$}function fve(m,I,H){var $,te,le,xe,Ce,Fe,r0=0,f0=!1,b0=!1,V0=!0;if(typeof m!="function")throw new cd(i);I=hd(I)||0,Cf(H)&&(f0=!!H.leading,b0="maxWait"in H,le=b0?Yi(hd(H.maxWait)||0,I):le,V0="trailing"in H?!!H.trailing:V0);function ct(li){var Q5=$,Qp=te;return $=te=n,r0=li,xe=m.apply(Qp,Q5),xe}function Bt(li){return r0=li,Ce=rC(Kn,I),f0?ct(li):xe}function xn(li){var Q5=li-Fe,Qp=li-r0,_ve=I-Q5;return b0?So(_ve,le-Qp):_ve}function Dt(li){var Q5=li-Fe,Qp=li-r0;return Fe===n||Q5>=I||Q5<0||b0&&Qp>=le}function Kn(){var li=bF();if(Dt(li))return fa(li);Ce=rC(Kn,xn(li))}function fa(li){return Ce=n,V0&&$?ct(li):($=te=n,xe)}function g6(){Ce!==n&&mge(Ce),r0=0,$=Fe=te=Ce=n}function N1(){return Ce===n?xe:fa(bF())}function v6(){var li=bF(),Q5=Dt(li);if($=arguments,te=this,Fe=li,Q5){if(Ce===n)return Bt(Fe);if(b0)return mge(Ce),Ce=rC(Kn,I),ct(Fe)}return Ce===n&&(Ce=rC(Kn,I)),xe}return v6.cancel=g6,v6.flush=N1,v6}var zk0=Sn(function(m,I){return V9e(m,1,I)}),Wk0=Sn(function(m,I,H){return V9e(m,hd(I)||0,H)});function qk0(m){return Wp(m,G)}function yF(m,I){if(typeof m!="function"||I!=null&&typeof I!="function")throw new cd(i);var H=function(){var $=arguments,te=I?I.apply(this,$):$[0],le=H.cache;if(le.has(te))return le.get(te);var xe=m.apply(this,$);return H.cache=le.set(te,xe)||le,xe};return H.cache=new(yF.Cache||Hp),H}yF.Cache=Hp;function gF(m){if(typeof m!="function")throw new cd(i);return function(){var I=arguments;switch(I.length){case 0:return!m.call(this);case 1:return!m.call(this,I[0]);case 2:return!m.call(this,I[0],I[1]);case 3:return!m.call(this,I[0],I[1],I[2])}return!m.apply(this,I)}}function jk0(m){return tve(2,m)}var Gk0=MI0(function(m,I){I=I.length==1&&nn(I[0])?df(I[0],m6(Mt())):df(Ys(I,1),m6(Mt()));var H=I.length;return Sn(function($){for(var te=-1,le=So($.length,H);++te=I}),fy=Z9e(function(){return arguments}())?Z9e:function(m){return Kf(m)&&fr.call(m,"callee")&&!U9e.call(m,"callee")},nn=We.isArray,iS0=w9e?m6(w9e):hI0;function Ac(m){return m!=null&&vF(m.length)&&!Gp(m)}function di(m){return Kf(m)&&Ac(m)}function sS0(m){return m===!0||m===!1||Kf(m)&&L1(m)==ne}var h3=TA0||c0e,oS0=T9e?m6(T9e):mI0;function cS0(m){return Kf(m)&&m.nodeType===1&&!fC(m)}function dS0(m){if(m==null)return!0;if(Ac(m)&&(nn(m)||typeof m=="string"||typeof m.splice=="function"||h3(m)||Ov(m)||fy(m)))return!m.length;var I=Ro(m);if(I==de||I==_0)return!m.size;if(aC(m))return!Cee(m).length;for(var H in m)if(fr.call(m,H))return!1;return!0}function lS0(m,I){return eC(m,I)}function uS0(m,I,H){H=typeof H=="function"?H:n;var $=H?H(m,I):n;return $===n?eC(m,I,n,H):!!$}function Zee(m){if(!Kf(m))return!1;var I=L1(m);return I==re||I==Y||typeof m.message=="string"&&typeof m.name=="string"&&!fC(m)}function pS0(m){return typeof m=="number"&&z9e(m)}function Gp(m){if(!Cf(m))return!1;var I=L1(m);return I==ie||I==ge||I==Z||I==Ye}function sve(m){return typeof m=="number"&&m==gn(m)}function vF(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=E}function Cf(m){var I=typeof m;return m!=null&&(I=="object"||I=="function")}function Kf(m){return m!=null&&typeof m=="object"}var ove=x9e?m6(x9e):yI0;function hS0(m,I){return m===I||Iee(m,I,qee(I))}function mS0(m,I,H){return H=typeof H=="function"?H:n,Iee(m,I,qee(I),H)}function bS0(m){return cve(m)&&m!=+m}function yS0(m){if(eC0(m))throw new Kt(f);return ege(m)}function gS0(m){return m===null}function vS0(m){return m==null}function cve(m){return typeof m=="number"||Kf(m)&&L1(m)==Ae}function fC(m){if(!Kf(m)||L1(m)!=Be)return!1;var I=KL(m);if(I===null)return!0;var H=fr.call(I,"constructor")&&I.constructor;return typeof H=="function"&&H instanceof H&&WL.call(H)==mA0}var e0e=E9e?m6(E9e):gI0;function wS0(m){return sve(m)&&m>=-E&&m<=E}var dve=_9e?m6(_9e):vI0;function wF(m){return typeof m=="string"||!nn(m)&&Kf(m)&&L1(m)==L0}function y6(m){return typeof m=="symbol"||Kf(m)&&L1(m)==Ze}var Ov=A9e?m6(A9e):wI0;function TS0(m){return m===n}function xS0(m){return Kf(m)&&Ro(m)==pe}function ES0(m){return Kf(m)&&L1(m)==he}var _S0=dF(kee),AS0=dF(function(m,I){return m<=I});function lve(m){if(!m)return[];if(Ac(m))return wF(m)?j5(m):_c(m);if(KI&&m[KI])return aA0(m[KI]());var I=Ro(m),H=I==de?mee:I==_0?UL:Uv;return H(m)}function Kp(m){if(!m)return m===0?m:0;if(m=hd(m),m===L||m===-L){var I=m<0?-1:1;return I*g}return m===m?m:0}function gn(m){var I=Kp(m),H=I%1;return I===I?H?I-H:I:0}function uve(m){return m?ty(gn(m),0,M):0}function hd(m){if(typeof m=="number")return m;if(y6(m))return B;if(Cf(m)){var I=typeof m.valueOf=="function"?m.valueOf():m;m=Cf(I)?I+"":I}if(typeof m!="string")return m===0?m:+m;m=M9e(m);var H=Pn.test(m);return H||Fn.test(m)?H_0(m.slice(2),H?2:8):Tt.test(m)?B:+m}function pve(m){return iu(m,Ic(m))}function IS0(m){return m?ty(gn(m),-E,E):m===0?m:0}function Qa(m){return m==null?"":b6(m)}var CS0=Lv(function(m,I){if(aC(I)||Ac(I)){iu(I,ds(I),m);return}for(var H in I)fr.call(I,H)&&JI(m,H,I[H])}),hve=Lv(function(m,I){iu(I,Ic(I),m)}),TF=Lv(function(m,I,H,$){iu(I,Ic(I),m,$)}),kS0=Lv(function(m,I,H,$){iu(I,ds(I),m,$)}),SS0=qp(Tee);function RS0(m,I){var H=Pv(m);return I==null?H:K9e(H,I)}var MS0=Sn(function(m,I){m=Cr(m);var H=-1,$=I.length,te=$>2?I[2]:n;for(te&&F1(I[0],I[1],te)&&($=1);++H<$;)for(var le=I[H],xe=Ic(le),Ce=-1,Fe=xe.length;++Ce1),le}),iu(m,zee(m),H),$&&(H=ld(H,l|h|y,WI0));for(var te=I.length;te--;)Dee(H,I[te]);return H});function YS0(m,I){return bve(m,gF(Mt(I)))}var $S0=qp(function(m,I){return m==null?{}:EI0(m,I)});function bve(m,I){if(m==null)return{};var H=df(zee(m),function($){return[$]});return I=Mt(I),sge(m,H,function($,te){return I($,te[0])})}function JS0(m,I,H){I=u3(I,m);var $=-1,te=I.length;for(te||(te=1,m=n);++$I){var $=m;m=I,I=$}if(H||m%1||I%1){var te=W9e();return So(m+te*(I-m+U_0("1e-"+((te+"").length-1))),I)}return Ree(m,I)}var oR0=Fv(function(m,I,H){return I=I.toLowerCase(),m+(H?vve(I):I)});function vve(m){return a0e(Qa(m).toLowerCase())}function wve(m){return m=Qa(m),m&&m.replace(On,X_0).replace(S_0,"")}function cR0(m,I,H){m=Qa(m),I=b6(I);var $=m.length;H=H===n?$:ty(gn(H),0,$);var te=H;return H-=I.length,H>=0&&m.slice(H,te)==I}function dR0(m){return m=Qa(m),m&&$e.test(m)?m.replace(m0,Z_0):m}function lR0(m){return m=Qa(m),m&&K0.test(m)?m.replace(B0,"\\$&"):m}var uR0=Fv(function(m,I,H){return m+(H?"-":"")+I.toLowerCase()}),pR0=Fv(function(m,I,H){return m+(H?" ":"")+I.toLowerCase()}),hR0=Ege("toLowerCase");function mR0(m,I,H){m=Qa(m),I=gn(I);var $=I?Sv(m):0;if(!I||$>=I)return m;var te=(I-$)/2;return cF($L(te),H)+m+cF(YL(te),H)}function bR0(m,I,H){m=Qa(m),I=gn(I);var $=I?Sv(m):0;return I&&$>>0,H?(m=Qa(m),m&&(typeof I=="string"||I!=null&&!e0e(I))&&(I=b6(I),!I&&kv(m))?p3(j5(m),0,H):m.split(I,H)):[]}var ER0=Fv(function(m,I,H){return m+(H?" ":"")+a0e(I)});function _R0(m,I,H){return m=Qa(m),H=H==null?0:ty(gn(H),0,m.length),I=b6(I),m.slice(H,H+I.length)==I}function AR0(m,I,H){var $=se.templateSettings;H&&F1(m,I,H)&&(I=n),m=Qa(m),I=TF({},I,$,Rge);var te=TF({},I.imports,$.imports,Rge),le=ds(te),xe=hee(te,le),Ce,Fe,r0=0,f0=I.interpolate||Ha,b0="__p += '",V0=bee((I.escape||Ha).source+"|"+f0.source+"|"+(f0===t0?Et:Ha).source+"|"+(I.evaluate||Ha).source+"|$","g"),ct="//# sourceURL="+(fr.call(I,"sourceURL")?(I.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++P_0+"]")+` -`;m.replace(V0,function(Dt,Kn,fa,g6,N1,v6){return fa||(fa=g6),b0+=m.slice(r0,v6).replace(pr,eA0),Kn&&(Ce=!0,b0+=`' + -__e(`+Kn+`) + -'`),N1&&(Fe=!0,b0+=`'; -`+N1+`; -__p += '`),fa&&(b0+=`' + -((__t = (`+fa+`)) == null ? '' : __t) + -'`),r0=v6+Dt.length,Dt}),b0+=`'; -`;var Bt=fr.call(I,"variable")&&I.variable;if(!Bt)b0=`with (obj) { -`+b0+` +`)}function k_t(m){return J0(m)||lb(m)||!!(nhe&&m&&m[nhe])}function o2(m,I){var $=typeof m;return I=I??w,!!I&&($=="number"||$!="symbol"&&kn.test(m))&&m>-1&&m%1==0&&m0){if(++I>=F)return arguments[0]}else I=0;return m.apply(t,arguments)}}function UM(m,I){var $=-1,K=m.length,ne=K-1;for(I=I===t?K:I;++$1?m[I-1]:t;return $=typeof $=="function"?(m.pop(),$):t,p7e(m,$)});function u7e(m){var I=fe(m);return I.__chain__=!0,I}function Uwt(m,I){return I(m),m}function qM(m,I){return I(m)}var qwt=f2(function(m){var I=m.length,$=I?m[0]:0,K=this.__wrapped__,ne=function(le){return pX(le,m)};return I>1||this.__actions__.length||!(K instanceof Hn)||!o2($)?this.thru(ne):(K=K.slice($,+$+(I?1:0)),K.__actions__.push({func:qM,args:[ne],thisArg:t}),new Fd(K,this.__chain__).thru(function(le){return I&&!le.length&&le.push(t),le}))});function Hwt(){return u7e(this)}function zwt(){return new Fd(this.value(),this.__chain__)}function Wwt(){this.__values__===t&&(this.__values__=C7e(this.value()));var m=this.__index__>=this.__values__.length,I=m?t:this.__values__[this.__index__++];return{done:m,value:I}}function jwt(){return this}function Gwt(m){for(var I,$=this;$ instanceof CM;){var K=s7e($);K.__index__=0,K.__values__=t,I?ne.__wrapped__=K:I=K;var ne=K;$=$.__wrapped__}return ne.__wrapped__=m,I}function Kwt(){var m=this.__wrapped__;if(m instanceof Hn){var I=m;return this.__actions__.length&&(I=new Hn(this)),I=I.reverse(),I.__actions__.push({func:qM,args:[$X],thisArg:t}),new Fd(I,this.__chain__)}return this.thru($X)}function Qwt(){return Ahe(this.__wrapped__,this.__actions__)}var Ywt=MM(function(m,I,$){ja.call(m,$)?++m[$]:i2(m,$,1)});function Jwt(m,I,$){var K=J0(m)?qbe:UTt;return $&&b1(m,I,$)&&(I=t),K(m,E0(I,3))}function Xwt(m,I){var $=J0(m)?_8:phe;return $(m,E0(I,3))}var Zwt=$he(f7e),ext=$he(o7e);function txt(m,I){return Lf(HM(m,I),1)}function nxt(m,I){return Lf(HM(m,I),M)}function axt(m,I,$){return $=$===t?1:un($),Lf(HM(m,I),$)}function y7e(m,I){var $=J0(m)?Bd:E8;return $(m,E0(I,3))}function m7e(m,I){var $=J0(m)?wvt:lhe;return $(m,E0(I,3))}var rxt=MM(function(m,I,$){ja.call(m,$)?m[$].push(I):i2(m,$,[I])});function ixt(m,I,$,K){m=ac(m)?m:Ng(m),$=$&&!K?un($):0;var ne=m.length;return $<0&&($=Rs(ne+$,0)),KM(m)?$<=ne&&m.indexOf(I,$)>-1:!!ne&&Ig(m,I,$)>-1}var sxt=wn(function(m,I,$){var K=-1,ne=typeof I=="function",le=ac(m)?Ne(m.length):[];return E8(m,function(ve){le[++K]=ne?jc(I,ve,$):EE(ve,I,$)}),le}),fxt=MM(function(m,I,$){i2(m,$,I)});function HM(m,I){var $=J0(m)?Xr:ghe;return $(m,E0(I,3))}function oxt(m,I,$,K){return m==null?[]:(J0(I)||(I=I==null?[]:[I]),$=K?t:$,J0($)||($=$==null?[]:[$]),whe(m,I,$))}var cxt=MM(function(m,I,$){m[$?0:1].push(I)},function(){return[[],[]]});function dxt(m,I,$){var K=J0(m)?ZJ:jbe,ne=arguments.length<3;return K(m,E0(I,4),$,ne,E8)}function lxt(m,I,$){var K=J0(m)?xvt:jbe,ne=arguments.length<3;return K(m,E0(I,4),$,ne,lhe)}function pxt(m,I){var $=J0(m)?_8:phe;return $(m,jM(E0(I,3)))}function uxt(m){var I=J0(m)?fhe:i_t;return I(m)}function yxt(m,I,$){($?b1(m,I,$):I===t)?I=1:I=un(I);var K=J0(m)?NTt:s_t;return K(m,I)}function mxt(m){var I=J0(m)?FTt:o_t;return I(m)}function bxt(m){if(m==null)return 0;if(ac(m))return KM(m)?Dg(m):m.length;var I=yo(m);return I==de||I==mt?m.size:gX(m).length}function hxt(m,I,$){var K=J0(m)?eX:c_t;return $&&b1(m,I,$)&&(I=t),K(m,E0(I,3))}var gxt=wn(function(m,I){if(m==null)return[];var $=I.length;return $>1&&b1(m,I[0],I[1])?I=[]:$>2&&b1(I[0],I[1],I[2])&&(I=[I[0]]),whe(m,Lf(I,1),[])}),zM=Xvt||function(){return Rf.Date.now()};function vxt(m,I){if(typeof I!="function")throw new Nd(s);return m=un(m),function(){if(--m<1)return I.apply(this,arguments)}}function b7e(m,I,$){return I=$?t:I,I=m&&I==null?m.length:I,s2(m,J,t,t,t,t,I)}function h7e(m,I){var $;if(typeof I!="function")throw new Nd(s);return m=un(m),function(){return--m>0&&($=I.apply(this,arguments)),m<=1&&(I=t),$}}var qX=wn(function(m,I,$){var K=O;if($.length){var ne=x8($,Mg(qX));K|=G}return s2(m,K,I,$,ne)}),g7e=wn(function(m,I,$){var K=O|N;if($.length){var ne=x8($,Mg(g7e));K|=G}return s2(I,K,m,$,ne)});function v7e(m,I,$){I=$?t:I;var K=s2(m,q,t,t,t,t,t,I);return K.placeholder=v7e.placeholder,K}function T7e(m,I,$){I=$?t:I;var K=s2(m,W,t,t,t,t,t,I);return K.placeholder=T7e.placeholder,K}function _7e(m,I,$){var K,ne,le,ve,xe,ke,Je=0,Xe=!1,dt=!1,Wt=!0;if(typeof m!="function")throw new Nd(s);I=Ud(I)||0,ui($)&&(Xe=!!$.leading,dt="maxWait"in $,le=dt?Rs(Ud($.maxWait)||0,I):le,Wt="trailing"in $?!!$.trailing:Wt);function o0(Qi){var vl=K,l2=ne;return K=ne=t,Je=Qi,ve=m.apply(l2,vl),ve}function D0(Qi){return Je=Qi,xe=kE(On,I),Xe?o0(Qi):ve}function bn(Qi){var vl=Qi-ke,l2=Qi-Je,$7e=I-vl;return dt?uo($7e,le-l2):$7e}function C0(Qi){var vl=Qi-ke,l2=Qi-Je;return ke===t||vl>=I||vl<0||dt&&l2>=le}function On(){var Qi=zM();if(C0(Qi))return Xn(Qi);xe=kE(On,bn(Qi))}function Xn(Qi){return xe=t,Wt&&K?o0(Qi):(K=ne=t,ve)}function Yc(){xe!==t&&Phe(xe),Je=0,K=ke=ne=xe=t}function h1(){return xe===t?ve:Xn(zM())}function Jc(){var Qi=zM(),vl=C0(Qi);if(K=arguments,ne=this,ke=Qi,vl){if(xe===t)return D0(ke);if(dt)return Phe(xe),xe=kE(On,I),o0(ke)}return xe===t&&(xe=kE(On,I)),ve}return Jc.cancel=Yc,Jc.flush=h1,Jc}var Txt=wn(function(m,I){return dhe(m,1,I)}),_xt=wn(function(m,I,$){return dhe(m,Ud(I)||0,$)});function wxt(m){return s2(m,z)}function WM(m,I){if(typeof m!="function"||I!=null&&typeof I!="function")throw new Nd(s);var $=function(){var K=arguments,ne=I?I.apply(this,K):K[0],le=$.cache;if(le.has(ne))return le.get(ne);var ve=m.apply(this,K);return $.cache=le.set(ne,ve)||le,ve};return $.cache=new(WM.Cache||r2),$}WM.Cache=r2;function jM(m){if(typeof m!="function")throw new Nd(s);return function(){var I=arguments;switch(I.length){case 0:return!m.call(this);case 1:return!m.call(this,I[0]);case 2:return!m.call(this,I[0],I[1]);case 3:return!m.call(this,I[0],I[1],I[2])}return!m.apply(this,I)}}function xxt(m){return h7e(2,m)}var Ixt=d_t(function(m,I){I=I.length==1&&J0(I[0])?Xr(I[0],Gc(E0())):Xr(Lf(I,1),Gc(E0()));var $=I.length;return wn(function(K){for(var ne=-1,le=uo(K.length,$);++ne=I}),lb=mhe(function(){return arguments}())?mhe:function(m){return Ai(m)&&ja.call(m,"callee")&&!the.call(m,"callee")},J0=Ne.isArray,Vxt=Nbe?Gc(Nbe):GTt;function ac(m){return m!=null&&GM(m.length)&&!c2(m)}function Ki(m){return Ai(m)&&ac(m)}function $xt(m){return m===!0||m===!1||Ai(m)&&m1(m)==ae}var A8=eTt||eZ,Uxt=Fbe?Gc(Fbe):KTt;function qxt(m){return Ai(m)&&m.nodeType===1&&!PE(m)}function Hxt(m){if(m==null)return!0;if(ac(m)&&(J0(m)||typeof m=="string"||typeof m.splice=="function"||A8(m)||Bg(m)||lb(m)))return!m.length;var I=yo(m);if(I==de||I==mt)return!m.size;if(AE(m))return!gX(m).length;for(var $ in m)if(ja.call(m,$))return!1;return!0}function zxt(m,I){return DE(m,I)}function Wxt(m,I,$){$=typeof $=="function"?$:t;var K=$?$(m,I):t;return K===t?DE(m,I,t,$):!!K}function zX(m){if(!Ai(m))return!1;var I=m1(m);return I==ie||I==Q||typeof m.message=="string"&&typeof m.name=="string"&&!PE(m)}function jxt(m){return typeof m=="number"&&ahe(m)}function c2(m){if(!ui(m))return!1;var I=m1(m);return I==se||I==be||I==ee||I==qe}function x7e(m){return typeof m=="number"&&m==un(m)}function GM(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=w}function ui(m){var I=typeof m;return m!=null&&(I=="object"||I=="function")}function Ai(m){return m!=null&&typeof m=="object"}var I7e=Obe?Gc(Obe):YTt;function Gxt(m,I){return m===I||hX(m,I,MX(I))}function Kxt(m,I,$){return $=typeof $=="function"?$:t,hX(m,I,MX(I),$)}function Qxt(m){return E7e(m)&&m!=+m}function Yxt(m){if(L_t(m))throw new q0(i);return bhe(m)}function Jxt(m){return m===null}function Xxt(m){return m==null}function E7e(m){return typeof m=="number"||Ai(m)&&m1(m)==we}function PE(m){if(!Ai(m)||m1(m)!=Se)return!1;var I=TM(m);if(I===null)return!0;var $=ja.call(I,"constructor")&&I.constructor;return typeof $=="function"&&$ instanceof $&&bM.call($)==Kvt}var WX=Vbe?Gc(Vbe):JTt;function Zxt(m){return x7e(m)&&m>=-w&&m<=w}var D7e=$be?Gc($be):XTt;function KM(m){return typeof m=="string"||!J0(m)&&Ai(m)&&m1(m)==kt}function Qc(m){return typeof m=="symbol"||Ai(m)&&m1(m)==je}var Bg=Ube?Gc(Ube):ZTt;function eIt(m){return m===t}function tIt(m){return Ai(m)&&yo(m)==Ct}function nIt(m){return Ai(m)&&m1(m)==rt}var aIt=OM(vX),rIt=OM(function(m,I){return m<=I});function C7e(m){if(!m)return[];if(ac(m))return KM(m)?bl(m):nc(m);if(gE&&m[gE])return Nvt(m[gE]());var I=yo(m),$=I==de?sX:I==mt?uM:Ng;return $(m)}function d2(m){if(!m)return m===0?m:0;if(m=Ud(m),m===M||m===-M){var I=m<0?-1:1;return I*g}return m===m?m:0}function un(m){var I=d2(m),$=I%1;return I===I?$?I-$:I:0}function S7e(m){return m?fb(un(m),0,k):0}function Ud(m){if(typeof m=="number")return m;if(Qc(m))return R;if(ui(m)){var I=typeof m.valueOf=="function"?m.valueOf():m;m=ui(I)?I+"":I}if(typeof m!="string")return m===0?m:+m;m=Gbe(m);var $=Cn.test(m);return $||An.test(m)?vvt(m.slice(2),$?2:8):v0.test(m)?R:+m}function A7e(m){return Ap(m,rc(m))}function iIt(m){return m?fb(un(m),-w,w):m===0?m:0}function Na(m){return m==null?"":Kc(m)}var sIt=Rg(function(m,I){if(AE(I)||ac(I)){Ap(I,Gs(I),m);return}for(var $ in I)ja.call(I,$)&&xE(m,$,I[$])}),k7e=Rg(function(m,I){Ap(I,rc(I),m)}),QM=Rg(function(m,I,$,K){Ap(I,rc(I),m,K)}),fIt=Rg(function(m,I,$,K){Ap(I,Gs(I),m,K)}),oIt=f2(pX);function cIt(m,I){var $=Pg(m);return I==null?$:ohe($,I)}var dIt=wn(function(m,I){m=br(m);var $=-1,K=I.length,ne=K>2?I[2]:t;for(ne&&b1(I[0],I[1],ne)&&(K=1);++$1),le}),Ap(m,RX(m),$),K&&($=Od($,l|y|h,__t));for(var ne=I.length;ne--;)IX($,I[ne]);return $});function SIt(m,I){return R7e(m,jM(E0(I)))}var AIt=f2(function(m,I){return m==null?{}:n_t(m,I)});function R7e(m,I){if(m==null)return{};var $=Xr(RX(m),function(K){return[K]});return I=E0(I),xhe(m,$,function(K,ne){return I(K,ne[0])})}function kIt(m,I,$){I=C8(I,m);var K=-1,ne=I.length;for(ne||(ne=1,m=t);++KI){var K=m;m=I,I=K}if($||m%1||I%1){var ne=rhe();return uo(m+ne*(I-m+gvt("1e-"+((ne+"").length-1))),I)}return _X(m,I)}var UIt=Lg(function(m,I,$){return I=I.toLowerCase(),m+($?B7e(I):I)});function B7e(m){return KX(Na(m).toLowerCase())}function N7e(m){return m=Na(m),m&&m.replace(Pn,Pvt).replace(ovt,"")}function qIt(m,I,$){m=Na(m),I=Kc(I);var K=m.length;$=$===t?K:fb(un($),0,K);var ne=$;return $-=I.length,$>=0&&m.slice($,ne)==I}function HIt(m){return m=Na(m),m&&$e.test(m)?m.replace(ct,Rvt):m}function zIt(m){return m=Na(m),m&&Ht.test(m)?m.replace(xt,"\\$&"):m}var WIt=Lg(function(m,I,$){return m+($?"-":"")+I.toLowerCase()}),jIt=Lg(function(m,I,$){return m+($?" ":"")+I.toLowerCase()}),GIt=Vhe("toLowerCase");function KIt(m,I,$){m=Na(m),I=un(I);var K=I?Dg(m):0;if(!I||K>=I)return m;var ne=(I-K)/2;return FM(IM(ne),$)+m+FM(xM(ne),$)}function QIt(m,I,$){m=Na(m),I=un(I);var K=I?Dg(m):0;return I&&K>>0,$?(m=Na(m),m&&(typeof I=="string"||I!=null&&!WX(I))&&(I=Kc(I),!I&&Eg(m))?S8(bl(m),0,$):m.split(I,$)):[]}var nEt=Lg(function(m,I,$){return m+($?" ":"")+KX(I)});function aEt(m,I,$){return m=Na(m),$=$==null?0:fb(un($),0,m.length),I=Kc(I),m.slice($,$+I.length)==I}function rEt(m,I,$){var K=fe.templateSettings;$&&b1(m,I,$)&&(I=t),m=Na(m),I=QM({},I,K,jhe);var ne=QM({},I.imports,K.imports,jhe),le=Gs(ne),ve=iX(ne,le),xe,ke,Je=0,Xe=I.interpolate||ka,dt="__p += '",Wt=fX((I.escape||ka).source+"|"+Xe.source+"|"+(Xe===Ge?_0:ka).source+"|"+(I.evaluate||ka).source+"|$","g"),o0="//# sourceURL="+(ja.call(I,"sourceURL")?(I.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++uvt+"]")+` +`;m.replace(Wt,function(C0,On,Xn,Yc,h1,Jc){return Xn||(Xn=Yc),dt+=m.slice(Je,Jc).replace(nr,Lvt),On&&(xe=!0,dt+=`' + +__e(`+On+`) + +'`),h1&&(ke=!0,dt+=`'; +`+h1+`; +__p += '`),Xn&&(dt+=`' + +((__t = (`+Xn+`)) == null ? '' : __t) + +'`),Je=Jc+C0.length,C0}),dt+=`'; +`;var D0=ja.call(I,"variable")&&I.variable;if(!D0)dt=`with (obj) { +`+dt+` } -`;else if(p0.test(Bt))throw new Kt(s);b0=(Fe?b0.replace(_e,""):b0).replace(ze,"$1").replace(je,"$1;"),b0="function("+(Bt||"obj")+`) { -`+(Bt?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(Ce?", __e = _.escape":"")+(Fe?`, __j = Array.prototype.join; +`;else if(ft.test(D0))throw new q0(f);dt=(ke?dt.replace(_e,""):dt).replace(Be,"$1").replace(Fe,"$1;"),dt="function("+(D0||"obj")+`) { +`+(D0?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(xe?", __e = _.escape":"")+(ke?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+b0+`return __p -}`;var xn=xve(function(){return Wa(le,ct+"return "+b0).apply(n,xe)});if(xn.source=b0,Zee(xn))throw xn;return xn}function IR0(m){return Qa(m).toLowerCase()}function CR0(m){return Qa(m).toUpperCase()}function kR0(m,I,H){if(m=Qa(m),m&&(H||I===n))return M9e(m);if(!m||!(I=b6(I)))return m;var $=j5(m),te=j5(I),le=B9e($,te),xe=D9e($,te)+1;return p3($,le,xe).join("")}function SR0(m,I,H){if(m=Qa(m),m&&(H||I===n))return m.slice(0,L9e(m)+1);if(!m||!(I=b6(I)))return m;var $=j5(m),te=D9e($,j5(I))+1;return p3($,0,te).join("")}function RR0(m,I,H){if(m=Qa(m),m&&(H||I===n))return m.replace(s0,"");if(!m||!(I=b6(I)))return m;var $=j5(m),te=B9e($,j5(I));return p3($,te).join("")}function MR0(m,I){var H=R,$=T;if(Cf(I)){var te="separator"in I?I.separator:te;H="length"in I?gn(I.length):H,$="omission"in I?b6(I.omission):$}m=Qa(m);var le=m.length;if(kv(m)){var xe=j5(m);le=xe.length}if(H>=le)return m;var Ce=H-Sv($);if(Ce<1)return $;var Fe=xe?p3(xe,0,Ce).join(""):m.slice(0,Ce);if(te===n)return Fe+$;if(xe&&(Ce+=Fe.length-Ce),e0e(te)){if(m.slice(Ce).search(te)){var r0,f0=Fe;for(te.global||(te=bee(te.source,Qa($0.exec(te))+"g")),te.lastIndex=0;r0=te.exec(f0);)var b0=r0.index;Fe=Fe.slice(0,b0===n?Ce:b0)}}else if(m.indexOf(b6(te),Ce)!=Ce){var V0=Fe.lastIndexOf(te);V0>-1&&(Fe=Fe.slice(0,V0))}return Fe+$}function BR0(m){return m=Qa(m),m&&h0.test(m)?m.replace(Ue,sA0):m}var DR0=Fv(function(m,I,H){return m+(H?" ":"")+I.toUpperCase()}),a0e=Ege("toUpperCase");function Tve(m,I,H){return m=Qa(m),I=H?n:I,I===n?nA0(m)?dA0(m):Q_0(m):m.match(I)||[]}var xve=Sn(function(m,I){try{return h6(m,n,I)}catch(H){return Zee(H)?H:new Kt(H)}}),PR0=qp(function(m,I){return od(I,function(H){H=su(H),zp(m,H,Jee(m[H],m))}),m});function LR0(m){var I=m==null?0:m.length,H=Mt();return m=I?df(m,function($){if(typeof $[1]!="function")throw new cd(i);return[H($[0]),$[1]]}):[],Sn(function($){for(var te=-1;++teE)return[];var H=M,$=So(m,M);I=Mt(I),m-=M;for(var te=pee($,I);++H0||I<0)?new Jn(H):(m<0?H=H.takeRight(-m):m&&(H=H.drop(m)),I!==n&&(I=gn(I),H=I<0?H.dropRight(-I):H.take(I-m)),H)},Jn.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Jn.prototype.toArray=function(){return this.take(M)},fu(Jn.prototype,function(m,I){var H=/^(?:filter|find|map|reject)|While$/.test(I),$=/^(?:head|last)$/.test(I),te=se[$?"take"+(I=="last"?"Right":""):I],le=$||/^find/.test(I);te&&(se.prototype[I]=function(){var xe=this.__wrapped__,Ce=$?[1]:arguments,Fe=xe instanceof Jn,r0=Ce[0],f0=Fe||nn(xe),b0=function(Kn){var fa=te.apply(se,s3([Kn],Ce));return $&&V0?fa[0]:fa};f0&&H&&typeof r0=="function"&&r0.length!=1&&(Fe=f0=!1);var V0=this.__chain__,ct=!!this.__actions__.length,Bt=le&&!V0,xn=Fe&&!ct;if(!le&&f0){xe=xn?xe:new Jn(this);var Dt=m.apply(xe,Ce);return Dt.__actions__.push({func:hF,args:[b0],thisArg:n}),new dd(Dt,V0)}return Bt&&xn?m.apply(this,Ce):(Dt=this.thru(b0),Bt?$?Dt.value()[0]:Dt.value():Dt)})}),od(["pop","push","shift","sort","splice","unshift"],function(m){var I=HL[m],H=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",$=/^(?:pop|shift)$/.test(m);se.prototype[m]=function(){var te=arguments;if($&&!this.__chain__){var le=this.value();return I.apply(nn(le)?le:[],te)}return this[H](function(xe){return I.apply(nn(xe)?xe:[],te)})}}),fu(Jn.prototype,function(m,I){var H=se[I];if(H){var $=H.name+"";fr.call(Dv,$)||(Dv[$]=[]),Dv[$].push({name:I,func:H})}}),Dv[sF(n,F).name]=[{name:"wrapper",func:n}],Jn.prototype.clone=BA0,Jn.prototype.reverse=DA0,Jn.prototype.value=PA0,se.prototype.at=ck0,se.prototype.chain=dk0,se.prototype.commit=lk0,se.prototype.next=uk0,se.prototype.plant=hk0,se.prototype.reverse=mk0,se.prototype.toJSON=se.prototype.valueOf=se.prototype.value=bk0,se.prototype.first=se.prototype.head,KI&&(se.prototype[KI]=pk0),se},Rv=lA0();J4?((J4.exports=Rv)._=Rv,fee._=Rv):Vs._=Rv}).call(NB)})(dpe,dpe.exports);Kun=Object.defineProperty,Qun=Object.defineProperties,Vun=Object.getOwnPropertyDescriptors,Ud0=Object.getOwnPropertySymbols,Yun=Object.prototype.hasOwnProperty,$un=Object.prototype.propertyIsEnumerable,Hd0=(t,e,n)=>e in t?Kun(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,uV=(t,e)=>{for(var n in e||(e={}))Yun.call(e,n)&&Hd0(t,n,e[n]);if(Ud0)for(var n of Ud0(e))$un.call(e,n)&&Hd0(t,n,e[n]);return t},Jun=(t,e)=>Qun(t,Vun(e));Qd0={},vf=t=>Qd0[t],ope=(t,e)=>{Qd0[t]=e},lpe=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=rg(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},upe=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(e){switch(e.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(e);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(e.request.method)?await this.client.request(e):this.getHttpProvider().request(e.request)}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(parseInt(e),n),this.chainId=parseInt(e),this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}createHttpProvider(e,n){let a=n||Gb(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=parseInt(rg(n));e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}getHttpProvider(){let e=this.chainId,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}async handleSwitchChain(e){var n,a;let r=e.request.params?(n=e.request.params[0])==null?void 0:n.chainId:"0x0";r=r.startsWith("0x")?r:`0x${r}`;let f=parseInt(r,16);if(this.isChainApproved(f))this.setDefaultChain(`${f}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:e.topic,request:{method:e.request.method,params:[{chainId:r}]},chainId:(a=this.namespace.chains)==null?void 0:a[0]}),this.setDefaultChain(`${f}`);else throw new Error(`Failed to switch to chain 'eip155:${f}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(e){return this.namespace.chains.includes(`${this.name}:${e}`)}},ppe=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=rg(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},hpe=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=rg(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},mpe=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{let a=this.getCardanoRPCUrl(n),r=rg(n);e[r]=this.createHttpProvider(r,a)}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}getCardanoRPCUrl(e){let n=this.namespace.rpcMap;if(n)return n[e]}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||this.getCardanoRPCUrl(e);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},bpe=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=rg(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},ype=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){this.httpProviders[e]||this.setHttpProvider(e,n),this.chainId=e,this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;let r=rg(n);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new W6(new g5(a,vf("disableProviderPing")))}},gpe=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=vf("events"),this.client=vf("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,n){if(this.chainId=e,!this.httpProviders[e]){let a=n||Gb(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(Ah.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(n=>n.split(":")[1]===this.chainId.toString()).map(n=>n.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(n=>{var a;e[n]=this.createHttpProvider(n,(a=this.namespace.rpcMap)==null?void 0:a[n])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,n=this.httpProviders[e];if(typeof n>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return n}setHttpProvider(e,n){let a=this.createHttpProvider(e,n);a&&(this.httpProviders[e]=a)}createHttpProvider(e,n){let a=n||Gb(e,this.namespace);return typeof a>"u"?void 0:new W6(new g5(a,vf("disableProviderPing")))}},e2n=Object.defineProperty,t2n=Object.defineProperties,n2n=Object.getOwnPropertyDescriptors,qd0=Object.getOwnPropertySymbols,a2n=Object.prototype.hasOwnProperty,r2n=Object.prototype.propertyIsEnumerable,jd0=(t,e,n)=>e in t?e2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pV=(t,e)=>{for(var n in e||(e={}))a2n.call(e,n)&&jd0(t,n,e[n]);if(qd0)for(var n of qd0(e))r2n.call(e,n)&&jd0(t,n,e[n]);return t},cpe=(t,e)=>t2n(t,n2n(e)),vpe=class t{constructor(e){this.events=new Gd0.default,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=e,this.logger=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,M7.default)(B7({level:e?.logger||Nd0})),this.disableProviderPing=e?.disableProviderPing||!1}static async init(e){let n=new t(e);return await n.initialize(),n}async request(e,n,a){let[r,f]=this.validateChain(n);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(r).request({request:pV({},e),chainId:`${r}:${f}`,topic:this.session.topic,expiry:a})}sendAsync(e,n,a,r){let f=new Date().getTime();this.request(e,a,r).then(i=>n(null,N8(f,i))).catch(i=>n(i,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var e;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(e=this.session)==null?void 0:e.topic,reason:Ia("USER_DISCONNECTED")}),await this.cleanup()}async connect(e){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(e),await this.cleanupPendingPairings(),!e.skipPairing)return await this.pair(e.pairingTopic)}async authenticate(e){if(!this.client)throw new Error("Sign Client not initialized");this.setNamespaces(e),await this.cleanupPendingPairings();let{uri:n,response:a}=await this.client.authenticate(e);n&&(this.uri=n,this.events.emit("display_uri",n));let r=await a();if(this.session=r.session,this.session){let f=Wd0(this.session.namespaces);this.namespaces=ipe(this.namespaces,f),this.persist("namespaces",this.namespaces),this.onConnect()}return r}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}removeListener(e,n){this.events.removeListener(e,n)}off(e,n){this.events.off(e,n)}get isWalletConnect(){return!0}async pair(e){this.shouldAbortPairingAttempt=!1;let n=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(n>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");let{uri:a,approval:r}=await this.client.connect({pairingTopic:e,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});a&&(this.uri=a,this.events.emit("display_uri",a)),await r().then(f=>{this.session=f;let i=Wd0(f.namespaces);this.namespaces=ipe(this.namespaces,i),this.persist("namespaces",this.namespaces)}).catch(f=>{if(f.message!==rpe)throw f;n++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(e,n){try{if(!this.session)return;let[a,r]=this.validateChain(e);this.getProvider(a).setDefaultChain(r,n)}catch(a){if(!/Please call connect/.test(a.message))throw a}}async cleanupPendingPairings(e={}){this.logger.info("Cleaning up inactive pairings...");let n=this.client.pairing.getAll();if(z6(n)){for(let a of n)e.deletePairings?this.client.core.expirer.set(a.topic,0):await this.client.core.relayer.subscriber.unsubscribe(a.topic);this.logger.info(`Inactive pairings cleared: ${n.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){let e=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[e]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await oV.init({logger:this.providerOpts.logger||Nd0,relayUrl:this.providerOpts.relayUrl||Wun,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");let e=[...new Set(Object.keys(this.session.namespaces).map(n=>S_(n)))];ope("client",this.client),ope("events",this.events),ope("disableProviderPing",this.disableProviderPing),e.forEach(n=>{if(!this.session)return;let a=Xun(n,this.session),r=Kd0(a),f=ipe(this.namespaces,this.optionalNamespaces),i=cpe(pV({},f[n]),{accounts:a,chains:r});switch(n){case"eip155":this.rpcProviders[n]=new upe({namespace:i});break;case"solana":this.rpcProviders[n]=new ppe({namespace:i});break;case"cosmos":this.rpcProviders[n]=new hpe({namespace:i});break;case"polkadot":this.rpcProviders[n]=new lpe({namespace:i});break;case"cip34":this.rpcProviders[n]=new mpe({namespace:i});break;case"elrond":this.rpcProviders[n]=new bpe({namespace:i});break;case"multiversx":this.rpcProviders[n]=new ype({namespace:i});break;case"near":this.rpcProviders[n]=new gpe({namespace:i});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",e=>{this.events.emit("session_ping",e)}),this.client.on("session_event",e=>{let{params:n}=e,{event:a}=n;if(a.name==="accountsChanged"){let r=a.data;r&&z6(r)&&this.events.emit("accountsChanged",r.map(Zun))}else if(a.name==="chainChanged"){let r=n.chainId,f=n.event.data,i=S_(r),s=spe(r)!==spe(f)?`${i}:${spe(f)}`:r;this.onChainChanged(s)}else this.events.emit(a.name,a.data);this.events.emit("session_event",e)}),this.client.on("session_update",({topic:e,params:n})=>{var a;let{namespaces:r}=n,f=(a=this.client)==null?void 0:a.session.get(e);this.session=cpe(pV({},f),{namespaces:r}),this.onSessionUpdate(),this.events.emit("session_update",{topic:e,params:n})}),this.client.on("session_delete",async e=>{await this.cleanup(),this.events.emit("session_delete",e),this.events.emit("disconnect",cpe(pV({},Ia("USER_DISCONNECTED")),{data:e.topic}))}),this.on(Ah.DEFAULT_CHAIN_CHANGED,e=>{this.onChainChanged(e,!0)})}getProvider(e){if(!this.rpcProviders[e])throw new Error(`Provider not found: ${e}`);return this.rpcProviders[e]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(e=>{var n;this.getProvider(e).updateNamespace((n=this.session)==null?void 0:n.namespaces[e])})}setNamespaces(e){let{namespaces:n,optionalNamespaces:a,sessionProperties:r}=e;n&&Object.keys(n).length&&(this.namespaces=n),a&&Object.keys(a).length&&(this.optionalNamespaces=a),this.sessionProperties=r,this.persist("namespaces",n),this.persist("optionalNamespaces",a)}validateChain(e){let[n,a]=e?.split(":")||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[n,a];if(n&&!Object.keys(this.namespaces||{}).map(i=>S_(i)).includes(n))throw new Error(`Namespace '${n}' is not configured. Please call connect() first with namespace config.`);if(n&&a)return[n,a];let r=S_(Object.keys(this.namespaces)[0]),f=this.rpcProviders[r].getDefaultChain();return[r,f]}async requestAccounts(){let[e]=this.validateChain();return await this.getProvider(e).requestAccounts()}onChainChanged(e,n=!1){if(!this.namespaces)return;let[a,r]=this.validateChain(e);r&&(n||this.getProvider(a).setDefaultChain(r),this.namespaces[a]?this.namespaces[a].defaultChain=r:this.namespaces[`${a}:${r}`]?this.namespaces[`${a}:${r}`].defaultChain=r:this.namespaces[`${a}:${r}`]={defaultChain:r},this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",r))}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(e,n){this.client.core.storage.setItem(`${Od0}/${e}`,n)}async getFromStore(e){return await this.client.core.storage.getItem(`${Od0}/${e}`)}},Vd0=vpe});var RFa,f2n,$d0,wpe,i2n,Jd0,Tpe,Xd0=oe(()=>{u();p();RFa=Symbol(),f2n=Symbol(),$d0=Object.getPrototypeOf,wpe=new WeakMap,i2n=t=>t&&(wpe.has(t)?wpe.get(t):$d0(t)===Object.prototype||$d0(t)===Array.prototype),Jd0=t=>i2n(t)&&t[f2n]||null,Tpe=(t,e=!0)=>{wpe.set(t,e)}});function Ih(t={}){return o2n(t)}function Vb(t,e,n){let a=Kb.get(t);(Qb.env?Qb.env.MODE:void 0)!=="production"&&!a&&console.warn("Please use proxy object");let r,f=[],i=a[3],s=!1,c=i(d=>{if(f.push(d),n){e(f.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,s&&e(f.splice(0))}))});return s=!0,()=>{s=!1,c()}}function Zd0(t,e){let n=Kb.get(t);(Qb.env?Qb.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let[a,r,f]=n;return f(a,r(),e)}var Qb,xpe,Kb,hV,s2n,o2n,e50=oe(()=>{u();p();Xd0();Qb={},xpe=t=>typeof t=="object"&&t!==null,Kb=new WeakMap,hV=new WeakSet,s2n=(t=Object.is,e=(c,d)=>new Proxy(c,d),n=c=>xpe(c)&&!hV.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),a=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,f=(c,d,l=a)=>{let h=r.get(c);if(h?.[0]===d)return h[1];let y=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return Tpe(y,!0),r.set(c,[d,y]),Reflect.ownKeys(c).forEach(v=>{if(Object.getOwnPropertyDescriptor(y,v))return;let k=Reflect.get(c,v),O={value:k,enumerable:!0,configurable:!0};if(hV.has(k))Tpe(k,!1);else if(k instanceof Promise)delete O.value,O.get=()=>l(k);else if(Kb.has(k)){let[F,z]=Kb.get(k);O.value=f(F,z(),l)}Object.defineProperty(y,v,O)}),Object.preventExtensions(y)},i=new WeakMap,s=[1,1],o=c=>{if(!xpe(c))throw new Error("object required");let d=i.get(c);if(d)return d;let l=s[0],h=new Set,y=(G,R=++s[0])=>{l!==R&&(l=R,h.forEach(T=>T(G,R)))},v=s[1],k=(G=++s[1])=>(v!==G&&!h.size&&(v=G,F.forEach(([R])=>{let T=R[1](G);T>l&&(l=T)})),l),O=G=>(R,T)=>{let N=[...R];N[1]=[G,...N[1]],y(N,T)},F=new Map,z=(G,R)=>{if((Qb.env?Qb.env.MODE:void 0)!=="production"&&F.has(G))throw new Error("prop listener already exists");if(h.size){let T=R[3](O(G));F.set(G,[R,T])}else F.set(G,[R])},W=G=>{var R;let T=F.get(G);T&&(F.delete(G),(R=T[1])==null||R.call(T))},j=G=>(h.add(G),h.size===1&&F.forEach(([T,N],w)=>{if((Qb.env?Qb.env.MODE:void 0)!=="production"&&N)throw new Error("remove already exists");let b=T[3](O(w));F.set(w,[T,b])}),()=>{h.delete(G),h.size===0&&F.forEach(([T,N],w)=>{N&&(N(),F.set(w,[T]))})}),Q=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),X=e(Q,{deleteProperty(G,R){let T=Reflect.get(G,R);W(R);let N=Reflect.deleteProperty(G,R);return N&&y(["delete",[R],T]),N},set(G,R,T,N){let w=Reflect.has(G,R),b=Reflect.get(G,R,N);if(w&&(t(b,T)||i.has(T)&&t(b,i.get(T))))return!0;W(R),xpe(T)&&(T=Jd0(T)||T);let A=T;if(T instanceof Promise)T.then(P=>{T.status="fulfilled",T.value=P,y(["resolve",[R],P])}).catch(P=>{T.status="rejected",T.reason=P,y(["reject",[R],P])});else{!Kb.has(T)&&n(T)&&(A=o(T));let P=!hV.has(A)&&Kb.get(A);P&&z(R,P)}return Reflect.set(G,R,A,N),y(["set",[R],T,b]),!0}});i.set(c,X);let K=[Q,k,f,j];return Kb.set(X,K),Reflect.ownKeys(c).forEach(G=>{let R=Object.getOwnPropertyDescriptor(c,G);"value"in R&&(X[G]=c[G],delete R.value,delete R.writable),Object.defineProperty(Q,G,R)}),X})=>[o,Kb,hV,t,e,n,a,r,f,i,s],[o2n]=s2n()});async function bV(t,e){let n=p2n({sdkType:_pe,sdkVersion:Ape},e),a=new URL(t,Epe);return a.searchParams.append("projectId",lc.state.projectId),Object.entries(n).forEach(([r,f])=>{f&&a.searchParams.append(r,String(f))}),(await fetch(a)).json()}function x2n(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Ws,wf,gt,c2n,v1,Ipe,tp,Pf,mV,lc,d2n,t50,l2n,u2n,n50,p2n,Epe,_pe,Ape,fg,h2n,a50,m2n,b2n,r50,y2n,f50,np,uc,P_,Ch,g2n,i50,v2n,w2n,s50,T2n,OB,ap,ig,kh,Cpe=oe(()=>{u();p();e50();Ws=Ih({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),wf={state:Ws,subscribe(t){return Vb(Ws,()=>t(Ws))},push(t,e){t!==Ws.view&&(Ws.view=t,e&&(Ws.data=e),Ws.history.push(t))},reset(t){Ws.view=t,Ws.history=[t]},replace(t){Ws.history.length>1&&(Ws.history[Ws.history.length-1]=t,Ws.view=t)},goBack(){if(Ws.history.length>1){Ws.history.pop();let[t]=Ws.history.slice(-1);Ws.view=t}},setData(t){Ws.data=t}},gt={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return gt.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let t=navigator.userAgent.toLowerCase();return gt.isMobile()&&(t.includes("iphone")||t.includes("ipad"))},isHttpUrl(t){return t.startsWith("http://")||t.startsWith("https://")},isArray(t){return Array.isArray(t)&&t.length>0},formatNativeUrl(t,e,n){if(gt.isHttpUrl(t))return this.formatUniversalUrl(t,e,n);let a=t;a.includes("://")||(a=t.replaceAll("/","").replaceAll(":",""),a=`${a}://`),a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},formatUniversalUrl(t,e,n){if(!gt.isHttpUrl(t))return this.formatNativeUrl(t,e,n);let a=t;a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,n);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},async wait(t){return new Promise(e=>{setTimeout(e,t)})},openHref(t,e){window.open(t,e,"noreferrer noopener")},setWalletConnectDeepLink(t,e){try{localStorage.setItem(gt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:e}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(t){try{let[e]=t.split("?");localStorage.setItem(gt.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(gt.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(gt.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var t;let e=(t=wf.state.data)==null?void 0:t.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},c2n=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),v1=Ih({enabled:c2n,userSessionId:"",events:[],connectedWalletId:void 0}),Ipe={state:v1,subscribe(t){return Vb(v1.events,()=>t(Zd0(v1.events[v1.events.length-1])))},initialize(){v1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(v1.userSessionId=crypto.randomUUID())},setConnectedWalletId(t){v1.connectedWalletId=t},click(t){if(v1.enabled){let e={type:"CLICK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},track(t){if(v1.enabled){let e={type:"TRACK",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}},view(t){if(v1.enabled){let e={type:"VIEW",name:t.name,userSessionId:v1.userSessionId,timestamp:Date.now(),data:t};v1.events.push(e)}}},tp=Ih({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),Pf={state:tp,subscribe(t){return Vb(tp,()=>t(tp))},setChains(t){tp.chains=t},setWalletConnectUri(t){tp.walletConnectUri=t},setIsCustomDesktop(t){tp.isCustomDesktop=t},setIsCustomMobile(t){tp.isCustomMobile=t},setIsDataLoaded(t){tp.isDataLoaded=t},setIsUiLoaded(t){tp.isUiLoaded=t},setIsAuth(t){tp.isAuth=t}},mV=Ih({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),lc={state:mV,subscribe(t){return Vb(mV,()=>t(mV))},setConfig(t){var e,n;Ipe.initialize(),Pf.setChains(t.chains),Pf.setIsAuth(!!t.enableAuthMode),Pf.setIsCustomMobile(!!((e=t.mobileWallets)!=null&&e.length)),Pf.setIsCustomDesktop(!!((n=t.desktopWallets)!=null&&n.length)),gt.setModalVersionInStorage(),Object.assign(mV,t)}},d2n=Object.defineProperty,t50=Object.getOwnPropertySymbols,l2n=Object.prototype.hasOwnProperty,u2n=Object.prototype.propertyIsEnumerable,n50=(t,e,n)=>e in t?d2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,p2n=(t,e)=>{for(var n in e||(e={}))l2n.call(e,n)&&n50(t,n,e[n]);if(t50)for(var n of t50(e))u2n.call(e,n)&&n50(t,n,e[n]);return t},Epe="https://explorer-api.walletconnect.com",_pe="wcm",Ape="js-2.6.2";fg={async getDesktopListings(t){return bV("/w3m/v1/getDesktopListings",t)},async getMobileListings(t){return bV("/w3m/v1/getMobileListings",t)},async getInjectedListings(t){return bV("/w3m/v1/getInjectedListings",t)},async getAllListings(t){return bV("/w3m/v1/getAllListings",t)},getWalletImageUrl(t){return`${Epe}/w3m/v1/getWalletImage/${t}?projectId=${lc.state.projectId}&sdkType=${_pe}&sdkVersion=${Ape}`},getAssetImageUrl(t){return`${Epe}/w3m/v1/getAssetImage/${t}?projectId=${lc.state.projectId}&sdkType=${_pe}&sdkVersion=${Ape}`}},h2n=Object.defineProperty,a50=Object.getOwnPropertySymbols,m2n=Object.prototype.hasOwnProperty,b2n=Object.prototype.propertyIsEnumerable,r50=(t,e,n)=>e in t?h2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,y2n=(t,e)=>{for(var n in e||(e={}))m2n.call(e,n)&&r50(t,n,e[n]);if(a50)for(var n of a50(e))b2n.call(e,n)&&r50(t,n,e[n]);return t},f50=gt.isMobile(),np=Ih({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),uc={state:np,async getRecomendedWallets(){let{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:e}=lc.state;if(t==="NONE"||e==="ALL"&&!t)return np.recomendedWallets;if(gt.isArray(t)){let n={recommendedIds:t.join(",")},{listings:a}=await fg.getAllListings(n),r=Object.values(a);r.sort((f,i)=>{let s=t.indexOf(f.id),o=t.indexOf(i.id);return s-o}),np.recomendedWallets=r}else{let{chains:n,isAuth:a}=Pf.state,r=n?.join(","),f=gt.isArray(e),i={page:1,sdks:a?"auth_v1":void 0,entries:gt.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:f?e.join(","):void 0},{listings:s}=f50?await fg.getMobileListings(i):await fg.getDesktopListings(i);np.recomendedWallets=Object.values(s)}return np.recomendedWallets},async getWallets(t){let e=y2n({},t),{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:a}=lc.state,{recomendedWallets:r}=np;if(a==="ALL")return np.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):gt.isArray(n)&&(e.excludedIds=n.join(",")),gt.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),Pf.state.isAuth&&(e.sdks="auth_v1");let{page:f,search:i}=t,{listings:s,total:o}=f50?await fg.getMobileListings(e):await fg.getDesktopListings(e),c=Object.values(s),d=i?"search":"wallets";return np[d]={listings:[...np[d].listings,...c],total:o,page:f??1},{listings:c,total:o}},getWalletImageUrl(t){return fg.getWalletImageUrl(t)},getAssetImageUrl(t){return fg.getAssetImageUrl(t)},resetSearch(){np.search={listings:[],total:0,page:1}}},P_=Ih({open:!1}),Ch={state:P_,subscribe(t){return Vb(P_,()=>t(P_))},async open(t){return new Promise(e=>{let{isUiLoaded:n,isDataLoaded:a}=Pf.state;if(gt.removeWalletConnectDeepLink(),Pf.setWalletConnectUri(t?.uri),Pf.setChains(t?.chains),wf.reset("ConnectWallet"),n&&a)P_.open=!0,e();else{let r=setInterval(()=>{let f=Pf.state;f.isUiLoaded&&f.isDataLoaded&&(clearInterval(r),P_.open=!0,e())},200)}})},close(){P_.open=!1}},g2n=Object.defineProperty,i50=Object.getOwnPropertySymbols,v2n=Object.prototype.hasOwnProperty,w2n=Object.prototype.propertyIsEnumerable,s50=(t,e,n)=>e in t?g2n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,T2n=(t,e)=>{for(var n in e||(e={}))v2n.call(e,n)&&s50(t,n,e[n]);if(i50)for(var n of i50(e))w2n.call(e,n)&&s50(t,n,e[n]);return t};OB=Ih({themeMode:x2n()?"dark":"light"}),ap={state:OB,subscribe(t){return Vb(OB,()=>t(OB))},setThemeConfig(t){let{themeMode:e,themeVariables:n}=t;e&&(OB.themeMode=e),n&&(OB.themeVariables=T2n({},n))}},ig=Ih({open:!1,message:"",variant:"success"}),kh={state:ig,subscribe(t){return Vb(ig,()=>t(ig))},openToast(t,e){ig.open=!0,ig.message=t,ig.variant=e},closeToast(){ig.open=!1}}});var yV,gV,kpe,o50,UB,c50,Ca,Spe,vV,Rpe=oe(()=>{u();p();yV=window,gV=yV.ShadowRoot&&(yV.ShadyCSS===void 0||yV.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kpe=Symbol(),o50=new WeakMap,UB=class{constructor(e,n,a){if(this._$cssResult$=!0,a!==kpe)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}get styleSheet(){let e=this.o,n=this.t;if(gV&&e===void 0){let a=n!==void 0&&n.length===1;a&&(e=o50.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&o50.set(n,e))}return e}toString(){return this.cssText}},c50=t=>new UB(typeof t=="string"?t:t+"",void 0,kpe),Ca=(t,...e)=>{let n=t.length===1?t[0]:e.reduce((a,r,f)=>a+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[f+1],t[0]);return new UB(n,t,kpe)},Spe=(t,e)=>{gV?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),r=yV.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=n.cssText,t.appendChild(a)})},vV=gV?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(let a of e.cssRules)n+=a.cssText;return c50(n)})(t):t});var Mpe,wV,d50,E2n,l50,Dpe,u50,Bpe,Ppe,Sh,TV=oe(()=>{u();p();Rpe();Rpe();wV=window,d50=wV.trustedTypes,E2n=d50?d50.emptyScript:"",l50=wV.reactiveElementPolyfillSupport,Dpe={toAttribute(t,e){switch(e){case Boolean:t=t?E2n:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=t!==null;break;case Number:n=t===null?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch{n=null}}return n}},u50=(t,e)=>e!==t&&(e==e||t==t),Bpe={attribute:!0,type:String,converter:Dpe,reflect:!1,hasChanged:u50},Ppe="finalized",Sh=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var n;this.finalize(),((n=this.h)!==null&&n!==void 0?n:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((n,a)=>{let r=this._$Ep(a,n);r!==void 0&&(this._$Ev.set(r,a),e.push(r))}),e}static createProperty(e,n=Bpe){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(e,n),!n.noAccessor&&!this.prototype.hasOwnProperty(e)){let a=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,a,n);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,n,a){return{get(){return this[n]},set(r){let f=this[e];this[n]=r,this.requestUpdate(e,f,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Bpe}static finalize(){if(this.hasOwnProperty(Ppe))return!1;this[Ppe]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let n=this.properties,a=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(let r of a)this.createProperty(r,n[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let n=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let r of a)n.unshift(vV(r))}else e!==void 0&&n.push(vV(e));return n}static _$Ep(e,n){let a=n.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(n=>n(this))}addController(e){var n,a;((n=this._$ES)!==null&&n!==void 0?n:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)===null||a===void 0||a.call(e))}removeController(e){var n;(n=this._$ES)===null||n===void 0||n.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])})}createRenderRoot(){var e;let n=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return Spe(n,this.constructor.elementStyles),n}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostConnected)===null||a===void 0?void 0:a.call(n)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(n=>{var a;return(a=n.hostDisconnected)===null||a===void 0?void 0:a.call(n)})}attributeChangedCallback(e,n,a){this._$AK(e,a)}_$EO(e,n,a=Bpe){var r;let f=this.constructor._$Ep(e,a);if(f!==void 0&&a.reflect===!0){let i=(((r=a.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?a.converter:Dpe).toAttribute(n,a.type);this._$El=e,i==null?this.removeAttribute(f):this.setAttribute(f,i),this._$El=null}}_$AK(e,n){var a;let r=this.constructor,f=r._$Ev.get(e);if(f!==void 0&&this._$El!==f){let i=r.getPropertyOptions(f),s=typeof i.converter=="function"?{fromAttribute:i.converter}:((a=i.converter)===null||a===void 0?void 0:a.fromAttribute)!==void 0?i.converter:Dpe;this._$El=f,this[f]=s.fromAttribute(n,i.type),this._$El=null}}requestUpdate(e,n,a){let r=!0;e!==void 0&&(((a=a||this.constructor.getPropertyOptions(e)).hasChanged||u50)(this[e],n)?(this._$AL.has(e)||this._$AL.set(e,n),a.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,a))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(n){Promise.reject(n)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,f)=>this[f]=r),this._$Ei=void 0);let n=!1,a=this._$AL;try{n=this.shouldUpdate(a),n?(this.willUpdate(a),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var f;return(f=r.hostUpdate)===null||f===void 0?void 0:f.call(r)}),this.update(a)):this._$Ek()}catch(r){throw n=!1,this._$Ek(),r}n&&this._$AE(a)}willUpdate(e){}_$AE(e){var n;(n=this._$ES)===null||n===void 0||n.forEach(a=>{var r;return(r=a.hostUpdated)===null||r===void 0?void 0:r.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((n,a)=>this._$EO(a,this[a],n)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};Sh[Ppe]=!0,Sh.elementProperties=new Map,Sh.elementStyles=[],Sh.shadowRootOptions={mode:"open"},l50?.({ReactiveElement:Sh}),((Mpe=wV.reactiveElementVersions)!==null&&Mpe!==void 0?Mpe:wV.reactiveElementVersions=[]).push("1.6.3")});function _50(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return p50!==void 0?p50.createHTML(e):e}function F_(t,e,n=t,a){var r,f,i,s;if(e===Rh)return e;let o=a!==void 0?(r=n._$Co)===null||r===void 0?void 0:r[a]:n._$Cl,c=WB(e)?void 0:e._$litDirective$;return o?.constructor!==c&&((f=o?._$AO)===null||f===void 0||f.call(o,!1),c===void 0?o=void 0:(o=new c(t),o._$AT(t,n,a)),a!==void 0?((i=(s=n)._$Co)!==null&&i!==void 0?i:s._$Co=[])[a]=o:n._$Cl=o),o!==void 0&&(e=F_(t,o._$AS(t,e.values),o,a)),e}var Lpe,xV,L_,p50,Npe,Yb,w50,_2n,cg,zB,WB,T50,A2n,Fpe,HB,h50,m50,sg,b50,y50,x50,E50,q0,Tf,Rh,Ni,g50,og,I2n,qB,Ope,jB,N_,Upe,C2n,Hpe,zpe,Wpe,v50,A50,dg=oe(()=>{u();p();xV=window,L_=xV.trustedTypes,p50=L_?L_.createPolicy("lit-html",{createHTML:t=>t}):void 0,Npe="$lit$",Yb=`lit$${(Math.random()+"").slice(9)}$`,w50="?"+Yb,_2n=`<${w50}>`,cg=document,zB=()=>cg.createComment(""),WB=t=>t===null||typeof t!="object"&&typeof t!="function",T50=Array.isArray,A2n=t=>T50(t)||typeof t?.[Symbol.iterator]=="function",Fpe=`[ -\f\r]`,HB=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,h50=/-->/g,m50=/>/g,sg=RegExp(`>|${Fpe}(?:([^\\s"'>=/]+)(${Fpe}*=${Fpe}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),b50=/'/g,y50=/"/g,x50=/^(?:script|style|textarea|title)$/i,E50=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),q0=E50(1),Tf=E50(2),Rh=Symbol.for("lit-noChange"),Ni=Symbol.for("lit-nothing"),g50=new WeakMap,og=cg.createTreeWalker(cg,129,null,!1);I2n=(t,e)=>{let n=t.length-1,a=[],r,f=e===2?"":"",i=HB;for(let s=0;s"?(i=r??HB,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,c=d[1],i=d[3]===void 0?sg:d[3]==='"'?y50:b50):i===y50||i===b50?i=sg:i===h50||i===m50?i=HB:(i=sg,r=void 0);let y=i===sg&&t[s+1].startsWith("/>")?" ":"";f+=i===HB?o+_2n:l>=0?(a.push(c),o.slice(0,l)+Npe+o.slice(l)+Yb+y):o+Yb+(l===-2?(a.push(void 0),s):y)}return[_50(t,f+(t[n]||"")+(e===2?"":"")),a]},qB=class t{constructor({strings:e,_$litType$:n},a){let r;this.parts=[];let f=0,i=0,s=e.length-1,o=this.parts,[c,d]=I2n(e,n);if(this.el=t.createElement(c,a),og.currentNode=this.el.content,n===2){let l=this.el.content,h=l.firstChild;h.remove(),l.append(...h.childNodes)}for(;(r=og.nextNode())!==null&&o.length0){r.textContent=L_?L_.emptyScript:"";for(let y=0;y2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=Ni}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,n=this,a,r){let f=this.strings,i=!1;if(f===void 0)e=F_(this,e,n,0),i=!WB(e)||e!==this._$AH&&e!==Rh,i&&(this._$AH=e);else{let s=e,o,c;for(e=f[0],o=0;o{var a,r;let f=(a=n?.renderBefore)!==null&&a!==void 0?a:e,i=f._$litPart$;if(i===void 0){let s=(r=n?.renderBefore)!==null&&r!==void 0?r:null;f._$litPart$=i=new jB(e.insertBefore(zB(),s),s,void 0,n??{})}return i._$AI(t),i}});var qpe,jpe,Tn,I50,C50=oe(()=>{u();p();TV();TV();dg();dg();Tn=class extends Sh{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,n;let a=super.createRenderRoot();return(e=(n=this.renderOptions).renderBefore)!==null&&e!==void 0||(n.renderBefore=a.firstChild),a}update(e){let n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=A50(n,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return Rh}};Tn.finalized=!0,Tn._$litElement$=!0,(qpe=globalThis.litElementHydrateSupport)===null||qpe===void 0||qpe.call(globalThis,{LitElement:Tn});I50=globalThis.litElementPolyfillSupport;I50?.({LitElement:Tn});((jpe=globalThis.litElementVersions)!==null&&jpe!==void 0?jpe:globalThis.litElementVersions=[]).push("3.3.3")});var k50=oe(()=>{u();p();});var S50=oe(()=>{u();p();TV();dg();C50();k50()});var pa,R50=oe(()=>{u();p();pa=t=>e=>typeof e=="function"?((n,a)=>(customElements.define(n,a),a))(t,e):((n,a)=>{let{kind:r,elements:f}=a;return{kind:r,elements:f,finisher(i){customElements.define(n,i)}}})(t,e)});function sn(t){return(e,n)=>n!==void 0?S2n(t,e,n):k2n(t,e)}var k2n,S2n,Gpe=oe(()=>{u();p();k2n=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}},S2n=(t,e,n)=>{e.constructor.createProperty(n,t)}});function pc(t){return sn({...t,state:!0})}var M50=oe(()=>{u();p();Gpe();});var lg=oe(()=>{u();p();});var B50=oe(()=>{u();p();lg();});var D50=oe(()=>{u();p();lg();});var P50=oe(()=>{u();p();lg();});var L50=oe(()=>{u();p();lg();});var Kpe,KNa,Qpe=oe(()=>{u();p();lg();KNa=((Kpe=window.HTMLSlotElement)===null||Kpe===void 0?void 0:Kpe.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(n=>n.nodeType===Node.ELEMENT_NODE)});var F50=oe(()=>{u();p();lg();Qpe();});var N50=oe(()=>{u();p();R50();Gpe();M50();B50();D50();P50();L50();Qpe();F50()});var O50,U50,EV,H50=oe(()=>{u();p();O50={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},U50=t=>(...e)=>({_$litDirective$:t,values:e}),EV=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,n,a){this._$Ct=e,this._$AM=n,this._$Ci=a}_$AS(e,n){return this.update(e,n)}update(e,n){return this.render(...n)}}});var rp,z50=oe(()=>{u();p();dg();H50();rp=U50(class extends EV{constructor(t){var e;if(super(t),t.type!==O50.ATTRIBUTE||t.name!=="class"||((e=t.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var n,a;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(f=>f!=="")));for(let f in e)e[f]&&!(!((n=this.nt)===null||n===void 0)&&n.has(f))&&this.it.add(f);return this.render(e)}let r=t.element.classList;this.it.forEach(f=>{f in e||(r.remove(f),this.it.delete(f))});for(let f in e){let i=!!e[f];i===this.it.has(f)||!((a=this.nt)===null||a===void 0)&&a.has(f)||(i?(r.add(f),this.it.add(f)):(r.remove(f),this.it.delete(f)))}return Rh}})});var W50=oe(()=>{u();p();z50()});function Vpe(t,e){t.indexOf(e)===-1&&t.push(e)}var q50=oe(()=>{u();p()});var KB,Ype=oe(()=>{u();p();KB=(t,e,n)=>Math.min(Math.max(n,t),e)});var wo,j50=oe(()=>{u();p();wo={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var Mh,_V=oe(()=>{u();p();Mh=t=>typeof t=="number"});var fp,$pe=oe(()=>{u();p();_V();fp=t=>Array.isArray(t)&&!Mh(t[0])});var G50,K50=oe(()=>{u();p();G50=(t,e,n)=>{let a=e-t;return((n-t)%a+a)%a+t}});function Q50(t,e){return fp(t)?t[G50(0,t.length,e)]:t}var V50=oe(()=>{u();p();$pe();K50()});var AV,Jpe=oe(()=>{u();p();AV=(t,e,n)=>-n*t+n*e+t});var QB,hc,Xpe=oe(()=>{u();p();QB=()=>{},hc=t=>t});var ug,IV=oe(()=>{u();p();ug=(t,e,n)=>e-t===0?1:(n-t)/(e-t)});function Zpe(t,e){let n=t[t.length-1];for(let a=1;a<=e;a++){let r=ug(0,e,a);t.push(AV(n,1,r))}}function Y50(t){let e=[0];return Zpe(e,t-1),e}var $50=oe(()=>{u();p();Jpe();IV()});function e8e(t,e=Y50(t.length),n=hc){let a=t.length,r=a-e.length;return r>0&&Zpe(e,r),f=>{let i=0;for(;i{u();p();Jpe();Xpe();$50();IV();V50();Ype()});var VB,X50=oe(()=>{u();p();_V();VB=t=>Array.isArray(t)&&Mh(t[0])});var O_,Z50=oe(()=>{u();p();O_=t=>typeof t=="object"&&!!t.createAnimation});var v5,el0=oe(()=>{u();p();v5=t=>typeof t=="function"});var t8e,tl0=oe(()=>{u();p();t8e=t=>typeof t=="string"});var $b,nl0=oe(()=>{u();p();$b={ms:t=>t*1e3,s:t=>t/1e3}});var w5=oe(()=>{u();p();q50();Ype();j50();J50();X50();Z50();$pe();el0();_V();tl0();Xpe();IV();nl0()});function B2n(t,e,n,a,r){let f,i,s=0;do i=e+(n-e)/2,f=al0(i,a,r)-t,f>0?n=i:e=i;while(Math.abs(f)>R2n&&++sB2n(f,0,1,t,n);return f=>f===0||f===1?f:al0(r(f),e,a)}var al0,R2n,M2n,rl0=oe(()=>{u();p();w5();al0=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,R2n=1e-7,M2n=12});var n8e,fl0=oe(()=>{u();p();w5();n8e=(t,e="end")=>n=>{n=e==="end"?Math.min(n,.999):Math.max(n,.001);let a=n*t,r=e==="end"?Math.floor(a):Math.ceil(a);return KB(0,1,r/t)}});var il0=oe(()=>{u();p();rl0();fl0()});function a8e(t){if(v5(t))return t;if(VB(t))return pg(...t);if(sl0[t])return sl0[t];if(t.startsWith("steps")){let e=D2n.exec(t);if(e){let n=e[1].split(",");return n8e(parseFloat(n[0]),n[1].trim())}}return hc}var sl0,D2n,ol0=oe(()=>{u();p();il0();w5();sl0={ease:pg(.25,.1,.25,1),"ease-in":pg(.42,0,1,1),"ease-in-out":pg(.42,0,.58,1),"ease-out":pg(0,0,.58,1)},D2n=/\((.*?)\)/});var hg,cl0=oe(()=>{u();p();w5();ol0();hg=class{constructor(e,n=[0,1],{easing:a,duration:r=wo.duration,delay:f=wo.delay,endDelay:i=wo.endDelay,repeat:s=wo.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=hc,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((h,y)=>{this.resolve=h,this.reject=y}),a=a||wo.easing,O_(a)){let h=a.createAnimation(n);a=h.easing,n=h.keyframes||n,r=h.duration||r}this.repeat=s,this.easing=fp(a)?hc:a8e(a),this.updateDuration(r);let l=e8e(n,o,fp(a)?a.map(a8e):hc);this.tick=h=>{var y;f=f;let v=0;this.pauseTime!==void 0?v=this.pauseTime:v=(h-this.startTime)*this.rate,this.t=v,v/=1e3,v=Math.max(v-f,0),this.playState==="finished"&&this.pauseTime===void 0&&(v=this.totalDuration);let k=v/this.duration,O=Math.floor(k),F=k%1;!F&&k>=1&&(F=1),F===1&&O--;let z=O%2;(c==="reverse"||c==="alternate"&&z||c==="alternate-reverse"&&!z)&&(F=1-F);let W=v>=this.totalDuration?1:Math.min(F,1),j=l(this.easing(W));e(j),this.pauseTime===void 0&&(this.playState==="finished"||v>=this.totalDuration+i)?(this.playState="finished",(y=this.resolve)===null||y===void 0||y.call(this,j)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}});var r8e=oe(()=>{u();p();cl0()});var P2n,CV,dl0=oe(()=>{u();p();P2n=function(){},CV=function(){};x.env.NODE_ENV!=="production"&&(P2n=function(t,e){!t&&typeof console<"u"&&console.warn(e)},CV=function(t,e){if(!t)throw new Error(e)})});var YB,ll0=oe(()=>{u();p();YB=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var f8e=oe(()=>{u();p();ll0()});function kV(t){return i8e.has(t)||i8e.set(t,{transforms:[],values:new Map}),i8e.get(t)}function ul0(t,e){return t.has(e)||t.set(e,new YB),t.get(e)}var i8e,s8e=oe(()=>{u();p();f8e();i8e=new WeakMap});var L2n,F2n,$B,pl0,N2n,Jb,RV,SV,O2n,U2n,MV,hl0,H2n,z2n,JB=oe(()=>{u();p();w5();s8e();L2n=["","X","Y","Z"],F2n=["translate","scale","rotate","skew"],$B={x:"translateX",y:"translateY",z:"translateZ"},pl0={syntax:"",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},N2n={translate:{syntax:"",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:pl0,scale:{syntax:"",initialValue:1,toDefaultUnit:hc},skew:pl0},Jb=new Map,RV=t=>`--motion-${t}`,SV=["x","y","z"];F2n.forEach(t=>{L2n.forEach(e=>{SV.push(t+e),Jb.set(RV(t+e),N2n[t])})});O2n=(t,e)=>SV.indexOf(t)-SV.indexOf(e),U2n=new Set(SV),MV=t=>U2n.has(t),hl0=(t,e)=>{$B[e]&&(e=$B[e]);let{transforms:n}=kV(t);Vpe(n,e),t.style.transform=H2n(n)},H2n=t=>t.sort(O2n).reduce(z2n,"").trim(),z2n=(t,e)=>`${t} ${e}(var(${RV(e)}))`});function bl0(t){if(!ml0.has(t)){ml0.add(t);try{let{syntax:e,initialValue:n}=Jb.has(t)?Jb.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch{}}}var XB,ml0,o8e=oe(()=>{u();p();JB();XB=t=>t.startsWith("--"),ml0=new Set});var c8e,yl0,d8e,Xb,l8e=oe(()=>{u();p();c8e=(t,e)=>document.createElement("div").animate(t,e),yl0={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{c8e({opacity:[1]})}catch{return!1}return!0},finished:()=>!!c8e({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{c8e({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},d8e={},Xb={};for(let t in yl0)Xb[t]=()=>(d8e[t]===void 0&&(d8e[t]=yl0[t]()),d8e[t])});var W2n,q2n,u8e,j2n,gl0=oe(()=>{u();p();w5();l8e();W2n=.015,q2n=(t,e)=>{let n="",a=Math.round(e/W2n);for(let r=0;rv5(t)?Xb.linearEasing()?`linear(${q2n(t,e)})`:wo.easing:VB(t)?j2n(t):t,j2n=([t,e,n,a])=>`cubic-bezier(${t}, ${e}, ${n}, ${a})`});function vl0(t,e){for(let n=0;n{u();p();wl0=t=>Array.isArray(t)?t:[t]});function ZB(t){return $B[t]&&(t=$B[t]),MV(t)?RV(t):t}var p8e=oe(()=>{u();p();JB()});var eD,xl0=oe(()=>{u();p();o8e();p8e();JB();eD={get:(t,e)=>{e=ZB(e);let n=XB(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){let a=Jb.get(e);a&&(n=a.initialValue)}return n},set:(t,e,n)=>{e=ZB(e),XB(e)?t.style.setProperty(e,n):t.style[e]=n}}});function BV(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch{}}var h8e=oe(()=>{u();p()});function El0(t,e){var n;let a=e?.toDefaultUnit||hc,r=t[t.length-1];if(t8e(r)){let f=((n=r.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";f&&(a=i=>i+f)}return a}var _l0=oe(()=>{u();p();w5()});function G2n(){return window.__MOTION_DEV_TOOLS_RECORD}function Al0(t,e,n,a={},r){let f=G2n(),i=a.record!==!1&&f,s,{duration:o=wo.duration,delay:c=wo.delay,endDelay:d=wo.endDelay,repeat:l=wo.repeat,easing:h=wo.easing,persist:y=!1,direction:v,offset:k,allowWebkitAcceleration:O=!1,autoplay:F=!0}=a,z=kV(t),W=MV(e),j=Xb.waapi();W&&hl0(t,e);let Q=ZB(e),V=ul0(z.values,Q),X=Jb.get(Q);return BV(V.animation,!(O_(h)&&V.generator)&&a.record!==!1),()=>{let K=()=>{var T,N;return(N=(T=eD.get(t,Q))!==null&&T!==void 0?T:X?.initialValue)!==null&&N!==void 0?N:0},G=vl0(wl0(n),K),R=El0(G,X);if(O_(h)){let T=h.createAnimation(G,e!=="opacity",K,Q,V);h=T.easing,G=T.keyframes||G,o=T.duration||o}if(XB(Q)&&(Xb.cssRegisterProperty()?bl0(Q):j=!1),W&&!Xb.linearEasing()&&(v5(h)||fp(h)&&h.some(v5))&&(j=!1),j){X&&(G=G.map(w=>Mh(w)?X.toDefaultUnit(w):w)),G.length===1&&(!Xb.partialKeyframes()||i)&&G.unshift(K());let T={delay:$b.ms(c),duration:$b.ms(o),endDelay:$b.ms(d),easing:fp(h)?void 0:u8e(h,o),direction:v,iterations:l+1,fill:"both"};s=t.animate({[Q]:G,offset:k,easing:fp(h)?h.map(w=>u8e(w,o)):void 0},T),s.finished||(s.finished=new Promise((w,b)=>{s.onfinish=w,s.oncancel=b}));let N=G[G.length-1];s.finished.then(()=>{y||(eD.set(t,Q,N),s.cancel())}).catch(QB),O||(s.playbackRate=1.000001)}else if(r&&W)G=G.map(T=>typeof T=="string"?parseFloat(T):T),G.length===1&&G.unshift(parseFloat(K())),s=new r(T=>{eD.set(t,Q,R?R(T):T)},G,Object.assign(Object.assign({},a),{duration:o,easing:h}));else{let T=G[G.length-1];eD.set(t,Q,X&&Mh(T)?X.toDefaultUnit(T):T)}return i&&f(t,e,G,{duration:o,delay:c,easing:h,repeat:l,offset:k},"motion-one"),V.setAnimation(s),s&&!F&&s.pause(),s}}var Il0=oe(()=>{u();p();s8e();o8e();w5();JB();gl0();l8e();Tl0();xl0();p8e();h8e();_l0()});var Cl0,kl0=oe(()=>{u();p();Cl0=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t)});function Sl0(t,e){var n;return typeof t=="string"?e?((n=e[t])!==null&&n!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}var Rl0=oe(()=>{u();p()});var K2n,tD,Q2n,V2n,Y2n,m8e=oe(()=>{u();p();w5();h8e();K2n=t=>t(),tD=(t,e,n=wo.duration)=>new Proxy({animations:t.map(K2n).filter(Boolean),duration:n,options:e},V2n),Q2n=t=>t.animations[0],V2n={get:(t,e)=>{let n=Q2n(t);switch(e){case"duration":return t.duration;case"currentTime":return $b.s(n?.[e]||0);case"playbackRate":case"playState":return n?.[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(Y2n)).catch(QB)),t.finished;case"stop":return()=>{t.animations.forEach(a=>BV(a))};case"forEachNative":return a=>{t.animations.forEach(r=>a(r,t))};default:return typeof n?.[e]>"u"?void 0:()=>t.animations.forEach(a=>a[e]())}},set:(t,e,n)=>{switch(e){case"currentTime":n=$b.ms(n);case"playbackRate":for(let a=0;at.finished});function Ml0(t,e,n){return v5(t)?t(e,n):t}var Bl0=oe(()=>{u();p();w5()});function Dl0(t){return function(n,a,r={}){n=Sl0(n);let f=n.length;CV(!!f,"No valid element provided."),CV(!!a,"No keyframes defined.");let i=[];for(let s=0;s{u();p();dl0();Il0();kl0();Rl0();m8e();Bl0()});var b8e,Ll0=oe(()=>{u();p();r8e();Pl0();b8e=Dl0(hg)});var FV={};G0(FV,{__addDisposableResource:()=>nu0,__assign:()=>DV,__asyncDelegator:()=>Vl0,__asyncGenerator:()=>Ql0,__asyncValues:()=>Yl0,__await:()=>U_,__awaiter:()=>zl0,__classPrivateFieldGet:()=>Zl0,__classPrivateFieldIn:()=>tu0,__classPrivateFieldSet:()=>eu0,__createBinding:()=>LV,__decorate:()=>Ol0,__disposeResources:()=>au0,__esDecorate:()=>$2n,__exportStar:()=>ql0,__extends:()=>Fl0,__generator:()=>Wl0,__importDefault:()=>Xl0,__importStar:()=>Jl0,__makeTemplateObject:()=>$l0,__metadata:()=>Hl0,__param:()=>Ul0,__propKey:()=>X2n,__read:()=>g8e,__rest:()=>Nl0,__runInitializers:()=>J2n,__setFunctionName:()=>Z2n,__spread:()=>jl0,__spreadArray:()=>Kl0,__spreadArrays:()=>Gl0,__values:()=>PV,default:()=>npn});function Fl0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");y8e(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function Nl0(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(t);r=0;s--)(i=t[s])&&(f=(r<3?i(f):r>3?i(e,n,f):i(e,n))||f);return r>3&&f&&Object.defineProperty(e,n,f),f}function Ul0(t,e){return function(n,a){e(n,a,t)}}function $2n(t,e,n,a,r,f){function i(F){if(F!==void 0&&typeof F!="function")throw new TypeError("Function expected");return F}for(var s=a.kind,o=s==="getter"?"get":s==="setter"?"set":"value",c=!e&&t?a.static?t:t.prototype:null,d=e||(c?Object.getOwnPropertyDescriptor(c,a.name):{}),l,h=!1,y=n.length-1;y>=0;y--){var v={};for(var k in a)v[k]=k==="access"?{}:a[k];for(var k in a.access)v.access[k]=a.access[k];v.addInitializer=function(F){if(h)throw new TypeError("Cannot add initializers after decoration has completed");f.push(i(F||null))};var O=(0,n[y])(s==="accessor"?{get:d.get,set:d.set}:d[o],v);if(s==="accessor"){if(O===void 0)continue;if(O===null||typeof O!="object")throw new TypeError("Object expected");(l=i(O.get))&&(d.get=l),(l=i(O.set))&&(d.set=l),(l=i(O.init))&&r.unshift(l)}else(l=i(O))&&(s==="field"?r.unshift(l):d[o]=l)}c&&Object.defineProperty(c,a.name,d),h=!0}function J2n(t,e,n){for(var a=arguments.length>2,r=0;r0&&f[f.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!f||c[1]>f[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g8e(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var a=n.call(t),r,f=[],i;try{for(;(e===void 0||e-- >0)&&!(r=a.next()).done;)f.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return f}function jl0(){for(var t=[],e=0;e1||s(h,y)})})}function s(h,y){try{o(a[h](y))}catch(v){l(f[0][3],v)}}function o(h){h.value instanceof U_?Promise.resolve(h.value.v).then(c,d):l(f[0][2],h)}function c(h){s("next",h)}function d(h){s("throw",h)}function l(h,y){h(y),f.shift(),f.length&&s(f[0][0],f[0][1])}}function Vl0(t){var e,n;return e={},a("next"),a("throw",function(r){throw r}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(r,f){e[r]=t[r]?function(i){return(n=!n)?{value:U_(t[r](i)),done:!1}:f?f(i):i}:f}}function Yl0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof PV=="function"?PV(t):t[Symbol.iterator](),n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n);function a(f){n[f]=t[f]&&function(i){return new Promise(function(s,o){i=t[f](i),r(s,o,i.done,i.value)})}}function r(f,i,s,o){Promise.resolve(o).then(function(c){f({value:c,done:s})},i)}}function $l0(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Jl0(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&LV(e,t,n);return epn(e,t),e}function Xl0(t){return t&&t.__esModule?t:{default:t}}function Zl0(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)}function eu0(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n}function tu0(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function nu0(t,e,n){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");a=e[Symbol.asyncDispose]}if(a===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");a=e[Symbol.dispose]}if(typeof a!="function")throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:a,async:n})}else n&&t.stack.push({async:!0});return e}function au0(t){function e(a){t.error=t.hasError?new tpn(a,t.error,"An error was suppressed during disposal."):a,t.hasError=!0}function n(){for(;t.stack.length;){var a=t.stack.pop();try{var r=a.dispose&&a.dispose.call(a.value);if(a.async)return Promise.resolve(r).then(n,function(f){return e(f),n()})}catch(f){e(f)}}if(t.hasError)throw t.error}return n()}var y8e,DV,LV,epn,tpn,npn,NV=oe(()=>{u();p();y8e=function(t,e){return y8e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])},y8e(t,e)};DV=function(){return DV=Object.assign||function(e){for(var n,a=1,r=arguments.length;a{u();p();Ll0();m8e()});function apn(t,e={}){return tD([()=>{let n=new hg(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function Bh(t,e,n){return(v5(t)?apn:b8e)(t,e,n)}var ru0=oe(()=>{u();p();v8e();w5();r8e()});var fu0=oe(()=>{u();p();v8e();f8e();ru0()});var w1,iu0=oe(()=>{u();p();dg();w1=t=>t??Ni});var su0=oe(()=>{u();p();iu0()});var cu0=D((UWa,ou0)=>{u();p();ou0.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Zb=D(mg=>{u();p();var w8e,rpn=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];mg.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};mg.getSymbolTotalCodewords=function(e){return rpn[e]};mg.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e};mg.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');w8e=e};mg.isKanjiModeEnabled=function(){return typeof w8e<"u"};mg.toSJIS=function(e){return w8e(e)}});var OV=D(T5=>{u();p();T5.L={bit:1};T5.M={bit:0};T5.Q={bit:3};T5.H={bit:2};function fpn(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return T5.L;case"m":case"medium":return T5.M;case"q":case"quartile":return T5.Q;case"h":case"high":return T5.H;default:throw new Error("Unknown EC Level: "+t)}}T5.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};T5.from=function(e,n){if(T5.isValid(e))return e;try{return fpn(e)}catch{return n}}});var uu0=D((VWa,lu0)=>{u();p();function du0(){this.buffer=[],this.length=0}du0.prototype={get:function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)===1},put:function(t,e){for(let n=0;n>>e-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};lu0.exports=du0});var hu0=D((JWa,pu0)=>{u();p();function nD(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}nD.prototype.set=function(t,e,n,a){let r=t*this.size+e;this.data[r]=n,a&&(this.reservedBit[r]=!0)};nD.prototype.get=function(t,e){return this.data[t*this.size+e]};nD.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n};nD.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]};pu0.exports=nD});var mu0=D(UV=>{u();p();var ipn=Zb().getSymbolSize;UV.getRowColCoords=function(e){if(e===1)return[];let n=Math.floor(e/7)+2,a=ipn(e),r=a===145?26:Math.ceil((a-13)/(2*n-2))*2,f=[a-7];for(let i=1;i{u();p();var spn=Zb().getSymbolSize,bu0=7;yu0.getPositions=function(e){let n=spn(e);return[[0,0],[n-bu0,0],[0,n-bu0]]}});var vu0=D(Vr=>{u();p();Vr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var bg={N1:3,N2:3,N3:40,N4:10};Vr.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};Vr.from=function(e){return Vr.isValid(e)?parseInt(e,10):void 0};Vr.getPenaltyN1=function(e){let n=e.size,a=0,r=0,f=0,i=null,s=null;for(let o=0;o=5&&(a+=bg.N1+(r-5)),i=d,r=1),d=e.get(c,o),d===s?f++:(f>=5&&(a+=bg.N1+(f-5)),s=d,f=1)}r>=5&&(a+=bg.N1+(r-5)),f>=5&&(a+=bg.N1+(f-5))}return a};Vr.getPenaltyN2=function(e){let n=e.size,a=0;for(let r=0;r=10&&(r===1488||r===93)&&a++,f=f<<1&2047|e.get(s,i),s>=10&&(f===1488||f===93)&&a++}return a*bg.N3};Vr.getPenaltyN4=function(e){let n=0,a=e.data.length;for(let f=0;f{u();p();var e4=OV(),HV=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],zV=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];T8e.getBlocksCount=function(e,n){switch(n){case e4.L:return HV[(e-1)*4+0];case e4.M:return HV[(e-1)*4+1];case e4.Q:return HV[(e-1)*4+2];case e4.H:return HV[(e-1)*4+3];default:return}};T8e.getTotalCodewordsCount=function(e,n){switch(n){case e4.L:return zV[(e-1)*4+0];case e4.M:return zV[(e-1)*4+1];case e4.Q:return zV[(e-1)*4+2];case e4.H:return zV[(e-1)*4+3];default:return}}});var wu0=D(qV=>{u();p();var aD=new Uint8Array(512),WV=new Uint8Array(256);(function(){let e=1;for(let n=0;n<255;n++)aD[n]=e,WV[e]=n,e<<=1,e&256&&(e^=285);for(let n=255;n<512;n++)aD[n]=aD[n-255]})();qV.log=function(e){if(e<1)throw new Error("log("+e+")");return WV[e]};qV.exp=function(e){return aD[e]};qV.mul=function(e,n){return e===0||n===0?0:aD[WV[e]+WV[n]]}});var Tu0=D(rD=>{u();p();var E8e=wu0();rD.mul=function(e,n){let a=new Uint8Array(e.length+n.length-1);for(let r=0;r=0;){let r=a[0];for(let i=0;i{u();p();var xu0=Tu0();function _8e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}_8e.prototype.initialize=function(e){this.degree=e,this.genPoly=xu0.generateECPolynomial(this.degree)};_8e.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let n=new Uint8Array(e.length+this.degree);n.set(e);let a=xu0.mod(n,this.genPoly),r=this.degree-a.length;if(r>0){let f=new Uint8Array(this.degree);return f.set(a,r),f}return a};Eu0.exports=_8e});var A8e=D(Au0=>{u();p();Au0.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var I8e=D(Dh=>{u();p();var Iu0="[0-9]+",cpn="[A-Z $%*+\\-./:]+",fD="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fD=fD.replace(/u/g,"\\u");var dpn="(?:(?![A-Z0-9 $%*+\\-./:]|"+fD+`)(?:.|[\r -]))+`;Dh.KANJI=new RegExp(fD,"g");Dh.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Dh.BYTE=new RegExp(dpn,"g");Dh.NUMERIC=new RegExp(Iu0,"g");Dh.ALPHANUMERIC=new RegExp(cpn,"g");var lpn=new RegExp("^"+fD+"$"),upn=new RegExp("^"+Iu0+"$"),ppn=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Dh.testKanji=function(e){return lpn.test(e)};Dh.testNumeric=function(e){return upn.test(e)};Dh.testAlphanumeric=function(e){return ppn.test(e)}});var t4=D(Oi=>{u();p();var hpn=A8e(),C8e=I8e();Oi.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Oi.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Oi.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Oi.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Oi.MIXED={bit:-1};Oi.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!hpn.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]};Oi.getBestModeForData=function(e){return C8e.testNumeric(e)?Oi.NUMERIC:C8e.testAlphanumeric(e)?Oi.ALPHANUMERIC:C8e.testKanji(e)?Oi.KANJI:Oi.BYTE};Oi.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Oi.isValid=function(e){return e&&e.bit&&e.ccBits};function mpn(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return Oi.NUMERIC;case"alphanumeric":return Oi.ALPHANUMERIC;case"kanji":return Oi.KANJI;case"byte":return Oi.BYTE;default:throw new Error("Unknown mode: "+t)}}Oi.from=function(e,n){if(Oi.isValid(e))return e;try{return mpn(e)}catch{return n}}});var Mu0=D(yg=>{u();p();var jV=Zb(),bpn=x8e(),Cu0=OV(),n4=t4(),k8e=A8e(),Su0=7973,ku0=jV.getBCHDigit(Su0);function ypn(t,e,n){for(let a=1;a<=40;a++)if(e<=yg.getCapacity(a,n,t))return a}function Ru0(t,e){return n4.getCharCountIndicator(t,e)+4}function gpn(t,e){let n=0;return t.forEach(function(a){let r=Ru0(a.mode,e);n+=r+a.getBitsLength()}),n}function vpn(t,e){for(let n=1;n<=40;n++)if(gpn(t,n)<=yg.getCapacity(n,e,n4.MIXED))return n}yg.from=function(e,n){return k8e.isValid(e)?parseInt(e,10):n};yg.getCapacity=function(e,n,a){if(!k8e.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=n4.BYTE);let r=jV.getSymbolTotalCodewords(e),f=bpn.getTotalCodewordsCount(e,n),i=(r-f)*8;if(a===n4.MIXED)return i;let s=i-Ru0(a,e);switch(a){case n4.NUMERIC:return Math.floor(s/10*3);case n4.ALPHANUMERIC:return Math.floor(s/11*2);case n4.KANJI:return Math.floor(s/13);case n4.BYTE:default:return Math.floor(s/8)}};yg.getBestVersionForData=function(e,n){let a,r=Cu0.from(n,Cu0.M);if(Array.isArray(e)){if(e.length>1)return vpn(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return ypn(a.mode,a.getLength(),r)};yg.getEncodedBits=function(e){if(!k8e.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;jV.getBCHDigit(n)-ku0>=0;)n^=Su0<{u();p();var S8e=Zb(),Du0=1335,wpn=21522,Bu0=S8e.getBCHDigit(Du0);Pu0.getEncodedBits=function(e,n){let a=e.bit<<3|n,r=a<<10;for(;S8e.getBCHDigit(r)-Bu0>=0;)r^=Du0<{u();p();var Tpn=t4();function H_(t){this.mode=Tpn.NUMERIC,this.data=t.toString()}H_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};H_.prototype.getLength=function(){return this.data.length};H_.prototype.getBitsLength=function(){return H_.getBitsLength(this.data.length)};H_.prototype.write=function(e){let n,a,r;for(n=0;n+3<=this.data.length;n+=3)a=this.data.substr(n,3),r=parseInt(a,10),e.put(r,10);let f=this.data.length-n;f>0&&(a=this.data.substr(n),r=parseInt(a,10),e.put(r,f*3+1))};Fu0.exports=H_});var Uu0=D((Uqa,Ou0)=>{u();p();var xpn=t4(),R8e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function z_(t){this.mode=xpn.ALPHANUMERIC,this.data=t}z_.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};z_.prototype.getLength=function(){return this.data.length};z_.prototype.getBitsLength=function(){return z_.getBitsLength(this.data.length)};z_.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let a=R8e.indexOf(this.data[n])*45;a+=R8e.indexOf(this.data[n+1]),e.put(a,11)}this.data.length%2&&e.put(R8e.indexOf(this.data[n]),6)};Ou0.exports=z_});var zu0=D((Wqa,Hu0)=>{"use strict";u();p();Hu0.exports=function(e){for(var n=[],a=e.length,r=0;r=55296&&f<=56319&&a>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(f=(f-55296)*1024+i-56320+65536,r+=1)}if(f<128){n.push(f);continue}if(f<2048){n.push(f>>6|192),n.push(f&63|128);continue}if(f<55296||f>=57344&&f<65536){n.push(f>>12|224),n.push(f>>6&63|128),n.push(f&63|128);continue}if(f>=65536&&f<=1114111){n.push(f>>18|240),n.push(f>>12&63|128),n.push(f>>6&63|128),n.push(f&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer}});var qu0=D((Gqa,Wu0)=>{u();p();var Epn=zu0(),_pn=t4();function W_(t){this.mode=_pn.BYTE,typeof t=="string"&&(t=Epn(t)),this.data=new Uint8Array(t)}W_.getBitsLength=function(e){return e*8};W_.prototype.getLength=function(){return this.data.length};W_.prototype.getBitsLength=function(){return W_.getBitsLength(this.data.length)};W_.prototype.write=function(t){for(let e=0,n=this.data.length;e{u();p();var Apn=t4(),Ipn=Zb();function q_(t){this.mode=Apn.KANJI,this.data=t}q_.getBitsLength=function(e){return e*13};q_.prototype.getLength=function(){return this.data.length};q_.prototype.getBitsLength=function(){return q_.getBitsLength(this.data.length)};q_.prototype.write=function(t){let e;for(e=0;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` -Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}};ju0.exports=q_});var Ku0=D((Jqa,M8e)=>{"use strict";u();p();var iD={single_source_shortest_paths:function(t,e,n){var a={},r={};r[e]=0;var f=iD.PriorityQueue.make();f.push(e,0);for(var i,s,o,c,d,l,h,y,v;!f.empty();){i=f.pop(),s=i.value,c=i.cost,d=t[s]||{};for(o in d)d.hasOwnProperty(o)&&(l=d[o],h=c+l,y=r[o],v=typeof r[o]>"u",(v||y>h)&&(r[o]=h,f.push(o,h),a[o]=s))}if(typeof n<"u"&&typeof r[n]>"u"){var k=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(k)}return a},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],a=e,r;a;)n.push(a),r=t[a],a=t[a];return n.reverse(),n},find_path:function(t,e,n){var a=iD.single_source_shortest_paths(t,e,n);return iD.extract_shortest_path_from_predecessor_list(a,n)},PriorityQueue:{make:function(t){var e=iD.PriorityQueue,n={},a;t=t||{};for(a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n.queue=[],n.sorter=t.sorter||e.default_sorter,n},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof M8e<"u"&&(M8e.exports=iD)});var e20=D(j_=>{u();p();var er=t4(),Yu0=Nu0(),$u0=Uu0(),Ju0=qu0(),Xu0=Gu0(),sD=I8e(),GV=Zb(),Cpn=Ku0();function Qu0(t){return unescape(encodeURIComponent(t)).length}function oD(t,e,n){let a=[],r;for(;(r=t.exec(n))!==null;)a.push({data:r[0],index:r.index,mode:e,length:r[0].length});return a}function Zu0(t){let e=oD(sD.NUMERIC,er.NUMERIC,t),n=oD(sD.ALPHANUMERIC,er.ALPHANUMERIC,t),a,r;return GV.isKanjiModeEnabled()?(a=oD(sD.BYTE,er.BYTE,t),r=oD(sD.KANJI,er.KANJI,t)):(a=oD(sD.BYTE_KANJI,er.BYTE,t),r=[]),e.concat(n,a,r).sort(function(i,s){return i.index-s.index}).map(function(i){return{data:i.data,mode:i.mode,length:i.length}})}function B8e(t,e){switch(e){case er.NUMERIC:return Yu0.getBitsLength(t);case er.ALPHANUMERIC:return $u0.getBitsLength(t);case er.KANJI:return Xu0.getBitsLength(t);case er.BYTE:return Ju0.getBitsLength(t)}}function kpn(t){return t.reduce(function(e,n){let a=e.length-1>=0?e[e.length-1]:null;return a&&a.mode===n.mode?(e[e.length-1].data+=n.data,e):(e.push(n),e)},[])}function Spn(t){let e=[];for(let n=0;n{u();p();var QV=Zb(),D8e=OV(),Mpn=uu0(),Bpn=hu0(),Dpn=mu0(),Ppn=gu0(),F8e=vu0(),N8e=x8e(),Lpn=_u0(),KV=Mu0(),Fpn=Lu0(),Npn=t4(),P8e=e20();function Opn(t,e){let n=t.size,a=Ppn.getPositions(e);for(let r=0;r=0&&s<=6&&(o===0||o===6)||o>=0&&o<=6&&(s===0||s===6)||s>=2&&s<=4&&o>=2&&o<=4?t.set(f+s,i+o,!0,!0):t.set(f+s,i+o,!1,!0))}}function Upn(t){let e=t.size;for(let n=8;n>s&1)===1,t.set(r,f,i,!0),t.set(f,r,i,!0)}function L8e(t,e,n){let a=t.size,r=Fpn.getEncodedBits(e,n),f,i;for(f=0;f<15;f++)i=(r>>f&1)===1,f<6?t.set(f,8,i,!0):f<8?t.set(f+1,8,i,!0):t.set(a-15+f,8,i,!0),f<8?t.set(8,a-f-1,i,!0):f<9?t.set(8,15-f-1+1,i,!0):t.set(8,15-f-1,i,!0);t.set(a-8,8,1,!0)}function Wpn(t,e){let n=t.size,a=-1,r=n-1,f=7,i=0;for(let s=n-1;s>0;s-=2)for(s===6&&s--;;){for(let o=0;o<2;o++)if(!t.isReserved(r,s-o)){let c=!1;i>>f&1)===1),t.set(r,s-o,c),f--,f===-1&&(i++,f=7)}if(r+=a,r<0||n<=r){r-=a,a=-a;break}}}function qpn(t,e,n){let a=new Mpn;n.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),Npn.getCharCountIndicator(o.mode,t)),o.write(a)});let r=QV.getSymbolTotalCodewords(t),f=N8e.getTotalCodewordsCount(t,e),i=(r-f)*8;for(a.getLengthInBits()+4<=i&&a.put(0,4);a.getLengthInBits()%8!==0;)a.putBit(0);let s=(i-a.getLengthInBits())/8;for(let o=0;o=le)return m;var xe=$-Dg(K);if(xe<1)return K;var ke=ve?S8(ve,0,xe).join(""):m.slice(0,xe);if(ne===t)return ke+K;if(ve&&(xe+=ke.length-xe),WX(ne)){if(m.slice(xe).search(ne)){var Je,Xe=ke;for(ne.global||(ne=fX(ne.source,Na(Kt.exec(ne))+"g")),ne.lastIndex=0;Je=ne.exec(Xe);)var dt=Je.index;ke=ke.slice(0,dt===t?xe:dt)}}else if(m.indexOf(Kc(ne),xe)!=xe){var Wt=ke.lastIndexOf(ne);Wt>-1&&(ke=ke.slice(0,Wt))}return ke+K}function lEt(m){return m=Na(m),m&&ot.test(m)?m.replace(Le,$vt):m}var pEt=Lg(function(m,I,$){return m+($?" ":"")+I.toUpperCase()}),KX=Vhe("toUpperCase");function F7e(m,I,$){return m=Na(m),I=$?t:I,I===t?Bvt(m)?Hvt(m):Dvt(m):m.match(I)||[]}var O7e=wn(function(m,I){try{return jc(m,t,I)}catch($){return zX($)?$:new q0($)}}),uEt=f2(function(m,I){return Bd(I,function($){$=kp($),i2(m,$,qX(m[$],m))}),m});function yEt(m){var I=m==null?0:m.length,$=E0();return m=I?Xr(m,function(K){if(typeof K[1]!="function")throw new Nd(s);return[$(K[0]),K[1]]}):[],wn(function(K){for(var ne=-1;++new)return[];var $=k,K=uo(m,k);I=E0(I),m-=k;for(var ne=rX(K,I);++$0||I<0)?new Hn($):(m<0?$=$.takeRight(-m):m&&($=$.drop(m)),I!==t&&(I=un(I),$=I<0?$.dropRight(-I):$.take(I-m)),$)},Hn.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Hn.prototype.toArray=function(){return this.take(k)},Sp(Hn.prototype,function(m,I){var $=/^(?:filter|find|map|reject)|While$/.test(I),K=/^(?:head|last)$/.test(I),ne=fe[K?"take"+(I=="last"?"Right":""):I],le=K||/^find/.test(I);ne&&(fe.prototype[I]=function(){var ve=this.__wrapped__,xe=K?[1]:arguments,ke=ve instanceof Hn,Je=xe[0],Xe=ke||J0(ve),dt=function(On){var Xn=ne.apply(fe,w8([On],xe));return K&&Wt?Xn[0]:Xn};Xe&&$&&typeof Je=="function"&&Je.length!=1&&(ke=Xe=!1);var Wt=this.__chain__,o0=!!this.__actions__.length,D0=le&&!Wt,bn=ke&&!o0;if(!le&&Xe){ve=bn?ve:new Hn(this);var C0=m.apply(ve,xe);return C0.__actions__.push({func:qM,args:[dt],thisArg:t}),new Fd(C0,Wt)}return D0&&bn?m.apply(this,xe):(C0=this.thru(dt),D0?K?C0.value()[0]:C0.value():C0)})}),Bd(["pop","push","shift","sort","splice","unshift"],function(m){var I=yM[m],$=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",K=/^(?:pop|shift)$/.test(m);fe.prototype[m]=function(){var ne=arguments;if(K&&!this.__chain__){var le=this.value();return I.apply(J0(le)?le:[],ne)}return this[$](function(ve){return I.apply(J0(ve)?ve:[],ne)})}}),Sp(Hn.prototype,function(m,I){var $=fe[I];if($){var K=$.name+"";ja.call(kg,K)||(kg[K]=[]),kg[K].push({name:I,func:$})}}),kg[BM(t,N).name]=[{name:"wrapper",func:t}],Hn.prototype.clone=lTt,Hn.prototype.reverse=pTt,Hn.prototype.value=uTt,fe.prototype.at=qwt,fe.prototype.chain=Hwt,fe.prototype.commit=zwt,fe.prototype.next=Wwt,fe.prototype.plant=Gwt,fe.prototype.reverse=Kwt,fe.prototype.toJSON=fe.prototype.valueOf=fe.prototype.value=Qwt,fe.prototype.first=fe.prototype.head,gE&&(fe.prototype[gE]=jwt),fe},Cg=zvt();ab?((ab.exports=Cg)._=Cg,YJ._=Cg):Rf._=Cg}).call(uP)})(e5e,e5e.exports);E6n=Object.defineProperty,D6n=Object.defineProperties,C6n=Object.getOwnPropertyDescriptors,lct=Object.getOwnPropertySymbols,S6n=Object.prototype.hasOwnProperty,A6n=Object.prototype.propertyIsEnumerable,pct=(n,e,t)=>e in n?E6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,$j=(n,e)=>{for(var t in e||(e={}))S6n.call(e,t)&&pct(n,t,e[t]);if(lct)for(var t of lct(e))A6n.call(e,t)&&pct(n,t,e[t]);return n},k6n=(n,e)=>D6n(n,C6n(e));vct={},fi=n=>vct[n],Xpe=(n,e)=>{vct[n]=e},t5e=class{constructor(e){this.name="polkadot",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=b9(t);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},n5e=class{constructor(e){this.name="eip155",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.httpProviders=this.createHttpProviders(),this.chainId=parseInt(this.getDefaultChain())}async request(e){switch(e.request.method){case"eth_requestAccounts":return this.getAccounts();case"eth_accounts":return this.getAccounts();case"wallet_switchEthereumChain":return await this.handleSwitchChain(e);case"eth_chainId":return parseInt(this.getDefaultChain())}return this.namespace.methods.includes(e.request.method)?await this.client.request(e):this.getHttpProvider().request(e.request)}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(parseInt(e),t),this.chainId=parseInt(e),this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}createHttpProvider(e,t){let a=t||r4(`${this.name}:${e}`,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=parseInt(b9(t));e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}getHttpProvider(){let e=this.chainId,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}async handleSwitchChain(e){var t,a;let r=e.request.params?(t=e.request.params[0])==null?void 0:t.chainId:"0x0";r=r.startsWith("0x")?r:`0x${r}`;let i=parseInt(r,16);if(this.isChainApproved(i))this.setDefaultChain(`${i}`);else if(this.namespace.methods.includes("wallet_switchEthereumChain"))await this.client.request({topic:e.topic,request:{method:e.request.method,params:[{chainId:r}]},chainId:(a=this.namespace.chains)==null?void 0:a[0]}),this.setDefaultChain(`${i}`);else throw new Error(`Failed to switch to chain 'eip155:${i}'. The chain is not approved or the wallet does not support 'wallet_switchEthereumChain' method.`);return null}isChainApproved(e){return this.namespace.chains.includes(`${this.name}:${e}`)}},a5e=class{constructor(e){this.name="solana",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=b9(t);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},r5e=class{constructor(e){this.name="cosmos",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=b9(t);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},i5e=class{constructor(e){this.name="cip34",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{let a=this.getCardanoRPCUrl(t),r=b9(t);e[r]=this.createHttpProvider(r,a)}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}getCardanoRPCUrl(e){let t=this.namespace.rpcMap;if(t)return t[e]}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||this.getCardanoRPCUrl(e);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},s5e=class{constructor(e){this.name="elrond",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=b9(t);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},f5e=class{constructor(e){this.name="multiversx",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2]))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;let r=b9(t);e[r]=this.createHttpProvider(r,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace,this.client.core.projectId);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);return new _d(new j6(a,fi("disableProviderPing")))}},o5e=class{constructor(e){this.name="near",this.namespace=e.namespace,this.events=fi("events"),this.client=fi("client"),this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}request(e){return this.namespace.methods.includes(e.request.method)?this.client.request(e):this.getHttpProvider().request(e.request)}setDefaultChain(e,t){if(this.chainId=e,!this.httpProviders[e]){let a=t||r4(`${this.name}:${e}`,this.namespace);if(!a)throw new Error(`No RPC url provided for chainId: ${e}`);this.setHttpProvider(e,a)}this.events.emit(qy.DEFAULT_CHAIN_CHANGED,`${this.name}:${this.chainId}`)}getAccounts(){let e=this.namespace.accounts;return e?e.filter(t=>t.split(":")[1]===this.chainId.toString()).map(t=>t.split(":")[2])||[]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach(t=>{var a;e[t]=this.createHttpProvider(t,(a=this.namespace.rpcMap)==null?void 0:a[t])}),e}getHttpProvider(){let e=`${this.name}:${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let a=this.createHttpProvider(e,t);a&&(this.httpProviders[e]=a)}createHttpProvider(e,t){let a=t||r4(e,this.namespace);return typeof a>"u"?void 0:new _d(new j6(a,fi("disableProviderPing")))}},L6n=Object.defineProperty,M6n=Object.defineProperties,B6n=Object.getOwnPropertyDescriptors,mct=Object.getOwnPropertySymbols,N6n=Object.prototype.hasOwnProperty,F6n=Object.prototype.propertyIsEnumerable,bct=(n,e,t)=>e in n?L6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Uj=(n,e)=>{for(var t in e||(e={}))N6n.call(e,t)&&bct(n,t,e[t]);if(mct)for(var t of mct(e))F6n.call(e,t)&&bct(n,t,e[t]);return n},Zpe=(n,e)=>M6n(n,B6n(e)),c5e=class n{constructor(e){this.events=new hct.default,this.rpcProviders={},this.shouldAbortPairingAttempt=!1,this.maxPairingAttempts=10,this.disableProviderPing=!1,this.providerOpts=e,this.logger=typeof e?.logger<"u"&&typeof e?.logger!="string"?e.logger:(0,Vh.default)($h({level:e?.logger||cct})),this.disableProviderPing=e?.disableProviderPing||!1}static async init(e){let t=new n(e);return await t.initialize(),t}async request(e,t,a){let[r,i]=this.validateChain(t);if(!this.session)throw new Error("Please call connect() before request()");return await this.getProvider(r).request({request:Uj({},e),chainId:`${r}:${i}`,topic:this.session.topic,expiry:a})}sendAsync(e,t,a,r){let i=new Date().getTime();this.request(e,a,r).then(s=>t(null,ty(i,s))).catch(s=>t(s,void 0))}async enable(){if(!this.client)throw new Error("Sign Client not initialized");return this.session||await this.connect({namespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties}),await this.requestAccounts()}async disconnect(){var e;if(!this.session)throw new Error("Please call connect() before enable()");await this.client.disconnect({topic:(e=this.session)==null?void 0:e.topic,reason:Ta("USER_DISCONNECTED")}),await this.cleanup()}async connect(e){if(!this.client)throw new Error("Sign Client not initialized");if(this.setNamespaces(e),await this.cleanupPendingPairings(),!e.skipPairing)return await this.pair(e.pairingTopic)}async authenticate(e){if(!this.client)throw new Error("Sign Client not initialized");this.setNamespaces(e),await this.cleanupPendingPairings();let{uri:t,response:a}=await this.client.authenticate(e);t&&(this.uri=t,this.events.emit("display_uri",t));let r=await a();if(this.session=r.session,this.session){let i=yct(this.session.namespaces);this.namespaces=Ype(this.namespaces,i),this.persist("namespaces",this.namespaces),this.onConnect()}return r}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}removeListener(e,t){this.events.removeListener(e,t)}off(e,t){this.events.off(e,t)}get isWalletConnect(){return!0}async pair(e){this.shouldAbortPairingAttempt=!1;let t=0;do{if(this.shouldAbortPairingAttempt)throw new Error("Pairing aborted");if(t>=this.maxPairingAttempts)throw new Error("Max auto pairing attempts reached");let{uri:a,approval:r}=await this.client.connect({pairingTopic:e,requiredNamespaces:this.namespaces,optionalNamespaces:this.optionalNamespaces,sessionProperties:this.sessionProperties});a&&(this.uri=a,this.events.emit("display_uri",a)),await r().then(i=>{this.session=i;let s=yct(i.namespaces);this.namespaces=Ype(this.namespaces,s),this.persist("namespaces",this.namespaces)}).catch(i=>{if(i.message!==Kpe)throw i;t++})}while(!this.session);return this.onConnect(),this.session}setDefaultChain(e,t){try{if(!this.session)return;let[a,r]=this.validateChain(e);this.getProvider(a).setDefaultChain(r,t)}catch(a){if(!/Please call connect/.test(a.message))throw a}}async cleanupPendingPairings(e={}){this.logger.info("Cleaning up inactive pairings...");let t=this.client.pairing.getAll();if(Td(t)){for(let a of t)e.deletePairings?this.client.core.expirer.set(a.topic,0):await this.client.core.relayer.subscriber.unsubscribe(a.topic);this.logger.info(`Inactive pairings cleared: ${t.length}`)}}abortPairingAttempt(){this.shouldAbortPairingAttempt=!0}async checkStorage(){if(this.namespaces=await this.getFromStore("namespaces"),this.optionalNamespaces=await this.getFromStore("optionalNamespaces")||{},this.client.session.length){let e=this.client.session.keys.length-1;this.session=this.client.session.get(this.client.session.keys[e]),this.createProviders()}}async initialize(){this.logger.trace("Initialized"),await this.createClient(),await this.checkStorage(),this.registerEventListeners()}async createClient(){this.client=this.providerOpts.client||await Nj.init({logger:this.providerOpts.logger||cct,relayUrl:this.providerOpts.relayUrl||_6n,projectId:this.providerOpts.projectId,metadata:this.providerOpts.metadata,storageOptions:this.providerOpts.storageOptions,storage:this.providerOpts.storage,name:this.providerOpts.name}),this.logger.trace("SignClient Initialized")}createProviders(){if(!this.client)throw new Error("Sign Client not initialized");if(!this.session)throw new Error("Session not initialized. Please call connect() before enable()");let e=[...new Set(Object.keys(this.session.namespaces).map(t=>Cx(t)))];Xpe("client",this.client),Xpe("events",this.events),Xpe("disableProviderPing",this.disableProviderPing),e.forEach(t=>{if(!this.session)return;let a=P6n(t,this.session),r=gct(a),i=Ype(this.namespaces,this.optionalNamespaces),s=Zpe(Uj({},i[t]),{accounts:a,chains:r});switch(t){case"eip155":this.rpcProviders[t]=new n5e({namespace:s});break;case"solana":this.rpcProviders[t]=new a5e({namespace:s});break;case"cosmos":this.rpcProviders[t]=new r5e({namespace:s});break;case"polkadot":this.rpcProviders[t]=new t5e({namespace:s});break;case"cip34":this.rpcProviders[t]=new i5e({namespace:s});break;case"elrond":this.rpcProviders[t]=new s5e({namespace:s});break;case"multiversx":this.rpcProviders[t]=new f5e({namespace:s});break;case"near":this.rpcProviders[t]=new o5e({namespace:s});break}})}registerEventListeners(){if(typeof this.client>"u")throw new Error("Sign Client is not initialized");this.client.on("session_ping",e=>{this.events.emit("session_ping",e)}),this.client.on("session_event",e=>{let{params:t}=e,{event:a}=t;if(a.name==="accountsChanged"){let r=a.data;r&&Td(r)&&this.events.emit("accountsChanged",r.map(R6n))}else if(a.name==="chainChanged"){let r=t.chainId,i=t.event.data,s=Cx(r),f=Jpe(r)!==Jpe(i)?`${s}:${Jpe(i)}`:r;this.onChainChanged(f)}else this.events.emit(a.name,a.data);this.events.emit("session_event",e)}),this.client.on("session_update",({topic:e,params:t})=>{var a;let{namespaces:r}=t,i=(a=this.client)==null?void 0:a.session.get(e);this.session=Zpe(Uj({},i),{namespaces:r}),this.onSessionUpdate(),this.events.emit("session_update",{topic:e,params:t})}),this.client.on("session_delete",async e=>{await this.cleanup(),this.events.emit("session_delete",e),this.events.emit("disconnect",Zpe(Uj({},Ta("USER_DISCONNECTED")),{data:e.topic}))}),this.on(qy.DEFAULT_CHAIN_CHANGED,e=>{this.onChainChanged(e,!0)})}getProvider(e){if(!this.rpcProviders[e])throw new Error(`Provider not found: ${e}`);return this.rpcProviders[e]}onSessionUpdate(){Object.keys(this.rpcProviders).forEach(e=>{var t;this.getProvider(e).updateNamespace((t=this.session)==null?void 0:t.namespaces[e])})}setNamespaces(e){let{namespaces:t,optionalNamespaces:a,sessionProperties:r}=e;t&&Object.keys(t).length&&(this.namespaces=t),a&&Object.keys(a).length&&(this.optionalNamespaces=a),this.sessionProperties=r,this.persist("namespaces",t),this.persist("optionalNamespaces",a)}validateChain(e){let[t,a]=e?.split(":")||["",""];if(!this.namespaces||!Object.keys(this.namespaces).length)return[t,a];if(t&&!Object.keys(this.namespaces||{}).map(s=>Cx(s)).includes(t))throw new Error(`Namespace '${t}' is not configured. Please call connect() first with namespace config.`);if(t&&a)return[t,a];let r=Cx(Object.keys(this.namespaces)[0]),i=this.rpcProviders[r].getDefaultChain();return[r,i]}async requestAccounts(){let[e]=this.validateChain();return await this.getProvider(e).requestAccounts()}onChainChanged(e,t=!1){if(!this.namespaces)return;let[a,r]=this.validateChain(e);r&&(t||this.getProvider(a).setDefaultChain(r),this.namespaces[a]?this.namespaces[a].defaultChain=r:this.namespaces[`${a}:${r}`]?this.namespaces[`${a}:${r}`].defaultChain=r:this.namespaces[`${a}:${r}`]={defaultChain:r},this.persist("namespaces",this.namespaces),this.events.emit("chainChanged",r))}onConnect(){this.createProviders(),this.events.emit("connect",{session:this.session})}async cleanup(){this.session=void 0,this.namespaces=void 0,this.optionalNamespaces=void 0,this.sessionProperties=void 0,this.persist("namespaces",void 0),this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),await this.cleanupPendingPairings({deletePairings:!0})}persist(e,t){this.client.core.storage.setItem(`${dct}/${e}`,t)}async getFromStore(e){return await this.client.core.storage.getItem(`${dct}/${e}`)}},Tct=c5e});var MAa,O6n,wct,d5e,V6n,xct,l5e,Ict=ce(()=>{p();u();MAa=Symbol(),O6n=Symbol(),wct=Object.getPrototypeOf,d5e=new WeakMap,V6n=n=>n&&(d5e.has(n)?d5e.get(n):wct(n)===Object.prototype||wct(n)===Array.prototype),xct=n=>V6n(n)&&n[O6n]||null,l5e=(n,e=!0)=>{d5e.set(n,e)}});function Hy(n={}){return U6n(n)}function f4(n,e,t){let a=i4.get(n);(s4.env?s4.env.MODE:void 0)!=="production"&&!a&&console.warn("Please use proxy object");let r,i=[],s=a[3],f=!1,c=s(d=>{if(i.push(d),t){e(i.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,f&&e(i.splice(0))}))});return f=!0,()=>{f=!1,c()}}function Ect(n,e){let t=i4.get(n);(s4.env?s4.env.MODE:void 0)!=="production"&&!t&&console.warn("Please use proxy object");let[a,r,i]=t;return i(a,r(),e)}var s4,p5e,i4,qj,$6n,U6n,Dct=ce(()=>{p();u();Ict();s4={},p5e=n=>typeof n=="object"&&n!==null,i4=new WeakMap,qj=new WeakSet,$6n=(n=Object.is,e=(c,d)=>new Proxy(c,d),t=c=>p5e(c)&&!qj.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),a=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,i=(c,d,l=a)=>{let y=r.get(c);if(y?.[0]===d)return y[1];let h=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return l5e(h,!0),r.set(c,[d,h]),Reflect.ownKeys(c).forEach(T=>{if(Object.getOwnPropertyDescriptor(h,T))return;let A=Reflect.get(c,T),O={value:A,enumerable:!0,configurable:!0};if(qj.has(A))l5e(A,!1);else if(A instanceof Promise)delete O.value,O.get=()=>l(A);else if(i4.has(A)){let[N,U]=i4.get(A);O.value=i(N,U(),l)}Object.defineProperty(h,T,O)}),Object.preventExtensions(h)},s=new WeakMap,f=[1,1],o=c=>{if(!p5e(c))throw new Error("object required");let d=s.get(c);if(d)return d;let l=f[0],y=new Set,h=(z,P=++f[0])=>{l!==P&&(l=P,y.forEach(_=>_(z,P)))},T=f[1],A=(z=++f[1])=>(T!==z&&!y.size&&(T=z,N.forEach(([P])=>{let _=P[1](z);_>l&&(l=_)})),l),O=z=>(P,_)=>{let F=[...P];F[1]=[z,...F[1]],h(F,_)},N=new Map,U=(z,P)=>{if((s4.env?s4.env.MODE:void 0)!=="production"&&N.has(z))throw new Error("prop listener already exists");if(y.size){let _=P[3](O(z));N.set(z,[P,_])}else N.set(z,[P])},q=z=>{var P;let _=N.get(z);_&&(N.delete(z),(P=_[1])==null||P.call(_))},W=z=>(y.add(z),y.size===1&&N.forEach(([_,F],v)=>{if((s4.env?s4.env.MODE:void 0)!=="production"&&F)throw new Error("remove already exists");let b=_[3](O(v));N.set(v,[_,b])}),()=>{y.delete(z),y.size===0&&N.forEach(([_,F],v)=>{F&&(F(),N.set(v,[_]))})}),G=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),J=e(G,{deleteProperty(z,P){let _=Reflect.get(z,P);q(P);let F=Reflect.deleteProperty(z,P);return F&&h(["delete",[P],_]),F},set(z,P,_,F){let v=Reflect.has(z,P),b=Reflect.get(z,P,F);if(v&&(n(b,_)||s.has(_)&&n(b,s.get(_))))return!0;q(P),p5e(_)&&(_=xct(_)||_);let x=_;if(_ instanceof Promise)_.then(L=>{_.status="fulfilled",_.value=L,h(["resolve",[P],L])}).catch(L=>{_.status="rejected",_.reason=L,h(["reject",[P],L])});else{!i4.has(_)&&t(_)&&(x=o(_));let L=!qj.has(x)&&i4.get(x);L&&U(P,L)}return Reflect.set(z,P,x,F),h(["set",[P],_,b]),!0}});s.set(c,J);let j=[G,A,i,W];return i4.set(J,j),Reflect.ownKeys(c).forEach(z=>{let P=Object.getOwnPropertyDescriptor(c,z);"value"in P&&(J[z]=c[z],delete P.value,delete P.writable),Object.defineProperty(G,z,P)}),J})=>[o,i4,qj,n,e,t,a,r,i,s,f],[U6n]=$6n()});async function zj(n,e){let t=j6n({sdkType:y5e,sdkVersion:m5e},e),a=new URL(n,u5e);return a.searchParams.append("projectId",W1.state.projectId),Object.entries(t).forEach(([r,i])=>{i&&a.searchParams.append(r,String(i))}),(await fetch(a)).json()}function tln(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}var Ef,oi,h0,q6n,n1,b5e,Iu,_i,Hj,W1,H6n,Cct,z6n,W6n,Sct,j6n,u5e,y5e,m5e,h9,G6n,Act,K6n,Q6n,kct,Y6n,Pct,Eu,j1,Rx,zy,J6n,Rct,X6n,Z6n,Lct,eln,yP,Du,g9,Wy,h5e=ce(()=>{p();u();Dct();Ef=Hy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),oi={state:Ef,subscribe(n){return f4(Ef,()=>n(Ef))},push(n,e){n!==Ef.view&&(Ef.view=n,e&&(Ef.data=e),Ef.history.push(n))},reset(n){Ef.view=n,Ef.history=[n]},replace(n){Ef.history.length>1&&(Ef.history[Ef.history.length-1]=n,Ef.view=n)},goBack(){if(Ef.history.length>1){Ef.history.pop();let[n]=Ef.history.slice(-1);Ef.view=n}},setData(n){Ef.data=n}},h0={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?!!(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return h0.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){let n=navigator.userAgent.toLowerCase();return h0.isMobile()&&(n.includes("iphone")||n.includes("ipad"))},isHttpUrl(n){return n.startsWith("http://")||n.startsWith("https://")},isArray(n){return Array.isArray(n)&&n.length>0},formatNativeUrl(n,e,t){if(h0.isHttpUrl(n))return this.formatUniversalUrl(n,e,t);let a=n;a.includes("://")||(a=n.replaceAll("/","").replaceAll(":",""),a=`${a}://`),a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,t);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},formatUniversalUrl(n,e,t){if(!h0.isHttpUrl(n))return this.formatNativeUrl(n,e,t);let a=n;a.endsWith("/")||(a=`${a}/`),this.setWalletConnectDeepLink(a,t);let r=encodeURIComponent(e);return`${a}wc?uri=${r}`},async wait(n){return new Promise(e=>{setTimeout(e,n)})},openHref(n,e){window.open(n,e,"noreferrer noopener")},setWalletConnectDeepLink(n,e){try{localStorage.setItem(h0.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:n,name:e}))}catch{console.info("Unable to set WalletConnect deep link")}},setWalletConnectAndroidDeepLink(n){try{let[e]=n.split("?");localStorage.setItem(h0.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:"Android"}))}catch{console.info("Unable to set WalletConnect android deep link")}},removeWalletConnectDeepLink(){try{localStorage.removeItem(h0.WALLETCONNECT_DEEPLINK_CHOICE)}catch{console.info("Unable to remove WalletConnect deep link")}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(h0.WCM_VERSION,"2.6.2")}catch{console.info("Unable to set Web3Modal version in storage")}},getWalletRouterData(){var n;let e=(n=oi.state.data)==null?void 0:n.Wallet;if(!e)throw new Error('Missing "Wallet" view data');return e}},q6n=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),n1=Hy({enabled:q6n,userSessionId:"",events:[],connectedWalletId:void 0}),b5e={state:n1,subscribe(n){return f4(n1.events,()=>n(Ect(n1.events[n1.events.length-1])))},initialize(){n1.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(n1.userSessionId=crypto.randomUUID())},setConnectedWalletId(n){n1.connectedWalletId=n},click(n){if(n1.enabled){let e={type:"CLICK",name:n.name,userSessionId:n1.userSessionId,timestamp:Date.now(),data:n};n1.events.push(e)}},track(n){if(n1.enabled){let e={type:"TRACK",name:n.name,userSessionId:n1.userSessionId,timestamp:Date.now(),data:n};n1.events.push(e)}},view(n){if(n1.enabled){let e={type:"VIEW",name:n.name,userSessionId:n1.userSessionId,timestamp:Date.now(),data:n};n1.events.push(e)}}},Iu=Hy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),_i={state:Iu,subscribe(n){return f4(Iu,()=>n(Iu))},setChains(n){Iu.chains=n},setWalletConnectUri(n){Iu.walletConnectUri=n},setIsCustomDesktop(n){Iu.isCustomDesktop=n},setIsCustomMobile(n){Iu.isCustomMobile=n},setIsDataLoaded(n){Iu.isDataLoaded=n},setIsUiLoaded(n){Iu.isUiLoaded=n},setIsAuth(n){Iu.isAuth=n}},Hj=Hy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),W1={state:Hj,subscribe(n){return f4(Hj,()=>n(Hj))},setConfig(n){var e,t;b5e.initialize(),_i.setChains(n.chains),_i.setIsAuth(!!n.enableAuthMode),_i.setIsCustomMobile(!!((e=n.mobileWallets)!=null&&e.length)),_i.setIsCustomDesktop(!!((t=n.desktopWallets)!=null&&t.length)),h0.setModalVersionInStorage(),Object.assign(Hj,n)}},H6n=Object.defineProperty,Cct=Object.getOwnPropertySymbols,z6n=Object.prototype.hasOwnProperty,W6n=Object.prototype.propertyIsEnumerable,Sct=(n,e,t)=>e in n?H6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,j6n=(n,e)=>{for(var t in e||(e={}))z6n.call(e,t)&&Sct(n,t,e[t]);if(Cct)for(var t of Cct(e))W6n.call(e,t)&&Sct(n,t,e[t]);return n},u5e="https://explorer-api.walletconnect.com",y5e="wcm",m5e="js-2.6.2";h9={async getDesktopListings(n){return zj("/w3m/v1/getDesktopListings",n)},async getMobileListings(n){return zj("/w3m/v1/getMobileListings",n)},async getInjectedListings(n){return zj("/w3m/v1/getInjectedListings",n)},async getAllListings(n){return zj("/w3m/v1/getAllListings",n)},getWalletImageUrl(n){return`${u5e}/w3m/v1/getWalletImage/${n}?projectId=${W1.state.projectId}&sdkType=${y5e}&sdkVersion=${m5e}`},getAssetImageUrl(n){return`${u5e}/w3m/v1/getAssetImage/${n}?projectId=${W1.state.projectId}&sdkType=${y5e}&sdkVersion=${m5e}`}},G6n=Object.defineProperty,Act=Object.getOwnPropertySymbols,K6n=Object.prototype.hasOwnProperty,Q6n=Object.prototype.propertyIsEnumerable,kct=(n,e,t)=>e in n?G6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Y6n=(n,e)=>{for(var t in e||(e={}))K6n.call(e,t)&&kct(n,t,e[t]);if(Act)for(var t of Act(e))Q6n.call(e,t)&&kct(n,t,e[t]);return n},Pct=h0.isMobile(),Eu=Hy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),j1={state:Eu,async getRecomendedWallets(){let{explorerRecommendedWalletIds:n,explorerExcludedWalletIds:e}=W1.state;if(n==="NONE"||e==="ALL"&&!n)return Eu.recomendedWallets;if(h0.isArray(n)){let t={recommendedIds:n.join(",")},{listings:a}=await h9.getAllListings(t),r=Object.values(a);r.sort((i,s)=>{let f=n.indexOf(i.id),o=n.indexOf(s.id);return f-o}),Eu.recomendedWallets=r}else{let{chains:t,isAuth:a}=_i.state,r=t?.join(","),i=h0.isArray(e),s={page:1,sdks:a?"auth_v1":void 0,entries:h0.RECOMMENDED_WALLET_AMOUNT,chains:r,version:2,excludedIds:i?e.join(","):void 0},{listings:f}=Pct?await h9.getMobileListings(s):await h9.getDesktopListings(s);Eu.recomendedWallets=Object.values(f)}return Eu.recomendedWallets},async getWallets(n){let e=Y6n({},n),{explorerRecommendedWalletIds:t,explorerExcludedWalletIds:a}=W1.state,{recomendedWallets:r}=Eu;if(a==="ALL")return Eu.wallets;r.length?e.excludedIds=r.map(l=>l.id).join(","):h0.isArray(t)&&(e.excludedIds=t.join(",")),h0.isArray(a)&&(e.excludedIds=[e.excludedIds,a].filter(Boolean).join(",")),_i.state.isAuth&&(e.sdks="auth_v1");let{page:i,search:s}=n,{listings:f,total:o}=Pct?await h9.getMobileListings(e):await h9.getDesktopListings(e),c=Object.values(f),d=s?"search":"wallets";return Eu[d]={listings:[...Eu[d].listings,...c],total:o,page:i??1},{listings:c,total:o}},getWalletImageUrl(n){return h9.getWalletImageUrl(n)},getAssetImageUrl(n){return h9.getAssetImageUrl(n)},resetSearch(){Eu.search={listings:[],total:0,page:1}}},Rx=Hy({open:!1}),zy={state:Rx,subscribe(n){return f4(Rx,()=>n(Rx))},async open(n){return new Promise(e=>{let{isUiLoaded:t,isDataLoaded:a}=_i.state;if(h0.removeWalletConnectDeepLink(),_i.setWalletConnectUri(n?.uri),_i.setChains(n?.chains),oi.reset("ConnectWallet"),t&&a)Rx.open=!0,e();else{let r=setInterval(()=>{let i=_i.state;i.isUiLoaded&&i.isDataLoaded&&(clearInterval(r),Rx.open=!0,e())},200)}})},close(){Rx.open=!1}},J6n=Object.defineProperty,Rct=Object.getOwnPropertySymbols,X6n=Object.prototype.hasOwnProperty,Z6n=Object.prototype.propertyIsEnumerable,Lct=(n,e,t)=>e in n?J6n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,eln=(n,e)=>{for(var t in e||(e={}))X6n.call(e,t)&&Lct(n,t,e[t]);if(Rct)for(var t of Rct(e))Z6n.call(e,t)&&Lct(n,t,e[t]);return n};yP=Hy({themeMode:tln()?"dark":"light"}),Du={state:yP,subscribe(n){return f4(yP,()=>n(yP))},setThemeConfig(n){let{themeMode:e,themeVariables:t}=n;e&&(yP.themeMode=e),t&&(yP.themeVariables=eln({},t))}},g9=Hy({open:!1,message:"",variant:"success"}),Wy={state:g9,subscribe(n){return f4(g9,()=>n(g9))},openToast(n,e){g9.open=!0,g9.message=n,g9.variant=e},closeToast(){g9.open=!1}}});var Wj,jj,g5e,Mct,mP,Bct,_a,v5e,Gj,T5e=ce(()=>{p();u();Wj=window,jj=Wj.ShadowRoot&&(Wj.ShadyCSS===void 0||Wj.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g5e=Symbol(),Mct=new WeakMap,mP=class{constructor(e,t,a){if(this._$cssResult$=!0,a!==g5e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(jj&&e===void 0){let a=t!==void 0&&t.length===1;a&&(e=Mct.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&Mct.set(t,e))}return e}toString(){return this.cssText}},Bct=n=>new mP(typeof n=="string"?n:n+"",void 0,g5e),_a=(n,...e)=>{let t=n.length===1?n[0]:e.reduce((a,r,i)=>a+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+n[i+1],n[0]);return new mP(t,n,g5e)},v5e=(n,e)=>{jj?n.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let a=document.createElement("style"),r=Wj.litNonce;r!==void 0&&a.setAttribute("nonce",r),a.textContent=t.cssText,n.appendChild(a)})},Gj=jj?n=>n:n=>n instanceof CSSStyleSheet?(e=>{let t="";for(let a of e.cssRules)t+=a.cssText;return Bct(t)})(n):n});var _5e,Kj,Nct,nln,Fct,x5e,Oct,w5e,I5e,jy,Qj=ce(()=>{p();u();T5e();T5e();Kj=window,Nct=Kj.trustedTypes,nln=Nct?Nct.emptyScript:"",Fct=Kj.reactiveElementPolyfillSupport,x5e={toAttribute(n,e){switch(e){case Boolean:n=n?nln:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,e){let t=n;switch(e){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},Oct=(n,e)=>e!==n&&(e==e||n==n),w5e={attribute:!0,type:String,converter:x5e,reflect:!1,hasChanged:Oct},I5e="finalized",jy=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),((t=this.h)!==null&&t!==void 0?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((t,a)=>{let r=this._$Ep(a,t);r!==void 0&&(this._$Ev.set(r,a),e.push(r))}),e}static createProperty(e,t=w5e){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){let a=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,a,t);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,a){return{get(){return this[t]},set(r){let i=this[e];this[t]=r,this.requestUpdate(e,i,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||w5e}static finalize(){if(this.hasOwnProperty(I5e))return!1;this[I5e]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties,a=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(let r of a)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let r of a)t.unshift(Gj(r))}else e!==void 0&&t.push(Gj(e));return t}static _$Ep(e,t){let a=t.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,a;((t=this._$ES)!==null&&t!==void 0?t:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)===null||a===void 0||a.call(e))}removeController(e){var t;(t=this._$ES)===null||t===void 0||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;let t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return v5e(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(t=>{var a;return(a=t.hostConnected)===null||a===void 0?void 0:a.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(t=>{var a;return(a=t.hostDisconnected)===null||a===void 0?void 0:a.call(t)})}attributeChangedCallback(e,t,a){this._$AK(e,a)}_$EO(e,t,a=w5e){var r;let i=this.constructor._$Ep(e,a);if(i!==void 0&&a.reflect===!0){let s=(((r=a.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?a.converter:x5e).toAttribute(t,a.type);this._$El=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$El=null}}_$AK(e,t){var a;let r=this.constructor,i=r._$Ev.get(e);if(i!==void 0&&this._$El!==i){let s=r.getPropertyOptions(i),f=typeof s.converter=="function"?{fromAttribute:s.converter}:((a=s.converter)===null||a===void 0?void 0:a.fromAttribute)!==void 0?s.converter:x5e;this._$El=i,this[i]=f.fromAttribute(t,s.type),this._$El=null}}requestUpdate(e,t,a){let r=!0;e!==void 0&&(((a=a||this.constructor.getPropertyOptions(e)).hasChanged||Oct)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),a.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,a))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,i)=>this[i]=r),this._$Ei=void 0);let t=!1,a=this._$AL;try{t=this.shouldUpdate(a),t?(this.willUpdate(a),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var i;return(i=r.hostUpdate)===null||i===void 0?void 0:i.call(r)}),this.update(a)):this._$Ek()}catch(r){throw t=!1,this._$Ek(),r}t&&this._$AE(a)}willUpdate(e){}_$AE(e){var t;(t=this._$ES)===null||t===void 0||t.forEach(a=>{var r;return(r=a.hostUpdated)===null||r===void 0?void 0:r.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((t,a)=>this._$EO(a,this[a],t)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};jy[I5e]=!0,jy.elementProperties=new Map,jy.elementStyles=[],jy.shadowRootOptions={mode:"open"},Fct?.({ReactiveElement:jy}),((_5e=Kj.reactiveElementVersions)!==null&&_5e!==void 0?_5e:Kj.reactiveElementVersions=[]).push("1.6.3")});function Yct(n,e){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vct!==void 0?Vct.createHTML(e):e}function Mx(n,e,t=n,a){var r,i,s,f;if(e===Gy)return e;let o=a!==void 0?(r=t._$Co)===null||r===void 0?void 0:r[a]:t._$Cl,c=gP(e)?void 0:e._$litDirective$;return o?.constructor!==c&&((i=o?._$AO)===null||i===void 0||i.call(o,!1),c===void 0?o=void 0:(o=new c(n),o._$AT(n,t,a)),a!==void 0?((s=(f=t)._$Co)!==null&&s!==void 0?s:f._$Co=[])[a]=o:t._$Cl=o),o!==void 0&&(e=Mx(n,o._$AS(n,e.values),o,a)),e}var E5e,Yj,Lx,Vct,C5e,o4,jct,aln,_9,hP,gP,Gct,rln,D5e,bP,$ct,Uct,v9,qct,Hct,Kct,Qct,Vt,ci,Gy,xs,zct,T9,iln,vP,S5e,TP,Bx,A5e,sln,k5e,P5e,R5e,Wct,Jct,w9=ce(()=>{p();u();Yj=window,Lx=Yj.trustedTypes,Vct=Lx?Lx.createPolicy("lit-html",{createHTML:n=>n}):void 0,C5e="$lit$",o4=`lit$${(Math.random()+"").slice(9)}$`,jct="?"+o4,aln=`<${jct}>`,_9=document,hP=()=>_9.createComment(""),gP=n=>n===null||typeof n!="object"&&typeof n!="function",Gct=Array.isArray,rln=n=>Gct(n)||typeof n?.[Symbol.iterator]=="function",D5e=`[ +\f\r]`,bP=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$ct=/-->/g,Uct=/>/g,v9=RegExp(`>|${D5e}(?:([^\\s"'>=/]+)(${D5e}*=${D5e}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),qct=/'/g,Hct=/"/g,Kct=/^(?:script|style|textarea|title)$/i,Qct=n=>(e,...t)=>({_$litType$:n,strings:e,values:t}),Vt=Qct(1),ci=Qct(2),Gy=Symbol.for("lit-noChange"),xs=Symbol.for("lit-nothing"),zct=new WeakMap,T9=_9.createTreeWalker(_9,129,null,!1);iln=(n,e)=>{let t=n.length-1,a=[],r,i=e===2?"":"",s=bP;for(let f=0;f"?(s=r??bP,l=-1):d[1]===void 0?l=-2:(l=s.lastIndex-d[2].length,c=d[1],s=d[3]===void 0?v9:d[3]==='"'?Hct:qct):s===Hct||s===qct?s=v9:s===$ct||s===Uct?s=bP:(s=v9,r=void 0);let h=s===v9&&n[f+1].startsWith("/>")?" ":"";i+=s===bP?o+aln:l>=0?(a.push(c),o.slice(0,l)+C5e+o.slice(l)+o4+h):o+o4+(l===-2?(a.push(void 0),f):h)}return[Yct(n,i+(n[t]||"")+(e===2?"":"")),a]},vP=class n{constructor({strings:e,_$litType$:t},a){let r;this.parts=[];let i=0,s=0,f=e.length-1,o=this.parts,[c,d]=iln(e,t);if(this.el=n.createElement(c,a),T9.currentNode=this.el.content,t===2){let l=this.el.content,y=l.firstChild;y.remove(),l.append(...y.childNodes)}for(;(r=T9.nextNode())!==null&&o.length0){r.textContent=Lx?Lx.emptyScript:"";for(let h=0;h2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=xs}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,a,r){let i=this.strings,s=!1;if(i===void 0)e=Mx(this,e,t,0),s=!gP(e)||e!==this._$AH&&e!==Gy,s&&(this._$AH=e);else{let f=e,o,c;for(e=i[0],o=0;o{var a,r;let i=(a=t?.renderBefore)!==null&&a!==void 0?a:e,s=i._$litPart$;if(s===void 0){let f=(r=t?.renderBefore)!==null&&r!==void 0?r:null;i._$litPart$=s=new TP(e.insertBefore(hP(),f),f,void 0,t??{})}return s._$AI(n),s}});var L5e,M5e,mn,Xct,Zct=ce(()=>{p();u();Qj();Qj();w9();w9();mn=class extends jy{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;let a=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=a.firstChild),a}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Jct(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return Gy}};mn.finalized=!0,mn._$litElement$=!0,(L5e=globalThis.litElementHydrateSupport)===null||L5e===void 0||L5e.call(globalThis,{LitElement:mn});Xct=globalThis.litElementPolyfillSupport;Xct?.({LitElement:mn});((M5e=globalThis.litElementVersions)!==null&&M5e!==void 0?M5e:globalThis.litElementVersions=[]).push("3.3.3")});var edt=ce(()=>{p();u();});var tdt=ce(()=>{p();u();Qj();w9();Zct();edt()});var ia,ndt=ce(()=>{p();u();ia=n=>e=>typeof e=="function"?((t,a)=>(customElements.define(t,a),a))(n,e):((t,a)=>{let{kind:r,elements:i}=a;return{kind:r,elements:i,finisher(s){customElements.define(t,s)}}})(n,e)});function tn(n){return(e,t)=>t!==void 0?oln(n,e,t):fln(n,e)}var fln,oln,B5e=ce(()=>{p();u();fln=(n,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,n)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,n)}},oln=(n,e,t)=>{e.constructor.createProperty(t,n)}});function G1(n){return tn({...n,state:!0})}var adt=ce(()=>{p();u();B5e();});var x9=ce(()=>{p();u();});var rdt=ce(()=>{p();u();x9();});var idt=ce(()=>{p();u();x9();});var sdt=ce(()=>{p();u();x9();});var fdt=ce(()=>{p();u();x9();});var N5e,Yka,F5e=ce(()=>{p();u();x9();Yka=((N5e=window.HTMLSlotElement)===null||N5e===void 0?void 0:N5e.prototype.assignedElements)!=null?(n,e)=>n.assignedElements(e):(n,e)=>n.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE)});var odt=ce(()=>{p();u();x9();F5e();});var cdt=ce(()=>{p();u();ndt();B5e();adt();rdt();idt();sdt();fdt();F5e();odt()});var ddt,ldt,Jj,pdt=ce(()=>{p();u();ddt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ldt=n=>(...e)=>({_$litDirective$:n,values:e}),Jj=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,a){this._$Ct=e,this._$AM=t,this._$Ci=a}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var Cu,udt=ce(()=>{p();u();w9();pdt();Cu=ldt(class extends Jj{constructor(n){var e;if(super(n),n.type!==ddt.ATTRIBUTE||n.name!=="class"||((e=n.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(e=>n[e]).join(" ")+" "}update(n,[e]){var t,a;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!(!((t=this.nt)===null||t===void 0)&&t.has(i))&&this.it.add(i);return this.render(e)}let r=n.element.classList;this.it.forEach(i=>{i in e||(r.remove(i),this.it.delete(i))});for(let i in e){let s=!!e[i];s===this.it.has(i)||!((a=this.nt)===null||a===void 0)&&a.has(i)||(s?(r.add(i),this.it.add(i)):(r.remove(i),this.it.delete(i)))}return Gy}})});var ydt=ce(()=>{p();u();udt()});function O5e(n,e){n.indexOf(e)===-1&&n.push(e)}var mdt=ce(()=>{p();u()});var wP,V5e=ce(()=>{p();u();wP=(n,e,t)=>Math.min(Math.max(t,n),e)});var ro,bdt=ce(()=>{p();u();ro={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"}});var Ky,Xj=ce(()=>{p();u();Ky=n=>typeof n=="number"});var Su,$5e=ce(()=>{p();u();Xj();Su=n=>Array.isArray(n)&&!Ky(n[0])});var hdt,gdt=ce(()=>{p();u();hdt=(n,e,t)=>{let a=e-n;return((t-n)%a+a)%a+n}});function vdt(n,e){return Su(n)?n[hdt(0,n.length,e)]:n}var Tdt=ce(()=>{p();u();$5e();gdt()});var Zj,U5e=ce(()=>{p();u();Zj=(n,e,t)=>-t*n+t*e+n});var xP,K1,q5e=ce(()=>{p();u();xP=()=>{},K1=n=>n});var I9,eG=ce(()=>{p();u();I9=(n,e,t)=>e-n===0?1:(t-n)/(e-n)});function H5e(n,e){let t=n[n.length-1];for(let a=1;a<=e;a++){let r=I9(0,e,a);n.push(Zj(t,1,r))}}function _dt(n){let e=[0];return H5e(e,n-1),e}var wdt=ce(()=>{p();u();U5e();eG()});function z5e(n,e=_dt(n.length),t=K1){let a=n.length,r=a-e.length;return r>0&&H5e(e,r),i=>{let s=0;for(;s{p();u();U5e();q5e();wdt();eG();Tdt();V5e()});var IP,Idt=ce(()=>{p();u();Xj();IP=n=>Array.isArray(n)&&Ky(n[0])});var Nx,Edt=ce(()=>{p();u();Nx=n=>typeof n=="object"&&!!n.createAnimation});var G6,Ddt=ce(()=>{p();u();G6=n=>typeof n=="function"});var W5e,Cdt=ce(()=>{p();u();W5e=n=>typeof n=="string"});var c4,Sdt=ce(()=>{p();u();c4={ms:n=>n*1e3,s:n=>n/1e3}});var K6=ce(()=>{p();u();mdt();V5e();bdt();xdt();Idt();Edt();$5e();Ddt();Xj();Cdt();q5e();eG();Sdt()});function lln(n,e,t,a,r){let i,s,f=0;do s=e+(t-e)/2,i=Adt(s,a,r)-n,i>0?t=s:e=s;while(Math.abs(i)>cln&&++flln(i,0,1,n,t);return i=>i===0||i===1?i:Adt(r(i),e,a)}var Adt,cln,dln,kdt=ce(()=>{p();u();K6();Adt=(n,e,t)=>(((1-3*t+3*e)*n+(3*t-6*e))*n+3*e)*n,cln=1e-7,dln=12});var j5e,Pdt=ce(()=>{p();u();K6();j5e=(n,e="end")=>t=>{t=e==="end"?Math.min(t,.999):Math.max(t,.001);let a=t*n,r=e==="end"?Math.floor(a):Math.ceil(a);return wP(0,1,r/n)}});var Rdt=ce(()=>{p();u();kdt();Pdt()});function G5e(n){if(G6(n))return n;if(IP(n))return E9(...n);if(Ldt[n])return Ldt[n];if(n.startsWith("steps")){let e=pln.exec(n);if(e){let t=e[1].split(",");return j5e(parseFloat(t[0]),t[1].trim())}}return K1}var Ldt,pln,Mdt=ce(()=>{p();u();Rdt();K6();Ldt={ease:E9(.25,.1,.25,1),"ease-in":E9(.42,0,1,1),"ease-in-out":E9(.42,0,.58,1),"ease-out":E9(0,0,.58,1)},pln=/\((.*?)\)/});var D9,Bdt=ce(()=>{p();u();K6();Mdt();D9=class{constructor(e,t=[0,1],{easing:a,duration:r=ro.duration,delay:i=ro.delay,endDelay:s=ro.endDelay,repeat:f=ro.repeat,offset:o,direction:c="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=K1,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((y,h)=>{this.resolve=y,this.reject=h}),a=a||ro.easing,Nx(a)){let y=a.createAnimation(t);a=y.easing,t=y.keyframes||t,r=y.duration||r}this.repeat=f,this.easing=Su(a)?K1:G5e(a),this.updateDuration(r);let l=z5e(t,o,Su(a)?a.map(G5e):K1);this.tick=y=>{var h;i=i;let T=0;this.pauseTime!==void 0?T=this.pauseTime:T=(y-this.startTime)*this.rate,this.t=T,T/=1e3,T=Math.max(T-i,0),this.playState==="finished"&&this.pauseTime===void 0&&(T=this.totalDuration);let A=T/this.duration,O=Math.floor(A),N=A%1;!N&&A>=1&&(N=1),N===1&&O--;let U=O%2;(c==="reverse"||c==="alternate"&&U||c==="alternate-reverse"&&!U)&&(N=1-N);let q=T>=this.totalDuration?1:Math.min(N,1),W=l(this.easing(q));e(W),this.pauseTime===void 0&&(this.playState==="finished"||T>=this.totalDuration+s)?(this.playState="finished",(h=this.resolve)===null||h===void 0||h.call(this,W)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){let e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}});var K5e=ce(()=>{p();u();Bdt()});var uln,tG,Ndt=ce(()=>{p();u();uln=function(){},tG=function(){};E.env.NODE_ENV!=="production"&&(uln=function(n,e){!n&&typeof console<"u"&&console.warn(e)},tG=function(n,e){if(!n)throw new Error(e)})});var EP,Fdt=ce(()=>{p();u();EP=class{setAnimation(e){this.animation=e,e?.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}});var Q5e=ce(()=>{p();u();Fdt()});function nG(n){return Y5e.has(n)||Y5e.set(n,{transforms:[],values:new Map}),Y5e.get(n)}function Odt(n,e){return n.has(e)||n.set(e,new EP),n.get(e)}var Y5e,J5e=ce(()=>{p();u();Q5e();Y5e=new WeakMap});var yln,mln,DP,Vdt,bln,d4,rG,aG,hln,gln,iG,$dt,vln,Tln,CP=ce(()=>{p();u();K6();J5e();yln=["","X","Y","Z"],mln=["translate","scale","rotate","skew"],DP={x:"translateX",y:"translateY",z:"translateZ"},Vdt={syntax:"",initialValue:"0deg",toDefaultUnit:n=>n+"deg"},bln={translate:{syntax:"",initialValue:"0px",toDefaultUnit:n=>n+"px"},rotate:Vdt,scale:{syntax:"",initialValue:1,toDefaultUnit:K1},skew:Vdt},d4=new Map,rG=n=>`--motion-${n}`,aG=["x","y","z"];mln.forEach(n=>{yln.forEach(e=>{aG.push(n+e),d4.set(rG(n+e),bln[n])})});hln=(n,e)=>aG.indexOf(n)-aG.indexOf(e),gln=new Set(aG),iG=n=>gln.has(n),$dt=(n,e)=>{DP[e]&&(e=DP[e]);let{transforms:t}=nG(n);O5e(t,e),n.style.transform=vln(t)},vln=n=>n.sort(hln).reduce(Tln,"").trim(),Tln=(n,e)=>`${n} ${e}(var(${rG(e)}))`});function qdt(n){if(!Udt.has(n)){Udt.add(n);try{let{syntax:e,initialValue:t}=d4.has(n)?d4.get(n):{};CSS.registerProperty({name:n,inherits:!1,syntax:e,initialValue:t})}catch{}}}var SP,Udt,X5e=ce(()=>{p();u();CP();SP=n=>n.startsWith("--"),Udt=new Set});var Z5e,Hdt,eue,l4,tue=ce(()=>{p();u();Z5e=(n,e)=>document.createElement("div").animate(n,e),Hdt={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Z5e({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Z5e({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Z5e({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},eue={},l4={};for(let n in Hdt)l4[n]=()=>(eue[n]===void 0&&(eue[n]=Hdt[n]()),eue[n])});var _ln,wln,nue,xln,zdt=ce(()=>{p();u();K6();tue();_ln=.015,wln=(n,e)=>{let t="",a=Math.round(e/_ln);for(let r=0;rG6(n)?l4.linearEasing()?`linear(${wln(n,e)})`:ro.easing:IP(n)?xln(n):n,xln=([n,e,t,a])=>`cubic-bezier(${n}, ${e}, ${t}, ${a})`});function Wdt(n,e){for(let t=0;t{p();u();jdt=n=>Array.isArray(n)?n:[n]});function AP(n){return DP[n]&&(n=DP[n]),iG(n)?rG(n):n}var aue=ce(()=>{p();u();CP()});var kP,Kdt=ce(()=>{p();u();X5e();aue();CP();kP={get:(n,e)=>{e=AP(e);let t=SP(e)?n.style.getPropertyValue(e):getComputedStyle(n)[e];if(!t&&t!==0){let a=d4.get(e);a&&(t=a.initialValue)}return t},set:(n,e,t)=>{e=AP(e),SP(e)?n.style.setProperty(e,t):n.style[e]=t}}});function sG(n,e=!0){if(!(!n||n.playState==="finished"))try{n.stop?n.stop():(e&&n.commitStyles(),n.cancel())}catch{}}var rue=ce(()=>{p();u()});function Qdt(n,e){var t;let a=e?.toDefaultUnit||K1,r=n[n.length-1];if(W5e(r)){let i=((t=r.match(/(-?[\d.]+)([a-z%]*)/))===null||t===void 0?void 0:t[2])||"";i&&(a=s=>s+i)}return a}var Ydt=ce(()=>{p();u();K6()});function Iln(){return window.__MOTION_DEV_TOOLS_RECORD}function Jdt(n,e,t,a={},r){let i=Iln(),s=a.record!==!1&&i,f,{duration:o=ro.duration,delay:c=ro.delay,endDelay:d=ro.endDelay,repeat:l=ro.repeat,easing:y=ro.easing,persist:h=!1,direction:T,offset:A,allowWebkitAcceleration:O=!1,autoplay:N=!0}=a,U=nG(n),q=iG(e),W=l4.waapi();q&&$dt(n,e);let G=AP(e),X=Odt(U.values,G),J=d4.get(G);return sG(X.animation,!(Nx(y)&&X.generator)&&a.record!==!1),()=>{let j=()=>{var _,F;return(F=(_=kP.get(n,G))!==null&&_!==void 0?_:J?.initialValue)!==null&&F!==void 0?F:0},z=Wdt(jdt(t),j),P=Qdt(z,J);if(Nx(y)){let _=y.createAnimation(z,e!=="opacity",j,G,X);y=_.easing,z=_.keyframes||z,o=_.duration||o}if(SP(G)&&(l4.cssRegisterProperty()?qdt(G):W=!1),q&&!l4.linearEasing()&&(G6(y)||Su(y)&&y.some(G6))&&(W=!1),W){J&&(z=z.map(v=>Ky(v)?J.toDefaultUnit(v):v)),z.length===1&&(!l4.partialKeyframes()||s)&&z.unshift(j());let _={delay:c4.ms(c),duration:c4.ms(o),endDelay:c4.ms(d),easing:Su(y)?void 0:nue(y,o),direction:T,iterations:l+1,fill:"both"};f=n.animate({[G]:z,offset:A,easing:Su(y)?y.map(v=>nue(v,o)):void 0},_),f.finished||(f.finished=new Promise((v,b)=>{f.onfinish=v,f.oncancel=b}));let F=z[z.length-1];f.finished.then(()=>{h||(kP.set(n,G,F),f.cancel())}).catch(xP),O||(f.playbackRate=1.000001)}else if(r&&q)z=z.map(_=>typeof _=="string"?parseFloat(_):_),z.length===1&&z.unshift(parseFloat(j())),f=new r(_=>{kP.set(n,G,P?P(_):_)},z,Object.assign(Object.assign({},a),{duration:o,easing:y}));else{let _=z[z.length-1];kP.set(n,G,J&&Ky(_)?J.toDefaultUnit(_):_)}return s&&i(n,e,z,{duration:o,delay:c,easing:y,repeat:l,offset:A},"motion-one"),X.setAnimation(f),f&&!N&&f.pause(),f}}var Xdt=ce(()=>{p();u();J5e();X5e();K6();CP();zdt();tue();Gdt();Kdt();aue();rue();Ydt()});var Zdt,e6t=ce(()=>{p();u();Zdt=(n,e)=>n[e]?Object.assign(Object.assign({},n),n[e]):Object.assign({},n)});function t6t(n,e){var t;return typeof n=="string"?e?((t=e[n])!==null&&t!==void 0||(e[n]=document.querySelectorAll(n)),n=e[n]):n=document.querySelectorAll(n):n instanceof Element&&(n=[n]),Array.from(n||[])}var n6t=ce(()=>{p();u()});var Eln,PP,Dln,Cln,Sln,iue=ce(()=>{p();u();K6();rue();Eln=n=>n(),PP=(n,e,t=ro.duration)=>new Proxy({animations:n.map(Eln).filter(Boolean),duration:t,options:e},Cln),Dln=n=>n.animations[0],Cln={get:(n,e)=>{let t=Dln(n);switch(e){case"duration":return n.duration;case"currentTime":return c4.s(t?.[e]||0);case"playbackRate":case"playState":return t?.[e];case"finished":return n.finished||(n.finished=Promise.all(n.animations.map(Sln)).catch(xP)),n.finished;case"stop":return()=>{n.animations.forEach(a=>sG(a))};case"forEachNative":return a=>{n.animations.forEach(r=>a(r,n))};default:return typeof t?.[e]>"u"?void 0:()=>n.animations.forEach(a=>a[e]())}},set:(n,e,t)=>{switch(e){case"currentTime":t=c4.ms(t);case"playbackRate":for(let a=0;an.finished});function a6t(n,e,t){return G6(n)?n(e,t):n}var r6t=ce(()=>{p();u();K6()});function i6t(n){return function(t,a,r={}){t=t6t(t);let i=t.length;tG(!!i,"No valid element provided."),tG(!!a,"No keyframes defined.");let s=[];for(let f=0;f{p();u();Ndt();Xdt();e6t();n6t();iue();r6t()});var sue,f6t=ce(()=>{p();u();K5e();s6t();sue=i6t(D9)});var fue=ce(()=>{p();u();f6t();iue()});function Aln(n,e={}){return PP([()=>{let t=new D9(n,[0,1],e);return t.finished.catch(()=>{}),t}],e,e.duration)}function Qy(n,e,t){return(G6(n)?Aln:sue)(n,e,t)}var o6t=ce(()=>{p();u();fue();K6();K5e()});var c6t=ce(()=>{p();u();fue();Q5e();o6t()});var a1,d6t=ce(()=>{p();u();w9();a1=n=>n??xs});var l6t=ce(()=>{p();u();d6t()});var u6t=B((UBa,p6t)=>{p();u();p6t.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var p4=B(C9=>{p();u();var oue,kln=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];C9.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};C9.getSymbolTotalCodewords=function(e){return kln[e]};C9.getBCHDigit=function(n){let e=0;for(;n!==0;)e++,n>>>=1;return e};C9.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');oue=e};C9.isKanjiModeEnabled=function(){return typeof oue<"u"};C9.toSJIS=function(e){return oue(e)}});var fG=B(Q6=>{p();u();Q6.L={bit:1};Q6.M={bit:0};Q6.Q={bit:3};Q6.H={bit:2};function Pln(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return Q6.L;case"m":case"medium":return Q6.M;case"q":case"quartile":return Q6.Q;case"h":case"high":return Q6.H;default:throw new Error("Unknown EC Level: "+n)}}Q6.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};Q6.from=function(e,t){if(Q6.isValid(e))return e;try{return Pln(e)}catch{return t}}});var b6t=B((YBa,m6t)=>{p();u();function y6t(){this.buffer=[],this.length=0}y6t.prototype={get:function(n){let e=Math.floor(n/8);return(this.buffer[e]>>>7-n%8&1)===1},put:function(n,e){for(let t=0;t>>e-t-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(n){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),n&&(this.buffer[e]|=128>>>this.length%8),this.length++}};m6t.exports=y6t});var g6t=B((ZBa,h6t)=>{p();u();function RP(n){if(!n||n<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=n,this.data=new Uint8Array(n*n),this.reservedBit=new Uint8Array(n*n)}RP.prototype.set=function(n,e,t,a){let r=n*this.size+e;this.data[r]=t,a&&(this.reservedBit[r]=!0)};RP.prototype.get=function(n,e){return this.data[n*this.size+e]};RP.prototype.xor=function(n,e,t){this.data[n*this.size+e]^=t};RP.prototype.isReserved=function(n,e){return this.reservedBit[n*this.size+e]};h6t.exports=RP});var v6t=B(oG=>{p();u();var Rln=p4().getSymbolSize;oG.getRowColCoords=function(e){if(e===1)return[];let t=Math.floor(e/7)+2,a=Rln(e),r=a===145?26:Math.ceil((a-13)/(2*t-2))*2,i=[a-7];for(let s=1;s{p();u();var Lln=p4().getSymbolSize,T6t=7;_6t.getPositions=function(e){let t=Lln(e);return[[0,0],[t-T6t,0],[0,t-T6t]]}});var x6t=B(Fr=>{p();u();Fr.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var S9={N1:3,N2:3,N3:40,N4:10};Fr.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};Fr.from=function(e){return Fr.isValid(e)?parseInt(e,10):void 0};Fr.getPenaltyN1=function(e){let t=e.size,a=0,r=0,i=0,s=null,f=null;for(let o=0;o=5&&(a+=S9.N1+(r-5)),s=d,r=1),d=e.get(c,o),d===f?i++:(i>=5&&(a+=S9.N1+(i-5)),f=d,i=1)}r>=5&&(a+=S9.N1+(r-5)),i>=5&&(a+=S9.N1+(i-5))}return a};Fr.getPenaltyN2=function(e){let t=e.size,a=0;for(let r=0;r=10&&(r===1488||r===93)&&a++,i=i<<1&2047|e.get(f,s),f>=10&&(i===1488||i===93)&&a++}return a*S9.N3};Fr.getPenaltyN4=function(e){let t=0,a=e.data.length;for(let i=0;i{p();u();var u4=fG(),cG=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],dG=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];cue.getBlocksCount=function(e,t){switch(t){case u4.L:return cG[(e-1)*4+0];case u4.M:return cG[(e-1)*4+1];case u4.Q:return cG[(e-1)*4+2];case u4.H:return cG[(e-1)*4+3];default:return}};cue.getTotalCodewordsCount=function(e,t){switch(t){case u4.L:return dG[(e-1)*4+0];case u4.M:return dG[(e-1)*4+1];case u4.Q:return dG[(e-1)*4+2];case u4.H:return dG[(e-1)*4+3];default:return}}});var I6t=B(pG=>{p();u();var LP=new Uint8Array(512),lG=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)LP[t]=e,lG[e]=t,e<<=1,e&256&&(e^=285);for(let t=255;t<512;t++)LP[t]=LP[t-255]})();pG.log=function(e){if(e<1)throw new Error("log("+e+")");return lG[e]};pG.exp=function(e){return LP[e]};pG.mul=function(e,t){return e===0||t===0?0:LP[lG[e]+lG[t]]}});var E6t=B(MP=>{p();u();var lue=I6t();MP.mul=function(e,t){let a=new Uint8Array(e.length+t.length-1);for(let r=0;r=0;){let r=a[0];for(let s=0;s{p();u();var D6t=E6t();function pue(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}pue.prototype.initialize=function(e){this.degree=e,this.genPoly=D6t.generateECPolynomial(this.degree)};pue.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let a=D6t.mod(t,this.genPoly),r=this.degree-a.length;if(r>0){let i=new Uint8Array(this.degree);return i.set(a,r),i}return a};C6t.exports=pue});var uue=B(A6t=>{p();u();A6t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var yue=B(Yy=>{p();u();var k6t="[0-9]+",Bln="[A-Z $%*+\\-./:]+",BP="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";BP=BP.replace(/u/g,"\\u");var Nln="(?:(?![A-Z0-9 $%*+\\-./:]|"+BP+`)(?:.|[\r +]))+`;Yy.KANJI=new RegExp(BP,"g");Yy.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Yy.BYTE=new RegExp(Nln,"g");Yy.NUMERIC=new RegExp(k6t,"g");Yy.ALPHANUMERIC=new RegExp(Bln,"g");var Fln=new RegExp("^"+BP+"$"),Oln=new RegExp("^"+k6t+"$"),Vln=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Yy.testKanji=function(e){return Fln.test(e)};Yy.testNumeric=function(e){return Oln.test(e)};Yy.testAlphanumeric=function(e){return Vln.test(e)}});var y4=B(Is=>{p();u();var $ln=uue(),mue=yue();Is.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};Is.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};Is.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};Is.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};Is.MIXED={bit:-1};Is.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!$ln.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]};Is.getBestModeForData=function(e){return mue.testNumeric(e)?Is.NUMERIC:mue.testAlphanumeric(e)?Is.ALPHANUMERIC:mue.testKanji(e)?Is.KANJI:Is.BYTE};Is.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};Is.isValid=function(e){return e&&e.bit&&e.ccBits};function Uln(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return Is.NUMERIC;case"alphanumeric":return Is.ALPHANUMERIC;case"kanji":return Is.KANJI;case"byte":return Is.BYTE;default:throw new Error("Unknown mode: "+n)}}Is.from=function(e,t){if(Is.isValid(e))return e;try{return Uln(e)}catch{return t}}});var B6t=B(A9=>{p();u();var uG=p4(),qln=due(),P6t=fG(),m4=y4(),bue=uue(),L6t=7973,R6t=uG.getBCHDigit(L6t);function Hln(n,e,t){for(let a=1;a<=40;a++)if(e<=A9.getCapacity(a,t,n))return a}function M6t(n,e){return m4.getCharCountIndicator(n,e)+4}function zln(n,e){let t=0;return n.forEach(function(a){let r=M6t(a.mode,e);t+=r+a.getBitsLength()}),t}function Wln(n,e){for(let t=1;t<=40;t++)if(zln(n,t)<=A9.getCapacity(t,e,m4.MIXED))return t}A9.from=function(e,t){return bue.isValid(e)?parseInt(e,10):t};A9.getCapacity=function(e,t,a){if(!bue.isValid(e))throw new Error("Invalid QR Code version");typeof a>"u"&&(a=m4.BYTE);let r=uG.getSymbolTotalCodewords(e),i=qln.getTotalCodewordsCount(e,t),s=(r-i)*8;if(a===m4.MIXED)return s;let f=s-M6t(a,e);switch(a){case m4.NUMERIC:return Math.floor(f/10*3);case m4.ALPHANUMERIC:return Math.floor(f/11*2);case m4.KANJI:return Math.floor(f/13);case m4.BYTE:default:return Math.floor(f/8)}};A9.getBestVersionForData=function(e,t){let a,r=P6t.from(t,P6t.M);if(Array.isArray(e)){if(e.length>1)return Wln(e,r);if(e.length===0)return 1;a=e[0]}else a=e;return Hln(a.mode,a.getLength(),r)};A9.getEncodedBits=function(e){if(!bue.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;uG.getBCHDigit(t)-R6t>=0;)t^=L6t<{p();u();var hue=p4(),F6t=1335,jln=21522,N6t=hue.getBCHDigit(F6t);O6t.getEncodedBits=function(e,t){let a=e.bit<<3|t,r=a<<10;for(;hue.getBCHDigit(r)-N6t>=0;)r^=F6t<{p();u();var Gln=y4();function Fx(n){this.mode=Gln.NUMERIC,this.data=n.toString()}Fx.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};Fx.prototype.getLength=function(){return this.data.length};Fx.prototype.getBitsLength=function(){return Fx.getBitsLength(this.data.length)};Fx.prototype.write=function(e){let t,a,r;for(t=0;t+3<=this.data.length;t+=3)a=this.data.substr(t,3),r=parseInt(a,10),e.put(r,10);let i=this.data.length-t;i>0&&(a=this.data.substr(t),r=parseInt(a,10),e.put(r,i*3+1))};$6t.exports=Fx});var H6t=B((UNa,q6t)=>{p();u();var Kln=y4(),gue=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ox(n){this.mode=Kln.ALPHANUMERIC,this.data=n}Ox.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};Ox.prototype.getLength=function(){return this.data.length};Ox.prototype.getBitsLength=function(){return Ox.getBitsLength(this.data.length)};Ox.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let a=gue.indexOf(this.data[t])*45;a+=gue.indexOf(this.data[t+1]),e.put(a,11)}this.data.length%2&&e.put(gue.indexOf(this.data[t]),6)};q6t.exports=Ox});var W6t=B((zNa,z6t)=>{"use strict";p();u();z6t.exports=function(e){for(var t=[],a=e.length,r=0;r=55296&&i<=56319&&a>r+1){var s=e.charCodeAt(r+1);s>=56320&&s<=57343&&(i=(i-55296)*1024+s-56320+65536,r+=1)}if(i<128){t.push(i);continue}if(i<2048){t.push(i>>6|192),t.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){t.push(i>>12|224),t.push(i>>6&63|128),t.push(i&63|128);continue}if(i>=65536&&i<=1114111){t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(i&63|128);continue}t.push(239,191,189)}return new Uint8Array(t).buffer}});var G6t=B((GNa,j6t)=>{p();u();var Qln=W6t(),Yln=y4();function Vx(n){this.mode=Yln.BYTE,typeof n=="string"&&(n=Qln(n)),this.data=new Uint8Array(n)}Vx.getBitsLength=function(e){return e*8};Vx.prototype.getLength=function(){return this.data.length};Vx.prototype.getBitsLength=function(){return Vx.getBitsLength(this.data.length)};Vx.prototype.write=function(n){for(let e=0,t=this.data.length;e{p();u();var Jln=y4(),Xln=p4();function $x(n){this.mode=Jln.KANJI,this.data=n}$x.getBitsLength=function(e){return e*13};$x.prototype.getLength=function(){return this.data.length};$x.prototype.getBitsLength=function(){return $x.getBitsLength(this.data.length)};$x.prototype.write=function(n){let e;for(e=0;e=33088&&t<=40956)t-=33088;else if(t>=57408&&t<=60351)t-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` +Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),n.put(t,13)}};K6t.exports=$x});var Y6t=B((ZNa,vue)=>{"use strict";p();u();var NP={single_source_shortest_paths:function(n,e,t){var a={},r={};r[e]=0;var i=NP.PriorityQueue.make();i.push(e,0);for(var s,f,o,c,d,l,y,h,T;!i.empty();){s=i.pop(),f=s.value,c=s.cost,d=n[f]||{};for(o in d)d.hasOwnProperty(o)&&(l=d[o],y=c+l,h=r[o],T=typeof r[o]>"u",(T||h>y)&&(r[o]=y,i.push(o,y),a[o]=f))}if(typeof t<"u"&&typeof r[t]>"u"){var A=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(A)}return a},extract_shortest_path_from_predecessor_list:function(n,e){for(var t=[],a=e,r;a;)t.push(a),r=n[a],a=n[a];return t.reverse(),t},find_path:function(n,e,t){var a=NP.single_source_shortest_paths(n,e,t);return NP.extract_shortest_path_from_predecessor_list(a,t)},PriorityQueue:{make:function(n){var e=NP.PriorityQueue,t={},a;n=n||{};for(a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);return t.queue=[],t.sorter=n.sorter||e.default_sorter,t},default_sorter:function(n,e){return n.cost-e.cost},push:function(n,e){var t={value:n,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof vue<"u"&&(vue.exports=NP)});var rlt=B(Ux=>{p();u();var Ua=y4(),Z6t=U6t(),elt=H6t(),tlt=G6t(),nlt=Q6t(),FP=yue(),yG=p4(),Zln=Y6t();function J6t(n){return unescape(encodeURIComponent(n)).length}function OP(n,e,t){let a=[],r;for(;(r=n.exec(t))!==null;)a.push({data:r[0],index:r.index,mode:e,length:r[0].length});return a}function alt(n){let e=OP(FP.NUMERIC,Ua.NUMERIC,n),t=OP(FP.ALPHANUMERIC,Ua.ALPHANUMERIC,n),a,r;return yG.isKanjiModeEnabled()?(a=OP(FP.BYTE,Ua.BYTE,n),r=OP(FP.KANJI,Ua.KANJI,n)):(a=OP(FP.BYTE_KANJI,Ua.BYTE,n),r=[]),e.concat(t,a,r).sort(function(s,f){return s.index-f.index}).map(function(s){return{data:s.data,mode:s.mode,length:s.length}})}function Tue(n,e){switch(e){case Ua.NUMERIC:return Z6t.getBitsLength(n);case Ua.ALPHANUMERIC:return elt.getBitsLength(n);case Ua.KANJI:return nlt.getBitsLength(n);case Ua.BYTE:return tlt.getBitsLength(n)}}function epn(n){return n.reduce(function(e,t){let a=e.length-1>=0?e[e.length-1]:null;return a&&a.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function tpn(n){let e=[];for(let t=0;t{p();u();var bG=p4(),_ue=fG(),apn=b6t(),rpn=g6t(),ipn=v6t(),spn=w6t(),Iue=x6t(),Eue=due(),fpn=S6t(),mG=B6t(),opn=V6t(),cpn=y4(),wue=rlt();function dpn(n,e){let t=n.size,a=spn.getPositions(e);for(let r=0;r=0&&f<=6&&(o===0||o===6)||o>=0&&o<=6&&(f===0||f===6)||f>=2&&f<=4&&o>=2&&o<=4?n.set(i+f,s+o,!0,!0):n.set(i+f,s+o,!1,!0))}}function lpn(n){let e=n.size;for(let t=8;t>f&1)===1,n.set(r,i,s,!0),n.set(i,r,s,!0)}function xue(n,e,t){let a=n.size,r=opn.getEncodedBits(e,t),i,s;for(i=0;i<15;i++)s=(r>>i&1)===1,i<6?n.set(i,8,s,!0):i<8?n.set(i+1,8,s,!0):n.set(a-15+i,8,s,!0),i<8?n.set(8,a-i-1,s,!0):i<9?n.set(8,15-i-1+1,s,!0):n.set(8,15-i-1,s,!0);n.set(a-8,8,1,!0)}function ypn(n,e){let t=n.size,a=-1,r=t-1,i=7,s=0;for(let f=t-1;f>0;f-=2)for(f===6&&f--;;){for(let o=0;o<2;o++)if(!n.isReserved(r,f-o)){let c=!1;s>>i&1)===1),n.set(r,f-o,c),i--,i===-1&&(s++,i=7)}if(r+=a,r<0||t<=r){r-=a,a=-a;break}}}function mpn(n,e,t){let a=new apn;t.forEach(function(o){a.put(o.mode.bit,4),a.put(o.getLength(),cpn.getCharCountIndicator(o.mode,n)),o.write(a)});let r=bG.getSymbolTotalCodewords(n),i=Eue.getTotalCodewordsCount(n,e),s=(r-i)*8;for(a.getLengthInBits()+4<=s&&a.put(0,4);a.getLengthInBits()%8!==0;)a.putBit(0);let f=(s-a.getLengthInBits())/8;for(let o=0;o=7&&zpn(o,e),Wpn(o,i),isNaN(a)&&(a=F8e.getBestMask(o,L8e.bind(null,o,n))),F8e.applyMask(a,o),L8e(o,n,a),{modules:o,version:e,errorCorrectionLevel:n,maskPattern:a,segments:r}}t20.create=function(e,n){if(typeof e>"u"||e==="")throw new Error("No input text");let a=D8e.M,r,f;return typeof n<"u"&&(a=D8e.from(n.errorCorrectionLevel,D8e.M),r=KV.from(n.version),f=F8e.from(n.maskPattern),n.toSJISFunc&&QV.setToSJISFunction(n.toSJISFunc)),Gpn(e,r,a,f)}});var O8e=D(gg=>{u();p();function a20(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(a){return[a,a]}))),e.length===6&&e.push("F","F");let n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+e.slice(0,6).join("")}}gg.getOptions=function(e){e||(e={}),e.color||(e.color={});let n=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,a=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:a,scale:a?4:r,margin:n,color:{dark:a20(e.color.dark||"#000000ff"),light:a20(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};gg.getScale=function(e,n){return n.width&&n.width>=e+n.margin*2?n.width/(e+n.margin*2):n.scale};gg.getImageWidth=function(e,n){let a=gg.getScale(e,n);return Math.floor((e+n.margin*2)*a)};gg.qrToImageData=function(e,n,a){let r=n.modules.size,f=n.modules.data,i=gg.getScale(r,a),s=Math.floor((r+a.margin*2)*i),o=a.margin*i,c=[a.color.light,a.color.dark];for(let d=0;d=o&&l>=o&&d{u();p();var U8e=O8e();function Kpn(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}function Qpn(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}VV.render=function(e,n,a){let r=a,f=n;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),n||(f=Qpn()),r=U8e.getOptions(r);let i=U8e.getImageWidth(e.modules.size,r),s=f.getContext("2d"),o=s.createImageData(i,i);return U8e.qrToImageData(o.data,e,r),Kpn(s,f,i),s.putImageData(o,0,0),f};VV.renderToDataURL=function(e,n,a){let r=a;typeof r>"u"&&(!n||!n.getContext)&&(r=n,n=void 0),r||(r={});let f=VV.render(e,n,r),i=r.type||"image/png",s=r.rendererOpts||{};return f.toDataURL(i,s.quality)}});var s20=D(i20=>{u();p();var Vpn=O8e();function f20(t,e){let n=t.a/255,a=e+'="'+t.hex+'"';return n<1?a+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':a}function H8e(t,e,n){let a=t+e;return typeof n<"u"&&(a+=" "+n),a}function Ypn(t,e,n){let a="",r=0,f=!1,i=0;for(let s=0;s0&&o>0&&t[s-1]||(a+=f?H8e("M",o+n,.5+c+n):H8e("m",r,0),r=0,f=!1),o+1':"",c="',d='viewBox="0 0 '+s+" "+s+'"',h=''+o+c+` -`;return typeof a=="function"&&a(null,h),h}});var c20=D(cD=>{u();p();var $pn=cu0(),z8e=n20(),o20=r20(),Jpn=s20();function W8e(t,e,n,a,r){let f=[].slice.call(arguments,1),i=f.length,s=typeof f[i-1]=="function";if(!s&&!$pn())throw new Error("Callback required as last argument");if(s){if(i<2)throw new Error("Too few arguments provided");i===2?(r=n,n=e,e=a=void 0):i===3&&(e.getContext&&typeof r>"u"?(r=a,a=void 0):(r=a,a=n,n=e,e=void 0))}else{if(i<1)throw new Error("Too few arguments provided");return i===1?(n=e,e=a=void 0):i===2&&!e.getContext&&(a=n,n=e,e=void 0),new Promise(function(o,c){try{let d=z8e.create(n,a);o(t(d,e,a))}catch(d){c(d)}})}try{let o=z8e.create(n,a);r(null,t(o,e,a))}catch(o){r(o)}}cD.create=z8e.create;cD.toCanvas=W8e.bind(null,o20.render);cD.toDataURL=W8e.bind(null,o20.renderToDataURL);cD.toString=W8e.bind(null,function(t,e,n){return Jpn.render(t,n)})});var x20={};G0(x20,{WcmModal:()=>$_,WcmQrCode:()=>Lh});function t8n(){var t;let e=(t=ap.state.themeMode)!=null?t:"dark",n={light:{foreground:{1:"rgb(20,20,20)",2:"rgb(121,134,134)",3:"rgb(158,169,169)"},background:{1:"rgb(255,255,255)",2:"rgb(241,243,243)",3:"rgb(228,231,231)"},overlay:"rgba(0,0,0,0.1)"},dark:{foreground:{1:"rgb(228,231,231)",2:"rgb(148,158,158)",3:"rgb(110,119,119)"},background:{1:"rgb(20,20,20)",2:"rgb(39,42,42)",3:"rgb(59,64,64)"},overlay:"rgba(255,255,255,0.1)"}}[e];return{"--wcm-color-fg-1":n.foreground[1],"--wcm-color-fg-2":n.foreground[2],"--wcm-color-fg-3":n.foreground[3],"--wcm-color-bg-1":n.background[1],"--wcm-color-bg-2":n.background[2],"--wcm-color-bg-3":n.background[3],"--wcm-color-overlay":n.overlay}}function u20(){return{"--wcm-accent-color":"#3396FF","--wcm-accent-fill-color":"#FFFFFF","--wcm-z-index":"89","--wcm-background-color":"#3396FF","--wcm-background-border-radius":"8px","--wcm-container-border-radius":"30px","--wcm-wallet-icon-border-radius":"15px","--wcm-wallet-icon-large-border-radius":"30px","--wcm-wallet-icon-small-border-radius":"7px","--wcm-input-border-radius":"28px","--wcm-button-border-radius":"10px","--wcm-notification-border-radius":"36px","--wcm-secondary-button-border-radius":"28px","--wcm-icon-button-border-radius":"50%","--wcm-button-hover-highlight-border-radius":"10px","--wcm-text-big-bold-size":"20px","--wcm-text-big-bold-weight":"600","--wcm-text-big-bold-line-height":"24px","--wcm-text-big-bold-letter-spacing":"-0.03em","--wcm-text-big-bold-text-transform":"none","--wcm-text-xsmall-bold-size":"10px","--wcm-text-xsmall-bold-weight":"700","--wcm-text-xsmall-bold-line-height":"12px","--wcm-text-xsmall-bold-letter-spacing":"0.02em","--wcm-text-xsmall-bold-text-transform":"uppercase","--wcm-text-xsmall-regular-size":"12px","--wcm-text-xsmall-regular-weight":"600","--wcm-text-xsmall-regular-line-height":"14px","--wcm-text-xsmall-regular-letter-spacing":"-0.03em","--wcm-text-xsmall-regular-text-transform":"none","--wcm-text-small-thin-size":"14px","--wcm-text-small-thin-weight":"500","--wcm-text-small-thin-line-height":"16px","--wcm-text-small-thin-letter-spacing":"-0.03em","--wcm-text-small-thin-text-transform":"none","--wcm-text-small-regular-size":"14px","--wcm-text-small-regular-weight":"600","--wcm-text-small-regular-line-height":"16px","--wcm-text-small-regular-letter-spacing":"-0.03em","--wcm-text-small-regular-text-transform":"none","--wcm-text-medium-regular-size":"16px","--wcm-text-medium-regular-weight":"600","--wcm-text-medium-regular-line-height":"20px","--wcm-text-medium-regular-letter-spacing":"-0.03em","--wcm-text-medium-regular-text-transform":"none","--wcm-font-family":"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif","--wcm-font-feature-settings":"'tnum' on, 'lnum' on, 'case' on","--wcm-success-color":"rgb(38,181,98)","--wcm-error-color":"rgb(242, 90, 103)","--wcm-overlay-background-color":"rgba(0, 0, 0, 0.3)","--wcm-overlay-backdrop-filter":"none"}}function $8e(t,e,n){return t===e?!1:(t-e<0?e-t:t-e)<=n+D8n}function P8n(t,e){let n=Array.prototype.slice.call(T20.default.create(t,{errorCorrectionLevel:e}).modules.data,0),a=Math.sqrt(n.length);return n.reduce((r,f,i)=>(i%a===0?r.push([f]):r[r.length-1].push(f))&&r,[])}var T20,Xpn,d20,Zpn,e8n,l20,q8e,ha,n8n,a8n,r8n,G_,a4,f8n,i8n,s8n,j8e,dD,o8n,c8n,d8n,l8n,G8e,tr,u8n,p8n,h8n,m8n,K8e,b8n,y8n,g8n,v8n,Q8e,w8n,T8n,x8n,E8n,V8e,_8n,A8n,I8n,lD,vg,Zt,C8n,k8n,S8n,Y8e,uD,R8n,M8n,B8n,p20,YV,D8n,h20,Ph,L8n,F8n,N8n,O8n,K_,Lh,U8n,H8n,z8n,m20,$V,W8n,q8n,j8n,G8n,J8e,K8n,Q8n,V8n,X8e,pD,Y8n,$8n,J8n,r4,ip,X8n,Z8n,ehn,JV,Q_,thn,nhn,b20,Z8e,ahn,rhn,fhn,y20,ihn,shn,ohn,chn,ehe,dhn,lhn,uhn,V_,f4,J_,i4,phn,hhn,mhn,bhn,the,yhn,ghn,vhn,whn,nhe,Thn,xhn,Ehn,_hn,ahe,Ahn,Ihn,Chn,rhe,$_,khn,Shn,Rhn,hD,wg,Mhn,Bhn,Dhn,Phn,fhe,Lhn,Fhn,Nhn,XV,Y_,Ohn,Uhn,Hhn,ihe,zhn,Whn,qhn,g20,ZV,jhn,Ghn,Khn,Qhn,she,Vhn,Yhn,$hn,v20,eY,Jhn,Xhn,Zhn,e3n,ohe,t3n,n3n,a3n,che,r3n,f3n,i3n,mD,dhe,Tg,s3n,o3n,c3n,w20,tY,E20=oe(()=>{u();p();S50();N50();W50();Cpe();dg();fu0();su0();T20=Ee(c20(),1),Xpn=Object.defineProperty,d20=Object.getOwnPropertySymbols,Zpn=Object.prototype.hasOwnProperty,e8n=Object.prototype.propertyIsEnumerable,l20=(t,e,n)=>e in t?Xpn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,q8e=(t,e)=>{for(var n in e||(e={}))Zpn.call(e,n)&&l20(t,n,e[n]);if(d20)for(var n of d20(e))e8n.call(e,n)&&l20(t,n,e[n]);return t};ha={getPreset(t){return u20()[t]},setTheme(){let t=document.querySelector(":root"),{themeVariables:e}=ap.state;if(t){let n=q8e(q8e(q8e({},t8n()),u20()),e);Object.entries(n).forEach(([a,r])=>t.style.setProperty(a,r))}},globalCss:Ca`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`},n8n=Ca`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`,a8n=Object.defineProperty,r8n=Object.getOwnPropertyDescriptor,G_=(t,e,n,a)=>{for(var r=a>1?void 0:a?r8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&a8n(e,n,r),r},a4=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.iconLeft=void 0,this.iconRight=void 0,this.onClick=()=>null,this.variant="default"}render(){let t={"wcm-icon-left":this.iconLeft!==void 0,"wcm-icon-right":this.iconRight!==void 0,"wcm-ghost":this.variant==="ghost","wcm-outline":this.variant==="outline"},e="inverse";return this.variant==="ghost"&&(e="secondary"),this.variant==="outline"&&(e="accent"),q0``}};a4.styles=[ha.globalCss,n8n],G_([sn({type:Boolean})],a4.prototype,"disabled",2),G_([sn()],a4.prototype,"iconLeft",2),G_([sn()],a4.prototype,"iconRight",2),G_([sn()],a4.prototype,"onClick",2),G_([sn()],a4.prototype,"variant",2),a4=G_([pa("wcm-button")],a4);f8n=Ca`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`,i8n=Object.defineProperty,s8n=Object.getOwnPropertyDescriptor,j8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?s8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&i8n(e,n,r),r},dD=class extends Tn{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let t={"wcm-secondary":this.variant==="secondary"};return q0``}};dD.styles=[ha.globalCss,f8n],j8e([sn({type:Boolean})],dD.prototype,"disabled",2),j8e([sn()],dD.prototype,"variant",2),dD=j8e([pa("wcm-button-big")],dD);o8n=Ca`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`,c8n=Object.defineProperty,d8n=Object.getOwnPropertyDescriptor,l8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?d8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&c8n(e,n,r),r},G8e=class extends Tn{render(){return q0`
`}};G8e.styles=[ha.globalCss,o8n],G8e=l8n([pa("wcm-info-footer")],G8e);tr={CROSS_ICON:Tf``,WALLET_CONNECT_LOGO:Tf``,WALLET_CONNECT_ICON:Tf``,WALLET_CONNECT_ICON_COLORED:Tf``,BACK_ICON:Tf``,COPY_ICON:Tf``,RETRY_ICON:Tf``,DESKTOP_ICON:Tf``,MOBILE_ICON:Tf``,ARROW_DOWN_ICON:Tf``,ARROW_UP_RIGHT_ICON:Tf``,ARROW_RIGHT_ICON:Tf``,QRCODE_ICON:Tf``,SCAN_ICON:Tf``,CHECKMARK_ICON:Tf``,SEARCH_ICON:Tf``,WALLET_PLACEHOLDER:Tf``,GLOBE_ICON:Tf``},u8n=Ca`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`,p8n=Object.defineProperty,h8n=Object.getOwnPropertyDescriptor,m8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?h8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&p8n(e,n,r),r},K8e=class extends Tn{render(){return q0`
${tr.WALLET_CONNECT_LOGO}
`}};K8e.styles=[ha.globalCss,u8n],K8e=m8n([pa("wcm-modal-backcard")],K8e);b8n=Ca`main{padding:20px;padding-top:0;width:100%}`,y8n=Object.defineProperty,g8n=Object.getOwnPropertyDescriptor,v8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?g8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&y8n(e,n,r),r},Q8e=class extends Tn{render(){return q0`
`}};Q8e.styles=[ha.globalCss,b8n],Q8e=v8n([pa("wcm-modal-content")],Q8e);w8n=Ca`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`,T8n=Object.defineProperty,x8n=Object.getOwnPropertyDescriptor,E8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?x8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&T8n(e,n,r),r},V8e=class extends Tn{render(){return q0`
`}};V8e.styles=[ha.globalCss,w8n],V8e=E8n([pa("wcm-modal-footer")],V8e);_8n=Ca`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`,A8n=Object.defineProperty,I8n=Object.getOwnPropertyDescriptor,lD=(t,e,n,a)=>{for(var r=a>1?void 0:a?I8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&A8n(e,n,r),r},vg=class extends Tn{constructor(){super(...arguments),this.title="",this.onAction=void 0,this.actionIcon=void 0,this.border=!1}backBtnTemplate(){return q0``}actionBtnTemplate(){return q0``}render(){let t={"wcm-border":this.border},e=wf.state.history.length>1,n=this.title?q0`${this.title}`:q0``;return q0`
${e?this.backBtnTemplate():null} ${n} ${this.onAction?this.actionBtnTemplate():null}
`}};vg.styles=[ha.globalCss,_8n],lD([sn()],vg.prototype,"title",2),lD([sn()],vg.prototype,"onAction",2),lD([sn()],vg.prototype,"actionIcon",2),lD([sn({type:Boolean})],vg.prototype,"border",2),vg=lD([pa("wcm-modal-header")],vg);Zt={MOBILE_BREAKPOINT:600,WCM_RECENT_WALLET_DATA:"WCM_RECENT_WALLET_DATA",EXPLORER_WALLET_URL:"https://explorer.walletconnect.com/?type=wallet",getShadowRootElement(t,e){let n=t.renderRoot.querySelector(e);if(!n)throw new Error(`${e} not found`);return n},getWalletIcon({id:t,image_id:e}){let{walletImages:n}=lc.state;return n!=null&&n[t]?n[t]:e?uc.getWalletImageUrl(e):""},getWalletName(t,e=!1){return e&&t.length>8?`${t.substring(0,8)}..`:t},isMobileAnimation(){return window.innerWidth<=Zt.MOBILE_BREAKPOINT},async preloadImage(t){let e=new Promise((n,a)=>{let r=new Image;r.onload=n,r.onerror=a,r.crossOrigin="anonymous",r.src=t});return Promise.race([e,gt.wait(3e3)])},getErrorMessage(t){return t instanceof Error?t.message:"Unknown Error"},debounce(t,e=500){let n;return(...a)=>{function r(){t(...a)}n&&clearTimeout(n),n=setTimeout(r,e)}},handleMobileLinking(t){let{walletConnectUri:e}=Pf.state,{mobile:n,name:a}=t,r=n?.native,f=n?.universal;Zt.setRecentWallet(t);function i(s){let o="";r?o=gt.formatUniversalUrl(r,s,a):f&&(o=gt.formatNativeUrl(f,s,a)),gt.openHref(o,"_self")}e&&i(e)},handleAndroidLinking(){let{walletConnectUri:t}=Pf.state;t&&(gt.setWalletConnectAndroidDeepLink(t),gt.openHref(t,"_self"))},async handleUriCopy(){let{walletConnectUri:t}=Pf.state;if(t)try{await navigator.clipboard.writeText(t),kh.openToast("Link copied","success")}catch{kh.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:t}=lc.state,e=Object.values(t??{});return Object.values(e)},truncate(t,e=8){return t.length<=e?t:`${t.substring(0,4)}...${t.substring(t.length-4)}`},setRecentWallet(t){try{localStorage.setItem(Zt.WCM_RECENT_WALLET_DATA,JSON.stringify(t))}catch{console.info("Unable to set recent wallet")}},getRecentWallet(){try{let t=localStorage.getItem(Zt.WCM_RECENT_WALLET_DATA);return t?JSON.parse(t):void 0}catch{console.info("Unable to get recent wallet")}},caseSafeIncludes(t,e){return t.toUpperCase().includes(e.toUpperCase())},openWalletExplorerUrl(){gt.openHref(Zt.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:t,mobile:e}=gt.getWalletRouterData(),n=!!t?.native,a=!!t?.universal,r=!!e?.native||!!e?.universal;return{isDesktop:n,isMobile:r,isWeb:a}},goToConnectingView(t){wf.setData({Wallet:t});let e=gt.isMobile(),{isDesktop:n,isWeb:a,isMobile:r}=Zt.getCachedRouterWalletPlatforms();e?r?wf.push("MobileConnecting"):a?wf.push("WebConnecting"):wf.push("InstallWallet"):n?wf.push("DesktopConnecting"):a?wf.push("WebConnecting"):r?wf.push("MobileQrcodeConnecting"):wf.push("InstallWallet")}},C8n=Ca`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`,k8n=Object.defineProperty,S8n=Object.getOwnPropertyDescriptor,Y8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?S8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&k8n(e,n,r),r},uD=class extends Tn{constructor(){super(),this.view=wf.state.view,this.prevView=wf.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=wf.subscribe(t=>{this.view!==t.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([t])=>{let e=`${t.contentRect.height}px`;this.oldHeight!=="0px"&&Bh(this.routerEl,{height:[this.oldHeight,e]},{duration:.2}),this.oldHeight=e}),this.resizeObserver.observe(this.contentEl)}disconnectedCallback(){var t,e;(t=this.unsubscribe)==null||t.call(this),(e=this.resizeObserver)==null||e.disconnect()}get routerEl(){return Zt.getShadowRootElement(this,".wcm-router")}get contentEl(){return Zt.getShadowRootElement(this,".wcm-content")}viewTemplate(){switch(this.view){case"ConnectWallet":return q0``;case"DesktopConnecting":return q0``;case"MobileConnecting":return q0``;case"WebConnecting":return q0``;case"MobileQrcodeConnecting":return q0``;case"WalletExplorer":return q0``;case"Qrcode":return q0``;case"InstallWallet":return q0``;default:return q0`
Not Found
`}}async onChangeRoute(){await Bh(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=wf.state.view,Bh(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return q0`
${this.viewTemplate()}
`}};uD.styles=[ha.globalCss,C8n],Y8e([pc()],uD.prototype,"view",2),Y8e([pc()],uD.prototype,"prevView",2),uD=Y8e([pa("wcm-modal-router")],uD);R8n=Ca`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`,M8n=Object.defineProperty,B8n=Object.getOwnPropertyDescriptor,p20=(t,e,n,a)=>{for(var r=a>1?void 0:a?B8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&M8n(e,n,r),r},YV=class extends Tn{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=kh.subscribe(t=>{t.open?(this.open=!0,this.timeout=setTimeout(()=>kh.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var t;(t=this.unsubscribe)==null||t.call(this),clearTimeout(this.timeout),kh.closeToast()}render(){let{message:t,variant:e}=kh.state,n={"wcm-success":e==="success","wcm-error":e==="error"};return this.open?q0`
${e==="success"?tr.CHECKMARK_ICON:null} ${e==="error"?tr.CROSS_ICON:null}${t}
`:null}};YV.styles=[ha.globalCss,R8n],p20([pc()],YV.prototype,"open",2),YV=p20([pa("wcm-modal-toast")],YV);D8n=.1,h20=2.5,Ph=7;L8n={generate(t,e,n){let a="#141414",r="#ffffff",f=[],i=P8n(t,"Q"),s=e/i.length,o=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];o.forEach(({x:v,y:k})=>{let O=(i.length-Ph)*s*v,F=(i.length-Ph)*s*k,z=.45;for(let W=0;W`)}});let c=Math.floor((n+25)/s),d=i.length/2-c/2,l=i.length/2+c/2-1,h=[];i.forEach((v,k)=>{v.forEach((O,F)=>{if(i[k][F]&&!(ki.length-(Ph+1)&&Fi.length-(Ph+1))&&!(k>d&&kd&&F{y[v]?y[v].push(k):y[v]=[k]}),Object.entries(y).map(([v,k])=>{let O=k.filter(F=>k.every(z=>!$8e(F,z,s)));return[Number(v),O]}).forEach(([v,k])=>{k.forEach(O=>{f.push(Tf``)})}),Object.entries(y).filter(([v,k])=>k.length>1).map(([v,k])=>{let O=k.filter(F=>k.some(z=>$8e(F,z,s)));return[Number(v),O]}).map(([v,k])=>{k.sort((F,z)=>FW.some(j=>$8e(F,j,s)));z?z.push(F):O.push([F])}return[v,O.map(F=>[F[0],F[F.length-1]])]}).forEach(([v,k])=>{k.forEach(([O,F])=>{f.push(Tf``)})}),f}},F8n=Ca`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`,N8n=Object.defineProperty,O8n=Object.getOwnPropertyDescriptor,K_=(t,e,n,a)=>{for(var r=a>1?void 0:a?O8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&N8n(e,n,r),r},Lh=class extends Tn{constructor(){super(...arguments),this.uri="",this.size=0,this.imageId=void 0,this.walletId=void 0,this.imageUrl=void 0}svgTemplate(){let t=ap.state.themeMode==="light"?this.size:this.size-36;return Tf`${L8n.generate(this.uri,t,t/4)}`}render(){let t={"wcm-dark":ap.state.themeMode==="dark"};return q0`
${this.walletId||this.imageUrl?q0``:tr.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};Lh.styles=[ha.globalCss,F8n],K_([sn()],Lh.prototype,"uri",2),K_([sn({type:Number})],Lh.prototype,"size",2),K_([sn()],Lh.prototype,"imageId",2),K_([sn()],Lh.prototype,"walletId",2),K_([sn()],Lh.prototype,"imageUrl",2),Lh=K_([pa("wcm-qrcode")],Lh);U8n=Ca`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`,H8n=Object.defineProperty,z8n=Object.getOwnPropertyDescriptor,m20=(t,e,n,a)=>{for(var r=a>1?void 0:a?z8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&H8n(e,n,r),r},$V=class extends Tn{constructor(){super(...arguments),this.onChange=()=>null}render(){return q0` ${tr.SEARCH_ICON}`}};$V.styles=[ha.globalCss,U8n],m20([sn()],$V.prototype,"onChange",2),$V=m20([pa("wcm-search-input")],$V);W8n=Ca`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`,q8n=Object.defineProperty,j8n=Object.getOwnPropertyDescriptor,G8n=(t,e,n,a)=>{for(var r=a>1?void 0:a?j8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&q8n(e,n,r),r},J8e=class extends Tn{render(){return q0``}};J8e.styles=[ha.globalCss,W8n],J8e=G8n([pa("wcm-spinner")],J8e);K8n=Ca`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`,Q8n=Object.defineProperty,V8n=Object.getOwnPropertyDescriptor,X8e=(t,e,n,a)=>{for(var r=a>1?void 0:a?V8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Q8n(e,n,r),r},pD=class extends Tn{constructor(){super(...arguments),this.variant="medium-regular",this.color="primary"}render(){let t={"wcm-big-bold":this.variant==="big-bold","wcm-medium-regular":this.variant==="medium-regular","wcm-small-regular":this.variant==="small-regular","wcm-small-thin":this.variant==="small-thin","wcm-xsmall-regular":this.variant==="xsmall-regular","wcm-xsmall-bold":this.variant==="xsmall-bold","wcm-color-primary":this.color==="primary","wcm-color-secondary":this.color==="secondary","wcm-color-tertiary":this.color==="tertiary","wcm-color-inverse":this.color==="inverse","wcm-color-accnt":this.color==="accent","wcm-color-error":this.color==="error"};return q0``}};pD.styles=[ha.globalCss,K8n],X8e([sn()],pD.prototype,"variant",2),X8e([sn()],pD.prototype,"color",2),pD=X8e([pa("wcm-text")],pD);Y8n=Ca`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`,$8n=Object.defineProperty,J8n=Object.getOwnPropertyDescriptor,r4=(t,e,n,a)=>{for(var r=a>1?void 0:a?J8n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&$8n(e,n,r),r},ip=class extends Tn{constructor(){super(...arguments),this.onClick=()=>null,this.name="",this.walletId="",this.label=void 0,this.imageId=void 0,this.installed=!1,this.recent=!1}sublabelTemplate(){return this.recent?q0`RECENT`:this.installed?q0`INSTALLED`:null}handleClick(){Ipe.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var t;return q0``}};ip.styles=[ha.globalCss,Y8n],r4([sn()],ip.prototype,"onClick",2),r4([sn()],ip.prototype,"name",2),r4([sn()],ip.prototype,"walletId",2),r4([sn()],ip.prototype,"label",2),r4([sn()],ip.prototype,"imageId",2),r4([sn({type:Boolean})],ip.prototype,"installed",2),r4([sn({type:Boolean})],ip.prototype,"recent",2),ip=r4([pa("wcm-wallet-button")],ip);X8n=Ca`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,Z8n=Object.defineProperty,ehn=Object.getOwnPropertyDescriptor,JV=(t,e,n,a)=>{for(var r=a>1?void 0:a?ehn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Z8n(e,n,r),r},Q_=class extends Tn{constructor(){super(...arguments),this.walletId="",this.imageId=void 0,this.imageUrl=void 0}render(){var t;let e=(t=this.imageUrl)!=null&&t.length?this.imageUrl:Zt.getWalletIcon({id:this.walletId,image_id:this.imageId});return q0`${e.length?q0`
${this.id}
`:tr.WALLET_PLACEHOLDER}`}};Q_.styles=[ha.globalCss,X8n],JV([sn()],Q_.prototype,"walletId",2),JV([sn()],Q_.prototype,"imageId",2),JV([sn()],Q_.prototype,"imageUrl",2),Q_=JV([pa("wcm-wallet-image")],Q_);thn=Object.defineProperty,nhn=Object.getOwnPropertyDescriptor,b20=(t,e,n,a)=>{for(var r=a>1?void 0:a?nhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&thn(e,n,r),r},Z8e=class extends Tn{constructor(){super(),this.preload=!0,this.preloadData()}async loadImages(t){try{t!=null&&t.length&&await Promise.all(t.map(async e=>Zt.preloadImage(e)))}catch{console.info("Unsuccessful attempt at preloading some images",t)}}async preloadListings(){if(lc.state.enableExplorer){await uc.getRecomendedWallets(),Pf.setIsDataLoaded(!0);let{recomendedWallets:t}=uc.state,e=t.map(n=>Zt.getWalletIcon(n));await this.loadImages(e)}else Pf.setIsDataLoaded(!0)}async preloadCustomImages(){let t=Zt.getCustomImageUrls();await this.loadImages(t)}async preloadData(){try{this.preload&&(this.preload=!1,await Promise.all([this.preloadListings(),this.preloadCustomImages()]))}catch(t){console.error(t),kh.openToast("Failed preloading","error")}}};b20([pc()],Z8e.prototype,"preload",2),Z8e=b20([pa("wcm-explorer-context")],Z8e);ahn=Object.defineProperty,rhn=Object.getOwnPropertyDescriptor,fhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?rhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&ahn(e,n,r),r},y20=class extends Tn{constructor(){super(),this.unsubscribeTheme=void 0,ha.setTheme(),this.unsubscribeTheme=ap.subscribe(ha.setTheme)}disconnectedCallback(){var t;(t=this.unsubscribeTheme)==null||t.call(this)}};y20=fhn([pa("wcm-theme-context")],y20);ihn=Ca`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,shn=Object.defineProperty,ohn=Object.getOwnPropertyDescriptor,chn=(t,e,n,a)=>{for(var r=a>1?void 0:a?ohn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&shn(e,n,r),r},ehe=class extends Tn{onGoToQrcode(){wf.push("Qrcode")}render(){let{recomendedWallets:t}=uc.state,e=[...t,...t],n=gt.RECOMMENDED_WALLET_AMOUNT*2;return q0`
${tr.MOBILE_ICON}WalletConnect
${[...Array(n)].map((a,r)=>{let f=e[r%e.length];return f?q0``:tr.WALLET_PLACEHOLDER})}
Select Wallet
Choose WalletConnect to see supported apps on your device`}};ehe.styles=[ha.globalCss,ihn],ehe=chn([pa("wcm-android-wallet-selection")],ehe);dhn=Ca`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`,lhn=Object.defineProperty,uhn=Object.getOwnPropertyDescriptor,V_=(t,e,n,a)=>{for(var r=a>1?void 0:a?uhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&lhn(e,n,r),r},f4=class extends Tn{constructor(){super(...arguments),this.walletId=void 0,this.imageId=void 0,this.isError=!1,this.isStale=!1,this.label=""}svgLoaderTemplate(){var t,e;let n=(e=(t=ap.state.themeVariables)==null?void 0:t["--wcm-wallet-icon-large-border-radius"])!=null?e:ha.getPreset("--wcm-wallet-icon-large-border-radius"),a=0;n.includes("%")?a=88/100*parseInt(n,10):a=parseInt(n,10),a*=1.17;let r=317-a*1.57,f=425-a*1.8;return q0``}render(){let t={"wcm-error":this.isError,"wcm-stale":this.isStale};return q0`
${this.svgLoaderTemplate()}
${this.isError?"Connection declined":this.label}`}};f4.styles=[ha.globalCss,dhn],V_([sn()],f4.prototype,"walletId",2),V_([sn()],f4.prototype,"imageId",2),V_([sn({type:Boolean})],f4.prototype,"isError",2),V_([sn({type:Boolean})],f4.prototype,"isStale",2),V_([sn()],f4.prototype,"label",2),f4=V_([pa("wcm-connector-waiting")],f4);J_={manualWallets(){var t,e;let{mobileWallets:n,desktopWallets:a}=lc.state,r=(t=J_.recentWallet())==null?void 0:t.id,f=gt.isMobile()?n:a,i=f?.filter(s=>r!==s.id);return(e=gt.isMobile()?i?.map(({id:s,name:o,links:c})=>({id:s,name:o,mobile:c,links:c})):i?.map(({id:s,name:o,links:c})=>({id:s,name:o,desktop:c,links:c})))!=null?e:[]},recentWallet(){return Zt.getRecentWallet()},recomendedWallets(t=!1){var e;let n=t||(e=J_.recentWallet())==null?void 0:e.id,{recomendedWallets:a}=uc.state;return a.filter(r=>n!==r.id)}},i4={onConnecting(t){Zt.goToConnectingView(t)},manualWalletsTemplate(){return J_.manualWallets().map(t=>q0``)},recomendedWalletsTemplate(t=!1){return J_.recomendedWallets(t).map(e=>q0``)},recentWalletTemplate(){let t=J_.recentWallet();if(t)return q0``}},phn=Ca`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`,hhn=Object.defineProperty,mhn=Object.getOwnPropertyDescriptor,bhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?mhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&hhn(e,n,r),r},the=class extends Tn{render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=i4.manualWalletsTemplate(),r=i4.recomendedWalletsTemplate(),f=[i4.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>4||n,s=[];i?s=f.slice(0,3):s=f;let o=!!s.length;return q0`
${tr.MOBILE_ICON}Mobile
${tr.SCAN_ICON}Scan with your wallet
${o?q0`
${tr.DESKTOP_ICON}Desktop
${s} ${i?q0``:null}
`:null}`}};the.styles=[ha.globalCss,phn],the=bhn([pa("wcm-desktop-wallet-selection")],the);yhn=Ca`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`,ghn=Object.defineProperty,vhn=Object.getOwnPropertyDescriptor,whn=(t,e,n,a)=>{for(var r=a>1?void 0:a?vhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&ghn(e,n,r),r},nhe=class extends Tn{render(){let{termsOfServiceUrl:t,privacyPolicyUrl:e}=lc.state;return t??e?q0`
By connecting your wallet to this app, you agree to the app's ${t?q0`Terms of Service`:null} ${t&&e?"and":null} ${e?q0`Privacy Policy`:null}
`:null}};nhe.styles=[ha.globalCss,yhn],nhe=whn([pa("wcm-legal-notice")],nhe);Thn=Ca`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`,xhn=Object.defineProperty,Ehn=Object.getOwnPropertyDescriptor,_hn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Ehn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&xhn(e,n,r),r},ahe=class extends Tn{onQrcode(){wf.push("Qrcode")}render(){let{explorerExcludedWalletIds:t,enableExplorer:e}=lc.state,n=t!=="ALL"&&e,a=i4.manualWalletsTemplate(),r=i4.recomendedWalletsTemplate(),f=[i4.recentWalletTemplate(),...a,...r];f=f.filter(Boolean);let i=f.length>8||n,s=[];i?s=f.slice(0,7):s=f;let o=!!s.length;return q0`${o?q0`
${s} ${i?q0``:null}
`:null}`}};ahe.styles=[ha.globalCss,Thn],ahe=_hn([pa("wcm-mobile-wallet-selection")],ahe);Ahn=Ca`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`,Ihn=Object.defineProperty,Chn=Object.getOwnPropertyDescriptor,rhe=(t,e,n,a)=>{for(var r=a>1?void 0:a?Chn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Ihn(e,n,r),r},$_=class extends Tn{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=Ch.subscribe(t=>{t.open?this.onOpenModalEvent():this.onCloseModalEvent()})}disconnectedCallback(){var t;(t=this.unsubscribeModal)==null||t.call(this)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-overlay")}get containerEl(){return Zt.getShadowRootElement(this,".wcm-container")}toggleBodyScroll(t){document.querySelector("body")&&(t?document.getElementById("wcm-styles")?.remove():document.head.insertAdjacentHTML("beforeend",''))}onCloseModal(t){t.target===t.currentTarget&&Ch.close()}onOpenModalEvent(){this.toggleBodyScroll(!1),this.addKeyboardEvents(),this.open=!0,setTimeout(async()=>{let t=Zt.isMobileAnimation()?{y:["50vh","0vh"]}:{scale:[.98,1]},e=.1,n=.2;await Promise.all([Bh(this.overlayEl,{opacity:[0,1]},{delay:e,duration:n}).finished,Bh(this.containerEl,t,{delay:e,duration:n}).finished]),this.active=!0},0)}async onCloseModalEvent(){this.toggleBodyScroll(!0),this.removeKeyboardEvents();let t=Zt.isMobileAnimation()?{y:["0vh","50vh"]}:{scale:[1,.98]},e=.2;await Promise.all([Bh(this.overlayEl,{opacity:[1,0]},{duration:e}).finished,Bh(this.containerEl,t,{duration:e}).finished]),this.containerEl.removeAttribute("style"),this.active=!1,this.open=!1}addKeyboardEvents(){this.abortController=new AbortController,window.addEventListener("keydown",t=>{var e;t.key==="Escape"?Ch.close():t.key==="Tab"&&((e=t.target)!=null&&e.tagName.includes("wcm-")||this.containerEl.focus())},this.abortController),this.containerEl.focus()}removeKeyboardEvents(){var t;(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){let t={"wcm-overlay":!0,"wcm-active":this.active};return q0`
${this.open?q0`
`:null}
`}};$_.styles=[ha.globalCss,Ahn],rhe([pc()],$_.prototype,"open",2),rhe([pc()],$_.prototype,"active",2),$_=rhe([pa("wcm-modal")],$_);khn=Ca`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`,Shn=Object.defineProperty,Rhn=Object.getOwnPropertyDescriptor,hD=(t,e,n,a)=>{for(var r=a>1?void 0:a?Rhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Shn(e,n,r),r},wg=class extends Tn{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){gt.isMobile()?wf.replace("MobileConnecting"):wf.replace("MobileQrcodeConnecting")}onDesktop(){wf.replace("DesktopConnecting")}onWeb(){wf.replace("WebConnecting")}render(){return q0`
${this.isRetry?q0``:null} ${this.isMobile?q0`Mobile`:null} ${this.isDesktop?q0`Desktop`:null} ${this.isWeb?q0`Web`:null}
`}};wg.styles=[ha.globalCss,khn],hD([sn({type:Boolean})],wg.prototype,"isMobile",2),hD([sn({type:Boolean})],wg.prototype,"isDesktop",2),hD([sn({type:Boolean})],wg.prototype,"isWeb",2),hD([sn({type:Boolean})],wg.prototype,"isRetry",2),wg=hD([pa("wcm-platform-selection")],wg);Mhn=Ca`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`,Bhn=Object.defineProperty,Dhn=Object.getOwnPropertyDescriptor,Phn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Dhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Bhn(e,n,r),r},fhe=class extends Tn{onClick(){wf.push("WalletExplorer")}render(){let{recomendedWallets:t}=uc.state,e=J_.manualWallets(),n=[...t,...e].reverse().slice(0,4);return q0``}};fhe.styles=[ha.globalCss,Mhn],fhe=Phn([pa("wcm-view-all-wallets-button")],fhe);Lhn=Ca`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`,Fhn=Object.defineProperty,Nhn=Object.getOwnPropertyDescriptor,XV=(t,e,n,a)=>{for(var r=a>1?void 0:a?Nhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Fhn(e,n,r),r},Y_=class extends Tn{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:t}=Pf.state;this.uri=t},0)}get overlayEl(){return Zt.getShadowRootElement(this,".wcm-qr-container")}render(){return q0`
${this.uri?q0``:q0``}
`}};Y_.styles=[ha.globalCss,Lhn],XV([sn()],Y_.prototype,"walletId",2),XV([sn()],Y_.prototype,"imageId",2),XV([pc()],Y_.prototype,"uri",2),Y_=XV([pa("wcm-walletconnect-qr")],Y_);Ohn=Object.defineProperty,Uhn=Object.getOwnPropertyDescriptor,Hhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Uhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Ohn(e,n,r),r},ihe=class extends Tn{viewTemplate(){return gt.isAndroid()?q0``:gt.isMobile()?q0``:q0``}render(){return q0`${this.viewTemplate()}`}};ihe.styles=[ha.globalCss],ihe=Hhn([pa("wcm-connect-wallet-view")],ihe);zhn=Ca`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Whn=Object.defineProperty,qhn=Object.getOwnPropertyDescriptor,g20=(t,e,n,a)=>{for(var r=a>1?void 0:a?qhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Whn(e,n,r),r},ZV=class extends Tn{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.native;if(a){let r=gt.formatNativeUrl(a,t,n);gt.openHref(r,"_self")}}openDesktopApp(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Connection can continue loading if ${t} is not installed on your device`}Retry`}};ZV.styles=[ha.globalCss,zhn],g20([pc()],ZV.prototype,"isError",2),ZV=g20([pa("wcm-desktop-connecting-view")],ZV);jhn=Ca`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`,Ghn=Object.defineProperty,Khn=Object.getOwnPropertyDescriptor,Qhn=(t,e,n,a)=>{for(var r=a>1?void 0:a?Khn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Ghn(e,n,r),r},she=class extends Tn{onInstall(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,homepage:a}=gt.getWalletRouterData();return q0`${`Download ${t} to continue. If multiple browser extensions are installed, disable non ${t} ones and try again`}Download`}};she.styles=[ha.globalCss,jhn],she=Qhn([pa("wcm-install-wallet-view")],she);Vhn=Ca`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`,Yhn=Object.defineProperty,$hn=Object.getOwnPropertyDescriptor,v20=(t,e,n,a)=>{for(var r=a>1?void 0:a?$hn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Yhn(e,n,r),r},eY=class extends Tn{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(t,e=!1){let{mobile:n,name:a}=gt.getWalletRouterData(),r=n?.native,f=n?.universal;if(r&&!e){let i=gt.formatNativeUrl(r,t,a);gt.openHref(i,"_self")}else if(f){let i=gt.formatUniversalUrl(f,t,a);gt.openHref(i,"_self")}}openMobileApp(t=!1){let{walletConnectUri:e}=Pf.state,n=gt.getWalletRouterData();Zt.setRecentWallet(n),e&&this.onFormatAndRedirect(e,t)}onGoToAppStore(t){t&>.openHref(t,"_blank")}render(){let{name:t,id:e,image_id:n,app:a,mobile:r}=gt.getWalletRouterData(),{isWeb:f}=Zt.getCachedRouterWalletPlatforms(),i=a?.ios,s=r?.universal;return q0`Retry${s?q0`Still doesn't work? Try this alternate link`:null}
${`Get ${t}`}
App Store
`}};eY.styles=[ha.globalCss,Vhn],v20([pc()],eY.prototype,"isError",2),eY=v20([pa("wcm-mobile-connecting-view")],eY);Jhn=Ca`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,Xhn=Object.defineProperty,Zhn=Object.getOwnPropertyDescriptor,e3n=(t,e,n,a)=>{for(var r=a>1?void 0:a?Zhn(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&Xhn(e,n,r),r},ohe=class extends Tn{render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isDesktop:a,isWeb:r}=Zt.getCachedRouterWalletPlatforms();return q0`${`Scan this QR Code with your phone's camera or inside ${t} app`}`}};ohe.styles=[ha.globalCss,Jhn],ohe=e3n([pa("wcm-mobile-qr-connecting-view")],ohe);t3n=Object.defineProperty,n3n=Object.getOwnPropertyDescriptor,a3n=(t,e,n,a)=>{for(var r=a>1?void 0:a?n3n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&t3n(e,n,r),r},che=class extends Tn{render(){return q0``}};che.styles=[ha.globalCss],che=a3n([pa("wcm-qrcode-view")],che);r3n=Ca`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`,f3n=Object.defineProperty,i3n=Object.getOwnPropertyDescriptor,mD=(t,e,n,a)=>{for(var r=a>1?void 0:a?i3n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&f3n(e,n,r),r},dhe=40,Tg=class extends Tn{constructor(){super(...arguments),this.loading=!uc.state.wallets.listings.length,this.firstFetch=!uc.state.wallets.listings.length,this.search="",this.endReached=!1,this.intersectionObserver=void 0,this.searchDebounce=Zt.debounce(t=>{t.length>=1?(this.firstFetch=!0,this.endReached=!1,this.search=t,uc.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),uc.resetSearch())})}firstUpdated(){this.createPaginationObserver()}disconnectedCallback(){var t;(t=this.intersectionObserver)==null||t.disconnect()}get placeholderEl(){return Zt.getShadowRootElement(this,".wcm-placeholder-block")}createPaginationObserver(){this.intersectionObserver=new IntersectionObserver(([t])=>{t.isIntersecting&&!(this.search&&this.firstFetch)&&this.fetchWallets()}),this.intersectionObserver.observe(this.placeholderEl)}isLastPage(){let{wallets:t,search:e}=uc.state,{listings:n,total:a}=this.search?e:t;return a<=dhe||n.length>=a}async fetchWallets(){var t;let{wallets:e,search:n}=uc.state,{listings:a,total:r,page:f}=this.search?n:e;if(!this.endReached&&(this.firstFetch||r>dhe&&a.lengthZt.getWalletIcon(c));await Promise.all([...o.map(async c=>Zt.preloadImage(c)),gt.wait(300)]),this.endReached=this.isLastPage()}catch(i){console.error(i),kh.openToast(Zt.getErrorMessage(i),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(t){gt.isAndroid()?Zt.handleMobileLinking(t):Zt.goToConnectingView(t)}onSearchChange(t){let{value:e}=t.target;this.searchDebounce(e)}render(){let{wallets:t,search:e}=uc.state,{listings:n}=this.search?e:t,a=this.loading&&!n.length,r=this.search.length>=3,f=i4.manualWalletsTemplate(),i=i4.recomendedWalletsTemplate(!0);r&&(f=f.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)),i=i.filter(({values:c})=>Zt.caseSafeIncludes(c[0],this.search)));let s=!this.loading&&!n.length&&!i.length,o={"wcm-loading":a,"wcm-end-reached":this.endReached||!this.loading,"wcm-empty":s};return q0`
${a?null:f} ${a?null:i} ${a?null:n.map(c=>q0`${c?q0``:null}`)}
${s?q0`No results found`:null} ${!s&&this.loading?q0``:null}
`}};Tg.styles=[ha.globalCss,r3n],mD([pc()],Tg.prototype,"loading",2),mD([pc()],Tg.prototype,"firstFetch",2),mD([pc()],Tg.prototype,"search",2),mD([pc()],Tg.prototype,"endReached",2),Tg=mD([pa("wcm-wallet-explorer-view")],Tg);s3n=Ca`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`,o3n=Object.defineProperty,c3n=Object.getOwnPropertyDescriptor,w20=(t,e,n,a)=>{for(var r=a>1?void 0:a?c3n(e,n):e,f=t.length-1,i;f>=0;f--)(i=t[f])&&(r=(a?i(e,n,r):i(r))||r);return a&&r&&o3n(e,n,r),r},tY=class extends Tn{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(t){let{desktop:e,name:n}=gt.getWalletRouterData(),a=e?.universal;if(a){let r=gt.formatUniversalUrl(a,t,n);gt.openHref(r,"_blank")}}openWebWallet(){let{walletConnectUri:t}=Pf.state,e=gt.getWalletRouterData();Zt.setRecentWallet(e),t&&this.onFormatAndRedirect(t)}render(){let{name:t,id:e,image_id:n}=gt.getWalletRouterData(),{isMobile:a,isDesktop:r}=Zt.getCachedRouterWalletPlatforms(),f=gt.isMobile();return q0`${`${t} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};tY.styles=[ha.globalCss,s3n],w20([pc()],tY.prototype,"isError",2),tY=w20([pa("wcm-web-connecting-view")],tY)});var _20={};G0(_20,{WalletConnectModal:()=>lhe});var lhe,A20=oe(()=>{u();p();Cpe();lhe=class{constructor(e){this.openModal=Ch.open,this.closeModal=Ch.close,this.subscribeModal=Ch.subscribe,this.setTheme=ap.setThemeConfig,ap.setThemeConfig(e),lc.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await Promise.resolve().then(()=>(E20(),x20));let e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),Pf.setIsUiLoaded(!0)}}}});var M20={};G0(M20,{EthereumProvider:()=>w3n,OPTIONAL_EVENTS:()=>R20,OPTIONAL_METHODS:()=>S20,REQUIRED_EVENTS:()=>rY,REQUIRED_METHODS:()=>aY,default:()=>iY});function fY(t){return Number(t[0].split(":")[1])}function nY(t){return`0x${t.toString(16)}`}function v3n(t){let{chains:e,optionalChains:n,methods:a,optionalMethods:r,events:f,optionalEvents:i,rpcMap:s}=t;if(!z6(e))throw new Error("Invalid chains");let o={chains:e,methods:a||aY,events:f||rY,rpcMap:X_({},e.length?{[fY(e)]:s[fY(e)]}:{})},c=f?.filter(y=>!rY.includes(y)),d=a?.filter(y=>!aY.includes(y));if(!n&&!i&&!r&&!(c!=null&&c.length)&&!(d!=null&&d.length))return{required:e.length?o:void 0};let l=c?.length&&d?.length||!n,h={chains:[...new Set(l?o.chains.concat(n||[]):n)],methods:[...new Set(o.methods.concat(r!=null&&r.length?r:S20))],events:[...new Set(o.events.concat(i!=null&&i.length?i:R20))],rpcMap:s};return{required:e.length?o:void 0,optional:n.length?h:void 0}}var k20,d3n,l3n,u3n,p3n,aY,S20,rY,R20,h3n,m3n,b3n,I20,y3n,g3n,C20,X_,uhe,iY,w3n,B20=oe(()=>{u();p();k20=Ee(Or());BB();Yd0();d3n="wc",l3n="ethereum_provider",u3n=`${d3n}@2:${l3n}:`,p3n="https://rpc.walletconnect.com/v1/",aY=["eth_sendTransaction","personal_sign"],S20=["eth_accounts","eth_requestAccounts","eth_sendRawTransaction","eth_sign","eth_signTransaction","eth_signTypedData","eth_signTypedData_v3","eth_signTypedData_v4","eth_sendTransaction","personal_sign","wallet_switchEthereumChain","wallet_addEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"],rY=["chainChanged","accountsChanged"],R20=["chainChanged","accountsChanged","message","disconnect","connect"],h3n=Object.defineProperty,m3n=Object.defineProperties,b3n=Object.getOwnPropertyDescriptors,I20=Object.getOwnPropertySymbols,y3n=Object.prototype.hasOwnProperty,g3n=Object.prototype.propertyIsEnumerable,C20=(t,e,n)=>e in t?h3n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,X_=(t,e)=>{for(var n in e||(e={}))y3n.call(e,n)&&C20(t,n,e[n]);if(I20)for(var n of I20(e))g3n.call(e,n)&&C20(t,n,e[n]);return t},uhe=(t,e)=>m3n(t,b3n(e));iY=class t{constructor(){this.events=new k20.EventEmitter,this.namespace="eip155",this.accounts=[],this.chainId=1,this.STORAGE_KEY=u3n,this.on=(e,n)=>(this.events.on(e,n),this),this.once=(e,n)=>(this.events.once(e,n),this),this.removeListener=(e,n)=>(this.events.removeListener(e,n),this),this.off=(e,n)=>(this.events.off(e,n),this),this.parseAccount=e=>this.isCompatibleChainId(e)?this.parseAccountId(e).address:e,this.signer={},this.rpc={}}static async init(e){let n=new t;return await n.initialize(e),n}async request(e,n){return await this.signer.request(e,this.formatChainId(this.chainId),n)}sendAsync(e,n,a){this.signer.sendAsync(e,n,this.formatChainId(this.chainId),a)}get connected(){return this.signer.client?this.signer.client.core.relayer.connected:!1}get connecting(){return this.signer.client?this.signer.client.core.relayer.connecting:!1}async enable(){return this.session||await this.connect(),await this.request({method:"eth_requestAccounts"})}async connect(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts(e);let{required:n,optional:a}=v3n(this.rpc);try{let r=await new Promise(async(i,s)=>{var o;this.rpc.showQrModal&&((o=this.modal)==null||o.subscribeModal(c=>{!c.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),s(new Error("Connection request reset. Please try again.")))})),await this.signer.connect(uhe(X_({namespaces:X_({},n&&{[this.namespace]:n})},a&&{optionalNamespaces:{[this.namespace]:a}}),{pairingTopic:e?.pairingTopic})).then(c=>{i(c)}).catch(c=>{s(new Error(c.message))})});if(!r)return;let f=Nue(r.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:f),this.setAccounts(f),this.events.emit("connect",{chainId:nY(this.chainId)})}catch(r){throw this.signer.logger.error(r),r}finally{this.modal&&this.modal.closeModal()}}async authenticate(e){if(!this.signer.client)throw new Error("Provider not initialized. Call init() first");this.loadConnectOpts({chains:e?.chains});try{let n=await new Promise(async(r,f)=>{var i;this.rpc.showQrModal&&((i=this.modal)==null||i.subscribeModal(s=>{!s.open&&!this.signer.session&&(this.signer.abortPairingAttempt(),f(new Error("Connection request reset. Please try again.")))})),await this.signer.authenticate(uhe(X_({},e),{chains:this.rpc.chains})).then(s=>{r(s)}).catch(s=>{f(new Error(s.message))})}),a=n.session;if(a){let r=Nue(a.namespaces,[this.namespace]);this.setChainIds(this.rpc.chains.length?this.rpc.chains:r),this.setAccounts(r),this.events.emit("connect",{chainId:nY(this.chainId)})}return n}catch(n){throw this.signer.logger.error(n),n}finally{this.modal&&this.modal.closeModal()}}async disconnect(){this.session&&await this.signer.disconnect(),this.reset()}get isWalletConnect(){return!0}get session(){return this.signer.session}registerEventListeners(){this.signer.on("session_event",e=>{let{params:n}=e,{event:a}=n;a.name==="accountsChanged"?(this.accounts=this.parseAccounts(a.data),this.events.emit("accountsChanged",this.accounts)):a.name==="chainChanged"?this.setChainId(this.formatChainId(a.data)):this.events.emit(a.name,a.data),this.events.emit("session_event",e)}),this.signer.on("chainChanged",e=>{let n=parseInt(e);this.chainId=n,this.events.emit("chainChanged",nY(this.chainId)),this.persist()}),this.signer.on("session_update",e=>{this.events.emit("session_update",e)}),this.signer.on("session_delete",e=>{this.reset(),this.events.emit("session_delete",e),this.events.emit("disconnect",uhe(X_({},Ia("USER_DISCONNECTED")),{data:e.topic,name:"USER_DISCONNECTED"}))}),this.signer.on("display_uri",e=>{var n,a;this.rpc.showQrModal&&((n=this.modal)==null||n.closeModal(),(a=this.modal)==null||a.openModal({uri:e})),this.events.emit("display_uri",e)})}switchEthereumChain(e){this.request({method:"wallet_switchEthereumChain",params:[{chainId:e.toString(16)}]})}isCompatibleChainId(e){return typeof e=="string"?e.startsWith(`${this.namespace}:`):!1}formatChainId(e){return`${this.namespace}:${e}`}parseChainId(e){return Number(e.split(":")[1])}setChainIds(e){let n=e.filter(a=>this.isCompatibleChainId(a)).map(a=>this.parseChainId(a));n.length&&(this.chainId=n[0],this.events.emit("chainChanged",nY(this.chainId)),this.persist())}setChainId(e){if(this.isCompatibleChainId(e)){let n=this.parseChainId(e);this.chainId=n,this.switchEthereumChain(n)}}parseAccountId(e){let[n,a,r]=e.split(":");return{chainId:`${n}:${a}`,address:r}}setAccounts(e){this.accounts=e.filter(n=>this.parseChainId(this.parseAccountId(n).chainId)===this.chainId).map(n=>this.parseAccountId(n).address),this.events.emit("accountsChanged",this.accounts)}getRpcConfig(e){var n,a;let r=(n=e?.chains)!=null?n:[],f=(a=e?.optionalChains)!=null?a:[],i=r.concat(f);if(!i.length)throw new Error("No chains specified in either `chains` or `optionalChains`");let s=r.length?e?.methods||aY:[],o=r.length?e?.events||rY:[],c=e?.optionalMethods||[],d=e?.optionalEvents||[],l=e?.rpcMap||this.buildRpcMap(i,e.projectId),h=e?.qrModalOptions||void 0;return{chains:r?.map(y=>this.formatChainId(y)),optionalChains:f.map(y=>this.formatChainId(y)),methods:s,events:o,optionalMethods:c,optionalEvents:d,rpcMap:l,showQrModal:!!(e!=null&&e.showQrModal),qrModalOptions:h,projectId:e.projectId,metadata:e.metadata}}buildRpcMap(e,n){let a={};return e.forEach(r=>{a[r]=this.getRpcUrl(r,n)}),a}async initialize(e){if(this.rpc=this.getRpcConfig(e),this.chainId=this.rpc.chains.length?fY(this.rpc.chains):fY(this.rpc.optionalChains),this.signer=await Vd0.init({projectId:this.rpc.projectId,metadata:this.rpc.metadata,disableProviderPing:e.disableProviderPing,relayUrl:e.relayUrl,storageOptions:e.storageOptions}),this.registerEventListeners(),await this.loadPersistedSession(),this.rpc.showQrModal){let n;try{let{WalletConnectModal:a}=await Promise.resolve().then(()=>(A20(),_20));n=a}catch{throw new Error("To use QR modal, please install @walletconnect/modal package")}if(n)try{this.modal=new n(X_({projectId:this.rpc.projectId},this.rpc.qrModalOptions))}catch(a){throw this.signer.logger.error(a),new Error("Could not generate WalletConnectModal Instance")}}}loadConnectOpts(e){if(!e)return;let{chains:n,optionalChains:a,rpcMap:r}=e;n&&z6(n)&&(this.rpc.chains=n.map(f=>this.formatChainId(f)),n.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)})),a&&z6(a)&&(this.rpc.optionalChains=[],this.rpc.optionalChains=a?.map(f=>this.formatChainId(f)),a.forEach(f=>{this.rpc.rpcMap[f]=r?.[f]||this.getRpcUrl(f)}))}getRpcUrl(e,n){var a;return((a=this.rpc.rpcMap)==null?void 0:a[e])||`${p3n}?chainId=eip155:${e}&projectId=${n||this.rpc.projectId}`}async loadPersistedSession(){if(this.session)try{let e=await this.signer.client.core.storage.getItem(`${this.STORAGE_KEY}/chainId`),n=this.session.namespaces[`${this.namespace}:${e}`]?this.session.namespaces[`${this.namespace}:${e}`]:this.session.namespaces[this.namespace];this.setChainIds(e?[this.formatChainId(e)]:n?.accounts),this.setAccounts(n?.accounts)}catch(e){this.signer.logger.error("Failed to load persisted session, clearing state..."),this.signer.logger.error(e),await this.disconnect().catch(n=>this.signer.logger.warn(n))}}reset(){this.chainId=1,this.accounts=[]}persist(){this.session&&this.signer.client.core.storage.setItem(`${this.STORAGE_KEY}/chainId`,this.chainId)}parseAccounts(e){return typeof e=="string"||e instanceof String?[this.parseAccount(e)]:e.map(n=>this.parseAccount(n))}},w3n=iY});var j6={};G0(j6,{WalletConnectConnector:()=>mhe});var Fh,T3n,D20,P20,phe,hhe,mhe,G6=oe(()=>{"use strict";u();p();It();mo();Fh=Ee(Je());wn();uh();z9();W0();T3n=new Set([1,137,10,42161,56]),D20="eip155",P20="wagmi.requestedChains",phe="wallet_addEthereumChain",hhe="last-used-chain-id",mhe=class extends t6{constructor(e){super({...e,options:{isNewChainsStale:!0,...e.options}}),Pe(this,"id",U0.walletConnect),Pe(this,"name","WalletConnect"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",n=>{n.length===0?this.emit("disconnect"):n[0]&&this.emit("change",{account:Fh.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",async n=>{let a=Number(n),r=this.isChainUnsupported(a);await this._storage.setItem(hhe,String(n)),this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{await this._setRequestedChainsIds([]),await this._storage.removeItem(hhe),this.emit("disconnect")}),Pe(this,"onDisplayUri",n=>{this.emit("message",{type:"display_uri",data:n})}),Pe(this,"onConnect",()=>{this.emit("connect",{provider:this._provider})}),this._storage=e.options.storage,this._createProvider(),this.filteredChains=this.chains.length>50?this.chains.filter(n=>T3n.has(n.chainId)):this.chains,this.showWalletConnectModal=this.options.qrcode!==!1}async connect(){let{chainId:e,pairingTopic:n}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let a=e;if(!a){let c=await this._storage.getItem(hhe),d=c?parseInt(c):void 0;d&&!this.isChainUnsupported(d)?a=d:a=this.filteredChains[0]?.chainId}if(!a)throw new Error("No chains found on connector.");let r=await this.getProvider();if(this.setupListeners(),r.session){await r.disconnect();let c=this.filteredChains.filter(d=>d.chainId!==a).map(d=>d.chainId);this.emit("message",{type:"connecting"}),await r.connect({pairingTopic:n,chains:[a],optionalChains:c.length>0?c:[a]}),await this._setRequestedChainsIds(this.filteredChains.map(d=>{let{chainId:l}=d;return l}))}let f=await r.enable();if(!f[0])throw new Error("No accounts found on provider.");let i=Fh.utils.getAddress(f[0]),s=await this.getChainId(),o=this.isChainUnsupported(s);return{account:i,chain:{id:s,unsupported:o},provider:new Fh.providers.Web3Provider(r)}}catch(a){throw/user rejected/i.test(a?.message)?new _t(a):a}}async disconnect(){let e=()=>{if(!(typeof localStorage>"u"))for(let r in localStorage)r.startsWith("wc@2")&&localStorage.removeItem(r)};e();let n=await this.getProvider();(async()=>{try{await n.disconnect()}catch(r){if(!/No matching key/i.test(r.message))throw r}finally{this._removeListeners(),await this._setRequestedChainsIds([]),e()}})()}async getAccount(){let{accounts:e}=await this.getProvider();if(!e[0])throw new Error("No accounts found on provider.");return Fh.utils.getAddress(e[0])}async getChainId(){let{chainId:e}=await this.getProvider();return e}async getProvider(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._provider||await this._createProvider(),e&&await this.switchChain(e),!this._provider)throw new Error("No provider found.");return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider({chainId:e}),this.getAccount()]);return new Fh.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{let[e,n]=await Promise.all([this.getAccount(),this.getProvider()]),a=await this._isChainsStale();if(!e)return!1;if(a&&n.session){try{await n.disconnect()}catch{}return!1}return!0}catch{return!1}}async switchChain(e){let n=this.chains.find(a=>a.chainId===e);if(!n)throw new ic(`Chain with ID: ${e}, not found on connector.`);try{let a=await this.getProvider(),r=this._getNamespaceChainsIds(),f=this._getNamespaceMethods();if(!r.includes(e)&&f.includes(phe)){let s=n.explorers&&n.explorers[0],o=s?{blockExplorerUrls:[s.url]}:{};await a.request({method:phe,params:[{chainId:Fh.utils.hexValue(n.chainId),chainName:n.name,nativeCurrency:n.nativeCurrency,rpcUrls:F2(n),...o}]});let c=await this._getRequestedChainsIds();c.push(e),await this._setRequestedChainsIds(c)}return await a.request({method:"wallet_switchEthereumChain",params:[{chainId:Fh.utils.hexValue(e)}]}),n}catch(a){let r=typeof a=="string"?a:a?.message;throw/user rejected request/i.test(r)?new _t(a):new ic(a)}}async _createProvider(){return this._initProviderPromise||(this._initProviderPromise=this.initProvider()),this._initProviderPromise}async initProvider(){let{default:e,OPTIONAL_EVENTS:n,OPTIONAL_METHODS:a}=await Promise.resolve().then(()=>(B20(),M20)),[r,...f]=this.filteredChains.map(i=>{let{chainId:s}=i;return s});r&&(this._provider=await e.init({showQrModal:this.showWalletConnectModal,projectId:this.options.projectId,methods:["eth_sendTransaction","personal_sign","eth_signTypedData_v4"],optionalMethods:a,optionalEvents:n,chains:[r],optionalChains:f,metadata:{name:this.options.dappMetadata.name,description:this.options.dappMetadata.description||"",url:this.options.dappMetadata.url,icons:[this.options.dappMetadata.logoUrl||""]},rpcMap:Object.fromEntries(this.filteredChains.map(i=>[i.chainId,i.rpc[0]||""])),qrModalOptions:this.options.qrModalOptions}))}async _isChainsStale(){if(this._getNamespaceMethods().includes(phe)||!this.options.isNewChainsStale)return!1;let n=await this._getRequestedChainsIds(),a=this.filteredChains.map(f=>{let{chainId:i}=f;return i}),r=this._getNamespaceChainsIds();return r.length&&!r.some(f=>a.includes(f))?!1:!a.every(f=>n.includes(f))}async setupListeners(){this._provider&&(this._removeListeners(),this._provider.on("accountsChanged",this.onAccountsChanged),this._provider.on("chainChanged",this.onChainChanged),this._provider.on("disconnect",this.onDisconnect),this._provider.on("session_delete",this.onDisconnect),this._provider.on("display_uri",this.onDisplayUri),this._provider.on("connect",this.onConnect))}_removeListeners(){this._provider&&(this._provider.removeListener("accountsChanged",this.onAccountsChanged),this._provider.removeListener("chainChanged",this.onChainChanged),this._provider.removeListener("disconnect",this.onDisconnect),this._provider.removeListener("session_delete",this.onDisconnect),this._provider.removeListener("display_uri",this.onDisplayUri),this._provider.removeListener("connect",this.onConnect))}async _setRequestedChainsIds(e){await this._storage.setItem(P20,JSON.stringify(e))}async _getRequestedChainsIds(){let e=await this._storage.getItem(P20);return e?JSON.parse(e):[]}_getNamespaceChainsIds(){return this._provider?this._provider.session?.namespaces[D20]?.chains?.map(n=>parseInt(n.split(":")[1]||""))??[]:[]}_getNamespaceMethods(){return this._provider?this._provider.session?.namespaces[D20]?.methods??[]:[]}}});function sY(){if(globalThis.window&&globalThis.window.xfi&&globalThis.window.xfi.ethereum)return globalThis.window.xfi.ethereum}var bhe=oe(()=>{"use strict";u();p()});function oY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.okxwallet)return window.okxwallet}var yhe=oe(()=>{"use strict";u();p();h1()});var F20={};G0(F20,{OKXConnector:()=>ghe});var L20,ghe,N20=oe(()=>{"use strict";u();p();It();mo();wn();m1();L20=Ee(Je());yhe();W0();ghe=class extends Ga{constructor(e){let a={...{name:"OKX",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:oY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.okx)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=L20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function dY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.avalanche)return window.avalanche}var vhe=oe(()=>{"use strict";u();p();h1()});var U20={};G0(U20,{CoreWalletConnector:()=>whe});var O20,whe,H20=oe(()=>{"use strict";u();p();It();mo();wn();m1();O20=Ee(Je());vhe();W0();whe=class extends Ga{constructor(e){let a={...{name:"Core Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:dY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coreWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=O20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async switchAccount(){await(await this.getProvider()).request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}}});function uY(){if(Za(globalThis.window)&&globalThis.window.$onekey&&globalThis.window.$onekey.ethereum)return globalThis.window.$onekey.ethereum}var The=oe(()=>{"use strict";u();p();h1()});var W20={};G0(W20,{OneKeyConnector:()=>xhe});var z20,xhe,q20=oe(()=>{"use strict";u();p();It();mo();wn();m1();z20=Ee(Je());The();W0();xhe=class extends Ga{constructor(e){let a={...{name:"OneKey Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:uY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.oneKey)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=z20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function hY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.deficonnectProvider)return window.deficonnectProvider}var Ehe=oe(()=>{"use strict";u();p();h1()});var G20={};G0(G20,{CryptoDefiWalletConnector:()=>_he});var j20,_he,K20=oe(()=>{"use strict";u();p();It();mo();wn();m1();j20=Ee(Je());Ehe();W0();_he=class extends Ga{constructor(e){let a={...{name:"Crypto Defi Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:hY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.cryptoDefiWallet)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=j20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function bY(){if(Za(globalThis.window)&&globalThis.window.ethereum&&window.rabby)return window.rabby}var Ahe=oe(()=>{"use strict";u();p();h1()});var V20={};G0(V20,{RabbyConnector:()=>Ihe});var Q20,Ihe,Y20=oe(()=>{"use strict";u();p();It();mo();wn();m1();Q20=Ee(Je());Ahe();W0();Ihe=class extends Ga{constructor(e){let a={...{name:"Rabby Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:bY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.rabby)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=Q20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function yY(){if(Za(globalThis.window)&&window.coin98)return window.ethereum}var Che=oe(()=>{"use strict";u();p();h1()});var J20={};G0(J20,{Coin98Connector:()=>khe});var $20,khe,X20=oe(()=>{"use strict";u();p();It();mo();wn();m1();$20=Ee(Je());Che();W0();khe=class extends Ga{constructor(e){let a={...{name:"Coin98 Wallet",shimDisconnect:!0,shimChainChangedDisconnect:!0,getProvider:yY},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage}),Pe(this,"id",U0.coin98)}async connect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=null;if(this.options?.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey)&&(a=await this.getAccount().catch(()=>null),!!a))try{await n.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]})}catch(o){if(this.isUserRejectedRequestError(o))throw new _t(o)}if(!a){let s=await n.request({method:"eth_requestAccounts"});a=$20.utils.getAddress(s[0])}let r=await this.getChainId(),f=this.isChainUnsupported(r);if(e.chainId&&r!==e.chainId)try{await this.switchChain(e.chainId),r=e.chainId,f=this.isChainUnsupported(e.chainId)}catch(s){console.error(`Could not switch to chain id : ${e.chainId}`,s)}this.options?.shimDisconnect&&await this.connectorStorage.setItem(this.shimDisconnectKey,"true");let i={chain:{id:r,unsupported:f},provider:n,account:a};return this.emit("connect",i),i}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}}});function vY(){if(globalThis.window&&globalThis.window.magicEden&&globalThis.window.magicEden.ethereum)return globalThis.window.magicEden.ethereum}var She=oe(()=>{"use strict";u();p()});function wY(){let t=window.phantom?.ethereum;if(t?.isPhantom)return t}var Rhe=oe(()=>{"use strict";u();p()});function TY(){function t(e){if(e?.isRainbow&&!(e.isBraveWallet&&!e._events&&!e._state)&&!e.isPhantom&&!e.isAvalanche&&!e.isBitKeep&&!e.isMathWallet&&!e.isZerion&&!e.isKuCoinWallet&&!e.isPortal&&!e.isTokenPocket&&!e.isTokenary)return e}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(t):t(globalThis.window.ethereum)}var Mhe=oe(()=>{"use strict";u();p();h1()});var lp0={};G0(lp0,{AUTH_TOKEN_LOCAL_STORAGE_NAME:()=>_Y,AuthProvider:()=>rp0,DEVICE_SHARE_LOCAL_STORAGE_NAME:()=>AY,DEVICE_SHARE_LOCAL_STORAGE_NAME_DEPRECATED:()=>S3n,PaperEmbeddedWalletSdk:()=>U3n,RecoveryShareManagement:()=>bD,UserStatus:()=>eA,UserWalletStatus:()=>fp0,WALLET_USER_DETAILS_LOCAL_STORAGE_NAME:()=>C3n,WALLET_USER_ID_LOCAL_STORAGE_NAME:()=>EY});function xY(t){return new Promise(e=>{setTimeout(e,t*1e3)})}function D3n({clientId:t,path:e,queryParams:n}){var a;let r=new URL(e,H2());if(n)for(let f of Object.keys(n))r.searchParams.set(f,((a=n[f])==null?void 0:a.toString())||"");return r.searchParams.set("clientId",t),r}var sp0,op0,cp0,x3n,E3n,_3n,Z20,A3n,I3n,ep0,s4,IY,xt,CY,xVa,C3n,EY,k3n,_Y,ap0,AY,S3n,bD,rp0,eA,fp0,tp0,Dhe,R3n,Bhe,M3n,B3n,P3n,ip0,L3n,F3n,N3n,np0,dp0,O3n,U3n,Phe=oe(()=>{u();p();l_();l_();l_();sp0=Ee(oz(),1);l_();op0=Ee(i8(),1),cp0=Ee(Ba(),1),x3n=Object.defineProperty,E3n=Object.defineProperties,_3n=Object.getOwnPropertyDescriptors,Z20=Object.getOwnPropertySymbols,A3n=Object.prototype.hasOwnProperty,I3n=Object.prototype.propertyIsEnumerable,ep0=(t,e,n)=>e in t?x3n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,s4=(t,e)=>{for(var n in e||(e={}))A3n.call(e,n)&&ep0(t,n,e[n]);if(Z20)for(var n of Z20(e))I3n.call(e,n)&&ep0(t,n,e[n]);return t},IY=(t,e)=>E3n(t,_3n(e)),xt=(t,e,n)=>new Promise((a,r)=>{var f=o=>{try{s(n.next(o))}catch(c){r(c)}},i=o=>{try{s(n.throw(o))}catch(c){r(c)}},s=o=>o.done?a(o.value):Promise.resolve(o.value).then(f,i);s((n=n.apply(t,e)).next())}),CY="/sdk/2022-08-12/embedded-wallet",xVa=`${CY}/auth/headless-google-login-managed`,C3n=t=>`paperEwsWalletUserDetails-${t}`,EY=t=>`paperEwsWalletUserId-${t}`,k3n="walletToken",_Y=t=>`${k3n}-${t}`,ap0="a",AY=(t,e)=>`${ap0}-${t}-${e}`,S3n=t=>`${ap0}-${t}`,bD=(t=>(t.USER_MANAGED="USER_MANAGED",t.AWS_MANAGED="AWS_MANAGED",t))(bD||{}),rp0=(t=>(t.PAPER_EMAIL_OTP="PaperEmailOTP",t.GOOGLE="Google",t.TWITTER="Twitter",t.COGNITO="Cognito",t.AUTH0="Auth0",t.CUSTOM_JWT="CustomJWT",t))(rp0||{}),eA=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(eA||{}),fp0=(t=>(t.LOGGED_OUT="Logged Out",t.LOGGED_IN_WALLET_UNINITIALIZED="Logged In, Wallet Uninitialized",t.LOGGED_IN_NEW_DEVICE="Logged In, New Device",t.LOGGED_IN_WALLET_INITIALIZED="Logged In, Wallet Initialized",t))(fp0||{}),tp0=new Map,Dhe=class{constructor({clientId:t}){this.isSupported=typeof window<"u"&&!!window.localStorage,this.clientId=t}getItem(t){return xt(this,null,function*(){var e;return this.isSupported?window.localStorage.getItem(t):(e=tp0.get(t))!=null?e:null})}setItem(t,e){return xt(this,null,function*(){if(this.isSupported)return window.localStorage.setItem(t,e);tp0.set(t,e)})}removeItem(t){return xt(this,null,function*(){let e=yield this.getItem(t);return this.isSupported&&e?(window.localStorage.removeItem(t),!0):!1})}saveAuthCookie(t){return xt(this,null,function*(){yield this.setItem(_Y(this.clientId),t)})}getAuthCookie(){return xt(this,null,function*(){return this.getItem(_Y(this.clientId))})}removeAuthCookie(){return xt(this,null,function*(){return this.removeItem(_Y(this.clientId))})}saveDeviceShare(t,e){return xt(this,null,function*(){yield this.saveWalletUserId(e),yield this.setItem(AY(this.clientId,e),t)})}getDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.getItem(AY(this.clientId,t)):null})}removeDeviceShare(){return xt(this,null,function*(){let t=yield this.getWalletUserId();return t?this.removeItem(AY(this.clientId,t)):!1})}getWalletUserId(){return xt(this,null,function*(){return this.getItem(EY(this.clientId))})}saveWalletUserId(t){return xt(this,null,function*(){yield this.setItem(EY(this.clientId),t)})}removeWalletUserId(){return xt(this,null,function*(){return this.removeItem(EY(this.clientId))})}};R3n={height:"100%",width:"100%",border:"none",backgroundColor:"transparent",colorScheme:"light",position:"fixed",top:"0px",right:"0px",zIndex:"2147483646",display:"none"},Bhe=new Map,M3n=class{constructor({link:t,iframeId:e,container:n=document.body,iframeStyles:a,onIframeInitialize:r}){this.POLLING_INTERVAL_SECONDS=1.4,this.POST_LOAD_BUFFER_SECONDS=1;let f=document.getElementById(e),i=new URL(t),s="1.2.5";if(!s)throw new Error("Missing SDK_VERSION env var");if(i.searchParams.set("sdkVersion",s),!f||f.src!=i.href){if(!f){f=document.createElement("iframe");let o=s4(s4({},R3n),a);Object.assign(f.style,o),f.setAttribute("id",e),f.setAttribute("fetchpriority","high"),n.appendChild(f)}f.src=i.href,f.setAttribute("data-version",s),f.onload=this.onIframeLoadHandler(f,this.POST_LOAD_BUFFER_SECONDS,r)}this.iframe=f}onIframeLoadedInitVariables(){return xt(this,null,function*(){return{}})}onIframeLoadHandler(t,e,n){return()=>xt(this,null,function*(){yield new Promise((a,r)=>xt(this,null,function*(){var f;let i=new MessageChannel;i.port1.onmessage=o=>{let{data:c}=o;return i.port1.close(),c.success?(Bhe.set(t.src,!0),n&&n(),a(!0)):r(new Error(c.error))},yield xY(e),(f=t?.contentWindow)==null||f.postMessage({eventType:"initIframe",data:yield this.onIframeLoadedInitVariables()},`${H2()}${CY}`,[i.port2])}))})}call(t){return xt(this,arguments,function*({procedureName:e,params:n,showIframe:a=!1,injectRecoveryCode:r={isInjectRecoveryCode:!1}}){for(;!Bhe.get(this.iframe.src);)yield xY(this.POLLING_INTERVAL_SECONDS);return a&&(this.iframe.style.display="block",yield xY(.005)),new Promise((f,i)=>{var s;if(r.isInjectRecoveryCode){let c=d=>xt(this,null,function*(){var l,h;if(d.origin!==H2()||d.data.type!=="paper_getRecoveryCode"||typeof d.data.userWalletId!="string")return;let y=yield(l=r.getRecoveryCode)==null?void 0:l.call(r,d.data.userWalletId);(h=this.iframe.contentWindow)==null||h.postMessage({type:"paper_getRecoveryCode_response",recoveryCode:y},H2()),window.removeEventListener("message",c)});window.addEventListener("message",c)}let o=new MessageChannel;o.port1.onmessage=c=>xt(this,null,function*(){let{data:d}=c;o.port1.close(),a&&(yield xY(.1),this.iframe.style.display="none"),d.success?f(d.data):i(new Error(d.error))}),(s=this.iframe.contentWindow)==null||s.postMessage({eventType:e,data:n},`${H2()}${CY}`,[o.port2])})})}destroy(){Bhe.delete(this.iframe.src)}},B3n=class extends M3n{constructor({clientId:t,customizationOptions:e}){super({iframeId:P3n,link:D3n({clientId:t,path:CY,queryParams:e}).href,container:document.body}),this.clientId=t}onIframeLoadedInitVariables(){return xt(this,null,function*(){let t=new Dhe({clientId:this.clientId});return{authCookie:yield t.getAuthCookie(),deviceShareStored:yield t.getDeviceShare(),walletUserId:yield t.getWalletUserId(),clientId:this.clientId}})}};P3n="paper-embedded-wallet-iframe",ip0=class{constructor({querier:t,preLogin:e,postLogin:n,clientId:a}){this.LoginQuerier=t,this.preLogin=e,this.postLogin=n,this.clientId=a}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,recoveryShareManagement:n}){yield this.preLogin();let{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}=yield this.LoginQuerier.call({procedureName:"sendPaperEmailLoginOtp",params:{email:e,recoveryShareManagement:n}});return{isNewUser:a,isNewDevice:r,recoveryShareManagement:f}})}},L3n=class extends ip0{constructor(){super(...arguments),this.closeWindow=({isWindowOpenedByFn:t,win:e,closeOpenedWindow:n})=>{t?e?.close():e&&n?n(e):e&&e.close()}}loginWithPaperModal(){return xt(this,null,function*(){yield this.preLogin();let t=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(t)})}getGoogleLoginUrl(){return xt(this,null,function*(){return yield this.LoginQuerier.call({procedureName:"getHeadlessGoogleLoginLink",params:void 0})})}loginWithGoogle(t){return xt(this,null,function*(){yield this.preLogin();let e=t?.openedWindow,n=!1;if(e||(e=window.open("","Login","width=350, height=500"),n=!0),!e)throw new Error("Something went wrong opening pop-up");yield this.preLogin();let{loginLink:a}=yield this.getGoogleLoginUrl();e.location.href=a;let r=yield new Promise((f,i)=>{let s=window.setInterval(()=>xt(this,null,function*(){e&&e.closed&&(clearInterval(s),window.removeEventListener("message",o),i(new Error("User closed login window")))}),1e3),o=c=>xt(this,null,function*(){if(c.origin===H2()){if(typeof c.data!="object"){i(new Error("Invalid event data"));return}switch(c.data.eventType){case"userLoginSuccess":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),c.data.authResult&&f(c.data.authResult);break}case"userLoginFailed":{window.removeEventListener("message",o),clearInterval(s),this.closeWindow({isWindowOpenedByFn:n,win:e,closeOpenedWindow:t?.closeOpenedWindow}),i(new Error(c.data.error));break}case"injectDeveloperClientId":{e?.postMessage({eventType:"injectDeveloperClientIdResult",developerClientId:this.clientId},H2());break}}}});window.addEventListener("message",o)});return this.postLogin({storedToken:IY(s4({},r.storedToken),{shouldStoreCookieString:!0}),walletDetails:IY(s4({},r.walletDetails),{isIframeStorageEnabled:!1})})})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e}){yield this.preLogin();let n=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryShareManagement:"AWS_MANAGED"},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(n)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n}){let a=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryShareManagement:"AWS_MANAGED"},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}},F3n=class extends ip0{loginWithPaperModal(t){return xt(this,null,function*(){yield this.preLogin();let e=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:void 0,showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0,getRecoveryCode:t?.getRecoveryCode}});return this.postLogin(e)})}loginWithGoogle(t){return xt(this,null,function*(){throw new Error("loginWithGoogle is not yet supported in the RecoveryShareManagement.USER_MANAGED flow. Please use RecoveryShareManagement.AWS_MANAGED instead.")})}loginWithPaperEmailOtp(t){return xt(this,arguments,function*({email:e,recoveryCode:n}){yield this.preLogin();let a=yield this.LoginQuerier.call({procedureName:"loginWithPaperModal",params:{email:e,recoveryCode:n},showIframe:!0,injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(a)})}verifyPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e,otp:n,recoveryCode:a}){let r=yield this.LoginQuerier.call({procedureName:"verifyPaperEmailLoginOtp",params:{email:e,otp:n,recoveryCode:a},injectRecoveryCode:{isInjectRecoveryCode:!0}});return this.postLogin(r)})}},N3n=class{constructor({clientId:t,advancedOptions:e,querier:n,onAuthSuccess:a}){var r;this.clientId=t,this.advancedOptions={recoveryShareManagement:(r=e?.recoveryShareManagement)!=null?r:"AWS_MANAGED"},this.AuthQuerier=n,this.localStorage=new Dhe({clientId:t}),this.onAuthSuccess=a,this.userManagedLogin=new F3n({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t}),this.awsManagedLogin=new L3n({postLogin:f=>xt(this,null,function*(){return this.postLogin(f)}),preLogin:()=>xt(this,null,function*(){yield this.preLogin()}),querier:n,clientId:t})}preLogin(){return xt(this,null,function*(){yield this.logout()})}postLogin(t){return xt(this,arguments,function*({storedToken:e,walletDetails:n}){return e.shouldStoreCookieString&&(yield this.localStorage.saveAuthCookie(e.cookieString)),yield this.onAuthSuccess({storedToken:e,walletDetails:n})})}loginWithJwtAuth(t){return xt(this,arguments,function*({token:e,authProvider:n,recoveryCode:a}){yield this.preLogin();let r=yield this.AuthQuerier.call({procedureName:"loginWithJwtAuthCallback",params:{token:e,authProvider:n,recoveryCode:a}});return this.postLogin(r)})}loginWithPaperModal(t){return xt(this,null,function*(){return yield this.preLogin(),this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperModal():this.userManagedLogin.loginWithPaperModal(t)})}loginWithPaperEmailOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithPaperEmailOtp({email:t.email}):this.userManagedLogin.loginWithPaperEmailOtp(t)})}loginWithGoogle(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.loginWithGoogle(t):this.userManagedLogin.loginWithGoogle()})}sendPaperEmailLoginOtp(t){return xt(this,arguments,function*({email:e}){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.sendPaperEmailLoginOtp({email:e,recoveryShareManagement:"AWS_MANAGED"}):this.userManagedLogin.sendPaperEmailLoginOtp({email:e})})}verifyPaperEmailLoginOtp(t){return xt(this,null,function*(){return this.advancedOptions.recoveryShareManagement==="AWS_MANAGED"?this.awsManagedLogin.verifyPaperEmailLoginOtp(t):this.userManagedLogin.verifyPaperEmailLoginOtp(t)})}logout(){return xt(this,null,function*(){let{success:t}=yield this.AuthQuerier.call({procedureName:"logout",params:void 0}),e=yield this.localStorage.removeAuthCookie(),n=yield this.localStorage.removeWalletUserId();return{success:t||e||n}})}},np0=class{constructor({chain:t,clientId:e,querier:n}){this.chain=t,this.clientId=e,this.gaslessTransactionQuerier=n}callContract(t){return xt(this,arguments,function*({contractAddress:e,methodArgs:n,methodInterface:a}){return yield this.gaslessTransactionQuerier.call({procedureName:"callContract",params:{chain:this.chain,contractAddress:e,method:{args:n,stub:a}}})})}},dp0=class extends op0.Signer{constructor({provider:t,clientId:e,querier:n}){var a;super(),this.DEFAULT_ETHEREUM_CHAIN_ID=5,this.clientId=e,this.querier=n,this.endpoint=(a=t.connection)==null?void 0:a.url,(0,cp0.defineReadOnly)(this,"provider",t)}getAddress(){return xt(this,null,function*(){let{address:t}=yield this.querier.call({procedureName:"getAddress",params:void 0});return t})}signMessage(t){return xt(this,null,function*(){var e,n,a,r;let f=yield(e=this.provider)==null?void 0:e.getNetwork();f&&f._defaultProvider;let{signedMessage:i}=yield this.querier.call({procedureName:"signMessage",params:{message:t,chainId:(r=(a=yield(n=this.provider)==null?void 0:n.getNetwork())==null?void 0:a.chainId)!=null?r:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}signTransaction(t){return xt(this,null,function*(){var e,n,a;let{signedTransaction:r}=yield this.querier.call({procedureName:"signTransaction",params:{transaction:t,chainId:(a=(n=yield(e=this.provider)==null?void 0:e.getNetwork())==null?void 0:n.chainId)!=null?a:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return r})}_signTypedData(t,e,n){return xt(this,null,function*(){var a,r,f;let{signedTypedData:i}=yield this.querier.call({procedureName:"signTypedDataV4",params:{domain:t,types:e,message:n,chainId:(f=(r=yield(a=this.provider)==null?void 0:a.getNetwork())==null?void 0:r.chainId)!=null?f:this.DEFAULT_ETHEREUM_CHAIN_ID,rpcEndpoint:this.endpoint}});return i})}connect(t){return new dp0({clientId:this.clientId,provider:t,querier:this.querier})}},O3n=class{constructor({clientId:t,chain:e,querier:n}){this.clientId=t,this.chain=e,this.walletManagerQuerier=n,this.gasless=new np0({chain:e,clientId:t,querier:n}),this.localStorage=new Dhe({clientId:t})}postWalletSetUp(t){return xt(this,arguments,function*({deviceShareStored:e,walletAddress:n,isIframeStorageEnabled:a,walletUserId:r}){return a||(yield this.localStorage.saveDeviceShare(e,r)),{walletAddress:n}})}getUserWalletStatus(){return xt(this,null,function*(){let t=yield this.walletManagerQuerier.call({procedureName:"getUserStatus",params:void 0});return t.status==="Logged In, Wallet Initialized"?{status:"Logged In, Wallet Initialized",user:IY(s4({},t.user),{wallet:this})}:t})}setChain(t){return xt(this,arguments,function*({chain:e}){this.chain=e,this.gasless=new np0({chain:e,clientId:this.clientId,querier:this.walletManagerQuerier})})}getEthersJsSigner(t){return xt(this,null,function*(){var e;return new dp0({clientId:this.clientId,provider:(0,sp0.getDefaultProvider)((e=t?.rpcEndpoint)!=null?e:wQ[this.chain]),querier:this.walletManagerQuerier})})}},U3n=class{constructor({clientId:t,chain:e,styles:n,advancedOptions:a,onAuthSuccess:r}){this.clientId=t,this.querier=new B3n({clientId:t,customizationOptions:n}),this.wallet=new O3n({clientId:t,chain:e,querier:this.querier}),this.auth=new N3n({clientId:t,advancedOptions:s4({recoveryShareManagement:"USER_MANAGED"},a??{}),querier:this.querier,onAuthSuccess:f=>xt(this,null,function*(){return yield this.wallet.postWalletSetUp(IY(s4({},f.walletDetails),{walletUserId:f.storedToken.authDetails.userWalletId})),yield this.querier.call({procedureName:"initIframe",params:{deviceShareStored:f.walletDetails.deviceShareStored,clientId:this.clientId,walletUserId:f.storedToken.authDetails.userWalletId,authCookie:f.storedToken.cookieString}}),r?.(f),{user:{status:"Logged In, Wallet Initialized",authDetails:f.storedToken.authDetails,wallet:this.wallet,walletAddress:f.walletDetails.walletAddress}}})})}getUser(){return xt(this,null,function*(){let t=yield this.wallet.getUserWalletStatus();switch(t.status){case"Logged In, New Device":case"Logged In, Wallet Uninitialized":return yield this.auth.logout(),this.getUser();case"Logged Out":return{status:"Logged Out"};case"Logged In, Wallet Initialized":return s4({status:"Logged In, Wallet Initialized"},t.user)}})}}});var pp0={};G0(pp0,{PaperWalletConnector:()=>Lhe});var up0,Lhe,hp0=oe(()=>{"use strict";u();p();It();Phe();up0=Ee(Je());lh();wn();Mr();W0();Lhe=class extends sc{constructor(e){super(),Pe(this,"id",U0.paper),Pe(this,"name","Paper Wallet"),Pe(this,"ready",!0),Pe(this,"user",null),Pe(this,"onAccountsChanged",async n=>{n.length===0?await this.onDisconnect():this.emit("change",{account:up0.utils.getAddress(n[0])})}),Pe(this,"onChainChanged",n=>{let a=wi(n),r=this.options.chains.findIndex(f=>f.chainId===a)===-1;this.emit("change",{chain:{id:a,unsupported:r}})}),Pe(this,"onDisconnect",async()=>{this.emit("disconnect")}),this.options=e}getPaperSDK(){return this.paper||(this.paper=new Promise(async(e,n)=>{let a=this.options.advancedOptions?.recoveryShareManagement;try{let{PaperEmbeddedWalletSdk:r}=await Promise.resolve().then(()=>(Phe(),lp0)),f={AWS_MANAGED:bD.AWS_MANAGED,USER_MANAGED:bD.USER_MANAGED},i=a?f[a]:void 0;e(new r({advancedOptions:{recoveryShareManagement:i},clientId:this.options.clientId,chain:"Ethereum",styles:this.options.styles,onAuthSuccess:this.options.onAuthSuccess}))}catch(r){n(r)}})),this.paper}async connect(e){let n=await this.getPaperSDK();if(!n)throw new Error("Paper SDK not initialized");let a=await n.getUser();switch(a.status){case eA.LOGGED_OUT:{let r;if(e?.googleLogin){let f=e.googleLogin;r=await n.auth.loginWithGoogle(typeof f=="object"?f:void 0)}else e?.email&&e?.otp?r=await n.auth.verifyPaperEmailLoginOtp({email:e.email,otp:e.otp,recoveryCode:e.recoveryCode}):e?.email?r=await n.auth.loginWithPaperEmailOtp({email:e.email}):r=await n.auth.loginWithPaperModal();this.user=r.user;break}case eA.LOGGED_IN_WALLET_INITIALIZED:{typeof e?.googleLogin=="object"&&e.googleLogin.closeOpenedWindow&&e.googleLogin.openedWindow&&e.googleLogin.closeOpenedWindow(e.googleLogin.openedWindow),this.user=a;break}}if(!this.user)throw new Error("Error connecting User");return e?.chainId&&this.switchChain(e.chainId),this.setupListeners(),this.getAddress()}async disconnect(){await(await this.paper)?.auth.logout(),this._signer=void 0,this.user=null}async getAddress(){return(await this.getSigner()).getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){let e=await this.getSigner();if(!e.provider)throw new Error("Provider not found");return e.provider}async getSigner(){if(this._signer)return this._signer;if(!this.user){let a=await(await this.getPaperSDK()).getUser();switch(a.status){case eA.LOGGED_IN_WALLET_INITIALIZED:{this.user=a;break}}}let e=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:this.options.chain.rpc[0]||""});if(!e)throw new Error("Signer not found");return this._signer=e,e}async isAuthorized(){return!1}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error("Chain not configured");await this.user?.wallet.setChain({chain:"Ethereum"}),this._signer=await this.user?.wallet.getEthersJsSigner({rpcEndpoint:n.rpc[0]||""}),this.emit("change",{chain:{id:e,unsupported:!1}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}updateChains(e){this.options.chains=e}async getEmail(){if(await this.getProvider(),!this.user)throw new Error("No user found, Paper Wallet is not connected");return this.user.authDetails.email}}});var mp0=D(kY=>{"use strict";u();p();Object.defineProperty(kY,"__esModule",{value:!0});kY.walletLogo=void 0;var H3n=(t,e)=>{let n;switch(t){case"standard":return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return n=e,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${n}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}};kY.walletLogo=H3n});var bp0=D(SY=>{"use strict";u();p();Object.defineProperty(SY,"__esModule",{value:!0});SY.LINK_API_URL=void 0;SY.LINK_API_URL="https://www.walletlink.org"});var gD=D(tA=>{"use strict";u();p();Object.defineProperty(tA,"__esModule",{value:!0});tA.errorValues=tA.standardErrorCodes=void 0;tA.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};tA.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}}});var MY=D(K6=>{"use strict";u();p();Object.defineProperty(K6,"__esModule",{value:!0});K6.serialize=K6.getErrorCode=K6.isValidCode=K6.getMessageFromCode=K6.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var RY=gD(),vp0="Unspecified error message.";K6.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function wp0(t,e=vp0){if(t&&Number.isInteger(t)){let n=t.toString();if(Fhe(RY.errorValues,n))return RY.errorValues[n].message;if(xp0(t))return K6.JSON_RPC_SERVER_ERROR_MESSAGE}return e}K6.getMessageFromCode=wp0;function Tp0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(RY.errorValues[e]||xp0(t))}K6.isValidCode=Tp0;function z3n(t){var e;if(typeof t=="number")return t;if(W3n(t))return(e=t.code)!==null&&e!==void 0?e:t.errorCode}K6.getErrorCode=z3n;function W3n(t){return typeof t=="object"&&t!==null&&(typeof t.code=="number"||typeof t.errorCode=="number")}function q3n(t,{shouldIncludeStack:e=!1}={}){let n={};if(t&&typeof t=="object"&&!Array.isArray(t)&&Fhe(t,"code")&&Tp0(t.code)){let a=t;n.code=a.code,a.message&&typeof a.message=="string"?(n.message=a.message,Fhe(a,"data")&&(n.data=a.data)):(n.message=wp0(n.code),n.data={originalError:yp0(t)})}else n.code=RY.standardErrorCodes.rpc.internal,n.message=gp0(t,"message")?t.message:vp0,n.data={originalError:yp0(t)};return e&&(n.stack=gp0(t,"stack")?t.stack:void 0),n}K6.serialize=q3n;function xp0(t){return t>=-32099&&t<=-32e3}function yp0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function Fhe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function gp0(t,e){return typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="string"}});var Ap0=D(PY=>{"use strict";u();p();Object.defineProperty(PY,"__esModule",{value:!0});PY.standardErrors=void 0;var To=gD(),Ep0=MY();PY.standardErrors={rpc:{parse:t=>x5(To.standardErrorCodes.rpc.parse,t),invalidRequest:t=>x5(To.standardErrorCodes.rpc.invalidRequest,t),invalidParams:t=>x5(To.standardErrorCodes.rpc.invalidParams,t),methodNotFound:t=>x5(To.standardErrorCodes.rpc.methodNotFound,t),internal:t=>x5(To.standardErrorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return x5(e,t)},invalidInput:t=>x5(To.standardErrorCodes.rpc.invalidInput,t),resourceNotFound:t=>x5(To.standardErrorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>x5(To.standardErrorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>x5(To.standardErrorCodes.rpc.transactionRejected,t),methodNotSupported:t=>x5(To.standardErrorCodes.rpc.methodNotSupported,t),limitExceeded:t=>x5(To.standardErrorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>nA(To.standardErrorCodes.provider.userRejectedRequest,t),unauthorized:t=>nA(To.standardErrorCodes.provider.unauthorized,t),unsupportedMethod:t=>nA(To.standardErrorCodes.provider.unsupportedMethod,t),disconnected:t=>nA(To.standardErrorCodes.provider.disconnected,t),chainDisconnected:t=>nA(To.standardErrorCodes.provider.chainDisconnected,t),unsupportedChain:t=>nA(To.standardErrorCodes.provider.unsupportedChain,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new DY(e,n,a)}}};function x5(t,e){let[n,a]=_p0(e);return new BY(t,n||(0,Ep0.getMessageFromCode)(t),a)}function nA(t,e){let[n,a]=_p0(e);return new DY(t,n||(0,Ep0.getMessageFromCode)(t),a)}function _p0(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}var BY=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}},DY=class extends BY{constructor(e,n,a){if(!j3n(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};function j3n(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}});var FY=D(LY=>{"use strict";u();p();Object.defineProperty(LY,"__esModule",{value:!0});LY.isErrorResponse=void 0;function G3n(t){return t.errorMessage!==void 0}LY.isErrorResponse=G3n});var OY=D(NY=>{"use strict";u();p();Object.defineProperty(NY,"__esModule",{value:!0});NY.LIB_VERSION=void 0;NY.LIB_VERSION="3.9.3"});var Ip0=D(UY=>{"use strict";u();p();Object.defineProperty(UY,"__esModule",{value:!0});UY.serializeError=void 0;var K3n=FY(),Q3n=OY(),V3n=gD(),Y3n=MY();function $3n(t,e){let n=(0,Y3n.serialize)(J3n(t),{shouldIncludeStack:!0}),a=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");a.searchParams.set("version",Q3n.LIB_VERSION),a.searchParams.set("code",n.code.toString());let r=X3n(n.data,e);return r&&a.searchParams.set("method",r),a.searchParams.set("message",n.message),Object.assign(Object.assign({},n),{docUrl:a.href})}UY.serializeError=$3n;function J3n(t){return typeof t=="string"?{message:t,code:V3n.standardErrorCodes.rpc.internal}:(0,K3n.isErrorResponse)(t)?Object.assign(Object.assign({},t),{message:t.errorMessage,code:t.errorCode,data:{method:t.method}}):t}function X3n(t,e){let n=t?.method;if(n)return n;if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e)){if(e.length>0)return e[0].method}else return e.method}}});var vD=D(E5=>{"use strict";u();p();Object.defineProperty(E5,"__esModule",{value:!0});E5.standardErrors=E5.standardErrorCodes=E5.serializeError=E5.getMessageFromCode=E5.getErrorCode=void 0;var Z3n=gD();Object.defineProperty(E5,"standardErrorCodes",{enumerable:!0,get:function(){return Z3n.standardErrorCodes}});var emn=Ap0();Object.defineProperty(E5,"standardErrors",{enumerable:!0,get:function(){return emn.standardErrors}});var tmn=Ip0();Object.defineProperty(E5,"serializeError",{enumerable:!0,get:function(){return tmn.serializeError}});var Cp0=MY();Object.defineProperty(E5,"getErrorCode",{enumerable:!0,get:function(){return Cp0.getErrorCode}});Object.defineProperty(E5,"getMessageFromCode",{enumerable:!0,get:function(){return Cp0.getMessageFromCode}})});var TD=D(T1=>{"use strict";u();p();Object.defineProperty(T1,"__esModule",{value:!0});T1.ProviderType=T1.RegExpString=T1.IntNumber=T1.BigIntString=T1.AddressString=T1.HexString=T1.OpaqueType=void 0;function wD(){return t=>t}T1.OpaqueType=wD;T1.HexString=wD();T1.AddressString=wD();T1.BigIntString=wD();function nmn(t){return Math.floor(t)}T1.IntNumber=nmn;T1.RegExpString=wD();var kp0;(function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""})(kp0||(T1.ProviderType=kp0={}))});var sp=D(vt=>{"use strict";u();p();var amn=vt&&vt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vt,"__esModule",{value:!0});vt.isMobileWeb=vt.getLocation=vt.isInIFrame=vt.createQrUrl=vt.getFavicon=vt.range=vt.isBigNumber=vt.ensureParsedJSONObject=vt.ensureBN=vt.ensureRegExpString=vt.ensureIntNumber=vt.ensureBuffer=vt.ensureAddressString=vt.ensureEvenLengthHexString=vt.ensureHexString=vt.isHexString=vt.prepend0x=vt.strip0x=vt.has0xPrefix=vt.hexStringFromIntNumber=vt.intNumberFromHexString=vt.bigIntStringFromBN=vt.hexStringFromBuffer=vt.hexStringToUint8Array=vt.uint8ArrayToHex=vt.randomBytesHex=void 0;var o4=amn(Va()),Eg=vD(),_5=TD(),Sp0=/^[0-9]*$/,Rp0=/^[a-f0-9]*$/;function rmn(t){return Mp0(crypto.getRandomValues(new Uint8Array(t)))}vt.randomBytesHex=rmn;function Mp0(t){return[...t].map(e=>e.toString(16).padStart(2,"0")).join("")}vt.uint8ArrayToHex=Mp0;function fmn(t){return new Uint8Array(t.match(/.{1,2}/g).map(e=>parseInt(e,16)))}vt.hexStringToUint8Array=fmn;function imn(t,e=!1){let n=t.toString("hex");return(0,_5.HexString)(e?`0x${n}`:n)}vt.hexStringFromBuffer=imn;function smn(t){return(0,_5.BigIntString)(t.toString(10))}vt.bigIntStringFromBN=smn;function omn(t){return(0,_5.IntNumber)(new o4.default(ED(t,!1),16).toNumber())}vt.intNumberFromHexString=omn;function cmn(t){return(0,_5.HexString)(`0x${new o4.default(t).toString(16)}`)}vt.hexStringFromIntNumber=cmn;function Nhe(t){return t.startsWith("0x")||t.startsWith("0X")}vt.has0xPrefix=Nhe;function HY(t){return Nhe(t)?t.slice(2):t}vt.strip0x=HY;function Bp0(t){return Nhe(t)?`0x${t.slice(2)}`:`0x${t}`}vt.prepend0x=Bp0;function xD(t){if(typeof t!="string")return!1;let e=HY(t).toLowerCase();return Rp0.test(e)}vt.isHexString=xD;function Dp0(t,e=!1){if(typeof t=="string"){let n=HY(t).toLowerCase();if(Rp0.test(n))return(0,_5.HexString)(e?`0x${n}`:n)}throw Eg.standardErrors.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}vt.ensureHexString=Dp0;function ED(t,e=!1){let n=Dp0(t,!1);return n.length%2===1&&(n=(0,_5.HexString)(`0${n}`)),e?(0,_5.HexString)(`0x${n}`):n}vt.ensureEvenLengthHexString=ED;function dmn(t){if(typeof t=="string"){let e=HY(t).toLowerCase();if(xD(e)&&e.length===40)return(0,_5.AddressString)(Bp0(e))}throw Eg.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}vt.ensureAddressString=dmn;function lmn(t){if(_.Buffer.isBuffer(t))return t;if(typeof t=="string"){if(xD(t)){let e=ED(t,!1);return _.Buffer.from(e,"hex")}return _.Buffer.from(t,"utf8")}throw Eg.standardErrors.rpc.invalidParams(`Not binary data: ${String(t)}`)}vt.ensureBuffer=lmn;function Pp0(t){if(typeof t=="number"&&Number.isInteger(t))return(0,_5.IntNumber)(t);if(typeof t=="string"){if(Sp0.test(t))return(0,_5.IntNumber)(Number(t));if(xD(t))return(0,_5.IntNumber)(new o4.default(ED(t,!1),16).toNumber())}throw Eg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureIntNumber=Pp0;function umn(t){if(t instanceof RegExp)return(0,_5.RegExpString)(t.toString());throw Eg.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(t)}`)}vt.ensureRegExpString=umn;function pmn(t){if(t!==null&&(o4.default.isBN(t)||Lp0(t)))return new o4.default(t.toString(10),10);if(typeof t=="number")return new o4.default(Pp0(t));if(typeof t=="string"){if(Sp0.test(t))return new o4.default(t,10);if(xD(t))return new o4.default(ED(t,!1),16)}throw Eg.standardErrors.rpc.invalidParams(`Not an integer: ${String(t)}`)}vt.ensureBN=pmn;function hmn(t){if(typeof t=="string")return JSON.parse(t);if(typeof t=="object")return t;throw Eg.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}vt.ensureParsedJSONObject=hmn;function Lp0(t){if(t==null||typeof t.constructor!="function")return!1;let{constructor:e}=t;return typeof e.config=="function"&&typeof e.EUCLID=="number"}vt.isBigNumber=Lp0;function mmn(t,e){return Array.from({length:e-t},(n,a)=>t+a)}vt.range=mmn;function bmn(){let t=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:e,host:n}=document.location,a=t?t.getAttribute("href"):null;return!a||a.startsWith("javascript:")||a.startsWith("vbscript:")?null:a.startsWith("http://")||a.startsWith("https://")||a.startsWith("data:")?a:a.startsWith("//")?e+a:`${e}//${n}${a}`}vt.getFavicon=bmn;function ymn(t,e,n,a,r,f){let i=a?"parent-id":"id",s=new URLSearchParams({[i]:t,secret:e,server:n,v:r,chainId:f.toString()}).toString();return`${n}/#/link?${s}`}vt.createQrUrl=ymn;function Fp0(){try{return window.frameElement!==null}catch{return!1}}vt.isInIFrame=Fp0;function gmn(){try{return Fp0()&&window.top?window.top.location:window.location}catch{return window.location}}vt.getLocation=gmn;function vmn(){var t;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((t=window?.navigator)===null||t===void 0?void 0:t.userAgent)}vt.isMobileWeb=vmn});var Np0=D(zY=>{"use strict";u();p();Object.defineProperty(zY,"__esModule",{value:!0});zY.ScopedLocalStorage=void 0;var Ohe=class{constructor(e){this.scope=e}setItem(e,n){localStorage.setItem(this.scopedKey(e),n)}getItem(e){return localStorage.getItem(this.scopedKey(e))}removeItem(e){localStorage.removeItem(this.scopedKey(e))}clear(){let e=this.scopedKey(""),n=[];for(let a=0;alocalStorage.removeItem(a))}scopedKey(e){return`${this.scope}:${e}`}};zY.ScopedLocalStorage=Ohe});var qY=D(WY=>{"use strict";u();p();Object.defineProperty(WY,"__esModule",{value:!0});WY.EVENTS=void 0;WY.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",METHOD_NOT_IMPLEMENTED:"walletlink_sdk.method_not_implemented",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"}});var jY=D(op=>{"use strict";u();p();Object.defineProperty(op,"__esModule",{value:!0});op.RelayAbstract=op.APP_VERSION_KEY=op.LOCAL_STORAGE_ADDRESSES_KEY=op.WALLET_USER_NAME_KEY=void 0;var Op0=vD();op.WALLET_USER_NAME_KEY="walletUsername";op.LOCAL_STORAGE_ADDRESSES_KEY="Addresses";op.APP_VERSION_KEY="AppVersion";var Uhe=class{async makeEthereumJSONRPCRequest(e,n){if(!n)throw new Error("Error: No jsonRpcUrl provided");return window.fetch(n,{method:"POST",body:JSON.stringify(e),mode:"cors",headers:{"Content-Type":"application/json"}}).then(a=>a.json()).then(a=>{if(!a)throw Op0.standardErrors.rpc.parse({});let r=a,{error:f}=r;if(f)throw(0,Op0.serializeError)(f,e.method);return r})}};op.RelayAbstract=Uhe});var KY=D(GY=>{"use strict";u();p();Object.defineProperty(GY,"__esModule",{value:!0});GY.Session=void 0;var Up0=$C(),Hp0=sp(),zp0="session:id",Wp0="session:secret",qp0="session:linked",Hhe=class t{constructor(e,n,a,r){this._storage=e,this._id=n||(0,Hp0.randomBytesHex)(16),this._secret=a||(0,Hp0.randomBytesHex)(32),this._key=new Up0.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(e){let n=e.getItem(zp0),a=e.getItem(qp0),r=e.getItem(Wp0);return n&&r?new t(e,n,r,a==="1"):null}static hash(e){return new Up0.sha256().update(e).digest("hex")}get id(){return this._id}get secret(){return this._secret}get key(){return this._key}get linked(){return this._linked}set linked(e){this._linked=e,this.persistLinked()}save(){return this._storage.setItem(zp0,this._id),this._storage.setItem(Wp0,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(qp0,this._linked?"1":"0")}};GY.Session=Hhe});var jp0=D(VY=>{"use strict";u();p();Object.defineProperty(VY,"__esModule",{value:!0});VY.Cipher=void 0;var QY=sp(),zhe=class{constructor(e){this.secret=e}async encrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");let a=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.importKey("raw",(0,QY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),f=new TextEncoder,i=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},r,f.encode(e)),s=16,o=i.slice(i.byteLength-s),c=i.slice(0,i.byteLength-s),d=new Uint8Array(o),l=new Uint8Array(c),h=new Uint8Array([...a,...d,...l]);return(0,QY.uint8ArrayToHex)(h)}async decrypt(e){let n=this.secret;if(n.length!==64)throw Error("secret must be 256 bits");return new Promise((a,r)=>{(async function(){let f=await crypto.subtle.importKey("raw",(0,QY.hexStringToUint8Array)(n),{name:"aes-gcm"},!1,["encrypt","decrypt"]),i=(0,QY.hexStringToUint8Array)(e),s=i.slice(0,12),o=i.slice(12,28),c=i.slice(28),d=new Uint8Array([...c,...o]),l={name:"AES-GCM",iv:new Uint8Array(s)};try{let h=await window.crypto.subtle.decrypt(l,f,d),y=new TextDecoder;a(y.decode(h))}catch(h){r(h)}})()})}};VY.Cipher=zhe});var Gp0=D(YY=>{"use strict";u();p();Object.defineProperty(YY,"__esModule",{value:!0});YY.WalletLinkHTTP=void 0;var Whe=class{constructor(e,n,a){this.linkAPIUrl=e,this.sessionId=n;let r=`${n}:${a}`;this.auth=`Basic ${btoa(r)}`}async markUnseenEventsAsSeen(e){return Promise.all(e.map(n=>fetch(`${this.linkAPIUrl}/events/${n.eventId}/seen`,{method:"POST",headers:{Authorization:this.auth}}))).catch(n=>console.error("Unabled to mark event as failed:",n))}async fetchUnseenEvents(){var e;let n=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(n.ok){let{events:a,error:r}=await n.json();if(r)throw new Error(`Check unseen events failed: ${r}`);let f=(e=a?.filter(i=>i.event==="Web3Response").map(i=>({type:"Event",sessionId:this.sessionId,eventId:i.id,event:i.event,data:i.data})))!==null&&e!==void 0?e:[];return this.markUnseenEventsAsSeen(f),f}throw new Error(`Check unseen events failed: ${n.status}`)}};YY.WalletLinkHTTP=Whe});var Kp0=D(rA=>{"use strict";u();p();Object.defineProperty(rA,"__esModule",{value:!0});rA.WalletLinkWebSocket=rA.ConnectionState=void 0;var aA;(function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"})(aA||(rA.ConnectionState=aA={}));var qhe=class{setConnectionStateListener(e){this.connectionStateListener=e}setIncomingDataListener(e){this.incomingDataListener=e}constructor(e,n=WebSocket){this.WebSocketClass=n,this.webSocket=null,this.pendingData=[],this.url=e.replace(/^http/,"ws")}async connect(){if(this.webSocket)throw new Error("webSocket object is not null");return new Promise((e,n)=>{var a;let r;try{this.webSocket=r=new this.WebSocketClass(this.url)}catch(f){n(f);return}(a=this.connectionStateListener)===null||a===void 0||a.call(this,aA.CONNECTING),r.onclose=f=>{var i;this.clearWebSocket(),n(new Error(`websocket error ${f.code}: ${f.reason}`)),(i=this.connectionStateListener)===null||i===void 0||i.call(this,aA.DISCONNECTED)},r.onopen=f=>{var i;e(),(i=this.connectionStateListener)===null||i===void 0||i.call(this,aA.CONNECTED),this.pendingData.length>0&&([...this.pendingData].forEach(o=>this.sendData(o)),this.pendingData=[])},r.onmessage=f=>{var i,s;if(f.data==="h")(i=this.incomingDataListener)===null||i===void 0||i.call(this,{type:"Heartbeat"});else try{let o=JSON.parse(f.data);(s=this.incomingDataListener)===null||s===void 0||s.call(this,o)}catch{}}})}disconnect(){var e;let{webSocket:n}=this;if(n){this.clearWebSocket(),(e=this.connectionStateListener)===null||e===void 0||e.call(this,aA.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{n.close()}catch{}}}sendData(e){let{webSocket:n}=this;if(!n){this.pendingData.push(e),this.connect();return}n.send(e)}clearWebSocket(){let{webSocket:e}=this;e&&(this.webSocket=null,e.onclose=null,e.onerror=null,e.onmessage=null,e.onopen=null)}};rA.WalletLinkWebSocket=qhe});var Yp0=D(JY=>{"use strict";u();p();Object.defineProperty(JY,"__esModule",{value:!0});JY.WalletLinkConnection=void 0;var fA=TD(),wmn=jp0(),cp=qY(),Qp0=jY(),iA=KY(),Tmn=Gp0(),$Y=Kp0(),Vp0=1e4,xmn=6e4,jhe=class{constructor({session:e,linkAPIUrl:n,listener:a,diagnostic:r,WebSocketClass:f=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,fA.IntNumber)(1),this._connected=!1,this._linked=!1,this.shouldFetchUnseenEventsOnConnect=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=s=>{if(!s)return;new Map([["__destroyed",this.handleDestroyed],["EthereumAddress",this.handleAccountUpdated],["WalletUsername",this.handleWalletUsernameUpdated],["AppVersion",this.handleAppVersionUpdated],["ChainId",c=>s.JsonRpcUrl&&this.handleChainUpdated(c,s.JsonRpcUrl)]]).forEach((c,d)=>{let l=s[d];l!==void 0&&c(l)})},this.handleDestroyed=s=>{var o,c;s==="1"&&((o=this.listener)===null||o===void 0||o.resetAndReload(),(c=this.diagnostic)===null||c===void 0||c.log(cp.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:iA.Session.hash(this.session.id)}))},this.handleAccountUpdated=async s=>{var o,c;try{let d=await this.cipher.decrypt(s);(o=this.listener)===null||o===void 0||o.accountUpdated(d)}catch{(c=this.diagnostic)===null||c===void 0||c.log(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"selectedAddress"})}},this.handleMetadataUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.metadataUpdated(s,l)}catch{(d=this.diagnostic)===null||d===void 0||d.log(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:s})}},this.handleWalletUsernameUpdated=async s=>{this.handleMetadataUpdated(Qp0.WALLET_USER_NAME_KEY,s)},this.handleAppVersionUpdated=async s=>{this.handleMetadataUpdated(Qp0.APP_VERSION_KEY,s)},this.handleChainUpdated=async(s,o)=>{var c,d;try{let l=await this.cipher.decrypt(s),h=await this.cipher.decrypt(o);(c=this.listener)===null||c===void 0||c.chainUpdated(l,h)}catch{(d=this.diagnostic)===null||d===void 0||d.log(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}},this.session=e,this.cipher=new wmn.Cipher(e.secret),this.diagnostic=r,this.listener=a;let i=new $Y.WalletLinkWebSocket(`${n}/rpc`,f);i.setConnectionStateListener(async s=>{var o;(o=this.diagnostic)===null||o===void 0||o.log(cp.EVENTS.CONNECTED_STATE_CHANGE,{state:s,sessionIdHash:iA.Session.hash(e.id)});let c=!1;switch(s){case $Y.ConnectionState.DISCONNECTED:if(!this.destroyed){let d=async()=>{await new Promise(l=>setTimeout(l,5e3)),this.destroyed||i.connect().catch(()=>{d()})};d()}break;case $Y.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),c=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},Vp0),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case $Y.ConnectionState.CONNECTING:break}this.connected!==c&&(this.connected=c)}),i.setIncomingDataListener(s=>{var o,c,d;switch(s.type){case"Heartbeat":this.updateLastHeartbeat();return;case"IsLinkedOK":case"Linked":{let l=s.type==="IsLinkedOK"?s.linked:void 0;(o=this.diagnostic)===null||o===void 0||o.log(cp.EVENTS.LINKED,{sessionIdHash:iA.Session.hash(e.id),linked:l,type:s.type,onlineGuests:s.onlineGuests}),this.linked=l||s.onlineGuests>0;break}case"GetSessionConfigOK":case"SessionConfigUpdated":{(c=this.diagnostic)===null||c===void 0||c.log(cp.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:iA.Session.hash(e.id),metadata_keys:s&&s.metadata?Object.keys(s.metadata):void 0}),this.handleSessionMetadataUpdated(s.metadata);break}case"Event":{this.handleIncomingEvent(s);break}}s.id!==void 0&&((d=this.requestResolutions.get(s.id))===null||d===void 0||d(s))}),this.ws=i,this.http=new Tmn.WalletLinkHTTP(n,e.id,e.key)}connect(){var e;if(this.destroyed)throw new Error("instance is destroyed");(e=this.diagnostic)===null||e===void 0||e.log(cp.EVENTS.STARTED_CONNECTING,{sessionIdHash:iA.Session.hash(this.session.id)}),this.ws.connect()}destroy(){var e;this.destroyed=!0,this.ws.disconnect(),(e=this.diagnostic)===null||e===void 0||e.log(cp.EVENTS.DISCONNECTED,{sessionIdHash:iA.Session.hash(this.session.id)}),this.listener=void 0}get isDestroyed(){return this.destroyed}get connected(){return this._connected}set connected(e){var n,a;this._connected=e,e&&((n=this.onceConnected)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.connectedUpdated(e)}setOnceConnected(e){return new Promise(n=>{this.connected?e().then(n):this.onceConnected=()=>{e().then(n),this.onceConnected=void 0}})}get linked(){return this._linked}set linked(e){var n,a;this._linked=e,e&&((n=this.onceLinked)===null||n===void 0||n.call(this)),(a=this.listener)===null||a===void 0||a.linkedUpdated(e)}setOnceLinked(e){return new Promise(n=>{this.linked?e().then(n):this.onceLinked=()=>{e().then(n),this.onceLinked=void 0}})}async handleIncomingEvent(e){var n,a;if(!(e.type!=="Event"||e.event!=="Web3Response"))try{let r=await this.cipher.decrypt(e.data),f=JSON.parse(r);if(f.type!=="WEB3_RESPONSE")return;(n=this.listener)===null||n===void 0||n.handleWeb3ResponseMessage(f)}catch{(a=this.diagnostic)===null||a===void 0||a.log(cp.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"incomingEvent"})}}async checkUnseenEvents(){if(!this.connected){this.shouldFetchUnseenEventsOnConnect=!0;return}await new Promise(e=>setTimeout(e,250));try{await this.fetchUnseenEventsAPI()}catch(e){console.error("Unable to check for unseen events",e)}}async fetchUnseenEventsAPI(){this.shouldFetchUnseenEventsOnConnect=!1,(await this.http.fetchUnseenEvents()).forEach(n=>this.handleIncomingEvent(n))}async setSessionMetadata(e,n){let a={type:"SetSessionConfig",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id,metadata:{[e]:n}};return this.setOnceConnected(async()=>{let r=await this.makeRequest(a);if(r.type==="Fail")throw new Error(r.error||"failed to set session metadata")})}async publishEvent(e,n,a=!1){let r=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},n),{origin:location.origin,relaySource:window.coinbaseWalletExtension?"injected_sdk":"sdk"}))),f={type:"PublishEvent",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id,event:e,data:r,callWebhook:a};return this.setOnceLinked(async()=>{let i=await this.makeRequest(f);if(i.type==="Fail")throw new Error(i.error||"failed to publish event");return i.eventId})}sendData(e){this.ws.sendData(JSON.stringify(e))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>Vp0*2){this.ws.disconnect();return}try{this.ws.sendData("h")}catch{}}async makeRequest(e,n=xmn){let a=e.id;this.sendData(e);let r;return Promise.race([new Promise((f,i)=>{r=window.setTimeout(()=>{i(new Error(`request ${a} timed out`))},n)}),new Promise(f=>{this.requestResolutions.set(a,i=>{clearTimeout(r),f(i),this.requestResolutions.delete(a)})})])}async authenticate(){let e={type:"HostSession",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key},n=await this.makeRequest(e);if(n.type==="Fail")throw new Error(n.error||"failed to authentcate")}sendIsLinked(){let e={type:"IsLinked",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}sendGetSessionConfig(){let e={type:"GetSessionConfig",id:(0,fA.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(e)}};JY.WalletLinkConnection=jhe});var $p0=D(Ghe=>{"use strict";u();p();Object.defineProperty(Ghe,"__esModule",{value:!0});Ghe.default='@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}'});var Khe=D(sA=>{"use strict";u();p();var Emn=sA&&sA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sA,"__esModule",{value:!0});sA.injectCssReset=void 0;var _mn=Emn($p0());function Amn(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(_mn.default)),document.documentElement.appendChild(t)}sA.injectCssReset=Amn});var mc={};G0(mc,{Component:()=>AD,Fragment:()=>kD,cloneElement:()=>Bmn,createContext:()=>Dmn,createElement:()=>i80,createRef:()=>Cmn,h:()=>i80,hydrate:()=>p80,isValidElement:()=>t80,options:()=>sf,render:()=>u80,toChildArray:()=>d80});function Nh(t,e){for(var n in e)t[n]=e[n];return t}function f80(t){var e=t.parentNode;e&&e.removeChild(t)}function i80(t,e,n){var a,r,f,i={};for(f in e)f=="key"?a=e[f]:f=="ref"?r=e[f]:i[f]=e[f];if(arguments.length>2&&(i.children=arguments.length>3?CD.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(f in t.defaultProps)i[f]===void 0&&(i[f]=t.defaultProps[f]);return _D(t,i,a,r,null)}function _D(t,e,n,a,r){var f={type:t,props:e,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++e80,__i:-1,__u:0};return r==null&&sf.vnode!=null&&sf.vnode(f),f}function Cmn(){return{current:null}}function kD(t){return t.children}function AD(t,e){this.props=t,this.context=e}function Ag(t,e){if(e==null)return t.__?Ag(t.__,t.__i+1):null;for(var n;ee&&_g.sort(Qhe));ZY.__r=0}function o80(t,e,n,a,r,f,i,s,o,c,d){var l,h,y,v,k,O=a&&a.__k||r80,F=e.length;for(n.__d=o,kmn(n,e,O),o=n.__d,l=0;l0?_D(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=t,r.__b=t.__b+1,s=Smn(r,n,i,d),r.__i=s,f=null,s!==-1&&(d--,(f=n[s])&&(f.__u|=131072)),f==null||f.__v===null?(s==-1&&l--,typeof r.type!="function"&&(r.__u|=65536)):s!==i&&(s===i+1?l++:s>i?d>o-i?l+=s-i:l--:s(o!=null&&!(131072&o.__u)?1:0))for(;i>=0||s=0){if((o=e[i])&&!(131072&o.__u)&&r==o.key&&f===o.type)return i;i--}if(s2&&(s.children=arguments.length>3?CD.call(arguments,2):n),_D(t.type,s,a||t.key,r||t.ref,null)}function Dmn(t,e){var n={__c:e="__cC"+a80++,__:t,Consumer:function(a,r){return a.children(r)},Provider:function(a){var r,f;return this.getChildContext||(r=[],(f={})[e]=this,this.getChildContext=function(){return f},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.some(function(s){s.__e=!0,$he(s)})},this.sub=function(i){r.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r.splice(r.indexOf(i),1),s&&s.call(i)}}),a.children}};return n.Provider.__=n.Consumer.contextType=n}var CD,sf,e80,t80,_g,Jp0,n80,Qhe,Xhe,Vhe,Yhe,a80,ID,r80,Imn,e$,x1=oe(()=>{u();p();ID={},r80=[],Imn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,e$=Array.isArray;CD=r80.slice,sf={__e:function(t,e,n,a){for(var r,f,i;e=e.__;)if((r=e.__c)&&!r.__)try{if((f=r.constructor)&&f.getDerivedStateFromError!=null&&(r.setState(f.getDerivedStateFromError(t)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,a||{}),i=r.__d),i)return r.__E=r}catch(s){t=s}throw t}},e80=0,t80=function(t){return t!=null&&t.constructor==null},AD.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Nh({},this.state),typeof t=="function"&&(t=t(Nh({},n),this.props)),t&&Nh(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),$he(this))},AD.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),$he(this))},AD.prototype.render=kD,_g=[],n80=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Qhe=function(t,e){return t.__v.__b-e.__v.__b},ZY.__r=0,Xhe=0,Vhe=Zp0(!1),Yhe=Zp0(!0),a80=0});var oA=D((h$a,t3e)=>{u();p();function m80(t){var e,n,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;eNmn,useContext:()=>Omn,useDebugValue:()=>Umn,useEffect:()=>Pmn,useErrorBoundary:()=>Hmn,useId:()=>zmn,useImperativeHandle:()=>Fmn,useLayoutEffect:()=>C80,useMemo:()=>r3e,useReducer:()=>I80,useRef:()=>Lmn,useState:()=>A80});function Ig(t,e){Lf.__h&&Lf.__h(Br,t,cA||e),cA=0;var n=Br.__H||(Br.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:t$}),n.__[t]}function A80(t){return cA=1,I80(k80,t)}function I80(t,e,n){var a=Ig(Oh++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):k80(void 0,e),function(s){var o=a.__N?a.__N[0]:a.__[0],c=a.t(o,s);o!==c&&(a.__N=[c,a.__[1]],a.__c.setState({}))}],a.__c=Br,!Br.u)){var r=function(s,o,c){if(!a.__c.__H)return!0;var d=a.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!f||f.call(this,s,o,c);var l=!1;return d.forEach(function(h){if(h.__N){var y=h.__[0];h.__=h.__N,h.__N=void 0,y!==h.__[0]&&(l=!0)}}),!(!l&&a.__c.props===s)&&(!f||f.call(this,s,o,c))};Br.u=!0;var f=Br.shouldComponentUpdate,i=Br.componentWillUpdate;Br.componentWillUpdate=function(s,o,c){if(this.__e){var d=f;f=void 0,r(s,o,c),f=d}i&&i.call(this,s,o,c)},Br.shouldComponentUpdate=r}return a.__N||a.__}function Pmn(t,e){var n=Ig(Oh++,3);!Lf.__s&&f3e(n.__H,e)&&(n.__=t,n.i=e,Br.__H.__h.push(n))}function C80(t,e){var n=Ig(Oh++,4);!Lf.__s&&f3e(n.__H,e)&&(n.__=t,n.i=e,Br.__h.push(n))}function Lmn(t){return cA=5,r3e(function(){return{current:t}},[])}function Fmn(t,e,n){cA=6,C80(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function r3e(t,e){var n=Ig(Oh++,7);return f3e(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Nmn(t,e){return cA=8,r3e(function(){return t},e)}function Omn(t){var e=Br.context[t.__c],n=Ig(Oh++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(Br)),e.props.value):t.__}function Umn(t,e){Lf.useDebugValue&&Lf.useDebugValue(e?e(t):t)}function Hmn(t){var e=Ig(Oh++,10),n=A80();return e.__=t,Br.componentDidCatch||(Br.componentDidCatch=function(a,r){e.__&&e.__(a,r),n[1](a)}),[n[0],function(){n[1](void 0)}]}function zmn(){var t=Ig(Oh++,11);if(!t.__){for(var e=Br.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Wmn(){for(var t;t=_80.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(n$),t.__H.__h.forEach(a3e),t.__H.__h=[]}catch(e){t.__H.__h=[],Lf.__e(e,t.__v)}}function qmn(t){var e,n=function(){clearTimeout(a),E80&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(n,100);E80&&(e=requestAnimationFrame(n))}function n$(t){var e=Br,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Br=e}function a3e(t){var e=Br;t.__c=t.__(),Br=e}function f3e(t,e){return!t||t.length!==e.length||e.some(function(n,a){return n!==t[a]})}function k80(t,e){return typeof e=="function"?e(t):e}var Oh,Br,n3e,b80,cA,_80,t$,Lf,y80,g80,v80,w80,T80,x80,E80,RD=oe(()=>{u();p();x1();cA=0,_80=[],t$=[],Lf=sf,y80=Lf.__b,g80=Lf.__r,v80=Lf.diffed,w80=Lf.__c,T80=Lf.unmount,x80=Lf.__;Lf.__b=function(t){Br=null,y80&&y80(t)},Lf.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),x80&&x80(t,e)},Lf.__r=function(t){g80&&g80(t),Oh=0;var e=(Br=t.__c).__H;e&&(n3e===Br?(e.__h=[],Br.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=t$,n.__N=n.i=void 0})):(e.__h.forEach(n$),e.__h.forEach(a3e),e.__h=[],Oh=0)),n3e=Br},Lf.diffed=function(t){v80&&v80(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(_80.push(e)!==1&&b80===Lf.requestAnimationFrame||((b80=Lf.requestAnimationFrame)||qmn)(Wmn)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==t$&&(n.__=n.__V),n.i=void 0,n.__V=t$})),n3e=Br=null},Lf.__c=function(t,e){e.some(function(n){try{n.__h.forEach(n$),n.__h=n.__h.filter(function(a){return!a.__||a3e(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],Lf.__e(a,n.__v)}}),w80&&w80(t,e)},Lf.unmount=function(t){T80&&T80(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(a){try{n$(a)}catch(r){e=r}}),n.__H=void 0,e&&Lf.__e(e,n.__v))};E80=typeof requestAnimationFrame=="function"});var R80=D(a$=>{"use strict";u();p();Object.defineProperty(a$,"__esModule",{value:!0});a$.CloseIcon=void 0;var S80=(x1(),vn(mc));function jmn(t){return(0,S80.h)("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,S80.h)("path",{d:"M13.7677 13L12.3535 14.4142L18.3535 20.4142L12.3535 26.4142L13.7677 27.8284L19.7677 21.8284L25.7677 27.8284L27.1819 26.4142L21.1819 20.4142L27.1819 14.4142L25.7677 13L19.7677 19L13.7677 13Z"}))}a$.CloseIcon=jmn});var M80=D(f$=>{"use strict";u();p();Object.defineProperty(f$,"__esModule",{value:!0});f$.CoinbaseWalletRound=void 0;var r$=(x1(),vn(mc));function Gmn(t){return(0,r$.h)("svg",Object.assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),(0,r$.h)("circle",{cx:"14",cy:"14",r:"14",fill:"#0052FF"}),(0,r$.h)("path",{d:"M23.8521 14.0003C23.8521 19.455 19.455 23.8521 14.0003 23.8521C8.54559 23.8521 4.14844 19.455 4.14844 14.0003C4.14844 8.54559 8.54559 4.14844 14.0003 4.14844C19.455 4.14844 23.8521 8.54559 23.8521 14.0003Z",fill:"white"}),(0,r$.h)("path",{d:"M11.1855 12.5042C11.1855 12.0477 11.1855 11.7942 11.2835 11.642C11.3814 11.4899 11.4793 11.3377 11.6261 11.287C11.8219 11.1855 12.0178 11.1855 12.5073 11.1855H15.4934C15.983 11.1855 16.1788 11.1855 16.3746 11.287C16.5215 11.3884 16.6683 11.4899 16.7173 11.642C16.8152 11.8449 16.8152 12.0477 16.8152 12.5042V15.4965C16.8152 15.953 16.8152 16.2066 16.7173 16.3587C16.6194 16.5109 16.5215 16.663 16.3746 16.7137C16.1788 16.8152 15.983 16.8152 15.4934 16.8152H12.5073C12.0178 16.8152 11.8219 16.8152 11.6261 16.7137C11.4793 16.6123 11.3324 16.5109 11.2835 16.3587C11.1855 16.1558 11.1855 15.953 11.1855 15.4965V12.5042Z",fill:"#0052FF"}))}f$.CoinbaseWalletRound=Gmn});var B80=D(i$=>{"use strict";u();p();Object.defineProperty(i$,"__esModule",{value:!0});i$.QRCodeIcon=void 0;var MD=(x1(),vn(mc));function Kmn(t){return(0,MD.h)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),(0,MD.h)("path",{d:"M3 3V8.99939L5 8.99996V5H9V3H3Z"}),(0,MD.h)("path",{d:"M15 21L21 21V15.0006L19 15V19L15 19V21Z"}),(0,MD.h)("path",{d:"M21 9H19V5H15.0006L15 3H21V9Z"}),(0,MD.h)("path",{d:"M3 15V21H8.99939L8.99996 19H5L5 15H3Z"}))}i$.QRCodeIcon=Kmn});var N80=D((S$a,F80)=>{u();p();function D80(t){this.mode=Q6.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e65536?(a[0]=240|(r&1835008)>>>18,a[1]=128|(r&258048)>>>12,a[2]=128|(r&4032)>>>6,a[3]=128|r&63):r>2048?(a[0]=224|(r&61440)>>>12,a[1]=128|(r&4032)>>>6,a[2]=128|r&63):r>128?(a[0]=192|(r&1984)>>>6,a[1]=128|r&63):a[0]=r,this.parsedData.push(a)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}D80.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=lp.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var a=-1;a<=7;a++)e+a<=-1||this.moduleCount<=e+a||(0<=n&&n<=6&&(a==0||a==6)||0<=a&&a<=6&&(n==0||n==6)||2<=n&&n<=4&&2<=a&&a<=4?this.modules[t+n][e+a]=!0:this.modules[t+n][e+a]=!1)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var a=Ff.getLostPoint(this);(n==0||t>a)&&(t=a,e=n)}return e},createMovieClip:function(t,e,n){var a=t.createEmptyMovieClip(e,n),r=1;this.make();for(var f=0;f>n&1)==1;this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=a}for(var n=0;n<18;n++){var a=!t&&(e>>n&1)==1;this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=a}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,a=Ff.getBCHTypeInfo(n),r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<6?this.modules[r][8]=f:r<8?this.modules[r+1][8]=f:this.modules[this.moduleCount-15+r][8]=f}for(var r=0;r<15;r++){var f=!t&&(a>>r&1)==1;r<8?this.modules[8][this.moduleCount-r-1]=f:r<9?this.modules[8][15-r-1+1]=f:this.modules[8][15-r-1]=f}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,a=this.moduleCount-1,r=7,f=0,i=this.moduleCount-1;i>0;i-=2)for(i==6&&i--;;){for(var s=0;s<2;s++)if(this.modules[a][i-s]==null){var o=!1;f>>r&1)==1);var c=Ff.getMask(e,a,i-s);c&&(o=!o),this.modules[a][i-s]=o,r--,r==-1&&(f++,r=7)}if(a+=n,a<0||this.moduleCount<=a){a-=n,n=-n;break}}}};lp.PAD0=236;lp.PAD1=17;lp.createData=function(t,e,n){for(var a=dp.getRSBlocks(t,e),r=new P80,f=0;fs*8)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+s*8+")");for(r.getLengthInBits()+4<=s*8&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=s*8||(r.put(lp.PAD0,8),r.getLengthInBits()>=s*8));)r.put(lp.PAD1,8);return lp.createBytes(r,a)};lp.createBytes=function(t,e){for(var n=0,a=0,r=0,f=new Array(e.length),i=new Array(e.length),s=0;s=0?y.get(v):0}}for(var k=0,d=0;d=0;)e^=Ff.G15<=0;)e^=Ff.G18<>>=1;return e},getPatternPosition:function(t){return Ff.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case c4.PATTERN000:return(e+n)%2==0;case c4.PATTERN001:return e%2==0;case c4.PATTERN010:return n%3==0;case c4.PATTERN011:return(e+n)%3==0;case c4.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case c4.PATTERN101:return e*n%2+e*n%3==0;case c4.PATTERN110:return(e*n%2+e*n%3)%2==0;case c4.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new dA([1],0),n=0;n5&&(n+=3+f-5)}for(var a=0;a=256;)t-=255;return qs.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(Ui=0;Ui<8;Ui++)qs.EXP_TABLE[Ui]=1<>>7-t%8&1)==1},put:function(t,e){for(var n=0;n>>e-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var i3e=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function L80(t){var e=this;if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M",image:{svg:"",width:0,height:0}},typeof t=="string"&&(t={content:t}),t)for(var n in t)this.options[n]=t[n];if(typeof this.options.content!="string")throw new Error("Expected 'content' as string!");if(this.options.content.length===0)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0)||!(this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");function a(c){switch(c){case"L":return d4.L;case"M":return d4.M;case"Q":return d4.Q;case"H":return d4.H;default:throw new Error("Unknwon error correction level: "+c)}}function r(c,d){for(var l=f(c),h=1,y=0,v=0,k=i3e.length;v<=k;v++){var O=i3e[v];if(!O)throw new Error("Content too long: expected "+y+" but got "+l);switch(d){case"L":y=O[0];break;case"M":y=O[1];break;case"Q":y=O[2];break;case"H":y=O[3];break;default:throw new Error("Unknwon error correction level: "+d)}if(l<=y)break;h++}if(h>i3e.length)throw new Error("Content too long");return h}function f(c){var d=encodeURI(c).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return d.length+(d.length!=c?3:0)}var i=this.options.content,s=r(i,this.options.ecl),o=a(this.options.ecl);this.qrcode=new lp(s,o),this.qrcode.addData(i),this.qrcode.make()}L80.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;typeof t>"u"&&(t={container:e.container||"svg"});for(var a=typeof e.pretty<"u"?!!e.pretty:!0,r=a?" ":"",f=a?`\r -`:"",i=e.width,s=e.height,o=n.length,c=i/(o+2*e.padding),d=s/(o+2*e.padding),l=typeof e.join<"u"?!!e.join:!1,h=typeof e.swap<"u"?!!e.swap:!1,y=typeof e.xmlDeclaration<"u"?!!e.xmlDeclaration:!0,v=typeof e.predefined<"u"?!!e.predefined:!1,k=v?r+''+f:"",O=r+''+f,F="",z="",W=0;W'+f:F+=r+''+f}}l&&(F=r+'');let T="";if(this.options.image!==void 0&&this.options.image.svg){let w=i*this.options.image.width/100,b=s*this.options.image.height/100,A=i/2-w/2,P=s/2-b/2;T+=``,T+=this.options.image.svg+f,T+=""}var N="";switch(t.container){case"svg":y&&(N+=''+f),N+=''+f,N+=k+O+F,N+=T,N+="";break;case"svg-viewbox":y&&(N+=''+f),N+=''+f,N+=k+O+F,N+=T,N+="";break;case"g":N+=''+f,N+=k+O+F,N+=T,N+="";break;default:N+=(k+O+F+T).replace(/^\s+/,"");break}return N};F80.exports=L80});var U80=D(lA=>{"use strict";u();p();var Qmn=lA&&lA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lA,"__esModule",{value:!0});lA.QRCode=void 0;var Vmn=(x1(),vn(mc)),O80=(RD(),vn(SD)),Ymn=Qmn(N80()),$mn=t=>{let[e,n]=(0,O80.useState)("");return(0,O80.useEffect)(()=>{var a,r;let f=new Ymn.default({content:t.content,background:t.bgColor||"#ffffff",color:t.fgColor||"#000000",container:"svg",ecl:"M",width:(a=t.width)!==null&&a!==void 0?a:256,height:(r=t.height)!==null&&r!==void 0?r:256,padding:0,image:t.image}),i=_.Buffer.from(f.svg(),"utf8").toString("base64");n(`data:image/svg+xml;base64,${i}`)},[t.bgColor,t.content,t.fgColor,t.height,t.image,t.width]),e?(0,Vmn.h)("img",{src:e,alt:"QR Code"}):null};lA.QRCode=$mn});var H80=D(s3e=>{"use strict";u();p();Object.defineProperty(s3e,"__esModule",{value:!0});s3e.default=".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}"});var z80=D(uA=>{"use strict";u();p();var Jmn=uA&&uA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uA,"__esModule",{value:!0});uA.Spinner=void 0;var s$=(x1(),vn(mc)),Xmn=Jmn(H80()),Zmn=t=>{var e;let n=(e=t.size)!==null&&e!==void 0?e:64,a=t.color||"#000";return(0,s$.h)("div",{class:"-cbwsdk-spinner"},(0,s$.h)("style",null,Xmn.default),(0,s$.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,s$.h)("circle",{style:{cx:50,cy:50,r:45,stroke:a}})))};uA.Spinner=Zmn});var W80=D(o3e=>{"use strict";u();p();Object.defineProperty(o3e,"__esModule",{value:!0});o3e.default=".-cbwsdk-css-reset .-cbwsdk-connect-content{height:430px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-connect-content.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading{font-style:normal;font-weight:500;font-size:28px;line-height:36px;margin:0}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-layout{display:flex;flex-direction:row}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-left{margin-right:30px;display:flex;flex-direction:column;justify-content:space-between}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-right{flex:25%;margin-right:34px}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-wrapper{width:220px;height:220px;border-radius:12px;display:flex;justify-content:center;align-items:center;background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light>p{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark{background-color:rgba(10,11,13,.9)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app{border-radius:8px;font-size:14px;line-height:20px;padding:12px;width:339px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.light{background:#eef0f3;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.dark{background:#1e2025;color:#8a919e}.-cbwsdk-css-reset .-cbwsdk-cancel-button{-webkit-appearance:none;border:none;background:none;cursor:pointer;padding:0;margin:0}.-cbwsdk-css-reset .-cbwsdk-cancel-button-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-wallet-steps{padding:0 0 0 16px;margin:0;width:100%;list-style:decimal}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item{list-style-type:decimal;display:list-item;font-style:normal;font-weight:400;font-size:16px;line-height:24px;margin-top:20px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item-wrapper{display:flex;align-items:center}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-pad-left{margin-left:6px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon{display:flex;border-radius:50%;height:24px;width:24px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.light{background:#0052ff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.dark{background:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item{align-items:center;display:flex;flex-direction:row;padding:16px 24px;gap:12px;cursor:pointer;border-radius:100px;font-weight:600}.-cbwsdk-css-reset .-cbwsdk-connect-item.light{background:#f5f8ff;color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-connect-item.dark{background:#001033;color:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item-copy-wrapper{margin:0 4px 0 8px}.-cbwsdk-css-reset .-cbwsdk-connect-item-title{margin:0 0 0;font-size:16px;line-height:24px;font-weight:500}.-cbwsdk-css-reset .-cbwsdk-connect-item-description{font-weight:400;font-size:14px;line-height:20px;margin:0}"});var G80=D(l4=>{"use strict";u();p();var q80=l4&&l4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(l4,"__esModule",{value:!0});l4.CoinbaseWalletSteps=l4.ConnectContent=void 0;var Cg=q80(oA()),ka=(x1(),vn(mc)),ebn=sp(),tbn=OY(),nbn=R80(),abn=M80(),rbn=B80(),fbn=U80(),ibn=z80(),sbn=q80(W80()),c3e={title:"Coinbase Wallet app",description:"Connect with your self-custody wallet",steps:j80},obn=t=>t==="light"?"#FFFFFF":"#0A0B0D";function cbn(t){let{theme:e}=t,n=(0,ebn.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection,t.version,t.chainId),a=c3e.steps;return(0,ka.h)("div",{"data-testid":"connect-content",className:(0,Cg.default)("-cbwsdk-connect-content",e)},(0,ka.h)("style",null,sbn.default),(0,ka.h)("div",{className:"-cbwsdk-connect-content-header"},(0,ka.h)("h2",{className:(0,Cg.default)("-cbwsdk-connect-content-heading",e)},"Scan to connect with our mobile app"),t.onCancel&&(0,ka.h)("button",{type:"button",className:"-cbwsdk-cancel-button",onClick:t.onCancel},(0,ka.h)(nbn.CloseIcon,{fill:e==="light"?"#0A0B0D":"#FFFFFF"}))),(0,ka.h)("div",{className:"-cbwsdk-connect-content-layout"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-left"},(0,ka.h)(dbn,{title:c3e.title,description:c3e.description,theme:e})),(0,ka.h)("div",{className:"-cbwsdk-connect-content-column-right"},(0,ka.h)("div",{className:"-cbwsdk-connect-content-qr-wrapper"},(0,ka.h)(fbn.QRCode,{content:n,width:200,height:200,fgColor:"#000",bgColor:"transparent"}),(0,ka.h)("input",{type:"hidden",name:"cbw-cbwsdk-version",value:tbn.LIB_VERSION}),(0,ka.h)("input",{type:"hidden",value:n})),(0,ka.h)(a,{theme:e}),!t.isConnected&&(0,ka.h)("div",{"data-testid":"connecting-spinner",className:(0,Cg.default)("-cbwsdk-connect-content-qr-connecting",e)},(0,ka.h)(ibn.Spinner,{size:36,color:e==="dark"?"#FFF":"#000"}),(0,ka.h)("p",null,"Connecting...")))))}l4.ConnectContent=cbn;function dbn({title:t,description:e,theme:n}){return(0,ka.h)("div",{className:(0,Cg.default)("-cbwsdk-connect-item",n)},(0,ka.h)("div",null,(0,ka.h)(abn.CoinbaseWalletRound,null)),(0,ka.h)("div",{className:"-cbwsdk-connect-item-copy-wrapper"},(0,ka.h)("h3",{className:"-cbwsdk-connect-item-title"},t),(0,ka.h)("p",{className:"-cbwsdk-connect-item-description"},e)))}function j80({theme:t}){return(0,ka.h)("ol",{className:"-cbwsdk-wallet-steps"},(0,ka.h)("li",{className:(0,Cg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},"Open Coinbase Wallet app")),(0,ka.h)("li",{className:(0,Cg.default)("-cbwsdk-wallet-steps-item",t)},(0,ka.h)("div",{className:"-cbwsdk-wallet-steps-item-wrapper"},(0,ka.h)("span",null,"Tap ",(0,ka.h)("strong",null,"Scan")," "),(0,ka.h)("span",{className:(0,Cg.default)("-cbwsdk-wallet-steps-pad-left","-cbwsdk-wallet-steps-icon",t)},(0,ka.h)(rbn.QRCodeIcon,{fill:obn(t)})))))}l4.CoinbaseWalletSteps=j80});var Q80=D(o$=>{"use strict";u();p();Object.defineProperty(o$,"__esModule",{value:!0});o$.ArrowLeftIcon=void 0;var K80=(x1(),vn(mc));function lbn(t){return(0,K80.h)("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t),(0,K80.h)("path",{d:"M8.60675 0.155884L7.37816 1.28209L12.7723 7.16662H0V8.83328H12.6548L6.82149 14.6666L8 15.8451L15.8201 8.02501L8.60675 0.155884Z"}))}o$.ArrowLeftIcon=lbn});var V80=D(c$=>{"use strict";u();p();Object.defineProperty(c$,"__esModule",{value:!0});c$.LaptopIcon=void 0;var d3e=(x1(),vn(mc));function ubn(t){return(0,d3e.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,d3e.h)("path",{d:"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z"}),(0,d3e.h)("path",{d:"M13.4001 10.2002H0.600098C0.600098 11.0838 1.31644 11.8002 2.2001 11.8002H11.8001C12.6838 11.8002 13.4001 11.0838 13.4001 10.2002Z"}))}c$.LaptopIcon=ubn});var $80=D(d$=>{"use strict";u();p();Object.defineProperty(d$,"__esModule",{value:!0});d$.SafeIcon=void 0;var Y80=(x1(),vn(mc));function pbn(t){return(0,Y80.h)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},t),(0,Y80.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.600098 0.600098V11.8001H13.4001V0.600098H0.600098ZM7.0001 9.2001C5.3441 9.2001 4.0001 7.8561 4.0001 6.2001C4.0001 4.5441 5.3441 3.2001 7.0001 3.2001C8.6561 3.2001 10.0001 4.5441 10.0001 6.2001C10.0001 7.8561 8.6561 9.2001 7.0001 9.2001ZM0.600098 12.6001H3.8001V13.4001H0.600098V12.6001ZM10.2001 12.6001H13.4001V13.4001H10.2001V12.6001ZM8.8001 6.2001C8.8001 7.19421 7.99421 8.0001 7.0001 8.0001C6.00598 8.0001 5.2001 7.19421 5.2001 6.2001C5.2001 5.20598 6.00598 4.4001 7.0001 4.4001C7.99421 4.4001 8.8001 5.20598 8.8001 6.2001Z"}))}d$.SafeIcon=pbn});var J80=D(l3e=>{"use strict";u();p();Object.defineProperty(l3e,"__esModule",{value:!0});l3e.default=".-cbwsdk-css-reset .-cbwsdk-try-extension{display:flex;margin-top:12px;height:202px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-try-extension.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-column-half{flex:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading{font-style:normal;font-weight:500;font-size:25px;line-height:32px;margin:0;max-width:204px}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta{appearance:none;border:none;background:none;color:#0052ff;cursor:pointer;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.light{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.dark{color:#588af5}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-wrapper{display:flex;align-items:center;margin-top:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-icon{display:block;margin-left:4px;height:14px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:0;list-style:none;height:100%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item{display:flex;align-items:center;flex-flow:nowrap;margin-top:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item:first-of-type{margin-top:0}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon-wrapper{display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon{display:flex;height:32px;width:32px;border-radius:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.light{background:#eef0f3}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.dark{background:#1e2025}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy{display:block;font-weight:400;font-size:14px;line-height:20px;padding-left:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.light{color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.dark{color:#8a919e}"});var Z80=D(pA=>{"use strict";u();p();var X80=pA&&pA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pA,"__esModule",{value:!0});pA.TryExtensionContent=void 0;var kg=X80(oA()),Hi=(x1(),vn(mc)),u3e=(RD(),vn(SD)),hbn=Q80(),mbn=V80(),bbn=$80(),ybn=X80(J80());function gbn({theme:t}){let[e,n]=(0,u3e.useState)(!1),a=(0,u3e.useCallback)(()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")},[]),r=(0,u3e.useCallback)(()=>{e?window.location.reload():(a(),n(!0))},[a,e]);return(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension",t)},(0,Hi.h)("style",null,ybn.default),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("h3",{class:(0,kg.default)("-cbwsdk-try-extension-heading",t)},"Or try the Coinbase Wallet browser extension"),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-cta-wrapper"},(0,Hi.h)("button",{class:(0,kg.default)("-cbwsdk-try-extension-cta",t),onClick:r},e?"Refresh":"Install"),(0,Hi.h)("div",null,!e&&(0,Hi.h)(hbn.ArrowLeftIcon,{class:"-cbwsdk-try-extension-cta-icon",fill:t==="light"?"#0052FF":"#588AF5"})))),(0,Hi.h)("div",{class:"-cbwsdk-try-extension-column-half"},(0,Hi.h)("ul",{class:"-cbwsdk-try-extension-list"},(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(mbn.LaptopIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Connect with dapps with just one click on your desktop browser")),(0,Hi.h)("li",{class:"-cbwsdk-try-extension-list-item"},(0,Hi.h)("div",{class:"-cbwsdk-try-extension-list-item-icon-wrapper"},(0,Hi.h)("span",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-icon",t)},(0,Hi.h)(bbn.SafeIcon,{fill:t==="light"?"#0A0B0D":"#FFFFFF"}))),(0,Hi.h)("div",{class:(0,kg.default)("-cbwsdk-try-extension-list-item-copy",t)},"Add an additional layer of security by using a supported Ledger hardware wallet")))))}pA.TryExtensionContent=gbn});var eh0=D(p3e=>{"use strict";u();p();Object.defineProperty(p3e,"__esModule",{value:!0});p3e.default=".-cbwsdk-css-reset .-cbwsdk-connect-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box{display:flex;position:relative;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container-hidden{display:none}"});var nh0=D(hA=>{"use strict";u();p();var th0=hA&&hA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hA,"__esModule",{value:!0});hA.ConnectDialog=void 0;var h3e=th0(oA()),Sg=(x1(),vn(mc)),m3e=(RD(),vn(SD)),vbn=G80(),wbn=Z80(),Tbn=th0(eh0()),xbn=t=>{let{isOpen:e,darkMode:n}=t,[a,r]=(0,m3e.useState)(!e),[f,i]=(0,m3e.useState)(!e);(0,m3e.useEffect)(()=>{let o=[window.setTimeout(()=>{i(!e)},10)];return e?r(!1):o.push(window.setTimeout(()=>{r(!0)},360)),()=>{o.forEach(window.clearTimeout)}},[e]);let s=n?"dark":"light";return(0,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-container",a&&"-cbwsdk-connect-dialog-container-hidden")},(0,Sg.h)("style",null,Tbn.default),(0,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-backdrop",s,f&&"-cbwsdk-connect-dialog-backdrop-hidden")}),(0,Sg.h)("div",{class:"-cbwsdk-connect-dialog"},(0,Sg.h)("div",{class:(0,h3e.default)("-cbwsdk-connect-dialog-box",f&&"-cbwsdk-connect-dialog-box-hidden")},t.connectDisabled?null:(0,Sg.h)(vbn.ConnectContent,{theme:s,version:t.version,sessionId:t.sessionId,sessionSecret:t.sessionSecret,linkAPIUrl:t.linkAPIUrl,isConnected:t.isConnected,isParentConnection:t.isParentConnection,chainId:t.chainId,onCancel:t.onCancel}),(0,Sg.h)(wbn.TryExtensionContent,{theme:s}))))};hA.ConnectDialog=xbn});var ah0=D(l$=>{"use strict";u();p();Object.defineProperty(l$,"__esModule",{value:!0});l$.LinkFlow=void 0;var b3e=(x1(),vn(mc)),Ebn=nh0(),y3e=class{constructor(e){this.connected=!1,this.chainId=1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=e.darkMode,this.version=e.version,this.sessionId=e.sessionId,this.sessionSecret=e.sessionSecret,this.linkAPIUrl=e.linkAPIUrl,this.isParentConnection=e.isParentConnection}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-link-flow-root",e.appendChild(this.root),this.render()}setConnected(e){this.connected!==e&&(this.connected=e,this.render())}setChainId(e){this.chainId!==e&&(this.chainId=e,this.render())}detach(){var e;this.root&&((0,b3e.render)(null,this.root),(e=this.root.parentElement)===null||e===void 0||e.removeChild(this.root))}setConnectDisabled(e){this.connectDisabled=e}open(e){this.isOpen=!0,this.onCancel=e.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){this.root&&(0,b3e.render)((0,b3e.h)(Ebn.ConnectDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.connected,isParentConnection:this.isParentConnection,chainId:this.chainId,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}};l$.LinkFlow=y3e});var rh0=D(g3e=>{"use strict";u();p();Object.defineProperty(g3e,"__esModule",{value:!0});g3e.default=".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"});var T3e=D(A5=>{"use strict";u();p();var fh0=A5&&A5.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(A5,"__esModule",{value:!0});A5.SnackbarInstance=A5.SnackbarContainer=A5.Snackbar=void 0;var u$=fh0(oA()),zi=(x1(),vn(mc)),v3e=(RD(),vn(SD)),_bn=fh0(rh0()),Abn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",Ibn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",w3e=class{constructor(e){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=e.darkMode}attach(e){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",e.appendChild(this.root),this.render()}presentItem(e){let n=this.nextItemKey++;return this.items.set(n,e),this.render(),()=>{this.items.delete(n),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,zi.render)((0,zi.h)("div",null,(0,zi.h)(A5.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([e,n])=>(0,zi.h)(A5.SnackbarInstance,Object.assign({},n,{key:e}))))),this.root)}};A5.Snackbar=w3e;var Cbn=t=>(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-container")},(0,zi.h)("style",null,_bn.default),(0,zi.h)("div",{class:"-cbwsdk-snackbar"},t.children));A5.SnackbarContainer=Cbn;var kbn=({autoExpand:t,message:e,menuItems:n})=>{let[a,r]=(0,v3e.useState)(!0),[f,i]=(0,v3e.useState)(t??!1);(0,v3e.useEffect)(()=>{let o=[window.setTimeout(()=>{r(!1)},1),window.setTimeout(()=>{i(!0)},1e4)];return()=>{o.forEach(window.clearTimeout)}});let s=()=>{i(!f)};return(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-instance",a&&"-cbwsdk-snackbar-instance-hidden",f&&"-cbwsdk-snackbar-instance-expanded")},(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:s},(0,zi.h)("img",{src:Abn,class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,zi.h)("div",{class:"-gear-container"},!f&&(0,zi.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,zi.h)("img",{src:Ibn,class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,zi.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((o,c)=>(0,zi.h)("div",{class:(0,u$.default)("-cbwsdk-snackbar-instance-menu-item",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:o.onClick,key:c},(0,zi.h)("svg",{width:o.svgWidth,height:o.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,zi.h)("path",{"fill-rule":o.defaultFillRule,"clip-rule":o.defaultClipRule,d:o.path,fill:"#AAAAAA"})),(0,zi.h)("span",{class:(0,u$.default)("-cbwsdk-snackbar-instance-menu-item-info",o.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},o.info)))))};A5.SnackbarInstance=kbn});var E3e=D(p$=>{"use strict";u();p();Object.defineProperty(p$,"__esModule",{value:!0});p$.WalletLinkRelayUI=void 0;var Sbn=Khe(),Rbn=ah0(),Mbn=T3e(),x3e=class{constructor(e){this.standalone=null,this.attached=!1,this.snackbar=new Mbn.Snackbar({darkMode:e.darkMode}),this.linkFlow=new Rbn.LinkFlow({darkMode:e.darkMode,version:e.version,sessionId:e.session.id,sessionSecret:e.session.secret,linkAPIUrl:e.linkAPIUrl,isParentConnection:!1})}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");let e=document.documentElement,n=document.createElement("div");n.className="-cbwsdk-css-reset",e.appendChild(n),this.linkFlow.attach(n),this.snackbar.attach(n),this.attached=!0,(0,Sbn.injectCssReset)()}setConnected(e){this.linkFlow.setConnected(e)}setChainId(e){this.linkFlow.setChainId(e)}setConnectDisabled(e){this.linkFlow.setConnectDisabled(e)}addEthereumChain(){}watchAsset(){}switchEthereumChain(){}requestEthereumAccounts(e){this.linkFlow.open({onCancel:e.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}showConnecting(e){let n;return e.isUnlinkedErrorState?n={autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]}:n={message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:e.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:e.onResetConnection}]},this.snackbar.presentItem(n)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(e){this.standalone=e}isStandalone(){var e;return(e=this.standalone)!==null&&e!==void 0?e:!1}};p$.WalletLinkRelayUI=x3e});var _3e=D(m$=>{"use strict";u();p();Object.defineProperty(m$,"__esModule",{value:!0});m$.WalletLinkRelay=void 0;var mA=vD(),Bbn=TD(),Nf=sp(),Rg=qY(),ih0=jY(),u4=KY(),Dbn=Yp0(),Mg=FY(),Pbn=E3e(),h$=class t extends ih0.RelayAbstract{constructor(e){var n;super(),this.accountsCallback=null,this.chainCallbackParams={chainId:"",jsonRpcUrl:""},this.chainCallback=null,this.dappDefaultChain=1,this.appName="",this.appLogoUrl=null,this.linkedUpdated=i=>{var s;this.isLinked=i;let o=this.storage.getItem(ih0.LOCAL_STORAGE_ADDRESSES_KEY);if(i&&(this.session.linked=i),this.isUnlinkedErrorState=!1,o){let c=o.split(" "),d=this.storage.getItem("IsStandaloneSigning")==="true";if(c[0]!==""&&!i&&this.session.linked&&!d){this.isUnlinkedErrorState=!0;let l=this.getSessionIdHash();(s=this.diagnostic)===null||s===void 0||s.log(Rg.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:l})}}},this.metadataUpdated=(i,s)=>{this.storage.setItem(i,s)},this.chainUpdated=(i,s)=>{this.chainCallbackParams.chainId===i&&this.chainCallbackParams.jsonRpcUrl===s||(this.chainCallbackParams={chainId:i,jsonRpcUrl:s},this.chainCallback&&this.chainCallback(i,s))},this.accountUpdated=i=>{this.accountsCallback&&this.accountsCallback([i]),t.accountRequestCallbackIds.size>0&&(Array.from(t.accountRequestCallbackIds.values()).forEach(s=>{let o={type:"WEB3_RESPONSE",id:s,response:{method:"requestEthereumAccounts",result:[i]}};this.invokeCallback(Object.assign(Object.assign({},o),{id:s}))}),t.accountRequestCallbackIds.clear())},this.connectedUpdated=i=>{this.ui.setConnected(i)},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=e.linkAPIUrl,this.storage=e.storage,this.options=e;let{session:a,ui:r,connection:f}=this.subscribe();this._session=a,this.connection=f,this.relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this._reloadOnDisconnect=(n=e.reloadOnDisconnect)!==null&&n!==void 0?n:!0,this.ui=r}subscribe(){let e=u4.Session.load(this.storage)||new u4.Session(this.storage).save(),{linkAPIUrl:n,diagnostic:a}=this,r=new Dbn.WalletLinkConnection({session:e,linkAPIUrl:n,diagnostic:a,listener:this}),{version:f,darkMode:i}=this.options,s=this.options.uiConstructor({linkAPIUrl:n,version:f,darkMode:i,session:e});return r.connect(),{session:e,ui:s,connection:r}}attachUI(){this.ui.attach()}resetAndReload(){Promise.race([this.connection.setSessionMetadata("__destroyed","1"),new Promise(e=>setTimeout(()=>e(null),1e3))]).then(()=>{var e,n;let a=this.ui.isStandalone();(e=this.diagnostic)===null||e===void 0||e.log(Rg.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let r=u4.Session.load(this.storage);if(r?.id===this._session.id?this.storage.clear():r&&((n=this.diagnostic)===null||n===void 0||n.log(Rg.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:u4.Session.hash(r.id)})),this._reloadOnDisconnect){this.ui.reloadUI();return}this.accountsCallback&&this.accountsCallback([],!0);let{session:f,ui:i,connection:s}=this.subscribe();this._session=f,this.connection=s,this.ui=i,a&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.options.headlessMode||this.attachUI()}).catch(e=>{var n;(n=this.diagnostic)===null||n===void 0||n.log(Rg.EVENTS.FAILURE,{method:"relay::resetAndReload",message:`failed to reset and reload with ${e}`,sessionIdHash:this.getSessionIdHash()})})}setAppInfo(e,n){this.appName=e,this.appLogoUrl=n}getStorageItem(e){return this.storage.getItem(e)}get session(){return this._session}setStorageItem(e,n){this.storage.setItem(e,n)}signEthereumMessage(e,n,a,r){return this.sendRequest({method:"signEthereumMessage",params:{message:(0,Nf.hexStringFromBuffer)(e,!0),address:n,addPrefix:a,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(e,n,a){return this.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:(0,Nf.hexStringFromBuffer)(e,!0),signature:(0,Nf.hexStringFromBuffer)(n,!0),addPrefix:a}})}signEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxPriorityFeePerGas:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,gasLimit:e.gasLimit?(0,Nf.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(e){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:e.fromAddress,toAddress:e.toAddress,weiValue:(0,Nf.bigIntStringFromBN)(e.weiValue),data:(0,Nf.hexStringFromBuffer)(e.data,!0),nonce:e.nonce,gasPriceInWei:e.gasPriceInWei?(0,Nf.bigIntStringFromBN)(e.gasPriceInWei):null,maxFeePerGas:e.maxFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:e.maxPriorityFeePerGas?(0,Nf.bigIntStringFromBN)(e.maxPriorityFeePerGas):null,gasLimit:e.gasLimit?(0,Nf.bigIntStringFromBN)(e.gasLimit):null,chainId:e.chainId,shouldSubmit:!0}})}submitEthereumTransaction(e,n){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:(0,Nf.hexStringFromBuffer)(e,!0),chainId:n}})}scanQRCode(e){return this.sendRequest({method:"scanQRCode",params:{regExp:e}})}getQRCodeUrl(){return(0,Nf.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1,this.options.version,this.dappDefaultChain)}genericRequest(e,n){return this.sendRequest({method:"generic",params:{action:n,data:e}})}sendGenericMessage(e){return this.sendRequest(e)}sendRequest(e){let n=null,a=(0,Nf.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{this.ui.isStandalone()||(n=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:r,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(a,o=>{if(n?.(),(0,Mg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.isStandalone()?this.sendRequestStandalone(a,e):this.publishWeb3RequestEvent(a,e)}),cancel:r}}setConnectDisabled(e){this.ui.setConnectDisabled(e)}setAccountsCallback(e){this.accountsCallback=e}setChainCallback(e){this.chainCallback=e}setDappDefaultChainCallback(e){this.dappDefaultChain=e,this.ui instanceof Pbn.WalletLinkRelayUI&&this.ui.setChainId(e)}publishWeb3RequestEvent(e,n){var a;let r={type:"WEB3_REQUEST",id:e,request:n},f=u4.Session.load(this.storage);(a=this.diagnostic)===null||a===void 0||a.log(Rg.EVENTS.WEB3_REQUEST,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?u4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()}),this.publishEvent("Web3Request",r,!0).then(i=>{var s;(s=this.diagnostic)===null||s===void 0||s.log(Rg.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:f?u4.Session.hash(f.id):"",isSessionMismatched:(f?.id!==this._session.id).toString()})}).catch(i=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r.id,response:{method:n.method,errorMessage:i.message}})})}publishWeb3RequestCanceledEvent(e){let n={type:"WEB3_REQUEST_CANCELED",id:e};this.publishEvent("Web3RequestCanceled",n,!1).then()}publishEvent(e,n,a){return this.connection.publishEvent(e,n,a)}handleWeb3ResponseMessage(e){var n;let{response:a}=e;if((n=this.diagnostic)===null||n===void 0||n.log(Rg.EVENTS.WEB3_RESPONSE,{eventId:e.id,method:`relay::${a.method}`,sessionIdHash:this.getSessionIdHash()}),a.method==="requestEthereumAccounts"){t.accountRequestCallbackIds.forEach(r=>this.invokeCallback(Object.assign(Object.assign({},e),{id:r}))),t.accountRequestCallbackIds.clear();return}this.invokeCallback(e)}handleErrorResponse(e,n,a,r){var f;let i=(f=a?.message)!==null&&f!==void 0?f:(0,mA.getMessageFromCode)(r);this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:{method:n,errorMessage:i,errorCode:r}})}invokeCallback(e){let n=this.relayEventManager.callbacks.get(e.id);n&&(n(e.response),this.relayEventManager.callbacks.delete(e.id))}requestEthereumAccounts(){let e={method:"requestEthereumAccounts",params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},n=null,a=(0,Nf.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,e.method,i),n?.()};return{promise:new Promise((i,s)=>{if(this.relayEventManager.callbacks.set(a,o=>{if(this.ui.hideRequestEthereumAccounts(),n?.(),(0,Mg.isErrorResponse)(o))return s(new Error(o.errorMessage));i(o)}),this.ui.inlineAccountsResponse()){let o=c=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"requestEthereumAccounts",result:c}})};this.ui.requestEthereumAccounts({onCancel:r,onAccounts:o})}else{let o=mA.standardErrors.provider.userRejectedRequest("User denied account authorization");this.ui.requestEthereumAccounts({onCancel:()=>r(o)})}t.accountRequestCallbackIds.add(a),!this.ui.inlineAccountsResponse()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(a,e)}),cancel:r}}selectProvider(e){let n={method:"selectProvider",params:{providerOptions:e}},a=(0,Nf.randomBytesHex)(8),r=i=>{this.publishWeb3RequestCanceledEvent(a),this.handleErrorResponse(a,n.method,i)},f=new Promise((i,s)=>{this.relayEventManager.callbacks.set(a,d=>{if((0,Mg.isErrorResponse)(d))return s(new Error(d.errorMessage));i(d)});let o=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:Bbn.ProviderType.Unselected}})},c=d=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:a,response:{method:"selectProvider",result:d}})};this.ui.selectProvider&&this.ui.selectProvider({onApprove:c,onCancel:o,providerOptions:e})});return{cancel:r,promise:f}}watchAsset(e,n,a,r,f,i){let s={method:"watchAsset",params:{type:e,options:{address:n,symbol:a,decimals:r,image:f},chainId:i}},o=null,c=(0,Nf.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};this.ui.inlineWatchAsset()||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload}));let l=new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Mg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!1}})},k=()=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"watchAsset",result:!0}})};this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:k,onCancel:v,type:e,address:n,symbol:a,decimals:r,image:f,chainId:i}),!this.ui.inlineWatchAsset()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)});return{cancel:d,promise:l}}addEthereumChain(e,n,a,r,f,i){let s={method:"addEthereumChain",params:{chainId:e,rpcUrls:n,blockExplorerUrls:r,chainName:f,iconUrls:a,nativeCurrency:i}},o=null,c=(0,Nf.randomBytesHex)(8),d=h=>{this.publishWeb3RequestCanceledEvent(c),this.handleErrorResponse(c,s.method,h),o?.()};return this.ui.inlineAddEthereumChain(e)||(o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:d,onResetConnection:this.resetAndReload})),{promise:new Promise((h,y)=>{this.relayEventManager.callbacks.set(c,O=>{if(o?.(),(0,Mg.isErrorResponse)(O))return y(new Error(O.errorMessage));h(O)});let v=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},k=O=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:c,response:{method:"addEthereumChain",result:{isApproved:!0,rpcUrl:O}}})};this.ui.inlineAddEthereumChain(e)&&this.ui.addEthereumChain({onCancel:v,onApprove:k,chainId:s.params.chainId,rpcUrls:s.params.rpcUrls,blockExplorerUrls:s.params.blockExplorerUrls,chainName:s.params.chainName,iconUrls:s.params.iconUrls,nativeCurrency:s.params.nativeCurrency}),!this.ui.inlineAddEthereumChain(e)&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(c,s)}),cancel:d}}switchEthereumChain(e,n){let a={method:"switchEthereumChain",params:Object.assign({chainId:e},{address:n})},r=(0,Nf.randomBytesHex)(8),f=s=>{this.publishWeb3RequestCanceledEvent(r),this.handleErrorResponse(r,a.method,s)};return{promise:new Promise((s,o)=>{this.relayEventManager.callbacks.set(r,l=>{if((0,Mg.isErrorResponse)(l)&&l.errorCode)return o(mA.standardErrors.provider.custom({code:l.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."}));if((0,Mg.isErrorResponse)(l))return o(new Error(l.errorMessage));s(l)});let c=l=>{var h;if(l){let y=(h=(0,mA.getErrorCode)(l))!==null&&h!==void 0?h:mA.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(r,"switchEthereumChain",l instanceof Error?l:mA.standardErrors.provider.unsupportedChain(e),y)}else this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!1,rpcUrl:""}}})},d=l=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:r,response:{method:"switchEthereumChain",result:{isApproved:!0,rpcUrl:l}}})};this.ui.switchEthereumChain({onCancel:c,onApprove:d,chainId:a.params.chainId,address:a.params.address}),!this.ui.inlineSwitchEthereumChain()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(r,a)}),cancel:f}}inlineAddEthereumChain(e){return this.ui.inlineAddEthereumChain(e)}getSessionIdHash(){return u4.Session.hash(this._session.id)}sendRequestStandalone(e,n){let a=f=>{this.handleErrorResponse(e,n.method,f)},r=f=>{this.handleWeb3ResponseMessage({type:"WEB3_RESPONSE",id:e,response:f})};switch(n.method){case"signEthereumMessage":this.ui.signEthereumMessage({request:n,onSuccess:r,onCancel:a});break;case"signEthereumTransaction":this.ui.signEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"submitEthereumTransaction":this.ui.submitEthereumTransaction({request:n,onSuccess:r,onCancel:a});break;case"ethereumAddressFromSignedMessage":this.ui.ethereumAddressFromSignedMessage({request:n,onSuccess:r});break;default:a();break}}};m$.WalletLinkRelay=h$;h$.accountRequestCallbackIds=new Set});var sh0=D(Bg=>{"use strict";u();p();var Lbn=Bg&&Bg.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Fbn=Bg&&Bg.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Lbn(e,t,n)};Object.defineProperty(Bg,"__esModule",{value:!0});Fbn(T3e(),Bg)});var oh0=D(A3e=>{"use strict";u();p();Object.defineProperty(A3e,"__esModule",{value:!0});A3e.default=".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}"});var dh0=D(bA=>{"use strict";u();p();var ch0=bA&&bA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bA,"__esModule",{value:!0});bA.RedirectDialog=void 0;var Nbn=ch0(oA()),up=(x1(),vn(mc)),Obn=Khe(),Ubn=sh0(),Hbn=ch0(oh0()),I3e=class{constructor(){this.root=null}attach(){let e=document.documentElement;this.root=document.createElement("div"),this.root.className="-cbwsdk-css-reset",e.appendChild(this.root),(0,Obn.injectCssReset)()}present(e){this.render(e)}clear(){this.render(null)}render(e){this.root&&((0,up.render)(null,this.root),e&&(0,up.render)((0,up.h)(zbn,Object.assign({},e,{onDismiss:()=>{this.clear()}})),this.root))}};bA.RedirectDialog=I3e;var zbn=({title:t,buttonText:e,darkMode:n,onButtonClick:a,onDismiss:r})=>{let f=n?"dark":"light";return(0,up.h)(Ubn.SnackbarContainer,{darkMode:n},(0,up.h)("div",{class:"-cbwsdk-redirect-dialog"},(0,up.h)("style",null,Hbn.default),(0,up.h)("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:r}),(0,up.h)("div",{class:(0,Nbn.default)("-cbwsdk-redirect-dialog-box",f)},(0,up.h)("p",null,t),(0,up.h)("button",{onClick:a},e))))}});var k3e=D(b$=>{"use strict";u();p();Object.defineProperty(b$,"__esModule",{value:!0});b$.MobileRelayUI=void 0;var Wbn=dh0(),C3e=class{constructor(e){this.attached=!1,this.darkMode=!1,this.redirectDialog=new Wbn.RedirectDialog,this.darkMode=e.darkMode}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");this.redirectDialog.attach(),this.attached=!0}setConnected(e){}redirectToCoinbaseWallet(e){let n=new URL("https://go.cb-w.com/walletlink");n.searchParams.append("redirect_url",window.location.href),e&&n.searchParams.append("wl_url",e);let a=document.createElement("a");a.target="cbw-opener",a.href=n.href,a.rel="noreferrer noopener",a.click()}openCoinbaseWalletDeeplink(e){this.redirectDialog.present({title:"Redirecting to Coinbase Wallet...",buttonText:"Open",darkMode:this.darkMode,onButtonClick:()=>{this.redirectToCoinbaseWallet(e)}}),setTimeout(()=>{this.redirectToCoinbaseWallet(e)},99)}showConnecting(e){return()=>{this.redirectDialog.clear()}}hideRequestEthereumAccounts(){this.redirectDialog.clear()}requestEthereumAccounts(){}addEthereumChain(){}watchAsset(){}selectProvider(){}switchEthereumChain(){}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}reloadUI(){}setStandalone(){}setConnectDisabled(){}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}isStandalone(){return!1}};b$.MobileRelayUI=C3e});var R3e=D(y$=>{"use strict";u();p();Object.defineProperty(y$,"__esModule",{value:!0});y$.MobileRelay=void 0;var qbn=sp(),jbn=_3e(),Gbn=k3e(),S3e=class extends jbn.WalletLinkRelay{constructor(e){var n;super(e),this._enableMobileWalletLink=(n=e.enableMobileWalletLink)!==null&&n!==void 0?n:!1}requestEthereumAccounts(){return this._enableMobileWalletLink?super.requestEthereumAccounts():{promise:new Promise(()=>{let e=(0,qbn.getLocation)();e.href=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(e.href)}`}),cancel:()=>{}}}publishWeb3RequestEvent(e,n){if(super.publishWeb3RequestEvent(e,n),!(this._enableMobileWalletLink&&this.ui instanceof Gbn.MobileRelayUI))return;let a=!1;switch(n.method){case"requestEthereumAccounts":case"connectAndSignIn":a=!0,this.ui.openCoinbaseWalletDeeplink(this.getQRCodeUrl());break;case"switchEthereumChain":return;default:a=!0,this.ui.openCoinbaseWalletDeeplink();break}a&&window.addEventListener("blur",()=>{window.addEventListener("focus",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0})}handleWeb3ResponseMessage(e){super.handleWeb3ResponseMessage(e)}connectAndSignIn(e){if(!this._enableMobileWalletLink)throw new Error("connectAndSignIn is supported only when enableMobileWalletLink is on");return this.sendRequest({method:"connectAndSignIn",params:{appName:this.appName,appLogoUrl:this.appLogoUrl,domain:window.location.hostname,aud:window.location.href,version:"1",type:"eip4361",nonce:e.nonce,iat:new Date().toISOString(),chainId:`eip155:${this.dappDefaultChain}`,statement:e.statement,resources:e.resources}})}};y$.MobileRelay=S3e});var ph0=D((jJa,uh0)=>{u();p();var{Transform:Kbn}=MO();uh0.exports=t=>class lh0 extends Kbn{constructor(n,a,r,f,i){super(i),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._hashBitLength=f,this._options=i,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(n){let a=null;try{this.push(this.digest())}catch(r){a=r}n(a)}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}digest(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let a=this._state.squeeze(this._hashBitLength/8);return n!==void 0&&(a=a.toString(n)),this._resetState(),a}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new lh0(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var bh0=D((QJa,mh0)=>{u();p();var{Transform:Qbn}=MO();mh0.exports=t=>class hh0 extends Qbn{constructor(n,a,r,f){super(f),this._rate=n,this._capacity=a,this._delimitedSuffix=r,this._options=f,this._state=new t,this._state.initialize(n,a),this._finalized=!1}_transform(n,a,r){let f=null;try{this.update(n,a)}catch(i){f=i}r(f)}_flush(){}_read(n){this.push(this.squeeze(n))}update(n,a){if(!_.Buffer.isBuffer(n)&&typeof n!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return _.Buffer.isBuffer(n)||(n=_.Buffer.from(n,a)),this._state.absorb(n),this}squeeze(n,a){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let r=this._state.squeeze(n);return a!==void 0&&(r=r.toString(a)),r}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let n=new hh0(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(n._state),n._finalized=this._finalized,n}}});var gh0=D(($Ja,yh0)=>{u();p();var Vbn=ph0(),Ybn=bh0();yh0.exports=function(t){let e=Vbn(t),n=Ybn(t);return function(a,r){switch(typeof a=="string"?a.toLowerCase():a){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+a)}}}});var Th0=D(wh0=>{u();p();var vh0=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];wh0.p1600=function(t){for(let e=0;e<24;++e){let n=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],r=t[2]^t[12]^t[22]^t[32]^t[42],f=t[3]^t[13]^t[23]^t[33]^t[43],i=t[4]^t[14]^t[24]^t[34]^t[44],s=t[5]^t[15]^t[25]^t[35]^t[45],o=t[6]^t[16]^t[26]^t[36]^t[46],c=t[7]^t[17]^t[27]^t[37]^t[47],d=t[8]^t[18]^t[28]^t[38]^t[48],l=t[9]^t[19]^t[29]^t[39]^t[49],h=d^(r<<1|f>>>31),y=l^(f<<1|r>>>31),v=t[0]^h,k=t[1]^y,O=t[10]^h,F=t[11]^y,z=t[20]^h,W=t[21]^y,j=t[30]^h,Q=t[31]^y,V=t[40]^h,X=t[41]^y;h=n^(i<<1|s>>>31),y=a^(s<<1|i>>>31);let K=t[2]^h,G=t[3]^y,R=t[12]^h,T=t[13]^y,N=t[22]^h,w=t[23]^y,b=t[32]^h,A=t[33]^y,P=t[42]^h,L=t[43]^y;h=r^(o<<1|c>>>31),y=f^(c<<1|o>>>31);let E=t[4]^h,g=t[5]^y,B=t[14]^h,M=t[15]^y,S=t[24]^h,q=t[25]^y,ee=t[34]^h,U=t[35]^y,J=t[44]^h,Z=t[45]^y;h=i^(d<<1|l>>>31),y=s^(l<<1|d>>>31);let ne=t[6]^h,ue=t[7]^y,Y=t[16]^h,re=t[17]^y,ie=t[26]^h,ge=t[27]^y,de=t[36]^h,Ae=t[37]^y,Ge=t[46]^h,Be=t[47]^y;h=o^(n<<1|a>>>31),y=c^(a<<1|n>>>31);let c0=t[8]^h,Ye=t[9]^y,He=t[18]^h,_0=t[19]^y,L0=t[28]^h,Ze=t[29]^y,C0=t[38]^h,pe=t[39]^y,he=t[48]^h,Te=t[49]^y,Ie=v,Se=k,Qe=F<<4|O>>>28,u0=O<<4|F>>>28,qe=z<<3|W>>>29,v0=W<<3|z>>>29,w0=Q<<9|j>>>23,Ve=j<<9|Q>>>23,me=V<<18|X>>>14,ye=X<<18|V>>>14,_e=K<<1|G>>>31,ze=G<<1|K>>>31,je=T<<12|R>>>20,Ue=R<<12|T>>>20,m0=N<<10|w>>>22,h0=w<<10|N>>>22,$e=A<<13|b>>>19,M0=b<<13|A>>>19,P0=P<<2|L>>>30,t0=L<<2|P>>>30,j0=g<<30|E>>>2,z0=E<<30|g>>>2,Ke=B<<6|M>>>26,B0=M<<6|B>>>26,K0=q<<11|S>>>21,s0=S<<11|q>>>21,J0=ee<<15|U>>>17,Y0=U<<15|ee>>>17,l0=Z<<29|J>>>3,Q0=J<<29|Z>>>3,et=ne<<28|ue>>>4,p0=ue<<28|ne>>>4,Z0=re<<23|Y>>>9,Et=Y<<23|re>>>9,$0=ie<<25|ge>>>7,Tt=ge<<25|ie>>>7,Pn=de<<21|Ae>>>11,Ln=Ae<<21|de>>>11,Fn=Be<<24|Ge>>>8,Nn=Ge<<24|Be>>>8,On=c0<<27|Ye>>>5,Ha=Ye<<27|c0>>>5,pr=He<<20|_0>>>12,za=_0<<20|He>>>12,hr=Ze<<7|L0>>>25,ar=L0<<7|Ze>>>25,Ir=C0<<8|pe>>>24,Jr=pe<<8|C0>>>24,rr=he<<14|Te>>>18,cf=Te<<14|he>>>18;t[0]=Ie^~je&K0,t[1]=Se^~Ue&s0,t[10]=et^~pr&qe,t[11]=p0^~za&v0,t[20]=_e^~Ke&$0,t[21]=ze^~B0&Tt,t[30]=On^~Qe&m0,t[31]=Ha^~u0&h0,t[40]=j0^~Z0&hr,t[41]=z0^~Et&ar,t[2]=je^~K0&Pn,t[3]=Ue^~s0&Ln,t[12]=pr^~qe&$e,t[13]=za^~v0&M0,t[22]=Ke^~$0&Ir,t[23]=B0^~Tt&Jr,t[32]=Qe^~m0&J0,t[33]=u0^~h0&Y0,t[42]=Z0^~hr&w0,t[43]=Et^~ar&Ve,t[4]=K0^~Pn&rr,t[5]=s0^~Ln&cf,t[14]=qe^~$e&l0,t[15]=v0^~M0&Q0,t[24]=$0^~Ir&me,t[25]=Tt^~Jr&ye,t[34]=m0^~J0&Fn,t[35]=h0^~Y0&Nn,t[44]=hr^~w0&P0,t[45]=ar^~Ve&t0,t[6]=Pn^~rr&Ie,t[7]=Ln^~cf&Se,t[16]=$e^~l0&et,t[17]=M0^~Q0&p0,t[26]=Ir^~me&_e,t[27]=Jr^~ye&ze,t[36]=J0^~Fn&On,t[37]=Y0^~Nn&Ha,t[46]=w0^~P0&j0,t[47]=Ve^~t0&z0,t[8]=rr^~Ie&je,t[9]=cf^~Se&Ue,t[18]=l0^~et&pr,t[19]=Q0^~p0&za,t[28]=me^~_e&Ke,t[29]=ye^~ze&B0,t[38]=Fn^~On&Qe,t[39]=Nn^~Ha&u0,t[48]=P0^~j0&Z0,t[49]=t0^~z0&Et,t[0]^=vh0[e*2],t[1]^=vh0[e*2+1]}}});var Eh0=D((nXa,xh0)=>{u();p();var g$=Th0();function yA(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}yA.prototype.initialize=function(t,e){for(let n=0;n<50;++n)this.state[n]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1};yA.prototype.absorb=function(t){for(let e=0;e>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(g$.p1600(this.state),this.count=0);return e};yA.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing};xh0.exports=yA});var M3e=D((fXa,_h0)=>{u();p();_h0.exports=gh0()(Eh0())});var B3e=D((oXa,Sh0)=>{u();p();var $bn=M3e(),Jbn=Va();function Ah0(t){return _.Buffer.allocUnsafe(t).fill(0)}function Ih0(t,e,n){let a=Ah0(e);return t=v$(t),n?t.length{u();p();var Lg=B3e(),Pg=Va();function Mh0(t){return t.startsWith("int[")?"int256"+t.slice(3):t==="int"?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):t==="uint"?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):t==="fixed"?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):t==="ufixed"?"ufixed128x128":t}function gA(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function Rh0(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function Bh0(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?e[2]===""?"dynamic":parseInt(e[2],10):null}function Dg(t){var e=typeof t;if(e==="string")return Lg.isHexString(t)?new Pg(Lg.stripHexPrefix(t),16):new Pg(t,10);if(e==="number")return new Pg(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function pp(t,e){var n,a,r,f;if(t==="address")return pp("uint160",Dg(e));if(t==="bool")return pp("uint8",e?1:0);if(t==="string")return pp("bytes",new _.Buffer(e,"utf8"));if(a4n(t)){if(typeof e.length>"u")throw new Error("Not an array?");if(n=Bh0(t),n!=="dynamic"&&n!==0&&e.length>n)throw new Error("Elements exceed array size: "+n);r=[],t=t.slice(0,t.lastIndexOf("[")),typeof e=="string"&&(e=JSON.parse(e));for(f in e)r.push(pp(t,e[f]));if(n==="dynamic"){var i=pp("uint256",e.length);r.unshift(i)}return _.Buffer.concat(r)}else{if(t==="bytes")return e=new _.Buffer(e),r=_.Buffer.concat([pp("uint256",e.length),e]),e.length%32!==0&&(r=_.Buffer.concat([r,Lg.zeros(32-e.length%32)])),r;if(t.startsWith("bytes")){if(n=gA(t),n<1||n>32)throw new Error("Invalid bytes width: "+n);return Lg.setLengthRight(e,32)}else if(t.startsWith("uint")){if(n=gA(t),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Dg(e),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());if(a<0)throw new Error("Supplied uint is negative");return a.toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("int")){if(n=gA(t),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Dg(e),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());return a.toTwos(256).toArrayLike(_.Buffer,"be",32)}else if(t.startsWith("ufixed")){if(n=Rh0(t),a=Dg(e),a<0)throw new Error("Supplied ufixed is negative");return pp("uint256",a.mul(new Pg(2).pow(new Pg(n[1]))))}else if(t.startsWith("fixed"))return n=Rh0(t),pp("int256",Dg(e).mul(new Pg(2).pow(new Pg(n[1]))))}throw new Error("Unsupported or invalid type: "+t)}function n4n(t){return t==="string"||t==="bytes"||Bh0(t)==="dynamic"}function a4n(t){return t.lastIndexOf("]")===t.length-1}function r4n(t,e){var n=[],a=[],r=32*t.length;for(var f in t){var i=Mh0(t[f]),s=e[f],o=pp(i,s);n4n(i)?(n.push(pp("uint256",r)),a.push(o),r+=o.length):n.push(o)}return _.Buffer.concat(n.concat(a))}function Dh0(t,e){if(t.length!==e.length)throw new Error("Number of types are not matching the values");for(var n,a,r=[],f=0;f32)throw new Error("Invalid bytes width: "+n);r.push(Lg.setLengthRight(s,n))}else if(i.startsWith("uint")){if(n=gA(i),n%8||n<8||n>256)throw new Error("Invalid uint width: "+n);if(a=Dg(s),a.bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+a.bitLength());r.push(a.toArrayLike(_.Buffer,"be",n/8))}else if(i.startsWith("int")){if(n=gA(i),n%8||n<8||n>256)throw new Error("Invalid int width: "+n);if(a=Dg(s),a.bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+a.bitLength());r.push(a.toTwos(n).toArrayLike(_.Buffer,"be",n/8))}else throw new Error("Unsupported or invalid type: "+i)}return _.Buffer.concat(r)}function f4n(t,e){return Lg.keccak(Dh0(t,e))}Ph0.exports={rawEncode:r4n,solidityPack:Dh0,soliditySHA3:f4n}});var Oh0=D((hXa,Nh0)=>{u();p();var Yl=B3e(),BD=Lh0(),Fh0={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},D3e={encodeData(t,e,n,a=!0){let r=["bytes32"],f=[this.hashType(t,n)];if(a){let i=(s,o,c)=>{if(n[o]!==void 0)return["bytes32",c==null?"0x0000000000000000000000000000000000000000000000000000000000000000":Yl.keccak(this.encodeData(o,c,n,a))];if(c===void 0)throw new Error(`missing value for field ${s} of type ${o}`);if(o==="bytes")return["bytes32",Yl.keccak(c)];if(o==="string")return typeof c=="string"&&(c=_.Buffer.from(c,"utf8")),["bytes32",Yl.keccak(c)];if(o.lastIndexOf("]")===o.length-1){let d=o.slice(0,o.lastIndexOf("[")),l=c.map(h=>i(s,d,h));return["bytes32",Yl.keccak(BD.rawEncode(l.map(([h])=>h),l.map(([,h])=>h)))]}return[o,c]};for(let s of n[t]){let[o,c]=i(s.name,s.type,e[s.name]);r.push(o),f.push(c)}}else for(let i of n[t]){let s=e[i.name];if(s!==void 0)if(i.type==="bytes")r.push("bytes32"),s=Yl.keccak(s),f.push(s);else if(i.type==="string")r.push("bytes32"),typeof s=="string"&&(s=_.Buffer.from(s,"utf8")),s=Yl.keccak(s),f.push(s);else if(n[i.type]!==void 0)r.push("bytes32"),s=Yl.keccak(this.encodeData(i.type,s,n,a)),f.push(s);else{if(i.type.lastIndexOf("]")===i.type.length-1)throw new Error("Arrays currently unimplemented in encodeData");r.push(i.type),f.push(s)}}return BD.rawEncode(r,f)},encodeType(t,e){let n="",a=this.findTypeDependencies(t,e).filter(r=>r!==t);a=[t].concat(a.sort());for(let r of a){if(!e[r])throw new Error("No type definition specified: "+r);n+=r+"("+e[r].map(({name:i,type:s})=>s+" "+i).join(",")+")"}return n},findTypeDependencies(t,e,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||e[t]===void 0)return n;n.push(t);for(let a of e[t])for(let r of this.findTypeDependencies(a.type,e,n))!n.includes(r)&&n.push(r);return n},hashStruct(t,e,n,a=!0){return Yl.keccak(this.encodeData(t,e,n,a))},hashType(t,e){return Yl.keccak(this.encodeType(t,e))},sanitizeData(t){let e={};for(let n in Fh0.properties)t[n]&&(e[n]=t[n]);return e.types&&(e.types=Object.assign({EIP712Domain:[]},e.types)),e},hash(t,e=!0){let n=this.sanitizeData(t),a=[_.Buffer.from("1901","hex")];return a.push(this.hashStruct("EIP712Domain",n.domain,n.types,e)),n.primaryType!=="EIP712Domain"&&a.push(this.hashStruct(n.primaryType,n.message,n.types,e)),Yl.keccak(_.Buffer.concat(a))}};Nh0.exports={TYPED_MESSAGE_SCHEMA:Fh0,TypedDataUtils:D3e,hashForSignTypedDataLegacy:function(t){return i4n(t.data)},hashForSignTypedData_v3:function(t){return D3e.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return D3e.hash(t.data)}};function i4n(t){let e=new Error("Expect argument to be non-empty array");if(typeof t!="object"||!t.length)throw e;let n=t.map(function(f){return f.type==="bytes"?Yl.toBuffer(f.value):f.value}),a=t.map(function(f){return f.type}),r=t.map(function(f){if(!f.name)throw e;return f.type+" "+f.name});return BD.soliditySHA3(["bytes32","bytes32"],[BD.soliditySHA3(new Array(t.length).fill("string"),r),BD.soliditySHA3(a,n)])}});var qh0=D(wA=>{"use strict";u();p();Object.defineProperty(wA,"__esModule",{value:!0});wA.filterFromParam=wA.FilterPolyfill=void 0;var vA=TD(),bc=sp(),s4n=5*60*1e3,Fg={jsonrpc:"2.0",id:0},P3e=class{constructor(e){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,vA.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=e}async newFilter(e){let n=Wh0(e),a=this.makeFilterId(),r=await this.setInitialCursorPosition(a,n.fromBlock);return console.info(`Installing new log filter(${a}):`,n,"initial cursor position:",r),this.logFilters.set(a,n),this.setFilterTimeout(a),(0,bc.hexStringFromIntNumber)(a)}async newBlockFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.blockFilters.add(e),this.setFilterTimeout(e),(0,bc.hexStringFromIntNumber)(e)}async newPendingTransactionFilter(){let e=this.makeFilterId(),n=await this.setInitialCursorPosition(e,"latest");return console.info(`Installing new block filter (${e}) with initial cursor position:`,n),this.pendingTransactionFilters.add(e),this.setFilterTimeout(e),(0,bc.hexStringFromIntNumber)(e)}uninstallFilter(e){let n=(0,bc.intNumberFromHexString)(e);return console.info(`Uninstalling filter (${n})`),this.deleteFilter(n),!0}getFilterChanges(e){let n=(0,bc.intNumberFromHexString)(e);return this.timeouts.has(n)&&this.setFilterTimeout(n),this.logFilters.has(n)?this.getLogFilterChanges(n):this.blockFilters.has(n)?this.getBlockFilterChanges(n):this.pendingTransactionFilters.has(n)?this.getPendingTransactionFilterChanges(n):Promise.resolve(w$())}async getFilterLogs(e){let n=(0,bc.intNumberFromHexString)(e),a=this.logFilters.get(n);return a?this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getLogs",params:[Uh0(a)]})):w$()}makeFilterId(){return(0,vA.IntNumber)(++this.nextFilterId)}sendAsyncPromise(e){return new Promise((n,a)=>{this.provider.sendAsync(e,(r,f)=>{if(r)return a(r);if(Array.isArray(f)||f==null)return a(new Error(`unexpected response received: ${JSON.stringify(f)}`));n(f)})})}deleteFilter(e){console.info(`Deleting filter (${e})`),this.logFilters.delete(e),this.blockFilters.delete(e),this.pendingTransactionFilters.delete(e),this.cursors.delete(e),this.timeouts.delete(e)}async getLogFilterChanges(e){let n=this.logFilters.get(e),a=this.cursors.get(e);if(!a||!n)return w$();let r=await this.getCurrentBlockHeight(),f=n.toBlock==="latest"?r:n.toBlock;if(a>r||a>Number(n.toBlock))return T$();console.info(`Fetching logs from ${a} to ${f} for filter ${e}`);let i=await this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getLogs",params:[Uh0(Object.assign(Object.assign({},n),{fromBlock:a,toBlock:f}))]}));if(Array.isArray(i.result)){let s=i.result.map(c=>(0,bc.intNumberFromHexString)(c.blockNumber||"0x0")),o=Math.max(...s);if(o&&o>a){let c=(0,vA.IntNumber)(o+1);console.info(`Moving cursor position for filter (${e}) from ${a} to ${c}`),this.cursors.set(e,c)}}return i}async getBlockFilterChanges(e){let n=this.cursors.get(e);if(!n)return w$();let a=await this.getCurrentBlockHeight();if(n>a)return T$();console.info(`Fetching blocks from ${n} to ${a} for filter (${e})`);let r=(await Promise.all((0,bc.range)(n,a+1).map(i=>this.getBlockHashByNumber((0,vA.IntNumber)(i))))).filter(i=>!!i),f=(0,vA.IntNumber)(n+r.length);return console.info(`Moving cursor position for filter (${e}) from ${n} to ${f}`),this.cursors.set(e,f),Object.assign(Object.assign({},Fg),{result:r})}async getPendingTransactionFilterChanges(e){return Promise.resolve(T$())}async setInitialCursorPosition(e,n){let a=await this.getCurrentBlockHeight(),r=typeof n=="number"&&n>a?n:a;return this.cursors.set(e,r),r}setFilterTimeout(e){let n=this.timeouts.get(e);n&&window.clearTimeout(n);let a=window.setTimeout(()=>{console.info(`Filter (${e}) timed out`),this.deleteFilter(e)},s4n);this.timeouts.set(e,a)}async getCurrentBlockHeight(){let e=new Date;if(e.getTime()-this.lastFetchTimestamp.getTime()>this.REQUEST_THROTTLE_INTERVAL){this.lastFetchTimestamp=e;let n=await this._getCurrentBlockHeight();this.currentBlockHeight=n,this.resolvers.forEach(a=>a(n)),this.resolvers=[]}return this.currentBlockHeight?this.currentBlockHeight:new Promise(n=>this.resolvers.push(n))}async _getCurrentBlockHeight(){let{result:e}=await this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_blockNumber",params:[]}));return(0,bc.intNumberFromHexString)((0,bc.ensureHexString)(e))}async getBlockHashByNumber(e){let n=await this.sendAsyncPromise(Object.assign(Object.assign({},Fg),{method:"eth_getBlockByNumber",params:[(0,bc.hexStringFromIntNumber)(e),!1]}));return n.result&&typeof n.result.hash=="string"?(0,bc.ensureHexString)(n.result.hash):null}};wA.FilterPolyfill=P3e;function Wh0(t){return{fromBlock:Hh0(t.fromBlock),toBlock:Hh0(t.toBlock),addresses:t.address===void 0?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}wA.filterFromParam=Wh0;function Uh0(t){let e={fromBlock:zh0(t.fromBlock),toBlock:zh0(t.toBlock),topics:t.topics};return t.addresses!==null&&(e.address=t.addresses),e}function Hh0(t){if(t===void 0||t==="latest"||t==="pending")return"latest";if(t==="earliest")return(0,vA.IntNumber)(0);if((0,bc.isHexString)(t))return(0,bc.intNumberFromHexString)(t);throw new Error(`Invalid block option: ${String(t)}`)}function zh0(t){return t==="latest"?t:(0,bc.hexStringFromIntNumber)(t)}function w$(){return Object.assign(Object.assign({},Fg),{error:{code:-32e3,message:"filter not found"}})}function T$(){return Object.assign(Object.assign({},Fg),{result:[]})}});var x$=D((wXa,jh0)=>{u();p();jh0.exports=o4n;function o4n(t){t=t||{};var e=t.max||Number.MAX_SAFE_INTEGER,n=typeof t.start<"u"?t.start:Math.floor(Math.random()*e);return function(){return n=n%e,n++}}});var Qh0=D((EXa,Kh0)=>{"use strict";u();p();var Gh0=(t,e)=>function(){let n=e.promiseModule,a=new Array(arguments.length);for(let r=0;r{e.errorFirst?a.push(function(i,s){if(e.multiArgs){let o=new Array(arguments.length-1);for(let c=1;c{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);let n=r=>{let f=i=>typeof i=="string"?r===i:i.test(r);return e.include?e.include.some(f):!e.exclude.some(f)},a;typeof t=="function"?a=function(){return e.excludeMain?t.apply(this,arguments):Gh0(t,e).apply(this,arguments)}:a=Object.create(Object.getPrototypeOf(t));for(let r in t){let f=t[r];a[r]=typeof f=="function"&&n(r)?Gh0(f,e):f}return a}});var E$=D(F3e=>{"use strict";u();p();Object.defineProperty(F3e,"__esModule",{value:!0});var c4n=Or();function Vh0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function d4n(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")Vh0(f,this,n);else{let i=f.length,s=d4n(f);for(let o=0;o{"use strict";u();p();var l4n=TA&&TA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(TA,"__esModule",{value:!0});TA.BaseBlockTracker=void 0;var u4n=l4n(E$()),p4n=1e3,h4n=(t,e)=>t+e,Yh0=["sync","latest"],N3e=class extends u4n.default{constructor(e){super(),this._blockResetDuration=e.blockResetDuration||20*p4n,this._usePastBlocks=e.usePastBlocks||!1,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}async destroy(){this._cancelBlockResetTimeout(),await this._maybeEnd(),super.removeAllListeners()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise(n=>this.once("latest",n))}removeAllListeners(e){return e?super.removeAllListeners(e):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener(),this}_setupInternalEvents(){this.removeListener("newListener",this._onNewListener),this.removeListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)}_onNewListener(e){Yh0.includes(e)&&this._maybeStart()}_onRemoveListener(){this._getBlockTrackerEventCount()>0||this._maybeEnd()}async _maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),await this._start(),this.emit("_started"))}async _maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),await this._end(),this.emit("_ended"))}_getBlockTrackerEventCount(){return Yh0.map(e=>this.listenerCount(e)).reduce(h4n)}_shouldUseNewBlock(e){let n=this._currentBlock;if(!n)return!0;let a=$h0(e),r=$h0(n);return this._usePastBlocks&&ar}_newPotentialLatest(e){this._shouldUseNewBlock(e)&&this._setCurrentBlock(e)}_setCurrentBlock(e){let n=this._currentBlock;this._currentBlock=e,this.emit("latest",e),this.emit("sync",{oldBlock:n,newBlock:e})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){this._blockResetTimeout&&clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}};TA.BaseBlockTracker=N3e;function $h0(t){return Number.parseInt(t,16)}});var p4=D((_$,Jh0)=>{u();p();(function(t,e){typeof _$=="object"&&typeof Jh0<"u"?e(_$):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Superstruct={}))})(_$,function(t){"use strict";class e extends TypeError{constructor(he,Te){let Ie,{message:Se,explanation:Qe,...u0}=he,{path:qe}=he,v0=qe.length===0?Se:`At path: ${qe.join(".")} -- ${Se}`;super(Qe??v0),Qe!=null&&(this.cause=v0),Object.assign(this,u0),this.name=this.constructor.name,this.failures=()=>Ie??(Ie=[he,...Te()])}}function n(pe){return a(pe)&&typeof pe[Symbol.iterator]=="function"}function a(pe){return typeof pe=="object"&&pe!=null}function r(pe){if(Object.prototype.toString.call(pe)!=="[object Object]")return!1;let he=Object.getPrototypeOf(pe);return he===null||he===Object.prototype}function f(pe){return typeof pe=="symbol"?pe.toString():typeof pe=="string"?JSON.stringify(pe):`${pe}`}function i(pe){let{done:he,value:Te}=pe.next();return he?void 0:Te}function s(pe,he,Te,Ie){if(pe===!0)return;pe===!1?pe={}:typeof pe=="string"&&(pe={message:pe});let{path:Se,branch:Qe}=he,{type:u0}=Te,{refinement:qe,message:v0=`Expected a value of type \`${u0}\`${qe?` with refinement \`${qe}\``:""}, but received: \`${f(Ie)}\``}=pe;return{value:Ie,type:u0,refinement:qe,key:Se[Se.length-1],path:Se,branch:Qe,...pe,message:v0}}function*o(pe,he,Te,Ie){n(pe)||(pe=[pe]);for(let Se of pe){let Qe=s(Se,he,Te,Ie);Qe&&(yield Qe)}}function*c(pe,he,Te={}){let{path:Ie=[],branch:Se=[pe],coerce:Qe=!1,mask:u0=!1}=Te,qe={path:Ie,branch:Se};if(Qe&&(pe=he.coercer(pe,qe),u0&&he.type!=="type"&&a(he.schema)&&a(pe)&&!Array.isArray(pe)))for(let w0 in pe)he.schema[w0]===void 0&&delete pe[w0];let v0="valid";for(let w0 of he.validator(pe,qe))w0.explanation=Te.message,v0="not_valid",yield[w0,void 0];for(let[w0,Ve,me]of he.entries(pe,qe)){let ye=c(Ve,me,{path:w0===void 0?Ie:[...Ie,w0],branch:w0===void 0?Se:[...Se,Ve],coerce:Qe,mask:u0,message:Te.message});for(let _e of ye)_e[0]?(v0=_e[0].refinement!=null?"not_refined":"not_valid",yield[_e[0],void 0]):Qe&&(Ve=_e[1],w0===void 0?pe=Ve:pe instanceof Map?pe.set(w0,Ve):pe instanceof Set?pe.add(Ve):a(pe)&&(Ve!==void 0||w0 in pe)&&(pe[w0]=Ve))}if(v0!=="not_valid")for(let w0 of he.refiner(pe,qe))w0.explanation=Te.message,v0="not_refined",yield[w0,void 0];v0==="valid"&&(yield[void 0,pe])}class d{constructor(he){let{type:Te,schema:Ie,validator:Se,refiner:Qe,coercer:u0=v0=>v0,entries:qe=function*(){}}=he;this.type=Te,this.schema=Ie,this.entries=qe,this.coercer=u0,Se?this.validator=(v0,w0)=>{let Ve=Se(v0,w0);return o(Ve,w0,this,v0)}:this.validator=()=>[],Qe?this.refiner=(v0,w0)=>{let Ve=Qe(v0,w0);return o(Ve,w0,this,v0)}:this.refiner=()=>[]}assert(he,Te){return l(he,this,Te)}create(he,Te){return h(he,this,Te)}is(he){return v(he,this)}mask(he,Te){return y(he,this,Te)}validate(he,Te={}){return k(he,this,Te)}}function l(pe,he,Te){let Ie=k(pe,he,{message:Te});if(Ie[0])throw Ie[0]}function h(pe,he,Te){let Ie=k(pe,he,{coerce:!0,message:Te});if(Ie[0])throw Ie[0];return Ie[1]}function y(pe,he,Te){let Ie=k(pe,he,{coerce:!0,mask:!0,message:Te});if(Ie[0])throw Ie[0];return Ie[1]}function v(pe,he){return!k(pe,he)[0]}function k(pe,he,Te={}){let Ie=c(pe,he,Te),Se=i(Ie);return Se[0]?[new e(Se[0],function*(){for(let u0 of Ie)u0[0]&&(yield u0[0])}),void 0]:[void 0,Se[1]]}function O(...pe){let he=pe[0].type==="type",Te=pe.map(Se=>Se.schema),Ie=Object.assign({},...Te);return he?re(Ie):ee(Ie)}function F(pe,he){return new d({type:pe,schema:null,validator:he})}function z(pe,he){return new d({...pe,refiner:(Te,Ie)=>Te===void 0||pe.refiner(Te,Ie),validator(Te,Ie){return Te===void 0?!0:(he(Te,Ie),pe.validator(Te,Ie))}})}function W(pe){return new d({type:"dynamic",schema:null,*entries(he,Te){yield*pe(he,Te).entries(he,Te)},validator(he,Te){return pe(he,Te).validator(he,Te)},coercer(he,Te){return pe(he,Te).coercer(he,Te)},refiner(he,Te){return pe(he,Te).refiner(he,Te)}})}function j(pe){let he;return new d({type:"lazy",schema:null,*entries(Te,Ie){he??(he=pe()),yield*he.entries(Te,Ie)},validator(Te,Ie){return he??(he=pe()),he.validator(Te,Ie)},coercer(Te,Ie){return he??(he=pe()),he.coercer(Te,Ie)},refiner(Te,Ie){return he??(he=pe()),he.refiner(Te,Ie)}})}function Q(pe,he){let{schema:Te}=pe,Ie={...Te};for(let Se of he)delete Ie[Se];switch(pe.type){case"type":return re(Ie);default:return ee(Ie)}}function V(pe){let he=pe instanceof d,Te=he?{...pe.schema}:{...pe};for(let Ie in Te)Te[Ie]=U(Te[Ie]);return he&&pe.type==="type"?re(Te):ee(Te)}function X(pe,he){let{schema:Te}=pe,Ie={};for(let Se of he)Ie[Se]=Te[Se];switch(pe.type){case"type":return re(Ie);default:return ee(Ie)}}function K(pe,he){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),F(pe,he)}function G(){return F("any",()=>!0)}function R(pe){return new d({type:"array",schema:pe,*entries(he){if(pe&&Array.isArray(he))for(let[Te,Ie]of he.entries())yield[Te,Ie,pe]},coercer(he){return Array.isArray(he)?he.slice():he},validator(he){return Array.isArray(he)||`Expected an array value, but received: ${f(he)}`}})}function T(){return F("bigint",pe=>typeof pe=="bigint")}function N(){return F("boolean",pe=>typeof pe=="boolean")}function w(){return F("date",pe=>pe instanceof Date&&!isNaN(pe.getTime())||`Expected a valid \`Date\` object, but received: ${f(pe)}`)}function b(pe){let he={},Te=pe.map(Ie=>f(Ie)).join();for(let Ie of pe)he[Ie]=Ie;return new d({type:"enums",schema:he,validator(Ie){return pe.includes(Ie)||`Expected one of \`${Te}\`, but received: ${f(Ie)}`}})}function A(){return F("func",pe=>typeof pe=="function"||`Expected a function, but received: ${f(pe)}`)}function P(pe){return F("instance",he=>he instanceof pe||`Expected a \`${pe.name}\` instance, but received: ${f(he)}`)}function L(){return F("integer",pe=>typeof pe=="number"&&!isNaN(pe)&&Number.isInteger(pe)||`Expected an integer, but received: ${f(pe)}`)}function E(pe){return new d({type:"intersection",schema:null,*entries(he,Te){for(let Ie of pe)yield*Ie.entries(he,Te)},*validator(he,Te){for(let Ie of pe)yield*Ie.validator(he,Te)},*refiner(he,Te){for(let Ie of pe)yield*Ie.refiner(he,Te)}})}function g(pe){let he=f(pe),Te=typeof pe;return new d({type:"literal",schema:Te==="string"||Te==="number"||Te==="boolean"?pe:null,validator(Ie){return Ie===pe||`Expected the literal \`${he}\`, but received: ${f(Ie)}`}})}function B(pe,he){return new d({type:"map",schema:null,*entries(Te){if(pe&&he&&Te instanceof Map)for(let[Ie,Se]of Te.entries())yield[Ie,Ie,pe],yield[Ie,Se,he]},coercer(Te){return Te instanceof Map?new Map(Te):Te},validator(Te){return Te instanceof Map||`Expected a \`Map\` object, but received: ${f(Te)}`}})}function M(){return F("never",()=>!1)}function S(pe){return new d({...pe,validator:(he,Te)=>he===null||pe.validator(he,Te),refiner:(he,Te)=>he===null||pe.refiner(he,Te)})}function q(){return F("number",pe=>typeof pe=="number"&&!isNaN(pe)||`Expected a number, but received: ${f(pe)}`)}function ee(pe){let he=pe?Object.keys(pe):[],Te=M();return new d({type:"object",schema:pe||null,*entries(Ie){if(pe&&a(Ie)){let Se=new Set(Object.keys(Ie));for(let Qe of he)Se.delete(Qe),yield[Qe,Ie[Qe],pe[Qe]];for(let Qe of Se)yield[Qe,Ie[Qe],Te]}},validator(Ie){return a(Ie)||`Expected an object, but received: ${f(Ie)}`},coercer(Ie){return a(Ie)?{...Ie}:Ie}})}function U(pe){return new d({...pe,validator:(he,Te)=>he===void 0||pe.validator(he,Te),refiner:(he,Te)=>he===void 0||pe.refiner(he,Te)})}function J(pe,he){return new d({type:"record",schema:null,*entries(Te){if(a(Te))for(let Ie in Te){let Se=Te[Ie];yield[Ie,Ie,pe],yield[Ie,Se,he]}},validator(Te){return a(Te)||`Expected an object, but received: ${f(Te)}`}})}function Z(){return F("regexp",pe=>pe instanceof RegExp)}function ne(pe){return new d({type:"set",schema:null,*entries(he){if(pe&&he instanceof Set)for(let Te of he)yield[Te,Te,pe]},coercer(he){return he instanceof Set?new Set(he):he},validator(he){return he instanceof Set||`Expected a \`Set\` object, but received: ${f(he)}`}})}function ue(){return F("string",pe=>typeof pe=="string"||`Expected a string, but received: ${f(pe)}`)}function Y(pe){let he=M();return new d({type:"tuple",schema:null,*entries(Te){if(Array.isArray(Te)){let Ie=Math.max(pe.length,Te.length);for(let Se=0;SeTe.type).join(" | ");return new d({type:"union",schema:null,coercer(Te){for(let Ie of pe){let[Se,Qe]=Ie.validate(Te,{coerce:!0});if(!Se)return Qe}return Te},validator(Te,Ie){let Se=[];for(let Qe of pe){let[...u0]=c(Te,Qe,Ie),[qe]=u0;if(qe[0])for(let[v0]of u0)v0&&Se.push(v0);else return[]}return[`Expected the value to satisfy a union of \`${he}\`, but received: ${f(Te)}`,...Se]}})}function ge(){return F("unknown",()=>!0)}function de(pe,he,Te){return new d({...pe,coercer:(Ie,Se)=>v(Ie,he)?pe.coercer(Te(Ie,Se),Se):pe.coercer(Ie,Se)})}function Ae(pe,he,Te={}){return de(pe,ge(),Ie=>{let Se=typeof he=="function"?he():he;if(Ie===void 0)return Se;if(!Te.strict&&r(Ie)&&r(Se)){let Qe={...Ie},u0=!1;for(let qe in Se)Qe[qe]===void 0&&(Qe[qe]=Se[qe],u0=!0);if(u0)return Qe}return Ie})}function Ge(pe){return de(pe,ue(),he=>he.trim())}function Be(pe){return C0(pe,"empty",he=>{let Te=c0(he);return Te===0||`Expected an empty ${pe.type} but received one with a size of \`${Te}\``})}function c0(pe){return pe instanceof Map||pe instanceof Set?pe.size:pe.length}function Ye(pe,he,Te={}){let{exclusive:Ie}=Te;return C0(pe,"max",Se=>Ie?SeIe?Se>he:Se>=he||`Expected a ${pe.type} greater than ${Ie?"":"or equal to "}${he} but received \`${Se}\``)}function _0(pe){return C0(pe,"nonempty",he=>c0(he)>0||`Expected a nonempty ${pe.type} but received an empty one`)}function L0(pe,he){return C0(pe,"pattern",Te=>he.test(Te)||`Expected a ${pe.type} matching \`/${he.source}/\` but received "${Te}"`)}function Ze(pe,he,Te=he){let Ie=`Expected a ${pe.type}`,Se=he===Te?`of \`${he}\``:`between \`${he}\` and \`${Te}\``;return C0(pe,"size",Qe=>{if(typeof Qe=="number"||Qe instanceof Date)return he<=Qe&&Qe<=Te||`${Ie} ${Se} but received \`${Qe}\``;if(Qe instanceof Map||Qe instanceof Set){let{size:u0}=Qe;return he<=u0&&u0<=Te||`${Ie} with a size ${Se} but received one with a size of \`${u0}\``}else{let{length:u0}=Qe;return he<=u0&&u0<=Te||`${Ie} with a length ${Se} but received one with a length of \`${u0}\``}})}function C0(pe,he,Te){return new d({...pe,*refiner(Ie,Se){yield*pe.refiner(Ie,Se);let Qe=Te(Ie,Se),u0=o(Qe,Se,pe,Ie);for(let qe of u0)yield{...qe,refinement:he}}})}t.Struct=d,t.StructError=e,t.any=G,t.array=R,t.assert=l,t.assign=O,t.bigint=T,t.boolean=N,t.coerce=de,t.create=h,t.date=w,t.defaulted=Ae,t.define=F,t.deprecated=z,t.dynamic=W,t.empty=Be,t.enums=b,t.func=A,t.instance=P,t.integer=L,t.intersection=E,t.is=v,t.lazy=j,t.literal=g,t.map=B,t.mask=y,t.max=Ye,t.min=He,t.never=M,t.nonempty=_0,t.nullable=S,t.number=q,t.object=ee,t.omit=Q,t.optional=U,t.partial=V,t.pattern=L0,t.pick=X,t.record=J,t.refine=C0,t.regexp=Z,t.set=ne,t.size=Ze,t.string=ue,t.struct=K,t.trimmed=Ge,t.tuple=Y,t.type=re,t.union=ie,t.unknown=ge,t.validate=k})});var Uh=D(hp=>{"use strict";u();p();Object.defineProperty(hp,"__esModule",{value:!0});hp.assertExhaustive=hp.assertStruct=hp.assert=hp.AssertionError=void 0;var m4n=p4();function b4n(t){return typeof t=="object"&&t!==null&&"message"in t}function y4n(t){var e,n;return typeof((n=(e=t?.prototype)===null||e===void 0?void 0:e.constructor)===null||n===void 0?void 0:n.name)=="string"}function g4n(t){let e=b4n(t)?t.message:String(t);return e.endsWith(".")?e.slice(0,-1):e}function Xh0(t,e){return y4n(t)?new t({message:e}):t({message:e})}var DD=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};hp.AssertionError=DD;function v4n(t,e="Assertion failed.",n=DD){if(!t)throw e instanceof Error?e:Xh0(n,e)}hp.assert=v4n;function w4n(t,e,n="Assertion failed",a=DD){try{(0,m4n.assert)(t,e)}catch(r){throw Xh0(a,`${n}: ${g4n(r)}.`)}}hp.assertStruct=w4n;function T4n(t){throw new Error("Invalid branch reached. Should be detected during compilation.")}hp.assertExhaustive=T4n});var U3e=D(A$=>{"use strict";u();p();Object.defineProperty(A$,"__esModule",{value:!0});A$.base64=void 0;var x4n=p4(),E4n=Uh(),_4n=(t,e={})=>{var n,a;let r=(n=e.paddingRequired)!==null&&n!==void 0?n:!1,f=(a=e.characterSet)!==null&&a!==void 0?a:"base64",i;f==="base64"?i=String.raw`[A-Za-z0-9+\/]`:((0,E4n.assert)(f==="base64url"),i=String.raw`[-_A-Za-z0-9]`);let s;return r?s=new RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):s=new RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),(0,x4n.pattern)(t,s)};A$.base64=_4n});var PD=D(Wi=>{"use strict";u();p();Object.defineProperty(Wi,"__esModule",{value:!0});Wi.remove0x=Wi.add0x=Wi.assertIsStrictHexString=Wi.assertIsHexString=Wi.isStrictHexString=Wi.isHexString=Wi.StrictHexStruct=Wi.HexStruct=void 0;var xA=p4(),Zh0=Uh();Wi.HexStruct=(0,xA.pattern)((0,xA.string)(),/^(?:0x)?[0-9a-f]+$/iu);Wi.StrictHexStruct=(0,xA.pattern)((0,xA.string)(),/^0x[0-9a-f]+$/iu);function e30(t){return(0,xA.is)(t,Wi.HexStruct)}Wi.isHexString=e30;function t30(t){return(0,xA.is)(t,Wi.StrictHexStruct)}Wi.isStrictHexString=t30;function A4n(t){(0,Zh0.assert)(e30(t),"Value must be a hexadecimal string.")}Wi.assertIsHexString=A4n;function I4n(t){(0,Zh0.assert)(t30(t),'Value must be a hexadecimal string, starting with "0x".')}Wi.assertIsStrictHexString=I4n;function C4n(t){return t.startsWith("0x")?t:t.startsWith("0X")?`0x${t.substring(2)}`:`0x${t}`}Wi.add0x=C4n;function k4n(t){return t.startsWith("0x")||t.startsWith("0X")?t.substring(2):t}Wi.remove0x=k4n});var W3e=D(Na=>{"use strict";u();p();Object.defineProperty(Na,"__esModule",{value:!0});Na.createDataView=Na.concatBytes=Na.valueToBytes=Na.stringToBytes=Na.numberToBytes=Na.signedBigIntToBytes=Na.bigIntToBytes=Na.hexToBytes=Na.bytesToString=Na.bytesToNumber=Na.bytesToSignedBigInt=Na.bytesToBigInt=Na.bytesToHex=Na.assertIsBytes=Na.isBytes=void 0;var V6=Uh(),H3e=PD(),n30=48,a30=58,r30=87;function S4n(){let t=[];return()=>{if(t.length===0)for(let e=0;e<256;e++)t.push(e.toString(16).padStart(2,"0"));return t}}var R4n=S4n();function z3e(t){return t instanceof Uint8Array}Na.isBytes=z3e;function EA(t){(0,V6.assert)(z3e(t),"Value must be a Uint8Array.")}Na.assertIsBytes=EA;function f30(t){if(EA(t),t.length===0)return"0x";let e=R4n(),n=new Array(t.length);for(let a=0;a=BigInt(0),"Value must be a non-negative bigint.");let e=t.toString(16);return I$(e)}Na.bigIntToBytes=s30;function P4n(t,e){(0,V6.assert)(e>0);let n=t>>BigInt(31);return!((~t&n)+(t&~n)>>BigInt(e*8+-1))}function L4n(t,e){(0,V6.assert)(typeof t=="bigint","Value must be a bigint."),(0,V6.assert)(typeof e=="number","Byte length must be a number."),(0,V6.assert)(e>0,"Byte length must be greater than 0."),(0,V6.assert)(P4n(t,e),"Byte length is too small to represent the given value.");let n=t,a=new Uint8Array(e);for(let r=0;r>=BigInt(8);return a.reverse()}Na.signedBigIntToBytes=L4n;function o30(t){(0,V6.assert)(typeof t=="number","Value must be a number."),(0,V6.assert)(t>=0,"Value must be a non-negative number."),(0,V6.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToBytes` instead.");let e=t.toString(16);return I$(e)}Na.numberToBytes=o30;function c30(t){return(0,V6.assert)(typeof t=="string","Value must be a string."),new TextEncoder().encode(t)}Na.stringToBytes=c30;function d30(t){if(typeof t=="bigint")return s30(t);if(typeof t=="number")return o30(t);if(typeof t=="string")return t.startsWith("0x")?I$(t):c30(t);if(z3e(t))return t;throw new TypeError(`Unsupported value type: "${typeof t}".`)}Na.valueToBytes=d30;function F4n(t){let e=new Array(t.length),n=0;for(let r=0;r{"use strict";u();p();Object.defineProperty(C$,"__esModule",{value:!0});C$.ChecksumStruct=void 0;var l30=p4(),O4n=U3e();C$.ChecksumStruct=(0,l30.size)((0,O4n.base64)((0,l30.string)(),{paddingRequired:!0}),44,44)});var m30=D(mp=>{"use strict";u();p();Object.defineProperty(mp,"__esModule",{value:!0});mp.createHex=mp.createBytes=mp.createBigInt=mp.createNumber=void 0;var Of=p4(),U4n=Uh(),p30=W3e(),k$=PD(),h30=(0,Of.union)([(0,Of.number)(),(0,Of.bigint)(),(0,Of.string)(),k$.StrictHexStruct]),H4n=(0,Of.coerce)((0,Of.number)(),h30,Number),z4n=(0,Of.coerce)((0,Of.bigint)(),h30,BigInt),YXa=(0,Of.union)([k$.StrictHexStruct,(0,Of.instance)(Uint8Array)]),W4n=(0,Of.coerce)((0,Of.instance)(Uint8Array),(0,Of.union)([k$.StrictHexStruct]),p30.hexToBytes),q4n=(0,Of.coerce)(k$.StrictHexStruct,(0,Of.instance)(Uint8Array),p30.bytesToHex);function j4n(t){try{let e=(0,Of.create)(t,H4n);return(0,U4n.assert)(Number.isFinite(e),`Expected a number-like value, got "${t}".`),e}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${t}".`):e}}mp.createNumber=j4n;function G4n(t){try{return(0,Of.create)(t,z4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a number-like value, got "${String(e.value)}".`):e}}mp.createBigInt=G4n;function K4n(t){if(typeof t=="string"&&t.toLowerCase()==="0x")return new Uint8Array;try{return(0,Of.create)(t,W4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createBytes=K4n;function Q4n(t){if(t instanceof Uint8Array&&t.length===0||typeof t=="string"&&t.toLowerCase()==="0x")return"0x";try{return(0,Of.create)(t,q4n)}catch(e){throw e instanceof Of.StructError?new Error(`Expected a bytes-like value, got "${String(e.value)}".`):e}}mp.createHex=Q4n});var y30=D(yp=>{"use strict";u();p();var b30=yp&&yp.__classPrivateFieldSet||function(t,e,n,a,r){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?r.call(t,n):r?r.value=n:e.set(t,n),n},yc=yp&&yp.__classPrivateFieldGet||function(t,e,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(t):a?a.value:e.get(t)},$l,bp;Object.defineProperty(yp,"__esModule",{value:!0});yp.FrozenSet=yp.FrozenMap=void 0;var LD=class{constructor(e){$l.set(this,void 0),b30(this,$l,new Map(e),"f"),Object.freeze(this)}get size(){return yc(this,$l,"f").size}[($l=new WeakMap,Symbol.iterator)](){return yc(this,$l,"f")[Symbol.iterator]()}entries(){return yc(this,$l,"f").entries()}forEach(e,n){return yc(this,$l,"f").forEach((a,r,f)=>e.call(n,a,r,this))}get(e){return yc(this,$l,"f").get(e)}has(e){return yc(this,$l,"f").has(e)}keys(){return yc(this,$l,"f").keys()}values(){return yc(this,$l,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,n])=>`${String(e)} => ${String(n)}`).join(", ")} `:""}}`}};yp.FrozenMap=LD;var FD=class{constructor(e){bp.set(this,void 0),b30(this,bp,new Set(e),"f"),Object.freeze(this)}get size(){return yc(this,bp,"f").size}[(bp=new WeakMap,Symbol.iterator)](){return yc(this,bp,"f")[Symbol.iterator]()}entries(){return yc(this,bp,"f").entries()}forEach(e,n){return yc(this,bp,"f").forEach((a,r,f)=>e.call(n,a,r,this))}has(e){return yc(this,bp,"f").has(e)}keys(){return yc(this,bp,"f").keys()}values(){return yc(this,bp,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};yp.FrozenSet=FD;Object.freeze(LD);Object.freeze(LD.prototype);Object.freeze(FD);Object.freeze(FD.prototype)});var v30=D(g30=>{"use strict";u();p();Object.defineProperty(g30,"__esModule",{value:!0})});var w30=D(g0=>{"use strict";u();p();Object.defineProperty(g0,"__esModule",{value:!0});g0.getJsonRpcIdValidator=g0.assertIsJsonRpcError=g0.isJsonRpcError=g0.assertIsJsonRpcFailure=g0.isJsonRpcFailure=g0.assertIsJsonRpcSuccess=g0.isJsonRpcSuccess=g0.assertIsJsonRpcResponse=g0.isJsonRpcResponse=g0.assertIsPendingJsonRpcResponse=g0.isPendingJsonRpcResponse=g0.JsonRpcResponseStruct=g0.JsonRpcFailureStruct=g0.JsonRpcSuccessStruct=g0.PendingJsonRpcResponseStruct=g0.assertIsJsonRpcRequest=g0.isJsonRpcRequest=g0.assertIsJsonRpcNotification=g0.isJsonRpcNotification=g0.JsonRpcNotificationStruct=g0.JsonRpcRequestStruct=g0.JsonRpcParamsStruct=g0.JsonRpcErrorStruct=g0.JsonRpcIdStruct=g0.JsonRpcVersionStruct=g0.jsonrpc2=g0.getJsonSize=g0.isValidJson=g0.JsonStruct=g0.UnsafeJsonStruct=void 0;var zt=p4(),h4=Uh(),V4n=()=>(0,zt.define)("finite number",t=>(0,zt.is)(t,(0,zt.number)())&&Number.isFinite(t));g0.UnsafeJsonStruct=(0,zt.union)([(0,zt.literal)(null),(0,zt.boolean)(),V4n(),(0,zt.string)(),(0,zt.array)((0,zt.lazy)(()=>g0.UnsafeJsonStruct)),(0,zt.record)((0,zt.string)(),(0,zt.lazy)(()=>g0.UnsafeJsonStruct))]);g0.JsonStruct=(0,zt.define)("Json",(t,e)=>{function n(a,r){let i=[...r.validator(a,e)];return i.length>0?i:!0}try{let a=n(t,g0.UnsafeJsonStruct);return a!==!0?a:n(JSON.parse(JSON.stringify(t)),g0.UnsafeJsonStruct)}catch(a){return a instanceof RangeError?"Circular reference detected":!1}});function Y4n(t){return(0,zt.is)(t,g0.JsonStruct)}g0.isValidJson=Y4n;function $4n(t){(0,h4.assertStruct)(t,g0.JsonStruct,"Invalid JSON value");let e=JSON.stringify(t);return new TextEncoder().encode(e).byteLength}g0.getJsonSize=$4n;g0.jsonrpc2="2.0";g0.JsonRpcVersionStruct=(0,zt.literal)(g0.jsonrpc2);g0.JsonRpcIdStruct=(0,zt.nullable)((0,zt.union)([(0,zt.number)(),(0,zt.string)()]));g0.JsonRpcErrorStruct=(0,zt.object)({code:(0,zt.integer)(),message:(0,zt.string)(),data:(0,zt.optional)(g0.JsonStruct),stack:(0,zt.optional)((0,zt.string)())});g0.JsonRpcParamsStruct=(0,zt.optional)((0,zt.union)([(0,zt.record)((0,zt.string)(),g0.JsonStruct),(0,zt.array)(g0.JsonStruct)]));g0.JsonRpcRequestStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,method:(0,zt.string)(),params:g0.JsonRpcParamsStruct});g0.JsonRpcNotificationStruct=(0,zt.omit)(g0.JsonRpcRequestStruct,["id"]);function J4n(t){return(0,zt.is)(t,g0.JsonRpcNotificationStruct)}g0.isJsonRpcNotification=J4n;function X4n(t,e){(0,h4.assertStruct)(t,g0.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",e)}g0.assertIsJsonRpcNotification=X4n;function Z4n(t){return(0,zt.is)(t,g0.JsonRpcRequestStruct)}g0.isJsonRpcRequest=Z4n;function eyn(t,e){(0,h4.assertStruct)(t,g0.JsonRpcRequestStruct,"Invalid JSON-RPC request",e)}g0.assertIsJsonRpcRequest=eyn;g0.PendingJsonRpcResponseStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:(0,zt.optional)((0,zt.unknown)()),error:(0,zt.optional)(g0.JsonRpcErrorStruct)});g0.JsonRpcSuccessStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,result:g0.JsonStruct});g0.JsonRpcFailureStruct=(0,zt.object)({id:g0.JsonRpcIdStruct,jsonrpc:g0.JsonRpcVersionStruct,error:g0.JsonRpcErrorStruct});g0.JsonRpcResponseStruct=(0,zt.union)([g0.JsonRpcSuccessStruct,g0.JsonRpcFailureStruct]);function tyn(t){return(0,zt.is)(t,g0.PendingJsonRpcResponseStruct)}g0.isPendingJsonRpcResponse=tyn;function nyn(t,e){(0,h4.assertStruct)(t,g0.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",e)}g0.assertIsPendingJsonRpcResponse=nyn;function ayn(t){return(0,zt.is)(t,g0.JsonRpcResponseStruct)}g0.isJsonRpcResponse=ayn;function ryn(t,e){(0,h4.assertStruct)(t,g0.JsonRpcResponseStruct,"Invalid JSON-RPC response",e)}g0.assertIsJsonRpcResponse=ryn;function fyn(t){return(0,zt.is)(t,g0.JsonRpcSuccessStruct)}g0.isJsonRpcSuccess=fyn;function iyn(t,e){(0,h4.assertStruct)(t,g0.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",e)}g0.assertIsJsonRpcSuccess=iyn;function syn(t){return(0,zt.is)(t,g0.JsonRpcFailureStruct)}g0.isJsonRpcFailure=syn;function oyn(t,e){(0,h4.assertStruct)(t,g0.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",e)}g0.assertIsJsonRpcFailure=oyn;function cyn(t){return(0,zt.is)(t,g0.JsonRpcErrorStruct)}g0.isJsonRpcError=cyn;function dyn(t,e){(0,h4.assertStruct)(t,g0.JsonRpcErrorStruct,"Invalid JSON-RPC error",e)}g0.assertIsJsonRpcError=dyn;function lyn(t){let{permitEmptyString:e,permitFractions:n,permitNull:a}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},t);return f=>!!(typeof f=="number"&&(n||Number.isInteger(f))||typeof f=="string"&&(e||f.length>0)||a&&f===null)}g0.getJsonRpcIdValidator=lyn});var x30=D(T30=>{"use strict";u();p();Object.defineProperty(T30,"__esModule",{value:!0})});var _30=D((lZa,E30)=>{u();p();var _A=1e3,AA=_A*60,IA=AA*60,Ng=IA*24,uyn=Ng*7,pyn=Ng*365.25;E30.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return hyn(t);if(n==="number"&&isFinite(t))return e.long?byn(t):myn(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function hyn(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),a=(e[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return n*pyn;case"weeks":case"week":case"w":return n*uyn;case"days":case"day":case"d":return n*Ng;case"hours":case"hour":case"hrs":case"hr":case"h":return n*IA;case"minutes":case"minute":case"mins":case"min":case"m":return n*AA;case"seconds":case"second":case"secs":case"sec":case"s":return n*_A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function myn(t){var e=Math.abs(t);return e>=Ng?Math.round(t/Ng)+"d":e>=IA?Math.round(t/IA)+"h":e>=AA?Math.round(t/AA)+"m":e>=_A?Math.round(t/_A)+"s":t+"ms"}function byn(t){var e=Math.abs(t);return e>=Ng?S$(t,e,Ng,"day"):e>=IA?S$(t,e,IA,"hour"):e>=AA?S$(t,e,AA,"minute"):e>=_A?S$(t,e,_A,"second"):t+" ms"}function S$(t,e,n,a){var r=e>=n*1.5;return Math.round(t/n)+" "+a+(r?"s":"")}});var I30=D((hZa,A30)=>{u();p();function yyn(t){n.debug=n,n.default=n,n.coerce=o,n.disable=f,n.enable=r,n.enabled=i,n.humanize=_30(),n.destroy=c,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function e(d){let l=0;for(let h=0;h{if(V==="%%")return"%";j++;let K=n.formatters[X];if(typeof K=="function"){let G=O[j];V=K.call(F,G),O.splice(j,1),j--}return V}),n.formatArgs.call(F,O),(F.log||n.log).apply(F,O)}return k.namespace=d,k.useColors=n.useColors(),k.color=n.selectColor(d),k.extend=a,k.destroy=n.destroy,Object.defineProperty(k,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,v=n.enabled(d)),v),set:O=>{h=O}}),typeof n.init=="function"&&n.init(k),k}function a(d,l){let h=n(this.namespace+(typeof l>"u"?":":l)+d);return h.log=this.log,h}function r(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];let l,h=(typeof d=="string"?d:"").split(/[\s,]+/),y=h.length;for(l=0;l"-"+l)].join(",");return n.enable(""),d}function i(d){if(d[d.length-1]==="*")return!0;let l,h;for(l=0,h=n.skips.length;l{u();p();Y6.formatArgs=vyn;Y6.save=wyn;Y6.load=Tyn;Y6.useColors=gyn;Y6.storage=xyn();Y6.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Y6.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function gyn(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function vyn(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+R$.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(a=n))}),t.splice(a,0,e)}Y6.log=console.debug||console.log||(()=>{});function wyn(t){try{t?Y6.storage.setItem("debug",t):Y6.storage.removeItem("debug")}catch{}}function Tyn(){let t;try{t=Y6.storage.getItem("debug")}catch{}return!t&&typeof x<"u"&&"env"in x&&(t=x.env.DEBUG),t}function xyn(){try{return localStorage}catch{}}R$.exports=I30()(Y6);var{formatters:Eyn}=R$.exports;Eyn.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var k30=D(m4=>{"use strict";u();p();var _yn=m4&&m4.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(m4,"__esModule",{value:!0});m4.createModuleLogger=m4.createProjectLogger=void 0;var Ayn=_yn(C30()),Iyn=(0,Ayn.default)("metamask");function Cyn(t){return Iyn.extend(t)}m4.createProjectLogger=Cyn;function kyn(t,e){return t.extend(e)}m4.createModuleLogger=kyn});var R30=D(xf=>{"use strict";u();p();Object.defineProperty(xf,"__esModule",{value:!0});xf.calculateNumberSize=xf.calculateStringSize=xf.isASCII=xf.isPlainObject=xf.ESCAPE_CHARACTERS_REGEXP=xf.JsonSize=xf.hasProperty=xf.isObject=xf.isNullOrUndefined=xf.isNonEmptyArray=void 0;function Syn(t){return Array.isArray(t)&&t.length>0}xf.isNonEmptyArray=Syn;function Ryn(t){return t==null}xf.isNullOrUndefined=Ryn;function Myn(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}xf.isObject=Myn;var Byn=(t,e)=>Object.hasOwnProperty.call(t,e);xf.hasProperty=Byn;var Dyn;(function(t){t[t.Null=4]="Null",t[t.Comma=1]="Comma",t[t.Wrapper=1]="Wrapper",t[t.True=4]="True",t[t.False=5]="False",t[t.Quote=1]="Quote",t[t.Colon=1]="Colon",t[t.Date=24]="Date"})(Dyn=xf.JsonSize||(xf.JsonSize={}));xf.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu;function Pyn(t){if(typeof t!="object"||t===null)return!1;try{let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}catch{return!1}}xf.isPlainObject=Pyn;function S30(t){return t.charCodeAt(0)<=127}xf.isASCII=S30;function Lyn(t){var e;return t.split("").reduce((a,r)=>S30(r)?a+1:a+2,0)+((e=t.match(xf.ESCAPE_CHARACTERS_REGEXP))!==null&&e!==void 0?e:[]).length}xf.calculateStringSize=Lyn;function Fyn(t){return t.toString().length}xf.calculateNumberSize=Fyn});var M30=D(gp=>{"use strict";u();p();Object.defineProperty(gp,"__esModule",{value:!0});gp.hexToBigInt=gp.hexToNumber=gp.bigIntToHex=gp.numberToHex=void 0;var CA=Uh(),ND=PD(),Nyn=t=>((0,CA.assert)(typeof t=="number","Value must be a number."),(0,CA.assert)(t>=0,"Value must be a non-negative number."),(0,CA.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,ND.add0x)(t.toString(16)));gp.numberToHex=Nyn;var Oyn=t=>((0,CA.assert)(typeof t=="bigint","Value must be a bigint."),(0,CA.assert)(t>=0,"Value must be a non-negative bigint."),(0,ND.add0x)(t.toString(16)));gp.bigIntToHex=Oyn;var Uyn=t=>{(0,ND.assertIsHexString)(t);let e=parseInt(t,16);return(0,CA.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `hexToBigInt` instead."),e};gp.hexToNumber=Uyn;var Hyn=t=>((0,ND.assertIsHexString)(t),BigInt((0,ND.add0x)(t)));gp.hexToBigInt=Hyn});var D30=D(B30=>{"use strict";u();p();Object.defineProperty(B30,"__esModule",{value:!0})});var L30=D(Hh=>{"use strict";u();p();Object.defineProperty(Hh,"__esModule",{value:!0});Hh.timeSince=Hh.inMilliseconds=Hh.Duration=void 0;var zyn;(function(t){t[t.Millisecond=1]="Millisecond",t[t.Second=1e3]="Second",t[t.Minute=6e4]="Minute",t[t.Hour=36e5]="Hour",t[t.Day=864e5]="Day",t[t.Week=6048e5]="Week",t[t.Year=31536e6]="Year"})(zyn=Hh.Duration||(Hh.Duration={}));var Wyn=t=>Number.isInteger(t)&&t>=0,P30=(t,e)=>{if(!Wyn(t))throw new Error(`"${e}" must be a non-negative integer. Received: "${t}".`)};function qyn(t,e){return P30(t,"count"),t*e}Hh.inMilliseconds=qyn;function jyn(t){return P30(t,"timestamp"),Date.now()-t}Hh.timeSince=jyn});var N30=D(F30=>{"use strict";u();p();Object.defineProperty(F30,"__esModule",{value:!0})});var U30=D(Ef=>{"use strict";u();p();Object.defineProperty(Ef,"__esModule",{value:!0});Ef.satisfiesVersionRange=Ef.gtRange=Ef.gtVersion=Ef.assertIsSemVerRange=Ef.assertIsSemVerVersion=Ef.isValidSemVerRange=Ef.isValidSemVerVersion=Ef.VersionRangeStruct=Ef.VersionStruct=void 0;var OD=Oce(),kA=p4(),O30=Uh();Ef.VersionStruct=(0,kA.refine)((0,kA.string)(),"Version",t=>(0,OD.valid)(t)===null?`Expected SemVer version, got "${t}"`:!0);Ef.VersionRangeStruct=(0,kA.refine)((0,kA.string)(),"Version range",t=>(0,OD.validRange)(t)===null?`Expected SemVer range, got "${t}"`:!0);function Gyn(t){return(0,kA.is)(t,Ef.VersionStruct)}Ef.isValidSemVerVersion=Gyn;function Kyn(t){return(0,kA.is)(t,Ef.VersionRangeStruct)}Ef.isValidSemVerRange=Kyn;function Qyn(t){(0,O30.assertStruct)(t,Ef.VersionStruct)}Ef.assertIsSemVerVersion=Qyn;function Vyn(t){(0,O30.assertStruct)(t,Ef.VersionRangeStruct)}Ef.assertIsSemVerRange=Vyn;function Yyn(t,e){return(0,OD.gt)(t,e)}Ef.gtVersion=Yyn;function $yn(t,e){return(0,OD.gtr)(t,e)}Ef.gtRange=$yn;function Jyn(t,e){return(0,OD.satisfies)(t,e,{includePrerelease:!0})}Ef.satisfiesVersionRange=Jyn});var H30=D(Uf=>{"use strict";u();p();var Xyn=Uf&&Uf.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n);var r=Object.getOwnPropertyDescriptor(e,n);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,a,r)}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),xo=Uf&&Uf.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Xyn(e,t,n)};Object.defineProperty(Uf,"__esModule",{value:!0});xo(Uh(),Uf);xo(U3e(),Uf);xo(W3e(),Uf);xo(u30(),Uf);xo(m30(),Uf);xo(y30(),Uf);xo(v30(),Uf);xo(PD(),Uf);xo(w30(),Uf);xo(x30(),Uf);xo(k30(),Uf);xo(R30(),Uf);xo(M30(),Uf);xo(D30(),Uf);xo(L30(),Uf);xo(N30(),Uf);xo(U30(),Uf)});var W30=D(SA=>{"use strict";u();p();Object.defineProperty(SA,"__esModule",{value:!0});SA.createModuleLogger=SA.projectLogger=void 0;var z30=H30();Object.defineProperty(SA,"createModuleLogger",{enumerable:!0,get:function(){return z30.createModuleLogger}});SA.projectLogger=(0,z30.createProjectLogger)("eth-block-tracker")});var Q30=D(RA=>{"use strict";u();p();var K30=RA&&RA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(RA,"__esModule",{value:!0});RA.PollingBlockTracker=void 0;var Zyn=K30(x$()),e7n=K30(Qh0()),t7n=O3e(),q30=W30(),j30=(0,q30.createModuleLogger)(q30.projectLogger,"polling-block-tracker"),n7n=(0,Zyn.default)(),a7n=1e3,q3e=class extends t7n.BaseBlockTracker{constructor(e={}){var n;if(!e.provider)throw new Error("PollingBlockTracker - no provider specified.");super(Object.assign(Object.assign({},e),{blockResetDuration:(n=e.blockResetDuration)!==null&&n!==void 0?n:e.pollingInterval})),this._provider=e.provider,this._pollingInterval=e.pollingInterval||20*a7n,this._retryTimeout=e.retryTimeout||this._pollingInterval/10,this._keepEventLoopActive=e.keepEventLoopActive===void 0?!0:e.keepEventLoopActive,this._setSkipCacheFlag=e.setSkipCacheFlag||!1}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}async _start(){this._synchronize()}async _end(){}async _synchronize(){for(var e;this._isRunning;)try{await this._updateLatestBlock();let n=G30(this._pollingInterval,!this._keepEventLoopActive);this.emit("_waitingForNextIteration"),await n}catch(n){let a=new Error(`PollingBlockTracker - encountered an error while attempting to update latest block: -${(e=n.stack)!==null&&e!==void 0?e:n}`);try{this.emit("error",a)}catch{console.error(a)}let r=G30(this._retryTimeout,!this._keepEventLoopActive);this.emit("_waitingForNextIteration"),await r}}async _updateLatestBlock(){let e=await this._fetchLatestBlock();this._newPotentialLatest(e)}async _fetchLatestBlock(){let e={jsonrpc:"2.0",id:n7n(),method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(e.skipCache=!0),j30("Making request",e);let n=await(0,e7n.default)(a=>this._provider.sendAsync(e,a))();if(j30("Got response",n),n.error)throw new Error(`PollingBlockTracker - encountered error fetching block: -${n.error.message}`);return n.result}};RA.PollingBlockTracker=q3e;function G30(t,e){return new Promise(n=>{let a=setTimeout(n,t);a.unref&&e&&a.unref()})}});var V30=D(MA=>{"use strict";u();p();var r7n=MA&&MA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(MA,"__esModule",{value:!0});MA.SubscribeBlockTracker=void 0;var f7n=r7n(x$()),i7n=O3e(),s7n=(0,f7n.default)(),j3e=class extends i7n.BaseBlockTracker{constructor(e={}){if(!e.provider)throw new Error("SubscribeBlockTracker - no provider specified.");super(e),this._provider=e.provider,this._subscriptionId=null}async checkForLatestBlock(){return await this.getLatestBlock()}async _start(){if(this._subscriptionId===void 0||this._subscriptionId===null)try{let e=await this._call("eth_blockNumber");this._subscriptionId=await this._call("eth_subscribe","newHeads"),this._provider.on("data",this._handleSubData.bind(this)),this._newPotentialLatest(e)}catch(e){this.emit("error",e)}}async _end(){if(this._subscriptionId!==null&&this._subscriptionId!==void 0)try{await this._call("eth_unsubscribe",this._subscriptionId),this._subscriptionId=null}catch(e){this.emit("error",e)}}_call(e,...n){return new Promise((a,r)=>{this._provider.sendAsync({id:s7n(),method:e,params:n,jsonrpc:"2.0"},(f,i)=>{f?r(f):a(i.result)})})}_handleSubData(e,n){var a;n.method==="eth_subscription"&&((a=n.params)===null||a===void 0?void 0:a.subscription)===this._subscriptionId&&this._newPotentialLatest(n.params.result.number)}};MA.SubscribeBlockTracker=j3e});var $30=D(b4=>{"use strict";u();p();var o7n=b4&&b4.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),Y30=b4&&b4.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&o7n(e,t,n)};Object.defineProperty(b4,"__esModule",{value:!0});Y30(Q30(),b4);Y30(V30(),b4)});var K3e=D(M$=>{"use strict";u();p();Object.defineProperty(M$,"__esModule",{value:!0});M$.getUniqueId=void 0;var J30=4294967295,G3e=Math.floor(Math.random()*J30);function c7n(){return G3e=(G3e+1)%J30,G3e}M$.getUniqueId=c7n});var X30=D(B$=>{"use strict";u();p();Object.defineProperty(B$,"__esModule",{value:!0});B$.createIdRemapMiddleware=void 0;var d7n=K3e();function l7n(){return(t,e,n,a)=>{let r=t.id,f=d7n.getUniqueId();t.id=f,e.id=f,n(i=>{t.id=r,e.id=r,i()})}}B$.createIdRemapMiddleware=l7n});var Z30=D(D$=>{"use strict";u();p();Object.defineProperty(D$,"__esModule",{value:!0});D$.createAsyncMiddleware=void 0;function u7n(t){return async(e,n,a,r)=>{let f,i=new Promise(d=>{f=d}),s=null,o=!1,c=async()=>{o=!0,a(d=>{s=d,f()}),await i};try{await t(e,n,c),o?(await i,s(null)):r(null)}catch(d){s?s(d):r(d)}}}D$.createAsyncMiddleware=u7n});var em0=D(P$=>{"use strict";u();p();Object.defineProperty(P$,"__esModule",{value:!0});P$.createScaffoldMiddleware=void 0;function p7n(t){return(e,n,a,r)=>{let f=t[e.method];return f===void 0?a():typeof f=="function"?f(e,n,a,r):(n.result=f,r())}}P$.createScaffoldMiddleware=p7n});var nm0=D(V3e=>{"use strict";u();p();Object.defineProperty(V3e,"__esModule",{value:!0});var h7n=Or();function tm0(t,e,n){try{Reflect.apply(t,e,n)}catch(a){setTimeout(()=>{throw a})}}function m7n(t){let e=t.length,n=new Array(e);for(let a=0;a0&&([i]=n),i instanceof Error)throw i;let s=new Error(`Unhandled error.${i?` (${i.message})`:""}`);throw s.context=i,s}let f=r[e];if(f===void 0)return!1;if(typeof f=="function")tm0(f,this,n);else{let i=f.length,s=m7n(f);for(let o=0;o{u();p();sm0.exports=UD;UD.default=UD;UD.stable=fm0;UD.stableStringify=fm0;var L$="[...]",am0="[Circular]",Ug=[],Og=[];function rm0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function UD(t,e,n,a){typeof a>"u"&&(a=rm0()),Y3e(t,"",0,[],void 0,0,a);var r;try{Og.length===0?r=JSON.stringify(t,e,n):r=JSON.stringify(t,im0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Ug.length!==0;){var f=Ug.pop();f.length===4?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return r}function BA(t,e,n,a){var r=Object.getOwnPropertyDescriptor(a,n);r.get!==void 0?r.configurable?(Object.defineProperty(a,n,{value:t}),Ug.push([a,n,e,r])):Og.push([e,n,t]):(a[n]=t,Ug.push([a,n,e]))}function Y3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){BA(L$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){BA(L$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;se?1:0}function fm0(t,e,n,a){typeof a>"u"&&(a=rm0());var r=$3e(t,"",0,[],void 0,0,a)||t,f;try{Og.length===0?f=JSON.stringify(r,e,n):f=JSON.stringify(r,im0(e),n)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;Ug.length!==0;){var i=Ug.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return f}function $3e(t,e,n,a,r,f,i){f+=1;var s;if(typeof t=="object"&&t!==null){for(s=0;si.depthLimit){BA(L$,t,e,r);return}if(typeof i.edgesLimit<"u"&&n+1>i.edgesLimit){BA(L$,t,e,r);return}if(a.push(t),Array.isArray(t))for(s=0;s0)for(var a=0;a{"use strict";u();p();Object.defineProperty(DA,"__esModule",{value:!0});DA.EthereumProviderError=DA.EthereumRpcError=void 0;var y7n=om0(),F$=class extends Error{constructor(e,n,a){if(!Number.isInteger(e))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=e,a!==void 0&&(this.data=a)}serialize(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return y7n.default(this.serialize(),v7n,2)}};DA.EthereumRpcError=F$;var J3e=class extends F${constructor(e,n,a){if(!g7n(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,n,a)}};DA.EthereumProviderError=J3e;function g7n(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}function v7n(t,e){if(e!=="[Circular]")return e}});var O$=D(PA=>{"use strict";u();p();Object.defineProperty(PA,"__esModule",{value:!0});PA.errorValues=PA.errorCodes=void 0;PA.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};PA.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}});var eme=D(Jl=>{"use strict";u();p();Object.defineProperty(Jl,"__esModule",{value:!0});Jl.serializeError=Jl.isValidCode=Jl.getMessageFromCode=Jl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var U$=O$(),w7n=N$(),cm0=U$.errorCodes.rpc.internal,T7n="Unspecified error message. This is a bug, please report it.",x7n={code:cm0,message:Z3e(cm0)};Jl.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.";function Z3e(t,e=T7n){if(Number.isInteger(t)){let n=t.toString();if(X3e(U$.errorValues,n))return U$.errorValues[n].message;if(um0(t))return Jl.JSON_RPC_SERVER_ERROR_MESSAGE}return e}Jl.getMessageFromCode=Z3e;function lm0(t){if(!Number.isInteger(t))return!1;let e=t.toString();return!!(U$.errorValues[e]||um0(t))}Jl.isValidCode=lm0;function E7n(t,{fallbackError:e=x7n,shouldIncludeStack:n=!1}={}){var a,r;if(!e||!Number.isInteger(e.code)||typeof e.message!="string")throw new Error("Must provide fallback error with integer number code and string message.");if(t instanceof w7n.EthereumRpcError)return t.serialize();let f={};if(t&&typeof t=="object"&&!Array.isArray(t)&&X3e(t,"code")&&lm0(t.code)){let s=t;f.code=s.code,s.message&&typeof s.message=="string"?(f.message=s.message,X3e(s,"data")&&(f.data=s.data)):(f.message=Z3e(f.code),f.data={originalError:dm0(t)})}else{f.code=e.code;let s=(a=t)===null||a===void 0?void 0:a.message;f.message=s&&typeof s=="string"?s:e.message,f.data={originalError:dm0(t)}}let i=(r=t)===null||r===void 0?void 0:r.stack;return n&&t&&i&&typeof i=="string"&&(f.stack=i),f}Jl.serializeError=E7n;function um0(t){return t>=-32099&&t<=-32e3}function dm0(t){return t&&typeof t=="object"&&!Array.isArray(t)?Object.assign({},t):t}function X3e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}});var mm0=D(H$=>{"use strict";u();p();Object.defineProperty(H$,"__esModule",{value:!0});H$.ethErrors=void 0;var tme=N$(),pm0=eme(),E1=O$();H$.ethErrors={rpc:{parse:t=>I5(E1.errorCodes.rpc.parse,t),invalidRequest:t=>I5(E1.errorCodes.rpc.invalidRequest,t),invalidParams:t=>I5(E1.errorCodes.rpc.invalidParams,t),methodNotFound:t=>I5(E1.errorCodes.rpc.methodNotFound,t),internal:t=>I5(E1.errorCodes.rpc.internal,t),server:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");let{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return I5(e,t)},invalidInput:t=>I5(E1.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>I5(E1.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>I5(E1.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>I5(E1.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>I5(E1.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>I5(E1.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>HD(E1.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>HD(E1.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>HD(E1.errorCodes.provider.unsupportedMethod,t),disconnected:t=>HD(E1.errorCodes.provider.disconnected,t),chainDisconnected:t=>HD(E1.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||typeof t!="object"||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");let{code:e,message:n,data:a}=t;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new tme.EthereumProviderError(e,n,a)}}};function I5(t,e){let[n,a]=hm0(e);return new tme.EthereumRpcError(t,n||pm0.getMessageFromCode(t),a)}function HD(t,e){let[n,a]=hm0(e);return new tme.EthereumProviderError(t,n||pm0.getMessageFromCode(t),a)}function hm0(t){if(t){if(typeof t=="string")return[t];if(typeof t=="object"&&!Array.isArray(t)){let{message:e,data:n}=t;if(e&&typeof e!="string")throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}});var gm0=D(s6=>{"use strict";u();p();Object.defineProperty(s6,"__esModule",{value:!0});s6.getMessageFromCode=s6.serializeError=s6.EthereumProviderError=s6.EthereumRpcError=s6.ethErrors=s6.errorCodes=void 0;var bm0=N$();Object.defineProperty(s6,"EthereumRpcError",{enumerable:!0,get:function(){return bm0.EthereumRpcError}});Object.defineProperty(s6,"EthereumProviderError",{enumerable:!0,get:function(){return bm0.EthereumProviderError}});var ym0=eme();Object.defineProperty(s6,"serializeError",{enumerable:!0,get:function(){return ym0.serializeError}});Object.defineProperty(s6,"getMessageFromCode",{enumerable:!0,get:function(){return ym0.getMessageFromCode}});var _7n=mm0();Object.defineProperty(s6,"ethErrors",{enumerable:!0,get:function(){return _7n.ethErrors}});var A7n=O$();Object.defineProperty(s6,"errorCodes",{enumerable:!0,get:function(){return A7n.errorCodes}})});var rme=D(LA=>{"use strict";u();p();var I7n=LA&&LA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(LA,"__esModule",{value:!0});LA.JsonRpcEngine=void 0;var C7n=I7n(nm0()),C5=gm0(),ame=class t extends C7n.default{constructor(){super(),this._middleware=[]}push(e){this._middleware.push(e)}handle(e,n){if(n&&typeof n!="function")throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?n?this._handleBatch(e,n):this._handleBatch(e):n?this._handle(e,n):this._promiseHandle(e)}asMiddleware(){return async(e,n,a,r)=>{try{let[f,i,s]=await t._runAllMiddleware(e,n,this._middleware);return i?(await t._runReturnHandlers(s),r(f)):a(async o=>{try{await t._runReturnHandlers(s)}catch(c){return o(c)}return o()})}catch(f){return r(f)}}}async _handleBatch(e,n){try{let a=await Promise.all(e.map(this._promiseHandle.bind(this)));return n?n(null,a):a}catch(a){if(n)return n(a);throw a}}_promiseHandle(e){return new Promise(n=>{this._handle(e,(a,r)=>{n(r)})})}async _handle(e,n){if(!e||Array.isArray(e)||typeof e!="object"){let i=new C5.EthereumRpcError(C5.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return n(i,{id:void 0,jsonrpc:"2.0",error:i})}if(typeof e.method!="string"){let i=new C5.EthereumRpcError(C5.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return n(i,{id:e.id,jsonrpc:"2.0",error:i})}let a=Object.assign({},e),r={id:a.id,jsonrpc:a.jsonrpc},f=null;try{await this._processRequest(a,r)}catch(i){f=i}return f&&(delete r.result,r.error||(r.error=C5.serializeError(f))),n(f,r)}async _processRequest(e,n){let[a,r,f]=await t._runAllMiddleware(e,n,this._middleware);if(t._checkForCompletion(e,n,r),await t._runReturnHandlers(f),a)throw a}static async _runAllMiddleware(e,n,a){let r=[],f=null,i=!1;for(let s of a)if([f,i]=await t._runMiddleware(e,n,s,r),i)break;return[f,i,r.reverse()]}static _runMiddleware(e,n,a,r){return new Promise(f=>{let i=o=>{let c=o||n.error;c&&(n.error=C5.serializeError(c)),f([c,!0])},s=o=>{n.error?i(n.error):(o&&(typeof o!="function"&&i(new C5.EthereumRpcError(C5.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof o}" for request: -${nme(e)}`,{request:e})),r.push(o)),f([null,!1]))};try{a(e,n,s,i)}catch(o){i(o)}})}static async _runReturnHandlers(e){for(let n of e)await new Promise((a,r)=>{n(f=>f?r(f):a())})}static _checkForCompletion(e,n,a){if(!("result"in n)&&!("error"in n))throw new C5.EthereumRpcError(C5.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request: -${nme(e)}`,{request:e});if(!a)throw new C5.EthereumRpcError(C5.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request: -${nme(e)}`,{request:e})}};LA.JsonRpcEngine=ame;function nme(t){return JSON.stringify(t,null,2)}});var vm0=D(z$=>{"use strict";u();p();Object.defineProperty(z$,"__esModule",{value:!0});z$.mergeMiddleware=void 0;var k7n=rme();function S7n(t){let e=new k7n.JsonRpcEngine;return t.forEach(n=>e.push(n)),e.asMiddleware()}z$.mergeMiddleware=S7n});var fme=D(k5=>{"use strict";u();p();var R7n=k5&&k5.__createBinding||(Object.create?function(t,e,n,a){a===void 0&&(a=n),Object.defineProperty(t,a,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,a){a===void 0&&(a=n),t[a]=e[n]}),FA=k5&&k5.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&R7n(e,t,n)};Object.defineProperty(k5,"__esModule",{value:!0});FA(X30(),k5);FA(Z30(),k5);FA(em0(),k5);FA(K3e(),k5);FA(rme(),k5);FA(vm0(),k5)});var sme=D(ime=>{"use strict";u();p();Object.defineProperty(ime,"__esModule",{value:!0});var wm0=(NV(),vn(FV)),M7n=function(){function t(e){if(this._maxConcurrency=e,this._queue=[],e<=0)throw new Error("semaphore must be initialized to a positive value");this._value=e}return t.prototype.acquire=function(){var e=this,n=this.isLocked(),a=new Promise(function(r){return e._queue.push(r)});return n||this._dispatch(),a},t.prototype.runExclusive=function(e){return wm0.__awaiter(this,void 0,void 0,function(){var n,a,r;return wm0.__generator(this,function(f){switch(f.label){case 0:return[4,this.acquire()];case 1:n=f.sent(),a=n[0],r=n[1],f.label=2;case 2:return f.trys.push([2,,4,5]),[4,e(a)];case 3:return[2,f.sent()];case 4:return r(),[7];case 5:return[2]}})})},t.prototype.isLocked=function(){return this._value<=0},t.prototype.release=function(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=void 0,e()}},t.prototype._dispatch=function(){var e=this,n=this._queue.shift();if(n){var a=!1;this._currentReleaser=function(){a||(a=!0,e._value++,e._dispatch())},n([this._value--,this._currentReleaser])}},t}();ime.default=M7n});var xm0=D(ome=>{"use strict";u();p();Object.defineProperty(ome,"__esModule",{value:!0});var Tm0=(NV(),vn(FV)),B7n=sme(),D7n=function(){function t(){this._semaphore=new B7n.default(1)}return t.prototype.acquire=function(){return Tm0.__awaiter(this,void 0,void 0,function(){var e,n;return Tm0.__generator(this,function(a){switch(a.label){case 0:return[4,this._semaphore.acquire()];case 1:return e=a.sent(),n=e[1],[2,n]}})})},t.prototype.runExclusive=function(e){return this._semaphore.runExclusive(function(){return e()})},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}();ome.default=D7n});var Em0=D(q$=>{"use strict";u();p();Object.defineProperty(q$,"__esModule",{value:!0});q$.withTimeout=void 0;var W$=(NV(),vn(FV));function P7n(t,e,n){var a=this;return n===void 0&&(n=new Error("timeout")),{acquire:function(){return new Promise(function(r,f){return W$.__awaiter(a,void 0,void 0,function(){var i,s,o;return W$.__generator(this,function(c){switch(c.label){case 0:return i=!1,setTimeout(function(){i=!0,f(n)},e),[4,t.acquire()];case 1:return s=c.sent(),i?(o=Array.isArray(s)?s[1]:s,o()):r(s),[2]}})})})},runExclusive:function(r){return W$.__awaiter(this,void 0,void 0,function(){var f,i;return W$.__generator(this,function(s){switch(s.label){case 0:f=function(){},s.label=1;case 1:return s.trys.push([1,,7,8]),[4,this.acquire()];case 2:return i=s.sent(),Array.isArray(i)?(f=i[1],[4,r(i[0])]):[3,4];case 3:return[2,s.sent()];case 4:return f=i,[4,r()];case 5:return[2,s.sent()];case 6:return[3,8];case 7:return f(),[7];case 8:return[2]}})})},release:function(){t.release()},isLocked:function(){return t.isLocked()}}}q$.withTimeout=P7n});var _m0=D(y4=>{"use strict";u();p();Object.defineProperty(y4,"__esModule",{value:!0});y4.withTimeout=y4.Semaphore=y4.Mutex=void 0;var L7n=xm0();Object.defineProperty(y4,"Mutex",{enumerable:!0,get:function(){return L7n.default}});var F7n=sme();Object.defineProperty(y4,"Semaphore",{enumerable:!0,get:function(){return F7n.default}});var N7n=Em0();Object.defineProperty(y4,"withTimeout",{enumerable:!0,get:function(){return N7n.withTimeout}})});var Im0=D((t0r,Am0)=>{u();p();Am0.exports=U7n;var O7n=Object.prototype.hasOwnProperty;function U7n(){for(var t={},e=0;e{u();p();var H7n=Im0(),z7n=x$()();Cm0.exports=Gt;function Gt(t){let e=this;e.currentProvider=t}Gt.prototype.getBalance=zD(2,"eth_getBalance");Gt.prototype.getCode=zD(2,"eth_getCode");Gt.prototype.getTransactionCount=zD(2,"eth_getTransactionCount");Gt.prototype.getStorageAt=zD(3,"eth_getStorageAt");Gt.prototype.call=zD(2,"eth_call");Gt.prototype.protocolVersion=Gn("eth_protocolVersion");Gt.prototype.syncing=Gn("eth_syncing");Gt.prototype.coinbase=Gn("eth_coinbase");Gt.prototype.mining=Gn("eth_mining");Gt.prototype.hashrate=Gn("eth_hashrate");Gt.prototype.gasPrice=Gn("eth_gasPrice");Gt.prototype.accounts=Gn("eth_accounts");Gt.prototype.blockNumber=Gn("eth_blockNumber");Gt.prototype.getBlockTransactionCountByHash=Gn("eth_getBlockTransactionCountByHash");Gt.prototype.getBlockTransactionCountByNumber=Gn("eth_getBlockTransactionCountByNumber");Gt.prototype.getUncleCountByBlockHash=Gn("eth_getUncleCountByBlockHash");Gt.prototype.getUncleCountByBlockNumber=Gn("eth_getUncleCountByBlockNumber");Gt.prototype.sign=Gn("eth_sign");Gt.prototype.sendTransaction=Gn("eth_sendTransaction");Gt.prototype.sendRawTransaction=Gn("eth_sendRawTransaction");Gt.prototype.estimateGas=Gn("eth_estimateGas");Gt.prototype.getBlockByHash=Gn("eth_getBlockByHash");Gt.prototype.getBlockByNumber=Gn("eth_getBlockByNumber");Gt.prototype.getTransactionByHash=Gn("eth_getTransactionByHash");Gt.prototype.getTransactionByBlockHashAndIndex=Gn("eth_getTransactionByBlockHashAndIndex");Gt.prototype.getTransactionByBlockNumberAndIndex=Gn("eth_getTransactionByBlockNumberAndIndex");Gt.prototype.getTransactionReceipt=Gn("eth_getTransactionReceipt");Gt.prototype.getUncleByBlockHashAndIndex=Gn("eth_getUncleByBlockHashAndIndex");Gt.prototype.getUncleByBlockNumberAndIndex=Gn("eth_getUncleByBlockNumberAndIndex");Gt.prototype.getCompilers=Gn("eth_getCompilers");Gt.prototype.compileLLL=Gn("eth_compileLLL");Gt.prototype.compileSolidity=Gn("eth_compileSolidity");Gt.prototype.compileSerpent=Gn("eth_compileSerpent");Gt.prototype.newFilter=Gn("eth_newFilter");Gt.prototype.newBlockFilter=Gn("eth_newBlockFilter");Gt.prototype.newPendingTransactionFilter=Gn("eth_newPendingTransactionFilter");Gt.prototype.uninstallFilter=Gn("eth_uninstallFilter");Gt.prototype.getFilterChanges=Gn("eth_getFilterChanges");Gt.prototype.getFilterLogs=Gn("eth_getFilterLogs");Gt.prototype.getLogs=Gn("eth_getLogs");Gt.prototype.getWork=Gn("eth_getWork");Gt.prototype.submitWork=Gn("eth_submitWork");Gt.prototype.submitHashrate=Gn("eth_submitHashrate");Gt.prototype.sendAsync=function(t,e){this.currentProvider.sendAsync(W7n(t),function(a,r){if(!a&&r.error&&(a=new Error("EthQuery - RPC Error - "+r.error.message)),a)return e(a);e(null,r.result)})};function Gn(t){return function(){let e=this;var n=[].slice.call(arguments),a=n.pop();e.sendAsync({method:t,params:n},a)}}function zD(t,e){return function(){let n=this;var a=[].slice.call(arguments),r=a.pop();a.length{"use strict";u();p();var Sm0=(t,e,n,a)=>function(...r){let f=e.promiseModule;return new f((i,s)=>{e.multiArgs?r.push((...c)=>{e.errorFirst?c[0]?s(c):(c.shift(),i(c)):i(c)}):e.errorFirst?r.push((c,d)=>{c?s(c):i(d)}):r.push(i),Reflect.apply(t,this===n?a:this,r)})},Rm0=new WeakMap;Mm0.exports=(t,e)=>{e={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...e};let n=typeof t;if(!(t!==null&&(n==="object"||n==="function")))throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${t===null?"null":n}\``);let a=(i,s)=>{let o=Rm0.get(i);if(o||(o={},Rm0.set(i,o)),s in o)return o[s];let c=v=>typeof v=="string"||typeof s=="symbol"?s===v:v.test(s),d=Reflect.getOwnPropertyDescriptor(i,s),l=d===void 0||d.writable||d.configurable,y=(e.include?e.include.some(c):!e.exclude.some(c))&&l;return o[s]=y,y},r=new WeakMap,f=new Proxy(t,{apply(i,s,o){let c=r.get(i);if(c)return Reflect.apply(c,s,o);let d=e.excludeMain?i:Sm0(i,e,f,i);return r.set(i,d),Reflect.apply(d,s,o)},get(i,s){let o=i[s];if(!a(i,s)||o===Function.prototype[s])return o;let c=r.get(o);if(c)return c;if(typeof o=="function"){let d=Sm0(o,e,f,i);return r.set(o,d),d}return o}});return f}});var j$=D((d0r,Dm0)=>{u();p();var q7n=E$().default,cme=class extends q7n{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(e){this.updates=this.updates.concat(e),e.forEach(n=>this.emit("update",n))}addInitialResults(e){}getChangesAndClear(){let e=this.updates;return this.updates=[],e}};Dm0.exports=cme});var Lm0=D((p0r,Pm0)=>{u();p();var j7n=j$(),dme=class extends j7n{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(e){this.allResults=this.allResults.concat(e),super.addResults(e)}addInitialResults(e){this.allResults=this.allResults.concat(e),super.addInitialResults(e)}getAllResults(){return this.allResults}};Pm0.exports=dme});var NA=D((b0r,Om0)=>{u();p();Om0.exports={minBlockRef:G7n,maxBlockRef:K7n,sortBlockRefs:lme,bnToHex:Q7n,blockRefIsNumber:V7n,hexToInt:G$,incrementHexInt:Y7n,intToHex:Nm0,unsafeRandomBytes:$7n};function G7n(...t){return lme(t)[0]}function K7n(...t){let e=lme(t);return e[e.length-1]}function lme(t){return t.sort((e,n)=>e==="latest"||n==="earliest"?1:n==="latest"||e==="earliest"?-1:G$(e)-G$(n))}function Q7n(t){return"0x"+t.toString(16)}function V7n(t){return t&&!["earliest","latest","pending"].includes(t)}function G$(t){return t==null?t:Number.parseInt(t,16)}function Y7n(t){if(t==null)return t;let e=G$(t);return Nm0(e+1)}function Nm0(t){if(t==null)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function $7n(t){let e="0x";for(let n=0;n{u();p();var J7n=km0(),X7n=Bm0(),Z7n=Lm0(),{bnToHex:v0r,hexToInt:K$,incrementHexInt:e9n,minBlockRef:t9n,blockRefIsNumber:n9n}=NA(),ume=class extends Z7n{constructor({provider:e,params:n}){super(),this.type="log",this.ethQuery=new J7n(e),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:void 0,topics:[]},n),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map(a=>a.toLowerCase()))}async initialize({currentBlock:e}){let n=this.params.fromBlock;["latest","pending"].includes(n)&&(n=e),n==="earliest"&&(n="0x0"),this.params.fromBlock=n;let a=t9n(this.params.toBlock,e),r=Object.assign({},this.params,{toBlock:a}),f=await this._fetchLogs(r);this.addInitialResults(f)}async update({oldBlock:e,newBlock:n}){let a=n,r;e?r=e9n(e):r=n;let f=Object.assign({},this.params,{fromBlock:r,toBlock:a}),s=(await this._fetchLogs(f)).filter(o=>this.matchLog(o));this.addResults(s)}async _fetchLogs(e){return await X7n(a=>this.ethQuery.getLogs(e,a))()}matchLog(e){if(K$(this.params.fromBlock)>=K$(e.blockNumber)||n9n(this.params.toBlock)&&K$(this.params.toBlock)<=K$(e.blockNumber))return!1;let n=e.address&&e.address.toLowerCase();return this.params.address&&n&&!this.params.address.includes(n)?!1:this.params.topics.every((r,f)=>{let i=e.topics[f];if(!i)return!1;i=i.toLowerCase();let s=Array.isArray(r)?r:[r];return s.includes(null)?!0:(s=s.map(d=>d.toLowerCase()),s.includes(i))})}};Um0.exports=ume});var Q$=D((E0r,Wm0)=>{u();p();Wm0.exports=a9n;async function a9n({provider:t,fromBlock:e,toBlock:n}){e||(e=n);let a=zm0(e),f=zm0(n)-a+1,i=Array(f).fill().map((o,c)=>a+c).map(r9n),s=await Promise.all(i.map(o=>i9n(t,"eth_getBlockByNumber",[o,!1])));return s=s.filter(o=>o!==null),s}function zm0(t){return t==null?t:Number.parseInt(t,16)}function r9n(t){return t==null?t:"0x"+t.toString(16)}function f9n(t,e){return new Promise((n,a)=>{t.sendAsync(e,(r,f)=>{r?a(r):f.error?a(f.error):f.result?n(f.result):a(new Error("Result was empty"))})})}async function i9n(t,e,n){for(let a=0;a<3;a++)try{return await f9n(t,{id:1,jsonrpc:"2.0",method:e,params:n})}catch(r){console.error(`provider.sendAsync failed: ${r.stack||r.message||r}`)}return null}});var jm0=D((I0r,qm0)=>{u();p();var s9n=j$(),o9n=Q$(),{incrementHexInt:c9n}=NA(),pme=class extends s9n{constructor({provider:e,params:n}){super(),this.type="block",this.provider=e}async update({oldBlock:e,newBlock:n}){let a=n,r=c9n(e),i=(await o9n({provider:this.provider,fromBlock:r,toBlock:a})).map(s=>s.hash);this.addResults(i)}};qm0.exports=pme});var Km0=D((S0r,Gm0)=>{u();p();var d9n=j$(),l9n=Q$(),{incrementHexInt:u9n}=NA(),hme=class extends d9n{constructor({provider:e}){super(),this.type="tx",this.provider=e}async update({oldBlock:e}){let n=e,a=u9n(e),r=await l9n({provider:this.provider,fromBlock:a,toBlock:n}),f=[];for(let i of r)f.push(...i.transactions);this.addResults(f)}};Gm0.exports=hme});var Ym0=D((B0r,Vm0)=>{u();p();var p9n=_m0().Mutex,{createAsyncMiddleware:h9n,createScaffoldMiddleware:m9n}=fme(),b9n=Hm0(),y9n=jm0(),g9n=Km0(),{intToHex:Qm0,hexToInt:mme}=NA();Vm0.exports=v9n;function v9n({blockTracker:t,provider:e}){let n=0,a={},r=new p9n,f=w9n({mutex:r}),i=m9n({eth_newFilter:f(bme(o)),eth_newBlockFilter:f(bme(c)),eth_newPendingTransactionFilter:f(bme(d)),eth_uninstallFilter:f(V$(y)),eth_getFilterChanges:f(V$(l)),eth_getFilterLogs:f(V$(h))}),s=async({oldBlock:z,newBlock:W})=>{if(a.length===0)return;let j=await r.acquire();try{await Promise.all(OA(a).map(async Q=>{try{await Q.update({oldBlock:z,newBlock:W})}catch(V){console.error(V)}}))}catch(Q){console.error(Q)}j()};return i.newLogFilter=o,i.newBlockFilter=c,i.newPendingTransactionFilter=d,i.uninstallFilter=y,i.getFilterChanges=l,i.getFilterLogs=h,i.destroy=()=>{O()},i;async function o(z){let W=new b9n({provider:e,params:z}),j=await v(W);return W}async function c(){let z=new y9n({provider:e}),W=await v(z);return z}async function d(){let z=new g9n({provider:e}),W=await v(z);return z}async function l(z){let W=mme(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);return j.getChangesAndClear()}async function h(z){let W=mme(z),j=a[W];if(!j)throw new Error(`No filter for index "${W}"`);let Q=[];return j.type==="log"&&(Q=j.getAllResults()),Q}async function y(z){let W=mme(z),Q=!!a[W];return Q&&await k(W),Q}async function v(z){let W=OA(a).length,j=await t.getLatestBlock();await z.initialize({currentBlock:j}),n++,a[n]=z,z.id=n,z.idHex=Qm0(n);let Q=OA(a).length;return F({prevFilterCount:W,newFilterCount:Q}),n}async function k(z){let W=OA(a).length;delete a[z];let j=OA(a).length;F({prevFilterCount:W,newFilterCount:j})}async function O(){let z=OA(a).length;a={},F({prevFilterCount:z,newFilterCount:0})}function F({prevFilterCount:z,newFilterCount:W}){if(z===0&&W>0){t.on("sync",s);return}if(z>0&&W===0){t.removeListener("sync",s);return}}}function bme(t){return V$(async(...e)=>{let n=await t(...e);return Qm0(n.id)})}function V$(t){return h9n(async(e,n)=>{let a=await t.apply(null,e.params);n.result=a})}function w9n({mutex:t}){return e=>async(n,a,r,f)=>{(await t.acquire())(),e(n,a,r,f)}}function OA(t,e){let n=[];for(let a in t)n.push(t[a]);return n}});var Xm0=D((L0r,Jm0)=>{u();p();var T9n=E$().default,{createAsyncMiddleware:$m0,createScaffoldMiddleware:x9n}=fme(),E9n=Ym0(),{unsafeRandomBytes:_9n,incrementHexInt:A9n}=NA(),I9n=Q$();Jm0.exports=C9n;function C9n({blockTracker:t,provider:e}){let n={},a=E9n({blockTracker:t,provider:e}),r=!1,f=new T9n,i=x9n({eth_subscribe:$m0(s),eth_unsubscribe:$m0(o)});return i.destroy=d,{events:f,middleware:i};async function s(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=_9n(16),k;switch(y){case"newHeads":k=O({subId:v});break;case"logs":let z=l.params[1],W=await a.newLogFilter(z);k=F({subId:v,filter:W});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${y}"`)}n[v]=k,h.result=v;return;function O({subId:z}){let W={type:y,destroy:async()=>{t.removeListener("sync",W.update)},update:async({oldBlock:j,newBlock:Q})=>{let V=Q,X=A9n(j);(await I9n({provider:e,fromBlock:X,toBlock:V})).map(k9n).filter(R=>R!==null).forEach(R=>{c(z,R)})}};return t.on("sync",W.update),W}function F({subId:z,filter:W}){return W.on("update",Q=>c(z,Q)),{type:y,destroy:async()=>await a.uninstallFilter(W.idHex)}}}async function o(l,h){if(r)throw new Error("SubscriptionManager - attempting to use after destroying");let y=l.params[0],v=n[y];if(!v){h.result=!1;return}delete n[y],await v.destroy(),h.result=!0}function c(l,h){f.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:l,result:h}})}function d(){f.removeAllListeners();for(let l in n)n[l].destroy(),delete n[l];r=!0}}function k9n(t){return t==null?null:{hash:t.hash,parentHash:t.parentHash,sha3Uncles:t.sha3Uncles,miner:t.miner,stateRoot:t.stateRoot,transactionsRoot:t.transactionsRoot,receiptsRoot:t.receiptsRoot,logsBloom:t.logsBloom,difficulty:t.difficulty,number:t.number,gasLimit:t.gasLimit,gasUsed:t.gasUsed,nonce:t.nonce,mixHash:t.mixHash,timestamp:t.timestamp,extraData:t.extraData}}});var eb0=D(Y$=>{"use strict";u();p();Object.defineProperty(Y$,"__esModule",{value:!0});Y$.SubscriptionManager=void 0;var S9n=$30(),R9n=Xm0(),Zm0=()=>{},yme=class{constructor(e){let n=new S9n.PollingBlockTracker({provider:e,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:a,middleware:r}=R9n({blockTracker:n,provider:e});this.events=a,this.subscriptionMiddleware=r}async handleRequest(e){let n={};return await this.subscriptionMiddleware(e,n,Zm0,Zm0),n}destroy(){this.subscriptionMiddleware.destroy()}};Y$.SubscriptionManager=yme});var J$=D(UA=>{"use strict";u();p();var rb0=UA&&UA.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(UA,"__esModule",{value:!0});UA.CoinbaseWalletProvider=void 0;var M9n=rb0(Va()),B9n=qse(),Sa=vD(),In=sp(),D9n=R3e(),tb0=jY(),$$=KY(),$6=FY(),gme=rb0(Oh0()),WD=qY(),P9n=qh0(),L9n=eb0(),nb0="DefaultChainId",ab0="DefaultJsonRpcUrl",vme=class extends B9n.EventEmitter{constructor(e){var n,a;super(),this._filterPolyfill=new P9n.FilterPolyfill(this),this._subscriptionManager=new L9n.SubscriptionManager(this),this._relay=null,this._addresses=[],this.hasMadeFirstChainChangedEmission=!1,this.setProviderInfo=this.setProviderInfo.bind(this),this.updateProviderInfo=this.updateProviderInfo.bind(this),this.getChainId=this.getChainId.bind(this),this.setAppInfo=this.setAppInfo.bind(this),this.enable=this.enable.bind(this),this.close=this.close.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this.request=this.request.bind(this),this._setAddresses=this._setAddresses.bind(this),this.scanQRCode=this.scanQRCode.bind(this),this.genericRequest=this.genericRequest.bind(this),this._chainIdFromOpts=e.chainId,this._jsonRpcUrlFromOpts=e.jsonRpcUrl,this._overrideIsMetaMask=e.overrideIsMetaMask,this._relayProvider=e.relayProvider,this._storage=e.storage,this._relayEventManager=e.relayEventManager,this.diagnostic=e.diagnosticLogger,this.reloadOnDisconnect=!0,this.isCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this.isCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this.qrUrl=e.qrUrl;let r=this.getChainId(),f=(0,In.prepend0x)(r.toString(16));this.emit("connect",{chainIdStr:f});let i=this._storage.getItem(tb0.LOCAL_STORAGE_ADDRESSES_KEY);if(i){let s=i.split(" ");s[0]!==""&&(this._addresses=s.map(o=>(0,In.ensureAddressString)(o)),this.emit("accountsChanged",s))}this._subscriptionManager.events.on("notification",s=>{this.emit("message",{type:s.method,data:s.params})}),this._isAuthorized()&&this.initializeRelay(),window.addEventListener("message",s=>{var o;if(!(s.origin!==location.origin||s.source!==window)&&s.data.type==="walletLinkMessage"&&s.data.data.action==="dappChainSwitched"){let c=s.data.data.chainId,d=(o=s.data.data.jsonRpcUrl)!==null&&o!==void 0?o:this.jsonRpcUrl;this.updateProviderInfo(d,Number(c))}})}get selectedAddress(){return this._addresses[0]||void 0}get networkVersion(){return this.getChainId().toString(10)}get chainId(){return(0,In.prepend0x)(this.getChainId().toString(16))}get isWalletLink(){return!0}get isMetaMask(){return this._overrideIsMetaMask}get host(){return this.jsonRpcUrl}get connected(){return!0}isConnected(){return!0}get jsonRpcUrl(){var e;return(e=this._storage.getItem(ab0))!==null&&e!==void 0?e:this._jsonRpcUrlFromOpts}set jsonRpcUrl(e){this._storage.setItem(ab0,e)}disableReloadOnDisconnect(){this.reloadOnDisconnect=!1}setProviderInfo(e,n){this.isCoinbaseBrowser||(this._chainIdFromOpts=n,this._jsonRpcUrlFromOpts=e),this.updateProviderInfo(this.jsonRpcUrl,this.getChainId())}updateProviderInfo(e,n){this.jsonRpcUrl=e;let a=this.getChainId();this._storage.setItem(nb0,n.toString(10)),((0,In.ensureIntNumber)(n)!==a||!this.hasMadeFirstChainChangedEmission)&&(this.emit("chainChanged",this.getChainId()),this.hasMadeFirstChainChangedEmission=!0)}async watchAsset(e,n,a,r,f,i){let o=await(await this.initializeRelay()).watchAsset(e,n,a,r,f,i?.toString()).promise;return(0,$6.isErrorResponse)(o)?!1:!!o.result}async addEthereumChain(e,n,a,r,f,i){var s,o;if((0,In.ensureIntNumber)(e)===this.getChainId())return!1;let c=await this.initializeRelay(),d=c.inlineAddEthereumChain(e.toString());!this._isAuthorized()&&!d&&await c.requestEthereumAccounts().promise;let l=await c.addEthereumChain(e.toString(),n,f,a,r,i).promise;return(0,$6.isErrorResponse)(l)?!1:(((s=l.result)===null||s===void 0?void 0:s.isApproved)===!0&&this.updateProviderInfo(n[0],e),((o=l.result)===null||o===void 0?void 0:o.isApproved)===!0)}async switchEthereumChain(e){let a=await(await this.initializeRelay()).switchEthereumChain(e.toString(10),this.selectedAddress||void 0).promise;if((0,$6.isErrorResponse)(a)){if(!a.errorCode)return;throw a.errorCode===Sa.standardErrorCodes.provider.unsupportedChain?Sa.standardErrors.provider.unsupportedChain():Sa.standardErrors.provider.custom({message:a.errorMessage,code:a.errorCode})}let r=a.result;r.isApproved&&r.rpcUrl.length>0&&this.updateProviderInfo(r.rpcUrl,e)}setAppInfo(e,n){this.initializeRelay().then(a=>a.setAppInfo(e,n))}async enable(){var e;return(e=this.diagnostic)===null||e===void 0||e.log(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?$$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized()?[...this._addresses]:await this.send("eth_requestAccounts")}async close(){(await this.initializeRelay()).resetAndReload()}send(e,n){try{let a=this._send(e,n);if(a instanceof Promise)return a.catch(r=>{throw(0,Sa.serializeError)(r,e)})}catch(a){throw(0,Sa.serializeError)(a,e)}}_send(e,n){if(typeof e=="string"){let r=e,f=Array.isArray(n)?n:n!==void 0?[n]:[],i={jsonrpc:"2.0",id:0,method:r,params:f};return this._sendRequestAsync(i).then(s=>s.result)}if(typeof n=="function"){let r=e,f=n;return this._sendAsync(r,f)}if(Array.isArray(e))return e.map(f=>this._sendRequest(f));let a=e;return this._sendRequest(a)}async sendAsync(e,n){try{return this._sendAsync(e,n).catch(a=>{throw(0,Sa.serializeError)(a,e)})}catch(a){return Promise.reject((0,Sa.serializeError)(a,e))}}async _sendAsync(e,n){if(typeof n!="function")throw new Error("callback is required");if(Array.isArray(e)){let r=n;this._sendMultipleRequestsAsync(e).then(f=>r(null,f)).catch(f=>r(f,null));return}let a=n;return this._sendRequestAsync(e).then(r=>a(null,r)).catch(r=>a(r,null))}async request(e){try{return this._request(e).catch(n=>{throw(0,Sa.serializeError)(n,e.method)})}catch(n){return Promise.reject((0,Sa.serializeError)(n,e.method))}}async _request(e){if(!e||typeof e!="object"||Array.isArray(e))throw Sa.standardErrors.rpc.invalidRequest({message:"Expected a single, non-array, object argument.",data:e});let{method:n,params:a}=e;if(typeof n!="string"||n.length===0)throw Sa.standardErrors.rpc.invalidRequest({message:"'args.method' must be a non-empty string.",data:e});if(a!==void 0&&!Array.isArray(a)&&(typeof a!="object"||a===null))throw Sa.standardErrors.rpc.invalidRequest({message:"'args.params' must be an object or array if provided.",data:e});let r=a===void 0?[]:a,f=this._relayEventManager.makeRequestId();return(await this._sendRequestAsync({method:n,params:r,jsonrpc:"2.0",id:f})).result}async scanQRCode(e){let a=await(await this.initializeRelay()).scanQRCode((0,In.ensureRegExpString)(e)).promise;if((0,$6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"scanQRCode");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","scanQRCode");return a.result}async genericRequest(e,n){let r=await(await this.initializeRelay()).genericRequest(e,n).promise;if((0,$6.isErrorResponse)(r))throw(0,Sa.serializeError)(r.errorMessage,"generic");if(typeof r.result!="string")throw(0,Sa.serializeError)("result was not a string","generic");return r.result}async connectAndSignIn(e){var n;(n=this.diagnostic)===null||n===void 0||n.log(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::connectAndSignIn",sessionIdHash:this._relay?$$.Session.hash(this._relay.session.id):void 0});let a;try{let f=await this.initializeRelay();if(!(f instanceof D9n.MobileRelay))throw new Error("connectAndSignIn is only supported on mobile");if(a=await f.connectAndSignIn(e).promise,(0,$6.isErrorResponse)(a))throw new Error(a.errorMessage)}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):f}if(!a.result)throw new Error("accounts received is empty");let{accounts:r}=a.result;return this._setAddresses(r),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),a.result}async selectProvider(e){let a=await(await this.initializeRelay()).selectProvider(e).promise;if((0,$6.isErrorResponse)(a))throw(0,Sa.serializeError)(a.errorMessage,"selectProvider");if(typeof a.result!="string")throw(0,Sa.serializeError)("result was not a string","selectProvider");return a.result}supportsSubscriptions(){return!1}subscribe(){throw new Error("Subscriptions are not supported")}unsubscribe(){throw new Error("Subscriptions are not supported")}disconnect(){return!0}_sendRequest(e){let n={jsonrpc:"2.0",id:e.id},{method:a}=e;if(n.result=this._handleSynchronousMethods(e),n.result===void 0)throw new Error(`Coinbase Wallet does not support calling ${a} synchronously without a callback. Please provide a callback parameter to call ${a} asynchronously.`);return n}_setAddresses(e,n){if(!Array.isArray(e))throw new Error("addresses is not an array");let a=e.map(r=>(0,In.ensureAddressString)(r));JSON.stringify(a)!==JSON.stringify(this._addresses)&&(this._addresses=a,this.emit("accountsChanged",this._addresses),this._storage.setItem(tb0.LOCAL_STORAGE_ADDRESSES_KEY,a.join(" ")))}_sendRequestAsync(e){return new Promise((n,a)=>{try{let r=this._handleSynchronousMethods(e);if(r!==void 0)return n({jsonrpc:"2.0",id:e.id,result:r});let f=this._handleAsynchronousFilterMethods(e);if(f!==void 0){f.then(s=>n(Object.assign(Object.assign({},s),{id:e.id}))).catch(s=>a(s));return}let i=this._handleSubscriptionMethods(e);if(i!==void 0){i.then(s=>n({jsonrpc:"2.0",id:e.id,result:s.result})).catch(s=>a(s));return}}catch(r){return a(r)}this._handleAsynchronousMethods(e).then(r=>r&&n(Object.assign(Object.assign({},r),{id:e.id}))).catch(r=>a(r))})}_sendMultipleRequestsAsync(e){return Promise.all(e.map(n=>this._sendRequestAsync(n)))}_handleSynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_accounts":return this._eth_accounts();case"eth_coinbase":return this._eth_coinbase();case"eth_uninstallFilter":return this._eth_uninstallFilter(a);case"net_version":return this._net_version();case"eth_chainId":return this._eth_chainId();default:return}}async _handleAsynchronousMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_requestAccounts":return this._eth_requestAccounts();case"eth_sign":return this._eth_sign(a);case"eth_ecRecover":return this._eth_ecRecover(a);case"personal_sign":return this._personal_sign(a);case"personal_ecRecover":return this._personal_ecRecover(a);case"eth_signTransaction":return this._eth_signTransaction(a);case"eth_sendRawTransaction":return this._eth_sendRawTransaction(a);case"eth_sendTransaction":return this._eth_sendTransaction(a);case"eth_signTypedData_v1":return this._eth_signTypedData_v1(a);case"eth_signTypedData_v2":return this._throwUnsupportedMethodError();case"eth_signTypedData_v3":return this._eth_signTypedData_v3(a);case"eth_signTypedData_v4":case"eth_signTypedData":return this._eth_signTypedData_v4(a);case"cbWallet_arbitrary":return this._cbwallet_arbitrary(a);case"wallet_addEthereumChain":return this._wallet_addEthereumChain(a);case"wallet_switchEthereumChain":return this._wallet_switchEthereumChain(a);case"wallet_watchAsset":return this._wallet_watchAsset(a)}return(await this.initializeRelay()).makeEthereumJSONRPCRequest(e,this.jsonRpcUrl).catch(f=>{var i;throw(f.code===Sa.standardErrorCodes.rpc.methodNotFound||f.code===Sa.standardErrorCodes.rpc.methodNotSupported)&&((i=this.diagnostic)===null||i===void 0||i.log(WD.EVENTS.METHOD_NOT_IMPLEMENTED,{method:e.method,sessionIdHash:this._relay?$$.Session.hash(this._relay.session.id):void 0})),f})}_handleAsynchronousFilterMethods(e){let{method:n}=e,a=e.params||[];switch(n){case"eth_newFilter":return this._eth_newFilter(a);case"eth_newBlockFilter":return this._eth_newBlockFilter();case"eth_newPendingTransactionFilter":return this._eth_newPendingTransactionFilter();case"eth_getFilterChanges":return this._eth_getFilterChanges(a);case"eth_getFilterLogs":return this._eth_getFilterLogs(a)}}_handleSubscriptionMethods(e){switch(e.method){case"eth_subscribe":case"eth_unsubscribe":return this._subscriptionManager.handleRequest(e)}}_isKnownAddress(e){try{let n=(0,In.ensureAddressString)(e);return this._addresses.map(r=>(0,In.ensureAddressString)(r)).includes(n)}catch{}return!1}_ensureKnownAddress(e){var n;if(!this._isKnownAddress(e))throw(n=this.diagnostic)===null||n===void 0||n.log(WD.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error("Unknown Ethereum address")}_prepareTransactionParams(e){let n=e.from?(0,In.ensureAddressString)(e.from):this.selectedAddress;if(!n)throw new Error("Ethereum address is unavailable");this._ensureKnownAddress(n);let a=e.to?(0,In.ensureAddressString)(e.to):null,r=e.value!=null?(0,In.ensureBN)(e.value):new M9n.default(0),f=e.data?(0,In.ensureBuffer)(e.data):_.Buffer.alloc(0),i=e.nonce!=null?(0,In.ensureIntNumber)(e.nonce):null,s=e.gasPrice!=null?(0,In.ensureBN)(e.gasPrice):null,o=e.maxFeePerGas!=null?(0,In.ensureBN)(e.maxFeePerGas):null,c=e.maxPriorityFeePerGas!=null?(0,In.ensureBN)(e.maxPriorityFeePerGas):null,d=e.gas!=null?(0,In.ensureBN)(e.gas):null,l=e.chainId?(0,In.ensureIntNumber)(e.chainId):this.getChainId();return{fromAddress:n,toAddress:a,weiValue:r,data:f,nonce:i,gasPriceInWei:s,maxFeePerGas:o,maxPriorityFeePerGas:c,gasLimit:d,chainId:l}}_isAuthorized(){return this._addresses.length>0}_requireAuthorization(){if(!this._isAuthorized())throw Sa.standardErrors.provider.unauthorized({})}_throwUnsupportedMethodError(){throw Sa.standardErrors.provider.unsupportedMethod({})}async _signEthereumMessage(e,n,a,r){this._ensureKnownAddress(n);try{let i=await(await this.initializeRelay()).signEthereumMessage(e,n,a,r).promise;if((0,$6.isErrorResponse)(i))throw new Error(i.errorMessage);return{jsonrpc:"2.0",id:0,result:i.result}}catch(f){throw typeof f.message=="string"&&f.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied message signature"):f}}async _ethereumAddressFromSignedMessage(e,n,a){let f=await(await this.initializeRelay()).ethereumAddressFromSignedMessage(e,n,a).promise;if((0,$6.isErrorResponse)(f))throw new Error(f.errorMessage);return{jsonrpc:"2.0",id:0,result:f.result}}_eth_accounts(){return[...this._addresses]}_eth_coinbase(){return this.selectedAddress||null}_net_version(){return this.getChainId().toString(10)}_eth_chainId(){return(0,In.hexStringFromIntNumber)(this.getChainId())}getChainId(){let e=this._storage.getItem(nb0);if(!e)return(0,In.ensureIntNumber)(this._chainIdFromOpts);let n=parseInt(e,10);return(0,In.ensureIntNumber)(n)}async _eth_requestAccounts(){var e;if((e=this.diagnostic)===null||e===void 0||e.log(WD.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?$$.Session.hash(this._relay.session.id):void 0}),this._isAuthorized())return Promise.resolve({jsonrpc:"2.0",id:0,result:this._addresses});let n;try{if(n=await(await this.initializeRelay()).requestEthereumAccounts().promise,(0,$6.isErrorResponse)(n))throw new Error(n.errorMessage)}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied account authorization"):a}if(!n.result)throw new Error("accounts received is empty");return this._setAddresses(n.result),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),{jsonrpc:"2.0",id:0,result:this._addresses}}_eth_sign(e){this._requireAuthorization();let n=(0,In.ensureAddressString)(e[0]),a=(0,In.ensureBuffer)(e[1]);return this._signEthereumMessage(a,n,!1)}_eth_ecRecover(e){let n=(0,In.ensureBuffer)(e[0]),a=(0,In.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!1)}_personal_sign(e){this._requireAuthorization();let n=(0,In.ensureBuffer)(e[0]),a=(0,In.ensureAddressString)(e[1]);return this._signEthereumMessage(n,a,!0)}_personal_ecRecover(e){let n=(0,In.ensureBuffer)(e[0]),a=(0,In.ensureBuffer)(e[1]);return this._ethereumAddressFromSignedMessage(n,a,!0)}async _eth_signTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signEthereumTransaction(n).promise;if((0,$6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_sendRawTransaction(e){let n=(0,In.ensureBuffer)(e[0]),r=await(await this.initializeRelay()).submitEthereumTransaction(n,this.getChainId()).promise;if((0,$6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}async _eth_sendTransaction(e){this._requireAuthorization();let n=this._prepareTransactionParams(e[0]||{});try{let r=await(await this.initializeRelay()).signAndSubmitEthereumTransaction(n).promise;if((0,$6.isErrorResponse)(r))throw new Error(r.errorMessage);return{jsonrpc:"2.0",id:0,result:r.result}}catch(a){throw typeof a.message=="string"&&a.message.match(/(denied|rejected)/i)?Sa.standardErrors.provider.userRejectedRequest("User denied transaction signature"):a}}async _eth_signTypedData_v1(e){this._requireAuthorization();let n=(0,In.ensureParsedJSONObject)(e[0]),a=(0,In.ensureAddressString)(e[1]);this._ensureKnownAddress(a);let r=gme.default.hashForSignTypedDataLegacy({data:n}),f=JSON.stringify(n,null,2);return this._signEthereumMessage(r,a,!1,f)}async _eth_signTypedData_v3(e){this._requireAuthorization();let n=(0,In.ensureAddressString)(e[0]),a=(0,In.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=gme.default.hashForSignTypedData_v3({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _eth_signTypedData_v4(e){this._requireAuthorization();let n=(0,In.ensureAddressString)(e[0]),a=(0,In.ensureParsedJSONObject)(e[1]);this._ensureKnownAddress(n);let r=gme.default.hashForSignTypedData_v4({data:a}),f=JSON.stringify(a,null,2);return this._signEthereumMessage(r,n,!1,f)}async _cbwallet_arbitrary(e){let n=e[0],a=e[1];if(typeof a!="string")throw new Error("parameter must be a string");if(typeof n!="object"||n===null)throw new Error("parameter must be an object");return{jsonrpc:"2.0",id:0,result:await this.genericRequest(n,a)}}async _wallet_addEthereumChain(e){var n,a,r,f;let i=e[0];if(((n=i.rpcUrls)===null||n===void 0?void 0:n.length)===0)return{jsonrpc:"2.0",id:0,error:{code:2,message:"please pass in at least 1 rpcUrl"}};if(!i.chainName||i.chainName.trim()==="")throw Sa.standardErrors.rpc.invalidParams("chainName is a required field");if(!i.nativeCurrency)throw Sa.standardErrors.rpc.invalidParams("nativeCurrency is a required field");let s=parseInt(i.chainId,16);return await this.addEthereumChain(s,(a=i.rpcUrls)!==null&&a!==void 0?a:[],(r=i.blockExplorerUrls)!==null&&r!==void 0?r:[],i.chainName,(f=i.iconUrls)!==null&&f!==void 0?f:[],i.nativeCurrency)?{jsonrpc:"2.0",id:0,result:null}:{jsonrpc:"2.0",id:0,error:{code:2,message:"unable to add ethereum chain"}}}async _wallet_switchEthereumChain(e){let n=e[0];return await this.switchEthereumChain(parseInt(n.chainId,16)),{jsonrpc:"2.0",id:0,result:null}}async _wallet_watchAsset(e){let n=Array.isArray(e)?e[0]:e;if(!n.type)throw Sa.standardErrors.rpc.invalidParams("Type is required");if(n?.type!=="ERC20")throw Sa.standardErrors.rpc.invalidParams(`Asset of type '${n.type}' is not supported`);if(!n?.options)throw Sa.standardErrors.rpc.invalidParams("Options are required");if(!n?.options.address)throw Sa.standardErrors.rpc.invalidParams("Address is required");let a=this.getChainId(),{address:r,symbol:f,image:i,decimals:s}=n.options;return{jsonrpc:"2.0",id:0,result:await this.watchAsset(n.type,r,f,s,i,a)}}_eth_uninstallFilter(e){let n=(0,In.ensureHexString)(e[0]);return this._filterPolyfill.uninstallFilter(n)}async _eth_newFilter(e){let n=e[0];return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newFilter(n)}}async _eth_newBlockFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newBlockFilter()}}async _eth_newPendingTransactionFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newPendingTransactionFilter()}}_eth_getFilterChanges(e){let n=(0,In.ensureHexString)(e[0]);return this._filterPolyfill.getFilterChanges(n)}_eth_getFilterLogs(e){let n=(0,In.ensureHexString)(e[0]);return this._filterPolyfill.getFilterLogs(n)}initializeRelay(){return this._relay?Promise.resolve(this._relay):this._relayProvider().then(e=>(e.setAccountsCallback((n,a)=>this._setAddresses(n,a)),e.setChainCallback((n,a)=>{this.updateProviderInfo(a,parseInt(n,10))}),e.setDappDefaultChainCallback(this._chainIdFromOpts),this._relay=e,e))}};UA.CoinbaseWalletProvider=vme});var fb0=D(X$=>{"use strict";u();p();Object.defineProperty(X$,"__esModule",{value:!0});X$.RelayEventManager=void 0;var F9n=sp(),wme=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let e=this._nextRequestId,n=(0,F9n.prepend0x)(e.toString(16));return this.callbacks.get(n)&&this.callbacks.delete(n),e}};X$.RelayEventManager=wme});var Tme=D(eJ=>{"use strict";u();p();Object.defineProperty(eJ,"__esModule",{value:!0});eJ.CoinbaseWalletSDK=void 0;var N9n=mp0(),O9n=bp0(),ib0=sp(),U9n=Np0(),H9n=J$(),z9n=R3e(),W9n=k3e(),q9n=fb0(),j9n=E3e(),G9n=_3e(),sb0=OY(),Z$=class t{constructor(e){var n,a,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let f=e.linkAPIUrl||O9n.LINK_API_URL;typeof e.overrideIsMetaMask>"u"?this._overrideIsMetaMask=!1:this._overrideIsMetaMask=e.overrideIsMetaMask,this._overrideIsCoinbaseWallet=(n=e.overrideIsCoinbaseWallet)!==null&&n!==void 0?n:!0,this._overrideIsCoinbaseBrowser=(a=e.overrideIsCoinbaseBrowser)!==null&&a!==void 0?a:!1,this._diagnosticLogger=e.diagnosticLogger,this._reloadOnDisconnect=(r=e.reloadOnDisconnect)!==null&&r!==void 0?r:!0;let i=new URL(f),s=`${i.protocol}//${i.host}`;if(this._storage=new U9n.ScopedLocalStorage(`-walletlink:${s}`),this._storage.setItem("version",t.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new q9n.RelayEventManager;let o=(0,ib0.isMobileWeb)(),c=e.uiConstructor||(l=>o?new W9n.MobileRelayUI(l):new j9n.WalletLinkRelayUI(l)),d={linkAPIUrl:f,version:sb0.LIB_VERSION,darkMode:!!e.darkMode,headlessMode:!!e.headlessMode,uiConstructor:c,storage:this._storage,relayEventManager:this._relayEventManager,diagnosticLogger:this._diagnosticLogger,reloadOnDisconnect:this._reloadOnDisconnect,enableMobileWalletLink:e.enableMobileWalletLink};this._relay=o?new z9n.MobileRelay(d):new G9n.WalletLinkRelay(d),this.setAppInfo(e.appName,e.appLogoUrl),!e.headlessMode&&this._relay.attachUI()}makeWeb3Provider(e="",n=1){let a=this.walletExtension;if(a)return this.isCipherProvider(a)||a.setProviderInfo(e,n),this._reloadOnDisconnect===!1&&typeof a.disableReloadOnDisconnect=="function"&&a.disableReloadOnDisconnect(),a;let r=this.coinbaseBrowser;if(r)return r;let f=this._relay;if(!f||!this._relayEventManager||!this._storage)throw new Error("Relay not initialized, should never happen");return e||f.setConnectDisabled(!0),new H9n.CoinbaseWalletProvider({relayProvider:()=>Promise.resolve(f),relayEventManager:this._relayEventManager,storage:this._storage,jsonRpcUrl:e,chainId:n,qrUrl:this.getQrUrl(),diagnosticLogger:this._diagnosticLogger,overrideIsMetaMask:this._overrideIsMetaMask,overrideIsCoinbaseWallet:this._overrideIsCoinbaseWallet,overrideIsCoinbaseBrowser:this._overrideIsCoinbaseBrowser})}setAppInfo(e,n){var a;this._appName=e||"DApp",this._appLogoUrl=n||(0,ib0.getFavicon)();let r=this.walletExtension;r?this.isCipherProvider(r)||r.setAppInfo(this._appName,this._appLogoUrl):(a=this._relay)===null||a===void 0||a.setAppInfo(this._appName,this._appLogoUrl)}disconnect(){var e;let n=this===null||this===void 0?void 0:this.walletExtension;n?n.close():(e=this._relay)===null||e===void 0||e.resetAndReload()}getQrUrl(){var e,n;return(n=(e=this._relay)===null||e===void 0?void 0:e.getQRCodeUrl())!==null&&n!==void 0?n:null}getCoinbaseWalletLogo(e,n=240){return(0,N9n.walletLogo)(e,n)}get walletExtension(){var e;return(e=window.coinbaseWalletExtension)!==null&&e!==void 0?e:window.walletLinkExtension}get coinbaseBrowser(){var e,n;try{let a=(e=window.ethereum)!==null&&e!==void 0?e:(n=window.top)===null||n===void 0?void 0:n.ethereum;return a&&"isCoinbaseBrowser"in a&&a.isCoinbaseBrowser?a:void 0}catch{return}}isCipherProvider(e){return typeof e.isCipher=="boolean"&&e.isCipher}};eJ.CoinbaseWalletSDK=Z$;Z$.VERSION=sb0.LIB_VERSION});var cb0=D(Hg=>{"use strict";u();p();Object.defineProperty(Hg,"__esModule",{value:!0});Hg.CoinbaseWalletProvider=Hg.CoinbaseWalletSDK=void 0;var xme=Tme(),ob0=J$(),K9n=Tme();Object.defineProperty(Hg,"CoinbaseWalletSDK",{enumerable:!0,get:function(){return K9n.CoinbaseWalletSDK}});var Q9n=J$();Object.defineProperty(Hg,"CoinbaseWalletProvider",{enumerable:!0,get:function(){return Q9n.CoinbaseWalletProvider}});Hg.default=xme.CoinbaseWalletSDK;typeof window<"u"&&(window.CoinbaseWalletSDK=xme.CoinbaseWalletSDK,window.CoinbaseWalletProvider=ob0.CoinbaseWalletProvider,window.WalletLink=xme.CoinbaseWalletSDK,window.WalletLinkProvider=ob0.CoinbaseWalletProvider)});var db0={};G0(db0,{CoinbaseWalletConnector:()=>Eme});var g4,Eme,lb0=oe(()=>{"use strict";u();p();It();z9();mo();g4=Ee(Je());wn();uh();lh();W0();Eme=class extends t6{constructor(e){let{chains:n,options:a}=e;super({chains:n,options:{reloadOnDisconnect:!1,...a}}),Pe(this,"id",U0.coinbase),Pe(this,"name","Coinbase Wallet"),Pe(this,"ready",!0),Pe(this,"onAccountsChanged",r=>{r.length===0?this.emit("disconnect"):this.emit("change",{account:g4.utils.getAddress(r[0])})}),Pe(this,"onChainChanged",r=>{let f=wi(r),i=this.isChainUnsupported(f);this.emit("change",{chain:{id:f,unsupported:i}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect")})}async connect(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};try{let n=await this.getProvider();this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.enable(),r=g4.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);if(e&&f!==e)try{f=(await this.switchChain(e)).chainId,i=this.isChainUnsupported(f)}catch(s){console.error(`Connected but failed to switch to desired chain ${e}`,s)}return{account:r,chain:{id:f,unsupported:i},provider:new g4.providers.Web3Provider(n)}}catch(n){throw/(user closed modal|accounts received is empty)/i.test(n.message)?new _t(n):n}}async disconnect(){if(!this._provider)return;let e=await this.getProvider();e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),e.disconnect(),e.close()}async getAccount(){let n=await(await this.getProvider()).request({method:"eth_accounts"});if(n.length===0)throw new Error("No accounts found");return g4.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();return wi(e.chainId)}async getProvider(){if(!this._provider){let e=(await Promise.resolve().then(()=>Ee(cb0()))).default;typeof e!="function"&&typeof e.default=="function"&&(e=e.default),this._client=new e(this.options);let n=this._client.walletExtension?.getChainId(),a=this.chains.find(i=>this.options.chainId?i.chainId===this.options.chainId:i.chainId===n)||this.chains[0],r=this.options.chainId||a?.chainId,f=this.options.jsonRpcUrl||a?.rpc[0];this._provider=this._client.makeWeb3Provider(f,r)}return this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new g4.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider(),a=g4.utils.hexValue(e);try{return await n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],testnet:!1,chain:"ethereum",shortName:"eth"}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Cb({chainId:e,connectorId:this.id});if(r.code===4902)try{return await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),f}catch(i){throw this._isUserRejectedRequestError(i)?new _t(i):new Ib}throw this._isUserRejectedRequestError(r)?new _t(r):new ic(r)}}_isUserRejectedRequestError(e){return/(user rejected)/i.test(e.message)}async setupListeners(){let e=await this.getProvider();e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect)}async getQrUrl(){if(await this.getProvider(),!this._client)throw new Error("Coinbase Wallet SDK not initialized");return this._client.getQrUrl()}}});var mb0=D((xtr,hb0)=>{u();p();var pb0=t=>t==="injected"?"injected":t.endsWith(".ipc")?"ipc":t.startsWith("wss://")||t.startsWith("ws://")?"ws":t.startsWith("https://")||t.startsWith("http://")?"http":"";hb0.exports=(t,e)=>[].concat(...[].concat(t).map(n=>e[n]?e[n].map(a=>({type:n,location:a,protocol:pb0(a)})):{type:"custom",location:n,protocol:pb0(n)})).filter(n=>n.protocol||n.type==="injected"?!0:(console.log('eth-provider | Invalid provider preset/location: "'+n.location+'"'),!1))});var bb0=D(tJ=>{"use strict";u();p();Object.defineProperty(tJ,"__esModule",{value:!0});tJ.create=void 0;function V9n(t,e=[],n,a){let r={id:n,method:t,params:e,jsonrpc:"2.0"};if(a&&(r.chainId=a),r.method==="eth_sendTransaction"){let f=Y9n(r);if(f)throw new Error(`Payload chainId (${f}) inconsistent with specified target chainId: ${a}`);return $9n(r)}return r}tJ.create=V9n;function Y9n(t){if(t.method!=="eth_sendTransaction")return!1;let e=t.params[0]||{},n=e.chainId;return"chainId"in e&&parseInt(n)!==parseInt(t.chainId||n)}function $9n(t){let e=t.params[0]||{};return{...t,params:[{...e,chainId:e.chainId||t.chainId},...t.params.slice(1)]}}});var yb0=D(qD=>{"use strict";u();p();var J9n=qD&&qD.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qD,"__esModule",{value:!0});var X9n=J9n(Or()),Z9n=bb0(),_me=class extends X9n.default{constructor(e){super(),this.promises={},this.attemptedSubscriptions=new Set,this.subscriptions=[],this.checkConnectionRunning=!1,this.nextId=1,this.connected=!1,this.accounts=[],this.selectedAddress=void 0,this.coinbase=void 0,this.enable=this.enable.bind(this),this.doSend=this.doSend.bind(this),this.send=this.send.bind(this),this.sendBatch=this.sendBatch.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.resumeSubscriptions=this.resumeSubscriptions.bind(this),this.sendAsync=this.sendAsync.bind(this),this.sendAsyncBatch=this.sendAsyncBatch.bind(this),this.isConnected=this.isConnected.bind(this),this.close=this.close.bind(this),this.request=this.request.bind(this),this.connection=e,this.on("connect",this.resumeSubscriptions),this.connection.on("connect",()=>this.checkConnection(1e3)),this.connection.on("close",()=>{this.connected=!1,this.attemptedSubscriptions.clear(),this.emit("close"),this.emit("disconnect")}),this.connection.on("payload",n=>{let{id:a,method:r,error:f,result:i}=n;if(typeof a<"u"){if(this.promises[a]){let s=this.promises[a].method;if(s&&["eth_accounts","eth_requestAccounts"].includes(s)){let o=i||[];this.accounts=o,this.selectedAddress=o[0],this.coinbase=o[0]}n.error?this.promises[a].reject(f):this.promises[a].resolve(i),delete this.promises[a]}}else r&&r.indexOf("_subscription")>-1&&(this.emit(n.params.subscription,n.params.result),this.emit(r,n.params),this.emit("message",{type:n.method,data:{subscription:n.params.subscription,result:n.params.result}}),this.emit("data",n))}),this.on("newListener",n=>{Object.keys(this.eventHandlers).includes(n)&&!this.attemptedSubscription(n)&&this.connected&&(this.startSubscription(n),n==="networkChanged"&&console.warn("The networkChanged event is being deprecated, use chainChanged instead"))}),this.eventHandlers={networkChanged:n=>{this.networkVersion=typeof n=="string"?parseInt(n):n,this.emit("networkChanged",this.networkVersion)},chainChanged:n=>{this.providerChainId=n,this.manualChainId||this.emit("chainChanged",n)},chainsChanged:n=>{this.emit("chainsChanged",n)},accountsChanged:n=>{this.selectedAddress=n[0],this.emit("accountsChanged",n)},assetsChanged:n=>{this.emit("assetsChanged",n)}}}get chainId(){return this.manualChainId||this.providerChainId}async checkConnection(e=4e3){if(!(this.checkConnectionRunning||this.connected)){clearTimeout(this.checkConnectionTimer),this.checkConnectionTimer=void 0,this.checkConnectionRunning=!0;try{this.networkVersion=await this.doSend("net_version",[],void 0,!1),this.providerChainId=await this.doSend("eth_chainId",[],void 0,!1),this.connected=!0}catch{this.checkConnectionTimer=setTimeout(()=>this.checkConnection(),e),this.connected=!1}finally{this.checkConnectionRunning=!1,this.connected&&this.emit("connect",{chainId:this.providerChainId})}}}attemptedSubscription(e){return this.attemptedSubscriptions.has(e)}setSubscriptionAttempted(e){this.attemptedSubscriptions.add(e)}async startSubscription(e){console.debug(`starting subscription for ${e} events`),this.setSubscriptionAttempted(e);try{let n=await this.subscribe("eth_subscribe",e);this.on(n,this.eventHandlers[e])}catch(n){console.warn(`Unable to subscribe to ${e}`,n)}}resumeSubscriptions(){Object.keys(this.eventHandlers).forEach(e=>{this.listenerCount(e)&&!this.attemptedSubscription(e)&&this.startSubscription(e)})}async enable(){let e=await this.doSend("eth_accounts");if(e.length>0)return this.accounts=e,this.selectedAddress=e[0],this.coinbase=e[0],this.emit("enable"),e;{let n=new Error("User Denied Full Provider");throw n.code="4001",n}}doSend(e,n=[],a=this.manualChainId,r=!0){let f=(i,s)=>{let o=typeof e=="object"?e.method:e,c=typeof e=="object"?e.params:n,d=typeof e=="object"&&e.chainId||a;if(!o)return s(new Error("Method is not a valid string."));try{let l=(0,Z9n.create)(o,c,this.nextId++,d);this.promises[l.id]={resolve:h=>i(h),reject:s,method:l.method},this.connection.send(l)}catch(l){s(l)}};return this.connected||!r?new Promise(f):new Promise((i,s)=>{let o=()=>(clearTimeout(c),i(new Promise(f))),c=setTimeout(()=>{this.off("connect",o),s(new Error("Not connected"))},5e3);this.once("connect",o)})}async send(e,n){if(typeof e=="string"&&(!n||Array.isArray(n))){let a=n;return this.doSend(e,a)}if(e&&typeof e=="object"&&typeof n=="function"){let a=n;return this.sendAsync(e,a)}return this.request(e)}sendBatch(e){return Promise.all(e.map(n=>this.doSend(n.method,n.params)))}async subscribe(e,n,a=[]){let r=await this.doSend(e,[n,...a]);return this.subscriptions.push(r),r}async unsubscribe(e,n){let a=await this.doSend(e,[n]);if(a)return this.subscriptions=this.subscriptions.filter(r=>r!==n),this.removeAllListeners(n),a}async sendAsync(e,n){if(!n||typeof n!="function")return new Error("Invalid or undefined callback provided to sendAsync");if(!e)return n(new Error("Invalid Payload"));if(Array.isArray(e)){let a=e.map(f=>({...f,jsonrpc:"2.0"})),r=n;return this.sendAsyncBatch(a,r)}else{let a={...e,jsonrpc:"2.0"},r=n;try{let f=await this.doSend(a.method,a.params);r(null,{id:a.id,jsonrpc:a.jsonrpc,result:f})}catch(f){r(f)}}}async sendAsyncBatch(e,n){try{let r=(await this.sendBatch(e)).map((f,i)=>({id:e[i].id,jsonrpc:e[i].jsonrpc,result:f}));n(null,r)}catch(a){n(a)}}isConnected(){return this.connected}close(){this.connection&&this.connection.close&&this.connection.close(),this.off("connect",this.resumeSubscriptions),this.connected=!1;let e=new Error("Provider closed, subscription lost, please subscribe again.");this.subscriptions.forEach(n=>this.emit(n,e)),this.subscriptions=[],this.manualChainId=void 0,this.providerChainId=void 0,this.networkVersion=void 0,this.selectedAddress=void 0,this.coinbase=void 0}async request(e){return this.doSend(e.method,e.params,e.chainId)}setChain(e){typeof e=="number"&&(e="0x"+e.toString(16));let n=e!==this.chainId;this.manualChainId=e,n&&this.emit("chainChanged",this.chainId)}};qD.default=_me});var vb0=D((Mtr,gb0)=>{u();p();var egn=Or(),zA=x.env.NODE_ENV==="development",Ame=class extends egn{constructor(e,n,a){super(),this.targets=n,this.options=a,this.connections=e,this.connected=!1,this.status="loading",this.interval=a.interval||5e3,this.name=a.name||"default",this.inSetup=!0,this.connect()}connect(e=0){if(zA&&e===0&&console.log(` - - - -A connection cycle started for provider with name: ${this.name}`),this.connection&&this.connection.status==="connected"&&e>=this.connection.index)zA&&console.log("Stopping connection cycle becasuse we're already connected to a higher priority provider");else if(this.targets.length===0)zA&&console.log("No valid targets supplied");else{let{protocol:n,location:a}=this.targets[e];this.connection=this.connections[n](a,this.options);let r=f=>this.connectionError(e,f);this.connection.once("error",r),this.connection.on("connect",()=>{this.connection.off("error",r),this.connection.once("error",f=>this.onError(f)),this.connection.once("close",()=>{this.connected=!1,this.emitClose(),this.closing||this.refresh()}),this.connection.target=this.targets[e],this.connection.index=e,this.targets[e].status=this.connection.status,this.connected=!0,this.inSetup=!1,zA&&console.log("Successfully connected to: "+this.targets[e].location),this.emit("connect")}),this.connection.on("data",f=>this.emit("data",f)),this.connection.on("payload",f=>this.emit("payload",f))}}onError(e){if(this.listenerCount("error"))return this.emit("error",e);console.warn("[eth-provider] Uncaught connection error: "+e.message)}refresh(e=this.interval){zA&&console.log(`Reconnect queued for ${(e/1e3).toFixed(2)}s in the future`),clearTimeout(this.connectTimer),this.connectTimer=setTimeout(()=>this.connect(),e)}connectionError(e,n){this.connection&&this.connection.close&&this.connection.close(),this.targets[e].status=n,this.targets.length-1===e?(this.inSetup=!1,zA&&console.warn("eth-provider unable to connect to any targets, view connection cycle summary: ",this.targets),this.refresh()):this.connect(++e)}emitClose(){this.emit("close")}close(){this.closing=!0,this.connection&&this.connection.close&&!this.connection.closed?this.connection.close():this.emit("close"),clearTimeout(this.connectTimer),clearTimeout(this.setupTimer)}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){this.inSetup?this.setupTimer=setTimeout(()=>this.send(e),100):this.connection.closed?this.error(e,"Not connected",4900):this.connection.send(e)}};gb0.exports=Ame});var xb0=D((Ptr,Tb0)=>{u();p();var tgn=Or(),ngn=yb0().default,agn=vb0(),wb0=t=>{function e(r){t.status=r,t instanceof tgn&&t.emit("status",r)}async function n(){try{await t.send("eth_syncing")&&e("syncing")}catch{}}async function a(){if(t.inSetup)return setTimeout(a,1e3);try{await t.send("eth_chainId"),e("connected"),setTimeout(n,500)}catch{e("disconnected")}}return e("loading"),a(),t.on("connect",()=>a()),t.on("close",()=>e("disconnected")),t};Tb0.exports=(t,e,n)=>{if(t.injected.__isProvider&&e.map(r=>r.type).indexOf("injected")>-1)return delete t.injected.__isProvider,wb0(t.injected);let a=new ngn(new agn(t,e,n));return a.setMaxListeners(128),wb0(a)}});var _b0=D((Ntr,Eb0)=>{u();p();Eb0.exports=(t={})=>({injected:["injected"],frame:["ws://127.0.0.1:1248","http://127.0.0.1:1248"],direct:["ws://127.0.0.1:8546","http://127.0.0.1:8545"],infura:[`wss://mainnet.infura.io/ws/v3/${t.infuraId}`,`https://mainnet.infura.io/v3/${t.infuraId}`],alchemy:[`wss://eth-mainnet.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-mainnet.alchemyapi.io/v2/${t.alchemyId}`],infuraGoerli:[`wss://goerli.infura.io/ws/v3/${t.infuraId}`,`https://goerli.infura.io/v3/${t.infuraId}`],alchemyGoerli:[`wss://eth-goerli.ws.alchemyapi.io/v2/${t.alchemyId}`,`https://eth-goerli.alchemyapi.io/v2/${t.alchemyId}`],infuraPolygon:[`https://polygon-mainnet.infura.io/v3/${t.infuraId}`],infuraArbitrum:[`https://arbitrum-mainnet.infura.io/v3/${t.infuraId}`],infuraOptimism:[`https://optimism-mainnet.infura.io/v3/${t.infuraId}`],infuraSepolia:[`wss://sepolia.infura.io/ws/v3/${t.infuraId}`,`https://sepolia.infura.io/v3/${t.infuraId}`],gnosis:["https://rpc.gnosischain.com"],optimism:["https://mainnet.optimism.io"]})});var Ib0=D((Htr,Ab0)=>{u();p();var rgn=Or(),Ime=class extends rgn{constructor(e,n){super(),setTimeout(e?()=>this.onError(new Error("Injected web3 provider is not currently supported")):()=>this.onError(new Error("No injected provider found")),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};Ab0.exports=t=>e=>new Ime(t,e)});var kb0=D((qtr,Cb0)=>{u();p();var fgn=Or(),Cme=class extends fgn{constructor(e){super(),setTimeout(()=>this.onError(new Error(e)),0)}onError(e){this.listenerCount("error")&&this.emit("error",e)}};Cb0.exports=t=>()=>new Cme(t)});var Rb0=D((Ktr,Sb0)=>{u();p();var nJ,kme;Sb0.exports=(t,e)=>{let n=[];t.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(a=>{nJ&&(a=nJ+a);let r;try{r=JSON.parse(a)}catch{nJ=a,clearTimeout(kme),kme=setTimeout(()=>e(new Error("Parse response timeout")),15*1e3);return}clearTimeout(kme),nJ=null,r&&n.push(r)}),e(null,n)}});var Db0=D((Ytr,Bb0)=>{u();p();var ign=Or(),sgn=Rb0(),Mb0=x.env.NODE_ENV==="development",jD,Sme=class extends ign{constructor(e,n,a){super(),this.socketListeners=[],jD=e,setTimeout(()=>this.create(n,a),0)}create(e,n){if(!jD)return this.onError(new Error("No WebSocket transport available"));try{this.socket=new jD(e,[],{origin:n.origin})}catch(a){return this.onError(a)}this.addSocketListener("error",this.onError.bind(this)),this.addSocketListener("open",this.onOpen.bind(this)),this.addSocketListener("close",this.onClose.bind(this))}addSocketListener(e,n){this.socket.addEventListener(e,n),this.socketListeners.push({event:e,handler:n})}removeAllSocketListeners(){this.socketListeners.forEach(({event:e,handler:n})=>{this.socket.removeEventListener(e,n)}),this.socketListeners=[]}onOpen(){this.emit("connect"),this.addSocketListener("message",this.onMessage.bind(this))}onMessage(e){let n=typeof e.data=="string"?e.data:"";sgn(n,(a,r)=>{a||r.forEach(f=>{Array.isArray(f)?f.forEach(i=>this.emit("payload",i)):this.emit("payload",f)})})}onError(e){this.listenerCount("error")&&this.emit("error",e)}onClose(e){let n={reason:e?e.reason:"unknown",code:e?e.code:"unknown"};this.socket&&(this.removeAllSocketListeners(),this.socket=null),this.closed=!0,Mb0&&console.log(`Closing WebSocket connection, reason: ${n.reason} (code ${n.code})`),this.emit("close"),this.removeAllListeners()}close(){this.socket&&jD&&this.socket.readyState!==jD.CLOSED?(this.removeAllSocketListeners(),this.addSocketListener("error",()=>{}),this.addSocketListener("close",this.onClose.bind(this)),this.socket.terminate?this.socket.terminate():this.socket.close()):this.onClose()}error(e,n,a=-1){this.emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e){try{this.socket&&this.socket.readyState===this.socket.CONNECTING?setTimeout(n=>this.send(e),10):!this.socket||this.socket.readyState>1?(this.connected=!1,this.error(e,"Not connected")):this.socket.send(JSON.stringify(e))}catch(n){Mb0&&console.error("Error sending Websocket request",n),this.error(e,n.message)}}};Bb0.exports=t=>(e,n)=>new Sme(t,e,n)});var Mme=D(Rme=>{"use strict";u();p();Object.defineProperty(Rme,"__esModule",{value:!0});Rme.default=cgn;var aJ,ogn=new Uint8Array(16);function cgn(){if(!aJ&&(aJ=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!aJ))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return aJ(ogn)}});var Pb0=D(rJ=>{"use strict";u();p();Object.defineProperty(rJ,"__esModule",{value:!0});rJ.default=void 0;var dgn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;rJ.default=dgn});var GD=D(fJ=>{"use strict";u();p();Object.defineProperty(fJ,"__esModule",{value:!0});fJ.default=void 0;var lgn=ugn(Pb0());function ugn(t){return t&&t.__esModule?t:{default:t}}function pgn(t){return typeof t=="string"&&lgn.default.test(t)}var hgn=pgn;fJ.default=hgn});var QD=D(KD=>{"use strict";u();p();Object.defineProperty(KD,"__esModule",{value:!0});KD.default=void 0;KD.unsafeStringify=Lb0;var mgn=bgn(GD());function bgn(t){return t&&t.__esModule?t:{default:t}}var Eo=[];for(let t=0;t<256;++t)Eo.push((t+256).toString(16).slice(1));function Lb0(t,e=0){return(Eo[t[e+0]]+Eo[t[e+1]]+Eo[t[e+2]]+Eo[t[e+3]]+"-"+Eo[t[e+4]]+Eo[t[e+5]]+"-"+Eo[t[e+6]]+Eo[t[e+7]]+"-"+Eo[t[e+8]]+Eo[t[e+9]]+"-"+Eo[t[e+10]]+Eo[t[e+11]]+Eo[t[e+12]]+Eo[t[e+13]]+Eo[t[e+14]]+Eo[t[e+15]]).toLowerCase()}function ygn(t,e=0){let n=Lb0(t,e);if(!(0,mgn.default)(n))throw TypeError("Stringified UUID is invalid");return n}var ggn=ygn;KD.default=ggn});var Nb0=D(iJ=>{"use strict";u();p();Object.defineProperty(iJ,"__esModule",{value:!0});iJ.default=void 0;var vgn=Tgn(Mme()),wgn=QD();function Tgn(t){return t&&t.__esModule?t:{default:t}}var Fb0,Bme,Dme=0,Pme=0;function xgn(t,e,n){let a=e&&n||0,r=e||new Array(16);t=t||{};let f=t.node||Fb0,i=t.clockseq!==void 0?t.clockseq:Bme;if(f==null||i==null){let h=t.random||(t.rng||vgn.default)();f==null&&(f=Fb0=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),i==null&&(i=Bme=(h[6]<<8|h[7])&16383)}let s=t.msecs!==void 0?t.msecs:Date.now(),o=t.nsecs!==void 0?t.nsecs:Pme+1,c=s-Dme+(o-Pme)/1e4;if(c<0&&t.clockseq===void 0&&(i=i+1&16383),(c<0||s>Dme)&&t.nsecs===void 0&&(o=0),o>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Dme=s,Pme=o,Bme=i,s+=122192928e5;let d=((s&268435455)*1e4+o)%4294967296;r[a++]=d>>>24&255,r[a++]=d>>>16&255,r[a++]=d>>>8&255,r[a++]=d&255;let l=s/4294967296*1e4&268435455;r[a++]=l>>>8&255,r[a++]=l&255,r[a++]=l>>>24&15|16,r[a++]=l>>>16&255,r[a++]=i>>>8|128,r[a++]=i&255;for(let h=0;h<6;++h)r[a+h]=f[h];return e||(0,wgn.unsafeStringify)(r)}var Egn=xgn;iJ.default=Egn});var Lme=D(sJ=>{"use strict";u();p();Object.defineProperty(sJ,"__esModule",{value:!0});sJ.default=void 0;var _gn=Agn(GD());function Agn(t){return t&&t.__esModule?t:{default:t}}function Ign(t){if(!(0,_gn.default)(t))throw TypeError("Invalid UUID");let e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=e&255,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=e&255,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=e&255,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=e&255,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=e&255,n}var Cgn=Ign;sJ.default=Cgn});var Fme=D(Wg=>{"use strict";u();p();Object.defineProperty(Wg,"__esModule",{value:!0});Wg.URL=Wg.DNS=void 0;Wg.default=Bgn;var kgn=QD(),Sgn=Rgn(Lme());function Rgn(t){return t&&t.__esModule?t:{default:t}}function Mgn(t){t=unescape(encodeURIComponent(t));let e=[];for(let n=0;n{"use strict";u();p();Object.defineProperty(cJ,"__esModule",{value:!0});cJ.default=void 0;function Dgn(t){if(typeof t=="string"){let e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(let n=0;n>5]>>>r%32&255,i=parseInt(a.charAt(f>>>4&15)+a.charAt(f&15),16);e.push(i)}return e}function Hb0(t){return(t+64>>>9<<4)+14+1}function Lgn(t,e){t[e>>5]|=128<>5]|=(t[a/8]&255)<>16)+(e>>16)+(n>>16)<<16|n&65535}function Ngn(t,e){return t<>>32-e}function oJ(t,e,n,a,r,f){return v4(Ngn(v4(v4(e,t),v4(a,f)),r),n)}function _1(t,e,n,a,r,f,i){return oJ(e&n|~e&a,t,e,r,f,i)}function A1(t,e,n,a,r,f,i){return oJ(e&a|n&~a,t,e,r,f,i)}function I1(t,e,n,a,r,f,i){return oJ(e^n^a,t,e,r,f,i)}function C1(t,e,n,a,r,f,i){return oJ(n^(e|~a),t,e,r,f,i)}var Ogn=Dgn;cJ.default=Ogn});var qb0=D(dJ=>{"use strict";u();p();Object.defineProperty(dJ,"__esModule",{value:!0});dJ.default=void 0;var Ugn=Wb0(Fme()),Hgn=Wb0(zb0());function Wb0(t){return t&&t.__esModule?t:{default:t}}var zgn=(0,Ugn.default)("v3",48,Hgn.default),Wgn=zgn;dJ.default=Wgn});var jb0=D(lJ=>{"use strict";u();p();Object.defineProperty(lJ,"__esModule",{value:!0});lJ.default=void 0;var qgn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),jgn={randomUUID:qgn};lJ.default=jgn});var Qb0=D(uJ=>{"use strict";u();p();Object.defineProperty(uJ,"__esModule",{value:!0});uJ.default=void 0;var Gb0=Kb0(jb0()),Ggn=Kb0(Mme()),Kgn=QD();function Kb0(t){return t&&t.__esModule?t:{default:t}}function Qgn(t,e,n){if(Gb0.default.randomUUID&&!e&&!t)return Gb0.default.randomUUID();t=t||{};let a=t.random||(t.rng||Ggn.default)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=a[r];return e}return(0,Kgn.unsafeStringify)(a)}var Vgn=Qgn;uJ.default=Vgn});var Vb0=D(pJ=>{"use strict";u();p();Object.defineProperty(pJ,"__esModule",{value:!0});pJ.default=void 0;function Ygn(t,e,n,a){switch(t){case 0:return e&n^~e&a;case 1:return e^n^a;case 2:return e&n^e&a^n&a;case 3:return e^n^a}}function Nme(t,e){return t<>>32-e}function $gn(t){let e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){let i=unescape(encodeURIComponent(t));t=[];for(let s=0;s>>0;h=l,l=d,d=Nme(c,30)>>>0,c=o,o=k}n[0]=n[0]+o>>>0,n[1]=n[1]+c>>>0,n[2]=n[2]+d>>>0,n[3]=n[3]+l>>>0,n[4]=n[4]+h>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,n[0]&255,n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,n[1]&255,n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,n[2]&255,n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,n[3]&255,n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,n[4]&255]}var Jgn=$gn;pJ.default=Jgn});var $b0=D(hJ=>{"use strict";u();p();Object.defineProperty(hJ,"__esModule",{value:!0});hJ.default=void 0;var Xgn=Yb0(Fme()),Zgn=Yb0(Vb0());function Yb0(t){return t&&t.__esModule?t:{default:t}}var evn=(0,Xgn.default)("v5",80,Zgn.default),tvn=evn;hJ.default=tvn});var Jb0=D(mJ=>{"use strict";u();p();Object.defineProperty(mJ,"__esModule",{value:!0});mJ.default=void 0;var nvn="00000000-0000-0000-0000-000000000000";mJ.default=nvn});var Xb0=D(bJ=>{"use strict";u();p();Object.defineProperty(bJ,"__esModule",{value:!0});bJ.default=void 0;var avn=rvn(GD());function rvn(t){return t&&t.__esModule?t:{default:t}}function fvn(t){if(!(0,avn.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}var ivn=fvn;bJ.default=ivn});var Zb0=D(Xl=>{"use strict";u();p();Object.defineProperty(Xl,"__esModule",{value:!0});Object.defineProperty(Xl,"NIL",{enumerable:!0,get:function(){return lvn.default}});Object.defineProperty(Xl,"parse",{enumerable:!0,get:function(){return mvn.default}});Object.defineProperty(Xl,"stringify",{enumerable:!0,get:function(){return hvn.default}});Object.defineProperty(Xl,"v1",{enumerable:!0,get:function(){return svn.default}});Object.defineProperty(Xl,"v3",{enumerable:!0,get:function(){return ovn.default}});Object.defineProperty(Xl,"v4",{enumerable:!0,get:function(){return cvn.default}});Object.defineProperty(Xl,"v5",{enumerable:!0,get:function(){return dvn.default}});Object.defineProperty(Xl,"validate",{enumerable:!0,get:function(){return pvn.default}});Object.defineProperty(Xl,"version",{enumerable:!0,get:function(){return uvn.default}});var svn=zh(Nb0()),ovn=zh(qb0()),cvn=zh(Qb0()),dvn=zh($b0()),lvn=zh(Jb0()),uvn=zh(Xb0()),pvn=zh(GD()),hvn=zh(QD()),mvn=zh(Lme());function zh(t){return t&&t.__esModule?t:{default:t}}});var n40=D((Knr,t40)=>{u();p();var bvn=Or(),{v4:yvn}=Zb0(),e40=x.env.NODE_ENV==="development",Ome,Ume=class extends bvn{constructor(e,n,a){super(),Ome=e,this.options=a,this.connected=!1,this.subscriptions=!1,this.status="loading",this.url=n,this.pollId=yvn(),setTimeout(()=>this.create(),0),this._emit=(...r)=>this.closed?null:this.emit(...r)}onError(e){!this.closed&&this.listenerCount("error")&&this.emit("error",e)}create(){if(!Ome)return this.onError(new Error("No HTTP transport available"));this.on("error",()=>{this.connected&&this.close()}),this.init()}init(){this.send({jsonrpc:"2.0",method:"net_version",params:[],id:1},(e,n)=>{if(e)return this.onError(e);this.connected=!0,this._emit("connect"),this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId,"immediate"]},(a,r)=>{a||(this.subscriptions=!0,this.pollSubscriptions())})})}pollSubscriptions(){this.send({jsonrpc:"2.0",id:1,method:"eth_pollSubscriptions",params:[this.pollId]},(e,n)=>{if(e)return this.subscriptionTimeout=setTimeout(()=>this.pollSubscriptions(),1e4),this.onError(e);this.closed||(this.subscriptionTimeout=this.pollSubscriptions()),n&&n.map(a=>{let r;try{r=JSON.parse(a)}catch{r=!1}return r}).filter(a=>a).forEach(a=>this._emit("payload",a))})}close(){e40&&console.log("Closing HTTP connection"),clearTimeout(this.subscriptionTimeout),this._emit("close"),this.closed=!0,this.removeAllListeners()}filterStatus(e){if(e.status>=200&&e.status<300)return e;let n=new Error(e.statusText);throw n.res=e,n.message}error(e,n,a=-1){this._emit("payload",{id:e.id,jsonrpc:e.jsonrpc,error:{message:n,code:a}})}send(e,n){if(this.closed)return this.error(e,"Not connected");if(e.method==="eth_subscribe")if(this.subscriptions)e.pollId=this.pollId;else return this.error(e,"Subscriptions are not supported by this HTTP endpoint");let a=new Ome,r=!1,f=(i,s)=>{if(!r)if(a.abort(),r=!0,n)n(i,s);else{let{id:o,jsonrpc:c}=e,d=i?{id:o,jsonrpc:c,error:{message:i.message,code:i.code}}:{id:o,jsonrpc:c,result:s};this._emit("payload",d)}};try{a.open("POST",this.url,!0),a.setRequestHeader("Content-Type","application/json"),a.timeout=60*1e3,a.onerror=f,a.ontimeout=f,a.onreadystatechange=()=>{if(a.readyState===4)try{let i=JSON.parse(a.responseText);f(i.error,i.result)}catch(i){f(i)}},a.send(JSON.stringify(e))}catch(i){e40&&console.error("Error sending HTTP request",i),f({message:i.message,code:-1})}}};t40.exports=t=>(e,n)=>new Ume(t,e,n)});var r40=D((Ynr,a40)=>{u();p();var gvn=mb0(),vvn=xb0(),wvn=_b0(),yJ={ethereum:typeof window<"u"&&typeof window.ethereum<"u"?window.ethereum:null,web3:typeof window<"u"&&typeof window.web3<"u"?window.web3.currentProvider:null},Tvn=typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:null,xvn=typeof window<"u"&&typeof window.XMLHttpRequest<"u"?window.XMLHttpRequest:null;yJ.ethereum&&(yJ.ethereum.__isProvider=!0);var Evn={injected:yJ.ethereum||Ib0()(yJ.web3),ipc:kb0()("IPC connections are unavliable in the browser"),ws:Db0()(Tvn),http:n40()(xvn)};a40.exports=(t,e)=>{t&&!Array.isArray(t)&&typeof t=="object"&&!e&&(e=t,t=void 0),t||(t=["injected","frame"]),e||(e={}),t=[].concat(t),t.forEach(a=>{if(a.startsWith("alchemy")&&!e.alchemyId)throw new Error("Alchemy was included as a connection target but no Alchemy project ID was passed in options e.g. { alchemyId: '123abc' }");if(a.startsWith("infura")&&!e.infuraId)throw new Error("Infura was included as a connection target but no Infura project ID was passed in options e.g. { infuraId: '123abc' }")});let n=wvn(e);return vvn(Evn,gvn(t,n),e)}});var f40={};G0(f40,{FrameConnector:()=>Hme});var qg,Hme,i40=oe(()=>{"use strict";u();p();It();qg=Ee(Je());z9();mo();uh();lh();W0();Hme=class extends t6{constructor(e){let{chains:n,options:a,connectorStorage:r}=e,f={shimDisconnect:!0,...a};super({chains:n,options:f}),Pe(this,"id","frame"),Pe(this,"name","Frame"),Pe(this,"ready",!0),Pe(this,"shimDisconnectKey",`${this.id}.shimDisconnect`),Pe(this,"onAccountsChanged",i=>{i.length===0?this.emit("disconnect"):this.emit("change",{account:qg.utils.getAddress(i[0])})}),Pe(this,"onChainChanged",i=>{let s=wi(i),o=this.isChainUnsupported(s);this.emit("change",{chain:{id:s,unsupported:o}})}),Pe(this,"onDisconnect",()=>{this.emit("disconnect"),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey)}),this.connectorStorage=r}async connect(e){try{let n=await this.getProvider();if(!n)throw new Bn;this.setupListeners(),this.emit("message",{type:"connecting"});let a=await n.request({method:"eth_requestAccounts"}),r=qg.utils.getAddress(a[0]),f=await this.getChainId(),i=this.isChainUnsupported(f);return e?.chainId&&f!==e?.chainId&&(f=(await this.switchChain(e?.chainId)).chainId,i=this.isChainUnsupported(f)),this.options.shimDisconnect&&this.connectorStorage.setItem(this.shimDisconnectKey,"true"),{account:r,provider:n,chain:{id:f,unsupported:i}}}catch(n){throw this.isUserRejectedRequestError(n)?new _t(n):n.code===-32002?new Er(n):n}}async disconnect(){let e=await this.getProvider();e?.removeListener&&(e.removeListener("accountsChanged",this.onAccountsChanged),e.removeListener("chainChanged",this.onChainChanged),e.removeListener("disconnect",this.onDisconnect),this.isInjected()||e.close(),this.options.shimDisconnect&&this.connectorStorage.removeItem(this.shimDisconnectKey))}async getAccount(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_accounts"});return qg.utils.getAddress(n[0])}async getChainId(){let e=await this.getProvider();if(!e)throw new Bn;let n=await e.request({method:"eth_chainId"});return wi(n)}async getProvider(){return this._provider=this.isInjected()?this.injectedProvider():await this.createProvider(),this._provider}async getSigner(){let{chainId:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[n,a]=await Promise.all([this.getProvider(),this.getAccount()]);return new qg.providers.Web3Provider(n,e).getSigner(a)}async isAuthorized(){try{if(this.options.shimDisconnect&&!this.connectorStorage.getItem(this.shimDisconnectKey))return!1;if(!await this.getProvider())throw new Bn;return!!await this.getAccount()}catch{return!1}}async switchChain(e){let n=await this.getProvider();if(!n)throw new Bn;let a=qg.utils.hexValue(e);try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:a}]}),new Promise(r=>this.on("change",f=>{let{chain:i}=f;i?.id===e&&r()}))]),this.chains.find(r=>r.chainId===e)??{chainId:e,name:`Chain ${a}`,slug:`${a}`,nativeCurrency:{name:"Ether",decimals:18,symbol:"ETH"},rpc:[""],chain:"",shortName:"",testnet:!0}}catch(r){let f=this.chains.find(i=>i.chainId===e);if(!f)throw new Cb({chainId:e,connectorId:this.id});if(r.code===4902)try{if(await n.request({method:"wallet_addEthereumChain",params:[{chainId:a,chainName:f.name,nativeCurrency:f.nativeCurrency,rpcUrls:F2(f),blockExplorerUrls:this.getBlockExplorerUrls(f)}]}),await this.getChainId()!==e)throw new _t(new Error("User rejected switch after adding network."));return f}catch(i){throw this.isUserRejectedRequestError(i)?new _t(i):new Ib(i.message)}throw this.isUserRejectedRequestError(r)?new _t(r):new ic(r)}}async watchAsset(e){let{address:n,decimals:a=18,image:r,symbol:f}=e,i=await this.getProvider();if(!i)throw new Bn;return i.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:n,decimals:a,image:r,symbol:f}}})}async setupListeners(){let e=await this.getProvider();e.on&&(e.on("accountsChanged",this.onAccountsChanged),e.on("chainChanged",this.onChainChanged),e.on("disconnect",this.onDisconnect))}isUserRejectedRequestError(e){return e.code===4001}injectedProvider(){return window?.ethereum}isInjected(){return!!this.injectedProvider()?.isFrame}async createProvider(){let e=(await Promise.resolve().then(()=>Ee(r40()))).default;return e("frame")}}});var s40={};G0(s40,{ImTokenConnector:()=>zme});var zme,o40=oe(()=>{"use strict";u();p();m1();h1();W0();zme=class extends Ga{constructor(e){let a={...{name:"imToken",getProvider(){function r(f){if(f?.isImToken)return f}if(Za(globalThis.window))return globalThis.window.ethereum?.providers?globalThis.window.ethereum.providers.find(r):r(globalThis.window.ethereum)}},...e.options};super({chains:e.chains,options:a,connectorStorage:e.connectorStorage})}}});var u40={};G0(u40,{LocalWalletConnector:()=>qme});function c40(t,e){let n=t;return e&&(n=t.connect(e)),new Wme(n)}var d40,l40,Wme,qme,p40=oe(()=>{"use strict";u();p();It();lh();Mr();O9();d40=Ee(Je()),l40=Ee(C7());W0();Wme=class t extends d40.Signer{constructor(e){super(),this.signer=e,(0,l40.defineReadOnly)(this,"provider",e.provider)}async getAddress(){return await this.signer.getAddress()}async signMessage(e){return await this.signer.signMessage(e)}async signTransaction(e){return await this.signer.signTransaction(e)}connect(e){return new t(this.signer.connect(e))}_signTypedData(e,n,a){return this.signer._signTypedData(e,n,a)}async sendTransaction(e){if(!this.provider)throw new Error("Provider not found");let a={...await Bl(this.provider),...e};return await this.signer.sendTransaction(a)}},qme=class extends sc{constructor(e){super(),Pe(this,"id","local_wallet"),Pe(this,"name","Local Wallet"),Pe(this,"shimDisconnectKey","localWallet.shimDisconnect"),Pe(this,"onChainChanged",n=>{let a=wi(n),r=!this.options.chains.find(f=>f.chainId===a);this.emit("change",{chain:{id:a,unsupported:r}})}),this.options=e}async connect(e){return e.chainId&&this.switchChain(e.chainId),await(await this.getSigner()).getAddress()}async disconnect(){this._provider=void 0,this._signer=void 0}async getAddress(){let e=await this.getSigner();if(!e)throw new Error("No signer found");return await e.getAddress()}async isConnected(){try{return!!await this.getAddress()}catch{return!1}}async getProvider(){return this._provider||(this._provider=Bf(this.options.chain,{clientId:this.options.clientId,secretKey:this.options.secretKey})),this._provider}async getSigner(){if(!this._signer){let e=await this.getProvider();this._signer=c40(this.options.ethersWallet,e)}return this._signer}async switchChain(e){let n=this.options.chains.find(a=>a.chainId===e);if(!n)throw new Error(`Chain not found for chainId ${e}, please add it to the chains property when creating this wallet`);this._provider=Bf(n,{clientId:this.options.clientId,secretKey:this.options.secretKey}),this._signer=c40(this.options.ethersWallet,this._provider),this.onChainChanged(e)}async setupListeners(){}updateChains(e){this.options.chains=e}}});var w4,YD,$D,Cn,T4,qA,_vn,Zl=oe(()=>{u();p();w4=(t=>(t.MissingApiKey="MISSING_API_KEY",t.ModalNotReady="MODAL_NOT_READY",t.MalformedResponse="MALFORMED_RESPONSE",t.InvalidArgument="INVALID_ARGUMENT",t.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",t.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",t))(w4||{}),YD=(t=>(t.SyncWeb3Method="SYNC_WEB3_METHOD",t.DuplicateIframe="DUPLICATE_IFRAME",t.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",t.DeprecationNotice="DEPRECATION_NOTICE",t))(YD||{}),$D=(t=>(t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",t[t.MagicLinkExpired=-10001]="MagicLinkExpired",t[t.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",t[t.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",t[t.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",t[t.UpdateEmailFailed=-10004]="UpdateEmailFailed",t[t.UserRequestEditEmail=-10005]="UserRequestEditEmail",t[t.InactiveRecipient=-10010]="InactiveRecipient",t[t.AccessDeniedToUser=-10011]="AccessDeniedToUser",t))($D||{}),Cn=(t=>(t.LoginWithSms="magic_auth_login_with_sms",t.LoginWithEmailOTP="magic_auth_login_with_email_otp",t.LoginWithMagicLink="magic_auth_login_with_magic_link",t.LoginWithCredential="magic_auth_login_with_credential",t.GetIdToken="magic_auth_get_id_token",t.GenerateIdToken="magic_auth_generate_id_token",t.GetMetadata="magic_auth_get_metadata",t.IsLoggedIn="magic_auth_is_logged_in",t.Logout="magic_auth_logout",t.UpdateEmail="magic_auth_update_email",t.UserSettings="magic_auth_settings",t.UserSettingsTestMode="magic_auth_settings_testing_mode",t.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",t.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",t.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",t.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",t.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",t.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",t.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",t.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",t.LogoutTestMode="magic_auth_logout_testing_mode",t.UpdateEmailTestMode="magic_auth_update_email_testing_mode",t.IntermediaryEvent="magic_intermediary_event",t.RequestAccounts="eth_requestAccounts",t.GetInfo="mc_get_wallet_info",t.ShowUI="mc_wallet",t.NFTPurchase="magic_nft_purchase",t.RequestUserInfoWithUI="mc_request_user_info",t.Disconnect="mc_disconnect",t.UpdatePhoneNumber="magic_auth_update_phone_number",t.UpdatePhoneNumberTestMode="magic_auth_update_phone_number_testing_mode",t.RecoverAccount="magic_auth_recover_account",t.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",t))(Cn||{}),T4=(t=>(t.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",t.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",t.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",t.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",t.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",t))(T4||{}),qA=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(qA||{}),_vn=(t=>(t.Harmony="HARMONY",t))(_vn||{})});function Ovn(t){let e={exports:{}};return t(e,e.exports),e.exports}function xwn(t){return String.fromCharCode(parseInt(t.slice(1),16))}function Ewn(t){return`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`}function _wn(t){return btoa(encodeURIComponent(t).replace(/%[0-9A-F]{2}/g,xwn))}function Awn(t){return decodeURIComponent(Array.from(atob(t),Ewn).join(""))}function D40(t){return _wn(JSON.stringify(t))}function Iwn(t){return JSON.parse(Awn(t))}function ZD(t){return typeof t>"u"}function Cwn(t){return t===null}function P40(t){return Cwn(t)||ZD(t)}function kwn(t){return P40(t)?!1:!ZD(t.jsonrpc)&&!ZD(t.id)&&(!ZD(t.result)||!ZD(t.error))}function Swn(t){return P40(t)?!1:typeof t=="number"&&Object.values($D).includes(t)}function Qme(t){if(!t)return!0;for(let e in t)if(Object.hasOwnProperty.call(t,e))return!1;return!0}function L40(t,e){return Object.assign(qi,e),t}function Mwn(){return new E4(w4.MissingApiKey,"Please provide an API key that you acquired from the Magic developer dashboard.")}function F40(){return new E4(w4.ModalNotReady,"Modal is not ready.")}function Bwn(){return new E4(w4.MalformedResponse,"Response from the Magic iframe is malformed.")}function Dwn(t){return new E4(w4.ExtensionNotInitialized,`Extensions must be initialized with a Magic SDK instance before \`Extension.${t}\` can be accessed. Do not invoke \`Extension.${t}\` inside an extension constructor.`)}function Pwn(t){let e=`Some extensions are incompatible with \`${qi.sdkName}@${qi.version}\`:`;return t.filter(n=>typeof n.compat<"u"&&n.compat!==null).forEach(n=>{let a=n.compat[qi.sdkName];typeof a=="string"?e+=` - - Extension \`${n.name}\` supports version(s) \`${a}\``:a||(e+=` - - Extension \`${n.name}\` does not support ${qi.platform} environments.`)}),new E4(w4.IncompatibleExtensions,e)}function Lwn(t){let e=n=>{let a=n+1,r=a%10,f=a%100;return r===1&&f!==11?`${a}st`:r===2&&f!==12?`${a}nd`:r===3&&f!==13?`${a}rd`:`${a}th`};return new E4(w4.InvalidArgument,`Invalid ${e(t.argument)} argument given to \`${t.procedure}\`. - Expected: \`${t.expected}\` - Received: \`${t.received}\``)}function N40(){return new RJ(YD.DuplicateIframe,"Duplicate iframes found.")}function Fwn(){return new RJ(YD.SyncWeb3Method,"Non-async web3 methods are deprecated in web3 > 1.0 and are not supported by the Magic web3 provider. Please use an async method instead.")}function Nwn(){return new RJ(YD.ReactNativeEndpointConfiguration,`CUSTOM DOMAINS ARE NOT SUPPORTED WHEN USING MAGIC SDK WITH REACT NATIVE! The \`endpoint\` parameter SHOULD NOT be provided. The Magic \`